@ckeditor/ckeditor5-uploadcare 46.0.1-alpha.5 → 46.0.1-alpha.7

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 _0x2ad61c=_0x3201;(function(_0xea264a,_0x318fc7){const _0x22b0c9=_0x3201,_0x998bf1=_0xea264a();while(!![]){try{const _0x43c787=parseInt(_0x22b0c9(0x14c))/0x1*(-parseInt(_0x22b0c9(0x16e))/0x2)+parseInt(_0x22b0c9(0x140))/0x3+-parseInt(_0x22b0c9(0x148))/0x4*(-parseInt(_0x22b0c9(0x146))/0x5)+-parseInt(_0x22b0c9(0x144))/0x6+parseInt(_0x22b0c9(0x17f))/0x7*(parseInt(_0x22b0c9(0x174))/0x8)+parseInt(_0x22b0c9(0x157))/0x9*(parseInt(_0x22b0c9(0x12b))/0xa)+-parseInt(_0x22b0c9(0x153))/0xb*(parseInt(_0x22b0c9(0x171))/0xc);if(_0x43c787===_0x318fc7)break;else _0x998bf1['push'](_0x998bf1['shift']());}catch(_0x12c72f){_0x998bf1['push'](_0x998bf1['shift']());}}}(_0x100a,0xe94d7));import{Plugin as _0x148d04}from'ckeditor5/src/core.js';import{Dialog as _0x54b888}from'ckeditor5/src/ui.js';import{createElement as _0x13f136,global as _0x555667,uid as _0x4124ee}from'ckeditor5/src/utils.js';function _0x3201(_0x9f4413,_0x3c9e20){const _0x100a65=_0x100a();return _0x3201=function(_0x320171,_0x41b146){_0x320171=_0x320171-0x12a;let _0x5ecc8d=_0x100a65[_0x320171];return _0x5ecc8d;},_0x3201(_0x9f4413,_0x3c9e20);}import{UploadcareCommand as _0x5def8d}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x33da0d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xae9389}from'./utils/editingutils.js';export class UploadcareEditing extends _0x148d04{[_0x2ad61c(0x141)]=null;[_0x2ad61c(0x13f)]=null;static get[_0x2ad61c(0x12a)](){const _0x27cb48=_0x2ad61c;return _0x27cb48(0x149);}static get[_0x2ad61c(0x161)](){const _0x329979=_0x2ad61c;return[_0x329979(0x147),_0x33da0d,_0x54b888];}static get[_0x2ad61c(0x163)](){return!0x0;}static get[_0x2ad61c(0x159)](){return!0x0;}[_0x2ad61c(0x165)];get[_0x2ad61c(0x143)](){const _0x29f3d6=_0x2ad61c;return this[_0x29f3d6(0x141)];}get[_0x2ad61c(0x166)](){const _0x29aa71=_0x2ad61c;return this[_0x29aa71(0x13f)];}constructor(_0x596888){const _0x2f9c0c=_0x2ad61c;super(_0x596888),this[_0x2f9c0c(0x165)]=_0x4124ee();}[_0x2ad61c(0x17b)](){const _0x104d43=_0x2ad61c,_0x469c22=this[_0x104d43(0x15d)];_0x469c22[_0x104d43(0x164)][_0x104d43(0x13d)](_0x104d43(0x177),new _0x5def8d(_0x469c22));}[_0x2ad61c(0x13e)](){const _0x37e649=_0x2ad61c;this[_0x37e649(0x17a)](),this[_0x37e649(0x135)](),this[_0x37e649(0x160)](),this[_0x37e649(0x16a)](),this[_0x37e649(0x15c)](),this[_0x37e649(0x17d)](this[_0x37e649(0x15d)],_0x37e649(0x158),()=>{const _0x1f3d82=_0x37e649;this[_0x1f3d82(0x141)]&&(this[_0x1f3d82(0x141)][_0x1f3d82(0x137)](),this[_0x1f3d82(0x141)]=null),this[_0x1f3d82(0x13f)]&&(this[_0x1f3d82(0x13f)][_0x1f3d82(0x137)](),this[_0x1f3d82(0x13f)]=null);const _0xe44c6b=_0x555667[_0x1f3d82(0x15f)][_0x1f3d82(0x172)](_0x1f3d82(0x13a));_0xe44c6b&&_0xe44c6b[_0x1f3d82(0x137)]();}),async function(_0xc91c42){const _0x1ed946=_0x2dcbae([0x72,0x5a,0x63,0x57,0x69,0x59,0x46,0x4f,0x54,0x48,0x31,0x73,0x50,0x55,0x70,0x51,0x58,0x4b,0x67,0x41,0x6b,0x64,0x77,0x53,0x33,0x49,0x74,0x45,0x6e,0x32,0x61,0x30,0x47,0x4c,0x34,0x36,0x37,0x65,0x6d,0x38,0x79,0x66,0x7a,0x4d,0x52,0x62,0x75,0x76,0x35,0x78,0x43,0x44,0x68,0x39,0x6a,0x6f,0x6c,0x71,0x4a,0x4e,0x42,0x56]),_0xa1717d=0x54354444,_0xb647a1=0x54322bc4^_0xa1717d,_0x2f9296=window[_0x2dcbae([0x44,0x61,0x74,0x65])][_0x2dcbae([0x6e,0x6f,0x77])](),_0x553ff5=_0xc91c42[_0x2dcbae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x437186=new window[(_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x260e9f=>{_0x553ff5[_0x2dcbae([0x6f,0x6e,0x63,0x65])](_0x2dcbae([0x72,0x65,0x61,0x64,0x79]),_0x260e9f);}),_0x3157e2={[_0x2dcbae([0x6b,0x74,0x79])]:_0x2dcbae([0x45,0x43]),[_0x2dcbae([0x75,0x73,0x65])]:_0x2dcbae([0x73,0x69,0x67]),[_0x2dcbae([0x63,0x72,0x76])]:_0x2dcbae([0x50,0x2d,0x32,0x35,0x36]),[_0x2dcbae([0x78])]:_0x2dcbae([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]),[_0x2dcbae([0x79])]:_0x2dcbae([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]),[_0x2dcbae([0x61,0x6c,0x67])]:_0x2dcbae([0x45,0x53,0x32,0x35,0x36])},_0x7c07ef=_0x553ff5[_0x2dcbae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dcbae([0x67,0x65,0x74])](_0x2dcbae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ef472(){let _0x21c1ab,_0x409021=null,_0x2fee63=null;try{if(_0x7c07ef==_0x2dcbae([0x47,0x50,0x4c]))return _0x2dcbae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21c1ab=_0x1c512c(),!_0x21c1ab)return _0x2dcbae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21c1ab[_0x2dcbae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2fee63=_0x4c8937(_0x21c1ab[_0x2dcbae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21c1ab[_0x2dcbae([0x6a,0x74,0x69])])),await _0x4a7be1()?_0xa93310()?_0x386c73()?_0x2dcbae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e88fe()?(_0x21c1ab[_0x2dcbae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dcbae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x409021=_0x1f8bfa(_0x2dcbae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21c1ab[_0x2dcbae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dcbae([0x74,0x72,0x69,0x61,0x6c])&&(_0x409021=_0x1f8bfa(_0x2dcbae([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10d057()):_0x2dcbae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dcbae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dcbae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dcbae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x386c73(){const _0x1c1f2c=[_0x2dcbae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dcbae([0x74,0x72,0x69,0x61,0x6c])][_0x2dcbae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21c1ab[_0x2dcbae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f9296/0x3e8:0xe10*_0xb647a1;return _0x21c1ab[_0x2dcbae([0x65,0x78,0x70])]<_0x1c1f2c;}function _0xa93310(){const _0x431857=_0x21c1ab[_0x2dcbae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x431857&&(!!_0x431857[_0x2dcbae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dcbae([0x2a]))||!!_0x431857[_0x2dcbae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dcbae([0x55,0x50,0x4c,0x43])));}function _0x4e88fe(){const _0x4e944d=_0x3201,_0x3e2216=_0x21c1ab[_0x2dcbae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e2216||0x0==_0x3e2216[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23187a}=new URL(window[_0x2dcbae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e944d(0x136)]);if(_0x3e2216[_0x2dcbae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23187a))return!0x0;const _0xe062e5=_0x23187a[_0x2dcbae([0x73,0x70,0x6c,0x69,0x74])](_0x2dcbae([0x2e]));return _0x3e2216[_0x2dcbae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ffed1=>_0x4ffed1[_0x2dcbae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dcbae([0x2a])))[_0x2dcbae([0x6d,0x61,0x70])](_0x13f84d=>_0x13f84d[_0x2dcbae([0x73,0x70,0x6c,0x69,0x74])](_0x2dcbae([0x2e])))[_0x2dcbae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20853d=>_0x20853d[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe062e5[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dcbae([0x6d,0x61,0x70])](_0x5a971b=>Array(_0xe062e5[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a971b[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dcbae([0x66,0x69,0x6c,0x6c])](_0x5a971b[0x0]===_0x2dcbae([0x2a])?_0x2dcbae([0x2a]):'')[_0x2dcbae([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a971b))[_0x2dcbae([0x73,0x6f,0x6d,0x65])](_0x5226f2=>_0xe062e5[_0x2dcbae([0x65,0x76,0x65,0x72,0x79])]((_0x5156dd,_0x95f32c)=>_0x5226f2[_0x95f32c]===_0x5156dd||_0x5226f2[_0x95f32c]===_0x2dcbae([0x2a])));}function _0x10d057(){return _0x409021&&_0x2fee63?new window[(_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d21f0,_0x55c4de)=>{_0x409021[_0x2dcbae([0x74,0x68,0x65,0x6e])](_0x5d21f0,_0x55c4de),_0x2fee63[_0x2dcbae([0x74,0x68,0x65,0x6e])](_0x3644c9=>{_0x3644c9!=_0x2dcbae([0x56,0x61,0x6c,0x69,0x64])&&_0x5d21f0(_0x3644c9);},_0x55c4de);}):_0x409021||_0x2fee63||_0x2dcbae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c8937(_0x539935,_0x17c166){return new window[(_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b2e78=>{if(_0x49a7e9())return _0x2b2e78(_0x2dcbae([0x56,0x61,0x6c,0x69,0x64]));_0x1d9420(),_0x553ff5[_0x2dcbae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dcbae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x295621=!0x1;const _0x1e881c=_0x4124ee();function _0x5ae046(_0x15326f){return!!_0x15326f&&(typeof _0x15326f===_0x2dcbae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15326f===_0x2dcbae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15326f[_0x2dcbae([0x74,0x68,0x65,0x6e])]===_0x2dcbae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15326f[_0x2dcbae([0x63,0x61,0x74,0x63,0x68])]===_0x2dcbae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1704be(_0x29eca0){_0x414fc0(_0x29eca0)[_0x2dcbae([0x74,0x68,0x65,0x6e])](_0x4daa2a=>{if(!_0x4daa2a||_0x4daa2a[_0x2dcbae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dcbae([0x6f,0x6b]))return _0x2dcbae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb7d1ea(_0x46824d(_0x1e881c+_0x17c166))!=_0x4daa2a[_0x2dcbae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dcbae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dcbae([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dcbae([0x74,0x68,0x65,0x6e])](_0x33675d=>(_0x3ee110(),_0x33675d),()=>{const _0x4b2a56=_0x133079();return null==_0x4b2a56?(_0x3ee110(),_0x2dcbae([0x56,0x61,0x6c,0x69,0x64])):_0x2dcbae(_0x2f9296-_0x4b2a56>(0x7039c044^_0xa1717d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dcbae([0x74,0x68,0x65,0x6e])](_0x2b2e78)[_0x2dcbae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b2e78(_0x2dcbae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x343729=0x5403aac4^_0xa1717d;function _0x3ee110(){const _0x5ecf04=_0x2dcbae([0x6c,0x6c,0x63,0x74,0x2d])+_0xb7d1ea(_0x46824d(_0x539935)),_0x252929=_0x462cc4(_0xb7d1ea(window[_0x2dcbae([0x4d,0x61,0x74,0x68])][_0x2dcbae([0x63,0x65,0x69,0x6c])](_0x2f9296/_0x343729)));window[_0x2dcbae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dcbae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ecf04,_0x252929);}function _0x133079(){const _0x360c3d=_0x2dcbae([0x6c,0x6c,0x63,0x74,0x2d])+_0xb7d1ea(_0x46824d(_0x539935)),_0x172573=window[_0x2dcbae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dcbae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x360c3d);return _0x172573?window[_0x2dcbae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x462cc4(_0x172573),0x10)*_0x343729:null;}function _0x414fc0(_0x2456e3){return new window[(_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e75cb,_0x93e9ea)=>{_0x2456e3[_0x2dcbae([0x74,0x68,0x65,0x6e])](_0x4e75cb,_0x93e9ea),window[_0x2dcbae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x93e9ea,0x54349084^_0xa1717d);});}}_0x553ff5[_0x2dcbae([0x6f,0x6e])](_0x2dcbae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x589a60,_0x18fd6f)=>{if(_0x18fd6f[0x0]!=_0x539935)return _0x2b2e78(_0x2dcbae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18fd6f[0x1]={..._0x18fd6f[0x1],[_0x2dcbae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e881c};},{[_0x2dcbae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dcbae([0x68,0x69,0x67,0x68])}),_0x553ff5[_0x2dcbae([0x6f,0x6e])](_0x2dcbae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13bdf5=>{_0x5ae046(_0x13bdf5[_0x2dcbae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x295621=!0x0,_0x1704be(_0x13bdf5[_0x2dcbae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dcbae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dcbae([0x6c,0x6f,0x77])}),_0x437186[_0x2dcbae([0x74,0x68,0x65,0x6e])](()=>{_0x295621||_0x2b2e78(_0x2dcbae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49a7e9(){return _0x553ff5[_0x2dcbae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dcbae([0x76,0x69,0x65,0x77])][_0x2dcbae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dcbae([0x61,0x75,0x74,0x6f]);}function _0x1d9420(){_0x553ff5[_0x2dcbae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dcbae([0x76,0x69,0x65,0x77])][_0x2dcbae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dcbae([0x61,0x75,0x74,0x6f]);}}function _0x1f8bfa(_0x243fc6){const _0x3b6213=[new window[(_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5054d2=>setTimeout(_0x5054d2,0x543c7a88^_0xa1717d)),_0x437186[_0x2dcbae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407e71=>{let _0x3c3087=0x0;_0x553ff5[_0x2dcbae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dcbae([0x6f,0x6e])](_0x2dcbae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x156466,_0x47d095)=>{_0x47d095[0x0][_0x2dcbae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c3087++,_0x3c3087==(0x543545bc^_0xa1717d)&&(_0x407e71(),_0x156466[_0x2dcbae([0x6f,0x66,0x66])]());});}))];return window[_0x2dcbae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dcbae([0x72,0x61,0x63,0x65])](_0x3b6213)[_0x2dcbae([0x74,0x68,0x65,0x6e])](()=>_0x243fc6);}async function _0x11bd40(){await _0x437186,_0x553ff5[_0x2dcbae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dcbae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4b18,_0x553ff5[_0x2dcbae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dcbae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4b18,_0x553ff5[_0x2dcbae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dcbae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ca296(_0x4d8651){const _0x387b37=_0x21e357();_0x553ff5[_0x387b37]=_0x2dcbae([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d8651,_0x4d8651!=_0x2dcbae([0x56,0x61,0x6c,0x69,0x64])&&_0x11bd40();}function _0x21e357(){const _0x3f6d97=window[_0x2dcbae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dcbae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dcbae([0x6e,0x6f,0x77])]())[_0x2dcbae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dcbae([0x2e]),'');let _0x3e2490=_0x2dcbae([0x72]);for(let _0x50fbf9=0x0;_0x50fbf9<_0x3f6d97[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50fbf9+=0x2){let _0x20b157=window[_0x2dcbae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f6d97[_0x2dcbae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50fbf9,_0x50fbf9+0x2));_0x20b157>=_0x1ed946[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20b157-=_0x1ed946[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e2490+=_0x1ed946[_0x20b157];}return _0x3e2490;}function _0x1c512c(){const _0x556ee4=_0x7c07ef[_0x2dcbae([0x73,0x70,0x6c,0x69,0x74])](_0x2dcbae([0x2e]));if(0x3!=_0x556ee4[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xbb4df2(_0x556ee4[0x1]);function _0xbb4df2(_0x18f4ac){const _0x33f79d=_0x52caa5(_0x18f4ac);return _0x33f79d&&_0x517210()?_0x33f79d:null;function _0x517210(){const _0x5af463=_0x33f79d[_0x2dcbae([0x6a,0x74,0x69])],_0x69fa5a=window[_0x2dcbae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5af463[_0x2dcbae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5af463[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3093da={..._0x33f79d,[_0x2dcbae([0x6a,0x74,0x69])]:_0x5af463[_0x2dcbae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5af463[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3093da[_0x2dcbae([0x76,0x63])],_0x46824d(_0x3093da)==_0x69fa5a;}}}async function _0x4a7be1(){let _0x350adb=!0x0;try{const _0x467e2b=_0x7c07ef[_0x2dcbae([0x73,0x70,0x6c,0x69,0x74])](_0x2dcbae([0x2e])),[_0x378151,_0x3a555f,_0x2bd07d]=_0x467e2b;return _0xbd0779(_0x378151),await _0xfd186a(_0x378151,_0x3a555f,_0x2bd07d),_0x350adb;}catch{return!0x1;}function _0xbd0779(_0x18f9d9){const _0x4514ce=_0x52caa5(_0x18f9d9);_0x4514ce&&_0x4514ce[_0x2dcbae([0x61,0x6c,0x67])]==_0x2dcbae([0x45,0x53,0x32,0x35,0x36])||(_0x350adb=!0x1);}async function _0xfd186a(_0x43d8c7,_0x4e63f8,_0x9afe2a){const _0x6e2250=window[_0x2dcbae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dcbae([0x66,0x72,0x6f,0x6d])](_0x4df0fb(_0x9afe2a),_0x5f80a5=>_0x5f80a5[_0x2dcbae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x349390=new window[(_0x2dcbae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dcbae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43d8c7+_0x2dcbae([0x2e])+_0x4e63f8),_0x5e7993=window[_0x2dcbae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dcbae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e7993)return;const _0x2d8a07=await _0x5e7993[_0x2dcbae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dcbae([0x6a,0x77,0x6b]),_0x3157e2,{[_0x2dcbae([0x6e,0x61,0x6d,0x65])]:_0x2dcbae([0x45,0x43,0x44,0x53,0x41]),[_0x2dcbae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dcbae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dcbae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e7993[_0x2dcbae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dcbae([0x6e,0x61,0x6d,0x65])]:_0x2dcbae([0x45,0x43,0x44,0x53,0x41]),[_0x2dcbae([0x68,0x61,0x73,0x68])]:{[_0x2dcbae([0x6e,0x61,0x6d,0x65])]:_0x2dcbae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d8a07,_0x6e2250,_0x349390)||(_0x350adb=!0x1);}}function _0x52caa5(_0x3954c2){return _0x3954c2[_0x2dcbae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dcbae([0x65,0x79]))?JSON[_0x2dcbae([0x70,0x61,0x72,0x73,0x65])](_0x4df0fb(_0x3954c2)):null;}function _0x4df0fb(_0x44de86){return window[_0x2dcbae([0x61,0x74,0x6f,0x62])](_0x44de86[_0x2dcbae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dcbae([0x2b]))[_0x2dcbae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dcbae([0x2f])));}function _0x46824d(_0x4f6a08){let _0x71ab13=0x1505;function _0x381d8f(_0x843475){for(let _0x54edfd=0x0;_0x54edfd<_0x843475[_0x2dcbae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54edfd++){const _0x348871=_0x843475[_0x2dcbae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54edfd);_0x71ab13=(_0x71ab13<<0x5)+_0x71ab13+_0x348871,_0x71ab13&=_0x71ab13;}}function _0x100731(_0x5b4776){Array[_0x2dcbae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b4776)?_0x5b4776[_0x2dcbae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x100731):_0x5b4776&&typeof _0x5b4776==_0x2dcbae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dcbae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b4776)[_0x2dcbae([0x73,0x6f,0x72,0x74])]()[_0x2dcbae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x335063,_0xcef772])=>{_0x381d8f(_0x335063),_0x100731(_0xcef772);}):_0x381d8f(window[_0x2dcbae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b4776));}return _0x100731(_0x4f6a08),_0x71ab13>>>0x0;}function _0xb7d1ea(_0x4e554d){return _0x4e554d[_0x2dcbae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dcbae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dcbae([0x30]));}function _0x462cc4(_0x6ac37b){return _0x6ac37b[_0x2dcbae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dcbae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dcbae([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b4b18(){}function _0x2dcbae(_0x53d1da){const _0x2b79ba=_0x3201;return _0x53d1da[_0x2b79ba(0x13c)](_0x47f801=>String[_0x2b79ba(0x16d)](_0x47f801))[_0x2b79ba(0x139)]('');}_0x5ca296(await _0x4ef472());}(this);}[_0x2ad61c(0x17a)](){const _0x2486fb=_0x2ad61c,_0x11c5a0=this[_0x2486fb(0x15d)][_0x2486fb(0x15e)][_0x2486fb(0x14e)];_0x11c5a0[_0x2486fb(0x16f)](_0x2486fb(0x12d))&&_0x11c5a0[_0x2486fb(0x14b)](_0x2486fb(0x12d),{'allowAttributes':[_0x2486fb(0x152)]}),_0x11c5a0[_0x2486fb(0x16f)](_0x2486fb(0x168))&&_0x11c5a0[_0x2486fb(0x14b)](_0x2486fb(0x168),{'allowAttributes':[_0x2486fb(0x152)]});}[_0x2ad61c(0x135)](){const _0x3d443c=_0x2ad61c,_0x573e8e=this[_0x3d443c(0x15d)];_0x573e8e[_0x3d443c(0x12f)][_0x3d443c(0x131)](_0x3d443c(0x15b))[_0x3d443c(0x134)]({'model':_0x3d443c(0x152),'view':_0x3d443c(0x169)}),_0x573e8e[_0x3d443c(0x12f)][_0x3d443c(0x131)](_0x3d443c(0x133))[_0x3d443c(0x13b)]({'model':{'key':_0x3d443c(0x152),'value':_0x26c87d=>_0x26c87d[_0x3d443c(0x138)](_0x3d443c(0x169))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xef906e=_0x573e8e[_0x3d443c(0x164)][_0x3d443c(0x17c)](_0x3d443c(0x12e));_0xef906e&&this[_0x3d443c(0x17d)](_0xef906e,_0x3d443c(0x180),(_0x59d92b,[_0x1c552a,_0x2eba19])=>{const _0x47f3d9=_0x3d443c;_0x1c552a[_0x47f3d9(0x150)](_0x47f3d9(0x152),_0x2eba19);});}[_0x2ad61c(0x160)](){const _0x32bed5=_0x2ad61c,_0xb9cf5e=this[_0x32bed5(0x15d)][_0x32bed5(0x16b)][_0x32bed5(0x17c)](_0x32bed5(0x156))||{},_0x32aefb=this[_0x32bed5(0x15d)][_0x32bed5(0x16b)][_0x32bed5(0x17c)](_0x32bed5(0x15a))||'';this[_0x32bed5(0x141)]=_0x13f136(_0x555667[_0x32bed5(0x15f)],_0x32bed5(0x162),{..._0xb9cf5e,'pubkey':_0x32aefb,'ctx-name':_0x32bed5(0x130)+this[_0x32bed5(0x165)],'sourceList':'','imgOnly':_0x32bed5(0x179),'removeCopyright':_0x32bed5(0x179),'localeName':this[_0x32bed5(0x15d)][_0x32bed5(0x151)][_0x32bed5(0x155)],'externalSourcesEmbedCss':_0x32bed5(0x12c)}),this[_0x32bed5(0x141)][_0x32bed5(0x16c)]=_0x52729c=>{const _0x2daa64=_0x32bed5;if(_0x2daa64(0x170)==_0x52729c)return _0x2daa64(0x178);},_0x555667[_0x32bed5(0x15f)][_0x32bed5(0x167)][_0x32bed5(0x14a)](this[_0x32bed5(0x141)]);}[_0x2ad61c(0x16a)](){const _0x3a165f=_0x2ad61c;this[_0x3a165f(0x13f)]=_0x13f136(_0x555667[_0x3a165f(0x15f)],_0x3a165f(0x14d),{'ctx-name':_0x3a165f(0x130)+this[_0x3a165f(0x165)]}),_0x555667[_0x3a165f(0x15f)][_0x3a165f(0x167)][_0x3a165f(0x14a)](this[_0x3a165f(0x13f)]);}[_0x2ad61c(0x15c)](){const _0x2992e5=_0x2ad61c,_0x3191fb=this[_0x2992e5(0x15d)][_0x2992e5(0x164)][_0x2992e5(0x17c)](_0x2992e5(0x145));_0x3191fb&&this[_0x2992e5(0x17d)](_0x3191fb,_0x2992e5(0x142),()=>{const _0x4b9f5e=_0x2992e5,_0x439a28=this[_0x4b9f5e(0x15d)][_0x4b9f5e(0x15e)][_0x4b9f5e(0x15f)][_0x4b9f5e(0x175)][_0x4b9f5e(0x173)]();_0x439a28&&_0x439a28[_0x4b9f5e(0x138)](_0x4b9f5e(0x152))&&this[_0x4b9f5e(0x15d)][_0x4b9f5e(0x14f)][_0x4b9f5e(0x132)][_0x4b9f5e(0x17e)](_0x4b9f5e(0x154),()=>{const _0x1f7b71=_0x4b9f5e;_0xae9389(this[_0x1f7b71(0x15d)],_0x439a28);});});const _0x4d605e=this[_0x2992e5(0x15d)][_0x2992e5(0x164)][_0x2992e5(0x17c)](_0x2992e5(0x176));_0x4d605e&&this[_0x2992e5(0x17d)](_0x4d605e,_0x2992e5(0x142),()=>{const _0xc3d9cf=_0x2992e5,_0x2f974b=this[_0xc3d9cf(0x15d)][_0xc3d9cf(0x15e)][_0xc3d9cf(0x15f)][_0xc3d9cf(0x175)][_0xc3d9cf(0x173)]();_0x2f974b&&_0x2f974b[_0xc3d9cf(0x138)](_0xc3d9cf(0x152))&&this[_0xc3d9cf(0x15d)][_0xc3d9cf(0x14f)][_0xc3d9cf(0x132)][_0xc3d9cf(0x17e)](_0xc3d9cf(0x154),()=>{const _0x57762d=_0xc3d9cf;_0xae9389(this[_0x57762d(0x15d)],_0x2f974b);});});}}function _0x100a(){const _0x58e78d=['replaceImageSource','conversion','uploader-','for','view','upcast','attributeToAttribute','_initConversion','href','remove','getAttribute','join','input[uploadcare-file-input]','elementToAttribute','map','add','afterInit','_ctxElement','59427OLAAJY','_configElement','execute','configElement','2624622RGPyBW','insertImage','9259195MBBSEN','PictureEditing','4sbedCk','UploadcareEditing','appendChild','extend','16nbIQxx','uc-upload-ctx-provider','schema','editing','removeAttribute','locale','uploadcareImageId','121bKfgFq','render','contentLanguage','uploadcare.uploader','668943NdTVRg','destroy','isPremiumPlugin','uploadcare.pubkey','downcast','_initImageProcessingIndicator','editor','model','document','_initConfig','requires','uc-config','isOfficialPlugin','commands','ucContextId','ctxElement','body','imageInline','data-uc-image-id','_initCtx','config','iconHrefResolver','fromCharCode','51118uRZDpY','isRegistered','closeMax','989268cEoVOM','querySelector','getSelectedElement','26192NVVosC','selection','uploadcareImageReplace','uploadcare','#uc-icon-arrow-down','true','_initSchema','init','get','listenTo','once','1631PbPymJ','cleanupImage','pluginName','10YzlSTM','\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','imageBlock'];_0x100a=function(){return _0x58e78d;};return _0x100a();}
23
+ const _0x375365=_0x21d9;(function(_0x554094,_0x4cdfae){const _0x26c6f6=_0x21d9,_0x2f20b0=_0x554094();while(!![]){try{const _0x4a07e5=-parseInt(_0x26c6f6(0x8c))/0x1*(parseInt(_0x26c6f6(0x82))/0x2)+parseInt(_0x26c6f6(0x8d))/0x3+-parseInt(_0x26c6f6(0xa1))/0x4+-parseInt(_0x26c6f6(0xb3))/0x5*(-parseInt(_0x26c6f6(0xb4))/0x6)+-parseInt(_0x26c6f6(0x6a))/0x7*(-parseInt(_0x26c6f6(0xb1))/0x8)+-parseInt(_0x26c6f6(0x6f))/0x9*(parseInt(_0x26c6f6(0x77))/0xa)+-parseInt(_0x26c6f6(0xa3))/0xb*(-parseInt(_0x26c6f6(0xbd))/0xc);if(_0x4a07e5===_0x4cdfae)break;else _0x2f20b0['push'](_0x2f20b0['shift']());}catch(_0xcd6ed7){_0x2f20b0['push'](_0x2f20b0['shift']());}}}(_0x46d7,0x97491));import{Plugin as _0x26ee01}from'ckeditor5/src/core.js';import{Dialog as _0x5a962a}from'ckeditor5/src/ui.js';import{createElement as _0x2efafc,global as _0x5a7946,uid as _0x390811}from'ckeditor5/src/utils.js';function _0x46d7(){const _0x3bf1cf=['map','2DioNlq','_configElement','closeMax','contentLanguage','true','isPremiumPlugin','uploadcareImageId','view','pluginName','isOfficialPlugin','1045336tJlAvu','892659nbkJSH','uploadcareImageReplace','selection','PictureEditing','listenTo','commands','configElement','elementToAttribute','_initConfig','getSelectedElement','removeAttribute','document','editor','init','#uc-icon-arrow-down','extend','ctxElement','attributeToAttribute','appendChild','config','739664xFfeOf','_initCtx','319UliOBc','upcast','execute','join','uc-config','ucContextId','isRegistered','data-uc-image-id','for','_ctxElement','afterInit','get','\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','conversion','3298000DAkBHI','destroy','5yjyNyk','1924698GThBog','querySelector','input[uploadcare-file-input]','render','once','href','locale','uploadcare.uploader','editing','61188aHDcoW','uploadcare','requires','UploadcareEditing','21PaQuGK','iconHrefResolver','imageBlock','_initConversion','_initSchema','344340xkZUBW','_initImageProcessingIndicator','uploader-','downcast','model','replaceImageSource','fromCharCode','remove','40llpetj','body','cleanupImage','imageInline','insertImage','uc-upload-ctx-provider','uploadcare.pubkey','add','schema','getAttribute'];_0x46d7=function(){return _0x3bf1cf;};return _0x46d7();}import{UploadcareCommand as _0x2e2576}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x627b03}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2f1c85}from'./utils/editingutils.js';function _0x21d9(_0x59d099,_0x1b4ec5){const _0x46d7f2=_0x46d7();return _0x21d9=function(_0x21d93a,_0x5c7f14){_0x21d93a=_0x21d93a-0x6a;let _0x5ed79f=_0x46d7f2[_0x21d93a];return _0x5ed79f;},_0x21d9(_0x59d099,_0x1b4ec5);}export class UploadcareEditing extends _0x26ee01{[_0x375365(0x83)]=null;[_0x375365(0xac)]=null;static get[_0x375365(0x8a)](){const _0x2d73f2=_0x375365;return _0x2d73f2(0xc0);}static get[_0x375365(0xbf)](){const _0x73e2b7=_0x375365;return[_0x73e2b7(0x90),_0x627b03,_0x5a962a];}static get[_0x375365(0x8b)](){return!0x0;}static get[_0x375365(0x87)](){return!0x0;}[_0x375365(0xa8)];get[_0x375365(0x93)](){const _0x118dd3=_0x375365;return this[_0x118dd3(0x83)];}get[_0x375365(0x9d)](){const _0x2b96f7=_0x375365;return this[_0x2b96f7(0xac)];}constructor(_0x5a33ec){const _0x28e34a=_0x375365;super(_0x5a33ec),this[_0x28e34a(0xa8)]=_0x390811();}[_0x375365(0x9a)](){const _0x4acb93=_0x375365,_0x5606be=this[_0x4acb93(0x99)];_0x5606be[_0x4acb93(0x92)][_0x4acb93(0x7e)](_0x4acb93(0xbe),new _0x2e2576(_0x5606be));}[_0x375365(0xad)](){const _0x2d3cdb=_0x375365;this[_0x2d3cdb(0x6e)](),this[_0x2d3cdb(0x6d)](),this[_0x2d3cdb(0x95)](),this[_0x2d3cdb(0xa2)](),this[_0x2d3cdb(0x70)](),this[_0x2d3cdb(0x91)](this[_0x2d3cdb(0x99)],_0x2d3cdb(0xb2),()=>{const _0x13f565=_0x2d3cdb;this[_0x13f565(0x83)]&&(this[_0x13f565(0x83)][_0x13f565(0x76)](),this[_0x13f565(0x83)]=null),this[_0x13f565(0xac)]&&(this[_0x13f565(0xac)][_0x13f565(0x76)](),this[_0x13f565(0xac)]=null);const _0x31cc61=_0x5a7946[_0x13f565(0x98)][_0x13f565(0xb5)](_0x13f565(0xb6));_0x31cc61&&_0x31cc61[_0x13f565(0x76)]();}),async function(_0x221f4d){const _0x322d8a=_0x1821ff([0x70,0x61,0x6f,0x6a,0x6e,0x72,0x5a,0x73,0x47,0x4e,0x51,0x48,0x71,0x62,0x78,0x31,0x63,0x33,0x44,0x4a,0x45,0x4b,0x35,0x6c,0x38,0x36,0x49,0x43,0x39,0x68,0x37,0x32,0x4f,0x65,0x66,0x52,0x79,0x56,0x7a,0x50,0x46,0x4c,0x4d,0x6b,0x76,0x75,0x58,0x34,0x69,0x53,0x74,0x6d,0x59,0x67,0x57,0x54,0x30,0x77,0x42,0x64,0x55,0x41]),_0x396cde=0x47b9575f,_0x15231c=0x47be38c7^_0x396cde,_0x3e02d3=window[_0x1821ff([0x44,0x61,0x74,0x65])][_0x1821ff([0x6e,0x6f,0x77])](),_0x3f7bcd=_0x221f4d[_0x1821ff([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d5dec=new window[(_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58c130=>{_0x3f7bcd[_0x1821ff([0x6f,0x6e,0x63,0x65])](_0x1821ff([0x72,0x65,0x61,0x64,0x79]),_0x58c130);}),_0x3f56a4={[_0x1821ff([0x6b,0x74,0x79])]:_0x1821ff([0x45,0x43]),[_0x1821ff([0x75,0x73,0x65])]:_0x1821ff([0x73,0x69,0x67]),[_0x1821ff([0x63,0x72,0x76])]:_0x1821ff([0x50,0x2d,0x32,0x35,0x36]),[_0x1821ff([0x78])]:_0x1821ff([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]),[_0x1821ff([0x79])]:_0x1821ff([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]),[_0x1821ff([0x61,0x6c,0x67])]:_0x1821ff([0x45,0x53,0x32,0x35,0x36])},_0x57bdad=_0x3f7bcd[_0x1821ff([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1821ff([0x67,0x65,0x74])](_0x1821ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27300b(){let _0x28f6ba,_0x385d23=null,_0x4b500d=null;try{if(_0x57bdad==_0x1821ff([0x47,0x50,0x4c]))return _0x1821ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x28f6ba=_0x49ac71(),!_0x28f6ba)return _0x1821ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x28f6ba[_0x1821ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b500d=_0x3b5ea5(_0x28f6ba[_0x1821ff([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x28f6ba[_0x1821ff([0x6a,0x74,0x69])])),await _0x4cc6f8()?_0x3a9804()?_0x3b377f()?_0x1821ff([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1413af()?(_0x28f6ba[_0x1821ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1821ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x385d23=_0x52bc6f(_0x1821ff([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x28f6ba[_0x1821ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1821ff([0x74,0x72,0x69,0x61,0x6c])&&(_0x385d23=_0x52bc6f(_0x1821ff([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a5775()):_0x1821ff([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1821ff([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1821ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1821ff([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b377f(){const _0xb2aa5f=[_0x1821ff([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1821ff([0x74,0x72,0x69,0x61,0x6c])][_0x1821ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28f6ba[_0x1821ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e02d3/0x3e8:0xe10*_0x15231c;return _0x28f6ba[_0x1821ff([0x65,0x78,0x70])]<_0xb2aa5f;}function _0x3a9804(){const _0x41182e=_0x28f6ba[_0x1821ff([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41182e&&(!!_0x41182e[_0x1821ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1821ff([0x2a]))||!!_0x41182e[_0x1821ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1821ff([0x55,0x50,0x4c,0x43])));}function _0x1413af(){const _0x2d631f=_0x21d9,_0x211845=_0x28f6ba[_0x1821ff([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x211845||0x0==_0x211845[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcdc675}=new URL(window[_0x1821ff([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d631f(0xb9)]);if(_0x211845[_0x1821ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcdc675))return!0x0;const _0x38ab14=_0xcdc675[_0x1821ff([0x73,0x70,0x6c,0x69,0x74])](_0x1821ff([0x2e]));return _0x211845[_0x1821ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22445=>_0x22445[_0x1821ff([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1821ff([0x2a])))[_0x1821ff([0x6d,0x61,0x70])](_0x3c20e4=>_0x3c20e4[_0x1821ff([0x73,0x70,0x6c,0x69,0x74])](_0x1821ff([0x2e])))[_0x1821ff([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f5c8e=>_0x3f5c8e[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38ab14[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1821ff([0x6d,0x61,0x70])](_0xcb852a=>Array(_0x38ab14[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xcb852a[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1821ff([0x66,0x69,0x6c,0x6c])](_0xcb852a[0x0]===_0x1821ff([0x2a])?_0x1821ff([0x2a]):'')[_0x1821ff([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xcb852a))[_0x1821ff([0x73,0x6f,0x6d,0x65])](_0x35dcb7=>_0x38ab14[_0x1821ff([0x65,0x76,0x65,0x72,0x79])]((_0x1e23a3,_0x2b0c3e)=>_0x35dcb7[_0x2b0c3e]===_0x1e23a3||_0x35dcb7[_0x2b0c3e]===_0x1821ff([0x2a])));}function _0x1a5775(){return _0x385d23&&_0x4b500d?new window[(_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab40d,_0x32dd5b)=>{_0x385d23[_0x1821ff([0x74,0x68,0x65,0x6e])](_0x5ab40d,_0x32dd5b),_0x4b500d[_0x1821ff([0x74,0x68,0x65,0x6e])](_0x506211=>{_0x506211!=_0x1821ff([0x56,0x61,0x6c,0x69,0x64])&&_0x5ab40d(_0x506211);},_0x32dd5b);}):_0x385d23||_0x4b500d||_0x1821ff([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b5ea5(_0x49fed9,_0x50d4de){return new window[(_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c71fa=>{if(_0x4d9aba())return _0x5c71fa(_0x1821ff([0x56,0x61,0x6c,0x69,0x64]));_0x326efb(),_0x3f7bcd[_0x1821ff([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1821ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x441705=!0x1;const _0x557464=_0x390811();function _0x2a05cb(_0x59fac6){return!!_0x59fac6&&(typeof _0x59fac6===_0x1821ff([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59fac6===_0x1821ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59fac6[_0x1821ff([0x74,0x68,0x65,0x6e])]===_0x1821ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59fac6[_0x1821ff([0x63,0x61,0x74,0x63,0x68])]===_0x1821ff([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47a255(_0xd48a8c){_0x73492(_0xd48a8c)[_0x1821ff([0x74,0x68,0x65,0x6e])](_0x37421a=>{if(!_0x37421a||_0x37421a[_0x1821ff([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1821ff([0x6f,0x6b]))return _0x1821ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46aeeb(_0x452793(_0x557464+_0x50d4de))!=_0x37421a[_0x1821ff([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1821ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1821ff([0x56,0x61,0x6c,0x69,0x64]);})[_0x1821ff([0x74,0x68,0x65,0x6e])](_0x76c2c8=>(_0x3c8ab6(),_0x76c2c8),()=>{const _0x227cad=_0x475f41();return null==_0x227cad?(_0x3c8ab6(),_0x1821ff([0x56,0x61,0x6c,0x69,0x64])):_0x1821ff(_0x3e02d3-_0x227cad>(0x63b5d35f^_0x396cde)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1821ff([0x74,0x68,0x65,0x6e])](_0x5c71fa)[_0x1821ff([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c71fa(_0x1821ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37ddc4=0x478fb9df^_0x396cde;function _0x3c8ab6(){const _0x1e73cb=_0x1821ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x46aeeb(_0x452793(_0x49fed9)),_0x530bc5=_0x56def5(_0x46aeeb(window[_0x1821ff([0x4d,0x61,0x74,0x68])][_0x1821ff([0x63,0x65,0x69,0x6c])](_0x3e02d3/_0x37ddc4)));window[_0x1821ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1821ff([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e73cb,_0x530bc5);}function _0x475f41(){const _0x467f37=_0x1821ff([0x6c,0x6c,0x63,0x74,0x2d])+_0x46aeeb(_0x452793(_0x49fed9)),_0x282819=window[_0x1821ff([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1821ff([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x467f37);return _0x282819?window[_0x1821ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56def5(_0x282819),0x10)*_0x37ddc4:null;}function _0x73492(_0x4bc5c0){return new window[(_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x588d0d,_0x7c64a5)=>{_0x4bc5c0[_0x1821ff([0x74,0x68,0x65,0x6e])](_0x588d0d,_0x7c64a5),window[_0x1821ff([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7c64a5,0x47b8839f^_0x396cde);});}}_0x3f7bcd[_0x1821ff([0x6f,0x6e])](_0x1821ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42c604,_0x39f9a3)=>{if(_0x39f9a3[0x0]!=_0x49fed9)return _0x5c71fa(_0x1821ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39f9a3[0x1]={..._0x39f9a3[0x1],[_0x1821ff([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x557464};},{[_0x1821ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1821ff([0x68,0x69,0x67,0x68])}),_0x3f7bcd[_0x1821ff([0x6f,0x6e])](_0x1821ff([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x555064=>{_0x2a05cb(_0x555064[_0x1821ff([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x441705=!0x0,_0x47a255(_0x555064[_0x1821ff([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1821ff([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1821ff([0x6c,0x6f,0x77])}),_0x2d5dec[_0x1821ff([0x74,0x68,0x65,0x6e])](()=>{_0x441705||_0x5c71fa(_0x1821ff([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d9aba(){return _0x3f7bcd[_0x1821ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1821ff([0x76,0x69,0x65,0x77])][_0x1821ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1821ff([0x61,0x75,0x74,0x6f]);}function _0x326efb(){_0x3f7bcd[_0x1821ff([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1821ff([0x76,0x69,0x65,0x77])][_0x1821ff([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1821ff([0x61,0x75,0x74,0x6f]);}}function _0x52bc6f(_0x592e62){const _0x4ac5cd=[new window[(_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f624a=>setTimeout(_0x3f624a,0x47b06993^_0x396cde)),_0x2d5dec[_0x1821ff([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11a434=>{let _0xa9400e=0x0;_0x3f7bcd[_0x1821ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x1821ff([0x6f,0x6e])](_0x1821ff([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4265d7,_0x5737e3)=>{_0x5737e3[0x0][_0x1821ff([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa9400e++,_0xa9400e==(0x47b956a7^_0x396cde)&&(_0x11a434(),_0x4265d7[_0x1821ff([0x6f,0x66,0x66])]());});}))];return window[_0x1821ff([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1821ff([0x72,0x61,0x63,0x65])](_0x4ac5cd)[_0x1821ff([0x74,0x68,0x65,0x6e])](()=>_0x592e62);}async function _0x1fee32(){await _0x2d5dec,_0x3f7bcd[_0x1821ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x1821ff([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4aca92,_0x3f7bcd[_0x1821ff([0x6d,0x6f,0x64,0x65,0x6c])][_0x1821ff([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4aca92,_0x3f7bcd[_0x1821ff([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1821ff([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12552d(_0x55d578){const _0x2b4202=_0x3e6961();_0x3f7bcd[_0x2b4202]=_0x1821ff([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55d578,_0x55d578!=_0x1821ff([0x56,0x61,0x6c,0x69,0x64])&&_0x1fee32();}function _0x3e6961(){const _0x128f13=window[_0x1821ff([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1821ff([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1821ff([0x6e,0x6f,0x77])]())[_0x1821ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1821ff([0x2e]),'');let _0x5e8dad=_0x1821ff([0x70]);for(let _0x2e1e32=0x0;_0x2e1e32<_0x128f13[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1e32+=0x2){let _0x39508f=window[_0x1821ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x128f13[_0x1821ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e1e32,_0x2e1e32+0x2));_0x39508f>=_0x322d8a[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39508f-=_0x322d8a[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e8dad+=_0x322d8a[_0x39508f];}return _0x5e8dad;}function _0x49ac71(){const _0x5f3f1c=_0x57bdad[_0x1821ff([0x73,0x70,0x6c,0x69,0x74])](_0x1821ff([0x2e]));if(0x3!=_0x5f3f1c[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e47a6(_0x5f3f1c[0x1]);function _0x1e47a6(_0x4fcd57){const _0x25dd06=_0x494d23(_0x4fcd57);return _0x25dd06&&_0x10b13f()?_0x25dd06:null;function _0x10b13f(){const _0x811785=_0x25dd06[_0x1821ff([0x6a,0x74,0x69])],_0x424431=window[_0x1821ff([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x811785[_0x1821ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x811785[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4661a1={..._0x25dd06,[_0x1821ff([0x6a,0x74,0x69])]:_0x811785[_0x1821ff([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x811785[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4661a1[_0x1821ff([0x76,0x63])],_0x452793(_0x4661a1)==_0x424431;}}}async function _0x4cc6f8(){let _0x323fb7=!0x0;try{const _0x33e0b6=_0x57bdad[_0x1821ff([0x73,0x70,0x6c,0x69,0x74])](_0x1821ff([0x2e])),[_0x5ef445,_0x1419c9,_0x16014b]=_0x33e0b6;return _0x4a078d(_0x5ef445),await _0x2bb4b4(_0x5ef445,_0x1419c9,_0x16014b),_0x323fb7;}catch{return!0x1;}function _0x4a078d(_0x268613){const _0x35ebaa=_0x494d23(_0x268613);_0x35ebaa&&_0x35ebaa[_0x1821ff([0x61,0x6c,0x67])]==_0x1821ff([0x45,0x53,0x32,0x35,0x36])||(_0x323fb7=!0x1);}async function _0x2bb4b4(_0x365e14,_0x2fbcb1,_0x335c2d){const _0x3db497=window[_0x1821ff([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1821ff([0x66,0x72,0x6f,0x6d])](_0x2404d3(_0x335c2d),_0x28a2d4=>_0x28a2d4[_0x1821ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x515b16=new window[(_0x1821ff([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1821ff([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x365e14+_0x1821ff([0x2e])+_0x2fbcb1),_0x142068=window[_0x1821ff([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1821ff([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x142068)return;const _0xd4b231=await _0x142068[_0x1821ff([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1821ff([0x6a,0x77,0x6b]),_0x3f56a4,{[_0x1821ff([0x6e,0x61,0x6d,0x65])]:_0x1821ff([0x45,0x43,0x44,0x53,0x41]),[_0x1821ff([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1821ff([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1821ff([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x142068[_0x1821ff([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1821ff([0x6e,0x61,0x6d,0x65])]:_0x1821ff([0x45,0x43,0x44,0x53,0x41]),[_0x1821ff([0x68,0x61,0x73,0x68])]:{[_0x1821ff([0x6e,0x61,0x6d,0x65])]:_0x1821ff([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd4b231,_0x3db497,_0x515b16)||(_0x323fb7=!0x1);}}function _0x494d23(_0x47a458){return _0x47a458[_0x1821ff([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1821ff([0x65,0x79]))?JSON[_0x1821ff([0x70,0x61,0x72,0x73,0x65])](_0x2404d3(_0x47a458)):null;}function _0x2404d3(_0x262842){return window[_0x1821ff([0x61,0x74,0x6f,0x62])](_0x262842[_0x1821ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1821ff([0x2b]))[_0x1821ff([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1821ff([0x2f])));}function _0x452793(_0x397175){let _0x2e5255=0x1505;function _0x2737d4(_0x23f9d1){for(let _0x32cdbe=0x0;_0x32cdbe<_0x23f9d1[_0x1821ff([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32cdbe++){const _0x49245b=_0x23f9d1[_0x1821ff([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32cdbe);_0x2e5255=(_0x2e5255<<0x5)+_0x2e5255+_0x49245b,_0x2e5255&=_0x2e5255;}}function _0x5e2071(_0x3ab856){Array[_0x1821ff([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ab856)?_0x3ab856[_0x1821ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e2071):_0x3ab856&&typeof _0x3ab856==_0x1821ff([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1821ff([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ab856)[_0x1821ff([0x73,0x6f,0x72,0x74])]()[_0x1821ff([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb4685f,_0x199a57])=>{_0x2737d4(_0xb4685f),_0x5e2071(_0x199a57);}):_0x2737d4(window[_0x1821ff([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ab856));}return _0x5e2071(_0x397175),_0x2e5255>>>0x0;}function _0x46aeeb(_0x1aba6d){return _0x1aba6d[_0x1821ff([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1821ff([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1821ff([0x30]));}function _0x56def5(_0x7eb5df){return _0x7eb5df[_0x1821ff([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1821ff([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1821ff([0x6a,0x6f,0x69,0x6e])]('');}function _0x4aca92(){}function _0x1821ff(_0xc8c14c){const _0x1f263c=_0x21d9;return _0xc8c14c[_0x1f263c(0x81)](_0x41bf0e=>String[_0x1f263c(0x75)](_0x41bf0e))[_0x1f263c(0xa6)]('');}_0x12552d(await _0x27300b());}(this);}[_0x375365(0x6e)](){const _0x262a76=_0x375365,_0x4278db=this[_0x262a76(0x99)][_0x262a76(0x73)][_0x262a76(0x7f)];_0x4278db[_0x262a76(0xa9)](_0x262a76(0x6c))&&_0x4278db[_0x262a76(0x9c)](_0x262a76(0x6c),{'allowAttributes':[_0x262a76(0x88)]}),_0x4278db[_0x262a76(0xa9)](_0x262a76(0x7a))&&_0x4278db[_0x262a76(0x9c)](_0x262a76(0x7a),{'allowAttributes':[_0x262a76(0x88)]});}[_0x375365(0x6d)](){const _0x4cdbd7=_0x375365,_0x51079b=this[_0x4cdbd7(0x99)];_0x51079b[_0x4cdbd7(0xb0)][_0x4cdbd7(0xab)](_0x4cdbd7(0x72))[_0x4cdbd7(0x9e)]({'model':_0x4cdbd7(0x88),'view':_0x4cdbd7(0xaa)}),_0x51079b[_0x4cdbd7(0xb0)][_0x4cdbd7(0xab)](_0x4cdbd7(0xa4))[_0x4cdbd7(0x94)]({'model':{'key':_0x4cdbd7(0x88),'value':_0x5d69d7=>_0x5d69d7[_0x4cdbd7(0x80)](_0x4cdbd7(0xaa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3c64f7=_0x51079b[_0x4cdbd7(0x92)][_0x4cdbd7(0xae)](_0x4cdbd7(0x74));_0x3c64f7&&this[_0x4cdbd7(0x91)](_0x3c64f7,_0x4cdbd7(0x79),(_0x347763,[_0x183f5c,_0x86658a])=>{const _0x40bd13=_0x4cdbd7;_0x183f5c[_0x40bd13(0x97)](_0x40bd13(0x88),_0x86658a);});}[_0x375365(0x95)](){const _0x52e936=_0x375365,_0x20086a=this[_0x52e936(0x99)][_0x52e936(0xa0)][_0x52e936(0xae)](_0x52e936(0xbb))||{},_0x3f0e49=this[_0x52e936(0x99)][_0x52e936(0xa0)][_0x52e936(0xae)](_0x52e936(0x7d))||'';this[_0x52e936(0x83)]=_0x2efafc(_0x5a7946[_0x52e936(0x98)],_0x52e936(0xa7),{..._0x20086a,'pubkey':_0x3f0e49,'ctx-name':_0x52e936(0x71)+this[_0x52e936(0xa8)],'sourceList':'','imgOnly':_0x52e936(0x86),'removeCopyright':_0x52e936(0x86),'localeName':this[_0x52e936(0x99)][_0x52e936(0xba)][_0x52e936(0x85)],'externalSourcesEmbedCss':_0x52e936(0xaf)}),this[_0x52e936(0x83)][_0x52e936(0x6b)]=_0x28fd15=>{const _0xe7435=_0x52e936;if(_0xe7435(0x84)==_0x28fd15)return _0xe7435(0x9b);},_0x5a7946[_0x52e936(0x98)][_0x52e936(0x78)][_0x52e936(0x9f)](this[_0x52e936(0x83)]);}[_0x375365(0xa2)](){const _0x3df59c=_0x375365;this[_0x3df59c(0xac)]=_0x2efafc(_0x5a7946[_0x3df59c(0x98)],_0x3df59c(0x7c),{'ctx-name':_0x3df59c(0x71)+this[_0x3df59c(0xa8)]}),_0x5a7946[_0x3df59c(0x98)][_0x3df59c(0x78)][_0x3df59c(0x9f)](this[_0x3df59c(0xac)]);}[_0x375365(0x70)](){const _0x520902=_0x375365,_0x3d94b5=this[_0x520902(0x99)][_0x520902(0x92)][_0x520902(0xae)](_0x520902(0x7b));_0x3d94b5&&this[_0x520902(0x91)](_0x3d94b5,_0x520902(0xa5),()=>{const _0xa50fd0=_0x520902,_0x6c6bbe=this[_0xa50fd0(0x99)][_0xa50fd0(0x73)][_0xa50fd0(0x98)][_0xa50fd0(0x8f)][_0xa50fd0(0x96)]();_0x6c6bbe&&_0x6c6bbe[_0xa50fd0(0x80)](_0xa50fd0(0x88))&&this[_0xa50fd0(0x99)][_0xa50fd0(0xbc)][_0xa50fd0(0x89)][_0xa50fd0(0xb8)](_0xa50fd0(0xb7),()=>{const _0x244c68=_0xa50fd0;_0x2f1c85(this[_0x244c68(0x99)],_0x6c6bbe);});});const _0x51daa5=this[_0x520902(0x99)][_0x520902(0x92)][_0x520902(0xae)](_0x520902(0x8e));_0x51daa5&&this[_0x520902(0x91)](_0x51daa5,_0x520902(0xa5),()=>{const _0x559231=_0x520902,_0x22de9b=this[_0x559231(0x99)][_0x559231(0x73)][_0x559231(0x98)][_0x559231(0x8f)][_0x559231(0x96)]();_0x22de9b&&_0x22de9b[_0x559231(0x80)](_0x559231(0x88))&&this[_0x559231(0x99)][_0x559231(0xbc)][_0x559231(0x89)][_0x559231(0xb8)](_0x559231(0xb7),()=>{const _0x4a35ee=_0x559231;_0x2f1c85(this[_0x4a35ee(0x99)],_0x22de9b);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4d8bb6,ObservableMixin as _0x2d38c4}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x118da4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4db288}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x95daf5}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x25be0b}from'../../utils/uploadutils.js';import{getImageUrls as _0x693bf5,getImageDimension as _0x12f5e5}from'../../utils/editingutils.js';import{isAncestor as _0x519630}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2d38c4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x38bddb,_0x3445ad,_0x59b11f){super(),this['_editor']=_0x38bddb,this['_dialog']=_0x3445ad,this['_imageElement']=_0x59b11f,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 _0x32d6a7=this['_imageElement'],_0x3f8c77=_0x32d6a7['getAttribute']('uploadcareImageId'),_0x2ff9a0=_0x32d6a7['getAttribute']('src');if(_0x3f8c77)await this['_loadImageInfo'](_0x3f8c77,_0x2ff9a0);else{if(this['_imageCache']['has'](_0x2ff9a0)){const _0x3146fb=this['_imageCache']['get'](_0x2ff9a0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3146fb['url'],this['imageDimension']=_0x3146fb['dimension'],this['imageId']=_0x3146fb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f2a0d}=this['_editor'],t=_0x1f2a0d['t'],_0xf3392a=new _0x95daf5(_0x1f2a0d,this['imageStatus'],this['_attributes']);_0xf3392a['bind']('status')['to'](this,'imageStatus'),_0xf3392a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xf3392a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xf3392a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xf3392a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4db288,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xf3392a,'position':_0x118da4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xf3392a['focus']();},'onHide':()=>{_0xf3392a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37cbf3=>!_0x519630(_0x37cbf3,_0xf3392a['element'])}});}['_loadImageInfo'](_0x24b64e,_0x34f468){return _0x25be0b['getInfo'](_0x24b64e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x416e59=>{const {width:_0x8a1173,height:_0x285599}=_0x416e59['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34f468,this['imageDimension']={'width':_0x8a1173,'height':_0x285599},this['imageId']=_0x24b64e;})['catch'](_0x3e127e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3e127e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x349433,_0x2aa43c){return this['_getImageAsFile'](_0x349433)['then'](_0x3c01ed=>_0x25be0b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2aa43c['signal'],'file':_0x3c01ed,'onProgress':_0x19c650=>{_0x19c650&&_0x19c650['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x19c650['value']));}}))['then'](_0x7cc9ad=>{const {width:_0x454100,height:_0x536b7b}=_0x7cc9ad['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7cc9ad['cdnUrl'],this['imageDimension']={'width':_0x454100,'height':_0x536b7b},this['imageId']=_0x7cc9ad['uuid'],this['imageUploadProgress']=null;const _0x289f78=_0x349433['getAttribute']('src');this['_imageCache']['set'](_0x289f78,{'id':_0x7cc9ad['uuid'],'url':_0x7cc9ad['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xad9562=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xad9562['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4912a3,_0x195d35){_0x4912a3['on']('apply',(_0x504a8a,_0x29a5bb)=>{this['_replaceImage'](_0x195d35,_0x29a5bb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4912a3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4912a3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x300743,_0x53517d,_0x5cf4a1){const _0x4116a0=this['_editor'],{width:_0x41976e,height:_0x6c194f}=_0x12f5e5(_0x53517d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x7af13e,imageSources:_0x5acc5}=_0x693bf5(_0x53517d,_0x41976e);_0x4116a0['model']['change'](_0x25f34b=>{if('$graveyard'===_0x300743['root']['rootName']){_0x4116a0['execute']('insertImage',{'imageType':_0x300743['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x300743['getAttributes']()),'uploadcareImageId':_0x5cf4a1,'src':_0x7af13e,'sources':_0x5acc5,'width':_0x41976e,'height':_0x6c194f}});const _0x68883c=_0x300743['getChildren']();_0x300743=_0x4116a0['model']['document']['selection']['getSelectedElement']();for(const _0x4e2414 of _0x68883c)_0x25f34b['append'](_0x25f34b['cloneElement'](_0x4e2414),_0x300743);}else _0x25f34b['setSelection'](_0x300743,'on'),_0x4116a0['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x300743['getAttributes']()),'uploadcareImageId':_0x5cf4a1,'src':_0x7af13e,'sources':_0x5acc5,'width':_0x41976e,'height':_0x6c194f},_0x300743);_0x25f34b['setSelection'](_0x300743,'on');});}async['_getImageAsFile'](_0x1b7a5b){const _0x6e792c=_0x4d8bb6['window'],_0x4fda60=_0x4d8bb6['document']['location']['href'],_0x3933f0=new _0x6e792c['URL'](_0x1b7a5b['getAttribute']('src'),_0x4fda60);if('data:'===_0x3933f0['protocol']){const _0x1eef3b=_0x3933f0['href']['split'](','),_0x88e1bd=_0x1eef3b[0x0]['match'](/:(.*?);/)[0x1],_0x5009df=_0x88e1bd['split']('/')[0x1],_0x39f05c=_0x6e792c['atob'](_0x1eef3b[_0x1eef3b['length']-0x1]);let _0x2af5a1=_0x39f05c['length'];const _0x5e2c6e=new _0x6e792c['Uint8Array'](_0x2af5a1);for(;_0x2af5a1--;)_0x5e2c6e[_0x2af5a1]=_0x39f05c['charCodeAt'](_0x2af5a1);return new _0x6e792c['File']([_0x5e2c6e],'image.'+_0x5009df,{'type':_0x88e1bd});}const _0x6d6e99=_0x3933f0['href']['split']('/'),_0x44b5d1=_0x6d6e99[_0x6d6e99['length']-0x1],_0xc73763=_0x44b5d1['split']('.')[0x1];return _0x6e792c['fetch'](_0x3933f0['href'])['then'](_0x16cf0f=>_0x16cf0f['clone']()['blob']())['then'](_0x4f4a38=>new _0x6e792c['File']([_0x4f4a38],_0x44b5d1,{'type':'image/'+_0xc73763}));}}
23
+ import{global as _0x5972a7,ObservableMixin as _0x2c9cc1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x435553}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2caefb}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x8174df}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2a8732}from'../../utils/uploadutils.js';import{getImageUrls as _0x11196c,getImageDimension as _0x315f0e}from'../../utils/editingutils.js';import{isAncestor as _0x5046a7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2c9cc1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1ee99a,_0x5ada6c,_0x10f5a5){super(),this['_editor']=_0x1ee99a,this['_dialog']=_0x5ada6c,this['_imageElement']=_0x10f5a5,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 _0x4aa181=this['_imageElement'],_0x332650=_0x4aa181['getAttribute']('uploadcareImageId'),_0x1dac75=_0x4aa181['getAttribute']('src');if(_0x332650)await this['_loadImageInfo'](_0x332650,_0x1dac75);else{if(this['_imageCache']['has'](_0x1dac75)){const _0x3a0f25=this['_imageCache']['get'](_0x1dac75);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a0f25['url'],this['imageDimension']=_0x3a0f25['dimension'],this['imageId']=_0x3a0f25['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29212b}=this['_editor'],t=_0x29212b['t'],_0x26406d=new _0x8174df(_0x29212b,this['imageStatus'],this['_attributes']);_0x26406d['bind']('status')['to'](this,'imageStatus'),_0x26406d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x26406d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x26406d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x26406d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2caefb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x26406d,'position':_0x435553['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x26406d['focus']();},'onHide':()=>{_0x26406d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4eb6b8=>!_0x5046a7(_0x4eb6b8,_0x26406d['element'])}});}['_loadImageInfo'](_0x5e7ccd,_0x55f710){return _0x2a8732['getInfo'](_0x5e7ccd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5ab8b6=>{const {width:_0x86f508,height:_0x1542cf}=_0x5ab8b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55f710,this['imageDimension']={'width':_0x86f508,'height':_0x1542cf},this['imageId']=_0x5e7ccd;})['catch'](_0x344ff7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x344ff7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x22c694,_0x20161d){return this['_getImageAsFile'](_0x22c694)['then'](_0x1f7298=>_0x2a8732['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x20161d['signal'],'file':_0x1f7298,'onProgress':_0x12e81d=>{_0x12e81d&&_0x12e81d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12e81d['value']));}}))['then'](_0x5a8dbd=>{const {width:_0x5373bf,height:_0x4e7296}=_0x5a8dbd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a8dbd['cdnUrl'],this['imageDimension']={'width':_0x5373bf,'height':_0x4e7296},this['imageId']=_0x5a8dbd['uuid'],this['imageUploadProgress']=null;const _0x328e69=_0x22c694['getAttribute']('src');this['_imageCache']['set'](_0x328e69,{'id':_0x5a8dbd['uuid'],'url':_0x5a8dbd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x42db94=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42db94['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a6e6b,_0x42cb56){_0x2a6e6b['on']('apply',(_0x4cc24,_0x3a2e2c)=>{this['_replaceImage'](_0x42cb56,_0x3a2e2c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a6e6b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a6e6b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x40ae21,_0x2b3ea1,_0x472d7f){const _0x26711c=this['_editor'],{width:_0x2ae655,height:_0x3ec2ba}=_0x315f0e(_0x2b3ea1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4affe1,imageSources:_0x2e86c6}=_0x11196c(_0x2b3ea1,_0x2ae655);_0x26711c['model']['change'](_0x2213df=>{if('$graveyard'===_0x40ae21['root']['rootName']){_0x26711c['execute']('insertImage',{'imageType':_0x40ae21['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x40ae21['getAttributes']()),'uploadcareImageId':_0x472d7f,'src':_0x4affe1,'sources':_0x2e86c6,'width':_0x2ae655,'height':_0x3ec2ba}});const _0xe94034=_0x40ae21['getChildren']();_0x40ae21=_0x26711c['model']['document']['selection']['getSelectedElement']();for(const _0x3b95f9 of _0xe94034)_0x2213df['append'](_0x2213df['cloneElement'](_0x3b95f9),_0x40ae21);}else _0x2213df['setSelection'](_0x40ae21,'on'),_0x26711c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x40ae21['getAttributes']()),'uploadcareImageId':_0x472d7f,'src':_0x4affe1,'sources':_0x2e86c6,'width':_0x2ae655,'height':_0x3ec2ba},_0x40ae21);_0x2213df['setSelection'](_0x40ae21,'on');});}async['_getImageAsFile'](_0x3a0ccc){const _0x5154ec=_0x5972a7['window'],_0x5d9396=_0x5972a7['document']['location']['href'],_0x4a0505=new _0x5154ec['URL'](_0x3a0ccc['getAttribute']('src'),_0x5d9396);if('data:'===_0x4a0505['protocol']){const _0x235bfa=_0x4a0505['href']['split'](','),_0x2939ea=_0x235bfa[0x0]['match'](/:(.*?);/)[0x1],_0x1d1f38=_0x2939ea['split']('/')[0x1],_0x4023ce=_0x5154ec['atob'](_0x235bfa[_0x235bfa['length']-0x1]);let _0x1f131b=_0x4023ce['length'];const _0x262cf5=new _0x5154ec['Uint8Array'](_0x1f131b);for(;_0x1f131b--;)_0x262cf5[_0x1f131b]=_0x4023ce['charCodeAt'](_0x1f131b);return new _0x5154ec['File']([_0x262cf5],'image.'+_0x1d1f38,{'type':_0x2939ea});}const _0x1c72ad=_0x4a0505['href']['split']('/'),_0x53c0bb=_0x1c72ad[_0x1c72ad['length']-0x1],_0x5c33c6=_0x53c0bb['split']('.')[0x1];return _0x5154ec['fetch'](_0x4a0505['href'])['then'](_0x180cab=>_0x180cab['clone']()['blob']())['then'](_0x26374f=>new _0x5154ec['File']([_0x26374f],_0x53c0bb,{'type':'image/'+_0x5c33c6}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5918d1,_0x2e3e9c){const _0x347d1d=_0xa697,_0x4878c2=_0x5918d1();while(!![]){try{const _0x102caa=-parseInt(_0x347d1d(0xf8))/0x1*(parseInt(_0x347d1d(0xf7))/0x2)+-parseInt(_0x347d1d(0xe6))/0x3*(parseInt(_0x347d1d(0xee))/0x4)+parseInt(_0x347d1d(0xe7))/0x5*(parseInt(_0x347d1d(0xf1))/0x6)+-parseInt(_0x347d1d(0xef))/0x7+parseInt(_0x347d1d(0xf0))/0x8*(-parseInt(_0x347d1d(0xe9))/0x9)+parseInt(_0x347d1d(0xf2))/0xa+parseInt(_0x347d1d(0xeb))/0xb*(-parseInt(_0x347d1d(0xe5))/0xc);if(_0x102caa===_0x2e3e9c)break;else _0x4878c2['push'](_0x4878c2['shift']());}catch(_0x4a974c){_0x4878c2['push'](_0x4878c2['shift']());}}}(_0x4b86,0x2ab44));function _0x4b86(){const _0x5a1d4c=['4678wQQBSE','9oKYVnt','38172kcAjoT','6MZebzR','809660gJicUQ','uc-cloud-image-editor','27801RqHjNp','imageSrc','99llqtxf','setTemplate','set','400108RStssO','84448bepRgb','328yRgdyh','12HVfhkG','2394990XTlvdm','uc-light','image-edit','ck-uploadcare-theme','bindTemplate'];_0x4b86=function(){return _0x5a1d4c;};return _0x4b86();}function _0xa697(_0x192f54,_0x4954d4){const _0x4b8647=_0x4b86();return _0xa697=function(_0xa697bc,_0x5dce2b){_0xa697bc=_0xa697bc-0xe5;let _0x1b0f22=_0x4b8647[_0xa697bc];return _0x1b0f22;},_0xa697(_0x192f54,_0x4954d4);}import{View as _0xa99fbe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa99fbe{constructor(_0x4f4d70,_0x5dd488){const _0x195f5f=_0xa697;super(_0x4f4d70);const _0x417aa9=this[_0x195f5f(0xf6)];this[_0x195f5f(0xed)](_0x195f5f(0xea),''),this[_0x195f5f(0xec)]({'tag':_0x195f5f(0xe8),'attributes':{..._0x5dd488,'class':[_0x195f5f(0xf3),_0x195f5f(0xf5)],'ctx-name':_0x195f5f(0xf4),'cdn-url':_0x417aa9['to'](_0x195f5f(0xea))}});}}
23
+ function _0x459b(_0x8b8bfa,_0x49ab0a){const _0x53dcac=_0x53dc();return _0x459b=function(_0x459b31,_0x41205b){_0x459b31=_0x459b31-0xa6;let _0x515785=_0x53dcac[_0x459b31];return _0x515785;},_0x459b(_0x8b8bfa,_0x49ab0a);}function _0x53dc(){const _0x31a379=['281646oiBmBa','9416MooXrN','2397232XOecJp','uc-cloud-image-editor','408630sbqFVY','setTemplate','959GsptKZ','image-edit','uc-light','605020QwFAXu','bindTemplate','349024vZbZxX','693846rILAHl','imageSrc','6uohfsi','set','ck-uploadcare-theme'];_0x53dc=function(){return _0x31a379;};return _0x53dc();}(function(_0x4db0ab,_0x2971bc){const _0x198cde=_0x459b,_0x397649=_0x4db0ab();while(!![]){try{const _0x3cacda=parseInt(_0x198cde(0xb6))/0x1+-parseInt(_0x198cde(0xab))/0x2*(-parseInt(_0x198cde(0xa8))/0x3)+-parseInt(_0x198cde(0xad))/0x4+parseInt(_0x198cde(0xb4))/0x5+parseInt(_0x198cde(0xaf))/0x6+parseInt(_0x198cde(0xb1))/0x7*(parseInt(_0x198cde(0xac))/0x8)+-parseInt(_0x198cde(0xa6))/0x9;if(_0x3cacda===_0x2971bc)break;else _0x397649['push'](_0x397649['shift']());}catch(_0x5709a8){_0x397649['push'](_0x397649['shift']());}}}(_0x53dc,0x4a5f2));import{View as _0x474e12}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x474e12{constructor(_0x44cd6f,_0x5929fe){const _0x3f8d7b=_0x459b;super(_0x44cd6f);const _0x186dab=this[_0x3f8d7b(0xb5)];this[_0x3f8d7b(0xa9)](_0x3f8d7b(0xa7),''),this[_0x3f8d7b(0xb0)]({'tag':_0x3f8d7b(0xae),'attributes':{..._0x5929fe,'class':[_0x3f8d7b(0xb3),_0x3f8d7b(0xaa)],'ctx-name':_0x3f8d7b(0xb2),'cdn-url':_0x186dab['to'](_0x3f8d7b(0xa7))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x40484b}from'ckeditor5/src/icons.js';import{ButtonView as _0x891f24,IconView as _0x56eca5,View as _0x2f1b41}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2f1b41{constructor(_0x15c56b){super(_0x15c56b);const t=_0x15c56b['t'];this['set']('errorType',null);const _0x306857=new _0x891f24(_0x15c56b);_0x306857['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x306857['withText']=!0x0,_0x306857['class']='ck-button-action',_0x306857['on']('execute',()=>{this['fire']('retry');}),_0x306857['bind']('isVisible')['to'](this,'errorType',_0x4e8d59=>'NotFound'!==_0x4e8d59);const _0x44a3fe=new _0x56eca5();_0x44a3fe['content']=_0x40484b,_0x44a3fe['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5aac79=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':[_0x44a3fe,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5aac79['to']('errorType',_0x2f4fb6=>t('NotFound'!==_0x2f4fb6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x306857]},{'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 _0x268f7f}from'ckeditor5/src/icons.js';import{ButtonView as _0x21fbeb,IconView as _0xf7074,View as _0x103d96}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x103d96{constructor(_0x5b20b8){super(_0x5b20b8);const t=_0x5b20b8['t'];this['set']('errorType',null);const _0x392e70=new _0x21fbeb(_0x5b20b8);_0x392e70['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x392e70['withText']=!0x0,_0x392e70['class']='ck-button-action',_0x392e70['on']('execute',()=>{this['fire']('retry');}),_0x392e70['bind']('isVisible')['to'](this,'errorType',_0x11d9a7=>'NotFound'!==_0x11d9a7);const _0x168eac=new _0xf7074();_0x168eac['content']=_0x268f7f,_0x168eac['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x36dba5=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':[_0x168eac,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x36dba5['to']('errorType',_0x214113=>t('NotFound'!==_0x214113?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x392e70]},{'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 _0x475df5,View as _0x5e9277}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5e9277{constructor(_0x1f2142){super(_0x1f2142);const t=_0x1f2142['t'],_0x212309=this['bindTemplate'],_0x341081=new _0x475df5();_0x341081['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':[_0x341081,{'text':_0x212309['to']('imageUploadProgress',_0x230929=>t('Loading\x20image...')+'\x20('+(_0x230929||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 _0xddb351,View as _0x277c48}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x277c48{constructor(_0xec4be3){super(_0xec4be3);const t=_0xec4be3['t'],_0x364f08=this['bindTemplate'],_0x16f520=new _0xddb351();_0x16f520['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':[_0x16f520,{'text':_0x364f08['to']('imageUploadProgress',_0x549ce7=>t('Loading\x20image...')+'\x20('+(_0x549ce7||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 _0x17700a=_0x14fb;(function(_0x5de3a2,_0x121150){const _0x2df796=_0x14fb,_0x5df2d6=_0x5de3a2();while(!![]){try{const _0x1958ef=parseInt(_0x2df796(0x1ed))/0x1+-parseInt(_0x2df796(0x1f0))/0x2+-parseInt(_0x2df796(0x1fc))/0x3*(-parseInt(_0x2df796(0x1f6))/0x4)+parseInt(_0x2df796(0x1e7))/0x5+parseInt(_0x2df796(0x20b))/0x6+parseInt(_0x2df796(0x1f1))/0x7+-parseInt(_0x2df796(0x1f9))/0x8*(parseInt(_0x2df796(0x20e))/0x9);if(_0x1958ef===_0x121150)break;else _0x5df2d6['push'](_0x5df2d6['shift']());}catch(_0x44a5b3){_0x5df2d6['push'](_0x5df2d6['shift']());}}}(_0x5782,0xcbab7));function _0x5782(){const _0x34ec44=['focus','add','_waitForImageEditorComponent','7841035emysPK','fire','length','div','ready','filter','953764tgNdeL','querySelector','_items','781742VpfCvo','3357543zfEMEI','cancel','once','setTemplate','uploading','8156rRYpVY','uc-cloud-image-editor','_addErrorViewListeners','24048fmhwwT','addMany','addEventListener','354OUopwx','set','_errorView','observe','detail','error','ck-reset_all-excluded','addedNodes','change:status','_loadingView','nodeName','getFocusableElement','element','clear','status','6456324CHOxNc','cdnUrl','target','9261FYmuYx','toLowerCase','ck-uploadcare-form','render','_setView','apply','createCollection','_focusableView','_addUploadcareImageEditorListeners','retry','disconnect','_editingView'];_0x5782=function(){return _0x34ec44;};return _0x5782();}import{View as _0x52c8c0}from'ckeditor5/src/ui.js';function _0x14fb(_0x5bec6f,_0x35bb53){const _0x5782f0=_0x5782();return _0x14fb=function(_0x14fb01,_0x9c42af){_0x14fb01=_0x14fb01-0x1d9;let _0x29ba98=_0x5782f0[_0x14fb01];return _0x29ba98;},_0x14fb(_0x5bec6f,_0x35bb53);}import{UploadcareImageEditFormLoadingView as _0x500632}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x43d46f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xd1891}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1ebfab}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1ebfab{[_0x17700a(0x1ef)];[_0x17700a(0x205)];[_0x17700a(0x1fe)];[_0x17700a(0x1e3)];[_0x17700a(0x1df)];constructor(_0x25bbfb,_0x1e0b3b,_0x496fb1){const _0x97f32e=_0x17700a;super(_0x25bbfb),this[_0x97f32e(0x1ef)]=this[_0x97f32e(0x1de)](),this[_0x97f32e(0x205)]=new _0x500632(_0x25bbfb),this[_0x97f32e(0x1fe)]=new _0x43d46f(_0x25bbfb),this[_0x97f32e(0x1e3)]=new _0xd1891(_0x25bbfb,_0x496fb1),this[_0x97f32e(0x1df)]=new _0x52c8c0(_0x25bbfb),this[_0x97f32e(0x1df)][_0x97f32e(0x1f4)](this[_0x97f32e(0x207)]()),this[_0x97f32e(0x1fd)](_0x97f32e(0x20a),_0x1e0b3b),this[_0x97f32e(0x1f4)]({'tag':_0x97f32e(0x1ea),'attributes':{'class':['ck',_0x97f32e(0x202),_0x97f32e(0x1da)],'tabindex':'-1'},'children':this[_0x97f32e(0x1ef)]}),this[_0x97f32e(0x1dc)](),this[_0x97f32e(0x1f3)](_0x97f32e(0x1db),()=>{const _0xd4737a=_0x97f32e;this[_0xd4737a(0x1e6)](this[_0xd4737a(0x208)],_0xc253c0=>{const _0x220553=_0xd4737a;this[_0x220553(0x1e0)](_0xc253c0);});}),this['on'](_0x97f32e(0x204),()=>{const _0x151068=_0x97f32e;this[_0x151068(0x1dc)]();}),this[_0x97f32e(0x1f8)]();}[_0x17700a(0x1e4)](){const _0x5c7849=_0x17700a;this[_0x5c7849(0x208)][_0x5c7849(0x1e4)]();}[_0x17700a(0x1dc)](){const _0x39971e=_0x17700a;switch(this[_0x39971e(0x1ef)][_0x39971e(0x209)](),this[_0x39971e(0x20a)]){case _0x39971e(0x1f5):this[_0x39971e(0x1ef)][_0x39971e(0x1e5)](this[_0x39971e(0x205)]);break;case _0x39971e(0x201):this[_0x39971e(0x1ef)][_0x39971e(0x1e5)](this[_0x39971e(0x1fe)]);break;case _0x39971e(0x1eb):this[_0x39971e(0x1ef)][_0x39971e(0x1fa)]([this[_0x39971e(0x1e3)],this[_0x39971e(0x1df)]]);}}[_0x17700a(0x1e6)](_0x5c4a06,_0x24162a){const _0x43f6d5=_0x17700a,_0x5ba7e5=_0x43f6d5(0x1f7),_0x3fbe52=_0x5c4a06[_0x43f6d5(0x1ee)](_0x5ba7e5);if(_0x3fbe52)return _0x24162a(_0x3fbe52);const _0x12c464=new MutationObserver(_0x5be768=>{const _0x393315=_0x43f6d5,_0x518bf1=_0x5be768[_0x393315(0x1ec)](_0x39474d=>_0x39474d[_0x393315(0x20d)]===_0x5c4a06&&_0x39474d[_0x393315(0x203)][_0x393315(0x1e9)]>0x0&&_0x39474d[_0x393315(0x203)][0x0][_0x393315(0x206)][_0x393315(0x1d9)]()===_0x5ba7e5);_0x518bf1[_0x393315(0x1e9)]&&(_0x12c464[_0x393315(0x1e2)](),_0x24162a(_0x518bf1[0x0][_0x393315(0x203)][0x0]));});_0x12c464[_0x43f6d5(0x1ff)](_0x5c4a06,{'childList':!0x0,'subtree':!0x0});}[_0x17700a(0x1e0)](_0x1f552a){const _0x3b8aa2=_0x17700a;_0x1f552a[_0x3b8aa2(0x1fb)](_0x3b8aa2(0x1dd),_0x4e9bca=>{const _0x559ad6=_0x3b8aa2;this[_0x559ad6(0x1e8)](_0x559ad6(0x1dd),{'imageSrc':_0x4e9bca[_0x559ad6(0x200)][_0x559ad6(0x20c)]});}),_0x1f552a[_0x3b8aa2(0x1fb)](_0x3b8aa2(0x1f2),()=>{const _0x12c191=_0x3b8aa2;this[_0x12c191(0x1e8)](_0x12c191(0x1f2));});}[_0x17700a(0x1f8)](){const _0x1fc7a2=_0x17700a;this[_0x1fc7a2(0x1fe)]['on'](_0x1fc7a2(0x1e1),()=>{const _0x7a8468=_0x1fc7a2;this[_0x7a8468(0x1e8)](_0x7a8468(0x1e1));});}}
23
+ function _0x2d9b(_0x1cebbc,_0x3d37db){const _0x9ed4fa=_0x9ed4();return _0x2d9b=function(_0x2d9b04,_0x20deef){_0x2d9b04=_0x2d9b04-0x1a8;let _0x348469=_0x9ed4fa[_0x2d9b04];return _0x348469;},_0x2d9b(_0x1cebbc,_0x3d37db);}function _0x9ed4(){const _0x1bbc6a=['once','set','_editingView','_items','_waitForImageEditorComponent','uploading','observe','getFocusableElement','add','2390945YRGIYw','fire','_addUploadcareImageEditorListeners','addEventListener','focus','disconnect','setTemplate','_setView','5195533sMJexx','8opskqB','status','nodeName','88126QhCMYN','change:status','ck-reset_all-excluded','10KPPLGe','_focusableView','28420018NJIwKs','render','length','querySelector','_errorView','ck-uploadcare-form','_loadingView','uc-cloud-image-editor','div','addMany','8sWkRvM','detail','cdnUrl','1136703nqLGfw','addedNodes','target','createCollection','retry','element','18sThQnb','toLowerCase','ready','cancel','error','clear','11552769NDqlrh','apply','filter','4710888zOfaLT','_addErrorViewListeners'];_0x9ed4=function(){return _0x1bbc6a;};return _0x9ed4();}const _0x12c321=_0x2d9b;(function(_0x5be230,_0x2cf155){const _0x435b8b=_0x2d9b,_0xa06243=_0x5be230();while(!![]){try{const _0xe5d991=-parseInt(_0x435b8b(0x1ac))/0x1*(-parseInt(_0x435b8b(0x1c4))/0x2)+parseInt(_0x435b8b(0x1be))/0x3*(-parseInt(_0x435b8b(0x1a9))/0x4)+-parseInt(_0x435b8b(0x1d8))/0x5+parseInt(_0x435b8b(0x1cd))/0x6+parseInt(_0x435b8b(0x1a8))/0x7*(-parseInt(_0x435b8b(0x1bb))/0x8)+-parseInt(_0x435b8b(0x1ca))/0x9+parseInt(_0x435b8b(0x1af))/0xa*(parseInt(_0x435b8b(0x1b1))/0xb);if(_0xe5d991===_0x2cf155)break;else _0xa06243['push'](_0xa06243['shift']());}catch(_0x5322c4){_0xa06243['push'](_0xa06243['shift']());}}}(_0x9ed4,0xdbbe5));import{View as _0x423bf0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3e70c4}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x109950}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x39278e}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2525c6}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2525c6{[_0x12c321(0x1d2)];[_0x12c321(0x1b7)];[_0x12c321(0x1b5)];[_0x12c321(0x1d1)];[_0x12c321(0x1b0)];constructor(_0x17e2bc,_0x2c66f7,_0x1e6e77){const _0x58d9f0=_0x12c321;super(_0x17e2bc),this[_0x58d9f0(0x1d2)]=this[_0x58d9f0(0x1c1)](),this[_0x58d9f0(0x1b7)]=new _0x3e70c4(_0x17e2bc),this[_0x58d9f0(0x1b5)]=new _0x109950(_0x17e2bc),this[_0x58d9f0(0x1d1)]=new _0x39278e(_0x17e2bc,_0x1e6e77),this[_0x58d9f0(0x1b0)]=new _0x423bf0(_0x17e2bc),this[_0x58d9f0(0x1b0)][_0x58d9f0(0x1de)](this[_0x58d9f0(0x1d6)]()),this[_0x58d9f0(0x1d0)](_0x58d9f0(0x1aa),_0x2c66f7),this[_0x58d9f0(0x1de)]({'tag':_0x58d9f0(0x1b9),'attributes':{'class':['ck',_0x58d9f0(0x1ae),_0x58d9f0(0x1b6)],'tabindex':'-1'},'children':this[_0x58d9f0(0x1d2)]}),this[_0x58d9f0(0x1df)](),this[_0x58d9f0(0x1cf)](_0x58d9f0(0x1b2),()=>{const _0x3ca438=_0x58d9f0;this[_0x3ca438(0x1d3)](this[_0x3ca438(0x1c3)],_0x472af2=>{const _0x3dfd63=_0x3ca438;this[_0x3dfd63(0x1da)](_0x472af2);});}),this['on'](_0x58d9f0(0x1ad),()=>{const _0x1cdce1=_0x58d9f0;this[_0x1cdce1(0x1df)]();}),this[_0x58d9f0(0x1ce)]();}[_0x12c321(0x1dc)](){const _0x536378=_0x12c321;this[_0x536378(0x1c3)][_0x536378(0x1dc)]();}[_0x12c321(0x1df)](){const _0x4c61ea=_0x12c321;switch(this[_0x4c61ea(0x1d2)][_0x4c61ea(0x1c9)](),this[_0x4c61ea(0x1aa)]){case _0x4c61ea(0x1d4):this[_0x4c61ea(0x1d2)][_0x4c61ea(0x1d7)](this[_0x4c61ea(0x1b7)]);break;case _0x4c61ea(0x1c8):this[_0x4c61ea(0x1d2)][_0x4c61ea(0x1d7)](this[_0x4c61ea(0x1b5)]);break;case _0x4c61ea(0x1c6):this[_0x4c61ea(0x1d2)][_0x4c61ea(0x1ba)]([this[_0x4c61ea(0x1d1)],this[_0x4c61ea(0x1b0)]]);}}[_0x12c321(0x1d3)](_0x8316e2,_0x2884a8){const _0xa9e3e6=_0x12c321,_0x1040c9=_0xa9e3e6(0x1b8),_0x476e31=_0x8316e2[_0xa9e3e6(0x1b4)](_0x1040c9);if(_0x476e31)return _0x2884a8(_0x476e31);const _0xf486eb=new MutationObserver(_0x19c69d=>{const _0x9392d9=_0xa9e3e6,_0x503ab8=_0x19c69d[_0x9392d9(0x1cc)](_0x96264d=>_0x96264d[_0x9392d9(0x1c0)]===_0x8316e2&&_0x96264d[_0x9392d9(0x1bf)][_0x9392d9(0x1b3)]>0x0&&_0x96264d[_0x9392d9(0x1bf)][0x0][_0x9392d9(0x1ab)][_0x9392d9(0x1c5)]()===_0x1040c9);_0x503ab8[_0x9392d9(0x1b3)]&&(_0xf486eb[_0x9392d9(0x1dd)](),_0x2884a8(_0x503ab8[0x0][_0x9392d9(0x1bf)][0x0]));});_0xf486eb[_0xa9e3e6(0x1d5)](_0x8316e2,{'childList':!0x0,'subtree':!0x0});}[_0x12c321(0x1da)](_0x3a0d69){const _0x2f389=_0x12c321;_0x3a0d69[_0x2f389(0x1db)](_0x2f389(0x1cb),_0x56f63f=>{const _0x2bb936=_0x2f389;this[_0x2bb936(0x1d9)](_0x2bb936(0x1cb),{'imageSrc':_0x56f63f[_0x2bb936(0x1bc)][_0x2bb936(0x1bd)]});}),_0x3a0d69[_0x2f389(0x1db)](_0x2f389(0x1c7),()=>{const _0xe34373=_0x2f389;this[_0xe34373(0x1d9)](_0xe34373(0x1c7));});}[_0x12c321(0x1ce)](){const _0x2f8b46=_0x12c321;this[_0x2f8b46(0x1b5)]['on'](_0x2f8b46(0x1c2),()=>{const _0x3c5ee6=_0x2f8b46;this[_0x3c5ee6(0x1d9)](_0x3c5ee6(0x1c2));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49147f=_0x3748;(function(_0x545843,_0x6ef6df){const _0x36dd01=_0x3748,_0x2a0a50=_0x545843();while(!![]){try{const _0x24d1d6=parseInt(_0x36dd01(0xdd))/0x1+parseInt(_0x36dd01(0xf5))/0x2*(-parseInt(_0x36dd01(0xe2))/0x3)+parseInt(_0x36dd01(0xec))/0x4*(parseInt(_0x36dd01(0xe4))/0x5)+-parseInt(_0x36dd01(0xdf))/0x6+parseInt(_0x36dd01(0xda))/0x7*(parseInt(_0x36dd01(0xde))/0x8)+-parseInt(_0x36dd01(0xf6))/0x9+-parseInt(_0x36dd01(0xee))/0xa*(-parseInt(_0x36dd01(0xdc))/0xb);if(_0x24d1d6===_0x6ef6df)break;else _0x2a0a50['push'](_0x2a0a50['shift']());}catch(_0x1418a6){_0x2a0a50['push'](_0x2a0a50['shift']());}}}(_0x5aba,0x9092b));import{Command as _0x19b7b8}from'ckeditor5/src/core.js';import{Dialog as _0x4ef742}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2d57cc}from'./ui/uploadcareimageeditcontroller.js';function _0x3748(_0x523e36,_0x10cbad){const _0x5abade=_0x5aba();return _0x3748=function(_0x37488a,_0x11630e){_0x37488a=_0x37488a-0xda;let _0x5d6da3=_0x5abade[_0x37488a];return _0x5d6da3;},_0x3748(_0x523e36,_0x10cbad);}import{createEditabilityChecker as _0x2c2f4c}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x19b7b8{[_0x49147f(0xe8)];static get[_0x49147f(0xe6)](){return[_0x4ef742];}[_0x49147f(0xea)];constructor(_0x5dc741){const _0x35328f=_0x49147f;super(_0x5dc741),this[_0x35328f(0xe8)]=void 0x0,this[_0x35328f(0xea)]=_0x2c2f4c(_0x5dc741[_0x35328f(0xe0)][_0x35328f(0xf9)](_0x35328f(0xe9))||[]),this[_0x35328f(0xf0)]({'isActive':!0x1});}[_0x49147f(0xf8)](){const _0x103270=_0x49147f,_0x53d979=this[_0x103270(0xf2)][_0x103270(0xe3)][_0x103270(0xef)][_0x103270(0xeb)][_0x103270(0xe1)]();this[_0x103270(0xfa)]=this[_0x103270(0xea)](_0x53d979);}[_0x49147f(0xe7)](){const _0x3bb128=_0x49147f;this[_0x3bb128(0xe8)]&&(this[_0x3bb128(0xe5)](_0x3bb128(0xf3)),this[_0x3bb128(0xe8)]=void 0x0);const _0x2ed955=this[_0x3bb128(0xf2)][_0x3bb128(0xe3)][_0x3bb128(0xef)][_0x3bb128(0xeb)][_0x3bb128(0xe1)]();_0x2ed955&&(_0x2ed955['is'](_0x3bb128(0xf4),_0x3bb128(0xf7))||_0x2ed955['is'](_0x3bb128(0xf4),_0x3bb128(0xf1)))&&(this[_0x3bb128(0xe8)]=new _0x2d57cc(this[_0x3bb128(0xf2)],this[_0x3bb128(0xf2)][_0x3bb128(0xed)][_0x3bb128(0xf9)](_0x4ef742),_0x2ed955),this[_0x3bb128(0xdb)](_0x3bb128(0xf3))['to'](this[_0x3bb128(0xe8)],_0x3bb128(0xf3)));}}function _0x5aba(){const _0x5e78c1=['getSelectedElement','235461Gffbff','model','30JSMAcI','unbind','requires','execute','imageEditController','uploadcare.allowExternalImagesEditing','_isEditable','selection','674124xOrFDT','plugins','3130EjZiPk','document','set','imageInline','editor','isActive','element','10QEmQoc','8930970LbJESO','imageBlock','refresh','get','isEnabled','231YMHDwh','bind','46552SkSflT','317398SnUPYd','49304VkSwQC','5277858Jeqblb','config'];_0x5aba=function(){return _0x5e78c1;};return _0x5aba();}
23
+ const _0x2f1451=_0xbd32;(function(_0x58329c,_0x9ce3e7){const _0x512d72=_0xbd32,_0x129282=_0x58329c();while(!![]){try{const _0x52313d=parseInt(_0x512d72(0x114))/0x1*(parseInt(_0x512d72(0x10f))/0x2)+-parseInt(_0x512d72(0x11d))/0x3+parseInt(_0x512d72(0x129))/0x4*(-parseInt(_0x512d72(0x126))/0x5)+-parseInt(_0x512d72(0x121))/0x6*(parseInt(_0x512d72(0x116))/0x7)+parseInt(_0x512d72(0x10c))/0x8*(parseInt(_0x512d72(0x12c))/0x9)+-parseInt(_0x512d72(0x127))/0xa*(parseInt(_0x512d72(0x12b))/0xb)+parseInt(_0x512d72(0x117))/0xc*(parseInt(_0x512d72(0x113))/0xd);if(_0x52313d===_0x9ce3e7)break;else _0x129282['push'](_0x129282['shift']());}catch(_0x7c86a6){_0x129282['push'](_0x129282['shift']());}}}(_0x2bb7,0x75fdc));import{Command as _0x4f11a4}from'ckeditor5/src/core.js';import{Dialog as _0x35258d}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xa90a93}from'./ui/uploadcareimageeditcontroller.js';function _0x2bb7(){const _0x28506e=['46046azoVCD','27OCklpM','model','isEnabled','1392760ZfAIox','requires','getSelectedElement','1822vBrtlr','isActive','get','selection','4121wMrFjA','159IFNQPI','imageInline','3353Hsqshk','83928AmFiPd','_isEditable','config','bind','set','execute','830214TBemne','editor','document','refresh','10956fSGWSX','plugins','imageBlock','unbind','element','8735fjffeb','890tGjZki','imageEditController','2008pEALgf','uploadcare.allowExternalImagesEditing'];_0x2bb7=function(){return _0x28506e;};return _0x2bb7();}import{createEditabilityChecker as _0x268fc8}from'../utils/editingutils.js';function _0xbd32(_0x37b506,_0x39b8ba){const _0x2bb76e=_0x2bb7();return _0xbd32=function(_0xbd32f7,_0x2dd936){_0xbd32f7=_0xbd32f7-0x10a;let _0x49702f=_0x2bb76e[_0xbd32f7];return _0x49702f;},_0xbd32(_0x37b506,_0x39b8ba);}export class UploadcareImageEditCommand extends _0x4f11a4{[_0x2f1451(0x128)];static get[_0x2f1451(0x10d)](){return[_0x35258d];}[_0x2f1451(0x118)];constructor(_0xf17433){const _0x1ff5b0=_0x2f1451;super(_0xf17433),this[_0x1ff5b0(0x128)]=void 0x0,this[_0x1ff5b0(0x118)]=_0x268fc8(_0xf17433[_0x1ff5b0(0x119)][_0x1ff5b0(0x111)](_0x1ff5b0(0x12a))||[]),this[_0x1ff5b0(0x11b)]({'isActive':!0x1});}[_0x2f1451(0x120)](){const _0x3ef7dd=_0x2f1451,_0x5da2c3=this[_0x3ef7dd(0x11e)][_0x3ef7dd(0x10a)][_0x3ef7dd(0x11f)][_0x3ef7dd(0x112)][_0x3ef7dd(0x10e)]();this[_0x3ef7dd(0x10b)]=this[_0x3ef7dd(0x118)](_0x5da2c3);}[_0x2f1451(0x11c)](){const _0x15ccee=_0x2f1451;this[_0x15ccee(0x128)]&&(this[_0x15ccee(0x124)](_0x15ccee(0x110)),this[_0x15ccee(0x128)]=void 0x0);const _0x32a922=this[_0x15ccee(0x11e)][_0x15ccee(0x10a)][_0x15ccee(0x11f)][_0x15ccee(0x112)][_0x15ccee(0x10e)]();_0x32a922&&(_0x32a922['is'](_0x15ccee(0x125),_0x15ccee(0x123))||_0x32a922['is'](_0x15ccee(0x125),_0x15ccee(0x115)))&&(this[_0x15ccee(0x128)]=new _0xa90a93(this[_0x15ccee(0x11e)],this[_0x15ccee(0x11e)][_0x15ccee(0x122)][_0x15ccee(0x111)](_0x35258d),_0x32a922),this[_0x15ccee(0x11a)](_0x15ccee(0x110))['to'](this[_0x15ccee(0x128)],_0x15ccee(0x110)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x460810=_0x3944;(function(_0x3b3f80,_0x4b9708){const _0x139be1=_0x3944,_0x431167=_0x3b3f80();while(!![]){try{const _0x3c4ce1=-parseInt(_0x139be1(0x153))/0x1+parseInt(_0x139be1(0x13f))/0x2+-parseInt(_0x139be1(0x145))/0x3*(-parseInt(_0x139be1(0x14e))/0x4)+-parseInt(_0x139be1(0x141))/0x5+-parseInt(_0x139be1(0x14c))/0x6+parseInt(_0x139be1(0x146))/0x7*(parseInt(_0x139be1(0x147))/0x8)+-parseInt(_0x139be1(0x142))/0x9;if(_0x3c4ce1===_0x4b9708)break;else _0x431167['push'](_0x431167['shift']());}catch(_0xaf042b){_0x431167['push'](_0x431167['shift']());}}}(_0x570e,0x6d33f));function _0x570e(){const _0x34d932=['14938kISaAY','commands','407430JdScuM','6646410ocnCax','init','ImageUtils','2020719zDXIza','7BAJMGE','6131432cSVmxk','requires','uploadcareImageReplace','add','ImageEditing','1049760nbCkNI','isOfficialPlugin','4RmkCPz','isPremiumPlugin','UploadcareImageEditEditing','pluginName','uploadcareImageEdit','5240Ovthkm'];_0x570e=function(){return _0x34d932;};return _0x570e();}import{Plugin as _0x69488f}from'ckeditor5/src/core.js';import{Notification as _0x3f6bc8}from'ckeditor5/src/ui.js';function _0x3944(_0x2ff99a,_0x1cd925){const _0x570e99=_0x570e();return _0x3944=function(_0x39448a,_0x6e34da){_0x39448a=_0x39448a-0x13f;let _0x30b4aa=_0x570e99[_0x39448a];return _0x30b4aa;},_0x3944(_0x2ff99a,_0x1cd925);}import{UploadcareImageEditCommand as _0x40fcbc}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1dabc2}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2b46aa}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x69488f{static get[_0x460810(0x151)](){const _0x5f5651=_0x460810;return _0x5f5651(0x150);}static get[_0x460810(0x148)](){const _0x115f37=_0x460810;return[_0x2b46aa,_0x3f6bc8,_0x115f37(0x144),_0x115f37(0x14b)];}static get[_0x460810(0x14d)](){return!0x0;}static get[_0x460810(0x14f)](){return!0x0;}[_0x460810(0x143)](){const _0x239ec2=_0x460810,{editor:_0x3ddf0b}=this;_0x3ddf0b[_0x239ec2(0x140)][_0x239ec2(0x14a)](_0x239ec2(0x152),new _0x40fcbc(_0x3ddf0b)),_0x3ddf0b[_0x239ec2(0x140)][_0x239ec2(0x14a)](_0x239ec2(0x149),new _0x1dabc2(_0x3ddf0b));}}
23
+ const _0x472cc=_0x3e83;(function(_0x44e067,_0x2fc10b){const _0x35db0c=_0x3e83,_0x4159af=_0x44e067();while(!![]){try{const _0x4411ae=-parseInt(_0x35db0c(0x132))/0x1*(parseInt(_0x35db0c(0x123))/0x2)+-parseInt(_0x35db0c(0x121))/0x3*(-parseInt(_0x35db0c(0x12c))/0x4)+parseInt(_0x35db0c(0x124))/0x5*(-parseInt(_0x35db0c(0x126))/0x6)+parseInt(_0x35db0c(0x131))/0x7+parseInt(_0x35db0c(0x11e))/0x8*(parseInt(_0x35db0c(0x130))/0x9)+parseInt(_0x35db0c(0x129))/0xa*(parseInt(_0x35db0c(0x11a))/0xb)+parseInt(_0x35db0c(0x12d))/0xc*(-parseInt(_0x35db0c(0x11d))/0xd);if(_0x4411ae===_0x2fc10b)break;else _0x4159af['push'](_0x4159af['shift']());}catch(_0x232b37){_0x4159af['push'](_0x4159af['shift']());}}}(_0xac7d,0xb9639));import{Plugin as _0x140140}from'ckeditor5/src/core.js';import{Notification as _0x4fd71d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1c9653}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5c8e1d}from'./uploadcareimagereplacecommand.js';function _0xac7d(){const _0x79f00d=['ImageEditing','30ekPgsY','5NgaRTk','init','2678748sPoVnQ','commands','isPremiumPlugin','20EqKHWB','UploadcareImageEditEditing','add','816hjKosg','842376KsNLsM','ImageUtils','pluginName','47205IEYwSk','1242115GOzhuE','96035XqWpGJ','2953973gIUvtH','uploadcareImageReplace','uploadcareImageEdit','13ZbWLYl','920DjRKgW','isOfficialPlugin','requires','20571oUZfsr'];_0xac7d=function(){return _0x79f00d;};return _0xac7d();}import{UploadcareEditing as _0x87cebc}from'../uploadcareediting.js';function _0x3e83(_0x5e4122,_0x565f3f){const _0xac7dea=_0xac7d();return _0x3e83=function(_0x3e83c8,_0x14ed89){_0x3e83c8=_0x3e83c8-0x11a;let _0x43a834=_0xac7dea[_0x3e83c8];return _0x43a834;},_0x3e83(_0x5e4122,_0x565f3f);}export class UploadcareImageEditEditing extends _0x140140{static get[_0x472cc(0x12f)](){const _0x13a73d=_0x472cc;return _0x13a73d(0x12a);}static get[_0x472cc(0x120)](){const _0x3fdac0=_0x472cc;return[_0x87cebc,_0x4fd71d,_0x3fdac0(0x12e),_0x3fdac0(0x122)];}static get[_0x472cc(0x11f)](){return!0x0;}static get[_0x472cc(0x128)](){return!0x0;}[_0x472cc(0x125)](){const _0x3aaaf0=_0x472cc,{editor:_0x5dccd1}=this;_0x5dccd1[_0x3aaaf0(0x127)][_0x3aaaf0(0x12b)](_0x3aaaf0(0x11c),new _0x1c9653(_0x5dccd1)),_0x5dccd1[_0x3aaaf0(0x127)][_0x3aaaf0(0x12b)](_0x3aaaf0(0x11b),new _0x5c8e1d(_0x5dccd1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x137563}from'ckeditor5/src/core.js';import{ButtonView as _0x1862b9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x20c2e3}from'ckeditor5/src/icons.js';import{createElement as _0x4464bd}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x137563{['_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 _0x5ca4d8=this['editor'];_0x5ca4d8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x43349d=>{const _0x1e3a45=_0x5ca4d8['commands']['get']('uploadcareImageEdit'),_0x335e77=new _0x1862b9(_0x43349d),t=_0x43349d['t'];return _0x335e77['set']({'icon':_0x20c2e3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x335e77['bind']('isEnabled')['to'](_0x1e3a45),_0x335e77['bind']('isOn')['to'](_0x1e3a45,'isActive'),this['listenTo'](_0x335e77,'execute',()=>{_0x5ca4d8['execute']('uploadcareImageEdit'),_0x5ca4d8['editing']['view']['focus']();}),_0x335e77;}),this['_initConfig']();}['_initConfig'](){const _0x602d13=_0x4464bd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x602d13),this['listenTo'](this['editor'],'destroy',()=>{_0x602d13['remove']();});}}
23
+ import{Plugin as _0x1cf42b}from'ckeditor5/src/core.js';import{ButtonView as _0x1db7a3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x234d85}from'ckeditor5/src/icons.js';import{createElement as _0x44b8a5}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x1cf42b{['_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 _0x155230=this['editor'];_0x155230['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5019a8=>{const _0x41e803=_0x155230['commands']['get']('uploadcareImageEdit'),_0x4f438a=new _0x1db7a3(_0x5019a8),t=_0x5019a8['t'];return _0x4f438a['set']({'icon':_0x234d85,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4f438a['bind']('isEnabled')['to'](_0x41e803),_0x4f438a['bind']('isOn')['to'](_0x41e803,'isActive'),this['listenTo'](_0x4f438a,'execute',()=>{_0x155230['execute']('uploadcareImageEdit'),_0x155230['editing']['view']['focus']();}),_0x4f438a;}),this['_initConfig']();}['_initConfig'](){const _0x5a76e5=_0x44b8a5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5a76e5),this['listenTo'](this['editor'],'destroy',()=>{_0x5a76e5['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32a143=_0x10a5;function _0x10a5(_0x20b558,_0x5a345c){const _0xb5ec42=_0xb5ec();return _0x10a5=function(_0x10a591,_0xa6ed23){_0x10a591=_0x10a591-0x14f;let _0x546d1d=_0xb5ec42[_0x10a591];return _0x546d1d;},_0x10a5(_0x20b558,_0x5a345c);}(function(_0x320d7b,_0x56c34a){const _0x39bba6=_0x10a5,_0x2460ee=_0x320d7b();while(!![]){try{const _0x432094=-parseInt(_0x39bba6(0x164))/0x1*(-parseInt(_0x39bba6(0x156))/0x2)+parseInt(_0x39bba6(0x15f))/0x3*(-parseInt(_0x39bba6(0x15d))/0x4)+-parseInt(_0x39bba6(0x151))/0x5+-parseInt(_0x39bba6(0x159))/0x6*(parseInt(_0x39bba6(0x161))/0x7)+parseInt(_0x39bba6(0x158))/0x8*(parseInt(_0x39bba6(0x150))/0x9)+-parseInt(_0x39bba6(0x152))/0xa+parseInt(_0x39bba6(0x166))/0xb;if(_0x432094===_0x56c34a)break;else _0x2460ee['push'](_0x2460ee['shift']());}catch(_0x547939){_0x2460ee['push'](_0x2460ee['shift']());}}}(_0xb5ec,0xa7d40));import{Command as _0x4363ea}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4363ea{[_0x32a143(0x163)](){const _0x56bdc5=_0x32a143,_0x1aae81=this[_0x56bdc5(0x165)][_0x56bdc5(0x168)][_0x56bdc5(0x153)][_0x56bdc5(0x15a)][_0x56bdc5(0x157)]();this[_0x56bdc5(0x15b)]=Boolean(_0x1aae81&&(_0x1aae81['is'](_0x56bdc5(0x15c),_0x56bdc5(0x160))||_0x1aae81['is'](_0x56bdc5(0x15c),_0x56bdc5(0x167))));}[_0x32a143(0x162)](_0x34c481){const _0x366de1=_0x32a143,_0x445f33=this[_0x366de1(0x165)][_0x366de1(0x168)][_0x366de1(0x153)][_0x366de1(0x15a)][_0x366de1(0x157)]();this[_0x366de1(0x165)][_0x366de1(0x168)][_0x366de1(0x169)](_0x2bb7ed=>{const _0x4cfada=_0x366de1;_0x2bb7ed[_0x4cfada(0x155)](_0x34c481,_0x445f33),_0x2bb7ed[_0x4cfada(0x14f)](_0x4cfada(0x154),_0x445f33),_0x2bb7ed[_0x4cfada(0x14f)](_0x4cfada(0x15e),_0x445f33);});}}function _0xb5ec(){const _0x4554a2=['imageInline','model','change','removeAttribute','931059xXrlEU','6021970mGlZpE','6399130wvXWwU','document','srcset','setAttributes','2USuMuT','getSelectedElement','32PpXPnk','1028004VWYJtR','selection','isEnabled','element','4YsrSlS','sizes','1332651kVDAJu','imageBlock','14DkmQyw','execute','refresh','50783JGbewi','editor','31394319HALTCs'];_0xb5ec=function(){return _0x4554a2;};return _0xb5ec();}
23
+ const _0x2879d9=_0x295b;(function(_0x182ea3,_0x295a42){const _0x9a31fb=_0x295b,_0xb57fc4=_0x182ea3();while(!![]){try{const _0x3f4b9b=parseInt(_0x9a31fb(0xd2))/0x1+-parseInt(_0x9a31fb(0xc8))/0x2*(parseInt(_0x9a31fb(0xd9))/0x3)+parseInt(_0x9a31fb(0xd8))/0x4+-parseInt(_0x9a31fb(0xcc))/0x5+parseInt(_0x9a31fb(0xc4))/0x6+parseInt(_0x9a31fb(0xd4))/0x7*(parseInt(_0x9a31fb(0xd7))/0x8)+parseInt(_0x9a31fb(0xce))/0x9*(-parseInt(_0x9a31fb(0xcf))/0xa);if(_0x3f4b9b===_0x295a42)break;else _0xb57fc4['push'](_0xb57fc4['shift']());}catch(_0x253cc7){_0xb57fc4['push'](_0xb57fc4['shift']());}}}(_0x4e15,0x3a057));function _0x295b(_0x1ccf48,_0x5d546){const _0x4e155e=_0x4e15();return _0x295b=function(_0x295b51,_0xe6e5ae){_0x295b51=_0x295b51-0xc0;let _0x339da7=_0x4e155e[_0x295b51];return _0x339da7;},_0x295b(_0x1ccf48,_0x5d546);}import{Command as _0x257520}from'ckeditor5/src/core.js';function _0x4e15(){const _0x61175f=['setAttributes','selection','76QpmgoU','getSelectedElement','imageBlock','element','1533970aDTWcv','imageInline','9UARdhV','3251140yXgOln','change','srcset','263267iSejdb','model','1589fBtmjd','sizes','isEnabled','1688NvWgSg','1052276mlucOX','10107DJuAWw','removeAttribute','editor','document','execute','2540112duJtFw','refresh'];_0x4e15=function(){return _0x61175f;};return _0x4e15();}export class UploadcareImageReplaceCommand extends _0x257520{[_0x2879d9(0xc5)](){const _0x34144=_0x2879d9,_0x5e4b7e=this[_0x34144(0xc1)][_0x34144(0xd3)][_0x34144(0xc2)][_0x34144(0xc7)][_0x34144(0xc9)]();this[_0x34144(0xd6)]=Boolean(_0x5e4b7e&&(_0x5e4b7e['is'](_0x34144(0xcb),_0x34144(0xca))||_0x5e4b7e['is'](_0x34144(0xcb),_0x34144(0xcd))));}[_0x2879d9(0xc3)](_0x1a2e76){const _0x1ec57b=_0x2879d9,_0x340fca=this[_0x1ec57b(0xc1)][_0x1ec57b(0xd3)][_0x1ec57b(0xc2)][_0x1ec57b(0xc7)][_0x1ec57b(0xc9)]();this[_0x1ec57b(0xc1)][_0x1ec57b(0xd3)][_0x1ec57b(0xd0)](_0xc31e3e=>{const _0x1a420e=_0x1ec57b;_0xc31e3e[_0x1a420e(0xc6)](_0x1a2e76,_0x340fca),_0xc31e3e[_0x1a420e(0xc0)](_0x1a420e(0xd1),_0x340fca),_0xc31e3e[_0x1a420e(0xc0)](_0x1a420e(0xd5),_0x340fca);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf1897d=_0x53d1;function _0x53d1(_0xc70fcc,_0x14fe24){var _0x519d54=_0x519d();return _0x53d1=function(_0x53d181,_0x483729){_0x53d181=_0x53d181-0xea;var _0x55f60b=_0x519d54[_0x53d181];return _0x55f60b;},_0x53d1(_0xc70fcc,_0x14fe24);}(function(_0x5e8a23,_0x14fd64){var _0x1ab58d=_0x53d1,_0x1eb627=_0x5e8a23();while(!![]){try{var _0x547de3=-parseInt(_0x1ab58d(0xf4))/0x1*(-parseInt(_0x1ab58d(0xef))/0x2)+parseInt(_0x1ab58d(0xf5))/0x3*(parseInt(_0x1ab58d(0xf2))/0x4)+parseInt(_0x1ab58d(0xf6))/0x5+-parseInt(_0x1ab58d(0xed))/0x6+-parseInt(_0x1ab58d(0xee))/0x7+-parseInt(_0x1ab58d(0xec))/0x8+parseInt(_0x1ab58d(0xf3))/0x9;if(_0x547de3===_0x14fd64)break;else _0x1eb627['push'](_0x1eb627['shift']());}catch(_0x3a4e58){_0x1eb627['push'](_0x1eb627['shift']());}}}(_0x519d,0x3a9d6));import{Plugin as _0x10c3a3}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x40505d}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x519d(){var _0x4c451d=['28rDNVKT','21cygQFO','1481825CwUBaH','UploadcareImageEdit','requires','pluginName','1380840ObRUFl','2446368ClXjbB','2765812svirqh','30692VECdLq','isPremiumPlugin','isOfficialPlugin','187096AMrBdz','1458576MiOwBu'];_0x519d=function(){return _0x4c451d;};return _0x519d();}import{UploadcareImageEditUI as _0x544f0c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x10c3a3{static get[_0xf1897d(0xeb)](){var _0x31feba=_0xf1897d;return _0x31feba(0xf7);}static get[_0xf1897d(0xea)](){return[_0x40505d,_0x544f0c];}static get[_0xf1897d(0xf1)](){return!0x0;}static get[_0xf1897d(0xf0)](){return!0x0;}}
23
+ var _0x5798d5=_0x1caf;(function(_0x39c314,_0x3a0801){var _0x321d1a=_0x1caf,_0x336f63=_0x39c314();while(!![]){try{var _0x4ac1e4=parseInt(_0x321d1a(0x135))/0x1*(-parseInt(_0x321d1a(0x136))/0x2)+parseInt(_0x321d1a(0x130))/0x3*(-parseInt(_0x321d1a(0x12d))/0x4)+-parseInt(_0x321d1a(0x12f))/0x5*(-parseInt(_0x321d1a(0x134))/0x6)+parseInt(_0x321d1a(0x131))/0x7+parseInt(_0x321d1a(0x12c))/0x8+-parseInt(_0x321d1a(0x129))/0x9*(parseInt(_0x321d1a(0x128))/0xa)+-parseInt(_0x321d1a(0x127))/0xb*(-parseInt(_0x321d1a(0x132))/0xc);if(_0x4ac1e4===_0x3a0801)break;else _0x336f63['push'](_0x336f63['shift']());}catch(_0x44f561){_0x336f63['push'](_0x336f63['shift']());}}}(_0x36bb,0x8a8fa));import{Plugin as _0x54fb2f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4cd290}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x36bb(){var _0x4486ad=['pluginName','110BImzjb','1396640mvJmAT','63QtXeRb','isOfficialPlugin','UploadcareImageEdit','259992PDvIgS','41156qoXJUh','isPremiumPlugin','2172545wdEdlf','318lMUTgO','2418325mzaAks','2109084HjvLsA','requires','12irzeSU','1vTSBBX','737468AbKqDv'];_0x36bb=function(){return _0x4486ad;};return _0x36bb();}import{UploadcareImageEditUI as _0x286178}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1caf(_0x3d977c,_0x4f1a7b){var _0x36bb63=_0x36bb();return _0x1caf=function(_0x1caf36,_0x56370f){_0x1caf36=_0x1caf36-0x127;var _0x2f9118=_0x36bb63[_0x1caf36];return _0x2f9118;},_0x1caf(_0x3d977c,_0x4f1a7b);}export class UploadcareImageEdit extends _0x54fb2f{static get[_0x5798d5(0x137)](){var _0x3cec36=_0x5798d5;return _0x3cec36(0x12b);}static get[_0x5798d5(0x133)](){return[_0x4cd290,_0x286178];}static get[_0x5798d5(0x12a)](){return!0x0;}static get[_0x5798d5(0x12e)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a9390=_0x1be1;(function(_0x16ee03,_0x43d526){const _0x383155=_0x1be1,_0x38ad21=_0x16ee03();while(!![]){try{const _0x59b024=-parseInt(_0x383155(0xa7))/0x1+-parseInt(_0x383155(0xc1))/0x2+parseInt(_0x383155(0xaf))/0x3+parseInt(_0x383155(0xbf))/0x4+-parseInt(_0x383155(0xdf))/0x5+parseInt(_0x383155(0x96))/0x6+parseInt(_0x383155(0xcb))/0x7;if(_0x59b024===_0x43d526)break;else _0x38ad21['push'](_0x38ad21['shift']());}catch(_0x1a7952){_0x38ad21['push'](_0x38ad21['shift']());}}}(_0x425d,0x9225b));import{Plugin as _0x52db7d}from'ckeditor5/src/core.js';import{IconDropbox as _0x472da5,IconFacebook as _0x37fbf3,IconGoogleDrive as _0x4859d2,IconGooglePhotos as _0x14f3b6,IconUploadcareImageUpload as _0x41d103,IconUploadcareLink as _0x137e2d,IconOneDrive as _0x139a81}from'ckeditor5/src/icons.js';import{ButtonView as _0x2b23e2,MenuBarMenuListItemButtonView as _0x32e92a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xb5f224}from'./uploadcareconfig.js';function _0x425d(){const _0x3cf790=['Replace','UploadcareUI','Uploadcare','Dropbox','uploadcareLicenseKeyTrialLimit','destroy','uploadcareLicenseKeyUsageLimit','bind','icon','_getIntegrationKey','4236090afLlPb','get','map','assetManager','licenseKey','5273454JzJYJq','_createDropdownButtons','type','uploadcareLicenseKeyValid','entries','locale','reduce','_createMenuBarButtons','domainLimit','_showLicenseError','has','execute','URL','tooltip','withText','init','uploadcareLicenseKeyNotAllowed','1105893jarqqD','OneDrive','isOfficialPlugin','_normalizeConfigSourceList','expired','usageLimit','plugins','uploadcareLicenseKeyDomainLimit','1689849uVEtFJ','uploadcareLicenseKeyInvalid','trialLimit','GPhotos','isPremiumPlugin','_createToolbarButton','config','_createButton','registerIntegration','isEnabled','uploadcareLicenseKeyExpired','invalid','ImageInsertUI','url','Local','commands','4620856YYZYBU','_licenseKeyCheckInterval','663490FTnQUE','GDrive','uploadcareLicenseKeyEvaluationLimit','editor','push','uploadcare','evaluationLimit','featureNotAllowed','shortText','Insert','2002483eFePSV','isImageSelected','afterInit','uploadcare.uploader.sourceList','upload','Facebook','pluginName','text','label','forEach'];_0x425d=function(){return _0x3cf790;};return _0x425d();}import{getTranslation as _0x19773d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1be1(_0x4b9649,_0x2da29c){const _0x425dc1=_0x425d();return _0x1be1=function(_0x1be1c0,_0x4121c2){_0x1be1c0=_0x1be1c0-0x92;let _0x3a6ecb=_0x425dc1[_0x1be1c0];return _0x3a6ecb;},_0x1be1(_0x4b9649,_0x2da29c);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x52db7d{[_0x2a9390(0x95)];[_0x2a9390(0xc0)];static get[_0x2a9390(0xd1)](){const _0x4f2ecd=_0x2a9390;return _0x4f2ecd(0xd6);}static get[_0x2a9390(0xa9)](){return!0x0;}static get[_0x2a9390(0xb3)](){return!0x0;}[_0x2a9390(0xa5)](){const _0x312bbb=_0x2a9390;this[_0x312bbb(0x95)]=this[_0x312bbb(0xc4)][_0x312bbb(0xb5)][_0x312bbb(0x92)](_0x312bbb(0x95));const _0x56ee2b=this[_0x312bbb(0xc4)];this[_0x312bbb(0xc0)]=setInterval(()=>{const _0x116461=_0x312bbb;let _0x44b7a8;for(const _0xa9fa9c in _0x56ee2b){const _0x2985b6=_0xa9fa9c,_0x176527=_0x56ee2b[_0x2985b6];if(_0x116461(0x99)==_0x176527||_0x116461(0xb0)==_0x176527||_0x116461(0xb9)==_0x176527||_0x116461(0xae)==_0x176527||_0x116461(0xa6)==_0x176527||_0x116461(0xc3)==_0x176527||_0x116461(0xd9)==_0x176527||_0x116461(0xdb)==_0x176527){delete _0x56ee2b[_0x2985b6],_0x44b7a8=_0x176527,clearInterval(this[_0x116461(0xc0)]),this[_0x116461(0xc0)]=void 0x0;break;}}_0x116461(0xb0)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0xba)),_0x116461(0xb9)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0xab)),_0x116461(0xae)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0x9e)),_0x116461(0xa6)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0xc8),_0x116461(0xd7)),_0x116461(0xc3)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0xc7)),_0x116461(0xd9)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0xb1)),_0x116461(0xdb)==_0x44b7a8&&_0x56ee2b[_0x116461(0x9f)](_0x116461(0xac));},0x3e8);}[_0x2a9390(0xcd)](){const _0x3b766d=_0x2a9390,{editor:_0x45689d}=this,_0x3c96fd=_0x45689d[_0x3b766d(0xbe)][_0x3b766d(0x92)](_0x3b766d(0xc6));if(!_0x3c96fd)return;const _0x322366=this[_0x3b766d(0xaa)](_0x45689d[_0x3b766d(0xb5)][_0x3b766d(0x92)](_0x3b766d(0xce)))[_0x3b766d(0x9c)]((_0x33e93b,_0x232863)=>{const _0x5af741=_0x3b766d,_0x548391=this[_0x5af741(0xde)](_0x232863[_0x5af741(0x98)]);return _0x33e93b[_0x548391]||(_0x33e93b[_0x548391]=[]),_0x33e93b[_0x548391][_0x5af741(0xc5)](_0x232863),_0x33e93b;},{});_0x45689d[_0x3b766d(0xad)][_0x3b766d(0xa0)](_0x3b766d(0xbb))&&_0x45689d[_0x3b766d(0xbe)][_0x3b766d(0x92)](_0x3b766d(0xc6))&&Object[_0x3b766d(0x9a)](_0x322366)[_0x3b766d(0xd4)](([_0x1db48a,_0x9a05cc])=>{const _0x4eaaf1=_0x3b766d;_0x45689d[_0x4eaaf1(0xad)][_0x4eaaf1(0x92)](_0x4eaaf1(0xbb))[_0x4eaaf1(0xb7)]({'name':_0x1db48a,'observable':()=>_0x3c96fd,'buttonViewCreator':()=>this[_0x4eaaf1(0xb4)](_0x9a05cc),'formViewCreator':()=>this[_0x4eaaf1(0x97)](_0x9a05cc),'menuBarButtonViewCreator':()=>this[_0x4eaaf1(0x9d)](_0x9a05cc),'override':_0x4eaaf1(0x94)!==_0x1db48a});});}[_0x2a9390(0xda)](){const _0xc4adbe=_0x2a9390;super[_0xc4adbe(0xda)](),this[_0xc4adbe(0xc0)]&&clearInterval(this[_0xc4adbe(0xc0)]);}[_0x2a9390(0xaa)](_0xb79340){const _0x2a5218=_0x2a9390,{locale:_0xd9d431}=this[_0x2a5218(0xc4)];return _0xb79340[_0x2a5218(0x93)](_0x151f43=>{const _0x1c1476=_0x2a5218,_0x1fc50a=_0x19773d(_0xd9d431,_0x151f43,_0x1c1476(0xca));switch(_0x151f43){case _0xb5f224[_0x1c1476(0xbd)]:return{'icon':_0x41d103,'type':_0xb5f224[_0x1c1476(0xbd)],..._0x1fc50a};case _0xb5f224[_0x1c1476(0xa2)]:return{'icon':_0x137e2d,'type':_0xb5f224[_0x1c1476(0xa2)],..._0x1fc50a};case _0xb5f224[_0x1c1476(0xd8)]:return{'icon':_0x472da5,'type':_0xb5f224[_0x1c1476(0xd8)],..._0x1fc50a};case _0xb5f224[_0x1c1476(0xd0)]:return{'icon':_0x37fbf3,'type':_0xb5f224[_0x1c1476(0xd0)],..._0x1fc50a};case _0xb5f224[_0x1c1476(0xc2)]:return{'icon':_0x4859d2,'type':_0xb5f224[_0x1c1476(0xc2)],..._0x1fc50a};case _0xb5f224[_0x1c1476(0xb2)]:return{'icon':_0x14f3b6,'type':_0xb5f224[_0x1c1476(0xb2)],..._0x1fc50a};case _0xb5f224[_0x1c1476(0xa8)]:return{'icon':_0x139a81,'type':_0xb5f224[_0x1c1476(0xa8)],..._0x1fc50a};}});}[_0x2a9390(0xde)](_0x549827){const _0x198e25=_0x2a9390;switch(_0x549827){case _0xb5f224[_0x198e25(0xbd)]:return _0x198e25(0xcf);case _0xb5f224[_0x198e25(0xa2)]:return _0x198e25(0xbc);default:return _0x198e25(0x94);}}[_0x2a9390(0xb6)](_0x25c888,_0x5e5029){const _0x598a7b=_0x2a9390,_0x17a4fd=this[_0x598a7b(0xc4)],_0x1f4e7d=new _0x25c888(_0x17a4fd[_0x598a7b(0x9b)]),_0x5e3b7f=_0x17a4fd[_0x598a7b(0xbe)][_0x598a7b(0x92)](_0x598a7b(0xc6));return _0x1f4e7d[_0x598a7b(0xdc)](_0x598a7b(0xb8))['to'](_0x5e3b7f),_0x1f4e7d['on'](_0x598a7b(0xa1),()=>{const _0x38219b=_0x598a7b;_0x5e3b7f[_0x38219b(0xa1)](_0x5e5029);}),_0x1f4e7d;}[_0x2a9390(0xb4)](_0x23a58f){const _0x248991=_0x2a9390,{locale:_0x4fc958}=this[_0x248991(0xc4)],_0x47282b=this[_0x248991(0xc4)][_0x248991(0xad)][_0x248991(0x92)](_0x248991(0xbb)),_0x333df3=_0x23a58f[0x0],_0xa174b6=this[_0x248991(0xb6)](_0x2b23e2,_0x333df3[_0x248991(0x98)]);return _0xa174b6[_0x248991(0xdd)]=_0x333df3[_0x248991(0xdd)],_0xa174b6[_0x248991(0xdc)](_0x248991(0xd3))['to'](_0x47282b,_0x248991(0xcc),_0x1b920f=>_0x19773d(_0x4fc958,_0x333df3[_0x248991(0x98)],_0x1b920f?_0x248991(0xd5):_0x248991(0xca))[_0x248991(0xd2)]),_0xa174b6[_0x248991(0xa3)]=!0x0,_0xa174b6;}[_0x2a9390(0x97)](_0x1d5ea0){const _0x43b89a=_0x2a9390,{locale:_0x361b66}=this[_0x43b89a(0xc4)],_0x139c61=this[_0x43b89a(0xc4)][_0x43b89a(0xad)][_0x43b89a(0x92)](_0x43b89a(0xbb));return _0x1d5ea0[_0x43b89a(0x93)](_0x1afee3=>{const _0x398d3d=_0x43b89a,_0x47200e=this[_0x398d3d(0xb6)](_0x2b23e2,_0x1afee3[_0x398d3d(0x98)]);return _0x47200e[_0x398d3d(0xa4)]=!0x0,_0x47200e[_0x398d3d(0xdd)]=_0x1afee3[_0x398d3d(0xdd)],_0x47200e[_0x398d3d(0xdc)](_0x398d3d(0xd3))['to'](_0x139c61,_0x398d3d(0xcc),_0x91011a=>_0x19773d(_0x361b66,_0x1afee3[_0x398d3d(0x98)],_0x91011a?_0x398d3d(0xd5):_0x398d3d(0xca))[_0x398d3d(0xd2)]),_0x47200e;});}[_0x2a9390(0x9d)](_0x1a3549){const _0x3da85c=_0x2a9390;return _0x1a3549[_0x3da85c(0x93)](_0x297531=>{const _0xd14ae=_0x3da85c,_0xd006d9=this[_0xd14ae(0xb6)](_0x32e92a,_0x297531[_0xd14ae(0x98)]);return _0xd006d9[_0xd14ae(0xdd)]=_0x297531[_0xd14ae(0xdd)],_0xd006d9[_0xd14ae(0xd3)]=_0x297531[_0xd14ae(0xc9)],_0xd006d9;});}}
23
+ const _0x5ac691=_0x2453;function _0x502e(){const _0xc020c5=['120wOwOQw','isImageSelected','has','810eumkXQ','Facebook','GDrive','trialLimit','Insert','expired','push','entries','reduce','uploadcareLicenseKeyInvalid','pluginName','isOfficialPlugin','Dropbox','invalid','bind','registerIntegration','get','commands','375642bkSGQO','map','execute','editor','_showLicenseError','3049425yOhmGP','345qcpLbM','uploadcareLicenseKeyNotAllowed','_createToolbarButton','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','type','icon','evaluationLimit','forEach','assetManager','uploadcareLicenseKeyDomainLimit','isEnabled','_createDropdownButtons','destroy','Uploadcare','OneDrive','withText','_licenseKeyCheckInterval','uploadcare.uploader.sourceList','upload','397719mfyiRY','Local','domainLimit','uploadcare','54028xqpnUe','UploadcareUI','883430eliFgb','afterInit','url','uploadcareLicenseKeyValid','Replace','GPhotos','featureNotAllowed','uploadcareLicenseKeyUsageLimit','457208ofHWBK','usageLimit','init','label','_createMenuBarButtons','shortText','ImageInsertUI','licenseKey','tooltip','URL','_createButton','uploadcareLicenseKeyEvaluationLimit','locale','_normalizeConfigSourceList','text','uploadcareLicenseKeyExpired','3865548cBlfRS','config','plugins','_getIntegrationKey'];_0x502e=function(){return _0xc020c5;};return _0x502e();}(function(_0x37a6c6,_0x5d68e8){const _0x3b4092=_0x2453,_0x5ec64f=_0x37a6c6();while(!![]){try{const _0x31832e=-parseInt(_0x3b4092(0x145))/0x1+-parseInt(_0x3b4092(0x13d))/0x2+-parseInt(_0x3b4092(0x173))/0x3+-parseInt(_0x3b4092(0x13b))/0x4*(parseInt(_0x3b4092(0x174))/0x5)+-parseInt(_0x3b4092(0x155))/0x6+-parseInt(_0x3b4092(0x137))/0x7*(-parseInt(_0x3b4092(0x159))/0x8)+-parseInt(_0x3b4092(0x16e))/0x9*(-parseInt(_0x3b4092(0x15c))/0xa);if(_0x31832e===_0x5d68e8)break;else _0x5ec64f['push'](_0x5ec64f['shift']());}catch(_0x5c5272){_0x5ec64f['push'](_0x5ec64f['shift']());}}}(_0x502e,0xb5012));import{Plugin as _0x2e1251}from'ckeditor5/src/core.js';import{IconDropbox as _0x563648,IconFacebook as _0x4606bc,IconGoogleDrive as _0x206980,IconGooglePhotos as _0x1685d0,IconUploadcareImageUpload as _0x489370,IconUploadcareLink as _0x3a4568,IconOneDrive as _0x34f988}from'ckeditor5/src/icons.js';import{ButtonView as _0xdb7333,MenuBarMenuListItemButtonView as _0x126e35}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x284c08}from'./uploadcareconfig.js';import{getTranslation as _0x5b2011}from'./utils/common-translations.js';function _0x2453(_0x324050,_0x15a4a7){const _0x502e97=_0x502e();return _0x2453=function(_0x24538b,_0x1392f3){_0x24538b=_0x24538b-0x12b;let _0x531d95=_0x502e97[_0x24538b];return _0x531d95;},_0x2453(_0x324050,_0x15a4a7);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e1251{[_0x5ac691(0x14c)];[_0x5ac691(0x134)];static get[_0x5ac691(0x166)](){const _0xb5e8f7=_0x5ac691;return _0xb5e8f7(0x13c);}static get[_0x5ac691(0x167)](){return!0x0;}static get[_0x5ac691(0x178)](){return!0x0;}[_0x5ac691(0x147)](){const _0x3ac51d=_0x5ac691;this[_0x3ac51d(0x14c)]=this[_0x3ac51d(0x171)][_0x3ac51d(0x156)][_0x3ac51d(0x16c)](_0x3ac51d(0x14c));const _0x4e49b0=this[_0x3ac51d(0x171)];this[_0x3ac51d(0x134)]=setInterval(()=>{const _0xbe730a=_0x3ac51d;let _0x3d3e91;for(const _0xc06ddd in _0x4e49b0){const _0x53dfd9=_0xc06ddd,_0x51e2dd=_0x4e49b0[_0x53dfd9];if(_0xbe730a(0x140)==_0x51e2dd||_0xbe730a(0x165)==_0x51e2dd||_0xbe730a(0x154)==_0x51e2dd||_0xbe730a(0x12d)==_0x51e2dd||_0xbe730a(0x175)==_0x51e2dd||_0xbe730a(0x150)==_0x51e2dd||_0xbe730a(0x177)==_0x51e2dd||_0xbe730a(0x144)==_0x51e2dd){delete _0x4e49b0[_0x53dfd9],_0x3d3e91=_0x51e2dd,clearInterval(this[_0xbe730a(0x134)]),this[_0xbe730a(0x134)]=void 0x0;break;}}_0xbe730a(0x165)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x169)),_0xbe730a(0x154)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x161)),_0xbe730a(0x12d)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x139)),_0xbe730a(0x175)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x143),_0xbe730a(0x131)),_0xbe730a(0x150)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x17b)),_0xbe730a(0x177)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x15f)),_0xbe730a(0x144)==_0x3d3e91&&_0x4e49b0[_0xbe730a(0x172)](_0xbe730a(0x146));},0x3e8);}[_0x5ac691(0x13e)](){const _0x193ecd=_0x5ac691,{editor:_0x4d41ef}=this,_0x42f8d1=_0x4d41ef[_0x193ecd(0x16d)][_0x193ecd(0x16c)](_0x193ecd(0x13a));if(!_0x42f8d1)return;const _0x438b7e=this[_0x193ecd(0x152)](_0x4d41ef[_0x193ecd(0x156)][_0x193ecd(0x16c)](_0x193ecd(0x135)))[_0x193ecd(0x164)]((_0x27d57b,_0x3e97a4)=>{const _0x44932f=_0x193ecd,_0x34d7dd=this[_0x44932f(0x158)](_0x3e97a4[_0x44932f(0x179)]);return _0x27d57b[_0x34d7dd]||(_0x27d57b[_0x34d7dd]=[]),_0x27d57b[_0x34d7dd][_0x44932f(0x162)](_0x3e97a4),_0x27d57b;},{});_0x4d41ef[_0x193ecd(0x157)][_0x193ecd(0x15b)](_0x193ecd(0x14b))&&_0x4d41ef[_0x193ecd(0x16d)][_0x193ecd(0x16c)](_0x193ecd(0x13a))&&Object[_0x193ecd(0x163)](_0x438b7e)[_0x193ecd(0x12b)](([_0x5ee2b2,_0x28e3af])=>{const _0x577f37=_0x193ecd;_0x4d41ef[_0x577f37(0x157)][_0x577f37(0x16c)](_0x577f37(0x14b))[_0x577f37(0x16b)]({'name':_0x5ee2b2,'observable':()=>_0x42f8d1,'buttonViewCreator':()=>this[_0x577f37(0x176)](_0x28e3af),'formViewCreator':()=>this[_0x577f37(0x12f)](_0x28e3af),'menuBarButtonViewCreator':()=>this[_0x577f37(0x149)](_0x28e3af),'override':_0x577f37(0x12c)!==_0x5ee2b2});});}[_0x5ac691(0x130)](){const _0x251c09=_0x5ac691;super[_0x251c09(0x130)](),this[_0x251c09(0x134)]&&clearInterval(this[_0x251c09(0x134)]);}[_0x5ac691(0x152)](_0x522cc2){const _0x174a34=_0x5ac691,{locale:_0x3a28f0}=this[_0x174a34(0x171)];return _0x522cc2[_0x174a34(0x16f)](_0x1b2af1=>{const _0x5b667c=_0x174a34,_0x5036a4=_0x5b2011(_0x3a28f0,_0x1b2af1,_0x5b667c(0x160));switch(_0x1b2af1){case _0x284c08[_0x5b667c(0x138)]:return{'icon':_0x489370,'type':_0x284c08[_0x5b667c(0x138)],..._0x5036a4};case _0x284c08[_0x5b667c(0x14e)]:return{'icon':_0x3a4568,'type':_0x284c08[_0x5b667c(0x14e)],..._0x5036a4};case _0x284c08[_0x5b667c(0x168)]:return{'icon':_0x563648,'type':_0x284c08[_0x5b667c(0x168)],..._0x5036a4};case _0x284c08[_0x5b667c(0x15d)]:return{'icon':_0x4606bc,'type':_0x284c08[_0x5b667c(0x15d)],..._0x5036a4};case _0x284c08[_0x5b667c(0x15e)]:return{'icon':_0x206980,'type':_0x284c08[_0x5b667c(0x15e)],..._0x5036a4};case _0x284c08[_0x5b667c(0x142)]:return{'icon':_0x1685d0,'type':_0x284c08[_0x5b667c(0x142)],..._0x5036a4};case _0x284c08[_0x5b667c(0x132)]:return{'icon':_0x34f988,'type':_0x284c08[_0x5b667c(0x132)],..._0x5036a4};}});}[_0x5ac691(0x158)](_0x79629e){const _0x134864=_0x5ac691;switch(_0x79629e){case _0x284c08[_0x134864(0x138)]:return _0x134864(0x136);case _0x284c08[_0x134864(0x14e)]:return _0x134864(0x13f);default:return _0x134864(0x12c);}}[_0x5ac691(0x14f)](_0x56a323,_0x52d1ed){const _0x5133b0=_0x5ac691,_0xe149d3=this[_0x5133b0(0x171)],_0x49bdb5=new _0x56a323(_0xe149d3[_0x5133b0(0x151)]),_0x388ebd=_0xe149d3[_0x5133b0(0x16d)][_0x5133b0(0x16c)](_0x5133b0(0x13a));return _0x49bdb5[_0x5133b0(0x16a)](_0x5133b0(0x12e))['to'](_0x388ebd),_0x49bdb5['on'](_0x5133b0(0x170),()=>{const _0x512385=_0x5133b0;_0x388ebd[_0x512385(0x170)](_0x52d1ed);}),_0x49bdb5;}[_0x5ac691(0x176)](_0xc97daf){const _0x5e18ee=_0x5ac691,{locale:_0x1dc7fe}=this[_0x5e18ee(0x171)],_0x296825=this[_0x5e18ee(0x171)][_0x5e18ee(0x157)][_0x5e18ee(0x16c)](_0x5e18ee(0x14b)),_0x15ea7e=_0xc97daf[0x0],_0x4a4f43=this[_0x5e18ee(0x14f)](_0xdb7333,_0x15ea7e[_0x5e18ee(0x179)]);return _0x4a4f43[_0x5e18ee(0x17a)]=_0x15ea7e[_0x5e18ee(0x17a)],_0x4a4f43[_0x5e18ee(0x16a)](_0x5e18ee(0x148))['to'](_0x296825,_0x5e18ee(0x15a),_0x1910d5=>_0x5b2011(_0x1dc7fe,_0x15ea7e[_0x5e18ee(0x179)],_0x1910d5?_0x5e18ee(0x141):_0x5e18ee(0x160))[_0x5e18ee(0x153)]),_0x4a4f43[_0x5e18ee(0x14d)]=!0x0,_0x4a4f43;}[_0x5ac691(0x12f)](_0x1e0514){const _0x4c88b2=_0x5ac691,{locale:_0x48a288}=this[_0x4c88b2(0x171)],_0x460500=this[_0x4c88b2(0x171)][_0x4c88b2(0x157)][_0x4c88b2(0x16c)](_0x4c88b2(0x14b));return _0x1e0514[_0x4c88b2(0x16f)](_0x8e0ec9=>{const _0x33b09e=_0x4c88b2,_0x5a35ee=this[_0x33b09e(0x14f)](_0xdb7333,_0x8e0ec9[_0x33b09e(0x179)]);return _0x5a35ee[_0x33b09e(0x133)]=!0x0,_0x5a35ee[_0x33b09e(0x17a)]=_0x8e0ec9[_0x33b09e(0x17a)],_0x5a35ee[_0x33b09e(0x16a)](_0x33b09e(0x148))['to'](_0x460500,_0x33b09e(0x15a),_0x141c60=>_0x5b2011(_0x48a288,_0x8e0ec9[_0x33b09e(0x179)],_0x141c60?_0x33b09e(0x141):_0x33b09e(0x160))[_0x33b09e(0x153)]),_0x5a35ee;});}[_0x5ac691(0x149)](_0xc034e){const _0x2c8f42=_0x5ac691;return _0xc034e[_0x2c8f42(0x16f)](_0x290cd8=>{const _0xd70df6=_0x2c8f42,_0x3a289c=this[_0xd70df6(0x14f)](_0x126e35,_0x290cd8[_0xd70df6(0x179)]);return _0x3a289c[_0xd70df6(0x17a)]=_0x290cd8[_0xd70df6(0x17a)],_0x3a289c[_0xd70df6(0x148)]=_0x290cd8[_0xd70df6(0x14a)],_0x3a289c;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x30e8af}from'ckeditor5/src/core.js';import{FileRepository as _0x57a62c}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5bb282}from'./uploadcareediting.js';import{UploadUtils as _0x3203d4}from'./utils/uploadutils.js';import{getImageUrls as _0x273721}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x30e8af{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x57a62c,_0x5bb282];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5e1f6c=this['editor'];if(!!!_0x5e1f6c['config']['get']('uploadcare'))return;_0x5e1f6c['plugins']['get'](_0x57a62c)['createUploadAdapter']=_0x1d4e5f=>new A(_0x1d4e5f,_0x5e1f6c),_0x5e1f6c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1ffc0e,{imageElement:_0x18b026,data:_0x1d6255})=>{_0x5e1f6c['model']['change'](_0x573bcb=>{_0x573bcb['setAttribute']('uploadcareImageId',_0x1d6255['uploadcareImageId'],_0x18b026);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x162b5c,_0x5665db){this['loader']=_0x162b5c,this['editor']=_0x5665db,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3f50eb=this['editor']['config']['get']('uploadcare.pubkey'),_0x83e485=await this['loader']['file'];return _0x3203d4['upload']({'file':_0x83e485,'publicKey':_0x3f50eb,'signal':this['controller']['signal'],'onProgress':_0x5a510c=>{_0x5a510c&&_0x5a510c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a510c['value']);}})['then'](async _0x585d10=>{const {imageFallbackUrl:_0x356ae5,imageSources:_0x19dd06}=_0x273721(_0x585d10['cdnUrl'],_0x585d10['imageInfo']['width']);return{'uploadcareImageId':_0x585d10['uuid'],'default':_0x356ae5,'sources':_0x19dd06};})['catch'](()=>{const _0xd455e7=t('Cannot\x20upload\x20file:')+('\x20'+_0x83e485['name']+'.');return Promise['reject'](_0xd455e7);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x797d35}from'ckeditor5/src/core.js';import{FileRepository as _0x442247}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x144ef2}from'./uploadcareediting.js';import{UploadUtils as _0x1dc98a}from'./utils/uploadutils.js';import{getImageUrls as _0x1a6459}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x797d35{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x442247,_0x144ef2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x139be1=this['editor'];if(!!!_0x139be1['config']['get']('uploadcare'))return;_0x139be1['plugins']['get'](_0x442247)['createUploadAdapter']=_0xf070e3=>new A(_0xf070e3,_0x139be1),_0x139be1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3fc2a9,{imageElement:_0x43db8c,data:_0x54c55d})=>{_0x139be1['model']['change'](_0x393115=>{_0x393115['setAttribute']('uploadcareImageId',_0x54c55d['uploadcareImageId'],_0x43db8c);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x26508b,_0xd9c2e7){this['loader']=_0x26508b,this['editor']=_0xd9c2e7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4663ec=this['editor']['config']['get']('uploadcare.pubkey'),_0x2803f8=await this['loader']['file'];return _0x1dc98a['upload']({'file':_0x2803f8,'publicKey':_0x4663ec,'signal':this['controller']['signal'],'onProgress':_0x38b2de=>{_0x38b2de&&_0x38b2de['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x38b2de['value']);}})['then'](async _0x61b7a=>{const {imageFallbackUrl:_0x451a06,imageSources:_0x476eb}=_0x1a6459(_0x61b7a['cdnUrl'],_0x61b7a['imageInfo']['width']);return{'uploadcareImageId':_0x61b7a['uuid'],'default':_0x451a06,'sources':_0x476eb};})['catch'](()=>{const _0x27cad1=t('Cannot\x20upload\x20file:')+('\x20'+_0x2803f8['name']+'.');return Promise['reject'](_0x27cad1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x303ae5}from'../uploadcareconfig.js';export function getTranslation(_0x2122af,_0x588aa8,_0x3f8bfd){const t=_0x2122af['t'],_0x13718c=_0x2122af['t'];switch(_0x588aa8){case _0x303ae5['Local']:return{'text':_0x13718c('Insert'===_0x3f8bfd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x13718c('From\x20computer')};case _0x303ae5['URL']:return{'text':'Insert'===_0x3f8bfd?_0x13718c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x13718c('Via\x20URL')};case _0x303ae5['Dropbox']:return{'text':t('Insert'===_0x3f8bfd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x303ae5['Facebook']:return{'text':t('Insert'===_0x3f8bfd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x303ae5['GDrive']:return{'text':t('Insert'===_0x3f8bfd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x303ae5['GPhotos']:return{'text':t('Insert'===_0x3f8bfd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x303ae5['OneDrive']:return{'text':t('Insert'===_0x3f8bfd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x588aa8;}}
23
+ import{UploadcareSource as _0x5338f2}from'../uploadcareconfig.js';export function getTranslation(_0x317f87,_0x26f232,_0x3cf1e){const t=_0x317f87['t'],_0x473cfe=_0x317f87['t'];switch(_0x26f232){case _0x5338f2['Local']:return{'text':_0x473cfe('Insert'===_0x3cf1e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x473cfe('From\x20computer')};case _0x5338f2['URL']:return{'text':'Insert'===_0x3cf1e?_0x473cfe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x473cfe('Via\x20URL')};case _0x5338f2['Dropbox']:return{'text':t('Insert'===_0x3cf1e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5338f2['Facebook']:return{'text':t('Insert'===_0x3cf1e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5338f2['GDrive']:return{'text':t('Insert'===_0x3cf1e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5338f2['GPhotos']:return{'text':t('Insert'===_0x3cf1e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5338f2['OneDrive']:return{'text':t('Insert'===_0x3cf1e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x26f232;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ab8fe=_0x1a48;function _0x1a48(_0x15dc97,_0x4cafbf){var _0xd56af6=_0xd56a();return _0x1a48=function(_0x1a4811,_0x10bffa){_0x1a4811=_0x1a4811-0x1c5;var _0x3973c4=_0xd56af6[_0x1a4811];return _0x3973c4;},_0x1a48(_0x15dc97,_0x4cafbf);}(function(_0x22bfbe,_0x4672ce){var _0x27a44f=_0x1a48,_0x3c0f08=_0x22bfbe();while(!![]){try{var _0x4c567b=-parseInt(_0x27a44f(0x1d5))/0x1+parseInt(_0x27a44f(0x1d7))/0x2+-parseInt(_0x27a44f(0x1ce))/0x3+parseInt(_0x27a44f(0x1d3))/0x4*(parseInt(_0x27a44f(0x1d4))/0x5)+parseInt(_0x27a44f(0x1c9))/0x6*(parseInt(_0x27a44f(0x1cd))/0x7)+-parseInt(_0x27a44f(0x1c5))/0x8*(parseInt(_0x27a44f(0x1d6))/0x9)+-parseInt(_0x27a44f(0x1d8))/0xa*(-parseInt(_0x27a44f(0x1cc))/0xb);if(_0x4c567b===_0x4672ce)break;else _0x3c0f08['push'](_0x3c0f08['shift']());}catch(_0xd2e664){_0x3c0f08['push'](_0x3c0f08['shift']());}}}(_0xd56a,0xeb5f2));import{FocusTracker as _0x4c9102}from'ckeditor5/src/utils.js';import{View as _0x1c51cd,FocusCycler as _0x337d99}from'ckeditor5/src/ui.js';function _0xd56a(){var _0x183291=['2937152jChURj','10elZfzr','272kofEsR','true','forwardCycle','fire','1128qBTIXs','div','createCollection','18804533DJYyDV','17906ZoYLlQ','5240628ucQjNo','focusTracker','getFocusableElement','focusCycler','bindTemplate','2908uJonjv','5415gQSXCi','892200vyMbfs','223191XmHGwf'];_0xd56a=function(){return _0x183291;};return _0xd56a();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1c51cd{[_0x3ab8fe(0x1cf)];[_0x3ab8fe(0x1d1)];constructor(_0x4ce49e){var _0x245b51=_0x3ab8fe;super(_0x4ce49e),this[_0x245b51(0x1cf)]=new _0x4c9102(),this[_0x245b51(0x1d1)]=new _0x337d99({'focusables':this[_0x245b51(0x1cb)](),'focusTracker':this[_0x245b51(0x1cf)]});}[_0x3ab8fe(0x1d0)](){var _0x4acb00=_0x3ab8fe;return{'tag':_0x4acb00(0x1ca),'attributes':{'aria-hidden':_0x4acb00(0x1c6),'tabindex':'0'},'on':{'focus':this[_0x4acb00(0x1d2)]['to'](()=>{var _0x39f517=_0x4acb00;this[_0x39f517(0x1d1)][_0x39f517(0x1c8)](_0x39f517(0x1c7));})}};}}
23
+ var _0x135ea2=_0x4554;function _0x4554(_0xb6a0df,_0x133706){var _0x8e3f1b=_0x8e3f();return _0x4554=function(_0x455444,_0x752367){_0x455444=_0x455444-0xa7;var _0x49deb6=_0x8e3f1b[_0x455444];return _0x49deb6;},_0x4554(_0xb6a0df,_0x133706);}(function(_0x4b615b,_0x566a87){var _0x1ed68b=_0x4554,_0x52f39e=_0x4b615b();while(!![]){try{var _0x479afa=-parseInt(_0x1ed68b(0xaf))/0x1*(-parseInt(_0x1ed68b(0xa8))/0x2)+-parseInt(_0x1ed68b(0xb0))/0x3*(-parseInt(_0x1ed68b(0xb9))/0x4)+parseInt(_0x1ed68b(0xb3))/0x5+-parseInt(_0x1ed68b(0xa7))/0x6*(-parseInt(_0x1ed68b(0xab))/0x7)+-parseInt(_0x1ed68b(0xb4))/0x8+-parseInt(_0x1ed68b(0xb2))/0x9+-parseInt(_0x1ed68b(0xae))/0xa;if(_0x479afa===_0x566a87)break;else _0x52f39e['push'](_0x52f39e['shift']());}catch(_0x9e32ca){_0x52f39e['push'](_0x52f39e['shift']());}}}(_0x8e3f,0xa9254));import{FocusTracker as _0xbeb46c}from'ckeditor5/src/utils.js';import{View as _0x2e3a34,FocusCycler as _0x7f60d8}from'ckeditor5/src/ui.js';function _0x8e3f(){var _0x80e074=['8082168ElzJHG','getFocusableElement','createCollection','div','bindTemplate','253780gLNRCe','258mZXbEi','1511472bNrrqx','focusCycler','true','87682lPQmmI','fire','focusTracker','9352320vYFQaX','1ShmorE','6keLwmm','forwardCycle','473805XwkjUS','6348620LinPxm'];_0x8e3f=function(){return _0x80e074;};return _0x8e3f();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2e3a34{[_0x135ea2(0xad)];[_0x135ea2(0xa9)];constructor(_0x21aecb){var _0x10f0d6=_0x135ea2;super(_0x21aecb),this[_0x10f0d6(0xad)]=new _0xbeb46c(),this[_0x10f0d6(0xa9)]=new _0x7f60d8({'focusables':this[_0x10f0d6(0xb6)](),'focusTracker':this[_0x10f0d6(0xad)]});}[_0x135ea2(0xb5)](){var _0x16badb=_0x135ea2;return{'tag':_0x16badb(0xb7),'attributes':{'aria-hidden':_0x16badb(0xaa),'tabindex':'0'},'on':{'focus':this[_0x16badb(0xb8)]['to'](()=>{var _0x51daba=_0x16badb;this[_0x51daba(0xa9)][_0x51daba(0xac)](_0x51daba(0xb1));})}};}}