@ckeditor/ckeditor5-uploadcare 45.2.1-alpha.8 → 45.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34e419=_0x1495;function _0x1495(_0x228fbe,_0x231dc0){const _0x31f990=_0x31f9();return _0x1495=function(_0x149519,_0x315eae){_0x149519=_0x149519-0xfb;let _0x191250=_0x31f990[_0x149519];return _0x191250;},_0x1495(_0x228fbe,_0x231dc0);}(function(_0x4793e9,_0x49b48c){const _0x121238=_0x1495,_0x35a46e=_0x4793e9();while(!![]){try{const _0x286ed9=-parseInt(_0x121238(0x110))/0x1*(parseInt(_0x121238(0x11f))/0x2)+-parseInt(_0x121238(0x132))/0x3+parseInt(_0x121238(0x10f))/0x4+parseInt(_0x121238(0x14a))/0x5+parseInt(_0x121238(0x134))/0x6+-parseInt(_0x121238(0x12f))/0x7+-parseInt(_0x121238(0x11b))/0x8;if(_0x286ed9===_0x49b48c)break;else _0x35a46e['push'](_0x35a46e['shift']());}catch(_0x3c5729){_0x35a46e['push'](_0x35a46e['shift']());}}}(_0x31f9,0x4f386));import{Plugin as _0x4453db}from'ckeditor5/src/core.js';import{Dialog as _0x284533}from'ckeditor5/src/ui.js';import{createElement as _0x5e5f19,global as _0x1103bc,uid as _0x2dd679}from'ckeditor5/src/utils.js';import _0x4fef68 from'./uploadcarecommand.js';import _0x17dd5e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5b5f1d}from'./utils/editingutils.js';export default class i extends _0x4453db{[_0x34e419(0xfd)]=null;[_0x34e419(0x142)]=null;static get[_0x34e419(0x123)](){const _0x58b9e2=_0x34e419;return _0x58b9e2(0x12c);}static get[_0x34e419(0x140)](){const _0x3ff7a2=_0x34e419;return[_0x3ff7a2(0x111),_0x17dd5e,_0x284533];}static get[_0x34e419(0x147)](){return!0x0;}static get[_0x34e419(0x108)](){return!0x0;}get[_0x34e419(0x148)](){const _0x51cd91=_0x34e419;return this[_0x51cd91(0xfd)];}get[_0x34e419(0x135)](){const _0x53138d=_0x34e419;return this[_0x53138d(0x142)];}[_0x34e419(0x129)](){const _0x4273c1=_0x34e419,_0xefaf2f=this[_0x4273c1(0x13f)];_0xefaf2f[_0x4273c1(0x124)][_0x4273c1(0x115)](_0x4273c1(0x144),new _0x4fef68(_0xefaf2f));}[_0x34e419(0x109)](){const _0x21fde6=_0x34e419;this[_0x21fde6(0x10d)](),this[_0x21fde6(0x13e)](),this[_0x21fde6(0x127)](),this[_0x21fde6(0xfc)](),this[_0x21fde6(0xff)](),this[_0x21fde6(0x12d)](this[_0x21fde6(0x13f)],_0x21fde6(0x11a),()=>{const _0x35f613=_0x21fde6;this[_0x35f613(0xfd)]&&(this[_0x35f613(0xfd)][_0x35f613(0x139)](),this[_0x35f613(0xfd)]=null),this[_0x35f613(0x142)]&&(this[_0x35f613(0x142)][_0x35f613(0x139)](),this[_0x35f613(0x142)]=null);const _0x5da2ba=_0x1103bc[_0x35f613(0xfe)][_0x35f613(0x143)](_0x35f613(0x13c));_0x5da2ba&&_0x5da2ba[_0x35f613(0x139)]();}),async function(_0x2f443a){const _0x20bcdd=_0x335359([0x73,0x79,0x31,0x75,0x74,0x76,0x30,0x6f,0x47,0x54,0x34,0x4e,0x51,0x4d,0x7a,0x37,0x69,0x67,0x70,0x53,0x42,0x6c,0x6a,0x50,0x77,0x43,0x6b,0x46,0x72,0x6e,0x5a,0x66,0x71,0x45,0x48,0x4b,0x56,0x62,0x44,0x41,0x4c,0x32,0x61,0x78,0x33,0x57,0x58,0x65,0x68,0x6d,0x4a,0x4f,0x38,0x55,0x35,0x36,0x49,0x63,0x59,0x39,0x52,0x64]),_0x28cec6=0x4925373c,_0x5907b3=0x49225c44^_0x28cec6,_0x786a7b=window[_0x335359([0x44,0x61,0x74,0x65])][_0x335359([0x6e,0x6f,0x77])](),_0x11db90=_0x2f443a[_0x335359([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x114ee2=new window[(_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25678c=>{_0x11db90[_0x335359([0x6f,0x6e,0x63,0x65])](_0x335359([0x72,0x65,0x61,0x64,0x79]),_0x25678c);}),_0x2bab9f={[_0x335359([0x6b,0x74,0x79])]:_0x335359([0x45,0x43]),[_0x335359([0x75,0x73,0x65])]:_0x335359([0x73,0x69,0x67]),[_0x335359([0x63,0x72,0x76])]:_0x335359([0x50,0x2d,0x32,0x35,0x36]),[_0x335359([0x78])]:_0x335359([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]),[_0x335359([0x79])]:_0x335359([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]),[_0x335359([0x61,0x6c,0x67])]:_0x335359([0x45,0x53,0x32,0x35,0x36])},_0x2df461=_0x11db90[_0x335359([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x335359([0x67,0x65,0x74])](_0x335359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5043ce(){let _0x19e533,_0x2375e1=null,_0x1715dd=null;try{if(_0x2df461==_0x335359([0x47,0x50,0x4c]))return _0x335359([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19e533=_0xdca01e(),!_0x19e533)return _0x335359([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19e533[_0x335359([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1715dd=_0x3cfb57(_0x19e533[_0x335359([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19e533[_0x335359([0x6a,0x74,0x69])])),await _0x55c5a8()?_0x528fd2()?_0x3435d1()?_0x335359([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x517a6e()?(_0x19e533[_0x335359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x335359([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2375e1=_0x1bf059(_0x335359([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19e533[_0x335359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x335359([0x74,0x72,0x69,0x61,0x6c])&&(_0x2375e1=_0x1bf059(_0x335359([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b1705()):_0x335359([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x335359([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x335359([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x335359([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3435d1(){const _0x24ec16=[_0x335359([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x335359([0x74,0x72,0x69,0x61,0x6c])][_0x335359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19e533[_0x335359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x786a7b/0x3e8:0xe10*_0x5907b3;return _0x19e533[_0x335359([0x65,0x78,0x70])]<_0x24ec16;}function _0x528fd2(){const _0x471fb1=_0x19e533[_0x335359([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x471fb1&&(!!_0x471fb1[_0x335359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335359([0x2a]))||!!_0x471fb1[_0x335359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335359([0x55,0x50,0x4c,0x43])));}function _0x517a6e(){const _0x26f5c3=_0x1495,_0x191241=_0x19e533[_0x335359([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x191241||0x0==_0x191241[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a0f27}=new URL(window[_0x335359([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x26f5c3(0x106)]);if(_0x191241[_0x335359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0f27))return!0x0;const _0x4fae67=_0x2a0f27[_0x335359([0x73,0x70,0x6c,0x69,0x74])](_0x335359([0x2e]));return _0x191241[_0x335359([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x111e53=>_0x111e53[_0x335359([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335359([0x2a])))[_0x335359([0x6d,0x61,0x70])](_0x11cc19=>_0x11cc19[_0x335359([0x73,0x70,0x6c,0x69,0x74])](_0x335359([0x2e])))[_0x335359([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x332137=>_0x332137[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fae67[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x335359([0x6d,0x61,0x70])](_0x38a4d8=>Array(_0x4fae67[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38a4d8[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x335359([0x66,0x69,0x6c,0x6c])](_0x38a4d8[0x0]===_0x335359([0x2a])?_0x335359([0x2a]):'')[_0x335359([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38a4d8))[_0x335359([0x73,0x6f,0x6d,0x65])](_0x4da12e=>_0x4fae67[_0x335359([0x65,0x76,0x65,0x72,0x79])]((_0x2c5616,_0x35b457)=>_0x4da12e[_0x35b457]===_0x2c5616||_0x4da12e[_0x35b457]===_0x335359([0x2a])));}function _0x4b1705(){return _0x2375e1&&_0x1715dd?new window[(_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x426bf9,_0x29a5b6)=>{_0x2375e1[_0x335359([0x74,0x68,0x65,0x6e])](_0x426bf9,_0x29a5b6),_0x1715dd[_0x335359([0x74,0x68,0x65,0x6e])](_0x46ecd4=>{_0x46ecd4!=_0x335359([0x56,0x61,0x6c,0x69,0x64])&&_0x426bf9(_0x46ecd4);},_0x29a5b6);}):_0x2375e1||_0x1715dd||_0x335359([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cfb57(_0x2c4d78,_0xd30a56){return new window[(_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591f7b=>{if(_0x5cb06f())return _0x591f7b(_0x335359([0x56,0x61,0x6c,0x69,0x64]));_0x2f5d66(),_0x11db90[_0x335359([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x335359([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31e9b3=!0x1;const _0x348e86=_0x2dd679();function _0x63382e(_0x1ac855){return!!_0x1ac855&&(typeof _0x1ac855===_0x335359([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ac855===_0x335359([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ac855[_0x335359([0x74,0x68,0x65,0x6e])]===_0x335359([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ac855[_0x335359([0x63,0x61,0x74,0x63,0x68])]===_0x335359([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f1227(_0x25cf2f){_0x1e4f41(_0x25cf2f)[_0x335359([0x74,0x68,0x65,0x6e])](_0x11811e=>{if(!_0x11811e||_0x11811e[_0x335359([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x335359([0x6f,0x6b]))return _0x335359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x311f59(_0xcb1749(_0x348e86+_0xd30a56))!=_0x11811e[_0x335359([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x335359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x335359([0x56,0x61,0x6c,0x69,0x64]);})[_0x335359([0x74,0x68,0x65,0x6e])](_0x27333d=>(_0x45c873(),_0x27333d),()=>{const _0x293410=_0x254e95();return null==_0x293410?(_0x45c873(),_0x335359([0x56,0x61,0x6c,0x69,0x64])):_0x335359(_0x786a7b-_0x293410>(0x6d29b33c^_0x28cec6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x335359([0x74,0x68,0x65,0x6e])](_0x591f7b)[_0x335359([0x63,0x61,0x74,0x63,0x68])](()=>{_0x591f7b(_0x335359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33f6cc=0x4913d9bc^_0x28cec6;function _0x45c873(){const _0x145d87=_0x335359([0x6c,0x6c,0x63,0x74,0x2d])+_0x311f59(_0xcb1749(_0x2c4d78)),_0x438454=_0x1e85fc(_0x311f59(window[_0x335359([0x4d,0x61,0x74,0x68])][_0x335359([0x63,0x65,0x69,0x6c])](_0x786a7b/_0x33f6cc)));window[_0x335359([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x335359([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x145d87,_0x438454);}function _0x254e95(){const _0x24f2f0=_0x335359([0x6c,0x6c,0x63,0x74,0x2d])+_0x311f59(_0xcb1749(_0x2c4d78)),_0x2ce091=window[_0x335359([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x335359([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24f2f0);return _0x2ce091?window[_0x335359([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e85fc(_0x2ce091),0x10)*_0x33f6cc:null;}function _0x1e4f41(_0x47b55b){return new window[(_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302df0,_0x2e94ca)=>{_0x47b55b[_0x335359([0x74,0x68,0x65,0x6e])](_0x302df0,_0x2e94ca),window[_0x335359([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e94ca,0x4924e3fc^_0x28cec6);});}}_0x11db90[_0x335359([0x6f,0x6e])](_0x335359([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a587c,_0x499432)=>{if(_0x499432[0x0]!=_0x2c4d78)return _0x591f7b(_0x335359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x499432[0x1]={..._0x499432[0x1],[_0x335359([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x348e86};},{[_0x335359([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x335359([0x68,0x69,0x67,0x68])}),_0x11db90[_0x335359([0x6f,0x6e])](_0x335359([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22c8f8=>{_0x63382e(_0x22c8f8[_0x335359([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31e9b3=!0x0,_0x2f1227(_0x22c8f8[_0x335359([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x335359([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x335359([0x6c,0x6f,0x77])}),_0x114ee2[_0x335359([0x74,0x68,0x65,0x6e])](()=>{_0x31e9b3||_0x591f7b(_0x335359([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5cb06f(){return _0x11db90[_0x335359([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x335359([0x76,0x69,0x65,0x77])][_0x335359([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x335359([0x61,0x75,0x74,0x6f]);}function _0x2f5d66(){_0x11db90[_0x335359([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x335359([0x76,0x69,0x65,0x77])][_0x335359([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x335359([0x61,0x75,0x74,0x6f]);}}function _0x1bf059(_0x17e11b){const _0x1e5db5=[new window[(_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bd399=>setTimeout(_0x3bd399,0x492c09f0^_0x28cec6)),_0x114ee2[_0x335359([0x74,0x68,0x65,0x6e])](()=>new window[(_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x597c9b=>{let _0x8187f1=0x0;_0x11db90[_0x335359([0x6d,0x6f,0x64,0x65,0x6c])][_0x335359([0x6f,0x6e])](_0x335359([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x129c1e,_0x465a02)=>{_0x465a02[0x0][_0x335359([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8187f1++,_0x8187f1==(0x492536c4^_0x28cec6)&&(_0x597c9b(),_0x129c1e[_0x335359([0x6f,0x66,0x66])]());});}))];return window[_0x335359([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x335359([0x72,0x61,0x63,0x65])](_0x1e5db5)[_0x335359([0x74,0x68,0x65,0x6e])](()=>_0x17e11b);}async function _0x3391e8(){await _0x114ee2,_0x11db90[_0x335359([0x6d,0x6f,0x64,0x65,0x6c])][_0x335359([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x310c87,_0x11db90[_0x335359([0x6d,0x6f,0x64,0x65,0x6c])][_0x335359([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x310c87,_0x11db90[_0x335359([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x335359([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x58f0d9(_0x52968d){const _0xeffac5=_0x17621c();_0x11db90[_0xeffac5]=_0x335359([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52968d,_0x52968d!=_0x335359([0x56,0x61,0x6c,0x69,0x64])&&_0x3391e8();}function _0x17621c(){const _0x198995=window[_0x335359([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x335359([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x335359([0x6e,0x6f,0x77])]())[_0x335359([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x335359([0x2e]),'');let _0xc34fb3=_0x335359([0x73]);for(let _0x232194=0x0;_0x232194<_0x198995[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x232194+=0x2){let _0x5cc591=window[_0x335359([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x198995[_0x335359([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x232194,_0x232194+0x2));_0x5cc591>=_0x20bcdd[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cc591-=_0x20bcdd[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc34fb3+=_0x20bcdd[_0x5cc591];}return _0xc34fb3;}function _0xdca01e(){const _0x10a8ee=_0x2df461[_0x335359([0x73,0x70,0x6c,0x69,0x74])](_0x335359([0x2e]));if(0x3!=_0x10a8ee[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f3dce(_0x10a8ee[0x1]);function _0x3f3dce(_0x543221){const _0x3c515d=_0x56a40e(_0x543221);return _0x3c515d&&_0x2ce43f()?_0x3c515d:null;function _0x2ce43f(){const _0x3b3a2d=_0x3c515d[_0x335359([0x6a,0x74,0x69])],_0x4e316e=window[_0x335359([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b3a2d[_0x335359([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b3a2d[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x900f9f={..._0x3c515d,[_0x335359([0x6a,0x74,0x69])]:_0x3b3a2d[_0x335359([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b3a2d[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x900f9f[_0x335359([0x76,0x63])],_0xcb1749(_0x900f9f)==_0x4e316e;}}}async function _0x55c5a8(){let _0x389736=!0x0;try{const _0xeec9c5=_0x2df461[_0x335359([0x73,0x70,0x6c,0x69,0x74])](_0x335359([0x2e])),[_0x1070a2,_0x4b3cfe,_0x3d6986]=_0xeec9c5;return _0x641d1d(_0x1070a2),await _0x2c5578(_0x1070a2,_0x4b3cfe,_0x3d6986),_0x389736;}catch{return!0x1;}function _0x641d1d(_0x27134e){const _0xc4674e=_0x56a40e(_0x27134e);_0xc4674e&&_0xc4674e[_0x335359([0x61,0x6c,0x67])]==_0x335359([0x45,0x53,0x32,0x35,0x36])||(_0x389736=!0x1);}async function _0x2c5578(_0x20e584,_0x491120,_0x4f219f){const _0x4cadd0=window[_0x335359([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x335359([0x66,0x72,0x6f,0x6d])](_0x77b72e(_0x4f219f),_0xcd1536=>_0xcd1536[_0x335359([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd55661=new window[(_0x335359([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x335359([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20e584+_0x335359([0x2e])+_0x491120),_0x30ace9=window[_0x335359([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x335359([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30ace9)return;const _0x2963da=await _0x30ace9[_0x335359([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x335359([0x6a,0x77,0x6b]),_0x2bab9f,{[_0x335359([0x6e,0x61,0x6d,0x65])]:_0x335359([0x45,0x43,0x44,0x53,0x41]),[_0x335359([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x335359([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x335359([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30ace9[_0x335359([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x335359([0x6e,0x61,0x6d,0x65])]:_0x335359([0x45,0x43,0x44,0x53,0x41]),[_0x335359([0x68,0x61,0x73,0x68])]:{[_0x335359([0x6e,0x61,0x6d,0x65])]:_0x335359([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2963da,_0x4cadd0,_0xd55661)||(_0x389736=!0x1);}}function _0x56a40e(_0x132887){return _0x132887[_0x335359([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x335359([0x65,0x79]))?JSON[_0x335359([0x70,0x61,0x72,0x73,0x65])](_0x77b72e(_0x132887)):null;}function _0x77b72e(_0x33090d){return window[_0x335359([0x61,0x74,0x6f,0x62])](_0x33090d[_0x335359([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x335359([0x2b]))[_0x335359([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x335359([0x2f])));}function _0xcb1749(_0x311071){let _0x17f5ba=0x1505;function _0x255ff1(_0x2fc622){for(let _0xe615fa=0x0;_0xe615fa<_0x2fc622[_0x335359([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe615fa++){const _0xe8a807=_0x2fc622[_0x335359([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe615fa);_0x17f5ba=(_0x17f5ba<<0x5)+_0x17f5ba+_0xe8a807,_0x17f5ba&=_0x17f5ba;}}function _0x15b20a(_0x1397dc){Array[_0x335359([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1397dc)?_0x1397dc[_0x335359([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15b20a):_0x1397dc&&typeof _0x1397dc==_0x335359([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x335359([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1397dc)[_0x335359([0x73,0x6f,0x72,0x74])]()[_0x335359([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a03a1,_0x1a18ae])=>{_0x255ff1(_0x4a03a1),_0x15b20a(_0x1a18ae);}):_0x255ff1(window[_0x335359([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1397dc));}return _0x15b20a(_0x311071),_0x17f5ba>>>0x0;}function _0x311f59(_0x4d6f73){return _0x4d6f73[_0x335359([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x335359([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x335359([0x30]));}function _0x1e85fc(_0x10aaec){return _0x10aaec[_0x335359([0x73,0x70,0x6c,0x69,0x74])]('')[_0x335359([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x335359([0x6a,0x6f,0x69,0x6e])]('');}function _0x310c87(){}function _0x335359(_0x1781c9){const _0x46d93b=_0x1495;return _0x1781c9[_0x46d93b(0x100)](_0x585d7d=>String[_0x46d93b(0x114)](_0x585d7d))[_0x46d93b(0x13d)]('');}_0x58f0d9(await _0x5043ce());}(this);}[_0x34e419(0x10d)](){const _0x1b0797=_0x34e419,_0x4c435c=this[_0x1b0797(0x13f)][_0x1b0797(0x141)][_0x1b0797(0x125)];_0x4c435c[_0x1b0797(0x101)](_0x1b0797(0x14c))&&_0x4c435c[_0x1b0797(0x104)](_0x1b0797(0x14c),{'allowAttributes':[_0x1b0797(0x119)]}),_0x4c435c[_0x1b0797(0x101)](_0x1b0797(0x11d))&&_0x4c435c[_0x1b0797(0x104)](_0x1b0797(0x11d),{'allowAttributes':[_0x1b0797(0x119)]});}[_0x34e419(0x13e)](){const _0x42bd86=_0x34e419,_0x43ddc2=this[_0x42bd86(0x13f)];_0x43ddc2[_0x42bd86(0x103)][_0x42bd86(0x120)](_0x42bd86(0x11c))[_0x42bd86(0x11e)]({'model':_0x42bd86(0x119),'view':_0x42bd86(0x12e)}),_0x43ddc2[_0x42bd86(0x103)][_0x42bd86(0x120)](_0x42bd86(0x138))[_0x42bd86(0x145)]({'model':{'key':_0x42bd86(0x119),'value':_0x5c88cb=>_0x5c88cb[_0x42bd86(0x13b)](_0x42bd86(0x12e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x50b841=_0x43ddc2[_0x42bd86(0x124)][_0x42bd86(0x107)](_0x42bd86(0x128));_0x50b841&&this[_0x42bd86(0x12d)](_0x50b841,_0x42bd86(0xfb),(_0x5c56af,[_0x4070d2,_0x1e3f1b])=>{const _0x387c55=_0x42bd86;_0x4070d2[_0x387c55(0x10a)](_0x387c55(0x119),_0x1e3f1b);});}[_0x34e419(0x127)](){const _0x42b031=_0x34e419,_0x74539d=this[_0x42b031(0x13f)][_0x42b031(0x149)][_0x42b031(0x107)](_0x42b031(0x105))||{},_0x24bc73=this[_0x42b031(0x13f)][_0x42b031(0x149)][_0x42b031(0x107)](_0x42b031(0x13a))||'';this[_0x42b031(0xfd)]=_0x5e5f19(_0x1103bc[_0x42b031(0xfe)],_0x42b031(0x10b),{..._0x74539d,'pubkey':_0x24bc73,'ctx-name':_0x42b031(0x122),'sourceList':'','imgOnly':_0x42b031(0x12b),'removeCopyright':_0x42b031(0x12b),'localeName':this[_0x42b031(0x13f)][_0x42b031(0x126)][_0x42b031(0x117)],'externalSourcesEmbedCss':_0x42b031(0x118)}),this[_0x42b031(0xfd)][_0x42b031(0x116)]=_0x11efec=>{const _0x3cae51=_0x42b031;if(_0x3cae51(0x131)==_0x11efec)return _0x3cae51(0x121);},_0x1103bc[_0x42b031(0xfe)][_0x42b031(0x112)][_0x42b031(0x136)](this[_0x42b031(0xfd)]);}[_0x34e419(0xfc)](){const _0x7e67c8=_0x34e419;this[_0x7e67c8(0x142)]=_0x5e5f19(_0x1103bc[_0x7e67c8(0xfe)],_0x7e67c8(0x10c),{'ctx-name':_0x7e67c8(0x122)}),_0x1103bc[_0x7e67c8(0xfe)][_0x7e67c8(0x112)][_0x7e67c8(0x136)](this[_0x7e67c8(0x142)]);}[_0x34e419(0xff)](){const _0xed09b3=_0x34e419,_0x394e2e=this[_0xed09b3(0x13f)][_0xed09b3(0x124)][_0xed09b3(0x107)](_0xed09b3(0x146));_0x394e2e&&this[_0xed09b3(0x12d)](_0x394e2e,_0xed09b3(0x14b),()=>{const _0x4a0a03=_0xed09b3,_0x4fe8c9=this[_0x4a0a03(0x13f)][_0x4a0a03(0x141)][_0x4a0a03(0xfe)][_0x4a0a03(0x133)][_0x4a0a03(0x137)]();_0x4fe8c9&&_0x4fe8c9[_0x4a0a03(0x13b)](_0x4a0a03(0x119))&&this[_0x4a0a03(0x13f)][_0x4a0a03(0x102)][_0x4a0a03(0x10e)][_0x4a0a03(0x12a)](_0x4a0a03(0x113),()=>{const _0xa01629=_0x4a0a03;_0x5b5f1d(this[_0xa01629(0x13f)],_0x4fe8c9);});});const _0x5748bf=this[_0xed09b3(0x13f)][_0xed09b3(0x124)][_0xed09b3(0x107)](_0xed09b3(0x130));_0x5748bf&&this[_0xed09b3(0x12d)](_0x5748bf,_0xed09b3(0x14b),()=>{const _0x1d96db=_0xed09b3,_0x2ca03a=this[_0x1d96db(0x13f)][_0x1d96db(0x141)][_0x1d96db(0xfe)][_0x1d96db(0x133)][_0x1d96db(0x137)]();_0x2ca03a&&_0x2ca03a[_0x1d96db(0x13b)](_0x1d96db(0x119))&&this[_0x1d96db(0x13f)][_0x1d96db(0x102)][_0x1d96db(0x10e)][_0x1d96db(0x12a)](_0x1d96db(0x113),()=>{const _0x3120f5=_0x1d96db;_0x5b5f1d(this[_0x3120f5(0x13f)],_0x2ca03a);});});}}function _0x31f9(){const _0x1aa307=['uploadcare.uploader','href','get','isPremiumPlugin','afterInit','removeAttribute','uc-config','uc-upload-ctx-provider','_initSchema','view','1521936tKlcRg','1EOWisT','PictureEditing','body','render','fromCharCode','add','iconHrefResolver','contentLanguage','\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','uploadcareImageId','destroy','2917224GycJZV','downcast','imageInline','attributeToAttribute','565118HGvCjo','for','#uc-icon-arrow-down','uploader','pluginName','commands','schema','locale','_initConfig','replaceImageSource','init','once','true','UploadcareEditing','listenTo','data-uc-image-id','1760227uPrLCw','uploadcareImageReplace','closeMax','336597wnVOry','selection','1930446xIfGmR','ctxElement','appendChild','getSelectedElement','upcast','remove','uploadcare.pubkey','getAttribute','input[uploadcare-file-input]','join','_initConversion','editor','requires','model','_ctxElement','querySelector','uploadcare','elementToAttribute','insertImage','isOfficialPlugin','configElement','config','3165665fKSlVJ','execute','imageBlock','cleanupImage','_initCtx','_configElement','document','_initImageProcessingIndicator','map','isRegistered','editing','conversion','extend'];_0x31f9=function(){return _0x1aa307;};return _0x31f9();}
23
+ const _0x2bfd6b=_0x11a5;(function(_0x4e4a2e,_0x4b9840){const _0x3e9765=_0x11a5,_0x2081ce=_0x4e4a2e();while(!![]){try{const _0x587c6d=-parseInt(_0x3e9765(0x1be))/0x1*(parseInt(_0x3e9765(0x1b8))/0x2)+-parseInt(_0x3e9765(0x173))/0x3+parseInt(_0x3e9765(0x17e))/0x4+-parseInt(_0x3e9765(0x1b5))/0x5+parseInt(_0x3e9765(0x176))/0x6+parseInt(_0x3e9765(0x1b2))/0x7*(-parseInt(_0x3e9765(0x1a7))/0x8)+-parseInt(_0x3e9765(0x1ab))/0x9*(-parseInt(_0x3e9765(0x1a2))/0xa);if(_0x587c6d===_0x4b9840)break;else _0x2081ce['push'](_0x2081ce['shift']());}catch(_0x19acb3){_0x2081ce['push'](_0x2081ce['shift']());}}}(_0x3d4f,0x4b83d));function _0x11a5(_0x538b29,_0x25f3da){const _0x3d4fe1=_0x3d4f();return _0x11a5=function(_0x11a580,_0x5360d4){_0x11a580=_0x11a580-0x173;let _0x5e9065=_0x3d4fe1[_0x11a580];return _0x5e9065;},_0x11a5(_0x538b29,_0x25f3da);}import{Plugin as _0x5f4777}from'ckeditor5/src/core.js';import{Dialog as _0x4e28ec}from'ckeditor5/src/ui.js';import{createElement as _0x54e12a,global as _0xfb71fa,uid as _0x568d30}from'ckeditor5/src/utils.js';import _0x35c950 from'./uploadcarecommand.js';import _0x6f3e93 from'./uploadcareuploadadapter.js';function _0x3d4f(){const _0x3fcc57=['add','uploadcare.uploader','map','PictureEditing','_initCtx','once','get','insertImage','data-uc-image-id','selection','view','uploadcareImageId','isOfficialPlugin','uploader','getAttribute','_initConfig','pluginName','isRegistered','uploadcare','listenTo','uc-config','editing','_ctxElement','execute','locale','attributeToAttribute','elementToAttribute','removeAttribute','remove','contentLanguage','642310amwmRB','body','imageBlock','querySelector','_configElement','144wAnCvB','schema','destroy','_initImageProcessingIndicator','207gnynYY','requires','href','true','uc-upload-ctx-provider','_initConversion','conversion','152705ofgmRq','uploadcareImageReplace','uploadcare.pubkey','1860860PcrdHI','for','ctxElement','50HliJnz','getSelectedElement','document','appendChild','downcast','fromCharCode','24415WscsVn','extend','commands','cleanupImage','editor','UploadcareEditing','join','afterInit','\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','1291239EbPEof','config','_initSchema','2418948CMUFvR','#uc-icon-arrow-down','upcast','replaceImageSource','imageInline','input[uploadcare-file-input]','render','iconHrefResolver','937872QZIKkx','init','isPremiumPlugin','configElement','closeMax','model'];_0x3d4f=function(){return _0x3fcc57;};return _0x3d4f();}import{showImageProcessingIndicator as _0x3428e6}from'./utils/editingutils.js';export default class i extends _0x5f4777{[_0x2bfd6b(0x1a6)]=null;[_0x2bfd6b(0x19a)]=null;static get[_0x2bfd6b(0x194)](){const _0x44f329=_0x2bfd6b;return _0x44f329(0x1c3);}static get[_0x2bfd6b(0x1ac)](){const _0x3d1e7c=_0x2bfd6b;return[_0x3d1e7c(0x187),_0x6f3e93,_0x4e28ec];}static get[_0x2bfd6b(0x190)](){return!0x0;}static get[_0x2bfd6b(0x180)](){return!0x0;}get[_0x2bfd6b(0x181)](){const _0x1561b4=_0x2bfd6b;return this[_0x1561b4(0x1a6)];}get[_0x2bfd6b(0x1b7)](){const _0xa7eef1=_0x2bfd6b;return this[_0xa7eef1(0x19a)];}[_0x2bfd6b(0x17f)](){const _0x1be466=_0x2bfd6b,_0x19a5ae=this[_0x1be466(0x1c2)];_0x19a5ae[_0x1be466(0x1c0)][_0x1be466(0x184)](_0x1be466(0x196),new _0x35c950(_0x19a5ae));}[_0x2bfd6b(0x1c5)](){const _0x269ee5=_0x2bfd6b;this[_0x269ee5(0x175)](),this[_0x269ee5(0x1b0)](),this[_0x269ee5(0x193)](),this[_0x269ee5(0x188)](),this[_0x269ee5(0x1aa)](),this[_0x269ee5(0x197)](this[_0x269ee5(0x1c2)],_0x269ee5(0x1a9),()=>{const _0x225f32=_0x269ee5;this[_0x225f32(0x1a6)]&&(this[_0x225f32(0x1a6)][_0x225f32(0x1a0)](),this[_0x225f32(0x1a6)]=null),this[_0x225f32(0x19a)]&&(this[_0x225f32(0x19a)][_0x225f32(0x1a0)](),this[_0x225f32(0x19a)]=null);const _0x997d28=_0xfb71fa[_0x225f32(0x1ba)][_0x225f32(0x1a5)](_0x225f32(0x17b));_0x997d28&&_0x997d28[_0x225f32(0x1a0)]();}),async function(_0x3bc2ec){const _0x43d4e0=_0x28888a([0x66,0x33,0x71,0x67,0x68,0x61,0x36,0x4c,0x49,0x6b,0x37,0x4e,0x78,0x44,0x70,0x6a,0x55,0x73,0x30,0x77,0x6d,0x75,0x64,0x6f,0x31,0x4f,0x32,0x57,0x79,0x6e,0x6c,0x45,0x56,0x42,0x34,0x4d,0x53,0x4a,0x47,0x7a,0x72,0x59,0x69,0x58,0x5a,0x65,0x38,0x4b,0x48,0x50,0x62,0x52,0x46,0x63,0x39,0x76,0x35,0x51,0x74,0x54,0x41,0x43]),_0x317afa=0x6eda3144,_0x2af27d=0x6edd5aec^_0x317afa,_0x51c641=window[_0x28888a([0x44,0x61,0x74,0x65])][_0x28888a([0x6e,0x6f,0x77])](),_0x3c497f=_0x3bc2ec[_0x28888a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5454e0=new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x554328=>{_0x3c497f[_0x28888a([0x6f,0x6e,0x63,0x65])](_0x28888a([0x72,0x65,0x61,0x64,0x79]),_0x554328);}),_0x11795a={[_0x28888a([0x6b,0x74,0x79])]:_0x28888a([0x45,0x43]),[_0x28888a([0x75,0x73,0x65])]:_0x28888a([0x73,0x69,0x67]),[_0x28888a([0x63,0x72,0x76])]:_0x28888a([0x50,0x2d,0x32,0x35,0x36]),[_0x28888a([0x78])]:_0x28888a([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]),[_0x28888a([0x79])]:_0x28888a([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]),[_0x28888a([0x61,0x6c,0x67])]:_0x28888a([0x45,0x53,0x32,0x35,0x36])},_0x4713a0=_0x3c497f[_0x28888a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28888a([0x67,0x65,0x74])](_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b513a(){let _0x4d49df,_0xa0548d=null,_0x40214a=null;try{if(_0x4713a0==_0x28888a([0x47,0x50,0x4c]))return _0x28888a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d49df=_0x485d02(),!_0x4d49df)return _0x28888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d49df[_0x28888a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x40214a=_0x1f823f(_0x4d49df[_0x28888a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d49df[_0x28888a([0x6a,0x74,0x69])])),await _0x40b97e()?_0x34e8bf()?_0x55d99e()?_0x28888a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2832e3()?(_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28888a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa0548d=_0x420582(_0x28888a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28888a([0x74,0x72,0x69,0x61,0x6c])&&(_0xa0548d=_0x420582(_0x28888a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ec28d()):_0x28888a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28888a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28888a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55d99e(){const _0x39d947=[_0x28888a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28888a([0x74,0x72,0x69,0x61,0x6c])][_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51c641/0x3e8:0xe10*_0x2af27d;return _0x4d49df[_0x28888a([0x65,0x78,0x70])]<_0x39d947;}function _0x34e8bf(){const _0x3c314f=_0x4d49df[_0x28888a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c314f&&(!!_0x3c314f[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28888a([0x2a]))||!!_0x3c314f[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28888a([0x55,0x50,0x4c,0x43])));}function _0x2832e3(){const _0x520276=_0x11a5,_0x5b1ab9=_0x4d49df[_0x28888a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b1ab9||0x0==_0x5b1ab9[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57d0dc}=new URL(window[_0x28888a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x520276(0x1ad)]);if(_0x5b1ab9[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57d0dc))return!0x0;const _0x19a82c=_0x57d0dc[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e]));return _0x5b1ab9[_0x28888a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38aa1a=>_0x38aa1a[_0x28888a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28888a([0x2a])))[_0x28888a([0x6d,0x61,0x70])](_0x1206db=>_0x1206db[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e])))[_0x28888a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11d686=>_0x11d686[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19a82c[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28888a([0x6d,0x61,0x70])](_0x4286be=>Array(_0x19a82c[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4286be[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28888a([0x66,0x69,0x6c,0x6c])](_0x4286be[0x0]===_0x28888a([0x2a])?_0x28888a([0x2a]):'')[_0x28888a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4286be))[_0x28888a([0x73,0x6f,0x6d,0x65])](_0x5399c1=>_0x19a82c[_0x28888a([0x65,0x76,0x65,0x72,0x79])]((_0x6df013,_0x4e808d)=>_0x5399c1[_0x4e808d]===_0x6df013||_0x5399c1[_0x4e808d]===_0x28888a([0x2a])));}function _0x5ec28d(){return _0xa0548d&&_0x40214a?new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x702e32,_0x46a173)=>{_0xa0548d[_0x28888a([0x74,0x68,0x65,0x6e])](_0x702e32,_0x46a173),_0x40214a[_0x28888a([0x74,0x68,0x65,0x6e])](_0x15c14b=>{_0x15c14b!=_0x28888a([0x56,0x61,0x6c,0x69,0x64])&&_0x702e32(_0x15c14b);},_0x46a173);}):_0xa0548d||_0x40214a||_0x28888a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f823f(_0x2dde52,_0x267adc){return new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2058a7=>{if(_0x2dc615())return _0x2058a7(_0x28888a([0x56,0x61,0x6c,0x69,0x64]));_0x3a728a(),_0x3c497f[_0x28888a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5caa09=!0x1;const _0xa2bdc6=_0x568d30();function _0x1a3d6c(_0x6435e8){return!!_0x6435e8&&(typeof _0x6435e8===_0x28888a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6435e8===_0x28888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6435e8[_0x28888a([0x74,0x68,0x65,0x6e])]===_0x28888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6435e8[_0x28888a([0x63,0x61,0x74,0x63,0x68])]===_0x28888a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5679d3(_0x159eab){_0x5a6bb5(_0x159eab)[_0x28888a([0x74,0x68,0x65,0x6e])](_0x227ada=>{if(!_0x227ada||_0x227ada[_0x28888a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28888a([0x6f,0x6b]))return _0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ee240(_0x5943c5(_0xa2bdc6+_0x267adc))!=_0x227ada[_0x28888a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28888a([0x56,0x61,0x6c,0x69,0x64]);})[_0x28888a([0x74,0x68,0x65,0x6e])](_0x228ac7=>(_0x1ecdf3(),_0x228ac7),()=>{const _0x29edd9=_0x32b982();return null==_0x29edd9?(_0x1ecdf3(),_0x28888a([0x56,0x61,0x6c,0x69,0x64])):_0x28888a(_0x51c641-_0x29edd9>(0x4ad6b544^_0x317afa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28888a([0x74,0x68,0x65,0x6e])](_0x2058a7)[_0x28888a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2058a7(_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38be1a=0x6eecdfc4^_0x317afa;function _0x1ecdf3(){const _0x4dc3e7=_0x28888a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ee240(_0x5943c5(_0x2dde52)),_0x2092d4=_0x4b68dd(_0x5ee240(window[_0x28888a([0x4d,0x61,0x74,0x68])][_0x28888a([0x63,0x65,0x69,0x6c])](_0x51c641/_0x38be1a)));window[_0x28888a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28888a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4dc3e7,_0x2092d4);}function _0x32b982(){const _0x5611c3=_0x28888a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ee240(_0x5943c5(_0x2dde52)),_0x262ec9=window[_0x28888a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28888a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5611c3);return _0x262ec9?window[_0x28888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b68dd(_0x262ec9),0x10)*_0x38be1a:null;}function _0x5a6bb5(_0x43a20c){return new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44ad58,_0x435053)=>{_0x43a20c[_0x28888a([0x74,0x68,0x65,0x6e])](_0x44ad58,_0x435053),window[_0x28888a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x435053,0x6edbe584^_0x317afa);});}}_0x3c497f[_0x28888a([0x6f,0x6e])](_0x28888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4234f4,_0x14887c)=>{if(_0x14887c[0x0]!=_0x2dde52)return _0x2058a7(_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14887c[0x1]={..._0x14887c[0x1],[_0x28888a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa2bdc6};},{[_0x28888a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28888a([0x68,0x69,0x67,0x68])}),_0x3c497f[_0x28888a([0x6f,0x6e])](_0x28888a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13c76e=>{_0x1a3d6c(_0x13c76e[_0x28888a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5caa09=!0x0,_0x5679d3(_0x13c76e[_0x28888a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28888a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28888a([0x6c,0x6f,0x77])}),_0x5454e0[_0x28888a([0x74,0x68,0x65,0x6e])](()=>{_0x5caa09||_0x2058a7(_0x28888a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2dc615(){return _0x3c497f[_0x28888a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28888a([0x76,0x69,0x65,0x77])][_0x28888a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28888a([0x61,0x75,0x74,0x6f]);}function _0x3a728a(){_0x3c497f[_0x28888a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28888a([0x76,0x69,0x65,0x77])][_0x28888a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28888a([0x61,0x75,0x74,0x6f]);}}function _0x420582(_0x53e06f){const _0x4e69c9=[new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467220=>setTimeout(_0x467220,0x6ed30f88^_0x317afa)),_0x5454e0[_0x28888a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc9aa3c=>{let _0x4aa4a7=0x0;_0x3c497f[_0x28888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28888a([0x6f,0x6e])](_0x28888a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b1ac6,_0x4f2fde)=>{_0x4f2fde[0x0][_0x28888a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4aa4a7++,_0x4aa4a7==(0x6eda30bc^_0x317afa)&&(_0xc9aa3c(),_0x2b1ac6[_0x28888a([0x6f,0x66,0x66])]());});}))];return window[_0x28888a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28888a([0x72,0x61,0x63,0x65])](_0x4e69c9)[_0x28888a([0x74,0x68,0x65,0x6e])](()=>_0x53e06f);}async function _0x2b5754(){await _0x5454e0,_0x3c497f[_0x28888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28888a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41f6e5,_0x3c497f[_0x28888a([0x6d,0x6f,0x64,0x65,0x6c])][_0x28888a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41f6e5,_0x3c497f[_0x28888a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28888a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x417e00(_0x5b1092){const _0x19a317=_0x3d1565();_0x3c497f[_0x19a317]=_0x28888a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b1092,_0x5b1092!=_0x28888a([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5754();}function _0x3d1565(){const _0x3b0d20=window[_0x28888a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28888a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28888a([0x6e,0x6f,0x77])]())[_0x28888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28888a([0x2e]),'');let _0x25c486=_0x28888a([0x66]);for(let _0x515912=0x0;_0x515912<_0x3b0d20[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x515912+=0x2){let _0x36126e=window[_0x28888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b0d20[_0x28888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x515912,_0x515912+0x2));_0x36126e>=_0x43d4e0[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36126e-=_0x43d4e0[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25c486+=_0x43d4e0[_0x36126e];}return _0x25c486;}function _0x485d02(){const _0x1e0624=_0x4713a0[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e]));if(0x3!=_0x1e0624[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x531f2e(_0x1e0624[0x1]);function _0x531f2e(_0x4cb5c1){const _0x3c694f=_0x281c30(_0x4cb5c1);return _0x3c694f&&_0x74b386()?_0x3c694f:null;function _0x74b386(){const _0x173a5e=_0x3c694f[_0x28888a([0x6a,0x74,0x69])],_0x133a9e=window[_0x28888a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x173a5e[_0x28888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x173a5e[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x259da6={..._0x3c694f,[_0x28888a([0x6a,0x74,0x69])]:_0x173a5e[_0x28888a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x173a5e[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x259da6[_0x28888a([0x76,0x63])],_0x5943c5(_0x259da6)==_0x133a9e;}}}async function _0x40b97e(){let _0x2925da=!0x0;try{const _0x5d3701=_0x4713a0[_0x28888a([0x73,0x70,0x6c,0x69,0x74])](_0x28888a([0x2e])),[_0x2e260c,_0x171741,_0x139c22]=_0x5d3701;return _0x3a2f10(_0x2e260c),await _0x467950(_0x2e260c,_0x171741,_0x139c22),_0x2925da;}catch{return!0x1;}function _0x3a2f10(_0x58a02d){const _0x3dd774=_0x281c30(_0x58a02d);_0x3dd774&&_0x3dd774[_0x28888a([0x61,0x6c,0x67])]==_0x28888a([0x45,0x53,0x32,0x35,0x36])||(_0x2925da=!0x1);}async function _0x467950(_0x1578ae,_0x32dfa7,_0x4f4dbf){const _0x40ac4a=window[_0x28888a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28888a([0x66,0x72,0x6f,0x6d])](_0x22c0c4(_0x4f4dbf),_0x4a5e3c=>_0x4a5e3c[_0x28888a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50ad0c=new window[(_0x28888a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28888a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1578ae+_0x28888a([0x2e])+_0x32dfa7),_0x14e556=window[_0x28888a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28888a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14e556)return;const _0x21ff3e=await _0x14e556[_0x28888a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28888a([0x6a,0x77,0x6b]),_0x11795a,{[_0x28888a([0x6e,0x61,0x6d,0x65])]:_0x28888a([0x45,0x43,0x44,0x53,0x41]),[_0x28888a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28888a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28888a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14e556[_0x28888a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28888a([0x6e,0x61,0x6d,0x65])]:_0x28888a([0x45,0x43,0x44,0x53,0x41]),[_0x28888a([0x68,0x61,0x73,0x68])]:{[_0x28888a([0x6e,0x61,0x6d,0x65])]:_0x28888a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21ff3e,_0x40ac4a,_0x50ad0c)||(_0x2925da=!0x1);}}function _0x281c30(_0x2bd14b){return _0x2bd14b[_0x28888a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28888a([0x65,0x79]))?JSON[_0x28888a([0x70,0x61,0x72,0x73,0x65])](_0x22c0c4(_0x2bd14b)):null;}function _0x22c0c4(_0x40d071){return window[_0x28888a([0x61,0x74,0x6f,0x62])](_0x40d071[_0x28888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28888a([0x2b]))[_0x28888a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28888a([0x2f])));}function _0x5943c5(_0x2ee5f1){let _0x560044=0x1505;function _0x39521d(_0x31f246){for(let _0x4f63ae=0x0;_0x4f63ae<_0x31f246[_0x28888a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f63ae++){const _0x498963=_0x31f246[_0x28888a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f63ae);_0x560044=(_0x560044<<0x5)+_0x560044+_0x498963,_0x560044&=_0x560044;}}function _0x7c3cb7(_0xbc78d){Array[_0x28888a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbc78d)?_0xbc78d[_0x28888a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7c3cb7):_0xbc78d&&typeof _0xbc78d==_0x28888a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28888a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbc78d)[_0x28888a([0x73,0x6f,0x72,0x74])]()[_0x28888a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42b474,_0x4087a1])=>{_0x39521d(_0x42b474),_0x7c3cb7(_0x4087a1);}):_0x39521d(window[_0x28888a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbc78d));}return _0x7c3cb7(_0x2ee5f1),_0x560044>>>0x0;}function _0x5ee240(_0x503ca5){return _0x503ca5[_0x28888a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28888a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28888a([0x30]));}function _0x4b68dd(_0x18a31f){return _0x18a31f[_0x28888a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28888a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28888a([0x6a,0x6f,0x69,0x6e])]('');}function _0x41f6e5(){}function _0x28888a(_0x21762a){const _0x1ee132=_0x11a5;return _0x21762a[_0x1ee132(0x186)](_0x270e95=>String[_0x1ee132(0x1bd)](_0x270e95))[_0x1ee132(0x1c4)]('');}_0x417e00(await _0x3b513a());}(this);}[_0x2bfd6b(0x175)](){const _0x17b747=_0x2bfd6b,_0x983c87=this[_0x17b747(0x1c2)][_0x17b747(0x183)][_0x17b747(0x1a8)];_0x983c87[_0x17b747(0x195)](_0x17b747(0x1a4))&&_0x983c87[_0x17b747(0x1bf)](_0x17b747(0x1a4),{'allowAttributes':[_0x17b747(0x18f)]}),_0x983c87[_0x17b747(0x195)](_0x17b747(0x17a))&&_0x983c87[_0x17b747(0x1bf)](_0x17b747(0x17a),{'allowAttributes':[_0x17b747(0x18f)]});}[_0x2bfd6b(0x1b0)](){const _0x5a9f61=_0x2bfd6b,_0x63a913=this[_0x5a9f61(0x1c2)];_0x63a913[_0x5a9f61(0x1b1)][_0x5a9f61(0x1b6)](_0x5a9f61(0x1bc))[_0x5a9f61(0x19d)]({'model':_0x5a9f61(0x18f),'view':_0x5a9f61(0x18c)}),_0x63a913[_0x5a9f61(0x1b1)][_0x5a9f61(0x1b6)](_0x5a9f61(0x178))[_0x5a9f61(0x19e)]({'model':{'key':_0x5a9f61(0x18f),'value':_0x4bda45=>_0x4bda45[_0x5a9f61(0x192)](_0x5a9f61(0x18c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x163899=_0x63a913[_0x5a9f61(0x1c0)][_0x5a9f61(0x18a)](_0x5a9f61(0x179));_0x163899&&this[_0x5a9f61(0x197)](_0x163899,_0x5a9f61(0x1c1),(_0x89eac5,[_0x2e060e,_0x326314])=>{const _0xaff74e=_0x5a9f61;_0x2e060e[_0xaff74e(0x19f)](_0xaff74e(0x18f),_0x326314);});}[_0x2bfd6b(0x193)](){const _0xe89564=_0x2bfd6b,_0x4686c7=this[_0xe89564(0x1c2)][_0xe89564(0x174)][_0xe89564(0x18a)](_0xe89564(0x185))||{},_0x2325de=this[_0xe89564(0x1c2)][_0xe89564(0x174)][_0xe89564(0x18a)](_0xe89564(0x1b4))||'';this[_0xe89564(0x1a6)]=_0x54e12a(_0xfb71fa[_0xe89564(0x1ba)],_0xe89564(0x198),{..._0x4686c7,'pubkey':_0x2325de,'ctx-name':_0xe89564(0x191),'sourceList':'','imgOnly':_0xe89564(0x1ae),'removeCopyright':_0xe89564(0x1ae),'localeName':this[_0xe89564(0x1c2)][_0xe89564(0x19c)][_0xe89564(0x1a1)],'externalSourcesEmbedCss':_0xe89564(0x1c6)}),this[_0xe89564(0x1a6)][_0xe89564(0x17d)]=_0x33da96=>{const _0x1b38a4=_0xe89564;if(_0x1b38a4(0x182)==_0x33da96)return _0x1b38a4(0x177);},_0xfb71fa[_0xe89564(0x1ba)][_0xe89564(0x1a3)][_0xe89564(0x1bb)](this[_0xe89564(0x1a6)]);}[_0x2bfd6b(0x188)](){const _0x15e9b8=_0x2bfd6b;this[_0x15e9b8(0x19a)]=_0x54e12a(_0xfb71fa[_0x15e9b8(0x1ba)],_0x15e9b8(0x1af),{'ctx-name':_0x15e9b8(0x191)}),_0xfb71fa[_0x15e9b8(0x1ba)][_0x15e9b8(0x1a3)][_0x15e9b8(0x1bb)](this[_0x15e9b8(0x19a)]);}[_0x2bfd6b(0x1aa)](){const _0x4f312e=_0x2bfd6b,_0x844971=this[_0x4f312e(0x1c2)][_0x4f312e(0x1c0)][_0x4f312e(0x18a)](_0x4f312e(0x18b));_0x844971&&this[_0x4f312e(0x197)](_0x844971,_0x4f312e(0x19b),()=>{const _0x4ee586=_0x4f312e,_0x4a0be4=this[_0x4ee586(0x1c2)][_0x4ee586(0x183)][_0x4ee586(0x1ba)][_0x4ee586(0x18d)][_0x4ee586(0x1b9)]();_0x4a0be4&&_0x4a0be4[_0x4ee586(0x192)](_0x4ee586(0x18f))&&this[_0x4ee586(0x1c2)][_0x4ee586(0x199)][_0x4ee586(0x18e)][_0x4ee586(0x189)](_0x4ee586(0x17c),()=>{const _0x5ed043=_0x4ee586;_0x3428e6(this[_0x5ed043(0x1c2)],_0x4a0be4);});});const _0x12afaa=this[_0x4f312e(0x1c2)][_0x4f312e(0x1c0)][_0x4f312e(0x18a)](_0x4f312e(0x1b3));_0x12afaa&&this[_0x4f312e(0x197)](_0x12afaa,_0x4f312e(0x19b),()=>{const _0x26edad=_0x4f312e,_0x1d93a4=this[_0x26edad(0x1c2)][_0x26edad(0x183)][_0x26edad(0x1ba)][_0x26edad(0x18d)][_0x26edad(0x1b9)]();_0x1d93a4&&_0x1d93a4[_0x26edad(0x192)](_0x26edad(0x18f))&&this[_0x26edad(0x1c2)][_0x26edad(0x199)][_0x26edad(0x18e)][_0x26edad(0x189)](_0x26edad(0x17c),()=>{const _0x86ec77=_0x26edad;_0x3428e6(this[_0x86ec77(0x1c2)],_0x1d93a4);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3c8f0e,ObservableMixin as _0x2b9e16}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x540150}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd565d4}from'ckeditor5/src/icons.js';import _0x4febf7 from'./uploadcareimageeditformview.js';import _0x34bd7c from'../../utils/uploadutils.js';import{getImageUrls as _0x171440,getImageDimension as _0x1fa698}from'../../utils/editingutils.js';import{isAncestor as _0x5dc726}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x2b9e16(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x548362,_0x4c8efe,_0x22bb97){super(),this['_editor']=_0x548362,this['_dialog']=_0x4c8efe,this['_imageElement']=_0x22bb97,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 _0x2f5364=this['_imageElement'],_0x7bc3dc=_0x2f5364['getAttribute']('uploadcareImageId'),_0x342367=_0x2f5364['getAttribute']('src');if(_0x7bc3dc)await this['_loadImageInfo'](_0x7bc3dc,_0x342367);else{if(this['_imageCache']['has'](_0x342367)){const _0x433a7a=this['_imageCache']['get'](_0x342367);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x433a7a['url'],this['imageDimension']=_0x433a7a['dimension'],this['imageId']=_0x433a7a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x166343}=this['_editor'],t=_0x166343['t'],_0x26d51b=new _0x4febf7(_0x166343,this['imageStatus'],this['_attributes']);_0x26d51b['bind']('status')['to'](this,'imageStatus'),_0x26d51b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x26d51b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x26d51b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x26d51b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xd565d4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x26d51b,'position':_0x540150['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x26d51b['focus']();},'onHide':()=>{_0x26d51b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x18e09a=>!_0x5dc726(_0x18e09a,_0x26d51b['element'])}});}['_loadImageInfo'](_0x4564ef,_0x5316b4){return _0x34bd7c['getInfo'](_0x4564ef,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1719f5=>{const {width:_0x324d4c,height:_0x3de644}=_0x1719f5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5316b4,this['imageDimension']={'width':_0x324d4c,'height':_0x3de644},this['imageId']=_0x4564ef;})['catch'](_0x4cf68=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4cf68['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e219c,_0x57f535){return this['_getImageAsFile'](_0x1e219c)['then'](_0x532e82=>_0x34bd7c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x57f535['signal'],'file':_0x532e82,'onProgress':_0x361529=>{_0x361529&&_0x361529['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x361529['value']));}}))['then'](_0x104bda=>{const {width:_0x57ba18,height:_0x18663c}=_0x104bda['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x104bda['cdnUrl'],this['imageDimension']={'width':_0x57ba18,'height':_0x18663c},this['imageId']=_0x104bda['uuid'],this['imageUploadProgress']=null;const _0x20d9ab=_0x1e219c['getAttribute']('src');this['_imageCache']['set'](_0x20d9ab,{'id':_0x104bda['uuid'],'url':_0x104bda['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xfe00f1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfe00f1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3f79fb,_0x16bf3c){_0x3f79fb['on']('apply',(_0x3d18ba,_0xfe22ea)=>{this['_replaceImage'](_0x16bf3c,_0xfe22ea['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3f79fb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3f79fb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x251e82,_0x1226d7,_0x4bd872){const _0x453826=this['_editor'],{width:_0x2364ba,height:_0x3fbff7}=_0x1fa698(_0x1226d7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x51f8b7,imageSources:_0x17d969}=_0x171440(_0x1226d7,_0x2364ba);_0x453826['model']['change'](_0x26d276=>{if('$graveyard'===_0x251e82['root']['rootName']){_0x453826['execute']('insertImage',{'imageType':_0x251e82['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x251e82['getAttributes']()),'uploadcareImageId':_0x4bd872,'src':_0x51f8b7,'sources':_0x17d969,'width':_0x2364ba,'height':_0x3fbff7}});const _0x158224=_0x251e82['getChildren']();_0x251e82=_0x453826['model']['document']['selection']['getSelectedElement']();for(const _0xfffd8a of _0x158224)_0x26d276['append'](_0x26d276['cloneElement'](_0xfffd8a),_0x251e82);}else _0x26d276['setSelection'](_0x251e82,'on'),_0x453826['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x251e82['getAttributes']()),'uploadcareImageId':_0x4bd872,'src':_0x51f8b7,'sources':_0x17d969,'width':_0x2364ba,'height':_0x3fbff7},_0x251e82);_0x26d276['setSelection'](_0x251e82,'on');});}async['_getImageAsFile'](_0x1cf14a){const _0x281d75=_0x3c8f0e['window'],_0x4333c9=_0x3c8f0e['document']['location']['href'],_0x32e251=new _0x281d75['URL'](_0x1cf14a['getAttribute']('src'),_0x4333c9);if('data:'===_0x32e251['protocol']){const _0x6e49e7=_0x32e251['href']['split'](','),_0x55be6a=_0x6e49e7[0x0]['match'](/:(.*?);/)[0x1],_0x3d53fb=_0x55be6a['split']('/')[0x1],_0x124209=_0x281d75['atob'](_0x6e49e7[_0x6e49e7['length']-0x1]);let _0x24cee1=_0x124209['length'];const _0x1d71d2=new _0x281d75['Uint8Array'](_0x24cee1);for(;_0x24cee1--;)_0x1d71d2[_0x24cee1]=_0x124209['charCodeAt'](_0x24cee1);return new _0x281d75['File']([_0x1d71d2],'image.'+_0x3d53fb,{'type':_0x55be6a});}const _0x28a843=_0x32e251['href']['split']('/'),_0x2b5a4b=_0x28a843[_0x28a843['length']-0x1],_0x12d15c=_0x2b5a4b['split']('.')[0x1];return _0x281d75['fetch'](_0x32e251['href'])['then'](_0x2310e8=>_0x2310e8['clone']()['blob']())['then'](_0x2ff9ff=>new _0x281d75['File']([_0x2ff9ff],_0x2b5a4b,{'type':'image/'+_0x12d15c}));}}
23
+ import{global as _0x2601db,ObservableMixin as _0x2c5ab2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56c49e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x506f4d}from'ckeditor5/src/icons.js';import _0x192992 from'./uploadcareimageeditformview.js';import _0x27df8c from'../../utils/uploadutils.js';import{getImageUrls as _0x77e28b,getImageDimension as _0x54dd09}from'../../utils/editingutils.js';import{isAncestor as _0x2e84d6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x2c5ab2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e6893,_0x404c24,_0x318e91){super(),this['_editor']=_0x1e6893,this['_dialog']=_0x404c24,this['_imageElement']=_0x318e91,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 _0x453bea=this['_imageElement'],_0x14c347=_0x453bea['getAttribute']('uploadcareImageId'),_0x557e54=_0x453bea['getAttribute']('src');if(_0x14c347)await this['_loadImageInfo'](_0x14c347,_0x557e54);else{if(this['_imageCache']['has'](_0x557e54)){const _0x36dc73=this['_imageCache']['get'](_0x557e54);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36dc73['url'],this['imageDimension']=_0x36dc73['dimension'],this['imageId']=_0x36dc73['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa8e0b}=this['_editor'],t=_0xa8e0b['t'],_0x51b483=new _0x192992(_0xa8e0b,this['imageStatus'],this['_attributes']);_0x51b483['bind']('status')['to'](this,'imageStatus'),_0x51b483['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x51b483['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x51b483['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x51b483,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x506f4d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x51b483,'position':_0x56c49e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x51b483['focus']();},'onHide':()=>{_0x51b483['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46ad81=>!_0x2e84d6(_0x46ad81,_0x51b483['element'])}});}['_loadImageInfo'](_0x2b11b8,_0xe92c4){return _0x27df8c['getInfo'](_0x2b11b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4ef9b8=>{const {width:_0x44f6e9,height:_0x3c8189}=_0x4ef9b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe92c4,this['imageDimension']={'width':_0x44f6e9,'height':_0x3c8189},this['imageId']=_0x2b11b8;})['catch'](_0x97ea3c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x97ea3c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3dff53,_0x503cf9){return this['_getImageAsFile'](_0x3dff53)['then'](_0x5f539f=>_0x27df8c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x503cf9['signal'],'file':_0x5f539f,'onProgress':_0x5bd72a=>{_0x5bd72a&&_0x5bd72a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5bd72a['value']));}}))['then'](_0x2496ae=>{const {width:_0x23db42,height:_0x2fd6fc}=_0x2496ae['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2496ae['cdnUrl'],this['imageDimension']={'width':_0x23db42,'height':_0x2fd6fc},this['imageId']=_0x2496ae['uuid'],this['imageUploadProgress']=null;const _0x9130b0=_0x3dff53['getAttribute']('src');this['_imageCache']['set'](_0x9130b0,{'id':_0x2496ae['uuid'],'url':_0x2496ae['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x26cb47=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26cb47['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3e8600,_0x4341d1){_0x3e8600['on']('apply',(_0x3c2403,_0x2b494a)=>{this['_replaceImage'](_0x4341d1,_0x2b494a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3e8600['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3e8600['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x336376,_0x12d4df,_0x43d9ec){const _0xe57b02=this['_editor'],{width:_0x1a2825,height:_0x25d9d5}=_0x54dd09(_0x12d4df,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x295acd,imageSources:_0x148f04}=_0x77e28b(_0x12d4df,_0x1a2825);_0xe57b02['model']['change'](_0x481df9=>{if('$graveyard'===_0x336376['root']['rootName']){_0xe57b02['execute']('insertImage',{'imageType':_0x336376['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x336376['getAttributes']()),'uploadcareImageId':_0x43d9ec,'src':_0x295acd,'sources':_0x148f04,'width':_0x1a2825,'height':_0x25d9d5}});const _0x230000=_0x336376['getChildren']();_0x336376=_0xe57b02['model']['document']['selection']['getSelectedElement']();for(const _0x2809fa of _0x230000)_0x481df9['append'](_0x481df9['cloneElement'](_0x2809fa),_0x336376);}else _0x481df9['setSelection'](_0x336376,'on'),_0xe57b02['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x336376['getAttributes']()),'uploadcareImageId':_0x43d9ec,'src':_0x295acd,'sources':_0x148f04,'width':_0x1a2825,'height':_0x25d9d5},_0x336376);_0x481df9['setSelection'](_0x336376,'on');});}async['_getImageAsFile'](_0x26a329){const _0xe9f692=_0x2601db['window'],_0x407762=_0x2601db['document']['location']['href'],_0x3ba2de=new _0xe9f692['URL'](_0x26a329['getAttribute']('src'),_0x407762);if('data:'===_0x3ba2de['protocol']){const _0x9810ea=_0x3ba2de['href']['split'](','),_0x5b0e4f=_0x9810ea[0x0]['match'](/:(.*?);/)[0x1],_0x3bb9b2=_0x5b0e4f['split']('/')[0x1],_0x80d84b=_0xe9f692['atob'](_0x9810ea[_0x9810ea['length']-0x1]);let _0x51ee97=_0x80d84b['length'];const _0x3b70be=new _0xe9f692['Uint8Array'](_0x51ee97);for(;_0x51ee97--;)_0x3b70be[_0x51ee97]=_0x80d84b['charCodeAt'](_0x51ee97);return new _0xe9f692['File']([_0x3b70be],'image.'+_0x3bb9b2,{'type':_0x5b0e4f});}const _0x41afe0=_0x3ba2de['href']['split']('/'),_0x264869=_0x41afe0[_0x41afe0['length']-0x1],_0x1d22d4=_0x264869['split']('.')[0x1];return _0xe9f692['fetch'](_0x3ba2de['href'])['then'](_0x344e54=>_0x344e54['clone']()['blob']())['then'](_0x4df0a3=>new _0xe9f692['File']([_0x4df0a3],_0x264869,{'type':'image/'+_0x1d22d4}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13f29b,_0x5d8ef0){const _0x52a0b5=_0x281a,_0x5a09dd=_0x13f29b();while(!![]){try{const _0x554a89=-parseInt(_0x52a0b5(0x1c0))/0x1*(parseInt(_0x52a0b5(0x1c8))/0x2)+parseInt(_0x52a0b5(0x1cb))/0x3+parseInt(_0x52a0b5(0x1bf))/0x4*(-parseInt(_0x52a0b5(0x1d0))/0x5)+-parseInt(_0x52a0b5(0x1c7))/0x6+-parseInt(_0x52a0b5(0x1ce))/0x7*(-parseInt(_0x52a0b5(0x1c9))/0x8)+parseInt(_0x52a0b5(0x1cd))/0x9+parseInt(_0x52a0b5(0x1c4))/0xa*(parseInt(_0x52a0b5(0x1c5))/0xb);if(_0x554a89===_0x5d8ef0)break;else _0x5a09dd['push'](_0x5a09dd['shift']());}catch(_0x421dbc){_0x5a09dd['push'](_0x5a09dd['shift']());}}}(_0x1ea2,0xdc268));function _0x1ea2(){const _0x2d766f=['22EKgrdN','set','2855964uPMpDD','2JhgWbs','16fJuxBv','imageSrc','737769hcVfHN','image-edit','8031564kdeFGq','475454YlkwFg','setTemplate','3005445ePaFBU','ck-uploadcare-theme','8QmMDAw','335123IBwWAy','bindTemplate','uc-cloud-image-editor','uc-light','8204340BYeuaL'];_0x1ea2=function(){return _0x2d766f;};return _0x1ea2();}import{View as _0x268354}from'ckeditor5/src/ui.js';function _0x281a(_0x3bf127,_0xaf5049){const _0x1ea2ca=_0x1ea2();return _0x281a=function(_0x281aab,_0x16278){_0x281aab=_0x281aab-0x1be;let _0x28088b=_0x1ea2ca[_0x281aab];return _0x28088b;},_0x281a(_0x3bf127,_0xaf5049);}export default class tt extends _0x268354{constructor(_0x5171d5,_0x4ce35d){const _0x14148c=_0x281a;super(_0x5171d5);const _0x40f7f5=this[_0x14148c(0x1c1)];this[_0x14148c(0x1c6)](_0x14148c(0x1ca),''),this[_0x14148c(0x1cf)]({'tag':_0x14148c(0x1c2),'attributes':{..._0x4ce35d,'class':[_0x14148c(0x1c3),_0x14148c(0x1be)],'ctx-name':_0x14148c(0x1cc),'cdn-url':_0x40f7f5['to'](_0x14148c(0x1ca))}});}}
23
+ function _0xf733(_0x8a7a38,_0x3f538){const _0x2cacc9=_0x2cac();return _0xf733=function(_0xf7335f,_0x31ffb4){_0xf7335f=_0xf7335f-0x98;let _0x5bebee=_0x2cacc9[_0xf7335f];return _0x5bebee;},_0xf733(_0x8a7a38,_0x3f538);}function _0x2cac(){const _0x44c24e=['249pXCWdO','2042181jkvWLx','uc-cloud-image-editor','image-edit','718795MfREki','39948dTrgwW','ck-uploadcare-theme','255438VYoOix','set','setTemplate','imageSrc','bindTemplate','uc-light','505352eFJdAg','761200napgKy','80aSncvR','15jiEijW','5114MXrLHK','8hqwdCD'];_0x2cac=function(){return _0x44c24e;};return _0x2cac();}(function(_0x4de92d,_0x3ce5d5){const _0x24f441=_0xf733,_0x9cce52=_0x4de92d();while(!![]){try{const _0x312397=parseInt(_0x24f441(0xa6))/0x1+parseInt(_0x24f441(0x9d))/0x2*(parseInt(_0x24f441(0x9f))/0x3)+parseInt(_0x24f441(0x99))/0x4+-parseInt(_0x24f441(0x9c))/0x5*(parseInt(_0x24f441(0xa4))/0x6)+-parseInt(_0x24f441(0xa3))/0x7+-parseInt(_0x24f441(0x9e))/0x8*(-parseInt(_0x24f441(0xa0))/0x9)+parseInt(_0x24f441(0x9b))/0xa*(-parseInt(_0x24f441(0x9a))/0xb);if(_0x312397===_0x3ce5d5)break;else _0x9cce52['push'](_0x9cce52['shift']());}catch(_0x1ed535){_0x9cce52['push'](_0x9cce52['shift']());}}}(_0x2cac,0x23511));import{View as _0x33448b}from'ckeditor5/src/ui.js';export default class tt extends _0x33448b{constructor(_0x47b226,_0x1de777){const _0x8a30fc=_0xf733;super(_0x47b226);const _0x26a8e2=this[_0x8a30fc(0xaa)];this[_0x8a30fc(0xa7)](_0x8a30fc(0xa9),''),this[_0x8a30fc(0xa8)]({'tag':_0x8a30fc(0xa1),'attributes':{..._0x1de777,'class':[_0x8a30fc(0x98),_0x8a30fc(0xa5)],'ctx-name':_0x8a30fc(0xa2),'cdn-url':_0x26a8e2['to'](_0x8a30fc(0xa9))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x5204d7,IconView as at,View as _0x1a971c}from'ckeditor5/src/ui.js';export default class rt extends _0x1a971c{constructor(_0x33975c){super(_0x33975c);const t=_0x33975c['t'];this['set']('errorType',null);const _0x301ab1=new _0x5204d7(_0x33975c);_0x301ab1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x301ab1['withText']=!0x0,_0x301ab1['class']='ck-button-action',_0x301ab1['on']('execute',()=>{this['fire']('retry');}),_0x301ab1['bind']('isVisible')['to'](this,'errorType',_0x58017b=>'NotFound'!==_0x58017b);const _0x531e2d=new at();_0x531e2d['content']=et,_0x531e2d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x18334d=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':[_0x531e2d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x18334d['to']('errorType',_0xd874ba=>t('NotFound'!==_0xd874ba?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x301ab1]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2fc7ff,IconView as at,View as _0x313e60}from'ckeditor5/src/ui.js';export default class rt extends _0x313e60{constructor(_0x305a70){super(_0x305a70);const t=_0x305a70['t'];this['set']('errorType',null);const _0x48903e=new _0x2fc7ff(_0x305a70);_0x48903e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x48903e['withText']=!0x0,_0x48903e['class']='ck-button-action',_0x48903e['on']('execute',()=>{this['fire']('retry');}),_0x48903e['bind']('isVisible')['to'](this,'errorType',_0x487660=>'NotFound'!==_0x487660);const _0x2c67ee=new at();_0x2c67ee['content']=et,_0x2c67ee['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59b86e=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':[_0x2c67ee,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59b86e['to']('errorType',_0x274893=>t('NotFound'!==_0x274893?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x48903e]},{'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 _0x2ccc42,View as _0x247831}from'ckeditor5/src/ui.js';export default class ta extends _0x247831{constructor(_0x11524c){super(_0x11524c);const t=_0x11524c['t'],_0x10ae9c=this['bindTemplate'],_0x24bb54=new _0x2ccc42();_0x24bb54['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':[_0x24bb54,{'text':_0x10ae9c['to']('imageUploadProgress',_0x3ed3fc=>t('Loading\x20image...')+'\x20('+(_0x3ed3fc||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 _0x570bce,View as _0x3a6a3d}from'ckeditor5/src/ui.js';export default class ta extends _0x3a6a3d{constructor(_0x57de0e){super(_0x57de0e);const t=_0x57de0e['t'],_0x376a71=this['bindTemplate'],_0x34a678=new _0x570bce();_0x34a678['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':[_0x34a678,{'text':_0x376a71['to']('imageUploadProgress',_0x1ae215=>t('Loading\x20image...')+'\x20('+(_0x1ae215||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 _0x38f571=_0x15f0;(function(_0x5740c9,_0x512028){const _0xa418b5=_0x15f0,_0x30819e=_0x5740c9();while(!![]){try{const _0x3fa968=parseInt(_0xa418b5(0x179))/0x1+parseInt(_0xa418b5(0x175))/0x2*(parseInt(_0xa418b5(0x171))/0x3)+parseInt(_0xa418b5(0x17b))/0x4*(parseInt(_0xa418b5(0x17a))/0x5)+-parseInt(_0xa418b5(0x161))/0x6+-parseInt(_0xa418b5(0x173))/0x7*(-parseInt(_0xa418b5(0x183))/0x8)+-parseInt(_0xa418b5(0x15a))/0x9*(parseInt(_0xa418b5(0x174))/0xa)+-parseInt(_0xa418b5(0x159))/0xb;if(_0x3fa968===_0x512028)break;else _0x30819e['push'](_0x30819e['shift']());}catch(_0x2b13a9){_0x30819e['push'](_0x30819e['shift']());}}}(_0x924b,0xe59d1));import{View as _0x56c78a}from'ckeditor5/src/ui.js';import _0x5ad979 from'./uploadcareimageeditformloadingview.js';import _0x13feda from'./uploadcareimageeditformerrorview.js';function _0x15f0(_0x2f470b,_0x31bf17){const _0x924bf1=_0x924b();return _0x15f0=function(_0x15f091,_0x2b2b32){_0x15f091=_0x15f091-0x156;let _0x165c54=_0x924bf1[_0x15f091];return _0x165c54;},_0x15f0(_0x2f470b,_0x31bf17);}import _0x4dde52 from'./uploadcareimageeditformeditingview.js';function _0x924b(){const _0x48c463=['_editingView','focus','ck-uploadcare-form','addedNodes','change:status','_setView','add','set','_addErrorViewListeners','_waitForImageEditorComponent','retry','error','detail','7472322ympbXe','153JvsKUP','render','cancel','_addUploadcareImageEditorListeners','once','fire','setTemplate','342606nPFwOn','uc-cloud-image-editor','nodeName','clear','_loadingView','uploading','ready','disconnect','addMany','ck-reset_all-excluded','div','observe','getFocusableElement','toLowerCase','apply','status','1260543FUMVNS','length','74235vppfdL','295520dmUAuc','2bFXLpD','_focusableView','addEventListener','element','67931XZNcyT','28170UhXdrl','252lAJohU','target','_items','querySelector','filter','createCollection','_errorView','cdnUrl','1008GsxAIN'];_0x924b=function(){return _0x48c463;};return _0x924b();}import _0x4a72d8 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x4a72d8{[_0x38f571(0x17d)];[_0x38f571(0x165)];[_0x38f571(0x181)];[_0x38f571(0x184)];[_0x38f571(0x176)];constructor(_0x10c3da,_0x57af6c,_0x26d8cd){const _0x257974=_0x38f571;super(_0x10c3da),this[_0x257974(0x17d)]=this[_0x257974(0x180)](),this[_0x257974(0x165)]=new _0x5ad979(_0x10c3da),this[_0x257974(0x181)]=new _0x13feda(_0x10c3da),this[_0x257974(0x184)]=new _0x4dde52(_0x10c3da,_0x26d8cd),this[_0x257974(0x176)]=new _0x56c78a(_0x10c3da),this[_0x257974(0x176)][_0x257974(0x160)](this[_0x257974(0x16d)]()),this[_0x257974(0x18b)](_0x257974(0x170),_0x57af6c),this[_0x257974(0x160)]({'tag':_0x257974(0x16b),'attributes':{'class':['ck',_0x257974(0x16a),_0x257974(0x186)],'tabindex':'-1'},'children':this[_0x257974(0x17d)]}),this[_0x257974(0x189)](),this[_0x257974(0x15e)](_0x257974(0x15b),()=>{const _0x304ed4=_0x257974;this[_0x304ed4(0x18d)](this[_0x304ed4(0x178)],_0x3470c4=>{const _0x3424b3=_0x304ed4;this[_0x3424b3(0x15d)](_0x3470c4);});}),this['on'](_0x257974(0x188),()=>{const _0x3fb074=_0x257974;this[_0x3fb074(0x189)]();}),this[_0x257974(0x18c)]();}[_0x38f571(0x185)](){const _0x52ea21=_0x38f571;this[_0x52ea21(0x178)][_0x52ea21(0x185)]();}[_0x38f571(0x189)](){const _0xdf9bb3=_0x38f571;switch(this[_0xdf9bb3(0x17d)][_0xdf9bb3(0x164)](),this[_0xdf9bb3(0x170)]){case _0xdf9bb3(0x166):this[_0xdf9bb3(0x17d)][_0xdf9bb3(0x18a)](this[_0xdf9bb3(0x165)]);break;case _0xdf9bb3(0x157):this[_0xdf9bb3(0x17d)][_0xdf9bb3(0x18a)](this[_0xdf9bb3(0x181)]);break;case _0xdf9bb3(0x167):this[_0xdf9bb3(0x17d)][_0xdf9bb3(0x169)]([this[_0xdf9bb3(0x184)],this[_0xdf9bb3(0x176)]]);}}[_0x38f571(0x18d)](_0x22f5e5,_0x4bb493){const _0x18bf39=_0x38f571,_0x5450f0=_0x18bf39(0x162),_0x5077b2=_0x22f5e5[_0x18bf39(0x17e)](_0x5450f0);if(_0x5077b2)return _0x4bb493(_0x5077b2);const _0x38fd24=new MutationObserver(_0x558916=>{const _0x3ab5b2=_0x18bf39,_0x13a7c8=_0x558916[_0x3ab5b2(0x17f)](_0x363d71=>_0x363d71[_0x3ab5b2(0x17c)]===_0x22f5e5&&_0x363d71[_0x3ab5b2(0x187)][_0x3ab5b2(0x172)]>0x0&&_0x363d71[_0x3ab5b2(0x187)][0x0][_0x3ab5b2(0x163)][_0x3ab5b2(0x16e)]()===_0x5450f0);_0x13a7c8[_0x3ab5b2(0x172)]&&(_0x38fd24[_0x3ab5b2(0x168)](),_0x4bb493(_0x13a7c8[0x0][_0x3ab5b2(0x187)][0x0]));});_0x38fd24[_0x18bf39(0x16c)](_0x22f5e5,{'childList':!0x0,'subtree':!0x0});}[_0x38f571(0x15d)](_0x56ea04){const _0x416e67=_0x38f571;_0x56ea04[_0x416e67(0x177)](_0x416e67(0x16f),_0x1d4a55=>{const _0xfe8c25=_0x416e67;this[_0xfe8c25(0x15f)](_0xfe8c25(0x16f),{'imageSrc':_0x1d4a55[_0xfe8c25(0x158)][_0xfe8c25(0x182)]});}),_0x56ea04[_0x416e67(0x177)](_0x416e67(0x15c),()=>{const _0xeba71b=_0x416e67;this[_0xeba71b(0x15f)](_0xeba71b(0x15c));});}[_0x38f571(0x18c)](){const _0x26097f=_0x38f571;this[_0x26097f(0x181)]['on'](_0x26097f(0x156),()=>{const _0x2b4be5=_0x26097f;this[_0x2b4be5(0x15f)](_0x2b4be5(0x156));});}}
23
+ const _0x35d8b6=_0x4cf1;function _0x471b(){const _0x2d697c=['5107928qNAqdM','_editingView','3189610AXKfsq','add','nodeName','1935052uudsJA','status','fire','_addErrorViewListeners','getFocusableElement','detail','querySelector','toLowerCase','uc-cloud-image-editor','target','4956637QRKqRg','focus','div','_waitForImageEditorComponent','cancel','uploading','disconnect','693252Dpfygo','filter','ck-uploadcare-form','addMany','error','once','clear','cdnUrl','change:status','1yWEnml','_errorView','observe','setTemplate','element','454413aViQKV','ck-reset_all-excluded','_focusableView','_loadingView','_items','addedNodes','ready','229202KalTBj','_addUploadcareImageEditorListeners','set','_setView','length','addEventListener','retry','createCollection','apply','render'];_0x471b=function(){return _0x2d697c;};return _0x471b();}(function(_0x2401b5,_0x202207){const _0x8143f6=_0x4cf1,_0x32da15=_0x2401b5();while(!![]){try{const _0x16d896=-parseInt(_0x8143f6(0x17b))/0x1*(parseInt(_0x8143f6(0x152))/0x2)+parseInt(_0x8143f6(0x180))/0x3+-parseInt(_0x8143f6(0x161))/0x4+-parseInt(_0x8143f6(0x15e))/0x5+parseInt(_0x8143f6(0x172))/0x6+parseInt(_0x8143f6(0x16b))/0x7+parseInt(_0x8143f6(0x15c))/0x8;if(_0x16d896===_0x202207)break;else _0x32da15['push'](_0x32da15['shift']());}catch(_0x1aed71){_0x32da15['push'](_0x32da15['shift']());}}}(_0x471b,0x5c1dd));import{View as _0x585519}from'ckeditor5/src/ui.js';import _0x57260e from'./uploadcareimageeditformloadingview.js';import _0x47b3b0 from'./uploadcareimageeditformerrorview.js';import _0x1ea2e2 from'./uploadcareimageeditformeditingview.js';import _0x1bc3ad from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x4cf1(_0x187f10,_0x1da811){const _0x471bce=_0x471b();return _0x4cf1=function(_0x4cf124,_0x2e86c4){_0x4cf124=_0x4cf124-0x151;let _0x2f5308=_0x471bce[_0x4cf124];return _0x2f5308;},_0x4cf1(_0x187f10,_0x1da811);}export default class Z extends _0x1bc3ad{[_0x35d8b6(0x184)];[_0x35d8b6(0x183)];[_0x35d8b6(0x17c)];[_0x35d8b6(0x15d)];[_0x35d8b6(0x182)];constructor(_0x3397c3,_0x2e7c35,_0x1b22e){const _0x300a67=_0x35d8b6;super(_0x3397c3),this[_0x300a67(0x184)]=this[_0x300a67(0x159)](),this[_0x300a67(0x183)]=new _0x57260e(_0x3397c3),this[_0x300a67(0x17c)]=new _0x47b3b0(_0x3397c3),this[_0x300a67(0x15d)]=new _0x1ea2e2(_0x3397c3,_0x1b22e),this[_0x300a67(0x182)]=new _0x585519(_0x3397c3),this[_0x300a67(0x182)][_0x300a67(0x17e)](this[_0x300a67(0x165)]()),this[_0x300a67(0x154)](_0x300a67(0x162),_0x2e7c35),this[_0x300a67(0x17e)]({'tag':_0x300a67(0x16d),'attributes':{'class':['ck',_0x300a67(0x181),_0x300a67(0x174)],'tabindex':'-1'},'children':this[_0x300a67(0x184)]}),this[_0x300a67(0x155)](),this[_0x300a67(0x177)](_0x300a67(0x15b),()=>{const _0x345f3a=_0x300a67;this[_0x345f3a(0x16e)](this[_0x345f3a(0x17f)],_0x10dc8f=>{const _0x1c5981=_0x345f3a;this[_0x1c5981(0x153)](_0x10dc8f);});}),this['on'](_0x300a67(0x17a),()=>{const _0x4c4a96=_0x300a67;this[_0x4c4a96(0x155)]();}),this[_0x300a67(0x164)]();}[_0x35d8b6(0x16c)](){const _0x4a0321=_0x35d8b6;this[_0x4a0321(0x17f)][_0x4a0321(0x16c)]();}[_0x35d8b6(0x155)](){const _0x6cb142=_0x35d8b6;switch(this[_0x6cb142(0x184)][_0x6cb142(0x178)](),this[_0x6cb142(0x162)]){case _0x6cb142(0x170):this[_0x6cb142(0x184)][_0x6cb142(0x15f)](this[_0x6cb142(0x183)]);break;case _0x6cb142(0x176):this[_0x6cb142(0x184)][_0x6cb142(0x15f)](this[_0x6cb142(0x17c)]);break;case _0x6cb142(0x151):this[_0x6cb142(0x184)][_0x6cb142(0x175)]([this[_0x6cb142(0x15d)],this[_0x6cb142(0x182)]]);}}[_0x35d8b6(0x16e)](_0x75626e,_0x3a1089){const _0x48baaa=_0x35d8b6,_0x4eb2ea=_0x48baaa(0x169),_0x1a83a1=_0x75626e[_0x48baaa(0x167)](_0x4eb2ea);if(_0x1a83a1)return _0x3a1089(_0x1a83a1);const _0x196f7b=new MutationObserver(_0x29eb8d=>{const _0x3b119e=_0x48baaa,_0x2b9713=_0x29eb8d[_0x3b119e(0x173)](_0x4e1090=>_0x4e1090[_0x3b119e(0x16a)]===_0x75626e&&_0x4e1090[_0x3b119e(0x185)][_0x3b119e(0x156)]>0x0&&_0x4e1090[_0x3b119e(0x185)][0x0][_0x3b119e(0x160)][_0x3b119e(0x168)]()===_0x4eb2ea);_0x2b9713[_0x3b119e(0x156)]&&(_0x196f7b[_0x3b119e(0x171)](),_0x3a1089(_0x2b9713[0x0][_0x3b119e(0x185)][0x0]));});_0x196f7b[_0x48baaa(0x17d)](_0x75626e,{'childList':!0x0,'subtree':!0x0});}[_0x35d8b6(0x153)](_0x519e68){const _0x49a210=_0x35d8b6;_0x519e68[_0x49a210(0x157)](_0x49a210(0x15a),_0x3aa602=>{const _0x5e447a=_0x49a210;this[_0x5e447a(0x163)](_0x5e447a(0x15a),{'imageSrc':_0x3aa602[_0x5e447a(0x166)][_0x5e447a(0x179)]});}),_0x519e68[_0x49a210(0x157)](_0x49a210(0x16f),()=>{const _0x302cd6=_0x49a210;this[_0x302cd6(0x163)](_0x302cd6(0x16f));});}[_0x35d8b6(0x164)](){const _0x32f465=_0x35d8b6;this[_0x32f465(0x17c)]['on'](_0x32f465(0x158),()=>{const _0x5e9cee=_0x32f465;this[_0x5e9cee(0x163)](_0x5e9cee(0x158));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f2976=_0x6794;function _0xc744(){const _0x542c23=['1984383UqgsQS','selection','imageBlock','element','get','refresh','isActive','editor','bind','708944zWUNqp','_isEditable','12vCAJZP','1484077jKIaJv','execute','requires','28180FNhiXO','8998DOpgyA','getSelectedElement','732xivelF','1752459pkggss','imageInline','imageEditController','509606tpInUp','16455rcePrR','plugins','model','config','uploadcare.allowExternalImagesEditing','8rvvUjO','unbind','isEnabled','set','document'];_0xc744=function(){return _0x542c23;};return _0xc744();}(function(_0x5bc7be,_0x1991e1){const _0x2023f4=_0x6794,_0x3dfe0a=_0x5bc7be();while(!![]){try{const _0x141a5c=-parseInt(_0x2023f4(0x117))/0x1+parseInt(_0x2023f4(0x10a))/0x2+-parseInt(_0x2023f4(0x114))/0x3+parseInt(_0x2023f4(0x113))/0x4*(-parseInt(_0x2023f4(0x118))/0x5)+parseInt(_0x2023f4(0x10c))/0x6*(-parseInt(_0x2023f4(0x10d))/0x7)+parseInt(_0x2023f4(0x11d))/0x8*(-parseInt(_0x2023f4(0x101))/0x9)+parseInt(_0x2023f4(0x110))/0xa*(parseInt(_0x2023f4(0x111))/0xb);if(_0x141a5c===_0x1991e1)break;else _0x3dfe0a['push'](_0x3dfe0a['shift']());}catch(_0x355d39){_0x3dfe0a['push'](_0x3dfe0a['shift']());}}}(_0xc744,0x4de63));import{Command as _0x5cb8a1}from'ckeditor5/src/core.js';function _0x6794(_0x2ff696,_0x192dcc){const _0xc744b0=_0xc744();return _0x6794=function(_0x67944f,_0x2ac857){_0x67944f=_0x67944f-0x100;let _0x315e70=_0xc744b0[_0x67944f];return _0x315e70;},_0x6794(_0x2ff696,_0x192dcc);}import{Dialog as _0x1272f5}from'ckeditor5/src/ui.js';import _0x5417fd from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x15e0b5}from'../utils/editingutils.js';export default class J extends _0x5cb8a1{[_0x4f2976(0x116)];static get[_0x4f2976(0x10f)](){return[_0x1272f5];}[_0x4f2976(0x10b)];constructor(_0x5d4aec){const _0x2e4b0c=_0x4f2976;super(_0x5d4aec),this[_0x2e4b0c(0x116)]=void 0x0,this[_0x2e4b0c(0x10b)]=_0x15e0b5(_0x5d4aec[_0x2e4b0c(0x11b)][_0x2e4b0c(0x105)](_0x2e4b0c(0x11c))||[]),this[_0x2e4b0c(0x120)]({'isActive':!0x1});}[_0x4f2976(0x106)](){const _0x4aadec=_0x4f2976,_0x3f3479=this[_0x4aadec(0x108)][_0x4aadec(0x11a)][_0x4aadec(0x100)][_0x4aadec(0x102)][_0x4aadec(0x112)]();this[_0x4aadec(0x11f)]=this[_0x4aadec(0x10b)](_0x3f3479);}[_0x4f2976(0x10e)](){const _0xc78e71=_0x4f2976;this[_0xc78e71(0x116)]&&(this[_0xc78e71(0x11e)](_0xc78e71(0x107)),this[_0xc78e71(0x116)]=void 0x0);const _0x30788c=this[_0xc78e71(0x108)][_0xc78e71(0x11a)][_0xc78e71(0x100)][_0xc78e71(0x102)][_0xc78e71(0x112)]();_0x30788c&&(_0x30788c['is'](_0xc78e71(0x104),_0xc78e71(0x103))||_0x30788c['is'](_0xc78e71(0x104),_0xc78e71(0x115)))&&(this[_0xc78e71(0x116)]=new _0x5417fd(this[_0xc78e71(0x108)],this[_0xc78e71(0x108)][_0xc78e71(0x119)][_0xc78e71(0x105)](_0x1272f5),_0x30788c),this[_0xc78e71(0x109)](_0xc78e71(0x107))['to'](this[_0xc78e71(0x116)],_0xc78e71(0x107)));}}
23
+ const _0x128991=_0x11a1;(function(_0xd3f7c2,_0x457452){const _0x7da2f8=_0x11a1,_0x42477d=_0xd3f7c2();while(!![]){try{const _0x20e290=parseInt(_0x7da2f8(0xb5))/0x1+parseInt(_0x7da2f8(0xb6))/0x2+parseInt(_0x7da2f8(0xa8))/0x3*(-parseInt(_0x7da2f8(0xa9))/0x4)+-parseInt(_0x7da2f8(0xbe))/0x5+parseInt(_0x7da2f8(0xb3))/0x6+parseInt(_0x7da2f8(0xa2))/0x7+-parseInt(_0x7da2f8(0xb2))/0x8*(-parseInt(_0x7da2f8(0xbc))/0x9);if(_0x20e290===_0x457452)break;else _0x42477d['push'](_0x42477d['shift']());}catch(_0x172cc0){_0x42477d['push'](_0x42477d['shift']());}}}(_0x4383,0xb0605));import{Command as _0xb991c4}from'ckeditor5/src/core.js';function _0x11a1(_0x1aed54,_0x4c191c){const _0x43830d=_0x4383();return _0x11a1=function(_0x11a11c,_0x4c6c37){_0x11a11c=_0x11a11c-0xa2;let _0x79dd51=_0x43830d[_0x11a11c];return _0x79dd51;},_0x11a1(_0x1aed54,_0x4c191c);}import{Dialog as _0x54d3d2}from'ckeditor5/src/ui.js';import _0x44ad55 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4d5377}from'../utils/editingutils.js';export default class J extends _0xb991c4{[_0x128991(0xad)];static get[_0x128991(0xa7)](){return[_0x54d3d2];}[_0x128991(0xba)];constructor(_0x2455ca){const _0x982803=_0x128991;super(_0x2455ca),this[_0x982803(0xad)]=void 0x0,this[_0x982803(0xba)]=_0x4d5377(_0x2455ca[_0x982803(0xb7)][_0x982803(0xa4)](_0x982803(0xab))||[]),this[_0x982803(0xac)]({'isActive':!0x1});}[_0x128991(0xbb)](){const _0x1d0e4f=_0x128991,_0x5d8eea=this[_0x1d0e4f(0xb9)][_0x1d0e4f(0xaa)][_0x1d0e4f(0xbd)][_0x1d0e4f(0xb0)][_0x1d0e4f(0xae)]();this[_0x1d0e4f(0xaf)]=this[_0x1d0e4f(0xba)](_0x5d8eea);}[_0x128991(0xa6)](){const _0x42c1ce=_0x128991;this[_0x42c1ce(0xad)]&&(this[_0x42c1ce(0xa3)](_0x42c1ce(0xbf)),this[_0x42c1ce(0xad)]=void 0x0);const _0x4aa209=this[_0x42c1ce(0xb9)][_0x42c1ce(0xaa)][_0x42c1ce(0xbd)][_0x42c1ce(0xb0)][_0x42c1ce(0xae)]();_0x4aa209&&(_0x4aa209['is'](_0x42c1ce(0xb4),_0x42c1ce(0xa5))||_0x4aa209['is'](_0x42c1ce(0xb4),_0x42c1ce(0xb8)))&&(this[_0x42c1ce(0xad)]=new _0x44ad55(this[_0x42c1ce(0xb9)],this[_0x42c1ce(0xb9)][_0x42c1ce(0xb1)][_0x42c1ce(0xa4)](_0x54d3d2),_0x4aa209),this[_0x42c1ce(0xc0)](_0x42c1ce(0xbf))['to'](this[_0x42c1ce(0xad)],_0x42c1ce(0xbf)));}}function _0x4383(){const _0x5d1ca3=['6124517IDtPRk','unbind','get','imageBlock','execute','requires','3bWGgDo','3947448XrnmVZ','model','uploadcare.allowExternalImagesEditing','set','imageEditController','getSelectedElement','isEnabled','selection','plugins','56608OXUvyD','2545500JePQmQ','element','397687DTtNNU','2451138Lrbmze','config','imageInline','editor','_isEditable','refresh','72NfaVwT','document','6348730IJvvYV','isActive','bind'];_0x4383=function(){return _0x5d1ca3;};return _0x4383();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fe56e=_0x2839;(function(_0x122de9,_0x45346b){const _0x246a44=_0x2839,_0x4b914d=_0x122de9();while(!![]){try{const _0x2023a3=-parseInt(_0x246a44(0x147))/0x1+parseInt(_0x246a44(0x13e))/0x2+-parseInt(_0x246a44(0x14c))/0x3*(parseInt(_0x246a44(0x141))/0x4)+-parseInt(_0x246a44(0x140))/0x5*(-parseInt(_0x246a44(0x146))/0x6)+parseInt(_0x246a44(0x14e))/0x7*(-parseInt(_0x246a44(0x148))/0x8)+-parseInt(_0x246a44(0x13b))/0x9*(parseInt(_0x246a44(0x145))/0xa)+parseInt(_0x246a44(0x13c))/0xb;if(_0x2023a3===_0x45346b)break;else _0x4b914d['push'](_0x4b914d['shift']());}catch(_0x5df2ca){_0x4b914d['push'](_0x4b914d['shift']());}}}(_0x18e6,0x79008));function _0x2839(_0x54aa53,_0x416be4){const _0x18e6e3=_0x18e6();return _0x2839=function(_0x2839d2,_0x322ce8){_0x2839d2=_0x2839d2-0x139;let _0x3c6913=_0x18e6e3[_0x2839d2];return _0x3c6913;},_0x2839(_0x54aa53,_0x416be4);}import{Plugin as _0x4a74cd}from'ckeditor5/src/core.js';function _0x18e6(){const _0x553f1d=['20JDMjpc','23322tlCyVD','129639YbhHcO','6011352zTWENm','add','isPremiumPlugin','commands','56955HeunVb','ImageEditing','7pShWuO','pluginName','requires','init','3851379ILYJar','16777057dKCQCM','isOfficialPlugin','919552DXBDvU','UploadcareImageEditEditing','465VUrtVO','24LArLms','uploadcareImageReplace','uploadcareImageEdit','ImageUtils'];_0x18e6=function(){return _0x553f1d;};return _0x18e6();}import{Notification as _0x4a23f9}from'ckeditor5/src/ui.js';import _0xc21d86 from'./uploadcareimageeditcommand.js';import _0x25fe84 from'./uploadcareimagereplacecommand.js';import _0x4f63ce from'../uploadcareediting.js';export default class g extends _0x4a74cd{static get[_0x3fe56e(0x14f)](){const _0x221315=_0x3fe56e;return _0x221315(0x13f);}static get[_0x3fe56e(0x139)](){const _0x22c51d=_0x3fe56e;return[_0x4f63ce,_0x4a23f9,_0x22c51d(0x144),_0x22c51d(0x14d)];}static get[_0x3fe56e(0x13d)](){return!0x0;}static get[_0x3fe56e(0x14a)](){return!0x0;}[_0x3fe56e(0x13a)](){const _0xb08e62=_0x3fe56e,{editor:_0x4637d7}=this;_0x4637d7[_0xb08e62(0x14b)][_0xb08e62(0x149)](_0xb08e62(0x143),new _0xc21d86(_0x4637d7)),_0x4637d7[_0xb08e62(0x14b)][_0xb08e62(0x149)](_0xb08e62(0x142),new _0x25fe84(_0x4637d7));}}
23
+ const _0x1033b8=_0x4898;(function(_0x3aae6f,_0x401ca2){const _0x2a1cd7=_0x4898,_0xe87ce4=_0x3aae6f();while(!![]){try{const _0x3b9d0d=-parseInt(_0x2a1cd7(0x185))/0x1*(parseInt(_0x2a1cd7(0x18c))/0x2)+parseInt(_0x2a1cd7(0x186))/0x3+parseInt(_0x2a1cd7(0x193))/0x4*(-parseInt(_0x2a1cd7(0x191))/0x5)+parseInt(_0x2a1cd7(0x188))/0x6*(-parseInt(_0x2a1cd7(0x18d))/0x7)+-parseInt(_0x2a1cd7(0x17b))/0x8*(-parseInt(_0x2a1cd7(0x18b))/0x9)+parseInt(_0x2a1cd7(0x189))/0xa*(-parseInt(_0x2a1cd7(0x17d))/0xb)+-parseInt(_0x2a1cd7(0x18e))/0xc*(-parseInt(_0x2a1cd7(0x182))/0xd);if(_0x3b9d0d===_0x401ca2)break;else _0xe87ce4['push'](_0xe87ce4['shift']());}catch(_0x47380a){_0xe87ce4['push'](_0xe87ce4['shift']());}}}(_0x3489,0x51234));import{Plugin as _0x294cd6}from'ckeditor5/src/core.js';function _0x4898(_0x529328,_0x4850d7){const _0x3489cd=_0x3489();return _0x4898=function(_0x489889,_0xed1c0c){_0x489889=_0x489889-0x17b;let _0x4d6a75=_0x3489cd[_0x489889];return _0x4d6a75;},_0x4898(_0x529328,_0x4850d7);}import{Notification as _0x2b8725}from'ckeditor5/src/ui.js';import _0x3b487f from'./uploadcareimageeditcommand.js';function _0x3489(){const _0x100676=['uploadcareImageReplace','ImageUtils','91bLIjPH','ImageEditing','pluginName','3ngFnLv','364539wgxMjy','isPremiumPlugin','241782yvmRVs','770FvoTeX','requires','3586104bOVeZD','234008bfirzj','63wRCHic','1911264vAnLwb','isOfficialPlugin','UploadcareImageEditEditing','9195afRKnj','init','1048swqweg','8IdXpWy','uploadcareImageEdit','15290SPxTpJ','add','commands'];_0x3489=function(){return _0x100676;};return _0x3489();}import _0x2b0834 from'./uploadcareimagereplacecommand.js';import _0xcacfc1 from'../uploadcareediting.js';export default class g extends _0x294cd6{static get[_0x1033b8(0x184)](){const _0x90435=_0x1033b8;return _0x90435(0x190);}static get[_0x1033b8(0x18a)](){const _0x3ad054=_0x1033b8;return[_0xcacfc1,_0x2b8725,_0x3ad054(0x181),_0x3ad054(0x183)];}static get[_0x1033b8(0x18f)](){return!0x0;}static get[_0x1033b8(0x187)](){return!0x0;}[_0x1033b8(0x192)](){const _0x39ab9f=_0x1033b8,{editor:_0x4ffc05}=this;_0x4ffc05[_0x39ab9f(0x17f)][_0x39ab9f(0x17e)](_0x39ab9f(0x17c),new _0x3b487f(_0x4ffc05)),_0x4ffc05[_0x39ab9f(0x17f)][_0x39ab9f(0x17e)](_0x39ab9f(0x180),new _0x2b0834(_0x4ffc05));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1e97cf}from'ckeditor5/src/core.js';import{ButtonView as _0xbcbc25}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x291f99}from'ckeditor5/src/icons.js';import{createElement as _0x4fa15d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1e97cf{['_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 _0x1e690d=this['editor'];_0x1e690d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4e0d50=>{const _0x5209ec=_0x1e690d['commands']['get']('uploadcareImageEdit'),_0x1c82dd=new _0xbcbc25(_0x4e0d50),t=_0x4e0d50['t'];return _0x1c82dd['set']({'icon':_0x291f99,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1c82dd['bind']('isEnabled')['to'](_0x5209ec),_0x1c82dd['bind']('isOn')['to'](_0x5209ec,'isActive'),this['listenTo'](_0x1c82dd,'execute',()=>{_0x1e690d['execute']('uploadcareImageEdit'),_0x1e690d['editing']['view']['focus']();}),_0x1c82dd;}),this['_initConfig']();}['_initConfig'](){const _0x287fdf=_0x4fa15d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x287fdf),this['listenTo'](this['editor'],'destroy',()=>{_0x287fdf['remove']();});}}
23
+ import{Plugin as _0x239025}from'ckeditor5/src/core.js';import{ButtonView as _0x49dc07}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23d35f}from'ckeditor5/src/icons.js';import{createElement as _0x112b95}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x239025{['_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 _0x1b233d=this['editor'];_0x1b233d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4dfc2c=>{const _0x3d619b=_0x1b233d['commands']['get']('uploadcareImageEdit'),_0x1204d8=new _0x49dc07(_0x4dfc2c),t=_0x4dfc2c['t'];return _0x1204d8['set']({'icon':_0x23d35f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1204d8['bind']('isEnabled')['to'](_0x3d619b),_0x1204d8['bind']('isOn')['to'](_0x3d619b,'isActive'),this['listenTo'](_0x1204d8,'execute',()=>{_0x1b233d['execute']('uploadcareImageEdit'),_0x1b233d['editing']['view']['focus']();}),_0x1204d8;}),this['_initConfig']();}['_initConfig'](){const _0x5d3440=_0x112b95(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5d3440),this['listenTo'](this['editor'],'destroy',()=>{_0x5d3440['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x235f(_0x3adb94,_0x34e1b7){const _0x4c434c=_0x4c43();return _0x235f=function(_0x235f1d,_0x2eb74d){_0x235f1d=_0x235f1d-0x1bf;let _0x377fda=_0x4c434c[_0x235f1d];return _0x377fda;},_0x235f(_0x3adb94,_0x34e1b7);}function _0x4c43(){const _0x40d4b7=['refresh','119604hCcnBm','106qCaKeL','editor','imageBlock','getSelectedElement','document','6884EEIeyf','element','2561853iQxwAE','895560VZsvlg','removeAttribute','sizes','1017304BPfScr','18FQYhDC','execute','selection','srcset','setAttributes','imageInline','change','1250472eycGNG','5ZotKdI','isEnabled','107910GaMRqB','model'];_0x4c43=function(){return _0x40d4b7;};return _0x4c43();}const _0x5e33ae=_0x235f;(function(_0x45006a,_0x241844){const _0x19535f=_0x235f,_0x46738f=_0x45006a();while(!![]){try{const _0x387569=parseInt(_0x19535f(0x1d5))/0x1*(-parseInt(_0x19535f(0x1c0))/0x2)+parseInt(_0x19535f(0x1c3))/0x3+-parseInt(_0x19535f(0x1d4))/0x4+parseInt(_0x19535f(0x1cf))/0x5*(parseInt(_0x19535f(0x1ce))/0x6)+parseInt(_0x19535f(0x1c2))/0x7+-parseInt(_0x19535f(0x1c6))/0x8*(parseInt(_0x19535f(0x1c7))/0x9)+-parseInt(_0x19535f(0x1d1))/0xa;if(_0x387569===_0x241844)break;else _0x46738f['push'](_0x46738f['shift']());}catch(_0x37f6e1){_0x46738f['push'](_0x46738f['shift']());}}}(_0x4c43,0x34031));import{Command as _0x306e2b}from'ckeditor5/src/core.js';export default class O extends _0x306e2b{[_0x5e33ae(0x1d3)](){const _0x10844f=_0x5e33ae,_0x293bad=this[_0x10844f(0x1d6)][_0x10844f(0x1d2)][_0x10844f(0x1bf)][_0x10844f(0x1c9)][_0x10844f(0x1d8)]();this[_0x10844f(0x1d0)]=Boolean(_0x293bad&&(_0x293bad['is'](_0x10844f(0x1c1),_0x10844f(0x1d7))||_0x293bad['is'](_0x10844f(0x1c1),_0x10844f(0x1cc))));}[_0x5e33ae(0x1c8)](_0xef9e4c){const _0x381220=_0x5e33ae,_0x55ae68=this[_0x381220(0x1d6)][_0x381220(0x1d2)][_0x381220(0x1bf)][_0x381220(0x1c9)][_0x381220(0x1d8)]();this[_0x381220(0x1d6)][_0x381220(0x1d2)][_0x381220(0x1cd)](_0x570758=>{const _0x4f91e0=_0x381220;_0x570758[_0x4f91e0(0x1cb)](_0xef9e4c,_0x55ae68),_0x570758[_0x4f91e0(0x1c4)](_0x4f91e0(0x1ca),_0x55ae68),_0x570758[_0x4f91e0(0x1c4)](_0x4f91e0(0x1c5),_0x55ae68);});}}
23
+ const _0xf769c4=_0x4d46;function _0x4d46(_0x1035a9,_0x4c154b){const _0x119188=_0x1191();return _0x4d46=function(_0x4d46c9,_0x3c1d80){_0x4d46c9=_0x4d46c9-0x152;let _0x163f97=_0x119188[_0x4d46c9];return _0x163f97;},_0x4d46(_0x1035a9,_0x4c154b);}function _0x1191(){const _0x376688=['9EKXBKP','3677656tutuaZ','editor','execute','isEnabled','220EWpMKX','element','133jvFgWd','84PgcRRS','removeAttribute','imageInline','refresh','model','7732350HPNnVF','216744punyHG','imageBlock','srcset','190WcmBqQ','sizes','179028ioYohZ','setAttributes','document','3426WvnonU','change','10533mnuKKI','getSelectedElement','1019190zGGcJU','selection'];_0x1191=function(){return _0x376688;};return _0x1191();}(function(_0x35b423,_0x59f868){const _0x496096=_0x4d46,_0x21ce07=_0x35b423();while(!![]){try{const _0x4fba72=parseInt(_0x496096(0x16b))/0x1*(-parseInt(_0x496096(0x166))/0x2)+parseInt(_0x496096(0x16d))/0x3*(parseInt(_0x496096(0x15a))/0x4)+-parseInt(_0x496096(0x153))/0x5+-parseInt(_0x496096(0x168))/0x6*(-parseInt(_0x496096(0x15c))/0x7)+parseInt(_0x496096(0x156))/0x8*(-parseInt(_0x496096(0x155))/0x9)+parseInt(_0x496096(0x162))/0xa+parseInt(_0x496096(0x163))/0xb*(-parseInt(_0x496096(0x15d))/0xc);if(_0x4fba72===_0x59f868)break;else _0x21ce07['push'](_0x21ce07['shift']());}catch(_0xb1203c){_0x21ce07['push'](_0x21ce07['shift']());}}}(_0x1191,0x6332f));import{Command as _0x4aa7da}from'ckeditor5/src/core.js';export default class O extends _0x4aa7da{[_0xf769c4(0x160)](){const _0x2275b2=_0xf769c4,_0x1ec970=this[_0x2275b2(0x157)][_0x2275b2(0x161)][_0x2275b2(0x16a)][_0x2275b2(0x154)][_0x2275b2(0x152)]();this[_0x2275b2(0x159)]=Boolean(_0x1ec970&&(_0x1ec970['is'](_0x2275b2(0x15b),_0x2275b2(0x164))||_0x1ec970['is'](_0x2275b2(0x15b),_0x2275b2(0x15f))));}[_0xf769c4(0x158)](_0x55c1e1){const _0x1f0a14=_0xf769c4,_0x525fd3=this[_0x1f0a14(0x157)][_0x1f0a14(0x161)][_0x1f0a14(0x16a)][_0x1f0a14(0x154)][_0x1f0a14(0x152)]();this[_0x1f0a14(0x157)][_0x1f0a14(0x161)][_0x1f0a14(0x16c)](_0x225993=>{const _0x577d1a=_0x1f0a14;_0x225993[_0x577d1a(0x169)](_0x55c1e1,_0x525fd3),_0x225993[_0x577d1a(0x15e)](_0x577d1a(0x165),_0x525fd3),_0x225993[_0x577d1a(0x15e)](_0x577d1a(0x167),_0x525fd3);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x21f86a=_0x3020;function _0x4737(){var _0x3c1a7d=['74RaPWCu','794423OYXgaO','pluginName','109352FJbsMX','84856najcep','UploadcareImageEdit','22pWGcRM','70jQLBBP','requires','207549xrhPSL','isOfficialPlugin','1392730vLKdWH','2327tiZwDj','2189418TWwFAf','45uLtsnw','isPremiumPlugin'];_0x4737=function(){return _0x3c1a7d;};return _0x4737();}function _0x3020(_0x419ec7,_0x55bd9b){var _0x473788=_0x4737();return _0x3020=function(_0x30206c,_0x151c7c){_0x30206c=_0x30206c-0x1f0;var _0x13f38a=_0x473788[_0x30206c];return _0x13f38a;},_0x3020(_0x419ec7,_0x55bd9b);}(function(_0x23e640,_0x5e968d){var _0x19bd4b=_0x3020,_0x1f30ae=_0x23e640();while(!![]){try{var _0x52aba7=-parseInt(_0x19bd4b(0x1f6))/0x1*(parseInt(_0x19bd4b(0x1fa))/0x2)+-parseInt(_0x19bd4b(0x1f3))/0x3+parseInt(_0x19bd4b(0x1fe))/0x4*(parseInt(_0x19bd4b(0x1f1))/0x5)+parseInt(_0x19bd4b(0x1f7))/0x6+-parseInt(_0x19bd4b(0x1fb))/0x7+parseInt(_0x19bd4b(0x1fd))/0x8*(parseInt(_0x19bd4b(0x1f8))/0x9)+parseInt(_0x19bd4b(0x1f5))/0xa*(-parseInt(_0x19bd4b(0x1f0))/0xb);if(_0x52aba7===_0x5e968d)break;else _0x1f30ae['push'](_0x1f30ae['shift']());}catch(_0x543590){_0x1f30ae['push'](_0x1f30ae['shift']());}}}(_0x4737,0x2ca8f));import{Plugin as _0x560f48}from'ckeditor5/src/core.js';import _0x1fd7e4 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x94d2d4 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x560f48{static get[_0x21f86a(0x1fc)](){var _0x1d9cdd=_0x21f86a;return _0x1d9cdd(0x1ff);}static get[_0x21f86a(0x1f2)](){return[_0x1fd7e4,_0x94d2d4];}static get[_0x21f86a(0x1f4)](){return!0x0;}static get[_0x21f86a(0x1f9)](){return!0x0;}}
23
+ var _0x1203e7=_0x3ba3;(function(_0x1e9e33,_0x24b0f2){var _0x21ad13=_0x3ba3,_0x19695f=_0x1e9e33();while(!![]){try{var _0x4fa57f=parseInt(_0x21ad13(0xf7))/0x1+parseInt(_0x21ad13(0xee))/0x2*(parseInt(_0x21ad13(0xf3))/0x3)+-parseInt(_0x21ad13(0xf5))/0x4+parseInt(_0x21ad13(0xf1))/0x5*(parseInt(_0x21ad13(0xf9))/0x6)+parseInt(_0x21ad13(0xef))/0x7*(-parseInt(_0x21ad13(0xf2))/0x8)+-parseInt(_0x21ad13(0xf4))/0x9+parseInt(_0x21ad13(0xf8))/0xa;if(_0x4fa57f===_0x24b0f2)break;else _0x19695f['push'](_0x19695f['shift']());}catch(_0x5a7ca9){_0x19695f['push'](_0x19695f['shift']());}}}(_0x5307,0xdb63a));import{Plugin as _0x9f3ec}from'ckeditor5/src/core.js';function _0x5307(){var _0x1cd88f=['5021668rDyoce','requires','546764RYIkUA','16783660drfSLA','666060CQYNzW','pluginName','isPremiumPlugin','UploadcareImageEdit','2TVnMxa','287tGbAYW','isOfficialPlugin','15pTotrz','221032sHkPcq','4598928JYWcjU','7238808PbZeZz'];_0x5307=function(){return _0x1cd88f;};return _0x5307();}function _0x3ba3(_0x3cefb6,_0x50eb04){var _0x53079a=_0x5307();return _0x3ba3=function(_0x3ba384,_0x3cec5f){_0x3ba384=_0x3ba384-0xee;var _0xd75973=_0x53079a[_0x3ba384];return _0xd75973;},_0x3ba3(_0x3cefb6,_0x50eb04);}import _0x4f5427 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xbfd27a from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x9f3ec{static get[_0x1203e7(0xfa)](){var _0x3848c0=_0x1203e7;return _0x3848c0(0xfc);}static get[_0x1203e7(0xf6)](){return[_0x4f5427,_0xbfd27a];}static get[_0x1203e7(0xf0)](){return!0x0;}static get[_0x1203e7(0xfb)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d690c=_0x5303;(function(_0x31d219,_0x46752e){const _0x5e11f8=_0x5303,_0x553896=_0x31d219();while(!![]){try{const _0x45e686=parseInt(_0x5e11f8(0x21a))/0x1*(parseInt(_0x5e11f8(0x1f1))/0x2)+parseInt(_0x5e11f8(0x1d8))/0x3+parseInt(_0x5e11f8(0x204))/0x4*(parseInt(_0x5e11f8(0x1f4))/0x5)+parseInt(_0x5e11f8(0x1e3))/0x6*(parseInt(_0x5e11f8(0x1fd))/0x7)+-parseInt(_0x5e11f8(0x1d6))/0x8*(parseInt(_0x5e11f8(0x1df))/0x9)+-parseInt(_0x5e11f8(0x20f))/0xa+-parseInt(_0x5e11f8(0x1dd))/0xb*(parseInt(_0x5e11f8(0x1fc))/0xc);if(_0x45e686===_0x46752e)break;else _0x553896['push'](_0x553896['shift']());}catch(_0x4fb45a){_0x553896['push'](_0x553896['shift']());}}}(_0xb9f5,0x1c74b));function _0xb9f5(){const _0x33376c=['locale','GDrive','575615lGPWSI','push','uploadcareLicenseKeyNotAllowed','config','evaluationLimit','isOfficialPlugin','domainLimit','uploadcareLicenseKeyValid','41436nWZlIB','7oNcmaV','uploadcare','licenseKey','destroy','commands','uploadcareLicenseKeyDomainLimit','pluginName','4eKVkIo','invalid','reduce','registerIntegration','has','trialLimit','init','uploadcareLicenseKeyExpired','entries','shortText','uploadcareLicenseKeyUsageLimit','1574320YBZSco','_licenseKeyCheckInterval','_createDropdownButtons','isImageSelected','text','uploadcareLicenseKeyInvalid','upload','execute','withText','Dropbox','label','10978KDqYto','uploadcare.uploader.sourceList','expired','Insert','usageLimit','Local','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','editor','UploadcareUI','Uploadcare','icon','Facebook','_getIntegrationKey','isPremiumPlugin','1544FcJBsC','uploadcareLicenseKeyTrialLimit','106503ELJySj','forEach','OneDrive','GPhotos','assetManager','187FrCgCq','type','4482lSENcW','_normalizeConfigSourceList','afterInit','bind','351708yQwpmF','_createToolbarButton','Replace','_createButton','tooltip','featureNotAllowed','url','ImageInsertUI','map','URL','plugins','get','_createMenuBarButtons','isEnabled','40kJZGPX'];_0xb9f5=function(){return _0x33376c;};return _0xb9f5();}import{Plugin as _0x2fdc8b}from'ckeditor5/src/core.js';import{IconDropbox as _0x2fa2cc,IconFacebook as _0x367cd2,IconGoogleDrive as _0x5b0fa8,IconGooglePhotos as _0x41fe34,IconUploadcareImageUpload as _0x392e15,IconUploadcareLink as _0x1d0d3d,IconOneDrive as _0x572aa8}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cf618,MenuBarMenuListItemButtonView as _0x372469}from'ckeditor5/src/ui.js';function _0x5303(_0x203601,_0x579f02){const _0xb9f5e4=_0xb9f5();return _0x5303=function(_0x530356,_0x30fd07){_0x530356=_0x530356-0x1cc;let _0x2a5f2=_0xb9f5e4[_0x530356];return _0x2a5f2;},_0x5303(_0x203601,_0x579f02);}import{UploadcareSource as _0xa34474}from'./uploadcareconfig.js';import{getTranslation as _0x59ffa3}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x2fdc8b{[_0x4d690c(0x1ff)];[_0x4d690c(0x210)];static get[_0x4d690c(0x203)](){const _0x1144da=_0x4d690c;return _0x1144da(0x1d0);}static get[_0x4d690c(0x1f9)](){return!0x0;}static get[_0x4d690c(0x1d5)](){return!0x0;}[_0x4d690c(0x20a)](){const _0xe96c47=_0x4d690c;this[_0xe96c47(0x1ff)]=this[_0xe96c47(0x1cf)][_0xe96c47(0x1f7)][_0xe96c47(0x1ee)](_0xe96c47(0x1ff));const _0x40118a=this[_0xe96c47(0x1cf)];this[_0xe96c47(0x210)]=setInterval(()=>{const _0x5d6945=_0xe96c47;let _0x143728;for(const _0x28cb78 in _0x40118a){const _0x5b807e=_0x28cb78,_0x7b4d15=_0x40118a[_0x5b807e];if(_0x5d6945(0x1fb)==_0x7b4d15||_0x5d6945(0x214)==_0x7b4d15||_0x5d6945(0x20b)==_0x7b4d15||_0x5d6945(0x202)==_0x7b4d15||_0x5d6945(0x1f6)==_0x7b4d15||_0x5d6945(0x1cd)==_0x7b4d15||_0x5d6945(0x1d7)==_0x7b4d15||_0x5d6945(0x20e)==_0x7b4d15){delete _0x40118a[_0x5b807e],_0x143728=_0x7b4d15,clearInterval(this[_0x5d6945(0x210)]),this[_0x5d6945(0x210)]=void 0x0;break;}}_0x5d6945(0x214)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x205)),_0x5d6945(0x20b)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x21c)),_0x5d6945(0x202)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x1fa)),_0x5d6945(0x1f6)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x1e8),_0x5d6945(0x1d1)),_0x5d6945(0x1cd)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x1f8)),_0x5d6945(0x1d7)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x209)),_0x5d6945(0x20e)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x21e));},0x3e8);}[_0x4d690c(0x1e1)](){const _0x207c71=_0x4d690c,{editor:_0x4b7e4b}=this,_0x2472bf=_0x4b7e4b[_0x207c71(0x201)][_0x207c71(0x1ee)](_0x207c71(0x1fe));if(!_0x2472bf)return;const _0x3dd0cd=this[_0x207c71(0x1e0)](_0x4b7e4b[_0x207c71(0x1f7)][_0x207c71(0x1ee)](_0x207c71(0x21b)))[_0x207c71(0x206)]((_0x47237e,_0x2ee472)=>{const _0x4de701=_0x207c71,_0x4e3a19=this[_0x4de701(0x1d4)](_0x2ee472[_0x4de701(0x1de)]);return _0x47237e[_0x4e3a19]||(_0x47237e[_0x4e3a19]=[]),_0x47237e[_0x4e3a19][_0x4de701(0x1f5)](_0x2ee472),_0x47237e;},{});_0x4b7e4b[_0x207c71(0x1ed)][_0x207c71(0x208)](_0x207c71(0x1ea))&&_0x4b7e4b[_0x207c71(0x201)][_0x207c71(0x1ee)](_0x207c71(0x1fe))&&Object[_0x207c71(0x20c)](_0x3dd0cd)[_0x207c71(0x1d9)](([_0x4ce3d2,_0x2f576a])=>{const _0x42b7e7=_0x207c71;_0x4b7e4b[_0x42b7e7(0x1ed)][_0x42b7e7(0x1ee)](_0x42b7e7(0x1ea))[_0x42b7e7(0x207)]({'name':_0x4ce3d2,'observable':()=>_0x2472bf,'buttonViewCreator':()=>this[_0x42b7e7(0x1e4)](_0x2f576a),'formViewCreator':()=>this[_0x42b7e7(0x211)](_0x2f576a),'menuBarButtonViewCreator':()=>this[_0x42b7e7(0x1ef)](_0x2f576a),'override':_0x42b7e7(0x1dc)!==_0x4ce3d2});});}[_0x4d690c(0x200)](){const _0x4f4449=_0x4d690c;super[_0x4f4449(0x200)](),this[_0x4f4449(0x210)]&&clearInterval(this[_0x4f4449(0x210)]);}[_0x4d690c(0x1e0)](_0x12d601){const _0x48032c=_0x4d690c,{locale:_0xf4d819}=this[_0x48032c(0x1cf)];return _0x12d601[_0x48032c(0x1eb)](_0x388c6f=>{const _0x11eb0e=_0x48032c,_0x2567d6=_0x59ffa3(_0xf4d819,_0x388c6f,_0x11eb0e(0x21d));switch(_0x388c6f){case _0xa34474[_0x11eb0e(0x1cc)]:return{'icon':_0x392e15,'type':_0xa34474[_0x11eb0e(0x1cc)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1ec)]:return{'icon':_0x1d0d3d,'type':_0xa34474[_0x11eb0e(0x1ec)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x218)]:return{'icon':_0x2fa2cc,'type':_0xa34474[_0x11eb0e(0x218)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1d3)]:return{'icon':_0x367cd2,'type':_0xa34474[_0x11eb0e(0x1d3)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1f3)]:return{'icon':_0x5b0fa8,'type':_0xa34474[_0x11eb0e(0x1f3)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1db)]:return{'icon':_0x41fe34,'type':_0xa34474[_0x11eb0e(0x1db)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1da)]:return{'icon':_0x572aa8,'type':_0xa34474[_0x11eb0e(0x1da)],..._0x2567d6};}});}[_0x4d690c(0x1d4)](_0x5d549b){const _0x420f4e=_0x4d690c;switch(_0x5d549b){case _0xa34474[_0x420f4e(0x1cc)]:return _0x420f4e(0x215);case _0xa34474[_0x420f4e(0x1ec)]:return _0x420f4e(0x1e9);default:return _0x420f4e(0x1dc);}}[_0x4d690c(0x1e6)](_0x5b9b97,_0x2551dd){const _0x5e3d1e=_0x4d690c,_0x57daaa=this[_0x5e3d1e(0x1cf)],_0x5d0875=new _0x5b9b97(_0x57daaa[_0x5e3d1e(0x1f2)]),_0x4fd91c=_0x57daaa[_0x5e3d1e(0x201)][_0x5e3d1e(0x1ee)](_0x5e3d1e(0x1fe));return _0x5d0875[_0x5e3d1e(0x1e2)](_0x5e3d1e(0x1f0))['to'](_0x4fd91c),_0x5d0875['on'](_0x5e3d1e(0x216),()=>{const _0x3c1aa7=_0x5e3d1e;_0x4fd91c[_0x3c1aa7(0x216)](_0x2551dd);}),_0x5d0875;}[_0x4d690c(0x1e4)](_0x4b2b14){const _0x2e344b=_0x4d690c,{locale:_0x1d4c19}=this[_0x2e344b(0x1cf)],_0x3fe020=this[_0x2e344b(0x1cf)][_0x2e344b(0x1ed)][_0x2e344b(0x1ee)](_0x2e344b(0x1ea)),_0x68a826=_0x4b2b14[0x0],_0x459727=this[_0x2e344b(0x1e6)](_0x5cf618,_0x68a826[_0x2e344b(0x1de)]);return _0x459727[_0x2e344b(0x1d2)]=_0x68a826[_0x2e344b(0x1d2)],_0x459727[_0x2e344b(0x1e2)](_0x2e344b(0x219))['to'](_0x3fe020,_0x2e344b(0x212),_0x2a6224=>_0x59ffa3(_0x1d4c19,_0x68a826[_0x2e344b(0x1de)],_0x2a6224?_0x2e344b(0x1e5):_0x2e344b(0x21d))[_0x2e344b(0x213)]),_0x459727[_0x2e344b(0x1e7)]=!0x0,_0x459727;}[_0x4d690c(0x211)](_0x1dfb95){const _0x4bebab=_0x4d690c,{locale:_0x32069b}=this[_0x4bebab(0x1cf)],_0x4fc8ee=this[_0x4bebab(0x1cf)][_0x4bebab(0x1ed)][_0x4bebab(0x1ee)](_0x4bebab(0x1ea));return _0x1dfb95[_0x4bebab(0x1eb)](_0x3a7031=>{const _0x5d78b5=_0x4bebab,_0xf2de53=this[_0x5d78b5(0x1e6)](_0x5cf618,_0x3a7031[_0x5d78b5(0x1de)]);return _0xf2de53[_0x5d78b5(0x217)]=!0x0,_0xf2de53[_0x5d78b5(0x1d2)]=_0x3a7031[_0x5d78b5(0x1d2)],_0xf2de53[_0x5d78b5(0x1e2)](_0x5d78b5(0x219))['to'](_0x4fc8ee,_0x5d78b5(0x212),_0x502bf2=>_0x59ffa3(_0x32069b,_0x3a7031[_0x5d78b5(0x1de)],_0x502bf2?_0x5d78b5(0x1e5):_0x5d78b5(0x21d))[_0x5d78b5(0x213)]),_0xf2de53;});}[_0x4d690c(0x1ef)](_0xda91be){const _0x399366=_0x4d690c;return _0xda91be[_0x399366(0x1eb)](_0x275610=>{const _0x23e869=_0x399366,_0x3c7c48=this[_0x23e869(0x1e6)](_0x372469,_0x275610[_0x23e869(0x1de)]);return _0x3c7c48[_0x23e869(0x1d2)]=_0x275610[_0x23e869(0x1d2)],_0x3c7c48[_0x23e869(0x219)]=_0x275610[_0x23e869(0x20d)],_0x3c7c48;});}}
23
+ const _0x1b288d=_0x1158;(function(_0x3189b3,_0xf1f9fa){const _0x222276=_0x1158,_0x6acc9d=_0x3189b3();while(!![]){try{const _0x5d4622=parseInt(_0x222276(0xae))/0x1*(parseInt(_0x222276(0x94))/0x2)+parseInt(_0x222276(0x80))/0x3+-parseInt(_0x222276(0x9b))/0x4+parseInt(_0x222276(0x9d))/0x5+parseInt(_0x222276(0x91))/0x6*(parseInt(_0x222276(0x86))/0x7)+-parseInt(_0x222276(0x8f))/0x8+parseInt(_0x222276(0xb3))/0x9*(-parseInt(_0x222276(0x89))/0xa);if(_0x5d4622===_0xf1f9fa)break;else _0x6acc9d['push'](_0x6acc9d['shift']());}catch(_0x5b6673){_0x6acc9d['push'](_0x6acc9d['shift']());}}}(_0x4440,0x6a208));import{Plugin as _0x335036}from'ckeditor5/src/core.js';import{IconDropbox as _0x2b3600,IconFacebook as _0x26be96,IconGoogleDrive as _0x18066f,IconGooglePhotos as _0x23b112,IconUploadcareImageUpload as _0x323611,IconUploadcareLink as _0x4b5abc,IconOneDrive as _0x49436d}from'ckeditor5/src/icons.js';import{ButtonView as _0x213871,MenuBarMenuListItemButtonView as _0x1b3ee3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x466890}from'./uploadcareconfig.js';function _0x4440(){const _0x24ab50=['UploadcareUI','upload','_createMenuBarButtons','forEach','_licenseKeyCheckInterval','_showLicenseError','invalid','uploadcareLicenseKeyUsageLimit','featureNotAllowed','_normalizeConfigSourceList','bind','destroy','Replace','text','isOfficialPlugin','Facebook','entries','pluginName','_createToolbarButton','domainLimit','licenseKey','2181096wBfDOn','plugins','config','assetManager','uploadcareLicenseKeyExpired','get','21eEyENs','_getIntegrationKey','afterInit','10lVoSiU','label','editor','uploadcareLicenseKeyDomainLimit','locale','init','538992ABQVRb','Uploadcare','654294Xmxthv','_createButton','GPhotos','2YoYBmH','has','isEnabled','URL','uploadcare.uploader.sourceList','usageLimit','Insert','2624324aLdJoS','Local','15480bFzieu','map','icon','expired','shortText','isPremiumPlugin','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyValid','OneDrive','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','commands','trialLimit','ImageInsertUI','execute','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','526253KnISVu','push','evaluationLimit','reduce','tooltip','3828393EAfyTy','uploadcare','registerIntegration','url','type','GDrive','Dropbox','withText','isImageSelected'];_0x4440=function(){return _0x24ab50;};return _0x4440();}import{getTranslation as _0x403fe9}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';function _0x1158(_0xe13b60,_0x429879){const _0x4440c2=_0x4440();return _0x1158=function(_0x1158ed,_0x235508){_0x1158ed=_0x1158ed-0x74;let _0xe78e42=_0x4440c2[_0x1158ed];return _0xe78e42;},_0x1158(_0xe13b60,_0x429879);}export default class e extends _0x335036{[_0x1b288d(0x7f)];[_0x1b288d(0xc0)];static get[_0x1b288d(0x7c)](){const _0x3b23ac=_0x1b288d;return _0x3b23ac(0xbc);}static get[_0x1b288d(0x79)](){return!0x0;}static get[_0x1b288d(0xa2)](){return!0x0;}[_0x1b288d(0x8e)](){const _0xba2922=_0x1b288d;this[_0xba2922(0x7f)]=this[_0xba2922(0x8b)][_0xba2922(0x82)][_0xba2922(0x85)](_0xba2922(0x7f));const _0x537943=this[_0xba2922(0x8b)];this[_0xba2922(0xc0)]=setInterval(()=>{const _0x16cf74=_0xba2922;let _0x2f17c0;for(const _0x47200e in _0x537943){const _0x3e77dc=_0x47200e,_0x4b2417=_0x537943[_0x3e77dc];if(_0x16cf74(0xa4)==_0x4b2417||_0x16cf74(0xa6)==_0x4b2417||_0x16cf74(0x84)==_0x4b2417||_0x16cf74(0x8c)==_0x4b2417||_0x16cf74(0xa3)==_0x4b2417||_0x16cf74(0xa7)==_0x4b2417||_0x16cf74(0xad)==_0x4b2417||_0x16cf74(0xc3)==_0x4b2417){delete _0x537943[_0x3e77dc],_0x2f17c0=_0x4b2417,clearInterval(this[_0x16cf74(0xc0)]),this[_0x16cf74(0xc0)]=void 0x0;break;}}_0x16cf74(0xa6)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xc2)),_0x16cf74(0x84)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xa0)),_0x16cf74(0x8c)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0x7e)),_0x16cf74(0xa3)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xc4),_0x16cf74(0x90)),_0x16cf74(0xa7)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xb0)),_0x16cf74(0xad)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0xa9)),_0x16cf74(0xc3)==_0x2f17c0&&_0x537943[_0x16cf74(0xc1)](_0x16cf74(0x99));},0x3e8);}[_0x1b288d(0x88)](){const _0x139340=_0x1b288d,{editor:_0x14314e}=this,_0x1adbb1=_0x14314e[_0x139340(0xa8)][_0x139340(0x85)](_0x139340(0xb4));if(!_0x1adbb1)return;const _0x2542cb=this[_0x139340(0x74)](_0x14314e[_0x139340(0x82)][_0x139340(0x85)](_0x139340(0x98)))[_0x139340(0xb1)]((_0x1a17f6,_0xaf327e)=>{const _0x25e6ee=_0x139340,_0x3fba52=this[_0x25e6ee(0x87)](_0xaf327e[_0x25e6ee(0xb7)]);return _0x1a17f6[_0x3fba52]||(_0x1a17f6[_0x3fba52]=[]),_0x1a17f6[_0x3fba52][_0x25e6ee(0xaf)](_0xaf327e),_0x1a17f6;},{});_0x14314e[_0x139340(0x81)][_0x139340(0x95)](_0x139340(0xaa))&&_0x14314e[_0x139340(0xa8)][_0x139340(0x85)](_0x139340(0xb4))&&Object[_0x139340(0x7b)](_0x2542cb)[_0x139340(0xbf)](([_0xf52922,_0x641f0e])=>{const _0x1c4bf5=_0x139340;_0x14314e[_0x1c4bf5(0x81)][_0x1c4bf5(0x85)](_0x1c4bf5(0xaa))[_0x1c4bf5(0xb5)]({'name':_0xf52922,'observable':()=>_0x1adbb1,'buttonViewCreator':()=>this[_0x1c4bf5(0x7d)](_0x641f0e),'formViewCreator':()=>this[_0x1c4bf5(0xac)](_0x641f0e),'menuBarButtonViewCreator':()=>this[_0x1c4bf5(0xbe)](_0x641f0e),'override':_0x1c4bf5(0x83)!==_0xf52922});});}[_0x1b288d(0x76)](){const _0x2d2630=_0x1b288d;super[_0x2d2630(0x76)](),this[_0x2d2630(0xc0)]&&clearInterval(this[_0x2d2630(0xc0)]);}[_0x1b288d(0x74)](_0x5408db){const _0x4f5624=_0x1b288d,{locale:_0x50d5a6}=this[_0x4f5624(0x8b)];return _0x5408db[_0x4f5624(0x9e)](_0x3c0263=>{const _0x10b602=_0x4f5624,_0x5158a8=_0x403fe9(_0x50d5a6,_0x3c0263,_0x10b602(0x9a));switch(_0x3c0263){case _0x466890[_0x10b602(0x9c)]:return{'icon':_0x323611,'type':_0x466890[_0x10b602(0x9c)],..._0x5158a8};case _0x466890[_0x10b602(0x97)]:return{'icon':_0x4b5abc,'type':_0x466890[_0x10b602(0x97)],..._0x5158a8};case _0x466890[_0x10b602(0xb9)]:return{'icon':_0x2b3600,'type':_0x466890[_0x10b602(0xb9)],..._0x5158a8};case _0x466890[_0x10b602(0x7a)]:return{'icon':_0x26be96,'type':_0x466890[_0x10b602(0x7a)],..._0x5158a8};case _0x466890[_0x10b602(0xb8)]:return{'icon':_0x18066f,'type':_0x466890[_0x10b602(0xb8)],..._0x5158a8};case _0x466890[_0x10b602(0x93)]:return{'icon':_0x23b112,'type':_0x466890[_0x10b602(0x93)],..._0x5158a8};case _0x466890[_0x10b602(0xa5)]:return{'icon':_0x49436d,'type':_0x466890[_0x10b602(0xa5)],..._0x5158a8};}});}[_0x1b288d(0x87)](_0xa0ae9c){const _0xe21303=_0x1b288d;switch(_0xa0ae9c){case _0x466890[_0xe21303(0x9c)]:return _0xe21303(0xbd);case _0x466890[_0xe21303(0x97)]:return _0xe21303(0xb6);default:return _0xe21303(0x83);}}[_0x1b288d(0x92)](_0x6691ed,_0x28dff4){const _0x294963=_0x1b288d,_0x15dfab=this[_0x294963(0x8b)],_0xd01e90=new _0x6691ed(_0x15dfab[_0x294963(0x8d)]),_0x13e131=_0x15dfab[_0x294963(0xa8)][_0x294963(0x85)](_0x294963(0xb4));return _0xd01e90[_0x294963(0x75)](_0x294963(0x96))['to'](_0x13e131),_0xd01e90['on'](_0x294963(0xab),()=>{const _0x4da665=_0x294963;_0x13e131[_0x4da665(0xab)](_0x28dff4);}),_0xd01e90;}[_0x1b288d(0x7d)](_0x506df9){const _0x39c87c=_0x1b288d,{locale:_0x8cf9bc}=this[_0x39c87c(0x8b)],_0x20b6fa=this[_0x39c87c(0x8b)][_0x39c87c(0x81)][_0x39c87c(0x85)](_0x39c87c(0xaa)),_0x54479f=_0x506df9[0x0],_0x15f7d1=this[_0x39c87c(0x92)](_0x213871,_0x54479f[_0x39c87c(0xb7)]);return _0x15f7d1[_0x39c87c(0x9f)]=_0x54479f[_0x39c87c(0x9f)],_0x15f7d1[_0x39c87c(0x75)](_0x39c87c(0x8a))['to'](_0x20b6fa,_0x39c87c(0xbb),_0x3a4741=>_0x403fe9(_0x8cf9bc,_0x54479f[_0x39c87c(0xb7)],_0x3a4741?_0x39c87c(0x77):_0x39c87c(0x9a))[_0x39c87c(0x78)]),_0x15f7d1[_0x39c87c(0xb2)]=!0x0,_0x15f7d1;}[_0x1b288d(0xac)](_0x2672c1){const _0x542c5c=_0x1b288d,{locale:_0xf32d3c}=this[_0x542c5c(0x8b)],_0x58571d=this[_0x542c5c(0x8b)][_0x542c5c(0x81)][_0x542c5c(0x85)](_0x542c5c(0xaa));return _0x2672c1[_0x542c5c(0x9e)](_0x525fa9=>{const _0x17c8e6=_0x542c5c,_0x49f7f6=this[_0x17c8e6(0x92)](_0x213871,_0x525fa9[_0x17c8e6(0xb7)]);return _0x49f7f6[_0x17c8e6(0xba)]=!0x0,_0x49f7f6[_0x17c8e6(0x9f)]=_0x525fa9[_0x17c8e6(0x9f)],_0x49f7f6[_0x17c8e6(0x75)](_0x17c8e6(0x8a))['to'](_0x58571d,_0x17c8e6(0xbb),_0x32cccd=>_0x403fe9(_0xf32d3c,_0x525fa9[_0x17c8e6(0xb7)],_0x32cccd?_0x17c8e6(0x77):_0x17c8e6(0x9a))[_0x17c8e6(0x78)]),_0x49f7f6;});}[_0x1b288d(0xbe)](_0xe00bc6){const _0x306a4f=_0x1b288d;return _0xe00bc6[_0x306a4f(0x9e)](_0x866adb=>{const _0x121303=_0x306a4f,_0x5dafea=this[_0x121303(0x92)](_0x1b3ee3,_0x866adb[_0x121303(0xb7)]);return _0x5dafea[_0x121303(0x9f)]=_0x866adb[_0x121303(0x9f)],_0x5dafea[_0x121303(0x8a)]=_0x866adb[_0x121303(0xa1)],_0x5dafea;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x75eb6f}from'ckeditor5/src/core.js';import{FileRepository as _0x406414}from'ckeditor5/src/upload.js';import _0x57ad65 from'./uploadcareediting.js';import _0x1cc203 from'./utils/uploadutils.js';import{getImageUrls as _0x1e03c5}from'./utils/editingutils.js';export default class p extends _0x75eb6f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x406414,_0x57ad65];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2181e3=this['editor'];if(!!!_0x2181e3['config']['get']('uploadcare'))return;_0x2181e3['plugins']['get'](_0x406414)['createUploadAdapter']=_0x58363e=>new x(_0x58363e,_0x2181e3),_0x2181e3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16a957,{imageElement:_0x4c1e4f,data:_0x316295})=>{_0x2181e3['model']['change'](_0x91ea83=>{_0x91ea83['setAttribute']('uploadcareImageId',_0x316295['uploadcareImageId'],_0x4c1e4f);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x56a941,_0x9a43e8){this['loader']=_0x56a941,this['editor']=_0x9a43e8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xabb8c1=this['editor']['config']['get']('uploadcare.pubkey'),_0x45852e=await this['loader']['file'];return _0x1cc203['upload']({'file':_0x45852e,'publicKey':_0xabb8c1,'signal':this['controller']['signal'],'onProgress':_0x454233=>{_0x454233&&_0x454233['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x454233['value']);}})['then'](async _0x6c4425=>{const {imageFallbackUrl:_0x423d78,imageSources:_0x1df9ba}=_0x1e03c5(_0x6c4425['cdnUrl'],_0x6c4425['imageInfo']['width']);return{'uploadcareImageId':_0x6c4425['uuid'],'default':_0x423d78,'sources':_0x1df9ba};})['catch'](()=>{const _0x2b8de3=t('Cannot\x20upload\x20file:')+('\x20'+_0x45852e['name']+'.');return Promise['reject'](_0x2b8de3);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x6b1237}from'ckeditor5/src/core.js';import{FileRepository as _0x43a7ae}from'ckeditor5/src/upload.js';import _0xc5b8fc from'./uploadcareediting.js';import _0x24034c from'./utils/uploadutils.js';import{getImageUrls as _0x17c53a}from'./utils/editingutils.js';export default class p extends _0x6b1237{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x43a7ae,_0xc5b8fc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x82a341=this['editor'];if(!!!_0x82a341['config']['get']('uploadcare'))return;_0x82a341['plugins']['get'](_0x43a7ae)['createUploadAdapter']=_0xa89098=>new x(_0xa89098,_0x82a341),_0x82a341['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1958e9,{imageElement:_0x3e50b1,data:_0x3505})=>{_0x82a341['model']['change'](_0x1f536c=>{_0x1f536c['setAttribute']('uploadcareImageId',_0x3505['uploadcareImageId'],_0x3e50b1);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x34f367,_0x521b38){this['loader']=_0x34f367,this['editor']=_0x521b38,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x110073=this['editor']['config']['get']('uploadcare.pubkey'),_0x2eab6e=await this['loader']['file'];return _0x24034c['upload']({'file':_0x2eab6e,'publicKey':_0x110073,'signal':this['controller']['signal'],'onProgress':_0x21f1db=>{_0x21f1db&&_0x21f1db['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x21f1db['value']);}})['then'](async _0x40d9aa=>{const {imageFallbackUrl:_0x5d34c7,imageSources:_0x1a410c}=_0x17c53a(_0x40d9aa['cdnUrl'],_0x40d9aa['imageInfo']['width']);return{'uploadcareImageId':_0x40d9aa['uuid'],'default':_0x5d34c7,'sources':_0x1a410c};})['catch'](()=>{const _0x3cb85f=t('Cannot\x20upload\x20file:')+('\x20'+_0x2eab6e['name']+'.');return Promise['reject'](_0x3cb85f);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xcb8dd4}from'../uploadcareconfig.js';export function getTranslation(_0x545632,_0x7b347,_0x47bde5){const t=_0x545632['t'],_0x2b82a0=_0x545632['t'];switch(_0x7b347){case _0xcb8dd4['Local']:return{'text':_0x2b82a0('Insert'===_0x47bde5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2b82a0('From\x20computer')};case _0xcb8dd4['URL']:return{'text':'Insert'===_0x47bde5?_0x2b82a0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2b82a0('Via\x20URL')};case _0xcb8dd4['Dropbox']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xcb8dd4['Facebook']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xcb8dd4['GDrive']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xcb8dd4['GPhotos']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xcb8dd4['OneDrive']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x7b347;}}
23
+ import{UploadcareSource as _0x9c8c52}from'../uploadcareconfig.js';export function getTranslation(_0x4bf178,_0x4767f5,_0x50284b){const t=_0x4bf178['t'],_0x3f08e6=_0x4bf178['t'];switch(_0x4767f5){case _0x9c8c52['Local']:return{'text':_0x3f08e6('Insert'===_0x50284b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3f08e6('From\x20computer')};case _0x9c8c52['URL']:return{'text':'Insert'===_0x50284b?_0x3f08e6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3f08e6('Via\x20URL')};case _0x9c8c52['Dropbox']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x9c8c52['Facebook']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x9c8c52['GDrive']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x9c8c52['GPhotos']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x9c8c52['OneDrive']:return{'text':t('Insert'===_0x50284b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4767f5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4652d1=_0x2124;(function(_0x2e43ab,_0x100cb2){var _0x2b2792=_0x2124,_0xce3f36=_0x2e43ab();while(!![]){try{var _0x481abe=-parseInt(_0x2b2792(0xd4))/0x1+-parseInt(_0x2b2792(0xe2))/0x2*(parseInt(_0x2b2792(0xd8))/0x3)+parseInt(_0x2b2792(0xe3))/0x4+-parseInt(_0x2b2792(0xd2))/0x5*(parseInt(_0x2b2792(0xd5))/0x6)+parseInt(_0x2b2792(0xdf))/0x7*(parseInt(_0x2b2792(0xe4))/0x8)+-parseInt(_0x2b2792(0xde))/0x9+parseInt(_0x2b2792(0xe0))/0xa;if(_0x481abe===_0x100cb2)break;else _0xce3f36['push'](_0xce3f36['shift']());}catch(_0x421df5){_0xce3f36['push'](_0xce3f36['shift']());}}}(_0x4d85,0x5c983));import{FocusTracker as _0x285e11}from'ckeditor5/src/utils.js';function _0x4d85(){var _0x1c4ead=['26886gHNJwc','getFocusableElement','createCollection','7839UxLgCV','focusCycler','focusTracker','fire','div','forwardCycle','5181480VLfOWw','1106007OWuFiP','6020930RwfWlz','true','38JlsBeZ','601508yPzXiz','24cUeamQ','35YPNoVd','bindTemplate','190472MHJkaF'];_0x4d85=function(){return _0x1c4ead;};return _0x4d85();}import{View as _0x272380,FocusCycler as _0xb0c148}from'ckeditor5/src/ui.js';function _0x2124(_0x5b28d9,_0x8d3035){var _0x4d853c=_0x4d85();return _0x2124=function(_0x212460,_0x27430e){_0x212460=_0x212460-0xd2;var _0x4e5a6a=_0x4d853c[_0x212460];return _0x4e5a6a;},_0x2124(_0x5b28d9,_0x8d3035);}import'../../theme/uploadcare-form.css';export default class q extends _0x272380{[_0x4652d1(0xda)];[_0x4652d1(0xd9)];constructor(_0x335a25){var _0x52f3ea=_0x4652d1;super(_0x335a25),this[_0x52f3ea(0xda)]=new _0x285e11(),this[_0x52f3ea(0xd9)]=new _0xb0c148({'focusables':this[_0x52f3ea(0xd7)](),'focusTracker':this[_0x52f3ea(0xda)]});}[_0x4652d1(0xd6)](){var _0x12a350=_0x4652d1;return{'tag':_0x12a350(0xdc),'attributes':{'aria-hidden':_0x12a350(0xe1),'tabindex':'0'},'on':{'focus':this[_0x12a350(0xd3)]['to'](()=>{var _0x4a6615=_0x12a350;this[_0x4a6615(0xd9)][_0x4a6615(0xdb)](_0x4a6615(0xdd));})}};}}
23
+ var _0xa37c94=_0x1007;(function(_0x91b593,_0x2681d0){var _0x3f7435=_0x1007,_0x4f689a=_0x91b593();while(!![]){try{var _0x265df5=-parseInt(_0x3f7435(0x164))/0x1*(parseInt(_0x3f7435(0x15d))/0x2)+parseInt(_0x3f7435(0x157))/0x3+parseInt(_0x3f7435(0x167))/0x4*(-parseInt(_0x3f7435(0x158))/0x5)+parseInt(_0x3f7435(0x162))/0x6*(-parseInt(_0x3f7435(0x163))/0x7)+-parseInt(_0x3f7435(0x159))/0x8+-parseInt(_0x3f7435(0x15e))/0x9+parseInt(_0x3f7435(0x15b))/0xa;if(_0x265df5===_0x2681d0)break;else _0x4f689a['push'](_0x4f689a['shift']());}catch(_0x19b58d){_0x4f689a['push'](_0x4f689a['shift']());}}}(_0x2d0d,0x94d21));function _0x2d0d(){var _0x547218=['bindTemplate','12QfCAYR','767669jRrVUn','1jriAjX','createCollection','focusTracker','4377572RUrUll','fire','focusCycler','1531317JMyFyM','5Dczqjy','4264304WtgLwo','true','34587820JftXjl','getFocusableElement','1722590bYejGM','5864328gVIRgY','forwardCycle','div'];_0x2d0d=function(){return _0x547218;};return _0x2d0d();}import{FocusTracker as _0x1b03f8}from'ckeditor5/src/utils.js';import{View as _0x57b703,FocusCycler as _0x1077a7}from'ckeditor5/src/ui.js';function _0x1007(_0x1e2094,_0x4c4fb3){var _0x2d0d3f=_0x2d0d();return _0x1007=function(_0x10070f,_0x29cb6d){_0x10070f=_0x10070f-0x157;var _0x25e5ba=_0x2d0d3f[_0x10070f];return _0x25e5ba;},_0x1007(_0x1e2094,_0x4c4fb3);}import'../../theme/uploadcare-form.css';export default class q extends _0x57b703{[_0xa37c94(0x166)];[_0xa37c94(0x169)];constructor(_0x4c8592){var _0x126310=_0xa37c94;super(_0x4c8592),this[_0x126310(0x166)]=new _0x1b03f8(),this[_0x126310(0x169)]=new _0x1077a7({'focusables':this[_0x126310(0x165)](),'focusTracker':this[_0x126310(0x166)]});}[_0xa37c94(0x15c)](){var _0x231254=_0xa37c94;return{'tag':_0x231254(0x160),'attributes':{'aria-hidden':_0x231254(0x15a),'tabindex':'0'},'on':{'focus':this[_0x231254(0x161)]['to'](()=>{var _0x19c341=_0x231254;this[_0x19c341(0x169)][_0x19c341(0x168)](_0x19c341(0x15f));})}};}}