@ckeditor/ckeditor5-uploadcare 46.1.0 → 46.1.1-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 (174) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/uploadcare.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.js +1 -1
  157. package/src/uploadcareediting.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f6462=_0x5d4b;(function(_0x21968a,_0x3ebae4){const _0x4fabfa=_0x5d4b,_0x180945=_0x21968a();while(!![]){try{const _0x3929d0=-parseInt(_0x4fabfa(0x1e7))/0x1+-parseInt(_0x4fabfa(0x1bc))/0x2+-parseInt(_0x4fabfa(0x1d6))/0x3+parseInt(_0x4fabfa(0x1b6))/0x4*(-parseInt(_0x4fabfa(0x1b8))/0x5)+parseInt(_0x4fabfa(0x1cf))/0x6+-parseInt(_0x4fabfa(0x1b9))/0x7+parseInt(_0x4fabfa(0x1a2))/0x8;if(_0x3929d0===_0x3ebae4)break;else _0x180945['push'](_0x180945['shift']());}catch(_0x3225f7){_0x180945['push'](_0x180945['shift']());}}}(_0x36b3,0x368fe));function _0x36b3(){const _0x3ae8a2=['460iucVMd','2765553NKhgQr','_initSchema','insertImage','200552vsgrXl','remove','upcast','data-uc-image-id','body','cleanupImage','get','uploadcare.uploader','uploader-','getAttribute','isPremiumPlugin','_initCtx','requires','join','uploadcareImageId','appendChild','ctxElement','listenTo','elementToAttribute','1305798xIdQlb','pluginName','destroy','afterInit','map','view','selection','1111569UREqTF','document','render','_ctxElement','isRegistered','\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','true','once','ucContextId','_configElement','downcast','PictureEditing','closeMax','contentLanguage','schema','add','input[uploadcare-file-input]','294169pAEPxy','uc-config','_initImageProcessingIndicator','isOfficialPlugin','editor','commands','init','uploadcare','imageInline','for','querySelector','locale','UploadcareEditing','attributeToAttribute','9372096sKXMTQ','uploadcareImageReplace','extend','editing','configElement','replaceImageSource','conversion','iconHrefResolver','model','#uc-icon-arrow-down','imageBlock','execute','fromCharCode','href','uploadcare.pubkey','uc-upload-ctx-provider','getSelectedElement','removeAttribute','config','_initConfig','244lphiVS','_initConversion'];_0x36b3=function(){return _0x3ae8a2;};return _0x36b3();}function _0x5d4b(_0x3b4c61,_0x57154c){const _0x36b395=_0x36b3();return _0x5d4b=function(_0x5d4bd0,_0xd2fbbc){_0x5d4bd0=_0x5d4bd0-0x19f;let _0x49ff36=_0x36b395[_0x5d4bd0];return _0x49ff36;},_0x5d4b(_0x3b4c61,_0x57154c);}import{Plugin as _0x586ee9}from'ckeditor5/src/core.js';import{Dialog as _0x51333c}from'ckeditor5/src/ui.js';import{createElement as _0x4b8cc1,global as _0x2519c5,uid as _0x3dd22e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5f520f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4af856}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x255099}from'./utils/editingutils.js';export class UploadcareEditing extends _0x586ee9{[_0x3f6462(0x1df)]=null;[_0x3f6462(0x1d9)]=null;static get[_0x3f6462(0x1d0)](){const _0x26052e=_0x3f6462;return _0x26052e(0x1a0);}static get[_0x3f6462(0x1c8)](){const _0x51cd68=_0x3f6462;return[_0x51cd68(0x1e1),_0x4af856,_0x51333c];}static get[_0x3f6462(0x1ea)](){return!0x0;}static get[_0x3f6462(0x1c6)](){return!0x0;}[_0x3f6462(0x1de)];get[_0x3f6462(0x1a6)](){const _0x370ae2=_0x3f6462;return this[_0x370ae2(0x1df)];}get[_0x3f6462(0x1cc)](){const _0x30970d=_0x3f6462;return this[_0x30970d(0x1d9)];}constructor(_0x1a1322){const _0x2a4378=_0x3f6462;super(_0x1a1322),this[_0x2a4378(0x1de)]=_0x3dd22e();}[_0x3f6462(0x1ed)](){const _0x1e6f23=_0x3f6462,_0x4b1995=this[_0x1e6f23(0x1eb)];_0x4b1995[_0x1e6f23(0x1ec)][_0x1e6f23(0x1e5)](_0x1e6f23(0x1ee),new _0x5f520f(_0x4b1995));}[_0x3f6462(0x1d2)](){const _0x30b94a=_0x3f6462;this[_0x30b94a(0x1ba)](),this[_0x30b94a(0x1b7)](),this[_0x30b94a(0x1b5)](),this[_0x30b94a(0x1c7)](),this[_0x30b94a(0x1e9)](),this[_0x30b94a(0x1cd)](this[_0x30b94a(0x1eb)],_0x30b94a(0x1d1),()=>{const _0x3187fe=_0x30b94a;this[_0x3187fe(0x1df)]&&(this[_0x3187fe(0x1df)][_0x3187fe(0x1bd)](),this[_0x3187fe(0x1df)]=null),this[_0x3187fe(0x1d9)]&&(this[_0x3187fe(0x1d9)][_0x3187fe(0x1bd)](),this[_0x3187fe(0x1d9)]=null);const _0x3c97dd=_0x2519c5[_0x3187fe(0x1d7)][_0x3187fe(0x1f1)](_0x3187fe(0x1e6));_0x3c97dd&&_0x3c97dd[_0x3187fe(0x1bd)]();}),async function(_0x2af2dc){const _0x502faf=_0x337bbc([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x55e2a7=0x3d8d0df,_0x5b9819=0x3dfa227^_0x55e2a7,_0x7fd7d5=window[_0x337bbc([0x44,0x61,0x74,0x65])][_0x337bbc([0x6e,0x6f,0x77])](),_0x301dbc=_0x2af2dc[_0x337bbc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f2372=new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3342=>{_0x301dbc[_0x337bbc([0x6f,0x6e,0x63,0x65])](_0x337bbc([0x72,0x65,0x61,0x64,0x79]),_0x2f3342);}),_0x10419b={[_0x337bbc([0x6b,0x74,0x79])]:_0x337bbc([0x45,0x43]),[_0x337bbc([0x75,0x73,0x65])]:_0x337bbc([0x73,0x69,0x67]),[_0x337bbc([0x63,0x72,0x76])]:_0x337bbc([0x50,0x2d,0x32,0x35,0x36]),[_0x337bbc([0x78])]:_0x337bbc([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]),[_0x337bbc([0x79])]:_0x337bbc([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]),[_0x337bbc([0x61,0x6c,0x67])]:_0x337bbc([0x45,0x53,0x32,0x35,0x36])},_0x43703d=_0x301dbc[_0x337bbc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x337bbc([0x67,0x65,0x74])](_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x449dbc(){let _0x565acf,_0x1bd47c=null,_0x3168ea=null;try{if(_0x43703d==_0x337bbc([0x47,0x50,0x4c]))return _0x337bbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x565acf=_0x58e1af(),!_0x565acf)return _0x337bbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x565acf[_0x337bbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3168ea=_0x327932(_0x565acf[_0x337bbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x565acf[_0x337bbc([0x6a,0x74,0x69])])),await _0x545965()?_0x2b3436()?_0x5f1de4()?_0x337bbc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x429abc()?(_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x337bbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bd47c=_0x42f55c(_0x337bbc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x337bbc([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bd47c=_0x42f55c(_0x337bbc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb2aa7c()):_0x337bbc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x337bbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x337bbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x337bbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f1de4(){const _0x2c486c=[_0x337bbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x337bbc([0x74,0x72,0x69,0x61,0x6c])][_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fd7d5/0x3e8:0xe10*_0x5b9819;return _0x565acf[_0x337bbc([0x65,0x78,0x70])]<_0x2c486c;}function _0x2b3436(){const _0x4cae98=_0x565acf[_0x337bbc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cae98&&(!!_0x4cae98[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337bbc([0x2a]))||!!_0x4cae98[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337bbc([0x55,0x50,0x4c,0x43])));}function _0x429abc(){const _0x10dedf=_0x5d4b,_0x5b589b=_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b589b||0x0==_0x5b589b[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b7665}=new URL(window[_0x337bbc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x10dedf(0x1af)]);if(_0x5b589b[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b7665))return!0x0;const _0x4f97ab=_0x3b7665[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e]));return _0x5b589b[_0x337bbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483095=>_0x483095[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337bbc([0x2a])))[_0x337bbc([0x6d,0x61,0x70])](_0x4572cb=>_0x4572cb[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e])))[_0x337bbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37d896=>_0x37d896[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f97ab[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337bbc([0x6d,0x61,0x70])](_0x2f00f2=>Array(_0x4f97ab[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f00f2[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337bbc([0x66,0x69,0x6c,0x6c])](_0x2f00f2[0x0]===_0x337bbc([0x2a])?_0x337bbc([0x2a]):'')[_0x337bbc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f00f2))[_0x337bbc([0x73,0x6f,0x6d,0x65])](_0x2027aa=>_0x4f97ab[_0x337bbc([0x65,0x76,0x65,0x72,0x79])]((_0x19daa1,_0x40175c)=>_0x2027aa[_0x40175c]===_0x19daa1||_0x2027aa[_0x40175c]===_0x337bbc([0x2a])));}function _0xb2aa7c(){return _0x1bd47c&&_0x3168ea?new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bcd80,_0x5a6626)=>{_0x1bd47c[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x5bcd80,_0x5a6626),_0x3168ea[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x3f0a19=>{_0x3f0a19!=_0x337bbc([0x56,0x61,0x6c,0x69,0x64])&&_0x5bcd80(_0x3f0a19);},_0x5a6626);}):_0x1bd47c||_0x3168ea||_0x337bbc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x327932(_0x50355b,_0x533bf7){return new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x725e50=>{if(_0x1dc610())return _0x725e50(_0x337bbc([0x56,0x61,0x6c,0x69,0x64]));_0xed630e(),_0x301dbc[_0x337bbc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x337bbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e896c=!0x1;const _0x2cdab7=_0x3dd22e();function _0x5027fe(_0x367e85){return!!_0x367e85&&(typeof _0x367e85===_0x337bbc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x367e85===_0x337bbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x367e85[_0x337bbc([0x74,0x68,0x65,0x6e])]===_0x337bbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x367e85[_0x337bbc([0x63,0x61,0x74,0x63,0x68])]===_0x337bbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45ca60(_0x5ca673){_0x30fbf8(_0x5ca673)[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x3aa4aa=>{if(!_0x3aa4aa||_0x3aa4aa[_0x337bbc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x337bbc([0x6f,0x6b]))return _0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d3387(_0x455c81(_0x2cdab7+_0x533bf7))!=_0x3aa4aa[_0x337bbc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x337bbc([0x56,0x61,0x6c,0x69,0x64]);})[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x17e633=>(_0x5ac1ae(),_0x17e633),()=>{const _0x520f1d=_0x394419();return null==_0x520f1d?(_0x5ac1ae(),_0x337bbc([0x56,0x61,0x6c,0x69,0x64])):_0x337bbc(_0x7fd7d5-_0x520f1d>(0x27d454df^_0x55e2a7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x725e50)[_0x337bbc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x725e50(_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cdb58=0x3ee3e5f^_0x55e2a7;function _0x5ac1ae(){const _0x3f2615=_0x337bbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d3387(_0x455c81(_0x50355b)),_0x244991=_0x353e35(_0x2d3387(window[_0x337bbc([0x4d,0x61,0x74,0x68])][_0x337bbc([0x63,0x65,0x69,0x6c])](_0x7fd7d5/_0x4cdb58)));window[_0x337bbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337bbc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f2615,_0x244991);}function _0x394419(){const _0x5bb8db=_0x337bbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d3387(_0x455c81(_0x50355b)),_0x1b4b79=window[_0x337bbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337bbc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bb8db);return _0x1b4b79?window[_0x337bbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x353e35(_0x1b4b79),0x10)*_0x4cdb58:null;}function _0x30fbf8(_0x17414e){return new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29952a,_0xae5a23)=>{_0x17414e[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x29952a,_0xae5a23),window[_0x337bbc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xae5a23,0x3d9041f^_0x55e2a7);});}}_0x301dbc[_0x337bbc([0x6f,0x6e])](_0x337bbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b9b20,_0x2176cd)=>{if(_0x2176cd[0x0]!=_0x50355b)return _0x725e50(_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2176cd[0x1]={..._0x2176cd[0x1],[_0x337bbc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cdab7};},{[_0x337bbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337bbc([0x68,0x69,0x67,0x68])}),_0x301dbc[_0x337bbc([0x6f,0x6e])](_0x337bbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58f252=>{_0x5027fe(_0x58f252[_0x337bbc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e896c=!0x0,_0x45ca60(_0x58f252[_0x337bbc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x337bbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337bbc([0x6c,0x6f,0x77])}),_0x3f2372[_0x337bbc([0x74,0x68,0x65,0x6e])](()=>{_0x4e896c||_0x725e50(_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dc610(){return _0x301dbc[_0x337bbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337bbc([0x76,0x69,0x65,0x77])][_0x337bbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x337bbc([0x61,0x75,0x74,0x6f]);}function _0xed630e(){_0x301dbc[_0x337bbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337bbc([0x76,0x69,0x65,0x77])][_0x337bbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x337bbc([0x61,0x75,0x74,0x6f]);}}function _0x42f55c(_0x34e96c){const _0x2a0267=[new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1ee4=>setTimeout(_0x5b1ee4,0x3d1ee13^_0x55e2a7)),_0x3f2372[_0x337bbc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e825a=>{let _0x14cee4=0x0;_0x301dbc[_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x337bbc([0x6f,0x6e])](_0x337bbc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1de15a,_0x288019)=>{_0x288019[0x0][_0x337bbc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14cee4++,_0x14cee4==(0x3d8d127^_0x55e2a7)&&(_0x4e825a(),_0x1de15a[_0x337bbc([0x6f,0x66,0x66])]());});}))];return window[_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x337bbc([0x72,0x61,0x63,0x65])](_0x2a0267)[_0x337bbc([0x74,0x68,0x65,0x6e])](()=>_0x34e96c);}async function _0x2123c4(){await _0x3f2372,_0x301dbc[_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x337bbc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33f91a,_0x301dbc[_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x337bbc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33f91a,_0x301dbc[_0x337bbc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x522265(_0x3ff708){const _0x14afd7=_0x1fb535();_0x301dbc[_0x14afd7]=_0x337bbc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ff708,_0x3ff708!=_0x337bbc([0x56,0x61,0x6c,0x69,0x64])&&_0x2123c4();}function _0x1fb535(){const _0x5376f7=window[_0x337bbc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x337bbc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x337bbc([0x6e,0x6f,0x77])]())[_0x337bbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x337bbc([0x2e]),'');let _0x2154bd=_0x337bbc([0x52]);for(let _0x3d3b75=0x0;_0x3d3b75<_0x5376f7[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3b75+=0x2){let _0x1a41f6=window[_0x337bbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5376f7[_0x337bbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3b75,_0x3d3b75+0x2));_0x1a41f6>=_0x502faf[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a41f6-=_0x502faf[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2154bd+=_0x502faf[_0x1a41f6];}return _0x2154bd;}function _0x58e1af(){const _0x5bcd69=_0x43703d[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e]));if(0x3!=_0x5bcd69[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10493e(_0x5bcd69[0x1]);function _0x10493e(_0x2a3a47){const _0x514dee=_0x45f25f(_0x2a3a47);return _0x514dee&&_0xf60b18()?_0x514dee:null;function _0xf60b18(){const _0x311a1b=_0x514dee[_0x337bbc([0x6a,0x74,0x69])],_0x4583e2=window[_0x337bbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x311a1b[_0x337bbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x311a1b[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x512edf={..._0x514dee,[_0x337bbc([0x6a,0x74,0x69])]:_0x311a1b[_0x337bbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x311a1b[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x512edf[_0x337bbc([0x76,0x63])],_0x455c81(_0x512edf)==_0x4583e2;}}}async function _0x545965(){let _0x252f0d=!0x0;try{const _0x3d11b2=_0x43703d[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e])),[_0x48c642,_0x1548e5,_0x502a69]=_0x3d11b2;return _0x4e0f09(_0x48c642),await _0x258b72(_0x48c642,_0x1548e5,_0x502a69),_0x252f0d;}catch{return!0x1;}function _0x4e0f09(_0x109e30){const _0x2763b4=_0x45f25f(_0x109e30);_0x2763b4&&_0x2763b4[_0x337bbc([0x61,0x6c,0x67])]==_0x337bbc([0x45,0x53,0x32,0x35,0x36])||(_0x252f0d=!0x1);}async function _0x258b72(_0x447592,_0x5605a5,_0x373bbf){const _0x49a8ca=window[_0x337bbc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x337bbc([0x66,0x72,0x6f,0x6d])](_0x34acd9(_0x373bbf),_0x3756f2=>_0x3756f2[_0x337bbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ef441=new window[(_0x337bbc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x337bbc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x447592+_0x337bbc([0x2e])+_0x5605a5),_0x389a49=window[_0x337bbc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x337bbc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x389a49)return;const _0x1a3a92=await _0x389a49[_0x337bbc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x337bbc([0x6a,0x77,0x6b]),_0x10419b,{[_0x337bbc([0x6e,0x61,0x6d,0x65])]:_0x337bbc([0x45,0x43,0x44,0x53,0x41]),[_0x337bbc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x337bbc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x337bbc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x389a49[_0x337bbc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x337bbc([0x6e,0x61,0x6d,0x65])]:_0x337bbc([0x45,0x43,0x44,0x53,0x41]),[_0x337bbc([0x68,0x61,0x73,0x68])]:{[_0x337bbc([0x6e,0x61,0x6d,0x65])]:_0x337bbc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a3a92,_0x49a8ca,_0x2ef441)||(_0x252f0d=!0x1);}}function _0x45f25f(_0x32c2d6){return _0x32c2d6[_0x337bbc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x337bbc([0x65,0x79]))?JSON[_0x337bbc([0x70,0x61,0x72,0x73,0x65])](_0x34acd9(_0x32c2d6)):null;}function _0x34acd9(_0x1d788b){return window[_0x337bbc([0x61,0x74,0x6f,0x62])](_0x1d788b[_0x337bbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x337bbc([0x2b]))[_0x337bbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x337bbc([0x2f])));}function _0x455c81(_0x454684){let _0xfe1e04=0x1505;function _0x152b69(_0x297fb9){for(let _0x4cf7d6=0x0;_0x4cf7d6<_0x297fb9[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cf7d6++){const _0x37ecb4=_0x297fb9[_0x337bbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cf7d6);_0xfe1e04=(_0xfe1e04<<0x5)+_0xfe1e04+_0x37ecb4,_0xfe1e04&=_0xfe1e04;}}function _0x632577(_0x190744){Array[_0x337bbc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x190744)?_0x190744[_0x337bbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x632577):_0x190744&&typeof _0x190744==_0x337bbc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x337bbc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x190744)[_0x337bbc([0x73,0x6f,0x72,0x74])]()[_0x337bbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4258f3,_0x5b93ed])=>{_0x152b69(_0x4258f3),_0x632577(_0x5b93ed);}):_0x152b69(window[_0x337bbc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x190744));}return _0x632577(_0x454684),_0xfe1e04>>>0x0;}function _0x2d3387(_0x329193){return _0x329193[_0x337bbc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x337bbc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x337bbc([0x30]));}function _0x353e35(_0x2aa917){return _0x2aa917[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x337bbc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x337bbc([0x6a,0x6f,0x69,0x6e])]('');}function _0x33f91a(){}function _0x337bbc(_0x5b2698){const _0x415a5a=_0x5d4b;return _0x5b2698[_0x415a5a(0x1d3)](_0x44b659=>String[_0x415a5a(0x1ae)](_0x44b659))[_0x415a5a(0x1c9)]('');}_0x522265(await _0x449dbc());}(this);}[_0x3f6462(0x1ba)](){const _0xf644b6=_0x3f6462,_0x4e6dfd=this[_0xf644b6(0x1eb)][_0xf644b6(0x1aa)][_0xf644b6(0x1e4)];_0x4e6dfd[_0xf644b6(0x1da)](_0xf644b6(0x1ac))&&_0x4e6dfd[_0xf644b6(0x1a4)](_0xf644b6(0x1ac),{'allowAttributes':[_0xf644b6(0x1ca)]}),_0x4e6dfd[_0xf644b6(0x1da)](_0xf644b6(0x1ef))&&_0x4e6dfd[_0xf644b6(0x1a4)](_0xf644b6(0x1ef),{'allowAttributes':[_0xf644b6(0x1ca)]});}[_0x3f6462(0x1b7)](){const _0x274461=_0x3f6462,_0x2a82f1=this[_0x274461(0x1eb)];_0x2a82f1[_0x274461(0x1a8)][_0x274461(0x1f0)](_0x274461(0x1e0))[_0x274461(0x1a1)]({'model':_0x274461(0x1ca),'view':_0x274461(0x1bf)}),_0x2a82f1[_0x274461(0x1a8)][_0x274461(0x1f0)](_0x274461(0x1be))[_0x274461(0x1ce)]({'model':{'key':_0x274461(0x1ca),'value':_0x49f2a3=>_0x49f2a3[_0x274461(0x1c5)](_0x274461(0x1bf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x36e151=_0x2a82f1[_0x274461(0x1ec)][_0x274461(0x1c2)](_0x274461(0x1a7));_0x36e151&&this[_0x274461(0x1cd)](_0x36e151,_0x274461(0x1c1),(_0x2f13df,[_0x4a0427,_0x5a0fd5])=>{const _0x1e6e44=_0x274461;_0x4a0427[_0x1e6e44(0x1b3)](_0x1e6e44(0x1ca),_0x5a0fd5);});}[_0x3f6462(0x1b5)](){const _0x75227d=_0x3f6462,_0x5b9d48=this[_0x75227d(0x1eb)][_0x75227d(0x1b4)][_0x75227d(0x1c2)](_0x75227d(0x1c3))||{},_0x18b26b=this[_0x75227d(0x1eb)][_0x75227d(0x1b4)][_0x75227d(0x1c2)](_0x75227d(0x1b0))||'';this[_0x75227d(0x1df)]=_0x4b8cc1(_0x2519c5[_0x75227d(0x1d7)],_0x75227d(0x1e8),{..._0x5b9d48,'pubkey':_0x18b26b,'ctx-name':_0x75227d(0x1c4)+this[_0x75227d(0x1de)],'sourceList':'','imgOnly':_0x75227d(0x1dc),'removeCopyright':_0x75227d(0x1dc),'localeName':this[_0x75227d(0x1eb)][_0x75227d(0x19f)][_0x75227d(0x1e3)],'externalSourcesEmbedCss':_0x75227d(0x1db)}),this[_0x75227d(0x1df)][_0x75227d(0x1a9)]=_0x16ea19=>{const _0x20183b=_0x75227d;if(_0x20183b(0x1e2)==_0x16ea19)return _0x20183b(0x1ab);},_0x2519c5[_0x75227d(0x1d7)][_0x75227d(0x1c0)][_0x75227d(0x1cb)](this[_0x75227d(0x1df)]);}[_0x3f6462(0x1c7)](){const _0x404c80=_0x3f6462;this[_0x404c80(0x1d9)]=_0x4b8cc1(_0x2519c5[_0x404c80(0x1d7)],_0x404c80(0x1b1),{'ctx-name':_0x404c80(0x1c4)+this[_0x404c80(0x1de)]}),_0x2519c5[_0x404c80(0x1d7)][_0x404c80(0x1c0)][_0x404c80(0x1cb)](this[_0x404c80(0x1d9)]);}[_0x3f6462(0x1e9)](){const _0x23029a=_0x3f6462,_0x3fffa5=this[_0x23029a(0x1eb)][_0x23029a(0x1ec)][_0x23029a(0x1c2)](_0x23029a(0x1bb));_0x3fffa5&&this[_0x23029a(0x1cd)](_0x3fffa5,_0x23029a(0x1ad),()=>{const _0x1e57c6=_0x23029a,_0x32ef45=this[_0x1e57c6(0x1eb)][_0x1e57c6(0x1aa)][_0x1e57c6(0x1d7)][_0x1e57c6(0x1d5)][_0x1e57c6(0x1b2)]();_0x32ef45&&_0x32ef45[_0x1e57c6(0x1c5)](_0x1e57c6(0x1ca))&&this[_0x1e57c6(0x1eb)][_0x1e57c6(0x1a5)][_0x1e57c6(0x1d4)][_0x1e57c6(0x1dd)](_0x1e57c6(0x1d8),()=>{const _0x4ea29b=_0x1e57c6;_0x255099(this[_0x4ea29b(0x1eb)],_0x32ef45);});});const _0xd77113=this[_0x23029a(0x1eb)][_0x23029a(0x1ec)][_0x23029a(0x1c2)](_0x23029a(0x1a3));_0xd77113&&this[_0x23029a(0x1cd)](_0xd77113,_0x23029a(0x1ad),()=>{const _0x401e0d=_0x23029a,_0x357be2=this[_0x401e0d(0x1eb)][_0x401e0d(0x1aa)][_0x401e0d(0x1d7)][_0x401e0d(0x1d5)][_0x401e0d(0x1b2)]();_0x357be2&&_0x357be2[_0x401e0d(0x1c5)](_0x401e0d(0x1ca))&&this[_0x401e0d(0x1eb)][_0x401e0d(0x1a5)][_0x401e0d(0x1d4)][_0x401e0d(0x1dd)](_0x401e0d(0x1d8),()=>{const _0x2955fd=_0x401e0d;_0x255099(this[_0x2955fd(0x1eb)],_0x357be2);});});}}
23
+ function _0x4d49(){const _0x5f0e81=['insertImage','listenTo','fromCharCode','configElement','29762wsCzYR','init','\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','UploadcareEditing','6mSnToZ','for','render','get','2482375qNiLpi','86196wakYZt','#uc-icon-arrow-down','editor','appendChild','isPremiumPlugin','_initImageProcessingIndicator','iconHrefResolver','_ctxElement','1288pYNYhs','afterInit','264733KrxZng','pluginName','ctxElement','body','PictureEditing','locale','imageInline','attributeToAttribute','extend','selection','ucContextId','_initCtx','isRegistered','uploadcareImageReplace','replaceImageSource','schema','removeAttribute','uc-config','config','true','execute','elementToAttribute','_initSchema','document','1444037OMliqE','uploadcare','isOfficialPlugin','once','querySelector','upcast','conversion','editing','input[uploadcare-file-input]','contentLanguage','_configElement','getSelectedElement','_initConversion','uploader-','49473NKLREY','commands','imageBlock','closeMax','model','_initConfig','uc-upload-ctx-provider','uploadcareImageId','href','requires','data-uc-image-id','add','map','uploadcare.uploader','cleanupImage','getAttribute','downcast','view','destroy','uploadcare.pubkey','1595816sBuetu','join','remove'];_0x4d49=function(){return _0x5f0e81;};return _0x4d49();}function _0x246c(_0x345f4b,_0x2a87fa){const _0x4d497a=_0x4d49();return _0x246c=function(_0x246cd8,_0x48a9c2){_0x246cd8=_0x246cd8-0x16a;let _0x819059=_0x4d497a[_0x246cd8];return _0x819059;},_0x246c(_0x345f4b,_0x2a87fa);}const _0x145032=_0x246c;(function(_0x9e82d4,_0x52d709){const _0x1377b9=_0x246c,_0x21d39d=_0x9e82d4();while(!![]){try{const _0x4adbe3=-parseInt(_0x1377b9(0x195))/0x1+parseInt(_0x1377b9(0x182))/0x2+-parseInt(_0x1377b9(0x18b))/0x3+parseInt(_0x1377b9(0x17b))/0x4+-parseInt(_0x1377b9(0x18a))/0x5*(parseInt(_0x1377b9(0x186))/0x6)+-parseInt(_0x1377b9(0x1ad))/0x7+-parseInt(_0x1377b9(0x193))/0x8*(-parseInt(_0x1377b9(0x1bb))/0x9);if(_0x4adbe3===_0x52d709)break;else _0x21d39d['push'](_0x21d39d['shift']());}catch(_0x5a4374){_0x21d39d['push'](_0x21d39d['shift']());}}}(_0x4d49,0x49e1d));import{Plugin as _0x550a3e}from'ckeditor5/src/core.js';import{Dialog as _0x5c5418}from'ckeditor5/src/ui.js';import{createElement as _0x1e82e0,global as _0x12e3a6,uid as _0x2d75a3}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x7b2e4b}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x8e0037}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x36d461}from'./utils/editingutils.js';export class UploadcareEditing extends _0x550a3e{[_0x145032(0x1b7)]=null;[_0x145032(0x192)]=null;static get[_0x145032(0x196)](){const _0x5b2d13=_0x145032;return _0x5b2d13(0x185);}static get[_0x145032(0x170)](){const _0x22ce6a=_0x145032;return[_0x22ce6a(0x199),_0x8e0037,_0x5c5418];}static get[_0x145032(0x1af)](){return!0x0;}static get[_0x145032(0x18f)](){return!0x0;}[_0x145032(0x19f)];get[_0x145032(0x181)](){const _0xa5703d=_0x145032;return this[_0xa5703d(0x1b7)];}get[_0x145032(0x197)](){const _0x17de52=_0x145032;return this[_0x17de52(0x192)];}constructor(_0xc5ca7c){const _0xb0c4e0=_0x145032;super(_0xc5ca7c),this[_0xb0c4e0(0x19f)]=_0x2d75a3();}[_0x145032(0x183)](){const _0x51d907=_0x145032,_0x2c718e=this[_0x51d907(0x18d)];_0x2c718e[_0x51d907(0x1bc)][_0x51d907(0x172)](_0x51d907(0x1ae),new _0x7b2e4b(_0x2c718e));}[_0x145032(0x194)](){const _0x4a6e83=_0x145032;this[_0x4a6e83(0x1ab)](),this[_0x4a6e83(0x1b9)](),this[_0x4a6e83(0x16c)](),this[_0x4a6e83(0x1a0)](),this[_0x4a6e83(0x190)](),this[_0x4a6e83(0x17f)](this[_0x4a6e83(0x18d)],_0x4a6e83(0x179),()=>{const _0x2c0348=_0x4a6e83;this[_0x2c0348(0x1b7)]&&(this[_0x2c0348(0x1b7)][_0x2c0348(0x17d)](),this[_0x2c0348(0x1b7)]=null),this[_0x2c0348(0x192)]&&(this[_0x2c0348(0x192)][_0x2c0348(0x17d)](),this[_0x2c0348(0x192)]=null);const _0x4411a0=_0x12e3a6[_0x2c0348(0x1ac)][_0x2c0348(0x1b1)](_0x2c0348(0x1b5));_0x4411a0&&_0x4411a0[_0x2c0348(0x17d)]();}),async function(_0x586b0a){const _0x17c257=_0x885fac([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x152eed=0x3d8d0df,_0x395080=0x3dfa39f^_0x152eed,_0x4c24e1=window[_0x885fac([0x44,0x61,0x74,0x65])][_0x885fac([0x6e,0x6f,0x77])](),_0x1f8d9c=_0x586b0a[_0x885fac([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2bccb4=new window[(_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f613c=>{_0x1f8d9c[_0x885fac([0x6f,0x6e,0x63,0x65])](_0x885fac([0x72,0x65,0x61,0x64,0x79]),_0x3f613c);}),_0x21010b={[_0x885fac([0x6b,0x74,0x79])]:_0x885fac([0x45,0x43]),[_0x885fac([0x75,0x73,0x65])]:_0x885fac([0x73,0x69,0x67]),[_0x885fac([0x63,0x72,0x76])]:_0x885fac([0x50,0x2d,0x32,0x35,0x36]),[_0x885fac([0x78])]:_0x885fac([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]),[_0x885fac([0x79])]:_0x885fac([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]),[_0x885fac([0x61,0x6c,0x67])]:_0x885fac([0x45,0x53,0x32,0x35,0x36])},_0x34102f=_0x1f8d9c[_0x885fac([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x885fac([0x67,0x65,0x74])](_0x885fac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x433de4(){let _0x19d3c3,_0x586464=null,_0x58402c=null;try{if(_0x34102f==_0x885fac([0x47,0x50,0x4c]))return _0x885fac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x19d3c3=_0x13ffa9(),!_0x19d3c3)return _0x885fac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x19d3c3[_0x885fac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58402c=_0x59c586(_0x19d3c3[_0x885fac([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x19d3c3[_0x885fac([0x6a,0x74,0x69])])),await _0x1911d2()?_0x411550()?_0x2f4f67()?_0x885fac([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c69a3()?(_0x19d3c3[_0x885fac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x885fac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x586464=_0x4cc40f(_0x885fac([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x19d3c3[_0x885fac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x885fac([0x74,0x72,0x69,0x61,0x6c])&&(_0x586464=_0x4cc40f(_0x885fac([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4843c2()):_0x885fac([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x885fac([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x885fac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x885fac([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f4f67(){const _0x2a00ee=[_0x885fac([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x885fac([0x74,0x72,0x69,0x61,0x6c])][_0x885fac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19d3c3[_0x885fac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4c24e1/0x3e8:0xe10*_0x395080;return _0x19d3c3[_0x885fac([0x65,0x78,0x70])]<_0x2a00ee;}function _0x411550(){const _0x2b007f=_0x19d3c3[_0x885fac([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b007f&&(!!_0x2b007f[_0x885fac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x885fac([0x2a]))||!!_0x2b007f[_0x885fac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x885fac([0x55,0x50,0x4c,0x43])));}function _0x4c69a3(){const _0x24f4c7=_0x246c,_0x2809bf=_0x19d3c3[_0x885fac([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2809bf||0x0==_0x2809bf[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x360e3c}=new URL(window[_0x885fac([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x24f4c7(0x16f)]);if(_0x2809bf[_0x885fac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x360e3c))return!0x0;const _0x4bd35f=_0x360e3c[_0x885fac([0x73,0x70,0x6c,0x69,0x74])](_0x885fac([0x2e]));return _0x2809bf[_0x885fac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xed2e0e=>_0xed2e0e[_0x885fac([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x885fac([0x2a])))[_0x885fac([0x6d,0x61,0x70])](_0x2c33d8=>_0x2c33d8[_0x885fac([0x73,0x70,0x6c,0x69,0x74])](_0x885fac([0x2e])))[_0x885fac([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e0111=>_0x2e0111[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bd35f[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x885fac([0x6d,0x61,0x70])](_0x877f2d=>Array(_0x4bd35f[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x877f2d[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x885fac([0x66,0x69,0x6c,0x6c])](_0x877f2d[0x0]===_0x885fac([0x2a])?_0x885fac([0x2a]):'')[_0x885fac([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x877f2d))[_0x885fac([0x73,0x6f,0x6d,0x65])](_0x1e4ec7=>_0x4bd35f[_0x885fac([0x65,0x76,0x65,0x72,0x79])]((_0x1e1c26,_0x4b0c91)=>_0x1e4ec7[_0x4b0c91]===_0x1e1c26||_0x1e4ec7[_0x4b0c91]===_0x885fac([0x2a])));}function _0x4843c2(){return _0x586464&&_0x58402c?new window[(_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55ef17,_0x1d202b)=>{_0x586464[_0x885fac([0x74,0x68,0x65,0x6e])](_0x55ef17,_0x1d202b),_0x58402c[_0x885fac([0x74,0x68,0x65,0x6e])](_0x142159=>{_0x142159!=_0x885fac([0x56,0x61,0x6c,0x69,0x64])&&_0x55ef17(_0x142159);},_0x1d202b);}):_0x586464||_0x58402c||_0x885fac([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59c586(_0x320620,_0x5842db){return new window[(_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a95cb=>{if(_0x13ae8f())return _0x4a95cb(_0x885fac([0x56,0x61,0x6c,0x69,0x64]));_0x14d062(),_0x1f8d9c[_0x885fac([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x885fac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c5922=!0x1;const _0x297bc3=_0x2d75a3();function _0x33323b(_0x2e77fb){return!!_0x2e77fb&&(typeof _0x2e77fb===_0x885fac([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e77fb===_0x885fac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e77fb[_0x885fac([0x74,0x68,0x65,0x6e])]===_0x885fac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e77fb[_0x885fac([0x63,0x61,0x74,0x63,0x68])]===_0x885fac([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18ea21(_0x4688f5){_0x2f9cc4(_0x4688f5)[_0x885fac([0x74,0x68,0x65,0x6e])](_0x1a32d7=>{if(!_0x1a32d7||_0x1a32d7[_0x885fac([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x885fac([0x6f,0x6b]))return _0x885fac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10ffb7(_0x32b4f0(_0x297bc3+_0x5842db))!=_0x1a32d7[_0x885fac([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x885fac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x885fac([0x56,0x61,0x6c,0x69,0x64]);})[_0x885fac([0x74,0x68,0x65,0x6e])](_0x4ac3ac=>(_0x525f02(),_0x4ac3ac),()=>{const _0x31a997=_0x270e95();return null==_0x31a997?(_0x525f02(),_0x885fac([0x56,0x61,0x6c,0x69,0x64])):_0x885fac(_0x4c24e1-_0x31a997>(0x27d454df^_0x152eed)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x885fac([0x74,0x68,0x65,0x6e])](_0x4a95cb)[_0x885fac([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a95cb(_0x885fac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28c8d3=0x3ee3e5f^_0x152eed;function _0x525f02(){const _0x4232d9=_0x885fac([0x6c,0x6c,0x63,0x74,0x2d])+_0x10ffb7(_0x32b4f0(_0x320620)),_0x538c11=_0x463292(_0x10ffb7(window[_0x885fac([0x4d,0x61,0x74,0x68])][_0x885fac([0x63,0x65,0x69,0x6c])](_0x4c24e1/_0x28c8d3)));window[_0x885fac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x885fac([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4232d9,_0x538c11);}function _0x270e95(){const _0x2ea71b=_0x885fac([0x6c,0x6c,0x63,0x74,0x2d])+_0x10ffb7(_0x32b4f0(_0x320620)),_0x46577c=window[_0x885fac([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x885fac([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ea71b);return _0x46577c?window[_0x885fac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x463292(_0x46577c),0x10)*_0x28c8d3:null;}function _0x2f9cc4(_0x3aa187){return new window[(_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467393,_0x2d0963)=>{_0x3aa187[_0x885fac([0x74,0x68,0x65,0x6e])](_0x467393,_0x2d0963),window[_0x885fac([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d0963,0x3d9041f^_0x152eed);});}}_0x1f8d9c[_0x885fac([0x6f,0x6e])](_0x885fac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4714f2,_0x45b2ca)=>{if(_0x45b2ca[0x0]!=_0x320620)return _0x4a95cb(_0x885fac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45b2ca[0x1]={..._0x45b2ca[0x1],[_0x885fac([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x297bc3};},{[_0x885fac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x885fac([0x68,0x69,0x67,0x68])}),_0x1f8d9c[_0x885fac([0x6f,0x6e])](_0x885fac([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57643d=>{_0x33323b(_0x57643d[_0x885fac([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c5922=!0x0,_0x18ea21(_0x57643d[_0x885fac([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x885fac([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x885fac([0x6c,0x6f,0x77])}),_0x2bccb4[_0x885fac([0x74,0x68,0x65,0x6e])](()=>{_0x4c5922||_0x4a95cb(_0x885fac([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13ae8f(){return _0x1f8d9c[_0x885fac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x885fac([0x76,0x69,0x65,0x77])][_0x885fac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x885fac([0x61,0x75,0x74,0x6f]);}function _0x14d062(){_0x1f8d9c[_0x885fac([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x885fac([0x76,0x69,0x65,0x77])][_0x885fac([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x885fac([0x61,0x75,0x74,0x6f]);}}function _0x4cc40f(_0x4d0ccf){const _0x18bd5f=[new window[(_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x373b19=>setTimeout(_0x373b19,0x3d1ee13^_0x152eed)),_0x2bccb4[_0x885fac([0x74,0x68,0x65,0x6e])](()=>new window[(_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4795f7=>{let _0x31e986=0x0;_0x1f8d9c[_0x885fac([0x6d,0x6f,0x64,0x65,0x6c])][_0x885fac([0x6f,0x6e])](_0x885fac([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1decb6,_0x1af2f4)=>{_0x1af2f4[0x0][_0x885fac([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31e986++,_0x31e986==(0x3d8d127^_0x152eed)&&(_0x4795f7(),_0x1decb6[_0x885fac([0x6f,0x66,0x66])]());});}))];return window[_0x885fac([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x885fac([0x72,0x61,0x63,0x65])](_0x18bd5f)[_0x885fac([0x74,0x68,0x65,0x6e])](()=>_0x4d0ccf);}async function _0x16cd19(){await _0x2bccb4,_0x1f8d9c[_0x885fac([0x6d,0x6f,0x64,0x65,0x6c])][_0x885fac([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b0e07,_0x1f8d9c[_0x885fac([0x6d,0x6f,0x64,0x65,0x6c])][_0x885fac([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b0e07,_0x1f8d9c[_0x885fac([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x885fac([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b4444(_0x479b4b){const _0x66f957=_0x5bddb1();_0x1f8d9c[_0x66f957]=_0x885fac([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x479b4b,_0x479b4b!=_0x885fac([0x56,0x61,0x6c,0x69,0x64])&&_0x16cd19();}function _0x5bddb1(){const _0x3f3eae=window[_0x885fac([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x885fac([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x885fac([0x6e,0x6f,0x77])]())[_0x885fac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x885fac([0x2e]),'');let _0x225fff=_0x885fac([0x52]);for(let _0x4e21ae=0x0;_0x4e21ae<_0x3f3eae[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e21ae+=0x2){let _0x556a8b=window[_0x885fac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3eae[_0x885fac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e21ae,_0x4e21ae+0x2));_0x556a8b>=_0x17c257[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x556a8b-=_0x17c257[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x225fff+=_0x17c257[_0x556a8b];}return _0x225fff;}function _0x13ffa9(){const _0x1ae70d=_0x34102f[_0x885fac([0x73,0x70,0x6c,0x69,0x74])](_0x885fac([0x2e]));if(0x3!=_0x1ae70d[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e9c6d(_0x1ae70d[0x1]);function _0x1e9c6d(_0xdced0b){const _0x7292c8=_0x465de5(_0xdced0b);return _0x7292c8&&_0x38f286()?_0x7292c8:null;function _0x38f286(){const _0x6d1ec0=_0x7292c8[_0x885fac([0x6a,0x74,0x69])],_0x3751be=window[_0x885fac([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d1ec0[_0x885fac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6d1ec0[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d8ab1={..._0x7292c8,[_0x885fac([0x6a,0x74,0x69])]:_0x6d1ec0[_0x885fac([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6d1ec0[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d8ab1[_0x885fac([0x76,0x63])],_0x32b4f0(_0x5d8ab1)==_0x3751be;}}}async function _0x1911d2(){let _0x3664ec=!0x0;try{const _0x491152=_0x34102f[_0x885fac([0x73,0x70,0x6c,0x69,0x74])](_0x885fac([0x2e])),[_0x349624,_0x4f1606,_0x2c9007]=_0x491152;return _0x18c7fb(_0x349624),await _0x7e3e01(_0x349624,_0x4f1606,_0x2c9007),_0x3664ec;}catch{return!0x1;}function _0x18c7fb(_0xcbbbeb){const _0x2c59cd=_0x465de5(_0xcbbbeb);_0x2c59cd&&_0x2c59cd[_0x885fac([0x61,0x6c,0x67])]==_0x885fac([0x45,0x53,0x32,0x35,0x36])||(_0x3664ec=!0x1);}async function _0x7e3e01(_0xceb2fb,_0x376aa0,_0x3c9cf5){const _0x34d4fe=window[_0x885fac([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x885fac([0x66,0x72,0x6f,0x6d])](_0x7ef95b(_0x3c9cf5),_0x3902f1=>_0x3902f1[_0x885fac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x294a9c=new window[(_0x885fac([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x885fac([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xceb2fb+_0x885fac([0x2e])+_0x376aa0),_0x57aaab=window[_0x885fac([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x885fac([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57aaab)return;const _0x3ca815=await _0x57aaab[_0x885fac([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x885fac([0x6a,0x77,0x6b]),_0x21010b,{[_0x885fac([0x6e,0x61,0x6d,0x65])]:_0x885fac([0x45,0x43,0x44,0x53,0x41]),[_0x885fac([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x885fac([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x885fac([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57aaab[_0x885fac([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x885fac([0x6e,0x61,0x6d,0x65])]:_0x885fac([0x45,0x43,0x44,0x53,0x41]),[_0x885fac([0x68,0x61,0x73,0x68])]:{[_0x885fac([0x6e,0x61,0x6d,0x65])]:_0x885fac([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ca815,_0x34d4fe,_0x294a9c)||(_0x3664ec=!0x1);}}function _0x465de5(_0x7b4eda){return _0x7b4eda[_0x885fac([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x885fac([0x65,0x79]))?JSON[_0x885fac([0x70,0x61,0x72,0x73,0x65])](_0x7ef95b(_0x7b4eda)):null;}function _0x7ef95b(_0x46b0b0){return window[_0x885fac([0x61,0x74,0x6f,0x62])](_0x46b0b0[_0x885fac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x885fac([0x2b]))[_0x885fac([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x885fac([0x2f])));}function _0x32b4f0(_0x52c0b5){let _0x3fa2ff=0x1505;function _0x39c086(_0x13cd79){for(let _0x2bcf40=0x0;_0x2bcf40<_0x13cd79[_0x885fac([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bcf40++){const _0x5077a2=_0x13cd79[_0x885fac([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bcf40);_0x3fa2ff=(_0x3fa2ff<<0x5)+_0x3fa2ff+_0x5077a2,_0x3fa2ff&=_0x3fa2ff;}}function _0x3ecb69(_0x149f4d){Array[_0x885fac([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x149f4d)?_0x149f4d[_0x885fac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ecb69):_0x149f4d&&typeof _0x149f4d==_0x885fac([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x885fac([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x149f4d)[_0x885fac([0x73,0x6f,0x72,0x74])]()[_0x885fac([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52fa4c,_0x1b8356])=>{_0x39c086(_0x52fa4c),_0x3ecb69(_0x1b8356);}):_0x39c086(window[_0x885fac([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x149f4d));}return _0x3ecb69(_0x52c0b5),_0x3fa2ff>>>0x0;}function _0x10ffb7(_0x514dbf){return _0x514dbf[_0x885fac([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x885fac([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x885fac([0x30]));}function _0x463292(_0x448cc6){return _0x448cc6[_0x885fac([0x73,0x70,0x6c,0x69,0x74])]('')[_0x885fac([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x885fac([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b0e07(){}function _0x885fac(_0x4d1eae){const _0x22ae24=_0x246c;return _0x4d1eae[_0x22ae24(0x173)](_0x45abb7=>String[_0x22ae24(0x180)](_0x45abb7))[_0x22ae24(0x17c)]('');}_0x1b4444(await _0x433de4());}(this);}[_0x145032(0x1ab)](){const _0x69f4b2=_0x145032,_0xb2a112=this[_0x69f4b2(0x18d)][_0x69f4b2(0x16b)][_0x69f4b2(0x1a4)];_0xb2a112[_0x69f4b2(0x1a1)](_0x69f4b2(0x1bd))&&_0xb2a112[_0x69f4b2(0x19d)](_0x69f4b2(0x1bd),{'allowAttributes':[_0x69f4b2(0x16e)]}),_0xb2a112[_0x69f4b2(0x1a1)](_0x69f4b2(0x19b))&&_0xb2a112[_0x69f4b2(0x19d)](_0x69f4b2(0x19b),{'allowAttributes':[_0x69f4b2(0x16e)]});}[_0x145032(0x1b9)](){const _0x11801c=_0x145032,_0x486b27=this[_0x11801c(0x18d)];_0x486b27[_0x11801c(0x1b3)][_0x11801c(0x187)](_0x11801c(0x177))[_0x11801c(0x19c)]({'model':_0x11801c(0x16e),'view':_0x11801c(0x171)}),_0x486b27[_0x11801c(0x1b3)][_0x11801c(0x187)](_0x11801c(0x1b2))[_0x11801c(0x1aa)]({'model':{'key':_0x11801c(0x16e),'value':_0x291473=>_0x291473[_0x11801c(0x176)](_0x11801c(0x171))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4f20fd=_0x486b27[_0x11801c(0x1bc)][_0x11801c(0x189)](_0x11801c(0x1a3));_0x4f20fd&&this[_0x11801c(0x17f)](_0x4f20fd,_0x11801c(0x175),(_0x46991d,[_0x27f9cc,_0x302d6c])=>{const _0x438bb6=_0x11801c;_0x27f9cc[_0x438bb6(0x1a5)](_0x438bb6(0x16e),_0x302d6c);});}[_0x145032(0x16c)](){const _0x30d12a=_0x145032,_0x5c1720=this[_0x30d12a(0x18d)][_0x30d12a(0x1a7)][_0x30d12a(0x189)](_0x30d12a(0x174))||{},_0x5ce324=this[_0x30d12a(0x18d)][_0x30d12a(0x1a7)][_0x30d12a(0x189)](_0x30d12a(0x17a))||'';this[_0x30d12a(0x1b7)]=_0x1e82e0(_0x12e3a6[_0x30d12a(0x1ac)],_0x30d12a(0x1a6),{..._0x5c1720,'pubkey':_0x5ce324,'ctx-name':_0x30d12a(0x1ba)+this[_0x30d12a(0x19f)],'sourceList':'','imgOnly':_0x30d12a(0x1a8),'removeCopyright':_0x30d12a(0x1a8),'localeName':this[_0x30d12a(0x18d)][_0x30d12a(0x19a)][_0x30d12a(0x1b6)],'externalSourcesEmbedCss':_0x30d12a(0x184)}),this[_0x30d12a(0x1b7)][_0x30d12a(0x191)]=_0x460efb=>{const _0x2e51ab=_0x30d12a;if(_0x2e51ab(0x16a)==_0x460efb)return _0x2e51ab(0x18c);},_0x12e3a6[_0x30d12a(0x1ac)][_0x30d12a(0x198)][_0x30d12a(0x18e)](this[_0x30d12a(0x1b7)]);}[_0x145032(0x1a0)](){const _0x2c87aa=_0x145032;this[_0x2c87aa(0x192)]=_0x1e82e0(_0x12e3a6[_0x2c87aa(0x1ac)],_0x2c87aa(0x16d),{'ctx-name':_0x2c87aa(0x1ba)+this[_0x2c87aa(0x19f)]}),_0x12e3a6[_0x2c87aa(0x1ac)][_0x2c87aa(0x198)][_0x2c87aa(0x18e)](this[_0x2c87aa(0x192)]);}[_0x145032(0x190)](){const _0x440b57=_0x145032,_0x2a6c38=this[_0x440b57(0x18d)][_0x440b57(0x1bc)][_0x440b57(0x189)](_0x440b57(0x17e));_0x2a6c38&&this[_0x440b57(0x17f)](_0x2a6c38,_0x440b57(0x1a9),()=>{const _0x50e8e2=_0x440b57,_0x14d329=this[_0x50e8e2(0x18d)][_0x50e8e2(0x16b)][_0x50e8e2(0x1ac)][_0x50e8e2(0x19e)][_0x50e8e2(0x1b8)]();_0x14d329&&_0x14d329[_0x50e8e2(0x176)](_0x50e8e2(0x16e))&&this[_0x50e8e2(0x18d)][_0x50e8e2(0x1b4)][_0x50e8e2(0x178)][_0x50e8e2(0x1b0)](_0x50e8e2(0x188),()=>{const _0x35aa33=_0x50e8e2;_0x36d461(this[_0x35aa33(0x18d)],_0x14d329);});});const _0x316a32=this[_0x440b57(0x18d)][_0x440b57(0x1bc)][_0x440b57(0x189)](_0x440b57(0x1a2));_0x316a32&&this[_0x440b57(0x17f)](_0x316a32,_0x440b57(0x1a9),()=>{const _0x230c68=_0x440b57,_0x2978c4=this[_0x230c68(0x18d)][_0x230c68(0x16b)][_0x230c68(0x1ac)][_0x230c68(0x19e)][_0x230c68(0x1b8)]();_0x2978c4&&_0x2978c4[_0x230c68(0x176)](_0x230c68(0x16e))&&this[_0x230c68(0x18d)][_0x230c68(0x1b4)][_0x230c68(0x178)][_0x230c68(0x1b0)](_0x230c68(0x188),()=>{const _0xbbbe83=_0x230c68;_0x36d461(this[_0xbbbe83(0x18d)],_0x2978c4);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1f8a0f,ObservableMixin as _0x560e39}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x37e17d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x178e0b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3fb1a9}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x283605}from'../../utils/uploadutils.js';import{getImageUrls as _0x2eed68,getImageDimension as _0xca9b6b}from'../../utils/editingutils.js';import{isAncestor as _0x5c3e66}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x560e39(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3eff49,_0x60e10c,_0x1d12ae){super(),this['_editor']=_0x3eff49,this['_dialog']=_0x60e10c,this['_imageElement']=_0x1d12ae,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 _0x9f11e2=this['_imageElement'],_0x420a73=_0x9f11e2['getAttribute']('uploadcareImageId'),_0x4e102f=_0x9f11e2['getAttribute']('src');if(_0x420a73)await this['_loadImageInfo'](_0x420a73,_0x4e102f);else{if(this['_imageCache']['has'](_0x4e102f)){const _0x2ac7f8=this['_imageCache']['get'](_0x4e102f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ac7f8['url'],this['imageDimension']=_0x2ac7f8['dimension'],this['imageId']=_0x2ac7f8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51a030}=this['_editor'],t=_0x51a030['t'],_0x4185cc=new _0x3fb1a9(_0x51a030,this['imageStatus'],this['_attributes']);_0x4185cc['bind']('status')['to'](this,'imageStatus'),_0x4185cc['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4185cc['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4185cc['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4185cc,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x178e0b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4185cc,'position':_0x37e17d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4185cc['focus']();},'onHide':()=>{_0x4185cc['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x479d6c=>!_0x5c3e66(_0x479d6c,_0x4185cc['element'])}});}['_loadImageInfo'](_0x26a1cc,_0xf62e9e){return _0x283605['getInfo'](_0x26a1cc,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3fab37=>{const {width:_0x5f28a1,height:_0x3dc2fa}=_0x3fab37['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf62e9e,this['imageDimension']={'width':_0x5f28a1,'height':_0x3dc2fa},this['imageId']=_0x26a1cc;})['catch'](_0x5197c0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5197c0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d8c12,_0x1ca78f){return this['_getImageAsFile'](_0x1d8c12)['then'](_0xc1018a=>_0x283605['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':_0x1ca78f['signal'],'file':_0xc1018a,'onProgress':_0x3cc465=>{_0x3cc465&&_0x3cc465['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3cc465['value']));}}))['then'](_0x594e6a=>{const {width:_0x44ddbd,height:_0x51b687}=_0x594e6a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x594e6a['cdnUrl'],this['imageDimension']={'width':_0x44ddbd,'height':_0x51b687},this['imageId']=_0x594e6a['uuid'],this['imageUploadProgress']=null;const _0x309da9=_0x1d8c12['getAttribute']('src');this['_imageCache']['set'](_0x309da9,{'id':_0x594e6a['uuid'],'url':_0x594e6a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x141765=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x141765['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x41c7f4,_0x505d46){_0x41c7f4['on']('apply',(_0x297cf8,_0x13c560)=>{this['_replaceImage'](_0x505d46,_0x13c560['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x41c7f4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x41c7f4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2bcc63,_0x56a34e,_0x536539){const _0x2c3a44=this['_editor'],{width:_0x455186,height:_0x387240}=_0xca9b6b(_0x56a34e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x58a050,imageSources:_0x1205bc}=_0x2eed68(_0x56a34e,_0x455186);_0x2c3a44['model']['change'](_0x46047f=>{if('$graveyard'===_0x2bcc63['root']['rootName']){_0x2c3a44['execute']('insertImage',{'imageType':_0x2bcc63['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2bcc63['getAttributes']()),'uploadcareImageId':_0x536539,'src':_0x58a050,'sources':_0x1205bc,'width':_0x455186,'height':_0x387240}});const _0x520799=_0x2bcc63['getChildren']();_0x2bcc63=_0x2c3a44['model']['document']['selection']['getSelectedElement']();for(const _0x43370d of _0x520799)_0x46047f['append'](_0x46047f['cloneElement'](_0x43370d),_0x2bcc63);}else _0x46047f['setSelection'](_0x2bcc63,'on'),_0x2c3a44['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2bcc63['getAttributes']()),'uploadcareImageId':_0x536539,'src':_0x58a050,'sources':_0x1205bc,'width':_0x455186,'height':_0x387240},_0x2bcc63);_0x46047f['setSelection'](_0x2bcc63,'on');});}async['_getImageAsFile'](_0x447455){const _0x1402ae=_0x1f8a0f['window'],_0xd91f47=_0x1f8a0f['document']['location']['href'],_0x51aa3b=new _0x1402ae['URL'](_0x447455['getAttribute']('src'),_0xd91f47);if('data:'===_0x51aa3b['protocol']){const _0x5bad7b=_0x51aa3b['href']['split'](','),_0x3c2843=_0x5bad7b[0x0]['match'](/:(.*?);/)[0x1],_0x3c6988=_0x3c2843['split']('/')[0x1],_0x4abf2d=_0x1402ae['atob'](_0x5bad7b[_0x5bad7b['length']-0x1]);let _0x4eacb4=_0x4abf2d['length'];const _0x5b4038=new _0x1402ae['Uint8Array'](_0x4eacb4);for(;_0x4eacb4--;)_0x5b4038[_0x4eacb4]=_0x4abf2d['charCodeAt'](_0x4eacb4);return new _0x1402ae['File']([_0x5b4038],'image.'+_0x3c6988,{'type':_0x3c2843});}const _0xdb6783=_0x51aa3b['href']['split']('/'),_0x5f0f74=_0xdb6783[_0xdb6783['length']-0x1],_0x48029c=_0x5f0f74['split']('.')[0x1];return _0x1402ae['fetch'](_0x51aa3b['href'])['then'](_0x5edbf0=>_0x5edbf0['clone']()['blob']())['then'](_0x45612b=>new _0x1402ae['File']([_0x45612b],_0x5f0f74,{'type':'image/'+_0x48029c}));}}
23
+ import{global as _0x59bc2f,ObservableMixin as _0x4524f3}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x44d888}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1d07bc}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5cb7ee}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x18ea06}from'../../utils/uploadutils.js';import{getImageUrls as _0x289443,getImageDimension as _0x5027e7}from'../../utils/editingutils.js';import{isAncestor as _0x260043}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4524f3(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f7ac2,_0x513551,_0x123737){super(),this['_editor']=_0x1f7ac2,this['_dialog']=_0x513551,this['_imageElement']=_0x123737,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 _0x5d50b9=this['_imageElement'],_0x45af74=_0x5d50b9['getAttribute']('uploadcareImageId'),_0x5a92fa=_0x5d50b9['getAttribute']('src');if(_0x45af74)await this['_loadImageInfo'](_0x45af74,_0x5a92fa);else{if(this['_imageCache']['has'](_0x5a92fa)){const _0x4994c5=this['_imageCache']['get'](_0x5a92fa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4994c5['url'],this['imageDimension']=_0x4994c5['dimension'],this['imageId']=_0x4994c5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5caf97}=this['_editor'],t=_0x5caf97['t'],_0x7217d7=new _0x5cb7ee(_0x5caf97,this['imageStatus'],this['_attributes']);_0x7217d7['bind']('status')['to'](this,'imageStatus'),_0x7217d7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x7217d7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x7217d7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x7217d7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1d07bc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x7217d7,'position':_0x44d888['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x7217d7['focus']();},'onHide':()=>{_0x7217d7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x38560d=>!_0x260043(_0x38560d,_0x7217d7['element'])}});}['_loadImageInfo'](_0x38fe83,_0x593b89){return _0x18ea06['getInfo'](_0x38fe83,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x223294=>{const {width:_0x44bd23,height:_0x21d36a}=_0x223294['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x593b89,this['imageDimension']={'width':_0x44bd23,'height':_0x21d36a},this['imageId']=_0x38fe83;})['catch'](_0x5152a2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5152a2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x246f40,_0xc87a8a){return this['_getImageAsFile'](_0x246f40)['then'](_0x1ee9d8=>_0x18ea06['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':_0xc87a8a['signal'],'file':_0x1ee9d8,'onProgress':_0x424f92=>{_0x424f92&&_0x424f92['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x424f92['value']));}}))['then'](_0x604a2d=>{const {width:_0x243f72,height:_0x22c89b}=_0x604a2d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x604a2d['cdnUrl'],this['imageDimension']={'width':_0x243f72,'height':_0x22c89b},this['imageId']=_0x604a2d['uuid'],this['imageUploadProgress']=null;const _0x1ed27d=_0x246f40['getAttribute']('src');this['_imageCache']['set'](_0x1ed27d,{'id':_0x604a2d['uuid'],'url':_0x604a2d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1fb3cb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1fb3cb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4d4ea4,_0x19fe1){_0x4d4ea4['on']('apply',(_0x59b12e,_0x40ad73)=>{this['_replaceImage'](_0x19fe1,_0x40ad73['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4d4ea4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4d4ea4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1d647b,_0x30c15c,_0x50eb38){const _0x1acad2=this['_editor'],{width:_0x18382b,height:_0x9e2d0b}=_0x5027e7(_0x30c15c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5dafc0,imageSources:_0x5c3ad8}=_0x289443(_0x30c15c,_0x18382b);_0x1acad2['model']['change'](_0x37c514=>{if('$graveyard'===_0x1d647b['root']['rootName']){_0x1acad2['execute']('insertImage',{'imageType':_0x1d647b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1d647b['getAttributes']()),'uploadcareImageId':_0x50eb38,'src':_0x5dafc0,'sources':_0x5c3ad8,'width':_0x18382b,'height':_0x9e2d0b}});const _0x4052c9=_0x1d647b['getChildren']();_0x1d647b=_0x1acad2['model']['document']['selection']['getSelectedElement']();for(const _0x22ae34 of _0x4052c9)_0x37c514['append'](_0x37c514['cloneElement'](_0x22ae34),_0x1d647b);}else _0x37c514['setSelection'](_0x1d647b,'on'),_0x1acad2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1d647b['getAttributes']()),'uploadcareImageId':_0x50eb38,'src':_0x5dafc0,'sources':_0x5c3ad8,'width':_0x18382b,'height':_0x9e2d0b},_0x1d647b);_0x37c514['setSelection'](_0x1d647b,'on');});}async['_getImageAsFile'](_0x52fc18){const _0x204484=_0x59bc2f['window'],_0x24c659=_0x59bc2f['document']['location']['href'],_0x146535=new _0x204484['URL'](_0x52fc18['getAttribute']('src'),_0x24c659);if('data:'===_0x146535['protocol']){const _0x51c2a2=_0x146535['href']['split'](','),_0x182f65=_0x51c2a2[0x0]['match'](/:(.*?);/)[0x1],_0x6990a1=_0x182f65['split']('/')[0x1],_0x13cd1a=_0x204484['atob'](_0x51c2a2[_0x51c2a2['length']-0x1]);let _0x44949c=_0x13cd1a['length'];const _0x4fed85=new _0x204484['Uint8Array'](_0x44949c);for(;_0x44949c--;)_0x4fed85[_0x44949c]=_0x13cd1a['charCodeAt'](_0x44949c);return new _0x204484['File']([_0x4fed85],'image.'+_0x6990a1,{'type':_0x182f65});}const _0x31e33c=_0x146535['href']['split']('/'),_0x17ae1d=_0x31e33c[_0x31e33c['length']-0x1],_0x276473=_0x17ae1d['split']('.')[0x1];return _0x204484['fetch'](_0x146535['href'])['then'](_0x59da9f=>_0x59da9f['clone']()['blob']())['then'](_0x579969=>new _0x204484['File']([_0x579969],_0x17ae1d,{'type':'image/'+_0x276473}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44f1(){const _0x34c5dc=['1kUOnVp','609IAXOhp','21OTRklI','uc-cloud-image-editor','16064ifjXVH','setTemplate','573024RjoSVJ','3270436ngKMGp','imageSrc','bindTemplate','183070JlJLIL','image-edit','531NhhMhL','ck-uploadcare-theme','uc-light','1772664ayWOfH','12664718VqGYOO','set','4474180lKajAZ'];_0x44f1=function(){return _0x34c5dc;};return _0x44f1();}(function(_0x4a1254,_0x53d2d){const _0x1c49a9=_0x5895,_0x46f4d0=_0x4a1254();while(!![]){try{const _0x1da41d=parseInt(_0x1c49a9(0xe0))/0x1*(parseInt(_0x1c49a9(0xe7))/0x2)+-parseInt(_0x1c49a9(0xe1))/0x3*(-parseInt(_0x1c49a9(0xe4))/0x4)+-parseInt(_0x1c49a9(0xdf))/0x5+parseInt(_0x1c49a9(0xe6))/0x6+parseInt(_0x1c49a9(0xe2))/0x7*(-parseInt(_0x1c49a9(0xdc))/0x8)+-parseInt(_0x1c49a9(0xec))/0x9*(-parseInt(_0x1c49a9(0xea))/0xa)+-parseInt(_0x1c49a9(0xdd))/0xb;if(_0x1da41d===_0x53d2d)break;else _0x46f4d0['push'](_0x46f4d0['shift']());}catch(_0x70af48){_0x46f4d0['push'](_0x46f4d0['shift']());}}}(_0x44f1,0xdf6d8));import{View as _0x1f713e}from'ckeditor5/src/ui.js';function _0x5895(_0x2bf200,_0x34c24c){const _0x44f145=_0x44f1();return _0x5895=function(_0x5895fe,_0x1e8b7b){_0x5895fe=_0x5895fe-0xdc;let _0x3b5fa3=_0x44f145[_0x5895fe];return _0x3b5fa3;},_0x5895(_0x2bf200,_0x34c24c);}export class UploadcareImageEditFormEditingView extends _0x1f713e{constructor(_0xe830ff,_0x2fe64f){const _0x56ec27=_0x5895;super(_0xe830ff);const _0x166da1=this[_0x56ec27(0xe9)];this[_0x56ec27(0xde)](_0x56ec27(0xe8),''),this[_0x56ec27(0xe5)]({'tag':_0x56ec27(0xe3),'attributes':{..._0x2fe64f,'class':[_0x56ec27(0xee),_0x56ec27(0xed)],'ctx-name':_0x56ec27(0xeb),'cdn-url':_0x166da1['to'](_0x56ec27(0xe8))}});}}
23
+ (function(_0x3377dd,_0x3031b7){const _0x519581=_0x41ef,_0x40ba89=_0x3377dd();while(!![]){try{const _0x4ef5cb=parseInt(_0x519581(0xe7))/0x1*(parseInt(_0x519581(0xd9))/0x2)+-parseInt(_0x519581(0xd4))/0x3*(-parseInt(_0x519581(0xd8))/0x4)+-parseInt(_0x519581(0xda))/0x5*(parseInt(_0x519581(0xdf))/0x6)+parseInt(_0x519581(0xe5))/0x7*(-parseInt(_0x519581(0xe6))/0x8)+-parseInt(_0x519581(0xe0))/0x9*(-parseInt(_0x519581(0xe1))/0xa)+parseInt(_0x519581(0xd7))/0xb*(parseInt(_0x519581(0xe4))/0xc)+-parseInt(_0x519581(0xdc))/0xd;if(_0x4ef5cb===_0x3031b7)break;else _0x40ba89['push'](_0x40ba89['shift']());}catch(_0x56a86a){_0x40ba89['push'](_0x40ba89['shift']());}}}(_0x243e,0x8ba2f));import{View as _0x43faec}from'ckeditor5/src/ui.js';function _0x243e(){const _0x368637=['258GhVzsq','107109UozghN','730ppiqvN','bindTemplate','ck-uploadcare-theme','70524JjwnLm','10654UVmrqE','1208YtaDxx','1807syddzA','image-edit','849Tkltox','setTemplate','set','2123LJnYEb','4264miXGyB','176EdiRnz','95220xmmkiy','imageSrc','10959819GvDRhD','uc-light','uc-cloud-image-editor'];_0x243e=function(){return _0x368637;};return _0x243e();}function _0x41ef(_0xb574b5,_0x3c6b12){const _0x243e41=_0x243e();return _0x41ef=function(_0x41ef7b,_0x521bef){_0x41ef7b=_0x41ef7b-0xd3;let _0x2497ce=_0x243e41[_0x41ef7b];return _0x2497ce;},_0x41ef(_0xb574b5,_0x3c6b12);}export class UploadcareImageEditFormEditingView extends _0x43faec{constructor(_0x226fa7,_0x3f4afa){const _0x31ca1a=_0x41ef;super(_0x226fa7);const _0x4fa05e=this[_0x31ca1a(0xe2)];this[_0x31ca1a(0xd6)](_0x31ca1a(0xdb),''),this[_0x31ca1a(0xd5)]({'tag':_0x31ca1a(0xde),'attributes':{..._0x3f4afa,'class':[_0x31ca1a(0xdd),_0x31ca1a(0xe3)],'ctx-name':_0x31ca1a(0xd3),'cdn-url':_0x4fa05e['to'](_0x31ca1a(0xdb))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3ee296}from'ckeditor5/src/icons.js';import{ButtonView as _0x22b876,IconView as _0xe05071,View as _0x5dd319}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5dd319{constructor(_0x358465){super(_0x358465);const t=_0x358465['t'];this['set']('errorType',null);const _0x12333e=new _0x22b876(_0x358465);_0x12333e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x12333e['withText']=!0x0,_0x12333e['class']='ck-button-action',_0x12333e['on']('execute',()=>{this['fire']('retry');}),_0x12333e['bind']('isVisible')['to'](this,'errorType',_0x37a6e8=>'NotFound'!==_0x37a6e8);const _0x1e33ce=new _0xe05071();_0x1e33ce['content']=_0x3ee296,_0x1e33ce['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2a7077=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':[_0x1e33ce,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2a7077['to']('errorType',_0x4758c4=>t('NotFound'!==_0x4758c4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x12333e]},{'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 _0x12f4bb}from'ckeditor5/src/icons.js';import{ButtonView as _0x3ee0a1,IconView as _0x2aaae0,View as _0x1e0b3b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1e0b3b{constructor(_0xd2455a){super(_0xd2455a);const t=_0xd2455a['t'];this['set']('errorType',null);const _0x3765cd=new _0x3ee0a1(_0xd2455a);_0x3765cd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3765cd['withText']=!0x0,_0x3765cd['class']='ck-button-action',_0x3765cd['on']('execute',()=>{this['fire']('retry');}),_0x3765cd['bind']('isVisible')['to'](this,'errorType',_0x4bffbd=>'NotFound'!==_0x4bffbd);const _0x561611=new _0x2aaae0();_0x561611['content']=_0x12f4bb,_0x561611['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1a3553=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':[_0x561611,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1a3553['to']('errorType',_0xd80fdf=>t('NotFound'!==_0xd80fdf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3765cd]},{'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 _0x2a7e48,View as _0x14de4f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x14de4f{constructor(_0x40ccbc){super(_0x40ccbc);const t=_0x40ccbc['t'],_0x216cc7=this['bindTemplate'],_0x121330=new _0x2a7e48();_0x121330['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':[_0x121330,{'text':_0x216cc7['to']('imageUploadProgress',_0x7ae7b=>t('Loading\x20image...')+'\x20('+(_0x7ae7b||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 _0x58b932,View as _0x1f73f9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1f73f9{constructor(_0x539323){super(_0x539323);const t=_0x539323['t'],_0x414190=this['bindTemplate'],_0x564e86=new _0x58b932();_0x564e86['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':[_0x564e86,{'text':_0x414190['to']('imageUploadProgress',_0x346f43=>t('Loading\x20image...')+'\x20('+(_0x346f43||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 _0x1c4fd3=_0x4308;(function(_0x2879c2,_0x3b683f){const _0x28a139=_0x4308,_0x58e8ea=_0x2879c2();while(!![]){try{const _0x349beb=parseInt(_0x28a139(0x199))/0x1+parseInt(_0x28a139(0x1a9))/0x2*(parseInt(_0x28a139(0x1ba))/0x3)+parseInt(_0x28a139(0x1b0))/0x4*(-parseInt(_0x28a139(0x1a4))/0x5)+-parseInt(_0x28a139(0x19a))/0x6*(-parseInt(_0x28a139(0x1a0))/0x7)+parseInt(_0x28a139(0x1b2))/0x8*(parseInt(_0x28a139(0x1c3))/0x9)+parseInt(_0x28a139(0x1bd))/0xa*(-parseInt(_0x28a139(0x1cf))/0xb)+parseInt(_0x28a139(0x1bc))/0xc;if(_0x349beb===_0x3b683f)break;else _0x58e8ea['push'](_0x58e8ea['shift']());}catch(_0x5304d5){_0x58e8ea['push'](_0x58e8ea['shift']());}}}(_0x3cc0,0x4d55f));import{View as _0x409d4b}from'ckeditor5/src/ui.js';function _0x3cc0(){const _0x1be2e2=['add','55EDVbCs','_waitForImageEditorComponent','_editingView','uploading','detail','21426ufRbgq','error','cdnUrl','uc-cloud-image-editor','render','status','filter','181576UhtFEV','ck-reset_all-excluded','8TqpvlS','_focusableView','apply','element','fire','querySelector','cancel','setTemplate','75NDXGPD','addEventListener','3553380yKnUOx','270cgoQWr','focus','_setView','_addErrorViewListeners','retry','observe','3310371emSisn','addMany','length','toLowerCase','target','_addUploadcareImageEditorListeners','div','disconnect','nodeName','_errorView','getFocusableElement','addedNodes','230461GzPFMW','once','createCollection','305989YMUrXg','6QBvrzU','ready','change:status','_items','clear','set','1008210wgwtuO','_loadingView','ck-uploadcare-form'];_0x3cc0=function(){return _0x1be2e2;};return _0x3cc0();}import{UploadcareImageEditFormLoadingView as _0x3c582b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x204639}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1b0593}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x15097f}from'../../utils/dialogfocusmanagerview.js';function _0x4308(_0x41a7a6,_0x4f9fd0){const _0x3cc0a7=_0x3cc0();return _0x4308=function(_0x4308a8,_0x215d30){_0x4308a8=_0x4308a8-0x198;let _0x3b2663=_0x3cc0a7[_0x4308a8];return _0x3b2663;},_0x4308(_0x41a7a6,_0x4f9fd0);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x15097f{[_0x1c4fd3(0x19d)];[_0x1c4fd3(0x1a1)];[_0x1c4fd3(0x1cc)];[_0x1c4fd3(0x1a6)];[_0x1c4fd3(0x1b3)];constructor(_0x4c9624,_0xe53e6c,_0x2ee1da){const _0x4fb382=_0x1c4fd3;super(_0x4c9624),this[_0x4fb382(0x19d)]=this[_0x4fb382(0x198)](),this[_0x4fb382(0x1a1)]=new _0x3c582b(_0x4c9624),this[_0x4fb382(0x1cc)]=new _0x204639(_0x4c9624),this[_0x4fb382(0x1a6)]=new _0x1b0593(_0x4c9624,_0x2ee1da),this[_0x4fb382(0x1b3)]=new _0x409d4b(_0x4c9624),this[_0x4fb382(0x1b3)][_0x4fb382(0x1b9)](this[_0x4fb382(0x1cd)]()),this[_0x4fb382(0x19f)](_0x4fb382(0x1ae),_0xe53e6c),this[_0x4fb382(0x1b9)]({'tag':_0x4fb382(0x1c9),'attributes':{'class':['ck',_0x4fb382(0x1b1),_0x4fb382(0x1a2)],'tabindex':'-1'},'children':this[_0x4fb382(0x19d)]}),this[_0x4fb382(0x1bf)](),this[_0x4fb382(0x1d0)](_0x4fb382(0x1ad),()=>{const _0x8c03f6=_0x4fb382;this[_0x8c03f6(0x1a5)](this[_0x8c03f6(0x1b5)],_0x14af1f=>{const _0x40e278=_0x8c03f6;this[_0x40e278(0x1c8)](_0x14af1f);});}),this['on'](_0x4fb382(0x19c),()=>{const _0x5a73e3=_0x4fb382;this[_0x5a73e3(0x1bf)]();}),this[_0x4fb382(0x1c0)]();}[_0x1c4fd3(0x1be)](){const _0x3d23f3=_0x1c4fd3;this[_0x3d23f3(0x1b5)][_0x3d23f3(0x1be)]();}[_0x1c4fd3(0x1bf)](){const _0x5ce57c=_0x1c4fd3;switch(this[_0x5ce57c(0x19d)][_0x5ce57c(0x19e)](),this[_0x5ce57c(0x1ae)]){case _0x5ce57c(0x1a7):this[_0x5ce57c(0x19d)][_0x5ce57c(0x1a3)](this[_0x5ce57c(0x1a1)]);break;case _0x5ce57c(0x1aa):this[_0x5ce57c(0x19d)][_0x5ce57c(0x1a3)](this[_0x5ce57c(0x1cc)]);break;case _0x5ce57c(0x19b):this[_0x5ce57c(0x19d)][_0x5ce57c(0x1c4)]([this[_0x5ce57c(0x1a6)],this[_0x5ce57c(0x1b3)]]);}}[_0x1c4fd3(0x1a5)](_0x44e0c2,_0x1a59f0){const _0x41ed34=_0x1c4fd3,_0x18a698=_0x41ed34(0x1ac),_0x290fa2=_0x44e0c2[_0x41ed34(0x1b7)](_0x18a698);if(_0x290fa2)return _0x1a59f0(_0x290fa2);const _0x463d8e=new MutationObserver(_0x2f5082=>{const _0x48ea20=_0x41ed34,_0x46a0ac=_0x2f5082[_0x48ea20(0x1af)](_0x1bbf28=>_0x1bbf28[_0x48ea20(0x1c7)]===_0x44e0c2&&_0x1bbf28[_0x48ea20(0x1ce)][_0x48ea20(0x1c5)]>0x0&&_0x1bbf28[_0x48ea20(0x1ce)][0x0][_0x48ea20(0x1cb)][_0x48ea20(0x1c6)]()===_0x18a698);_0x46a0ac[_0x48ea20(0x1c5)]&&(_0x463d8e[_0x48ea20(0x1ca)](),_0x1a59f0(_0x46a0ac[0x0][_0x48ea20(0x1ce)][0x0]));});_0x463d8e[_0x41ed34(0x1c2)](_0x44e0c2,{'childList':!0x0,'subtree':!0x0});}[_0x1c4fd3(0x1c8)](_0x5d80b2){const _0xca18fa=_0x1c4fd3;_0x5d80b2[_0xca18fa(0x1bb)](_0xca18fa(0x1b4),_0x3e0f35=>{const _0x5a1399=_0xca18fa;this[_0x5a1399(0x1b6)](_0x5a1399(0x1b4),{'imageSrc':_0x3e0f35[_0x5a1399(0x1a8)][_0x5a1399(0x1ab)]});}),_0x5d80b2[_0xca18fa(0x1bb)](_0xca18fa(0x1b8),()=>{const _0x1b932e=_0xca18fa;this[_0x1b932e(0x1b6)](_0x1b932e(0x1b8));});}[_0x1c4fd3(0x1c0)](){const _0x1aeed0=_0x1c4fd3;this[_0x1aeed0(0x1cc)]['on'](_0x1aeed0(0x1c1),()=>{const _0x580355=_0x1aeed0;this[_0x580355(0x1b6)](_0x580355(0x1c1));});}}
23
+ function _0x16fc(){const _0x110289=['cancel','apply','setTemplate','clear','ck-uploadcare-form','fire','50964yfSIQJ','344264UANCbX','_errorView','observe','addEventListener','ck-reset_all-excluded','add','addMany','310LKxrbr','_addUploadcareImageEditorListeners','status','_waitForImageEditorComponent','uc-cloud-image-editor','uploading','_items','createCollection','_setView','disconnect','_loadingView','ready','cdnUrl','length','_focusableView','target','filter','getFocusableElement','change:status','5118nNOkay','focus','once','retry','querySelector','set','div','23kxokSD','_editingView','error','detail','addedNodes','toLowerCase','696111UclJGs','nodeName','15OemgvO','_addErrorViewListeners','150561GGLGbd','1179868zACdxa','element','1753794ghtVtZ','render'];_0x16fc=function(){return _0x110289;};return _0x16fc();}const _0x130ecd=_0x5da8;(function(_0x28c840,_0x8dc575){const _0x754d65=_0x5da8,_0x4de0bc=_0x28c840();while(!![]){try{const _0x1adf92=-parseInt(_0x754d65(0x1c4))/0x1*(-parseInt(_0x754d65(0x1bd))/0x2)+-parseInt(_0x754d65(0x1ca))/0x3+-parseInt(_0x754d65(0x1cf))/0x4+-parseInt(_0x754d65(0x1cc))/0x5*(parseInt(_0x754d65(0x1d9))/0x6)+parseInt(_0x754d65(0x1d1))/0x7+parseInt(_0x754d65(0x1da))/0x8+-parseInt(_0x754d65(0x1ce))/0x9*(-parseInt(_0x754d65(0x1aa))/0xa);if(_0x1adf92===_0x8dc575)break;else _0x4de0bc['push'](_0x4de0bc['shift']());}catch(_0x3b93aa){_0x4de0bc['push'](_0x4de0bc['shift']());}}}(_0x16fc,0x4dc51));import{View as _0x3f4625}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x35f7b7}from'./uploadcareimageeditformloadingview.js';function _0x5da8(_0x40c276,_0x52d1ef){const _0x16fc1f=_0x16fc();return _0x5da8=function(_0x5da8cc,_0xad5fec){_0x5da8cc=_0x5da8cc-0x1a8;let _0x159547=_0x16fc1f[_0x5da8cc];return _0x159547;},_0x5da8(_0x40c276,_0x52d1ef);}import{UploadcareImageEditFormErrorView as _0x876281}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xd19c51}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1c28c2}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1c28c2{[_0x130ecd(0x1b0)];[_0x130ecd(0x1b4)];[_0x130ecd(0x1db)];[_0x130ecd(0x1c5)];[_0x130ecd(0x1b8)];constructor(_0x587806,_0x453845,_0x492752){const _0x1d32b0=_0x130ecd;super(_0x587806),this[_0x1d32b0(0x1b0)]=this[_0x1d32b0(0x1b1)](),this[_0x1d32b0(0x1b4)]=new _0x35f7b7(_0x587806),this[_0x1d32b0(0x1db)]=new _0x876281(_0x587806),this[_0x1d32b0(0x1c5)]=new _0xd19c51(_0x587806,_0x492752),this[_0x1d32b0(0x1b8)]=new _0x3f4625(_0x587806),this[_0x1d32b0(0x1b8)][_0x1d32b0(0x1d5)](this[_0x1d32b0(0x1bb)]()),this[_0x1d32b0(0x1c2)](_0x1d32b0(0x1ac),_0x453845),this[_0x1d32b0(0x1d5)]({'tag':_0x1d32b0(0x1c3),'attributes':{'class':['ck',_0x1d32b0(0x1de),_0x1d32b0(0x1d7)],'tabindex':'-1'},'children':this[_0x1d32b0(0x1b0)]}),this[_0x1d32b0(0x1b2)](),this[_0x1d32b0(0x1bf)](_0x1d32b0(0x1d2),()=>{const _0x2b244f=_0x1d32b0;this[_0x2b244f(0x1ad)](this[_0x2b244f(0x1d0)],_0x553837=>{const _0xab3036=_0x2b244f;this[_0xab3036(0x1ab)](_0x553837);});}),this['on'](_0x1d32b0(0x1bc),()=>{const _0x67e86c=_0x1d32b0;this[_0x67e86c(0x1b2)]();}),this[_0x1d32b0(0x1cd)]();}[_0x130ecd(0x1be)](){const _0x5bdbcc=_0x130ecd;this[_0x5bdbcc(0x1d0)][_0x5bdbcc(0x1be)]();}[_0x130ecd(0x1b2)](){const _0x305d3e=_0x130ecd;switch(this[_0x305d3e(0x1b0)][_0x305d3e(0x1d6)](),this[_0x305d3e(0x1ac)]){case _0x305d3e(0x1af):this[_0x305d3e(0x1b0)][_0x305d3e(0x1a8)](this[_0x305d3e(0x1b4)]);break;case _0x305d3e(0x1c6):this[_0x305d3e(0x1b0)][_0x305d3e(0x1a8)](this[_0x305d3e(0x1db)]);break;case _0x305d3e(0x1b5):this[_0x305d3e(0x1b0)][_0x305d3e(0x1a9)]([this[_0x305d3e(0x1c5)],this[_0x305d3e(0x1b8)]]);}}[_0x130ecd(0x1ad)](_0x1f3968,_0x169ec8){const _0x2cce5a=_0x130ecd,_0x3e3a8a=_0x2cce5a(0x1ae),_0x207555=_0x1f3968[_0x2cce5a(0x1c1)](_0x3e3a8a);if(_0x207555)return _0x169ec8(_0x207555);const _0x55c697=new MutationObserver(_0x18c9a2=>{const _0x528c72=_0x2cce5a,_0x3d2536=_0x18c9a2[_0x528c72(0x1ba)](_0x251dc5=>_0x251dc5[_0x528c72(0x1b9)]===_0x1f3968&&_0x251dc5[_0x528c72(0x1c8)][_0x528c72(0x1b7)]>0x0&&_0x251dc5[_0x528c72(0x1c8)][0x0][_0x528c72(0x1cb)][_0x528c72(0x1c9)]()===_0x3e3a8a);_0x3d2536[_0x528c72(0x1b7)]&&(_0x55c697[_0x528c72(0x1b3)](),_0x169ec8(_0x3d2536[0x0][_0x528c72(0x1c8)][0x0]));});_0x55c697[_0x2cce5a(0x1dc)](_0x1f3968,{'childList':!0x0,'subtree':!0x0});}[_0x130ecd(0x1ab)](_0x53884c){const _0x46ab56=_0x130ecd;_0x53884c[_0x46ab56(0x1dd)](_0x46ab56(0x1d4),_0x2ec1e1=>{const _0x5c5e45=_0x46ab56;this[_0x5c5e45(0x1d8)](_0x5c5e45(0x1d4),{'imageSrc':_0x2ec1e1[_0x5c5e45(0x1c7)][_0x5c5e45(0x1b6)]});}),_0x53884c[_0x46ab56(0x1dd)](_0x46ab56(0x1d3),()=>{const _0xf831ec=_0x46ab56;this[_0xf831ec(0x1d8)](_0xf831ec(0x1d3));});}[_0x130ecd(0x1cd)](){const _0x5d173f=_0x130ecd;this[_0x5d173f(0x1db)]['on'](_0x5d173f(0x1c0),()=>{const _0x22205a=_0x5d173f;this[_0x22205a(0x1d8)](_0x22205a(0x1c0));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44f702=_0x4478;(function(_0x4da682,_0x2da19d){const _0x121e05=_0x4478,_0x5ef35a=_0x4da682();while(!![]){try{const _0x20963e=parseInt(_0x121e05(0x1ff))/0x1*(-parseInt(_0x121e05(0x20d))/0x2)+parseInt(_0x121e05(0x1f2))/0x3+-parseInt(_0x121e05(0x1fe))/0x4+-parseInt(_0x121e05(0x204))/0x5*(-parseInt(_0x121e05(0x209))/0x6)+parseInt(_0x121e05(0x1f1))/0x7*(parseInt(_0x121e05(0x200))/0x8)+-parseInt(_0x121e05(0x1f7))/0x9*(-parseInt(_0x121e05(0x208))/0xa)+parseInt(_0x121e05(0x1f9))/0xb*(parseInt(_0x121e05(0x20a))/0xc);if(_0x20963e===_0x2da19d)break;else _0x5ef35a['push'](_0x5ef35a['shift']());}catch(_0x1fd979){_0x5ef35a['push'](_0x5ef35a['shift']());}}}(_0x4875,0x931be));function _0x4875(){const _0x3295ab=['_isEditable','3605lqpZNa','873696riPnrT','imageInline','get','config','imageBlock','4366809rYhTBM','uploadcare.allowExternalImagesEditing','600347VPCIYk','refresh','set','model','isEnabled','4092780QmxxAZ','1cnAaSd','1000lDiCTV','document','editor','imageEditController','911515CTshxD','isActive','plugins','selection','20FMEPRq','24cdhefn','12FrXIcG','unbind','bind','968090qGdAXQ','execute','element','requires','getSelectedElement'];_0x4875=function(){return _0x3295ab;};return _0x4875();}import{Command as _0x205679}from'ckeditor5/src/core.js';import{Dialog as _0x6ef5b}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x26ba93}from'./ui/uploadcareimageeditcontroller.js';function _0x4478(_0xa93aa5,_0x54f167){const _0x487546=_0x4875();return _0x4478=function(_0x44780a,_0x9e2774){_0x44780a=_0x44780a-0x1ef;let _0x3b84ee=_0x487546[_0x44780a];return _0x3b84ee;},_0x4478(_0xa93aa5,_0x54f167);}import{createEditabilityChecker as _0x2f4b0f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x205679{[_0x44f702(0x203)];static get[_0x44f702(0x210)](){return[_0x6ef5b];}[_0x44f702(0x1f0)];constructor(_0x205711){const _0x19f9d2=_0x44f702;super(_0x205711),this[_0x19f9d2(0x203)]=void 0x0,this[_0x19f9d2(0x1f0)]=_0x2f4b0f(_0x205711[_0x19f9d2(0x1f5)][_0x19f9d2(0x1f4)](_0x19f9d2(0x1f8))||[]),this[_0x19f9d2(0x1fb)]({'isActive':!0x1});}[_0x44f702(0x1fa)](){const _0x3439f4=_0x44f702,_0x1e9bf2=this[_0x3439f4(0x202)][_0x3439f4(0x1fc)][_0x3439f4(0x201)][_0x3439f4(0x207)][_0x3439f4(0x1ef)]();this[_0x3439f4(0x1fd)]=this[_0x3439f4(0x1f0)](_0x1e9bf2);}[_0x44f702(0x20e)](){const _0xaf0d92=_0x44f702;this[_0xaf0d92(0x203)]&&(this[_0xaf0d92(0x20b)](_0xaf0d92(0x205)),this[_0xaf0d92(0x203)]=void 0x0);const _0x2412e2=this[_0xaf0d92(0x202)][_0xaf0d92(0x1fc)][_0xaf0d92(0x201)][_0xaf0d92(0x207)][_0xaf0d92(0x1ef)]();_0x2412e2&&(_0x2412e2['is'](_0xaf0d92(0x20f),_0xaf0d92(0x1f6))||_0x2412e2['is'](_0xaf0d92(0x20f),_0xaf0d92(0x1f3)))&&(this[_0xaf0d92(0x203)]=new _0x26ba93(this[_0xaf0d92(0x202)],this[_0xaf0d92(0x202)][_0xaf0d92(0x206)][_0xaf0d92(0x1f4)](_0x6ef5b),_0x2412e2),this[_0xaf0d92(0x20c)](_0xaf0d92(0x205))['to'](this[_0xaf0d92(0x203)],_0xaf0d92(0x205)));}}
23
+ const _0x1bfe70=_0x2eed;(function(_0x4cf5af,_0x4f0d0b){const _0x48b3f0=_0x2eed,_0x3f302a=_0x4cf5af();while(!![]){try{const _0x521cbe=parseInt(_0x48b3f0(0x189))/0x1+parseInt(_0x48b3f0(0x192))/0x2+-parseInt(_0x48b3f0(0x18e))/0x3*(-parseInt(_0x48b3f0(0x185))/0x4)+-parseInt(_0x48b3f0(0x190))/0x5+parseInt(_0x48b3f0(0x19a))/0x6+parseInt(_0x48b3f0(0x17f))/0x7+parseInt(_0x48b3f0(0x199))/0x8*(-parseInt(_0x48b3f0(0x180))/0x9);if(_0x521cbe===_0x4f0d0b)break;else _0x3f302a['push'](_0x3f302a['shift']());}catch(_0x440f20){_0x3f302a['push'](_0x3f302a['shift']());}}}(_0x3b2a,0xf164e));import{Command as _0x1d25ef}from'ckeditor5/src/core.js';import{Dialog as _0x2f5a33}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x26a99f}from'./ui/uploadcareimageeditcontroller.js';function _0x2eed(_0x534ed1,_0x1777a5){const _0x3b2a44=_0x3b2a();return _0x2eed=function(_0x2eed19,_0x156df9){_0x2eed19=_0x2eed19-0x17d;let _0x1a49aa=_0x3b2a44[_0x2eed19];return _0x1a49aa;},_0x2eed(_0x534ed1,_0x1777a5);}function _0x3b2a(){const _0x56ce15=['imageEditController','plugins','8882125oogxya','387EDQMqd','editor','_isEditable','bind','unbind','7651012kuGimq','set','getSelectedElement','document','1162322ZVYjEV','imageInline','selection','isEnabled','element','3SZpJni','get','5612870wJxheq','refresh','2148236cWUyxB','imageBlock','config','isActive','execute','uploadcare.allowExternalImagesEditing','requires','721264hgFXAZ','3420300Exyzla','model'];_0x3b2a=function(){return _0x56ce15;};return _0x3b2a();}import{createEditabilityChecker as _0x49f0fc}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1d25ef{[_0x1bfe70(0x17d)];static get[_0x1bfe70(0x198)](){return[_0x2f5a33];}[_0x1bfe70(0x182)];constructor(_0xdba725){const _0x3f03a2=_0x1bfe70;super(_0xdba725),this[_0x3f03a2(0x17d)]=void 0x0,this[_0x3f03a2(0x182)]=_0x49f0fc(_0xdba725[_0x3f03a2(0x194)][_0x3f03a2(0x18f)](_0x3f03a2(0x197))||[]),this[_0x3f03a2(0x186)]({'isActive':!0x1});}[_0x1bfe70(0x191)](){const _0x638fa8=_0x1bfe70,_0x2248e5=this[_0x638fa8(0x181)][_0x638fa8(0x19b)][_0x638fa8(0x188)][_0x638fa8(0x18b)][_0x638fa8(0x187)]();this[_0x638fa8(0x18c)]=this[_0x638fa8(0x182)](_0x2248e5);}[_0x1bfe70(0x196)](){const _0x23ff44=_0x1bfe70;this[_0x23ff44(0x17d)]&&(this[_0x23ff44(0x184)](_0x23ff44(0x195)),this[_0x23ff44(0x17d)]=void 0x0);const _0x28eae5=this[_0x23ff44(0x181)][_0x23ff44(0x19b)][_0x23ff44(0x188)][_0x23ff44(0x18b)][_0x23ff44(0x187)]();_0x28eae5&&(_0x28eae5['is'](_0x23ff44(0x18d),_0x23ff44(0x193))||_0x28eae5['is'](_0x23ff44(0x18d),_0x23ff44(0x18a)))&&(this[_0x23ff44(0x17d)]=new _0x26a99f(this[_0x23ff44(0x181)],this[_0x23ff44(0x181)][_0x23ff44(0x17e)][_0x23ff44(0x18f)](_0x2f5a33),_0x28eae5),this[_0x23ff44(0x183)](_0x23ff44(0x195))['to'](this[_0x23ff44(0x17d)],_0x23ff44(0x195)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x112211=_0xcec0;(function(_0x2ece2b,_0x39f7bd){const _0x58fab7=_0xcec0,_0x5a0dc7=_0x2ece2b();while(!![]){try{const _0x5f54c2=-parseInt(_0x58fab7(0x8e))/0x1*(parseInt(_0x58fab7(0x87))/0x2)+parseInt(_0x58fab7(0x7c))/0x3*(-parseInt(_0x58fab7(0x81))/0x4)+-parseInt(_0x58fab7(0x90))/0x5+parseInt(_0x58fab7(0x84))/0x6+-parseInt(_0x58fab7(0x8d))/0x7+parseInt(_0x58fab7(0x89))/0x8+-parseInt(_0x58fab7(0x7e))/0x9*(-parseInt(_0x58fab7(0x7f))/0xa);if(_0x5f54c2===_0x39f7bd)break;else _0x5a0dc7['push'](_0x5a0dc7['shift']());}catch(_0x37a449){_0x5a0dc7['push'](_0x5a0dc7['shift']());}}}(_0x5099,0xecfb5));import{Plugin as _0x4a3cbd}from'ckeditor5/src/core.js';import{Notification as _0x34f02}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29a71f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x51921c}from'./uploadcareimagereplacecommand.js';function _0x5099(){const _0x1ad05a=['30408790uLiUTg','isPremiumPlugin','12084bQLAKI','commands','ImageUtils','1969842PEcEjO','UploadcareImageEditEditing','ImageEditing','2Clvush','uploadcareImageReplace','6315272tnVCMN','requires','pluginName','isOfficialPlugin','6002094DHrowB','417457YwweKJ','init','7102980lQjMxG','uploadcareImageEdit','489HfctEV','add','9gLcKHT'];_0x5099=function(){return _0x1ad05a;};return _0x5099();}import{UploadcareEditing as _0x26c7ae}from'../uploadcareediting.js';function _0xcec0(_0x1611e2,_0x51b647){const _0x509988=_0x5099();return _0xcec0=function(_0xcec0c,_0x147eab){_0xcec0c=_0xcec0c-0x7b;let _0x1e0b88=_0x509988[_0xcec0c];return _0x1e0b88;},_0xcec0(_0x1611e2,_0x51b647);}export class UploadcareImageEditEditing extends _0x4a3cbd{static get[_0x112211(0x8b)](){const _0x3aa72a=_0x112211;return _0x3aa72a(0x85);}static get[_0x112211(0x8a)](){const _0x1f65a3=_0x112211;return[_0x26c7ae,_0x34f02,_0x1f65a3(0x83),_0x1f65a3(0x86)];}static get[_0x112211(0x8c)](){return!0x0;}static get[_0x112211(0x80)](){return!0x0;}[_0x112211(0x8f)](){const _0x37833a=_0x112211,{editor:_0x1704de}=this;_0x1704de[_0x37833a(0x82)][_0x37833a(0x7d)](_0x37833a(0x7b),new _0x29a71f(_0x1704de)),_0x1704de[_0x37833a(0x82)][_0x37833a(0x7d)](_0x37833a(0x88),new _0x51921c(_0x1704de));}}
23
+ const _0x486290=_0x41c7;function _0x41c7(_0x27b561,_0x5649b0){const _0x5ecce9=_0x5ecc();return _0x41c7=function(_0x41c76b,_0x42bb69){_0x41c76b=_0x41c76b-0x1a0;let _0x5a5974=_0x5ecce9[_0x41c76b];return _0x5a5974;},_0x41c7(_0x27b561,_0x5649b0);}(function(_0x22380b,_0x529088){const _0x5e37c4=_0x41c7,_0x5b46c1=_0x22380b();while(!![]){try{const _0x31890c=-parseInt(_0x5e37c4(0x1ac))/0x1+parseInt(_0x5e37c4(0x1a3))/0x2*(-parseInt(_0x5e37c4(0x1a1))/0x3)+-parseInt(_0x5e37c4(0x1aa))/0x4+parseInt(_0x5e37c4(0x1ae))/0x5*(parseInt(_0x5e37c4(0x1ab))/0x6)+parseInt(_0x5e37c4(0x1b0))/0x7*(parseInt(_0x5e37c4(0x1a7))/0x8)+-parseInt(_0x5e37c4(0x1af))/0x9*(-parseInt(_0x5e37c4(0x1a4))/0xa)+-parseInt(_0x5e37c4(0x1a2))/0xb*(-parseInt(_0x5e37c4(0x1b1))/0xc);if(_0x31890c===_0x529088)break;else _0x5b46c1['push'](_0x5b46c1['shift']());}catch(_0x3d6d23){_0x5b46c1['push'](_0x5b46c1['shift']());}}}(_0x5ecc,0xeaacc));import{Plugin as _0x4cebee}from'ckeditor5/src/core.js';import{Notification as _0x5c6e22}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4503dd}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x7dee44}from'./uploadcareimagereplacecommand.js';function _0x5ecc(){const _0x4dd25f=['273320iMgPVx','uploadcareImageEdit','init','8OsHjtT','requires','UploadcareImageEditEditing','6895904MngXRV','194574spdbSN','385939VEvVoq','commands','275RbBHQg','531QcVugU','319697JCaJdf','18408444EYDWqU','add','uploadcareImageReplace','ImageEditing','isOfficialPlugin','ImageUtils','isPremiumPlugin','pluginName','6cVCUBP','11OrUEPJ','1904748oitSsx'];_0x5ecc=function(){return _0x4dd25f;};return _0x5ecc();}import{UploadcareEditing as _0x3c16b5}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4cebee{static get[_0x486290(0x1a0)](){const _0x5db18c=_0x486290;return _0x5db18c(0x1a9);}static get[_0x486290(0x1a8)](){const _0x3dc3e4=_0x486290;return[_0x3c16b5,_0x5c6e22,_0x3dc3e4(0x1b6),_0x3dc3e4(0x1b4)];}static get[_0x486290(0x1b5)](){return!0x0;}static get[_0x486290(0x1b7)](){return!0x0;}[_0x486290(0x1a6)](){const _0x564f81=_0x486290,{editor:_0x486a4e}=this;_0x486a4e[_0x564f81(0x1ad)][_0x564f81(0x1b2)](_0x564f81(0x1a5),new _0x4503dd(_0x486a4e)),_0x486a4e[_0x564f81(0x1ad)][_0x564f81(0x1b2)](_0x564f81(0x1b3),new _0x7dee44(_0x486a4e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x397281}from'ckeditor5/src/core.js';import{ButtonView as _0x58a7ab}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x43436d}from'ckeditor5/src/icons.js';import{createElement as _0x5ef8c8}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 _0x397281{['_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 _0xfe7bd5=this['editor'];_0xfe7bd5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x194f24=>{const _0x2e45ff=_0xfe7bd5['commands']['get']('uploadcareImageEdit'),_0x35eb14=new _0x58a7ab(_0x194f24),t=_0x194f24['t'];return _0x35eb14['set']({'icon':_0x43436d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x35eb14['bind']('isEnabled')['to'](_0x2e45ff),_0x35eb14['bind']('isOn')['to'](_0x2e45ff,'isActive'),this['listenTo'](_0x35eb14,'execute',()=>{_0xfe7bd5['execute']('uploadcareImageEdit'),_0xfe7bd5['editing']['view']['focus']();}),_0x35eb14;}),this['_initConfig']();}['_initConfig'](){const _0xc1a205=_0x5ef8c8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc1a205),this['listenTo'](this['editor'],'destroy',()=>{_0xc1a205['remove']();});}}
23
+ import{Plugin as _0x2b4dcf}from'ckeditor5/src/core.js';import{ButtonView as _0x505bc4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x486f44}from'ckeditor5/src/icons.js';import{createElement as _0x40a04c}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 _0x2b4dcf{['_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 _0x39812d=this['editor'];_0x39812d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5315d5=>{const _0x2433fc=_0x39812d['commands']['get']('uploadcareImageEdit'),_0x3a4a7b=new _0x505bc4(_0x5315d5),t=_0x5315d5['t'];return _0x3a4a7b['set']({'icon':_0x486f44,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a4a7b['bind']('isEnabled')['to'](_0x2433fc),_0x3a4a7b['bind']('isOn')['to'](_0x2433fc,'isActive'),this['listenTo'](_0x3a4a7b,'execute',()=>{_0x39812d['execute']('uploadcareImageEdit'),_0x39812d['editing']['view']['focus']();}),_0x3a4a7b;}),this['_initConfig']();}['_initConfig'](){const _0x226000=_0x40a04c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x226000),this['listenTo'](this['editor'],'destroy',()=>{_0x226000['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3273(_0xd1fddf,_0x5d2f46){const _0x17f29=_0x17f2();return _0x3273=function(_0x32739e,_0xeff405){_0x32739e=_0x32739e-0x1ce;let _0x2f4c6b=_0x17f29[_0x32739e];return _0x2f4c6b;},_0x3273(_0xd1fddf,_0x5d2f46);}const _0x34e964=_0x3273;(function(_0x247564,_0x43566d){const _0x40010b=_0x3273,_0x39337d=_0x247564();while(!![]){try{const _0x41e905=-parseInt(_0x40010b(0x1d6))/0x1*(-parseInt(_0x40010b(0x1e1))/0x2)+parseInt(_0x40010b(0x1e2))/0x3*(parseInt(_0x40010b(0x1d7))/0x4)+parseInt(_0x40010b(0x1d4))/0x5*(-parseInt(_0x40010b(0x1d1))/0x6)+-parseInt(_0x40010b(0x1df))/0x7*(-parseInt(_0x40010b(0x1da))/0x8)+-parseInt(_0x40010b(0x1ce))/0x9+-parseInt(_0x40010b(0x1e3))/0xa+-parseInt(_0x40010b(0x1dc))/0xb;if(_0x41e905===_0x43566d)break;else _0x39337d['push'](_0x39337d['shift']());}catch(_0x43c756){_0x39337d['push'](_0x39337d['shift']());}}}(_0x17f2,0x2f2b1));import{Command as _0x1461b1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1461b1{[_0x34e964(0x1e7)](){const _0x31b23e=_0x34e964,_0x16daa3=this[_0x31b23e(0x1cf)][_0x31b23e(0x1d8)][_0x31b23e(0x1e8)][_0x31b23e(0x1d5)][_0x31b23e(0x1d0)]();this[_0x31b23e(0x1e5)]=Boolean(_0x16daa3&&(_0x16daa3['is'](_0x31b23e(0x1e4),_0x31b23e(0x1dd))||_0x16daa3['is'](_0x31b23e(0x1e4),_0x31b23e(0x1d3))));}[_0x34e964(0x1db)](_0x1f47c9){const _0x2dec54=_0x34e964,_0x42d910=this[_0x2dec54(0x1cf)][_0x2dec54(0x1d8)][_0x2dec54(0x1e8)][_0x2dec54(0x1d5)][_0x2dec54(0x1d0)]();this[_0x2dec54(0x1cf)][_0x2dec54(0x1d8)][_0x2dec54(0x1d2)](_0x4f616a=>{const _0x59f2c3=_0x2dec54;_0x4f616a[_0x59f2c3(0x1d9)](_0x1f47c9,_0x42d910),_0x4f616a[_0x59f2c3(0x1de)](_0x59f2c3(0x1e0),_0x42d910),_0x4f616a[_0x59f2c3(0x1de)](_0x59f2c3(0x1e6),_0x42d910);});}}function _0x17f2(){const _0x5a7cf5=['imageBlock','removeAttribute','35lSYNBv','srcset','390gKZsQC','917337mjfalp','1829090IGRonV','element','isEnabled','sizes','refresh','document','1772514RXFStU','editor','getSelectedElement','18CvaLrd','change','imageInline','437340qgIUVh','selection','1493BymENz','4ZEUtJZ','model','setAttributes','546520NEBiZd','execute','1133319pxeHBP'];_0x17f2=function(){return _0x5a7cf5;};return _0x17f2();}
23
+ function _0x5c79(_0x417dfc,_0x94d026){const _0x4829f5=_0x4829();return _0x5c79=function(_0x5c7918,_0x471a73){_0x5c7918=_0x5c7918-0x190;let _0x43ef42=_0x4829f5[_0x5c7918];return _0x43ef42;},_0x5c79(_0x417dfc,_0x94d026);}const _0x4916a8=_0x5c79;(function(_0x2e65c5,_0x542b07){const _0x3422fd=_0x5c79,_0x508c52=_0x2e65c5();while(!![]){try{const _0x13c664=parseInt(_0x3422fd(0x193))/0x1+parseInt(_0x3422fd(0x190))/0x2*(-parseInt(_0x3422fd(0x194))/0x3)+-parseInt(_0x3422fd(0x1a8))/0x4*(parseInt(_0x3422fd(0x1a7))/0x5)+parseInt(_0x3422fd(0x197))/0x6+-parseInt(_0x3422fd(0x19d))/0x7+parseInt(_0x3422fd(0x1a3))/0x8*(-parseInt(_0x3422fd(0x191))/0x9)+parseInt(_0x3422fd(0x19b))/0xa;if(_0x13c664===_0x542b07)break;else _0x508c52['push'](_0x508c52['shift']());}catch(_0x3dd8ed){_0x508c52['push'](_0x508c52['shift']());}}}(_0x4829,0xaf570));import{Command as _0x351ed0}from'ckeditor5/src/core.js';function _0x4829(){const _0x170776=['removeAttribute','27949770pvPNMv','imageInline','8153138kAHWoA','imageBlock','sizes','document','srcset','setAttributes','12968jwLrwP','selection','model','isEnabled','10XFCasy','1613660PKSEzf','change','2hccagI','5823PvZrwz','editor','170026QhZFvV','351489SBxIQW','getSelectedElement','element','5344218ROpzNz','refresh','execute'];_0x4829=function(){return _0x170776;};return _0x4829();}export class UploadcareImageReplaceCommand extends _0x351ed0{[_0x4916a8(0x198)](){const _0x29afe5=_0x4916a8,_0x5c64b9=this[_0x29afe5(0x192)][_0x29afe5(0x1a5)][_0x29afe5(0x1a0)][_0x29afe5(0x1a4)][_0x29afe5(0x195)]();this[_0x29afe5(0x1a6)]=Boolean(_0x5c64b9&&(_0x5c64b9['is'](_0x29afe5(0x196),_0x29afe5(0x19e))||_0x5c64b9['is'](_0x29afe5(0x196),_0x29afe5(0x19c))));}[_0x4916a8(0x199)](_0x2e942e){const _0x11fa11=_0x4916a8,_0x2169a0=this[_0x11fa11(0x192)][_0x11fa11(0x1a5)][_0x11fa11(0x1a0)][_0x11fa11(0x1a4)][_0x11fa11(0x195)]();this[_0x11fa11(0x192)][_0x11fa11(0x1a5)][_0x11fa11(0x1a9)](_0x5aa0f9=>{const _0x3ce7f8=_0x11fa11;_0x5aa0f9[_0x3ce7f8(0x1a2)](_0x2e942e,_0x2169a0),_0x5aa0f9[_0x3ce7f8(0x19a)](_0x3ce7f8(0x1a1),_0x2169a0),_0x5aa0f9[_0x3ce7f8(0x19a)](_0x3ce7f8(0x19f),_0x2169a0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18785a=_0x5ae6;(function(_0x460319,_0x10772e){var _0x495b2c=_0x5ae6,_0x40c269=_0x460319();while(!![]){try{var _0x48c1f1=parseInt(_0x495b2c(0xf1))/0x1+-parseInt(_0x495b2c(0xf0))/0x2+-parseInt(_0x495b2c(0xf3))/0x3+-parseInt(_0x495b2c(0xec))/0x4+-parseInt(_0x495b2c(0xed))/0x5+parseInt(_0x495b2c(0xeb))/0x6*(-parseInt(_0x495b2c(0xee))/0x7)+parseInt(_0x495b2c(0xef))/0x8*(parseInt(_0x495b2c(0xe9))/0x9);if(_0x48c1f1===_0x10772e)break;else _0x40c269['push'](_0x40c269['shift']());}catch(_0x19a0b6){_0x40c269['push'](_0x40c269['shift']());}}}(_0x341e,0x77a44));function _0x5ae6(_0x49247b,_0x40e855){var _0x341e63=_0x341e();return _0x5ae6=function(_0x5ae6b3,_0x325da1){_0x5ae6b3=_0x5ae6b3-0xe7;var _0x337a4a=_0x341e63[_0x5ae6b3];return _0x337a4a;},_0x5ae6(_0x49247b,_0x40e855);}import{Plugin as _0x201685}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4d6c16}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3ebaea}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x341e(){var _0x4bc126=['requires','624kALcbQ','2691044KpwTnH','798310NCvJCf','2947QBfZiP','21344XwZWfE','1039908dJtIVy','932765VCQUhj','isOfficialPlugin','2134152FYqFqo','pluginName','UploadcareImageEdit','isPremiumPlugin','5616ffjMjo'];_0x341e=function(){return _0x4bc126;};return _0x341e();}export class UploadcareImageEdit extends _0x201685{static get[_0x18785a(0xf4)](){var _0x189656=_0x18785a;return _0x189656(0xe7);}static get[_0x18785a(0xea)](){return[_0x4d6c16,_0x3ebaea];}static get[_0x18785a(0xf2)](){return!0x0;}static get[_0x18785a(0xe8)](){return!0x0;}}
23
+ var _0x34f743=_0x3d4f;(function(_0x40ca6d,_0x5bd7ea){var _0x1a9ac9=_0x3d4f,_0xe48c31=_0x40ca6d();while(!![]){try{var _0x59df7a=-parseInt(_0x1a9ac9(0x93))/0x1+parseInt(_0x1a9ac9(0x8d))/0x2+-parseInt(_0x1a9ac9(0x95))/0x3*(parseInt(_0x1a9ac9(0x92))/0x4)+-parseInt(_0x1a9ac9(0x87))/0x5+parseInt(_0x1a9ac9(0x94))/0x6*(-parseInt(_0x1a9ac9(0x8b))/0x7)+parseInt(_0x1a9ac9(0x90))/0x8*(-parseInt(_0x1a9ac9(0x8e))/0x9)+parseInt(_0x1a9ac9(0x8a))/0xa;if(_0x59df7a===_0x5bd7ea)break;else _0xe48c31['push'](_0xe48c31['shift']());}catch(_0x4e4e39){_0xe48c31['push'](_0xe48c31['shift']());}}}(_0x2a11,0x30b5f));function _0x3d4f(_0x289485,_0x48caba){var _0x2a119b=_0x2a11();return _0x3d4f=function(_0x3d4fb4,_0x179a50){_0x3d4fb4=_0x3d4fb4-0x87;var _0x320410=_0x2a119b[_0x3d4fb4];return _0x320410;},_0x3d4f(_0x289485,_0x48caba);}import{Plugin as _0x932a5c}from'ckeditor5/src/core.js';function _0x2a11(){var _0x10dbf1=['45FHMDiI','pluginName','339256bBibEh','requires','4516GuFxjt','147092nKTjyv','6852qEMVur','531XCzcNE','1395520UAYcQj','isOfficialPlugin','isPremiumPlugin','9008200NzrIPB','469GDDGur','UploadcareImageEdit','426554IWmCmW'];_0x2a11=function(){return _0x10dbf1;};return _0x2a11();}import{UploadcareImageEditEditing as _0x28c0a9}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x8066ac}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x932a5c{static get[_0x34f743(0x8f)](){var _0x55c802=_0x34f743;return _0x55c802(0x8c);}static get[_0x34f743(0x91)](){return[_0x28c0a9,_0x8066ac];}static get[_0x34f743(0x88)](){return!0x0;}static get[_0x34f743(0x89)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d9838=_0x5688;(function(_0x536ab0,_0x6acf9a){const _0x2692c9=_0x5688,_0x1e091f=_0x536ab0();while(!![]){try{const _0x4200c7=-parseInt(_0x2692c9(0x152))/0x1*(parseInt(_0x2692c9(0x189))/0x2)+-parseInt(_0x2692c9(0x14e))/0x3+parseInt(_0x2692c9(0x176))/0x4+parseInt(_0x2692c9(0x188))/0x5*(parseInt(_0x2692c9(0x17d))/0x6)+parseInt(_0x2692c9(0x179))/0x7+parseInt(_0x2692c9(0x13d))/0x8+parseInt(_0x2692c9(0x14c))/0x9*(-parseInt(_0x2692c9(0x14a))/0xa);if(_0x4200c7===_0x6acf9a)break;else _0x1e091f['push'](_0x1e091f['shift']());}catch(_0xd65cf1){_0x1e091f['push'](_0x1e091f['shift']());}}}(_0x4ddb,0x887ad));import{Plugin as _0x264d0f}from'ckeditor5/src/core.js';function _0x5688(_0xef3926,_0x5f3d71){const _0x4ddb30=_0x4ddb();return _0x5688=function(_0x5688c9,_0x5f2b85){_0x5688c9=_0x5688c9-0x13a;let _0xb47546=_0x4ddb30[_0x5688c9];return _0xb47546;},_0x5688(_0xef3926,_0x5f3d71);}import{IconDropbox as _0x4b3e86,IconFacebook as _0x5f41bc,IconGoogleDrive as _0x221e47,IconGooglePhotos as _0x5e638a,IconUploadcareImageUpload as _0x48f211,IconUploadcareLink as _0x2d852e,IconOneDrive as _0x1c46e1}from'ckeditor5/src/icons.js';import{ButtonView as _0x2bea8d,MenuBarMenuListItemButtonView as _0x213562}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x316fef}from'./uploadcareconfig.js';import{getTranslation as _0x76c310}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x4ddb(){const _0x477183=['get','uploadcareLicenseKeyEvaluationLimit','execute','isImageSelected','uploadcareLicenseKeyExpired','isPremiumPlugin','uploadcareLicenseKeyUsageLimit','label','Facebook','Dropbox','_normalizeConfigSourceList','icon','forEach','Replace','invalid','shortText','type','bind','entries','push','destroy','Insert','assetManager','licenseKey','isOfficialPlugin','map','text','URL','GPhotos','plugins','url','1887252UhcCCo','pluginName','_createToolbarButton','4251275JpUiCB','featureNotAllowed','tooltip','_createButton','30YYUUWx','_licenseKeyCheckInterval','_showLicenseError','uploadcareLicenseKeyInvalid','_createDropdownButtons','reduce','GDrive','config','trialLimit','uploadcareLicenseKeyNotAllowed','Uploadcare','294325rcEmeG','17740JbYmDt','usageLimit','afterInit','uploadcareLicenseKeyDomainLimit','domainLimit','4804664HTpqEx','uploadcareLicenseKeyValid','init','registerIntegration','commands','uploadcareLicenseKeyTrialLimit','_getIntegrationKey','uploadcare.uploader.sourceList','evaluationLimit','ImageInsertUI','isEnabled','editor','expired','280190FQlrGC','locale','99aHNakq','OneDrive','2974518LasLaW','_createMenuBarButtons','withText','has','13hdThgd','uploadcare','Local','UploadcareUI','upload'];_0x4ddb=function(){return _0x477183;};return _0x4ddb();}export class UploadcareUI extends _0x264d0f{[_0x5d9838(0x16e)];[_0x5d9838(0x17e)];static get[_0x5d9838(0x177)](){const _0x419b4f=_0x5d9838;return _0x419b4f(0x155);}static get[_0x5d9838(0x16f)](){return!0x0;}static get[_0x5d9838(0x15c)](){return!0x0;}[_0x5d9838(0x13f)](){const _0xe51db8=_0x5d9838;this[_0xe51db8(0x16e)]=this[_0xe51db8(0x148)][_0xe51db8(0x184)][_0xe51db8(0x157)](_0xe51db8(0x16e));const _0x29083e=this[_0xe51db8(0x148)];this[_0xe51db8(0x17e)]=setInterval(()=>{const _0x58b093=_0xe51db8;let _0x77dfac;for(const _0x293d18 in _0x29083e){const _0x393412=_0x293d18,_0x94e7b2=_0x29083e[_0x393412];if(_0x58b093(0x13e)==_0x94e7b2||_0x58b093(0x180)==_0x94e7b2||_0x58b093(0x15b)==_0x94e7b2||_0x58b093(0x13b)==_0x94e7b2||_0x58b093(0x186)==_0x94e7b2||_0x58b093(0x158)==_0x94e7b2||_0x58b093(0x142)==_0x94e7b2||_0x58b093(0x15d)==_0x94e7b2){delete _0x29083e[_0x393412],_0x77dfac=_0x94e7b2,clearInterval(this[_0x58b093(0x17e)]),this[_0x58b093(0x17e)]=void 0x0;break;}}_0x58b093(0x180)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x165)),_0x58b093(0x15b)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x149)),_0x58b093(0x13b)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x13c)),_0x58b093(0x186)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x17a),_0x58b093(0x187)),_0x58b093(0x158)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x145)),_0x58b093(0x142)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x185)),_0x58b093(0x15d)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x18a));},0x3e8);}[_0x5d9838(0x13a)](){const _0x30c950=_0x5d9838,{editor:_0x560d45}=this,_0xa52d3c=_0x560d45[_0x30c950(0x141)][_0x30c950(0x157)](_0x30c950(0x153));if(!_0xa52d3c)return;const _0x25752=this[_0x30c950(0x161)](_0x560d45[_0x30c950(0x184)][_0x30c950(0x157)](_0x30c950(0x144)))[_0x30c950(0x182)]((_0x3e6553,_0x312186)=>{const _0x8b73e=_0x30c950,_0x3e42f0=this[_0x8b73e(0x143)](_0x312186[_0x8b73e(0x167)]);return _0x3e6553[_0x3e42f0]||(_0x3e6553[_0x3e42f0]=[]),_0x3e6553[_0x3e42f0][_0x8b73e(0x16a)](_0x312186),_0x3e6553;},{});_0x560d45[_0x30c950(0x174)][_0x30c950(0x151)](_0x30c950(0x146))&&_0x560d45[_0x30c950(0x141)][_0x30c950(0x157)](_0x30c950(0x153))&&Object[_0x30c950(0x169)](_0x25752)[_0x30c950(0x163)](([_0x29ef87,_0x1c95df])=>{const _0x974d49=_0x30c950;_0x560d45[_0x974d49(0x174)][_0x974d49(0x157)](_0x974d49(0x146))[_0x974d49(0x140)]({'name':_0x29ef87,'observable':()=>_0xa52d3c,'buttonViewCreator':()=>this[_0x974d49(0x178)](_0x1c95df),'formViewCreator':()=>this[_0x974d49(0x181)](_0x1c95df),'menuBarButtonViewCreator':()=>this[_0x974d49(0x14f)](_0x1c95df),'override':_0x974d49(0x16d)!==_0x29ef87});});}[_0x5d9838(0x16b)](){const _0x431242=_0x5d9838;super[_0x431242(0x16b)](),this[_0x431242(0x17e)]&&clearInterval(this[_0x431242(0x17e)]);}[_0x5d9838(0x161)](_0x3634a0){const _0x142b70=_0x5d9838,{locale:_0x3f4cb5}=this[_0x142b70(0x148)];return _0x3634a0[_0x142b70(0x170)](_0x3e030f=>{const _0x5e71a9=_0x142b70,_0x1ffcb2=_0x76c310(_0x3f4cb5,_0x3e030f,_0x5e71a9(0x16c));switch(_0x3e030f){case _0x316fef[_0x5e71a9(0x154)]:return{'icon':_0x48f211,'type':_0x316fef[_0x5e71a9(0x154)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x172)]:return{'icon':_0x2d852e,'type':_0x316fef[_0x5e71a9(0x172)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x160)]:return{'icon':_0x4b3e86,'type':_0x316fef[_0x5e71a9(0x160)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x15f)]:return{'icon':_0x5f41bc,'type':_0x316fef[_0x5e71a9(0x15f)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x183)]:return{'icon':_0x221e47,'type':_0x316fef[_0x5e71a9(0x183)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x173)]:return{'icon':_0x5e638a,'type':_0x316fef[_0x5e71a9(0x173)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x14d)]:return{'icon':_0x1c46e1,'type':_0x316fef[_0x5e71a9(0x14d)],..._0x1ffcb2};}});}[_0x5d9838(0x143)](_0x4cca6b){const _0x4d0b38=_0x5d9838;switch(_0x4cca6b){case _0x316fef[_0x4d0b38(0x154)]:return _0x4d0b38(0x156);case _0x316fef[_0x4d0b38(0x172)]:return _0x4d0b38(0x175);default:return _0x4d0b38(0x16d);}}[_0x5d9838(0x17c)](_0x40bda4,_0x764f05){const _0x51d4b3=_0x5d9838,_0x5d338=this[_0x51d4b3(0x148)],_0x2dd252=new _0x40bda4(_0x5d338[_0x51d4b3(0x14b)]),_0x448606=_0x5d338[_0x51d4b3(0x141)][_0x51d4b3(0x157)](_0x51d4b3(0x153));return _0x2dd252[_0x51d4b3(0x168)](_0x51d4b3(0x147))['to'](_0x448606),_0x2dd252['on'](_0x51d4b3(0x159),()=>{const _0x39e79c=_0x51d4b3;_0x448606[_0x39e79c(0x159)](_0x764f05);}),_0x2dd252;}[_0x5d9838(0x178)](_0x178073){const _0x1f8520=_0x5d9838,{locale:_0x60fc7b}=this[_0x1f8520(0x148)],_0x217662=this[_0x1f8520(0x148)][_0x1f8520(0x174)][_0x1f8520(0x157)](_0x1f8520(0x146)),_0x2788f1=_0x178073[0x0],_0x3ec310=this[_0x1f8520(0x17c)](_0x2bea8d,_0x2788f1[_0x1f8520(0x167)]);return _0x3ec310[_0x1f8520(0x162)]=_0x2788f1[_0x1f8520(0x162)],_0x3ec310[_0x1f8520(0x168)](_0x1f8520(0x15e))['to'](_0x217662,_0x1f8520(0x15a),_0x56decf=>_0x76c310(_0x60fc7b,_0x2788f1[_0x1f8520(0x167)],_0x56decf?_0x1f8520(0x164):_0x1f8520(0x16c))[_0x1f8520(0x171)]),_0x3ec310[_0x1f8520(0x17b)]=!0x0,_0x3ec310;}[_0x5d9838(0x181)](_0x19eef5){const _0xa4d64=_0x5d9838,{locale:_0x1e1c3e}=this[_0xa4d64(0x148)],_0x437db5=this[_0xa4d64(0x148)][_0xa4d64(0x174)][_0xa4d64(0x157)](_0xa4d64(0x146));return _0x19eef5[_0xa4d64(0x170)](_0x4f614d=>{const _0x11fc4a=_0xa4d64,_0xc0592d=this[_0x11fc4a(0x17c)](_0x2bea8d,_0x4f614d[_0x11fc4a(0x167)]);return _0xc0592d[_0x11fc4a(0x150)]=!0x0,_0xc0592d[_0x11fc4a(0x162)]=_0x4f614d[_0x11fc4a(0x162)],_0xc0592d[_0x11fc4a(0x168)](_0x11fc4a(0x15e))['to'](_0x437db5,_0x11fc4a(0x15a),_0x13b616=>_0x76c310(_0x1e1c3e,_0x4f614d[_0x11fc4a(0x167)],_0x13b616?_0x11fc4a(0x164):_0x11fc4a(0x16c))[_0x11fc4a(0x171)]),_0xc0592d;});}[_0x5d9838(0x14f)](_0xced27){const _0x428931=_0x5d9838;return _0xced27[_0x428931(0x170)](_0xa8f831=>{const _0x54fcc3=_0x428931,_0x20de76=this[_0x54fcc3(0x17c)](_0x213562,_0xa8f831[_0x54fcc3(0x167)]);return _0x20de76[_0x54fcc3(0x162)]=_0xa8f831[_0x54fcc3(0x162)],_0x20de76[_0x54fcc3(0x15e)]=_0xa8f831[_0x54fcc3(0x166)],_0x20de76;});}}
23
+ const _0x457d9e=_0x598c;(function(_0x4f4bcc,_0x124648){const _0x20c2d2=_0x598c,_0x295e36=_0x4f4bcc();while(!![]){try{const _0x2d73b0=-parseInt(_0x20c2d2(0x15e))/0x1*(-parseInt(_0x20c2d2(0x154))/0x2)+-parseInt(_0x20c2d2(0x153))/0x3*(-parseInt(_0x20c2d2(0x13e))/0x4)+-parseInt(_0x20c2d2(0x15a))/0x5+-parseInt(_0x20c2d2(0x16f))/0x6+-parseInt(_0x20c2d2(0x164))/0x7*(-parseInt(_0x20c2d2(0x16d))/0x8)+-parseInt(_0x20c2d2(0x187))/0x9*(parseInt(_0x20c2d2(0x144))/0xa)+-parseInt(_0x20c2d2(0x139))/0xb*(-parseInt(_0x20c2d2(0x146))/0xc);if(_0x2d73b0===_0x124648)break;else _0x295e36['push'](_0x295e36['shift']());}catch(_0x1d0e9f){_0x295e36['push'](_0x295e36['shift']());}}}(_0x3cd0,0x59943));import{Plugin as _0x4b07bf}from'ckeditor5/src/core.js';import{IconDropbox as _0x13e542,IconFacebook as _0x39bd63,IconGoogleDrive as _0x3c6da3,IconGooglePhotos as _0x285dc3,IconUploadcareImageUpload as _0x34edaf,IconUploadcareLink as _0x37b08f,IconOneDrive as _0x54f2ff}from'ckeditor5/src/icons.js';import{ButtonView as _0x1634c5,MenuBarMenuListItemButtonView as _0x40240b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x541893}from'./uploadcareconfig.js';import{getTranslation as _0x586e1e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3cd0(){const _0x3dd249=['label','_createDropdownButtons','destroy','domainLimit','licenseKey','map','usageLimit','init','editor','uploadcareLicenseKeyDomainLimit','GDrive','has','expired','type','plugins','uploadcareLicenseKeyNotAllowed','_showLicenseError','_createMenuBarButtons','bind','uploadcareLicenseKeyInvalid','isOfficialPlugin','reduce','uploadcareLicenseKeyTrialLimit','9LzXnWL','UploadcareUI','uploadcareLicenseKeyEvaluationLimit','withText','shortText','11XFCkbt','evaluationLimit','upload','uploadcareLicenseKeyUsageLimit','featureNotAllowed','648HFRfsN','afterInit','OneDrive','registerIntegration','execute','locale','1795550qZJYYL','invalid','10752348dmoBuX','push','uploadcareLicenseKeyExpired','tooltip','text','Replace','_licenseKeyCheckInterval','pluginName','commands','uploadcare.uploader.sourceList','_createButton','uploadcare','Insert','5496GgOEBi','2894UbmgNF','isPremiumPlugin','Facebook','uploadcareLicenseKeyValid','_getIntegrationKey','assetManager','3331530ieiLGM','config','GPhotos','isImageSelected','41ZZPKRf','_createToolbarButton','isEnabled','ImageInsertUI','URL','trialLimit','852943RVDkEO','icon','Dropbox','Uploadcare','entries','Local','get','forEach','url','24iNkGcE','_normalizeConfigSourceList','2429466mevdPP'];_0x3cd0=function(){return _0x3dd249;};return _0x3cd0();}import'../theme/uploadcare-theme.css';function _0x598c(_0x4cb1ad,_0xb70380){const _0x3cd048=_0x3cd0();return _0x598c=function(_0x598ca9,_0x323f27){_0x598ca9=_0x598ca9-0x136;let _0x2271f1=_0x3cd048[_0x598ca9];return _0x2271f1;},_0x598c(_0x4cb1ad,_0xb70380);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4b07bf{[_0x457d9e(0x174)];[_0x457d9e(0x14c)];static get[_0x457d9e(0x14d)](){const _0x583268=_0x457d9e;return _0x583268(0x188);}static get[_0x457d9e(0x184)](){return!0x0;}static get[_0x457d9e(0x155)](){return!0x0;}[_0x457d9e(0x177)](){const _0x457967=_0x457d9e;this[_0x457967(0x174)]=this[_0x457967(0x178)][_0x457967(0x15b)][_0x457967(0x16a)](_0x457967(0x174));const _0x80d751=this[_0x457967(0x178)];this[_0x457967(0x14c)]=setInterval(()=>{const _0x576d0e=_0x457967;let _0x5005aa;for(const _0x2abdb5 in _0x80d751){const _0x35fabb=_0x2abdb5,_0x4b89d8=_0x80d751[_0x35fabb];if(_0x576d0e(0x157)==_0x4b89d8||_0x576d0e(0x183)==_0x4b89d8||_0x576d0e(0x148)==_0x4b89d8||_0x576d0e(0x179)==_0x4b89d8||_0x576d0e(0x17f)==_0x4b89d8||_0x576d0e(0x136)==_0x4b89d8||_0x576d0e(0x186)==_0x4b89d8||_0x576d0e(0x13c)==_0x4b89d8){delete _0x80d751[_0x35fabb],_0x5005aa=_0x4b89d8,clearInterval(this[_0x576d0e(0x14c)]),this[_0x576d0e(0x14c)]=void 0x0;break;}}_0x576d0e(0x183)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x145)),_0x576d0e(0x148)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x17c)),_0x576d0e(0x179)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x173)),_0x576d0e(0x17f)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x13d),_0x576d0e(0x167)),_0x576d0e(0x136)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x13a)),_0x576d0e(0x186)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x163)),_0x576d0e(0x13c)==_0x5005aa&&_0x80d751[_0x576d0e(0x180)](_0x576d0e(0x176));},0x3e8);}[_0x457d9e(0x13f)](){const _0x5bcfb9=_0x457d9e,{editor:_0x4606f0}=this,_0x4083c8=_0x4606f0[_0x5bcfb9(0x14e)][_0x5bcfb9(0x16a)](_0x5bcfb9(0x151));if(!_0x4083c8)return;const _0x29976c=this[_0x5bcfb9(0x16e)](_0x4606f0[_0x5bcfb9(0x15b)][_0x5bcfb9(0x16a)](_0x5bcfb9(0x14f)))[_0x5bcfb9(0x185)]((_0x5ec0de,_0x1849fd)=>{const _0x546ff9=_0x5bcfb9,_0x22cc0f=this[_0x546ff9(0x158)](_0x1849fd[_0x546ff9(0x17d)]);return _0x5ec0de[_0x22cc0f]||(_0x5ec0de[_0x22cc0f]=[]),_0x5ec0de[_0x22cc0f][_0x546ff9(0x147)](_0x1849fd),_0x5ec0de;},{});_0x4606f0[_0x5bcfb9(0x17e)][_0x5bcfb9(0x17b)](_0x5bcfb9(0x161))&&_0x4606f0[_0x5bcfb9(0x14e)][_0x5bcfb9(0x16a)](_0x5bcfb9(0x151))&&Object[_0x5bcfb9(0x168)](_0x29976c)[_0x5bcfb9(0x16b)](([_0x235bd4,_0x4f7a63])=>{const _0x3bf2d6=_0x5bcfb9;_0x4606f0[_0x3bf2d6(0x17e)][_0x3bf2d6(0x16a)](_0x3bf2d6(0x161))[_0x3bf2d6(0x141)]({'name':_0x235bd4,'observable':()=>_0x4083c8,'buttonViewCreator':()=>this[_0x3bf2d6(0x15f)](_0x4f7a63),'formViewCreator':()=>this[_0x3bf2d6(0x171)](_0x4f7a63),'menuBarButtonViewCreator':()=>this[_0x3bf2d6(0x181)](_0x4f7a63),'override':_0x3bf2d6(0x159)!==_0x235bd4});});}[_0x457d9e(0x172)](){const _0x562012=_0x457d9e;super[_0x562012(0x172)](),this[_0x562012(0x14c)]&&clearInterval(this[_0x562012(0x14c)]);}[_0x457d9e(0x16e)](_0x5297c8){const _0xf5bb27=_0x457d9e,{locale:_0x49a097}=this[_0xf5bb27(0x178)];return _0x5297c8[_0xf5bb27(0x175)](_0x106036=>{const _0x168311=_0xf5bb27,_0x315609=_0x586e1e(_0x49a097,_0x106036,_0x168311(0x152));switch(_0x106036){case _0x541893[_0x168311(0x169)]:return{'icon':_0x34edaf,'type':_0x541893[_0x168311(0x169)],..._0x315609};case _0x541893[_0x168311(0x162)]:return{'icon':_0x37b08f,'type':_0x541893[_0x168311(0x162)],..._0x315609};case _0x541893[_0x168311(0x166)]:return{'icon':_0x13e542,'type':_0x541893[_0x168311(0x166)],..._0x315609};case _0x541893[_0x168311(0x156)]:return{'icon':_0x39bd63,'type':_0x541893[_0x168311(0x156)],..._0x315609};case _0x541893[_0x168311(0x17a)]:return{'icon':_0x3c6da3,'type':_0x541893[_0x168311(0x17a)],..._0x315609};case _0x541893[_0x168311(0x15c)]:return{'icon':_0x285dc3,'type':_0x541893[_0x168311(0x15c)],..._0x315609};case _0x541893[_0x168311(0x140)]:return{'icon':_0x54f2ff,'type':_0x541893[_0x168311(0x140)],..._0x315609};}});}[_0x457d9e(0x158)](_0x42ad0d){const _0x1c92ca=_0x457d9e;switch(_0x42ad0d){case _0x541893[_0x1c92ca(0x169)]:return _0x1c92ca(0x13b);case _0x541893[_0x1c92ca(0x162)]:return _0x1c92ca(0x16c);default:return _0x1c92ca(0x159);}}[_0x457d9e(0x150)](_0x1e528b,_0x6acc24){const _0x51123b=_0x457d9e,_0x327747=this[_0x51123b(0x178)],_0x552f59=new _0x1e528b(_0x327747[_0x51123b(0x143)]),_0x135c76=_0x327747[_0x51123b(0x14e)][_0x51123b(0x16a)](_0x51123b(0x151));return _0x552f59[_0x51123b(0x182)](_0x51123b(0x160))['to'](_0x135c76),_0x552f59['on'](_0x51123b(0x142),()=>{const _0x3d2b28=_0x51123b;_0x135c76[_0x3d2b28(0x142)](_0x6acc24);}),_0x552f59;}[_0x457d9e(0x15f)](_0x2c8cea){const _0x511433=_0x457d9e,{locale:_0x158dff}=this[_0x511433(0x178)],_0x5a23a0=this[_0x511433(0x178)][_0x511433(0x17e)][_0x511433(0x16a)](_0x511433(0x161)),_0x49159d=_0x2c8cea[0x0],_0x2b39b6=this[_0x511433(0x150)](_0x1634c5,_0x49159d[_0x511433(0x17d)]);return _0x2b39b6[_0x511433(0x165)]=_0x49159d[_0x511433(0x165)],_0x2b39b6[_0x511433(0x182)](_0x511433(0x170))['to'](_0x5a23a0,_0x511433(0x15d),_0x44dab4=>_0x586e1e(_0x158dff,_0x49159d[_0x511433(0x17d)],_0x44dab4?_0x511433(0x14b):_0x511433(0x152))[_0x511433(0x14a)]),_0x2b39b6[_0x511433(0x149)]=!0x0,_0x2b39b6;}[_0x457d9e(0x171)](_0x420089){const _0x1e4e46=_0x457d9e,{locale:_0x4e7c04}=this[_0x1e4e46(0x178)],_0x44df12=this[_0x1e4e46(0x178)][_0x1e4e46(0x17e)][_0x1e4e46(0x16a)](_0x1e4e46(0x161));return _0x420089[_0x1e4e46(0x175)](_0x41026c=>{const _0x392aba=_0x1e4e46,_0xf72c44=this[_0x392aba(0x150)](_0x1634c5,_0x41026c[_0x392aba(0x17d)]);return _0xf72c44[_0x392aba(0x137)]=!0x0,_0xf72c44[_0x392aba(0x165)]=_0x41026c[_0x392aba(0x165)],_0xf72c44[_0x392aba(0x182)](_0x392aba(0x170))['to'](_0x44df12,_0x392aba(0x15d),_0xd27dad=>_0x586e1e(_0x4e7c04,_0x41026c[_0x392aba(0x17d)],_0xd27dad?_0x392aba(0x14b):_0x392aba(0x152))[_0x392aba(0x14a)]),_0xf72c44;});}[_0x457d9e(0x181)](_0x57c8ef){const _0x36d84c=_0x457d9e;return _0x57c8ef[_0x36d84c(0x175)](_0x52052e=>{const _0x5541cd=_0x36d84c,_0x528fae=this[_0x5541cd(0x150)](_0x40240b,_0x52052e[_0x5541cd(0x17d)]);return _0x528fae[_0x5541cd(0x165)]=_0x52052e[_0x5541cd(0x165)],_0x528fae[_0x5541cd(0x170)]=_0x52052e[_0x5541cd(0x138)],_0x528fae;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x57b073}from'ckeditor5/src/core.js';import{FileRepository as _0x5ba27b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x13ad0e}from'./uploadcareediting.js';import{UploadUtils as _0x56d101}from'./utils/uploadutils.js';import{getImageUrls as _0x1b157a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x57b073{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5ba27b,_0x13ad0e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3fa35e=this['editor'];if(!!!_0x3fa35e['config']['get']('uploadcare'))return;_0x3fa35e['plugins']['get'](_0x5ba27b)['createUploadAdapter']=_0x176afa=>new k(_0x176afa,_0x3fa35e),_0x3fa35e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4f408d,{imageElement:_0x43c05e,data:_0x15bae3})=>{_0x3fa35e['model']['change'](_0x31afc7=>{_0x31afc7['setAttribute']('uploadcareImageId',_0x15bae3['uploadcareImageId'],_0x43c05e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x256b43,_0x5a2b96){this['loader']=_0x256b43,this['editor']=_0x5a2b96,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x17c1c1=await this['loader']['file'];return _0x56d101['upload']({'file':_0x17c1c1,'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':_0x5be7b=>{_0x5be7b&&_0x5be7b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5be7b['value']);}})['then'](async _0x2369ed=>{const {imageFallbackUrl:_0x33f9db,imageSources:_0x1e4073}=_0x1b157a(_0x2369ed['cdnUrl'],_0x2369ed['imageInfo']['width']);return{'uploadcareImageId':_0x2369ed['uuid'],'default':_0x33f9db,'sources':_0x1e4073};})['catch'](()=>{const _0x2b0517=t('Cannot\x20upload\x20file:')+('\x20'+_0x17c1c1['name']+'.');return Promise['reject'](_0x2b0517);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x34302a}from'ckeditor5/src/core.js';import{FileRepository as _0x550ebd}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e013a}from'./uploadcareediting.js';import{UploadUtils as _0x2a7a55}from'./utils/uploadutils.js';import{getImageUrls as _0x23fdac}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x34302a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x550ebd,_0x1e013a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3165df=this['editor'];if(!!!_0x3165df['config']['get']('uploadcare'))return;_0x3165df['plugins']['get'](_0x550ebd)['createUploadAdapter']=_0x2e7cfd=>new k(_0x2e7cfd,_0x3165df),_0x3165df['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x9e7a9b,{imageElement:_0x44bc8c,data:_0x3dde9e})=>{_0x3165df['model']['change'](_0x16595c=>{_0x16595c['setAttribute']('uploadcareImageId',_0x3dde9e['uploadcareImageId'],_0x44bc8c);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x531848,_0x4152a6){this['loader']=_0x531848,this['editor']=_0x4152a6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x28dc48=await this['loader']['file'];return _0x2a7a55['upload']({'file':_0x28dc48,'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':_0x4a251f=>{_0x4a251f&&_0x4a251f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4a251f['value']);}})['then'](async _0x312ba7=>{const {imageFallbackUrl:_0x4578f4,imageSources:_0x13be48}=_0x23fdac(_0x312ba7['cdnUrl'],_0x312ba7['imageInfo']['width']);return{'uploadcareImageId':_0x312ba7['uuid'],'default':_0x4578f4,'sources':_0x13be48};})['catch'](()=>{const _0x3be83d=t('Cannot\x20upload\x20file:')+('\x20'+_0x28dc48['name']+'.');return Promise['reject'](_0x3be83d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5d53fd}from'../uploadcareconfig.js';export function getTranslation(_0x38d882,_0x27cd0d,_0x1b9478){const t=_0x38d882['t'],_0x3c6003=_0x38d882['t'];switch(_0x27cd0d){case _0x5d53fd['Local']:return{'text':_0x3c6003('Insert'===_0x1b9478?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3c6003('From\x20computer')};case _0x5d53fd['URL']:return{'text':'Insert'===_0x1b9478?_0x3c6003('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3c6003('Via\x20URL')};case _0x5d53fd['Dropbox']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d53fd['Facebook']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d53fd['GDrive']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d53fd['GPhotos']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d53fd['OneDrive']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27cd0d;}}
23
+ import{UploadcareSource as _0x665995}from'../uploadcareconfig.js';export function getTranslation(_0x3f1e51,_0xfcfe97,_0x4f0096){const t=_0x3f1e51['t'],_0x4f9494=_0x3f1e51['t'];switch(_0xfcfe97){case _0x665995['Local']:return{'text':_0x4f9494('Insert'===_0x4f0096?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f9494('From\x20computer')};case _0x665995['URL']:return{'text':'Insert'===_0x4f0096?_0x4f9494('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f9494('Via\x20URL')};case _0x665995['Dropbox']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x665995['Facebook']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x665995['GDrive']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x665995['GPhotos']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x665995['OneDrive']:return{'text':t('Insert'===_0x4f0096?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xfcfe97;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x197aae=_0x3cf1;(function(_0x62d751,_0x405cac){var _0x47c538=_0x3cf1,_0x595f19=_0x62d751();while(!![]){try{var _0x3eef24=parseInt(_0x47c538(0x1a1))/0x1+parseInt(_0x47c538(0x192))/0x2*(parseInt(_0x47c538(0x19e))/0x3)+-parseInt(_0x47c538(0x19b))/0x4*(parseInt(_0x47c538(0x193))/0x5)+parseInt(_0x47c538(0x19f))/0x6*(-parseInt(_0x47c538(0x194))/0x7)+-parseInt(_0x47c538(0x1a0))/0x8+parseInt(_0x47c538(0x190))/0x9*(parseInt(_0x47c538(0x195))/0xa)+-parseInt(_0x47c538(0x18f))/0xb*(-parseInt(_0x47c538(0x19c))/0xc);if(_0x3eef24===_0x405cac)break;else _0x595f19['push'](_0x595f19['shift']());}catch(_0x5bebb3){_0x595f19['push'](_0x595f19['shift']());}}}(_0x8e6f,0xcbda6));import{FocusTracker as _0x4d322f}from'ckeditor5/src/utils.js';import{View as _0x20ef93,FocusCycler as _0x4744da}from'ckeditor5/src/ui.js';function _0x3cf1(_0x117074,_0x223e49){var _0x8e6f31=_0x8e6f();return _0x3cf1=function(_0x3cf1f3,_0x15a11d){_0x3cf1f3=_0x3cf1f3-0x18e;var _0x1dfa8a=_0x8e6f31[_0x3cf1f3];return _0x1dfa8a;},_0x3cf1(_0x117074,_0x223e49);}import'../../theme/uploadcare-form.css';function _0x8e6f(){var _0x299aa0=['focusTracker','bindTemplate','12kTdWrz','108YQDTlX','createCollection','40422cqMRgN','12ubcSVe','3757192lsUzeE','1307693TOXNte','getFocusableElement','focusCycler','154935zMazKZ','9bvjTMY','forwardCycle','8AHMLxf','1529210BWBCBT','1255149tmiLag','10924170XYKRYJ','fire','true','div'];_0x8e6f=function(){return _0x299aa0;};return _0x8e6f();}export class DialogFocusManagerView extends _0x20ef93{[_0x197aae(0x199)];[_0x197aae(0x18e)];constructor(_0x5ae517){var _0x5ce407=_0x197aae;super(_0x5ae517),this[_0x5ce407(0x199)]=new _0x4d322f(),this[_0x5ce407(0x18e)]=new _0x4744da({'focusables':this[_0x5ce407(0x19d)](),'focusTracker':this[_0x5ce407(0x199)]});}[_0x197aae(0x1a2)](){var _0x2827a8=_0x197aae;return{'tag':_0x2827a8(0x198),'attributes':{'aria-hidden':_0x2827a8(0x197),'tabindex':'0'},'on':{'focus':this[_0x2827a8(0x19a)]['to'](()=>{var _0x3e9629=_0x2827a8;this[_0x3e9629(0x18e)][_0x3e9629(0x196)](_0x3e9629(0x191));})}};}}
23
+ var _0x5b2b78=_0x47ba;(function(_0x27b877,_0x50e137){var _0x58e04f=_0x47ba,_0x54007b=_0x27b877();while(!![]){try{var _0x16ac0c=parseInt(_0x58e04f(0x7d))/0x1*(-parseInt(_0x58e04f(0x80))/0x2)+parseInt(_0x58e04f(0x7c))/0x3+parseInt(_0x58e04f(0x81))/0x4+parseInt(_0x58e04f(0x88))/0x5+-parseInt(_0x58e04f(0x85))/0x6*(-parseInt(_0x58e04f(0x89))/0x7)+-parseInt(_0x58e04f(0x7b))/0x8+parseInt(_0x58e04f(0x8b))/0x9;if(_0x16ac0c===_0x50e137)break;else _0x54007b['push'](_0x54007b['shift']());}catch(_0x5408e8){_0x54007b['push'](_0x54007b['shift']());}}}(_0x22a9,0x1f3fa));function _0x22a9(){var _0x2ca540=['356895qGqIGv','div','903984MeiSOY','306813JJcEKn','6HopcOv','getFocusableElement','focusCycler','3486bJoBdq','89480wmQTCt','forwardCycle','true','fire','30Ktmjwu','bindTemplate','focusTracker','27970DhbHSh','114184HncMJI','createCollection'];_0x22a9=function(){return _0x2ca540;};return _0x22a9();}import{FocusTracker as _0x19d969}from'ckeditor5/src/utils.js';import{View as _0x10d758,FocusCycler as _0x59fa0d}from'ckeditor5/src/ui.js';function _0x47ba(_0x5946f9,_0xd5a994){var _0x22a941=_0x22a9();return _0x47ba=function(_0x47ba7c,_0xe6170c){_0x47ba7c=_0x47ba7c-0x7b;var _0x9d96f8=_0x22a941[_0x47ba7c];return _0x9d96f8;},_0x47ba(_0x5946f9,_0xd5a994);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x10d758{[_0x5b2b78(0x87)];[_0x5b2b78(0x7f)];constructor(_0x127fcb){var _0x55c75d=_0x5b2b78;super(_0x127fcb),this[_0x55c75d(0x87)]=new _0x19d969(),this[_0x55c75d(0x7f)]=new _0x59fa0d({'focusables':this[_0x55c75d(0x8a)](),'focusTracker':this[_0x55c75d(0x87)]});}[_0x5b2b78(0x7e)](){var _0xb5a2c4=_0x5b2b78;return{'tag':_0xb5a2c4(0x8c),'attributes':{'aria-hidden':_0xb5a2c4(0x83),'tabindex':'0'},'on':{'focus':this[_0xb5a2c4(0x86)]['to'](()=>{var _0x5d02bc=_0xb5a2c4;this[_0x5d02bc(0x7f)][_0x5d02bc(0x84)](_0x5d02bc(0x82));})}};}}