@ckeditor/ckeditor5-uploadcare 45.2.0-alpha.7 → 45.2.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dcb58=_0x3c52;(function(_0x57d3f5,_0x28ca33){const _0x40e986=_0x3c52,_0x1d3838=_0x57d3f5();while(!![]){try{const _0x3a1abb=-parseInt(_0x40e986(0x108))/0x1+-parseInt(_0x40e986(0xde))/0x2+parseInt(_0x40e986(0xf5))/0x3*(parseInt(_0x40e986(0x128))/0x4)+parseInt(_0x40e986(0x11f))/0x5+parseInt(_0x40e986(0xfb))/0x6*(-parseInt(_0x40e986(0x10a))/0x7)+parseInt(_0x40e986(0xe4))/0x8*(-parseInt(_0x40e986(0xdd))/0x9)+-parseInt(_0x40e986(0xe7))/0xa*(-parseInt(_0x40e986(0x12b))/0xb);if(_0x3a1abb===_0x28ca33)break;else _0x1d3838['push'](_0x1d3838['shift']());}catch(_0x416525){_0x1d3838['push'](_0x1d3838['shift']());}}}(_0x2e94,0x8d4d7));import{Plugin as _0x26ad2c}from'ckeditor5/src/core.js';import{Dialog as _0x24353c}from'ckeditor5/src/ui.js';function _0x2e94(){const _0x58aaa5=['configElement','get','uploadcareImageId','832PMpDKh','add','#uc-icon-arrow-down','1127660bMglAC','data-uc-image-id','PictureEditing','contentLanguage','afterInit','imageBlock','requires','uc-upload-ctx-provider','commands','schema','pluginName','destroy','downcast','remove','51GSNKic','true','isOfficialPlugin','once','getSelectedElement','for','605730DMCBSQ','getAttribute','_initImageProcessingIndicator','attributeToAttribute','href','appendChild','uploadcareImageReplace','locale','upcast','body','_initConversion','\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','editing','887030QXPwOi','iconHrefResolver','14dUtnQW','elementToAttribute','editor','join','config','uploadcare.pubkey','document','_initCtx','uploadcare.uploader','selection','UploadcareEditing','uploader','_configElement','ctxElement','uploadcare','insertImage','_ctxElement','replaceImageSource','execute','listenTo','map','4784735gPOaFI','_initConfig','uc-config','removeAttribute','imageInline','model','input[uploadcare-file-input]','init','cleanupImage','81576VSbvEK','querySelector','render','132VctAgc','_initSchema','isPremiumPlugin','isRegistered','conversion','view','extend','26262FzlMKy','1371300JdCjgj','fromCharCode','closeMax'];_0x2e94=function(){return _0x58aaa5;};return _0x2e94();}import{createElement as _0x558604,global as _0x3e00c7,uid as _0x26bfe9}from'ckeditor5/src/utils.js';import _0x41ae61 from'./uploadcarecommand.js';function _0x3c52(_0x57eb1a,_0x2d48c8){const _0x2e94f2=_0x2e94();return _0x3c52=function(_0x3c5202,_0x43abbc){_0x3c5202=_0x3c5202-0xd8;let _0x22fc1e=_0x2e94f2[_0x3c5202];return _0x22fc1e;},_0x3c52(_0x57eb1a,_0x2d48c8);}import _0x3686de from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x41b7ae}from'./utils/editingutils.js';export default class i extends _0x26ad2c{[_0x5dcb58(0x116)]=null;[_0x5dcb58(0x11a)]=null;static get[_0x5dcb58(0xf1)](){const _0x1cf40c=_0x5dcb58;return _0x1cf40c(0x114);}static get[_0x5dcb58(0xed)](){const _0x3c47a7=_0x5dcb58;return[_0x3c47a7(0xe9),_0x3686de,_0x24353c];}static get[_0x5dcb58(0xf7)](){return!0x0;}static get[_0x5dcb58(0xd8)](){return!0x0;}get[_0x5dcb58(0xe1)](){const _0x4c60d8=_0x5dcb58;return this[_0x4c60d8(0x116)];}get[_0x5dcb58(0x117)](){const _0x4bcc58=_0x5dcb58;return this[_0x4bcc58(0x11a)];}[_0x5dcb58(0x126)](){const _0x377faf=_0x5dcb58,_0x358338=this[_0x377faf(0x10c)];_0x358338[_0x377faf(0xef)][_0x377faf(0xe5)](_0x377faf(0x118),new _0x41ae61(_0x358338));}[_0x5dcb58(0xeb)](){const _0x56abfb=_0x5dcb58;this[_0x56abfb(0x12c)](),this[_0x56abfb(0x105)](),this[_0x56abfb(0x120)](),this[_0x56abfb(0x111)](),this[_0x56abfb(0xfd)](),this[_0x56abfb(0x11d)](this[_0x56abfb(0x10c)],_0x56abfb(0xf2),()=>{const _0x106840=_0x56abfb;this[_0x106840(0x116)]&&(this[_0x106840(0x116)][_0x106840(0xf4)](),this[_0x106840(0x116)]=null),this[_0x106840(0x11a)]&&(this[_0x106840(0x11a)][_0x106840(0xf4)](),this[_0x106840(0x11a)]=null);const _0x4cc3f1=_0x3e00c7[_0x106840(0x110)][_0x106840(0x129)](_0x106840(0x125));_0x4cc3f1&&_0x4cc3f1[_0x106840(0xf4)]();}),async function(_0x749869){const _0x514f88=_0x503d46([0x4d,0x5a,0x54,0x6a,0x37,0x34,0x35,0x6f,0x4f,0x68,0x73,0x75,0x59,0x6c,0x79,0x48,0x76,0x49,0x44,0x43,0x62,0x52,0x47,0x4b,0x56,0x53,0x51,0x78,0x45,0x67,0x57,0x32,0x65,0x46,0x39,0x4c,0x4a,0x55,0x6e,0x6d,0x36,0x74,0x6b,0x70,0x42,0x50,0x30,0x38,0x41,0x77,0x63,0x61,0x66,0x69,0x71,0x72,0x64,0x7a,0x31,0x4e,0x33,0x58]),_0x40e12b=0x257ad847,_0x335b47=0x257db18f^_0x40e12b,_0x39a077=window[_0x503d46([0x44,0x61,0x74,0x65])][_0x503d46([0x6e,0x6f,0x77])](),_0xac1a9e=_0x749869[_0x503d46([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2effba=new window[(_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204a69=>{_0xac1a9e[_0x503d46([0x6f,0x6e,0x63,0x65])](_0x503d46([0x72,0x65,0x61,0x64,0x79]),_0x204a69);}),_0x16bdd8={[_0x503d46([0x6b,0x74,0x79])]:_0x503d46([0x45,0x43]),[_0x503d46([0x75,0x73,0x65])]:_0x503d46([0x73,0x69,0x67]),[_0x503d46([0x63,0x72,0x76])]:_0x503d46([0x50,0x2d,0x32,0x35,0x36]),[_0x503d46([0x78])]:_0x503d46([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]),[_0x503d46([0x79])]:_0x503d46([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]),[_0x503d46([0x61,0x6c,0x67])]:_0x503d46([0x45,0x53,0x32,0x35,0x36])},_0x161f71=_0xac1a9e[_0x503d46([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x503d46([0x67,0x65,0x74])](_0x503d46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbaf0a8(){let _0x3e82be,_0x1c1f1e=null,_0x3428fe=null;try{if(_0x161f71==_0x503d46([0x47,0x50,0x4c]))return _0x503d46([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e82be=_0x360018(),!_0x3e82be)return _0x503d46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e82be[_0x503d46([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3428fe=_0x42b5b1(_0x3e82be[_0x503d46([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e82be[_0x503d46([0x6a,0x74,0x69])])),await _0x2ed7d4()?_0x7645c9()?_0x517501()?_0x503d46([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17381f()?(_0x3e82be[_0x503d46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x503d46([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c1f1e=_0x34a1c0(_0x503d46([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e82be[_0x503d46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x503d46([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c1f1e=_0x34a1c0(_0x503d46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ec405()):_0x503d46([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x503d46([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x503d46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x503d46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x517501(){const _0x509d08=[_0x503d46([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x503d46([0x74,0x72,0x69,0x61,0x6c])][_0x503d46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e82be[_0x503d46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39a077/0x3e8:0xe10*_0x335b47;return _0x3e82be[_0x503d46([0x65,0x78,0x70])]<_0x509d08;}function _0x7645c9(){const _0x357139=_0x3e82be[_0x503d46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x357139&&(!!_0x357139[_0x503d46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x503d46([0x2a]))||!!_0x357139[_0x503d46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x503d46([0x55,0x50,0x4c,0x43])));}function _0x17381f(){const _0x51b7f6=_0x3c52,_0x10f6c1=_0x3e82be[_0x503d46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10f6c1||0x0==_0x10f6c1[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e1869}=new URL(window[_0x503d46([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51b7f6(0xff)]);if(_0x10f6c1[_0x503d46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e1869))return!0x0;const _0xfc2af2=_0x3e1869[_0x503d46([0x73,0x70,0x6c,0x69,0x74])](_0x503d46([0x2e]));return _0x10f6c1[_0x503d46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x158702=>_0x158702[_0x503d46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x503d46([0x2a])))[_0x503d46([0x6d,0x61,0x70])](_0xcd79e1=>_0xcd79e1[_0x503d46([0x73,0x70,0x6c,0x69,0x74])](_0x503d46([0x2e])))[_0x503d46([0x73,0x6f,0x6d,0x65])](_0x241299=>_0xfc2af2[_0x503d46([0x65,0x76,0x65,0x72,0x79])]((_0x30cf3f,_0x451e4a)=>_0x241299[_0x451e4a]===_0x30cf3f||_0x241299[_0x451e4a]===_0x503d46([0x2a])));}function _0x2ec405(){return _0x1c1f1e&&_0x3428fe?new window[(_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44d63e,_0x5026d9)=>{_0x1c1f1e[_0x503d46([0x74,0x68,0x65,0x6e])](_0x44d63e,_0x5026d9),_0x3428fe[_0x503d46([0x74,0x68,0x65,0x6e])](_0x16ec64=>{_0x16ec64!=_0x503d46([0x56,0x61,0x6c,0x69,0x64])&&_0x44d63e(_0x16ec64);},_0x5026d9);}):_0x1c1f1e||_0x3428fe||_0x503d46([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42b5b1(_0x1fd01a,_0x143ff6){return new window[(_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ef684=>{if(_0x49b37f())return _0x3ef684(_0x503d46([0x56,0x61,0x6c,0x69,0x64]));_0x3ffdc3(),_0xac1a9e[_0x503d46([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x503d46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54e5cd=!0x1;const _0x27593f=_0x26bfe9();function _0x234f18(_0x139bc8){return!!_0x139bc8&&(typeof _0x139bc8===_0x503d46([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x139bc8===_0x503d46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x139bc8[_0x503d46([0x74,0x68,0x65,0x6e])]===_0x503d46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x139bc8[_0x503d46([0x63,0x61,0x74,0x63,0x68])]===_0x503d46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29a92b(_0x242b0f){_0x4ed09a(_0x242b0f)[_0x503d46([0x74,0x68,0x65,0x6e])](_0x2e7d31=>{if(!_0x2e7d31||_0x2e7d31[_0x503d46([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x503d46([0x6f,0x6b]))return _0x503d46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37e88a(_0x5654a8(_0x27593f+_0x143ff6))!=_0x2e7d31[_0x503d46([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x503d46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x503d46([0x56,0x61,0x6c,0x69,0x64]);})[_0x503d46([0x74,0x68,0x65,0x6e])](_0x54258a=>(_0x18e2d0(),_0x54258a),()=>{const _0x20bfe0=_0x5eaa65();return null==_0x20bfe0?(_0x18e2d0(),_0x503d46([0x56,0x61,0x6c,0x69,0x64])):_0x503d46(_0x39a077-_0x20bfe0>(0x1765c47^_0x40e12b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x503d46([0x74,0x68,0x65,0x6e])](_0x3ef684)[_0x503d46([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ef684(_0x503d46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x463995=0x254c36c7^_0x40e12b;function _0x18e2d0(){const _0x106211=_0x503d46([0x6c,0x6c,0x63,0x74,0x2d])+_0x37e88a(_0x5654a8(_0x1fd01a)),_0x130a69=_0x56435e(_0x37e88a(window[_0x503d46([0x4d,0x61,0x74,0x68])][_0x503d46([0x63,0x65,0x69,0x6c])](_0x39a077/_0x463995)));window[_0x503d46([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x503d46([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x106211,_0x130a69);}function _0x5eaa65(){const _0x2c2df0=_0x503d46([0x6c,0x6c,0x63,0x74,0x2d])+_0x37e88a(_0x5654a8(_0x1fd01a)),_0x15dc56=window[_0x503d46([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x503d46([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c2df0);return _0x15dc56?window[_0x503d46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56435e(_0x15dc56),0x10)*_0x463995:null;}function _0x4ed09a(_0x3c2880){return new window[(_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1faa01,_0x450e28)=>{_0x3c2880[_0x503d46([0x74,0x68,0x65,0x6e])](_0x1faa01,_0x450e28),window[_0x503d46([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x450e28,0x257b0c87^_0x40e12b);});}}_0xac1a9e[_0x503d46([0x6f,0x6e])](_0x503d46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30d011,_0x175b2e)=>{if(_0x175b2e[0x0]!=_0x1fd01a)return _0x3ef684(_0x503d46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x175b2e[0x1]={..._0x175b2e[0x1],[_0x503d46([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27593f};},{[_0x503d46([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x503d46([0x68,0x69,0x67,0x68])}),_0xac1a9e[_0x503d46([0x6f,0x6e])](_0x503d46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1aa90c=>{_0x234f18(_0x1aa90c[_0x503d46([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54e5cd=!0x0,_0x29a92b(_0x1aa90c[_0x503d46([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x503d46([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x503d46([0x6c,0x6f,0x77])}),_0x2effba[_0x503d46([0x74,0x68,0x65,0x6e])](()=>{_0x54e5cd||_0x3ef684(_0x503d46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49b37f(){return _0xac1a9e[_0x503d46([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x503d46([0x76,0x69,0x65,0x77])][_0x503d46([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x503d46([0x61,0x75,0x74,0x6f]);}function _0x3ffdc3(){_0xac1a9e[_0x503d46([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x503d46([0x76,0x69,0x65,0x77])][_0x503d46([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x503d46([0x61,0x75,0x74,0x6f]);}}function _0x34a1c0(_0x20c131){const _0x28bdba=[new window[(_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x78be08=>setTimeout(_0x78be08,0x2573e68b^_0x40e12b)),_0x2effba[_0x503d46([0x74,0x68,0x65,0x6e])](()=>new window[(_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc1af0e=>{let _0x3dbe22=0x0;_0xac1a9e[_0x503d46([0x6d,0x6f,0x64,0x65,0x6c])][_0x503d46([0x6f,0x6e])](_0x503d46([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f35a1,_0xac9f94)=>{_0xac9f94[0x0][_0x503d46([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3dbe22++,_0x3dbe22==(0x257ad9bf^_0x40e12b)&&(_0xc1af0e(),_0x2f35a1[_0x503d46([0x6f,0x66,0x66])]());});}))];return window[_0x503d46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x503d46([0x72,0x61,0x63,0x65])](_0x28bdba)[_0x503d46([0x74,0x68,0x65,0x6e])](()=>_0x20c131);}async function _0x590acf(){await _0x2effba,_0xac1a9e[_0x503d46([0x6d,0x6f,0x64,0x65,0x6c])][_0x503d46([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x331f9d,_0xac1a9e[_0x503d46([0x6d,0x6f,0x64,0x65,0x6c])][_0x503d46([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x331f9d,_0xac1a9e[_0x503d46([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x503d46([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d0f1a(_0x278e85){const _0xb76b02=_0x3db169();_0xac1a9e[_0xb76b02]=_0x503d46([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x278e85,_0x278e85!=_0x503d46([0x56,0x61,0x6c,0x69,0x64])&&_0x590acf();}function _0x3db169(){const _0x2c319d=window[_0x503d46([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x503d46([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x503d46([0x6e,0x6f,0x77])]())[_0x503d46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x503d46([0x2e]),'');let _0x35aaac=_0x503d46([0x4d]);for(let _0x569c8f=0x0;_0x569c8f<_0x2c319d[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x569c8f+=0x2){let _0x5744a9=window[_0x503d46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c319d[_0x503d46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x569c8f,_0x569c8f+0x2));_0x5744a9>=_0x514f88[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5744a9-=_0x514f88[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35aaac+=_0x514f88[_0x5744a9];}return _0x35aaac;}function _0x360018(){const _0x4b250e=_0x161f71[_0x503d46([0x73,0x70,0x6c,0x69,0x74])](_0x503d46([0x2e]));if(0x3!=_0x4b250e[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ae465(_0x4b250e[0x1]);function _0x5ae465(_0x333b91){const _0x4a7cb6=_0x472651(_0x333b91);return _0x4a7cb6&&_0x34e881()?_0x4a7cb6:null;function _0x34e881(){const _0x3f457a=_0x4a7cb6[_0x503d46([0x6a,0x74,0x69])],_0x19a579=window[_0x503d46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f457a[_0x503d46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f457a[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37bf15={..._0x4a7cb6,[_0x503d46([0x6a,0x74,0x69])]:_0x3f457a[_0x503d46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f457a[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37bf15[_0x503d46([0x76,0x63])],_0x5654a8(_0x37bf15)==_0x19a579;}}}async function _0x2ed7d4(){let _0x48a7c0=!0x0;try{const _0x4f5a2e=_0x161f71[_0x503d46([0x73,0x70,0x6c,0x69,0x74])](_0x503d46([0x2e])),[_0x5425fb,_0x426635,_0x18ab70]=_0x4f5a2e;return _0x2dc81b(_0x5425fb),await _0x4dfe94(_0x5425fb,_0x426635,_0x18ab70),_0x48a7c0;}catch{return!0x1;}function _0x2dc81b(_0xf5239a){const _0x27cc23=_0x472651(_0xf5239a);_0x27cc23&&_0x27cc23[_0x503d46([0x61,0x6c,0x67])]==_0x503d46([0x45,0x53,0x32,0x35,0x36])||(_0x48a7c0=!0x1);}async function _0x4dfe94(_0x48bfdb,_0x4887b3,_0x56539e){const _0x4a7335=window[_0x503d46([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x503d46([0x66,0x72,0x6f,0x6d])](_0x48d366(_0x56539e),_0x263d5c=>_0x263d5c[_0x503d46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35d0f6=new window[(_0x503d46([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x503d46([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48bfdb+_0x503d46([0x2e])+_0x4887b3),_0x521211=window[_0x503d46([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x503d46([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x521211)return;const _0x2d62a4=await _0x521211[_0x503d46([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x503d46([0x6a,0x77,0x6b]),_0x16bdd8,{[_0x503d46([0x6e,0x61,0x6d,0x65])]:_0x503d46([0x45,0x43,0x44,0x53,0x41]),[_0x503d46([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x503d46([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x503d46([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x521211[_0x503d46([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x503d46([0x6e,0x61,0x6d,0x65])]:_0x503d46([0x45,0x43,0x44,0x53,0x41]),[_0x503d46([0x68,0x61,0x73,0x68])]:{[_0x503d46([0x6e,0x61,0x6d,0x65])]:_0x503d46([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d62a4,_0x4a7335,_0x35d0f6)||(_0x48a7c0=!0x1);}}function _0x472651(_0xffc058){return _0xffc058[_0x503d46([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x503d46([0x65,0x79]))?JSON[_0x503d46([0x70,0x61,0x72,0x73,0x65])](_0x48d366(_0xffc058)):null;}function _0x48d366(_0x2e7951){return window[_0x503d46([0x61,0x74,0x6f,0x62])](_0x2e7951[_0x503d46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x503d46([0x2b]))[_0x503d46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x503d46([0x2f])));}function _0x5654a8(_0x3bcb8e){let _0x1a10d2=0x1505;function _0xbf4cc(_0x6e60de){for(let _0x5daed4=0x0;_0x5daed4<_0x6e60de[_0x503d46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5daed4++){const _0x4379e7=_0x6e60de[_0x503d46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5daed4);_0x1a10d2=(_0x1a10d2<<0x5)+_0x1a10d2+_0x4379e7,_0x1a10d2&=_0x1a10d2;}}function _0x1e1b20(_0x1cb596){Array[_0x503d46([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cb596)?_0x1cb596[_0x503d46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e1b20):_0x1cb596&&typeof _0x1cb596==_0x503d46([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x503d46([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cb596)[_0x503d46([0x73,0x6f,0x72,0x74])]()[_0x503d46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2257da,_0x370ac4])=>{_0xbf4cc(_0x2257da),_0x1e1b20(_0x370ac4);}):_0xbf4cc(window[_0x503d46([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cb596));}return _0x1e1b20(_0x3bcb8e),_0x1a10d2>>>0x0;}function _0x37e88a(_0x32d745){return _0x32d745[_0x503d46([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x503d46([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x503d46([0x30]));}function _0x56435e(_0x507f14){return _0x507f14[_0x503d46([0x73,0x70,0x6c,0x69,0x74])]('')[_0x503d46([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x503d46([0x6a,0x6f,0x69,0x6e])]('');}function _0x331f9d(){}function _0x503d46(_0x4f7b69){const _0x95ae4d=_0x3c52;return _0x4f7b69[_0x95ae4d(0x11e)](_0x2b8c14=>String[_0x95ae4d(0xdf)](_0x2b8c14))[_0x95ae4d(0x10d)]('');}_0x1d0f1a(await _0xbaf0a8());}(this);}[_0x5dcb58(0x12c)](){const _0x1c2dd8=_0x5dcb58,_0x47bdaa=this[_0x1c2dd8(0x10c)][_0x1c2dd8(0x124)][_0x1c2dd8(0xf0)];_0x47bdaa[_0x1c2dd8(0xd9)](_0x1c2dd8(0xec))&&_0x47bdaa[_0x1c2dd8(0xdc)](_0x1c2dd8(0xec),{'allowAttributes':[_0x1c2dd8(0xe3)]}),_0x47bdaa[_0x1c2dd8(0xd9)](_0x1c2dd8(0x123))&&_0x47bdaa[_0x1c2dd8(0xdc)](_0x1c2dd8(0x123),{'allowAttributes':[_0x1c2dd8(0xe3)]});}[_0x5dcb58(0x105)](){const _0x2a4221=_0x5dcb58,_0x20ee7e=this[_0x2a4221(0x10c)];_0x20ee7e[_0x2a4221(0xda)][_0x2a4221(0xfa)](_0x2a4221(0xf3))[_0x2a4221(0xfe)]({'model':_0x2a4221(0xe3),'view':_0x2a4221(0xe8)}),_0x20ee7e[_0x2a4221(0xda)][_0x2a4221(0xfa)](_0x2a4221(0x103))[_0x2a4221(0x10b)]({'model':{'key':_0x2a4221(0xe3),'value':_0x2555f0=>_0x2555f0[_0x2a4221(0xfc)](_0x2a4221(0xe8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x392e21=_0x20ee7e[_0x2a4221(0xef)][_0x2a4221(0xe2)](_0x2a4221(0x11b));_0x392e21&&this[_0x2a4221(0x11d)](_0x392e21,_0x2a4221(0x127),(_0x374f18,[_0x59d3fd,_0x97573e])=>{const _0x529bad=_0x2a4221;_0x59d3fd[_0x529bad(0x122)](_0x529bad(0xe3),_0x97573e);});}[_0x5dcb58(0x120)](){const _0x5be2db=_0x5dcb58,_0x496489=this[_0x5be2db(0x10c)][_0x5be2db(0x10e)][_0x5be2db(0xe2)](_0x5be2db(0x112))||{},_0x4cbfa9=this[_0x5be2db(0x10c)][_0x5be2db(0x10e)][_0x5be2db(0xe2)](_0x5be2db(0x10f))||'';this[_0x5be2db(0x116)]=_0x558604(_0x3e00c7[_0x5be2db(0x110)],_0x5be2db(0x121),{..._0x496489,'pubkey':_0x4cbfa9,'ctx-name':_0x5be2db(0x115),'sourceList':'','imgOnly':_0x5be2db(0xf6),'removeCopyright':_0x5be2db(0xf6),'localeName':this[_0x5be2db(0x10c)][_0x5be2db(0x102)][_0x5be2db(0xea)],'externalSourcesEmbedCss':_0x5be2db(0x106)}),this[_0x5be2db(0x116)][_0x5be2db(0x109)]=_0x2051ba=>{const _0x4b24eb=_0x5be2db;if(_0x4b24eb(0xe0)==_0x2051ba)return _0x4b24eb(0xe6);},_0x3e00c7[_0x5be2db(0x110)][_0x5be2db(0x104)][_0x5be2db(0x100)](this[_0x5be2db(0x116)]);}[_0x5dcb58(0x111)](){const _0x7649f1=_0x5dcb58;this[_0x7649f1(0x11a)]=_0x558604(_0x3e00c7[_0x7649f1(0x110)],_0x7649f1(0xee),{'ctx-name':_0x7649f1(0x115)}),_0x3e00c7[_0x7649f1(0x110)][_0x7649f1(0x104)][_0x7649f1(0x100)](this[_0x7649f1(0x11a)]);}[_0x5dcb58(0xfd)](){const _0x326c16=_0x5dcb58,_0x130055=this[_0x326c16(0x10c)][_0x326c16(0xef)][_0x326c16(0xe2)](_0x326c16(0x119));_0x130055&&this[_0x326c16(0x11d)](_0x130055,_0x326c16(0x11c),()=>{const _0x3de8ef=_0x326c16,_0x3067ff=this[_0x3de8ef(0x10c)][_0x3de8ef(0x124)][_0x3de8ef(0x110)][_0x3de8ef(0x113)][_0x3de8ef(0xf9)]();_0x3067ff&&_0x3067ff[_0x3de8ef(0xfc)](_0x3de8ef(0xe3))&&this[_0x3de8ef(0x10c)][_0x3de8ef(0x107)][_0x3de8ef(0xdb)][_0x3de8ef(0xf8)](_0x3de8ef(0x12a),()=>{const _0xb5010=_0x3de8ef;_0x41b7ae(this[_0xb5010(0x10c)],_0x3067ff);});});const _0x42b0d0=this[_0x326c16(0x10c)][_0x326c16(0xef)][_0x326c16(0xe2)](_0x326c16(0x101));_0x42b0d0&&this[_0x326c16(0x11d)](_0x42b0d0,_0x326c16(0x11c),()=>{const _0x181043=_0x326c16,_0x4bb1a3=this[_0x181043(0x10c)][_0x181043(0x124)][_0x181043(0x110)][_0x181043(0x113)][_0x181043(0xf9)]();_0x4bb1a3&&_0x4bb1a3[_0x181043(0xfc)](_0x181043(0xe3))&&this[_0x181043(0x10c)][_0x181043(0x107)][_0x181043(0xdb)][_0x181043(0xf8)](_0x181043(0x12a),()=>{const _0x216372=_0x181043;_0x41b7ae(this[_0x216372(0x10c)],_0x4bb1a3);});});}}
23
+ const _0x256ba8=_0x1866;(function(_0x50dc93,_0x31eddf){const _0x523b69=_0x1866,_0x2d008e=_0x50dc93();while(!![]){try{const _0x12727e=parseInt(_0x523b69(0x11e))/0x1*(parseInt(_0x523b69(0xe9))/0x2)+parseInt(_0x523b69(0xf4))/0x3*(-parseInt(_0x523b69(0xfb))/0x4)+parseInt(_0x523b69(0x117))/0x5*(parseInt(_0x523b69(0x124))/0x6)+parseInt(_0x523b69(0x112))/0x7*(parseInt(_0x523b69(0x122))/0x8)+-parseInt(_0x523b69(0x10a))/0x9+-parseInt(_0x523b69(0xfc))/0xa*(-parseInt(_0x523b69(0x109))/0xb)+-parseInt(_0x523b69(0xf5))/0xc;if(_0x12727e===_0x31eddf)break;else _0x2d008e['push'](_0x2d008e['shift']());}catch(_0x5a6834){_0x2d008e['push'](_0x2d008e['shift']());}}}(_0xaab3,0xb1553));function _0xaab3(){const _0x365bd3=['uploadcareImageId','schema','view','map','#uc-icon-arrow-down','2564rMzKJH','render','init','isPremiumPlugin','88ZoIIrb','contentLanguage','18ayhvFr','uploadcareImageReplace','attributeToAttribute','closeMax','iconHrefResolver','remove','isRegistered','UploadcareEditing','afterInit','_initConfig','document','_initImageProcessingIndicator','editor','_initSchema','\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','removeAttribute','replaceImageSource','appendChild','locale','join','pluginName','once','commands','uploader','uploadcare','cleanupImage','uc-upload-ctx-provider','944JhisZv','imageBlock','_initConversion','get','querySelector','listenTo','body','config','_ctxElement','uc-config','getSelectedElement','3wxeJaB','41105112ONnoBi','_initCtx','destroy','add','requires','upcast','1586768BpxGuU','3126280iSmpgd','fromCharCode','configElement','model','imageInline','downcast','PictureEditing','href','input[uploadcare-file-input]','insertImage','getAttribute','selection','uploadcare.pubkey','44hiaJuV','3928968MbXucd','editing','_configElement','conversion','uploadcare.uploader','ctxElement','true','for','715932PuLkpX','extend','isOfficialPlugin','data-uc-image-id','elementToAttribute','2332115TgaTvo','execute'];_0xaab3=function(){return _0x365bd3;};return _0xaab3();}import{Plugin as _0x1644f6}from'ckeditor5/src/core.js';import{Dialog as _0x259d21}from'ckeditor5/src/ui.js';function _0x1866(_0x2c256b,_0x2cde84){const _0xaab3ce=_0xaab3();return _0x1866=function(_0x1866f5,_0x4007ac){_0x1866f5=_0x1866f5-0xdb;let _0x1785cd=_0xaab3ce[_0x1866f5];return _0x1785cd;},_0x1866(_0x2c256b,_0x2cde84);}import{createElement as _0x527af7,global as _0x5c2360,uid as _0x224f2b}from'ckeditor5/src/utils.js';import _0x490d7d from'./uploadcarecommand.js';import _0xbac47c from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3276a0}from'./utils/editingutils.js';export default class i extends _0x1644f6{[_0x256ba8(0x10c)]=null;[_0x256ba8(0xf1)]=null;static get[_0x256ba8(0xe2)](){const _0x32413b=_0x256ba8;return _0x32413b(0x12b);}static get[_0x256ba8(0xf9)](){const _0x3badb=_0x256ba8;return[_0x3badb(0x102),_0xbac47c,_0x259d21];}static get[_0x256ba8(0x114)](){return!0x0;}static get[_0x256ba8(0x121)](){return!0x0;}get[_0x256ba8(0xfe)](){const _0x44d31c=_0x256ba8;return this[_0x44d31c(0x10c)];}get[_0x256ba8(0x10f)](){const _0x192006=_0x256ba8;return this[_0x192006(0xf1)];}[_0x256ba8(0x120)](){const _0x5907d6=_0x256ba8,_0x388c3f=this[_0x5907d6(0x130)];_0x388c3f[_0x5907d6(0xe4)][_0x5907d6(0xf8)](_0x5907d6(0xe6),new _0x490d7d(_0x388c3f));}[_0x256ba8(0x12c)](){const _0x3b7531=_0x256ba8;this[_0x3b7531(0xdb)](),this[_0x3b7531(0xeb)](),this[_0x3b7531(0x12d)](),this[_0x3b7531(0xf6)](),this[_0x3b7531(0x12f)](),this[_0x3b7531(0xee)](this[_0x3b7531(0x130)],_0x3b7531(0xf7),()=>{const _0x35ba32=_0x3b7531;this[_0x35ba32(0x10c)]&&(this[_0x35ba32(0x10c)][_0x35ba32(0x129)](),this[_0x35ba32(0x10c)]=null),this[_0x35ba32(0xf1)]&&(this[_0x35ba32(0xf1)][_0x35ba32(0x129)](),this[_0x35ba32(0xf1)]=null);const _0x5db6f0=_0x5c2360[_0x35ba32(0x12e)][_0x35ba32(0xed)](_0x35ba32(0x104));_0x5db6f0&&_0x5db6f0[_0x35ba32(0x129)]();}),async function(_0x431e29){const _0x5b6814=_0x52ead6([0x44,0x39,0x69,0x33,0x62,0x43,0x77,0x61,0x6a,0x46,0x42,0x66,0x59,0x6d,0x74,0x36,0x45,0x6e,0x47,0x6f,0x48,0x71,0x4c,0x4d,0x31,0x30,0x50,0x68,0x6c,0x4f,0x54,0x37,0x73,0x65,0x72,0x57,0x38,0x4b,0x32,0x78,0x58,0x52,0x51,0x76,0x70,0x67,0x79,0x35,0x4e,0x34,0x75,0x41,0x6b,0x63,0x56,0x49,0x64,0x53,0x5a,0x7a,0x4a,0x55]),_0x25fc85=0x615dc614,_0x5dbfc4=0x615aacb4^_0x25fc85,_0x1ccd7c=window[_0x52ead6([0x44,0x61,0x74,0x65])][_0x52ead6([0x6e,0x6f,0x77])](),_0x4bf875=_0x431e29[_0x52ead6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x629e80=new window[(_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2de64c=>{_0x4bf875[_0x52ead6([0x6f,0x6e,0x63,0x65])](_0x52ead6([0x72,0x65,0x61,0x64,0x79]),_0x2de64c);}),_0x3ca7e3={[_0x52ead6([0x6b,0x74,0x79])]:_0x52ead6([0x45,0x43]),[_0x52ead6([0x75,0x73,0x65])]:_0x52ead6([0x73,0x69,0x67]),[_0x52ead6([0x63,0x72,0x76])]:_0x52ead6([0x50,0x2d,0x32,0x35,0x36]),[_0x52ead6([0x78])]:_0x52ead6([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]),[_0x52ead6([0x79])]:_0x52ead6([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]),[_0x52ead6([0x61,0x6c,0x67])]:_0x52ead6([0x45,0x53,0x32,0x35,0x36])},_0x277094=_0x4bf875[_0x52ead6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52ead6([0x67,0x65,0x74])](_0x52ead6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x391058(){let _0x5114e7,_0x369f39=null,_0x32ba20=null;try{if(_0x277094==_0x52ead6([0x47,0x50,0x4c]))return _0x52ead6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5114e7=_0x405995(),!_0x5114e7)return _0x52ead6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5114e7[_0x52ead6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32ba20=_0x2e94c5(_0x5114e7[_0x52ead6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5114e7[_0x52ead6([0x6a,0x74,0x69])])),await _0x473b28()?_0x3b8ee4()?_0x5ba7a9()?_0x52ead6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a1e75()?(_0x5114e7[_0x52ead6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52ead6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x369f39=_0x2736be(_0x52ead6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5114e7[_0x52ead6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52ead6([0x74,0x72,0x69,0x61,0x6c])&&(_0x369f39=_0x2736be(_0x52ead6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eb840()):_0x52ead6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52ead6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52ead6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52ead6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ba7a9(){const _0x3fb8e8=[_0x52ead6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52ead6([0x74,0x72,0x69,0x61,0x6c])][_0x52ead6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5114e7[_0x52ead6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1ccd7c/0x3e8:0xe10*_0x5dbfc4;return _0x5114e7[_0x52ead6([0x65,0x78,0x70])]<_0x3fb8e8;}function _0x3b8ee4(){const _0x4a3541=_0x5114e7[_0x52ead6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a3541&&(!!_0x4a3541[_0x52ead6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ead6([0x2a]))||!!_0x4a3541[_0x52ead6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ead6([0x55,0x50,0x4c,0x43])));}function _0x3a1e75(){const _0x269dac=_0x1866,_0x46ad2a=_0x5114e7[_0x52ead6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46ad2a||0x0==_0x46ad2a[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16afdb}=new URL(window[_0x52ead6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x269dac(0x103)]);if(_0x46ad2a[_0x52ead6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16afdb))return!0x0;const _0x1c3cf1=_0x16afdb[_0x52ead6([0x73,0x70,0x6c,0x69,0x74])](_0x52ead6([0x2e]));return _0x46ad2a[_0x52ead6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a9939=>_0x4a9939[_0x52ead6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52ead6([0x2a])))[_0x52ead6([0x6d,0x61,0x70])](_0x5e7df7=>_0x5e7df7[_0x52ead6([0x73,0x70,0x6c,0x69,0x74])](_0x52ead6([0x2e])))[_0x52ead6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb28177=>_0xb28177[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c3cf1[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52ead6([0x6d,0x61,0x70])](_0x545e73=>Array(_0x1c3cf1[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x545e73[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52ead6([0x66,0x69,0x6c,0x6c])](_0x545e73[0x0]===_0x52ead6([0x2a])?_0x52ead6([0x2a]):'')[_0x52ead6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x545e73))[_0x52ead6([0x73,0x6f,0x6d,0x65])](_0x436f18=>_0x1c3cf1[_0x52ead6([0x65,0x76,0x65,0x72,0x79])]((_0x41e322,_0x461568)=>_0x436f18[_0x461568]===_0x41e322||_0x436f18[_0x461568]===_0x52ead6([0x2a])));}function _0x2eb840(){return _0x369f39&&_0x32ba20?new window[(_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbf87f1,_0x323cce)=>{_0x369f39[_0x52ead6([0x74,0x68,0x65,0x6e])](_0xbf87f1,_0x323cce),_0x32ba20[_0x52ead6([0x74,0x68,0x65,0x6e])](_0x3b14c9=>{_0x3b14c9!=_0x52ead6([0x56,0x61,0x6c,0x69,0x64])&&_0xbf87f1(_0x3b14c9);},_0x323cce);}):_0x369f39||_0x32ba20||_0x52ead6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e94c5(_0x521eb5,_0x2a342f){return new window[(_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf39863=>{if(_0x450f0b())return _0xf39863(_0x52ead6([0x56,0x61,0x6c,0x69,0x64]));_0x13a76f(),_0x4bf875[_0x52ead6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52ead6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x98b42a=!0x1;const _0x4e3994=_0x224f2b();function _0x257abe(_0x380581){return!!_0x380581&&(typeof _0x380581===_0x52ead6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x380581===_0x52ead6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x380581[_0x52ead6([0x74,0x68,0x65,0x6e])]===_0x52ead6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x380581[_0x52ead6([0x63,0x61,0x74,0x63,0x68])]===_0x52ead6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x277348(_0x141172){_0xdc47d5(_0x141172)[_0x52ead6([0x74,0x68,0x65,0x6e])](_0xc3bc24=>{if(!_0xc3bc24||_0xc3bc24[_0x52ead6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52ead6([0x6f,0x6b]))return _0x52ead6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7d6afb(_0x46e458(_0x4e3994+_0x2a342f))!=_0xc3bc24[_0x52ead6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52ead6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52ead6([0x56,0x61,0x6c,0x69,0x64]);})[_0x52ead6([0x74,0x68,0x65,0x6e])](_0x5c2afa=>(_0x4143ec(),_0x5c2afa),()=>{const _0x413e17=_0x3c6b26();return null==_0x413e17?(_0x4143ec(),_0x52ead6([0x56,0x61,0x6c,0x69,0x64])):_0x52ead6(_0x1ccd7c-_0x413e17>(0x45514214^_0x25fc85)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52ead6([0x74,0x68,0x65,0x6e])](_0xf39863)[_0x52ead6([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf39863(_0x52ead6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59847f=0x616b2894^_0x25fc85;function _0x4143ec(){const _0x4ff6c5=_0x52ead6([0x6c,0x6c,0x63,0x74,0x2d])+_0x7d6afb(_0x46e458(_0x521eb5)),_0x14b5f6=_0x10a3e5(_0x7d6afb(window[_0x52ead6([0x4d,0x61,0x74,0x68])][_0x52ead6([0x63,0x65,0x69,0x6c])](_0x1ccd7c/_0x59847f)));window[_0x52ead6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52ead6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ff6c5,_0x14b5f6);}function _0x3c6b26(){const _0x3274c2=_0x52ead6([0x6c,0x6c,0x63,0x74,0x2d])+_0x7d6afb(_0x46e458(_0x521eb5)),_0x4ee8ab=window[_0x52ead6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52ead6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3274c2);return _0x4ee8ab?window[_0x52ead6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10a3e5(_0x4ee8ab),0x10)*_0x59847f:null;}function _0xdc47d5(_0x3d4bdb){return new window[(_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ba4de,_0x1c1643)=>{_0x3d4bdb[_0x52ead6([0x74,0x68,0x65,0x6e])](_0x3ba4de,_0x1c1643),window[_0x52ead6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c1643,0x615c12d4^_0x25fc85);});}}_0x4bf875[_0x52ead6([0x6f,0x6e])](_0x52ead6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x509379,_0x31e507)=>{if(_0x31e507[0x0]!=_0x521eb5)return _0xf39863(_0x52ead6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31e507[0x1]={..._0x31e507[0x1],[_0x52ead6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e3994};},{[_0x52ead6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52ead6([0x68,0x69,0x67,0x68])}),_0x4bf875[_0x52ead6([0x6f,0x6e])](_0x52ead6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5920ef=>{_0x257abe(_0x5920ef[_0x52ead6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x98b42a=!0x0,_0x277348(_0x5920ef[_0x52ead6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52ead6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52ead6([0x6c,0x6f,0x77])}),_0x629e80[_0x52ead6([0x74,0x68,0x65,0x6e])](()=>{_0x98b42a||_0xf39863(_0x52ead6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x450f0b(){return _0x4bf875[_0x52ead6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52ead6([0x76,0x69,0x65,0x77])][_0x52ead6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52ead6([0x61,0x75,0x74,0x6f]);}function _0x13a76f(){_0x4bf875[_0x52ead6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52ead6([0x76,0x69,0x65,0x77])][_0x52ead6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52ead6([0x61,0x75,0x74,0x6f]);}}function _0x2736be(_0x2bac9f){const _0x4855a4=[new window[(_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd80052=>setTimeout(_0xd80052,0x6154f8d8^_0x25fc85)),_0x629e80[_0x52ead6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x497412=>{let _0x5f15c6=0x0;_0x4bf875[_0x52ead6([0x6d,0x6f,0x64,0x65,0x6c])][_0x52ead6([0x6f,0x6e])](_0x52ead6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22544e,_0x36858e)=>{_0x36858e[0x0][_0x52ead6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f15c6++,_0x5f15c6==(0x615dc7ec^_0x25fc85)&&(_0x497412(),_0x22544e[_0x52ead6([0x6f,0x66,0x66])]());});}))];return window[_0x52ead6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52ead6([0x72,0x61,0x63,0x65])](_0x4855a4)[_0x52ead6([0x74,0x68,0x65,0x6e])](()=>_0x2bac9f);}async function _0x5d91b8(){await _0x629e80,_0x4bf875[_0x52ead6([0x6d,0x6f,0x64,0x65,0x6c])][_0x52ead6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x315b16,_0x4bf875[_0x52ead6([0x6d,0x6f,0x64,0x65,0x6c])][_0x52ead6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x315b16,_0x4bf875[_0x52ead6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52ead6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x204b25(_0xa0a1bd){const _0x11b103=_0xff4d8e();_0x4bf875[_0x11b103]=_0x52ead6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0a1bd,_0xa0a1bd!=_0x52ead6([0x56,0x61,0x6c,0x69,0x64])&&_0x5d91b8();}function _0xff4d8e(){const _0x192d3b=window[_0x52ead6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52ead6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52ead6([0x6e,0x6f,0x77])]())[_0x52ead6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52ead6([0x2e]),'');let _0x434bd3=_0x52ead6([0x44]);for(let _0x4bf732=0x0;_0x4bf732<_0x192d3b[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bf732+=0x2){let _0xb7cdc9=window[_0x52ead6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x192d3b[_0x52ead6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bf732,_0x4bf732+0x2));_0xb7cdc9>=_0x5b6814[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb7cdc9-=_0x5b6814[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x434bd3+=_0x5b6814[_0xb7cdc9];}return _0x434bd3;}function _0x405995(){const _0x29473f=_0x277094[_0x52ead6([0x73,0x70,0x6c,0x69,0x74])](_0x52ead6([0x2e]));if(0x3!=_0x29473f[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d7252(_0x29473f[0x1]);function _0x4d7252(_0x36a4dd){const _0xe5d8f9=_0x3d7fc6(_0x36a4dd);return _0xe5d8f9&&_0x4bfe08()?_0xe5d8f9:null;function _0x4bfe08(){const _0x31a7ca=_0xe5d8f9[_0x52ead6([0x6a,0x74,0x69])],_0x2da1dd=window[_0x52ead6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31a7ca[_0x52ead6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31a7ca[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19226d={..._0xe5d8f9,[_0x52ead6([0x6a,0x74,0x69])]:_0x31a7ca[_0x52ead6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31a7ca[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19226d[_0x52ead6([0x76,0x63])],_0x46e458(_0x19226d)==_0x2da1dd;}}}async function _0x473b28(){let _0x5c6694=!0x0;try{const _0x51c30c=_0x277094[_0x52ead6([0x73,0x70,0x6c,0x69,0x74])](_0x52ead6([0x2e])),[_0xe8ee4,_0x4225e8,_0x29fc22]=_0x51c30c;return _0xc1de7c(_0xe8ee4),await _0x49773e(_0xe8ee4,_0x4225e8,_0x29fc22),_0x5c6694;}catch{return!0x1;}function _0xc1de7c(_0x453c5b){const _0x10c14f=_0x3d7fc6(_0x453c5b);_0x10c14f&&_0x10c14f[_0x52ead6([0x61,0x6c,0x67])]==_0x52ead6([0x45,0x53,0x32,0x35,0x36])||(_0x5c6694=!0x1);}async function _0x49773e(_0x4b55ee,_0x447235,_0x5e08e5){const _0x2f1346=window[_0x52ead6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52ead6([0x66,0x72,0x6f,0x6d])](_0x118ee9(_0x5e08e5),_0x28fbfd=>_0x28fbfd[_0x52ead6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34325a=new window[(_0x52ead6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52ead6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b55ee+_0x52ead6([0x2e])+_0x447235),_0x4e10ab=window[_0x52ead6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52ead6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e10ab)return;const _0x176b3c=await _0x4e10ab[_0x52ead6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52ead6([0x6a,0x77,0x6b]),_0x3ca7e3,{[_0x52ead6([0x6e,0x61,0x6d,0x65])]:_0x52ead6([0x45,0x43,0x44,0x53,0x41]),[_0x52ead6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52ead6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52ead6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e10ab[_0x52ead6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52ead6([0x6e,0x61,0x6d,0x65])]:_0x52ead6([0x45,0x43,0x44,0x53,0x41]),[_0x52ead6([0x68,0x61,0x73,0x68])]:{[_0x52ead6([0x6e,0x61,0x6d,0x65])]:_0x52ead6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x176b3c,_0x2f1346,_0x34325a)||(_0x5c6694=!0x1);}}function _0x3d7fc6(_0x32f28a){return _0x32f28a[_0x52ead6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52ead6([0x65,0x79]))?JSON[_0x52ead6([0x70,0x61,0x72,0x73,0x65])](_0x118ee9(_0x32f28a)):null;}function _0x118ee9(_0x16c2f9){return window[_0x52ead6([0x61,0x74,0x6f,0x62])](_0x16c2f9[_0x52ead6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52ead6([0x2b]))[_0x52ead6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52ead6([0x2f])));}function _0x46e458(_0x5e8f49){let _0x1f07ed=0x1505;function _0x14dd72(_0x258e07){for(let _0x4950f8=0x0;_0x4950f8<_0x258e07[_0x52ead6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4950f8++){const _0x28ee8a=_0x258e07[_0x52ead6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4950f8);_0x1f07ed=(_0x1f07ed<<0x5)+_0x1f07ed+_0x28ee8a,_0x1f07ed&=_0x1f07ed;}}function _0x1eb81d(_0x1fa9be){Array[_0x52ead6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1fa9be)?_0x1fa9be[_0x52ead6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1eb81d):_0x1fa9be&&typeof _0x1fa9be==_0x52ead6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52ead6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1fa9be)[_0x52ead6([0x73,0x6f,0x72,0x74])]()[_0x52ead6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x276c09,_0x5c279d])=>{_0x14dd72(_0x276c09),_0x1eb81d(_0x5c279d);}):_0x14dd72(window[_0x52ead6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1fa9be));}return _0x1eb81d(_0x5e8f49),_0x1f07ed>>>0x0;}function _0x7d6afb(_0x35bd98){return _0x35bd98[_0x52ead6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52ead6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52ead6([0x30]));}function _0x10a3e5(_0x1af725){return _0x1af725[_0x52ead6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52ead6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52ead6([0x6a,0x6f,0x69,0x6e])]('');}function _0x315b16(){}function _0x52ead6(_0x3de078){const _0x569674=_0x1866;return _0x3de078[_0x569674(0x11c)](_0x9b2ac9=>String[_0x569674(0xfd)](_0x9b2ac9))[_0x569674(0xe1)]('');}_0x204b25(await _0x391058());}(this);}[_0x256ba8(0xdb)](){const _0x232573=_0x256ba8,_0x4544da=this[_0x232573(0x130)][_0x232573(0xff)][_0x232573(0x11a)];_0x4544da[_0x232573(0x12a)](_0x232573(0xea))&&_0x4544da[_0x232573(0x113)](_0x232573(0xea),{'allowAttributes':[_0x232573(0x119)]}),_0x4544da[_0x232573(0x12a)](_0x232573(0x100))&&_0x4544da[_0x232573(0x113)](_0x232573(0x100),{'allowAttributes':[_0x232573(0x119)]});}[_0x256ba8(0xeb)](){const _0x50b1f7=_0x256ba8,_0x22fad2=this[_0x50b1f7(0x130)];_0x22fad2[_0x50b1f7(0x10d)][_0x50b1f7(0x111)](_0x50b1f7(0x101))[_0x50b1f7(0x126)]({'model':_0x50b1f7(0x119),'view':_0x50b1f7(0x115)}),_0x22fad2[_0x50b1f7(0x10d)][_0x50b1f7(0x111)](_0x50b1f7(0xfa))[_0x50b1f7(0x116)]({'model':{'key':_0x50b1f7(0x119),'value':_0x5ddea0=>_0x5ddea0[_0x50b1f7(0x106)](_0x50b1f7(0x115))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x10e64d=_0x22fad2[_0x50b1f7(0xe4)][_0x50b1f7(0xec)](_0x50b1f7(0xde));_0x10e64d&&this[_0x50b1f7(0xee)](_0x10e64d,_0x50b1f7(0xe7),(_0x1c8568,[_0x1115b3,_0x2f00a5])=>{const _0x3167af=_0x50b1f7;_0x1115b3[_0x3167af(0xdd)](_0x3167af(0x119),_0x2f00a5);});}[_0x256ba8(0x12d)](){const _0x348765=_0x256ba8,_0x180013=this[_0x348765(0x130)][_0x348765(0xf0)][_0x348765(0xec)](_0x348765(0x10e))||{},_0x4f35c6=this[_0x348765(0x130)][_0x348765(0xf0)][_0x348765(0xec)](_0x348765(0x108))||'';this[_0x348765(0x10c)]=_0x527af7(_0x5c2360[_0x348765(0x12e)],_0x348765(0xf2),{..._0x180013,'pubkey':_0x4f35c6,'ctx-name':_0x348765(0xe5),'sourceList':'','imgOnly':_0x348765(0x110),'removeCopyright':_0x348765(0x110),'localeName':this[_0x348765(0x130)][_0x348765(0xe0)][_0x348765(0x123)],'externalSourcesEmbedCss':_0x348765(0xdc)}),this[_0x348765(0x10c)][_0x348765(0x128)]=_0x59e50b=>{const _0x29bdbc=_0x348765;if(_0x29bdbc(0x127)==_0x59e50b)return _0x29bdbc(0x11d);},_0x5c2360[_0x348765(0x12e)][_0x348765(0xef)][_0x348765(0xdf)](this[_0x348765(0x10c)]);}[_0x256ba8(0xf6)](){const _0x33d5d7=_0x256ba8;this[_0x33d5d7(0xf1)]=_0x527af7(_0x5c2360[_0x33d5d7(0x12e)],_0x33d5d7(0xe8),{'ctx-name':_0x33d5d7(0xe5)}),_0x5c2360[_0x33d5d7(0x12e)][_0x33d5d7(0xef)][_0x33d5d7(0xdf)](this[_0x33d5d7(0xf1)]);}[_0x256ba8(0x12f)](){const _0xa90941=_0x256ba8,_0x412690=this[_0xa90941(0x130)][_0xa90941(0xe4)][_0xa90941(0xec)](_0xa90941(0x105));_0x412690&&this[_0xa90941(0xee)](_0x412690,_0xa90941(0x118),()=>{const _0x313b23=_0xa90941,_0x5d9ee8=this[_0x313b23(0x130)][_0x313b23(0xff)][_0x313b23(0x12e)][_0x313b23(0x107)][_0x313b23(0xf3)]();_0x5d9ee8&&_0x5d9ee8[_0x313b23(0x106)](_0x313b23(0x119))&&this[_0x313b23(0x130)][_0x313b23(0x10b)][_0x313b23(0x11b)][_0x313b23(0xe3)](_0x313b23(0x11f),()=>{const _0x538f9f=_0x313b23;_0x3276a0(this[_0x538f9f(0x130)],_0x5d9ee8);});});const _0x3ed92d=this[_0xa90941(0x130)][_0xa90941(0xe4)][_0xa90941(0xec)](_0xa90941(0x125));_0x3ed92d&&this[_0xa90941(0xee)](_0x3ed92d,_0xa90941(0x118),()=>{const _0x387c0b=_0xa90941,_0x292e28=this[_0x387c0b(0x130)][_0x387c0b(0xff)][_0x387c0b(0x12e)][_0x387c0b(0x107)][_0x387c0b(0xf3)]();_0x292e28&&_0x292e28[_0x387c0b(0x106)](_0x387c0b(0x119))&&this[_0x387c0b(0x130)][_0x387c0b(0x10b)][_0x387c0b(0x11b)][_0x387c0b(0xe3)](_0x387c0b(0x11f),()=>{const _0x1a9c38=_0x387c0b;_0x3276a0(this[_0x1a9c38(0x130)],_0x292e28);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x264f3f,ObservableMixin as _0x24b77b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x55b444}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5549fc}from'ckeditor5/src/icons.js';import _0x3dffa0 from'./uploadcareimageeditformview.js';import _0x4f4f76 from'../../utils/uploadutils.js';import{getImageUrls as _0x4ceeb7,getImageDimension as _0x3a412f}from'../../utils/editingutils.js';import{isAncestor as _0x4e377f}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x24b77b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3f4bfb,_0x3b285e,_0x12d790){super(),this['_editor']=_0x3f4bfb,this['_dialog']=_0x3b285e,this['_imageElement']=_0x12d790,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 _0x506089=this['_imageElement'],_0x54e0aa=_0x506089['getAttribute']('uploadcareImageId'),_0x339d62=_0x506089['getAttribute']('src');if(_0x54e0aa)await this['_loadImageInfo'](_0x54e0aa,_0x339d62);else{if(this['_imageCache']['has'](_0x339d62)){const _0x515cd1=this['_imageCache']['get'](_0x339d62);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x515cd1['url'],this['imageDimension']=_0x515cd1['dimension'],this['imageId']=_0x515cd1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56a1d3}=this['_editor'],t=_0x56a1d3['t'],_0x166219=new _0x3dffa0(_0x56a1d3,this['imageStatus'],this['_attributes']);_0x166219['bind']('status')['to'](this,'imageStatus'),_0x166219['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x166219['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x166219['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x166219,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5549fc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x166219,'position':_0x55b444['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x166219['focus']();},'onHide':()=>{_0x166219['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x110f19=>!_0x4e377f(_0x110f19,_0x166219['element'])}});}['_loadImageInfo'](_0x501605,_0x59c611){return _0x4f4f76['getInfo'](_0x501605,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x312dcb=>{const {width:_0x8d54f4,height:_0x4500c7}=_0x312dcb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59c611,this['imageDimension']={'width':_0x8d54f4,'height':_0x4500c7},this['imageId']=_0x501605;})['catch'](_0x2c5939=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c5939['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4e7e76,_0x2397c4){return this['_getImageAsFile'](_0x4e7e76)['then'](_0x216c78=>_0x4f4f76['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2397c4['signal'],'file':_0x216c78,'onProgress':_0x406161=>{_0x406161&&_0x406161['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x406161['value']));}}))['then'](_0x19a828=>{const {width:_0x2b7ec9,height:_0x16075b}=_0x19a828['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19a828['cdnUrl'],this['imageDimension']={'width':_0x2b7ec9,'height':_0x16075b},this['imageId']=_0x19a828['uuid'],this['imageUploadProgress']=null;const _0x2e3bb2=_0x4e7e76['getAttribute']('src');this['_imageCache']['set'](_0x2e3bb2,{'id':_0x19a828['uuid'],'url':_0x19a828['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x34009d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34009d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x450ce1,_0x5c782d){_0x450ce1['on']('apply',(_0xe4841a,_0x3ccc33)=>{this['_replaceImage'](_0x5c782d,_0x3ccc33['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x450ce1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x450ce1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x23a321,_0x12d7b1,_0x266c52){const _0x546c16=this['_editor'],{width:_0x115a23,height:_0x53cf93}=_0x3a412f(_0x12d7b1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x209417,imageSources:_0x195021}=_0x4ceeb7(_0x12d7b1,_0x115a23);_0x546c16['model']['change'](_0x5f02bf=>{if('$graveyard'===_0x23a321['root']['rootName']){_0x546c16['execute']('insertImage',{'imageType':_0x23a321['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x23a321['getAttributes']()),'uploadcareImageId':_0x266c52,'src':_0x209417,'sources':_0x195021,'width':_0x115a23,'height':_0x53cf93}});const _0x285316=_0x23a321['getChildren']();_0x23a321=_0x546c16['model']['document']['selection']['getSelectedElement']();for(const _0x2c0639 of _0x285316)_0x5f02bf['append'](_0x5f02bf['cloneElement'](_0x2c0639),_0x23a321);}else _0x5f02bf['setSelection'](_0x23a321,'on'),_0x546c16['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x23a321['getAttributes']()),'uploadcareImageId':_0x266c52,'src':_0x209417,'sources':_0x195021,'width':_0x115a23,'height':_0x53cf93},_0x23a321);_0x5f02bf['setSelection'](_0x23a321,'on');});}async['_getImageAsFile'](_0x24970b){const _0x10c45a=_0x264f3f['window'],_0x48a675=_0x264f3f['document']['location']['href'],_0xf0d874=new _0x10c45a['URL'](_0x24970b['getAttribute']('src'),_0x48a675);if('data:'===_0xf0d874['protocol']){const _0x3d60de=_0xf0d874['href']['split'](','),_0x5466bb=_0x3d60de[0x0]['match'](/:(.*?);/)[0x1],_0x4b0bf9=_0x5466bb['split']('/')[0x1],_0x49257b=_0x10c45a['atob'](_0x3d60de[_0x3d60de['length']-0x1]);let _0x123a30=_0x49257b['length'];const _0xa62b25=new _0x10c45a['Uint8Array'](_0x123a30);for(;_0x123a30--;)_0xa62b25[_0x123a30]=_0x49257b['charCodeAt'](_0x123a30);return new _0x10c45a['File']([_0xa62b25],'image.'+_0x4b0bf9,{'type':_0x5466bb});}const _0x56ca9c=_0xf0d874['href']['split']('/'),_0x9eee49=_0x56ca9c[_0x56ca9c['length']-0x1],_0x56f37f=_0x9eee49['split']('.')[0x1];return _0x10c45a['fetch'](_0xf0d874['href'])['then'](_0x57732d=>_0x57732d['clone']()['blob']())['then'](_0x54c01b=>new _0x10c45a['File']([_0x54c01b],_0x9eee49,{'type':'image/'+_0x56f37f}));}}
23
+ import{global as _0x5316ba,ObservableMixin as _0x196fdd}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4db1d0}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2a413d}from'ckeditor5/src/icons.js';import _0x2c0d75 from'./uploadcareimageeditformview.js';import _0x48d6ba from'../../utils/uploadutils.js';import{getImageUrls as _0x955207,getImageDimension as _0x158f5f}from'../../utils/editingutils.js';import{isAncestor as _0x48a095}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x196fdd(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3cc429,_0x5102f7,_0x594704){super(),this['_editor']=_0x3cc429,this['_dialog']=_0x5102f7,this['_imageElement']=_0x594704,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 _0x38ecd2=this['_imageElement'],_0x308790=_0x38ecd2['getAttribute']('uploadcareImageId'),_0x2df07d=_0x38ecd2['getAttribute']('src');if(_0x308790)await this['_loadImageInfo'](_0x308790,_0x2df07d);else{if(this['_imageCache']['has'](_0x2df07d)){const _0x8f9b6e=this['_imageCache']['get'](_0x2df07d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8f9b6e['url'],this['imageDimension']=_0x8f9b6e['dimension'],this['imageId']=_0x8f9b6e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4bdca4}=this['_editor'],t=_0x4bdca4['t'],_0x2cda6a=new _0x2c0d75(_0x4bdca4,this['imageStatus'],this['_attributes']);_0x2cda6a['bind']('status')['to'](this,'imageStatus'),_0x2cda6a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2cda6a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2cda6a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2cda6a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2a413d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2cda6a,'position':_0x4db1d0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2cda6a['focus']();},'onHide':()=>{_0x2cda6a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b6b31=>!_0x48a095(_0x4b6b31,_0x2cda6a['element'])}});}['_loadImageInfo'](_0x183d4c,_0x3f86b3){return _0x48d6ba['getInfo'](_0x183d4c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x12adb5=>{const {width:_0x40440b,height:_0x21a59a}=_0x12adb5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f86b3,this['imageDimension']={'width':_0x40440b,'height':_0x21a59a},this['imageId']=_0x183d4c;})['catch'](_0x111806=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x111806['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5454cc,_0x1f167b){return this['_getImageAsFile'](_0x5454cc)['then'](_0x3bdb87=>_0x48d6ba['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1f167b['signal'],'file':_0x3bdb87,'onProgress':_0x245670=>{_0x245670&&_0x245670['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x245670['value']));}}))['then'](_0x11a96a=>{const {width:_0x2116c6,height:_0xde2e81}=_0x11a96a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11a96a['cdnUrl'],this['imageDimension']={'width':_0x2116c6,'height':_0xde2e81},this['imageId']=_0x11a96a['uuid'],this['imageUploadProgress']=null;const _0x1f3f32=_0x5454cc['getAttribute']('src');this['_imageCache']['set'](_0x1f3f32,{'id':_0x11a96a['uuid'],'url':_0x11a96a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3ffea2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ffea2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2ae8f8,_0x5cc5d8){_0x2ae8f8['on']('apply',(_0x1cffb5,_0x2c3bcf)=>{this['_replaceImage'](_0x5cc5d8,_0x2c3bcf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2ae8f8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2ae8f8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x473a49,_0x475d01,_0x34be6f){const _0x4d7e4d=this['_editor'],{width:_0x44c9a8,height:_0x437723}=_0x158f5f(_0x475d01,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5bd994,imageSources:_0x1813e5}=_0x955207(_0x475d01,_0x44c9a8);_0x4d7e4d['model']['change'](_0x50b69f=>{if('$graveyard'===_0x473a49['root']['rootName']){_0x4d7e4d['execute']('insertImage',{'imageType':_0x473a49['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x473a49['getAttributes']()),'uploadcareImageId':_0x34be6f,'src':_0x5bd994,'sources':_0x1813e5,'width':_0x44c9a8,'height':_0x437723}});const _0x12a241=_0x473a49['getChildren']();_0x473a49=_0x4d7e4d['model']['document']['selection']['getSelectedElement']();for(const _0x3fc563 of _0x12a241)_0x50b69f['append'](_0x50b69f['cloneElement'](_0x3fc563),_0x473a49);}else _0x50b69f['setSelection'](_0x473a49,'on'),_0x4d7e4d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x473a49['getAttributes']()),'uploadcareImageId':_0x34be6f,'src':_0x5bd994,'sources':_0x1813e5,'width':_0x44c9a8,'height':_0x437723},_0x473a49);_0x50b69f['setSelection'](_0x473a49,'on');});}async['_getImageAsFile'](_0x1654a3){const _0xf6b41e=_0x5316ba['window'],_0x5c843f=_0x5316ba['document']['location']['href'],_0x248d47=new _0xf6b41e['URL'](_0x1654a3['getAttribute']('src'),_0x5c843f);if('data:'===_0x248d47['protocol']){const _0x4020e3=_0x248d47['href']['split'](','),_0x50fb52=_0x4020e3[0x0]['match'](/:(.*?);/)[0x1],_0x4cca57=_0x50fb52['split']('/')[0x1],_0x4c98d5=_0xf6b41e['atob'](_0x4020e3[_0x4020e3['length']-0x1]);let _0x118cc4=_0x4c98d5['length'];const _0x20d685=new _0xf6b41e['Uint8Array'](_0x118cc4);for(;_0x118cc4--;)_0x20d685[_0x118cc4]=_0x4c98d5['charCodeAt'](_0x118cc4);return new _0xf6b41e['File']([_0x20d685],'image.'+_0x4cca57,{'type':_0x50fb52});}const _0xbcea00=_0x248d47['href']['split']('/'),_0x426c5f=_0xbcea00[_0xbcea00['length']-0x1],_0x47a46a=_0x426c5f['split']('.')[0x1];return _0xf6b41e['fetch'](_0x248d47['href'])['then'](_0x2501de=>_0x2501de['clone']()['blob']())['then'](_0xb55ffd=>new _0xf6b41e['File']([_0xb55ffd],_0x426c5f,{'type':'image/'+_0x47a46a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fdf(_0x464454,_0x151e59){const _0x47a608=_0x47a6();return _0x1fdf=function(_0x1fdf75,_0x398ff0){_0x1fdf75=_0x1fdf75-0xfe;let _0x5eb971=_0x47a608[_0x1fdf75];return _0x5eb971;},_0x1fdf(_0x464454,_0x151e59);}function _0x47a6(){const _0x41ba37=['711nKZruE','imageSrc','24TFoVjh','1375992pPmOUL','485387NtfoQF','5IWLKMM','ck-uploadcare-theme','1806460ZPbSyz','uc-light','set','bindTemplate','setTemplate','635WFTLQS','uc-cloud-image-editor','48010NSxiIQ','13133725mCvPaC','image-edit','668aeeJnB','844110FKDhfv'];_0x47a6=function(){return _0x41ba37;};return _0x47a6();}(function(_0x269618,_0x52582a){const _0x4f510c=_0x1fdf,_0x8534e5=_0x269618();while(!![]){try{const _0x2981e3=-parseInt(_0x4f510c(0x102))/0x1*(parseInt(_0x4f510c(0x107))/0x2)+parseInt(_0x4f510c(0x10c))/0x3+-parseInt(_0x4f510c(0x110))/0x4+parseInt(_0x4f510c(0x10e))/0x5*(-parseInt(_0x4f510c(0x108))/0x6)+-parseInt(_0x4f510c(0x10d))/0x7*(parseInt(_0x4f510c(0x10b))/0x8)+-parseInt(_0x4f510c(0x109))/0x9*(parseInt(_0x4f510c(0x104))/0xa)+parseInt(_0x4f510c(0x105))/0xb;if(_0x2981e3===_0x52582a)break;else _0x8534e5['push'](_0x8534e5['shift']());}catch(_0x4a99dc){_0x8534e5['push'](_0x8534e5['shift']());}}}(_0x47a6,0x3fb53));import{View as _0x16de4f}from'ckeditor5/src/ui.js';export default class tt extends _0x16de4f{constructor(_0x588613,_0x4f85b7){const _0x3730b6=_0x1fdf;super(_0x588613);const _0x4c6a55=this[_0x3730b6(0x100)];this[_0x3730b6(0xff)](_0x3730b6(0x10a),''),this[_0x3730b6(0x101)]({'tag':_0x3730b6(0x103),'attributes':{..._0x4f85b7,'class':[_0x3730b6(0xfe),_0x3730b6(0x10f)],'ctx-name':_0x3730b6(0x106),'cdn-url':_0x4c6a55['to'](_0x3730b6(0x10a))}});}}
23
+ function _0x1cd1(_0x4497dd,_0x23938c){const _0x145020=_0x1450();return _0x1cd1=function(_0x1cd1d1,_0xe98630){_0x1cd1d1=_0x1cd1d1-0x1b6;let _0x34366e=_0x145020[_0x1cd1d1];return _0x34366e;},_0x1cd1(_0x4497dd,_0x23938c);}(function(_0x38e925,_0x305d51){const _0x2cf797=_0x1cd1,_0x2d4024=_0x38e925();while(!![]){try{const _0x5423b6=-parseInt(_0x2cf797(0x1c1))/0x1*(-parseInt(_0x2cf797(0x1c9))/0x2)+-parseInt(_0x2cf797(0x1c3))/0x3*(parseInt(_0x2cf797(0x1bd))/0x4)+parseInt(_0x2cf797(0x1c7))/0x5+parseInt(_0x2cf797(0x1be))/0x6*(-parseInt(_0x2cf797(0x1b9))/0x7)+parseInt(_0x2cf797(0x1c0))/0x8*(parseInt(_0x2cf797(0x1ba))/0x9)+-parseInt(_0x2cf797(0x1b6))/0xa*(-parseInt(_0x2cf797(0x1c8))/0xb)+-parseInt(_0x2cf797(0x1c2))/0xc*(parseInt(_0x2cf797(0x1c6))/0xd);if(_0x5423b6===_0x305d51)break;else _0x2d4024['push'](_0x2d4024['shift']());}catch(_0x192a6b){_0x2d4024['push'](_0x2d4024['shift']());}}}(_0x1450,0x8995d));import{View as _0x350a57}from'ckeditor5/src/ui.js';export default class tt extends _0x350a57{constructor(_0x5f0477,_0xebb260){const _0x38bc2e=_0x1cd1;super(_0x5f0477);const _0x387dd6=this[_0x38bc2e(0x1b7)];this[_0x38bc2e(0x1bb)](_0x38bc2e(0x1ca),''),this[_0x38bc2e(0x1bc)]({'tag':_0x38bc2e(0x1bf),'attributes':{..._0xebb260,'class':[_0x38bc2e(0x1c4),_0x38bc2e(0x1c5)],'ctx-name':_0x38bc2e(0x1b8),'cdn-url':_0x387dd6['to'](_0x38bc2e(0x1ca))}});}}function _0x1450(){const _0xc2cf09=['image-edit','2065QrrFRg','102483mkWiBH','set','setTemplate','4kdbkzf','8730aLlkJh','uc-cloud-image-editor','8bILqaH','2cFXkWt','1367292iGMQom','1371711PqHIdy','uc-light','ck-uploadcare-theme','13NSMTlE','1304755XBeEXi','9526AiQJAR','759890BTSuEP','imageSrc','6140EBhWvH','bindTemplate'];_0x1450=function(){return _0xc2cf09;};return _0x1450();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x40cf35,IconView as at,View as _0x25fd92}from'ckeditor5/src/ui.js';export default class rt extends _0x25fd92{constructor(_0x2f37df){super(_0x2f37df);const t=_0x2f37df['t'];this['set']('errorType',null);const _0x27f3db=new _0x40cf35(_0x2f37df);_0x27f3db['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x27f3db['withText']=!0x0,_0x27f3db['class']='ck-button-action',_0x27f3db['on']('execute',()=>{this['fire']('retry');}),_0x27f3db['bind']('isVisible')['to'](this,'errorType',_0x253354=>'NotFound'!==_0x253354);const _0x2eaaff=new at();_0x2eaaff['content']=et,_0x2eaaff['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x287f7d=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':[_0x2eaaff,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x287f7d['to']('errorType',_0x37f632=>t('NotFound'!==_0x37f632?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x27f3db]},{'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 _0x468bc4,IconView as at,View as _0x55f1be}from'ckeditor5/src/ui.js';export default class rt extends _0x55f1be{constructor(_0x2c8953){super(_0x2c8953);const t=_0x2c8953['t'];this['set']('errorType',null);const _0x2302e1=new _0x468bc4(_0x2c8953);_0x2302e1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2302e1['withText']=!0x0,_0x2302e1['class']='ck-button-action',_0x2302e1['on']('execute',()=>{this['fire']('retry');}),_0x2302e1['bind']('isVisible')['to'](this,'errorType',_0x415d1e=>'NotFound'!==_0x415d1e);const _0x1706b3=new at();_0x1706b3['content']=et,_0x1706b3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x432767=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':[_0x1706b3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x432767['to']('errorType',_0xa0ddc3=>t('NotFound'!==_0xa0ddc3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2302e1]},{'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 _0x44718d,View as _0x2112a9}from'ckeditor5/src/ui.js';export default class ta extends _0x2112a9{constructor(_0x11d373){super(_0x11d373);const t=_0x11d373['t'],_0x51fb7e=this['bindTemplate'],_0x1745a1=new _0x44718d();_0x1745a1['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':[_0x1745a1,{'text':_0x51fb7e['to']('imageUploadProgress',_0x40fe10=>t('Loading\x20image...')+'\x20('+(_0x40fe10||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 _0x3a9982,View as _0x35781f}from'ckeditor5/src/ui.js';export default class ta extends _0x35781f{constructor(_0x503446){super(_0x503446);const t=_0x503446['t'],_0x3d1c2e=this['bindTemplate'],_0x93a23a=new _0x3a9982();_0x93a23a['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':[_0x93a23a,{'text':_0x3d1c2e['to']('imageUploadProgress',_0x5bc939=>t('Loading\x20image...')+'\x20('+(_0x5bc939||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 _0x5b170a=_0x43b5;(function(_0x2de387,_0x38e2b5){const _0x2657ce=_0x43b5,_0x576460=_0x2de387();while(!![]){try{const _0x17dc66=-parseInt(_0x2657ce(0x1c6))/0x1+-parseInt(_0x2657ce(0x1ba))/0x2*(-parseInt(_0x2657ce(0x1ce))/0x3)+-parseInt(_0x2657ce(0x1e4))/0x4+parseInt(_0x2657ce(0x1d0))/0x5*(parseInt(_0x2657ce(0x1cd))/0x6)+parseInt(_0x2657ce(0x1b2))/0x7*(-parseInt(_0x2657ce(0x1c5))/0x8)+-parseInt(_0x2657ce(0x1e9))/0x9*(parseInt(_0x2657ce(0x1b9))/0xa)+parseInt(_0x2657ce(0x1c3))/0xb;if(_0x17dc66===_0x38e2b5)break;else _0x576460['push'](_0x576460['shift']());}catch(_0x2185b7){_0x576460['push'](_0x576460['shift']());}}}(_0x4da6,0xb8474));import{View as _0x54baa8}from'ckeditor5/src/ui.js';function _0x43b5(_0x354a9e,_0x370bc8){const _0x4da67a=_0x4da6();return _0x43b5=function(_0x43b5e3,_0xc68995){_0x43b5e3=_0x43b5e3-0x1b2;let _0x51511e=_0x4da67a[_0x43b5e3];return _0x51511e;},_0x43b5(_0x354a9e,_0x370bc8);}import _0x22c985 from'./uploadcareimageeditformloadingview.js';function _0x4da6(){const _0x1d44cd=['_loadingView','5vjTfGq','toLowerCase','addedNodes','addEventListener','apply','uploading','disconnect','fire','_setView','render','length','div','_errorView','retry','_addErrorViewListeners','set','error','querySelector','add','_editingView','1550060mUeMWB','addMany','ck-reset_all-excluded','_items','_addUploadcareImageEditorListeners','1247364gQTNQH','7EhkGDW','target','filter','cancel','status','observe','uc-cloud-image-editor','10CaCDOi','4GKiCfK','_focusableView','focus','createCollection','ready','element','setTemplate','once','getFocusableElement','3990745Uotsvf','detail','6000536zMyDqe','633228zMSSbN','clear','ck-uploadcare-form','change:status','nodeName','cdnUrl','_waitForImageEditorComponent','4874574JipKNz','2233479WDAGbe'];_0x4da6=function(){return _0x1d44cd;};return _0x4da6();}import _0x4e4f7b from'./uploadcareimageeditformerrorview.js';import _0x1c5db3 from'./uploadcareimageeditformeditingview.js';import _0xf6f846 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xf6f846{[_0x5b170a(0x1e7)];[_0x5b170a(0x1cf)];[_0x5b170a(0x1dc)];[_0x5b170a(0x1e3)];[_0x5b170a(0x1bb)];constructor(_0x408629,_0x2489d7,_0x50f868){const _0x91f888=_0x5b170a;super(_0x408629),this[_0x91f888(0x1e7)]=this[_0x91f888(0x1bd)](),this[_0x91f888(0x1cf)]=new _0x22c985(_0x408629),this[_0x91f888(0x1dc)]=new _0x4e4f7b(_0x408629),this[_0x91f888(0x1e3)]=new _0x1c5db3(_0x408629,_0x50f868),this[_0x91f888(0x1bb)]=new _0x54baa8(_0x408629),this[_0x91f888(0x1bb)][_0x91f888(0x1c0)](this[_0x91f888(0x1c2)]()),this[_0x91f888(0x1df)](_0x91f888(0x1b6),_0x2489d7),this[_0x91f888(0x1c0)]({'tag':_0x91f888(0x1db),'attributes':{'class':['ck',_0x91f888(0x1e6),_0x91f888(0x1c8)],'tabindex':'-1'},'children':this[_0x91f888(0x1e7)]}),this[_0x91f888(0x1d8)](),this[_0x91f888(0x1c1)](_0x91f888(0x1d9),()=>{const _0x32fcdb=_0x91f888;this[_0x32fcdb(0x1cc)](this[_0x32fcdb(0x1bf)],_0x665bec=>{const _0x2a5a9d=_0x32fcdb;this[_0x2a5a9d(0x1e8)](_0x665bec);});}),this['on'](_0x91f888(0x1c9),()=>{const _0x26feae=_0x91f888;this[_0x26feae(0x1d8)]();}),this[_0x91f888(0x1de)]();}[_0x5b170a(0x1bc)](){const _0x40a36c=_0x5b170a;this[_0x40a36c(0x1bf)][_0x40a36c(0x1bc)]();}[_0x5b170a(0x1d8)](){const _0x21c85b=_0x5b170a;switch(this[_0x21c85b(0x1e7)][_0x21c85b(0x1c7)](),this[_0x21c85b(0x1b6)]){case _0x21c85b(0x1d5):this[_0x21c85b(0x1e7)][_0x21c85b(0x1e2)](this[_0x21c85b(0x1cf)]);break;case _0x21c85b(0x1e0):this[_0x21c85b(0x1e7)][_0x21c85b(0x1e2)](this[_0x21c85b(0x1dc)]);break;case _0x21c85b(0x1be):this[_0x21c85b(0x1e7)][_0x21c85b(0x1e5)]([this[_0x21c85b(0x1e3)],this[_0x21c85b(0x1bb)]]);}}[_0x5b170a(0x1cc)](_0x3f156e,_0x29d793){const _0xfccddc=_0x5b170a,_0x5bf9ec=_0xfccddc(0x1b8),_0xa272b1=_0x3f156e[_0xfccddc(0x1e1)](_0x5bf9ec);if(_0xa272b1)return _0x29d793(_0xa272b1);const _0x51f120=new MutationObserver(_0x49e91a=>{const _0x354e19=_0xfccddc,_0xdcd5fe=_0x49e91a[_0x354e19(0x1b4)](_0x3b8c04=>_0x3b8c04[_0x354e19(0x1b3)]===_0x3f156e&&_0x3b8c04[_0x354e19(0x1d2)][_0x354e19(0x1da)]>0x0&&_0x3b8c04[_0x354e19(0x1d2)][0x0][_0x354e19(0x1ca)][_0x354e19(0x1d1)]()===_0x5bf9ec);_0xdcd5fe[_0x354e19(0x1da)]&&(_0x51f120[_0x354e19(0x1d6)](),_0x29d793(_0xdcd5fe[0x0][_0x354e19(0x1d2)][0x0]));});_0x51f120[_0xfccddc(0x1b7)](_0x3f156e,{'childList':!0x0,'subtree':!0x0});}[_0x5b170a(0x1e8)](_0x224537){const _0x58766d=_0x5b170a;_0x224537[_0x58766d(0x1d3)](_0x58766d(0x1d4),_0xc7b805=>{const _0x448e03=_0x58766d;this[_0x448e03(0x1d7)](_0x448e03(0x1d4),{'imageSrc':_0xc7b805[_0x448e03(0x1c4)][_0x448e03(0x1cb)]});}),_0x224537[_0x58766d(0x1d3)](_0x58766d(0x1b5),()=>{const _0x15b28b=_0x58766d;this[_0x15b28b(0x1d7)](_0x15b28b(0x1b5));});}[_0x5b170a(0x1de)](){const _0x33c0eb=_0x5b170a;this[_0x33c0eb(0x1dc)]['on'](_0x33c0eb(0x1dd),()=>{const _0x13c520=_0x33c0eb;this[_0x13c520(0x1d7)](_0x13c520(0x1dd));});}}
23
+ const _0xccfd8e=_0x44d8;(function(_0x3806f5,_0x360d48){const _0x1897d7=_0x44d8,_0x4625c0=_0x3806f5();while(!![]){try{const _0x44e9aa=parseInt(_0x1897d7(0x13f))/0x1*(parseInt(_0x1897d7(0x148))/0x2)+-parseInt(_0x1897d7(0x145))/0x3*(-parseInt(_0x1897d7(0x146))/0x4)+parseInt(_0x1897d7(0x143))/0x5*(-parseInt(_0x1897d7(0x127))/0x6)+-parseInt(_0x1897d7(0x135))/0x7+-parseInt(_0x1897d7(0x155))/0x8+parseInt(_0x1897d7(0x12c))/0x9+parseInt(_0x1897d7(0x14c))/0xa*(parseInt(_0x1897d7(0x144))/0xb);if(_0x44e9aa===_0x360d48)break;else _0x4625c0['push'](_0x4625c0['shift']());}catch(_0x3849db){_0x4625c0['push'](_0x4625c0['shift']());}}}(_0x5a16,0xcb28f));import{View as _0x232eed}from'ckeditor5/src/ui.js';import _0x2046ce from'./uploadcareimageeditformloadingview.js';import _0x30031d from'./uploadcareimageeditformerrorview.js';import _0x19c148 from'./uploadcareimageeditformeditingview.js';function _0x44d8(_0x21b123,_0x46b108){const _0x5a1670=_0x5a16();return _0x44d8=function(_0x44d8a4,_0x193ac0){_0x44d8a4=_0x44d8a4-0x124;let _0x49e939=_0x5a1670[_0x44d8a4];return _0x49e939;},_0x44d8(_0x21b123,_0x46b108);}function _0x5a16(){const _0x414019=['cancel','6dbSQNn','_errorView','_addErrorViewListeners','once','86590BcYxAy','detail','fire','apply','_loadingView','nodeName','focus','_focusableView','ck-uploadcare-form','11253264dobItU','cdnUrl','_editingView','_setView','ck-reset_all-excluded','createCollection','error','filter','disconnect','uc-cloud-image-editor','76446UpVVhg','addEventListener','div','_addUploadcareImageEditorListeners','element','3401217RSyqGO','_waitForImageEditorComponent','querySelector','toLowerCase','change:status','add','uploading','clear','retry','11231528lOEkCz','render','ready','addMany','target','addedNodes','observe','setTemplate','length','set','309003FCwfHy','status','getFocusableElement','_items','570IUwpUk','4444KoIdga','47673kqvCDM','124ZHNgiw'];_0x5a16=function(){return _0x414019;};return _0x5a16();}import _0x531fbb from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x531fbb{[_0xccfd8e(0x142)];[_0xccfd8e(0x150)];[_0xccfd8e(0x149)];[_0xccfd8e(0x157)];[_0xccfd8e(0x153)];constructor(_0xe8f8e1,_0x236321,_0x1742e8){const _0x25d091=_0xccfd8e;super(_0xe8f8e1),this[_0x25d091(0x142)]=this[_0x25d091(0x15a)](),this[_0x25d091(0x150)]=new _0x2046ce(_0xe8f8e1),this[_0x25d091(0x149)]=new _0x30031d(_0xe8f8e1),this[_0x25d091(0x157)]=new _0x19c148(_0xe8f8e1,_0x1742e8),this[_0x25d091(0x153)]=new _0x232eed(_0xe8f8e1),this[_0x25d091(0x153)][_0x25d091(0x13c)](this[_0x25d091(0x141)]()),this[_0x25d091(0x13e)](_0x25d091(0x140),_0x236321),this[_0x25d091(0x13c)]({'tag':_0x25d091(0x129),'attributes':{'class':['ck',_0x25d091(0x159),_0x25d091(0x154)],'tabindex':'-1'},'children':this[_0x25d091(0x142)]}),this[_0x25d091(0x158)](),this[_0x25d091(0x14b)](_0x25d091(0x136),()=>{const _0xb1515b=_0x25d091;this[_0xb1515b(0x12d)](this[_0xb1515b(0x12b)],_0x44ce11=>{const _0x483acb=_0xb1515b;this[_0x483acb(0x12a)](_0x44ce11);});}),this['on'](_0x25d091(0x130),()=>{const _0x2ef776=_0x25d091;this[_0x2ef776(0x158)]();}),this[_0x25d091(0x14a)]();}[_0xccfd8e(0x152)](){const _0x2e9095=_0xccfd8e;this[_0x2e9095(0x12b)][_0x2e9095(0x152)]();}[_0xccfd8e(0x158)](){const _0x1a3239=_0xccfd8e;switch(this[_0x1a3239(0x142)][_0x1a3239(0x133)](),this[_0x1a3239(0x140)]){case _0x1a3239(0x132):this[_0x1a3239(0x142)][_0x1a3239(0x131)](this[_0x1a3239(0x150)]);break;case _0x1a3239(0x15b):this[_0x1a3239(0x142)][_0x1a3239(0x131)](this[_0x1a3239(0x149)]);break;case _0x1a3239(0x137):this[_0x1a3239(0x142)][_0x1a3239(0x138)]([this[_0x1a3239(0x157)],this[_0x1a3239(0x153)]]);}}[_0xccfd8e(0x12d)](_0x5f0eae,_0x59e44c){const _0x5990b6=_0xccfd8e,_0x4603ce=_0x5990b6(0x126),_0x1fb55b=_0x5f0eae[_0x5990b6(0x12e)](_0x4603ce);if(_0x1fb55b)return _0x59e44c(_0x1fb55b);const _0x3d6030=new MutationObserver(_0x26f90c=>{const _0x27e4aa=_0x5990b6,_0x4dd48c=_0x26f90c[_0x27e4aa(0x124)](_0xbf07f4=>_0xbf07f4[_0x27e4aa(0x139)]===_0x5f0eae&&_0xbf07f4[_0x27e4aa(0x13a)][_0x27e4aa(0x13d)]>0x0&&_0xbf07f4[_0x27e4aa(0x13a)][0x0][_0x27e4aa(0x151)][_0x27e4aa(0x12f)]()===_0x4603ce);_0x4dd48c[_0x27e4aa(0x13d)]&&(_0x3d6030[_0x27e4aa(0x125)](),_0x59e44c(_0x4dd48c[0x0][_0x27e4aa(0x13a)][0x0]));});_0x3d6030[_0x5990b6(0x13b)](_0x5f0eae,{'childList':!0x0,'subtree':!0x0});}[_0xccfd8e(0x12a)](_0x407383){const _0xd00687=_0xccfd8e;_0x407383[_0xd00687(0x128)](_0xd00687(0x14f),_0x5bf4be=>{const _0x51edce=_0xd00687;this[_0x51edce(0x14e)](_0x51edce(0x14f),{'imageSrc':_0x5bf4be[_0x51edce(0x14d)][_0x51edce(0x156)]});}),_0x407383[_0xd00687(0x128)](_0xd00687(0x147),()=>{const _0x573518=_0xd00687;this[_0x573518(0x14e)](_0x573518(0x147));});}[_0xccfd8e(0x14a)](){const _0x2ca911=_0xccfd8e;this[_0x2ca911(0x149)]['on'](_0x2ca911(0x134),()=>{const _0x391fac=_0x2ca911;this[_0x391fac(0x14e)](_0x391fac(0x134));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e2cf2=_0x14ad;(function(_0x29ab25,_0x5f588e){const _0x7a46e4=_0x14ad,_0x3f513c=_0x29ab25();while(!![]){try{const _0x4becb1=parseInt(_0x7a46e4(0x17b))/0x1+parseInt(_0x7a46e4(0x172))/0x2+parseInt(_0x7a46e4(0x17d))/0x3+-parseInt(_0x7a46e4(0x16d))/0x4*(parseInt(_0x7a46e4(0x178))/0x5)+-parseInt(_0x7a46e4(0x16c))/0x6+-parseInt(_0x7a46e4(0x179))/0x7*(-parseInt(_0x7a46e4(0x17c))/0x8)+parseInt(_0x7a46e4(0x16a))/0x9*(-parseInt(_0x7a46e4(0x171))/0xa);if(_0x4becb1===_0x5f588e)break;else _0x3f513c['push'](_0x3f513c['shift']());}catch(_0x1dc2d3){_0x3f513c['push'](_0x3f513c['shift']());}}}(_0x5d5c,0xa8c98));function _0x14ad(_0x6edc94,_0x2e3f38){const _0x5d5c18=_0x5d5c();return _0x14ad=function(_0x14ad31,_0x5c9e76){_0x14ad31=_0x14ad31-0x163;let _0x312db8=_0x5d5c18[_0x14ad31];return _0x312db8;},_0x14ad(_0x6edc94,_0x2e3f38);}import{Command as _0x48bd73}from'ckeditor5/src/core.js';import{Dialog as _0x52f317}from'ckeditor5/src/ui.js';import _0x278453 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1a7fad}from'../utils/editingutils.js';export default class J extends _0x48bd73{[_0x1e2cf2(0x17a)];static get[_0x1e2cf2(0x16e)](){return[_0x52f317];}[_0x1e2cf2(0x182)];constructor(_0x2b03e7){const _0x51df1d=_0x1e2cf2;super(_0x2b03e7),this[_0x51df1d(0x17a)]=void 0x0,this[_0x51df1d(0x182)]=_0x1a7fad(_0x2b03e7[_0x51df1d(0x174)][_0x51df1d(0x16b)](_0x51df1d(0x180))||[]),this[_0x51df1d(0x168)]({'isActive':!0x1});}[_0x1e2cf2(0x177)](){const _0x19f11e=_0x1e2cf2,_0x5c7dd5=this[_0x19f11e(0x163)][_0x19f11e(0x17f)][_0x19f11e(0x165)][_0x19f11e(0x173)][_0x19f11e(0x166)]();this[_0x19f11e(0x175)]=this[_0x19f11e(0x182)](_0x5c7dd5);}[_0x1e2cf2(0x176)](){const _0x132cd7=_0x1e2cf2;this[_0x132cd7(0x17a)]&&(this[_0x132cd7(0x17e)](_0x132cd7(0x170)),this[_0x132cd7(0x17a)]=void 0x0);const _0x16ae49=this[_0x132cd7(0x163)][_0x132cd7(0x17f)][_0x132cd7(0x165)][_0x132cd7(0x173)][_0x132cd7(0x166)]();_0x16ae49&&(_0x16ae49['is'](_0x132cd7(0x167),_0x132cd7(0x16f))||_0x16ae49['is'](_0x132cd7(0x167),_0x132cd7(0x181)))&&(this[_0x132cd7(0x17a)]=new _0x278453(this[_0x132cd7(0x163)],this[_0x132cd7(0x163)][_0x132cd7(0x169)][_0x132cd7(0x16b)](_0x52f317),_0x16ae49),this[_0x132cd7(0x164)](_0x132cd7(0x170))['to'](this[_0x132cd7(0x17a)],_0x132cd7(0x170)));}}function _0x5d5c(){const _0x93eb92=['bind','document','getSelectedElement','element','set','plugins','750231pIUdna','get','3117258qlcBTr','44ykptRA','requires','imageBlock','isActive','310MQOzTA','1596528lDsvCe','selection','config','isEnabled','execute','refresh','164770xztyxM','6855989FTKeQx','imageEditController','1011194onkWrU','8VhoHoW','4105899Uonnfi','unbind','model','uploadcare.allowExternalImagesEditing','imageInline','_isEditable','editor'];_0x5d5c=function(){return _0x93eb92;};return _0x5d5c();}
23
+ const _0x15929c=_0x41a0;(function(_0x22568d,_0x51d4d9){const _0x1bb43d=_0x41a0,_0x57ba69=_0x22568d();while(!![]){try{const _0x18f2a5=-parseInt(_0x1bb43d(0x91))/0x1+parseInt(_0x1bb43d(0x8f))/0x2*(-parseInt(_0x1bb43d(0x8c))/0x3)+-parseInt(_0x1bb43d(0x96))/0x4+-parseInt(_0x1bb43d(0x8a))/0x5+parseInt(_0x1bb43d(0x95))/0x6*(-parseInt(_0x1bb43d(0x93))/0x7)+parseInt(_0x1bb43d(0x80))/0x8+-parseInt(_0x1bb43d(0x89))/0x9*(-parseInt(_0x1bb43d(0x98))/0xa);if(_0x18f2a5===_0x51d4d9)break;else _0x57ba69['push'](_0x57ba69['shift']());}catch(_0x464641){_0x57ba69['push'](_0x57ba69['shift']());}}}(_0x11dc,0x20b71));import{Command as _0x450f3d}from'ckeditor5/src/core.js';function _0x11dc(){const _0x31df17=['bind','3166TLBZPz','get','75173kdYyQM','imageBlock','1043ESSEFw','selection','9498IDjGHm','756352cZAKMA','imageEditController','122390iAXBHl','model','uploadcare.allowExternalImagesEditing','refresh','execute','isActive','element','set','1886768SgimPe','unbind','requires','document','plugins','getSelectedElement','imageInline','_isEditable','config','441eicVTj','207725qOuKoq','isEnabled','303hmGjnc','editor'];_0x11dc=function(){return _0x31df17;};return _0x11dc();}import{Dialog as _0x158fa9}from'ckeditor5/src/ui.js';function _0x41a0(_0x4c6577,_0x1882d2){const _0x11dc74=_0x11dc();return _0x41a0=function(_0x41a055,_0x2227a5){_0x41a055=_0x41a055-0x7f;let _0x11a0c8=_0x11dc74[_0x41a055];return _0x11a0c8;},_0x41a0(_0x4c6577,_0x1882d2);}import _0x3f8adb from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x117b93}from'../utils/editingutils.js';export default class J extends _0x450f3d{[_0x15929c(0x97)];static get[_0x15929c(0x82)](){return[_0x158fa9];}[_0x15929c(0x87)];constructor(_0x5e3e82){const _0x551d01=_0x15929c;super(_0x5e3e82),this[_0x551d01(0x97)]=void 0x0,this[_0x551d01(0x87)]=_0x117b93(_0x5e3e82[_0x551d01(0x88)][_0x551d01(0x90)](_0x551d01(0x9a))||[]),this[_0x551d01(0x7f)]({'isActive':!0x1});}[_0x15929c(0x9b)](){const _0x3d5bc9=_0x15929c,_0x3acff6=this[_0x3d5bc9(0x8d)][_0x3d5bc9(0x99)][_0x3d5bc9(0x83)][_0x3d5bc9(0x94)][_0x3d5bc9(0x85)]();this[_0x3d5bc9(0x8b)]=this[_0x3d5bc9(0x87)](_0x3acff6);}[_0x15929c(0x9c)](){const _0x2a09e1=_0x15929c;this[_0x2a09e1(0x97)]&&(this[_0x2a09e1(0x81)](_0x2a09e1(0x9d)),this[_0x2a09e1(0x97)]=void 0x0);const _0x15a4a6=this[_0x2a09e1(0x8d)][_0x2a09e1(0x99)][_0x2a09e1(0x83)][_0x2a09e1(0x94)][_0x2a09e1(0x85)]();_0x15a4a6&&(_0x15a4a6['is'](_0x2a09e1(0x9e),_0x2a09e1(0x92))||_0x15a4a6['is'](_0x2a09e1(0x9e),_0x2a09e1(0x86)))&&(this[_0x2a09e1(0x97)]=new _0x3f8adb(this[_0x2a09e1(0x8d)],this[_0x2a09e1(0x8d)][_0x2a09e1(0x84)][_0x2a09e1(0x90)](_0x158fa9),_0x15a4a6),this[_0x2a09e1(0x8e)](_0x2a09e1(0x9d))['to'](this[_0x2a09e1(0x97)],_0x2a09e1(0x9d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49dfa3=_0x4d04;(function(_0x148126,_0x210286){const _0x595adf=_0x4d04,_0xdf7fa5=_0x148126();while(!![]){try{const _0x235761=-parseInt(_0x595adf(0x1d4))/0x1+-parseInt(_0x595adf(0x1c6))/0x2*(parseInt(_0x595adf(0x1d6))/0x3)+-parseInt(_0x595adf(0x1d5))/0x4*(-parseInt(_0x595adf(0x1d7))/0x5)+-parseInt(_0x595adf(0x1db))/0x6*(-parseInt(_0x595adf(0x1d3))/0x7)+-parseInt(_0x595adf(0x1d0))/0x8*(-parseInt(_0x595adf(0x1c7))/0x9)+parseInt(_0x595adf(0x1c8))/0xa+-parseInt(_0x595adf(0x1d2))/0xb*(parseInt(_0x595adf(0x1cd))/0xc);if(_0x235761===_0x210286)break;else _0xdf7fa5['push'](_0xdf7fa5['shift']());}catch(_0x440c96){_0xdf7fa5['push'](_0xdf7fa5['shift']());}}}(_0x4873,0xd99bc));function _0x4d04(_0x26d01e,_0xbf9250){const _0x48739a=_0x4873();return _0x4d04=function(_0x4d0461,_0x182496){_0x4d0461=_0x4d0461-0x1c4;let _0x40e0eb=_0x48739a[_0x4d0461];return _0x40e0eb;},_0x4d04(_0x26d01e,_0xbf9250);}import{Plugin as _0x110d38}from'ckeditor5/src/core.js';import{Notification as _0x18c561}from'ckeditor5/src/ui.js';import _0x28c42f from'./uploadcareimageeditcommand.js';import _0xa695d from'./uploadcareimagereplacecommand.js';import _0x46f126 from'../uploadcareediting.js';function _0x4873(){const _0x635f14=['isOfficialPlugin','1496ZgaNiU','7483PLjAqS','565371mbEMoj','4204ajMrsE','11385SOcttF','245yTCWzN','commands','UploadcareImageEditEditing','ImageUtils','7812aXJvvT','add','uploadcareImageEdit','290jEidvc','171bnpQXL','701620xlgdMi','requires','pluginName','ImageEditing','init','77052TZsZcT','uploadcareImageReplace','isPremiumPlugin','575464eCOtaH'];_0x4873=function(){return _0x635f14;};return _0x4873();}export default class g extends _0x110d38{static get[_0x49dfa3(0x1ca)](){const _0x4fa5b4=_0x49dfa3;return _0x4fa5b4(0x1d9);}static get[_0x49dfa3(0x1c9)](){const _0x4f274a=_0x49dfa3;return[_0x46f126,_0x18c561,_0x4f274a(0x1da),_0x4f274a(0x1cb)];}static get[_0x49dfa3(0x1d1)](){return!0x0;}static get[_0x49dfa3(0x1cf)](){return!0x0;}[_0x49dfa3(0x1cc)](){const _0x1e54fa=_0x49dfa3,{editor:_0x56afea}=this;_0x56afea[_0x1e54fa(0x1d8)][_0x1e54fa(0x1c4)](_0x1e54fa(0x1c5),new _0x28c42f(_0x56afea)),_0x56afea[_0x1e54fa(0x1d8)][_0x1e54fa(0x1c4)](_0x1e54fa(0x1ce),new _0xa695d(_0x56afea));}}
23
+ const _0x11bb84=_0x4e68;function _0x4e68(_0x266d79,_0x66bd92){const _0x1d1338=_0x1d13();return _0x4e68=function(_0x4e6865,_0x42cb51){_0x4e6865=_0x4e6865-0xbb;let _0x45788d=_0x1d1338[_0x4e6865];return _0x45788d;},_0x4e68(_0x266d79,_0x66bd92);}(function(_0x4e6a5f,_0x5270fc){const _0x4a0d3f=_0x4e68,_0x1c867b=_0x4e6a5f();while(!![]){try{const _0x4878f9=parseInt(_0x4a0d3f(0xc8))/0x1*(parseInt(_0x4a0d3f(0xc7))/0x2)+-parseInt(_0x4a0d3f(0xca))/0x3*(-parseInt(_0x4a0d3f(0xc5))/0x4)+parseInt(_0x4a0d3f(0xbb))/0x5+parseInt(_0x4a0d3f(0xbd))/0x6+parseInt(_0x4a0d3f(0xc6))/0x7+-parseInt(_0x4a0d3f(0xc3))/0x8+-parseInt(_0x4a0d3f(0xbf))/0x9;if(_0x4878f9===_0x5270fc)break;else _0x1c867b['push'](_0x1c867b['shift']());}catch(_0xa085d2){_0x1c867b['push'](_0x1c867b['shift']());}}}(_0x1d13,0x64baa));import{Plugin as _0xc75b99}from'ckeditor5/src/core.js';import{Notification as _0x52c8ff}from'ckeditor5/src/ui.js';import _0x1ca542 from'./uploadcareimageeditcommand.js';import _0x18a0ce from'./uploadcareimagereplacecommand.js';function _0x1d13(){const _0x12cbf1=['ImageEditing','add','1879016ytRwvb','UploadcareImageEditEditing','1204748LaeonI','4926362OubCNa','3910VhmjLW','183NCrQGw','ImageUtils','6feMeqx','init','uploadcareImageReplace','requires','uploadcareImageEdit','commands','1852380CMClem','pluginName','4394052OSzchs','isOfficialPlugin','19073340RjXyFn','isPremiumPlugin'];_0x1d13=function(){return _0x12cbf1;};return _0x1d13();}import _0x2d3c02 from'../uploadcareediting.js';export default class g extends _0xc75b99{static get[_0x11bb84(0xbc)](){const _0x442d75=_0x11bb84;return _0x442d75(0xc4);}static get[_0x11bb84(0xcd)](){const _0x582d66=_0x11bb84;return[_0x2d3c02,_0x52c8ff,_0x582d66(0xc9),_0x582d66(0xc1)];}static get[_0x11bb84(0xbe)](){return!0x0;}static get[_0x11bb84(0xc0)](){return!0x0;}[_0x11bb84(0xcb)](){const _0x146b46=_0x11bb84,{editor:_0x16e5a4}=this;_0x16e5a4[_0x146b46(0xcf)][_0x146b46(0xc2)](_0x146b46(0xce),new _0x1ca542(_0x16e5a4)),_0x16e5a4[_0x146b46(0xcf)][_0x146b46(0xc2)](_0x146b46(0xcc),new _0x18a0ce(_0x16e5a4));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x121453}from'ckeditor5/src/core.js';import{ButtonView as _0x5c8cc8}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x409898}from'ckeditor5/src/icons.js';import{createElement as _0x2a6841}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 _0x121453{['_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 _0x2b32be=this['editor'];_0x2b32be['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc68bbf=>{const _0x8f7df2=_0x2b32be['commands']['get']('uploadcareImageEdit'),_0x11dfa4=new _0x5c8cc8(_0xc68bbf),t=_0xc68bbf['t'];return _0x11dfa4['set']({'icon':_0x409898,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11dfa4['bind']('isEnabled')['to'](_0x8f7df2),_0x11dfa4['bind']('isOn')['to'](_0x8f7df2,'isActive'),this['listenTo'](_0x11dfa4,'execute',()=>{_0x2b32be['execute']('uploadcareImageEdit'),_0x2b32be['editing']['view']['focus']();}),_0x11dfa4;}),this['_initConfig']();}['_initConfig'](){const _0x201e28=_0x2a6841(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x201e28),this['listenTo'](this['editor'],'destroy',()=>{_0x201e28['remove']();});}}
23
+ import{Plugin as _0x50df97}from'ckeditor5/src/core.js';import{ButtonView as _0x32ee2e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x59701f}from'ckeditor5/src/icons.js';import{createElement as _0x49b308}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 _0x50df97{['_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 _0x3f92ba=this['editor'];_0x3f92ba['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5b99db=>{const _0x5ca49c=_0x3f92ba['commands']['get']('uploadcareImageEdit'),_0x5398bd=new _0x32ee2e(_0x5b99db),t=_0x5b99db['t'];return _0x5398bd['set']({'icon':_0x59701f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5398bd['bind']('isEnabled')['to'](_0x5ca49c),_0x5398bd['bind']('isOn')['to'](_0x5ca49c,'isActive'),this['listenTo'](_0x5398bd,'execute',()=>{_0x3f92ba['execute']('uploadcareImageEdit'),_0x3f92ba['editing']['view']['focus']();}),_0x5398bd;}),this['_initConfig']();}['_initConfig'](){const _0x4c84e2=_0x49b308(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4c84e2),this['listenTo'](this['editor'],'destroy',()=>{_0x4c84e2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5115(){const _0x56345d=['document','isEnabled','removeAttribute','48tmccVf','getSelectedElement','7PZJVXw','srcset','16340ySkWWG','sizes','element','selection','setAttributes','12591oseucw','refresh','369496eZSvQS','imageInline','983708edTtmD','model','3348762SKzdwk','editor','5287630sgLhwR','9744080MaalOP','imageBlock','execute','12862WnUXms','change'];_0x5115=function(){return _0x56345d;};return _0x5115();}const _0x5aa580=_0x109f;function _0x109f(_0x2c3a80,_0x37282c){const _0x5115f5=_0x5115();return _0x109f=function(_0x109fc0,_0xd7f8e6){_0x109fc0=_0x109fc0-0xf1;let _0x338d4b=_0x5115f5[_0x109fc0];return _0x338d4b;},_0x109f(_0x2c3a80,_0x37282c);}(function(_0x4f688f,_0x336d39){const _0x1f2c19=_0x109f,_0x1e3e9a=_0x4f688f();while(!![]){try{const _0x1ab45e=parseInt(_0x1f2c19(0x107))/0x1+-parseInt(_0x1f2c19(0xf5))/0x2*(-parseInt(_0x1f2c19(0xfa))/0x3)+parseInt(_0x1f2c19(0x105))/0x4+parseInt(_0x1f2c19(0xf1))/0x5+parseInt(_0x1f2c19(0x109))/0x6*(-parseInt(_0x1f2c19(0xfc))/0x7)+parseInt(_0x1f2c19(0xf2))/0x8+-parseInt(_0x1f2c19(0x103))/0x9*(parseInt(_0x1f2c19(0xfe))/0xa);if(_0x1ab45e===_0x336d39)break;else _0x1e3e9a['push'](_0x1e3e9a['shift']());}catch(_0x377717){_0x1e3e9a['push'](_0x1e3e9a['shift']());}}}(_0x5115,0x95075));import{Command as _0x5bb868}from'ckeditor5/src/core.js';export default class O extends _0x5bb868{[_0x5aa580(0x104)](){const _0x2c3876=_0x5aa580,_0x5c1f19=this[_0x2c3876(0x10a)][_0x2c3876(0x108)][_0x2c3876(0xf7)][_0x2c3876(0x101)][_0x2c3876(0xfb)]();this[_0x2c3876(0xf8)]=Boolean(_0x5c1f19&&(_0x5c1f19['is'](_0x2c3876(0x100),_0x2c3876(0xf3))||_0x5c1f19['is'](_0x2c3876(0x100),_0x2c3876(0x106))));}[_0x5aa580(0xf4)](_0x4ce909){const _0xf930e6=_0x5aa580,_0x33806c=this[_0xf930e6(0x10a)][_0xf930e6(0x108)][_0xf930e6(0xf7)][_0xf930e6(0x101)][_0xf930e6(0xfb)]();this[_0xf930e6(0x10a)][_0xf930e6(0x108)][_0xf930e6(0xf6)](_0x460189=>{const _0x5891bf=_0xf930e6;_0x460189[_0x5891bf(0x102)](_0x4ce909,_0x33806c),_0x460189[_0x5891bf(0xf9)](_0x5891bf(0xfd),_0x33806c),_0x460189[_0x5891bf(0xf9)](_0x5891bf(0xff),_0x33806c);});}}
23
+ const _0x39a4cd=_0x360d;function _0xf6c3(){const _0x4a0aca=['imageInline','document','sizes','setAttributes','637893wlfXpX','element','1129818xrudZi','refresh','editor','isEnabled','3656532ljOrtE','selection','srcset','model','change','imageBlock','97694jEhhbp','execute','10iNxZho','77avASot','9zclypE','getSelectedElement','removeAttribute','132JsUDoA','10hOGUOg','31408nsBzjo','2187GPNoIh','52opiBKu','103466CXPhcj'];_0xf6c3=function(){return _0x4a0aca;};return _0xf6c3();}(function(_0x553f77,_0x47f832){const _0x1fc566=_0x360d,_0x597892=_0x553f77();while(!![]){try{const _0x489b9f=-parseInt(_0x1fc566(0x106))/0x1*(parseInt(_0x1fc566(0x102))/0x2)+-parseInt(_0x1fc566(0x10c))/0x3*(parseInt(_0x1fc566(0x109))/0x4)+-parseInt(_0x1fc566(0x10a))/0x5*(parseInt(_0x1fc566(0x115))/0x6)+parseInt(_0x1fc566(0x105))/0x7*(-parseInt(_0x1fc566(0x10b))/0x8)+parseInt(_0x1fc566(0x113))/0x9*(parseInt(_0x1fc566(0x104))/0xa)+parseInt(_0x1fc566(0x10e))/0xb+parseInt(_0x1fc566(0x119))/0xc*(parseInt(_0x1fc566(0x10d))/0xd);if(_0x489b9f===_0x47f832)break;else _0x597892['push'](_0x597892['shift']());}catch(_0x14643e){_0x597892['push'](_0x597892['shift']());}}}(_0xf6c3,0x657a7));import{Command as _0x487f18}from'ckeditor5/src/core.js';function _0x360d(_0x4bfa3f,_0x6e78cb){const _0xf6c398=_0xf6c3();return _0x360d=function(_0x360da6,_0x475ca2){_0x360da6=_0x360da6-0xff;let _0x4566ce=_0xf6c398[_0x360da6];return _0x4566ce;},_0x360d(_0x4bfa3f,_0x6e78cb);}export default class O extends _0x487f18{[_0x39a4cd(0x116)](){const _0x75847c=_0x39a4cd,_0x15bfe6=this[_0x75847c(0x117)][_0x75847c(0xff)][_0x75847c(0x110)][_0x75847c(0x11a)][_0x75847c(0x107)]();this[_0x75847c(0x118)]=Boolean(_0x15bfe6&&(_0x15bfe6['is'](_0x75847c(0x114),_0x75847c(0x101))||_0x15bfe6['is'](_0x75847c(0x114),_0x75847c(0x10f))));}[_0x39a4cd(0x103)](_0x40e15d){const _0x3b754a=_0x39a4cd,_0x37a9e4=this[_0x3b754a(0x117)][_0x3b754a(0xff)][_0x3b754a(0x110)][_0x3b754a(0x11a)][_0x3b754a(0x107)]();this[_0x3b754a(0x117)][_0x3b754a(0xff)][_0x3b754a(0x100)](_0x3699a5=>{const _0x2b7058=_0x3b754a;_0x3699a5[_0x2b7058(0x112)](_0x40e15d,_0x37a9e4),_0x3699a5[_0x2b7058(0x108)](_0x2b7058(0x11b),_0x37a9e4),_0x3699a5[_0x2b7058(0x108)](_0x2b7058(0x111),_0x37a9e4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d8a(_0x4e44a4,_0x3728dc){var _0x3ce196=_0x3ce1();return _0x2d8a=function(_0x2d8a81,_0x40e6d4){_0x2d8a81=_0x2d8a81-0x98;var _0x4cc4cf=_0x3ce196[_0x2d8a81];return _0x4cc4cf;},_0x2d8a(_0x4e44a4,_0x3728dc);}var _0xf570d3=_0x2d8a;(function(_0x1c8dee,_0x6c2b2c){var _0xeaba2d=_0x2d8a,_0x19d104=_0x1c8dee();while(!![]){try{var _0x563265=-parseInt(_0xeaba2d(0xa4))/0x1+-parseInt(_0xeaba2d(0x9d))/0x2*(-parseInt(_0xeaba2d(0xa2))/0x3)+-parseInt(_0xeaba2d(0x9a))/0x4+parseInt(_0xeaba2d(0x9c))/0x5*(-parseInt(_0xeaba2d(0x9e))/0x6)+-parseInt(_0xeaba2d(0x99))/0x7+parseInt(_0xeaba2d(0x9b))/0x8*(-parseInt(_0xeaba2d(0xa5))/0x9)+parseInt(_0xeaba2d(0x9f))/0xa;if(_0x563265===_0x6c2b2c)break;else _0x19d104['push'](_0x19d104['shift']());}catch(_0x21a3bf){_0x19d104['push'](_0x19d104['shift']());}}}(_0x3ce1,0x27d62));import{Plugin as _0x509a73}from'ckeditor5/src/core.js';import _0x27bd37 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x59268f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x509a73{static get[_0xf570d3(0xa0)](){var _0x2c9f98=_0xf570d3;return _0x2c9f98(0xa3);}static get[_0xf570d3(0xa1)](){return[_0x27bd37,_0x59268f];}static get[_0xf570d3(0x98)](){return!0x0;}static get[_0xf570d3(0xa6)](){return!0x0;}}function _0x3ce1(){var _0x3a75a7=['100458SqviNz','isPremiumPlugin','isOfficialPlugin','534954bwrDEw','92796Jhrjks','152Tkmzte','5235mDRlhh','22yljdGD','432rFjYKg','4521320JlhCyT','pluginName','requires','73101qcyioq','UploadcareImageEdit','169916iObbwZ'];_0x3ce1=function(){return _0x3a75a7;};return _0x3ce1();}
23
+ var _0x2d17be=_0x4cae;(function(_0x3a31d6,_0x29450c){var _0x42f5f8=_0x4cae,_0x4eeae0=_0x3a31d6();while(!![]){try{var _0x3cf28a=parseInt(_0x42f5f8(0x100))/0x1+parseInt(_0x42f5f8(0xfc))/0x2*(-parseInt(_0x42f5f8(0xf4))/0x3)+parseInt(_0x42f5f8(0xfa))/0x4+-parseInt(_0x42f5f8(0xf8))/0x5+-parseInt(_0x42f5f8(0xfd))/0x6+-parseInt(_0x42f5f8(0xf9))/0x7*(-parseInt(_0x42f5f8(0xf6))/0x8)+-parseInt(_0x42f5f8(0xf5))/0x9*(-parseInt(_0x42f5f8(0xf2))/0xa);if(_0x3cf28a===_0x29450c)break;else _0x4eeae0['push'](_0x4eeae0['shift']());}catch(_0x3a9215){_0x4eeae0['push'](_0x4eeae0['shift']());}}}(_0x596a,0x57005));import{Plugin as _0x18ab8e}from'ckeditor5/src/core.js';function _0x596a(){var _0x43a2a1=['requires','UploadcareImageEdit','1971wzDhyY','420nSbMvO','isPremiumPlugin','42JezLIG','79047pMUpwV','8936BMZxsK','isOfficialPlugin','36790tGtvMR','1421YQFVnu','1867004puOByw','pluginName','37784aYoSdy','2616936nKPZUU'];_0x596a=function(){return _0x43a2a1;};return _0x596a();}import _0x219422 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1fc3cb from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4cae(_0x82df12,_0x3fc428){var _0x596a79=_0x596a();return _0x4cae=function(_0x4cae42,_0x4ba9b5){_0x4cae42=_0x4cae42-0xf2;var _0x51ff13=_0x596a79[_0x4cae42];return _0x51ff13;},_0x4cae(_0x82df12,_0x3fc428);}export default class P extends _0x18ab8e{static get[_0x2d17be(0xfb)](){var _0x338ab4=_0x2d17be;return _0x338ab4(0xff);}static get[_0x2d17be(0xfe)](){return[_0x219422,_0x1fc3cb];}static get[_0x2d17be(0xf7)](){return!0x0;}static get[_0x2d17be(0xf3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f64f9=_0x2ae9;(function(_0x362055,_0x52544b){const _0x109844=_0x2ae9,_0x5107fd=_0x362055();while(!![]){try{const _0x35843a=-parseInt(_0x109844(0x1b6))/0x1+-parseInt(_0x109844(0x19a))/0x2+parseInt(_0x109844(0x1a9))/0x3+parseInt(_0x109844(0x199))/0x4+-parseInt(_0x109844(0x188))/0x5*(parseInt(_0x109844(0x1bb))/0x6)+parseInt(_0x109844(0x1cf))/0x7+parseInt(_0x109844(0x1a7))/0x8*(parseInt(_0x109844(0x1c0))/0x9);if(_0x35843a===_0x52544b)break;else _0x5107fd['push'](_0x5107fd['shift']());}catch(_0x1ef444){_0x5107fd['push'](_0x5107fd['shift']());}}}(_0x3398,0xd8886));import{Plugin as _0x18ce00}from'ckeditor5/src/core.js';import{IconDropbox as _0x236862,IconFacebook as _0x4db524,IconGoogleDrive as _0x374282,IconGooglePhotos as _0x399e04,IconUploadcareImageUpload as _0xb045ec,IconUploadcareLink as _0x8fd46b,IconOneDrive as _0x5c130e}from'ckeditor5/src/icons.js';import{ButtonView as _0xf4ca25,MenuBarMenuListItemButtonView as _0x34b898}from'ckeditor5/src/ui.js';function _0x2ae9(_0x543d4a,_0x527210){const _0x33986d=_0x3398();return _0x2ae9=function(_0x2ae91e,_0x35dee4){_0x2ae91e=_0x2ae91e-0x184;let _0x11e51e=_0x33986d[_0x2ae91e];return _0x11e51e;},_0x2ae9(_0x543d4a,_0x527210);}import{UploadcareSource as _0x1b0a9c}from'./uploadcareconfig.js';function _0x3398(){const _0x437b6a=['uploadcareLicenseKeyInvalid','withText','entries','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','uploadcare','Local','384816rKuWsX','95562ZlYTRl','domainLimit','config','invalid','GPhotos','commands','Dropbox','reduce','uploadcareLicenseKeyExpired','afterInit','assetManager','uploadcareLicenseKeyUsageLimit','_showLicenseError','8wWqBfo','url','3380520yUVhSP','licenseKey','GDrive','locale','registerIntegration','label','uploadcareLicenseKeyTrialLimit','push','icon','_licenseKeyCheckInterval','init','evaluationLimit','featureNotAllowed','1455068MjKBln','ImageInsertUI','Replace','expired','UploadcareUI','18IssJJZ','_createButton','_normalizeConfigSourceList','Uploadcare','shortText','11781486SbrzlG','usageLimit','type','OneDrive','destroy','_createToolbarButton','uploadcare.uploader.sourceList','execute','Facebook','tooltip','bind','Insert','forEach','isOfficialPlugin','isPremiumPlugin','7802284YeQghS','editor','pluginName','uploadcareLicenseKeyEvaluationLimit','get','upload','uploadcareLicenseKeyValid','_createMenuBarButtons','uploadcareLicenseKeyDomainLimit','2094905OOIUEv','isImageSelected','isEnabled','text','_getIntegrationKey','plugins','trialLimit','map','URL','has'];_0x3398=function(){return _0x437b6a;};return _0x3398();}import{getTranslation as _0x1e9bbf}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 _0x18ce00{[_0x4f64f9(0x1aa)];[_0x4f64f9(0x1b2)];static get[_0x4f64f9(0x1d1)](){const _0x2c7ba9=_0x4f64f9;return _0x2c7ba9(0x1ba);}static get[_0x4f64f9(0x1cd)](){return!0x0;}static get[_0x4f64f9(0x1ce)](){return!0x0;}[_0x4f64f9(0x1b3)](){const _0x512137=_0x4f64f9;this[_0x512137(0x1aa)]=this[_0x512137(0x1d0)][_0x512137(0x19c)][_0x512137(0x1d3)](_0x512137(0x1aa));const _0x1683d7=this[_0x512137(0x1d0)];this[_0x512137(0x1b2)]=setInterval(()=>{const _0xc07995=_0x512137;let _0x122166;for(const _0x539b0c in _0x1683d7){const _0x396329=_0x539b0c,_0x12fa02=_0x1683d7[_0x396329];if(_0xc07995(0x185)==_0x12fa02||_0xc07995(0x192)==_0x12fa02||_0xc07995(0x1a2)==_0x12fa02||_0xc07995(0x187)==_0x12fa02||_0xc07995(0x196)==_0x12fa02||_0xc07995(0x1d2)==_0x12fa02||_0xc07995(0x1af)==_0x12fa02||_0xc07995(0x1a5)==_0x12fa02){delete _0x1683d7[_0x396329],_0x122166=_0x12fa02,clearInterval(this[_0xc07995(0x1b2)]),this[_0xc07995(0x1b2)]=void 0x0;break;}}_0xc07995(0x192)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x19d)),_0xc07995(0x1a2)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1b9)),_0xc07995(0x187)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x19b)),_0xc07995(0x196)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1b5),_0xc07995(0x1be)),_0xc07995(0x1d2)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1b4)),_0xc07995(0x1af)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x18e)),_0xc07995(0x1a5)==_0x122166&&_0x1683d7[_0xc07995(0x1a6)](_0xc07995(0x1c1));},0x3e8);}[_0x4f64f9(0x1a3)](){const _0x2da94d=_0x4f64f9,{editor:_0x481509}=this,_0x2a26bd=_0x481509[_0x2da94d(0x19f)][_0x2da94d(0x1d3)](_0x2da94d(0x197));if(!_0x2a26bd)return;const _0xc41c6d=this[_0x2da94d(0x1bd)](_0x481509[_0x2da94d(0x19c)][_0x2da94d(0x1d3)](_0x2da94d(0x1c6)))[_0x2da94d(0x1a1)]((_0x5867f0,_0x464c8a)=>{const _0x4c427e=_0x2da94d,_0x26a5c0=this[_0x4c427e(0x18c)](_0x464c8a[_0x4c427e(0x1c2)]);return _0x5867f0[_0x26a5c0]||(_0x5867f0[_0x26a5c0]=[]),_0x5867f0[_0x26a5c0][_0x4c427e(0x1b0)](_0x464c8a),_0x5867f0;},{});_0x481509[_0x2da94d(0x18d)][_0x2da94d(0x191)](_0x2da94d(0x1b7))&&_0x481509[_0x2da94d(0x19f)][_0x2da94d(0x1d3)](_0x2da94d(0x197))&&Object[_0x2da94d(0x194)](_0xc41c6d)[_0x2da94d(0x1cc)](([_0x283fb7,_0x22e12f])=>{const _0x1577c2=_0x2da94d;_0x481509[_0x1577c2(0x18d)][_0x1577c2(0x1d3)](_0x1577c2(0x1b7))[_0x1577c2(0x1ad)]({'name':_0x283fb7,'observable':()=>_0x2a26bd,'buttonViewCreator':()=>this[_0x1577c2(0x1c5)](_0x22e12f),'formViewCreator':()=>this[_0x1577c2(0x195)](_0x22e12f),'menuBarButtonViewCreator':()=>this[_0x1577c2(0x186)](_0x22e12f),'override':_0x1577c2(0x1a4)!==_0x283fb7});});}[_0x4f64f9(0x1c4)](){const _0x3b9376=_0x4f64f9;super[_0x3b9376(0x1c4)](),this[_0x3b9376(0x1b2)]&&clearInterval(this[_0x3b9376(0x1b2)]);}[_0x4f64f9(0x1bd)](_0x42e23e){const _0x3d9170=_0x4f64f9,{locale:_0x3ea952}=this[_0x3d9170(0x1d0)];return _0x42e23e[_0x3d9170(0x18f)](_0x2844ea=>{const _0x443d46=_0x3d9170,_0x59f587=_0x1e9bbf(_0x3ea952,_0x2844ea,_0x443d46(0x1cb));switch(_0x2844ea){case _0x1b0a9c[_0x443d46(0x198)]:return{'icon':_0xb045ec,'type':_0x1b0a9c[_0x443d46(0x198)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x190)]:return{'icon':_0x8fd46b,'type':_0x1b0a9c[_0x443d46(0x190)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1a0)]:return{'icon':_0x236862,'type':_0x1b0a9c[_0x443d46(0x1a0)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1c8)]:return{'icon':_0x4db524,'type':_0x1b0a9c[_0x443d46(0x1c8)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1ab)]:return{'icon':_0x374282,'type':_0x1b0a9c[_0x443d46(0x1ab)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x19e)]:return{'icon':_0x399e04,'type':_0x1b0a9c[_0x443d46(0x19e)],..._0x59f587};case _0x1b0a9c[_0x443d46(0x1c3)]:return{'icon':_0x5c130e,'type':_0x1b0a9c[_0x443d46(0x1c3)],..._0x59f587};}});}[_0x4f64f9(0x18c)](_0x18a69e){const _0x3db853=_0x4f64f9;switch(_0x18a69e){case _0x1b0a9c[_0x3db853(0x198)]:return _0x3db853(0x184);case _0x1b0a9c[_0x3db853(0x190)]:return _0x3db853(0x1a8);default:return _0x3db853(0x1a4);}}[_0x4f64f9(0x1bc)](_0x15a791,_0x5800fa){const _0x5e7ba2=_0x4f64f9,_0xac4a55=this[_0x5e7ba2(0x1d0)],_0x50dde0=new _0x15a791(_0xac4a55[_0x5e7ba2(0x1ac)]),_0x1dc617=_0xac4a55[_0x5e7ba2(0x19f)][_0x5e7ba2(0x1d3)](_0x5e7ba2(0x197));return _0x50dde0[_0x5e7ba2(0x1ca)](_0x5e7ba2(0x18a))['to'](_0x1dc617),_0x50dde0['on'](_0x5e7ba2(0x1c7),()=>{const _0x5ccc52=_0x5e7ba2;_0x1dc617[_0x5ccc52(0x1c7)](_0x5800fa);}),_0x50dde0;}[_0x4f64f9(0x1c5)](_0x35a067){const _0x178abf=_0x4f64f9,{locale:_0x4cb1ac}=this[_0x178abf(0x1d0)],_0x12f59c=this[_0x178abf(0x1d0)][_0x178abf(0x18d)][_0x178abf(0x1d3)](_0x178abf(0x1b7)),_0x45e0e6=_0x35a067[0x0],_0x25e79c=this[_0x178abf(0x1bc)](_0xf4ca25,_0x45e0e6[_0x178abf(0x1c2)]);return _0x25e79c[_0x178abf(0x1b1)]=_0x45e0e6[_0x178abf(0x1b1)],_0x25e79c[_0x178abf(0x1ca)](_0x178abf(0x1ae))['to'](_0x12f59c,_0x178abf(0x189),_0x22c51d=>_0x1e9bbf(_0x4cb1ac,_0x45e0e6[_0x178abf(0x1c2)],_0x22c51d?_0x178abf(0x1b8):_0x178abf(0x1cb))[_0x178abf(0x18b)]),_0x25e79c[_0x178abf(0x1c9)]=!0x0,_0x25e79c;}[_0x4f64f9(0x195)](_0x38a747){const _0xc7e78c=_0x4f64f9,{locale:_0x52b31c}=this[_0xc7e78c(0x1d0)],_0x288bcb=this[_0xc7e78c(0x1d0)][_0xc7e78c(0x18d)][_0xc7e78c(0x1d3)](_0xc7e78c(0x1b7));return _0x38a747[_0xc7e78c(0x18f)](_0x13a51d=>{const _0x2241ca=_0xc7e78c,_0x59660d=this[_0x2241ca(0x1bc)](_0xf4ca25,_0x13a51d[_0x2241ca(0x1c2)]);return _0x59660d[_0x2241ca(0x193)]=!0x0,_0x59660d[_0x2241ca(0x1b1)]=_0x13a51d[_0x2241ca(0x1b1)],_0x59660d[_0x2241ca(0x1ca)](_0x2241ca(0x1ae))['to'](_0x288bcb,_0x2241ca(0x189),_0x32232e=>_0x1e9bbf(_0x52b31c,_0x13a51d[_0x2241ca(0x1c2)],_0x32232e?_0x2241ca(0x1b8):_0x2241ca(0x1cb))[_0x2241ca(0x18b)]),_0x59660d;});}[_0x4f64f9(0x186)](_0x4fd08b){const _0x4a3eca=_0x4f64f9;return _0x4fd08b[_0x4a3eca(0x18f)](_0x4cdc70=>{const _0x38e988=_0x4a3eca,_0x5f15ee=this[_0x38e988(0x1bc)](_0x34b898,_0x4cdc70[_0x38e988(0x1c2)]);return _0x5f15ee[_0x38e988(0x1b1)]=_0x4cdc70[_0x38e988(0x1b1)],_0x5f15ee[_0x38e988(0x1ae)]=_0x4cdc70[_0x38e988(0x1bf)],_0x5f15ee;});}}
23
+ const _0x532345=_0x3e32;(function(_0x24d94c,_0xa30c6b){const _0x21d1ea=_0x3e32,_0x34ddb0=_0x24d94c();while(!![]){try{const _0x62af97=parseInt(_0x21d1ea(0x11a))/0x1*(-parseInt(_0x21d1ea(0x107))/0x2)+parseInt(_0x21d1ea(0x136))/0x3+parseInt(_0x21d1ea(0x145))/0x4+-parseInt(_0x21d1ea(0x135))/0x5+parseInt(_0x21d1ea(0x14b))/0x6*(-parseInt(_0x21d1ea(0x14e))/0x7)+-parseInt(_0x21d1ea(0x13d))/0x8+parseInt(_0x21d1ea(0x103))/0x9;if(_0x62af97===_0xa30c6b)break;else _0x34ddb0['push'](_0x34ddb0['shift']());}catch(_0x3bb8bc){_0x34ddb0['push'](_0x34ddb0['shift']());}}}(_0x5979,0x7c365));import{Plugin as _0x2e5209}from'ckeditor5/src/core.js';function _0x3e32(_0x1b9a3f,_0x1ec823){const _0x597951=_0x5979();return _0x3e32=function(_0x3e3284,_0x3ddfcd){_0x3e3284=_0x3e3284-0x103;let _0x489ee0=_0x597951[_0x3e3284];return _0x489ee0;},_0x3e32(_0x1b9a3f,_0x1ec823);}import{IconDropbox as _0x2f830a,IconFacebook as _0x50bd36,IconGoogleDrive as _0x1802f6,IconGooglePhotos as _0x16e5e6,IconUploadcareImageUpload as _0x26d78c,IconUploadcareLink as _0x279d2e,IconOneDrive as _0xf53ce0}from'ckeditor5/src/icons.js';function _0x5979(){const _0x346b3d=['invalid','map','evaluationLimit','commands','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','Facebook','registerIntegration','editor','shortText','forEach','_licenseKeyCheckInterval','3870665BplWyU','1817508WZZhFv','_createButton','withText','_getIntegrationKey','licenseKey','uploadcareLicenseKeyValid','text','3407640sSdtLY','reduce','usageLimit','uploadcare','bind','expired','featureNotAllowed','OneDrive','3579268aqgdny','label','_showLicenseError','Local','uploadcareLicenseKeyEvaluationLimit','assetManager','6wIdbBe','_normalizeConfigSourceList','Uploadcare','5690881Fsszkp','_createToolbarButton','_createMenuBarButtons','isPremiumPlugin','config','12092319onvpZP','ImageInsertUI','init','execute','62VtIsqS','URL','get','destroy','Replace','entries','icon','locale','afterInit','type','isOfficialPlugin','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyTrialLimit','GDrive','Dropbox','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyUsageLimit','domainLimit','_createDropdownButtons','10400tEJvrQ','GPhotos','isEnabled','push','pluginName','isImageSelected','trialLimit','url','uploadcare.uploader.sourceList','has','upload','Insert','UploadcareUI','tooltip','plugins'];_0x5979=function(){return _0x346b3d;};return _0x5979();}import{ButtonView as _0x502eb8,MenuBarMenuListItemButtonView as _0x55b180}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x42623c}from'./uploadcareconfig.js';import{getTranslation as _0x3d0329}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 _0x2e5209{[_0x532345(0x13a)];[_0x532345(0x134)];static get[_0x532345(0x11e)](){const _0x5e096a=_0x532345;return _0x5e096a(0x126);}static get[_0x532345(0x111)](){return!0x0;}static get[_0x532345(0x151)](){return!0x0;}[_0x532345(0x105)](){const _0x59cbde=_0x532345;this[_0x59cbde(0x13a)]=this[_0x59cbde(0x131)][_0x59cbde(0x152)][_0x59cbde(0x109)](_0x59cbde(0x13a));const _0x155411=this[_0x59cbde(0x131)];this[_0x59cbde(0x134)]=setInterval(()=>{const _0x163e72=_0x59cbde;let _0x43fb13;for(const _0x4e0efa in _0x155411){const _0x1e9a25=_0x4e0efa,_0x55d162=_0x155411[_0x1e9a25];if(_0x163e72(0x13b)==_0x55d162||_0x163e72(0x112)==_0x55d162||_0x163e72(0x12d)==_0x55d162||_0x163e72(0x12e)==_0x55d162||_0x163e72(0x116)==_0x55d162||_0x163e72(0x149)==_0x55d162||_0x163e72(0x113)==_0x55d162||_0x163e72(0x117)==_0x55d162){delete _0x155411[_0x1e9a25],_0x43fb13=_0x55d162,clearInterval(this[_0x163e72(0x134)]),this[_0x163e72(0x134)]=void 0x0;break;}}_0x163e72(0x112)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x129)),_0x163e72(0x12d)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x142)),_0x163e72(0x12e)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x118)),_0x163e72(0x116)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x143),_0x163e72(0x14d)),_0x163e72(0x149)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x12b)),_0x163e72(0x113)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x120)),_0x163e72(0x117)==_0x43fb13&&_0x155411[_0x163e72(0x147)](_0x163e72(0x13f));},0x3e8);}[_0x532345(0x10f)](){const _0x5d8c61=_0x532345,{editor:_0x5e74f4}=this,_0x3d740a=_0x5e74f4[_0x5d8c61(0x12c)][_0x5d8c61(0x109)](_0x5d8c61(0x140));if(!_0x3d740a)return;const _0x1f4c91=this[_0x5d8c61(0x14c)](_0x5e74f4[_0x5d8c61(0x152)][_0x5d8c61(0x109)](_0x5d8c61(0x122)))[_0x5d8c61(0x13e)]((_0x570fdd,_0x250859)=>{const _0x325527=_0x5d8c61,_0x3710b2=this[_0x325527(0x139)](_0x250859[_0x325527(0x110)]);return _0x570fdd[_0x3710b2]||(_0x570fdd[_0x3710b2]=[]),_0x570fdd[_0x3710b2][_0x325527(0x11d)](_0x250859),_0x570fdd;},{});_0x5e74f4[_0x5d8c61(0x128)][_0x5d8c61(0x123)](_0x5d8c61(0x104))&&_0x5e74f4[_0x5d8c61(0x12c)][_0x5d8c61(0x109)](_0x5d8c61(0x140))&&Object[_0x5d8c61(0x10c)](_0x1f4c91)[_0x5d8c61(0x133)](([_0xf5c6d3,_0x56cf3e])=>{const _0x425e1f=_0x5d8c61;_0x5e74f4[_0x425e1f(0x128)][_0x425e1f(0x109)](_0x425e1f(0x104))[_0x425e1f(0x130)]({'name':_0xf5c6d3,'observable':()=>_0x3d740a,'buttonViewCreator':()=>this[_0x425e1f(0x14f)](_0x56cf3e),'formViewCreator':()=>this[_0x425e1f(0x119)](_0x56cf3e),'menuBarButtonViewCreator':()=>this[_0x425e1f(0x150)](_0x56cf3e),'override':_0x425e1f(0x14a)!==_0xf5c6d3});});}[_0x532345(0x10a)](){const _0x2cd15a=_0x532345;super[_0x2cd15a(0x10a)](),this[_0x2cd15a(0x134)]&&clearInterval(this[_0x2cd15a(0x134)]);}[_0x532345(0x14c)](_0x596001){const _0x2ff363=_0x532345,{locale:_0x372203}=this[_0x2ff363(0x131)];return _0x596001[_0x2ff363(0x12a)](_0x3dd13e=>{const _0x597d67=_0x2ff363,_0x3deeca=_0x3d0329(_0x372203,_0x3dd13e,_0x597d67(0x125));switch(_0x3dd13e){case _0x42623c[_0x597d67(0x148)]:return{'icon':_0x26d78c,'type':_0x42623c[_0x597d67(0x148)],..._0x3deeca};case _0x42623c[_0x597d67(0x108)]:return{'icon':_0x279d2e,'type':_0x42623c[_0x597d67(0x108)],..._0x3deeca};case _0x42623c[_0x597d67(0x115)]:return{'icon':_0x2f830a,'type':_0x42623c[_0x597d67(0x115)],..._0x3deeca};case _0x42623c[_0x597d67(0x12f)]:return{'icon':_0x50bd36,'type':_0x42623c[_0x597d67(0x12f)],..._0x3deeca};case _0x42623c[_0x597d67(0x114)]:return{'icon':_0x1802f6,'type':_0x42623c[_0x597d67(0x114)],..._0x3deeca};case _0x42623c[_0x597d67(0x11b)]:return{'icon':_0x16e5e6,'type':_0x42623c[_0x597d67(0x11b)],..._0x3deeca};case _0x42623c[_0x597d67(0x144)]:return{'icon':_0xf53ce0,'type':_0x42623c[_0x597d67(0x144)],..._0x3deeca};}});}[_0x532345(0x139)](_0x30c1ab){const _0x3dadcf=_0x532345;switch(_0x30c1ab){case _0x42623c[_0x3dadcf(0x148)]:return _0x3dadcf(0x124);case _0x42623c[_0x3dadcf(0x108)]:return _0x3dadcf(0x121);default:return _0x3dadcf(0x14a);}}[_0x532345(0x137)](_0x2089e6,_0x1e6696){const _0x54f704=_0x532345,_0x321c8a=this[_0x54f704(0x131)],_0x108eec=new _0x2089e6(_0x321c8a[_0x54f704(0x10e)]),_0x430212=_0x321c8a[_0x54f704(0x12c)][_0x54f704(0x109)](_0x54f704(0x140));return _0x108eec[_0x54f704(0x141)](_0x54f704(0x11c))['to'](_0x430212),_0x108eec['on'](_0x54f704(0x106),()=>{const _0x2fbc17=_0x54f704;_0x430212[_0x2fbc17(0x106)](_0x1e6696);}),_0x108eec;}[_0x532345(0x14f)](_0x1bae31){const _0x4ba677=_0x532345,{locale:_0x42f78d}=this[_0x4ba677(0x131)],_0x22e385=this[_0x4ba677(0x131)][_0x4ba677(0x128)][_0x4ba677(0x109)](_0x4ba677(0x104)),_0xb472e5=_0x1bae31[0x0],_0x3ece3e=this[_0x4ba677(0x137)](_0x502eb8,_0xb472e5[_0x4ba677(0x110)]);return _0x3ece3e[_0x4ba677(0x10d)]=_0xb472e5[_0x4ba677(0x10d)],_0x3ece3e[_0x4ba677(0x141)](_0x4ba677(0x146))['to'](_0x22e385,_0x4ba677(0x11f),_0x354cf1=>_0x3d0329(_0x42f78d,_0xb472e5[_0x4ba677(0x110)],_0x354cf1?_0x4ba677(0x10b):_0x4ba677(0x125))[_0x4ba677(0x13c)]),_0x3ece3e[_0x4ba677(0x127)]=!0x0,_0x3ece3e;}[_0x532345(0x119)](_0x31d1b7){const _0x5a5a5e=_0x532345,{locale:_0x34f491}=this[_0x5a5a5e(0x131)],_0x7ba8be=this[_0x5a5a5e(0x131)][_0x5a5a5e(0x128)][_0x5a5a5e(0x109)](_0x5a5a5e(0x104));return _0x31d1b7[_0x5a5a5e(0x12a)](_0x3f52cb=>{const _0x422dbd=_0x5a5a5e,_0x11ffcc=this[_0x422dbd(0x137)](_0x502eb8,_0x3f52cb[_0x422dbd(0x110)]);return _0x11ffcc[_0x422dbd(0x138)]=!0x0,_0x11ffcc[_0x422dbd(0x10d)]=_0x3f52cb[_0x422dbd(0x10d)],_0x11ffcc[_0x422dbd(0x141)](_0x422dbd(0x146))['to'](_0x7ba8be,_0x422dbd(0x11f),_0x59a505=>_0x3d0329(_0x34f491,_0x3f52cb[_0x422dbd(0x110)],_0x59a505?_0x422dbd(0x10b):_0x422dbd(0x125))[_0x422dbd(0x13c)]),_0x11ffcc;});}[_0x532345(0x150)](_0x2efa3d){const _0x2fa0e3=_0x532345;return _0x2efa3d[_0x2fa0e3(0x12a)](_0x2d4163=>{const _0x2552a4=_0x2fa0e3,_0xf25c46=this[_0x2552a4(0x137)](_0x55b180,_0x2d4163[_0x2552a4(0x110)]);return _0xf25c46[_0x2552a4(0x10d)]=_0x2d4163[_0x2552a4(0x10d)],_0xf25c46[_0x2552a4(0x146)]=_0x2d4163[_0x2552a4(0x132)],_0xf25c46;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x424a47}from'ckeditor5/src/core.js';import{FileRepository as _0x346ac7}from'ckeditor5/src/upload.js';import _0x4e78b8 from'./uploadcareediting.js';import _0x513d40 from'./utils/uploadutils.js';import{getImageUrls as _0x4612ef}from'./utils/editingutils.js';export default class p extends _0x424a47{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x346ac7,_0x4e78b8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3197ae=this['editor'];if(!!!_0x3197ae['config']['get']('uploadcare'))return;_0x3197ae['plugins']['get'](_0x346ac7)['createUploadAdapter']=_0x3cfddb=>new x(_0x3cfddb,_0x3197ae),_0x3197ae['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x20e873,{imageElement:_0x78d74b,data:_0x220a24})=>{_0x3197ae['model']['change'](_0x53b13f=>{_0x53b13f['setAttribute']('uploadcareImageId',_0x220a24['uploadcareImageId'],_0x78d74b);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4edc30,_0x1bac4e){this['loader']=_0x4edc30,this['editor']=_0x1bac4e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x45715a=this['editor']['config']['get']('uploadcare.pubkey'),_0x5a7523=await this['loader']['file'];return _0x513d40['upload']({'file':_0x5a7523,'publicKey':_0x45715a,'signal':this['controller']['signal'],'onProgress':_0x26b631=>{_0x26b631&&_0x26b631['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x26b631['value']);}})['then'](async _0x42bac1=>{const {imageFallbackUrl:_0x45c934,imageSources:_0x1a4a9e}=_0x4612ef(_0x42bac1['cdnUrl'],_0x42bac1['imageInfo']['width']);return{'uploadcareImageId':_0x42bac1['uuid'],'default':_0x45c934,'sources':_0x1a4a9e};})['catch'](()=>{const _0x3c90e6=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a7523['name']+'.');return Promise['reject'](_0x3c90e6);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x80885}from'ckeditor5/src/core.js';import{FileRepository as _0x2fd905}from'ckeditor5/src/upload.js';import _0x544d09 from'./uploadcareediting.js';import _0x5104df from'./utils/uploadutils.js';import{getImageUrls as _0x24787f}from'./utils/editingutils.js';export default class p extends _0x80885{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2fd905,_0x544d09];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x160e58=this['editor'];if(!!!_0x160e58['config']['get']('uploadcare'))return;_0x160e58['plugins']['get'](_0x2fd905)['createUploadAdapter']=_0x3a729f=>new x(_0x3a729f,_0x160e58),_0x160e58['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x41e196,{imageElement:_0x42841d,data:_0x189d6c})=>{_0x160e58['model']['change'](_0x1d3012=>{_0x1d3012['setAttribute']('uploadcareImageId',_0x189d6c['uploadcareImageId'],_0x42841d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x86810e,_0x4c00f5){this['loader']=_0x86810e,this['editor']=_0x4c00f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xfeb7ce=this['editor']['config']['get']('uploadcare.pubkey'),_0x3155f8=await this['loader']['file'];return _0x5104df['upload']({'file':_0x3155f8,'publicKey':_0xfeb7ce,'signal':this['controller']['signal'],'onProgress':_0x2dfac6=>{_0x2dfac6&&_0x2dfac6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dfac6['value']);}})['then'](async _0x38a8c0=>{const {imageFallbackUrl:_0x2ff2e6,imageSources:_0x5922d5}=_0x24787f(_0x38a8c0['cdnUrl'],_0x38a8c0['imageInfo']['width']);return{'uploadcareImageId':_0x38a8c0['uuid'],'default':_0x2ff2e6,'sources':_0x5922d5};})['catch'](()=>{const _0x3c99c2=t('Cannot\x20upload\x20file:')+('\x20'+_0x3155f8['name']+'.');return Promise['reject'](_0x3c99c2);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3ca74f}from'../uploadcareconfig.js';export function getTranslation(_0x4d2f26,_0x8f6159,_0x48fbe5){const t=_0x4d2f26['t'],_0x3381b0=_0x4d2f26['t'];switch(_0x8f6159){case _0x3ca74f['Local']:return{'text':_0x3381b0('Insert'===_0x48fbe5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3381b0('From\x20computer')};case _0x3ca74f['URL']:return{'text':'Insert'===_0x48fbe5?_0x3381b0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3381b0('Via\x20URL')};case _0x3ca74f['Dropbox']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3ca74f['Facebook']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3ca74f['GDrive']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3ca74f['GPhotos']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3ca74f['OneDrive']:return{'text':t('Insert'===_0x48fbe5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x8f6159;}}
23
+ import{UploadcareSource as _0x297574}from'../uploadcareconfig.js';export function getTranslation(_0x340302,_0x644335,_0x477514){const t=_0x340302['t'],_0x4608ea=_0x340302['t'];switch(_0x644335){case _0x297574['Local']:return{'text':_0x4608ea('Insert'===_0x477514?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4608ea('From\x20computer')};case _0x297574['URL']:return{'text':'Insert'===_0x477514?_0x4608ea('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4608ea('Via\x20URL')};case _0x297574['Dropbox']:return{'text':t('Insert'===_0x477514?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x297574['Facebook']:return{'text':t('Insert'===_0x477514?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x297574['GDrive']:return{'text':t('Insert'===_0x477514?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x297574['GPhotos']:return{'text':t('Insert'===_0x477514?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x297574['OneDrive']:return{'text':t('Insert'===_0x477514?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x644335;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x434a6f=_0x1f91;function _0x1f91(_0x517ce7,_0x31e3ee){var _0xd88810=_0xd888();return _0x1f91=function(_0x1f91a9,_0x98ea94){_0x1f91a9=_0x1f91a9-0xe7;var _0x494758=_0xd88810[_0x1f91a9];return _0x494758;},_0x1f91(_0x517ce7,_0x31e3ee);}(function(_0x12ff9d,_0x355d75){var _0x51d3fa=_0x1f91,_0x184faf=_0x12ff9d();while(!![]){try{var _0x5d6b22=parseInt(_0x51d3fa(0xf2))/0x1*(parseInt(_0x51d3fa(0xe8))/0x2)+-parseInt(_0x51d3fa(0xf1))/0x3+-parseInt(_0x51d3fa(0xe9))/0x4+-parseInt(_0x51d3fa(0xed))/0x5+-parseInt(_0x51d3fa(0xe7))/0x6*(-parseInt(_0x51d3fa(0xf4))/0x7)+-parseInt(_0x51d3fa(0xf0))/0x8+parseInt(_0x51d3fa(0xee))/0x9*(parseInt(_0x51d3fa(0xf7))/0xa);if(_0x5d6b22===_0x355d75)break;else _0x184faf['push'](_0x184faf['shift']());}catch(_0x58644e){_0x184faf['push'](_0x184faf['shift']());}}}(_0xd888,0x834be));import{FocusTracker as _0x21a706}from'ckeditor5/src/utils.js';import{View as _0x46be69,FocusCycler as _0x49de19}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x46be69{[_0x434a6f(0xf9)];[_0x434a6f(0xec)];constructor(_0x4fca42){var _0x606ab6=_0x434a6f;super(_0x4fca42),this[_0x606ab6(0xf9)]=new _0x21a706(),this[_0x606ab6(0xec)]=new _0x49de19({'focusables':this[_0x606ab6(0xea)](),'focusTracker':this[_0x606ab6(0xf9)]});}[_0x434a6f(0xeb)](){var _0x5b2186=_0x434a6f;return{'tag':_0x5b2186(0xf6),'attributes':{'aria-hidden':_0x5b2186(0xf5),'tabindex':'0'},'on':{'focus':this[_0x5b2186(0xf8)]['to'](()=>{var _0x249af8=_0x5b2186;this[_0x249af8(0xec)][_0x249af8(0xf3)](_0x249af8(0xef));})}};}}function _0xd888(){var _0x48bb4e=['fire','154NaTosN','true','div','430STHIJh','bindTemplate','focusTracker','240306xiXXOp','2032XnDbSH','2549052IhhWFh','createCollection','getFocusableElement','focusCycler','754095CsMzwB','224658PBcjnX','forwardCycle','5651416vPsiBE','1232655yXUhYZ','481iiABgB'];_0xd888=function(){return _0x48bb4e;};return _0xd888();}
23
+ var _0x17cd23=_0x4127;(function(_0x326d83,_0x309f09){var _0x8c1f4f=_0x4127,_0x35f80e=_0x326d83();while(!![]){try{var _0x185d2a=-parseInt(_0x8c1f4f(0x1f3))/0x1*(parseInt(_0x8c1f4f(0x1f4))/0x2)+parseInt(_0x8c1f4f(0x1e8))/0x3*(-parseInt(_0x8c1f4f(0x1e7))/0x4)+-parseInt(_0x8c1f4f(0x1eb))/0x5+-parseInt(_0x8c1f4f(0x1ec))/0x6*(parseInt(_0x8c1f4f(0x1ea))/0x7)+-parseInt(_0x8c1f4f(0x1e2))/0x8*(-parseInt(_0x8c1f4f(0x1f2))/0x9)+parseInt(_0x8c1f4f(0x1ee))/0xa+parseInt(_0x8c1f4f(0x1e6))/0xb;if(_0x185d2a===_0x309f09)break;else _0x35f80e['push'](_0x35f80e['shift']());}catch(_0x2b9a56){_0x35f80e['push'](_0x35f80e['shift']());}}}(_0x114d,0x832db));import{FocusTracker as _0x2d27ca}from'ckeditor5/src/utils.js';function _0x4127(_0x833564,_0x5974bb){var _0x114d47=_0x114d();return _0x4127=function(_0x4127b3,_0x3c314d){_0x4127b3=_0x4127b3-0x1e1;var _0x269bcf=_0x114d47[_0x4127b3];return _0x269bcf;},_0x4127(_0x833564,_0x5974bb);}import{View as _0x23b28f,FocusCycler as _0x2d5e95}from'ckeditor5/src/ui.js';function _0x114d(){var _0x59bbbf=['226uLVXRp','focusTracker','24NjbRvA','bindTemplate','div','getFocusableElement','33931502fCDioj','704TVEZYq','14088APIJeK','createCollection','2930277tJpidw','5256105TPVhRP','6boFKAA','forwardCycle','1932130WzLbwe','fire','true','focusCycler','1622961WWGEBt','8719AYHdHM'];_0x114d=function(){return _0x59bbbf;};return _0x114d();}import'../../theme/uploadcare-form.css';export default class q extends _0x23b28f{[_0x17cd23(0x1e1)];[_0x17cd23(0x1f1)];constructor(_0x3ea4e1){var _0x3a611c=_0x17cd23;super(_0x3ea4e1),this[_0x3a611c(0x1e1)]=new _0x2d27ca(),this[_0x3a611c(0x1f1)]=new _0x2d5e95({'focusables':this[_0x3a611c(0x1e9)](),'focusTracker':this[_0x3a611c(0x1e1)]});}[_0x17cd23(0x1e5)](){var _0x39868f=_0x17cd23;return{'tag':_0x39868f(0x1e4),'attributes':{'aria-hidden':_0x39868f(0x1f0),'tabindex':'0'},'on':{'focus':this[_0x39868f(0x1e3)]['to'](()=>{var _0x194d00=_0x39868f;this[_0x194d00(0x1f1)][_0x194d00(0x1ef)](_0x194d00(0x1ed));})}};}}