@ckeditor/ckeditor5-uploadcare 47.4.0-alpha.4 → 47.4.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bd54b=_0x1298;(function(_0xe73190,_0x5c9525){const _0x58c492=_0x1298,_0x1b24af=_0xe73190();while(!![]){try{const _0x458754=parseInt(_0x58c492(0xf6))/0x1+parseInt(_0x58c492(0x133))/0x2*(-parseInt(_0x58c492(0x103))/0x3)+parseInt(_0x58c492(0x11c))/0x4+parseInt(_0x58c492(0x12e))/0x5+parseInt(_0x58c492(0xe2))/0x6+-parseInt(_0x58c492(0x127))/0x7*(parseInt(_0x58c492(0x118))/0x8)+-parseInt(_0x58c492(0x100))/0x9*(parseInt(_0x58c492(0x120))/0xa);if(_0x458754===_0x5c9525)break;else _0x1b24af['push'](_0x1b24af['shift']());}catch(_0x37ae2d){_0x1b24af['push'](_0x1b24af['shift']());}}}(_0x17b3,0x8d95f));function _0x1298(_0x287b35,_0x54936c){const _0x17b35c=_0x17b3();return _0x1298=function(_0x1298a0,_0x1ed9f1){_0x1298a0=_0x1298a0-0xe0;let _0x2c2796=_0x17b35c[_0x1298a0];return _0x2c2796;},_0x1298(_0x287b35,_0x54936c);}function _0x17b3(){const _0x33acd0=['appendChild','join','177vYiJii','remove','schema','model','contentLanguage','locale','uploadcareImageReplace','view','imageBlock','_configElement','pluginName','_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','upcast','_initImageProcessingIndicator','ucContextId','execute','attributeToAttribute','afterInit','imageInline','get','23248RubaBO','PictureEditing','true','destroy','741992ChidkA','iconHrefResolver','config','render','2290CFxkjF','uc-config','uploader-','isPremiumPlugin','removeAttribute','uploadcareImageId','uc-upload-ctx-provider','455WtTwXu','getSelectedElement','editing','data-uc-image-id','href','conversion','_initConfig','1968660QiIrST','once','closeMax','#uc-icon-arrow-down','add','10196MPkdbv','_initCtx','document','uploadcare','6415602soNbMT','commands','editor','downcast','input[uploadcare-file-input]','ctxElement','body','requires','insertImage','isRegistered','elementToAttribute','init','uploadcare.uploader','map','querySelector','selection','isOfficialPlugin','fromCharCode','_initConversion','replaceImageSource','59791KCcuCH','uploadcare.pubkey','extend','configElement','_ctxElement','cleanupImage','for','getAttribute','UploadcareEditing','listenTo','25101iYcZaM'];_0x17b3=function(){return _0x33acd0;};return _0x17b3();}import{Plugin as _0x478ef0}from'ckeditor5/src/core.js';import{Dialog as _0x3adbfb}from'ckeditor5/src/ui.js';import{createElement as _0x109b6e,global as _0x2c7bcc,uid as _0x3c17b7}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5bd243}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x514ae3}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xca0bf5}from'./utils/editingutils.js';export class UploadcareEditing extends _0x478ef0{[_0x1bd54b(0x10c)]=null;[_0x1bd54b(0xfa)]=null;static get[_0x1bd54b(0x10d)](){const _0x4eef58=_0x1bd54b;return _0x4eef58(0xfe);}static get[_0x1bd54b(0xe9)](){const _0x48bad1=_0x1bd54b;return[_0x48bad1(0x119),_0x514ae3,_0x3adbfb];}static get[_0x1bd54b(0xf2)](){return!0x0;}static get[_0x1bd54b(0x123)](){return!0x0;}[_0x1bd54b(0x112)];get[_0x1bd54b(0xf9)](){const _0x29b1ed=_0x1bd54b;return this[_0x29b1ed(0x10c)];}get[_0x1bd54b(0xe7)](){const _0x4583af=_0x1bd54b;return this[_0x4583af(0xfa)];}constructor(_0x344cd5){const _0x4cb2de=_0x1bd54b;super(_0x344cd5),this[_0x4cb2de(0x112)]=_0x3c17b7();}[_0x1bd54b(0xed)](){const _0x35ac7f=_0x1bd54b,_0x4d4f6e=this[_0x35ac7f(0xe4)];_0x4d4f6e[_0x35ac7f(0xe3)][_0x35ac7f(0x132)](_0x35ac7f(0xe1),new _0x5bd243(_0x4d4f6e));}[_0x1bd54b(0x115)](){const _0x3dad9d=_0x1bd54b;this[_0x3dad9d(0x10e)](),this[_0x3dad9d(0xf4)](),this[_0x3dad9d(0x12d)](),this[_0x3dad9d(0x134)](),this[_0x3dad9d(0x111)](),this[_0x3dad9d(0xff)](this[_0x3dad9d(0xe4)],_0x3dad9d(0x11b),()=>{const _0x6807c7=_0x3dad9d;this[_0x6807c7(0x10c)]&&(this[_0x6807c7(0x10c)][_0x6807c7(0x104)](),this[_0x6807c7(0x10c)]=null),this[_0x6807c7(0xfa)]&&(this[_0x6807c7(0xfa)][_0x6807c7(0x104)](),this[_0x6807c7(0xfa)]=null);const _0x44e6e7=_0x2c7bcc[_0x6807c7(0xe0)][_0x6807c7(0xf0)](_0x6807c7(0xe6));_0x44e6e7&&_0x44e6e7[_0x6807c7(0x104)]();}),async function(_0x38c747){const _0x5892f2=_0x14ee4a([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2c41e1=0x535f8c3a,_0x570c06=0x5358f2a2^_0x2c41e1,_0x1b6611=window[_0x14ee4a([0x44,0x61,0x74,0x65])][_0x14ee4a([0x6e,0x6f,0x77])](),_0x266394=_0x38c747[_0x14ee4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1792a3=new window[(_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc1e260=>{_0x266394[_0x14ee4a([0x6f,0x6e,0x63,0x65])](_0x14ee4a([0x72,0x65,0x61,0x64,0x79]),_0xc1e260);}),_0x4d158d={[_0x14ee4a([0x6b,0x74,0x79])]:_0x14ee4a([0x45,0x43]),[_0x14ee4a([0x75,0x73,0x65])]:_0x14ee4a([0x73,0x69,0x67]),[_0x14ee4a([0x63,0x72,0x76])]:_0x14ee4a([0x50,0x2d,0x32,0x35,0x36]),[_0x14ee4a([0x78])]:_0x14ee4a([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]),[_0x14ee4a([0x79])]:_0x14ee4a([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]),[_0x14ee4a([0x61,0x6c,0x67])]:_0x14ee4a([0x45,0x53,0x32,0x35,0x36])},_0x1f80a1=_0x266394[_0x14ee4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x14ee4a([0x67,0x65,0x74])](_0x14ee4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17f509(){let _0x1067e0,_0x4bd6de=null,_0x589b01=null;try{if(_0x1f80a1==_0x14ee4a([0x47,0x50,0x4c]))return _0x14ee4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1067e0=_0x422170(),!_0x1067e0)return _0x14ee4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1067e0[_0x14ee4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x589b01=_0x15fdc7(_0x1067e0[_0x14ee4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1067e0[_0x14ee4a([0x6a,0x74,0x69])])),await _0x504626()?_0x784f08()?_0x13b72c()?_0x14ee4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c9865()?(_0x1067e0[_0x14ee4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14ee4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4bd6de=_0x4ee378(_0x14ee4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b0ead()):_0x14ee4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x14ee4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x14ee4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x14ee4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13b72c(){const _0x37f897=[_0x14ee4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x14ee4a([0x74,0x72,0x69,0x61,0x6c])][_0x14ee4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1067e0[_0x14ee4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b6611/0x3e8:0xe10*_0x570c06;return _0x1067e0[_0x14ee4a([0x65,0x78,0x70])]<_0x37f897;}function _0x784f08(){const _0xbd3e6b=_0x1067e0[_0x14ee4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbd3e6b&&(!!_0xbd3e6b[_0x14ee4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14ee4a([0x2a]))||!!_0xbd3e6b[_0x14ee4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14ee4a([0x55,0x50,0x4c,0x43])));}function _0x1c9865(){const _0x408158=_0x1298,_0x116c71=_0x1067e0[_0x14ee4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x116c71||0x0==_0x116c71[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x585c4d}=new URL(window[_0x14ee4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x408158(0x12b)]);if(_0x116c71[_0x14ee4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x585c4d))return!0x0;const _0xeecb1e=_0x585c4d[_0x14ee4a([0x73,0x70,0x6c,0x69,0x74])](_0x14ee4a([0x2e]));return _0x116c71[_0x14ee4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b3ae8=>_0x4b3ae8[_0x14ee4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14ee4a([0x2a])))[_0x14ee4a([0x6d,0x61,0x70])](_0x4838f8=>_0x4838f8[_0x14ee4a([0x73,0x70,0x6c,0x69,0x74])](_0x14ee4a([0x2e])))[_0x14ee4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b9c44=>_0x4b9c44[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xeecb1e[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14ee4a([0x6d,0x61,0x70])](_0x55ae82=>Array(_0xeecb1e[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55ae82[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14ee4a([0x66,0x69,0x6c,0x6c])](_0x55ae82[0x0]===_0x14ee4a([0x2a])?_0x14ee4a([0x2a]):'')[_0x14ee4a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55ae82))[_0x14ee4a([0x73,0x6f,0x6d,0x65])](_0x301fb7=>_0xeecb1e[_0x14ee4a([0x65,0x76,0x65,0x72,0x79])]((_0xe73b29,_0x50cf5c)=>_0x301fb7[_0x50cf5c]===_0xe73b29||_0x301fb7[_0x50cf5c]===_0x14ee4a([0x2a])));}function _0x3b0ead(){return _0x4bd6de&&_0x589b01?new window[(_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48ff9e,_0x499eae)=>{_0x4bd6de[_0x14ee4a([0x74,0x68,0x65,0x6e])](_0x48ff9e,_0x499eae),_0x589b01[_0x14ee4a([0x74,0x68,0x65,0x6e])](_0x2ce6a8=>{_0x2ce6a8!=_0x14ee4a([0x56,0x61,0x6c,0x69,0x64])&&_0x48ff9e(_0x2ce6a8);},_0x499eae);}):_0x4bd6de||_0x589b01||_0x14ee4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15fdc7(_0x278e21,_0x4f59cf){return new window[(_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5be05c=>{if(_0x1fd17a())return _0x5be05c(_0x14ee4a([0x56,0x61,0x6c,0x69,0x64]));_0x9ef5d4(),_0x266394[_0x14ee4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x14ee4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x408aa4=!0x1;const _0x33f585=_0x3c17b7();function _0x16a878(_0x37cd26){return!!_0x37cd26&&(typeof _0x37cd26===_0x14ee4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37cd26===_0x14ee4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37cd26[_0x14ee4a([0x74,0x68,0x65,0x6e])]===_0x14ee4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37cd26[_0x14ee4a([0x63,0x61,0x74,0x63,0x68])]===_0x14ee4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44a376(_0x216a5a){_0x3bc5d6(_0x216a5a)[_0x14ee4a([0x74,0x68,0x65,0x6e])](_0x57da33=>{if(!_0x57da33||_0x57da33[_0x14ee4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x14ee4a([0x6f,0x6b]))return _0x14ee4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25a717(_0x2d9de7(_0x33f585+_0x4f59cf))!=_0x57da33[_0x14ee4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x14ee4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x14ee4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x14ee4a([0x74,0x68,0x65,0x6e])](_0x265a12=>(_0x3ab822(),_0x265a12),()=>{const _0xc14d2=_0x5f3959();return null==_0xc14d2?(_0x3ab822(),_0x14ee4a([0x56,0x61,0x6c,0x69,0x64])):_0x14ee4a(_0x1b6611-_0xc14d2>(0x7753083a^_0x2c41e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x14ee4a([0x74,0x68,0x65,0x6e])](_0x5be05c)[_0x14ee4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5be05c(_0x14ee4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40c38b=0x536962ba^_0x2c41e1;function _0x3ab822(){const _0x35a331=_0x14ee4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x25a717(_0x2d9de7(_0x278e21)),_0xd1febc=_0x1998e6(_0x25a717(window[_0x14ee4a([0x4d,0x61,0x74,0x68])][_0x14ee4a([0x63,0x65,0x69,0x6c])](_0x1b6611/_0x40c38b)));window[_0x14ee4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14ee4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35a331,_0xd1febc);}function _0x5f3959(){const _0x31cf06=_0x14ee4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x25a717(_0x2d9de7(_0x278e21)),_0x4db94b=window[_0x14ee4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14ee4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31cf06);return _0x4db94b?window[_0x14ee4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1998e6(_0x4db94b),0x10)*_0x40c38b:null;}function _0x3bc5d6(_0x27976f){return new window[(_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d8f2a,_0x3233ef)=>{_0x27976f[_0x14ee4a([0x74,0x68,0x65,0x6e])](_0x5d8f2a,_0x3233ef),window[_0x14ee4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3233ef,0x535e58fa^_0x2c41e1);});}}_0x266394[_0x14ee4a([0x6f,0x6e])](_0x14ee4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x219900,_0x55c0e9)=>{if(_0x55c0e9[0x0]!=_0x278e21)return _0x5be05c(_0x14ee4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55c0e9[0x1]={..._0x55c0e9[0x1],[_0x14ee4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33f585};},{[_0x14ee4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14ee4a([0x68,0x69,0x67,0x68])}),_0x266394[_0x14ee4a([0x6f,0x6e])](_0x14ee4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56ab09=>{_0x16a878(_0x56ab09[_0x14ee4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x408aa4=!0x0,_0x44a376(_0x56ab09[_0x14ee4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x14ee4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14ee4a([0x6c,0x6f,0x77])}),_0x1792a3[_0x14ee4a([0x74,0x68,0x65,0x6e])](()=>{_0x408aa4||_0x5be05c(_0x14ee4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fd17a(){return _0x266394[_0x14ee4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14ee4a([0x76,0x69,0x65,0x77])][_0x14ee4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x14ee4a([0x61,0x75,0x74,0x6f]);}function _0x9ef5d4(){_0x266394[_0x14ee4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14ee4a([0x76,0x69,0x65,0x77])][_0x14ee4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14ee4a([0x61,0x75,0x74,0x6f]);}}function _0x4ee378(_0x5e4111){const _0x56a01c=[new window[(_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ca751=>setTimeout(_0x1ca751,0x5356b2f6^_0x2c41e1)),_0x1792a3[_0x14ee4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f2c60=>{let _0x2ea5f5=0x0;_0x266394[_0x14ee4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x14ee4a([0x6f,0x6e])](_0x14ee4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x303bfd,_0x38d33e)=>{_0x38d33e[0x0][_0x14ee4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea5f5++,_0x2ea5f5==(0x535f89d2^_0x2c41e1)&&(_0x1f2c60(),_0x303bfd[_0x14ee4a([0x6f,0x66,0x66])]());});}))];return window[_0x14ee4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14ee4a([0x72,0x61,0x63,0x65])](_0x56a01c)[_0x14ee4a([0x74,0x68,0x65,0x6e])](()=>_0x5e4111);}async function _0x4c33d6(){await _0x1792a3,_0x266394[_0x14ee4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x14ee4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x247049,_0x266394[_0x14ee4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x14ee4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x247049,_0x266394[_0x14ee4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14ee4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xad6a16(_0xc282d5){const _0x59d6fc=_0x5341e9();_0x266394[_0x59d6fc]=_0x14ee4a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xc282d5,_0xc282d5!=_0x14ee4a([0x56,0x61,0x6c,0x69,0x64])&&_0x4c33d6();}function _0x5341e9(){const _0xe8459c=window[_0x14ee4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x14ee4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14ee4a([0x6e,0x6f,0x77])]())[_0x14ee4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14ee4a([0x2e]),'');let _0x502ddb=_0x14ee4a([0x68]);for(let _0x2e5fc3=0x0;_0x2e5fc3<_0xe8459c[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e5fc3+=0x2){let _0x432f2e=window[_0x14ee4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe8459c[_0x14ee4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e5fc3,_0x2e5fc3+0x2));_0x432f2e>=_0x5892f2[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x432f2e-=_0x5892f2[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x502ddb+=_0x5892f2[_0x432f2e];}return _0x502ddb;}function _0x422170(){const _0x464b4b=_0x1f80a1[_0x14ee4a([0x73,0x70,0x6c,0x69,0x74])](_0x14ee4a([0x2e]));if(0x3!=_0x464b4b[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42e51b(_0x464b4b[0x1]);function _0x42e51b(_0x409940){const _0x22e8ae=_0x1e48fc(_0x409940);return _0x22e8ae&&_0x1aed79()?_0x22e8ae:null;function _0x1aed79(){const _0x2c3a93=_0x22e8ae[_0x14ee4a([0x6a,0x74,0x69])],_0x3d25aa=window[_0x14ee4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c3a93[_0x14ee4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c3a93[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26714e={..._0x22e8ae,[_0x14ee4a([0x6a,0x74,0x69])]:_0x2c3a93[_0x14ee4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c3a93[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26714e[_0x14ee4a([0x76,0x63])],_0x2d9de7(_0x26714e)==_0x3d25aa;}}}async function _0x504626(){let _0x2c08c3=!0x0;try{const _0x22562e=_0x1f80a1[_0x14ee4a([0x73,0x70,0x6c,0x69,0x74])](_0x14ee4a([0x2e])),[_0x2378d9,_0x335c3e,_0x596857]=_0x22562e;return _0x2a4bf0(_0x2378d9),await _0x1e66ef(_0x2378d9,_0x335c3e,_0x596857),_0x2c08c3;}catch{return!0x1;}function _0x2a4bf0(_0x4ac2a9){const _0x12163d=_0x1e48fc(_0x4ac2a9);_0x12163d&&_0x12163d[_0x14ee4a([0x61,0x6c,0x67])]==_0x14ee4a([0x45,0x53,0x32,0x35,0x36])||(_0x2c08c3=!0x1);}async function _0x1e66ef(_0xbec541,_0x24e95d,_0x509fea){const _0x3c1c34=window[_0x14ee4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x14ee4a([0x66,0x72,0x6f,0x6d])](_0x33d9aa(_0x509fea),_0x19d0a7=>_0x19d0a7[_0x14ee4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x486bfe=new window[(_0x14ee4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x14ee4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbec541+_0x14ee4a([0x2e])+_0x24e95d),_0x3889f=window[_0x14ee4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x14ee4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3889f)return;const _0x5ce501=await _0x3889f[_0x14ee4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x14ee4a([0x6a,0x77,0x6b]),_0x4d158d,{[_0x14ee4a([0x6e,0x61,0x6d,0x65])]:_0x14ee4a([0x45,0x43,0x44,0x53,0x41]),[_0x14ee4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x14ee4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x14ee4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3889f[_0x14ee4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x14ee4a([0x6e,0x61,0x6d,0x65])]:_0x14ee4a([0x45,0x43,0x44,0x53,0x41]),[_0x14ee4a([0x68,0x61,0x73,0x68])]:{[_0x14ee4a([0x6e,0x61,0x6d,0x65])]:_0x14ee4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ce501,_0x3c1c34,_0x486bfe)||(_0x2c08c3=!0x1);}}function _0x1e48fc(_0x311ecd){return _0x311ecd[_0x14ee4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x14ee4a([0x65,0x79]))?JSON[_0x14ee4a([0x70,0x61,0x72,0x73,0x65])](_0x33d9aa(_0x311ecd)):null;}function _0x33d9aa(_0x4995b0){return window[_0x14ee4a([0x61,0x74,0x6f,0x62])](_0x4995b0[_0x14ee4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x14ee4a([0x2b]))[_0x14ee4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x14ee4a([0x2f])));}function _0x2d9de7(_0x370e97){let _0x560ac2=0x1505;function _0x43a48c(_0x33f289){for(let _0x2e6aab=0x0;_0x2e6aab<_0x33f289[_0x14ee4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6aab++){const _0x38d8a2=_0x33f289[_0x14ee4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e6aab);_0x560ac2=(_0x560ac2<<0x5)+_0x560ac2+_0x38d8a2,_0x560ac2&=_0x560ac2;}}function _0x3b30c5(_0x424565){Array[_0x14ee4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x424565)?_0x424565[_0x14ee4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b30c5):_0x424565&&typeof _0x424565==_0x14ee4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x14ee4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x424565)[_0x14ee4a([0x73,0x6f,0x72,0x74])]()[_0x14ee4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26df7c,_0x3a303e])=>{_0x43a48c(_0x26df7c),_0x3b30c5(_0x3a303e);}):_0x43a48c(window[_0x14ee4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x424565));}return _0x3b30c5(_0x370e97),_0x560ac2>>>0x0;}function _0x25a717(_0x197657){return _0x197657[_0x14ee4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x14ee4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x14ee4a([0x30]));}function _0x1998e6(_0x1c4730){return _0x1c4730[_0x14ee4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x14ee4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x14ee4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x247049(){}function _0x14ee4a(_0x521214){const _0x386269=_0x1298;return _0x521214[_0x386269(0xef)](_0x56c648=>String[_0x386269(0xf3)](_0x56c648))[_0x386269(0x102)]('');}_0xad6a16(await _0x17f509());}(this);}[_0x1bd54b(0x10e)](){const _0x2a4a22=_0x1bd54b,_0x2c9f12=this[_0x2a4a22(0xe4)][_0x2a4a22(0x106)][_0x2a4a22(0x105)];_0x2c9f12[_0x2a4a22(0xeb)](_0x2a4a22(0x10b))&&_0x2c9f12[_0x2a4a22(0xf8)](_0x2a4a22(0x10b),{'allowAttributes':[_0x2a4a22(0x125)]}),_0x2c9f12[_0x2a4a22(0xeb)](_0x2a4a22(0x116))&&_0x2c9f12[_0x2a4a22(0xf8)](_0x2a4a22(0x116),{'allowAttributes':[_0x2a4a22(0x125)]});}[_0x1bd54b(0xf4)](){const _0x23dbe3=_0x1bd54b,_0x290421=this[_0x23dbe3(0xe4)];_0x290421[_0x23dbe3(0x12c)][_0x23dbe3(0xfc)](_0x23dbe3(0xe5))[_0x23dbe3(0x114)]({'model':_0x23dbe3(0x125),'view':_0x23dbe3(0x12a)}),_0x290421[_0x23dbe3(0x12c)][_0x23dbe3(0xfc)](_0x23dbe3(0x110))[_0x23dbe3(0xec)]({'model':{'key':_0x23dbe3(0x125),'value':_0x285886=>_0x285886[_0x23dbe3(0xfd)](_0x23dbe3(0x12a))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5ddad7=_0x290421[_0x23dbe3(0xe3)][_0x23dbe3(0x117)](_0x23dbe3(0xf5));_0x5ddad7&&this[_0x23dbe3(0xff)](_0x5ddad7,_0x23dbe3(0xfb),(_0x159da9,[_0x33e435,_0x2ab15b])=>{const _0x43086e=_0x23dbe3;_0x33e435[_0x43086e(0x124)](_0x43086e(0x125),_0x2ab15b);});}[_0x1bd54b(0x12d)](){const _0x1b1904=_0x1bd54b,_0x34b4d3=this[_0x1b1904(0xe4)][_0x1b1904(0x11e)][_0x1b1904(0x117)](_0x1b1904(0xee))||{},_0xfde3bf=this[_0x1b1904(0xe4)][_0x1b1904(0x11e)][_0x1b1904(0x117)](_0x1b1904(0xf7))||'';this[_0x1b1904(0x10c)]=_0x109b6e(_0x2c7bcc[_0x1b1904(0xe0)],_0x1b1904(0x121),{..._0x34b4d3,'pubkey':_0xfde3bf,'ctx-name':_0x1b1904(0x122)+this[_0x1b1904(0x112)],'sourceList':'','imgOnly':_0x1b1904(0x11a),'removeCopyright':_0x1b1904(0x11a),'localeName':this[_0x1b1904(0xe4)][_0x1b1904(0x108)][_0x1b1904(0x107)],'externalSourcesEmbedCss':_0x1b1904(0x10f)}),this[_0x1b1904(0x10c)][_0x1b1904(0x11d)]=_0x2d67ff=>{const _0x583314=_0x1b1904;if(_0x583314(0x130)==_0x2d67ff)return _0x583314(0x131);},_0x2c7bcc[_0x1b1904(0xe0)][_0x1b1904(0xe8)][_0x1b1904(0x101)](this[_0x1b1904(0x10c)]);}[_0x1bd54b(0x134)](){const _0x4b5bd8=_0x1bd54b;this[_0x4b5bd8(0xfa)]=_0x109b6e(_0x2c7bcc[_0x4b5bd8(0xe0)],_0x4b5bd8(0x126),{'ctx-name':_0x4b5bd8(0x122)+this[_0x4b5bd8(0x112)]}),_0x2c7bcc[_0x4b5bd8(0xe0)][_0x4b5bd8(0xe8)][_0x4b5bd8(0x101)](this[_0x4b5bd8(0xfa)]);}[_0x1bd54b(0x111)](){const _0x575bd8=_0x1bd54b,_0x5f0ad6=this[_0x575bd8(0xe4)][_0x575bd8(0xe3)][_0x575bd8(0x117)](_0x575bd8(0xea));_0x5f0ad6&&this[_0x575bd8(0xff)](_0x5f0ad6,_0x575bd8(0x113),()=>{const _0x183f02=_0x575bd8,_0x2ebcce=this[_0x183f02(0xe4)][_0x183f02(0x106)][_0x183f02(0xe0)][_0x183f02(0xf1)][_0x183f02(0x128)]();_0x2ebcce&&_0x2ebcce[_0x183f02(0xfd)](_0x183f02(0x125))&&this[_0x183f02(0xe4)][_0x183f02(0x129)][_0x183f02(0x10a)][_0x183f02(0x12f)](_0x183f02(0x11f),()=>{const _0xa45e7c=_0x183f02;_0xca0bf5(this[_0xa45e7c(0xe4)],_0x2ebcce);});});const _0x4fe282=this[_0x575bd8(0xe4)][_0x575bd8(0xe3)][_0x575bd8(0x117)](_0x575bd8(0x109));_0x4fe282&&this[_0x575bd8(0xff)](_0x4fe282,_0x575bd8(0x113),()=>{const _0x8a302d=_0x575bd8,_0x4aec69=this[_0x8a302d(0xe4)][_0x8a302d(0x106)][_0x8a302d(0xe0)][_0x8a302d(0xf1)][_0x8a302d(0x128)]();_0x4aec69&&_0x4aec69[_0x8a302d(0xfd)](_0x8a302d(0x125))&&this[_0x8a302d(0xe4)][_0x8a302d(0x129)][_0x8a302d(0x10a)][_0x8a302d(0x12f)](_0x8a302d(0x11f),()=>{const _0x9cb252=_0x8a302d;_0xca0bf5(this[_0x9cb252(0xe4)],_0x4aec69);});});}}
23
+ const _0x238ca3=_0x31bf;function _0x31bf(_0x2f91c0,_0x273844){const _0x7b5c1d=_0x7b5c();return _0x31bf=function(_0x31bf03,_0x34cd83){_0x31bf03=_0x31bf03-0x78;let _0x252105=_0x7b5c1d[_0x31bf03];return _0x252105;},_0x31bf(_0x2f91c0,_0x273844);}function _0x7b5c(){const _0x5c1abe=['_initSchema','schema','for','editing','remove','insertImage','1576ykPTgD','upcast','closeMax','isRegistered','ctxElement','render','href','add','uploadcare','1070pwDqJl','uploadcare.pubkey','345055dtOZiw','cleanupImage','execute','uploader-','4396HFKmdI','conversion','downcast','input[uploadcare-file-input]','locale','config','isOfficialPlugin','commands','_initConversion','_initCtx','extend','#uc-icon-arrow-down','afterInit','ucContextId','254986jMierN','12oEoieT','data-uc-image-id','266464nSNpAG','replaceImageSource','\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','querySelector','getSelectedElement','uploadcareImageReplace','_ctxElement','5273741ffRaFR','15381tDjhut','elementToAttribute','_configElement','document','model','uc-upload-ctx-provider','listenTo','editor','true','appendChild','view','once','requires','attributeToAttribute','41314aSBjgS','body','getAttribute','pluginName','destroy','uploadcare.uploader','uc-config','uploadcareImageId','12pKiBOX','imageInline','selection','PictureEditing','removeAttribute','_initConfig','UploadcareEditing','imageBlock','map','fromCharCode','contentLanguage','isPremiumPlugin','iconHrefResolver','get','init','join','_initImageProcessingIndicator','configElement'];_0x7b5c=function(){return _0x5c1abe;};return _0x7b5c();}(function(_0x323a41,_0x4b65c9){const _0x40a622=_0x31bf,_0x2c509c=_0x323a41();while(!![]){try{const _0xd3dd25=parseInt(_0x40a622(0x8c))/0x1+parseInt(_0x40a622(0xa5))/0x2*(-parseInt(_0x40a622(0xad))/0x3)+-parseInt(_0x40a622(0x8f))/0x4+parseInt(_0x40a622(0x7a))/0x5*(-parseInt(_0x40a622(0x8d))/0x6)+parseInt(_0x40a622(0x7e))/0x7*(-parseInt(_0x40a622(0xc5))/0x8)+parseInt(_0x40a622(0x97))/0x9*(-parseInt(_0x40a622(0x78))/0xa)+parseInt(_0x40a622(0x96))/0xb;if(_0xd3dd25===_0x4b65c9)break;else _0x2c509c['push'](_0x2c509c['shift']());}catch(_0x5613a9){_0x2c509c['push'](_0x2c509c['shift']());}}}(_0x7b5c,0x2251c));import{Plugin as _0x2e5783}from'ckeditor5/src/core.js';import{Dialog as _0xa2e16}from'ckeditor5/src/ui.js';import{createElement as _0x4932b9,global as _0x3c790e,uid as _0x340a07}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x143ec2}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x541da6}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x40f5ef}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2e5783{[_0x238ca3(0x99)]=null;[_0x238ca3(0x95)]=null;static get[_0x238ca3(0xa8)](){const _0x1bf6eb=_0x238ca3;return _0x1bf6eb(0xb3);}static get[_0x238ca3(0xa3)](){const _0x2c3771=_0x238ca3;return[_0x2c3771(0xb0),_0x541da6,_0xa2e16];}static get[_0x238ca3(0x84)](){return!0x0;}static get[_0x238ca3(0xb8)](){return!0x0;}[_0x238ca3(0x8b)];get[_0x238ca3(0xbe)](){const _0x46ad82=_0x238ca3;return this[_0x46ad82(0x99)];}get[_0x238ca3(0xc9)](){const _0x44fb7b=_0x238ca3;return this[_0x44fb7b(0x95)];}constructor(_0x2161a4){const _0x5b05a1=_0x238ca3;super(_0x2161a4),this[_0x5b05a1(0x8b)]=_0x340a07();}[_0x238ca3(0xbb)](){const _0x4da570=_0x238ca3,_0x83749c=this[_0x4da570(0x9e)];_0x83749c[_0x4da570(0x85)][_0x4da570(0xcc)](_0x4da570(0xcd),new _0x143ec2(_0x83749c));}[_0x238ca3(0x8a)](){const _0x12a5e2=_0x238ca3;this[_0x12a5e2(0xbf)](),this[_0x12a5e2(0x86)](),this[_0x12a5e2(0xb2)](),this[_0x12a5e2(0x87)](),this[_0x12a5e2(0xbd)](),this[_0x12a5e2(0x9d)](this[_0x12a5e2(0x9e)],_0x12a5e2(0xa9),()=>{const _0x1c9ad3=_0x12a5e2;this[_0x1c9ad3(0x99)]&&(this[_0x1c9ad3(0x99)][_0x1c9ad3(0xc3)](),this[_0x1c9ad3(0x99)]=null),this[_0x1c9ad3(0x95)]&&(this[_0x1c9ad3(0x95)][_0x1c9ad3(0xc3)](),this[_0x1c9ad3(0x95)]=null);const _0x226b4c=_0x3c790e[_0x1c9ad3(0x9a)][_0x1c9ad3(0x92)](_0x1c9ad3(0x81));_0x226b4c&&_0x226b4c[_0x1c9ad3(0xc3)]();}),async function(_0x227e71){const _0x3a7351=_0x301cde([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2fa31f=0x535f8c3a,_0x5e3236=0x5358f2f2^_0x2fa31f,_0x3bbaa7=window[_0x301cde([0x44,0x61,0x74,0x65])][_0x301cde([0x6e,0x6f,0x77])](),_0x3defdf=_0x227e71[_0x301cde([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35641e=new window[(_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed6f1=>{_0x3defdf[_0x301cde([0x6f,0x6e,0x63,0x65])](_0x301cde([0x72,0x65,0x61,0x64,0x79]),_0x1ed6f1);}),_0x13ceb1={[_0x301cde([0x6b,0x74,0x79])]:_0x301cde([0x45,0x43]),[_0x301cde([0x75,0x73,0x65])]:_0x301cde([0x73,0x69,0x67]),[_0x301cde([0x63,0x72,0x76])]:_0x301cde([0x50,0x2d,0x32,0x35,0x36]),[_0x301cde([0x78])]:_0x301cde([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]),[_0x301cde([0x79])]:_0x301cde([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]),[_0x301cde([0x61,0x6c,0x67])]:_0x301cde([0x45,0x53,0x32,0x35,0x36])},_0x223814=_0x3defdf[_0x301cde([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x301cde([0x67,0x65,0x74])](_0x301cde([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x169a83(){let _0x5ebf22,_0xc61e17=null,_0x40f54d=null;try{if(_0x223814==_0x301cde([0x47,0x50,0x4c]))return _0x301cde([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ebf22=_0x3f3a4f(),!_0x5ebf22)return _0x301cde([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ebf22[_0x301cde([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x40f54d=_0x57f0ff(_0x5ebf22[_0x301cde([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ebf22[_0x301cde([0x6a,0x74,0x69])])),await _0x5cec5e()?_0x89d085()?_0x59f950()?_0x301cde([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x364bd7()?(_0x5ebf22[_0x301cde([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x301cde([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xc61e17=_0x86062e(_0x301cde([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20fde4()):_0x301cde([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x301cde([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x301cde([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x301cde([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59f950(){const _0x1408fd=[_0x301cde([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x301cde([0x74,0x72,0x69,0x61,0x6c])][_0x301cde([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ebf22[_0x301cde([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3bbaa7/0x3e8:0xe10*_0x5e3236;return _0x5ebf22[_0x301cde([0x65,0x78,0x70])]<_0x1408fd;}function _0x89d085(){const _0x2613ea=_0x5ebf22[_0x301cde([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2613ea&&(!!_0x2613ea[_0x301cde([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301cde([0x2a]))||!!_0x2613ea[_0x301cde([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301cde([0x55,0x50,0x4c,0x43])));}function _0x364bd7(){const _0x4089e1=_0x31bf,_0x97047d=_0x5ebf22[_0x301cde([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x97047d||0x0==_0x97047d[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23146d}=new URL(window[_0x301cde([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4089e1(0xcb)]);if(_0x97047d[_0x301cde([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23146d))return!0x0;const _0x1578d6=_0x23146d[_0x301cde([0x73,0x70,0x6c,0x69,0x74])](_0x301cde([0x2e]));return _0x97047d[_0x301cde([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c11df=>_0x5c11df[_0x301cde([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301cde([0x2a])))[_0x301cde([0x6d,0x61,0x70])](_0x3efb84=>_0x3efb84[_0x301cde([0x73,0x70,0x6c,0x69,0x74])](_0x301cde([0x2e])))[_0x301cde([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58da8a=>_0x58da8a[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1578d6[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x301cde([0x6d,0x61,0x70])](_0x3f52c4=>Array(_0x1578d6[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f52c4[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x301cde([0x66,0x69,0x6c,0x6c])](_0x3f52c4[0x0]===_0x301cde([0x2a])?_0x301cde([0x2a]):'')[_0x301cde([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f52c4))[_0x301cde([0x73,0x6f,0x6d,0x65])](_0x4c278a=>_0x1578d6[_0x301cde([0x65,0x76,0x65,0x72,0x79])]((_0x2abde3,_0x3f55d1)=>_0x4c278a[_0x3f55d1]===_0x2abde3||_0x4c278a[_0x3f55d1]===_0x301cde([0x2a])));}function _0x20fde4(){return _0xc61e17&&_0x40f54d?new window[(_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21ca36,_0x301a39)=>{_0xc61e17[_0x301cde([0x74,0x68,0x65,0x6e])](_0x21ca36,_0x301a39),_0x40f54d[_0x301cde([0x74,0x68,0x65,0x6e])](_0x5db6ad=>{_0x5db6ad!=_0x301cde([0x56,0x61,0x6c,0x69,0x64])&&_0x21ca36(_0x5db6ad);},_0x301a39);}):_0xc61e17||_0x40f54d||_0x301cde([0x56,0x61,0x6c,0x69,0x64]);}}function _0x57f0ff(_0x428951,_0x1e7d37){return new window[(_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40d023=>{if(_0x150bf9())return _0x40d023(_0x301cde([0x56,0x61,0x6c,0x69,0x64]));_0x1ea250(),_0x3defdf[_0x301cde([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x301cde([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43b795=!0x1;const _0x45cfea=_0x340a07();function _0x403cb0(_0xf86312){return!!_0xf86312&&(typeof _0xf86312===_0x301cde([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf86312===_0x301cde([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf86312[_0x301cde([0x74,0x68,0x65,0x6e])]===_0x301cde([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf86312[_0x301cde([0x63,0x61,0x74,0x63,0x68])]===_0x301cde([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b989f(_0x568b6b){_0xb29329(_0x568b6b)[_0x301cde([0x74,0x68,0x65,0x6e])](_0x294dc9=>{if(!_0x294dc9||_0x294dc9[_0x301cde([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x301cde([0x6f,0x6b]))return _0x301cde([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7e5d0f(_0x219704(_0x45cfea+_0x1e7d37))!=_0x294dc9[_0x301cde([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x301cde([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x301cde([0x56,0x61,0x6c,0x69,0x64]);})[_0x301cde([0x74,0x68,0x65,0x6e])](_0x42621e=>(_0x2b4c98(),_0x42621e),()=>{const _0x5350ff=_0x939ef3();return null==_0x5350ff?(_0x2b4c98(),_0x301cde([0x56,0x61,0x6c,0x69,0x64])):_0x301cde(_0x3bbaa7-_0x5350ff>(0x7753083a^_0x2fa31f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x301cde([0x74,0x68,0x65,0x6e])](_0x40d023)[_0x301cde([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40d023(_0x301cde([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41cc6d=0x536962ba^_0x2fa31f;function _0x2b4c98(){const _0x3fa2e9=_0x301cde([0x6c,0x6c,0x63,0x74,0x2d])+_0x7e5d0f(_0x219704(_0x428951)),_0x2635b2=_0x29d5d3(_0x7e5d0f(window[_0x301cde([0x4d,0x61,0x74,0x68])][_0x301cde([0x63,0x65,0x69,0x6c])](_0x3bbaa7/_0x41cc6d)));window[_0x301cde([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x301cde([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fa2e9,_0x2635b2);}function _0x939ef3(){const _0x3e69bf=_0x301cde([0x6c,0x6c,0x63,0x74,0x2d])+_0x7e5d0f(_0x219704(_0x428951)),_0x229562=window[_0x301cde([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x301cde([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e69bf);return _0x229562?window[_0x301cde([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29d5d3(_0x229562),0x10)*_0x41cc6d:null;}function _0xb29329(_0x2b647d){return new window[(_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2257d3,_0x3d2a1c)=>{_0x2b647d[_0x301cde([0x74,0x68,0x65,0x6e])](_0x2257d3,_0x3d2a1c),window[_0x301cde([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d2a1c,0x535e58fa^_0x2fa31f);});}}_0x3defdf[_0x301cde([0x6f,0x6e])](_0x301cde([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57a959,_0x1c0e5b)=>{if(_0x1c0e5b[0x0]!=_0x428951)return _0x40d023(_0x301cde([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c0e5b[0x1]={..._0x1c0e5b[0x1],[_0x301cde([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45cfea};},{[_0x301cde([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x301cde([0x68,0x69,0x67,0x68])}),_0x3defdf[_0x301cde([0x6f,0x6e])](_0x301cde([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a9e5f=>{_0x403cb0(_0x3a9e5f[_0x301cde([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43b795=!0x0,_0x2b989f(_0x3a9e5f[_0x301cde([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x301cde([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x301cde([0x6c,0x6f,0x77])}),_0x35641e[_0x301cde([0x74,0x68,0x65,0x6e])](()=>{_0x43b795||_0x40d023(_0x301cde([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x150bf9(){return _0x3defdf[_0x301cde([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x301cde([0x76,0x69,0x65,0x77])][_0x301cde([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x301cde([0x61,0x75,0x74,0x6f]);}function _0x1ea250(){_0x3defdf[_0x301cde([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x301cde([0x76,0x69,0x65,0x77])][_0x301cde([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x301cde([0x61,0x75,0x74,0x6f]);}}function _0x86062e(_0xd83dd9){const _0x5bf966=[new window[(_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ea3d9=>setTimeout(_0x4ea3d9,0x5356b2f6^_0x2fa31f)),_0x35641e[_0x301cde([0x74,0x68,0x65,0x6e])](()=>new window[(_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388991=>{let _0x554df4=0x0;_0x3defdf[_0x301cde([0x6d,0x6f,0x64,0x65,0x6c])][_0x301cde([0x6f,0x6e])](_0x301cde([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x37e417,_0xea8881)=>{_0xea8881[0x0][_0x301cde([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x554df4++,_0x554df4==(0x535f89d2^_0x2fa31f)&&(_0x388991(),_0x37e417[_0x301cde([0x6f,0x66,0x66])]());});}))];return window[_0x301cde([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x301cde([0x72,0x61,0x63,0x65])](_0x5bf966)[_0x301cde([0x74,0x68,0x65,0x6e])](()=>_0xd83dd9);}async function _0x2bc705(){await _0x35641e,_0x3defdf[_0x301cde([0x6d,0x6f,0x64,0x65,0x6c])][_0x301cde([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13b1fa,_0x3defdf[_0x301cde([0x6d,0x6f,0x64,0x65,0x6c])][_0x301cde([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13b1fa,_0x3defdf[_0x301cde([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x301cde([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28777c(_0x3780aa){const _0x222d5f=_0x481065();_0x3defdf[_0x222d5f]=_0x301cde([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3780aa,_0x3780aa!=_0x301cde([0x56,0x61,0x6c,0x69,0x64])&&_0x2bc705();}function _0x481065(){const _0x39f28a=window[_0x301cde([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x301cde([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x301cde([0x6e,0x6f,0x77])]())[_0x301cde([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x301cde([0x2e]),'');let _0xe34296=_0x301cde([0x68]);for(let _0x40007b=0x0;_0x40007b<_0x39f28a[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40007b+=0x2){let _0x55b855=window[_0x301cde([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39f28a[_0x301cde([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40007b,_0x40007b+0x2));_0x55b855>=_0x3a7351[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55b855-=_0x3a7351[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe34296+=_0x3a7351[_0x55b855];}return _0xe34296;}function _0x3f3a4f(){const _0x4384a4=_0x223814[_0x301cde([0x73,0x70,0x6c,0x69,0x74])](_0x301cde([0x2e]));if(0x3!=_0x4384a4[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20cc47(_0x4384a4[0x1]);function _0x20cc47(_0x567326){const _0x14a2c2=_0x5a9e0d(_0x567326);return _0x14a2c2&&_0x2a2cb3()?_0x14a2c2:null;function _0x2a2cb3(){const _0x31ab4e=_0x14a2c2[_0x301cde([0x6a,0x74,0x69])],_0x2fee1c=window[_0x301cde([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ab4e[_0x301cde([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31ab4e[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3370ef={..._0x14a2c2,[_0x301cde([0x6a,0x74,0x69])]:_0x31ab4e[_0x301cde([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31ab4e[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3370ef[_0x301cde([0x76,0x63])],_0x219704(_0x3370ef)==_0x2fee1c;}}}async function _0x5cec5e(){let _0x566772=!0x0;try{const _0x4599c2=_0x223814[_0x301cde([0x73,0x70,0x6c,0x69,0x74])](_0x301cde([0x2e])),[_0x285f63,_0x45ecdd,_0x4403a5]=_0x4599c2;return _0x19ea8e(_0x285f63),await _0x118fec(_0x285f63,_0x45ecdd,_0x4403a5),_0x566772;}catch{return!0x1;}function _0x19ea8e(_0x1fd6fe){const _0x487bfe=_0x5a9e0d(_0x1fd6fe);_0x487bfe&&_0x487bfe[_0x301cde([0x61,0x6c,0x67])]==_0x301cde([0x45,0x53,0x32,0x35,0x36])||(_0x566772=!0x1);}async function _0x118fec(_0x40a353,_0x2ae2bd,_0x563048){const _0x494071=window[_0x301cde([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x301cde([0x66,0x72,0x6f,0x6d])](_0x533b96(_0x563048),_0x381489=>_0x381489[_0x301cde([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x286093=new window[(_0x301cde([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x301cde([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40a353+_0x301cde([0x2e])+_0x2ae2bd),_0x193c09=window[_0x301cde([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x301cde([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x193c09)return;const _0x2eef52=await _0x193c09[_0x301cde([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x301cde([0x6a,0x77,0x6b]),_0x13ceb1,{[_0x301cde([0x6e,0x61,0x6d,0x65])]:_0x301cde([0x45,0x43,0x44,0x53,0x41]),[_0x301cde([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x301cde([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x301cde([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x193c09[_0x301cde([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x301cde([0x6e,0x61,0x6d,0x65])]:_0x301cde([0x45,0x43,0x44,0x53,0x41]),[_0x301cde([0x68,0x61,0x73,0x68])]:{[_0x301cde([0x6e,0x61,0x6d,0x65])]:_0x301cde([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2eef52,_0x494071,_0x286093)||(_0x566772=!0x1);}}function _0x5a9e0d(_0x21559a){return _0x21559a[_0x301cde([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x301cde([0x65,0x79]))?JSON[_0x301cde([0x70,0x61,0x72,0x73,0x65])](_0x533b96(_0x21559a)):null;}function _0x533b96(_0x42e2b8){return window[_0x301cde([0x61,0x74,0x6f,0x62])](_0x42e2b8[_0x301cde([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x301cde([0x2b]))[_0x301cde([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x301cde([0x2f])));}function _0x219704(_0x4ee815){let _0x1dfd52=0x1505;function _0x5d2f04(_0x19657b){for(let _0x157828=0x0;_0x157828<_0x19657b[_0x301cde([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x157828++){const _0x1861b3=_0x19657b[_0x301cde([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x157828);_0x1dfd52=(_0x1dfd52<<0x5)+_0x1dfd52+_0x1861b3,_0x1dfd52&=_0x1dfd52;}}function _0x1494c8(_0x285c12){Array[_0x301cde([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x285c12)?_0x285c12[_0x301cde([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1494c8):_0x285c12&&typeof _0x285c12==_0x301cde([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x301cde([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x285c12)[_0x301cde([0x73,0x6f,0x72,0x74])]()[_0x301cde([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4475ef,_0x3d2743])=>{_0x5d2f04(_0x4475ef),_0x1494c8(_0x3d2743);}):_0x5d2f04(window[_0x301cde([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x285c12));}return _0x1494c8(_0x4ee815),_0x1dfd52>>>0x0;}function _0x7e5d0f(_0x5ae11a){return _0x5ae11a[_0x301cde([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x301cde([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x301cde([0x30]));}function _0x29d5d3(_0x2f2e2f){return _0x2f2e2f[_0x301cde([0x73,0x70,0x6c,0x69,0x74])]('')[_0x301cde([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x301cde([0x6a,0x6f,0x69,0x6e])]('');}function _0x13b1fa(){}function _0x301cde(_0x6ca709){const _0xa258f1=_0x31bf;return _0x6ca709[_0xa258f1(0xb5)](_0x31da25=>String[_0xa258f1(0xb6)](_0x31da25))[_0xa258f1(0xbc)]('');}_0x28777c(await _0x169a83());}(this);}[_0x238ca3(0xbf)](){const _0x1f9bf2=_0x238ca3,_0x48c678=this[_0x1f9bf2(0x9e)][_0x1f9bf2(0x9b)][_0x1f9bf2(0xc0)];_0x48c678[_0x1f9bf2(0xc8)](_0x1f9bf2(0xb4))&&_0x48c678[_0x1f9bf2(0x88)](_0x1f9bf2(0xb4),{'allowAttributes':[_0x1f9bf2(0xac)]}),_0x48c678[_0x1f9bf2(0xc8)](_0x1f9bf2(0xae))&&_0x48c678[_0x1f9bf2(0x88)](_0x1f9bf2(0xae),{'allowAttributes':[_0x1f9bf2(0xac)]});}[_0x238ca3(0x86)](){const _0x30bf82=_0x238ca3,_0x18c967=this[_0x30bf82(0x9e)];_0x18c967[_0x30bf82(0x7f)][_0x30bf82(0xc1)](_0x30bf82(0x80))[_0x30bf82(0xa4)]({'model':_0x30bf82(0xac),'view':_0x30bf82(0x8e)}),_0x18c967[_0x30bf82(0x7f)][_0x30bf82(0xc1)](_0x30bf82(0xc6))[_0x30bf82(0x98)]({'model':{'key':_0x30bf82(0xac),'value':_0xe8228b=>_0xe8228b[_0x30bf82(0xa7)](_0x30bf82(0x8e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c17c7=_0x18c967[_0x30bf82(0x85)][_0x30bf82(0xba)](_0x30bf82(0x90));_0x4c17c7&&this[_0x30bf82(0x9d)](_0x4c17c7,_0x30bf82(0x7b),(_0x362f0b,[_0x392e73,_0x4aa2fb])=>{const _0x15ac11=_0x30bf82;_0x392e73[_0x15ac11(0xb1)](_0x15ac11(0xac),_0x4aa2fb);});}[_0x238ca3(0xb2)](){const _0x55b5f2=_0x238ca3,_0x1f5343=this[_0x55b5f2(0x9e)][_0x55b5f2(0x83)][_0x55b5f2(0xba)](_0x55b5f2(0xaa))||{},_0x137758=this[_0x55b5f2(0x9e)][_0x55b5f2(0x83)][_0x55b5f2(0xba)](_0x55b5f2(0x79))||'';this[_0x55b5f2(0x99)]=_0x4932b9(_0x3c790e[_0x55b5f2(0x9a)],_0x55b5f2(0xab),{..._0x1f5343,'pubkey':_0x137758,'ctx-name':_0x55b5f2(0x7d)+this[_0x55b5f2(0x8b)],'sourceList':'','imgOnly':_0x55b5f2(0x9f),'removeCopyright':_0x55b5f2(0x9f),'localeName':this[_0x55b5f2(0x9e)][_0x55b5f2(0x82)][_0x55b5f2(0xb7)],'externalSourcesEmbedCss':_0x55b5f2(0x91)}),this[_0x55b5f2(0x99)][_0x55b5f2(0xb9)]=_0x518f8a=>{const _0x33cb1c=_0x55b5f2;if(_0x33cb1c(0xc7)==_0x518f8a)return _0x33cb1c(0x89);},_0x3c790e[_0x55b5f2(0x9a)][_0x55b5f2(0xa6)][_0x55b5f2(0xa0)](this[_0x55b5f2(0x99)]);}[_0x238ca3(0x87)](){const _0x3613bb=_0x238ca3;this[_0x3613bb(0x95)]=_0x4932b9(_0x3c790e[_0x3613bb(0x9a)],_0x3613bb(0x9c),{'ctx-name':_0x3613bb(0x7d)+this[_0x3613bb(0x8b)]}),_0x3c790e[_0x3613bb(0x9a)][_0x3613bb(0xa6)][_0x3613bb(0xa0)](this[_0x3613bb(0x95)]);}[_0x238ca3(0xbd)](){const _0x4c50df=_0x238ca3,_0x1fc6b6=this[_0x4c50df(0x9e)][_0x4c50df(0x85)][_0x4c50df(0xba)](_0x4c50df(0xc4));_0x1fc6b6&&this[_0x4c50df(0x9d)](_0x1fc6b6,_0x4c50df(0x7c),()=>{const _0x5cab6f=_0x4c50df,_0x5516cd=this[_0x5cab6f(0x9e)][_0x5cab6f(0x9b)][_0x5cab6f(0x9a)][_0x5cab6f(0xaf)][_0x5cab6f(0x93)]();_0x5516cd&&_0x5516cd[_0x5cab6f(0xa7)](_0x5cab6f(0xac))&&this[_0x5cab6f(0x9e)][_0x5cab6f(0xc2)][_0x5cab6f(0xa1)][_0x5cab6f(0xa2)](_0x5cab6f(0xca),()=>{const _0x2e50b1=_0x5cab6f;_0x40f5ef(this[_0x2e50b1(0x9e)],_0x5516cd);});});const _0x5e646e=this[_0x4c50df(0x9e)][_0x4c50df(0x85)][_0x4c50df(0xba)](_0x4c50df(0x94));_0x5e646e&&this[_0x4c50df(0x9d)](_0x5e646e,_0x4c50df(0x7c),()=>{const _0x7ef96f=_0x4c50df,_0x1d894c=this[_0x7ef96f(0x9e)][_0x7ef96f(0x9b)][_0x7ef96f(0x9a)][_0x7ef96f(0xaf)][_0x7ef96f(0x93)]();_0x1d894c&&_0x1d894c[_0x7ef96f(0xa7)](_0x7ef96f(0xac))&&this[_0x7ef96f(0x9e)][_0x7ef96f(0xc2)][_0x7ef96f(0xa1)][_0x7ef96f(0xa2)](_0x7ef96f(0xca),()=>{const _0x4050da=_0x7ef96f;_0x40f5ef(this[_0x4050da(0x9e)],_0x1d894c);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1926d9,ObservableMixin as _0x581978}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x9f1512}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x115756}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x183ae8}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2234eb}from'../../utils/uploadutils.js';import{getImageUrls as _0x308a6a,getImageDimension as _0x67e557}from'../../utils/editingutils.js';import{isAncestor as _0x2d6df3}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x581978(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d24b6,_0x4063e2,_0x26e629){super(),this['_editor']=_0x3d24b6,this['_dialog']=_0x4063e2,this['_imageElement']=_0x26e629,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 _0x92e876=this['_imageElement'],_0x1a2d30=_0x92e876['getAttribute']('uploadcareImageId'),_0x2aa084=_0x92e876['getAttribute']('src');if(_0x1a2d30)await this['_loadImageInfo'](_0x1a2d30,_0x2aa084);else{if(this['_imageCache']['has'](_0x2aa084)){const _0x349bdf=this['_imageCache']['get'](_0x2aa084);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x349bdf['url'],this['imageDimension']=_0x349bdf['dimension'],this['imageId']=_0x349bdf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x382833}=this['_editor'],t=_0x382833['t'],_0x2e8aa8=new _0x183ae8(_0x382833,this['imageStatus'],this['_attributes']);_0x2e8aa8['bind']('status')['to'](this,'imageStatus'),_0x2e8aa8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2e8aa8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2e8aa8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2e8aa8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x115756,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2e8aa8,'position':_0x9f1512['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2e8aa8['focus']();},'onHide':()=>{_0x2e8aa8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x32d1de=>!_0x2d6df3(_0x32d1de,_0x2e8aa8['element'])}});}['_loadImageInfo'](_0x5cdf83,_0x26a9b8){return _0x2234eb['getInfo'](_0x5cdf83,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x237aa5=>{const {width:_0x4e2a8f,height:_0x2c2fea}=_0x237aa5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26a9b8,this['imageDimension']={'width':_0x4e2a8f,'height':_0x2c2fea},this['imageId']=_0x5cdf83;})['catch'](_0x3873fe=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3873fe['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x148e7c,_0x50dc05){return this['_getImageAsFile'](_0x148e7c)['then'](_0x164a37=>_0x2234eb['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x50dc05['signal'],'file':_0x164a37,'onProgress':_0x39a5c6=>{_0x39a5c6&&_0x39a5c6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39a5c6['value']));}}))['then'](_0x256be7=>{const {width:_0x3a7c75,height:_0x2cd582}=_0x256be7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x256be7['cdnUrl'],this['imageDimension']={'width':_0x3a7c75,'height':_0x2cd582},this['imageId']=_0x256be7['uuid'],this['imageUploadProgress']=null;const _0x518b97=_0x148e7c['getAttribute']('src');this['_imageCache']['set'](_0x518b97,{'id':_0x256be7['uuid'],'url':_0x256be7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x145d99=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x145d99['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5e04ca,_0x321e19){_0x5e04ca['on']('apply',(_0x4ece9c,_0x51c9bc)=>{this['_replaceImage'](_0x321e19,_0x51c9bc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5e04ca['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5e04ca['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x506a9e,_0x4e6b65,_0x21db5e){const _0x167285=this['_editor'],{width:_0x2d0e78,height:_0x4a230b}=_0x67e557(_0x4e6b65,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x171362,imageSources:_0x387528}=_0x308a6a(_0x4e6b65,_0x2d0e78);_0x167285['model']['change'](_0x440d35=>{if('$graveyard'===_0x506a9e['root']['rootName']){_0x167285['execute']('insertImage',{'imageType':_0x506a9e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x506a9e['getAttributes']()),'uploadcareImageId':_0x21db5e,'src':_0x171362,'sources':_0x387528,'width':_0x2d0e78,'height':_0x4a230b}});const _0x2964d4=_0x506a9e['getChildren']();_0x506a9e=_0x167285['model']['document']['selection']['getSelectedElement']();for(const _0x7bfe2b of _0x2964d4)_0x440d35['append'](_0x440d35['cloneElement'](_0x7bfe2b),_0x506a9e);}else _0x440d35['setSelection'](_0x506a9e,'on'),_0x167285['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x506a9e['getAttributes']()),'uploadcareImageId':_0x21db5e,'src':_0x171362,'sources':_0x387528,'width':_0x2d0e78,'height':_0x4a230b},_0x506a9e);_0x440d35['setSelection'](_0x506a9e,'on');});}async['_getImageAsFile'](_0x332512){const _0x21bd60=_0x1926d9['window'],_0x282bcf=_0x1926d9['document']['location']['href'],_0xc7acfa=new _0x21bd60['URL'](_0x332512['getAttribute']('src'),_0x282bcf);if('data:'===_0xc7acfa['protocol']){const _0x23482d=_0xc7acfa['href']['split'](','),_0x36dfb7=_0x23482d[0x0]['match'](/:(.*?);/)[0x1],_0x27a56b=_0x36dfb7['split']('/')[0x1],_0x27f536=_0x21bd60['atob'](_0x23482d[_0x23482d['length']-0x1]);let _0x41c589=_0x27f536['length'];const _0x2a1cb3=new _0x21bd60['Uint8Array'](_0x41c589);for(;_0x41c589--;)_0x2a1cb3[_0x41c589]=_0x27f536['charCodeAt'](_0x41c589);return new _0x21bd60['File']([_0x2a1cb3],'image.'+_0x27a56b,{'type':_0x36dfb7});}const _0x182314=_0xc7acfa['href']['split']('/'),_0x101440=_0x182314[_0x182314['length']-0x1],_0x4dea6f=_0x101440['split']('.')[0x1];return _0x21bd60['fetch'](_0xc7acfa['href'])['then'](_0xb9f76d=>_0xb9f76d['clone']()['blob']())['then'](_0x4e5d44=>new _0x21bd60['File']([_0x4e5d44],_0x101440,{'type':'image/'+_0x4dea6f}));}}
23
+ import{global as _0x8175dc,ObservableMixin as _0x147f8e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xb02250}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1163ff}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x496c9a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x17d680}from'../../utils/uploadutils.js';import{getImageUrls as _0xff9c80,getImageDimension as _0x5b8b80}from'../../utils/editingutils.js';import{isAncestor as _0x305651}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x147f8e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fba0a,_0x3dc556,_0x44ff66){super(),this['_editor']=_0x2fba0a,this['_dialog']=_0x3dc556,this['_imageElement']=_0x44ff66,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 _0x3388a8=this['_imageElement'],_0x4235f1=_0x3388a8['getAttribute']('uploadcareImageId'),_0x5e862b=_0x3388a8['getAttribute']('src');if(_0x4235f1)await this['_loadImageInfo'](_0x4235f1,_0x5e862b);else{if(this['_imageCache']['has'](_0x5e862b)){const _0x56f421=this['_imageCache']['get'](_0x5e862b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56f421['url'],this['imageDimension']=_0x56f421['dimension'],this['imageId']=_0x56f421['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x22c92c}=this['_editor'],t=_0x22c92c['t'],_0x3631e8=new _0x496c9a(_0x22c92c,this['imageStatus'],this['_attributes']);_0x3631e8['bind']('status')['to'](this,'imageStatus'),_0x3631e8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3631e8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3631e8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3631e8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1163ff,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3631e8,'position':_0xb02250['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3631e8['focus']();},'onHide':()=>{_0x3631e8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x19c76d=>!_0x305651(_0x19c76d,_0x3631e8['element'])}});}['_loadImageInfo'](_0x31d297,_0x176dfb){return _0x17d680['getInfo'](_0x31d297,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2970d6=>{const {width:_0x5df1b7,height:_0x2209b5}=_0x2970d6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x176dfb,this['imageDimension']={'width':_0x5df1b7,'height':_0x2209b5},this['imageId']=_0x31d297;})['catch'](_0xbb6bf6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xbb6bf6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x53359f,_0xe00000){return this['_getImageAsFile'](_0x53359f)['then'](_0x21fa5b=>_0x17d680['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xe00000['signal'],'file':_0x21fa5b,'onProgress':_0x58806b=>{_0x58806b&&_0x58806b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x58806b['value']));}}))['then'](_0x349ac9=>{const {width:_0x40c309,height:_0x547b66}=_0x349ac9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x349ac9['cdnUrl'],this['imageDimension']={'width':_0x40c309,'height':_0x547b66},this['imageId']=_0x349ac9['uuid'],this['imageUploadProgress']=null;const _0x2d0162=_0x53359f['getAttribute']('src');this['_imageCache']['set'](_0x2d0162,{'id':_0x349ac9['uuid'],'url':_0x349ac9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1e7d13=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e7d13['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45c15c,_0x45f857){_0x45c15c['on']('apply',(_0x2eb490,_0x101780)=>{this['_replaceImage'](_0x45f857,_0x101780['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45c15c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45c15c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3c3a6c,_0x5e6ab9,_0x5018ac){const _0x5843fe=this['_editor'],{width:_0x3d61cb,height:_0x3517d2}=_0x5b8b80(_0x5e6ab9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5da894,imageSources:_0x34a0e8}=_0xff9c80(_0x5e6ab9,_0x3d61cb);_0x5843fe['model']['change'](_0x5bad18=>{if('$graveyard'===_0x3c3a6c['root']['rootName']){_0x5843fe['execute']('insertImage',{'imageType':_0x3c3a6c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3c3a6c['getAttributes']()),'uploadcareImageId':_0x5018ac,'src':_0x5da894,'sources':_0x34a0e8,'width':_0x3d61cb,'height':_0x3517d2}});const _0x3b36d6=_0x3c3a6c['getChildren']();_0x3c3a6c=_0x5843fe['model']['document']['selection']['getSelectedElement']();for(const _0x16a496 of _0x3b36d6)_0x5bad18['append'](_0x5bad18['cloneElement'](_0x16a496),_0x3c3a6c);}else _0x5bad18['setSelection'](_0x3c3a6c,'on'),_0x5843fe['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3c3a6c['getAttributes']()),'uploadcareImageId':_0x5018ac,'src':_0x5da894,'sources':_0x34a0e8,'width':_0x3d61cb,'height':_0x3517d2},_0x3c3a6c);_0x5bad18['setSelection'](_0x3c3a6c,'on');});}async['_getImageAsFile'](_0x24f7cf){const _0x47b798=_0x8175dc['window'],_0x4b96b2=_0x8175dc['document']['location']['href'],_0xf6bc5b=new _0x47b798['URL'](_0x24f7cf['getAttribute']('src'),_0x4b96b2);if('data:'===_0xf6bc5b['protocol']){const _0x15b23b=_0xf6bc5b['href']['split'](','),_0x2bee72=_0x15b23b[0x0]['match'](/:(.*?);/)[0x1],_0x8d99a0=_0x2bee72['split']('/')[0x1],_0x19e878=_0x47b798['atob'](_0x15b23b[_0x15b23b['length']-0x1]);let _0x31ce9d=_0x19e878['length'];const _0x51b795=new _0x47b798['Uint8Array'](_0x31ce9d);for(;_0x31ce9d--;)_0x51b795[_0x31ce9d]=_0x19e878['charCodeAt'](_0x31ce9d);return new _0x47b798['File']([_0x51b795],'image.'+_0x8d99a0,{'type':_0x2bee72});}const _0x361cc7=_0xf6bc5b['href']['split']('/'),_0x1e9529=_0x361cc7[_0x361cc7['length']-0x1],_0x11a4cf=_0x1e9529['split']('.')[0x1];return _0x47b798['fetch'](_0xf6bc5b['href'])['then'](_0x1a8264=>_0x1a8264['clone']()['blob']())['then'](_0x73dd73=>new _0x47b798['File']([_0x73dd73],_0x1e9529,{'type':'image/'+_0x11a4cf}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1711(){const _0x4ca18f=['4986505gZoZut','3282RFVSKv','set','443988dHSngJ','imageSrc','uc-light','uc-cloud-image-editor','5003200nlKQJD','ck-uploadcare-theme','6300324HzTjNJ','bindTemplate','2114754jHafvG','image-edit','setTemplate','14ubzGtJ','285343fKLhtO','309zBiKhQ'];_0x1711=function(){return _0x4ca18f;};return _0x1711();}function _0x53e2(_0x2ae990,_0x14175f){const _0x1711f0=_0x1711();return _0x53e2=function(_0x53e28c,_0x43a4de){_0x53e28c=_0x53e28c-0x17b;let _0x2d5221=_0x1711f0[_0x53e28c];return _0x2d5221;},_0x53e2(_0x2ae990,_0x14175f);}(function(_0x4bf889,_0x33ea2b){const _0x1cb4df=_0x53e2,_0x5987fb=_0x4bf889();while(!![]){try{const _0x594181=parseInt(_0x1cb4df(0x17e))/0x1+parseInt(_0x1cb4df(0x181))/0x2*(-parseInt(_0x1cb4df(0x17f))/0x3)+-parseInt(_0x1cb4df(0x189))/0x4+parseInt(_0x1cb4df(0x180))/0x5+-parseInt(_0x1cb4df(0x18b))/0x6*(-parseInt(_0x1cb4df(0x17d))/0x7)+parseInt(_0x1cb4df(0x187))/0x8+-parseInt(_0x1cb4df(0x183))/0x9;if(_0x594181===_0x33ea2b)break;else _0x5987fb['push'](_0x5987fb['shift']());}catch(_0x42e20a){_0x5987fb['push'](_0x5987fb['shift']());}}}(_0x1711,0xc8146));import{View as _0x33ab1c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x33ab1c{constructor(_0x2fba27,_0x11f6de){const _0x82ca6c=_0x53e2;super(_0x2fba27);const _0x5e2f45=this[_0x82ca6c(0x18a)];this[_0x82ca6c(0x182)](_0x82ca6c(0x184),''),this[_0x82ca6c(0x17c)]({'tag':_0x82ca6c(0x186),'attributes':{..._0x11f6de,'class':[_0x82ca6c(0x185),_0x82ca6c(0x188)],'ctx-name':_0x82ca6c(0x17b),'cdn-url':_0x5e2f45['to'](_0x82ca6c(0x184))}});}}
23
+ (function(_0x368f0a,_0x5e9a17){const _0x1536a4=_0x591a,_0x50edaa=_0x368f0a();while(!![]){try{const _0x4bae3d=-parseInt(_0x1536a4(0xca))/0x1+parseInt(_0x1536a4(0xc5))/0x2*(-parseInt(_0x1536a4(0xc8))/0x3)+-parseInt(_0x1536a4(0xc9))/0x4*(-parseInt(_0x1536a4(0xcb))/0x5)+-parseInt(_0x1536a4(0xbd))/0x6*(parseInt(_0x1536a4(0xbb))/0x7)+-parseInt(_0x1536a4(0xc6))/0x8+-parseInt(_0x1536a4(0xc4))/0x9+parseInt(_0x1536a4(0xc3))/0xa;if(_0x4bae3d===_0x5e9a17)break;else _0x50edaa['push'](_0x50edaa['shift']());}catch(_0x2ab7a9){_0x50edaa['push'](_0x50edaa['shift']());}}}(_0x1878,0xe256d));function _0x591a(_0x66d177,_0x525549){const _0x187846=_0x1878();return _0x591a=function(_0x591a86,_0x50fb7b){_0x591a86=_0x591a86-0xba;let _0x102d86=_0x187846[_0x591a86];return _0x102d86;},_0x591a(_0x66d177,_0x525549);}function _0x1878(){const _0x131369=['imageSrc','56XOWqTe','uc-light','1175694nRmTFE','setTemplate','bindTemplate','set','image-edit','ck-uploadcare-theme','38565070QfwqCR','742509MTGbHl','30fzPHJx','7417656VOVdXX','uc-cloud-image-editor','24765lIENOK','36vAQlGX','1213266oVVQSM','547205fhkTjw'];_0x1878=function(){return _0x131369;};return _0x1878();}import{View as _0x254eed}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x254eed{constructor(_0x505cad,_0x233fa9){const _0x4ce06e=_0x591a;super(_0x505cad);const _0x5f0039=this[_0x4ce06e(0xbf)];this[_0x4ce06e(0xc0)](_0x4ce06e(0xba),''),this[_0x4ce06e(0xbe)]({'tag':_0x4ce06e(0xc7),'attributes':{..._0x233fa9,'class':[_0x4ce06e(0xbc),_0x4ce06e(0xc2)],'ctx-name':_0x4ce06e(0xc1),'cdn-url':_0x5f0039['to'](_0x4ce06e(0xba))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x479808}from'ckeditor5/src/icons.js';import{ButtonView as _0xcfb4b3,IconView as _0x21a8dd,View as _0x1b904c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1b904c{constructor(_0x3a4c53){super(_0x3a4c53);const t=_0x3a4c53['t'];this['set']('errorType',null);const _0x2996e8=new _0xcfb4b3(_0x3a4c53);_0x2996e8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2996e8['withText']=!0x0,_0x2996e8['class']='ck-button-action',_0x2996e8['on']('execute',()=>{this['fire']('retry');}),_0x2996e8['bind']('isVisible')['to'](this,'errorType',_0x532f3e=>'NotFound'!==_0x532f3e);const _0x221d34=new _0x21a8dd();_0x221d34['content']=_0x479808,_0x221d34['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15dbf3=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':[_0x221d34,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15dbf3['to']('errorType',_0x2e8cfa=>t('NotFound'!==_0x2e8cfa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2996e8]},{'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 _0x2a1ccf}from'ckeditor5/src/icons.js';import{ButtonView as _0x269a79,IconView as _0x84b516,View as _0x4746ed}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4746ed{constructor(_0x102657){super(_0x102657);const t=_0x102657['t'];this['set']('errorType',null);const _0x4b4ede=new _0x269a79(_0x102657);_0x4b4ede['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4b4ede['withText']=!0x0,_0x4b4ede['class']='ck-button-action',_0x4b4ede['on']('execute',()=>{this['fire']('retry');}),_0x4b4ede['bind']('isVisible')['to'](this,'errorType',_0x17f7ea=>'NotFound'!==_0x17f7ea);const _0x36df03=new _0x84b516();_0x36df03['content']=_0x2a1ccf,_0x36df03['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x151833=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':[_0x36df03,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x151833['to']('errorType',_0x2d5090=>t('NotFound'!==_0x2d5090?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4b4ede]},{'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 _0x2be8df,View as _0x57987d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x57987d{constructor(_0x290874){super(_0x290874);const t=_0x290874['t'],_0xb1c381=this['bindTemplate'],_0x535529=new _0x2be8df();_0x535529['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':[_0x535529,{'text':_0xb1c381['to']('imageUploadProgress',_0x1f9edd=>t('Loading\x20image...')+'\x20('+(_0x1f9edd||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 _0x306584,View as _0x2b59c5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2b59c5{constructor(_0x8896ba){super(_0x8896ba);const t=_0x8896ba['t'],_0x4418a9=this['bindTemplate'],_0x5eb6f5=new _0x306584();_0x5eb6f5['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':[_0x5eb6f5,{'text':_0x4418a9['to']('imageUploadProgress',_0x2f221a=>t('Loading\x20image...')+'\x20('+(_0x2f221a||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 _0x417812=_0x8c85;function _0x3938(){const _0x2ad9f1=['uploading','target','9YHFPJO','addedNodes','1409076NxYwTS','focus','ready','disconnect','2200ARmPiO','44XaMPKW','observe','_loadingView','clear','addEventListener','ck-reset_all-excluded','retry','1142151eGnTXP','fire','7106094nEKTgj','_addErrorViewListeners','6GtfBgl','_errorView','318532tDbrgA','_items','1948680TgFHQv','element','addMany','nodeName','filter','detail','error','_setView','toLowerCase','32543kxrYlC','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','status','length','change:status','cancel','setTemplate','render','once','apply','_editingView','ck-uploadcare-form','uc-cloud-image-editor','createCollection','set','querySelector','4497175DWBxia','cdnUrl','_focusableView','add','div','getFocusableElement'];_0x3938=function(){return _0x2ad9f1;};return _0x3938();}(function(_0x4a4d76,_0x5eca8d){const _0x523da1=_0x8c85,_0x17b957=_0x4a4d76();while(!![]){try{const _0x4de396=parseInt(_0x523da1(0xe0))/0x1+-parseInt(_0x523da1(0xe6))/0x2*(parseInt(_0x523da1(0x10a))/0x3)+-parseInt(_0x523da1(0x10c))/0x4+parseInt(_0x523da1(0x102))/0x5*(-parseInt(_0x523da1(0xe4))/0x6)+-parseInt(_0x523da1(0xf1))/0x7*(-parseInt(_0x523da1(0x110))/0x8)+parseInt(_0x523da1(0xe2))/0x9+parseInt(_0x523da1(0xe8))/0xa*(-parseInt(_0x523da1(0x111))/0xb);if(_0x4de396===_0x5eca8d)break;else _0x17b957['push'](_0x17b957['shift']());}catch(_0x2a10a9){_0x17b957['push'](_0x17b957['shift']());}}}(_0x3938,0xab322));import{View as _0x1e747}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x377bc8}from'./uploadcareimageeditformloadingview.js';function _0x8c85(_0x28753e,_0x4e7920){const _0x393883=_0x3938();return _0x8c85=function(_0x8c854d,_0x45df72){_0x8c854d=_0x8c854d-0xdc;let _0x1e1b3a=_0x393883[_0x8c854d];return _0x1e1b3a;},_0x8c85(_0x28753e,_0x4e7920);}import{UploadcareImageEditFormErrorView as _0x76e7b2}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x338738}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x57ea25}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x57ea25{[_0x417812(0xe7)];[_0x417812(0x113)];[_0x417812(0xe5)];[_0x417812(0xfc)];[_0x417812(0x104)];constructor(_0x4b3c3d,_0x4802aa,_0x3bd6dd){const _0x205ab6=_0x417812;super(_0x4b3c3d),this[_0x205ab6(0xe7)]=this[_0x205ab6(0xff)](),this[_0x205ab6(0x113)]=new _0x377bc8(_0x4b3c3d),this[_0x205ab6(0xe5)]=new _0x76e7b2(_0x4b3c3d),this[_0x205ab6(0xfc)]=new _0x338738(_0x4b3c3d,_0x3bd6dd),this[_0x205ab6(0x104)]=new _0x1e747(_0x4b3c3d),this[_0x205ab6(0x104)][_0x205ab6(0xf8)](this[_0x205ab6(0x107)]()),this[_0x205ab6(0x100)](_0x205ab6(0xf4),_0x4802aa),this[_0x205ab6(0xf8)]({'tag':_0x205ab6(0x106),'attributes':{'class':['ck',_0x205ab6(0xde),_0x205ab6(0xfd)],'tabindex':'-1'},'children':this[_0x205ab6(0xe7)]}),this[_0x205ab6(0xef)](),this[_0x205ab6(0xfa)](_0x205ab6(0xf9),()=>{const _0x95d74e=_0x205ab6;this[_0x95d74e(0xf2)](this[_0x95d74e(0xe9)],_0xae7d9f=>{const _0x27a6a5=_0x95d74e;this[_0x27a6a5(0xf3)](_0xae7d9f);});}),this['on'](_0x205ab6(0xf6),()=>{const _0x4b866b=_0x205ab6;this[_0x4b866b(0xef)]();}),this[_0x205ab6(0xe3)]();}[_0x417812(0x10d)](){const _0x310a1c=_0x417812;this[_0x310a1c(0xe9)][_0x310a1c(0x10d)]();}[_0x417812(0xef)](){const _0x44189c=_0x417812;switch(this[_0x44189c(0xe7)][_0x44189c(0xdc)](),this[_0x44189c(0xf4)]){case _0x44189c(0x108):this[_0x44189c(0xe7)][_0x44189c(0x105)](this[_0x44189c(0x113)]);break;case _0x44189c(0xee):this[_0x44189c(0xe7)][_0x44189c(0x105)](this[_0x44189c(0xe5)]);break;case _0x44189c(0x10e):this[_0x44189c(0xe7)][_0x44189c(0xea)]([this[_0x44189c(0xfc)],this[_0x44189c(0x104)]]);}}[_0x417812(0xf2)](_0x36fb3b,_0x46aaef){const _0x3f0109=_0x417812,_0x14a95c=_0x3f0109(0xfe),_0x4911b9=_0x36fb3b[_0x3f0109(0x101)](_0x14a95c);if(_0x4911b9)return _0x46aaef(_0x4911b9);const _0x52b628=new MutationObserver(_0xb5b33c=>{const _0x4bceef=_0x3f0109,_0x1af9aa=_0xb5b33c[_0x4bceef(0xec)](_0x237c19=>_0x237c19[_0x4bceef(0x109)]===_0x36fb3b&&_0x237c19[_0x4bceef(0x10b)][_0x4bceef(0xf5)]>0x0&&_0x237c19[_0x4bceef(0x10b)][0x0][_0x4bceef(0xeb)][_0x4bceef(0xf0)]()===_0x14a95c);_0x1af9aa[_0x4bceef(0xf5)]&&(_0x52b628[_0x4bceef(0x10f)](),_0x46aaef(_0x1af9aa[0x0][_0x4bceef(0x10b)][0x0]));});_0x52b628[_0x3f0109(0x112)](_0x36fb3b,{'childList':!0x0,'subtree':!0x0});}[_0x417812(0xf3)](_0x81821e){const _0x273894=_0x417812;_0x81821e[_0x273894(0xdd)](_0x273894(0xfb),_0x3bb2af=>{const _0x51a4d8=_0x273894;this[_0x51a4d8(0xe1)](_0x51a4d8(0xfb),{'imageSrc':_0x3bb2af[_0x51a4d8(0xed)][_0x51a4d8(0x103)]});}),_0x81821e[_0x273894(0xdd)](_0x273894(0xf7),()=>{const _0x5aad2c=_0x273894;this[_0x5aad2c(0xe1)](_0x5aad2c(0xf7));});}[_0x417812(0xe3)](){const _0x3e5ded=_0x417812;this[_0x3e5ded(0xe5)]['on'](_0x3e5ded(0xdf),()=>{const _0x1b5b3c=_0x3e5ded;this[_0x1b5b3c(0xe1)](_0x1b5b3c(0xdf));});}}
23
+ const _0x5eb1e2=_0x2eed;function _0x2d23(){const _0x264fab=['toLowerCase','_focusableView','uc-cloud-image-editor','addEventListener','_waitForImageEditorComponent','ready','4725432ufZyRT','298949ztAVbc','target','2624YQcjrD','cdnUrl','retry','2RTCMvw','_items','filter','error','render','cancel','_addErrorViewListeners','once','element','uploading','4645NNReWU','_editingView','12873179AgvKby','ck-reset_all-excluded','set','_errorView','ck-uploadcare-form','add','length','_addUploadcareImageEditorListeners','18sJJcGN','status','fire','addMany','detail','498708IkNUNN','apply','clear','nodeName','getFocusableElement','div','152JwShMV','createCollection','disconnect','setTemplate','change:status','querySelector','focus','5138810sVasFp','_setView','observe','addedNodes','2150259Rshydc','_loadingView'];_0x2d23=function(){return _0x264fab;};return _0x2d23();}(function(_0x5da4a3,_0x434758){const _0x48da70=_0x2eed,_0x19b25c=_0x5da4a3();while(!![]){try{const _0xb4d4c8=parseInt(_0x48da70(0x1e4))/0x1+-parseInt(_0x48da70(0x203))/0x2*(parseInt(_0x48da70(0x1f5))/0x3)+parseInt(_0x48da70(0x200))/0x4*(parseInt(_0x48da70(0x20d))/0x5)+-parseInt(_0x48da70(0x1fd))/0x6+-parseInt(_0x48da70(0x1fe))/0x7*(-parseInt(_0x48da70(0x1ea))/0x8)+-parseInt(_0x48da70(0x217))/0x9*(parseInt(_0x48da70(0x1f1))/0xa)+parseInt(_0x48da70(0x20f))/0xb;if(_0xb4d4c8===_0x434758)break;else _0x19b25c['push'](_0x19b25c['shift']());}catch(_0x4ebe7f){_0x19b25c['push'](_0x19b25c['shift']());}}}(_0x2d23,0x882c7));import{View as _0x30f4fa}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x47432f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5d5fc5}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x40b3c5}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xac670}from'../../utils/dialogfocusmanagerview.js';function _0x2eed(_0x168376,_0xa9412d){const _0x2d239c=_0x2d23();return _0x2eed=function(_0x2eed8a,_0x277fa1){_0x2eed8a=_0x2eed8a-0x1e2;let _0x723c2f=_0x2d239c[_0x2eed8a];return _0x723c2f;},_0x2eed(_0x168376,_0xa9412d);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xac670{[_0x5eb1e2(0x204)];[_0x5eb1e2(0x1f6)];[_0x5eb1e2(0x212)];[_0x5eb1e2(0x20e)];[_0x5eb1e2(0x1f8)];constructor(_0x246cf0,_0x42b36a,_0x5242c1){const _0x461af9=_0x5eb1e2;super(_0x246cf0),this[_0x461af9(0x204)]=this[_0x461af9(0x1eb)](),this[_0x461af9(0x1f6)]=new _0x47432f(_0x246cf0),this[_0x461af9(0x212)]=new _0x5d5fc5(_0x246cf0),this[_0x461af9(0x20e)]=new _0x40b3c5(_0x246cf0,_0x5242c1),this[_0x461af9(0x1f8)]=new _0x30f4fa(_0x246cf0),this[_0x461af9(0x1f8)][_0x461af9(0x1ed)](this[_0x461af9(0x1e8)]()),this[_0x461af9(0x211)](_0x461af9(0x218),_0x42b36a),this[_0x461af9(0x1ed)]({'tag':_0x461af9(0x1e9),'attributes':{'class':['ck',_0x461af9(0x210),_0x461af9(0x213)],'tabindex':'-1'},'children':this[_0x461af9(0x204)]}),this[_0x461af9(0x1f2)](),this[_0x461af9(0x20a)](_0x461af9(0x207),()=>{const _0x2bf67f=_0x461af9;this[_0x2bf67f(0x1fb)](this[_0x2bf67f(0x20b)],_0x20b556=>{const _0x1ae3ef=_0x2bf67f;this[_0x1ae3ef(0x216)](_0x20b556);});}),this['on'](_0x461af9(0x1ee),()=>{const _0x4a15ad=_0x461af9;this[_0x4a15ad(0x1f2)]();}),this[_0x461af9(0x209)]();}[_0x5eb1e2(0x1f0)](){const _0x3adcf6=_0x5eb1e2;this[_0x3adcf6(0x20b)][_0x3adcf6(0x1f0)]();}[_0x5eb1e2(0x1f2)](){const _0x2fb602=_0x5eb1e2;switch(this[_0x2fb602(0x204)][_0x2fb602(0x1e6)](),this[_0x2fb602(0x218)]){case _0x2fb602(0x20c):this[_0x2fb602(0x204)][_0x2fb602(0x214)](this[_0x2fb602(0x1f6)]);break;case _0x2fb602(0x206):this[_0x2fb602(0x204)][_0x2fb602(0x214)](this[_0x2fb602(0x212)]);break;case _0x2fb602(0x1fc):this[_0x2fb602(0x204)][_0x2fb602(0x1e2)]([this[_0x2fb602(0x20e)],this[_0x2fb602(0x1f8)]]);}}[_0x5eb1e2(0x1fb)](_0x29481a,_0x422d40){const _0xa3e449=_0x5eb1e2,_0xb2f272=_0xa3e449(0x1f9),_0x14a23f=_0x29481a[_0xa3e449(0x1ef)](_0xb2f272);if(_0x14a23f)return _0x422d40(_0x14a23f);const _0x1f11c5=new MutationObserver(_0x1accce=>{const _0x1ba01c=_0xa3e449,_0x238b3e=_0x1accce[_0x1ba01c(0x205)](_0x279654=>_0x279654[_0x1ba01c(0x1ff)]===_0x29481a&&_0x279654[_0x1ba01c(0x1f4)][_0x1ba01c(0x215)]>0x0&&_0x279654[_0x1ba01c(0x1f4)][0x0][_0x1ba01c(0x1e7)][_0x1ba01c(0x1f7)]()===_0xb2f272);_0x238b3e[_0x1ba01c(0x215)]&&(_0x1f11c5[_0x1ba01c(0x1ec)](),_0x422d40(_0x238b3e[0x0][_0x1ba01c(0x1f4)][0x0]));});_0x1f11c5[_0xa3e449(0x1f3)](_0x29481a,{'childList':!0x0,'subtree':!0x0});}[_0x5eb1e2(0x216)](_0x330d12){const _0x357479=_0x5eb1e2;_0x330d12[_0x357479(0x1fa)](_0x357479(0x1e5),_0x2ccf25=>{const _0xff1e4b=_0x357479;this[_0xff1e4b(0x219)](_0xff1e4b(0x1e5),{'imageSrc':_0x2ccf25[_0xff1e4b(0x1e3)][_0xff1e4b(0x201)]});}),_0x330d12[_0x357479(0x1fa)](_0x357479(0x208),()=>{const _0x38778b=_0x357479;this[_0x38778b(0x219)](_0x38778b(0x208));});}[_0x5eb1e2(0x209)](){const _0x21a54a=_0x5eb1e2;this[_0x21a54a(0x212)]['on'](_0x21a54a(0x202),()=>{const _0x52af28=_0x21a54a;this[_0x52af28(0x219)](_0x52af28(0x202));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31bd06=_0x2292;(function(_0x5f1369,_0x41758e){const _0x1ba02f=_0x2292,_0x2086dc=_0x5f1369();while(!![]){try{const _0x692d9d=parseInt(_0x1ba02f(0x1c6))/0x1+parseInt(_0x1ba02f(0x1b3))/0x2+parseInt(_0x1ba02f(0x1b5))/0x3*(-parseInt(_0x1ba02f(0x1b2))/0x4)+parseInt(_0x1ba02f(0x1b9))/0x5+-parseInt(_0x1ba02f(0x1c7))/0x6*(-parseInt(_0x1ba02f(0x1ae))/0x7)+parseInt(_0x1ba02f(0x1af))/0x8+-parseInt(_0x1ba02f(0x1c8))/0x9;if(_0x692d9d===_0x41758e)break;else _0x2086dc['push'](_0x2086dc['shift']());}catch(_0x391615){_0x2086dc['push'](_0x2086dc['shift']());}}}(_0x85c8,0x72ccf));import{Command as _0x337ade}from'ckeditor5/src/core.js';import{Dialog as _0x3b18ef}from'ckeditor5/src/ui.js';function _0x85c8(){const _0x4ad40c=['1072508jjoEps','plugins','1206bFHQjY','set','get','imageInline','4039075kcOQGf','getSelectedElement','element','imageBlock','bind','unbind','_isEditable','requires','uploadcare.allowExternalImagesEditing','editor','selection','isActive','isEnabled','889279gKzHid','6vFHloz','13751658kHtcQI','imageEditController','config','execute','model','867685SRNHre','1626240PahxCd','document','refresh','5596HQYfxt'];_0x85c8=function(){return _0x4ad40c;};return _0x85c8();}import{UploadcareImageEditController as _0x10a10f}from'./ui/uploadcareimageeditcontroller.js';function _0x2292(_0x54e1e2,_0xb098ec){const _0x85c8c0=_0x85c8();return _0x2292=function(_0x229289,_0x368c85){_0x229289=_0x229289-0x1ac;let _0x5c2aed=_0x85c8c0[_0x229289];return _0x5c2aed;},_0x2292(_0x54e1e2,_0xb098ec);}import{createEditabilityChecker as _0x32e1d4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x337ade{[_0x31bd06(0x1c9)];static get[_0x31bd06(0x1c0)](){return[_0x3b18ef];}[_0x31bd06(0x1bf)];constructor(_0x2b713a){const _0x40a057=_0x31bd06;super(_0x2b713a),this[_0x40a057(0x1c9)]=void 0x0,this[_0x40a057(0x1bf)]=_0x32e1d4(_0x2b713a[_0x40a057(0x1ca)][_0x40a057(0x1b7)](_0x40a057(0x1c1))||[]),this[_0x40a057(0x1b6)]({'isActive':!0x1});}[_0x31bd06(0x1b1)](){const _0x565056=_0x31bd06,_0x506d0c=this[_0x565056(0x1c2)][_0x565056(0x1ad)][_0x565056(0x1b0)][_0x565056(0x1c3)][_0x565056(0x1ba)]();this[_0x565056(0x1c5)]=this[_0x565056(0x1bf)](_0x506d0c);}[_0x31bd06(0x1ac)](){const _0x2d8c43=_0x31bd06;this[_0x2d8c43(0x1c9)]&&(this[_0x2d8c43(0x1be)](_0x2d8c43(0x1c4)),this[_0x2d8c43(0x1c9)]=void 0x0);const _0x22faad=this[_0x2d8c43(0x1c2)][_0x2d8c43(0x1ad)][_0x2d8c43(0x1b0)][_0x2d8c43(0x1c3)][_0x2d8c43(0x1ba)]();_0x22faad&&(_0x22faad['is'](_0x2d8c43(0x1bb),_0x2d8c43(0x1bc))||_0x22faad['is'](_0x2d8c43(0x1bb),_0x2d8c43(0x1b8)))&&(this[_0x2d8c43(0x1c9)]=new _0x10a10f(this[_0x2d8c43(0x1c2)],this[_0x2d8c43(0x1c2)][_0x2d8c43(0x1b4)][_0x2d8c43(0x1b7)](_0x3b18ef),_0x22faad),this[_0x2d8c43(0x1bd)](_0x2d8c43(0x1c4))['to'](this[_0x2d8c43(0x1c9)],_0x2d8c43(0x1c4)));}}
23
+ const _0x25b643=_0x5aca;(function(_0x4b905b,_0x27633f){const _0x3344bc=_0x5aca,_0x47fa68=_0x4b905b();while(!![]){try{const _0x9bd93e=-parseInt(_0x3344bc(0x19b))/0x1*(parseInt(_0x3344bc(0x1a3))/0x2)+parseInt(_0x3344bc(0x199))/0x3+-parseInt(_0x3344bc(0x1a0))/0x4+-parseInt(_0x3344bc(0x1a8))/0x5+parseInt(_0x3344bc(0x1a6))/0x6+-parseInt(_0x3344bc(0x1ab))/0x7*(-parseInt(_0x3344bc(0x191))/0x8)+parseInt(_0x3344bc(0x1ad))/0x9;if(_0x9bd93e===_0x27633f)break;else _0x47fa68['push'](_0x47fa68['shift']());}catch(_0x3006ec){_0x47fa68['push'](_0x47fa68['shift']());}}}(_0x57ae,0xc8fae));import{Command as _0x2d8114}from'ckeditor5/src/core.js';import{Dialog as _0x1351fa}from'ckeditor5/src/ui.js';function _0x5aca(_0x5a9230,_0x17476d){const _0x57ae98=_0x57ae();return _0x5aca=function(_0x5acadd,_0x1f9e62){_0x5acadd=_0x5acadd-0x190;let _0x4f6bb8=_0x57ae98[_0x5acadd];return _0x4f6bb8;},_0x5aca(_0x5a9230,_0x17476d);}function _0x57ae(){const _0x2c667b=['1897nVdYwa','refresh','7129782FYHqZG','unbind','requires','39224AdHROb','set','element','config','document','model','imageEditController','uploadcare.allowExternalImagesEditing','1497255ocgTJi','imageBlock','91198ejGaYG','execute','plugins','imageInline','isEnabled','1136304sxURoj','selection','bind','34NwoeCm','_isEditable','editor','2000790bICnkz','isActive','1479025CFrRzq','getSelectedElement','get'];_0x57ae=function(){return _0x2c667b;};return _0x57ae();}import{UploadcareImageEditController as _0x50ffc8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x26138b}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2d8114{[_0x25b643(0x197)];static get[_0x25b643(0x190)](){return[_0x1351fa];}[_0x25b643(0x1a4)];constructor(_0x1c5d9d){const _0x432882=_0x25b643;super(_0x1c5d9d),this[_0x432882(0x197)]=void 0x0,this[_0x432882(0x1a4)]=_0x26138b(_0x1c5d9d[_0x432882(0x194)][_0x432882(0x1aa)](_0x432882(0x198))||[]),this[_0x432882(0x192)]({'isActive':!0x1});}[_0x25b643(0x1ac)](){const _0xfa53b7=_0x25b643,_0xbcf0b0=this[_0xfa53b7(0x1a5)][_0xfa53b7(0x196)][_0xfa53b7(0x195)][_0xfa53b7(0x1a1)][_0xfa53b7(0x1a9)]();this[_0xfa53b7(0x19f)]=this[_0xfa53b7(0x1a4)](_0xbcf0b0);}[_0x25b643(0x19c)](){const _0x5f3eb0=_0x25b643;this[_0x5f3eb0(0x197)]&&(this[_0x5f3eb0(0x1ae)](_0x5f3eb0(0x1a7)),this[_0x5f3eb0(0x197)]=void 0x0);const _0x5e232c=this[_0x5f3eb0(0x1a5)][_0x5f3eb0(0x196)][_0x5f3eb0(0x195)][_0x5f3eb0(0x1a1)][_0x5f3eb0(0x1a9)]();_0x5e232c&&(_0x5e232c['is'](_0x5f3eb0(0x193),_0x5f3eb0(0x19a))||_0x5e232c['is'](_0x5f3eb0(0x193),_0x5f3eb0(0x19e)))&&(this[_0x5f3eb0(0x197)]=new _0x50ffc8(this[_0x5f3eb0(0x1a5)],this[_0x5f3eb0(0x1a5)][_0x5f3eb0(0x19d)][_0x5f3eb0(0x1aa)](_0x1351fa),_0x5e232c),this[_0x5f3eb0(0x1a2)](_0x5f3eb0(0x1a7))['to'](this[_0x5f3eb0(0x197)],_0x5f3eb0(0x1a7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4395da=_0x53d3;(function(_0x53b699,_0x3475cf){const _0x2b78f6=_0x53d3,_0x17089d=_0x53b699();while(!![]){try{const _0x58978b=parseInt(_0x2b78f6(0x7a))/0x1*(parseInt(_0x2b78f6(0x7b))/0x2)+-parseInt(_0x2b78f6(0x82))/0x3*(-parseInt(_0x2b78f6(0x80))/0x4)+-parseInt(_0x2b78f6(0x7d))/0x5+-parseInt(_0x2b78f6(0x8e))/0x6+-parseInt(_0x2b78f6(0x83))/0x7+parseInt(_0x2b78f6(0x84))/0x8+parseInt(_0x2b78f6(0x7c))/0x9*(parseInt(_0x2b78f6(0x81))/0xa);if(_0x58978b===_0x3475cf)break;else _0x17089d['push'](_0x17089d['shift']());}catch(_0x2757ea){_0x17089d['push'](_0x17089d['shift']());}}}(_0x54fd,0xc5424));import{Plugin as _0xd33029}from'ckeditor5/src/core.js';function _0x53d3(_0x5aca70,_0x55dae2){const _0x54fd78=_0x54fd();return _0x53d3=function(_0x53d308,_0x296b8e){_0x53d308=_0x53d308-0x79;let _0x32b439=_0x54fd78[_0x53d308];return _0x32b439;},_0x53d3(_0x5aca70,_0x55dae2);}import{Notification as _0x17a4be}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x35d60c}from'./uploadcareimageeditcommand.js';function _0x54fd(){const _0x5f05b7=['2139240wFkgAp','requires','ImageUtils','uploadcareImageReplace','isPremiumPlugin','pluginName','init','isOfficialPlugin','uploadcareImageEdit','add','4747050xJEnjr','ImageEditing','196654hCLXtZ','8iOBPfi','3995847COkfJY','3492065PQOrfI','commands','UploadcareImageEditEditing','5464FaDotV','10wdpizE','3081BCVirF','4223282SVfIRN'];_0x54fd=function(){return _0x5f05b7;};return _0x54fd();}import{UploadcareImageReplaceCommand as _0x18d22c}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5979dd}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xd33029{static get[_0x4395da(0x89)](){const _0x2456e2=_0x4395da;return _0x2456e2(0x7f);}static get[_0x4395da(0x85)](){const _0x53a80f=_0x4395da;return[_0x5979dd,_0x17a4be,_0x53a80f(0x86),_0x53a80f(0x79)];}static get[_0x4395da(0x8b)](){return!0x0;}static get[_0x4395da(0x88)](){return!0x0;}[_0x4395da(0x8a)](){const _0x2e0a9a=_0x4395da,{editor:_0xab73fc}=this;_0xab73fc[_0x2e0a9a(0x7e)][_0x2e0a9a(0x8d)](_0x2e0a9a(0x8c),new _0x35d60c(_0xab73fc)),_0xab73fc[_0x2e0a9a(0x7e)][_0x2e0a9a(0x8d)](_0x2e0a9a(0x87),new _0x18d22c(_0xab73fc));}}
23
+ const _0x5206cf=_0x1b2d;(function(_0x4c22ab,_0x59c5bb){const _0x2b55f2=_0x1b2d,_0x360339=_0x4c22ab();while(!![]){try{const _0x468eaa=-parseInt(_0x2b55f2(0x81))/0x1+parseInt(_0x2b55f2(0x74))/0x2*(parseInt(_0x2b55f2(0x89))/0x3)+-parseInt(_0x2b55f2(0x76))/0x4*(parseInt(_0x2b55f2(0x85))/0x5)+parseInt(_0x2b55f2(0x79))/0x6+-parseInt(_0x2b55f2(0x83))/0x7*(parseInt(_0x2b55f2(0x75))/0x8)+parseInt(_0x2b55f2(0x82))/0x9+parseInt(_0x2b55f2(0x7d))/0xa;if(_0x468eaa===_0x59c5bb)break;else _0x360339['push'](_0x360339['shift']());}catch(_0x729f88){_0x360339['push'](_0x360339['shift']());}}}(_0x4b77,0xe0f99));import{Plugin as _0x4b467f}from'ckeditor5/src/core.js';import{Notification as _0x266d24}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3165e2}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x477e81}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3c14c2}from'../uploadcareediting.js';function _0x1b2d(_0x42235d,_0x93e9aa){const _0x4b773b=_0x4b77();return _0x1b2d=function(_0x1b2d6b,_0x5e587e){_0x1b2d6b=_0x1b2d6b-0x74;let _0x3eecb0=_0x4b773b[_0x1b2d6b];return _0x3eecb0;},_0x1b2d(_0x42235d,_0x93e9aa);}export class UploadcareImageEditEditing extends _0x4b467f{static get[_0x5206cf(0x80)](){const _0x306ac9=_0x5206cf;return _0x306ac9(0x87);}static get[_0x5206cf(0x7a)](){const _0x3cfbd0=_0x5206cf;return[_0x3c14c2,_0x266d24,_0x3cfbd0(0x7f),_0x3cfbd0(0x84)];}static get[_0x5206cf(0x7c)](){return!0x0;}static get[_0x5206cf(0x88)](){return!0x0;}[_0x5206cf(0x86)](){const _0x26ac21=_0x5206cf,{editor:_0x2e2238}=this;_0x2e2238[_0x26ac21(0x77)][_0x26ac21(0x7b)](_0x26ac21(0x7e),new _0x3165e2(_0x2e2238)),_0x2e2238[_0x26ac21(0x77)][_0x26ac21(0x7b)](_0x26ac21(0x78),new _0x477e81(_0x2e2238));}}function _0x4b77(){const _0x1830b6=['5243176uIvqHE','3164oTWfJD','commands','uploadcareImageReplace','3995988PKJuQD','requires','add','isOfficialPlugin','8409990qzqBMX','uploadcareImageEdit','ImageUtils','pluginName','782053KNDcEx','5437323kPFZMz','7mDgwbQ','ImageEditing','9410bTxKgW','init','UploadcareImageEditEditing','isPremiumPlugin','51iStqqa','204290zGoDlF'];_0x4b77=function(){return _0x1830b6;};return _0x4b77();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x24e439}from'ckeditor5/src/core.js';import{ButtonView as _0x537c8c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f444b}from'ckeditor5/src/icons.js';import{createElement as _0x2c7680}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x24e439{['_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 _0x44992b=this['editor'];_0x44992b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x38e659=>{const _0x5b2e25=_0x44992b['commands']['get']('uploadcareImageEdit'),_0x482b85=new _0x537c8c(_0x38e659),t=_0x38e659['t'];return _0x482b85['set']({'icon':_0x1f444b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x482b85['bind']('isEnabled')['to'](_0x5b2e25),_0x482b85['bind']('isOn')['to'](_0x5b2e25,'isActive'),this['listenTo'](_0x482b85,'execute',()=>{_0x44992b['execute']('uploadcareImageEdit'),_0x44992b['editing']['view']['focus']();}),_0x482b85;}),this['_initConfig']();}['_initConfig'](){const _0xc0ba7c=_0x2c7680(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc0ba7c),this['listenTo'](this['editor'],'destroy',()=>{_0xc0ba7c['remove']();});}}
23
+ import{Plugin as _0x53c0c7}from'ckeditor5/src/core.js';import{ButtonView as _0x354aa2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x24cc04}from'ckeditor5/src/icons.js';import{createElement as _0x5cae69}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x53c0c7{['_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 _0x33d475=this['editor'];_0x33d475['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50313f=>{const _0x5be01f=_0x33d475['commands']['get']('uploadcareImageEdit'),_0x46a354=new _0x354aa2(_0x50313f),t=_0x50313f['t'];return _0x46a354['set']({'icon':_0x24cc04,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x46a354['bind']('isEnabled')['to'](_0x5be01f),_0x46a354['bind']('isOn')['to'](_0x5be01f,'isActive'),this['listenTo'](_0x46a354,'execute',()=>{_0x33d475['execute']('uploadcareImageEdit'),_0x33d475['editing']['view']['focus']();}),_0x46a354;}),this['_initConfig']();}['_initConfig'](){const _0x39d4fe=_0x5cae69(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x39d4fe),this['listenTo'](this['editor'],'destroy',()=>{_0x39d4fe['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c5f(_0x41b318,_0xea43cb){const _0x19ac81=_0x19ac();return _0x2c5f=function(_0x2c5f10,_0x462697){_0x2c5f10=_0x2c5f10-0x7a;let _0x32a106=_0x19ac81[_0x2c5f10];return _0x32a106;},_0x2c5f(_0x41b318,_0xea43cb);}const _0x56bdbe=_0x2c5f;(function(_0x22b329,_0x4861d6){const _0x5c2956=_0x2c5f,_0x5ed9b6=_0x22b329();while(!![]){try{const _0x398537=-parseInt(_0x5c2956(0x8c))/0x1*(-parseInt(_0x5c2956(0x7a))/0x2)+-parseInt(_0x5c2956(0x88))/0x3*(-parseInt(_0x5c2956(0x8e))/0x4)+-parseInt(_0x5c2956(0x89))/0x5*(parseInt(_0x5c2956(0x86))/0x6)+-parseInt(_0x5c2956(0x8b))/0x7*(-parseInt(_0x5c2956(0x80))/0x8)+-parseInt(_0x5c2956(0x90))/0x9+parseInt(_0x5c2956(0x7c))/0xa+-parseInt(_0x5c2956(0x93))/0xb*(parseInt(_0x5c2956(0x8d))/0xc);if(_0x398537===_0x4861d6)break;else _0x5ed9b6['push'](_0x5ed9b6['shift']());}catch(_0x483d35){_0x5ed9b6['push'](_0x5ed9b6['shift']());}}}(_0x19ac,0xe0149));import{Command as _0x15185f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x15185f{[_0x56bdbe(0x7f)](){const _0x27826d=_0x56bdbe,_0x401a02=this[_0x27826d(0x83)][_0x27826d(0x91)][_0x27826d(0x82)][_0x27826d(0x84)][_0x27826d(0x87)]();this[_0x27826d(0x85)]=Boolean(_0x401a02&&(_0x401a02['is'](_0x27826d(0x81),_0x27826d(0x95))||_0x401a02['is'](_0x27826d(0x81),_0x27826d(0x7e))));}[_0x56bdbe(0x7b)](_0x320fcf){const _0xaaf8f6=_0x56bdbe,_0xc2f756=this[_0xaaf8f6(0x83)][_0xaaf8f6(0x91)][_0xaaf8f6(0x82)][_0xaaf8f6(0x84)][_0xaaf8f6(0x87)]();this[_0xaaf8f6(0x83)][_0xaaf8f6(0x91)][_0xaaf8f6(0x7d)](_0xc72747=>{const _0x200026=_0xaaf8f6;_0xc72747[_0x200026(0x92)](_0x320fcf,_0xc2f756),_0xc72747[_0x200026(0x8f)](_0x200026(0x8a),_0xc2f756),_0xc72747[_0x200026(0x8f)](_0x200026(0x94),_0xc2f756);});}}function _0x19ac(){const _0x4e832c=['10972591ciMlfr','2338MWyErd','2784JqFqvL','1480yyGSzG','removeAttribute','9700020QfkuJn','model','setAttributes','33121aziUbn','sizes','imageBlock','278IXEmGV','execute','14152220yilzhx','change','imageInline','refresh','8TfIDYi','element','document','editor','selection','isEnabled','3492maymfc','getSelectedElement','150EAkuRM','5430bIpnze','srcset'];_0x19ac=function(){return _0x4e832c;};return _0x19ac();}
23
+ const _0x4c5695=_0x561c;function _0x561c(_0x165360,_0x5ec7bc){const _0x5ae19d=_0x5ae1();return _0x561c=function(_0x561c0e,_0x3af6ee){_0x561c0e=_0x561c0e-0x137;let _0x1950c6=_0x5ae19d[_0x561c0e];return _0x1950c6;},_0x561c(_0x165360,_0x5ec7bc);}function _0x5ae1(){const _0x369a43=['80eOSwZZ','change','element','548217IpTZJV','1087938RmAYto','isEnabled','editor','1679136wdbdkn','getSelectedElement','755500UIPUIj','removeAttribute','imageInline','refresh','292xUMZrk','28pAAnsR','sizes','setAttributes','execute','model','57786QKOZfF','601DhNHwP','1134PpObNG','imageBlock','selection','srcset','document'];_0x5ae1=function(){return _0x369a43;};return _0x5ae1();}(function(_0x385cbf,_0x53c84f){const _0x1bf83b=_0x561c,_0x45f5e6=_0x385cbf();while(!![]){try{const _0x4dd491=-parseInt(_0x1bf83b(0x143))/0x1*(-parseInt(_0x1bf83b(0x144))/0x2)+parseInt(_0x1bf83b(0x14d))/0x3+parseInt(_0x1bf83b(0x13c))/0x4+parseInt(_0x1bf83b(0x138))/0x5+-parseInt(_0x1bf83b(0x142))/0x6*(-parseInt(_0x1bf83b(0x13d))/0x7)+-parseInt(_0x1bf83b(0x150))/0x8+-parseInt(_0x1bf83b(0x14c))/0x9*(parseInt(_0x1bf83b(0x149))/0xa);if(_0x4dd491===_0x53c84f)break;else _0x45f5e6['push'](_0x45f5e6['shift']());}catch(_0x42dc44){_0x45f5e6['push'](_0x45f5e6['shift']());}}}(_0x5ae1,0x2fd4a));import{Command as _0x3f3915}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3f3915{[_0x4c5695(0x13b)](){const _0xf3050=_0x4c5695,_0xaac12c=this[_0xf3050(0x14f)][_0xf3050(0x141)][_0xf3050(0x148)][_0xf3050(0x146)][_0xf3050(0x137)]();this[_0xf3050(0x14e)]=Boolean(_0xaac12c&&(_0xaac12c['is'](_0xf3050(0x14b),_0xf3050(0x145))||_0xaac12c['is'](_0xf3050(0x14b),_0xf3050(0x13a))));}[_0x4c5695(0x140)](_0x31d445){const _0x2773c2=_0x4c5695,_0x30a5e9=this[_0x2773c2(0x14f)][_0x2773c2(0x141)][_0x2773c2(0x148)][_0x2773c2(0x146)][_0x2773c2(0x137)]();this[_0x2773c2(0x14f)][_0x2773c2(0x141)][_0x2773c2(0x14a)](_0x4e6e19=>{const _0x4041f6=_0x2773c2;_0x4e6e19[_0x4041f6(0x13f)](_0x31d445,_0x30a5e9),_0x4e6e19[_0x4041f6(0x139)](_0x4041f6(0x147),_0x30a5e9),_0x4e6e19[_0x4041f6(0x139)](_0x4041f6(0x13e),_0x30a5e9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x473357=_0x1f3b;(function(_0x178154,_0x99507c){var _0x51ce98=_0x1f3b,_0x3a9ac1=_0x178154();while(!![]){try{var _0xbcae67=-parseInt(_0x51ce98(0x13d))/0x1+-parseInt(_0x51ce98(0x139))/0x2+parseInt(_0x51ce98(0x13f))/0x3*(-parseInt(_0x51ce98(0x13e))/0x4)+parseInt(_0x51ce98(0x13b))/0x5*(-parseInt(_0x51ce98(0x140))/0x6)+-parseInt(_0x51ce98(0x135))/0x7+-parseInt(_0x51ce98(0x137))/0x8+parseInt(_0x51ce98(0x136))/0x9;if(_0xbcae67===_0x99507c)break;else _0x3a9ac1['push'](_0x3a9ac1['shift']());}catch(_0x8b444d){_0x3a9ac1['push'](_0x3a9ac1['shift']());}}}(_0x2c70,0xc016a));import{Plugin as _0x5e8d2b}from'ckeditor5/src/core.js';function _0x1f3b(_0x5f004f,_0x8da6a9){var _0x2c7073=_0x2c70();return _0x1f3b=function(_0x1f3b28,_0x36b82c){_0x1f3b28=_0x1f3b28-0x135;var _0x1057ec=_0x2c7073[_0x1f3b28];return _0x1057ec;},_0x1f3b(_0x5f004f,_0x8da6a9);}import{UploadcareImageEditEditing as _0xc9410e}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xac22cf}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5e8d2b{static get[_0x473357(0x138)](){var _0x28f79c=_0x473357;return _0x28f79c(0x142);}static get[_0x473357(0x141)](){return[_0xc9410e,_0xac22cf];}static get[_0x473357(0x13a)](){return!0x0;}static get[_0x473357(0x13c)](){return!0x0;}}function _0x2c70(){var _0xfd8ef7=['52356ivGFHx','requires','UploadcareImageEdit','10731833dGlBFR','57685824rPPsyo','11094712bBLfWa','pluginName','1109752PvCwwK','isOfficialPlugin','340PtKmVA','isPremiumPlugin','696789EYvAxV','1143668AGJFDv','9oRLUeu'];_0x2c70=function(){return _0xfd8ef7;};return _0x2c70();}
23
+ var _0x449a9a=_0x279f;function _0x279f(_0xc97fe4,_0x48a2b9){var _0xe233a9=_0xe233();return _0x279f=function(_0x279fbb,_0x25535b){_0x279fbb=_0x279fbb-0x1eb;var _0x3d2857=_0xe233a9[_0x279fbb];return _0x3d2857;},_0x279f(_0xc97fe4,_0x48a2b9);}(function(_0x33251d,_0x4576ca){var _0x9e896d=_0x279f,_0x528863=_0x33251d();while(!![]){try{var _0x475bbe=-parseInt(_0x9e896d(0x1f0))/0x1*(-parseInt(_0x9e896d(0x1f7))/0x2)+-parseInt(_0x9e896d(0x1f8))/0x3+parseInt(_0x9e896d(0x1f5))/0x4*(parseInt(_0x9e896d(0x1fa))/0x5)+-parseInt(_0x9e896d(0x1f3))/0x6+-parseInt(_0x9e896d(0x1fb))/0x7*(parseInt(_0x9e896d(0x1ed))/0x8)+parseInt(_0x9e896d(0x1f2))/0x9*(parseInt(_0x9e896d(0x1ec))/0xa)+-parseInt(_0x9e896d(0x1ee))/0xb*(-parseInt(_0x9e896d(0x1eb))/0xc);if(_0x475bbe===_0x4576ca)break;else _0x528863['push'](_0x528863['shift']());}catch(_0x347e1c){_0x528863['push'](_0x528863['shift']());}}}(_0xe233,0x45ffe));import{Plugin as _0x2cfbeb}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xeaec52}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x51a226}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0xe233(){var _0x3387fe=['2749020HOhlcl','pluginName','4iqcKKa','isPremiumPlugin','720004vzZjjc','1457571TOTTIj','isOfficialPlugin','977035tUUqKF','91vBacDL','48qZXHyP','377570TAkOnE','94456xHsYIz','1967779qYvyyE','requires','1fowFAe','UploadcareImageEdit','27RHitfH'];_0xe233=function(){return _0x3387fe;};return _0xe233();}export class UploadcareImageEdit extends _0x2cfbeb{static get[_0x449a9a(0x1f4)](){var _0x55e4b3=_0x449a9a;return _0x55e4b3(0x1f1);}static get[_0x449a9a(0x1ef)](){return[_0xeaec52,_0x51a226];}static get[_0x449a9a(0x1f9)](){return!0x0;}static get[_0x449a9a(0x1f6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e878b=_0xad41;(function(_0x383eaf,_0x15abc6){const _0x11c984=_0xad41,_0x48c63e=_0x383eaf();while(!![]){try{const _0x2c25bc=parseInt(_0x11c984(0x182))/0x1*(-parseInt(_0x11c984(0x174))/0x2)+-parseInt(_0x11c984(0x19b))/0x3+-parseInt(_0x11c984(0x163))/0x4*(-parseInt(_0x11c984(0x161))/0x5)+parseInt(_0x11c984(0x173))/0x6+parseInt(_0x11c984(0x176))/0x7+parseInt(_0x11c984(0x156))/0x8*(-parseInt(_0x11c984(0x197))/0x9)+parseInt(_0x11c984(0x18d))/0xa*(parseInt(_0x11c984(0x184))/0xb);if(_0x2c25bc===_0x15abc6)break;else _0x48c63e['push'](_0x48c63e['shift']());}catch(_0x370961){_0x48c63e['push'](_0x48c63e['shift']());}}}(_0x4995,0x2e046));import{Plugin as _0x1c85d5}from'ckeditor5/src/core.js';import{IconDropbox as _0x12b42f,IconFacebook as _0x416ae4,IconGoogleDrive as _0x1a4ad8,IconGooglePhotos as _0x3399f0,IconUploadcareImageUpload as _0x41d61c,IconUploadcareLink as _0x582d79,IconOneDrive as _0x35ad16}from'ckeditor5/src/icons.js';import{ButtonView as _0xb4c6b0,MenuBarMenuListItemButtonView as _0x57e822}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2b5e53}from'./uploadcareconfig.js';import{getTranslation as _0x454498}from'./utils/common-translations.js';function _0x4995(){const _0x4ba33b=['has','config','pluginName','Local','upload','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','_createButton','label','763218hTTAHl','entries','uploadcareLicenseKeyValid','_getIntegrationKey','380229OZhAdL','licenseKey','init','get','isOfficialPlugin','_showLicenseError','afterInit','isImageSelected','Insert','text','bind','16NOLtex','GPhotos','URL','uploadcareLicenseKeyNotAllowed','expired','_createDropdownButtons','Uploadcare','registerIntegration','map','push','Replace','389780qIBWOA','_licenseKeyCheckInterval','4czLhxm','evaluationLimit','_createToolbarButton','tooltip','_createMenuBarButtons','UploadcareUI','ImageInsertUI','url','uploadcare.uploader.sourceList','withText','OneDrive','assetManager','_normalizeConfigSourceList','icon','GDrive','uploadcare','1648224nmqblf','6414OdfgJp','uploadcareLicenseKeyUsageLimit','1038359zawytG','uploadcareLicenseKeyEvaluationLimit','locale','forEach','shortText','Dropbox','reduce','destroy','Facebook','usageLimit','isEnabled','plugins','67QRRiOD','execute','2145aRQPsS','uploadcareLicenseKeyInvalid','editor','isPremiumPlugin','domainLimit','featureNotAllowed','type','commands','invalid','10190hNxLZv'];_0x4995=function(){return _0x4ba33b;};return _0x4995();}function _0xad41(_0x4e50b4,_0x1e6902){const _0x4995b4=_0x4995();return _0xad41=function(_0xad412b,_0x10776f){_0xad412b=_0xad412b-0x14c;let _0x764336=_0x4995b4[_0xad412b];return _0x764336;},_0xad41(_0x4e50b4,_0x1e6902);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1c85d5{[_0x1e878b(0x14c)];[_0x1e878b(0x162)];static get[_0x1e878b(0x190)](){const _0x19812d=_0x1e878b;return _0x19812d(0x168);}static get[_0x1e878b(0x14f)](){return!0x0;}static get[_0x1e878b(0x187)](){return!0x0;}[_0x1e878b(0x14d)](){const _0x5831c7=_0x1e878b;this[_0x5831c7(0x14c)]=this[_0x5831c7(0x186)][_0x5831c7(0x18f)][_0x5831c7(0x14e)](_0x5831c7(0x14c));const _0x13f31c=this[_0x5831c7(0x186)];this[_0x5831c7(0x162)]=setInterval(()=>{const _0x52ddab=_0x5831c7;let _0x477534;for(const _0xc0b30c in _0x13f31c){const _0x1d83fc=_0xc0b30c,_0x5a6e25=_0x13f31c[_0x1d83fc];if(_0x52ddab(0x199)==_0x5a6e25||_0x52ddab(0x185)==_0x5a6e25||_0x52ddab(0x193)==_0x5a6e25||_0x52ddab(0x194)==_0x5a6e25||_0x52ddab(0x159)==_0x5a6e25||_0x52ddab(0x177)==_0x5a6e25||_0x52ddab(0x175)==_0x5a6e25){delete _0x13f31c[_0x1d83fc],_0x477534=_0x5a6e25,clearInterval(this[_0x52ddab(0x162)]),this[_0x52ddab(0x162)]=void 0x0;break;}}_0x52ddab(0x185)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x18c)),_0x52ddab(0x193)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x15a)),_0x52ddab(0x194)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x188)),_0x52ddab(0x159)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x189),_0x52ddab(0x15c)),_0x52ddab(0x177)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x164)),_0x52ddab(0x175)==_0x477534&&_0x13f31c[_0x52ddab(0x150)](_0x52ddab(0x17f));},0x3e8);}[_0x1e878b(0x151)](){const _0x34404=_0x1e878b,{editor:_0x4d25c4}=this,_0x32287c=_0x4d25c4[_0x34404(0x18b)][_0x34404(0x14e)](_0x34404(0x172));if(!_0x32287c)return;const _0x30da39=this[_0x34404(0x16f)](_0x4d25c4[_0x34404(0x18f)][_0x34404(0x14e)](_0x34404(0x16b)))[_0x34404(0x17c)]((_0x39e858,_0x43364e)=>{const _0x54bda9=_0x34404,_0x40dc26=this[_0x54bda9(0x19a)](_0x43364e[_0x54bda9(0x18a)]);return _0x39e858[_0x40dc26]||(_0x39e858[_0x40dc26]=[]),_0x39e858[_0x40dc26][_0x54bda9(0x15f)](_0x43364e),_0x39e858;},{});_0x4d25c4[_0x34404(0x181)][_0x34404(0x18e)](_0x34404(0x169))&&_0x4d25c4[_0x34404(0x18b)][_0x34404(0x14e)](_0x34404(0x172))&&Object[_0x34404(0x198)](_0x30da39)[_0x34404(0x179)](([_0x472d50,_0x1b1134])=>{const _0x4f85ec=_0x34404;_0x4d25c4[_0x4f85ec(0x181)][_0x4f85ec(0x14e)](_0x4f85ec(0x169))[_0x4f85ec(0x15d)]({'name':_0x472d50,'observable':()=>_0x32287c,'buttonViewCreator':()=>this[_0x4f85ec(0x165)](_0x1b1134),'formViewCreator':()=>this[_0x4f85ec(0x15b)](_0x1b1134),'menuBarButtonViewCreator':()=>this[_0x4f85ec(0x167)](_0x1b1134),'override':_0x4f85ec(0x16e)!==_0x472d50});});}[_0x1e878b(0x17d)](){const _0x4797f2=_0x1e878b;super[_0x4797f2(0x17d)](),this[_0x4797f2(0x162)]&&clearInterval(this[_0x4797f2(0x162)]);}[_0x1e878b(0x16f)](_0x1170d0){const _0x559324=_0x1e878b,{locale:_0x2be1be}=this[_0x559324(0x186)];return _0x1170d0[_0x559324(0x15e)](_0x1d38bc=>{const _0x2d90d9=_0x559324,_0x105194=_0x454498(_0x2be1be,_0x1d38bc,_0x2d90d9(0x153));switch(_0x1d38bc){case _0x2b5e53[_0x2d90d9(0x191)]:return{'icon':_0x41d61c,'type':_0x2b5e53[_0x2d90d9(0x191)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x158)]:return{'icon':_0x582d79,'type':_0x2b5e53[_0x2d90d9(0x158)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x17b)]:return{'icon':_0x12b42f,'type':_0x2b5e53[_0x2d90d9(0x17b)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x17e)]:return{'icon':_0x416ae4,'type':_0x2b5e53[_0x2d90d9(0x17e)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x171)]:return{'icon':_0x1a4ad8,'type':_0x2b5e53[_0x2d90d9(0x171)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x157)]:return{'icon':_0x3399f0,'type':_0x2b5e53[_0x2d90d9(0x157)],..._0x105194};case _0x2b5e53[_0x2d90d9(0x16d)]:return{'icon':_0x35ad16,'type':_0x2b5e53[_0x2d90d9(0x16d)],..._0x105194};}});}[_0x1e878b(0x19a)](_0xb3ad14){const _0x1350b3=_0x1e878b;switch(_0xb3ad14){case _0x2b5e53[_0x1350b3(0x191)]:return _0x1350b3(0x192);case _0x2b5e53[_0x1350b3(0x158)]:return _0x1350b3(0x16a);default:return _0x1350b3(0x16e);}}[_0x1e878b(0x195)](_0x1284bb,_0x331c9d){const _0x10418a=_0x1e878b,_0x47b9f6=this[_0x10418a(0x186)],_0x368b00=new _0x1284bb(_0x47b9f6[_0x10418a(0x178)]),_0x362dd5=_0x47b9f6[_0x10418a(0x18b)][_0x10418a(0x14e)](_0x10418a(0x172));return _0x368b00[_0x10418a(0x155)](_0x10418a(0x180))['to'](_0x362dd5),_0x368b00['on'](_0x10418a(0x183),()=>{const _0x5139f9=_0x10418a;_0x362dd5[_0x5139f9(0x183)](_0x331c9d);}),_0x368b00;}[_0x1e878b(0x165)](_0x4df5e7){const _0x186f7d=_0x1e878b,{locale:_0xa55abd}=this[_0x186f7d(0x186)],_0x2c3f7c=this[_0x186f7d(0x186)][_0x186f7d(0x181)][_0x186f7d(0x14e)](_0x186f7d(0x169)),_0xb36d8e=_0x4df5e7[0x0],_0x5bf758=this[_0x186f7d(0x195)](_0xb4c6b0,_0xb36d8e[_0x186f7d(0x18a)]);return _0x5bf758[_0x186f7d(0x170)]=_0xb36d8e[_0x186f7d(0x170)],_0x5bf758[_0x186f7d(0x155)](_0x186f7d(0x196))['to'](_0x2c3f7c,_0x186f7d(0x152),_0xdd90f=>_0x454498(_0xa55abd,_0xb36d8e[_0x186f7d(0x18a)],_0xdd90f?_0x186f7d(0x160):_0x186f7d(0x153))[_0x186f7d(0x154)]),_0x5bf758[_0x186f7d(0x166)]=!0x0,_0x5bf758;}[_0x1e878b(0x15b)](_0x41fd40){const _0x3e52a6=_0x1e878b,{locale:_0x5cae6b}=this[_0x3e52a6(0x186)],_0x12304f=this[_0x3e52a6(0x186)][_0x3e52a6(0x181)][_0x3e52a6(0x14e)](_0x3e52a6(0x169));return _0x41fd40[_0x3e52a6(0x15e)](_0x4a6953=>{const _0x48458e=_0x3e52a6,_0x518be5=this[_0x48458e(0x195)](_0xb4c6b0,_0x4a6953[_0x48458e(0x18a)]);return _0x518be5[_0x48458e(0x16c)]=!0x0,_0x518be5[_0x48458e(0x170)]=_0x4a6953[_0x48458e(0x170)],_0x518be5[_0x48458e(0x155)](_0x48458e(0x196))['to'](_0x12304f,_0x48458e(0x152),_0x19d76c=>_0x454498(_0x5cae6b,_0x4a6953[_0x48458e(0x18a)],_0x19d76c?_0x48458e(0x160):_0x48458e(0x153))[_0x48458e(0x154)]),_0x518be5;});}[_0x1e878b(0x167)](_0x3fd20f){const _0x5b7432=_0x1e878b;return _0x3fd20f[_0x5b7432(0x15e)](_0x25630c=>{const _0x39b777=_0x5b7432,_0x22499b=this[_0x39b777(0x195)](_0x57e822,_0x25630c[_0x39b777(0x18a)]);return _0x22499b[_0x39b777(0x170)]=_0x25630c[_0x39b777(0x170)],_0x22499b[_0x39b777(0x196)]=_0x25630c[_0x39b777(0x17a)],_0x22499b;});}}
23
+ const _0x2b50ea=_0xb00c;(function(_0xdfe0d,_0xd4ca10){const _0x156027=_0xb00c,_0x57c4e3=_0xdfe0d();while(!![]){try{const _0x2779f0=-parseInt(_0x156027(0x1de))/0x1+-parseInt(_0x156027(0x1fb))/0x2*(-parseInt(_0x156027(0x1df))/0x3)+-parseInt(_0x156027(0x1e8))/0x4+parseInt(_0x156027(0x207))/0x5*(-parseInt(_0x156027(0x203))/0x6)+-parseInt(_0x156027(0x21b))/0x7+parseInt(_0x156027(0x1d9))/0x8*(parseInt(_0x156027(0x1f2))/0x9)+parseInt(_0x156027(0x211))/0xa;if(_0x2779f0===_0xd4ca10)break;else _0x57c4e3['push'](_0x57c4e3['shift']());}catch(_0x7db6e0){_0x57c4e3['push'](_0x57c4e3['shift']());}}}(_0x5a61,0xc7ad4));import{Plugin as _0x243f89}from'ckeditor5/src/core.js';import{IconDropbox as _0x56232d,IconFacebook as _0x5db304,IconGoogleDrive as _0x4d3608,IconGooglePhotos as _0x5cb202,IconUploadcareImageUpload as _0x31b135,IconUploadcareLink as _0x118b62,IconOneDrive as _0x1be175}from'ckeditor5/src/icons.js';import{ButtonView as _0x18394e,MenuBarMenuListItemButtonView as _0x4ee30a}from'ckeditor5/src/ui.js';function _0x5a61(){const _0x2faed7=['66PxJsDF','commands','_createToolbarButton','uploadcare','map','_createMenuBarButtons','assetManager','forEach','push','5381900EnhIMZ','url','get','uploadcareLicenseKeyValid','ImageInsertUI','execute','reduce','expired','pluginName','usageLimit','1026MPEvFG','Replace','label','_showLicenseError','uploadcareLicenseKeyDomainLimit','evaluationLimit','isEnabled','init','_createButton','66770DrwyoG','_createDropdownButtons','GPhotos','shortText','Uploadcare','entries','isImageSelected','URL','12AsGQzd','text','Local','licenseKey','2484985wxJzet','locale','uploadcareLicenseKeyEvaluationLimit','_normalizeConfigSourceList','config','uploadcareLicenseKeyInvalid','GDrive','isOfficialPlugin','type','_licenseKeyCheckInterval','32074580SGtBtO','OneDrive','editor','afterInit','_getIntegrationKey','uploadcareLicenseKeyExpired','uploadcare.uploader.sourceList','registerIntegration','Facebook','upload','10471888UozSZV','icon','Insert','has','domainLimit','plugins','isPremiumPlugin','UploadcareUI','destroy','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyNotAllowed','bind','tooltip','62976WmRGwG','featureNotAllowed','Dropbox','invalid','withText','186007XocGDs'];_0x5a61=function(){return _0x2faed7;};return _0x5a61();}function _0xb00c(_0xf80072,_0x286b0d){const _0x5a6180=_0x5a61();return _0xb00c=function(_0xb00cb0,_0x582ee4){_0xb00cb0=_0xb00cb0-0x1cd;let _0x2b9b4e=_0x5a6180[_0xb00cb0];return _0x2b9b4e;},_0xb00c(_0xf80072,_0x286b0d);}import{UploadcareSource as _0x1b1a48}from'./uploadcareconfig.js';import{getTranslation as _0x919168}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x243f89{[_0x2b50ea(0x206)];[_0x2b50ea(0x210)];static get[_0x2b50ea(0x1f0)](){const _0x21029e=_0x2b50ea;return _0x21029e(0x1d3);}static get[_0x2b50ea(0x20e)](){return!0x0;}static get[_0x2b50ea(0x1d2)](){return!0x0;}[_0x2b50ea(0x1f9)](){const _0x5ebadd=_0x2b50ea;this[_0x5ebadd(0x206)]=this[_0x5ebadd(0x213)][_0x5ebadd(0x20b)][_0x5ebadd(0x1ea)](_0x5ebadd(0x206));const _0x734bd1=this[_0x5ebadd(0x213)];this[_0x5ebadd(0x210)]=setInterval(()=>{const _0x202c34=_0x5ebadd;let _0x7cdb3e;for(const _0x2fd794 in _0x734bd1){const _0x3b9692=_0x2fd794,_0x4ea60e=_0x734bd1[_0x3b9692];if(_0x202c34(0x1eb)==_0x4ea60e||_0x202c34(0x20c)==_0x4ea60e||_0x202c34(0x216)==_0x4ea60e||_0x202c34(0x1f6)==_0x4ea60e||_0x202c34(0x1d6)==_0x4ea60e||_0x202c34(0x209)==_0x4ea60e||_0x202c34(0x1d5)==_0x4ea60e){delete _0x734bd1[_0x3b9692],_0x7cdb3e=_0x4ea60e,clearInterval(this[_0x202c34(0x210)]),this[_0x202c34(0x210)]=void 0x0;break;}}_0x202c34(0x20c)==_0x7cdb3e&&_0x734bd1[_0x202c34(0x1f5)](_0x202c34(0x1dc)),_0x202c34(0x216)==_0x7cdb3e&&_0x734bd1[_0x202c34(0x1f5)](_0x202c34(0x1ef)),_0x202c34(0x1f6)==_0x7cdb3e&&_0x734bd1[_0x202c34(0x1f5)](_0x202c34(0x1d0)),_0x202c34(0x1d6)==_0x7cdb3e&&_0x734bd1[_0x202c34(0x1f5)](_0x202c34(0x1da),_0x202c34(0x1ff)),_0x202c34(0x209)==_0x7cdb3e&&_0x734bd1[_0x202c34(0x1f5)](_0x202c34(0x1f7)),_0x202c34(0x1d5)==_0x7cdb3e&&_0x734bd1[_0x202c34(0x1f5)](_0x202c34(0x1f1));},0x3e8);}[_0x2b50ea(0x214)](){const _0x241436=_0x2b50ea,{editor:_0x3f1c78}=this,_0x161e4a=_0x3f1c78[_0x241436(0x1e0)][_0x241436(0x1ea)](_0x241436(0x1e2));if(!_0x161e4a)return;const _0x328d10=this[_0x241436(0x20a)](_0x3f1c78[_0x241436(0x20b)][_0x241436(0x1ea)](_0x241436(0x217)))[_0x241436(0x1ee)]((_0x3c4136,_0x50406e)=>{const _0x1c9076=_0x241436,_0xd13884=this[_0x1c9076(0x215)](_0x50406e[_0x1c9076(0x20f)]);return _0x3c4136[_0xd13884]||(_0x3c4136[_0xd13884]=[]),_0x3c4136[_0xd13884][_0x1c9076(0x1e7)](_0x50406e),_0x3c4136;},{});_0x3f1c78[_0x241436(0x1d1)][_0x241436(0x1cf)](_0x241436(0x1ec))&&_0x3f1c78[_0x241436(0x1e0)][_0x241436(0x1ea)](_0x241436(0x1e2))&&Object[_0x241436(0x200)](_0x328d10)[_0x241436(0x1e6)](([_0x23fcf7,_0xcf83fb])=>{const _0x455d26=_0x241436;_0x3f1c78[_0x455d26(0x1d1)][_0x455d26(0x1ea)](_0x455d26(0x1ec))[_0x455d26(0x218)]({'name':_0x23fcf7,'observable':()=>_0x161e4a,'buttonViewCreator':()=>this[_0x455d26(0x1e1)](_0xcf83fb),'formViewCreator':()=>this[_0x455d26(0x1fc)](_0xcf83fb),'menuBarButtonViewCreator':()=>this[_0x455d26(0x1e4)](_0xcf83fb),'override':_0x455d26(0x1e5)!==_0x23fcf7});});}[_0x2b50ea(0x1d4)](){const _0x305ace=_0x2b50ea;super[_0x305ace(0x1d4)](),this[_0x305ace(0x210)]&&clearInterval(this[_0x305ace(0x210)]);}[_0x2b50ea(0x20a)](_0x1b13e1){const _0x4d9cae=_0x2b50ea,{locale:_0x11b4cf}=this[_0x4d9cae(0x213)];return _0x1b13e1[_0x4d9cae(0x1e3)](_0xff680f=>{const _0x37bad5=_0x4d9cae,_0xe27f4d=_0x919168(_0x11b4cf,_0xff680f,_0x37bad5(0x1ce));switch(_0xff680f){case _0x1b1a48[_0x37bad5(0x205)]:return{'icon':_0x31b135,'type':_0x1b1a48[_0x37bad5(0x205)],..._0xe27f4d};case _0x1b1a48[_0x37bad5(0x202)]:return{'icon':_0x118b62,'type':_0x1b1a48[_0x37bad5(0x202)],..._0xe27f4d};case _0x1b1a48[_0x37bad5(0x1db)]:return{'icon':_0x56232d,'type':_0x1b1a48[_0x37bad5(0x1db)],..._0xe27f4d};case _0x1b1a48[_0x37bad5(0x219)]:return{'icon':_0x5db304,'type':_0x1b1a48[_0x37bad5(0x219)],..._0xe27f4d};case _0x1b1a48[_0x37bad5(0x20d)]:return{'icon':_0x4d3608,'type':_0x1b1a48[_0x37bad5(0x20d)],..._0xe27f4d};case _0x1b1a48[_0x37bad5(0x1fd)]:return{'icon':_0x5cb202,'type':_0x1b1a48[_0x37bad5(0x1fd)],..._0xe27f4d};case _0x1b1a48[_0x37bad5(0x212)]:return{'icon':_0x1be175,'type':_0x1b1a48[_0x37bad5(0x212)],..._0xe27f4d};}});}[_0x2b50ea(0x215)](_0x37298d){const _0x26c806=_0x2b50ea;switch(_0x37298d){case _0x1b1a48[_0x26c806(0x205)]:return _0x26c806(0x21a);case _0x1b1a48[_0x26c806(0x202)]:return _0x26c806(0x1e9);default:return _0x26c806(0x1e5);}}[_0x2b50ea(0x1fa)](_0x3e920c,_0x2db33b){const _0x5411c4=_0x2b50ea,_0x5f2ca5=this[_0x5411c4(0x213)],_0x25849f=new _0x3e920c(_0x5f2ca5[_0x5411c4(0x208)]),_0x30d182=_0x5f2ca5[_0x5411c4(0x1e0)][_0x5411c4(0x1ea)](_0x5411c4(0x1e2));return _0x25849f[_0x5411c4(0x1d7)](_0x5411c4(0x1f8))['to'](_0x30d182),_0x25849f['on'](_0x5411c4(0x1ed),()=>{const _0x52b7db=_0x5411c4;_0x30d182[_0x52b7db(0x1ed)](_0x2db33b);}),_0x25849f;}[_0x2b50ea(0x1e1)](_0x2c2616){const _0x1c11f0=_0x2b50ea,{locale:_0x41be8c}=this[_0x1c11f0(0x213)],_0x2b6b29=this[_0x1c11f0(0x213)][_0x1c11f0(0x1d1)][_0x1c11f0(0x1ea)](_0x1c11f0(0x1ec)),_0x3d32d6=_0x2c2616[0x0],_0x5deee8=this[_0x1c11f0(0x1fa)](_0x18394e,_0x3d32d6[_0x1c11f0(0x20f)]);return _0x5deee8[_0x1c11f0(0x1cd)]=_0x3d32d6[_0x1c11f0(0x1cd)],_0x5deee8[_0x1c11f0(0x1d7)](_0x1c11f0(0x1f4))['to'](_0x2b6b29,_0x1c11f0(0x201),_0x4b16b4=>_0x919168(_0x41be8c,_0x3d32d6[_0x1c11f0(0x20f)],_0x4b16b4?_0x1c11f0(0x1f3):_0x1c11f0(0x1ce))[_0x1c11f0(0x204)]),_0x5deee8[_0x1c11f0(0x1d8)]=!0x0,_0x5deee8;}[_0x2b50ea(0x1fc)](_0x291dd4){const _0x227c4b=_0x2b50ea,{locale:_0xe3be31}=this[_0x227c4b(0x213)],_0x325280=this[_0x227c4b(0x213)][_0x227c4b(0x1d1)][_0x227c4b(0x1ea)](_0x227c4b(0x1ec));return _0x291dd4[_0x227c4b(0x1e3)](_0x31523f=>{const _0x1b8b69=_0x227c4b,_0x25fc5f=this[_0x1b8b69(0x1fa)](_0x18394e,_0x31523f[_0x1b8b69(0x20f)]);return _0x25fc5f[_0x1b8b69(0x1dd)]=!0x0,_0x25fc5f[_0x1b8b69(0x1cd)]=_0x31523f[_0x1b8b69(0x1cd)],_0x25fc5f[_0x1b8b69(0x1d7)](_0x1b8b69(0x1f4))['to'](_0x325280,_0x1b8b69(0x201),_0x47b0ed=>_0x919168(_0xe3be31,_0x31523f[_0x1b8b69(0x20f)],_0x47b0ed?_0x1b8b69(0x1f3):_0x1b8b69(0x1ce))[_0x1b8b69(0x204)]),_0x25fc5f;});}[_0x2b50ea(0x1e4)](_0x50ccef){const _0x502f41=_0x2b50ea;return _0x50ccef[_0x502f41(0x1e3)](_0x29f06a=>{const _0x3364f8=_0x502f41,_0x58bf9d=this[_0x3364f8(0x1fa)](_0x4ee30a,_0x29f06a[_0x3364f8(0x20f)]);return _0x58bf9d[_0x3364f8(0x1cd)]=_0x29f06a[_0x3364f8(0x1cd)],_0x58bf9d[_0x3364f8(0x1f4)]=_0x29f06a[_0x3364f8(0x1fe)],_0x58bf9d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x431524}from'ckeditor5/src/core.js';import{FileRepository as _0x20cbe9}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x25b9fe}from'./uploadcareediting.js';import{UploadUtils as _0x551db4}from'./utils/uploadutils.js';import{getImageUrls as _0x38e620}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x431524{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x20cbe9,_0x25b9fe];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x35a111=this['editor'];if(!!!_0x35a111['config']['get']('uploadcare'))return;_0x35a111['plugins']['get'](_0x20cbe9)['createUploadAdapter']=_0x1cb0cb=>new k(_0x1cb0cb,_0x35a111),_0x35a111['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2d200e,{imageElement:_0x40f25b,data:_0x1aad7d})=>{_0x35a111['model']['change'](_0x1002e6=>{_0x1002e6['setAttribute']('uploadcareImageId',_0x1aad7d['uploadcareImageId'],_0x40f25b);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2a6771,_0x4acb92){this['loader']=_0x2a6771,this['editor']=_0x4acb92,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x377352=await this['loader']['file'];return _0x551db4['upload']({'file':_0x377352,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2b0ce8=>{_0x2b0ce8&&_0x2b0ce8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2b0ce8['value']);}})['then'](async _0x4f43b1=>{const {imageFallbackUrl:_0x172378,imageSources:_0x31cc8}=_0x38e620(_0x4f43b1['cdnUrl'],_0x4f43b1['imageInfo']['width']);return{'uploadcareImageId':_0x4f43b1['uuid'],'default':_0x172378,'sources':_0x31cc8};})['catch'](()=>{const _0x538e4d=t('Cannot\x20upload\x20file:')+('\x20'+_0x377352['name']+'.');return Promise['reject'](_0x538e4d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3a9531}from'ckeditor5/src/core.js';import{FileRepository as _0x4a3d2f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3172e7}from'./uploadcareediting.js';import{UploadUtils as _0x1878c9}from'./utils/uploadutils.js';import{getImageUrls as _0x39f041}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3a9531{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4a3d2f,_0x3172e7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x48fe04=this['editor'];if(!!!_0x48fe04['config']['get']('uploadcare'))return;_0x48fe04['plugins']['get'](_0x4a3d2f)['createUploadAdapter']=_0x64b609=>new k(_0x64b609,_0x48fe04),_0x48fe04['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x479be1,{imageElement:_0x195fab,data:_0x5ef67e})=>{_0x48fe04['model']['change'](_0x4dbff5=>{_0x4dbff5['setAttribute']('uploadcareImageId',_0x5ef67e['uploadcareImageId'],_0x195fab);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x165d42,_0x15679c){this['loader']=_0x165d42,this['editor']=_0x15679c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x162a1f=await this['loader']['file'];return _0x1878c9['upload']({'file':_0x162a1f,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3fe056=>{_0x3fe056&&_0x3fe056['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3fe056['value']);}})['then'](async _0x38d5ae=>{const {imageFallbackUrl:_0x3a0b97,imageSources:_0x408e62}=_0x39f041(_0x38d5ae['cdnUrl'],_0x38d5ae['imageInfo']['width']);return{'uploadcareImageId':_0x38d5ae['uuid'],'default':_0x3a0b97,'sources':_0x408e62};})['catch'](()=>{const _0x11aec1=t('Cannot\x20upload\x20file:')+('\x20'+_0x162a1f['name']+'.');return Promise['reject'](_0x11aec1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5302b3}from'../uploadcareconfig.js';export function getTranslation(_0x59cdb1,_0x3f4b03,_0x10e724){const t=_0x59cdb1['t'],_0x1e954d=_0x59cdb1['t'];switch(_0x3f4b03){case _0x5302b3['Local']:return{'text':_0x1e954d('Insert'===_0x10e724?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1e954d('From\x20computer')};case _0x5302b3['URL']:return{'text':'Insert'===_0x10e724?_0x1e954d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1e954d('Via\x20URL')};case _0x5302b3['Dropbox']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5302b3['Facebook']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5302b3['GDrive']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5302b3['GPhotos']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5302b3['OneDrive']:return{'text':t('Insert'===_0x10e724?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3f4b03;}}
23
+ import{UploadcareSource as _0x21c3b4}from'../uploadcareconfig.js';export function getTranslation(_0x391004,_0x3ac247,_0x20fe4e){const t=_0x391004['t'],_0x33fc49=_0x391004['t'];switch(_0x3ac247){case _0x21c3b4['Local']:return{'text':_0x33fc49('Insert'===_0x20fe4e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x33fc49('From\x20computer')};case _0x21c3b4['URL']:return{'text':'Insert'===_0x20fe4e?_0x33fc49('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x33fc49('Via\x20URL')};case _0x21c3b4['Dropbox']:return{'text':t('Insert'===_0x20fe4e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x21c3b4['Facebook']:return{'text':t('Insert'===_0x20fe4e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x21c3b4['GDrive']:return{'text':t('Insert'===_0x20fe4e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x21c3b4['GPhotos']:return{'text':t('Insert'===_0x20fe4e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x21c3b4['OneDrive']:return{'text':t('Insert'===_0x20fe4e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3ac247;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x475b2a=_0x2a3a;(function(_0x1a4c31,_0x5b39c7){var _0x1565a9=_0x2a3a,_0x6b79e=_0x1a4c31();while(!![]){try{var _0x58e3f7=-parseInt(_0x1565a9(0x160))/0x1*(parseInt(_0x1565a9(0x15a))/0x2)+parseInt(_0x1565a9(0x158))/0x3+parseInt(_0x1565a9(0x16b))/0x4+parseInt(_0x1565a9(0x15d))/0x5*(-parseInt(_0x1565a9(0x162))/0x6)+-parseInt(_0x1565a9(0x15f))/0x7*(-parseInt(_0x1565a9(0x161))/0x8)+parseInt(_0x1565a9(0x169))/0x9*(-parseInt(_0x1565a9(0x164))/0xa)+parseInt(_0x1565a9(0x167))/0xb;if(_0x58e3f7===_0x5b39c7)break;else _0x6b79e['push'](_0x6b79e['shift']());}catch(_0x46f882){_0x6b79e['push'](_0x6b79e['shift']());}}}(_0x428a,0xe7aa5));function _0x2a3a(_0xc51db8,_0x238364){var _0x428ae1=_0x428a();return _0x2a3a=function(_0x2a3a23,_0x1d57fb){_0x2a3a23=_0x2a3a23-0x158;var _0x34a404=_0x428ae1[_0x2a3a23];return _0x34a404;},_0x2a3a(_0xc51db8,_0x238364);}import{FocusTracker as _0x80ebd0}from'ckeditor5/src/utils.js';import{View as _0x34334f,FocusCycler as _0x330a7d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x34334f{[_0x475b2a(0x15b)];[_0x475b2a(0x159)];constructor(_0x28e30e){var _0x21456e=_0x475b2a;super(_0x28e30e),this[_0x21456e(0x15b)]=new _0x80ebd0(),this[_0x21456e(0x159)]=new _0x330a7d({'focusables':this[_0x21456e(0x168)](),'focusTracker':this[_0x21456e(0x15b)]});}[_0x475b2a(0x166)](){var _0x23fa80=_0x475b2a;return{'tag':_0x23fa80(0x163),'attributes':{'aria-hidden':_0x23fa80(0x15c),'tabindex':'0'},'on':{'focus':this[_0x23fa80(0x15e)]['to'](()=>{var _0x4c1efa=_0x23fa80;this[_0x4c1efa(0x159)][_0x4c1efa(0x165)](_0x4c1efa(0x16a));})}};}}function _0x428a(){var _0x4ee7bf=['4923YLdPWt','forwardCycle','5289312FqlpUI','5020185OTjdaT','focusCycler','134KJpNXF','focusTracker','true','5RzPmKq','bindTemplate','14pvscmm','26027fnnEje','860968XxJDEi','4540494LDcuoU','div','31030CqPTZp','fire','getFocusableElement','21294185ZOchgV','createCollection'];_0x428a=function(){return _0x4ee7bf;};return _0x428a();}
23
+ var _0x464690=_0x50b2;(function(_0x2623ba,_0x240ab8){var _0x162a27=_0x50b2,_0x22a38f=_0x2623ba();while(!![]){try{var _0x5351a9=-parseInt(_0x162a27(0xed))/0x1*(-parseInt(_0x162a27(0xeb))/0x2)+-parseInt(_0x162a27(0xea))/0x3+parseInt(_0x162a27(0xef))/0x4*(-parseInt(_0x162a27(0xf8))/0x5)+-parseInt(_0x162a27(0xf4))/0x6*(parseInt(_0x162a27(0xf6))/0x7)+parseInt(_0x162a27(0xee))/0x8+parseInt(_0x162a27(0xec))/0x9+-parseInt(_0x162a27(0xf7))/0xa*(-parseInt(_0x162a27(0xf0))/0xb);if(_0x5351a9===_0x240ab8)break;else _0x22a38f['push'](_0x22a38f['shift']());}catch(_0x34ad68){_0x22a38f['push'](_0x22a38f['shift']());}}}(_0x1cdc,0xc9f78));function _0x50b2(_0x42e56a,_0xb28ed0){var _0x1cdc5d=_0x1cdc();return _0x50b2=function(_0x50b257,_0x3abc56){_0x50b257=_0x50b257-0xe6;var _0xa713ee=_0x1cdc5d[_0x50b257];return _0xa713ee;},_0x50b2(_0x42e56a,_0xb28ed0);}import{FocusTracker as _0x41708b}from'ckeditor5/src/utils.js';import{View as _0x29807b,FocusCycler as _0x3cfe66}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1cdc(){var _0x12e3e8=['forwardCycle','focusCycler','66xigvvS','true','294266pMGwNA','9188510sfsEzn','190555LXGTRR','createCollection','fire','focusTracker','bindTemplate','getFocusableElement','3489447LwRgpa','878bmbjLj','582453QCAXUZ','373dUkwJh','11325232QQwfEK','108EGFinA','22IXVdNr','div'];_0x1cdc=function(){return _0x12e3e8;};return _0x1cdc();}export class DialogFocusManagerView extends _0x29807b{[_0x464690(0xe7)];[_0x464690(0xf3)];constructor(_0x374c09){var _0x9cee9=_0x464690;super(_0x374c09),this[_0x9cee9(0xe7)]=new _0x41708b(),this[_0x9cee9(0xf3)]=new _0x3cfe66({'focusables':this[_0x9cee9(0xf9)](),'focusTracker':this[_0x9cee9(0xe7)]});}[_0x464690(0xe9)](){var _0x164fe5=_0x464690;return{'tag':_0x164fe5(0xf1),'attributes':{'aria-hidden':_0x164fe5(0xf5),'tabindex':'0'},'on':{'focus':this[_0x164fe5(0xe8)]['to'](()=>{var _0x51f7a3=_0x164fe5;this[_0x51f7a3(0xf3)][_0x51f7a3(0xe6)](_0x51f7a3(0xf2));})}};}}