@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251001.0 → 0.0.0-nightly-20251003.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cfba5=_0x2271;(function(_0xda2bb1,_0x392556){const _0x32bfa4=_0x2271,_0x55e77c=_0xda2bb1();while(!![]){try{const _0x33c713=parseInt(_0x32bfa4(0xdf))/0x1*(parseInt(_0x32bfa4(0xb4))/0x2)+parseInt(_0x32bfa4(0xbe))/0x3+-parseInt(_0x32bfa4(0xd9))/0x4+parseInt(_0x32bfa4(0xb9))/0x5*(parseInt(_0x32bfa4(0xcf))/0x6)+parseInt(_0x32bfa4(0xae))/0x7*(parseInt(_0x32bfa4(0xeb))/0x8)+parseInt(_0x32bfa4(0xbb))/0x9+-parseInt(_0x32bfa4(0xb2))/0xa;if(_0x33c713===_0x392556)break;else _0x55e77c['push'](_0x55e77c['shift']());}catch(_0x186169){_0x55e77c['push'](_0x55e77c['shift']());}}}(_0x5ec9,0xee5da));import{Plugin as _0x409dfa}from'ckeditor5/src/core.js';function _0x2271(_0x7f4983,_0x4e4d28){const _0x5ec990=_0x5ec9();return _0x2271=function(_0x227197,_0x358452){_0x227197=_0x227197-0xa2;let _0x15d31a=_0x5ec990[_0x227197];return _0x15d31a;},_0x2271(_0x7f4983,_0x4e4d28);}import{Dialog as _0x5ce83d}from'ckeditor5/src/ui.js';import{createElement as _0x4ea8a4,global as _0x1c2d5a,uid as _0x3468c3}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1e8b2b}from'./uploadcarecommand.js';function _0x5ec9(){const _0x43c16b=['true','678438BFcGdk','input[uploadcare-file-input]','isPremiumPlugin','closeMax','getSelectedElement','uc-upload-ctx-provider','replaceImageSource','view','render','destroy','5127800AuocVs','uploadcare','uploadcare.uploader','cleanupImage','requires','join','879829JbnIyG','extend','uc-config','_initImageProcessingIndicator','get','configElement','href','PictureEditing','uploadcareImageId','add','appendChild','uploadcare.pubkey','32uhryBQ','schema','uploadcareImageReplace','_initConversion','getAttribute','_initSchema','#uc-icon-arrow-down','iconHrefResolver','elementToAttribute','init','querySelector','_initConfig','fromCharCode','conversion','ctxElement','uploader-','contentLanguage','imageInline','attributeToAttribute','body','UploadcareEditing','once','ucContextId','imageBlock','3021067svckeD','config','removeAttribute','execute','39480920JfZUKI','_initCtx','4erjfJf','downcast','document','insertImage','selection','20dpNDfw','for','13877496cSKAVV','isRegistered','data-uc-image-id','2178510MvjBmp','\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','map','isOfficialPlugin','remove','editor','locale','pluginName','model','_configElement','editing','afterInit','_ctxElement','listenTo','upcast','commands'];_0x5ec9=function(){return _0x43c16b;};return _0x5ec9();}import{UploadcareUploadAdapter as _0x3c6c22}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x28d16b}from'./utils/editingutils.js';export class UploadcareEditing extends _0x409dfa{[_0x5cfba5(0xc7)]=null;[_0x5cfba5(0xca)]=null;static get[_0x5cfba5(0xc5)](){const _0x455f52=_0x5cfba5;return _0x455f52(0xaa);}static get[_0x5cfba5(0xdd)](){const _0x192067=_0x5cfba5;return[_0x192067(0xe6),_0x3c6c22,_0x5ce83d];}static get[_0x5cfba5(0xc1)](){return!0x0;}static get[_0x5cfba5(0xd1)](){return!0x0;}[_0x5cfba5(0xac)];get[_0x5cfba5(0xe4)](){const _0x27ad42=_0x5cfba5;return this[_0x27ad42(0xc7)];}get[_0x5cfba5(0xa4)](){const _0x2298b8=_0x5cfba5;return this[_0x2298b8(0xca)];}constructor(_0x54f774){const _0x206ced=_0x5cfba5;super(_0x54f774),this[_0x206ced(0xac)]=_0x3468c3();}[_0x5cfba5(0xf4)](){const _0xe28b97=_0x5cfba5,_0x46c81b=this[_0xe28b97(0xc3)];_0x46c81b[_0xe28b97(0xcd)][_0xe28b97(0xe8)](_0xe28b97(0xda),new _0x1e8b2b(_0x46c81b));}[_0x5cfba5(0xc9)](){const _0x4fa84d=_0x5cfba5;this[_0x4fa84d(0xf0)](),this[_0x4fa84d(0xee)](),this[_0x4fa84d(0xf6)](),this[_0x4fa84d(0xb3)](),this[_0x4fa84d(0xe2)](),this[_0x4fa84d(0xcb)](this[_0x4fa84d(0xc3)],_0x4fa84d(0xd8),()=>{const _0xb92bfb=_0x4fa84d;this[_0xb92bfb(0xc7)]&&(this[_0xb92bfb(0xc7)][_0xb92bfb(0xc2)](),this[_0xb92bfb(0xc7)]=null),this[_0xb92bfb(0xca)]&&(this[_0xb92bfb(0xca)][_0xb92bfb(0xc2)](),this[_0xb92bfb(0xca)]=null);const _0x5cf34b=_0x1c2d5a[_0xb92bfb(0xb6)][_0xb92bfb(0xf5)](_0xb92bfb(0xd0));_0x5cf34b&&_0x5cf34b[_0xb92bfb(0xc2)]();}),async function(_0xd144ba){const _0x1850c2=_0x361157([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x5d5aa2=0x3d8d0df,_0xe187d0=0x3dfa42f^_0x5d5aa2,_0x39414f=window[_0x361157([0x44,0x61,0x74,0x65])][_0x361157([0x6e,0x6f,0x77])](),_0x20ced9=_0xd144ba[_0x361157([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x94436b=new window[(_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x275415=>{_0x20ced9[_0x361157([0x6f,0x6e,0x63,0x65])](_0x361157([0x72,0x65,0x61,0x64,0x79]),_0x275415);}),_0x1c2770={[_0x361157([0x6b,0x74,0x79])]:_0x361157([0x45,0x43]),[_0x361157([0x75,0x73,0x65])]:_0x361157([0x73,0x69,0x67]),[_0x361157([0x63,0x72,0x76])]:_0x361157([0x50,0x2d,0x32,0x35,0x36]),[_0x361157([0x78])]:_0x361157([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]),[_0x361157([0x79])]:_0x361157([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]),[_0x361157([0x61,0x6c,0x67])]:_0x361157([0x45,0x53,0x32,0x35,0x36])},_0x5dfb15=_0x20ced9[_0x361157([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x361157([0x67,0x65,0x74])](_0x361157([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x416b17(){let _0x421be4,_0x3e6b23=null,_0x3d43e1=null;try{if(_0x5dfb15==_0x361157([0x47,0x50,0x4c]))return _0x361157([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x421be4=_0x4e285d(),!_0x421be4)return _0x361157([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x421be4[_0x361157([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d43e1=_0x349691(_0x421be4[_0x361157([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x421be4[_0x361157([0x6a,0x74,0x69])])),await _0x2afe51()?_0x396430()?_0x310f16()?_0x361157([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47159e()?(_0x421be4[_0x361157([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x361157([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e6b23=_0x4e9079(_0x361157([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x421be4[_0x361157([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x361157([0x74,0x72,0x69,0x61,0x6c])&&(_0x3e6b23=_0x4e9079(_0x361157([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3aed75()):_0x361157([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x361157([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x361157([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x361157([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x310f16(){const _0x533f0c=[_0x361157([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x361157([0x74,0x72,0x69,0x61,0x6c])][_0x361157([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421be4[_0x361157([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39414f/0x3e8:0xe10*_0xe187d0;return _0x421be4[_0x361157([0x65,0x78,0x70])]<_0x533f0c;}function _0x396430(){const _0x468c12=_0x421be4[_0x361157([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x468c12&&(!!_0x468c12[_0x361157([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361157([0x2a]))||!!_0x468c12[_0x361157([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361157([0x55,0x50,0x4c,0x43])));}function _0x47159e(){const _0x2b812b=_0x2271,_0x2fc2c3=_0x421be4[_0x361157([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fc2c3||0x0==_0x2fc2c3[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c2745}=new URL(window[_0x361157([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b812b(0xe5)]);if(_0x2fc2c3[_0x361157([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2745))return!0x0;const _0x551e09=_0x3c2745[_0x361157([0x73,0x70,0x6c,0x69,0x74])](_0x361157([0x2e]));return _0x2fc2c3[_0x361157([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5490f6=>_0x5490f6[_0x361157([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x361157([0x2a])))[_0x361157([0x6d,0x61,0x70])](_0x10a62a=>_0x10a62a[_0x361157([0x73,0x70,0x6c,0x69,0x74])](_0x361157([0x2e])))[_0x361157([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf0325d=>_0xf0325d[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x551e09[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x361157([0x6d,0x61,0x70])](_0x402074=>Array(_0x551e09[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x402074[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x361157([0x66,0x69,0x6c,0x6c])](_0x402074[0x0]===_0x361157([0x2a])?_0x361157([0x2a]):'')[_0x361157([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x402074))[_0x361157([0x73,0x6f,0x6d,0x65])](_0x265591=>_0x551e09[_0x361157([0x65,0x76,0x65,0x72,0x79])]((_0x1b8620,_0x267b91)=>_0x265591[_0x267b91]===_0x1b8620||_0x265591[_0x267b91]===_0x361157([0x2a])));}function _0x3aed75(){return _0x3e6b23&&_0x3d43e1?new window[(_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4664df,_0x4ac92f)=>{_0x3e6b23[_0x361157([0x74,0x68,0x65,0x6e])](_0x4664df,_0x4ac92f),_0x3d43e1[_0x361157([0x74,0x68,0x65,0x6e])](_0x515ec0=>{_0x515ec0!=_0x361157([0x56,0x61,0x6c,0x69,0x64])&&_0x4664df(_0x515ec0);},_0x4ac92f);}):_0x3e6b23||_0x3d43e1||_0x361157([0x56,0x61,0x6c,0x69,0x64]);}}function _0x349691(_0xede031,_0xce1d26){return new window[(_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfe1f61=>{if(_0x51748c())return _0xfe1f61(_0x361157([0x56,0x61,0x6c,0x69,0x64]));_0x5804c2(),_0x20ced9[_0x361157([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x361157([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b1a72=!0x1;const _0x5ee0be=_0x3468c3();function _0x253011(_0x2271ec){return!!_0x2271ec&&(typeof _0x2271ec===_0x361157([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2271ec===_0x361157([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2271ec[_0x361157([0x74,0x68,0x65,0x6e])]===_0x361157([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2271ec[_0x361157([0x63,0x61,0x74,0x63,0x68])]===_0x361157([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14d8f4(_0x49d466){_0x156ae6(_0x49d466)[_0x361157([0x74,0x68,0x65,0x6e])](_0xdfdcf1=>{if(!_0xdfdcf1||_0xdfdcf1[_0x361157([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x361157([0x6f,0x6b]))return _0x361157([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17ece4(_0x47c1d1(_0x5ee0be+_0xce1d26))!=_0xdfdcf1[_0x361157([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x361157([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x361157([0x56,0x61,0x6c,0x69,0x64]);})[_0x361157([0x74,0x68,0x65,0x6e])](_0x30dde8=>(_0x2d6e21(),_0x30dde8),()=>{const _0xeba002=_0x347bd4();return null==_0xeba002?(_0x2d6e21(),_0x361157([0x56,0x61,0x6c,0x69,0x64])):_0x361157(_0x39414f-_0xeba002>(0x27d454df^_0x5d5aa2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x361157([0x74,0x68,0x65,0x6e])](_0xfe1f61)[_0x361157([0x63,0x61,0x74,0x63,0x68])](()=>{_0xfe1f61(_0x361157([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1394b6=0x3ee3e5f^_0x5d5aa2;function _0x2d6e21(){const _0x45700c=_0x361157([0x6c,0x6c,0x63,0x74,0x2d])+_0x17ece4(_0x47c1d1(_0xede031)),_0xef803a=_0x558722(_0x17ece4(window[_0x361157([0x4d,0x61,0x74,0x68])][_0x361157([0x63,0x65,0x69,0x6c])](_0x39414f/_0x1394b6)));window[_0x361157([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x361157([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45700c,_0xef803a);}function _0x347bd4(){const _0x4bfbc6=_0x361157([0x6c,0x6c,0x63,0x74,0x2d])+_0x17ece4(_0x47c1d1(_0xede031)),_0x915015=window[_0x361157([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x361157([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bfbc6);return _0x915015?window[_0x361157([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x558722(_0x915015),0x10)*_0x1394b6:null;}function _0x156ae6(_0x4ee63c){return new window[(_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x255ac4,_0x488836)=>{_0x4ee63c[_0x361157([0x74,0x68,0x65,0x6e])](_0x255ac4,_0x488836),window[_0x361157([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x488836,0x3d9041f^_0x5d5aa2);});}}_0x20ced9[_0x361157([0x6f,0x6e])](_0x361157([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12ecdc,_0x1915a2)=>{if(_0x1915a2[0x0]!=_0xede031)return _0xfe1f61(_0x361157([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1915a2[0x1]={..._0x1915a2[0x1],[_0x361157([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ee0be};},{[_0x361157([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x361157([0x68,0x69,0x67,0x68])}),_0x20ced9[_0x361157([0x6f,0x6e])](_0x361157([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x559d79=>{_0x253011(_0x559d79[_0x361157([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b1a72=!0x0,_0x14d8f4(_0x559d79[_0x361157([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x361157([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x361157([0x6c,0x6f,0x77])}),_0x94436b[_0x361157([0x74,0x68,0x65,0x6e])](()=>{_0x4b1a72||_0xfe1f61(_0x361157([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51748c(){return _0x20ced9[_0x361157([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x361157([0x76,0x69,0x65,0x77])][_0x361157([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x361157([0x61,0x75,0x74,0x6f]);}function _0x5804c2(){_0x20ced9[_0x361157([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x361157([0x76,0x69,0x65,0x77])][_0x361157([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x361157([0x61,0x75,0x74,0x6f]);}}function _0x4e9079(_0x322df9){const _0x513b19=[new window[(_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35570d=>setTimeout(_0x35570d,0x3d1ee13^_0x5d5aa2)),_0x94436b[_0x361157([0x74,0x68,0x65,0x6e])](()=>new window[(_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ddbc8=>{let _0x143b20=0x0;_0x20ced9[_0x361157([0x6d,0x6f,0x64,0x65,0x6c])][_0x361157([0x6f,0x6e])](_0x361157([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5de352,_0x12a57b)=>{_0x12a57b[0x0][_0x361157([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x143b20++,_0x143b20==(0x3d8d127^_0x5d5aa2)&&(_0x4ddbc8(),_0x5de352[_0x361157([0x6f,0x66,0x66])]());});}))];return window[_0x361157([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x361157([0x72,0x61,0x63,0x65])](_0x513b19)[_0x361157([0x74,0x68,0x65,0x6e])](()=>_0x322df9);}async function _0x50f568(){await _0x94436b,_0x20ced9[_0x361157([0x6d,0x6f,0x64,0x65,0x6c])][_0x361157([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d80b4,_0x20ced9[_0x361157([0x6d,0x6f,0x64,0x65,0x6c])][_0x361157([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d80b4,_0x20ced9[_0x361157([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x361157([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x200c61(_0x11f73b){const _0x38bd7a=_0x196dae();_0x20ced9[_0x38bd7a]=_0x361157([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11f73b,_0x11f73b!=_0x361157([0x56,0x61,0x6c,0x69,0x64])&&_0x50f568();}function _0x196dae(){const _0x32b218=window[_0x361157([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x361157([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x361157([0x6e,0x6f,0x77])]())[_0x361157([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x361157([0x2e]),'');let _0x1818a9=_0x361157([0x52]);for(let _0x4d4e87=0x0;_0x4d4e87<_0x32b218[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d4e87+=0x2){let _0x596b8a=window[_0x361157([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32b218[_0x361157([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d4e87,_0x4d4e87+0x2));_0x596b8a>=_0x1850c2[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x596b8a-=_0x1850c2[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1818a9+=_0x1850c2[_0x596b8a];}return _0x1818a9;}function _0x4e285d(){const _0x335c14=_0x5dfb15[_0x361157([0x73,0x70,0x6c,0x69,0x74])](_0x361157([0x2e]));if(0x3!=_0x335c14[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2da394(_0x335c14[0x1]);function _0x2da394(_0xbb16ab){const _0x1fec1a=_0x2e3d36(_0xbb16ab);return _0x1fec1a&&_0x5d6d97()?_0x1fec1a:null;function _0x5d6d97(){const _0x2bee06=_0x1fec1a[_0x361157([0x6a,0x74,0x69])],_0x559d97=window[_0x361157([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bee06[_0x361157([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bee06[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b9e48={..._0x1fec1a,[_0x361157([0x6a,0x74,0x69])]:_0x2bee06[_0x361157([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bee06[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b9e48[_0x361157([0x76,0x63])],_0x47c1d1(_0x2b9e48)==_0x559d97;}}}async function _0x2afe51(){let _0x33eb4d=!0x0;try{const _0x3d75f9=_0x5dfb15[_0x361157([0x73,0x70,0x6c,0x69,0x74])](_0x361157([0x2e])),[_0x159d58,_0x273114,_0x1c3ea2]=_0x3d75f9;return _0x5bdaad(_0x159d58),await _0x44d025(_0x159d58,_0x273114,_0x1c3ea2),_0x33eb4d;}catch{return!0x1;}function _0x5bdaad(_0x3078e6){const _0x374fbe=_0x2e3d36(_0x3078e6);_0x374fbe&&_0x374fbe[_0x361157([0x61,0x6c,0x67])]==_0x361157([0x45,0x53,0x32,0x35,0x36])||(_0x33eb4d=!0x1);}async function _0x44d025(_0x162460,_0x5ccab2,_0xb93e4e){const _0x2ddaa2=window[_0x361157([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x361157([0x66,0x72,0x6f,0x6d])](_0x2a4c75(_0xb93e4e),_0x2a2a49=>_0x2a2a49[_0x361157([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16a848=new window[(_0x361157([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x361157([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x162460+_0x361157([0x2e])+_0x5ccab2),_0x24c888=window[_0x361157([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x361157([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24c888)return;const _0x130d8f=await _0x24c888[_0x361157([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x361157([0x6a,0x77,0x6b]),_0x1c2770,{[_0x361157([0x6e,0x61,0x6d,0x65])]:_0x361157([0x45,0x43,0x44,0x53,0x41]),[_0x361157([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x361157([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x361157([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24c888[_0x361157([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x361157([0x6e,0x61,0x6d,0x65])]:_0x361157([0x45,0x43,0x44,0x53,0x41]),[_0x361157([0x68,0x61,0x73,0x68])]:{[_0x361157([0x6e,0x61,0x6d,0x65])]:_0x361157([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x130d8f,_0x2ddaa2,_0x16a848)||(_0x33eb4d=!0x1);}}function _0x2e3d36(_0x1df2ca){return _0x1df2ca[_0x361157([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x361157([0x65,0x79]))?JSON[_0x361157([0x70,0x61,0x72,0x73,0x65])](_0x2a4c75(_0x1df2ca)):null;}function _0x2a4c75(_0x10e160){return window[_0x361157([0x61,0x74,0x6f,0x62])](_0x10e160[_0x361157([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x361157([0x2b]))[_0x361157([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x361157([0x2f])));}function _0x47c1d1(_0x167fe7){let _0xa95b8a=0x1505;function _0x27283f(_0x4a3a99){for(let _0xba6984=0x0;_0xba6984<_0x4a3a99[_0x361157([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xba6984++){const _0xccd4cd=_0x4a3a99[_0x361157([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xba6984);_0xa95b8a=(_0xa95b8a<<0x5)+_0xa95b8a+_0xccd4cd,_0xa95b8a&=_0xa95b8a;}}function _0x3cd075(_0x31acd4){Array[_0x361157([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31acd4)?_0x31acd4[_0x361157([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cd075):_0x31acd4&&typeof _0x31acd4==_0x361157([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x361157([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31acd4)[_0x361157([0x73,0x6f,0x72,0x74])]()[_0x361157([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4be159,_0x1c46dd])=>{_0x27283f(_0x4be159),_0x3cd075(_0x1c46dd);}):_0x27283f(window[_0x361157([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31acd4));}return _0x3cd075(_0x167fe7),_0xa95b8a>>>0x0;}function _0x17ece4(_0x2ebb40){return _0x2ebb40[_0x361157([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x361157([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x361157([0x30]));}function _0x558722(_0x4aacbf){return _0x4aacbf[_0x361157([0x73,0x70,0x6c,0x69,0x74])]('')[_0x361157([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x361157([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d80b4(){}function _0x361157(_0x35660b){const _0x494e2d=_0x2271;return _0x35660b[_0x494e2d(0xc0)](_0xc662e=>String[_0x494e2d(0xa2)](_0xc662e))[_0x494e2d(0xde)]('');}_0x200c61(await _0x416b17());}(this);}[_0x5cfba5(0xf0)](){const _0xcb3071=_0x5cfba5,_0x2e2169=this[_0xcb3071(0xc3)][_0xcb3071(0xc6)][_0xcb3071(0xec)];_0x2e2169[_0xcb3071(0xbc)](_0xcb3071(0xad))&&_0x2e2169[_0xcb3071(0xe0)](_0xcb3071(0xad),{'allowAttributes':[_0xcb3071(0xe7)]}),_0x2e2169[_0xcb3071(0xbc)](_0xcb3071(0xa7))&&_0x2e2169[_0xcb3071(0xe0)](_0xcb3071(0xa7),{'allowAttributes':[_0xcb3071(0xe7)]});}[_0x5cfba5(0xee)](){const _0x3815a2=_0x5cfba5,_0xb4b189=this[_0x3815a2(0xc3)];_0xb4b189[_0x3815a2(0xa3)][_0x3815a2(0xba)](_0x3815a2(0xb5))[_0x3815a2(0xa8)]({'model':_0x3815a2(0xe7),'view':_0x3815a2(0xbd)}),_0xb4b189[_0x3815a2(0xa3)][_0x3815a2(0xba)](_0x3815a2(0xcc))[_0x3815a2(0xf3)]({'model':{'key':_0x3815a2(0xe7),'value':_0x21d718=>_0x21d718[_0x3815a2(0xef)](_0x3815a2(0xbd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2d1ebc=_0xb4b189[_0x3815a2(0xcd)][_0x3815a2(0xe3)](_0x3815a2(0xd5));_0x2d1ebc&&this[_0x3815a2(0xcb)](_0x2d1ebc,_0x3815a2(0xdc),(_0x326cfb,[_0x550614,_0x687a95])=>{const _0x160896=_0x3815a2;_0x550614[_0x160896(0xb0)](_0x160896(0xe7),_0x687a95);});}[_0x5cfba5(0xf6)](){const _0x1893b7=_0x5cfba5,_0x2174c5=this[_0x1893b7(0xc3)][_0x1893b7(0xaf)][_0x1893b7(0xe3)](_0x1893b7(0xdb))||{},_0x1ec02c=this[_0x1893b7(0xc3)][_0x1893b7(0xaf)][_0x1893b7(0xe3)](_0x1893b7(0xea))||'';this[_0x1893b7(0xc7)]=_0x4ea8a4(_0x1c2d5a[_0x1893b7(0xb6)],_0x1893b7(0xe1),{..._0x2174c5,'pubkey':_0x1ec02c,'ctx-name':_0x1893b7(0xa5)+this[_0x1893b7(0xac)],'sourceList':'','imgOnly':_0x1893b7(0xce),'removeCopyright':_0x1893b7(0xce),'localeName':this[_0x1893b7(0xc3)][_0x1893b7(0xc4)][_0x1893b7(0xa6)],'externalSourcesEmbedCss':_0x1893b7(0xbf)}),this[_0x1893b7(0xc7)][_0x1893b7(0xf2)]=_0x132900=>{const _0x280f9e=_0x1893b7;if(_0x280f9e(0xd2)==_0x132900)return _0x280f9e(0xf1);},_0x1c2d5a[_0x1893b7(0xb6)][_0x1893b7(0xa9)][_0x1893b7(0xe9)](this[_0x1893b7(0xc7)]);}[_0x5cfba5(0xb3)](){const _0x5dabec=_0x5cfba5;this[_0x5dabec(0xca)]=_0x4ea8a4(_0x1c2d5a[_0x5dabec(0xb6)],_0x5dabec(0xd4),{'ctx-name':_0x5dabec(0xa5)+this[_0x5dabec(0xac)]}),_0x1c2d5a[_0x5dabec(0xb6)][_0x5dabec(0xa9)][_0x5dabec(0xe9)](this[_0x5dabec(0xca)]);}[_0x5cfba5(0xe2)](){const _0x29f14e=_0x5cfba5,_0x1c4e19=this[_0x29f14e(0xc3)][_0x29f14e(0xcd)][_0x29f14e(0xe3)](_0x29f14e(0xb7));_0x1c4e19&&this[_0x29f14e(0xcb)](_0x1c4e19,_0x29f14e(0xb1),()=>{const _0x1ee339=_0x29f14e,_0x316a46=this[_0x1ee339(0xc3)][_0x1ee339(0xc6)][_0x1ee339(0xb6)][_0x1ee339(0xb8)][_0x1ee339(0xd3)]();_0x316a46&&_0x316a46[_0x1ee339(0xef)](_0x1ee339(0xe7))&&this[_0x1ee339(0xc3)][_0x1ee339(0xc8)][_0x1ee339(0xd6)][_0x1ee339(0xab)](_0x1ee339(0xd7),()=>{const _0x40d349=_0x1ee339;_0x28d16b(this[_0x40d349(0xc3)],_0x316a46);});});const _0x21e771=this[_0x29f14e(0xc3)][_0x29f14e(0xcd)][_0x29f14e(0xe3)](_0x29f14e(0xed));_0x21e771&&this[_0x29f14e(0xcb)](_0x21e771,_0x29f14e(0xb1),()=>{const _0x13b005=_0x29f14e,_0x55f8cb=this[_0x13b005(0xc3)][_0x13b005(0xc6)][_0x13b005(0xb6)][_0x13b005(0xb8)][_0x13b005(0xd3)]();_0x55f8cb&&_0x55f8cb[_0x13b005(0xef)](_0x13b005(0xe7))&&this[_0x13b005(0xc3)][_0x13b005(0xc8)][_0x13b005(0xd6)][_0x13b005(0xab)](_0x13b005(0xd7),()=>{const _0x1b4959=_0x13b005;_0x28d16b(this[_0x1b4959(0xc3)],_0x55f8cb);});});}}
23
+ function _0x2bd5(_0x18f1be,_0x32fe8e){const _0x520ccc=_0x520c();return _0x2bd5=function(_0x2bd526,_0xad23ca){_0x2bd526=_0x2bd526-0xdb;let _0x12c211=_0x520ccc[_0x2bd526];return _0x12c211;},_0x2bd5(_0x18f1be,_0x32fe8e);}const _0x163364=_0x2bd5;(function(_0x4df389,_0x485c94){const _0x4b4302=_0x2bd5,_0x3c4a3e=_0x4df389();while(!![]){try{const _0xa83091=parseInt(_0x4b4302(0xf7))/0x1+-parseInt(_0x4b4302(0x10d))/0x2+parseInt(_0x4b4302(0xed))/0x3*(parseInt(_0x4b4302(0x10c))/0x4)+parseInt(_0x4b4302(0x111))/0x5+-parseInt(_0x4b4302(0x114))/0x6+-parseInt(_0x4b4302(0x106))/0x7+parseInt(_0x4b4302(0x110))/0x8;if(_0xa83091===_0x485c94)break;else _0x3c4a3e['push'](_0x3c4a3e['shift']());}catch(_0x66b0b1){_0x3c4a3e['push'](_0x3c4a3e['shift']());}}}(_0x520c,0xb2bdb));function _0x520c(){const _0x960dbc=['ctxElement','listenTo','_initConfig','init','_initConversion','getAttribute','insertImage','extend','_ctxElement','join','render','fromCharCode','href','uc-config','isOfficialPlugin','uploadcareImageReplace','document','commands','ucContextId','locale','for','cleanupImage','_initCtx','schema','body','appendChild','map','model','imageBlock','afterInit','imageInline','getSelectedElement','add','execute','replaceImageSource','isPremiumPlugin','destroy','PictureEditing','_initSchema','iconHrefResolver','uploadcare.uploader','_configElement','upcast','230757PzxAfw','uploadcare','remove','UploadcareEditing','view','requires','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','config','selection','removeAttribute','1254667AXtKcK','isRegistered','conversion','contentLanguage','pluginName','downcast','data-uc-image-id','attributeToAttribute','closeMax','_initImageProcessingIndicator','true','editor','editing','input[uploadcare-file-input]','once','6160581TbNywm','querySelector','uc-upload-ctx-provider','#uc-icon-arrow-down','get','elementToAttribute','52tzOMhJ','2688678gsZbrH','uploader-','uploadcareImageId','6639984jJZkWk','2564735lkMDLM','uploadcare.pubkey','configElement','3846084jrRDZo'];_0x520c=function(){return _0x960dbc;};return _0x520c();}import{Plugin as _0x1869ba}from'ckeditor5/src/core.js';import{Dialog as _0x2c9028}from'ckeditor5/src/ui.js';import{createElement as _0x4629b9,global as _0x57dc5c,uid as _0x562abd}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x363299}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x14c9e4}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1a7714}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1869ba{[_0x163364(0xeb)]=null;[_0x163364(0x11d)]=null;static get[_0x163364(0xfb)](){const _0x1edec1=_0x163364;return _0x1edec1(0xf0);}static get[_0x163364(0xf2)](){const _0x520102=_0x163364;return[_0x520102(0xe7),_0x14c9e4,_0x2c9028];}static get[_0x163364(0x123)](){return!0x0;}static get[_0x163364(0xe5)](){return!0x0;}[_0x163364(0x127)];get[_0x163364(0x113)](){const _0x3da55c=_0x163364;return this[_0x3da55c(0xeb)];}get[_0x163364(0x115)](){const _0x36804f=_0x163364;return this[_0x36804f(0x11d)];}constructor(_0xc25ec3){const _0x1f3de0=_0x163364;super(_0xc25ec3),this[_0x1f3de0(0x127)]=_0x562abd();}[_0x163364(0x118)](){const _0x6344d9=_0x163364,_0x2eeed6=this[_0x6344d9(0x102)];_0x2eeed6[_0x6344d9(0x126)][_0x6344d9(0xe2)](_0x6344d9(0xee),new _0x363299(_0x2eeed6));}[_0x163364(0xdf)](){const _0x2de17d=_0x163364;this[_0x2de17d(0xe8)](),this[_0x2de17d(0x119)](),this[_0x2de17d(0x117)](),this[_0x2de17d(0x12b)](),this[_0x2de17d(0x100)](),this[_0x2de17d(0x116)](this[_0x2de17d(0x102)],_0x2de17d(0xe6),()=>{const _0x589a2a=_0x2de17d;this[_0x589a2a(0xeb)]&&(this[_0x589a2a(0xeb)][_0x589a2a(0xef)](),this[_0x589a2a(0xeb)]=null),this[_0x589a2a(0x11d)]&&(this[_0x589a2a(0x11d)][_0x589a2a(0xef)](),this[_0x589a2a(0x11d)]=null);const _0x2d204c=_0x57dc5c[_0x589a2a(0x125)][_0x589a2a(0x107)](_0x589a2a(0x104));_0x2d204c&&_0x2d204c[_0x589a2a(0xef)]();}),async function(_0x4e0c8c){const _0x1e5a1f=_0x9f7c2([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x23eaa3=0x3d8d0df,_0xa25c14=0x3dfa5ff^_0x23eaa3,_0xe18ed1=window[_0x9f7c2([0x44,0x61,0x74,0x65])][_0x9f7c2([0x6e,0x6f,0x77])](),_0x101bd7=_0x4e0c8c[_0x9f7c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56f837=new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6ce948=>{_0x101bd7[_0x9f7c2([0x6f,0x6e,0x63,0x65])](_0x9f7c2([0x72,0x65,0x61,0x64,0x79]),_0x6ce948);}),_0x49dbe5={[_0x9f7c2([0x6b,0x74,0x79])]:_0x9f7c2([0x45,0x43]),[_0x9f7c2([0x75,0x73,0x65])]:_0x9f7c2([0x73,0x69,0x67]),[_0x9f7c2([0x63,0x72,0x76])]:_0x9f7c2([0x50,0x2d,0x32,0x35,0x36]),[_0x9f7c2([0x78])]:_0x9f7c2([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]),[_0x9f7c2([0x79])]:_0x9f7c2([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]),[_0x9f7c2([0x61,0x6c,0x67])]:_0x9f7c2([0x45,0x53,0x32,0x35,0x36])},_0x27edfb=_0x101bd7[_0x9f7c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9f7c2([0x67,0x65,0x74])](_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa53d8f(){let _0x304028,_0x1131c4=null,_0x2e28d6=null;try{if(_0x27edfb==_0x9f7c2([0x47,0x50,0x4c]))return _0x9f7c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x304028=_0x21806a(),!_0x304028)return _0x9f7c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x304028[_0x9f7c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e28d6=_0xcc550a(_0x304028[_0x9f7c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x304028[_0x9f7c2([0x6a,0x74,0x69])])),await _0x2c9a7a()?_0x1bd476()?_0x1f6f44()?_0x9f7c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e14ff()?(_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9f7c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1131c4=_0x113215(_0x9f7c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9f7c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x1131c4=_0x113215(_0x9f7c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24dedf()):_0x9f7c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9f7c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9f7c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9f7c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6f44(){const _0x467a63=[_0x9f7c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9f7c2([0x74,0x72,0x69,0x61,0x6c])][_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe18ed1/0x3e8:0xe10*_0xa25c14;return _0x304028[_0x9f7c2([0x65,0x78,0x70])]<_0x467a63;}function _0x1bd476(){const _0x226e85=_0x304028[_0x9f7c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x226e85&&(!!_0x226e85[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7c2([0x2a]))||!!_0x226e85[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7c2([0x55,0x50,0x4c,0x43])));}function _0x4e14ff(){const _0x177949=_0x2bd5,_0x43771a=_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43771a||0x0==_0x43771a[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x330661}=new URL(window[_0x9f7c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x177949(0x121)]);if(_0x43771a[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x330661))return!0x0;const _0x150dc8=_0x330661[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e]));return _0x43771a[_0x9f7c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2faacd=>_0x2faacd[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7c2([0x2a])))[_0x9f7c2([0x6d,0x61,0x70])](_0x2507f5=>_0x2507f5[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e])))[_0x9f7c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x367783=>_0x367783[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x150dc8[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9f7c2([0x6d,0x61,0x70])](_0x1a5e12=>Array(_0x150dc8[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a5e12[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9f7c2([0x66,0x69,0x6c,0x6c])](_0x1a5e12[0x0]===_0x9f7c2([0x2a])?_0x9f7c2([0x2a]):'')[_0x9f7c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a5e12))[_0x9f7c2([0x73,0x6f,0x6d,0x65])](_0x416399=>_0x150dc8[_0x9f7c2([0x65,0x76,0x65,0x72,0x79])]((_0x4e801e,_0x35cb65)=>_0x416399[_0x35cb65]===_0x4e801e||_0x416399[_0x35cb65]===_0x9f7c2([0x2a])));}function _0x24dedf(){return _0x1131c4&&_0x2e28d6?new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b8213,_0x3774ee)=>{_0x1131c4[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x2b8213,_0x3774ee),_0x2e28d6[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x4d696d=>{_0x4d696d!=_0x9f7c2([0x56,0x61,0x6c,0x69,0x64])&&_0x2b8213(_0x4d696d);},_0x3774ee);}):_0x1131c4||_0x2e28d6||_0x9f7c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcc550a(_0x167983,_0x496435){return new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7e16=>{if(_0x10ef38())return _0x1b7e16(_0x9f7c2([0x56,0x61,0x6c,0x69,0x64]));_0x1c8e99(),_0x101bd7[_0x9f7c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9f7c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f8c9b=!0x1;const _0xb24451=_0x562abd();function _0x54ab0c(_0x164a18){return!!_0x164a18&&(typeof _0x164a18===_0x9f7c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x164a18===_0x9f7c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x164a18[_0x9f7c2([0x74,0x68,0x65,0x6e])]===_0x9f7c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x164a18[_0x9f7c2([0x63,0x61,0x74,0x63,0x68])]===_0x9f7c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x133095(_0x443999){_0x125fa6(_0x443999)[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x8171c5=>{if(!_0x8171c5||_0x8171c5[_0x9f7c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9f7c2([0x6f,0x6b]))return _0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c8ce4(_0x48fe58(_0xb24451+_0x496435))!=_0x8171c5[_0x9f7c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9f7c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x2c9d4f=>(_0x6c8152(),_0x2c9d4f),()=>{const _0x2aefaa=_0x508dda();return null==_0x2aefaa?(_0x6c8152(),_0x9f7c2([0x56,0x61,0x6c,0x69,0x64])):_0x9f7c2(_0xe18ed1-_0x2aefaa>(0x27d454df^_0x23eaa3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x1b7e16)[_0x9f7c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b7e16(_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x173345=0x3ee3e5f^_0x23eaa3;function _0x6c8152(){const _0x705498=_0x9f7c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c8ce4(_0x48fe58(_0x167983)),_0x10c3f1=_0x18839e(_0x4c8ce4(window[_0x9f7c2([0x4d,0x61,0x74,0x68])][_0x9f7c2([0x63,0x65,0x69,0x6c])](_0xe18ed1/_0x173345)));window[_0x9f7c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9f7c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x705498,_0x10c3f1);}function _0x508dda(){const _0x588cd3=_0x9f7c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c8ce4(_0x48fe58(_0x167983)),_0x564cd2=window[_0x9f7c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9f7c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x588cd3);return _0x564cd2?window[_0x9f7c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18839e(_0x564cd2),0x10)*_0x173345:null;}function _0x125fa6(_0x17f344){return new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37a095,_0x45ff77)=>{_0x17f344[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x37a095,_0x45ff77),window[_0x9f7c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45ff77,0x3d9041f^_0x23eaa3);});}}_0x101bd7[_0x9f7c2([0x6f,0x6e])](_0x9f7c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30f1fe,_0x1c0043)=>{if(_0x1c0043[0x0]!=_0x167983)return _0x1b7e16(_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c0043[0x1]={..._0x1c0043[0x1],[_0x9f7c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb24451};},{[_0x9f7c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9f7c2([0x68,0x69,0x67,0x68])}),_0x101bd7[_0x9f7c2([0x6f,0x6e])](_0x9f7c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5601bc=>{_0x54ab0c(_0x5601bc[_0x9f7c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f8c9b=!0x0,_0x133095(_0x5601bc[_0x9f7c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9f7c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9f7c2([0x6c,0x6f,0x77])}),_0x56f837[_0x9f7c2([0x74,0x68,0x65,0x6e])](()=>{_0x1f8c9b||_0x1b7e16(_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10ef38(){return _0x101bd7[_0x9f7c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9f7c2([0x76,0x69,0x65,0x77])][_0x9f7c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9f7c2([0x61,0x75,0x74,0x6f]);}function _0x1c8e99(){_0x101bd7[_0x9f7c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9f7c2([0x76,0x69,0x65,0x77])][_0x9f7c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9f7c2([0x61,0x75,0x74,0x6f]);}}function _0x113215(_0x30a513){const _0x4b608f=[new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x261e4e=>setTimeout(_0x261e4e,0x3d1ee13^_0x23eaa3)),_0x56f837[_0x9f7c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591816=>{let _0x445b66=0x0;_0x101bd7[_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f7c2([0x6f,0x6e])](_0x9f7c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3884f3,_0x131496)=>{_0x131496[0x0][_0x9f7c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x445b66++,_0x445b66==(0x3d8d127^_0x23eaa3)&&(_0x591816(),_0x3884f3[_0x9f7c2([0x6f,0x66,0x66])]());});}))];return window[_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9f7c2([0x72,0x61,0x63,0x65])](_0x4b608f)[_0x9f7c2([0x74,0x68,0x65,0x6e])](()=>_0x30a513);}async function _0x41c3cf(){await _0x56f837,_0x101bd7[_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f7c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x533a2a,_0x101bd7[_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f7c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x533a2a,_0x101bd7[_0x9f7c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x349cda(_0x2d0efe){const _0x26a337=_0x48a216();_0x101bd7[_0x26a337]=_0x9f7c2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d0efe,_0x2d0efe!=_0x9f7c2([0x56,0x61,0x6c,0x69,0x64])&&_0x41c3cf();}function _0x48a216(){const _0x14e479=window[_0x9f7c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9f7c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9f7c2([0x6e,0x6f,0x77])]())[_0x9f7c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9f7c2([0x2e]),'');let _0x145cbf=_0x9f7c2([0x52]);for(let _0x4e741a=0x0;_0x4e741a<_0x14e479[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e741a+=0x2){let _0x599e31=window[_0x9f7c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14e479[_0x9f7c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e741a,_0x4e741a+0x2));_0x599e31>=_0x1e5a1f[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x599e31-=_0x1e5a1f[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x145cbf+=_0x1e5a1f[_0x599e31];}return _0x145cbf;}function _0x21806a(){const _0x278a0b=_0x27edfb[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e]));if(0x3!=_0x278a0b[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x577093(_0x278a0b[0x1]);function _0x577093(_0x5ee160){const _0x1636bc=_0xb0ceaa(_0x5ee160);return _0x1636bc&&_0x19b5b6()?_0x1636bc:null;function _0x19b5b6(){const _0x23288b=_0x1636bc[_0x9f7c2([0x6a,0x74,0x69])],_0x2ed668=window[_0x9f7c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23288b[_0x9f7c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23288b[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53e4fe={..._0x1636bc,[_0x9f7c2([0x6a,0x74,0x69])]:_0x23288b[_0x9f7c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23288b[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53e4fe[_0x9f7c2([0x76,0x63])],_0x48fe58(_0x53e4fe)==_0x2ed668;}}}async function _0x2c9a7a(){let _0x58b10c=!0x0;try{const _0x59aa7c=_0x27edfb[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e])),[_0x34280c,_0x4607d5,_0x5c6a44]=_0x59aa7c;return _0x1528e8(_0x34280c),await _0x1cb926(_0x34280c,_0x4607d5,_0x5c6a44),_0x58b10c;}catch{return!0x1;}function _0x1528e8(_0x1f845a){const _0x4d98ab=_0xb0ceaa(_0x1f845a);_0x4d98ab&&_0x4d98ab[_0x9f7c2([0x61,0x6c,0x67])]==_0x9f7c2([0x45,0x53,0x32,0x35,0x36])||(_0x58b10c=!0x1);}async function _0x1cb926(_0xc22a3e,_0x4aad9c,_0x280cf6){const _0x1b11d3=window[_0x9f7c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9f7c2([0x66,0x72,0x6f,0x6d])](_0x2d1d17(_0x280cf6),_0x1355cf=>_0x1355cf[_0x9f7c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a724d=new window[(_0x9f7c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9f7c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc22a3e+_0x9f7c2([0x2e])+_0x4aad9c),_0x2484b4=window[_0x9f7c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9f7c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2484b4)return;const _0x2e4d68=await _0x2484b4[_0x9f7c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9f7c2([0x6a,0x77,0x6b]),_0x49dbe5,{[_0x9f7c2([0x6e,0x61,0x6d,0x65])]:_0x9f7c2([0x45,0x43,0x44,0x53,0x41]),[_0x9f7c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9f7c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9f7c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2484b4[_0x9f7c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9f7c2([0x6e,0x61,0x6d,0x65])]:_0x9f7c2([0x45,0x43,0x44,0x53,0x41]),[_0x9f7c2([0x68,0x61,0x73,0x68])]:{[_0x9f7c2([0x6e,0x61,0x6d,0x65])]:_0x9f7c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e4d68,_0x1b11d3,_0x2a724d)||(_0x58b10c=!0x1);}}function _0xb0ceaa(_0x463aa5){return _0x463aa5[_0x9f7c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9f7c2([0x65,0x79]))?JSON[_0x9f7c2([0x70,0x61,0x72,0x73,0x65])](_0x2d1d17(_0x463aa5)):null;}function _0x2d1d17(_0xaf66ec){return window[_0x9f7c2([0x61,0x74,0x6f,0x62])](_0xaf66ec[_0x9f7c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9f7c2([0x2b]))[_0x9f7c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9f7c2([0x2f])));}function _0x48fe58(_0x2d8142){let _0x37d9fe=0x1505;function _0x3dccb3(_0x1e7edf){for(let _0x2617fb=0x0;_0x2617fb<_0x1e7edf[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2617fb++){const _0x5da522=_0x1e7edf[_0x9f7c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2617fb);_0x37d9fe=(_0x37d9fe<<0x5)+_0x37d9fe+_0x5da522,_0x37d9fe&=_0x37d9fe;}}function _0x3fbe5c(_0x3d913a){Array[_0x9f7c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d913a)?_0x3d913a[_0x9f7c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3fbe5c):_0x3d913a&&typeof _0x3d913a==_0x9f7c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9f7c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d913a)[_0x9f7c2([0x73,0x6f,0x72,0x74])]()[_0x9f7c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x559ea5,_0x2f0bed])=>{_0x3dccb3(_0x559ea5),_0x3fbe5c(_0x2f0bed);}):_0x3dccb3(window[_0x9f7c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d913a));}return _0x3fbe5c(_0x2d8142),_0x37d9fe>>>0x0;}function _0x4c8ce4(_0x281de1){return _0x281de1[_0x9f7c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9f7c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9f7c2([0x30]));}function _0x18839e(_0x30d24a){return _0x30d24a[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9f7c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9f7c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x533a2a(){}function _0x9f7c2(_0x3f6207){const _0x420602=_0x2bd5;return _0x3f6207[_0x420602(0xdc)](_0x4490f8=>String[_0x420602(0x120)](_0x4490f8))[_0x420602(0x11e)]('');}_0x349cda(await _0xa53d8f());}(this);}[_0x163364(0xe8)](){const _0x24defb=_0x163364,_0x46be94=this[_0x24defb(0x102)][_0x24defb(0xdd)][_0x24defb(0x12c)];_0x46be94[_0x24defb(0xf8)](_0x24defb(0xde))&&_0x46be94[_0x24defb(0x11c)](_0x24defb(0xde),{'allowAttributes':[_0x24defb(0x10f)]}),_0x46be94[_0x24defb(0xf8)](_0x24defb(0xe0))&&_0x46be94[_0x24defb(0x11c)](_0x24defb(0xe0),{'allowAttributes':[_0x24defb(0x10f)]});}[_0x163364(0x119)](){const _0x19e111=_0x163364,_0xf7cc32=this[_0x19e111(0x102)];_0xf7cc32[_0x19e111(0xf9)][_0x19e111(0x129)](_0x19e111(0xfc))[_0x19e111(0xfe)]({'model':_0x19e111(0x10f),'view':_0x19e111(0xfd)}),_0xf7cc32[_0x19e111(0xf9)][_0x19e111(0x129)](_0x19e111(0xec))[_0x19e111(0x10b)]({'model':{'key':_0x19e111(0x10f),'value':_0x2355f7=>_0x2355f7[_0x19e111(0x11a)](_0x19e111(0xfd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x19be76=_0xf7cc32[_0x19e111(0x126)][_0x19e111(0x10a)](_0x19e111(0xe4));_0x19be76&&this[_0x19e111(0x116)](_0x19be76,_0x19e111(0x12a),(_0x2a293f,[_0x47cea9,_0x3eca47])=>{const _0x10a60e=_0x19e111;_0x47cea9[_0x10a60e(0xf6)](_0x10a60e(0x10f),_0x3eca47);});}[_0x163364(0x117)](){const _0x12ae9c=_0x163364,_0x2b3d63=this[_0x12ae9c(0x102)][_0x12ae9c(0xf4)][_0x12ae9c(0x10a)](_0x12ae9c(0xea))||{},_0x39e49a=this[_0x12ae9c(0x102)][_0x12ae9c(0xf4)][_0x12ae9c(0x10a)](_0x12ae9c(0x112))||'';this[_0x12ae9c(0xeb)]=_0x4629b9(_0x57dc5c[_0x12ae9c(0x125)],_0x12ae9c(0x122),{..._0x2b3d63,'pubkey':_0x39e49a,'ctx-name':_0x12ae9c(0x10e)+this[_0x12ae9c(0x127)],'sourceList':'','imgOnly':_0x12ae9c(0x101),'removeCopyright':_0x12ae9c(0x101),'localeName':this[_0x12ae9c(0x102)][_0x12ae9c(0x128)][_0x12ae9c(0xfa)],'externalSourcesEmbedCss':_0x12ae9c(0xf3)}),this[_0x12ae9c(0xeb)][_0x12ae9c(0xe9)]=_0x2b9a64=>{const _0x8a0f7a=_0x12ae9c;if(_0x8a0f7a(0xff)==_0x2b9a64)return _0x8a0f7a(0x109);},_0x57dc5c[_0x12ae9c(0x125)][_0x12ae9c(0x12d)][_0x12ae9c(0xdb)](this[_0x12ae9c(0xeb)]);}[_0x163364(0x12b)](){const _0x96486=_0x163364;this[_0x96486(0x11d)]=_0x4629b9(_0x57dc5c[_0x96486(0x125)],_0x96486(0x108),{'ctx-name':_0x96486(0x10e)+this[_0x96486(0x127)]}),_0x57dc5c[_0x96486(0x125)][_0x96486(0x12d)][_0x96486(0xdb)](this[_0x96486(0x11d)]);}[_0x163364(0x100)](){const _0x1b04f1=_0x163364,_0x4a4c88=this[_0x1b04f1(0x102)][_0x1b04f1(0x126)][_0x1b04f1(0x10a)](_0x1b04f1(0x11b));_0x4a4c88&&this[_0x1b04f1(0x116)](_0x4a4c88,_0x1b04f1(0xe3),()=>{const _0x2d7e2a=_0x1b04f1,_0x247414=this[_0x2d7e2a(0x102)][_0x2d7e2a(0xdd)][_0x2d7e2a(0x125)][_0x2d7e2a(0xf5)][_0x2d7e2a(0xe1)]();_0x247414&&_0x247414[_0x2d7e2a(0x11a)](_0x2d7e2a(0x10f))&&this[_0x2d7e2a(0x102)][_0x2d7e2a(0x103)][_0x2d7e2a(0xf1)][_0x2d7e2a(0x105)](_0x2d7e2a(0x11f),()=>{const _0x2a9b1d=_0x2d7e2a;_0x1a7714(this[_0x2a9b1d(0x102)],_0x247414);});});const _0xa3e99c=this[_0x1b04f1(0x102)][_0x1b04f1(0x126)][_0x1b04f1(0x10a)](_0x1b04f1(0x124));_0xa3e99c&&this[_0x1b04f1(0x116)](_0xa3e99c,_0x1b04f1(0xe3),()=>{const _0x21ebeb=_0x1b04f1,_0x25c976=this[_0x21ebeb(0x102)][_0x21ebeb(0xdd)][_0x21ebeb(0x125)][_0x21ebeb(0xf5)][_0x21ebeb(0xe1)]();_0x25c976&&_0x25c976[_0x21ebeb(0x11a)](_0x21ebeb(0x10f))&&this[_0x21ebeb(0x102)][_0x21ebeb(0x103)][_0x21ebeb(0xf1)][_0x21ebeb(0x105)](_0x21ebeb(0x11f),()=>{const _0x3e3d64=_0x21ebeb;_0x1a7714(this[_0x3e3d64(0x102)],_0x25c976);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x203eca,ObservableMixin as _0x419143}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3268a6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x422993}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x563dc2}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x26238a}from'../../utils/uploadutils.js';import{getImageUrls as _0x392862,getImageDimension as _0x2af238}from'../../utils/editingutils.js';import{isAncestor as _0x2fd581}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x419143(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4275eb,_0x429a03,_0x564479){super(),this['_editor']=_0x4275eb,this['_dialog']=_0x429a03,this['_imageElement']=_0x564479,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 _0x1c8cf7=this['_imageElement'],_0x5e0495=_0x1c8cf7['getAttribute']('uploadcareImageId'),_0x31fd91=_0x1c8cf7['getAttribute']('src');if(_0x5e0495)await this['_loadImageInfo'](_0x5e0495,_0x31fd91);else{if(this['_imageCache']['has'](_0x31fd91)){const _0x4a3fcc=this['_imageCache']['get'](_0x31fd91);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a3fcc['url'],this['imageDimension']=_0x4a3fcc['dimension'],this['imageId']=_0x4a3fcc['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x43d018}=this['_editor'],t=_0x43d018['t'],_0x303f43=new _0x563dc2(_0x43d018,this['imageStatus'],this['_attributes']);_0x303f43['bind']('status')['to'](this,'imageStatus'),_0x303f43['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x303f43['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x303f43['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x303f43,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x422993,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x303f43,'position':_0x3268a6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x303f43['focus']();},'onHide':()=>{_0x303f43['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5b8023=>!_0x2fd581(_0x5b8023,_0x303f43['element'])}});}['_loadImageInfo'](_0x30ea76,_0x17169d){return _0x26238a['getInfo'](_0x30ea76,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x37cfcf=>{const {width:_0x3c8d03,height:_0x3dbd87}=_0x37cfcf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17169d,this['imageDimension']={'width':_0x3c8d03,'height':_0x3dbd87},this['imageId']=_0x30ea76;})['catch'](_0x3a8623=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a8623['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4d97f8,_0x41fa4f){return this['_getImageAsFile'](_0x4d97f8)['then'](_0x5255e6=>_0x26238a['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':_0x41fa4f['signal'],'file':_0x5255e6,'onProgress':_0x3cd4d9=>{_0x3cd4d9&&_0x3cd4d9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3cd4d9['value']));}}))['then'](_0x1f7214=>{const {width:_0x30dd1d,height:_0x5103f0}=_0x1f7214['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f7214['cdnUrl'],this['imageDimension']={'width':_0x30dd1d,'height':_0x5103f0},this['imageId']=_0x1f7214['uuid'],this['imageUploadProgress']=null;const _0x1c2ad3=_0x4d97f8['getAttribute']('src');this['_imageCache']['set'](_0x1c2ad3,{'id':_0x1f7214['uuid'],'url':_0x1f7214['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x371cdf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x371cdf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3413b9,_0x4bd58c){_0x3413b9['on']('apply',(_0x3a5ac6,_0x2ebb89)=>{this['_replaceImage'](_0x4bd58c,_0x2ebb89['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3413b9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3413b9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe1c49e,_0x5c333d,_0x153a2c){const _0x50442b=this['_editor'],{width:_0x5a32d2,height:_0x3daf90}=_0x2af238(_0x5c333d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x76ea6e,imageSources:_0x1edba4}=_0x392862(_0x5c333d,_0x5a32d2);_0x50442b['model']['change'](_0x47af2a=>{if('$graveyard'===_0xe1c49e['root']['rootName']){_0x50442b['execute']('insertImage',{'imageType':_0xe1c49e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe1c49e['getAttributes']()),'uploadcareImageId':_0x153a2c,'src':_0x76ea6e,'sources':_0x1edba4,'width':_0x5a32d2,'height':_0x3daf90}});const _0x5b2727=_0xe1c49e['getChildren']();_0xe1c49e=_0x50442b['model']['document']['selection']['getSelectedElement']();for(const _0x5dffad of _0x5b2727)_0x47af2a['append'](_0x47af2a['cloneElement'](_0x5dffad),_0xe1c49e);}else _0x47af2a['setSelection'](_0xe1c49e,'on'),_0x50442b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe1c49e['getAttributes']()),'uploadcareImageId':_0x153a2c,'src':_0x76ea6e,'sources':_0x1edba4,'width':_0x5a32d2,'height':_0x3daf90},_0xe1c49e);_0x47af2a['setSelection'](_0xe1c49e,'on');});}async['_getImageAsFile'](_0x24a47e){const _0x4a3b94=_0x203eca['window'],_0x167786=_0x203eca['document']['location']['href'],_0x484c1e=new _0x4a3b94['URL'](_0x24a47e['getAttribute']('src'),_0x167786);if('data:'===_0x484c1e['protocol']){const _0x46af50=_0x484c1e['href']['split'](','),_0x1d2c8a=_0x46af50[0x0]['match'](/:(.*?);/)[0x1],_0x286653=_0x1d2c8a['split']('/')[0x1],_0xabc7e0=_0x4a3b94['atob'](_0x46af50[_0x46af50['length']-0x1]);let _0x402f99=_0xabc7e0['length'];const _0x4ff441=new _0x4a3b94['Uint8Array'](_0x402f99);for(;_0x402f99--;)_0x4ff441[_0x402f99]=_0xabc7e0['charCodeAt'](_0x402f99);return new _0x4a3b94['File']([_0x4ff441],'image.'+_0x286653,{'type':_0x1d2c8a});}const _0x50eb35=_0x484c1e['href']['split']('/'),_0x30194f=_0x50eb35[_0x50eb35['length']-0x1],_0x3382c7=_0x30194f['split']('.')[0x1];return _0x4a3b94['fetch'](_0x484c1e['href'])['then'](_0x48d261=>_0x48d261['clone']()['blob']())['then'](_0x71b274=>new _0x4a3b94['File']([_0x71b274],_0x30194f,{'type':'image/'+_0x3382c7}));}}
23
+ import{global as _0x4ed6a4,ObservableMixin as _0x374ddf}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3e6970}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x320783}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x111ee9}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5bd72f}from'../../utils/uploadutils.js';import{getImageUrls as _0xb32f64,getImageDimension as _0x1fcc79}from'../../utils/editingutils.js';import{isAncestor as _0x11e25c}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x374ddf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x49bed9,_0x3d4624,_0xfe74f1){super(),this['_editor']=_0x49bed9,this['_dialog']=_0x3d4624,this['_imageElement']=_0xfe74f1,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 _0x455eb6=this['_imageElement'],_0x32c185=_0x455eb6['getAttribute']('uploadcareImageId'),_0x5e617c=_0x455eb6['getAttribute']('src');if(_0x32c185)await this['_loadImageInfo'](_0x32c185,_0x5e617c);else{if(this['_imageCache']['has'](_0x5e617c)){const _0x3e77f0=this['_imageCache']['get'](_0x5e617c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e77f0['url'],this['imageDimension']=_0x3e77f0['dimension'],this['imageId']=_0x3e77f0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x129478}=this['_editor'],t=_0x129478['t'],_0x2ac026=new _0x111ee9(_0x129478,this['imageStatus'],this['_attributes']);_0x2ac026['bind']('status')['to'](this,'imageStatus'),_0x2ac026['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2ac026['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2ac026['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2ac026,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x320783,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2ac026,'position':_0x3e6970['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2ac026['focus']();},'onHide':()=>{_0x2ac026['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xeeaa41=>!_0x11e25c(_0xeeaa41,_0x2ac026['element'])}});}['_loadImageInfo'](_0x349141,_0x3a0544){return _0x5bd72f['getInfo'](_0x349141,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1d68f0=>{const {width:_0x3023b8,height:_0x338ecd}=_0x1d68f0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a0544,this['imageDimension']={'width':_0x3023b8,'height':_0x338ecd},this['imageId']=_0x349141;})['catch'](_0x68dcce=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x68dcce['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x206ebf,_0x15a938){return this['_getImageAsFile'](_0x206ebf)['then'](_0x5cbc64=>_0x5bd72f['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':_0x15a938['signal'],'file':_0x5cbc64,'onProgress':_0x4c2572=>{_0x4c2572&&_0x4c2572['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4c2572['value']));}}))['then'](_0x3179b3=>{const {width:_0x41d619,height:_0x3a0ed3}=_0x3179b3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3179b3['cdnUrl'],this['imageDimension']={'width':_0x41d619,'height':_0x3a0ed3},this['imageId']=_0x3179b3['uuid'],this['imageUploadProgress']=null;const _0x1e3368=_0x206ebf['getAttribute']('src');this['_imageCache']['set'](_0x1e3368,{'id':_0x3179b3['uuid'],'url':_0x3179b3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x30c007=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30c007['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48b7d5,_0x28799a){_0x48b7d5['on']('apply',(_0x2b4b0a,_0x1090d0)=>{this['_replaceImage'](_0x28799a,_0x1090d0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48b7d5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48b7d5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2b3303,_0x50097f,_0x34228a){const _0x1b0ea7=this['_editor'],{width:_0x4b327e,height:_0x4f187a}=_0x1fcc79(_0x50097f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x597fdf,imageSources:_0x1917d0}=_0xb32f64(_0x50097f,_0x4b327e);_0x1b0ea7['model']['change'](_0x38b21a=>{if('$graveyard'===_0x2b3303['root']['rootName']){_0x1b0ea7['execute']('insertImage',{'imageType':_0x2b3303['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2b3303['getAttributes']()),'uploadcareImageId':_0x34228a,'src':_0x597fdf,'sources':_0x1917d0,'width':_0x4b327e,'height':_0x4f187a}});const _0x46afc8=_0x2b3303['getChildren']();_0x2b3303=_0x1b0ea7['model']['document']['selection']['getSelectedElement']();for(const _0x490349 of _0x46afc8)_0x38b21a['append'](_0x38b21a['cloneElement'](_0x490349),_0x2b3303);}else _0x38b21a['setSelection'](_0x2b3303,'on'),_0x1b0ea7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2b3303['getAttributes']()),'uploadcareImageId':_0x34228a,'src':_0x597fdf,'sources':_0x1917d0,'width':_0x4b327e,'height':_0x4f187a},_0x2b3303);_0x38b21a['setSelection'](_0x2b3303,'on');});}async['_getImageAsFile'](_0x134be3){const _0x2fc8fa=_0x4ed6a4['window'],_0x14f95c=_0x4ed6a4['document']['location']['href'],_0x150e5e=new _0x2fc8fa['URL'](_0x134be3['getAttribute']('src'),_0x14f95c);if('data:'===_0x150e5e['protocol']){const _0x4940b0=_0x150e5e['href']['split'](','),_0x392783=_0x4940b0[0x0]['match'](/:(.*?);/)[0x1],_0x49fde6=_0x392783['split']('/')[0x1],_0x530877=_0x2fc8fa['atob'](_0x4940b0[_0x4940b0['length']-0x1]);let _0x256a2d=_0x530877['length'];const _0x567748=new _0x2fc8fa['Uint8Array'](_0x256a2d);for(;_0x256a2d--;)_0x567748[_0x256a2d]=_0x530877['charCodeAt'](_0x256a2d);return new _0x2fc8fa['File']([_0x567748],'image.'+_0x49fde6,{'type':_0x392783});}const _0x5abec0=_0x150e5e['href']['split']('/'),_0x1d747f=_0x5abec0[_0x5abec0['length']-0x1],_0x1f01bb=_0x1d747f['split']('.')[0x1];return _0x2fc8fa['fetch'](_0x150e5e['href'])['then'](_0x4ac26b=>_0x4ac26b['clone']()['blob']())['then'](_0x4703b7=>new _0x2fc8fa['File']([_0x4703b7],_0x1d747f,{'type':'image/'+_0x1f01bb}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1913(_0x469ed4,_0x310805){const _0x2d0e50=_0x2d0e();return _0x1913=function(_0x1913de,_0x2c7af5){_0x1913de=_0x1913de-0x132;let _0x53d742=_0x2d0e50[_0x1913de];return _0x53d742;},_0x1913(_0x469ed4,_0x310805);}(function(_0x5402ed,_0x11dc55){const _0x490478=_0x1913,_0x44839c=_0x5402ed();while(!![]){try{const _0x43d499=parseInt(_0x490478(0x133))/0x1+parseInt(_0x490478(0x13d))/0x2*(parseInt(_0x490478(0x13e))/0x3)+-parseInt(_0x490478(0x142))/0x4*(parseInt(_0x490478(0x13f))/0x5)+parseInt(_0x490478(0x13c))/0x6*(parseInt(_0x490478(0x136))/0x7)+parseInt(_0x490478(0x145))/0x8*(parseInt(_0x490478(0x13b))/0x9)+-parseInt(_0x490478(0x141))/0xa+parseInt(_0x490478(0x143))/0xb*(parseInt(_0x490478(0x13a))/0xc);if(_0x43d499===_0x11dc55)break;else _0x44839c['push'](_0x44839c['shift']());}catch(_0x158600){_0x44839c['push'](_0x44839c['shift']());}}}(_0x2d0e,0xa2190));function _0x2d0e(){const _0x1d4de5=['8sTCbxH','11UmKnwO','bindTemplate','8GpVLfx','setTemplate','261122kptKDO','imageSrc','uc-light','2417065hmxSPa','uc-cloud-image-editor','ck-uploadcare-theme','image-edit','8599692mxMPMb','1516338AIXBfu','6bJEWPV','2oIzIRS','1359066qpziTw','104770hgjvMZ','set','12387020KGWRHn'];_0x2d0e=function(){return _0x1d4de5;};return _0x2d0e();}import{View as _0x5eca9c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5eca9c{constructor(_0x24ce19,_0x579edd){const _0x1e9fb7=_0x1913;super(_0x24ce19);const _0x4cb3b0=this[_0x1e9fb7(0x144)];this[_0x1e9fb7(0x140)](_0x1e9fb7(0x134),''),this[_0x1e9fb7(0x132)]({'tag':_0x1e9fb7(0x137),'attributes':{..._0x579edd,'class':[_0x1e9fb7(0x135),_0x1e9fb7(0x138)],'ctx-name':_0x1e9fb7(0x139),'cdn-url':_0x4cb3b0['to'](_0x1e9fb7(0x134))}});}}
23
+ (function(_0x2d0231,_0x4ab2ab){const _0x42a41e=_0x39f1,_0x49eb7a=_0x2d0231();while(!![]){try{const _0x47dd3e=parseInt(_0x42a41e(0x174))/0x1+parseInt(_0x42a41e(0x172))/0x2*(parseInt(_0x42a41e(0x178))/0x3)+parseInt(_0x42a41e(0x177))/0x4+parseInt(_0x42a41e(0x17f))/0x5+parseInt(_0x42a41e(0x171))/0x6+parseInt(_0x42a41e(0x17b))/0x7+-parseInt(_0x42a41e(0x173))/0x8*(parseInt(_0x42a41e(0x179))/0x9);if(_0x47dd3e===_0x4ab2ab)break;else _0x49eb7a['push'](_0x49eb7a['shift']());}catch(_0x52a272){_0x49eb7a['push'](_0x49eb7a['shift']());}}}(_0x438e,0x6481a));import{View as _0x33961b}from'ckeditor5/src/ui.js';function _0x39f1(_0x3d85dd,_0x2e17a4){const _0x438e83=_0x438e();return _0x39f1=function(_0x39f10c,_0xd7b3f6){_0x39f10c=_0x39f10c-0x170;let _0x5ecbf7=_0x438e83[_0x39f10c];return _0x5ecbf7;},_0x39f1(_0x3d85dd,_0x2e17a4);}function _0x438e(){const _0x2e3ed8=['2cygfAV','1776cnSSQN','572772VovKlX','uc-light','bindTemplate','603812JtfOoN','1596753pQKWLJ','91359pqpbqr','uc-cloud-image-editor','4165371Clwtjj','image-edit','set','setTemplate','2285790QeSByJ','ck-uploadcare-theme','imageSrc','2142054pWvBoH'];_0x438e=function(){return _0x2e3ed8;};return _0x438e();}export class UploadcareImageEditFormEditingView extends _0x33961b{constructor(_0x199d75,_0x4d7c62){const _0x25aed3=_0x39f1;super(_0x199d75);const _0xd27e56=this[_0x25aed3(0x176)];this[_0x25aed3(0x17d)](_0x25aed3(0x170),''),this[_0x25aed3(0x17e)]({'tag':_0x25aed3(0x17a),'attributes':{..._0x4d7c62,'class':[_0x25aed3(0x175),_0x25aed3(0x180)],'ctx-name':_0x25aed3(0x17c),'cdn-url':_0xd27e56['to'](_0x25aed3(0x170))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x335c8d}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f6d15,IconView as _0x271e25,View as _0x5de9dc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5de9dc{constructor(_0x4677f8){super(_0x4677f8);const t=_0x4677f8['t'];this['set']('errorType',null);const _0x48248c=new _0x3f6d15(_0x4677f8);_0x48248c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x48248c['withText']=!0x0,_0x48248c['class']='ck-button-action',_0x48248c['on']('execute',()=>{this['fire']('retry');}),_0x48248c['bind']('isVisible')['to'](this,'errorType',_0xd49bad=>'NotFound'!==_0xd49bad);const _0x1bcd92=new _0x271e25();_0x1bcd92['content']=_0x335c8d,_0x1bcd92['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2fb65a=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':[_0x1bcd92,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2fb65a['to']('errorType',_0x3aa6c4=>t('NotFound'!==_0x3aa6c4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x48248c]},{'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 _0x5064a0}from'ckeditor5/src/icons.js';import{ButtonView as _0x2ca9f3,IconView as _0x211570,View as _0x3d483f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3d483f{constructor(_0x26e560){super(_0x26e560);const t=_0x26e560['t'];this['set']('errorType',null);const _0x18b7f3=new _0x2ca9f3(_0x26e560);_0x18b7f3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x18b7f3['withText']=!0x0,_0x18b7f3['class']='ck-button-action',_0x18b7f3['on']('execute',()=>{this['fire']('retry');}),_0x18b7f3['bind']('isVisible')['to'](this,'errorType',_0x5aed2e=>'NotFound'!==_0x5aed2e);const _0x184933=new _0x211570();_0x184933['content']=_0x5064a0,_0x184933['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49d5f1=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':[_0x184933,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49d5f1['to']('errorType',_0x91289e=>t('NotFound'!==_0x91289e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x18b7f3]},{'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 _0x339c2c,View as _0x53aebe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x53aebe{constructor(_0x27a88d){super(_0x27a88d);const t=_0x27a88d['t'],_0x1fae27=this['bindTemplate'],_0x233ba4=new _0x339c2c();_0x233ba4['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':[_0x233ba4,{'text':_0x1fae27['to']('imageUploadProgress',_0xd2cadc=>t('Loading\x20image...')+'\x20('+(_0xd2cadc||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 _0x32e996,View as _0x5652c3}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5652c3{constructor(_0x53247c){super(_0x53247c);const t=_0x53247c['t'],_0xdc5650=this['bindTemplate'],_0x3470f5=new _0x32e996();_0x3470f5['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':[_0x3470f5,{'text':_0xdc5650['to']('imageUploadProgress',_0x512aa2=>t('Loading\x20image...')+'\x20('+(_0x512aa2||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 _0x522351=_0x568a;(function(_0x2ba76b,_0x30301a){const _0x8ca10=_0x568a,_0x586100=_0x2ba76b();while(!![]){try{const _0xd866aa=parseInt(_0x8ca10(0x12b))/0x1*(-parseInt(_0x8ca10(0x136))/0x2)+-parseInt(_0x8ca10(0x122))/0x3*(parseInt(_0x8ca10(0x118))/0x4)+-parseInt(_0x8ca10(0x127))/0x5+parseInt(_0x8ca10(0x135))/0x6+-parseInt(_0x8ca10(0x11f))/0x7+parseInt(_0x8ca10(0x139))/0x8+parseInt(_0x8ca10(0x116))/0x9;if(_0xd866aa===_0x30301a)break;else _0x586100['push'](_0x586100['shift']());}catch(_0x18dfe5){_0x586100['push'](_0x586100['shift']());}}}(_0x51a1,0x4a7d8));import{View as _0x300216}from'ckeditor5/src/ui.js';function _0x568a(_0x50e56d,_0x1049fd){const _0x51a152=_0x51a1();return _0x568a=function(_0x568a68,_0x8bd550){_0x568a68=_0x568a68-0x108;let _0x272770=_0x51a152[_0x568a68];return _0x272770;},_0x568a(_0x50e56d,_0x1049fd);}import{UploadcareImageEditFormLoadingView as _0x3f7626}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1e2e43}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xc8d79a}from'./uploadcareimageeditformeditingview.js';function _0x51a1(){const _0x1d0850=['length','cancel','_addUploadcareImageEditorListeners','_errorView','getFocusableElement','8863146qsWEGh','detail','32544RMdBHd','addMany','_items','_loadingView','_focusableView','filter','add','4243946KiMhvz','set','status','99hmguiU','uc-cloud-image-editor','ready','error','ck-reset_all-excluded','1214175vLJEoP','once','setTemplate','render','224987NoEGHm','div','_addErrorViewListeners','fire','toLowerCase','focus','_setView','addedNodes','disconnect','_editingView','2159010fiEyIa','2HCIsMd','apply','createCollection','2424568TpZlYf','nodeName','addEventListener','retry','cdnUrl','element','observe','uploading','_waitForImageEditorComponent','target','change:status','clear','ck-uploadcare-form','querySelector'];_0x51a1=function(){return _0x1d0850;};return _0x51a1();}import{DialogFocusManagerView as _0x4794f4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4794f4{[_0x522351(0x11a)];[_0x522351(0x11b)];[_0x522351(0x114)];[_0x522351(0x134)];[_0x522351(0x11c)];constructor(_0x230b68,_0x48c7e2,_0x15f763){const _0x18d240=_0x522351;super(_0x230b68),this[_0x18d240(0x11a)]=this[_0x18d240(0x138)](),this[_0x18d240(0x11b)]=new _0x3f7626(_0x230b68),this[_0x18d240(0x114)]=new _0x1e2e43(_0x230b68),this[_0x18d240(0x134)]=new _0xc8d79a(_0x230b68,_0x15f763),this[_0x18d240(0x11c)]=new _0x300216(_0x230b68),this[_0x18d240(0x11c)][_0x18d240(0x129)](this[_0x18d240(0x115)]()),this[_0x18d240(0x120)](_0x18d240(0x121),_0x48c7e2),this[_0x18d240(0x129)]({'tag':_0x18d240(0x12c),'attributes':{'class':['ck',_0x18d240(0x126),_0x18d240(0x10f)],'tabindex':'-1'},'children':this[_0x18d240(0x11a)]}),this[_0x18d240(0x131)](),this[_0x18d240(0x128)](_0x18d240(0x12a),()=>{const _0x677c79=_0x18d240;this[_0x677c79(0x10b)](this[_0x677c79(0x108)],_0x31d127=>{const _0x559155=_0x677c79;this[_0x559155(0x113)](_0x31d127);});}),this['on'](_0x18d240(0x10d),()=>{const _0x4e6506=_0x18d240;this[_0x4e6506(0x131)]();}),this[_0x18d240(0x12d)]();}[_0x522351(0x130)](){const _0x62986d=_0x522351;this[_0x62986d(0x108)][_0x62986d(0x130)]();}[_0x522351(0x131)](){const _0x3fc662=_0x522351;switch(this[_0x3fc662(0x11a)][_0x3fc662(0x10e)](),this[_0x3fc662(0x121)]){case _0x3fc662(0x10a):this[_0x3fc662(0x11a)][_0x3fc662(0x11e)](this[_0x3fc662(0x11b)]);break;case _0x3fc662(0x125):this[_0x3fc662(0x11a)][_0x3fc662(0x11e)](this[_0x3fc662(0x114)]);break;case _0x3fc662(0x124):this[_0x3fc662(0x11a)][_0x3fc662(0x119)]([this[_0x3fc662(0x134)],this[_0x3fc662(0x11c)]]);}}[_0x522351(0x10b)](_0x8c9869,_0x1f1cdf){const _0xe11444=_0x522351,_0x255b97=_0xe11444(0x123),_0x43a4bf=_0x8c9869[_0xe11444(0x110)](_0x255b97);if(_0x43a4bf)return _0x1f1cdf(_0x43a4bf);const _0x33e5b3=new MutationObserver(_0xbd17b2=>{const _0x2357c5=_0xe11444,_0xdc94c7=_0xbd17b2[_0x2357c5(0x11d)](_0x7d1276=>_0x7d1276[_0x2357c5(0x10c)]===_0x8c9869&&_0x7d1276[_0x2357c5(0x132)][_0x2357c5(0x111)]>0x0&&_0x7d1276[_0x2357c5(0x132)][0x0][_0x2357c5(0x13a)][_0x2357c5(0x12f)]()===_0x255b97);_0xdc94c7[_0x2357c5(0x111)]&&(_0x33e5b3[_0x2357c5(0x133)](),_0x1f1cdf(_0xdc94c7[0x0][_0x2357c5(0x132)][0x0]));});_0x33e5b3[_0xe11444(0x109)](_0x8c9869,{'childList':!0x0,'subtree':!0x0});}[_0x522351(0x113)](_0x15b9b2){const _0x1c0fcc=_0x522351;_0x15b9b2[_0x1c0fcc(0x13b)](_0x1c0fcc(0x137),_0x435f94=>{const _0x3d17d9=_0x1c0fcc;this[_0x3d17d9(0x12e)](_0x3d17d9(0x137),{'imageSrc':_0x435f94[_0x3d17d9(0x117)][_0x3d17d9(0x13d)]});}),_0x15b9b2[_0x1c0fcc(0x13b)](_0x1c0fcc(0x112),()=>{const _0x24dbe5=_0x1c0fcc;this[_0x24dbe5(0x12e)](_0x24dbe5(0x112));});}[_0x522351(0x12d)](){const _0x265a8c=_0x522351;this[_0x265a8c(0x114)]['on'](_0x265a8c(0x13c),()=>{const _0x20205e=_0x265a8c;this[_0x20205e(0x12e)](_0x20205e(0x13c));});}}
23
+ const _0x503bc4=_0x3880;(function(_0x3e931e,_0x4196bb){const _0xe4faa5=_0x3880,_0x34a0df=_0x3e931e();while(!![]){try{const _0x2c3c66=parseInt(_0xe4faa5(0x89))/0x1*(parseInt(_0xe4faa5(0x98))/0x2)+parseInt(_0xe4faa5(0x79))/0x3+parseInt(_0xe4faa5(0x96))/0x4+parseInt(_0xe4faa5(0x94))/0x5+parseInt(_0xe4faa5(0x7f))/0x6*(-parseInt(_0xe4faa5(0x9d))/0x7)+-parseInt(_0xe4faa5(0x84))/0x8*(parseInt(_0xe4faa5(0x7c))/0x9)+parseInt(_0xe4faa5(0x77))/0xa*(-parseInt(_0xe4faa5(0x83))/0xb);if(_0x2c3c66===_0x4196bb)break;else _0x34a0df['push'](_0x34a0df['shift']());}catch(_0x358c11){_0x34a0df['push'](_0x34a0df['shift']());}}}(_0x2776,0xd9b70));import{View as _0x5e5266}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2e2276}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x389c2b}from'./uploadcareimageeditformerrorview.js';function _0x3880(_0x1a437a,_0x2b111e){const _0x2776e9=_0x2776();return _0x3880=function(_0x3880a3,_0x4fd8d5){_0x3880a3=_0x3880a3-0x73;let _0x57424c=_0x2776e9[_0x3880a3];return _0x57424c;},_0x3880(_0x1a437a,_0x2b111e);}import{UploadcareImageEditFormEditingView as _0xe8dfe0}from'./uploadcareimageeditformeditingview.js';function _0x2776(){const _0x14cc94=['cancel','setTemplate','1576967IoVbLi','_loadingView','once','set','change:status','addedNodes','disconnect','addMany','detail','_addErrorViewListeners','render','4771800zMDjmz','focus','1150348FYiWwJ','clear','2PKNzfn','createCollection','uc-cloud-image-editor','nodeName','add','28JjERxq','observe','retry','_addUploadcareImageEditorListeners','status','ck-uploadcare-form','querySelector','ck-reset_all-excluded','_focusableView','target','addEventListener','filter','fire','toLowerCase','_editingView','length','apply','_setView','10pRTrUg','element','3332562btwmtV','cdnUrl','uploading','360207cqMylO','ready','_waitForImageEditorComponent','363954DJadIP','_items','_errorView','getFocusableElement','17101249vTvPhp','248ERdJAz','error','div'];_0x2776=function(){return _0x14cc94;};return _0x2776();}import{DialogFocusManagerView as _0x25ba67}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x25ba67{[_0x503bc4(0x80)];[_0x503bc4(0x8a)];[_0x503bc4(0x81)];[_0x503bc4(0x73)];[_0x503bc4(0xa5)];constructor(_0x26f0bb,_0x3c49ca,_0x1180a1){const _0x3b9ae2=_0x503bc4;super(_0x26f0bb),this[_0x3b9ae2(0x80)]=this[_0x3b9ae2(0x99)](),this[_0x3b9ae2(0x8a)]=new _0x2e2276(_0x26f0bb),this[_0x3b9ae2(0x81)]=new _0x389c2b(_0x26f0bb),this[_0x3b9ae2(0x73)]=new _0xe8dfe0(_0x26f0bb,_0x1180a1),this[_0x3b9ae2(0xa5)]=new _0x5e5266(_0x26f0bb),this[_0x3b9ae2(0xa5)][_0x3b9ae2(0x88)](this[_0x3b9ae2(0x82)]()),this[_0x3b9ae2(0x8c)](_0x3b9ae2(0xa1),_0x3c49ca),this[_0x3b9ae2(0x88)]({'tag':_0x3b9ae2(0x86),'attributes':{'class':['ck',_0x3b9ae2(0xa4),_0x3b9ae2(0xa2)],'tabindex':'-1'},'children':this[_0x3b9ae2(0x80)]}),this[_0x3b9ae2(0x76)](),this[_0x3b9ae2(0x8b)](_0x3b9ae2(0x93),()=>{const _0xb1bf7f=_0x3b9ae2;this[_0xb1bf7f(0x7e)](this[_0xb1bf7f(0x78)],_0x57f5b5=>{const _0x4e4eee=_0xb1bf7f;this[_0x4e4eee(0xa0)](_0x57f5b5);});}),this['on'](_0x3b9ae2(0x8d),()=>{const _0x49a525=_0x3b9ae2;this[_0x49a525(0x76)]();}),this[_0x3b9ae2(0x92)]();}[_0x503bc4(0x95)](){const _0x544593=_0x503bc4;this[_0x544593(0x78)][_0x544593(0x95)]();}[_0x503bc4(0x76)](){const _0x5c870b=_0x503bc4;switch(this[_0x5c870b(0x80)][_0x5c870b(0x97)](),this[_0x5c870b(0xa1)]){case _0x5c870b(0x7b):this[_0x5c870b(0x80)][_0x5c870b(0x9c)](this[_0x5c870b(0x8a)]);break;case _0x5c870b(0x85):this[_0x5c870b(0x80)][_0x5c870b(0x9c)](this[_0x5c870b(0x81)]);break;case _0x5c870b(0x7d):this[_0x5c870b(0x80)][_0x5c870b(0x90)]([this[_0x5c870b(0x73)],this[_0x5c870b(0xa5)]]);}}[_0x503bc4(0x7e)](_0x5a6b2d,_0x3ce6c6){const _0x2d3d49=_0x503bc4,_0x51c7b4=_0x2d3d49(0x9a),_0x276166=_0x5a6b2d[_0x2d3d49(0xa3)](_0x51c7b4);if(_0x276166)return _0x3ce6c6(_0x276166);const _0x47539e=new MutationObserver(_0x35cb00=>{const _0x50cb39=_0x2d3d49,_0x1ae701=_0x35cb00[_0x50cb39(0xa8)](_0x18395d=>_0x18395d[_0x50cb39(0xa6)]===_0x5a6b2d&&_0x18395d[_0x50cb39(0x8e)][_0x50cb39(0x74)]>0x0&&_0x18395d[_0x50cb39(0x8e)][0x0][_0x50cb39(0x9b)][_0x50cb39(0xaa)]()===_0x51c7b4);_0x1ae701[_0x50cb39(0x74)]&&(_0x47539e[_0x50cb39(0x8f)](),_0x3ce6c6(_0x1ae701[0x0][_0x50cb39(0x8e)][0x0]));});_0x47539e[_0x2d3d49(0x9e)](_0x5a6b2d,{'childList':!0x0,'subtree':!0x0});}[_0x503bc4(0xa0)](_0x30963d){const _0x1ad2eb=_0x503bc4;_0x30963d[_0x1ad2eb(0xa7)](_0x1ad2eb(0x75),_0x1c1bda=>{const _0x42b847=_0x1ad2eb;this[_0x42b847(0xa9)](_0x42b847(0x75),{'imageSrc':_0x1c1bda[_0x42b847(0x91)][_0x42b847(0x7a)]});}),_0x30963d[_0x1ad2eb(0xa7)](_0x1ad2eb(0x87),()=>{const _0x4ffb1f=_0x1ad2eb;this[_0x4ffb1f(0xa9)](_0x4ffb1f(0x87));});}[_0x503bc4(0x92)](){const _0x2a58e4=_0x503bc4;this[_0x2a58e4(0x81)]['on'](_0x2a58e4(0x9f),()=>{const _0x4e9799=_0x2a58e4;this[_0x4e9799(0xa9)](_0x4e9799(0x9f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2790(_0x30a13a,_0x55c7a2){const _0x3cb656=_0x3cb6();return _0x2790=function(_0x279042,_0x2f5197){_0x279042=_0x279042-0x1e5;let _0x5316aa=_0x3cb656[_0x279042];return _0x5316aa;},_0x2790(_0x30a13a,_0x55c7a2);}const _0x55e9b2=_0x2790;(function(_0x35a0e2,_0x2e71f4){const _0x2f74d0=_0x2790,_0x5a0eda=_0x35a0e2();while(!![]){try{const _0x2e2014=parseInt(_0x2f74d0(0x1f6))/0x1*(-parseInt(_0x2f74d0(0x1e8))/0x2)+-parseInt(_0x2f74d0(0x1ee))/0x3*(-parseInt(_0x2f74d0(0x1ed))/0x4)+-parseInt(_0x2f74d0(0x1f2))/0x5+-parseInt(_0x2f74d0(0x1fe))/0x6+parseInt(_0x2f74d0(0x1fb))/0x7*(parseInt(_0x2f74d0(0x1e7))/0x8)+-parseInt(_0x2f74d0(0x1ea))/0x9+parseInt(_0x2f74d0(0x1f7))/0xa*(parseInt(_0x2f74d0(0x1fc))/0xb);if(_0x2e2014===_0x2e71f4)break;else _0x5a0eda['push'](_0x5a0eda['shift']());}catch(_0x48204a){_0x5a0eda['push'](_0x5a0eda['shift']());}}}(_0x3cb6,0xaffc0));import{Command as _0xa53048}from'ckeditor5/src/core.js';import{Dialog as _0x302b7e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1ab91a}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x508479}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xa53048{[_0x55e9b2(0x1f9)];static get[_0x55e9b2(0x201)](){return[_0x302b7e];}[_0x55e9b2(0x202)];constructor(_0x11cdb3){const _0x26e9f5=_0x55e9b2;super(_0x11cdb3),this[_0x26e9f5(0x1f9)]=void 0x0,this[_0x26e9f5(0x202)]=_0x508479(_0x11cdb3[_0x26e9f5(0x1e6)][_0x26e9f5(0x1e9)](_0x26e9f5(0x1f5))||[]),this[_0x26e9f5(0x200)]({'isActive':!0x1});}[_0x55e9b2(0x205)](){const _0x561d39=_0x55e9b2,_0x30985b=this[_0x561d39(0x1f3)][_0x561d39(0x1fd)][_0x561d39(0x1eb)][_0x561d39(0x1e5)][_0x561d39(0x1f0)]();this[_0x561d39(0x1ec)]=this[_0x561d39(0x202)](_0x30985b);}[_0x55e9b2(0x1ff)](){const _0x343dcf=_0x55e9b2;this[_0x343dcf(0x1f9)]&&(this[_0x343dcf(0x1f8)](_0x343dcf(0x1fa)),this[_0x343dcf(0x1f9)]=void 0x0);const _0xf73f7d=this[_0x343dcf(0x1f3)][_0x343dcf(0x1fd)][_0x343dcf(0x1eb)][_0x343dcf(0x1e5)][_0x343dcf(0x1f0)]();_0xf73f7d&&(_0xf73f7d['is'](_0x343dcf(0x1ef),_0x343dcf(0x204))||_0xf73f7d['is'](_0x343dcf(0x1ef),_0x343dcf(0x1f1)))&&(this[_0x343dcf(0x1f9)]=new _0x1ab91a(this[_0x343dcf(0x1f3)],this[_0x343dcf(0x1f3)][_0x343dcf(0x203)][_0x343dcf(0x1e9)](_0x302b7e),_0xf73f7d),this[_0x343dcf(0x1f4)](_0x343dcf(0x1fa))['to'](this[_0x343dcf(0x1f9)],_0x343dcf(0x1fa)));}}function _0x3cb6(){const _0x2e3aee=['isActive','21rsMvvA','2808971chjsMQ','model','6673500GjWHAQ','execute','set','requires','_isEditable','plugins','imageBlock','refresh','selection','config','527560ZQtwTc','684pRRwwj','get','8087229VMDslK','document','isEnabled','1445684SIUxmn','3poYLVz','element','getSelectedElement','imageInline','1657500gUQcgJ','editor','bind','uploadcare.allowExternalImagesEditing','892gpjAmu','110klVDaI','unbind','imageEditController'];_0x3cb6=function(){return _0x2e3aee;};return _0x3cb6();}
23
+ function _0xfa95(){const _0x3f52ad=['set','746768YNssXZ','71123Gogbgf','bind','imageBlock','501956GFvgCR','config','refresh','4257vTPTHZ','get','8lgbXLi','imageEditController','element','execute','isActive','document','366040HnECvl','isEnabled','model','requires','getSelectedElement','uploadcare.allowExternalImagesEditing','756318samPwy','editor','unbind','856877sjGMTn','12SNJqEh','selection','plugins','11330rkhnBe','_isEditable','imageInline'];_0xfa95=function(){return _0x3f52ad;};return _0xfa95();}function _0x3528(_0x56c169,_0x5b095f){const _0xfa95ff=_0xfa95();return _0x3528=function(_0x352878,_0x47b7a6){_0x352878=_0x352878-0x123;let _0xf60502=_0xfa95ff[_0x352878];return _0xf60502;},_0x3528(_0x56c169,_0x5b095f);}const _0x441de0=_0x3528;(function(_0xe8b61a,_0x2cc860){const _0x2de209=_0x3528,_0x8f7d18=_0xe8b61a();while(!![]){try{const _0x469098=-parseInt(_0x2de209(0x124))/0x1+-parseInt(_0x2de209(0x123))/0x2+parseInt(_0x2de209(0x138))/0x3+-parseInt(_0x2de209(0x127))/0x4+parseInt(_0x2de209(0x132))/0x5*(-parseInt(_0x2de209(0x13c))/0x6)+parseInt(_0x2de209(0x13b))/0x7*(parseInt(_0x2de209(0x12c))/0x8)+-parseInt(_0x2de209(0x12a))/0x9*(-parseInt(_0x2de209(0x13f))/0xa);if(_0x469098===_0x2cc860)break;else _0x8f7d18['push'](_0x8f7d18['shift']());}catch(_0x3f3aca){_0x8f7d18['push'](_0x8f7d18['shift']());}}}(_0xfa95,0x2f5de));import{Command as _0x3cb20f}from'ckeditor5/src/core.js';import{Dialog as _0x1a31c7}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x388239}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x171ddf}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3cb20f{[_0x441de0(0x12d)];static get[_0x441de0(0x135)](){return[_0x1a31c7];}[_0x441de0(0x140)];constructor(_0x150313){const _0x57d564=_0x441de0;super(_0x150313),this[_0x57d564(0x12d)]=void 0x0,this[_0x57d564(0x140)]=_0x171ddf(_0x150313[_0x57d564(0x128)][_0x57d564(0x12b)](_0x57d564(0x137))||[]),this[_0x57d564(0x142)]({'isActive':!0x1});}[_0x441de0(0x129)](){const _0x2cee0f=_0x441de0,_0x38a4ff=this[_0x2cee0f(0x139)][_0x2cee0f(0x134)][_0x2cee0f(0x131)][_0x2cee0f(0x13d)][_0x2cee0f(0x136)]();this[_0x2cee0f(0x133)]=this[_0x2cee0f(0x140)](_0x38a4ff);}[_0x441de0(0x12f)](){const _0x4af3e2=_0x441de0;this[_0x4af3e2(0x12d)]&&(this[_0x4af3e2(0x13a)](_0x4af3e2(0x130)),this[_0x4af3e2(0x12d)]=void 0x0);const _0x1d4a22=this[_0x4af3e2(0x139)][_0x4af3e2(0x134)][_0x4af3e2(0x131)][_0x4af3e2(0x13d)][_0x4af3e2(0x136)]();_0x1d4a22&&(_0x1d4a22['is'](_0x4af3e2(0x12e),_0x4af3e2(0x126))||_0x1d4a22['is'](_0x4af3e2(0x12e),_0x4af3e2(0x141)))&&(this[_0x4af3e2(0x12d)]=new _0x388239(this[_0x4af3e2(0x139)],this[_0x4af3e2(0x139)][_0x4af3e2(0x13e)][_0x4af3e2(0x12b)](_0x1a31c7),_0x1d4a22),this[_0x4af3e2(0x125)](_0x4af3e2(0x130))['to'](this[_0x4af3e2(0x12d)],_0x4af3e2(0x130)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ef032=_0x3d93;(function(_0x5df21a,_0x5d4987){const _0x31f495=_0x3d93,_0x58f84c=_0x5df21a();while(!![]){try{const _0x3402a9=-parseInt(_0x31f495(0x1e6))/0x1*(parseInt(_0x31f495(0x1de))/0x2)+-parseInt(_0x31f495(0x1db))/0x3*(-parseInt(_0x31f495(0x1e5))/0x4)+parseInt(_0x31f495(0x1da))/0x5+parseInt(_0x31f495(0x1d8))/0x6+-parseInt(_0x31f495(0x1dd))/0x7+-parseInt(_0x31f495(0x1e4))/0x8*(-parseInt(_0x31f495(0x1e8))/0x9)+-parseInt(_0x31f495(0x1df))/0xa;if(_0x3402a9===_0x5d4987)break;else _0x58f84c['push'](_0x58f84c['shift']());}catch(_0xdd039c){_0x58f84c['push'](_0x58f84c['shift']());}}}(_0x1f88,0x7015d));import{Plugin as _0x4dcd45}from'ckeditor5/src/core.js';import{Notification as _0x3bc9c1}from'ckeditor5/src/ui.js';function _0x1f88(){const _0x3872cd=['isPremiumPlugin','uploadcareImageReplace','ImageEditing','uploadcareImageEdit','2539902jraezZ','isOfficialPlugin','2240390BYEMOA','3yInQJo','pluginName','82320cLeQya','407698SsiCID','735440ZlMVps','add','requires','ImageUtils','UploadcareImageEditEditing','198928KItCzS','1257376LgQXCb','4lWFLqC','commands','63ekbqmo','init'];_0x1f88=function(){return _0x3872cd;};return _0x1f88();}import{UploadcareImageEditCommand as _0x521267}from'./uploadcareimageeditcommand.js';function _0x3d93(_0x2b2892,_0x230ed0){const _0x1f8894=_0x1f88();return _0x3d93=function(_0x3d93c9,_0x555bcb){_0x3d93c9=_0x3d93c9-0x1d4;let _0x52952e=_0x1f8894[_0x3d93c9];return _0x52952e;},_0x3d93(_0x2b2892,_0x230ed0);}import{UploadcareImageReplaceCommand as _0x1f6923}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4e3b2a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4dcd45{static get[_0x5ef032(0x1dc)](){const _0x5a3954=_0x5ef032;return _0x5a3954(0x1e3);}static get[_0x5ef032(0x1e1)](){const _0xed3b69=_0x5ef032;return[_0x4e3b2a,_0x3bc9c1,_0xed3b69(0x1e2),_0xed3b69(0x1d6)];}static get[_0x5ef032(0x1d9)](){return!0x0;}static get[_0x5ef032(0x1d4)](){return!0x0;}[_0x5ef032(0x1e9)](){const _0xae7ae9=_0x5ef032,{editor:_0x5a58da}=this;_0x5a58da[_0xae7ae9(0x1e7)][_0xae7ae9(0x1e0)](_0xae7ae9(0x1d7),new _0x521267(_0x5a58da)),_0x5a58da[_0xae7ae9(0x1e7)][_0xae7ae9(0x1e0)](_0xae7ae9(0x1d5),new _0x1f6923(_0x5a58da));}}
23
+ const _0x218ea8=_0x51bf;function _0x51bf(_0x22a8b8,_0x3ead73){const _0x33cadd=_0x33ca();return _0x51bf=function(_0x51bfc2,_0xe8a2a6){_0x51bfc2=_0x51bfc2-0x82;let _0x396750=_0x33cadd[_0x51bfc2];return _0x396750;},_0x51bf(_0x22a8b8,_0x3ead73);}(function(_0x574714,_0x5f4be4){const _0xe1ddce=_0x51bf,_0x5764e0=_0x574714();while(!![]){try{const _0x38df07=parseInt(_0xe1ddce(0x8e))/0x1*(parseInt(_0xe1ddce(0x96))/0x2)+-parseInt(_0xe1ddce(0x8f))/0x3+parseInt(_0xe1ddce(0x8a))/0x4*(-parseInt(_0xe1ddce(0x86))/0x5)+-parseInt(_0xe1ddce(0x90))/0x6+parseInt(_0xe1ddce(0x87))/0x7*(-parseInt(_0xe1ddce(0x93))/0x8)+-parseInt(_0xe1ddce(0x8c))/0x9+parseInt(_0xe1ddce(0x83))/0xa*(parseInt(_0xe1ddce(0x97))/0xb);if(_0x38df07===_0x5f4be4)break;else _0x5764e0['push'](_0x5764e0['shift']());}catch(_0x3fb578){_0x5764e0['push'](_0x5764e0['shift']());}}}(_0x33ca,0xc7e34));import{Plugin as _0xfbcd7f}from'ckeditor5/src/core.js';import{Notification as _0x3609b9}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1c9b65}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2b9515}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2d8cb4}from'../uploadcareediting.js';function _0x33ca(){const _0x5bc739=['isOfficialPlugin','5866938uMJKnA','uploadcareImageReplace','527329ygZrYB','3279786BpaIgl','123276MLLfdJ','ImageUtils','UploadcareImageEditEditing','832EooolN','requires','init','2fmrGWP','11PWMkmh','uploadcareImageEdit','commands','33652070pGWsmm','pluginName','add','10FcgxbH','29785smwhSW','isPremiumPlugin','ImageEditing','1731172TagCIv'];_0x33ca=function(){return _0x5bc739;};return _0x33ca();}export class UploadcareImageEditEditing extends _0xfbcd7f{static get[_0x218ea8(0x84)](){const _0x3ee2f3=_0x218ea8;return _0x3ee2f3(0x92);}static get[_0x218ea8(0x94)](){const _0x3d404e=_0x218ea8;return[_0x2d8cb4,_0x3609b9,_0x3d404e(0x91),_0x3d404e(0x89)];}static get[_0x218ea8(0x8b)](){return!0x0;}static get[_0x218ea8(0x88)](){return!0x0;}[_0x218ea8(0x95)](){const _0x4bac96=_0x218ea8,{editor:_0xb2948d}=this;_0xb2948d[_0x4bac96(0x82)][_0x4bac96(0x85)](_0x4bac96(0x98),new _0x1c9b65(_0xb2948d)),_0xb2948d[_0x4bac96(0x82)][_0x4bac96(0x85)](_0x4bac96(0x8d),new _0x2b9515(_0xb2948d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2154e7}from'ckeditor5/src/core.js';import{ButtonView as _0x36a98}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4db1ce}from'ckeditor5/src/icons.js';import{createElement as _0x2e4c46}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 _0x2154e7{['_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 _0x477ee7=this['editor'];_0x477ee7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3f5e00=>{const _0x4a7667=_0x477ee7['commands']['get']('uploadcareImageEdit'),_0x11d7f5=new _0x36a98(_0x3f5e00),t=_0x3f5e00['t'];return _0x11d7f5['set']({'icon':_0x4db1ce,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11d7f5['bind']('isEnabled')['to'](_0x4a7667),_0x11d7f5['bind']('isOn')['to'](_0x4a7667,'isActive'),this['listenTo'](_0x11d7f5,'execute',()=>{_0x477ee7['execute']('uploadcareImageEdit'),_0x477ee7['editing']['view']['focus']();}),_0x11d7f5;}),this['_initConfig']();}['_initConfig'](){const _0x4d0dec=_0x2e4c46(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4d0dec),this['listenTo'](this['editor'],'destroy',()=>{_0x4d0dec['remove']();});}}
23
+ import{Plugin as _0x4dc178}from'ckeditor5/src/core.js';import{ButtonView as _0xcc0dcd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5eb04f}from'ckeditor5/src/icons.js';import{createElement as _0x190ef7}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 _0x4dc178{['_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 _0x4214af=this['editor'];_0x4214af['ui']['componentFactory']['add']('uploadcareImageEdit',_0x17d4f3=>{const _0x43a648=_0x4214af['commands']['get']('uploadcareImageEdit'),_0x385cb3=new _0xcc0dcd(_0x17d4f3),t=_0x17d4f3['t'];return _0x385cb3['set']({'icon':_0x5eb04f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x385cb3['bind']('isEnabled')['to'](_0x43a648),_0x385cb3['bind']('isOn')['to'](_0x43a648,'isActive'),this['listenTo'](_0x385cb3,'execute',()=>{_0x4214af['execute']('uploadcareImageEdit'),_0x4214af['editing']['view']['focus']();}),_0x385cb3;}),this['_initConfig']();}['_initConfig'](){const _0x1e4f3b=_0x190ef7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e4f3b),this['listenTo'](this['editor'],'destroy',()=>{_0x1e4f3b['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x302ad1=_0x3900;(function(_0x4d93ae,_0x92af6f){const _0xe7ae72=_0x3900,_0x360c63=_0x4d93ae();while(!![]){try{const _0xcb5c66=parseInt(_0xe7ae72(0x110))/0x1*(parseInt(_0xe7ae72(0x11d))/0x2)+-parseInt(_0xe7ae72(0x10e))/0x3*(-parseInt(_0xe7ae72(0x10c))/0x4)+-parseInt(_0xe7ae72(0x119))/0x5*(-parseInt(_0xe7ae72(0x111))/0x6)+parseInt(_0xe7ae72(0x11b))/0x7*(parseInt(_0xe7ae72(0x115))/0x8)+parseInt(_0xe7ae72(0x10a))/0x9*(parseInt(_0xe7ae72(0x122))/0xa)+parseInt(_0xe7ae72(0x11e))/0xb+-parseInt(_0xe7ae72(0x10b))/0xc;if(_0xcb5c66===_0x92af6f)break;else _0x360c63['push'](_0x360c63['shift']());}catch(_0x5b95d2){_0x360c63['push'](_0x360c63['shift']());}}}(_0x4bbf,0x44cb2));import{Command as _0x22e3d2}from'ckeditor5/src/core.js';function _0x4bbf(){const _0x4cfab8=['element','2971602nJShCN','17463312afmNyT','8umgabX','document','207039LTlnjx','imageBlock','1255PSwaMG','1660146DJZJyj','removeAttribute','getSelectedElement','sizes','2248hQqNMk','execute','selection','setAttributes','5PEKWwQ','model','12446FdOOJw','editor','78JkOMVj','4879556BbeBQM','change','isEnabled','imageInline','10HxWMmb','refresh','srcset'];_0x4bbf=function(){return _0x4cfab8;};return _0x4bbf();}function _0x3900(_0x52ec60,_0x18a1eb){const _0x4bbfbc=_0x4bbf();return _0x3900=function(_0x39003c,_0x757e9a){_0x39003c=_0x39003c-0x107;let _0x5dac99=_0x4bbfbc[_0x39003c];return _0x5dac99;},_0x3900(_0x52ec60,_0x18a1eb);}export class UploadcareImageReplaceCommand extends _0x22e3d2{[_0x302ad1(0x107)](){const _0x22e5e8=_0x302ad1,_0x3e355b=this[_0x22e5e8(0x11c)][_0x22e5e8(0x11a)][_0x22e5e8(0x10d)][_0x22e5e8(0x117)][_0x22e5e8(0x113)]();this[_0x22e5e8(0x120)]=Boolean(_0x3e355b&&(_0x3e355b['is'](_0x22e5e8(0x109),_0x22e5e8(0x10f))||_0x3e355b['is'](_0x22e5e8(0x109),_0x22e5e8(0x121))));}[_0x302ad1(0x116)](_0x449c46){const _0x4c3a50=_0x302ad1,_0x1d474d=this[_0x4c3a50(0x11c)][_0x4c3a50(0x11a)][_0x4c3a50(0x10d)][_0x4c3a50(0x117)][_0x4c3a50(0x113)]();this[_0x4c3a50(0x11c)][_0x4c3a50(0x11a)][_0x4c3a50(0x11f)](_0x4e3e1f=>{const _0x4b953a=_0x4c3a50;_0x4e3e1f[_0x4b953a(0x118)](_0x449c46,_0x1d474d),_0x4e3e1f[_0x4b953a(0x112)](_0x4b953a(0x108),_0x1d474d),_0x4e3e1f[_0x4b953a(0x112)](_0x4b953a(0x114),_0x1d474d);});}}
23
+ function _0x41b4(){const _0x5d709f=['imageBlock','execute','imageInline','414345iGfHxA','setAttributes','isEnabled','sizes','5005539hIvhht','removeAttribute','getSelectedElement','change','element','8capgIe','8837496FtMMwE','selection','editor','11uGYnYz','8DDTQAG','refresh','5DdlAKY','srcset','model','26287990AxoUPg','2200620USsCLH','2284144LaRXYx','738189OhNTvh','document'];_0x41b4=function(){return _0x5d709f;};return _0x41b4();}const _0x19382c=_0x459d;(function(_0x24c46d,_0x50b8fd){const _0x3cde6f=_0x459d,_0x54935d=_0x24c46d();while(!![]){try{const _0xc46440=-parseInt(_0x3cde6f(0xc6))/0x1+parseInt(_0x3cde6f(0xd4))/0x2*(-parseInt(_0x3cde6f(0xcb))/0x3)+-parseInt(_0x3cde6f(0xc5))/0x4+parseInt(_0x3cde6f(0xc0))/0x5*(parseInt(_0x3cde6f(0xc4))/0x6)+parseInt(_0x3cde6f(0xcf))/0x7+-parseInt(_0x3cde6f(0xbe))/0x8*(parseInt(_0x3cde6f(0xd5))/0x9)+parseInt(_0x3cde6f(0xc3))/0xa*(parseInt(_0x3cde6f(0xd8))/0xb);if(_0xc46440===_0x50b8fd)break;else _0x54935d['push'](_0x54935d['shift']());}catch(_0x3742a3){_0x54935d['push'](_0x54935d['shift']());}}}(_0x41b4,0xd3ac9));import{Command as _0x28e25a}from'ckeditor5/src/core.js';function _0x459d(_0x5becfe,_0xd8d833){const _0x41b4b8=_0x41b4();return _0x459d=function(_0x459d7c,_0x11bc86){_0x459d7c=_0x459d7c-0xbe;let _0x3077e1=_0x41b4b8[_0x459d7c];return _0x3077e1;},_0x459d(_0x5becfe,_0xd8d833);}export class UploadcareImageReplaceCommand extends _0x28e25a{[_0x19382c(0xbf)](){const _0x1dc184=_0x19382c,_0x5b8161=this[_0x1dc184(0xd7)][_0x1dc184(0xc2)][_0x1dc184(0xc7)][_0x1dc184(0xd6)][_0x1dc184(0xd1)]();this[_0x1dc184(0xcd)]=Boolean(_0x5b8161&&(_0x5b8161['is'](_0x1dc184(0xd3),_0x1dc184(0xc8))||_0x5b8161['is'](_0x1dc184(0xd3),_0x1dc184(0xca))));}[_0x19382c(0xc9)](_0x25be15){const _0x62188e=_0x19382c,_0x4ac253=this[_0x62188e(0xd7)][_0x62188e(0xc2)][_0x62188e(0xc7)][_0x62188e(0xd6)][_0x62188e(0xd1)]();this[_0x62188e(0xd7)][_0x62188e(0xc2)][_0x62188e(0xd2)](_0x5601cf=>{const _0x43b0e2=_0x62188e;_0x5601cf[_0x43b0e2(0xcc)](_0x25be15,_0x4ac253),_0x5601cf[_0x43b0e2(0xd0)](_0x43b0e2(0xc1),_0x4ac253),_0x5601cf[_0x43b0e2(0xd0)](_0x43b0e2(0xce),_0x4ac253);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x372670=_0x5010;(function(_0x184436,_0x36c142){var _0x29a474=_0x5010,_0x5f0248=_0x184436();while(!![]){try{var _0x1dcfb0=-parseInt(_0x29a474(0x1c6))/0x1+parseInt(_0x29a474(0x1c4))/0x2*(-parseInt(_0x29a474(0x1cd))/0x3)+parseInt(_0x29a474(0x1ca))/0x4+-parseInt(_0x29a474(0x1c8))/0x5+parseInt(_0x29a474(0x1c5))/0x6+-parseInt(_0x29a474(0x1c3))/0x7*(-parseInt(_0x29a474(0x1cf))/0x8)+parseInt(_0x29a474(0x1c7))/0x9;if(_0x1dcfb0===_0x36c142)break;else _0x5f0248['push'](_0x5f0248['shift']());}catch(_0x5b308a){_0x5f0248['push'](_0x5f0248['shift']());}}}(_0x47bb,0xf2b9a));function _0x5010(_0x33e465,_0x53c500){var _0x47bbb7=_0x47bb();return _0x5010=function(_0x501091,_0xf96ec0){_0x501091=_0x501091-0x1c2;var _0xa3ca46=_0x47bbb7[_0x501091];return _0xa3ca46;},_0x5010(_0x33e465,_0x53c500);}import{Plugin as _0x1b396d}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x126dfe}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xb84e0}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1b396d{static get[_0x372670(0x1c2)](){var _0x15861f=_0x372670;return _0x15861f(0x1cc);}static get[_0x372670(0x1cb)](){return[_0x126dfe,_0xb84e0];}static get[_0x372670(0x1c9)](){return!0x0;}static get[_0x372670(0x1ce)](){return!0x0;}}function _0x47bb(){var _0x2d2b08=['pluginName','2786xvkygB','926lrQXKn','3800514QNCGYX','1803247KRQAZn','12101373FMStcY','5902985iIlzyb','isOfficialPlugin','3095140yfKdsI','requires','UploadcareImageEdit','1359AWtOSV','isPremiumPlugin','28864nFBqFf'];_0x47bb=function(){return _0x2d2b08;};return _0x47bb();}
23
+ var _0x3a53a1=_0x5477;(function(_0x1465a4,_0x2032e3){var _0x2dc1b5=_0x5477,_0x3af53a=_0x1465a4();while(!![]){try{var _0x4960a6=parseInt(_0x2dc1b5(0x81))/0x1+-parseInt(_0x2dc1b5(0x76))/0x2*(-parseInt(_0x2dc1b5(0x77))/0x3)+parseInt(_0x2dc1b5(0x7d))/0x4+-parseInt(_0x2dc1b5(0x75))/0x5+parseInt(_0x2dc1b5(0x78))/0x6+parseInt(_0x2dc1b5(0x82))/0x7*(parseInt(_0x2dc1b5(0x7e))/0x8)+-parseInt(_0x2dc1b5(0x7b))/0x9*(parseInt(_0x2dc1b5(0x79))/0xa);if(_0x4960a6===_0x2032e3)break;else _0x3af53a['push'](_0x3af53a['shift']());}catch(_0x2fe700){_0x3af53a['push'](_0x3af53a['shift']());}}}(_0x21c6,0x78f87));function _0x5477(_0x138e6b,_0x31ba11){var _0x21c6e8=_0x21c6();return _0x5477=function(_0x54779b,_0x2de8dd){_0x54779b=_0x54779b-0x75;var _0x4824b7=_0x21c6e8[_0x54779b];return _0x4824b7;},_0x5477(_0x138e6b,_0x31ba11);}function _0x21c6(){var _0x5156d3=['21CfSNaO','4668060fctKzy','352790nrrYIO','UploadcareImageEdit','261cqAEbC','requires','1158568WgeOvO','802568ABEiaF','pluginName','isPremiumPlugin','129951SbKrME','7vqsSLT','isOfficialPlugin','1734455HyFfnK','162158WUUQiw'];_0x21c6=function(){return _0x5156d3;};return _0x21c6();}import{Plugin as _0x180ad9}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1f18fb}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1fb492}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x180ad9{static get[_0x3a53a1(0x7f)](){var _0x296d47=_0x3a53a1;return _0x296d47(0x7a);}static get[_0x3a53a1(0x7c)](){return[_0x1f18fb,_0x1fb492];}static get[_0x3a53a1(0x83)](){return!0x0;}static get[_0x3a53a1(0x80)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x486806=_0x4124;(function(_0x760499,_0x4e55a5){const _0x3e40dc=_0x4124,_0x37faf6=_0x760499();while(!![]){try{const _0x20c5b8=parseInt(_0x3e40dc(0x91))/0x1+parseInt(_0x3e40dc(0x89))/0x2*(parseInt(_0x3e40dc(0xc9))/0x3)+-parseInt(_0x3e40dc(0x9c))/0x4+-parseInt(_0x3e40dc(0xc6))/0x5+-parseInt(_0x3e40dc(0xa8))/0x6*(-parseInt(_0x3e40dc(0xc3))/0x7)+-parseInt(_0x3e40dc(0x9b))/0x8+parseInt(_0x3e40dc(0xc8))/0x9*(-parseInt(_0x3e40dc(0x81))/0xa);if(_0x20c5b8===_0x4e55a5)break;else _0x37faf6['push'](_0x37faf6['shift']());}catch(_0x163bf6){_0x37faf6['push'](_0x37faf6['shift']());}}}(_0x2b5b,0x6c518));import{Plugin as _0xea8602}from'ckeditor5/src/core.js';import{IconDropbox as _0x270e46,IconFacebook as _0x359895,IconGoogleDrive as _0x85c4a8,IconGooglePhotos as _0x3d3988,IconUploadcareImageUpload as _0x38263a,IconUploadcareLink as _0x51b9a3,IconOneDrive as _0x3831cc}from'ckeditor5/src/icons.js';function _0x2b5b(){const _0x526017=['pluginName','433551cEQJMJ','usageLimit','expired','Insert','Dropbox','Replace','uploadcareLicenseKeyTrialLimit','trialLimit','upload','text','2178672ulOUVl','53784umKrbj','_createToolbarButton','withText','config','shortText','uploadcareLicenseKeyInvalid','reduce','editor','entries','domainLimit','assetManager','has','2973540LBcmSp','uploadcareLicenseKeyUsageLimit','Facebook','featureNotAllowed','icon','afterInit','registerIntegration','url','bind','tooltip','type','GDrive','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','isImageSelected','execute','OneDrive','evaluationLimit','isEnabled','invalid','_showLicenseError','_createMenuBarButtons','map','ImageInsertUI','uploadcareLicenseKeyValid','URL','isOfficialPlugin','7umKnIk','get','_licenseKeyCheckInterval','1815720mvLoNd','forEach','18SMLjqk','1430553UKzkZD','GPhotos','Uploadcare','init','destroy','uploadcareLicenseKeyNotAllowed','UploadcareUI','commands','uploadcareLicenseKeyEvaluationLimit','1566980OPRzns','Local','locale','push','plugins','_getIntegrationKey','uploadcare','_createButton','2FNpDBh','label','isPremiumPlugin','licenseKey','_normalizeConfigSourceList','_createDropdownButtons','uploadcare.uploader.sourceList'];_0x2b5b=function(){return _0x526017;};return _0x2b5b();}function _0x4124(_0x6f52a4,_0x5a7c64){const _0x2b5b52=_0x2b5b();return _0x4124=function(_0x41246e,_0x5e5299){_0x41246e=_0x41246e-0x7f;let _0x1e21a4=_0x2b5b52[_0x41246e];return _0x1e21a4;},_0x4124(_0x6f52a4,_0x5a7c64);}import{ButtonView as _0x119ac1,MenuBarMenuListItemButtonView as _0x316ecf}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x46923c}from'./uploadcareconfig.js';import{getTranslation as _0x20c536}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 _0xea8602{[_0x486806(0x8c)];[_0x486806(0xc5)];static get[_0x486806(0x90)](){const _0xf5bd0f=_0x486806;return _0xf5bd0f(0xcf);}static get[_0x486806(0xc2)](){return!0x0;}static get[_0x486806(0x8b)](){return!0x0;}[_0x486806(0xcc)](){const _0xf382ca=_0x486806;this[_0xf382ca(0x8c)]=this[_0xf382ca(0xa3)][_0xf382ca(0x9f)][_0xf382ca(0xc4)](_0xf382ca(0x8c));const _0x5e2344=this[_0xf382ca(0xa3)];this[_0xf382ca(0xc5)]=setInterval(()=>{const _0x1ff72c=_0xf382ca;let _0x82de6c;for(const _0x521078 in _0x5e2344){const _0x1f80b5=_0x521078,_0x589bdb=_0x5e2344[_0x1f80b5];if(_0x1ff72c(0xc0)==_0x589bdb||_0x1ff72c(0xa1)==_0x589bdb||_0x1ff72c(0xb4)==_0x589bdb||_0x1ff72c(0xb5)==_0x589bdb||_0x1ff72c(0xce)==_0x589bdb||_0x1ff72c(0x80)==_0x589bdb||_0x1ff72c(0x97)==_0x589bdb||_0x1ff72c(0xa9)==_0x589bdb){delete _0x5e2344[_0x1f80b5],_0x82de6c=_0x589bdb,clearInterval(this[_0x1ff72c(0xc5)]),this[_0x1ff72c(0xc5)]=void 0x0;break;}}_0x1ff72c(0xa1)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xbb)),_0x1ff72c(0xb4)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0x93)),_0x1ff72c(0xb5)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xa5)),_0x1ff72c(0xce)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xab),_0x1ff72c(0xcb)),_0x1ff72c(0x80)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0xb9)),_0x1ff72c(0x97)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0x98)),_0x1ff72c(0xa9)==_0x82de6c&&_0x5e2344[_0x1ff72c(0xbc)](_0x1ff72c(0x92));},0x3e8);}[_0x486806(0xad)](){const _0x502837=_0x486806,{editor:_0x4d439b}=this,_0x417d46=_0x4d439b[_0x502837(0x7f)][_0x502837(0xc4)](_0x502837(0x87));if(!_0x417d46)return;const _0x232eec=this[_0x502837(0x8d)](_0x4d439b[_0x502837(0x9f)][_0x502837(0xc4)](_0x502837(0x8f)))[_0x502837(0xa2)]((_0x513a11,_0x497105)=>{const _0x26f5bf=_0x502837,_0x5277c1=this[_0x26f5bf(0x86)](_0x497105[_0x26f5bf(0xb2)]);return _0x513a11[_0x5277c1]||(_0x513a11[_0x5277c1]=[]),_0x513a11[_0x5277c1][_0x26f5bf(0x84)](_0x497105),_0x513a11;},{});_0x4d439b[_0x502837(0x85)][_0x502837(0xa7)](_0x502837(0xbf))&&_0x4d439b[_0x502837(0x7f)][_0x502837(0xc4)](_0x502837(0x87))&&Object[_0x502837(0xa4)](_0x232eec)[_0x502837(0xc7)](([_0x580812,_0x43bc2b])=>{const _0x554f6e=_0x502837;_0x4d439b[_0x554f6e(0x85)][_0x554f6e(0xc4)](_0x554f6e(0xbf))[_0x554f6e(0xae)]({'name':_0x580812,'observable':()=>_0x417d46,'buttonViewCreator':()=>this[_0x554f6e(0x9d)](_0x43bc2b),'formViewCreator':()=>this[_0x554f6e(0x8e)](_0x43bc2b),'menuBarButtonViewCreator':()=>this[_0x554f6e(0xbd)](_0x43bc2b),'override':_0x554f6e(0xa6)!==_0x580812});});}[_0x486806(0xcd)](){const _0x1e8128=_0x486806;super[_0x1e8128(0xcd)](),this[_0x1e8128(0xc5)]&&clearInterval(this[_0x1e8128(0xc5)]);}[_0x486806(0x8d)](_0x207004){const _0x2a59d0=_0x486806,{locale:_0x55dfe3}=this[_0x2a59d0(0xa3)];return _0x207004[_0x2a59d0(0xbe)](_0x35678d=>{const _0x836dc5=_0x2a59d0,_0x5986f9=_0x20c536(_0x55dfe3,_0x35678d,_0x836dc5(0x94));switch(_0x35678d){case _0x46923c[_0x836dc5(0x82)]:return{'icon':_0x38263a,'type':_0x46923c[_0x836dc5(0x82)],..._0x5986f9};case _0x46923c[_0x836dc5(0xc1)]:return{'icon':_0x51b9a3,'type':_0x46923c[_0x836dc5(0xc1)],..._0x5986f9};case _0x46923c[_0x836dc5(0x95)]:return{'icon':_0x270e46,'type':_0x46923c[_0x836dc5(0x95)],..._0x5986f9};case _0x46923c[_0x836dc5(0xaa)]:return{'icon':_0x359895,'type':_0x46923c[_0x836dc5(0xaa)],..._0x5986f9};case _0x46923c[_0x836dc5(0xb3)]:return{'icon':_0x85c4a8,'type':_0x46923c[_0x836dc5(0xb3)],..._0x5986f9};case _0x46923c[_0x836dc5(0xca)]:return{'icon':_0x3d3988,'type':_0x46923c[_0x836dc5(0xca)],..._0x5986f9};case _0x46923c[_0x836dc5(0xb8)]:return{'icon':_0x3831cc,'type':_0x46923c[_0x836dc5(0xb8)],..._0x5986f9};}});}[_0x486806(0x86)](_0x221d13){const _0xe9d815=_0x486806;switch(_0x221d13){case _0x46923c[_0xe9d815(0x82)]:return _0xe9d815(0x99);case _0x46923c[_0xe9d815(0xc1)]:return _0xe9d815(0xaf);default:return _0xe9d815(0xa6);}}[_0x486806(0x88)](_0x1c925c,_0x52d751){const _0x380bdc=_0x486806,_0x491714=this[_0x380bdc(0xa3)],_0xecfabe=new _0x1c925c(_0x491714[_0x380bdc(0x83)]),_0x319da4=_0x491714[_0x380bdc(0x7f)][_0x380bdc(0xc4)](_0x380bdc(0x87));return _0xecfabe[_0x380bdc(0xb0)](_0x380bdc(0xba))['to'](_0x319da4),_0xecfabe['on'](_0x380bdc(0xb7),()=>{const _0x5ba7e4=_0x380bdc;_0x319da4[_0x5ba7e4(0xb7)](_0x52d751);}),_0xecfabe;}[_0x486806(0x9d)](_0x332d9a){const _0x3bd583=_0x486806,{locale:_0x4560c8}=this[_0x3bd583(0xa3)],_0x248d94=this[_0x3bd583(0xa3)][_0x3bd583(0x85)][_0x3bd583(0xc4)](_0x3bd583(0xbf)),_0x4f61d4=_0x332d9a[0x0],_0x3e1672=this[_0x3bd583(0x88)](_0x119ac1,_0x4f61d4[_0x3bd583(0xb2)]);return _0x3e1672[_0x3bd583(0xac)]=_0x4f61d4[_0x3bd583(0xac)],_0x3e1672[_0x3bd583(0xb0)](_0x3bd583(0x8a))['to'](_0x248d94,_0x3bd583(0xb6),_0x5601ee=>_0x20c536(_0x4560c8,_0x4f61d4[_0x3bd583(0xb2)],_0x5601ee?_0x3bd583(0x96):_0x3bd583(0x94))[_0x3bd583(0x9a)]),_0x3e1672[_0x3bd583(0xb1)]=!0x0,_0x3e1672;}[_0x486806(0x8e)](_0x51a0ea){const _0x86f1ee=_0x486806,{locale:_0x594bac}=this[_0x86f1ee(0xa3)],_0x1b7a01=this[_0x86f1ee(0xa3)][_0x86f1ee(0x85)][_0x86f1ee(0xc4)](_0x86f1ee(0xbf));return _0x51a0ea[_0x86f1ee(0xbe)](_0x3801e7=>{const _0x2f653d=_0x86f1ee,_0x36153a=this[_0x2f653d(0x88)](_0x119ac1,_0x3801e7[_0x2f653d(0xb2)]);return _0x36153a[_0x2f653d(0x9e)]=!0x0,_0x36153a[_0x2f653d(0xac)]=_0x3801e7[_0x2f653d(0xac)],_0x36153a[_0x2f653d(0xb0)](_0x2f653d(0x8a))['to'](_0x1b7a01,_0x2f653d(0xb6),_0x1e2073=>_0x20c536(_0x594bac,_0x3801e7[_0x2f653d(0xb2)],_0x1e2073?_0x2f653d(0x96):_0x2f653d(0x94))[_0x2f653d(0x9a)]),_0x36153a;});}[_0x486806(0xbd)](_0x18c871){const _0x229bac=_0x486806;return _0x18c871[_0x229bac(0xbe)](_0x32779a=>{const _0x2fb25d=_0x229bac,_0x4f1a93=this[_0x2fb25d(0x88)](_0x316ecf,_0x32779a[_0x2fb25d(0xb2)]);return _0x4f1a93[_0x2fb25d(0xac)]=_0x32779a[_0x2fb25d(0xac)],_0x4f1a93[_0x2fb25d(0x8a)]=_0x32779a[_0x2fb25d(0xa0)],_0x4f1a93;});}}
23
+ const _0x1719f5=_0x45db;(function(_0x4ddc87,_0x39eded){const _0x572980=_0x45db,_0x51878b=_0x4ddc87();while(!![]){try{const _0xcbdf92=parseInt(_0x572980(0x170))/0x1+parseInt(_0x572980(0x17e))/0x2+parseInt(_0x572980(0x1a9))/0x3*(parseInt(_0x572980(0x16b))/0x4)+parseInt(_0x572980(0x1b3))/0x5*(parseInt(_0x572980(0x1b5))/0x6)+parseInt(_0x572980(0x1b8))/0x7*(parseInt(_0x572980(0x16c))/0x8)+parseInt(_0x572980(0x1b6))/0x9*(-parseInt(_0x572980(0x1b9))/0xa)+parseInt(_0x572980(0x16e))/0xb*(-parseInt(_0x572980(0x179))/0xc);if(_0xcbdf92===_0x39eded)break;else _0x51878b['push'](_0x51878b['shift']());}catch(_0x4d1760){_0x51878b['push'](_0x51878b['shift']());}}}(_0x5614,0x8480c));import{Plugin as _0x3832d5}from'ckeditor5/src/core.js';function _0x45db(_0x11494e,_0x3fdc5e){const _0x56147e=_0x5614();return _0x45db=function(_0x45dbc7,_0x5e7454){_0x45dbc7=_0x45dbc7-0x169;let _0x2e3a11=_0x56147e[_0x45dbc7];return _0x2e3a11;},_0x45db(_0x11494e,_0x3fdc5e);}import{IconDropbox as _0x5124c4,IconFacebook as _0x25b249,IconGoogleDrive as _0x3f5665,IconGooglePhotos as _0x3c9a43,IconUploadcareImageUpload as _0x4b63bf,IconUploadcareLink as _0x27b9c1,IconOneDrive as _0x36de54}from'ckeditor5/src/icons.js';import{ButtonView as _0x4216ff,MenuBarMenuListItemButtonView as _0x49653a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3e25c5}from'./uploadcareconfig.js';import{getTranslation as _0x3c188b}from'./utils/common-translations.js';function _0x5614(){const _0x17df7f=['URL','_createToolbarButton','isOfficialPlugin','forEach','assetManager','reduce','_getIntegrationKey','9795VepkqC','registerIntegration','3006mCMWtz','171WCEBHu','tooltip','7SYTRHH','414650QarFfQ','config','Dropbox','_createMenuBarButtons','bind','501508VUruUV','3959464YGROed','_createButton','11IzMHwj','execute','304403iQrpmJ','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyExpired','entries','expired','ImageInsertUI','Local','featureNotAllowed','icon','13656948lnxzGu','isPremiumPlugin','editor','_showLicenseError','domainLimit','1124948KDevGl','uploadcareLicenseKeyUsageLimit','init','shortText','trialLimit','Replace','_createDropdownButtons','uploadcareLicenseKeyValid','Facebook','get','map','destroy','usageLimit','isEnabled','OneDrive','label','invalid','push','pluginName','withText','uploadcare.uploader.sourceList','locale','text','afterInit','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','evaluationLimit','GPhotos','UploadcareUI','_normalizeConfigSourceList','url','Insert','_licenseKeyCheckInterval','GDrive','uploadcareLicenseKeyDomainLimit','commands','upload','has','plugins','isImageSelected','type','uploadcare','uploadcareLicenseKeyTrialLimit','3FuOWRA','Uploadcare','licenseKey'];_0x5614=function(){return _0x17df7f;};return _0x5614();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3832d5{[_0x1719f5(0x1ab)];[_0x1719f5(0x19e)];static get[_0x1719f5(0x190)](){const _0x16f95f=_0x1719f5;return _0x16f95f(0x19a);}static get[_0x1719f5(0x1ae)](){return!0x0;}static get[_0x1719f5(0x17a)](){return!0x0;}[_0x1719f5(0x180)](){const _0x250c63=_0x1719f5;this[_0x250c63(0x1ab)]=this[_0x250c63(0x17b)][_0x250c63(0x1ba)][_0x250c63(0x187)](_0x250c63(0x1ab));const _0x260e02=this[_0x250c63(0x17b)];this[_0x250c63(0x19e)]=setInterval(()=>{const _0x21e8be=_0x250c63;let _0x1617f8;for(const _0x4060e2 in _0x260e02){const _0x3270f8=_0x4060e2,_0x57ca0b=_0x260e02[_0x3270f8];if(_0x21e8be(0x185)==_0x57ca0b||_0x21e8be(0x196)==_0x57ca0b||_0x21e8be(0x172)==_0x57ca0b||_0x21e8be(0x1a0)==_0x57ca0b||_0x21e8be(0x171)==_0x57ca0b||_0x21e8be(0x197)==_0x57ca0b||_0x21e8be(0x1a8)==_0x57ca0b||_0x21e8be(0x17f)==_0x57ca0b){delete _0x260e02[_0x3270f8],_0x1617f8=_0x57ca0b,clearInterval(this[_0x21e8be(0x19e)]),this[_0x21e8be(0x19e)]=void 0x0;break;}}_0x21e8be(0x196)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x18e)),_0x21e8be(0x172)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x174)),_0x21e8be(0x1a0)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x17d)),_0x21e8be(0x171)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x177),_0x21e8be(0x1aa)),_0x21e8be(0x197)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x198)),_0x21e8be(0x1a8)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x182)),_0x21e8be(0x17f)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x18a));},0x3e8);}[_0x1719f5(0x195)](){const _0x33feee=_0x1719f5,{editor:_0x449dfd}=this,_0x496c88=_0x449dfd[_0x33feee(0x1a1)][_0x33feee(0x187)](_0x33feee(0x1a7));if(!_0x496c88)return;const _0x468a4e=this[_0x33feee(0x19b)](_0x449dfd[_0x33feee(0x1ba)][_0x33feee(0x187)](_0x33feee(0x192)))[_0x33feee(0x1b1)]((_0x41424a,_0x2d0583)=>{const _0x1b52df=_0x33feee,_0x5e0232=this[_0x1b52df(0x1b2)](_0x2d0583[_0x1b52df(0x1a6)]);return _0x41424a[_0x5e0232]||(_0x41424a[_0x5e0232]=[]),_0x41424a[_0x5e0232][_0x1b52df(0x18f)](_0x2d0583),_0x41424a;},{});_0x449dfd[_0x33feee(0x1a4)][_0x33feee(0x1a3)](_0x33feee(0x175))&&_0x449dfd[_0x33feee(0x1a1)][_0x33feee(0x187)](_0x33feee(0x1a7))&&Object[_0x33feee(0x173)](_0x468a4e)[_0x33feee(0x1af)](([_0x11d880,_0x1de58b])=>{const _0x2babae=_0x33feee;_0x449dfd[_0x2babae(0x1a4)][_0x2babae(0x187)](_0x2babae(0x175))[_0x2babae(0x1b4)]({'name':_0x11d880,'observable':()=>_0x496c88,'buttonViewCreator':()=>this[_0x2babae(0x1ad)](_0x1de58b),'formViewCreator':()=>this[_0x2babae(0x184)](_0x1de58b),'menuBarButtonViewCreator':()=>this[_0x2babae(0x169)](_0x1de58b),'override':_0x2babae(0x1b0)!==_0x11d880});});}[_0x1719f5(0x189)](){const _0x146586=_0x1719f5;super[_0x146586(0x189)](),this[_0x146586(0x19e)]&&clearInterval(this[_0x146586(0x19e)]);}[_0x1719f5(0x19b)](_0x3cb032){const _0x1fc9bc=_0x1719f5,{locale:_0x151ef6}=this[_0x1fc9bc(0x17b)];return _0x3cb032[_0x1fc9bc(0x188)](_0x3333cd=>{const _0x97a7d4=_0x1fc9bc,_0x39cab5=_0x3c188b(_0x151ef6,_0x3333cd,_0x97a7d4(0x19d));switch(_0x3333cd){case _0x3e25c5[_0x97a7d4(0x176)]:return{'icon':_0x4b63bf,'type':_0x3e25c5[_0x97a7d4(0x176)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x1ac)]:return{'icon':_0x27b9c1,'type':_0x3e25c5[_0x97a7d4(0x1ac)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x1bb)]:return{'icon':_0x5124c4,'type':_0x3e25c5[_0x97a7d4(0x1bb)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x186)]:return{'icon':_0x25b249,'type':_0x3e25c5[_0x97a7d4(0x186)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x19f)]:return{'icon':_0x3f5665,'type':_0x3e25c5[_0x97a7d4(0x19f)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x199)]:return{'icon':_0x3c9a43,'type':_0x3e25c5[_0x97a7d4(0x199)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x18c)]:return{'icon':_0x36de54,'type':_0x3e25c5[_0x97a7d4(0x18c)],..._0x39cab5};}});}[_0x1719f5(0x1b2)](_0x2d6f87){const _0x2015fc=_0x1719f5;switch(_0x2d6f87){case _0x3e25c5[_0x2015fc(0x176)]:return _0x2015fc(0x1a2);case _0x3e25c5[_0x2015fc(0x1ac)]:return _0x2015fc(0x19c);default:return _0x2015fc(0x1b0);}}[_0x1719f5(0x16d)](_0x101f28,_0x58ee82){const _0x156f86=_0x1719f5,_0x2ee379=this[_0x156f86(0x17b)],_0x436004=new _0x101f28(_0x2ee379[_0x156f86(0x193)]),_0x1a4ac4=_0x2ee379[_0x156f86(0x1a1)][_0x156f86(0x187)](_0x156f86(0x1a7));return _0x436004[_0x156f86(0x16a)](_0x156f86(0x18b))['to'](_0x1a4ac4),_0x436004['on'](_0x156f86(0x16f),()=>{const _0x1b2cc7=_0x156f86;_0x1a4ac4[_0x1b2cc7(0x16f)](_0x58ee82);}),_0x436004;}[_0x1719f5(0x1ad)](_0x10156e){const _0x59eee4=_0x1719f5,{locale:_0x58c339}=this[_0x59eee4(0x17b)],_0x5d34e6=this[_0x59eee4(0x17b)][_0x59eee4(0x1a4)][_0x59eee4(0x187)](_0x59eee4(0x175)),_0x3a92d1=_0x10156e[0x0],_0x45776b=this[_0x59eee4(0x16d)](_0x4216ff,_0x3a92d1[_0x59eee4(0x1a6)]);return _0x45776b[_0x59eee4(0x178)]=_0x3a92d1[_0x59eee4(0x178)],_0x45776b[_0x59eee4(0x16a)](_0x59eee4(0x18d))['to'](_0x5d34e6,_0x59eee4(0x1a5),_0x13f80f=>_0x3c188b(_0x58c339,_0x3a92d1[_0x59eee4(0x1a6)],_0x13f80f?_0x59eee4(0x183):_0x59eee4(0x19d))[_0x59eee4(0x194)]),_0x45776b[_0x59eee4(0x1b7)]=!0x0,_0x45776b;}[_0x1719f5(0x184)](_0x3c5ef8){const _0x4847c4=_0x1719f5,{locale:_0x537830}=this[_0x4847c4(0x17b)],_0x39e0f6=this[_0x4847c4(0x17b)][_0x4847c4(0x1a4)][_0x4847c4(0x187)](_0x4847c4(0x175));return _0x3c5ef8[_0x4847c4(0x188)](_0x4f72c4=>{const _0x1c0412=_0x4847c4,_0x2c77d8=this[_0x1c0412(0x16d)](_0x4216ff,_0x4f72c4[_0x1c0412(0x1a6)]);return _0x2c77d8[_0x1c0412(0x191)]=!0x0,_0x2c77d8[_0x1c0412(0x178)]=_0x4f72c4[_0x1c0412(0x178)],_0x2c77d8[_0x1c0412(0x16a)](_0x1c0412(0x18d))['to'](_0x39e0f6,_0x1c0412(0x1a5),_0x1e3197=>_0x3c188b(_0x537830,_0x4f72c4[_0x1c0412(0x1a6)],_0x1e3197?_0x1c0412(0x183):_0x1c0412(0x19d))[_0x1c0412(0x194)]),_0x2c77d8;});}[_0x1719f5(0x169)](_0x30eb6a){const _0x4ab5ff=_0x1719f5;return _0x30eb6a[_0x4ab5ff(0x188)](_0x76dbf5=>{const _0x5c888f=_0x4ab5ff,_0x56c3a3=this[_0x5c888f(0x16d)](_0x49653a,_0x76dbf5[_0x5c888f(0x1a6)]);return _0x56c3a3[_0x5c888f(0x178)]=_0x76dbf5[_0x5c888f(0x178)],_0x56c3a3[_0x5c888f(0x18d)]=_0x76dbf5[_0x5c888f(0x181)],_0x56c3a3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x198ea5}from'ckeditor5/src/core.js';import{FileRepository as _0x52a0fe}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2081a9}from'./uploadcareediting.js';import{UploadUtils as _0x236af5}from'./utils/uploadutils.js';import{getImageUrls as _0x8ac6c}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x198ea5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x52a0fe,_0x2081a9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5eb852=this['editor'];if(!!!_0x5eb852['config']['get']('uploadcare'))return;_0x5eb852['plugins']['get'](_0x52a0fe)['createUploadAdapter']=_0x40acbb=>new k(_0x40acbb,_0x5eb852),_0x5eb852['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x222a86,{imageElement:_0x14cfe3,data:_0x18d677})=>{_0x5eb852['model']['change'](_0x223d01=>{_0x223d01['setAttribute']('uploadcareImageId',_0x18d677['uploadcareImageId'],_0x14cfe3);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5191cd,_0x560b1e){this['loader']=_0x5191cd,this['editor']=_0x560b1e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30bca2=await this['loader']['file'];return _0x236af5['upload']({'file':_0x30bca2,'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':_0x5420f8=>{_0x5420f8&&_0x5420f8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5420f8['value']);}})['then'](async _0x25ea7b=>{const {imageFallbackUrl:_0x428576,imageSources:_0x3613c7}=_0x8ac6c(_0x25ea7b['cdnUrl'],_0x25ea7b['imageInfo']['width']);return{'uploadcareImageId':_0x25ea7b['uuid'],'default':_0x428576,'sources':_0x3613c7};})['catch'](()=>{const _0x5ee99c=t('Cannot\x20upload\x20file:')+('\x20'+_0x30bca2['name']+'.');return Promise['reject'](_0x5ee99c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x42b152}from'ckeditor5/src/core.js';import{FileRepository as _0xaad5f1}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x23d037}from'./uploadcareediting.js';import{UploadUtils as _0x333317}from'./utils/uploadutils.js';import{getImageUrls as _0x41ef3f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x42b152{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaad5f1,_0x23d037];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x497458=this['editor'];if(!!!_0x497458['config']['get']('uploadcare'))return;_0x497458['plugins']['get'](_0xaad5f1)['createUploadAdapter']=_0x5532b8=>new k(_0x5532b8,_0x497458),_0x497458['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x404cf9,{imageElement:_0x5467d4,data:_0x398202})=>{_0x497458['model']['change'](_0x5c2aa5=>{_0x5c2aa5['setAttribute']('uploadcareImageId',_0x398202['uploadcareImageId'],_0x5467d4);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x51e3b6,_0x25ed3d){this['loader']=_0x51e3b6,this['editor']=_0x25ed3d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d9807=await this['loader']['file'];return _0x333317['upload']({'file':_0x5d9807,'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':_0x16fbd4=>{_0x16fbd4&&_0x16fbd4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16fbd4['value']);}})['then'](async _0x10b1c8=>{const {imageFallbackUrl:_0x5024bd,imageSources:_0x490a86}=_0x41ef3f(_0x10b1c8['cdnUrl'],_0x10b1c8['imageInfo']['width']);return{'uploadcareImageId':_0x10b1c8['uuid'],'default':_0x5024bd,'sources':_0x490a86};})['catch'](()=>{const _0x9f6715=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d9807['name']+'.');return Promise['reject'](_0x9f6715);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xdbc37a}from'../uploadcareconfig.js';export function getTranslation(_0x3c148d,_0x2bf8ee,_0x4ca366){const t=_0x3c148d['t'],_0x1ef54d=_0x3c148d['t'];switch(_0x2bf8ee){case _0xdbc37a['Local']:return{'text':_0x1ef54d('Insert'===_0x4ca366?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1ef54d('From\x20computer')};case _0xdbc37a['URL']:return{'text':'Insert'===_0x4ca366?_0x1ef54d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1ef54d('Via\x20URL')};case _0xdbc37a['Dropbox']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xdbc37a['Facebook']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xdbc37a['GDrive']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xdbc37a['GPhotos']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xdbc37a['OneDrive']:return{'text':t('Insert'===_0x4ca366?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2bf8ee;}}
23
+ import{UploadcareSource as _0x575c30}from'../uploadcareconfig.js';export function getTranslation(_0x4aadfd,_0x2a1117,_0x5eb8ee){const t=_0x4aadfd['t'],_0x2ab0bc=_0x4aadfd['t'];switch(_0x2a1117){case _0x575c30['Local']:return{'text':_0x2ab0bc('Insert'===_0x5eb8ee?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2ab0bc('From\x20computer')};case _0x575c30['URL']:return{'text':'Insert'===_0x5eb8ee?_0x2ab0bc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2ab0bc('Via\x20URL')};case _0x575c30['Dropbox']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x575c30['Facebook']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x575c30['GDrive']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x575c30['GPhotos']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x575c30['OneDrive']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2a1117;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53ec14=_0x25e3;function _0x25e3(_0xa802a6,_0x25f972){var _0x34a995=_0x34a9();return _0x25e3=function(_0x25e3c6,_0x9f782){_0x25e3c6=_0x25e3c6-0x19c;var _0x559792=_0x34a995[_0x25e3c6];return _0x559792;},_0x25e3(_0xa802a6,_0x25f972);}(function(_0x497a42,_0x3da17e){var _0x6416ea=_0x25e3,_0x4fdf57=_0x497a42();while(!![]){try{var _0x32b673=-parseInt(_0x6416ea(0x1ab))/0x1*(-parseInt(_0x6416ea(0x1ac))/0x2)+-parseInt(_0x6416ea(0x1a3))/0x3+-parseInt(_0x6416ea(0x1ae))/0x4+-parseInt(_0x6416ea(0x1a9))/0x5*(parseInt(_0x6416ea(0x19c))/0x6)+-parseInt(_0x6416ea(0x1a4))/0x7*(parseInt(_0x6416ea(0x19d))/0x8)+parseInt(_0x6416ea(0x1a7))/0x9+parseInt(_0x6416ea(0x1aa))/0xa;if(_0x32b673===_0x3da17e)break;else _0x4fdf57['push'](_0x4fdf57['shift']());}catch(_0x30deb9){_0x4fdf57['push'](_0x4fdf57['shift']());}}}(_0x34a9,0x65ef1));function _0x34a9(){var _0x3374f1=['focusCycler','div','92787ryEPzN','14mAvtzo','true','bindTemplate','1277982ENiiPm','getFocusableElement','5YgNJRM','15700260PeVFJv','1Akuutu','697054setsmE','focusTracker','1546304CjsxtX','3303522QPcpzm','2699752QIuOLU','createCollection','forwardCycle','fire'];_0x34a9=function(){return _0x3374f1;};return _0x34a9();}import{FocusTracker as _0x239b00}from'ckeditor5/src/utils.js';import{View as _0x5b9995,FocusCycler as _0x4c67cd}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5b9995{[_0x53ec14(0x1ad)];[_0x53ec14(0x1a1)];constructor(_0x259448){var _0x422b81=_0x53ec14;super(_0x259448),this[_0x422b81(0x1ad)]=new _0x239b00(),this[_0x422b81(0x1a1)]=new _0x4c67cd({'focusables':this[_0x422b81(0x19e)](),'focusTracker':this[_0x422b81(0x1ad)]});}[_0x53ec14(0x1a8)](){var _0x181f43=_0x53ec14;return{'tag':_0x181f43(0x1a2),'attributes':{'aria-hidden':_0x181f43(0x1a5),'tabindex':'0'},'on':{'focus':this[_0x181f43(0x1a6)]['to'](()=>{var _0x1fdfbf=_0x181f43;this[_0x1fdfbf(0x1a1)][_0x1fdfbf(0x1a0)](_0x1fdfbf(0x19f));})}};}}
23
+ var _0x35a132=_0x25d5;(function(_0x3c44da,_0x4556fb){var _0x304cf9=_0x25d5,_0x2ef28e=_0x3c44da();while(!![]){try{var _0x7ed410=-parseInt(_0x304cf9(0x17c))/0x1+-parseInt(_0x304cf9(0x181))/0x2*(parseInt(_0x304cf9(0x179))/0x3)+parseInt(_0x304cf9(0x174))/0x4*(-parseInt(_0x304cf9(0x177))/0x5)+parseInt(_0x304cf9(0x180))/0x6+-parseInt(_0x304cf9(0x17b))/0x7*(-parseInt(_0x304cf9(0x170))/0x8)+-parseInt(_0x304cf9(0x173))/0x9+parseInt(_0x304cf9(0x17a))/0xa;if(_0x7ed410===_0x4556fb)break;else _0x2ef28e['push'](_0x2ef28e['shift']());}catch(_0x2cee12){_0x2ef28e['push'](_0x2ef28e['shift']());}}}(_0x2375,0x81f3f));import{FocusTracker as _0x2466b1}from'ckeditor5/src/utils.js';import{View as _0x3198f0,FocusCycler as _0x587f56}from'ckeditor5/src/ui.js';function _0x25d5(_0x31f51c,_0x2c97b1){var _0x2375b4=_0x2375();return _0x25d5=function(_0x25d5b3,_0x3428be){_0x25d5b3=_0x25d5b3-0x16f;var _0x30622a=_0x2375b4[_0x25d5b3];return _0x30622a;},_0x25d5(_0x31f51c,_0x2c97b1);}function _0x2375(){var _0x399534=['1103920bPgPoZ','true','div','5878485bQMxxg','8212JEJDZd','focusTracker','createCollection','105MAJGsM','forwardCycle','687ovgkXp','12594450gkQcdV','28hSppIb','341872ENbUCS','getFocusableElement','bindTemplate','focusCycler','4425294kDNDtG','8546zTqkKL','fire'];_0x2375=function(){return _0x399534;};return _0x2375();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3198f0{[_0x35a132(0x175)];[_0x35a132(0x17f)];constructor(_0x1ba4a9){var _0x43947a=_0x35a132;super(_0x1ba4a9),this[_0x43947a(0x175)]=new _0x2466b1(),this[_0x43947a(0x17f)]=new _0x587f56({'focusables':this[_0x43947a(0x176)](),'focusTracker':this[_0x43947a(0x175)]});}[_0x35a132(0x17d)](){var _0x246a31=_0x35a132;return{'tag':_0x246a31(0x172),'attributes':{'aria-hidden':_0x246a31(0x171),'tabindex':'0'},'on':{'focus':this[_0x246a31(0x17e)]['to'](()=>{var _0x3098de=_0x246a31;this[_0x3098de(0x17f)][_0x3098de(0x16f)](_0x3098de(0x178));})}};}}