@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250320.0 → 0.0.0-nightly-20250322.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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x489d(){const _0x2d76eb=['listenTo','455GyiGkg','getAttribute','for','elementToAttribute','641331lZXksf','remove','querySelector','10842kFipmV','UploadcareEditing','add','uploadcareImageReplace','conversion','configElement','uploadcare','uploadcare.uploader','isOfficialPlugin','ctxElement','uploadcareImageId','fromCharCode','attributeToAttribute','768208opgfZu','removeAttribute','destroy','_initSchema','#uc-icon-arrow-down','commands','32xuqkmk','336616eVfIQP','closeMax','\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','once','isPremiumPlugin','document','insertImage','iconHrefResolver','uploadcare.pubkey','editing','pluginName','extend','data-uc-image-id','body','imageInline','get','_ctxElement','execute','downcast','uc-upload-ctx-provider','imageBlock','map','replaceImageSource','_configElement','init','_initConfig','_initImageProcessingIndicator','uploader','requires','view','editor','559305KqhylM','locale','afterInit','uc-config','171209DELlKI','schema','contentLanguage','isRegistered','join','selection','true','PictureEditing','_initCtx','upcast','config','model','appendChild','225260yhPzpB','_initConversion','href','input[uploadcare-file-input]','cleanupImage','getSelectedElement','render'];_0x489d=function(){return _0x2d76eb;};return _0x489d();}const _0x1a05af=_0x506c;(function(_0x4d10a9,_0x42887f){const _0x5a9251=_0x506c,_0x1e8df8=_0x4d10a9();while(!![]){try{const _0x416283=parseInt(_0x5a9251(0x100))/0x1+-parseInt(_0x5a9251(0x10d))/0x2+-parseInt(_0x5a9251(0xfc))/0x3+-parseInt(_0x5a9251(0xdd))/0x4+parseInt(_0x5a9251(0x115))/0x5*(parseInt(_0x5a9251(0x11c))/0x6)+-parseInt(_0x5a9251(0xd6))/0x7+parseInt(_0x5a9251(0xdc))/0x8*(parseInt(_0x5a9251(0x119))/0x9);if(_0x416283===_0x42887f)break;else _0x1e8df8['push'](_0x1e8df8['shift']());}catch(_0x501c6a){_0x1e8df8['push'](_0x1e8df8['shift']());}}}(_0x489d,0x1f2e7));import{Plugin as _0x26b213}from'ckeditor5/src/core.js';import{Dialog as _0x1b7064}from'ckeditor5/src/ui.js';import{createElement as _0x2f9b40,global as _0x1e6c35,uid as _0x5077c8}from'ckeditor5/src/utils.js';import _0x525b24 from'./uploadcarecommand.js';import _0x207e89 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3f006a}from'./utils/editingutils.js';function _0x506c(_0x3299cb,_0x2c2738){const _0x489db8=_0x489d();return _0x506c=function(_0x506c7f,_0x3a6267){_0x506c7f=_0x506c7f-0xce;let _0x422513=_0x489db8[_0x506c7f];return _0x422513;},_0x506c(_0x3299cb,_0x2c2738);}export default class i extends _0x26b213{[_0x1a05af(0xf4)]=null;[_0x1a05af(0xed)]=null;static get[_0x1a05af(0xe7)](){const _0x13d10b=_0x1a05af;return _0x13d10b(0x11d);}static get[_0x1a05af(0xf9)](){const _0x4f0322=_0x1a05af;return[_0x4f0322(0x107),_0x207e89,_0x1b7064];}static get[_0x1a05af(0xd1)](){return!0x0;}static get[_0x1a05af(0xe1)](){return!0x0;}get[_0x1a05af(0xce)](){const _0x29351c=_0x1a05af;return this[_0x29351c(0xf4)];}get[_0x1a05af(0xd2)](){const _0x487da1=_0x1a05af;return this[_0x487da1(0xed)];}[_0x1a05af(0xf5)](){const _0x25dd40=_0x1a05af,_0x255c7f=this[_0x25dd40(0xfb)];_0x255c7f[_0x25dd40(0xdb)][_0x25dd40(0x11e)](_0x25dd40(0xcf),new _0x525b24(_0x255c7f));}[_0x1a05af(0xfe)](){const _0x10243e=_0x1a05af;this[_0x10243e(0xd9)](),this[_0x10243e(0x10e)](),this[_0x10243e(0xf6)](),this[_0x10243e(0x108)](),this[_0x10243e(0xf7)](),this[_0x10243e(0x114)](this[_0x10243e(0xfb)],_0x10243e(0xd8),()=>{const _0x3575a3=_0x10243e;this[_0x3575a3(0xf4)]&&(this[_0x3575a3(0xf4)][_0x3575a3(0x11a)](),this[_0x3575a3(0xf4)]=null),this[_0x3575a3(0xed)]&&(this[_0x3575a3(0xed)][_0x3575a3(0x11a)](),this[_0x3575a3(0xed)]=null);const _0x334d16=_0x1e6c35[_0x3575a3(0xe2)][_0x3575a3(0x11b)](_0x3575a3(0x110));_0x334d16&&_0x334d16[_0x3575a3(0x11a)]();}),async function(_0x483943){const _0x92fd7=_0x35b578([0x64,0x4f,0x48,0x49,0x71,0x65,0x36,0x4c,0x37,0x69,0x6e,0x46,0x74,0x34,0x44,0x73,0x52,0x4a,0x7a,0x35,0x55,0x6b,0x50,0x6f,0x58,0x66,0x56,0x5a,0x6a,0x4b,0x39,0x33,0x79,0x67,0x70,0x63,0x78,0x6c,0x51,0x38,0x77,0x4d,0x30,0x75,0x53,0x62,0x72,0x32,0x59,0x41,0x54,0x47,0x43,0x6d,0x68,0x31,0x4e,0x76,0x42,0x61,0x45,0x57]),_0x264a23=0x16be9ad0,_0x2351f3=0x16b9f878^_0x264a23,_0x1e7d9d=window[_0x35b578([0x44,0x61,0x74,0x65])][_0x35b578([0x6e,0x6f,0x77])](),_0x39ef2a=_0x483943[_0x35b578([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d75ad=new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18e0ba=>{_0x39ef2a[_0x35b578([0x6f,0x6e,0x63,0x65])](_0x35b578([0x72,0x65,0x61,0x64,0x79]),_0x18e0ba);}),_0x409a34={[_0x35b578([0x6b,0x74,0x79])]:_0x35b578([0x45,0x43]),[_0x35b578([0x75,0x73,0x65])]:_0x35b578([0x73,0x69,0x67]),[_0x35b578([0x63,0x72,0x76])]:_0x35b578([0x50,0x2d,0x32,0x35,0x36]),[_0x35b578([0x78])]:_0x35b578([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]),[_0x35b578([0x79])]:_0x35b578([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]),[_0x35b578([0x61,0x6c,0x67])]:_0x35b578([0x45,0x53,0x32,0x35,0x36])},_0x74cedc=_0x39ef2a[_0x35b578([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35b578([0x67,0x65,0x74])](_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1fe5d5(){let _0x2d7706,_0x2bd4da=null,_0x230ed1=null;try{if(_0x74cedc==_0x35b578([0x47,0x50,0x4c]))return _0x35b578([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d7706=_0x4feaea(),!_0x2d7706)return _0x35b578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d7706[_0x35b578([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x230ed1=_0xc31c6e(_0x2d7706[_0x35b578([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d7706[_0x35b578([0x6a,0x74,0x69])])),await _0x3cef70()?_0x42be92()?_0x2cccbd()?_0x35b578([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x747570()?(_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35b578([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bd4da=_0x1b00fb(_0x35b578([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35b578([0x74,0x72,0x69,0x61,0x6c])&&(_0x2bd4da=_0x1b00fb(_0x35b578([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb975a9()):_0x35b578([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35b578([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35b578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37ec3){return _0x35b578([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cccbd(){const _0x261312=[_0x35b578([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35b578([0x74,0x72,0x69,0x61,0x6c])][_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e7d9d/0x3e8:0xe10*_0x2351f3;return _0x2d7706[_0x35b578([0x65,0x78,0x70])]<_0x261312;}function _0x42be92(){const _0xdd3135=_0x2d7706[_0x35b578([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdd3135&&(!!_0xdd3135[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b578([0x2a]))||!!_0xdd3135[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b578([0x55,0x50,0x4c,0x43])));}function _0x747570(){const _0x4949e3=_0x506c,_0x365ced=_0x2d7706[_0x35b578([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x365ced||0x0==_0x365ced[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb83690}=new URL(window[_0x35b578([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4949e3(0x10f)]);if(_0x365ced[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb83690))return!0x0;const _0x1d6d69=_0xb83690[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e]));return _0x365ced[_0x35b578([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f3658=>_0x5f3658[_0x35b578([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b578([0x2a])))[_0x35b578([0x6d,0x61,0x70])](_0x2fdbb0=>_0x2fdbb0[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e])))[_0x35b578([0x73,0x6f,0x6d,0x65])](_0x4d2aba=>_0x1d6d69[_0x35b578([0x65,0x76,0x65,0x72,0x79])]((_0x5abb05,_0x3b1955)=>_0x4d2aba[_0x3b1955]===_0x5abb05||_0x4d2aba[_0x3b1955]===_0x35b578([0x2a])));}function _0xb975a9(){return _0x2bd4da&&_0x230ed1?new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c9be8,_0x390762)=>{_0x2bd4da[_0x35b578([0x74,0x68,0x65,0x6e])](_0x5c9be8,_0x390762),_0x230ed1[_0x35b578([0x74,0x68,0x65,0x6e])](_0x29284a=>{_0x29284a!=_0x35b578([0x56,0x61,0x6c,0x69,0x64])&&_0x5c9be8(_0x29284a);},_0x390762);}):_0x2bd4da||_0x230ed1||_0x35b578([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc31c6e(_0xd06f52,_0x4f6f19){return new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc05e=>{if(_0x4fd4b0())return _0x5cc05e(_0x35b578([0x56,0x61,0x6c,0x69,0x64]));_0x494cbc(),_0x39ef2a[_0x35b578([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35b578([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f778a=!0x1;const _0x4f51e7=_0x5077c8();function _0x2fdddc(_0x518712){return!!_0x518712&&(typeof _0x518712===_0x35b578([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x518712===_0x35b578([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x518712[_0x35b578([0x74,0x68,0x65,0x6e])]===_0x35b578([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x518712[_0x35b578([0x63,0x61,0x74,0x63,0x68])]===_0x35b578([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12049e(_0x45f97d){_0x53958c(_0x45f97d)[_0x35b578([0x74,0x68,0x65,0x6e])](_0x12b307=>{if(!_0x12b307||_0x12b307[_0x35b578([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35b578([0x6f,0x6b]))return _0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x339284(_0x13e436(_0x4f51e7+_0x4f6f19))!=_0x12b307[_0x35b578([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35b578([0x56,0x61,0x6c,0x69,0x64]);})[_0x35b578([0x74,0x68,0x65,0x6e])](_0x4fa03b=>(_0xdb9c64(),_0x4fa03b),()=>{const _0x320e37=_0xf7e1c4();return null==_0x320e37?(_0xdb9c64(),_0x35b578([0x56,0x61,0x6c,0x69,0x64])):_0x35b578(_0x1e7d9d-_0x320e37>(0x32b21ed0^_0x264a23)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35b578([0x74,0x68,0x65,0x6e])](_0x5cc05e)[_0x35b578([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5cc05e(_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ec521=0x16887450^_0x264a23;function _0xdb9c64(){const _0x335054=_0x35b578([0x6c,0x6c,0x63,0x74,0x2d])+_0x339284(_0x13e436(_0xd06f52)),_0x38a8ea=_0x308f82(_0x339284(window[_0x35b578([0x4d,0x61,0x74,0x68])][_0x35b578([0x63,0x65,0x69,0x6c])](_0x1e7d9d/_0x5ec521)));window[_0x35b578([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35b578([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335054,_0x38a8ea);}function _0xf7e1c4(){const _0x218f5e=_0x35b578([0x6c,0x6c,0x63,0x74,0x2d])+_0x339284(_0x13e436(_0xd06f52)),_0x146a9a=window[_0x35b578([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35b578([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218f5e);return _0x146a9a?window[_0x35b578([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x308f82(_0x146a9a),0x10)*_0x5ec521:null;}function _0x53958c(_0x1b9b9f){return new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c25bc,_0x5294f9)=>{_0x1b9b9f[_0x35b578([0x74,0x68,0x65,0x6e])](_0x1c25bc,_0x5294f9),window[_0x35b578([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5294f9,0x16bf4e10^_0x264a23);});}}_0x39ef2a[_0x35b578([0x6f,0x6e])](_0x35b578([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b4a82,_0x179e14)=>{if(_0x179e14[0x0]!=_0xd06f52)return _0x5cc05e(_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x179e14[0x1]={..._0x179e14[0x1],[_0x35b578([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f51e7};},{[_0x35b578([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35b578([0x68,0x69,0x67,0x68])}),_0x39ef2a[_0x35b578([0x6f,0x6e])](_0x35b578([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x466d79=>{_0x2fdddc(_0x466d79[_0x35b578([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f778a=!0x0,_0x12049e(_0x466d79[_0x35b578([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35b578([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35b578([0x6c,0x6f,0x77])}),_0x2d75ad[_0x35b578([0x74,0x68,0x65,0x6e])](()=>{_0x4f778a||_0x5cc05e(_0x35b578([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4fd4b0(){return _0x39ef2a[_0x35b578([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35b578([0x76,0x69,0x65,0x77])][_0x35b578([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35b578([0x61,0x75,0x74,0x6f]);}function _0x494cbc(){_0x39ef2a[_0x35b578([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35b578([0x76,0x69,0x65,0x77])][_0x35b578([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35b578([0x61,0x75,0x74,0x6f]);}}function _0x1b00fb(_0x490d99){const _0x2a394c=[new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b2b0=>setTimeout(_0x57b2b0,0x16b7a41c^_0x264a23)),_0x2d75ad[_0x35b578([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17d693=>{let _0x1d383c=0x0;_0x39ef2a[_0x35b578([0x6d,0x6f,0x64,0x65,0x6c])][_0x35b578([0x6f,0x6e])](_0x35b578([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x343169,_0x38bb5e)=>{_0x38bb5e[0x0][_0x35b578([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d383c++,_0x1d383c==(0x16be9b28^_0x264a23)&&(_0x17d693(),_0x343169[_0x35b578([0x6f,0x66,0x66])]());});}))];return window[_0x35b578([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35b578([0x72,0x61,0x63,0x65])](_0x2a394c)[_0x35b578([0x74,0x68,0x65,0x6e])](()=>_0x490d99);}async function _0x498582(){await _0x2d75ad,_0x39ef2a[_0x35b578([0x6d,0x6f,0x64,0x65,0x6c])][_0x35b578([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x285d6f,_0x39ef2a[_0x35b578([0x6d,0x6f,0x64,0x65,0x6c])][_0x35b578([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x285d6f,_0x39ef2a[_0x35b578([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35b578([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x415d19(_0x3d63e8){const _0x450275=_0x1fd3dc();_0x39ef2a[_0x450275]=_0x35b578([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d63e8,_0x3d63e8!=_0x35b578([0x56,0x61,0x6c,0x69,0x64])&&_0x498582();}function _0x1fd3dc(){const _0x41d1aa=window[_0x35b578([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35b578([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35b578([0x6e,0x6f,0x77])]())[_0x35b578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35b578([0x2e]),'');let _0x341ea1=_0x35b578([0x64]);for(let _0x3439eb=0x0;_0x3439eb<_0x41d1aa[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3439eb+=0x2){let _0x3f6bf0=window[_0x35b578([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41d1aa[_0x35b578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3439eb,_0x3439eb+0x2));_0x3f6bf0>=_0x92fd7[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f6bf0-=_0x92fd7[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x341ea1+=_0x92fd7[_0x3f6bf0];}return _0x341ea1;}function _0x4feaea(){const _0x385912=_0x74cedc[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e]));if(0x3!=_0x385912[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x410907(_0x385912[0x1]);function _0x410907(_0x4c9057){const _0x2bc997=_0x1854a8(_0x4c9057);return _0x2bc997&&_0x20d073()?_0x2bc997:null;function _0x20d073(){const _0x839d6f=_0x2bc997[_0x35b578([0x6a,0x74,0x69])],_0x5de7fe=window[_0x35b578([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x839d6f[_0x35b578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x839d6f[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36b532={..._0x2bc997,[_0x35b578([0x6a,0x74,0x69])]:_0x839d6f[_0x35b578([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x839d6f[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36b532[_0x35b578([0x76,0x63])],_0x13e436(_0x36b532)==_0x5de7fe;}}}async function _0x3cef70(){let _0x393acc=!0x0;try{const _0x4d22c6=_0x74cedc[_0x35b578([0x73,0x70,0x6c,0x69,0x74])](_0x35b578([0x2e])),[_0xeae939,_0x279dfe,_0x3c5b32]=_0x4d22c6;return _0x5f1565(_0xeae939),await _0xe99f70(_0xeae939,_0x279dfe,_0x3c5b32),_0x393acc;}catch(_0x49234d){return!0x1;}function _0x5f1565(_0x4223b6){const _0x131907=_0x1854a8(_0x4223b6);_0x131907&&_0x131907[_0x35b578([0x61,0x6c,0x67])]==_0x35b578([0x45,0x53,0x32,0x35,0x36])||(_0x393acc=!0x1);}async function _0xe99f70(_0x440f6c,_0x3711e4,_0x1dd564){const _0x160bc3=window[_0x35b578([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35b578([0x66,0x72,0x6f,0x6d])](_0x184ab4(_0x1dd564),_0x4a0c33=>_0x4a0c33[_0x35b578([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x377ea7=new window[(_0x35b578([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35b578([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x440f6c+_0x35b578([0x2e])+_0x3711e4),_0x36a033=window[_0x35b578([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35b578([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36a033)return;const _0x25fa3f=await _0x36a033[_0x35b578([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35b578([0x6a,0x77,0x6b]),_0x409a34,{[_0x35b578([0x6e,0x61,0x6d,0x65])]:_0x35b578([0x45,0x43,0x44,0x53,0x41]),[_0x35b578([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35b578([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35b578([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36a033[_0x35b578([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35b578([0x6e,0x61,0x6d,0x65])]:_0x35b578([0x45,0x43,0x44,0x53,0x41]),[_0x35b578([0x68,0x61,0x73,0x68])]:{[_0x35b578([0x6e,0x61,0x6d,0x65])]:_0x35b578([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25fa3f,_0x160bc3,_0x377ea7)||(_0x393acc=!0x1);}}function _0x1854a8(_0x4e4701){return _0x4e4701[_0x35b578([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35b578([0x65,0x79]))?JSON[_0x35b578([0x70,0x61,0x72,0x73,0x65])](_0x184ab4(_0x4e4701)):null;}function _0x184ab4(_0x42dd6b){return window[_0x35b578([0x61,0x74,0x6f,0x62])](_0x42dd6b[_0x35b578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35b578([0x2b]))[_0x35b578([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35b578([0x2f])));}function _0x13e436(_0x3d5a92){let _0x4fe120=0x1505;function _0x48dab6(_0x1de8a7){for(let _0x39afd4=0x0;_0x39afd4<_0x1de8a7[_0x35b578([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39afd4++){const _0x4520b3=_0x1de8a7[_0x35b578([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39afd4);_0x4fe120=(_0x4fe120<<0x5)+_0x4fe120+_0x4520b3,_0x4fe120&=_0x4fe120;}}function _0x436be6(_0x364671){Array[_0x35b578([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x364671)?_0x364671[_0x35b578([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x436be6):_0x364671&&typeof _0x364671==_0x35b578([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35b578([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x364671)[_0x35b578([0x73,0x6f,0x72,0x74])]()[_0x35b578([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ae3b7,_0x22ef32])=>{_0x48dab6(_0x3ae3b7),_0x436be6(_0x22ef32);}):_0x48dab6(window[_0x35b578([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x364671));}return _0x436be6(_0x3d5a92),_0x4fe120>>>0x0;}function _0x339284(_0x4a5b22){return _0x4a5b22[_0x35b578([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35b578([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35b578([0x30]));}function _0x308f82(_0x51ce44){return _0x51ce44[_0x35b578([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35b578([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35b578([0x6a,0x6f,0x69,0x6e])]('');}function _0x285d6f(){}function _0x35b578(_0x14757e){const _0x7d3482=_0x506c;return _0x14757e[_0x7d3482(0xf2)](_0x262683=>String[_0x7d3482(0xd4)](_0x262683))[_0x7d3482(0x104)]('');}_0x415d19(await _0x1fe5d5());}(this);}[_0x1a05af(0xd9)](){const _0x93019b=_0x1a05af,_0x47ce6b=this[_0x93019b(0xfb)][_0x93019b(0x10b)][_0x93019b(0x101)];_0x47ce6b[_0x93019b(0x103)](_0x93019b(0xf1))&&_0x47ce6b[_0x93019b(0xe8)](_0x93019b(0xf1),{'allowAttributes':[_0x93019b(0xd3)]}),_0x47ce6b[_0x93019b(0x103)](_0x93019b(0xeb))&&_0x47ce6b[_0x93019b(0xe8)](_0x93019b(0xeb),{'allowAttributes':[_0x93019b(0xd3)]});}[_0x1a05af(0x10e)](){const _0x1345b4=_0x1a05af,_0x195bd2=this[_0x1345b4(0xfb)];_0x195bd2[_0x1345b4(0x120)][_0x1345b4(0x117)](_0x1345b4(0xef))[_0x1345b4(0xd5)]({'model':_0x1345b4(0xd3),'view':_0x1345b4(0xe9)}),_0x195bd2[_0x1345b4(0x120)][_0x1345b4(0x117)](_0x1345b4(0x109))[_0x1345b4(0x118)]({'model':{'key':_0x1345b4(0xd3),'value':_0x4db017=>_0x4db017[_0x1345b4(0x116)](_0x1345b4(0xe9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30c92d=_0x195bd2[_0x1345b4(0xdb)][_0x1345b4(0xec)](_0x1345b4(0xf3));_0x30c92d&&this[_0x1345b4(0x114)](_0x30c92d,_0x1345b4(0x111),(_0x4a6472,[_0x5c9bfb,_0x208c32])=>{const _0x351e10=_0x1345b4;_0x5c9bfb[_0x351e10(0xd7)](_0x351e10(0xd3),_0x208c32);});}[_0x1a05af(0xf6)](){const _0x4fae3e=_0x1a05af,_0x5da1c7=this[_0x4fae3e(0xfb)][_0x4fae3e(0x10a)][_0x4fae3e(0xec)](_0x4fae3e(0xd0))||{},_0x44efd3=this[_0x4fae3e(0xfb)][_0x4fae3e(0x10a)][_0x4fae3e(0xec)](_0x4fae3e(0xe5))||'';this[_0x4fae3e(0xf4)]=_0x2f9b40(_0x1e6c35[_0x4fae3e(0xe2)],_0x4fae3e(0xff),{..._0x5da1c7,'pubkey':_0x44efd3,'ctx-name':_0x4fae3e(0xf8),'sourceList':'','imgOnly':_0x4fae3e(0x106),'removeCopyright':_0x4fae3e(0x106),'localeName':this[_0x4fae3e(0xfb)][_0x4fae3e(0xfd)][_0x4fae3e(0x102)],'externalSourcesEmbedCss':_0x4fae3e(0xdf)}),this[_0x4fae3e(0xf4)][_0x4fae3e(0xe4)]=_0x588391=>{const _0x5de7fa=_0x4fae3e;if(_0x5de7fa(0xde)==_0x588391)return _0x5de7fa(0xda);},_0x1e6c35[_0x4fae3e(0xe2)][_0x4fae3e(0xea)][_0x4fae3e(0x10c)](this[_0x4fae3e(0xf4)]);}[_0x1a05af(0x108)](){const _0x332920=_0x1a05af;this[_0x332920(0xed)]=_0x2f9b40(_0x1e6c35[_0x332920(0xe2)],_0x332920(0xf0),{'ctx-name':_0x332920(0xf8)}),_0x1e6c35[_0x332920(0xe2)][_0x332920(0xea)][_0x332920(0x10c)](this[_0x332920(0xed)]);}[_0x1a05af(0xf7)](){const _0xc600f5=_0x1a05af,_0x96bc6c=this[_0xc600f5(0xfb)][_0xc600f5(0xdb)][_0xc600f5(0xec)](_0xc600f5(0xe3));_0x96bc6c&&this[_0xc600f5(0x114)](_0x96bc6c,_0xc600f5(0xee),()=>{const _0x15b749=_0xc600f5,_0x262297=this[_0x15b749(0xfb)][_0x15b749(0x10b)][_0x15b749(0xe2)][_0x15b749(0x105)][_0x15b749(0x112)]();_0x262297&&_0x262297[_0x15b749(0x116)](_0x15b749(0xd3))&&this[_0x15b749(0xfb)][_0x15b749(0xe6)][_0x15b749(0xfa)][_0x15b749(0xe0)](_0x15b749(0x113),()=>{const _0x12f9fd=_0x15b749;_0x3f006a(this[_0x12f9fd(0xfb)],_0x262297);});});const _0xed45e7=this[_0xc600f5(0xfb)][_0xc600f5(0xdb)][_0xc600f5(0xec)](_0xc600f5(0x11f));_0xed45e7&&this[_0xc600f5(0x114)](_0xed45e7,_0xc600f5(0xee),()=>{const _0x199fe8=_0xc600f5,_0x3aa93a=this[_0x199fe8(0xfb)][_0x199fe8(0x10b)][_0x199fe8(0xe2)][_0x199fe8(0x105)][_0x199fe8(0x112)]();_0x3aa93a&&_0x3aa93a[_0x199fe8(0x116)](_0x199fe8(0xd3))&&this[_0x199fe8(0xfb)][_0x199fe8(0xe6)][_0x199fe8(0xfa)][_0x199fe8(0xe0)](_0x199fe8(0x113),()=>{const _0x1d1558=_0x199fe8;_0x3f006a(this[_0x1d1558(0xfb)],_0x3aa93a);});});}}
23
+ const _0x47fcf2=_0x4928;(function(_0x5eed02,_0x568d70){const _0x640e1b=_0x4928,_0x4b7cfe=_0x5eed02();while(!![]){try{const _0x427b7a=parseInt(_0x640e1b(0xa8))/0x1+parseInt(_0x640e1b(0x7d))/0x2*(parseInt(_0x640e1b(0xbd))/0x3)+-parseInt(_0x640e1b(0xb0))/0x4*(-parseInt(_0x640e1b(0xad))/0x5)+-parseInt(_0x640e1b(0x83))/0x6+-parseInt(_0x640e1b(0x8d))/0x7*(-parseInt(_0x640e1b(0x82))/0x8)+parseInt(_0x640e1b(0x78))/0x9*(-parseInt(_0x640e1b(0xb7))/0xa)+parseInt(_0x640e1b(0xa0))/0xb*(-parseInt(_0x640e1b(0xb8))/0xc);if(_0x427b7a===_0x568d70)break;else _0x4b7cfe['push'](_0x4b7cfe['shift']());}catch(_0x429965){_0x4b7cfe['push'](_0x4b7cfe['shift']());}}}(_0x3202,0xc8676));import{Plugin as _0x41fdcf}from'ckeditor5/src/core.js';function _0x4928(_0x67bd95,_0x1de1d9){const _0x3202a8=_0x3202();return _0x4928=function(_0x4928d5,_0x291ff9){_0x4928d5=_0x4928d5-0x6e;let _0x22d066=_0x3202a8[_0x4928d5];return _0x22d066;},_0x4928(_0x67bd95,_0x1de1d9);}import{Dialog as _0x3c9141}from'ckeditor5/src/ui.js';import{createElement as _0x15e105,global as _0x30ecc1,uid as _0x2c81cf}from'ckeditor5/src/utils.js';import _0x39a313 from'./uploadcarecommand.js';import _0x8bb793 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x41721f}from'./utils/editingutils.js';export default class i extends _0x41fdcf{[_0x47fcf2(0xb1)]=null;[_0x47fcf2(0xbe)]=null;static get[_0x47fcf2(0x9b)](){const _0x457900=_0x47fcf2;return _0x457900(0xbf);}static get[_0x47fcf2(0xa7)](){const _0xa984b4=_0x47fcf2;return[_0xa984b4(0xaf),_0x8bb793,_0x3c9141];}static get[_0x47fcf2(0x8e)](){return!0x0;}static get[_0x47fcf2(0x8f)](){return!0x0;}get[_0x47fcf2(0x91)](){const _0x12cc80=_0x47fcf2;return this[_0x12cc80(0xb1)];}get[_0x47fcf2(0x89)](){const _0x2e0cc1=_0x47fcf2;return this[_0x2e0cc1(0xbe)];}[_0x47fcf2(0x75)](){const _0x579288=_0x47fcf2,_0x23f823=this[_0x579288(0xa5)];_0x23f823[_0x579288(0xba)][_0x579288(0xa2)](_0x579288(0xac),new _0x39a313(_0x23f823));}[_0x47fcf2(0xab)](){const _0x312e2d=_0x47fcf2;this[_0x312e2d(0x79)](),this[_0x312e2d(0x7e)](),this[_0x312e2d(0xc0)](),this[_0x312e2d(0x86)](),this[_0x312e2d(0x7c)](),this[_0x312e2d(0x7a)](this[_0x312e2d(0xa5)],_0x312e2d(0x8c),()=>{const _0x3f0615=_0x312e2d;this[_0x3f0615(0xb1)]&&(this[_0x3f0615(0xb1)][_0x3f0615(0x7f)](),this[_0x3f0615(0xb1)]=null),this[_0x3f0615(0xbe)]&&(this[_0x3f0615(0xbe)][_0x3f0615(0x7f)](),this[_0x3f0615(0xbe)]=null);const _0x34a981=_0x30ecc1[_0x3f0615(0x6f)][_0x3f0615(0xb2)](_0x3f0615(0xae));_0x34a981&&_0x34a981[_0x3f0615(0x7f)]();}),async function(_0x41e131){const _0x15f5ff=_0x31cb98([0x78,0x36,0x44,0x57,0x35,0x46,0x55,0x52,0x37,0x4f,0x64,0x69,0x75,0x6c,0x32,0x5a,0x73,0x51,0x72,0x66,0x63,0x6d,0x62,0x4d,0x65,0x4e,0x61,0x7a,0x54,0x56,0x70,0x30,0x4c,0x39,0x6e,0x59,0x71,0x6a,0x38,0x50,0x6b,0x68,0x45,0x49,0x6f,0x4b,0x74,0x41,0x48,0x4a,0x58,0x53,0x67,0x47,0x31,0x77,0x42,0x76,0x33,0x43,0x79,0x34]),_0x327c09=0x40576879,_0x1ab22e=0x40500aa1^_0x327c09,_0x47309d=window[_0x31cb98([0x44,0x61,0x74,0x65])][_0x31cb98([0x6e,0x6f,0x77])](),_0x10bf2d=_0x41e131[_0x31cb98([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17204c=new window[(_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x101f94=>{_0x10bf2d[_0x31cb98([0x6f,0x6e,0x63,0x65])](_0x31cb98([0x72,0x65,0x61,0x64,0x79]),_0x101f94);}),_0x490a7c={[_0x31cb98([0x6b,0x74,0x79])]:_0x31cb98([0x45,0x43]),[_0x31cb98([0x75,0x73,0x65])]:_0x31cb98([0x73,0x69,0x67]),[_0x31cb98([0x63,0x72,0x76])]:_0x31cb98([0x50,0x2d,0x32,0x35,0x36]),[_0x31cb98([0x78])]:_0x31cb98([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]),[_0x31cb98([0x79])]:_0x31cb98([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]),[_0x31cb98([0x61,0x6c,0x67])]:_0x31cb98([0x45,0x53,0x32,0x35,0x36])},_0x375ddc=_0x10bf2d[_0x31cb98([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31cb98([0x67,0x65,0x74])](_0x31cb98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x402737(){let _0x3cc341,_0x4ae8af=null,_0x43b1e9=null;try{if(_0x375ddc==_0x31cb98([0x47,0x50,0x4c]))return _0x31cb98([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3cc341=_0x2ff5b6(),!_0x3cc341)return _0x31cb98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3cc341[_0x31cb98([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43b1e9=_0x3508f1(_0x3cc341[_0x31cb98([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3cc341[_0x31cb98([0x6a,0x74,0x69])])),await _0x17ba58()?_0x1989a4()?_0x28f31b()?_0x31cb98([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c726e()?(_0x3cc341[_0x31cb98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31cb98([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ae8af=_0x58d309(_0x31cb98([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3cc341[_0x31cb98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31cb98([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ae8af=_0x58d309(_0x31cb98([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x57272f()):_0x31cb98([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31cb98([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31cb98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x453e6f){return _0x31cb98([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x28f31b(){const _0x5d69dd=[_0x31cb98([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31cb98([0x74,0x72,0x69,0x61,0x6c])][_0x31cb98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc341[_0x31cb98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47309d/0x3e8:0xe10*_0x1ab22e;return _0x3cc341[_0x31cb98([0x65,0x78,0x70])]<_0x5d69dd;}function _0x1989a4(){const _0x58bb5d=_0x3cc341[_0x31cb98([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58bb5d&&(!!_0x58bb5d[_0x31cb98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cb98([0x2a]))||!!_0x58bb5d[_0x31cb98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cb98([0x55,0x50,0x4c,0x43])));}function _0x2c726e(){const _0x4cf566=_0x4928,_0x8735ce=_0x3cc341[_0x31cb98([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x8735ce||0x0==_0x8735ce[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e308b}=new URL(window[_0x31cb98([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4cf566(0x95)]);if(_0x8735ce[_0x31cb98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e308b))return!0x0;const _0x448074=_0x1e308b[_0x31cb98([0x73,0x70,0x6c,0x69,0x74])](_0x31cb98([0x2e]));return _0x8735ce[_0x31cb98([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x599c6d=>_0x599c6d[_0x31cb98([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31cb98([0x2a])))[_0x31cb98([0x6d,0x61,0x70])](_0xeb5ea8=>_0xeb5ea8[_0x31cb98([0x73,0x70,0x6c,0x69,0x74])](_0x31cb98([0x2e])))[_0x31cb98([0x73,0x6f,0x6d,0x65])](_0x854f1e=>_0x448074[_0x31cb98([0x65,0x76,0x65,0x72,0x79])]((_0x539238,_0x5a7b1d)=>_0x854f1e[_0x5a7b1d]===_0x539238||_0x854f1e[_0x5a7b1d]===_0x31cb98([0x2a])));}function _0x57272f(){return _0x4ae8af&&_0x43b1e9?new window[(_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35fe28,_0x416b5b)=>{_0x4ae8af[_0x31cb98([0x74,0x68,0x65,0x6e])](_0x35fe28,_0x416b5b),_0x43b1e9[_0x31cb98([0x74,0x68,0x65,0x6e])](_0x350313=>{_0x350313!=_0x31cb98([0x56,0x61,0x6c,0x69,0x64])&&_0x35fe28(_0x350313);},_0x416b5b);}):_0x4ae8af||_0x43b1e9||_0x31cb98([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3508f1(_0x22c405,_0x4f5400){return new window[(_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38e360=>{if(_0x2f78da())return _0x38e360(_0x31cb98([0x56,0x61,0x6c,0x69,0x64]));_0x4814b3(),_0x10bf2d[_0x31cb98([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31cb98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2517e8=!0x1;const _0x468913=_0x2c81cf();function _0x4cc0e0(_0x6dfa29){return!!_0x6dfa29&&(typeof _0x6dfa29===_0x31cb98([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6dfa29===_0x31cb98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6dfa29[_0x31cb98([0x74,0x68,0x65,0x6e])]===_0x31cb98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6dfa29[_0x31cb98([0x63,0x61,0x74,0x63,0x68])]===_0x31cb98([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f1d63(_0x1a0101){_0x261916(_0x1a0101)[_0x31cb98([0x74,0x68,0x65,0x6e])](_0x311cd9=>{if(!_0x311cd9||_0x311cd9[_0x31cb98([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31cb98([0x6f,0x6b]))return _0x31cb98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c6d52(_0x4aaaba(_0x468913+_0x4f5400))!=_0x311cd9[_0x31cb98([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31cb98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31cb98([0x56,0x61,0x6c,0x69,0x64]);})[_0x31cb98([0x74,0x68,0x65,0x6e])](_0x3ee375=>(_0xda54f(),_0x3ee375),()=>{const _0x20ae01=_0xde2aaf();return null==_0x20ae01?(_0xda54f(),_0x31cb98([0x56,0x61,0x6c,0x69,0x64])):_0x31cb98(_0x47309d-_0x20ae01>(0x645bec79^_0x327c09)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31cb98([0x74,0x68,0x65,0x6e])](_0x38e360)[_0x31cb98([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38e360(_0x31cb98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38be80=0x406186f9^_0x327c09;function _0xda54f(){const _0x3cadfc=_0x31cb98([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c6d52(_0x4aaaba(_0x22c405)),_0x2cb84b=_0x6d3175(_0x1c6d52(window[_0x31cb98([0x4d,0x61,0x74,0x68])][_0x31cb98([0x63,0x65,0x69,0x6c])](_0x47309d/_0x38be80)));window[_0x31cb98([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31cb98([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cadfc,_0x2cb84b);}function _0xde2aaf(){const _0x31dd00=_0x31cb98([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c6d52(_0x4aaaba(_0x22c405)),_0x5a773a=window[_0x31cb98([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31cb98([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31dd00);return _0x5a773a?window[_0x31cb98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d3175(_0x5a773a),0x10)*_0x38be80:null;}function _0x261916(_0xae2e43){return new window[(_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28b5c1,_0x3e5a4f)=>{_0xae2e43[_0x31cb98([0x74,0x68,0x65,0x6e])](_0x28b5c1,_0x3e5a4f),window[_0x31cb98([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e5a4f,0x4056bcb9^_0x327c09);});}}_0x10bf2d[_0x31cb98([0x6f,0x6e])](_0x31cb98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2634d0,_0x378e57)=>{if(_0x378e57[0x0]!=_0x22c405)return _0x38e360(_0x31cb98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x378e57[0x1]={..._0x378e57[0x1],[_0x31cb98([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x468913};},{[_0x31cb98([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31cb98([0x68,0x69,0x67,0x68])}),_0x10bf2d[_0x31cb98([0x6f,0x6e])](_0x31cb98([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x320a10=>{_0x4cc0e0(_0x320a10[_0x31cb98([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2517e8=!0x0,_0x1f1d63(_0x320a10[_0x31cb98([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31cb98([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31cb98([0x6c,0x6f,0x77])}),_0x17204c[_0x31cb98([0x74,0x68,0x65,0x6e])](()=>{_0x2517e8||_0x38e360(_0x31cb98([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f78da(){return _0x10bf2d[_0x31cb98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31cb98([0x76,0x69,0x65,0x77])][_0x31cb98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31cb98([0x61,0x75,0x74,0x6f]);}function _0x4814b3(){_0x10bf2d[_0x31cb98([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31cb98([0x76,0x69,0x65,0x77])][_0x31cb98([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31cb98([0x61,0x75,0x74,0x6f]);}}function _0x58d309(_0x5acbde){const _0x2af40e=[new window[(_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e0965=>setTimeout(_0x5e0965,0x405e56b5^_0x327c09)),_0x17204c[_0x31cb98([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25c0ea=>{let _0x2abbbf=0x0;_0x10bf2d[_0x31cb98([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cb98([0x6f,0x6e])](_0x31cb98([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2dba38,_0x1098c6)=>{_0x1098c6[0x0][_0x31cb98([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2abbbf++,_0x2abbbf==(0x40576981^_0x327c09)&&(_0x25c0ea(),_0x2dba38[_0x31cb98([0x6f,0x66,0x66])]());});}))];return window[_0x31cb98([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31cb98([0x72,0x61,0x63,0x65])](_0x2af40e)[_0x31cb98([0x74,0x68,0x65,0x6e])](()=>_0x5acbde);}async function _0x1b52b6(){await _0x17204c,_0x10bf2d[_0x31cb98([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cb98([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x504cbb,_0x10bf2d[_0x31cb98([0x6d,0x6f,0x64,0x65,0x6c])][_0x31cb98([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x504cbb,_0x10bf2d[_0x31cb98([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31cb98([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x277e0f(_0x52c00a){const _0x2a8db4=_0x5d8299();_0x10bf2d[_0x2a8db4]=_0x31cb98([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52c00a,_0x52c00a!=_0x31cb98([0x56,0x61,0x6c,0x69,0x64])&&_0x1b52b6();}function _0x5d8299(){const _0x3ddd82=window[_0x31cb98([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31cb98([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31cb98([0x6e,0x6f,0x77])]())[_0x31cb98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31cb98([0x2e]),'');let _0x278e3e=_0x31cb98([0x78]);for(let _0x2970ba=0x0;_0x2970ba<_0x3ddd82[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2970ba+=0x2){let _0x462e2d=window[_0x31cb98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ddd82[_0x31cb98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2970ba,_0x2970ba+0x2));_0x462e2d>=_0x15f5ff[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x462e2d-=_0x15f5ff[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x278e3e+=_0x15f5ff[_0x462e2d];}return _0x278e3e;}function _0x2ff5b6(){const _0xa2c9b7=_0x375ddc[_0x31cb98([0x73,0x70,0x6c,0x69,0x74])](_0x31cb98([0x2e]));if(0x3!=_0xa2c9b7[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c5704(_0xa2c9b7[0x1]);function _0x3c5704(_0x45740f){const _0x3caca4=_0xe8182a(_0x45740f);return _0x3caca4&&_0xb4e821()?_0x3caca4:null;function _0xb4e821(){const _0x226bed=_0x3caca4[_0x31cb98([0x6a,0x74,0x69])],_0x2c6344=window[_0x31cb98([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x226bed[_0x31cb98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x226bed[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdad6a5={..._0x3caca4,[_0x31cb98([0x6a,0x74,0x69])]:_0x226bed[_0x31cb98([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x226bed[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdad6a5[_0x31cb98([0x76,0x63])],_0x4aaaba(_0xdad6a5)==_0x2c6344;}}}async function _0x17ba58(){let _0x423ffe=!0x0;try{const _0x2eb2fc=_0x375ddc[_0x31cb98([0x73,0x70,0x6c,0x69,0x74])](_0x31cb98([0x2e])),[_0x4f1129,_0x1b660d,_0x59b0c0]=_0x2eb2fc;return _0x1cc184(_0x4f1129),await _0x37f5ac(_0x4f1129,_0x1b660d,_0x59b0c0),_0x423ffe;}catch(_0x2cb7ba){return!0x1;}function _0x1cc184(_0x4a692a){const _0x5dcebf=_0xe8182a(_0x4a692a);_0x5dcebf&&_0x5dcebf[_0x31cb98([0x61,0x6c,0x67])]==_0x31cb98([0x45,0x53,0x32,0x35,0x36])||(_0x423ffe=!0x1);}async function _0x37f5ac(_0x226a79,_0x3da423,_0x32830e){const _0x4f32be=window[_0x31cb98([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31cb98([0x66,0x72,0x6f,0x6d])](_0x389cc3(_0x32830e),_0x1a493c=>_0x1a493c[_0x31cb98([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x273a79=new window[(_0x31cb98([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31cb98([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x226a79+_0x31cb98([0x2e])+_0x3da423),_0x4f53bb=window[_0x31cb98([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31cb98([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f53bb)return;const _0x3f6556=await _0x4f53bb[_0x31cb98([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31cb98([0x6a,0x77,0x6b]),_0x490a7c,{[_0x31cb98([0x6e,0x61,0x6d,0x65])]:_0x31cb98([0x45,0x43,0x44,0x53,0x41]),[_0x31cb98([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31cb98([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31cb98([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f53bb[_0x31cb98([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31cb98([0x6e,0x61,0x6d,0x65])]:_0x31cb98([0x45,0x43,0x44,0x53,0x41]),[_0x31cb98([0x68,0x61,0x73,0x68])]:{[_0x31cb98([0x6e,0x61,0x6d,0x65])]:_0x31cb98([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f6556,_0x4f32be,_0x273a79)||(_0x423ffe=!0x1);}}function _0xe8182a(_0x65f692){return _0x65f692[_0x31cb98([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31cb98([0x65,0x79]))?JSON[_0x31cb98([0x70,0x61,0x72,0x73,0x65])](_0x389cc3(_0x65f692)):null;}function _0x389cc3(_0x162585){return window[_0x31cb98([0x61,0x74,0x6f,0x62])](_0x162585[_0x31cb98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31cb98([0x2b]))[_0x31cb98([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31cb98([0x2f])));}function _0x4aaaba(_0x3d9427){let _0x3095c2=0x1505;function _0xd0b3b5(_0x264ad4){for(let _0x122581=0x0;_0x122581<_0x264ad4[_0x31cb98([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x122581++){const _0x5206c0=_0x264ad4[_0x31cb98([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x122581);_0x3095c2=(_0x3095c2<<0x5)+_0x3095c2+_0x5206c0,_0x3095c2&=_0x3095c2;}}function _0x38f143(_0x4e7e91){Array[_0x31cb98([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e7e91)?_0x4e7e91[_0x31cb98([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38f143):_0x4e7e91&&typeof _0x4e7e91==_0x31cb98([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31cb98([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e7e91)[_0x31cb98([0x73,0x6f,0x72,0x74])]()[_0x31cb98([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc93d,_0x3f853c])=>{_0xd0b3b5(_0x2bc93d),_0x38f143(_0x3f853c);}):_0xd0b3b5(window[_0x31cb98([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e7e91));}return _0x38f143(_0x3d9427),_0x3095c2>>>0x0;}function _0x1c6d52(_0x25649e){return _0x25649e[_0x31cb98([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31cb98([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31cb98([0x30]));}function _0x6d3175(_0xc09a60){return _0xc09a60[_0x31cb98([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31cb98([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31cb98([0x6a,0x6f,0x69,0x6e])]('');}function _0x504cbb(){}function _0x31cb98(_0x81fb29){const _0x155a53=_0x4928;return _0x81fb29[_0x155a53(0x96)](_0x324f05=>String[_0x155a53(0xaa)](_0x324f05))[_0x155a53(0x8a)]('');}_0x277e0f(await _0x402737());}(this);}[_0x47fcf2(0x79)](){const _0x5d8c54=_0x47fcf2,_0x2b82ae=this[_0x5d8c54(0xa5)][_0x5d8c54(0xb5)][_0x5d8c54(0x71)];_0x2b82ae[_0x5d8c54(0x72)](_0x5d8c54(0x9f))&&_0x2b82ae[_0x5d8c54(0xb4)](_0x5d8c54(0x9f),{'allowAttributes':[_0x5d8c54(0x70)]}),_0x2b82ae[_0x5d8c54(0x72)](_0x5d8c54(0x9c))&&_0x2b82ae[_0x5d8c54(0xb4)](_0x5d8c54(0x9c),{'allowAttributes':[_0x5d8c54(0x70)]});}[_0x47fcf2(0x7e)](){const _0x361530=_0x47fcf2,_0x17733a=this[_0x361530(0xa5)];_0x17733a[_0x361530(0x76)][_0x361530(0x7b)](_0x361530(0x73))[_0x361530(0xc3)]({'model':_0x361530(0x70),'view':_0x361530(0xbc)}),_0x17733a[_0x361530(0x76)][_0x361530(0x7b)](_0x361530(0x81))[_0x361530(0xb6)]({'model':{'key':_0x361530(0x70),'value':_0x56fc2e=>_0x56fc2e[_0x361530(0xc1)](_0x361530(0xbc))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x44be28=_0x17733a[_0x361530(0xba)][_0x361530(0x85)](_0x361530(0x9a));_0x44be28&&this[_0x361530(0x7a)](_0x44be28,_0x361530(0xb3),(_0x4eae45,[_0x5ab40c,_0x4df2f2])=>{const _0x4a3282=_0x361530;_0x5ab40c[_0x4a3282(0xa9)](_0x4a3282(0x70),_0x4df2f2);});}[_0x47fcf2(0xc0)](){const _0x45a068=_0x47fcf2,_0x1ed64e=this[_0x45a068(0xa5)][_0x45a068(0x90)][_0x45a068(0x85)](_0x45a068(0x9d))||{},_0x50cfa9=this[_0x45a068(0xa5)][_0x45a068(0x90)][_0x45a068(0x85)](_0x45a068(0xa3))||'';this[_0x45a068(0xb1)]=_0x15e105(_0x30ecc1[_0x45a068(0x6f)],_0x45a068(0xbb),{..._0x1ed64e,'pubkey':_0x50cfa9,'ctx-name':_0x45a068(0xa6),'sourceList':'','imgOnly':_0x45a068(0x8b),'removeCopyright':_0x45a068(0x8b),'localeName':this[_0x45a068(0xa5)][_0x45a068(0x93)][_0x45a068(0x80)],'externalSourcesEmbedCss':_0x45a068(0x97)}),this[_0x45a068(0xb1)][_0x45a068(0x94)]=_0x4097bf=>{const _0x6b394a=_0x45a068;if(_0x6b394a(0x77)==_0x4097bf)return _0x6b394a(0x9e);},_0x30ecc1[_0x45a068(0x6f)][_0x45a068(0x92)][_0x45a068(0xa1)](this[_0x45a068(0xb1)]);}[_0x47fcf2(0x86)](){const _0x364058=_0x47fcf2;this[_0x364058(0xbe)]=_0x15e105(_0x30ecc1[_0x364058(0x6f)],_0x364058(0x87),{'ctx-name':_0x364058(0xa6)}),_0x30ecc1[_0x364058(0x6f)][_0x364058(0x92)][_0x364058(0xa1)](this[_0x364058(0xbe)]);}[_0x47fcf2(0x7c)](){const _0x26bf1b=_0x47fcf2,_0xddc10b=this[_0x26bf1b(0xa5)][_0x26bf1b(0xba)][_0x26bf1b(0x85)](_0x26bf1b(0x99));_0xddc10b&&this[_0x26bf1b(0x7a)](_0xddc10b,_0x26bf1b(0x84),()=>{const _0x43e3ec=_0x26bf1b,_0x32b8b8=this[_0x43e3ec(0xa5)][_0x43e3ec(0xb5)][_0x43e3ec(0x6f)][_0x43e3ec(0x6e)][_0x43e3ec(0xc2)]();_0x32b8b8&&_0x32b8b8[_0x43e3ec(0xc1)](_0x43e3ec(0x70))&&this[_0x43e3ec(0xa5)][_0x43e3ec(0x88)][_0x43e3ec(0xa4)][_0x43e3ec(0x74)](_0x43e3ec(0x98),()=>{const _0x39bfc6=_0x43e3ec;_0x41721f(this[_0x39bfc6(0xa5)],_0x32b8b8);});});const _0x5cc262=this[_0x26bf1b(0xa5)][_0x26bf1b(0xba)][_0x26bf1b(0x85)](_0x26bf1b(0xb9));_0x5cc262&&this[_0x26bf1b(0x7a)](_0x5cc262,_0x26bf1b(0x84),()=>{const _0xb2b43b=_0x26bf1b,_0x6a1dc=this[_0xb2b43b(0xa5)][_0xb2b43b(0xb5)][_0xb2b43b(0x6f)][_0xb2b43b(0x6e)][_0xb2b43b(0xc2)]();_0x6a1dc&&_0x6a1dc[_0xb2b43b(0xc1)](_0xb2b43b(0x70))&&this[_0xb2b43b(0xa5)][_0xb2b43b(0x88)][_0xb2b43b(0xa4)][_0xb2b43b(0x74)](_0xb2b43b(0x98),()=>{const _0x29d6ef=_0xb2b43b;_0x41721f(this[_0x29d6ef(0xa5)],_0x6a1dc);});});}}function _0x3202(){const _0x1afdf6=['_initConversion','remove','contentLanguage','upcast','848ZOesoE','5554458oWZdjW','execute','get','_initCtx','uc-upload-ctx-provider','editing','ctxElement','join','true','destroy','73787JXjvDz','isOfficialPlugin','isPremiumPlugin','config','configElement','body','locale','iconHrefResolver','href','map','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','render','insertImage','replaceImageSource','pluginName','imageInline','uploadcare.uploader','#uc-icon-arrow-down','imageBlock','243650HvFRED','appendChild','add','uploadcare.pubkey','view','editor','uploader','requires','1491410VbfapJ','removeAttribute','fromCharCode','afterInit','uploadcare','855micDfs','input[uploadcare-file-input]','PictureEditing','27480EmBSTN','_configElement','querySelector','cleanupImage','extend','model','elementToAttribute','910uIubfu','636XAKjYo','uploadcareImageReplace','commands','uc-config','data-uc-image-id','3201RQuJpe','_ctxElement','UploadcareEditing','_initConfig','getAttribute','getSelectedElement','attributeToAttribute','selection','document','uploadcareImageId','schema','isRegistered','downcast','once','init','conversion','closeMax','158058FOxWXD','_initSchema','listenTo','for','_initImageProcessingIndicator','1378KbIOtC'];_0x3202=function(){return _0x1afdf6;};return _0x3202();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x18a10d,ObservableMixin as _0x1cd63b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1159f2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2532ae}from'ckeditor5/src/icons.js';import _0xd8577a from'./uploadcareimageeditformview.js';import _0x25a3d6 from'../../utils/uploadutils.js';import{getImageUrls as _0x59c2b2,getImageDimension as _0x27b1b5}from'../../utils/editingutils.js';import{isAncestor as _0x14c590}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1cd63b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x126e5e,_0x57ec06,_0x91e929){super(),this['_editor']=_0x126e5e,this['_dialog']=_0x57ec06,this['_imageElement']=_0x91e929,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 _0x45d8b7=this['_imageElement'],_0x33d7bf=_0x45d8b7['getAttribute']('uploadcareImageId'),_0x4a3059=_0x45d8b7['getAttribute']('src');if(_0x33d7bf)await this['_loadImageInfo'](_0x33d7bf,_0x4a3059);else{if(this['_imageCache']['has'](_0x4a3059)){const _0x41cc5e=this['_imageCache']['get'](_0x4a3059);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41cc5e['url'],this['imageDimension']=_0x41cc5e['dimension'],this['imageId']=_0x41cc5e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5a0572}=this['_editor'],t=_0x5a0572['t'],_0x5c2aa8=new _0xd8577a(_0x5a0572,this['imageStatus'],this['_attributes']);_0x5c2aa8['bind']('status')['to'](this,'imageStatus'),_0x5c2aa8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c2aa8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c2aa8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c2aa8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2532ae,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c2aa8,'position':_0x1159f2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c2aa8['focus']();},'onHide':()=>{_0x5c2aa8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3357fd=>!_0x14c590(_0x3357fd,_0x5c2aa8['element'])}});}['_loadImageInfo'](_0x3ab128,_0x142242){return _0x25a3d6['getInfo'](_0x3ab128,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x343430=>{const {width:_0x5ad36d,height:_0x352262}=_0x343430['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x142242,this['imageDimension']={'width':_0x5ad36d,'height':_0x352262},this['imageId']=_0x3ab128;})['catch'](_0x4a6b66=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4a6b66['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x48bb81,_0x19b4a0){return this['_getImageAsFile'](_0x48bb81)['then'](_0x5197fb=>_0x25a3d6['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x19b4a0['signal'],'file':_0x5197fb,'onProgress':_0x13984d=>{_0x13984d&&_0x13984d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x13984d['value']));}}))['then'](_0xb29795=>{const {width:_0x523ee5,height:_0x2e3efe}=_0xb29795['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb29795['cdnUrl'],this['imageDimension']={'width':_0x523ee5,'height':_0x2e3efe},this['imageId']=_0xb29795['uuid'],this['imageUploadProgress']=null;const _0x3ce3b9=_0x48bb81['getAttribute']('src');this['_imageCache']['set'](_0x3ce3b9,{'id':_0xb29795['uuid'],'url':_0xb29795['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x30430e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30430e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x15928e,_0x39ce0a){_0x15928e['on']('apply',(_0xcef13b,_0x5420a4)=>{this['_replaceImage'](_0x39ce0a,_0x5420a4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x15928e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x15928e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x51107c,_0x4f4bd3,_0x5edd96){const _0xb8b8fc=this['_editor'],{width:_0x201792,height:_0x12c465}=_0x27b1b5(_0x4f4bd3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3df457,imageSources:_0x3512fe}=_0x59c2b2(_0x4f4bd3,_0x201792);_0xb8b8fc['model']['change'](_0x587da0=>{if('$graveyard'===_0x51107c['root']['rootName']){_0xb8b8fc['execute']('insertImage',{'imageType':_0x51107c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x51107c['getAttributes']()),'uploadcareImageId':_0x5edd96,'src':_0x3df457,'sources':_0x3512fe,'width':_0x201792,'height':_0x12c465}});const _0x3e49f9=_0x51107c['getChildren']();_0x51107c=_0xb8b8fc['model']['document']['selection']['getSelectedElement']();for(const _0x6938ab of _0x3e49f9)_0x587da0['append'](_0x587da0['cloneElement'](_0x6938ab),_0x51107c);}else _0x587da0['setSelection'](_0x51107c,'on'),_0xb8b8fc['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x51107c['getAttributes']()),'uploadcareImageId':_0x5edd96,'src':_0x3df457,'sources':_0x3512fe,'width':_0x201792,'height':_0x12c465},_0x51107c);_0x587da0['setSelection'](_0x51107c,'on');});}async['_getImageAsFile'](_0x90fdd0){const _0x269b85=_0x18a10d['window'],_0x51c6d9=_0x18a10d['document']['location']['href'],_0x2f2ffc=new _0x269b85['URL'](_0x90fdd0['getAttribute']('src'),_0x51c6d9);if('data:'===_0x2f2ffc['protocol']){const _0x5104e2=_0x2f2ffc['href']['split'](','),_0x4e6005=_0x5104e2[0x0]['match'](/:(.*?);/)[0x1],_0x442047=_0x4e6005['split']('/')[0x1],_0x13d54d=_0x269b85['atob'](_0x5104e2[_0x5104e2['length']-0x1]);let _0x105136=_0x13d54d['length'];const _0x529690=new _0x269b85['Uint8Array'](_0x105136);for(;_0x105136--;)_0x529690[_0x105136]=_0x13d54d['charCodeAt'](_0x105136);return new _0x269b85['File']([_0x529690],'image.'+_0x442047,{'type':_0x4e6005});}const _0x397f40=_0x2f2ffc['href']['split']('/'),_0x4e6c25=_0x397f40[_0x397f40['length']-0x1],_0x1e3650=_0x4e6c25['split']('.')[0x1];return _0x269b85['fetch'](_0x2f2ffc['href'])['then'](_0x3f8402=>_0x3f8402['clone']()['blob']())['then'](_0x449a4b=>new _0x269b85['File']([_0x449a4b],_0x4e6c25,{'type':'image/'+_0x1e3650}));}}
23
+ import{global as _0x2d52ec,ObservableMixin as _0xdf0031}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3509f4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x42ed15}from'ckeditor5/src/icons.js';import _0x500d78 from'./uploadcareimageeditformview.js';import _0x2d5185 from'../../utils/uploadutils.js';import{getImageUrls as _0x4b2486,getImageDimension as _0x15c7e6}from'../../utils/editingutils.js';import{isAncestor as _0x5e7dc3}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0xdf0031(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x40c793,_0x3c1bf8,_0x58b3a6){super(),this['_editor']=_0x40c793,this['_dialog']=_0x3c1bf8,this['_imageElement']=_0x58b3a6,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 _0x19da47=this['_imageElement'],_0x514f75=_0x19da47['getAttribute']('uploadcareImageId'),_0x2a4752=_0x19da47['getAttribute']('src');if(_0x514f75)await this['_loadImageInfo'](_0x514f75,_0x2a4752);else{if(this['_imageCache']['has'](_0x2a4752)){const _0x50e2bf=this['_imageCache']['get'](_0x2a4752);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50e2bf['url'],this['imageDimension']=_0x50e2bf['dimension'],this['imageId']=_0x50e2bf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x10d6a7}=this['_editor'],t=_0x10d6a7['t'],_0x392b6f=new _0x500d78(_0x10d6a7,this['imageStatus'],this['_attributes']);_0x392b6f['bind']('status')['to'](this,'imageStatus'),_0x392b6f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x392b6f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x392b6f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x392b6f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x42ed15,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x392b6f,'position':_0x3509f4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x392b6f['focus']();},'onHide':()=>{_0x392b6f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c08be=>!_0x5e7dc3(_0x1c08be,_0x392b6f['element'])}});}['_loadImageInfo'](_0x51ebfa,_0x2e5131){return _0x2d5185['getInfo'](_0x51ebfa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x28dc19=>{const {width:_0x19b2cf,height:_0x4ad7cf}=_0x28dc19['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e5131,this['imageDimension']={'width':_0x19b2cf,'height':_0x4ad7cf},this['imageId']=_0x51ebfa;})['catch'](_0x38ea08=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38ea08['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x20ba8e,_0x2a53fa){return this['_getImageAsFile'](_0x20ba8e)['then'](_0x1641e7=>_0x2d5185['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2a53fa['signal'],'file':_0x1641e7,'onProgress':_0x16a343=>{_0x16a343&&_0x16a343['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x16a343['value']));}}))['then'](_0x101816=>{const {width:_0x2c366e,height:_0x501cc8}=_0x101816['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x101816['cdnUrl'],this['imageDimension']={'width':_0x2c366e,'height':_0x501cc8},this['imageId']=_0x101816['uuid'],this['imageUploadProgress']=null;const _0x11ca37=_0x20ba8e['getAttribute']('src');this['_imageCache']['set'](_0x11ca37,{'id':_0x101816['uuid'],'url':_0x101816['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2bc19c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2bc19c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xf7ca10,_0x5929af){_0xf7ca10['on']('apply',(_0x4455eb,_0x257953)=>{this['_replaceImage'](_0x5929af,_0x257953['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xf7ca10['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xf7ca10['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x12dc9b,_0x3ddbd6,_0x1c7041){const _0x9fbd82=this['_editor'],{width:_0x56df41,height:_0x4e8871}=_0x15c7e6(_0x3ddbd6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e8f4e,imageSources:_0x5e0aec}=_0x4b2486(_0x3ddbd6,_0x56df41);_0x9fbd82['model']['change'](_0xd61980=>{if('$graveyard'===_0x12dc9b['root']['rootName']){_0x9fbd82['execute']('insertImage',{'imageType':_0x12dc9b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x12dc9b['getAttributes']()),'uploadcareImageId':_0x1c7041,'src':_0x5e8f4e,'sources':_0x5e0aec,'width':_0x56df41,'height':_0x4e8871}});const _0x362443=_0x12dc9b['getChildren']();_0x12dc9b=_0x9fbd82['model']['document']['selection']['getSelectedElement']();for(const _0x33a201 of _0x362443)_0xd61980['append'](_0xd61980['cloneElement'](_0x33a201),_0x12dc9b);}else _0xd61980['setSelection'](_0x12dc9b,'on'),_0x9fbd82['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x12dc9b['getAttributes']()),'uploadcareImageId':_0x1c7041,'src':_0x5e8f4e,'sources':_0x5e0aec,'width':_0x56df41,'height':_0x4e8871},_0x12dc9b);_0xd61980['setSelection'](_0x12dc9b,'on');});}async['_getImageAsFile'](_0xa768d7){const _0x479fbd=_0x2d52ec['window'],_0x5dd706=_0x2d52ec['document']['location']['href'],_0xc70bcf=new _0x479fbd['URL'](_0xa768d7['getAttribute']('src'),_0x5dd706);if('data:'===_0xc70bcf['protocol']){const _0x5905ae=_0xc70bcf['href']['split'](','),_0x1ef8a8=_0x5905ae[0x0]['match'](/:(.*?);/)[0x1],_0x53262b=_0x1ef8a8['split']('/')[0x1],_0x37d9ef=_0x479fbd['atob'](_0x5905ae[_0x5905ae['length']-0x1]);let _0x4dad8a=_0x37d9ef['length'];const _0x288033=new _0x479fbd['Uint8Array'](_0x4dad8a);for(;_0x4dad8a--;)_0x288033[_0x4dad8a]=_0x37d9ef['charCodeAt'](_0x4dad8a);return new _0x479fbd['File']([_0x288033],'image.'+_0x53262b,{'type':_0x1ef8a8});}const _0x43f5c1=_0xc70bcf['href']['split']('/'),_0x165a64=_0x43f5c1[_0x43f5c1['length']-0x1],_0x29b53b=_0x165a64['split']('.')[0x1];return _0x479fbd['fetch'](_0xc70bcf['href'])['then'](_0x504000=>_0x504000['clone']()['blob']())['then'](_0x1b7ac9=>new _0x479fbd['File']([_0x1b7ac9],_0x165a64,{'type':'image/'+_0x29b53b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ac2(){const _0xf1ce7f=['imageSrc','5992EMWrPA','1971930oOQBvR','image-edit','328839NFEudH','1RsnvYC','951382UHKPQr','71368UMrNQU','setTemplate','set','bindTemplate','2601HuPlMz','4BrGrHa','320721Nnxyux','uc-light','uc-cloud-image-editor','ck-uploadcare-theme','1430aPZdyH','1124230LTxqRx'];_0x3ac2=function(){return _0xf1ce7f;};return _0x3ac2();}(function(_0x36ca5f,_0xe5b973){const _0x90fa8b=_0x42f8,_0x23438c=_0x36ca5f();while(!![]){try{const _0x4e2338=-parseInt(_0x90fa8b(0xdd))/0x1*(-parseInt(_0x90fa8b(0xcb))/0x2)+-parseInt(_0x90fa8b(0xd2))/0x3*(parseInt(_0x90fa8b(0xd1))/0x4)+parseInt(_0x90fa8b(0xd7))/0x5+parseInt(_0x90fa8b(0xda))/0x6+parseInt(_0x90fa8b(0xdc))/0x7+parseInt(_0x90fa8b(0xd9))/0x8*(parseInt(_0x90fa8b(0xd0))/0x9)+-parseInt(_0x90fa8b(0xd6))/0xa*(parseInt(_0x90fa8b(0xcc))/0xb);if(_0x4e2338===_0xe5b973)break;else _0x23438c['push'](_0x23438c['shift']());}catch(_0x3b5bc5){_0x23438c['push'](_0x23438c['shift']());}}}(_0x3ac2,0x3ef93));function _0x42f8(_0x2ff966,_0x1e4d53){const _0x3ac269=_0x3ac2();return _0x42f8=function(_0x42f8f2,_0x187bb0){_0x42f8f2=_0x42f8f2-0xcb;let _0x1dbc57=_0x3ac269[_0x42f8f2];return _0x1dbc57;},_0x42f8(_0x2ff966,_0x1e4d53);}import{View as _0x2fb4b2}from'ckeditor5/src/ui.js';export default class tt extends _0x2fb4b2{constructor(_0x3f7481,_0x3e7317){const _0x2f7bbe=_0x42f8;super(_0x3f7481);const _0x570009=this[_0x2f7bbe(0xcf)];this[_0x2f7bbe(0xce)](_0x2f7bbe(0xd8),''),this[_0x2f7bbe(0xcd)]({'tag':_0x2f7bbe(0xd4),'attributes':{..._0x3e7317,'class':[_0x2f7bbe(0xd3),_0x2f7bbe(0xd5)],'ctx-name':_0x2f7bbe(0xdb),'cdn-url':_0x570009['to'](_0x2f7bbe(0xd8))}});}}
23
+ (function(_0x34cc90,_0x4ed7b6){const _0x12d4d4=_0x512b,_0x21a50d=_0x34cc90();while(!![]){try{const _0x4ccf3f=-parseInt(_0x12d4d4(0x169))/0x1*(-parseInt(_0x12d4d4(0x16a))/0x2)+-parseInt(_0x12d4d4(0x162))/0x3+parseInt(_0x12d4d4(0x161))/0x4+parseInt(_0x12d4d4(0x163))/0x5*(parseInt(_0x12d4d4(0x15a))/0x6)+parseInt(_0x12d4d4(0x15b))/0x7*(-parseInt(_0x12d4d4(0x160))/0x8)+parseInt(_0x12d4d4(0x15f))/0x9+-parseInt(_0x12d4d4(0x164))/0xa;if(_0x4ccf3f===_0x4ed7b6)break;else _0x21a50d['push'](_0x21a50d['shift']());}catch(_0x3265c9){_0x21a50d['push'](_0x21a50d['shift']());}}}(_0x1992,0xde0d7));function _0x512b(_0x2a5444,_0x2b33c9){const _0x19920a=_0x1992();return _0x512b=function(_0x512bce,_0x35f04c){_0x512bce=_0x512bce-0x159;let _0x150c79=_0x19920a[_0x512bce];return _0x150c79;},_0x512b(_0x2a5444,_0x2b33c9);}import{View as _0x28b54d}from'ckeditor5/src/ui.js';export default class tt extends _0x28b54d{constructor(_0x5b04cc,_0x536ea4){const _0x5a0706=_0x512b;super(_0x5b04cc);const _0x359c4b=this[_0x5a0706(0x165)];this[_0x5a0706(0x168)](_0x5a0706(0x166),''),this[_0x5a0706(0x15c)]({'tag':_0x5a0706(0x15e),'attributes':{..._0x536ea4,'class':[_0x5a0706(0x159),_0x5a0706(0x15d)],'ctx-name':_0x5a0706(0x167),'cdn-url':_0x359c4b['to'](_0x5a0706(0x166))}});}}function _0x1992(){const _0x504d05=['imageSrc','image-edit','set','4322yXbeKg','558jPObwq','uc-light','15144mdgjBB','1169YEAIWg','setTemplate','ck-uploadcare-theme','uc-cloud-image-editor','13421502mzYkmU','128oLCyMn','316756vxLpxk','1475742zvMBTE','2935smvxSa','28537800wyKfUB','bindTemplate'];_0x1992=function(){return _0x504d05;};return _0x1992();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4302e3,IconView as at,View as _0x3cb687}from'ckeditor5/src/ui.js';export default class rt extends _0x3cb687{constructor(_0x1130e0){super(_0x1130e0);const t=_0x1130e0['t'];this['set']('errorType',null);const _0x582639=new _0x4302e3(_0x1130e0);_0x582639['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x582639['withText']=!0x0,_0x582639['class']='ck-button-action',_0x582639['on']('execute',()=>{this['fire']('retry');}),_0x582639['bind']('isVisible')['to'](this,'errorType',_0x2e2f03=>'NotFound'!==_0x2e2f03);const _0x5561df=new at();_0x5561df['content']=et,_0x5561df['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x18edc4=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':[_0x5561df,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x18edc4['to']('errorType',_0x590497=>t('NotFound'!==_0x590497?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x582639]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x175186,IconView as at,View as _0x4b9258}from'ckeditor5/src/ui.js';export default class rt extends _0x4b9258{constructor(_0x1d38f1){super(_0x1d38f1);const t=_0x1d38f1['t'];this['set']('errorType',null);const _0xc69b32=new _0x175186(_0x1d38f1);_0xc69b32['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xc69b32['withText']=!0x0,_0xc69b32['class']='ck-button-action',_0xc69b32['on']('execute',()=>{this['fire']('retry');}),_0xc69b32['bind']('isVisible')['to'](this,'errorType',_0x1603c5=>'NotFound'!==_0x1603c5);const _0x24b5c3=new at();_0x24b5c3['content']=et,_0x24b5c3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13d922=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':[_0x24b5c3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13d922['to']('errorType',_0x4507ea=>t('NotFound'!==_0x4507ea?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xc69b32]},{'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 _0x30209d,View as _0x2c11f7}from'ckeditor5/src/ui.js';export default class ta extends _0x2c11f7{constructor(_0x444f8e){super(_0x444f8e);const t=_0x444f8e['t'],_0x1e8c89=this['bindTemplate'],_0x766983=new _0x30209d();_0x766983['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':[_0x766983,{'text':_0x1e8c89['to']('imageUploadProgress',_0x4da274=>t('Loading\x20image...')+'\x20('+(_0x4da274||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 _0x267b39,View as _0x18865a}from'ckeditor5/src/ui.js';export default class ta extends _0x18865a{constructor(_0x1b8ce6){super(_0x1b8ce6);const t=_0x1b8ce6['t'],_0x3b9728=this['bindTemplate'],_0x2db82d=new _0x267b39();_0x2db82d['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':[_0x2db82d,{'text':_0x3b9728['to']('imageUploadProgress',_0x4c78c4=>t('Loading\x20image...')+'\x20('+(_0x4c78c4||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 _0x4a5132=_0x3c20;(function(_0x5dae5a,_0x157e31){const _0xf0fb4f=_0x3c20,_0x153298=_0x5dae5a();while(!![]){try{const _0x15e285=-parseInt(_0xf0fb4f(0x104))/0x1+-parseInt(_0xf0fb4f(0x11b))/0x2*(-parseInt(_0xf0fb4f(0x100))/0x3)+-parseInt(_0xf0fb4f(0x11a))/0x4+parseInt(_0xf0fb4f(0xfc))/0x5+-parseInt(_0xf0fb4f(0xf8))/0x6*(parseInt(_0xf0fb4f(0x101))/0x7)+parseInt(_0xf0fb4f(0xeb))/0x8*(parseInt(_0xf0fb4f(0xf3))/0x9)+parseInt(_0xf0fb4f(0xf4))/0xa;if(_0x15e285===_0x157e31)break;else _0x153298['push'](_0x153298['shift']());}catch(_0x4d7d3d){_0x153298['push'](_0x153298['shift']());}}}(_0x1298,0x48e77));import{View as _0x44ccc5}from'ckeditor5/src/ui.js';import _0x326348 from'./uploadcareimageeditformloadingview.js';function _0x3c20(_0x3336d2,_0x9e5a83){const _0x129844=_0x1298();return _0x3c20=function(_0x3c20e0,_0xb88a45){_0x3c20e0=_0x3c20e0-0xe6;let _0x54fc69=_0x129844[_0x3c20e0];return _0x54fc69;},_0x3c20(_0x3336d2,_0x9e5a83);}import _0x3147bd from'./uploadcareimageeditformerrorview.js';function _0x1298(){const _0x5a5119=['78lHUCeZ','add','set','element','_editingView','once','uploading','24fXJBWE','status','setTemplate','filter','_setView','retry','_focusableView','addedNodes','273888nzJxWM','1270qUWZIf','detail','toLowerCase','_waitForImageEditorComponent','6PEqpGA','disconnect','apply','addEventListener','2820400hXbsba','_items','nodeName','addMany','21234ouvBiJ','2894311xMpKQp','fire','ready','5117XxZqCL','render','error','createCollection','div','_addUploadcareImageEditorListeners','_errorView','cancel','focus','ck-reset_all-excluded','uc-cloud-image-editor','clear','target','getFocusableElement','change:status','querySelector','length','_loadingView','cdnUrl','ck-uploadcare-form','observe','_addErrorViewListeners','857360bkGTlm'];_0x1298=function(){return _0x5a5119;};return _0x1298();}import _0x33d917 from'./uploadcareimageeditformeditingview.js';import _0xea3ada from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xea3ada{[_0x4a5132(0xfd)];[_0x4a5132(0x115)];[_0x4a5132(0x10a)];[_0x4a5132(0xe8)];[_0x4a5132(0xf1)];constructor(_0x35551f,_0x5b4ebe,_0x44516d){const _0x5ca5fc=_0x4a5132;super(_0x35551f),this[_0x5ca5fc(0xfd)]=this[_0x5ca5fc(0x107)](),this[_0x5ca5fc(0x115)]=new _0x326348(_0x35551f),this[_0x5ca5fc(0x10a)]=new _0x3147bd(_0x35551f),this[_0x5ca5fc(0xe8)]=new _0x33d917(_0x35551f,_0x44516d),this[_0x5ca5fc(0xf1)]=new _0x44ccc5(_0x35551f),this[_0x5ca5fc(0xf1)][_0x5ca5fc(0xed)](this[_0x5ca5fc(0x111)]()),this[_0x5ca5fc(0xe6)](_0x5ca5fc(0xec),_0x5b4ebe),this[_0x5ca5fc(0xed)]({'tag':_0x5ca5fc(0x108),'attributes':{'class':['ck',_0x5ca5fc(0x10d),_0x5ca5fc(0x117)],'tabindex':'-1'},'children':this[_0x5ca5fc(0xfd)]}),this[_0x5ca5fc(0xef)](),this[_0x5ca5fc(0xe9)](_0x5ca5fc(0x105),()=>{const _0x4f23ce=_0x5ca5fc;this[_0x4f23ce(0xf7)](this[_0x4f23ce(0xe7)],_0x394736=>{const _0x1d8d52=_0x4f23ce;this[_0x1d8d52(0x109)](_0x394736);});}),this['on'](_0x5ca5fc(0x112),()=>{const _0x10c2f0=_0x5ca5fc;this[_0x10c2f0(0xef)]();}),this[_0x5ca5fc(0x119)]();}[_0x4a5132(0x10c)](){const _0x46b090=_0x4a5132;this[_0x46b090(0xe7)][_0x46b090(0x10c)]();}[_0x4a5132(0xef)](){const _0x2fb823=_0x4a5132;switch(this[_0x2fb823(0xfd)][_0x2fb823(0x10f)](),this[_0x2fb823(0xec)]){case _0x2fb823(0xea):this[_0x2fb823(0xfd)][_0x2fb823(0x11c)](this[_0x2fb823(0x115)]);break;case _0x2fb823(0x106):this[_0x2fb823(0xfd)][_0x2fb823(0x11c)](this[_0x2fb823(0x10a)]);break;case _0x2fb823(0x103):this[_0x2fb823(0xfd)][_0x2fb823(0xff)]([this[_0x2fb823(0xe8)],this[_0x2fb823(0xf1)]]);}}[_0x4a5132(0xf7)](_0x4878ff,_0x4b0377){const _0x365c07=_0x4a5132,_0x26c778=_0x365c07(0x10e),_0x405c1c=_0x4878ff[_0x365c07(0x113)](_0x26c778);if(_0x405c1c)return _0x4b0377(_0x405c1c);const _0xee6966=new MutationObserver(_0x56e0cb=>{const _0x59e20d=_0x365c07,_0x2cd246=_0x56e0cb[_0x59e20d(0xee)](_0x4ae32f=>_0x4ae32f[_0x59e20d(0x110)]===_0x4878ff&&_0x4ae32f[_0x59e20d(0xf2)][_0x59e20d(0x114)]>0x0&&_0x4ae32f[_0x59e20d(0xf2)][0x0][_0x59e20d(0xfe)][_0x59e20d(0xf6)]()===_0x26c778);_0x2cd246[_0x59e20d(0x114)]&&(_0xee6966[_0x59e20d(0xf9)](),_0x4b0377(_0x2cd246[0x0][_0x59e20d(0xf2)][0x0]));});_0xee6966[_0x365c07(0x118)](_0x4878ff,{'childList':!0x0,'subtree':!0x0});}[_0x4a5132(0x109)](_0x48ba6e){const _0x21c184=_0x4a5132;_0x48ba6e[_0x21c184(0xfb)](_0x21c184(0xfa),_0x552a1a=>{const _0x51ac88=_0x21c184;this[_0x51ac88(0x102)](_0x51ac88(0xfa),{'imageSrc':_0x552a1a[_0x51ac88(0xf5)][_0x51ac88(0x116)]});}),_0x48ba6e[_0x21c184(0xfb)](_0x21c184(0x10b),()=>{const _0x413bbe=_0x21c184;this[_0x413bbe(0x102)](_0x413bbe(0x10b));});}[_0x4a5132(0x119)](){const _0x5a1c02=_0x4a5132;this[_0x5a1c02(0x10a)]['on'](_0x5a1c02(0xf0),()=>{const _0x2a07c4=_0x5a1c02;this[_0x2a07c4(0x102)](_0x2a07c4(0xf0));});}}
23
+ const _0x49b2dd=_0x30d7;(function(_0x5d5995,_0x1456fa){const _0x291e3f=_0x30d7,_0x5355f8=_0x5d5995();while(!![]){try{const _0x333d4f=-parseInt(_0x291e3f(0x18a))/0x1+parseInt(_0x291e3f(0x17a))/0x2+parseInt(_0x291e3f(0x18c))/0x3*(parseInt(_0x291e3f(0x183))/0x4)+parseInt(_0x291e3f(0x186))/0x5+parseInt(_0x291e3f(0x18d))/0x6+parseInt(_0x291e3f(0x188))/0x7+-parseInt(_0x291e3f(0x192))/0x8*(parseInt(_0x291e3f(0x1a5))/0x9);if(_0x333d4f===_0x1456fa)break;else _0x5355f8['push'](_0x5355f8['shift']());}catch(_0x56de5f){_0x5355f8['push'](_0x5355f8['shift']());}}}(_0x44c2,0x88e3b));import{View as _0x210991}from'ckeditor5/src/ui.js';function _0x30d7(_0x40d21b,_0x311ce1){const _0x44c282=_0x44c2();return _0x30d7=function(_0x30d70d,_0x32d1c3){_0x30d70d=_0x30d70d-0x173;let _0x567e9a=_0x44c282[_0x30d70d];return _0x567e9a;},_0x30d7(_0x40d21b,_0x311ce1);}import _0x41092d from'./uploadcareimageeditformloadingview.js';import _0x1e9ef4 from'./uploadcareimageeditformerrorview.js';import _0x13bdd0 from'./uploadcareimageeditformeditingview.js';import _0x355473 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x44c2(){const _0x515dfb=['getFocusableElement','ready','uploading','_addUploadcareImageEditorListeners','nodeName','_items','2261096fnDCCw','addMany','addedNodes','3853905VnZUZh','apply','6931043FmQfNl','disconnect','108177ILphKO','div','3DsYTVP','4408308qDsUvd','cancel','length','ck-reset_all-excluded','fire','16IddDQC','set','toLowerCase','_addErrorViewListeners','setTemplate','_errorView','addEventListener','add','filter','error','_editingView','status','_focusableView','once','ck-uploadcare-form','observe','createCollection','cdnUrl','_setView','14536593pqDKVX','target','render','uc-cloud-image-editor','change:status','detail','focus','element','retry','clear','querySelector','1676616akgWMt','_loadingView','_waitForImageEditorComponent'];_0x44c2=function(){return _0x515dfb;};return _0x44c2();}export default class Z extends _0x355473{[_0x49b2dd(0x182)];[_0x49b2dd(0x17b)];[_0x49b2dd(0x197)];[_0x49b2dd(0x19c)];[_0x49b2dd(0x19e)];constructor(_0x1f23bc,_0xbba6d6,_0x1b9002){const _0x3cadc4=_0x49b2dd;super(_0x1f23bc),this[_0x3cadc4(0x182)]=this[_0x3cadc4(0x1a2)](),this[_0x3cadc4(0x17b)]=new _0x41092d(_0x1f23bc),this[_0x3cadc4(0x197)]=new _0x1e9ef4(_0x1f23bc),this[_0x3cadc4(0x19c)]=new _0x13bdd0(_0x1f23bc,_0x1b9002),this[_0x3cadc4(0x19e)]=new _0x210991(_0x1f23bc),this[_0x3cadc4(0x19e)][_0x3cadc4(0x196)](this[_0x3cadc4(0x17d)]()),this[_0x3cadc4(0x193)](_0x3cadc4(0x19d),_0xbba6d6),this[_0x3cadc4(0x196)]({'tag':_0x3cadc4(0x18b),'attributes':{'class':['ck',_0x3cadc4(0x190),_0x3cadc4(0x1a0)],'tabindex':'-1'},'children':this[_0x3cadc4(0x182)]}),this[_0x3cadc4(0x1a4)](),this[_0x3cadc4(0x19f)](_0x3cadc4(0x1a7),()=>{const _0x476b2c=_0x3cadc4;this[_0x476b2c(0x17c)](this[_0x476b2c(0x176)],_0x56c64b=>{const _0x35f796=_0x476b2c;this[_0x35f796(0x180)](_0x56c64b);});}),this['on'](_0x3cadc4(0x173),()=>{const _0x56f13b=_0x3cadc4;this[_0x56f13b(0x1a4)]();}),this[_0x3cadc4(0x195)]();}[_0x49b2dd(0x175)](){const _0x27e7be=_0x49b2dd;this[_0x27e7be(0x176)][_0x27e7be(0x175)]();}[_0x49b2dd(0x1a4)](){const _0x30f2a2=_0x49b2dd;switch(this[_0x30f2a2(0x182)][_0x30f2a2(0x178)](),this[_0x30f2a2(0x19d)]){case _0x30f2a2(0x17f):this[_0x30f2a2(0x182)][_0x30f2a2(0x199)](this[_0x30f2a2(0x17b)]);break;case _0x30f2a2(0x19b):this[_0x30f2a2(0x182)][_0x30f2a2(0x199)](this[_0x30f2a2(0x197)]);break;case _0x30f2a2(0x17e):this[_0x30f2a2(0x182)][_0x30f2a2(0x184)]([this[_0x30f2a2(0x19c)],this[_0x30f2a2(0x19e)]]);}}[_0x49b2dd(0x17c)](_0x1191b1,_0x2f2654){const _0x55dda3=_0x49b2dd,_0x11ff63=_0x55dda3(0x1a8),_0x4fb354=_0x1191b1[_0x55dda3(0x179)](_0x11ff63);if(_0x4fb354)return _0x2f2654(_0x4fb354);const _0xb8a360=new MutationObserver(_0x332edb=>{const _0x16a669=_0x55dda3,_0x5aea84=_0x332edb[_0x16a669(0x19a)](_0x48f358=>_0x48f358[_0x16a669(0x1a6)]===_0x1191b1&&_0x48f358[_0x16a669(0x185)][_0x16a669(0x18f)]>0x0&&_0x48f358[_0x16a669(0x185)][0x0][_0x16a669(0x181)][_0x16a669(0x194)]()===_0x11ff63);_0x5aea84[_0x16a669(0x18f)]&&(_0xb8a360[_0x16a669(0x189)](),_0x2f2654(_0x5aea84[0x0][_0x16a669(0x185)][0x0]));});_0xb8a360[_0x55dda3(0x1a1)](_0x1191b1,{'childList':!0x0,'subtree':!0x0});}[_0x49b2dd(0x180)](_0x460f66){const _0x655d35=_0x49b2dd;_0x460f66[_0x655d35(0x198)](_0x655d35(0x187),_0x303685=>{const _0x4870c8=_0x655d35;this[_0x4870c8(0x191)](_0x4870c8(0x187),{'imageSrc':_0x303685[_0x4870c8(0x174)][_0x4870c8(0x1a3)]});}),_0x460f66[_0x655d35(0x198)](_0x655d35(0x18e),()=>{const _0x30751e=_0x655d35;this[_0x30751e(0x191)](_0x30751e(0x18e));});}[_0x49b2dd(0x195)](){const _0x10a44e=_0x49b2dd;this[_0x10a44e(0x197)]['on'](_0x10a44e(0x177),()=>{const _0x7572d6=_0x10a44e;this[_0x7572d6(0x191)](_0x7572d6(0x177));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b49(_0x39add1,_0x2bafc2){const _0x521343=_0x5213();return _0x1b49=function(_0x1b4930,_0x2e88f9){_0x1b4930=_0x1b4930-0x87;let _0x3f3f5d=_0x521343[_0x1b4930];return _0x3f3f5d;},_0x1b49(_0x39add1,_0x2bafc2);}const _0x7d9abd=_0x1b49;(function(_0x394e8d,_0x486379){const _0x3852c3=_0x1b49,_0x3ff74f=_0x394e8d();while(!![]){try{const _0x2869a8=-parseInt(_0x3852c3(0x98))/0x1+parseInt(_0x3852c3(0xa5))/0x2*(parseInt(_0x3852c3(0x89))/0x3)+-parseInt(_0x3852c3(0xa3))/0x4*(-parseInt(_0x3852c3(0x8a))/0x5)+parseInt(_0x3852c3(0x90))/0x6*(-parseInt(_0x3852c3(0x8b))/0x7)+-parseInt(_0x3852c3(0xa6))/0x8+parseInt(_0x3852c3(0x8c))/0x9+parseInt(_0x3852c3(0x99))/0xa*(parseInt(_0x3852c3(0x9e))/0xb);if(_0x2869a8===_0x486379)break;else _0x3ff74f['push'](_0x3ff74f['shift']());}catch(_0x309d0c){_0x3ff74f['push'](_0x3ff74f['shift']());}}}(_0x5213,0xb2f17));import{Command as _0x2a0afb}from'ckeditor5/src/core.js';import{Dialog as _0xf66a20}from'ckeditor5/src/ui.js';import _0x3837b2 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x589ffa}from'../utils/editingutils.js';export default class J extends _0x2a0afb{[_0x7d9abd(0x8e)];static get[_0x7d9abd(0x97)](){return[_0xf66a20];}[_0x7d9abd(0x93)];constructor(_0x1c105f){const _0x2fb2cf=_0x7d9abd;super(_0x1c105f),this[_0x2fb2cf(0x8e)]=void 0x0,this[_0x2fb2cf(0x93)]=_0x589ffa(_0x1c105f[_0x2fb2cf(0x9b)][_0x2fb2cf(0x91)](_0x2fb2cf(0xa1))||[]),this[_0x2fb2cf(0xa4)]({'isActive':!0x1});}[_0x7d9abd(0xa7)](){const _0x505207=_0x7d9abd,_0x507435=this[_0x505207(0x96)][_0x505207(0x95)][_0x505207(0xa2)][_0x505207(0x8f)][_0x505207(0x9f)]();this[_0x505207(0x88)]=this[_0x505207(0x93)](_0x507435);}[_0x7d9abd(0x8d)](){const _0x3c41f2=_0x7d9abd;this[_0x3c41f2(0x8e)]&&(this[_0x3c41f2(0x9c)](_0x3c41f2(0x94)),this[_0x3c41f2(0x8e)]=void 0x0);const _0x3d0cee=this[_0x3c41f2(0x96)][_0x3c41f2(0x95)][_0x3c41f2(0xa2)][_0x3c41f2(0x8f)][_0x3c41f2(0x9f)]();_0x3d0cee&&(_0x3d0cee['is'](_0x3c41f2(0x92),_0x3c41f2(0x9d))||_0x3d0cee['is'](_0x3c41f2(0x92),_0x3c41f2(0xa0)))&&(this[_0x3c41f2(0x8e)]=new _0x3837b2(this[_0x3c41f2(0x96)],this[_0x3c41f2(0x96)][_0x3c41f2(0x9a)][_0x3c41f2(0x91)](_0xf66a20),_0x3d0cee),this[_0x3c41f2(0x87)](_0x3c41f2(0x94))['to'](this[_0x3c41f2(0x8e)],_0x3c41f2(0x94)));}}function _0x5213(){const _0x42680c=['execute','imageEditController','selection','6KKnnzd','get','element','_isEditable','isActive','model','editor','requires','890955UyIqln','4757240PccBMb','plugins','config','unbind','imageBlock','33iHqpcj','getSelectedElement','imageInline','uploadcare.allowExternalImagesEditing','document','3459992VqXyNi','set','1434DRdyxn','11264808oUeHPU','refresh','bind','isEnabled','1107psUaNG','5HKTAss','211953mWesDy','4549887UifSEm'];_0x5213=function(){return _0x42680c;};return _0x5213();}
23
+ function _0x474f(_0x3d8a4f,_0x29fe30){const _0x15a242=_0x15a2();return _0x474f=function(_0x474fd5,_0x4897d9){_0x474fd5=_0x474fd5-0xa9;let _0x43dc1a=_0x15a242[_0x474fd5];return _0x43dc1a;},_0x474f(_0x3d8a4f,_0x29fe30);}const _0x416c51=_0x474f;(function(_0x377d72,_0x576125){const _0x41e65e=_0x474f,_0x2b59e9=_0x377d72();while(!![]){try{const _0x1708aa=-parseInt(_0x41e65e(0xaa))/0x1*(-parseInt(_0x41e65e(0xb1))/0x2)+parseInt(_0x41e65e(0xbb))/0x3*(parseInt(_0x41e65e(0xc0))/0x4)+-parseInt(_0x41e65e(0xc5))/0x5+-parseInt(_0x41e65e(0xaf))/0x6+parseInt(_0x41e65e(0xc7))/0x7+parseInt(_0x41e65e(0xb9))/0x8*(parseInt(_0x41e65e(0xb7))/0x9)+-parseInt(_0x41e65e(0xc1))/0xa;if(_0x1708aa===_0x576125)break;else _0x2b59e9['push'](_0x2b59e9['shift']());}catch(_0x4d72c7){_0x2b59e9['push'](_0x2b59e9['shift']());}}}(_0x15a2,0x53150));function _0x15a2(){const _0x178cfb=['set','execute','plugins','isActive','_isEditable','698769iHFYvg','isEnabled','32iDyvWU','selection','1899321VtcHDz','imageEditController','document','model','requires','4XSYbMR','1260830sangis','get','bind','editor','1684080JguCZg','imageBlock','1046976hbytJu','getSelectedElement','refresh','14CaCFhU','config','imageInline','element','unbind','2981988RPbPVP','uploadcare.allowExternalImagesEditing','29566DTWvOM'];_0x15a2=function(){return _0x178cfb;};return _0x15a2();}import{Command as _0x2e0c12}from'ckeditor5/src/core.js';import{Dialog as _0x44f6cf}from'ckeditor5/src/ui.js';import _0xcbed23 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x19d70e}from'../utils/editingutils.js';export default class J extends _0x2e0c12{[_0x416c51(0xbc)];static get[_0x416c51(0xbf)](){return[_0x44f6cf];}[_0x416c51(0xb6)];constructor(_0x3c2905){const _0x2cb8f6=_0x416c51;super(_0x3c2905),this[_0x2cb8f6(0xbc)]=void 0x0,this[_0x2cb8f6(0xb6)]=_0x19d70e(_0x3c2905[_0x2cb8f6(0xab)][_0x2cb8f6(0xc2)](_0x2cb8f6(0xb0))||[]),this[_0x2cb8f6(0xb2)]({'isActive':!0x1});}[_0x416c51(0xa9)](){const _0x266663=_0x416c51,_0x204fdd=this[_0x266663(0xc4)][_0x266663(0xbe)][_0x266663(0xbd)][_0x266663(0xba)][_0x266663(0xc8)]();this[_0x266663(0xb8)]=this[_0x266663(0xb6)](_0x204fdd);}[_0x416c51(0xb3)](){const _0x3124ba=_0x416c51;this[_0x3124ba(0xbc)]&&(this[_0x3124ba(0xae)](_0x3124ba(0xb5)),this[_0x3124ba(0xbc)]=void 0x0);const _0x15f04d=this[_0x3124ba(0xc4)][_0x3124ba(0xbe)][_0x3124ba(0xbd)][_0x3124ba(0xba)][_0x3124ba(0xc8)]();_0x15f04d&&(_0x15f04d['is'](_0x3124ba(0xad),_0x3124ba(0xc6))||_0x15f04d['is'](_0x3124ba(0xad),_0x3124ba(0xac)))&&(this[_0x3124ba(0xbc)]=new _0xcbed23(this[_0x3124ba(0xc4)],this[_0x3124ba(0xc4)][_0x3124ba(0xb4)][_0x3124ba(0xc2)](_0x44f6cf),_0x15f04d),this[_0x3124ba(0xc3)](_0x3124ba(0xb5))['to'](this[_0x3124ba(0xbc)],_0x3124ba(0xb5)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x499341=_0x52ae;(function(_0x3f33e5,_0x3f37a3){const _0x2ccd77=_0x52ae,_0x4f4b14=_0x3f33e5();while(!![]){try{const _0x3276a8=-parseInt(_0x2ccd77(0x13f))/0x1*(parseInt(_0x2ccd77(0x14a))/0x2)+-parseInt(_0x2ccd77(0x151))/0x3+-parseInt(_0x2ccd77(0x13e))/0x4+parseInt(_0x2ccd77(0x13a))/0x5*(parseInt(_0x2ccd77(0x14d))/0x6)+-parseInt(_0x2ccd77(0x149))/0x7*(parseInt(_0x2ccd77(0x142))/0x8)+-parseInt(_0x2ccd77(0x147))/0x9*(parseInt(_0x2ccd77(0x143))/0xa)+parseInt(_0x2ccd77(0x148))/0xb*(parseInt(_0x2ccd77(0x13d))/0xc);if(_0x3276a8===_0x3f37a3)break;else _0x4f4b14['push'](_0x4f4b14['shift']());}catch(_0x20793a){_0x4f4b14['push'](_0x4f4b14['shift']());}}}(_0x220a,0x28ea1));function _0x52ae(_0x644a95,_0x1356cf){const _0x220a4c=_0x220a();return _0x52ae=function(_0x52aec1,_0x58d04c){_0x52aec1=_0x52aec1-0x13a;let _0x5342b2=_0x220a4c[_0x52aec1];return _0x5342b2;},_0x52ae(_0x644a95,_0x1356cf);}function _0x220a(){const _0x14d829=['209rfcXKS','331219IflBUu','1544UZtAWz','uploadcareImageEdit','ImageUtils','1167234SzIYxw','ImageEditing','UploadcareImageEditEditing','add','311622BYbOmg','5xMuZep','commands','pluginName','325764uhgroQ','498008xSJybY','13ohHIjx','uploadcareImageReplace','isOfficialPlugin','8TBNyud','2570180xBXbCt','isPremiumPlugin','init','requires','9hJMlLE'];_0x220a=function(){return _0x14d829;};return _0x220a();}import{Plugin as _0x1008cd}from'ckeditor5/src/core.js';import{Notification as _0x3b1408}from'ckeditor5/src/ui.js';import _0x2dfe74 from'./uploadcareimageeditcommand.js';import _0x2590e4 from'./uploadcareimagereplacecommand.js';import _0x28cc1b from'../uploadcareediting.js';export default class g extends _0x1008cd{static get[_0x499341(0x13c)](){const _0x5329eb=_0x499341;return _0x5329eb(0x14f);}static get[_0x499341(0x146)](){const _0x57dfda=_0x499341;return[_0x28cc1b,_0x3b1408,_0x57dfda(0x14c),_0x57dfda(0x14e)];}static get[_0x499341(0x141)](){return!0x0;}static get[_0x499341(0x144)](){return!0x0;}[_0x499341(0x145)](){const _0x39aaac=_0x499341,{editor:_0x5b2a27}=this;_0x5b2a27[_0x39aaac(0x13b)][_0x39aaac(0x150)](_0x39aaac(0x14b),new _0x2dfe74(_0x5b2a27)),_0x5b2a27[_0x39aaac(0x13b)][_0x39aaac(0x150)](_0x39aaac(0x140),new _0x2590e4(_0x5b2a27));}}
23
+ const _0x5760a0=_0x4cf6;function _0x4cf6(_0x4d814e,_0xc56750){const _0xc30354=_0xc303();return _0x4cf6=function(_0x4cf68d,_0x84149){_0x4cf68d=_0x4cf68d-0x163;let _0xf8377d=_0xc30354[_0x4cf68d];return _0xf8377d;},_0x4cf6(_0x4d814e,_0xc56750);}(function(_0x3e8d23,_0x202aa8){const _0x1f8d74=_0x4cf6,_0x3726b0=_0x3e8d23();while(!![]){try{const _0x534b9a=-parseInt(_0x1f8d74(0x168))/0x1*(-parseInt(_0x1f8d74(0x175))/0x2)+parseInt(_0x1f8d74(0x166))/0x3*(-parseInt(_0x1f8d74(0x16e))/0x4)+-parseInt(_0x1f8d74(0x174))/0x5*(-parseInt(_0x1f8d74(0x171))/0x6)+-parseInt(_0x1f8d74(0x16d))/0x7*(-parseInt(_0x1f8d74(0x179))/0x8)+parseInt(_0x1f8d74(0x169))/0x9+-parseInt(_0x1f8d74(0x16c))/0xa+-parseInt(_0x1f8d74(0x173))/0xb;if(_0x534b9a===_0x202aa8)break;else _0x3726b0['push'](_0x3726b0['shift']());}catch(_0x1c6359){_0x3726b0['push'](_0x3726b0['shift']());}}}(_0xc303,0x62dad));import{Plugin as _0x138845}from'ckeditor5/src/core.js';import{Notification as _0x4bb21a}from'ckeditor5/src/ui.js';function _0xc303(){const _0x536059=['4224594uPmmaq','1514540kAbKTw','3554VyqDwO','ImageUtils','pluginName','uploadcareImageEdit','5613328BJdwtW','add','isOfficialPlugin','UploadcareImageEditEditing','9SAbrgk','requires','274gTtLgA','422766kMUtMo','commands','ImageEditing','1203800uQKjpN','7qUbhcb','838804RfBSBn','uploadcareImageReplace','isPremiumPlugin','6cJyFKZ','init'];_0xc303=function(){return _0x536059;};return _0xc303();}import _0x19a28e from'./uploadcareimageeditcommand.js';import _0x34fb21 from'./uploadcareimagereplacecommand.js';import _0x1219d7 from'../uploadcareediting.js';export default class g extends _0x138845{static get[_0x5760a0(0x177)](){const _0x1cef12=_0x5760a0;return _0x1cef12(0x165);}static get[_0x5760a0(0x167)](){const _0x13d409=_0x5760a0;return[_0x1219d7,_0x4bb21a,_0x13d409(0x176),_0x13d409(0x16b)];}static get[_0x5760a0(0x164)](){return!0x0;}static get[_0x5760a0(0x170)](){return!0x0;}[_0x5760a0(0x172)](){const _0x419f48=_0x5760a0,{editor:_0x1aa352}=this;_0x1aa352[_0x419f48(0x16a)][_0x419f48(0x163)](_0x419f48(0x178),new _0x19a28e(_0x1aa352)),_0x1aa352[_0x419f48(0x16a)][_0x419f48(0x163)](_0x419f48(0x16f),new _0x34fb21(_0x1aa352));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x52c3ab}from'ckeditor5/src/core.js';import{ButtonView as _0x4aa89c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x21dcc0}from'ckeditor5/src/icons.js';import{createElement as _0x4874c1}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x52c3ab{['_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 _0x6ec00=this['editor'];_0x6ec00['ui']['componentFactory']['add']('uploadcareImageEdit',_0xae5aff=>{const _0x22eb7a=_0x6ec00['commands']['get']('uploadcareImageEdit'),_0x36746f=new _0x4aa89c(_0xae5aff),t=_0xae5aff['t'];return _0x36746f['set']({'icon':_0x21dcc0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x36746f['bind']('isEnabled')['to'](_0x22eb7a),_0x36746f['bind']('isOn')['to'](_0x22eb7a,'isActive'),this['listenTo'](_0x36746f,'execute',()=>{_0x6ec00['execute']('uploadcareImageEdit'),_0x6ec00['editing']['view']['focus']();}),_0x36746f;}),this['_initConfig']();}['_initConfig'](){const _0x4f1926=_0x4874c1(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4f1926),this['listenTo'](this['editor'],'destroy',()=>{_0x4f1926['remove']();});}}
23
+ import{Plugin as _0x5486d8}from'ckeditor5/src/core.js';import{ButtonView as _0x584e64}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ec5b2}from'ckeditor5/src/icons.js';import{createElement as _0x2f6d45}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x5486d8{['_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 _0x327afb=this['editor'];_0x327afb['ui']['componentFactory']['add']('uploadcareImageEdit',_0x420257=>{const _0x711ed9=_0x327afb['commands']['get']('uploadcareImageEdit'),_0x3f188f=new _0x584e64(_0x420257),t=_0x420257['t'];return _0x3f188f['set']({'icon':_0x5ec5b2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3f188f['bind']('isEnabled')['to'](_0x711ed9),_0x3f188f['bind']('isOn')['to'](_0x711ed9,'isActive'),this['listenTo'](_0x3f188f,'execute',()=>{_0x327afb['execute']('uploadcareImageEdit'),_0x327afb['editing']['view']['focus']();}),_0x3f188f;}),this['_initConfig']();}['_initConfig'](){const _0x509983=_0x2f6d45(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x509983),this['listenTo'](this['editor'],'destroy',()=>{_0x509983['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x490b(_0x56ee56,_0x1eb943){const _0x48db41=_0x48db();return _0x490b=function(_0x490b39,_0x48eeac){_0x490b39=_0x490b39-0x166;let _0x390b41=_0x48db41[_0x490b39];return _0x390b41;},_0x490b(_0x56ee56,_0x1eb943);}const _0x253e63=_0x490b;(function(_0x34dbb4,_0x27180c){const _0x349c02=_0x490b,_0x42a84a=_0x34dbb4();while(!![]){try{const _0x3f5ba7=-parseInt(_0x349c02(0x16b))/0x1*(parseInt(_0x349c02(0x17f))/0x2)+parseInt(_0x349c02(0x166))/0x3*(parseInt(_0x349c02(0x16e))/0x4)+parseInt(_0x349c02(0x178))/0x5+-parseInt(_0x349c02(0x170))/0x6+parseInt(_0x349c02(0x175))/0x7*(parseInt(_0x349c02(0x176))/0x8)+-parseInt(_0x349c02(0x16a))/0x9+-parseInt(_0x349c02(0x179))/0xa*(parseInt(_0x349c02(0x167))/0xb);if(_0x3f5ba7===_0x27180c)break;else _0x42a84a['push'](_0x42a84a['shift']());}catch(_0x24809a){_0x42a84a['push'](_0x42a84a['shift']());}}}(_0x48db,0xb07c4));function _0x48db(){const _0xbdf108=['604020coJlpc','imageInline','6235482qMqDYe','imageBlock','element','setAttributes','refresh','751485tkEnKQ','88sRWozn','change','4928380lgGzfL','13354580nhxYiR','selection','model','isEnabled','execute','removeAttribute','51166KjDRUe','editor','21vraPwm','11nQMmBE','sizes','getSelectedElement','903996gKLWUt','1uexNPK','document','srcset'];_0x48db=function(){return _0xbdf108;};return _0x48db();}import{Command as _0x89f47c}from'ckeditor5/src/core.js';export default class O extends _0x89f47c{[_0x253e63(0x174)](){const _0x2bae7b=_0x253e63,_0x271b16=this[_0x2bae7b(0x180)][_0x2bae7b(0x17b)][_0x2bae7b(0x16c)][_0x2bae7b(0x17a)][_0x2bae7b(0x169)]();this[_0x2bae7b(0x17c)]=Boolean(_0x271b16&&(_0x271b16['is'](_0x2bae7b(0x172),_0x2bae7b(0x171))||_0x271b16['is'](_0x2bae7b(0x172),_0x2bae7b(0x16f))));}[_0x253e63(0x17d)](_0x5829c1){const _0x3212a3=_0x253e63,_0x124513=this[_0x3212a3(0x180)][_0x3212a3(0x17b)][_0x3212a3(0x16c)][_0x3212a3(0x17a)][_0x3212a3(0x169)]();this[_0x3212a3(0x180)][_0x3212a3(0x17b)][_0x3212a3(0x177)](_0x553b1c=>{const _0x4c423b=_0x3212a3;_0x553b1c[_0x4c423b(0x173)](_0x5829c1,_0x124513),_0x553b1c[_0x4c423b(0x17e)](_0x4c423b(0x16d),_0x124513),_0x553b1c[_0x4c423b(0x17e)](_0x4c423b(0x168),_0x124513);});}}
23
+ function _0x7b6a(){const _0x5e104d=['1153732miBvXq','model','getSelectedElement','refresh','683910pySqvo','element','change','2cCdQQz','setAttributes','sizes','667041GDHqTV','6osaPQm','1087736ChkbdZ','execute','removeAttribute','editor','isEnabled','786580AciNhW','imageBlock','document','2791817JObXNh','selection','27ImRVQm','imageInline','srcset','254706RYpvDA'];_0x7b6a=function(){return _0x5e104d;};return _0x7b6a();}const _0x1eba96=_0x393f;(function(_0xb382f5,_0x192c87){const _0x3ea76f=_0x393f,_0x18e542=_0xb382f5();while(!![]){try{const _0x553ad5=parseInt(_0x3ea76f(0xa3))/0x1+-parseInt(_0x3ea76f(0xab))/0x2*(parseInt(_0x3ea76f(0xae))/0x3)+parseInt(_0x3ea76f(0xa4))/0x4+-parseInt(_0x3ea76f(0xb5))/0x5+parseInt(_0x3ea76f(0xaf))/0x6*(parseInt(_0x3ea76f(0xb8))/0x7)+-parseInt(_0x3ea76f(0xb0))/0x8*(parseInt(_0x3ea76f(0xba))/0x9)+parseInt(_0x3ea76f(0xa8))/0xa;if(_0x553ad5===_0x192c87)break;else _0x18e542['push'](_0x18e542['shift']());}catch(_0x53a6bc){_0x18e542['push'](_0x18e542['shift']());}}}(_0x7b6a,0x3664d));import{Command as _0xb66ee8}from'ckeditor5/src/core.js';function _0x393f(_0x4d0d49,_0x3feaaa){const _0x7b6a39=_0x7b6a();return _0x393f=function(_0x393f76,_0x2fde8b){_0x393f76=_0x393f76-0xa2;let _0x4ffd80=_0x7b6a39[_0x393f76];return _0x4ffd80;},_0x393f(_0x4d0d49,_0x3feaaa);}export default class O extends _0xb66ee8{[_0x1eba96(0xa7)](){const _0x2284f3=_0x1eba96,_0x3dfaa8=this[_0x2284f3(0xb3)][_0x2284f3(0xa5)][_0x2284f3(0xb7)][_0x2284f3(0xb9)][_0x2284f3(0xa6)]();this[_0x2284f3(0xb4)]=Boolean(_0x3dfaa8&&(_0x3dfaa8['is'](_0x2284f3(0xa9),_0x2284f3(0xb6))||_0x3dfaa8['is'](_0x2284f3(0xa9),_0x2284f3(0xbb))));}[_0x1eba96(0xb1)](_0xda7a79){const _0x520b93=_0x1eba96,_0x1195a8=this[_0x520b93(0xb3)][_0x520b93(0xa5)][_0x520b93(0xb7)][_0x520b93(0xb9)][_0x520b93(0xa6)]();this[_0x520b93(0xb3)][_0x520b93(0xa5)][_0x520b93(0xaa)](_0x30cd26=>{const _0x123b27=_0x520b93;_0x30cd26[_0x123b27(0xac)](_0xda7a79,_0x1195a8),_0x30cd26[_0x123b27(0xb2)](_0x123b27(0xa2),_0x1195a8),_0x30cd26[_0x123b27(0xb2)](_0x123b27(0xad),_0x1195a8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3039(){var _0x1e3e96=['isPremiumPlugin','2974IeYJSz','pluginName','21846EjQBKb','3017TxlLtG','6848704XFBVTr','isOfficialPlugin','167965TIIgSF','1046116CZBEgu','requires','2442xCEKvZ','5473416RksPPE','UploadcareImageEdit','14232159gTeoqw'];_0x3039=function(){return _0x1e3e96;};return _0x3039();}var _0x30014b=_0x53df;(function(_0x4b3d25,_0x253246){var _0x2cd4e0=_0x53df,_0x47f791=_0x4b3d25();while(!![]){try{var _0x32d430=parseInt(_0x2cd4e0(0x88))/0x1+-parseInt(_0x2cd4e0(0x8f))/0x2*(parseInt(_0x2cd4e0(0x8a))/0x3)+parseInt(_0x2cd4e0(0x85))/0x4+parseInt(_0x2cd4e0(0x87))/0x5+-parseInt(_0x2cd4e0(0x83))/0x6*(-parseInt(_0x2cd4e0(0x84))/0x7)+-parseInt(_0x2cd4e0(0x8b))/0x8+-parseInt(_0x2cd4e0(0x8d))/0x9;if(_0x32d430===_0x253246)break;else _0x47f791['push'](_0x47f791['shift']());}catch(_0xe209ea){_0x47f791['push'](_0x47f791['shift']());}}}(_0x3039,0xd81da));import{Plugin as _0x339e9d}from'ckeditor5/src/core.js';function _0x53df(_0x4516a3,_0x103dc3){var _0x30395d=_0x3039();return _0x53df=function(_0x53df5f,_0x138a98){_0x53df5f=_0x53df5f-0x82;var _0x54472b=_0x30395d[_0x53df5f];return _0x54472b;},_0x53df(_0x4516a3,_0x103dc3);}import _0x5b4b41 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x51dccd from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x339e9d{static get[_0x30014b(0x82)](){var _0x57a129=_0x30014b;return _0x57a129(0x8c);}static get[_0x30014b(0x89)](){return[_0x5b4b41,_0x51dccd];}static get[_0x30014b(0x86)](){return!0x0;}static get[_0x30014b(0x8e)](){return!0x0;}}
23
+ var _0x11211a=_0x4f6b;(function(_0x4d7c86,_0x43a6cf){var _0x5f289d=_0x4f6b,_0x4bb3f3=_0x4d7c86();while(!![]){try{var _0x3e658d=-parseInt(_0x5f289d(0x7f))/0x1+parseInt(_0x5f289d(0x87))/0x2+parseInt(_0x5f289d(0x82))/0x3*(-parseInt(_0x5f289d(0x88))/0x4)+-parseInt(_0x5f289d(0x81))/0x5*(-parseInt(_0x5f289d(0x85))/0x6)+parseInt(_0x5f289d(0x8b))/0x7+parseInt(_0x5f289d(0x80))/0x8+parseInt(_0x5f289d(0x8c))/0x9*(parseInt(_0x5f289d(0x7e))/0xa);if(_0x3e658d===_0x43a6cf)break;else _0x4bb3f3['push'](_0x4bb3f3['shift']());}catch(_0x3a1634){_0x4bb3f3['push'](_0x4bb3f3['shift']());}}}(_0x113e,0x44db5));import{Plugin as _0x21e2ae}from'ckeditor5/src/core.js';import _0x510891 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x4f6b(_0x2a0b31,_0x2acc90){var _0x113e26=_0x113e();return _0x4f6b=function(_0x4f6b64,_0x5ae94f){_0x4f6b64=_0x4f6b64-0x7e;var _0x394cd0=_0x113e26[_0x4f6b64];return _0x394cd0;},_0x4f6b(_0x2a0b31,_0x2acc90);}import _0x32422f from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x113e(){var _0xe77e86=['isOfficialPlugin','1507485XTeDLE','9zjoglQ','1205180daVtPo','451081qvUAcv','361752WQCWKd','275warUBs','9NMZoRO','requires','UploadcareImageEdit','29658coNMAZ','isPremiumPlugin','651440BBLxZa','327412ipYmcD','pluginName'];_0x113e=function(){return _0xe77e86;};return _0x113e();}export default class P extends _0x21e2ae{static get[_0x11211a(0x89)](){var _0x28184b=_0x11211a;return _0x28184b(0x84);}static get[_0x11211a(0x83)](){return[_0x510891,_0x32422f];}static get[_0x11211a(0x8a)](){return!0x0;}static get[_0x11211a(0x86)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4db9ca=_0x5dd2;(function(_0x1903c4,_0x4d5fd6){const _0x555a95=_0x5dd2,_0x2c0f41=_0x1903c4();while(!![]){try{const _0x3b9d45=-parseInt(_0x555a95(0xf9))/0x1*(parseInt(_0x555a95(0x12b))/0x2)+-parseInt(_0x555a95(0x117))/0x3+-parseInt(_0x555a95(0xf0))/0x4*(-parseInt(_0x555a95(0x119))/0x5)+parseInt(_0x555a95(0xfe))/0x6+parseInt(_0x555a95(0x12a))/0x7*(-parseInt(_0x555a95(0xf5))/0x8)+-parseInt(_0x555a95(0xe6))/0x9+parseInt(_0x555a95(0xf1))/0xa;if(_0x3b9d45===_0x4d5fd6)break;else _0x2c0f41['push'](_0x2c0f41['shift']());}catch(_0x12feea){_0x2c0f41['push'](_0x2c0f41['shift']());}}}(_0x3a04,0xbdfbf));import{Plugin as _0x48817d}from'ckeditor5/src/core.js';import{IconDropbox as _0x3d8a4e,IconFacebook as _0x3002c9,IconGoogleDrive as _0xc0111b,IconGooglePhotos as _0x215fdf,IconUploadcareImageUpload as _0x9314f,IconUploadcareLink as _0x34638d,IconOneDrive as _0x1a98e2}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b1f99,MenuBarMenuListItemButtonView as _0x24cceb}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x465936}from'./uploadcareconfig.js';import{getTranslation as _0x5870ea}from'./utils/common-translations.js';function _0x3a04(){const _0x65a63b=['uploadcareLicenseKeyUsageLimit','map','_getIntegrationKey','_createMenuBarButtons','init','uploadcareLicenseKeyEvaluationLimit','domainLimit','icon','plugins','execute','GDrive','url','isImageSelected','bind','afterInit','shortText','uploadcareLicenseKeyDomainLimit','registerIntegration','pluginName','expired','3210720daRcNB','uploadcare.uploader.sourceList','530245nLqpUW','featureNotAllowed','_showLicenseError','withText','editor','isOfficialPlugin','_normalizeConfigSourceList','Dropbox','URL','Local','_createToolbarButton','OneDrive','uploadcareLicenseKeyNotAllowed','GPhotos','uploadcareLicenseKeyTrialLimit','has','UploadcareUI','1414EYqkJY','25782jRiPoY','commands','Facebook','_createDropdownButtons','ImageInsertUI','usageLimit','_createButton','push','isEnabled','type','invalid','config','734688jKFCfV','isPremiumPlugin','trialLimit','destroy','text','uploadcareLicenseKeyExpired','tooltip','uploadcareLicenseKeyValid','entries','assetManager','8DxJSmW','27084880yqwbzL','label','licenseKey','_licenseKeyCheckInterval','47464YKtvin','locale','reduce','Uploadcare','15dfUtTm','Replace','uploadcareLicenseKeyInvalid','evaluationLimit','upload','2407752YcTEHo','get','forEach','uploadcare','Insert'];_0x3a04=function(){return _0x65a63b;};return _0x3a04();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5dd2(_0x1deed8,_0x1eaa3d){const _0x3a04b7=_0x3a04();return _0x5dd2=function(_0x5dd2ed,_0x55c3c4){_0x5dd2ed=_0x5dd2ed-0xde;let _0x47493a=_0x3a04b7[_0x5dd2ed];return _0x47493a;},_0x5dd2(_0x1deed8,_0x1eaa3d);}import'../theme/uploadcareimageedit.css';export default class e extends _0x48817d{[_0x4db9ca(0xf3)];[_0x4db9ca(0xf4)];static get[_0x4db9ca(0x115)](){const _0x464393=_0x4db9ca;return _0x464393(0x129);}static get[_0x4db9ca(0x11e)](){return!0x0;}static get[_0x4db9ca(0xe7)](){return!0x0;}[_0x4db9ca(0x107)](){const _0x531c4a=_0x4db9ca;this[_0x531c4a(0xf3)]=this[_0x531c4a(0x11d)][_0x531c4a(0xe5)][_0x531c4a(0xff)](_0x531c4a(0xf3));const _0x51d72e=this[_0x531c4a(0x11d)];this[_0x531c4a(0xf4)]=setInterval(()=>{const _0x56dc67=_0x531c4a;let _0x518c31;for(const _0x44782d in _0x51d72e){const _0x16152b=_0x44782d,_0x1b570d=_0x51d72e[_0x16152b];if(_0x56dc67(0xed)==_0x1b570d||_0x56dc67(0xfb)==_0x1b570d||_0x56dc67(0xeb)==_0x1b570d||_0x56dc67(0x113)==_0x1b570d||_0x56dc67(0x125)==_0x1b570d||_0x56dc67(0x108)==_0x1b570d||_0x56dc67(0x127)==_0x1b570d||_0x56dc67(0x103)==_0x1b570d){delete _0x51d72e[_0x16152b],_0x518c31=_0x1b570d,clearInterval(this[_0x56dc67(0xf4)]),this[_0x56dc67(0xf4)]=void 0x0;break;}}_0x56dc67(0xfb)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0xe4)),_0x56dc67(0xeb)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0x116)),_0x56dc67(0x113)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0x109)),_0x56dc67(0x125)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0x11a),_0x56dc67(0xf8)),_0x56dc67(0x108)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0xfc)),_0x56dc67(0x127)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0xe8)),_0x56dc67(0x103)==_0x518c31&&_0x51d72e[_0x56dc67(0x11b)](_0x56dc67(0xdf));},0x3e8);}[_0x4db9ca(0x111)](){const _0x421c1c=_0x4db9ca,{editor:_0x4dd7b8}=this,_0x26e1d2=_0x4dd7b8[_0x421c1c(0x12c)][_0x421c1c(0xff)](_0x421c1c(0x101));if(!_0x26e1d2)return;const _0x420aa1=this[_0x421c1c(0x11f)](_0x4dd7b8[_0x421c1c(0xe5)][_0x421c1c(0xff)](_0x421c1c(0x118)))[_0x421c1c(0xf7)]((_0xe53734,_0x807391)=>{const _0x306988=_0x421c1c,_0x2f3879=this[_0x306988(0x105)](_0x807391[_0x306988(0xe3)]);return _0xe53734[_0x2f3879]||(_0xe53734[_0x2f3879]=[]),_0xe53734[_0x2f3879][_0x306988(0xe1)](_0x807391),_0xe53734;},{});_0x4dd7b8[_0x421c1c(0x10b)][_0x421c1c(0x128)](_0x421c1c(0xde))&&_0x4dd7b8[_0x421c1c(0x12c)][_0x421c1c(0xff)](_0x421c1c(0x101))&&Object[_0x421c1c(0xee)](_0x420aa1)[_0x421c1c(0x100)](([_0x5e86c9,_0x3d73eb])=>{const _0xb86968=_0x421c1c;_0x4dd7b8[_0xb86968(0x10b)][_0xb86968(0xff)](_0xb86968(0xde))[_0xb86968(0x114)]({'name':_0x5e86c9,'observable':()=>_0x26e1d2,'buttonViewCreator':()=>this[_0xb86968(0x123)](_0x3d73eb),'formViewCreator':()=>this[_0xb86968(0x12e)](_0x3d73eb),'menuBarButtonViewCreator':()=>this[_0xb86968(0x106)](_0x3d73eb),'override':_0xb86968(0xef)!==_0x5e86c9});});}[_0x4db9ca(0xe9)](){const _0x21332b=_0x4db9ca;super[_0x21332b(0xe9)](),this[_0x21332b(0xf4)]&&clearInterval(this[_0x21332b(0xf4)]);}[_0x4db9ca(0x11f)](_0x5046cc){const _0x5322af=_0x4db9ca,{locale:_0x3a0711}=this[_0x5322af(0x11d)];return _0x5046cc[_0x5322af(0x104)](_0x30ea2a=>{const _0xc70f40=_0x5322af,_0x98fbe3=_0x5870ea(_0x3a0711,_0x30ea2a,_0xc70f40(0x102));switch(_0x30ea2a){case _0x465936[_0xc70f40(0x122)]:return{'icon':_0x9314f,'type':_0x465936[_0xc70f40(0x122)],..._0x98fbe3};case _0x465936[_0xc70f40(0x121)]:return{'icon':_0x34638d,'type':_0x465936[_0xc70f40(0x121)],..._0x98fbe3};case _0x465936[_0xc70f40(0x120)]:return{'icon':_0x3d8a4e,'type':_0x465936[_0xc70f40(0x120)],..._0x98fbe3};case _0x465936[_0xc70f40(0x12d)]:return{'icon':_0x3002c9,'type':_0x465936[_0xc70f40(0x12d)],..._0x98fbe3};case _0x465936[_0xc70f40(0x10d)]:return{'icon':_0xc0111b,'type':_0x465936[_0xc70f40(0x10d)],..._0x98fbe3};case _0x465936[_0xc70f40(0x126)]:return{'icon':_0x215fdf,'type':_0x465936[_0xc70f40(0x126)],..._0x98fbe3};case _0x465936[_0xc70f40(0x124)]:return{'icon':_0x1a98e2,'type':_0x465936[_0xc70f40(0x124)],..._0x98fbe3};}});}[_0x4db9ca(0x105)](_0xac137){const _0xa15eef=_0x4db9ca;switch(_0xac137){case _0x465936[_0xa15eef(0x122)]:return _0xa15eef(0xfd);case _0x465936[_0xa15eef(0x121)]:return _0xa15eef(0x10e);default:return _0xa15eef(0xef);}}[_0x4db9ca(0xe0)](_0x4fb73a,_0x49156c){const _0x14e303=_0x4db9ca,_0x2b6e0e=this[_0x14e303(0x11d)],_0x1b7960=new _0x4fb73a(_0x2b6e0e[_0x14e303(0xf6)]),_0x2ad52e=_0x2b6e0e[_0x14e303(0x12c)][_0x14e303(0xff)](_0x14e303(0x101));return _0x1b7960[_0x14e303(0x110)](_0x14e303(0xe2))['to'](_0x2ad52e),_0x1b7960['on'](_0x14e303(0x10c),()=>{const _0x3e32ec=_0x14e303;_0x2ad52e[_0x3e32ec(0x10c)](_0x49156c);}),_0x1b7960;}[_0x4db9ca(0x123)](_0x45c937){const _0x315c82=_0x4db9ca,{locale:_0x25865a}=this[_0x315c82(0x11d)],_0x1856f3=this[_0x315c82(0x11d)][_0x315c82(0x10b)][_0x315c82(0xff)](_0x315c82(0xde)),_0x36a72a=_0x45c937[0x0],_0x549024=this[_0x315c82(0xe0)](_0x4b1f99,_0x36a72a[_0x315c82(0xe3)]);return _0x549024[_0x315c82(0x10a)]=_0x36a72a[_0x315c82(0x10a)],_0x549024[_0x315c82(0x110)](_0x315c82(0xf2))['to'](_0x1856f3,_0x315c82(0x10f),_0x400f52=>_0x5870ea(_0x25865a,_0x36a72a[_0x315c82(0xe3)],_0x400f52?_0x315c82(0xfa):_0x315c82(0x102))[_0x315c82(0xea)]),_0x549024[_0x315c82(0xec)]=!0x0,_0x549024;}[_0x4db9ca(0x12e)](_0x52f4f6){const _0x49a34b=_0x4db9ca,{locale:_0x3dff5e}=this[_0x49a34b(0x11d)],_0x56a481=this[_0x49a34b(0x11d)][_0x49a34b(0x10b)][_0x49a34b(0xff)](_0x49a34b(0xde));return _0x52f4f6[_0x49a34b(0x104)](_0xd5c32d=>{const _0x2782db=_0x49a34b,_0x17557b=this[_0x2782db(0xe0)](_0x4b1f99,_0xd5c32d[_0x2782db(0xe3)]);return _0x17557b[_0x2782db(0x11c)]=!0x0,_0x17557b[_0x2782db(0x10a)]=_0xd5c32d[_0x2782db(0x10a)],_0x17557b[_0x2782db(0x110)](_0x2782db(0xf2))['to'](_0x56a481,_0x2782db(0x10f),_0x32c4e6=>_0x5870ea(_0x3dff5e,_0xd5c32d[_0x2782db(0xe3)],_0x32c4e6?_0x2782db(0xfa):_0x2782db(0x102))[_0x2782db(0xea)]),_0x17557b;});}[_0x4db9ca(0x106)](_0x2b6d70){const _0x54171c=_0x4db9ca;return _0x2b6d70[_0x54171c(0x104)](_0x501900=>{const _0x5d9ba9=_0x54171c,_0x14a48f=this[_0x5d9ba9(0xe0)](_0x24cceb,_0x501900[_0x5d9ba9(0xe3)]);return _0x14a48f[_0x5d9ba9(0x10a)]=_0x501900[_0x5d9ba9(0x10a)],_0x14a48f[_0x5d9ba9(0xf2)]=_0x501900[_0x5d9ba9(0x112)],_0x14a48f;});}}
23
+ const _0x569e4a=_0x241a;(function(_0x44be98,_0x199481){const _0x2cd5ac=_0x241a,_0x13cb2b=_0x44be98();while(!![]){try{const _0x3b325a=-parseInt(_0x2cd5ac(0x202))/0x1+-parseInt(_0x2cd5ac(0x1e5))/0x2*(-parseInt(_0x2cd5ac(0x1f8))/0x3)+parseInt(_0x2cd5ac(0x20e))/0x4+-parseInt(_0x2cd5ac(0x1f5))/0x5*(parseInt(_0x2cd5ac(0x1fe))/0x6)+parseInt(_0x2cd5ac(0x1d9))/0x7+parseInt(_0x2cd5ac(0x1f1))/0x8+-parseInt(_0x2cd5ac(0x20f))/0x9*(-parseInt(_0x2cd5ac(0x1f4))/0xa);if(_0x3b325a===_0x199481)break;else _0x13cb2b['push'](_0x13cb2b['shift']());}catch(_0x517c32){_0x13cb2b['push'](_0x13cb2b['shift']());}}}(_0x1753,0xc8e0e));import{Plugin as _0x1a7c94}from'ckeditor5/src/core.js';function _0x241a(_0x22101e,_0x306fe5){const _0x17539c=_0x1753();return _0x241a=function(_0x241a5c,_0xe0d00e){_0x241a5c=_0x241a5c-0x1c7;let _0x3d78cd=_0x17539c[_0x241a5c];return _0x3d78cd;},_0x241a(_0x22101e,_0x306fe5);}import{IconDropbox as _0x2ffccb,IconFacebook as _0x5745ad,IconGoogleDrive as _0x300883,IconGooglePhotos as _0x4d3fab,IconUploadcareImageUpload as _0x1aef96,IconUploadcareLink as _0x14d5fa,IconOneDrive as _0x5d17a4}from'ckeditor5/src/icons.js';import{ButtonView as _0x132f60,MenuBarMenuListItemButtonView as _0x239a51}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd0f326}from'./uploadcareconfig.js';import{getTranslation as _0x489ea5}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x1753(){const _0x17f51e=['4lgNiRi','GPhotos','Local','shortText','label','invalid','map','uploadcare','uploadcareLicenseKeyExpired','locale','assetManager','GDrive','6161296pqUCIE','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','10CkSZNQ','8088190dxtqsi','domainLimit','get','279411QxapYL','has','Replace','_createButton','entries','isOfficialPlugin','6yCokXP','_createDropdownButtons','Insert','evaluationLimit','1078976xbHMwu','init','config','afterInit','expired','_licenseKeyCheckInterval','forEach','isEnabled','withText','push','registerIntegration','OneDrive','3472060hFGiVr','12119823ySIpYF','Dropbox','uploadcareLicenseKeyInvalid','editor','trialLimit','icon','reduce','licenseKey','url','tooltip','_showLicenseError','pluginName','isPremiumPlugin','URL','type','_getIntegrationKey','usageLimit','text','Uploadcare','uploadcareLicenseKeyDomainLimit','bind','isImageSelected','destroy','Facebook','uploadcare.uploader.sourceList','featureNotAllowed','uploadcareLicenseKeyEvaluationLimit','2438198bSqVmk','UploadcareUI','commands','uploadcareLicenseKeyValid','execute','_createToolbarButton','_createMenuBarButtons','uploadcareLicenseKeyTrialLimit','ImageInsertUI','uploadcareLicenseKeyUsageLimit','upload','plugins'];_0x1753=function(){return _0x17f51e;};return _0x1753();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1a7c94{[_0x569e4a(0x216)];[_0x569e4a(0x207)];static get[_0x569e4a(0x1c9)](){const _0x33d121=_0x569e4a;return _0x33d121(0x1da);}static get[_0x569e4a(0x1fd)](){return!0x0;}static get[_0x569e4a(0x1ca)](){return!0x0;}[_0x569e4a(0x203)](){const _0x2f65ea=_0x569e4a;this[_0x2f65ea(0x216)]=this[_0x2f65ea(0x212)][_0x2f65ea(0x204)][_0x2f65ea(0x1f7)](_0x2f65ea(0x216));const _0x4e9c1c=this[_0x2f65ea(0x212)];this[_0x2f65ea(0x207)]=setInterval(()=>{const _0x3ad49f=_0x2f65ea;let _0x1adc66;for(const _0x1f9b9a in _0x4e9c1c){const _0xfcbc73=_0x1f9b9a,_0x575fd7=_0x4e9c1c[_0xfcbc73];if(_0x3ad49f(0x1dc)==_0x575fd7||_0x3ad49f(0x211)==_0x575fd7||_0x3ad49f(0x1ed)==_0x575fd7||_0x3ad49f(0x1d1)==_0x575fd7||_0x3ad49f(0x1f3)==_0x575fd7||_0x3ad49f(0x1d8)==_0x575fd7||_0x3ad49f(0x1e0)==_0x575fd7||_0x3ad49f(0x1e2)==_0x575fd7){delete _0x4e9c1c[_0xfcbc73],_0x1adc66=_0x575fd7,clearInterval(this[_0x3ad49f(0x207)]),this[_0x3ad49f(0x207)]=void 0x0;break;}}_0x3ad49f(0x211)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1ea)),_0x3ad49f(0x1ed)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x206)),_0x3ad49f(0x1d1)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1f6)),_0x3ad49f(0x1f3)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1d7),_0x3ad49f(0x1d0)),_0x3ad49f(0x1d8)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x201)),_0x3ad49f(0x1e0)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x213)),_0x3ad49f(0x1e2)==_0x1adc66&&_0x4e9c1c[_0x3ad49f(0x1c8)](_0x3ad49f(0x1ce));},0x3e8);}[_0x569e4a(0x205)](){const _0x5e7301=_0x569e4a,{editor:_0x5dcd07}=this,_0x2298a5=_0x5dcd07[_0x5e7301(0x1db)][_0x5e7301(0x1f7)](_0x5e7301(0x1ec));if(!_0x2298a5)return;const _0x34faaf=this[_0x5e7301(0x1f2)](_0x5dcd07[_0x5e7301(0x204)][_0x5e7301(0x1f7)](_0x5e7301(0x1d6)))[_0x5e7301(0x215)]((_0x1711e0,_0x4b0c26)=>{const _0x3566b6=_0x5e7301,_0x5ceb1b=this[_0x3566b6(0x1cd)](_0x4b0c26[_0x3566b6(0x1cc)]);return _0x1711e0[_0x5ceb1b]||(_0x1711e0[_0x5ceb1b]=[]),_0x1711e0[_0x5ceb1b][_0x3566b6(0x20b)](_0x4b0c26),_0x1711e0;},{});_0x5dcd07[_0x5e7301(0x1e4)][_0x5e7301(0x1f9)](_0x5e7301(0x1e1))&&_0x5dcd07[_0x5e7301(0x1db)][_0x5e7301(0x1f7)](_0x5e7301(0x1ec))&&Object[_0x5e7301(0x1fc)](_0x34faaf)[_0x5e7301(0x208)](([_0x200f33,_0x1ce8fd])=>{const _0x5cc154=_0x5e7301;_0x5dcd07[_0x5cc154(0x1e4)][_0x5cc154(0x1f7)](_0x5cc154(0x1e1))[_0x5cc154(0x20c)]({'name':_0x200f33,'observable':()=>_0x2298a5,'buttonViewCreator':()=>this[_0x5cc154(0x1de)](_0x1ce8fd),'formViewCreator':()=>this[_0x5cc154(0x1ff)](_0x1ce8fd),'menuBarButtonViewCreator':()=>this[_0x5cc154(0x1df)](_0x1ce8fd),'override':_0x5cc154(0x1ef)!==_0x200f33});});}[_0x569e4a(0x1d4)](){const _0x2e1618=_0x569e4a;super[_0x2e1618(0x1d4)](),this[_0x2e1618(0x207)]&&clearInterval(this[_0x2e1618(0x207)]);}[_0x569e4a(0x1f2)](_0x11f656){const _0x3576d2=_0x569e4a,{locale:_0xa3d602}=this[_0x3576d2(0x212)];return _0x11f656[_0x3576d2(0x1eb)](_0x3c817d=>{const _0x1b6a1f=_0x3576d2,_0x23f2dc=_0x489ea5(_0xa3d602,_0x3c817d,_0x1b6a1f(0x200));switch(_0x3c817d){case _0xd0f326[_0x1b6a1f(0x1e7)]:return{'icon':_0x1aef96,'type':_0xd0f326[_0x1b6a1f(0x1e7)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1cb)]:return{'icon':_0x14d5fa,'type':_0xd0f326[_0x1b6a1f(0x1cb)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x210)]:return{'icon':_0x2ffccb,'type':_0xd0f326[_0x1b6a1f(0x210)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1d5)]:return{'icon':_0x5745ad,'type':_0xd0f326[_0x1b6a1f(0x1d5)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1f0)]:return{'icon':_0x300883,'type':_0xd0f326[_0x1b6a1f(0x1f0)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x1e6)]:return{'icon':_0x4d3fab,'type':_0xd0f326[_0x1b6a1f(0x1e6)],..._0x23f2dc};case _0xd0f326[_0x1b6a1f(0x20d)]:return{'icon':_0x5d17a4,'type':_0xd0f326[_0x1b6a1f(0x20d)],..._0x23f2dc};}});}[_0x569e4a(0x1cd)](_0x34e835){const _0x47c400=_0x569e4a;switch(_0x34e835){case _0xd0f326[_0x47c400(0x1e7)]:return _0x47c400(0x1e3);case _0xd0f326[_0x47c400(0x1cb)]:return _0x47c400(0x217);default:return _0x47c400(0x1ef);}}[_0x569e4a(0x1fb)](_0x2dd616,_0x5a319f){const _0x2f9738=_0x569e4a,_0x1fab83=this[_0x2f9738(0x212)],_0x2a7db5=new _0x2dd616(_0x1fab83[_0x2f9738(0x1ee)]),_0xc3f156=_0x1fab83[_0x2f9738(0x1db)][_0x2f9738(0x1f7)](_0x2f9738(0x1ec));return _0x2a7db5[_0x2f9738(0x1d2)](_0x2f9738(0x209))['to'](_0xc3f156),_0x2a7db5['on'](_0x2f9738(0x1dd),()=>{const _0x5542ba=_0x2f9738;_0xc3f156[_0x5542ba(0x1dd)](_0x5a319f);}),_0x2a7db5;}[_0x569e4a(0x1de)](_0x30977f){const _0x9fd0fb=_0x569e4a,{locale:_0x1787b1}=this[_0x9fd0fb(0x212)],_0x3947fe=this[_0x9fd0fb(0x212)][_0x9fd0fb(0x1e4)][_0x9fd0fb(0x1f7)](_0x9fd0fb(0x1e1)),_0x756c02=_0x30977f[0x0],_0x31c203=this[_0x9fd0fb(0x1fb)](_0x132f60,_0x756c02[_0x9fd0fb(0x1cc)]);return _0x31c203[_0x9fd0fb(0x214)]=_0x756c02[_0x9fd0fb(0x214)],_0x31c203[_0x9fd0fb(0x1d2)](_0x9fd0fb(0x1e9))['to'](_0x3947fe,_0x9fd0fb(0x1d3),_0x30354f=>_0x489ea5(_0x1787b1,_0x756c02[_0x9fd0fb(0x1cc)],_0x30354f?_0x9fd0fb(0x1fa):_0x9fd0fb(0x200))[_0x9fd0fb(0x1cf)]),_0x31c203[_0x9fd0fb(0x1c7)]=!0x0,_0x31c203;}[_0x569e4a(0x1ff)](_0x3b6bd9){const _0xa03baa=_0x569e4a,{locale:_0x21e894}=this[_0xa03baa(0x212)],_0x977b02=this[_0xa03baa(0x212)][_0xa03baa(0x1e4)][_0xa03baa(0x1f7)](_0xa03baa(0x1e1));return _0x3b6bd9[_0xa03baa(0x1eb)](_0xaa071b=>{const _0xd1a8b1=_0xa03baa,_0x4a0b5e=this[_0xd1a8b1(0x1fb)](_0x132f60,_0xaa071b[_0xd1a8b1(0x1cc)]);return _0x4a0b5e[_0xd1a8b1(0x20a)]=!0x0,_0x4a0b5e[_0xd1a8b1(0x214)]=_0xaa071b[_0xd1a8b1(0x214)],_0x4a0b5e[_0xd1a8b1(0x1d2)](_0xd1a8b1(0x1e9))['to'](_0x977b02,_0xd1a8b1(0x1d3),_0x1b845e=>_0x489ea5(_0x21e894,_0xaa071b[_0xd1a8b1(0x1cc)],_0x1b845e?_0xd1a8b1(0x1fa):_0xd1a8b1(0x200))[_0xd1a8b1(0x1cf)]),_0x4a0b5e;});}[_0x569e4a(0x1df)](_0x165983){const _0x170c8a=_0x569e4a;return _0x165983[_0x170c8a(0x1eb)](_0x22c958=>{const _0x12c4e2=_0x170c8a,_0x4186a5=this[_0x12c4e2(0x1fb)](_0x239a51,_0x22c958[_0x12c4e2(0x1cc)]);return _0x4186a5[_0x12c4e2(0x214)]=_0x22c958[_0x12c4e2(0x214)],_0x4186a5[_0x12c4e2(0x1e9)]=_0x22c958[_0x12c4e2(0x1e8)],_0x4186a5;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x96fd59}from'ckeditor5/src/core.js';import{FileRepository as _0x278cd1}from'ckeditor5/src/upload.js';import _0x9d7b17 from'./uploadcareediting.js';import _0x27d511 from'./utils/uploadutils.js';import{getImageUrls as _0x5af5d4}from'./utils/editingutils.js';export default class p extends _0x96fd59{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x278cd1,_0x9d7b17];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3f0eed=this['editor'];if(!!!_0x3f0eed['config']['get']('uploadcare'))return;_0x3f0eed['plugins']['get'](_0x278cd1)['createUploadAdapter']=_0xc466f5=>new x(_0xc466f5,_0x3f0eed),_0x3f0eed['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3c9581,{imageElement:_0x3017b8,data:_0x20e812})=>{_0x3f0eed['model']['change'](_0x562910=>{_0x562910['setAttribute']('uploadcareImageId',_0x20e812['uploadcareImageId'],_0x3017b8);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4d7955,_0x557990){this['loader']=_0x4d7955,this['editor']=_0x557990,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x233c6b=this['editor']['config']['get']('uploadcare.pubkey'),_0x473d80=await this['loader']['file'];return _0x27d511['upload']({'file':_0x473d80,'publicKey':_0x233c6b,'signal':this['controller']['signal'],'onProgress':_0x28cd7c=>{_0x28cd7c&&_0x28cd7c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x28cd7c['value']);}})['then'](async _0x5604eb=>{const {imageFallbackUrl:_0x38f549,imageSources:_0x513622}=_0x5af5d4(_0x5604eb['cdnUrl'],_0x5604eb['imageInfo']['width']);return{'uploadcareImageId':_0x5604eb['uuid'],'default':_0x38f549,'sources':_0x513622};})['catch'](()=>{const _0x477236=t('Cannot\x20upload\x20file:')+('\x20'+_0x473d80['name']+'.');return Promise['reject'](_0x477236);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x306925}from'ckeditor5/src/core.js';import{FileRepository as _0x39b731}from'ckeditor5/src/upload.js';import _0x352a52 from'./uploadcareediting.js';import _0x56adc0 from'./utils/uploadutils.js';import{getImageUrls as _0x1a43f1}from'./utils/editingutils.js';export default class p extends _0x306925{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x39b731,_0x352a52];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xf4994b=this['editor'];if(!!!_0xf4994b['config']['get']('uploadcare'))return;_0xf4994b['plugins']['get'](_0x39b731)['createUploadAdapter']=_0x5180f9=>new x(_0x5180f9,_0xf4994b),_0xf4994b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5af72c,{imageElement:_0x4d8278,data:_0x2f9b0f})=>{_0xf4994b['model']['change'](_0xc04a09=>{_0xc04a09['setAttribute']('uploadcareImageId',_0x2f9b0f['uploadcareImageId'],_0x4d8278);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4fce28,_0x3101f1){this['loader']=_0x4fce28,this['editor']=_0x3101f1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x14d805=this['editor']['config']['get']('uploadcare.pubkey'),_0x298099=await this['loader']['file'];return _0x56adc0['upload']({'file':_0x298099,'publicKey':_0x14d805,'signal':this['controller']['signal'],'onProgress':_0x4493a6=>{_0x4493a6&&_0x4493a6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4493a6['value']);}})['then'](async _0x3e446e=>{const {imageFallbackUrl:_0x13b56e,imageSources:_0xa8bee7}=_0x1a43f1(_0x3e446e['cdnUrl'],_0x3e446e['imageInfo']['width']);return{'uploadcareImageId':_0x3e446e['uuid'],'default':_0x13b56e,'sources':_0xa8bee7};})['catch'](()=>{const _0x2cbc0b=t('Cannot\x20upload\x20file:')+('\x20'+_0x298099['name']+'.');return Promise['reject'](_0x2cbc0b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1e3557}from'../uploadcareconfig.js';export function getTranslation(_0x17f63c,_0x29b812,_0x33bd07){const t=_0x17f63c['t'],_0x3a4287=_0x17f63c['t'];switch(_0x29b812){case _0x1e3557['Local']:return{'text':_0x3a4287('Insert'===_0x33bd07?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3a4287('From\x20computer')};case _0x1e3557['URL']:return{'text':'Insert'===_0x33bd07?_0x3a4287('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3a4287('Via\x20URL')};case _0x1e3557['Dropbox']:return{'text':t('Insert'===_0x33bd07?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1e3557['Facebook']:return{'text':t('Insert'===_0x33bd07?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1e3557['GDrive']:return{'text':t('Insert'===_0x33bd07?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1e3557['GPhotos']:return{'text':t('Insert'===_0x33bd07?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1e3557['OneDrive']:return{'text':t('Insert'===_0x33bd07?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x29b812;}}
23
+ import{UploadcareSource as _0x447756}from'../uploadcareconfig.js';export function getTranslation(_0x30024c,_0x4ef86e,_0x5d75bf){const t=_0x30024c['t'],_0x4f34df=_0x30024c['t'];switch(_0x4ef86e){case _0x447756['Local']:return{'text':_0x4f34df('Insert'===_0x5d75bf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f34df('From\x20computer')};case _0x447756['URL']:return{'text':'Insert'===_0x5d75bf?_0x4f34df('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f34df('Via\x20URL')};case _0x447756['Dropbox']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x447756['Facebook']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x447756['GDrive']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x447756['GPhotos']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x447756['OneDrive']:return{'text':t('Insert'===_0x5d75bf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4ef86e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1913(){var _0x5201b1=['focusTracker','693432AmNclK','focusCycler','19264122OzAWOL','bindTemplate','2343732ThoMnB','14302ZrVOzW','148SKgSLd','getFocusableElement','div','1397940MnZyrI','7357320btrVRt','true','createCollection','829194bOwweL','7XtFadx','fire','forwardCycle'];_0x1913=function(){return _0x5201b1;};return _0x1913();}var _0x5275d9=_0x1119;(function(_0x2ad3cb,_0x4253cc){var _0x3667b2=_0x1119,_0x421268=_0x2ad3cb();while(!![]){try{var _0x53a7e9=-parseInt(_0x3667b2(0x1b2))/0x1*(-parseInt(_0x3667b2(0x1b1))/0x2)+parseInt(_0x3667b2(0x1b9))/0x3+parseInt(_0x3667b2(0x1b0))/0x4+-parseInt(_0x3667b2(0x1b5))/0x5+parseInt(_0x3667b2(0x1be))/0x6+-parseInt(_0x3667b2(0x1ba))/0x7*(-parseInt(_0x3667b2(0x1b6))/0x8)+-parseInt(_0x3667b2(0x1c0))/0x9;if(_0x53a7e9===_0x4253cc)break;else _0x421268['push'](_0x421268['shift']());}catch(_0x22d49e){_0x421268['push'](_0x421268['shift']());}}}(_0x1913,0x82d3e));import{FocusTracker as _0x16268f}from'ckeditor5/src/utils.js';import{View as _0x430936,FocusCycler as _0x231da2}from'ckeditor5/src/ui.js';function _0x1119(_0x58c47e,_0xba0d96){var _0x1913c3=_0x1913();return _0x1119=function(_0x111944,_0x3932b6){_0x111944=_0x111944-0x1b0;var _0xeccc0a=_0x1913c3[_0x111944];return _0xeccc0a;},_0x1119(_0x58c47e,_0xba0d96);}import'../../theme/uploadcare-form.css';export default class q extends _0x430936{[_0x5275d9(0x1bd)];[_0x5275d9(0x1bf)];constructor(_0x397b18){var _0x1fb0d6=_0x5275d9;super(_0x397b18),this[_0x1fb0d6(0x1bd)]=new _0x16268f(),this[_0x1fb0d6(0x1bf)]=new _0x231da2({'focusables':this[_0x1fb0d6(0x1b8)](),'focusTracker':this[_0x1fb0d6(0x1bd)]});}[_0x5275d9(0x1b3)](){var _0x11d9aa=_0x5275d9;return{'tag':_0x11d9aa(0x1b4),'attributes':{'aria-hidden':_0x11d9aa(0x1b7),'tabindex':'0'},'on':{'focus':this[_0x11d9aa(0x1c1)]['to'](()=>{var _0x492c69=_0x11d9aa;this[_0x492c69(0x1bf)][_0x492c69(0x1bb)](_0x492c69(0x1bc));})}};}}
23
+ var _0x387e21=_0x8636;(function(_0x46e205,_0x546845){var _0x47235f=_0x8636,_0x38ad19=_0x46e205();while(!![]){try{var _0x3c7cc6=-parseInt(_0x47235f(0x1de))/0x1+-parseInt(_0x47235f(0x1d5))/0x2*(-parseInt(_0x47235f(0x1d6))/0x3)+-parseInt(_0x47235f(0x1d9))/0x4+parseInt(_0x47235f(0x1da))/0x5+parseInt(_0x47235f(0x1e4))/0x6+parseInt(_0x47235f(0x1dd))/0x7*(-parseInt(_0x47235f(0x1db))/0x8)+parseInt(_0x47235f(0x1d7))/0x9;if(_0x3c7cc6===_0x546845)break;else _0x38ad19['push'](_0x38ad19['shift']());}catch(_0x4ae998){_0x38ad19['push'](_0x38ad19['shift']());}}}(_0x59d4,0xe69ef));import{FocusTracker as _0x134196}from'ckeditor5/src/utils.js';import{View as _0x4004c4,FocusCycler as _0x1e0f81}from'ckeditor5/src/ui.js';function _0x59d4(){var _0x56496d=['fire','2551318uVGWBw','3bYJPpB','9268056wDfbTB','true','4958076YkHkBv','8457715kEnWND','72312deYliX','focusTracker','938NsAEDh','1540280WZWFLS','forwardCycle','getFocusableElement','focusCycler','bindTemplate','createCollection','5631972gfKhlM','div'];_0x59d4=function(){return _0x56496d;};return _0x59d4();}import'../../theme/uploadcare-form.css';function _0x8636(_0x2cda4b,_0x253f09){var _0x59d4f8=_0x59d4();return _0x8636=function(_0x8636ba,_0x579143){_0x8636ba=_0x8636ba-0x1d4;var _0xa6c450=_0x59d4f8[_0x8636ba];return _0xa6c450;},_0x8636(_0x2cda4b,_0x253f09);}export default class q extends _0x4004c4{[_0x387e21(0x1dc)];[_0x387e21(0x1e1)];constructor(_0x125bbd){var _0x791ae=_0x387e21;super(_0x125bbd),this[_0x791ae(0x1dc)]=new _0x134196(),this[_0x791ae(0x1e1)]=new _0x1e0f81({'focusables':this[_0x791ae(0x1e3)](),'focusTracker':this[_0x791ae(0x1dc)]});}[_0x387e21(0x1e0)](){var _0x56c18e=_0x387e21;return{'tag':_0x56c18e(0x1e5),'attributes':{'aria-hidden':_0x56c18e(0x1d8),'tabindex':'0'},'on':{'focus':this[_0x56c18e(0x1e2)]['to'](()=>{var _0x1c689c=_0x56c18e;this[_0x1c689c(0x1e1)][_0x1c689c(0x1d4)](_0x1c689c(0x1df));})}};}}