@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251020.0 → 0.0.0-nightly-20251022.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 _0x3912b1=_0x1867;function _0x569c(){const _0x24a665=['getAttribute','uploadcare','531VxYwmC','downcast','getSelectedElement','elementToAttribute','input[uploadcare-file-input]','execute','978EgCPRd','isOfficialPlugin','10536sobdkE','_initConversion','UploadcareEditing','for','uploadcareImageReplace','editor','querySelector','true','listenTo','_ctxElement','closeMax','uc-config','upcast','destroy','252932SqbwrW','8591345XCONSK','imageInline','get','3jhoGtf','selection','contentLanguage','afterInit','data-uc-image-id','view','#uc-icon-arrow-down','_initSchema','pluginName','model','_initImageProcessingIndicator','join','imageBlock','ctxElement','9825tYCGCp','add','configElement','body','uploadcareImageId','uploadcare.uploader','removeAttribute','uploadcare.pubkey','editing','insertImage','href','schema','init','1506364OZacIo','iconHrefResolver','_initCtx','isRegistered','conversion','config','24831433ObdKXl','attributeToAttribute','PictureEditing','10zSyxzx','remove','ucContextId','extend','document','locale','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','requires','1590022IcDNLr','once','map','_initConfig','commands','uploader-','replaceImageSource','appendChild','cleanupImage','_configElement','isPremiumPlugin','fromCharCode','render','uc-upload-ctx-provider'];_0x569c=function(){return _0x24a665;};return _0x569c();}(function(_0x14244f,_0x129f8c){const _0x8e3452=_0x1867,_0x37a78b=_0x14244f();while(!![]){try{const _0x486518=parseInt(_0x8e3452(0x11e))/0x1+parseInt(_0x8e3452(0x14e))/0x2+parseInt(_0x8e3452(0x122))/0x3*(parseInt(_0x8e3452(0x13d))/0x4)+parseInt(_0x8e3452(0x130))/0x5*(parseInt(_0x8e3452(0x10e))/0x6)+parseInt(_0x8e3452(0x11f))/0x7+parseInt(_0x8e3452(0x110))/0x8*(-parseInt(_0x8e3452(0x15e))/0x9)+parseInt(_0x8e3452(0x146))/0xa*(-parseInt(_0x8e3452(0x143))/0xb);if(_0x486518===_0x129f8c)break;else _0x37a78b['push'](_0x37a78b['shift']());}catch(_0x2ad142){_0x37a78b['push'](_0x37a78b['shift']());}}}(_0x569c,0x9b882));function _0x1867(_0x32e68b,_0x56b45a){const _0x569c2f=_0x569c();return _0x1867=function(_0x1867c6,_0x62a7f4){_0x1867c6=_0x1867c6-0x10a;let _0xad8ac5=_0x569c2f[_0x1867c6];return _0xad8ac5;},_0x1867(_0x32e68b,_0x56b45a);}import{Plugin as _0x1fea4f}from'ckeditor5/src/core.js';import{Dialog as _0x4c3509}from'ckeditor5/src/ui.js';import{createElement as _0x47b04d,global as _0x4dff3a,uid as _0x20293c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3e5fe2}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1e8888}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x329e58}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1fea4f{[_0x3912b1(0x157)]=null;[_0x3912b1(0x119)]=null;static get[_0x3912b1(0x12a)](){const _0x4c1bb9=_0x3912b1;return _0x4c1bb9(0x112);}static get[_0x3912b1(0x14d)](){const _0x5ccb36=_0x3912b1;return[_0x5ccb36(0x145),_0x1e8888,_0x4c3509];}static get[_0x3912b1(0x10f)](){return!0x0;}static get[_0x3912b1(0x158)](){return!0x0;}[_0x3912b1(0x148)];get[_0x3912b1(0x132)](){const _0x5d53c8=_0x3912b1;return this[_0x5d53c8(0x157)];}get[_0x3912b1(0x12f)](){const _0x5c599b=_0x3912b1;return this[_0x5c599b(0x119)];}constructor(_0x496601){const _0x3db3a2=_0x3912b1;super(_0x496601),this[_0x3db3a2(0x148)]=_0x20293c();}[_0x3912b1(0x13c)](){const _0x6207cb=_0x3912b1,_0x61f6d=this[_0x6207cb(0x115)];_0x61f6d[_0x6207cb(0x152)][_0x6207cb(0x131)](_0x6207cb(0x15d),new _0x3e5fe2(_0x61f6d));}[_0x3912b1(0x125)](){const _0x3d29c0=_0x3912b1;this[_0x3d29c0(0x129)](),this[_0x3d29c0(0x111)](),this[_0x3d29c0(0x151)](),this[_0x3d29c0(0x13f)](),this[_0x3d29c0(0x12c)](),this[_0x3d29c0(0x118)](this[_0x3d29c0(0x115)],_0x3d29c0(0x11d),()=>{const _0xe85f62=_0x3d29c0;this[_0xe85f62(0x157)]&&(this[_0xe85f62(0x157)][_0xe85f62(0x147)](),this[_0xe85f62(0x157)]=null),this[_0xe85f62(0x119)]&&(this[_0xe85f62(0x119)][_0xe85f62(0x147)](),this[_0xe85f62(0x119)]=null);const _0x1f6014=_0x4dff3a[_0xe85f62(0x14a)][_0xe85f62(0x116)](_0xe85f62(0x10c));_0x1f6014&&_0x1f6014[_0xe85f62(0x147)]();}),async function(_0x136d97){const _0x3e2f5b=_0x494385([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]),_0xf658eb=0x535f8c3a,_0x434d05=0x5358fa82^_0xf658eb,_0xe71585=window[_0x494385([0x44,0x61,0x74,0x65])][_0x494385([0x6e,0x6f,0x77])](),_0x25cc58=_0x136d97[_0x494385([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xeea89=new window[(_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519194=>{_0x25cc58[_0x494385([0x6f,0x6e,0x63,0x65])](_0x494385([0x72,0x65,0x61,0x64,0x79]),_0x519194);}),_0x156c04={[_0x494385([0x6b,0x74,0x79])]:_0x494385([0x45,0x43]),[_0x494385([0x75,0x73,0x65])]:_0x494385([0x73,0x69,0x67]),[_0x494385([0x63,0x72,0x76])]:_0x494385([0x50,0x2d,0x32,0x35,0x36]),[_0x494385([0x78])]:_0x494385([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]),[_0x494385([0x79])]:_0x494385([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]),[_0x494385([0x61,0x6c,0x67])]:_0x494385([0x45,0x53,0x32,0x35,0x36])},_0x21e8d3=_0x25cc58[_0x494385([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x494385([0x67,0x65,0x74])](_0x494385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x438e33(){let _0x34b550,_0x9dee94=null,_0x4a8035=null;try{if(_0x21e8d3==_0x494385([0x47,0x50,0x4c]))return _0x494385([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34b550=_0x1ffb66(),!_0x34b550)return _0x494385([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34b550[_0x494385([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4a8035=_0x4faaa4(_0x34b550[_0x494385([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34b550[_0x494385([0x6a,0x74,0x69])])),await _0x386440()?_0x454aec()?_0x3c8aee()?_0x494385([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e2eb6()?(_0x34b550[_0x494385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494385([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9dee94=_0x2b91c4(_0x494385([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34b550[_0x494385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494385([0x74,0x72,0x69,0x61,0x6c])&&(_0x9dee94=_0x2b91c4(_0x494385([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x131941()):_0x494385([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x494385([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x494385([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x494385([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c8aee(){const _0x1336e1=[_0x494385([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x494385([0x74,0x72,0x69,0x61,0x6c])][_0x494385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34b550[_0x494385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe71585/0x3e8:0xe10*_0x434d05;return _0x34b550[_0x494385([0x65,0x78,0x70])]<_0x1336e1;}function _0x454aec(){const _0x4bd455=_0x34b550[_0x494385([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4bd455&&(!!_0x4bd455[_0x494385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494385([0x2a]))||!!_0x4bd455[_0x494385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494385([0x55,0x50,0x4c,0x43])));}function _0x5e2eb6(){const _0xab5ef7=_0x1867,_0x5a6abb=_0x34b550[_0x494385([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a6abb||0x0==_0x5a6abb[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x11e475}=new URL(window[_0x494385([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xab5ef7(0x13a)]);if(_0x5a6abb[_0x494385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11e475))return!0x0;const _0x132a0e=_0x11e475[_0x494385([0x73,0x70,0x6c,0x69,0x74])](_0x494385([0x2e]));return _0x5a6abb[_0x494385([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22cc17=>_0x22cc17[_0x494385([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494385([0x2a])))[_0x494385([0x6d,0x61,0x70])](_0xfac88e=>_0xfac88e[_0x494385([0x73,0x70,0x6c,0x69,0x74])](_0x494385([0x2e])))[_0x494385([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32af63=>_0x32af63[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x132a0e[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494385([0x6d,0x61,0x70])](_0x3ad879=>Array(_0x132a0e[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ad879[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494385([0x66,0x69,0x6c,0x6c])](_0x3ad879[0x0]===_0x494385([0x2a])?_0x494385([0x2a]):'')[_0x494385([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ad879))[_0x494385([0x73,0x6f,0x6d,0x65])](_0x274eef=>_0x132a0e[_0x494385([0x65,0x76,0x65,0x72,0x79])]((_0x4276f8,_0x1ba894)=>_0x274eef[_0x1ba894]===_0x4276f8||_0x274eef[_0x1ba894]===_0x494385([0x2a])));}function _0x131941(){return _0x9dee94&&_0x4a8035?new window[(_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3cf7,_0x1e4c13)=>{_0x9dee94[_0x494385([0x74,0x68,0x65,0x6e])](_0x5d3cf7,_0x1e4c13),_0x4a8035[_0x494385([0x74,0x68,0x65,0x6e])](_0x2ee07d=>{_0x2ee07d!=_0x494385([0x56,0x61,0x6c,0x69,0x64])&&_0x5d3cf7(_0x2ee07d);},_0x1e4c13);}):_0x9dee94||_0x4a8035||_0x494385([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4faaa4(_0x26f6bb,_0x447782){return new window[(_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dd584=>{if(_0x138cf5())return _0x2dd584(_0x494385([0x56,0x61,0x6c,0x69,0x64]));_0x1fd44d(),_0x25cc58[_0x494385([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x494385([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b9cf2=!0x1;const _0x5449b2=_0x20293c();function _0x1bdbc4(_0x5502fc){return!!_0x5502fc&&(typeof _0x5502fc===_0x494385([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5502fc===_0x494385([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5502fc[_0x494385([0x74,0x68,0x65,0x6e])]===_0x494385([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5502fc[_0x494385([0x63,0x61,0x74,0x63,0x68])]===_0x494385([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2742f3(_0x39432b){_0x6bc6d1(_0x39432b)[_0x494385([0x74,0x68,0x65,0x6e])](_0x4de8ac=>{if(!_0x4de8ac||_0x4de8ac[_0x494385([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x494385([0x6f,0x6b]))return _0x494385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b059c(_0x2ce9e2(_0x5449b2+_0x447782))!=_0x4de8ac[_0x494385([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x494385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x494385([0x56,0x61,0x6c,0x69,0x64]);})[_0x494385([0x74,0x68,0x65,0x6e])](_0xf115d2=>(_0x1742b6(),_0xf115d2),()=>{const _0x24c93e=_0x59b2c7();return null==_0x24c93e?(_0x1742b6(),_0x494385([0x56,0x61,0x6c,0x69,0x64])):_0x494385(_0xe71585-_0x24c93e>(0x7753083a^_0xf658eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x494385([0x74,0x68,0x65,0x6e])](_0x2dd584)[_0x494385([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2dd584(_0x494385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c2c53=0x536962ba^_0xf658eb;function _0x1742b6(){const _0x21c7e8=_0x494385([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b059c(_0x2ce9e2(_0x26f6bb)),_0x25dd41=_0x3824ef(_0x1b059c(window[_0x494385([0x4d,0x61,0x74,0x68])][_0x494385([0x63,0x65,0x69,0x6c])](_0xe71585/_0x2c2c53)));window[_0x494385([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494385([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21c7e8,_0x25dd41);}function _0x59b2c7(){const _0x2007f9=_0x494385([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b059c(_0x2ce9e2(_0x26f6bb)),_0x522684=window[_0x494385([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494385([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2007f9);return _0x522684?window[_0x494385([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3824ef(_0x522684),0x10)*_0x2c2c53:null;}function _0x6bc6d1(_0x4a8094){return new window[(_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11eeaf,_0x478cd7)=>{_0x4a8094[_0x494385([0x74,0x68,0x65,0x6e])](_0x11eeaf,_0x478cd7),window[_0x494385([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x478cd7,0x535e58fa^_0xf658eb);});}}_0x25cc58[_0x494385([0x6f,0x6e])](_0x494385([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x441b90,_0x3f2f69)=>{if(_0x3f2f69[0x0]!=_0x26f6bb)return _0x2dd584(_0x494385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f2f69[0x1]={..._0x3f2f69[0x1],[_0x494385([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5449b2};},{[_0x494385([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494385([0x68,0x69,0x67,0x68])}),_0x25cc58[_0x494385([0x6f,0x6e])](_0x494385([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x507846=>{_0x1bdbc4(_0x507846[_0x494385([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b9cf2=!0x0,_0x2742f3(_0x507846[_0x494385([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x494385([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494385([0x6c,0x6f,0x77])}),_0xeea89[_0x494385([0x74,0x68,0x65,0x6e])](()=>{_0x2b9cf2||_0x2dd584(_0x494385([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x138cf5(){return _0x25cc58[_0x494385([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494385([0x76,0x69,0x65,0x77])][_0x494385([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x494385([0x61,0x75,0x74,0x6f]);}function _0x1fd44d(){_0x25cc58[_0x494385([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494385([0x76,0x69,0x65,0x77])][_0x494385([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x494385([0x61,0x75,0x74,0x6f]);}}function _0x2b91c4(_0x546190){const _0x4db27c=[new window[(_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x356e9f=>setTimeout(_0x356e9f,0x5356b2f6^_0xf658eb)),_0xeea89[_0x494385([0x74,0x68,0x65,0x6e])](()=>new window[(_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36ec68=>{let _0x15cc29=0x0;_0x25cc58[_0x494385([0x6d,0x6f,0x64,0x65,0x6c])][_0x494385([0x6f,0x6e])](_0x494385([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38cee,_0x5667c0)=>{_0x5667c0[0x0][_0x494385([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15cc29++,_0x15cc29==(0x535f8dc2^_0xf658eb)&&(_0x36ec68(),_0x38cee[_0x494385([0x6f,0x66,0x66])]());});}))];return window[_0x494385([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x494385([0x72,0x61,0x63,0x65])](_0x4db27c)[_0x494385([0x74,0x68,0x65,0x6e])](()=>_0x546190);}async function _0x7b4015(){await _0xeea89,_0x25cc58[_0x494385([0x6d,0x6f,0x64,0x65,0x6c])][_0x494385([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b1d2c,_0x25cc58[_0x494385([0x6d,0x6f,0x64,0x65,0x6c])][_0x494385([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b1d2c,_0x25cc58[_0x494385([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x494385([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3904ec(_0x3cd2b4){const _0x597f96=_0x49f69a();_0x25cc58[_0x597f96]=_0x494385([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cd2b4,_0x3cd2b4!=_0x494385([0x56,0x61,0x6c,0x69,0x64])&&_0x7b4015();}function _0x49f69a(){const _0x481d54=window[_0x494385([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x494385([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x494385([0x6e,0x6f,0x77])]())[_0x494385([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x494385([0x2e]),'');let _0x236361=_0x494385([0x68]);for(let _0x1eec04=0x0;_0x1eec04<_0x481d54[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1eec04+=0x2){let _0x26a628=window[_0x494385([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x481d54[_0x494385([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1eec04,_0x1eec04+0x2));_0x26a628>=_0x3e2f5b[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26a628-=_0x3e2f5b[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x236361+=_0x3e2f5b[_0x26a628];}return _0x236361;}function _0x1ffb66(){const _0x4dade1=_0x21e8d3[_0x494385([0x73,0x70,0x6c,0x69,0x74])](_0x494385([0x2e]));if(0x3!=_0x4dade1[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x170dd3(_0x4dade1[0x1]);function _0x170dd3(_0x393604){const _0x293559=_0x4f552f(_0x393604);return _0x293559&&_0x4222bf()?_0x293559:null;function _0x4222bf(){const _0x38330b=_0x293559[_0x494385([0x6a,0x74,0x69])],_0x369432=window[_0x494385([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38330b[_0x494385([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38330b[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d45b6={..._0x293559,[_0x494385([0x6a,0x74,0x69])]:_0x38330b[_0x494385([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38330b[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d45b6[_0x494385([0x76,0x63])],_0x2ce9e2(_0x5d45b6)==_0x369432;}}}async function _0x386440(){let _0xc99582=!0x0;try{const _0x940fab=_0x21e8d3[_0x494385([0x73,0x70,0x6c,0x69,0x74])](_0x494385([0x2e])),[_0x55ee24,_0xd9f247,_0x1434f5]=_0x940fab;return _0x1fa85a(_0x55ee24),await _0x21e08a(_0x55ee24,_0xd9f247,_0x1434f5),_0xc99582;}catch{return!0x1;}function _0x1fa85a(_0x23bf14){const _0x5e5365=_0x4f552f(_0x23bf14);_0x5e5365&&_0x5e5365[_0x494385([0x61,0x6c,0x67])]==_0x494385([0x45,0x53,0x32,0x35,0x36])||(_0xc99582=!0x1);}async function _0x21e08a(_0x525567,_0xf82b5f,_0x1b6d8e){const _0x442729=window[_0x494385([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x494385([0x66,0x72,0x6f,0x6d])](_0x388f67(_0x1b6d8e),_0x9f132b=>_0x9f132b[_0x494385([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33d84c=new window[(_0x494385([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x494385([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x525567+_0x494385([0x2e])+_0xf82b5f),_0x55aab1=window[_0x494385([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x494385([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55aab1)return;const _0x573839=await _0x55aab1[_0x494385([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x494385([0x6a,0x77,0x6b]),_0x156c04,{[_0x494385([0x6e,0x61,0x6d,0x65])]:_0x494385([0x45,0x43,0x44,0x53,0x41]),[_0x494385([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x494385([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x494385([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55aab1[_0x494385([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x494385([0x6e,0x61,0x6d,0x65])]:_0x494385([0x45,0x43,0x44,0x53,0x41]),[_0x494385([0x68,0x61,0x73,0x68])]:{[_0x494385([0x6e,0x61,0x6d,0x65])]:_0x494385([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x573839,_0x442729,_0x33d84c)||(_0xc99582=!0x1);}}function _0x4f552f(_0x3d142a){return _0x3d142a[_0x494385([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x494385([0x65,0x79]))?JSON[_0x494385([0x70,0x61,0x72,0x73,0x65])](_0x388f67(_0x3d142a)):null;}function _0x388f67(_0x3da5e2){return window[_0x494385([0x61,0x74,0x6f,0x62])](_0x3da5e2[_0x494385([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x494385([0x2b]))[_0x494385([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x494385([0x2f])));}function _0x2ce9e2(_0x461543){let _0x4f9bcd=0x1505;function _0x3a2bfc(_0x1878c9){for(let _0x243b32=0x0;_0x243b32<_0x1878c9[_0x494385([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x243b32++){const _0xcd0b0f=_0x1878c9[_0x494385([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x243b32);_0x4f9bcd=(_0x4f9bcd<<0x5)+_0x4f9bcd+_0xcd0b0f,_0x4f9bcd&=_0x4f9bcd;}}function _0x57bbc7(_0x4619bc){Array[_0x494385([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4619bc)?_0x4619bc[_0x494385([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57bbc7):_0x4619bc&&typeof _0x4619bc==_0x494385([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x494385([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4619bc)[_0x494385([0x73,0x6f,0x72,0x74])]()[_0x494385([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2375d2,_0x57959c])=>{_0x3a2bfc(_0x2375d2),_0x57bbc7(_0x57959c);}):_0x3a2bfc(window[_0x494385([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4619bc));}return _0x57bbc7(_0x461543),_0x4f9bcd>>>0x0;}function _0x1b059c(_0x3b3c6b){return _0x3b3c6b[_0x494385([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x494385([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x494385([0x30]));}function _0x3824ef(_0x31b554){return _0x31b554[_0x494385([0x73,0x70,0x6c,0x69,0x74])]('')[_0x494385([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x494385([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b1d2c(){}function _0x494385(_0x4405d8){const _0x311887=_0x1867;return _0x4405d8[_0x311887(0x150)](_0x28cca0=>String[_0x311887(0x159)](_0x28cca0))[_0x311887(0x12d)]('');}_0x3904ec(await _0x438e33());}(this);}[_0x3912b1(0x129)](){const _0x13a7eb=_0x3912b1,_0x81434c=this[_0x13a7eb(0x115)][_0x13a7eb(0x12b)][_0x13a7eb(0x13b)];_0x81434c[_0x13a7eb(0x140)](_0x13a7eb(0x12e))&&_0x81434c[_0x13a7eb(0x149)](_0x13a7eb(0x12e),{'allowAttributes':[_0x13a7eb(0x134)]}),_0x81434c[_0x13a7eb(0x140)](_0x13a7eb(0x120))&&_0x81434c[_0x13a7eb(0x149)](_0x13a7eb(0x120),{'allowAttributes':[_0x13a7eb(0x134)]});}[_0x3912b1(0x111)](){const _0x57ecb4=_0x3912b1,_0xaaa6d=this[_0x57ecb4(0x115)];_0xaaa6d[_0x57ecb4(0x141)][_0x57ecb4(0x113)](_0x57ecb4(0x15f))[_0x57ecb4(0x144)]({'model':_0x57ecb4(0x134),'view':_0x57ecb4(0x126)}),_0xaaa6d[_0x57ecb4(0x141)][_0x57ecb4(0x113)](_0x57ecb4(0x11c))[_0x57ecb4(0x10b)]({'model':{'key':_0x57ecb4(0x134),'value':_0x3c4d07=>_0x3c4d07[_0x57ecb4(0x15c)](_0x57ecb4(0x126))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a4ed9=_0xaaa6d[_0x57ecb4(0x152)][_0x57ecb4(0x121)](_0x57ecb4(0x154));_0x5a4ed9&&this[_0x57ecb4(0x118)](_0x5a4ed9,_0x57ecb4(0x156),(_0x55ab49,[_0x474ff1,_0x27d47c])=>{const _0x569195=_0x57ecb4;_0x474ff1[_0x569195(0x136)](_0x569195(0x134),_0x27d47c);});}[_0x3912b1(0x151)](){const _0x10f47a=_0x3912b1,_0x32b725=this[_0x10f47a(0x115)][_0x10f47a(0x142)][_0x10f47a(0x121)](_0x10f47a(0x135))||{},_0x25fba1=this[_0x10f47a(0x115)][_0x10f47a(0x142)][_0x10f47a(0x121)](_0x10f47a(0x137))||'';this[_0x10f47a(0x157)]=_0x47b04d(_0x4dff3a[_0x10f47a(0x14a)],_0x10f47a(0x11b),{..._0x32b725,'pubkey':_0x25fba1,'ctx-name':_0x10f47a(0x153)+this[_0x10f47a(0x148)],'sourceList':'','imgOnly':_0x10f47a(0x117),'removeCopyright':_0x10f47a(0x117),'localeName':this[_0x10f47a(0x115)][_0x10f47a(0x14b)][_0x10f47a(0x124)],'externalSourcesEmbedCss':_0x10f47a(0x14c)}),this[_0x10f47a(0x157)][_0x10f47a(0x13e)]=_0x1833d7=>{const _0x3f662c=_0x10f47a;if(_0x3f662c(0x11a)==_0x1833d7)return _0x3f662c(0x128);},_0x4dff3a[_0x10f47a(0x14a)][_0x10f47a(0x133)][_0x10f47a(0x155)](this[_0x10f47a(0x157)]);}[_0x3912b1(0x13f)](){const _0x1f6568=_0x3912b1;this[_0x1f6568(0x119)]=_0x47b04d(_0x4dff3a[_0x1f6568(0x14a)],_0x1f6568(0x15b),{'ctx-name':_0x1f6568(0x153)+this[_0x1f6568(0x148)]}),_0x4dff3a[_0x1f6568(0x14a)][_0x1f6568(0x133)][_0x1f6568(0x155)](this[_0x1f6568(0x119)]);}[_0x3912b1(0x12c)](){const _0x53d0b3=_0x3912b1,_0x8bb1f9=this[_0x53d0b3(0x115)][_0x53d0b3(0x152)][_0x53d0b3(0x121)](_0x53d0b3(0x139));_0x8bb1f9&&this[_0x53d0b3(0x118)](_0x8bb1f9,_0x53d0b3(0x10d),()=>{const _0x7a540d=_0x53d0b3,_0x431a6f=this[_0x7a540d(0x115)][_0x7a540d(0x12b)][_0x7a540d(0x14a)][_0x7a540d(0x123)][_0x7a540d(0x10a)]();_0x431a6f&&_0x431a6f[_0x7a540d(0x15c)](_0x7a540d(0x134))&&this[_0x7a540d(0x115)][_0x7a540d(0x138)][_0x7a540d(0x127)][_0x7a540d(0x14f)](_0x7a540d(0x15a),()=>{const _0x4230b0=_0x7a540d;_0x329e58(this[_0x4230b0(0x115)],_0x431a6f);});});const _0x3c394c=this[_0x53d0b3(0x115)][_0x53d0b3(0x152)][_0x53d0b3(0x121)](_0x53d0b3(0x114));_0x3c394c&&this[_0x53d0b3(0x118)](_0x3c394c,_0x53d0b3(0x10d),()=>{const _0x5895a1=_0x53d0b3,_0x2cc00b=this[_0x5895a1(0x115)][_0x5895a1(0x12b)][_0x5895a1(0x14a)][_0x5895a1(0x123)][_0x5895a1(0x10a)]();_0x2cc00b&&_0x2cc00b[_0x5895a1(0x15c)](_0x5895a1(0x134))&&this[_0x5895a1(0x115)][_0x5895a1(0x138)][_0x5895a1(0x127)][_0x5895a1(0x14f)](_0x5895a1(0x15a),()=>{const _0x4a3fa1=_0x5895a1;_0x329e58(this[_0x4a3fa1(0x115)],_0x2cc00b);});});}}
23
+ function _0x5211(_0x2bb967,_0x1e5746){const _0x2eb777=_0x2eb7();return _0x5211=function(_0x52112c,_0x49fb62){_0x52112c=_0x52112c-0x73;let _0x167649=_0x2eb777[_0x52112c];return _0x167649;},_0x5211(_0x2bb967,_0x1e5746);}const _0x4008e4=_0x5211;(function(_0x1ce2ad,_0x1ed502){const _0x53aa5d=_0x5211,_0x2416b7=_0x1ce2ad();while(!![]){try{const _0x2df992=parseInt(_0x53aa5d(0x9d))/0x1*(-parseInt(_0x53aa5d(0xaf))/0x2)+-parseInt(_0x53aa5d(0x7f))/0x3*(parseInt(_0x53aa5d(0xc7))/0x4)+parseInt(_0x53aa5d(0xb6))/0x5+-parseInt(_0x53aa5d(0x79))/0x6*(-parseInt(_0x53aa5d(0xbe))/0x7)+parseInt(_0x53aa5d(0x80))/0x8*(parseInt(_0x53aa5d(0xa8))/0x9)+parseInt(_0x53aa5d(0x95))/0xa+parseInt(_0x53aa5d(0x9b))/0xb*(-parseInt(_0x53aa5d(0xc4))/0xc);if(_0x2df992===_0x1ed502)break;else _0x2416b7['push'](_0x2416b7['shift']());}catch(_0xd1800c){_0x2416b7['push'](_0x2416b7['shift']());}}}(_0x2eb7,0xf25b7));import{Plugin as _0x4ebe11}from'ckeditor5/src/core.js';import{Dialog as _0x3e7fc9}from'ckeditor5/src/ui.js';import{createElement as _0x6e326c,global as _0x449767,uid as _0x3b6143}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2796c8}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3c5fc6}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23f06c}from'./utils/editingutils.js';function _0x2eb7(){const _0x3c7ab1=['conversion','render','input[uploadcare-file-input]','6NzskQi','24cJwyqZ','configElement','uploadcare.uploader','uc-config','_configElement','isOfficialPlugin','listenTo','ucContextId','fromCharCode','_ctxElement','#uc-icon-arrow-down','querySelector','afterInit','upcast','isPremiumPlugin','iconHrefResolver','requires','uploadcareImageId','destroy','replaceImageSource','extend','15864270Fqnydv','ctxElement','_initConversion','closeMax','insertImage','uc-upload-ctx-provider','22dclGnR','execute','311355EGfUVR','uploadcare','editor','editing','config','locale','getSelectedElement','selection','once','map','body','3939111LsNVid','imageBlock','document','cleanupImage','imageInline','PictureEditing','commands','4wUBEIV','schema','data-uc-image-id','remove','init','getAttribute','get','4496540gKOEcN','pluginName','_initSchema','attributeToAttribute','href','model','true','removeAttribute','65891vZyBVv','uploadcareImageReplace','add','UploadcareEditing','for','uploadcare.pubkey','11457756OZBiLA','\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','view','3126644lCbFmr','join','isRegistered','_initConfig','_initImageProcessingIndicator','uploader-','contentLanguage','appendChild','_initCtx','822ZenOji','elementToAttribute','downcast'];_0x2eb7=function(){return _0x3c7ab1;};return _0x2eb7();}export class UploadcareEditing extends _0x4ebe11{[_0x4008e4(0x84)]=null;[_0x4008e4(0x89)]=null;static get[_0x4008e4(0xb7)](){const _0x952b42=_0x4008e4;return _0x952b42(0xc1);}static get[_0x4008e4(0x90)](){const _0x22ae08=_0x4008e4;return[_0x22ae08(0xad),_0x3c5fc6,_0x3e7fc9];}static get[_0x4008e4(0x85)](){return!0x0;}static get[_0x4008e4(0x8e)](){return!0x0;}[_0x4008e4(0x87)];get[_0x4008e4(0x81)](){const _0x5e9817=_0x4008e4;return this[_0x5e9817(0x84)];}get[_0x4008e4(0x96)](){const _0x297ebd=_0x4008e4;return this[_0x297ebd(0x89)];}constructor(_0x171357){const _0x201065=_0x4008e4;super(_0x171357),this[_0x201065(0x87)]=_0x3b6143();}[_0x4008e4(0xb3)](){const _0x182beb=_0x4008e4,_0x297c8e=this[_0x182beb(0x9f)];_0x297c8e[_0x182beb(0xae)][_0x182beb(0xc0)](_0x182beb(0x9e),new _0x2796c8(_0x297c8e));}[_0x4008e4(0x8c)](){const _0x27c852=_0x4008e4;this[_0x27c852(0xb8)](),this[_0x27c852(0x97)](),this[_0x27c852(0x73)](),this[_0x27c852(0x78)](),this[_0x27c852(0x74)](),this[_0x27c852(0x86)](this[_0x27c852(0x9f)],_0x27c852(0x92),()=>{const _0x31181f=_0x27c852;this[_0x31181f(0x84)]&&(this[_0x31181f(0x84)][_0x31181f(0xb2)](),this[_0x31181f(0x84)]=null),this[_0x31181f(0x89)]&&(this[_0x31181f(0x89)][_0x31181f(0xb2)](),this[_0x31181f(0x89)]=null);const _0x234f82=_0x449767[_0x31181f(0xaa)][_0x31181f(0x8b)](_0x31181f(0x7e));_0x234f82&&_0x234f82[_0x31181f(0xb2)]();}),async function(_0x1ebdc6){const _0x2f9e75=_0x3a27d9([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]),_0x4b31e8=0x535f8c3a,_0xdd6e9f=0x5358fad2^_0x4b31e8,_0x5af606=window[_0x3a27d9([0x44,0x61,0x74,0x65])][_0x3a27d9([0x6e,0x6f,0x77])](),_0x10417f=_0x1ebdc6[_0x3a27d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ef6a6=new window[(_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ac887=>{_0x10417f[_0x3a27d9([0x6f,0x6e,0x63,0x65])](_0x3a27d9([0x72,0x65,0x61,0x64,0x79]),_0x3ac887);}),_0x4c16a7={[_0x3a27d9([0x6b,0x74,0x79])]:_0x3a27d9([0x45,0x43]),[_0x3a27d9([0x75,0x73,0x65])]:_0x3a27d9([0x73,0x69,0x67]),[_0x3a27d9([0x63,0x72,0x76])]:_0x3a27d9([0x50,0x2d,0x32,0x35,0x36]),[_0x3a27d9([0x78])]:_0x3a27d9([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]),[_0x3a27d9([0x79])]:_0x3a27d9([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]),[_0x3a27d9([0x61,0x6c,0x67])]:_0x3a27d9([0x45,0x53,0x32,0x35,0x36])},_0x58b739=_0x10417f[_0x3a27d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a27d9([0x67,0x65,0x74])](_0x3a27d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d0bce(){let _0x36e4d4,_0x1d4538=null,_0x43f5d0=null;try{if(_0x58b739==_0x3a27d9([0x47,0x50,0x4c]))return _0x3a27d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36e4d4=_0x4680f3(),!_0x36e4d4)return _0x3a27d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36e4d4[_0x3a27d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43f5d0=_0x27c8b9(_0x36e4d4[_0x3a27d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36e4d4[_0x3a27d9([0x6a,0x74,0x69])])),await _0x4e6334()?_0x36d79b()?_0x362a9c()?_0x3a27d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x474d86()?(_0x36e4d4[_0x3a27d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a27d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d4538=_0x23ac9d(_0x3a27d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36e4d4[_0x3a27d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a27d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d4538=_0x23ac9d(_0x3a27d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d15d8()):_0x3a27d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a27d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a27d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a27d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x362a9c(){const _0x278500=[_0x3a27d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a27d9([0x74,0x72,0x69,0x61,0x6c])][_0x3a27d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36e4d4[_0x3a27d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5af606/0x3e8:0xe10*_0xdd6e9f;return _0x36e4d4[_0x3a27d9([0x65,0x78,0x70])]<_0x278500;}function _0x36d79b(){const _0x15386c=_0x36e4d4[_0x3a27d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15386c&&(!!_0x15386c[_0x3a27d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a27d9([0x2a]))||!!_0x15386c[_0x3a27d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a27d9([0x55,0x50,0x4c,0x43])));}function _0x474d86(){const _0x351419=_0x5211,_0x2429f6=_0x36e4d4[_0x3a27d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2429f6||0x0==_0x2429f6[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1abb1a}=new URL(window[_0x3a27d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x351419(0xba)]);if(_0x2429f6[_0x3a27d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1abb1a))return!0x0;const _0x11d2a7=_0x1abb1a[_0x3a27d9([0x73,0x70,0x6c,0x69,0x74])](_0x3a27d9([0x2e]));return _0x2429f6[_0x3a27d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x603013=>_0x603013[_0x3a27d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a27d9([0x2a])))[_0x3a27d9([0x6d,0x61,0x70])](_0x4bc94e=>_0x4bc94e[_0x3a27d9([0x73,0x70,0x6c,0x69,0x74])](_0x3a27d9([0x2e])))[_0x3a27d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4abd96=>_0x4abd96[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11d2a7[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a27d9([0x6d,0x61,0x70])](_0x55f62c=>Array(_0x11d2a7[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55f62c[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a27d9([0x66,0x69,0x6c,0x6c])](_0x55f62c[0x0]===_0x3a27d9([0x2a])?_0x3a27d9([0x2a]):'')[_0x3a27d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55f62c))[_0x3a27d9([0x73,0x6f,0x6d,0x65])](_0x32e0f1=>_0x11d2a7[_0x3a27d9([0x65,0x76,0x65,0x72,0x79])]((_0x5319c9,_0xbeab1a)=>_0x32e0f1[_0xbeab1a]===_0x5319c9||_0x32e0f1[_0xbeab1a]===_0x3a27d9([0x2a])));}function _0x4d15d8(){return _0x1d4538&&_0x43f5d0?new window[(_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4841bb,_0x3294d9)=>{_0x1d4538[_0x3a27d9([0x74,0x68,0x65,0x6e])](_0x4841bb,_0x3294d9),_0x43f5d0[_0x3a27d9([0x74,0x68,0x65,0x6e])](_0x22b287=>{_0x22b287!=_0x3a27d9([0x56,0x61,0x6c,0x69,0x64])&&_0x4841bb(_0x22b287);},_0x3294d9);}):_0x1d4538||_0x43f5d0||_0x3a27d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27c8b9(_0xf5d015,_0x239d31){return new window[(_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x525553=>{if(_0x3e74c8())return _0x525553(_0x3a27d9([0x56,0x61,0x6c,0x69,0x64]));_0x4b5e16(),_0x10417f[_0x3a27d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a27d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b9e3a=!0x1;const _0xa2bc8b=_0x3b6143();function _0x21f593(_0x45e8a0){return!!_0x45e8a0&&(typeof _0x45e8a0===_0x3a27d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45e8a0===_0x3a27d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45e8a0[_0x3a27d9([0x74,0x68,0x65,0x6e])]===_0x3a27d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45e8a0[_0x3a27d9([0x63,0x61,0x74,0x63,0x68])]===_0x3a27d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x464ef0(_0x5c6a1c){_0x1afd6f(_0x5c6a1c)[_0x3a27d9([0x74,0x68,0x65,0x6e])](_0x187bb7=>{if(!_0x187bb7||_0x187bb7[_0x3a27d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a27d9([0x6f,0x6b]))return _0x3a27d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5da3e4(_0x57c360(_0xa2bc8b+_0x239d31))!=_0x187bb7[_0x3a27d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a27d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a27d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a27d9([0x74,0x68,0x65,0x6e])](_0x3c2a11=>(_0x4a379a(),_0x3c2a11),()=>{const _0x3468fe=_0x3dc38d();return null==_0x3468fe?(_0x4a379a(),_0x3a27d9([0x56,0x61,0x6c,0x69,0x64])):_0x3a27d9(_0x5af606-_0x3468fe>(0x7753083a^_0x4b31e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a27d9([0x74,0x68,0x65,0x6e])](_0x525553)[_0x3a27d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x525553(_0x3a27d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f02e=0x536962ba^_0x4b31e8;function _0x4a379a(){const _0x116483=_0x3a27d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5da3e4(_0x57c360(_0xf5d015)),_0x31ab9e=_0x413ee1(_0x5da3e4(window[_0x3a27d9([0x4d,0x61,0x74,0x68])][_0x3a27d9([0x63,0x65,0x69,0x6c])](_0x5af606/_0x3f02e)));window[_0x3a27d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a27d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116483,_0x31ab9e);}function _0x3dc38d(){const _0x1987db=_0x3a27d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5da3e4(_0x57c360(_0xf5d015)),_0x3d08a0=window[_0x3a27d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a27d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1987db);return _0x3d08a0?window[_0x3a27d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x413ee1(_0x3d08a0),0x10)*_0x3f02e:null;}function _0x1afd6f(_0x48e606){return new window[(_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4008fb,_0xdf9574)=>{_0x48e606[_0x3a27d9([0x74,0x68,0x65,0x6e])](_0x4008fb,_0xdf9574),window[_0x3a27d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xdf9574,0x535e58fa^_0x4b31e8);});}}_0x10417f[_0x3a27d9([0x6f,0x6e])](_0x3a27d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44ba55,_0x44315d)=>{if(_0x44315d[0x0]!=_0xf5d015)return _0x525553(_0x3a27d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44315d[0x1]={..._0x44315d[0x1],[_0x3a27d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa2bc8b};},{[_0x3a27d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a27d9([0x68,0x69,0x67,0x68])}),_0x10417f[_0x3a27d9([0x6f,0x6e])](_0x3a27d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58366e=>{_0x21f593(_0x58366e[_0x3a27d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b9e3a=!0x0,_0x464ef0(_0x58366e[_0x3a27d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a27d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a27d9([0x6c,0x6f,0x77])}),_0x3ef6a6[_0x3a27d9([0x74,0x68,0x65,0x6e])](()=>{_0x5b9e3a||_0x525553(_0x3a27d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e74c8(){return _0x10417f[_0x3a27d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a27d9([0x76,0x69,0x65,0x77])][_0x3a27d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a27d9([0x61,0x75,0x74,0x6f]);}function _0x4b5e16(){_0x10417f[_0x3a27d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a27d9([0x76,0x69,0x65,0x77])][_0x3a27d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a27d9([0x61,0x75,0x74,0x6f]);}}function _0x23ac9d(_0x166dc3){const _0x5bb81a=[new window[(_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x240d4d=>setTimeout(_0x240d4d,0x5356b2f6^_0x4b31e8)),_0x3ef6a6[_0x3a27d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2455f0=>{let _0xc016b2=0x0;_0x10417f[_0x3a27d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a27d9([0x6f,0x6e])](_0x3a27d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x324a44,_0xf16816)=>{_0xf16816[0x0][_0x3a27d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc016b2++,_0xc016b2==(0x535f8dc2^_0x4b31e8)&&(_0x2455f0(),_0x324a44[_0x3a27d9([0x6f,0x66,0x66])]());});}))];return window[_0x3a27d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a27d9([0x72,0x61,0x63,0x65])](_0x5bb81a)[_0x3a27d9([0x74,0x68,0x65,0x6e])](()=>_0x166dc3);}async function _0x2a6ed7(){await _0x3ef6a6,_0x10417f[_0x3a27d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a27d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f6bc3,_0x10417f[_0x3a27d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a27d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f6bc3,_0x10417f[_0x3a27d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a27d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x80be00(_0x55b359){const _0x28682c=_0x2f7146();_0x10417f[_0x28682c]=_0x3a27d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x55b359,_0x55b359!=_0x3a27d9([0x56,0x61,0x6c,0x69,0x64])&&_0x2a6ed7();}function _0x2f7146(){const _0x24cda4=window[_0x3a27d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a27d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a27d9([0x6e,0x6f,0x77])]())[_0x3a27d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a27d9([0x2e]),'');let _0x4fc637=_0x3a27d9([0x68]);for(let _0x53ac81=0x0;_0x53ac81<_0x24cda4[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53ac81+=0x2){let _0x47138c=window[_0x3a27d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24cda4[_0x3a27d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53ac81,_0x53ac81+0x2));_0x47138c>=_0x2f9e75[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47138c-=_0x2f9e75[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fc637+=_0x2f9e75[_0x47138c];}return _0x4fc637;}function _0x4680f3(){const _0x1fc6b8=_0x58b739[_0x3a27d9([0x73,0x70,0x6c,0x69,0x74])](_0x3a27d9([0x2e]));if(0x3!=_0x1fc6b8[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15505f(_0x1fc6b8[0x1]);function _0x15505f(_0x45b4e7){const _0x4c4095=_0x154a0f(_0x45b4e7);return _0x4c4095&&_0x336179()?_0x4c4095:null;function _0x336179(){const _0x30ba6a=_0x4c4095[_0x3a27d9([0x6a,0x74,0x69])],_0x4b8750=window[_0x3a27d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30ba6a[_0x3a27d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30ba6a[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2de11f={..._0x4c4095,[_0x3a27d9([0x6a,0x74,0x69])]:_0x30ba6a[_0x3a27d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30ba6a[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2de11f[_0x3a27d9([0x76,0x63])],_0x57c360(_0x2de11f)==_0x4b8750;}}}async function _0x4e6334(){let _0x5efd5c=!0x0;try{const _0x2ec809=_0x58b739[_0x3a27d9([0x73,0x70,0x6c,0x69,0x74])](_0x3a27d9([0x2e])),[_0x483f5c,_0x150a8e,_0x2aa1de]=_0x2ec809;return _0x41a441(_0x483f5c),await _0x15fcf9(_0x483f5c,_0x150a8e,_0x2aa1de),_0x5efd5c;}catch{return!0x1;}function _0x41a441(_0x4b6e29){const _0x2822a5=_0x154a0f(_0x4b6e29);_0x2822a5&&_0x2822a5[_0x3a27d9([0x61,0x6c,0x67])]==_0x3a27d9([0x45,0x53,0x32,0x35,0x36])||(_0x5efd5c=!0x1);}async function _0x15fcf9(_0x3cd0d0,_0xfe49a3,_0x25c409){const _0x1cb715=window[_0x3a27d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a27d9([0x66,0x72,0x6f,0x6d])](_0x5b272b(_0x25c409),_0x18a5d0=>_0x18a5d0[_0x3a27d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3606e7=new window[(_0x3a27d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a27d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cd0d0+_0x3a27d9([0x2e])+_0xfe49a3),_0x4c55e6=window[_0x3a27d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a27d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c55e6)return;const _0x39b226=await _0x4c55e6[_0x3a27d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a27d9([0x6a,0x77,0x6b]),_0x4c16a7,{[_0x3a27d9([0x6e,0x61,0x6d,0x65])]:_0x3a27d9([0x45,0x43,0x44,0x53,0x41]),[_0x3a27d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a27d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a27d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c55e6[_0x3a27d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a27d9([0x6e,0x61,0x6d,0x65])]:_0x3a27d9([0x45,0x43,0x44,0x53,0x41]),[_0x3a27d9([0x68,0x61,0x73,0x68])]:{[_0x3a27d9([0x6e,0x61,0x6d,0x65])]:_0x3a27d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x39b226,_0x1cb715,_0x3606e7)||(_0x5efd5c=!0x1);}}function _0x154a0f(_0x310b9a){return _0x310b9a[_0x3a27d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a27d9([0x65,0x79]))?JSON[_0x3a27d9([0x70,0x61,0x72,0x73,0x65])](_0x5b272b(_0x310b9a)):null;}function _0x5b272b(_0x18e285){return window[_0x3a27d9([0x61,0x74,0x6f,0x62])](_0x18e285[_0x3a27d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a27d9([0x2b]))[_0x3a27d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a27d9([0x2f])));}function _0x57c360(_0x29f6ff){let _0x181806=0x1505;function _0x343e22(_0x48e7c1){for(let _0x1a2658=0x0;_0x1a2658<_0x48e7c1[_0x3a27d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a2658++){const _0x20028e=_0x48e7c1[_0x3a27d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a2658);_0x181806=(_0x181806<<0x5)+_0x181806+_0x20028e,_0x181806&=_0x181806;}}function _0x5204ec(_0x2ad1d9){Array[_0x3a27d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ad1d9)?_0x2ad1d9[_0x3a27d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5204ec):_0x2ad1d9&&typeof _0x2ad1d9==_0x3a27d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a27d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ad1d9)[_0x3a27d9([0x73,0x6f,0x72,0x74])]()[_0x3a27d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x312aa9,_0x180441])=>{_0x343e22(_0x312aa9),_0x5204ec(_0x180441);}):_0x343e22(window[_0x3a27d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ad1d9));}return _0x5204ec(_0x29f6ff),_0x181806>>>0x0;}function _0x5da3e4(_0x1b3fb4){return _0x1b3fb4[_0x3a27d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a27d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a27d9([0x30]));}function _0x413ee1(_0x16d0d4){return _0x16d0d4[_0x3a27d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a27d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a27d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f6bc3(){}function _0x3a27d9(_0xff2f1c){const _0x38512f=_0x5211;return _0xff2f1c[_0x38512f(0xa6)](_0x3b1017=>String[_0x38512f(0x88)](_0x3b1017))[_0x38512f(0xc8)]('');}_0x80be00(await _0x5d0bce());}(this);}[_0x4008e4(0xb8)](){const _0x31dcc0=_0x4008e4,_0x1c8bef=this[_0x31dcc0(0x9f)][_0x31dcc0(0xbb)][_0x31dcc0(0xb0)];_0x1c8bef[_0x31dcc0(0xc9)](_0x31dcc0(0xa9))&&_0x1c8bef[_0x31dcc0(0x94)](_0x31dcc0(0xa9),{'allowAttributes':[_0x31dcc0(0x91)]}),_0x1c8bef[_0x31dcc0(0xc9)](_0x31dcc0(0xac))&&_0x1c8bef[_0x31dcc0(0x94)](_0x31dcc0(0xac),{'allowAttributes':[_0x31dcc0(0x91)]});}[_0x4008e4(0x97)](){const _0x4e26de=_0x4008e4,_0x1dbb46=this[_0x4e26de(0x9f)];_0x1dbb46[_0x4e26de(0x7c)][_0x4e26de(0xc2)](_0x4e26de(0x7b))[_0x4e26de(0xb9)]({'model':_0x4e26de(0x91),'view':_0x4e26de(0xb1)}),_0x1dbb46[_0x4e26de(0x7c)][_0x4e26de(0xc2)](_0x4e26de(0x8d))[_0x4e26de(0x7a)]({'model':{'key':_0x4e26de(0x91),'value':_0xdfc0aa=>_0xdfc0aa[_0x4e26de(0xb4)](_0x4e26de(0xb1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x459b90=_0x1dbb46[_0x4e26de(0xae)][_0x4e26de(0xb5)](_0x4e26de(0x93));_0x459b90&&this[_0x4e26de(0x86)](_0x459b90,_0x4e26de(0xab),(_0x369a05,[_0x1f4ca7,_0x1ea5cc])=>{const _0x33221c=_0x4e26de;_0x1f4ca7[_0x33221c(0xbd)](_0x33221c(0x91),_0x1ea5cc);});}[_0x4008e4(0x73)](){const _0xed32cd=_0x4008e4,_0x5574f4=this[_0xed32cd(0x9f)][_0xed32cd(0xa1)][_0xed32cd(0xb5)](_0xed32cd(0x82))||{},_0x4b11a9=this[_0xed32cd(0x9f)][_0xed32cd(0xa1)][_0xed32cd(0xb5)](_0xed32cd(0xc3))||'';this[_0xed32cd(0x84)]=_0x6e326c(_0x449767[_0xed32cd(0xaa)],_0xed32cd(0x83),{..._0x5574f4,'pubkey':_0x4b11a9,'ctx-name':_0xed32cd(0x75)+this[_0xed32cd(0x87)],'sourceList':'','imgOnly':_0xed32cd(0xbc),'removeCopyright':_0xed32cd(0xbc),'localeName':this[_0xed32cd(0x9f)][_0xed32cd(0xa2)][_0xed32cd(0x76)],'externalSourcesEmbedCss':_0xed32cd(0xc5)}),this[_0xed32cd(0x84)][_0xed32cd(0x8f)]=_0x3b3d21=>{const _0x4f6756=_0xed32cd;if(_0x4f6756(0x98)==_0x3b3d21)return _0x4f6756(0x8a);},_0x449767[_0xed32cd(0xaa)][_0xed32cd(0xa7)][_0xed32cd(0x77)](this[_0xed32cd(0x84)]);}[_0x4008e4(0x78)](){const _0x4ce002=_0x4008e4;this[_0x4ce002(0x89)]=_0x6e326c(_0x449767[_0x4ce002(0xaa)],_0x4ce002(0x9a),{'ctx-name':_0x4ce002(0x75)+this[_0x4ce002(0x87)]}),_0x449767[_0x4ce002(0xaa)][_0x4ce002(0xa7)][_0x4ce002(0x77)](this[_0x4ce002(0x89)]);}[_0x4008e4(0x74)](){const _0x1b294a=_0x4008e4,_0x23b050=this[_0x1b294a(0x9f)][_0x1b294a(0xae)][_0x1b294a(0xb5)](_0x1b294a(0x99));_0x23b050&&this[_0x1b294a(0x86)](_0x23b050,_0x1b294a(0x9c),()=>{const _0x29d588=_0x1b294a,_0x2a53ea=this[_0x29d588(0x9f)][_0x29d588(0xbb)][_0x29d588(0xaa)][_0x29d588(0xa4)][_0x29d588(0xa3)]();_0x2a53ea&&_0x2a53ea[_0x29d588(0xb4)](_0x29d588(0x91))&&this[_0x29d588(0x9f)][_0x29d588(0xa0)][_0x29d588(0xc6)][_0x29d588(0xa5)](_0x29d588(0x7d),()=>{const _0xdc39ab=_0x29d588;_0x23f06c(this[_0xdc39ab(0x9f)],_0x2a53ea);});});const _0x2be78c=this[_0x1b294a(0x9f)][_0x1b294a(0xae)][_0x1b294a(0xb5)](_0x1b294a(0xbf));_0x2be78c&&this[_0x1b294a(0x86)](_0x2be78c,_0x1b294a(0x9c),()=>{const _0xf9fb1d=_0x1b294a,_0x419ac8=this[_0xf9fb1d(0x9f)][_0xf9fb1d(0xbb)][_0xf9fb1d(0xaa)][_0xf9fb1d(0xa4)][_0xf9fb1d(0xa3)]();_0x419ac8&&_0x419ac8[_0xf9fb1d(0xb4)](_0xf9fb1d(0x91))&&this[_0xf9fb1d(0x9f)][_0xf9fb1d(0xa0)][_0xf9fb1d(0xc6)][_0xf9fb1d(0xa5)](_0xf9fb1d(0x7d),()=>{const _0x403f34=_0xf9fb1d;_0x23f06c(this[_0x403f34(0x9f)],_0x419ac8);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x294104,ObservableMixin as _0x31456d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x30589f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x39bfa3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x29a4a1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4df9bc}from'../../utils/uploadutils.js';import{getImageUrls as _0x3d0e5d,getImageDimension as _0x17fa07}from'../../utils/editingutils.js';import{isAncestor as _0x3df1bf}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x31456d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xe636d9,_0x5b3752,_0x2a960c){super(),this['_editor']=_0xe636d9,this['_dialog']=_0x5b3752,this['_imageElement']=_0x2a960c,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 _0x1aadba=this['_imageElement'],_0x3336bc=_0x1aadba['getAttribute']('uploadcareImageId'),_0x1a65ea=_0x1aadba['getAttribute']('src');if(_0x3336bc)await this['_loadImageInfo'](_0x3336bc,_0x1a65ea);else{if(this['_imageCache']['has'](_0x1a65ea)){const _0xc952ae=this['_imageCache']['get'](_0x1a65ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc952ae['url'],this['imageDimension']=_0xc952ae['dimension'],this['imageId']=_0xc952ae['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa0dd60}=this['_editor'],t=_0xa0dd60['t'],_0x1a258=new _0x29a4a1(_0xa0dd60,this['imageStatus'],this['_attributes']);_0x1a258['bind']('status')['to'](this,'imageStatus'),_0x1a258['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a258['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a258['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a258,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x39bfa3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a258,'position':_0x30589f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a258['focus']();},'onHide':()=>{_0x1a258['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51fefa=>!_0x3df1bf(_0x51fefa,_0x1a258['element'])}});}['_loadImageInfo'](_0x49ab5a,_0x28e746){return _0x4df9bc['getInfo'](_0x49ab5a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1c2bc3=>{const {width:_0x3850c5,height:_0x48a4a3}=_0x1c2bc3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x28e746,this['imageDimension']={'width':_0x3850c5,'height':_0x48a4a3},this['imageId']=_0x49ab5a;})['catch'](_0x54edb9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54edb9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x45b180,_0x558477){return this['_getImageAsFile'](_0x45b180)['then'](_0xaf92c9=>_0x4df9bc['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':_0x558477['signal'],'file':_0xaf92c9,'onProgress':_0x18011f=>{_0x18011f&&_0x18011f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x18011f['value']));}}))['then'](_0x59bd8e=>{const {width:_0x326cc7,height:_0x25b34b}=_0x59bd8e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59bd8e['cdnUrl'],this['imageDimension']={'width':_0x326cc7,'height':_0x25b34b},this['imageId']=_0x59bd8e['uuid'],this['imageUploadProgress']=null;const _0x19241a=_0x45b180['getAttribute']('src');this['_imageCache']['set'](_0x19241a,{'id':_0x59bd8e['uuid'],'url':_0x59bd8e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2885fc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2885fc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1d47e5,_0x440c1a){_0x1d47e5['on']('apply',(_0x3729cb,_0x304288)=>{this['_replaceImage'](_0x440c1a,_0x304288['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1d47e5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1d47e5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4fee38,_0x416aa0,_0x4ad2aa){const _0xcfd309=this['_editor'],{width:_0x4d8daa,height:_0x291739}=_0x17fa07(_0x416aa0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3058a0,imageSources:_0x176b12}=_0x3d0e5d(_0x416aa0,_0x4d8daa);_0xcfd309['model']['change'](_0x26fb9d=>{if('$graveyard'===_0x4fee38['root']['rootName']){_0xcfd309['execute']('insertImage',{'imageType':_0x4fee38['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4fee38['getAttributes']()),'uploadcareImageId':_0x4ad2aa,'src':_0x3058a0,'sources':_0x176b12,'width':_0x4d8daa,'height':_0x291739}});const _0x3b961e=_0x4fee38['getChildren']();_0x4fee38=_0xcfd309['model']['document']['selection']['getSelectedElement']();for(const _0x56a0a2 of _0x3b961e)_0x26fb9d['append'](_0x26fb9d['cloneElement'](_0x56a0a2),_0x4fee38);}else _0x26fb9d['setSelection'](_0x4fee38,'on'),_0xcfd309['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4fee38['getAttributes']()),'uploadcareImageId':_0x4ad2aa,'src':_0x3058a0,'sources':_0x176b12,'width':_0x4d8daa,'height':_0x291739},_0x4fee38);_0x26fb9d['setSelection'](_0x4fee38,'on');});}async['_getImageAsFile'](_0x4020f3){const _0x48e16c=_0x294104['window'],_0x57a595=_0x294104['document']['location']['href'],_0x53ea03=new _0x48e16c['URL'](_0x4020f3['getAttribute']('src'),_0x57a595);if('data:'===_0x53ea03['protocol']){const _0x53a769=_0x53ea03['href']['split'](','),_0x21cc6f=_0x53a769[0x0]['match'](/:(.*?);/)[0x1],_0x4102fe=_0x21cc6f['split']('/')[0x1],_0x5e404b=_0x48e16c['atob'](_0x53a769[_0x53a769['length']-0x1]);let _0x309a4d=_0x5e404b['length'];const _0xb0edb7=new _0x48e16c['Uint8Array'](_0x309a4d);for(;_0x309a4d--;)_0xb0edb7[_0x309a4d]=_0x5e404b['charCodeAt'](_0x309a4d);return new _0x48e16c['File']([_0xb0edb7],'image.'+_0x4102fe,{'type':_0x21cc6f});}const _0x2c80ad=_0x53ea03['href']['split']('/'),_0x52aa26=_0x2c80ad[_0x2c80ad['length']-0x1],_0x336b98=_0x52aa26['split']('.')[0x1];return _0x48e16c['fetch'](_0x53ea03['href'])['then'](_0x3cceca=>_0x3cceca['clone']()['blob']())['then'](_0x23b2bf=>new _0x48e16c['File']([_0x23b2bf],_0x52aa26,{'type':'image/'+_0x336b98}));}}
23
+ import{global as _0x1dc8bb,ObservableMixin as _0x37ec15}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x150162}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3b3d20}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x21cd6e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x406bba}from'../../utils/uploadutils.js';import{getImageUrls as _0x494527,getImageDimension as _0x40f6e0}from'../../utils/editingutils.js';import{isAncestor as _0x4be30f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x37ec15(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x366501,_0x2f43a9,_0x439406){super(),this['_editor']=_0x366501,this['_dialog']=_0x2f43a9,this['_imageElement']=_0x439406,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 _0x3ee3a2=this['_imageElement'],_0x5978c0=_0x3ee3a2['getAttribute']('uploadcareImageId'),_0x5eccf2=_0x3ee3a2['getAttribute']('src');if(_0x5978c0)await this['_loadImageInfo'](_0x5978c0,_0x5eccf2);else{if(this['_imageCache']['has'](_0x5eccf2)){const _0xaf1624=this['_imageCache']['get'](_0x5eccf2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xaf1624['url'],this['imageDimension']=_0xaf1624['dimension'],this['imageId']=_0xaf1624['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f1ab4}=this['_editor'],t=_0x4f1ab4['t'],_0x56257f=new _0x21cd6e(_0x4f1ab4,this['imageStatus'],this['_attributes']);_0x56257f['bind']('status')['to'](this,'imageStatus'),_0x56257f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x56257f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x56257f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x56257f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b3d20,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x56257f,'position':_0x150162['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x56257f['focus']();},'onHide':()=>{_0x56257f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5c1b4f=>!_0x4be30f(_0x5c1b4f,_0x56257f['element'])}});}['_loadImageInfo'](_0x120d1f,_0x3efb0d){return _0x406bba['getInfo'](_0x120d1f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x84237e=>{const {width:_0xaa3f4,height:_0x2f0bd1}=_0x84237e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3efb0d,this['imageDimension']={'width':_0xaa3f4,'height':_0x2f0bd1},this['imageId']=_0x120d1f;})['catch'](_0x5819e3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5819e3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3bc567,_0x11f225){return this['_getImageAsFile'](_0x3bc567)['then'](_0x51526b=>_0x406bba['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':_0x11f225['signal'],'file':_0x51526b,'onProgress':_0x1a9d01=>{_0x1a9d01&&_0x1a9d01['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1a9d01['value']));}}))['then'](_0x4dbd33=>{const {width:_0x403308,height:_0x408450}=_0x4dbd33['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4dbd33['cdnUrl'],this['imageDimension']={'width':_0x403308,'height':_0x408450},this['imageId']=_0x4dbd33['uuid'],this['imageUploadProgress']=null;const _0x57019e=_0x3bc567['getAttribute']('src');this['_imageCache']['set'](_0x57019e,{'id':_0x4dbd33['uuid'],'url':_0x4dbd33['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4906ef=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4906ef['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5b4633,_0x517ef5){_0x5b4633['on']('apply',(_0x4ab205,_0x48befa)=>{this['_replaceImage'](_0x517ef5,_0x48befa['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5b4633['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5b4633['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5bb5f6,_0x33739a,_0x3d4650){const _0x3a1759=this['_editor'],{width:_0x5c197a,height:_0x5dbabf}=_0x40f6e0(_0x33739a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x52a76a,imageSources:_0x37e9d3}=_0x494527(_0x33739a,_0x5c197a);_0x3a1759['model']['change'](_0x54211c=>{if('$graveyard'===_0x5bb5f6['root']['rootName']){_0x3a1759['execute']('insertImage',{'imageType':_0x5bb5f6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5bb5f6['getAttributes']()),'uploadcareImageId':_0x3d4650,'src':_0x52a76a,'sources':_0x37e9d3,'width':_0x5c197a,'height':_0x5dbabf}});const _0x4ad3b5=_0x5bb5f6['getChildren']();_0x5bb5f6=_0x3a1759['model']['document']['selection']['getSelectedElement']();for(const _0x1e7f38 of _0x4ad3b5)_0x54211c['append'](_0x54211c['cloneElement'](_0x1e7f38),_0x5bb5f6);}else _0x54211c['setSelection'](_0x5bb5f6,'on'),_0x3a1759['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5bb5f6['getAttributes']()),'uploadcareImageId':_0x3d4650,'src':_0x52a76a,'sources':_0x37e9d3,'width':_0x5c197a,'height':_0x5dbabf},_0x5bb5f6);_0x54211c['setSelection'](_0x5bb5f6,'on');});}async['_getImageAsFile'](_0x7cfbfe){const _0x505407=_0x1dc8bb['window'],_0x4b3f38=_0x1dc8bb['document']['location']['href'],_0x5a1d57=new _0x505407['URL'](_0x7cfbfe['getAttribute']('src'),_0x4b3f38);if('data:'===_0x5a1d57['protocol']){const _0x129bb4=_0x5a1d57['href']['split'](','),_0x2a5583=_0x129bb4[0x0]['match'](/:(.*?);/)[0x1],_0x5dc9b6=_0x2a5583['split']('/')[0x1],_0x16b389=_0x505407['atob'](_0x129bb4[_0x129bb4['length']-0x1]);let _0x2f127f=_0x16b389['length'];const _0x101549=new _0x505407['Uint8Array'](_0x2f127f);for(;_0x2f127f--;)_0x101549[_0x2f127f]=_0x16b389['charCodeAt'](_0x2f127f);return new _0x505407['File']([_0x101549],'image.'+_0x5dc9b6,{'type':_0x2a5583});}const _0x8c479b=_0x5a1d57['href']['split']('/'),_0x1c598b=_0x8c479b[_0x8c479b['length']-0x1],_0x44c6c3=_0x1c598b['split']('.')[0x1];return _0x505407['fetch'](_0x5a1d57['href'])['then'](_0x128a41=>_0x128a41['clone']()['blob']())['then'](_0x579758=>new _0x505407['File']([_0x579758],_0x1c598b,{'type':'image/'+_0x44c6c3}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x106383,_0xf996c3){const _0x2a5f47=_0x1659,_0x20d9c7=_0x106383();while(!![]){try{const _0x45333b=-parseInt(_0x2a5f47(0x173))/0x1*(-parseInt(_0x2a5f47(0x16e))/0x2)+-parseInt(_0x2a5f47(0x16d))/0x3+parseInt(_0x2a5f47(0x177))/0x4+-parseInt(_0x2a5f47(0x170))/0x5*(parseInt(_0x2a5f47(0x176))/0x6)+-parseInt(_0x2a5f47(0x169))/0x7*(parseInt(_0x2a5f47(0x16c))/0x8)+parseInt(_0x2a5f47(0x166))/0x9*(parseInt(_0x2a5f47(0x16f))/0xa)+parseInt(_0x2a5f47(0x167))/0xb;if(_0x45333b===_0xf996c3)break;else _0x20d9c7['push'](_0x20d9c7['shift']());}catch(_0x478ec4){_0x20d9c7['push'](_0x20d9c7['shift']());}}}(_0x1a04,0xd8639));function _0x1a04(){const _0x2d3cca=['bindTemplate','689388evHOCY','1962128FeXRIh','uc-light','2562507EsOEUM','9842679xhJYGa','uc-cloud-image-editor','6447mbvvIh','image-edit','setTemplate','120VLvwFx','1458102UtMefC','16iBDZGL','10AEnDJX','45sigInL','ck-uploadcare-theme','imageSrc','93777kOFDIp','set'];_0x1a04=function(){return _0x2d3cca;};return _0x1a04();}import{View as _0xd2384c}from'ckeditor5/src/ui.js';function _0x1659(_0x32d502,_0x459a5c){const _0x1a0486=_0x1a04();return _0x1659=function(_0x1659d5,_0x46da35){_0x1659d5=_0x1659d5-0x166;let _0x35fb93=_0x1a0486[_0x1659d5];return _0x35fb93;},_0x1659(_0x32d502,_0x459a5c);}export class UploadcareImageEditFormEditingView extends _0xd2384c{constructor(_0x347e7f,_0x15d0af){const _0x50bee5=_0x1659;super(_0x347e7f);const _0x115262=this[_0x50bee5(0x175)];this[_0x50bee5(0x174)](_0x50bee5(0x172),''),this[_0x50bee5(0x16b)]({'tag':_0x50bee5(0x168),'attributes':{..._0x15d0af,'class':[_0x50bee5(0x178),_0x50bee5(0x171)],'ctx-name':_0x50bee5(0x16a),'cdn-url':_0x115262['to'](_0x50bee5(0x172))}});}}
23
+ function _0x4644(_0x53f6d2,_0x5a4f96){const _0x371b5b=_0x371b();return _0x4644=function(_0x46444b,_0xcef233){_0x46444b=_0x46444b-0x137;let _0x160472=_0x371b5b[_0x46444b];return _0x160472;},_0x4644(_0x53f6d2,_0x5a4f96);}(function(_0x55297c,_0x473ceb){const _0xa4149=_0x4644,_0x19a1dc=_0x55297c();while(!![]){try{const _0x16bc72=parseInt(_0xa4149(0x142))/0x1+-parseInt(_0xa4149(0x139))/0x2*(parseInt(_0xa4149(0x13c))/0x3)+parseInt(_0xa4149(0x137))/0x4+-parseInt(_0xa4149(0x148))/0x5*(parseInt(_0xa4149(0x141))/0x6)+parseInt(_0xa4149(0x13d))/0x7+-parseInt(_0xa4149(0x146))/0x8+parseInt(_0xa4149(0x145))/0x9*(parseInt(_0xa4149(0x147))/0xa);if(_0x16bc72===_0x473ceb)break;else _0x19a1dc['push'](_0x19a1dc['shift']());}catch(_0x264fa3){_0x19a1dc['push'](_0x19a1dc['shift']());}}}(_0x371b,0x3f24c));import{View as _0x4385cd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4385cd{constructor(_0x3cccbb,_0xf1d16){const _0x512240=_0x4644;super(_0x3cccbb);const _0x25a82e=this[_0x512240(0x13e)];this[_0x512240(0x13f)](_0x512240(0x144),''),this[_0x512240(0x140)]({'tag':_0x512240(0x13a),'attributes':{..._0xf1d16,'class':[_0x512240(0x143),_0x512240(0x138)],'ctx-name':_0x512240(0x13b),'cdn-url':_0x25a82e['to'](_0x512240(0x144))}});}}function _0x371b(){const _0x1050fb=['bindTemplate','set','setTemplate','6XxlRiF','30415rLEhEi','uc-light','imageSrc','9XibEgK','2215912yovFUC','2573660OCvLSv','26455tKskGK','1108240tnfQXs','ck-uploadcare-theme','2ANQxMm','uc-cloud-image-editor','image-edit','817053zEeIbq','1738982OYFfXG'];_0x371b=function(){return _0x1050fb;};return _0x371b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1fd610}from'ckeditor5/src/icons.js';import{ButtonView as _0x483d54,IconView as _0x3189f,View as _0x38aa0d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x38aa0d{constructor(_0x5cfeda){super(_0x5cfeda);const t=_0x5cfeda['t'];this['set']('errorType',null);const _0x1a9681=new _0x483d54(_0x5cfeda);_0x1a9681['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1a9681['withText']=!0x0,_0x1a9681['class']='ck-button-action',_0x1a9681['on']('execute',()=>{this['fire']('retry');}),_0x1a9681['bind']('isVisible')['to'](this,'errorType',_0x197610=>'NotFound'!==_0x197610);const _0x2a6488=new _0x3189f();_0x2a6488['content']=_0x1fd610,_0x2a6488['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x25d919=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':[_0x2a6488,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x25d919['to']('errorType',_0x1c2c4e=>t('NotFound'!==_0x1c2c4e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1a9681]},{'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 _0x3107b0}from'ckeditor5/src/icons.js';import{ButtonView as _0x471f18,IconView as _0xe1872,View as _0x2bc64c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2bc64c{constructor(_0x507fc7){super(_0x507fc7);const t=_0x507fc7['t'];this['set']('errorType',null);const _0x4780d8=new _0x471f18(_0x507fc7);_0x4780d8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4780d8['withText']=!0x0,_0x4780d8['class']='ck-button-action',_0x4780d8['on']('execute',()=>{this['fire']('retry');}),_0x4780d8['bind']('isVisible')['to'](this,'errorType',_0x26b549=>'NotFound'!==_0x26b549);const _0x41524f=new _0xe1872();_0x41524f['content']=_0x3107b0,_0x41524f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5e2aff=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':[_0x41524f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5e2aff['to']('errorType',_0x40667a=>t('NotFound'!==_0x40667a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4780d8]},{'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 _0x9a178b,View as _0x7ffc7b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x7ffc7b{constructor(_0x64ad0b){super(_0x64ad0b);const t=_0x64ad0b['t'],_0x1b59d7=this['bindTemplate'],_0x20ef73=new _0x9a178b();_0x20ef73['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':[_0x20ef73,{'text':_0x1b59d7['to']('imageUploadProgress',_0x1b6d73=>t('Loading\x20image...')+'\x20('+(_0x1b6d73||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 _0x163687,View as _0x1d8dde}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1d8dde{constructor(_0x599246){super(_0x599246);const t=_0x599246['t'],_0x39ed48=this['bindTemplate'],_0x39d551=new _0x163687();_0x39d551['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':[_0x39d551,{'text':_0x39ed48['to']('imageUploadProgress',_0x1242d1=>t('Loading\x20image...')+'\x20('+(_0x1242d1||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 _0x1d0d07=_0x2db0;(function(_0x2e951d,_0x4a1401){const _0x1391af=_0x2db0,_0x127d23=_0x2e951d();while(!![]){try{const _0x4077bb=parseInt(_0x1391af(0x219))/0x1+-parseInt(_0x1391af(0x212))/0x2*(-parseInt(_0x1391af(0x201))/0x3)+-parseInt(_0x1391af(0x1fd))/0x4*(-parseInt(_0x1391af(0x1fe))/0x5)+-parseInt(_0x1391af(0x215))/0x6*(-parseInt(_0x1391af(0x1ef))/0x7)+parseInt(_0x1391af(0x213))/0x8+-parseInt(_0x1391af(0x20f))/0x9*(parseInt(_0x1391af(0x20b))/0xa)+-parseInt(_0x1391af(0x206))/0xb*(parseInt(_0x1391af(0x1fa))/0xc);if(_0x4077bb===_0x4a1401)break;else _0x127d23['push'](_0x127d23['shift']());}catch(_0x355269){_0x127d23['push'](_0x127d23['shift']());}}}(_0x31b9,0x8a05d));import{View as _0x3a98f8}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3fe522}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xd0df5b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x38245d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2d1c10}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2d1c10{[_0x1d0d07(0x1f0)];[_0x1d0d07(0x20c)];[_0x1d0d07(0x20a)];[_0x1d0d07(0x20d)];[_0x1d0d07(0x221)];constructor(_0xc4fb15,_0x148687,_0x616cf0){const _0x699218=_0x1d0d07;super(_0xc4fb15),this[_0x699218(0x1f0)]=this[_0x699218(0x1ec)](),this[_0x699218(0x20c)]=new _0x3fe522(_0xc4fb15),this[_0x699218(0x20a)]=new _0xd0df5b(_0xc4fb15),this[_0x699218(0x20d)]=new _0x38245d(_0xc4fb15,_0x616cf0),this[_0x699218(0x221)]=new _0x3a98f8(_0xc4fb15),this[_0x699218(0x221)][_0x699218(0x1f4)](this[_0x699218(0x1f7)]()),this[_0x699218(0x21e)](_0x699218(0x218),_0x148687),this[_0x699218(0x1f4)]({'tag':_0x699218(0x1f1),'attributes':{'class':['ck',_0x699218(0x220),_0x699218(0x211)],'tabindex':'-1'},'children':this[_0x699218(0x1f0)]}),this[_0x699218(0x208)](),this[_0x699218(0x20e)](_0x699218(0x214),()=>{const _0x15c63c=_0x699218;this[_0x15c63c(0x21f)](this[_0x15c63c(0x216)],_0x11bf6d=>{const _0x12d252=_0x15c63c;this[_0x12d252(0x1f6)](_0x11bf6d);});}),this['on'](_0x699218(0x1fc),()=>{const _0x35227d=_0x699218;this[_0x35227d(0x208)]();}),this[_0x699218(0x205)]();}[_0x1d0d07(0x202)](){const _0x5c3e83=_0x1d0d07;this[_0x5c3e83(0x216)][_0x5c3e83(0x202)]();}[_0x1d0d07(0x208)](){const _0x5ac885=_0x1d0d07;switch(this[_0x5ac885(0x1f0)][_0x5ac885(0x21d)](),this[_0x5ac885(0x218)]){case _0x5ac885(0x1f3):this[_0x5ac885(0x1f0)][_0x5ac885(0x21c)](this[_0x5ac885(0x20c)]);break;case _0x5ac885(0x21a):this[_0x5ac885(0x1f0)][_0x5ac885(0x21c)](this[_0x5ac885(0x20a)]);break;case _0x5ac885(0x1fb):this[_0x5ac885(0x1f0)][_0x5ac885(0x1eb)]([this[_0x5ac885(0x20d)],this[_0x5ac885(0x221)]]);}}[_0x1d0d07(0x21f)](_0x85144,_0x29864e){const _0xe6c564=_0x1d0d07,_0x4efa02=_0xe6c564(0x1ee),_0x205a20=_0x85144[_0xe6c564(0x1ed)](_0x4efa02);if(_0x205a20)return _0x29864e(_0x205a20);const _0x11ff5c=new MutationObserver(_0x342776=>{const _0x21ef21=_0xe6c564,_0x3fddd2=_0x342776[_0x21ef21(0x204)](_0x576028=>_0x576028[_0x21ef21(0x1f8)]===_0x85144&&_0x576028[_0x21ef21(0x1f5)][_0x21ef21(0x217)]>0x0&&_0x576028[_0x21ef21(0x1f5)][0x0][_0x21ef21(0x210)][_0x21ef21(0x222)]()===_0x4efa02);_0x3fddd2[_0x21ef21(0x217)]&&(_0x11ff5c[_0x21ef21(0x223)](),_0x29864e(_0x3fddd2[0x0][_0x21ef21(0x1f5)][0x0]));});_0x11ff5c[_0xe6c564(0x203)](_0x85144,{'childList':!0x0,'subtree':!0x0});}[_0x1d0d07(0x1f6)](_0x315077){const _0x413547=_0x1d0d07;_0x315077[_0x413547(0x21b)](_0x413547(0x207),_0x2f83aa=>{const _0x1f3269=_0x413547;this[_0x1f3269(0x1f9)](_0x1f3269(0x207),{'imageSrc':_0x2f83aa[_0x1f3269(0x209)][_0x1f3269(0x1f2)]});}),_0x315077[_0x413547(0x21b)](_0x413547(0x1ff),()=>{const _0x363804=_0x413547;this[_0x363804(0x1f9)](_0x363804(0x1ff));});}[_0x1d0d07(0x205)](){const _0x1a0e3a=_0x1d0d07;this[_0x1a0e3a(0x20a)]['on'](_0x1a0e3a(0x200),()=>{const _0xb2b844=_0x1a0e3a;this[_0xb2b844(0x1f9)](_0xb2b844(0x200));});}}function _0x2db0(_0x40f885,_0x131737){const _0x31b980=_0x31b9();return _0x2db0=function(_0x2db07c,_0x498a03){_0x2db07c=_0x2db07c-0x1eb;let _0x4eeab0=_0x31b980[_0x2db07c];return _0x4eeab0;},_0x2db0(_0x40f885,_0x131737);}function _0x31b9(){const _0xfb0d39=['fire','8628msWeSP','ready','change:status','2086436UeoavI','10LQwdfQ','cancel','retry','2157tMsZXX','focus','observe','filter','_addErrorViewListeners','26389NxoMcn','apply','_setView','detail','_errorView','174120gsUcCZ','_loadingView','_editingView','once','225qCqLVM','nodeName','ck-uploadcare-form','1316lHRIGh','2598056uxAZXN','render','78kRaIvX','element','length','status','478728gpnCke','error','addEventListener','add','clear','set','_waitForImageEditorComponent','ck-reset_all-excluded','_focusableView','toLowerCase','disconnect','addMany','createCollection','querySelector','uc-cloud-image-editor','218463bpjNzO','_items','div','cdnUrl','uploading','setTemplate','addedNodes','_addUploadcareImageEditorListeners','getFocusableElement','target'];_0x31b9=function(){return _0xfb0d39;};return _0x31b9();}
23
+ const _0x371788=_0x3e85;function _0x3e85(_0x10b29e,_0x2ea0d2){const _0x5bca06=_0x5bca();return _0x3e85=function(_0x3e853f,_0x262014){_0x3e853f=_0x3e853f-0x15a;let _0x2263fb=_0x5bca06[_0x3e853f];return _0x2263fb;},_0x3e85(_0x10b29e,_0x2ea0d2);}(function(_0x276639,_0x3e3514){const _0x58bb8c=_0x3e85,_0x1ea9be=_0x276639();while(!![]){try{const _0x2cb002=parseInt(_0x58bb8c(0x17b))/0x1+-parseInt(_0x58bb8c(0x185))/0x2*(parseInt(_0x58bb8c(0x181))/0x3)+parseInt(_0x58bb8c(0x167))/0x4+-parseInt(_0x58bb8c(0x173))/0x5*(-parseInt(_0x58bb8c(0x15a))/0x6)+-parseInt(_0x58bb8c(0x187))/0x7*(parseInt(_0x58bb8c(0x15f))/0x8)+-parseInt(_0x58bb8c(0x168))/0x9*(-parseInt(_0x58bb8c(0x176))/0xa)+-parseInt(_0x58bb8c(0x183))/0xb;if(_0x2cb002===_0x3e3514)break;else _0x1ea9be['push'](_0x1ea9be['shift']());}catch(_0x3090c1){_0x1ea9be['push'](_0x1ea9be['shift']());}}}(_0x5bca,0xb536d));import{View as _0x11fe9d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x118f4e}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3f0df2}from'./uploadcareimageeditformerrorview.js';function _0x5bca(){const _0x52dcd2=['addedNodes','15406325EMfKMI','cdnUrl','808168MkqSgE','_errorView','42OPArwW','uploading','setTemplate','toLowerCase','target','once','change:status','focus','cancel','status','disconnect','6klnyKP','_editingView','ready','fire','observe','641416EzKXxy','_items','length','filter','div','set','querySelector','getFocusableElement','5405356xOBIPR','18OiYbHv','error','addMany','_addErrorViewListeners','retry','addEventListener','add','nodeName','_addUploadcareImageEditorListeners','render','_setView','6865545yBYtzu','ck-reset_all-excluded','element','1962300JvqNIK','uc-cloud-image-editor','createCollection','_focusableView','detail','315150DKiLmM','ck-uploadcare-form','apply','clear','_waitForImageEditorComponent','_loadingView','6oYxGjK'];_0x5bca=function(){return _0x52dcd2;};return _0x5bca();}import{UploadcareImageEditFormEditingView as _0x3d2156}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x38b93d}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x38b93d{[_0x371788(0x160)];[_0x371788(0x180)];[_0x371788(0x186)];[_0x371788(0x15b)];[_0x371788(0x179)];constructor(_0x1ee553,_0x5c8280,_0x57761b){const _0x38a6d9=_0x371788;super(_0x1ee553),this[_0x38a6d9(0x160)]=this[_0x38a6d9(0x178)](),this[_0x38a6d9(0x180)]=new _0x118f4e(_0x1ee553),this[_0x38a6d9(0x186)]=new _0x3f0df2(_0x1ee553),this[_0x38a6d9(0x15b)]=new _0x3d2156(_0x1ee553,_0x57761b),this[_0x38a6d9(0x179)]=new _0x11fe9d(_0x1ee553),this[_0x38a6d9(0x179)][_0x38a6d9(0x189)](this[_0x38a6d9(0x166)]()),this[_0x38a6d9(0x164)](_0x38a6d9(0x190),_0x5c8280),this[_0x38a6d9(0x189)]({'tag':_0x38a6d9(0x163),'attributes':{'class':['ck',_0x38a6d9(0x174),_0x38a6d9(0x17c)],'tabindex':'-1'},'children':this[_0x38a6d9(0x160)]}),this[_0x38a6d9(0x172)](),this[_0x38a6d9(0x18c)](_0x38a6d9(0x171),()=>{const _0x34f6f1=_0x38a6d9;this[_0x34f6f1(0x17f)](this[_0x34f6f1(0x175)],_0x11e9f9=>{const _0x5f373e=_0x34f6f1;this[_0x5f373e(0x170)](_0x11e9f9);});}),this['on'](_0x38a6d9(0x18d),()=>{const _0x3ea82e=_0x38a6d9;this[_0x3ea82e(0x172)]();}),this[_0x38a6d9(0x16b)]();}[_0x371788(0x18e)](){const _0x417b55=_0x371788;this[_0x417b55(0x175)][_0x417b55(0x18e)]();}[_0x371788(0x172)](){const _0x2b236c=_0x371788;switch(this[_0x2b236c(0x160)][_0x2b236c(0x17e)](),this[_0x2b236c(0x190)]){case _0x2b236c(0x188):this[_0x2b236c(0x160)][_0x2b236c(0x16e)](this[_0x2b236c(0x180)]);break;case _0x2b236c(0x169):this[_0x2b236c(0x160)][_0x2b236c(0x16e)](this[_0x2b236c(0x186)]);break;case _0x2b236c(0x15c):this[_0x2b236c(0x160)][_0x2b236c(0x16a)]([this[_0x2b236c(0x15b)],this[_0x2b236c(0x179)]]);}}[_0x371788(0x17f)](_0x30a647,_0xa570d3){const _0x5c5496=_0x371788,_0x4b5aa6=_0x5c5496(0x177),_0x5d9350=_0x30a647[_0x5c5496(0x165)](_0x4b5aa6);if(_0x5d9350)return _0xa570d3(_0x5d9350);const _0x34279b=new MutationObserver(_0x399040=>{const _0xccd154=_0x5c5496,_0x25fe04=_0x399040[_0xccd154(0x162)](_0x59e73e=>_0x59e73e[_0xccd154(0x18b)]===_0x30a647&&_0x59e73e[_0xccd154(0x182)][_0xccd154(0x161)]>0x0&&_0x59e73e[_0xccd154(0x182)][0x0][_0xccd154(0x16f)][_0xccd154(0x18a)]()===_0x4b5aa6);_0x25fe04[_0xccd154(0x161)]&&(_0x34279b[_0xccd154(0x191)](),_0xa570d3(_0x25fe04[0x0][_0xccd154(0x182)][0x0]));});_0x34279b[_0x5c5496(0x15e)](_0x30a647,{'childList':!0x0,'subtree':!0x0});}[_0x371788(0x170)](_0xb4e5cf){const _0x2ca33a=_0x371788;_0xb4e5cf[_0x2ca33a(0x16d)](_0x2ca33a(0x17d),_0x2d294a=>{const _0x1aaea0=_0x2ca33a;this[_0x1aaea0(0x15d)](_0x1aaea0(0x17d),{'imageSrc':_0x2d294a[_0x1aaea0(0x17a)][_0x1aaea0(0x184)]});}),_0xb4e5cf[_0x2ca33a(0x16d)](_0x2ca33a(0x18f),()=>{const _0x1bfc05=_0x2ca33a;this[_0x1bfc05(0x15d)](_0x1bfc05(0x18f));});}[_0x371788(0x16b)](){const _0x4d6399=_0x371788;this[_0x4d6399(0x186)]['on'](_0x4d6399(0x16c),()=>{const _0x4109ee=_0x4d6399;this[_0x4109ee(0x15d)](_0x4109ee(0x16c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd0cc26=_0x5976;(function(_0x59d1f2,_0x2fc0c9){const _0x12f839=_0x5976,_0x170b81=_0x59d1f2();while(!![]){try{const _0x52f2e9=parseInt(_0x12f839(0x14e))/0x1*(parseInt(_0x12f839(0x154))/0x2)+parseInt(_0x12f839(0x159))/0x3*(parseInt(_0x12f839(0x156))/0x4)+parseInt(_0x12f839(0x151))/0x5+parseInt(_0x12f839(0x155))/0x6*(parseInt(_0x12f839(0x158))/0x7)+parseInt(_0x12f839(0x15d))/0x8+parseInt(_0x12f839(0x140))/0x9+-parseInt(_0x12f839(0x15f))/0xa*(parseInt(_0x12f839(0x15e))/0xb);if(_0x52f2e9===_0x2fc0c9)break;else _0x170b81['push'](_0x170b81['shift']());}catch(_0x1e2269){_0x170b81['push'](_0x170b81['shift']());}}}(_0x1b36,0x659f9));import{Command as _0x2461be}from'ckeditor5/src/core.js';function _0x1b36(){const _0x103269=['_isEditable','imageInline','selection','set','plugins','bind','imageEditController','uploadcare.allowExternalImagesEditing','isActive','execute','unbind','76OElLuD','getSelectedElement','get','901675mLSOqb','document','requires','14992sVimxH','3228TswQnY','932IbeOsD','imageBlock','3416OkYedj','1629RdEiCD','editor','model','element','2625576QzYESU','33kmqTJh','4125410LMEXsF','isEnabled','1679229OKEbCr','refresh','config'];_0x1b36=function(){return _0x103269;};return _0x1b36();}import{Dialog as _0x2af0c4}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3cfe0d}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1e3e53}from'../utils/editingutils.js';function _0x5976(_0x291c66,_0x47eb3f){const _0x1b3665=_0x1b36();return _0x5976=function(_0x597664,_0x401c4c){_0x597664=_0x597664-0x140;let _0x5eb34b=_0x1b3665[_0x597664];return _0x5eb34b;},_0x5976(_0x291c66,_0x47eb3f);}export class UploadcareImageEditCommand extends _0x2461be{[_0xd0cc26(0x149)];static get[_0xd0cc26(0x153)](){return[_0x2af0c4];}[_0xd0cc26(0x143)];constructor(_0x362374){const _0x1dbf97=_0xd0cc26;super(_0x362374),this[_0x1dbf97(0x149)]=void 0x0,this[_0x1dbf97(0x143)]=_0x1e3e53(_0x362374[_0x1dbf97(0x142)][_0x1dbf97(0x150)](_0x1dbf97(0x14a))||[]),this[_0x1dbf97(0x146)]({'isActive':!0x1});}[_0xd0cc26(0x141)](){const _0xcd1a9b=_0xd0cc26,_0x572139=this[_0xcd1a9b(0x15a)][_0xcd1a9b(0x15b)][_0xcd1a9b(0x152)][_0xcd1a9b(0x145)][_0xcd1a9b(0x14f)]();this[_0xcd1a9b(0x160)]=this[_0xcd1a9b(0x143)](_0x572139);}[_0xd0cc26(0x14c)](){const _0x314cb8=_0xd0cc26;this[_0x314cb8(0x149)]&&(this[_0x314cb8(0x14d)](_0x314cb8(0x14b)),this[_0x314cb8(0x149)]=void 0x0);const _0x16b6d6=this[_0x314cb8(0x15a)][_0x314cb8(0x15b)][_0x314cb8(0x152)][_0x314cb8(0x145)][_0x314cb8(0x14f)]();_0x16b6d6&&(_0x16b6d6['is'](_0x314cb8(0x15c),_0x314cb8(0x157))||_0x16b6d6['is'](_0x314cb8(0x15c),_0x314cb8(0x144)))&&(this[_0x314cb8(0x149)]=new _0x3cfe0d(this[_0x314cb8(0x15a)],this[_0x314cb8(0x15a)][_0x314cb8(0x147)][_0x314cb8(0x150)](_0x2af0c4),_0x16b6d6),this[_0x314cb8(0x148)](_0x314cb8(0x14b))['to'](this[_0x314cb8(0x149)],_0x314cb8(0x14b)));}}
23
+ const _0x1b37cb=_0x4e0c;(function(_0x41b1be,_0x4ea254){const _0x50b627=_0x4e0c,_0x31c71e=_0x41b1be();while(!![]){try{const _0x58de15=parseInt(_0x50b627(0x119))/0x1+-parseInt(_0x50b627(0x11a))/0x2+parseInt(_0x50b627(0x12e))/0x3+parseInt(_0x50b627(0x120))/0x4+-parseInt(_0x50b627(0x11d))/0x5*(parseInt(_0x50b627(0x123))/0x6)+-parseInt(_0x50b627(0x12c))/0x7*(-parseInt(_0x50b627(0x132))/0x8)+parseInt(_0x50b627(0x135))/0x9*(parseInt(_0x50b627(0x129))/0xa);if(_0x58de15===_0x4ea254)break;else _0x31c71e['push'](_0x31c71e['shift']());}catch(_0x85aadf){_0x31c71e['push'](_0x31c71e['shift']());}}}(_0x5d79,0xee95b));import{Command as _0x53bc62}from'ckeditor5/src/core.js';import{Dialog as _0x43c26c}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x101a98}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x187958}from'../utils/editingutils.js';function _0x4e0c(_0x4903ec,_0x3e95ec){const _0x5d79d7=_0x5d79();return _0x4e0c=function(_0x4e0c6a,_0x1684a0){_0x4e0c6a=_0x4e0c6a-0x119;let _0x5e56d4=_0x5d79d7[_0x4e0c6a];return _0x5e56d4;},_0x4e0c(_0x4903ec,_0x3e95ec);}function _0x5d79(){const _0xd0b8b7=['222815kNKlHu','imageInline','selection','3744568NXkuGU','getSelectedElement','plugins','72JSUWHp','isActive','model','set','uploadcare.allowExternalImagesEditing','get','2090870xxEoth','isEnabled','_isEditable','7TRfcpf','refresh','1486464TnJKVi','requires','imageBlock','unbind','1035992HDVmcD','execute','imageEditController','36HXHxGe','element','config','editor','53660mJykPa','1878276PSYscL','bind','document'];_0x5d79=function(){return _0xd0b8b7;};return _0x5d79();}export class UploadcareImageEditCommand extends _0x53bc62{[_0x1b37cb(0x134)];static get[_0x1b37cb(0x12f)](){return[_0x43c26c];}[_0x1b37cb(0x12b)];constructor(_0x1d9daa){const _0x31689b=_0x1b37cb;super(_0x1d9daa),this[_0x31689b(0x134)]=void 0x0,this[_0x31689b(0x12b)]=_0x187958(_0x1d9daa[_0x31689b(0x137)][_0x31689b(0x128)](_0x31689b(0x127))||[]),this[_0x31689b(0x126)]({'isActive':!0x1});}[_0x1b37cb(0x12d)](){const _0x1b3362=_0x1b37cb,_0x31ca75=this[_0x1b3362(0x138)][_0x1b3362(0x125)][_0x1b3362(0x11c)][_0x1b3362(0x11f)][_0x1b3362(0x121)]();this[_0x1b3362(0x12a)]=this[_0x1b3362(0x12b)](_0x31ca75);}[_0x1b37cb(0x133)](){const _0x2f290f=_0x1b37cb;this[_0x2f290f(0x134)]&&(this[_0x2f290f(0x131)](_0x2f290f(0x124)),this[_0x2f290f(0x134)]=void 0x0);const _0x31145e=this[_0x2f290f(0x138)][_0x2f290f(0x125)][_0x2f290f(0x11c)][_0x2f290f(0x11f)][_0x2f290f(0x121)]();_0x31145e&&(_0x31145e['is'](_0x2f290f(0x136),_0x2f290f(0x130))||_0x31145e['is'](_0x2f290f(0x136),_0x2f290f(0x11e)))&&(this[_0x2f290f(0x134)]=new _0x101a98(this[_0x2f290f(0x138)],this[_0x2f290f(0x138)][_0x2f290f(0x122)][_0x2f290f(0x128)](_0x43c26c),_0x31145e),this[_0x2f290f(0x11b)](_0x2f290f(0x124))['to'](this[_0x2f290f(0x134)],_0x2f290f(0x124)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9501da=_0x562e;(function(_0x1c9e74,_0x4fbc15){const _0x4e4ec1=_0x562e,_0x356162=_0x1c9e74();while(!![]){try{const _0x493418=-parseInt(_0x4e4ec1(0xc9))/0x1+parseInt(_0x4e4ec1(0xc7))/0x2+parseInt(_0x4e4ec1(0xcc))/0x3*(-parseInt(_0x4e4ec1(0xdb))/0x4)+-parseInt(_0x4e4ec1(0xce))/0x5+-parseInt(_0x4e4ec1(0xd7))/0x6+parseInt(_0x4e4ec1(0xd4))/0x7*(parseInt(_0x4e4ec1(0xda))/0x8)+parseInt(_0x4e4ec1(0xca))/0x9;if(_0x493418===_0x4fbc15)break;else _0x356162['push'](_0x356162['shift']());}catch(_0x5666ff){_0x356162['push'](_0x356162['shift']());}}}(_0x1c7a,0xb7881));import{Plugin as _0x146b0c}from'ckeditor5/src/core.js';import{Notification as _0x4692f0}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x21d97a}from'./uploadcareimageeditcommand.js';function _0x1c7a(){const _0x516b5d=['1266551rhiQDA','22799619QSOtix','isPremiumPlugin','9LAgDXD','uploadcareImageReplace','1717280XQYZZo','uploadcareImageEdit','isOfficialPlugin','pluginName','init','commands','1687uHzFaE','ImageEditing','ImageUtils','7420752MilOzY','UploadcareImageEditEditing','requires','33920XHfOgg','1771652ikBdmt','2744304UXRtiG','add'];_0x1c7a=function(){return _0x516b5d;};return _0x1c7a();}import{UploadcareImageReplaceCommand as _0x4e64fd}from'./uploadcareimagereplacecommand.js';function _0x562e(_0x357697,_0x2eb3dd){const _0x1c7a56=_0x1c7a();return _0x562e=function(_0x562eb2,_0x3a1086){_0x562eb2=_0x562eb2-0xc7;let _0x232e4f=_0x1c7a56[_0x562eb2];return _0x232e4f;},_0x562e(_0x357697,_0x2eb3dd);}import{UploadcareEditing as _0x404a17}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x146b0c{static get[_0x9501da(0xd1)](){const _0x764558=_0x9501da;return _0x764558(0xd8);}static get[_0x9501da(0xd9)](){const _0x1f57e7=_0x9501da;return[_0x404a17,_0x4692f0,_0x1f57e7(0xd6),_0x1f57e7(0xd5)];}static get[_0x9501da(0xd0)](){return!0x0;}static get[_0x9501da(0xcb)](){return!0x0;}[_0x9501da(0xd2)](){const _0x1147ff=_0x9501da,{editor:_0x2c964a}=this;_0x2c964a[_0x1147ff(0xd3)][_0x1147ff(0xc8)](_0x1147ff(0xcf),new _0x21d97a(_0x2c964a)),_0x2c964a[_0x1147ff(0xd3)][_0x1147ff(0xc8)](_0x1147ff(0xcd),new _0x4e64fd(_0x2c964a));}}
23
+ const _0x523d0f=_0x52f9;function _0x52f9(_0x3a81b6,_0x1e846a){const _0x4b5f0c=_0x4b5f();return _0x52f9=function(_0x52f928,_0x4bb89b){_0x52f928=_0x52f928-0x196;let _0x3a7802=_0x4b5f0c[_0x52f928];return _0x3a7802;},_0x52f9(_0x3a81b6,_0x1e846a);}function _0x4b5f(){const _0x42a8b7=['2436150dQHSaw','UploadcareImageEditEditing','98290nmvvme','isPremiumPlugin','uploadcareImageEdit','commands','1180mYVfKJ','isOfficialPlugin','665zMyAUy','830avOMFq','ImageEditing','1001016gzdUpy','uploadcareImageReplace','requires','3573xsmEjq','init','ImageUtils','pluginName','add','8152ELUxjv','1705oiFUGf','36996hFLuAy','1720548BhjUpn'];_0x4b5f=function(){return _0x42a8b7;};return _0x4b5f();}(function(_0x558d18,_0x517fd5){const _0x3c8588=_0x52f9,_0x17d236=_0x558d18();while(!![]){try{const _0x34c65a=parseInt(_0x3c8588(0x1a5))/0x1*(-parseInt(_0x3c8588(0x1a8))/0x2)+parseInt(_0x3c8588(0x19e))/0x3+parseInt(_0x3c8588(0x1aa))/0x4+-parseInt(_0x3c8588(0x19f))/0x5+parseInt(_0x3c8588(0x19d))/0x6*(-parseInt(_0x3c8588(0x1a7))/0x7)+parseInt(_0x3c8588(0x19b))/0x8*(-parseInt(_0x3c8588(0x196))/0x9)+parseInt(_0x3c8588(0x1a1))/0xa*(parseInt(_0x3c8588(0x19c))/0xb);if(_0x34c65a===_0x517fd5)break;else _0x17d236['push'](_0x17d236['shift']());}catch(_0x58e307){_0x17d236['push'](_0x17d236['shift']());}}}(_0x4b5f,0x5cc76));import{Plugin as _0x3975d6}from'ckeditor5/src/core.js';import{Notification as _0x17eda5}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2881d5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x11713c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x36b4bd}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3975d6{static get[_0x523d0f(0x199)](){const _0x4a55d6=_0x523d0f;return _0x4a55d6(0x1a0);}static get[_0x523d0f(0x1ac)](){const _0x2c41eb=_0x523d0f;return[_0x36b4bd,_0x17eda5,_0x2c41eb(0x198),_0x2c41eb(0x1a9)];}static get[_0x523d0f(0x1a6)](){return!0x0;}static get[_0x523d0f(0x1a2)](){return!0x0;}[_0x523d0f(0x197)](){const _0x4084ab=_0x523d0f,{editor:_0x8a19de}=this;_0x8a19de[_0x4084ab(0x1a4)][_0x4084ab(0x19a)](_0x4084ab(0x1a3),new _0x2881d5(_0x8a19de)),_0x8a19de[_0x4084ab(0x1a4)][_0x4084ab(0x19a)](_0x4084ab(0x1ab),new _0x11713c(_0x8a19de));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5f6913}from'ckeditor5/src/core.js';import{ButtonView as _0x51385a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2ce353}from'ckeditor5/src/icons.js';import{createElement as _0x1c740a}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 _0x5f6913{['_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 _0x18e12a=this['editor'];_0x18e12a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x54d281=>{const _0x47a072=_0x18e12a['commands']['get']('uploadcareImageEdit'),_0x2ab13f=new _0x51385a(_0x54d281),t=_0x54d281['t'];return _0x2ab13f['set']({'icon':_0x2ce353,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2ab13f['bind']('isEnabled')['to'](_0x47a072),_0x2ab13f['bind']('isOn')['to'](_0x47a072,'isActive'),this['listenTo'](_0x2ab13f,'execute',()=>{_0x18e12a['execute']('uploadcareImageEdit'),_0x18e12a['editing']['view']['focus']();}),_0x2ab13f;}),this['_initConfig']();}['_initConfig'](){const _0x46c6ca=_0x1c740a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x46c6ca),this['listenTo'](this['editor'],'destroy',()=>{_0x46c6ca['remove']();});}}
23
+ import{Plugin as _0x4dfb39}from'ckeditor5/src/core.js';import{ButtonView as _0x979bc3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1287e2}from'ckeditor5/src/icons.js';import{createElement as _0x5b1769}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 _0x4dfb39{['_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 _0x4fcbf0=this['editor'];_0x4fcbf0['ui']['componentFactory']['add']('uploadcareImageEdit',_0xa712f3=>{const _0x4ed7ae=_0x4fcbf0['commands']['get']('uploadcareImageEdit'),_0x26ed1d=new _0x979bc3(_0xa712f3),t=_0xa712f3['t'];return _0x26ed1d['set']({'icon':_0x1287e2,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26ed1d['bind']('isEnabled')['to'](_0x4ed7ae),_0x26ed1d['bind']('isOn')['to'](_0x4ed7ae,'isActive'),this['listenTo'](_0x26ed1d,'execute',()=>{_0x4fcbf0['execute']('uploadcareImageEdit'),_0x4fcbf0['editing']['view']['focus']();}),_0x26ed1d;}),this['_initConfig']();}['_initConfig'](){const _0x504d98=_0x5b1769(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x504d98),this['listenTo'](this['editor'],'destroy',()=>{_0x504d98['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf61c8a=_0x3b61;function _0x3b61(_0x11f06f,_0x3dfa8d){const _0x3c22a3=_0x3c22();return _0x3b61=function(_0x3b6113,_0x2e7616){_0x3b6113=_0x3b6113-0x162;let _0x50cc37=_0x3c22a3[_0x3b6113];return _0x50cc37;},_0x3b61(_0x11f06f,_0x3dfa8d);}(function(_0x57ca79,_0x17f728){const _0x446174=_0x3b61,_0x3dcf7b=_0x57ca79();while(!![]){try{const _0x25982d=-parseInt(_0x446174(0x17a))/0x1+-parseInt(_0x446174(0x169))/0x2+parseInt(_0x446174(0x168))/0x3+-parseInt(_0x446174(0x171))/0x4+-parseInt(_0x446174(0x164))/0x5*(parseInt(_0x446174(0x172))/0x6)+parseInt(_0x446174(0x16f))/0x7+parseInt(_0x446174(0x176))/0x8*(parseInt(_0x446174(0x16b))/0x9);if(_0x25982d===_0x17f728)break;else _0x3dcf7b['push'](_0x3dcf7b['shift']());}catch(_0x3f7023){_0x3dcf7b['push'](_0x3dcf7b['shift']());}}}(_0x3c22,0x8568d));import{Command as _0x86b9f0}from'ckeditor5/src/core.js';function _0x3c22(){const _0x45b0ea=['sizes','606556vkYbqG','editor','isEnabled','920085wVRIhi','setAttributes','change','imageBlock','3020751ojDVHe','705214ruByso','model','7578RYaUqN','document','refresh','removeAttribute','5575871WmdFmK','execute','489060XCqOcb','6ONCoSA','imageInline','selection','element','80uqRhws','getSelectedElement','srcset'];_0x3c22=function(){return _0x45b0ea;};return _0x3c22();}export class UploadcareImageReplaceCommand extends _0x86b9f0{[_0xf61c8a(0x16d)](){const _0x2b5688=_0xf61c8a,_0x25e138=this[_0x2b5688(0x162)][_0x2b5688(0x16a)][_0x2b5688(0x16c)][_0x2b5688(0x174)][_0x2b5688(0x177)]();this[_0x2b5688(0x163)]=Boolean(_0x25e138&&(_0x25e138['is'](_0x2b5688(0x175),_0x2b5688(0x167))||_0x25e138['is'](_0x2b5688(0x175),_0x2b5688(0x173))));}[_0xf61c8a(0x170)](_0xc8d259){const _0x2b62d1=_0xf61c8a,_0x30a34b=this[_0x2b62d1(0x162)][_0x2b62d1(0x16a)][_0x2b62d1(0x16c)][_0x2b62d1(0x174)][_0x2b62d1(0x177)]();this[_0x2b62d1(0x162)][_0x2b62d1(0x16a)][_0x2b62d1(0x166)](_0x32d676=>{const _0x465c49=_0x2b62d1;_0x32d676[_0x465c49(0x165)](_0xc8d259,_0x30a34b),_0x32d676[_0x465c49(0x16e)](_0x465c49(0x178),_0x30a34b),_0x32d676[_0x465c49(0x16e)](_0x465c49(0x179),_0x30a34b);});}}
23
+ const _0x5f5472=_0x5744;(function(_0x64ea92,_0x11e753){const _0xc8db71=_0x5744,_0x17f8d7=_0x64ea92();while(!![]){try{const _0x45e9b4=parseInt(_0xc8db71(0x194))/0x1+-parseInt(_0xc8db71(0x1aa))/0x2*(parseInt(_0xc8db71(0x192))/0x3)+-parseInt(_0xc8db71(0x193))/0x4*(-parseInt(_0xc8db71(0x191))/0x5)+parseInt(_0xc8db71(0x197))/0x6+-parseInt(_0xc8db71(0x196))/0x7*(parseInt(_0xc8db71(0x19a))/0x8)+parseInt(_0xc8db71(0x19c))/0x9*(parseInt(_0xc8db71(0x190))/0xa)+parseInt(_0xc8db71(0x1a9))/0xb*(parseInt(_0xc8db71(0x1a3))/0xc);if(_0x45e9b4===_0x11e753)break;else _0x17f8d7['push'](_0x17f8d7['shift']());}catch(_0x5a1ad2){_0x17f8d7['push'](_0x17f8d7['shift']());}}}(_0x1130,0xd4dcd));import{Command as _0x5986f8}from'ckeditor5/src/core.js';function _0x5744(_0x5e6420,_0x1bcbba){const _0x1130c3=_0x1130();return _0x5744=function(_0x574429,_0x2a5c66){_0x574429=_0x574429-0x18f;let _0x103f6c=_0x1130c3[_0x574429];return _0x103f6c;},_0x5744(_0x5e6420,_0x1bcbba);}function _0x1130(){const _0xd10bdf=['srcset','2458274TlHelY','1926852CGHnAL','imageBlock','sizes','24vvdJvM','selection','10467BnEtPo','element','imageInline','change','execute','removeAttribute','getSelectedElement','204lzcmoW','refresh','editor','isEnabled','setAttributes','model','772134LTLLnY','3166686uwDBrz','document','2930qxFAcc','10LeUTVQ','3niPLJt','1626440PlfIOw','840355tYQGBv'];_0x1130=function(){return _0xd10bdf;};return _0x1130();}export class UploadcareImageReplaceCommand extends _0x5986f8{[_0x5f5472(0x1a4)](){const _0x2a00b7=_0x5f5472,_0x365c54=this[_0x2a00b7(0x1a5)][_0x2a00b7(0x1a8)][_0x2a00b7(0x18f)][_0x2a00b7(0x19b)][_0x2a00b7(0x1a2)]();this[_0x2a00b7(0x1a6)]=Boolean(_0x365c54&&(_0x365c54['is'](_0x2a00b7(0x19d),_0x2a00b7(0x198))||_0x365c54['is'](_0x2a00b7(0x19d),_0x2a00b7(0x19e))));}[_0x5f5472(0x1a0)](_0x3f9b66){const _0x2b91d8=_0x5f5472,_0x25100a=this[_0x2b91d8(0x1a5)][_0x2b91d8(0x1a8)][_0x2b91d8(0x18f)][_0x2b91d8(0x19b)][_0x2b91d8(0x1a2)]();this[_0x2b91d8(0x1a5)][_0x2b91d8(0x1a8)][_0x2b91d8(0x19f)](_0x78b4ea=>{const _0x14fb9c=_0x2b91d8;_0x78b4ea[_0x14fb9c(0x1a7)](_0x3f9b66,_0x25100a),_0x78b4ea[_0x14fb9c(0x1a1)](_0x14fb9c(0x195),_0x25100a),_0x78b4ea[_0x14fb9c(0x1a1)](_0x14fb9c(0x199),_0x25100a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1069(_0x335b24,_0x26b5ef){var _0x3336ea=_0x3336();return _0x1069=function(_0x1069fe,_0x1c188f){_0x1069fe=_0x1069fe-0x152;var _0x30ef2d=_0x3336ea[_0x1069fe];return _0x30ef2d;},_0x1069(_0x335b24,_0x26b5ef);}var _0x1ac538=_0x1069;(function(_0x23b859,_0x988b3f){var _0xc489bd=_0x1069,_0x289b2d=_0x23b859();while(!![]){try{var _0x2db06d=-parseInt(_0xc489bd(0x15c))/0x1*(parseInt(_0xc489bd(0x15a))/0x2)+parseInt(_0xc489bd(0x15f))/0x3+parseInt(_0xc489bd(0x154))/0x4*(parseInt(_0xc489bd(0x157))/0x5)+-parseInt(_0xc489bd(0x152))/0x6+-parseInt(_0xc489bd(0x15d))/0x7*(parseInt(_0xc489bd(0x158))/0x8)+parseInt(_0xc489bd(0x160))/0x9+parseInt(_0xc489bd(0x159))/0xa;if(_0x2db06d===_0x988b3f)break;else _0x289b2d['push'](_0x289b2d['shift']());}catch(_0x40b764){_0x289b2d['push'](_0x289b2d['shift']());}}}(_0x3336,0x98913));function _0x3336(){var _0x1ebb29=['isPremiumPlugin','33rLuIIx','1211EQlvpb','pluginName','1104105oJirvE','5470695WBXHhF','2270520WdHnYd','isOfficialPlugin','581488KJZRKg','UploadcareImageEdit','requires','10lcXHdq','39640uNeMxQ','8976150RuvoYN','18406TPWTsj'];_0x3336=function(){return _0x1ebb29;};return _0x3336();}import{Plugin as _0x20bd64}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x15fe7c}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5a2120}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x20bd64{static get[_0x1ac538(0x15e)](){var _0x3f8937=_0x1ac538;return _0x3f8937(0x155);}static get[_0x1ac538(0x156)](){return[_0x15fe7c,_0x5a2120];}static get[_0x1ac538(0x153)](){return!0x0;}static get[_0x1ac538(0x15b)](){return!0x0;}}
23
+ var _0x4148f6=_0xd3eb;(function(_0x244be0,_0x2e4db2){var _0x1885e5=_0xd3eb,_0x413a36=_0x244be0();while(!![]){try{var _0xc77b0c=-parseInt(_0x1885e5(0x146))/0x1*(parseInt(_0x1885e5(0x149))/0x2)+-parseInt(_0x1885e5(0x13e))/0x3*(parseInt(_0x1885e5(0x148))/0x4)+-parseInt(_0x1885e5(0x142))/0x5+parseInt(_0x1885e5(0x14b))/0x6*(-parseInt(_0x1885e5(0x13c))/0x7)+-parseInt(_0x1885e5(0x147))/0x8+parseInt(_0x1885e5(0x14a))/0x9*(-parseInt(_0x1885e5(0x140))/0xa)+parseInt(_0x1885e5(0x143))/0xb*(parseInt(_0x1885e5(0x13d))/0xc);if(_0xc77b0c===_0x2e4db2)break;else _0x413a36['push'](_0x413a36['shift']());}catch(_0xd0aa35){_0x413a36['push'](_0x413a36['shift']());}}}(_0x4ce3,0xdf2fe));import{Plugin as _0x1e6d40}from'ckeditor5/src/core.js';function _0x4ce3(){var _0x200cb5=['9tlVbfA','UploadcareImageEdit','1112830sTJKCm','isOfficialPlugin','1785605jOyjzi','99CKzlEf','pluginName','requires','1CwRbrP','12843088ZSbYOS','191452xSneEX','981394XuQCVi','54riCZce','6lqlURv','isPremiumPlugin','12269684xtJqav','7908636nIJVfd'];_0x4ce3=function(){return _0x200cb5;};return _0x4ce3();}function _0xd3eb(_0x2a5016,_0x5c7ee7){var _0x4ce31b=_0x4ce3();return _0xd3eb=function(_0xd3eb64,_0xe825ae){_0xd3eb64=_0xd3eb64-0x13c;var _0x31b5c3=_0x4ce31b[_0xd3eb64];return _0x31b5c3;},_0xd3eb(_0x2a5016,_0x5c7ee7);}import{UploadcareImageEditEditing as _0x51dd6c}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2d31dd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1e6d40{static get[_0x4148f6(0x144)](){var _0x444ce5=_0x4148f6;return _0x444ce5(0x13f);}static get[_0x4148f6(0x145)](){return[_0x51dd6c,_0x2d31dd];}static get[_0x4148f6(0x141)](){return!0x0;}static get[_0x4148f6(0x14c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc17bda=_0x1bc8;(function(_0x459342,_0x526720){const _0x3a897d=_0x1bc8,_0x5220f5=_0x459342();while(!![]){try{const _0x299288=parseInt(_0x3a897d(0x16c))/0x1+-parseInt(_0x3a897d(0x189))/0x2+parseInt(_0x3a897d(0x179))/0x3+-parseInt(_0x3a897d(0x175))/0x4+parseInt(_0x3a897d(0x17d))/0x5*(-parseInt(_0x3a897d(0x165))/0x6)+parseInt(_0x3a897d(0x163))/0x7*(parseInt(_0x3a897d(0x13c))/0x8)+-parseInt(_0x3a897d(0x180))/0x9*(parseInt(_0x3a897d(0x184))/0xa);if(_0x299288===_0x526720)break;else _0x5220f5['push'](_0x5220f5['shift']());}catch(_0x27de18){_0x5220f5['push'](_0x5220f5['shift']());}}}(_0x4950,0xcc741));import{Plugin as _0x4fc280}from'ckeditor5/src/core.js';function _0x1bc8(_0x1a1048,_0x4bb6fc){const _0x495068=_0x4950();return _0x1bc8=function(_0x1bc8ad,_0x200654){_0x1bc8ad=_0x1bc8ad-0x13b;let _0xba8223=_0x495068[_0x1bc8ad];return _0xba8223;},_0x1bc8(_0x1a1048,_0x4bb6fc);}import{IconDropbox as _0xdb5e7c,IconFacebook as _0x133563,IconGoogleDrive as _0x1091ab,IconGooglePhotos as _0x599597,IconUploadcareImageUpload as _0x3d875e,IconUploadcareLink as _0x716ff8,IconOneDrive as _0x3be201}from'ckeditor5/src/icons.js';import{ButtonView as _0x17e607,MenuBarMenuListItemButtonView as _0xf4da46}from'ckeditor5/src/ui.js';function _0x4950(){const _0x2be99a=['trialLimit','uploadcare','registerIntegration','_createButton','_normalizeConfigSourceList','init','Uploadcare','afterInit','plugins','ImageInsertUI','map','_createDropdownButtons','type','GDrive','Dropbox','licenseKey','forEach','_createToolbarButton','isPremiumPlugin','shortText','uploadcareLicenseKeyEvaluationLimit','reduce','uploadcareLicenseKeyUsageLimit','invalid','evaluationLimit','expired','upload','url','assetManager','text','Replace','featureNotAllowed','usageLimit','isEnabled','257663rCfTGD','URL','410226EOjqCj','GPhotos','Local','config','domainLimit','execute','OneDrive','462131zyTAFG','Facebook','label','uploadcare.uploader.sourceList','Insert','destroy','entries','uploadcareLicenseKeyExpired','_showLicenseError','6029264zhOgXM','commands','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyNotAllowed','4432767jTjnLk','pluginName','UploadcareUI','isImageSelected','5XdMerf','push','tooltip','1536579XXusTl','_licenseKeyCheckInterval','isOfficialPlugin','withText','10SbctUD','bind','editor','locale','uploadcareLicenseKeyInvalid','1877296qlkqQe','has','get','uploadcareLicenseKeyValid','344WEbMfQ','icon','_createMenuBarButtons','_getIntegrationKey','uploadcareLicenseKeyTrialLimit'];_0x4950=function(){return _0x2be99a;};return _0x4950();}import{UploadcareSource as _0x17f99b}from'./uploadcareconfig.js';import{getTranslation as _0x127a7c}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 _0x4fc280{[_0xc17bda(0x150)];[_0xc17bda(0x181)];static get[_0xc17bda(0x17a)](){const _0x2d2ff4=_0xc17bda;return _0x2d2ff4(0x17b);}static get[_0xc17bda(0x182)](){return!0x0;}static get[_0xc17bda(0x153)](){return!0x0;}[_0xc17bda(0x146)](){const _0x232a3b=_0xc17bda;this[_0x232a3b(0x150)]=this[_0x232a3b(0x186)][_0x232a3b(0x168)][_0x232a3b(0x18b)](_0x232a3b(0x150));const _0x55a1d8=this[_0x232a3b(0x186)];this[_0x232a3b(0x181)]=setInterval(()=>{const _0x54e55f=_0x232a3b;let _0x5afa88;for(const _0x529bde in _0x55a1d8){const _0x1f73e0=_0x529bde,_0x447776=_0x55a1d8[_0x1f73e0];if(_0x54e55f(0x13b)==_0x447776||_0x54e55f(0x188)==_0x447776||_0x54e55f(0x173)==_0x447776||_0x54e55f(0x177)==_0x447776||_0x54e55f(0x178)==_0x447776||_0x54e55f(0x155)==_0x447776||_0x54e55f(0x140)==_0x447776||_0x54e55f(0x157)==_0x447776){delete _0x55a1d8[_0x1f73e0],_0x5afa88=_0x447776,clearInterval(this[_0x54e55f(0x181)]),this[_0x54e55f(0x181)]=void 0x0;break;}}_0x54e55f(0x188)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x158)),_0x54e55f(0x173)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x15a)),_0x54e55f(0x177)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x169)),_0x54e55f(0x178)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x160),_0x54e55f(0x147)),_0x54e55f(0x155)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x159)),_0x54e55f(0x140)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x141)),_0x54e55f(0x157)==_0x5afa88&&_0x55a1d8[_0x54e55f(0x174)](_0x54e55f(0x161));},0x3e8);}[_0xc17bda(0x148)](){const _0x5f46ed=_0xc17bda,{editor:_0x5f1d01}=this,_0x5b9c80=_0x5f1d01[_0x5f46ed(0x176)][_0x5f46ed(0x18b)](_0x5f46ed(0x142));if(!_0x5b9c80)return;const _0x53fabd=this[_0x5f46ed(0x145)](_0x5f1d01[_0x5f46ed(0x168)][_0x5f46ed(0x18b)](_0x5f46ed(0x16f)))[_0x5f46ed(0x156)]((_0x3e750b,_0x26f220)=>{const _0x468005=_0x5f46ed,_0x700541=this[_0x468005(0x13f)](_0x26f220[_0x468005(0x14d)]);return _0x3e750b[_0x700541]||(_0x3e750b[_0x700541]=[]),_0x3e750b[_0x700541][_0x468005(0x17e)](_0x26f220),_0x3e750b;},{});_0x5f1d01[_0x5f46ed(0x149)][_0x5f46ed(0x18a)](_0x5f46ed(0x14a))&&_0x5f1d01[_0x5f46ed(0x176)][_0x5f46ed(0x18b)](_0x5f46ed(0x142))&&Object[_0x5f46ed(0x172)](_0x53fabd)[_0x5f46ed(0x151)](([_0x48f97d,_0x53b4d7])=>{const _0x48c7ba=_0x5f46ed;_0x5f1d01[_0x48c7ba(0x149)][_0x48c7ba(0x18b)](_0x48c7ba(0x14a))[_0x48c7ba(0x143)]({'name':_0x48f97d,'observable':()=>_0x5b9c80,'buttonViewCreator':()=>this[_0x48c7ba(0x152)](_0x53b4d7),'formViewCreator':()=>this[_0x48c7ba(0x14c)](_0x53b4d7),'menuBarButtonViewCreator':()=>this[_0x48c7ba(0x13e)](_0x53b4d7),'override':_0x48c7ba(0x15d)!==_0x48f97d});});}[_0xc17bda(0x171)](){const _0x1b6fcc=_0xc17bda;super[_0x1b6fcc(0x171)](),this[_0x1b6fcc(0x181)]&&clearInterval(this[_0x1b6fcc(0x181)]);}[_0xc17bda(0x145)](_0x1189fb){const _0x494d97=_0xc17bda,{locale:_0x1ac8a7}=this[_0x494d97(0x186)];return _0x1189fb[_0x494d97(0x14b)](_0x2abf9f=>{const _0x188d25=_0x494d97,_0x12e1e5=_0x127a7c(_0x1ac8a7,_0x2abf9f,_0x188d25(0x170));switch(_0x2abf9f){case _0x17f99b[_0x188d25(0x167)]:return{'icon':_0x3d875e,'type':_0x17f99b[_0x188d25(0x167)],..._0x12e1e5};case _0x17f99b[_0x188d25(0x164)]:return{'icon':_0x716ff8,'type':_0x17f99b[_0x188d25(0x164)],..._0x12e1e5};case _0x17f99b[_0x188d25(0x14f)]:return{'icon':_0xdb5e7c,'type':_0x17f99b[_0x188d25(0x14f)],..._0x12e1e5};case _0x17f99b[_0x188d25(0x16d)]:return{'icon':_0x133563,'type':_0x17f99b[_0x188d25(0x16d)],..._0x12e1e5};case _0x17f99b[_0x188d25(0x14e)]:return{'icon':_0x1091ab,'type':_0x17f99b[_0x188d25(0x14e)],..._0x12e1e5};case _0x17f99b[_0x188d25(0x166)]:return{'icon':_0x599597,'type':_0x17f99b[_0x188d25(0x166)],..._0x12e1e5};case _0x17f99b[_0x188d25(0x16b)]:return{'icon':_0x3be201,'type':_0x17f99b[_0x188d25(0x16b)],..._0x12e1e5};}});}[_0xc17bda(0x13f)](_0x8d13d4){const _0x5bb148=_0xc17bda;switch(_0x8d13d4){case _0x17f99b[_0x5bb148(0x167)]:return _0x5bb148(0x15b);case _0x17f99b[_0x5bb148(0x164)]:return _0x5bb148(0x15c);default:return _0x5bb148(0x15d);}}[_0xc17bda(0x144)](_0x4196b4,_0x3490df){const _0x12dd4a=_0xc17bda,_0x15ec64=this[_0x12dd4a(0x186)],_0xc884df=new _0x4196b4(_0x15ec64[_0x12dd4a(0x187)]),_0x3c21b5=_0x15ec64[_0x12dd4a(0x176)][_0x12dd4a(0x18b)](_0x12dd4a(0x142));return _0xc884df[_0x12dd4a(0x185)](_0x12dd4a(0x162))['to'](_0x3c21b5),_0xc884df['on'](_0x12dd4a(0x16a),()=>{const _0x289977=_0x12dd4a;_0x3c21b5[_0x289977(0x16a)](_0x3490df);}),_0xc884df;}[_0xc17bda(0x152)](_0x3d80dd){const _0x36135d=_0xc17bda,{locale:_0x51ad50}=this[_0x36135d(0x186)],_0x2f05f0=this[_0x36135d(0x186)][_0x36135d(0x149)][_0x36135d(0x18b)](_0x36135d(0x14a)),_0x3fbc1b=_0x3d80dd[0x0],_0x1572c9=this[_0x36135d(0x144)](_0x17e607,_0x3fbc1b[_0x36135d(0x14d)]);return _0x1572c9[_0x36135d(0x13d)]=_0x3fbc1b[_0x36135d(0x13d)],_0x1572c9[_0x36135d(0x185)](_0x36135d(0x16e))['to'](_0x2f05f0,_0x36135d(0x17c),_0x21797d=>_0x127a7c(_0x51ad50,_0x3fbc1b[_0x36135d(0x14d)],_0x21797d?_0x36135d(0x15f):_0x36135d(0x170))[_0x36135d(0x15e)]),_0x1572c9[_0x36135d(0x17f)]=!0x0,_0x1572c9;}[_0xc17bda(0x14c)](_0x1bb965){const _0x3411fa=_0xc17bda,{locale:_0x30bf66}=this[_0x3411fa(0x186)],_0x3f4605=this[_0x3411fa(0x186)][_0x3411fa(0x149)][_0x3411fa(0x18b)](_0x3411fa(0x14a));return _0x1bb965[_0x3411fa(0x14b)](_0x41797b=>{const _0x1f848c=_0x3411fa,_0x599a6d=this[_0x1f848c(0x144)](_0x17e607,_0x41797b[_0x1f848c(0x14d)]);return _0x599a6d[_0x1f848c(0x183)]=!0x0,_0x599a6d[_0x1f848c(0x13d)]=_0x41797b[_0x1f848c(0x13d)],_0x599a6d[_0x1f848c(0x185)](_0x1f848c(0x16e))['to'](_0x3f4605,_0x1f848c(0x17c),_0x4cae2b=>_0x127a7c(_0x30bf66,_0x41797b[_0x1f848c(0x14d)],_0x4cae2b?_0x1f848c(0x15f):_0x1f848c(0x170))[_0x1f848c(0x15e)]),_0x599a6d;});}[_0xc17bda(0x13e)](_0x1c3982){const _0x441ef7=_0xc17bda;return _0x1c3982[_0x441ef7(0x14b)](_0x58edb9=>{const _0x7e6ea=_0x441ef7,_0x49b746=this[_0x7e6ea(0x144)](_0xf4da46,_0x58edb9[_0x7e6ea(0x14d)]);return _0x49b746[_0x7e6ea(0x13d)]=_0x58edb9[_0x7e6ea(0x13d)],_0x49b746[_0x7e6ea(0x16e)]=_0x58edb9[_0x7e6ea(0x154)],_0x49b746;});}}
23
+ const _0x1b6e08=_0x531d;function _0x531d(_0x2f0e64,_0x21584f){const _0x37d28d=_0x37d2();return _0x531d=function(_0x531d1e,_0x58e37a){_0x531d1e=_0x531d1e-0x1a5;let _0x5c8a6=_0x37d28d[_0x531d1e];return _0x5c8a6;},_0x531d(_0x2f0e64,_0x21584f);}(function(_0x4f6cd2,_0x3b56fc){const _0x4e44d9=_0x531d,_0x37af60=_0x4f6cd2();while(!![]){try{const _0x3d0334=parseInt(_0x4e44d9(0x1e1))/0x1+-parseInt(_0x4e44d9(0x1b3))/0x2+parseInt(_0x4e44d9(0x1dd))/0x3+-parseInt(_0x4e44d9(0x1ee))/0x4*(-parseInt(_0x4e44d9(0x1eb))/0x5)+-parseInt(_0x4e44d9(0x1d7))/0x6*(parseInt(_0x4e44d9(0x1c6))/0x7)+-parseInt(_0x4e44d9(0x1ce))/0x8+-parseInt(_0x4e44d9(0x1be))/0x9*(-parseInt(_0x4e44d9(0x1e5))/0xa);if(_0x3d0334===_0x3b56fc)break;else _0x37af60['push'](_0x37af60['shift']());}catch(_0x568d0e){_0x37af60['push'](_0x37af60['shift']());}}}(_0x37d2,0xecefc));import{Plugin as _0x2274f5}from'ckeditor5/src/core.js';import{IconDropbox as _0x1e33fe,IconFacebook as _0x5d94f7,IconGoogleDrive as _0x1265fa,IconGooglePhotos as _0x101b81,IconUploadcareImageUpload as _0xffa524,IconUploadcareLink as _0x37bddd,IconOneDrive as _0x3ff8f1}from'ckeditor5/src/icons.js';function _0x37d2(){const _0x5a2f21=['assetManager','evaluationLimit','ImageInsertUI','editor','_licenseKeyCheckInterval','label','Uploadcare','trialLimit','commands','pluginName','init','get','2277760lrrrby','destroy','registerIntegration','Replace','execute','_getIntegrationKey','GDrive','isEnabled','isImageSelected','tooltip','locale','70155kYCMGj','uploadcare','map','uploadcareLicenseKeyTrialLimit','Dropbox','featureNotAllowed','isPremiumPlugin','type','2417555mRTQMj','OneDrive','_createMenuBarButtons','isOfficialPlugin','_createDropdownButtons','push','Facebook','uploadcareLicenseKeyInvalid','8004528UcFETu','Local','has','URL','_createToolbarButton','config','shortText','uploadcareLicenseKeyValid','forEach','30sDEnQV','icon','uploadcare.uploader.sourceList','text','UploadcareUI','reduce','5129301GpXAZD','uploadcareLicenseKeyDomainLimit','expired','afterInit','1098708pYiDhZ','uploadcareLicenseKeyExpired','uploadcareLicenseKeyUsageLimit','entries','2510BXBtVa','_createButton','usageLimit','licenseKey','url','plugins','1385tscTOD','uploadcareLicenseKeyNotAllowed','_showLicenseError','1036TypHQE','uploadcareLicenseKeyEvaluationLimit','bind','domainLimit','invalid','_normalizeConfigSourceList','withText','GPhotos','upload','Insert'];_0x37d2=function(){return _0x5a2f21;};return _0x37d2();}import{ButtonView as _0x58f7da,MenuBarMenuListItemButtonView as _0x207886}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1e782a}from'./uploadcareconfig.js';import{getTranslation as _0x435f70}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 _0x2274f5{[_0x1b6e08(0x1e8)];[_0x1b6e08(0x1ab)];static get[_0x1b6e08(0x1b0)](){const _0xa32ede=_0x1b6e08;return _0xa32ede(0x1db);}static get[_0x1b6e08(0x1c9)](){return!0x0;}static get[_0x1b6e08(0x1c4)](){return!0x0;}[_0x1b6e08(0x1b1)](){const _0x5a5df5=_0x1b6e08;this[_0x5a5df5(0x1e8)]=this[_0x5a5df5(0x1aa)][_0x5a5df5(0x1d3)][_0x5a5df5(0x1b2)](_0x5a5df5(0x1e8));const _0x48b653=this[_0x5a5df5(0x1aa)];this[_0x5a5df5(0x1ab)]=setInterval(()=>{const _0x5e22c3=_0x5a5df5;let _0x1bd0ab;for(const _0x276cbb in _0x48b653){const _0x598271=_0x276cbb,_0x56196a=_0x48b653[_0x598271];if(_0x5e22c3(0x1d5)==_0x56196a||_0x5e22c3(0x1cd)==_0x56196a||_0x5e22c3(0x1e2)==_0x56196a||_0x5e22c3(0x1de)==_0x56196a||_0x5e22c3(0x1ec)==_0x56196a||_0x5e22c3(0x1ef)==_0x56196a||_0x5e22c3(0x1c1)==_0x56196a||_0x5e22c3(0x1e3)==_0x56196a){delete _0x48b653[_0x598271],_0x1bd0ab=_0x56196a,clearInterval(this[_0x5e22c3(0x1ab)]),this[_0x5e22c3(0x1ab)]=void 0x0;break;}}_0x5e22c3(0x1cd)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1f2)),_0x5e22c3(0x1e2)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1df)),_0x5e22c3(0x1de)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1f1)),_0x5e22c3(0x1ec)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1c3),_0x5e22c3(0x1ad)),_0x5e22c3(0x1ef)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1a8)),_0x5e22c3(0x1c1)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1ae)),_0x5e22c3(0x1e3)==_0x1bd0ab&&_0x48b653[_0x5e22c3(0x1ed)](_0x5e22c3(0x1e7));},0x3e8);}[_0x1b6e08(0x1e0)](){const _0x174a7f=_0x1b6e08,{editor:_0x200eb1}=this,_0x56c58d=_0x200eb1[_0x174a7f(0x1af)][_0x174a7f(0x1b2)](_0x174a7f(0x1bf));if(!_0x56c58d)return;const _0x32b8aa=this[_0x174a7f(0x1f3)](_0x200eb1[_0x174a7f(0x1d3)][_0x174a7f(0x1b2)](_0x174a7f(0x1d9)))[_0x174a7f(0x1dc)]((_0x47651d,_0x3eb131)=>{const _0x495a98=_0x174a7f,_0x379e80=this[_0x495a98(0x1b8)](_0x3eb131[_0x495a98(0x1c5)]);return _0x47651d[_0x379e80]||(_0x47651d[_0x379e80]=[]),_0x47651d[_0x379e80][_0x495a98(0x1cb)](_0x3eb131),_0x47651d;},{});_0x200eb1[_0x174a7f(0x1ea)][_0x174a7f(0x1d0)](_0x174a7f(0x1a9))&&_0x200eb1[_0x174a7f(0x1af)][_0x174a7f(0x1b2)](_0x174a7f(0x1bf))&&Object[_0x174a7f(0x1e4)](_0x32b8aa)[_0x174a7f(0x1d6)](([_0x46becc,_0x118c5b])=>{const _0x4ebc63=_0x174a7f;_0x200eb1[_0x4ebc63(0x1ea)][_0x4ebc63(0x1b2)](_0x4ebc63(0x1a9))[_0x4ebc63(0x1b5)]({'name':_0x46becc,'observable':()=>_0x56c58d,'buttonViewCreator':()=>this[_0x4ebc63(0x1d2)](_0x118c5b),'formViewCreator':()=>this[_0x4ebc63(0x1ca)](_0x118c5b),'menuBarButtonViewCreator':()=>this[_0x4ebc63(0x1c8)](_0x118c5b),'override':_0x4ebc63(0x1a7)!==_0x46becc});});}[_0x1b6e08(0x1b4)](){const _0x3d309b=_0x1b6e08;super[_0x3d309b(0x1b4)](),this[_0x3d309b(0x1ab)]&&clearInterval(this[_0x3d309b(0x1ab)]);}[_0x1b6e08(0x1f3)](_0x1bd842){const _0x46542d=_0x1b6e08,{locale:_0x2ce176}=this[_0x46542d(0x1aa)];return _0x1bd842[_0x46542d(0x1c0)](_0x425e95=>{const _0x318abe=_0x46542d,_0x9d2638=_0x435f70(_0x2ce176,_0x425e95,_0x318abe(0x1a6));switch(_0x425e95){case _0x1e782a[_0x318abe(0x1cf)]:return{'icon':_0xffa524,'type':_0x1e782a[_0x318abe(0x1cf)],..._0x9d2638};case _0x1e782a[_0x318abe(0x1d1)]:return{'icon':_0x37bddd,'type':_0x1e782a[_0x318abe(0x1d1)],..._0x9d2638};case _0x1e782a[_0x318abe(0x1c2)]:return{'icon':_0x1e33fe,'type':_0x1e782a[_0x318abe(0x1c2)],..._0x9d2638};case _0x1e782a[_0x318abe(0x1cc)]:return{'icon':_0x5d94f7,'type':_0x1e782a[_0x318abe(0x1cc)],..._0x9d2638};case _0x1e782a[_0x318abe(0x1b9)]:return{'icon':_0x1265fa,'type':_0x1e782a[_0x318abe(0x1b9)],..._0x9d2638};case _0x1e782a[_0x318abe(0x1f5)]:return{'icon':_0x101b81,'type':_0x1e782a[_0x318abe(0x1f5)],..._0x9d2638};case _0x1e782a[_0x318abe(0x1c7)]:return{'icon':_0x3ff8f1,'type':_0x1e782a[_0x318abe(0x1c7)],..._0x9d2638};}});}[_0x1b6e08(0x1b8)](_0x150168){const _0x518930=_0x1b6e08;switch(_0x150168){case _0x1e782a[_0x518930(0x1cf)]:return _0x518930(0x1a5);case _0x1e782a[_0x518930(0x1d1)]:return _0x518930(0x1e9);default:return _0x518930(0x1a7);}}[_0x1b6e08(0x1e6)](_0x53560f,_0x20fbea){const _0x5e6051=_0x1b6e08,_0x35b278=this[_0x5e6051(0x1aa)],_0x3c9228=new _0x53560f(_0x35b278[_0x5e6051(0x1bd)]),_0x2adf42=_0x35b278[_0x5e6051(0x1af)][_0x5e6051(0x1b2)](_0x5e6051(0x1bf));return _0x3c9228[_0x5e6051(0x1f0)](_0x5e6051(0x1ba))['to'](_0x2adf42),_0x3c9228['on'](_0x5e6051(0x1b7),()=>{const _0x597705=_0x5e6051;_0x2adf42[_0x597705(0x1b7)](_0x20fbea);}),_0x3c9228;}[_0x1b6e08(0x1d2)](_0x2f1e4d){const _0x2da464=_0x1b6e08,{locale:_0x416f1f}=this[_0x2da464(0x1aa)],_0x435508=this[_0x2da464(0x1aa)][_0x2da464(0x1ea)][_0x2da464(0x1b2)](_0x2da464(0x1a9)),_0x4e9843=_0x2f1e4d[0x0],_0xd597af=this[_0x2da464(0x1e6)](_0x58f7da,_0x4e9843[_0x2da464(0x1c5)]);return _0xd597af[_0x2da464(0x1d8)]=_0x4e9843[_0x2da464(0x1d8)],_0xd597af[_0x2da464(0x1f0)](_0x2da464(0x1ac))['to'](_0x435508,_0x2da464(0x1bb),_0x1278d8=>_0x435f70(_0x416f1f,_0x4e9843[_0x2da464(0x1c5)],_0x1278d8?_0x2da464(0x1b6):_0x2da464(0x1a6))[_0x2da464(0x1da)]),_0xd597af[_0x2da464(0x1bc)]=!0x0,_0xd597af;}[_0x1b6e08(0x1ca)](_0x558ffe){const _0x434c5d=_0x1b6e08,{locale:_0x59350e}=this[_0x434c5d(0x1aa)],_0x3344c=this[_0x434c5d(0x1aa)][_0x434c5d(0x1ea)][_0x434c5d(0x1b2)](_0x434c5d(0x1a9));return _0x558ffe[_0x434c5d(0x1c0)](_0x4a3b5a=>{const _0x24b7be=_0x434c5d,_0x2a2bbf=this[_0x24b7be(0x1e6)](_0x58f7da,_0x4a3b5a[_0x24b7be(0x1c5)]);return _0x2a2bbf[_0x24b7be(0x1f4)]=!0x0,_0x2a2bbf[_0x24b7be(0x1d8)]=_0x4a3b5a[_0x24b7be(0x1d8)],_0x2a2bbf[_0x24b7be(0x1f0)](_0x24b7be(0x1ac))['to'](_0x3344c,_0x24b7be(0x1bb),_0x20b4a3=>_0x435f70(_0x59350e,_0x4a3b5a[_0x24b7be(0x1c5)],_0x20b4a3?_0x24b7be(0x1b6):_0x24b7be(0x1a6))[_0x24b7be(0x1da)]),_0x2a2bbf;});}[_0x1b6e08(0x1c8)](_0x4707d4){const _0x58f38b=_0x1b6e08;return _0x4707d4[_0x58f38b(0x1c0)](_0x3651d1=>{const _0x3d79f0=_0x58f38b,_0x50408c=this[_0x3d79f0(0x1e6)](_0x207886,_0x3651d1[_0x3d79f0(0x1c5)]);return _0x50408c[_0x3d79f0(0x1d8)]=_0x3651d1[_0x3d79f0(0x1d8)],_0x50408c[_0x3d79f0(0x1ac)]=_0x3651d1[_0x3d79f0(0x1d4)],_0x50408c;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3dfd18}from'ckeditor5/src/core.js';import{FileRepository as _0x50f249}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x348ab3}from'./uploadcareediting.js';import{UploadUtils as _0x5b679f}from'./utils/uploadutils.js';import{getImageUrls as _0x29e7cf}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3dfd18{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x50f249,_0x348ab3];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1571f5=this['editor'];if(!!!_0x1571f5['config']['get']('uploadcare'))return;_0x1571f5['plugins']['get'](_0x50f249)['createUploadAdapter']=_0x462130=>new k(_0x462130,_0x1571f5),_0x1571f5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x38e369,{imageElement:_0x558ce7,data:_0x1729c5})=>{_0x1571f5['model']['change'](_0x3a66a9=>{_0x3a66a9['setAttribute']('uploadcareImageId',_0x1729c5['uploadcareImageId'],_0x558ce7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x53901f,_0x36dc10){this['loader']=_0x53901f,this['editor']=_0x36dc10,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x21aa96=await this['loader']['file'];return _0x5b679f['upload']({'file':_0x21aa96,'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':_0x465499=>{_0x465499&&_0x465499['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x465499['value']);}})['then'](async _0x231d71=>{const {imageFallbackUrl:_0x33cb47,imageSources:_0x348871}=_0x29e7cf(_0x231d71['cdnUrl'],_0x231d71['imageInfo']['width']);return{'uploadcareImageId':_0x231d71['uuid'],'default':_0x33cb47,'sources':_0x348871};})['catch'](()=>{const _0x2bee22=t('Cannot\x20upload\x20file:')+('\x20'+_0x21aa96['name']+'.');return Promise['reject'](_0x2bee22);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x2672cf}from'ckeditor5/src/core.js';import{FileRepository as _0x2750b5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5bee99}from'./uploadcareediting.js';import{UploadUtils as _0x3c64a5}from'./utils/uploadutils.js';import{getImageUrls as _0x1640a8}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2672cf{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2750b5,_0x5bee99];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1273d7=this['editor'];if(!!!_0x1273d7['config']['get']('uploadcare'))return;_0x1273d7['plugins']['get'](_0x2750b5)['createUploadAdapter']=_0x548576=>new k(_0x548576,_0x1273d7),_0x1273d7['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x39f9de,{imageElement:_0x56af47,data:_0x59974b})=>{_0x1273d7['model']['change'](_0x15ea86=>{_0x15ea86['setAttribute']('uploadcareImageId',_0x59974b['uploadcareImageId'],_0x56af47);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x20a242,_0x4de209){this['loader']=_0x20a242,this['editor']=_0x4de209,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x55a5bc=await this['loader']['file'];return _0x3c64a5['upload']({'file':_0x55a5bc,'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':_0x44f017=>{_0x44f017&&_0x44f017['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x44f017['value']);}})['then'](async _0xf02719=>{const {imageFallbackUrl:_0x6cca8e,imageSources:_0x4e4e63}=_0x1640a8(_0xf02719['cdnUrl'],_0xf02719['imageInfo']['width']);return{'uploadcareImageId':_0xf02719['uuid'],'default':_0x6cca8e,'sources':_0x4e4e63};})['catch'](()=>{const _0x30f70a=t('Cannot\x20upload\x20file:')+('\x20'+_0x55a5bc['name']+'.');return Promise['reject'](_0x30f70a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x311941}from'../uploadcareconfig.js';export function getTranslation(_0x414d50,_0x12f103,_0x9af767){const t=_0x414d50['t'],_0x3eb6e8=_0x414d50['t'];switch(_0x12f103){case _0x311941['Local']:return{'text':_0x3eb6e8('Insert'===_0x9af767?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3eb6e8('From\x20computer')};case _0x311941['URL']:return{'text':'Insert'===_0x9af767?_0x3eb6e8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3eb6e8('Via\x20URL')};case _0x311941['Dropbox']:return{'text':t('Insert'===_0x9af767?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x311941['Facebook']:return{'text':t('Insert'===_0x9af767?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x311941['GDrive']:return{'text':t('Insert'===_0x9af767?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x311941['GPhotos']:return{'text':t('Insert'===_0x9af767?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x311941['OneDrive']:return{'text':t('Insert'===_0x9af767?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x12f103;}}
23
+ import{UploadcareSource as _0x15d626}from'../uploadcareconfig.js';export function getTranslation(_0x422611,_0x180a9b,_0x56f1e4){const t=_0x422611['t'],_0x239e02=_0x422611['t'];switch(_0x180a9b){case _0x15d626['Local']:return{'text':_0x239e02('Insert'===_0x56f1e4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x239e02('From\x20computer')};case _0x15d626['URL']:return{'text':'Insert'===_0x56f1e4?_0x239e02('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x239e02('Via\x20URL')};case _0x15d626['Dropbox']:return{'text':t('Insert'===_0x56f1e4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x15d626['Facebook']:return{'text':t('Insert'===_0x56f1e4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x15d626['GDrive']:return{'text':t('Insert'===_0x56f1e4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x15d626['GPhotos']:return{'text':t('Insert'===_0x56f1e4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x15d626['OneDrive']:return{'text':t('Insert'===_0x56f1e4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x180a9b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2112(){var _0x110a04=['21042tATpCL','1FRgoMA','forwardCycle','focusTracker','1048324UPcHZi','46341kCScEG','bindTemplate','true','createCollection','48426jZUmfl','25UQvhxo','fire','24cmlbxF','getFocusableElement','347244sBXiNy','9950127fiQhRe','320OjpkqW','97756hCjUBM','focusCycler','div'];_0x2112=function(){return _0x110a04;};return _0x2112();}function _0x5de0(_0x155838,_0x576463){var _0x21122d=_0x2112();return _0x5de0=function(_0x5de02f,_0x4dbc79){_0x5de02f=_0x5de02f-0xb6;var _0x32c376=_0x21122d[_0x5de02f];return _0x32c376;},_0x5de0(_0x155838,_0x576463);}var _0x3c07e8=_0x5de0;(function(_0x4a82ac,_0x457929){var _0x439f7e=_0x5de0,_0x96155=_0x4a82ac();while(!![]){try{var _0x22cfed=parseInt(_0x439f7e(0xbc))/0x1*(-parseInt(_0x439f7e(0xb8))/0x2)+parseInt(_0x439f7e(0xc4))/0x3+-parseInt(_0x439f7e(0xbf))/0x4+parseInt(_0x439f7e(0xc5))/0x5*(-parseInt(_0x439f7e(0xc9))/0x6)+-parseInt(_0x439f7e(0xbb))/0x7*(-parseInt(_0x439f7e(0xc7))/0x8)+-parseInt(_0x439f7e(0xc0))/0x9*(parseInt(_0x439f7e(0xb7))/0xa)+parseInt(_0x439f7e(0xb6))/0xb;if(_0x22cfed===_0x457929)break;else _0x96155['push'](_0x96155['shift']());}catch(_0x11df59){_0x96155['push'](_0x96155['shift']());}}}(_0x2112,0x2830c));import{FocusTracker as _0x32c5b5}from'ckeditor5/src/utils.js';import{View as _0x408271,FocusCycler as _0x57f2cb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x408271{[_0x3c07e8(0xbe)];[_0x3c07e8(0xb9)];constructor(_0x2a967b){var _0x144b22=_0x3c07e8;super(_0x2a967b),this[_0x144b22(0xbe)]=new _0x32c5b5(),this[_0x144b22(0xb9)]=new _0x57f2cb({'focusables':this[_0x144b22(0xc3)](),'focusTracker':this[_0x144b22(0xbe)]});}[_0x3c07e8(0xc8)](){var _0xf5f77d=_0x3c07e8;return{'tag':_0xf5f77d(0xba),'attributes':{'aria-hidden':_0xf5f77d(0xc2),'tabindex':'0'},'on':{'focus':this[_0xf5f77d(0xc1)]['to'](()=>{var _0x33bc0c=_0xf5f77d;this[_0x33bc0c(0xb9)][_0x33bc0c(0xc6)](_0x33bc0c(0xbd));})}};}}
23
+ var _0x34ac88=_0x4aa0;(function(_0x35bc6e,_0x3d26b4){var _0x351a73=_0x4aa0,_0x2c758c=_0x35bc6e();while(!![]){try{var _0x2c2d24=-parseInt(_0x351a73(0xe3))/0x1+-parseInt(_0x351a73(0xe6))/0x2*(-parseInt(_0x351a73(0xdf))/0x3)+parseInt(_0x351a73(0xe9))/0x4+parseInt(_0x351a73(0xde))/0x5*(parseInt(_0x351a73(0xe7))/0x6)+-parseInt(_0x351a73(0xd9))/0x7+parseInt(_0x351a73(0xda))/0x8*(parseInt(_0x351a73(0xe8))/0x9)+-parseInt(_0x351a73(0xe2))/0xa*(parseInt(_0x351a73(0xdb))/0xb);if(_0x2c2d24===_0x3d26b4)break;else _0x2c758c['push'](_0x2c758c['shift']());}catch(_0x467ca5){_0x2c758c['push'](_0x2c758c['shift']());}}}(_0x1d23,0x5af92));import{FocusTracker as _0x4f16e1}from'ckeditor5/src/utils.js';function _0x4aa0(_0x22af26,_0x4c5d69){var _0x1d237b=_0x1d23();return _0x4aa0=function(_0x4aa03c,_0x19194a){_0x4aa03c=_0x4aa03c-0xd8;var _0x159682=_0x1d237b[_0x4aa03c];return _0x159682;},_0x4aa0(_0x22af26,_0x4c5d69);}import{View as _0x4a4c9f,FocusCycler as _0x191a88}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4a4c9f{[_0x34ac88(0xeb)];[_0x34ac88(0xea)];constructor(_0x49c7df){var _0x457282=_0x34ac88;super(_0x49c7df),this[_0x457282(0xeb)]=new _0x4f16e1(),this[_0x457282(0xea)]=new _0x191a88({'focusables':this[_0x457282(0xd8)](),'focusTracker':this[_0x457282(0xeb)]});}[_0x34ac88(0xe4)](){var _0x24681b=_0x34ac88;return{'tag':_0x24681b(0xe1),'attributes':{'aria-hidden':_0x24681b(0xe5),'tabindex':'0'},'on':{'focus':this[_0x24681b(0xdd)]['to'](()=>{var _0x2662d9=_0x24681b;this[_0x2662d9(0xea)][_0x2662d9(0xdc)](_0x2662d9(0xe0));})}};}}function _0x1d23(){var _0x41b3aa=['16rPYzrh','354nGmwUu','4420107DRLker','1189756NQxXkv','focusCycler','focusTracker','createCollection','828849tQasFc','8wzlWRB','5261047tkUmDl','fire','bindTemplate','23865LJcWrp','151401GmUNCO','forwardCycle','div','10paZzuL','504595CaDWBq','getFocusableElement','true'];_0x1d23=function(){return _0x41b3aa;};return _0x1d23();}