@ckeditor/ckeditor5-uploadcare 45.1.0-alpha.5 → 45.1.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 _0x562a78=_0x341c;(function(_0x18ba93,_0x5c38ad){const _0x1ca0e7=_0x341c,_0x52ba72=_0x18ba93();while(!![]){try{const _0x48890c=parseInt(_0x1ca0e7(0x13a))/0x1*(parseInt(_0x1ca0e7(0x142))/0x2)+-parseInt(_0x1ca0e7(0x12f))/0x3+parseInt(_0x1ca0e7(0x145))/0x4*(-parseInt(_0x1ca0e7(0x137))/0x5)+-parseInt(_0x1ca0e7(0x173))/0x6*(-parseInt(_0x1ca0e7(0x158))/0x7)+-parseInt(_0x1ca0e7(0x131))/0x8+-parseInt(_0x1ca0e7(0x127))/0x9*(-parseInt(_0x1ca0e7(0x149))/0xa)+-parseInt(_0x1ca0e7(0x167))/0xb*(-parseInt(_0x1ca0e7(0x132))/0xc);if(_0x48890c===_0x5c38ad)break;else _0x52ba72['push'](_0x52ba72['shift']());}catch(_0x11ac47){_0x52ba72['push'](_0x52ba72['shift']());}}}(_0x53c2,0x5eeba));import{Plugin as _0x46dc4e}from'ckeditor5/src/core.js';import{Dialog as _0x230e78}from'ckeditor5/src/ui.js';import{createElement as _0x356fb4,global as _0x579542,uid as _0x1b46d6}from'ckeditor5/src/utils.js';function _0x341c(_0x45f2f8,_0x44036b){const _0x53c242=_0x53c2();return _0x341c=function(_0x341c35,_0x51c40e){_0x341c35=_0x341c35-0x11e;let _0x294e8f=_0x53c242[_0x341c35];return _0x294e8f;},_0x341c(_0x45f2f8,_0x44036b);}import _0x164e4e from'./uploadcarecommand.js';import _0x3bfda7 from'./uploadcareuploadadapter.js';function _0x53c2(){const _0x19bbb1=['uploadcare','href','5fDZBSI','imageBlock','afterInit','636703WLzmeD','upcast','requires','selection','closeMax','isPremiumPlugin','insertImage','for','2jMZKpL','uploadcare.uploader','iconHrefResolver','2271176jSSZQj','_initCtx','fromCharCode','schema','2510XccPJq','true','PictureEditing','attributeToAttribute','document','_initImageProcessingIndicator','elementToAttribute','_ctxElement','data-uc-image-id','editor','\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','config','replaceImageSource','editing','add','779457omouZe','get','join','querySelector','uploadcareImageReplace','listenTo','configElement','once','isRegistered','uploadcareImageId','_configElement','uploader','extend','uc-config','commands','4262005WumyHG','render','_initConfig','downcast','pluginName','model','cleanupImage','contentLanguage','uc-upload-ctx-provider','ctxElement','map','input[uploadcare-file-input]','18YiRfVU','_initSchema','_initConversion','#uc-icon-arrow-down','conversion','locale','UploadcareEditing','appendChild','init','destroy','5949QuYKRG','remove','isOfficialPlugin','imageInline','view','removeAttribute','getAttribute','body','1522698BccCkT','execute','3579384QUFhZk','24jwnKhU','uploadcare.pubkey','getSelectedElement'];_0x53c2=function(){return _0x19bbb1;};return _0x53c2();}import{showImageProcessingIndicator as _0x3d5b27}from'./utils/editingutils.js';export default class i extends _0x46dc4e{[_0x562a78(0x162)]=null;[_0x562a78(0x150)]=null;static get[_0x562a78(0x16b)](){const _0x30b648=_0x562a78;return _0x30b648(0x123);}static get[_0x562a78(0x13c)](){const _0x3b0935=_0x562a78;return[_0x3b0935(0x14b),_0x3bfda7,_0x230e78];}static get[_0x562a78(0x129)](){return!0x0;}static get[_0x562a78(0x13f)](){return!0x0;}get[_0x562a78(0x15e)](){const _0x937a8a=_0x562a78;return this[_0x937a8a(0x162)];}get[_0x562a78(0x170)](){const _0x2dbd68=_0x562a78;return this[_0x2dbd68(0x150)];}[_0x562a78(0x125)](){const _0x3adda7=_0x562a78,_0x21bef0=this[_0x3adda7(0x152)];_0x21bef0[_0x3adda7(0x166)][_0x3adda7(0x157)](_0x3adda7(0x135),new _0x164e4e(_0x21bef0));}[_0x562a78(0x139)](){const _0x8e6ac5=_0x562a78;this[_0x8e6ac5(0x11e)](),this[_0x8e6ac5(0x11f)](),this[_0x8e6ac5(0x169)](),this[_0x8e6ac5(0x146)](),this[_0x8e6ac5(0x14e)](),this[_0x8e6ac5(0x15d)](this[_0x8e6ac5(0x152)],_0x8e6ac5(0x126),()=>{const _0x4516ef=_0x8e6ac5;this[_0x4516ef(0x162)]&&(this[_0x4516ef(0x162)][_0x4516ef(0x128)](),this[_0x4516ef(0x162)]=null),this[_0x4516ef(0x150)]&&(this[_0x4516ef(0x150)][_0x4516ef(0x128)](),this[_0x4516ef(0x150)]=null);const _0x25b0d0=_0x579542[_0x4516ef(0x14d)][_0x4516ef(0x15b)](_0x4516ef(0x172));_0x25b0d0&&_0x25b0d0[_0x4516ef(0x128)]();}),async function(_0x1734e0){const _0x56d46a=_0xe57c50([0x5a,0x31,0x39,0x30,0x54,0x4e,0x79,0x49,0x6e,0x77,0x50,0x33,0x6f,0x4f,0x67,0x46,0x68,0x44,0x6c,0x47,0x56,0x37,0x70,0x58,0x48,0x42,0x7a,0x65,0x75,0x43,0x6a,0x57,0x72,0x51,0x59,0x4a,0x52,0x6b,0x32,0x41,0x53,0x76,0x63,0x78,0x36,0x45,0x74,0x55,0x73,0x69,0x62,0x4c,0x71,0x35,0x4d,0x66,0x34,0x38,0x64,0x4b,0x6d,0x61]),_0x1c0d8f=0x65b24ccd,_0x199963=0x65b52b6d^_0x1c0d8f,_0x5bcc16=window[_0xe57c50([0x44,0x61,0x74,0x65])][_0xe57c50([0x6e,0x6f,0x77])](),_0x34e944=_0x1734e0[_0xe57c50([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2299b0=new window[(_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1972bf=>{_0x34e944[_0xe57c50([0x6f,0x6e,0x63,0x65])](_0xe57c50([0x72,0x65,0x61,0x64,0x79]),_0x1972bf);}),_0x6a293={[_0xe57c50([0x6b,0x74,0x79])]:_0xe57c50([0x45,0x43]),[_0xe57c50([0x75,0x73,0x65])]:_0xe57c50([0x73,0x69,0x67]),[_0xe57c50([0x63,0x72,0x76])]:_0xe57c50([0x50,0x2d,0x32,0x35,0x36]),[_0xe57c50([0x78])]:_0xe57c50([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]),[_0xe57c50([0x79])]:_0xe57c50([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]),[_0xe57c50([0x61,0x6c,0x67])]:_0xe57c50([0x45,0x53,0x32,0x35,0x36])},_0x50d666=_0x34e944[_0xe57c50([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe57c50([0x67,0x65,0x74])](_0xe57c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58c9ec(){let _0x47ec4e,_0x19b6ab=null,_0x5a264a=null;try{if(_0x50d666==_0xe57c50([0x47,0x50,0x4c]))return _0xe57c50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47ec4e=_0x2bcabc(),!_0x47ec4e)return _0xe57c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47ec4e[_0xe57c50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a264a=_0xa9c0ee(_0x47ec4e[_0xe57c50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47ec4e[_0xe57c50([0x6a,0x74,0x69])])),await _0x162ee3()?_0x5203e7()?_0x7bf171()?_0xe57c50([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7d317()?(_0x47ec4e[_0xe57c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe57c50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19b6ab=_0x17534d(_0xe57c50([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47ec4e[_0xe57c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe57c50([0x74,0x72,0x69,0x61,0x6c])&&(_0x19b6ab=_0x17534d(_0xe57c50([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x325b60()):_0xe57c50([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe57c50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe57c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x262bb3){return _0xe57c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7bf171(){const _0x42a0a6=[_0xe57c50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe57c50([0x74,0x72,0x69,0x61,0x6c])][_0xe57c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ec4e[_0xe57c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bcc16/0x3e8:0xe10*_0x199963;return _0x47ec4e[_0xe57c50([0x65,0x78,0x70])]<_0x42a0a6;}function _0x5203e7(){const _0x286d17=_0x47ec4e[_0xe57c50([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x286d17&&(!!_0x286d17[_0xe57c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe57c50([0x2a]))||!!_0x286d17[_0xe57c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe57c50([0x55,0x50,0x4c,0x43])));}function _0x7d317(){const _0x2fd533=_0x341c,_0x285989=_0x47ec4e[_0xe57c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x285989||0x0==_0x285989[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39876a}=new URL(window[_0xe57c50([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2fd533(0x136)]);if(_0x285989[_0xe57c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39876a))return!0x0;const _0x88b26b=_0x39876a[_0xe57c50([0x73,0x70,0x6c,0x69,0x74])](_0xe57c50([0x2e]));return _0x285989[_0xe57c50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19f205=>_0x19f205[_0xe57c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe57c50([0x2a])))[_0xe57c50([0x6d,0x61,0x70])](_0x83b357=>_0x83b357[_0xe57c50([0x73,0x70,0x6c,0x69,0x74])](_0xe57c50([0x2e])))[_0xe57c50([0x73,0x6f,0x6d,0x65])](_0x3020a2=>_0x88b26b[_0xe57c50([0x65,0x76,0x65,0x72,0x79])]((_0x231882,_0x13bc5d)=>_0x3020a2[_0x13bc5d]===_0x231882||_0x3020a2[_0x13bc5d]===_0xe57c50([0x2a])));}function _0x325b60(){return _0x19b6ab&&_0x5a264a?new window[(_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x261080,_0x265ee2)=>{_0x19b6ab[_0xe57c50([0x74,0x68,0x65,0x6e])](_0x261080,_0x265ee2),_0x5a264a[_0xe57c50([0x74,0x68,0x65,0x6e])](_0x36a289=>{_0x36a289!=_0xe57c50([0x56,0x61,0x6c,0x69,0x64])&&_0x261080(_0x36a289);},_0x265ee2);}):_0x19b6ab||_0x5a264a||_0xe57c50([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa9c0ee(_0x955848,_0x10fa38){return new window[(_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0035=>{if(_0x372400())return _0x4b0035(_0xe57c50([0x56,0x61,0x6c,0x69,0x64]));_0x589018(),_0x34e944[_0xe57c50([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe57c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25d3aa=!0x1;const _0x4c54f4=_0x1b46d6();function _0x1e3fa0(_0x2df2a6){return!!_0x2df2a6&&(typeof _0x2df2a6===_0xe57c50([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2df2a6===_0xe57c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2df2a6[_0xe57c50([0x74,0x68,0x65,0x6e])]===_0xe57c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2df2a6[_0xe57c50([0x63,0x61,0x74,0x63,0x68])]===_0xe57c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cf6ba(_0x243dc1){_0x582bd8(_0x243dc1)[_0xe57c50([0x74,0x68,0x65,0x6e])](_0x37ef62=>{if(!_0x37ef62||_0x37ef62[_0xe57c50([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe57c50([0x6f,0x6b]))return _0xe57c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42908a(_0x267de1(_0x4c54f4+_0x10fa38))!=_0x37ef62[_0xe57c50([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe57c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe57c50([0x56,0x61,0x6c,0x69,0x64]);})[_0xe57c50([0x74,0x68,0x65,0x6e])](_0x265d57=>(_0x3f0227(),_0x265d57),()=>{const _0xedb68a=_0x3d872d();return null==_0xedb68a?(_0x3f0227(),_0xe57c50([0x56,0x61,0x6c,0x69,0x64])):_0xe57c50(_0x5bcc16-_0xedb68a>(0x41bec8cd^_0x1c0d8f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe57c50([0x74,0x68,0x65,0x6e])](_0x4b0035)[_0xe57c50([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b0035(_0xe57c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3177b9=0x6584a24d^_0x1c0d8f;function _0x3f0227(){const _0x38dbc9=_0xe57c50([0x6c,0x6c,0x63,0x74,0x2d])+_0x42908a(_0x267de1(_0x955848)),_0x5bcf2d=_0x2ea5e4(_0x42908a(window[_0xe57c50([0x4d,0x61,0x74,0x68])][_0xe57c50([0x63,0x65,0x69,0x6c])](_0x5bcc16/_0x3177b9)));window[_0xe57c50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe57c50([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38dbc9,_0x5bcf2d);}function _0x3d872d(){const _0x58bd3c=_0xe57c50([0x6c,0x6c,0x63,0x74,0x2d])+_0x42908a(_0x267de1(_0x955848)),_0x34275c=window[_0xe57c50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe57c50([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58bd3c);return _0x34275c?window[_0xe57c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ea5e4(_0x34275c),0x10)*_0x3177b9:null;}function _0x582bd8(_0x361167){return new window[(_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x532d78,_0x4e7276)=>{_0x361167[_0xe57c50([0x74,0x68,0x65,0x6e])](_0x532d78,_0x4e7276),window[_0xe57c50([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e7276,0x65b3980d^_0x1c0d8f);});}}_0x34e944[_0xe57c50([0x6f,0x6e])](_0xe57c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x414900,_0x4aeda1)=>{if(_0x4aeda1[0x0]!=_0x955848)return _0x4b0035(_0xe57c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4aeda1[0x1]={..._0x4aeda1[0x1],[_0xe57c50([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c54f4};},{[_0xe57c50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe57c50([0x68,0x69,0x67,0x68])}),_0x34e944[_0xe57c50([0x6f,0x6e])](_0xe57c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40aa1f=>{_0x1e3fa0(_0x40aa1f[_0xe57c50([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25d3aa=!0x0,_0x1cf6ba(_0x40aa1f[_0xe57c50([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe57c50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe57c50([0x6c,0x6f,0x77])}),_0x2299b0[_0xe57c50([0x74,0x68,0x65,0x6e])](()=>{_0x25d3aa||_0x4b0035(_0xe57c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x372400(){return _0x34e944[_0xe57c50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe57c50([0x76,0x69,0x65,0x77])][_0xe57c50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe57c50([0x61,0x75,0x74,0x6f]);}function _0x589018(){_0x34e944[_0xe57c50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe57c50([0x76,0x69,0x65,0x77])][_0xe57c50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe57c50([0x61,0x75,0x74,0x6f]);}}function _0x17534d(_0xe4bd54){const _0x465bd2=[new window[(_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2545fa=>setTimeout(_0x2545fa,0x65bb7201^_0x1c0d8f)),_0x2299b0[_0xe57c50([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437243=>{let _0x17f2ae=0x0;_0x34e944[_0xe57c50([0x6d,0x6f,0x64,0x65,0x6c])][_0xe57c50([0x6f,0x6e])](_0xe57c50([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5f0898,_0x103f28)=>{_0x103f28[0x0][_0xe57c50([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17f2ae++,_0x17f2ae==(0x65b24d35^_0x1c0d8f)&&(_0x437243(),_0x5f0898[_0xe57c50([0x6f,0x66,0x66])]());});}))];return window[_0xe57c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe57c50([0x72,0x61,0x63,0x65])](_0x465bd2)[_0xe57c50([0x74,0x68,0x65,0x6e])](()=>_0xe4bd54);}async function _0x2fa805(){await _0x2299b0,_0x34e944[_0xe57c50([0x6d,0x6f,0x64,0x65,0x6c])][_0xe57c50([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48beb1,_0x34e944[_0xe57c50([0x6d,0x6f,0x64,0x65,0x6c])][_0xe57c50([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48beb1,_0x34e944[_0xe57c50([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe57c50([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cd4ef(_0x2fe579){const _0x341049=_0x40b43f();_0x34e944[_0x341049]=_0xe57c50([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fe579,_0x2fe579!=_0xe57c50([0x56,0x61,0x6c,0x69,0x64])&&_0x2fa805();}function _0x40b43f(){const _0x2dfc03=window[_0xe57c50([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe57c50([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe57c50([0x6e,0x6f,0x77])]())[_0xe57c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe57c50([0x2e]),'');let _0x17f2a7=_0xe57c50([0x5a]);for(let _0x44e0a0=0x0;_0x44e0a0<_0x2dfc03[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44e0a0+=0x2){let _0x34080f=window[_0xe57c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dfc03[_0xe57c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44e0a0,_0x44e0a0+0x2));_0x34080f>=_0x56d46a[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34080f-=_0x56d46a[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17f2a7+=_0x56d46a[_0x34080f];}return _0x17f2a7;}function _0x2bcabc(){const _0x5e3ab3=_0x50d666[_0xe57c50([0x73,0x70,0x6c,0x69,0x74])](_0xe57c50([0x2e]));if(0x3!=_0x5e3ab3[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46b3c1(_0x5e3ab3[0x1]);function _0x46b3c1(_0x50cf46){const _0x440948=_0x201bce(_0x50cf46);return _0x440948&&_0x2c930b()?_0x440948:null;function _0x2c930b(){const _0x1c12ea=_0x440948[_0xe57c50([0x6a,0x74,0x69])],_0x433520=window[_0xe57c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c12ea[_0xe57c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c12ea[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33722d={..._0x440948,[_0xe57c50([0x6a,0x74,0x69])]:_0x1c12ea[_0xe57c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c12ea[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33722d[_0xe57c50([0x76,0x63])],_0x267de1(_0x33722d)==_0x433520;}}}async function _0x162ee3(){let _0x39a10b=!0x0;try{const _0x253c4c=_0x50d666[_0xe57c50([0x73,0x70,0x6c,0x69,0x74])](_0xe57c50([0x2e])),[_0x3dd0be,_0x4c8a38,_0x16588a]=_0x253c4c;return _0x442489(_0x3dd0be),await _0x5c2f81(_0x3dd0be,_0x4c8a38,_0x16588a),_0x39a10b;}catch(_0xb2c341){return!0x1;}function _0x442489(_0x374fe4){const _0x58d07c=_0x201bce(_0x374fe4);_0x58d07c&&_0x58d07c[_0xe57c50([0x61,0x6c,0x67])]==_0xe57c50([0x45,0x53,0x32,0x35,0x36])||(_0x39a10b=!0x1);}async function _0x5c2f81(_0x565611,_0x2fd609,_0x44f0ac){const _0x1bc1ef=window[_0xe57c50([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe57c50([0x66,0x72,0x6f,0x6d])](_0x4d76ea(_0x44f0ac),_0x1ea4b9=>_0x1ea4b9[_0xe57c50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x105025=new window[(_0xe57c50([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe57c50([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x565611+_0xe57c50([0x2e])+_0x2fd609),_0x34d070=window[_0xe57c50([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe57c50([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34d070)return;const _0x48b611=await _0x34d070[_0xe57c50([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe57c50([0x6a,0x77,0x6b]),_0x6a293,{[_0xe57c50([0x6e,0x61,0x6d,0x65])]:_0xe57c50([0x45,0x43,0x44,0x53,0x41]),[_0xe57c50([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe57c50([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe57c50([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34d070[_0xe57c50([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe57c50([0x6e,0x61,0x6d,0x65])]:_0xe57c50([0x45,0x43,0x44,0x53,0x41]),[_0xe57c50([0x68,0x61,0x73,0x68])]:{[_0xe57c50([0x6e,0x61,0x6d,0x65])]:_0xe57c50([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48b611,_0x1bc1ef,_0x105025)||(_0x39a10b=!0x1);}}function _0x201bce(_0x3f9eb4){return _0x3f9eb4[_0xe57c50([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe57c50([0x65,0x79]))?JSON[_0xe57c50([0x70,0x61,0x72,0x73,0x65])](_0x4d76ea(_0x3f9eb4)):null;}function _0x4d76ea(_0x568153){return window[_0xe57c50([0x61,0x74,0x6f,0x62])](_0x568153[_0xe57c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe57c50([0x2b]))[_0xe57c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe57c50([0x2f])));}function _0x267de1(_0x1d11da){let _0x3ad45c=0x1505;function _0x2f8fdd(_0x166df1){for(let _0x142b3f=0x0;_0x142b3f<_0x166df1[_0xe57c50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x142b3f++){const _0x27e86c=_0x166df1[_0xe57c50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x142b3f);_0x3ad45c=(_0x3ad45c<<0x5)+_0x3ad45c+_0x27e86c,_0x3ad45c&=_0x3ad45c;}}function _0x246d4d(_0x252883){Array[_0xe57c50([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x252883)?_0x252883[_0xe57c50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x246d4d):_0x252883&&typeof _0x252883==_0xe57c50([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe57c50([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x252883)[_0xe57c50([0x73,0x6f,0x72,0x74])]()[_0xe57c50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b0a8d,_0x294d9a])=>{_0x2f8fdd(_0x2b0a8d),_0x246d4d(_0x294d9a);}):_0x2f8fdd(window[_0xe57c50([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x252883));}return _0x246d4d(_0x1d11da),_0x3ad45c>>>0x0;}function _0x42908a(_0x28d9df){return _0x28d9df[_0xe57c50([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe57c50([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe57c50([0x30]));}function _0x2ea5e4(_0x245293){return _0x245293[_0xe57c50([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe57c50([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe57c50([0x6a,0x6f,0x69,0x6e])]('');}function _0x48beb1(){}function _0xe57c50(_0x42a5af){const _0x5cf18c=_0x341c;return _0x42a5af[_0x5cf18c(0x171)](_0x4d4138=>String[_0x5cf18c(0x147)](_0x4d4138))[_0x5cf18c(0x15a)]('');}_0x2cd4ef(await _0x58c9ec());}(this);}[_0x562a78(0x11e)](){const _0x1fd628=_0x562a78,_0x25b940=this[_0x1fd628(0x152)][_0x1fd628(0x16c)][_0x1fd628(0x148)];_0x25b940[_0x1fd628(0x160)](_0x1fd628(0x138))&&_0x25b940[_0x1fd628(0x164)](_0x1fd628(0x138),{'allowAttributes':[_0x1fd628(0x161)]}),_0x25b940[_0x1fd628(0x160)](_0x1fd628(0x12a))&&_0x25b940[_0x1fd628(0x164)](_0x1fd628(0x12a),{'allowAttributes':[_0x1fd628(0x161)]});}[_0x562a78(0x11f)](){const _0x33f82b=_0x562a78,_0x488a3d=this[_0x33f82b(0x152)];_0x488a3d[_0x33f82b(0x121)][_0x33f82b(0x141)](_0x33f82b(0x16a))[_0x33f82b(0x14c)]({'model':_0x33f82b(0x161),'view':_0x33f82b(0x151)}),_0x488a3d[_0x33f82b(0x121)][_0x33f82b(0x141)](_0x33f82b(0x13b))[_0x33f82b(0x14f)]({'model':{'key':_0x33f82b(0x161),'value':_0x35f779=>_0x35f779[_0x33f82b(0x12d)](_0x33f82b(0x151))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5381d2=_0x488a3d[_0x33f82b(0x166)][_0x33f82b(0x159)](_0x33f82b(0x155));_0x5381d2&&this[_0x33f82b(0x15d)](_0x5381d2,_0x33f82b(0x16d),(_0x4180ae,[_0x371cf2,_0x1d0047])=>{const _0x4faae8=_0x33f82b;_0x371cf2[_0x4faae8(0x12c)](_0x4faae8(0x161),_0x1d0047);});}[_0x562a78(0x169)](){const _0x5d944d=_0x562a78,_0x337a8c=this[_0x5d944d(0x152)][_0x5d944d(0x154)][_0x5d944d(0x159)](_0x5d944d(0x143))||{},_0x408ea2=this[_0x5d944d(0x152)][_0x5d944d(0x154)][_0x5d944d(0x159)](_0x5d944d(0x133))||'';this[_0x5d944d(0x162)]=_0x356fb4(_0x579542[_0x5d944d(0x14d)],_0x5d944d(0x165),{..._0x337a8c,'pubkey':_0x408ea2,'ctx-name':_0x5d944d(0x163),'sourceList':'','imgOnly':_0x5d944d(0x14a),'removeCopyright':_0x5d944d(0x14a),'localeName':this[_0x5d944d(0x152)][_0x5d944d(0x122)][_0x5d944d(0x16e)],'externalSourcesEmbedCss':_0x5d944d(0x153)}),this[_0x5d944d(0x162)][_0x5d944d(0x144)]=_0x69d718=>{const _0x54c7d4=_0x5d944d;if(_0x54c7d4(0x13e)==_0x69d718)return _0x54c7d4(0x120);},_0x579542[_0x5d944d(0x14d)][_0x5d944d(0x12e)][_0x5d944d(0x124)](this[_0x5d944d(0x162)]);}[_0x562a78(0x146)](){const _0x1412a2=_0x562a78;this[_0x1412a2(0x150)]=_0x356fb4(_0x579542[_0x1412a2(0x14d)],_0x1412a2(0x16f),{'ctx-name':_0x1412a2(0x163)}),_0x579542[_0x1412a2(0x14d)][_0x1412a2(0x12e)][_0x1412a2(0x124)](this[_0x1412a2(0x150)]);}[_0x562a78(0x14e)](){const _0x4bf014=_0x562a78,_0x5c1b3f=this[_0x4bf014(0x152)][_0x4bf014(0x166)][_0x4bf014(0x159)](_0x4bf014(0x140));_0x5c1b3f&&this[_0x4bf014(0x15d)](_0x5c1b3f,_0x4bf014(0x130),()=>{const _0x558ba2=_0x4bf014,_0x2f9ec0=this[_0x558ba2(0x152)][_0x558ba2(0x16c)][_0x558ba2(0x14d)][_0x558ba2(0x13d)][_0x558ba2(0x134)]();_0x2f9ec0&&_0x2f9ec0[_0x558ba2(0x12d)](_0x558ba2(0x161))&&this[_0x558ba2(0x152)][_0x558ba2(0x156)][_0x558ba2(0x12b)][_0x558ba2(0x15f)](_0x558ba2(0x168),()=>{const _0x11ab39=_0x558ba2;_0x3d5b27(this[_0x11ab39(0x152)],_0x2f9ec0);});});const _0x3a0748=this[_0x4bf014(0x152)][_0x4bf014(0x166)][_0x4bf014(0x159)](_0x4bf014(0x15c));_0x3a0748&&this[_0x4bf014(0x15d)](_0x3a0748,_0x4bf014(0x130),()=>{const _0x39a43d=_0x4bf014,_0x10f255=this[_0x39a43d(0x152)][_0x39a43d(0x16c)][_0x39a43d(0x14d)][_0x39a43d(0x13d)][_0x39a43d(0x134)]();_0x10f255&&_0x10f255[_0x39a43d(0x12d)](_0x39a43d(0x161))&&this[_0x39a43d(0x152)][_0x39a43d(0x156)][_0x39a43d(0x12b)][_0x39a43d(0x15f)](_0x39a43d(0x168),()=>{const _0x4f2b1d=_0x39a43d;_0x3d5b27(this[_0x4f2b1d(0x152)],_0x10f255);});});}}
23
+ const _0x421d8a=_0x8179;function _0x8179(_0x444748,_0x369b81){const _0x2fd566=_0x2fd5();return _0x8179=function(_0x81794c,_0xf655ae){_0x81794c=_0x81794c-0xe0;let _0x435f58=_0x2fd566[_0x81794c];return _0x435f58;},_0x8179(_0x444748,_0x369b81);}(function(_0x47b888,_0xb2c1b){const _0x3cb7b0=_0x8179,_0x37e32d=_0x47b888();while(!![]){try{const _0x228057=-parseInt(_0x3cb7b0(0xea))/0x1+parseInt(_0x3cb7b0(0x118))/0x2*(-parseInt(_0x3cb7b0(0xf9))/0x3)+parseInt(_0x3cb7b0(0x117))/0x4*(parseInt(_0x3cb7b0(0xf6))/0x5)+parseInt(_0x3cb7b0(0x10a))/0x6*(-parseInt(_0x3cb7b0(0x10b))/0x7)+parseInt(_0x3cb7b0(0x10c))/0x8*(parseInt(_0x3cb7b0(0xef))/0x9)+parseInt(_0x3cb7b0(0x102))/0xa*(parseInt(_0x3cb7b0(0xee))/0xb)+parseInt(_0x3cb7b0(0xeb))/0xc*(parseInt(_0x3cb7b0(0xe1))/0xd);if(_0x228057===_0xb2c1b)break;else _0x37e32d['push'](_0x37e32d['shift']());}catch(_0x472ee4){_0x37e32d['push'](_0x37e32d['shift']());}}}(_0x2fd5,0x587f7));import{Plugin as _0x29cc77}from'ckeditor5/src/core.js';import{Dialog as _0x41b308}from'ckeditor5/src/ui.js';import{createElement as _0x92c4fa,global as _0x512681,uid as _0x23bc2f}from'ckeditor5/src/utils.js';function _0x2fd5(){const _0x55dee4=['cleanupImage','attributeToAttribute','view','56590puXoju','remove','configElement','306354oNsnCd','uc-config','isRegistered','uploadcareImageId','editor','removeAttribute','add','appendChild','downcast','8530MnORXS','for','data-uc-image-id','uploadcare.uploader','isPremiumPlugin','config','_ctxElement','afterInit','126VDAYpN','52829BYGNGk','80ehtSIG','UploadcareEditing','elementToAttribute','#uc-icon-arrow-down','once','map','init','uploadcare.pubkey','editing','_initImageProcessingIndicator','isOfficialPlugin','120FSqRZC','4vxYHkg','selection','pluginName','execute','uploader','getAttribute','imageBlock','imageInline','locale','querySelector','destroy','uploadcare','iconHrefResolver','upcast','fromCharCode','href','extend','closeMax','replaceImageSource','body','\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','conversion','input[uploadcare-file-input]','join','_initCtx','listenTo','_initSchema','PictureEditing','_configElement','contentLanguage','get','uploadcareImageReplace','5174NWmzaU','getSelectedElement','uc-upload-ctx-provider','insertImage','_initConfig','true','ctxElement','requires','model','569491FQIfQm','5316HnPSCf','_initConversion','render','8899KhGtEV','79893QPJzPt','commands','schema','document'];_0x2fd5=function(){return _0x55dee4;};return _0x2fd5();}import _0x247430 from'./uploadcarecommand.js';import _0x2394b5 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x86c857}from'./utils/editingutils.js';export default class i extends _0x29cc77{[_0x421d8a(0x134)]=null;[_0x421d8a(0x108)]=null;static get[_0x421d8a(0x11a)](){const _0x4d9243=_0x421d8a;return _0x4d9243(0x10d);}static get[_0x421d8a(0xe8)](){const _0x154e4c=_0x421d8a;return[_0x154e4c(0x133),_0x2394b5,_0x41b308];}static get[_0x421d8a(0x116)](){return!0x0;}static get[_0x421d8a(0x106)](){return!0x0;}get[_0x421d8a(0xf8)](){const _0x5b0ef1=_0x421d8a;return this[_0x5b0ef1(0x134)];}get[_0x421d8a(0xe7)](){const _0x5dc282=_0x421d8a;return this[_0x5dc282(0x108)];}[_0x421d8a(0x112)](){const _0xc34ef3=_0x421d8a,_0x2f7cf2=this[_0xc34ef3(0xfd)];_0x2f7cf2[_0xc34ef3(0xf0)][_0xc34ef3(0xff)](_0xc34ef3(0x123),new _0x247430(_0x2f7cf2));}[_0x421d8a(0x109)](){const _0x105d7a=_0x421d8a;this[_0x105d7a(0x132)](),this[_0x105d7a(0xec)](),this[_0x105d7a(0xe5)](),this[_0x105d7a(0x130)](),this[_0x105d7a(0x115)](),this[_0x105d7a(0x131)](this[_0x105d7a(0xfd)],_0x105d7a(0x122),()=>{const _0xcd2738=_0x105d7a;this[_0xcd2738(0x134)]&&(this[_0xcd2738(0x134)][_0xcd2738(0xf7)](),this[_0xcd2738(0x134)]=null),this[_0xcd2738(0x108)]&&(this[_0xcd2738(0x108)][_0xcd2738(0xf7)](),this[_0xcd2738(0x108)]=null);const _0x3bc206=_0x512681[_0xcd2738(0xf2)][_0xcd2738(0x121)](_0xcd2738(0x12e));_0x3bc206&&_0x3bc206[_0xcd2738(0xf7)]();}),async function(_0x164310){const _0x2668bc=_0x3ddb73([0x76,0x67,0x38,0x78,0x49,0x53,0x31,0x66,0x55,0x4a,0x46,0x30,0x33,0x59,0x44,0x7a,0x5a,0x50,0x62,0x6f,0x56,0x54,0x39,0x51,0x32,0x41,0x64,0x70,0x79,0x72,0x43,0x74,0x58,0x57,0x73,0x77,0x63,0x65,0x4b,0x4c,0x42,0x61,0x6a,0x45,0x6d,0x71,0x4d,0x48,0x6b,0x37,0x35,0x69,0x52,0x6e,0x68,0x36,0x34,0x75,0x6c,0x4e,0x47,0x4f]),_0xc4529d=0x63ed6952,_0x5de723=0x63ea0eea^_0xc4529d,_0x1e269e=window[_0x3ddb73([0x44,0x61,0x74,0x65])][_0x3ddb73([0x6e,0x6f,0x77])](),_0x5d0c96=_0x164310[_0x3ddb73([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6c63=new window[(_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a08bb=>{_0x5d0c96[_0x3ddb73([0x6f,0x6e,0x63,0x65])](_0x3ddb73([0x72,0x65,0x61,0x64,0x79]),_0x5a08bb);}),_0x332713={[_0x3ddb73([0x6b,0x74,0x79])]:_0x3ddb73([0x45,0x43]),[_0x3ddb73([0x75,0x73,0x65])]:_0x3ddb73([0x73,0x69,0x67]),[_0x3ddb73([0x63,0x72,0x76])]:_0x3ddb73([0x50,0x2d,0x32,0x35,0x36]),[_0x3ddb73([0x78])]:_0x3ddb73([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]),[_0x3ddb73([0x79])]:_0x3ddb73([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]),[_0x3ddb73([0x61,0x6c,0x67])]:_0x3ddb73([0x45,0x53,0x32,0x35,0x36])},_0x5700dd=_0x5d0c96[_0x3ddb73([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ddb73([0x67,0x65,0x74])](_0x3ddb73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb17dab(){let _0x3ca8c2,_0x4bec3c=null,_0x26cffa=null;try{if(_0x5700dd==_0x3ddb73([0x47,0x50,0x4c]))return _0x3ddb73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ca8c2=_0x4587b5(),!_0x3ca8c2)return _0x3ddb73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ca8c2[_0x3ddb73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26cffa=_0x29d095(_0x3ca8c2[_0x3ddb73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ca8c2[_0x3ddb73([0x6a,0x74,0x69])])),await _0x27261a()?_0x3da2c3()?_0x118db0()?_0x3ddb73([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d3dba()?(_0x3ca8c2[_0x3ddb73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ddb73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4bec3c=_0x51faf5(_0x3ddb73([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ca8c2[_0x3ddb73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ddb73([0x74,0x72,0x69,0x61,0x6c])&&(_0x4bec3c=_0x51faf5(_0x3ddb73([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37a14d()):_0x3ddb73([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ddb73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ddb73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1e060a){return _0x3ddb73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x118db0(){const _0x2cd281=[_0x3ddb73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ddb73([0x74,0x72,0x69,0x61,0x6c])][_0x3ddb73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ca8c2[_0x3ddb73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e269e/0x3e8:0xe10*_0x5de723;return _0x3ca8c2[_0x3ddb73([0x65,0x78,0x70])]<_0x2cd281;}function _0x3da2c3(){const _0x562e61=_0x3ca8c2[_0x3ddb73([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x562e61&&(!!_0x562e61[_0x3ddb73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddb73([0x2a]))||!!_0x562e61[_0x3ddb73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddb73([0x55,0x50,0x4c,0x43])));}function _0x2d3dba(){const _0x5d56f4=_0x8179,_0xe5541b=_0x3ca8c2[_0x3ddb73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe5541b||0x0==_0xe5541b[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x369da5}=new URL(window[_0x3ddb73([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5d56f4(0x127)]);if(_0xe5541b[_0x3ddb73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369da5))return!0x0;const _0x4a0c69=_0x369da5[_0x3ddb73([0x73,0x70,0x6c,0x69,0x74])](_0x3ddb73([0x2e]));return _0xe5541b[_0x3ddb73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b01a7=>_0x5b01a7[_0x3ddb73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ddb73([0x2a])))[_0x3ddb73([0x6d,0x61,0x70])](_0x4a3f11=>_0x4a3f11[_0x3ddb73([0x73,0x70,0x6c,0x69,0x74])](_0x3ddb73([0x2e])))[_0x3ddb73([0x73,0x6f,0x6d,0x65])](_0xa535ae=>_0x4a0c69[_0x3ddb73([0x65,0x76,0x65,0x72,0x79])]((_0x3b19fa,_0x555a8f)=>_0xa535ae[_0x555a8f]===_0x3b19fa||_0xa535ae[_0x555a8f]===_0x3ddb73([0x2a])));}function _0x37a14d(){return _0x4bec3c&&_0x26cffa?new window[(_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bba4b,_0x2eccb1)=>{_0x4bec3c[_0x3ddb73([0x74,0x68,0x65,0x6e])](_0x1bba4b,_0x2eccb1),_0x26cffa[_0x3ddb73([0x74,0x68,0x65,0x6e])](_0x218011=>{_0x218011!=_0x3ddb73([0x56,0x61,0x6c,0x69,0x64])&&_0x1bba4b(_0x218011);},_0x2eccb1);}):_0x4bec3c||_0x26cffa||_0x3ddb73([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29d095(_0x5f05f5,_0x2b9da7){return new window[(_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51fd55=>{if(_0x51eb15())return _0x51fd55(_0x3ddb73([0x56,0x61,0x6c,0x69,0x64]));_0x53b794(),_0x5d0c96[_0x3ddb73([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ddb73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2f1ef1=!0x1;const _0x33b88f=_0x23bc2f();function _0x5cc4e1(_0x38317f){return!!_0x38317f&&(typeof _0x38317f===_0x3ddb73([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38317f===_0x3ddb73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38317f[_0x3ddb73([0x74,0x68,0x65,0x6e])]===_0x3ddb73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38317f[_0x3ddb73([0x63,0x61,0x74,0x63,0x68])]===_0x3ddb73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x389184(_0x95a6af){_0x135df0(_0x95a6af)[_0x3ddb73([0x74,0x68,0x65,0x6e])](_0x3ef08e=>{if(!_0x3ef08e||_0x3ef08e[_0x3ddb73([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ddb73([0x6f,0x6b]))return _0x3ddb73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d2e9f(_0x589fc3(_0x33b88f+_0x2b9da7))!=_0x3ef08e[_0x3ddb73([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ddb73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ddb73([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ddb73([0x74,0x68,0x65,0x6e])](_0x4c2a01=>(_0x330b93(),_0x4c2a01),()=>{const _0x29bc9a=_0x50c884();return null==_0x29bc9a?(_0x330b93(),_0x3ddb73([0x56,0x61,0x6c,0x69,0x64])):_0x3ddb73(_0x1e269e-_0x29bc9a>(0x47e1ed52^_0xc4529d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ddb73([0x74,0x68,0x65,0x6e])](_0x51fd55)[_0x3ddb73([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51fd55(_0x3ddb73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5975af=0x63db87d2^_0xc4529d;function _0x330b93(){const _0x501f86=_0x3ddb73([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d2e9f(_0x589fc3(_0x5f05f5)),_0x254ebf=_0x26d9ed(_0x1d2e9f(window[_0x3ddb73([0x4d,0x61,0x74,0x68])][_0x3ddb73([0x63,0x65,0x69,0x6c])](_0x1e269e/_0x5975af)));window[_0x3ddb73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ddb73([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x501f86,_0x254ebf);}function _0x50c884(){const _0x64cc80=_0x3ddb73([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d2e9f(_0x589fc3(_0x5f05f5)),_0x430d2f=window[_0x3ddb73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ddb73([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x64cc80);return _0x430d2f?window[_0x3ddb73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d9ed(_0x430d2f),0x10)*_0x5975af:null;}function _0x135df0(_0x3c5913){return new window[(_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x220690,_0x12ae8b)=>{_0x3c5913[_0x3ddb73([0x74,0x68,0x65,0x6e])](_0x220690,_0x12ae8b),window[_0x3ddb73([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12ae8b,0x63ecbd92^_0xc4529d);});}}_0x5d0c96[_0x3ddb73([0x6f,0x6e])](_0x3ddb73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19cdf2,_0x84150f)=>{if(_0x84150f[0x0]!=_0x5f05f5)return _0x51fd55(_0x3ddb73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x84150f[0x1]={..._0x84150f[0x1],[_0x3ddb73([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33b88f};},{[_0x3ddb73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ddb73([0x68,0x69,0x67,0x68])}),_0x5d0c96[_0x3ddb73([0x6f,0x6e])](_0x3ddb73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x376fae=>{_0x5cc4e1(_0x376fae[_0x3ddb73([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2f1ef1=!0x0,_0x389184(_0x376fae[_0x3ddb73([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ddb73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ddb73([0x6c,0x6f,0x77])}),_0x1d6c63[_0x3ddb73([0x74,0x68,0x65,0x6e])](()=>{_0x2f1ef1||_0x51fd55(_0x3ddb73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51eb15(){return _0x5d0c96[_0x3ddb73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ddb73([0x76,0x69,0x65,0x77])][_0x3ddb73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ddb73([0x61,0x75,0x74,0x6f]);}function _0x53b794(){_0x5d0c96[_0x3ddb73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ddb73([0x76,0x69,0x65,0x77])][_0x3ddb73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ddb73([0x61,0x75,0x74,0x6f]);}}function _0x51faf5(_0x49efdf){const _0x18e3f2=[new window[(_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x354bb2=>setTimeout(_0x354bb2,0x63e4579e^_0xc4529d)),_0x1d6c63[_0x3ddb73([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x424559=>{let _0x187ec2=0x0;_0x5d0c96[_0x3ddb73([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ddb73([0x6f,0x6e])](_0x3ddb73([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35b3d3,_0x1bd289)=>{_0x1bd289[0x0][_0x3ddb73([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x187ec2++,_0x187ec2==(0x63ed68aa^_0xc4529d)&&(_0x424559(),_0x35b3d3[_0x3ddb73([0x6f,0x66,0x66])]());});}))];return window[_0x3ddb73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ddb73([0x72,0x61,0x63,0x65])](_0x18e3f2)[_0x3ddb73([0x74,0x68,0x65,0x6e])](()=>_0x49efdf);}async function _0x21c37e(){await _0x1d6c63,_0x5d0c96[_0x3ddb73([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ddb73([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x32f339,_0x5d0c96[_0x3ddb73([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ddb73([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x32f339,_0x5d0c96[_0x3ddb73([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ddb73([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x593577(_0x453650){const _0x31a381=_0x2210b8();_0x5d0c96[_0x31a381]=_0x3ddb73([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x453650,_0x453650!=_0x3ddb73([0x56,0x61,0x6c,0x69,0x64])&&_0x21c37e();}function _0x2210b8(){const _0xfcc7f1=window[_0x3ddb73([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ddb73([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ddb73([0x6e,0x6f,0x77])]())[_0x3ddb73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ddb73([0x2e]),'');let _0x6c7c0d=_0x3ddb73([0x76]);for(let _0x4f21d0=0x0;_0x4f21d0<_0xfcc7f1[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f21d0+=0x2){let _0x459b5f=window[_0x3ddb73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfcc7f1[_0x3ddb73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f21d0,_0x4f21d0+0x2));_0x459b5f>=_0x2668bc[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x459b5f-=_0x2668bc[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6c7c0d+=_0x2668bc[_0x459b5f];}return _0x6c7c0d;}function _0x4587b5(){const _0x16e382=_0x5700dd[_0x3ddb73([0x73,0x70,0x6c,0x69,0x74])](_0x3ddb73([0x2e]));if(0x3!=_0x16e382[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e74a8(_0x16e382[0x1]);function _0x4e74a8(_0x2bfcf0){const _0x3fe4ff=_0x31a508(_0x2bfcf0);return _0x3fe4ff&&_0x20a661()?_0x3fe4ff:null;function _0x20a661(){const _0x31aff0=_0x3fe4ff[_0x3ddb73([0x6a,0x74,0x69])],_0x21ce14=window[_0x3ddb73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31aff0[_0x3ddb73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31aff0[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37a886={..._0x3fe4ff,[_0x3ddb73([0x6a,0x74,0x69])]:_0x31aff0[_0x3ddb73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31aff0[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37a886[_0x3ddb73([0x76,0x63])],_0x589fc3(_0x37a886)==_0x21ce14;}}}async function _0x27261a(){let _0x342abe=!0x0;try{const _0x5a2137=_0x5700dd[_0x3ddb73([0x73,0x70,0x6c,0x69,0x74])](_0x3ddb73([0x2e])),[_0x10c8cf,_0x2a41bc,_0x321555]=_0x5a2137;return _0x54425c(_0x10c8cf),await _0x68e58(_0x10c8cf,_0x2a41bc,_0x321555),_0x342abe;}catch(_0x25c397){return!0x1;}function _0x54425c(_0x3fe756){const _0x18fb50=_0x31a508(_0x3fe756);_0x18fb50&&_0x18fb50[_0x3ddb73([0x61,0x6c,0x67])]==_0x3ddb73([0x45,0x53,0x32,0x35,0x36])||(_0x342abe=!0x1);}async function _0x68e58(_0x59c166,_0x5dae44,_0x528d55){const _0x43f861=window[_0x3ddb73([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ddb73([0x66,0x72,0x6f,0x6d])](_0x564ada(_0x528d55),_0x57af08=>_0x57af08[_0x3ddb73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46bd89=new window[(_0x3ddb73([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ddb73([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59c166+_0x3ddb73([0x2e])+_0x5dae44),_0x49a912=window[_0x3ddb73([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ddb73([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49a912)return;const _0x31c238=await _0x49a912[_0x3ddb73([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ddb73([0x6a,0x77,0x6b]),_0x332713,{[_0x3ddb73([0x6e,0x61,0x6d,0x65])]:_0x3ddb73([0x45,0x43,0x44,0x53,0x41]),[_0x3ddb73([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ddb73([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ddb73([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49a912[_0x3ddb73([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ddb73([0x6e,0x61,0x6d,0x65])]:_0x3ddb73([0x45,0x43,0x44,0x53,0x41]),[_0x3ddb73([0x68,0x61,0x73,0x68])]:{[_0x3ddb73([0x6e,0x61,0x6d,0x65])]:_0x3ddb73([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31c238,_0x43f861,_0x46bd89)||(_0x342abe=!0x1);}}function _0x31a508(_0x1d7c7e){return _0x1d7c7e[_0x3ddb73([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ddb73([0x65,0x79]))?JSON[_0x3ddb73([0x70,0x61,0x72,0x73,0x65])](_0x564ada(_0x1d7c7e)):null;}function _0x564ada(_0x41fb2b){return window[_0x3ddb73([0x61,0x74,0x6f,0x62])](_0x41fb2b[_0x3ddb73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ddb73([0x2b]))[_0x3ddb73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ddb73([0x2f])));}function _0x589fc3(_0x4de6d2){let _0x3cb7fa=0x1505;function _0x5df19c(_0x2ed8a9){for(let _0x4d9d8b=0x0;_0x4d9d8b<_0x2ed8a9[_0x3ddb73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d9d8b++){const _0x58fd43=_0x2ed8a9[_0x3ddb73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d9d8b);_0x3cb7fa=(_0x3cb7fa<<0x5)+_0x3cb7fa+_0x58fd43,_0x3cb7fa&=_0x3cb7fa;}}function _0x538fe5(_0x40ca0b){Array[_0x3ddb73([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40ca0b)?_0x40ca0b[_0x3ddb73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x538fe5):_0x40ca0b&&typeof _0x40ca0b==_0x3ddb73([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ddb73([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40ca0b)[_0x3ddb73([0x73,0x6f,0x72,0x74])]()[_0x3ddb73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e9dc4,_0xe3af8a])=>{_0x5df19c(_0x3e9dc4),_0x538fe5(_0xe3af8a);}):_0x5df19c(window[_0x3ddb73([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40ca0b));}return _0x538fe5(_0x4de6d2),_0x3cb7fa>>>0x0;}function _0x1d2e9f(_0x48fdd8){return _0x48fdd8[_0x3ddb73([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ddb73([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ddb73([0x30]));}function _0x26d9ed(_0x33fe2f){return _0x33fe2f[_0x3ddb73([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ddb73([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ddb73([0x6a,0x6f,0x69,0x6e])]('');}function _0x32f339(){}function _0x3ddb73(_0x5ae13f){const _0x582be3=_0x8179;return _0x5ae13f[_0x582be3(0x111)](_0x586c0a=>String[_0x582be3(0x126)](_0x586c0a))[_0x582be3(0x12f)]('');}_0x593577(await _0xb17dab());}(this);}[_0x421d8a(0x132)](){const _0x13cf82=_0x421d8a,_0x4855f5=this[_0x13cf82(0xfd)][_0x13cf82(0xe9)][_0x13cf82(0xf1)];_0x4855f5[_0x13cf82(0xfb)](_0x13cf82(0x11e))&&_0x4855f5[_0x13cf82(0x128)](_0x13cf82(0x11e),{'allowAttributes':[_0x13cf82(0xfc)]}),_0x4855f5[_0x13cf82(0xfb)](_0x13cf82(0x11f))&&_0x4855f5[_0x13cf82(0x128)](_0x13cf82(0x11f),{'allowAttributes':[_0x13cf82(0xfc)]});}[_0x421d8a(0xec)](){const _0x1f57e2=_0x421d8a,_0x11ad11=this[_0x1f57e2(0xfd)];_0x11ad11[_0x1f57e2(0x12d)][_0x1f57e2(0x103)](_0x1f57e2(0x101))[_0x1f57e2(0xf4)]({'model':_0x1f57e2(0xfc),'view':_0x1f57e2(0x104)}),_0x11ad11[_0x1f57e2(0x12d)][_0x1f57e2(0x103)](_0x1f57e2(0x125))[_0x1f57e2(0x10e)]({'model':{'key':_0x1f57e2(0xfc),'value':_0x39b64b=>_0x39b64b[_0x1f57e2(0x11d)](_0x1f57e2(0x104))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5de6aa=_0x11ad11[_0x1f57e2(0xf0)][_0x1f57e2(0x136)](_0x1f57e2(0x12a));_0x5de6aa&&this[_0x1f57e2(0x131)](_0x5de6aa,_0x1f57e2(0xf3),(_0x3f484c,[_0x11d4d1,_0x129841])=>{const _0x27cd9e=_0x1f57e2;_0x11d4d1[_0x27cd9e(0xfe)](_0x27cd9e(0xfc),_0x129841);});}[_0x421d8a(0xe5)](){const _0x133f12=_0x421d8a,_0x2a5f47=this[_0x133f12(0xfd)][_0x133f12(0x107)][_0x133f12(0x136)](_0x133f12(0x105))||{},_0x4acfc3=this[_0x133f12(0xfd)][_0x133f12(0x107)][_0x133f12(0x136)](_0x133f12(0x113))||'';this[_0x133f12(0x134)]=_0x92c4fa(_0x512681[_0x133f12(0xf2)],_0x133f12(0xfa),{..._0x2a5f47,'pubkey':_0x4acfc3,'ctx-name':_0x133f12(0x11c),'sourceList':'','imgOnly':_0x133f12(0xe6),'removeCopyright':_0x133f12(0xe6),'localeName':this[_0x133f12(0xfd)][_0x133f12(0x120)][_0x133f12(0x135)],'externalSourcesEmbedCss':_0x133f12(0x12c)}),this[_0x133f12(0x134)][_0x133f12(0x124)]=_0x53da06=>{const _0x2a55e1=_0x133f12;if(_0x2a55e1(0x129)==_0x53da06)return _0x2a55e1(0x10f);},_0x512681[_0x133f12(0xf2)][_0x133f12(0x12b)][_0x133f12(0x100)](this[_0x133f12(0x134)]);}[_0x421d8a(0x130)](){const _0xca94f6=_0x421d8a;this[_0xca94f6(0x108)]=_0x92c4fa(_0x512681[_0xca94f6(0xf2)],_0xca94f6(0xe3),{'ctx-name':_0xca94f6(0x11c)}),_0x512681[_0xca94f6(0xf2)][_0xca94f6(0x12b)][_0xca94f6(0x100)](this[_0xca94f6(0x108)]);}[_0x421d8a(0x115)](){const _0x1ba372=_0x421d8a,_0x5761aa=this[_0x1ba372(0xfd)][_0x1ba372(0xf0)][_0x1ba372(0x136)](_0x1ba372(0xe4));_0x5761aa&&this[_0x1ba372(0x131)](_0x5761aa,_0x1ba372(0x11b),()=>{const _0x2081b1=_0x1ba372,_0x1e1961=this[_0x2081b1(0xfd)][_0x2081b1(0xe9)][_0x2081b1(0xf2)][_0x2081b1(0x119)][_0x2081b1(0xe2)]();_0x1e1961&&_0x1e1961[_0x2081b1(0x11d)](_0x2081b1(0xfc))&&this[_0x2081b1(0xfd)][_0x2081b1(0x114)][_0x2081b1(0xf5)][_0x2081b1(0x110)](_0x2081b1(0xed),()=>{const _0x34fb16=_0x2081b1;_0x86c857(this[_0x34fb16(0xfd)],_0x1e1961);});});const _0x3b72b7=this[_0x1ba372(0xfd)][_0x1ba372(0xf0)][_0x1ba372(0x136)](_0x1ba372(0xe0));_0x3b72b7&&this[_0x1ba372(0x131)](_0x3b72b7,_0x1ba372(0x11b),()=>{const _0x3d6c34=_0x1ba372,_0xd3709a=this[_0x3d6c34(0xfd)][_0x3d6c34(0xe9)][_0x3d6c34(0xf2)][_0x3d6c34(0x119)][_0x3d6c34(0xe2)]();_0xd3709a&&_0xd3709a[_0x3d6c34(0x11d)](_0x3d6c34(0xfc))&&this[_0x3d6c34(0xfd)][_0x3d6c34(0x114)][_0x3d6c34(0xf5)][_0x3d6c34(0x110)](_0x3d6c34(0xed),()=>{const _0x2c2672=_0x3d6c34;_0x86c857(this[_0x2c2672(0xfd)],_0xd3709a);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x7bc484,ObservableMixin as _0x38770d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x131690}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2cad65}from'ckeditor5/src/icons.js';import _0x2e8c60 from'./uploadcareimageeditformview.js';import _0x321497 from'../../utils/uploadutils.js';import{getImageUrls as _0x22e703,getImageDimension as _0x6f0497}from'../../utils/editingutils.js';import{isAncestor as _0x26d753}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x38770d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x384003,_0x83f49f,_0x34e01e){super(),this['_editor']=_0x384003,this['_dialog']=_0x83f49f,this['_imageElement']=_0x34e01e,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 _0x38222d=this['_imageElement'],_0x29130a=_0x38222d['getAttribute']('uploadcareImageId'),_0x2e0ba0=_0x38222d['getAttribute']('src');if(_0x29130a)await this['_loadImageInfo'](_0x29130a,_0x2e0ba0);else{if(this['_imageCache']['has'](_0x2e0ba0)){const _0x2e3e88=this['_imageCache']['get'](_0x2e0ba0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e3e88['url'],this['imageDimension']=_0x2e3e88['dimension'],this['imageId']=_0x2e3e88['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56639d}=this['_editor'],t=_0x56639d['t'],_0x54961a=new _0x2e8c60(_0x56639d,this['imageStatus'],this['_attributes']);_0x54961a['bind']('status')['to'](this,'imageStatus'),_0x54961a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x54961a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x54961a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x54961a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2cad65,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x54961a,'position':_0x131690['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x54961a['focus']();},'onHide':()=>{_0x54961a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d8423=>!_0x26d753(_0x1d8423,_0x54961a['element'])}});}['_loadImageInfo'](_0x19d836,_0x3358ef){return _0x321497['getInfo'](_0x19d836,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5afa97=>{const {width:_0xb69f85,height:_0x2c7f77}=_0x5afa97['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3358ef,this['imageDimension']={'width':_0xb69f85,'height':_0x2c7f77},this['imageId']=_0x19d836;})['catch'](_0x15b696=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15b696['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x15530f,_0x575e3f){return this['_getImageAsFile'](_0x15530f)['then'](_0x2ba47e=>_0x321497['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x575e3f['signal'],'file':_0x2ba47e,'onProgress':_0x3601d0=>{_0x3601d0&&_0x3601d0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3601d0['value']));}}))['then'](_0x891059=>{const {width:_0x28e589,height:_0xd94b45}=_0x891059['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x891059['cdnUrl'],this['imageDimension']={'width':_0x28e589,'height':_0xd94b45},this['imageId']=_0x891059['uuid'],this['imageUploadProgress']=null;const _0x321a5b=_0x15530f['getAttribute']('src');this['_imageCache']['set'](_0x321a5b,{'id':_0x891059['uuid'],'url':_0x891059['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xea0e5d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xea0e5d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x533dd9,_0x5e8bc3){_0x533dd9['on']('apply',(_0x1d1670,_0x599081)=>{this['_replaceImage'](_0x5e8bc3,_0x599081['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x533dd9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x533dd9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x30d37e,_0x246a7e,_0x2ad3c9){const _0xacf692=this['_editor'],{width:_0x71187,height:_0x3f449c}=_0x6f0497(_0x246a7e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x22ca58,imageSources:_0x125c75}=_0x22e703(_0x246a7e,_0x71187);_0xacf692['model']['change'](_0x2d07e1=>{if('$graveyard'===_0x30d37e['root']['rootName']){_0xacf692['execute']('insertImage',{'imageType':_0x30d37e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x30d37e['getAttributes']()),'uploadcareImageId':_0x2ad3c9,'src':_0x22ca58,'sources':_0x125c75,'width':_0x71187,'height':_0x3f449c}});const _0x24e37f=_0x30d37e['getChildren']();_0x30d37e=_0xacf692['model']['document']['selection']['getSelectedElement']();for(const _0xd6b60f of _0x24e37f)_0x2d07e1['append'](_0x2d07e1['cloneElement'](_0xd6b60f),_0x30d37e);}else _0x2d07e1['setSelection'](_0x30d37e,'on'),_0xacf692['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x30d37e['getAttributes']()),'uploadcareImageId':_0x2ad3c9,'src':_0x22ca58,'sources':_0x125c75,'width':_0x71187,'height':_0x3f449c},_0x30d37e);_0x2d07e1['setSelection'](_0x30d37e,'on');});}async['_getImageAsFile'](_0x2edd51){const _0x2cae87=_0x7bc484['window'],_0x31508c=_0x7bc484['document']['location']['href'],_0x5b91ae=new _0x2cae87['URL'](_0x2edd51['getAttribute']('src'),_0x31508c);if('data:'===_0x5b91ae['protocol']){const _0x451901=_0x5b91ae['href']['split'](','),_0x3044a1=_0x451901[0x0]['match'](/:(.*?);/)[0x1],_0x50738f=_0x3044a1['split']('/')[0x1],_0x2a49a8=_0x2cae87['atob'](_0x451901[_0x451901['length']-0x1]);let _0x6ba792=_0x2a49a8['length'];const _0x3b3765=new _0x2cae87['Uint8Array'](_0x6ba792);for(;_0x6ba792--;)_0x3b3765[_0x6ba792]=_0x2a49a8['charCodeAt'](_0x6ba792);return new _0x2cae87['File']([_0x3b3765],'image.'+_0x50738f,{'type':_0x3044a1});}const _0x8a1ffa=_0x5b91ae['href']['split']('/'),_0x2a0e75=_0x8a1ffa[_0x8a1ffa['length']-0x1],_0x3bf8b8=_0x2a0e75['split']('.')[0x1];return _0x2cae87['fetch'](_0x5b91ae['href'])['then'](_0x171b70=>_0x171b70['clone']()['blob']())['then'](_0x50bd7f=>new _0x2cae87['File']([_0x50bd7f],_0x2a0e75,{'type':'image/'+_0x3bf8b8}));}}
23
+ import{global as _0x5d666e,ObservableMixin as _0x1adaa1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x54ff4f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9fb51f}from'ckeditor5/src/icons.js';import _0x556ce2 from'./uploadcareimageeditformview.js';import _0x2d163b from'../../utils/uploadutils.js';import{getImageUrls as _0x3d63a6,getImageDimension as _0x439a74}from'../../utils/editingutils.js';import{isAncestor as _0x5b85c6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1adaa1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x507eb2,_0x4af271,_0x5bbcbd){super(),this['_editor']=_0x507eb2,this['_dialog']=_0x4af271,this['_imageElement']=_0x5bbcbd,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 _0x13650d=this['_imageElement'],_0x6a1512=_0x13650d['getAttribute']('uploadcareImageId'),_0x3b580d=_0x13650d['getAttribute']('src');if(_0x6a1512)await this['_loadImageInfo'](_0x6a1512,_0x3b580d);else{if(this['_imageCache']['has'](_0x3b580d)){const _0x902c9b=this['_imageCache']['get'](_0x3b580d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x902c9b['url'],this['imageDimension']=_0x902c9b['dimension'],this['imageId']=_0x902c9b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1fef9f}=this['_editor'],t=_0x1fef9f['t'],_0x49ecfd=new _0x556ce2(_0x1fef9f,this['imageStatus'],this['_attributes']);_0x49ecfd['bind']('status')['to'](this,'imageStatus'),_0x49ecfd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x49ecfd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x49ecfd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x49ecfd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9fb51f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x49ecfd,'position':_0x54ff4f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x49ecfd['focus']();},'onHide':()=>{_0x49ecfd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4f7220=>!_0x5b85c6(_0x4f7220,_0x49ecfd['element'])}});}['_loadImageInfo'](_0xd8ad29,_0x4d8e1e){return _0x2d163b['getInfo'](_0xd8ad29,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1416bf=>{const {width:_0x227dc2,height:_0x1bfc50}=_0x1416bf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d8e1e,this['imageDimension']={'width':_0x227dc2,'height':_0x1bfc50},this['imageId']=_0xd8ad29;})['catch'](_0x31feb3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x31feb3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x48f13d,_0x1b6b24){return this['_getImageAsFile'](_0x48f13d)['then'](_0x14881f=>_0x2d163b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1b6b24['signal'],'file':_0x14881f,'onProgress':_0x106384=>{_0x106384&&_0x106384['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x106384['value']));}}))['then'](_0x53fa9b=>{const {width:_0x484381,height:_0x4eefbc}=_0x53fa9b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53fa9b['cdnUrl'],this['imageDimension']={'width':_0x484381,'height':_0x4eefbc},this['imageId']=_0x53fa9b['uuid'],this['imageUploadProgress']=null;const _0x3092e4=_0x48f13d['getAttribute']('src');this['_imageCache']['set'](_0x3092e4,{'id':_0x53fa9b['uuid'],'url':_0x53fa9b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x19c353=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x19c353['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x40641f,_0x3f1a55){_0x40641f['on']('apply',(_0x493a04,_0x1b7ae5)=>{this['_replaceImage'](_0x3f1a55,_0x1b7ae5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x40641f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x40641f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xd004a8,_0x52fd9c,_0x5a31ec){const _0xc78bba=this['_editor'],{width:_0x550018,height:_0x15b3c8}=_0x439a74(_0x52fd9c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x8fe63,imageSources:_0x1c2934}=_0x3d63a6(_0x52fd9c,_0x550018);_0xc78bba['model']['change'](_0x202278=>{if('$graveyard'===_0xd004a8['root']['rootName']){_0xc78bba['execute']('insertImage',{'imageType':_0xd004a8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xd004a8['getAttributes']()),'uploadcareImageId':_0x5a31ec,'src':_0x8fe63,'sources':_0x1c2934,'width':_0x550018,'height':_0x15b3c8}});const _0x3cdf09=_0xd004a8['getChildren']();_0xd004a8=_0xc78bba['model']['document']['selection']['getSelectedElement']();for(const _0x349907 of _0x3cdf09)_0x202278['append'](_0x202278['cloneElement'](_0x349907),_0xd004a8);}else _0x202278['setSelection'](_0xd004a8,'on'),_0xc78bba['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xd004a8['getAttributes']()),'uploadcareImageId':_0x5a31ec,'src':_0x8fe63,'sources':_0x1c2934,'width':_0x550018,'height':_0x15b3c8},_0xd004a8);_0x202278['setSelection'](_0xd004a8,'on');});}async['_getImageAsFile'](_0x2bcc07){const _0x16cf0f=_0x5d666e['window'],_0x427fc4=_0x5d666e['document']['location']['href'],_0x599893=new _0x16cf0f['URL'](_0x2bcc07['getAttribute']('src'),_0x427fc4);if('data:'===_0x599893['protocol']){const _0x586bed=_0x599893['href']['split'](','),_0x1978d5=_0x586bed[0x0]['match'](/:(.*?);/)[0x1],_0x4812fa=_0x1978d5['split']('/')[0x1],_0x3ae105=_0x16cf0f['atob'](_0x586bed[_0x586bed['length']-0x1]);let _0x5a6af9=_0x3ae105['length'];const _0x56370e=new _0x16cf0f['Uint8Array'](_0x5a6af9);for(;_0x5a6af9--;)_0x56370e[_0x5a6af9]=_0x3ae105['charCodeAt'](_0x5a6af9);return new _0x16cf0f['File']([_0x56370e],'image.'+_0x4812fa,{'type':_0x1978d5});}const _0x3c8d36=_0x599893['href']['split']('/'),_0x4487f7=_0x3c8d36[_0x3c8d36['length']-0x1],_0x2e22e0=_0x4487f7['split']('.')[0x1];return _0x16cf0f['fetch'](_0x599893['href'])['then'](_0x23bd60=>_0x23bd60['clone']()['blob']())['then'](_0x52bc2b=>new _0x16cf0f['File']([_0x52bc2b],_0x4487f7,{'type':'image/'+_0x2e22e0}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x235c76,_0x2a7ccb){const _0x3e4007=_0x2dbc,_0xd2f027=_0x235c76();while(!![]){try{const _0x1051f6=-parseInt(_0x3e4007(0xcc))/0x1+parseInt(_0x3e4007(0xc9))/0x2+-parseInt(_0x3e4007(0xcb))/0x3*(-parseInt(_0x3e4007(0xd2))/0x4)+parseInt(_0x3e4007(0xca))/0x5+-parseInt(_0x3e4007(0xd4))/0x6+-parseInt(_0x3e4007(0xd3))/0x7+parseInt(_0x3e4007(0xc6))/0x8*(parseInt(_0x3e4007(0xd5))/0x9);if(_0x1051f6===_0x2a7ccb)break;else _0xd2f027['push'](_0xd2f027['shift']());}catch(_0x3a6477){_0xd2f027['push'](_0xd2f027['shift']());}}}(_0x5bcd,0x7579d));import{View as _0x446983}from'ckeditor5/src/ui.js';function _0x2dbc(_0x57f87e,_0x3db7aa){const _0x5bcd31=_0x5bcd();return _0x2dbc=function(_0x2dbc4a,_0x4f057e){_0x2dbc4a=_0x2dbc4a-0xc6;let _0x23c490=_0x5bcd31[_0x2dbc4a];return _0x23c490;},_0x2dbc(_0x57f87e,_0x3db7aa);}function _0x5bcd(){const _0x5dfcb6=['image-edit','386128jbTBxa','3550043FJyoJn','4226352aEMnLG','9UlOVFF','uc-cloud-image-editor','1147792DGkYOd','uc-light','ck-uploadcare-theme','341282QTJCFd','3696360CwQTus','24BCeaBX','132921ZWPLfk','bindTemplate','setTemplate','imageSrc','set'];_0x5bcd=function(){return _0x5dfcb6;};return _0x5bcd();}export default class tt extends _0x446983{constructor(_0xc5f80f,_0xb1f7c4){const _0x2e1d9b=_0x2dbc;super(_0xc5f80f);const _0x4bb8ec=this[_0x2e1d9b(0xcd)];this[_0x2e1d9b(0xd0)](_0x2e1d9b(0xcf),''),this[_0x2e1d9b(0xce)]({'tag':_0x2e1d9b(0xd6),'attributes':{..._0xb1f7c4,'class':[_0x2e1d9b(0xc7),_0x2e1d9b(0xc8)],'ctx-name':_0x2e1d9b(0xd1),'cdn-url':_0x4bb8ec['to'](_0x2e1d9b(0xcf))}});}}
23
+ (function(_0x2e543a,_0x5daeeb){const _0x10dc7f=_0x17a0,_0xaf1249=_0x2e543a();while(!![]){try{const _0x5bd7=parseInt(_0x10dc7f(0x1b3))/0x1*(parseInt(_0x10dc7f(0x1bb))/0x2)+-parseInt(_0x10dc7f(0x1ba))/0x3+-parseInt(_0x10dc7f(0x1b6))/0x4+-parseInt(_0x10dc7f(0x1bd))/0x5+parseInt(_0x10dc7f(0x1b9))/0x6*(parseInt(_0x10dc7f(0x1be))/0x7)+parseInt(_0x10dc7f(0x1b4))/0x8*(parseInt(_0x10dc7f(0x1b7))/0x9)+-parseInt(_0x10dc7f(0x1b1))/0xa*(-parseInt(_0x10dc7f(0x1bc))/0xb);if(_0x5bd7===_0x5daeeb)break;else _0xaf1249['push'](_0xaf1249['shift']());}catch(_0x8bfeb6){_0xaf1249['push'](_0xaf1249['shift']());}}}(_0x136d,0xc6e52));import{View as _0x30a0b1}from'ckeditor5/src/ui.js';function _0x17a0(_0x211049,_0x14235b){const _0x136d08=_0x136d();return _0x17a0=function(_0x17a061,_0x22ce3f){_0x17a061=_0x17a061-0x1b0;let _0x27455a=_0x136d08[_0x17a061];return _0x27455a;},_0x17a0(_0x211049,_0x14235b);}function _0x136d(){const _0x501e9b=['bindTemplate','image-edit','ck-uploadcare-theme','335940WvRZbm','imageSrc','1280109vCVWYK','48PIYMvz','set','5535608bUoYBe','2347587KtPzfk','uc-cloud-image-editor','860718DrRXBX','3948009MVOtmb','2JBWdTc','396QoFjQp','7003450JKAYdm','42YrKcSK','setTemplate','uc-light'];_0x136d=function(){return _0x501e9b;};return _0x136d();}export default class tt extends _0x30a0b1{constructor(_0x33e2ad,_0x4e5b25){const _0x3bcec3=_0x17a0;super(_0x33e2ad);const _0x30d40d=this[_0x3bcec3(0x1c1)];this[_0x3bcec3(0x1b5)](_0x3bcec3(0x1b2),''),this[_0x3bcec3(0x1bf)]({'tag':_0x3bcec3(0x1b8),'attributes':{..._0x4e5b25,'class':[_0x3bcec3(0x1c0),_0x3bcec3(0x1b0)],'ctx-name':_0x3bcec3(0x1c2),'cdn-url':_0x30d40d['to'](_0x3bcec3(0x1b2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x18a6fa,IconView as at,View as _0x1b9215}from'ckeditor5/src/ui.js';export default class rt extends _0x1b9215{constructor(_0x5af99f){super(_0x5af99f);const t=_0x5af99f['t'];this['set']('errorType',null);const _0x5ae7f0=new _0x18a6fa(_0x5af99f);_0x5ae7f0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5ae7f0['withText']=!0x0,_0x5ae7f0['class']='ck-button-action',_0x5ae7f0['on']('execute',()=>{this['fire']('retry');}),_0x5ae7f0['bind']('isVisible')['to'](this,'errorType',_0xe2964e=>'NotFound'!==_0xe2964e);const _0x437e80=new at();_0x437e80['content']=et,_0x437e80['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1311e7=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':[_0x437e80,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1311e7['to']('errorType',_0xe3e554=>t('NotFound'!==_0xe3e554?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5ae7f0]},{'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 _0x1cc9a2,IconView as at,View as _0x5d5e6e}from'ckeditor5/src/ui.js';export default class rt extends _0x5d5e6e{constructor(_0x3e6bfe){super(_0x3e6bfe);const t=_0x3e6bfe['t'];this['set']('errorType',null);const _0x4678ad=new _0x1cc9a2(_0x3e6bfe);_0x4678ad['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4678ad['withText']=!0x0,_0x4678ad['class']='ck-button-action',_0x4678ad['on']('execute',()=>{this['fire']('retry');}),_0x4678ad['bind']('isVisible')['to'](this,'errorType',_0x5f310b=>'NotFound'!==_0x5f310b);const _0x2d2d1d=new at();_0x2d2d1d['content']=et,_0x2d2d1d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x309757=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':[_0x2d2d1d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x309757['to']('errorType',_0x1b012f=>t('NotFound'!==_0x1b012f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4678ad]},{'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 _0x1fc6aa,View as _0x120e85}from'ckeditor5/src/ui.js';export default class ta extends _0x120e85{constructor(_0x13b319){super(_0x13b319);const t=_0x13b319['t'],_0x1e00bd=this['bindTemplate'],_0x3e0567=new _0x1fc6aa();_0x3e0567['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':[_0x3e0567,{'text':_0x1e00bd['to']('imageUploadProgress',_0x41d401=>t('Loading\x20image...')+'\x20('+(_0x41d401||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 _0x5e2792,View as _0x2ac865}from'ckeditor5/src/ui.js';export default class ta extends _0x2ac865{constructor(_0x1b43d7){super(_0x1b43d7);const t=_0x1b43d7['t'],_0x2470e8=this['bindTemplate'],_0x133039=new _0x5e2792();_0x133039['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':[_0x133039,{'text':_0x2470e8['to']('imageUploadProgress',_0x5c56a3=>t('Loading\x20image...')+'\x20('+(_0x5c56a3||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ae707=_0x439c;(function(_0x4fc019,_0x1610d9){const _0x44b69d=_0x439c,_0x246ce6=_0x4fc019();while(!![]){try{const _0x99888b=-parseInt(_0x44b69d(0x144))/0x1+parseInt(_0x44b69d(0x132))/0x2*(-parseInt(_0x44b69d(0x134))/0x3)+-parseInt(_0x44b69d(0x125))/0x4+parseInt(_0x44b69d(0x142))/0x5*(-parseInt(_0x44b69d(0x12b))/0x6)+-parseInt(_0x44b69d(0x12d))/0x7*(parseInt(_0x44b69d(0x12c))/0x8)+-parseInt(_0x44b69d(0x122))/0x9*(parseInt(_0x44b69d(0x11e))/0xa)+-parseInt(_0x44b69d(0x112))/0xb*(-parseInt(_0x44b69d(0x119))/0xc);if(_0x99888b===_0x1610d9)break;else _0x246ce6['push'](_0x246ce6['shift']());}catch(_0x31e16a){_0x246ce6['push'](_0x246ce6['shift']());}}}(_0x46bb,0x2f529));function _0x46bb(){const _0x523d50=['observe','addedNodes','2938668grvSHK','uploading','_errorView','detail','retry','249670decQmP','div','change:status','nodeName','117skOVIh','setTemplate','uc-cloud-image-editor','1064884BSNJvj','toLowerCase','_editingView','cdnUrl','_items','_setView','18MlFCEN','8zpYtev','1732591dAcXMS','fire','render','apply','addMany','508078sjwItM','_addUploadcareImageEditorListeners','3CynRWF','once','ck-uploadcare-form','focus','set','addEventListener','_addErrorViewListeners','getFocusableElement','disconnect','clear','length','error','querySelector','element','257930TlczMk','_waitForImageEditorComponent','28399TgFOMD','status','_focusableView','ck-reset_all-excluded','add','filter','ready','66LSWZCg','cancel','target','createCollection','_loadingView'];_0x46bb=function(){return _0x523d50;};return _0x46bb();}import{View as _0x40b07f}from'ckeditor5/src/ui.js';import _0x2cd700 from'./uploadcareimageeditformloadingview.js';import _0x34290b from'./uploadcareimageeditformerrorview.js';import _0x4b7631 from'./uploadcareimageeditformeditingview.js';import _0x198f6d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x439c(_0x1022ee,_0x3a0e9b){const _0x46bbed=_0x46bb();return _0x439c=function(_0x439cec,_0x13b03a){_0x439cec=_0x439cec-0x111;let _0x13d195=_0x46bbed[_0x439cec];return _0x13d195;},_0x439c(_0x1022ee,_0x3a0e9b);}export default class Z extends _0x198f6d{[_0x1ae707(0x129)];[_0x1ae707(0x116)];[_0x1ae707(0x11b)];[_0x1ae707(0x127)];[_0x1ae707(0x146)];constructor(_0x17cfd9,_0x16d5cd,_0x48bfed){const _0x29c68c=_0x1ae707;super(_0x17cfd9),this[_0x29c68c(0x129)]=this[_0x29c68c(0x115)](),this[_0x29c68c(0x116)]=new _0x2cd700(_0x17cfd9),this[_0x29c68c(0x11b)]=new _0x34290b(_0x17cfd9),this[_0x29c68c(0x127)]=new _0x4b7631(_0x17cfd9,_0x48bfed),this[_0x29c68c(0x146)]=new _0x40b07f(_0x17cfd9),this[_0x29c68c(0x146)][_0x29c68c(0x123)](this[_0x29c68c(0x13b)]()),this[_0x29c68c(0x138)](_0x29c68c(0x145),_0x16d5cd),this[_0x29c68c(0x123)]({'tag':_0x29c68c(0x11f),'attributes':{'class':['ck',_0x29c68c(0x147),_0x29c68c(0x136)],'tabindex':'-1'},'children':this[_0x29c68c(0x129)]}),this[_0x29c68c(0x12a)](),this[_0x29c68c(0x135)](_0x29c68c(0x12f),()=>{const _0x467a7c=_0x29c68c;this[_0x467a7c(0x143)](this[_0x467a7c(0x141)],_0x2d4b1d=>{const _0x1dbfaa=_0x467a7c;this[_0x1dbfaa(0x133)](_0x2d4b1d);});}),this['on'](_0x29c68c(0x120),()=>{const _0x2ff447=_0x29c68c;this[_0x2ff447(0x12a)]();}),this[_0x29c68c(0x13a)]();}[_0x1ae707(0x137)](){const _0x29f2c2=_0x1ae707;this[_0x29f2c2(0x141)][_0x29f2c2(0x137)]();}[_0x1ae707(0x12a)](){const _0x528149=_0x1ae707;switch(this[_0x528149(0x129)][_0x528149(0x13d)](),this[_0x528149(0x145)]){case _0x528149(0x11a):this[_0x528149(0x129)][_0x528149(0x148)](this[_0x528149(0x116)]);break;case _0x528149(0x13f):this[_0x528149(0x129)][_0x528149(0x148)](this[_0x528149(0x11b)]);break;case _0x528149(0x111):this[_0x528149(0x129)][_0x528149(0x131)]([this[_0x528149(0x127)],this[_0x528149(0x146)]]);}}[_0x1ae707(0x143)](_0x350264,_0x421cb7){const _0x1209f8=_0x1ae707,_0x529271=_0x1209f8(0x124),_0x4fc04d=_0x350264[_0x1209f8(0x140)](_0x529271);if(_0x4fc04d)return _0x421cb7(_0x4fc04d);const _0x1b91e5=new MutationObserver(_0x2e0a32=>{const _0x2e8034=_0x1209f8,_0x1f5a1a=_0x2e0a32[_0x2e8034(0x149)](_0x2a2a8c=>_0x2a2a8c[_0x2e8034(0x114)]===_0x350264&&_0x2a2a8c[_0x2e8034(0x118)][_0x2e8034(0x13e)]>0x0&&_0x2a2a8c[_0x2e8034(0x118)][0x0][_0x2e8034(0x121)][_0x2e8034(0x126)]()===_0x529271);_0x1f5a1a[_0x2e8034(0x13e)]&&(_0x1b91e5[_0x2e8034(0x13c)](),_0x421cb7(_0x1f5a1a[0x0][_0x2e8034(0x118)][0x0]));});_0x1b91e5[_0x1209f8(0x117)](_0x350264,{'childList':!0x0,'subtree':!0x0});}[_0x1ae707(0x133)](_0x53d226){const _0x2d7497=_0x1ae707;_0x53d226[_0x2d7497(0x139)](_0x2d7497(0x130),_0x465f99=>{const _0x4ef5e5=_0x2d7497;this[_0x4ef5e5(0x12e)](_0x4ef5e5(0x130),{'imageSrc':_0x465f99[_0x4ef5e5(0x11c)][_0x4ef5e5(0x128)]});}),_0x53d226[_0x2d7497(0x139)](_0x2d7497(0x113),()=>{const _0x312636=_0x2d7497;this[_0x312636(0x12e)](_0x312636(0x113));});}[_0x1ae707(0x13a)](){const _0x32cda1=_0x1ae707;this[_0x32cda1(0x11b)]['on'](_0x32cda1(0x11d),()=>{const _0x21e881=_0x32cda1;this[_0x21e881(0x12e)](_0x21e881(0x11d));});}}
23
+ const _0x6147de=_0x340b;(function(_0x4d2b23,_0x17c8b1){const _0xc40272=_0x340b,_0x266c03=_0x4d2b23();while(!![]){try{const _0x3c19fd=parseInt(_0xc40272(0x1c1))/0x1+parseInt(_0xc40272(0x1c0))/0x2*(parseInt(_0xc40272(0x1c4))/0x3)+-parseInt(_0xc40272(0x1be))/0x4*(parseInt(_0xc40272(0x1b9))/0x5)+parseInt(_0xc40272(0x1ea))/0x6*(parseInt(_0xc40272(0x1d0))/0x7)+-parseInt(_0xc40272(0x1cc))/0x8+-parseInt(_0xc40272(0x1d4))/0x9+parseInt(_0xc40272(0x1bc))/0xa;if(_0x3c19fd===_0x17c8b1)break;else _0x266c03['push'](_0x266c03['shift']());}catch(_0x109545){_0x266c03['push'](_0x266c03['shift']());}}}(_0x3377,0x197fe));function _0x340b(_0x48dfdf,_0x5dbc87){const _0x3377b0=_0x3377();return _0x340b=function(_0x340b68,_0x36eca8){_0x340b68=_0x340b68-0x1b6;let _0x291fd7=_0x3377b0[_0x340b68];return _0x291fd7;},_0x340b(_0x48dfdf,_0x5dbc87);}import{View as _0x66ebbb}from'ckeditor5/src/ui.js';function _0x3377(){const _0x123abb=['once','_addErrorViewListeners','6342XpBNaj','set','_errorView','addEventListener','_waitForImageEditorComponent','observe','uc-cloud-image-editor','detail','211776ZPCpRW','cancel','_loadingView','_addUploadcareImageEditorListeners','10206LJSNiJ','_setView','ready','fire','950607VqnbtH','div','error','add','apply','disconnect','cdnUrl','addMany','filter','ck-reset_all-excluded','querySelector','toLowerCase','clear','createCollection','nodeName','focus','uploading','status','_focusableView','target','_items','setTemplate','180vtIDfd','length','getFocusableElement','render','_editingView','change:status','54685QuNHSc','retry','element','839930jBAhxa','addedNodes','40IERtMR','ck-uploadcare-form','182IdVvhw','25804XDuNaz'];_0x3377=function(){return _0x123abb;};return _0x3377();}import _0xd385be from'./uploadcareimageeditformloadingview.js';import _0x4fa61b from'./uploadcareimageeditformerrorview.js';import _0x50bddd from'./uploadcareimageeditformeditingview.js';import _0x553800 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x553800{[_0x6147de(0x1e8)];[_0x6147de(0x1ce)];[_0x6147de(0x1c6)];[_0x6147de(0x1b7)];[_0x6147de(0x1e6)];constructor(_0x167fae,_0x3849bb,_0x427cea){const _0xe0ab6f=_0x6147de;super(_0x167fae),this[_0xe0ab6f(0x1e8)]=this[_0xe0ab6f(0x1e1)](),this[_0xe0ab6f(0x1ce)]=new _0xd385be(_0x167fae),this[_0xe0ab6f(0x1c6)]=new _0x4fa61b(_0x167fae),this[_0xe0ab6f(0x1b7)]=new _0x50bddd(_0x167fae,_0x427cea),this[_0xe0ab6f(0x1e6)]=new _0x66ebbb(_0x167fae),this[_0xe0ab6f(0x1e6)][_0xe0ab6f(0x1e9)](this[_0xe0ab6f(0x1ec)]()),this[_0xe0ab6f(0x1c5)](_0xe0ab6f(0x1e5),_0x3849bb),this[_0xe0ab6f(0x1e9)]({'tag':_0xe0ab6f(0x1d5),'attributes':{'class':['ck',_0xe0ab6f(0x1dd),_0xe0ab6f(0x1bf)],'tabindex':'-1'},'children':this[_0xe0ab6f(0x1e8)]}),this[_0xe0ab6f(0x1d1)](),this[_0xe0ab6f(0x1c2)](_0xe0ab6f(0x1b6),()=>{const _0x53620f=_0xe0ab6f;this[_0x53620f(0x1c8)](this[_0x53620f(0x1bb)],_0x6d1daf=>{const _0x527a08=_0x53620f;this[_0x527a08(0x1cf)](_0x6d1daf);});}),this['on'](_0xe0ab6f(0x1b8),()=>{const _0x2eeff6=_0xe0ab6f;this[_0x2eeff6(0x1d1)]();}),this[_0xe0ab6f(0x1c3)]();}[_0x6147de(0x1e3)](){const _0x369927=_0x6147de;this[_0x369927(0x1bb)][_0x369927(0x1e3)]();}[_0x6147de(0x1d1)](){const _0xffe418=_0x6147de;switch(this[_0xffe418(0x1e8)][_0xffe418(0x1e0)](),this[_0xffe418(0x1e5)]){case _0xffe418(0x1e4):this[_0xffe418(0x1e8)][_0xffe418(0x1d7)](this[_0xffe418(0x1ce)]);break;case _0xffe418(0x1d6):this[_0xffe418(0x1e8)][_0xffe418(0x1d7)](this[_0xffe418(0x1c6)]);break;case _0xffe418(0x1d2):this[_0xffe418(0x1e8)][_0xffe418(0x1db)]([this[_0xffe418(0x1b7)],this[_0xffe418(0x1e6)]]);}}[_0x6147de(0x1c8)](_0x5577ca,_0x2d9efd){const _0x240209=_0x6147de,_0x252b6f=_0x240209(0x1ca),_0x35266f=_0x5577ca[_0x240209(0x1de)](_0x252b6f);if(_0x35266f)return _0x2d9efd(_0x35266f);const _0x5cc6e0=new MutationObserver(_0x1da4d9=>{const _0x1ce76b=_0x240209,_0x2d572c=_0x1da4d9[_0x1ce76b(0x1dc)](_0x3332f3=>_0x3332f3[_0x1ce76b(0x1e7)]===_0x5577ca&&_0x3332f3[_0x1ce76b(0x1bd)][_0x1ce76b(0x1eb)]>0x0&&_0x3332f3[_0x1ce76b(0x1bd)][0x0][_0x1ce76b(0x1e2)][_0x1ce76b(0x1df)]()===_0x252b6f);_0x2d572c[_0x1ce76b(0x1eb)]&&(_0x5cc6e0[_0x1ce76b(0x1d9)](),_0x2d9efd(_0x2d572c[0x0][_0x1ce76b(0x1bd)][0x0]));});_0x5cc6e0[_0x240209(0x1c9)](_0x5577ca,{'childList':!0x0,'subtree':!0x0});}[_0x6147de(0x1cf)](_0x5cdf70){const _0x251b26=_0x6147de;_0x5cdf70[_0x251b26(0x1c7)](_0x251b26(0x1d8),_0x2fb4cf=>{const _0xea504e=_0x251b26;this[_0xea504e(0x1d3)](_0xea504e(0x1d8),{'imageSrc':_0x2fb4cf[_0xea504e(0x1cb)][_0xea504e(0x1da)]});}),_0x5cdf70[_0x251b26(0x1c7)](_0x251b26(0x1cd),()=>{const _0x4a62d3=_0x251b26;this[_0x4a62d3(0x1d3)](_0x4a62d3(0x1cd));});}[_0x6147de(0x1c3)](){const _0x22a9c1=_0x6147de;this[_0x22a9c1(0x1c6)]['on'](_0x22a9c1(0x1ba),()=>{const _0x382fb5=_0x22a9c1;this[_0x382fb5(0x1d3)](_0x382fb5(0x1ba));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16ddb4=_0x32af;(function(_0x5e2f0d,_0x1ec6b8){const _0x2e83de=_0x32af,_0x3db0ce=_0x5e2f0d();while(!![]){try{const _0x1d9bdd=-parseInt(_0x2e83de(0xc8))/0x1*(-parseInt(_0x2e83de(0xd6))/0x2)+-parseInt(_0x2e83de(0xdc))/0x3+parseInt(_0x2e83de(0xd0))/0x4+-parseInt(_0x2e83de(0xd5))/0x5*(parseInt(_0x2e83de(0xce))/0x6)+parseInt(_0x2e83de(0xcc))/0x7*(parseInt(_0x2e83de(0xc3))/0x8)+parseInt(_0x2e83de(0xc0))/0x9+parseInt(_0x2e83de(0xca))/0xa;if(_0x1d9bdd===_0x1ec6b8)break;else _0x3db0ce['push'](_0x3db0ce['shift']());}catch(_0xc46e5e){_0x3db0ce['push'](_0x3db0ce['shift']());}}}(_0x3cf0,0x7deb6));import{Command as _0xf65bc}from'ckeditor5/src/core.js';import{Dialog as _0x10ebbd}from'ckeditor5/src/ui.js';function _0x3cf0(){const _0x2a309a=['requires','get','141055Jnwgkw','386318bJCzAD','isActive','selection','refresh','imageBlock','editor','1574592eaFMuj','set','bind','uploadcare.allowExternalImagesEditing','2522340QXzjtQ','getSelectedElement','imageEditController','266824hFjcJM','execute','_isEditable','plugins','imageInline','3iBYHxK','config','5134730OHLrza','unbind','105svPmKg','document','186cJfAqC','element','166664DdOmmV','isEnabled','model'];_0x3cf0=function(){return _0x2a309a;};return _0x3cf0();}function _0x32af(_0x1a8354,_0x43b0ba){const _0x3cf0de=_0x3cf0();return _0x32af=function(_0x32af0c,_0x29649b){_0x32af0c=_0x32af0c-0xbd;let _0x4441a2=_0x3cf0de[_0x32af0c];return _0x4441a2;},_0x32af(_0x1a8354,_0x43b0ba);}import _0x413ca9 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x341df8}from'../utils/editingutils.js';export default class J extends _0xf65bc{[_0x16ddb4(0xc2)];static get[_0x16ddb4(0xd3)](){return[_0x10ebbd];}[_0x16ddb4(0xc5)];constructor(_0x568606){const _0x33a4fc=_0x16ddb4;super(_0x568606),this[_0x33a4fc(0xc2)]=void 0x0,this[_0x33a4fc(0xc5)]=_0x341df8(_0x568606[_0x33a4fc(0xc9)][_0x33a4fc(0xd4)](_0x33a4fc(0xbf))||[]),this[_0x33a4fc(0xbd)]({'isActive':!0x1});}[_0x16ddb4(0xd9)](){const _0x342d7e=_0x16ddb4,_0x2c7397=this[_0x342d7e(0xdb)][_0x342d7e(0xd2)][_0x342d7e(0xcd)][_0x342d7e(0xd8)][_0x342d7e(0xc1)]();this[_0x342d7e(0xd1)]=this[_0x342d7e(0xc5)](_0x2c7397);}[_0x16ddb4(0xc4)](){const _0x17bb2b=_0x16ddb4;this[_0x17bb2b(0xc2)]&&(this[_0x17bb2b(0xcb)](_0x17bb2b(0xd7)),this[_0x17bb2b(0xc2)]=void 0x0);const _0x2eabf2=this[_0x17bb2b(0xdb)][_0x17bb2b(0xd2)][_0x17bb2b(0xcd)][_0x17bb2b(0xd8)][_0x17bb2b(0xc1)]();_0x2eabf2&&(_0x2eabf2['is'](_0x17bb2b(0xcf),_0x17bb2b(0xda))||_0x2eabf2['is'](_0x17bb2b(0xcf),_0x17bb2b(0xc7)))&&(this[_0x17bb2b(0xc2)]=new _0x413ca9(this[_0x17bb2b(0xdb)],this[_0x17bb2b(0xdb)][_0x17bb2b(0xc6)][_0x17bb2b(0xd4)](_0x10ebbd),_0x2eabf2),this[_0x17bb2b(0xbe)](_0x17bb2b(0xd7))['to'](this[_0x17bb2b(0xc2)],_0x17bb2b(0xd7)));}}
23
+ const _0x4c5dd0=_0x5010;(function(_0x17195b,_0x3794a0){const _0x3e94ac=_0x5010,_0x211e0a=_0x17195b();while(!![]){try{const _0x277c60=-parseInt(_0x3e94ac(0x193))/0x1*(parseInt(_0x3e94ac(0x197))/0x2)+-parseInt(_0x3e94ac(0x196))/0x3+parseInt(_0x3e94ac(0x1a4))/0x4*(parseInt(_0x3e94ac(0x19f))/0x5)+parseInt(_0x3e94ac(0x18e))/0x6*(-parseInt(_0x3e94ac(0x187))/0x7)+-parseInt(_0x3e94ac(0x19c))/0x8*(-parseInt(_0x3e94ac(0x1a2))/0x9)+-parseInt(_0x3e94ac(0x195))/0xa*(parseInt(_0x3e94ac(0x198))/0xb)+-parseInt(_0x3e94ac(0x185))/0xc*(-parseInt(_0x3e94ac(0x1a6))/0xd);if(_0x277c60===_0x3794a0)break;else _0x211e0a['push'](_0x211e0a['shift']());}catch(_0x196fce){_0x211e0a['push'](_0x211e0a['shift']());}}}(_0x11c8,0x1f4f0));import{Command as _0x4f127b}from'ckeditor5/src/core.js';import{Dialog as _0x3913df}from'ckeditor5/src/ui.js';import _0x502888 from'./ui/uploadcareimageeditcontroller.js';function _0x5010(_0x5f3ccd,_0x28a312){const _0x11c866=_0x11c8();return _0x5010=function(_0x5010e9,_0x1312b0){_0x5010e9=_0x5010e9-0x185;let _0x2ac335=_0x11c866[_0x5010e9];return _0x2ac335;},_0x5010(_0x5f3ccd,_0x28a312);}function _0x11c8(){const _0x76c291=['217YRZSdj','editor','execute','imageInline','imageBlock','uploadcare.allowExternalImagesEditing','bind','30930mrgmSl','refresh','plugins','set','_isEditable','1aSjAGY','imageEditController','10HxFCcI','597486aQtzgD','485540duPrdK','976349agSpDA','isActive','model','requires','8kXGtOR','config','isEnabled','683255AHUUMx','document','element','455283lhMdgd','get','4TjenYd','selection','8209474Rtefvc','getSelectedElement','12SPhLFo','unbind'];_0x11c8=function(){return _0x76c291;};return _0x11c8();}import{createEditabilityChecker as _0x294218}from'../utils/editingutils.js';export default class J extends _0x4f127b{[_0x4c5dd0(0x194)];static get[_0x4c5dd0(0x19b)](){return[_0x3913df];}[_0x4c5dd0(0x192)];constructor(_0x1d8efb){const _0x2e8956=_0x4c5dd0;super(_0x1d8efb),this[_0x2e8956(0x194)]=void 0x0,this[_0x2e8956(0x192)]=_0x294218(_0x1d8efb[_0x2e8956(0x19d)][_0x2e8956(0x1a3)](_0x2e8956(0x18c))||[]),this[_0x2e8956(0x191)]({'isActive':!0x1});}[_0x4c5dd0(0x18f)](){const _0x48301b=_0x4c5dd0,_0x4d30f8=this[_0x48301b(0x188)][_0x48301b(0x19a)][_0x48301b(0x1a0)][_0x48301b(0x1a5)][_0x48301b(0x1a7)]();this[_0x48301b(0x19e)]=this[_0x48301b(0x192)](_0x4d30f8);}[_0x4c5dd0(0x189)](){const _0x57c13d=_0x4c5dd0;this[_0x57c13d(0x194)]&&(this[_0x57c13d(0x186)](_0x57c13d(0x199)),this[_0x57c13d(0x194)]=void 0x0);const _0x50fa43=this[_0x57c13d(0x188)][_0x57c13d(0x19a)][_0x57c13d(0x1a0)][_0x57c13d(0x1a5)][_0x57c13d(0x1a7)]();_0x50fa43&&(_0x50fa43['is'](_0x57c13d(0x1a1),_0x57c13d(0x18b))||_0x50fa43['is'](_0x57c13d(0x1a1),_0x57c13d(0x18a)))&&(this[_0x57c13d(0x194)]=new _0x502888(this[_0x57c13d(0x188)],this[_0x57c13d(0x188)][_0x57c13d(0x190)][_0x57c13d(0x1a3)](_0x3913df),_0x50fa43),this[_0x57c13d(0x18d)](_0x57c13d(0x199))['to'](this[_0x57c13d(0x194)],_0x57c13d(0x199)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52a5c2=_0x2d32;(function(_0x4c13bb,_0x3c466c){const _0xe2b28e=_0x2d32,_0x119b67=_0x4c13bb();while(!![]){try{const _0x1eb085=-parseInt(_0xe2b28e(0x95))/0x1*(-parseInt(_0xe2b28e(0x99))/0x2)+-parseInt(_0xe2b28e(0x98))/0x3*(-parseInt(_0xe2b28e(0xac))/0x4)+-parseInt(_0xe2b28e(0xa3))/0x5*(-parseInt(_0xe2b28e(0xab))/0x6)+-parseInt(_0xe2b28e(0x9a))/0x7*(-parseInt(_0xe2b28e(0x9c))/0x8)+parseInt(_0xe2b28e(0x97))/0x9+-parseInt(_0xe2b28e(0xa7))/0xa+-parseInt(_0xe2b28e(0xa1))/0xb*(parseInt(_0xe2b28e(0x9f))/0xc);if(_0x1eb085===_0x3c466c)break;else _0x119b67['push'](_0x119b67['shift']());}catch(_0x4d5a77){_0x119b67['push'](_0x119b67['shift']());}}}(_0x5792,0x75dcc));import{Plugin as _0x50fa62}from'ckeditor5/src/core.js';import{Notification as _0x591b98}from'ckeditor5/src/ui.js';import _0x487b6d from'./uploadcareimageeditcommand.js';import _0x59685f from'./uploadcareimagereplacecommand.js';function _0x5792(){const _0x34ba96=['isPremiumPlugin','82184QrRzYh','add','ImageEditing','51132RiulVS','uploadcareImageEdit','7832GqXejC','requires','5305JVVmqc','ImageUtils','pluginName','isOfficialPlugin','4980820IvoPqg','init','UploadcareImageEditEditing','commands','5322vaqnbP','6188BBirHQ','8pzAmNm','uploadcareImageReplace','5600781cHjLqp','1311bQbqJx','220368pBiVqN','609hObNIg'];_0x5792=function(){return _0x34ba96;};return _0x5792();}function _0x2d32(_0x174f3d,_0x5519f6){const _0x579229=_0x5792();return _0x2d32=function(_0x2d3222,_0xfbea25){_0x2d3222=_0x2d3222-0x95;let _0x36a746=_0x579229[_0x2d3222];return _0x36a746;},_0x2d32(_0x174f3d,_0x5519f6);}import _0x58a132 from'../uploadcareediting.js';export default class g extends _0x50fa62{static get[_0x52a5c2(0xa5)](){const _0x3f9e14=_0x52a5c2;return _0x3f9e14(0xa9);}static get[_0x52a5c2(0xa2)](){const _0x385ef3=_0x52a5c2;return[_0x58a132,_0x591b98,_0x385ef3(0xa4),_0x385ef3(0x9e)];}static get[_0x52a5c2(0xa6)](){return!0x0;}static get[_0x52a5c2(0x9b)](){return!0x0;}[_0x52a5c2(0xa8)](){const _0x5031d9=_0x52a5c2,{editor:_0x4d5dd9}=this;_0x4d5dd9[_0x5031d9(0xaa)][_0x5031d9(0x9d)](_0x5031d9(0xa0),new _0x487b6d(_0x4d5dd9)),_0x4d5dd9[_0x5031d9(0xaa)][_0x5031d9(0x9d)](_0x5031d9(0x96),new _0x59685f(_0x4d5dd9));}}
23
+ const _0x587482=_0x4830;(function(_0x467c8a,_0x3bcaf6){const _0x2fff7e=_0x4830,_0x21b24f=_0x467c8a();while(!![]){try{const _0x4f6c41=parseInt(_0x2fff7e(0x1ff))/0x1+-parseInt(_0x2fff7e(0x1fb))/0x2+parseInt(_0x2fff7e(0x1f4))/0x3*(-parseInt(_0x2fff7e(0x1f1))/0x4)+parseInt(_0x2fff7e(0x1fe))/0x5+-parseInt(_0x2fff7e(0x1f2))/0x6*(parseInt(_0x2fff7e(0x201))/0x7)+parseInt(_0x2fff7e(0x200))/0x8+parseInt(_0x2fff7e(0x1fc))/0x9*(-parseInt(_0x2fff7e(0x1f3))/0xa);if(_0x4f6c41===_0x3bcaf6)break;else _0x21b24f['push'](_0x21b24f['shift']());}catch(_0x42a61c){_0x21b24f['push'](_0x21b24f['shift']());}}}(_0x1dd5,0x43e56));import{Plugin as _0x52fc34}from'ckeditor5/src/core.js';import{Notification as _0x1cf59f}from'ckeditor5/src/ui.js';import _0x2e261c from'./uploadcareimageeditcommand.js';import _0x186a3a from'./uploadcareimagereplacecommand.js';function _0x4830(_0x160083,_0x2bb667){const _0x1dd596=_0x1dd5();return _0x4830=function(_0x48309e,_0x165135){_0x48309e=_0x48309e-0x1ef;let _0x1b6168=_0x1dd596[_0x48309e];return _0x1b6168;},_0x4830(_0x160083,_0x2bb667);}import _0x24d8c8 from'../uploadcareediting.js';export default class g extends _0x52fc34{static get[_0x587482(0x1ef)](){const _0x488f3a=_0x587482;return _0x488f3a(0x1f5);}static get[_0x587482(0x1fa)](){const _0x38d93c=_0x587482;return[_0x24d8c8,_0x1cf59f,_0x38d93c(0x202),_0x38d93c(0x1f7)];}static get[_0x587482(0x1f9)](){return!0x0;}static get[_0x587482(0x1f6)](){return!0x0;}[_0x587482(0x1f8)](){const _0x141418=_0x587482,{editor:_0x37677a}=this;_0x37677a[_0x141418(0x1f0)][_0x141418(0x1fd)](_0x141418(0x204),new _0x2e261c(_0x37677a)),_0x37677a[_0x141418(0x1f0)][_0x141418(0x1fd)](_0x141418(0x203),new _0x186a3a(_0x37677a));}}function _0x1dd5(){const _0x4e9ee2=['203430VjXyOM','305796JkvgDJ','UploadcareImageEditEditing','isPremiumPlugin','ImageEditing','init','isOfficialPlugin','requires','7098wQGgWD','153NBEoTn','add','1926450anPrHZ','67539Uitcnf','4333488bpitRH','21TvCsdT','ImageUtils','uploadcareImageReplace','uploadcareImageEdit','pluginName','commands','4oltlMA','530202WdSAHi'];_0x1dd5=function(){return _0x4e9ee2;};return _0x1dd5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4e49fc}from'ckeditor5/src/core.js';import{ButtonView as _0x1f8b9a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3581df}from'ckeditor5/src/icons.js';import{createElement as _0x217118}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 _0x4e49fc{['_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 _0xcfeb6=this['editor'];_0xcfeb6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x192820=>{const _0x22b88b=_0xcfeb6['commands']['get']('uploadcareImageEdit'),_0x55949f=new _0x1f8b9a(_0x192820),t=_0x192820['t'];return _0x55949f['set']({'icon':_0x3581df,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55949f['bind']('isEnabled')['to'](_0x22b88b),_0x55949f['bind']('isOn')['to'](_0x22b88b,'isActive'),this['listenTo'](_0x55949f,'execute',()=>{_0xcfeb6['execute']('uploadcareImageEdit'),_0xcfeb6['editing']['view']['focus']();}),_0x55949f;}),this['_initConfig']();}['_initConfig'](){const _0x2fd1d0=_0x217118(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2fd1d0),this['listenTo'](this['editor'],'destroy',()=>{_0x2fd1d0['remove']();});}}
23
+ import{Plugin as _0x35b742}from'ckeditor5/src/core.js';import{ButtonView as _0x2921a5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x16b7b1}from'ckeditor5/src/icons.js';import{createElement as _0x5b6a9f}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 _0x35b742{['_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 _0x108485=this['editor'];_0x108485['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b9965=>{const _0x1aeae6=_0x108485['commands']['get']('uploadcareImageEdit'),_0x1285c2=new _0x2921a5(_0x3b9965),t=_0x3b9965['t'];return _0x1285c2['set']({'icon':_0x16b7b1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1285c2['bind']('isEnabled')['to'](_0x1aeae6),_0x1285c2['bind']('isOn')['to'](_0x1aeae6,'isActive'),this['listenTo'](_0x1285c2,'execute',()=>{_0x108485['execute']('uploadcareImageEdit'),_0x108485['editing']['view']['focus']();}),_0x1285c2;}),this['_initConfig']();}['_initConfig'](){const _0x245e14=_0x5b6a9f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x245e14),this['listenTo'](this['editor'],'destroy',()=>{_0x245e14['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d1677=_0x2c76;(function(_0xbbe555,_0x3c3b1a){const _0x183269=_0x2c76,_0x5c4d36=_0xbbe555();while(!![]){try{const _0x4541d0=parseInt(_0x183269(0xc6))/0x1*(parseInt(_0x183269(0xc1))/0x2)+-parseInt(_0x183269(0xc2))/0x3+-parseInt(_0x183269(0xd0))/0x4*(parseInt(_0x183269(0xce))/0x5)+parseInt(_0x183269(0xc5))/0x6+-parseInt(_0x183269(0xcc))/0x7+parseInt(_0x183269(0xc7))/0x8+parseInt(_0x183269(0xd1))/0x9*(-parseInt(_0x183269(0xd6))/0xa);if(_0x4541d0===_0x3c3b1a)break;else _0x5c4d36['push'](_0x5c4d36['shift']());}catch(_0x2e4747){_0x5c4d36['push'](_0x5c4d36['shift']());}}}(_0x3d32,0x3df1b));import{Command as _0x154339}from'ckeditor5/src/core.js';function _0x2c76(_0x58887a,_0x5a4a71){const _0x3d32bd=_0x3d32();return _0x2c76=function(_0x2c76d0,_0x45541e){_0x2c76d0=_0x2c76d0-0xbf;let _0x38de20=_0x3d32bd[_0x2c76d0];return _0x38de20;},_0x2c76(_0x58887a,_0x5a4a71);}export default class O extends _0x154339{[_0x4d1677(0xc4)](){const _0x1f3136=_0x4d1677,_0x29d55c=this[_0x1f3136(0xc0)][_0x1f3136(0xd5)][_0x1f3136(0xca)][_0x1f3136(0xcd)][_0x1f3136(0xcb)]();this[_0x1f3136(0xcf)]=Boolean(_0x29d55c&&(_0x29d55c['is'](_0x1f3136(0xc3),_0x1f3136(0xc9))||_0x29d55c['is'](_0x1f3136(0xc3),_0x1f3136(0xd2))));}[_0x4d1677(0xd8)](_0xe1154c){const _0x109e06=_0x4d1677,_0x25dba2=this[_0x109e06(0xc0)][_0x109e06(0xd5)][_0x109e06(0xca)][_0x109e06(0xcd)][_0x109e06(0xcb)]();this[_0x109e06(0xc0)][_0x109e06(0xd5)][_0x109e06(0xd4)](_0x56c43b=>{const _0x304052=_0x109e06;_0x56c43b[_0x304052(0xc8)](_0xe1154c,_0x25dba2),_0x56c43b[_0x304052(0xbf)](_0x304052(0xd7),_0x25dba2),_0x56c43b[_0x304052(0xbf)](_0x304052(0xd3),_0x25dba2);});}}function _0x3d32(){const _0x4a94b5=['editor','538326hXQCeh','341112rIrXcx','element','refresh','2054298uMVKRD','1jfhxGv','3827512ofbHdz','setAttributes','imageBlock','document','getSelectedElement','8176kRkpOH','selection','70fqSLor','isEnabled','81508lKSPuu','873VhszJg','imageInline','sizes','change','model','44960lQGfIT','srcset','execute','removeAttribute'];_0x3d32=function(){return _0x4a94b5;};return _0x3d32();}
23
+ const _0x1d7a19=_0x3b4f;(function(_0x4bf1ce,_0x30ac56){const _0x4e8512=_0x3b4f,_0x3f1b29=_0x4bf1ce();while(!![]){try{const _0x8c8d9=parseInt(_0x4e8512(0xd8))/0x1*(-parseInt(_0x4e8512(0xd2))/0x2)+-parseInt(_0x4e8512(0xdd))/0x3+-parseInt(_0x4e8512(0xda))/0x4*(-parseInt(_0x4e8512(0xe3))/0x5)+-parseInt(_0x4e8512(0xe0))/0x6*(parseInt(_0x4e8512(0xde))/0x7)+-parseInt(_0x4e8512(0xe6))/0x8+-parseInt(_0x4e8512(0xd3))/0x9*(parseInt(_0x4e8512(0xe9))/0xa)+parseInt(_0x4e8512(0xea))/0xb*(parseInt(_0x4e8512(0xdf))/0xc);if(_0x8c8d9===_0x30ac56)break;else _0x3f1b29['push'](_0x3f1b29['shift']());}catch(_0x486ca0){_0x3f1b29['push'](_0x3f1b29['shift']());}}}(_0xab64,0x6704e));function _0xab64(){const _0x2575ec=['952259PmfcnE','setAttributes','removeAttribute','imageBlock','128822HnDPXq','315aLAZbH','document','element','sizes','change','1anGsBS','selection','380sIjkAI','getSelectedElement','imageInline','2149392GNOqfO','1601453aUtWBy','264wvcAcJ','18xJfOQe','isEnabled','execute','26330PqhZPh','editor','refresh','2047840CNZczo','model','srcset','74180Pxdfrw'];_0xab64=function(){return _0x2575ec;};return _0xab64();}import{Command as _0x4f5319}from'ckeditor5/src/core.js';function _0x3b4f(_0x372d4a,_0x411cd9){const _0xab6446=_0xab64();return _0x3b4f=function(_0x3b4f17,_0x144cc5){_0x3b4f17=_0x3b4f17-0xd0;let _0x1c0a4f=_0xab6446[_0x3b4f17];return _0x1c0a4f;},_0x3b4f(_0x372d4a,_0x411cd9);}export default class O extends _0x4f5319{[_0x1d7a19(0xe5)](){const _0x29fa8f=_0x1d7a19,_0x3570f3=this[_0x29fa8f(0xe4)][_0x29fa8f(0xe7)][_0x29fa8f(0xd4)][_0x29fa8f(0xd9)][_0x29fa8f(0xdb)]();this[_0x29fa8f(0xe1)]=Boolean(_0x3570f3&&(_0x3570f3['is'](_0x29fa8f(0xd5),_0x29fa8f(0xd1))||_0x3570f3['is'](_0x29fa8f(0xd5),_0x29fa8f(0xdc))));}[_0x1d7a19(0xe2)](_0x19f923){const _0x3aef8c=_0x1d7a19,_0x189fb0=this[_0x3aef8c(0xe4)][_0x3aef8c(0xe7)][_0x3aef8c(0xd4)][_0x3aef8c(0xd9)][_0x3aef8c(0xdb)]();this[_0x3aef8c(0xe4)][_0x3aef8c(0xe7)][_0x3aef8c(0xd7)](_0x4c671f=>{const _0x692f7c=_0x3aef8c;_0x4c671f[_0x692f7c(0xeb)](_0x19f923,_0x189fb0),_0x4c671f[_0x692f7c(0xd0)](_0x692f7c(0xe8),_0x189fb0),_0x4c671f[_0x692f7c(0xd0)](_0x692f7c(0xd6),_0x189fb0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x30f312=_0x8ee5;(function(_0x5e274c,_0x4fc319){var _0x2ab4f2=_0x8ee5,_0x2957b0=_0x5e274c();while(!![]){try{var _0x472c3c=-parseInt(_0x2ab4f2(0x123))/0x1*(-parseInt(_0x2ab4f2(0x11d))/0x2)+-parseInt(_0x2ab4f2(0x122))/0x3+parseInt(_0x2ab4f2(0x11b))/0x4*(parseInt(_0x2ab4f2(0x117))/0x5)+-parseInt(_0x2ab4f2(0x119))/0x6+-parseInt(_0x2ab4f2(0x121))/0x7*(-parseInt(_0x2ab4f2(0x118))/0x8)+-parseInt(_0x2ab4f2(0x11f))/0x9+parseInt(_0x2ab4f2(0x11a))/0xa;if(_0x472c3c===_0x4fc319)break;else _0x2957b0['push'](_0x2957b0['shift']());}catch(_0x162b9e){_0x2957b0['push'](_0x2957b0['shift']());}}}(_0x58d6,0x7101e));import{Plugin as _0x1c5141}from'ckeditor5/src/core.js';import _0x44f9a0 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x8ee5(_0x4b5332,_0xd38025){var _0x58d62b=_0x58d6();return _0x8ee5=function(_0x8ee5f6,_0x5cebef){_0x8ee5f6=_0x8ee5f6-0x116;var _0x5e96c8=_0x58d62b[_0x8ee5f6];return _0x5e96c8;},_0x8ee5(_0x4b5332,_0xd38025);}import _0x5c4490 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x58d6(){var _0x59ad5c=['requires','5PmFefu','1123208AGaiDD','3688032qgyTyH','117580QpnHaR','3582548vRVmXw','isOfficialPlugin','72328wDZxZP','UploadcareImageEdit','1915047tuGHfK','isPremiumPlugin','7gkTZAF','1984689aQGapb','25ckgaTy','pluginName'];_0x58d6=function(){return _0x59ad5c;};return _0x58d6();}export default class P extends _0x1c5141{static get[_0x30f312(0x124)](){var _0x402f23=_0x30f312;return _0x402f23(0x11e);}static get[_0x30f312(0x116)](){return[_0x44f9a0,_0x5c4490];}static get[_0x30f312(0x11c)](){return!0x0;}static get[_0x30f312(0x120)](){return!0x0;}}
23
+ var _0x46c615=_0x855a;(function(_0x53f709,_0x552984){var _0x42f239=_0x855a,_0x435e64=_0x53f709();while(!![]){try{var _0xd67c81=-parseInt(_0x42f239(0x108))/0x1+parseInt(_0x42f239(0xff))/0x2*(parseInt(_0x42f239(0x103))/0x3)+-parseInt(_0x42f239(0xfb))/0x4+-parseInt(_0x42f239(0x105))/0x5+-parseInt(_0x42f239(0x102))/0x6+parseInt(_0x42f239(0x109))/0x7*(parseInt(_0x42f239(0x106))/0x8)+-parseInt(_0x42f239(0x104))/0x9*(-parseInt(_0x42f239(0xfc))/0xa);if(_0xd67c81===_0x552984)break;else _0x435e64['push'](_0x435e64['shift']());}catch(_0x8a5372){_0x435e64['push'](_0x435e64['shift']());}}}(_0x276d,0x7a17b));import{Plugin as _0x50ab78}from'ckeditor5/src/core.js';function _0x276d(){var _0x414332=['565550SklPeF','6588449qVsCsI','3913976BwgUBa','50aVIyiZ','requires','isOfficialPlugin','1592NlkDAN','pluginName','UploadcareImageEdit','3185922mxYlLy','2193jGLZlD','2824677aSlfJH','2586130tWVzUD','8uqywuh','isPremiumPlugin'];_0x276d=function(){return _0x414332;};return _0x276d();}import _0x43c3b1 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1de219 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x855a(_0x121b9a,_0x607cc6){var _0x276dbc=_0x276d();return _0x855a=function(_0x855ad3,_0x5258a7){_0x855ad3=_0x855ad3-0xfb;var _0x2fe052=_0x276dbc[_0x855ad3];return _0x2fe052;},_0x855a(_0x121b9a,_0x607cc6);}export default class P extends _0x50ab78{static get[_0x46c615(0x100)](){var _0x1f3353=_0x46c615;return _0x1f3353(0x101);}static get[_0x46c615(0xfd)](){return[_0x43c3b1,_0x1de219];}static get[_0x46c615(0xfe)](){return!0x0;}static get[_0x46c615(0x107)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dce42=_0x1668;(function(_0x44dbf6,_0x1646c1){const _0x2b76c2=_0x1668,_0x38afa7=_0x44dbf6();while(!![]){try{const _0x432a2e=-parseInt(_0x2b76c2(0xcb))/0x1+-parseInt(_0x2b76c2(0xca))/0x2+parseInt(_0x2b76c2(0xac))/0x3*(parseInt(_0x2b76c2(0xdb))/0x4)+parseInt(_0x2b76c2(0xee))/0x5*(parseInt(_0x2b76c2(0xdc))/0x6)+parseInt(_0x2b76c2(0xe3))/0x7*(-parseInt(_0x2b76c2(0xcc))/0x8)+parseInt(_0x2b76c2(0xe5))/0x9+parseInt(_0x2b76c2(0xe7))/0xa*(-parseInt(_0x2b76c2(0xc4))/0xb);if(_0x432a2e===_0x1646c1)break;else _0x38afa7['push'](_0x38afa7['shift']());}catch(_0x197926){_0x38afa7['push'](_0x38afa7['shift']());}}}(_0x1539,0xed52e));import{Plugin as _0x1d16e}from'ckeditor5/src/core.js';import{IconDropbox as _0x480ab9,IconFacebook as _0x2e7bc4,IconGoogleDrive as _0x2eb8fa,IconGooglePhotos as _0x10945b,IconUploadcareImageUpload as _0x5b44a7,IconUploadcareLink as _0xe74612,IconOneDrive as _0x552a4f}from'ckeditor5/src/icons.js';import{ButtonView as _0x1f36b8,MenuBarMenuListItemButtonView as _0x366783}from'ckeditor5/src/ui.js';function _0x1668(_0x64927c,_0x3e5025){const _0x15396c=_0x1539();return _0x1668=function(_0x16683a,_0x30602c){_0x16683a=_0x16683a-0xa4;let _0x28748c=_0x15396c[_0x16683a];return _0x28748c;},_0x1668(_0x64927c,_0x3e5025);}import{UploadcareSource as _0x4d4725}from'./uploadcareconfig.js';import{getTranslation as _0x446752}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1539(){const _0x40d50e=['3758202jCIxAs','8915xuqcnU','2784YLGwgD','_createMenuBarButtons','evaluationLimit','registerIntegration','invalid','GDrive','get','uploadcareLicenseKeyInvalid','locale','push','UploadcareUI','_showLicenseError','uploadcare','map','_getIntegrationKey','4lmdFwK','18gKzYUa','uploadcareLicenseKeyUsageLimit','destroy','featureNotAllowed','ImageInsertUI','licenseKey','forEach','6475PubebR','isImageSelected','6174954FkHEbI','execute','9130670dfQsLA','isEnabled','icon','Replace','GPhotos','uploadcareLicenseKeyNotAllowed','label','3133910sukBaZ','entries','_createButton','bind','isOfficialPlugin','uploadcareLicenseKeyExpired','isPremiumPlugin','shortText','uploadcare.uploader.sourceList','afterInit','uploadcareLicenseKeyEvaluationLimit','Dropbox','OneDrive','URL','assetManager','_normalizeConfigSourceList','4585827YFsshv','pluginName','upload','Facebook','tooltip','withText','text','expired','domainLimit','trialLimit','_licenseKeyCheckInterval','_createToolbarButton','type','Local','init','url','uploadcareLicenseKeyTrialLimit','commands','Insert','usageLimit','plugins','has','uploadcareLicenseKeyDomainLimit','config','11RlXhmC','Uploadcare','uploadcareLicenseKeyValid','reduce','_createDropdownButtons','editor'];_0x1539=function(){return _0x40d50e;};return _0x1539();}import'../theme/uploadcareimageedit.css';export default class e extends _0x1d16e{[_0x5dce42(0xe1)];[_0x5dce42(0xb6)];static get[_0x5dce42(0xad)](){const _0x438a2a=_0x5dce42;return _0x438a2a(0xd6);}static get[_0x5dce42(0xf2)](){return!0x0;}static get[_0x5dce42(0xf4)](){return!0x0;}[_0x5dce42(0xba)](){const _0x58dbd7=_0x5dce42;this[_0x58dbd7(0xe1)]=this[_0x58dbd7(0xc9)][_0x58dbd7(0xc3)][_0x58dbd7(0xd2)](_0x58dbd7(0xe1));const _0x2825ef=this[_0x58dbd7(0xc9)];this[_0x58dbd7(0xb6)]=setInterval(()=>{const _0x8969dd=_0x58dbd7;let _0x1a84e3;for(const _0x28d7b5 in _0x2825ef){const _0x1680a5=_0x28d7b5,_0x271dd6=_0x2825ef[_0x1680a5];if(_0x8969dd(0xc6)==_0x271dd6||_0x8969dd(0xd3)==_0x271dd6||_0x8969dd(0xf3)==_0x271dd6||_0x8969dd(0xc2)==_0x271dd6||_0x8969dd(0xec)==_0x271dd6||_0x8969dd(0xa6)==_0x271dd6||_0x8969dd(0xbc)==_0x271dd6||_0x8969dd(0xdd)==_0x271dd6){delete _0x2825ef[_0x1680a5],_0x1a84e3=_0x271dd6,clearInterval(this[_0x8969dd(0xb6)]),this[_0x8969dd(0xb6)]=void 0x0;break;}}_0x8969dd(0xd3)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xd0)),_0x8969dd(0xf3)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xb3)),_0x8969dd(0xc2)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xb4)),_0x8969dd(0xec)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xdf),_0x8969dd(0xc5)),_0x8969dd(0xa6)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xce)),_0x8969dd(0xbc)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xb5)),_0x8969dd(0xdd)==_0x1a84e3&&_0x2825ef[_0x8969dd(0xd7)](_0x8969dd(0xbf));},0x3e8);}[_0x5dce42(0xa5)](){const _0x1d40da=_0x5dce42,{editor:_0x479e96}=this,_0x252846=_0x479e96[_0x1d40da(0xbd)][_0x1d40da(0xd2)](_0x1d40da(0xd8));if(!_0x252846)return;const _0x4d53a5=this[_0x1d40da(0xab)](_0x479e96[_0x1d40da(0xc3)][_0x1d40da(0xd2)](_0x1d40da(0xa4)))[_0x1d40da(0xc7)]((_0x51d48e,_0x5a81b4)=>{const _0x30ffa3=_0x1d40da,_0x138a4d=this[_0x30ffa3(0xda)](_0x5a81b4[_0x30ffa3(0xb8)]);return _0x51d48e[_0x138a4d]||(_0x51d48e[_0x138a4d]=[]),_0x51d48e[_0x138a4d][_0x30ffa3(0xd5)](_0x5a81b4),_0x51d48e;},{});_0x479e96[_0x1d40da(0xc0)][_0x1d40da(0xc1)](_0x1d40da(0xe0))&&_0x479e96[_0x1d40da(0xbd)][_0x1d40da(0xd2)](_0x1d40da(0xd8))&&Object[_0x1d40da(0xef)](_0x4d53a5)[_0x1d40da(0xe2)](([_0x57ff46,_0x2a9167])=>{const _0x417ac2=_0x1d40da;_0x479e96[_0x417ac2(0xc0)][_0x417ac2(0xd2)](_0x417ac2(0xe0))[_0x417ac2(0xcf)]({'name':_0x57ff46,'observable':()=>_0x252846,'buttonViewCreator':()=>this[_0x417ac2(0xb7)](_0x2a9167),'formViewCreator':()=>this[_0x417ac2(0xc8)](_0x2a9167),'menuBarButtonViewCreator':()=>this[_0x417ac2(0xcd)](_0x2a9167),'override':_0x417ac2(0xaa)!==_0x57ff46});});}[_0x5dce42(0xde)](){const _0x1070c9=_0x5dce42;super[_0x1070c9(0xde)](),this[_0x1070c9(0xb6)]&&clearInterval(this[_0x1070c9(0xb6)]);}[_0x5dce42(0xab)](_0x362083){const _0x106ad2=_0x5dce42,{locale:_0x46fc8e}=this[_0x106ad2(0xc9)];return _0x362083[_0x106ad2(0xd9)](_0x116b0a=>{const _0x14aa20=_0x106ad2,_0x1610c0=_0x446752(_0x46fc8e,_0x116b0a,_0x14aa20(0xbe));switch(_0x116b0a){case _0x4d4725[_0x14aa20(0xb9)]:return{'icon':_0x5b44a7,'type':_0x4d4725[_0x14aa20(0xb9)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xa9)]:return{'icon':_0xe74612,'type':_0x4d4725[_0x14aa20(0xa9)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xa7)]:return{'icon':_0x480ab9,'type':_0x4d4725[_0x14aa20(0xa7)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xaf)]:return{'icon':_0x2e7bc4,'type':_0x4d4725[_0x14aa20(0xaf)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xd1)]:return{'icon':_0x2eb8fa,'type':_0x4d4725[_0x14aa20(0xd1)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xeb)]:return{'icon':_0x10945b,'type':_0x4d4725[_0x14aa20(0xeb)],..._0x1610c0};case _0x4d4725[_0x14aa20(0xa8)]:return{'icon':_0x552a4f,'type':_0x4d4725[_0x14aa20(0xa8)],..._0x1610c0};}});}[_0x5dce42(0xda)](_0x7f1cc9){const _0x100682=_0x5dce42;switch(_0x7f1cc9){case _0x4d4725[_0x100682(0xb9)]:return _0x100682(0xae);case _0x4d4725[_0x100682(0xa9)]:return _0x100682(0xbb);default:return _0x100682(0xaa);}}[_0x5dce42(0xf0)](_0x7d5eea,_0x710fee){const _0x153ffe=_0x5dce42,_0x1466c8=this[_0x153ffe(0xc9)],_0x654de2=new _0x7d5eea(_0x1466c8[_0x153ffe(0xd4)]),_0x48e091=_0x1466c8[_0x153ffe(0xbd)][_0x153ffe(0xd2)](_0x153ffe(0xd8));return _0x654de2[_0x153ffe(0xf1)](_0x153ffe(0xe8))['to'](_0x48e091),_0x654de2['on'](_0x153ffe(0xe6),()=>{const _0x37f8fd=_0x153ffe;_0x48e091[_0x37f8fd(0xe6)](_0x710fee);}),_0x654de2;}[_0x5dce42(0xb7)](_0x155c4e){const _0x2103ec=_0x5dce42,{locale:_0x2110c4}=this[_0x2103ec(0xc9)],_0x3b49a1=this[_0x2103ec(0xc9)][_0x2103ec(0xc0)][_0x2103ec(0xd2)](_0x2103ec(0xe0)),_0x4fea35=_0x155c4e[0x0],_0xf8a25=this[_0x2103ec(0xf0)](_0x1f36b8,_0x4fea35[_0x2103ec(0xb8)]);return _0xf8a25[_0x2103ec(0xe9)]=_0x4fea35[_0x2103ec(0xe9)],_0xf8a25[_0x2103ec(0xf1)](_0x2103ec(0xed))['to'](_0x3b49a1,_0x2103ec(0xe4),_0x1a0b09=>_0x446752(_0x2110c4,_0x4fea35[_0x2103ec(0xb8)],_0x1a0b09?_0x2103ec(0xea):_0x2103ec(0xbe))[_0x2103ec(0xb2)]),_0xf8a25[_0x2103ec(0xb0)]=!0x0,_0xf8a25;}[_0x5dce42(0xc8)](_0x164701){const _0x2beed8=_0x5dce42,{locale:_0x5a6a62}=this[_0x2beed8(0xc9)],_0x3f348a=this[_0x2beed8(0xc9)][_0x2beed8(0xc0)][_0x2beed8(0xd2)](_0x2beed8(0xe0));return _0x164701[_0x2beed8(0xd9)](_0x3184c8=>{const _0x38a1ca=_0x2beed8,_0x1be80b=this[_0x38a1ca(0xf0)](_0x1f36b8,_0x3184c8[_0x38a1ca(0xb8)]);return _0x1be80b[_0x38a1ca(0xb1)]=!0x0,_0x1be80b[_0x38a1ca(0xe9)]=_0x3184c8[_0x38a1ca(0xe9)],_0x1be80b[_0x38a1ca(0xf1)](_0x38a1ca(0xed))['to'](_0x3f348a,_0x38a1ca(0xe4),_0x4dacd8=>_0x446752(_0x5a6a62,_0x3184c8[_0x38a1ca(0xb8)],_0x4dacd8?_0x38a1ca(0xea):_0x38a1ca(0xbe))[_0x38a1ca(0xb2)]),_0x1be80b;});}[_0x5dce42(0xcd)](_0x3a8e73){const _0x46f487=_0x5dce42;return _0x3a8e73[_0x46f487(0xd9)](_0x18436b=>{const _0x58f60e=_0x46f487,_0x15cd1a=this[_0x58f60e(0xf0)](_0x366783,_0x18436b[_0x58f60e(0xb8)]);return _0x15cd1a[_0x58f60e(0xe9)]=_0x18436b[_0x58f60e(0xe9)],_0x15cd1a[_0x58f60e(0xed)]=_0x18436b[_0x58f60e(0xf5)],_0x15cd1a;});}}
23
+ const _0x114625=_0x1cf2;function _0x1cf2(_0x53a50b,_0x3ba569){const _0x1139cd=_0x1139();return _0x1cf2=function(_0x1cf219,_0x3ca85d){_0x1cf219=_0x1cf219-0x74;let _0x4d69b9=_0x1139cd[_0x1cf219];return _0x4d69b9;},_0x1cf2(_0x53a50b,_0x3ba569);}(function(_0x31193e,_0x3515d9){const _0x320899=_0x1cf2,_0x1bacfd=_0x31193e();while(!![]){try{const _0x23e278=-parseInt(_0x320899(0xb7))/0x1+-parseInt(_0x320899(0x91))/0x2*(parseInt(_0x320899(0xaf))/0x3)+parseInt(_0x320899(0x8b))/0x4+parseInt(_0x320899(0x76))/0x5+-parseInt(_0x320899(0xbe))/0x6+-parseInt(_0x320899(0x99))/0x7+parseInt(_0x320899(0xc2))/0x8;if(_0x23e278===_0x3515d9)break;else _0x1bacfd['push'](_0x1bacfd['shift']());}catch(_0x120ab2){_0x1bacfd['push'](_0x1bacfd['shift']());}}}(_0x1139,0xde06a));import{Plugin as _0x5cd81c}from'ckeditor5/src/core.js';import{IconDropbox as _0x14aa7f,IconFacebook as _0x3323a6,IconGoogleDrive as _0x5d2de3,IconGooglePhotos as _0x247f5b,IconUploadcareImageUpload as _0x1b2ed0,IconUploadcareLink as _0x52eebe,IconOneDrive as _0x275955}from'ckeditor5/src/icons.js';import{ButtonView as _0x315de0,MenuBarMenuListItemButtonView as _0x514923}from'ckeditor5/src/ui.js';function _0x1139(){const _0x567353=['withText','_createToolbarButton','URL','icon','1157232KDgyfy','type','init','destroy','_showLicenseError','afterInit','bind','Dropbox','1232707lvITjF','entries','map','domainLimit','has','Facebook','pluginName','8644542aGiqSU','label','GPhotos','uploadcareLicenseKeyExpired','27424760AqUGzW','uploadcareLicenseKeyDomainLimit','ImageInsertUI','2807725wSaprU','uploadcare','licenseKey','text','_licenseKeyCheckInterval','GDrive','forEach','trialLimit','Local','isPremiumPlugin','reduce','shortText','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','evaluationLimit','Uploadcare','expired','uploadcareLicenseKeyTrialLimit','push','url','2479092sDuAwL','upload','plugins','assetManager','_createDropdownButtons','commands','4pHRaZg','_createMenuBarButtons','usageLimit','uploadcareLicenseKeyNotAllowed','Insert','locale','config','invalid','1785301UNmkqU','_normalizeConfigSourceList','uploadcareLicenseKeyUsageLimit','OneDrive','uploadcare.uploader.sourceList','featureNotAllowed','isImageSelected','UploadcareUI','_createButton','isOfficialPlugin','editor','execute','isEnabled','get','Replace','tooltip','registerIntegration','uploadcareLicenseKeyValid'];_0x1139=function(){return _0x567353;};return _0x1139();}import{UploadcareSource as _0x91d9ce}from'./uploadcareconfig.js';import{getTranslation as _0x50f13e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5cd81c{[_0x114625(0x78)];[_0x114625(0x7a)];static get[_0x114625(0xbd)](){const _0x156ebc=_0x114625;return _0x156ebc(0xa0);}static get[_0x114625(0xa2)](){return!0x0;}static get[_0x114625(0x7f)](){return!0x0;}[_0x114625(0xb1)](){const _0x3fe1f3=_0x114625;this[_0x3fe1f3(0x78)]=this[_0x3fe1f3(0xa3)][_0x3fe1f3(0x97)][_0x3fe1f3(0xa6)](_0x3fe1f3(0x78));const _0x5ce43c=this[_0x3fe1f3(0xa3)];this[_0x3fe1f3(0x7a)]=setInterval(()=>{const _0xe0cac9=_0x3fe1f3;let _0x485b26;for(const _0x1793a6 in _0x5ce43c){const _0x4de592=_0x1793a6,_0x583b60=_0x5ce43c[_0x4de592];if(_0xe0cac9(0xaa)==_0x583b60||_0xe0cac9(0x83)==_0x583b60||_0xe0cac9(0xc1)==_0x583b60||_0xe0cac9(0x74)==_0x583b60||_0xe0cac9(0x94)==_0x583b60||_0xe0cac9(0x84)==_0x583b60||_0xe0cac9(0x88)==_0x583b60||_0xe0cac9(0x9b)==_0x583b60){delete _0x5ce43c[_0x4de592],_0x485b26=_0x583b60,clearInterval(this[_0xe0cac9(0x7a)]),this[_0xe0cac9(0x7a)]=void 0x0;break;}}_0xe0cac9(0x83)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x98)),_0xe0cac9(0xc1)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x87)),_0xe0cac9(0x74)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0xba)),_0xe0cac9(0x94)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x9e),_0xe0cac9(0x86)),_0xe0cac9(0x84)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x85)),_0xe0cac9(0x88)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x7d)),_0xe0cac9(0x9b)==_0x485b26&&_0x5ce43c[_0xe0cac9(0xb3)](_0xe0cac9(0x93));},0x3e8);}[_0x114625(0xb4)](){const _0x20e31b=_0x114625,{editor:_0x2c664d}=this,_0x3a799e=_0x2c664d[_0x20e31b(0x90)][_0x20e31b(0xa6)](_0x20e31b(0x77));if(!_0x3a799e)return;const _0x3cb2a9=this[_0x20e31b(0x9a)](_0x2c664d[_0x20e31b(0x97)][_0x20e31b(0xa6)](_0x20e31b(0x9d)))[_0x20e31b(0x80)]((_0x12ee90,_0x364271)=>{const _0x57980b=_0x20e31b,_0x3205e8=this[_0x57980b(0x82)](_0x364271[_0x57980b(0xb0)]);return _0x12ee90[_0x3205e8]||(_0x12ee90[_0x3205e8]=[]),_0x12ee90[_0x3205e8][_0x57980b(0x89)](_0x364271),_0x12ee90;},{});_0x2c664d[_0x20e31b(0x8d)][_0x20e31b(0xbb)](_0x20e31b(0x75))&&_0x2c664d[_0x20e31b(0x90)][_0x20e31b(0xa6)](_0x20e31b(0x77))&&Object[_0x20e31b(0xb8)](_0x3cb2a9)[_0x20e31b(0x7c)](([_0x9c38bd,_0x45fcb2])=>{const _0x3007a2=_0x20e31b;_0x2c664d[_0x3007a2(0x8d)][_0x3007a2(0xa6)](_0x3007a2(0x75))[_0x3007a2(0xa9)]({'name':_0x9c38bd,'observable':()=>_0x3a799e,'buttonViewCreator':()=>this[_0x3007a2(0xac)](_0x45fcb2),'formViewCreator':()=>this[_0x3007a2(0x8f)](_0x45fcb2),'menuBarButtonViewCreator':()=>this[_0x3007a2(0x92)](_0x45fcb2),'override':_0x3007a2(0x8e)!==_0x9c38bd});});}[_0x114625(0xb2)](){const _0x5df3c9=_0x114625;super[_0x5df3c9(0xb2)](),this[_0x5df3c9(0x7a)]&&clearInterval(this[_0x5df3c9(0x7a)]);}[_0x114625(0x9a)](_0x1c8f5d){const _0x4d856d=_0x114625,{locale:_0x5387c7}=this[_0x4d856d(0xa3)];return _0x1c8f5d[_0x4d856d(0xb9)](_0x3260ec=>{const _0x406cbd=_0x4d856d,_0x33ee43=_0x50f13e(_0x5387c7,_0x3260ec,_0x406cbd(0x95));switch(_0x3260ec){case _0x91d9ce[_0x406cbd(0x7e)]:return{'icon':_0x1b2ed0,'type':_0x91d9ce[_0x406cbd(0x7e)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xad)]:return{'icon':_0x52eebe,'type':_0x91d9ce[_0x406cbd(0xad)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xb6)]:return{'icon':_0x14aa7f,'type':_0x91d9ce[_0x406cbd(0xb6)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xbc)]:return{'icon':_0x3323a6,'type':_0x91d9ce[_0x406cbd(0xbc)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0x7b)]:return{'icon':_0x5d2de3,'type':_0x91d9ce[_0x406cbd(0x7b)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0xc0)]:return{'icon':_0x247f5b,'type':_0x91d9ce[_0x406cbd(0xc0)],..._0x33ee43};case _0x91d9ce[_0x406cbd(0x9c)]:return{'icon':_0x275955,'type':_0x91d9ce[_0x406cbd(0x9c)],..._0x33ee43};}});}[_0x114625(0x82)](_0x2bfde3){const _0x48c220=_0x114625;switch(_0x2bfde3){case _0x91d9ce[_0x48c220(0x7e)]:return _0x48c220(0x8c);case _0x91d9ce[_0x48c220(0xad)]:return _0x48c220(0x8a);default:return _0x48c220(0x8e);}}[_0x114625(0xa1)](_0x2771c0,_0x5038d3){const _0x104d23=_0x114625,_0x3bf9e8=this[_0x104d23(0xa3)],_0x5e2308=new _0x2771c0(_0x3bf9e8[_0x104d23(0x96)]),_0x1aaa66=_0x3bf9e8[_0x104d23(0x90)][_0x104d23(0xa6)](_0x104d23(0x77));return _0x5e2308[_0x104d23(0xb5)](_0x104d23(0xa5))['to'](_0x1aaa66),_0x5e2308['on'](_0x104d23(0xa4),()=>{const _0x167dfd=_0x104d23;_0x1aaa66[_0x167dfd(0xa4)](_0x5038d3);}),_0x5e2308;}[_0x114625(0xac)](_0x26233e){const _0x176488=_0x114625,{locale:_0x7ab330}=this[_0x176488(0xa3)],_0x5e733e=this[_0x176488(0xa3)][_0x176488(0x8d)][_0x176488(0xa6)](_0x176488(0x75)),_0x389cb3=_0x26233e[0x0],_0x4377c0=this[_0x176488(0xa1)](_0x315de0,_0x389cb3[_0x176488(0xb0)]);return _0x4377c0[_0x176488(0xae)]=_0x389cb3[_0x176488(0xae)],_0x4377c0[_0x176488(0xb5)](_0x176488(0xbf))['to'](_0x5e733e,_0x176488(0x9f),_0x1f58e0=>_0x50f13e(_0x7ab330,_0x389cb3[_0x176488(0xb0)],_0x1f58e0?_0x176488(0xa7):_0x176488(0x95))[_0x176488(0x79)]),_0x4377c0[_0x176488(0xa8)]=!0x0,_0x4377c0;}[_0x114625(0x8f)](_0x1634a0){const _0x5d9ff8=_0x114625,{locale:_0x364413}=this[_0x5d9ff8(0xa3)],_0x2abeee=this[_0x5d9ff8(0xa3)][_0x5d9ff8(0x8d)][_0x5d9ff8(0xa6)](_0x5d9ff8(0x75));return _0x1634a0[_0x5d9ff8(0xb9)](_0x90d65c=>{const _0x47ab76=_0x5d9ff8,_0x3b0550=this[_0x47ab76(0xa1)](_0x315de0,_0x90d65c[_0x47ab76(0xb0)]);return _0x3b0550[_0x47ab76(0xab)]=!0x0,_0x3b0550[_0x47ab76(0xae)]=_0x90d65c[_0x47ab76(0xae)],_0x3b0550[_0x47ab76(0xb5)](_0x47ab76(0xbf))['to'](_0x2abeee,_0x47ab76(0x9f),_0x255e4d=>_0x50f13e(_0x364413,_0x90d65c[_0x47ab76(0xb0)],_0x255e4d?_0x47ab76(0xa7):_0x47ab76(0x95))[_0x47ab76(0x79)]),_0x3b0550;});}[_0x114625(0x92)](_0x185a36){const _0x5befce=_0x114625;return _0x185a36[_0x5befce(0xb9)](_0x407727=>{const _0x1d0edc=_0x5befce,_0x28b690=this[_0x1d0edc(0xa1)](_0x514923,_0x407727[_0x1d0edc(0xb0)]);return _0x28b690[_0x1d0edc(0xae)]=_0x407727[_0x1d0edc(0xae)],_0x28b690[_0x1d0edc(0xbf)]=_0x407727[_0x1d0edc(0x81)],_0x28b690;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5f0a4a}from'ckeditor5/src/core.js';import{FileRepository as _0xdbdac7}from'ckeditor5/src/upload.js';import _0x4b9da6 from'./uploadcareediting.js';import _0x574cf2 from'./utils/uploadutils.js';import{getImageUrls as _0x46b932}from'./utils/editingutils.js';export default class p extends _0x5f0a4a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xdbdac7,_0x4b9da6];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x405b9f=this['editor'];if(!!!_0x405b9f['config']['get']('uploadcare'))return;_0x405b9f['plugins']['get'](_0xdbdac7)['createUploadAdapter']=_0x41bdc5=>new x(_0x41bdc5,_0x405b9f),_0x405b9f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x47271e,{imageElement:_0x209f61,data:_0x3123cb})=>{_0x405b9f['model']['change'](_0x51a51a=>{_0x51a51a['setAttribute']('uploadcareImageId',_0x3123cb['uploadcareImageId'],_0x209f61);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4200a4,_0x36e987){this['loader']=_0x4200a4,this['editor']=_0x36e987,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xae229e=this['editor']['config']['get']('uploadcare.pubkey'),_0x34b880=await this['loader']['file'];return _0x574cf2['upload']({'file':_0x34b880,'publicKey':_0xae229e,'signal':this['controller']['signal'],'onProgress':_0x442d1a=>{_0x442d1a&&_0x442d1a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x442d1a['value']);}})['then'](async _0x3d49b9=>{const {imageFallbackUrl:_0x3f4310,imageSources:_0x4e305f}=_0x46b932(_0x3d49b9['cdnUrl'],_0x3d49b9['imageInfo']['width']);return{'uploadcareImageId':_0x3d49b9['uuid'],'default':_0x3f4310,'sources':_0x4e305f};})['catch'](()=>{const _0x1883ef=t('Cannot\x20upload\x20file:')+('\x20'+_0x34b880['name']+'.');return Promise['reject'](_0x1883ef);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1f476b}from'ckeditor5/src/core.js';import{FileRepository as _0x4b4b1a}from'ckeditor5/src/upload.js';import _0x72ff5e from'./uploadcareediting.js';import _0x34deb9 from'./utils/uploadutils.js';import{getImageUrls as _0x171910}from'./utils/editingutils.js';export default class p extends _0x1f476b{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4b4b1a,_0x72ff5e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x22b3b5=this['editor'];if(!!!_0x22b3b5['config']['get']('uploadcare'))return;_0x22b3b5['plugins']['get'](_0x4b4b1a)['createUploadAdapter']=_0x56a4cf=>new x(_0x56a4cf,_0x22b3b5),_0x22b3b5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1cddcf,{imageElement:_0x1c4579,data:_0x50213c})=>{_0x22b3b5['model']['change'](_0x1ef829=>{_0x1ef829['setAttribute']('uploadcareImageId',_0x50213c['uploadcareImageId'],_0x1c4579);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1a927e,_0x471fd1){this['loader']=_0x1a927e,this['editor']=_0x471fd1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x29413f=this['editor']['config']['get']('uploadcare.pubkey'),_0x2f565a=await this['loader']['file'];return _0x34deb9['upload']({'file':_0x2f565a,'publicKey':_0x29413f,'signal':this['controller']['signal'],'onProgress':_0x19ea0a=>{_0x19ea0a&&_0x19ea0a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x19ea0a['value']);}})['then'](async _0x370a6c=>{const {imageFallbackUrl:_0x5e1aac,imageSources:_0x4586b5}=_0x171910(_0x370a6c['cdnUrl'],_0x370a6c['imageInfo']['width']);return{'uploadcareImageId':_0x370a6c['uuid'],'default':_0x5e1aac,'sources':_0x4586b5};})['catch'](()=>{const _0xd90b79=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f565a['name']+'.');return Promise['reject'](_0xd90b79);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x165db8}from'../uploadcareconfig.js';export function getTranslation(_0x51249a,_0x37fde1,_0x16f94e){const t=_0x51249a['t'],_0x2dcd1e=_0x51249a['t'];switch(_0x37fde1){case _0x165db8['Local']:return{'text':_0x2dcd1e('Insert'===_0x16f94e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2dcd1e('From\x20computer')};case _0x165db8['URL']:return{'text':'Insert'===_0x16f94e?_0x2dcd1e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2dcd1e('Via\x20URL')};case _0x165db8['Dropbox']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x165db8['Facebook']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x165db8['GDrive']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x165db8['GPhotos']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x165db8['OneDrive']:return{'text':t('Insert'===_0x16f94e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x37fde1;}}
23
+ import{UploadcareSource as _0x3a332f}from'../uploadcareconfig.js';export function getTranslation(_0x1a5183,_0x37d5da,_0x2f1c17){const t=_0x1a5183['t'],_0x3b7719=_0x1a5183['t'];switch(_0x37d5da){case _0x3a332f['Local']:return{'text':_0x3b7719('Insert'===_0x2f1c17?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3b7719('From\x20computer')};case _0x3a332f['URL']:return{'text':'Insert'===_0x2f1c17?_0x3b7719('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3b7719('Via\x20URL')};case _0x3a332f['Dropbox']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3a332f['Facebook']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3a332f['GDrive']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3a332f['GPhotos']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3a332f['OneDrive']:return{'text':t('Insert'===_0x2f1c17?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x37d5da;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x301b(){var _0x223145=['400644UrmIsH','557376NrjgAQ','focusTracker','fire','12313332ljlZJI','116970EkydCo','5387781PbrtNN','forwardCycle','div','130992EZKEmm','getFocusableElement','focusCycler','1340680ZPcLDe','bindTemplate','145mCtMSA','3ptZKRQ','true','createCollection'];_0x301b=function(){return _0x223145;};return _0x301b();}function _0x1a2c(_0x4fe33c,_0x5a5851){var _0x301bf5=_0x301b();return _0x1a2c=function(_0x1a2c00,_0x19f179){_0x1a2c00=_0x1a2c00-0xed;var _0x44603c=_0x301bf5[_0x1a2c00];return _0x44603c;},_0x1a2c(_0x4fe33c,_0x5a5851);}var _0xdff0f6=_0x1a2c;(function(_0x1693a2,_0x450301){var _0x3d667a=_0x1a2c,_0x2ff839=_0x1693a2();while(!![]){try{var _0x3dfe5b=-parseInt(_0x3d667a(0xef))/0x1+parseInt(_0x3d667a(0xf8))/0x2*(-parseInt(_0x3d667a(0xfe))/0x3)+-parseInt(_0x3d667a(0xf0))/0x4+-parseInt(_0x3d667a(0xfd))/0x5*(-parseInt(_0x3d667a(0xf4))/0x6)+-parseInt(_0x3d667a(0xf5))/0x7+-parseInt(_0x3d667a(0xfb))/0x8+parseInt(_0x3d667a(0xf3))/0x9;if(_0x3dfe5b===_0x450301)break;else _0x2ff839['push'](_0x2ff839['shift']());}catch(_0x46ca65){_0x2ff839['push'](_0x2ff839['shift']());}}}(_0x301b,0x5f65f));import{FocusTracker as _0x160329}from'ckeditor5/src/utils.js';import{View as _0x32d65f,FocusCycler as _0x1d281d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x32d65f{[_0xdff0f6(0xf1)];[_0xdff0f6(0xfa)];constructor(_0x1633d6){var _0x482e09=_0xdff0f6;super(_0x1633d6),this[_0x482e09(0xf1)]=new _0x160329(),this[_0x482e09(0xfa)]=new _0x1d281d({'focusables':this[_0x482e09(0xee)](),'focusTracker':this[_0x482e09(0xf1)]});}[_0xdff0f6(0xf9)](){var _0x557889=_0xdff0f6;return{'tag':_0x557889(0xf7),'attributes':{'aria-hidden':_0x557889(0xed),'tabindex':'0'},'on':{'focus':this[_0x557889(0xfc)]['to'](()=>{var _0x1305ff=_0x557889;this[_0x1305ff(0xfa)][_0x1305ff(0xf2)](_0x1305ff(0xf6));})}};}}
23
+ var _0x442f52=_0xe2e0;function _0x2120(){var _0x47d32b=['16qRkPXR','focusCycler','226dsKkYd','forwardCycle','fire','122253HDLKOZ','68778mCyLVg','16Fmgkji','getFocusableElement','457160xizgrF','div','focusTracker','1811PCGMEf','1157142XmnydR','createCollection','true','1041005vcumfv','bindTemplate','3913720fybGGh'];_0x2120=function(){return _0x47d32b;};return _0x2120();}(function(_0x2bc3b8,_0x1ebdbb){var _0x41c87e=_0xe2e0,_0xd98070=_0x2bc3b8();while(!![]){try{var _0x48ab31=-parseInt(_0x41c87e(0x6c))/0x1*(parseInt(_0x41c87e(0x75))/0x2)+parseInt(_0x41c87e(0x78))/0x3*(-parseInt(_0x41c87e(0x7a))/0x4)+parseInt(_0x41c87e(0x7c))/0x5+parseInt(_0x41c87e(0x6d))/0x6+-parseInt(_0x41c87e(0x70))/0x7+-parseInt(_0x41c87e(0x73))/0x8*(-parseInt(_0x41c87e(0x79))/0x9)+parseInt(_0x41c87e(0x72))/0xa;if(_0x48ab31===_0x1ebdbb)break;else _0xd98070['push'](_0xd98070['shift']());}catch(_0x38687f){_0xd98070['push'](_0xd98070['shift']());}}}(_0x2120,0x2a9f7));import{FocusTracker as _0x125d5c}from'ckeditor5/src/utils.js';import{View as _0x242785,FocusCycler as _0x1025b9}from'ckeditor5/src/ui.js';function _0xe2e0(_0x359225,_0x138e0f){var _0x21203f=_0x2120();return _0xe2e0=function(_0xe2e046,_0x1d6881){_0xe2e046=_0xe2e046-0x6a;var _0x45e809=_0x21203f[_0xe2e046];return _0x45e809;},_0xe2e0(_0x359225,_0x138e0f);}import'../../theme/uploadcare-form.css';export default class q extends _0x242785{[_0x442f52(0x6b)];[_0x442f52(0x74)];constructor(_0x4b4c10){var _0xa075db=_0x442f52;super(_0x4b4c10),this[_0xa075db(0x6b)]=new _0x125d5c(),this[_0xa075db(0x74)]=new _0x1025b9({'focusables':this[_0xa075db(0x6e)](),'focusTracker':this[_0xa075db(0x6b)]});}[_0x442f52(0x7b)](){var _0x342333=_0x442f52;return{'tag':_0x342333(0x6a),'attributes':{'aria-hidden':_0x342333(0x6f),'tabindex':'0'},'on':{'focus':this[_0x342333(0x71)]['to'](()=>{var _0x30856=_0x342333;this[_0x30856(0x74)][_0x30856(0x77)](_0x30856(0x76));})}};}}