@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251201.0 → 0.0.0-nightly-20251203.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 +10 -10
  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 _0x1a3bce=_0xf3a3;(function(_0x56d257,_0x5dd7e6){const _0x492b5f=_0xf3a3,_0xd3dd0a=_0x56d257();while(!![]){try{const _0x557984=parseInt(_0x492b5f(0xa5))/0x1+parseInt(_0x492b5f(0xd2))/0x2*(parseInt(_0x492b5f(0xc2))/0x3)+-parseInt(_0x492b5f(0x90))/0x4+-parseInt(_0x492b5f(0xa0))/0x5+-parseInt(_0x492b5f(0xa9))/0x6+parseInt(_0x492b5f(0xd8))/0x7+parseInt(_0x492b5f(0xbc))/0x8;if(_0x557984===_0x5dd7e6)break;else _0xd3dd0a['push'](_0xd3dd0a['shift']());}catch(_0x1bb269){_0xd3dd0a['push'](_0xd3dd0a['shift']());}}}(_0x49b9,0xa62c2));function _0xf3a3(_0x5245ef,_0x3d75d2){const _0x49b9bb=_0x49b9();return _0xf3a3=function(_0xf3a380,_0x93cd6b){_0xf3a380=_0xf3a380-0x89;let _0x24fd04=_0x49b9bb[_0xf3a380];return _0x24fd04;},_0xf3a3(_0x5245ef,_0x3d75d2);}import{Plugin as _0x1551c1}from'ckeditor5/src/core.js';import{Dialog as _0xe8373e}from'ckeditor5/src/ui.js';import{createElement as _0x47029f,global as _0x2b4bd0,uid as _0x5035bc}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2eecff}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xa0cd43}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3f1661}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1551c1{[_0x1a3bce(0xa1)]=null;[_0x1a3bce(0x95)]=null;static get[_0x1a3bce(0xbd)](){const _0x31289c=_0x1a3bce;return _0x31289c(0xba);}static get[_0x1a3bce(0x9c)](){const _0x50af38=_0x1a3bce;return[_0x50af38(0x98),_0xa0cd43,_0xe8373e];}static get[_0x1a3bce(0x9b)](){return!0x0;}static get[_0x1a3bce(0x96)](){return!0x0;}[_0x1a3bce(0x99)];get[_0x1a3bce(0xb3)](){const _0x487cd4=_0x1a3bce;return this[_0x487cd4(0xa1)];}get[_0x1a3bce(0xdb)](){const _0x43fe10=_0x1a3bce;return this[_0x43fe10(0x95)];}constructor(_0x31ce09){const _0x9ca3ec=_0x1a3bce;super(_0x31ce09),this[_0x9ca3ec(0x99)]=_0x5035bc();}[_0x1a3bce(0xcd)](){const _0x5c0c65=_0x1a3bce,_0x2771a0=this[_0x5c0c65(0xb1)];_0x2771a0[_0x5c0c65(0xb6)][_0x5c0c65(0xb0)](_0x5c0c65(0x9d),new _0x2eecff(_0x2771a0));}[_0x1a3bce(0xc8)](){const _0x266724=_0x1a3bce;this[_0x266724(0xae)](),this[_0x266724(0x8b)](),this[_0x266724(0x8e)](),this[_0x266724(0xca)](),this[_0x266724(0x92)](),this[_0x266724(0x97)](this[_0x266724(0xb1)],_0x266724(0xb7),()=>{const _0x1b51ca=_0x266724;this[_0x1b51ca(0xa1)]&&(this[_0x1b51ca(0xa1)][_0x1b51ca(0x8f)](),this[_0x1b51ca(0xa1)]=null),this[_0x1b51ca(0x95)]&&(this[_0x1b51ca(0x95)][_0x1b51ca(0x8f)](),this[_0x1b51ca(0x95)]=null);const _0x4dfabc=_0x2b4bd0[_0x1b51ca(0xc9)][_0x1b51ca(0xad)](_0x1b51ca(0xce));_0x4dfabc&&_0x4dfabc[_0x1b51ca(0x8f)]();}),async function(_0xe15f3d){const _0x5dd5b4=_0x21d995([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]),_0x5872af=0x535f8c3a,_0x42111e=0x5358f692^_0x5872af,_0x2b63fe=window[_0x21d995([0x44,0x61,0x74,0x65])][_0x21d995([0x6e,0x6f,0x77])](),_0xcb524c=_0xe15f3d[_0x21d995([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e44d0=new window[(_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4afe66=>{_0xcb524c[_0x21d995([0x6f,0x6e,0x63,0x65])](_0x21d995([0x72,0x65,0x61,0x64,0x79]),_0x4afe66);}),_0x496812={[_0x21d995([0x6b,0x74,0x79])]:_0x21d995([0x45,0x43]),[_0x21d995([0x75,0x73,0x65])]:_0x21d995([0x73,0x69,0x67]),[_0x21d995([0x63,0x72,0x76])]:_0x21d995([0x50,0x2d,0x32,0x35,0x36]),[_0x21d995([0x78])]:_0x21d995([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]),[_0x21d995([0x79])]:_0x21d995([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]),[_0x21d995([0x61,0x6c,0x67])]:_0x21d995([0x45,0x53,0x32,0x35,0x36])},_0x1415b5=_0xcb524c[_0x21d995([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21d995([0x67,0x65,0x74])](_0x21d995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9016cd(){let _0x5b2da2,_0x31d70f=null,_0x508f2f=null;try{if(_0x1415b5==_0x21d995([0x47,0x50,0x4c]))return _0x21d995([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b2da2=_0x4c5ca1(),!_0x5b2da2)return _0x21d995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b2da2[_0x21d995([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x508f2f=_0x30c5b1(_0x5b2da2[_0x21d995([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b2da2[_0x21d995([0x6a,0x74,0x69])])),await _0x2dea8f()?_0x41b499()?_0x1ed785()?_0x21d995([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13147b()?(_0x5b2da2[_0x21d995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21d995([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31d70f=_0x11fd24(_0x21d995([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b2da2[_0x21d995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21d995([0x74,0x72,0x69,0x61,0x6c])&&(_0x31d70f=_0x11fd24(_0x21d995([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbe497b()):_0x21d995([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21d995([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21d995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21d995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ed785(){const _0x384a04=[_0x21d995([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21d995([0x74,0x72,0x69,0x61,0x6c])][_0x21d995([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2da2[_0x21d995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b63fe/0x3e8:0xe10*_0x42111e;return _0x5b2da2[_0x21d995([0x65,0x78,0x70])]<_0x384a04;}function _0x41b499(){const _0x2e3127=_0x5b2da2[_0x21d995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e3127&&(!!_0x2e3127[_0x21d995([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d995([0x2a]))||!!_0x2e3127[_0x21d995([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d995([0x55,0x50,0x4c,0x43])));}function _0x13147b(){const _0x5c173f=_0xf3a3,_0x45d274=_0x5b2da2[_0x21d995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45d274||0x0==_0x45d274[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1103bf}=new URL(window[_0x21d995([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5c173f(0xc1)]);if(_0x45d274[_0x21d995([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1103bf))return!0x0;const _0x320be7=_0x1103bf[_0x21d995([0x73,0x70,0x6c,0x69,0x74])](_0x21d995([0x2e]));return _0x45d274[_0x21d995([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x71682d=>_0x71682d[_0x21d995([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21d995([0x2a])))[_0x21d995([0x6d,0x61,0x70])](_0x492973=>_0x492973[_0x21d995([0x73,0x70,0x6c,0x69,0x74])](_0x21d995([0x2e])))[_0x21d995([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a4dd6=>_0x2a4dd6[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x320be7[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21d995([0x6d,0x61,0x70])](_0x16a1a3=>Array(_0x320be7[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16a1a3[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21d995([0x66,0x69,0x6c,0x6c])](_0x16a1a3[0x0]===_0x21d995([0x2a])?_0x21d995([0x2a]):'')[_0x21d995([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16a1a3))[_0x21d995([0x73,0x6f,0x6d,0x65])](_0x19df00=>_0x320be7[_0x21d995([0x65,0x76,0x65,0x72,0x79])]((_0x52e126,_0x530703)=>_0x19df00[_0x530703]===_0x52e126||_0x19df00[_0x530703]===_0x21d995([0x2a])));}function _0xbe497b(){return _0x31d70f&&_0x508f2f?new window[(_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21c6eb,_0x2024d5)=>{_0x31d70f[_0x21d995([0x74,0x68,0x65,0x6e])](_0x21c6eb,_0x2024d5),_0x508f2f[_0x21d995([0x74,0x68,0x65,0x6e])](_0x46e26a=>{_0x46e26a!=_0x21d995([0x56,0x61,0x6c,0x69,0x64])&&_0x21c6eb(_0x46e26a);},_0x2024d5);}):_0x31d70f||_0x508f2f||_0x21d995([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30c5b1(_0x4bf847,_0x3b6bef){return new window[(_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40539d=>{if(_0x336b74())return _0x40539d(_0x21d995([0x56,0x61,0x6c,0x69,0x64]));_0x1838e3(),_0xcb524c[_0x21d995([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21d995([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x45ef6f=!0x1;const _0x13d2da=_0x5035bc();function _0x458ee5(_0x479505){return!!_0x479505&&(typeof _0x479505===_0x21d995([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x479505===_0x21d995([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x479505[_0x21d995([0x74,0x68,0x65,0x6e])]===_0x21d995([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x479505[_0x21d995([0x63,0x61,0x74,0x63,0x68])]===_0x21d995([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26361e(_0x25626a){_0x422bf9(_0x25626a)[_0x21d995([0x74,0x68,0x65,0x6e])](_0x58d5f0=>{if(!_0x58d5f0||_0x58d5f0[_0x21d995([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21d995([0x6f,0x6b]))return _0x21d995([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c4e28(_0x3eeec0(_0x13d2da+_0x3b6bef))!=_0x58d5f0[_0x21d995([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21d995([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21d995([0x56,0x61,0x6c,0x69,0x64]);})[_0x21d995([0x74,0x68,0x65,0x6e])](_0x4b6c79=>(_0x25fa41(),_0x4b6c79),()=>{const _0x21442a=_0x1d900c();return null==_0x21442a?(_0x25fa41(),_0x21d995([0x56,0x61,0x6c,0x69,0x64])):_0x21d995(_0x2b63fe-_0x21442a>(0x7753083a^_0x5872af)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21d995([0x74,0x68,0x65,0x6e])](_0x40539d)[_0x21d995([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40539d(_0x21d995([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x144929=0x536962ba^_0x5872af;function _0x25fa41(){const _0x41ac16=_0x21d995([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c4e28(_0x3eeec0(_0x4bf847)),_0x2e070f=_0x5a33a6(_0x4c4e28(window[_0x21d995([0x4d,0x61,0x74,0x68])][_0x21d995([0x63,0x65,0x69,0x6c])](_0x2b63fe/_0x144929)));window[_0x21d995([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21d995([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41ac16,_0x2e070f);}function _0x1d900c(){const _0x1738e1=_0x21d995([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c4e28(_0x3eeec0(_0x4bf847)),_0x4f3ba7=window[_0x21d995([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21d995([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1738e1);return _0x4f3ba7?window[_0x21d995([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a33a6(_0x4f3ba7),0x10)*_0x144929:null;}function _0x422bf9(_0xe9ef9){return new window[(_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2936cc,_0x459568)=>{_0xe9ef9[_0x21d995([0x74,0x68,0x65,0x6e])](_0x2936cc,_0x459568),window[_0x21d995([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x459568,0x535e58fa^_0x5872af);});}}_0xcb524c[_0x21d995([0x6f,0x6e])](_0x21d995([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcda637,_0x2afedd)=>{if(_0x2afedd[0x0]!=_0x4bf847)return _0x40539d(_0x21d995([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2afedd[0x1]={..._0x2afedd[0x1],[_0x21d995([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13d2da};},{[_0x21d995([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21d995([0x68,0x69,0x67,0x68])}),_0xcb524c[_0x21d995([0x6f,0x6e])](_0x21d995([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x437022=>{_0x458ee5(_0x437022[_0x21d995([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x45ef6f=!0x0,_0x26361e(_0x437022[_0x21d995([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21d995([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21d995([0x6c,0x6f,0x77])}),_0x1e44d0[_0x21d995([0x74,0x68,0x65,0x6e])](()=>{_0x45ef6f||_0x40539d(_0x21d995([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x336b74(){return _0xcb524c[_0x21d995([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21d995([0x76,0x69,0x65,0x77])][_0x21d995([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21d995([0x61,0x75,0x74,0x6f]);}function _0x1838e3(){_0xcb524c[_0x21d995([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21d995([0x76,0x69,0x65,0x77])][_0x21d995([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21d995([0x61,0x75,0x74,0x6f]);}}function _0x11fd24(_0x1a7984){const _0x468c1b=[new window[(_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10bd58=>setTimeout(_0x10bd58,0x5356b2f6^_0x5872af)),_0x1e44d0[_0x21d995([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a78c3=>{let _0x581d16=0x0;_0xcb524c[_0x21d995([0x6d,0x6f,0x64,0x65,0x6c])][_0x21d995([0x6f,0x6e])](_0x21d995([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d285c,_0x1fb45d)=>{_0x1fb45d[0x0][_0x21d995([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x581d16++,_0x581d16==(0x535f8dc2^_0x5872af)&&(_0x5a78c3(),_0x4d285c[_0x21d995([0x6f,0x66,0x66])]());});}))];return window[_0x21d995([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21d995([0x72,0x61,0x63,0x65])](_0x468c1b)[_0x21d995([0x74,0x68,0x65,0x6e])](()=>_0x1a7984);}async function _0x2d60ea(){await _0x1e44d0,_0xcb524c[_0x21d995([0x6d,0x6f,0x64,0x65,0x6c])][_0x21d995([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf6fa78,_0xcb524c[_0x21d995([0x6d,0x6f,0x64,0x65,0x6c])][_0x21d995([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf6fa78,_0xcb524c[_0x21d995([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21d995([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c2ee7(_0x1d455f){const _0x1e3f54=_0x58f0cf();_0xcb524c[_0x1e3f54]=_0x21d995([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d455f,_0x1d455f!=_0x21d995([0x56,0x61,0x6c,0x69,0x64])&&_0x2d60ea();}function _0x58f0cf(){const _0x3bb48b=window[_0x21d995([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21d995([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21d995([0x6e,0x6f,0x77])]())[_0x21d995([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21d995([0x2e]),'');let _0x542af0=_0x21d995([0x68]);for(let _0x554163=0x0;_0x554163<_0x3bb48b[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x554163+=0x2){let _0x24d59e=window[_0x21d995([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bb48b[_0x21d995([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x554163,_0x554163+0x2));_0x24d59e>=_0x5dd5b4[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d59e-=_0x5dd5b4[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x542af0+=_0x5dd5b4[_0x24d59e];}return _0x542af0;}function _0x4c5ca1(){const _0x271674=_0x1415b5[_0x21d995([0x73,0x70,0x6c,0x69,0x74])](_0x21d995([0x2e]));if(0x3!=_0x271674[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3abdb8(_0x271674[0x1]);function _0x3abdb8(_0xc1ae87){const _0x436a3d=_0x2fc0a2(_0xc1ae87);return _0x436a3d&&_0x14bda0()?_0x436a3d:null;function _0x14bda0(){const _0x3011fb=_0x436a3d[_0x21d995([0x6a,0x74,0x69])],_0xb1ca27=window[_0x21d995([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3011fb[_0x21d995([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3011fb[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18358f={..._0x436a3d,[_0x21d995([0x6a,0x74,0x69])]:_0x3011fb[_0x21d995([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3011fb[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18358f[_0x21d995([0x76,0x63])],_0x3eeec0(_0x18358f)==_0xb1ca27;}}}async function _0x2dea8f(){let _0x16c6eb=!0x0;try{const _0x246c6e=_0x1415b5[_0x21d995([0x73,0x70,0x6c,0x69,0x74])](_0x21d995([0x2e])),[_0x2fde71,_0x3b7e33,_0xdaf2bf]=_0x246c6e;return _0x2a2055(_0x2fde71),await _0xb345fe(_0x2fde71,_0x3b7e33,_0xdaf2bf),_0x16c6eb;}catch{return!0x1;}function _0x2a2055(_0xe667e5){const _0x5b6221=_0x2fc0a2(_0xe667e5);_0x5b6221&&_0x5b6221[_0x21d995([0x61,0x6c,0x67])]==_0x21d995([0x45,0x53,0x32,0x35,0x36])||(_0x16c6eb=!0x1);}async function _0xb345fe(_0x6e63cf,_0x1567db,_0x2b949d){const _0x33a967=window[_0x21d995([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21d995([0x66,0x72,0x6f,0x6d])](_0x2c595a(_0x2b949d),_0x31f749=>_0x31f749[_0x21d995([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a93f5=new window[(_0x21d995([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21d995([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6e63cf+_0x21d995([0x2e])+_0x1567db),_0x5018b5=window[_0x21d995([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21d995([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5018b5)return;const _0x514fce=await _0x5018b5[_0x21d995([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21d995([0x6a,0x77,0x6b]),_0x496812,{[_0x21d995([0x6e,0x61,0x6d,0x65])]:_0x21d995([0x45,0x43,0x44,0x53,0x41]),[_0x21d995([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21d995([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21d995([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5018b5[_0x21d995([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21d995([0x6e,0x61,0x6d,0x65])]:_0x21d995([0x45,0x43,0x44,0x53,0x41]),[_0x21d995([0x68,0x61,0x73,0x68])]:{[_0x21d995([0x6e,0x61,0x6d,0x65])]:_0x21d995([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x514fce,_0x33a967,_0x5a93f5)||(_0x16c6eb=!0x1);}}function _0x2fc0a2(_0x431ae0){return _0x431ae0[_0x21d995([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21d995([0x65,0x79]))?JSON[_0x21d995([0x70,0x61,0x72,0x73,0x65])](_0x2c595a(_0x431ae0)):null;}function _0x2c595a(_0x5754af){return window[_0x21d995([0x61,0x74,0x6f,0x62])](_0x5754af[_0x21d995([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21d995([0x2b]))[_0x21d995([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21d995([0x2f])));}function _0x3eeec0(_0x2c1e7a){let _0x48819c=0x1505;function _0x196be8(_0xa9eabc){for(let _0x12759a=0x0;_0x12759a<_0xa9eabc[_0x21d995([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12759a++){const _0x5bd01=_0xa9eabc[_0x21d995([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12759a);_0x48819c=(_0x48819c<<0x5)+_0x48819c+_0x5bd01,_0x48819c&=_0x48819c;}}function _0x302989(_0x4f8ffc){Array[_0x21d995([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f8ffc)?_0x4f8ffc[_0x21d995([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x302989):_0x4f8ffc&&typeof _0x4f8ffc==_0x21d995([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21d995([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f8ffc)[_0x21d995([0x73,0x6f,0x72,0x74])]()[_0x21d995([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b3b21,_0x13c18c])=>{_0x196be8(_0x5b3b21),_0x302989(_0x13c18c);}):_0x196be8(window[_0x21d995([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f8ffc));}return _0x302989(_0x2c1e7a),_0x48819c>>>0x0;}function _0x4c4e28(_0x40d150){return _0x40d150[_0x21d995([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21d995([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21d995([0x30]));}function _0x5a33a6(_0x1933d3){return _0x1933d3[_0x21d995([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21d995([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21d995([0x6a,0x6f,0x69,0x6e])]('');}function _0xf6fa78(){}function _0x21d995(_0x592640){const _0x3a827e=_0xf3a3;return _0x592640[_0x3a827e(0xda)](_0x143f44=>String[_0x3a827e(0xd9)](_0x143f44))[_0x3a827e(0xd7)]('');}_0x4c2ee7(await _0x9016cd());}(this);}[_0x1a3bce(0xae)](){const _0x56e5e1=_0x1a3bce,_0x348821=this[_0x56e5e1(0xb1)][_0x56e5e1(0xc0)][_0x56e5e1(0xc5)];_0x348821[_0x56e5e1(0xac)](_0x56e5e1(0x9e))&&_0x348821[_0x56e5e1(0x8d)](_0x56e5e1(0x9e),{'allowAttributes':[_0x56e5e1(0x93)]}),_0x348821[_0x56e5e1(0xac)](_0x56e5e1(0xa3))&&_0x348821[_0x56e5e1(0x8d)](_0x56e5e1(0xa3),{'allowAttributes':[_0x56e5e1(0x93)]});}[_0x1a3bce(0x8b)](){const _0x391fd0=_0x1a3bce,_0x4a3d94=this[_0x391fd0(0xb1)];_0x4a3d94[_0x391fd0(0xbb)][_0x391fd0(0x9f)](_0x391fd0(0xb5))[_0x391fd0(0xd4)]({'model':_0x391fd0(0x93),'view':_0x391fd0(0xcb)}),_0x4a3d94[_0x391fd0(0xbb)][_0x391fd0(0x9f)](_0x391fd0(0xb9))[_0x391fd0(0xab)]({'model':{'key':_0x391fd0(0x93),'value':_0x33c9fb=>_0x33c9fb[_0x391fd0(0xc6)](_0x391fd0(0xcb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3fd6ea=_0x4a3d94[_0x391fd0(0xb6)][_0x391fd0(0xc7)](_0x391fd0(0x8c));_0x3fd6ea&&this[_0x391fd0(0x97)](_0x3fd6ea,_0x391fd0(0xaa),(_0x4f02c2,[_0x2769be,_0x4f3d75])=>{const _0x292c59=_0x391fd0;_0x2769be[_0x292c59(0xc4)](_0x292c59(0x93),_0x4f3d75);});}[_0x1a3bce(0x8e)](){const _0x4e9c8b=_0x1a3bce,_0x5f1d20=this[_0x4e9c8b(0xb1)][_0x4e9c8b(0xaf)][_0x4e9c8b(0xc7)](_0x4e9c8b(0xc3))||{},_0x4cb76d=this[_0x4e9c8b(0xb1)][_0x4e9c8b(0xaf)][_0x4e9c8b(0xc7)](_0x4e9c8b(0xa4))||'';this[_0x4e9c8b(0xa1)]=_0x47029f(_0x2b4bd0[_0x4e9c8b(0xc9)],_0x4e9c8b(0xa7),{..._0x5f1d20,'pubkey':_0x4cb76d,'ctx-name':_0x4e9c8b(0xd0)+this[_0x4e9c8b(0x99)],'sourceList':'','imgOnly':_0x4e9c8b(0xb4),'removeCopyright':_0x4e9c8b(0xb4),'localeName':this[_0x4e9c8b(0xb1)][_0x4e9c8b(0xbf)][_0x4e9c8b(0xbe)],'externalSourcesEmbedCss':_0x4e9c8b(0xa2)}),this[_0x4e9c8b(0xa1)][_0x4e9c8b(0xa6)]=_0x269a63=>{const _0x137ef4=_0x4e9c8b;if(_0x137ef4(0xb2)==_0x269a63)return _0x137ef4(0xd3);},_0x2b4bd0[_0x4e9c8b(0xc9)][_0x4e9c8b(0xd6)][_0x4e9c8b(0x8a)](this[_0x4e9c8b(0xa1)]);}[_0x1a3bce(0xca)](){const _0x546b0e=_0x1a3bce;this[_0x546b0e(0x95)]=_0x47029f(_0x2b4bd0[_0x546b0e(0xc9)],_0x546b0e(0x91),{'ctx-name':_0x546b0e(0xd0)+this[_0x546b0e(0x99)]}),_0x2b4bd0[_0x546b0e(0xc9)][_0x546b0e(0xd6)][_0x546b0e(0x8a)](this[_0x546b0e(0x95)]);}[_0x1a3bce(0x92)](){const _0x5232e1=_0x1a3bce,_0x5226d8=this[_0x5232e1(0xb1)][_0x5232e1(0xb6)][_0x5232e1(0xc7)](_0x5232e1(0xd5));_0x5226d8&&this[_0x5232e1(0x97)](_0x5226d8,_0x5232e1(0xa8),()=>{const _0x50cf11=_0x5232e1,_0x3457cb=this[_0x50cf11(0xb1)][_0x50cf11(0xc0)][_0x50cf11(0xc9)][_0x50cf11(0xcf)][_0x50cf11(0x94)]();_0x3457cb&&_0x3457cb[_0x50cf11(0xc6)](_0x50cf11(0x93))&&this[_0x50cf11(0xb1)][_0x50cf11(0xb8)][_0x50cf11(0xd1)][_0x50cf11(0x89)](_0x50cf11(0x9a),()=>{const _0x13292d=_0x50cf11;_0x3f1661(this[_0x13292d(0xb1)],_0x3457cb);});});const _0x58d3d9=this[_0x5232e1(0xb1)][_0x5232e1(0xb6)][_0x5232e1(0xc7)](_0x5232e1(0xcc));_0x58d3d9&&this[_0x5232e1(0x97)](_0x58d3d9,_0x5232e1(0xa8),()=>{const _0x47c75b=_0x5232e1,_0x39c25a=this[_0x47c75b(0xb1)][_0x47c75b(0xc0)][_0x47c75b(0xc9)][_0x47c75b(0xcf)][_0x47c75b(0x94)]();_0x39c25a&&_0x39c25a[_0x47c75b(0xc6)](_0x47c75b(0x93))&&this[_0x47c75b(0xb1)][_0x47c75b(0xb8)][_0x47c75b(0xd1)][_0x47c75b(0x89)](_0x47c75b(0x9a),()=>{const _0x5b46c1=_0x47c75b;_0x3f1661(this[_0x5b46c1(0xb1)],_0x39c25a);});});}}function _0x49b9(){const _0x3aaa5c=['extend','_initConfig','remove','3691064FgOAlO','uc-upload-ctx-provider','_initImageProcessingIndicator','uploadcareImageId','getSelectedElement','_ctxElement','isPremiumPlugin','listenTo','PictureEditing','ucContextId','render','isOfficialPlugin','requires','uploadcare','imageBlock','for','5623525NTapbq','_configElement','\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','imageInline','uploadcare.pubkey','108173kVuHJJ','iconHrefResolver','uc-config','execute','6444288eSSQNE','cleanupImage','elementToAttribute','isRegistered','querySelector','_initSchema','config','add','editor','closeMax','configElement','true','downcast','commands','destroy','editing','upcast','UploadcareEditing','conversion','18669024nQmNCZ','pluginName','contentLanguage','locale','model','href','3UREKGC','uploadcare.uploader','removeAttribute','schema','getAttribute','get','afterInit','document','_initCtx','data-uc-image-id','uploadcareImageReplace','init','input[uploadcare-file-input]','selection','uploader-','view','1046778dFGfoA','#uc-icon-arrow-down','attributeToAttribute','insertImage','body','join','5858797BcRzel','fromCharCode','map','ctxElement','once','appendChild','_initConversion','replaceImageSource'];_0x49b9=function(){return _0x3aaa5c;};return _0x49b9();}
23
+ function _0x5162(){const _0x3bb998=['destroy','uc-upload-ctx-provider','body','replaceImageSource','schema','config','once','upcast','href','afterInit','get','configElement','editing','fromCharCode','28425683XkDrVm','uc-config','closeMax','uploader-','637989kMGDJT','commands','for','locale','insertImage','uploadcare.uploader','selection','remove','21IaRvIB','uploadcare.pubkey','uploadcareImageId','init','removeAttribute','_initSchema','imageBlock','attributeToAttribute','true','3291688IVBeGt','contentLanguage','isOfficialPlugin','4849296lqmros','27594GpBnKO','1279452UdRhbF','appendChild','editor','data-uc-image-id','42XPWrIT','#uc-icon-arrow-down','isPremiumPlugin','querySelector','_initCtx','_initConfig','uploadcareImageReplace','getSelectedElement','join','render','document','elementToAttribute','listenTo','imageInline','pluginName','PictureEditing','ctxElement','model','297mfhGpL','downcast','_initImageProcessingIndicator','isRegistered','UploadcareEditing','requires','142580XAuHxo','add','_ctxElement','_configElement','25rZdWME','input[uploadcare-file-input]','_initConversion','uploadcare','conversion','getAttribute','view','execute','ucContextId','iconHrefResolver','extend','cleanupImage','map','\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'];_0x5162=function(){return _0x3bb998;};return _0x5162();}const _0x56f017=_0x5d7c;(function(_0x3fe92b,_0xc6293){const _0x35aa86=_0x5d7c,_0x5b6d23=_0x3fe92b();while(!![]){try{const _0x1a2e61=-parseInt(_0x35aa86(0x10f))/0x1+parseInt(_0x35aa86(0xce))/0x2*(parseInt(_0x35aa86(0xd3))/0x3)+-parseInt(_0x35aa86(0xcd))/0x4+parseInt(_0x35aa86(0xef))/0x5*(-parseInt(_0x35aa86(0xcf))/0x6)+parseInt(_0x35aa86(0x117))/0x7*(parseInt(_0x35aa86(0xca))/0x8)+-parseInt(_0x35aa86(0xe5))/0x9*(parseInt(_0x35aa86(0xeb))/0xa)+parseInt(_0x35aa86(0x10b))/0xb;if(_0x1a2e61===_0xc6293)break;else _0x5b6d23['push'](_0x5b6d23['shift']());}catch(_0x203686){_0x5b6d23['push'](_0x5b6d23['shift']());}}}(_0x5162,0x98811));function _0x5d7c(_0x1f6374,_0x20ff02){const _0x5162a5=_0x5162();return _0x5d7c=function(_0x5d7c85,_0x1c664c){_0x5d7c85=_0x5d7c85-0xc2;let _0x2edffb=_0x5162a5[_0x5d7c85];return _0x2edffb;},_0x5d7c(_0x1f6374,_0x20ff02);}import{Plugin as _0x43163a}from'ckeditor5/src/core.js';import{Dialog as _0x200385}from'ckeditor5/src/ui.js';import{createElement as _0x474916,global as _0x2ac2cb,uid as _0x10ad58}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3d6b9e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5066fb}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5155cc}from'./utils/editingutils.js';export class UploadcareEditing extends _0x43163a{[_0x56f017(0xee)]=null;[_0x56f017(0xed)]=null;static get[_0x56f017(0xe1)](){const _0xba7d2b=_0x56f017;return _0xba7d2b(0xe9);}static get[_0x56f017(0xea)](){const _0x438c04=_0x56f017;return[_0x438c04(0xe2),_0x5066fb,_0x200385];}static get[_0x56f017(0xcc)](){return!0x0;}static get[_0x56f017(0xd5)](){return!0x0;}[_0x56f017(0xf7)];get[_0x56f017(0x108)](){const _0x9479c=_0x56f017;return this[_0x9479c(0xee)];}get[_0x56f017(0xe3)](){const _0x9a7743=_0x56f017;return this[_0x9a7743(0xed)];}constructor(_0x1831f5){const _0x25d934=_0x56f017;super(_0x1831f5),this[_0x25d934(0xf7)]=_0x10ad58();}[_0x56f017(0xc4)](){const _0x2bd619=_0x56f017,_0x534abf=this[_0x2bd619(0xd1)];_0x534abf[_0x2bd619(0x110)][_0x2bd619(0xec)](_0x2bd619(0xf2),new _0x3d6b9e(_0x534abf));}[_0x56f017(0x106)](){const _0x5b6a1d=_0x56f017;this[_0x5b6a1d(0xc6)](),this[_0x5b6a1d(0xf1)](),this[_0x5b6a1d(0xd8)](),this[_0x5b6a1d(0xd7)](),this[_0x5b6a1d(0xe7)](),this[_0x5b6a1d(0xdf)](this[_0x5b6a1d(0xd1)],_0x5b6a1d(0xfd),()=>{const _0x21a7eb=_0x5b6a1d;this[_0x21a7eb(0xee)]&&(this[_0x21a7eb(0xee)][_0x21a7eb(0x116)](),this[_0x21a7eb(0xee)]=null),this[_0x21a7eb(0xed)]&&(this[_0x21a7eb(0xed)][_0x21a7eb(0x116)](),this[_0x21a7eb(0xed)]=null);const _0x551b16=_0x2ac2cb[_0x21a7eb(0xdd)][_0x21a7eb(0xd6)](_0x21a7eb(0xf0));_0x551b16&&_0x551b16[_0x21a7eb(0x116)]();}),async function(_0x17a266){const _0x3dc4a4=_0x4c9434([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]),_0x341864=0x535f8c3a,_0x1aea34=0x5358f6e2^_0x341864,_0x16f9ea=window[_0x4c9434([0x44,0x61,0x74,0x65])][_0x4c9434([0x6e,0x6f,0x77])](),_0x31bb2f=_0x17a266[_0x4c9434([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2cfe21=new window[(_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d8098=>{_0x31bb2f[_0x4c9434([0x6f,0x6e,0x63,0x65])](_0x4c9434([0x72,0x65,0x61,0x64,0x79]),_0x1d8098);}),_0x2d1535={[_0x4c9434([0x6b,0x74,0x79])]:_0x4c9434([0x45,0x43]),[_0x4c9434([0x75,0x73,0x65])]:_0x4c9434([0x73,0x69,0x67]),[_0x4c9434([0x63,0x72,0x76])]:_0x4c9434([0x50,0x2d,0x32,0x35,0x36]),[_0x4c9434([0x78])]:_0x4c9434([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]),[_0x4c9434([0x79])]:_0x4c9434([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]),[_0x4c9434([0x61,0x6c,0x67])]:_0x4c9434([0x45,0x53,0x32,0x35,0x36])},_0x1c7835=_0x31bb2f[_0x4c9434([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c9434([0x67,0x65,0x74])](_0x4c9434([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x391d64(){let _0xe3c316,_0x4702d0=null,_0x298a00=null;try{if(_0x1c7835==_0x4c9434([0x47,0x50,0x4c]))return _0x4c9434([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe3c316=_0x11b0f6(),!_0xe3c316)return _0x4c9434([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe3c316[_0x4c9434([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x298a00=_0x4bd419(_0xe3c316[_0x4c9434([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe3c316[_0x4c9434([0x6a,0x74,0x69])])),await _0x125f96()?_0x40abdc()?_0x5bd355()?_0x4c9434([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x68ef04()?(_0xe3c316[_0x4c9434([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c9434([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4702d0=_0x14481d(_0x4c9434([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe3c316[_0x4c9434([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c9434([0x74,0x72,0x69,0x61,0x6c])&&(_0x4702d0=_0x14481d(_0x4c9434([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x238589()):_0x4c9434([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c9434([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c9434([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c9434([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bd355(){const _0x185137=[_0x4c9434([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c9434([0x74,0x72,0x69,0x61,0x6c])][_0x4c9434([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe3c316[_0x4c9434([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16f9ea/0x3e8:0xe10*_0x1aea34;return _0xe3c316[_0x4c9434([0x65,0x78,0x70])]<_0x185137;}function _0x40abdc(){const _0xd38202=_0xe3c316[_0x4c9434([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd38202&&(!!_0xd38202[_0x4c9434([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c9434([0x2a]))||!!_0xd38202[_0x4c9434([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c9434([0x55,0x50,0x4c,0x43])));}function _0x68ef04(){const _0x2d6b87=_0x5d7c,_0x227723=_0xe3c316[_0x4c9434([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x227723||0x0==_0x227723[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a5dca}=new URL(window[_0x4c9434([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d6b87(0x105)]);if(_0x227723[_0x4c9434([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a5dca))return!0x0;const _0x55194a=_0x1a5dca[_0x4c9434([0x73,0x70,0x6c,0x69,0x74])](_0x4c9434([0x2e]));return _0x227723[_0x4c9434([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1524d8=>_0x1524d8[_0x4c9434([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c9434([0x2a])))[_0x4c9434([0x6d,0x61,0x70])](_0x8e2b21=>_0x8e2b21[_0x4c9434([0x73,0x70,0x6c,0x69,0x74])](_0x4c9434([0x2e])))[_0x4c9434([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c6761=>_0x1c6761[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55194a[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c9434([0x6d,0x61,0x70])](_0x35e7f5=>Array(_0x55194a[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35e7f5[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c9434([0x66,0x69,0x6c,0x6c])](_0x35e7f5[0x0]===_0x4c9434([0x2a])?_0x4c9434([0x2a]):'')[_0x4c9434([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35e7f5))[_0x4c9434([0x73,0x6f,0x6d,0x65])](_0x571d1e=>_0x55194a[_0x4c9434([0x65,0x76,0x65,0x72,0x79])]((_0x542594,_0x3d7167)=>_0x571d1e[_0x3d7167]===_0x542594||_0x571d1e[_0x3d7167]===_0x4c9434([0x2a])));}function _0x238589(){return _0x4702d0&&_0x298a00?new window[(_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xefa6e,_0x2f3c3b)=>{_0x4702d0[_0x4c9434([0x74,0x68,0x65,0x6e])](_0xefa6e,_0x2f3c3b),_0x298a00[_0x4c9434([0x74,0x68,0x65,0x6e])](_0x447d21=>{_0x447d21!=_0x4c9434([0x56,0x61,0x6c,0x69,0x64])&&_0xefa6e(_0x447d21);},_0x2f3c3b);}):_0x4702d0||_0x298a00||_0x4c9434([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bd419(_0x1a24d3,_0x3bc35d){return new window[(_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32c76d=>{if(_0x12335b())return _0x32c76d(_0x4c9434([0x56,0x61,0x6c,0x69,0x64]));_0x239b1d(),_0x31bb2f[_0x4c9434([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c9434([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd91326=!0x1;const _0x59ff74=_0x10ad58();function _0x5979fd(_0x228033){return!!_0x228033&&(typeof _0x228033===_0x4c9434([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x228033===_0x4c9434([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x228033[_0x4c9434([0x74,0x68,0x65,0x6e])]===_0x4c9434([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x228033[_0x4c9434([0x63,0x61,0x74,0x63,0x68])]===_0x4c9434([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b9192(_0x4fd030){_0x1871c3(_0x4fd030)[_0x4c9434([0x74,0x68,0x65,0x6e])](_0x37e5c1=>{if(!_0x37e5c1||_0x37e5c1[_0x4c9434([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c9434([0x6f,0x6b]))return _0x4c9434([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ffbea(_0x110f86(_0x59ff74+_0x3bc35d))!=_0x37e5c1[_0x4c9434([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c9434([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c9434([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c9434([0x74,0x68,0x65,0x6e])](_0x1eeceb=>(_0x374836(),_0x1eeceb),()=>{const _0x23981b=_0x41a78b();return null==_0x23981b?(_0x374836(),_0x4c9434([0x56,0x61,0x6c,0x69,0x64])):_0x4c9434(_0x16f9ea-_0x23981b>(0x7753083a^_0x341864)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c9434([0x74,0x68,0x65,0x6e])](_0x32c76d)[_0x4c9434([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32c76d(_0x4c9434([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe2a97a=0x536962ba^_0x341864;function _0x374836(){const _0x3816e7=_0x4c9434([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ffbea(_0x110f86(_0x1a24d3)),_0x586430=_0x32203f(_0x4ffbea(window[_0x4c9434([0x4d,0x61,0x74,0x68])][_0x4c9434([0x63,0x65,0x69,0x6c])](_0x16f9ea/_0xe2a97a)));window[_0x4c9434([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c9434([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3816e7,_0x586430);}function _0x41a78b(){const _0x1f28c5=_0x4c9434([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ffbea(_0x110f86(_0x1a24d3)),_0x546276=window[_0x4c9434([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c9434([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f28c5);return _0x546276?window[_0x4c9434([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32203f(_0x546276),0x10)*_0xe2a97a:null;}function _0x1871c3(_0x1fd380){return new window[(_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47814d,_0x18f5c2)=>{_0x1fd380[_0x4c9434([0x74,0x68,0x65,0x6e])](_0x47814d,_0x18f5c2),window[_0x4c9434([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18f5c2,0x535e58fa^_0x341864);});}}_0x31bb2f[_0x4c9434([0x6f,0x6e])](_0x4c9434([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd69e04,_0x4a4524)=>{if(_0x4a4524[0x0]!=_0x1a24d3)return _0x32c76d(_0x4c9434([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a4524[0x1]={..._0x4a4524[0x1],[_0x4c9434([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59ff74};},{[_0x4c9434([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c9434([0x68,0x69,0x67,0x68])}),_0x31bb2f[_0x4c9434([0x6f,0x6e])](_0x4c9434([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe6714=>{_0x5979fd(_0xe6714[_0x4c9434([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd91326=!0x0,_0x3b9192(_0xe6714[_0x4c9434([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c9434([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c9434([0x6c,0x6f,0x77])}),_0x2cfe21[_0x4c9434([0x74,0x68,0x65,0x6e])](()=>{_0xd91326||_0x32c76d(_0x4c9434([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12335b(){return _0x31bb2f[_0x4c9434([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c9434([0x76,0x69,0x65,0x77])][_0x4c9434([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c9434([0x61,0x75,0x74,0x6f]);}function _0x239b1d(){_0x31bb2f[_0x4c9434([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c9434([0x76,0x69,0x65,0x77])][_0x4c9434([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c9434([0x61,0x75,0x74,0x6f]);}}function _0x14481d(_0x208e3c){const _0x15f35a=[new window[(_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e16e5=>setTimeout(_0x3e16e5,0x5356b2f6^_0x341864)),_0x2cfe21[_0x4c9434([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dbe53=>{let _0xd8c796=0x0;_0x31bb2f[_0x4c9434([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c9434([0x6f,0x6e])](_0x4c9434([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43b136,_0xdf4d80)=>{_0xdf4d80[0x0][_0x4c9434([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd8c796++,_0xd8c796==(0x535f8dc2^_0x341864)&&(_0x4dbe53(),_0x43b136[_0x4c9434([0x6f,0x66,0x66])]());});}))];return window[_0x4c9434([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c9434([0x72,0x61,0x63,0x65])](_0x15f35a)[_0x4c9434([0x74,0x68,0x65,0x6e])](()=>_0x208e3c);}async function _0x320426(){await _0x2cfe21,_0x31bb2f[_0x4c9434([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c9434([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10231d,_0x31bb2f[_0x4c9434([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c9434([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10231d,_0x31bb2f[_0x4c9434([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c9434([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37697f(_0x26e75d){const _0xa2a451=_0xb45a13();_0x31bb2f[_0xa2a451]=_0x4c9434([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26e75d,_0x26e75d!=_0x4c9434([0x56,0x61,0x6c,0x69,0x64])&&_0x320426();}function _0xb45a13(){const _0x561727=window[_0x4c9434([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c9434([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c9434([0x6e,0x6f,0x77])]())[_0x4c9434([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c9434([0x2e]),'');let _0x20b6b6=_0x4c9434([0x68]);for(let _0x506a9e=0x0;_0x506a9e<_0x561727[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x506a9e+=0x2){let _0x21091a=window[_0x4c9434([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x561727[_0x4c9434([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x506a9e,_0x506a9e+0x2));_0x21091a>=_0x3dc4a4[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21091a-=_0x3dc4a4[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20b6b6+=_0x3dc4a4[_0x21091a];}return _0x20b6b6;}function _0x11b0f6(){const _0x4b429c=_0x1c7835[_0x4c9434([0x73,0x70,0x6c,0x69,0x74])](_0x4c9434([0x2e]));if(0x3!=_0x4b429c[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2fd2b1(_0x4b429c[0x1]);function _0x2fd2b1(_0xcd7702){const _0x34ee8a=_0x43a05c(_0xcd7702);return _0x34ee8a&&_0x1ff750()?_0x34ee8a:null;function _0x1ff750(){const _0x1bfc92=_0x34ee8a[_0x4c9434([0x6a,0x74,0x69])],_0x1d1522=window[_0x4c9434([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfc92[_0x4c9434([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bfc92[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3976a7={..._0x34ee8a,[_0x4c9434([0x6a,0x74,0x69])]:_0x1bfc92[_0x4c9434([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bfc92[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3976a7[_0x4c9434([0x76,0x63])],_0x110f86(_0x3976a7)==_0x1d1522;}}}async function _0x125f96(){let _0x11f8c7=!0x0;try{const _0xbdfd36=_0x1c7835[_0x4c9434([0x73,0x70,0x6c,0x69,0x74])](_0x4c9434([0x2e])),[_0x1350bc,_0x50bbec,_0x277041]=_0xbdfd36;return _0x5d235a(_0x1350bc),await _0x58c8fd(_0x1350bc,_0x50bbec,_0x277041),_0x11f8c7;}catch{return!0x1;}function _0x5d235a(_0x31b0cf){const _0x40efa5=_0x43a05c(_0x31b0cf);_0x40efa5&&_0x40efa5[_0x4c9434([0x61,0x6c,0x67])]==_0x4c9434([0x45,0x53,0x32,0x35,0x36])||(_0x11f8c7=!0x1);}async function _0x58c8fd(_0x4538ea,_0x4ce9b2,_0x2be482){const _0x1942a3=window[_0x4c9434([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c9434([0x66,0x72,0x6f,0x6d])](_0x1890c3(_0x2be482),_0x15b871=>_0x15b871[_0x4c9434([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34453c=new window[(_0x4c9434([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c9434([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4538ea+_0x4c9434([0x2e])+_0x4ce9b2),_0x160b70=window[_0x4c9434([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c9434([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x160b70)return;const _0x54697b=await _0x160b70[_0x4c9434([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c9434([0x6a,0x77,0x6b]),_0x2d1535,{[_0x4c9434([0x6e,0x61,0x6d,0x65])]:_0x4c9434([0x45,0x43,0x44,0x53,0x41]),[_0x4c9434([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c9434([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c9434([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x160b70[_0x4c9434([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c9434([0x6e,0x61,0x6d,0x65])]:_0x4c9434([0x45,0x43,0x44,0x53,0x41]),[_0x4c9434([0x68,0x61,0x73,0x68])]:{[_0x4c9434([0x6e,0x61,0x6d,0x65])]:_0x4c9434([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54697b,_0x1942a3,_0x34453c)||(_0x11f8c7=!0x1);}}function _0x43a05c(_0x522ff8){return _0x522ff8[_0x4c9434([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c9434([0x65,0x79]))?JSON[_0x4c9434([0x70,0x61,0x72,0x73,0x65])](_0x1890c3(_0x522ff8)):null;}function _0x1890c3(_0x3bde5){return window[_0x4c9434([0x61,0x74,0x6f,0x62])](_0x3bde5[_0x4c9434([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c9434([0x2b]))[_0x4c9434([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c9434([0x2f])));}function _0x110f86(_0x18fb72){let _0x3de190=0x1505;function _0x241c72(_0x278adf){for(let _0x521648=0x0;_0x521648<_0x278adf[_0x4c9434([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x521648++){const _0x45960a=_0x278adf[_0x4c9434([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x521648);_0x3de190=(_0x3de190<<0x5)+_0x3de190+_0x45960a,_0x3de190&=_0x3de190;}}function _0x8e962b(_0x7f52d1){Array[_0x4c9434([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7f52d1)?_0x7f52d1[_0x4c9434([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8e962b):_0x7f52d1&&typeof _0x7f52d1==_0x4c9434([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c9434([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7f52d1)[_0x4c9434([0x73,0x6f,0x72,0x74])]()[_0x4c9434([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c7fba,_0x15f5e4])=>{_0x241c72(_0x5c7fba),_0x8e962b(_0x15f5e4);}):_0x241c72(window[_0x4c9434([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7f52d1));}return _0x8e962b(_0x18fb72),_0x3de190>>>0x0;}function _0x4ffbea(_0x292261){return _0x292261[_0x4c9434([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c9434([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c9434([0x30]));}function _0x32203f(_0x54e49b){return _0x54e49b[_0x4c9434([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c9434([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c9434([0x6a,0x6f,0x69,0x6e])]('');}function _0x10231d(){}function _0x4c9434(_0x333021){const _0x20dbf9=_0x5d7c;return _0x333021[_0x20dbf9(0xfb)](_0x541976=>String[_0x20dbf9(0x10a)](_0x541976))[_0x20dbf9(0xdb)]('');}_0x37697f(await _0x391d64());}(this);}[_0x56f017(0xc6)](){const _0xf40056=_0x56f017,_0x4657e4=this[_0xf40056(0xd1)][_0xf40056(0xe4)][_0xf40056(0x101)];_0x4657e4[_0xf40056(0xe8)](_0xf40056(0xc7))&&_0x4657e4[_0xf40056(0xf9)](_0xf40056(0xc7),{'allowAttributes':[_0xf40056(0xc3)]}),_0x4657e4[_0xf40056(0xe8)](_0xf40056(0xe0))&&_0x4657e4[_0xf40056(0xf9)](_0xf40056(0xe0),{'allowAttributes':[_0xf40056(0xc3)]});}[_0x56f017(0xf1)](){const _0x2ac71e=_0x56f017,_0x524986=this[_0x2ac71e(0xd1)];_0x524986[_0x2ac71e(0xf3)][_0x2ac71e(0x111)](_0x2ac71e(0xe6))[_0x2ac71e(0xc8)]({'model':_0x2ac71e(0xc3),'view':_0x2ac71e(0xd2)}),_0x524986[_0x2ac71e(0xf3)][_0x2ac71e(0x111)](_0x2ac71e(0x104))[_0x2ac71e(0xde)]({'model':{'key':_0x2ac71e(0xc3),'value':_0xda583f=>_0xda583f[_0x2ac71e(0xf4)](_0x2ac71e(0xd2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3d562e=_0x524986[_0x2ac71e(0x110)][_0x2ac71e(0x107)](_0x2ac71e(0x100));_0x3d562e&&this[_0x2ac71e(0xdf)](_0x3d562e,_0x2ac71e(0xfa),(_0x4b18dd,[_0x482f38,_0x2aca80])=>{const _0x429365=_0x2ac71e;_0x482f38[_0x429365(0xc5)](_0x429365(0xc3),_0x2aca80);});}[_0x56f017(0xd8)](){const _0x3bf880=_0x56f017,_0xd0bd38=this[_0x3bf880(0xd1)][_0x3bf880(0x102)][_0x3bf880(0x107)](_0x3bf880(0x114))||{},_0x42999e=this[_0x3bf880(0xd1)][_0x3bf880(0x102)][_0x3bf880(0x107)](_0x3bf880(0xc2))||'';this[_0x3bf880(0xee)]=_0x474916(_0x2ac2cb[_0x3bf880(0xdd)],_0x3bf880(0x10c),{..._0xd0bd38,'pubkey':_0x42999e,'ctx-name':_0x3bf880(0x10e)+this[_0x3bf880(0xf7)],'sourceList':'','imgOnly':_0x3bf880(0xc9),'removeCopyright':_0x3bf880(0xc9),'localeName':this[_0x3bf880(0xd1)][_0x3bf880(0x112)][_0x3bf880(0xcb)],'externalSourcesEmbedCss':_0x3bf880(0xfc)}),this[_0x3bf880(0xee)][_0x3bf880(0xf8)]=_0x1a87b7=>{const _0x1227aa=_0x3bf880;if(_0x1227aa(0x10d)==_0x1a87b7)return _0x1227aa(0xd4);},_0x2ac2cb[_0x3bf880(0xdd)][_0x3bf880(0xff)][_0x3bf880(0xd0)](this[_0x3bf880(0xee)]);}[_0x56f017(0xd7)](){const _0xf2f67f=_0x56f017;this[_0xf2f67f(0xed)]=_0x474916(_0x2ac2cb[_0xf2f67f(0xdd)],_0xf2f67f(0xfe),{'ctx-name':_0xf2f67f(0x10e)+this[_0xf2f67f(0xf7)]}),_0x2ac2cb[_0xf2f67f(0xdd)][_0xf2f67f(0xff)][_0xf2f67f(0xd0)](this[_0xf2f67f(0xed)]);}[_0x56f017(0xe7)](){const _0x351108=_0x56f017,_0x551cea=this[_0x351108(0xd1)][_0x351108(0x110)][_0x351108(0x107)](_0x351108(0x113));_0x551cea&&this[_0x351108(0xdf)](_0x551cea,_0x351108(0xf6),()=>{const _0x151677=_0x351108,_0x544f02=this[_0x151677(0xd1)][_0x151677(0xe4)][_0x151677(0xdd)][_0x151677(0x115)][_0x151677(0xda)]();_0x544f02&&_0x544f02[_0x151677(0xf4)](_0x151677(0xc3))&&this[_0x151677(0xd1)][_0x151677(0x109)][_0x151677(0xf5)][_0x151677(0x103)](_0x151677(0xdc),()=>{const _0x550d2d=_0x151677;_0x5155cc(this[_0x550d2d(0xd1)],_0x544f02);});});const _0x1c07bf=this[_0x351108(0xd1)][_0x351108(0x110)][_0x351108(0x107)](_0x351108(0xd9));_0x1c07bf&&this[_0x351108(0xdf)](_0x1c07bf,_0x351108(0xf6),()=>{const _0x4c84bb=_0x351108,_0x5cd733=this[_0x4c84bb(0xd1)][_0x4c84bb(0xe4)][_0x4c84bb(0xdd)][_0x4c84bb(0x115)][_0x4c84bb(0xda)]();_0x5cd733&&_0x5cd733[_0x4c84bb(0xf4)](_0x4c84bb(0xc3))&&this[_0x4c84bb(0xd1)][_0x4c84bb(0x109)][_0x4c84bb(0xf5)][_0x4c84bb(0x103)](_0x4c84bb(0xdc),()=>{const _0x424b80=_0x4c84bb;_0x5155cc(this[_0x424b80(0xd1)],_0x5cd733);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x32342e,ObservableMixin as _0x29be2c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x11da6a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e7c15}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3d037a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x350ce1}from'../../utils/uploadutils.js';import{getImageUrls as _0x12c91f,getImageDimension as _0x4da9fc}from'../../utils/editingutils.js';import{isAncestor as _0x569f98}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x29be2c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2e8b28,_0x5964c0,_0x1dec3b){super(),this['_editor']=_0x2e8b28,this['_dialog']=_0x5964c0,this['_imageElement']=_0x1dec3b,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 _0x5a8280=this['_imageElement'],_0x1168cb=_0x5a8280['getAttribute']('uploadcareImageId'),_0xf2c186=_0x5a8280['getAttribute']('src');if(_0x1168cb)await this['_loadImageInfo'](_0x1168cb,_0xf2c186);else{if(this['_imageCache']['has'](_0xf2c186)){const _0x16b71d=this['_imageCache']['get'](_0xf2c186);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x16b71d['url'],this['imageDimension']=_0x16b71d['dimension'],this['imageId']=_0x16b71d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f2848}=this['_editor'],t=_0x2f2848['t'],_0x251774=new _0x3d037a(_0x2f2848,this['imageStatus'],this['_attributes']);_0x251774['bind']('status')['to'](this,'imageStatus'),_0x251774['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x251774['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x251774['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x251774,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1e7c15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x251774,'position':_0x11da6a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x251774['focus']();},'onHide':()=>{_0x251774['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x30759c=>!_0x569f98(_0x30759c,_0x251774['element'])}});}['_loadImageInfo'](_0x2438fd,_0x4fa207){return _0x350ce1['getInfo'](_0x2438fd,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x184fbd=>{const {width:_0x2a9293,height:_0x54138e}=_0x184fbd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4fa207,this['imageDimension']={'width':_0x2a9293,'height':_0x54138e},this['imageId']=_0x2438fd;})['catch'](_0x11c4f8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x11c4f8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x303abf,_0x479cf5){return this['_getImageAsFile'](_0x303abf)['then'](_0x47e9d2=>_0x350ce1['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':_0x479cf5['signal'],'file':_0x47e9d2,'onProgress':_0x5e48e4=>{_0x5e48e4&&_0x5e48e4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5e48e4['value']));}}))['then'](_0x4ff820=>{const {width:_0x30e71d,height:_0x1f90a9}=_0x4ff820['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4ff820['cdnUrl'],this['imageDimension']={'width':_0x30e71d,'height':_0x1f90a9},this['imageId']=_0x4ff820['uuid'],this['imageUploadProgress']=null;const _0x159a43=_0x303abf['getAttribute']('src');this['_imageCache']['set'](_0x159a43,{'id':_0x4ff820['uuid'],'url':_0x4ff820['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x191c42=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x191c42['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x405f01,_0x276819){_0x405f01['on']('apply',(_0x1adbf3,_0x2c3347)=>{this['_replaceImage'](_0x276819,_0x2c3347['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x405f01['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x405f01['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x579f09,_0x1b7d8f,_0x19795f){const _0x1898c9=this['_editor'],{width:_0x15a6f4,height:_0x5ac38c}=_0x4da9fc(_0x1b7d8f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x94412c,imageSources:_0x272bc8}=_0x12c91f(_0x1b7d8f,_0x15a6f4);_0x1898c9['model']['change'](_0x1e4427=>{if('$graveyard'===_0x579f09['root']['rootName']){_0x1898c9['execute']('insertImage',{'imageType':_0x579f09['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x579f09['getAttributes']()),'uploadcareImageId':_0x19795f,'src':_0x94412c,'sources':_0x272bc8,'width':_0x15a6f4,'height':_0x5ac38c}});const _0x3839b6=_0x579f09['getChildren']();_0x579f09=_0x1898c9['model']['document']['selection']['getSelectedElement']();for(const _0x4d071e of _0x3839b6)_0x1e4427['append'](_0x1e4427['cloneElement'](_0x4d071e),_0x579f09);}else _0x1e4427['setSelection'](_0x579f09,'on'),_0x1898c9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x579f09['getAttributes']()),'uploadcareImageId':_0x19795f,'src':_0x94412c,'sources':_0x272bc8,'width':_0x15a6f4,'height':_0x5ac38c},_0x579f09);_0x1e4427['setSelection'](_0x579f09,'on');});}async['_getImageAsFile'](_0x17db75){const _0x4e77f8=_0x32342e['window'],_0x125784=_0x32342e['document']['location']['href'],_0x1d1050=new _0x4e77f8['URL'](_0x17db75['getAttribute']('src'),_0x125784);if('data:'===_0x1d1050['protocol']){const _0x127b78=_0x1d1050['href']['split'](','),_0x4fcdb9=_0x127b78[0x0]['match'](/:(.*?);/)[0x1],_0x532e81=_0x4fcdb9['split']('/')[0x1],_0x3964c2=_0x4e77f8['atob'](_0x127b78[_0x127b78['length']-0x1]);let _0x7d8af8=_0x3964c2['length'];const _0x4ddcf4=new _0x4e77f8['Uint8Array'](_0x7d8af8);for(;_0x7d8af8--;)_0x4ddcf4[_0x7d8af8]=_0x3964c2['charCodeAt'](_0x7d8af8);return new _0x4e77f8['File']([_0x4ddcf4],'image.'+_0x532e81,{'type':_0x4fcdb9});}const _0x4a18b8=_0x1d1050['href']['split']('/'),_0x2a5cce=_0x4a18b8[_0x4a18b8['length']-0x1],_0x491b3e=_0x2a5cce['split']('.')[0x1];return _0x4e77f8['fetch'](_0x1d1050['href'])['then'](_0x4bb483=>_0x4bb483['clone']()['blob']())['then'](_0x3281eb=>new _0x4e77f8['File']([_0x3281eb],_0x2a5cce,{'type':'image/'+_0x491b3e}));}}
23
+ import{global as _0x7c6379,ObservableMixin as _0x10e53f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x58424d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x510e01}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x535227}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3b927b}from'../../utils/uploadutils.js';import{getImageUrls as _0xd643ab,getImageDimension as _0x2be396}from'../../utils/editingutils.js';import{isAncestor as _0x47d215}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x10e53f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x21d936,_0x24a1e8,_0x281d17){super(),this['_editor']=_0x21d936,this['_dialog']=_0x24a1e8,this['_imageElement']=_0x281d17,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 _0x3475ed=this['_imageElement'],_0x59b68f=_0x3475ed['getAttribute']('uploadcareImageId'),_0x2da5f0=_0x3475ed['getAttribute']('src');if(_0x59b68f)await this['_loadImageInfo'](_0x59b68f,_0x2da5f0);else{if(this['_imageCache']['has'](_0x2da5f0)){const _0x187cf5=this['_imageCache']['get'](_0x2da5f0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x187cf5['url'],this['imageDimension']=_0x187cf5['dimension'],this['imageId']=_0x187cf5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5b8a02}=this['_editor'],t=_0x5b8a02['t'],_0xf3339c=new _0x535227(_0x5b8a02,this['imageStatus'],this['_attributes']);_0xf3339c['bind']('status')['to'](this,'imageStatus'),_0xf3339c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xf3339c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xf3339c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xf3339c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x510e01,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xf3339c,'position':_0x58424d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xf3339c['focus']();},'onHide':()=>{_0xf3339c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x405249=>!_0x47d215(_0x405249,_0xf3339c['element'])}});}['_loadImageInfo'](_0x521479,_0x2ea3ac){return _0x3b927b['getInfo'](_0x521479,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5c03b7=>{const {width:_0x39d0e5,height:_0x1ec06e}=_0x5c03b7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ea3ac,this['imageDimension']={'width':_0x39d0e5,'height':_0x1ec06e},this['imageId']=_0x521479;})['catch'](_0x486ab7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x486ab7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xccc8,_0x134dab){return this['_getImageAsFile'](_0xccc8)['then'](_0x3a7897=>_0x3b927b['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':_0x134dab['signal'],'file':_0x3a7897,'onProgress':_0x2698c9=>{_0x2698c9&&_0x2698c9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2698c9['value']));}}))['then'](_0x30c5f2=>{const {width:_0x57b43c,height:_0x2696cb}=_0x30c5f2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x30c5f2['cdnUrl'],this['imageDimension']={'width':_0x57b43c,'height':_0x2696cb},this['imageId']=_0x30c5f2['uuid'],this['imageUploadProgress']=null;const _0x22e8e0=_0xccc8['getAttribute']('src');this['_imageCache']['set'](_0x22e8e0,{'id':_0x30c5f2['uuid'],'url':_0x30c5f2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x40fa93=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x40fa93['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5abcb8,_0x1b3f11){_0x5abcb8['on']('apply',(_0x4395be,_0x538f39)=>{this['_replaceImage'](_0x1b3f11,_0x538f39['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5abcb8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5abcb8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4047f9,_0x12ab9e,_0x26a0ed){const _0x1450af=this['_editor'],{width:_0x5be36,height:_0x7ebcdd}=_0x2be396(_0x12ab9e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5f2d89,imageSources:_0x37a195}=_0xd643ab(_0x12ab9e,_0x5be36);_0x1450af['model']['change'](_0x50fe5a=>{if('$graveyard'===_0x4047f9['root']['rootName']){_0x1450af['execute']('insertImage',{'imageType':_0x4047f9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4047f9['getAttributes']()),'uploadcareImageId':_0x26a0ed,'src':_0x5f2d89,'sources':_0x37a195,'width':_0x5be36,'height':_0x7ebcdd}});const _0x47ee21=_0x4047f9['getChildren']();_0x4047f9=_0x1450af['model']['document']['selection']['getSelectedElement']();for(const _0x253785 of _0x47ee21)_0x50fe5a['append'](_0x50fe5a['cloneElement'](_0x253785),_0x4047f9);}else _0x50fe5a['setSelection'](_0x4047f9,'on'),_0x1450af['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4047f9['getAttributes']()),'uploadcareImageId':_0x26a0ed,'src':_0x5f2d89,'sources':_0x37a195,'width':_0x5be36,'height':_0x7ebcdd},_0x4047f9);_0x50fe5a['setSelection'](_0x4047f9,'on');});}async['_getImageAsFile'](_0x21f9e7){const _0x2f172a=_0x7c6379['window'],_0x420bec=_0x7c6379['document']['location']['href'],_0x392fe6=new _0x2f172a['URL'](_0x21f9e7['getAttribute']('src'),_0x420bec);if('data:'===_0x392fe6['protocol']){const _0x4cbd4=_0x392fe6['href']['split'](','),_0x19be96=_0x4cbd4[0x0]['match'](/:(.*?);/)[0x1],_0x4357b6=_0x19be96['split']('/')[0x1],_0x5d841e=_0x2f172a['atob'](_0x4cbd4[_0x4cbd4['length']-0x1]);let _0x57b8e1=_0x5d841e['length'];const _0x4e676f=new _0x2f172a['Uint8Array'](_0x57b8e1);for(;_0x57b8e1--;)_0x4e676f[_0x57b8e1]=_0x5d841e['charCodeAt'](_0x57b8e1);return new _0x2f172a['File']([_0x4e676f],'image.'+_0x4357b6,{'type':_0x19be96});}const _0x2a79f2=_0x392fe6['href']['split']('/'),_0x436919=_0x2a79f2[_0x2a79f2['length']-0x1],_0x101415=_0x436919['split']('.')[0x1];return _0x2f172a['fetch'](_0x392fe6['href'])['then'](_0x320b0f=>_0x320b0f['clone']()['blob']())['then'](_0x332d5f=>new _0x2f172a['File']([_0x332d5f],_0x436919,{'type':'image/'+_0x101415}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c8d(_0x2de57a,_0x57c28f){const _0x563090=_0x5630();return _0x4c8d=function(_0x4c8d4e,_0x546d37){_0x4c8d4e=_0x4c8d4e-0xa4;let _0x2f031d=_0x563090[_0x4c8d4e];return _0x2f031d;},_0x4c8d(_0x2de57a,_0x57c28f);}(function(_0x136795,_0x30cce8){const _0x49ba03=_0x4c8d,_0x2330ad=_0x136795();while(!![]){try{const _0x6459c4=parseInt(_0x49ba03(0xb0))/0x1*(parseInt(_0x49ba03(0xb4))/0x2)+parseInt(_0x49ba03(0xa6))/0x3*(-parseInt(_0x49ba03(0xaa))/0x4)+parseInt(_0x49ba03(0xaf))/0x5+parseInt(_0x49ba03(0xac))/0x6+parseInt(_0x49ba03(0xb5))/0x7+parseInt(_0x49ba03(0xa5))/0x8*(-parseInt(_0x49ba03(0xb3))/0x9)+-parseInt(_0x49ba03(0xb2))/0xa;if(_0x6459c4===_0x30cce8)break;else _0x2330ad['push'](_0x2330ad['shift']());}catch(_0xfc5f4){_0x2330ad['push'](_0x2330ad['shift']());}}}(_0x5630,0xbc024));import{View as _0x45418f}from'ckeditor5/src/ui.js';function _0x5630(){const _0x338422=['6201PbSDzF','bindTemplate','ck-uploadcare-theme','uc-light','344qoawDI','uc-cloud-image-editor','8897862lqhvSe','setTemplate','image-edit','6137000nlzDTS','37gszNnB','set','15437190rgAoLb','4122aaAnFl','11238kmEgXt','3569265jacyvY','imageSrc','16360SUHsSh'];_0x5630=function(){return _0x338422;};return _0x5630();}export class UploadcareImageEditFormEditingView extends _0x45418f{constructor(_0x513626,_0x174f46){const _0x3b3883=_0x4c8d;super(_0x513626);const _0x2db864=this[_0x3b3883(0xa7)];this[_0x3b3883(0xb1)](_0x3b3883(0xa4),''),this[_0x3b3883(0xad)]({'tag':_0x3b3883(0xab),'attributes':{..._0x174f46,'class':[_0x3b3883(0xa9),_0x3b3883(0xa8)],'ctx-name':_0x3b3883(0xae),'cdn-url':_0x2db864['to'](_0x3b3883(0xa4))}});}}
23
+ function _0x1a4c(){const _0x25cb55=['ck-uploadcare-theme','51RgOuRh','6189528feSNFM','image-edit','1569035ZUCvrN','uc-light','setTemplate','7067998REkMIq','241390yYJGKt','bindTemplate','set','12tshzjF','imageSrc','612072TttJlq','588777uoGFxO','uc-cloud-image-editor','828grUges','72086YPCkLm'];_0x1a4c=function(){return _0x25cb55;};return _0x1a4c();}(function(_0x2b84e0,_0x3a4316){const _0x2dd5e9=_0x4a9a,_0x47cae3=_0x2b84e0();while(!![]){try{const _0x1ec57d=parseInt(_0x2dd5e9(0x114))/0x1+-parseInt(_0x2dd5e9(0x117))/0x2*(parseInt(_0x2dd5e9(0x107))/0x3)+parseInt(_0x2dd5e9(0x111))/0x4*(parseInt(_0x2dd5e9(0x10a))/0x5)+parseInt(_0x2dd5e9(0x108))/0x6+parseInt(_0x2dd5e9(0x10d))/0x7+-parseInt(_0x2dd5e9(0x113))/0x8+-parseInt(_0x2dd5e9(0x116))/0x9*(parseInt(_0x2dd5e9(0x10e))/0xa);if(_0x1ec57d===_0x3a4316)break;else _0x47cae3['push'](_0x47cae3['shift']());}catch(_0x37ab83){_0x47cae3['push'](_0x47cae3['shift']());}}}(_0x1a4c,0xa17e0));function _0x4a9a(_0x558e0c,_0x56ece5){const _0x1a4c1b=_0x1a4c();return _0x4a9a=function(_0x4a9add,_0x39aa46){_0x4a9add=_0x4a9add-0x107;let _0x413e0e=_0x1a4c1b[_0x4a9add];return _0x413e0e;},_0x4a9a(_0x558e0c,_0x56ece5);}import{View as _0x9b9157}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x9b9157{constructor(_0x23c38b,_0x4d9b85){const _0x564723=_0x4a9a;super(_0x23c38b);const _0x193f33=this[_0x564723(0x10f)];this[_0x564723(0x110)](_0x564723(0x112),''),this[_0x564723(0x10c)]({'tag':_0x564723(0x115),'attributes':{..._0x4d9b85,'class':[_0x564723(0x10b),_0x564723(0x118)],'ctx-name':_0x564723(0x109),'cdn-url':_0x193f33['to'](_0x564723(0x112))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2c43cb}from'ckeditor5/src/icons.js';import{ButtonView as _0x167ece,IconView as _0x2dd70b,View as _0x13a0ee}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x13a0ee{constructor(_0x1ea025){super(_0x1ea025);const t=_0x1ea025['t'];this['set']('errorType',null);const _0x304cc3=new _0x167ece(_0x1ea025);_0x304cc3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x304cc3['withText']=!0x0,_0x304cc3['class']='ck-button-action',_0x304cc3['on']('execute',()=>{this['fire']('retry');}),_0x304cc3['bind']('isVisible')['to'](this,'errorType',_0x422872=>'NotFound'!==_0x422872);const _0x4a7121=new _0x2dd70b();_0x4a7121['content']=_0x2c43cb,_0x4a7121['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x99b1ae=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':[_0x4a7121,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x99b1ae['to']('errorType',_0x50e9d2=>t('NotFound'!==_0x50e9d2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x304cc3]},{'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 _0x58eb2b}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a31cf,IconView as _0x585df3,View as _0x307cb2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x307cb2{constructor(_0x46a8fc){super(_0x46a8fc);const t=_0x46a8fc['t'];this['set']('errorType',null);const _0x2ca8c5=new _0x5a31cf(_0x46a8fc);_0x2ca8c5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2ca8c5['withText']=!0x0,_0x2ca8c5['class']='ck-button-action',_0x2ca8c5['on']('execute',()=>{this['fire']('retry');}),_0x2ca8c5['bind']('isVisible')['to'](this,'errorType',_0x877957=>'NotFound'!==_0x877957);const _0x9caf78=new _0x585df3();_0x9caf78['content']=_0x58eb2b,_0x9caf78['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2aa008=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':[_0x9caf78,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2aa008['to']('errorType',_0x227e40=>t('NotFound'!==_0x227e40?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2ca8c5]},{'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 _0x56dafe,View as _0x3662ba}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3662ba{constructor(_0x555d4d){super(_0x555d4d);const t=_0x555d4d['t'],_0x17540c=this['bindTemplate'],_0x2b4645=new _0x56dafe();_0x2b4645['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':[_0x2b4645,{'text':_0x17540c['to']('imageUploadProgress',_0x5904bc=>t('Loading\x20image...')+'\x20('+(_0x5904bc||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 _0x330896,View as _0x1dc16b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1dc16b{constructor(_0x29697c){super(_0x29697c);const t=_0x29697c['t'],_0x17f954=this['bindTemplate'],_0x18e61a=new _0x330896();_0x18e61a['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':[_0x18e61a,{'text':_0x17f954['to']('imageUploadProgress',_0x36eba7=>t('Loading\x20image...')+'\x20('+(_0x36eba7||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 _0x1ace78=_0x647f;function _0x647f(_0x60b299,_0x212d62){const _0x23e74a=_0x23e7();return _0x647f=function(_0x647fe0,_0x175470){_0x647fe0=_0x647fe0-0x12b;let _0x16bf78=_0x23e74a[_0x647fe0];return _0x16bf78;},_0x647f(_0x60b299,_0x212d62);}(function(_0x161084,_0x15378e){const _0x165af1=_0x647f,_0x5634f6=_0x161084();while(!![]){try{const _0x3225c9=parseInt(_0x165af1(0x150))/0x1+-parseInt(_0x165af1(0x15b))/0x2*(parseInt(_0x165af1(0x13c))/0x3)+-parseInt(_0x165af1(0x134))/0x4*(parseInt(_0x165af1(0x155))/0x5)+parseInt(_0x165af1(0x14c))/0x6+parseInt(_0x165af1(0x142))/0x7+parseInt(_0x165af1(0x144))/0x8+parseInt(_0x165af1(0x14e))/0x9;if(_0x3225c9===_0x15378e)break;else _0x5634f6['push'](_0x5634f6['shift']());}catch(_0x1bdd95){_0x5634f6['push'](_0x5634f6['shift']());}}}(_0x23e7,0xc2791));import{View as _0x2da677}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5a34be}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ba277}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x55ea41}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x393a22}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x23e7(){const _0x2c77d2=['toLowerCase','getFocusableElement','ready','_addUploadcareImageEditorListeners','addEventListener','347716fpKFGP','length','div','status','render','_waitForImageEditorComponent','disconnect','uc-cloud-image-editor','set','_focusableView','_loadingView','addedNodes','change:status','_errorView','fire','680vWjYMe','detail','once','cancel','_addErrorViewListeners','ck-reset_all-excluded','setTemplate','ck-uploadcare-form','15MfExXL','retry','error','_editingView','add','uploading','7396109LLfSGd','cdnUrl','6172952FAqSfx','querySelector','target','element','focus','createCollection','clear','_setView','2162316GIigWJ','addMany','2806542nzCfUt','_items','234211xFCYsY','observe','apply','filter','nodeName','31435FMxDnR'];_0x23e7=function(){return _0x2c77d2;};return _0x23e7();}export class UploadcareImageEditFormView extends _0x393a22{[_0x1ace78(0x14f)];[_0x1ace78(0x12f)];[_0x1ace78(0x132)];[_0x1ace78(0x13f)];[_0x1ace78(0x12e)];constructor(_0x2e64bd,_0x2c0f36,_0x4f6aea){const _0x4ad7b2=_0x1ace78;super(_0x2e64bd),this[_0x4ad7b2(0x14f)]=this[_0x4ad7b2(0x149)](),this[_0x4ad7b2(0x12f)]=new _0x5a34be(_0x2e64bd),this[_0x4ad7b2(0x132)]=new _0x2ba277(_0x2e64bd),this[_0x4ad7b2(0x13f)]=new _0x55ea41(_0x2e64bd,_0x4f6aea),this[_0x4ad7b2(0x12e)]=new _0x2da677(_0x2e64bd),this[_0x4ad7b2(0x12e)][_0x4ad7b2(0x13a)](this[_0x4ad7b2(0x157)]()),this[_0x4ad7b2(0x12d)](_0x4ad7b2(0x15e),_0x2c0f36),this[_0x4ad7b2(0x13a)]({'tag':_0x4ad7b2(0x15d),'attributes':{'class':['ck',_0x4ad7b2(0x139),_0x4ad7b2(0x13b)],'tabindex':'-1'},'children':this[_0x4ad7b2(0x14f)]}),this[_0x4ad7b2(0x14b)](),this[_0x4ad7b2(0x136)](_0x4ad7b2(0x15f),()=>{const _0x3b30bd=_0x4ad7b2;this[_0x3b30bd(0x160)](this[_0x3b30bd(0x147)],_0x12b648=>{const _0x584a1c=_0x3b30bd;this[_0x584a1c(0x159)](_0x12b648);});}),this['on'](_0x4ad7b2(0x131),()=>{const _0x54c09d=_0x4ad7b2;this[_0x54c09d(0x14b)]();}),this[_0x4ad7b2(0x138)]();}[_0x1ace78(0x148)](){const _0x336977=_0x1ace78;this[_0x336977(0x147)][_0x336977(0x148)]();}[_0x1ace78(0x14b)](){const _0x72f85a=_0x1ace78;switch(this[_0x72f85a(0x14f)][_0x72f85a(0x14a)](),this[_0x72f85a(0x15e)]){case _0x72f85a(0x141):this[_0x72f85a(0x14f)][_0x72f85a(0x140)](this[_0x72f85a(0x12f)]);break;case _0x72f85a(0x13e):this[_0x72f85a(0x14f)][_0x72f85a(0x140)](this[_0x72f85a(0x132)]);break;case _0x72f85a(0x158):this[_0x72f85a(0x14f)][_0x72f85a(0x14d)]([this[_0x72f85a(0x13f)],this[_0x72f85a(0x12e)]]);}}[_0x1ace78(0x160)](_0xf67679,_0x230d07){const _0xfef79c=_0x1ace78,_0x30227e=_0xfef79c(0x12c),_0x448de3=_0xf67679[_0xfef79c(0x145)](_0x30227e);if(_0x448de3)return _0x230d07(_0x448de3);const _0x168f39=new MutationObserver(_0x23e827=>{const _0x25349a=_0xfef79c,_0x1fd7ec=_0x23e827[_0x25349a(0x153)](_0x1f4f3f=>_0x1f4f3f[_0x25349a(0x146)]===_0xf67679&&_0x1f4f3f[_0x25349a(0x130)][_0x25349a(0x15c)]>0x0&&_0x1f4f3f[_0x25349a(0x130)][0x0][_0x25349a(0x154)][_0x25349a(0x156)]()===_0x30227e);_0x1fd7ec[_0x25349a(0x15c)]&&(_0x168f39[_0x25349a(0x12b)](),_0x230d07(_0x1fd7ec[0x0][_0x25349a(0x130)][0x0]));});_0x168f39[_0xfef79c(0x151)](_0xf67679,{'childList':!0x0,'subtree':!0x0});}[_0x1ace78(0x159)](_0x290c70){const _0x1a572f=_0x1ace78;_0x290c70[_0x1a572f(0x15a)](_0x1a572f(0x152),_0x5ea95e=>{const _0x214018=_0x1a572f;this[_0x214018(0x133)](_0x214018(0x152),{'imageSrc':_0x5ea95e[_0x214018(0x135)][_0x214018(0x143)]});}),_0x290c70[_0x1a572f(0x15a)](_0x1a572f(0x137),()=>{const _0x558ec3=_0x1a572f;this[_0x558ec3(0x133)](_0x558ec3(0x137));});}[_0x1ace78(0x138)](){const _0x16676a=_0x1ace78;this[_0x16676a(0x132)]['on'](_0x16676a(0x13d),()=>{const _0x199a8e=_0x16676a;this[_0x199a8e(0x133)](_0x199a8e(0x13d));});}}
23
+ const _0xb6519f=_0x492c;(function(_0x4ca3a5,_0x3e0be3){const _0x1b0843=_0x492c,_0x5f798c=_0x4ca3a5();while(!![]){try{const _0x17a5a6=parseInt(_0x1b0843(0xd5))/0x1*(-parseInt(_0x1b0843(0xe8))/0x2)+parseInt(_0x1b0843(0xd0))/0x3+parseInt(_0x1b0843(0xfc))/0x4*(parseInt(_0x1b0843(0xff))/0x5)+parseInt(_0x1b0843(0xfd))/0x6+-parseInt(_0x1b0843(0xdf))/0x7+-parseInt(_0x1b0843(0xfa))/0x8*(-parseInt(_0x1b0843(0xea))/0x9)+parseInt(_0x1b0843(0xf8))/0xa*(-parseInt(_0x1b0843(0xd3))/0xb);if(_0x17a5a6===_0x3e0be3)break;else _0x5f798c['push'](_0x5f798c['shift']());}catch(_0x3ce57d){_0x5f798c['push'](_0x5f798c['shift']());}}}(_0x5208,0xbcc20));import{View as _0x3b28d1}from'ckeditor5/src/ui.js';function _0x5208(){const _0x9c8550=['9eHVaMK','_addUploadcareImageEditorListeners','_items','addEventListener','_addErrorViewListeners','ck-uploadcare-form','getFocusableElement','render','div','focus','disconnect','change:status','_loadingView','ready','410IzHgWN','addedNodes','6818736mQIXuQ','_focusableView','1445096KqBfRW','300582AvKESD','add','10WMlDXs','clear','retry','observe','fire','apply','_setView','cdnUrl','querySelector','2851215kgIyXN','_waitForImageEditorComponent','addMany','124685blVlfv','_editingView','66621cbsoOl','error','filter','once','createCollection','ck-reset_all-excluded','status','length','detail','uploading','6098106zWVVrI','uc-cloud-image-editor','toLowerCase','nodeName','set','setTemplate','cancel','_errorView','element','14ZprxXE','target'];_0x5208=function(){return _0x9c8550;};return _0x5208();}function _0x492c(_0xc25e4b,_0x49e233){const _0x5208bd=_0x5208();return _0x492c=function(_0x492c11,_0xd98cb1){_0x492c11=_0x492c11-0xce;let _0x3704b2=_0x5208bd[_0x492c11];return _0x3704b2;},_0x492c(_0xc25e4b,_0x49e233);}import{UploadcareImageEditFormLoadingView as _0x19ae4a}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2c0b63}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3e991d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xc28706}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xc28706{[_0xb6519f(0xec)];[_0xb6519f(0xf6)];[_0xb6519f(0xe6)];[_0xb6519f(0xd4)];[_0xb6519f(0xfb)];constructor(_0x1b716e,_0x50344c,_0x5c5ac4){const _0x25ca19=_0xb6519f;super(_0x1b716e),this[_0x25ca19(0xec)]=this[_0x25ca19(0xd9)](),this[_0x25ca19(0xf6)]=new _0x19ae4a(_0x1b716e),this[_0x25ca19(0xe6)]=new _0x2c0b63(_0x1b716e),this[_0x25ca19(0xd4)]=new _0x3e991d(_0x1b716e,_0x5c5ac4),this[_0x25ca19(0xfb)]=new _0x3b28d1(_0x1b716e),this[_0x25ca19(0xfb)][_0x25ca19(0xe4)](this[_0x25ca19(0xf0)]()),this[_0x25ca19(0xe3)](_0x25ca19(0xdb),_0x50344c),this[_0x25ca19(0xe4)]({'tag':_0x25ca19(0xf2),'attributes':{'class':['ck',_0x25ca19(0xda),_0x25ca19(0xef)],'tabindex':'-1'},'children':this[_0x25ca19(0xec)]}),this[_0x25ca19(0x105)](),this[_0x25ca19(0xd8)](_0x25ca19(0xf1),()=>{const _0x2032e5=_0x25ca19;this[_0x2032e5(0xd1)](this[_0x2032e5(0xe7)],_0x424a2d=>{const _0x20c059=_0x2032e5;this[_0x20c059(0xeb)](_0x424a2d);});}),this['on'](_0x25ca19(0xf5),()=>{const _0x53fb0f=_0x25ca19;this[_0x53fb0f(0x105)]();}),this[_0x25ca19(0xee)]();}[_0xb6519f(0xf3)](){const _0x5006b4=_0xb6519f;this[_0x5006b4(0xe7)][_0x5006b4(0xf3)]();}[_0xb6519f(0x105)](){const _0x24fd7b=_0xb6519f;switch(this[_0x24fd7b(0xec)][_0x24fd7b(0x100)](),this[_0x24fd7b(0xdb)]){case _0x24fd7b(0xde):this[_0x24fd7b(0xec)][_0x24fd7b(0xfe)](this[_0x24fd7b(0xf6)]);break;case _0x24fd7b(0xd6):this[_0x24fd7b(0xec)][_0x24fd7b(0xfe)](this[_0x24fd7b(0xe6)]);break;case _0x24fd7b(0xf7):this[_0x24fd7b(0xec)][_0x24fd7b(0xd2)]([this[_0x24fd7b(0xd4)],this[_0x24fd7b(0xfb)]]);}}[_0xb6519f(0xd1)](_0x43f678,_0x139c71){const _0xf818a9=_0xb6519f,_0x53726a=_0xf818a9(0xe0),_0x221a38=_0x43f678[_0xf818a9(0xcf)](_0x53726a);if(_0x221a38)return _0x139c71(_0x221a38);const _0x1c4280=new MutationObserver(_0x3cd167=>{const _0x392acb=_0xf818a9,_0x4a0c1f=_0x3cd167[_0x392acb(0xd7)](_0x3aec4b=>_0x3aec4b[_0x392acb(0xe9)]===_0x43f678&&_0x3aec4b[_0x392acb(0xf9)][_0x392acb(0xdc)]>0x0&&_0x3aec4b[_0x392acb(0xf9)][0x0][_0x392acb(0xe2)][_0x392acb(0xe1)]()===_0x53726a);_0x4a0c1f[_0x392acb(0xdc)]&&(_0x1c4280[_0x392acb(0xf4)](),_0x139c71(_0x4a0c1f[0x0][_0x392acb(0xf9)][0x0]));});_0x1c4280[_0xf818a9(0x102)](_0x43f678,{'childList':!0x0,'subtree':!0x0});}[_0xb6519f(0xeb)](_0x172c47){const _0x5703a2=_0xb6519f;_0x172c47[_0x5703a2(0xed)](_0x5703a2(0x104),_0x16877a=>{const _0x277f04=_0x5703a2;this[_0x277f04(0x103)](_0x277f04(0x104),{'imageSrc':_0x16877a[_0x277f04(0xdd)][_0x277f04(0xce)]});}),_0x172c47[_0x5703a2(0xed)](_0x5703a2(0xe5),()=>{const _0x10b2cd=_0x5703a2;this[_0x10b2cd(0x103)](_0x10b2cd(0xe5));});}[_0xb6519f(0xee)](){const _0x4524f8=_0xb6519f;this[_0x4524f8(0xe6)]['on'](_0x4524f8(0x101),()=>{const _0x588a38=_0x4524f8;this[_0x588a38(0x103)](_0x588a38(0x101));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ee87b=_0x4f05;(function(_0x2915ec,_0x586f2b){const _0x2113dc=_0x4f05,_0x418eb9=_0x2915ec();while(!![]){try{const _0x3df22a=parseInt(_0x2113dc(0x1e8))/0x1+-parseInt(_0x2113dc(0x1e9))/0x2*(-parseInt(_0x2113dc(0x1df))/0x3)+parseInt(_0x2113dc(0x1e6))/0x4*(parseInt(_0x2113dc(0x1d6))/0x5)+-parseInt(_0x2113dc(0x1d5))/0x6+parseInt(_0x2113dc(0x1f2))/0x7*(-parseInt(_0x2113dc(0x1e5))/0x8)+parseInt(_0x2113dc(0x1d4))/0x9+parseInt(_0x2113dc(0x1ee))/0xa*(-parseInt(_0x2113dc(0x1e0))/0xb);if(_0x3df22a===_0x586f2b)break;else _0x418eb9['push'](_0x418eb9['shift']());}catch(_0x2a0c69){_0x418eb9['push'](_0x418eb9['shift']());}}}(_0x3c01,0x2328c));function _0x3c01(){const _0x347ff4=['requires','isEnabled','editor','192olYuho','67868njVfPI','selection','240938GpTiTS','6lUkiAv','uploadcare.allowExternalImagesEditing','element','model','unbind','10AIDXXs','execute','set','_isEditable','6153BzXuDZ','refresh','imageBlock','2572281rGAyui','438852FmUZdk','35fGbkyL','imageInline','isActive','config','plugins','getSelectedElement','bind','get','imageEditController','114465KMqgvU','5739041Cjvcww','document'];_0x3c01=function(){return _0x347ff4;};return _0x3c01();}function _0x4f05(_0x11cbff,_0x5efeaf){const _0x3c012=_0x3c01();return _0x4f05=function(_0x4f05cd,_0x59be2a){_0x4f05cd=_0x4f05cd-0x1d4;let _0x55dfba=_0x3c012[_0x4f05cd];return _0x55dfba;},_0x4f05(_0x11cbff,_0x5efeaf);}import{Command as _0x555f23}from'ckeditor5/src/core.js';import{Dialog as _0xb29d35}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2bc0e8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x52fc4c}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x555f23{[_0x3ee87b(0x1de)];static get[_0x3ee87b(0x1e2)](){return[_0xb29d35];}[_0x3ee87b(0x1f1)];constructor(_0x4b6ce2){const _0x1bbca8=_0x3ee87b;super(_0x4b6ce2),this[_0x1bbca8(0x1de)]=void 0x0,this[_0x1bbca8(0x1f1)]=_0x52fc4c(_0x4b6ce2[_0x1bbca8(0x1d9)][_0x1bbca8(0x1dd)](_0x1bbca8(0x1ea))||[]),this[_0x1bbca8(0x1f0)]({'isActive':!0x1});}[_0x3ee87b(0x1f3)](){const _0x309405=_0x3ee87b,_0x691036=this[_0x309405(0x1e4)][_0x309405(0x1ec)][_0x309405(0x1e1)][_0x309405(0x1e7)][_0x309405(0x1db)]();this[_0x309405(0x1e3)]=this[_0x309405(0x1f1)](_0x691036);}[_0x3ee87b(0x1ef)](){const _0x3fca3c=_0x3ee87b;this[_0x3fca3c(0x1de)]&&(this[_0x3fca3c(0x1ed)](_0x3fca3c(0x1d8)),this[_0x3fca3c(0x1de)]=void 0x0);const _0x363a41=this[_0x3fca3c(0x1e4)][_0x3fca3c(0x1ec)][_0x3fca3c(0x1e1)][_0x3fca3c(0x1e7)][_0x3fca3c(0x1db)]();_0x363a41&&(_0x363a41['is'](_0x3fca3c(0x1eb),_0x3fca3c(0x1f4))||_0x363a41['is'](_0x3fca3c(0x1eb),_0x3fca3c(0x1d7)))&&(this[_0x3fca3c(0x1de)]=new _0x2bc0e8(this[_0x3fca3c(0x1e4)],this[_0x3fca3c(0x1e4)][_0x3fca3c(0x1da)][_0x3fca3c(0x1dd)](_0xb29d35),_0x363a41),this[_0x3fca3c(0x1dc)](_0x3fca3c(0x1d8))['to'](this[_0x3fca3c(0x1de)],_0x3fca3c(0x1d8)));}}
23
+ function _0x39a3(_0x969979,_0x39788d){const _0x1b168f=_0x1b16();return _0x39a3=function(_0x39a3a7,_0x1ae97f){_0x39a3a7=_0x39a3a7-0x160;let _0x3c6a70=_0x1b168f[_0x39a3a7];return _0x3c6a70;},_0x39a3(_0x969979,_0x39788d);}function _0x1b16(){const _0x3b5c76=['imageInline','config','getSelectedElement','5841okozUj','document','model','11810MWRDNr','bind','14818728QTbElL','1896KIgWfW','isEnabled','editor','100HGPgdr','get','isActive','uploadcare.allowExternalImagesEditing','plugins','1485RgRlxq','5193CDYlkK','refresh','set','execute','6646710XibQEW','22ETaZXf','selection','requires','unbind','3190092ojxHNm','element','_isEditable','imageEditController','18038cMbogF','imageBlock','2956yrZWDi'];_0x1b16=function(){return _0x3b5c76;};return _0x1b16();}const _0x5af95a=_0x39a3;(function(_0x4d1b62,_0x11a4bc){const _0x386bbd=_0x39a3,_0x28010a=_0x4d1b62();while(!![]){try{const _0xf2fd03=-parseInt(_0x386bbd(0x162))/0x1*(-parseInt(_0x386bbd(0x175))/0x2)+-parseInt(_0x386bbd(0x17b))/0x3*(parseInt(_0x386bbd(0x177))/0x4)+parseInt(_0x386bbd(0x167))/0x5*(-parseInt(_0x386bbd(0x181))/0x6)+parseInt(_0x386bbd(0x16c))/0x7+parseInt(_0x386bbd(0x180))/0x8+-parseInt(_0x386bbd(0x168))/0x9*(parseInt(_0x386bbd(0x17e))/0xa)+parseInt(_0x386bbd(0x16d))/0xb*(-parseInt(_0x386bbd(0x171))/0xc);if(_0xf2fd03===_0x11a4bc)break;else _0x28010a['push'](_0x28010a['shift']());}catch(_0xfec20d){_0x28010a['push'](_0x28010a['shift']());}}}(_0x1b16,0xe9e0f));import{Command as _0xefaeb5}from'ckeditor5/src/core.js';import{Dialog as _0x4e029e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x16ec1c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xf86a23}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xefaeb5{[_0x5af95a(0x174)];static get[_0x5af95a(0x16f)](){return[_0x4e029e];}[_0x5af95a(0x173)];constructor(_0x2f894d){const _0x2b0d44=_0x5af95a;super(_0x2f894d),this[_0x2b0d44(0x174)]=void 0x0,this[_0x2b0d44(0x173)]=_0xf86a23(_0x2f894d[_0x2b0d44(0x179)][_0x2b0d44(0x163)](_0x2b0d44(0x165))||[]),this[_0x2b0d44(0x16a)]({'isActive':!0x1});}[_0x5af95a(0x169)](){const _0x1f547e=_0x5af95a,_0x351772=this[_0x1f547e(0x161)][_0x1f547e(0x17d)][_0x1f547e(0x17c)][_0x1f547e(0x16e)][_0x1f547e(0x17a)]();this[_0x1f547e(0x160)]=this[_0x1f547e(0x173)](_0x351772);}[_0x5af95a(0x16b)](){const _0x3b0409=_0x5af95a;this[_0x3b0409(0x174)]&&(this[_0x3b0409(0x170)](_0x3b0409(0x164)),this[_0x3b0409(0x174)]=void 0x0);const _0x51a872=this[_0x3b0409(0x161)][_0x3b0409(0x17d)][_0x3b0409(0x17c)][_0x3b0409(0x16e)][_0x3b0409(0x17a)]();_0x51a872&&(_0x51a872['is'](_0x3b0409(0x172),_0x3b0409(0x176))||_0x51a872['is'](_0x3b0409(0x172),_0x3b0409(0x178)))&&(this[_0x3b0409(0x174)]=new _0x16ec1c(this[_0x3b0409(0x161)],this[_0x3b0409(0x161)][_0x3b0409(0x166)][_0x3b0409(0x163)](_0x4e029e),_0x51a872),this[_0x3b0409(0x17f)](_0x3b0409(0x164))['to'](this[_0x3b0409(0x174)],_0x3b0409(0x164)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dea(_0xae38e5,_0x228f52){const _0x308eb5=_0x308e();return _0x4dea=function(_0x4deaeb,_0x40d63d){_0x4deaeb=_0x4deaeb-0xa3;let _0x3ef27c=_0x308eb5[_0x4deaeb];return _0x3ef27c;},_0x4dea(_0xae38e5,_0x228f52);}const _0x37153b=_0x4dea;(function(_0x188a4a,_0x1f28ef){const _0x48cdf2=_0x4dea,_0x4e5feb=_0x188a4a();while(!![]){try{const _0x3b3d75=-parseInt(_0x48cdf2(0xb3))/0x1*(-parseInt(_0x48cdf2(0xa7))/0x2)+-parseInt(_0x48cdf2(0xac))/0x3*(parseInt(_0x48cdf2(0xad))/0x4)+-parseInt(_0x48cdf2(0xb1))/0x5+parseInt(_0x48cdf2(0xab))/0x6*(parseInt(_0x48cdf2(0xa3))/0x7)+-parseInt(_0x48cdf2(0xb2))/0x8+parseInt(_0x48cdf2(0xa4))/0x9+parseInt(_0x48cdf2(0xb8))/0xa;if(_0x3b3d75===_0x1f28ef)break;else _0x4e5feb['push'](_0x4e5feb['shift']());}catch(_0x1c1c25){_0x4e5feb['push'](_0x4e5feb['shift']());}}}(_0x308e,0x3ccd7));import{Plugin as _0x5db8e9}from'ckeditor5/src/core.js';import{Notification as _0x237334}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5efa40}from'./uploadcareimageeditcommand.js';function _0x308e(){const _0x3157d5=['3495996KcPSCl','ImageUtils','ImageEditing','24XAytKp','commands','init','requires','6yvpkIL','6ywWhFp','237964GhNFZL','isOfficialPlugin','uploadcareImageEdit','UploadcareImageEditEditing','895940JhTZzq','1895360tlWJeh','5197outklR','isPremiumPlugin','pluginName','uploadcareImageReplace','add','262710uhwMrZ','2149406qitwsw'];_0x308e=function(){return _0x3157d5;};return _0x308e();}import{UploadcareImageReplaceCommand as _0x58e079}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5daef2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5db8e9{static get[_0x37153b(0xb5)](){const _0x55df40=_0x37153b;return _0x55df40(0xb0);}static get[_0x37153b(0xaa)](){const _0x299c70=_0x37153b;return[_0x5daef2,_0x237334,_0x299c70(0xa5),_0x299c70(0xa6)];}static get[_0x37153b(0xae)](){return!0x0;}static get[_0x37153b(0xb4)](){return!0x0;}[_0x37153b(0xa9)](){const _0x34604c=_0x37153b,{editor:_0xe5dab5}=this;_0xe5dab5[_0x34604c(0xa8)][_0x34604c(0xb7)](_0x34604c(0xaf),new _0x5efa40(_0xe5dab5)),_0xe5dab5[_0x34604c(0xa8)][_0x34604c(0xb7)](_0x34604c(0xb6),new _0x58e079(_0xe5dab5));}}
23
+ const _0x52543c=_0x3888;function _0x3e5b(){const _0x496ac6=['ImageUtils','uploadcareImageReplace','init','isPremiumPlugin','3962nTVBeS','4636210pukJgT','commands','17932uGeWEG','69DEVVxj','uploadcareImageEdit','2680536mImFDI','pluginName','5000ecyZvo','4bVAcur','add','ImageEditing','UploadcareImageEditEditing','requires','isOfficialPlugin','125040nnPeLh','242991rMwRWF','47877msVLhP'];_0x3e5b=function(){return _0x496ac6;};return _0x3e5b();}(function(_0xe07dad,_0x557783){const _0x47f096=_0x3888,_0x27ce53=_0xe07dad();while(!![]){try{const _0x4cf2cc=parseInt(_0x47f096(0x14e))/0x1*(parseInt(_0x47f096(0x15c))/0x2)+-parseInt(_0x47f096(0x157))/0x3*(-parseInt(_0x47f096(0x156))/0x4)+-parseInt(_0x47f096(0x14c))/0x5+parseInt(_0x47f096(0x159))/0x6+-parseInt(_0x47f096(0x153))/0x7*(-parseInt(_0x47f096(0x15b))/0x8)+-parseInt(_0x47f096(0x14d))/0x9+-parseInt(_0x47f096(0x154))/0xa;if(_0x4cf2cc===_0x557783)break;else _0x27ce53['push'](_0x27ce53['shift']());}catch(_0x33d066){_0x27ce53['push'](_0x27ce53['shift']());}}}(_0x3e5b,0x7619d));import{Plugin as _0x256e11}from'ckeditor5/src/core.js';import{Notification as _0xb1e2f8}from'ckeditor5/src/ui.js';function _0x3888(_0x4e2c15,_0x5e2248){const _0x3e5bbb=_0x3e5b();return _0x3888=function(_0x388838,_0x58e0f0){_0x388838=_0x388838-0x14a;let _0x137af0=_0x3e5bbb[_0x388838];return _0x137af0;},_0x3888(_0x4e2c15,_0x5e2248);}import{UploadcareImageEditCommand as _0xe3032a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5d772a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5a51cf}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x256e11{static get[_0x52543c(0x15a)](){const _0x521cb4=_0x52543c;return _0x521cb4(0x15f);}static get[_0x52543c(0x14a)](){const _0x527d6d=_0x52543c;return[_0x5a51cf,_0xb1e2f8,_0x527d6d(0x14f),_0x527d6d(0x15e)];}static get[_0x52543c(0x14b)](){return!0x0;}static get[_0x52543c(0x152)](){return!0x0;}[_0x52543c(0x151)](){const _0x57dc75=_0x52543c,{editor:_0x283237}=this;_0x283237[_0x57dc75(0x155)][_0x57dc75(0x15d)](_0x57dc75(0x158),new _0xe3032a(_0x283237)),_0x283237[_0x57dc75(0x155)][_0x57dc75(0x15d)](_0x57dc75(0x150),new _0x5d772a(_0x283237));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x42379b}from'ckeditor5/src/core.js';import{ButtonView as _0x344364}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x70ae98}from'ckeditor5/src/icons.js';import{createElement as _0x3b1180}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 _0x42379b{['_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 _0x3b2a22=this['editor'];_0x3b2a22['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1da1f5=>{const _0x49fca3=_0x3b2a22['commands']['get']('uploadcareImageEdit'),_0x46db1a=new _0x344364(_0x1da1f5),t=_0x1da1f5['t'];return _0x46db1a['set']({'icon':_0x70ae98,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x46db1a['bind']('isEnabled')['to'](_0x49fca3),_0x46db1a['bind']('isOn')['to'](_0x49fca3,'isActive'),this['listenTo'](_0x46db1a,'execute',()=>{_0x3b2a22['execute']('uploadcareImageEdit'),_0x3b2a22['editing']['view']['focus']();}),_0x46db1a;}),this['_initConfig']();}['_initConfig'](){const _0x13f6f2=_0x3b1180(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x13f6f2),this['listenTo'](this['editor'],'destroy',()=>{_0x13f6f2['remove']();});}}
23
+ import{Plugin as _0x2c1543}from'ckeditor5/src/core.js';import{ButtonView as _0x22bfd5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x45d008}from'ckeditor5/src/icons.js';import{createElement as _0x1ef5bd}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 _0x2c1543{['_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 _0x40247c=this['editor'];_0x40247c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x225da8=>{const _0x3083ca=_0x40247c['commands']['get']('uploadcareImageEdit'),_0x3d06eb=new _0x22bfd5(_0x225da8),t=_0x225da8['t'];return _0x3d06eb['set']({'icon':_0x45d008,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3d06eb['bind']('isEnabled')['to'](_0x3083ca),_0x3d06eb['bind']('isOn')['to'](_0x3083ca,'isActive'),this['listenTo'](_0x3d06eb,'execute',()=>{_0x40247c['execute']('uploadcareImageEdit'),_0x40247c['editing']['view']['focus']();}),_0x3d06eb;}),this['_initConfig']();}['_initConfig'](){const _0x2465b9=_0x1ef5bd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2465b9),this['listenTo'](this['editor'],'destroy',()=>{_0x2465b9['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20a784=_0x3177;(function(_0x5cdd9a,_0xe70a5e){const _0x2ecbbf=_0x3177,_0x3d0989=_0x5cdd9a();while(!![]){try{const _0x87b893=-parseInt(_0x2ecbbf(0x11d))/0x1+-parseInt(_0x2ecbbf(0x128))/0x2+-parseInt(_0x2ecbbf(0x11c))/0x3*(-parseInt(_0x2ecbbf(0x11b))/0x4)+-parseInt(_0x2ecbbf(0x11e))/0x5+parseInt(_0x2ecbbf(0x11f))/0x6+-parseInt(_0x2ecbbf(0x124))/0x7*(parseInt(_0x2ecbbf(0x129))/0x8)+parseInt(_0x2ecbbf(0x12e))/0x9*(parseInt(_0x2ecbbf(0x132))/0xa);if(_0x87b893===_0xe70a5e)break;else _0x3d0989['push'](_0x3d0989['shift']());}catch(_0x50a0cb){_0x3d0989['push'](_0x3d0989['shift']());}}}(_0x3fc1,0xbe876));function _0x3177(_0x298ba6,_0x2069f7){const _0x3fc11a=_0x3fc1();return _0x3177=function(_0x3177ec,_0x34d947){_0x3177ec=_0x3177ec-0x11b;let _0x27a28d=_0x3fc11a[_0x3177ec];return _0x27a28d;},_0x3177(_0x298ba6,_0x2069f7);}import{Command as _0xf19a5c}from'ckeditor5/src/core.js';function _0x3fc1(){const _0x212126=['10Zwnedi','change','refresh','324260vzBpRo','27DPfVlp','505315VQmdqC','1798510tDvUUn','7507080sQIgtK','selection','imageBlock','srcset','model','7QwnMNL','document','editor','removeAttribute','1884216QeBvcR','6049160dMWoST','sizes','setAttributes','getSelectedElement','isEnabled','12266199owEaxJ','element','execute','imageInline'];_0x3fc1=function(){return _0x212126;};return _0x3fc1();}export class UploadcareImageReplaceCommand extends _0xf19a5c{[_0x20a784(0x134)](){const _0x28b9f1=_0x20a784,_0x580a63=this[_0x28b9f1(0x126)][_0x28b9f1(0x123)][_0x28b9f1(0x125)][_0x28b9f1(0x120)][_0x28b9f1(0x12c)]();this[_0x28b9f1(0x12d)]=Boolean(_0x580a63&&(_0x580a63['is'](_0x28b9f1(0x12f),_0x28b9f1(0x121))||_0x580a63['is'](_0x28b9f1(0x12f),_0x28b9f1(0x131))));}[_0x20a784(0x130)](_0x883b9){const _0x59d7a7=_0x20a784,_0x6e17a3=this[_0x59d7a7(0x126)][_0x59d7a7(0x123)][_0x59d7a7(0x125)][_0x59d7a7(0x120)][_0x59d7a7(0x12c)]();this[_0x59d7a7(0x126)][_0x59d7a7(0x123)][_0x59d7a7(0x133)](_0x485290=>{const _0x24733d=_0x59d7a7;_0x485290[_0x24733d(0x12b)](_0x883b9,_0x6e17a3),_0x485290[_0x24733d(0x127)](_0x24733d(0x122),_0x6e17a3),_0x485290[_0x24733d(0x127)](_0x24733d(0x12a),_0x6e17a3);});}}
23
+ const _0x161215=_0x5d9c;(function(_0x4dc8ab,_0x8beb3){const _0x3964b0=_0x5d9c,_0x3972f8=_0x4dc8ab();while(!![]){try{const _0xa23a3f=-parseInt(_0x3964b0(0x1b9))/0x1*(-parseInt(_0x3964b0(0x1c0))/0x2)+parseInt(_0x3964b0(0x1bf))/0x3*(-parseInt(_0x3964b0(0x1cb))/0x4)+parseInt(_0x3964b0(0x1ba))/0x5*(-parseInt(_0x3964b0(0x1b1))/0x6)+parseInt(_0x3964b0(0x1c6))/0x7*(-parseInt(_0x3964b0(0x1bc))/0x8)+parseInt(_0x3964b0(0x1b2))/0x9+parseInt(_0x3964b0(0x1cc))/0xa*(-parseInt(_0x3964b0(0x1c8))/0xb)+parseInt(_0x3964b0(0x1be))/0xc*(parseInt(_0x3964b0(0x1c3))/0xd);if(_0xa23a3f===_0x8beb3)break;else _0x3972f8['push'](_0x3972f8['shift']());}catch(_0x8e97fc){_0x3972f8['push'](_0x3972f8['shift']());}}}(_0x498f,0x83327));import{Command as _0x17c1ae}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x17c1ae{[_0x161215(0x1b4)](){const _0x1940a1=_0x161215,_0x28648f=this[_0x1940a1(0x1c4)][_0x1940a1(0x1bb)][_0x1940a1(0x1b8)][_0x1940a1(0x1b7)][_0x1940a1(0x1bd)]();this[_0x1940a1(0x1ca)]=Boolean(_0x28648f&&(_0x28648f['is'](_0x1940a1(0x1cd),_0x1940a1(0x1b3))||_0x28648f['is'](_0x1940a1(0x1cd),_0x1940a1(0x1c9))));}[_0x161215(0x1c2)](_0x455c1d){const _0x254c82=_0x161215,_0x5be793=this[_0x254c82(0x1c4)][_0x254c82(0x1bb)][_0x254c82(0x1b8)][_0x254c82(0x1b7)][_0x254c82(0x1bd)]();this[_0x254c82(0x1c4)][_0x254c82(0x1bb)][_0x254c82(0x1c1)](_0x26661f=>{const _0x38eaf0=_0x254c82;_0x26661f[_0x38eaf0(0x1b6)](_0x455c1d,_0x5be793),_0x26661f[_0x38eaf0(0x1c5)](_0x38eaf0(0x1c7),_0x5be793),_0x26661f[_0x38eaf0(0x1c5)](_0x38eaf0(0x1b5),_0x5be793);});}}function _0x5d9c(_0x915378,_0x397ab8){const _0x498f23=_0x498f();return _0x5d9c=function(_0x5d9c6d,_0x5c6327){_0x5d9c6d=_0x5d9c6d-0x1b1;let _0x460678=_0x498f23[_0x5d9c6d];return _0x460678;},_0x5d9c(_0x915378,_0x397ab8);}function _0x498f(){const _0x29715e=['sizes','setAttributes','selection','document','1PEVNCY','4524900MVtjiL','model','8qfxvtm','getSelectedElement','7512XevOIO','2247JURbqX','308020SXAPyv','change','execute','57083GveClR','editor','removeAttribute','6827002wHNSjb','srcset','11YMIxMu','imageInline','isEnabled','4040mZojAQ','703750CzTUpt','element','6AIgWtp','3075642kUiuKj','imageBlock','refresh'];_0x498f=function(){return _0x29715e;};return _0x498f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x315925=_0x51b0;(function(_0x249837,_0x2f0962){var _0x253afb=_0x51b0,_0x1c81b7=_0x249837();while(!![]){try{var _0x465403=parseInt(_0x253afb(0xea))/0x1+parseInt(_0x253afb(0xef))/0x2+-parseInt(_0x253afb(0xee))/0x3+-parseInt(_0x253afb(0xf0))/0x4+parseInt(_0x253afb(0xe8))/0x5+parseInt(_0x253afb(0xe7))/0x6*(parseInt(_0x253afb(0xec))/0x7)+-parseInt(_0x253afb(0xe6))/0x8;if(_0x465403===_0x2f0962)break;else _0x1c81b7['push'](_0x1c81b7['shift']());}catch(_0x4000ba){_0x1c81b7['push'](_0x1c81b7['shift']());}}}(_0x14d4,0x45542));function _0x51b0(_0x2d9a96,_0x1f0462){var _0x14d469=_0x14d4();return _0x51b0=function(_0x51b072,_0x4d8919){_0x51b072=_0x51b072-0xe4;var _0x5d318a=_0x14d469[_0x51b072];return _0x5d318a;},_0x51b0(_0x2d9a96,_0x1f0462);}function _0x14d4(){var _0x4bce9f=['407385qDdhEa','UploadcareImageEdit','49dfWjaY','pluginName','69597EkZUCr','768374ZTWtcT','1088400GxTJHm','requires','isPremiumPlugin','5127712IzDtjh','143814tzzxoS','1304390RDcblE','isOfficialPlugin'];_0x14d4=function(){return _0x4bce9f;};return _0x14d4();}import{Plugin as _0x23d12f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1988d0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x624565}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x23d12f{static get[_0x315925(0xed)](){var _0x3b21e5=_0x315925;return _0x3b21e5(0xeb);}static get[_0x315925(0xe4)](){return[_0x1988d0,_0x624565];}static get[_0x315925(0xe9)](){return!0x0;}static get[_0x315925(0xe5)](){return!0x0;}}
23
+ var _0x208a45=_0x36f0;function _0x36f0(_0x2f5447,_0x207161){var _0x8cb6d1=_0x8cb6();return _0x36f0=function(_0x36f09e,_0x21227d){_0x36f09e=_0x36f09e-0x174;var _0x20a881=_0x8cb6d1[_0x36f09e];return _0x20a881;},_0x36f0(_0x2f5447,_0x207161);}(function(_0x20289f,_0x24fa09){var _0x2c578c=_0x36f0,_0x22e208=_0x20289f();while(!![]){try{var _0x5a4da2=-parseInt(_0x2c578c(0x17e))/0x1*(parseInt(_0x2c578c(0x17f))/0x2)+parseInt(_0x2c578c(0x177))/0x3*(-parseInt(_0x2c578c(0x176))/0x4)+parseInt(_0x2c578c(0x181))/0x5+parseInt(_0x2c578c(0x180))/0x6+parseInt(_0x2c578c(0x174))/0x7*(-parseInt(_0x2c578c(0x175))/0x8)+parseInt(_0x2c578c(0x17a))/0x9+parseInt(_0x2c578c(0x17b))/0xa;if(_0x5a4da2===_0x24fa09)break;else _0x22e208['push'](_0x22e208['shift']());}catch(_0x53bcee){_0x22e208['push'](_0x22e208['shift']());}}}(_0x8cb6,0x952b9));import{Plugin as _0x46bb3b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2dc4da}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x16854a}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x46bb3b{static get[_0x208a45(0x17c)](){var _0x1a2679=_0x208a45;return _0x1a2679(0x17d);}static get[_0x208a45(0x182)](){return[_0x2dc4da,_0x16854a];}static get[_0x208a45(0x179)](){return!0x0;}static get[_0x208a45(0x178)](){return!0x0;}}function _0x8cb6(){var _0x312dbc=['2860qfGzXj','453ulKRnV','isPremiumPlugin','isOfficialPlugin','1540692CPAbRm','5483790tPrFuO','pluginName','UploadcareImageEdit','4727kbFAEW','274xiTtrg','6513648BSAiMi','1907610DJJcfx','requires','1435231zMMoAD','32MUKdxI'];_0x8cb6=function(){return _0x312dbc;};return _0x8cb6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b1110=_0xd38e;function _0x2505(){const _0x1b30f8=['isOfficialPlugin','label','tooltip','destroy','trialLimit','invalid','Replace','URL','commands','bind','_getIntegrationKey','1833435iQYHdc','afterInit','map','_createDropdownButtons','4291140SJiFQY','reduce','_createButton','forEach','expired','UploadcareUI','evaluationLimit','withText','8bMftBO','has','uploadcareLicenseKeyTrialLimit','locale','735327qHYlcc','_createToolbarButton','push','registerIntegration','pluginName','upload','3120795kwhBsg','Insert','77ehGgLl','get','icon','config','usageLimit','shortText','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','entries','OneDrive','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','isPremiumPlugin','isEnabled','Uploadcare','_createMenuBarButtons','featureNotAllowed','uploadcareLicenseKeyNotAllowed','Facebook','text','68DRHZhe','isImageSelected','Dropbox','uploadcareLicenseKeyEvaluationLimit','8ZGDBFo','uploadcareLicenseKeyUsageLimit','uploadcare.uploader.sourceList','GDrive','uploadcareLicenseKeyValid','uploadcare','url','1413804ORvNhn','assetManager','domainLimit','Local','editor','ImageInsertUI','GPhotos','init','_showLicenseError','plugins','6gWPBew','execute','type','4426219ZYKqsE','uploadcareLicenseKeyDomainLimit','17322EJsZJS','licenseKey'];_0x2505=function(){return _0x1b30f8;};return _0x2505();}(function(_0x16f582,_0x1b055c){const _0x2f127a=_0xd38e,_0x5da255=_0x16f582();while(!![]){try{const _0x20858a=-parseInt(_0x2f127a(0x17e))/0x1*(parseInt(_0x2f127a(0x145))/0x2)+-parseInt(_0x2f127a(0x162))/0x3*(parseInt(_0x2f127a(0x182))/0x4)+parseInt(_0x2f127a(0x168))/0x5*(parseInt(_0x2f127a(0x140))/0x6)+parseInt(_0x2f127a(0x143))/0x7*(-parseInt(_0x2f127a(0x15e))/0x8)+parseInt(_0x2f127a(0x152))/0x9+parseInt(_0x2f127a(0x156))/0xa+-parseInt(_0x2f127a(0x16a))/0xb*(-parseInt(_0x2f127a(0x189))/0xc);if(_0x20858a===_0x1b055c)break;else _0x5da255['push'](_0x5da255['shift']());}catch(_0x424873){_0x5da255['push'](_0x5da255['shift']());}}}(_0x2505,0x5a630));import{Plugin as _0x5522db}from'ckeditor5/src/core.js';import{IconDropbox as _0xf6d75d,IconFacebook as _0x42ad30,IconGoogleDrive as _0x1d3636,IconGooglePhotos as _0x1e30e4,IconUploadcareImageUpload as _0x2df7dc,IconUploadcareLink as _0x1bf1ef,IconOneDrive as _0x5c1f28}from'ckeditor5/src/icons.js';import{ButtonView as _0x1b13c6,MenuBarMenuListItemButtonView as _0x1ef82a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x37c38a}from'./uploadcareconfig.js';import{getTranslation as _0x46120f}from'./utils/common-translations.js';function _0xd38e(_0x49315f,_0x33717f){const _0x250557=_0x2505();return _0xd38e=function(_0xd38ee2,_0x400dd1){_0xd38ee2=_0xd38ee2-0x13d;let _0x38e99b=_0x250557[_0xd38ee2];return _0x38e99b;},_0xd38e(_0x49315f,_0x33717f);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5522db{[_0x4b1110(0x146)];[_0x4b1110(0x174)];static get[_0x4b1110(0x166)](){const _0xb2086f=_0x4b1110;return _0xb2086f(0x15b);}static get[_0x4b1110(0x147)](){return!0x0;}static get[_0x4b1110(0x176)](){return!0x0;}[_0x4b1110(0x13d)](){const _0x4325f8=_0x4b1110;this[_0x4325f8(0x146)]=this[_0x4325f8(0x18d)][_0x4325f8(0x16d)][_0x4325f8(0x16b)](_0x4325f8(0x146));const _0x5b09cc=this[_0x4325f8(0x18d)];this[_0x4325f8(0x174)]=setInterval(()=>{const _0x142c07=_0x4325f8;let _0x23eca4;for(const _0x331bfc in _0x5b09cc){const _0x52ecbd=_0x331bfc,_0x56ff74=_0x5b09cc[_0x52ecbd];if(_0x142c07(0x186)==_0x56ff74||_0x142c07(0x175)==_0x56ff74||_0x142c07(0x171)==_0x56ff74||_0x142c07(0x144)==_0x56ff74||_0x142c07(0x17b)==_0x56ff74||_0x142c07(0x181)==_0x56ff74||_0x142c07(0x160)==_0x56ff74||_0x142c07(0x183)==_0x56ff74){delete _0x5b09cc[_0x52ecbd],_0x23eca4=_0x56ff74,clearInterval(this[_0x142c07(0x174)]),this[_0x142c07(0x174)]=void 0x0;break;}}_0x142c07(0x175)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x14c)),_0x142c07(0x171)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x15a)),_0x142c07(0x144)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x18b)),_0x142c07(0x17b)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x17a),_0x142c07(0x178)),_0x142c07(0x181)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x15c)),_0x142c07(0x160)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x14b)),_0x142c07(0x183)==_0x23eca4&&_0x5b09cc[_0x142c07(0x13e)](_0x142c07(0x16e));},0x3e8);}[_0x4b1110(0x153)](){const _0x529c39=_0x4b1110,{editor:_0x38d554}=this,_0x12247b=_0x38d554[_0x529c39(0x14f)][_0x529c39(0x16b)](_0x529c39(0x187));if(!_0x12247b)return;const _0x201fac=this[_0x529c39(0x170)](_0x38d554[_0x529c39(0x16d)][_0x529c39(0x16b)](_0x529c39(0x184)))[_0x529c39(0x157)]((_0x12dd3d,_0x57a12a)=>{const _0x5eaadc=_0x529c39,_0x423b2f=this[_0x5eaadc(0x151)](_0x57a12a[_0x5eaadc(0x142)]);return _0x12dd3d[_0x423b2f]||(_0x12dd3d[_0x423b2f]=[]),_0x12dd3d[_0x423b2f][_0x5eaadc(0x164)](_0x57a12a),_0x12dd3d;},{});_0x38d554[_0x529c39(0x13f)][_0x529c39(0x15f)](_0x529c39(0x18e))&&_0x38d554[_0x529c39(0x14f)][_0x529c39(0x16b)](_0x529c39(0x187))&&Object[_0x529c39(0x172)](_0x201fac)[_0x529c39(0x159)](([_0x2dd1f1,_0x3b8606])=>{const _0x19128f=_0x529c39;_0x38d554[_0x19128f(0x13f)][_0x19128f(0x16b)](_0x19128f(0x18e))[_0x19128f(0x165)]({'name':_0x2dd1f1,'observable':()=>_0x12247b,'buttonViewCreator':()=>this[_0x19128f(0x163)](_0x3b8606),'formViewCreator':()=>this[_0x19128f(0x155)](_0x3b8606),'menuBarButtonViewCreator':()=>this[_0x19128f(0x179)](_0x3b8606),'override':_0x19128f(0x18a)!==_0x2dd1f1});});}[_0x4b1110(0x14a)](){const _0x31eb6f=_0x4b1110;super[_0x31eb6f(0x14a)](),this[_0x31eb6f(0x174)]&&clearInterval(this[_0x31eb6f(0x174)]);}[_0x4b1110(0x170)](_0x1cea71){const _0x3c2363=_0x4b1110,{locale:_0x2f251f}=this[_0x3c2363(0x18d)];return _0x1cea71[_0x3c2363(0x154)](_0x5c3010=>{const _0x2a9a78=_0x3c2363,_0x57bd1c=_0x46120f(_0x2f251f,_0x5c3010,_0x2a9a78(0x169));switch(_0x5c3010){case _0x37c38a[_0x2a9a78(0x18c)]:return{'icon':_0x2df7dc,'type':_0x37c38a[_0x2a9a78(0x18c)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x14e)]:return{'icon':_0x1bf1ef,'type':_0x37c38a[_0x2a9a78(0x14e)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x180)]:return{'icon':_0xf6d75d,'type':_0x37c38a[_0x2a9a78(0x180)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x17c)]:return{'icon':_0x42ad30,'type':_0x37c38a[_0x2a9a78(0x17c)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x185)]:return{'icon':_0x1d3636,'type':_0x37c38a[_0x2a9a78(0x185)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x18f)]:return{'icon':_0x1e30e4,'type':_0x37c38a[_0x2a9a78(0x18f)],..._0x57bd1c};case _0x37c38a[_0x2a9a78(0x173)]:return{'icon':_0x5c1f28,'type':_0x37c38a[_0x2a9a78(0x173)],..._0x57bd1c};}});}[_0x4b1110(0x151)](_0x32f626){const _0x4d364f=_0x4b1110;switch(_0x32f626){case _0x37c38a[_0x4d364f(0x18c)]:return _0x4d364f(0x167);case _0x37c38a[_0x4d364f(0x14e)]:return _0x4d364f(0x188);default:return _0x4d364f(0x18a);}}[_0x4b1110(0x158)](_0x29fb72,_0x580b97){const _0x20d1fe=_0x4b1110,_0x139db4=this[_0x20d1fe(0x18d)],_0x555a16=new _0x29fb72(_0x139db4[_0x20d1fe(0x161)]),_0x564e5f=_0x139db4[_0x20d1fe(0x14f)][_0x20d1fe(0x16b)](_0x20d1fe(0x187));return _0x555a16[_0x20d1fe(0x150)](_0x20d1fe(0x177))['to'](_0x564e5f),_0x555a16['on'](_0x20d1fe(0x141),()=>{const _0x47d189=_0x20d1fe;_0x564e5f[_0x47d189(0x141)](_0x580b97);}),_0x555a16;}[_0x4b1110(0x163)](_0xbcedc4){const _0x4d60e6=_0x4b1110,{locale:_0x557e64}=this[_0x4d60e6(0x18d)],_0x2a4a23=this[_0x4d60e6(0x18d)][_0x4d60e6(0x13f)][_0x4d60e6(0x16b)](_0x4d60e6(0x18e)),_0x32a671=_0xbcedc4[0x0],_0x1a5cba=this[_0x4d60e6(0x158)](_0x1b13c6,_0x32a671[_0x4d60e6(0x142)]);return _0x1a5cba[_0x4d60e6(0x16c)]=_0x32a671[_0x4d60e6(0x16c)],_0x1a5cba[_0x4d60e6(0x150)](_0x4d60e6(0x148))['to'](_0x2a4a23,_0x4d60e6(0x17f),_0x5bc094=>_0x46120f(_0x557e64,_0x32a671[_0x4d60e6(0x142)],_0x5bc094?_0x4d60e6(0x14d):_0x4d60e6(0x169))[_0x4d60e6(0x17d)]),_0x1a5cba[_0x4d60e6(0x149)]=!0x0,_0x1a5cba;}[_0x4b1110(0x155)](_0x549d44){const _0x3b2d45=_0x4b1110,{locale:_0x121f65}=this[_0x3b2d45(0x18d)],_0x2b6d04=this[_0x3b2d45(0x18d)][_0x3b2d45(0x13f)][_0x3b2d45(0x16b)](_0x3b2d45(0x18e));return _0x549d44[_0x3b2d45(0x154)](_0x6aeed7=>{const _0x501592=_0x3b2d45,_0x3646b4=this[_0x501592(0x158)](_0x1b13c6,_0x6aeed7[_0x501592(0x142)]);return _0x3646b4[_0x501592(0x15d)]=!0x0,_0x3646b4[_0x501592(0x16c)]=_0x6aeed7[_0x501592(0x16c)],_0x3646b4[_0x501592(0x150)](_0x501592(0x148))['to'](_0x2b6d04,_0x501592(0x17f),_0x582b2e=>_0x46120f(_0x121f65,_0x6aeed7[_0x501592(0x142)],_0x582b2e?_0x501592(0x14d):_0x501592(0x169))[_0x501592(0x17d)]),_0x3646b4;});}[_0x4b1110(0x179)](_0x509854){const _0xffc9ed=_0x4b1110;return _0x509854[_0xffc9ed(0x154)](_0x43287c=>{const _0x32ea88=_0xffc9ed,_0x1de0fa=this[_0x32ea88(0x158)](_0x1ef82a,_0x43287c[_0x32ea88(0x142)]);return _0x1de0fa[_0x32ea88(0x16c)]=_0x43287c[_0x32ea88(0x16c)],_0x1de0fa[_0x32ea88(0x148)]=_0x43287c[_0x32ea88(0x16f)],_0x1de0fa;});}}
23
+ const _0x30d3ba=_0x48df;function _0x1100(){const _0x1541c6=['destroy','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','UploadcareUI','text','uploadcareLicenseKeyValid','locale','usageLimit','9WyGAga','registerIntegration','GPhotos','7wzsJKA','GDrive','shortText','reduce','14eIyPnD','commands','_createDropdownButtons','_getIntegrationKey','Replace','497684jzHobO','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','licenseKey','push','_createMenuBarButtons','trialLimit','isEnabled','Local','afterInit','execute','withText','type','invalid','590228lLaOce','_normalizeConfigSourceList','plugins','Facebook','OneDrive','Dropbox','Uploadcare','assetManager','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyUsageLimit','isImageSelected','config','featureNotAllowed','1710184eMOGua','722679dzKiAN','editor','_createButton','tooltip','icon','_licenseKeyCheckInterval','evaluationLimit','Insert','upload','has','uploadcare','forEach','120ZvfIoI','_createToolbarButton','_showLicenseError','map','get','pluginName','expired','15612Bsifhh','isOfficialPlugin','URL','domainLimit','bind','label','719415MnWdDB','entries','uploadcareLicenseKeyTrialLimit','url','init','isPremiumPlugin','1572456cQxumo','ImageInsertUI'];_0x1100=function(){return _0x1541c6;};return _0x1100();}(function(_0x2d0376,_0x407cf6){const _0x344ee3=_0x48df,_0x1f8a1b=_0x2d0376();while(!![]){try{const _0x63bf77=-parseInt(_0x344ee3(0x1e0))/0x1*(parseInt(_0x344ee3(0x1fd))/0x2)+-parseInt(_0x344ee3(0x1cd))/0x3+parseInt(_0x344ee3(0x1be))/0x4+-parseInt(_0x344ee3(0x1e6))/0x5+parseInt(_0x344ee3(0x1ec))/0x6*(-parseInt(_0x344ee3(0x1f9))/0x7)+parseInt(_0x344ee3(0x1cc))/0x8*(parseInt(_0x344ee3(0x1f6))/0x9)+parseInt(_0x344ee3(0x1d9))/0xa*(parseInt(_0x344ee3(0x202))/0xb);if(_0x63bf77===_0x407cf6)break;else _0x1f8a1b['push'](_0x1f8a1b['shift']());}catch(_0x2ba956){_0x1f8a1b['push'](_0x1f8a1b['shift']());}}}(_0x1100,0x2429a));import{Plugin as _0x4354a3}from'ckeditor5/src/core.js';import{IconDropbox as _0x45e6e8,IconFacebook as _0x401d9b,IconGoogleDrive as _0xc3541,IconGooglePhotos as _0xf3ca3c,IconUploadcareImageUpload as _0x5cdf34,IconUploadcareLink as _0x2ddc17,IconOneDrive as _0xccc9a5}from'ckeditor5/src/icons.js';import{ButtonView as _0x38ac11,MenuBarMenuListItemButtonView as _0x2ee483}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5473a9}from'./uploadcareconfig.js';function _0x48df(_0x5dce96,_0x32a37b){const _0x1100cd=_0x1100();return _0x48df=function(_0x48df17,_0x5039ea){_0x48df17=_0x48df17-0x1b8;let _0x256e31=_0x1100cd[_0x48df17];return _0x256e31;},_0x48df(_0x5dce96,_0x32a37b);}import{getTranslation as _0x330360}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 _0x4354a3{[_0x30d3ba(0x205)];[_0x30d3ba(0x1d2)];static get[_0x30d3ba(0x1de)](){const _0x106a40=_0x30d3ba;return _0x106a40(0x1f1);}static get[_0x30d3ba(0x1e1)](){return!0x0;}static get[_0x30d3ba(0x1eb)](){return!0x0;}[_0x30d3ba(0x1ea)](){const _0xc62c87=_0x30d3ba;this[_0xc62c87(0x205)]=this[_0xc62c87(0x1ce)][_0xc62c87(0x1ca)][_0xc62c87(0x1dd)](_0xc62c87(0x205));const _0x4db7b8=this[_0xc62c87(0x1ce)];this[_0xc62c87(0x1d2)]=setInterval(()=>{const _0x2edd59=_0xc62c87;let _0x3a971e;for(const _0x90f257 in _0x4db7b8){const _0x4e2fcd=_0x90f257,_0xc91b88=_0x4db7b8[_0x4e2fcd];if(_0x2edd59(0x1f3)==_0xc91b88||_0x2edd59(0x1ef)==_0xc91b88||_0x2edd59(0x203)==_0xc91b88||_0x2edd59(0x204)==_0xc91b88||_0x2edd59(0x1c6)==_0xc91b88||_0x2edd59(0x1c7)==_0xc91b88||_0x2edd59(0x1e8)==_0xc91b88||_0x2edd59(0x1c8)==_0xc91b88){delete _0x4db7b8[_0x4e2fcd],_0x3a971e=_0xc91b88,clearInterval(this[_0x2edd59(0x1d2)]),this[_0x2edd59(0x1d2)]=void 0x0;break;}}_0x2edd59(0x1ef)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x1bd)),_0x2edd59(0x203)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x1df)),_0x2edd59(0x204)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x1e3)),_0x2edd59(0x1c6)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x1cb),_0x2edd59(0x1c4)),_0x2edd59(0x1c7)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x1d3)),_0x2edd59(0x1e8)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x208)),_0x2edd59(0x1c8)==_0x3a971e&&_0x4db7b8[_0x2edd59(0x1db)](_0x2edd59(0x1f5));},0x3e8);}[_0x30d3ba(0x1b9)](){const _0x5392ce=_0x30d3ba,{editor:_0x5d4e08}=this,_0x2f687a=_0x5d4e08[_0x5392ce(0x1fe)][_0x5392ce(0x1dd)](_0x5392ce(0x1d7));if(!_0x2f687a)return;const _0xcb9766=this[_0x5392ce(0x1bf)](_0x5d4e08[_0x5392ce(0x1ca)][_0x5392ce(0x1dd)](_0x5392ce(0x1f0)))[_0x5392ce(0x1fc)]((_0x510a76,_0x8c58c5)=>{const _0x237193=_0x5392ce,_0x1810b4=this[_0x237193(0x200)](_0x8c58c5[_0x237193(0x1bc)]);return _0x510a76[_0x1810b4]||(_0x510a76[_0x1810b4]=[]),_0x510a76[_0x1810b4][_0x237193(0x206)](_0x8c58c5),_0x510a76;},{});_0x5d4e08[_0x5392ce(0x1c0)][_0x5392ce(0x1d6)](_0x5392ce(0x1ed))&&_0x5d4e08[_0x5392ce(0x1fe)][_0x5392ce(0x1dd)](_0x5392ce(0x1d7))&&Object[_0x5392ce(0x1e7)](_0xcb9766)[_0x5392ce(0x1d8)](([_0x15c96c,_0x3f049e])=>{const _0x2270cc=_0x5392ce;_0x5d4e08[_0x2270cc(0x1c0)][_0x2270cc(0x1dd)](_0x2270cc(0x1ed))[_0x2270cc(0x1f7)]({'name':_0x15c96c,'observable':()=>_0x2f687a,'buttonViewCreator':()=>this[_0x2270cc(0x1da)](_0x3f049e),'formViewCreator':()=>this[_0x2270cc(0x1ff)](_0x3f049e),'menuBarButtonViewCreator':()=>this[_0x2270cc(0x207)](_0x3f049e),'override':_0x2270cc(0x1c5)!==_0x15c96c});});}[_0x30d3ba(0x1ee)](){const _0x522441=_0x30d3ba;super[_0x522441(0x1ee)](),this[_0x522441(0x1d2)]&&clearInterval(this[_0x522441(0x1d2)]);}[_0x30d3ba(0x1bf)](_0x51c7fc){const _0x4b8abc=_0x30d3ba,{locale:_0xe5e6d1}=this[_0x4b8abc(0x1ce)];return _0x51c7fc[_0x4b8abc(0x1dc)](_0x38cc82=>{const _0x4eade4=_0x4b8abc,_0x555a26=_0x330360(_0xe5e6d1,_0x38cc82,_0x4eade4(0x1d4));switch(_0x38cc82){case _0x5473a9[_0x4eade4(0x1b8)]:return{'icon':_0x5cdf34,'type':_0x5473a9[_0x4eade4(0x1b8)],..._0x555a26};case _0x5473a9[_0x4eade4(0x1e2)]:return{'icon':_0x2ddc17,'type':_0x5473a9[_0x4eade4(0x1e2)],..._0x555a26};case _0x5473a9[_0x4eade4(0x1c3)]:return{'icon':_0x45e6e8,'type':_0x5473a9[_0x4eade4(0x1c3)],..._0x555a26};case _0x5473a9[_0x4eade4(0x1c1)]:return{'icon':_0x401d9b,'type':_0x5473a9[_0x4eade4(0x1c1)],..._0x555a26};case _0x5473a9[_0x4eade4(0x1fa)]:return{'icon':_0xc3541,'type':_0x5473a9[_0x4eade4(0x1fa)],..._0x555a26};case _0x5473a9[_0x4eade4(0x1f8)]:return{'icon':_0xf3ca3c,'type':_0x5473a9[_0x4eade4(0x1f8)],..._0x555a26};case _0x5473a9[_0x4eade4(0x1c2)]:return{'icon':_0xccc9a5,'type':_0x5473a9[_0x4eade4(0x1c2)],..._0x555a26};}});}[_0x30d3ba(0x200)](_0x3ebe37){const _0x28caf4=_0x30d3ba;switch(_0x3ebe37){case _0x5473a9[_0x28caf4(0x1b8)]:return _0x28caf4(0x1d5);case _0x5473a9[_0x28caf4(0x1e2)]:return _0x28caf4(0x1e9);default:return _0x28caf4(0x1c5);}}[_0x30d3ba(0x1cf)](_0x1c2d57,_0x42302b){const _0x1270b9=_0x30d3ba,_0x3cc3fc=this[_0x1270b9(0x1ce)],_0x4fd690=new _0x1c2d57(_0x3cc3fc[_0x1270b9(0x1f4)]),_0x54a610=_0x3cc3fc[_0x1270b9(0x1fe)][_0x1270b9(0x1dd)](_0x1270b9(0x1d7));return _0x4fd690[_0x1270b9(0x1e4)](_0x1270b9(0x209))['to'](_0x54a610),_0x4fd690['on'](_0x1270b9(0x1ba),()=>{const _0x2f1578=_0x1270b9;_0x54a610[_0x2f1578(0x1ba)](_0x42302b);}),_0x4fd690;}[_0x30d3ba(0x1da)](_0x7f91bb){const _0x1bd930=_0x30d3ba,{locale:_0x5b77c3}=this[_0x1bd930(0x1ce)],_0x55311e=this[_0x1bd930(0x1ce)][_0x1bd930(0x1c0)][_0x1bd930(0x1dd)](_0x1bd930(0x1ed)),_0x38e347=_0x7f91bb[0x0],_0x4e6c31=this[_0x1bd930(0x1cf)](_0x38ac11,_0x38e347[_0x1bd930(0x1bc)]);return _0x4e6c31[_0x1bd930(0x1d1)]=_0x38e347[_0x1bd930(0x1d1)],_0x4e6c31[_0x1bd930(0x1e4)](_0x1bd930(0x1e5))['to'](_0x55311e,_0x1bd930(0x1c9),_0x40ad1=>_0x330360(_0x5b77c3,_0x38e347[_0x1bd930(0x1bc)],_0x40ad1?_0x1bd930(0x201):_0x1bd930(0x1d4))[_0x1bd930(0x1f2)]),_0x4e6c31[_0x1bd930(0x1d0)]=!0x0,_0x4e6c31;}[_0x30d3ba(0x1ff)](_0x295a24){const _0x4c70a0=_0x30d3ba,{locale:_0x47d5c1}=this[_0x4c70a0(0x1ce)],_0x18c840=this[_0x4c70a0(0x1ce)][_0x4c70a0(0x1c0)][_0x4c70a0(0x1dd)](_0x4c70a0(0x1ed));return _0x295a24[_0x4c70a0(0x1dc)](_0x2cd772=>{const _0x2df52f=_0x4c70a0,_0xf6bab0=this[_0x2df52f(0x1cf)](_0x38ac11,_0x2cd772[_0x2df52f(0x1bc)]);return _0xf6bab0[_0x2df52f(0x1bb)]=!0x0,_0xf6bab0[_0x2df52f(0x1d1)]=_0x2cd772[_0x2df52f(0x1d1)],_0xf6bab0[_0x2df52f(0x1e4)](_0x2df52f(0x1e5))['to'](_0x18c840,_0x2df52f(0x1c9),_0x3e542c=>_0x330360(_0x47d5c1,_0x2cd772[_0x2df52f(0x1bc)],_0x3e542c?_0x2df52f(0x201):_0x2df52f(0x1d4))[_0x2df52f(0x1f2)]),_0xf6bab0;});}[_0x30d3ba(0x207)](_0x24425a){const _0x375df2=_0x30d3ba;return _0x24425a[_0x375df2(0x1dc)](_0x183306=>{const _0x1bb428=_0x375df2,_0x57e60f=this[_0x1bb428(0x1cf)](_0x2ee483,_0x183306[_0x1bb428(0x1bc)]);return _0x57e60f[_0x1bb428(0x1d1)]=_0x183306[_0x1bb428(0x1d1)],_0x57e60f[_0x1bb428(0x1e5)]=_0x183306[_0x1bb428(0x1fb)],_0x57e60f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x526937}from'ckeditor5/src/core.js';import{FileRepository as _0x2682e2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2b3070}from'./uploadcareediting.js';import{UploadUtils as _0x261a35}from'./utils/uploadutils.js';import{getImageUrls as _0x23fd25}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x526937{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2682e2,_0x2b3070];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1d2134=this['editor'];if(!!!_0x1d2134['config']['get']('uploadcare'))return;_0x1d2134['plugins']['get'](_0x2682e2)['createUploadAdapter']=_0x1da45a=>new k(_0x1da45a,_0x1d2134),_0x1d2134['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36df75,{imageElement:_0x2b454d,data:_0xd7993a})=>{_0x1d2134['model']['change'](_0x2d8e26=>{_0x2d8e26['setAttribute']('uploadcareImageId',_0xd7993a['uploadcareImageId'],_0x2b454d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x174db4,_0x11edda){this['loader']=_0x174db4,this['editor']=_0x11edda,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x44c4b3=await this['loader']['file'];return _0x261a35['upload']({'file':_0x44c4b3,'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':_0x1b1a1a=>{_0x1b1a1a&&_0x1b1a1a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b1a1a['value']);}})['then'](async _0x338141=>{const {imageFallbackUrl:_0x3a8462,imageSources:_0x2463ed}=_0x23fd25(_0x338141['cdnUrl'],_0x338141['imageInfo']['width']);return{'uploadcareImageId':_0x338141['uuid'],'default':_0x3a8462,'sources':_0x2463ed};})['catch'](()=>{const _0x3376e1=t('Cannot\x20upload\x20file:')+('\x20'+_0x44c4b3['name']+'.');return Promise['reject'](_0x3376e1);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1a4cc0}from'ckeditor5/src/core.js';import{FileRepository as _0x40f102}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5e27af}from'./uploadcareediting.js';import{UploadUtils as _0x5d0be0}from'./utils/uploadutils.js';import{getImageUrls as _0x22c203}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a4cc0{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x40f102,_0x5e27af];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xae22a8=this['editor'];if(!!!_0xae22a8['config']['get']('uploadcare'))return;_0xae22a8['plugins']['get'](_0x40f102)['createUploadAdapter']=_0x2ff2de=>new k(_0x2ff2de,_0xae22a8),_0xae22a8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x11afb2,{imageElement:_0x2535e8,data:_0x5336b3})=>{_0xae22a8['model']['change'](_0x4b17a4=>{_0x4b17a4['setAttribute']('uploadcareImageId',_0x5336b3['uploadcareImageId'],_0x2535e8);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x38564b,_0x27659a){this['loader']=_0x38564b,this['editor']=_0x27659a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x261580=await this['loader']['file'];return _0x5d0be0['upload']({'file':_0x261580,'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':_0x9e3b1c=>{_0x9e3b1c&&_0x9e3b1c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x9e3b1c['value']);}})['then'](async _0x13eef6=>{const {imageFallbackUrl:_0x42e5e1,imageSources:_0x278d4a}=_0x22c203(_0x13eef6['cdnUrl'],_0x13eef6['imageInfo']['width']);return{'uploadcareImageId':_0x13eef6['uuid'],'default':_0x42e5e1,'sources':_0x278d4a};})['catch'](()=>{const _0xa4b352=t('Cannot\x20upload\x20file:')+('\x20'+_0x261580['name']+'.');return Promise['reject'](_0xa4b352);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3d1a5c}from'../uploadcareconfig.js';export function getTranslation(_0xdee14b,_0x357406,_0x3b2708){const t=_0xdee14b['t'],_0x4fc02a=_0xdee14b['t'];switch(_0x357406){case _0x3d1a5c['Local']:return{'text':_0x4fc02a('Insert'===_0x3b2708?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fc02a('From\x20computer')};case _0x3d1a5c['URL']:return{'text':'Insert'===_0x3b2708?_0x4fc02a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fc02a('Via\x20URL')};case _0x3d1a5c['Dropbox']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d1a5c['Facebook']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d1a5c['GDrive']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d1a5c['GPhotos']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d1a5c['OneDrive']:return{'text':t('Insert'===_0x3b2708?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x357406;}}
23
+ import{UploadcareSource as _0x24d457}from'../uploadcareconfig.js';export function getTranslation(_0x6d4703,_0x4658ae,_0x10cc14){const t=_0x6d4703['t'],_0x5c0c47=_0x6d4703['t'];switch(_0x4658ae){case _0x24d457['Local']:return{'text':_0x5c0c47('Insert'===_0x10cc14?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5c0c47('From\x20computer')};case _0x24d457['URL']:return{'text':'Insert'===_0x10cc14?_0x5c0c47('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5c0c47('Via\x20URL')};case _0x24d457['Dropbox']:return{'text':t('Insert'===_0x10cc14?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x24d457['Facebook']:return{'text':t('Insert'===_0x10cc14?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x24d457['GDrive']:return{'text':t('Insert'===_0x10cc14?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x24d457['GPhotos']:return{'text':t('Insert'===_0x10cc14?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x24d457['OneDrive']:return{'text':t('Insert'===_0x10cc14?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4658ae;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf718c8=_0x33de;(function(_0x2d2198,_0x368170){var _0x20db50=_0x33de,_0x4aea53=_0x2d2198();while(!![]){try{var _0x5a591b=parseInt(_0x20db50(0x117))/0x1+-parseInt(_0x20db50(0x116))/0x2+-parseInt(_0x20db50(0x113))/0x3*(-parseInt(_0x20db50(0x11c))/0x4)+-parseInt(_0x20db50(0x11d))/0x5*(-parseInt(_0x20db50(0x119))/0x6)+parseInt(_0x20db50(0x110))/0x7*(parseInt(_0x20db50(0x114))/0x8)+-parseInt(_0x20db50(0x120))/0x9*(-parseInt(_0x20db50(0x10f))/0xa)+-parseInt(_0x20db50(0x115))/0xb;if(_0x5a591b===_0x368170)break;else _0x4aea53['push'](_0x4aea53['shift']());}catch(_0x2318c6){_0x4aea53['push'](_0x4aea53['shift']());}}}(_0x40a9,0xc3d0d));function _0x40a9(){var _0x581a82=['bindTemplate','6CYIlFU','focusTracker','getFocusableElement','44408wJeASM','1589105CZsJJM','createCollection','fire','9lfUokh','focusCycler','div','1285510yRSvcf','3828013iMyuex','true','forwardCycle','165ojGYko','8GgRCRh','216370UBnyZk','2879932iAvrLG','657856gXmcxd'];_0x40a9=function(){return _0x581a82;};return _0x40a9();}import{FocusTracker as _0x5e1c55}from'ckeditor5/src/utils.js';import{View as _0x147508,FocusCycler as _0x2fd71b}from'ckeditor5/src/ui.js';function _0x33de(_0x50537d,_0x32c2a4){var _0x40a92b=_0x40a9();return _0x33de=function(_0x33de72,_0x9b9f99){_0x33de72=_0x33de72-0x10d;var _0x462b0f=_0x40a92b[_0x33de72];return _0x462b0f;},_0x33de(_0x50537d,_0x32c2a4);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x147508{[_0xf718c8(0x11a)];[_0xf718c8(0x10d)];constructor(_0x31206a){var _0x178504=_0xf718c8;super(_0x31206a),this[_0x178504(0x11a)]=new _0x5e1c55(),this[_0x178504(0x10d)]=new _0x2fd71b({'focusables':this[_0x178504(0x11e)](),'focusTracker':this[_0x178504(0x11a)]});}[_0xf718c8(0x11b)](){var _0x45f714=_0xf718c8;return{'tag':_0x45f714(0x10e),'attributes':{'aria-hidden':_0x45f714(0x111),'tabindex':'0'},'on':{'focus':this[_0x45f714(0x118)]['to'](()=>{var _0x32603c=_0x45f714;this[_0x32603c(0x10d)][_0x32603c(0x11f)](_0x32603c(0x112));})}};}}
23
+ var _0x1a1902=_0x39ef;(function(_0x11d1cc,_0x3e040f){var _0x20e647=_0x39ef,_0x3ef834=_0x11d1cc();while(!![]){try{var _0x3ed100=-parseInt(_0x20e647(0x1ca))/0x1*(parseInt(_0x20e647(0x1c0))/0x2)+-parseInt(_0x20e647(0x1bd))/0x3+-parseInt(_0x20e647(0x1c9))/0x4*(-parseInt(_0x20e647(0x1bc))/0x5)+-parseInt(_0x20e647(0x1c5))/0x6*(-parseInt(_0x20e647(0x1c1))/0x7)+parseInt(_0x20e647(0x1be))/0x8+-parseInt(_0x20e647(0x1bb))/0x9+-parseInt(_0x20e647(0x1c6))/0xa*(-parseInt(_0x20e647(0x1cc))/0xb);if(_0x3ed100===_0x3e040f)break;else _0x3ef834['push'](_0x3ef834['shift']());}catch(_0x387de4){_0x3ef834['push'](_0x3ef834['shift']());}}}(_0x5a23,0xeb426));function _0x5a23(){var _0x503b12=['415BvUQYN','52122tlkVMS','11120368gTugvB','focusTracker','6bNgVIv','14iwMYlE','createCollection','true','forwardCycle','545502ZBSpWO','20eqXhUE','div','fire','9012qXZXCq','601185yCobcl','bindTemplate','5838382yPNsdV','focusCycler','getFocusableElement','322668kjPZSK'];_0x5a23=function(){return _0x503b12;};return _0x5a23();}function _0x39ef(_0x18316a,_0x1bd865){var _0x5a2320=_0x5a23();return _0x39ef=function(_0x39ef27,_0x508c90){_0x39ef27=_0x39ef27-0x1b9;var _0x17ab1e=_0x5a2320[_0x39ef27];return _0x17ab1e;},_0x39ef(_0x18316a,_0x1bd865);}import{FocusTracker as _0xc6bb4d}from'ckeditor5/src/utils.js';import{View as _0x1cba4a,FocusCycler as _0x2cae76}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1cba4a{[_0x1a1902(0x1bf)];[_0x1a1902(0x1b9)];constructor(_0x3429d7){var _0x20f30f=_0x1a1902;super(_0x3429d7),this[_0x20f30f(0x1bf)]=new _0xc6bb4d(),this[_0x20f30f(0x1b9)]=new _0x2cae76({'focusables':this[_0x20f30f(0x1c2)](),'focusTracker':this[_0x20f30f(0x1bf)]});}[_0x1a1902(0x1ba)](){var _0xcd0b2e=_0x1a1902;return{'tag':_0xcd0b2e(0x1c7),'attributes':{'aria-hidden':_0xcd0b2e(0x1c3),'tabindex':'0'},'on':{'focus':this[_0xcd0b2e(0x1cb)]['to'](()=>{var _0x20ff05=_0xcd0b2e;this[_0x20ff05(0x1b9)][_0x20ff05(0x1c8)](_0x20ff05(0x1c4));})}};}}