@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250323.0 → 0.0.0-nightly-20250326.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
- const _0x3a6a90=_0x9f12;function _0x56bc(){const _0x2d3bec=['view','_initSchema','afterInit','insertImage','extend','execute','138550uAuvnv','attributeToAttribute','uploadcare','1646211hEbAWO','selection','upcast','uploadcareImageId','querySelector','2530BQYkyL','body','data-uc-image-id','715569ZxvlMz','1976536HJOSJT','map','pluginName','appendChild','18algxtQ','listenTo','conversion','_initConfig','removeAttribute','replaceImageSource','isRegistered','elementToAttribute','model','join','isOfficialPlugin','UploadcareEditing','_initConversion','ctxElement','uploadcare.pubkey','_configElement','263193vXocVM','once','uc-upload-ctx-provider','imageInline','3097290InRhaW','_initImageProcessingIndicator','cleanupImage','downcast','_initCtx','render','editor','config','3364QKccxu','configElement','add','getAttribute','get','uc-config','for','\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','requires','input[uploadcare-file-input]','iconHrefResolver','fromCharCode','closeMax','init','getSelectedElement','#uc-icon-arrow-down','href','uploadcareImageReplace','locale','imageBlock','PictureEditing','destroy','contentLanguage','remove','uploadcare.uploader','true','document','_ctxElement','schema','commands','isPremiumPlugin','uploader','editing'];_0x56bc=function(){return _0x2d3bec;};return _0x56bc();}function _0x9f12(_0x5ef53f,_0x43b57d){const _0x56bc10=_0x56bc();return _0x9f12=function(_0x9f12a4,_0x22e033){_0x9f12a4=_0x9f12a4-0x87;let _0x11fb5f=_0x56bc10[_0x9f12a4];return _0x11fb5f;},_0x9f12(_0x5ef53f,_0x43b57d);}(function(_0x29b2d1,_0x128133){const _0x31c61f=_0x9f12,_0x1d7c4d=_0x29b2d1();while(!![]){try{const _0x44e42d=parseInt(_0x31c61f(0xa6))/0x1+-parseInt(_0x31c61f(0xd9))/0x2+parseInt(_0x31c61f(0x91))/0x3+parseInt(_0x31c61f(0xb2))/0x4*(-parseInt(_0x31c61f(0x8e))/0x5)+parseInt(_0x31c61f(0xaa))/0x6+parseInt(_0x31c61f(0x89))/0x7+-parseInt(_0x31c61f(0x92))/0x8*(parseInt(_0x31c61f(0x96))/0x9);if(_0x44e42d===_0x128133)break;else _0x1d7c4d['push'](_0x1d7c4d['shift']());}catch(_0xfc9564){_0x1d7c4d['push'](_0x1d7c4d['shift']());}}}(_0x56bc,0x407d5));import{Plugin as _0xff8a}from'ckeditor5/src/core.js';import{Dialog as _0x1e0da0}from'ckeditor5/src/ui.js';import{createElement as _0x212877,global as _0x568af3,uid as _0x5e27ca}from'ckeditor5/src/utils.js';import _0x45e934 from'./uploadcarecommand.js';import _0x500044 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2d4b84}from'./utils/editingutils.js';export default class i extends _0xff8a{[_0x3a6a90(0xa5)]=null;[_0x3a6a90(0xcd)]=null;static get[_0x3a6a90(0x94)](){const _0x40266c=_0x3a6a90;return _0x40266c(0xa1);}static get[_0x3a6a90(0xba)](){const _0x33fbdd=_0x3a6a90;return[_0x33fbdd(0xc6),_0x500044,_0x1e0da0];}static get[_0x3a6a90(0xa0)](){return!0x0;}static get[_0x3a6a90(0xd0)](){return!0x0;}get[_0x3a6a90(0xb3)](){const _0x5a7695=_0x3a6a90;return this[_0x5a7695(0xa5)];}get[_0x3a6a90(0xa3)](){const _0x2570cf=_0x3a6a90;return this[_0x2570cf(0xcd)];}[_0x3a6a90(0xbf)](){const _0x39bdd2=_0x3a6a90,_0x2bf5cd=this[_0x39bdd2(0xb0)];_0x2bf5cd[_0x39bdd2(0xcf)][_0x39bdd2(0xb4)](_0x39bdd2(0x88),new _0x45e934(_0x2bf5cd));}[_0x3a6a90(0xd5)](){const _0x23a97d=_0x3a6a90;this[_0x23a97d(0xd4)](),this[_0x23a97d(0xa2)](),this[_0x23a97d(0x99)](),this[_0x23a97d(0xae)](),this[_0x23a97d(0xab)](),this[_0x23a97d(0x97)](this[_0x23a97d(0xb0)],_0x23a97d(0xc7),()=>{const _0x555453=_0x23a97d;this[_0x555453(0xa5)]&&(this[_0x555453(0xa5)][_0x555453(0xc9)](),this[_0x555453(0xa5)]=null),this[_0x555453(0xcd)]&&(this[_0x555453(0xcd)][_0x555453(0xc9)](),this[_0x555453(0xcd)]=null);const _0x31582b=_0x568af3[_0x555453(0xcc)][_0x555453(0x8d)](_0x555453(0xbb));_0x31582b&&_0x31582b[_0x555453(0xc9)]();}),async function(_0x582c0a){const _0x241e62=_0x260d55([0x30,0x61,0x36,0x49,0x66,0x56,0x54,0x63,0x68,0x4a,0x71,0x37,0x44,0x50,0x6a,0x4e,0x76,0x79,0x7a,0x46,0x75,0x32,0x39,0x67,0x70,0x38,0x62,0x6d,0x42,0x6b,0x55,0x41,0x53,0x43,0x4c,0x31,0x64,0x69,0x59,0x4d,0x34,0x51,0x35,0x78,0x58,0x65,0x6e,0x77,0x57,0x52,0x4b,0x73,0x33,0x6c,0x6f,0x5a,0x48,0x74,0x4f,0x72,0x47,0x45]),_0x212cb6=0x14f4f6df,_0x4c2e15=0x14f3942f^_0x212cb6,_0x587e0a=window[_0x260d55([0x44,0x61,0x74,0x65])][_0x260d55([0x6e,0x6f,0x77])](),_0x1fdacc=_0x582c0a[_0x260d55([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7aaf41=new window[(_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3e08b=>{_0x1fdacc[_0x260d55([0x6f,0x6e,0x63,0x65])](_0x260d55([0x72,0x65,0x61,0x64,0x79]),_0xf3e08b);}),_0x391861={[_0x260d55([0x6b,0x74,0x79])]:_0x260d55([0x45,0x43]),[_0x260d55([0x75,0x73,0x65])]:_0x260d55([0x73,0x69,0x67]),[_0x260d55([0x63,0x72,0x76])]:_0x260d55([0x50,0x2d,0x32,0x35,0x36]),[_0x260d55([0x78])]:_0x260d55([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]),[_0x260d55([0x79])]:_0x260d55([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]),[_0x260d55([0x61,0x6c,0x67])]:_0x260d55([0x45,0x53,0x32,0x35,0x36])},_0x31f245=_0x1fdacc[_0x260d55([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x260d55([0x67,0x65,0x74])](_0x260d55([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34619f(){let _0x43c43f,_0x1cb2af=null,_0x3f79c3=null;try{if(_0x31f245==_0x260d55([0x47,0x50,0x4c]))return _0x260d55([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43c43f=_0x4dcdd8(),!_0x43c43f)return _0x260d55([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43c43f[_0x260d55([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f79c3=_0x282912(_0x43c43f[_0x260d55([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43c43f[_0x260d55([0x6a,0x74,0x69])])),await _0x554928()?_0x3cd610()?_0x1c43ad()?_0x260d55([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x463ed4()?(_0x43c43f[_0x260d55([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x260d55([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cb2af=_0x9ef9be(_0x260d55([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43c43f[_0x260d55([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x260d55([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cb2af=_0x9ef9be(_0x260d55([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xfc0f09()):_0x260d55([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x260d55([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x260d55([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x376f78){return _0x260d55([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c43ad(){const _0x13159a=[_0x260d55([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x260d55([0x74,0x72,0x69,0x61,0x6c])][_0x260d55([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43c43f[_0x260d55([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x587e0a/0x3e8:0xe10*_0x4c2e15;return _0x43c43f[_0x260d55([0x65,0x78,0x70])]<_0x13159a;}function _0x3cd610(){const _0x2e81ba=_0x43c43f[_0x260d55([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e81ba&&(!!_0x2e81ba[_0x260d55([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260d55([0x2a]))||!!_0x2e81ba[_0x260d55([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260d55([0x55,0x50,0x4c,0x43])));}function _0x463ed4(){const _0x4fe605=_0x9f12,_0x121b64=_0x43c43f[_0x260d55([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x121b64||0x0==_0x121b64[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x132ad6}=new URL(window[_0x260d55([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fe605(0xc2)]);if(_0x121b64[_0x260d55([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x132ad6))return!0x0;const _0x312d44=_0x132ad6[_0x260d55([0x73,0x70,0x6c,0x69,0x74])](_0x260d55([0x2e]));return _0x121b64[_0x260d55([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2326e9=>_0x2326e9[_0x260d55([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x260d55([0x2a])))[_0x260d55([0x6d,0x61,0x70])](_0x471f9c=>_0x471f9c[_0x260d55([0x73,0x70,0x6c,0x69,0x74])](_0x260d55([0x2e])))[_0x260d55([0x73,0x6f,0x6d,0x65])](_0x1069d2=>_0x312d44[_0x260d55([0x65,0x76,0x65,0x72,0x79])]((_0x2ef8b2,_0x630771)=>_0x1069d2[_0x630771]===_0x2ef8b2||_0x1069d2[_0x630771]===_0x260d55([0x2a])));}function _0xfc0f09(){return _0x1cb2af&&_0x3f79c3?new window[(_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x160b31,_0x415943)=>{_0x1cb2af[_0x260d55([0x74,0x68,0x65,0x6e])](_0x160b31,_0x415943),_0x3f79c3[_0x260d55([0x74,0x68,0x65,0x6e])](_0x4fb1b1=>{_0x4fb1b1!=_0x260d55([0x56,0x61,0x6c,0x69,0x64])&&_0x160b31(_0x4fb1b1);},_0x415943);}):_0x1cb2af||_0x3f79c3||_0x260d55([0x56,0x61,0x6c,0x69,0x64]);}}function _0x282912(_0x271338,_0x51cb7b){return new window[(_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb2e8=>{if(_0x226b48())return _0x2bb2e8(_0x260d55([0x56,0x61,0x6c,0x69,0x64]));_0x54d37d(),_0x1fdacc[_0x260d55([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x260d55([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f9091=!0x1;const _0xc8fb75=_0x5e27ca();function _0x261210(_0x2f9fc7){return!!_0x2f9fc7&&(typeof _0x2f9fc7===_0x260d55([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2f9fc7===_0x260d55([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2f9fc7[_0x260d55([0x74,0x68,0x65,0x6e])]===_0x260d55([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2f9fc7[_0x260d55([0x63,0x61,0x74,0x63,0x68])]===_0x260d55([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x328f05(_0x954e40){_0x572b4b(_0x954e40)[_0x260d55([0x74,0x68,0x65,0x6e])](_0x7a137a=>{if(!_0x7a137a||_0x7a137a[_0x260d55([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x260d55([0x6f,0x6b]))return _0x260d55([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5014f4(_0x21dbfa(_0xc8fb75+_0x51cb7b))!=_0x7a137a[_0x260d55([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x260d55([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x260d55([0x56,0x61,0x6c,0x69,0x64]);})[_0x260d55([0x74,0x68,0x65,0x6e])](_0x424ec0=>(_0x439774(),_0x424ec0),()=>{const _0x2c6b16=_0x49af2f();return null==_0x2c6b16?(_0x439774(),_0x260d55([0x56,0x61,0x6c,0x69,0x64])):_0x260d55(_0x587e0a-_0x2c6b16>(0x30f872df^_0x212cb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x260d55([0x74,0x68,0x65,0x6e])](_0x2bb2e8)[_0x260d55([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2bb2e8(_0x260d55([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x455bf1=0x14c2185f^_0x212cb6;function _0x439774(){const _0xa7fd35=_0x260d55([0x6c,0x6c,0x63,0x74,0x2d])+_0x5014f4(_0x21dbfa(_0x271338)),_0x3f76ae=_0x35566f(_0x5014f4(window[_0x260d55([0x4d,0x61,0x74,0x68])][_0x260d55([0x63,0x65,0x69,0x6c])](_0x587e0a/_0x455bf1)));window[_0x260d55([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x260d55([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa7fd35,_0x3f76ae);}function _0x49af2f(){const _0x4c133a=_0x260d55([0x6c,0x6c,0x63,0x74,0x2d])+_0x5014f4(_0x21dbfa(_0x271338)),_0x2ec3c6=window[_0x260d55([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x260d55([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c133a);return _0x2ec3c6?window[_0x260d55([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35566f(_0x2ec3c6),0x10)*_0x455bf1:null;}function _0x572b4b(_0x148992){return new window[(_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e8ba0,_0x32abe3)=>{_0x148992[_0x260d55([0x74,0x68,0x65,0x6e])](_0x5e8ba0,_0x32abe3),window[_0x260d55([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32abe3,0x14f5221f^_0x212cb6);});}}_0x1fdacc[_0x260d55([0x6f,0x6e])](_0x260d55([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x343046,_0x2e077c)=>{if(_0x2e077c[0x0]!=_0x271338)return _0x2bb2e8(_0x260d55([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e077c[0x1]={..._0x2e077c[0x1],[_0x260d55([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc8fb75};},{[_0x260d55([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x260d55([0x68,0x69,0x67,0x68])}),_0x1fdacc[_0x260d55([0x6f,0x6e])](_0x260d55([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41445a=>{_0x261210(_0x41445a[_0x260d55([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f9091=!0x0,_0x328f05(_0x41445a[_0x260d55([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x260d55([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x260d55([0x6c,0x6f,0x77])}),_0x7aaf41[_0x260d55([0x74,0x68,0x65,0x6e])](()=>{_0x4f9091||_0x2bb2e8(_0x260d55([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x226b48(){return _0x1fdacc[_0x260d55([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x260d55([0x76,0x69,0x65,0x77])][_0x260d55([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x260d55([0x61,0x75,0x74,0x6f]);}function _0x54d37d(){_0x1fdacc[_0x260d55([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x260d55([0x76,0x69,0x65,0x77])][_0x260d55([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x260d55([0x61,0x75,0x74,0x6f]);}}function _0x9ef9be(_0x1f6274){const _0x1cc919=[new window[(_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5861a2=>setTimeout(_0x5861a2,0x14fdc813^_0x212cb6)),_0x7aaf41[_0x260d55([0x74,0x68,0x65,0x6e])](()=>new window[(_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1814bc=>{let _0x4ec152=0x0;_0x1fdacc[_0x260d55([0x6d,0x6f,0x64,0x65,0x6c])][_0x260d55([0x6f,0x6e])](_0x260d55([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52d8fd,_0x15a3e6)=>{_0x15a3e6[0x0][_0x260d55([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ec152++,_0x4ec152==(0x14f4f727^_0x212cb6)&&(_0x1814bc(),_0x52d8fd[_0x260d55([0x6f,0x66,0x66])]());});}))];return window[_0x260d55([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x260d55([0x72,0x61,0x63,0x65])](_0x1cc919)[_0x260d55([0x74,0x68,0x65,0x6e])](()=>_0x1f6274);}async function _0x526bd5(){await _0x7aaf41,_0x1fdacc[_0x260d55([0x6d,0x6f,0x64,0x65,0x6c])][_0x260d55([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20a3cf,_0x1fdacc[_0x260d55([0x6d,0x6f,0x64,0x65,0x6c])][_0x260d55([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20a3cf,_0x1fdacc[_0x260d55([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x260d55([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3967a6(_0x54b665){const _0xa1e9ef=_0xea18c9();_0x1fdacc[_0xa1e9ef]=_0x260d55([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54b665,_0x54b665!=_0x260d55([0x56,0x61,0x6c,0x69,0x64])&&_0x526bd5();}function _0xea18c9(){const _0x1a5cc9=window[_0x260d55([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x260d55([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x260d55([0x6e,0x6f,0x77])]())[_0x260d55([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x260d55([0x2e]),'');let _0x1f9604=_0x260d55([0x61]);for(let _0xc12a78=0x0;_0xc12a78<_0x1a5cc9[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc12a78+=0x2){let _0x2d669c=window[_0x260d55([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5cc9[_0x260d55([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc12a78,_0xc12a78+0x2));_0x2d669c>=_0x241e62[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d669c-=_0x241e62[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f9604+=_0x241e62[_0x2d669c];}return _0x1f9604;}function _0x4dcdd8(){const _0x114ef7=_0x31f245[_0x260d55([0x73,0x70,0x6c,0x69,0x74])](_0x260d55([0x2e]));if(0x3!=_0x114ef7[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f4de1(_0x114ef7[0x1]);function _0x4f4de1(_0x3cfe13){const _0xb7b075=_0x1e5ef1(_0x3cfe13);return _0xb7b075&&_0x539733()?_0xb7b075:null;function _0x539733(){const _0x297a69=_0xb7b075[_0x260d55([0x6a,0x74,0x69])],_0x4f46a9=window[_0x260d55([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x297a69[_0x260d55([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297a69[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12fc2f={..._0xb7b075,[_0x260d55([0x6a,0x74,0x69])]:_0x297a69[_0x260d55([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x297a69[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12fc2f[_0x260d55([0x76,0x63])],_0x21dbfa(_0x12fc2f)==_0x4f46a9;}}}async function _0x554928(){let _0x3b8279=!0x0;try{const _0x5d2483=_0x31f245[_0x260d55([0x73,0x70,0x6c,0x69,0x74])](_0x260d55([0x2e])),[_0x38e69e,_0x5be950,_0x8038f6]=_0x5d2483;return _0x5b38e3(_0x38e69e),await _0x11c8e3(_0x38e69e,_0x5be950,_0x8038f6),_0x3b8279;}catch(_0x432a60){return!0x1;}function _0x5b38e3(_0x1ecca2){const _0x6b5d08=_0x1e5ef1(_0x1ecca2);_0x6b5d08&&_0x6b5d08[_0x260d55([0x61,0x6c,0x67])]==_0x260d55([0x45,0x53,0x32,0x35,0x36])||(_0x3b8279=!0x1);}async function _0x11c8e3(_0x41648c,_0x4afb39,_0x4c2d8a){const _0x7d9276=window[_0x260d55([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x260d55([0x66,0x72,0x6f,0x6d])](_0x5e4314(_0x4c2d8a),_0x381d34=>_0x381d34[_0x260d55([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x500485=new window[(_0x260d55([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x260d55([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41648c+_0x260d55([0x2e])+_0x4afb39),_0x2ae14f=window[_0x260d55([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x260d55([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ae14f)return;const _0x12e5c4=await _0x2ae14f[_0x260d55([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x260d55([0x6a,0x77,0x6b]),_0x391861,{[_0x260d55([0x6e,0x61,0x6d,0x65])]:_0x260d55([0x45,0x43,0x44,0x53,0x41]),[_0x260d55([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x260d55([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x260d55([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ae14f[_0x260d55([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x260d55([0x6e,0x61,0x6d,0x65])]:_0x260d55([0x45,0x43,0x44,0x53,0x41]),[_0x260d55([0x68,0x61,0x73,0x68])]:{[_0x260d55([0x6e,0x61,0x6d,0x65])]:_0x260d55([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12e5c4,_0x7d9276,_0x500485)||(_0x3b8279=!0x1);}}function _0x1e5ef1(_0xdafdff){return _0xdafdff[_0x260d55([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x260d55([0x65,0x79]))?JSON[_0x260d55([0x70,0x61,0x72,0x73,0x65])](_0x5e4314(_0xdafdff)):null;}function _0x5e4314(_0x4b2d2c){return window[_0x260d55([0x61,0x74,0x6f,0x62])](_0x4b2d2c[_0x260d55([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x260d55([0x2b]))[_0x260d55([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x260d55([0x2f])));}function _0x21dbfa(_0x2d9c50){let _0x462467=0x1505;function _0x48ca14(_0x4cbb19){for(let _0x2c856e=0x0;_0x2c856e<_0x4cbb19[_0x260d55([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c856e++){const _0xc80629=_0x4cbb19[_0x260d55([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c856e);_0x462467=(_0x462467<<0x5)+_0x462467+_0xc80629,_0x462467&=_0x462467;}}function _0x555a7a(_0x471e93){Array[_0x260d55([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x471e93)?_0x471e93[_0x260d55([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x555a7a):_0x471e93&&typeof _0x471e93==_0x260d55([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x260d55([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x471e93)[_0x260d55([0x73,0x6f,0x72,0x74])]()[_0x260d55([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1750f3,_0x38059e])=>{_0x48ca14(_0x1750f3),_0x555a7a(_0x38059e);}):_0x48ca14(window[_0x260d55([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x471e93));}return _0x555a7a(_0x2d9c50),_0x462467>>>0x0;}function _0x5014f4(_0x48e7d3){return _0x48e7d3[_0x260d55([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x260d55([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x260d55([0x30]));}function _0x35566f(_0x242d83){return _0x242d83[_0x260d55([0x73,0x70,0x6c,0x69,0x74])]('')[_0x260d55([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x260d55([0x6a,0x6f,0x69,0x6e])]('');}function _0x20a3cf(){}function _0x260d55(_0x87d3f){const _0x9323f3=_0x9f12;return _0x87d3f[_0x9323f3(0x93)](_0x4bc0e5=>String[_0x9323f3(0xbd)](_0x4bc0e5))[_0x9323f3(0x9f)]('');}_0x3967a6(await _0x34619f());}(this);}[_0x3a6a90(0xd4)](){const _0x3916e1=_0x3a6a90,_0x527b3a=this[_0x3916e1(0xb0)][_0x3916e1(0x9e)][_0x3916e1(0xce)];_0x527b3a[_0x3916e1(0x9c)](_0x3916e1(0xc5))&&_0x527b3a[_0x3916e1(0xd7)](_0x3916e1(0xc5),{'allowAttributes':[_0x3916e1(0x8c)]}),_0x527b3a[_0x3916e1(0x9c)](_0x3916e1(0xa9))&&_0x527b3a[_0x3916e1(0xd7)](_0x3916e1(0xa9),{'allowAttributes':[_0x3916e1(0x8c)]});}[_0x3a6a90(0xa2)](){const _0x161a40=_0x3a6a90,_0x3529be=this[_0x161a40(0xb0)];_0x3529be[_0x161a40(0x98)][_0x161a40(0xb8)](_0x161a40(0xad))[_0x161a40(0x87)]({'model':_0x161a40(0x8c),'view':_0x161a40(0x90)}),_0x3529be[_0x161a40(0x98)][_0x161a40(0xb8)](_0x161a40(0x8b))[_0x161a40(0x9d)]({'model':{'key':_0x161a40(0x8c),'value':_0x3bf871=>_0x3bf871[_0x161a40(0xb5)](_0x161a40(0x90))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x46aa95=_0x3529be[_0x161a40(0xcf)][_0x161a40(0xb6)](_0x161a40(0x9b));_0x46aa95&&this[_0x161a40(0x97)](_0x46aa95,_0x161a40(0xac),(_0x76c1aa,[_0x36805e,_0x5bdb70])=>{const _0x20cc54=_0x161a40;_0x36805e[_0x20cc54(0x9a)](_0x20cc54(0x8c),_0x5bdb70);});}[_0x3a6a90(0x99)](){const _0x529ead=_0x3a6a90,_0x41c2f4=this[_0x529ead(0xb0)][_0x529ead(0xb1)][_0x529ead(0xb6)](_0x529ead(0xca))||{},_0x3ec589=this[_0x529ead(0xb0)][_0x529ead(0xb1)][_0x529ead(0xb6)](_0x529ead(0xa4))||'';this[_0x529ead(0xa5)]=_0x212877(_0x568af3[_0x529ead(0xcc)],_0x529ead(0xb7),{..._0x41c2f4,'pubkey':_0x3ec589,'ctx-name':_0x529ead(0xd1),'sourceList':'','imgOnly':_0x529ead(0xcb),'removeCopyright':_0x529ead(0xcb),'localeName':this[_0x529ead(0xb0)][_0x529ead(0xc4)][_0x529ead(0xc8)],'externalSourcesEmbedCss':_0x529ead(0xb9)}),this[_0x529ead(0xa5)][_0x529ead(0xbc)]=_0x2a0579=>{const _0x374414=_0x529ead;if(_0x374414(0xbe)==_0x2a0579)return _0x374414(0xc1);},_0x568af3[_0x529ead(0xcc)][_0x529ead(0x8f)][_0x529ead(0x95)](this[_0x529ead(0xa5)]);}[_0x3a6a90(0xae)](){const _0x31d081=_0x3a6a90;this[_0x31d081(0xcd)]=_0x212877(_0x568af3[_0x31d081(0xcc)],_0x31d081(0xa8),{'ctx-name':_0x31d081(0xd1)}),_0x568af3[_0x31d081(0xcc)][_0x31d081(0x8f)][_0x31d081(0x95)](this[_0x31d081(0xcd)]);}[_0x3a6a90(0xab)](){const _0x4f67a8=_0x3a6a90,_0x23694d=this[_0x4f67a8(0xb0)][_0x4f67a8(0xcf)][_0x4f67a8(0xb6)](_0x4f67a8(0xd6));_0x23694d&&this[_0x4f67a8(0x97)](_0x23694d,_0x4f67a8(0xd8),()=>{const _0x47ce37=_0x4f67a8,_0x17415d=this[_0x47ce37(0xb0)][_0x47ce37(0x9e)][_0x47ce37(0xcc)][_0x47ce37(0x8a)][_0x47ce37(0xc0)]();_0x17415d&&_0x17415d[_0x47ce37(0xb5)](_0x47ce37(0x8c))&&this[_0x47ce37(0xb0)][_0x47ce37(0xd2)][_0x47ce37(0xd3)][_0x47ce37(0xa7)](_0x47ce37(0xaf),()=>{const _0x16ecea=_0x47ce37;_0x2d4b84(this[_0x16ecea(0xb0)],_0x17415d);});});const _0xafff2c=this[_0x4f67a8(0xb0)][_0x4f67a8(0xcf)][_0x4f67a8(0xb6)](_0x4f67a8(0xc3));_0xafff2c&&this[_0x4f67a8(0x97)](_0xafff2c,_0x4f67a8(0xd8),()=>{const _0x42cc61=_0x4f67a8,_0x4d1635=this[_0x42cc61(0xb0)][_0x42cc61(0x9e)][_0x42cc61(0xcc)][_0x42cc61(0x8a)][_0x42cc61(0xc0)]();_0x4d1635&&_0x4d1635[_0x42cc61(0xb5)](_0x42cc61(0x8c))&&this[_0x42cc61(0xb0)][_0x42cc61(0xd2)][_0x42cc61(0xd3)][_0x42cc61(0xa7)](_0x42cc61(0xaf),()=>{const _0x1d2d7c=_0x42cc61;_0x2d4b84(this[_0x1d2d7c(0xb0)],_0x4d1635);});});}}
23
+ function _0x32cf(){const _0x226cd2=['uploader','model','1156593RkdHnI','editor','selection','editing','8826657zdUQjM','\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','listenTo','configElement','uploadcare','#uc-icon-arrow-down','execute','UploadcareEditing','document','uc-upload-ctx-provider','uploadcare.pubkey','contentLanguage','1412630NPWhyK','closeMax','imageBlock','509394rPyBig','iconHrefResolver','getSelectedElement','isOfficialPlugin','upcast','href','ctxElement','102414parqyg','_initCtx','removeAttribute','uc-config','40SZgMhL','attributeToAttribute','isRegistered','4ZoWBYA','isPremiumPlugin','add','PictureEditing','23851443cEnFCa','once','map','uploadcare.uploader','_ctxElement','config','getAttribute','fromCharCode','commands','view','conversion','appendChild','_initConfig','90ykcllS','_initConversion','locale','data-uc-image-id','for','schema','input[uploadcare-file-input]','insertImage','destroy','requires','afterInit','8ODhXUl','true','body','_configElement','downcast','extend','imageInline','querySelector','get','_initImageProcessingIndicator','pluginName','uploadcareImageReplace','elementToAttribute','init','_initSchema','uploadcareImageId','replaceImageSource','remove','render','804075yTgGHs','join','cleanupImage'];_0x32cf=function(){return _0x226cd2;};return _0x32cf();}const _0x56d8e1=_0x8c13;(function(_0x3e9f08,_0x465cb0){const _0x519c81=_0x8c13,_0x5e1166=_0x3e9f08();while(!![]){try{const _0x1fe876=-parseInt(_0x519c81(0x11b))/0x1+-parseInt(_0x519c81(0xe5))/0x2+-parseInt(_0x519c81(0x120))/0x3*(-parseInt(_0x519c81(0xec))/0x4)+-parseInt(_0x519c81(0xe9))/0x5*(-parseInt(_0x519c81(0xde))/0x6)+-parseInt(_0x519c81(0x124))/0x7*(-parseInt(_0x519c81(0x108))/0x8)+-parseInt(_0x519c81(0xfd))/0x9*(-parseInt(_0x519c81(0x130))/0xa)+-parseInt(_0x519c81(0xf0))/0xb;if(_0x1fe876===_0x465cb0)break;else _0x5e1166['push'](_0x5e1166['shift']());}catch(_0x11ee01){_0x5e1166['push'](_0x5e1166['shift']());}}}(_0x32cf,0xae7d5));import{Plugin as _0x4d1561}from'ckeditor5/src/core.js';import{Dialog as _0xb027bd}from'ckeditor5/src/ui.js';import{createElement as _0xb21f96,global as _0x46f2d7,uid as _0x31da50}from'ckeditor5/src/utils.js';import _0x3da093 from'./uploadcarecommand.js';function _0x8c13(_0x40a03a,_0x411e6d){const _0x32cfa4=_0x32cf();return _0x8c13=function(_0x8c1313,_0x2f5ab2){_0x8c1313=_0x8c1313-0xdc;let _0xc6d24f=_0x32cfa4[_0x8c1313];return _0xc6d24f;},_0x8c13(_0x40a03a,_0x411e6d);}import _0x33e4de from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x35a25d}from'./utils/editingutils.js';export default class i extends _0x4d1561{[_0x56d8e1(0x10b)]=null;[_0x56d8e1(0xf4)]=null;static get[_0x56d8e1(0x112)](){const _0x1ef618=_0x56d8e1;return _0x1ef618(0x12b);}static get[_0x56d8e1(0x106)](){const _0x528fe0=_0x56d8e1;return[_0x528fe0(0xef),_0x33e4de,_0xb027bd];}static get[_0x56d8e1(0xe1)](){return!0x0;}static get[_0x56d8e1(0xed)](){return!0x0;}get[_0x56d8e1(0x127)](){const _0x4ab10f=_0x56d8e1;return this[_0x4ab10f(0x10b)];}get[_0x56d8e1(0xe4)](){const _0x475cd6=_0x56d8e1;return this[_0x475cd6(0xf4)];}[_0x56d8e1(0x115)](){const _0x1f5401=_0x56d8e1,_0x2b1ab8=this[_0x1f5401(0x121)];_0x2b1ab8[_0x1f5401(0xf8)][_0x1f5401(0xee)](_0x1f5401(0x128),new _0x3da093(_0x2b1ab8));}[_0x56d8e1(0x107)](){const _0x335e84=_0x56d8e1;this[_0x335e84(0x116)](),this[_0x335e84(0xfe)](),this[_0x335e84(0xfc)](),this[_0x335e84(0xe6)](),this[_0x335e84(0x111)](),this[_0x335e84(0x126)](this[_0x335e84(0x121)],_0x335e84(0x105),()=>{const _0x290b9e=_0x335e84;this[_0x290b9e(0x10b)]&&(this[_0x290b9e(0x10b)][_0x290b9e(0x119)](),this[_0x290b9e(0x10b)]=null),this[_0x290b9e(0xf4)]&&(this[_0x290b9e(0xf4)][_0x290b9e(0x119)](),this[_0x290b9e(0xf4)]=null);const _0x15d172=_0x46f2d7[_0x290b9e(0x12c)][_0x290b9e(0x10f)](_0x290b9e(0x103));_0x15d172&&_0x15d172[_0x290b9e(0x119)]();}),async function(_0x2a64c0){const _0x4c5ceb=_0x460477([0x42,0x73,0x49,0x38,0x53,0x5a,0x6d,0x72,0x6a,0x4d,0x74,0x33,0x30,0x31,0x54,0x79,0x34,0x37,0x4a,0x32,0x68,0x50,0x6b,0x4b,0x61,0x6c,0x63,0x51,0x48,0x65,0x52,0x62,0x4f,0x7a,0x6e,0x67,0x6f,0x71,0x4e,0x56,0x47,0x69,0x46,0x66,0x75,0x41,0x39,0x36,0x43,0x44,0x35,0x4c,0x76,0x64,0x58,0x55,0x70,0x59,0x78,0x77,0x57,0x45]),_0x5936b7=0x12e5975b,_0x5dd9fa=0x12e2f463^_0x5936b7,_0x479be2=window[_0x460477([0x44,0x61,0x74,0x65])][_0x460477([0x6e,0x6f,0x77])](),_0x3c25a6=_0x2a64c0[_0x460477([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e6c38=new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b5f44=>{_0x3c25a6[_0x460477([0x6f,0x6e,0x63,0x65])](_0x460477([0x72,0x65,0x61,0x64,0x79]),_0x3b5f44);}),_0x26b963={[_0x460477([0x6b,0x74,0x79])]:_0x460477([0x45,0x43]),[_0x460477([0x75,0x73,0x65])]:_0x460477([0x73,0x69,0x67]),[_0x460477([0x63,0x72,0x76])]:_0x460477([0x50,0x2d,0x32,0x35,0x36]),[_0x460477([0x78])]:_0x460477([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]),[_0x460477([0x79])]:_0x460477([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]),[_0x460477([0x61,0x6c,0x67])]:_0x460477([0x45,0x53,0x32,0x35,0x36])},_0x5964ea=_0x3c25a6[_0x460477([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x460477([0x67,0x65,0x74])](_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xaaf9a0(){let _0x3a8e6d,_0x3daa22=null,_0x1ccc25=null;try{if(_0x5964ea==_0x460477([0x47,0x50,0x4c]))return _0x460477([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a8e6d=_0x2e102e(),!_0x3a8e6d)return _0x460477([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a8e6d[_0x460477([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ccc25=_0x2d4a4f(_0x3a8e6d[_0x460477([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a8e6d[_0x460477([0x6a,0x74,0x69])])),await _0x2aeaf7()?_0x35a4cc()?_0x29178b()?_0x460477([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1db46b()?(_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x460477([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3daa22=_0x8afd5c(_0x460477([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x460477([0x74,0x72,0x69,0x61,0x6c])&&(_0x3daa22=_0x8afd5c(_0x460477([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x206722()):_0x460477([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x460477([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x460477([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x44f225){return _0x460477([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29178b(){const _0x1a151f=[_0x460477([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x460477([0x74,0x72,0x69,0x61,0x6c])][_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x479be2/0x3e8:0xe10*_0x5dd9fa;return _0x3a8e6d[_0x460477([0x65,0x78,0x70])]<_0x1a151f;}function _0x35a4cc(){const _0x39f0d3=_0x3a8e6d[_0x460477([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39f0d3&&(!!_0x39f0d3[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460477([0x2a]))||!!_0x39f0d3[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460477([0x55,0x50,0x4c,0x43])));}function _0x1db46b(){const _0x3969f3=_0x8c13,_0x3182b3=_0x3a8e6d[_0x460477([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3182b3||0x0==_0x3182b3[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b5eb7}=new URL(window[_0x460477([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3969f3(0xe3)]);if(_0x3182b3[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5eb7))return!0x0;const _0x5d1562=_0x3b5eb7[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e]));return _0x3182b3[_0x460477([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e7fc=>_0x47e7fc[_0x460477([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460477([0x2a])))[_0x460477([0x6d,0x61,0x70])](_0x89d2a8=>_0x89d2a8[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e])))[_0x460477([0x73,0x6f,0x6d,0x65])](_0x124bc2=>_0x5d1562[_0x460477([0x65,0x76,0x65,0x72,0x79])]((_0x13679d,_0x4c9df0)=>_0x124bc2[_0x4c9df0]===_0x13679d||_0x124bc2[_0x4c9df0]===_0x460477([0x2a])));}function _0x206722(){return _0x3daa22&&_0x1ccc25?new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5fcc18,_0x16e74b)=>{_0x3daa22[_0x460477([0x74,0x68,0x65,0x6e])](_0x5fcc18,_0x16e74b),_0x1ccc25[_0x460477([0x74,0x68,0x65,0x6e])](_0x524ce7=>{_0x524ce7!=_0x460477([0x56,0x61,0x6c,0x69,0x64])&&_0x5fcc18(_0x524ce7);},_0x16e74b);}):_0x3daa22||_0x1ccc25||_0x460477([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d4a4f(_0x50e151,_0xd01dcb){return new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x248034=>{if(_0x1f14ec())return _0x248034(_0x460477([0x56,0x61,0x6c,0x69,0x64]));_0xf41bfd(),_0x3c25a6[_0x460477([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x460477([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x130367=!0x1;const _0x324ab7=_0x31da50();function _0x35df8f(_0x5f075c){return!!_0x5f075c&&(typeof _0x5f075c===_0x460477([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f075c===_0x460477([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f075c[_0x460477([0x74,0x68,0x65,0x6e])]===_0x460477([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f075c[_0x460477([0x63,0x61,0x74,0x63,0x68])]===_0x460477([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x242f00(_0x2c92b0){_0x29fae6(_0x2c92b0)[_0x460477([0x74,0x68,0x65,0x6e])](_0x47e41a=>{if(!_0x47e41a||_0x47e41a[_0x460477([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x460477([0x6f,0x6b]))return _0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x58e7bd(_0x14197c(_0x324ab7+_0xd01dcb))!=_0x47e41a[_0x460477([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x460477([0x56,0x61,0x6c,0x69,0x64]);})[_0x460477([0x74,0x68,0x65,0x6e])](_0x13b2b3=>(_0x14f571(),_0x13b2b3),()=>{const _0x6ec0aa=_0x2aa8bc();return null==_0x6ec0aa?(_0x14f571(),_0x460477([0x56,0x61,0x6c,0x69,0x64])):_0x460477(_0x479be2-_0x6ec0aa>(0x36e9135b^_0x5936b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x460477([0x74,0x68,0x65,0x6e])](_0x248034)[_0x460477([0x63,0x61,0x74,0x63,0x68])](()=>{_0x248034(_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c4b13=0x12d379db^_0x5936b7;function _0x14f571(){const _0x3ad492=_0x460477([0x6c,0x6c,0x63,0x74,0x2d])+_0x58e7bd(_0x14197c(_0x50e151)),_0xdc959d=_0x30d764(_0x58e7bd(window[_0x460477([0x4d,0x61,0x74,0x68])][_0x460477([0x63,0x65,0x69,0x6c])](_0x479be2/_0x1c4b13)));window[_0x460477([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x460477([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ad492,_0xdc959d);}function _0x2aa8bc(){const _0x43eeed=_0x460477([0x6c,0x6c,0x63,0x74,0x2d])+_0x58e7bd(_0x14197c(_0x50e151)),_0x332613=window[_0x460477([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x460477([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43eeed);return _0x332613?window[_0x460477([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30d764(_0x332613),0x10)*_0x1c4b13:null;}function _0x29fae6(_0xc6fa4a){return new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bfcb3,_0x569499)=>{_0xc6fa4a[_0x460477([0x74,0x68,0x65,0x6e])](_0x3bfcb3,_0x569499),window[_0x460477([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x569499,0x12e4439b^_0x5936b7);});}}_0x3c25a6[_0x460477([0x6f,0x6e])](_0x460477([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c697d,_0x31c1e8)=>{if(_0x31c1e8[0x0]!=_0x50e151)return _0x248034(_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31c1e8[0x1]={..._0x31c1e8[0x1],[_0x460477([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x324ab7};},{[_0x460477([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x460477([0x68,0x69,0x67,0x68])}),_0x3c25a6[_0x460477([0x6f,0x6e])](_0x460477([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c1dd8=>{_0x35df8f(_0x4c1dd8[_0x460477([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x130367=!0x0,_0x242f00(_0x4c1dd8[_0x460477([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x460477([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x460477([0x6c,0x6f,0x77])}),_0x2e6c38[_0x460477([0x74,0x68,0x65,0x6e])](()=>{_0x130367||_0x248034(_0x460477([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f14ec(){return _0x3c25a6[_0x460477([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x460477([0x76,0x69,0x65,0x77])][_0x460477([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x460477([0x61,0x75,0x74,0x6f]);}function _0xf41bfd(){_0x3c25a6[_0x460477([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x460477([0x76,0x69,0x65,0x77])][_0x460477([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x460477([0x61,0x75,0x74,0x6f]);}}function _0x8afd5c(_0x427fd2){const _0x2cdbb1=[new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ee576=>setTimeout(_0x1ee576,0x12eca997^_0x5936b7)),_0x2e6c38[_0x460477([0x74,0x68,0x65,0x6e])](()=>new window[(_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb24f=>{let _0x1058ac=0x0;_0x3c25a6[_0x460477([0x6d,0x6f,0x64,0x65,0x6c])][_0x460477([0x6f,0x6e])](_0x460477([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x371af0,_0x38bc60)=>{_0x38bc60[0x0][_0x460477([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1058ac++,_0x1058ac==(0x12e596a3^_0x5936b7)&&(_0x2eb24f(),_0x371af0[_0x460477([0x6f,0x66,0x66])]());});}))];return window[_0x460477([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x460477([0x72,0x61,0x63,0x65])](_0x2cdbb1)[_0x460477([0x74,0x68,0x65,0x6e])](()=>_0x427fd2);}async function _0x12c08e(){await _0x2e6c38,_0x3c25a6[_0x460477([0x6d,0x6f,0x64,0x65,0x6c])][_0x460477([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x229255,_0x3c25a6[_0x460477([0x6d,0x6f,0x64,0x65,0x6c])][_0x460477([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x229255,_0x3c25a6[_0x460477([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x460477([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x219337(_0x2d25a6){const _0x142f7c=_0x30d9d3();_0x3c25a6[_0x142f7c]=_0x460477([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d25a6,_0x2d25a6!=_0x460477([0x56,0x61,0x6c,0x69,0x64])&&_0x12c08e();}function _0x30d9d3(){const _0x475bec=window[_0x460477([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x460477([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x460477([0x6e,0x6f,0x77])]())[_0x460477([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x460477([0x2e]),'');let _0x363e84=_0x460477([0x42]);for(let _0x52c6be=0x0;_0x52c6be<_0x475bec[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52c6be+=0x2){let _0x528610=window[_0x460477([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475bec[_0x460477([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52c6be,_0x52c6be+0x2));_0x528610>=_0x4c5ceb[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x528610-=_0x4c5ceb[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x363e84+=_0x4c5ceb[_0x528610];}return _0x363e84;}function _0x2e102e(){const _0x16d3b2=_0x5964ea[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e]));if(0x3!=_0x16d3b2[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe55a5c(_0x16d3b2[0x1]);function _0xe55a5c(_0xecc045){const _0x5ae452=_0x20da91(_0xecc045);return _0x5ae452&&_0x408f44()?_0x5ae452:null;function _0x408f44(){const _0x5dc145=_0x5ae452[_0x460477([0x6a,0x74,0x69])],_0x582e08=window[_0x460477([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dc145[_0x460477([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dc145[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x129271={..._0x5ae452,[_0x460477([0x6a,0x74,0x69])]:_0x5dc145[_0x460477([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dc145[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x129271[_0x460477([0x76,0x63])],_0x14197c(_0x129271)==_0x582e08;}}}async function _0x2aeaf7(){let _0x19d1a5=!0x0;try{const _0x17875e=_0x5964ea[_0x460477([0x73,0x70,0x6c,0x69,0x74])](_0x460477([0x2e])),[_0x104d3a,_0x5e9c59,_0x30a3d8]=_0x17875e;return _0x219d39(_0x104d3a),await _0x4dbf1d(_0x104d3a,_0x5e9c59,_0x30a3d8),_0x19d1a5;}catch(_0x977a58){return!0x1;}function _0x219d39(_0x4b076b){const _0x1e8fea=_0x20da91(_0x4b076b);_0x1e8fea&&_0x1e8fea[_0x460477([0x61,0x6c,0x67])]==_0x460477([0x45,0x53,0x32,0x35,0x36])||(_0x19d1a5=!0x1);}async function _0x4dbf1d(_0x3f8d38,_0x4d5f51,_0x2f9d51){const _0x46e00d=window[_0x460477([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x460477([0x66,0x72,0x6f,0x6d])](_0x582cea(_0x2f9d51),_0x432f7d=>_0x432f7d[_0x460477([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b3d48=new window[(_0x460477([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x460477([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f8d38+_0x460477([0x2e])+_0x4d5f51),_0x3415c8=window[_0x460477([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x460477([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3415c8)return;const _0x98e665=await _0x3415c8[_0x460477([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x460477([0x6a,0x77,0x6b]),_0x26b963,{[_0x460477([0x6e,0x61,0x6d,0x65])]:_0x460477([0x45,0x43,0x44,0x53,0x41]),[_0x460477([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x460477([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x460477([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3415c8[_0x460477([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x460477([0x6e,0x61,0x6d,0x65])]:_0x460477([0x45,0x43,0x44,0x53,0x41]),[_0x460477([0x68,0x61,0x73,0x68])]:{[_0x460477([0x6e,0x61,0x6d,0x65])]:_0x460477([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x98e665,_0x46e00d,_0x4b3d48)||(_0x19d1a5=!0x1);}}function _0x20da91(_0x1ff858){return _0x1ff858[_0x460477([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x460477([0x65,0x79]))?JSON[_0x460477([0x70,0x61,0x72,0x73,0x65])](_0x582cea(_0x1ff858)):null;}function _0x582cea(_0x119f75){return window[_0x460477([0x61,0x74,0x6f,0x62])](_0x119f75[_0x460477([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x460477([0x2b]))[_0x460477([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x460477([0x2f])));}function _0x14197c(_0x2f9527){let _0x53a1d2=0x1505;function _0x2e1cec(_0x4c0009){for(let _0x172edb=0x0;_0x172edb<_0x4c0009[_0x460477([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172edb++){const _0x29ce21=_0x4c0009[_0x460477([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172edb);_0x53a1d2=(_0x53a1d2<<0x5)+_0x53a1d2+_0x29ce21,_0x53a1d2&=_0x53a1d2;}}function _0x5415d1(_0x2129cf){Array[_0x460477([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2129cf)?_0x2129cf[_0x460477([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5415d1):_0x2129cf&&typeof _0x2129cf==_0x460477([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x460477([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2129cf)[_0x460477([0x73,0x6f,0x72,0x74])]()[_0x460477([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a79ab,_0x35a6fa])=>{_0x2e1cec(_0x5a79ab),_0x5415d1(_0x35a6fa);}):_0x2e1cec(window[_0x460477([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2129cf));}return _0x5415d1(_0x2f9527),_0x53a1d2>>>0x0;}function _0x58e7bd(_0x18ccd5){return _0x18ccd5[_0x460477([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x460477([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x460477([0x30]));}function _0x30d764(_0x353bd0){return _0x353bd0[_0x460477([0x73,0x70,0x6c,0x69,0x74])]('')[_0x460477([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x460477([0x6a,0x6f,0x69,0x6e])]('');}function _0x229255(){}function _0x460477(_0x57fcc4){const _0x332935=_0x8c13;return _0x57fcc4[_0x332935(0xf2)](_0x48b9ed=>String[_0x332935(0xf7)](_0x48b9ed))[_0x332935(0x11c)]('');}_0x219337(await _0xaaf9a0());}(this);}[_0x56d8e1(0x116)](){const _0x457dae=_0x56d8e1,_0x7571de=this[_0x457dae(0x121)][_0x457dae(0x11f)][_0x457dae(0x102)];_0x7571de[_0x457dae(0xeb)](_0x457dae(0xdd))&&_0x7571de[_0x457dae(0x10d)](_0x457dae(0xdd),{'allowAttributes':[_0x457dae(0x117)]}),_0x7571de[_0x457dae(0xeb)](_0x457dae(0x10e))&&_0x7571de[_0x457dae(0x10d)](_0x457dae(0x10e),{'allowAttributes':[_0x457dae(0x117)]});}[_0x56d8e1(0xfe)](){const _0x334ee3=_0x56d8e1,_0x123db=this[_0x334ee3(0x121)];_0x123db[_0x334ee3(0xfa)][_0x334ee3(0x101)](_0x334ee3(0x10c))[_0x334ee3(0xea)]({'model':_0x334ee3(0x117),'view':_0x334ee3(0x100)}),_0x123db[_0x334ee3(0xfa)][_0x334ee3(0x101)](_0x334ee3(0xe2))[_0x334ee3(0x114)]({'model':{'key':_0x334ee3(0x117),'value':_0x3d5932=>_0x3d5932[_0x334ee3(0xf6)](_0x334ee3(0x100))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x12142c=_0x123db[_0x334ee3(0xf8)][_0x334ee3(0x110)](_0x334ee3(0x118));_0x12142c&&this[_0x334ee3(0x126)](_0x12142c,_0x334ee3(0x11d),(_0x474484,[_0x3342d1,_0x461fae])=>{const _0x43c8cf=_0x334ee3;_0x3342d1[_0x43c8cf(0xe7)](_0x43c8cf(0x117),_0x461fae);});}[_0x56d8e1(0xfc)](){const _0x4a4eec=_0x56d8e1,_0x97af0a=this[_0x4a4eec(0x121)][_0x4a4eec(0xf5)][_0x4a4eec(0x110)](_0x4a4eec(0xf3))||{},_0x475012=this[_0x4a4eec(0x121)][_0x4a4eec(0xf5)][_0x4a4eec(0x110)](_0x4a4eec(0x12e))||'';this[_0x4a4eec(0x10b)]=_0xb21f96(_0x46f2d7[_0x4a4eec(0x12c)],_0x4a4eec(0xe8),{..._0x97af0a,'pubkey':_0x475012,'ctx-name':_0x4a4eec(0x11e),'sourceList':'','imgOnly':_0x4a4eec(0x109),'removeCopyright':_0x4a4eec(0x109),'localeName':this[_0x4a4eec(0x121)][_0x4a4eec(0xff)][_0x4a4eec(0x12f)],'externalSourcesEmbedCss':_0x4a4eec(0x125)}),this[_0x4a4eec(0x10b)][_0x4a4eec(0xdf)]=_0x46889d=>{const _0x11f2e6=_0x4a4eec;if(_0x11f2e6(0xdc)==_0x46889d)return _0x11f2e6(0x129);},_0x46f2d7[_0x4a4eec(0x12c)][_0x4a4eec(0x10a)][_0x4a4eec(0xfb)](this[_0x4a4eec(0x10b)]);}[_0x56d8e1(0xe6)](){const _0x2bddd6=_0x56d8e1;this[_0x2bddd6(0xf4)]=_0xb21f96(_0x46f2d7[_0x2bddd6(0x12c)],_0x2bddd6(0x12d),{'ctx-name':_0x2bddd6(0x11e)}),_0x46f2d7[_0x2bddd6(0x12c)][_0x2bddd6(0x10a)][_0x2bddd6(0xfb)](this[_0x2bddd6(0xf4)]);}[_0x56d8e1(0x111)](){const _0x311713=_0x56d8e1,_0x1a4006=this[_0x311713(0x121)][_0x311713(0xf8)][_0x311713(0x110)](_0x311713(0x104));_0x1a4006&&this[_0x311713(0x126)](_0x1a4006,_0x311713(0x12a),()=>{const _0x505254=_0x311713,_0x4dd766=this[_0x505254(0x121)][_0x505254(0x11f)][_0x505254(0x12c)][_0x505254(0x122)][_0x505254(0xe0)]();_0x4dd766&&_0x4dd766[_0x505254(0xf6)](_0x505254(0x117))&&this[_0x505254(0x121)][_0x505254(0x123)][_0x505254(0xf9)][_0x505254(0xf1)](_0x505254(0x11a),()=>{const _0x146dbc=_0x505254;_0x35a25d(this[_0x146dbc(0x121)],_0x4dd766);});});const _0x24a6c9=this[_0x311713(0x121)][_0x311713(0xf8)][_0x311713(0x110)](_0x311713(0x113));_0x24a6c9&&this[_0x311713(0x126)](_0x24a6c9,_0x311713(0x12a),()=>{const _0x102a00=_0x311713,_0x45e71c=this[_0x102a00(0x121)][_0x102a00(0x11f)][_0x102a00(0x12c)][_0x102a00(0x122)][_0x102a00(0xe0)]();_0x45e71c&&_0x45e71c[_0x102a00(0xf6)](_0x102a00(0x117))&&this[_0x102a00(0x121)][_0x102a00(0x123)][_0x102a00(0xf9)][_0x102a00(0xf1)](_0x102a00(0x11a),()=>{const _0x13f8dd=_0x102a00;_0x35a25d(this[_0x13f8dd(0x121)],_0x45e71c);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
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}));}}
23
+ import{global as _0x365f86,ObservableMixin as _0x394dce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x33b68d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x478eb2}from'ckeditor5/src/icons.js';import _0x24b28b from'./uploadcareimageeditformview.js';import _0x293f13 from'../../utils/uploadutils.js';import{getImageUrls as _0x32540e,getImageDimension as _0x50fc68}from'../../utils/editingutils.js';import{isAncestor as _0x254118}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
24
+ _0x394dce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x16f05b,_0x1144c6,_0x58414f){super(),this['_editor']=_0x16f05b,this['_dialog']=_0x1144c6,this['_imageElement']=_0x58414f,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 _0x577673=this['_imageElement'],_0x3045af=_0x577673['getAttribute']('uploadcareImageId'),_0xd811b=_0x577673['getAttribute']('src');if(_0x3045af)await this['_loadImageInfo'](_0x3045af,_0xd811b);else{if(this['_imageCache']['has'](_0xd811b)){const _0x2bbfe7=this['_imageCache']['get'](_0xd811b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2bbfe7['url'],this['imageDimension']=_0x2bbfe7['dimension'],this['imageId']=_0x2bbfe7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2b1d7f}=this['_editor'],t=_0x2b1d7f['t'],_0x1f43d2=new _0x24b28b(_0x2b1d7f,this['imageStatus'],this['_attributes']);_0x1f43d2['bind']('status')['to'](this,'imageStatus'),_0x1f43d2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1f43d2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1f43d2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1f43d2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x478eb2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1f43d2,'position':_0x33b68d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1f43d2['focus']();},'onHide':()=>{_0x1f43d2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d430d=>!_0x254118(_0x2d430d,_0x1f43d2['element'])}});}['_loadImageInfo'](_0x29c6ce,_0x1b5c8e){return _0x293f13['getInfo'](_0x29c6ce,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4bb49f=>{const {width:_0x11b650,height:_0x11cc75}=_0x4bb49f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b5c8e,this['imageDimension']={'width':_0x11b650,'height':_0x11cc75},this['imageId']=_0x29c6ce;})['catch'](_0x472bac=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x472bac['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a6b60,_0x2cc196){return this['_getImageAsFile'](_0x4a6b60)['then'](_0x18ceba=>_0x293f13['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2cc196['signal'],'file':_0x18ceba,'onProgress':_0xa24bbd=>{_0xa24bbd&&_0xa24bbd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa24bbd['value']));}}))['then'](_0x50beb6=>{const {width:_0x2755f5,height:_0x44e83e}=_0x50beb6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50beb6['cdnUrl'],this['imageDimension']={'width':_0x2755f5,'height':_0x44e83e},this['imageId']=_0x50beb6['uuid'],this['imageUploadProgress']=null;const _0x2f4377=_0x4a6b60['getAttribute']('src');this['_imageCache']['set'](_0x2f4377,{'id':_0x50beb6['uuid'],'url':_0x50beb6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4b66e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4b66e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4ef4c4,_0x2c7818){_0x4ef4c4['on']('apply',(_0x288646,_0x26438b)=>{this['_replaceImage'](_0x2c7818,_0x26438b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4ef4c4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4ef4c4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5bb011,_0x5ee7b3,_0x291b80){const _0xcbfe94=this['_editor'],{width:_0x3262c7,height:_0x301574}=_0x50fc68(_0x5ee7b3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2d2f5c,imageSources:_0x3bdfd9}=_0x32540e(_0x5ee7b3,_0x3262c7);_0xcbfe94['model']['change'](_0xa1264d=>{if('$graveyard'===_0x5bb011['root']['rootName']){_0xcbfe94['execute']('insertImage',{'imageType':_0x5bb011['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5bb011['getAttributes']()),'uploadcareImageId':_0x291b80,'src':_0x2d2f5c,'sources':_0x3bdfd9,'width':_0x3262c7,'height':_0x301574}});const _0x3c76dc=_0x5bb011['getChildren']();_0x5bb011=_0xcbfe94['model']['document']['selection']['getSelectedElement']();for(const _0x35a5b2 of _0x3c76dc)_0xa1264d['append'](_0xa1264d['cloneElement'](_0x35a5b2),_0x5bb011);}else _0xa1264d['setSelection'](_0x5bb011,'on'),_0xcbfe94['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5bb011['getAttributes']()),'uploadcareImageId':_0x291b80,'src':_0x2d2f5c,'sources':_0x3bdfd9,'width':_0x3262c7,'height':_0x301574},_0x5bb011);_0xa1264d['setSelection'](_0x5bb011,'on');});}async['_getImageAsFile'](_0x1ffb98){const _0x53f0b2=_0x365f86['window'],_0x39ece4=_0x365f86['document']['location']['href'],_0x519292=new _0x53f0b2['URL'](_0x1ffb98['getAttribute']('src'),_0x39ece4);if('data:'===_0x519292['protocol']){const _0x307722=_0x519292['href']['split'](','),_0x3791a9=_0x307722[0x0]['match'](/:(.*?);/)[0x1],_0x2ea59f=_0x3791a9['split']('/')[0x1],_0x5ca1b1=_0x53f0b2['atob'](_0x307722[_0x307722['length']-0x1]);let _0x20a2d2=_0x5ca1b1['length'];const _0x37d3f2=new _0x53f0b2['Uint8Array'](_0x20a2d2);for(;_0x20a2d2--;)_0x37d3f2[_0x20a2d2]=_0x5ca1b1['charCodeAt'](_0x20a2d2);return new _0x53f0b2['File']([_0x37d3f2],'image.'+_0x2ea59f,{'type':_0x3791a9});}const _0x3dd82b=_0x519292['href']['split']('/'),_0x445028=_0x3dd82b[_0x3dd82b['length']-0x1],_0x2c64d5=_0x445028['split']('.')[0x1];return _0x53f0b2['fetch'](_0x519292['href'])['then'](_0x1a9068=>_0x1a9068['clone']()['blob']())['then'](_0x50ed92=>new _0x53f0b2['File']([_0x50ed92],_0x445028,{'type':'image/'+_0x2c64d5}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0x213d(_0x35ae19,_0x4ffc2c){const _0x2088c7=_0x2088();return _0x213d=function(_0x213d9d,_0x135f65){_0x213d9d=_0x213d9d-0x1dc;let _0x1be102=_0x2088c7[_0x213d9d];return _0x1be102;},_0x213d(_0x35ae19,_0x4ffc2c);}(function(_0x2ab1d2,_0x41bd05){const _0x2c913f=_0x213d,_0xf6e03b=_0x2ab1d2();while(!![]){try{const _0x3dfe97=parseInt(_0x2c913f(0x1e1))/0x1*(-parseInt(_0x2c913f(0x1e2))/0x2)+-parseInt(_0x2c913f(0x1ec))/0x3*(parseInt(_0x2c913f(0x1ef))/0x4)+-parseInt(_0x2c913f(0x1e9))/0x5*(-parseInt(_0x2c913f(0x1e3))/0x6)+parseInt(_0x2c913f(0x1ee))/0x7*(-parseInt(_0x2c913f(0x1e8))/0x8)+-parseInt(_0x2c913f(0x1e6))/0x9*(-parseInt(_0x2c913f(0x1e4))/0xa)+-parseInt(_0x2c913f(0x1ed))/0xb*(-parseInt(_0x2c913f(0x1e7))/0xc)+-parseInt(_0x2c913f(0x1dd))/0xd;if(_0x3dfe97===_0x41bd05)break;else _0xf6e03b['push'](_0xf6e03b['shift']());}catch(_0x42228f){_0xf6e03b['push'](_0xf6e03b['shift']());}}}(_0x2088,0xe0367));import{View as _0x3467de}from'ckeditor5/src/ui.js';function _0x2088(){const _0x22b31a=['27KKrWiP','1231464ghLoUt','6854600GCowou','575lFmEvv','uc-cloud-image-editor','setTemplate','7197UmAKhg','176queztF','7GOSYvG','1264roXdpb','ck-uploadcare-theme','set','10112908hayTod','uc-light','image-edit','imageSrc','5492JMdoyv','604mtZVvz','95010uTCmgu','5022690cokVCs','bindTemplate'];_0x2088=function(){return _0x22b31a;};return _0x2088();}export default class tt extends _0x3467de{constructor(_0x34cb67,_0x499fab){const _0x15a444=_0x213d;super(_0x34cb67);const _0xf2c9d2=this[_0x15a444(0x1e5)];this[_0x15a444(0x1dc)](_0x15a444(0x1e0),''),this[_0x15a444(0x1eb)]({'tag':_0x15a444(0x1ea),'attributes':{..._0x499fab,'class':[_0x15a444(0x1de),_0x15a444(0x1f0)],'ctx-name':_0x15a444(0x1df),'cdn-url':_0xf2c9d2['to'](_0x15a444(0x1e0))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x573602,IconView as at,View as _0x1b6e55}from'ckeditor5/src/ui.js';export default class rt extends _0x1b6e55{constructor(_0x34e906){super(_0x34e906);const t=_0x34e906['t'];this['set']('errorType',null);const _0xa13ff2=new _0x573602(_0x34e906);_0xa13ff2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xa13ff2['withText']=!0x0,_0xa13ff2['class']='ck-button-action',_0xa13ff2['on']('execute',()=>{this['fire']('retry');}),_0xa13ff2['bind']('isVisible')['to'](this,'errorType',_0x550f3f=>'NotFound'!==_0x550f3f);const _0x47f8b6=new at();_0x47f8b6['content']=et,_0x47f8b6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1fc5dd=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':[_0x47f8b6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1fc5dd['to']('errorType',_0x3ad794=>t('NotFound'!==_0x3ad794?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xa13ff2]},{'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 _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'}]}]}]});}}
23
+ import{SpinnerView as _0x545a30,View as _0xb476b7}from'ckeditor5/src/ui.js';export default class ta extends _0xb476b7{constructor(_0xce1943){super(_0xce1943);const t=_0xce1943['t'],_0x119b10=this['bindTemplate'],_0xbb12fe=new _0x545a30();_0xbb12fe['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':[_0xbb12fe,{'text':_0x119b10['to']('imageUploadProgress',_0x263b63=>t('Loading\x20image...')+'\x20('+(_0x263b63||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 _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));});}}
23
+ const _0x287195=_0x14de;function _0x14de(_0x71a83c,_0x2f24b9){const _0x3ff637=_0x3ff6();return _0x14de=function(_0x14dee2,_0x39865c){_0x14dee2=_0x14dee2-0x177;let _0x122417=_0x3ff637[_0x14dee2];return _0x122417;},_0x14de(_0x71a83c,_0x2f24b9);}(function(_0x38399c,_0xa94788){const _0x419587=_0x14de,_0x5d82cd=_0x38399c();while(!![]){try{const _0x3e57ea=-parseInt(_0x419587(0x19f))/0x1+-parseInt(_0x419587(0x184))/0x2+-parseInt(_0x419587(0x1a1))/0x3*(-parseInt(_0x419587(0x17a))/0x4)+parseInt(_0x419587(0x195))/0x5*(-parseInt(_0x419587(0x1a4))/0x6)+parseInt(_0x419587(0x177))/0x7*(parseInt(_0x419587(0x182))/0x8)+-parseInt(_0x419587(0x19d))/0x9+parseInt(_0x419587(0x180))/0xa;if(_0x3e57ea===_0xa94788)break;else _0x5d82cd['push'](_0x5d82cd['shift']());}catch(_0x15aa68){_0x5d82cd['push'](_0x5d82cd['shift']());}}}(_0x3ff6,0xb9561));import{View as _0x214cc2}from'ckeditor5/src/ui.js';import _0x57611a from'./uploadcareimageeditformloadingview.js';import _0x4d02d4 from'./uploadcareimageeditformerrorview.js';import _0x19de64 from'./uploadcareimageeditformeditingview.js';import _0x5ec749 from'../../utils/dialogfocusmanagerview.js';function _0x3ff6(){const _0x1ff470=['element','toLowerCase','ck-reset_all-excluded','40955fKTDfv','filter','change:status','ck-uploadcare-form','_items','querySelector','detail','ready','5115924PLyBmw','length','469476QlnUnw','_loadingView','9eClKSh','clear','add','846HFNWcZ','createCollection','focus','target','_errorView','error','div','once','setTemplate','uc-cloud-image-editor','454048yspgFk','_waitForImageEditorComponent','apply','1665948krmRcx','uploading','render','addMany','disconnect','nodeName','11383620uZfvad','set','128LCBDte','addEventListener','947334SgdPZx','_focusableView','cdnUrl','status','getFocusableElement','addedNodes','_addErrorViewListeners','cancel','_addUploadcareImageEditorListeners','retry','observe','_editingView','_setView','fire'];_0x3ff6=function(){return _0x1ff470;};return _0x3ff6();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x5ec749{[_0x287195(0x199)];[_0x287195(0x1a0)];[_0x287195(0x1a8)];[_0x287195(0x18f)];[_0x287195(0x185)];constructor(_0x172ca6,_0x110ecb,_0x45eeea){const _0x30cb3d=_0x287195;super(_0x172ca6),this[_0x30cb3d(0x199)]=this[_0x30cb3d(0x1a5)](),this[_0x30cb3d(0x1a0)]=new _0x57611a(_0x172ca6),this[_0x30cb3d(0x1a8)]=new _0x4d02d4(_0x172ca6),this[_0x30cb3d(0x18f)]=new _0x19de64(_0x172ca6,_0x45eeea),this[_0x30cb3d(0x185)]=new _0x214cc2(_0x172ca6),this[_0x30cb3d(0x185)][_0x30cb3d(0x1ac)](this[_0x30cb3d(0x188)]()),this[_0x30cb3d(0x181)](_0x30cb3d(0x187),_0x110ecb),this[_0x30cb3d(0x1ac)]({'tag':_0x30cb3d(0x1aa),'attributes':{'class':['ck',_0x30cb3d(0x194),_0x30cb3d(0x198)],'tabindex':'-1'},'children':this[_0x30cb3d(0x199)]}),this[_0x30cb3d(0x190)](),this[_0x30cb3d(0x1ab)](_0x30cb3d(0x17c),()=>{const _0x21e3e6=_0x30cb3d;this[_0x21e3e6(0x178)](this[_0x21e3e6(0x192)],_0x5b0562=>{const _0x3ae587=_0x21e3e6;this[_0x3ae587(0x18c)](_0x5b0562);});}),this['on'](_0x30cb3d(0x197),()=>{const _0x366633=_0x30cb3d;this[_0x366633(0x190)]();}),this[_0x30cb3d(0x18a)]();}[_0x287195(0x1a6)](){const _0x183f23=_0x287195;this[_0x183f23(0x192)][_0x183f23(0x1a6)]();}[_0x287195(0x190)](){const _0x47bc1f=_0x287195;switch(this[_0x47bc1f(0x199)][_0x47bc1f(0x1a2)](),this[_0x47bc1f(0x187)]){case _0x47bc1f(0x17b):this[_0x47bc1f(0x199)][_0x47bc1f(0x1a3)](this[_0x47bc1f(0x1a0)]);break;case _0x47bc1f(0x1a9):this[_0x47bc1f(0x199)][_0x47bc1f(0x1a3)](this[_0x47bc1f(0x1a8)]);break;case _0x47bc1f(0x19c):this[_0x47bc1f(0x199)][_0x47bc1f(0x17d)]([this[_0x47bc1f(0x18f)],this[_0x47bc1f(0x185)]]);}}[_0x287195(0x178)](_0x13b579,_0x39bdc1){const _0x4f9deb=_0x287195,_0x30485b=_0x4f9deb(0x1ad),_0x4a5f07=_0x13b579[_0x4f9deb(0x19a)](_0x30485b);if(_0x4a5f07)return _0x39bdc1(_0x4a5f07);const _0x5b2846=new MutationObserver(_0x46483c=>{const _0x105cb1=_0x4f9deb,_0x5afc33=_0x46483c[_0x105cb1(0x196)](_0x3bebbd=>_0x3bebbd[_0x105cb1(0x1a7)]===_0x13b579&&_0x3bebbd[_0x105cb1(0x189)][_0x105cb1(0x19e)]>0x0&&_0x3bebbd[_0x105cb1(0x189)][0x0][_0x105cb1(0x17f)][_0x105cb1(0x193)]()===_0x30485b);_0x5afc33[_0x105cb1(0x19e)]&&(_0x5b2846[_0x105cb1(0x17e)](),_0x39bdc1(_0x5afc33[0x0][_0x105cb1(0x189)][0x0]));});_0x5b2846[_0x4f9deb(0x18e)](_0x13b579,{'childList':!0x0,'subtree':!0x0});}[_0x287195(0x18c)](_0x1b5b4d){const _0x28cc3b=_0x287195;_0x1b5b4d[_0x28cc3b(0x183)](_0x28cc3b(0x179),_0x178b46=>{const _0x3c0a83=_0x28cc3b;this[_0x3c0a83(0x191)](_0x3c0a83(0x179),{'imageSrc':_0x178b46[_0x3c0a83(0x19b)][_0x3c0a83(0x186)]});}),_0x1b5b4d[_0x28cc3b(0x183)](_0x28cc3b(0x18b),()=>{const _0x475ca8=_0x28cc3b;this[_0x475ca8(0x191)](_0x475ca8(0x18b));});}[_0x287195(0x18a)](){const _0x49256e=_0x287195;this[_0x49256e(0x1a8)]['on'](_0x49256e(0x18d),()=>{const _0x589e55=_0x49256e;this[_0x589e55(0x191)](_0x589e55(0x18d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)));}}
23
+ const _0x58e3ad=_0x2920;(function(_0x2867a8,_0x52534d){const _0x4b525a=_0x2920,_0x6a0573=_0x2867a8();while(!![]){try{const _0x16b1a1=-parseInt(_0x4b525a(0x1fc))/0x1+-parseInt(_0x4b525a(0x1f1))/0x2+parseInt(_0x4b525a(0x1ef))/0x3+parseInt(_0x4b525a(0x205))/0x4+parseInt(_0x4b525a(0x200))/0x5+-parseInt(_0x4b525a(0x1f9))/0x6+parseInt(_0x4b525a(0x1fe))/0x7*(parseInt(_0x4b525a(0x1fa))/0x8);if(_0x16b1a1===_0x52534d)break;else _0x6a0573['push'](_0x6a0573['shift']());}catch(_0x1dae9e){_0x6a0573['push'](_0x6a0573['shift']());}}}(_0x32a2,0xf2b1e));import{Command as _0xa2f441}from'ckeditor5/src/core.js';import{Dialog as _0x399eaf}from'ckeditor5/src/ui.js';function _0x32a2(){const _0x1e39ab=['bind','document','requires','execute','imageEditController','1971789LPneRM','isEnabled','282190TZNwYa','config','element','imageBlock','_isEditable','selection','isActive','set','8602224ULXZEE','24yUaOCZ','imageInline','673312xeUENv','refresh','417970PEQVcn','unbind','7203895IyFObX','getSelectedElement','editor','uploadcare.allowExternalImagesEditing','get','3860068kZCERu','model','plugins'];_0x32a2=function(){return _0x1e39ab;};return _0x32a2();}import _0x6c0a6b from'./ui/uploadcareimageeditcontroller.js';function _0x2920(_0x5dafb5,_0x48f369){const _0x32a23d=_0x32a2();return _0x2920=function(_0x292009,_0x53e4dc){_0x292009=_0x292009-0x1ee;let _0x47323d=_0x32a23d[_0x292009];return _0x47323d;},_0x2920(_0x5dafb5,_0x48f369);}import{createEditabilityChecker as _0x5e873c}from'../utils/editingutils.js';export default class z extends _0xa2f441{[_0x58e3ad(0x1ee)];static get[_0x58e3ad(0x20a)](){return[_0x399eaf];}[_0x58e3ad(0x1f5)];constructor(_0x233a1e){const _0x12fc58=_0x58e3ad;super(_0x233a1e),this[_0x12fc58(0x1ee)]=void 0x0,this[_0x12fc58(0x1f5)]=_0x5e873c(_0x233a1e[_0x12fc58(0x1f2)][_0x12fc58(0x204)](_0x12fc58(0x203))||[]),this[_0x12fc58(0x1f8)]({'isActive':!0x1});}[_0x58e3ad(0x1fd)](){const _0x151706=_0x58e3ad,_0x3a6f38=this[_0x151706(0x202)][_0x151706(0x206)][_0x151706(0x209)][_0x151706(0x1f6)][_0x151706(0x201)]();this[_0x151706(0x1f0)]=this[_0x151706(0x1f5)](_0x3a6f38);}[_0x58e3ad(0x20b)](){const _0x17fdd1=_0x58e3ad;this[_0x17fdd1(0x1ee)]&&(this[_0x17fdd1(0x1ff)](_0x17fdd1(0x1f7)),this[_0x17fdd1(0x1ee)]=void 0x0);const _0x554caf=this[_0x17fdd1(0x202)][_0x17fdd1(0x206)][_0x17fdd1(0x209)][_0x17fdd1(0x1f6)][_0x17fdd1(0x201)]();_0x554caf&&(_0x554caf['is'](_0x17fdd1(0x1f3),_0x17fdd1(0x1f4))||_0x554caf['is'](_0x17fdd1(0x1f3),_0x17fdd1(0x1fb)))&&(this[_0x17fdd1(0x1ee)]=new _0x6c0a6b(this[_0x17fdd1(0x202)],this[_0x17fdd1(0x202)][_0x17fdd1(0x207)][_0x17fdd1(0x204)](_0x399eaf),_0x554caf),this[_0x17fdd1(0x208)](_0x17fdd1(0x1f7))['to'](this[_0x17fdd1(0x1ee)],_0x17fdd1(0x1f7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));}}
23
+ const _0xc62853=_0x21b3;(function(_0xd64c26,_0x496d59){const _0x492234=_0x21b3,_0x270c7b=_0xd64c26();while(!![]){try{const _0x17d5e9=-parseInt(_0x492234(0x18a))/0x1+-parseInt(_0x492234(0x193))/0x2*(-parseInt(_0x492234(0x189))/0x3)+parseInt(_0x492234(0x187))/0x4*(parseInt(_0x492234(0x18e))/0x5)+parseInt(_0x492234(0x184))/0x6+parseInt(_0x492234(0x191))/0x7*(-parseInt(_0x492234(0x196))/0x8)+parseInt(_0x492234(0x18f))/0x9*(-parseInt(_0x492234(0x188))/0xa)+parseInt(_0x492234(0x18b))/0xb*(parseInt(_0x492234(0x185))/0xc);if(_0x17d5e9===_0x496d59)break;else _0x270c7b['push'](_0x270c7b['shift']());}catch(_0x279df6){_0x270c7b['push'](_0x270c7b['shift']());}}}(_0x57ec,0xadc02));import{Plugin as _0x412808}from'ckeditor5/src/core.js';import{Notification as _0x24b426}from'ckeditor5/src/ui.js';function _0x21b3(_0x256df2,_0x22b555){const _0x57ec71=_0x57ec();return _0x21b3=function(_0x21b3fe,_0x5b3f97){_0x21b3fe=_0x21b3fe-0x182;let _0x3138bb=_0x57ec71[_0x21b3fe];return _0x3138bb;},_0x21b3(_0x256df2,_0x22b555);}import _0x3e5236 from'./uploadcareimageeditcommand.js';import _0x3076ef from'./uploadcareimagereplacecommand.js';function _0x57ec(){const _0x57bc4b=['13915uARaJG','uploadcareImageEdit','UploadcareImageEditEditing','161735Kzkilb','261576nkvVgo','requires','290584rQxZrO','isOfficialPlugin','2fDYLWq','commands','add','32nPiZpw','ImageEditing','uploadcareImageReplace','ImageUtils','isPremiumPlugin','init','2389806QsgVsf','696JbNgUN','pluginName','108zCJrAk','360oNGNNZ','2467767dbWEfF','243595fDgRGK'];_0x57ec=function(){return _0x57bc4b;};return _0x57ec();}import _0x3ff25e from'../uploadcareediting.js';export default class g extends _0x412808{static get[_0xc62853(0x186)](){const _0x1366fd=_0xc62853;return _0x1366fd(0x18d);}static get[_0xc62853(0x190)](){const _0x7633c=_0xc62853;return[_0x3ff25e,_0x24b426,_0x7633c(0x199),_0x7633c(0x197)];}static get[_0xc62853(0x192)](){return!0x0;}static get[_0xc62853(0x182)](){return!0x0;}[_0xc62853(0x183)](){const _0x5cc02d=_0xc62853,{editor:_0x3f7647}=this;_0x3f7647[_0x5cc02d(0x194)][_0x5cc02d(0x195)](_0x5cc02d(0x18c),new _0x3e5236(_0x3f7647)),_0x3f7647[_0x5cc02d(0x194)][_0x5cc02d(0x195)](_0x5cc02d(0x198),new _0x3076ef(_0x3f7647));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']();});}}
23
+ import{Plugin as _0x385c35}from'ckeditor5/src/core.js';import{ButtonView as _0x3e9340}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x19bc73}from'ckeditor5/src/icons.js';import{createElement as _0x7962b8}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 _0x385c35{['_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 _0x2ef41b=this['editor'];_0x2ef41b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7cfb8d=>{const _0x308bc8=_0x2ef41b['commands']['get']('uploadcareImageEdit'),_0x2aef2e=new _0x3e9340(_0x7cfb8d),t=_0x7cfb8d['t'];return _0x2aef2e['set']({'icon':_0x19bc73,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2aef2e['bind']('isEnabled')['to'](_0x308bc8),_0x2aef2e['bind']('isOn')['to'](_0x308bc8,'isActive'),this['listenTo'](_0x2aef2e,'execute',()=>{_0x2ef41b['execute']('uploadcareImageEdit'),_0x2ef41b['editing']['view']['focus']();}),_0x2aef2e;}),this['_initConfig']();}['_initConfig'](){const _0x67114=_0x7962b8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x67114),this['listenTo'](this['editor'],'destroy',()=>{_0x67114['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}}
23
+ function _0x5da3(_0x45a0e2,_0x63a8b){const _0x510ee4=_0x510e();return _0x5da3=function(_0x5da3a9,_0x35a795){_0x5da3a9=_0x5da3a9-0xea;let _0x5f5928=_0x510ee4[_0x5da3a9];return _0x5f5928;},_0x5da3(_0x45a0e2,_0x63a8b);}const _0x371191=_0x5da3;(function(_0x54d548,_0x2b513b){const _0x38af2b=_0x5da3,_0x21228e=_0x54d548();while(!![]){try{const _0x296a69=parseInt(_0x38af2b(0xfa))/0x1+parseInt(_0x38af2b(0xee))/0x2*(parseInt(_0x38af2b(0xf2))/0x3)+-parseInt(_0x38af2b(0xf3))/0x4*(-parseInt(_0x38af2b(0xf5))/0x5)+-parseInt(_0x38af2b(0x100))/0x6+parseInt(_0x38af2b(0x102))/0x7*(parseInt(_0x38af2b(0xfc))/0x8)+-parseInt(_0x38af2b(0xf6))/0x9*(parseInt(_0x38af2b(0x104))/0xa)+-parseInt(_0x38af2b(0xeb))/0xb;if(_0x296a69===_0x2b513b)break;else _0x21228e['push'](_0x21228e['shift']());}catch(_0x3a6eb8){_0x21228e['push'](_0x21228e['shift']());}}}(_0x510e,0x3b7bc));import{Command as _0x10b3bf}from'ckeditor5/src/core.js';function _0x510e(){const _0x4c36f4=['removeAttribute','isEnabled','selection','29892EtIytu','1884548RVdGPR','document','5BpIbfc','9DgjnAn','element','refresh','execute','301043xpcBRB','getSelectedElement','8Mpssnz','imageBlock','setAttributes','srcset','464526bpBYQG','imageInline','2116345udUXUW','model','1025330BnkdLZ','change','8475335rnUmmF','editor','sizes','24bqcLLn'];_0x510e=function(){return _0x4c36f4;};return _0x510e();}export default class O extends _0x10b3bf{[_0x371191(0xf8)](){const _0x53073f=_0x371191,_0x4f8e6a=this[_0x53073f(0xec)][_0x53073f(0x103)][_0x53073f(0xf4)][_0x53073f(0xf1)][_0x53073f(0xfb)]();this[_0x53073f(0xf0)]=Boolean(_0x4f8e6a&&(_0x4f8e6a['is'](_0x53073f(0xf7),_0x53073f(0xfd))||_0x4f8e6a['is'](_0x53073f(0xf7),_0x53073f(0x101))));}[_0x371191(0xf9)](_0xb9ae3a){const _0x3a5bb7=_0x371191,_0x59ca0c=this[_0x3a5bb7(0xec)][_0x3a5bb7(0x103)][_0x3a5bb7(0xf4)][_0x3a5bb7(0xf1)][_0x3a5bb7(0xfb)]();this[_0x3a5bb7(0xec)][_0x3a5bb7(0x103)][_0x3a5bb7(0xea)](_0x120c6d=>{const _0x81c6a8=_0x3a5bb7;_0x120c6d[_0x81c6a8(0xfe)](_0xb9ae3a,_0x59ca0c),_0x120c6d[_0x81c6a8(0xef)](_0x81c6a8(0xff),_0x59ca0c),_0x120c6d[_0x81c6a8(0xef)](_0x81c6a8(0xed),_0x59ca0c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x50c252=_0x492a;(function(_0x571691,_0x44b2c5){var _0x149d4f=_0x492a,_0x2edecd=_0x571691();while(!![]){try{var _0x28f0ea=parseInt(_0x149d4f(0x153))/0x1*(-parseInt(_0x149d4f(0x152))/0x2)+-parseInt(_0x149d4f(0x14d))/0x3*(-parseInt(_0x149d4f(0x14e))/0x4)+-parseInt(_0x149d4f(0x154))/0x5+-parseInt(_0x149d4f(0x150))/0x6+-parseInt(_0x149d4f(0x149))/0x7+-parseInt(_0x149d4f(0x157))/0x8*(parseInt(_0x149d4f(0x156))/0x9)+parseInt(_0x149d4f(0x151))/0xa;if(_0x28f0ea===_0x44b2c5)break;else _0x2edecd['push'](_0x2edecd['shift']());}catch(_0x318587){_0x2edecd['push'](_0x2edecd['shift']());}}}(_0x3481,0x31c86));import{Plugin as _0xeaf40a}from'ckeditor5/src/core.js';import _0x516b2b from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x3481(){var _0x1a894a=['isOfficialPlugin','requires','UploadcareImageEdit','3oiaswm','1036940kGjMME','pluginName','762060NbpfJk','11898060rwfjLw','70QkDcFf','3346xrWGgR','1506010YCkHUq','isPremiumPlugin','99783wXsoAB','248IzGQVT','2492784zvlSyf'];_0x3481=function(){return _0x1a894a;};return _0x3481();}import _0x3c0bc7 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x492a(_0x561172,_0xefc8c){var _0x34812b=_0x3481();return _0x492a=function(_0x492a35,_0x4d1a5e){_0x492a35=_0x492a35-0x149;var _0x431ec3=_0x34812b[_0x492a35];return _0x431ec3;},_0x492a(_0x561172,_0xefc8c);}export default class P extends _0xeaf40a{static get[_0x50c252(0x14f)](){var _0x18a757=_0x50c252;return _0x18a757(0x14c);}static get[_0x50c252(0x14b)](){return[_0x516b2b,_0x3c0bc7];}static get[_0x50c252(0x14a)](){return!0x0;}static get[_0x50c252(0x155)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;});}}
23
+ function _0x5a82(){const _0x2fdb45=['uploadcare','upload','Facebook','3353466CRgtSR','6VNUxCF','1215spKqHt','2551710CbJgyN','_createMenuBarButtons','GDrive','push','withText','execute','uploadcareLicenseKeyTrialLimit','5254648CXvhcj','usageLimit','isEnabled','uploadcareLicenseKeyNotAllowed','Replace','init','pluginName','map','text','ImageInsertUI','URL','UploadcareUI','config','OneDrive','destroy','assetManager','_createButton','uploadcareLicenseKeyUsageLimit','locale','forEach','commands','uploadcareLicenseKeyExpired','Uploadcare','evaluationLimit','_createToolbarButton','uploadcareLicenseKeyValid','entries','url','2918955fofTSf','featureNotAllowed','reduce','type','label','isPremiumPlugin','tooltip','isImageSelected','_normalizeConfigSourceList','expired','351765jbDrgz','registerIntegration','9738816nGmnqD','shortText','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','4iMBQIV','bind','afterInit','domainLimit','get','isOfficialPlugin','131110JcXVcy','Local','plugins','editor','_createDropdownButtons','Dropbox','trialLimit','_licenseKeyCheckInterval','Insert','licenseKey','_showLicenseError','_getIntegrationKey','invalid','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyInvalid','GPhotos','icon','has'];_0x5a82=function(){return _0x2fdb45;};return _0x5a82();}const _0x395591=_0x2a52;(function(_0x209a20,_0x5aab38){const _0x4b2706=_0x2a52,_0x2bd7f2=_0x209a20();while(!![]){try{const _0x258f3f=-parseInt(_0x4b2706(0xe1))/0x1*(parseInt(_0x4b2706(0xe7))/0x2)+-parseInt(_0x4b2706(0x102))/0x3+-parseInt(_0x4b2706(0xbb))/0x4+parseInt(_0x4b2706(0xd7))/0x5+-parseInt(_0x4b2706(0x103))/0x6*(-parseInt(_0x4b2706(0x105))/0x7)+parseInt(_0x4b2706(0xe3))/0x8+parseInt(_0x4b2706(0x104))/0x9*(parseInt(_0x4b2706(0xed))/0xa);if(_0x258f3f===_0x5aab38)break;else _0x2bd7f2['push'](_0x2bd7f2['shift']());}catch(_0x9124c3){_0x2bd7f2['push'](_0x2bd7f2['shift']());}}}(_0x5a82,0xc3784));import{Plugin as _0x670041}from'ckeditor5/src/core.js';import{IconDropbox as _0x2c9034,IconFacebook as _0x4626d7,IconGoogleDrive as _0x10495a,IconGooglePhotos as _0x5b3024,IconUploadcareImageUpload as _0x16889c,IconUploadcareLink as _0x210e9d,IconOneDrive as _0x5d2f14}from'ckeditor5/src/icons.js';import{ButtonView as _0x52768d,MenuBarMenuListItemButtonView as _0x47321b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3be4f8}from'./uploadcareconfig.js';import{getTranslation as _0x23e467}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x2a52(_0x460404,_0x189254){const _0x5a826a=_0x5a82();return _0x2a52=function(_0x2a5259,_0xd396f0){_0x2a5259=_0x2a5259-0xba;let _0x9e744d=_0x5a826a[_0x2a5259];return _0x9e744d;},_0x2a52(_0x460404,_0x189254);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x670041{[_0x395591(0xf6)];[_0x395591(0xf4)];static get[_0x395591(0xc1)](){const _0xaa71b2=_0x395591;return _0xaa71b2(0xc6);}static get[_0x395591(0xec)](){return!0x0;}static get[_0x395591(0xdc)](){return!0x0;}[_0x395591(0xc0)](){const _0x3cc772=_0x395591;this[_0x3cc772(0xf6)]=this[_0x3cc772(0xf0)][_0x3cc772(0xc7)][_0x3cc772(0xeb)](_0x3cc772(0xf6));const _0x3ea97b=this[_0x3cc772(0xf0)];this[_0x3cc772(0xf4)]=setInterval(()=>{const _0x1f7807=_0x3cc772;let _0x36f07e;for(const _0x78ff1 in _0x3ea97b){const _0x39e913=_0x78ff1,_0x37cccc=_0x3ea97b[_0x39e913];if(_0x1f7807(0xd4)==_0x37cccc||_0x1f7807(0xfb)==_0x37cccc||_0x1f7807(0xd0)==_0x37cccc||_0x1f7807(0xe5)==_0x37cccc||_0x1f7807(0xbe)==_0x37cccc||_0x1f7807(0xfa)==_0x37cccc||_0x1f7807(0xba)==_0x37cccc||_0x1f7807(0xcc)==_0x37cccc){delete _0x3ea97b[_0x39e913],_0x36f07e=_0x37cccc,clearInterval(this[_0x1f7807(0xf4)]),this[_0x1f7807(0xf4)]=void 0x0;break;}}_0x1f7807(0xfb)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xf9)),_0x1f7807(0xd0)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xe0)),_0x1f7807(0xe5)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xea)),_0x1f7807(0xbe)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xd8),_0x1f7807(0xd1)),_0x1f7807(0xfa)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xd2)),_0x1f7807(0xba)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xf3)),_0x1f7807(0xcc)==_0x36f07e&&_0x3ea97b[_0x1f7807(0xf7)](_0x1f7807(0xbc));},0x3e8);}[_0x395591(0xe9)](){const _0xd8280d=_0x395591,{editor:_0x2d529c}=this,_0x3f38d3=_0x2d529c[_0xd8280d(0xcf)][_0xd8280d(0xeb)](_0xd8280d(0xff));if(!_0x3f38d3)return;const _0x3b0fae=this[_0xd8280d(0xdf)](_0x2d529c[_0xd8280d(0xc7)][_0xd8280d(0xeb)](_0xd8280d(0xe6)))[_0xd8280d(0xd9)]((_0x4e3ff9,_0x5e55a8)=>{const _0x46d9ea=_0xd8280d,_0x5217f7=this[_0x46d9ea(0xf8)](_0x5e55a8[_0x46d9ea(0xda)]);return _0x4e3ff9[_0x5217f7]||(_0x4e3ff9[_0x5217f7]=[]),_0x4e3ff9[_0x5217f7][_0x46d9ea(0x108)](_0x5e55a8),_0x4e3ff9;},{});_0x2d529c[_0xd8280d(0xef)][_0xd8280d(0xfe)](_0xd8280d(0xc4))&&_0x2d529c[_0xd8280d(0xcf)][_0xd8280d(0xeb)](_0xd8280d(0xff))&&Object[_0xd8280d(0xd5)](_0x3b0fae)[_0xd8280d(0xce)](([_0x507d4d,_0x2cf264])=>{const _0x1e1dd1=_0xd8280d;_0x2d529c[_0x1e1dd1(0xef)][_0x1e1dd1(0xeb)](_0x1e1dd1(0xc4))[_0x1e1dd1(0xe2)]({'name':_0x507d4d,'observable':()=>_0x3f38d3,'buttonViewCreator':()=>this[_0x1e1dd1(0xd3)](_0x2cf264),'formViewCreator':()=>this[_0x1e1dd1(0xf1)](_0x2cf264),'menuBarButtonViewCreator':()=>this[_0x1e1dd1(0x106)](_0x2cf264),'override':_0x1e1dd1(0xca)!==_0x507d4d});});}[_0x395591(0xc9)](){const _0x47f052=_0x395591;super[_0x47f052(0xc9)](),this[_0x47f052(0xf4)]&&clearInterval(this[_0x47f052(0xf4)]);}[_0x395591(0xdf)](_0x3cc016){const _0x98e9d9=_0x395591,{locale:_0x269903}=this[_0x98e9d9(0xf0)];return _0x3cc016[_0x98e9d9(0xc2)](_0x12da88=>{const _0x40092d=_0x98e9d9,_0x24dd66=_0x23e467(_0x269903,_0x12da88,_0x40092d(0xf5));switch(_0x12da88){case _0x3be4f8[_0x40092d(0xee)]:return{'icon':_0x16889c,'type':_0x3be4f8[_0x40092d(0xee)],..._0x24dd66};case _0x3be4f8[_0x40092d(0xc5)]:return{'icon':_0x210e9d,'type':_0x3be4f8[_0x40092d(0xc5)],..._0x24dd66};case _0x3be4f8[_0x40092d(0xf2)]:return{'icon':_0x2c9034,'type':_0x3be4f8[_0x40092d(0xf2)],..._0x24dd66};case _0x3be4f8[_0x40092d(0x101)]:return{'icon':_0x4626d7,'type':_0x3be4f8[_0x40092d(0x101)],..._0x24dd66};case _0x3be4f8[_0x40092d(0x107)]:return{'icon':_0x10495a,'type':_0x3be4f8[_0x40092d(0x107)],..._0x24dd66};case _0x3be4f8[_0x40092d(0xfc)]:return{'icon':_0x5b3024,'type':_0x3be4f8[_0x40092d(0xfc)],..._0x24dd66};case _0x3be4f8[_0x40092d(0xc8)]:return{'icon':_0x5d2f14,'type':_0x3be4f8[_0x40092d(0xc8)],..._0x24dd66};}});}[_0x395591(0xf8)](_0x154f0f){const _0x446ab5=_0x395591;switch(_0x154f0f){case _0x3be4f8[_0x446ab5(0xee)]:return _0x446ab5(0x100);case _0x3be4f8[_0x446ab5(0xc5)]:return _0x446ab5(0xd6);default:return _0x446ab5(0xca);}}[_0x395591(0xcb)](_0x4cc3b7,_0x54d0ee){const _0x4e48fa=_0x395591,_0x59319d=this[_0x4e48fa(0xf0)],_0x15e800=new _0x4cc3b7(_0x59319d[_0x4e48fa(0xcd)]),_0x580924=_0x59319d[_0x4e48fa(0xcf)][_0x4e48fa(0xeb)](_0x4e48fa(0xff));return _0x15e800[_0x4e48fa(0xe8)](_0x4e48fa(0xbd))['to'](_0x580924),_0x15e800['on'](_0x4e48fa(0x10a),()=>{const _0x2dfd16=_0x4e48fa;_0x580924[_0x2dfd16(0x10a)](_0x54d0ee);}),_0x15e800;}[_0x395591(0xd3)](_0x2d72ac){const _0x1861c8=_0x395591,{locale:_0x1bb9c3}=this[_0x1861c8(0xf0)],_0x2abde2=this[_0x1861c8(0xf0)][_0x1861c8(0xef)][_0x1861c8(0xeb)](_0x1861c8(0xc4)),_0x2ee78e=_0x2d72ac[0x0],_0x308a7b=this[_0x1861c8(0xcb)](_0x52768d,_0x2ee78e[_0x1861c8(0xda)]);return _0x308a7b[_0x1861c8(0xfd)]=_0x2ee78e[_0x1861c8(0xfd)],_0x308a7b[_0x1861c8(0xe8)](_0x1861c8(0xdb))['to'](_0x2abde2,_0x1861c8(0xde),_0x32a56c=>_0x23e467(_0x1bb9c3,_0x2ee78e[_0x1861c8(0xda)],_0x32a56c?_0x1861c8(0xbf):_0x1861c8(0xf5))[_0x1861c8(0xc3)]),_0x308a7b[_0x1861c8(0xdd)]=!0x0,_0x308a7b;}[_0x395591(0xf1)](_0x33162f){const _0x4893a9=_0x395591,{locale:_0x219522}=this[_0x4893a9(0xf0)],_0x4c6d8a=this[_0x4893a9(0xf0)][_0x4893a9(0xef)][_0x4893a9(0xeb)](_0x4893a9(0xc4));return _0x33162f[_0x4893a9(0xc2)](_0x5b3b79=>{const _0x3031f6=_0x4893a9,_0x508b24=this[_0x3031f6(0xcb)](_0x52768d,_0x5b3b79[_0x3031f6(0xda)]);return _0x508b24[_0x3031f6(0x109)]=!0x0,_0x508b24[_0x3031f6(0xfd)]=_0x5b3b79[_0x3031f6(0xfd)],_0x508b24[_0x3031f6(0xe8)](_0x3031f6(0xdb))['to'](_0x4c6d8a,_0x3031f6(0xde),_0x51e0a7=>_0x23e467(_0x219522,_0x5b3b79[_0x3031f6(0xda)],_0x51e0a7?_0x3031f6(0xbf):_0x3031f6(0xf5))[_0x3031f6(0xc3)]),_0x508b24;});}[_0x395591(0x106)](_0x414492){const _0x1bfe59=_0x395591;return _0x414492[_0x1bfe59(0xc2)](_0xb57d8d=>{const _0x284cba=_0x1bfe59,_0x1fd26f=this[_0x284cba(0xcb)](_0x47321b,_0xb57d8d[_0x284cba(0xda)]);return _0x1fd26f[_0x284cba(0xfd)]=_0xb57d8d[_0x284cba(0xfd)],_0x1fd26f[_0x284cba(0xdb)]=_0xb57d8d[_0x284cba(0xe4)],_0x1fd26f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']();}}
23
+ import{Plugin as _0x2f9c6b}from'ckeditor5/src/core.js';import{FileRepository as _0x3b0efc}from'ckeditor5/src/upload.js';import _0x243787 from'./uploadcareediting.js';import _0x2b9d73 from'./utils/uploadutils.js';import{getImageUrls as _0x1c6545}from'./utils/editingutils.js';export default class p extends _0x2f9c6b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3b0efc,_0x243787];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x34fa74=this['editor'];if(!!!_0x34fa74['config']['get']('uploadcare'))return;_0x34fa74['plugins']['get'](_0x3b0efc)['createUploadAdapter']=_0x47d72e=>new x(_0x47d72e,_0x34fa74),_0x34fa74['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5e2adc,{imageElement:_0x1d070e,data:_0x51c69b})=>{_0x34fa74['model']['change'](_0x4403b7=>{_0x4403b7['setAttribute']('uploadcareImageId',_0x51c69b['uploadcareImageId'],_0x1d070e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x585877,_0x4dfee1){this['loader']=_0x585877,this['editor']=_0x4dfee1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc6b18c=this['editor']['config']['get']('uploadcare.pubkey'),_0x4d1528=await this['loader']['file'];return _0x2b9d73['upload']({'file':_0x4d1528,'publicKey':_0xc6b18c,'signal':this['controller']['signal'],'onProgress':_0x52b2fe=>{_0x52b2fe&&_0x52b2fe['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x52b2fe['value']);}})['then'](async _0x394114=>{const {imageFallbackUrl:_0x36f444,imageSources:_0x2a5a64}=_0x1c6545(_0x394114['cdnUrl'],_0x394114['imageInfo']['width']);return{'uploadcareImageId':_0x394114['uuid'],'default':_0x36f444,'sources':_0x2a5a64};})['catch'](()=>{const _0x4eb15d=t('Cannot\x20upload\x20file:')+('\x20'+_0x4d1528['name']+'.');return Promise['reject'](_0x4eb15d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ import{UploadcareSource as _0x5788ec}from'../uploadcareconfig.js';export function getTranslation(_0x2626a6,_0x435553,_0x2c87aa){const t=_0x2626a6['t'],_0xffd739=_0x2626a6['t'];switch(_0x435553){case _0x5788ec['Local']:return{'text':_0xffd739('Insert'===_0x2c87aa?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xffd739('From\x20computer')};case _0x5788ec['URL']:return{'text':'Insert'===_0x2c87aa?_0xffd739('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xffd739('Via\x20URL')};case _0x5788ec['Dropbox']:return{'text':t('Insert'===_0x2c87aa?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5788ec['Facebook']:return{'text':t('Insert'===_0x2c87aa?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5788ec['GDrive']:return{'text':t('Insert'===_0x2c87aa?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5788ec['GPhotos']:return{'text':t('Insert'===_0x2c87aa?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5788ec['OneDrive']:return{'text':t('Insert'===_0x2c87aa?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x435553;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));})}};}}
23
+ var _0x53d48d=_0x10e3;(function(_0xb3604f,_0x1ef2d7){var _0x3adfae=_0x10e3,_0x8f6114=_0xb3604f();while(!![]){try{var _0x42e5cb=-parseInt(_0x3adfae(0x133))/0x1+parseInt(_0x3adfae(0x134))/0x2+-parseInt(_0x3adfae(0x13b))/0x3*(-parseInt(_0x3adfae(0x135))/0x4)+parseInt(_0x3adfae(0x12f))/0x5+-parseInt(_0x3adfae(0x131))/0x6*(parseInt(_0x3adfae(0x12e))/0x7)+parseInt(_0x3adfae(0x12c))/0x8*(parseInt(_0x3adfae(0x139))/0x9)+parseInt(_0x3adfae(0x12d))/0xa*(-parseInt(_0x3adfae(0x13a))/0xb);if(_0x42e5cb===_0x1ef2d7)break;else _0x8f6114['push'](_0x8f6114['shift']());}catch(_0x33fb74){_0x8f6114['push'](_0x8f6114['shift']());}}}(_0x2e86,0xbc6ff));import{FocusTracker as _0x56284e}from'ckeditor5/src/utils.js';import{View as _0x1b221d,FocusCycler as _0x29ef65}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class G extends _0x1b221d{[_0x53d48d(0x13d)];[_0x53d48d(0x137)];constructor(_0x5c4f78){var _0x1a8366=_0x53d48d;super(_0x5c4f78),this[_0x1a8366(0x13d)]=new _0x56284e(),this[_0x1a8366(0x137)]=new _0x29ef65({'focusables':this[_0x1a8366(0x12a)](),'focusTracker':this[_0x1a8366(0x13d)]});}[_0x53d48d(0x138)](){var _0x1677af=_0x53d48d;return{'tag':_0x1677af(0x132),'attributes':{'aria-hidden':_0x1677af(0x12b),'tabindex':'0'},'on':{'focus':this[_0x1677af(0x136)]['to'](()=>{var _0x3ed6b8=_0x1677af;this[_0x3ed6b8(0x137)][_0x3ed6b8(0x130)](_0x3ed6b8(0x13c));})}};}}function _0x10e3(_0x1b275b,_0x3af9f7){var _0x2e8666=_0x2e86();return _0x10e3=function(_0x10e32,_0x3a2b9c){_0x10e32=_0x10e32-0x12a;var _0x3b47ba=_0x2e8666[_0x10e32];return _0x3b47ba;},_0x10e3(_0x1b275b,_0x3af9f7);}function _0x2e86(){var _0x192883=['220JuLxtU','35DmvTDo','5302670UmENaY','fire','1085790wlYxSd','div','905859bMHrIr','2789840yIGtRx','4uEWNvn','bindTemplate','focusCycler','getFocusableElement','9pNUTCH','1201343tiJoLE','4134375FyEwTe','forwardCycle','focusTracker','createCollection','true','9213040TfPQfF'];_0x2e86=function(){return _0x192883;};return _0x2e86();}