@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250617.0 → 0.0.0-nightly-20250619.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +10 -10
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.d.ts +1 -1
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.js +1 -1
  157. package/src/uploadcareediting.d.ts +11 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42462b=_0x3b57;function _0x3b57(_0x775f90,_0x44198a){const _0x3dcbcb=_0x3dcb();return _0x3b57=function(_0x3b57c2,_0x16e996){_0x3b57c2=_0x3b57c2-0xe1;let _0x3cfbf0=_0x3dcbcb[_0x3b57c2];return _0x3cfbf0;},_0x3b57(_0x775f90,_0x44198a);}(function(_0x3e2665,_0x1afade){const _0x4a5519=_0x3b57,_0x4791f7=_0x3e2665();while(!![]){try{const _0x3eb91d=parseInt(_0x4a5519(0x10a))/0x1+-parseInt(_0x4a5519(0x102))/0x2+parseInt(_0x4a5519(0x125))/0x3*(-parseInt(_0x4a5519(0xf6))/0x4)+parseInt(_0x4a5519(0xf4))/0x5+parseInt(_0x4a5519(0xf0))/0x6*(-parseInt(_0x4a5519(0x11a))/0x7)+-parseInt(_0x4a5519(0xed))/0x8+parseInt(_0x4a5519(0x114))/0x9*(parseInt(_0x4a5519(0xfc))/0xa);if(_0x3eb91d===_0x1afade)break;else _0x4791f7['push'](_0x4791f7['shift']());}catch(_0x55c6af){_0x4791f7['push'](_0x4791f7['shift']());}}}(_0x3dcb,0x3af77));import{Plugin as _0x3a0782}from'ckeditor5/src/core.js';import{Dialog as _0x3d316a}from'ckeditor5/src/ui.js';import{createElement as _0x515ca2,global as _0x478868,uid as _0x58cb21}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x38e337}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x277389}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4b2d36}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3a0782{[_0x42462b(0x120)]=null;[_0x42462b(0x105)]=null;static get[_0x42462b(0xff)](){const _0x5f50c7=_0x42462b;return _0x5f50c7(0xf9);}static get[_0x42462b(0x11c)](){const _0x20f00b=_0x42462b;return[_0x20f00b(0xe6),_0x277389,_0x3d316a];}static get[_0x42462b(0xe7)](){return!0x0;}static get[_0x42462b(0x11d)](){return!0x0;}get[_0x42462b(0x116)](){const _0x1d18f5=_0x42462b;return this[_0x1d18f5(0x120)];}get[_0x42462b(0x12b)](){const _0x196da5=_0x42462b;return this[_0x196da5(0x105)];}[_0x42462b(0xe8)](){const _0x37a63f=_0x42462b,_0x3720e4=this[_0x37a63f(0x119)];_0x3720e4[_0x37a63f(0xef)][_0x37a63f(0xec)](_0x37a63f(0x110),new _0x38e337(_0x3720e4));}[_0x42462b(0xe4)](){const _0x198b8c=_0x42462b;this[_0x198b8c(0xfd)](),this[_0x198b8c(0x133)](),this[_0x198b8c(0x12e)](),this[_0x198b8c(0x131)](),this[_0x198b8c(0x101)](),this[_0x198b8c(0xfa)](this[_0x198b8c(0x119)],_0x198b8c(0x10e),()=>{const _0x589096=_0x198b8c;this[_0x589096(0x120)]&&(this[_0x589096(0x120)][_0x589096(0x107)](),this[_0x589096(0x120)]=null),this[_0x589096(0x105)]&&(this[_0x589096(0x105)][_0x589096(0x107)](),this[_0x589096(0x105)]=null);const _0x2c33be=_0x478868[_0x589096(0x134)][_0x589096(0x127)](_0x589096(0x109));_0x2c33be&&_0x2c33be[_0x589096(0x107)]();}),async function(_0x30c865){const _0x576c98=_0x1f8bd0([0x4a,0x45,0x50,0x73,0x48,0x6c,0x46,0x41,0x52,0x66,0x43,0x69,0x6e,0x61,0x36,0x53,0x39,0x64,0x79,0x55,0x33,0x76,0x6d,0x54,0x77,0x63,0x68,0x4f,0x4b,0x78,0x38,0x44,0x4c,0x59,0x31,0x6b,0x4e,0x70,0x49,0x71,0x67,0x6f,0x51,0x65,0x32,0x34,0x42,0x35,0x58,0x6a,0x47,0x37,0x62,0x7a,0x4d,0x74,0x57,0x75,0x56,0x72,0x30,0x5a]),_0x9d15c7=0x3db50156,_0xde7781=0x3db26a56^_0x9d15c7,_0x33550b=window[_0x1f8bd0([0x44,0x61,0x74,0x65])][_0x1f8bd0([0x6e,0x6f,0x77])](),_0x366057=_0x30c865[_0x1f8bd0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b403f=new window[(_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcce9d5=>{_0x366057[_0x1f8bd0([0x6f,0x6e,0x63,0x65])](_0x1f8bd0([0x72,0x65,0x61,0x64,0x79]),_0xcce9d5);}),_0x2aa69c={[_0x1f8bd0([0x6b,0x74,0x79])]:_0x1f8bd0([0x45,0x43]),[_0x1f8bd0([0x75,0x73,0x65])]:_0x1f8bd0([0x73,0x69,0x67]),[_0x1f8bd0([0x63,0x72,0x76])]:_0x1f8bd0([0x50,0x2d,0x32,0x35,0x36]),[_0x1f8bd0([0x78])]:_0x1f8bd0([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]),[_0x1f8bd0([0x79])]:_0x1f8bd0([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]),[_0x1f8bd0([0x61,0x6c,0x67])]:_0x1f8bd0([0x45,0x53,0x32,0x35,0x36])},_0x16fb6c=_0x366057[_0x1f8bd0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f8bd0([0x67,0x65,0x74])](_0x1f8bd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3da1bd(){let _0x1b8fa5,_0x4a2ddb=null,_0x49bd95=null;try{if(_0x16fb6c==_0x1f8bd0([0x47,0x50,0x4c]))return _0x1f8bd0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b8fa5=_0x970626(),!_0x1b8fa5)return _0x1f8bd0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b8fa5[_0x1f8bd0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49bd95=_0x3e7bd7(_0x1b8fa5[_0x1f8bd0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b8fa5[_0x1f8bd0([0x6a,0x74,0x69])])),await _0x40423a()?_0x347fa4()?_0x3b1f9a()?_0x1f8bd0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc52724()?(_0x1b8fa5[_0x1f8bd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f8bd0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a2ddb=_0x30d28b(_0x1f8bd0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b8fa5[_0x1f8bd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f8bd0([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a2ddb=_0x30d28b(_0x1f8bd0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdce413()):_0x1f8bd0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f8bd0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f8bd0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f8bd0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b1f9a(){const _0x2b0555=[_0x1f8bd0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f8bd0([0x74,0x72,0x69,0x61,0x6c])][_0x1f8bd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8fa5[_0x1f8bd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33550b/0x3e8:0xe10*_0xde7781;return _0x1b8fa5[_0x1f8bd0([0x65,0x78,0x70])]<_0x2b0555;}function _0x347fa4(){const _0x2a10ce=_0x1b8fa5[_0x1f8bd0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a10ce&&(!!_0x2a10ce[_0x1f8bd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8bd0([0x2a]))||!!_0x2a10ce[_0x1f8bd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8bd0([0x55,0x50,0x4c,0x43])));}function _0xc52724(){const _0x299100=_0x3b57,_0x566628=_0x1b8fa5[_0x1f8bd0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x566628||0x0==_0x566628[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x60c7de}=new URL(window[_0x1f8bd0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x299100(0xfb)]);if(_0x566628[_0x1f8bd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x60c7de))return!0x0;const _0x4400b9=_0x60c7de[_0x1f8bd0([0x73,0x70,0x6c,0x69,0x74])](_0x1f8bd0([0x2e]));return _0x566628[_0x1f8bd0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x510eb7=>_0x510eb7[_0x1f8bd0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f8bd0([0x2a])))[_0x1f8bd0([0x6d,0x61,0x70])](_0x10d0d0=>_0x10d0d0[_0x1f8bd0([0x73,0x70,0x6c,0x69,0x74])](_0x1f8bd0([0x2e])))[_0x1f8bd0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x150c81=>_0x150c81[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4400b9[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f8bd0([0x6d,0x61,0x70])](_0x119721=>Array(_0x4400b9[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x119721[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f8bd0([0x66,0x69,0x6c,0x6c])](_0x119721[0x0]===_0x1f8bd0([0x2a])?_0x1f8bd0([0x2a]):'')[_0x1f8bd0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x119721))[_0x1f8bd0([0x73,0x6f,0x6d,0x65])](_0x208aaa=>_0x4400b9[_0x1f8bd0([0x65,0x76,0x65,0x72,0x79])]((_0x29e5f5,_0x3d4855)=>_0x208aaa[_0x3d4855]===_0x29e5f5||_0x208aaa[_0x3d4855]===_0x1f8bd0([0x2a])));}function _0xdce413(){return _0x4a2ddb&&_0x49bd95?new window[(_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b961d,_0x4897c6)=>{_0x4a2ddb[_0x1f8bd0([0x74,0x68,0x65,0x6e])](_0x3b961d,_0x4897c6),_0x49bd95[_0x1f8bd0([0x74,0x68,0x65,0x6e])](_0x653035=>{_0x653035!=_0x1f8bd0([0x56,0x61,0x6c,0x69,0x64])&&_0x3b961d(_0x653035);},_0x4897c6);}):_0x4a2ddb||_0x49bd95||_0x1f8bd0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e7bd7(_0x391e5a,_0x985ef2){return new window[(_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45bb96=>{if(_0xbf18a8())return _0x45bb96(_0x1f8bd0([0x56,0x61,0x6c,0x69,0x64]));_0x5a5d16(),_0x366057[_0x1f8bd0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f8bd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x216537=!0x1;const _0x38e1fd=_0x58cb21();function _0x475456(_0x2f6dc1){return!!_0x2f6dc1&&(typeof _0x2f6dc1===_0x1f8bd0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f6dc1===_0x1f8bd0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f6dc1[_0x1f8bd0([0x74,0x68,0x65,0x6e])]===_0x1f8bd0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f6dc1[_0x1f8bd0([0x63,0x61,0x74,0x63,0x68])]===_0x1f8bd0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf2be72(_0x3eea50){_0x8798ed(_0x3eea50)[_0x1f8bd0([0x74,0x68,0x65,0x6e])](_0x3df203=>{if(!_0x3df203||_0x3df203[_0x1f8bd0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f8bd0([0x6f,0x6b]))return _0x1f8bd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4acd5b(_0x169604(_0x38e1fd+_0x985ef2))!=_0x3df203[_0x1f8bd0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f8bd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f8bd0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f8bd0([0x74,0x68,0x65,0x6e])](_0x381a19=>(_0x2d02f6(),_0x381a19),()=>{const _0x27e572=_0x248e31();return null==_0x27e572?(_0x2d02f6(),_0x1f8bd0([0x56,0x61,0x6c,0x69,0x64])):_0x1f8bd0(_0x33550b-_0x27e572>(0x19b98556^_0x9d15c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f8bd0([0x74,0x68,0x65,0x6e])](_0x45bb96)[_0x1f8bd0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45bb96(_0x1f8bd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56ccbe=0x3d83efd6^_0x9d15c7;function _0x2d02f6(){const _0x2f9e29=_0x1f8bd0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4acd5b(_0x169604(_0x391e5a)),_0x32a679=_0x136901(_0x4acd5b(window[_0x1f8bd0([0x4d,0x61,0x74,0x68])][_0x1f8bd0([0x63,0x65,0x69,0x6c])](_0x33550b/_0x56ccbe)));window[_0x1f8bd0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f8bd0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f9e29,_0x32a679);}function _0x248e31(){const _0x555f6d=_0x1f8bd0([0x6c,0x6c,0x63,0x74,0x2d])+_0x4acd5b(_0x169604(_0x391e5a)),_0x5845ba=window[_0x1f8bd0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f8bd0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x555f6d);return _0x5845ba?window[_0x1f8bd0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x136901(_0x5845ba),0x10)*_0x56ccbe:null;}function _0x8798ed(_0x2cb360){return new window[(_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21d183,_0x408b0d)=>{_0x2cb360[_0x1f8bd0([0x74,0x68,0x65,0x6e])](_0x21d183,_0x408b0d),window[_0x1f8bd0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x408b0d,0x3db4d596^_0x9d15c7);});}}_0x366057[_0x1f8bd0([0x6f,0x6e])](_0x1f8bd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c334e,_0x570374)=>{if(_0x570374[0x0]!=_0x391e5a)return _0x45bb96(_0x1f8bd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x570374[0x1]={..._0x570374[0x1],[_0x1f8bd0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38e1fd};},{[_0x1f8bd0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f8bd0([0x68,0x69,0x67,0x68])}),_0x366057[_0x1f8bd0([0x6f,0x6e])](_0x1f8bd0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2112de=>{_0x475456(_0x2112de[_0x1f8bd0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x216537=!0x0,_0xf2be72(_0x2112de[_0x1f8bd0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f8bd0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f8bd0([0x6c,0x6f,0x77])}),_0x1b403f[_0x1f8bd0([0x74,0x68,0x65,0x6e])](()=>{_0x216537||_0x45bb96(_0x1f8bd0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xbf18a8(){return _0x366057[_0x1f8bd0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f8bd0([0x76,0x69,0x65,0x77])][_0x1f8bd0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f8bd0([0x61,0x75,0x74,0x6f]);}function _0x5a5d16(){_0x366057[_0x1f8bd0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f8bd0([0x76,0x69,0x65,0x77])][_0x1f8bd0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f8bd0([0x61,0x75,0x74,0x6f]);}}function _0x30d28b(_0x15e34f){const _0x13ab10=[new window[(_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27ea90=>setTimeout(_0x27ea90,0x3dbc3f9a^_0x9d15c7)),_0x1b403f[_0x1f8bd0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b6e9a=>{let _0x75b5ff=0x0;_0x366057[_0x1f8bd0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f8bd0([0x6f,0x6e])](_0x1f8bd0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44281a,_0x489ad2)=>{_0x489ad2[0x0][_0x1f8bd0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x75b5ff++,_0x75b5ff==(0x3db500ae^_0x9d15c7)&&(_0x3b6e9a(),_0x44281a[_0x1f8bd0([0x6f,0x66,0x66])]());});}))];return window[_0x1f8bd0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f8bd0([0x72,0x61,0x63,0x65])](_0x13ab10)[_0x1f8bd0([0x74,0x68,0x65,0x6e])](()=>_0x15e34f);}async function _0x327737(){await _0x1b403f,_0x366057[_0x1f8bd0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f8bd0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24c544,_0x366057[_0x1f8bd0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f8bd0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24c544,_0x366057[_0x1f8bd0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f8bd0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43ae54(_0xe3e599){const _0x27fd5a=_0x310f23();_0x366057[_0x27fd5a]=_0x1f8bd0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe3e599,_0xe3e599!=_0x1f8bd0([0x56,0x61,0x6c,0x69,0x64])&&_0x327737();}function _0x310f23(){const _0x32f984=window[_0x1f8bd0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f8bd0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f8bd0([0x6e,0x6f,0x77])]())[_0x1f8bd0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f8bd0([0x2e]),'');let _0x5eb465=_0x1f8bd0([0x4a]);for(let _0x3f2d7c=0x0;_0x3f2d7c<_0x32f984[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f2d7c+=0x2){let _0x4ff141=window[_0x1f8bd0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32f984[_0x1f8bd0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2d7c,_0x3f2d7c+0x2));_0x4ff141>=_0x576c98[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ff141-=_0x576c98[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5eb465+=_0x576c98[_0x4ff141];}return _0x5eb465;}function _0x970626(){const _0x39b614=_0x16fb6c[_0x1f8bd0([0x73,0x70,0x6c,0x69,0x74])](_0x1f8bd0([0x2e]));if(0x3!=_0x39b614[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x534daa(_0x39b614[0x1]);function _0x534daa(_0x4c754e){const _0x721416=_0x5b544d(_0x4c754e);return _0x721416&&_0x42b77e()?_0x721416:null;function _0x42b77e(){const _0x29226a=_0x721416[_0x1f8bd0([0x6a,0x74,0x69])],_0x380a92=window[_0x1f8bd0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29226a[_0x1f8bd0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29226a[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17deaa={..._0x721416,[_0x1f8bd0([0x6a,0x74,0x69])]:_0x29226a[_0x1f8bd0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29226a[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17deaa[_0x1f8bd0([0x76,0x63])],_0x169604(_0x17deaa)==_0x380a92;}}}async function _0x40423a(){let _0x40acc2=!0x0;try{const _0x55f8c4=_0x16fb6c[_0x1f8bd0([0x73,0x70,0x6c,0x69,0x74])](_0x1f8bd0([0x2e])),[_0x1023f8,_0x1f5887,_0x3dedfa]=_0x55f8c4;return _0xf2ec80(_0x1023f8),await _0x525b54(_0x1023f8,_0x1f5887,_0x3dedfa),_0x40acc2;}catch{return!0x1;}function _0xf2ec80(_0x203ad1){const _0x15d58c=_0x5b544d(_0x203ad1);_0x15d58c&&_0x15d58c[_0x1f8bd0([0x61,0x6c,0x67])]==_0x1f8bd0([0x45,0x53,0x32,0x35,0x36])||(_0x40acc2=!0x1);}async function _0x525b54(_0x55959b,_0x941301,_0x26c3a5){const _0x54eaba=window[_0x1f8bd0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f8bd0([0x66,0x72,0x6f,0x6d])](_0x569ccb(_0x26c3a5),_0x2fd6b9=>_0x2fd6b9[_0x1f8bd0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4432b1=new window[(_0x1f8bd0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f8bd0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55959b+_0x1f8bd0([0x2e])+_0x941301),_0x19af87=window[_0x1f8bd0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f8bd0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19af87)return;const _0xd4e1e7=await _0x19af87[_0x1f8bd0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f8bd0([0x6a,0x77,0x6b]),_0x2aa69c,{[_0x1f8bd0([0x6e,0x61,0x6d,0x65])]:_0x1f8bd0([0x45,0x43,0x44,0x53,0x41]),[_0x1f8bd0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f8bd0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f8bd0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19af87[_0x1f8bd0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f8bd0([0x6e,0x61,0x6d,0x65])]:_0x1f8bd0([0x45,0x43,0x44,0x53,0x41]),[_0x1f8bd0([0x68,0x61,0x73,0x68])]:{[_0x1f8bd0([0x6e,0x61,0x6d,0x65])]:_0x1f8bd0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd4e1e7,_0x54eaba,_0x4432b1)||(_0x40acc2=!0x1);}}function _0x5b544d(_0x331986){return _0x331986[_0x1f8bd0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f8bd0([0x65,0x79]))?JSON[_0x1f8bd0([0x70,0x61,0x72,0x73,0x65])](_0x569ccb(_0x331986)):null;}function _0x569ccb(_0x480912){return window[_0x1f8bd0([0x61,0x74,0x6f,0x62])](_0x480912[_0x1f8bd0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f8bd0([0x2b]))[_0x1f8bd0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f8bd0([0x2f])));}function _0x169604(_0x28c9a1){let _0x32a9ba=0x1505;function _0x264210(_0xe911b7){for(let _0x385e91=0x0;_0x385e91<_0xe911b7[_0x1f8bd0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x385e91++){const _0x5890a1=_0xe911b7[_0x1f8bd0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x385e91);_0x32a9ba=(_0x32a9ba<<0x5)+_0x32a9ba+_0x5890a1,_0x32a9ba&=_0x32a9ba;}}function _0x330d88(_0x1e4575){Array[_0x1f8bd0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e4575)?_0x1e4575[_0x1f8bd0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x330d88):_0x1e4575&&typeof _0x1e4575==_0x1f8bd0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f8bd0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e4575)[_0x1f8bd0([0x73,0x6f,0x72,0x74])]()[_0x1f8bd0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29e34d,_0x23fe97])=>{_0x264210(_0x29e34d),_0x330d88(_0x23fe97);}):_0x264210(window[_0x1f8bd0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e4575));}return _0x330d88(_0x28c9a1),_0x32a9ba>>>0x0;}function _0x4acd5b(_0x53d4fc){return _0x53d4fc[_0x1f8bd0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f8bd0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f8bd0([0x30]));}function _0x136901(_0x11d756){return _0x11d756[_0x1f8bd0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f8bd0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f8bd0([0x6a,0x6f,0x69,0x6e])]('');}function _0x24c544(){}function _0x1f8bd0(_0x5e8076){const _0xbb1a3=_0x3b57;return _0x5e8076[_0xbb1a3(0xeb)](_0x238c32=>String[_0xbb1a3(0x11b)](_0x238c32))[_0xbb1a3(0xf1)]('');}_0x43ae54(await _0x3da1bd());}(this);}[_0x42462b(0xfd)](){const _0x3f50b2=_0x42462b,_0x4d22b6=this[_0x3f50b2(0x119)][_0x3f50b2(0x117)][_0x3f50b2(0xe2)];_0x4d22b6[_0x3f50b2(0x108)](_0x3f50b2(0x123))&&_0x4d22b6[_0x3f50b2(0x103)](_0x3f50b2(0x123),{'allowAttributes':[_0x3f50b2(0xe1)]}),_0x4d22b6[_0x3f50b2(0x108)](_0x3f50b2(0xf7))&&_0x4d22b6[_0x3f50b2(0x103)](_0x3f50b2(0xf7),{'allowAttributes':[_0x3f50b2(0xe1)]});}[_0x42462b(0x133)](){const _0x2dbd6a=_0x42462b,_0x1c3674=this[_0x2dbd6a(0x119)];_0x1c3674[_0x2dbd6a(0x132)][_0x2dbd6a(0xee)](_0x2dbd6a(0x10f))[_0x2dbd6a(0x121)]({'model':_0x2dbd6a(0xe1),'view':_0x2dbd6a(0x124)}),_0x1c3674[_0x2dbd6a(0x132)][_0x2dbd6a(0xee)](_0x2dbd6a(0x115))[_0x2dbd6a(0x104)]({'model':{'key':_0x2dbd6a(0xe1),'value':_0x2d6f16=>_0x2d6f16[_0x2dbd6a(0xf5)](_0x2dbd6a(0x124))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2ef8c0=_0x1c3674[_0x2dbd6a(0xef)][_0x2dbd6a(0xe9)](_0x2dbd6a(0x10d));_0x2ef8c0&&this[_0x2dbd6a(0xfa)](_0x2ef8c0,_0x2dbd6a(0xea),(_0x32ee7f,[_0x1cd89c,_0x38e965])=>{const _0x3cb234=_0x2dbd6a;_0x1cd89c[_0x3cb234(0x100)](_0x3cb234(0xe1),_0x38e965);});}[_0x42462b(0x12e)](){const _0x28f238=_0x42462b,_0x5874bf=this[_0x28f238(0x119)][_0x28f238(0x12d)][_0x28f238(0xe9)](_0x28f238(0xf2))||{},_0x10b278=this[_0x28f238(0x119)][_0x28f238(0x12d)][_0x28f238(0xe9)](_0x28f238(0xf8))||'';this[_0x28f238(0x120)]=_0x515ca2(_0x478868[_0x28f238(0x134)],_0x28f238(0x12f),{..._0x5874bf,'pubkey':_0x10b278,'ctx-name':_0x28f238(0x128),'sourceList':'','imgOnly':_0x28f238(0x111),'removeCopyright':_0x28f238(0x111),'localeName':this[_0x28f238(0x119)][_0x28f238(0x118)][_0x28f238(0xe5)],'externalSourcesEmbedCss':_0x28f238(0x10c)}),this[_0x28f238(0x120)][_0x28f238(0x113)]=_0x3914ba=>{const _0x52b9ce=_0x28f238;if(_0x52b9ce(0x112)==_0x3914ba)return _0x52b9ce(0x129);},_0x478868[_0x28f238(0x134)][_0x28f238(0x130)][_0x28f238(0x126)](this[_0x28f238(0x120)]);}[_0x42462b(0x131)](){const _0x257b13=_0x42462b;this[_0x257b13(0x105)]=_0x515ca2(_0x478868[_0x257b13(0x134)],_0x257b13(0x12a),{'ctx-name':_0x257b13(0x128)}),_0x478868[_0x257b13(0x134)][_0x257b13(0x130)][_0x257b13(0x126)](this[_0x257b13(0x105)]);}[_0x42462b(0x101)](){const _0xbe5da2=_0x42462b,_0x702526=this[_0xbe5da2(0x119)][_0xbe5da2(0xef)][_0xbe5da2(0xe9)](_0xbe5da2(0xf3));_0x702526&&this[_0xbe5da2(0xfa)](_0x702526,_0xbe5da2(0xfe),()=>{const _0x2e7e84=_0xbe5da2,_0x4e52d0=this[_0x2e7e84(0x119)][_0x2e7e84(0x117)][_0x2e7e84(0x134)][_0x2e7e84(0x122)][_0x2e7e84(0x11e)]();_0x4e52d0&&_0x4e52d0[_0x2e7e84(0xf5)](_0x2e7e84(0xe1))&&this[_0x2e7e84(0x119)][_0x2e7e84(0x106)][_0x2e7e84(0x12c)][_0x2e7e84(0x11f)](_0x2e7e84(0x10b),()=>{const _0x1f2c6d=_0x2e7e84;_0x4b2d36(this[_0x1f2c6d(0x119)],_0x4e52d0);});});const _0x44641a=this[_0xbe5da2(0x119)][_0xbe5da2(0xef)][_0xbe5da2(0xe9)](_0xbe5da2(0xe3));_0x44641a&&this[_0xbe5da2(0xfa)](_0x44641a,_0xbe5da2(0xfe),()=>{const _0x3f5d51=_0xbe5da2,_0x1dd553=this[_0x3f5d51(0x119)][_0x3f5d51(0x117)][_0x3f5d51(0x134)][_0x3f5d51(0x122)][_0x3f5d51(0x11e)]();_0x1dd553&&_0x1dd553[_0x3f5d51(0xf5)](_0x3f5d51(0xe1))&&this[_0x3f5d51(0x119)][_0x3f5d51(0x106)][_0x3f5d51(0x12c)][_0x3f5d51(0x11f)](_0x3f5d51(0x10b),()=>{const _0x129d3a=_0x3f5d51;_0x4b2d36(this[_0x129d3a(0x119)],_0x1dd553);});});}}function _0x3dcb(){const _0x76b0ab=['view','config','_initConfig','uc-config','body','_initCtx','conversion','_initConversion','document','uploadcareImageId','schema','uploadcareImageReplace','afterInit','contentLanguage','PictureEditing','isOfficialPlugin','init','get','cleanupImage','map','add','3210752baqnHS','for','commands','312210tYNeus','join','uploadcare.uploader','insertImage','1077375dKcsox','getAttribute','1557332PwZDHg','imageInline','uploadcare.pubkey','UploadcareEditing','listenTo','href','260ZbIEiv','_initSchema','execute','pluginName','removeAttribute','_initImageProcessingIndicator','100812DGCPip','extend','elementToAttribute','_ctxElement','editing','remove','isRegistered','input[uploadcare-file-input]','295630DzttXm','render','\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','replaceImageSource','destroy','downcast','uploadcare','true','closeMax','iconHrefResolver','251865cXPHRN','upcast','configElement','model','locale','editor','21mwddvZ','fromCharCode','requires','isPremiumPlugin','getSelectedElement','once','_configElement','attributeToAttribute','selection','imageBlock','data-uc-image-id','3JCuDRb','appendChild','querySelector','uploader','#uc-icon-arrow-down','uc-upload-ctx-provider','ctxElement'];_0x3dcb=function(){return _0x76b0ab;};return _0x3dcb();}
23
+ const _0x4b3863=_0x214e;(function(_0xad4752,_0x4eef3a){const _0x17fb67=_0x214e,_0x5c9bfa=_0xad4752();while(!![]){try{const _0x59fddd=-parseInt(_0x17fb67(0xbc))/0x1+parseInt(_0x17fb67(0xec))/0x2+parseInt(_0x17fb67(0xb3))/0x3*(-parseInt(_0x17fb67(0xf5))/0x4)+parseInt(_0x17fb67(0xc9))/0x5*(-parseInt(_0x17fb67(0xc8))/0x6)+-parseInt(_0x17fb67(0xb2))/0x7*(-parseInt(_0x17fb67(0xf2))/0x8)+parseInt(_0x17fb67(0xc6))/0x9+parseInt(_0x17fb67(0xd8))/0xa;if(_0x59fddd===_0x4eef3a)break;else _0x5c9bfa['push'](_0x5c9bfa['shift']());}catch(_0x5f138b){_0x5c9bfa['push'](_0x5c9bfa['shift']());}}}(_0x2b67,0xb0eaa));function _0x2b67(){const _0x1804fe=['querySelector','execute','body','add','ctxElement','init','remove','_initSchema','11414439EbdJKd','_configElement','20226GJGUFW','865sFOkqd','\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','elementToAttribute','getSelectedElement','afterInit','uc-config','getAttribute','document','locale','_initConversion','selection','ucContextId','_initImageProcessingIndicator','view','map','10064610FlUxRz','contentLanguage','insertImage','uploadcareImageId','replaceImageSource','uploadcare','uploader-','schema','imageBlock','PictureEditing','input[uploadcare-file-input]','once','editing','get','href','removeAttribute','config','extend','appendChild','_initCtx','2142854ArkEBg','UploadcareEditing','editor','_ctxElement','closeMax','uploadcare.pubkey','9144UZuqUl','#uc-icon-arrow-down','listenTo','926556QwEHjR','true','data-uc-image-id','pluginName','isPremiumPlugin','imageInline','isRegistered','fromCharCode','configElement','uploadcareImageReplace','conversion','uc-upload-ctx-provider','downcast','model','join','_initConfig','cleanupImage','upcast','2975HaEEia','18BPBVrg','attributeToAttribute','for','render','uploadcare.uploader','iconHrefResolver','commands','isOfficialPlugin','destroy','1134267IRQSCL','requires'];_0x2b67=function(){return _0x1804fe;};return _0x2b67();}import{Plugin as _0x45134b}from'ckeditor5/src/core.js';function _0x214e(_0x3b322e,_0x206376){const _0x2b6776=_0x2b67();return _0x214e=function(_0x214ef3,_0x3b7679){_0x214ef3=_0x214ef3-0xb2;let _0x42ec81=_0x2b6776[_0x214ef3];return _0x42ec81;},_0x214e(_0x3b322e,_0x206376);}import{Dialog as _0x2884de}from'ckeditor5/src/ui.js';import{createElement as _0xa354a7,global as _0x111a30,uid as _0x40f7f4}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x222127}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x472b88}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x406f12}from'./utils/editingutils.js';export class UploadcareEditing extends _0x45134b{[_0x4b3863(0xc7)]=null;[_0x4b3863(0xef)]=null;static get[_0x4b3863(0xf8)](){const _0x267001=_0x4b3863;return _0x267001(0xed);}static get[_0x4b3863(0xbd)](){const _0x128370=_0x4b3863;return[_0x128370(0xe1),_0x472b88,_0x2884de];}static get[_0x4b3863(0xba)](){return!0x0;}static get[_0x4b3863(0xf9)](){return!0x0;}[_0x4b3863(0xd4)];get[_0x4b3863(0xfd)](){const _0x4d5092=_0x4b3863;return this[_0x4d5092(0xc7)];}get[_0x4b3863(0xc2)](){const _0x149375=_0x4b3863;return this[_0x149375(0xef)];}constructor(_0x4e02a8){const _0x363379=_0x4b3863;super(_0x4e02a8),this[_0x363379(0xd4)]=_0x40f7f4();}[_0x4b3863(0xc3)](){const _0x55086c=_0x4b3863,_0xb4b4c4=this[_0x55086c(0xee)];_0xb4b4c4[_0x55086c(0xb9)][_0x55086c(0xc1)](_0x55086c(0xdd),new _0x222127(_0xb4b4c4));}[_0x4b3863(0xcd)](){const _0x41980d=_0x4b3863;this[_0x41980d(0xc5)](),this[_0x41980d(0xd2)](),this[_0x41980d(0x104)](),this[_0x41980d(0xeb)](),this[_0x41980d(0xd5)](),this[_0x41980d(0xf4)](this[_0x41980d(0xee)],_0x41980d(0xbb),()=>{const _0x53c325=_0x41980d;this[_0x53c325(0xc7)]&&(this[_0x53c325(0xc7)][_0x53c325(0xc4)](),this[_0x53c325(0xc7)]=null),this[_0x53c325(0xef)]&&(this[_0x53c325(0xef)][_0x53c325(0xc4)](),this[_0x53c325(0xef)]=null);const _0x1b0705=_0x111a30[_0x53c325(0xd0)][_0x53c325(0xbe)](_0x53c325(0xe2));_0x1b0705&&_0x1b0705[_0x53c325(0xc4)]();}),async function(_0x429ffe){const _0x57044e=_0x63e864([0x38,0x31,0x41,0x74,0x45,0x42,0x58,0x56,0x4a,0x48,0x63,0x76,0x73,0x4d,0x59,0x6b,0x67,0x54,0x39,0x46,0x6f,0x64,0x43,0x50,0x35,0x44,0x4e,0x6c,0x72,0x7a,0x5a,0x51,0x55,0x6e,0x6d,0x33,0x36,0x77,0x6a,0x69,0x32,0x68,0x70,0x30,0x75,0x61,0x47,0x66,0x4f,0x71,0x52,0x78,0x57,0x62,0x34,0x79,0x4b,0x53,0x37,0x65,0x49,0x4c]),_0x1b89bd=0x2fc52870,_0x23a650=0x2fc24340^_0x1b89bd,_0x14d5fc=window[_0x63e864([0x44,0x61,0x74,0x65])][_0x63e864([0x6e,0x6f,0x77])](),_0x7838a0=_0x429ffe[_0x63e864([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e5c64=new window[(_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301d1a=>{_0x7838a0[_0x63e864([0x6f,0x6e,0x63,0x65])](_0x63e864([0x72,0x65,0x61,0x64,0x79]),_0x301d1a);}),_0x1c67bf={[_0x63e864([0x6b,0x74,0x79])]:_0x63e864([0x45,0x43]),[_0x63e864([0x75,0x73,0x65])]:_0x63e864([0x73,0x69,0x67]),[_0x63e864([0x63,0x72,0x76])]:_0x63e864([0x50,0x2d,0x32,0x35,0x36]),[_0x63e864([0x78])]:_0x63e864([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]),[_0x63e864([0x79])]:_0x63e864([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]),[_0x63e864([0x61,0x6c,0x67])]:_0x63e864([0x45,0x53,0x32,0x35,0x36])},_0x3b1df3=_0x7838a0[_0x63e864([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x63e864([0x67,0x65,0x74])](_0x63e864([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e388f(){let _0xed3379,_0x12c84b=null,_0x46a6e7=null;try{if(_0x3b1df3==_0x63e864([0x47,0x50,0x4c]))return _0x63e864([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xed3379=_0x374999(),!_0xed3379)return _0x63e864([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xed3379[_0x63e864([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46a6e7=_0x2b8261(_0xed3379[_0x63e864([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xed3379[_0x63e864([0x6a,0x74,0x69])])),await _0xf2ea7a()?_0x38fdbc()?_0x33131c()?_0x63e864([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x191c73()?(_0xed3379[_0x63e864([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x63e864([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12c84b=_0x3f9ca3(_0x63e864([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xed3379[_0x63e864([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x63e864([0x74,0x72,0x69,0x61,0x6c])&&(_0x12c84b=_0x3f9ca3(_0x63e864([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x257d0a()):_0x63e864([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x63e864([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x63e864([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x63e864([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33131c(){const _0x575ff3=[_0x63e864([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x63e864([0x74,0x72,0x69,0x61,0x6c])][_0x63e864([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xed3379[_0x63e864([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14d5fc/0x3e8:0xe10*_0x23a650;return _0xed3379[_0x63e864([0x65,0x78,0x70])]<_0x575ff3;}function _0x38fdbc(){const _0x47037d=_0xed3379[_0x63e864([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47037d&&(!!_0x47037d[_0x63e864([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63e864([0x2a]))||!!_0x47037d[_0x63e864([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63e864([0x55,0x50,0x4c,0x43])));}function _0x191c73(){const _0x1b2729=_0x214e,_0x55ead3=_0xed3379[_0x63e864([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55ead3||0x0==_0x55ead3[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f022a}=new URL(window[_0x63e864([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1b2729(0xe6)]);if(_0x55ead3[_0x63e864([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f022a))return!0x0;const _0x264eb4=_0x4f022a[_0x63e864([0x73,0x70,0x6c,0x69,0x74])](_0x63e864([0x2e]));return _0x55ead3[_0x63e864([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30166b=>_0x30166b[_0x63e864([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63e864([0x2a])))[_0x63e864([0x6d,0x61,0x70])](_0x3b7b9a=>_0x3b7b9a[_0x63e864([0x73,0x70,0x6c,0x69,0x74])](_0x63e864([0x2e])))[_0x63e864([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ca091=>_0x4ca091[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x264eb4[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x63e864([0x6d,0x61,0x70])](_0x412409=>Array(_0x264eb4[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x412409[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x63e864([0x66,0x69,0x6c,0x6c])](_0x412409[0x0]===_0x63e864([0x2a])?_0x63e864([0x2a]):'')[_0x63e864([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x412409))[_0x63e864([0x73,0x6f,0x6d,0x65])](_0x48e08d=>_0x264eb4[_0x63e864([0x65,0x76,0x65,0x72,0x79])]((_0x17a59a,_0x3174de)=>_0x48e08d[_0x3174de]===_0x17a59a||_0x48e08d[_0x3174de]===_0x63e864([0x2a])));}function _0x257d0a(){return _0x12c84b&&_0x46a6e7?new window[(_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd8161d,_0x42b2cc)=>{_0x12c84b[_0x63e864([0x74,0x68,0x65,0x6e])](_0xd8161d,_0x42b2cc),_0x46a6e7[_0x63e864([0x74,0x68,0x65,0x6e])](_0x3f439f=>{_0x3f439f!=_0x63e864([0x56,0x61,0x6c,0x69,0x64])&&_0xd8161d(_0x3f439f);},_0x42b2cc);}):_0x12c84b||_0x46a6e7||_0x63e864([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b8261(_0x576d4a,_0x310772){return new window[(_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277fd4=>{if(_0x23c881())return _0x277fd4(_0x63e864([0x56,0x61,0x6c,0x69,0x64]));_0x4ca843(),_0x7838a0[_0x63e864([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x63e864([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3faf4a=!0x1;const _0x48a58a=_0x40f7f4();function _0x467455(_0x265e20){return!!_0x265e20&&(typeof _0x265e20===_0x63e864([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x265e20===_0x63e864([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x265e20[_0x63e864([0x74,0x68,0x65,0x6e])]===_0x63e864([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x265e20[_0x63e864([0x63,0x61,0x74,0x63,0x68])]===_0x63e864([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7bec92(_0x26bbb2){_0xb027c7(_0x26bbb2)[_0x63e864([0x74,0x68,0x65,0x6e])](_0x9d1cb3=>{if(!_0x9d1cb3||_0x9d1cb3[_0x63e864([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x63e864([0x6f,0x6b]))return _0x63e864([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b7229(_0x4fba07(_0x48a58a+_0x310772))!=_0x9d1cb3[_0x63e864([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x63e864([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x63e864([0x56,0x61,0x6c,0x69,0x64]);})[_0x63e864([0x74,0x68,0x65,0x6e])](_0x2a82d8=>(_0x4497a4(),_0x2a82d8),()=>{const _0x5c7770=_0xdb7498();return null==_0x5c7770?(_0x4497a4(),_0x63e864([0x56,0x61,0x6c,0x69,0x64])):_0x63e864(_0x14d5fc-_0x5c7770>(0xbc9ac70^_0x1b89bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x63e864([0x74,0x68,0x65,0x6e])](_0x277fd4)[_0x63e864([0x63,0x61,0x74,0x63,0x68])](()=>{_0x277fd4(_0x63e864([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ab264=0x2ff3c6f0^_0x1b89bd;function _0x4497a4(){const _0x4fbf6f=_0x63e864([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b7229(_0x4fba07(_0x576d4a)),_0x18ee06=_0x107ed0(_0x4b7229(window[_0x63e864([0x4d,0x61,0x74,0x68])][_0x63e864([0x63,0x65,0x69,0x6c])](_0x14d5fc/_0x1ab264)));window[_0x63e864([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x63e864([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fbf6f,_0x18ee06);}function _0xdb7498(){const _0x129ff7=_0x63e864([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b7229(_0x4fba07(_0x576d4a)),_0x2c650f=window[_0x63e864([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x63e864([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x129ff7);return _0x2c650f?window[_0x63e864([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x107ed0(_0x2c650f),0x10)*_0x1ab264:null;}function _0xb027c7(_0x43aaca){return new window[(_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30bcdb,_0x33df49)=>{_0x43aaca[_0x63e864([0x74,0x68,0x65,0x6e])](_0x30bcdb,_0x33df49),window[_0x63e864([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33df49,0x2fc4fcb0^_0x1b89bd);});}}_0x7838a0[_0x63e864([0x6f,0x6e])](_0x63e864([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46aef4,_0x3e9985)=>{if(_0x3e9985[0x0]!=_0x576d4a)return _0x277fd4(_0x63e864([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e9985[0x1]={..._0x3e9985[0x1],[_0x63e864([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48a58a};},{[_0x63e864([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x63e864([0x68,0x69,0x67,0x68])}),_0x7838a0[_0x63e864([0x6f,0x6e])](_0x63e864([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5945b8=>{_0x467455(_0x5945b8[_0x63e864([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3faf4a=!0x0,_0x7bec92(_0x5945b8[_0x63e864([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x63e864([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x63e864([0x6c,0x6f,0x77])}),_0x2e5c64[_0x63e864([0x74,0x68,0x65,0x6e])](()=>{_0x3faf4a||_0x277fd4(_0x63e864([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23c881(){return _0x7838a0[_0x63e864([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x63e864([0x76,0x69,0x65,0x77])][_0x63e864([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x63e864([0x61,0x75,0x74,0x6f]);}function _0x4ca843(){_0x7838a0[_0x63e864([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x63e864([0x76,0x69,0x65,0x77])][_0x63e864([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x63e864([0x61,0x75,0x74,0x6f]);}}function _0x3f9ca3(_0x212aa6){const _0x160393=[new window[(_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a30ca=>setTimeout(_0x3a30ca,0x2fcc16bc^_0x1b89bd)),_0x2e5c64[_0x63e864([0x74,0x68,0x65,0x6e])](()=>new window[(_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x344477=>{let _0x440fdd=0x0;_0x7838a0[_0x63e864([0x6d,0x6f,0x64,0x65,0x6c])][_0x63e864([0x6f,0x6e])](_0x63e864([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x523ea2,_0x3eacd3)=>{_0x3eacd3[0x0][_0x63e864([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x440fdd++,_0x440fdd==(0x2fc52988^_0x1b89bd)&&(_0x344477(),_0x523ea2[_0x63e864([0x6f,0x66,0x66])]());});}))];return window[_0x63e864([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x63e864([0x72,0x61,0x63,0x65])](_0x160393)[_0x63e864([0x74,0x68,0x65,0x6e])](()=>_0x212aa6);}async function _0x6d1b89(){await _0x2e5c64,_0x7838a0[_0x63e864([0x6d,0x6f,0x64,0x65,0x6c])][_0x63e864([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x107174,_0x7838a0[_0x63e864([0x6d,0x6f,0x64,0x65,0x6c])][_0x63e864([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x107174,_0x7838a0[_0x63e864([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x63e864([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36d05f(_0x1bc534){const _0x50c908=_0x2d8a1f();_0x7838a0[_0x50c908]=_0x63e864([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bc534,_0x1bc534!=_0x63e864([0x56,0x61,0x6c,0x69,0x64])&&_0x6d1b89();}function _0x2d8a1f(){const _0x2d5c78=window[_0x63e864([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x63e864([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x63e864([0x6e,0x6f,0x77])]())[_0x63e864([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x63e864([0x2e]),'');let _0x2cefbd=_0x63e864([0x41]);for(let _0x16b408=0x0;_0x16b408<_0x2d5c78[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16b408+=0x2){let _0x1bad79=window[_0x63e864([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d5c78[_0x63e864([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16b408,_0x16b408+0x2));_0x1bad79>=_0x57044e[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bad79-=_0x57044e[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cefbd+=_0x57044e[_0x1bad79];}return _0x2cefbd;}function _0x374999(){const _0x2c142e=_0x3b1df3[_0x63e864([0x73,0x70,0x6c,0x69,0x74])](_0x63e864([0x2e]));if(0x3!=_0x2c142e[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e6c95(_0x2c142e[0x1]);function _0x1e6c95(_0x5afb52){const _0x4ba8fd=_0x360fff(_0x5afb52);return _0x4ba8fd&&_0x29b354()?_0x4ba8fd:null;function _0x29b354(){const _0x1f8cfe=_0x4ba8fd[_0x63e864([0x6a,0x74,0x69])],_0xa16e04=window[_0x63e864([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8cfe[_0x63e864([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f8cfe[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9a66b0={..._0x4ba8fd,[_0x63e864([0x6a,0x74,0x69])]:_0x1f8cfe[_0x63e864([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f8cfe[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9a66b0[_0x63e864([0x76,0x63])],_0x4fba07(_0x9a66b0)==_0xa16e04;}}}async function _0xf2ea7a(){let _0x4f408d=!0x0;try{const _0xcf1868=_0x3b1df3[_0x63e864([0x73,0x70,0x6c,0x69,0x74])](_0x63e864([0x2e])),[_0x53e41f,_0x5ea97b,_0x41be5f]=_0xcf1868;return _0x4b67db(_0x53e41f),await _0x38a375(_0x53e41f,_0x5ea97b,_0x41be5f),_0x4f408d;}catch{return!0x1;}function _0x4b67db(_0x2a11b6){const _0x3bc5b9=_0x360fff(_0x2a11b6);_0x3bc5b9&&_0x3bc5b9[_0x63e864([0x61,0x6c,0x67])]==_0x63e864([0x45,0x53,0x32,0x35,0x36])||(_0x4f408d=!0x1);}async function _0x38a375(_0xe73dd3,_0x2cfaea,_0x4bb640){const _0x1c4d28=window[_0x63e864([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x63e864([0x66,0x72,0x6f,0x6d])](_0x41a75a(_0x4bb640),_0x2e4950=>_0x2e4950[_0x63e864([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b9563=new window[(_0x63e864([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x63e864([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe73dd3+_0x63e864([0x2e])+_0x2cfaea),_0xd7782e=window[_0x63e864([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x63e864([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd7782e)return;const _0x383285=await _0xd7782e[_0x63e864([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x63e864([0x6a,0x77,0x6b]),_0x1c67bf,{[_0x63e864([0x6e,0x61,0x6d,0x65])]:_0x63e864([0x45,0x43,0x44,0x53,0x41]),[_0x63e864([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x63e864([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x63e864([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd7782e[_0x63e864([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x63e864([0x6e,0x61,0x6d,0x65])]:_0x63e864([0x45,0x43,0x44,0x53,0x41]),[_0x63e864([0x68,0x61,0x73,0x68])]:{[_0x63e864([0x6e,0x61,0x6d,0x65])]:_0x63e864([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x383285,_0x1c4d28,_0x1b9563)||(_0x4f408d=!0x1);}}function _0x360fff(_0x1d64e1){return _0x1d64e1[_0x63e864([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x63e864([0x65,0x79]))?JSON[_0x63e864([0x70,0x61,0x72,0x73,0x65])](_0x41a75a(_0x1d64e1)):null;}function _0x41a75a(_0x2a848f){return window[_0x63e864([0x61,0x74,0x6f,0x62])](_0x2a848f[_0x63e864([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x63e864([0x2b]))[_0x63e864([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x63e864([0x2f])));}function _0x4fba07(_0x1b4a47){let _0x24b3d8=0x1505;function _0xea93f(_0x725494){for(let _0xdf510=0x0;_0xdf510<_0x725494[_0x63e864([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdf510++){const _0x32db1e=_0x725494[_0x63e864([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdf510);_0x24b3d8=(_0x24b3d8<<0x5)+_0x24b3d8+_0x32db1e,_0x24b3d8&=_0x24b3d8;}}function _0x5db781(_0x1f3910){Array[_0x63e864([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f3910)?_0x1f3910[_0x63e864([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5db781):_0x1f3910&&typeof _0x1f3910==_0x63e864([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x63e864([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f3910)[_0x63e864([0x73,0x6f,0x72,0x74])]()[_0x63e864([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ebdb1,_0x3c2da0])=>{_0xea93f(_0x1ebdb1),_0x5db781(_0x3c2da0);}):_0xea93f(window[_0x63e864([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f3910));}return _0x5db781(_0x1b4a47),_0x24b3d8>>>0x0;}function _0x4b7229(_0x12d0d1){return _0x12d0d1[_0x63e864([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x63e864([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x63e864([0x30]));}function _0x107ed0(_0x21cff6){return _0x21cff6[_0x63e864([0x73,0x70,0x6c,0x69,0x74])]('')[_0x63e864([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x63e864([0x6a,0x6f,0x69,0x6e])]('');}function _0x107174(){}function _0x63e864(_0x57bf4a){const _0x34e319=_0x214e;return _0x57bf4a[_0x34e319(0xd7)](_0x2a7716=>String[_0x34e319(0xfc)](_0x2a7716))[_0x34e319(0x103)]('');}_0x36d05f(await _0x5e388f());}(this);}[_0x4b3863(0xc5)](){const _0x1d8766=_0x4b3863,_0x46d8c2=this[_0x1d8766(0xee)][_0x1d8766(0x102)][_0x1d8766(0xdf)];_0x46d8c2[_0x1d8766(0xfb)](_0x1d8766(0xe0))&&_0x46d8c2[_0x1d8766(0xe9)](_0x1d8766(0xe0),{'allowAttributes':[_0x1d8766(0xdb)]}),_0x46d8c2[_0x1d8766(0xfb)](_0x1d8766(0xfa))&&_0x46d8c2[_0x1d8766(0xe9)](_0x1d8766(0xfa),{'allowAttributes':[_0x1d8766(0xdb)]});}[_0x4b3863(0xd2)](){const _0x5dfbc7=_0x4b3863,_0x735d44=this[_0x5dfbc7(0xee)];_0x735d44[_0x5dfbc7(0xff)][_0x5dfbc7(0xb5)](_0x5dfbc7(0x101))[_0x5dfbc7(0xb4)]({'model':_0x5dfbc7(0xdb),'view':_0x5dfbc7(0xf7)}),_0x735d44[_0x5dfbc7(0xff)][_0x5dfbc7(0xb5)](_0x5dfbc7(0x106))[_0x5dfbc7(0xcb)]({'model':{'key':_0x5dfbc7(0xdb),'value':_0x17492b=>_0x17492b[_0x5dfbc7(0xcf)](_0x5dfbc7(0xf7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xc5f6ac=_0x735d44[_0x5dfbc7(0xb9)][_0x5dfbc7(0xe5)](_0x5dfbc7(0xdc));_0xc5f6ac&&this[_0x5dfbc7(0xf4)](_0xc5f6ac,_0x5dfbc7(0x105),(_0x593700,[_0x3a6d83,_0xd04f91])=>{const _0x47fb1d=_0x5dfbc7;_0x3a6d83[_0x47fb1d(0xe7)](_0x47fb1d(0xdb),_0xd04f91);});}[_0x4b3863(0x104)](){const _0x5d3b50=_0x4b3863,_0x583fd2=this[_0x5d3b50(0xee)][_0x5d3b50(0xe8)][_0x5d3b50(0xe5)](_0x5d3b50(0xb7))||{},_0x33bd0c=this[_0x5d3b50(0xee)][_0x5d3b50(0xe8)][_0x5d3b50(0xe5)](_0x5d3b50(0xf1))||'';this[_0x5d3b50(0xc7)]=_0xa354a7(_0x111a30[_0x5d3b50(0xd0)],_0x5d3b50(0xce),{..._0x583fd2,'pubkey':_0x33bd0c,'ctx-name':_0x5d3b50(0xde)+this[_0x5d3b50(0xd4)],'sourceList':'','imgOnly':_0x5d3b50(0xf6),'removeCopyright':_0x5d3b50(0xf6),'localeName':this[_0x5d3b50(0xee)][_0x5d3b50(0xd1)][_0x5d3b50(0xd9)],'externalSourcesEmbedCss':_0x5d3b50(0xca)}),this[_0x5d3b50(0xc7)][_0x5d3b50(0xb8)]=_0x1e7e8a=>{const _0x3ad716=_0x5d3b50;if(_0x3ad716(0xf0)==_0x1e7e8a)return _0x3ad716(0xf3);},_0x111a30[_0x5d3b50(0xd0)][_0x5d3b50(0xc0)][_0x5d3b50(0xea)](this[_0x5d3b50(0xc7)]);}[_0x4b3863(0xeb)](){const _0xd0d7a3=_0x4b3863;this[_0xd0d7a3(0xef)]=_0xa354a7(_0x111a30[_0xd0d7a3(0xd0)],_0xd0d7a3(0x100),{'ctx-name':_0xd0d7a3(0xde)+this[_0xd0d7a3(0xd4)]}),_0x111a30[_0xd0d7a3(0xd0)][_0xd0d7a3(0xc0)][_0xd0d7a3(0xea)](this[_0xd0d7a3(0xef)]);}[_0x4b3863(0xd5)](){const _0x4dc5f6=_0x4b3863,_0x33ea83=this[_0x4dc5f6(0xee)][_0x4dc5f6(0xb9)][_0x4dc5f6(0xe5)](_0x4dc5f6(0xda));_0x33ea83&&this[_0x4dc5f6(0xf4)](_0x33ea83,_0x4dc5f6(0xbf),()=>{const _0xafafd4=_0x4dc5f6,_0x439d3f=this[_0xafafd4(0xee)][_0xafafd4(0x102)][_0xafafd4(0xd0)][_0xafafd4(0xd3)][_0xafafd4(0xcc)]();_0x439d3f&&_0x439d3f[_0xafafd4(0xcf)](_0xafafd4(0xdb))&&this[_0xafafd4(0xee)][_0xafafd4(0xe4)][_0xafafd4(0xd6)][_0xafafd4(0xe3)](_0xafafd4(0xb6),()=>{const _0x4ee321=_0xafafd4;_0x406f12(this[_0x4ee321(0xee)],_0x439d3f);});});const _0x13dc48=this[_0x4dc5f6(0xee)][_0x4dc5f6(0xb9)][_0x4dc5f6(0xe5)](_0x4dc5f6(0xfe));_0x13dc48&&this[_0x4dc5f6(0xf4)](_0x13dc48,_0x4dc5f6(0xbf),()=>{const _0x3b9175=_0x4dc5f6,_0x43be5d=this[_0x3b9175(0xee)][_0x3b9175(0x102)][_0x3b9175(0xd0)][_0x3b9175(0xd3)][_0x3b9175(0xcc)]();_0x43be5d&&_0x43be5d[_0x3b9175(0xcf)](_0x3b9175(0xdb))&&this[_0x3b9175(0xee)][_0x3b9175(0xe4)][_0x3b9175(0xd6)][_0x3b9175(0xe3)](_0x3b9175(0xb6),()=>{const _0x5cefcd=_0x3b9175;_0x406f12(this[_0x5cefcd(0xee)],_0x43be5d);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1c38d8,ObservableMixin as _0x1b11d8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4f4c6a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9c3f2d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x28b219}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x55d697}from'../../utils/uploadutils.js';import{getImageUrls as _0x3c00ff,getImageDimension as _0x176ada}from'../../utils/editingutils.js';import{isAncestor as _0x5dc428}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1b11d8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e0f45,_0x3b6d7e,_0x2d1feb){super(),this['_editor']=_0x1e0f45,this['_dialog']=_0x3b6d7e,this['_imageElement']=_0x2d1feb,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 _0x3a5dad=this['_imageElement'],_0x28a606=_0x3a5dad['getAttribute']('uploadcareImageId'),_0x3ac035=_0x3a5dad['getAttribute']('src');if(_0x28a606)await this['_loadImageInfo'](_0x28a606,_0x3ac035);else{if(this['_imageCache']['has'](_0x3ac035)){const _0x58a6e2=this['_imageCache']['get'](_0x3ac035);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x58a6e2['url'],this['imageDimension']=_0x58a6e2['dimension'],this['imageId']=_0x58a6e2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x34eea3}=this['_editor'],t=_0x34eea3['t'],_0x40d3b3=new _0x28b219(_0x34eea3,this['imageStatus'],this['_attributes']);_0x40d3b3['bind']('status')['to'](this,'imageStatus'),_0x40d3b3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x40d3b3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x40d3b3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x40d3b3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9c3f2d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x40d3b3,'position':_0x4f4c6a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x40d3b3['focus']();},'onHide':()=>{_0x40d3b3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x200cf7=>!_0x5dc428(_0x200cf7,_0x40d3b3['element'])}});}['_loadImageInfo'](_0x1ee93e,_0x191dcf){return _0x55d697['getInfo'](_0x1ee93e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2c971a=>{const {width:_0x833d2a,height:_0x118134}=_0x2c971a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x191dcf,this['imageDimension']={'width':_0x833d2a,'height':_0x118134},this['imageId']=_0x1ee93e;})['catch'](_0x190357=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x190357['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xb7629,_0x260fb0){return this['_getImageAsFile'](_0xb7629)['then'](_0x1cbcd2=>_0x55d697['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x260fb0['signal'],'file':_0x1cbcd2,'onProgress':_0x27cd06=>{_0x27cd06&&_0x27cd06['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x27cd06['value']));}}))['then'](_0x53d48b=>{const {width:_0x3e82c4,height:_0xbe9718}=_0x53d48b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53d48b['cdnUrl'],this['imageDimension']={'width':_0x3e82c4,'height':_0xbe9718},this['imageId']=_0x53d48b['uuid'],this['imageUploadProgress']=null;const _0x29d731=_0xb7629['getAttribute']('src');this['_imageCache']['set'](_0x29d731,{'id':_0x53d48b['uuid'],'url':_0x53d48b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38fd1c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38fd1c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x336254,_0x152e8e){_0x336254['on']('apply',(_0x2e03f4,_0x583f53)=>{this['_replaceImage'](_0x152e8e,_0x583f53['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x336254['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x336254['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3c6a76,_0x3405db,_0x3e5949){const _0x467687=this['_editor'],{width:_0x41e379,height:_0x5e2b8c}=_0x176ada(_0x3405db,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5908c7,imageSources:_0x4c7b87}=_0x3c00ff(_0x3405db,_0x41e379);_0x467687['model']['change'](_0x3bc131=>{if('$graveyard'===_0x3c6a76['root']['rootName']){_0x467687['execute']('insertImage',{'imageType':_0x3c6a76['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3c6a76['getAttributes']()),'uploadcareImageId':_0x3e5949,'src':_0x5908c7,'sources':_0x4c7b87,'width':_0x41e379,'height':_0x5e2b8c}});const _0x5a0b4e=_0x3c6a76['getChildren']();_0x3c6a76=_0x467687['model']['document']['selection']['getSelectedElement']();for(const _0x526012 of _0x5a0b4e)_0x3bc131['append'](_0x3bc131['cloneElement'](_0x526012),_0x3c6a76);}else _0x3bc131['setSelection'](_0x3c6a76,'on'),_0x467687['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3c6a76['getAttributes']()),'uploadcareImageId':_0x3e5949,'src':_0x5908c7,'sources':_0x4c7b87,'width':_0x41e379,'height':_0x5e2b8c},_0x3c6a76);_0x3bc131['setSelection'](_0x3c6a76,'on');});}async['_getImageAsFile'](_0x4bf2d4){const _0x45377c=_0x1c38d8['window'],_0x33f602=_0x1c38d8['document']['location']['href'],_0x12acf4=new _0x45377c['URL'](_0x4bf2d4['getAttribute']('src'),_0x33f602);if('data:'===_0x12acf4['protocol']){const _0x397d29=_0x12acf4['href']['split'](','),_0x4608f6=_0x397d29[0x0]['match'](/:(.*?);/)[0x1],_0x1fa02d=_0x4608f6['split']('/')[0x1],_0x423aca=_0x45377c['atob'](_0x397d29[_0x397d29['length']-0x1]);let _0x31b39f=_0x423aca['length'];const _0x2d65ea=new _0x45377c['Uint8Array'](_0x31b39f);for(;_0x31b39f--;)_0x2d65ea[_0x31b39f]=_0x423aca['charCodeAt'](_0x31b39f);return new _0x45377c['File']([_0x2d65ea],'image.'+_0x1fa02d,{'type':_0x4608f6});}const _0x9961a8=_0x12acf4['href']['split']('/'),_0x13d8a9=_0x9961a8[_0x9961a8['length']-0x1],_0x691ec2=_0x13d8a9['split']('.')[0x1];return _0x45377c['fetch'](_0x12acf4['href'])['then'](_0x37f86b=>_0x37f86b['clone']()['blob']())['then'](_0x24b0bc=>new _0x45377c['File']([_0x24b0bc],_0x13d8a9,{'type':'image/'+_0x691ec2}));}}
23
+ import{global as _0x5deddc,ObservableMixin as _0x2f74cf}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x25d3b2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xbd1a9a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x58d5c5}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x134dd9}from'../../utils/uploadutils.js';import{getImageUrls as _0x2d116f,getImageDimension as _0x43b231}from'../../utils/editingutils.js';import{isAncestor as _0x521abc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2f74cf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x51417c,_0x27a691,_0x24f0e5){super(),this['_editor']=_0x51417c,this['_dialog']=_0x27a691,this['_imageElement']=_0x24f0e5,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 _0x2430b6=this['_imageElement'],_0x2c7f27=_0x2430b6['getAttribute']('uploadcareImageId'),_0x4adb6b=_0x2430b6['getAttribute']('src');if(_0x2c7f27)await this['_loadImageInfo'](_0x2c7f27,_0x4adb6b);else{if(this['_imageCache']['has'](_0x4adb6b)){const _0xdebace=this['_imageCache']['get'](_0x4adb6b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xdebace['url'],this['imageDimension']=_0xdebace['dimension'],this['imageId']=_0xdebace['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5bd947}=this['_editor'],t=_0x5bd947['t'],_0x3de2c1=new _0x58d5c5(_0x5bd947,this['imageStatus'],this['_attributes']);_0x3de2c1['bind']('status')['to'](this,'imageStatus'),_0x3de2c1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3de2c1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3de2c1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3de2c1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xbd1a9a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3de2c1,'position':_0x25d3b2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3de2c1['focus']();},'onHide':()=>{_0x3de2c1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x47a75f=>!_0x521abc(_0x47a75f,_0x3de2c1['element'])}});}['_loadImageInfo'](_0x3ae66f,_0x53baa2){return _0x134dd9['getInfo'](_0x3ae66f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4169a8=>{const {width:_0xa15787,height:_0x469a96}=_0x4169a8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53baa2,this['imageDimension']={'width':_0xa15787,'height':_0x469a96},this['imageId']=_0x3ae66f;})['catch'](_0x248590=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x248590['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b8da1,_0x1fbdf9){return this['_getImageAsFile'](_0x3b8da1)['then'](_0x4bb571=>_0x134dd9['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1fbdf9['signal'],'file':_0x4bb571,'onProgress':_0x4eb428=>{_0x4eb428&&_0x4eb428['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4eb428['value']));}}))['then'](_0x105cc5=>{const {width:_0x115987,height:_0x4b6c3e}=_0x105cc5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x105cc5['cdnUrl'],this['imageDimension']={'width':_0x115987,'height':_0x4b6c3e},this['imageId']=_0x105cc5['uuid'],this['imageUploadProgress']=null;const _0x3cb19c=_0x3b8da1['getAttribute']('src');this['_imageCache']['set'](_0x3cb19c,{'id':_0x105cc5['uuid'],'url':_0x105cc5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x335888=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x335888['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1eaa3c,_0x10488c){_0x1eaa3c['on']('apply',(_0x4a1032,_0x2bd341)=>{this['_replaceImage'](_0x10488c,_0x2bd341['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1eaa3c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1eaa3c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4b68d3,_0x1bd17a,_0x28c9fd){const _0xba964=this['_editor'],{width:_0xb360a8,height:_0x758dde}=_0x43b231(_0x1bd17a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x215d8e,imageSources:_0x64b322}=_0x2d116f(_0x1bd17a,_0xb360a8);_0xba964['model']['change'](_0x4a86cb=>{if('$graveyard'===_0x4b68d3['root']['rootName']){_0xba964['execute']('insertImage',{'imageType':_0x4b68d3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4b68d3['getAttributes']()),'uploadcareImageId':_0x28c9fd,'src':_0x215d8e,'sources':_0x64b322,'width':_0xb360a8,'height':_0x758dde}});const _0x336246=_0x4b68d3['getChildren']();_0x4b68d3=_0xba964['model']['document']['selection']['getSelectedElement']();for(const _0x18216b of _0x336246)_0x4a86cb['append'](_0x4a86cb['cloneElement'](_0x18216b),_0x4b68d3);}else _0x4a86cb['setSelection'](_0x4b68d3,'on'),_0xba964['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4b68d3['getAttributes']()),'uploadcareImageId':_0x28c9fd,'src':_0x215d8e,'sources':_0x64b322,'width':_0xb360a8,'height':_0x758dde},_0x4b68d3);_0x4a86cb['setSelection'](_0x4b68d3,'on');});}async['_getImageAsFile'](_0x3a8dff){const _0x1b2a28=_0x5deddc['window'],_0x4a0172=_0x5deddc['document']['location']['href'],_0x2cb9d2=new _0x1b2a28['URL'](_0x3a8dff['getAttribute']('src'),_0x4a0172);if('data:'===_0x2cb9d2['protocol']){const _0x4a513f=_0x2cb9d2['href']['split'](','),_0x16d5a4=_0x4a513f[0x0]['match'](/:(.*?);/)[0x1],_0x25b9d8=_0x16d5a4['split']('/')[0x1],_0x4067a3=_0x1b2a28['atob'](_0x4a513f[_0x4a513f['length']-0x1]);let _0x3689d0=_0x4067a3['length'];const _0x22993f=new _0x1b2a28['Uint8Array'](_0x3689d0);for(;_0x3689d0--;)_0x22993f[_0x3689d0]=_0x4067a3['charCodeAt'](_0x3689d0);return new _0x1b2a28['File']([_0x22993f],'image.'+_0x25b9d8,{'type':_0x16d5a4});}const _0x39d9b2=_0x2cb9d2['href']['split']('/'),_0x42b2e6=_0x39d9b2[_0x39d9b2['length']-0x1],_0x589808=_0x42b2e6['split']('.')[0x1];return _0x1b2a28['fetch'](_0x2cb9d2['href'])['then'](_0xe6cec9=>_0xe6cec9['clone']()['blob']())['then'](_0x4eca99=>new _0x1b2a28['File']([_0x4eca99],_0x42b2e6,{'type':'image/'+_0x589808}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x139d(_0x18c5fe,_0x18aca0){const _0x5a50a5=_0x5a50();return _0x139d=function(_0x139d96,_0xe18ec6){_0x139d96=_0x139d96-0x1a0;let _0x328a64=_0x5a50a5[_0x139d96];return _0x328a64;},_0x139d(_0x18c5fe,_0x18aca0);}(function(_0x1b0273,_0x47fe27){const _0x5ef118=_0x139d,_0x522965=_0x1b0273();while(!![]){try{const _0x3b42ff=-parseInt(_0x5ef118(0x1a7))/0x1*(parseInt(_0x5ef118(0x1ab))/0x2)+parseInt(_0x5ef118(0x1a9))/0x3*(-parseInt(_0x5ef118(0x1b1))/0x4)+-parseInt(_0x5ef118(0x1a6))/0x5*(-parseInt(_0x5ef118(0x1a0))/0x6)+-parseInt(_0x5ef118(0x1a1))/0x7+parseInt(_0x5ef118(0x1a5))/0x8*(-parseInt(_0x5ef118(0x1a8))/0x9)+parseInt(_0x5ef118(0x1b4))/0xa*(-parseInt(_0x5ef118(0x1ad))/0xb)+parseInt(_0x5ef118(0x1ae))/0xc*(parseInt(_0x5ef118(0x1b3))/0xd);if(_0x3b42ff===_0x47fe27)break;else _0x522965['push'](_0x522965['shift']());}catch(_0x5c744a){_0x522965['push'](_0x522965['shift']());}}}(_0x5a50,0xd6e89));import{View as _0x5d91bc}from'ckeditor5/src/ui.js';function _0x5a50(){const _0x57ee54=['488pxviOv','6365WbyTDq','51GChmht','237411pTfhGC','2569911bmOLWs','uc-cloud-image-editor','65614dvJtvO','ck-uploadcare-theme','17345273LEkiKb','92255880qGiGqJ','bindTemplate','uc-light','8tOlOOu','set','13tshCrN','10fgIuuj','2994oDQIgf','6093913EDlVNZ','imageSrc','image-edit','setTemplate'];_0x5a50=function(){return _0x57ee54;};return _0x5a50();}export class UploadcareImageEditFormEditingView extends _0x5d91bc{constructor(_0x1a3811,_0x24fc00){const _0xd4bf54=_0x139d;super(_0x1a3811);const _0x315559=this[_0xd4bf54(0x1af)];this[_0xd4bf54(0x1b2)](_0xd4bf54(0x1a2),''),this[_0xd4bf54(0x1a4)]({'tag':_0xd4bf54(0x1aa),'attributes':{..._0x24fc00,'class':[_0xd4bf54(0x1b0),_0xd4bf54(0x1ac)],'ctx-name':_0xd4bf54(0x1a3),'cdn-url':_0x315559['to'](_0xd4bf54(0x1a2))}});}}
23
+ (function(_0x594fd7,_0x4b6073){const _0x13eb2f=_0x3872,_0x35a565=_0x594fd7();while(!![]){try{const _0x4b72d3=parseInt(_0x13eb2f(0xc5))/0x1*(parseInt(_0x13eb2f(0xbb))/0x2)+-parseInt(_0x13eb2f(0xb8))/0x3+parseInt(_0x13eb2f(0xc2))/0x4*(parseInt(_0x13eb2f(0xc0))/0x5)+-parseInt(_0x13eb2f(0xbc))/0x6*(-parseInt(_0x13eb2f(0xc3))/0x7)+parseInt(_0x13eb2f(0xb9))/0x8+parseInt(_0x13eb2f(0xbd))/0x9+-parseInt(_0x13eb2f(0xc7))/0xa*(parseInt(_0x13eb2f(0xc8))/0xb);if(_0x4b72d3===_0x4b6073)break;else _0x35a565['push'](_0x35a565['shift']());}catch(_0x4a3f60){_0x35a565['push'](_0x35a565['shift']());}}}(_0x3729,0x346d9));import{View as _0x1d3967}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1d3967{constructor(_0x71a96c,_0x3964c9){const _0xb7197e=_0x3872;super(_0x71a96c);const _0x1e10c7=this[_0xb7197e(0xbf)];this[_0xb7197e(0xba)](_0xb7197e(0xc9),''),this[_0xb7197e(0xc1)]({'tag':_0xb7197e(0xca),'attributes':{..._0x3964c9,'class':[_0xb7197e(0xc6),_0xb7197e(0xbe)],'ctx-name':_0xb7197e(0xc4),'cdn-url':_0x1e10c7['to'](_0xb7197e(0xc9))}});}}function _0x3872(_0x3d8db9,_0x347f22){const _0x372951=_0x3729();return _0x3872=function(_0x3872b7,_0x1a135b){_0x3872b7=_0x3872b7-0xb8;let _0x39a6b4=_0x372951[_0x3872b7];return _0x39a6b4;},_0x3872(_0x3d8db9,_0x347f22);}function _0x3729(){const _0x1b7ed6=['24jatxkz','798RBvgRg','image-edit','3073ajvAqm','uc-light','790Bdcibc','159995LjbANy','imageSrc','uc-cloud-image-editor','159873SmZcSp','1150240Exrsvz','set','278nGVGMm','10506YNAggQ','3809772EeEvGR','ck-uploadcare-theme','bindTemplate','186035zCcvAT','setTemplate'];_0x3729=function(){return _0x1b7ed6;};return _0x3729();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x51a3b6}from'ckeditor5/src/icons.js';import{ButtonView as _0x36ba9a,IconView as _0x42cc33,View as _0x3001b2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3001b2{constructor(_0x290d8d){super(_0x290d8d);const t=_0x290d8d['t'];this['set']('errorType',null);const _0x4f6d7f=new _0x36ba9a(_0x290d8d);_0x4f6d7f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4f6d7f['withText']=!0x0,_0x4f6d7f['class']='ck-button-action',_0x4f6d7f['on']('execute',()=>{this['fire']('retry');}),_0x4f6d7f['bind']('isVisible')['to'](this,'errorType',_0x3d0bca=>'NotFound'!==_0x3d0bca);const _0x3965e6=new _0x42cc33();_0x3965e6['content']=_0x51a3b6,_0x3965e6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ad428=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':[_0x3965e6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ad428['to']('errorType',_0x163cb3=>t('NotFound'!==_0x163cb3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4f6d7f]},{'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 _0x501383}from'ckeditor5/src/icons.js';import{ButtonView as _0x722f14,IconView as _0x4c3a14,View as _0x5b5d6d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5b5d6d{constructor(_0x57cdb4){super(_0x57cdb4);const t=_0x57cdb4['t'];this['set']('errorType',null);const _0x511eb0=new _0x722f14(_0x57cdb4);_0x511eb0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x511eb0['withText']=!0x0,_0x511eb0['class']='ck-button-action',_0x511eb0['on']('execute',()=>{this['fire']('retry');}),_0x511eb0['bind']('isVisible')['to'](this,'errorType',_0x5bfdcb=>'NotFound'!==_0x5bfdcb);const _0x1ccdf0=new _0x4c3a14();_0x1ccdf0['content']=_0x501383,_0x1ccdf0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x36c2a4=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':[_0x1ccdf0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x36c2a4['to']('errorType',_0x399148=>t('NotFound'!==_0x399148?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x511eb0]},{'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 _0x3052ba,View as _0x15e9a9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x15e9a9{constructor(_0x514344){super(_0x514344);const t=_0x514344['t'],_0x5af3c1=this['bindTemplate'],_0x28fe5a=new _0x3052ba();_0x28fe5a['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':[_0x28fe5a,{'text':_0x5af3c1['to']('imageUploadProgress',_0xab305c=>t('Loading\x20image...')+'\x20('+(_0xab305c||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 _0x15185e,View as _0xc08a07}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xc08a07{constructor(_0x201893){super(_0x201893);const t=_0x201893['t'],_0x4c5f84=this['bindTemplate'],_0x1c3802=new _0x15185e();_0x1c3802['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':[_0x1c3802,{'text':_0x4c5f84['to']('imageUploadProgress',_0x1112e0=>t('Loading\x20image...')+'\x20('+(_0x1112e0||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 _0xa0ce7e=_0x14de;function _0x2bf3(){const _0x573b8e=['detail','once','_waitForImageEditorComponent','addEventListener','focus','_errorView','clear','createCollection','_editingView','_setView','6104931tOdQef','setTemplate','apply','_focusableView','addMany','target','element','nodeName','_loadingView','retry','observe','set','_addUploadcareImageEditorListeners','uploading','5244642jJZgeE','7569575qIPBDv','uc-cloud-image-editor','3955992kLwsKV','ready','ck-reset_all-excluded','disconnect','ck-uploadcare-form','toLowerCase','3192339FchYYC','querySelector','length','div','error','render','getFocusableElement','2wAkLIT','cancel','addedNodes','filter','_items','698526JdABTK','30828879pjjQih','_addErrorViewListeners','add','cdnUrl','status','8EQYgWV','fire','change:status'];_0x2bf3=function(){return _0x573b8e;};return _0x2bf3();}(function(_0x3a943a,_0x2440df){const _0x5a791f=_0x14de,_0x167d71=_0x3a943a();while(!![]){try{const _0x480626=parseInt(_0x5a791f(0x1c7))/0x1*(parseInt(_0x5a791f(0x1c2))/0x2)+parseInt(_0x5a791f(0x1bb))/0x3+parseInt(_0x5a791f(0x1b5))/0x4+parseInt(_0x5a791f(0x1b3))/0x5+parseInt(_0x5a791f(0x1b2))/0x6+parseInt(_0x5a791f(0x1a4))/0x7*(-parseInt(_0x5a791f(0x1cd))/0x8)+-parseInt(_0x5a791f(0x1c8))/0x9;if(_0x480626===_0x2440df)break;else _0x167d71['push'](_0x167d71['shift']());}catch(_0x362a02){_0x167d71['push'](_0x167d71['shift']());}}}(_0x2bf3,0xcd96f));import{View as _0x342631}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2345bd}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4d78e1}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x244607}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4e14e1}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x14de(_0x4e4176,_0x387e01){const _0x2bf389=_0x2bf3();return _0x14de=function(_0x14de7e,_0x46c313){_0x14de7e=_0x14de7e-0x19a;let _0x263a1c=_0x2bf389[_0x14de7e];return _0x263a1c;},_0x14de(_0x4e4176,_0x387e01);}export class UploadcareImageEditFormView extends _0x4e14e1{[_0xa0ce7e(0x1c6)];[_0xa0ce7e(0x1ac)];[_0xa0ce7e(0x19f)];[_0xa0ce7e(0x1a2)];[_0xa0ce7e(0x1a7)];constructor(_0x39a25b,_0x1d4961,_0x5f07ef){const _0x4587d5=_0xa0ce7e;super(_0x39a25b),this[_0x4587d5(0x1c6)]=this[_0x4587d5(0x1a1)](),this[_0x4587d5(0x1ac)]=new _0x2345bd(_0x39a25b),this[_0x4587d5(0x19f)]=new _0x4d78e1(_0x39a25b),this[_0x4587d5(0x1a2)]=new _0x244607(_0x39a25b,_0x5f07ef),this[_0x4587d5(0x1a7)]=new _0x342631(_0x39a25b),this[_0x4587d5(0x1a7)][_0x4587d5(0x1a5)](this[_0x4587d5(0x1c1)]()),this[_0x4587d5(0x1af)](_0x4587d5(0x1cc),_0x1d4961),this[_0x4587d5(0x1a5)]({'tag':_0x4587d5(0x1be),'attributes':{'class':['ck',_0x4587d5(0x1b7),_0x4587d5(0x1b9)],'tabindex':'-1'},'children':this[_0x4587d5(0x1c6)]}),this[_0x4587d5(0x1a3)](),this[_0x4587d5(0x19b)](_0x4587d5(0x1c0),()=>{const _0x3ee289=_0x4587d5;this[_0x3ee289(0x19c)](this[_0x3ee289(0x1aa)],_0x1efda5=>{const _0xbb7bc4=_0x3ee289;this[_0xbb7bc4(0x1b0)](_0x1efda5);});}),this['on'](_0x4587d5(0x1cf),()=>{const _0x28bd0e=_0x4587d5;this[_0x28bd0e(0x1a3)]();}),this[_0x4587d5(0x1c9)]();}[_0xa0ce7e(0x19e)](){const _0x25283d=_0xa0ce7e;this[_0x25283d(0x1aa)][_0x25283d(0x19e)]();}[_0xa0ce7e(0x1a3)](){const _0x43833a=_0xa0ce7e;switch(this[_0x43833a(0x1c6)][_0x43833a(0x1a0)](),this[_0x43833a(0x1cc)]){case _0x43833a(0x1b1):this[_0x43833a(0x1c6)][_0x43833a(0x1ca)](this[_0x43833a(0x1ac)]);break;case _0x43833a(0x1bf):this[_0x43833a(0x1c6)][_0x43833a(0x1ca)](this[_0x43833a(0x19f)]);break;case _0x43833a(0x1b6):this[_0x43833a(0x1c6)][_0x43833a(0x1a8)]([this[_0x43833a(0x1a2)],this[_0x43833a(0x1a7)]]);}}[_0xa0ce7e(0x19c)](_0x3db2a0,_0x28ed40){const _0x3d23ec=_0xa0ce7e,_0x3efdc6=_0x3d23ec(0x1b4),_0x421459=_0x3db2a0[_0x3d23ec(0x1bc)](_0x3efdc6);if(_0x421459)return _0x28ed40(_0x421459);const _0x577b25=new MutationObserver(_0x46e424=>{const _0x35cee8=_0x3d23ec,_0x32a914=_0x46e424[_0x35cee8(0x1c5)](_0x53d702=>_0x53d702[_0x35cee8(0x1a9)]===_0x3db2a0&&_0x53d702[_0x35cee8(0x1c4)][_0x35cee8(0x1bd)]>0x0&&_0x53d702[_0x35cee8(0x1c4)][0x0][_0x35cee8(0x1ab)][_0x35cee8(0x1ba)]()===_0x3efdc6);_0x32a914[_0x35cee8(0x1bd)]&&(_0x577b25[_0x35cee8(0x1b8)](),_0x28ed40(_0x32a914[0x0][_0x35cee8(0x1c4)][0x0]));});_0x577b25[_0x3d23ec(0x1ae)](_0x3db2a0,{'childList':!0x0,'subtree':!0x0});}[_0xa0ce7e(0x1b0)](_0x39cf72){const _0x2407b3=_0xa0ce7e;_0x39cf72[_0x2407b3(0x19d)](_0x2407b3(0x1a6),_0x204a76=>{const _0x6e7896=_0x2407b3;this[_0x6e7896(0x1ce)](_0x6e7896(0x1a6),{'imageSrc':_0x204a76[_0x6e7896(0x19a)][_0x6e7896(0x1cb)]});}),_0x39cf72[_0x2407b3(0x19d)](_0x2407b3(0x1c3),()=>{const _0x1b1fcc=_0x2407b3;this[_0x1b1fcc(0x1ce)](_0x1b1fcc(0x1c3));});}[_0xa0ce7e(0x1c9)](){const _0x5b232c=_0xa0ce7e;this[_0x5b232c(0x19f)]['on'](_0x5b232c(0x1ad),()=>{const _0x4b1c44=_0x5b232c;this[_0x4b1c44(0x1ce)](_0x4b1c44(0x1ad));});}}
23
+ const _0x11cbc8=_0x16f9;(function(_0x12787b,_0xd08cb5){const _0x1623d8=_0x16f9,_0xf0295a=_0x12787b();while(!![]){try{const _0x440a9a=parseInt(_0x1623d8(0x109))/0x1*(-parseInt(_0x1623d8(0xeb))/0x2)+parseInt(_0x1623d8(0xef))/0x3+parseInt(_0x1623d8(0xf4))/0x4*(-parseInt(_0x1623d8(0x102))/0x5)+parseInt(_0x1623d8(0x10b))/0x6*(-parseInt(_0x1623d8(0xec))/0x7)+-parseInt(_0x1623d8(0x104))/0x8*(parseInt(_0x1623d8(0x108))/0x9)+-parseInt(_0x1623d8(0x10a))/0xa+parseInt(_0x1623d8(0xf9))/0xb;if(_0x440a9a===_0xd08cb5)break;else _0xf0295a['push'](_0xf0295a['shift']());}catch(_0x3c8687){_0xf0295a['push'](_0xf0295a['shift']());}}}(_0x4e90,0xa4d0e));import{View as _0x694f83}from'ckeditor5/src/ui.js';function _0x4e90(){const _0x389233=['ck-reset_all-excluded','once','detail','uc-cloud-image-editor','_addErrorViewListeners','add','fire','cdnUrl','set','disconnect','cancel','element','44qdVAKX','168NccBgg','status','focus','1475055MjcezJ','_editingView','createCollection','_items','target','568XSCxRh','_errorView','ready','uploading','addMany','29313295WNdTSW','nodeName','getFocusableElement','_focusableView','clear','retry','querySelector','observe','error','6645HnnGgM','toLowerCase','24fUtTfh','filter','setTemplate','addedNodes','692451SCCmiA','43114CkbphH','7101050Ptjqtl','100824jFynno','ck-uploadcare-form','_addUploadcareImageEditorListeners','apply','change:status','_setView','_loadingView','div','render','addEventListener','_waitForImageEditorComponent','length'];_0x4e90=function(){return _0x389233;};return _0x4e90();}import{UploadcareImageEditFormLoadingView as _0x31c5e6}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x60211f}from'./uploadcareimageeditformerrorview.js';function _0x16f9(_0x4e670c,_0x1da2a8){const _0x4e9015=_0x4e90();return _0x16f9=function(_0x16f9b5,_0x3af98f){_0x16f9b5=_0x16f9b5-0xd9;let _0x138938=_0x4e9015[_0x16f9b5];return _0x138938;},_0x16f9(_0x4e670c,_0x1da2a8);}import{UploadcareImageEditFormEditingView as _0x4ffd23}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3a8b8b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3a8b8b{[_0x11cbc8(0xf2)];[_0x11cbc8(0xd9)];[_0x11cbc8(0xf5)];[_0x11cbc8(0xf0)];[_0x11cbc8(0xfc)];constructor(_0xd91b1c,_0x48927d,_0x1a2eb6){const _0x4bb43e=_0x11cbc8;super(_0xd91b1c),this[_0x4bb43e(0xf2)]=this[_0x4bb43e(0xf1)](),this[_0x4bb43e(0xd9)]=new _0x31c5e6(_0xd91b1c),this[_0x4bb43e(0xf5)]=new _0x60211f(_0xd91b1c),this[_0x4bb43e(0xf0)]=new _0x4ffd23(_0xd91b1c,_0x1a2eb6),this[_0x4bb43e(0xfc)]=new _0x694f83(_0xd91b1c),this[_0x4bb43e(0xfc)][_0x4bb43e(0x106)](this[_0x4bb43e(0xfb)]()),this[_0x4bb43e(0xe7)](_0x4bb43e(0xed),_0x48927d),this[_0x4bb43e(0x106)]({'tag':_0x4bb43e(0xda),'attributes':{'class':['ck',_0x4bb43e(0xdf),_0x4bb43e(0x10c)],'tabindex':'-1'},'children':this[_0x4bb43e(0xf2)]}),this[_0x4bb43e(0x110)](),this[_0x4bb43e(0xe0)](_0x4bb43e(0xdb),()=>{const _0x3e9b2a=_0x4bb43e;this[_0x3e9b2a(0xdd)](this[_0x3e9b2a(0xea)],_0x2cc7b5=>{const _0x189cca=_0x3e9b2a;this[_0x189cca(0x10d)](_0x2cc7b5);});}),this['on'](_0x4bb43e(0x10f),()=>{const _0x1edcf4=_0x4bb43e;this[_0x1edcf4(0x110)]();}),this[_0x4bb43e(0xe3)]();}[_0x11cbc8(0xee)](){const _0x2e17d3=_0x11cbc8;this[_0x2e17d3(0xea)][_0x2e17d3(0xee)]();}[_0x11cbc8(0x110)](){const _0x436389=_0x11cbc8;switch(this[_0x436389(0xf2)][_0x436389(0xfd)](),this[_0x436389(0xed)]){case _0x436389(0xf7):this[_0x436389(0xf2)][_0x436389(0xe4)](this[_0x436389(0xd9)]);break;case _0x436389(0x101):this[_0x436389(0xf2)][_0x436389(0xe4)](this[_0x436389(0xf5)]);break;case _0x436389(0xf6):this[_0x436389(0xf2)][_0x436389(0xf8)]([this[_0x436389(0xf0)],this[_0x436389(0xfc)]]);}}[_0x11cbc8(0xdd)](_0x12025f,_0x53d6c3){const _0x198cf5=_0x11cbc8,_0x3abe61=_0x198cf5(0xe2),_0x537505=_0x12025f[_0x198cf5(0xff)](_0x3abe61);if(_0x537505)return _0x53d6c3(_0x537505);const _0xcfb4ee=new MutationObserver(_0x3517ba=>{const _0x492093=_0x198cf5,_0x5771a4=_0x3517ba[_0x492093(0x105)](_0x5bc071=>_0x5bc071[_0x492093(0xf3)]===_0x12025f&&_0x5bc071[_0x492093(0x107)][_0x492093(0xde)]>0x0&&_0x5bc071[_0x492093(0x107)][0x0][_0x492093(0xfa)][_0x492093(0x103)]()===_0x3abe61);_0x5771a4[_0x492093(0xde)]&&(_0xcfb4ee[_0x492093(0xe8)](),_0x53d6c3(_0x5771a4[0x0][_0x492093(0x107)][0x0]));});_0xcfb4ee[_0x198cf5(0x100)](_0x12025f,{'childList':!0x0,'subtree':!0x0});}[_0x11cbc8(0x10d)](_0x1b8d51){const _0x5265e2=_0x11cbc8;_0x1b8d51[_0x5265e2(0xdc)](_0x5265e2(0x10e),_0x14fbc9=>{const _0x5ba97e=_0x5265e2;this[_0x5ba97e(0xe5)](_0x5ba97e(0x10e),{'imageSrc':_0x14fbc9[_0x5ba97e(0xe1)][_0x5ba97e(0xe6)]});}),_0x1b8d51[_0x5265e2(0xdc)](_0x5265e2(0xe9),()=>{const _0x2e5151=_0x5265e2;this[_0x2e5151(0xe5)](_0x2e5151(0xe9));});}[_0x11cbc8(0xe3)](){const _0x396990=_0x11cbc8;this[_0x396990(0xf5)]['on'](_0x396990(0xfe),()=>{const _0x251415=_0x396990;this[_0x251415(0xe5)](_0x251415(0xfe));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8bc9e4=_0x1130;function _0x1130(_0x48fd9e,_0xe65c29){const _0x549625=_0x5496();return _0x1130=function(_0x113087,_0x5782bb){_0x113087=_0x113087-0x1a7;let _0x25adef=_0x549625[_0x113087];return _0x25adef;},_0x1130(_0x48fd9e,_0xe65c29);}(function(_0x2c7b9b,_0x47ce9a){const _0x4e412a=_0x1130,_0x1235b3=_0x2c7b9b();while(!![]){try{const _0x3857b1=-parseInt(_0x4e412a(0x1be))/0x1*(parseInt(_0x4e412a(0x1c0))/0x2)+-parseInt(_0x4e412a(0x1ab))/0x3*(-parseInt(_0x4e412a(0x1b1))/0x4)+-parseInt(_0x4e412a(0x1b5))/0x5+-parseInt(_0x4e412a(0x1c2))/0x6+-parseInt(_0x4e412a(0x1b0))/0x7*(-parseInt(_0x4e412a(0x1c7))/0x8)+parseInt(_0x4e412a(0x1c3))/0x9*(parseInt(_0x4e412a(0x1ba))/0xa)+-parseInt(_0x4e412a(0x1aa))/0xb*(-parseInt(_0x4e412a(0x1b3))/0xc);if(_0x3857b1===_0x47ce9a)break;else _0x1235b3['push'](_0x1235b3['shift']());}catch(_0x2aa160){_0x1235b3['push'](_0x1235b3['shift']());}}}(_0x5496,0x6a130));function _0x5496(){const _0x59b850=['editor','29576sGJnec','imageEditController','1205340WMyeIN','455850roghRd','getSelectedElement','get','imageBlock','8WdNnbP','requires','bind','plugins','isEnabled','22nWqXkA','3qNaLMB','element','unbind','isActive','selection','626871SvDPlM','2053908PnlzfR','model','7384812YXZRIC','document','3140080guFwLX','refresh','config','execute','imageInline','10lxJiOg','_isEditable','uploadcare.allowExternalImagesEditing','set','42PFRpQi'];_0x5496=function(){return _0x59b850;};return _0x5496();}import{Command as _0x4fa283}from'ckeditor5/src/core.js';import{Dialog as _0x584ce8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x272cf6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1d98a3}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4fa283{[_0x8bc9e4(0x1c1)];static get[_0x8bc9e4(0x1c8)](){return[_0x584ce8];}[_0x8bc9e4(0x1bb)];constructor(_0x11542f){const _0x30b855=_0x8bc9e4;super(_0x11542f),this[_0x30b855(0x1c1)]=void 0x0,this[_0x30b855(0x1bb)]=_0x1d98a3(_0x11542f[_0x30b855(0x1b7)][_0x30b855(0x1c5)](_0x30b855(0x1bc))||[]),this[_0x30b855(0x1bd)]({'isActive':!0x1});}[_0x8bc9e4(0x1b6)](){const _0x2bd1d8=_0x8bc9e4,_0x401cd3=this[_0x2bd1d8(0x1bf)][_0x2bd1d8(0x1b2)][_0x2bd1d8(0x1b4)][_0x2bd1d8(0x1af)][_0x2bd1d8(0x1c4)]();this[_0x2bd1d8(0x1a9)]=this[_0x2bd1d8(0x1bb)](_0x401cd3);}[_0x8bc9e4(0x1b8)](){const _0x4175a8=_0x8bc9e4;this[_0x4175a8(0x1c1)]&&(this[_0x4175a8(0x1ad)](_0x4175a8(0x1ae)),this[_0x4175a8(0x1c1)]=void 0x0);const _0x2b3057=this[_0x4175a8(0x1bf)][_0x4175a8(0x1b2)][_0x4175a8(0x1b4)][_0x4175a8(0x1af)][_0x4175a8(0x1c4)]();_0x2b3057&&(_0x2b3057['is'](_0x4175a8(0x1ac),_0x4175a8(0x1c6))||_0x2b3057['is'](_0x4175a8(0x1ac),_0x4175a8(0x1b9)))&&(this[_0x4175a8(0x1c1)]=new _0x272cf6(this[_0x4175a8(0x1bf)],this[_0x4175a8(0x1bf)][_0x4175a8(0x1a8)][_0x4175a8(0x1c5)](_0x584ce8),_0x2b3057),this[_0x4175a8(0x1a7)](_0x4175a8(0x1ae))['to'](this[_0x4175a8(0x1c1)],_0x4175a8(0x1ae)));}}
23
+ function _0x4009(_0x298ad9,_0x48efe7){const _0x19666c=_0x1966();return _0x4009=function(_0x40093e,_0x5c0b09){_0x40093e=_0x40093e-0x1bf;let _0x2b8ed5=_0x19666c[_0x40093e];return _0x2b8ed5;},_0x4009(_0x298ad9,_0x48efe7);}function _0x1966(){const _0x2d4ce6=['55806XOaOTe','1143LCRvcN','bind','15FlUWFc','document','isEnabled','uploadcare.allowExternalImagesEditing','imageInline','unbind','selection','get','1140952MWsYrb','2133822OPtpye','getSelectedElement','plugins','requires','imageEditController','51070qZbNnc','244736uhwtKL','42yQSYTO','8MKDVnB','set','config','_isEditable','execute','editor','model','refresh','imageBlock','element','398472bPBmEi','6172144SJrlqS','isActive'];_0x1966=function(){return _0x2d4ce6;};return _0x1966();}const _0x14bd84=_0x4009;(function(_0x17c2cc,_0x170e50){const _0x423231=_0x4009,_0x2de33c=_0x17c2cc();while(!![]){try{const _0x23b413=parseInt(_0x423231(0x1cd))/0x1+parseInt(_0x423231(0x1c7))/0x2+parseInt(_0x423231(0x1dc))/0x3*(parseInt(_0x423231(0x1cf))/0x4)+-parseInt(_0x423231(0x1df))/0x5*(-parseInt(_0x423231(0x1d9))/0x6)+-parseInt(_0x423231(0x1ce))/0x7*(parseInt(_0x423231(0x1c6))/0x8)+-parseInt(_0x423231(0x1dd))/0x9*(parseInt(_0x423231(0x1cc))/0xa)+parseInt(_0x423231(0x1da))/0xb;if(_0x23b413===_0x170e50)break;else _0x2de33c['push'](_0x2de33c['shift']());}catch(_0x3321c7){_0x2de33c['push'](_0x2de33c['shift']());}}}(_0x1966,0x93ad8));import{Command as _0x3ef839}from'ckeditor5/src/core.js';import{Dialog as _0x56e1b8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1a21b1}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5ba443}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3ef839{[_0x14bd84(0x1cb)];static get[_0x14bd84(0x1ca)](){return[_0x56e1b8];}[_0x14bd84(0x1d2)];constructor(_0x59d75a){const _0x2e3561=_0x14bd84;super(_0x59d75a),this[_0x2e3561(0x1cb)]=void 0x0,this[_0x2e3561(0x1d2)]=_0x5ba443(_0x59d75a[_0x2e3561(0x1d1)][_0x2e3561(0x1c5)](_0x2e3561(0x1c1))||[]),this[_0x2e3561(0x1d0)]({'isActive':!0x1});}[_0x14bd84(0x1d6)](){const _0x5afe63=_0x14bd84,_0x56fd5b=this[_0x5afe63(0x1d4)][_0x5afe63(0x1d5)][_0x5afe63(0x1bf)][_0x5afe63(0x1c4)][_0x5afe63(0x1c8)]();this[_0x5afe63(0x1c0)]=this[_0x5afe63(0x1d2)](_0x56fd5b);}[_0x14bd84(0x1d3)](){const _0x2f6d8f=_0x14bd84;this[_0x2f6d8f(0x1cb)]&&(this[_0x2f6d8f(0x1c3)](_0x2f6d8f(0x1db)),this[_0x2f6d8f(0x1cb)]=void 0x0);const _0x410faa=this[_0x2f6d8f(0x1d4)][_0x2f6d8f(0x1d5)][_0x2f6d8f(0x1bf)][_0x2f6d8f(0x1c4)][_0x2f6d8f(0x1c8)]();_0x410faa&&(_0x410faa['is'](_0x2f6d8f(0x1d8),_0x2f6d8f(0x1d7))||_0x410faa['is'](_0x2f6d8f(0x1d8),_0x2f6d8f(0x1c2)))&&(this[_0x2f6d8f(0x1cb)]=new _0x1a21b1(this[_0x2f6d8f(0x1d4)],this[_0x2f6d8f(0x1d4)][_0x2f6d8f(0x1c9)][_0x2f6d8f(0x1c5)](_0x56e1b8),_0x410faa),this[_0x2f6d8f(0x1de)](_0x2f6d8f(0x1db))['to'](this[_0x2f6d8f(0x1cb)],_0x2f6d8f(0x1db)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe21806=_0x5040;(function(_0x5956b0,_0x3e4712){const _0x8044ce=_0x5040,_0x268c25=_0x5956b0();while(!![]){try{const _0x51fc1a=parseInt(_0x8044ce(0x151))/0x1+parseInt(_0x8044ce(0x15e))/0x2+parseInt(_0x8044ce(0x159))/0x3*(-parseInt(_0x8044ce(0x14e))/0x4)+parseInt(_0x8044ce(0x150))/0x5*(-parseInt(_0x8044ce(0x160))/0x6)+-parseInt(_0x8044ce(0x14f))/0x7*(-parseInt(_0x8044ce(0x15c))/0x8)+-parseInt(_0x8044ce(0x153))/0x9+parseInt(_0x8044ce(0x155))/0xa*(parseInt(_0x8044ce(0x152))/0xb);if(_0x51fc1a===_0x3e4712)break;else _0x268c25['push'](_0x268c25['shift']());}catch(_0x339adb){_0x268c25['push'](_0x268c25['shift']());}}}(_0x261a,0x2ebde));import{Plugin as _0x135f91}from'ckeditor5/src/core.js';import{Notification as _0x133a3d}from'ckeditor5/src/ui.js';function _0x5040(_0x2a50a2,_0x2cbedf){const _0x261ac7=_0x261a();return _0x5040=function(_0x50406a,_0x1dd2ce){_0x50406a=_0x50406a-0x14d;let _0x12a69d=_0x261ac7[_0x50406a];return _0x12a69d;},_0x5040(_0x2a50a2,_0x2cbedf);}import{UploadcareImageEditCommand as _0x30aac3}from'./uploadcareimageeditcommand.js';function _0x261a(){const _0x185b40=['379357MpSxBK','2126052TxVsxg','requires','30PRPARd','init','UploadcareImageEditEditing','uploadcareImageReplace','44589vURBXw','uploadcareImageEdit','ImageUtils','1517184Wuchlm','isPremiumPlugin','623172tQBpJv','isOfficialPlugin','6YoVjoz','commands','ImageEditing','pluginName','add','36zlXrYF','14HpglOd','1591835XhMOsG','85473VMCSfM'];_0x261a=function(){return _0x185b40;};return _0x261a();}import{UploadcareImageReplaceCommand as _0x4ca09e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0xeda7b7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x135f91{static get[_0xe21806(0x163)](){const _0x160d25=_0xe21806;return _0x160d25(0x157);}static get[_0xe21806(0x154)](){const _0xc53602=_0xe21806;return[_0xeda7b7,_0x133a3d,_0xc53602(0x15b),_0xc53602(0x162)];}static get[_0xe21806(0x15f)](){return!0x0;}static get[_0xe21806(0x15d)](){return!0x0;}[_0xe21806(0x156)](){const _0x360465=_0xe21806,{editor:_0x4af27e}=this;_0x4af27e[_0x360465(0x161)][_0x360465(0x14d)](_0x360465(0x15a),new _0x30aac3(_0x4af27e)),_0x4af27e[_0x360465(0x161)][_0x360465(0x14d)](_0x360465(0x158),new _0x4ca09e(_0x4af27e));}}
23
+ const _0x24f534=_0x1680;(function(_0x364aab,_0x4d15a0){const _0x2deaff=_0x1680,_0x5ebcd3=_0x364aab();while(!![]){try{const _0x120ddf=-parseInt(_0x2deaff(0x1f1))/0x1*(-parseInt(_0x2deaff(0x1fd))/0x2)+-parseInt(_0x2deaff(0x1f7))/0x3*(-parseInt(_0x2deaff(0x1f4))/0x4)+-parseInt(_0x2deaff(0x1fa))/0x5+-parseInt(_0x2deaff(0x1ef))/0x6+parseInt(_0x2deaff(0x1fc))/0x7+-parseInt(_0x2deaff(0x1f3))/0x8+parseInt(_0x2deaff(0x1fe))/0x9;if(_0x120ddf===_0x4d15a0)break;else _0x5ebcd3['push'](_0x5ebcd3['shift']());}catch(_0xa970f2){_0x5ebcd3['push'](_0x5ebcd3['shift']());}}}(_0x4f66,0x4fdc2));function _0x1680(_0x36c570,_0x1a19bc){const _0x4f664a=_0x4f66();return _0x1680=function(_0x1680ea,_0x29c113){_0x1680ea=_0x1680ea-0x1ed;let _0x15aab9=_0x4f664a[_0x1680ea];return _0x15aab9;},_0x1680(_0x36c570,_0x1a19bc);}import{Plugin as _0x119874}from'ckeditor5/src/core.js';import{Notification as _0x5a2b8a}from'ckeditor5/src/ui.js';function _0x4f66(){const _0x1c5088=['3186834eJBwFc','uploadcareImageEdit','89MBmtIa','commands','2216392YACYYt','32ZaKioH','ImageUtils','UploadcareImageEditEditing','207633XhEyyM','init','isPremiumPlugin','771260gYBuew','ImageEditing','354501zapdYu','10364QAhLUq','2016153zqzUAk','requires','add','uploadcareImageReplace','isOfficialPlugin','pluginName'];_0x4f66=function(){return _0x1c5088;};return _0x4f66();}import{UploadcareImageEditCommand as _0x18100d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x26ca2e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x44eaf2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x119874{static get[_0x24f534(0x1ee)](){const _0xbabce1=_0x24f534;return _0xbabce1(0x1f6);}static get[_0x24f534(0x1ff)](){const _0x58bd84=_0x24f534;return[_0x44eaf2,_0x5a2b8a,_0x58bd84(0x1f5),_0x58bd84(0x1fb)];}static get[_0x24f534(0x1ed)](){return!0x0;}static get[_0x24f534(0x1f9)](){return!0x0;}[_0x24f534(0x1f8)](){const _0x1f7df1=_0x24f534,{editor:_0x2ef81a}=this;_0x2ef81a[_0x1f7df1(0x1f2)][_0x1f7df1(0x200)](_0x1f7df1(0x1f0),new _0x18100d(_0x2ef81a)),_0x2ef81a[_0x1f7df1(0x1f2)][_0x1f7df1(0x200)](_0x1f7df1(0x201),new _0x26ca2e(_0x2ef81a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5f0dc1}from'ckeditor5/src/core.js';import{ButtonView as _0x5b2430}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x15e51b}from'ckeditor5/src/icons.js';import{createElement as _0x416e91}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x5f0dc1{['_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 _0x1e4e81=this['editor'];_0x1e4e81['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54c649=>{const _0x223779=_0x1e4e81['commands']['get']('uploadcareImageEdit'),_0x120926=new _0x5b2430(_0x54c649),t=_0x54c649['t'];return _0x120926['set']({'icon':_0x15e51b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x120926['bind']('isEnabled')['to'](_0x223779),_0x120926['bind']('isOn')['to'](_0x223779,'isActive'),this['listenTo'](_0x120926,'execute',()=>{_0x1e4e81['execute']('uploadcareImageEdit'),_0x1e4e81['editing']['view']['focus']();}),_0x120926;}),this['_initConfig']();}['_initConfig'](){const _0x1bb759=_0x416e91(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1bb759),this['listenTo'](this['editor'],'destroy',()=>{_0x1bb759['remove']();});}}
23
+ import{Plugin as _0x462f1d}from'ckeditor5/src/core.js';import{ButtonView as _0x3b2e4e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xbac178}from'ckeditor5/src/icons.js';import{createElement as _0x4f0e68}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x462f1d{['_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 _0x17a8d4=this['editor'];_0x17a8d4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5f4820=>{const _0x18ce72=_0x17a8d4['commands']['get']('uploadcareImageEdit'),_0xa9c3a1=new _0x3b2e4e(_0x5f4820),t=_0x5f4820['t'];return _0xa9c3a1['set']({'icon':_0xbac178,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa9c3a1['bind']('isEnabled')['to'](_0x18ce72),_0xa9c3a1['bind']('isOn')['to'](_0x18ce72,'isActive'),this['listenTo'](_0xa9c3a1,'execute',()=>{_0x17a8d4['execute']('uploadcareImageEdit'),_0x17a8d4['editing']['view']['focus']();}),_0xa9c3a1;}),this['_initConfig']();}['_initConfig'](){const _0x1ab821=_0x4f0e68(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1ab821),this['listenTo'](this['editor'],'destroy',()=>{_0x1ab821['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x75aa(_0x3d86d9,_0x58d2f1){const _0x1a2866=_0x1a28();return _0x75aa=function(_0x75aa27,_0xd69f36){_0x75aa27=_0x75aa27-0x9a;let _0x2b3a1c=_0x1a2866[_0x75aa27];return _0x2b3a1c;},_0x75aa(_0x3d86d9,_0x58d2f1);}const _0x403c27=_0x75aa;function _0x1a28(){const _0x3e3e15=['refresh','srcset','imageInline','30scfHZi','element','change','589855JPDHDv','setAttributes','model','getSelectedElement','imageBlock','editor','execute','47644aaepzE','selection','2600360JGqUaE','608714mIHTmj','2220808oGtyZu','document','isEnabled','removeAttribute','sizes','10FHkMSU','201522PawyKg','144XTDLfA','13066083fAnNma'];_0x1a28=function(){return _0x3e3e15;};return _0x1a28();}(function(_0x111311,_0x41574b){const _0x58aa0a=_0x75aa,_0x2f5159=_0x111311();while(!![]){try{const _0x4c4898=parseInt(_0x58aa0a(0xb3))/0x1+parseInt(_0x58aa0a(0xa0))/0x2+parseInt(_0x58aa0a(0xa1))/0x3*(-parseInt(_0x58aa0a(0xb0))/0x4)+-parseInt(_0x58aa0a(0xa9))/0x5*(parseInt(_0x58aa0a(0xa6))/0x6)+-parseInt(_0x58aa0a(0xb2))/0x7+-parseInt(_0x58aa0a(0x9a))/0x8+-parseInt(_0x58aa0a(0xa2))/0x9*(-parseInt(_0x58aa0a(0x9f))/0xa);if(_0x4c4898===_0x41574b)break;else _0x2f5159['push'](_0x2f5159['shift']());}catch(_0x390427){_0x2f5159['push'](_0x2f5159['shift']());}}}(_0x1a28,0x55986));import{Command as _0x3d8726}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3d8726{[_0x403c27(0xa3)](){const _0x41350c=_0x403c27,_0x500643=this[_0x41350c(0xae)][_0x41350c(0xab)][_0x41350c(0x9b)][_0x41350c(0xb1)][_0x41350c(0xac)]();this[_0x41350c(0x9c)]=Boolean(_0x500643&&(_0x500643['is'](_0x41350c(0xa7),_0x41350c(0xad))||_0x500643['is'](_0x41350c(0xa7),_0x41350c(0xa5))));}[_0x403c27(0xaf)](_0x3f1028){const _0x42d102=_0x403c27,_0x3480a8=this[_0x42d102(0xae)][_0x42d102(0xab)][_0x42d102(0x9b)][_0x42d102(0xb1)][_0x42d102(0xac)]();this[_0x42d102(0xae)][_0x42d102(0xab)][_0x42d102(0xa8)](_0x3a37f0=>{const _0x57a2a6=_0x42d102;_0x3a37f0[_0x57a2a6(0xaa)](_0x3f1028,_0x3480a8),_0x3a37f0[_0x57a2a6(0x9d)](_0x57a2a6(0xa4),_0x3480a8),_0x3a37f0[_0x57a2a6(0x9d)](_0x57a2a6(0x9e),_0x3480a8);});}}
23
+ const _0x717a3=_0x4826;(function(_0x2955b8,_0x57da28){const _0x2d6a4e=_0x4826,_0x494ce6=_0x2955b8();while(!![]){try{const _0x5e39b4=parseInt(_0x2d6a4e(0xdd))/0x1*(parseInt(_0x2d6a4e(0xe1))/0x2)+-parseInt(_0x2d6a4e(0xd0))/0x3+parseInt(_0x2d6a4e(0xd7))/0x4*(-parseInt(_0x2d6a4e(0xcb))/0x5)+-parseInt(_0x2d6a4e(0xde))/0x6*(parseInt(_0x2d6a4e(0xc9))/0x7)+parseInt(_0x2d6a4e(0xda))/0x8+-parseInt(_0x2d6a4e(0xce))/0x9*(parseInt(_0x2d6a4e(0xdf))/0xa)+-parseInt(_0x2d6a4e(0xe2))/0xb*(-parseInt(_0x2d6a4e(0xd5))/0xc);if(_0x5e39b4===_0x57da28)break;else _0x494ce6['push'](_0x494ce6['shift']());}catch(_0x5a846d){_0x494ce6['push'](_0x494ce6['shift']());}}}(_0x564d,0x9b969));import{Command as _0x4dae8f}from'ckeditor5/src/core.js';function _0x564d(){const _0x72f5d6=['30xaQBqD','change','3646HNbQaX','814joXpSf','model','execute','330967qPPeCx','editor','70lEKWRJ','refresh','setAttributes','1393947yFcKtZ','element','2938296dlYSIs','removeAttribute','imageBlock','sizes','document','349728wXSwzw','selection','337148UVBYAP','imageInline','getSelectedElement','8268144DKsxbb','srcset','isEnabled','65KDJrWV','6LFrfLI'];_0x564d=function(){return _0x72f5d6;};return _0x564d();}function _0x4826(_0x468cd1,_0x1bc41){const _0x564d89=_0x564d();return _0x4826=function(_0x4826e1,_0x2d0cd8){_0x4826e1=_0x4826e1-0xc8;let _0x3cf16c=_0x564d89[_0x4826e1];return _0x3cf16c;},_0x4826(_0x468cd1,_0x1bc41);}export class UploadcareImageReplaceCommand extends _0x4dae8f{[_0x717a3(0xcc)](){const _0x4235c4=_0x717a3,_0x2978df=this[_0x4235c4(0xca)][_0x4235c4(0xe3)][_0x4235c4(0xd4)][_0x4235c4(0xd6)][_0x4235c4(0xd9)]();this[_0x4235c4(0xdc)]=Boolean(_0x2978df&&(_0x2978df['is'](_0x4235c4(0xcf),_0x4235c4(0xd2))||_0x2978df['is'](_0x4235c4(0xcf),_0x4235c4(0xd8))));}[_0x717a3(0xc8)](_0x4a5d9b){const _0x1376e8=_0x717a3,_0x4fcabd=this[_0x1376e8(0xca)][_0x1376e8(0xe3)][_0x1376e8(0xd4)][_0x1376e8(0xd6)][_0x1376e8(0xd9)]();this[_0x1376e8(0xca)][_0x1376e8(0xe3)][_0x1376e8(0xe0)](_0x2171cc=>{const _0x4d5d98=_0x1376e8;_0x2171cc[_0x4d5d98(0xcd)](_0x4a5d9b,_0x4fcabd),_0x2171cc[_0x4d5d98(0xd1)](_0x4d5d98(0xdb),_0x4fcabd),_0x2171cc[_0x4d5d98(0xd1)](_0x4d5d98(0xd3),_0x4fcabd);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5dabe4=_0x4913;function _0x4913(_0x1b8a1f,_0x44dd9a){var _0x3b5f77=_0x3b5f();return _0x4913=function(_0x49133d,_0x1f5e9b){_0x49133d=_0x49133d-0x134;var _0x32c5a5=_0x3b5f77[_0x49133d];return _0x32c5a5;},_0x4913(_0x1b8a1f,_0x44dd9a);}(function(_0xacf58,_0x1a4e4d){var _0x1c76c5=_0x4913,_0x5c9899=_0xacf58();while(!![]){try{var _0x5dbeaf=parseInt(_0x1c76c5(0x139))/0x1*(parseInt(_0x1c76c5(0x13e))/0x2)+-parseInt(_0x1c76c5(0x138))/0x3+-parseInt(_0x1c76c5(0x13c))/0x4+-parseInt(_0x1c76c5(0x141))/0x5+parseInt(_0x1c76c5(0x140))/0x6*(-parseInt(_0x1c76c5(0x13a))/0x7)+parseInt(_0x1c76c5(0x13f))/0x8*(parseInt(_0x1c76c5(0x134))/0x9)+parseInt(_0x1c76c5(0x135))/0xa;if(_0x5dbeaf===_0x1a4e4d)break;else _0x5c9899['push'](_0x5c9899['shift']());}catch(_0x23ba64){_0x5c9899['push'](_0x5c9899['shift']());}}}(_0x3b5f,0x31797));function _0x3b5f(){var _0x4c177e=['909865cSwgrH','pluginName','840465qzdcAr','5050010vxHwkG','isPremiumPlugin','UploadcareImageEdit','819714KzOHnh','1yNVpJp','15071spHJRV','isOfficialPlugin','578028eFduXM','requires','476854eGiGwq','8eHSlxg','96TUuiKp'];_0x3b5f=function(){return _0x4c177e;};return _0x3b5f();}import{Plugin as _0x1780e3}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2ae778}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x175a83}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1780e3{static get[_0x5dabe4(0x142)](){var _0x47942a=_0x5dabe4;return _0x47942a(0x137);}static get[_0x5dabe4(0x13d)](){return[_0x2ae778,_0x175a83];}static get[_0x5dabe4(0x13b)](){return!0x0;}static get[_0x5dabe4(0x136)](){return!0x0;}}
23
+ var _0x4ad602=_0x126c;(function(_0x472839,_0x4e11d5){var _0x3fd3a4=_0x126c,_0x4c3001=_0x472839();while(!![]){try{var _0x5eabb6=-parseInt(_0x3fd3a4(0x76))/0x1+parseInt(_0x3fd3a4(0x7b))/0x2+-parseInt(_0x3fd3a4(0x7e))/0x3+parseInt(_0x3fd3a4(0x7f))/0x4*(-parseInt(_0x3fd3a4(0x7c))/0x5)+parseInt(_0x3fd3a4(0x7a))/0x6+-parseInt(_0x3fd3a4(0x7d))/0x7+parseInt(_0x3fd3a4(0x77))/0x8;if(_0x5eabb6===_0x4e11d5)break;else _0x4c3001['push'](_0x4c3001['shift']());}catch(_0x545bb4){_0x4c3001['push'](_0x4c3001['shift']());}}}(_0x22dd,0xace9d));function _0x126c(_0x267b9d,_0x3bdcea){var _0x22dd61=_0x22dd();return _0x126c=function(_0x126c15,_0x43b778){_0x126c15=_0x126c15-0x74;var _0x277e00=_0x22dd61[_0x126c15];return _0x277e00;},_0x126c(_0x267b9d,_0x3bdcea);}function _0x22dd(){var _0x50f5ba=['16420880BFzAbF','isPremiumPlugin','pluginName','2621916ToTcpS','2163148qCLXsn','6554415ZFtHzN','4344312ZcNDlP','2047224KgiISL','4hmkmxv','UploadcareImageEdit','isOfficialPlugin','requires','249010iTicMU'];_0x22dd=function(){return _0x50f5ba;};return _0x22dd();}import{Plugin as _0x1772df}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1ccab0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4221e2}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1772df{static get[_0x4ad602(0x79)](){var _0x1e9635=_0x4ad602;return _0x1e9635(0x80);}static get[_0x4ad602(0x75)](){return[_0x1ccab0,_0x4221e2];}static get[_0x4ad602(0x74)](){return!0x0;}static get[_0x4ad602(0x78)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x32ad(){const _0x1e95df=['commands','map','7nJxNxW','Uploadcare','_createDropdownButtons','GDrive','_licenseKeyCheckInterval','_createButton','has','upload','shortText','featureNotAllowed','2770LxOPfn','text','withText','12kyhKJX','isEnabled','1340124wkGjJN','isImageSelected','url','uploadcareLicenseKeyUsageLimit','Insert','11822376yaufSs','4085ajHEju','uploadcareLicenseKeyValid','bind','usageLimit','6882GhcWAQ','locale','invalid','Local','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','Dropbox','push','type','forEach','icon','URL','afterInit','747884rNUrTB','OneDrive','reduce','entries','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','pluginName','isOfficialPlugin','domainLimit','isPremiumPlugin','trialLimit','label','execute','uploadcareLicenseKeyEvaluationLimit','uploadcare.uploader.sourceList','_getIntegrationKey','_showLicenseError','expired','licenseKey','registerIntegration','6882525OcJEWz','_createToolbarButton','destroy','89507LDyDuO','uploadcare','config','uploadcareLicenseKeyInvalid','GPhotos','ImageInsertUI','_createMenuBarButtons','tooltip','1809122HvxaXk','init','uploadcareLicenseKeyNotAllowed','assetManager','Facebook','evaluationLimit','plugins','UploadcareUI','editor','get','Replace'];_0x32ad=function(){return _0x1e95df;};return _0x32ad();}const _0x5ccbec=_0x36d8;function _0x36d8(_0x1005fe,_0x38807d){const _0x32adc8=_0x32ad();return _0x36d8=function(_0x36d8cd,_0x3ec47c){_0x36d8cd=_0x36d8cd-0x90;let _0xf538e=_0x32adc8[_0x36d8cd];return _0xf538e;},_0x36d8(_0x1005fe,_0x38807d);}(function(_0x8164d1,_0x3bb147){const _0x864d9b=_0x36d8,_0x4c3822=_0x8164d1();while(!![]){try{const _0x2b2c7d=-parseInt(_0x864d9b(0xdb))/0x1+parseInt(_0x864d9b(0xbf))/0x2+-parseInt(_0x864d9b(0xd9))/0x3*(-parseInt(_0x864d9b(0xa0))/0x4)+-parseInt(_0x864d9b(0xe1))/0x5*(parseInt(_0x864d9b(0x93))/0x6)+-parseInt(_0x864d9b(0xcc))/0x7*(parseInt(_0x864d9b(0xe0))/0x8)+parseInt(_0x864d9b(0xb4))/0x9+parseInt(_0x864d9b(0xd6))/0xa*(parseInt(_0x864d9b(0xb7))/0xb);if(_0x2b2c7d===_0x3bb147)break;else _0x4c3822['push'](_0x4c3822['shift']());}catch(_0x4f19bf){_0x4c3822['push'](_0x4c3822['shift']());}}}(_0x32ad,0xdfa83));import{Plugin as _0x11f085}from'ckeditor5/src/core.js';import{IconDropbox as _0x4e0590,IconFacebook as _0x236931,IconGoogleDrive as _0x2be36c,IconGooglePhotos as _0x2b1b20,IconUploadcareImageUpload as _0x4fe792,IconUploadcareLink as _0xf0c53a,IconOneDrive as _0x3a2323}from'ckeditor5/src/icons.js';import{ButtonView as _0x357fe3,MenuBarMenuListItemButtonView as _0x1caeca}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x41838d}from'./uploadcareconfig.js';import{getTranslation as _0x47e788}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x11f085{[_0x5ccbec(0xb2)];[_0x5ccbec(0xd0)];static get[_0x5ccbec(0xa6)](){const _0x7920c6=_0x5ccbec;return _0x7920c6(0xc6);}static get[_0x5ccbec(0xa7)](){return!0x0;}static get[_0x5ccbec(0xa9)](){return!0x0;}[_0x5ccbec(0xc0)](){const _0x924d0d=_0x5ccbec;this[_0x924d0d(0xb2)]=this[_0x924d0d(0xc7)][_0x924d0d(0xb9)][_0x924d0d(0xc8)](_0x924d0d(0xb2));const _0x361fd8=this[_0x924d0d(0xc7)];this[_0x924d0d(0xd0)]=setInterval(()=>{const _0x240672=_0x924d0d;let _0x21ec19;for(const _0x3d17dd in _0x361fd8){const _0x7fd098=_0x3d17dd,_0x3b6f65=_0x361fd8[_0x7fd098];if(_0x240672(0x90)==_0x3b6f65||_0x240672(0xba)==_0x3b6f65||_0x240672(0xa5)==_0x3b6f65||_0x240672(0x98)==_0x3b6f65||_0x240672(0xc1)==_0x3b6f65||_0x240672(0xad)==_0x3b6f65||_0x240672(0x97)==_0x3b6f65||_0x240672(0xde)==_0x3b6f65){delete _0x361fd8[_0x7fd098],_0x21ec19=_0x3b6f65,clearInterval(this[_0x240672(0xd0)]),this[_0x240672(0xd0)]=void 0x0;break;}}_0x240672(0xba)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0x95)),_0x240672(0xa5)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0xb1)),_0x240672(0x98)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0xa8)),_0x240672(0xc1)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0xd5),_0x240672(0xcd)),_0x240672(0xad)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0xc4)),_0x240672(0x97)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0xaa)),_0x240672(0xde)==_0x21ec19&&_0x361fd8[_0x240672(0xb0)](_0x240672(0x92));},0x3e8);}[_0x5ccbec(0x9f)](){const _0x575c2d=_0x5ccbec,{editor:_0x29340c}=this,_0x1ef32f=_0x29340c[_0x575c2d(0xca)][_0x575c2d(0xc8)](_0x575c2d(0xb8));if(!_0x1ef32f)return;const _0x4ee5d1=this[_0x575c2d(0xa4)](_0x29340c[_0x575c2d(0xb9)][_0x575c2d(0xc8)](_0x575c2d(0xae)))[_0x575c2d(0xa2)]((_0x5a8d60,_0x5f5b71)=>{const _0x3c86ab=_0x575c2d,_0x2ba4cb=this[_0x3c86ab(0xaf)](_0x5f5b71[_0x3c86ab(0x9b)]);return _0x5a8d60[_0x2ba4cb]||(_0x5a8d60[_0x2ba4cb]=[]),_0x5a8d60[_0x2ba4cb][_0x3c86ab(0x9a)](_0x5f5b71),_0x5a8d60;},{});_0x29340c[_0x575c2d(0xc5)][_0x575c2d(0xd2)](_0x575c2d(0xbc))&&_0x29340c[_0x575c2d(0xca)][_0x575c2d(0xc8)](_0x575c2d(0xb8))&&Object[_0x575c2d(0xa3)](_0x4ee5d1)[_0x575c2d(0x9c)](([_0x1cc911,_0x288ae6])=>{const _0x90df37=_0x575c2d;_0x29340c[_0x90df37(0xc5)][_0x90df37(0xc8)](_0x90df37(0xbc))[_0x90df37(0xb3)]({'name':_0x1cc911,'observable':()=>_0x1ef32f,'buttonViewCreator':()=>this[_0x90df37(0xb5)](_0x288ae6),'formViewCreator':()=>this[_0x90df37(0xce)](_0x288ae6),'menuBarButtonViewCreator':()=>this[_0x90df37(0xbd)](_0x288ae6),'override':_0x90df37(0xc2)!==_0x1cc911});});}[_0x5ccbec(0xb6)](){const _0x391627=_0x5ccbec;super[_0x391627(0xb6)](),this[_0x391627(0xd0)]&&clearInterval(this[_0x391627(0xd0)]);}[_0x5ccbec(0xa4)](_0x5030f9){const _0x275454=_0x5ccbec,{locale:_0x1e4926}=this[_0x275454(0xc7)];return _0x5030f9[_0x275454(0xcb)](_0x3feb5d=>{const _0x3bc3c5=_0x275454,_0x267906=_0x47e788(_0x1e4926,_0x3feb5d,_0x3bc3c5(0xdf));switch(_0x3feb5d){case _0x41838d[_0x3bc3c5(0x96)]:return{'icon':_0x4fe792,'type':_0x41838d[_0x3bc3c5(0x96)],..._0x267906};case _0x41838d[_0x3bc3c5(0x9e)]:return{'icon':_0xf0c53a,'type':_0x41838d[_0x3bc3c5(0x9e)],..._0x267906};case _0x41838d[_0x3bc3c5(0x99)]:return{'icon':_0x4e0590,'type':_0x41838d[_0x3bc3c5(0x99)],..._0x267906};case _0x41838d[_0x3bc3c5(0xc3)]:return{'icon':_0x236931,'type':_0x41838d[_0x3bc3c5(0xc3)],..._0x267906};case _0x41838d[_0x3bc3c5(0xcf)]:return{'icon':_0x2be36c,'type':_0x41838d[_0x3bc3c5(0xcf)],..._0x267906};case _0x41838d[_0x3bc3c5(0xbb)]:return{'icon':_0x2b1b20,'type':_0x41838d[_0x3bc3c5(0xbb)],..._0x267906};case _0x41838d[_0x3bc3c5(0xa1)]:return{'icon':_0x3a2323,'type':_0x41838d[_0x3bc3c5(0xa1)],..._0x267906};}});}[_0x5ccbec(0xaf)](_0x32277e){const _0xdc7165=_0x5ccbec;switch(_0x32277e){case _0x41838d[_0xdc7165(0x96)]:return _0xdc7165(0xd3);case _0x41838d[_0xdc7165(0x9e)]:return _0xdc7165(0xdd);default:return _0xdc7165(0xc2);}}[_0x5ccbec(0xd1)](_0x45c816,_0x559ccf){const _0x4e6bf4=_0x5ccbec,_0x443dda=this[_0x4e6bf4(0xc7)],_0x2b6318=new _0x45c816(_0x443dda[_0x4e6bf4(0x94)]),_0x1eeb85=_0x443dda[_0x4e6bf4(0xca)][_0x4e6bf4(0xc8)](_0x4e6bf4(0xb8));return _0x2b6318[_0x4e6bf4(0x91)](_0x4e6bf4(0xda))['to'](_0x1eeb85),_0x2b6318['on'](_0x4e6bf4(0xac),()=>{const _0x5e4fa5=_0x4e6bf4;_0x1eeb85[_0x5e4fa5(0xac)](_0x559ccf);}),_0x2b6318;}[_0x5ccbec(0xb5)](_0x178c90){const _0x36dfb9=_0x5ccbec,{locale:_0x58556d}=this[_0x36dfb9(0xc7)],_0x31a231=this[_0x36dfb9(0xc7)][_0x36dfb9(0xc5)][_0x36dfb9(0xc8)](_0x36dfb9(0xbc)),_0x5e99d3=_0x178c90[0x0],_0x1a8c76=this[_0x36dfb9(0xd1)](_0x357fe3,_0x5e99d3[_0x36dfb9(0x9b)]);return _0x1a8c76[_0x36dfb9(0x9d)]=_0x5e99d3[_0x36dfb9(0x9d)],_0x1a8c76[_0x36dfb9(0x91)](_0x36dfb9(0xab))['to'](_0x31a231,_0x36dfb9(0xdc),_0x438167=>_0x47e788(_0x58556d,_0x5e99d3[_0x36dfb9(0x9b)],_0x438167?_0x36dfb9(0xc9):_0x36dfb9(0xdf))[_0x36dfb9(0xd7)]),_0x1a8c76[_0x36dfb9(0xbe)]=!0x0,_0x1a8c76;}[_0x5ccbec(0xce)](_0x2535f2){const _0x1ff2a4=_0x5ccbec,{locale:_0x2edb00}=this[_0x1ff2a4(0xc7)],_0x5d2681=this[_0x1ff2a4(0xc7)][_0x1ff2a4(0xc5)][_0x1ff2a4(0xc8)](_0x1ff2a4(0xbc));return _0x2535f2[_0x1ff2a4(0xcb)](_0x466099=>{const _0x79fce3=_0x1ff2a4,_0x2cb565=this[_0x79fce3(0xd1)](_0x357fe3,_0x466099[_0x79fce3(0x9b)]);return _0x2cb565[_0x79fce3(0xd8)]=!0x0,_0x2cb565[_0x79fce3(0x9d)]=_0x466099[_0x79fce3(0x9d)],_0x2cb565[_0x79fce3(0x91)](_0x79fce3(0xab))['to'](_0x5d2681,_0x79fce3(0xdc),_0x1ef8c9=>_0x47e788(_0x2edb00,_0x466099[_0x79fce3(0x9b)],_0x1ef8c9?_0x79fce3(0xc9):_0x79fce3(0xdf))[_0x79fce3(0xd7)]),_0x2cb565;});}[_0x5ccbec(0xbd)](_0x53376d){const _0x399b1e=_0x5ccbec;return _0x53376d[_0x399b1e(0xcb)](_0x5379ca=>{const _0x20225f=_0x399b1e,_0x2fa95c=this[_0x20225f(0xd1)](_0x1caeca,_0x5379ca[_0x20225f(0x9b)]);return _0x2fa95c[_0x20225f(0x9d)]=_0x5379ca[_0x20225f(0x9d)],_0x2fa95c[_0x20225f(0xab)]=_0x5379ca[_0x20225f(0xd4)],_0x2fa95c;});}}
23
+ const _0x14b850=_0x45eb;(function(_0x1631bc,_0x2e13b0){const _0x398ecd=_0x45eb,_0x43e128=_0x1631bc();while(!![]){try{const _0x4f8271=-parseInt(_0x398ecd(0x115))/0x1+-parseInt(_0x398ecd(0xee))/0x2*(-parseInt(_0x398ecd(0x10e))/0x3)+parseInt(_0x398ecd(0x116))/0x4+parseInt(_0x398ecd(0x100))/0x5+-parseInt(_0x398ecd(0x132))/0x6+parseInt(_0x398ecd(0xeb))/0x7+-parseInt(_0x398ecd(0xf6))/0x8*(parseInt(_0x398ecd(0x130))/0x9);if(_0x4f8271===_0x2e13b0)break;else _0x43e128['push'](_0x43e128['shift']());}catch(_0x38905d){_0x43e128['push'](_0x43e128['shift']());}}}(_0x2edb,0xb5dc4));import{Plugin as _0x5ca54c}from'ckeditor5/src/core.js';import{IconDropbox as _0xff5d88,IconFacebook as _0x55e1ba,IconGoogleDrive as _0x4125bb,IconGooglePhotos as _0xdcb9e6,IconUploadcareImageUpload as _0x5d5d41,IconUploadcareLink as _0x428446,IconOneDrive as _0x10fb62}from'ckeditor5/src/icons.js';function _0x45eb(_0x26f873,_0x49c749){const _0x2edb2f=_0x2edb();return _0x45eb=function(_0x45eb41,_0x20f4b3){_0x45eb41=_0x45eb41-0xeb;let _0x190185=_0x2edb2f[_0x45eb41];return _0x190185;},_0x45eb(_0x26f873,_0x49c749);}function _0x2edb(){const _0x5527d5=['Insert','icon','Local','init','editor','commands','uploadcareLicenseKeyDomainLimit','withText','GDrive','ImageInsertUI','plugins','upload','_createMenuBarButtons','destroy','isImageSelected','uploadcare','push','invalid','domainLimit','OneDrive','5202lwERQl','isEnabled','1632432uavdjL','Facebook','shortText','get','text','uploadcareLicenseKeyTrialLimit','execute','bind','config','10004197jIRHmE','label','forEach','12116VpWprv','map','tooltip','registerIntegration','UploadcareUI','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','_createToolbarButton','15680ukimGj','usageLimit','Dropbox','assetManager','uploadcareLicenseKeyUsageLimit','locale','_licenseKeyCheckInterval','isOfficialPlugin','trialLimit','afterInit','2342490fcwtbJ','GPhotos','reduce','URL','uploadcareLicenseKeyNotAllowed','uploadcare.uploader.sourceList','featureNotAllowed','_normalizeConfigSourceList','Replace','Uploadcare','_showLicenseError','expired','licenseKey','isPremiumPlugin','477CDHRMB','_getIntegrationKey','url','_createButton','type','evaluationLimit','pluginName','1346785rsPKsK','2542984VipQCM','has','uploadcareLicenseKeyExpired','entries','_createDropdownButtons','uploadcareLicenseKeyInvalid'];_0x2edb=function(){return _0x5527d5;};return _0x2edb();}import{ButtonView as _0x40f8e3,MenuBarMenuListItemButtonView as _0xe1dce9}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2a48f2}from'./uploadcareconfig.js';import{getTranslation as _0x218a55}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x5ca54c{[_0x14b850(0x10c)];[_0x14b850(0xfc)];static get[_0x14b850(0x114)](){const _0x307073=_0x14b850;return _0x307073(0xf2);}static get[_0x14b850(0xfd)](){return!0x0;}static get[_0x14b850(0x10d)](){return!0x0;}[_0x14b850(0x11f)](){const _0x254b99=_0x14b850;this[_0x254b99(0x10c)]=this[_0x254b99(0x120)][_0x254b99(0x13a)][_0x254b99(0x135)](_0x254b99(0x10c));const _0x1b04e9=this[_0x254b99(0x120)];this[_0x254b99(0xfc)]=setInterval(()=>{const _0x45e53e=_0x254b99;let _0x2d4e0c;for(const _0x78a569 in _0x1b04e9){const _0x208473=_0x78a569,_0x38c1aa=_0x1b04e9[_0x208473];if(_0x45e53e(0xf3)==_0x38c1aa||_0x45e53e(0x11b)==_0x38c1aa||_0x45e53e(0x118)==_0x38c1aa||_0x45e53e(0x122)==_0x38c1aa||_0x45e53e(0x104)==_0x38c1aa||_0x45e53e(0xf4)==_0x38c1aa||_0x45e53e(0x137)==_0x38c1aa||_0x45e53e(0xfa)==_0x38c1aa){delete _0x1b04e9[_0x208473],_0x2d4e0c=_0x38c1aa,clearInterval(this[_0x45e53e(0xfc)]),this[_0x45e53e(0xfc)]=void 0x0;break;}}_0x45e53e(0x11b)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x12d)),_0x45e53e(0x118)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x10b)),_0x45e53e(0x122)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x12e)),_0x45e53e(0x104)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x106),_0x45e53e(0x109)),_0x45e53e(0xf4)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0x113)),_0x45e53e(0x137)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0xfe)),_0x45e53e(0xfa)==_0x2d4e0c&&_0x1b04e9[_0x45e53e(0x10a)](_0x45e53e(0xf7));},0x3e8);}[_0x14b850(0xff)](){const _0x386a3a=_0x14b850,{editor:_0x23db4e}=this,_0x2f1349=_0x23db4e[_0x386a3a(0x121)][_0x386a3a(0x135)](_0x386a3a(0x12b));if(!_0x2f1349)return;const _0x407de1=this[_0x386a3a(0x107)](_0x23db4e[_0x386a3a(0x13a)][_0x386a3a(0x135)](_0x386a3a(0x105)))[_0x386a3a(0x102)]((_0x434ce6,_0x2b5582)=>{const _0x3a71c0=_0x386a3a,_0x309d16=this[_0x3a71c0(0x10f)](_0x2b5582[_0x3a71c0(0x112)]);return _0x434ce6[_0x309d16]||(_0x434ce6[_0x309d16]=[]),_0x434ce6[_0x309d16][_0x3a71c0(0x12c)](_0x2b5582),_0x434ce6;},{});_0x23db4e[_0x386a3a(0x126)][_0x386a3a(0x117)](_0x386a3a(0x125))&&_0x23db4e[_0x386a3a(0x121)][_0x386a3a(0x135)](_0x386a3a(0x12b))&&Object[_0x386a3a(0x119)](_0x407de1)[_0x386a3a(0xed)](([_0x3b8f3f,_0x406aab])=>{const _0x256f00=_0x386a3a;_0x23db4e[_0x256f00(0x126)][_0x256f00(0x135)](_0x256f00(0x125))[_0x256f00(0xf1)]({'name':_0x3b8f3f,'observable':()=>_0x2f1349,'buttonViewCreator':()=>this[_0x256f00(0xf5)](_0x406aab),'formViewCreator':()=>this[_0x256f00(0x11a)](_0x406aab),'menuBarButtonViewCreator':()=>this[_0x256f00(0x128)](_0x406aab),'override':_0x256f00(0xf9)!==_0x3b8f3f});});}[_0x14b850(0x129)](){const _0x489cee=_0x14b850;super[_0x489cee(0x129)](),this[_0x489cee(0xfc)]&&clearInterval(this[_0x489cee(0xfc)]);}[_0x14b850(0x107)](_0x15b58d){const _0x12194b=_0x14b850,{locale:_0x3b822c}=this[_0x12194b(0x120)];return _0x15b58d[_0x12194b(0xef)](_0x3825fe=>{const _0x4529fb=_0x12194b,_0x5d4027=_0x218a55(_0x3b822c,_0x3825fe,_0x4529fb(0x11c));switch(_0x3825fe){case _0x2a48f2[_0x4529fb(0x11e)]:return{'icon':_0x5d5d41,'type':_0x2a48f2[_0x4529fb(0x11e)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x103)]:return{'icon':_0x428446,'type':_0x2a48f2[_0x4529fb(0x103)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0xf8)]:return{'icon':_0xff5d88,'type':_0x2a48f2[_0x4529fb(0xf8)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x133)]:return{'icon':_0x55e1ba,'type':_0x2a48f2[_0x4529fb(0x133)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x124)]:return{'icon':_0x4125bb,'type':_0x2a48f2[_0x4529fb(0x124)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x101)]:return{'icon':_0xdcb9e6,'type':_0x2a48f2[_0x4529fb(0x101)],..._0x5d4027};case _0x2a48f2[_0x4529fb(0x12f)]:return{'icon':_0x10fb62,'type':_0x2a48f2[_0x4529fb(0x12f)],..._0x5d4027};}});}[_0x14b850(0x10f)](_0x1d7acb){const _0x37dd08=_0x14b850;switch(_0x1d7acb){case _0x2a48f2[_0x37dd08(0x11e)]:return _0x37dd08(0x127);case _0x2a48f2[_0x37dd08(0x103)]:return _0x37dd08(0x110);default:return _0x37dd08(0xf9);}}[_0x14b850(0x111)](_0x4e273e,_0xe88f67){const _0x42767c=_0x14b850,_0x59b8b1=this[_0x42767c(0x120)],_0x3b294e=new _0x4e273e(_0x59b8b1[_0x42767c(0xfb)]),_0x1e79dd=_0x59b8b1[_0x42767c(0x121)][_0x42767c(0x135)](_0x42767c(0x12b));return _0x3b294e[_0x42767c(0x139)](_0x42767c(0x131))['to'](_0x1e79dd),_0x3b294e['on'](_0x42767c(0x138),()=>{const _0x5cd8a6=_0x42767c;_0x1e79dd[_0x5cd8a6(0x138)](_0xe88f67);}),_0x3b294e;}[_0x14b850(0xf5)](_0x31cf93){const _0xf4ed46=_0x14b850,{locale:_0x38719e}=this[_0xf4ed46(0x120)],_0x206200=this[_0xf4ed46(0x120)][_0xf4ed46(0x126)][_0xf4ed46(0x135)](_0xf4ed46(0x125)),_0xfe16d6=_0x31cf93[0x0],_0x3ede5c=this[_0xf4ed46(0x111)](_0x40f8e3,_0xfe16d6[_0xf4ed46(0x112)]);return _0x3ede5c[_0xf4ed46(0x11d)]=_0xfe16d6[_0xf4ed46(0x11d)],_0x3ede5c[_0xf4ed46(0x139)](_0xf4ed46(0xec))['to'](_0x206200,_0xf4ed46(0x12a),_0x3797e2=>_0x218a55(_0x38719e,_0xfe16d6[_0xf4ed46(0x112)],_0x3797e2?_0xf4ed46(0x108):_0xf4ed46(0x11c))[_0xf4ed46(0x136)]),_0x3ede5c[_0xf4ed46(0xf0)]=!0x0,_0x3ede5c;}[_0x14b850(0x11a)](_0x24acf3){const _0x3d2165=_0x14b850,{locale:_0x5938f6}=this[_0x3d2165(0x120)],_0x6705c0=this[_0x3d2165(0x120)][_0x3d2165(0x126)][_0x3d2165(0x135)](_0x3d2165(0x125));return _0x24acf3[_0x3d2165(0xef)](_0x1bba9f=>{const _0x54535e=_0x3d2165,_0x441362=this[_0x54535e(0x111)](_0x40f8e3,_0x1bba9f[_0x54535e(0x112)]);return _0x441362[_0x54535e(0x123)]=!0x0,_0x441362[_0x54535e(0x11d)]=_0x1bba9f[_0x54535e(0x11d)],_0x441362[_0x54535e(0x139)](_0x54535e(0xec))['to'](_0x6705c0,_0x54535e(0x12a),_0x17a1f3=>_0x218a55(_0x5938f6,_0x1bba9f[_0x54535e(0x112)],_0x17a1f3?_0x54535e(0x108):_0x54535e(0x11c))[_0x54535e(0x136)]),_0x441362;});}[_0x14b850(0x128)](_0x1330ab){const _0x479699=_0x14b850;return _0x1330ab[_0x479699(0xef)](_0x567aff=>{const _0x49cdb3=_0x479699,_0x312072=this[_0x49cdb3(0x111)](_0xe1dce9,_0x567aff[_0x49cdb3(0x112)]);return _0x312072[_0x49cdb3(0x11d)]=_0x567aff[_0x49cdb3(0x11d)],_0x312072[_0x49cdb3(0xec)]=_0x567aff[_0x49cdb3(0x134)],_0x312072;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xf3a367}from'ckeditor5/src/core.js';import{FileRepository as _0x2636a2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x216737}from'./uploadcareediting.js';import{UploadUtils as _0x2390fd}from'./utils/uploadutils.js';import{getImageUrls as _0x10e072}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xf3a367{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2636a2,_0x216737];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x470c93=this['editor'];if(!!!_0x470c93['config']['get']('uploadcare'))return;_0x470c93['plugins']['get'](_0x2636a2)['createUploadAdapter']=_0x39e692=>new A(_0x39e692,_0x470c93),_0x470c93['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5c570b,{imageElement:_0x56ba0b,data:_0x151b64})=>{_0x470c93['model']['change'](_0x56e378=>{_0x56e378['setAttribute']('uploadcareImageId',_0x151b64['uploadcareImageId'],_0x56ba0b);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x191803,_0x25bf87){this['loader']=_0x191803,this['editor']=_0x25bf87,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x37f80c=this['editor']['config']['get']('uploadcare.pubkey'),_0x26d31d=await this['loader']['file'];return _0x2390fd['upload']({'file':_0x26d31d,'publicKey':_0x37f80c,'signal':this['controller']['signal'],'onProgress':_0x3b16c7=>{_0x3b16c7&&_0x3b16c7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3b16c7['value']);}})['then'](async _0x35c2cf=>{const {imageFallbackUrl:_0x1d342b,imageSources:_0x409528}=_0x10e072(_0x35c2cf['cdnUrl'],_0x35c2cf['imageInfo']['width']);return{'uploadcareImageId':_0x35c2cf['uuid'],'default':_0x1d342b,'sources':_0x409528};})['catch'](()=>{const _0x47107c=t('Cannot\x20upload\x20file:')+('\x20'+_0x26d31d['name']+'.');return Promise['reject'](_0x47107c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4b0855}from'ckeditor5/src/core.js';import{FileRepository as _0x4b75f5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x364e6e}from'./uploadcareediting.js';import{UploadUtils as _0x3f7bad}from'./utils/uploadutils.js';import{getImageUrls as _0x2c9d9f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4b0855{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4b75f5,_0x364e6e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4c16e3=this['editor'];if(!!!_0x4c16e3['config']['get']('uploadcare'))return;_0x4c16e3['plugins']['get'](_0x4b75f5)['createUploadAdapter']=_0x3be3f0=>new A(_0x3be3f0,_0x4c16e3),_0x4c16e3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5a487b,{imageElement:_0x4aaaa1,data:_0x397c6c})=>{_0x4c16e3['model']['change'](_0x36cd46=>{_0x36cd46['setAttribute']('uploadcareImageId',_0x397c6c['uploadcareImageId'],_0x4aaaa1);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1474d5,_0x512927){this['loader']=_0x1474d5,this['editor']=_0x512927,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4039a2=this['editor']['config']['get']('uploadcare.pubkey'),_0xabdfd3=await this['loader']['file'];return _0x3f7bad['upload']({'file':_0xabdfd3,'publicKey':_0x4039a2,'signal':this['controller']['signal'],'onProgress':_0x1159d0=>{_0x1159d0&&_0x1159d0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1159d0['value']);}})['then'](async _0x858b8e=>{const {imageFallbackUrl:_0x5cef8f,imageSources:_0x2142c5}=_0x2c9d9f(_0x858b8e['cdnUrl'],_0x858b8e['imageInfo']['width']);return{'uploadcareImageId':_0x858b8e['uuid'],'default':_0x5cef8f,'sources':_0x2142c5};})['catch'](()=>{const _0x2bd053=t('Cannot\x20upload\x20file:')+('\x20'+_0xabdfd3['name']+'.');return Promise['reject'](_0x2bd053);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xd031c3}from'../uploadcareconfig.js';export function getTranslation(_0x1c5e13,_0x4f5904,_0x632971){const t=_0x1c5e13['t'],_0x4c443d=_0x1c5e13['t'];switch(_0x4f5904){case _0xd031c3['Local']:return{'text':_0x4c443d('Insert'===_0x632971?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4c443d('From\x20computer')};case _0xd031c3['URL']:return{'text':'Insert'===_0x632971?_0x4c443d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4c443d('Via\x20URL')};case _0xd031c3['Dropbox']:return{'text':t('Insert'===_0x632971?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xd031c3['Facebook']:return{'text':t('Insert'===_0x632971?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xd031c3['GDrive']:return{'text':t('Insert'===_0x632971?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xd031c3['GPhotos']:return{'text':t('Insert'===_0x632971?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xd031c3['OneDrive']:return{'text':t('Insert'===_0x632971?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4f5904;}}
23
+ import{UploadcareSource as _0x47302a}from'../uploadcareconfig.js';export function getTranslation(_0x29648b,_0xe110eb,_0x2d8b09){const t=_0x29648b['t'],_0xb5c5b4=_0x29648b['t'];switch(_0xe110eb){case _0x47302a['Local']:return{'text':_0xb5c5b4('Insert'===_0x2d8b09?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb5c5b4('From\x20computer')};case _0x47302a['URL']:return{'text':'Insert'===_0x2d8b09?_0xb5c5b4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb5c5b4('Via\x20URL')};case _0x47302a['Dropbox']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x47302a['Facebook']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x47302a['GDrive']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x47302a['GPhotos']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x47302a['OneDrive']:return{'text':t('Insert'===_0x2d8b09?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xe110eb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46e304=_0x5347;(function(_0xa292ca,_0x94a4ca){var _0x241ab3=_0x5347,_0x3b9343=_0xa292ca();while(!![]){try{var _0x3d1fc0=-parseInt(_0x241ab3(0x199))/0x1*(-parseInt(_0x241ab3(0x19f))/0x2)+parseInt(_0x241ab3(0x198))/0x3*(parseInt(_0x241ab3(0x196))/0x4)+parseInt(_0x241ab3(0x18e))/0x5*(-parseInt(_0x241ab3(0x194))/0x6)+-parseInt(_0x241ab3(0x191))/0x7*(-parseInt(_0x241ab3(0x1a1))/0x8)+parseInt(_0x241ab3(0x190))/0x9+-parseInt(_0x241ab3(0x19a))/0xa*(-parseInt(_0x241ab3(0x19c))/0xb)+-parseInt(_0x241ab3(0x192))/0xc;if(_0x3d1fc0===_0x94a4ca)break;else _0x3b9343['push'](_0x3b9343['shift']());}catch(_0xfd2f6){_0x3b9343['push'](_0x3b9343['shift']());}}}(_0x2e21,0x29078));function _0x2e21(){var _0x20af77=['focusCycler','48ttJiHB','createCollection','52pBGWKa','bindTemplate','90lAoqhM','633ztxgiw','10uOjYsj','focusTracker','101981nxakGE','forwardCycle','getFocusableElement','118GAZjzj','fire','1403512EcxssP','true','156060yucDEL','div','2736612kZpTNB','7pBZzAA','1305156JVaoEd'];_0x2e21=function(){return _0x20af77;};return _0x2e21();}import{FocusTracker as _0x15f341}from'ckeditor5/src/utils.js';function _0x5347(_0x3e45e8,_0x5384d5){var _0x2e21a2=_0x2e21();return _0x5347=function(_0x5347ca,_0x4e3247){_0x5347ca=_0x5347ca-0x18e;var _0x2b882b=_0x2e21a2[_0x5347ca];return _0x2b882b;},_0x5347(_0x3e45e8,_0x5384d5);}import{View as _0x52b570,FocusCycler as _0x5dc9e0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x52b570{[_0x46e304(0x19b)];[_0x46e304(0x193)];constructor(_0x436e61){var _0x2ca063=_0x46e304;super(_0x436e61),this[_0x2ca063(0x19b)]=new _0x15f341(),this[_0x2ca063(0x193)]=new _0x5dc9e0({'focusables':this[_0x2ca063(0x195)](),'focusTracker':this[_0x2ca063(0x19b)]});}[_0x46e304(0x19e)](){var _0xbbf422=_0x46e304;return{'tag':_0xbbf422(0x18f),'attributes':{'aria-hidden':_0xbbf422(0x1a2),'tabindex':'0'},'on':{'focus':this[_0xbbf422(0x197)]['to'](()=>{var _0x2057a2=_0xbbf422;this[_0x2057a2(0x193)][_0x2057a2(0x1a0)](_0x2057a2(0x19d));})}};}}
23
+ var _0x5f3c40=_0x50f4;(function(_0x7248a9,_0x4bb183){var _0x14a5d2=_0x50f4,_0x31f4d7=_0x7248a9();while(!![]){try{var _0x45a3bd=parseInt(_0x14a5d2(0x159))/0x1+parseInt(_0x14a5d2(0x146))/0x2+-parseInt(_0x14a5d2(0x14c))/0x3*(-parseInt(_0x14a5d2(0x149))/0x4)+parseInt(_0x14a5d2(0x14f))/0x5+parseInt(_0x14a5d2(0x154))/0x6*(parseInt(_0x14a5d2(0x150))/0x7)+parseInt(_0x14a5d2(0x152))/0x8*(parseInt(_0x14a5d2(0x14a))/0x9)+parseInt(_0x14a5d2(0x14e))/0xa*(-parseInt(_0x14a5d2(0x153))/0xb);if(_0x45a3bd===_0x4bb183)break;else _0x31f4d7['push'](_0x31f4d7['shift']());}catch(_0x5b9279){_0x31f4d7['push'](_0x31f4d7['shift']());}}}(_0x4aa3,0xd1682));function _0x4aa3(){var _0x189665=['focusTracker','div','focusCycler','createCollection','100815jrZJKB','1394670WNvBoY','true','fire','3414192QfNFUK','8371764McYAZb','forwardCycle','3naROlG','bindTemplate','70rbGvGJ','1838015SvZnfj','1806161SGNLSH','getFocusableElement','8JkXOMp','5314386VRQUKG','30LwdLil'];_0x4aa3=function(){return _0x189665;};return _0x4aa3();}import{FocusTracker as _0x4acaa6}from'ckeditor5/src/utils.js';function _0x50f4(_0x4faf4e,_0x436aba){var _0x4aa3f6=_0x4aa3();return _0x50f4=function(_0x50f448,_0x5cf10f){_0x50f448=_0x50f448-0x146;var _0x51ef4d=_0x4aa3f6[_0x50f448];return _0x51ef4d;},_0x50f4(_0x4faf4e,_0x436aba);}import{View as _0x1702b6,FocusCycler as _0x5c96f8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1702b6{[_0x5f3c40(0x155)];[_0x5f3c40(0x157)];constructor(_0x3ae5ec){var _0x4e16dc=_0x5f3c40;super(_0x3ae5ec),this[_0x4e16dc(0x155)]=new _0x4acaa6(),this[_0x4e16dc(0x157)]=new _0x5c96f8({'focusables':this[_0x4e16dc(0x158)](),'focusTracker':this[_0x4e16dc(0x155)]});}[_0x5f3c40(0x151)](){var _0xb38883=_0x5f3c40;return{'tag':_0xb38883(0x156),'attributes':{'aria-hidden':_0xb38883(0x147),'tabindex':'0'},'on':{'focus':this[_0xb38883(0x14d)]['to'](()=>{var _0x2d7f16=_0xb38883;this[_0x2d7f16(0x157)][_0x2d7f16(0x148)](_0x2d7f16(0x14b));})}};}}