@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.5 → 45.0.0-alpha.6

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 _0x2cff78=_0x168c;(function(_0x1eea44,_0x465663){const _0x4a1e77=_0x168c,_0x51e416=_0x1eea44();while(!![]){try{const _0x4fcc38=parseInt(_0x4a1e77(0x10a))/0x1*(-parseInt(_0x4a1e77(0x10e))/0x2)+-parseInt(_0x4a1e77(0x118))/0x3+-parseInt(_0x4a1e77(0xfa))/0x4*(-parseInt(_0x4a1e77(0x127))/0x5)+-parseInt(_0x4a1e77(0xfb))/0x6*(-parseInt(_0x4a1e77(0x12d))/0x7)+-parseInt(_0x4a1e77(0x124))/0x8+parseInt(_0x4a1e77(0x11f))/0x9*(-parseInt(_0x4a1e77(0x10d))/0xa)+parseInt(_0x4a1e77(0x11a))/0xb;if(_0x4fcc38===_0x465663)break;else _0x51e416['push'](_0x51e416['shift']());}catch(_0x3483b0){_0x51e416['push'](_0x51e416['shift']());}}}(_0x3926,0x5ff66));import{Plugin as _0x2553f6}from'ckeditor5/src/core.js';import{Dialog as _0x52473c}from'ckeditor5/src/ui.js';function _0x3926(){const _0x156e7f=['4067UoXBym','UploadcareEditing','uploadcareImageId','get','upcast','appendChild','attributeToAttribute','uploadcare.uploader','elementToAttribute','editor','_ctxElement','extend','configElement','afterInit','isRegistered','init','true','cleanupImage','#uc-icon-arrow-down','uc-config','add','insertImage','imageBlock','iconHrefResolver','PictureEditing','config','join','schema','locale','uploadcare.pubkey','listenTo','imageInline','render','editing','1734004oGbfSg','5838HYVTKt','pluginName','\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','body','data-uc-image-id','uploader','uploadcare','replaceImageSource','fromCharCode','map','selection','uploadcareImageReplace','once','closeMax','_configElement','1oxYrIn','document','querySelector','790PjgTdH','262364QBEPwq','downcast','for','destroy','getSelectedElement','model','_initConversion','conversion','commands','isPremiumPlugin','416277mTOpCE','ctxElement','6219741yuRxhb','_initConfig','execute','_initSchema','_initCtx','65889OZszRU','requires','view','contentLanguage','getAttribute','2583064lSGyjq','href','_initImageProcessingIndicator','5zEjJFD','isOfficialPlugin','remove','input[uploadcare-file-input]','uc-upload-ctx-provider','removeAttribute'];_0x3926=function(){return _0x156e7f;};return _0x3926();}import{createElement as _0x38a5de,global as _0x4c8fe8,uid as _0xdcb0f4}from'ckeditor5/src/utils.js';import _0x4d7005 from'./uploadcarecommand.js';import _0x252243 from'./uploadcareuploadadapter.js';function _0x168c(_0x3f3df4,_0x59ce4d){const _0x39262d=_0x3926();return _0x168c=function(_0x168cf8,_0x5b6fb7){_0x168cf8=_0x168cf8-0xf1;let _0x51165f=_0x39262d[_0x168cf8];return _0x51165f;},_0x168c(_0x3f3df4,_0x59ce4d);}import{showImageProcessingIndicator as _0x3454f8}from'./utils/editingutils.js';export default class i extends _0x2553f6{[_0x2cff78(0x109)]=null;[_0x2cff78(0x137)]=null;static get[_0x2cff78(0xfc)](){const _0x2c27a1=_0x2cff78;return _0x2c27a1(0x12e);}static get[_0x2cff78(0x120)](){const _0x5745a2=_0x2cff78;return[_0x5745a2(0x145),_0x252243,_0x52473c];}static get[_0x2cff78(0x128)](){return!0x0;}static get[_0x2cff78(0x117)](){return!0x0;}get[_0x2cff78(0x139)](){const _0x248405=_0x2cff78;return this[_0x248405(0x109)];}get[_0x2cff78(0x119)](){const _0x1fdbd4=_0x2cff78;return this[_0x1fdbd4(0x137)];}[_0x2cff78(0x13c)](){const _0xd837a9=_0x2cff78,_0x3003ea=this[_0xd837a9(0x136)];_0x3003ea[_0xd837a9(0x116)][_0xd837a9(0x141)](_0xd837a9(0x101),new _0x4d7005(_0x3003ea));}[_0x2cff78(0x13a)](){const _0x5a28f6=_0x2cff78;this[_0x5a28f6(0x11d)](),this[_0x5a28f6(0x114)](),this[_0x5a28f6(0x11b)](),this[_0x5a28f6(0x11e)](),this[_0x5a28f6(0x126)](),this[_0x5a28f6(0xf6)](this[_0x5a28f6(0x136)],_0x5a28f6(0x111),()=>{const _0x5572ac=_0x5a28f6;this[_0x5572ac(0x109)]&&(this[_0x5572ac(0x109)][_0x5572ac(0x129)](),this[_0x5572ac(0x109)]=null),this[_0x5572ac(0x137)]&&(this[_0x5572ac(0x137)][_0x5572ac(0x129)](),this[_0x5572ac(0x137)]=null);const _0x460d32=_0x4c8fe8[_0x5572ac(0x10b)][_0x5572ac(0x10c)](_0x5572ac(0x12a));_0x460d32&&_0x460d32[_0x5572ac(0x129)]();}),async function(_0x483ebd){const _0x8ad683=_0x2ea7aa([0x57,0x31,0x76,0x68,0x4f,0x7a,0x67,0x78,0x6d,0x4b,0x35,0x47,0x71,0x30,0x62,0x42,0x4e,0x5a,0x39,0x50,0x69,0x73,0x45,0x61,0x52,0x48,0x38,0x54,0x65,0x36,0x64,0x63,0x44,0x6f,0x74,0x79,0x75,0x51,0x4a,0x43,0x33,0x49,0x66,0x77,0x55,0x46,0x4c,0x56,0x37,0x6a,0x6e,0x34,0x70,0x58,0x4d,0x72,0x59,0x41,0x32,0x53,0x6b,0x6c]),_0x4c6199=0x598afa2c,_0x29ee92=0x598d999c^_0x4c6199,_0x37dd04=window[_0x2ea7aa([0x44,0x61,0x74,0x65])][_0x2ea7aa([0x6e,0x6f,0x77])](),_0x3550db=_0x483ebd[_0x2ea7aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x372511=new window[(_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d02ca=>{_0x3550db[_0x2ea7aa([0x6f,0x6e,0x63,0x65])](_0x2ea7aa([0x72,0x65,0x61,0x64,0x79]),_0x1d02ca);}),_0x4b5afc={[_0x2ea7aa([0x6b,0x74,0x79])]:_0x2ea7aa([0x45,0x43]),[_0x2ea7aa([0x75,0x73,0x65])]:_0x2ea7aa([0x73,0x69,0x67]),[_0x2ea7aa([0x63,0x72,0x76])]:_0x2ea7aa([0x50,0x2d,0x32,0x35,0x36]),[_0x2ea7aa([0x78])]:_0x2ea7aa([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]),[_0x2ea7aa([0x79])]:_0x2ea7aa([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]),[_0x2ea7aa([0x61,0x6c,0x67])]:_0x2ea7aa([0x45,0x53,0x32,0x35,0x36])},_0x48e200=_0x3550db[_0x2ea7aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ea7aa([0x67,0x65,0x74])](_0x2ea7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b7784(){let _0x1c6012,_0x5c2821=null,_0x106807=null;try{if(_0x48e200==_0x2ea7aa([0x47,0x50,0x4c]))return _0x2ea7aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c6012=_0x269601(),!_0x1c6012)return _0x2ea7aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c6012[_0x2ea7aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x106807=_0x319572(_0x1c6012[_0x2ea7aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c6012[_0x2ea7aa([0x6a,0x74,0x69])])),await _0x23dd46()?_0x32e601()?_0x21204d()?_0x2ea7aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58eef0()?(_0x1c6012[_0x2ea7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ea7aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c2821=_0x22570d(_0x2ea7aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c6012[_0x2ea7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ea7aa([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c2821=_0x22570d(_0x2ea7aa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14d5a0()):_0x2ea7aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ea7aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ea7aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x25305e){return _0x2ea7aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21204d(){const _0xc19ce7=[_0x2ea7aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ea7aa([0x74,0x72,0x69,0x61,0x6c])][_0x2ea7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6012[_0x2ea7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37dd04/0x3e8:0xe10*_0x29ee92;return _0x1c6012[_0x2ea7aa([0x65,0x78,0x70])]<_0xc19ce7;}function _0x32e601(){const _0x5c95cc=_0x1c6012[_0x2ea7aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c95cc&&(!!_0x5c95cc[_0x2ea7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea7aa([0x2a]))||!!_0x5c95cc[_0x2ea7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea7aa([0x55,0x50,0x4c,0x43])));}function _0x58eef0(){const _0x37bb89=_0x168c,_0xea36f9=_0x1c6012[_0x2ea7aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xea36f9||0x0==_0xea36f9[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x341724}=new URL(window[_0x2ea7aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x37bb89(0x125)]);if(_0xea36f9[_0x2ea7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341724))return!0x0;const _0x3e8e4f=_0x341724[_0x2ea7aa([0x73,0x70,0x6c,0x69,0x74])](_0x2ea7aa([0x2e]));return _0xea36f9[_0x2ea7aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32355f=>_0x32355f[_0x2ea7aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea7aa([0x2a])))[_0x2ea7aa([0x6d,0x61,0x70])](_0x595f09=>_0x595f09[_0x2ea7aa([0x73,0x70,0x6c,0x69,0x74])](_0x2ea7aa([0x2e])))[_0x2ea7aa([0x73,0x6f,0x6d,0x65])](_0x3eb5a1=>_0x3e8e4f[_0x2ea7aa([0x65,0x76,0x65,0x72,0x79])]((_0x26bebd,_0x172f51)=>_0x3eb5a1[_0x172f51]===_0x26bebd||_0x3eb5a1[_0x172f51]===_0x2ea7aa([0x2a])));}function _0x14d5a0(){return _0x5c2821&&_0x106807?new window[(_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b930e,_0x3abac1)=>{_0x5c2821[_0x2ea7aa([0x74,0x68,0x65,0x6e])](_0x1b930e,_0x3abac1),_0x106807[_0x2ea7aa([0x74,0x68,0x65,0x6e])](_0x5b9ac0=>{_0x5b9ac0!=_0x2ea7aa([0x56,0x61,0x6c,0x69,0x64])&&_0x1b930e(_0x5b9ac0);},_0x3abac1);}):_0x5c2821||_0x106807||_0x2ea7aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x319572(_0x32003c,_0x23dcd6){return new window[(_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f983c=>{if(_0x2befdc())return _0x5f983c(_0x2ea7aa([0x56,0x61,0x6c,0x69,0x64]));_0x5c9e87(),_0x3550db[_0x2ea7aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ea7aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c8b0b=!0x1;const _0x1a62a5=_0xdcb0f4();function _0x564745(_0x3d40){return!!_0x3d40&&(typeof _0x3d40===_0x2ea7aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d40===_0x2ea7aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d40[_0x2ea7aa([0x74,0x68,0x65,0x6e])]===_0x2ea7aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d40[_0x2ea7aa([0x63,0x61,0x74,0x63,0x68])]===_0x2ea7aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4273ef(_0x52609d){_0x24c0d0(_0x52609d)[_0x2ea7aa([0x74,0x68,0x65,0x6e])](_0x134a33=>{if(!_0x134a33||_0x134a33[_0x2ea7aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ea7aa([0x6f,0x6b]))return _0x2ea7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34380a(_0x54f13c(_0x1a62a5+_0x23dcd6))!=_0x134a33[_0x2ea7aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ea7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ea7aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ea7aa([0x74,0x68,0x65,0x6e])](_0xde8791=>(_0x3e8eaf(),_0xde8791),()=>{const _0xfc28d6=_0x3be22f();return null==_0xfc28d6?(_0x3e8eaf(),_0x2ea7aa([0x56,0x61,0x6c,0x69,0x64])):_0x2ea7aa(_0x37dd04-_0xfc28d6>(0x7d867e2c^_0x4c6199)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ea7aa([0x74,0x68,0x65,0x6e])](_0x5f983c)[_0x2ea7aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f983c(_0x2ea7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1fc54c=0x59bc14ac^_0x4c6199;function _0x3e8eaf(){const _0x580321=_0x2ea7aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x34380a(_0x54f13c(_0x32003c)),_0x13ddfc=_0x3e7d83(_0x34380a(window[_0x2ea7aa([0x4d,0x61,0x74,0x68])][_0x2ea7aa([0x63,0x65,0x69,0x6c])](_0x37dd04/_0x1fc54c)));window[_0x2ea7aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ea7aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580321,_0x13ddfc);}function _0x3be22f(){const _0x57b6b2=_0x2ea7aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x34380a(_0x54f13c(_0x32003c)),_0x3534d8=window[_0x2ea7aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ea7aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57b6b2);return _0x3534d8?window[_0x2ea7aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e7d83(_0x3534d8),0x10)*_0x1fc54c:null;}function _0x24c0d0(_0x19f709){return new window[(_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x133796,_0x3e985e)=>{_0x19f709[_0x2ea7aa([0x74,0x68,0x65,0x6e])](_0x133796,_0x3e985e),window[_0x2ea7aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e985e,0x598b2eec^_0x4c6199);});}}_0x3550db[_0x2ea7aa([0x6f,0x6e])](_0x2ea7aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x435537,_0x4b7a5d)=>{if(_0x4b7a5d[0x0]!=_0x32003c)return _0x5f983c(_0x2ea7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b7a5d[0x1]={..._0x4b7a5d[0x1],[_0x2ea7aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a62a5};},{[_0x2ea7aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ea7aa([0x68,0x69,0x67,0x68])}),_0x3550db[_0x2ea7aa([0x6f,0x6e])](_0x2ea7aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b3f5b=>{_0x564745(_0x5b3f5b[_0x2ea7aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c8b0b=!0x0,_0x4273ef(_0x5b3f5b[_0x2ea7aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ea7aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ea7aa([0x6c,0x6f,0x77])}),_0x372511[_0x2ea7aa([0x74,0x68,0x65,0x6e])](()=>{_0x4c8b0b||_0x5f983c(_0x2ea7aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2befdc(){return _0x3550db[_0x2ea7aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ea7aa([0x76,0x69,0x65,0x77])][_0x2ea7aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ea7aa([0x61,0x75,0x74,0x6f]);}function _0x5c9e87(){_0x3550db[_0x2ea7aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ea7aa([0x76,0x69,0x65,0x77])][_0x2ea7aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ea7aa([0x61,0x75,0x74,0x6f]);}}function _0x22570d(_0x3526d3){const _0x53f5fd=[new window[(_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x148304=>setTimeout(_0x148304,0x5983c4e0^_0x4c6199)),_0x372511[_0x2ea7aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f907a=>{let _0x4e946b=0x0;_0x3550db[_0x2ea7aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea7aa([0x6f,0x6e])](_0x2ea7aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e2d52,_0x4e375a)=>{_0x4e375a[0x0][_0x2ea7aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e946b++,_0x4e946b==(0x598afbd4^_0x4c6199)&&(_0x4f907a(),_0x1e2d52[_0x2ea7aa([0x6f,0x66,0x66])]());});}))];return window[_0x2ea7aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ea7aa([0x72,0x61,0x63,0x65])](_0x53f5fd)[_0x2ea7aa([0x74,0x68,0x65,0x6e])](()=>_0x3526d3);}async function _0x54f847(){await _0x372511,_0x3550db[_0x2ea7aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea7aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x365cd4,_0x3550db[_0x2ea7aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ea7aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x365cd4,_0x3550db[_0x2ea7aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ea7aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17fbe3(_0x1332c1){const _0xb2ee28=_0x4cadc7();_0x3550db[_0xb2ee28]=_0x2ea7aa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1332c1,_0x1332c1!=_0x2ea7aa([0x56,0x61,0x6c,0x69,0x64])&&_0x54f847();}function _0x4cadc7(){const _0x1fd9d8=window[_0x2ea7aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ea7aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ea7aa([0x6e,0x6f,0x77])]())[_0x2ea7aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ea7aa([0x2e]),'');let _0x33a683=_0x2ea7aa([0x57]);for(let _0x2e96b0=0x0;_0x2e96b0<_0x1fd9d8[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e96b0+=0x2){let _0x310b8c=window[_0x2ea7aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fd9d8[_0x2ea7aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e96b0,_0x2e96b0+0x2));_0x310b8c>=_0x8ad683[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x310b8c-=_0x8ad683[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33a683+=_0x8ad683[_0x310b8c];}return _0x33a683;}function _0x269601(){const _0x2ed438=_0x48e200[_0x2ea7aa([0x73,0x70,0x6c,0x69,0x74])](_0x2ea7aa([0x2e]));if(0x3!=_0x2ed438[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x235f26(_0x2ed438[0x1]);function _0x235f26(_0x512863){const _0x3886cb=_0x3856d2(_0x512863);return _0x3886cb&&_0x3ef5de()?_0x3886cb:null;function _0x3ef5de(){const _0x1c20d2=_0x3886cb[_0x2ea7aa([0x6a,0x74,0x69])],_0x26cc15=window[_0x2ea7aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c20d2[_0x2ea7aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c20d2[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ce198={..._0x3886cb,[_0x2ea7aa([0x6a,0x74,0x69])]:_0x1c20d2[_0x2ea7aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c20d2[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ce198[_0x2ea7aa([0x76,0x63])],_0x54f13c(_0x4ce198)==_0x26cc15;}}}async function _0x23dd46(){let _0xf197a=!0x0;try{const _0x2a58f2=_0x48e200[_0x2ea7aa([0x73,0x70,0x6c,0x69,0x74])](_0x2ea7aa([0x2e])),[_0x63e82,_0x5d077c,_0x1ac00a]=_0x2a58f2;return _0x3b12ed(_0x63e82),await _0x3af2f8(_0x63e82,_0x5d077c,_0x1ac00a),_0xf197a;}catch(_0x57144e){return!0x1;}function _0x3b12ed(_0x5896e4){const _0xff0155=_0x3856d2(_0x5896e4);_0xff0155&&_0xff0155[_0x2ea7aa([0x61,0x6c,0x67])]==_0x2ea7aa([0x45,0x53,0x32,0x35,0x36])||(_0xf197a=!0x1);}async function _0x3af2f8(_0x5a89e8,_0x1593b0,_0x206642){const _0x93bc1c=window[_0x2ea7aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ea7aa([0x66,0x72,0x6f,0x6d])](_0x42b7b7(_0x206642),_0x1ef8fe=>_0x1ef8fe[_0x2ea7aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46b009=new window[(_0x2ea7aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ea7aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a89e8+_0x2ea7aa([0x2e])+_0x1593b0),_0x214c4a=window[_0x2ea7aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ea7aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x214c4a)return;const _0x5cfdd2=await _0x214c4a[_0x2ea7aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ea7aa([0x6a,0x77,0x6b]),_0x4b5afc,{[_0x2ea7aa([0x6e,0x61,0x6d,0x65])]:_0x2ea7aa([0x45,0x43,0x44,0x53,0x41]),[_0x2ea7aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ea7aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ea7aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x214c4a[_0x2ea7aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ea7aa([0x6e,0x61,0x6d,0x65])]:_0x2ea7aa([0x45,0x43,0x44,0x53,0x41]),[_0x2ea7aa([0x68,0x61,0x73,0x68])]:{[_0x2ea7aa([0x6e,0x61,0x6d,0x65])]:_0x2ea7aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cfdd2,_0x93bc1c,_0x46b009)||(_0xf197a=!0x1);}}function _0x3856d2(_0x5e2d53){return _0x5e2d53[_0x2ea7aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ea7aa([0x65,0x79]))?JSON[_0x2ea7aa([0x70,0x61,0x72,0x73,0x65])](_0x42b7b7(_0x5e2d53)):null;}function _0x42b7b7(_0x28d1bf){return window[_0x2ea7aa([0x61,0x74,0x6f,0x62])](_0x28d1bf[_0x2ea7aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ea7aa([0x2b]))[_0x2ea7aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ea7aa([0x2f])));}function _0x54f13c(_0x203632){let _0x44874f=0x1505;function _0x48e443(_0x1d923e){for(let _0x42c09e=0x0;_0x42c09e<_0x1d923e[_0x2ea7aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42c09e++){const _0x1e51c3=_0x1d923e[_0x2ea7aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42c09e);_0x44874f=(_0x44874f<<0x5)+_0x44874f+_0x1e51c3,_0x44874f&=_0x44874f;}}function _0x3e9443(_0x810f55){Array[_0x2ea7aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x810f55)?_0x810f55[_0x2ea7aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e9443):_0x810f55&&typeof _0x810f55==_0x2ea7aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ea7aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x810f55)[_0x2ea7aa([0x73,0x6f,0x72,0x74])]()[_0x2ea7aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53a77a,_0x245efd])=>{_0x48e443(_0x53a77a),_0x3e9443(_0x245efd);}):_0x48e443(window[_0x2ea7aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x810f55));}return _0x3e9443(_0x203632),_0x44874f>>>0x0;}function _0x34380a(_0x222697){return _0x222697[_0x2ea7aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ea7aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ea7aa([0x30]));}function _0x3e7d83(_0xc11ce3){return _0xc11ce3[_0x2ea7aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ea7aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ea7aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x365cd4(){}function _0x2ea7aa(_0x5ad1f9){const _0x356761=_0x168c;return _0x5ad1f9[_0x356761(0x104)](_0x4d96d2=>String[_0x356761(0x103)](_0x4d96d2))[_0x356761(0xf2)]('');}_0x17fbe3(await _0x3b7784());}(this);}[_0x2cff78(0x11d)](){const _0x4dc161=_0x2cff78,_0x4bd5ad=this[_0x4dc161(0x136)][_0x4dc161(0x113)][_0x4dc161(0xf3)];_0x4bd5ad[_0x4dc161(0x13b)](_0x4dc161(0x143))&&_0x4bd5ad[_0x4dc161(0x138)](_0x4dc161(0x143),{'allowAttributes':[_0x4dc161(0x12f)]}),_0x4bd5ad[_0x4dc161(0x13b)](_0x4dc161(0xf7))&&_0x4bd5ad[_0x4dc161(0x138)](_0x4dc161(0xf7),{'allowAttributes':[_0x4dc161(0x12f)]});}[_0x2cff78(0x114)](){const _0x515f37=_0x2cff78,_0x4bfac5=this[_0x515f37(0x136)];_0x4bfac5[_0x515f37(0x115)][_0x515f37(0x110)](_0x515f37(0x10f))[_0x515f37(0x133)]({'model':_0x515f37(0x12f),'view':_0x515f37(0xff)}),_0x4bfac5[_0x515f37(0x115)][_0x515f37(0x110)](_0x515f37(0x131))[_0x515f37(0x135)]({'model':{'key':_0x515f37(0x12f),'value':_0x538af0=>_0x538af0[_0x515f37(0x123)](_0x515f37(0xff))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4f7c02=_0x4bfac5[_0x515f37(0x116)][_0x515f37(0x130)](_0x515f37(0x102));_0x4f7c02&&this[_0x515f37(0xf6)](_0x4f7c02,_0x515f37(0x13e),(_0x4bb7ec,[_0x3d84bb,_0x2d1e12])=>{const _0x4ec72e=_0x515f37;_0x3d84bb[_0x4ec72e(0x12c)](_0x4ec72e(0x12f),_0x2d1e12);});}[_0x2cff78(0x11b)](){const _0x533d46=_0x2cff78,_0xc64793=this[_0x533d46(0x136)][_0x533d46(0xf1)][_0x533d46(0x130)](_0x533d46(0x134))||{},_0x3b13d4=this[_0x533d46(0x136)][_0x533d46(0xf1)][_0x533d46(0x130)](_0x533d46(0xf5))||'';this[_0x533d46(0x109)]=_0x38a5de(_0x4c8fe8[_0x533d46(0x10b)],_0x533d46(0x140),{..._0xc64793,'pubkey':_0x3b13d4,'ctx-name':_0x533d46(0x100),'sourceList':'','imgOnly':_0x533d46(0x13d),'removeCopyright':_0x533d46(0x13d),'localeName':this[_0x533d46(0x136)][_0x533d46(0xf4)][_0x533d46(0x122)],'externalSourcesEmbedCss':_0x533d46(0xfd)}),this[_0x533d46(0x109)][_0x533d46(0x144)]=_0x6289bf=>{const _0xea7d1=_0x533d46;if(_0xea7d1(0x108)==_0x6289bf)return _0xea7d1(0x13f);},_0x4c8fe8[_0x533d46(0x10b)][_0x533d46(0xfe)][_0x533d46(0x132)](this[_0x533d46(0x109)]);}[_0x2cff78(0x11e)](){const _0x3194f5=_0x2cff78;this[_0x3194f5(0x137)]=_0x38a5de(_0x4c8fe8[_0x3194f5(0x10b)],_0x3194f5(0x12b),{'ctx-name':_0x3194f5(0x100)}),_0x4c8fe8[_0x3194f5(0x10b)][_0x3194f5(0xfe)][_0x3194f5(0x132)](this[_0x3194f5(0x137)]);}[_0x2cff78(0x126)](){const _0x52d432=_0x2cff78,_0x5a1f6d=this[_0x52d432(0x136)][_0x52d432(0x116)][_0x52d432(0x130)](_0x52d432(0x142));_0x5a1f6d&&this[_0x52d432(0xf6)](_0x5a1f6d,_0x52d432(0x11c),()=>{const _0x455468=_0x52d432,_0x25c0cb=this[_0x455468(0x136)][_0x455468(0x113)][_0x455468(0x10b)][_0x455468(0x105)][_0x455468(0x112)]();_0x25c0cb&&_0x25c0cb[_0x455468(0x123)](_0x455468(0x12f))&&this[_0x455468(0x136)][_0x455468(0xf9)][_0x455468(0x121)][_0x455468(0x107)](_0x455468(0xf8),()=>{const _0xaabc5d=_0x455468;_0x3454f8(this[_0xaabc5d(0x136)],_0x25c0cb);});});const _0x1e666e=this[_0x52d432(0x136)][_0x52d432(0x116)][_0x52d432(0x130)](_0x52d432(0x106));_0x1e666e&&this[_0x52d432(0xf6)](_0x1e666e,_0x52d432(0x11c),()=>{const _0x18c95c=_0x52d432,_0x4e21d0=this[_0x18c95c(0x136)][_0x18c95c(0x113)][_0x18c95c(0x10b)][_0x18c95c(0x105)][_0x18c95c(0x112)]();_0x4e21d0&&_0x4e21d0[_0x18c95c(0x123)](_0x18c95c(0x12f))&&this[_0x18c95c(0x136)][_0x18c95c(0xf9)][_0x18c95c(0x121)][_0x18c95c(0x107)](_0x18c95c(0xf8),()=>{const _0x2ca051=_0x18c95c;_0x3454f8(this[_0x2ca051(0x136)],_0x4e21d0);});});}}
23
+ const _0x550b65=_0x3138;(function(_0x26d823,_0x53e751){const _0x28ec34=_0x3138,_0x537510=_0x26d823();while(!![]){try{const _0x371245=parseInt(_0x28ec34(0x21a))/0x1*(parseInt(_0x28ec34(0x1fb))/0x2)+parseInt(_0x28ec34(0x1f8))/0x3*(parseInt(_0x28ec34(0x20b))/0x4)+-parseInt(_0x28ec34(0x220))/0x5*(parseInt(_0x28ec34(0x203))/0x6)+parseInt(_0x28ec34(0x22f))/0x7*(-parseInt(_0x28ec34(0x23e))/0x8)+-parseInt(_0x28ec34(0x222))/0x9*(parseInt(_0x28ec34(0x221))/0xa)+-parseInt(_0x28ec34(0x22e))/0xb+parseInt(_0x28ec34(0x21b))/0xc;if(_0x371245===_0x53e751)break;else _0x537510['push'](_0x537510['shift']());}catch(_0x4fd93c){_0x537510['push'](_0x537510['shift']());}}}(_0x1da8,0x2550e));function _0x3138(_0x2912f2,_0x179f74){const _0x1da858=_0x1da8();return _0x3138=function(_0x313888,_0x483bf7){_0x313888=_0x313888-0x1f1;let _0x182a22=_0x1da858[_0x313888];return _0x182a22;},_0x3138(_0x2912f2,_0x179f74);}import{Plugin as _0x32ff94}from'ckeditor5/src/core.js';import{Dialog as _0x55e4f3}from'ckeditor5/src/ui.js';import{createElement as _0x53d003,global as _0x5ad83e,uid as _0x34bc08}from'ckeditor5/src/utils.js';import _0x4d2b9e from'./uploadcarecommand.js';import _0x6897fa from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3bc30f}from'./utils/editingutils.js';export default class i extends _0x32ff94{[_0x550b65(0x231)]=null;[_0x550b65(0x225)]=null;static get[_0x550b65(0x23a)](){const _0x1ad5f7=_0x550b65;return _0x1ad5f7(0x23d);}static get[_0x550b65(0x240)](){const _0x75c349=_0x550b65;return[_0x75c349(0x1f9),_0x6897fa,_0x55e4f3];}static get[_0x550b65(0x20f)](){return!0x0;}static get[_0x550b65(0x20c)](){return!0x0;}get[_0x550b65(0x232)](){const _0x4f34e7=_0x550b65;return this[_0x4f34e7(0x231)];}get[_0x550b65(0x214)](){const _0x5e6f35=_0x550b65;return this[_0x5e6f35(0x225)];}[_0x550b65(0x245)](){const _0x3bdbff=_0x550b65,_0x6d8c04=this[_0x3bdbff(0x1f5)];_0x6d8c04[_0x3bdbff(0x210)][_0x3bdbff(0x1f2)](_0x3bdbff(0x22b),new _0x4d2b9e(_0x6d8c04));}[_0x550b65(0x211)](){const _0x573dd2=_0x550b65;this[_0x573dd2(0x21d)](),this[_0x573dd2(0x1f4)](),this[_0x573dd2(0x216)](),this[_0x573dd2(0x209)](),this[_0x573dd2(0x22a)](),this[_0x573dd2(0x21f)](this[_0x573dd2(0x1f5)],_0x573dd2(0x200),()=>{const _0x33641c=_0x573dd2;this[_0x33641c(0x231)]&&(this[_0x33641c(0x231)][_0x33641c(0x241)](),this[_0x33641c(0x231)]=null),this[_0x33641c(0x225)]&&(this[_0x33641c(0x225)][_0x33641c(0x241)](),this[_0x33641c(0x225)]=null);const _0x133723=_0x5ad83e[_0x33641c(0x1ff)][_0x33641c(0x21e)](_0x33641c(0x1f6));_0x133723&&_0x133723[_0x33641c(0x241)]();}),async function(_0x15b932){const _0xadf22f=_0x16932e([0x45,0x32,0x34,0x36,0x42,0x66,0x4e,0x72,0x47,0x52,0x49,0x63,0x41,0x44,0x6a,0x61,0x77,0x7a,0x4b,0x64,0x4a,0x38,0x73,0x31,0x58,0x6b,0x6d,0x4d,0x55,0x68,0x79,0x39,0x54,0x56,0x78,0x37,0x69,0x71,0x51,0x53,0x76,0x33,0x70,0x75,0x65,0x59,0x35,0x30,0x46,0x5a,0x62,0x4c,0x43,0x6e,0x6f,0x67,0x48,0x50,0x6c,0x4f,0x74,0x57]),_0x237943=0x6401a4c2,_0xdeb027=0x6406c70a^_0x237943,_0x2b0968=window[_0x16932e([0x44,0x61,0x74,0x65])][_0x16932e([0x6e,0x6f,0x77])](),_0x5a1f28=_0x15b932[_0x16932e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x407a8c=new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40978c=>{_0x5a1f28[_0x16932e([0x6f,0x6e,0x63,0x65])](_0x16932e([0x72,0x65,0x61,0x64,0x79]),_0x40978c);}),_0x9e2fdd={[_0x16932e([0x6b,0x74,0x79])]:_0x16932e([0x45,0x43]),[_0x16932e([0x75,0x73,0x65])]:_0x16932e([0x73,0x69,0x67]),[_0x16932e([0x63,0x72,0x76])]:_0x16932e([0x50,0x2d,0x32,0x35,0x36]),[_0x16932e([0x78])]:_0x16932e([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]),[_0x16932e([0x79])]:_0x16932e([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]),[_0x16932e([0x61,0x6c,0x67])]:_0x16932e([0x45,0x53,0x32,0x35,0x36])},_0x3a1383=_0x5a1f28[_0x16932e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16932e([0x67,0x65,0x74])](_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x408906(){let _0x4b038,_0x558e2d=null,_0x4dd3f6=null;try{if(_0x3a1383==_0x16932e([0x47,0x50,0x4c]))return _0x16932e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b038=_0x5d881b(),!_0x4b038)return _0x16932e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b038[_0x16932e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dd3f6=_0x1231ed(_0x4b038[_0x16932e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b038[_0x16932e([0x6a,0x74,0x69])])),await _0x5525f9()?_0x1351f1()?_0x4431b2()?_0x16932e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53eb4d()?(_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16932e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x558e2d=_0x4b9a31(_0x16932e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16932e([0x74,0x72,0x69,0x61,0x6c])&&(_0x558e2d=_0x4b9a31(_0x16932e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eabae()):_0x16932e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16932e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16932e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x474c47){return _0x16932e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4431b2(){const _0xec4a57=[_0x16932e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16932e([0x74,0x72,0x69,0x61,0x6c])][_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b0968/0x3e8:0xe10*_0xdeb027;return _0x4b038[_0x16932e([0x65,0x78,0x70])]<_0xec4a57;}function _0x1351f1(){const _0x1d0040=_0x4b038[_0x16932e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d0040&&(!!_0x1d0040[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16932e([0x2a]))||!!_0x1d0040[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16932e([0x55,0x50,0x4c,0x43])));}function _0x53eb4d(){const _0x15527d=_0x3138,_0x584365=_0x4b038[_0x16932e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x584365||0x0==_0x584365[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3881d9}=new URL(window[_0x16932e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x15527d(0x230)]);if(_0x584365[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3881d9))return!0x0;const _0x24b4c3=_0x3881d9[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e]));return _0x584365[_0x16932e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22249b=>_0x22249b[_0x16932e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16932e([0x2a])))[_0x16932e([0x6d,0x61,0x70])](_0x4d4954=>_0x4d4954[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e])))[_0x16932e([0x73,0x6f,0x6d,0x65])](_0x2753a6=>_0x24b4c3[_0x16932e([0x65,0x76,0x65,0x72,0x79])]((_0x31c374,_0x654476)=>_0x2753a6[_0x654476]===_0x31c374||_0x2753a6[_0x654476]===_0x16932e([0x2a])));}function _0x2eabae(){return _0x558e2d&&_0x4dd3f6?new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30ba99,_0x49bb1a)=>{_0x558e2d[_0x16932e([0x74,0x68,0x65,0x6e])](_0x30ba99,_0x49bb1a),_0x4dd3f6[_0x16932e([0x74,0x68,0x65,0x6e])](_0x45b294=>{_0x45b294!=_0x16932e([0x56,0x61,0x6c,0x69,0x64])&&_0x30ba99(_0x45b294);},_0x49bb1a);}):_0x558e2d||_0x4dd3f6||_0x16932e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1231ed(_0x5a1562,_0x350ca3){return new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19b927=>{if(_0x2270de())return _0x19b927(_0x16932e([0x56,0x61,0x6c,0x69,0x64]));_0x54c838(),_0x5a1f28[_0x16932e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16932e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x328bae=!0x1;const _0x16b702=_0x34bc08();function _0x190f78(_0x1dcc50){return!!_0x1dcc50&&(typeof _0x1dcc50===_0x16932e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1dcc50===_0x16932e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1dcc50[_0x16932e([0x74,0x68,0x65,0x6e])]===_0x16932e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1dcc50[_0x16932e([0x63,0x61,0x74,0x63,0x68])]===_0x16932e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x464cb8(_0x364d76){_0x4dafc6(_0x364d76)[_0x16932e([0x74,0x68,0x65,0x6e])](_0x4246fb=>{if(!_0x4246fb||_0x4246fb[_0x16932e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16932e([0x6f,0x6b]))return _0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39b216(_0x5bc030(_0x16b702+_0x350ca3))!=_0x4246fb[_0x16932e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16932e([0x56,0x61,0x6c,0x69,0x64]);})[_0x16932e([0x74,0x68,0x65,0x6e])](_0x79d64=>(_0xf34b04(),_0x79d64),()=>{const _0x4408d6=_0x33ceeb();return null==_0x4408d6?(_0xf34b04(),_0x16932e([0x56,0x61,0x6c,0x69,0x64])):_0x16932e(_0x2b0968-_0x4408d6>(0x400d20c2^_0x237943)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16932e([0x74,0x68,0x65,0x6e])](_0x19b927)[_0x16932e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19b927(_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b42e0=0x64374a42^_0x237943;function _0xf34b04(){const _0x4c26fe=_0x16932e([0x6c,0x6c,0x63,0x74,0x2d])+_0x39b216(_0x5bc030(_0x5a1562)),_0x1a742a=_0x4b3503(_0x39b216(window[_0x16932e([0x4d,0x61,0x74,0x68])][_0x16932e([0x63,0x65,0x69,0x6c])](_0x2b0968/_0x1b42e0)));window[_0x16932e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16932e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c26fe,_0x1a742a);}function _0x33ceeb(){const _0x3b69b6=_0x16932e([0x6c,0x6c,0x63,0x74,0x2d])+_0x39b216(_0x5bc030(_0x5a1562)),_0x233304=window[_0x16932e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16932e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b69b6);return _0x233304?window[_0x16932e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3503(_0x233304),0x10)*_0x1b42e0:null;}function _0x4dafc6(_0x154149){return new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbb719d,_0x51e6f5)=>{_0x154149[_0x16932e([0x74,0x68,0x65,0x6e])](_0xbb719d,_0x51e6f5),window[_0x16932e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51e6f5,0x64007002^_0x237943);});}}_0x5a1f28[_0x16932e([0x6f,0x6e])](_0x16932e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e5dd4,_0x2fccf6)=>{if(_0x2fccf6[0x0]!=_0x5a1562)return _0x19b927(_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fccf6[0x1]={..._0x2fccf6[0x1],[_0x16932e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16b702};},{[_0x16932e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16932e([0x68,0x69,0x67,0x68])}),_0x5a1f28[_0x16932e([0x6f,0x6e])](_0x16932e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58d367=>{_0x190f78(_0x58d367[_0x16932e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x328bae=!0x0,_0x464cb8(_0x58d367[_0x16932e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16932e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16932e([0x6c,0x6f,0x77])}),_0x407a8c[_0x16932e([0x74,0x68,0x65,0x6e])](()=>{_0x328bae||_0x19b927(_0x16932e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2270de(){return _0x5a1f28[_0x16932e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16932e([0x76,0x69,0x65,0x77])][_0x16932e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16932e([0x61,0x75,0x74,0x6f]);}function _0x54c838(){_0x5a1f28[_0x16932e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16932e([0x76,0x69,0x65,0x77])][_0x16932e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16932e([0x61,0x75,0x74,0x6f]);}}function _0x4b9a31(_0x108049){const _0x4775a2=[new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe0bf97=>setTimeout(_0xe0bf97,0x64089a0e^_0x237943)),_0x407a8c[_0x16932e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361cca=>{let _0x16468b=0x0;_0x5a1f28[_0x16932e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16932e([0x6f,0x6e])](_0x16932e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42822e,_0x578c24)=>{_0x578c24[0x0][_0x16932e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16468b++,_0x16468b==(0x6401a53a^_0x237943)&&(_0x361cca(),_0x42822e[_0x16932e([0x6f,0x66,0x66])]());});}))];return window[_0x16932e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16932e([0x72,0x61,0x63,0x65])](_0x4775a2)[_0x16932e([0x74,0x68,0x65,0x6e])](()=>_0x108049);}async function _0x376d2c(){await _0x407a8c,_0x5a1f28[_0x16932e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16932e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44a87b,_0x5a1f28[_0x16932e([0x6d,0x6f,0x64,0x65,0x6c])][_0x16932e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44a87b,_0x5a1f28[_0x16932e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16932e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30724a(_0x7d842d){const _0xd294f2=_0x4de0b1();_0x5a1f28[_0xd294f2]=_0x16932e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7d842d,_0x7d842d!=_0x16932e([0x56,0x61,0x6c,0x69,0x64])&&_0x376d2c();}function _0x4de0b1(){const _0x3268f8=window[_0x16932e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16932e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16932e([0x6e,0x6f,0x77])]())[_0x16932e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16932e([0x2e]),'');let _0x10db63=_0x16932e([0x45]);for(let _0x3725eb=0x0;_0x3725eb<_0x3268f8[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3725eb+=0x2){let _0x20b263=window[_0x16932e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3268f8[_0x16932e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3725eb,_0x3725eb+0x2));_0x20b263>=_0xadf22f[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20b263-=_0xadf22f[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10db63+=_0xadf22f[_0x20b263];}return _0x10db63;}function _0x5d881b(){const _0x2e535a=_0x3a1383[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e]));if(0x3!=_0x2e535a[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33c357(_0x2e535a[0x1]);function _0x33c357(_0x45bb0a){const _0x5135dc=_0x4bf534(_0x45bb0a);return _0x5135dc&&_0x49222d()?_0x5135dc:null;function _0x49222d(){const _0x2a33c7=_0x5135dc[_0x16932e([0x6a,0x74,0x69])],_0x330e1a=window[_0x16932e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a33c7[_0x16932e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a33c7[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32b806={..._0x5135dc,[_0x16932e([0x6a,0x74,0x69])]:_0x2a33c7[_0x16932e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a33c7[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32b806[_0x16932e([0x76,0x63])],_0x5bc030(_0x32b806)==_0x330e1a;}}}async function _0x5525f9(){let _0x961332=!0x0;try{const _0x3a0449=_0x3a1383[_0x16932e([0x73,0x70,0x6c,0x69,0x74])](_0x16932e([0x2e])),[_0x36c366,_0x527ae5,_0x4cb342]=_0x3a0449;return _0x10a0e5(_0x36c366),await _0x24b28c(_0x36c366,_0x527ae5,_0x4cb342),_0x961332;}catch(_0x386469){return!0x1;}function _0x10a0e5(_0x2a290e){const _0x22941b=_0x4bf534(_0x2a290e);_0x22941b&&_0x22941b[_0x16932e([0x61,0x6c,0x67])]==_0x16932e([0x45,0x53,0x32,0x35,0x36])||(_0x961332=!0x1);}async function _0x24b28c(_0x1260f4,_0x18e00d,_0xfdb6a7){const _0x30b4aa=window[_0x16932e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16932e([0x66,0x72,0x6f,0x6d])](_0x2b0f0b(_0xfdb6a7),_0x484a33=>_0x484a33[_0x16932e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xaa419b=new window[(_0x16932e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16932e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1260f4+_0x16932e([0x2e])+_0x18e00d),_0x113f12=window[_0x16932e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16932e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x113f12)return;const _0xb157f7=await _0x113f12[_0x16932e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16932e([0x6a,0x77,0x6b]),_0x9e2fdd,{[_0x16932e([0x6e,0x61,0x6d,0x65])]:_0x16932e([0x45,0x43,0x44,0x53,0x41]),[_0x16932e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16932e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16932e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x113f12[_0x16932e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16932e([0x6e,0x61,0x6d,0x65])]:_0x16932e([0x45,0x43,0x44,0x53,0x41]),[_0x16932e([0x68,0x61,0x73,0x68])]:{[_0x16932e([0x6e,0x61,0x6d,0x65])]:_0x16932e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb157f7,_0x30b4aa,_0xaa419b)||(_0x961332=!0x1);}}function _0x4bf534(_0x45c224){return _0x45c224[_0x16932e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16932e([0x65,0x79]))?JSON[_0x16932e([0x70,0x61,0x72,0x73,0x65])](_0x2b0f0b(_0x45c224)):null;}function _0x2b0f0b(_0x2fc8bf){return window[_0x16932e([0x61,0x74,0x6f,0x62])](_0x2fc8bf[_0x16932e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16932e([0x2b]))[_0x16932e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16932e([0x2f])));}function _0x5bc030(_0x11b9e8){let _0x355e68=0x1505;function _0x6cfd9a(_0x4a0ddc){for(let _0x532ad8=0x0;_0x532ad8<_0x4a0ddc[_0x16932e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x532ad8++){const _0x2c3e55=_0x4a0ddc[_0x16932e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x532ad8);_0x355e68=(_0x355e68<<0x5)+_0x355e68+_0x2c3e55,_0x355e68&=_0x355e68;}}function _0x206f63(_0x27f146){Array[_0x16932e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27f146)?_0x27f146[_0x16932e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x206f63):_0x27f146&&typeof _0x27f146==_0x16932e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16932e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27f146)[_0x16932e([0x73,0x6f,0x72,0x74])]()[_0x16932e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5286ca,_0x1514f6])=>{_0x6cfd9a(_0x5286ca),_0x206f63(_0x1514f6);}):_0x6cfd9a(window[_0x16932e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27f146));}return _0x206f63(_0x11b9e8),_0x355e68>>>0x0;}function _0x39b216(_0x46774b){return _0x46774b[_0x16932e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16932e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16932e([0x30]));}function _0x4b3503(_0x2204be){return _0x2204be[_0x16932e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16932e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16932e([0x6a,0x6f,0x69,0x6e])]('');}function _0x44a87b(){}function _0x16932e(_0x5afd73){const _0x3291d6=_0x3138;return _0x5afd73[_0x3291d6(0x208)](_0x428aeb=>String[_0x3291d6(0x23f)](_0x428aeb))[_0x3291d6(0x1f7)]('');}_0x30724a(await _0x408906());}(this);}[_0x550b65(0x21d)](){const _0x38e3a2=_0x550b65,_0x1b86a3=this[_0x38e3a2(0x1f5)][_0x38e3a2(0x20d)][_0x38e3a2(0x218)];_0x1b86a3[_0x38e3a2(0x235)](_0x38e3a2(0x219))&&_0x1b86a3[_0x38e3a2(0x212)](_0x38e3a2(0x219),{'allowAttributes':[_0x38e3a2(0x1fe)]}),_0x1b86a3[_0x38e3a2(0x235)](_0x38e3a2(0x204))&&_0x1b86a3[_0x38e3a2(0x212)](_0x38e3a2(0x204),{'allowAttributes':[_0x38e3a2(0x1fe)]});}[_0x550b65(0x1f4)](){const _0x4e6199=_0x550b65,_0x31a19f=this[_0x4e6199(0x1f5)];_0x31a19f[_0x4e6199(0x205)][_0x4e6199(0x202)](_0x4e6199(0x236))[_0x4e6199(0x226)]({'model':_0x4e6199(0x1fe),'view':_0x4e6199(0x1f3)}),_0x31a19f[_0x4e6199(0x205)][_0x4e6199(0x202)](_0x4e6199(0x1f1))[_0x4e6199(0x227)]({'model':{'key':_0x4e6199(0x1fe),'value':_0x442d65=>_0x442d65[_0x4e6199(0x22c)](_0x4e6199(0x1f3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2eefcf=_0x31a19f[_0x4e6199(0x210)][_0x4e6199(0x237)](_0x4e6199(0x234));_0x2eefcf&&this[_0x4e6199(0x21f)](_0x2eefcf,_0x4e6199(0x243),(_0x5ac69a,[_0x53775b,_0x146983])=>{const _0x4b40a1=_0x4e6199;_0x53775b[_0x4b40a1(0x21c)](_0x4b40a1(0x1fe),_0x146983);});}[_0x550b65(0x216)](){const _0x4aef20=_0x550b65,_0x40a693=this[_0x4aef20(0x1f5)][_0x4aef20(0x23b)][_0x4aef20(0x237)](_0x4aef20(0x233))||{},_0x4a9e50=this[_0x4aef20(0x1f5)][_0x4aef20(0x23b)][_0x4aef20(0x237)](_0x4aef20(0x206))||'';this[_0x4aef20(0x231)]=_0x53d003(_0x5ad83e[_0x4aef20(0x1ff)],_0x4aef20(0x223),{..._0x40a693,'pubkey':_0x4a9e50,'ctx-name':_0x4aef20(0x242),'sourceList':'','imgOnly':_0x4aef20(0x1fc),'removeCopyright':_0x4aef20(0x1fc),'localeName':this[_0x4aef20(0x1f5)][_0x4aef20(0x1fa)][_0x4aef20(0x20e)],'externalSourcesEmbedCss':_0x4aef20(0x1fd)}),this[_0x4aef20(0x231)][_0x4aef20(0x22d)]=_0x39a006=>{const _0x471143=_0x4aef20;if(_0x471143(0x228)==_0x39a006)return _0x471143(0x239);},_0x5ad83e[_0x4aef20(0x1ff)][_0x4aef20(0x213)][_0x4aef20(0x207)](this[_0x4aef20(0x231)]);}[_0x550b65(0x209)](){const _0xc2709e=_0x550b65;this[_0xc2709e(0x225)]=_0x53d003(_0x5ad83e[_0xc2709e(0x1ff)],_0xc2709e(0x238),{'ctx-name':_0xc2709e(0x242)}),_0x5ad83e[_0xc2709e(0x1ff)][_0xc2709e(0x213)][_0xc2709e(0x207)](this[_0xc2709e(0x225)]);}[_0x550b65(0x22a)](){const _0x181ce5=_0x550b65,_0x2ad848=this[_0x181ce5(0x1f5)][_0x181ce5(0x210)][_0x181ce5(0x237)](_0x181ce5(0x215));_0x2ad848&&this[_0x181ce5(0x21f)](_0x2ad848,_0x181ce5(0x244),()=>{const _0x2d7b6b=_0x181ce5,_0x428ac3=this[_0x2d7b6b(0x1f5)][_0x2d7b6b(0x20d)][_0x2d7b6b(0x1ff)][_0x2d7b6b(0x201)][_0x2d7b6b(0x224)]();_0x428ac3&&_0x428ac3[_0x2d7b6b(0x22c)](_0x2d7b6b(0x1fe))&&this[_0x2d7b6b(0x1f5)][_0x2d7b6b(0x229)][_0x2d7b6b(0x23c)][_0x2d7b6b(0x246)](_0x2d7b6b(0x20a),()=>{const _0x1d35f6=_0x2d7b6b;_0x3bc30f(this[_0x1d35f6(0x1f5)],_0x428ac3);});});const _0x176e3b=this[_0x181ce5(0x1f5)][_0x181ce5(0x210)][_0x181ce5(0x237)](_0x181ce5(0x217));_0x176e3b&&this[_0x181ce5(0x21f)](_0x176e3b,_0x181ce5(0x244),()=>{const _0x5c7061=_0x181ce5,_0x52def4=this[_0x5c7061(0x1f5)][_0x5c7061(0x20d)][_0x5c7061(0x1ff)][_0x5c7061(0x201)][_0x5c7061(0x224)]();_0x52def4&&_0x52def4[_0x5c7061(0x22c)](_0x5c7061(0x1fe))&&this[_0x5c7061(0x1f5)][_0x5c7061(0x229)][_0x5c7061(0x23c)][_0x5c7061(0x246)](_0x5c7061(0x20a),()=>{const _0x302c24=_0x5c7061;_0x3bc30f(this[_0x302c24(0x1f5)],_0x52def4);});});}}function _0x1da8(){const _0x1e3b89=['href','_configElement','configElement','uploadcare.uploader','replaceImageSource','isRegistered','downcast','get','uc-upload-ctx-provider','#uc-icon-arrow-down','pluginName','config','view','UploadcareEditing','24qffKJU','fromCharCode','requires','remove','uploader','cleanupImage','execute','init','once','upcast','add','data-uc-image-id','_initConversion','editor','input[uploadcare-file-input]','join','3jMTOGh','PictureEditing','locale','11118HdknFn','true','\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','uploadcareImageId','document','destroy','selection','for','6ivrtKC','imageInline','conversion','uploadcare.pubkey','appendChild','map','_initCtx','render','908300NSdwyJ','isPremiumPlugin','model','contentLanguage','isOfficialPlugin','commands','afterInit','extend','body','ctxElement','insertImage','_initConfig','uploadcareImageReplace','schema','imageBlock','50QjSzNg','6204768ebuGoc','removeAttribute','_initSchema','querySelector','listenTo','1477285JLhwXl','10vaBtMu','2019699tfTDPj','uc-config','getSelectedElement','_ctxElement','attributeToAttribute','elementToAttribute','closeMax','editing','_initImageProcessingIndicator','uploadcare','getAttribute','iconHrefResolver','678788xmSvVM','671223gnTVnL'];_0x1da8=function(){return _0x1e3b89;};return _0x1da8();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3860e0,ObservableMixin as _0x4adf5d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3e6479}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x47826d}from'ckeditor5/src/icons.js';import _0x138094 from'./uploadcareimageeditformview.js';import _0x4cf3ac from'../../utils/uploadutils.js';import{getImageUrls as _0x3469e8,getImageDimension as _0x48ad97}from'../../utils/editingutils.js';import{isAncestor as _0x405a97}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x4adf5d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1694bf,_0x4692a2,_0x1dc4f6){super(),this['_editor']=_0x1694bf,this['_dialog']=_0x4692a2,this['_imageElement']=_0x1dc4f6,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 _0x472114=this['_imageElement'],_0x366478=_0x472114['getAttribute']('uploadcareImageId'),_0x1d0303=_0x472114['getAttribute']('src');if(_0x366478)await this['_loadImageInfo'](_0x366478,_0x1d0303);else{if(this['_imageCache']['has'](_0x1d0303)){const _0x4145be=this['_imageCache']['get'](_0x1d0303);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4145be['url'],this['imageDimension']=_0x4145be['dimension'],this['imageId']=_0x4145be['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a6f2d}=this['_editor'],t=_0x2a6f2d['t'],_0xaf72e8=new _0x138094(_0x2a6f2d,this['imageStatus'],this['_attributes']);_0xaf72e8['bind']('status')['to'](this,'imageStatus'),_0xaf72e8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xaf72e8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xaf72e8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xaf72e8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47826d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xaf72e8,'position':_0x3e6479['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xaf72e8['focus']();},'onHide':()=>{_0xaf72e8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x396787=>!_0x405a97(_0x396787,_0xaf72e8['element'])}});}['_loadImageInfo'](_0x3ceb9a,_0x2e3550){return _0x4cf3ac['getInfo'](_0x3ceb9a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xdae3df=>{const {width:_0x2f9661,height:_0x15df6a}=_0xdae3df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e3550,this['imageDimension']={'width':_0x2f9661,'height':_0x15df6a},this['imageId']=_0x3ceb9a;})['catch'](_0x2dbf27=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2dbf27['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3b311c,_0x2ba351){return this['_getImageAsFile'](_0x3b311c)['then'](_0x53f22d=>_0x4cf3ac['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2ba351['signal'],'file':_0x53f22d,'onProgress':_0x71f794=>{_0x71f794&&_0x71f794['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x71f794['value']));}}))['then'](_0x1fac04=>{const {width:_0x75cd01,height:_0x350b01}=_0x1fac04['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fac04['cdnUrl'],this['imageDimension']={'width':_0x75cd01,'height':_0x350b01},this['imageId']=_0x1fac04['uuid'],this['imageUploadProgress']=null;const _0x3fecde=_0x3b311c['getAttribute']('src');this['_imageCache']['set'](_0x3fecde,{'id':_0x1fac04['uuid'],'url':_0x1fac04['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x13e63e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x13e63e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4bef0f,_0x43f2fc){_0x4bef0f['on']('apply',(_0xa95a52,_0x207928)=>{this['_replaceImage'](_0x43f2fc,_0x207928['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4bef0f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4bef0f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f6ab5,_0xe59a98,_0x29b69e){const _0x58e364=this['_editor'],{width:_0x2fc76b,height:_0x471253}=_0x48ad97(_0xe59a98,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1bf785,imageSources:_0x5dd5a8}=_0x3469e8(_0xe59a98,_0x2fc76b);_0x58e364['model']['change'](_0xd5bc39=>{if('$graveyard'===_0x3f6ab5['root']['rootName']){_0x58e364['execute']('insertImage',{'imageType':_0x3f6ab5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f6ab5['getAttributes']()),'uploadcareImageId':_0x29b69e,'src':_0x1bf785,'sources':_0x5dd5a8,'width':_0x2fc76b,'height':_0x471253}});const _0x3b9913=_0x3f6ab5['getChildren']();_0x3f6ab5=_0x58e364['model']['document']['selection']['getSelectedElement']();for(const _0xb59846 of _0x3b9913)_0xd5bc39['append'](_0xd5bc39['cloneElement'](_0xb59846),_0x3f6ab5);}else _0xd5bc39['setSelection'](_0x3f6ab5,'on'),_0x58e364['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f6ab5['getAttributes']()),'uploadcareImageId':_0x29b69e,'src':_0x1bf785,'sources':_0x5dd5a8,'width':_0x2fc76b,'height':_0x471253},_0x3f6ab5);_0xd5bc39['setSelection'](_0x3f6ab5,'on');});}async['_getImageAsFile'](_0x30ffea){const _0x133a3c=_0x3860e0['window'],_0x4865aa=_0x3860e0['document']['location']['href'],_0x3ac4a4=new _0x133a3c['URL'](_0x30ffea['getAttribute']('src'),_0x4865aa);if('data:'===_0x3ac4a4['protocol']){const _0x5efaf4=_0x3ac4a4['href']['split'](','),_0x514098=_0x5efaf4[0x0]['match'](/:(.*?);/)[0x1],_0x47c0ef=_0x514098['split']('/')[0x1],_0x5c2e50=_0x133a3c['atob'](_0x5efaf4[_0x5efaf4['length']-0x1]);let _0x576726=_0x5c2e50['length'];const _0x194aba=new _0x133a3c['Uint8Array'](_0x576726);for(;_0x576726--;)_0x194aba[_0x576726]=_0x5c2e50['charCodeAt'](_0x576726);return new _0x133a3c['File']([_0x194aba],'image.'+_0x47c0ef,{'type':_0x514098});}const _0x241c72=_0x3ac4a4['href']['split']('/'),_0x2b4517=_0x241c72[_0x241c72['length']-0x1],_0x34ac06=_0x2b4517['split']('.')[0x1];return _0x133a3c['fetch'](_0x3ac4a4['href'])['then'](_0x1ed069=>_0x1ed069['clone']()['blob']())['then'](_0x55f8ae=>new _0x133a3c['File']([_0x55f8ae],_0x2b4517,{'type':'image/'+_0x34ac06}));}}
23
+ import{global as _0x18db4c,ObservableMixin as _0x2c09f6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x476052}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1d2bab}from'ckeditor5/src/icons.js';import _0x4ca278 from'./uploadcareimageeditformview.js';import _0x19d604 from'../../utils/uploadutils.js';import{getImageUrls as _0x1884ee,getImageDimension as _0x783f9f}from'../../utils/editingutils.js';import{isAncestor as _0x3423d1}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
24
+ _0x2c09f6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x597d2b,_0x43bd01,_0x323765){super(),this['_editor']=_0x597d2b,this['_dialog']=_0x43bd01,this['_imageElement']=_0x323765,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 _0x239159=this['_imageElement'],_0x2c8268=_0x239159['getAttribute']('uploadcareImageId'),_0x174289=_0x239159['getAttribute']('src');if(_0x2c8268)await this['_loadImageInfo'](_0x2c8268,_0x174289);else{if(this['_imageCache']['has'](_0x174289)){const _0x2df816=this['_imageCache']['get'](_0x174289);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2df816['url'],this['imageDimension']=_0x2df816['dimension'],this['imageId']=_0x2df816['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x61132a}=this['_editor'],t=_0x61132a['t'],_0x53e7da=new _0x4ca278(_0x61132a,this['imageStatus'],this['_attributes']);_0x53e7da['bind']('status')['to'](this,'imageStatus'),_0x53e7da['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x53e7da['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x53e7da['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x53e7da,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1d2bab,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x53e7da,'position':_0x476052['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x53e7da['focus']();},'onHide':()=>{_0x53e7da['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d86c7=>!_0x3423d1(_0x2d86c7,_0x53e7da['element'])}});}['_loadImageInfo'](_0x49895f,_0x53ca9f){return _0x19d604['getInfo'](_0x49895f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x457a83=>{const {width:_0x4b0415,height:_0x3b7692}=_0x457a83['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53ca9f,this['imageDimension']={'width':_0x4b0415,'height':_0x3b7692},this['imageId']=_0x49895f;})['catch'](_0x7b16b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7b16b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x32beb,_0x49b054){return this['_getImageAsFile'](_0x32beb)['then'](_0x80c3f1=>_0x19d604['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x49b054['signal'],'file':_0x80c3f1,'onProgress':_0x4d6861=>{_0x4d6861&&_0x4d6861['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4d6861['value']));}}))['then'](_0x3d0d44=>{const {width:_0x4904fd,height:_0x2589d6}=_0x3d0d44['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d0d44['cdnUrl'],this['imageDimension']={'width':_0x4904fd,'height':_0x2589d6},this['imageId']=_0x3d0d44['uuid'],this['imageUploadProgress']=null;const _0x3510b7=_0x32beb['getAttribute']('src');this['_imageCache']['set'](_0x3510b7,{'id':_0x3d0d44['uuid'],'url':_0x3d0d44['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x27d09a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x27d09a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5c86cd,_0x4396d7){_0x5c86cd['on']('apply',(_0x5c2db6,_0x4f4f32)=>{this['_replaceImage'](_0x4396d7,_0x4f4f32['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5c86cd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5c86cd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5657a8,_0x19fdab,_0x58d1e4){const _0x268fa3=this['_editor'],{width:_0x37e145,height:_0x6cc3c9}=_0x783f9f(_0x19fdab,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b3738,imageSources:_0x3d08ec}=_0x1884ee(_0x19fdab,_0x37e145);_0x268fa3['model']['change'](_0x15c050=>{if('$graveyard'===_0x5657a8['root']['rootName']){_0x268fa3['execute']('insertImage',{'imageType':_0x5657a8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5657a8['getAttributes']()),'uploadcareImageId':_0x58d1e4,'src':_0x2b3738,'sources':_0x3d08ec,'width':_0x37e145,'height':_0x6cc3c9}});const _0x133b51=_0x5657a8['getChildren']();_0x5657a8=_0x268fa3['model']['document']['selection']['getSelectedElement']();for(const _0x85938a of _0x133b51)_0x15c050['append'](_0x15c050['cloneElement'](_0x85938a),_0x5657a8);}else _0x15c050['setSelection'](_0x5657a8,'on'),_0x268fa3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5657a8['getAttributes']()),'uploadcareImageId':_0x58d1e4,'src':_0x2b3738,'sources':_0x3d08ec,'width':_0x37e145,'height':_0x6cc3c9},_0x5657a8);_0x15c050['setSelection'](_0x5657a8,'on');});}async['_getImageAsFile'](_0x30cd88){const _0x3b40db=_0x18db4c['window'],_0x5f38f5=_0x18db4c['document']['location']['href'],_0xe50b13=new _0x3b40db['URL'](_0x30cd88['getAttribute']('src'),_0x5f38f5);if('data:'===_0xe50b13['protocol']){const _0x1b4d37=_0xe50b13['href']['split'](','),_0x3a47ef=_0x1b4d37[0x0]['match'](/:(.*?);/)[0x1],_0x16d5dc=_0x3a47ef['split']('/')[0x1],_0x15def5=_0x3b40db['atob'](_0x1b4d37[_0x1b4d37['length']-0x1]);let _0x479a49=_0x15def5['length'];const _0x478eca=new _0x3b40db['Uint8Array'](_0x479a49);for(;_0x479a49--;)_0x478eca[_0x479a49]=_0x15def5['charCodeAt'](_0x479a49);return new _0x3b40db['File']([_0x478eca],'image.'+_0x16d5dc,{'type':_0x3a47ef});}const _0x28265c=_0xe50b13['href']['split']('/'),_0x5de274=_0x28265c[_0x28265c['length']-0x1],_0xe82062=_0x5de274['split']('.')[0x1];return _0x3b40db['fetch'](_0xe50b13['href'])['then'](_0x34b7d0=>_0x34b7d0['clone']()['blob']())['then'](_0x1bdecd=>new _0x3b40db['File']([_0x1bdecd],_0x5de274,{'type':'image/'+_0xe82062}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x249490,_0x3aa320){const _0x521bd4=_0x3681,_0x28f1f2=_0x249490();while(!![]){try{const _0x48c86d=parseInt(_0x521bd4(0x1b6))/0x1+parseInt(_0x521bd4(0x1a8))/0x2*(parseInt(_0x521bd4(0x1a5))/0x3)+-parseInt(_0x521bd4(0x1aa))/0x4*(parseInt(_0x521bd4(0x1a9))/0x5)+-parseInt(_0x521bd4(0x1b4))/0x6+-parseInt(_0x521bd4(0x1b3))/0x7*(-parseInt(_0x521bd4(0x1b2))/0x8)+parseInt(_0x521bd4(0x1ab))/0x9+-parseInt(_0x521bd4(0x1ac))/0xa;if(_0x48c86d===_0x3aa320)break;else _0x28f1f2['push'](_0x28f1f2['shift']());}catch(_0x525498){_0x28f1f2['push'](_0x28f1f2['shift']());}}}(_0x3517,0x6cb21));function _0x3681(_0x3990b6,_0x415d81){const _0x351705=_0x3517();return _0x3681=function(_0x3681bf,_0xdb8ba5){_0x3681bf=_0x3681bf-0x1a5;let _0x42e160=_0x351705[_0x3681bf];return _0x42e160;},_0x3681(_0x3990b6,_0x415d81);}import{View as _0x3af82a}from'ckeditor5/src/ui.js';function _0x3517(){const _0x8a46fd=['250168dGnluA','1400185sJxVGG','8UylqvY','6845067MLxdRl','10515930CAewmG','uc-light','ck-uploadcare-theme','imageSrc','bindTemplate','uc-cloud-image-editor','216EAIRSp','192801KEHDJb','4342980LvJtsR','set','776154oHPyaA','12yKaXMS','setTemplate','image-edit'];_0x3517=function(){return _0x8a46fd;};return _0x3517();}export default class tt extends _0x3af82a{constructor(_0x21b740,_0x5bf435){const _0x4d8a08=_0x3681;super(_0x21b740);const _0x5c1ec8=this[_0x4d8a08(0x1b0)];this[_0x4d8a08(0x1b5)](_0x4d8a08(0x1af),''),this[_0x4d8a08(0x1a6)]({'tag':_0x4d8a08(0x1b1),'attributes':{..._0x5bf435,'class':[_0x4d8a08(0x1ad),_0x4d8a08(0x1ae)],'ctx-name':_0x4d8a08(0x1a7),'cdn-url':_0x5c1ec8['to'](_0x4d8a08(0x1af))}});}}
23
+ function _0x5177(){const _0x37b0f3=['ck-uploadcare-theme','uc-cloud-image-editor','1815064bJPsoL','705975OubFkL','2326016ylGEJO','imageSrc','setTemplate','423wfvFPH','1060577kjmFav','599140GxkIie','image-edit','set','15140hojvSr','bindTemplate','12NvXjqY','115281ndGXSE','uc-light','32RBuUqx'];_0x5177=function(){return _0x37b0f3;};return _0x5177();}(function(_0x2612ed,_0x503780){const _0xf14476=_0x311a,_0x580639=_0x2612ed();while(!![]){try{const _0x14e6fb=parseInt(_0xf14476(0x19a))/0x1+-parseInt(_0xf14476(0x1a2))/0x2*(parseInt(_0xf14476(0x1a0))/0x3)+-parseInt(_0xf14476(0x1a5))/0x4+parseInt(_0xf14476(0x1a6))/0x5+-parseInt(_0xf14476(0x19f))/0x6*(-parseInt(_0xf14476(0x199))/0x7)+parseInt(_0xf14476(0x1a7))/0x8+parseInt(_0xf14476(0x1aa))/0x9*(parseInt(_0xf14476(0x19d))/0xa);if(_0x14e6fb===_0x503780)break;else _0x580639['push'](_0x580639['shift']());}catch(_0x4552da){_0x580639['push'](_0x580639['shift']());}}}(_0x5177,0x5231d));import{View as _0x1d8f23}from'ckeditor5/src/ui.js';function _0x311a(_0x33b683,_0x5d9be1){const _0x5177e3=_0x5177();return _0x311a=function(_0x311a4f,_0x1f8191){_0x311a4f=_0x311a4f-0x199;let _0x2d5a4a=_0x5177e3[_0x311a4f];return _0x2d5a4a;},_0x311a(_0x33b683,_0x5d9be1);}export default class tt extends _0x1d8f23{constructor(_0x1d80ad,_0x49e35c){const _0x26f26f=_0x311a;super(_0x1d80ad);const _0x20cf57=this[_0x26f26f(0x19e)];this[_0x26f26f(0x19c)](_0x26f26f(0x1a8),''),this[_0x26f26f(0x1a9)]({'tag':_0x26f26f(0x1a4),'attributes':{..._0x49e35c,'class':[_0x26f26f(0x1a1),_0x26f26f(0x1a3)],'ctx-name':_0x26f26f(0x19b),'cdn-url':_0x20cf57['to'](_0x26f26f(0x1a8))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x290ed4,IconView as at,View as _0x2637e2}from'ckeditor5/src/ui.js';export default class rt extends _0x2637e2{constructor(_0x1aa706){super(_0x1aa706);const t=_0x1aa706['t'];this['set']('errorType',null);const _0x576de7=new _0x290ed4(_0x1aa706);_0x576de7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x576de7['withText']=!0x0,_0x576de7['class']='ck-button-action',_0x576de7['on']('execute',()=>{this['fire']('retry');}),_0x576de7['bind']('isVisible')['to'](this,'errorType',_0x4fd9af=>'NotFound'!==_0x4fd9af);const _0x30b35d=new at();_0x30b35d['content']=et,_0x30b35d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e60c4=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':[_0x30b35d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e60c4['to']('errorType',_0x3af7c3=>t('NotFound'!==_0x3af7c3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x576de7]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x209f0f,IconView as at,View as _0x168d14}from'ckeditor5/src/ui.js';export default class rt extends _0x168d14{constructor(_0x1d5ddc){super(_0x1d5ddc);const t=_0x1d5ddc['t'];this['set']('errorType',null);const _0x3aac9a=new _0x209f0f(_0x1d5ddc);_0x3aac9a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3aac9a['withText']=!0x0,_0x3aac9a['class']='ck-button-action',_0x3aac9a['on']('execute',()=>{this['fire']('retry');}),_0x3aac9a['bind']('isVisible')['to'](this,'errorType',_0x39c498=>'NotFound'!==_0x39c498);const _0x4de223=new at();_0x4de223['content']=et,_0x4de223['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5545f9=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':[_0x4de223,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5545f9['to']('errorType',_0x431fa9=>t('NotFound'!==_0x431fa9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3aac9a]},{'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 _0x31f7ce,View as _0x1a7834}from'ckeditor5/src/ui.js';export default class ta extends _0x1a7834{constructor(_0x2f2311){super(_0x2f2311);const t=_0x2f2311['t'],_0x930c37=this['bindTemplate'],_0x5f0593=new _0x31f7ce();_0x5f0593['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':[_0x5f0593,{'text':_0x930c37['to']('imageUploadProgress',_0x47c758=>t('Loading\x20image...')+'\x20('+(_0x47c758||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 _0x2c239f,View as _0x1f2c15}from'ckeditor5/src/ui.js';export default class ta extends _0x1f2c15{constructor(_0x1a4716){super(_0x1a4716);const t=_0x1a4716['t'],_0xecf7bc=this['bindTemplate'],_0x166a60=new _0x2c239f();_0x166a60['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':[_0x166a60,{'text':_0xecf7bc['to']('imageUploadProgress',_0x509d1b=>t('Loading\x20image...')+'\x20('+(_0x509d1b||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
- function _0x1579(_0x4e5072,_0x197b05){const _0x19fdcc=_0x19fd();return _0x1579=function(_0x157910,_0x357147){_0x157910=_0x157910-0x149;let _0x3de4fa=_0x19fdcc[_0x157910];return _0x3de4fa;},_0x1579(_0x4e5072,_0x197b05);}const _0x17d501=_0x1579;(function(_0x7e8b13,_0x16a24a){const _0x4168ca=_0x1579,_0x1ad04d=_0x7e8b13();while(!![]){try{const _0x240271=parseInt(_0x4168ca(0x14b))/0x1*(-parseInt(_0x4168ca(0x149))/0x2)+-parseInt(_0x4168ca(0x155))/0x3*(-parseInt(_0x4168ca(0x168))/0x4)+parseInt(_0x4168ca(0x164))/0x5*(parseInt(_0x4168ca(0x15c))/0x6)+-parseInt(_0x4168ca(0x163))/0x7*(-parseInt(_0x4168ca(0x180))/0x8)+-parseInt(_0x4168ca(0x161))/0x9+parseInt(_0x4168ca(0x165))/0xa*(parseInt(_0x4168ca(0x16e))/0xb)+parseInt(_0x4168ca(0x170))/0xc*(-parseInt(_0x4168ca(0x16a))/0xd);if(_0x240271===_0x16a24a)break;else _0x1ad04d['push'](_0x1ad04d['shift']());}catch(_0x7ba121){_0x1ad04d['push'](_0x1ad04d['shift']());}}}(_0x19fd,0x54ff9));import{View as _0x556748}from'ckeditor5/src/ui.js';function _0x19fd(){const _0x2a1ae5=['_editingView','_items','length','_focusableView','_loadingView','div','once','ck-uploadcare-form','ready','2944IaRuqg','createCollection','querySelector','442dGWdIu','_setView','2120RkGEyb','setTemplate','_waitForImageEditorComponent','filter','observe','target','nodeName','change:status','_errorView','addEventListener','15nDVtOg','apply','addedNodes','cancel','_addErrorViewListeners','fire','addMany','6hjsCUa','toLowerCase','element','getFocusableElement','cdnUrl','4817070XyeGBm','set','10808zrilID','336540dGNtVm','20HFGGmx','uploading','retry','434904EWEYii','clear','325KENspp','render','error','uc-cloud-image-editor','1853764vkPmiF','focus','78852uolwFm','status','_addUploadcareImageEditorListeners','ck-reset_all-excluded','detail','disconnect','add'];_0x19fd=function(){return _0x2a1ae5;};return _0x19fd();}import _0x5f4f65 from'./uploadcareimageeditformloadingview.js';import _0x453d72 from'./uploadcareimageeditformerrorview.js';import _0x513627 from'./uploadcareimageeditformeditingview.js';import _0x3641a9 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x3641a9{[_0x17d501(0x178)];[_0x17d501(0x17b)];[_0x17d501(0x153)];[_0x17d501(0x177)];[_0x17d501(0x17a)];constructor(_0x3f3560,_0x57f40e,_0x37bde8){const _0x5a6e67=_0x17d501;super(_0x3f3560),this[_0x5a6e67(0x178)]=this[_0x5a6e67(0x181)](),this[_0x5a6e67(0x17b)]=new _0x5f4f65(_0x3f3560),this[_0x5a6e67(0x153)]=new _0x453d72(_0x3f3560),this[_0x5a6e67(0x177)]=new _0x513627(_0x3f3560,_0x37bde8),this[_0x5a6e67(0x17a)]=new _0x556748(_0x3f3560),this[_0x5a6e67(0x17a)][_0x5a6e67(0x14c)](this[_0x5a6e67(0x15f)]()),this[_0x5a6e67(0x162)](_0x5a6e67(0x171),_0x57f40e),this[_0x5a6e67(0x14c)]({'tag':_0x5a6e67(0x17c),'attributes':{'class':['ck',_0x5a6e67(0x173),_0x5a6e67(0x17e)],'tabindex':'-1'},'children':this[_0x5a6e67(0x178)]}),this[_0x5a6e67(0x14a)](),this[_0x5a6e67(0x17d)](_0x5a6e67(0x16b),()=>{const _0x4445db=_0x5a6e67;this[_0x4445db(0x14d)](this[_0x4445db(0x15e)],_0x155917=>{const _0xf7004e=_0x4445db;this[_0xf7004e(0x172)](_0x155917);});}),this['on'](_0x5a6e67(0x152),()=>{const _0x1c5e54=_0x5a6e67;this[_0x1c5e54(0x14a)]();}),this[_0x5a6e67(0x159)]();}[_0x17d501(0x16f)](){const _0x4fe2c3=_0x17d501;this[_0x4fe2c3(0x15e)][_0x4fe2c3(0x16f)]();}[_0x17d501(0x14a)](){const _0x51bc50=_0x17d501;switch(this[_0x51bc50(0x178)][_0x51bc50(0x169)](),this[_0x51bc50(0x171)]){case _0x51bc50(0x166):this[_0x51bc50(0x178)][_0x51bc50(0x176)](this[_0x51bc50(0x17b)]);break;case _0x51bc50(0x16c):this[_0x51bc50(0x178)][_0x51bc50(0x176)](this[_0x51bc50(0x153)]);break;case _0x51bc50(0x17f):this[_0x51bc50(0x178)][_0x51bc50(0x15b)]([this[_0x51bc50(0x177)],this[_0x51bc50(0x17a)]]);}}[_0x17d501(0x14d)](_0x5c6131,_0xcaccdb){const _0x13d6b3=_0x17d501,_0x3f3236=_0x13d6b3(0x16d),_0x21b28c=_0x5c6131[_0x13d6b3(0x182)](_0x3f3236);if(_0x21b28c)return _0xcaccdb(_0x21b28c);const _0x21155c=new MutationObserver(_0x5844c2=>{const _0x4ba2d8=_0x13d6b3,_0x3f2dd1=_0x5844c2[_0x4ba2d8(0x14e)](_0x5c8761=>_0x5c8761[_0x4ba2d8(0x150)]===_0x5c6131&&_0x5c8761[_0x4ba2d8(0x157)][_0x4ba2d8(0x179)]>0x0&&_0x5c8761[_0x4ba2d8(0x157)][0x0][_0x4ba2d8(0x151)][_0x4ba2d8(0x15d)]()===_0x3f3236);_0x3f2dd1[_0x4ba2d8(0x179)]&&(_0x21155c[_0x4ba2d8(0x175)](),_0xcaccdb(_0x3f2dd1[0x0][_0x4ba2d8(0x157)][0x0]));});_0x21155c[_0x13d6b3(0x14f)](_0x5c6131,{'childList':!0x0,'subtree':!0x0});}[_0x17d501(0x172)](_0x5a0c2a){const _0x1d919e=_0x17d501;_0x5a0c2a[_0x1d919e(0x154)](_0x1d919e(0x156),_0x3f0a98=>{const _0x4aaea4=_0x1d919e;this[_0x4aaea4(0x15a)](_0x4aaea4(0x156),{'imageSrc':_0x3f0a98[_0x4aaea4(0x174)][_0x4aaea4(0x160)]});}),_0x5a0c2a[_0x1d919e(0x154)](_0x1d919e(0x158),()=>{const _0x4480a4=_0x1d919e;this[_0x4480a4(0x15a)](_0x4480a4(0x158));});}[_0x17d501(0x159)](){const _0x141d66=_0x17d501;this[_0x141d66(0x153)]['on'](_0x141d66(0x167),()=>{const _0x10b8a0=_0x141d66;this[_0x10b8a0(0x15a)](_0x10b8a0(0x167));});}}
23
+ function _0xacc0(_0x2994fc,_0x5dd3eb){const _0x86ed52=_0x86ed();return _0xacc0=function(_0xacc063,_0x548432){_0xacc063=_0xacc063-0x165;let _0x4452da=_0x86ed52[_0xacc063];return _0x4452da;},_0xacc0(_0x2994fc,_0x5dd3eb);}const _0x3ccfee=_0xacc0;(function(_0x364ab5,_0x5d37b8){const _0x44c481=_0xacc0,_0x3b2ebc=_0x364ab5();while(!![]){try{const _0x2f29af=parseInt(_0x44c481(0x19b))/0x1*(parseInt(_0x44c481(0x18b))/0x2)+-parseInt(_0x44c481(0x17b))/0x3+-parseInt(_0x44c481(0x16f))/0x4+parseInt(_0x44c481(0x194))/0x5*(-parseInt(_0x44c481(0x179))/0x6)+parseInt(_0x44c481(0x18d))/0x7+parseInt(_0x44c481(0x17c))/0x8+parseInt(_0x44c481(0x17a))/0x9*(parseInt(_0x44c481(0x182))/0xa);if(_0x2f29af===_0x5d37b8)break;else _0x3b2ebc['push'](_0x3b2ebc['shift']());}catch(_0x45a360){_0x3b2ebc['push'](_0x3b2ebc['shift']());}}}(_0x86ed,0x1e6cc));import{View as _0x3ec37f}from'ckeditor5/src/ui.js';import _0x490d66 from'./uploadcareimageeditformloadingview.js';function _0x86ed(){const _0x476ce4=['createCollection','detail','target','6xDxzcP','317511sSHcyy','660162PtGOKs','491616GPADCB','ck-reset_all-excluded','cdnUrl','uc-cloud-image-editor','set','nodeName','30kxeUhF','_waitForImageEditorComponent','_errorView','addEventListener','apply','getFocusableElement','div','_addErrorViewListeners','length','10862zmZbDF','retry','1253378ovisGc','element','querySelector','fire','focus','_loadingView','ck-uploadcare-form','239805ElKYEj','uploading','addedNodes','error','setTemplate','_focusableView','ready','13YGxyfE','_editingView','filter','_items','add','status','disconnect','toLowerCase','render','_addUploadcareImageEditorListeners','observe','97244fXJMrj','change:status','_setView','addMany','clear','cancel','once'];_0x86ed=function(){return _0x476ce4;};return _0x86ed();}import _0xbdfa3f from'./uploadcareimageeditformerrorview.js';import _0x964727 from'./uploadcareimageeditformeditingview.js';import _0x2cf060 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x2cf060{[_0x3ccfee(0x167)];[_0x3ccfee(0x192)];[_0x3ccfee(0x184)];[_0x3ccfee(0x165)];[_0x3ccfee(0x199)];constructor(_0x1df225,_0x5ae196,_0x2c0ef5){const _0x2db616=_0x3ccfee;super(_0x1df225),this[_0x2db616(0x167)]=this[_0x2db616(0x176)](),this[_0x2db616(0x192)]=new _0x490d66(_0x1df225),this[_0x2db616(0x184)]=new _0xbdfa3f(_0x1df225),this[_0x2db616(0x165)]=new _0x964727(_0x1df225,_0x2c0ef5),this[_0x2db616(0x199)]=new _0x3ec37f(_0x1df225),this[_0x2db616(0x199)][_0x2db616(0x198)](this[_0x2db616(0x187)]()),this[_0x2db616(0x180)](_0x2db616(0x169),_0x5ae196),this[_0x2db616(0x198)]({'tag':_0x2db616(0x188),'attributes':{'class':['ck',_0x2db616(0x17d),_0x2db616(0x193)],'tabindex':'-1'},'children':this[_0x2db616(0x167)]}),this[_0x2db616(0x171)](),this[_0x2db616(0x175)](_0x2db616(0x16c),()=>{const _0x4085bc=_0x2db616;this[_0x4085bc(0x183)](this[_0x4085bc(0x18e)],_0x8d0674=>{const _0x945808=_0x4085bc;this[_0x945808(0x16d)](_0x8d0674);});}),this['on'](_0x2db616(0x170),()=>{const _0x3d1717=_0x2db616;this[_0x3d1717(0x171)]();}),this[_0x2db616(0x189)]();}[_0x3ccfee(0x191)](){const _0x306d4b=_0x3ccfee;this[_0x306d4b(0x18e)][_0x306d4b(0x191)]();}[_0x3ccfee(0x171)](){const _0x2c369d=_0x3ccfee;switch(this[_0x2c369d(0x167)][_0x2c369d(0x173)](),this[_0x2c369d(0x169)]){case _0x2c369d(0x195):this[_0x2c369d(0x167)][_0x2c369d(0x168)](this[_0x2c369d(0x192)]);break;case _0x2c369d(0x197):this[_0x2c369d(0x167)][_0x2c369d(0x168)](this[_0x2c369d(0x184)]);break;case _0x2c369d(0x19a):this[_0x2c369d(0x167)][_0x2c369d(0x172)]([this[_0x2c369d(0x165)],this[_0x2c369d(0x199)]]);}}[_0x3ccfee(0x183)](_0x588d56,_0x1194f7){const _0x17b22e=_0x3ccfee,_0xb0414c=_0x17b22e(0x17f),_0x4a50a2=_0x588d56[_0x17b22e(0x18f)](_0xb0414c);if(_0x4a50a2)return _0x1194f7(_0x4a50a2);const _0x40e19b=new MutationObserver(_0x2bdc8e=>{const _0x4bf8df=_0x17b22e,_0x27f377=_0x2bdc8e[_0x4bf8df(0x166)](_0x35d492=>_0x35d492[_0x4bf8df(0x178)]===_0x588d56&&_0x35d492[_0x4bf8df(0x196)][_0x4bf8df(0x18a)]>0x0&&_0x35d492[_0x4bf8df(0x196)][0x0][_0x4bf8df(0x181)][_0x4bf8df(0x16b)]()===_0xb0414c);_0x27f377[_0x4bf8df(0x18a)]&&(_0x40e19b[_0x4bf8df(0x16a)](),_0x1194f7(_0x27f377[0x0][_0x4bf8df(0x196)][0x0]));});_0x40e19b[_0x17b22e(0x16e)](_0x588d56,{'childList':!0x0,'subtree':!0x0});}[_0x3ccfee(0x16d)](_0x1c2c73){const _0x19d8ef=_0x3ccfee;_0x1c2c73[_0x19d8ef(0x185)](_0x19d8ef(0x186),_0xb0f411=>{const _0x2bd682=_0x19d8ef;this[_0x2bd682(0x190)](_0x2bd682(0x186),{'imageSrc':_0xb0f411[_0x2bd682(0x177)][_0x2bd682(0x17e)]});}),_0x1c2c73[_0x19d8ef(0x185)](_0x19d8ef(0x174),()=>{const _0x115f5d=_0x19d8ef;this[_0x115f5d(0x190)](_0x115f5d(0x174));});}[_0x3ccfee(0x189)](){const _0x29dcb0=_0x3ccfee;this[_0x29dcb0(0x184)]['on'](_0x29dcb0(0x18c),()=>{const _0x2f8231=_0x29dcb0;this[_0x2f8231(0x190)](_0x2f8231(0x18c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ebb3a=_0x21ef;(function(_0x262142,_0x1b7c2c){const _0x220435=_0x21ef,_0xd88a83=_0x262142();while(!![]){try{const _0x4baae5=-parseInt(_0x220435(0x136))/0x1+-parseInt(_0x220435(0x138))/0x2*(-parseInt(_0x220435(0x135))/0x3)+parseInt(_0x220435(0x12f))/0x4*(-parseInt(_0x220435(0x125))/0x5)+parseInt(_0x220435(0x12c))/0x6*(-parseInt(_0x220435(0x134))/0x7)+parseInt(_0x220435(0x12e))/0x8*(-parseInt(_0x220435(0x132))/0x9)+parseInt(_0x220435(0x13c))/0xa+parseInt(_0x220435(0x140))/0xb*(parseInt(_0x220435(0x13b))/0xc);if(_0x4baae5===_0x1b7c2c)break;else _0xd88a83['push'](_0xd88a83['shift']());}catch(_0x28ed0c){_0xd88a83['push'](_0xd88a83['shift']());}}}(_0x4cde,0x84d64));function _0x4cde(){const _0x4e4ad8=['plugins','config','document','25ZmxeJE','imageEditController','isEnabled','set','bind','requires','isActive','6SSrPcw','imageInline','1744tAVUdB','79088yHJvdA','model','get','7362RNyMJP','editor','700182VoZwxn','74193VLnhIo','238440wGsIme','selection','10DTdmxi','execute','imageBlock','12CenMnV','2738470JdzueZ','_isEditable','getSelectedElement','refresh','8384728qGDtHU','unbind','uploadcare.allowExternalImagesEditing','element'];_0x4cde=function(){return _0x4e4ad8;};return _0x4cde();}import{Command as _0x409fc7}from'ckeditor5/src/core.js';import{Dialog as _0x539c5f}from'ckeditor5/src/ui.js';import _0x1a7a02 from'./ui/uploadcareimageeditcontroller.js';function _0x21ef(_0x55633d,_0x3a87c9){const _0x4cde07=_0x4cde();return _0x21ef=function(_0x21efce,_0x465723){_0x21efce=_0x21efce-0x122;let _0x31af1d=_0x4cde07[_0x21efce];return _0x31af1d;},_0x21ef(_0x55633d,_0x3a87c9);}import{createEditabilityChecker as _0x5aa1c6}from'../utils/editingutils.js';export default class V extends _0x409fc7{[_0x5ebb3a(0x126)];static get[_0x5ebb3a(0x12a)](){return[_0x539c5f];}[_0x5ebb3a(0x13d)];constructor(_0x24540c){const _0x595f9d=_0x5ebb3a;super(_0x24540c),this[_0x595f9d(0x126)]=void 0x0,this[_0x595f9d(0x13d)]=_0x5aa1c6(_0x24540c[_0x595f9d(0x123)][_0x595f9d(0x131)](_0x595f9d(0x142))||[]),this[_0x595f9d(0x128)]({'isActive':!0x1});}[_0x5ebb3a(0x13f)](){const _0x5c5af=_0x5ebb3a,_0x58ad4a=this[_0x5c5af(0x133)][_0x5c5af(0x130)][_0x5c5af(0x124)][_0x5c5af(0x137)][_0x5c5af(0x13e)]();this[_0x5c5af(0x127)]=this[_0x5c5af(0x13d)](_0x58ad4a);}[_0x5ebb3a(0x139)](){const _0x380d2e=_0x5ebb3a;this[_0x380d2e(0x126)]&&(this[_0x380d2e(0x141)](_0x380d2e(0x12b)),this[_0x380d2e(0x126)]=void 0x0);const _0x4f313e=this[_0x380d2e(0x133)][_0x380d2e(0x130)][_0x380d2e(0x124)][_0x380d2e(0x137)][_0x380d2e(0x13e)]();_0x4f313e&&(_0x4f313e['is'](_0x380d2e(0x143),_0x380d2e(0x13a))||_0x4f313e['is'](_0x380d2e(0x143),_0x380d2e(0x12d)))&&(this[_0x380d2e(0x126)]=new _0x1a7a02(this[_0x380d2e(0x133)],this[_0x380d2e(0x133)][_0x380d2e(0x122)][_0x380d2e(0x131)](_0x539c5f),_0x4f313e),this[_0x380d2e(0x129)](_0x380d2e(0x12b))['to'](this[_0x380d2e(0x126)],_0x380d2e(0x12b)));}}
23
+ function _0x4f5f(_0xee7f45,_0x2479c8){const _0x2c7a55=_0x2c7a();return _0x4f5f=function(_0x4f5fee,_0x19d00f){_0x4f5fee=_0x4f5fee-0x9b;let _0x54bfc7=_0x2c7a55[_0x4f5fee];return _0x54bfc7;},_0x4f5f(_0xee7f45,_0x2479c8);}const _0x3d6925=_0x4f5f;(function(_0x288716,_0x378b14){const _0x44c4fb=_0x4f5f,_0x1c8340=_0x288716();while(!![]){try{const _0x16d27b=parseInt(_0x44c4fb(0xa9))/0x1*(-parseInt(_0x44c4fb(0xb0))/0x2)+-parseInt(_0x44c4fb(0xa6))/0x3+-parseInt(_0x44c4fb(0xa4))/0x4*(-parseInt(_0x44c4fb(0xab))/0x5)+-parseInt(_0x44c4fb(0xa2))/0x6+-parseInt(_0x44c4fb(0xad))/0x7+-parseInt(_0x44c4fb(0xa8))/0x8*(-parseInt(_0x44c4fb(0xae))/0x9)+parseInt(_0x44c4fb(0xb3))/0xa;if(_0x16d27b===_0x378b14)break;else _0x1c8340['push'](_0x1c8340['shift']());}catch(_0x1c0deb){_0x1c8340['push'](_0x1c8340['shift']());}}}(_0x2c7a,0xeb4d2));import{Command as _0xa81ac0}from'ckeditor5/src/core.js';function _0x2c7a(){const _0x27fed9=['getSelectedElement','model','set','get','isEnabled','_isEditable','element','imageEditController','plugins','editor','imageInline','bind','document','7739562PpkjTs','requires','4431128kaMBSW','execute','4760031bkCLtq','isActive','8aRYWZN','149tQNYNw','unbind','5TazTki','imageBlock','2984695NhkFKR','14629302QxTEXg','uploadcare.allowExternalImagesEditing','8902RyEyeA','config','selection','21967220WeffRw','refresh'];_0x2c7a=function(){return _0x27fed9;};return _0x2c7a();}import{Dialog as _0x3b10d}from'ckeditor5/src/ui.js';import _0x4f287f from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x20adf8}from'../utils/editingutils.js';export default class z extends _0xa81ac0{[_0x3d6925(0x9c)];static get[_0x3d6925(0xa3)](){return[_0x3b10d];}[_0x3d6925(0xba)];constructor(_0x178d2c){const _0x5eba8c=_0x3d6925;super(_0x178d2c),this[_0x5eba8c(0x9c)]=void 0x0,this[_0x5eba8c(0xba)]=_0x20adf8(_0x178d2c[_0x5eba8c(0xb1)][_0x5eba8c(0xb8)](_0x5eba8c(0xaf))||[]),this[_0x5eba8c(0xb7)]({'isActive':!0x1});}[_0x3d6925(0xb4)](){const _0x4f3646=_0x3d6925,_0x31936e=this[_0x4f3646(0x9e)][_0x4f3646(0xb6)][_0x4f3646(0xa1)][_0x4f3646(0xb2)][_0x4f3646(0xb5)]();this[_0x4f3646(0xb9)]=this[_0x4f3646(0xba)](_0x31936e);}[_0x3d6925(0xa5)](){const _0x6469d8=_0x3d6925;this[_0x6469d8(0x9c)]&&(this[_0x6469d8(0xaa)](_0x6469d8(0xa7)),this[_0x6469d8(0x9c)]=void 0x0);const _0x3fac93=this[_0x6469d8(0x9e)][_0x6469d8(0xb6)][_0x6469d8(0xa1)][_0x6469d8(0xb2)][_0x6469d8(0xb5)]();_0x3fac93&&(_0x3fac93['is'](_0x6469d8(0x9b),_0x6469d8(0xac))||_0x3fac93['is'](_0x6469d8(0x9b),_0x6469d8(0x9f)))&&(this[_0x6469d8(0x9c)]=new _0x4f287f(this[_0x6469d8(0x9e)],this[_0x6469d8(0x9e)][_0x6469d8(0x9d)][_0x6469d8(0xb8)](_0x3b10d),_0x3fac93),this[_0x6469d8(0xa0)](_0x6469d8(0xa7))['to'](this[_0x6469d8(0x9c)],_0x6469d8(0xa7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17e297=_0x522d;(function(_0x1869da,_0x4f8bb0){const _0x3d282b=_0x522d,_0x2a53f5=_0x1869da();while(!![]){try{const _0x34baf6=-parseInt(_0x3d282b(0x208))/0x1+-parseInt(_0x3d282b(0x1f7))/0x2+-parseInt(_0x3d282b(0x1f6))/0x3*(parseInt(_0x3d282b(0x206))/0x4)+parseInt(_0x3d282b(0x1fc))/0x5*(-parseInt(_0x3d282b(0x1fe))/0x6)+parseInt(_0x3d282b(0x1f5))/0x7*(-parseInt(_0x3d282b(0x1fd))/0x8)+parseInt(_0x3d282b(0x204))/0x9*(-parseInt(_0x3d282b(0x202))/0xa)+parseInt(_0x3d282b(0x1fa))/0xb*(parseInt(_0x3d282b(0x1fb))/0xc);if(_0x34baf6===_0x4f8bb0)break;else _0x2a53f5['push'](_0x2a53f5['shift']());}catch(_0x339fd4){_0x2a53f5['push'](_0x2a53f5['shift']());}}}(_0x2bf0,0xdb004));import{Plugin as _0x532dcf}from'ckeditor5/src/core.js';function _0x522d(_0x58111b,_0x812098){const _0x2bf0aa=_0x2bf0();return _0x522d=function(_0x522d12,_0x47f39e){_0x522d12=_0x522d12-0x1f4;let _0x1a4100=_0x2bf0aa[_0x522d12];return _0x1a4100;},_0x522d(_0x58111b,_0x812098);}import{Notification as _0x932c5c}from'ckeditor5/src/ui.js';import _0x20be62 from'./uploadcareimageeditcommand.js';function _0x2bf0(){const _0x35e623=['8QdkAgX','84SkAsLM','pluginName','uploadcareImageEdit','commands','20wTxGRw','ImageUtils','2494278fByhHo','isOfficialPlugin','176JRJBAg','add','1267134QBAChV','UploadcareImageEditEditing','isPremiumPlugin','requires','init','11300793YgSVBQ','77535cjKkxs','1770198TTGBEW','uploadcareImageReplace','ImageEditing','17805689RVqJoo','48fgdZaZ','42740WRDMzr'];_0x2bf0=function(){return _0x35e623;};return _0x2bf0();}import _0x45e1f6 from'./uploadcareimagereplacecommand.js';import _0x2c21b1 from'../uploadcareediting.js';export default class g extends _0x532dcf{static get[_0x17e297(0x1ff)](){const _0x394b5f=_0x17e297;return _0x394b5f(0x209);}static get[_0x17e297(0x20b)](){const _0x59b8c0=_0x17e297;return[_0x2c21b1,_0x932c5c,_0x59b8c0(0x203),_0x59b8c0(0x1f9)];}static get[_0x17e297(0x205)](){return!0x0;}static get[_0x17e297(0x20a)](){return!0x0;}[_0x17e297(0x1f4)](){const _0x4ced62=_0x17e297,{editor:_0x3e59e8}=this;_0x3e59e8[_0x4ced62(0x201)][_0x4ced62(0x207)](_0x4ced62(0x200),new _0x20be62(_0x3e59e8)),_0x3e59e8[_0x4ced62(0x201)][_0x4ced62(0x207)](_0x4ced62(0x1f8),new _0x45e1f6(_0x3e59e8));}}
23
+ const _0x3fde8d=_0x5d0b;function _0x5d0b(_0x1fd018,_0x3f8cfd){const _0x2ca4f7=_0x2ca4();return _0x5d0b=function(_0x5d0bc5,_0xf6bad0){_0x5d0bc5=_0x5d0bc5-0x132;let _0x501b0b=_0x2ca4f7[_0x5d0bc5];return _0x501b0b;},_0x5d0b(_0x1fd018,_0x3f8cfd);}(function(_0xf71aec,_0xcdd5d5){const _0x23ef5e=_0x5d0b,_0x2bf2f5=_0xf71aec();while(!![]){try{const _0x4a3499=parseInt(_0x23ef5e(0x134))/0x1*(-parseInt(_0x23ef5e(0x138))/0x2)+-parseInt(_0x23ef5e(0x141))/0x3*(parseInt(_0x23ef5e(0x13a))/0x4)+parseInt(_0x23ef5e(0x148))/0x5+-parseInt(_0x23ef5e(0x140))/0x6+parseInt(_0x23ef5e(0x146))/0x7*(-parseInt(_0x23ef5e(0x142))/0x8)+parseInt(_0x23ef5e(0x13b))/0x9+-parseInt(_0x23ef5e(0x144))/0xa*(-parseInt(_0x23ef5e(0x143))/0xb);if(_0x4a3499===_0xcdd5d5)break;else _0x2bf2f5['push'](_0x2bf2f5['shift']());}catch(_0xedc7a3){_0x2bf2f5['push'](_0x2bf2f5['shift']());}}}(_0x2ca4,0x9a028));import{Plugin as _0x47d5fa}from'ckeditor5/src/core.js';import{Notification as _0x278117}from'ckeditor5/src/ui.js';import _0x2b7bfd from'./uploadcareimageeditcommand.js';import _0x70b8d6 from'./uploadcareimagereplacecommand.js';import _0x5d3cfb from'../uploadcareediting.js';function _0x2ca4(){const _0xf498d5=['42sPbMgg','uploadcareImageReplace','5157500kKaQAR','requires','ImageEditing','4AfzTkG','uploadcareImageEdit','ImageUtils','isOfficialPlugin','531836FfazSn','pluginName','16hUBMav','8115579bYOAKM','UploadcareImageEditEditing','add','isPremiumPlugin','commands','4652538DDergU','7707rLUJpd','844456ulgOvG','22YvQDwX','5901530cvnvpM','init'];_0x2ca4=function(){return _0xf498d5;};return _0x2ca4();}export default class g extends _0x47d5fa{static get[_0x3fde8d(0x139)](){const _0x57318a=_0x3fde8d;return _0x57318a(0x13c);}static get[_0x3fde8d(0x132)](){const _0x359ca6=_0x3fde8d;return[_0x5d3cfb,_0x278117,_0x359ca6(0x136),_0x359ca6(0x133)];}static get[_0x3fde8d(0x137)](){return!0x0;}static get[_0x3fde8d(0x13e)](){return!0x0;}[_0x3fde8d(0x145)](){const _0x4ac7af=_0x3fde8d,{editor:_0x43d2ad}=this;_0x43d2ad[_0x4ac7af(0x13f)][_0x4ac7af(0x13d)](_0x4ac7af(0x135),new _0x2b7bfd(_0x43d2ad)),_0x43d2ad[_0x4ac7af(0x13f)][_0x4ac7af(0x13d)](_0x4ac7af(0x147),new _0x70b8d6(_0x43d2ad));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x35205a}from'ckeditor5/src/core.js';import{ButtonView as _0x213afd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x15cc5e}from'ckeditor5/src/icons.js';import{createElement as _0x2b249d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x35205a{['_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 _0x3cbce0=this['editor'];_0x3cbce0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a5e77=>{const _0x2aede8=_0x3cbce0['commands']['get']('uploadcareImageEdit'),_0x18f2ca=new _0x213afd(_0x3a5e77),t=_0x3a5e77['t'];return _0x18f2ca['set']({'icon':_0x15cc5e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x18f2ca['bind']('isEnabled')['to'](_0x2aede8),_0x18f2ca['bind']('isOn')['to'](_0x2aede8,'isActive'),this['listenTo'](_0x18f2ca,'execute',()=>{_0x3cbce0['execute']('uploadcareImageEdit'),_0x3cbce0['editing']['view']['focus']();}),_0x18f2ca;}),this['_initConfig']();}['_initConfig'](){const _0x36d071=_0x2b249d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x36d071),this['listenTo'](this['editor'],'destroy',()=>{_0x36d071['remove']();});}}
23
+ import{Plugin as _0x3b3d12}from'ckeditor5/src/core.js';import{ButtonView as _0x161c36}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x522eed}from'ckeditor5/src/icons.js';import{createElement as _0x50a939}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x3b3d12{['_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 _0x80dfe0=this['editor'];_0x80dfe0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5bc42e=>{const _0x176d3f=_0x80dfe0['commands']['get']('uploadcareImageEdit'),_0x5e55b6=new _0x161c36(_0x5bc42e),t=_0x5bc42e['t'];return _0x5e55b6['set']({'icon':_0x522eed,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5e55b6['bind']('isEnabled')['to'](_0x176d3f),_0x5e55b6['bind']('isOn')['to'](_0x176d3f,'isActive'),this['listenTo'](_0x5e55b6,'execute',()=>{_0x80dfe0['execute']('uploadcareImageEdit'),_0x80dfe0['editing']['view']['focus']();}),_0x5e55b6;}),this['_initConfig']();}['_initConfig'](){const _0x542e18=_0x50a939(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x542e18),this['listenTo'](this['editor'],'destroy',()=>{_0x542e18['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a536c=_0x1e4b;function _0x41bf(){const _0x5c7039=['3397604kPGBZf','selection','change','editor','4813384SZhZpP','6617737ABCMTC','setAttributes','srcset','imageInline','element','document','97OwsDyL','747215IkqtvQ','1384428WyNGEG','17326wKxpOk','18hmrDze','imageBlock','execute','model','removeAttribute','refresh','getSelectedElement','isEnabled','sizes','1143789aLAkDs'];_0x41bf=function(){return _0x5c7039;};return _0x41bf();}(function(_0x529648,_0x3c17e8){const _0x11c2ee=_0x1e4b,_0x586204=_0x529648();while(!![]){try{const _0x2874f9=-parseInt(_0x11c2ee(0xe8))/0x1*(-parseInt(_0x11c2ee(0xeb))/0x2)+parseInt(_0x11c2ee(0xf5))/0x3+-parseInt(_0x11c2ee(0xf6))/0x4+parseInt(_0x11c2ee(0xe9))/0x5+parseInt(_0x11c2ee(0xea))/0x6+parseInt(_0x11c2ee(0xe2))/0x7+-parseInt(_0x11c2ee(0xe1))/0x8*(parseInt(_0x11c2ee(0xec))/0x9);if(_0x2874f9===_0x3c17e8)break;else _0x586204['push'](_0x586204['shift']());}catch(_0x235ebc){_0x586204['push'](_0x586204['shift']());}}}(_0x41bf,0x78b3f));import{Command as _0x505fc7}from'ckeditor5/src/core.js';function _0x1e4b(_0x560876,_0x1e4971){const _0x41bff5=_0x41bf();return _0x1e4b=function(_0x1e4bf9,_0x8a0a9a){_0x1e4bf9=_0x1e4bf9-0xe0;let _0xac28b1=_0x41bff5[_0x1e4bf9];return _0xac28b1;},_0x1e4b(_0x560876,_0x1e4971);}export default class X extends _0x505fc7{[_0x2a536c(0xf1)](){const _0x5c4e70=_0x2a536c,_0x42617b=this[_0x5c4e70(0xe0)][_0x5c4e70(0xef)][_0x5c4e70(0xe7)][_0x5c4e70(0xf7)][_0x5c4e70(0xf2)]();this[_0x5c4e70(0xf3)]=Boolean(_0x42617b&&(_0x42617b['is'](_0x5c4e70(0xe6),_0x5c4e70(0xed))||_0x42617b['is'](_0x5c4e70(0xe6),_0x5c4e70(0xe5))));}[_0x2a536c(0xee)](_0x3cbfcc){const _0x279b20=_0x2a536c,_0x1cabd7=this[_0x279b20(0xe0)][_0x279b20(0xef)][_0x279b20(0xe7)][_0x279b20(0xf7)][_0x279b20(0xf2)]();this[_0x279b20(0xe0)][_0x279b20(0xef)][_0x279b20(0xf8)](_0x2e9645=>{const _0x5490d8=_0x279b20;_0x2e9645[_0x5490d8(0xe3)](_0x3cbfcc,_0x1cabd7),_0x2e9645[_0x5490d8(0xf0)](_0x5490d8(0xe4),_0x1cabd7),_0x2e9645[_0x5490d8(0xf0)](_0x5490d8(0xf4),_0x1cabd7);});}}
23
+ function _0x2cab(_0x3048aa,_0x256472){const _0x4f47c4=_0x4f47();return _0x2cab=function(_0x2cab09,_0x5af9fc){_0x2cab09=_0x2cab09-0x16f;let _0x27cfaf=_0x4f47c4[_0x2cab09];return _0x27cfaf;},_0x2cab(_0x3048aa,_0x256472);}const _0x384fe3=_0x2cab;(function(_0x214e7c,_0x51c5ca){const _0x2cb2c4=_0x2cab,_0x490aa0=_0x214e7c();while(!![]){try{const _0x50ed3d=parseInt(_0x2cb2c4(0x17a))/0x1*(parseInt(_0x2cb2c4(0x185))/0x2)+-parseInt(_0x2cb2c4(0x182))/0x3*(-parseInt(_0x2cb2c4(0x17d))/0x4)+-parseInt(_0x2cb2c4(0x176))/0x5*(-parseInt(_0x2cb2c4(0x179))/0x6)+parseInt(_0x2cb2c4(0x177))/0x7*(parseInt(_0x2cb2c4(0x17f))/0x8)+parseInt(_0x2cb2c4(0x18a))/0x9+parseInt(_0x2cb2c4(0x172))/0xa+parseInt(_0x2cb2c4(0x173))/0xb*(-parseInt(_0x2cb2c4(0x189))/0xc);if(_0x50ed3d===_0x51c5ca)break;else _0x490aa0['push'](_0x490aa0['shift']());}catch(_0x2b574a){_0x490aa0['push'](_0x490aa0['shift']());}}}(_0x4f47,0xefe02));import{Command as _0x9666e1}from'ckeditor5/src/core.js';function _0x4f47(){const _0x187a0c=['model','798198iBXbpy','19XcPBDu','removeAttribute','element','18896zeDBfo','getSelectedElement','520zXisYK','imageInline','imageBlock','546GInvuJ','selection','srcset','31832REuXCD','editor','setAttributes','change','660gxpvGa','2351007wtvqmI','execute','isEnabled','document','11472990dvYIHK','639001OoyMzx','refresh','sizes','35VutmeF','72758tCFRtb'];_0x4f47=function(){return _0x187a0c;};return _0x4f47();}export default class O extends _0x9666e1{[_0x384fe3(0x174)](){const _0x1937d1=_0x384fe3,_0x3046e1=this[_0x1937d1(0x186)][_0x1937d1(0x178)][_0x1937d1(0x171)][_0x1937d1(0x183)][_0x1937d1(0x17e)]();this[_0x1937d1(0x170)]=Boolean(_0x3046e1&&(_0x3046e1['is'](_0x1937d1(0x17c),_0x1937d1(0x181))||_0x3046e1['is'](_0x1937d1(0x17c),_0x1937d1(0x180))));}[_0x384fe3(0x16f)](_0x50b6eb){const _0x4913d4=_0x384fe3,_0x311f6c=this[_0x4913d4(0x186)][_0x4913d4(0x178)][_0x4913d4(0x171)][_0x4913d4(0x183)][_0x4913d4(0x17e)]();this[_0x4913d4(0x186)][_0x4913d4(0x178)][_0x4913d4(0x188)](_0x3c38c9=>{const _0x5007e1=_0x4913d4;_0x3c38c9[_0x5007e1(0x187)](_0x50b6eb,_0x311f6c),_0x3c38c9[_0x5007e1(0x17b)](_0x5007e1(0x184),_0x311f6c),_0x3c38c9[_0x5007e1(0x17b)](_0x5007e1(0x175),_0x311f6c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x466b6=_0x2bfb;function _0x1a17(){var _0xf5806a=['2IqEiZB','UploadcareImageEdit','7taUXCH','isPremiumPlugin','9FJmskq','5445187yHJfPV','2325048MslomT','4047888nXhptL','requires','40pSGmrd','10gqBADY','200888yDhyEF','15172CWCnvs','pluginName','isOfficialPlugin','399366HCpWlP','1741864xoswND'];_0x1a17=function(){return _0xf5806a;};return _0x1a17();}(function(_0x49fdf6,_0x634a58){var _0x2ccd8e=_0x2bfb,_0x3c8706=_0x49fdf6();while(!![]){try{var _0x48c05c=parseInt(_0x2ccd8e(0x1f2))/0x1*(-parseInt(_0x2ccd8e(0x1e6))/0x2)+-parseInt(_0x2ccd8e(0x1e4))/0x3+-parseInt(_0x2ccd8e(0x1f1))/0x4*(-parseInt(_0x2ccd8e(0x1ef))/0x5)+parseInt(_0x2ccd8e(0x1ec))/0x6*(parseInt(_0x2ccd8e(0x1e8))/0x7)+parseInt(_0x2ccd8e(0x1e5))/0x8*(-parseInt(_0x2ccd8e(0x1ea))/0x9)+-parseInt(_0x2ccd8e(0x1f0))/0xa*(parseInt(_0x2ccd8e(0x1eb))/0xb)+parseInt(_0x2ccd8e(0x1ed))/0xc;if(_0x48c05c===_0x634a58)break;else _0x3c8706['push'](_0x3c8706['shift']());}catch(_0x288bbb){_0x3c8706['push'](_0x3c8706['shift']());}}}(_0x1a17,0x40d5c));import{Plugin as _0xc06ad0}from'ckeditor5/src/core.js';function _0x2bfb(_0x1528d9,_0x5a4701){var _0x1a1757=_0x1a17();return _0x2bfb=function(_0x2bfb21,_0x346cf1){_0x2bfb21=_0x2bfb21-0x1e3;var _0xcbd8f0=_0x1a1757[_0x2bfb21];return _0xcbd8f0;},_0x2bfb(_0x1528d9,_0x5a4701);}import _0x5d35fd from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x50d1ee from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xc06ad0{static get[_0x466b6(0x1f3)](){var _0x35145b=_0x466b6;return _0x35145b(0x1e7);}static get[_0x466b6(0x1ee)](){return[_0x5d35fd,_0x50d1ee];}static get[_0x466b6(0x1e3)](){return!0x0;}static get[_0x466b6(0x1e9)](){return!0x0;}}
23
+ var _0x73a6=_0x1e9f;function _0x1e9f(_0x2ebd52,_0x2ad5f3){var _0xa0fb92=_0xa0fb();return _0x1e9f=function(_0x1e9fcc,_0x2328e8){_0x1e9fcc=_0x1e9fcc-0x119;var _0x73291e=_0xa0fb92[_0x1e9fcc];return _0x73291e;},_0x1e9f(_0x2ebd52,_0x2ad5f3);}(function(_0x56d776,_0x4133be){var _0x5a841b=_0x1e9f,_0x2ce72e=_0x56d776();while(!![]){try{var _0x368832=parseInt(_0x5a841b(0x12a))/0x1*(-parseInt(_0x5a841b(0x119))/0x2)+-parseInt(_0x5a841b(0x125))/0x3*(parseInt(_0x5a841b(0x123))/0x4)+-parseInt(_0x5a841b(0x11e))/0x5*(parseInt(_0x5a841b(0x129))/0x6)+parseInt(_0x5a841b(0x124))/0x7*(-parseInt(_0x5a841b(0x11c))/0x8)+-parseInt(_0x5a841b(0x122))/0x9+parseInt(_0x5a841b(0x11a))/0xa*(-parseInt(_0x5a841b(0x120))/0xb)+parseInt(_0x5a841b(0x11f))/0xc*(parseInt(_0x5a841b(0x128))/0xd);if(_0x368832===_0x4133be)break;else _0x2ce72e['push'](_0x2ce72e['shift']());}catch(_0x25f465){_0x2ce72e['push'](_0x2ce72e['shift']());}}}(_0xa0fb,0xb720a));function _0xa0fb(){var _0x3e83ce=['843192AvwCKI','pluginName','10TJUGIl','15156fdRZWn','1359259FzPqSP','requires','662247hmqwxU','3707720dujHEn','63OWtLJX','3ZmyoxB','UploadcareImageEdit','isOfficialPlugin','59709uLOJXX','4465518LsLBTC','10qymDPt','297938aKAVHv','10wBSxZZ','isPremiumPlugin'];_0xa0fb=function(){return _0x3e83ce;};return _0xa0fb();}import{Plugin as _0x5a8acd}from'ckeditor5/src/core.js';import _0x4b414c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x298c44 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5a8acd{static get[_0x73a6(0x11d)](){var _0x32803b=_0x73a6;return _0x32803b(0x126);}static get[_0x73a6(0x121)](){return[_0x4b414c,_0x298c44];}static get[_0x73a6(0x127)](){return!0x0;}static get[_0x73a6(0x11b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x337b04=_0x458b;(function(_0x3a9cfe,_0x305cb3){const _0x12169d=_0x458b,_0x4e1ca3=_0x3a9cfe();while(!![]){try{const _0x156bf5=-parseInt(_0x12169d(0x72))/0x1*(parseInt(_0x12169d(0x78))/0x2)+-parseInt(_0x12169d(0xaa))/0x3*(parseInt(_0x12169d(0xa1))/0x4)+-parseInt(_0x12169d(0x8c))/0x5*(-parseInt(_0x12169d(0x9f))/0x6)+parseInt(_0x12169d(0x6d))/0x7+parseInt(_0x12169d(0x82))/0x8*(-parseInt(_0x12169d(0xa5))/0x9)+-parseInt(_0x12169d(0x85))/0xa*(-parseInt(_0x12169d(0x94))/0xb)+parseInt(_0x12169d(0xae))/0xc*(parseInt(_0x12169d(0xb8))/0xd);if(_0x156bf5===_0x305cb3)break;else _0x4e1ca3['push'](_0x4e1ca3['shift']());}catch(_0x543fef){_0x4e1ca3['push'](_0x4e1ca3['shift']());}}}(_0x4aed,0x7b863));import{Plugin as _0xef84ca}from'ckeditor5/src/core.js';import{IconDropbox as _0x43f827,IconFacebook as _0xba6e54,IconGoogleDrive as _0x4262f2,IconGooglePhotos as _0x2325ae,IconUploadcareImageUpload as _0x558e0d,IconUploadcareLink as _0x13b142,IconOneDrive as _0x1ab358}from'ckeditor5/src/icons.js';import{ButtonView as _0x4cfa4e,MenuBarMenuListItemButtonView as _0x264510}from'ckeditor5/src/ui.js';function _0x4aed(){const _0xf83094=['uploadcareLicenseKeyEvaluationLimit','1783950aaPyFV','bind','Dropbox','trialLimit','uploadcareLicenseKeyTrialLimit','7qzfgNQ','get','assetManager','_createToolbarButton','editor','uploadcare.uploader.sourceList','13678NQlAmD','forEach','uploadcareLicenseKeyUsageLimit','isOfficialPlugin','Insert','afterInit','_licenseKeyCheckInterval','GPhotos','isEnabled','plugins','40lEVfcy','_showLicenseError','push','573670QkudGc','uploadcareLicenseKeyInvalid','reduce','label','pluginName','commands','UploadcareUI','4298165iCgeCN','domainLimit','licenseKey','destroy','locale','_createMenuBarButtons','text','url','55jXAYlV','config','ImageInsertUI','map','Local','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','type','has','expired','usageLimit','6sgdEzG','_createDropdownButtons','369896UNmUOR','URL','init','upload','1751850YfFQiI','isImageSelected','registerIntegration','icon','Uploadcare','9ozIyBm','shortText','uploadcareLicenseKeyDomainLimit','execute','312qCEFVS','isPremiumPlugin','Facebook','_normalizeConfigSourceList','entries','GDrive','featureNotAllowed','Replace','invalid','uploadcare','201591Oovgka','uploadcareLicenseKeyExpired','evaluationLimit','uploadcareLicenseKeyValid','OneDrive','_createButton','tooltip','withText'];_0x4aed=function(){return _0xf83094;};return _0x4aed();}import{UploadcareSource as _0x194473}from'./uploadcareconfig.js';import{getTranslation as _0x2a3e0e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x458b(_0x188180,_0x41166a){const _0x4aed4f=_0x4aed();return _0x458b=function(_0x458bc7,_0xee7fff){_0x458bc7=_0x458bc7-0x6a;let _0x1628c2=_0x4aed4f[_0x458bc7];return _0x1628c2;},_0x458b(_0x188180,_0x41166a);}export default class e extends _0xef84ca{[_0x337b04(0x8e)];[_0x337b04(0x7e)];static get[_0x337b04(0x89)](){const _0x5387f7=_0x337b04;return _0x5387f7(0x8b);}static get[_0x337b04(0x7b)](){return!0x0;}static get[_0x337b04(0xaf)](){return!0x0;}[_0x337b04(0xa3)](){const _0x30df3b=_0x337b04;this[_0x30df3b(0x8e)]=this[_0x30df3b(0x76)][_0x30df3b(0x95)][_0x30df3b(0x73)](_0x30df3b(0x8e));const _0xb213e9=this[_0x30df3b(0x76)];this[_0x30df3b(0x7e)]=setInterval(()=>{const _0x38df2c=_0x30df3b;let _0x1d1e45;for(const _0x245f3e in _0xb213e9){const _0x25fd6c=_0x245f3e,_0x516cb2=_0xb213e9[_0x25fd6c];if(_0x38df2c(0xbb)==_0x516cb2||_0x38df2c(0x86)==_0x516cb2||_0x38df2c(0xb9)==_0x516cb2||_0x38df2c(0xac)==_0x516cb2||_0x38df2c(0x99)==_0x516cb2||_0x38df2c(0x6c)==_0x516cb2||_0x38df2c(0x71)==_0x516cb2||_0x38df2c(0x7a)==_0x516cb2){delete _0xb213e9[_0x25fd6c],_0x1d1e45=_0x516cb2,clearInterval(this[_0x38df2c(0x7e)]),this[_0x38df2c(0x7e)]=void 0x0;break;}}_0x38df2c(0x86)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0xb6)),_0x38df2c(0xb9)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x9d)),_0x38df2c(0xac)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x8d)),_0x38df2c(0x99)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0xb4),_0x38df2c(0xa9)),_0x38df2c(0x6c)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0xba)),_0x38df2c(0x71)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x70)),_0x38df2c(0x7a)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x9e));},0x3e8);}[_0x337b04(0x7d)](){const _0x3ab5b2=_0x337b04,{editor:_0x228bc3}=this,_0x18ca00=_0x228bc3[_0x3ab5b2(0x8a)][_0x3ab5b2(0x73)](_0x3ab5b2(0xb7));if(!_0x18ca00)return;const _0x2400ec=this[_0x3ab5b2(0xb1)](_0x228bc3[_0x3ab5b2(0x95)][_0x3ab5b2(0x73)](_0x3ab5b2(0x77)))[_0x3ab5b2(0x87)]((_0x3af356,_0x179751)=>{const _0x1ccb6c=_0x3ab5b2,_0x259595=this[_0x1ccb6c(0x9a)](_0x179751[_0x1ccb6c(0x9b)]);return _0x3af356[_0x259595]||(_0x3af356[_0x259595]=[]),_0x3af356[_0x259595][_0x1ccb6c(0x84)](_0x179751),_0x3af356;},{});_0x228bc3[_0x3ab5b2(0x81)][_0x3ab5b2(0x9c)](_0x3ab5b2(0x96))&&_0x228bc3[_0x3ab5b2(0x8a)][_0x3ab5b2(0x73)](_0x3ab5b2(0xb7))&&Object[_0x3ab5b2(0xb2)](_0x2400ec)[_0x3ab5b2(0x79)](([_0x64b59a,_0x16aa2a])=>{const _0x332aef=_0x3ab5b2;_0x228bc3[_0x332aef(0x81)][_0x332aef(0x73)](_0x332aef(0x96))[_0x332aef(0xa7)]({'name':_0x64b59a,'observable':()=>_0x18ca00,'buttonViewCreator':()=>this[_0x332aef(0x75)](_0x16aa2a),'formViewCreator':()=>this[_0x332aef(0xa0)](_0x16aa2a),'menuBarButtonViewCreator':()=>this[_0x332aef(0x91)](_0x16aa2a),'override':_0x332aef(0x74)!==_0x64b59a});});}[_0x337b04(0x8f)](){const _0x35ddad=_0x337b04;super[_0x35ddad(0x8f)](),this[_0x35ddad(0x7e)]&&clearInterval(this[_0x35ddad(0x7e)]);}[_0x337b04(0xb1)](_0x57d7ed){const _0x3b8e12=_0x337b04,{locale:_0x51b6b3}=this[_0x3b8e12(0x76)];return _0x57d7ed[_0x3b8e12(0x97)](_0x8e608f=>{const _0x59a5ab=_0x3b8e12,_0x207cd0=_0x2a3e0e(_0x51b6b3,_0x8e608f,_0x59a5ab(0x7c));switch(_0x8e608f){case _0x194473[_0x59a5ab(0x98)]:return{'icon':_0x558e0d,'type':_0x194473[_0x59a5ab(0x98)],..._0x207cd0};case _0x194473[_0x59a5ab(0xa2)]:return{'icon':_0x13b142,'type':_0x194473[_0x59a5ab(0xa2)],..._0x207cd0};case _0x194473[_0x59a5ab(0x6f)]:return{'icon':_0x43f827,'type':_0x194473[_0x59a5ab(0x6f)],..._0x207cd0};case _0x194473[_0x59a5ab(0xb0)]:return{'icon':_0xba6e54,'type':_0x194473[_0x59a5ab(0xb0)],..._0x207cd0};case _0x194473[_0x59a5ab(0xb3)]:return{'icon':_0x4262f2,'type':_0x194473[_0x59a5ab(0xb3)],..._0x207cd0};case _0x194473[_0x59a5ab(0x7f)]:return{'icon':_0x2325ae,'type':_0x194473[_0x59a5ab(0x7f)],..._0x207cd0};case _0x194473[_0x59a5ab(0xbc)]:return{'icon':_0x1ab358,'type':_0x194473[_0x59a5ab(0xbc)],..._0x207cd0};}});}[_0x337b04(0x9a)](_0x1565a6){const _0x44a063=_0x337b04;switch(_0x1565a6){case _0x194473[_0x44a063(0x98)]:return _0x44a063(0xa4);case _0x194473[_0x44a063(0xa2)]:return _0x44a063(0x93);default:return _0x44a063(0x74);}}[_0x337b04(0xbd)](_0x149485,_0x30fa15){const _0x364bca=_0x337b04,_0xcb7d5e=this[_0x364bca(0x76)],_0xcf0209=new _0x149485(_0xcb7d5e[_0x364bca(0x90)]),_0x3ab33e=_0xcb7d5e[_0x364bca(0x8a)][_0x364bca(0x73)](_0x364bca(0xb7));return _0xcf0209[_0x364bca(0x6e)](_0x364bca(0x80))['to'](_0x3ab33e),_0xcf0209['on'](_0x364bca(0xad),()=>{const _0x319d10=_0x364bca;_0x3ab33e[_0x319d10(0xad)](_0x30fa15);}),_0xcf0209;}[_0x337b04(0x75)](_0x2458ca){const _0x65fd5b=_0x337b04,{locale:_0x56db42}=this[_0x65fd5b(0x76)],_0x526ba9=this[_0x65fd5b(0x76)][_0x65fd5b(0x81)][_0x65fd5b(0x73)](_0x65fd5b(0x96)),_0x3f7e3a=_0x2458ca[0x0],_0x4bdbe1=this[_0x65fd5b(0xbd)](_0x4cfa4e,_0x3f7e3a[_0x65fd5b(0x9b)]);return _0x4bdbe1[_0x65fd5b(0xa8)]=_0x3f7e3a[_0x65fd5b(0xa8)],_0x4bdbe1[_0x65fd5b(0x6e)](_0x65fd5b(0x88))['to'](_0x526ba9,_0x65fd5b(0xa6),_0x39a83f=>_0x2a3e0e(_0x56db42,_0x3f7e3a[_0x65fd5b(0x9b)],_0x39a83f?_0x65fd5b(0xb5):_0x65fd5b(0x7c))[_0x65fd5b(0x92)]),_0x4bdbe1[_0x65fd5b(0x6a)]=!0x0,_0x4bdbe1;}[_0x337b04(0xa0)](_0x37463e){const _0x441a68=_0x337b04,{locale:_0x50a42d}=this[_0x441a68(0x76)],_0x46c310=this[_0x441a68(0x76)][_0x441a68(0x81)][_0x441a68(0x73)](_0x441a68(0x96));return _0x37463e[_0x441a68(0x97)](_0x3c1d47=>{const _0x5978f6=_0x441a68,_0x4c36a9=this[_0x5978f6(0xbd)](_0x4cfa4e,_0x3c1d47[_0x5978f6(0x9b)]);return _0x4c36a9[_0x5978f6(0x6b)]=!0x0,_0x4c36a9[_0x5978f6(0xa8)]=_0x3c1d47[_0x5978f6(0xa8)],_0x4c36a9[_0x5978f6(0x6e)](_0x5978f6(0x88))['to'](_0x46c310,_0x5978f6(0xa6),_0x2a9abd=>_0x2a3e0e(_0x50a42d,_0x3c1d47[_0x5978f6(0x9b)],_0x2a9abd?_0x5978f6(0xb5):_0x5978f6(0x7c))[_0x5978f6(0x92)]),_0x4c36a9;});}[_0x337b04(0x91)](_0x12dceb){const _0xf91c10=_0x337b04;return _0x12dceb[_0xf91c10(0x97)](_0x4ca9bd=>{const _0x202cc2=_0xf91c10,_0x3041d6=this[_0x202cc2(0xbd)](_0x264510,_0x4ca9bd[_0x202cc2(0x9b)]);return _0x3041d6[_0x202cc2(0xa8)]=_0x4ca9bd[_0x202cc2(0xa8)],_0x3041d6[_0x202cc2(0x88)]=_0x4ca9bd[_0x202cc2(0xab)],_0x3041d6;});}}
23
+ const _0x4511bf=_0x3786;(function(_0x5c3910,_0x404c02){const _0x46da6f=_0x3786,_0x8d5ae0=_0x5c3910();while(!![]){try{const _0x2d9099=parseInt(_0x46da6f(0x218))/0x1+parseInt(_0x46da6f(0x1f2))/0x2+-parseInt(_0x46da6f(0x1e2))/0x3+-parseInt(_0x46da6f(0x213))/0x4*(-parseInt(_0x46da6f(0x221))/0x5)+parseInt(_0x46da6f(0x202))/0x6+-parseInt(_0x46da6f(0x1db))/0x7+-parseInt(_0x46da6f(0x208))/0x8*(parseInt(_0x46da6f(0x1ed))/0x9);if(_0x2d9099===_0x404c02)break;else _0x8d5ae0['push'](_0x8d5ae0['shift']());}catch(_0x3a1913){_0x8d5ae0['push'](_0x8d5ae0['shift']());}}}(_0xa089,0xa6a26));import{Plugin as _0x235613}from'ckeditor5/src/core.js';import{IconDropbox as _0x3e5c56,IconFacebook as _0x5a6129,IconGoogleDrive as _0x4aeeb0,IconGooglePhotos as _0x1c459f,IconUploadcareImageUpload as _0x23b8dc,IconUploadcareLink as _0x123a38,IconOneDrive as _0x461b20}from'ckeditor5/src/icons.js';import{ButtonView as _0x4264a8,MenuBarMenuListItemButtonView as _0x44cb1c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4af19e}from'./uploadcareconfig.js';import{getTranslation as _0x2220dd}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0xa089(){const _0x425b27=['licenseKey','uploadcareLicenseKeyNotAllowed','_createMenuBarButtons','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyExpired','invalid','type','editor','has','URL','3844208iiVTFb','_getIntegrationKey','uploadcareLicenseKeyEvaluationLimit','pluginName','upload','1245009YuziJH','evaluationLimit','Insert','expired','usageLimit','_showLicenseError','uploadcareLicenseKeyInvalid','url','uploadcareLicenseKeyDomainLimit','5dMbAvN','plugins','_createButton','text','Replace','commands','locale','Facebook','trialLimit','domainLimit','5800683XWMoIn','uploadcare','uploadcare.uploader.sourceList','GDrive','uploadcareLicenseKeyTrialLimit','Uploadcare','forEach','3452205wcGtXC','bind','reduce','_normalizeConfigSourceList','icon','config','execute','UploadcareUI','tooltip','push','Local','914724LwceKR','shortText','ImageInsertUI','withText','isEnabled','1716394xtNevv','featureNotAllowed','init','_licenseKeyCheckInterval','OneDrive','label','entries','registerIntegration','get','afterInit','isOfficialPlugin','assetManager','isPremiumPlugin','uploadcareLicenseKeyValid','map','GPhotos','6123504rQvBpc','_createToolbarButton','_createDropdownButtons','isImageSelected','destroy','Dropbox','112JzEKAX'];_0xa089=function(){return _0x425b27;};return _0xa089();}function _0x3786(_0x283b86,_0x131e43){const _0xa089fd=_0xa089();return _0x3786=function(_0x378605,_0xa14531){_0x378605=_0x378605-0x1d4;let _0x6aa414=_0xa089fd[_0x378605];return _0x6aa414;},_0x3786(_0x283b86,_0x131e43);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x235613{[_0x4511bf(0x209)];[_0x4511bf(0x1f5)];static get[_0x4511bf(0x216)](){const _0x4fb49d=_0x4511bf;return _0x4fb49d(0x1e9);}static get[_0x4511bf(0x1fc)](){return!0x0;}static get[_0x4511bf(0x1fe)](){return!0x0;}[_0x4511bf(0x1f4)](){const _0x2101e6=_0x4511bf;this[_0x2101e6(0x209)]=this[_0x2101e6(0x210)][_0x2101e6(0x1e7)][_0x2101e6(0x1fa)](_0x2101e6(0x209));const _0x312570=this[_0x2101e6(0x210)];this[_0x2101e6(0x1f5)]=setInterval(()=>{const _0x272ee8=_0x2101e6;let _0x23d696;for(const _0x4a211e in _0x312570){const _0x2794e5=_0x4a211e,_0x4bc965=_0x312570[_0x2794e5];if(_0x272ee8(0x1ff)==_0x4bc965||_0x272ee8(0x21e)==_0x4bc965||_0x272ee8(0x20d)==_0x4bc965||_0x272ee8(0x220)==_0x4bc965||_0x272ee8(0x20a)==_0x4bc965||_0x272ee8(0x215)==_0x4bc965||_0x272ee8(0x1df)==_0x4bc965||_0x272ee8(0x20c)==_0x4bc965){delete _0x312570[_0x2794e5],_0x23d696=_0x4bc965,clearInterval(this[_0x272ee8(0x1f5)]),this[_0x272ee8(0x1f5)]=void 0x0;break;}}_0x272ee8(0x21e)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x20e)),_0x272ee8(0x20d)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x21b)),_0x272ee8(0x220)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x1da)),_0x272ee8(0x20a)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x1f3),_0x272ee8(0x1e0)),_0x272ee8(0x215)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x219)),_0x272ee8(0x1df)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x1d9)),_0x272ee8(0x20c)==_0x23d696&&_0x312570[_0x272ee8(0x21d)](_0x272ee8(0x21c));},0x3e8);}[_0x4511bf(0x1fb)](){const _0x1d6964=_0x4511bf,{editor:_0x254ad2}=this,_0x42df4f=_0x254ad2[_0x1d6964(0x1d6)][_0x1d6964(0x1fa)](_0x1d6964(0x1dc));if(!_0x42df4f)return;const _0x4a2dc8=this[_0x1d6964(0x1e5)](_0x254ad2[_0x1d6964(0x1e7)][_0x1d6964(0x1fa)](_0x1d6964(0x1dd)))[_0x1d6964(0x1e4)]((_0x6457fa,_0x1df2a7)=>{const _0x18b8a9=_0x1d6964,_0x559c35=this[_0x18b8a9(0x214)](_0x1df2a7[_0x18b8a9(0x20f)]);return _0x6457fa[_0x559c35]||(_0x6457fa[_0x559c35]=[]),_0x6457fa[_0x559c35][_0x18b8a9(0x1eb)](_0x1df2a7),_0x6457fa;},{});_0x254ad2[_0x1d6964(0x222)][_0x1d6964(0x211)](_0x1d6964(0x1ef))&&_0x254ad2[_0x1d6964(0x1d6)][_0x1d6964(0x1fa)](_0x1d6964(0x1dc))&&Object[_0x1d6964(0x1f8)](_0x4a2dc8)[_0x1d6964(0x1e1)](([_0x39068d,_0x34e94c])=>{const _0x129d46=_0x1d6964;_0x254ad2[_0x129d46(0x222)][_0x129d46(0x1fa)](_0x129d46(0x1ef))[_0x129d46(0x1f9)]({'name':_0x39068d,'observable':()=>_0x42df4f,'buttonViewCreator':()=>this[_0x129d46(0x203)](_0x34e94c),'formViewCreator':()=>this[_0x129d46(0x204)](_0x34e94c),'menuBarButtonViewCreator':()=>this[_0x129d46(0x20b)](_0x34e94c),'override':_0x129d46(0x1fd)!==_0x39068d});});}[_0x4511bf(0x206)](){const _0x56e6e7=_0x4511bf;super[_0x56e6e7(0x206)](),this[_0x56e6e7(0x1f5)]&&clearInterval(this[_0x56e6e7(0x1f5)]);}[_0x4511bf(0x1e5)](_0x54f64c){const _0x399d2a=_0x4511bf,{locale:_0x555190}=this[_0x399d2a(0x210)];return _0x54f64c[_0x399d2a(0x200)](_0xe9e8b9=>{const _0x51200a=_0x399d2a,_0x5d04f6=_0x2220dd(_0x555190,_0xe9e8b9,_0x51200a(0x21a));switch(_0xe9e8b9){case _0x4af19e[_0x51200a(0x1ec)]:return{'icon':_0x23b8dc,'type':_0x4af19e[_0x51200a(0x1ec)],..._0x5d04f6};case _0x4af19e[_0x51200a(0x212)]:return{'icon':_0x123a38,'type':_0x4af19e[_0x51200a(0x212)],..._0x5d04f6};case _0x4af19e[_0x51200a(0x207)]:return{'icon':_0x3e5c56,'type':_0x4af19e[_0x51200a(0x207)],..._0x5d04f6};case _0x4af19e[_0x51200a(0x1d8)]:return{'icon':_0x5a6129,'type':_0x4af19e[_0x51200a(0x1d8)],..._0x5d04f6};case _0x4af19e[_0x51200a(0x1de)]:return{'icon':_0x4aeeb0,'type':_0x4af19e[_0x51200a(0x1de)],..._0x5d04f6};case _0x4af19e[_0x51200a(0x201)]:return{'icon':_0x1c459f,'type':_0x4af19e[_0x51200a(0x201)],..._0x5d04f6};case _0x4af19e[_0x51200a(0x1f6)]:return{'icon':_0x461b20,'type':_0x4af19e[_0x51200a(0x1f6)],..._0x5d04f6};}});}[_0x4511bf(0x214)](_0x24c321){const _0x350768=_0x4511bf;switch(_0x24c321){case _0x4af19e[_0x350768(0x1ec)]:return _0x350768(0x217);case _0x4af19e[_0x350768(0x212)]:return _0x350768(0x21f);default:return _0x350768(0x1fd);}}[_0x4511bf(0x223)](_0x49be8e,_0x1e4c31){const _0x56da7d=_0x4511bf,_0x11fcf0=this[_0x56da7d(0x210)],_0x4d9ca5=new _0x49be8e(_0x11fcf0[_0x56da7d(0x1d7)]),_0x21620a=_0x11fcf0[_0x56da7d(0x1d6)][_0x56da7d(0x1fa)](_0x56da7d(0x1dc));return _0x4d9ca5[_0x56da7d(0x1e3)](_0x56da7d(0x1f1))['to'](_0x21620a),_0x4d9ca5['on'](_0x56da7d(0x1e8),()=>{const _0xef5ec6=_0x56da7d;_0x21620a[_0xef5ec6(0x1e8)](_0x1e4c31);}),_0x4d9ca5;}[_0x4511bf(0x203)](_0x25eb7f){const _0x18bfc=_0x4511bf,{locale:_0x2cd76e}=this[_0x18bfc(0x210)],_0x1bc14b=this[_0x18bfc(0x210)][_0x18bfc(0x222)][_0x18bfc(0x1fa)](_0x18bfc(0x1ef)),_0x529491=_0x25eb7f[0x0],_0x2a497e=this[_0x18bfc(0x223)](_0x4264a8,_0x529491[_0x18bfc(0x20f)]);return _0x2a497e[_0x18bfc(0x1e6)]=_0x529491[_0x18bfc(0x1e6)],_0x2a497e[_0x18bfc(0x1e3)](_0x18bfc(0x1f7))['to'](_0x1bc14b,_0x18bfc(0x205),_0x75a1f6=>_0x2220dd(_0x2cd76e,_0x529491[_0x18bfc(0x20f)],_0x75a1f6?_0x18bfc(0x1d5):_0x18bfc(0x21a))[_0x18bfc(0x1d4)]),_0x2a497e[_0x18bfc(0x1ea)]=!0x0,_0x2a497e;}[_0x4511bf(0x204)](_0x21dff8){const _0x36730e=_0x4511bf,{locale:_0x45c3e7}=this[_0x36730e(0x210)],_0x4f41ae=this[_0x36730e(0x210)][_0x36730e(0x222)][_0x36730e(0x1fa)](_0x36730e(0x1ef));return _0x21dff8[_0x36730e(0x200)](_0x153502=>{const _0x42d014=_0x36730e,_0xac2c26=this[_0x42d014(0x223)](_0x4264a8,_0x153502[_0x42d014(0x20f)]);return _0xac2c26[_0x42d014(0x1f0)]=!0x0,_0xac2c26[_0x42d014(0x1e6)]=_0x153502[_0x42d014(0x1e6)],_0xac2c26[_0x42d014(0x1e3)](_0x42d014(0x1f7))['to'](_0x4f41ae,_0x42d014(0x205),_0x586c1a=>_0x2220dd(_0x45c3e7,_0x153502[_0x42d014(0x20f)],_0x586c1a?_0x42d014(0x1d5):_0x42d014(0x21a))[_0x42d014(0x1d4)]),_0xac2c26;});}[_0x4511bf(0x20b)](_0x467b9f){const _0x4dc3e9=_0x4511bf;return _0x467b9f[_0x4dc3e9(0x200)](_0x450392=>{const _0x343a11=_0x4dc3e9,_0x5f1bec=this[_0x343a11(0x223)](_0x44cb1c,_0x450392[_0x343a11(0x20f)]);return _0x5f1bec[_0x343a11(0x1e6)]=_0x450392[_0x343a11(0x1e6)],_0x5f1bec[_0x343a11(0x1f7)]=_0x450392[_0x343a11(0x1ee)],_0x5f1bec;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x352db4}from'ckeditor5/src/core.js';import{FileRepository as _0x43ef25}from'ckeditor5/src/upload.js';import _0x49f1d7 from'./uploadcareediting.js';import _0x1a6aa5 from'./utils/uploadutils.js';import{getImageUrls as _0x21d033}from'./utils/editingutils.js';export default class p extends _0x352db4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x43ef25,_0x49f1d7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b57b2=this['editor'];if(!!!_0x1b57b2['config']['get']('uploadcare'))return;_0x1b57b2['plugins']['get'](_0x43ef25)['createUploadAdapter']=_0x78ea=>new x(_0x78ea,_0x1b57b2),_0x1b57b2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x59395c,{imageElement:_0x2292d7,data:_0x3f2a3f})=>{_0x1b57b2['model']['change'](_0x3e8d66=>{_0x3e8d66['setAttribute']('uploadcareImageId',_0x3f2a3f['uploadcareImageId'],_0x2292d7);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x522ae2,_0x50b4d5){this['loader']=_0x522ae2,this['editor']=_0x50b4d5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x26d6e0=this['editor']['config']['get']('uploadcare.pubkey'),_0x3b9472=await this['loader']['file'];return _0x1a6aa5['upload']({'file':_0x3b9472,'publicKey':_0x26d6e0,'signal':this['controller']['signal'],'onProgress':_0x58fe0e=>{_0x58fe0e&&_0x58fe0e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58fe0e['value']);}})['then'](async _0x165da4=>{const {imageFallbackUrl:_0x52dac6,imageSources:_0x3cf8ca}=_0x21d033(_0x165da4['cdnUrl'],_0x165da4['imageInfo']['width']);return{'uploadcareImageId':_0x165da4['uuid'],'default':_0x52dac6,'sources':_0x3cf8ca};})['catch'](()=>{const _0x838fe4=t('Cannot\x20upload\x20file:')+('\x20'+_0x3b9472['name']+'.');return Promise['reject'](_0x838fe4);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x51a959}from'ckeditor5/src/core.js';import{FileRepository as _0xf5c1d9}from'ckeditor5/src/upload.js';import _0x538e5d from'./uploadcareediting.js';import _0x397f9c from'./utils/uploadutils.js';import{getImageUrls as _0x1ff27e}from'./utils/editingutils.js';export default class p extends _0x51a959{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xf5c1d9,_0x538e5d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4c087d=this['editor'];if(!!!_0x4c087d['config']['get']('uploadcare'))return;_0x4c087d['plugins']['get'](_0xf5c1d9)['createUploadAdapter']=_0x15217c=>new x(_0x15217c,_0x4c087d),_0x4c087d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3fb69d,{imageElement:_0x118dd6,data:_0x4245b5})=>{_0x4c087d['model']['change'](_0x4ec0a1=>{_0x4ec0a1['setAttribute']('uploadcareImageId',_0x4245b5['uploadcareImageId'],_0x118dd6);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x22dbdd,_0xd86828){this['loader']=_0x22dbdd,this['editor']=_0xd86828,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x8b7cd4=this['editor']['config']['get']('uploadcare.pubkey'),_0x355c9f=await this['loader']['file'];return _0x397f9c['upload']({'file':_0x355c9f,'publicKey':_0x8b7cd4,'signal':this['controller']['signal'],'onProgress':_0x45b724=>{_0x45b724&&_0x45b724['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45b724['value']);}})['then'](async _0x21eb94=>{const {imageFallbackUrl:_0x5727ab,imageSources:_0xfb557}=_0x1ff27e(_0x21eb94['cdnUrl'],_0x21eb94['imageInfo']['width']);return{'uploadcareImageId':_0x21eb94['uuid'],'default':_0x5727ab,'sources':_0xfb557};})['catch'](()=>{const _0x142a25=t('Cannot\x20upload\x20file:')+('\x20'+_0x355c9f['name']+'.');return Promise['reject'](_0x142a25);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2bddc6}from'../uploadcareconfig.js';export function getTranslation(_0x5e591e,_0x4a08e9,_0x121a53){const t=_0x5e591e['t'],_0x269712=_0x5e591e['t'];switch(_0x4a08e9){case _0x2bddc6['Local']:return{'text':_0x269712('Insert'===_0x121a53?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x269712('From\x20computer')};case _0x2bddc6['URL']:return{'text':'Insert'===_0x121a53?_0x269712('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x269712('Via\x20URL')};case _0x2bddc6['Dropbox']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2bddc6['Facebook']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2bddc6['GDrive']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2bddc6['GPhotos']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2bddc6['OneDrive']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4a08e9;}}
23
+ import{UploadcareSource as _0x5d1b0b}from'../uploadcareconfig.js';export function getTranslation(_0x53b518,_0x240869,_0x4fcf51){const t=_0x53b518['t'],_0x10c17f=_0x53b518['t'];switch(_0x240869){case _0x5d1b0b['Local']:return{'text':_0x10c17f('Insert'===_0x4fcf51?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x10c17f('From\x20computer')};case _0x5d1b0b['URL']:return{'text':'Insert'===_0x4fcf51?_0x10c17f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x10c17f('Via\x20URL')};case _0x5d1b0b['Dropbox']:return{'text':t('Insert'===_0x4fcf51?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d1b0b['Facebook']:return{'text':t('Insert'===_0x4fcf51?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d1b0b['GDrive']:return{'text':t('Insert'===_0x4fcf51?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d1b0b['GPhotos']:return{'text':t('Insert'===_0x4fcf51?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d1b0b['OneDrive']:return{'text':t('Insert'===_0x4fcf51?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x240869;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b57a6=_0x187d;function _0x187d(_0x4eecdc,_0x28ab52){var _0x2cb34b=_0x2cb3();return _0x187d=function(_0x187daa,_0x1962de){_0x187daa=_0x187daa-0x1da;var _0x24bfba=_0x2cb34b[_0x187daa];return _0x24bfba;},_0x187d(_0x4eecdc,_0x28ab52);}(function(_0x2eb64e,_0x1113b2){var _0x2c0d56=_0x187d,_0x3da506=_0x2eb64e();while(!![]){try{var _0x575104=-parseInt(_0x2c0d56(0x1dd))/0x1*(parseInt(_0x2c0d56(0x1eb))/0x2)+parseInt(_0x2c0d56(0x1ec))/0x3*(-parseInt(_0x2c0d56(0x1dc))/0x4)+-parseInt(_0x2c0d56(0x1ee))/0x5*(-parseInt(_0x2c0d56(0x1e5))/0x6)+-parseInt(_0x2c0d56(0x1e7))/0x7+parseInt(_0x2c0d56(0x1e1))/0x8*(-parseInt(_0x2c0d56(0x1e3))/0x9)+-parseInt(_0x2c0d56(0x1da))/0xa+-parseInt(_0x2c0d56(0x1e0))/0xb*(-parseInt(_0x2c0d56(0x1e9))/0xc);if(_0x575104===_0x1113b2)break;else _0x3da506['push'](_0x3da506['shift']());}catch(_0x23d60e){_0x3da506['push'](_0x3da506['shift']());}}}(_0x2cb3,0x8b433));import{FocusTracker as _0x3b6562}from'ckeditor5/src/utils.js';import{View as _0x3e7396,FocusCycler as _0x42146b}from'ckeditor5/src/ui.js';function _0x2cb3(){var _0x4fbffb=['bindTemplate','72lGUAIc','div','433392jQKmfy','forwardCycle','3837288oXZDsg','createCollection','156zVEvAV','fire','80246CxNpNN','554571QSkJzj','true','5LldQEI','2563980xPjGIy','focusCycler','4hiEubs','24ZYPJhw','getFocusableElement','focusTracker','2885278XZMDDy','959296QqRgum'];_0x2cb3=function(){return _0x4fbffb;};return _0x2cb3();}import'../../theme/uploadcare-form.css';export default class q extends _0x3e7396{[_0x3b57a6(0x1df)];[_0x3b57a6(0x1db)];constructor(_0x16ce68){var _0x3928c4=_0x3b57a6;super(_0x16ce68),this[_0x3928c4(0x1df)]=new _0x3b6562(),this[_0x3928c4(0x1db)]=new _0x42146b({'focusables':this[_0x3928c4(0x1e8)](),'focusTracker':this[_0x3928c4(0x1df)]});}[_0x3b57a6(0x1de)](){var _0x2abfc2=_0x3b57a6;return{'tag':_0x2abfc2(0x1e4),'attributes':{'aria-hidden':_0x2abfc2(0x1ed),'tabindex':'0'},'on':{'focus':this[_0x2abfc2(0x1e2)]['to'](()=>{var _0x56ceae=_0x2abfc2;this[_0x56ceae(0x1db)][_0x56ceae(0x1ea)](_0x56ceae(0x1e6));})}};}}
23
+ var _0x39580d=_0x49d1;(function(_0x38e639,_0x2da262){var _0x11cfb5=_0x49d1,_0x1c27ac=_0x38e639();while(!![]){try{var _0x19fee2=parseInt(_0x11cfb5(0x1e1))/0x1+-parseInt(_0x11cfb5(0x1e2))/0x2+parseInt(_0x11cfb5(0x1db))/0x3+-parseInt(_0x11cfb5(0x1de))/0x4+-parseInt(_0x11cfb5(0x1df))/0x5+parseInt(_0x11cfb5(0x1d8))/0x6+-parseInt(_0x11cfb5(0x1d7))/0x7*(parseInt(_0x11cfb5(0x1dd))/0x8);if(_0x19fee2===_0x2da262)break;else _0x1c27ac['push'](_0x1c27ac['shift']());}catch(_0x3409d8){_0x1c27ac['push'](_0x1c27ac['shift']());}}}(_0xfada,0x598dd));import{FocusTracker as _0x254634}from'ckeditor5/src/utils.js';import{View as _0x43ec7b,FocusCycler as _0x101485}from'ckeditor5/src/ui.js';function _0xfada(){var _0x3cc5e6=['createCollection','650270sStsqc','812490yruDoE','focusCycler','fire','bindTemplate','focusTracker','forwardCycle','1183XnjNFx','1877028NJbFXc','div','getFocusableElement','782346HcDKPa','true','4168ahTfXH','769928ByTwAz','851505PSZdHs'];_0xfada=function(){return _0x3cc5e6;};return _0xfada();}import'../../theme/uploadcare-form.css';function _0x49d1(_0x228375,_0x3dfb14){var _0xfada1c=_0xfada();return _0x49d1=function(_0x49d1a4,_0x5cff20){_0x49d1a4=_0x49d1a4-0x1d7;var _0x4d44ad=_0xfada1c[_0x49d1a4];return _0x4d44ad;},_0x49d1(_0x228375,_0x3dfb14);}export default class G extends _0x43ec7b{[_0x39580d(0x1e6)];[_0x39580d(0x1e3)];constructor(_0x2a0332){var _0x256ca8=_0x39580d;super(_0x2a0332),this[_0x256ca8(0x1e6)]=new _0x254634(),this[_0x256ca8(0x1e3)]=new _0x101485({'focusables':this[_0x256ca8(0x1e0)](),'focusTracker':this[_0x256ca8(0x1e6)]});}[_0x39580d(0x1da)](){var _0x4bc351=_0x39580d;return{'tag':_0x4bc351(0x1d9),'attributes':{'aria-hidden':_0x4bc351(0x1dc),'tabindex':'0'},'on':{'focus':this[_0x4bc351(0x1e5)]['to'](()=>{var _0x57e143=_0x4bc351;this[_0x57e143(0x1e3)][_0x57e143(0x1e4)](_0x57e143(0x1e7));})}};}}