@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251105.0 → 0.0.0-nightly-20251107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x115f4f=_0x1fcb;(function(_0x35348a,_0x11b21d){const _0x27162b=_0x1fcb,_0x2ac62f=_0x35348a();while(!![]){try{const _0x15cc30=-parseInt(_0x27162b(0x97))/0x1+-parseInt(_0x27162b(0xbd))/0x2*(-parseInt(_0x27162b(0x86))/0x3)+-parseInt(_0x27162b(0xac))/0x4+parseInt(_0x27162b(0xa4))/0x5*(parseInt(_0x27162b(0x9e))/0x6)+parseInt(_0x27162b(0xc8))/0x7+-parseInt(_0x27162b(0x78))/0x8*(parseInt(_0x27162b(0xab))/0x9)+parseInt(_0x27162b(0xca))/0xa;if(_0x15cc30===_0x11b21d)break;else _0x2ac62f['push'](_0x2ac62f['shift']());}catch(_0x402ad0){_0x2ac62f['push'](_0x2ac62f['shift']());}}}(_0x2749,0x47fdf));import{Plugin as _0x2ab264}from'ckeditor5/src/core.js';import{Dialog as _0x3fcd63}from'ckeditor5/src/ui.js';import{createElement as _0x571eb0,global as _0x31b435,uid as _0x354624}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x35b82e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x52b044}from'./uploadcareuploadadapter.js';function _0x1fcb(_0x53031a,_0x30efb1){const _0x27490e=_0x2749();return _0x1fcb=function(_0x1fcb10,_0x43d610){_0x1fcb10=_0x1fcb10-0x77;let _0x40fd9c=_0x27490e[_0x1fcb10];return _0x40fd9c;},_0x1fcb(_0x53031a,_0x30efb1);}function _0x2749(){const _0x5ec549=['remove','input[uploadcare-file-input]','schema','_ctxElement','_initSchema','once','uc-config','_configElement','isRegistered','90135QyCLWJ','destroy','getSelectedElement','querySelector','map','body','document','closeMax','insertImage','uploadcareImageId','for','isOfficialPlugin','iconHrefResolver','removeAttribute','view','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploader-','323623ArzOvp','extend','attributeToAttribute','upcast','getAttribute','config','imageBlock','30qzwwTl','appendChild','conversion','editor','editing','UploadcareEditing','122615ulvhjr','uploadcare','downcast','locale','_initConversion','uploadcare.pubkey','selection','6570mzsSsO','48196sBZbzd','fromCharCode','get','true','data-uc-image-id','uploadcare.uploader','contentLanguage','imageInline','#uc-icon-arrow-down','configElement','uploadcareImageReplace','uc-upload-ctx-provider','replaceImageSource','cleanupImage','join','PictureEditing','_initImageProcessingIndicator','12tQdoPa','ctxElement','requires','afterInit','init','model','_initCtx','pluginName','elementToAttribute','_initConfig','isPremiumPlugin','1789893seELDy','commands','1150370jfpDHq','render','execute','472ypggLD','listenTo','add','href','ucContextId'];_0x2749=function(){return _0x5ec549;};return _0x2749();}import{showImageProcessingIndicator as _0x120800}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2ab264{[_0x115f4f(0x84)]=null;[_0x115f4f(0x80)]=null;static get[_0x115f4f(0xc4)](){const _0x5047f7=_0x115f4f;return _0x5047f7(0xa3);}static get[_0x115f4f(0xbf)](){const _0x4fad60=_0x115f4f;return[_0x4fad60(0xbb),_0x52b044,_0x3fcd63];}static get[_0x115f4f(0x91)](){return!0x0;}static get[_0x115f4f(0xc7)](){return!0x0;}[_0x115f4f(0x7c)];get[_0x115f4f(0xb5)](){const _0x35c8bf=_0x115f4f;return this[_0x35c8bf(0x84)];}get[_0x115f4f(0xbe)](){const _0x5cb015=_0x115f4f;return this[_0x5cb015(0x80)];}constructor(_0x4eb725){const _0x58af4e=_0x115f4f;super(_0x4eb725),this[_0x58af4e(0x7c)]=_0x354624();}[_0x115f4f(0xc1)](){const _0x1a8523=_0x115f4f,_0x452a73=this[_0x1a8523(0xa1)];_0x452a73[_0x1a8523(0xc9)][_0x1a8523(0x7a)](_0x1a8523(0xa5),new _0x35b82e(_0x452a73));}[_0x115f4f(0xc0)](){const _0x2a4f69=_0x115f4f;this[_0x2a4f69(0x81)](),this[_0x2a4f69(0xa8)](),this[_0x2a4f69(0xc6)](),this[_0x2a4f69(0xc3)](),this[_0x2a4f69(0xbc)](),this[_0x2a4f69(0x79)](this[_0x2a4f69(0xa1)],_0x2a4f69(0x87),()=>{const _0x3c1ae7=_0x2a4f69;this[_0x3c1ae7(0x84)]&&(this[_0x3c1ae7(0x84)][_0x3c1ae7(0x7d)](),this[_0x3c1ae7(0x84)]=null),this[_0x3c1ae7(0x80)]&&(this[_0x3c1ae7(0x80)][_0x3c1ae7(0x7d)](),this[_0x3c1ae7(0x80)]=null);const _0x4afc1a=_0x31b435[_0x3c1ae7(0x8c)][_0x3c1ae7(0x89)](_0x3c1ae7(0x7e));_0x4afc1a&&_0x4afc1a[_0x3c1ae7(0x7d)]();}),async function(_0x27bfd7){const _0x152e13=_0x5b8c97([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x58f10f=0x535f8c3a,_0x39513a=0x5358f402^_0x58f10f,_0x26d680=window[_0x5b8c97([0x44,0x61,0x74,0x65])][_0x5b8c97([0x6e,0x6f,0x77])](),_0x41b5ae=_0x27bfd7[_0x5b8c97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b9e0b=new window[(_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f0ea6=>{_0x41b5ae[_0x5b8c97([0x6f,0x6e,0x63,0x65])](_0x5b8c97([0x72,0x65,0x61,0x64,0x79]),_0x5f0ea6);}),_0x209c33={[_0x5b8c97([0x6b,0x74,0x79])]:_0x5b8c97([0x45,0x43]),[_0x5b8c97([0x75,0x73,0x65])]:_0x5b8c97([0x73,0x69,0x67]),[_0x5b8c97([0x63,0x72,0x76])]:_0x5b8c97([0x50,0x2d,0x32,0x35,0x36]),[_0x5b8c97([0x78])]:_0x5b8c97([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]),[_0x5b8c97([0x79])]:_0x5b8c97([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]),[_0x5b8c97([0x61,0x6c,0x67])]:_0x5b8c97([0x45,0x53,0x32,0x35,0x36])},_0x46131f=_0x41b5ae[_0x5b8c97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b8c97([0x67,0x65,0x74])](_0x5b8c97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1958bf(){let _0x1a9d54,_0x1b34e5=null,_0x56942a=null;try{if(_0x46131f==_0x5b8c97([0x47,0x50,0x4c]))return _0x5b8c97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a9d54=_0x554be8(),!_0x1a9d54)return _0x5b8c97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a9d54[_0x5b8c97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56942a=_0x405379(_0x1a9d54[_0x5b8c97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a9d54[_0x5b8c97([0x6a,0x74,0x69])])),await _0x5ce0ec()?_0x156f8a()?_0x113757()?_0x5b8c97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x146ccb()?(_0x1a9d54[_0x5b8c97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b8c97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b34e5=_0x1dae8a(_0x5b8c97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a9d54[_0x5b8c97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b8c97([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b34e5=_0x1dae8a(_0x5b8c97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bd623()):_0x5b8c97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b8c97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b8c97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b8c97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x113757(){const _0x3a6866=[_0x5b8c97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b8c97([0x74,0x72,0x69,0x61,0x6c])][_0x5b8c97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a9d54[_0x5b8c97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26d680/0x3e8:0xe10*_0x39513a;return _0x1a9d54[_0x5b8c97([0x65,0x78,0x70])]<_0x3a6866;}function _0x156f8a(){const _0x4dfb48=_0x1a9d54[_0x5b8c97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4dfb48&&(!!_0x4dfb48[_0x5b8c97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b8c97([0x2a]))||!!_0x4dfb48[_0x5b8c97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b8c97([0x55,0x50,0x4c,0x43])));}function _0x146ccb(){const _0x298fd8=_0x1fcb,_0x5b3bdf=_0x1a9d54[_0x5b8c97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b3bdf||0x0==_0x5b3bdf[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x106912}=new URL(window[_0x5b8c97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x298fd8(0x7b)]);if(_0x5b3bdf[_0x5b8c97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x106912))return!0x0;const _0x5f2579=_0x106912[_0x5b8c97([0x73,0x70,0x6c,0x69,0x74])](_0x5b8c97([0x2e]));return _0x5b3bdf[_0x5b8c97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x532626=>_0x532626[_0x5b8c97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b8c97([0x2a])))[_0x5b8c97([0x6d,0x61,0x70])](_0x2632d3=>_0x2632d3[_0x5b8c97([0x73,0x70,0x6c,0x69,0x74])](_0x5b8c97([0x2e])))[_0x5b8c97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x769d01=>_0x769d01[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5f2579[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b8c97([0x6d,0x61,0x70])](_0x86885b=>Array(_0x5f2579[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x86885b[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b8c97([0x66,0x69,0x6c,0x6c])](_0x86885b[0x0]===_0x5b8c97([0x2a])?_0x5b8c97([0x2a]):'')[_0x5b8c97([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x86885b))[_0x5b8c97([0x73,0x6f,0x6d,0x65])](_0x1ec596=>_0x5f2579[_0x5b8c97([0x65,0x76,0x65,0x72,0x79])]((_0x2c12a0,_0x41e767)=>_0x1ec596[_0x41e767]===_0x2c12a0||_0x1ec596[_0x41e767]===_0x5b8c97([0x2a])));}function _0x4bd623(){return _0x1b34e5&&_0x56942a?new window[(_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50bd78,_0xcc3ebe)=>{_0x1b34e5[_0x5b8c97([0x74,0x68,0x65,0x6e])](_0x50bd78,_0xcc3ebe),_0x56942a[_0x5b8c97([0x74,0x68,0x65,0x6e])](_0x1df322=>{_0x1df322!=_0x5b8c97([0x56,0x61,0x6c,0x69,0x64])&&_0x50bd78(_0x1df322);},_0xcc3ebe);}):_0x1b34e5||_0x56942a||_0x5b8c97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x405379(_0x25603e,_0x15c801){return new window[(_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x212fff=>{if(_0x43a64c())return _0x212fff(_0x5b8c97([0x56,0x61,0x6c,0x69,0x64]));_0x39a0e3(),_0x41b5ae[_0x5b8c97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b8c97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e5ff4=!0x1;const _0x103e42=_0x354624();function _0x68eab1(_0x45a37a){return!!_0x45a37a&&(typeof _0x45a37a===_0x5b8c97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45a37a===_0x5b8c97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45a37a[_0x5b8c97([0x74,0x68,0x65,0x6e])]===_0x5b8c97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45a37a[_0x5b8c97([0x63,0x61,0x74,0x63,0x68])]===_0x5b8c97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1dbb15(_0x223b62){_0xccf790(_0x223b62)[_0x5b8c97([0x74,0x68,0x65,0x6e])](_0x559754=>{if(!_0x559754||_0x559754[_0x5b8c97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b8c97([0x6f,0x6b]))return _0x5b8c97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52260c(_0x5999f9(_0x103e42+_0x15c801))!=_0x559754[_0x5b8c97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b8c97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b8c97([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b8c97([0x74,0x68,0x65,0x6e])](_0x231f87=>(_0x39608a(),_0x231f87),()=>{const _0x10dbb1=_0x3804f7();return null==_0x10dbb1?(_0x39608a(),_0x5b8c97([0x56,0x61,0x6c,0x69,0x64])):_0x5b8c97(_0x26d680-_0x10dbb1>(0x7753083a^_0x58f10f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b8c97([0x74,0x68,0x65,0x6e])](_0x212fff)[_0x5b8c97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x212fff(_0x5b8c97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x302f7d=0x536962ba^_0x58f10f;function _0x39608a(){const _0x4d5f1c=_0x5b8c97([0x6c,0x6c,0x63,0x74,0x2d])+_0x52260c(_0x5999f9(_0x25603e)),_0x4beb05=_0x18e3a1(_0x52260c(window[_0x5b8c97([0x4d,0x61,0x74,0x68])][_0x5b8c97([0x63,0x65,0x69,0x6c])](_0x26d680/_0x302f7d)));window[_0x5b8c97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b8c97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d5f1c,_0x4beb05);}function _0x3804f7(){const _0x1ac889=_0x5b8c97([0x6c,0x6c,0x63,0x74,0x2d])+_0x52260c(_0x5999f9(_0x25603e)),_0x26b1b8=window[_0x5b8c97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b8c97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ac889);return _0x26b1b8?window[_0x5b8c97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18e3a1(_0x26b1b8),0x10)*_0x302f7d:null;}function _0xccf790(_0x5386e1){return new window[(_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f2e66,_0x2df8a5)=>{_0x5386e1[_0x5b8c97([0x74,0x68,0x65,0x6e])](_0x1f2e66,_0x2df8a5),window[_0x5b8c97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2df8a5,0x535e58fa^_0x58f10f);});}}_0x41b5ae[_0x5b8c97([0x6f,0x6e])](_0x5b8c97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbbea4f,_0x315915)=>{if(_0x315915[0x0]!=_0x25603e)return _0x212fff(_0x5b8c97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x315915[0x1]={..._0x315915[0x1],[_0x5b8c97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x103e42};},{[_0x5b8c97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b8c97([0x68,0x69,0x67,0x68])}),_0x41b5ae[_0x5b8c97([0x6f,0x6e])](_0x5b8c97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a409f=>{_0x68eab1(_0x2a409f[_0x5b8c97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e5ff4=!0x0,_0x1dbb15(_0x2a409f[_0x5b8c97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b8c97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b8c97([0x6c,0x6f,0x77])}),_0x5b9e0b[_0x5b8c97([0x74,0x68,0x65,0x6e])](()=>{_0x3e5ff4||_0x212fff(_0x5b8c97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43a64c(){return _0x41b5ae[_0x5b8c97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b8c97([0x76,0x69,0x65,0x77])][_0x5b8c97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b8c97([0x61,0x75,0x74,0x6f]);}function _0x39a0e3(){_0x41b5ae[_0x5b8c97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b8c97([0x76,0x69,0x65,0x77])][_0x5b8c97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b8c97([0x61,0x75,0x74,0x6f]);}}function _0x1dae8a(_0x3e6597){const _0x88bedb=[new window[(_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x595085=>setTimeout(_0x595085,0x5356b2f6^_0x58f10f)),_0x5b9e0b[_0x5b8c97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ca7d6=>{let _0x1f76db=0x0;_0x41b5ae[_0x5b8c97([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b8c97([0x6f,0x6e])](_0x5b8c97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17b005,_0x188c11)=>{_0x188c11[0x0][_0x5b8c97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f76db++,_0x1f76db==(0x535f8dc2^_0x58f10f)&&(_0x3ca7d6(),_0x17b005[_0x5b8c97([0x6f,0x66,0x66])]());});}))];return window[_0x5b8c97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b8c97([0x72,0x61,0x63,0x65])](_0x88bedb)[_0x5b8c97([0x74,0x68,0x65,0x6e])](()=>_0x3e6597);}async function _0x46275f(){await _0x5b9e0b,_0x41b5ae[_0x5b8c97([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b8c97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x426ac0,_0x41b5ae[_0x5b8c97([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b8c97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x426ac0,_0x41b5ae[_0x5b8c97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b8c97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x509f63(_0x38d351){const _0x118ade=_0x3560db();_0x41b5ae[_0x118ade]=_0x5b8c97([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38d351,_0x38d351!=_0x5b8c97([0x56,0x61,0x6c,0x69,0x64])&&_0x46275f();}function _0x3560db(){const _0x67faa8=window[_0x5b8c97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b8c97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b8c97([0x6e,0x6f,0x77])]())[_0x5b8c97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b8c97([0x2e]),'');let _0x4ddd30=_0x5b8c97([0x68]);for(let _0x3b71dd=0x0;_0x3b71dd<_0x67faa8[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b71dd+=0x2){let _0x2ecdb5=window[_0x5b8c97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x67faa8[_0x5b8c97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b71dd,_0x3b71dd+0x2));_0x2ecdb5>=_0x152e13[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ecdb5-=_0x152e13[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ddd30+=_0x152e13[_0x2ecdb5];}return _0x4ddd30;}function _0x554be8(){const _0x58b56f=_0x46131f[_0x5b8c97([0x73,0x70,0x6c,0x69,0x74])](_0x5b8c97([0x2e]));if(0x3!=_0x58b56f[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4598ea(_0x58b56f[0x1]);function _0x4598ea(_0xea0073){const _0x700bf8=_0x11aa74(_0xea0073);return _0x700bf8&&_0x488d55()?_0x700bf8:null;function _0x488d55(){const _0x53b705=_0x700bf8[_0x5b8c97([0x6a,0x74,0x69])],_0x338049=window[_0x5b8c97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53b705[_0x5b8c97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53b705[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49bf5a={..._0x700bf8,[_0x5b8c97([0x6a,0x74,0x69])]:_0x53b705[_0x5b8c97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53b705[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49bf5a[_0x5b8c97([0x76,0x63])],_0x5999f9(_0x49bf5a)==_0x338049;}}}async function _0x5ce0ec(){let _0x289104=!0x0;try{const _0x4d3ef1=_0x46131f[_0x5b8c97([0x73,0x70,0x6c,0x69,0x74])](_0x5b8c97([0x2e])),[_0x1a0504,_0x191226,_0x287110]=_0x4d3ef1;return _0x21ff11(_0x1a0504),await _0x45e503(_0x1a0504,_0x191226,_0x287110),_0x289104;}catch{return!0x1;}function _0x21ff11(_0x70cb3d){const _0x40aebc=_0x11aa74(_0x70cb3d);_0x40aebc&&_0x40aebc[_0x5b8c97([0x61,0x6c,0x67])]==_0x5b8c97([0x45,0x53,0x32,0x35,0x36])||(_0x289104=!0x1);}async function _0x45e503(_0x44ac16,_0x6c9ff8,_0x1345e2){const _0x20b4fd=window[_0x5b8c97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b8c97([0x66,0x72,0x6f,0x6d])](_0x1df9b6(_0x1345e2),_0x4ae625=>_0x4ae625[_0x5b8c97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4222e0=new window[(_0x5b8c97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b8c97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44ac16+_0x5b8c97([0x2e])+_0x6c9ff8),_0x235bef=window[_0x5b8c97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b8c97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x235bef)return;const _0x11a8de=await _0x235bef[_0x5b8c97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b8c97([0x6a,0x77,0x6b]),_0x209c33,{[_0x5b8c97([0x6e,0x61,0x6d,0x65])]:_0x5b8c97([0x45,0x43,0x44,0x53,0x41]),[_0x5b8c97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b8c97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b8c97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x235bef[_0x5b8c97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b8c97([0x6e,0x61,0x6d,0x65])]:_0x5b8c97([0x45,0x43,0x44,0x53,0x41]),[_0x5b8c97([0x68,0x61,0x73,0x68])]:{[_0x5b8c97([0x6e,0x61,0x6d,0x65])]:_0x5b8c97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11a8de,_0x20b4fd,_0x4222e0)||(_0x289104=!0x1);}}function _0x11aa74(_0x5c9042){return _0x5c9042[_0x5b8c97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b8c97([0x65,0x79]))?JSON[_0x5b8c97([0x70,0x61,0x72,0x73,0x65])](_0x1df9b6(_0x5c9042)):null;}function _0x1df9b6(_0x161d1c){return window[_0x5b8c97([0x61,0x74,0x6f,0x62])](_0x161d1c[_0x5b8c97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b8c97([0x2b]))[_0x5b8c97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b8c97([0x2f])));}function _0x5999f9(_0x5bb174){let _0x1811f2=0x1505;function _0x5a0101(_0x25122f){for(let _0xe5d240=0x0;_0xe5d240<_0x25122f[_0x5b8c97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe5d240++){const _0xb05a3d=_0x25122f[_0x5b8c97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe5d240);_0x1811f2=(_0x1811f2<<0x5)+_0x1811f2+_0xb05a3d,_0x1811f2&=_0x1811f2;}}function _0x3416b2(_0x10ed19){Array[_0x5b8c97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10ed19)?_0x10ed19[_0x5b8c97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3416b2):_0x10ed19&&typeof _0x10ed19==_0x5b8c97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b8c97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10ed19)[_0x5b8c97([0x73,0x6f,0x72,0x74])]()[_0x5b8c97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10eac7,_0x26587f])=>{_0x5a0101(_0x10eac7),_0x3416b2(_0x26587f);}):_0x5a0101(window[_0x5b8c97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10ed19));}return _0x3416b2(_0x5bb174),_0x1811f2>>>0x0;}function _0x52260c(_0x51094c){return _0x51094c[_0x5b8c97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b8c97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b8c97([0x30]));}function _0x18e3a1(_0x499b9e){return _0x499b9e[_0x5b8c97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b8c97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b8c97([0x6a,0x6f,0x69,0x6e])]('');}function _0x426ac0(){}function _0x5b8c97(_0x39800){const _0x48d981=_0x1fcb;return _0x39800[_0x48d981(0x8a)](_0x338367=>String[_0x48d981(0xad)](_0x338367))[_0x48d981(0xba)]('');}_0x509f63(await _0x1958bf());}(this);}[_0x115f4f(0x81)](){const _0x5299ae=_0x115f4f,_0x26953d=this[_0x5299ae(0xa1)][_0x5299ae(0xc2)][_0x5299ae(0x7f)];_0x26953d[_0x5299ae(0x85)](_0x5299ae(0x9d))&&_0x26953d[_0x5299ae(0x98)](_0x5299ae(0x9d),{'allowAttributes':[_0x5299ae(0x8f)]}),_0x26953d[_0x5299ae(0x85)](_0x5299ae(0xb3))&&_0x26953d[_0x5299ae(0x98)](_0x5299ae(0xb3),{'allowAttributes':[_0x5299ae(0x8f)]});}[_0x115f4f(0xa8)](){const _0x5b03c9=_0x115f4f,_0x123399=this[_0x5b03c9(0xa1)];_0x123399[_0x5b03c9(0xa0)][_0x5b03c9(0x90)](_0x5b03c9(0xa6))[_0x5b03c9(0x99)]({'model':_0x5b03c9(0x8f),'view':_0x5b03c9(0xb0)}),_0x123399[_0x5b03c9(0xa0)][_0x5b03c9(0x90)](_0x5b03c9(0x9a))[_0x5b03c9(0xc5)]({'model':{'key':_0x5b03c9(0x8f),'value':_0x336c93=>_0x336c93[_0x5b03c9(0x9b)](_0x5b03c9(0xb0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30dd16=_0x123399[_0x5b03c9(0xc9)][_0x5b03c9(0xae)](_0x5b03c9(0xb8));_0x30dd16&&this[_0x5b03c9(0x79)](_0x30dd16,_0x5b03c9(0xb9),(_0x47a157,[_0x156b9f,_0x94212d])=>{const _0x521d3a=_0x5b03c9;_0x156b9f[_0x521d3a(0x93)](_0x521d3a(0x8f),_0x94212d);});}[_0x115f4f(0xc6)](){const _0x46db9b=_0x115f4f,_0x385950=this[_0x46db9b(0xa1)][_0x46db9b(0x9c)][_0x46db9b(0xae)](_0x46db9b(0xb1))||{},_0x4f83f4=this[_0x46db9b(0xa1)][_0x46db9b(0x9c)][_0x46db9b(0xae)](_0x46db9b(0xa9))||'';this[_0x46db9b(0x84)]=_0x571eb0(_0x31b435[_0x46db9b(0x8c)],_0x46db9b(0x83),{..._0x385950,'pubkey':_0x4f83f4,'ctx-name':_0x46db9b(0x96)+this[_0x46db9b(0x7c)],'sourceList':'','imgOnly':_0x46db9b(0xaf),'removeCopyright':_0x46db9b(0xaf),'localeName':this[_0x46db9b(0xa1)][_0x46db9b(0xa7)][_0x46db9b(0xb2)],'externalSourcesEmbedCss':_0x46db9b(0x95)}),this[_0x46db9b(0x84)][_0x46db9b(0x92)]=_0x320f97=>{const _0x9f72b1=_0x46db9b;if(_0x9f72b1(0x8d)==_0x320f97)return _0x9f72b1(0xb4);},_0x31b435[_0x46db9b(0x8c)][_0x46db9b(0x8b)][_0x46db9b(0x9f)](this[_0x46db9b(0x84)]);}[_0x115f4f(0xc3)](){const _0x5b4a58=_0x115f4f;this[_0x5b4a58(0x80)]=_0x571eb0(_0x31b435[_0x5b4a58(0x8c)],_0x5b4a58(0xb7),{'ctx-name':_0x5b4a58(0x96)+this[_0x5b4a58(0x7c)]}),_0x31b435[_0x5b4a58(0x8c)][_0x5b4a58(0x8b)][_0x5b4a58(0x9f)](this[_0x5b4a58(0x80)]);}[_0x115f4f(0xbc)](){const _0x3740b6=_0x115f4f,_0x2fb832=this[_0x3740b6(0xa1)][_0x3740b6(0xc9)][_0x3740b6(0xae)](_0x3740b6(0x8e));_0x2fb832&&this[_0x3740b6(0x79)](_0x2fb832,_0x3740b6(0x77),()=>{const _0xe43a5f=_0x3740b6,_0x1afde6=this[_0xe43a5f(0xa1)][_0xe43a5f(0xc2)][_0xe43a5f(0x8c)][_0xe43a5f(0xaa)][_0xe43a5f(0x88)]();_0x1afde6&&_0x1afde6[_0xe43a5f(0x9b)](_0xe43a5f(0x8f))&&this[_0xe43a5f(0xa1)][_0xe43a5f(0xa2)][_0xe43a5f(0x94)][_0xe43a5f(0x82)](_0xe43a5f(0xcb),()=>{const _0x313cb1=_0xe43a5f;_0x120800(this[_0x313cb1(0xa1)],_0x1afde6);});});const _0x43a87f=this[_0x3740b6(0xa1)][_0x3740b6(0xc9)][_0x3740b6(0xae)](_0x3740b6(0xb6));_0x43a87f&&this[_0x3740b6(0x79)](_0x43a87f,_0x3740b6(0x77),()=>{const _0x54b75f=_0x3740b6,_0x2737b4=this[_0x54b75f(0xa1)][_0x54b75f(0xc2)][_0x54b75f(0x8c)][_0x54b75f(0xaa)][_0x54b75f(0x88)]();_0x2737b4&&_0x2737b4[_0x54b75f(0x9b)](_0x54b75f(0x8f))&&this[_0x54b75f(0xa1)][_0x54b75f(0xa2)][_0x54b75f(0x94)][_0x54b75f(0x82)](_0x54b75f(0xcb),()=>{const _0x576db4=_0x54b75f;_0x120800(this[_0x576db4(0xa1)],_0x2737b4);});});}}
23
+ const _0x1fa395=_0x4904;(function(_0x341dac,_0x14dcc8){const _0x877342=_0x4904,_0xefa83=_0x341dac();while(!![]){try{const _0x2fc825=parseInt(_0x877342(0xad))/0x1*(parseInt(_0x877342(0xa3))/0x2)+-parseInt(_0x877342(0xb1))/0x3+-parseInt(_0x877342(0xce))/0x4+parseInt(_0x877342(0x9f))/0x5+-parseInt(_0x877342(0x9a))/0x6*(-parseInt(_0x877342(0xa0))/0x7)+parseInt(_0x877342(0x9c))/0x8+parseInt(_0x877342(0xd2))/0x9*(-parseInt(_0x877342(0xe2))/0xa);if(_0x2fc825===_0x14dcc8)break;else _0xefa83['push'](_0xefa83['shift']());}catch(_0x59cb66){_0xefa83['push'](_0xefa83['shift']());}}}(_0x72ea,0xc628a));import{Plugin as _0xb1ab54}from'ckeditor5/src/core.js';function _0x72ea(){const _0x1441a9=['508508eDwHtp','_initImageProcessingIndicator','commands','replaceImageSource','9CqtnAR','requires','href','_initConversion','afterInit','iconHrefResolver','getSelectedElement','PictureEditing','view','ucContextId','init','#uc-icon-arrow-down','uc-config','UploadcareEditing','uploadcareImageId','uc-upload-ctx-provider','13721090UgRyIO','once','body','_initSchema','pluginName','uploadcareImageReplace','ctxElement','getAttribute','contentLanguage','map','selection','execute','data-uc-image-id','6PmfZWz','attributeToAttribute','5188736Bqlyna','add','uploadcare.uploader','6088845dPxnWH','8629901TdcUZa','listenTo','_initCtx','514522WEdCTE','render','uploadcare.pubkey','isPremiumPlugin','editing','uploader-','remove','schema','input[uploadcare-file-input]','insertImage','3mJcDat','\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','appendChild','querySelector','4680279pQJdQi','model','elementToAttribute','locale','true','configElement','downcast','_initConfig','isOfficialPlugin','join','document','imageBlock','destroy','uploadcare','for','imageInline','cleanupImage','upcast','_ctxElement','closeMax','get','removeAttribute','_configElement','conversion','fromCharCode','extend','config','editor','isRegistered'];_0x72ea=function(){return _0x1441a9;};return _0x72ea();}import{Dialog as _0x30a787}from'ckeditor5/src/ui.js';import{createElement as _0x2a8fac,global as _0x5e47f2,uid as _0x3005b0}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x14ee94}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2eccbd}from'./uploadcareuploadadapter.js';function _0x4904(_0x516e4c,_0x426ec5){const _0x72ea20=_0x72ea();return _0x4904=function(_0x4904cb,_0x3e034c){_0x4904cb=_0x4904cb-0x9a;let _0x1a3007=_0x72ea20[_0x4904cb];return _0x1a3007;},_0x4904(_0x516e4c,_0x426ec5);}import{showImageProcessingIndicator as _0x19b7a2}from'./utils/editingutils.js';export class UploadcareEditing extends _0xb1ab54{[_0x1fa395(0xc7)]=null;[_0x1fa395(0xc3)]=null;static get[_0x1fa395(0xe6)](){const _0x2ac958=_0x1fa395;return _0x2ac958(0xdf);}static get[_0x1fa395(0xd3)](){const _0x55255a=_0x1fa395;return[_0x55255a(0xd9),_0x2eccbd,_0x30a787];}static get[_0x1fa395(0xb9)](){return!0x0;}static get[_0x1fa395(0xa6)](){return!0x0;}[_0x1fa395(0xdb)];get[_0x1fa395(0xb6)](){const _0x5804ca=_0x1fa395;return this[_0x5804ca(0xc7)];}get[_0x1fa395(0xe8)](){const _0x4f9985=_0x1fa395;return this[_0x4f9985(0xc3)];}constructor(_0x288726){const _0x12603f=_0x1fa395;super(_0x288726),this[_0x12603f(0xdb)]=_0x3005b0();}[_0x1fa395(0xdc)](){const _0x13124f=_0x1fa395,_0x139eb6=this[_0x13124f(0xcc)];_0x139eb6[_0x13124f(0xd0)][_0x13124f(0x9d)](_0x13124f(0xbe),new _0x14ee94(_0x139eb6));}[_0x1fa395(0xd6)](){const _0x3beb86=_0x1fa395;this[_0x3beb86(0xe5)](),this[_0x3beb86(0xd5)](),this[_0x3beb86(0xb8)](),this[_0x3beb86(0xa2)](),this[_0x3beb86(0xcf)](),this[_0x3beb86(0xa1)](this[_0x3beb86(0xcc)],_0x3beb86(0xbd),()=>{const _0x1c4bcb=_0x3beb86;this[_0x1c4bcb(0xc7)]&&(this[_0x1c4bcb(0xc7)][_0x1c4bcb(0xa9)](),this[_0x1c4bcb(0xc7)]=null),this[_0x1c4bcb(0xc3)]&&(this[_0x1c4bcb(0xc3)][_0x1c4bcb(0xa9)](),this[_0x1c4bcb(0xc3)]=null);const _0x575ff6=_0x5e47f2[_0x1c4bcb(0xbb)][_0x1c4bcb(0xb0)](_0x1c4bcb(0xab));_0x575ff6&&_0x575ff6[_0x1c4bcb(0xa9)]();}),async function(_0x34eb1c){const _0x8a4c26=_0x37ea03([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3bf894=0x535f8c3a,_0x4b7793=0x5358f452^_0x3bf894,_0x4541ed=window[_0x37ea03([0x44,0x61,0x74,0x65])][_0x37ea03([0x6e,0x6f,0x77])](),_0xd7ae51=_0x34eb1c[_0x37ea03([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54f93c=new window[(_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x164993=>{_0xd7ae51[_0x37ea03([0x6f,0x6e,0x63,0x65])](_0x37ea03([0x72,0x65,0x61,0x64,0x79]),_0x164993);}),_0xac1358={[_0x37ea03([0x6b,0x74,0x79])]:_0x37ea03([0x45,0x43]),[_0x37ea03([0x75,0x73,0x65])]:_0x37ea03([0x73,0x69,0x67]),[_0x37ea03([0x63,0x72,0x76])]:_0x37ea03([0x50,0x2d,0x32,0x35,0x36]),[_0x37ea03([0x78])]:_0x37ea03([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]),[_0x37ea03([0x79])]:_0x37ea03([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]),[_0x37ea03([0x61,0x6c,0x67])]:_0x37ea03([0x45,0x53,0x32,0x35,0x36])},_0x3c2499=_0xd7ae51[_0x37ea03([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37ea03([0x67,0x65,0x74])](_0x37ea03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45e5f5(){let _0x52a7cf,_0x32dcff=null,_0x1605c2=null;try{if(_0x3c2499==_0x37ea03([0x47,0x50,0x4c]))return _0x37ea03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x52a7cf=_0x249240(),!_0x52a7cf)return _0x37ea03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x52a7cf[_0x37ea03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1605c2=_0x2c0a57(_0x52a7cf[_0x37ea03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x52a7cf[_0x37ea03([0x6a,0x74,0x69])])),await _0x1700d5()?_0x39ee9d()?_0x5883f2()?_0x37ea03([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fba67()?(_0x52a7cf[_0x37ea03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37ea03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32dcff=_0x15f0e2(_0x37ea03([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x52a7cf[_0x37ea03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37ea03([0x74,0x72,0x69,0x61,0x6c])&&(_0x32dcff=_0x15f0e2(_0x37ea03([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b2489()):_0x37ea03([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37ea03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37ea03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37ea03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5883f2(){const _0x506b3d=[_0x37ea03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37ea03([0x74,0x72,0x69,0x61,0x6c])][_0x37ea03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52a7cf[_0x37ea03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4541ed/0x3e8:0xe10*_0x4b7793;return _0x52a7cf[_0x37ea03([0x65,0x78,0x70])]<_0x506b3d;}function _0x39ee9d(){const _0x45df6b=_0x52a7cf[_0x37ea03([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45df6b&&(!!_0x45df6b[_0x37ea03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37ea03([0x2a]))||!!_0x45df6b[_0x37ea03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37ea03([0x55,0x50,0x4c,0x43])));}function _0x3fba67(){const _0x25f7d1=_0x4904,_0x6cfcf6=_0x52a7cf[_0x37ea03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6cfcf6||0x0==_0x6cfcf6[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x591f85}=new URL(window[_0x37ea03([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x25f7d1(0xd4)]);if(_0x6cfcf6[_0x37ea03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591f85))return!0x0;const _0x5cfc33=_0x591f85[_0x37ea03([0x73,0x70,0x6c,0x69,0x74])](_0x37ea03([0x2e]));return _0x6cfcf6[_0x37ea03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x735f43=>_0x735f43[_0x37ea03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37ea03([0x2a])))[_0x37ea03([0x6d,0x61,0x70])](_0x261bdb=>_0x261bdb[_0x37ea03([0x73,0x70,0x6c,0x69,0x74])](_0x37ea03([0x2e])))[_0x37ea03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1aad8d=>_0x1aad8d[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5cfc33[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37ea03([0x6d,0x61,0x70])](_0x5cce9d=>Array(_0x5cfc33[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cce9d[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37ea03([0x66,0x69,0x6c,0x6c])](_0x5cce9d[0x0]===_0x37ea03([0x2a])?_0x37ea03([0x2a]):'')[_0x37ea03([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cce9d))[_0x37ea03([0x73,0x6f,0x6d,0x65])](_0x45c12e=>_0x5cfc33[_0x37ea03([0x65,0x76,0x65,0x72,0x79])]((_0x3e3869,_0x553d8d)=>_0x45c12e[_0x553d8d]===_0x3e3869||_0x45c12e[_0x553d8d]===_0x37ea03([0x2a])));}function _0x3b2489(){return _0x32dcff&&_0x1605c2?new window[(_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c194f,_0x3d5acd)=>{_0x32dcff[_0x37ea03([0x74,0x68,0x65,0x6e])](_0x4c194f,_0x3d5acd),_0x1605c2[_0x37ea03([0x74,0x68,0x65,0x6e])](_0x48b6f7=>{_0x48b6f7!=_0x37ea03([0x56,0x61,0x6c,0x69,0x64])&&_0x4c194f(_0x48b6f7);},_0x3d5acd);}):_0x32dcff||_0x1605c2||_0x37ea03([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c0a57(_0x160147,_0x5290a2){return new window[(_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8f4afb=>{if(_0x36f30c())return _0x8f4afb(_0x37ea03([0x56,0x61,0x6c,0x69,0x64]));_0x42aa7e(),_0xd7ae51[_0x37ea03([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37ea03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xef8913=!0x1;const _0x6f3132=_0x3005b0();function _0x514ce7(_0xdfb15e){return!!_0xdfb15e&&(typeof _0xdfb15e===_0x37ea03([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdfb15e===_0x37ea03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdfb15e[_0x37ea03([0x74,0x68,0x65,0x6e])]===_0x37ea03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdfb15e[_0x37ea03([0x63,0x61,0x74,0x63,0x68])]===_0x37ea03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16aaae(_0x42cb0d){_0x4af440(_0x42cb0d)[_0x37ea03([0x74,0x68,0x65,0x6e])](_0x3c6ad4=>{if(!_0x3c6ad4||_0x3c6ad4[_0x37ea03([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37ea03([0x6f,0x6b]))return _0x37ea03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x603a3e(_0x145493(_0x6f3132+_0x5290a2))!=_0x3c6ad4[_0x37ea03([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37ea03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37ea03([0x56,0x61,0x6c,0x69,0x64]);})[_0x37ea03([0x74,0x68,0x65,0x6e])](_0x23840e=>(_0x197b2a(),_0x23840e),()=>{const _0x34c244=_0x1177ba();return null==_0x34c244?(_0x197b2a(),_0x37ea03([0x56,0x61,0x6c,0x69,0x64])):_0x37ea03(_0x4541ed-_0x34c244>(0x7753083a^_0x3bf894)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37ea03([0x74,0x68,0x65,0x6e])](_0x8f4afb)[_0x37ea03([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8f4afb(_0x37ea03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15d8c3=0x536962ba^_0x3bf894;function _0x197b2a(){const _0x2a7452=_0x37ea03([0x6c,0x6c,0x63,0x74,0x2d])+_0x603a3e(_0x145493(_0x160147)),_0x2d9dc9=_0x5b1884(_0x603a3e(window[_0x37ea03([0x4d,0x61,0x74,0x68])][_0x37ea03([0x63,0x65,0x69,0x6c])](_0x4541ed/_0x15d8c3)));window[_0x37ea03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37ea03([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a7452,_0x2d9dc9);}function _0x1177ba(){const _0x467673=_0x37ea03([0x6c,0x6c,0x63,0x74,0x2d])+_0x603a3e(_0x145493(_0x160147)),_0x4d4ae4=window[_0x37ea03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37ea03([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x467673);return _0x4d4ae4?window[_0x37ea03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b1884(_0x4d4ae4),0x10)*_0x15d8c3:null;}function _0x4af440(_0x1e0958){return new window[(_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x277342,_0x1a6a5c)=>{_0x1e0958[_0x37ea03([0x74,0x68,0x65,0x6e])](_0x277342,_0x1a6a5c),window[_0x37ea03([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a6a5c,0x535e58fa^_0x3bf894);});}}_0xd7ae51[_0x37ea03([0x6f,0x6e])](_0x37ea03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22e50d,_0x231ac4)=>{if(_0x231ac4[0x0]!=_0x160147)return _0x8f4afb(_0x37ea03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x231ac4[0x1]={..._0x231ac4[0x1],[_0x37ea03([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6f3132};},{[_0x37ea03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37ea03([0x68,0x69,0x67,0x68])}),_0xd7ae51[_0x37ea03([0x6f,0x6e])](_0x37ea03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3559b0=>{_0x514ce7(_0x3559b0[_0x37ea03([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xef8913=!0x0,_0x16aaae(_0x3559b0[_0x37ea03([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37ea03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37ea03([0x6c,0x6f,0x77])}),_0x54f93c[_0x37ea03([0x74,0x68,0x65,0x6e])](()=>{_0xef8913||_0x8f4afb(_0x37ea03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36f30c(){return _0xd7ae51[_0x37ea03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37ea03([0x76,0x69,0x65,0x77])][_0x37ea03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37ea03([0x61,0x75,0x74,0x6f]);}function _0x42aa7e(){_0xd7ae51[_0x37ea03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37ea03([0x76,0x69,0x65,0x77])][_0x37ea03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37ea03([0x61,0x75,0x74,0x6f]);}}function _0x15f0e2(_0x4d5942){const _0x42774b=[new window[(_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c946b=>setTimeout(_0x1c946b,0x5356b2f6^_0x3bf894)),_0x54f93c[_0x37ea03([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cd9eb=>{let _0x18d105=0x0;_0xd7ae51[_0x37ea03([0x6d,0x6f,0x64,0x65,0x6c])][_0x37ea03([0x6f,0x6e])](_0x37ea03([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1240b1,_0x4aaf32)=>{_0x4aaf32[0x0][_0x37ea03([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18d105++,_0x18d105==(0x535f8dc2^_0x3bf894)&&(_0x3cd9eb(),_0x1240b1[_0x37ea03([0x6f,0x66,0x66])]());});}))];return window[_0x37ea03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37ea03([0x72,0x61,0x63,0x65])](_0x42774b)[_0x37ea03([0x74,0x68,0x65,0x6e])](()=>_0x4d5942);}async function _0x3a886b(){await _0x54f93c,_0xd7ae51[_0x37ea03([0x6d,0x6f,0x64,0x65,0x6c])][_0x37ea03([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e4f64,_0xd7ae51[_0x37ea03([0x6d,0x6f,0x64,0x65,0x6c])][_0x37ea03([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e4f64,_0xd7ae51[_0x37ea03([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37ea03([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x43498e(_0x2d7aa9){const _0x227b8e=_0x5ecdcc();_0xd7ae51[_0x227b8e]=_0x37ea03([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d7aa9,_0x2d7aa9!=_0x37ea03([0x56,0x61,0x6c,0x69,0x64])&&_0x3a886b();}function _0x5ecdcc(){const _0x1b7c92=window[_0x37ea03([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37ea03([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37ea03([0x6e,0x6f,0x77])]())[_0x37ea03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37ea03([0x2e]),'');let _0x141fb2=_0x37ea03([0x68]);for(let _0xd174e5=0x0;_0xd174e5<_0x1b7c92[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd174e5+=0x2){let _0xcc136=window[_0x37ea03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b7c92[_0x37ea03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd174e5,_0xd174e5+0x2));_0xcc136>=_0x8a4c26[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcc136-=_0x8a4c26[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x141fb2+=_0x8a4c26[_0xcc136];}return _0x141fb2;}function _0x249240(){const _0x2e6534=_0x3c2499[_0x37ea03([0x73,0x70,0x6c,0x69,0x74])](_0x37ea03([0x2e]));if(0x3!=_0x2e6534[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2687a2(_0x2e6534[0x1]);function _0x2687a2(_0x10a196){const _0x58571b=_0x2a5d2e(_0x10a196);return _0x58571b&&_0x543fc4()?_0x58571b:null;function _0x543fc4(){const _0x322e18=_0x58571b[_0x37ea03([0x6a,0x74,0x69])],_0x48c879=window[_0x37ea03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x322e18[_0x37ea03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x322e18[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x172662={..._0x58571b,[_0x37ea03([0x6a,0x74,0x69])]:_0x322e18[_0x37ea03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x322e18[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x172662[_0x37ea03([0x76,0x63])],_0x145493(_0x172662)==_0x48c879;}}}async function _0x1700d5(){let _0x2976b2=!0x0;try{const _0x351c13=_0x3c2499[_0x37ea03([0x73,0x70,0x6c,0x69,0x74])](_0x37ea03([0x2e])),[_0x33f54e,_0x430ca7,_0x22651f]=_0x351c13;return _0x2e9aa6(_0x33f54e),await _0xf767c7(_0x33f54e,_0x430ca7,_0x22651f),_0x2976b2;}catch{return!0x1;}function _0x2e9aa6(_0x16d992){const _0xfd01d6=_0x2a5d2e(_0x16d992);_0xfd01d6&&_0xfd01d6[_0x37ea03([0x61,0x6c,0x67])]==_0x37ea03([0x45,0x53,0x32,0x35,0x36])||(_0x2976b2=!0x1);}async function _0xf767c7(_0x32ee5c,_0x440a46,_0x120c98){const _0x408848=window[_0x37ea03([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37ea03([0x66,0x72,0x6f,0x6d])](_0x5dfa9f(_0x120c98),_0x525188=>_0x525188[_0x37ea03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d1989=new window[(_0x37ea03([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37ea03([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32ee5c+_0x37ea03([0x2e])+_0x440a46),_0xa270b6=window[_0x37ea03([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37ea03([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa270b6)return;const _0x5e9153=await _0xa270b6[_0x37ea03([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37ea03([0x6a,0x77,0x6b]),_0xac1358,{[_0x37ea03([0x6e,0x61,0x6d,0x65])]:_0x37ea03([0x45,0x43,0x44,0x53,0x41]),[_0x37ea03([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37ea03([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37ea03([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa270b6[_0x37ea03([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37ea03([0x6e,0x61,0x6d,0x65])]:_0x37ea03([0x45,0x43,0x44,0x53,0x41]),[_0x37ea03([0x68,0x61,0x73,0x68])]:{[_0x37ea03([0x6e,0x61,0x6d,0x65])]:_0x37ea03([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e9153,_0x408848,_0x2d1989)||(_0x2976b2=!0x1);}}function _0x2a5d2e(_0x2540b9){return _0x2540b9[_0x37ea03([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37ea03([0x65,0x79]))?JSON[_0x37ea03([0x70,0x61,0x72,0x73,0x65])](_0x5dfa9f(_0x2540b9)):null;}function _0x5dfa9f(_0x273d90){return window[_0x37ea03([0x61,0x74,0x6f,0x62])](_0x273d90[_0x37ea03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37ea03([0x2b]))[_0x37ea03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37ea03([0x2f])));}function _0x145493(_0x15e59a){let _0x10c703=0x1505;function _0x56d7ed(_0x5bb69b){for(let _0x5d051d=0x0;_0x5d051d<_0x5bb69b[_0x37ea03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d051d++){const _0x5f64d3=_0x5bb69b[_0x37ea03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d051d);_0x10c703=(_0x10c703<<0x5)+_0x10c703+_0x5f64d3,_0x10c703&=_0x10c703;}}function _0x12232c(_0x39c500){Array[_0x37ea03([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x39c500)?_0x39c500[_0x37ea03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12232c):_0x39c500&&typeof _0x39c500==_0x37ea03([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37ea03([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x39c500)[_0x37ea03([0x73,0x6f,0x72,0x74])]()[_0x37ea03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38b1e5,_0xee6887])=>{_0x56d7ed(_0x38b1e5),_0x12232c(_0xee6887);}):_0x56d7ed(window[_0x37ea03([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x39c500));}return _0x12232c(_0x15e59a),_0x10c703>>>0x0;}function _0x603a3e(_0x31573f){return _0x31573f[_0x37ea03([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37ea03([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37ea03([0x30]));}function _0x5b1884(_0x330f18){return _0x330f18[_0x37ea03([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37ea03([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37ea03([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e4f64(){}function _0x37ea03(_0x3b7b79){const _0x4b6daa=_0x4904;return _0x3b7b79[_0x4b6daa(0xeb)](_0x4cc73a=>String[_0x4b6daa(0xc9)](_0x4cc73a))[_0x4b6daa(0xba)]('');}_0x43498e(await _0x45e5f5());}(this);}[_0x1fa395(0xe5)](){const _0x5c6aa2=_0x1fa395,_0x131e06=this[_0x5c6aa2(0xcc)][_0x5c6aa2(0xb2)][_0x5c6aa2(0xaa)];_0x131e06[_0x5c6aa2(0xcd)](_0x5c6aa2(0xbc))&&_0x131e06[_0x5c6aa2(0xca)](_0x5c6aa2(0xbc),{'allowAttributes':[_0x5c6aa2(0xe0)]}),_0x131e06[_0x5c6aa2(0xcd)](_0x5c6aa2(0xc0))&&_0x131e06[_0x5c6aa2(0xca)](_0x5c6aa2(0xc0),{'allowAttributes':[_0x5c6aa2(0xe0)]});}[_0x1fa395(0xd5)](){const _0xfee492=_0x1fa395,_0x456108=this[_0xfee492(0xcc)];_0x456108[_0xfee492(0xc8)][_0xfee492(0xbf)](_0xfee492(0xb7))[_0xfee492(0x9b)]({'model':_0xfee492(0xe0),'view':_0xfee492(0xee)}),_0x456108[_0xfee492(0xc8)][_0xfee492(0xbf)](_0xfee492(0xc2))[_0xfee492(0xb3)]({'model':{'key':_0xfee492(0xe0),'value':_0x20f4fd=>_0x20f4fd[_0xfee492(0xe9)](_0xfee492(0xee))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x15a888=_0x456108[_0xfee492(0xd0)][_0xfee492(0xc5)](_0xfee492(0xd1));_0x15a888&&this[_0xfee492(0xa1)](_0x15a888,_0xfee492(0xc1),(_0x24f3ff,[_0x528eb4,_0x5ecf8e])=>{const _0x399abe=_0xfee492;_0x528eb4[_0x399abe(0xc6)](_0x399abe(0xe0),_0x5ecf8e);});}[_0x1fa395(0xb8)](){const _0x1e1ece=_0x1fa395,_0x32acc6=this[_0x1e1ece(0xcc)][_0x1e1ece(0xcb)][_0x1e1ece(0xc5)](_0x1e1ece(0x9e))||{},_0x3db48d=this[_0x1e1ece(0xcc)][_0x1e1ece(0xcb)][_0x1e1ece(0xc5)](_0x1e1ece(0xa5))||'';this[_0x1e1ece(0xc7)]=_0x2a8fac(_0x5e47f2[_0x1e1ece(0xbb)],_0x1e1ece(0xde),{..._0x32acc6,'pubkey':_0x3db48d,'ctx-name':_0x1e1ece(0xa8)+this[_0x1e1ece(0xdb)],'sourceList':'','imgOnly':_0x1e1ece(0xb5),'removeCopyright':_0x1e1ece(0xb5),'localeName':this[_0x1e1ece(0xcc)][_0x1e1ece(0xb4)][_0x1e1ece(0xea)],'externalSourcesEmbedCss':_0x1e1ece(0xae)}),this[_0x1e1ece(0xc7)][_0x1e1ece(0xd7)]=_0xfb1e99=>{const _0x3a4e82=_0x1e1ece;if(_0x3a4e82(0xc4)==_0xfb1e99)return _0x3a4e82(0xdd);},_0x5e47f2[_0x1e1ece(0xbb)][_0x1e1ece(0xe4)][_0x1e1ece(0xaf)](this[_0x1e1ece(0xc7)]);}[_0x1fa395(0xa2)](){const _0x411878=_0x1fa395;this[_0x411878(0xc3)]=_0x2a8fac(_0x5e47f2[_0x411878(0xbb)],_0x411878(0xe1),{'ctx-name':_0x411878(0xa8)+this[_0x411878(0xdb)]}),_0x5e47f2[_0x411878(0xbb)][_0x411878(0xe4)][_0x411878(0xaf)](this[_0x411878(0xc3)]);}[_0x1fa395(0xcf)](){const _0x3494ef=_0x1fa395,_0x54f194=this[_0x3494ef(0xcc)][_0x3494ef(0xd0)][_0x3494ef(0xc5)](_0x3494ef(0xac));_0x54f194&&this[_0x3494ef(0xa1)](_0x54f194,_0x3494ef(0xed),()=>{const _0x10365f=_0x3494ef,_0x3d7727=this[_0x10365f(0xcc)][_0x10365f(0xb2)][_0x10365f(0xbb)][_0x10365f(0xec)][_0x10365f(0xd8)]();_0x3d7727&&_0x3d7727[_0x10365f(0xe9)](_0x10365f(0xe0))&&this[_0x10365f(0xcc)][_0x10365f(0xa7)][_0x10365f(0xda)][_0x10365f(0xe3)](_0x10365f(0xa4),()=>{const _0x217452=_0x10365f;_0x19b7a2(this[_0x217452(0xcc)],_0x3d7727);});});const _0x119438=this[_0x3494ef(0xcc)][_0x3494ef(0xd0)][_0x3494ef(0xc5)](_0x3494ef(0xe7));_0x119438&&this[_0x3494ef(0xa1)](_0x119438,_0x3494ef(0xed),()=>{const _0x50b68e=_0x3494ef,_0x9ef043=this[_0x50b68e(0xcc)][_0x50b68e(0xb2)][_0x50b68e(0xbb)][_0x50b68e(0xec)][_0x50b68e(0xd8)]();_0x9ef043&&_0x9ef043[_0x50b68e(0xe9)](_0x50b68e(0xe0))&&this[_0x50b68e(0xcc)][_0x50b68e(0xa7)][_0x50b68e(0xda)][_0x50b68e(0xe3)](_0x50b68e(0xa4),()=>{const _0x378515=_0x50b68e;_0x19b7a2(this[_0x378515(0xcc)],_0x9ef043);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3e9299,ObservableMixin as _0x913ccd}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3ada69}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3df06b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xee373e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x55aad2}from'../../utils/uploadutils.js';import{getImageUrls as _0x1b2a79,getImageDimension as _0x35116}from'../../utils/editingutils.js';import{isAncestor as _0x55de50}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x913ccd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x12d7f3,_0xc10762,_0x40ec57){super(),this['_editor']=_0x12d7f3,this['_dialog']=_0xc10762,this['_imageElement']=_0x40ec57,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 _0x229a9b=this['_imageElement'],_0x5e352d=_0x229a9b['getAttribute']('uploadcareImageId'),_0x28c12a=_0x229a9b['getAttribute']('src');if(_0x5e352d)await this['_loadImageInfo'](_0x5e352d,_0x28c12a);else{if(this['_imageCache']['has'](_0x28c12a)){const _0x67941c=this['_imageCache']['get'](_0x28c12a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x67941c['url'],this['imageDimension']=_0x67941c['dimension'],this['imageId']=_0x67941c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1b7804}=this['_editor'],t=_0x1b7804['t'],_0x244c91=new _0xee373e(_0x1b7804,this['imageStatus'],this['_attributes']);_0x244c91['bind']('status')['to'](this,'imageStatus'),_0x244c91['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x244c91['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x244c91['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x244c91,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3df06b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x244c91,'position':_0x3ada69['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x244c91['focus']();},'onHide':()=>{_0x244c91['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3f1de9=>!_0x55de50(_0x3f1de9,_0x244c91['element'])}});}['_loadImageInfo'](_0x5328d5,_0x157a90){return _0x55aad2['getInfo'](_0x5328d5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xaca555=>{const {width:_0x5db8fc,height:_0x529086}=_0xaca555['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x157a90,this['imageDimension']={'width':_0x5db8fc,'height':_0x529086},this['imageId']=_0x5328d5;})['catch'](_0x13e1c3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13e1c3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x391a9d,_0x91459){return this['_getImageAsFile'](_0x391a9d)['then'](_0x243d7f=>_0x55aad2['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':_0x91459['signal'],'file':_0x243d7f,'onProgress':_0x28ab43=>{_0x28ab43&&_0x28ab43['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x28ab43['value']));}}))['then'](_0x5520ac=>{const {width:_0x4fd6df,height:_0x2130b2}=_0x5520ac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5520ac['cdnUrl'],this['imageDimension']={'width':_0x4fd6df,'height':_0x2130b2},this['imageId']=_0x5520ac['uuid'],this['imageUploadProgress']=null;const _0x320e85=_0x391a9d['getAttribute']('src');this['_imageCache']['set'](_0x320e85,{'id':_0x5520ac['uuid'],'url':_0x5520ac['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x25b2af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x25b2af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x29361a,_0x4a3dae){_0x29361a['on']('apply',(_0x5984dd,_0x1d830f)=>{this['_replaceImage'](_0x4a3dae,_0x1d830f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x29361a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x29361a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53c40e,_0x3aee5a,_0x182af3){const _0x5079b0=this['_editor'],{width:_0x547a7d,height:_0x4f996e}=_0x35116(_0x3aee5a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x361ab8,imageSources:_0x3b3ee1}=_0x1b2a79(_0x3aee5a,_0x547a7d);_0x5079b0['model']['change'](_0x5cd345=>{if('$graveyard'===_0x53c40e['root']['rootName']){_0x5079b0['execute']('insertImage',{'imageType':_0x53c40e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53c40e['getAttributes']()),'uploadcareImageId':_0x182af3,'src':_0x361ab8,'sources':_0x3b3ee1,'width':_0x547a7d,'height':_0x4f996e}});const _0x44326e=_0x53c40e['getChildren']();_0x53c40e=_0x5079b0['model']['document']['selection']['getSelectedElement']();for(const _0x127fde of _0x44326e)_0x5cd345['append'](_0x5cd345['cloneElement'](_0x127fde),_0x53c40e);}else _0x5cd345['setSelection'](_0x53c40e,'on'),_0x5079b0['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53c40e['getAttributes']()),'uploadcareImageId':_0x182af3,'src':_0x361ab8,'sources':_0x3b3ee1,'width':_0x547a7d,'height':_0x4f996e},_0x53c40e);_0x5cd345['setSelection'](_0x53c40e,'on');});}async['_getImageAsFile'](_0x3c02a8){const _0x23c119=_0x3e9299['window'],_0x495987=_0x3e9299['document']['location']['href'],_0x5c9c80=new _0x23c119['URL'](_0x3c02a8['getAttribute']('src'),_0x495987);if('data:'===_0x5c9c80['protocol']){const _0x4f819a=_0x5c9c80['href']['split'](','),_0x455cc1=_0x4f819a[0x0]['match'](/:(.*?);/)[0x1],_0x419797=_0x455cc1['split']('/')[0x1],_0x5e4766=_0x23c119['atob'](_0x4f819a[_0x4f819a['length']-0x1]);let _0x160410=_0x5e4766['length'];const _0x2230c7=new _0x23c119['Uint8Array'](_0x160410);for(;_0x160410--;)_0x2230c7[_0x160410]=_0x5e4766['charCodeAt'](_0x160410);return new _0x23c119['File']([_0x2230c7],'image.'+_0x419797,{'type':_0x455cc1});}const _0x3a8b38=_0x5c9c80['href']['split']('/'),_0x4ee4ff=_0x3a8b38[_0x3a8b38['length']-0x1],_0x51e14d=_0x4ee4ff['split']('.')[0x1];return _0x23c119['fetch'](_0x5c9c80['href'])['then'](_0x164952=>_0x164952['clone']()['blob']())['then'](_0x42dcbe=>new _0x23c119['File']([_0x42dcbe],_0x4ee4ff,{'type':'image/'+_0x51e14d}));}}
23
+ import{global as _0x66f110,ObservableMixin as _0xaaaf1f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x466dc2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2a3b59}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x824017}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2b5100}from'../../utils/uploadutils.js';import{getImageUrls as _0x2c4403,getImageDimension as _0x37557f}from'../../utils/editingutils.js';import{isAncestor as _0x2e5075}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0xaaaf1f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1cd9ed,_0x5075ce,_0xa2787c){super(),this['_editor']=_0x1cd9ed,this['_dialog']=_0x5075ce,this['_imageElement']=_0xa2787c,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 _0x225d77=this['_imageElement'],_0x1431d3=_0x225d77['getAttribute']('uploadcareImageId'),_0x4671ed=_0x225d77['getAttribute']('src');if(_0x1431d3)await this['_loadImageInfo'](_0x1431d3,_0x4671ed);else{if(this['_imageCache']['has'](_0x4671ed)){const _0x22929b=this['_imageCache']['get'](_0x4671ed);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x22929b['url'],this['imageDimension']=_0x22929b['dimension'],this['imageId']=_0x22929b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x379718}=this['_editor'],t=_0x379718['t'],_0x299dfb=new _0x824017(_0x379718,this['imageStatus'],this['_attributes']);_0x299dfb['bind']('status')['to'](this,'imageStatus'),_0x299dfb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x299dfb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x299dfb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x299dfb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2a3b59,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x299dfb,'position':_0x466dc2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x299dfb['focus']();},'onHide':()=>{_0x299dfb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1b3977=>!_0x2e5075(_0x1b3977,_0x299dfb['element'])}});}['_loadImageInfo'](_0x636be,_0x501ab2){return _0x2b5100['getInfo'](_0x636be,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5b3caa=>{const {width:_0x43adf0,height:_0x59c8fb}=_0x5b3caa['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x501ab2,this['imageDimension']={'width':_0x43adf0,'height':_0x59c8fb},this['imageId']=_0x636be;})['catch'](_0x4ac238=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ac238['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x551716,_0x5c99e8){return this['_getImageAsFile'](_0x551716)['then'](_0x3316b9=>_0x2b5100['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':_0x5c99e8['signal'],'file':_0x3316b9,'onProgress':_0x1f1beb=>{_0x1f1beb&&_0x1f1beb['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f1beb['value']));}}))['then'](_0x12a764=>{const {width:_0x1c5c6e,height:_0x1b292e}=_0x12a764['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12a764['cdnUrl'],this['imageDimension']={'width':_0x1c5c6e,'height':_0x1b292e},this['imageId']=_0x12a764['uuid'],this['imageUploadProgress']=null;const _0x1cb09c=_0x551716['getAttribute']('src');this['_imageCache']['set'](_0x1cb09c,{'id':_0x12a764['uuid'],'url':_0x12a764['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1784b2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1784b2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5b302f,_0x5d46ff){_0x5b302f['on']('apply',(_0x3b91a6,_0x16febc)=>{this['_replaceImage'](_0x5d46ff,_0x16febc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5b302f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5b302f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5aa564,_0x274fb4,_0x11edf5){const _0x448e34=this['_editor'],{width:_0x5bd173,height:_0xb317a}=_0x37557f(_0x274fb4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e19ae,imageSources:_0xd59eeb}=_0x2c4403(_0x274fb4,_0x5bd173);_0x448e34['model']['change'](_0x3945b2=>{if('$graveyard'===_0x5aa564['root']['rootName']){_0x448e34['execute']('insertImage',{'imageType':_0x5aa564['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5aa564['getAttributes']()),'uploadcareImageId':_0x11edf5,'src':_0x3e19ae,'sources':_0xd59eeb,'width':_0x5bd173,'height':_0xb317a}});const _0x147a9d=_0x5aa564['getChildren']();_0x5aa564=_0x448e34['model']['document']['selection']['getSelectedElement']();for(const _0xb77431 of _0x147a9d)_0x3945b2['append'](_0x3945b2['cloneElement'](_0xb77431),_0x5aa564);}else _0x3945b2['setSelection'](_0x5aa564,'on'),_0x448e34['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5aa564['getAttributes']()),'uploadcareImageId':_0x11edf5,'src':_0x3e19ae,'sources':_0xd59eeb,'width':_0x5bd173,'height':_0xb317a},_0x5aa564);_0x3945b2['setSelection'](_0x5aa564,'on');});}async['_getImageAsFile'](_0x5de909){const _0x3bd297=_0x66f110['window'],_0x233662=_0x66f110['document']['location']['href'],_0x7e18d8=new _0x3bd297['URL'](_0x5de909['getAttribute']('src'),_0x233662);if('data:'===_0x7e18d8['protocol']){const _0x1980b0=_0x7e18d8['href']['split'](','),_0xfd1205=_0x1980b0[0x0]['match'](/:(.*?);/)[0x1],_0x5e3f70=_0xfd1205['split']('/')[0x1],_0x5f49aa=_0x3bd297['atob'](_0x1980b0[_0x1980b0['length']-0x1]);let _0x3d7c1f=_0x5f49aa['length'];const _0x4e14f4=new _0x3bd297['Uint8Array'](_0x3d7c1f);for(;_0x3d7c1f--;)_0x4e14f4[_0x3d7c1f]=_0x5f49aa['charCodeAt'](_0x3d7c1f);return new _0x3bd297['File']([_0x4e14f4],'image.'+_0x5e3f70,{'type':_0xfd1205});}const _0x5e928f=_0x7e18d8['href']['split']('/'),_0x69931c=_0x5e928f[_0x5e928f['length']-0x1],_0x5f3a0e=_0x69931c['split']('.')[0x1];return _0x3bd297['fetch'](_0x7e18d8['href'])['then'](_0x1b5ab4=>_0x1b5ab4['clone']()['blob']())['then'](_0x34d7bd=>new _0x3bd297['File']([_0x34d7bd],_0x69931c,{'type':'image/'+_0x5f3a0e}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3afd(){const _0x4d3e07=['12752mBqGxp','37968SbILIr','39UqMkJC','ck-uploadcare-theme','472452fBjWdQ','imageSrc','set','620160iIWfuB','setTemplate','image-edit','bindTemplate','92526lcLSIf','uc-light','936270lUgSDV','uc-cloud-image-editor','644MNahOM','27764jFIeWe'];_0x3afd=function(){return _0x4d3e07;};return _0x3afd();}(function(_0xd2ad97,_0x1eb0c6){const _0x40d556=_0x4045,_0x1cfb4e=_0xd2ad97();while(!![]){try{const _0x31008d=parseInt(_0x40d556(0x11d))/0x1+parseInt(_0x40d556(0x124))/0x2+-parseInt(_0x40d556(0x11b))/0x3*(parseInt(_0x40d556(0x129))/0x4)+parseInt(_0x40d556(0x120))/0x5+-parseInt(_0x40d556(0x11a))/0x6+parseInt(_0x40d556(0x128))/0x7*(-parseInt(_0x40d556(0x119))/0x8)+-parseInt(_0x40d556(0x126))/0x9;if(_0x31008d===_0x1eb0c6)break;else _0x1cfb4e['push'](_0x1cfb4e['shift']());}catch(_0x2e0cb4){_0x1cfb4e['push'](_0x1cfb4e['shift']());}}}(_0x3afd,0x48254));import{View as _0x220073}from'ckeditor5/src/ui.js';function _0x4045(_0x2bb9fa,_0x135f87){const _0x3afd79=_0x3afd();return _0x4045=function(_0x404521,_0xccbcfe){_0x404521=_0x404521-0x119;let _0x27ddc8=_0x3afd79[_0x404521];return _0x27ddc8;},_0x4045(_0x2bb9fa,_0x135f87);}export class UploadcareImageEditFormEditingView extends _0x220073{constructor(_0x1cf851,_0x35b149){const _0x47ce8e=_0x4045;super(_0x1cf851);const _0x59dafc=this[_0x47ce8e(0x123)];this[_0x47ce8e(0x11f)](_0x47ce8e(0x11e),''),this[_0x47ce8e(0x121)]({'tag':_0x47ce8e(0x127),'attributes':{..._0x35b149,'class':[_0x47ce8e(0x125),_0x47ce8e(0x11c)],'ctx-name':_0x47ce8e(0x122),'cdn-url':_0x59dafc['to'](_0x47ce8e(0x11e))}});}}
23
+ function _0x2b4e(_0x3f9684,_0x127bc8){const _0x5ebbc1=_0x5ebb();return _0x2b4e=function(_0x2b4e03,_0x46bd9a){_0x2b4e03=_0x2b4e03-0x122;let _0x210b00=_0x5ebbc1[_0x2b4e03];return _0x210b00;},_0x2b4e(_0x3f9684,_0x127bc8);}(function(_0x3a626b,_0x2f0c13){const _0x351184=_0x2b4e,_0x169953=_0x3a626b();while(!![]){try{const _0x19b697=-parseInt(_0x351184(0x12a))/0x1+-parseInt(_0x351184(0x12e))/0x2+parseInt(_0x351184(0x129))/0x3+-parseInt(_0x351184(0x12c))/0x4+-parseInt(_0x351184(0x122))/0x5*(-parseInt(_0x351184(0x12d))/0x6)+parseInt(_0x351184(0x128))/0x7+parseInt(_0x351184(0x124))/0x8;if(_0x19b697===_0x2f0c13)break;else _0x169953['push'](_0x169953['shift']());}catch(_0x327a8f){_0x169953['push'](_0x169953['shift']());}}}(_0x5ebb,0xeab3f));import{View as _0x3391d5}from'ckeditor5/src/ui.js';function _0x5ebb(){const _0x5f4713=['setTemplate','22289192oAXMmq','set','bindTemplate','ck-uploadcare-theme','2838129qWqSGZ','86331jsrXTU','1384846lHeKOw','imageSrc','1406516mpcfpR','34542WPnieP','1597782XDhyrs','uc-cloud-image-editor','uc-light','image-edit','240HpAahB'];_0x5ebb=function(){return _0x5f4713;};return _0x5ebb();}export class UploadcareImageEditFormEditingView extends _0x3391d5{constructor(_0x1170ef,_0x233cee){const _0x181ec2=_0x2b4e;super(_0x1170ef);const _0x5ed8ab=this[_0x181ec2(0x126)];this[_0x181ec2(0x125)](_0x181ec2(0x12b),''),this[_0x181ec2(0x123)]({'tag':_0x181ec2(0x12f),'attributes':{..._0x233cee,'class':[_0x181ec2(0x130),_0x181ec2(0x127)],'ctx-name':_0x181ec2(0x131),'cdn-url':_0x5ed8ab['to'](_0x181ec2(0x12b))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x44c45b}from'ckeditor5/src/icons.js';import{ButtonView as _0x3e32b7,IconView as _0x2793b5,View as _0x3d1da7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3d1da7{constructor(_0x16eab7){super(_0x16eab7);const t=_0x16eab7['t'];this['set']('errorType',null);const _0x2ecb6a=new _0x3e32b7(_0x16eab7);_0x2ecb6a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2ecb6a['withText']=!0x0,_0x2ecb6a['class']='ck-button-action',_0x2ecb6a['on']('execute',()=>{this['fire']('retry');}),_0x2ecb6a['bind']('isVisible')['to'](this,'errorType',_0x56d397=>'NotFound'!==_0x56d397);const _0x3dddb1=new _0x2793b5();_0x3dddb1['content']=_0x44c45b,_0x3dddb1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c4ecc=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':[_0x3dddb1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c4ecc['to']('errorType',_0x10c0f6=>t('NotFound'!==_0x10c0f6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2ecb6a]},{'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 _0x20539b}from'ckeditor5/src/icons.js';import{ButtonView as _0x1023bf,IconView as _0x414586,View as _0x16dd5c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x16dd5c{constructor(_0x8abd30){super(_0x8abd30);const t=_0x8abd30['t'];this['set']('errorType',null);const _0x45841e=new _0x1023bf(_0x8abd30);_0x45841e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x45841e['withText']=!0x0,_0x45841e['class']='ck-button-action',_0x45841e['on']('execute',()=>{this['fire']('retry');}),_0x45841e['bind']('isVisible')['to'](this,'errorType',_0x38c99f=>'NotFound'!==_0x38c99f);const _0x194cac=new _0x414586();_0x194cac['content']=_0x20539b,_0x194cac['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x188a79=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':[_0x194cac,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x188a79['to']('errorType',_0x3d7a9e=>t('NotFound'!==_0x3d7a9e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x45841e]},{'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 _0x5194bb,View as _0x44203b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x44203b{constructor(_0xbbc49a){super(_0xbbc49a);const t=_0xbbc49a['t'],_0x56be8a=this['bindTemplate'],_0x42179a=new _0x5194bb();_0x42179a['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':[_0x42179a,{'text':_0x56be8a['to']('imageUploadProgress',_0x1c039d=>t('Loading\x20image...')+'\x20('+(_0x1c039d||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 _0x396030,View as _0x2e1ce3}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2e1ce3{constructor(_0x3dfb2d){super(_0x3dfb2d);const t=_0x3dfb2d['t'],_0x24282b=this['bindTemplate'],_0x4bcc67=new _0x396030();_0x4bcc67['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':[_0x4bcc67,{'text':_0x24282b['to']('imageUploadProgress',_0x25bfd2=>t('Loading\x20image...')+'\x20('+(_0x25bfd2||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 _0x29ff14=_0x5d94;(function(_0x24f413,_0x46d30c){const _0x50425d=_0x5d94,_0x11667a=_0x24f413();while(!![]){try{const _0x4b668e=parseInt(_0x50425d(0x209))/0x1*(-parseInt(_0x50425d(0x1f9))/0x2)+parseInt(_0x50425d(0x20c))/0x3+-parseInt(_0x50425d(0x1f8))/0x4*(-parseInt(_0x50425d(0x22a))/0x5)+parseInt(_0x50425d(0x223))/0x6*(parseInt(_0x50425d(0x220))/0x7)+-parseInt(_0x50425d(0x21a))/0x8+-parseInt(_0x50425d(0x20e))/0x9*(parseInt(_0x50425d(0x200))/0xa)+parseInt(_0x50425d(0x21d))/0xb;if(_0x4b668e===_0x46d30c)break;else _0x11667a['push'](_0x11667a['shift']());}catch(_0x46848c){_0x11667a['push'](_0x11667a['shift']());}}}(_0x3af7,0x392c4));import{View as _0x51d3c9}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x42cd55}from'./uploadcareimageeditformloadingview.js';function _0x3af7(){const _0x958870=['363124baohSj','addMany','div','observe','add','retry','focus','50NnxNkY','_editingView','once','toLowerCase','element','length','_addErrorViewListeners','cancel','cdnUrl','1FBeKRM','_waitForImageEditorComponent','_loadingView','1004358ttfjkU','_focusableView','322785QIgPkc','_errorView','setTemplate','disconnect','querySelector','fire','detail','status','_items','render','_setView','target','2850096FXmfwE','ck-uploadcare-form','change:status','1326765bFKEZx','ready','apply','2621843NDLlFx','ck-reset_all-excluded','filter','6NGjaGx','uploading','createCollection','_addUploadcareImageEditorListeners','nodeName','addEventListener','uc-cloud-image-editor','606895DyRmZz','error','set','addedNodes','clear','getFocusableElement','4mLQyWm'];_0x3af7=function(){return _0x958870;};return _0x3af7();}import{UploadcareImageEditFormErrorView as _0x584e0c}from'./uploadcareimageeditformerrorview.js';function _0x5d94(_0x4014dc,_0x45812f){const _0x3af73f=_0x3af7();return _0x5d94=function(_0x5d94fb,_0x1bfc8f){_0x5d94fb=_0x5d94fb-0x1f3;let _0x2c8653=_0x3af73f[_0x5d94fb];return _0x2c8653;},_0x5d94(_0x4014dc,_0x45812f);}import{UploadcareImageEditFormEditingView as _0x3494e9}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x35c8f4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x35c8f4{[_0x29ff14(0x216)];[_0x29ff14(0x20b)];[_0x29ff14(0x20f)];[_0x29ff14(0x201)];[_0x29ff14(0x20d)];constructor(_0x26f3b7,_0x244dde,_0x4d068c){const _0x5032bf=_0x29ff14;super(_0x26f3b7),this[_0x5032bf(0x216)]=this[_0x5032bf(0x225)](),this[_0x5032bf(0x20b)]=new _0x42cd55(_0x26f3b7),this[_0x5032bf(0x20f)]=new _0x584e0c(_0x26f3b7),this[_0x5032bf(0x201)]=new _0x3494e9(_0x26f3b7,_0x4d068c),this[_0x5032bf(0x20d)]=new _0x51d3c9(_0x26f3b7),this[_0x5032bf(0x20d)][_0x5032bf(0x210)](this[_0x5032bf(0x1f7)]()),this[_0x5032bf(0x1f4)](_0x5032bf(0x215),_0x244dde),this[_0x5032bf(0x210)]({'tag':_0x5032bf(0x1fb),'attributes':{'class':['ck',_0x5032bf(0x221),_0x5032bf(0x21b)],'tabindex':'-1'},'children':this[_0x5032bf(0x216)]}),this[_0x5032bf(0x218)](),this[_0x5032bf(0x202)](_0x5032bf(0x217),()=>{const _0x2dc983=_0x5032bf;this[_0x2dc983(0x20a)](this[_0x2dc983(0x204)],_0x3b3f74=>{const _0x1ae22f=_0x2dc983;this[_0x1ae22f(0x226)](_0x3b3f74);});}),this['on'](_0x5032bf(0x21c),()=>{const _0x370e51=_0x5032bf;this[_0x370e51(0x218)]();}),this[_0x5032bf(0x206)]();}[_0x29ff14(0x1ff)](){const _0xe50a56=_0x29ff14;this[_0xe50a56(0x204)][_0xe50a56(0x1ff)]();}[_0x29ff14(0x218)](){const _0x3da300=_0x29ff14;switch(this[_0x3da300(0x216)][_0x3da300(0x1f6)](),this[_0x3da300(0x215)]){case _0x3da300(0x224):this[_0x3da300(0x216)][_0x3da300(0x1fd)](this[_0x3da300(0x20b)]);break;case _0x3da300(0x1f3):this[_0x3da300(0x216)][_0x3da300(0x1fd)](this[_0x3da300(0x20f)]);break;case _0x3da300(0x21e):this[_0x3da300(0x216)][_0x3da300(0x1fa)]([this[_0x3da300(0x201)],this[_0x3da300(0x20d)]]);}}[_0x29ff14(0x20a)](_0x2839b8,_0x187cb1){const _0x42fb41=_0x29ff14,_0x2ef33c=_0x42fb41(0x229),_0x40dd70=_0x2839b8[_0x42fb41(0x212)](_0x2ef33c);if(_0x40dd70)return _0x187cb1(_0x40dd70);const _0x55f067=new MutationObserver(_0x3d8c09=>{const _0x585b6e=_0x42fb41,_0xc3b34b=_0x3d8c09[_0x585b6e(0x222)](_0x35a8bd=>_0x35a8bd[_0x585b6e(0x219)]===_0x2839b8&&_0x35a8bd[_0x585b6e(0x1f5)][_0x585b6e(0x205)]>0x0&&_0x35a8bd[_0x585b6e(0x1f5)][0x0][_0x585b6e(0x227)][_0x585b6e(0x203)]()===_0x2ef33c);_0xc3b34b[_0x585b6e(0x205)]&&(_0x55f067[_0x585b6e(0x211)](),_0x187cb1(_0xc3b34b[0x0][_0x585b6e(0x1f5)][0x0]));});_0x55f067[_0x42fb41(0x1fc)](_0x2839b8,{'childList':!0x0,'subtree':!0x0});}[_0x29ff14(0x226)](_0x6d9744){const _0x2f39b9=_0x29ff14;_0x6d9744[_0x2f39b9(0x228)](_0x2f39b9(0x21f),_0x3e8dcb=>{const _0x444563=_0x2f39b9;this[_0x444563(0x213)](_0x444563(0x21f),{'imageSrc':_0x3e8dcb[_0x444563(0x214)][_0x444563(0x208)]});}),_0x6d9744[_0x2f39b9(0x228)](_0x2f39b9(0x207),()=>{const _0x6a9137=_0x2f39b9;this[_0x6a9137(0x213)](_0x6a9137(0x207));});}[_0x29ff14(0x206)](){const _0x37f87b=_0x29ff14;this[_0x37f87b(0x20f)]['on'](_0x37f87b(0x1fe),()=>{const _0x57158f=_0x37f87b;this[_0x57158f(0x213)](_0x57158f(0x1fe));});}}
23
+ const _0x304a61=_0x10aa;function _0x5f3e(){const _0x1f017c=['addedNodes','10SMQLRp','target','175zlgpjR','_addUploadcareImageEditorListeners','cancel','_setView','createCollection','10AzxWsw','setTemplate','_focusableView','uc-cloud-image-editor','nodeName','observe','clear','apply','toLowerCase','filter','div','_addErrorViewListeners','length','5354790EwlbFK','ck-reset_all-excluded','31329981EkSIyC','1213292VAqxkh','focus','1585682vPBdof','disconnect','getFocusableElement','querySelector','status','ready','ck-uploadcare-form','1531708pBGnmI','uploading','once','_loadingView','retry','_editingView','_errorView','change:status','add','detail','addMany','141320CJuXvz','element','_waitForImageEditorComponent','render','1075662RNhPoe','addEventListener','set','fire','cdnUrl','error','_items'];_0x5f3e=function(){return _0x1f017c;};return _0x5f3e();}(function(_0x7d4b90,_0x88c1dc){const _0x289372=_0x10aa,_0x2c99fc=_0x7d4b90();while(!![]){try{const _0xc17b67=-parseInt(_0x289372(0x1df))/0x1+-parseInt(_0x289372(0x1d8))/0x2+-parseInt(_0x289372(0x1b7))/0x3+parseInt(_0x289372(0x1d6))/0x4*(parseInt(_0x289372(0x1bf))/0x5)+-parseInt(_0x289372(0x1d3))/0x6+-parseInt(_0x289372(0x1c1))/0x7*(-parseInt(_0x289372(0x1b3))/0x8)+-parseInt(_0x289372(0x1d5))/0x9*(-parseInt(_0x289372(0x1c6))/0xa);if(_0xc17b67===_0x88c1dc)break;else _0x2c99fc['push'](_0x2c99fc['shift']());}catch(_0xb8a056){_0x2c99fc['push'](_0x2c99fc['shift']());}}}(_0x5f3e,0xe8dd4));import{View as _0xdd0672}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0xc1ece}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x34ead0}from'./uploadcareimageeditformerrorview.js';function _0x10aa(_0x1082d6,_0x4944ef){const _0x5f3e08=_0x5f3e();return _0x10aa=function(_0x10aa1a,_0x5756ce){_0x10aa1a=_0x10aa1a-0x1ab;let _0x39b279=_0x5f3e08[_0x10aa1a];return _0x39b279;},_0x10aa(_0x1082d6,_0x4944ef);}import{UploadcareImageEditFormEditingView as _0x525a0f}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3292a2}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3292a2{[_0x304a61(0x1bd)];[_0x304a61(0x1ab)];[_0x304a61(0x1ae)];[_0x304a61(0x1ad)];[_0x304a61(0x1c8)];constructor(_0x1f4e99,_0x27bc94,_0x2b8aaf){const _0x4e749e=_0x304a61;super(_0x1f4e99),this[_0x4e749e(0x1bd)]=this[_0x4e749e(0x1c5)](),this[_0x4e749e(0x1ab)]=new _0xc1ece(_0x1f4e99),this[_0x4e749e(0x1ae)]=new _0x34ead0(_0x1f4e99),this[_0x4e749e(0x1ad)]=new _0x525a0f(_0x1f4e99,_0x2b8aaf),this[_0x4e749e(0x1c8)]=new _0xdd0672(_0x1f4e99),this[_0x4e749e(0x1c8)][_0x4e749e(0x1c7)](this[_0x4e749e(0x1da)]()),this[_0x4e749e(0x1b9)](_0x4e749e(0x1dc),_0x27bc94),this[_0x4e749e(0x1c7)]({'tag':_0x4e749e(0x1d0),'attributes':{'class':['ck',_0x4e749e(0x1d4),_0x4e749e(0x1de)],'tabindex':'-1'},'children':this[_0x4e749e(0x1bd)]}),this[_0x4e749e(0x1c4)](),this[_0x4e749e(0x1e1)](_0x4e749e(0x1b6),()=>{const _0x1761e9=_0x4e749e;this[_0x1761e9(0x1b5)](this[_0x1761e9(0x1b4)],_0x411e05=>{const _0x54c80e=_0x1761e9;this[_0x54c80e(0x1c2)](_0x411e05);});}),this['on'](_0x4e749e(0x1af),()=>{const _0x422252=_0x4e749e;this[_0x422252(0x1c4)]();}),this[_0x4e749e(0x1d1)]();}[_0x304a61(0x1d7)](){const _0x154628=_0x304a61;this[_0x154628(0x1b4)][_0x154628(0x1d7)]();}[_0x304a61(0x1c4)](){const _0x53c028=_0x304a61;switch(this[_0x53c028(0x1bd)][_0x53c028(0x1cc)](),this[_0x53c028(0x1dc)]){case _0x53c028(0x1e0):this[_0x53c028(0x1bd)][_0x53c028(0x1b0)](this[_0x53c028(0x1ab)]);break;case _0x53c028(0x1bc):this[_0x53c028(0x1bd)][_0x53c028(0x1b0)](this[_0x53c028(0x1ae)]);break;case _0x53c028(0x1dd):this[_0x53c028(0x1bd)][_0x53c028(0x1b2)]([this[_0x53c028(0x1ad)],this[_0x53c028(0x1c8)]]);}}[_0x304a61(0x1b5)](_0x52816b,_0x3b8420){const _0x48060f=_0x304a61,_0x553a21=_0x48060f(0x1c9),_0x18955e=_0x52816b[_0x48060f(0x1db)](_0x553a21);if(_0x18955e)return _0x3b8420(_0x18955e);const _0x5675ec=new MutationObserver(_0x336a50=>{const _0x4d8d2b=_0x48060f,_0x512126=_0x336a50[_0x4d8d2b(0x1cf)](_0x100f89=>_0x100f89[_0x4d8d2b(0x1c0)]===_0x52816b&&_0x100f89[_0x4d8d2b(0x1be)][_0x4d8d2b(0x1d2)]>0x0&&_0x100f89[_0x4d8d2b(0x1be)][0x0][_0x4d8d2b(0x1ca)][_0x4d8d2b(0x1ce)]()===_0x553a21);_0x512126[_0x4d8d2b(0x1d2)]&&(_0x5675ec[_0x4d8d2b(0x1d9)](),_0x3b8420(_0x512126[0x0][_0x4d8d2b(0x1be)][0x0]));});_0x5675ec[_0x48060f(0x1cb)](_0x52816b,{'childList':!0x0,'subtree':!0x0});}[_0x304a61(0x1c2)](_0xb1f979){const _0x28420a=_0x304a61;_0xb1f979[_0x28420a(0x1b8)](_0x28420a(0x1cd),_0x358800=>{const _0x10a0fd=_0x28420a;this[_0x10a0fd(0x1ba)](_0x10a0fd(0x1cd),{'imageSrc':_0x358800[_0x10a0fd(0x1b1)][_0x10a0fd(0x1bb)]});}),_0xb1f979[_0x28420a(0x1b8)](_0x28420a(0x1c3),()=>{const _0x11e2e1=_0x28420a;this[_0x11e2e1(0x1ba)](_0x11e2e1(0x1c3));});}[_0x304a61(0x1d1)](){const _0x3f3966=_0x304a61;this[_0x3f3966(0x1ae)]['on'](_0x3f3966(0x1ac),()=>{const _0x232451=_0x3f3966;this[_0x232451(0x1ba)](_0x232451(0x1ac));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f1ee7=_0x5060;(function(_0x4278f4,_0x25fcf8){const _0x2fc187=_0x5060,_0x373072=_0x4278f4();while(!![]){try{const _0x390a29=-parseInt(_0x2fc187(0x1c6))/0x1+parseInt(_0x2fc187(0x1d3))/0x2*(parseInt(_0x2fc187(0x1c8))/0x3)+-parseInt(_0x2fc187(0x1c2))/0x4*(-parseInt(_0x2fc187(0x1cf))/0x5)+-parseInt(_0x2fc187(0x1bc))/0x6*(parseInt(_0x2fc187(0x1d4))/0x7)+parseInt(_0x2fc187(0x1ba))/0x8+-parseInt(_0x2fc187(0x1bb))/0x9+-parseInt(_0x2fc187(0x1cc))/0xa*(-parseInt(_0x2fc187(0x1b8))/0xb);if(_0x390a29===_0x25fcf8)break;else _0x373072['push'](_0x373072['shift']());}catch(_0x8c243d){_0x373072['push'](_0x373072['shift']());}}}(_0xbc0d,0xd331b));import{Command as _0x26de07}from'ckeditor5/src/core.js';function _0xbc0d(){const _0x2da70a=['plugins','isEnabled','2imqVWR','21WqosVA','get','getSelectedElement','bind','imageInline','8190567RDcYlT','imageEditController','2241240Usqeqm','4837302NDULHF','385278ZukkAx','imageBlock','unbind','config','isActive','document','12AIDIYl','_isEditable','uploadcare.allowExternalImagesEditing','execute','1162440UPBGZB','selection','561543YeOaFL','refresh','model','element','10SAXvbF','editor','requires','2576125CdKDOY','set'];_0xbc0d=function(){return _0x2da70a;};return _0xbc0d();}import{Dialog as _0x33ebc}from'ckeditor5/src/ui.js';function _0x5060(_0x4ed7ef,_0x4d6fad){const _0xbc0d2c=_0xbc0d();return _0x5060=function(_0x50603e,_0x26926c){_0x50603e=_0x50603e-0x1b6;let _0x4c177c=_0xbc0d2c[_0x50603e];return _0x4c177c;},_0x5060(_0x4ed7ef,_0x4d6fad);}import{UploadcareImageEditController as _0x2123fd}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5724d8}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x26de07{[_0x2f1ee7(0x1b9)];static get[_0x2f1ee7(0x1ce)](){return[_0x33ebc];}[_0x2f1ee7(0x1c3)];constructor(_0x2264f1){const _0x431af4=_0x2f1ee7;super(_0x2264f1),this[_0x431af4(0x1b9)]=void 0x0,this[_0x431af4(0x1c3)]=_0x5724d8(_0x2264f1[_0x431af4(0x1bf)][_0x431af4(0x1d5)](_0x431af4(0x1c4))||[]),this[_0x431af4(0x1d0)]({'isActive':!0x1});}[_0x2f1ee7(0x1c9)](){const _0x1bc4fe=_0x2f1ee7,_0x8edcb=this[_0x1bc4fe(0x1cd)][_0x1bc4fe(0x1ca)][_0x1bc4fe(0x1c1)][_0x1bc4fe(0x1c7)][_0x1bc4fe(0x1d6)]();this[_0x1bc4fe(0x1d2)]=this[_0x1bc4fe(0x1c3)](_0x8edcb);}[_0x2f1ee7(0x1c5)](){const _0x558e25=_0x2f1ee7;this[_0x558e25(0x1b9)]&&(this[_0x558e25(0x1be)](_0x558e25(0x1c0)),this[_0x558e25(0x1b9)]=void 0x0);const _0x107645=this[_0x558e25(0x1cd)][_0x558e25(0x1ca)][_0x558e25(0x1c1)][_0x558e25(0x1c7)][_0x558e25(0x1d6)]();_0x107645&&(_0x107645['is'](_0x558e25(0x1cb),_0x558e25(0x1bd))||_0x107645['is'](_0x558e25(0x1cb),_0x558e25(0x1b7)))&&(this[_0x558e25(0x1b9)]=new _0x2123fd(this[_0x558e25(0x1cd)],this[_0x558e25(0x1cd)][_0x558e25(0x1d1)][_0x558e25(0x1d5)](_0x33ebc),_0x107645),this[_0x558e25(0x1b6)](_0x558e25(0x1c0))['to'](this[_0x558e25(0x1b9)],_0x558e25(0x1c0)));}}
23
+ function _0x4bf0(){const _0x4c6320=['13116ufjDbP','config','unbind','element','refresh','28867280mxFovG','227360kyIxSB','1277542NYiGbp','imageBlock','uploadcare.allowExternalImagesEditing','2739960NPaZhU','537ipbVfw','4212282ufqqIV','imageEditController','isEnabled','_isEditable','getSelectedElement','requires','isActive','6242030yVQnOz','get','selection','imageInline','document','plugins','bind','editor','set','execute','model'];_0x4bf0=function(){return _0x4c6320;};return _0x4bf0();}function _0x1c3a(_0x1772e4,_0x1b46a8){const _0x4bf0ad=_0x4bf0();return _0x1c3a=function(_0x1c3a09,_0x2287ba){_0x1c3a09=_0x1c3a09-0xeb;let _0x2eca9e=_0x4bf0ad[_0x1c3a09];return _0x2eca9e;},_0x1c3a(_0x1772e4,_0x1b46a8);}const _0x343792=_0x1c3a;(function(_0x26ef44,_0x459c13){const _0x287f46=_0x1c3a,_0x4ec6a5=_0x26ef44();while(!![]){try{const _0x4787e6=parseInt(_0x287f46(0x108))/0x1+parseInt(_0x287f46(0xee))/0x2+-parseInt(_0x287f46(0xef))/0x3*(-parseInt(_0x287f46(0x102))/0x4)+parseInt(_0x287f46(0xf7))/0x5+parseInt(_0x287f46(0xf0))/0x6+parseInt(_0x287f46(0xeb))/0x7+-parseInt(_0x287f46(0x107))/0x8;if(_0x4787e6===_0x459c13)break;else _0x4ec6a5['push'](_0x4ec6a5['shift']());}catch(_0xf230d3){_0x4ec6a5['push'](_0x4ec6a5['shift']());}}}(_0x4bf0,0xad0de));import{Command as _0x6325f9}from'ckeditor5/src/core.js';import{Dialog as _0x5ea3b8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x539786}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x57bbbd}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x6325f9{[_0x343792(0xf1)];static get[_0x343792(0xf5)](){return[_0x5ea3b8];}[_0x343792(0xf3)];constructor(_0x387973){const _0x66cc93=_0x343792;super(_0x387973),this[_0x66cc93(0xf1)]=void 0x0,this[_0x66cc93(0xf3)]=_0x57bbbd(_0x387973[_0x66cc93(0x103)][_0x66cc93(0xf8)](_0x66cc93(0xed))||[]),this[_0x66cc93(0xff)]({'isActive':!0x1});}[_0x343792(0x106)](){const _0x2f761d=_0x343792,_0xea850f=this[_0x2f761d(0xfe)][_0x2f761d(0x101)][_0x2f761d(0xfb)][_0x2f761d(0xf9)][_0x2f761d(0xf4)]();this[_0x2f761d(0xf2)]=this[_0x2f761d(0xf3)](_0xea850f);}[_0x343792(0x100)](){const _0xa81858=_0x343792;this[_0xa81858(0xf1)]&&(this[_0xa81858(0x104)](_0xa81858(0xf6)),this[_0xa81858(0xf1)]=void 0x0);const _0x22bc56=this[_0xa81858(0xfe)][_0xa81858(0x101)][_0xa81858(0xfb)][_0xa81858(0xf9)][_0xa81858(0xf4)]();_0x22bc56&&(_0x22bc56['is'](_0xa81858(0x105),_0xa81858(0xec))||_0x22bc56['is'](_0xa81858(0x105),_0xa81858(0xfa)))&&(this[_0xa81858(0xf1)]=new _0x539786(this[_0xa81858(0xfe)],this[_0xa81858(0xfe)][_0xa81858(0xfc)][_0xa81858(0xf8)](_0x5ea3b8),_0x22bc56),this[_0xa81858(0xfd)](_0xa81858(0xf6))['to'](this[_0xa81858(0xf1)],_0xa81858(0xf6)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x571765=_0x10a9;(function(_0x23a14d,_0x1761cf){const _0x596d1b=_0x10a9,_0x42508c=_0x23a14d();while(!![]){try{const _0x47cd9c=parseInt(_0x596d1b(0x7a))/0x1+-parseInt(_0x596d1b(0x83))/0x2+parseInt(_0x596d1b(0x75))/0x3+parseInt(_0x596d1b(0x71))/0x4*(-parseInt(_0x596d1b(0x73))/0x5)+parseInt(_0x596d1b(0x79))/0x6*(-parseInt(_0x596d1b(0x77))/0x7)+parseInt(_0x596d1b(0x72))/0x8+parseInt(_0x596d1b(0x84))/0x9;if(_0x47cd9c===_0x1761cf)break;else _0x42508c['push'](_0x42508c['shift']());}catch(_0x20ce50){_0x42508c['push'](_0x42508c['shift']());}}}(_0x5d24,0x29d02));import{Plugin as _0x340730}from'ckeditor5/src/core.js';import{Notification as _0x4afd0f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x43f3c8}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x434929}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x1a4894}from'../uploadcareediting.js';function _0x10a9(_0x25ef81,_0x5cca40){const _0x5d24bc=_0x5d24();return _0x10a9=function(_0x10a9ea,_0x4007d1){_0x10a9ea=_0x10a9ea-0x71;let _0x1d0646=_0x5d24bc[_0x10a9ea];return _0x1d0646;},_0x10a9(_0x25ef81,_0x5cca40);}function _0x5d24(){const _0x50ddf0=['pluginName','641754JDRaMl','uploadcareImageReplace','658091XvjDAC','uploadcareImageEdit','12cxNZqm','52174EeUliM','ImageUtils','init','requires','isOfficialPlugin','add','commands','ImageEditing','UploadcareImageEditEditing','501482bKFyiM','2087901DGrUoW','isPremiumPlugin','184lxIwIO','2568912DtaEiO','22735WliTxB'];_0x5d24=function(){return _0x50ddf0;};return _0x5d24();}export class UploadcareImageEditEditing extends _0x340730{static get[_0x571765(0x74)](){const _0xc13af3=_0x571765;return _0xc13af3(0x82);}static get[_0x571765(0x7d)](){const _0x3943c4=_0x571765;return[_0x1a4894,_0x4afd0f,_0x3943c4(0x7b),_0x3943c4(0x81)];}static get[_0x571765(0x7e)](){return!0x0;}static get[_0x571765(0x85)](){return!0x0;}[_0x571765(0x7c)](){const _0x9a1d7d=_0x571765,{editor:_0x2e4ef1}=this;_0x2e4ef1[_0x9a1d7d(0x80)][_0x9a1d7d(0x7f)](_0x9a1d7d(0x78),new _0x43f3c8(_0x2e4ef1)),_0x2e4ef1[_0x9a1d7d(0x80)][_0x9a1d7d(0x7f)](_0x9a1d7d(0x76),new _0x434929(_0x2e4ef1));}}
23
+ const _0x14775c=_0xa2ab;(function(_0x24a5f1,_0x535c6b){const _0x28ed8e=_0xa2ab,_0x112773=_0x24a5f1();while(!![]){try{const _0x3c8d9f=-parseInt(_0x28ed8e(0x127))/0x1+-parseInt(_0x28ed8e(0x126))/0x2*(-parseInt(_0x28ed8e(0x129))/0x3)+parseInt(_0x28ed8e(0x120))/0x4+-parseInt(_0x28ed8e(0x11f))/0x5*(parseInt(_0x28ed8e(0x125))/0x6)+parseInt(_0x28ed8e(0x124))/0x7+-parseInt(_0x28ed8e(0x11d))/0x8*(-parseInt(_0x28ed8e(0x11b))/0x9)+-parseInt(_0x28ed8e(0x122))/0xa;if(_0x3c8d9f===_0x535c6b)break;else _0x112773['push'](_0x112773['shift']());}catch(_0x592842){_0x112773['push'](_0x112773['shift']());}}}(_0x5971,0x2d783));function _0x5971(){const _0x579d1c=['uploadcareImageReplace','commands','isOfficialPlugin','init','pluginName','uploadcareImageEdit','add','13401HWqgFK','isPremiumPlugin','456pATERg','ImageEditing','5SULTCc','298432qsRHPV','UploadcareImageEditEditing','1957790sSSmjw','requires','1988539hjscvf','1726854QhSGor','170738RrgHvW','29834gKMTyf','ImageUtils','9LtiMvg'];_0x5971=function(){return _0x579d1c;};return _0x5971();}import{Plugin as _0x313d1c}from'ckeditor5/src/core.js';import{Notification as _0x3f0709}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x8078f5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x39a66c}from'./uploadcareimagereplacecommand.js';function _0xa2ab(_0x14d9cb,_0x2b6703){const _0x5971aa=_0x5971();return _0xa2ab=function(_0xa2abc5,_0x21943c){_0xa2abc5=_0xa2abc5-0x114;let _0x37a110=_0x5971aa[_0xa2abc5];return _0x37a110;},_0xa2ab(_0x14d9cb,_0x2b6703);}import{UploadcareEditing as _0x52cdac}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x313d1c{static get[_0x14775c(0x118)](){const _0x49b163=_0x14775c;return _0x49b163(0x121);}static get[_0x14775c(0x123)](){const _0x27e0a4=_0x14775c;return[_0x52cdac,_0x3f0709,_0x27e0a4(0x128),_0x27e0a4(0x11e)];}static get[_0x14775c(0x116)](){return!0x0;}static get[_0x14775c(0x11c)](){return!0x0;}[_0x14775c(0x117)](){const _0x2cfd22=_0x14775c,{editor:_0x4c42c3}=this;_0x4c42c3[_0x2cfd22(0x115)][_0x2cfd22(0x11a)](_0x2cfd22(0x119),new _0x8078f5(_0x4c42c3)),_0x4c42c3[_0x2cfd22(0x115)][_0x2cfd22(0x11a)](_0x2cfd22(0x114),new _0x39a66c(_0x4c42c3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x40e4c4}from'ckeditor5/src/core.js';import{ButtonView as _0x58809a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2986a6}from'ckeditor5/src/icons.js';import{createElement as _0x3517ba}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 _0x40e4c4{['_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 _0x2a0b7b=this['editor'];_0x2a0b7b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4ccd99=>{const _0xa696f4=_0x2a0b7b['commands']['get']('uploadcareImageEdit'),_0x196298=new _0x58809a(_0x4ccd99),t=_0x4ccd99['t'];return _0x196298['set']({'icon':_0x2986a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x196298['bind']('isEnabled')['to'](_0xa696f4),_0x196298['bind']('isOn')['to'](_0xa696f4,'isActive'),this['listenTo'](_0x196298,'execute',()=>{_0x2a0b7b['execute']('uploadcareImageEdit'),_0x2a0b7b['editing']['view']['focus']();}),_0x196298;}),this['_initConfig']();}['_initConfig'](){const _0x15706d=_0x3517ba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15706d),this['listenTo'](this['editor'],'destroy',()=>{_0x15706d['remove']();});}}
23
+ import{Plugin as _0x4a1a55}from'ckeditor5/src/core.js';import{ButtonView as _0x2b4c7f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x16b70a}from'ckeditor5/src/icons.js';import{createElement as _0x1fa6a4}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 _0x4a1a55{['_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 _0x1d7aec=this['editor'];_0x1d7aec['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ad03f=>{const _0x56b145=_0x1d7aec['commands']['get']('uploadcareImageEdit'),_0x1b1bb6=new _0x2b4c7f(_0x5ad03f),t=_0x5ad03f['t'];return _0x1b1bb6['set']({'icon':_0x16b70a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1b1bb6['bind']('isEnabled')['to'](_0x56b145),_0x1b1bb6['bind']('isOn')['to'](_0x56b145,'isActive'),this['listenTo'](_0x1b1bb6,'execute',()=>{_0x1d7aec['execute']('uploadcareImageEdit'),_0x1d7aec['editing']['view']['focus']();}),_0x1b1bb6;}),this['_initConfig']();}['_initConfig'](){const _0x1b64ac=_0x1fa6a4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1b64ac),this['listenTo'](this['editor'],'destroy',()=>{_0x1b64ac['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a69(){const _0x226d1d=['selection','change','imageBlock','6073fpdrkN','imageInline','getSelectedElement','isEnabled','35528IgkdWF','element','srcset','document','763zSAnAS','5936340FZAUHG','editor','model','12955460qfVIGt','sizes','removeAttribute','2076mAmRyO','10570707zYBeDr','refresh','2361174oXVCiV','140EcNnvM','setAttributes','execute','6906GSGIVM'];_0x3a69=function(){return _0x226d1d;};return _0x3a69();}const _0x4958a0=_0x418b;function _0x418b(_0x1b4708,_0x172073){const _0x3a6900=_0x3a69();return _0x418b=function(_0x418bf9,_0x32d68c){_0x418bf9=_0x418bf9-0x6b;let _0x2deece=_0x3a6900[_0x418bf9];return _0x2deece;},_0x418b(_0x1b4708,_0x172073);}(function(_0x5c14eb,_0x229fd6){const _0x45101f=_0x418b,_0xbb9ecc=_0x5c14eb();while(!![]){try{const _0x55ac1e=parseInt(_0x45101f(0x7a))/0x1*(parseInt(_0x45101f(0x73))/0x2)+parseInt(_0x45101f(0x76))/0x3*(-parseInt(_0x45101f(0x6f))/0x4)+parseInt(_0x45101f(0x83))/0x5+-parseInt(_0x45101f(0x72))/0x6+parseInt(_0x45101f(0x82))/0x7*(parseInt(_0x45101f(0x7e))/0x8)+-parseInt(_0x45101f(0x70))/0x9+parseInt(_0x45101f(0x6c))/0xa;if(_0x55ac1e===_0x229fd6)break;else _0xbb9ecc['push'](_0xbb9ecc['shift']());}catch(_0x4d35f2){_0xbb9ecc['push'](_0xbb9ecc['shift']());}}}(_0x3a69,0x999d3));import{Command as _0x5bac6a}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5bac6a{[_0x4958a0(0x71)](){const _0x2eda9c=_0x4958a0,_0x528fbf=this[_0x2eda9c(0x84)][_0x2eda9c(0x6b)][_0x2eda9c(0x81)][_0x2eda9c(0x77)][_0x2eda9c(0x7c)]();this[_0x2eda9c(0x7d)]=Boolean(_0x528fbf&&(_0x528fbf['is'](_0x2eda9c(0x7f),_0x2eda9c(0x79))||_0x528fbf['is'](_0x2eda9c(0x7f),_0x2eda9c(0x7b))));}[_0x4958a0(0x75)](_0x42918a){const _0x49f8f9=_0x4958a0,_0x128569=this[_0x49f8f9(0x84)][_0x49f8f9(0x6b)][_0x49f8f9(0x81)][_0x49f8f9(0x77)][_0x49f8f9(0x7c)]();this[_0x49f8f9(0x84)][_0x49f8f9(0x6b)][_0x49f8f9(0x78)](_0xf0764a=>{const _0x19f3ac=_0x49f8f9;_0xf0764a[_0x19f3ac(0x74)](_0x42918a,_0x128569),_0xf0764a[_0x19f3ac(0x6e)](_0x19f3ac(0x80),_0x128569),_0xf0764a[_0x19f3ac(0x6e)](_0x19f3ac(0x6d),_0x128569);});}}
23
+ function _0x474b(_0x3cf548,_0xf4de8d){const _0x2e2bf3=_0x2e2b();return _0x474b=function(_0x474bd2,_0x5afb84){_0x474bd2=_0x474bd2-0x1c0;let _0x3ff2e1=_0x2e2bf3[_0x474bd2];return _0x3ff2e1;},_0x474b(_0x3cf548,_0xf4de8d);}const _0x499b87=_0x474b;function _0x2e2b(){const _0x185174=['10INmSfL','editor','element','getSelectedElement','isEnabled','549muekVS','1OeBttW','setAttributes','change','execute','2811916QHBTOk','refresh','model','10WbKoDW','273315TgGzKC','document','8957196ZIVgzv','9694586IQPbMc','25144BCXqPg','168wgYbfU','sizes','imageInline','16129755XZmcgq','imageBlock','removeAttribute','2797044bLPdDB','srcset','selection'];_0x2e2b=function(){return _0x185174;};return _0x2e2b();}(function(_0x4f9053,_0x554f16){const _0x508448=_0x474b,_0x1e8d69=_0x4f9053();while(!![]){try{const _0x5c963b=-parseInt(_0x508448(0x1d4))/0x1*(-parseInt(_0x508448(0x1d8))/0x2)+-parseInt(_0x508448(0x1d3))/0x3*(-parseInt(_0x508448(0x1c4))/0x4)+-parseInt(_0x508448(0x1ce))/0x5*(parseInt(_0x508448(0x1cb))/0x6)+-parseInt(_0x508448(0x1c0))/0x7*(parseInt(_0x508448(0x1c5))/0x8)+parseInt(_0x508448(0x1c8))/0x9+-parseInt(_0x508448(0x1db))/0xa*(parseInt(_0x508448(0x1c3))/0xb)+-parseInt(_0x508448(0x1c2))/0xc;if(_0x5c963b===_0x554f16)break;else _0x1e8d69['push'](_0x1e8d69['shift']());}catch(_0x5273d7){_0x1e8d69['push'](_0x1e8d69['shift']());}}}(_0x2e2b,0xec6f7));import{Command as _0x5d415f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5d415f{[_0x499b87(0x1d9)](){const _0x50d8a9=_0x499b87,_0x4ebf39=this[_0x50d8a9(0x1cf)][_0x50d8a9(0x1da)][_0x50d8a9(0x1c1)][_0x50d8a9(0x1cd)][_0x50d8a9(0x1d1)]();this[_0x50d8a9(0x1d2)]=Boolean(_0x4ebf39&&(_0x4ebf39['is'](_0x50d8a9(0x1d0),_0x50d8a9(0x1c9))||_0x4ebf39['is'](_0x50d8a9(0x1d0),_0x50d8a9(0x1c7))));}[_0x499b87(0x1d7)](_0x4ab023){const _0x5051fa=_0x499b87,_0x32b8b1=this[_0x5051fa(0x1cf)][_0x5051fa(0x1da)][_0x5051fa(0x1c1)][_0x5051fa(0x1cd)][_0x5051fa(0x1d1)]();this[_0x5051fa(0x1cf)][_0x5051fa(0x1da)][_0x5051fa(0x1d6)](_0x2c219e=>{const _0x208d76=_0x5051fa;_0x2c219e[_0x208d76(0x1d5)](_0x4ab023,_0x32b8b1),_0x2c219e[_0x208d76(0x1ca)](_0x208d76(0x1cc),_0x32b8b1),_0x2c219e[_0x208d76(0x1ca)](_0x208d76(0x1c6),_0x32b8b1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c1d0b=_0x599c;function _0x599c(_0x4b0e7b,_0x29bb97){var _0xcdcda0=_0xcdcd();return _0x599c=function(_0x599cf9,_0x3ca804){_0x599cf9=_0x599cf9-0x15e;var _0x2a6078=_0xcdcda0[_0x599cf9];return _0x2a6078;},_0x599c(_0x4b0e7b,_0x29bb97);}(function(_0x43fe8d,_0x393ff2){var _0x24e3e7=_0x599c,_0x1df22d=_0x43fe8d();while(!![]){try{var _0x38f07f=-parseInt(_0x24e3e7(0x15e))/0x1*(parseInt(_0x24e3e7(0x167))/0x2)+-parseInt(_0x24e3e7(0x162))/0x3*(-parseInt(_0x24e3e7(0x16e))/0x4)+-parseInt(_0x24e3e7(0x169))/0x5*(-parseInt(_0x24e3e7(0x161))/0x6)+-parseInt(_0x24e3e7(0x15f))/0x7+parseInt(_0x24e3e7(0x165))/0x8*(-parseInt(_0x24e3e7(0x16b))/0x9)+-parseInt(_0x24e3e7(0x16a))/0xa+parseInt(_0x24e3e7(0x16d))/0xb*(parseInt(_0x24e3e7(0x16c))/0xc);if(_0x38f07f===_0x393ff2)break;else _0x1df22d['push'](_0x1df22d['shift']());}catch(_0x170066){_0x1df22d['push'](_0x1df22d['shift']());}}}(_0xcdcd,0xe63ec));import{Plugin as _0x2fbb2e}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x17f79f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xcdcd(){var _0x23629e=['requires','222KpCedn','isPremiumPlugin','5hIPHTb','6836110PUqIQL','9929979MnODXC','12732024CwzAHw','22ZfmOwi','8348GijWmJ','6561bWuqwx','6424005xIfOGK','isOfficialPlugin','7400790MFxvVp','1467XFBimz','pluginName','UploadcareImageEdit','8twfnLD'];_0xcdcd=function(){return _0x23629e;};return _0xcdcd();}import{UploadcareImageEditUI as _0x92abf2}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2fbb2e{static get[_0x3c1d0b(0x163)](){var _0x5711cf=_0x3c1d0b;return _0x5711cf(0x164);}static get[_0x3c1d0b(0x166)](){return[_0x17f79f,_0x92abf2];}static get[_0x3c1d0b(0x160)](){return!0x0;}static get[_0x3c1d0b(0x168)](){return!0x0;}}
23
+ var _0x2693ef=_0x28b9;function _0x1ecc(){var _0x2a356a=['pluginName','30gQrMSQ','isOfficialPlugin','39VSNdSb','68550mCjjeA','1820ZSxptE','278555jEtOqU','isPremiumPlugin','27264GwxgWo','4762143JsfeSZ','3395276gEWrAh','UploadcareImageEdit','113586uAOLOq','1456QfNcqo','138766WRGCmr','requires'];_0x1ecc=function(){return _0x2a356a;};return _0x1ecc();}(function(_0x19cf19,_0x3dbc9b){var _0x5070f0=_0x28b9,_0xc80ff0=_0x19cf19();while(!![]){try{var _0x3801ca=-parseInt(_0x5070f0(0x82))/0x1+-parseInt(_0x5070f0(0x7c))/0x2*(-parseInt(_0x5070f0(0x81))/0x3)+parseInt(_0x5070f0(0x78))/0x4+-parseInt(_0x5070f0(0x74))/0x5*(parseInt(_0x5070f0(0x7f))/0x6)+parseInt(_0x5070f0(0x7b))/0x7*(parseInt(_0x5070f0(0x76))/0x8)+parseInt(_0x5070f0(0x77))/0x9+parseInt(_0x5070f0(0x83))/0xa*(-parseInt(_0x5070f0(0x7a))/0xb);if(_0x3801ca===_0x3dbc9b)break;else _0xc80ff0['push'](_0xc80ff0['shift']());}catch(_0xef929f){_0xc80ff0['push'](_0xc80ff0['shift']());}}}(_0x1ecc,0xba1f0));import{Plugin as _0x3490e2}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x20cb87}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3e1233}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x28b9(_0x18712e,_0x493e02){var _0x1ecce2=_0x1ecc();return _0x28b9=function(_0x28b9a4,_0x30a2f1){_0x28b9a4=_0x28b9a4-0x74;var _0x3675f6=_0x1ecce2[_0x28b9a4];return _0x3675f6;},_0x28b9(_0x18712e,_0x493e02);}export class UploadcareImageEdit extends _0x3490e2{static get[_0x2693ef(0x7e)](){var _0x214a2a=_0x2693ef;return _0x214a2a(0x79);}static get[_0x2693ef(0x7d)](){return[_0x20cb87,_0x3e1233];}static get[_0x2693ef(0x80)](){return!0x0;}static get[_0x2693ef(0x75)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23f8c6=_0x3d88;(function(_0x10335a,_0x1c2e6c){const _0xe6451f=_0x3d88,_0x220d43=_0x10335a();while(!![]){try{const _0x35e930=-parseInt(_0xe6451f(0x1bb))/0x1+parseInt(_0xe6451f(0x1b5))/0x2*(parseInt(_0xe6451f(0x1e3))/0x3)+-parseInt(_0xe6451f(0x1d3))/0x4*(parseInt(_0xe6451f(0x1d4))/0x5)+-parseInt(_0xe6451f(0x1ce))/0x6+-parseInt(_0xe6451f(0x1f2))/0x7+parseInt(_0xe6451f(0x1f4))/0x8*(-parseInt(_0xe6451f(0x1c7))/0x9)+-parseInt(_0xe6451f(0x1f9))/0xa*(-parseInt(_0xe6451f(0x1b1))/0xb);if(_0x35e930===_0x1c2e6c)break;else _0x220d43['push'](_0x220d43['shift']());}catch(_0xbcf23a){_0x220d43['push'](_0x220d43['shift']());}}}(_0x3d67,0x91bf2));import{Plugin as _0x581abd}from'ckeditor5/src/core.js';function _0x3d67(){const _0x39b32f=['locale','isEnabled','uploadcare.uploader.sourceList','_normalizeConfigSourceList','_createButton','isPremiumPlugin','1135746OvnsxC','uploadcareLicenseKeyNotAllowed','assetManager','destroy','domainLimit','4TqjJyj','3829255VXmPHF','uploadcareLicenseKeyExpired','uploadcareLicenseKeyTrialLimit','map','shortText','Facebook','Dropbox','editor','_createMenuBarButtons','type','url','label','uploadcareLicenseKeyUsageLimit','featureNotAllowed','pluginName','2162172GsOjks','config','usageLimit','execute','isOfficialPlugin','uploadcareLicenseKeyInvalid','tooltip','evaluationLimit','isImageSelected','ImageInsertUI','uploadcareLicenseKeyDomainLimit','_createDropdownButtons','_showLicenseError','reduce','_getIntegrationKey','5932780ShUmkQ','GPhotos','56HoOabr','_licenseKeyCheckInterval','UploadcareUI','expired','icon','1810ZPehMC','trialLimit','text','invalid','URL','Uploadcare','uploadcareLicenseKeyEvaluationLimit','forEach','Insert','Local','228965NlDXRY','upload','Replace','registerIntegration','2CASUZq','OneDrive','afterInit','init','get','commands','1191165aLnTTa','withText','push','uploadcareLicenseKeyValid','entries','plugins','has','licenseKey','_createToolbarButton','GDrive','bind','uploadcare','1153818WEuGcx'];_0x3d67=function(){return _0x39b32f;};return _0x3d67();}import{IconDropbox as _0x420dc7,IconFacebook as _0x6b2c72,IconGoogleDrive as _0x453670,IconGooglePhotos as _0x376e3f,IconUploadcareImageUpload as _0x440523,IconUploadcareLink as _0x1c645d,IconOneDrive as _0x2c7a7c}from'ckeditor5/src/icons.js';function _0x3d88(_0x589ac4,_0x396910){const _0x3d67e4=_0x3d67();return _0x3d88=function(_0x3d88da,_0x1e0ee0){_0x3d88da=_0x3d88da-0x1ac;let _0x2f44b9=_0x3d67e4[_0x3d88da];return _0x2f44b9;},_0x3d88(_0x589ac4,_0x396910);}import{ButtonView as _0x28500e,MenuBarMenuListItemButtonView as _0x3de252}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x6a0990}from'./uploadcareconfig.js';import{getTranslation as _0x2ae3da}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x581abd{[_0x23f8c6(0x1c2)];[_0x23f8c6(0x1f5)];static get[_0x23f8c6(0x1e2)](){const _0x3cb8e9=_0x23f8c6;return _0x3cb8e9(0x1f6);}static get[_0x23f8c6(0x1e7)](){return!0x0;}static get[_0x23f8c6(0x1cd)](){return!0x0;}[_0x23f8c6(0x1b8)](){const _0x3f1b71=_0x23f8c6;this[_0x3f1b71(0x1c2)]=this[_0x3f1b71(0x1db)][_0x3f1b71(0x1e4)][_0x3f1b71(0x1b9)](_0x3f1b71(0x1c2));const _0x3d9fee=this[_0x3f1b71(0x1db)];this[_0x3f1b71(0x1f5)]=setInterval(()=>{const _0xa52964=_0x3f1b71;let _0xb801a6;for(const _0xe728e3 in _0x3d9fee){const _0x585949=_0xe728e3,_0x50bd20=_0x3d9fee[_0x585949];if(_0xa52964(0x1be)==_0x50bd20||_0xa52964(0x1e8)==_0x50bd20||_0xa52964(0x1d5)==_0x50bd20||_0xa52964(0x1ed)==_0x50bd20||_0xa52964(0x1cf)==_0x50bd20||_0xa52964(0x1ad)==_0x50bd20||_0xa52964(0x1d6)==_0x50bd20||_0xa52964(0x1e0)==_0x50bd20){delete _0x3d9fee[_0x585949],_0xb801a6=_0x50bd20,clearInterval(this[_0xa52964(0x1f5)]),this[_0xa52964(0x1f5)]=void 0x0;break;}}_0xa52964(0x1e8)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1fc)),_0xa52964(0x1d5)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1f7)),_0xa52964(0x1ed)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1d2)),_0xa52964(0x1cf)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1e1),_0xa52964(0x1ac)),_0xa52964(0x1ad)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1ea)),_0xa52964(0x1d6)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1fa)),_0xa52964(0x1e0)==_0xb801a6&&_0x3d9fee[_0xa52964(0x1ef)](_0xa52964(0x1e5));},0x3e8);}[_0x23f8c6(0x1b7)](){const _0x39ef64=_0x23f8c6,{editor:_0x35fd3b}=this,_0x23d897=_0x35fd3b[_0x39ef64(0x1ba)][_0x39ef64(0x1b9)](_0x39ef64(0x1c6));if(!_0x23d897)return;const _0x2093ed=this[_0x39ef64(0x1cb)](_0x35fd3b[_0x39ef64(0x1e4)][_0x39ef64(0x1b9)](_0x39ef64(0x1ca)))[_0x39ef64(0x1f0)]((_0x8a0ecf,_0xcf7354)=>{const _0x2b2172=_0x39ef64,_0x290ebb=this[_0x2b2172(0x1f1)](_0xcf7354[_0x2b2172(0x1dd)]);return _0x8a0ecf[_0x290ebb]||(_0x8a0ecf[_0x290ebb]=[]),_0x8a0ecf[_0x290ebb][_0x2b2172(0x1bd)](_0xcf7354),_0x8a0ecf;},{});_0x35fd3b[_0x39ef64(0x1c0)][_0x39ef64(0x1c1)](_0x39ef64(0x1ec))&&_0x35fd3b[_0x39ef64(0x1ba)][_0x39ef64(0x1b9)](_0x39ef64(0x1c6))&&Object[_0x39ef64(0x1bf)](_0x2093ed)[_0x39ef64(0x1ae)](([_0x2e6019,_0x4e0cf9])=>{const _0x38340c=_0x39ef64;_0x35fd3b[_0x38340c(0x1c0)][_0x38340c(0x1b9)](_0x38340c(0x1ec))[_0x38340c(0x1b4)]({'name':_0x2e6019,'observable':()=>_0x23d897,'buttonViewCreator':()=>this[_0x38340c(0x1c3)](_0x4e0cf9),'formViewCreator':()=>this[_0x38340c(0x1ee)](_0x4e0cf9),'menuBarButtonViewCreator':()=>this[_0x38340c(0x1dc)](_0x4e0cf9),'override':_0x38340c(0x1d0)!==_0x2e6019});});}[_0x23f8c6(0x1d1)](){const _0x5df97a=_0x23f8c6;super[_0x5df97a(0x1d1)](),this[_0x5df97a(0x1f5)]&&clearInterval(this[_0x5df97a(0x1f5)]);}[_0x23f8c6(0x1cb)](_0x442341){const _0x54b6a2=_0x23f8c6,{locale:_0xcc256c}=this[_0x54b6a2(0x1db)];return _0x442341[_0x54b6a2(0x1d7)](_0x32d195=>{const _0x11ee1a=_0x54b6a2,_0x205d5d=_0x2ae3da(_0xcc256c,_0x32d195,_0x11ee1a(0x1af));switch(_0x32d195){case _0x6a0990[_0x11ee1a(0x1b0)]:return{'icon':_0x440523,'type':_0x6a0990[_0x11ee1a(0x1b0)],..._0x205d5d};case _0x6a0990[_0x11ee1a(0x1fd)]:return{'icon':_0x1c645d,'type':_0x6a0990[_0x11ee1a(0x1fd)],..._0x205d5d};case _0x6a0990[_0x11ee1a(0x1da)]:return{'icon':_0x420dc7,'type':_0x6a0990[_0x11ee1a(0x1da)],..._0x205d5d};case _0x6a0990[_0x11ee1a(0x1d9)]:return{'icon':_0x6b2c72,'type':_0x6a0990[_0x11ee1a(0x1d9)],..._0x205d5d};case _0x6a0990[_0x11ee1a(0x1c4)]:return{'icon':_0x453670,'type':_0x6a0990[_0x11ee1a(0x1c4)],..._0x205d5d};case _0x6a0990[_0x11ee1a(0x1f3)]:return{'icon':_0x376e3f,'type':_0x6a0990[_0x11ee1a(0x1f3)],..._0x205d5d};case _0x6a0990[_0x11ee1a(0x1b6)]:return{'icon':_0x2c7a7c,'type':_0x6a0990[_0x11ee1a(0x1b6)],..._0x205d5d};}});}[_0x23f8c6(0x1f1)](_0x464896){const _0x1d4398=_0x23f8c6;switch(_0x464896){case _0x6a0990[_0x1d4398(0x1b0)]:return _0x1d4398(0x1b2);case _0x6a0990[_0x1d4398(0x1fd)]:return _0x1d4398(0x1de);default:return _0x1d4398(0x1d0);}}[_0x23f8c6(0x1cc)](_0x1d2f4f,_0x2db1e9){const _0x1abea9=_0x23f8c6,_0x410f9e=this[_0x1abea9(0x1db)],_0x738bb9=new _0x1d2f4f(_0x410f9e[_0x1abea9(0x1c8)]),_0x5ee874=_0x410f9e[_0x1abea9(0x1ba)][_0x1abea9(0x1b9)](_0x1abea9(0x1c6));return _0x738bb9[_0x1abea9(0x1c5)](_0x1abea9(0x1c9))['to'](_0x5ee874),_0x738bb9['on'](_0x1abea9(0x1e6),()=>{const _0x27d2b1=_0x1abea9;_0x5ee874[_0x27d2b1(0x1e6)](_0x2db1e9);}),_0x738bb9;}[_0x23f8c6(0x1c3)](_0x576284){const _0x3bcbea=_0x23f8c6,{locale:_0x77f4a2}=this[_0x3bcbea(0x1db)],_0xa04824=this[_0x3bcbea(0x1db)][_0x3bcbea(0x1c0)][_0x3bcbea(0x1b9)](_0x3bcbea(0x1ec)),_0x5ab9a3=_0x576284[0x0],_0x175c0c=this[_0x3bcbea(0x1cc)](_0x28500e,_0x5ab9a3[_0x3bcbea(0x1dd)]);return _0x175c0c[_0x3bcbea(0x1f8)]=_0x5ab9a3[_0x3bcbea(0x1f8)],_0x175c0c[_0x3bcbea(0x1c5)](_0x3bcbea(0x1df))['to'](_0xa04824,_0x3bcbea(0x1eb),_0x42cf97=>_0x2ae3da(_0x77f4a2,_0x5ab9a3[_0x3bcbea(0x1dd)],_0x42cf97?_0x3bcbea(0x1b3):_0x3bcbea(0x1af))[_0x3bcbea(0x1fb)]),_0x175c0c[_0x3bcbea(0x1e9)]=!0x0,_0x175c0c;}[_0x23f8c6(0x1ee)](_0x1a52fc){const _0x5839c1=_0x23f8c6,{locale:_0x568524}=this[_0x5839c1(0x1db)],_0x2ee961=this[_0x5839c1(0x1db)][_0x5839c1(0x1c0)][_0x5839c1(0x1b9)](_0x5839c1(0x1ec));return _0x1a52fc[_0x5839c1(0x1d7)](_0x33f7d6=>{const _0x3c27db=_0x5839c1,_0x165427=this[_0x3c27db(0x1cc)](_0x28500e,_0x33f7d6[_0x3c27db(0x1dd)]);return _0x165427[_0x3c27db(0x1bc)]=!0x0,_0x165427[_0x3c27db(0x1f8)]=_0x33f7d6[_0x3c27db(0x1f8)],_0x165427[_0x3c27db(0x1c5)](_0x3c27db(0x1df))['to'](_0x2ee961,_0x3c27db(0x1eb),_0x31254b=>_0x2ae3da(_0x568524,_0x33f7d6[_0x3c27db(0x1dd)],_0x31254b?_0x3c27db(0x1b3):_0x3c27db(0x1af))[_0x3c27db(0x1fb)]),_0x165427;});}[_0x23f8c6(0x1dc)](_0x4a75b4){const _0x2b7121=_0x23f8c6;return _0x4a75b4[_0x2b7121(0x1d7)](_0x1ca3a2=>{const _0x11d0d0=_0x2b7121,_0x29b4da=this[_0x11d0d0(0x1cc)](_0x3de252,_0x1ca3a2[_0x11d0d0(0x1dd)]);return _0x29b4da[_0x11d0d0(0x1f8)]=_0x1ca3a2[_0x11d0d0(0x1f8)],_0x29b4da[_0x11d0d0(0x1df)]=_0x1ca3a2[_0x11d0d0(0x1d8)],_0x29b4da;});}}
23
+ const _0x415d6b=_0x1321;function _0x1321(_0x476c07,_0x16891c){const _0x4dde63=_0x4dde();return _0x1321=function(_0x13219b,_0x2772e5){_0x13219b=_0x13219b-0x68;let _0x48aae0=_0x4dde63[_0x13219b];return _0x48aae0;},_0x1321(_0x476c07,_0x16891c);}(function(_0x5cd482,_0x41cb32){const _0x2f42af=_0x1321,_0x505a8c=_0x5cd482();while(!![]){try{const _0x472ca2=-parseInt(_0x2f42af(0x99))/0x1+-parseInt(_0x2f42af(0x70))/0x2*(-parseInt(_0x2f42af(0x71))/0x3)+parseInt(_0x2f42af(0xb7))/0x4*(-parseInt(_0x2f42af(0x6b))/0x5)+-parseInt(_0x2f42af(0x9f))/0x6+parseInt(_0x2f42af(0x87))/0x7*(parseInt(_0x2f42af(0x86))/0x8)+-parseInt(_0x2f42af(0xa6))/0x9*(parseInt(_0x2f42af(0xb9))/0xa)+parseInt(_0x2f42af(0x90))/0xb;if(_0x472ca2===_0x41cb32)break;else _0x505a8c['push'](_0x505a8c['shift']());}catch(_0x433d75){_0x505a8c['push'](_0x505a8c['shift']());}}}(_0x4dde,0xa1e29));import{Plugin as _0x56a709}from'ckeditor5/src/core.js';import{IconDropbox as _0x232f2c,IconFacebook as _0xb71134,IconGoogleDrive as _0x1f96cc,IconGooglePhotos as _0x562eef,IconUploadcareImageUpload as _0x50fe06,IconUploadcareLink as _0x78ad85,IconOneDrive as _0x21fefe}from'ckeditor5/src/icons.js';import{ButtonView as _0x5b4576,MenuBarMenuListItemButtonView as _0x213f2c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x26267d}from'./uploadcareconfig.js';function _0x4dde(){const _0x411dad=['upload','has','domainLimit','config','_licenseKeyCheckInterval','type','isOfficialPlugin','text','get','Facebook','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyEvaluationLimit','expired','Replace','Local','39112oUforR','1071EaGmPh','label','GPhotos','_getIntegrationKey','plugins','assetManager','icon','evaluationLimit','uploadcareLicenseKeyExpired','11059290MyMZhx','afterInit','uploadcareLicenseKeyUsageLimit','reduce','isPremiumPlugin','url','execute','uploadcareLicenseKeyNotAllowed','bind','7542cPcdsf','Insert','editor','OneDrive','uploadcareLicenseKeyValid','ImageInsertUI','3009732KRFeNv','push','Dropbox','destroy','tooltip','entries','isEnabled','18LPZyes','usageLimit','shortText','_createMenuBarButtons','_createDropdownButtons','isImageSelected','withText','invalid','featureNotAllowed','_createToolbarButton','map','forEach','pluginName','_showLicenseError','registerIntegration','Uploadcare','_createButton','3124PbGMjf','commands','2654450gnpiaC','init','locale','uploadcareLicenseKeyInvalid','1255NfBKdW','_normalizeConfigSourceList','uploadcare','uploadcare.uploader.sourceList','trialLimit','291518aIewpC','3WppUlK','uploadcareLicenseKeyDomainLimit','UploadcareUI','licenseKey','GDrive','URL'];_0x4dde=function(){return _0x411dad;};return _0x4dde();}import{getTranslation as _0x4b1651}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x56a709{[_0x415d6b(0x74)];[_0x415d6b(0x7b)];static get[_0x415d6b(0xb2)](){const _0x250461=_0x415d6b;return _0x250461(0x73);}static get[_0x415d6b(0x7d)](){return!0x0;}static get[_0x415d6b(0x94)](){return!0x0;}[_0x415d6b(0x68)](){const _0x535322=_0x415d6b;this[_0x535322(0x74)]=this[_0x535322(0x9b)][_0x535322(0x7a)][_0x535322(0x7f)](_0x535322(0x74));const _0x323574=this[_0x535322(0x9b)];this[_0x535322(0x7b)]=setInterval(()=>{const _0x298b6a=_0x535322;let _0x333d95;for(const _0x3d0f19 in _0x323574){const _0x171f2f=_0x3d0f19,_0x263035=_0x323574[_0x171f2f];if(_0x298b6a(0x9d)==_0x263035||_0x298b6a(0x6a)==_0x263035||_0x298b6a(0x8f)==_0x263035||_0x298b6a(0x72)==_0x263035||_0x298b6a(0x97)==_0x263035||_0x298b6a(0x82)==_0x263035||_0x298b6a(0x81)==_0x263035||_0x298b6a(0x92)==_0x263035){delete _0x323574[_0x171f2f],_0x333d95=_0x263035,clearInterval(this[_0x298b6a(0x7b)]),this[_0x298b6a(0x7b)]=void 0x0;break;}}_0x298b6a(0x6a)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0xad)),_0x298b6a(0x8f)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0x83)),_0x298b6a(0x72)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0x79)),_0x298b6a(0x97)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0xae),_0x298b6a(0xb5)),_0x298b6a(0x82)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0x8e)),_0x298b6a(0x81)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0x6f)),_0x298b6a(0x92)==_0x333d95&&_0x323574[_0x298b6a(0xb3)](_0x298b6a(0xa7));},0x3e8);}[_0x415d6b(0x91)](){const _0x2c6f35=_0x415d6b,{editor:_0x4a17cb}=this,_0x456d10=_0x4a17cb[_0x2c6f35(0xb8)][_0x2c6f35(0x7f)](_0x2c6f35(0x6d));if(!_0x456d10)return;const _0x2e373a=this[_0x2c6f35(0x6c)](_0x4a17cb[_0x2c6f35(0x7a)][_0x2c6f35(0x7f)](_0x2c6f35(0x6e)))[_0x2c6f35(0x93)]((_0x2d854c,_0x50a8a2)=>{const _0x4028be=_0x2c6f35,_0x1f0240=this[_0x4028be(0x8a)](_0x50a8a2[_0x4028be(0x7c)]);return _0x2d854c[_0x1f0240]||(_0x2d854c[_0x1f0240]=[]),_0x2d854c[_0x1f0240][_0x4028be(0xa0)](_0x50a8a2),_0x2d854c;},{});_0x4a17cb[_0x2c6f35(0x8b)][_0x2c6f35(0x78)](_0x2c6f35(0x9e))&&_0x4a17cb[_0x2c6f35(0xb8)][_0x2c6f35(0x7f)](_0x2c6f35(0x6d))&&Object[_0x2c6f35(0xa4)](_0x2e373a)[_0x2c6f35(0xb1)](([_0xf2a332,_0x58e3e1])=>{const _0xea2452=_0x2c6f35;_0x4a17cb[_0xea2452(0x8b)][_0xea2452(0x7f)](_0xea2452(0x9e))[_0xea2452(0xb4)]({'name':_0xf2a332,'observable':()=>_0x456d10,'buttonViewCreator':()=>this[_0xea2452(0xaf)](_0x58e3e1),'formViewCreator':()=>this[_0xea2452(0xaa)](_0x58e3e1),'menuBarButtonViewCreator':()=>this[_0xea2452(0xa9)](_0x58e3e1),'override':_0xea2452(0x8c)!==_0xf2a332});});}[_0x415d6b(0xa2)](){const _0x4b3f4b=_0x415d6b;super[_0x4b3f4b(0xa2)](),this[_0x4b3f4b(0x7b)]&&clearInterval(this[_0x4b3f4b(0x7b)]);}[_0x415d6b(0x6c)](_0x466a1d){const _0xfe4389=_0x415d6b,{locale:_0x34f6ec}=this[_0xfe4389(0x9b)];return _0x466a1d[_0xfe4389(0xb0)](_0x5afe72=>{const _0x22325c=_0xfe4389,_0x1d6351=_0x4b1651(_0x34f6ec,_0x5afe72,_0x22325c(0x9a));switch(_0x5afe72){case _0x26267d[_0x22325c(0x85)]:return{'icon':_0x50fe06,'type':_0x26267d[_0x22325c(0x85)],..._0x1d6351};case _0x26267d[_0x22325c(0x76)]:return{'icon':_0x78ad85,'type':_0x26267d[_0x22325c(0x76)],..._0x1d6351};case _0x26267d[_0x22325c(0xa1)]:return{'icon':_0x232f2c,'type':_0x26267d[_0x22325c(0xa1)],..._0x1d6351};case _0x26267d[_0x22325c(0x80)]:return{'icon':_0xb71134,'type':_0x26267d[_0x22325c(0x80)],..._0x1d6351};case _0x26267d[_0x22325c(0x75)]:return{'icon':_0x1f96cc,'type':_0x26267d[_0x22325c(0x75)],..._0x1d6351};case _0x26267d[_0x22325c(0x89)]:return{'icon':_0x562eef,'type':_0x26267d[_0x22325c(0x89)],..._0x1d6351};case _0x26267d[_0x22325c(0x9c)]:return{'icon':_0x21fefe,'type':_0x26267d[_0x22325c(0x9c)],..._0x1d6351};}});}[_0x415d6b(0x8a)](_0x46f74f){const _0x1213ec=_0x415d6b;switch(_0x46f74f){case _0x26267d[_0x1213ec(0x85)]:return _0x1213ec(0x77);case _0x26267d[_0x1213ec(0x76)]:return _0x1213ec(0x95);default:return _0x1213ec(0x8c);}}[_0x415d6b(0xb6)](_0x39bef4,_0x358c29){const _0x2d19c5=_0x415d6b,_0x4f7a08=this[_0x2d19c5(0x9b)],_0x59e054=new _0x39bef4(_0x4f7a08[_0x2d19c5(0x69)]),_0x269643=_0x4f7a08[_0x2d19c5(0xb8)][_0x2d19c5(0x7f)](_0x2d19c5(0x6d));return _0x59e054[_0x2d19c5(0x98)](_0x2d19c5(0xa5))['to'](_0x269643),_0x59e054['on'](_0x2d19c5(0x96),()=>{const _0x35482c=_0x2d19c5;_0x269643[_0x35482c(0x96)](_0x358c29);}),_0x59e054;}[_0x415d6b(0xaf)](_0x16b9ce){const _0x3985fc=_0x415d6b,{locale:_0x56cb8}=this[_0x3985fc(0x9b)],_0x36dd54=this[_0x3985fc(0x9b)][_0x3985fc(0x8b)][_0x3985fc(0x7f)](_0x3985fc(0x9e)),_0xa1159=_0x16b9ce[0x0],_0x4f5604=this[_0x3985fc(0xb6)](_0x5b4576,_0xa1159[_0x3985fc(0x7c)]);return _0x4f5604[_0x3985fc(0x8d)]=_0xa1159[_0x3985fc(0x8d)],_0x4f5604[_0x3985fc(0x98)](_0x3985fc(0x88))['to'](_0x36dd54,_0x3985fc(0xab),_0x51f706=>_0x4b1651(_0x56cb8,_0xa1159[_0x3985fc(0x7c)],_0x51f706?_0x3985fc(0x84):_0x3985fc(0x9a))[_0x3985fc(0x7e)]),_0x4f5604[_0x3985fc(0xa3)]=!0x0,_0x4f5604;}[_0x415d6b(0xaa)](_0x3abeee){const _0x1f725a=_0x415d6b,{locale:_0x2bcdcb}=this[_0x1f725a(0x9b)],_0x9bff29=this[_0x1f725a(0x9b)][_0x1f725a(0x8b)][_0x1f725a(0x7f)](_0x1f725a(0x9e));return _0x3abeee[_0x1f725a(0xb0)](_0x1361f4=>{const _0x38e370=_0x1f725a,_0x4ec299=this[_0x38e370(0xb6)](_0x5b4576,_0x1361f4[_0x38e370(0x7c)]);return _0x4ec299[_0x38e370(0xac)]=!0x0,_0x4ec299[_0x38e370(0x8d)]=_0x1361f4[_0x38e370(0x8d)],_0x4ec299[_0x38e370(0x98)](_0x38e370(0x88))['to'](_0x9bff29,_0x38e370(0xab),_0x3e902b=>_0x4b1651(_0x2bcdcb,_0x1361f4[_0x38e370(0x7c)],_0x3e902b?_0x38e370(0x84):_0x38e370(0x9a))[_0x38e370(0x7e)]),_0x4ec299;});}[_0x415d6b(0xa9)](_0x18c3d0){const _0x141107=_0x415d6b;return _0x18c3d0[_0x141107(0xb0)](_0x99b8c=>{const _0x328a13=_0x141107,_0x308feb=this[_0x328a13(0xb6)](_0x213f2c,_0x99b8c[_0x328a13(0x7c)]);return _0x308feb[_0x328a13(0x8d)]=_0x99b8c[_0x328a13(0x8d)],_0x308feb[_0x328a13(0x88)]=_0x99b8c[_0x328a13(0xa8)],_0x308feb;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1a8df3}from'ckeditor5/src/core.js';import{FileRepository as _0x625b0}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e5373}from'./uploadcareediting.js';import{UploadUtils as _0x4d3260}from'./utils/uploadutils.js';import{getImageUrls as _0x47da56}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a8df3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x625b0,_0x1e5373];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5436c3=this['editor'];if(!!!_0x5436c3['config']['get']('uploadcare'))return;_0x5436c3['plugins']['get'](_0x625b0)['createUploadAdapter']=_0x2dd7fe=>new k(_0x2dd7fe,_0x5436c3),_0x5436c3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2f4ccd,{imageElement:_0xc727d2,data:_0x641956})=>{_0x5436c3['model']['change'](_0x23dc2a=>{_0x23dc2a['setAttribute']('uploadcareImageId',_0x641956['uploadcareImageId'],_0xc727d2);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xd6f46c,_0x3b2d83){this['loader']=_0xd6f46c,this['editor']=_0x3b2d83,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x42dea0=await this['loader']['file'];return _0x4d3260['upload']({'file':_0x42dea0,'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':_0x1b283d=>{_0x1b283d&&_0x1b283d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1b283d['value']);}})['then'](async _0x397b1d=>{const {imageFallbackUrl:_0x4d6783,imageSources:_0x25fd25}=_0x47da56(_0x397b1d['cdnUrl'],_0x397b1d['imageInfo']['width']);return{'uploadcareImageId':_0x397b1d['uuid'],'default':_0x4d6783,'sources':_0x25fd25};})['catch'](()=>{const _0x16183f=t('Cannot\x20upload\x20file:')+('\x20'+_0x42dea0['name']+'.');return Promise['reject'](_0x16183f);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x14b8b4}from'ckeditor5/src/core.js';import{FileRepository as _0x4b1bc8}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x65f9ae}from'./uploadcareediting.js';import{UploadUtils as _0x725ef3}from'./utils/uploadutils.js';import{getImageUrls as _0x1073f5}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x14b8b4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4b1bc8,_0x65f9ae];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5db3b5=this['editor'];if(!!!_0x5db3b5['config']['get']('uploadcare'))return;_0x5db3b5['plugins']['get'](_0x4b1bc8)['createUploadAdapter']=_0x5660b1=>new k(_0x5660b1,_0x5db3b5),_0x5db3b5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1d8d98,{imageElement:_0x3016fd,data:_0x38cbd3})=>{_0x5db3b5['model']['change'](_0x1bb241=>{_0x1bb241['setAttribute']('uploadcareImageId',_0x38cbd3['uploadcareImageId'],_0x3016fd);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x41b6d4,_0xf862c5){this['loader']=_0x41b6d4,this['editor']=_0xf862c5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x168cdb=await this['loader']['file'];return _0x725ef3['upload']({'file':_0x168cdb,'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':_0x565c59=>{_0x565c59&&_0x565c59['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x565c59['value']);}})['then'](async _0x514b76=>{const {imageFallbackUrl:_0x18d5c,imageSources:_0x123d3c}=_0x1073f5(_0x514b76['cdnUrl'],_0x514b76['imageInfo']['width']);return{'uploadcareImageId':_0x514b76['uuid'],'default':_0x18d5c,'sources':_0x123d3c};})['catch'](()=>{const _0x3ab56f=t('Cannot\x20upload\x20file:')+('\x20'+_0x168cdb['name']+'.');return Promise['reject'](_0x3ab56f);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x12ee8f}from'../uploadcareconfig.js';export function getTranslation(_0x4e234d,_0x5aca1e,_0x16772e){const t=_0x4e234d['t'],_0x21d356=_0x4e234d['t'];switch(_0x5aca1e){case _0x12ee8f['Local']:return{'text':_0x21d356('Insert'===_0x16772e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x21d356('From\x20computer')};case _0x12ee8f['URL']:return{'text':'Insert'===_0x16772e?_0x21d356('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x21d356('Via\x20URL')};case _0x12ee8f['Dropbox']:return{'text':t('Insert'===_0x16772e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x12ee8f['Facebook']:return{'text':t('Insert'===_0x16772e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x12ee8f['GDrive']:return{'text':t('Insert'===_0x16772e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x12ee8f['GPhotos']:return{'text':t('Insert'===_0x16772e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x12ee8f['OneDrive']:return{'text':t('Insert'===_0x16772e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5aca1e;}}
23
+ import{UploadcareSource as _0x17b06e}from'../uploadcareconfig.js';export function getTranslation(_0x12466e,_0x5e9d0b,_0x2277f5){const t=_0x12466e['t'],_0x796444=_0x12466e['t'];switch(_0x5e9d0b){case _0x17b06e['Local']:return{'text':_0x796444('Insert'===_0x2277f5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x796444('From\x20computer')};case _0x17b06e['URL']:return{'text':'Insert'===_0x2277f5?_0x796444('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x796444('Via\x20URL')};case _0x17b06e['Dropbox']:return{'text':t('Insert'===_0x2277f5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x17b06e['Facebook']:return{'text':t('Insert'===_0x2277f5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x17b06e['GDrive']:return{'text':t('Insert'===_0x2277f5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x17b06e['GPhotos']:return{'text':t('Insert'===_0x2277f5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x17b06e['OneDrive']:return{'text':t('Insert'===_0x2277f5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5e9d0b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e4c56=_0x2ab8;(function(_0x412471,_0x2cd5ee){var _0x50888b=_0x2ab8,_0x4d4d8b=_0x412471();while(!![]){try{var _0x163708=-parseInt(_0x50888b(0x14e))/0x1*(parseInt(_0x50888b(0x14a))/0x2)+parseInt(_0x50888b(0x142))/0x3*(parseInt(_0x50888b(0x141))/0x4)+-parseInt(_0x50888b(0x13b))/0x5*(parseInt(_0x50888b(0x143))/0x6)+-parseInt(_0x50888b(0x144))/0x7*(-parseInt(_0x50888b(0x13d))/0x8)+-parseInt(_0x50888b(0x13a))/0x9*(-parseInt(_0x50888b(0x145))/0xa)+-parseInt(_0x50888b(0x146))/0xb*(parseInt(_0x50888b(0x139))/0xc)+parseInt(_0x50888b(0x13e))/0xd;if(_0x163708===_0x2cd5ee)break;else _0x4d4d8b['push'](_0x4d4d8b['shift']());}catch(_0x3da2de){_0x4d4d8b['push'](_0x4d4d8b['shift']());}}}(_0x29b2,0xebfe1));import{FocusTracker as _0x4227a9}from'ckeditor5/src/utils.js';function _0x29b2(){var _0x29c0ef=['27rNsfbV','4327182WDqwsA','343lgODIK','10veTlEl','3788521PFqVIM','focusTracker','focusCycler','fire','179488XOGUHh','createCollection','true','div','18QMeLBF','60BNfvQz','825534vMAXzn','10ceibVj','forwardCycle','151904OOtgGr','47475597YcVvJk','bindTemplate','getFocusableElement','476604jNfuzw'];_0x29b2=function(){return _0x29c0ef;};return _0x29b2();}import{View as _0x28361f,FocusCycler as _0x12805d}from'ckeditor5/src/ui.js';function _0x2ab8(_0x4b11ac,_0x325682){var _0x29b288=_0x29b2();return _0x2ab8=function(_0x2ab83d,_0x5bd130){_0x2ab83d=_0x2ab83d-0x139;var _0x12b430=_0x29b288[_0x2ab83d];return _0x12b430;},_0x2ab8(_0x4b11ac,_0x325682);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x28361f{[_0x1e4c56(0x147)];[_0x1e4c56(0x148)];constructor(_0x865e09){var _0x22742e=_0x1e4c56;super(_0x865e09),this[_0x22742e(0x147)]=new _0x4227a9(),this[_0x22742e(0x148)]=new _0x12805d({'focusables':this[_0x22742e(0x14b)](),'focusTracker':this[_0x22742e(0x147)]});}[_0x1e4c56(0x140)](){var _0x178e56=_0x1e4c56;return{'tag':_0x178e56(0x14d),'attributes':{'aria-hidden':_0x178e56(0x14c),'tabindex':'0'},'on':{'focus':this[_0x178e56(0x13f)]['to'](()=>{var _0xc04f73=_0x178e56;this[_0xc04f73(0x148)][_0xc04f73(0x149)](_0xc04f73(0x13c));})}};}}
23
+ var _0x3c7825=_0x2886;function _0x2886(_0x26009c,_0x3c11f8){var _0x347d0=_0x347d();return _0x2886=function(_0x288600,_0x34241e){_0x288600=_0x288600-0x1f1;var _0x49ff40=_0x347d0[_0x288600];return _0x49ff40;},_0x2886(_0x26009c,_0x3c11f8);}(function(_0x2de4a1,_0x49427c){var _0x54371f=_0x2886,_0x153d4b=_0x2de4a1();while(!![]){try{var _0x32daf0=-parseInt(_0x54371f(0x201))/0x1*(parseInt(_0x54371f(0x204))/0x2)+-parseInt(_0x54371f(0x202))/0x3+parseInt(_0x54371f(0x1f1))/0x4*(-parseInt(_0x54371f(0x203))/0x5)+parseInt(_0x54371f(0x1f9))/0x6+-parseInt(_0x54371f(0x1f4))/0x7*(parseInt(_0x54371f(0x1fd))/0x8)+parseInt(_0x54371f(0x1f6))/0x9+parseInt(_0x54371f(0x1f7))/0xa*(parseInt(_0x54371f(0x200))/0xb);if(_0x32daf0===_0x49427c)break;else _0x153d4b['push'](_0x153d4b['shift']());}catch(_0x536141){_0x153d4b['push'](_0x153d4b['shift']());}}}(_0x347d,0xba438));import{FocusTracker as _0x48990f}from'ckeditor5/src/utils.js';import{View as _0x3b75e3,FocusCycler as _0x20e599}from'ckeditor5/src/ui.js';function _0x347d(){var _0x884dd7=['96bWOOnb','getFocusableElement','focusTracker','22WTOpPr','1204001cQQcmr','2730294lRtgoh','15KSAuzB','2IspWVv','122768vVIzhr','fire','true','66857cuSufP','bindTemplate','9370026rLeEYo','9241340VIxBeK','focusCycler','1166046sGGYvL','createCollection','forwardCycle','div'];_0x347d=function(){return _0x884dd7;};return _0x347d();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3b75e3{[_0x3c7825(0x1ff)];[_0x3c7825(0x1f8)];constructor(_0x28d163){var _0x31f48a=_0x3c7825;super(_0x28d163),this[_0x31f48a(0x1ff)]=new _0x48990f(),this[_0x31f48a(0x1f8)]=new _0x20e599({'focusables':this[_0x31f48a(0x1fa)](),'focusTracker':this[_0x31f48a(0x1ff)]});}[_0x3c7825(0x1fe)](){var _0x371d40=_0x3c7825;return{'tag':_0x371d40(0x1fc),'attributes':{'aria-hidden':_0x371d40(0x1f3),'tabindex':'0'},'on':{'focus':this[_0x371d40(0x1f5)]['to'](()=>{var _0x209e32=_0x371d40;this[_0x209e32(0x1f8)][_0x209e32(0x1f2)](_0x209e32(0x1fb));})}};}}