@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251224.0 → 0.0.0-nightly-next-20251224.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d70dd=_0x285a;(function(_0x59f7db,_0x5c1776){const _0x5dd223=_0x285a,_0x3b031b=_0x59f7db();while(!![]){try{const _0xdc31b8=parseInt(_0x5dd223(0x172))/0x1+-parseInt(_0x5dd223(0x143))/0x2+-parseInt(_0x5dd223(0x15f))/0x3*(-parseInt(_0x5dd223(0x184))/0x4)+-parseInt(_0x5dd223(0x16c))/0x5*(parseInt(_0x5dd223(0x18e))/0x6)+-parseInt(_0x5dd223(0x195))/0x7+parseInt(_0x5dd223(0x155))/0x8+parseInt(_0x5dd223(0x182))/0x9;if(_0xdc31b8===_0x5c1776)break;else _0x3b031b['push'](_0x3b031b['shift']());}catch(_0x4da085){_0x3b031b['push'](_0x3b031b['shift']());}}}(_0x559f,0xe1349));import{Plugin as _0x56015c}from'ckeditor5/src/core.js';import{Dialog as _0x21f616}from'ckeditor5/src/ui.js';function _0x285a(_0x2f8b21,_0x3e922e){const _0x559f6c=_0x559f();return _0x285a=function(_0x285a9c,_0x54e519){_0x285a9c=_0x285a9c-0x142;let _0x28d6e=_0x559f6c[_0x285a9c];return _0x28d6e;},_0x285a(_0x2f8b21,_0x3e922e);}import{createElement as _0x5a347f,global as _0x52d2a2,uid as _0x40eafd}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4ed09f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x178ece}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1c6a37}from'./utils/editingutils.js';export class UploadcareEditing extends _0x56015c{[_0x5d70dd(0x164)]=null;[_0x5d70dd(0x15b)]=null;static get[_0x5d70dd(0x153)](){const _0x52be2c=_0x5d70dd;return _0x52be2c(0x16a);}static get[_0x5d70dd(0x146)](){const _0x2ebe95=_0x5d70dd;return[_0x2ebe95(0x14b),_0x178ece,_0x21f616];}static get[_0x5d70dd(0x188)](){return!0x0;}static get[_0x5d70dd(0x192)](){return!0x0;}[_0x5d70dd(0x145)];get[_0x5d70dd(0x175)](){const _0x3d634a=_0x5d70dd;return this[_0x3d634a(0x164)];}get[_0x5d70dd(0x148)](){const _0x330de2=_0x5d70dd;return this[_0x330de2(0x15b)];}constructor(_0x4ab201){const _0x478189=_0x5d70dd;super(_0x4ab201),this[_0x478189(0x145)]=_0x40eafd();}[_0x5d70dd(0x178)](){const _0x1d84ea=_0x5d70dd,_0x4c7f12=this[_0x1d84ea(0x16f)];_0x4c7f12[_0x1d84ea(0x18a)][_0x1d84ea(0x17e)](_0x1d84ea(0x191),new _0x4ed09f(_0x4c7f12));}[_0x5d70dd(0x14f)](){const _0x2a3dce=_0x5d70dd;this[_0x2a3dce(0x17a)](),this[_0x2a3dce(0x18b)](),this[_0x2a3dce(0x144)](),this[_0x2a3dce(0x162)](),this[_0x2a3dce(0x14c)](),this[_0x2a3dce(0x16e)](this[_0x2a3dce(0x16f)],_0x2a3dce(0x187),()=>{const _0x133a3f=_0x2a3dce;this[_0x133a3f(0x164)]&&(this[_0x133a3f(0x164)][_0x133a3f(0x171)](),this[_0x133a3f(0x164)]=null),this[_0x133a3f(0x15b)]&&(this[_0x133a3f(0x15b)][_0x133a3f(0x171)](),this[_0x133a3f(0x15b)]=null);const _0x201fb0=_0x52d2a2[_0x133a3f(0x152)][_0x133a3f(0x160)](_0x133a3f(0x17b));_0x201fb0&&_0x201fb0[_0x133a3f(0x171)]();}),async function(_0x5be9de){const _0x139349=_0x4c3f3d([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3c8afc=0x535f8c3a,_0x4f9151=0x5358f0ea^_0x3c8afc,_0x4a4c73=window[_0x4c3f3d([0x44,0x61,0x74,0x65])][_0x4c3f3d([0x6e,0x6f,0x77])](),_0x6c2af8=_0x5be9de[_0x4c3f3d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43bfa7=new window[(_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14d42a=>{_0x6c2af8[_0x4c3f3d([0x6f,0x6e,0x63,0x65])](_0x4c3f3d([0x72,0x65,0x61,0x64,0x79]),_0x14d42a);}),_0x9b3169={[_0x4c3f3d([0x6b,0x74,0x79])]:_0x4c3f3d([0x45,0x43]),[_0x4c3f3d([0x75,0x73,0x65])]:_0x4c3f3d([0x73,0x69,0x67]),[_0x4c3f3d([0x63,0x72,0x76])]:_0x4c3f3d([0x50,0x2d,0x32,0x35,0x36]),[_0x4c3f3d([0x78])]:_0x4c3f3d([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]),[_0x4c3f3d([0x79])]:_0x4c3f3d([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]),[_0x4c3f3d([0x61,0x6c,0x67])]:_0x4c3f3d([0x45,0x53,0x32,0x35,0x36])},_0x3150b1=_0x6c2af8[_0x4c3f3d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c3f3d([0x67,0x65,0x74])](_0x4c3f3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f857b(){let _0x5ce04c,_0x87d43e=null,_0x2cda4a=null;try{if(_0x3150b1==_0x4c3f3d([0x47,0x50,0x4c]))return _0x4c3f3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ce04c=_0x17fcc7(),!_0x5ce04c)return _0x4c3f3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ce04c[_0x4c3f3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2cda4a=_0x49a4e2(_0x5ce04c[_0x4c3f3d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ce04c[_0x4c3f3d([0x6a,0x74,0x69])])),await _0x2013b7()?_0x3d4621()?_0x12ee5d()?_0x4c3f3d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x498d13()?(_0x5ce04c[_0x4c3f3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c3f3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x87d43e=_0x295fd7(_0x4c3f3d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ce04c[_0x4c3f3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c3f3d([0x74,0x72,0x69,0x61,0x6c])&&(_0x87d43e=_0x295fd7(_0x4c3f3d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x330c82()):_0x4c3f3d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c3f3d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c3f3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c3f3d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12ee5d(){const _0x8734eb=[_0x4c3f3d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c3f3d([0x74,0x72,0x69,0x61,0x6c])][_0x4c3f3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ce04c[_0x4c3f3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a4c73/0x3e8:0xe10*_0x4f9151;return _0x5ce04c[_0x4c3f3d([0x65,0x78,0x70])]<_0x8734eb;}function _0x3d4621(){const _0x50f562=_0x5ce04c[_0x4c3f3d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50f562&&(!!_0x50f562[_0x4c3f3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3f3d([0x2a]))||!!_0x50f562[_0x4c3f3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3f3d([0x55,0x50,0x4c,0x43])));}function _0x498d13(){const _0x4258c4=_0x285a,_0x278063=_0x5ce04c[_0x4c3f3d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x278063||0x0==_0x278063[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x365e17}=new URL(window[_0x4c3f3d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4258c4(0x17f)]);if(_0x278063[_0x4c3f3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365e17))return!0x0;const _0x45a47a=_0x365e17[_0x4c3f3d([0x73,0x70,0x6c,0x69,0x74])](_0x4c3f3d([0x2e]));return _0x278063[_0x4c3f3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f943a=>_0x1f943a[_0x4c3f3d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c3f3d([0x2a])))[_0x4c3f3d([0x6d,0x61,0x70])](_0xabe129=>_0xabe129[_0x4c3f3d([0x73,0x70,0x6c,0x69,0x74])](_0x4c3f3d([0x2e])))[_0x4c3f3d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43b52a=>_0x43b52a[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45a47a[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c3f3d([0x6d,0x61,0x70])](_0x19d5fc=>Array(_0x45a47a[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19d5fc[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c3f3d([0x66,0x69,0x6c,0x6c])](_0x19d5fc[0x0]===_0x4c3f3d([0x2a])?_0x4c3f3d([0x2a]):'')[_0x4c3f3d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19d5fc))[_0x4c3f3d([0x73,0x6f,0x6d,0x65])](_0xfd8b3=>_0x45a47a[_0x4c3f3d([0x65,0x76,0x65,0x72,0x79])]((_0x1ef8d4,_0x4f127a)=>_0xfd8b3[_0x4f127a]===_0x1ef8d4||_0xfd8b3[_0x4f127a]===_0x4c3f3d([0x2a])));}function _0x330c82(){return _0x87d43e&&_0x2cda4a?new window[(_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x358e32,_0x526838)=>{_0x87d43e[_0x4c3f3d([0x74,0x68,0x65,0x6e])](_0x358e32,_0x526838),_0x2cda4a[_0x4c3f3d([0x74,0x68,0x65,0x6e])](_0xa69908=>{_0xa69908!=_0x4c3f3d([0x56,0x61,0x6c,0x69,0x64])&&_0x358e32(_0xa69908);},_0x526838);}):_0x87d43e||_0x2cda4a||_0x4c3f3d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49a4e2(_0x31d1af,_0x3d7066){return new window[(_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a908=>{if(_0x5627a6())return _0x28a908(_0x4c3f3d([0x56,0x61,0x6c,0x69,0x64]));_0x2fe09c(),_0x6c2af8[_0x4c3f3d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c3f3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5bdbf7=!0x1;const _0x2c4935=_0x40eafd();function _0x29a975(_0x56074b){return!!_0x56074b&&(typeof _0x56074b===_0x4c3f3d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56074b===_0x4c3f3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56074b[_0x4c3f3d([0x74,0x68,0x65,0x6e])]===_0x4c3f3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56074b[_0x4c3f3d([0x63,0x61,0x74,0x63,0x68])]===_0x4c3f3d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5323ec(_0x350a36){_0xbaabbb(_0x350a36)[_0x4c3f3d([0x74,0x68,0x65,0x6e])](_0x32547d=>{if(!_0x32547d||_0x32547d[_0x4c3f3d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c3f3d([0x6f,0x6b]))return _0x4c3f3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x272e63(_0x4eed36(_0x2c4935+_0x3d7066))!=_0x32547d[_0x4c3f3d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c3f3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c3f3d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c3f3d([0x74,0x68,0x65,0x6e])](_0x333999=>(_0x50932d(),_0x333999),()=>{const _0x58ae42=_0x1abe46();return null==_0x58ae42?(_0x50932d(),_0x4c3f3d([0x56,0x61,0x6c,0x69,0x64])):_0x4c3f3d(_0x4a4c73-_0x58ae42>(0x7753083a^_0x3c8afc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c3f3d([0x74,0x68,0x65,0x6e])](_0x28a908)[_0x4c3f3d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28a908(_0x4c3f3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x568e78=0x536962ba^_0x3c8afc;function _0x50932d(){const _0x30d1fa=_0x4c3f3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x272e63(_0x4eed36(_0x31d1af)),_0x221435=_0xfca522(_0x272e63(window[_0x4c3f3d([0x4d,0x61,0x74,0x68])][_0x4c3f3d([0x63,0x65,0x69,0x6c])](_0x4a4c73/_0x568e78)));window[_0x4c3f3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c3f3d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30d1fa,_0x221435);}function _0x1abe46(){const _0x1cc53e=_0x4c3f3d([0x6c,0x6c,0x63,0x74,0x2d])+_0x272e63(_0x4eed36(_0x31d1af)),_0x117ac4=window[_0x4c3f3d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c3f3d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cc53e);return _0x117ac4?window[_0x4c3f3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfca522(_0x117ac4),0x10)*_0x568e78:null;}function _0xbaabbb(_0x30b587){return new window[(_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f93a4,_0xa15e31)=>{_0x30b587[_0x4c3f3d([0x74,0x68,0x65,0x6e])](_0x7f93a4,_0xa15e31),window[_0x4c3f3d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xa15e31,0x535e58fa^_0x3c8afc);});}}_0x6c2af8[_0x4c3f3d([0x6f,0x6e])](_0x4c3f3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5dd934,_0x3ce8e3)=>{if(_0x3ce8e3[0x0]!=_0x31d1af)return _0x28a908(_0x4c3f3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ce8e3[0x1]={..._0x3ce8e3[0x1],[_0x4c3f3d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c4935};},{[_0x4c3f3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c3f3d([0x68,0x69,0x67,0x68])}),_0x6c2af8[_0x4c3f3d([0x6f,0x6e])](_0x4c3f3d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cc164=>{_0x29a975(_0x3cc164[_0x4c3f3d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5bdbf7=!0x0,_0x5323ec(_0x3cc164[_0x4c3f3d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c3f3d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c3f3d([0x6c,0x6f,0x77])}),_0x43bfa7[_0x4c3f3d([0x74,0x68,0x65,0x6e])](()=>{_0x5bdbf7||_0x28a908(_0x4c3f3d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5627a6(){return _0x6c2af8[_0x4c3f3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c3f3d([0x76,0x69,0x65,0x77])][_0x4c3f3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c3f3d([0x61,0x75,0x74,0x6f]);}function _0x2fe09c(){_0x6c2af8[_0x4c3f3d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c3f3d([0x76,0x69,0x65,0x77])][_0x4c3f3d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c3f3d([0x61,0x75,0x74,0x6f]);}}function _0x295fd7(_0x53a3bc){const _0x4d1b55=[new window[(_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566020=>setTimeout(_0x566020,0x5356b2f6^_0x3c8afc)),_0x43bfa7[_0x4c3f3d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cd1a4=>{let _0x485bf1=0x0;_0x6c2af8[_0x4c3f3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c3f3d([0x6f,0x6e])](_0x4c3f3d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x214e8b,_0x41c7b6)=>{_0x41c7b6[0x0][_0x4c3f3d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x485bf1++,_0x485bf1==(0x535f89d2^_0x3c8afc)&&(_0x2cd1a4(),_0x214e8b[_0x4c3f3d([0x6f,0x66,0x66])]());});}))];return window[_0x4c3f3d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c3f3d([0x72,0x61,0x63,0x65])](_0x4d1b55)[_0x4c3f3d([0x74,0x68,0x65,0x6e])](()=>_0x53a3bc);}async function _0x489cb4(){await _0x43bfa7,_0x6c2af8[_0x4c3f3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c3f3d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28c6c2,_0x6c2af8[_0x4c3f3d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c3f3d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28c6c2,_0x6c2af8[_0x4c3f3d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c3f3d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d92ba(_0x1792ff){const _0x6aed0=_0x4ee169();_0x6c2af8[_0x6aed0]=_0x4c3f3d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1792ff,_0x1792ff!=_0x4c3f3d([0x56,0x61,0x6c,0x69,0x64])&&_0x489cb4();}function _0x4ee169(){const _0x57bca8=window[_0x4c3f3d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c3f3d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c3f3d([0x6e,0x6f,0x77])]())[_0x4c3f3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c3f3d([0x2e]),'');let _0x56b5d8=_0x4c3f3d([0x68]);for(let _0x531a2a=0x0;_0x531a2a<_0x57bca8[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x531a2a+=0x2){let _0x2c2dc9=window[_0x4c3f3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57bca8[_0x4c3f3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x531a2a,_0x531a2a+0x2));_0x2c2dc9>=_0x139349[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c2dc9-=_0x139349[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56b5d8+=_0x139349[_0x2c2dc9];}return _0x56b5d8;}function _0x17fcc7(){const _0x145348=_0x3150b1[_0x4c3f3d([0x73,0x70,0x6c,0x69,0x74])](_0x4c3f3d([0x2e]));if(0x3!=_0x145348[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x184bd2(_0x145348[0x1]);function _0x184bd2(_0x39e0a3){const _0x71eb33=_0x5c858f(_0x39e0a3);return _0x71eb33&&_0x234bab()?_0x71eb33:null;function _0x234bab(){const _0x4ea595=_0x71eb33[_0x4c3f3d([0x6a,0x74,0x69])],_0x59940a=window[_0x4c3f3d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ea595[_0x4c3f3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ea595[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x383118={..._0x71eb33,[_0x4c3f3d([0x6a,0x74,0x69])]:_0x4ea595[_0x4c3f3d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ea595[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x383118[_0x4c3f3d([0x76,0x63])],_0x4eed36(_0x383118)==_0x59940a;}}}async function _0x2013b7(){let _0x3034d6=!0x0;try{const _0x58029c=_0x3150b1[_0x4c3f3d([0x73,0x70,0x6c,0x69,0x74])](_0x4c3f3d([0x2e])),[_0x14320a,_0x20dfd5,_0x5ea5ec]=_0x58029c;return _0x362902(_0x14320a),await _0x57812b(_0x14320a,_0x20dfd5,_0x5ea5ec),_0x3034d6;}catch{return!0x1;}function _0x362902(_0x14ab00){const _0x3166f5=_0x5c858f(_0x14ab00);_0x3166f5&&_0x3166f5[_0x4c3f3d([0x61,0x6c,0x67])]==_0x4c3f3d([0x45,0x53,0x32,0x35,0x36])||(_0x3034d6=!0x1);}async function _0x57812b(_0x44a696,_0xcc62f9,_0x57ca29){const _0x3d634d=window[_0x4c3f3d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c3f3d([0x66,0x72,0x6f,0x6d])](_0x454c11(_0x57ca29),_0x56ec80=>_0x56ec80[_0x4c3f3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb6bc4e=new window[(_0x4c3f3d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c3f3d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44a696+_0x4c3f3d([0x2e])+_0xcc62f9),_0x1735ee=window[_0x4c3f3d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c3f3d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1735ee)return;const _0xeaa7dd=await _0x1735ee[_0x4c3f3d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c3f3d([0x6a,0x77,0x6b]),_0x9b3169,{[_0x4c3f3d([0x6e,0x61,0x6d,0x65])]:_0x4c3f3d([0x45,0x43,0x44,0x53,0x41]),[_0x4c3f3d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c3f3d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c3f3d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1735ee[_0x4c3f3d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c3f3d([0x6e,0x61,0x6d,0x65])]:_0x4c3f3d([0x45,0x43,0x44,0x53,0x41]),[_0x4c3f3d([0x68,0x61,0x73,0x68])]:{[_0x4c3f3d([0x6e,0x61,0x6d,0x65])]:_0x4c3f3d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xeaa7dd,_0x3d634d,_0xb6bc4e)||(_0x3034d6=!0x1);}}function _0x5c858f(_0x7744d5){return _0x7744d5[_0x4c3f3d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c3f3d([0x65,0x79]))?JSON[_0x4c3f3d([0x70,0x61,0x72,0x73,0x65])](_0x454c11(_0x7744d5)):null;}function _0x454c11(_0x10f5fa){return window[_0x4c3f3d([0x61,0x74,0x6f,0x62])](_0x10f5fa[_0x4c3f3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c3f3d([0x2b]))[_0x4c3f3d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c3f3d([0x2f])));}function _0x4eed36(_0x18d553){let _0x27f11f=0x1505;function _0x5d1949(_0x338aae){for(let _0x5c4863=0x0;_0x5c4863<_0x338aae[_0x4c3f3d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c4863++){const _0x1803e9=_0x338aae[_0x4c3f3d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5c4863);_0x27f11f=(_0x27f11f<<0x5)+_0x27f11f+_0x1803e9,_0x27f11f&=_0x27f11f;}}function _0x2090ec(_0x487418){Array[_0x4c3f3d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x487418)?_0x487418[_0x4c3f3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2090ec):_0x487418&&typeof _0x487418==_0x4c3f3d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c3f3d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x487418)[_0x4c3f3d([0x73,0x6f,0x72,0x74])]()[_0x4c3f3d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x418838,_0x3809a3])=>{_0x5d1949(_0x418838),_0x2090ec(_0x3809a3);}):_0x5d1949(window[_0x4c3f3d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x487418));}return _0x2090ec(_0x18d553),_0x27f11f>>>0x0;}function _0x272e63(_0x13ec7f){return _0x13ec7f[_0x4c3f3d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c3f3d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c3f3d([0x30]));}function _0xfca522(_0x362601){return _0x362601[_0x4c3f3d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c3f3d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c3f3d([0x6a,0x6f,0x69,0x6e])]('');}function _0x28c6c2(){}function _0x4c3f3d(_0x272331){const _0x5fb0d9=_0x285a;return _0x272331[_0x5fb0d9(0x183)](_0x505525=>String[_0x5fb0d9(0x18d)](_0x505525))[_0x5fb0d9(0x193)]('');}_0x1d92ba(await _0x1f857b());}(this);}[_0x5d70dd(0x17a)](){const _0x23712d=_0x5d70dd,_0x2e1d24=this[_0x23712d(0x16f)][_0x23712d(0x154)][_0x23712d(0x17d)];_0x2e1d24[_0x23712d(0x150)](_0x23712d(0x176))&&_0x2e1d24[_0x23712d(0x170)](_0x23712d(0x176),{'allowAttributes':[_0x23712d(0x179)]}),_0x2e1d24[_0x23712d(0x150)](_0x23712d(0x190))&&_0x2e1d24[_0x23712d(0x170)](_0x23712d(0x190),{'allowAttributes':[_0x23712d(0x179)]});}[_0x5d70dd(0x18b)](){const _0x5e78a4=_0x5d70dd,_0x3b03b8=this[_0x5e78a4(0x16f)];_0x3b03b8[_0x5e78a4(0x14d)][_0x5e78a4(0x15a)](_0x5e78a4(0x173))[_0x5e78a4(0x18f)]({'model':_0x5e78a4(0x179),'view':_0x5e78a4(0x177)}),_0x3b03b8[_0x5e78a4(0x14d)][_0x5e78a4(0x15a)](_0x5e78a4(0x18c))[_0x5e78a4(0x157)]({'model':{'key':_0x5e78a4(0x179),'value':_0xa18866=>_0xa18866[_0x5e78a4(0x147)](_0x5e78a4(0x177))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x346a34=_0x3b03b8[_0x5e78a4(0x18a)][_0x5e78a4(0x181)](_0x5e78a4(0x16d));_0x346a34&&this[_0x5e78a4(0x16e)](_0x346a34,_0x5e78a4(0x194),(_0x41bf7a,[_0x4cc400,_0x5518a5])=>{const _0x2fa668=_0x5e78a4;_0x4cc400[_0x2fa668(0x151)](_0x2fa668(0x179),_0x5518a5);});}[_0x5d70dd(0x144)](){const _0x346d02=_0x5d70dd,_0x4fd449=this[_0x346d02(0x16f)][_0x346d02(0x163)][_0x346d02(0x181)](_0x346d02(0x156))||{},_0xcddaca=this[_0x346d02(0x16f)][_0x346d02(0x163)][_0x346d02(0x181)](_0x346d02(0x189))||'';this[_0x346d02(0x164)]=_0x5a347f(_0x52d2a2[_0x346d02(0x152)],_0x346d02(0x149),{..._0x4fd449,'pubkey':_0xcddaca,'ctx-name':_0x346d02(0x185)+this[_0x346d02(0x145)],'sourceList':'','imgOnly':_0x346d02(0x15d),'removeCopyright':_0x346d02(0x15d),'localeName':this[_0x346d02(0x16f)][_0x346d02(0x186)][_0x346d02(0x165)],'externalSourcesEmbedCss':_0x346d02(0x15c)}),this[_0x346d02(0x164)][_0x346d02(0x167)]=_0x56fd78=>{const _0x18653f=_0x346d02;if(_0x18653f(0x169)==_0x56fd78)return _0x18653f(0x17c);},_0x52d2a2[_0x346d02(0x152)][_0x346d02(0x168)][_0x346d02(0x15e)](this[_0x346d02(0x164)]);}[_0x5d70dd(0x162)](){const _0x37066d=_0x5d70dd;this[_0x37066d(0x15b)]=_0x5a347f(_0x52d2a2[_0x37066d(0x152)],_0x37066d(0x16b),{'ctx-name':_0x37066d(0x185)+this[_0x37066d(0x145)]}),_0x52d2a2[_0x37066d(0x152)][_0x37066d(0x168)][_0x37066d(0x15e)](this[_0x37066d(0x15b)]);}[_0x5d70dd(0x14c)](){const _0x1ae33d=_0x5d70dd,_0x5c9da9=this[_0x1ae33d(0x16f)][_0x1ae33d(0x18a)][_0x1ae33d(0x181)](_0x1ae33d(0x180));_0x5c9da9&&this[_0x1ae33d(0x16e)](_0x5c9da9,_0x1ae33d(0x14e),()=>{const _0x3f6f70=_0x1ae33d,_0x9bbc8b=this[_0x3f6f70(0x16f)][_0x3f6f70(0x154)][_0x3f6f70(0x152)][_0x3f6f70(0x14a)][_0x3f6f70(0x159)]();_0x9bbc8b&&_0x9bbc8b[_0x3f6f70(0x147)](_0x3f6f70(0x179))&&this[_0x3f6f70(0x16f)][_0x3f6f70(0x158)][_0x3f6f70(0x166)][_0x3f6f70(0x161)](_0x3f6f70(0x174),()=>{const _0x1c0bb2=_0x3f6f70;_0x1c6a37(this[_0x1c0bb2(0x16f)],_0x9bbc8b);});});const _0x19feec=this[_0x1ae33d(0x16f)][_0x1ae33d(0x18a)][_0x1ae33d(0x181)](_0x1ae33d(0x142));_0x19feec&&this[_0x1ae33d(0x16e)](_0x19feec,_0x1ae33d(0x14e),()=>{const _0x590e40=_0x1ae33d,_0x27e607=this[_0x590e40(0x16f)][_0x590e40(0x154)][_0x590e40(0x152)][_0x590e40(0x14a)][_0x590e40(0x159)]();_0x27e607&&_0x27e607[_0x590e40(0x147)](_0x590e40(0x179))&&this[_0x590e40(0x16f)][_0x590e40(0x158)][_0x590e40(0x166)][_0x590e40(0x161)](_0x590e40(0x174),()=>{const _0x5b9be6=_0x590e40;_0x1c6a37(this[_0x5b9be6(0x16f)],_0x27e607);});});}}function _0x559f(){const _0x33c72b=['document','pluginName','model','12777952wnkEqb','uploadcare.uploader','elementToAttribute','editing','getSelectedElement','for','_ctxElement','\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','true','appendChild','633aDOyFk','querySelector','once','_initCtx','config','_configElement','contentLanguage','view','iconHrefResolver','body','closeMax','UploadcareEditing','uc-upload-ctx-provider','3525lgqRiI','replaceImageSource','listenTo','editor','extend','remove','1007091GOaYOA','downcast','render','configElement','imageBlock','data-uc-image-id','init','uploadcareImageId','_initSchema','input[uploadcare-file-input]','#uc-icon-arrow-down','schema','add','href','insertImage','get','20011608sPGvYi','map','9452vgeNtG','uploader-','locale','destroy','isOfficialPlugin','uploadcare.pubkey','commands','_initConversion','upcast','fromCharCode','12120isqIdR','attributeToAttribute','imageInline','uploadcare','isPremiumPlugin','join','cleanupImage','12299245UiZeKF','uploadcareImageReplace','2445728vcloai','_initConfig','ucContextId','requires','getAttribute','ctxElement','uc-config','selection','PictureEditing','_initImageProcessingIndicator','conversion','execute','afterInit','isRegistered','removeAttribute'];_0x559f=function(){return _0x33c72b;};return _0x559f();}
23
+ const _0x1b8d5a=_0x13ee;(function(_0x4ade49,_0x1dfe34){const _0x351da1=_0x13ee,_0x24f201=_0x4ade49();while(!![]){try{const _0x5aa1c4=parseInt(_0x351da1(0x154))/0x1*(-parseInt(_0x351da1(0x166))/0x2)+-parseInt(_0x351da1(0x161))/0x3*(-parseInt(_0x351da1(0x15c))/0x4)+-parseInt(_0x351da1(0x17f))/0x5*(-parseInt(_0x351da1(0x195))/0x6)+parseInt(_0x351da1(0x14d))/0x7+parseInt(_0x351da1(0x150))/0x8*(-parseInt(_0x351da1(0x155))/0x9)+-parseInt(_0x351da1(0x151))/0xa*(-parseInt(_0x351da1(0x147))/0xb)+parseInt(_0x351da1(0x16e))/0xc*(-parseInt(_0x351da1(0x153))/0xd);if(_0x5aa1c4===_0x1dfe34)break;else _0x24f201['push'](_0x24f201['shift']());}catch(_0x19d2cb){_0x24f201['push'](_0x24f201['shift']());}}}(_0x352d,0xa20a4));import{Plugin as _0x13107b}from'ckeditor5/src/core.js';import{Dialog as _0x20fa34}from'ckeditor5/src/ui.js';function _0x352d(){const _0x287fbf=['get','attributeToAttribute','4782RKqgMW','execute','cleanupImage','_configElement','render','uc-upload-ctx-provider','remove','href','_initConfig','fromCharCode','33JVFWbi','destroy','replaceImageSource','\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','uploadcare','ctxElement','5883164qwpUcb','listenTo','map','544vchjkG','2953850FnxYXS','ucContextId','11596tqxOwb','58435GdRoZp','27774qasftu','join','config','_initImageProcessingIndicator','imageInline','_initCtx','editing','10468tMvCXT','_initSchema','selection','once','data-uc-image-id','1011GBzQZT','isPremiumPlugin','afterInit','pluginName','insertImage','36qGMevN','PictureEditing','removeAttribute','requires','input[uploadcare-file-input]','true','getAttribute','_ctxElement','15216iRoMqD','querySelector','model','appendChild','uploadcareImageId','conversion','configElement','elementToAttribute','extend','document','uploadcare.uploader','isRegistered','uploadcare.pubkey','view','for','UploadcareEditing','editor','2810faXGlQ','iconHrefResolver','uc-config','locale','_initConversion','downcast','body','isOfficialPlugin','imageBlock','upcast','schema','uploadcareImageReplace','#uc-icon-arrow-down','uploader-','init','getSelectedElement','commands','add','closeMax','contentLanguage'];_0x352d=function(){return _0x287fbf;};return _0x352d();}import{createElement as _0x16e442,global as _0x460fc6,uid as _0xd4c9cb}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4f68d0}from'./uploadcarecommand.js';function _0x13ee(_0x15ad8d,_0x30534c){const _0x352df8=_0x352d();return _0x13ee=function(_0x13ee0c,_0x1e44af){_0x13ee0c=_0x13ee0c-0x146;let _0x50016d=_0x352df8[_0x13ee0c];return _0x50016d;},_0x13ee(_0x15ad8d,_0x30534c);}import{UploadcareUploadAdapter as _0x3be658}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1ba488}from'./utils/editingutils.js';export class UploadcareEditing extends _0x13107b{[_0x1b8d5a(0x198)]=null;[_0x1b8d5a(0x16d)]=null;static get[_0x1b8d5a(0x164)](){const _0x25825a=_0x1b8d5a;return _0x25825a(0x17d);}static get[_0x1b8d5a(0x169)](){const _0x5091a3=_0x1b8d5a;return[_0x5091a3(0x167),_0x3be658,_0x20fa34];}static get[_0x1b8d5a(0x186)](){return!0x0;}static get[_0x1b8d5a(0x162)](){return!0x0;}[_0x1b8d5a(0x152)];get[_0x1b8d5a(0x174)](){const _0x129d69=_0x1b8d5a;return this[_0x129d69(0x198)];}get[_0x1b8d5a(0x14c)](){const _0x1daced=_0x1b8d5a;return this[_0x1daced(0x16d)];}constructor(_0x1a2e08){const _0x1f1440=_0x1b8d5a;super(_0x1a2e08),this[_0x1f1440(0x152)]=_0xd4c9cb();}[_0x1b8d5a(0x18d)](){const _0x2f5a3b=_0x1b8d5a,_0x292efc=this[_0x2f5a3b(0x17e)];_0x292efc[_0x2f5a3b(0x18f)][_0x2f5a3b(0x190)](_0x2f5a3b(0x14b),new _0x4f68d0(_0x292efc));}[_0x1b8d5a(0x163)](){const _0x157729=_0x1b8d5a;this[_0x157729(0x15d)](),this[_0x157729(0x183)](),this[_0x157729(0x19d)](),this[_0x157729(0x15a)](),this[_0x157729(0x158)](),this[_0x157729(0x14e)](this[_0x157729(0x17e)],_0x157729(0x148),()=>{const _0x3ba62d=_0x157729;this[_0x3ba62d(0x198)]&&(this[_0x3ba62d(0x198)][_0x3ba62d(0x19b)](),this[_0x3ba62d(0x198)]=null),this[_0x3ba62d(0x16d)]&&(this[_0x3ba62d(0x16d)][_0x3ba62d(0x19b)](),this[_0x3ba62d(0x16d)]=null);const _0x1adc4b=_0x460fc6[_0x3ba62d(0x177)][_0x3ba62d(0x16f)](_0x3ba62d(0x16a));_0x1adc4b&&_0x1adc4b[_0x3ba62d(0x19b)]();}),async function(_0x3c0221){const _0xef3947=_0x52d20b([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0xa8a893=0x535f8c3a,_0x2d5ce1=0x5358f0ea^_0xa8a893,_0x390064=window[_0x52d20b([0x44,0x61,0x74,0x65])][_0x52d20b([0x6e,0x6f,0x77])](),_0x13684c=_0x3c0221[_0x52d20b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x52cfd3=new window[(_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5891b1=>{_0x13684c[_0x52d20b([0x6f,0x6e,0x63,0x65])](_0x52d20b([0x72,0x65,0x61,0x64,0x79]),_0x5891b1);}),_0x47c9d2={[_0x52d20b([0x6b,0x74,0x79])]:_0x52d20b([0x45,0x43]),[_0x52d20b([0x75,0x73,0x65])]:_0x52d20b([0x73,0x69,0x67]),[_0x52d20b([0x63,0x72,0x76])]:_0x52d20b([0x50,0x2d,0x32,0x35,0x36]),[_0x52d20b([0x78])]:_0x52d20b([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]),[_0x52d20b([0x79])]:_0x52d20b([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]),[_0x52d20b([0x61,0x6c,0x67])]:_0x52d20b([0x45,0x53,0x32,0x35,0x36])},_0x103375=_0x13684c[_0x52d20b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52d20b([0x67,0x65,0x74])](_0x52d20b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbb5479(){let _0x54cf50,_0x229993=null,_0x5a0955=null;try{if(_0x103375==_0x52d20b([0x47,0x50,0x4c]))return _0x52d20b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54cf50=_0x5d9c3b(),!_0x54cf50)return _0x52d20b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54cf50[_0x52d20b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a0955=_0x5dec66(_0x54cf50[_0x52d20b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54cf50[_0x52d20b([0x6a,0x74,0x69])])),await _0x4cde6d()?_0x56f6c1()?_0x3f9b6c()?_0x52d20b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f08db()?(_0x54cf50[_0x52d20b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52d20b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x229993=_0x1ff61f(_0x52d20b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54cf50[_0x52d20b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52d20b([0x74,0x72,0x69,0x61,0x6c])&&(_0x229993=_0x1ff61f(_0x52d20b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x59a1c3()):_0x52d20b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52d20b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52d20b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52d20b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f9b6c(){const _0xc2a8c=[_0x52d20b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52d20b([0x74,0x72,0x69,0x61,0x6c])][_0x52d20b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54cf50[_0x52d20b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x390064/0x3e8:0xe10*_0x2d5ce1;return _0x54cf50[_0x52d20b([0x65,0x78,0x70])]<_0xc2a8c;}function _0x56f6c1(){const _0x23caab=_0x54cf50[_0x52d20b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23caab&&(!!_0x23caab[_0x52d20b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52d20b([0x2a]))||!!_0x23caab[_0x52d20b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52d20b([0x55,0x50,0x4c,0x43])));}function _0x5f08db(){const _0x1f91fb=_0x13ee,_0x1e6b83=_0x54cf50[_0x52d20b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e6b83||0x0==_0x1e6b83[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bf23f}=new URL(window[_0x52d20b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1f91fb(0x19c)]);if(_0x1e6b83[_0x52d20b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bf23f))return!0x0;const _0x1d7f0d=_0x2bf23f[_0x52d20b([0x73,0x70,0x6c,0x69,0x74])](_0x52d20b([0x2e]));return _0x1e6b83[_0x52d20b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57792d=>_0x57792d[_0x52d20b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52d20b([0x2a])))[_0x52d20b([0x6d,0x61,0x70])](_0x4e037d=>_0x4e037d[_0x52d20b([0x73,0x70,0x6c,0x69,0x74])](_0x52d20b([0x2e])))[_0x52d20b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481abb=>_0x481abb[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d7f0d[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52d20b([0x6d,0x61,0x70])](_0xf8c2ba=>Array(_0x1d7f0d[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf8c2ba[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52d20b([0x66,0x69,0x6c,0x6c])](_0xf8c2ba[0x0]===_0x52d20b([0x2a])?_0x52d20b([0x2a]):'')[_0x52d20b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf8c2ba))[_0x52d20b([0x73,0x6f,0x6d,0x65])](_0x460e53=>_0x1d7f0d[_0x52d20b([0x65,0x76,0x65,0x72,0x79])]((_0x30bc3e,_0x28e89f)=>_0x460e53[_0x28e89f]===_0x30bc3e||_0x460e53[_0x28e89f]===_0x52d20b([0x2a])));}function _0x59a1c3(){return _0x229993&&_0x5a0955?new window[(_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c2013,_0xd5e82a)=>{_0x229993[_0x52d20b([0x74,0x68,0x65,0x6e])](_0x1c2013,_0xd5e82a),_0x5a0955[_0x52d20b([0x74,0x68,0x65,0x6e])](_0x1d371f=>{_0x1d371f!=_0x52d20b([0x56,0x61,0x6c,0x69,0x64])&&_0x1c2013(_0x1d371f);},_0xd5e82a);}):_0x229993||_0x5a0955||_0x52d20b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5dec66(_0x57f676,_0x4d8297){return new window[(_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x336abf=>{if(_0x88a530())return _0x336abf(_0x52d20b([0x56,0x61,0x6c,0x69,0x64]));_0x408e9f(),_0x13684c[_0x52d20b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52d20b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x190619=!0x1;const _0x31eec1=_0xd4c9cb();function _0x80a109(_0x9ab06f){return!!_0x9ab06f&&(typeof _0x9ab06f===_0x52d20b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9ab06f===_0x52d20b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9ab06f[_0x52d20b([0x74,0x68,0x65,0x6e])]===_0x52d20b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9ab06f[_0x52d20b([0x63,0x61,0x74,0x63,0x68])]===_0x52d20b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7dda9e(_0x3c73c2){_0x49b226(_0x3c73c2)[_0x52d20b([0x74,0x68,0x65,0x6e])](_0x5a9084=>{if(!_0x5a9084||_0x5a9084[_0x52d20b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52d20b([0x6f,0x6b]))return _0x52d20b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x542abb(_0x1e4387(_0x31eec1+_0x4d8297))!=_0x5a9084[_0x52d20b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52d20b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52d20b([0x56,0x61,0x6c,0x69,0x64]);})[_0x52d20b([0x74,0x68,0x65,0x6e])](_0x491418=>(_0x1acc1c(),_0x491418),()=>{const _0x235f96=_0x1ba858();return null==_0x235f96?(_0x1acc1c(),_0x52d20b([0x56,0x61,0x6c,0x69,0x64])):_0x52d20b(_0x390064-_0x235f96>(0x7753083a^_0xa8a893)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52d20b([0x74,0x68,0x65,0x6e])](_0x336abf)[_0x52d20b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x336abf(_0x52d20b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x314d1b=0x536962ba^_0xa8a893;function _0x1acc1c(){const _0x1436d4=_0x52d20b([0x6c,0x6c,0x63,0x74,0x2d])+_0x542abb(_0x1e4387(_0x57f676)),_0x42b6d7=_0x1b4829(_0x542abb(window[_0x52d20b([0x4d,0x61,0x74,0x68])][_0x52d20b([0x63,0x65,0x69,0x6c])](_0x390064/_0x314d1b)));window[_0x52d20b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52d20b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1436d4,_0x42b6d7);}function _0x1ba858(){const _0x36b2d1=_0x52d20b([0x6c,0x6c,0x63,0x74,0x2d])+_0x542abb(_0x1e4387(_0x57f676)),_0x181002=window[_0x52d20b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52d20b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36b2d1);return _0x181002?window[_0x52d20b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b4829(_0x181002),0x10)*_0x314d1b:null;}function _0x49b226(_0x19e72d){return new window[(_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e7711,_0x3b2a6d)=>{_0x19e72d[_0x52d20b([0x74,0x68,0x65,0x6e])](_0x4e7711,_0x3b2a6d),window[_0x52d20b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b2a6d,0x535e58fa^_0xa8a893);});}}_0x13684c[_0x52d20b([0x6f,0x6e])](_0x52d20b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44874f,_0x14e84a)=>{if(_0x14e84a[0x0]!=_0x57f676)return _0x336abf(_0x52d20b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14e84a[0x1]={..._0x14e84a[0x1],[_0x52d20b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31eec1};},{[_0x52d20b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52d20b([0x68,0x69,0x67,0x68])}),_0x13684c[_0x52d20b([0x6f,0x6e])](_0x52d20b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3eaa89=>{_0x80a109(_0x3eaa89[_0x52d20b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x190619=!0x0,_0x7dda9e(_0x3eaa89[_0x52d20b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52d20b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52d20b([0x6c,0x6f,0x77])}),_0x52cfd3[_0x52d20b([0x74,0x68,0x65,0x6e])](()=>{_0x190619||_0x336abf(_0x52d20b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x88a530(){return _0x13684c[_0x52d20b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52d20b([0x76,0x69,0x65,0x77])][_0x52d20b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52d20b([0x61,0x75,0x74,0x6f]);}function _0x408e9f(){_0x13684c[_0x52d20b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52d20b([0x76,0x69,0x65,0x77])][_0x52d20b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52d20b([0x61,0x75,0x74,0x6f]);}}function _0x1ff61f(_0x35fb53){const _0x5654b3=[new window[(_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d30a3=>setTimeout(_0x1d30a3,0x5356b2f6^_0xa8a893)),_0x52cfd3[_0x52d20b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bb63b=>{let _0xa665ac=0x0;_0x13684c[_0x52d20b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52d20b([0x6f,0x6e])](_0x52d20b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13bf07,_0x58a0c5)=>{_0x58a0c5[0x0][_0x52d20b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa665ac++,_0xa665ac==(0x535f89d2^_0xa8a893)&&(_0x3bb63b(),_0x13bf07[_0x52d20b([0x6f,0x66,0x66])]());});}))];return window[_0x52d20b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52d20b([0x72,0x61,0x63,0x65])](_0x5654b3)[_0x52d20b([0x74,0x68,0x65,0x6e])](()=>_0x35fb53);}async function _0x3c2654(){await _0x52cfd3,_0x13684c[_0x52d20b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52d20b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x215215,_0x13684c[_0x52d20b([0x6d,0x6f,0x64,0x65,0x6c])][_0x52d20b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x215215,_0x13684c[_0x52d20b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52d20b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2571d0(_0x54bf27){const _0x5d2e9b=_0x289862();_0x13684c[_0x5d2e9b]=_0x52d20b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54bf27,_0x54bf27!=_0x52d20b([0x56,0x61,0x6c,0x69,0x64])&&_0x3c2654();}function _0x289862(){const _0x4d23fd=window[_0x52d20b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52d20b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52d20b([0x6e,0x6f,0x77])]())[_0x52d20b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52d20b([0x2e]),'');let _0x473bfc=_0x52d20b([0x68]);for(let _0x2791da=0x0;_0x2791da<_0x4d23fd[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2791da+=0x2){let _0x591bc0=window[_0x52d20b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d23fd[_0x52d20b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2791da,_0x2791da+0x2));_0x591bc0>=_0xef3947[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x591bc0-=_0xef3947[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x473bfc+=_0xef3947[_0x591bc0];}return _0x473bfc;}function _0x5d9c3b(){const _0xeed8c4=_0x103375[_0x52d20b([0x73,0x70,0x6c,0x69,0x74])](_0x52d20b([0x2e]));if(0x3!=_0xeed8c4[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a8319(_0xeed8c4[0x1]);function _0x1a8319(_0x549846){const _0x5a857b=_0x2743f9(_0x549846);return _0x5a857b&&_0x30f910()?_0x5a857b:null;function _0x30f910(){const _0x5cf7d7=_0x5a857b[_0x52d20b([0x6a,0x74,0x69])],_0x52ff4b=window[_0x52d20b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cf7d7[_0x52d20b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cf7d7[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f5a22={..._0x5a857b,[_0x52d20b([0x6a,0x74,0x69])]:_0x5cf7d7[_0x52d20b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cf7d7[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f5a22[_0x52d20b([0x76,0x63])],_0x1e4387(_0x5f5a22)==_0x52ff4b;}}}async function _0x4cde6d(){let _0x516d43=!0x0;try{const _0x1d4147=_0x103375[_0x52d20b([0x73,0x70,0x6c,0x69,0x74])](_0x52d20b([0x2e])),[_0x35d5e3,_0x4b9408,_0x5e2e9b]=_0x1d4147;return _0x297827(_0x35d5e3),await _0x2d9b6b(_0x35d5e3,_0x4b9408,_0x5e2e9b),_0x516d43;}catch{return!0x1;}function _0x297827(_0x2db49b){const _0x5f4ccc=_0x2743f9(_0x2db49b);_0x5f4ccc&&_0x5f4ccc[_0x52d20b([0x61,0x6c,0x67])]==_0x52d20b([0x45,0x53,0x32,0x35,0x36])||(_0x516d43=!0x1);}async function _0x2d9b6b(_0x4ce81c,_0x37bc3b,_0x53a31a){const _0x229c52=window[_0x52d20b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52d20b([0x66,0x72,0x6f,0x6d])](_0x4cd759(_0x53a31a),_0x31f89c=>_0x31f89c[_0x52d20b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d513c=new window[(_0x52d20b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52d20b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ce81c+_0x52d20b([0x2e])+_0x37bc3b),_0x810079=window[_0x52d20b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52d20b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x810079)return;const _0x2cdab9=await _0x810079[_0x52d20b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52d20b([0x6a,0x77,0x6b]),_0x47c9d2,{[_0x52d20b([0x6e,0x61,0x6d,0x65])]:_0x52d20b([0x45,0x43,0x44,0x53,0x41]),[_0x52d20b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52d20b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52d20b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x810079[_0x52d20b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52d20b([0x6e,0x61,0x6d,0x65])]:_0x52d20b([0x45,0x43,0x44,0x53,0x41]),[_0x52d20b([0x68,0x61,0x73,0x68])]:{[_0x52d20b([0x6e,0x61,0x6d,0x65])]:_0x52d20b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cdab9,_0x229c52,_0x5d513c)||(_0x516d43=!0x1);}}function _0x2743f9(_0x5c8c15){return _0x5c8c15[_0x52d20b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52d20b([0x65,0x79]))?JSON[_0x52d20b([0x70,0x61,0x72,0x73,0x65])](_0x4cd759(_0x5c8c15)):null;}function _0x4cd759(_0x42d941){return window[_0x52d20b([0x61,0x74,0x6f,0x62])](_0x42d941[_0x52d20b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52d20b([0x2b]))[_0x52d20b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52d20b([0x2f])));}function _0x1e4387(_0x1a7181){let _0x29dd85=0x1505;function _0x2e1766(_0x17817e){for(let _0x265999=0x0;_0x265999<_0x17817e[_0x52d20b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x265999++){const _0x3c3118=_0x17817e[_0x52d20b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x265999);_0x29dd85=(_0x29dd85<<0x5)+_0x29dd85+_0x3c3118,_0x29dd85&=_0x29dd85;}}function _0xef3382(_0x5cea48){Array[_0x52d20b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cea48)?_0x5cea48[_0x52d20b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xef3382):_0x5cea48&&typeof _0x5cea48==_0x52d20b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52d20b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cea48)[_0x52d20b([0x73,0x6f,0x72,0x74])]()[_0x52d20b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x122e8d,_0x1b289e])=>{_0x2e1766(_0x122e8d),_0xef3382(_0x1b289e);}):_0x2e1766(window[_0x52d20b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cea48));}return _0xef3382(_0x1a7181),_0x29dd85>>>0x0;}function _0x542abb(_0x44735c){return _0x44735c[_0x52d20b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52d20b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52d20b([0x30]));}function _0x1b4829(_0x25d16a){return _0x25d16a[_0x52d20b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52d20b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52d20b([0x6a,0x6f,0x69,0x6e])]('');}function _0x215215(){}function _0x52d20b(_0x44b89d){const _0x219256=_0x13ee;return _0x44b89d[_0x219256(0x14f)](_0x3e4668=>String[_0x219256(0x146)](_0x3e4668))[_0x219256(0x156)]('');}_0x2571d0(await _0xbb5479());}(this);}[_0x1b8d5a(0x15d)](){const _0x32a233=_0x1b8d5a,_0x23797c=this[_0x32a233(0x17e)][_0x32a233(0x170)][_0x32a233(0x189)];_0x23797c[_0x32a233(0x179)](_0x32a233(0x187))&&_0x23797c[_0x32a233(0x176)](_0x32a233(0x187),{'allowAttributes':[_0x32a233(0x172)]}),_0x23797c[_0x32a233(0x179)](_0x32a233(0x159))&&_0x23797c[_0x32a233(0x176)](_0x32a233(0x159),{'allowAttributes':[_0x32a233(0x172)]});}[_0x1b8d5a(0x183)](){const _0x1f06d5=_0x1b8d5a,_0x3f8bbd=this[_0x1f06d5(0x17e)];_0x3f8bbd[_0x1f06d5(0x173)][_0x1f06d5(0x17c)](_0x1f06d5(0x184))[_0x1f06d5(0x194)]({'model':_0x1f06d5(0x172),'view':_0x1f06d5(0x160)}),_0x3f8bbd[_0x1f06d5(0x173)][_0x1f06d5(0x17c)](_0x1f06d5(0x188))[_0x1f06d5(0x175)]({'model':{'key':_0x1f06d5(0x172),'value':_0x2aa37d=>_0x2aa37d[_0x1f06d5(0x16c)](_0x1f06d5(0x160))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3cb500=_0x3f8bbd[_0x1f06d5(0x18f)][_0x1f06d5(0x193)](_0x1f06d5(0x149));_0x3cb500&&this[_0x1f06d5(0x14e)](_0x3cb500,_0x1f06d5(0x197),(_0x172c89,[_0x1ebf5c,_0x498945])=>{const _0x2712eb=_0x1f06d5;_0x1ebf5c[_0x2712eb(0x168)](_0x2712eb(0x172),_0x498945);});}[_0x1b8d5a(0x19d)](){const _0x10b8d3=_0x1b8d5a,_0x1a064d=this[_0x10b8d3(0x17e)][_0x10b8d3(0x157)][_0x10b8d3(0x193)](_0x10b8d3(0x178))||{},_0x31a8b3=this[_0x10b8d3(0x17e)][_0x10b8d3(0x157)][_0x10b8d3(0x193)](_0x10b8d3(0x17a))||'';this[_0x10b8d3(0x198)]=_0x16e442(_0x460fc6[_0x10b8d3(0x177)],_0x10b8d3(0x181),{..._0x1a064d,'pubkey':_0x31a8b3,'ctx-name':_0x10b8d3(0x18c)+this[_0x10b8d3(0x152)],'sourceList':'','imgOnly':_0x10b8d3(0x16b),'removeCopyright':_0x10b8d3(0x16b),'localeName':this[_0x10b8d3(0x17e)][_0x10b8d3(0x182)][_0x10b8d3(0x192)],'externalSourcesEmbedCss':_0x10b8d3(0x14a)}),this[_0x10b8d3(0x198)][_0x10b8d3(0x180)]=_0x1f0e0f=>{const _0x54799e=_0x10b8d3;if(_0x54799e(0x191)==_0x1f0e0f)return _0x54799e(0x18b);},_0x460fc6[_0x10b8d3(0x177)][_0x10b8d3(0x185)][_0x10b8d3(0x171)](this[_0x10b8d3(0x198)]);}[_0x1b8d5a(0x15a)](){const _0x21f536=_0x1b8d5a;this[_0x21f536(0x16d)]=_0x16e442(_0x460fc6[_0x21f536(0x177)],_0x21f536(0x19a),{'ctx-name':_0x21f536(0x18c)+this[_0x21f536(0x152)]}),_0x460fc6[_0x21f536(0x177)][_0x21f536(0x185)][_0x21f536(0x171)](this[_0x21f536(0x16d)]);}[_0x1b8d5a(0x158)](){const _0x4d0365=_0x1b8d5a,_0x43f95d=this[_0x4d0365(0x17e)][_0x4d0365(0x18f)][_0x4d0365(0x193)](_0x4d0365(0x165));_0x43f95d&&this[_0x4d0365(0x14e)](_0x43f95d,_0x4d0365(0x196),()=>{const _0x42d69d=_0x4d0365,_0x322d3f=this[_0x42d69d(0x17e)][_0x42d69d(0x170)][_0x42d69d(0x177)][_0x42d69d(0x15e)][_0x42d69d(0x18e)]();_0x322d3f&&_0x322d3f[_0x42d69d(0x16c)](_0x42d69d(0x172))&&this[_0x42d69d(0x17e)][_0x42d69d(0x15b)][_0x42d69d(0x17b)][_0x42d69d(0x15f)](_0x42d69d(0x199),()=>{const _0x544e73=_0x42d69d;_0x1ba488(this[_0x544e73(0x17e)],_0x322d3f);});});const _0x5ddb43=this[_0x4d0365(0x17e)][_0x4d0365(0x18f)][_0x4d0365(0x193)](_0x4d0365(0x18a));_0x5ddb43&&this[_0x4d0365(0x14e)](_0x5ddb43,_0x4d0365(0x196),()=>{const _0x42862d=_0x4d0365,_0x43d5db=this[_0x42862d(0x17e)][_0x42862d(0x170)][_0x42862d(0x177)][_0x42862d(0x15e)][_0x42862d(0x18e)]();_0x43d5db&&_0x43d5db[_0x42862d(0x16c)](_0x42862d(0x172))&&this[_0x42862d(0x17e)][_0x42862d(0x15b)][_0x42862d(0x17b)][_0x42862d(0x15f)](_0x42862d(0x199),()=>{const _0x6f5d2f=_0x42862d;_0x1ba488(this[_0x6f5d2f(0x17e)],_0x43d5db);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x512580,ObservableMixin as _0x44de94}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x118bde}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4facdd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1eb74a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3b54de}from'../../utils/uploadutils.js';import{getImageUrls as _0x4de195,getImageDimension as _0x13d4ec}from'../../utils/editingutils.js';import{isAncestor as _0x30846e}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x44de94(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x304e59,_0x54bda0,_0x521566){super(),this['_editor']=_0x304e59,this['_dialog']=_0x54bda0,this['_imageElement']=_0x521566,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 _0x384a11=this['_imageElement'],_0x914666=_0x384a11['getAttribute']('uploadcareImageId'),_0x2ac35a=_0x384a11['getAttribute']('src');if(_0x914666)await this['_loadImageInfo'](_0x914666,_0x2ac35a);else{if(this['_imageCache']['has'](_0x2ac35a)){const _0x2ea720=this['_imageCache']['get'](_0x2ac35a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ea720['url'],this['imageDimension']=_0x2ea720['dimension'],this['imageId']=_0x2ea720['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5299bb}=this['_editor'],t=_0x5299bb['t'],_0x3c1171=new _0x1eb74a(_0x5299bb,this['imageStatus'],this['_attributes']);_0x3c1171['bind']('status')['to'](this,'imageStatus'),_0x3c1171['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c1171['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c1171['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c1171,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4facdd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c1171,'position':_0x118bde['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c1171['focus']();},'onHide':()=>{_0x3c1171['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e69f4=>!_0x30846e(_0x4e69f4,_0x3c1171['element'])}});}['_loadImageInfo'](_0x3896fa,_0x558853){return _0x3b54de['getInfo'](_0x3896fa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4a8aa4=>{const {width:_0xcb874f,height:_0x1f5454}=_0x4a8aa4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x558853,this['imageDimension']={'width':_0xcb874f,'height':_0x1f5454},this['imageId']=_0x3896fa;})['catch'](_0x1f0027=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f0027['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x24667c,_0xfee29f){return this['_getImageAsFile'](_0x24667c)['then'](_0x35ef76=>_0x3b54de['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xfee29f['signal'],'file':_0x35ef76,'onProgress':_0xa681aa=>{_0xa681aa&&_0xa681aa['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa681aa['value']));}}))['then'](_0x42cabd=>{const {width:_0x4d15f2,height:_0x29225e}=_0x42cabd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42cabd['cdnUrl'],this['imageDimension']={'width':_0x4d15f2,'height':_0x29225e},this['imageId']=_0x42cabd['uuid'],this['imageUploadProgress']=null;const _0x4f90b4=_0x24667c['getAttribute']('src');this['_imageCache']['set'](_0x4f90b4,{'id':_0x42cabd['uuid'],'url':_0x42cabd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5a8604=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a8604['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4cbf85,_0x105501){_0x4cbf85['on']('apply',(_0x34b6d5,_0x5a1b98)=>{this['_replaceImage'](_0x105501,_0x5a1b98['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4cbf85['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4cbf85['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3c9f3c,_0x3467cc,_0x6e7c3a){const _0x1c0a7f=this['_editor'],{width:_0x19d499,height:_0x5c82a8}=_0x13d4ec(_0x3467cc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x459941,imageSources:_0x2c5310}=_0x4de195(_0x3467cc,_0x19d499);_0x1c0a7f['model']['change'](_0x1bb536=>{if('$graveyard'===_0x3c9f3c['root']['rootName']){_0x1c0a7f['execute']('insertImage',{'imageType':_0x3c9f3c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3c9f3c['getAttributes']()),'uploadcareImageId':_0x6e7c3a,'src':_0x459941,'sources':_0x2c5310,'width':_0x19d499,'height':_0x5c82a8}});const _0x50a9f5=_0x3c9f3c['getChildren']();_0x3c9f3c=_0x1c0a7f['model']['document']['selection']['getSelectedElement']();for(const _0x15144f of _0x50a9f5)_0x1bb536['append'](_0x1bb536['cloneElement'](_0x15144f),_0x3c9f3c);}else _0x1bb536['setSelection'](_0x3c9f3c,'on'),_0x1c0a7f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3c9f3c['getAttributes']()),'uploadcareImageId':_0x6e7c3a,'src':_0x459941,'sources':_0x2c5310,'width':_0x19d499,'height':_0x5c82a8},_0x3c9f3c);_0x1bb536['setSelection'](_0x3c9f3c,'on');});}async['_getImageAsFile'](_0x3d702b){const _0x1fb36d=_0x512580['window'],_0x5515c6=_0x512580['document']['location']['href'],_0x5f1785=new _0x1fb36d['URL'](_0x3d702b['getAttribute']('src'),_0x5515c6);if('data:'===_0x5f1785['protocol']){const _0x3129f9=_0x5f1785['href']['split'](','),_0x5de92e=_0x3129f9[0x0]['match'](/:(.*?);/)[0x1],_0xb629a4=_0x5de92e['split']('/')[0x1],_0x9695d9=_0x1fb36d['atob'](_0x3129f9[_0x3129f9['length']-0x1]);let _0x6f1ae9=_0x9695d9['length'];const _0x3ad5d8=new _0x1fb36d['Uint8Array'](_0x6f1ae9);for(;_0x6f1ae9--;)_0x3ad5d8[_0x6f1ae9]=_0x9695d9['charCodeAt'](_0x6f1ae9);return new _0x1fb36d['File']([_0x3ad5d8],'image.'+_0xb629a4,{'type':_0x5de92e});}const _0x2ace37=_0x5f1785['href']['split']('/'),_0x59d32f=_0x2ace37[_0x2ace37['length']-0x1],_0x3ef7c6=_0x59d32f['split']('.')[0x1];return _0x1fb36d['fetch'](_0x5f1785['href'])['then'](_0x369a69=>_0x369a69['clone']()['blob']())['then'](_0x36fb3f=>new _0x1fb36d['File']([_0x36fb3f],_0x59d32f,{'type':'image/'+_0x3ef7c6}));}}
23
+ import{global as _0x44ae7a,ObservableMixin as _0x545daa}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4f7b14}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9c82f5}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4116fa}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23f619}from'../../utils/uploadutils.js';import{getImageUrls as _0x3da9db,getImageDimension as _0x3d0b40}from'../../utils/editingutils.js';import{isAncestor as _0x359310}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x545daa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x35dbc5,_0x273156,_0x5405a2){super(),this['_editor']=_0x35dbc5,this['_dialog']=_0x273156,this['_imageElement']=_0x5405a2,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 _0x27a99d=this['_imageElement'],_0x50d857=_0x27a99d['getAttribute']('uploadcareImageId'),_0x13909f=_0x27a99d['getAttribute']('src');if(_0x50d857)await this['_loadImageInfo'](_0x50d857,_0x13909f);else{if(this['_imageCache']['has'](_0x13909f)){const _0x1f1f27=this['_imageCache']['get'](_0x13909f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f1f27['url'],this['imageDimension']=_0x1f1f27['dimension'],this['imageId']=_0x1f1f27['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x15f25a}=this['_editor'],t=_0x15f25a['t'],_0xe6cdb8=new _0x4116fa(_0x15f25a,this['imageStatus'],this['_attributes']);_0xe6cdb8['bind']('status')['to'](this,'imageStatus'),_0xe6cdb8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe6cdb8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe6cdb8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe6cdb8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9c82f5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe6cdb8,'position':_0x4f7b14['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe6cdb8['focus']();},'onHide':()=>{_0xe6cdb8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x20ccec=>!_0x359310(_0x20ccec,_0xe6cdb8['element'])}});}['_loadImageInfo'](_0x381163,_0x2d3cbc){return _0x23f619['getInfo'](_0x381163,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xb7bf33=>{const {width:_0xde07e0,height:_0x14c713}=_0xb7bf33['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d3cbc,this['imageDimension']={'width':_0xde07e0,'height':_0x14c713},this['imageId']=_0x381163;})['catch'](_0x38ad06=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38ad06['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x590ec6,_0x112c24){return this['_getImageAsFile'](_0x590ec6)['then'](_0x15f739=>_0x23f619['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x112c24['signal'],'file':_0x15f739,'onProgress':_0x574b25=>{_0x574b25&&_0x574b25['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x574b25['value']));}}))['then'](_0x3e62af=>{const {width:_0x1bc53e,height:_0x465ca3}=_0x3e62af['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e62af['cdnUrl'],this['imageDimension']={'width':_0x1bc53e,'height':_0x465ca3},this['imageId']=_0x3e62af['uuid'],this['imageUploadProgress']=null;const _0xd6d230=_0x590ec6['getAttribute']('src');this['_imageCache']['set'](_0xd6d230,{'id':_0x3e62af['uuid'],'url':_0x3e62af['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x85a320=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x85a320['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x28172c,_0x20b012){_0x28172c['on']('apply',(_0xffbeb1,_0x27cf95)=>{this['_replaceImage'](_0x20b012,_0x27cf95['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x28172c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x28172c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5eec5a,_0xa94fdf,_0x1afbf3){const _0x14370c=this['_editor'],{width:_0x5d2857,height:_0x5747df}=_0x3d0b40(_0xa94fdf,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x44dfdf,imageSources:_0x10dcac}=_0x3da9db(_0xa94fdf,_0x5d2857);_0x14370c['model']['change'](_0x21ace0=>{if('$graveyard'===_0x5eec5a['root']['rootName']){_0x14370c['execute']('insertImage',{'imageType':_0x5eec5a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5eec5a['getAttributes']()),'uploadcareImageId':_0x1afbf3,'src':_0x44dfdf,'sources':_0x10dcac,'width':_0x5d2857,'height':_0x5747df}});const _0x42a6a4=_0x5eec5a['getChildren']();_0x5eec5a=_0x14370c['model']['document']['selection']['getSelectedElement']();for(const _0x11fbc9 of _0x42a6a4)_0x21ace0['append'](_0x21ace0['cloneElement'](_0x11fbc9),_0x5eec5a);}else _0x21ace0['setSelection'](_0x5eec5a,'on'),_0x14370c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5eec5a['getAttributes']()),'uploadcareImageId':_0x1afbf3,'src':_0x44dfdf,'sources':_0x10dcac,'width':_0x5d2857,'height':_0x5747df},_0x5eec5a);_0x21ace0['setSelection'](_0x5eec5a,'on');});}async['_getImageAsFile'](_0x3e473d){const _0x293dbc=_0x44ae7a['window'],_0x16490b=_0x44ae7a['document']['location']['href'],_0xd1091e=new _0x293dbc['URL'](_0x3e473d['getAttribute']('src'),_0x16490b);if('data:'===_0xd1091e['protocol']){const _0x4ef9e1=_0xd1091e['href']['split'](','),_0x370d78=_0x4ef9e1[0x0]['match'](/:(.*?);/)[0x1],_0x578a67=_0x370d78['split']('/')[0x1],_0x250459=_0x293dbc['atob'](_0x4ef9e1[_0x4ef9e1['length']-0x1]);let _0x4592c8=_0x250459['length'];const _0x278621=new _0x293dbc['Uint8Array'](_0x4592c8);for(;_0x4592c8--;)_0x278621[_0x4592c8]=_0x250459['charCodeAt'](_0x4592c8);return new _0x293dbc['File']([_0x278621],'image.'+_0x578a67,{'type':_0x370d78});}const _0x2b3291=_0xd1091e['href']['split']('/'),_0x48dfd3=_0x2b3291[_0x2b3291['length']-0x1],_0x350ce6=_0x48dfd3['split']('.')[0x1];return _0x293dbc['fetch'](_0xd1091e['href'])['then'](_0x542dee=>_0x542dee['clone']()['blob']())['then'](_0x3422ac=>new _0x293dbc['File']([_0x3422ac],_0x48dfd3,{'type':'image/'+_0x350ce6}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x22fcab,_0xaab7e9){const _0x3dbd37=_0x5b10,_0x25177f=_0x22fcab();while(!![]){try{const _0x4203bd=-parseInt(_0x3dbd37(0xd7))/0x1+-parseInt(_0x3dbd37(0xdb))/0x2+-parseInt(_0x3dbd37(0xe0))/0x3+-parseInt(_0x3dbd37(0xdf))/0x4*(-parseInt(_0x3dbd37(0xd0))/0x5)+-parseInt(_0x3dbd37(0xd5))/0x6+parseInt(_0x3dbd37(0xd3))/0x7*(parseInt(_0x3dbd37(0xd9))/0x8)+parseInt(_0x3dbd37(0xda))/0x9;if(_0x4203bd===_0xaab7e9)break;else _0x25177f['push'](_0x25177f['shift']());}catch(_0x6e07d){_0x25177f['push'](_0x25177f['shift']());}}}(_0x2c03,0x7f84c));function _0x2c03(){const _0x5a1285=['2032930slepXP','set','imageSrc','setTemplate','282868LAqDci','594345FHLQUR','30RfChJF','uc-light','bindTemplate','7FsZVkA','uc-cloud-image-editor','280200BoqaLL','ck-uploadcare-theme','770864OYdFlU','image-edit','6340136QsmKnD','12038769oOAYEC'];_0x2c03=function(){return _0x5a1285;};return _0x2c03();}function _0x5b10(_0x2e89a6,_0x449cf){const _0x2c036f=_0x2c03();return _0x5b10=function(_0x5b1077,_0x408822){_0x5b1077=_0x5b1077-0xd0;let _0x20b96b=_0x2c036f[_0x5b1077];return _0x20b96b;},_0x5b10(_0x2e89a6,_0x449cf);}import{View as _0x572cce}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x572cce{constructor(_0x358650,_0x46b012){const _0x260968=_0x5b10;super(_0x358650);const _0x5923fa=this[_0x260968(0xd2)];this[_0x260968(0xdc)](_0x260968(0xdd),''),this[_0x260968(0xde)]({'tag':_0x260968(0xd4),'attributes':{..._0x46b012,'class':[_0x260968(0xd1),_0x260968(0xd6)],'ctx-name':_0x260968(0xd8),'cdn-url':_0x5923fa['to'](_0x260968(0xdd))}});}}
23
+ (function(_0xe0af57,_0x4431a6){const _0x565045=_0x24c6,_0x51026e=_0xe0af57();while(!![]){try{const _0x5f0d1f=-parseInt(_0x565045(0x1d9))/0x1*(parseInt(_0x565045(0x1df))/0x2)+parseInt(_0x565045(0x1ea))/0x3*(-parseInt(_0x565045(0x1e5))/0x4)+-parseInt(_0x565045(0x1e8))/0x5+-parseInt(_0x565045(0x1e1))/0x6+-parseInt(_0x565045(0x1e7))/0x7*(parseInt(_0x565045(0x1de))/0x8)+parseInt(_0x565045(0x1e4))/0x9+parseInt(_0x565045(0x1dc))/0xa*(parseInt(_0x565045(0x1e9))/0xb);if(_0x5f0d1f===_0x4431a6)break;else _0x51026e['push'](_0x51026e['shift']());}catch(_0x2ac619){_0x51026e['push'](_0x51026e['shift']());}}}(_0x23f1,0xcdbda));import{View as _0x45f8e4}from'ckeditor5/src/ui.js';function _0x24c6(_0x423f46,_0x24c105){const _0x23f1c8=_0x23f1();return _0x24c6=function(_0x24c64d,_0xc002b6){_0x24c64d=_0x24c64d-0x1d8;let _0x32506d=_0x23f1c8[_0x24c64d];return _0x32506d;},_0x24c6(_0x423f46,_0x24c105);}function _0x23f1(){const _0x2e9e6a=['2407650bnEUNu','uc-cloud-image-editor','98168nkliTm','17462BZSaiv','imageSrc','4640154AKwTMG','setTemplate','set','5241402nNjETa','10776FLSOrV','ck-uploadcare-theme','497IWlUre','4897450IlBSYN','165wnUciG','411lursyG','image-edit','41PrRsxL','bindTemplate','uc-light'];_0x23f1=function(){return _0x2e9e6a;};return _0x23f1();}export class UploadcareImageEditFormEditingView extends _0x45f8e4{constructor(_0x120a00,_0x4b7923){const _0x41673d=_0x24c6;super(_0x120a00);const _0x9c2875=this[_0x41673d(0x1da)];this[_0x41673d(0x1e3)](_0x41673d(0x1e0),''),this[_0x41673d(0x1e2)]({'tag':_0x41673d(0x1dd),'attributes':{..._0x4b7923,'class':[_0x41673d(0x1db),_0x41673d(0x1e6)],'ctx-name':_0x41673d(0x1d8),'cdn-url':_0x9c2875['to'](_0x41673d(0x1e0))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3fb6cc}from'ckeditor5/src/icons.js';import{ButtonView as _0x282890,IconView as _0x3075dc,View as _0x145c69}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x145c69{constructor(_0x9cd1ae){super(_0x9cd1ae);const t=_0x9cd1ae['t'];this['set']('errorType',null);const _0x3ac43d=new _0x282890(_0x9cd1ae);_0x3ac43d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3ac43d['withText']=!0x0,_0x3ac43d['class']='ck-button-action',_0x3ac43d['on']('execute',()=>{this['fire']('retry');}),_0x3ac43d['bind']('isVisible')['to'](this,'errorType',_0x32c9ac=>'NotFound'!==_0x32c9ac);const _0x3d7d1c=new _0x3075dc();_0x3d7d1c['content']=_0x3fb6cc,_0x3d7d1c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f422=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':[_0x3d7d1c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f422['to']('errorType',_0x3585b8=>t('NotFound'!==_0x3585b8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3ac43d]},{'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 _0x2e910c}from'ckeditor5/src/icons.js';import{ButtonView as _0x14903d,IconView as _0x3ac606,View as _0x505401}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x505401{constructor(_0x5b1f9a){super(_0x5b1f9a);const t=_0x5b1f9a['t'];this['set']('errorType',null);const _0x209db7=new _0x14903d(_0x5b1f9a);_0x209db7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x209db7['withText']=!0x0,_0x209db7['class']='ck-button-action',_0x209db7['on']('execute',()=>{this['fire']('retry');}),_0x209db7['bind']('isVisible')['to'](this,'errorType',_0x330219=>'NotFound'!==_0x330219);const _0x55441c=new _0x3ac606();_0x55441c['content']=_0x2e910c,_0x55441c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd31131=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':[_0x55441c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd31131['to']('errorType',_0x4f25a8=>t('NotFound'!==_0x4f25a8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x209db7]},{'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 _0x5b342a,View as _0xf6a849}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xf6a849{constructor(_0x40ae9b){super(_0x40ae9b);const t=_0x40ae9b['t'],_0x5dbce9=this['bindTemplate'],_0x155fff=new _0x5b342a();_0x155fff['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':[_0x155fff,{'text':_0x5dbce9['to']('imageUploadProgress',_0x5010cb=>t('Loading\x20image...')+'\x20('+(_0x5010cb||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 _0x28b1ee,View as _0x18c7a7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x18c7a7{constructor(_0xe671c2){super(_0xe671c2);const t=_0xe671c2['t'],_0x5764a8=this['bindTemplate'],_0x4734f7=new _0x28b1ee();_0x4734f7['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':[_0x4734f7,{'text':_0x5764a8['to']('imageUploadProgress',_0xaa8851=>t('Loading\x20image...')+'\x20('+(_0xaa8851||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 _0x2ab506=_0x5afc;(function(_0x51f11c,_0x5e4c98){const _0x69ef5b=_0x5afc,_0x5eb31f=_0x51f11c();while(!![]){try{const _0x1297bf=-parseInt(_0x69ef5b(0xe5))/0x1+-parseInt(_0x69ef5b(0xbd))/0x2*(-parseInt(_0x69ef5b(0xdb))/0x3)+parseInt(_0x69ef5b(0xe8))/0x4+-parseInt(_0x69ef5b(0xc7))/0x5+parseInt(_0x69ef5b(0xb8))/0x6*(parseInt(_0x69ef5b(0xe4))/0x7)+parseInt(_0x69ef5b(0xd8))/0x8+-parseInt(_0x69ef5b(0xde))/0x9*(parseInt(_0x69ef5b(0xdd))/0xa);if(_0x1297bf===_0x5e4c98)break;else _0x5eb31f['push'](_0x5eb31f['shift']());}catch(_0x171b44){_0x5eb31f['push'](_0x5eb31f['shift']());}}}(_0x3501,0x2db34));import{View as _0x46fcd0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x18220f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4a6a36}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1e8267}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x52bf73}from'../../utils/dialogfocusmanagerview.js';function _0x3501(){const _0x20ba9f=['_editingView','nodeName','_focusableView','div','length','2103376AObKZh','ck-reset_all-excluded','uploading','754833lvyWLJ','_loadingView','32920qxIpNQ','36VwKFHF','focus','filter','clear','addEventListener','_items','10423eRzJMI','345013YHstXF','add','cancel','536180VCxmiN','_setView','setTemplate','error','toLowerCase','querySelector','retry','726ZSkOLj','element','detail','target','render','2GflhUr','_addErrorViewListeners','cdnUrl','getFocusableElement','set','addMany','fire','change:status','status','_addUploadcareImageEditorListeners','1416890mPFPGB','ck-uploadcare-form','observe','createCollection','uc-cloud-image-editor','_errorView','apply','_waitForImageEditorComponent','addedNodes','ready','once','disconnect'];_0x3501=function(){return _0x20ba9f;};return _0x3501();}import'../../../theme/uploadcare-form.css';function _0x5afc(_0x5ac121,_0x45a4ac){const _0x350166=_0x3501();return _0x5afc=function(_0x5afce2,_0x4e6b99){_0x5afce2=_0x5afce2-0xb2;let _0x247717=_0x350166[_0x5afce2];return _0x247717;},_0x5afc(_0x5ac121,_0x45a4ac);}export class UploadcareImageEditFormView extends _0x52bf73{[_0x2ab506(0xe3)];[_0x2ab506(0xdc)];[_0x2ab506(0xcc)];[_0x2ab506(0xd3)];[_0x2ab506(0xd5)];constructor(_0x3f3993,_0xf36e19,_0x5705ba){const _0xa9aba1=_0x2ab506;super(_0x3f3993),this[_0xa9aba1(0xe3)]=this[_0xa9aba1(0xca)](),this[_0xa9aba1(0xdc)]=new _0x18220f(_0x3f3993),this[_0xa9aba1(0xcc)]=new _0x4a6a36(_0x3f3993),this[_0xa9aba1(0xd3)]=new _0x1e8267(_0x3f3993,_0x5705ba),this[_0xa9aba1(0xd5)]=new _0x46fcd0(_0x3f3993),this[_0xa9aba1(0xd5)][_0xa9aba1(0xb3)](this[_0xa9aba1(0xc0)]()),this[_0xa9aba1(0xc1)](_0xa9aba1(0xc5),_0xf36e19),this[_0xa9aba1(0xb3)]({'tag':_0xa9aba1(0xd6),'attributes':{'class':['ck',_0xa9aba1(0xd9),_0xa9aba1(0xc8)],'tabindex':'-1'},'children':this[_0xa9aba1(0xe3)]}),this[_0xa9aba1(0xb2)](),this[_0xa9aba1(0xd1)](_0xa9aba1(0xbc),()=>{const _0x1ccd84=_0xa9aba1;this[_0x1ccd84(0xce)](this[_0x1ccd84(0xb9)],_0x437dd0=>{const _0x53097b=_0x1ccd84;this[_0x53097b(0xc6)](_0x437dd0);});}),this['on'](_0xa9aba1(0xc4),()=>{const _0x1097a3=_0xa9aba1;this[_0x1097a3(0xb2)]();}),this[_0xa9aba1(0xbe)]();}[_0x2ab506(0xdf)](){const _0x4bca32=_0x2ab506;this[_0x4bca32(0xb9)][_0x4bca32(0xdf)]();}[_0x2ab506(0xb2)](){const _0x1c162f=_0x2ab506;switch(this[_0x1c162f(0xe3)][_0x1c162f(0xe1)](),this[_0x1c162f(0xc5)]){case _0x1c162f(0xda):this[_0x1c162f(0xe3)][_0x1c162f(0xe6)](this[_0x1c162f(0xdc)]);break;case _0x1c162f(0xb4):this[_0x1c162f(0xe3)][_0x1c162f(0xe6)](this[_0x1c162f(0xcc)]);break;case _0x1c162f(0xd0):this[_0x1c162f(0xe3)][_0x1c162f(0xc2)]([this[_0x1c162f(0xd3)],this[_0x1c162f(0xd5)]]);}}[_0x2ab506(0xce)](_0x44f7c6,_0x566bc5){const _0x4177e1=_0x2ab506,_0x4de960=_0x4177e1(0xcb),_0x85aa4d=_0x44f7c6[_0x4177e1(0xb6)](_0x4de960);if(_0x85aa4d)return _0x566bc5(_0x85aa4d);const _0x4c9353=new MutationObserver(_0x4640e5=>{const _0x22fb84=_0x4177e1,_0x2b01c6=_0x4640e5[_0x22fb84(0xe0)](_0x5d3bbf=>_0x5d3bbf[_0x22fb84(0xbb)]===_0x44f7c6&&_0x5d3bbf[_0x22fb84(0xcf)][_0x22fb84(0xd7)]>0x0&&_0x5d3bbf[_0x22fb84(0xcf)][0x0][_0x22fb84(0xd4)][_0x22fb84(0xb5)]()===_0x4de960);_0x2b01c6[_0x22fb84(0xd7)]&&(_0x4c9353[_0x22fb84(0xd2)](),_0x566bc5(_0x2b01c6[0x0][_0x22fb84(0xcf)][0x0]));});_0x4c9353[_0x4177e1(0xc9)](_0x44f7c6,{'childList':!0x0,'subtree':!0x0});}[_0x2ab506(0xc6)](_0x2366c3){const _0x7d11fb=_0x2ab506;_0x2366c3[_0x7d11fb(0xe2)](_0x7d11fb(0xcd),_0x16a9da=>{const _0x115be0=_0x7d11fb;this[_0x115be0(0xc3)](_0x115be0(0xcd),{'imageSrc':_0x16a9da[_0x115be0(0xba)][_0x115be0(0xbf)]});}),_0x2366c3[_0x7d11fb(0xe2)](_0x7d11fb(0xe7),()=>{const _0x2ccde2=_0x7d11fb;this[_0x2ccde2(0xc3)](_0x2ccde2(0xe7));});}[_0x2ab506(0xbe)](){const _0x117c7c=_0x2ab506;this[_0x117c7c(0xcc)]['on'](_0x117c7c(0xb7),()=>{const _0x7d7705=_0x117c7c;this[_0x7d7705(0xc3)](_0x7d7705(0xb7));});}}
23
+ const _0x47c48c=_0x5695;(function(_0x6e3198,_0x11f351){const _0x52ace8=_0x5695,_0x3f5a75=_0x6e3198();while(!![]){try{const _0x37eae6=parseInt(_0x52ace8(0xf6))/0x1*(parseInt(_0x52ace8(0xfa))/0x2)+parseInt(_0x52ace8(0xe2))/0x3*(-parseInt(_0x52ace8(0xe5))/0x4)+parseInt(_0x52ace8(0xec))/0x5+parseInt(_0x52ace8(0xe3))/0x6+-parseInt(_0x52ace8(0xe4))/0x7*(parseInt(_0x52ace8(0x102))/0x8)+-parseInt(_0x52ace8(0x106))/0x9*(-parseInt(_0x52ace8(0xeb))/0xa)+-parseInt(_0x52ace8(0x115))/0xb*(parseInt(_0x52ace8(0x114))/0xc);if(_0x37eae6===_0x11f351)break;else _0x3f5a75['push'](_0x3f5a75['shift']());}catch(_0x3b18e2){_0x3f5a75['push'](_0x3f5a75['shift']());}}}(_0x3530,0x22f14));import{View as _0x2235a5}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x52ca0e}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3efc05}from'./uploadcareimageeditformerrorview.js';function _0x5695(_0x87dda6,_0x7e243b){const _0x35304d=_0x3530();return _0x5695=function(_0x5695ad,_0x4a9b43){_0x5695ad=_0x5695ad-0xe1;let _0x22540a=_0x35304d[_0x5695ad];return _0x22540a;},_0x5695(_0x87dda6,_0x7e243b);}function _0x3530(){const _0x32f3fe=['1458264pffGRP','11ExUnqt','setTemplate','toLowerCase','focus','addEventListener','_focusableView','279987rOnvNZ','1676304BSuzZa','42LynzaP','8GZZCuy','_waitForImageEditorComponent','retry','_addErrorViewListeners','length','detail','1046410maTSoy','628070ZNulax','cdnUrl','nodeName','_editingView','_addUploadcareImageEditorListeners','ready','add','disconnect','change:status','cancel','3CGdURd','div','createCollection','uc-cloud-image-editor','70974dREUaS','_loadingView','_items','set','clear','ck-uploadcare-form','observe','querySelector','219728LNPJGt','element','getFocusableElement','filter','9bgkkkv','addMany','ck-reset_all-excluded','addedNodes','error','apply','target','fire','_setView','once','render','status','_errorView','uploading'];_0x3530=function(){return _0x32f3fe;};return _0x3530();}import{UploadcareImageEditFormEditingView as _0x565749}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x200d01}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x200d01{[_0x47c48c(0xfc)];[_0x47c48c(0xfb)];[_0x47c48c(0x112)];[_0x47c48c(0xef)];[_0x47c48c(0xe1)];constructor(_0x4f5185,_0x3a71e9,_0x4df1f7){const _0x48717d=_0x47c48c;super(_0x4f5185),this[_0x48717d(0xfc)]=this[_0x48717d(0xf8)](),this[_0x48717d(0xfb)]=new _0x52ca0e(_0x4f5185),this[_0x48717d(0x112)]=new _0x3efc05(_0x4f5185),this[_0x48717d(0xef)]=new _0x565749(_0x4f5185,_0x4df1f7),this[_0x48717d(0xe1)]=new _0x2235a5(_0x4f5185),this[_0x48717d(0xe1)][_0x48717d(0x116)](this[_0x48717d(0x104)]()),this[_0x48717d(0xfd)](_0x48717d(0x111),_0x3a71e9),this[_0x48717d(0x116)]({'tag':_0x48717d(0xf7),'attributes':{'class':['ck',_0x48717d(0x108),_0x48717d(0xff)],'tabindex':'-1'},'children':this[_0x48717d(0xfc)]}),this[_0x48717d(0x10e)](),this[_0x48717d(0x10f)](_0x48717d(0x110),()=>{const _0x30f23d=_0x48717d;this[_0x30f23d(0xe6)](this[_0x30f23d(0x103)],_0x6c256e=>{const _0x3558ed=_0x30f23d;this[_0x3558ed(0xf0)](_0x6c256e);});}),this['on'](_0x48717d(0xf4),()=>{const _0x574d06=_0x48717d;this[_0x574d06(0x10e)]();}),this[_0x48717d(0xe8)]();}[_0x47c48c(0x118)](){const _0x33df98=_0x47c48c;this[_0x33df98(0x103)][_0x33df98(0x118)]();}[_0x47c48c(0x10e)](){const _0x2e94f6=_0x47c48c;switch(this[_0x2e94f6(0xfc)][_0x2e94f6(0xfe)](),this[_0x2e94f6(0x111)]){case _0x2e94f6(0x113):this[_0x2e94f6(0xfc)][_0x2e94f6(0xf2)](this[_0x2e94f6(0xfb)]);break;case _0x2e94f6(0x10a):this[_0x2e94f6(0xfc)][_0x2e94f6(0xf2)](this[_0x2e94f6(0x112)]);break;case _0x2e94f6(0xf1):this[_0x2e94f6(0xfc)][_0x2e94f6(0x107)]([this[_0x2e94f6(0xef)],this[_0x2e94f6(0xe1)]]);}}[_0x47c48c(0xe6)](_0x1b72aa,_0x4418d6){const _0x553351=_0x47c48c,_0x4bfd51=_0x553351(0xf9),_0x4b0b7c=_0x1b72aa[_0x553351(0x101)](_0x4bfd51);if(_0x4b0b7c)return _0x4418d6(_0x4b0b7c);const _0x5ed17e=new MutationObserver(_0x5acffd=>{const _0x4eabb4=_0x553351,_0x35106d=_0x5acffd[_0x4eabb4(0x105)](_0x48d888=>_0x48d888[_0x4eabb4(0x10c)]===_0x1b72aa&&_0x48d888[_0x4eabb4(0x109)][_0x4eabb4(0xe9)]>0x0&&_0x48d888[_0x4eabb4(0x109)][0x0][_0x4eabb4(0xee)][_0x4eabb4(0x117)]()===_0x4bfd51);_0x35106d[_0x4eabb4(0xe9)]&&(_0x5ed17e[_0x4eabb4(0xf3)](),_0x4418d6(_0x35106d[0x0][_0x4eabb4(0x109)][0x0]));});_0x5ed17e[_0x553351(0x100)](_0x1b72aa,{'childList':!0x0,'subtree':!0x0});}[_0x47c48c(0xf0)](_0x3182bf){const _0x378e4d=_0x47c48c;_0x3182bf[_0x378e4d(0x119)](_0x378e4d(0x10b),_0x4649e6=>{const _0x421704=_0x378e4d;this[_0x421704(0x10d)](_0x421704(0x10b),{'imageSrc':_0x4649e6[_0x421704(0xea)][_0x421704(0xed)]});}),_0x3182bf[_0x378e4d(0x119)](_0x378e4d(0xf5),()=>{const _0x904e73=_0x378e4d;this[_0x904e73(0x10d)](_0x904e73(0xf5));});}[_0x47c48c(0xe8)](){const _0x3547f9=_0x47c48c;this[_0x3547f9(0x112)]['on'](_0x3547f9(0xe7),()=>{const _0x1bd5c2=_0x3547f9;this[_0x1bd5c2(0x10d)](_0x1bd5c2(0xe7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f1b(_0x22f58e,_0x16100d){const _0x4f8394=_0x4f83();return _0x1f1b=function(_0x1f1bfe,_0x683828){_0x1f1bfe=_0x1f1bfe-0x140;let _0x36b4b1=_0x4f8394[_0x1f1bfe];return _0x36b4b1;},_0x1f1b(_0x22f58e,_0x16100d);}const _0x5cd9b1=_0x1f1b;(function(_0x2de81c,_0x259f17){const _0x3d0edc=_0x1f1b,_0x34518f=_0x2de81c();while(!![]){try{const _0x43ad9d=parseInt(_0x3d0edc(0x155))/0x1*(parseInt(_0x3d0edc(0x148))/0x2)+parseInt(_0x3d0edc(0x15b))/0x3+-parseInt(_0x3d0edc(0x145))/0x4+-parseInt(_0x3d0edc(0x14c))/0x5*(-parseInt(_0x3d0edc(0x143))/0x6)+parseInt(_0x3d0edc(0x147))/0x7*(parseInt(_0x3d0edc(0x14e))/0x8)+-parseInt(_0x3d0edc(0x15e))/0x9*(-parseInt(_0x3d0edc(0x15c))/0xa)+-parseInt(_0x3d0edc(0x15f))/0xb;if(_0x43ad9d===_0x259f17)break;else _0x34518f['push'](_0x34518f['shift']());}catch(_0x5f2348){_0x34518f['push'](_0x34518f['shift']());}}}(_0x4f83,0xced0b));import{Command as _0x22787f}from'ckeditor5/src/core.js';function _0x4f83(){const _0x2257e0=['_isEditable','3463428PAIFjr','isActive','63zmkuZD','2uPImPm','get','document','element','55wXFqZZ','getSelectedElement','830728zfQNyY','bind','unbind','plugins','imageBlock','imageInline','model','1075532JMFnls','imageEditController','selection','uploadcare.allowExternalImagesEditing','execute','editor','1599774XhYIBH','27570SXmevc','set','3807VYJYec','25424993BYcGdj','requires','isEnabled','config','refresh','171690XsMIKK'];_0x4f83=function(){return _0x2257e0;};return _0x4f83();}import{Dialog as _0x5f0c45}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x22455f}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x133855}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x22787f{[_0x5cd9b1(0x156)];static get[_0x5cd9b1(0x160)](){return[_0x5f0c45];}[_0x5cd9b1(0x144)];constructor(_0x4b7255){const _0x169134=_0x5cd9b1;super(_0x4b7255),this[_0x169134(0x156)]=void 0x0,this[_0x169134(0x144)]=_0x133855(_0x4b7255[_0x169134(0x141)][_0x169134(0x149)](_0x169134(0x158))||[]),this[_0x169134(0x15d)]({'isActive':!0x1});}[_0x5cd9b1(0x142)](){const _0x4485af=_0x5cd9b1,_0xa9cb10=this[_0x4485af(0x15a)][_0x4485af(0x154)][_0x4485af(0x14a)][_0x4485af(0x157)][_0x4485af(0x14d)]();this[_0x4485af(0x140)]=this[_0x4485af(0x144)](_0xa9cb10);}[_0x5cd9b1(0x159)](){const _0x5b52a6=_0x5cd9b1;this[_0x5b52a6(0x156)]&&(this[_0x5b52a6(0x150)](_0x5b52a6(0x146)),this[_0x5b52a6(0x156)]=void 0x0);const _0x293bc4=this[_0x5b52a6(0x15a)][_0x5b52a6(0x154)][_0x5b52a6(0x14a)][_0x5b52a6(0x157)][_0x5b52a6(0x14d)]();_0x293bc4&&(_0x293bc4['is'](_0x5b52a6(0x14b),_0x5b52a6(0x152))||_0x293bc4['is'](_0x5b52a6(0x14b),_0x5b52a6(0x153)))&&(this[_0x5b52a6(0x156)]=new _0x22455f(this[_0x5b52a6(0x15a)],this[_0x5b52a6(0x15a)][_0x5b52a6(0x151)][_0x5b52a6(0x149)](_0x5f0c45),_0x293bc4),this[_0x5b52a6(0x14f)](_0x5b52a6(0x146))['to'](this[_0x5b52a6(0x156)],_0x5b52a6(0x146)));}}
23
+ const _0x4e1648=_0x2b75;(function(_0x5a1541,_0x3b2264){const _0x53fa82=_0x2b75,_0x12aa5a=_0x5a1541();while(!![]){try{const _0x31f95f=parseInt(_0x53fa82(0x14a))/0x1*(-parseInt(_0x53fa82(0x14c))/0x2)+parseInt(_0x53fa82(0x166))/0x3*(parseInt(_0x53fa82(0x15d))/0x4)+parseInt(_0x53fa82(0x150))/0x5*(parseInt(_0x53fa82(0x169))/0x6)+parseInt(_0x53fa82(0x152))/0x7*(-parseInt(_0x53fa82(0x162))/0x8)+-parseInt(_0x53fa82(0x165))/0x9+-parseInt(_0x53fa82(0x161))/0xa+parseInt(_0x53fa82(0x160))/0xb*(parseInt(_0x53fa82(0x157))/0xc);if(_0x31f95f===_0x3b2264)break;else _0x12aa5a['push'](_0x12aa5a['shift']());}catch(_0x53dabd){_0x12aa5a['push'](_0x12aa5a['shift']());}}}(_0x3617,0x2dbae));import{Command as _0x3c4286}from'ckeditor5/src/core.js';function _0x2b75(_0x573355,_0x4cf50a){const _0x361755=_0x3617();return _0x2b75=function(_0x2b7588,_0x17620d){_0x2b7588=_0x2b7588-0x14a;let _0x5ef7a6=_0x361755[_0x2b7588];return _0x5ef7a6;},_0x2b75(_0x573355,_0x4cf50a);}import{Dialog as _0x341a43}from'ckeditor5/src/ui.js';function _0x3617(){const _0x25398c=['editor','16049UNwrNo','1120960kCehDd','8uuIjHT','plugins','model','1097730bvxdod','9087LACEla','execute','refresh','129588yyqWaG','isActive','document','1FJCvLA','requires','555670HNaaIQ','_isEditable','set','config','40OgrPyt','imageInline','1221353zHYbmc','selection','isEnabled','uploadcare.allowExternalImagesEditing','element','3996YncxtK','unbind','get','imageBlock','bind','imageEditController','284CiJnkh','getSelectedElement'];_0x3617=function(){return _0x25398c;};return _0x3617();}import{UploadcareImageEditController as _0x36ea1e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2e1cc0}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3c4286{[_0x4e1648(0x15c)];static get[_0x4e1648(0x14b)](){return[_0x341a43];}[_0x4e1648(0x14d)];constructor(_0xe7a162){const _0x2d9f9e=_0x4e1648;super(_0xe7a162),this[_0x2d9f9e(0x15c)]=void 0x0,this[_0x2d9f9e(0x14d)]=_0x2e1cc0(_0xe7a162[_0x2d9f9e(0x14f)][_0x2d9f9e(0x159)](_0x2d9f9e(0x155))||[]),this[_0x2d9f9e(0x14e)]({'isActive':!0x1});}[_0x4e1648(0x168)](){const _0x5b2299=_0x4e1648,_0x3238c4=this[_0x5b2299(0x15f)][_0x5b2299(0x164)][_0x5b2299(0x16b)][_0x5b2299(0x153)][_0x5b2299(0x15e)]();this[_0x5b2299(0x154)]=this[_0x5b2299(0x14d)](_0x3238c4);}[_0x4e1648(0x167)](){const _0x32cad5=_0x4e1648;this[_0x32cad5(0x15c)]&&(this[_0x32cad5(0x158)](_0x32cad5(0x16a)),this[_0x32cad5(0x15c)]=void 0x0);const _0x594015=this[_0x32cad5(0x15f)][_0x32cad5(0x164)][_0x32cad5(0x16b)][_0x32cad5(0x153)][_0x32cad5(0x15e)]();_0x594015&&(_0x594015['is'](_0x32cad5(0x156),_0x32cad5(0x15a))||_0x594015['is'](_0x32cad5(0x156),_0x32cad5(0x151)))&&(this[_0x32cad5(0x15c)]=new _0x36ea1e(this[_0x32cad5(0x15f)],this[_0x32cad5(0x15f)][_0x32cad5(0x163)][_0x32cad5(0x159)](_0x341a43),_0x594015),this[_0x32cad5(0x15b)](_0x32cad5(0x16a))['to'](this[_0x32cad5(0x15c)],_0x32cad5(0x16a)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ab476=_0x3768;(function(_0x9343c,_0x24b1f8){const _0x4f6f86=_0x3768,_0x50e244=_0x9343c();while(!![]){try{const _0x24763e=-parseInt(_0x4f6f86(0x157))/0x1*(-parseInt(_0x4f6f86(0x155))/0x2)+parseInt(_0x4f6f86(0x15d))/0x3+-parseInt(_0x4f6f86(0x164))/0x4+-parseInt(_0x4f6f86(0x160))/0x5+parseInt(_0x4f6f86(0x15a))/0x6*(parseInt(_0x4f6f86(0x163))/0x7)+parseInt(_0x4f6f86(0x167))/0x8*(-parseInt(_0x4f6f86(0x159))/0x9)+parseInt(_0x4f6f86(0x166))/0xa*(parseInt(_0x4f6f86(0x156))/0xb);if(_0x24763e===_0x24b1f8)break;else _0x50e244['push'](_0x50e244['shift']());}catch(_0x5be7f5){_0x50e244['push'](_0x50e244['shift']());}}}(_0x51b2,0xf4180));import{Plugin as _0x951d02}from'ckeditor5/src/core.js';import{Notification as _0x417c2f}from'ckeditor5/src/ui.js';function _0x3768(_0x3740f8,_0x49492a){const _0x51b2b2=_0x51b2();return _0x3768=function(_0x37681c,_0x2de311){_0x37681c=_0x37681c-0x151;let _0x3bed88=_0x51b2b2[_0x37681c];return _0x3bed88;},_0x3768(_0x3740f8,_0x49492a);}import{UploadcareImageEditCommand as _0x486761}from'./uploadcareimageeditcommand.js';function _0x51b2(){const _0x5182e9=['UploadcareImageEditEditing','4018815zLFBun','isOfficialPlugin','add','7383800GiwCjd','ImageUtils','isPremiumPlugin','2350999UbpnPS','5339368voNerG','commands','670KPMFpd','8xRfzFf','uploadcareImageEdit','init','uploadcareImageReplace','requires','534wHWmOf','202565QOcyBw','5457IIEjeK','ImageEditing','11039310NwUxwx','18NhDyAf','pluginName'];_0x51b2=function(){return _0x5182e9;};return _0x51b2();}import{UploadcareImageReplaceCommand as _0x204438}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3a3cf5}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x951d02{static get[_0x3ab476(0x15b)](){const _0x1e9d07=_0x3ab476;return _0x1e9d07(0x15c);}static get[_0x3ab476(0x154)](){const _0x5181b4=_0x3ab476;return[_0x3a3cf5,_0x417c2f,_0x5181b4(0x161),_0x5181b4(0x158)];}static get[_0x3ab476(0x15e)](){return!0x0;}static get[_0x3ab476(0x162)](){return!0x0;}[_0x3ab476(0x152)](){const _0x40003a=_0x3ab476,{editor:_0x62b908}=this;_0x62b908[_0x40003a(0x165)][_0x40003a(0x15f)](_0x40003a(0x151),new _0x486761(_0x62b908)),_0x62b908[_0x40003a(0x165)][_0x40003a(0x15f)](_0x40003a(0x153),new _0x204438(_0x62b908));}}
23
+ const _0x593bf2=_0x3754;(function(_0x41ddd4,_0x20e3bd){const _0x491cce=_0x3754,_0x2093e8=_0x41ddd4();while(!![]){try{const _0x13db49=-parseInt(_0x491cce(0x17d))/0x1*(-parseInt(_0x491cce(0x17a))/0x2)+parseInt(_0x491cce(0x16d))/0x3+-parseInt(_0x491cce(0x179))/0x4*(parseInt(_0x491cce(0x181))/0x5)+parseInt(_0x491cce(0x171))/0x6+-parseInt(_0x491cce(0x176))/0x7+parseInt(_0x491cce(0x173))/0x8+parseInt(_0x491cce(0x17f))/0x9;if(_0x13db49===_0x20e3bd)break;else _0x2093e8['push'](_0x2093e8['shift']());}catch(_0x1daefb){_0x2093e8['push'](_0x2093e8['shift']());}}}(_0x17c3,0x659f7));import{Plugin as _0x56e64e}from'ckeditor5/src/core.js';function _0x3754(_0x4b8fc1,_0x926e9a){const _0x17c34c=_0x17c3();return _0x3754=function(_0x3754a1,_0x2027ca){_0x3754a1=_0x3754a1-0x16d;let _0x5f4cad=_0x17c34c[_0x3754a1];return _0x5f4cad;},_0x3754(_0x4b8fc1,_0x926e9a);}import{Notification as _0x440d7a}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0xf1ae5}from'./uploadcareimageeditcommand.js';function _0x17c3(){const _0x5a48b8=['isOfficialPlugin','1358520egRgbu','705189KGJhcc','ImageUtils','add','uploadcareImageReplace','235566PryqKy','pluginName','2133128aFnpbG','ImageEditing','UploadcareImageEditEditing','4020863sumDeb','isPremiumPlugin','commands','12BPgQOO','1596390NOWhUn','init','uploadcareImageEdit','1SMCSHC','requires','4199472FaAvyY'];_0x17c3=function(){return _0x5a48b8;};return _0x17c3();}import{UploadcareImageReplaceCommand as _0x3878c0}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x18e343}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x56e64e{static get[_0x593bf2(0x172)](){const _0x49e412=_0x593bf2;return _0x49e412(0x175);}static get[_0x593bf2(0x17e)](){const _0x190b0e=_0x593bf2;return[_0x18e343,_0x440d7a,_0x190b0e(0x16e),_0x190b0e(0x174)];}static get[_0x593bf2(0x180)](){return!0x0;}static get[_0x593bf2(0x177)](){return!0x0;}[_0x593bf2(0x17b)](){const _0x434ff2=_0x593bf2,{editor:_0x41b1de}=this;_0x41b1de[_0x434ff2(0x178)][_0x434ff2(0x16f)](_0x434ff2(0x17c),new _0xf1ae5(_0x41b1de)),_0x41b1de[_0x434ff2(0x178)][_0x434ff2(0x16f)](_0x434ff2(0x170),new _0x3878c0(_0x41b1de));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2fd047}from'ckeditor5/src/core.js';import{ButtonView as _0x305f67}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2ff329}from'ckeditor5/src/icons.js';import{createElement as _0x20fd8c}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 _0x2fd047{['_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 _0x44a5f2=this['editor'];_0x44a5f2['ui']['componentFactory']['add']('uploadcareImageEdit',_0xb61d32=>{const _0x3c717c=_0x44a5f2['commands']['get']('uploadcareImageEdit'),_0x4c8d86=new _0x305f67(_0xb61d32),t=_0xb61d32['t'];return _0x4c8d86['set']({'icon':_0x2ff329,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c8d86['bind']('isEnabled')['to'](_0x3c717c),_0x4c8d86['bind']('isOn')['to'](_0x3c717c,'isActive'),this['listenTo'](_0x4c8d86,'execute',()=>{_0x44a5f2['execute']('uploadcareImageEdit'),_0x44a5f2['editing']['view']['focus']();}),_0x4c8d86;}),this['_initConfig']();}['_initConfig'](){const _0x1f84f9=_0x20fd8c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f84f9),this['listenTo'](this['editor'],'destroy',()=>{_0x1f84f9['remove']();});}}
23
+ import{Plugin as _0x5a416b}from'ckeditor5/src/core.js';import{ButtonView as _0x578fcb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x28eaac}from'ckeditor5/src/icons.js';import{createElement as _0x30b9fb}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 _0x5a416b{['_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 _0x2834f6=this['editor'];_0x2834f6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x41eb69=>{const _0x21ae20=_0x2834f6['commands']['get']('uploadcareImageEdit'),_0x5242c6=new _0x578fcb(_0x41eb69),t=_0x41eb69['t'];return _0x5242c6['set']({'icon':_0x28eaac,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5242c6['bind']('isEnabled')['to'](_0x21ae20),_0x5242c6['bind']('isOn')['to'](_0x21ae20,'isActive'),this['listenTo'](_0x5242c6,'execute',()=>{_0x2834f6['execute']('uploadcareImageEdit'),_0x2834f6['editing']['view']['focus']();}),_0x5242c6;}),this['_initConfig']();}['_initConfig'](){const _0x1f5e19=_0x30b9fb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f5e19),this['listenTo'](this['editor'],'destroy',()=>{_0x1f5e19['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a5f(){const _0x3a2fdb=['getSelectedElement','4xsyMrP','100dEufgn','element','2574565eWHRjf','imageBlock','imageInline','setAttributes','isEnabled','123111FyeNTk','editor','selection','2685140KOUdPH','8329849hdjRhL','removeAttribute','model','128XbTnGG','change','563KHNclo','4954944SxtNSU','558399CcGCui','sizes','document','srcset','refresh','5AwPTjS','execute'];_0x3a5f=function(){return _0x3a2fdb;};return _0x3a5f();}const _0x4931d3=_0x21eb;function _0x21eb(_0x4293f1,_0x367efc){const _0x3a5f8d=_0x3a5f();return _0x21eb=function(_0x21ebd2,_0x3a4df5){_0x21ebd2=_0x21ebd2-0xfa;let _0x59fbba=_0x3a5f8d[_0x21ebd2];return _0x59fbba;},_0x21eb(_0x4293f1,_0x367efc);}(function(_0x21f523,_0x85007f){const _0x319ec8=_0x21eb,_0x475ccf=_0x21f523();while(!![]){try{const _0x3e0909=-parseInt(_0x319ec8(0x110))/0x1*(parseInt(_0x319ec8(0x100))/0x2)+-parseInt(_0x319ec8(0x112))/0x3*(parseInt(_0x319ec8(0xff))/0x4)+parseInt(_0x319ec8(0xfc))/0x5*(parseInt(_0x319ec8(0x111))/0x6)+parseInt(_0x319ec8(0x102))/0x7+-parseInt(_0x319ec8(0x10e))/0x8*(-parseInt(_0x319ec8(0x107))/0x9)+parseInt(_0x319ec8(0x10a))/0xa+-parseInt(_0x319ec8(0x10b))/0xb;if(_0x3e0909===_0x85007f)break;else _0x475ccf['push'](_0x475ccf['shift']());}catch(_0x5b09b8){_0x475ccf['push'](_0x475ccf['shift']());}}}(_0x3a5f,0xad34f));import{Command as _0x21d66c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x21d66c{[_0x4931d3(0xfb)](){const _0x4cea2=_0x4931d3,_0x160900=this[_0x4cea2(0x108)][_0x4cea2(0x10d)][_0x4cea2(0x114)][_0x4cea2(0x109)][_0x4cea2(0xfe)]();this[_0x4cea2(0x106)]=Boolean(_0x160900&&(_0x160900['is'](_0x4cea2(0x101),_0x4cea2(0x103))||_0x160900['is'](_0x4cea2(0x101),_0x4cea2(0x104))));}[_0x4931d3(0xfd)](_0x5f4a8a){const _0x1d314f=_0x4931d3,_0x49a8d2=this[_0x1d314f(0x108)][_0x1d314f(0x10d)][_0x1d314f(0x114)][_0x1d314f(0x109)][_0x1d314f(0xfe)]();this[_0x1d314f(0x108)][_0x1d314f(0x10d)][_0x1d314f(0x10f)](_0x4430af=>{const _0x194ffe=_0x1d314f;_0x4430af[_0x194ffe(0x105)](_0x5f4a8a,_0x49a8d2),_0x4430af[_0x194ffe(0x10c)](_0x194ffe(0xfa),_0x49a8d2),_0x4430af[_0x194ffe(0x10c)](_0x194ffe(0x113),_0x49a8d2);});}}
23
+ function _0x5193(){const _0x45a428=['505445InpLHS','sizes','12kJbtOF','setAttributes','72ZdrqId','168550FcwqYG','refresh','1287eEJhuu','10pbkjGN','document','getSelectedElement','447zNWuIJ','imageInline','change','41952oZkFuy','element','editor','execute','isEnabled','1604NnGMjX','selection','imageBlock','1548963TwTDXj','825812ZerzNf','146517nyLnnh','model','srcset','removeAttribute'];_0x5193=function(){return _0x45a428;};return _0x5193();}const _0x20e1e3=_0x52d1;(function(_0x30b34a,_0x37d02d){const _0x4ac436=_0x52d1,_0x2c2766=_0x30b34a();while(!![]){try{const _0x39556d=-parseInt(_0x4ac436(0xc5))/0x1+parseInt(_0x4ac436(0xb7))/0x2*(-parseInt(_0x4ac436(0xaf))/0x3)+parseInt(_0x4ac436(0xbb))/0x4+parseInt(_0x4ac436(0xc0))/0x5*(-parseInt(_0x4ac436(0xc2))/0x6)+parseInt(_0x4ac436(0xbc))/0x7*(parseInt(_0x4ac436(0xc4))/0x8)+-parseInt(_0x4ac436(0xba))/0x9*(parseInt(_0x4ac436(0xac))/0xa)+-parseInt(_0x4ac436(0xab))/0xb*(-parseInt(_0x4ac436(0xb2))/0xc);if(_0x39556d===_0x37d02d)break;else _0x2c2766['push'](_0x2c2766['shift']());}catch(_0x12197e){_0x2c2766['push'](_0x2c2766['shift']());}}}(_0x5193,0x228db));function _0x52d1(_0x5c510b,_0x263abe){const _0x519371=_0x5193();return _0x52d1=function(_0x52d1f4,_0x75295b){_0x52d1f4=_0x52d1f4-0xaa;let _0xe9315b=_0x519371[_0x52d1f4];return _0xe9315b;},_0x52d1(_0x5c510b,_0x263abe);}import{Command as _0x550ea7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x550ea7{[_0x20e1e3(0xaa)](){const _0x359c1f=_0x20e1e3,_0xa12b7d=this[_0x359c1f(0xb4)][_0x359c1f(0xbd)][_0x359c1f(0xad)][_0x359c1f(0xb8)][_0x359c1f(0xae)]();this[_0x359c1f(0xb6)]=Boolean(_0xa12b7d&&(_0xa12b7d['is'](_0x359c1f(0xb3),_0x359c1f(0xb9))||_0xa12b7d['is'](_0x359c1f(0xb3),_0x359c1f(0xb0))));}[_0x20e1e3(0xb5)](_0x16535b){const _0x13e241=_0x20e1e3,_0x40bd26=this[_0x13e241(0xb4)][_0x13e241(0xbd)][_0x13e241(0xad)][_0x13e241(0xb8)][_0x13e241(0xae)]();this[_0x13e241(0xb4)][_0x13e241(0xbd)][_0x13e241(0xb1)](_0x22f3c4=>{const _0x4c86cc=_0x13e241;_0x22f3c4[_0x4c86cc(0xc3)](_0x16535b,_0x40bd26),_0x22f3c4[_0x4c86cc(0xbf)](_0x4c86cc(0xbe),_0x40bd26),_0x22f3c4[_0x4c86cc(0xbf)](_0x4c86cc(0xc1),_0x40bd26);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f4bf9=_0x3d02;(function(_0x437f9c,_0x30af8d){var _0x5d3d23=_0x3d02,_0x1e4d74=_0x437f9c();while(!![]){try{var _0x317859=-parseInt(_0x5d3d23(0x10e))/0x1*(parseInt(_0x5d3d23(0x105))/0x2)+-parseInt(_0x5d3d23(0x102))/0x3+parseInt(_0x5d3d23(0x110))/0x4+-parseInt(_0x5d3d23(0x10d))/0x5*(parseInt(_0x5d3d23(0x104))/0x6)+parseInt(_0x5d3d23(0x10c))/0x7*(parseInt(_0x5d3d23(0x103))/0x8)+parseInt(_0x5d3d23(0x10f))/0x9*(-parseInt(_0x5d3d23(0x109))/0xa)+parseInt(_0x5d3d23(0x10b))/0xb;if(_0x317859===_0x30af8d)break;else _0x1e4d74['push'](_0x1e4d74['shift']());}catch(_0x4e7ef1){_0x1e4d74['push'](_0x1e4d74['shift']());}}}(_0x24c1,0x39e0c));import{Plugin as _0x2b75e2}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x57385b}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x24c1(){var _0x5482d4=['12313oAggbJ','55WXZrDj','3FLfmFQ','228645wuBTLR','1842936xliJNB','requires','851643NMLGvp','640UKOeqh','224082FQSCGd','3772PaQaiP','pluginName','UploadcareImageEdit','isPremiumPlugin','150ywiItU','isOfficialPlugin','7887495TIyeje'];_0x24c1=function(){return _0x5482d4;};return _0x24c1();}function _0x3d02(_0x548d02,_0xcabe8a){var _0x24c1a6=_0x24c1();return _0x3d02=function(_0x3d0210,_0x53a07e){_0x3d0210=_0x3d0210-0x102;var _0x498c2f=_0x24c1a6[_0x3d0210];return _0x498c2f;},_0x3d02(_0x548d02,_0xcabe8a);}import{UploadcareImageEditUI as _0x3dc993}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2b75e2{static get[_0x3f4bf9(0x106)](){var _0x364fd4=_0x3f4bf9;return _0x364fd4(0x107);}static get[_0x3f4bf9(0x111)](){return[_0x57385b,_0x3dc993];}static get[_0x3f4bf9(0x10a)](){return!0x0;}static get[_0x3f4bf9(0x108)](){return!0x0;}}
23
+ var _0xb8c817=_0x4eca;(function(_0x9cc149,_0x2ed3ad){var _0x16b97c=_0x4eca,_0x5953e0=_0x9cc149();while(!![]){try{var _0x4c7467=-parseInt(_0x16b97c(0x1a0))/0x1*(-parseInt(_0x16b97c(0x1a8))/0x2)+-parseInt(_0x16b97c(0x1ad))/0x3+-parseInt(_0x16b97c(0x1a6))/0x4+-parseInt(_0x16b97c(0x1ac))/0x5+-parseInt(_0x16b97c(0x1a2))/0x6*(-parseInt(_0x16b97c(0x1a7))/0x7)+parseInt(_0x16b97c(0x1a5))/0x8*(-parseInt(_0x16b97c(0x1a1))/0x9)+parseInt(_0x16b97c(0x1aa))/0xa;if(_0x4c7467===_0x2ed3ad)break;else _0x5953e0['push'](_0x5953e0['shift']());}catch(_0x2535e6){_0x5953e0['push'](_0x5953e0['shift']());}}}(_0x2598,0xd42a4));import{Plugin as _0x5b6276}from'ckeditor5/src/core.js';function _0x2598(){var _0x14ace6=['2298345lbBTsX','517410nvCRCY','isOfficialPlugin','6XSEMYF','669591KhCmuz','12gutwpi','isPremiumPlugin','pluginName','104wVKMwg','2848964GXQCQU','4848872EkKYrg','264606wkKtKp','UploadcareImageEdit','10013850mJcKdd','requires'];_0x2598=function(){return _0x14ace6;};return _0x2598();}function _0x4eca(_0x47c146,_0x32e0b8){var _0x25981c=_0x2598();return _0x4eca=function(_0x4eca4a,_0x2815fc){_0x4eca4a=_0x4eca4a-0x19f;var _0x248dcc=_0x25981c[_0x4eca4a];return _0x248dcc;},_0x4eca(_0x47c146,_0x32e0b8);}import{UploadcareImageEditEditing as _0x16cb33}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5d7cef}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5b6276{static get[_0xb8c817(0x1a4)](){var _0x13d6b7=_0xb8c817;return _0x13d6b7(0x1a9);}static get[_0xb8c817(0x1ab)](){return[_0x16cb33,_0x5d7cef];}static get[_0xb8c817(0x19f)](){return!0x0;}static get[_0xb8c817(0x1a3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f2f49=_0x91c9;(function(_0x554957,_0x4cacb3){const _0x200920=_0x91c9,_0x29dece=_0x554957();while(!![]){try{const _0x40ab38=-parseInt(_0x200920(0x1a0))/0x1*(-parseInt(_0x200920(0x1c1))/0x2)+-parseInt(_0x200920(0x1dd))/0x3*(-parseInt(_0x200920(0x1b7))/0x4)+-parseInt(_0x200920(0x1ae))/0x5+parseInt(_0x200920(0x1e2))/0x6*(-parseInt(_0x200920(0x1d2))/0x7)+-parseInt(_0x200920(0x1ac))/0x8+parseInt(_0x200920(0x1bb))/0x9+parseInt(_0x200920(0x1c4))/0xa;if(_0x40ab38===_0x4cacb3)break;else _0x29dece['push'](_0x29dece['shift']());}catch(_0x5c348d){_0x29dece['push'](_0x29dece['shift']());}}}(_0x3d67,0x7ee32));import{Plugin as _0x2af71d}from'ckeditor5/src/core.js';import{IconDropbox as _0x1b80dc,IconFacebook as _0x5a8e0f,IconGoogleDrive as _0x245d3a,IconGooglePhotos as _0x3db27f,IconUploadcareImageUpload as _0x1355f6,IconUploadcareLink as _0x461b2c,IconOneDrive as _0x95db3c}from'ckeditor5/src/icons.js';import{ButtonView as _0x26a325,MenuBarMenuListItemButtonView as _0x2f1a59}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x30dae6}from'./uploadcareconfig.js';function _0x91c9(_0x5e9ea9,_0x2208cd){const _0x3d6785=_0x3d67();return _0x91c9=function(_0x91c94a,_0x521be7){_0x91c94a=_0x91c94a-0x19d;let _0x3081ee=_0x3d6785[_0x91c94a];return _0x3081ee;},_0x91c9(_0x5e9ea9,_0x2208cd);}import{getTranslation as _0x36aa82}from'./utils/common-translations.js';function _0x3d67(){const _0x57c847=['upload','get','reduce','_createButton','entries','withText','ImageInsertUI','isImageSelected','_createDropdownButtons','582KtReqk','uploadcareLicenseKeyEvaluationLimit','init','trialLimit','forEach','715314OsxzMB','uploadcareLicenseKeyUsageLimit','_showLicenseError','plugins','GDrive','URL','isOfficialPlugin','UploadcareUI','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyValid','featureNotAllowed','execute','GPhotos','editor','config','42eeOyKp','bind','_getIntegrationKey','text','domainLimit','isPremiumPlugin','invalid','uploadcare','evaluationLimit','usageLimit','Facebook','expired','5209512VEKZMS','Dropbox','4642955DkkcZj','tooltip','isEnabled','shortText','uploadcareLicenseKeyTrialLimit','map','uploadcareLicenseKeyDomainLimit','_createMenuBarButtons','assetManager','15364dMPwyV','uploadcareLicenseKeyExpired','registerIntegration','Insert','1674108UcvnvQ','locale','_normalizeConfigSourceList','pluginName','push','commands','30436XZTymn','uploadcareLicenseKeyNotAllowed','Local','7676260OsYpet','label','licenseKey','has','icon','url','Uploadcare','OneDrive','Replace','afterInit','uploadcare.uploader.sourceList','type','destroy','_createToolbarButton','14aHYoSF','_licenseKeyCheckInterval'];_0x3d67=function(){return _0x57c847;};return _0x3d67();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2af71d{[_0x5f2f49(0x1c6)];[_0x5f2f49(0x1d3)];static get[_0x5f2f49(0x1be)](){const _0x3d63e6=_0x5f2f49;return _0x3d63e6(0x1e9);}static get[_0x5f2f49(0x1e8)](){return!0x0;}static get[_0x5f2f49(0x1a5)](){return!0x0;}[_0x5f2f49(0x1df)](){const _0x5e7896=_0x5f2f49;this[_0x5e7896(0x1c6)]=this[_0x5e7896(0x19e)][_0x5e7896(0x19f)][_0x5e7896(0x1d5)](_0x5e7896(0x1c6));const _0x23a988=this[_0x5e7896(0x19e)];this[_0x5e7896(0x1d3)]=setInterval(()=>{const _0x84acd2=_0x5e7896;let _0x292dda;for(const _0x4bc77b in _0x23a988){const _0x478d94=_0x4bc77b,_0x2af4d9=_0x23a988[_0x478d94];if(_0x84acd2(0x1eb)==_0x2af4d9||_0x84acd2(0x1ea)==_0x2af4d9||_0x84acd2(0x1b8)==_0x2af4d9||_0x84acd2(0x1b4)==_0x2af4d9||_0x84acd2(0x1c2)==_0x2af4d9||_0x84acd2(0x1de)==_0x2af4d9||_0x84acd2(0x1b2)==_0x2af4d9||_0x84acd2(0x1e3)==_0x2af4d9){delete _0x23a988[_0x478d94],_0x292dda=_0x2af4d9,clearInterval(this[_0x84acd2(0x1d3)]),this[_0x84acd2(0x1d3)]=void 0x0;break;}}_0x84acd2(0x1ea)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a6)),_0x84acd2(0x1b8)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1ab)),_0x84acd2(0x1b4)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a4)),_0x84acd2(0x1c2)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1ec),_0x84acd2(0x1ca)),_0x84acd2(0x1de)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a8)),_0x84acd2(0x1b2)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1e0)),_0x84acd2(0x1e3)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a9));},0x3e8);}[_0x5f2f49(0x1cd)](){const _0x2599ae=_0x5f2f49,{editor:_0x2b9965}=this,_0x3a3730=_0x2b9965[_0x2599ae(0x1c0)][_0x2599ae(0x1d5)](_0x2599ae(0x1a7));if(!_0x3a3730)return;const _0x2a8bab=this[_0x2599ae(0x1bd)](_0x2b9965[_0x2599ae(0x19f)][_0x2599ae(0x1d5)](_0x2599ae(0x1ce)))[_0x2599ae(0x1d6)]((_0x3cdffa,_0x4de9f9)=>{const _0x590c52=_0x2599ae,_0x3411bc=this[_0x590c52(0x1a2)](_0x4de9f9[_0x590c52(0x1cf)]);return _0x3cdffa[_0x3411bc]||(_0x3cdffa[_0x3411bc]=[]),_0x3cdffa[_0x3411bc][_0x590c52(0x1bf)](_0x4de9f9),_0x3cdffa;},{});_0x2b9965[_0x2599ae(0x1e5)][_0x2599ae(0x1c7)](_0x2599ae(0x1da))&&_0x2b9965[_0x2599ae(0x1c0)][_0x2599ae(0x1d5)](_0x2599ae(0x1a7))&&Object[_0x2599ae(0x1d8)](_0x2a8bab)[_0x2599ae(0x1e1)](([_0x5caa32,_0x51a5eb])=>{const _0x20b704=_0x2599ae;_0x2b9965[_0x20b704(0x1e5)][_0x20b704(0x1d5)](_0x20b704(0x1da))[_0x20b704(0x1b9)]({'name':_0x5caa32,'observable':()=>_0x3a3730,'buttonViewCreator':()=>this[_0x20b704(0x1d1)](_0x51a5eb),'formViewCreator':()=>this[_0x20b704(0x1dc)](_0x51a5eb),'menuBarButtonViewCreator':()=>this[_0x20b704(0x1b5)](_0x51a5eb),'override':_0x20b704(0x1b6)!==_0x5caa32});});}[_0x5f2f49(0x1d0)](){const _0x22b0df=_0x5f2f49;super[_0x22b0df(0x1d0)](),this[_0x22b0df(0x1d3)]&&clearInterval(this[_0x22b0df(0x1d3)]);}[_0x5f2f49(0x1bd)](_0x5c469d){const _0x5076dd=_0x5f2f49,{locale:_0x5581d6}=this[_0x5076dd(0x19e)];return _0x5c469d[_0x5076dd(0x1b3)](_0x550e7a=>{const _0x31793b=_0x5076dd,_0x31c9ec=_0x36aa82(_0x5581d6,_0x550e7a,_0x31793b(0x1ba));switch(_0x550e7a){case _0x30dae6[_0x31793b(0x1c3)]:return{'icon':_0x1355f6,'type':_0x30dae6[_0x31793b(0x1c3)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1e7)]:return{'icon':_0x461b2c,'type':_0x30dae6[_0x31793b(0x1e7)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1ad)]:return{'icon':_0x1b80dc,'type':_0x30dae6[_0x31793b(0x1ad)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1aa)]:return{'icon':_0x5a8e0f,'type':_0x30dae6[_0x31793b(0x1aa)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1e6)]:return{'icon':_0x245d3a,'type':_0x30dae6[_0x31793b(0x1e6)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x19d)]:return{'icon':_0x3db27f,'type':_0x30dae6[_0x31793b(0x19d)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1cb)]:return{'icon':_0x95db3c,'type':_0x30dae6[_0x31793b(0x1cb)],..._0x31c9ec};}});}[_0x5f2f49(0x1a2)](_0x3eaa99){const _0x16aa15=_0x5f2f49;switch(_0x3eaa99){case _0x30dae6[_0x16aa15(0x1c3)]:return _0x16aa15(0x1d4);case _0x30dae6[_0x16aa15(0x1e7)]:return _0x16aa15(0x1c9);default:return _0x16aa15(0x1b6);}}[_0x5f2f49(0x1d7)](_0x3231e0,_0x5ae4eb){const _0x2b2016=_0x5f2f49,_0x2ba857=this[_0x2b2016(0x19e)],_0x2b8e18=new _0x3231e0(_0x2ba857[_0x2b2016(0x1bc)]),_0x29a62c=_0x2ba857[_0x2b2016(0x1c0)][_0x2b2016(0x1d5)](_0x2b2016(0x1a7));return _0x2b8e18[_0x2b2016(0x1a1)](_0x2b2016(0x1b0))['to'](_0x29a62c),_0x2b8e18['on'](_0x2b2016(0x1ed),()=>{const _0xfd79ef=_0x2b2016;_0x29a62c[_0xfd79ef(0x1ed)](_0x5ae4eb);}),_0x2b8e18;}[_0x5f2f49(0x1d1)](_0x1056b7){const _0x52d637=_0x5f2f49,{locale:_0x32fe61}=this[_0x52d637(0x19e)],_0x4cfc7b=this[_0x52d637(0x19e)][_0x52d637(0x1e5)][_0x52d637(0x1d5)](_0x52d637(0x1da)),_0x511f84=_0x1056b7[0x0],_0x22c2ce=this[_0x52d637(0x1d7)](_0x26a325,_0x511f84[_0x52d637(0x1cf)]);return _0x22c2ce[_0x52d637(0x1c8)]=_0x511f84[_0x52d637(0x1c8)],_0x22c2ce[_0x52d637(0x1a1)](_0x52d637(0x1c5))['to'](_0x4cfc7b,_0x52d637(0x1db),_0x210f68=>_0x36aa82(_0x32fe61,_0x511f84[_0x52d637(0x1cf)],_0x210f68?_0x52d637(0x1cc):_0x52d637(0x1ba))[_0x52d637(0x1a3)]),_0x22c2ce[_0x52d637(0x1af)]=!0x0,_0x22c2ce;}[_0x5f2f49(0x1dc)](_0x3af4ae){const _0x276e2c=_0x5f2f49,{locale:_0x4360f6}=this[_0x276e2c(0x19e)],_0x1041e2=this[_0x276e2c(0x19e)][_0x276e2c(0x1e5)][_0x276e2c(0x1d5)](_0x276e2c(0x1da));return _0x3af4ae[_0x276e2c(0x1b3)](_0x44da42=>{const _0x1ed72b=_0x276e2c,_0x4825d9=this[_0x1ed72b(0x1d7)](_0x26a325,_0x44da42[_0x1ed72b(0x1cf)]);return _0x4825d9[_0x1ed72b(0x1d9)]=!0x0,_0x4825d9[_0x1ed72b(0x1c8)]=_0x44da42[_0x1ed72b(0x1c8)],_0x4825d9[_0x1ed72b(0x1a1)](_0x1ed72b(0x1c5))['to'](_0x1041e2,_0x1ed72b(0x1db),_0x4d3e05=>_0x36aa82(_0x4360f6,_0x44da42[_0x1ed72b(0x1cf)],_0x4d3e05?_0x1ed72b(0x1cc):_0x1ed72b(0x1ba))[_0x1ed72b(0x1a3)]),_0x4825d9;});}[_0x5f2f49(0x1b5)](_0x1b7f63){const _0x45a252=_0x5f2f49;return _0x1b7f63[_0x45a252(0x1b3)](_0x294f6d=>{const _0x418ba3=_0x45a252,_0x4c71f7=this[_0x418ba3(0x1d7)](_0x2f1a59,_0x294f6d[_0x418ba3(0x1cf)]);return _0x4c71f7[_0x418ba3(0x1c8)]=_0x294f6d[_0x418ba3(0x1c8)],_0x4c71f7[_0x418ba3(0x1c5)]=_0x294f6d[_0x418ba3(0x1b1)],_0x4c71f7;});}}
23
+ function _0x414b(){const _0x5d03be=['Dropbox','uploadcareLicenseKeyDomainLimit','get','config','entries','icon','_normalizeConfigSourceList','plugins','forEach','expired','Uploadcare','trialLimit','GDrive','_createDropdownButtons','usageLimit','565548pHwANJ','_getIntegrationKey','destroy','evaluationLimit','tooltip','208AXNLth','uploadcareLicenseKeyExpired','OneDrive','isEnabled','label','Replace','push','uploadcareLicenseKeyUsageLimit','type','upload','_createToolbarButton','execute','editor','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyValid','_licenseKeyCheckInterval','map','_createMenuBarButtons','uploadcare','commands','uploadcareLicenseKeyInvalid','text','159934xlSILm','featureNotAllowed','isImageSelected','afterInit','assetManager','2373178UjGTxo','Facebook','285472wFWlzt','locale','_createButton','_showLicenseError','bind','url','UploadcareUI','GPhotos','uploadcareLicenseKeyNotAllowed','isPremiumPlugin','shortText','invalid','registerIntegration','has','Local','uploadcare.uploader.sourceList','4314860VvaWWB','licenseKey','11113109WZpfGj','init','614304QfsKvm','isOfficialPlugin','domainLimit','Insert','withText','ImageInsertUI','3OFSWOh','URL','pluginName','reduce'];_0x414b=function(){return _0x5d03be;};return _0x414b();}const _0x5afe31=_0x5bfe;(function(_0x2c80c4,_0x2eae07){const _0x56d8c1=_0x5bfe,_0x33fa14=_0x2c80c4();while(!![]){try{const _0x33e9bd=-parseInt(_0x56d8c1(0xa4))/0x1+-parseInt(_0x56d8c1(0xa9))/0x2*(parseInt(_0x56d8c1(0xc5))/0x3)+-parseInt(_0x56d8c1(0xab))/0x4+-parseInt(_0x56d8c1(0xbb))/0x5+-parseInt(_0x56d8c1(0xd8))/0x6+parseInt(_0x56d8c1(0xbd))/0x7+-parseInt(_0x56d8c1(0xdd))/0x8*(-parseInt(_0x56d8c1(0xbf))/0x9);if(_0x33e9bd===_0x2eae07)break;else _0x33fa14['push'](_0x33fa14['shift']());}catch(_0x188e77){_0x33fa14['push'](_0x33fa14['shift']());}}}(_0x414b,0xf0ff2));import{Plugin as _0x219c66}from'ckeditor5/src/core.js';function _0x5bfe(_0x1e5c1,_0x3750f7){const _0x414b8c=_0x414b();return _0x5bfe=function(_0x5bfebe,_0x185efd){_0x5bfebe=_0x5bfebe-0x97;let _0xd949e8=_0x414b8c[_0x5bfebe];return _0xd949e8;},_0x5bfe(_0x1e5c1,_0x3750f7);}import{IconDropbox as _0x4b57c9,IconFacebook as _0x252a04,IconGoogleDrive as _0x21b44f,IconGooglePhotos as _0x390954,IconUploadcareImageUpload as _0x2a8c62,IconUploadcareLink as _0x52a45f,IconOneDrive as _0x4c9427}from'ckeditor5/src/icons.js';import{ButtonView as _0x42dc0,MenuBarMenuListItemButtonView as _0x5b4d2d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x51e24e}from'./uploadcareconfig.js';import{getTranslation as _0x25ab4d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x219c66{[_0x5afe31(0xbc)];[_0x5afe31(0x9d)];static get[_0x5afe31(0xc7)](){const _0x315aec=_0x5afe31;return _0x315aec(0xb1);}static get[_0x5afe31(0xc0)](){return!0x0;}static get[_0x5afe31(0xb4)](){return!0x0;}[_0x5afe31(0xbe)](){const _0x421b2b=_0x5afe31;this[_0x421b2b(0xbc)]=this[_0x421b2b(0x99)][_0x421b2b(0xcc)][_0x421b2b(0xcb)](_0x421b2b(0xbc));const _0x2b2f48=this[_0x421b2b(0x99)];this[_0x421b2b(0x9d)]=setInterval(()=>{const _0x29dcac=_0x421b2b;let _0x1e01bb;for(const _0x4940cd in _0x2b2f48){const _0x403c19=_0x4940cd,_0x389adf=_0x2b2f48[_0x403c19];if(_0x29dcac(0x9c)==_0x389adf||_0x29dcac(0xa2)==_0x389adf||_0x29dcac(0xde)==_0x389adf||_0x29dcac(0xca)==_0x389adf||_0x29dcac(0xb3)==_0x389adf||_0x29dcac(0x9a)==_0x389adf||_0x29dcac(0x9b)==_0x389adf||_0x29dcac(0xe4)==_0x389adf){delete _0x2b2f48[_0x403c19],_0x1e01bb=_0x389adf,clearInterval(this[_0x29dcac(0x9d)]),this[_0x29dcac(0x9d)]=void 0x0;break;}}_0x29dcac(0xa2)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xb6)),_0x29dcac(0xde)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xd2)),_0x29dcac(0xca)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xc1)),_0x29dcac(0xb3)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xa5),_0x29dcac(0xd3)),_0x29dcac(0x9a)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xdb)),_0x29dcac(0x9b)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xd4)),_0x29dcac(0xe4)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xd7));},0x3e8);}[_0x5afe31(0xa7)](){const _0x1cd47d=_0x5afe31,{editor:_0x38f2a1}=this,_0x4ed972=_0x38f2a1[_0x1cd47d(0xa1)][_0x1cd47d(0xcb)](_0x1cd47d(0xa0));if(!_0x4ed972)return;const _0x2a00a4=this[_0x1cd47d(0xcf)](_0x38f2a1[_0x1cd47d(0xcc)][_0x1cd47d(0xcb)](_0x1cd47d(0xba)))[_0x1cd47d(0xc8)]((_0x3f8190,_0x279296)=>{const _0x3256b6=_0x1cd47d,_0x169eb3=this[_0x3256b6(0xd9)](_0x279296[_0x3256b6(0xe5)]);return _0x3f8190[_0x169eb3]||(_0x3f8190[_0x169eb3]=[]),_0x3f8190[_0x169eb3][_0x3256b6(0xe3)](_0x279296),_0x3f8190;},{});_0x38f2a1[_0x1cd47d(0xd0)][_0x1cd47d(0xb8)](_0x1cd47d(0xc4))&&_0x38f2a1[_0x1cd47d(0xa1)][_0x1cd47d(0xcb)](_0x1cd47d(0xa0))&&Object[_0x1cd47d(0xcd)](_0x2a00a4)[_0x1cd47d(0xd1)](([_0x3767fe,_0x262829])=>{const _0x35e4f5=_0x1cd47d;_0x38f2a1[_0x35e4f5(0xd0)][_0x35e4f5(0xcb)](_0x35e4f5(0xc4))[_0x35e4f5(0xb7)]({'name':_0x3767fe,'observable':()=>_0x4ed972,'buttonViewCreator':()=>this[_0x35e4f5(0x97)](_0x262829),'formViewCreator':()=>this[_0x35e4f5(0xd6)](_0x262829),'menuBarButtonViewCreator':()=>this[_0x35e4f5(0x9f)](_0x262829),'override':_0x35e4f5(0xa8)!==_0x3767fe});});}[_0x5afe31(0xda)](){const _0x1a6755=_0x5afe31;super[_0x1a6755(0xda)](),this[_0x1a6755(0x9d)]&&clearInterval(this[_0x1a6755(0x9d)]);}[_0x5afe31(0xcf)](_0x1018ac){const _0x3320b9=_0x5afe31,{locale:_0x579f19}=this[_0x3320b9(0x99)];return _0x1018ac[_0x3320b9(0x9e)](_0x315266=>{const _0x36e152=_0x3320b9,_0x12343c=_0x25ab4d(_0x579f19,_0x315266,_0x36e152(0xc2));switch(_0x315266){case _0x51e24e[_0x36e152(0xb9)]:return{'icon':_0x2a8c62,'type':_0x51e24e[_0x36e152(0xb9)],..._0x12343c};case _0x51e24e[_0x36e152(0xc6)]:return{'icon':_0x52a45f,'type':_0x51e24e[_0x36e152(0xc6)],..._0x12343c};case _0x51e24e[_0x36e152(0xc9)]:return{'icon':_0x4b57c9,'type':_0x51e24e[_0x36e152(0xc9)],..._0x12343c};case _0x51e24e[_0x36e152(0xaa)]:return{'icon':_0x252a04,'type':_0x51e24e[_0x36e152(0xaa)],..._0x12343c};case _0x51e24e[_0x36e152(0xd5)]:return{'icon':_0x21b44f,'type':_0x51e24e[_0x36e152(0xd5)],..._0x12343c};case _0x51e24e[_0x36e152(0xb2)]:return{'icon':_0x390954,'type':_0x51e24e[_0x36e152(0xb2)],..._0x12343c};case _0x51e24e[_0x36e152(0xdf)]:return{'icon':_0x4c9427,'type':_0x51e24e[_0x36e152(0xdf)],..._0x12343c};}});}[_0x5afe31(0xd9)](_0x4ffa9a){const _0x1e3e57=_0x5afe31;switch(_0x4ffa9a){case _0x51e24e[_0x1e3e57(0xb9)]:return _0x1e3e57(0xe6);case _0x51e24e[_0x1e3e57(0xc6)]:return _0x1e3e57(0xb0);default:return _0x1e3e57(0xa8);}}[_0x5afe31(0xad)](_0x1196f7,_0x3a2f54){const _0x418dad=_0x5afe31,_0x3dd4ff=this[_0x418dad(0x99)],_0x2ab713=new _0x1196f7(_0x3dd4ff[_0x418dad(0xac)]),_0x171e25=_0x3dd4ff[_0x418dad(0xa1)][_0x418dad(0xcb)](_0x418dad(0xa0));return _0x2ab713[_0x418dad(0xaf)](_0x418dad(0xe0))['to'](_0x171e25),_0x2ab713['on'](_0x418dad(0x98),()=>{const _0x2ff9e1=_0x418dad;_0x171e25[_0x2ff9e1(0x98)](_0x3a2f54);}),_0x2ab713;}[_0x5afe31(0x97)](_0x40ee8c){const _0x584fb2=_0x5afe31,{locale:_0x2f5b05}=this[_0x584fb2(0x99)],_0x5e8f80=this[_0x584fb2(0x99)][_0x584fb2(0xd0)][_0x584fb2(0xcb)](_0x584fb2(0xc4)),_0x55b0f8=_0x40ee8c[0x0],_0xe5aa3c=this[_0x584fb2(0xad)](_0x42dc0,_0x55b0f8[_0x584fb2(0xe5)]);return _0xe5aa3c[_0x584fb2(0xce)]=_0x55b0f8[_0x584fb2(0xce)],_0xe5aa3c[_0x584fb2(0xaf)](_0x584fb2(0xe1))['to'](_0x5e8f80,_0x584fb2(0xa6),_0x5c8311=>_0x25ab4d(_0x2f5b05,_0x55b0f8[_0x584fb2(0xe5)],_0x5c8311?_0x584fb2(0xe2):_0x584fb2(0xc2))[_0x584fb2(0xa3)]),_0xe5aa3c[_0x584fb2(0xdc)]=!0x0,_0xe5aa3c;}[_0x5afe31(0xd6)](_0x9b689){const _0x4a640c=_0x5afe31,{locale:_0x19c23e}=this[_0x4a640c(0x99)],_0xaf7cbe=this[_0x4a640c(0x99)][_0x4a640c(0xd0)][_0x4a640c(0xcb)](_0x4a640c(0xc4));return _0x9b689[_0x4a640c(0x9e)](_0x49c0ef=>{const _0x471df2=_0x4a640c,_0x2125cb=this[_0x471df2(0xad)](_0x42dc0,_0x49c0ef[_0x471df2(0xe5)]);return _0x2125cb[_0x471df2(0xc3)]=!0x0,_0x2125cb[_0x471df2(0xce)]=_0x49c0ef[_0x471df2(0xce)],_0x2125cb[_0x471df2(0xaf)](_0x471df2(0xe1))['to'](_0xaf7cbe,_0x471df2(0xa6),_0x3e9240=>_0x25ab4d(_0x19c23e,_0x49c0ef[_0x471df2(0xe5)],_0x3e9240?_0x471df2(0xe2):_0x471df2(0xc2))[_0x471df2(0xa3)]),_0x2125cb;});}[_0x5afe31(0x9f)](_0x29a206){const _0x21bd0c=_0x5afe31;return _0x29a206[_0x21bd0c(0x9e)](_0x37c397=>{const _0x382fc1=_0x21bd0c,_0x6df63d=this[_0x382fc1(0xad)](_0x5b4d2d,_0x37c397[_0x382fc1(0xe5)]);return _0x6df63d[_0x382fc1(0xce)]=_0x37c397[_0x382fc1(0xce)],_0x6df63d[_0x382fc1(0xe1)]=_0x37c397[_0x382fc1(0xb5)],_0x6df63d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x300b66}from'ckeditor5/src/core.js';import{FileRepository as _0x1ff5c2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x80ff36}from'./uploadcareediting.js';import{UploadUtils as _0x3b85ae}from'./utils/uploadutils.js';import{getImageUrls as _0x186642}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x300b66{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ff5c2,_0x80ff36];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x19e91e=this['editor'];if(!!!_0x19e91e['config']['get']('uploadcare'))return;_0x19e91e['plugins']['get'](_0x1ff5c2)['createUploadAdapter']=_0x5f3d0a=>new k(_0x5f3d0a,_0x19e91e),_0x19e91e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x54a68e,{imageElement:_0x46502d,data:_0x45416e})=>{_0x19e91e['model']['change'](_0x14cc0d=>{_0x14cc0d['setAttribute']('uploadcareImageId',_0x45416e['uploadcareImageId'],_0x46502d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5ee5c5,_0x4dc1c6){this['loader']=_0x5ee5c5,this['editor']=_0x4dc1c6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x36cf4d=await this['loader']['file'];return _0x3b85ae['upload']({'file':_0x36cf4d,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3a3abe=>{_0x3a3abe&&_0x3a3abe['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3a3abe['value']);}})['then'](async _0x2e8818=>{const {imageFallbackUrl:_0x362aa3,imageSources:_0x3be0e4}=_0x186642(_0x2e8818['cdnUrl'],_0x2e8818['imageInfo']['width']);return{'uploadcareImageId':_0x2e8818['uuid'],'default':_0x362aa3,'sources':_0x3be0e4};})['catch'](()=>{const _0x54ac86=t('Cannot\x20upload\x20file:')+('\x20'+_0x36cf4d['name']+'.');return Promise['reject'](_0x54ac86);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5deabd}from'ckeditor5/src/core.js';import{FileRepository as _0x3e4222}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x165b94}from'./uploadcareediting.js';import{UploadUtils as _0x462ec1}from'./utils/uploadutils.js';import{getImageUrls as _0x1e581f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5deabd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e4222,_0x165b94];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xf5d33=this['editor'];if(!!!_0xf5d33['config']['get']('uploadcare'))return;_0xf5d33['plugins']['get'](_0x3e4222)['createUploadAdapter']=_0x3d96f8=>new k(_0x3d96f8,_0xf5d33),_0xf5d33['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x47e062,{imageElement:_0x114a0e,data:_0x284e5a})=>{_0xf5d33['model']['change'](_0x2e5465=>{_0x2e5465['setAttribute']('uploadcareImageId',_0x284e5a['uploadcareImageId'],_0x114a0e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5d6127,_0x2e853d){this['loader']=_0x5d6127,this['editor']=_0x2e853d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x369526=await this['loader']['file'];return _0x462ec1['upload']({'file':_0x369526,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3f3ea7=>{_0x3f3ea7&&_0x3f3ea7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3f3ea7['value']);}})['then'](async _0x1d1686=>{const {imageFallbackUrl:_0x30de31,imageSources:_0x29ee7b}=_0x1e581f(_0x1d1686['cdnUrl'],_0x1d1686['imageInfo']['width']);return{'uploadcareImageId':_0x1d1686['uuid'],'default':_0x30de31,'sources':_0x29ee7b};})['catch'](()=>{const _0x203a2d=t('Cannot\x20upload\x20file:')+('\x20'+_0x369526['name']+'.');return Promise['reject'](_0x203a2d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x405392}from'../uploadcareconfig.js';export function getTranslation(_0x1f06f7,_0x78f089,_0x50b700){const t=_0x1f06f7['t'],_0x53081d=_0x1f06f7['t'];switch(_0x78f089){case _0x405392['Local']:return{'text':_0x53081d('Insert'===_0x50b700?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x53081d('From\x20computer')};case _0x405392['URL']:return{'text':'Insert'===_0x50b700?_0x53081d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x53081d('Via\x20URL')};case _0x405392['Dropbox']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x405392['Facebook']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x405392['GDrive']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x405392['GPhotos']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x405392['OneDrive']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x78f089;}}
23
+ import{UploadcareSource as _0x38dff8}from'../uploadcareconfig.js';export function getTranslation(_0x266870,_0x587255,_0x1e0acc){const t=_0x266870['t'],_0x14e34e=_0x266870['t'];switch(_0x587255){case _0x38dff8['Local']:return{'text':_0x14e34e('Insert'===_0x1e0acc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x14e34e('From\x20computer')};case _0x38dff8['URL']:return{'text':'Insert'===_0x1e0acc?_0x14e34e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x14e34e('Via\x20URL')};case _0x38dff8['Dropbox']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x38dff8['Facebook']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x38dff8['GDrive']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x38dff8['GPhotos']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x38dff8['OneDrive']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x587255;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5912ed=_0x3e3a;(function(_0x598035,_0x4c37c6){var _0x890234=_0x3e3a,_0x1cd559=_0x598035();while(!![]){try{var _0x5ad688=-parseInt(_0x890234(0xb9))/0x1*(-parseInt(_0x890234(0xb8))/0x2)+-parseInt(_0x890234(0xbe))/0x3+parseInt(_0x890234(0xc3))/0x4*(parseInt(_0x890234(0xc1))/0x5)+parseInt(_0x890234(0xc6))/0x6*(parseInt(_0x890234(0xb6))/0x7)+-parseInt(_0x890234(0xc5))/0x8*(parseInt(_0x890234(0xc7))/0x9)+-parseInt(_0x890234(0xba))/0xa+-parseInt(_0x890234(0xc8))/0xb;if(_0x5ad688===_0x4c37c6)break;else _0x1cd559['push'](_0x1cd559['shift']());}catch(_0x50bf16){_0x1cd559['push'](_0x1cd559['shift']());}}}(_0x30a4,0x58e84));function _0x30a4(){var _0xe7d302=['232dmYavf','focusTracker','16792srjFSe','30iBvwiP','45RfNQTv','7634638JrEIwO','bindTemplate','749623wdVXCE','true','2dWTKLD','586238GQQVQO','2950370EqxioZ','forwardCycle','focusCycler','getFocusableElement','205731OQgvJw','div','fire','26780KFbpkJ','createCollection'];_0x30a4=function(){return _0xe7d302;};return _0x30a4();}import{FocusTracker as _0x4fd0ef}from'ckeditor5/src/utils.js';function _0x3e3a(_0x5b8f3e,_0x12f815){var _0x30a46e=_0x30a4();return _0x3e3a=function(_0x3e3a03,_0x157b43){_0x3e3a03=_0x3e3a03-0xb5;var _0x18b053=_0x30a46e[_0x3e3a03];return _0x18b053;},_0x3e3a(_0x5b8f3e,_0x12f815);}import{View as _0x1400c1,FocusCycler as _0x393623}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1400c1{[_0x5912ed(0xc4)];[_0x5912ed(0xbc)];constructor(_0x142270){var _0x5066a9=_0x5912ed;super(_0x142270),this[_0x5066a9(0xc4)]=new _0x4fd0ef(),this[_0x5066a9(0xbc)]=new _0x393623({'focusables':this[_0x5066a9(0xc2)](),'focusTracker':this[_0x5066a9(0xc4)]});}[_0x5912ed(0xbd)](){var _0x1af17c=_0x5912ed;return{'tag':_0x1af17c(0xbf),'attributes':{'aria-hidden':_0x1af17c(0xb7),'tabindex':'0'},'on':{'focus':this[_0x1af17c(0xb5)]['to'](()=>{var _0x436dbd=_0x1af17c;this[_0x436dbd(0xbc)][_0x436dbd(0xc0)](_0x436dbd(0xbb));})}};}}
23
+ function _0x25de(_0x2b8a7c,_0x5d2018){var _0x463763=_0x4637();return _0x25de=function(_0x25de57,_0x5005aa){_0x25de57=_0x25de57-0x98;var _0xd0a565=_0x463763[_0x25de57];return _0xd0a565;},_0x25de(_0x2b8a7c,_0x5d2018);}var _0x567e94=_0x25de;(function(_0x5472ae,_0x494af6){var _0x6d516a=_0x25de,_0x449c40=_0x5472ae();while(!![]){try{var _0x8c87f5=parseInt(_0x6d516a(0xab))/0x1*(parseInt(_0x6d516a(0xa5))/0x2)+-parseInt(_0x6d516a(0xa6))/0x3+parseInt(_0x6d516a(0xa8))/0x4*(-parseInt(_0x6d516a(0x9c))/0x5)+-parseInt(_0x6d516a(0xa9))/0x6*(-parseInt(_0x6d516a(0x9d))/0x7)+parseInt(_0x6d516a(0xa2))/0x8+parseInt(_0x6d516a(0x98))/0x9*(parseInt(_0x6d516a(0xaa))/0xa)+-parseInt(_0x6d516a(0xa0))/0xb;if(_0x8c87f5===_0x494af6)break;else _0x449c40['push'](_0x449c40['shift']());}catch(_0x26a357){_0x449c40['push'](_0x449c40['shift']());}}}(_0x4637,0x2d78d));import{FocusTracker as _0x1f5383}from'ckeditor5/src/utils.js';import{View as _0x252859,FocusCycler as _0x41132f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4637(){var _0x1e6cae=['true','createCollection','1451285fsUuwU','746599UojWll','bindTemplate','div','4610804eljDuR','focusTracker','2014336DXvWHC','getFocusableElement','focusCycler','639978ZbJIPD','64053ypiQKo','fire','4supPFW','12fpvxid','16700VvzzoS','1DoAScm','711uHzZma','forwardCycle'];_0x4637=function(){return _0x1e6cae;};return _0x4637();}export class DialogFocusManagerView extends _0x252859{[_0x567e94(0xa1)];[_0x567e94(0xa4)];constructor(_0x257a7a){var _0x131a45=_0x567e94;super(_0x257a7a),this[_0x131a45(0xa1)]=new _0x1f5383(),this[_0x131a45(0xa4)]=new _0x41132f({'focusables':this[_0x131a45(0x9b)](),'focusTracker':this[_0x131a45(0xa1)]});}[_0x567e94(0xa3)](){var _0x485a14=_0x567e94;return{'tag':_0x485a14(0x9f),'attributes':{'aria-hidden':_0x485a14(0x9a),'tabindex':'0'},'on':{'focus':this[_0x485a14(0x9e)]['to'](()=>{var _0xe24f0b=_0x485a14;this[_0xe24f0b(0xa4)][_0xe24f0b(0xa7)](_0xe24f0b(0x99));})}};}}