@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251001.0 → 0.0.0-nightly-20251002.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 _0x41c2(){const _0x5f5aaf=['attributeToAttribute','init','execute','getSelectedElement','extend','738288HOPStL','editing','ucContextId','removeAttribute','view','uc-upload-ctx-provider','elementToAttribute','map','add','querySelector','schema','_ctxElement','body','isOfficialPlugin','config','requires','ctxElement','for','configElement','_configElement','pluginName','24VcWgeu','commands','data-uc-image-id','replaceImageSource','isRegistered','_initConfig','766405oJANtp','remove','conversion','_initConversion','closeMax','imageInline','insertImage','366zGvkuh','uploadcare.uploader','7zXJHOw','locale','document','uploadcare.pubkey','once','_initCtx','uploadcareImageReplace','1839654Dhrxuk','render','_initSchema','editor','uploader-','input[uploadcare-file-input]','join','#uc-icon-arrow-down','listenTo','true','UploadcareEditing','2423245QdXpCr','4776Rmhyuy','50VcARkj','afterInit','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','upcast','306910OiRqdO','model','getAttribute','fromCharCode','uploadcare','get','cleanupImage','destroy','27BdOCHh','downcast','selection','uploadcareImageId','isPremiumPlugin','imageBlock','uc-config','appendChild','iconHrefResolver','_initImageProcessingIndicator','PictureEditing','308qzBqsB','href','contentLanguage'];_0x41c2=function(){return _0x5f5aaf;};return _0x41c2();}const _0x2d2ed2=_0x1ab2;function _0x1ab2(_0x34b44c,_0x3766ca){const _0x41c2a2=_0x41c2();return _0x1ab2=function(_0x1ab2c3,_0x300c56){_0x1ab2c3=_0x1ab2c3-0xa6;let _0x2bc4b0=_0x41c2a2[_0x1ab2c3];return _0x2bc4b0;},_0x1ab2(_0x34b44c,_0x3766ca);}(function(_0x13d032,_0x1740ec){const _0x91abd0=_0x1ab2,_0x47ef9b=_0x13d032();while(!![]){try{const _0x6cb4a9=parseInt(_0x91abd0(0xc4))/0x1*(parseInt(_0x91abd0(0xad))/0x2)+parseInt(_0x91abd0(0xee))/0x3*(parseInt(_0x91abd0(0xac))/0x4)+parseInt(_0x91abd0(0xe7))/0x5+parseInt(_0x91abd0(0xf7))/0x6*(parseInt(_0x91abd0(0xf0))/0x7)+-parseInt(_0x91abd0(0xcc))/0x8+parseInt(_0x91abd0(0xb9))/0x9*(parseInt(_0x91abd0(0xb1))/0xa)+parseInt(_0x91abd0(0xab))/0xb*(-parseInt(_0x91abd0(0xe1))/0xc);if(_0x6cb4a9===_0x1740ec)break;else _0x47ef9b['push'](_0x47ef9b['shift']());}catch(_0xd89619){_0x47ef9b['push'](_0x47ef9b['shift']());}}}(_0x41c2,0x2a1a7));import{Plugin as _0x4ae0ad}from'ckeditor5/src/core.js';import{Dialog as _0x4daca5}from'ckeditor5/src/ui.js';import{createElement as _0x2d68ba,global as _0xd90ba8,uid as _0x23875a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x262718}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x143ed7}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x36c137}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4ae0ad{[_0x2d2ed2(0xdf)]=null;[_0x2d2ed2(0xd7)]=null;static get[_0x2d2ed2(0xe0)](){const _0x562504=_0x2d2ed2;return _0x562504(0xaa);}static get[_0x2d2ed2(0xdb)](){const _0x5aa016=_0x2d2ed2;return[_0x5aa016(0xc3),_0x143ed7,_0x4daca5];}static get[_0x2d2ed2(0xd9)](){return!0x0;}static get[_0x2d2ed2(0xbd)](){return!0x0;}[_0x2d2ed2(0xce)];get[_0x2d2ed2(0xde)](){const _0x37056d=_0x2d2ed2;return this[_0x37056d(0xdf)];}get[_0x2d2ed2(0xdc)](){const _0x3d5efc=_0x2d2ed2;return this[_0x3d5efc(0xd7)];}constructor(_0x428571){const _0xd87d53=_0x2d2ed2;super(_0x428571),this[_0xd87d53(0xce)]=_0x23875a();}[_0x2d2ed2(0xc8)](){const _0x15bbf9=_0x2d2ed2,_0xd7c04e=this[_0x15bbf9(0xfa)];_0xd7c04e[_0x15bbf9(0xe2)][_0x15bbf9(0xd4)](_0x15bbf9(0xb5),new _0x262718(_0xd7c04e));}[_0x2d2ed2(0xae)](){const _0xddad02=_0x2d2ed2;this[_0xddad02(0xf9)](),this[_0xddad02(0xea)](),this[_0xddad02(0xe6)](),this[_0xddad02(0xf5)](),this[_0xddad02(0xc2)](),this[_0xddad02(0xa8)](this[_0xddad02(0xfa)],_0xddad02(0xb8),()=>{const _0x4e149e=_0xddad02;this[_0x4e149e(0xdf)]&&(this[_0x4e149e(0xdf)][_0x4e149e(0xe8)](),this[_0x4e149e(0xdf)]=null),this[_0x4e149e(0xd7)]&&(this[_0x4e149e(0xd7)][_0x4e149e(0xe8)](),this[_0x4e149e(0xd7)]=null);const _0x59069f=_0xd90ba8[_0x4e149e(0xf2)][_0x4e149e(0xd5)](_0x4e149e(0xfc));_0x59069f&&_0x59069f[_0x4e149e(0xe8)]();}),async function(_0x3361b7){const _0x29bf58=_0x46af0d([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]),_0x4dbd1f=0x3d8d0df,_0x1ece95=0x3dfa5d7^_0x4dbd1f,_0x3a1b90=window[_0x46af0d([0x44,0x61,0x74,0x65])][_0x46af0d([0x6e,0x6f,0x77])](),_0x15a825=_0x3361b7[_0x46af0d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54b901=new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x535478=>{_0x15a825[_0x46af0d([0x6f,0x6e,0x63,0x65])](_0x46af0d([0x72,0x65,0x61,0x64,0x79]),_0x535478);}),_0x40e450={[_0x46af0d([0x6b,0x74,0x79])]:_0x46af0d([0x45,0x43]),[_0x46af0d([0x75,0x73,0x65])]:_0x46af0d([0x73,0x69,0x67]),[_0x46af0d([0x63,0x72,0x76])]:_0x46af0d([0x50,0x2d,0x32,0x35,0x36]),[_0x46af0d([0x78])]:_0x46af0d([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]),[_0x46af0d([0x79])]:_0x46af0d([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]),[_0x46af0d([0x61,0x6c,0x67])]:_0x46af0d([0x45,0x53,0x32,0x35,0x36])},_0x49f4bf=_0x15a825[_0x46af0d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46af0d([0x67,0x65,0x74])](_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54ba59(){let _0x5654a0,_0x1765cb=null,_0x14bc41=null;try{if(_0x49f4bf==_0x46af0d([0x47,0x50,0x4c]))return _0x46af0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5654a0=_0x5ab507(),!_0x5654a0)return _0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5654a0[_0x46af0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14bc41=_0xcb24b3(_0x5654a0[_0x46af0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5654a0[_0x46af0d([0x6a,0x74,0x69])])),await _0x51fe81()?_0x961acb()?_0x51b0a9()?_0x46af0d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35328e()?(_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46af0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1765cb=_0x51b478(_0x46af0d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46af0d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1765cb=_0x51b478(_0x46af0d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fe407()):_0x46af0d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46af0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51b0a9(){const _0x5e3640=[_0x46af0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46af0d([0x74,0x72,0x69,0x61,0x6c])][_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a1b90/0x3e8:0xe10*_0x1ece95;return _0x5654a0[_0x46af0d([0x65,0x78,0x70])]<_0x5e3640;}function _0x961acb(){const _0x38bf78=_0x5654a0[_0x46af0d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38bf78&&(!!_0x38bf78[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x2a]))||!!_0x38bf78[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x55,0x50,0x4c,0x43])));}function _0x35328e(){const _0x36ded9=_0x1ab2,_0x3d56e1=_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d56e1||0x0==_0x3d56e1[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b7810}=new URL(window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36ded9(0xc5)]);if(_0x3d56e1[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7810))return!0x0;const _0x3b4878=_0x5b7810[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e]));return _0x3d56e1[_0x46af0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12997d=>_0x12997d[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x2a])))[_0x46af0d([0x6d,0x61,0x70])](_0x2f8adf=>_0x2f8adf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e])))[_0x46af0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6f6af7=>_0x6f6af7[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b4878[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46af0d([0x6d,0x61,0x70])](_0x596f03=>Array(_0x3b4878[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x596f03[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46af0d([0x66,0x69,0x6c,0x6c])](_0x596f03[0x0]===_0x46af0d([0x2a])?_0x46af0d([0x2a]):'')[_0x46af0d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x596f03))[_0x46af0d([0x73,0x6f,0x6d,0x65])](_0x35ada6=>_0x3b4878[_0x46af0d([0x65,0x76,0x65,0x72,0x79])]((_0x110779,_0x40bbc5)=>_0x35ada6[_0x40bbc5]===_0x110779||_0x35ada6[_0x40bbc5]===_0x46af0d([0x2a])));}function _0x2fe407(){return _0x1765cb&&_0x14bc41?new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a1fa8,_0x2af5e0)=>{_0x1765cb[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x3a1fa8,_0x2af5e0),_0x14bc41[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x8d60cd=>{_0x8d60cd!=_0x46af0d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a1fa8(_0x8d60cd);},_0x2af5e0);}):_0x1765cb||_0x14bc41||_0x46af0d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcb24b3(_0x2d6900,_0x39506a){return new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fcf4a=>{if(_0x3d34d8())return _0x1fcf4a(_0x46af0d([0x56,0x61,0x6c,0x69,0x64]));_0x5bb044(),_0x15a825[_0x46af0d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bd231=!0x1;const _0x279635=_0x23875a();function _0x28d780(_0x3d5292){return!!_0x3d5292&&(typeof _0x3d5292===_0x46af0d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d5292===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d5292[_0x46af0d([0x74,0x68,0x65,0x6e])]===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d5292[_0x46af0d([0x63,0x61,0x74,0x63,0x68])]===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x577838(_0x54655b){_0x49ca93(_0x54655b)[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x4205e1=>{if(!_0x4205e1||_0x4205e1[_0x46af0d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46af0d([0x6f,0x6b]))return _0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x345ad3(_0x3cd097(_0x279635+_0x39506a))!=_0x4205e1[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46af0d([0x56,0x61,0x6c,0x69,0x64]);})[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x4aeab3=>(_0x1dc9f9(),_0x4aeab3),()=>{const _0x1376a8=_0x3da97f();return null==_0x1376a8?(_0x1dc9f9(),_0x46af0d([0x56,0x61,0x6c,0x69,0x64])):_0x46af0d(_0x3a1b90-_0x1376a8>(0x27d454df^_0x4dbd1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x1fcf4a)[_0x46af0d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5488f8=0x3ee3e5f^_0x4dbd1f;function _0x1dc9f9(){const _0x5e4a22=_0x46af0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345ad3(_0x3cd097(_0x2d6900)),_0x13fcb1=_0x31f964(_0x345ad3(window[_0x46af0d([0x4d,0x61,0x74,0x68])][_0x46af0d([0x63,0x65,0x69,0x6c])](_0x3a1b90/_0x5488f8)));window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46af0d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e4a22,_0x13fcb1);}function _0x3da97f(){const _0x4d53bf=_0x46af0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345ad3(_0x3cd097(_0x2d6900)),_0x349833=window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46af0d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d53bf);return _0x349833?window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31f964(_0x349833),0x10)*_0x5488f8:null;}function _0x49ca93(_0xf390a5){return new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eff65,_0x1cb95a)=>{_0xf390a5[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x1eff65,_0x1cb95a),window[_0x46af0d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cb95a,0x3d9041f^_0x4dbd1f);});}}_0x15a825[_0x46af0d([0x6f,0x6e])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21ea5f,_0x2a3f93)=>{if(_0x2a3f93[0x0]!=_0x2d6900)return _0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a3f93[0x1]={..._0x2a3f93[0x1],[_0x46af0d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x279635};},{[_0x46af0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46af0d([0x68,0x69,0x67,0x68])}),_0x15a825[_0x46af0d([0x6f,0x6e])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e7bd8=>{_0x28d780(_0x2e7bd8[_0x46af0d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bd231=!0x0,_0x577838(_0x2e7bd8[_0x46af0d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46af0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46af0d([0x6c,0x6f,0x77])}),_0x54b901[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>{_0x3bd231||_0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d34d8(){return _0x15a825[_0x46af0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46af0d([0x76,0x69,0x65,0x77])][_0x46af0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46af0d([0x61,0x75,0x74,0x6f]);}function _0x5bb044(){_0x15a825[_0x46af0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46af0d([0x76,0x69,0x65,0x77])][_0x46af0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46af0d([0x61,0x75,0x74,0x6f]);}}function _0x51b478(_0x1935fe){const _0x53973d=[new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24e831=>setTimeout(_0x24e831,0x3d1ee13^_0x4dbd1f)),_0x54b901[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209b77=>{let _0x2946d6=0x0;_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x6f,0x6e])](_0x46af0d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x433819,_0x40a008)=>{_0x40a008[0x0][_0x46af0d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2946d6++,_0x2946d6==(0x3d8d127^_0x4dbd1f)&&(_0x209b77(),_0x433819[_0x46af0d([0x6f,0x66,0x66])]());});}))];return window[_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46af0d([0x72,0x61,0x63,0x65])](_0x53973d)[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>_0x1935fe);}async function _0x118f2e(){await _0x54b901,_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f66f2,_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f66f2,_0x15a825[_0x46af0d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x592016(_0x400f5f){const _0x1cbf5b=_0x32d51b();_0x15a825[_0x1cbf5b]=_0x46af0d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x400f5f,_0x400f5f!=_0x46af0d([0x56,0x61,0x6c,0x69,0x64])&&_0x118f2e();}function _0x32d51b(){const _0x5d598d=window[_0x46af0d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46af0d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46af0d([0x6e,0x6f,0x77])]())[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46af0d([0x2e]),'');let _0x3d5ce5=_0x46af0d([0x52]);for(let _0x10b23c=0x0;_0x10b23c<_0x5d598d[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10b23c+=0x2){let _0x6600c7=window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d598d[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10b23c,_0x10b23c+0x2));_0x6600c7>=_0x29bf58[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6600c7-=_0x29bf58[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d5ce5+=_0x29bf58[_0x6600c7];}return _0x3d5ce5;}function _0x5ab507(){const _0x15e40e=_0x49f4bf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e]));if(0x3!=_0x15e40e[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ca8f2(_0x15e40e[0x1]);function _0x1ca8f2(_0x55b1c5){const _0x53c4e0=_0x5adae2(_0x55b1c5);return _0x53c4e0&&_0x2f8cdf()?_0x53c4e0:null;function _0x2f8cdf(){const _0x1f99ce=_0x53c4e0[_0x46af0d([0x6a,0x74,0x69])],_0x2f0c62=window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f99ce[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f99ce[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36de16={..._0x53c4e0,[_0x46af0d([0x6a,0x74,0x69])]:_0x1f99ce[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f99ce[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36de16[_0x46af0d([0x76,0x63])],_0x3cd097(_0x36de16)==_0x2f0c62;}}}async function _0x51fe81(){let _0xe7f193=!0x0;try{const _0x176b7c=_0x49f4bf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e])),[_0x34d598,_0x534d1d,_0x566601]=_0x176b7c;return _0x13120b(_0x34d598),await _0x16ee34(_0x34d598,_0x534d1d,_0x566601),_0xe7f193;}catch{return!0x1;}function _0x13120b(_0x1c8197){const _0x365c81=_0x5adae2(_0x1c8197);_0x365c81&&_0x365c81[_0x46af0d([0x61,0x6c,0x67])]==_0x46af0d([0x45,0x53,0x32,0x35,0x36])||(_0xe7f193=!0x1);}async function _0x16ee34(_0x2dcd00,_0x28a93d,_0x2c4c9b){const _0x35d94a=window[_0x46af0d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46af0d([0x66,0x72,0x6f,0x6d])](_0x53b478(_0x2c4c9b),_0x3a5b35=>_0x3a5b35[_0x46af0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x869497=new window[(_0x46af0d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46af0d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dcd00+_0x46af0d([0x2e])+_0x28a93d),_0x1b536f=window[_0x46af0d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46af0d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b536f)return;const _0xc5ae95=await _0x1b536f[_0x46af0d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46af0d([0x6a,0x77,0x6b]),_0x40e450,{[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x45,0x43,0x44,0x53,0x41]),[_0x46af0d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46af0d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b536f[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x45,0x43,0x44,0x53,0x41]),[_0x46af0d([0x68,0x61,0x73,0x68])]:{[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc5ae95,_0x35d94a,_0x869497)||(_0xe7f193=!0x1);}}function _0x5adae2(_0x216eca){return _0x216eca[_0x46af0d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46af0d([0x65,0x79]))?JSON[_0x46af0d([0x70,0x61,0x72,0x73,0x65])](_0x53b478(_0x216eca)):null;}function _0x53b478(_0x15f77a){return window[_0x46af0d([0x61,0x74,0x6f,0x62])](_0x15f77a[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46af0d([0x2b]))[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46af0d([0x2f])));}function _0x3cd097(_0x535a9b){let _0x1b8bf7=0x1505;function _0x135d4b(_0x58f96e){for(let _0x589e94=0x0;_0x589e94<_0x58f96e[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x589e94++){const _0x1d04f7=_0x58f96e[_0x46af0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x589e94);_0x1b8bf7=(_0x1b8bf7<<0x5)+_0x1b8bf7+_0x1d04f7,_0x1b8bf7&=_0x1b8bf7;}}function _0x31008b(_0x3d5fdc){Array[_0x46af0d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d5fdc)?_0x3d5fdc[_0x46af0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31008b):_0x3d5fdc&&typeof _0x3d5fdc==_0x46af0d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46af0d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d5fdc)[_0x46af0d([0x73,0x6f,0x72,0x74])]()[_0x46af0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51a9e9,_0x1d0049])=>{_0x135d4b(_0x51a9e9),_0x31008b(_0x1d0049);}):_0x135d4b(window[_0x46af0d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d5fdc));}return _0x31008b(_0x535a9b),_0x1b8bf7>>>0x0;}function _0x345ad3(_0x284d42){return _0x284d42[_0x46af0d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46af0d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46af0d([0x30]));}function _0x31f964(_0x271b3a){return _0x271b3a[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46af0d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46af0d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f66f2(){}function _0x46af0d(_0x1f1745){const _0x29d114=_0x1ab2;return _0x1f1745[_0x29d114(0xd3)](_0x18b137=>String[_0x29d114(0xb4)](_0x18b137))[_0x29d114(0xa6)]('');}_0x592016(await _0x54ba59());}(this);}[_0x2d2ed2(0xf9)](){const _0x554faf=_0x2d2ed2,_0xacf6d0=this[_0x554faf(0xfa)][_0x554faf(0xb2)][_0x554faf(0xd6)];_0xacf6d0[_0x554faf(0xe5)](_0x554faf(0xbe))&&_0xacf6d0[_0x554faf(0xcb)](_0x554faf(0xbe),{'allowAttributes':[_0x554faf(0xbc)]}),_0xacf6d0[_0x554faf(0xe5)](_0x554faf(0xec))&&_0xacf6d0[_0x554faf(0xcb)](_0x554faf(0xec),{'allowAttributes':[_0x554faf(0xbc)]});}[_0x2d2ed2(0xea)](){const _0x23a72a=_0x2d2ed2,_0x407aa2=this[_0x23a72a(0xfa)];_0x407aa2[_0x23a72a(0xe9)][_0x23a72a(0xdd)](_0x23a72a(0xba))[_0x23a72a(0xc7)]({'model':_0x23a72a(0xbc),'view':_0x23a72a(0xe3)}),_0x407aa2[_0x23a72a(0xe9)][_0x23a72a(0xdd)](_0x23a72a(0xb0))[_0x23a72a(0xd2)]({'model':{'key':_0x23a72a(0xbc),'value':_0x120416=>_0x120416[_0x23a72a(0xb3)](_0x23a72a(0xe3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x11d275=_0x407aa2[_0x23a72a(0xe2)][_0x23a72a(0xb6)](_0x23a72a(0xe4));_0x11d275&&this[_0x23a72a(0xa8)](_0x11d275,_0x23a72a(0xb7),(_0x1cf872,[_0x240ea8,_0x17b951])=>{const _0xda9cc=_0x23a72a;_0x240ea8[_0xda9cc(0xcf)](_0xda9cc(0xbc),_0x17b951);});}[_0x2d2ed2(0xe6)](){const _0x512aa9=_0x2d2ed2,_0x4a8ee3=this[_0x512aa9(0xfa)][_0x512aa9(0xda)][_0x512aa9(0xb6)](_0x512aa9(0xef))||{},_0x117e02=this[_0x512aa9(0xfa)][_0x512aa9(0xda)][_0x512aa9(0xb6)](_0x512aa9(0xf3))||'';this[_0x512aa9(0xdf)]=_0x2d68ba(_0xd90ba8[_0x512aa9(0xf2)],_0x512aa9(0xbf),{..._0x4a8ee3,'pubkey':_0x117e02,'ctx-name':_0x512aa9(0xfb)+this[_0x512aa9(0xce)],'sourceList':'','imgOnly':_0x512aa9(0xa9),'removeCopyright':_0x512aa9(0xa9),'localeName':this[_0x512aa9(0xfa)][_0x512aa9(0xf1)][_0x512aa9(0xc6)],'externalSourcesEmbedCss':_0x512aa9(0xaf)}),this[_0x512aa9(0xdf)][_0x512aa9(0xc1)]=_0x386554=>{const _0x1d601d=_0x512aa9;if(_0x1d601d(0xeb)==_0x386554)return _0x1d601d(0xa7);},_0xd90ba8[_0x512aa9(0xf2)][_0x512aa9(0xd8)][_0x512aa9(0xc0)](this[_0x512aa9(0xdf)]);}[_0x2d2ed2(0xf5)](){const _0x3afd56=_0x2d2ed2;this[_0x3afd56(0xd7)]=_0x2d68ba(_0xd90ba8[_0x3afd56(0xf2)],_0x3afd56(0xd1),{'ctx-name':_0x3afd56(0xfb)+this[_0x3afd56(0xce)]}),_0xd90ba8[_0x3afd56(0xf2)][_0x3afd56(0xd8)][_0x3afd56(0xc0)](this[_0x3afd56(0xd7)]);}[_0x2d2ed2(0xc2)](){const _0x4135e0=_0x2d2ed2,_0x7e2049=this[_0x4135e0(0xfa)][_0x4135e0(0xe2)][_0x4135e0(0xb6)](_0x4135e0(0xed));_0x7e2049&&this[_0x4135e0(0xa8)](_0x7e2049,_0x4135e0(0xc9),()=>{const _0x4ed53f=_0x4135e0,_0x5d416e=this[_0x4ed53f(0xfa)][_0x4ed53f(0xb2)][_0x4ed53f(0xf2)][_0x4ed53f(0xbb)][_0x4ed53f(0xca)]();_0x5d416e&&_0x5d416e[_0x4ed53f(0xb3)](_0x4ed53f(0xbc))&&this[_0x4ed53f(0xfa)][_0x4ed53f(0xcd)][_0x4ed53f(0xd0)][_0x4ed53f(0xf4)](_0x4ed53f(0xf8),()=>{const _0x51167b=_0x4ed53f;_0x36c137(this[_0x51167b(0xfa)],_0x5d416e);});});const _0xc0c9f6=this[_0x4135e0(0xfa)][_0x4135e0(0xe2)][_0x4135e0(0xb6)](_0x4135e0(0xf6));_0xc0c9f6&&this[_0x4135e0(0xa8)](_0xc0c9f6,_0x4135e0(0xc9),()=>{const _0x40867a=_0x4135e0,_0x2221ac=this[_0x40867a(0xfa)][_0x40867a(0xb2)][_0x40867a(0xf2)][_0x40867a(0xbb)][_0x40867a(0xca)]();_0x2221ac&&_0x2221ac[_0x40867a(0xb3)](_0x40867a(0xbc))&&this[_0x40867a(0xfa)][_0x40867a(0xcd)][_0x40867a(0xd0)][_0x40867a(0xf4)](_0x40867a(0xf8),()=>{const _0x2386fd=_0x40867a;_0x36c137(this[_0x2386fd(0xfa)],_0x2221ac);});});}}
@@ -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 _0x5cd396,ObservableMixin as _0x5b96a7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x120ccc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x285abd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x24377e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x37c684}from'../../utils/uploadutils.js';import{getImageUrls as _0x2a6cb4,getImageDimension as _0x16d5ea}from'../../utils/editingutils.js';import{isAncestor as _0x4335eb}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5b96a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x193211,_0x3a0dbb,_0x54b18e){super(),this['_editor']=_0x193211,this['_dialog']=_0x3a0dbb,this['_imageElement']=_0x54b18e,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 _0x515dde=this['_imageElement'],_0x5a8dde=_0x515dde['getAttribute']('uploadcareImageId'),_0x4a1097=_0x515dde['getAttribute']('src');if(_0x5a8dde)await this['_loadImageInfo'](_0x5a8dde,_0x4a1097);else{if(this['_imageCache']['has'](_0x4a1097)){const _0x6ec65a=this['_imageCache']['get'](_0x4a1097);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6ec65a['url'],this['imageDimension']=_0x6ec65a['dimension'],this['imageId']=_0x6ec65a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1cc6c5}=this['_editor'],t=_0x1cc6c5['t'],_0x337943=new _0x24377e(_0x1cc6c5,this['imageStatus'],this['_attributes']);_0x337943['bind']('status')['to'](this,'imageStatus'),_0x337943['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x337943['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x337943['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x337943,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x285abd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x337943,'position':_0x120ccc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x337943['focus']();},'onHide':()=>{_0x337943['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb5bfbc=>!_0x4335eb(_0xb5bfbc,_0x337943['element'])}});}['_loadImageInfo'](_0x3fde93,_0x15ad19){return _0x37c684['getInfo'](_0x3fde93,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c6dd8=>{const {width:_0x100fc9,height:_0x390bdd}=_0x4c6dd8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15ad19,this['imageDimension']={'width':_0x100fc9,'height':_0x390bdd},this['imageId']=_0x3fde93;})['catch'](_0x57e257=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57e257['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x457fc9,_0x219a82){return this['_getImageAsFile'](_0x457fc9)['then'](_0xdafc68=>_0x37c684['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':_0x219a82['signal'],'file':_0xdafc68,'onProgress':_0x5d528d=>{_0x5d528d&&_0x5d528d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d528d['value']));}}))['then'](_0x38d8e5=>{const {width:_0x570059,height:_0x1defe8}=_0x38d8e5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38d8e5['cdnUrl'],this['imageDimension']={'width':_0x570059,'height':_0x1defe8},this['imageId']=_0x38d8e5['uuid'],this['imageUploadProgress']=null;const _0x43323a=_0x457fc9['getAttribute']('src');this['_imageCache']['set'](_0x43323a,{'id':_0x38d8e5['uuid'],'url':_0x38d8e5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x47a214=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x47a214['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x129067,_0x467f86){_0x129067['on']('apply',(_0x535400,_0x4ede0f)=>{this['_replaceImage'](_0x467f86,_0x4ede0f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x129067['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x129067['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53e3ff,_0x5f5404,_0x570ca9){const _0x577dc7=this['_editor'],{width:_0x42d97a,height:_0x68fdf9}=_0x16d5ea(_0x5f5404,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x56e470,imageSources:_0xac86ac}=_0x2a6cb4(_0x5f5404,_0x42d97a);_0x577dc7['model']['change'](_0x256a45=>{if('$graveyard'===_0x53e3ff['root']['rootName']){_0x577dc7['execute']('insertImage',{'imageType':_0x53e3ff['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53e3ff['getAttributes']()),'uploadcareImageId':_0x570ca9,'src':_0x56e470,'sources':_0xac86ac,'width':_0x42d97a,'height':_0x68fdf9}});const _0x47633f=_0x53e3ff['getChildren']();_0x53e3ff=_0x577dc7['model']['document']['selection']['getSelectedElement']();for(const _0x3a41fe of _0x47633f)_0x256a45['append'](_0x256a45['cloneElement'](_0x3a41fe),_0x53e3ff);}else _0x256a45['setSelection'](_0x53e3ff,'on'),_0x577dc7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53e3ff['getAttributes']()),'uploadcareImageId':_0x570ca9,'src':_0x56e470,'sources':_0xac86ac,'width':_0x42d97a,'height':_0x68fdf9},_0x53e3ff);_0x256a45['setSelection'](_0x53e3ff,'on');});}async['_getImageAsFile'](_0x364612){const _0x5e5409=_0x5cd396['window'],_0x4a7dcc=_0x5cd396['document']['location']['href'],_0x3fd27b=new _0x5e5409['URL'](_0x364612['getAttribute']('src'),_0x4a7dcc);if('data:'===_0x3fd27b['protocol']){const _0x5c6f66=_0x3fd27b['href']['split'](','),_0x1bd425=_0x5c6f66[0x0]['match'](/:(.*?);/)[0x1],_0x1f61ab=_0x1bd425['split']('/')[0x1],_0xccbabc=_0x5e5409['atob'](_0x5c6f66[_0x5c6f66['length']-0x1]);let _0x5de6d6=_0xccbabc['length'];const _0x2c4cc9=new _0x5e5409['Uint8Array'](_0x5de6d6);for(;_0x5de6d6--;)_0x2c4cc9[_0x5de6d6]=_0xccbabc['charCodeAt'](_0x5de6d6);return new _0x5e5409['File']([_0x2c4cc9],'image.'+_0x1f61ab,{'type':_0x1bd425});}const _0x29d5aa=_0x3fd27b['href']['split']('/'),_0x31d9a0=_0x29d5aa[_0x29d5aa['length']-0x1],_0xfef848=_0x31d9a0['split']('.')[0x1];return _0x5e5409['fetch'](_0x3fd27b['href'])['then'](_0x438b7d=>_0x438b7d['clone']()['blob']())['then'](_0x14945b=>new _0x5e5409['File']([_0x14945b],_0x31d9a0,{'type':'image/'+_0xfef848}));}}
@@ -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(_0x2339b6,_0x3353e8){const _0x540931=_0x39f7,_0x50d202=_0x2339b6();while(!![]){try{const _0x528e09=-parseInt(_0x540931(0xca))/0x1*(parseInt(_0x540931(0xc0))/0x2)+-parseInt(_0x540931(0xcd))/0x3+parseInt(_0x540931(0xc5))/0x4+-parseInt(_0x540931(0xc1))/0x5*(-parseInt(_0x540931(0xc8))/0x6)+parseInt(_0x540931(0xc9))/0x7+parseInt(_0x540931(0xce))/0x8+parseInt(_0x540931(0xc7))/0x9*(-parseInt(_0x540931(0xc3))/0xa);if(_0x528e09===_0x3353e8)break;else _0x50d202['push'](_0x50d202['shift']());}catch(_0x2c5f73){_0x50d202['push'](_0x50d202['shift']());}}}(_0x5ddb,0x7c36e));function _0x5ddb(){const _0x28be94=['set','3011720OppJGq','ck-uploadcare-theme','27aaqCoX','2591946LpvOnp','3083626vXzieb','436537NlUfiN','uc-light','imageSrc','166260ancYJY','7193944axPHek','uc-cloud-image-editor','bindTemplate','setTemplate','2CzdUba','5mozvgJ','image-edit','5079810SDOAFA'];_0x5ddb=function(){return _0x28be94;};return _0x5ddb();}import{View as _0x171f79}from'ckeditor5/src/ui.js';function _0x39f7(_0x40c076,_0x1493d4){const _0x5ddb78=_0x5ddb();return _0x39f7=function(_0x39f7eb,_0x317c5f){_0x39f7eb=_0x39f7eb-0xbd;let _0x5e54ca=_0x5ddb78[_0x39f7eb];return _0x5e54ca;},_0x39f7(_0x40c076,_0x1493d4);}export class UploadcareImageEditFormEditingView extends _0x171f79{constructor(_0x4b5070,_0x2af244){const _0x1a3f4a=_0x39f7;super(_0x4b5070);const _0x5e4680=this[_0x1a3f4a(0xbe)];this[_0x1a3f4a(0xc4)](_0x1a3f4a(0xcc),''),this[_0x1a3f4a(0xbf)]({'tag':_0x1a3f4a(0xbd),'attributes':{..._0x2af244,'class':[_0x1a3f4a(0xcb),_0x1a3f4a(0xc6)],'ctx-name':_0x1a3f4a(0xc2),'cdn-url':_0x5e4680['to'](_0x1a3f4a(0xcc))}});}}
@@ -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 _0x59189b}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d521e,IconView as _0x2dff76,View as _0x562b70}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x562b70{constructor(_0x2998e0){super(_0x2998e0);const t=_0x2998e0['t'];this['set']('errorType',null);const _0x5525a0=new _0x2d521e(_0x2998e0);_0x5525a0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5525a0['withText']=!0x0,_0x5525a0['class']='ck-button-action',_0x5525a0['on']('execute',()=>{this['fire']('retry');}),_0x5525a0['bind']('isVisible')['to'](this,'errorType',_0x1e2806=>'NotFound'!==_0x1e2806);const _0x42ae99=new _0x2dff76();_0x42ae99['content']=_0x59189b,_0x42ae99['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ced37=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':[_0x42ae99,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ced37['to']('errorType',_0x223e4e=>t('NotFound'!==_0x223e4e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5525a0]},{'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 _0x2d2154,View as _0x1378fd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1378fd{constructor(_0x291771){super(_0x291771);const t=_0x291771['t'],_0x17f66e=this['bindTemplate'],_0x39b65f=new _0x2d2154();_0x39b65f['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':[_0x39b65f,{'text':_0x17f66e['to']('imageUploadProgress',_0x3a1e82=>t('Loading\x20image...')+'\x20('+(_0x3a1e82||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 _0x4bb84d=_0x14ad;function _0x14ad(_0x3f2e9b,_0x21347b){const _0x50fd92=_0x50fd();return _0x14ad=function(_0x14ada8,_0x65256b){_0x14ada8=_0x14ada8-0x137;let _0xd66715=_0x50fd92[_0x14ada8];return _0xd66715;},_0x14ad(_0x3f2e9b,_0x21347b);}(function(_0x5483bf,_0x5a6a0c){const _0x46e6df=_0x14ad,_0x33b149=_0x5483bf();while(!![]){try{const _0x30a59d=-parseInt(_0x46e6df(0x166))/0x1+parseInt(_0x46e6df(0x163))/0x2*(-parseInt(_0x46e6df(0x164))/0x3)+-parseInt(_0x46e6df(0x138))/0x4+-parseInt(_0x46e6df(0x168))/0x5*(parseInt(_0x46e6df(0x144))/0x6)+parseInt(_0x46e6df(0x162))/0x7+parseInt(_0x46e6df(0x16d))/0x8+-parseInt(_0x46e6df(0x154))/0x9*(-parseInt(_0x46e6df(0x15a))/0xa);if(_0x30a59d===_0x5a6a0c)break;else _0x33b149['push'](_0x33b149['shift']());}catch(_0x416acf){_0x33b149['push'](_0x33b149['shift']());}}}(_0x50fd,0x6e402));import{View as _0x36339c}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x58631b}from'./uploadcareimageeditformloadingview.js';function _0x50fd(){const _0x2f14a8=['clear','length','addMany','36vcDznm','nodeName','add','cdnUrl','element','_addUploadcareImageEditorListeners','2861940LigQij','_editingView','observe','uploading','ck-uploadcare-form','once','fire','_focusableView','3174444nIqErG','65588EHDwCW','6PVlYjG','disconnect','679830XbySbB','set','5JXmkKV','addedNodes','_setView','target','error','3040400elPzzo','_waitForImageEditorComponent','997148iWCjTW','_errorView','uc-cloud-image-editor','render','change:status','setTemplate','ck-reset_all-excluded','retry','_addErrorViewListeners','filter','ready','apply','3192162QHFDoJ','div','createCollection','_loadingView','cancel','_items','getFocusableElement','focus','detail','toLowerCase','addEventListener','status','querySelector'];_0x50fd=function(){return _0x2f14a8;};return _0x50fd();}import{UploadcareImageEditFormErrorView as _0x2174d7}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x37b6e0}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x49aeda}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x49aeda{[_0x4bb84d(0x149)];[_0x4bb84d(0x147)];[_0x4bb84d(0x139)];[_0x4bb84d(0x15b)];[_0x4bb84d(0x161)];constructor(_0x19d574,_0x41fe8d,_0x40bec9){const _0x263125=_0x4bb84d;super(_0x19d574),this[_0x263125(0x149)]=this[_0x263125(0x146)](),this[_0x263125(0x147)]=new _0x58631b(_0x19d574),this[_0x263125(0x139)]=new _0x2174d7(_0x19d574),this[_0x263125(0x15b)]=new _0x37b6e0(_0x19d574,_0x40bec9),this[_0x263125(0x161)]=new _0x36339c(_0x19d574),this[_0x263125(0x161)][_0x263125(0x13d)](this[_0x263125(0x14a)]()),this[_0x263125(0x167)](_0x263125(0x14f),_0x41fe8d),this[_0x263125(0x13d)]({'tag':_0x263125(0x145),'attributes':{'class':['ck',_0x263125(0x13e),_0x263125(0x15e)],'tabindex':'-1'},'children':this[_0x263125(0x149)]}),this[_0x263125(0x16a)](),this[_0x263125(0x15f)](_0x263125(0x13b),()=>{const _0x3acf7d=_0x263125;this[_0x3acf7d(0x137)](this[_0x3acf7d(0x158)],_0x1f1d82=>{const _0x23bcda=_0x3acf7d;this[_0x23bcda(0x159)](_0x1f1d82);});}),this['on'](_0x263125(0x13c),()=>{const _0x5bf978=_0x263125;this[_0x5bf978(0x16a)]();}),this[_0x263125(0x140)]();}[_0x4bb84d(0x14b)](){const _0x377580=_0x4bb84d;this[_0x377580(0x158)][_0x377580(0x14b)]();}[_0x4bb84d(0x16a)](){const _0x5c22c4=_0x4bb84d;switch(this[_0x5c22c4(0x149)][_0x5c22c4(0x151)](),this[_0x5c22c4(0x14f)]){case _0x5c22c4(0x15d):this[_0x5c22c4(0x149)][_0x5c22c4(0x156)](this[_0x5c22c4(0x147)]);break;case _0x5c22c4(0x16c):this[_0x5c22c4(0x149)][_0x5c22c4(0x156)](this[_0x5c22c4(0x139)]);break;case _0x5c22c4(0x142):this[_0x5c22c4(0x149)][_0x5c22c4(0x153)]([this[_0x5c22c4(0x15b)],this[_0x5c22c4(0x161)]]);}}[_0x4bb84d(0x137)](_0x17f251,_0x4bfb62){const _0xcaf0f=_0x4bb84d,_0x5c87bb=_0xcaf0f(0x13a),_0x3523e5=_0x17f251[_0xcaf0f(0x150)](_0x5c87bb);if(_0x3523e5)return _0x4bfb62(_0x3523e5);const _0x2d92d6=new MutationObserver(_0x5623d6=>{const _0x57047c=_0xcaf0f,_0x5b4e16=_0x5623d6[_0x57047c(0x141)](_0x280e94=>_0x280e94[_0x57047c(0x16b)]===_0x17f251&&_0x280e94[_0x57047c(0x169)][_0x57047c(0x152)]>0x0&&_0x280e94[_0x57047c(0x169)][0x0][_0x57047c(0x155)][_0x57047c(0x14d)]()===_0x5c87bb);_0x5b4e16[_0x57047c(0x152)]&&(_0x2d92d6[_0x57047c(0x165)](),_0x4bfb62(_0x5b4e16[0x0][_0x57047c(0x169)][0x0]));});_0x2d92d6[_0xcaf0f(0x15c)](_0x17f251,{'childList':!0x0,'subtree':!0x0});}[_0x4bb84d(0x159)](_0x35a6c3){const _0x2b5281=_0x4bb84d;_0x35a6c3[_0x2b5281(0x14e)](_0x2b5281(0x143),_0x4b5f21=>{const _0x54c616=_0x2b5281;this[_0x54c616(0x160)](_0x54c616(0x143),{'imageSrc':_0x4b5f21[_0x54c616(0x14c)][_0x54c616(0x157)]});}),_0x35a6c3[_0x2b5281(0x14e)](_0x2b5281(0x148),()=>{const _0x10152a=_0x2b5281;this[_0x10152a(0x160)](_0x10152a(0x148));});}[_0x4bb84d(0x140)](){const _0x240e7f=_0x4bb84d;this[_0x240e7f(0x139)]['on'](_0x240e7f(0x13f),()=>{const _0x1b9c4b=_0x240e7f;this[_0x1b9c4b(0x160)](_0x1b9c4b(0x13f));});}}
@@ -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
+ const _0x58aebb=_0x9e38;(function(_0x314501,_0x1b519e){const _0x5564d=_0x9e38,_0x21e518=_0x314501();while(!![]){try{const _0x3feb89=-parseInt(_0x5564d(0x19e))/0x1+parseInt(_0x5564d(0x1a0))/0x2+-parseInt(_0x5564d(0x196))/0x3+-parseInt(_0x5564d(0x198))/0x4+parseInt(_0x5564d(0x1a2))/0x5*(parseInt(_0x5564d(0x19d))/0x6)+parseInt(_0x5564d(0x18f))/0x7*(-parseInt(_0x5564d(0x192))/0x8)+-parseInt(_0x5564d(0x18e))/0x9*(-parseInt(_0x5564d(0x189))/0xa);if(_0x3feb89===_0x1b519e)break;else _0x21e518['push'](_0x21e518['shift']());}catch(_0x29ab48){_0x21e518['push'](_0x21e518['shift']());}}}(_0x51dd,0xd9a02));function _0x9e38(_0x2f1784,_0x48e5ae){const _0x51ddf9=_0x51dd();return _0x9e38=function(_0x9e386c,_0x1164de){_0x9e386c=_0x9e386c-0x185;let _0x3dc27d=_0x51ddf9[_0x9e386c];return _0x3dc27d;},_0x9e38(_0x2f1784,_0x48e5ae);}import{Command as _0x5ce57e}from'ckeditor5/src/core.js';import{Dialog as _0x525eea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xdeb4a8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x58024d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5ce57e{[_0x58aebb(0x194)];static get[_0x58aebb(0x19f)](){return[_0x525eea];}[_0x58aebb(0x188)];constructor(_0x35706e){const _0x1eeeda=_0x58aebb;super(_0x35706e),this[_0x1eeeda(0x194)]=void 0x0,this[_0x1eeeda(0x188)]=_0x58024d(_0x35706e[_0x1eeeda(0x1a3)][_0x1eeeda(0x18c)](_0x1eeeda(0x18d))||[]),this[_0x1eeeda(0x18b)]({'isActive':!0x1});}[_0x58aebb(0x193)](){const _0x30f9ec=_0x58aebb,_0x175ede=this[_0x30f9ec(0x19c)][_0x30f9ec(0x185)][_0x30f9ec(0x187)][_0x30f9ec(0x195)][_0x30f9ec(0x18a)]();this[_0x30f9ec(0x1a4)]=this[_0x30f9ec(0x188)](_0x175ede);}[_0x58aebb(0x19a)](){const _0x2481fc=_0x58aebb;this[_0x2481fc(0x194)]&&(this[_0x2481fc(0x1a1)](_0x2481fc(0x19b)),this[_0x2481fc(0x194)]=void 0x0);const _0x13161f=this[_0x2481fc(0x19c)][_0x2481fc(0x185)][_0x2481fc(0x187)][_0x2481fc(0x195)][_0x2481fc(0x18a)]();_0x13161f&&(_0x13161f['is'](_0x2481fc(0x191),_0x2481fc(0x190))||_0x13161f['is'](_0x2481fc(0x191),_0x2481fc(0x186)))&&(this[_0x2481fc(0x194)]=new _0xdeb4a8(this[_0x2481fc(0x19c)],this[_0x2481fc(0x19c)][_0x2481fc(0x199)][_0x2481fc(0x18c)](_0x525eea),_0x13161f),this[_0x2481fc(0x197)](_0x2481fc(0x19b))['to'](this[_0x2481fc(0x194)],_0x2481fc(0x19b)));}}function _0x51dd(){const _0x1e2cab=['config','isEnabled','model','imageInline','document','_isEditable','100PGdgEU','getSelectedElement','set','get','uploadcare.allowExternalImagesEditing','2242467FMryRA','495908bGXRBq','imageBlock','element','168lvSYIC','refresh','imageEditController','selection','4346181rKGwjB','bind','4374560ceZCWD','plugins','execute','isActive','editor','327714HoGjMi','483646FIPMgc','requires','3314528zGqPOy','unbind','115YKhkEP'];_0x51dd=function(){return _0x1e2cab;};return _0x51dd();}
@@ -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 _0x22525b=_0x411b;(function(_0x277e94,_0x1dc6b2){const _0x41382f=_0x411b,_0x8161d2=_0x277e94();while(!![]){try{const _0xcaab20=parseInt(_0x41382f(0x195))/0x1+-parseInt(_0x41382f(0x1a0))/0x2*(parseInt(_0x41382f(0x190))/0x3)+parseInt(_0x41382f(0x18f))/0x4*(parseInt(_0x41382f(0x19d))/0x5)+parseInt(_0x41382f(0x19b))/0x6+-parseInt(_0x41382f(0x19f))/0x7+-parseInt(_0x41382f(0x18d))/0x8+parseInt(_0x41382f(0x196))/0x9;if(_0xcaab20===_0x1dc6b2)break;else _0x8161d2['push'](_0x8161d2['shift']());}catch(_0x50bb35){_0x8161d2['push'](_0x8161d2['shift']());}}}(_0x5ab7,0x80103));function _0x411b(_0x2ceeab,_0x1750f6){const _0x5ab7d9=_0x5ab7();return _0x411b=function(_0x411b31,_0x28c555){_0x411b31=_0x411b31-0x18d;let _0x895d6=_0x5ab7d9[_0x411b31];return _0x895d6;},_0x411b(_0x2ceeab,_0x1750f6);}import{Plugin as _0x59cd54}from'ckeditor5/src/core.js';import{Notification as _0x22464a}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x230b90}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4ee4eb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5b0c00}from'../uploadcareediting.js';function _0x5ab7(){const _0x2b8517=['770kOuAsX','ImageEditing','2448803lFbXgH','10154DYpgbn','isPremiumPlugin','7457080afyhgW','add','9948CnfPlf','108SSZVPL','pluginName','UploadcareImageEditEditing','uploadcareImageEdit','requires','421190JAXuEm','7611813JoYgDt','uploadcareImageReplace','ImageUtils','commands','isOfficialPlugin','2036028lRQNWC','init'];_0x5ab7=function(){return _0x2b8517;};return _0x5ab7();}export class UploadcareImageEditEditing extends _0x59cd54{static get[_0x22525b(0x191)](){const _0x1e3e7e=_0x22525b;return _0x1e3e7e(0x192);}static get[_0x22525b(0x194)](){const _0x3879a5=_0x22525b;return[_0x5b0c00,_0x22464a,_0x3879a5(0x198),_0x3879a5(0x19e)];}static get[_0x22525b(0x19a)](){return!0x0;}static get[_0x22525b(0x1a1)](){return!0x0;}[_0x22525b(0x19c)](){const _0x5928ad=_0x22525b,{editor:_0x49388b}=this;_0x49388b[_0x5928ad(0x199)][_0x5928ad(0x18e)](_0x5928ad(0x193),new _0x230b90(_0x49388b)),_0x49388b[_0x5928ad(0x199)][_0x5928ad(0x18e)](_0x5928ad(0x197),new _0x4ee4eb(_0x49388b));}}
@@ -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 _0x1bc1f8}from'ckeditor5/src/core.js';import{ButtonView as _0x425b18}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x12110c}from'ckeditor5/src/icons.js';import{createElement as _0x403f9e}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 _0x1bc1f8{['_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 _0x369784=this['editor'];_0x369784['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a2a6c=>{const _0x32b8fc=_0x369784['commands']['get']('uploadcareImageEdit'),_0x4923dc=new _0x425b18(_0x3a2a6c),t=_0x3a2a6c['t'];return _0x4923dc['set']({'icon':_0x12110c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4923dc['bind']('isEnabled')['to'](_0x32b8fc),_0x4923dc['bind']('isOn')['to'](_0x32b8fc,'isActive'),this['listenTo'](_0x4923dc,'execute',()=>{_0x369784['execute']('uploadcareImageEdit'),_0x369784['editing']['view']['focus']();}),_0x4923dc;}),this['_initConfig']();}['_initConfig'](){const _0x200d69=_0x403f9e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x200d69),this['listenTo'](this['editor'],'destroy',()=>{_0x200d69['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
+ const _0x4bb31d=_0x2849;function _0x2849(_0x220a0,_0x443034){const _0x132ae4=_0x132a();return _0x2849=function(_0x284905,_0x18b458){_0x284905=_0x284905-0x150;let _0x44f8dd=_0x132ae4[_0x284905];return _0x44f8dd;},_0x2849(_0x220a0,_0x443034);}(function(_0xb88ba1,_0x5c961a){const _0x4a8a13=_0x2849,_0x438072=_0xb88ba1();while(!![]){try{const _0x525e4b=parseInt(_0x4a8a13(0x157))/0x1*(-parseInt(_0x4a8a13(0x15e))/0x2)+-parseInt(_0x4a8a13(0x156))/0x3+-parseInt(_0x4a8a13(0x169))/0x4*(-parseInt(_0x4a8a13(0x167))/0x5)+parseInt(_0x4a8a13(0x151))/0x6*(parseInt(_0x4a8a13(0x15a))/0x7)+parseInt(_0x4a8a13(0x163))/0x8+parseInt(_0x4a8a13(0x160))/0x9+-parseInt(_0x4a8a13(0x165))/0xa*(-parseInt(_0x4a8a13(0x164))/0xb);if(_0x525e4b===_0x5c961a)break;else _0x438072['push'](_0x438072['shift']());}catch(_0x44dcc4){_0x438072['push'](_0x438072['shift']());}}}(_0x132a,0xcba34));import{Command as _0xd89cd7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xd89cd7{[_0x4bb31d(0x15c)](){const _0x3ef987=_0x4bb31d,_0xdf536a=this[_0x3ef987(0x168)][_0x3ef987(0x15f)][_0x3ef987(0x161)][_0x3ef987(0x150)][_0x3ef987(0x158)]();this[_0x3ef987(0x154)]=Boolean(_0xdf536a&&(_0xdf536a['is'](_0x3ef987(0x15b),_0x3ef987(0x15d))||_0xdf536a['is'](_0x3ef987(0x15b),_0x3ef987(0x166))));}[_0x4bb31d(0x155)](_0x811582){const _0x3a9976=_0x4bb31d,_0x25f47c=this[_0x3a9976(0x168)][_0x3a9976(0x15f)][_0x3a9976(0x161)][_0x3a9976(0x150)][_0x3a9976(0x158)]();this[_0x3a9976(0x168)][_0x3a9976(0x15f)][_0x3a9976(0x152)](_0x2a0d20=>{const _0x1fe27b=_0x3a9976;_0x2a0d20[_0x1fe27b(0x162)](_0x811582,_0x25f47c),_0x2a0d20[_0x1fe27b(0x153)](_0x1fe27b(0x159),_0x25f47c),_0x2a0d20[_0x1fe27b(0x153)](_0x1fe27b(0x16a),_0x25f47c);});}}function _0x132a(){const _0x3fb72e=['10nCkYYq','editor','514436FSEnOg','sizes','selection','138ZBmjQR','change','removeAttribute','isEnabled','execute','3135174NnmsTg','25hqPwEs','getSelectedElement','srcset','52178LiUSnz','element','refresh','imageBlock','116540ZMhgtZ','model','3311676dpLuGJ','document','setAttributes','5906256DxXQeF','3014myWDQE','65730UepKOF','imageInline'];_0x132a=function(){return _0x3fb72e;};return _0x132a();}
@@ -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 _0x31b328=_0x4b75;(function(_0x42d8d6,_0x500042){var _0x5eb2dc=_0x4b75,_0xf75978=_0x42d8d6();while(!![]){try{var _0x1cf80a=parseInt(_0x5eb2dc(0x164))/0x1*(-parseInt(_0x5eb2dc(0x165))/0x2)+parseInt(_0x5eb2dc(0x15f))/0x3*(-parseInt(_0x5eb2dc(0x16a))/0x4)+parseInt(_0x5eb2dc(0x16b))/0x5*(-parseInt(_0x5eb2dc(0x161))/0x6)+-parseInt(_0x5eb2dc(0x15d))/0x7+-parseInt(_0x5eb2dc(0x15e))/0x8*(parseInt(_0x5eb2dc(0x163))/0x9)+-parseInt(_0x5eb2dc(0x168))/0xa+parseInt(_0x5eb2dc(0x167))/0xb;if(_0x1cf80a===_0x500042)break;else _0xf75978['push'](_0xf75978['shift']());}catch(_0x1b7e6e){_0xf75978['push'](_0xf75978['shift']());}}}(_0x4ef3,0xb9375));import{Plugin as _0xb4edaf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4a1c7e}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1a1b14}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xb4edaf{static get[_0x31b328(0x16c)](){var _0x29df6b=_0x31b328;return _0x29df6b(0x169);}static get[_0x31b328(0x162)](){return[_0x4a1c7e,_0x1a1b14];}static get[_0x31b328(0x160)](){return!0x0;}static get[_0x31b328(0x166)](){return!0x0;}}function _0x4b75(_0x10d436,_0x323caf){var _0x4ef36c=_0x4ef3();return _0x4b75=function(_0x4b7513,_0x3807bd){_0x4b7513=_0x4b7513-0x15d;var _0x8b697c=_0x4ef36c[_0x4b7513];return _0x8b697c;},_0x4b75(_0x10d436,_0x323caf);}function _0x4ef3(){var _0x9be507=['3771oRTsTe','84277tAdbKe','22YXyseT','isPremiumPlugin','56025079qjWbic','7794080CxusPC','UploadcareImageEdit','4nLCpFu','50ycNQtz','pluginName','921585tsTylW','16992QFSexQ','2636724jVxjGA','isOfficialPlugin','436542ZpFsPJ','requires'];_0x4ef3=function(){return _0x9be507;};return _0x4ef3();}
@@ -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 _0x29478b=_0x56f4;function _0x56f4(_0x7474d3,_0x8319ea){const _0x5c3039=_0x5c30();return _0x56f4=function(_0x56f4b4,_0x4b1691){_0x56f4b4=_0x56f4b4-0x153;let _0x3d3f25=_0x5c3039[_0x56f4b4];return _0x3d3f25;},_0x56f4(_0x7474d3,_0x8319ea);}(function(_0x213b0a,_0x21f609){const _0xcb0576=_0x56f4,_0x3c8a27=_0x213b0a();while(!![]){try{const _0x3ab416=parseInt(_0xcb0576(0x17a))/0x1+-parseInt(_0xcb0576(0x175))/0x2*(parseInt(_0xcb0576(0x16e))/0x3)+parseInt(_0xcb0576(0x182))/0x4+parseInt(_0xcb0576(0x155))/0x5+parseInt(_0xcb0576(0x193))/0x6+-parseInt(_0xcb0576(0x19e))/0x7*(-parseInt(_0xcb0576(0x15a))/0x8)+-parseInt(_0xcb0576(0x16c))/0x9;if(_0x3ab416===_0x21f609)break;else _0x3c8a27['push'](_0x3c8a27['shift']());}catch(_0xed9a7a){_0x3c8a27['push'](_0x3c8a27['shift']());}}}(_0x5c30,0x9ecd8));import{Plugin as _0x80a7e7}from'ckeditor5/src/core.js';import{IconDropbox as _0x11c4b8,IconFacebook as _0x190601,IconGoogleDrive as _0x2ca8d0,IconGooglePhotos as _0x31e3a5,IconUploadcareImageUpload as _0x42f086,IconUploadcareLink as _0x2a479f,IconOneDrive as _0x212452}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cba06,MenuBarMenuListItemButtonView as _0xe783bd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5f00d0}from'./uploadcareconfig.js';function _0x5c30(){const _0x39936a=['url','uploadcareLicenseKeyEvaluationLimit','usageLimit','isOfficialPlugin','withText','16113195nBkFEA','_getIntegrationKey','6015peRbMF','_normalizeConfigSourceList','has','init','_createDropdownButtons','uploadcareLicenseKeyDomainLimit','featureNotAllowed','920RXcHTl','forEach','config','_licenseKeyCheckInterval','get','1222939HHmWjT','Dropbox','execute','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','registerIntegration','UploadcareUI','commands','981272xmlDfO','isPremiumPlugin','expired','pluginName','upload','text','shortText','uploadcareLicenseKeyValid','GDrive','push','reduce','licenseKey','tooltip','isImageSelected','OneDrive','label','isEnabled','3395022qHMBsY','Facebook','URL','uploadcare','bind','entries','icon','_createMenuBarButtons','_createButton','trialLimit','uploadcareLicenseKeyTrialLimit','681247hbVvnD','type','Local','GPhotos','locale','assetManager','evaluationLimit','2265640VZbhhA','Insert','uploadcareLicenseKeyNotAllowed','afterInit','domainLimit','72XLzUVK','plugins','uploadcareLicenseKeyUsageLimit','Replace','editor','destroy','_showLicenseError','_createToolbarButton','ImageInsertUI','Uploadcare','invalid','uploadcareLicenseKeyExpired','map'];_0x5c30=function(){return _0x39936a;};return _0x5c30();}import{getTranslation as _0x163acb}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 _0x80a7e7{[_0x29478b(0x18d)];[_0x29478b(0x178)];static get[_0x29478b(0x185)](){const _0x3e3b17=_0x29478b;return _0x3e3b17(0x180);}static get[_0x29478b(0x16a)](){return!0x0;}static get[_0x29478b(0x183)](){return!0x0;}[_0x29478b(0x171)](){const _0x273dcf=_0x29478b;this[_0x273dcf(0x18d)]=this[_0x273dcf(0x15e)][_0x273dcf(0x177)][_0x273dcf(0x179)](_0x273dcf(0x18d));const _0xcc5ee1=this[_0x273dcf(0x15e)];this[_0x273dcf(0x178)]=setInterval(()=>{const _0x59da7e=_0x273dcf;let _0x1d110b;for(const _0x354575 in _0xcc5ee1){const _0x464f98=_0x354575,_0x113f85=_0xcc5ee1[_0x464f98];if(_0x59da7e(0x189)==_0x113f85||_0x59da7e(0x17d)==_0x113f85||_0x59da7e(0x165)==_0x113f85||_0x59da7e(0x173)==_0x113f85||_0x59da7e(0x157)==_0x113f85||_0x59da7e(0x168)==_0x113f85||_0x59da7e(0x19d)==_0x113f85||_0x59da7e(0x15c)==_0x113f85){delete _0xcc5ee1[_0x464f98],_0x1d110b=_0x113f85,clearInterval(this[_0x59da7e(0x178)]),this[_0x59da7e(0x178)]=void 0x0;break;}}_0x59da7e(0x17d)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x164)),_0x59da7e(0x165)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x184)),_0x59da7e(0x173)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x159)),_0x59da7e(0x157)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x174),_0x59da7e(0x163)),_0x59da7e(0x168)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x154)),_0x59da7e(0x19d)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x19c)),_0x59da7e(0x15c)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x169));},0x3e8);}[_0x29478b(0x158)](){const _0xa78384=_0x29478b,{editor:_0x413f3f}=this,_0x4cfc87=_0x413f3f[_0xa78384(0x181)][_0xa78384(0x179)](_0xa78384(0x196));if(!_0x4cfc87)return;const _0x99c4f2=this[_0xa78384(0x16f)](_0x413f3f[_0xa78384(0x177)][_0xa78384(0x179)](_0xa78384(0x17e)))[_0xa78384(0x18c)]((_0x5defee,_0x10490e)=>{const _0xd29592=_0xa78384,_0x438f8e=this[_0xd29592(0x16d)](_0x10490e[_0xd29592(0x19f)]);return _0x5defee[_0x438f8e]||(_0x5defee[_0x438f8e]=[]),_0x5defee[_0x438f8e][_0xd29592(0x18b)](_0x10490e),_0x5defee;},{});_0x413f3f[_0xa78384(0x15b)][_0xa78384(0x170)](_0xa78384(0x162))&&_0x413f3f[_0xa78384(0x181)][_0xa78384(0x179)](_0xa78384(0x196))&&Object[_0xa78384(0x198)](_0x99c4f2)[_0xa78384(0x176)](([_0x34b5e6,_0x83fa60])=>{const _0x587fcd=_0xa78384;_0x413f3f[_0x587fcd(0x15b)][_0x587fcd(0x179)](_0x587fcd(0x162))[_0x587fcd(0x17f)]({'name':_0x34b5e6,'observable':()=>_0x4cfc87,'buttonViewCreator':()=>this[_0x587fcd(0x161)](_0x83fa60),'formViewCreator':()=>this[_0x587fcd(0x172)](_0x83fa60),'menuBarButtonViewCreator':()=>this[_0x587fcd(0x19a)](_0x83fa60),'override':_0x587fcd(0x153)!==_0x34b5e6});});}[_0x29478b(0x15f)](){const _0x36657e=_0x29478b;super[_0x36657e(0x15f)](),this[_0x36657e(0x178)]&&clearInterval(this[_0x36657e(0x178)]);}[_0x29478b(0x16f)](_0x416800){const _0x3ff209=_0x29478b,{locale:_0x16512a}=this[_0x3ff209(0x15e)];return _0x416800[_0x3ff209(0x166)](_0x53618d=>{const _0x4be590=_0x3ff209,_0x1c9ea0=_0x163acb(_0x16512a,_0x53618d,_0x4be590(0x156));switch(_0x53618d){case _0x5f00d0[_0x4be590(0x1a0)]:return{'icon':_0x42f086,'type':_0x5f00d0[_0x4be590(0x1a0)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x195)]:return{'icon':_0x2a479f,'type':_0x5f00d0[_0x4be590(0x195)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x17b)]:return{'icon':_0x11c4b8,'type':_0x5f00d0[_0x4be590(0x17b)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x194)]:return{'icon':_0x190601,'type':_0x5f00d0[_0x4be590(0x194)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x18a)]:return{'icon':_0x2ca8d0,'type':_0x5f00d0[_0x4be590(0x18a)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x1a1)]:return{'icon':_0x31e3a5,'type':_0x5f00d0[_0x4be590(0x1a1)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x190)]:return{'icon':_0x212452,'type':_0x5f00d0[_0x4be590(0x190)],..._0x1c9ea0};}});}[_0x29478b(0x16d)](_0x2c1bd4){const _0x368bb1=_0x29478b;switch(_0x2c1bd4){case _0x5f00d0[_0x368bb1(0x1a0)]:return _0x368bb1(0x186);case _0x5f00d0[_0x368bb1(0x195)]:return _0x368bb1(0x167);default:return _0x368bb1(0x153);}}[_0x29478b(0x19b)](_0x78dcde,_0x9e2d7c){const _0x28b36d=_0x29478b,_0x37426b=this[_0x28b36d(0x15e)],_0x5bd29c=new _0x78dcde(_0x37426b[_0x28b36d(0x1a2)]),_0x16672b=_0x37426b[_0x28b36d(0x181)][_0x28b36d(0x179)](_0x28b36d(0x196));return _0x5bd29c[_0x28b36d(0x197)](_0x28b36d(0x192))['to'](_0x16672b),_0x5bd29c['on'](_0x28b36d(0x17c),()=>{const _0x522aac=_0x28b36d;_0x16672b[_0x522aac(0x17c)](_0x9e2d7c);}),_0x5bd29c;}[_0x29478b(0x161)](_0x3c185f){const _0x4ca897=_0x29478b,{locale:_0x3476bc}=this[_0x4ca897(0x15e)],_0x4c8817=this[_0x4ca897(0x15e)][_0x4ca897(0x15b)][_0x4ca897(0x179)](_0x4ca897(0x162)),_0xedd6bd=_0x3c185f[0x0],_0x5d861d=this[_0x4ca897(0x19b)](_0x5cba06,_0xedd6bd[_0x4ca897(0x19f)]);return _0x5d861d[_0x4ca897(0x199)]=_0xedd6bd[_0x4ca897(0x199)],_0x5d861d[_0x4ca897(0x197)](_0x4ca897(0x191))['to'](_0x4c8817,_0x4ca897(0x18f),_0x46704c=>_0x163acb(_0x3476bc,_0xedd6bd[_0x4ca897(0x19f)],_0x46704c?_0x4ca897(0x15d):_0x4ca897(0x156))[_0x4ca897(0x187)]),_0x5d861d[_0x4ca897(0x18e)]=!0x0,_0x5d861d;}[_0x29478b(0x172)](_0x3331ca){const _0x158cb7=_0x29478b,{locale:_0x4f3131}=this[_0x158cb7(0x15e)],_0x5792d9=this[_0x158cb7(0x15e)][_0x158cb7(0x15b)][_0x158cb7(0x179)](_0x158cb7(0x162));return _0x3331ca[_0x158cb7(0x166)](_0x3a4d97=>{const _0x13a4b2=_0x158cb7,_0x2e909b=this[_0x13a4b2(0x19b)](_0x5cba06,_0x3a4d97[_0x13a4b2(0x19f)]);return _0x2e909b[_0x13a4b2(0x16b)]=!0x0,_0x2e909b[_0x13a4b2(0x199)]=_0x3a4d97[_0x13a4b2(0x199)],_0x2e909b[_0x13a4b2(0x197)](_0x13a4b2(0x191))['to'](_0x5792d9,_0x13a4b2(0x18f),_0xace279=>_0x163acb(_0x4f3131,_0x3a4d97[_0x13a4b2(0x19f)],_0xace279?_0x13a4b2(0x15d):_0x13a4b2(0x156))[_0x13a4b2(0x187)]),_0x2e909b;});}[_0x29478b(0x19a)](_0x337760){const _0x5f7686=_0x29478b;return _0x337760[_0x5f7686(0x166)](_0x278dda=>{const _0x4157a0=_0x5f7686,_0x27c882=this[_0x4157a0(0x19b)](_0xe783bd,_0x278dda[_0x4157a0(0x19f)]);return _0x27c882[_0x4157a0(0x199)]=_0x278dda[_0x4157a0(0x199)],_0x27c882[_0x4157a0(0x191)]=_0x278dda[_0x4157a0(0x188)],_0x27c882;});}}
@@ -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 _0x5a77c3}from'ckeditor5/src/core.js';import{FileRepository as _0x9fa9e8}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x38a56f}from'./uploadcareediting.js';import{UploadUtils as _0x3cb41a}from'./utils/uploadutils.js';import{getImageUrls as _0x4ae329}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5a77c3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x9fa9e8,_0x38a56f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4784ad=this['editor'];if(!!!_0x4784ad['config']['get']('uploadcare'))return;_0x4784ad['plugins']['get'](_0x9fa9e8)['createUploadAdapter']=_0x280e04=>new k(_0x280e04,_0x4784ad),_0x4784ad['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e0792,{imageElement:_0x4af5bd,data:_0x589de6})=>{_0x4784ad['model']['change'](_0x1ec8ed=>{_0x1ec8ed['setAttribute']('uploadcareImageId',_0x589de6['uploadcareImageId'],_0x4af5bd);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1be2b5,_0x209373){this['loader']=_0x1be2b5,this['editor']=_0x209373,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x36875b=await this['loader']['file'];return _0x3cb41a['upload']({'file':_0x36875b,'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':_0x2dcd05=>{_0x2dcd05&&_0x2dcd05['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dcd05['value']);}})['then'](async _0x11b517=>{const {imageFallbackUrl:_0x4f7a6e,imageSources:_0x312cf0}=_0x4ae329(_0x11b517['cdnUrl'],_0x11b517['imageInfo']['width']);return{'uploadcareImageId':_0x11b517['uuid'],'default':_0x4f7a6e,'sources':_0x312cf0};})['catch'](()=>{const _0x190da5=t('Cannot\x20upload\x20file:')+('\x20'+_0x36875b['name']+'.');return Promise['reject'](_0x190da5);});}['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 _0x37674d}from'../uploadcareconfig.js';export function getTranslation(_0x1fbdf1,_0x59597,_0x1a24ad){const t=_0x1fbdf1['t'],_0x2a288c=_0x1fbdf1['t'];switch(_0x59597){case _0x37674d['Local']:return{'text':_0x2a288c('Insert'===_0x1a24ad?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2a288c('From\x20computer')};case _0x37674d['URL']:return{'text':'Insert'===_0x1a24ad?_0x2a288c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2a288c('Via\x20URL')};case _0x37674d['Dropbox']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x37674d['Facebook']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x37674d['GDrive']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x37674d['GPhotos']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x37674d['OneDrive']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x59597;}}
@@ -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 _0x287afb=_0x5824;function _0x5824(_0x548dd9,_0x902c11){var _0xa8a5d0=_0xa8a5();return _0x5824=function(_0x58245c,_0x9c6f1c){_0x58245c=_0x58245c-0x1b4;var _0x2c42ed=_0xa8a5d0[_0x58245c];return _0x2c42ed;},_0x5824(_0x548dd9,_0x902c11);}(function(_0x1d4323,_0x1f6596){var _0x1a0452=_0x5824,_0x84b464=_0x1d4323();while(!![]){try{var _0x187d42=parseInt(_0x1a0452(0x1b5))/0x1*(parseInt(_0x1a0452(0x1c2))/0x2)+parseInt(_0x1a0452(0x1c5))/0x3*(-parseInt(_0x1a0452(0x1b9))/0x4)+parseInt(_0x1a0452(0x1b7))/0x5*(-parseInt(_0x1a0452(0x1c6))/0x6)+parseInt(_0x1a0452(0x1c8))/0x7*(parseInt(_0x1a0452(0x1b8))/0x8)+parseInt(_0x1a0452(0x1c1))/0x9+-parseInt(_0x1a0452(0x1bc))/0xa*(parseInt(_0x1a0452(0x1b6))/0xb)+-parseInt(_0x1a0452(0x1c3))/0xc*(-parseInt(_0x1a0452(0x1c9))/0xd);if(_0x187d42===_0x1f6596)break;else _0x84b464['push'](_0x84b464['shift']());}catch(_0x20b709){_0x84b464['push'](_0x84b464['shift']());}}}(_0xa8a5,0x94a7c));function _0xa8a5(){var _0x524bd3=['440jnmSvv','12fUhpYU','bindTemplate','3kgKvsn','6lIeOPH','div','7mvOVDF','4742062EtlhkQ','true','3157tDmEjd','16082gupIwJ','3633685bYeknj','636808BNsITY','3174068zwoItE','fire','focusTracker','1520tlErNF','getFocusableElement','createCollection','focusCycler','forwardCycle','10912095GCIaKG'];_0xa8a5=function(){return _0x524bd3;};return _0xa8a5();}import{FocusTracker as _0x340c94}from'ckeditor5/src/utils.js';import{View as _0x54c0f9,FocusCycler as _0x524df1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x54c0f9{[_0x287afb(0x1bb)];[_0x287afb(0x1bf)];constructor(_0x449af6){var _0x54d9aa=_0x287afb;super(_0x449af6),this[_0x54d9aa(0x1bb)]=new _0x340c94(),this[_0x54d9aa(0x1bf)]=new _0x524df1({'focusables':this[_0x54d9aa(0x1be)](),'focusTracker':this[_0x54d9aa(0x1bb)]});}[_0x287afb(0x1bd)](){var _0x329632=_0x287afb;return{'tag':_0x329632(0x1c7),'attributes':{'aria-hidden':_0x329632(0x1b4),'tabindex':'0'},'on':{'focus':this[_0x329632(0x1c4)]['to'](()=>{var _0x56cd9b=_0x329632;this[_0x56cd9b(0x1bf)][_0x56cd9b(0x1ba)](_0x56cd9b(0x1c0));})}};}}