@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.0 → 47.5.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c8c37=_0x456c;(function(_0x22bff4,_0x3859fc){const _0x39e66d=_0x456c,_0x5a21e7=_0x22bff4();while(!![]){try{const _0x2b955d=parseInt(_0x39e66d(0x14e))/0x1*(parseInt(_0x39e66d(0x15f))/0x2)+parseInt(_0x39e66d(0x129))/0x3+-parseInt(_0x39e66d(0x12b))/0x4*(-parseInt(_0x39e66d(0x14f))/0x5)+-parseInt(_0x39e66d(0x11e))/0x6+-parseInt(_0x39e66d(0x126))/0x7+parseInt(_0x39e66d(0x145))/0x8+parseInt(_0x39e66d(0x142))/0x9*(parseInt(_0x39e66d(0x131))/0xa);if(_0x2b955d===_0x3859fc)break;else _0x5a21e7['push'](_0x5a21e7['shift']());}catch(_0x433527){_0x5a21e7['push'](_0x5a21e7['shift']());}}}(_0x17df,0x5afd9));import{Plugin as _0x447c8a}from'ckeditor5/src/core.js';import{Dialog as _0x3fcf31}from'ckeditor5/src/ui.js';import{createElement as _0x597762,global as _0x18cabd,uid as _0x4f4101}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4d190d}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5aedb0}from'./uploadcareuploadadapter.js';function _0x456c(_0x2eb00b,_0x22a174){const _0x17df3d=_0x17df();return _0x456c=function(_0x456cd6,_0xbb9c6b){_0x456cd6=_0x456cd6-0x10c;let _0x24d201=_0x17df3d[_0x456cd6];return _0x24d201;},_0x456c(_0x2eb00b,_0x22a174);}function _0x17df(){const _0x322208=['uploadcare','configElement','href','destroy','getSelectedElement','input[uploadcare-file-input]','imageInline','join','1DnxSPu','1175ykTchp','init','querySelector','execute','editing','fromCharCode','view','afterInit','upcast','pluginName','_initSchema','commands','data-uc-image-id','uploadcareImageReplace','locale','extend','211604pgKwfp','\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','removeAttribute','#uc-icon-arrow-down','imageBlock','selection','appendChild','ctxElement','render','getAttribute','listenTo','conversion','uploadcare.pubkey','_ctxElement','closeMax','_initConfig','insertImage','_initConversion','UploadcareEditing','attributeToAttribute','2610462VszAoS','schema','downcast','_initCtx','_configElement','isRegistered','once','model','3135349kwPqkx','uploader-','replaceImageSource','439764iUhMWh','isPremiumPlugin','6732qaBxYz','map','uploadcare.uploader','uc-upload-ctx-provider','add','_initImageProcessingIndicator','5450Esireo','remove','contentLanguage','isOfficialPlugin','document','iconHrefResolver','uploadcareImageId','PictureEditing','requires','get','editor','elementToAttribute','config','true','ucContextId','uc-config','cleanupImage','10035cXWsjj','body','for','888fHxmfz'];_0x17df=function(){return _0x322208;};return _0x17df();}import{showImageProcessingIndicator as _0x43dfd6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x447c8a{[_0x2c8c37(0x122)]=null;[_0x2c8c37(0x117)]=null;static get[_0x2c8c37(0x158)](){const _0x2809c5=_0x2c8c37;return _0x2809c5(0x11c);}static get[_0x2c8c37(0x139)](){const _0x3efe90=_0x2c8c37;return[_0x3efe90(0x138),_0x5aedb0,_0x3fcf31];}static get[_0x2c8c37(0x134)](){return!0x0;}static get[_0x2c8c37(0x12a)](){return!0x0;}[_0x2c8c37(0x13f)];get[_0x2c8c37(0x147)](){const _0x2ea46e=_0x2c8c37;return this[_0x2ea46e(0x122)];}get[_0x2c8c37(0x111)](){const _0x163fd4=_0x2c8c37;return this[_0x163fd4(0x117)];}constructor(_0x2855d0){const _0x4035d3=_0x2c8c37;super(_0x2855d0),this[_0x4035d3(0x13f)]=_0x4f4101();}[_0x2c8c37(0x150)](){const _0x1b5eb0=_0x2c8c37,_0x4633c2=this[_0x1b5eb0(0x13b)];_0x4633c2[_0x1b5eb0(0x15a)][_0x1b5eb0(0x12f)](_0x1b5eb0(0x146),new _0x4d190d(_0x4633c2));}[_0x2c8c37(0x156)](){const _0x520f61=_0x2c8c37;this[_0x520f61(0x159)](),this[_0x520f61(0x11b)](),this[_0x520f61(0x119)](),this[_0x520f61(0x121)](),this[_0x520f61(0x130)](),this[_0x520f61(0x114)](this[_0x520f61(0x13b)],_0x520f61(0x149),()=>{const _0x365ce1=_0x520f61;this[_0x365ce1(0x122)]&&(this[_0x365ce1(0x122)][_0x365ce1(0x132)](),this[_0x365ce1(0x122)]=null),this[_0x365ce1(0x117)]&&(this[_0x365ce1(0x117)][_0x365ce1(0x132)](),this[_0x365ce1(0x117)]=null);const _0x42a45d=_0x18cabd[_0x365ce1(0x135)][_0x365ce1(0x151)](_0x365ce1(0x14b));_0x42a45d&&_0x42a45d[_0x365ce1(0x132)]();}),async function(_0x140f05){const _0x3d3433=_0x6f2905([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x116559=0x535f8c3a,_0x4eed6d=0x53580cfa^_0x116559,_0x12b689=window[_0x6f2905([0x44,0x61,0x74,0x65])][_0x6f2905([0x6e,0x6f,0x77])](),_0xdbb631=_0x140f05[_0x6f2905([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd1b914=new window[(_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a51f8=>{_0xdbb631[_0x6f2905([0x6f,0x6e,0x63,0x65])](_0x6f2905([0x72,0x65,0x61,0x64,0x79]),_0x3a51f8);}),_0x2ef78a={[_0x6f2905([0x6b,0x74,0x79])]:_0x6f2905([0x45,0x43]),[_0x6f2905([0x75,0x73,0x65])]:_0x6f2905([0x73,0x69,0x67]),[_0x6f2905([0x63,0x72,0x76])]:_0x6f2905([0x50,0x2d,0x32,0x35,0x36]),[_0x6f2905([0x78])]:_0x6f2905([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]),[_0x6f2905([0x79])]:_0x6f2905([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]),[_0x6f2905([0x61,0x6c,0x67])]:_0x6f2905([0x45,0x53,0x32,0x35,0x36])},_0x7a5b38=_0xdbb631[_0x6f2905([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6f2905([0x67,0x65,0x74])](_0x6f2905([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19db4c(){let _0x40cc1f,_0xc390ac=null,_0x1d8d9f=null;try{if(_0x7a5b38==_0x6f2905([0x47,0x50,0x4c]))return _0x6f2905([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40cc1f=_0x2a35b5(),!_0x40cc1f)return _0x6f2905([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40cc1f[_0x6f2905([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d8d9f=_0x1c4bc7(_0x40cc1f[_0x6f2905([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40cc1f[_0x6f2905([0x6a,0x74,0x69])])),await _0x56a466()?_0x2a37d6()?_0x2764f8()?_0x6f2905([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x717954()?(_0x40cc1f[_0x6f2905([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6f2905([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xc390ac=_0x318b2b(_0x6f2905([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a8c2a()):_0x6f2905([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6f2905([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6f2905([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6f2905([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2764f8(){const _0x49fd7c=[_0x6f2905([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6f2905([0x74,0x72,0x69,0x61,0x6c])][_0x6f2905([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40cc1f[_0x6f2905([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12b689/0x3e8:0xe10*_0x4eed6d;return _0x40cc1f[_0x6f2905([0x65,0x78,0x70])]<_0x49fd7c;}function _0x2a37d6(){const _0x1831e5=_0x40cc1f[_0x6f2905([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1831e5&&(!!_0x1831e5[_0x6f2905([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6f2905([0x2a]))||!!_0x1831e5[_0x6f2905([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6f2905([0x55,0x50,0x4c,0x43])));}function _0x717954(){const _0x1a5535=_0x456c,_0xfcaddf=_0x40cc1f[_0x6f2905([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfcaddf||0x0==_0xfcaddf[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44db6d}=new URL(window[_0x6f2905([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1a5535(0x148)]);if(_0xfcaddf[_0x6f2905([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44db6d))return!0x0;const _0x2a1e8d=_0x44db6d[_0x6f2905([0x73,0x70,0x6c,0x69,0x74])](_0x6f2905([0x2e]));return _0xfcaddf[_0x6f2905([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x122872=>_0x122872[_0x6f2905([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6f2905([0x2a])))[_0x6f2905([0x6d,0x61,0x70])](_0xcd3e6=>_0xcd3e6[_0x6f2905([0x73,0x70,0x6c,0x69,0x74])](_0x6f2905([0x2e])))[_0x6f2905([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5336ab=>_0x5336ab[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2a1e8d[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6f2905([0x6d,0x61,0x70])](_0x259fc8=>Array(_0x2a1e8d[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x259fc8[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6f2905([0x66,0x69,0x6c,0x6c])](_0x259fc8[0x0]===_0x6f2905([0x2a])?_0x6f2905([0x2a]):'')[_0x6f2905([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x259fc8))[_0x6f2905([0x73,0x6f,0x6d,0x65])](_0x1db6b8=>_0x2a1e8d[_0x6f2905([0x65,0x76,0x65,0x72,0x79])]((_0x1bac14,_0xc5c7e6)=>_0x1db6b8[_0xc5c7e6]===_0x1bac14||_0x1db6b8[_0xc5c7e6]===_0x6f2905([0x2a])));}function _0x2a8c2a(){return _0xc390ac&&_0x1d8d9f?new window[(_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcb34ef,_0x5c36dd)=>{_0xc390ac[_0x6f2905([0x74,0x68,0x65,0x6e])](_0xcb34ef,_0x5c36dd),_0x1d8d9f[_0x6f2905([0x74,0x68,0x65,0x6e])](_0x42f984=>{_0x42f984!=_0x6f2905([0x56,0x61,0x6c,0x69,0x64])&&_0xcb34ef(_0x42f984);},_0x5c36dd);}):_0xc390ac||_0x1d8d9f||_0x6f2905([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c4bc7(_0x56a899,_0x53a2b9){return new window[(_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x289123=>{if(_0x1cf6fd())return _0x289123(_0x6f2905([0x56,0x61,0x6c,0x69,0x64]));_0x5e760f(),_0xdbb631[_0x6f2905([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6f2905([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x452277=!0x1;const _0x5cefec=_0x4f4101();function _0x4c056f(_0x280916){return!!_0x280916&&(typeof _0x280916===_0x6f2905([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x280916===_0x6f2905([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x280916[_0x6f2905([0x74,0x68,0x65,0x6e])]===_0x6f2905([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x280916[_0x6f2905([0x63,0x61,0x74,0x63,0x68])]===_0x6f2905([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53c7a1(_0x421e38){_0x2f4615(_0x421e38)[_0x6f2905([0x74,0x68,0x65,0x6e])](_0x42bab1=>{if(!_0x42bab1||_0x42bab1[_0x6f2905([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6f2905([0x6f,0x6b]))return _0x6f2905([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e66e8(_0x486adc(_0x5cefec+_0x53a2b9))!=_0x42bab1[_0x6f2905([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6f2905([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6f2905([0x56,0x61,0x6c,0x69,0x64]);})[_0x6f2905([0x74,0x68,0x65,0x6e])](_0x1b9923=>(_0x498a97(),_0x1b9923),()=>{const _0x31444f=_0x4187f4();return null==_0x31444f?(_0x498a97(),_0x6f2905([0x56,0x61,0x6c,0x69,0x64])):_0x6f2905(_0x12b689-_0x31444f>(0x7753083a^_0x116559)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6f2905([0x74,0x68,0x65,0x6e])](_0x289123)[_0x6f2905([0x63,0x61,0x74,0x63,0x68])](()=>{_0x289123(_0x6f2905([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38f5c7=0x536962ba^_0x116559;function _0x498a97(){const _0x422d83=_0x6f2905([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e66e8(_0x486adc(_0x56a899)),_0xb8b4cd=_0x4577d7(_0x3e66e8(window[_0x6f2905([0x4d,0x61,0x74,0x68])][_0x6f2905([0x63,0x65,0x69,0x6c])](_0x12b689/_0x38f5c7)));window[_0x6f2905([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6f2905([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x422d83,_0xb8b4cd);}function _0x4187f4(){const _0x44293b=_0x6f2905([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e66e8(_0x486adc(_0x56a899)),_0x5c7dcd=window[_0x6f2905([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6f2905([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44293b);return _0x5c7dcd?window[_0x6f2905([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4577d7(_0x5c7dcd),0x10)*_0x38f5c7:null;}function _0x2f4615(_0x171e7f){return new window[(_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40aa6a,_0x14cb49)=>{_0x171e7f[_0x6f2905([0x74,0x68,0x65,0x6e])](_0x40aa6a,_0x14cb49),window[_0x6f2905([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14cb49,0x535e58fa^_0x116559);});}}_0xdbb631[_0x6f2905([0x6f,0x6e])](_0x6f2905([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x575faa,_0x16d97e)=>{if(_0x16d97e[0x0]!=_0x56a899)return _0x289123(_0x6f2905([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16d97e[0x1]={..._0x16d97e[0x1],[_0x6f2905([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cefec};},{[_0x6f2905([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6f2905([0x68,0x69,0x67,0x68])}),_0xdbb631[_0x6f2905([0x6f,0x6e])](_0x6f2905([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x138452=>{_0x4c056f(_0x138452[_0x6f2905([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x452277=!0x0,_0x53c7a1(_0x138452[_0x6f2905([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6f2905([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6f2905([0x6c,0x6f,0x77])}),_0xd1b914[_0x6f2905([0x74,0x68,0x65,0x6e])](()=>{_0x452277||_0x289123(_0x6f2905([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1cf6fd(){return _0xdbb631[_0x6f2905([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6f2905([0x76,0x69,0x65,0x77])][_0x6f2905([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6f2905([0x61,0x75,0x74,0x6f]);}function _0x5e760f(){_0xdbb631[_0x6f2905([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6f2905([0x76,0x69,0x65,0x77])][_0x6f2905([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6f2905([0x61,0x75,0x74,0x6f]);}}function _0x318b2b(_0x5cc000){const _0x159edd=[new window[(_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28d187=>setTimeout(_0x28d187,0x5356b2f6^_0x116559)),_0xd1b914[_0x6f2905([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154642=>{let _0x595a16=0x0;_0xdbb631[_0x6f2905([0x6d,0x6f,0x64,0x65,0x6c])][_0x6f2905([0x6f,0x6e])](_0x6f2905([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x135491,_0x312965)=>{_0x312965[0x0][_0x6f2905([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x595a16++,_0x595a16==(0x535f89d2^_0x116559)&&(_0x154642(),_0x135491[_0x6f2905([0x6f,0x66,0x66])]());});}))];return window[_0x6f2905([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6f2905([0x72,0x61,0x63,0x65])](_0x159edd)[_0x6f2905([0x74,0x68,0x65,0x6e])](()=>_0x5cc000);}async function _0x21db05(){await _0xd1b914,_0xdbb631[_0x6f2905([0x6d,0x6f,0x64,0x65,0x6c])][_0x6f2905([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x274dd4,_0xdbb631[_0x6f2905([0x6d,0x6f,0x64,0x65,0x6c])][_0x6f2905([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x274dd4,_0xdbb631[_0x6f2905([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6f2905([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ee85d(_0x1c3c24){const _0x3097a5=_0x1ba7a5();_0xdbb631[_0x3097a5]=_0x6f2905([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c3c24,_0x1c3c24!=_0x6f2905([0x56,0x61,0x6c,0x69,0x64])&&_0x21db05();}function _0x1ba7a5(){const _0x516223=window[_0x6f2905([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6f2905([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6f2905([0x6e,0x6f,0x77])]())[_0x6f2905([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6f2905([0x2e]),'');let _0xbfd90=_0x6f2905([0x68]);for(let _0x4dd70e=0x0;_0x4dd70e<_0x516223[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4dd70e+=0x2){let _0x1771c7=window[_0x6f2905([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x516223[_0x6f2905([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dd70e,_0x4dd70e+0x2));_0x1771c7>=_0x3d3433[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1771c7-=_0x3d3433[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbfd90+=_0x3d3433[_0x1771c7];}return _0xbfd90;}function _0x2a35b5(){const _0x486d2b=_0x7a5b38[_0x6f2905([0x73,0x70,0x6c,0x69,0x74])](_0x6f2905([0x2e]));if(0x3!=_0x486d2b[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4058be(_0x486d2b[0x1]);function _0x4058be(_0x12efaa){const _0x3884ee=_0x1a386f(_0x12efaa);return _0x3884ee&&_0x299c54()?_0x3884ee:null;function _0x299c54(){const _0x5e6df1=_0x3884ee[_0x6f2905([0x6a,0x74,0x69])],_0x34c589=window[_0x6f2905([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e6df1[_0x6f2905([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e6df1[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xbe3256={..._0x3884ee,[_0x6f2905([0x6a,0x74,0x69])]:_0x5e6df1[_0x6f2905([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e6df1[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xbe3256[_0x6f2905([0x76,0x63])],_0x486adc(_0xbe3256)==_0x34c589;}}}async function _0x56a466(){let _0x323ec0=!0x0;try{const _0x232824=_0x7a5b38[_0x6f2905([0x73,0x70,0x6c,0x69,0x74])](_0x6f2905([0x2e])),[_0x217db6,_0x5ad12e,_0x11e2e9]=_0x232824;return _0x39a46a(_0x217db6),await _0x4e0e4b(_0x217db6,_0x5ad12e,_0x11e2e9),_0x323ec0;}catch{return!0x1;}function _0x39a46a(_0x4effc5){const _0x110f02=_0x1a386f(_0x4effc5);_0x110f02&&_0x110f02[_0x6f2905([0x61,0x6c,0x67])]==_0x6f2905([0x45,0x53,0x32,0x35,0x36])||(_0x323ec0=!0x1);}async function _0x4e0e4b(_0x27e141,_0x4a7123,_0x1ccb81){const _0x41264c=window[_0x6f2905([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6f2905([0x66,0x72,0x6f,0x6d])](_0x268250(_0x1ccb81),_0x207256=>_0x207256[_0x6f2905([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x114ea0=new window[(_0x6f2905([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6f2905([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27e141+_0x6f2905([0x2e])+_0x4a7123),_0x2322e0=window[_0x6f2905([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6f2905([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2322e0)return;const _0x700500=await _0x2322e0[_0x6f2905([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6f2905([0x6a,0x77,0x6b]),_0x2ef78a,{[_0x6f2905([0x6e,0x61,0x6d,0x65])]:_0x6f2905([0x45,0x43,0x44,0x53,0x41]),[_0x6f2905([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6f2905([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6f2905([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2322e0[_0x6f2905([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6f2905([0x6e,0x61,0x6d,0x65])]:_0x6f2905([0x45,0x43,0x44,0x53,0x41]),[_0x6f2905([0x68,0x61,0x73,0x68])]:{[_0x6f2905([0x6e,0x61,0x6d,0x65])]:_0x6f2905([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x700500,_0x41264c,_0x114ea0)||(_0x323ec0=!0x1);}}function _0x1a386f(_0x293e7c){return _0x293e7c[_0x6f2905([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6f2905([0x65,0x79]))?JSON[_0x6f2905([0x70,0x61,0x72,0x73,0x65])](_0x268250(_0x293e7c)):null;}function _0x268250(_0x30e3f9){return window[_0x6f2905([0x61,0x74,0x6f,0x62])](_0x30e3f9[_0x6f2905([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6f2905([0x2b]))[_0x6f2905([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6f2905([0x2f])));}function _0x486adc(_0x764cb2){let _0x134f25=0x1505;function _0x3aa5a3(_0x3c7f2e){for(let _0x2d81bd=0x0;_0x2d81bd<_0x3c7f2e[_0x6f2905([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d81bd++){const _0x4a2db4=_0x3c7f2e[_0x6f2905([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d81bd);_0x134f25=(_0x134f25<<0x5)+_0x134f25+_0x4a2db4,_0x134f25&=_0x134f25;}}function _0x57e5e9(_0x386081){Array[_0x6f2905([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x386081)?_0x386081[_0x6f2905([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57e5e9):_0x386081&&typeof _0x386081==_0x6f2905([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6f2905([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x386081)[_0x6f2905([0x73,0x6f,0x72,0x74])]()[_0x6f2905([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbfc266,_0x1d1a46])=>{_0x3aa5a3(_0xbfc266),_0x57e5e9(_0x1d1a46);}):_0x3aa5a3(window[_0x6f2905([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x386081));}return _0x57e5e9(_0x764cb2),_0x134f25>>>0x0;}function _0x3e66e8(_0x2dd553){return _0x2dd553[_0x6f2905([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6f2905([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6f2905([0x30]));}function _0x4577d7(_0x2fa3be){return _0x2fa3be[_0x6f2905([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6f2905([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6f2905([0x6a,0x6f,0x69,0x6e])]('');}function _0x274dd4(){}function _0x6f2905(_0xb258d3){const _0x3d2434=_0x456c;return _0xb258d3[_0x3d2434(0x12c)](_0x4eed6c=>String[_0x3d2434(0x154)](_0x4eed6c))[_0x3d2434(0x14d)]('');}_0x3ee85d(await _0x19db4c());}(this);}[_0x2c8c37(0x159)](){const _0x91f864=_0x2c8c37,_0x1f72e1=this[_0x91f864(0x13b)][_0x91f864(0x125)][_0x91f864(0x11f)];_0x1f72e1[_0x91f864(0x123)](_0x91f864(0x10e))&&_0x1f72e1[_0x91f864(0x15e)](_0x91f864(0x10e),{'allowAttributes':[_0x91f864(0x137)]}),_0x1f72e1[_0x91f864(0x123)](_0x91f864(0x14c))&&_0x1f72e1[_0x91f864(0x15e)](_0x91f864(0x14c),{'allowAttributes':[_0x91f864(0x137)]});}[_0x2c8c37(0x11b)](){const _0x2b3f51=_0x2c8c37,_0x5841bc=this[_0x2b3f51(0x13b)];_0x5841bc[_0x2b3f51(0x115)][_0x2b3f51(0x144)](_0x2b3f51(0x120))[_0x2b3f51(0x11d)]({'model':_0x2b3f51(0x137),'view':_0x2b3f51(0x15b)}),_0x5841bc[_0x2b3f51(0x115)][_0x2b3f51(0x144)](_0x2b3f51(0x157))[_0x2b3f51(0x13c)]({'model':{'key':_0x2b3f51(0x137),'value':_0x3297fd=>_0x3297fd[_0x2b3f51(0x113)](_0x2b3f51(0x15b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x31909a=_0x5841bc[_0x2b3f51(0x15a)][_0x2b3f51(0x13a)](_0x2b3f51(0x128));_0x31909a&&this[_0x2b3f51(0x114)](_0x31909a,_0x2b3f51(0x141),(_0x39469d,[_0x116ec0,_0x2b15b2])=>{const _0x1c8612=_0x2b3f51;_0x116ec0[_0x1c8612(0x10c)](_0x1c8612(0x137),_0x2b15b2);});}[_0x2c8c37(0x119)](){const _0xe82bcb=_0x2c8c37,_0x4784ef=this[_0xe82bcb(0x13b)][_0xe82bcb(0x13d)][_0xe82bcb(0x13a)](_0xe82bcb(0x12d))||{},_0x4fef1f=this[_0xe82bcb(0x13b)][_0xe82bcb(0x13d)][_0xe82bcb(0x13a)](_0xe82bcb(0x116))||'';this[_0xe82bcb(0x122)]=_0x597762(_0x18cabd[_0xe82bcb(0x135)],_0xe82bcb(0x140),{..._0x4784ef,'pubkey':_0x4fef1f,'ctx-name':_0xe82bcb(0x127)+this[_0xe82bcb(0x13f)],'sourceList':'','imgOnly':_0xe82bcb(0x13e),'removeCopyright':_0xe82bcb(0x13e),'localeName':this[_0xe82bcb(0x13b)][_0xe82bcb(0x15d)][_0xe82bcb(0x133)],'externalSourcesEmbedCss':_0xe82bcb(0x160)}),this[_0xe82bcb(0x122)][_0xe82bcb(0x136)]=_0x11b3ef=>{const _0x3161b4=_0xe82bcb;if(_0x3161b4(0x118)==_0x11b3ef)return _0x3161b4(0x10d);},_0x18cabd[_0xe82bcb(0x135)][_0xe82bcb(0x143)][_0xe82bcb(0x110)](this[_0xe82bcb(0x122)]);}[_0x2c8c37(0x121)](){const _0x20148a=_0x2c8c37;this[_0x20148a(0x117)]=_0x597762(_0x18cabd[_0x20148a(0x135)],_0x20148a(0x12e),{'ctx-name':_0x20148a(0x127)+this[_0x20148a(0x13f)]}),_0x18cabd[_0x20148a(0x135)][_0x20148a(0x143)][_0x20148a(0x110)](this[_0x20148a(0x117)]);}[_0x2c8c37(0x130)](){const _0x3097f4=_0x2c8c37,_0x3a1407=this[_0x3097f4(0x13b)][_0x3097f4(0x15a)][_0x3097f4(0x13a)](_0x3097f4(0x11a));_0x3a1407&&this[_0x3097f4(0x114)](_0x3a1407,_0x3097f4(0x152),()=>{const _0x3c1b28=_0x3097f4,_0x3f411e=this[_0x3c1b28(0x13b)][_0x3c1b28(0x125)][_0x3c1b28(0x135)][_0x3c1b28(0x10f)][_0x3c1b28(0x14a)]();_0x3f411e&&_0x3f411e[_0x3c1b28(0x113)](_0x3c1b28(0x137))&&this[_0x3c1b28(0x13b)][_0x3c1b28(0x153)][_0x3c1b28(0x155)][_0x3c1b28(0x124)](_0x3c1b28(0x112),()=>{const _0x428ce7=_0x3c1b28;_0x43dfd6(this[_0x428ce7(0x13b)],_0x3f411e);});});const _0x523c65=this[_0x3097f4(0x13b)][_0x3097f4(0x15a)][_0x3097f4(0x13a)](_0x3097f4(0x15c));_0x523c65&&this[_0x3097f4(0x114)](_0x523c65,_0x3097f4(0x152),()=>{const _0x3e84ae=_0x3097f4,_0x17c495=this[_0x3e84ae(0x13b)][_0x3e84ae(0x125)][_0x3e84ae(0x135)][_0x3e84ae(0x10f)][_0x3e84ae(0x14a)]();_0x17c495&&_0x17c495[_0x3e84ae(0x113)](_0x3e84ae(0x137))&&this[_0x3e84ae(0x13b)][_0x3e84ae(0x153)][_0x3e84ae(0x155)][_0x3e84ae(0x124)](_0x3e84ae(0x112),()=>{const _0x419618=_0x3e84ae;_0x43dfd6(this[_0x419618(0x13b)],_0x17c495);});});}}
23
+ const _0x5750e7=_0x334b;(function(_0xeb2752,_0x2721d3){const _0x5a718c=_0x334b,_0x441103=_0xeb2752();while(!![]){try{const _0x31b8b9=-parseInt(_0x5a718c(0x212))/0x1*(parseInt(_0x5a718c(0x203))/0x2)+parseInt(_0x5a718c(0x226))/0x3+-parseInt(_0x5a718c(0x1fd))/0x4+-parseInt(_0x5a718c(0x20f))/0x5+-parseInt(_0x5a718c(0x218))/0x6*(-parseInt(_0x5a718c(0x208))/0x7)+-parseInt(_0x5a718c(0x1fa))/0x8+-parseInt(_0x5a718c(0x20b))/0x9*(-parseInt(_0x5a718c(0x1eb))/0xa);if(_0x31b8b9===_0x2721d3)break;else _0x441103['push'](_0x441103['shift']());}catch(_0x21585e){_0x441103['push'](_0x441103['shift']());}}}(_0x6200,0xbbf7f));import{Plugin as _0x19d923}from'ckeditor5/src/core.js';import{Dialog as _0x3540d7}from'ckeditor5/src/ui.js';import{createElement as _0x58aa0a,global as _0x36498b,uid as _0x477bed}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x458b54}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2c3d09}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x45f8df}from'./utils/editingutils.js';function _0x6200(){const _0x752354=['_initConfig','destroy','getSelectedElement','add','uc-config','afterInit','config','UploadcareEditing','isRegistered','editing','uploadcare','appendChild','ctxElement','uploadcareImageId','elementToAttribute','fromCharCode','selection','PictureEditing','_initSchema','get','replaceImageSource','upcast','imageInline','8313290xprEjY','remove','conversion','input[uploadcare-file-input]','contentLanguage','extend','imageBlock','init','schema','isOfficialPlugin','#uc-icon-arrow-down','iconHrefResolver','insertImage','render','map','7219608dodLGi','removeAttribute','querySelector','5830948WHgirv','document','data-uc-image-id','closeMax','href','execute','46LfYMnp','_ctxElement','locale','ucContextId','for','196476QDDlXC','model','uploadcare.pubkey','27umPAob','join','_initConversion','uploadcareImageReplace','5348895vETIdB','attributeToAttribute','editor','9995XkmpwJ','view','\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','_initImageProcessingIndicator','listenTo','198VGzBxy','pluginName','isPremiumPlugin','uploader-','downcast','cleanupImage','body','once','configElement','_configElement','uc-upload-ctx-provider','getAttribute','true','commands','3028620HtcWww','_initCtx','uploadcare.uploader'];_0x6200=function(){return _0x752354;};return _0x6200();}function _0x334b(_0x424550,_0x2833d5){const _0x62002f=_0x6200();return _0x334b=function(_0x334b6c,_0x183af9){_0x334b6c=_0x334b6c-0x1e0;let _0x1cf9fd=_0x62002f[_0x334b6c];return _0x1cf9fd;},_0x334b(_0x424550,_0x2833d5);}export class UploadcareEditing extends _0x19d923{[_0x5750e7(0x221)]=null;[_0x5750e7(0x204)]=null;static get[_0x5750e7(0x219)](){const _0x2b6151=_0x5750e7;return _0x2b6151(0x230);}static get[_0x5750e7(0x215)](){const _0x2d7afb=_0x5750e7;return[_0x2d7afb(0x1e5),_0x2c3d09,_0x3540d7];}static get[_0x5750e7(0x1f4)](){return!0x0;}static get[_0x5750e7(0x21a)](){return!0x0;}[_0x5750e7(0x206)];get[_0x5750e7(0x220)](){const _0x3fa929=_0x5750e7;return this[_0x3fa929(0x221)];}get[_0x5750e7(0x1e0)](){const _0x2b8fb8=_0x5750e7;return this[_0x2b8fb8(0x204)];}constructor(_0xaa8de8){const _0x3191a1=_0x5750e7;super(_0xaa8de8),this[_0x3191a1(0x206)]=_0x477bed();}[_0x5750e7(0x1f2)](){const _0x3f4dec=_0x5750e7,_0xa8f095=this[_0x3f4dec(0x211)];_0xa8f095[_0x3f4dec(0x225)][_0x3f4dec(0x22c)](_0x3f4dec(0x233),new _0x458b54(_0xa8f095));}[_0x5750e7(0x22e)](){const _0x2f524f=_0x5750e7;this[_0x2f524f(0x1e6)](),this[_0x2f524f(0x20d)](),this[_0x2f524f(0x229)](),this[_0x2f524f(0x227)](),this[_0x2f524f(0x216)](),this[_0x2f524f(0x217)](this[_0x2f524f(0x211)],_0x2f524f(0x22a),()=>{const _0x3281d6=_0x2f524f;this[_0x3281d6(0x221)]&&(this[_0x3281d6(0x221)][_0x3281d6(0x1ec)](),this[_0x3281d6(0x221)]=null),this[_0x3281d6(0x204)]&&(this[_0x3281d6(0x204)][_0x3281d6(0x1ec)](),this[_0x3281d6(0x204)]=null);const _0x42a603=_0x36498b[_0x3281d6(0x1fe)][_0x3281d6(0x1fc)](_0x3281d6(0x1ee));_0x42a603&&_0x42a603[_0x3281d6(0x1ec)]();}),async function(_0x4b6939){const _0xd19ba=_0x1a7688([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2c058c=0x535f8c3a,_0x12ad36=0x53580ce2^_0x2c058c,_0x1722da=window[_0x1a7688([0x44,0x61,0x74,0x65])][_0x1a7688([0x6e,0x6f,0x77])](),_0x204ecf=_0x4b6939[_0x1a7688([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf6c3ab=new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da840=>{_0x204ecf[_0x1a7688([0x6f,0x6e,0x63,0x65])](_0x1a7688([0x72,0x65,0x61,0x64,0x79]),_0x2da840);}),_0x27e250={[_0x1a7688([0x6b,0x74,0x79])]:_0x1a7688([0x45,0x43]),[_0x1a7688([0x75,0x73,0x65])]:_0x1a7688([0x73,0x69,0x67]),[_0x1a7688([0x63,0x72,0x76])]:_0x1a7688([0x50,0x2d,0x32,0x35,0x36]),[_0x1a7688([0x78])]:_0x1a7688([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]),[_0x1a7688([0x79])]:_0x1a7688([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]),[_0x1a7688([0x61,0x6c,0x67])]:_0x1a7688([0x45,0x53,0x32,0x35,0x36])},_0x2e6c1c=_0x204ecf[_0x1a7688([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a7688([0x67,0x65,0x74])](_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1481e5(){let _0xce9f1a,_0x21b61f=null,_0x18efd9=null;try{if(_0x2e6c1c==_0x1a7688([0x47,0x50,0x4c]))return _0x1a7688([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xce9f1a=_0x5c42a3(),!_0xce9f1a)return _0x1a7688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xce9f1a[_0x1a7688([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18efd9=_0x4345b5(_0xce9f1a[_0x1a7688([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xce9f1a[_0x1a7688([0x6a,0x74,0x69])])),await _0x380bae()?_0x2ed2e7()?_0x1347d4()?_0x1a7688([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c715e()?(_0xce9f1a[_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a7688([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21b61f=_0x48d044(_0x1a7688([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b4e76()):_0x1a7688([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a7688([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a7688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a7688([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1347d4(){const _0x4f6ed5=[_0x1a7688([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a7688([0x74,0x72,0x69,0x61,0x6c])][_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xce9f1a[_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1722da/0x3e8:0xe10*_0x12ad36;return _0xce9f1a[_0x1a7688([0x65,0x78,0x70])]<_0x4f6ed5;}function _0x2ed2e7(){const _0x5672f7=_0xce9f1a[_0x1a7688([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5672f7&&(!!_0x5672f7[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7688([0x2a]))||!!_0x5672f7[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7688([0x55,0x50,0x4c,0x43])));}function _0x5c715e(){const _0xdbc0c7=_0x334b,_0xf278bc=_0xce9f1a[_0x1a7688([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf278bc||0x0==_0xf278bc[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c7c53}=new URL(window[_0x1a7688([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xdbc0c7(0x201)]);if(_0xf278bc[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c7c53))return!0x0;const _0x33a7c7=_0x2c7c53[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e]));return _0xf278bc[_0x1a7688([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x458d2c=>_0x458d2c[_0x1a7688([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7688([0x2a])))[_0x1a7688([0x6d,0x61,0x70])](_0x359ddd=>_0x359ddd[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e])))[_0x1a7688([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35bd4f=>_0x35bd4f[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33a7c7[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a7688([0x6d,0x61,0x70])](_0x1a3018=>Array(_0x33a7c7[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a3018[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a7688([0x66,0x69,0x6c,0x6c])](_0x1a3018[0x0]===_0x1a7688([0x2a])?_0x1a7688([0x2a]):'')[_0x1a7688([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a3018))[_0x1a7688([0x73,0x6f,0x6d,0x65])](_0x30ec14=>_0x33a7c7[_0x1a7688([0x65,0x76,0x65,0x72,0x79])]((_0x2e3b06,_0x6fade3)=>_0x30ec14[_0x6fade3]===_0x2e3b06||_0x30ec14[_0x6fade3]===_0x1a7688([0x2a])));}function _0x3b4e76(){return _0x21b61f&&_0x18efd9?new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1317d9,_0x5f2362)=>{_0x21b61f[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x1317d9,_0x5f2362),_0x18efd9[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x19328f=>{_0x19328f!=_0x1a7688([0x56,0x61,0x6c,0x69,0x64])&&_0x1317d9(_0x19328f);},_0x5f2362);}):_0x21b61f||_0x18efd9||_0x1a7688([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4345b5(_0x3360a9,_0x5687cf){return new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a2242=>{if(_0x12e7ac())return _0x2a2242(_0x1a7688([0x56,0x61,0x6c,0x69,0x64]));_0x1a328d(),_0x204ecf[_0x1a7688([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a7688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b2683=!0x1;const _0x3805e3=_0x477bed();function _0x3ec814(_0x18e376){return!!_0x18e376&&(typeof _0x18e376===_0x1a7688([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18e376===_0x1a7688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18e376[_0x1a7688([0x74,0x68,0x65,0x6e])]===_0x1a7688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18e376[_0x1a7688([0x63,0x61,0x74,0x63,0x68])]===_0x1a7688([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c0254(_0x5596d8){_0x4f0287(_0x5596d8)[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x863c34=>{if(!_0x863c34||_0x863c34[_0x1a7688([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a7688([0x6f,0x6b]))return _0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c6718(_0x1bb343(_0x3805e3+_0x5687cf))!=_0x863c34[_0x1a7688([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a7688([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x298e38=>(_0x42b6d9(),_0x298e38),()=>{const _0x21a236=_0x3757dc();return null==_0x21a236?(_0x42b6d9(),_0x1a7688([0x56,0x61,0x6c,0x69,0x64])):_0x1a7688(_0x1722da-_0x21a236>(0x7753083a^_0x2c058c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x2a2242)[_0x1a7688([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a2242(_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3dced1=0x536962ba^_0x2c058c;function _0x42b6d9(){const _0x2e6e4a=_0x1a7688([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c6718(_0x1bb343(_0x3360a9)),_0xc626ce=_0x59d762(_0x2c6718(window[_0x1a7688([0x4d,0x61,0x74,0x68])][_0x1a7688([0x63,0x65,0x69,0x6c])](_0x1722da/_0x3dced1)));window[_0x1a7688([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a7688([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e6e4a,_0xc626ce);}function _0x3757dc(){const _0x4aa846=_0x1a7688([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c6718(_0x1bb343(_0x3360a9)),_0x983cfa=window[_0x1a7688([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a7688([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4aa846);return _0x983cfa?window[_0x1a7688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59d762(_0x983cfa),0x10)*_0x3dced1:null;}function _0x4f0287(_0x1154be){return new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3885ba,_0x21e4e7)=>{_0x1154be[_0x1a7688([0x74,0x68,0x65,0x6e])](_0x3885ba,_0x21e4e7),window[_0x1a7688([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21e4e7,0x535e58fa^_0x2c058c);});}}_0x204ecf[_0x1a7688([0x6f,0x6e])](_0x1a7688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d172e,_0x2b438c)=>{if(_0x2b438c[0x0]!=_0x3360a9)return _0x2a2242(_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b438c[0x1]={..._0x2b438c[0x1],[_0x1a7688([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3805e3};},{[_0x1a7688([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a7688([0x68,0x69,0x67,0x68])}),_0x204ecf[_0x1a7688([0x6f,0x6e])](_0x1a7688([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d8777=>{_0x3ec814(_0x5d8777[_0x1a7688([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b2683=!0x0,_0x5c0254(_0x5d8777[_0x1a7688([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a7688([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a7688([0x6c,0x6f,0x77])}),_0xf6c3ab[_0x1a7688([0x74,0x68,0x65,0x6e])](()=>{_0x5b2683||_0x2a2242(_0x1a7688([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12e7ac(){return _0x204ecf[_0x1a7688([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a7688([0x76,0x69,0x65,0x77])][_0x1a7688([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a7688([0x61,0x75,0x74,0x6f]);}function _0x1a328d(){_0x204ecf[_0x1a7688([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a7688([0x76,0x69,0x65,0x77])][_0x1a7688([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a7688([0x61,0x75,0x74,0x6f]);}}function _0x48d044(_0x4e59bd){const _0x199d81=[new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f4324=>setTimeout(_0x2f4324,0x5356b2f6^_0x2c058c)),_0xf6c3ab[_0x1a7688([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c6c02=>{let _0x44e837=0x0;_0x204ecf[_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a7688([0x6f,0x6e])](_0x1a7688([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3124c0,_0x3d2cd8)=>{_0x3d2cd8[0x0][_0x1a7688([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44e837++,_0x44e837==(0x535f89d2^_0x2c058c)&&(_0x1c6c02(),_0x3124c0[_0x1a7688([0x6f,0x66,0x66])]());});}))];return window[_0x1a7688([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a7688([0x72,0x61,0x63,0x65])](_0x199d81)[_0x1a7688([0x74,0x68,0x65,0x6e])](()=>_0x4e59bd);}async function _0x463aa4(){await _0xf6c3ab,_0x204ecf[_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a7688([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1fdd,_0x204ecf[_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a7688([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e1fdd,_0x204ecf[_0x1a7688([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a7688([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x576484(_0x309b4e){const _0x57fc6e=_0x5a93ca();_0x204ecf[_0x57fc6e]=_0x1a7688([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x309b4e,_0x309b4e!=_0x1a7688([0x56,0x61,0x6c,0x69,0x64])&&_0x463aa4();}function _0x5a93ca(){const _0x4a88a1=window[_0x1a7688([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a7688([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a7688([0x6e,0x6f,0x77])]())[_0x1a7688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a7688([0x2e]),'');let _0x5d2711=_0x1a7688([0x68]);for(let _0x38fd63=0x0;_0x38fd63<_0x4a88a1[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38fd63+=0x2){let _0x1b325b=window[_0x1a7688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a88a1[_0x1a7688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38fd63,_0x38fd63+0x2));_0x1b325b>=_0xd19ba[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b325b-=_0xd19ba[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d2711+=_0xd19ba[_0x1b325b];}return _0x5d2711;}function _0x5c42a3(){const _0xd6eb31=_0x2e6c1c[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e]));if(0x3!=_0xd6eb31[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x466c13(_0xd6eb31[0x1]);function _0x466c13(_0x32ef48){const _0x2f10f6=_0x29c463(_0x32ef48);return _0x2f10f6&&_0x2b3ff1()?_0x2f10f6:null;function _0x2b3ff1(){const _0x21865b=_0x2f10f6[_0x1a7688([0x6a,0x74,0x69])],_0x551433=window[_0x1a7688([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21865b[_0x1a7688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21865b[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f9b42={..._0x2f10f6,[_0x1a7688([0x6a,0x74,0x69])]:_0x21865b[_0x1a7688([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21865b[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f9b42[_0x1a7688([0x76,0x63])],_0x1bb343(_0x2f9b42)==_0x551433;}}}async function _0x380bae(){let _0xa3452c=!0x0;try{const _0x66b3b3=_0x2e6c1c[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])](_0x1a7688([0x2e])),[_0x3c9948,_0x34f82f,_0x10e389]=_0x66b3b3;return _0x47a9d1(_0x3c9948),await _0x4c89fd(_0x3c9948,_0x34f82f,_0x10e389),_0xa3452c;}catch{return!0x1;}function _0x47a9d1(_0x49c0bb){const _0x107f4d=_0x29c463(_0x49c0bb);_0x107f4d&&_0x107f4d[_0x1a7688([0x61,0x6c,0x67])]==_0x1a7688([0x45,0x53,0x32,0x35,0x36])||(_0xa3452c=!0x1);}async function _0x4c89fd(_0x59e545,_0x39c3e7,_0x43cd9f){const _0x3c0cdd=window[_0x1a7688([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a7688([0x66,0x72,0x6f,0x6d])](_0x3c5791(_0x43cd9f),_0x14edac=>_0x14edac[_0x1a7688([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8785ce=new window[(_0x1a7688([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a7688([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59e545+_0x1a7688([0x2e])+_0x39c3e7),_0x3d5ec5=window[_0x1a7688([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a7688([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d5ec5)return;const _0xd9fbc=await _0x3d5ec5[_0x1a7688([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a7688([0x6a,0x77,0x6b]),_0x27e250,{[_0x1a7688([0x6e,0x61,0x6d,0x65])]:_0x1a7688([0x45,0x43,0x44,0x53,0x41]),[_0x1a7688([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a7688([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a7688([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d5ec5[_0x1a7688([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a7688([0x6e,0x61,0x6d,0x65])]:_0x1a7688([0x45,0x43,0x44,0x53,0x41]),[_0x1a7688([0x68,0x61,0x73,0x68])]:{[_0x1a7688([0x6e,0x61,0x6d,0x65])]:_0x1a7688([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd9fbc,_0x3c0cdd,_0x8785ce)||(_0xa3452c=!0x1);}}function _0x29c463(_0xeaf507){return _0xeaf507[_0x1a7688([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a7688([0x65,0x79]))?JSON[_0x1a7688([0x70,0x61,0x72,0x73,0x65])](_0x3c5791(_0xeaf507)):null;}function _0x3c5791(_0x587e55){return window[_0x1a7688([0x61,0x74,0x6f,0x62])](_0x587e55[_0x1a7688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a7688([0x2b]))[_0x1a7688([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a7688([0x2f])));}function _0x1bb343(_0x5c81bc){let _0x4ddc05=0x1505;function _0x5dd7de(_0x178481){for(let _0x2c6007=0x0;_0x2c6007<_0x178481[_0x1a7688([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c6007++){const _0x132219=_0x178481[_0x1a7688([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c6007);_0x4ddc05=(_0x4ddc05<<0x5)+_0x4ddc05+_0x132219,_0x4ddc05&=_0x4ddc05;}}function _0x4eeafe(_0x17f6f2){Array[_0x1a7688([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17f6f2)?_0x17f6f2[_0x1a7688([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4eeafe):_0x17f6f2&&typeof _0x17f6f2==_0x1a7688([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a7688([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17f6f2)[_0x1a7688([0x73,0x6f,0x72,0x74])]()[_0x1a7688([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x353c53,_0x226e21])=>{_0x5dd7de(_0x353c53),_0x4eeafe(_0x226e21);}):_0x5dd7de(window[_0x1a7688([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17f6f2));}return _0x4eeafe(_0x5c81bc),_0x4ddc05>>>0x0;}function _0x2c6718(_0x183772){return _0x183772[_0x1a7688([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a7688([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a7688([0x30]));}function _0x59d762(_0xce84e7){return _0xce84e7[_0x1a7688([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a7688([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a7688([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e1fdd(){}function _0x1a7688(_0x19a204){const _0x1baf8d=_0x334b;return _0x19a204[_0x1baf8d(0x1f9)](_0x4b1b5d=>String[_0x1baf8d(0x1e3)](_0x4b1b5d))[_0x1baf8d(0x20c)]('');}_0x576484(await _0x1481e5());}(this);}[_0x5750e7(0x1e6)](){const _0xbdaa5f=_0x5750e7,_0x5f4a75=this[_0xbdaa5f(0x211)][_0xbdaa5f(0x209)][_0xbdaa5f(0x1f3)];_0x5f4a75[_0xbdaa5f(0x231)](_0xbdaa5f(0x1f1))&&_0x5f4a75[_0xbdaa5f(0x1f0)](_0xbdaa5f(0x1f1),{'allowAttributes':[_0xbdaa5f(0x1e1)]}),_0x5f4a75[_0xbdaa5f(0x231)](_0xbdaa5f(0x1ea))&&_0x5f4a75[_0xbdaa5f(0x1f0)](_0xbdaa5f(0x1ea),{'allowAttributes':[_0xbdaa5f(0x1e1)]});}[_0x5750e7(0x20d)](){const _0x5263a5=_0x5750e7,_0x49e2dc=this[_0x5263a5(0x211)];_0x49e2dc[_0x5263a5(0x1ed)][_0x5263a5(0x207)](_0x5263a5(0x21c))[_0x5263a5(0x210)]({'model':_0x5263a5(0x1e1),'view':_0x5263a5(0x1ff)}),_0x49e2dc[_0x5263a5(0x1ed)][_0x5263a5(0x207)](_0x5263a5(0x1e9))[_0x5263a5(0x1e2)]({'model':{'key':_0x5263a5(0x1e1),'value':_0x48317b=>_0x48317b[_0x5263a5(0x223)](_0x5263a5(0x1ff))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27a0fe=_0x49e2dc[_0x5263a5(0x225)][_0x5263a5(0x1e7)](_0x5263a5(0x1e8));_0x27a0fe&&this[_0x5263a5(0x217)](_0x27a0fe,_0x5263a5(0x21d),(_0x28f2c0,[_0xa0ebe6,_0x4ae3f2])=>{const _0x282fab=_0x5263a5;_0xa0ebe6[_0x282fab(0x1fb)](_0x282fab(0x1e1),_0x4ae3f2);});}[_0x5750e7(0x229)](){const _0x243cea=_0x5750e7,_0x334417=this[_0x243cea(0x211)][_0x243cea(0x22f)][_0x243cea(0x1e7)](_0x243cea(0x228))||{},_0xa9c90c=this[_0x243cea(0x211)][_0x243cea(0x22f)][_0x243cea(0x1e7)](_0x243cea(0x20a))||'';this[_0x243cea(0x221)]=_0x58aa0a(_0x36498b[_0x243cea(0x1fe)],_0x243cea(0x22d),{..._0x334417,'pubkey':_0xa9c90c,'ctx-name':_0x243cea(0x21b)+this[_0x243cea(0x206)],'sourceList':'','imgOnly':_0x243cea(0x224),'removeCopyright':_0x243cea(0x224),'localeName':this[_0x243cea(0x211)][_0x243cea(0x205)][_0x243cea(0x1ef)],'externalSourcesEmbedCss':_0x243cea(0x214)}),this[_0x243cea(0x221)][_0x243cea(0x1f6)]=_0x18f1a8=>{const _0x253666=_0x243cea;if(_0x253666(0x200)==_0x18f1a8)return _0x253666(0x1f5);},_0x36498b[_0x243cea(0x1fe)][_0x243cea(0x21e)][_0x243cea(0x234)](this[_0x243cea(0x221)]);}[_0x5750e7(0x227)](){const _0x162e9b=_0x5750e7;this[_0x162e9b(0x204)]=_0x58aa0a(_0x36498b[_0x162e9b(0x1fe)],_0x162e9b(0x222),{'ctx-name':_0x162e9b(0x21b)+this[_0x162e9b(0x206)]}),_0x36498b[_0x162e9b(0x1fe)][_0x162e9b(0x21e)][_0x162e9b(0x234)](this[_0x162e9b(0x204)]);}[_0x5750e7(0x216)](){const _0x5e71ad=_0x5750e7,_0x2d6f91=this[_0x5e71ad(0x211)][_0x5e71ad(0x225)][_0x5e71ad(0x1e7)](_0x5e71ad(0x1f7));_0x2d6f91&&this[_0x5e71ad(0x217)](_0x2d6f91,_0x5e71ad(0x202),()=>{const _0x5d8a44=_0x5e71ad,_0xd4b063=this[_0x5d8a44(0x211)][_0x5d8a44(0x209)][_0x5d8a44(0x1fe)][_0x5d8a44(0x1e4)][_0x5d8a44(0x22b)]();_0xd4b063&&_0xd4b063[_0x5d8a44(0x223)](_0x5d8a44(0x1e1))&&this[_0x5d8a44(0x211)][_0x5d8a44(0x232)][_0x5d8a44(0x213)][_0x5d8a44(0x21f)](_0x5d8a44(0x1f8),()=>{const _0x5c5caf=_0x5d8a44;_0x45f8df(this[_0x5c5caf(0x211)],_0xd4b063);});});const _0x4ee5ef=this[_0x5e71ad(0x211)][_0x5e71ad(0x225)][_0x5e71ad(0x1e7)](_0x5e71ad(0x20e));_0x4ee5ef&&this[_0x5e71ad(0x217)](_0x4ee5ef,_0x5e71ad(0x202),()=>{const _0x1c935b=_0x5e71ad,_0x58a08b=this[_0x1c935b(0x211)][_0x1c935b(0x209)][_0x1c935b(0x1fe)][_0x1c935b(0x1e4)][_0x1c935b(0x22b)]();_0x58a08b&&_0x58a08b[_0x1c935b(0x223)](_0x1c935b(0x1e1))&&this[_0x1c935b(0x211)][_0x1c935b(0x232)][_0x1c935b(0x213)][_0x1c935b(0x21f)](_0x1c935b(0x1f8),()=>{const _0x293eda=_0x1c935b;_0x45f8df(this[_0x293eda(0x211)],_0x58a08b);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0xda4dba,ObservableMixin as _0x4c520f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x13962a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2b0402}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x53f17e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2cacec}from'../../utils/uploadutils.js';import{getImageUrls as _0x2e2ed2,getImageDimension as _0x17eb67}from'../../utils/editingutils.js';import{isAncestor as _0x2c68c4}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x4c520f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5f2d29,_0xa1030f,_0x11ef44){super(),this['_editor']=_0x5f2d29,this['_dialog']=_0xa1030f,this['_imageElement']=_0x11ef44,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 _0x2a7e0e=this['_imageElement'],_0x1446cc=_0x2a7e0e['getAttribute']('uploadcareImageId'),_0x1db40b=_0x2a7e0e['getAttribute']('src');if(_0x1446cc)await this['_loadImageInfo'](_0x1446cc,_0x1db40b);else{if(this['_imageCache']['has'](_0x1db40b)){const _0x533f38=this['_imageCache']['get'](_0x1db40b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x533f38['url'],this['imageDimension']=_0x533f38['dimension'],this['imageId']=_0x533f38['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x283c8b}=this['_editor'],t=_0x283c8b['t'],_0x22a823=new _0x53f17e(_0x283c8b,this['imageStatus'],this['_attributes']);_0x22a823['bind']('status')['to'](this,'imageStatus'),_0x22a823['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x22a823['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x22a823['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x22a823,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2b0402,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x22a823,'position':_0x13962a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x22a823['focus']();},'onHide':()=>{_0x22a823['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58a6a9=>!_0x2c68c4(_0x58a6a9,_0x22a823['element'])}});}['_loadImageInfo'](_0xf5395d,_0x5e45d4){return _0x2cacec['getInfo'](_0xf5395d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x11602e=>{const {width:_0x1e1c0c,height:_0x110a73}=_0x11602e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e45d4,this['imageDimension']={'width':_0x1e1c0c,'height':_0x110a73},this['imageId']=_0xf5395d;})['catch'](_0x5a78a4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a78a4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x14b8de,_0xafc750){return this['_getImageAsFile'](_0x14b8de)['then'](_0x4e72aa=>_0x2cacec['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xafc750['signal'],'file':_0x4e72aa,'onProgress':_0x1ac54c=>{_0x1ac54c&&_0x1ac54c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1ac54c['value']));}}))['then'](_0x2865e9=>{const {width:_0x7aa144,height:_0x12cfb8}=_0x2865e9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2865e9['cdnUrl'],this['imageDimension']={'width':_0x7aa144,'height':_0x12cfb8},this['imageId']=_0x2865e9['uuid'],this['imageUploadProgress']=null;const _0x3db4a2=_0x14b8de['getAttribute']('src');this['_imageCache']['set'](_0x3db4a2,{'id':_0x2865e9['uuid'],'url':_0x2865e9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xb9b25c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb9b25c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38ce9c,_0x49e5b6){_0x38ce9c['on']('apply',(_0x100f8c,_0x3e9a89)=>{this['_replaceImage'](_0x49e5b6,_0x3e9a89['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38ce9c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38ce9c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x586f5a,_0x133744,_0x3a3098){const _0xb2befa=this['_editor'],{width:_0x465c9b,height:_0x450895}=_0x17eb67(_0x133744,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x455c1f,imageSources:_0x482f3f}=_0x2e2ed2(_0x133744,_0x465c9b);_0xb2befa['model']['change'](_0x10b6c1=>{if('$graveyard'===_0x586f5a['root']['rootName']){_0xb2befa['execute']('insertImage',{'imageType':_0x586f5a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x586f5a['getAttributes']()),'uploadcareImageId':_0x3a3098,'src':_0x455c1f,'sources':_0x482f3f,'width':_0x465c9b,'height':_0x450895}});const _0x51443e=_0x586f5a['getChildren']();_0x586f5a=_0xb2befa['model']['document']['selection']['getSelectedElement']();for(const _0x10b2e1 of _0x51443e)_0x10b6c1['append'](_0x10b6c1['cloneElement'](_0x10b2e1),_0x586f5a);}else _0x10b6c1['setSelection'](_0x586f5a,'on'),_0xb2befa['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x586f5a['getAttributes']()),'uploadcareImageId':_0x3a3098,'src':_0x455c1f,'sources':_0x482f3f,'width':_0x465c9b,'height':_0x450895},_0x586f5a);_0x10b6c1['setSelection'](_0x586f5a,'on');});}async['_getImageAsFile'](_0x3aa375){const _0x55b048=_0xda4dba['window'],_0x224b91=_0xda4dba['document']['location']['href'],_0x35ed6b=new _0x55b048['URL'](_0x3aa375['getAttribute']('src'),_0x224b91);if('data:'===_0x35ed6b['protocol']){const _0x1931c8=_0x35ed6b['href']['split'](','),_0x5641d0=_0x1931c8[0x0]['match'](/:(.*?);/)[0x1],_0x47042d=_0x5641d0['split']('/')[0x1],_0x1f02e2=_0x55b048['atob'](_0x1931c8[_0x1931c8['length']-0x1]);let _0x56e6ea=_0x1f02e2['length'];const _0x274b3c=new _0x55b048['Uint8Array'](_0x56e6ea);for(;_0x56e6ea--;)_0x274b3c[_0x56e6ea]=_0x1f02e2['charCodeAt'](_0x56e6ea);return new _0x55b048['File']([_0x274b3c],'image.'+_0x47042d,{'type':_0x5641d0});}const _0x1a28ba=_0x35ed6b['href']['split']('/'),_0x498b65=_0x1a28ba[_0x1a28ba['length']-0x1],_0x238771=_0x498b65['split']('.')[0x1];return _0x55b048['fetch'](_0x35ed6b['href'])['then'](_0x36ff10=>_0x36ff10['clone']()['blob']())['then'](_0x23f402=>new _0x55b048['File']([_0x23f402],_0x498b65,{'type':'image/'+_0x238771}));}}
23
+ import{global as _0x1f899e,ObservableMixin as _0x51dd1f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c78cb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3b4670}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x968a8c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x35d052}from'../../utils/uploadutils.js';import{getImageUrls as _0x136502,getImageDimension as _0x42811a}from'../../utils/editingutils.js';import{isAncestor as _0x399eb5}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x51dd1f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x57f5f3,_0x28df97,_0xe1181c){super(),this['_editor']=_0x57f5f3,this['_dialog']=_0x28df97,this['_imageElement']=_0xe1181c,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 _0x42187f=this['_imageElement'],_0x250143=_0x42187f['getAttribute']('uploadcareImageId'),_0x3bee35=_0x42187f['getAttribute']('src');if(_0x250143)await this['_loadImageInfo'](_0x250143,_0x3bee35);else{if(this['_imageCache']['has'](_0x3bee35)){const _0x325811=this['_imageCache']['get'](_0x3bee35);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x325811['url'],this['imageDimension']=_0x325811['dimension'],this['imageId']=_0x325811['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x50405b}=this['_editor'],t=_0x50405b['t'],_0x33befb=new _0x968a8c(_0x50405b,this['imageStatus'],this['_attributes']);_0x33befb['bind']('status')['to'](this,'imageStatus'),_0x33befb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x33befb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x33befb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x33befb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b4670,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x33befb,'position':_0x5c78cb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x33befb['focus']();},'onHide':()=>{_0x33befb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37799b=>!_0x399eb5(_0x37799b,_0x33befb['element'])}});}['_loadImageInfo'](_0xff1c3a,_0x2b883e){return _0x35d052['getInfo'](_0xff1c3a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x704d54=>{const {width:_0x678921,height:_0x4cd0be}=_0x704d54['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b883e,this['imageDimension']={'width':_0x678921,'height':_0x4cd0be},this['imageId']=_0xff1c3a;})['catch'](_0x49155e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x49155e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x41a21c,_0x2f257f){return this['_getImageAsFile'](_0x41a21c)['then'](_0x2195eb=>_0x35d052['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2f257f['signal'],'file':_0x2195eb,'onProgress':_0x2b3f4f=>{_0x2b3f4f&&_0x2b3f4f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2b3f4f['value']));}}))['then'](_0x432040=>{const {width:_0x50e2d1,height:_0x57d523}=_0x432040['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x432040['cdnUrl'],this['imageDimension']={'width':_0x50e2d1,'height':_0x57d523},this['imageId']=_0x432040['uuid'],this['imageUploadProgress']=null;const _0x34e679=_0x41a21c['getAttribute']('src');this['_imageCache']['set'](_0x34e679,{'id':_0x432040['uuid'],'url':_0x432040['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x48c25a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x48c25a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x24848f,_0x298302){_0x24848f['on']('apply',(_0x2d9774,_0x2325a1)=>{this['_replaceImage'](_0x298302,_0x2325a1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x24848f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x24848f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3207bf,_0x3f89e3,_0x41fac6){const _0x12c7f4=this['_editor'],{width:_0x239d29,height:_0x5dc0ab}=_0x42811a(_0x3f89e3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x49774a,imageSources:_0x3c24fa}=_0x136502(_0x3f89e3,_0x239d29);_0x12c7f4['model']['change'](_0x26c949=>{if('$graveyard'===_0x3207bf['root']['rootName']){_0x12c7f4['execute']('insertImage',{'imageType':_0x3207bf['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3207bf['getAttributes']()),'uploadcareImageId':_0x41fac6,'src':_0x49774a,'sources':_0x3c24fa,'width':_0x239d29,'height':_0x5dc0ab}});const _0x343735=_0x3207bf['getChildren']();_0x3207bf=_0x12c7f4['model']['document']['selection']['getSelectedElement']();for(const _0x5754c2 of _0x343735)_0x26c949['append'](_0x26c949['cloneElement'](_0x5754c2),_0x3207bf);}else _0x26c949['setSelection'](_0x3207bf,'on'),_0x12c7f4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3207bf['getAttributes']()),'uploadcareImageId':_0x41fac6,'src':_0x49774a,'sources':_0x3c24fa,'width':_0x239d29,'height':_0x5dc0ab},_0x3207bf);_0x26c949['setSelection'](_0x3207bf,'on');});}async['_getImageAsFile'](_0x31da2c){const _0x29d12c=_0x1f899e['window'],_0x5347af=_0x1f899e['document']['location']['href'],_0x426f77=new _0x29d12c['URL'](_0x31da2c['getAttribute']('src'),_0x5347af);if('data:'===_0x426f77['protocol']){const _0x203947=_0x426f77['href']['split'](','),_0x5ab643=_0x203947[0x0]['match'](/:(.*?);/)[0x1],_0x1da3c9=_0x5ab643['split']('/')[0x1],_0x49d3cf=_0x29d12c['atob'](_0x203947[_0x203947['length']-0x1]);let _0x5a2d06=_0x49d3cf['length'];const _0x81e64=new _0x29d12c['Uint8Array'](_0x5a2d06);for(;_0x5a2d06--;)_0x81e64[_0x5a2d06]=_0x49d3cf['charCodeAt'](_0x5a2d06);return new _0x29d12c['File']([_0x81e64],'image.'+_0x1da3c9,{'type':_0x5ab643});}const _0x5d2fd9=_0x426f77['href']['split']('/'),_0x4f64ee=_0x5d2fd9[_0x5d2fd9['length']-0x1],_0xfbd4aa=_0x4f64ee['split']('.')[0x1];return _0x29d12c['fetch'](_0x426f77['href'])['then'](_0x35e229=>_0x35e229['clone']()['blob']())['then'](_0x1e945c=>new _0x29d12c['File']([_0x1e945c],_0x4f64ee,{'type':'image/'+_0xfbd4aa}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ce2(){const _0x1be5ee=['ck-uploadcare-theme','setTemplate','set','582175AFXGNn','3102288ITIPOz','1674280xHPgbe','3533826YAGbVz','uc-cloud-image-editor','60730EFZVoi','16PqDEzx','315867AhVzEf','image-edit','bindTemplate','imageSrc','7275240ymMWZZ','uc-light'];_0x3ce2=function(){return _0x1be5ee;};return _0x3ce2();}(function(_0x53ddde,_0x5e4062){const _0x2ebe88=_0xd5ac,_0x441f2a=_0x53ddde();while(!![]){try{const _0x24972c=parseInt(_0x2ebe88(0x1f6))/0x1+-parseInt(_0x2ebe88(0x1f8))/0x2+-parseInt(_0x2ebe88(0x1ed))/0x3+-parseInt(_0x2ebe88(0x1ec))/0x4*(-parseInt(_0x2ebe88(0x1fb))/0x5)+-parseInt(_0x2ebe88(0x1f9))/0x6+parseInt(_0x2ebe88(0x1f7))/0x7+parseInt(_0x2ebe88(0x1f1))/0x8;if(_0x24972c===_0x5e4062)break;else _0x441f2a['push'](_0x441f2a['shift']());}catch(_0x1460ba){_0x441f2a['push'](_0x441f2a['shift']());}}}(_0x3ce2,0x6e56c));function _0xd5ac(_0x5034fd,_0x38ee8c){const _0x3ce205=_0x3ce2();return _0xd5ac=function(_0xd5ac14,_0x372cbf){_0xd5ac14=_0xd5ac14-0x1ec;let _0x1520cc=_0x3ce205[_0xd5ac14];return _0x1520cc;},_0xd5ac(_0x5034fd,_0x38ee8c);}import{View as _0x7b96aa}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x7b96aa{constructor(_0x572e8b,_0x59de32){const _0x16c931=_0xd5ac;super(_0x572e8b);const _0x572be1=this[_0x16c931(0x1ef)];this[_0x16c931(0x1f5)](_0x16c931(0x1f0),''),this[_0x16c931(0x1f4)]({'tag':_0x16c931(0x1fa),'attributes':{..._0x59de32,'class':[_0x16c931(0x1f2),_0x16c931(0x1f3)],'ctx-name':_0x16c931(0x1ee),'cdn-url':_0x572be1['to'](_0x16c931(0x1f0))}});}}
23
+ (function(_0xa7ab69,_0x272a01){const _0x1ad06f=_0x1614,_0x5a117d=_0xa7ab69();while(!![]){try{const _0x270a16=-parseInt(_0x1ad06f(0xf3))/0x1*(-parseInt(_0x1ad06f(0xf9))/0x2)+parseInt(_0x1ad06f(0xef))/0x3*(parseInt(_0x1ad06f(0xe9))/0x4)+parseInt(_0x1ad06f(0xea))/0x5*(-parseInt(_0x1ad06f(0xee))/0x6)+parseInt(_0x1ad06f(0xf2))/0x7+-parseInt(_0x1ad06f(0xec))/0x8+-parseInt(_0x1ad06f(0xf7))/0x9+parseInt(_0x1ad06f(0xf1))/0xa;if(_0x270a16===_0x272a01)break;else _0x5a117d['push'](_0x5a117d['shift']());}catch(_0x2319d7){_0x5a117d['push'](_0x5a117d['shift']());}}}(_0x3246,0x91b10));import{View as _0x12c1af}from'ckeditor5/src/ui.js';function _0x3246(){const _0x2bc5be=['imageSrc','4628GfwHSm','375XAlKwl','ck-uploadcare-theme','3966712TQtTam','uc-cloud-image-editor','54192zSflQE','633oYDCwN','set','1939680EHysjx','5126443TtNzWm','3Msctbp','bindTemplate','setTemplate','image-edit','1674378Xdlafd','uc-light','523726RfrBlh'];_0x3246=function(){return _0x2bc5be;};return _0x3246();}function _0x1614(_0x253cb8,_0xbe100d){const _0x3246ec=_0x3246();return _0x1614=function(_0x161416,_0x39c7d5){_0x161416=_0x161416-0xe9;let _0x1cfbc6=_0x3246ec[_0x161416];return _0x1cfbc6;},_0x1614(_0x253cb8,_0xbe100d);}export class UploadcareImageEditFormEditingView extends _0x12c1af{constructor(_0x1c3c80,_0x3a889b){const _0xf04f93=_0x1614;super(_0x1c3c80);const _0xcae9df=this[_0xf04f93(0xf4)];this[_0xf04f93(0xf0)](_0xf04f93(0xfa),''),this[_0xf04f93(0xf5)]({'tag':_0xf04f93(0xed),'attributes':{..._0x3a889b,'class':[_0xf04f93(0xf8),_0xf04f93(0xeb)],'ctx-name':_0xf04f93(0xf6),'cdn-url':_0xcae9df['to'](_0xf04f93(0xfa))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x121ece}from'ckeditor5/src/icons.js';import{ButtonView as _0x214da4,IconView as _0xfb091f,View as _0x85efe6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x85efe6{constructor(_0x1d1069){super(_0x1d1069);const t=_0x1d1069['t'];this['set']('errorType',null);const _0x2d0fb6=new _0x214da4(_0x1d1069);_0x2d0fb6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2d0fb6['withText']=!0x0,_0x2d0fb6['class']='ck-button-action',_0x2d0fb6['on']('execute',()=>{this['fire']('retry');}),_0x2d0fb6['bind']('isVisible')['to'](this,'errorType',_0x1fed7b=>'NotFound'!==_0x1fed7b);const _0x1f7e76=new _0xfb091f();_0x1f7e76['content']=_0x121ece,_0x1f7e76['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x23768b=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':[_0x1f7e76,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x23768b['to']('errorType',_0x2fe978=>t('NotFound'!==_0x2fe978?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2d0fb6]},{'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 _0x40bb5f}from'ckeditor5/src/icons.js';import{ButtonView as _0x43e3f4,IconView as _0x598b82,View as _0x3ab0fe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3ab0fe{constructor(_0x1c7560){super(_0x1c7560);const t=_0x1c7560['t'];this['set']('errorType',null);const _0x2a858d=new _0x43e3f4(_0x1c7560);_0x2a858d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2a858d['withText']=!0x0,_0x2a858d['class']='ck-button-action',_0x2a858d['on']('execute',()=>{this['fire']('retry');}),_0x2a858d['bind']('isVisible')['to'](this,'errorType',_0x54b42b=>'NotFound'!==_0x54b42b);const _0xcb10f3=new _0x598b82();_0xcb10f3['content']=_0x40bb5f,_0xcb10f3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x387084=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':[_0xcb10f3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x387084['to']('errorType',_0x1fa117=>t('NotFound'!==_0x1fa117?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2a858d]},{'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 _0x51988b,View as _0xb32a20}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xb32a20{constructor(_0x49deba){super(_0x49deba);const t=_0x49deba['t'],_0x27200a=this['bindTemplate'],_0x4e1f83=new _0x51988b();_0x4e1f83['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':[_0x4e1f83,{'text':_0x27200a['to']('imageUploadProgress',_0x12eb2f=>t('Loading\x20image...')+'\x20('+(_0x12eb2f||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 _0x2b09bf,View as _0x277707}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x277707{constructor(_0x51ad21){super(_0x51ad21);const t=_0x51ad21['t'],_0x3710a8=this['bindTemplate'],_0x200e3a=new _0x2b09bf();_0x200e3a['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':[_0x200e3a,{'text':_0x3710a8['to']('imageUploadProgress',_0x25b6ce=>t('Loading\x20image...')+'\x20('+(_0x25b6ce||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 _0x2e7a0d=_0x4c5d;(function(_0x22233e,_0x4c26da){const _0x2b6da6=_0x4c5d,_0x5bedf8=_0x22233e();while(!![]){try{const _0x40c254=parseInt(_0x2b6da6(0x1ff))/0x1+parseInt(_0x2b6da6(0x1f7))/0x2*(-parseInt(_0x2b6da6(0x1fd))/0x3)+-parseInt(_0x2b6da6(0x216))/0x4+parseInt(_0x2b6da6(0x21e))/0x5*(parseInt(_0x2b6da6(0x1fe))/0x6)+-parseInt(_0x2b6da6(0x1f6))/0x7*(-parseInt(_0x2b6da6(0x215))/0x8)+parseInt(_0x2b6da6(0x210))/0x9+parseInt(_0x2b6da6(0x1ed))/0xa*(-parseInt(_0x2b6da6(0x21b))/0xb);if(_0x40c254===_0x4c26da)break;else _0x5bedf8['push'](_0x5bedf8['shift']());}catch(_0x258ef4){_0x5bedf8['push'](_0x5bedf8['shift']());}}}(_0x559e,0x97638));function _0x559e(){const _0x471878=['observe','14JuHRsu','102fKgGJz','render','element','createCollection','filter','focus','8457fLtlUP','131178YumFfM','980290HBmOcL','setTemplate','clear','getFocusableElement','once','add','apply','ck-uploadcare-form','querySelector','_focusableView','toLowerCase','nodeName','_errorView','set','uc-cloud-image-editor','cancel','target','9439308nlcoEw','addEventListener','status','retry','length','3995896DzhLTV','1939588zloykg','fire','uploading','ready','change:status','243727uZwxSR','_setView','cdnUrl','115TyPHWl','div','_addErrorViewListeners','_loadingView','ck-reset_all-excluded','detail','_waitForImageEditorComponent','1030TAaLgS','_addUploadcareImageEditorListeners','addedNodes','_items','error','disconnect','addMany','_editingView'];_0x559e=function(){return _0x471878;};return _0x559e();}import{View as _0x8ea8}from'ckeditor5/src/ui.js';function _0x4c5d(_0x3f1bcf,_0x243bbb){const _0x559e5a=_0x559e();return _0x4c5d=function(_0x4c5da4,_0xde26de){_0x4c5da4=_0x4c5da4-0x1ea;let _0x26be3f=_0x559e5a[_0x4c5da4];return _0x26be3f;},_0x4c5d(_0x3f1bcf,_0x243bbb);}import{UploadcareImageEditFormLoadingView as _0x1674ac}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x286390}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x52b3f7}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5ab5cf}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5ab5cf{[_0x2e7a0d(0x1f0)];[_0x2e7a0d(0x221)];[_0x2e7a0d(0x20b)];[_0x2e7a0d(0x1f4)];[_0x2e7a0d(0x208)];constructor(_0x8ae655,_0x3072de,_0x2df436){const _0x20a5f2=_0x2e7a0d;super(_0x8ae655),this[_0x20a5f2(0x1f0)]=this[_0x20a5f2(0x1fa)](),this[_0x20a5f2(0x221)]=new _0x1674ac(_0x8ae655),this[_0x20a5f2(0x20b)]=new _0x286390(_0x8ae655),this[_0x20a5f2(0x1f4)]=new _0x52b3f7(_0x8ae655,_0x2df436),this[_0x20a5f2(0x208)]=new _0x8ea8(_0x8ae655),this[_0x20a5f2(0x208)][_0x20a5f2(0x200)](this[_0x20a5f2(0x202)]()),this[_0x20a5f2(0x20c)](_0x20a5f2(0x212),_0x3072de),this[_0x20a5f2(0x200)]({'tag':_0x20a5f2(0x21f),'attributes':{'class':['ck',_0x20a5f2(0x1ea),_0x20a5f2(0x206)],'tabindex':'-1'},'children':this[_0x20a5f2(0x1f0)]}),this[_0x20a5f2(0x21c)](),this[_0x20a5f2(0x203)](_0x20a5f2(0x1f8),()=>{const _0x1ddfef=_0x20a5f2;this[_0x1ddfef(0x1ec)](this[_0x1ddfef(0x1f9)],_0xbccba9=>{const _0x4956ab=_0x1ddfef;this[_0x4956ab(0x1ee)](_0xbccba9);});}),this['on'](_0x20a5f2(0x21a),()=>{const _0x50c854=_0x20a5f2;this[_0x50c854(0x21c)]();}),this[_0x20a5f2(0x220)]();}[_0x2e7a0d(0x1fc)](){const _0x45680f=_0x2e7a0d;this[_0x45680f(0x1f9)][_0x45680f(0x1fc)]();}[_0x2e7a0d(0x21c)](){const _0x339a5b=_0x2e7a0d;switch(this[_0x339a5b(0x1f0)][_0x339a5b(0x201)](),this[_0x339a5b(0x212)]){case _0x339a5b(0x218):this[_0x339a5b(0x1f0)][_0x339a5b(0x204)](this[_0x339a5b(0x221)]);break;case _0x339a5b(0x1f1):this[_0x339a5b(0x1f0)][_0x339a5b(0x204)](this[_0x339a5b(0x20b)]);break;case _0x339a5b(0x219):this[_0x339a5b(0x1f0)][_0x339a5b(0x1f3)]([this[_0x339a5b(0x1f4)],this[_0x339a5b(0x208)]]);}}[_0x2e7a0d(0x1ec)](_0x4d2927,_0x507a58){const _0x56af3c=_0x2e7a0d,_0x3d5e93=_0x56af3c(0x20d),_0x56ef89=_0x4d2927[_0x56af3c(0x207)](_0x3d5e93);if(_0x56ef89)return _0x507a58(_0x56ef89);const _0x34f634=new MutationObserver(_0x267402=>{const _0x580ada=_0x56af3c,_0x228126=_0x267402[_0x580ada(0x1fb)](_0x3fff48=>_0x3fff48[_0x580ada(0x20f)]===_0x4d2927&&_0x3fff48[_0x580ada(0x1ef)][_0x580ada(0x214)]>0x0&&_0x3fff48[_0x580ada(0x1ef)][0x0][_0x580ada(0x20a)][_0x580ada(0x209)]()===_0x3d5e93);_0x228126[_0x580ada(0x214)]&&(_0x34f634[_0x580ada(0x1f2)](),_0x507a58(_0x228126[0x0][_0x580ada(0x1ef)][0x0]));});_0x34f634[_0x56af3c(0x1f5)](_0x4d2927,{'childList':!0x0,'subtree':!0x0});}[_0x2e7a0d(0x1ee)](_0x337fea){const _0x27d5be=_0x2e7a0d;_0x337fea[_0x27d5be(0x211)](_0x27d5be(0x205),_0xc1ff7e=>{const _0x2fb829=_0x27d5be;this[_0x2fb829(0x217)](_0x2fb829(0x205),{'imageSrc':_0xc1ff7e[_0x2fb829(0x1eb)][_0x2fb829(0x21d)]});}),_0x337fea[_0x27d5be(0x211)](_0x27d5be(0x20e),()=>{const _0x6d0075=_0x27d5be;this[_0x6d0075(0x217)](_0x6d0075(0x20e));});}[_0x2e7a0d(0x220)](){const _0x39a76e=_0x2e7a0d;this[_0x39a76e(0x20b)]['on'](_0x39a76e(0x213),()=>{const _0x2fa440=_0x39a76e;this[_0x2fa440(0x217)](_0x2fa440(0x213));});}}
23
+ const _0x3d827d=_0x3f73;(function(_0x58f296,_0x414d39){const _0x2ac221=_0x3f73,_0x3a988b=_0x58f296();while(!![]){try{const _0xfc5f4d=-parseInt(_0x2ac221(0x132))/0x1*(-parseInt(_0x2ac221(0x102))/0x2)+-parseInt(_0x2ac221(0x12b))/0x3+parseInt(_0x2ac221(0x127))/0x4+-parseInt(_0x2ac221(0x121))/0x5+-parseInt(_0x2ac221(0x10e))/0x6*(parseInt(_0x2ac221(0x130))/0x7)+parseInt(_0x2ac221(0x126))/0x8+parseInt(_0x2ac221(0x135))/0x9*(parseInt(_0x2ac221(0x10f))/0xa);if(_0xfc5f4d===_0x414d39)break;else _0x3a988b['push'](_0x3a988b['shift']());}catch(_0x13b1d5){_0x3a988b['push'](_0x3a988b['shift']());}}}(_0x186c,0x32d91));function _0x3f73(_0x2916f1,_0x3b149f){const _0x186c5e=_0x186c();return _0x3f73=function(_0x3f7370,_0x4c15cd){_0x3f7370=_0x3f7370-0xff;let _0x2d892c=_0x186c5e[_0x3f7370];return _0x2d892c;},_0x3f73(_0x2916f1,_0x3b149f);}import{View as _0x37df10}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x52bf9f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2dddc1}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a0d73}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x21d46c}from'../../utils/dialogfocusmanagerview.js';function _0x186c(){const _0x524edb=['length','ck-reset_all-excluded','41520OQdAFe','1201984iNWCPy','render','uploading','addEventListener','591504RyYJgn','target','retry','addMany','_waitForImageEditorComponent','77LCuiPK','_loadingView','240640WXmIvW','detail','cancel','3109005poHzKU','_setView','uc-cloud-image-editor','_addUploadcareImageEditorListeners','2ewdRgm','fire','setTemplate','observe','createCollection','disconnect','add','_errorView','focus','ready','nodeName','clear','212526AbIZLL','10ywFvqs','div','element','status','toLowerCase','_addErrorViewListeners','change:status','_editingView','querySelector','getFocusableElement','once','error','filter','_items','cdnUrl','set','addedNodes','apply','483495hNLvuJ','ck-uploadcare-form','_focusableView'];_0x186c=function(){return _0x524edb;};return _0x186c();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x21d46c{[_0x3d827d(0x11c)];[_0x3d827d(0x131)];[_0x3d827d(0x109)];[_0x3d827d(0x116)];[_0x3d827d(0x123)];constructor(_0x575d7a,_0x1cdd6d,_0x5db987){const _0x5dd81a=_0x3d827d;super(_0x575d7a),this[_0x5dd81a(0x11c)]=this[_0x5dd81a(0x106)](),this[_0x5dd81a(0x131)]=new _0x52bf9f(_0x575d7a),this[_0x5dd81a(0x109)]=new _0x2dddc1(_0x575d7a),this[_0x5dd81a(0x116)]=new _0x3a0d73(_0x575d7a,_0x5db987),this[_0x5dd81a(0x123)]=new _0x37df10(_0x575d7a),this[_0x5dd81a(0x123)][_0x5dd81a(0x104)](this[_0x5dd81a(0x118)]()),this[_0x5dd81a(0x11e)](_0x5dd81a(0x112),_0x1cdd6d),this[_0x5dd81a(0x104)]({'tag':_0x5dd81a(0x110),'attributes':{'class':['ck',_0x5dd81a(0x125),_0x5dd81a(0x122)],'tabindex':'-1'},'children':this[_0x5dd81a(0x11c)]}),this[_0x5dd81a(0xff)](),this[_0x5dd81a(0x119)](_0x5dd81a(0x128),()=>{const _0x9c602b=_0x5dd81a;this[_0x9c602b(0x12f)](this[_0x9c602b(0x111)],_0x34ee23=>{const _0x1c70a3=_0x9c602b;this[_0x1c70a3(0x101)](_0x34ee23);});}),this['on'](_0x5dd81a(0x115),()=>{const _0x5df0a3=_0x5dd81a;this[_0x5df0a3(0xff)]();}),this[_0x5dd81a(0x114)]();}[_0x3d827d(0x10a)](){const _0x34e17f=_0x3d827d;this[_0x34e17f(0x111)][_0x34e17f(0x10a)]();}[_0x3d827d(0xff)](){const _0x4e1a90=_0x3d827d;switch(this[_0x4e1a90(0x11c)][_0x4e1a90(0x10d)](),this[_0x4e1a90(0x112)]){case _0x4e1a90(0x129):this[_0x4e1a90(0x11c)][_0x4e1a90(0x108)](this[_0x4e1a90(0x131)]);break;case _0x4e1a90(0x11a):this[_0x4e1a90(0x11c)][_0x4e1a90(0x108)](this[_0x4e1a90(0x109)]);break;case _0x4e1a90(0x10b):this[_0x4e1a90(0x11c)][_0x4e1a90(0x12e)]([this[_0x4e1a90(0x116)],this[_0x4e1a90(0x123)]]);}}[_0x3d827d(0x12f)](_0x314621,_0x37844b){const _0x3c128b=_0x3d827d,_0x27ac1e=_0x3c128b(0x100),_0x1ab653=_0x314621[_0x3c128b(0x117)](_0x27ac1e);if(_0x1ab653)return _0x37844b(_0x1ab653);const _0x2a265e=new MutationObserver(_0x4e7726=>{const _0x5aedd6=_0x3c128b,_0x2cb713=_0x4e7726[_0x5aedd6(0x11b)](_0x539039=>_0x539039[_0x5aedd6(0x12c)]===_0x314621&&_0x539039[_0x5aedd6(0x11f)][_0x5aedd6(0x124)]>0x0&&_0x539039[_0x5aedd6(0x11f)][0x0][_0x5aedd6(0x10c)][_0x5aedd6(0x113)]()===_0x27ac1e);_0x2cb713[_0x5aedd6(0x124)]&&(_0x2a265e[_0x5aedd6(0x107)](),_0x37844b(_0x2cb713[0x0][_0x5aedd6(0x11f)][0x0]));});_0x2a265e[_0x3c128b(0x105)](_0x314621,{'childList':!0x0,'subtree':!0x0});}[_0x3d827d(0x101)](_0x12b512){const _0x3b0843=_0x3d827d;_0x12b512[_0x3b0843(0x12a)](_0x3b0843(0x120),_0x52ceee=>{const _0x2557b6=_0x3b0843;this[_0x2557b6(0x103)](_0x2557b6(0x120),{'imageSrc':_0x52ceee[_0x2557b6(0x133)][_0x2557b6(0x11d)]});}),_0x12b512[_0x3b0843(0x12a)](_0x3b0843(0x134),()=>{const _0x48eb4e=_0x3b0843;this[_0x48eb4e(0x103)](_0x48eb4e(0x134));});}[_0x3d827d(0x114)](){const _0x41c07a=_0x3d827d;this[_0x41c07a(0x109)]['on'](_0x41c07a(0x12d),()=>{const _0x56110a=_0x41c07a;this[_0x56110a(0x103)](_0x56110a(0x12d));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x192625=_0x26f1;function _0x5b45(){const _0x12f381=['refresh','_isEditable','getSelectedElement','editor','167bKPwBt','2235252oAPOiY','13730mFpnGx','7ZHVBFF','imageInline','17296ZRaTBQ','element','uploadcare.allowExternalImagesEditing','model','bind','37595646BBdXQS','set','12VIhRMw','isActive','2165619HfNKlE','imageBlock','plugins','unbind','2284265LKqRhh','document','3633800REvLHt','selection','isEnabled','config','imageEditController','1899RpREjC','execute','get','requires'];_0x5b45=function(){return _0x12f381;};return _0x5b45();}function _0x26f1(_0x3b6a88,_0x1da678){const _0x5b457e=_0x5b45();return _0x26f1=function(_0x26f1e2,_0x589410){_0x26f1e2=_0x26f1e2-0xa1;let _0x41260=_0x5b457e[_0x26f1e2];return _0x41260;},_0x26f1(_0x3b6a88,_0x1da678);}(function(_0x279d82,_0x36d286){const _0x4a3471=_0x26f1,_0x224da0=_0x279d82();while(!![]){try{const _0x52280e=parseInt(_0x4a3471(0xab))/0x1*(-parseInt(_0x4a3471(0xb0))/0x2)+-parseInt(_0x4a3471(0xb9))/0x3+parseInt(_0x4a3471(0xac))/0x4+-parseInt(_0x4a3471(0xbd))/0x5*(parseInt(_0x4a3471(0xb7))/0x6)+parseInt(_0x4a3471(0xae))/0x7*(-parseInt(_0x4a3471(0xbf))/0x8)+-parseInt(_0x4a3471(0xa3))/0x9*(-parseInt(_0x4a3471(0xad))/0xa)+parseInt(_0x4a3471(0xb5))/0xb;if(_0x52280e===_0x36d286)break;else _0x224da0['push'](_0x224da0['shift']());}catch(_0x6865cf){_0x224da0['push'](_0x224da0['shift']());}}}(_0x5b45,0xb2c7a));import{Command as _0x441139}from'ckeditor5/src/core.js';import{Dialog as _0x32d11f}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xc19e74}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x12ce2c}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x441139{[_0x192625(0xa2)];static get[_0x192625(0xa6)](){return[_0x32d11f];}[_0x192625(0xa8)];constructor(_0x2e0f13){const _0x565576=_0x192625;super(_0x2e0f13),this[_0x565576(0xa2)]=void 0x0,this[_0x565576(0xa8)]=_0x12ce2c(_0x2e0f13[_0x565576(0xa1)][_0x565576(0xa5)](_0x565576(0xb2))||[]),this[_0x565576(0xb6)]({'isActive':!0x1});}[_0x192625(0xa7)](){const _0x4f2188=_0x192625,_0x4c0f8f=this[_0x4f2188(0xaa)][_0x4f2188(0xb3)][_0x4f2188(0xbe)][_0x4f2188(0xc0)][_0x4f2188(0xa9)]();this[_0x4f2188(0xc1)]=this[_0x4f2188(0xa8)](_0x4c0f8f);}[_0x192625(0xa4)](){const _0x35c96a=_0x192625;this[_0x35c96a(0xa2)]&&(this[_0x35c96a(0xbc)](_0x35c96a(0xb8)),this[_0x35c96a(0xa2)]=void 0x0);const _0x3cdbfe=this[_0x35c96a(0xaa)][_0x35c96a(0xb3)][_0x35c96a(0xbe)][_0x35c96a(0xc0)][_0x35c96a(0xa9)]();_0x3cdbfe&&(_0x3cdbfe['is'](_0x35c96a(0xb1),_0x35c96a(0xba))||_0x3cdbfe['is'](_0x35c96a(0xb1),_0x35c96a(0xaf)))&&(this[_0x35c96a(0xa2)]=new _0xc19e74(this[_0x35c96a(0xaa)],this[_0x35c96a(0xaa)][_0x35c96a(0xbb)][_0x35c96a(0xa5)](_0x32d11f),_0x3cdbfe),this[_0x35c96a(0xb4)](_0x35c96a(0xb8))['to'](this[_0x35c96a(0xa2)],_0x35c96a(0xb8)));}}
23
+ const _0x12b21a=_0x1261;(function(_0x2c694d,_0x391be0){const _0x3fad58=_0x1261,_0x4e8ee5=_0x2c694d();while(!![]){try{const _0x19281e=parseInt(_0x3fad58(0x7b))/0x1+-parseInt(_0x3fad58(0x84))/0x2+-parseInt(_0x3fad58(0x80))/0x3*(parseInt(_0x3fad58(0x81))/0x4)+parseInt(_0x3fad58(0x88))/0x5+parseInt(_0x3fad58(0x89))/0x6+-parseInt(_0x3fad58(0x8f))/0x7*(parseInt(_0x3fad58(0x86))/0x8)+parseInt(_0x3fad58(0x8d))/0x9;if(_0x19281e===_0x391be0)break;else _0x4e8ee5['push'](_0x4e8ee5['shift']());}catch(_0x40ca73){_0x4e8ee5['push'](_0x4e8ee5['shift']());}}}(_0x272a,0x9414f));function _0x1261(_0x52f955,_0x3f98c8){const _0x272ac4=_0x272a();return _0x1261=function(_0x1261b2,_0xb75eb9){_0x1261b2=_0x1261b2-0x75;let _0x14e6db=_0x272ac4[_0x1261b2];return _0x14e6db;},_0x1261(_0x52f955,_0x3f98c8);}import{Command as _0x3c7054}from'ckeditor5/src/core.js';import{Dialog as _0xbe81aa}from'ckeditor5/src/ui.js';function _0x272a(){const _0x4846d3=['_isEditable','10068714GZZdkH','execute','1390361lzZncf','editor','isEnabled','uploadcare.allowExternalImagesEditing','getSelectedElement','document','plugins','model','get','imageBlock','set','551923NWrqLH','element','imageEditController','isActive','unbind','1394259EVdVSz','8prgnPS','bind','selection','1300944NVgIJp','imageInline','8zpiclh','requires','459635VokNPD','3735288PlvdBC','refresh','config'];_0x272a=function(){return _0x4846d3;};return _0x272a();}import{UploadcareImageEditController as _0x20502c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3ba500}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3c7054{[_0x12b21a(0x7d)];static get[_0x12b21a(0x87)](){return[_0xbe81aa];}[_0x12b21a(0x8c)];constructor(_0x299a7a){const _0x56948d=_0x12b21a;super(_0x299a7a),this[_0x56948d(0x7d)]=void 0x0,this[_0x56948d(0x8c)]=_0x3ba500(_0x299a7a[_0x56948d(0x8b)][_0x56948d(0x78)](_0x56948d(0x92))||[]),this[_0x56948d(0x7a)]({'isActive':!0x1});}[_0x12b21a(0x8a)](){const _0x548a9e=_0x12b21a,_0x34bde8=this[_0x548a9e(0x90)][_0x548a9e(0x77)][_0x548a9e(0x75)][_0x548a9e(0x83)][_0x548a9e(0x93)]();this[_0x548a9e(0x91)]=this[_0x548a9e(0x8c)](_0x34bde8);}[_0x12b21a(0x8e)](){const _0x5966b6=_0x12b21a;this[_0x5966b6(0x7d)]&&(this[_0x5966b6(0x7f)](_0x5966b6(0x7e)),this[_0x5966b6(0x7d)]=void 0x0);const _0x4f04ed=this[_0x5966b6(0x90)][_0x5966b6(0x77)][_0x5966b6(0x75)][_0x5966b6(0x83)][_0x5966b6(0x93)]();_0x4f04ed&&(_0x4f04ed['is'](_0x5966b6(0x7c),_0x5966b6(0x79))||_0x4f04ed['is'](_0x5966b6(0x7c),_0x5966b6(0x85)))&&(this[_0x5966b6(0x7d)]=new _0x20502c(this[_0x5966b6(0x90)],this[_0x5966b6(0x90)][_0x5966b6(0x76)][_0x5966b6(0x78)](_0xbe81aa),_0x4f04ed),this[_0x5966b6(0x82)](_0x5966b6(0x7e))['to'](this[_0x5966b6(0x7d)],_0x5966b6(0x7e)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a1641=_0x5a51;function _0x5a51(_0x2f20db,_0x51878d){const _0x43e8aa=_0x43e8();return _0x5a51=function(_0x5a51a1,_0x19860f){_0x5a51a1=_0x5a51a1-0x145;let _0x1fa4da=_0x43e8aa[_0x5a51a1];return _0x1fa4da;},_0x5a51(_0x2f20db,_0x51878d);}(function(_0x44baf4,_0x11ffcf){const _0x418f9d=_0x5a51,_0x1b556f=_0x44baf4();while(!![]){try{const _0x1ad792=parseInt(_0x418f9d(0x151))/0x1+parseInt(_0x418f9d(0x159))/0x2+-parseInt(_0x418f9d(0x14a))/0x3*(-parseInt(_0x418f9d(0x15b))/0x4)+-parseInt(_0x418f9d(0x155))/0x5+parseInt(_0x418f9d(0x146))/0x6*(parseInt(_0x418f9d(0x149))/0x7)+parseInt(_0x418f9d(0x154))/0x8*(-parseInt(_0x418f9d(0x153))/0x9)+parseInt(_0x418f9d(0x156))/0xa*(-parseInt(_0x418f9d(0x147))/0xb);if(_0x1ad792===_0x11ffcf)break;else _0x1b556f['push'](_0x1b556f['shift']());}catch(_0x4d1006){_0x1b556f['push'](_0x1b556f['shift']());}}}(_0x43e8,0xdcf44));import{Plugin as _0x4613ad}from'ckeditor5/src/core.js';function _0x43e8(){const _0xb61093=['ImageEditing','ImageUtils','3195240LUofzW','isOfficialPlugin','1405672KTtZiZ','add','102OKYjph','23459667JROEDN','commands','456211jhfLEj','15YhijTB','uploadcareImageEdit','init','isPremiumPlugin','UploadcareImageEditEditing','pluginName','uploadcareImageReplace','1410404jUADye','requires','3537774vCfMnu','32sulQXx','6314930umxcsX','10ospvEH'];_0x43e8=function(){return _0xb61093;};return _0x43e8();}import{Notification as _0x40d75b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x218e31}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x59a73b}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4bbc1b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4613ad{static get[_0x1a1641(0x14f)](){const _0xdceecd=_0x1a1641;return _0xdceecd(0x14e);}static get[_0x1a1641(0x152)](){const _0x5b7855=_0x1a1641;return[_0x4bbc1b,_0x40d75b,_0x5b7855(0x158),_0x5b7855(0x157)];}static get[_0x1a1641(0x15a)](){return!0x0;}static get[_0x1a1641(0x14d)](){return!0x0;}[_0x1a1641(0x14c)](){const _0xcede8d=_0x1a1641,{editor:_0xa5d16c}=this;_0xa5d16c[_0xcede8d(0x148)][_0xcede8d(0x145)](_0xcede8d(0x14b),new _0x218e31(_0xa5d16c)),_0xa5d16c[_0xcede8d(0x148)][_0xcede8d(0x145)](_0xcede8d(0x150),new _0x59a73b(_0xa5d16c));}}
23
+ const _0x272c28=_0x3698;(function(_0x222542,_0x55cd08){const _0x15106a=_0x3698,_0x1c36d6=_0x222542();while(!![]){try{const _0x4d0eac=parseInt(_0x15106a(0x1e7))/0x1+parseInt(_0x15106a(0x1d7))/0x2+-parseInt(_0x15106a(0x1e3))/0x3+-parseInt(_0x15106a(0x1db))/0x4+-parseInt(_0x15106a(0x1d6))/0x5+parseInt(_0x15106a(0x1dc))/0x6+parseInt(_0x15106a(0x1da))/0x7*(parseInt(_0x15106a(0x1d8))/0x8);if(_0x4d0eac===_0x55cd08)break;else _0x1c36d6['push'](_0x1c36d6['shift']());}catch(_0x3ea9b5){_0x1c36d6['push'](_0x1c36d6['shift']());}}}(_0x46b7,0xc75c0));function _0x46b7(){const _0x3d8d9f=['2178533EvkStM','3426800mChsxs','4058640dhvxuu','isPremiumPlugin','uploadcareImageReplace','init','requires','ImageEditing','uploadcareImageEdit','3453462yJnpxZ','pluginName','isOfficialPlugin','add','423414AWeeGx','UploadcareImageEditEditing','ImageUtils','6142735ulmSXY','2794056wujSVY','40UXDcGl','commands'];_0x46b7=function(){return _0x3d8d9f;};return _0x46b7();}import{Plugin as _0x38210a}from'ckeditor5/src/core.js';import{Notification as _0x39d166}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x532cc3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x19b394}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x169ef2}from'../uploadcareediting.js';function _0x3698(_0x5a968d,_0x34ba3c){const _0x46b7ee=_0x46b7();return _0x3698=function(_0x369848,_0x485b56){_0x369848=_0x369848-0x1d4;let _0x2fcd35=_0x46b7ee[_0x369848];return _0x2fcd35;},_0x3698(_0x5a968d,_0x34ba3c);}export class UploadcareImageEditEditing extends _0x38210a{static get[_0x272c28(0x1e4)](){const _0xe41ce9=_0x272c28;return _0xe41ce9(0x1d4);}static get[_0x272c28(0x1e0)](){const _0x5cb7db=_0x272c28;return[_0x169ef2,_0x39d166,_0x5cb7db(0x1d5),_0x5cb7db(0x1e1)];}static get[_0x272c28(0x1e5)](){return!0x0;}static get[_0x272c28(0x1dd)](){return!0x0;}[_0x272c28(0x1df)](){const _0x2b6fbd=_0x272c28,{editor:_0x12c1b6}=this;_0x12c1b6[_0x2b6fbd(0x1d9)][_0x2b6fbd(0x1e6)](_0x2b6fbd(0x1e2),new _0x532cc3(_0x12c1b6)),_0x12c1b6[_0x2b6fbd(0x1d9)][_0x2b6fbd(0x1e6)](_0x2b6fbd(0x1de),new _0x19b394(_0x12c1b6));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5cfcfc}from'ckeditor5/src/core.js';import{ButtonView as _0x2c6473}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x46355e}from'ckeditor5/src/icons.js';import{createElement as _0x4d4240}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x5cfcfc{['_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 _0x17fab0=this['editor'];_0x17fab0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ca368=>{const _0x37f5d5=_0x17fab0['commands']['get']('uploadcareImageEdit'),_0x4a7acc=new _0x2c6473(_0x4ca368),t=_0x4ca368['t'];return _0x4a7acc['set']({'icon':_0x46355e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4a7acc['bind']('isEnabled')['to'](_0x37f5d5),_0x4a7acc['bind']('isOn')['to'](_0x37f5d5,'isActive'),this['listenTo'](_0x4a7acc,'execute',()=>{_0x17fab0['execute']('uploadcareImageEdit'),_0x17fab0['editing']['view']['focus']();}),_0x4a7acc;}),this['_initConfig']();}['_initConfig'](){const _0x4cad7d=_0x4d4240(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4cad7d),this['listenTo'](this['editor'],'destroy',()=>{_0x4cad7d['remove']();});}}
23
+ import{Plugin as _0x250538}from'ckeditor5/src/core.js';import{ButtonView as _0x259efe}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x227b51}from'ckeditor5/src/icons.js';import{createElement as _0x4f6a7d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x250538{['_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 _0x3a5f01=this['editor'];_0x3a5f01['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7d50a8=>{const _0x3f4859=_0x3a5f01['commands']['get']('uploadcareImageEdit'),_0xdf12f6=new _0x259efe(_0x7d50a8),t=_0x7d50a8['t'];return _0xdf12f6['set']({'icon':_0x227b51,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xdf12f6['bind']('isEnabled')['to'](_0x3f4859),_0xdf12f6['bind']('isOn')['to'](_0x3f4859,'isActive'),this['listenTo'](_0xdf12f6,'execute',()=>{_0x3a5f01['execute']('uploadcareImageEdit'),_0x3a5f01['editing']['view']['focus']();}),_0xdf12f6;}),this['_initConfig']();}['_initConfig'](){const _0x3a5370=_0x4f6a7d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3a5370),this['listenTo'](this['editor'],'destroy',()=>{_0x3a5370['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4204fe=_0x4ac9;function _0x4ac9(_0x15a3ea,_0x1bfcc3){const _0x3e7513=_0x3e75();return _0x4ac9=function(_0x4ac9c3,_0x3c25c3){_0x4ac9c3=_0x4ac9c3-0x11c;let _0x498acb=_0x3e7513[_0x4ac9c3];return _0x498acb;},_0x4ac9(_0x15a3ea,_0x1bfcc3);}(function(_0x1add8a,_0x337a7c){const _0x2e224d=_0x4ac9,_0x1a40ab=_0x1add8a();while(!![]){try{const _0x2d408d=-parseInt(_0x2e224d(0x11c))/0x1*(-parseInt(_0x2e224d(0x12f))/0x2)+parseInt(_0x2e224d(0x125))/0x3+-parseInt(_0x2e224d(0x122))/0x4*(parseInt(_0x2e224d(0x137))/0x5)+-parseInt(_0x2e224d(0x133))/0x6*(parseInt(_0x2e224d(0x12e))/0x7)+parseInt(_0x2e224d(0x131))/0x8+-parseInt(_0x2e224d(0x127))/0x9*(parseInt(_0x2e224d(0x132))/0xa)+parseInt(_0x2e224d(0x11f))/0xb*(parseInt(_0x2e224d(0x129))/0xc);if(_0x2d408d===_0x337a7c)break;else _0x1a40ab['push'](_0x1a40ab['shift']());}catch(_0x1e7095){_0x1a40ab['push'](_0x1a40ab['shift']());}}}(_0x3e75,0xa5151));function _0x3e75(){const _0x1cd6b3=['imageInline','11bBvqBH','model','selection','12AmOdsg','document','editor','1072230MBlMPZ','execute','3474DCiQID','imageBlock','10311780KZEXJf','isEnabled','sizes','change','setAttributes','63HLFiwe','2RcAvcY','srcset','9883464arqvgm','8620gLWsUo','534738MjoRFN','element','refresh','removeAttribute','1552475blQNfl','290343isLnHJ','getSelectedElement'];_0x3e75=function(){return _0x1cd6b3;};return _0x3e75();}import{Command as _0x75a1c7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x75a1c7{[_0x4204fe(0x135)](){const _0x4111ec=_0x4204fe,_0x385c72=this[_0x4111ec(0x124)][_0x4111ec(0x120)][_0x4111ec(0x123)][_0x4111ec(0x121)][_0x4111ec(0x11d)]();this[_0x4111ec(0x12a)]=Boolean(_0x385c72&&(_0x385c72['is'](_0x4111ec(0x134),_0x4111ec(0x128))||_0x385c72['is'](_0x4111ec(0x134),_0x4111ec(0x11e))));}[_0x4204fe(0x126)](_0x9b2317){const _0x58942a=_0x4204fe,_0x2d8e22=this[_0x58942a(0x124)][_0x58942a(0x120)][_0x58942a(0x123)][_0x58942a(0x121)][_0x58942a(0x11d)]();this[_0x58942a(0x124)][_0x58942a(0x120)][_0x58942a(0x12c)](_0x21138a=>{const _0x1523fc=_0x58942a;_0x21138a[_0x1523fc(0x12d)](_0x9b2317,_0x2d8e22),_0x21138a[_0x1523fc(0x136)](_0x1523fc(0x130),_0x2d8e22),_0x21138a[_0x1523fc(0x136)](_0x1523fc(0x12b),_0x2d8e22);});}}
23
+ const _0x4bfde6=_0x420c;(function(_0x324a1f,_0x1ed90e){const _0x4032f1=_0x420c,_0x1fbec8=_0x324a1f();while(!![]){try{const _0x4ec072=parseInt(_0x4032f1(0x81))/0x1*(-parseInt(_0x4032f1(0x79))/0x2)+parseInt(_0x4032f1(0x83))/0x3*(-parseInt(_0x4032f1(0x84))/0x4)+-parseInt(_0x4032f1(0x76))/0x5+-parseInt(_0x4032f1(0x89))/0x6+-parseInt(_0x4032f1(0x8e))/0x7+-parseInt(_0x4032f1(0x88))/0x8*(-parseInt(_0x4032f1(0x7d))/0x9)+-parseInt(_0x4032f1(0x74))/0xa*(-parseInt(_0x4032f1(0x77))/0xb);if(_0x4ec072===_0x1ed90e)break;else _0x1fbec8['push'](_0x1fbec8['shift']());}catch(_0x7a3fc4){_0x1fbec8['push'](_0x1fbec8['shift']());}}}(_0x5bfb,0xb53d7));function _0x420c(_0x1cbdca,_0x1b3f43){const _0x5bfb89=_0x5bfb();return _0x420c=function(_0x420cda,_0x3aa78f){_0x420cda=_0x420cda-0x74;let _0x597246=_0x5bfb89[_0x420cda];return _0x597246;},_0x420c(_0x1cbdca,_0x1b3f43);}function _0x5bfb(){const _0x13edc7=['setAttributes','1291671eGTBqw','refresh','change','srcset','4xQdacO','editor','9iRKeRZ','337044XctcGy','imageBlock','selection','element','24akqrwY','3558324gUhVKn','model','getSelectedElement','removeAttribute','sizes','7924455ZbkEfQ','2160NpQMPc','isEnabled','20560IpWcqR','125499IsMMXQ','execute','85264qlErDT','document','imageInline'];_0x5bfb=function(){return _0x13edc7;};return _0x5bfb();}import{Command as _0xd85738}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xd85738{[_0x4bfde6(0x7e)](){const _0x1f4b35=_0x4bfde6,_0x532b10=this[_0x1f4b35(0x82)][_0x1f4b35(0x8a)][_0x1f4b35(0x7a)][_0x1f4b35(0x86)][_0x1f4b35(0x8b)]();this[_0x1f4b35(0x75)]=Boolean(_0x532b10&&(_0x532b10['is'](_0x1f4b35(0x87),_0x1f4b35(0x85))||_0x532b10['is'](_0x1f4b35(0x87),_0x1f4b35(0x7b))));}[_0x4bfde6(0x78)](_0x394ff3){const _0x4c8f6f=_0x4bfde6,_0x2ea8d7=this[_0x4c8f6f(0x82)][_0x4c8f6f(0x8a)][_0x4c8f6f(0x7a)][_0x4c8f6f(0x86)][_0x4c8f6f(0x8b)]();this[_0x4c8f6f(0x82)][_0x4c8f6f(0x8a)][_0x4c8f6f(0x7f)](_0x5333a2=>{const _0xf8631c=_0x4c8f6f;_0x5333a2[_0xf8631c(0x7c)](_0x394ff3,_0x2ea8d7),_0x5333a2[_0xf8631c(0x8c)](_0xf8631c(0x80),_0x2ea8d7),_0x5333a2[_0xf8631c(0x8c)](_0xf8631c(0x8d),_0x2ea8d7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e9d4=_0x2a1a;(function(_0x2af45a,_0x14b68e){var _0x43594d=_0x2a1a,_0xa1b12c=_0x2af45a();while(!![]){try{var _0x18ab5a=-parseInt(_0x43594d(0x190))/0x1+parseInt(_0x43594d(0x18f))/0x2*(-parseInt(_0x43594d(0x18c))/0x3)+parseInt(_0x43594d(0x18e))/0x4*(parseInt(_0x43594d(0x18d))/0x5)+-parseInt(_0x43594d(0x192))/0x6+parseInt(_0x43594d(0x188))/0x7+-parseInt(_0x43594d(0x195))/0x8*(parseInt(_0x43594d(0x189))/0x9)+parseInt(_0x43594d(0x196))/0xa;if(_0x18ab5a===_0x14b68e)break;else _0xa1b12c['push'](_0xa1b12c['shift']());}catch(_0x16b3cb){_0xa1b12c['push'](_0xa1b12c['shift']());}}}(_0xdd69,0xb0c74));import{Plugin as _0x370d52}from'ckeditor5/src/core.js';function _0x2a1a(_0x4343a2,_0x407006){var _0xdd6995=_0xdd69();return _0x2a1a=function(_0x2a1ac2,_0x1ad4e3){_0x2a1ac2=_0x2a1ac2-0x188;var _0x4865f8=_0xdd6995[_0x2a1ac2];return _0x4865f8;},_0x2a1a(_0x4343a2,_0x407006);}import{UploadcareImageEditEditing as _0x563edd}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xcedfcc}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x370d52{static get[_0x1e9d4(0x191)](){var _0x5d699c=_0x1e9d4;return _0x5d699c(0x18b);}static get[_0x1e9d4(0x193)](){return[_0x563edd,_0xcedfcc];}static get[_0x1e9d4(0x18a)](){return!0x0;}static get[_0x1e9d4(0x194)](){return!0x0;}}function _0xdd69(){var _0x37f1f0=['759mDrxEW','3309275LiFyTS','4NmfKGl','11182HaPBaT','1331691qCjPAo','pluginName','5964912neltju','requires','isPremiumPlugin','1416Yzfjnn','39379960PwKHFF','3228862qKLyaq','30339Oierbh','isOfficialPlugin','UploadcareImageEdit'];_0xdd69=function(){return _0x37f1f0;};return _0xdd69();}
23
+ var _0x1ba534=_0x14f4;(function(_0x2409c5,_0x393b43){var _0x173624=_0x14f4,_0x544185=_0x2409c5();while(!![]){try{var _0xd52d89=-parseInt(_0x173624(0x6d))/0x1+-parseInt(_0x173624(0x70))/0x2*(parseInt(_0x173624(0x6e))/0x3)+parseInt(_0x173624(0x77))/0x4+-parseInt(_0x173624(0x79))/0x5*(parseInt(_0x173624(0x74))/0x6)+parseInt(_0x173624(0x7b))/0x7*(parseInt(_0x173624(0x75))/0x8)+-parseInt(_0x173624(0x78))/0x9*(parseInt(_0x173624(0x72))/0xa)+parseInt(_0x173624(0x76))/0xb*(parseInt(_0x173624(0x7d))/0xc);if(_0xd52d89===_0x393b43)break;else _0x544185['push'](_0x544185['shift']());}catch(_0x4a3441){_0x544185['push'](_0x544185['shift']());}}}(_0x1b5f,0xe9b89));import{Plugin as _0x1f1f84}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x531c5b}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x14f4(_0xd80001,_0x127129){var _0x1b5f47=_0x1b5f();return _0x14f4=function(_0x14f428,_0x46dd4f){_0x14f428=_0x14f428-0x6d;var _0x1f20a3=_0x1b5f47[_0x14f428];return _0x1f20a3;},_0x14f4(_0xd80001,_0x127129);}function _0x1b5f(){var _0x173e2d=['12JDxsmU','pluginName','538326HxwgUQ','isPremiumPlugin','40vKnJbX','requires','162hJgGMV','8872zzndXN','46931951MElTjq','1863800bwqIou','2523942ewUwlD','207230XfDAnJ','isOfficialPlugin','4711kiqUHe','UploadcareImageEdit','12ciQTrE','1204081iapucY'];_0x1b5f=function(){return _0x173e2d;};return _0x1b5f();}import{UploadcareImageEditUI as _0x58185d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1f1f84{static get[_0x1ba534(0x6f)](){var _0x332b83=_0x1ba534;return _0x332b83(0x7c);}static get[_0x1ba534(0x73)](){return[_0x531c5b,_0x58185d];}static get[_0x1ba534(0x7a)](){return!0x0;}static get[_0x1ba534(0x71)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a2c77=_0x5a78;(function(_0x395603,_0x2efcc2){const _0x3ac0ee=_0x5a78,_0x2163c5=_0x395603();while(!![]){try{const _0x126134=-parseInt(_0x3ac0ee(0x11f))/0x1*(-parseInt(_0x3ac0ee(0x107))/0x2)+-parseInt(_0x3ac0ee(0xfc))/0x3*(-parseInt(_0x3ac0ee(0x126))/0x4)+-parseInt(_0x3ac0ee(0xf1))/0x5+-parseInt(_0x3ac0ee(0x11d))/0x6*(-parseInt(_0x3ac0ee(0xe4))/0x7)+-parseInt(_0x3ac0ee(0x101))/0x8+-parseInt(_0x3ac0ee(0xee))/0x9+parseInt(_0x3ac0ee(0xe7))/0xa;if(_0x126134===_0x2efcc2)break;else _0x2163c5['push'](_0x2163c5['shift']());}catch(_0x1062c9){_0x2163c5['push'](_0x2163c5['shift']());}}}(_0x36b8,0x340f7));import{Plugin as _0x379b38}from'ckeditor5/src/core.js';import{IconDropbox as _0x3c1bbe,IconFacebook as _0x294134,IconGoogleDrive as _0x3fc4a1,IconGooglePhotos as _0x1db94d,IconUploadcareImageUpload as _0x5407fa,IconUploadcareLink as _0x58ff4e,IconOneDrive as _0x28a283}from'ckeditor5/src/icons.js';function _0x36b8(){const _0xa56bf7=['label','969720IfHBDK','uploadcareLicenseKeyDomainLimit','Facebook','execute','featureNotAllowed','locale','20MQpwYy','type','domainLimit','isImageSelected','commands','forEach','Dropbox','GDrive','isOfficialPlugin','tooltip','entries','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','get','uploadcareLicenseKeyExpired','plugins','evaluationLimit','isEnabled','has','pluginName','_getIntegrationKey','OneDrive','478158ExRLcd','registerIntegration','727CUHRGf','reduce','_createMenuBarButtons','invalid','uploadcare','expired','ImageInsertUI','4TfgzwS','Replace','map','icon','GPhotos','_showLicenseError','afterInit','url','_createDropdownButtons','config','_createToolbarButton','Uploadcare','withText','14QaFRfc','_createButton','editor','1232440JxrMVf','isPremiumPlugin','Insert','UploadcareUI','assetManager','Local','URL','754119foMVhT','_normalizeConfigSourceList','uploadcare.uploader.sourceList','322270ROgzle','shortText','licenseKey','uploadcareLicenseKeyUsageLimit','usageLimit','text','upload','init','bind','destroy','uploadcareLicenseKeyNotAllowed','578397gpKeVc','push','uploadcareLicenseKeyValid','_licenseKeyCheckInterval'];_0x36b8=function(){return _0xa56bf7;};return _0x36b8();}function _0x5a78(_0x70fed7,_0x1faedf){const _0x36b8ad=_0x36b8();return _0x5a78=function(_0x5a7808,_0x526197){_0x5a7808=_0x5a7808-0xdd;let _0x4dc229=_0x36b8ad[_0x5a7808];return _0x4dc229;},_0x5a78(_0x70fed7,_0x1faedf);}import{ButtonView as _0x32c7a3,MenuBarMenuListItemButtonView as _0x40f1d0}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3a35b7}from'./uploadcareconfig.js';import{getTranslation as _0x509efa}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x379b38{[_0x2a2c77(0xf3)];[_0x2a2c77(0xff)];static get[_0x2a2c77(0x11a)](){const _0x4a6bde=_0x2a2c77;return _0x4a6bde(0xea);}static get[_0x2a2c77(0x10f)](){return!0x0;}static get[_0x2a2c77(0xe8)](){return!0x0;}[_0x2a2c77(0xf8)](){const _0x30a4e0=_0x2a2c77;this[_0x30a4e0(0xf3)]=this[_0x30a4e0(0xe6)][_0x30a4e0(0xe0)][_0x30a4e0(0x114)](_0x30a4e0(0xf3));const _0x550855=this[_0x30a4e0(0xe6)];this[_0x30a4e0(0xff)]=setInterval(()=>{const _0x5bb5d8=_0x30a4e0;let _0x107e72;for(const _0x525888 in _0x550855){const _0x1585fc=_0x525888,_0x5dd122=_0x550855[_0x1585fc];if(_0x5bb5d8(0xfe)==_0x5dd122||_0x5bb5d8(0x112)==_0x5dd122||_0x5bb5d8(0x115)==_0x5dd122||_0x5bb5d8(0x102)==_0x5dd122||_0x5bb5d8(0xfb)==_0x5dd122||_0x5bb5d8(0x113)==_0x5dd122||_0x5bb5d8(0xf4)==_0x5dd122){delete _0x550855[_0x1585fc],_0x107e72=_0x5dd122,clearInterval(this[_0x5bb5d8(0xff)]),this[_0x5bb5d8(0xff)]=void 0x0;break;}}_0x5bb5d8(0x112)==_0x107e72&&_0x550855[_0x5bb5d8(0x12b)](_0x5bb5d8(0x122)),_0x5bb5d8(0x115)==_0x107e72&&_0x550855[_0x5bb5d8(0x12b)](_0x5bb5d8(0x124)),_0x5bb5d8(0x102)==_0x107e72&&_0x550855[_0x5bb5d8(0x12b)](_0x5bb5d8(0x109)),_0x5bb5d8(0xfb)==_0x107e72&&_0x550855[_0x5bb5d8(0x12b)](_0x5bb5d8(0x105),_0x5bb5d8(0xe2)),_0x5bb5d8(0x113)==_0x107e72&&_0x550855[_0x5bb5d8(0x12b)](_0x5bb5d8(0x117)),_0x5bb5d8(0xf4)==_0x107e72&&_0x550855[_0x5bb5d8(0x12b)](_0x5bb5d8(0xf5));},0x3e8);}[_0x2a2c77(0xdd)](){const _0x32de17=_0x2a2c77,{editor:_0x1a50ba}=this,_0x196d7c=_0x1a50ba[_0x32de17(0x10b)][_0x32de17(0x114)](_0x32de17(0x123));if(!_0x196d7c)return;const _0x2ebbb2=this[_0x32de17(0xef)](_0x1a50ba[_0x32de17(0xe0)][_0x32de17(0x114)](_0x32de17(0xf0)))[_0x32de17(0x120)]((_0x4c92df,_0x21f89d)=>{const _0x4fffb9=_0x32de17,_0x321067=this[_0x4fffb9(0x11b)](_0x21f89d[_0x4fffb9(0x108)]);return _0x4c92df[_0x321067]||(_0x4c92df[_0x321067]=[]),_0x4c92df[_0x321067][_0x4fffb9(0xfd)](_0x21f89d),_0x4c92df;},{});_0x1a50ba[_0x32de17(0x116)][_0x32de17(0x119)](_0x32de17(0x125))&&_0x1a50ba[_0x32de17(0x10b)][_0x32de17(0x114)](_0x32de17(0x123))&&Object[_0x32de17(0x111)](_0x2ebbb2)[_0x32de17(0x10c)](([_0x3a825a,_0x33cddb])=>{const _0x417e9f=_0x32de17;_0x1a50ba[_0x417e9f(0x116)][_0x417e9f(0x114)](_0x417e9f(0x125))[_0x417e9f(0x11e)]({'name':_0x3a825a,'observable':()=>_0x196d7c,'buttonViewCreator':()=>this[_0x417e9f(0xe1)](_0x33cddb),'formViewCreator':()=>this[_0x417e9f(0xdf)](_0x33cddb),'menuBarButtonViewCreator':()=>this[_0x417e9f(0x121)](_0x33cddb),'override':_0x417e9f(0xeb)!==_0x3a825a});});}[_0x2a2c77(0xfa)](){const _0x3ad7c0=_0x2a2c77;super[_0x3ad7c0(0xfa)](),this[_0x3ad7c0(0xff)]&&clearInterval(this[_0x3ad7c0(0xff)]);}[_0x2a2c77(0xef)](_0x11f552){const _0x17d6e0=_0x2a2c77,{locale:_0x1a6880}=this[_0x17d6e0(0xe6)];return _0x11f552[_0x17d6e0(0x128)](_0x1a7a2d=>{const _0x4a2a6e=_0x17d6e0,_0x243ce1=_0x509efa(_0x1a6880,_0x1a7a2d,_0x4a2a6e(0xe9));switch(_0x1a7a2d){case _0x3a35b7[_0x4a2a6e(0xec)]:return{'icon':_0x5407fa,'type':_0x3a35b7[_0x4a2a6e(0xec)],..._0x243ce1};case _0x3a35b7[_0x4a2a6e(0xed)]:return{'icon':_0x58ff4e,'type':_0x3a35b7[_0x4a2a6e(0xed)],..._0x243ce1};case _0x3a35b7[_0x4a2a6e(0x10d)]:return{'icon':_0x3c1bbe,'type':_0x3a35b7[_0x4a2a6e(0x10d)],..._0x243ce1};case _0x3a35b7[_0x4a2a6e(0x103)]:return{'icon':_0x294134,'type':_0x3a35b7[_0x4a2a6e(0x103)],..._0x243ce1};case _0x3a35b7[_0x4a2a6e(0x10e)]:return{'icon':_0x3fc4a1,'type':_0x3a35b7[_0x4a2a6e(0x10e)],..._0x243ce1};case _0x3a35b7[_0x4a2a6e(0x12a)]:return{'icon':_0x1db94d,'type':_0x3a35b7[_0x4a2a6e(0x12a)],..._0x243ce1};case _0x3a35b7[_0x4a2a6e(0x11c)]:return{'icon':_0x28a283,'type':_0x3a35b7[_0x4a2a6e(0x11c)],..._0x243ce1};}});}[_0x2a2c77(0x11b)](_0x16d8a4){const _0x326a8b=_0x2a2c77;switch(_0x16d8a4){case _0x3a35b7[_0x326a8b(0xec)]:return _0x326a8b(0xf7);case _0x3a35b7[_0x326a8b(0xed)]:return _0x326a8b(0xde);default:return _0x326a8b(0xeb);}}[_0x2a2c77(0xe5)](_0x2688e7,_0x3971fc){const _0x583b0b=_0x2a2c77,_0x378d19=this[_0x583b0b(0xe6)],_0x18116e=new _0x2688e7(_0x378d19[_0x583b0b(0x106)]),_0x49f52d=_0x378d19[_0x583b0b(0x10b)][_0x583b0b(0x114)](_0x583b0b(0x123));return _0x18116e[_0x583b0b(0xf9)](_0x583b0b(0x118))['to'](_0x49f52d),_0x18116e['on'](_0x583b0b(0x104),()=>{const _0x4e3a2c=_0x583b0b;_0x49f52d[_0x4e3a2c(0x104)](_0x3971fc);}),_0x18116e;}[_0x2a2c77(0xe1)](_0x374bd2){const _0x716a3f=_0x2a2c77,{locale:_0x2a49b6}=this[_0x716a3f(0xe6)],_0x8cd100=this[_0x716a3f(0xe6)][_0x716a3f(0x116)][_0x716a3f(0x114)](_0x716a3f(0x125)),_0x1f1e9b=_0x374bd2[0x0],_0xfc8a63=this[_0x716a3f(0xe5)](_0x32c7a3,_0x1f1e9b[_0x716a3f(0x108)]);return _0xfc8a63[_0x716a3f(0x129)]=_0x1f1e9b[_0x716a3f(0x129)],_0xfc8a63[_0x716a3f(0xf9)](_0x716a3f(0x100))['to'](_0x8cd100,_0x716a3f(0x10a),_0x3aa1d6=>_0x509efa(_0x2a49b6,_0x1f1e9b[_0x716a3f(0x108)],_0x3aa1d6?_0x716a3f(0x127):_0x716a3f(0xe9))[_0x716a3f(0xf6)]),_0xfc8a63[_0x716a3f(0x110)]=!0x0,_0xfc8a63;}[_0x2a2c77(0xdf)](_0x5a3ed8){const _0x1fce51=_0x2a2c77,{locale:_0xc4044f}=this[_0x1fce51(0xe6)],_0x4fc53a=this[_0x1fce51(0xe6)][_0x1fce51(0x116)][_0x1fce51(0x114)](_0x1fce51(0x125));return _0x5a3ed8[_0x1fce51(0x128)](_0x4ba68a=>{const _0x1e7db5=_0x1fce51,_0x1a0cf7=this[_0x1e7db5(0xe5)](_0x32c7a3,_0x4ba68a[_0x1e7db5(0x108)]);return _0x1a0cf7[_0x1e7db5(0xe3)]=!0x0,_0x1a0cf7[_0x1e7db5(0x129)]=_0x4ba68a[_0x1e7db5(0x129)],_0x1a0cf7[_0x1e7db5(0xf9)](_0x1e7db5(0x100))['to'](_0x4fc53a,_0x1e7db5(0x10a),_0x1d0498=>_0x509efa(_0xc4044f,_0x4ba68a[_0x1e7db5(0x108)],_0x1d0498?_0x1e7db5(0x127):_0x1e7db5(0xe9))[_0x1e7db5(0xf6)]),_0x1a0cf7;});}[_0x2a2c77(0x121)](_0x565c62){const _0x22d299=_0x2a2c77;return _0x565c62[_0x22d299(0x128)](_0x706b7f=>{const _0x50697f=_0x22d299,_0x4a92b1=this[_0x50697f(0xe5)](_0x40f1d0,_0x706b7f[_0x50697f(0x108)]);return _0x4a92b1[_0x50697f(0x129)]=_0x706b7f[_0x50697f(0x129)],_0x4a92b1[_0x50697f(0x100)]=_0x706b7f[_0x50697f(0xf2)],_0x4a92b1;});}}
23
+ const _0x15c5dd=_0x8864;(function(_0x23ec46,_0x11c255){const _0x365910=_0x8864,_0x8a99f6=_0x23ec46();while(!![]){try{const _0x2e9699=-parseInt(_0x365910(0x1f2))/0x1*(parseInt(_0x365910(0x21a))/0x2)+-parseInt(_0x365910(0x21c))/0x3*(-parseInt(_0x365910(0x1f5))/0x4)+parseInt(_0x365910(0x221))/0x5*(parseInt(_0x365910(0x219))/0x6)+-parseInt(_0x365910(0x201))/0x7+-parseInt(_0x365910(0x206))/0x8+-parseInt(_0x365910(0x225))/0x9+parseInt(_0x365910(0x22b))/0xa;if(_0x2e9699===_0x11c255)break;else _0x8a99f6['push'](_0x8a99f6['shift']());}catch(_0xa9bfb3){_0x8a99f6['push'](_0x8a99f6['shift']());}}}(_0x1c86,0x2f462));import{Plugin as _0x51fd1c}from'ckeditor5/src/core.js';function _0x1c86(){const _0xd0a0fb=['Facebook','execute','uploadcare.uploader.sourceList','UploadcareUI','url','Insert','licenseKey','733880wAfBrd','OneDrive','push','uploadcareLicenseKeyNotAllowed','plugins','2566040MjIgHz','type','editor','isEnabled','Replace','_showLicenseError','icon','invalid','_normalizeConfigSourceList','pluginName','label','isOfficialPlugin','reduce','_getIntegrationKey','config','uploadcareLicenseKeyUsageLimit','init','text','uploadcareLicenseKeyValid','156yedUuq','87556iECvjg','forEach','969369IlSSPg','isImageSelected','uploadcare','Local','uploadcareLicenseKeyDomainLimit','23995FSuOKE','_licenseKeyCheckInterval','Uploadcare','Dropbox','3348576ErxRGX','_createToolbarButton','domainLimit','bind','GDrive','locale','8936200eIDNbO','ImageInsertUI','URL','destroy','has','upload','afterInit','tooltip','uploadcareLicenseKeyExpired','GPhotos','uploadcareLicenseKeyInvalid','withText','registerIntegration','assetManager','shortText','evaluationLimit','expired','commands','entries','usageLimit','uploadcareLicenseKeyEvaluationLimit','_createButton','8NGaSWn','featureNotAllowed','isPremiumPlugin','4sbFkXi','_createDropdownButtons','get','_createMenuBarButtons','map'];_0x1c86=function(){return _0xd0a0fb;};return _0x1c86();}import{IconDropbox as _0x55229b,IconFacebook as _0x56a541,IconGoogleDrive as _0x4f1c6a,IconGooglePhotos as _0x3bbe27,IconUploadcareImageUpload as _0x2e966c,IconUploadcareLink as _0x271c05,IconOneDrive as _0x1d9752}from'ckeditor5/src/icons.js';import{ButtonView as _0x37b7d1,MenuBarMenuListItemButtonView as _0x327646}from'ckeditor5/src/ui.js';function _0x8864(_0x172073,_0xc8ff69){const _0x1c8650=_0x1c86();return _0x8864=function(_0x88647b,_0x248a4c){_0x88647b=_0x88647b-0x1e6;let _0x3056bd=_0x1c8650[_0x88647b];return _0x3056bd;},_0x8864(_0x172073,_0xc8ff69);}import{UploadcareSource as _0x2381a2}from'./uploadcareconfig.js';import{getTranslation as _0x199215}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x51fd1c{[_0x15c5dd(0x200)];[_0x15c5dd(0x222)];static get[_0x15c5dd(0x20f)](){const _0x58a55c=_0x15c5dd;return _0x58a55c(0x1fd);}static get[_0x15c5dd(0x211)](){return!0x0;}static get[_0x15c5dd(0x1f4)](){return!0x0;}[_0x15c5dd(0x216)](){const _0x412f26=_0x15c5dd;this[_0x412f26(0x200)]=this[_0x412f26(0x208)][_0x412f26(0x214)][_0x412f26(0x1f7)](_0x412f26(0x200));const _0x4e71b3=this[_0x412f26(0x208)];this[_0x412f26(0x222)]=setInterval(()=>{const _0xde4404=_0x412f26;let _0x9dc12d;for(const _0x34b815 in _0x4e71b3){const _0x471bbb=_0x34b815,_0x1218f9=_0x4e71b3[_0x471bbb];if(_0xde4404(0x218)==_0x1218f9||_0xde4404(0x1e6)==_0x1218f9||_0xde4404(0x233)==_0x1218f9||_0xde4404(0x220)==_0x1218f9||_0xde4404(0x204)==_0x1218f9||_0xde4404(0x1f0)==_0x1218f9||_0xde4404(0x215)==_0x1218f9){delete _0x4e71b3[_0x471bbb],_0x9dc12d=_0x1218f9,clearInterval(this[_0xde4404(0x222)]),this[_0xde4404(0x222)]=void 0x0;break;}}_0xde4404(0x1e6)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x20d)),_0xde4404(0x233)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1ec)),_0xde4404(0x220)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x227)),_0xde4404(0x204)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1f3),_0xde4404(0x223)),_0xde4404(0x1f0)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1eb)),_0xde4404(0x215)==_0x9dc12d&&_0x4e71b3[_0xde4404(0x20b)](_0xde4404(0x1ef));},0x3e8);}[_0x15c5dd(0x231)](){const _0xc7d251=_0x15c5dd,{editor:_0x2c0af5}=this,_0x4641a4=_0x2c0af5[_0xc7d251(0x1ed)][_0xc7d251(0x1f7)](_0xc7d251(0x21e));if(!_0x4641a4)return;const _0x55f2bf=this[_0xc7d251(0x20e)](_0x2c0af5[_0xc7d251(0x214)][_0xc7d251(0x1f7)](_0xc7d251(0x1fc)))[_0xc7d251(0x212)]((_0x1455e1,_0x1cffa7)=>{const _0x10d720=_0xc7d251,_0xbe8a97=this[_0x10d720(0x213)](_0x1cffa7[_0x10d720(0x207)]);return _0x1455e1[_0xbe8a97]||(_0x1455e1[_0xbe8a97]=[]),_0x1455e1[_0xbe8a97][_0x10d720(0x203)](_0x1cffa7),_0x1455e1;},{});_0x2c0af5[_0xc7d251(0x205)][_0xc7d251(0x22f)](_0xc7d251(0x22c))&&_0x2c0af5[_0xc7d251(0x1ed)][_0xc7d251(0x1f7)](_0xc7d251(0x21e))&&Object[_0xc7d251(0x1ee)](_0x55f2bf)[_0xc7d251(0x21b)](([_0x560273,_0x485546])=>{const _0x1dbd75=_0xc7d251;_0x2c0af5[_0x1dbd75(0x205)][_0x1dbd75(0x1f7)](_0x1dbd75(0x22c))[_0x1dbd75(0x1e8)]({'name':_0x560273,'observable':()=>_0x4641a4,'buttonViewCreator':()=>this[_0x1dbd75(0x226)](_0x485546),'formViewCreator':()=>this[_0x1dbd75(0x1f6)](_0x485546),'menuBarButtonViewCreator':()=>this[_0x1dbd75(0x1f8)](_0x485546),'override':_0x1dbd75(0x1e9)!==_0x560273});});}[_0x15c5dd(0x22e)](){const _0x5ebf53=_0x15c5dd;super[_0x5ebf53(0x22e)](),this[_0x5ebf53(0x222)]&&clearInterval(this[_0x5ebf53(0x222)]);}[_0x15c5dd(0x20e)](_0x3c26f4){const _0x4ed48a=_0x15c5dd,{locale:_0x463fa1}=this[_0x4ed48a(0x208)];return _0x3c26f4[_0x4ed48a(0x1f9)](_0x5a9ceb=>{const _0x43246d=_0x4ed48a,_0x429521=_0x199215(_0x463fa1,_0x5a9ceb,_0x43246d(0x1ff));switch(_0x5a9ceb){case _0x2381a2[_0x43246d(0x21f)]:return{'icon':_0x2e966c,'type':_0x2381a2[_0x43246d(0x21f)],..._0x429521};case _0x2381a2[_0x43246d(0x22d)]:return{'icon':_0x271c05,'type':_0x2381a2[_0x43246d(0x22d)],..._0x429521};case _0x2381a2[_0x43246d(0x224)]:return{'icon':_0x55229b,'type':_0x2381a2[_0x43246d(0x224)],..._0x429521};case _0x2381a2[_0x43246d(0x1fa)]:return{'icon':_0x56a541,'type':_0x2381a2[_0x43246d(0x1fa)],..._0x429521};case _0x2381a2[_0x43246d(0x229)]:return{'icon':_0x4f1c6a,'type':_0x2381a2[_0x43246d(0x229)],..._0x429521};case _0x2381a2[_0x43246d(0x234)]:return{'icon':_0x3bbe27,'type':_0x2381a2[_0x43246d(0x234)],..._0x429521};case _0x2381a2[_0x43246d(0x202)]:return{'icon':_0x1d9752,'type':_0x2381a2[_0x43246d(0x202)],..._0x429521};}});}[_0x15c5dd(0x213)](_0x56fe9e){const _0x469de4=_0x15c5dd;switch(_0x56fe9e){case _0x2381a2[_0x469de4(0x21f)]:return _0x469de4(0x230);case _0x2381a2[_0x469de4(0x22d)]:return _0x469de4(0x1fe);default:return _0x469de4(0x1e9);}}[_0x15c5dd(0x1f1)](_0x2db6c7,_0x6a9cad){const _0x3c0349=_0x15c5dd,_0xf812e0=this[_0x3c0349(0x208)],_0x1e73e9=new _0x2db6c7(_0xf812e0[_0x3c0349(0x22a)]),_0x2ca6d9=_0xf812e0[_0x3c0349(0x1ed)][_0x3c0349(0x1f7)](_0x3c0349(0x21e));return _0x1e73e9[_0x3c0349(0x228)](_0x3c0349(0x209))['to'](_0x2ca6d9),_0x1e73e9['on'](_0x3c0349(0x1fb),()=>{const _0x5a9a42=_0x3c0349;_0x2ca6d9[_0x5a9a42(0x1fb)](_0x6a9cad);}),_0x1e73e9;}[_0x15c5dd(0x226)](_0x5db8c3){const _0x1269d8=_0x15c5dd,{locale:_0x29860f}=this[_0x1269d8(0x208)],_0x3c7892=this[_0x1269d8(0x208)][_0x1269d8(0x205)][_0x1269d8(0x1f7)](_0x1269d8(0x22c)),_0xf1cbd1=_0x5db8c3[0x0],_0x3ad836=this[_0x1269d8(0x1f1)](_0x37b7d1,_0xf1cbd1[_0x1269d8(0x207)]);return _0x3ad836[_0x1269d8(0x20c)]=_0xf1cbd1[_0x1269d8(0x20c)],_0x3ad836[_0x1269d8(0x228)](_0x1269d8(0x210))['to'](_0x3c7892,_0x1269d8(0x21d),_0x282836=>_0x199215(_0x29860f,_0xf1cbd1[_0x1269d8(0x207)],_0x282836?_0x1269d8(0x20a):_0x1269d8(0x1ff))[_0x1269d8(0x217)]),_0x3ad836[_0x1269d8(0x232)]=!0x0,_0x3ad836;}[_0x15c5dd(0x1f6)](_0x407a50){const _0x4255f7=_0x15c5dd,{locale:_0x45a5e9}=this[_0x4255f7(0x208)],_0x12eb52=this[_0x4255f7(0x208)][_0x4255f7(0x205)][_0x4255f7(0x1f7)](_0x4255f7(0x22c));return _0x407a50[_0x4255f7(0x1f9)](_0x332d00=>{const _0x333727=_0x4255f7,_0x2ea300=this[_0x333727(0x1f1)](_0x37b7d1,_0x332d00[_0x333727(0x207)]);return _0x2ea300[_0x333727(0x1e7)]=!0x0,_0x2ea300[_0x333727(0x20c)]=_0x332d00[_0x333727(0x20c)],_0x2ea300[_0x333727(0x228)](_0x333727(0x210))['to'](_0x12eb52,_0x333727(0x21d),_0xa59297=>_0x199215(_0x45a5e9,_0x332d00[_0x333727(0x207)],_0xa59297?_0x333727(0x20a):_0x333727(0x1ff))[_0x333727(0x217)]),_0x2ea300;});}[_0x15c5dd(0x1f8)](_0x43f315){const _0x52ed2e=_0x15c5dd;return _0x43f315[_0x52ed2e(0x1f9)](_0x3e94d=>{const _0x27d833=_0x52ed2e,_0x2e127a=this[_0x27d833(0x1f1)](_0x327646,_0x3e94d[_0x27d833(0x207)]);return _0x2e127a[_0x27d833(0x20c)]=_0x3e94d[_0x27d833(0x20c)],_0x2e127a[_0x27d833(0x210)]=_0x3e94d[_0x27d833(0x1ea)],_0x2e127a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a0436}from'ckeditor5/src/core.js';import{FileRepository as _0x3993d9}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x529fb8}from'./uploadcareediting.js';import{UploadUtils as _0x53867e}from'./utils/uploadutils.js';import{getImageUrls as _0x4eb2b3}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5a0436{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3993d9,_0x529fb8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x123526=this['editor'];if(!!!_0x123526['config']['get']('uploadcare'))return;_0x123526['plugins']['get'](_0x3993d9)['createUploadAdapter']=_0x77f315=>new k(_0x77f315,_0x123526),_0x123526['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4ddff4,{imageElement:_0x345d7e,data:_0x355b8a})=>{_0x123526['model']['change'](_0x3df391=>{_0x3df391['setAttribute']('uploadcareImageId',_0x355b8a['uploadcareImageId'],_0x345d7e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x388da6,_0x1da381){this['loader']=_0x388da6,this['editor']=_0x1da381,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2be4f2=await this['loader']['file'];return _0x53867e['upload']({'file':_0x2be4f2,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5adfa9=>{_0x5adfa9&&_0x5adfa9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5adfa9['value']);}})['then'](async _0x1a3c71=>{const {imageFallbackUrl:_0x4206a1,imageSources:_0x38dd76}=_0x4eb2b3(_0x1a3c71['cdnUrl'],_0x1a3c71['imageInfo']['width']);return{'uploadcareImageId':_0x1a3c71['uuid'],'default':_0x4206a1,'sources':_0x38dd76};})['catch'](()=>{const _0x5eabcf=t('Cannot\x20upload\x20file:')+('\x20'+_0x2be4f2['name']+'.');return Promise['reject'](_0x5eabcf);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x16cf94}from'ckeditor5/src/core.js';import{FileRepository as _0x1112eb}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xae37da}from'./uploadcareediting.js';import{UploadUtils as _0x4f6439}from'./utils/uploadutils.js';import{getImageUrls as _0x29828d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x16cf94{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1112eb,_0xae37da];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x35936b=this['editor'];if(!!!_0x35936b['config']['get']('uploadcare'))return;_0x35936b['plugins']['get'](_0x1112eb)['createUploadAdapter']=_0x4d8932=>new k(_0x4d8932,_0x35936b),_0x35936b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2f8dfe,{imageElement:_0x56e615,data:_0x5bc39e})=>{_0x35936b['model']['change'](_0x23af4d=>{_0x23af4d['setAttribute']('uploadcareImageId',_0x5bc39e['uploadcareImageId'],_0x56e615);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x40b23c,_0x1bf558){this['loader']=_0x40b23c,this['editor']=_0x1bf558,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x240068=await this['loader']['file'];return _0x4f6439['upload']({'file':_0x240068,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x5f34ca=>{_0x5f34ca&&_0x5f34ca['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5f34ca['value']);}})['then'](async _0x19a1f4=>{const {imageFallbackUrl:_0x31059d,imageSources:_0x2991ca}=_0x29828d(_0x19a1f4['cdnUrl'],_0x19a1f4['imageInfo']['width']);return{'uploadcareImageId':_0x19a1f4['uuid'],'default':_0x31059d,'sources':_0x2991ca};})['catch'](()=>{const _0x42604b=t('Cannot\x20upload\x20file:')+('\x20'+_0x240068['name']+'.');return Promise['reject'](_0x42604b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2e2020}from'../uploadcareconfig.js';export function getTranslation(_0x2c5211,_0x39bedf,_0x5732e7){const t=_0x2c5211['t'],_0x9ecf6c=_0x2c5211['t'];switch(_0x39bedf){case _0x2e2020['Local']:return{'text':_0x9ecf6c('Insert'===_0x5732e7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x9ecf6c('From\x20computer')};case _0x2e2020['URL']:return{'text':'Insert'===_0x5732e7?_0x9ecf6c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x9ecf6c('Via\x20URL')};case _0x2e2020['Dropbox']:return{'text':t('Insert'===_0x5732e7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2e2020['Facebook']:return{'text':t('Insert'===_0x5732e7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2e2020['GDrive']:return{'text':t('Insert'===_0x5732e7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2e2020['GPhotos']:return{'text':t('Insert'===_0x5732e7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2e2020['OneDrive']:return{'text':t('Insert'===_0x5732e7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x39bedf;}}
23
+ import{UploadcareSource as _0x3be897}from'../uploadcareconfig.js';export function getTranslation(_0x24650a,_0xdad341,_0x587b22){const t=_0x24650a['t'],_0x4fcca3=_0x24650a['t'];switch(_0xdad341){case _0x3be897['Local']:return{'text':_0x4fcca3('Insert'===_0x587b22?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4fcca3('From\x20computer')};case _0x3be897['URL']:return{'text':'Insert'===_0x587b22?_0x4fcca3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4fcca3('Via\x20URL')};case _0x3be897['Dropbox']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3be897['Facebook']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3be897['GDrive']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3be897['GPhotos']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3be897['OneDrive']:return{'text':t('Insert'===_0x587b22?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xdad341;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x139661=_0x57e2;(function(_0x4f1851,_0x123098){var _0x349074=_0x57e2,_0x17f303=_0x4f1851();while(!![]){try{var _0x2ce5c2=parseInt(_0x349074(0x1dc))/0x1*(-parseInt(_0x349074(0x1d3))/0x2)+parseInt(_0x349074(0x1d6))/0x3+-parseInt(_0x349074(0x1d2))/0x4+-parseInt(_0x349074(0x1de))/0x5*(-parseInt(_0x349074(0x1d9))/0x6)+-parseInt(_0x349074(0x1e0))/0x7+-parseInt(_0x349074(0x1e3))/0x8*(-parseInt(_0x349074(0x1e2))/0x9)+parseInt(_0x349074(0x1d1))/0xa;if(_0x2ce5c2===_0x123098)break;else _0x17f303['push'](_0x17f303['shift']());}catch(_0x5102b7){_0x17f303['push'](_0x17f303['shift']());}}}(_0x151a,0x1944a));import{FocusTracker as _0x3cc2bc}from'ckeditor5/src/utils.js';function _0x151a(){var _0x3042a0=['true','145RvKVzm','fire','5flmyJt','forwardCycle','1295084zbQDLb','focusCycler','906570bDNxyb','8QcNVGt','1062320NXjjHx','531252piCtZX','62mbrHon','focusTracker','bindTemplate','274509kHPZwC','createCollection','div','764118qNznEm','getFocusableElement'];_0x151a=function(){return _0x3042a0;};return _0x151a();}function _0x57e2(_0x14860f,_0xf6b1c3){var _0x151ae8=_0x151a();return _0x57e2=function(_0x57e296,_0x24be16){_0x57e296=_0x57e296-0x1d1;var _0x4d01ff=_0x151ae8[_0x57e296];return _0x4d01ff;},_0x57e2(_0x14860f,_0xf6b1c3);}import{View as _0x3ac6c2,FocusCycler as _0x196898}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3ac6c2{[_0x139661(0x1d4)];[_0x139661(0x1e1)];constructor(_0x412a6a){var _0x3e3345=_0x139661;super(_0x412a6a),this[_0x3e3345(0x1d4)]=new _0x3cc2bc(),this[_0x3e3345(0x1e1)]=new _0x196898({'focusables':this[_0x3e3345(0x1d7)](),'focusTracker':this[_0x3e3345(0x1d4)]});}[_0x139661(0x1da)](){var _0x478a26=_0x139661;return{'tag':_0x478a26(0x1d8),'attributes':{'aria-hidden':_0x478a26(0x1db),'tabindex':'0'},'on':{'focus':this[_0x478a26(0x1d5)]['to'](()=>{var _0x5e8007=_0x478a26;this[_0x5e8007(0x1e1)][_0x5e8007(0x1dd)](_0x5e8007(0x1df));})}};}}
23
+ var _0x119906=_0x3c12;(function(_0x527201,_0x7c7edc){var _0x1422da=_0x3c12,_0x419711=_0x527201();while(!![]){try{var _0x3c94dd=-parseInt(_0x1422da(0x11a))/0x1*(parseInt(_0x1422da(0x11b))/0x2)+-parseInt(_0x1422da(0x11e))/0x3+-parseInt(_0x1422da(0x118))/0x4+parseInt(_0x1422da(0x11f))/0x5*(-parseInt(_0x1422da(0x110))/0x6)+parseInt(_0x1422da(0x115))/0x7+parseInt(_0x1422da(0x111))/0x8+-parseInt(_0x1422da(0x119))/0x9*(-parseInt(_0x1422da(0x11c))/0xa);if(_0x3c94dd===_0x7c7edc)break;else _0x419711['push'](_0x419711['shift']());}catch(_0x1424e1){_0x419711['push'](_0x419711['shift']());}}}(_0x91b9,0x22c7b));function _0x91b9(){var _0x16dfc8=['div','getFocusableElement','643716dYPSau','2529AjKjbj','1XMXiyn','77334VzsMbL','15770NClIVD','bindTemplate','258357uDFEhA','10JPgpjB','focusCycler','forwardCycle','true','750888pCQYKi','1373864NxKGgs','createCollection','fire','focusTracker','445200hpoMLI'];_0x91b9=function(){return _0x16dfc8;};return _0x91b9();}function _0x3c12(_0x3bfb20,_0x2a96c8){var _0x91b9d8=_0x91b9();return _0x3c12=function(_0x3c128f,_0x2d7478){_0x3c128f=_0x3c128f-0x10e;var _0x5d10a5=_0x91b9d8[_0x3c128f];return _0x5d10a5;},_0x3c12(_0x3bfb20,_0x2a96c8);}import{FocusTracker as _0x40e001}from'ckeditor5/src/utils.js';import{View as _0xd37df8,FocusCycler as _0x5016cb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xd37df8{[_0x119906(0x114)];[_0x119906(0x120)];constructor(_0x39c6ff){var _0x2d97cc=_0x119906;super(_0x39c6ff),this[_0x2d97cc(0x114)]=new _0x40e001(),this[_0x2d97cc(0x120)]=new _0x5016cb({'focusables':this[_0x2d97cc(0x112)](),'focusTracker':this[_0x2d97cc(0x114)]});}[_0x119906(0x117)](){var _0x110cef=_0x119906;return{'tag':_0x110cef(0x116),'attributes':{'aria-hidden':_0x110cef(0x10f),'tabindex':'0'},'on':{'focus':this[_0x110cef(0x11d)]['to'](()=>{var _0x3d275a=_0x110cef;this[_0x3d275a(0x120)][_0x3d275a(0x113)](_0x3d275a(0x10e));})}};}}