@ckeditor/ckeditor5-uploadcare 45.0.0-alpha.1 → 45.0.0-alpha.3

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
- function _0x5d38(){const _0x252782=['uploadcare','commands','config','add','cleanupImage','render','25744266pfDOsh','data-uc-image-id','remove','fromCharCode','downcast','listenTo','isRegistered','uploadcare.uploader','input[uploadcare-file-input]','closeMax','_initImageProcessingIndicator','PictureEditing','_initConversion','224CdQMsV','body','1869984gpEzYI','imageBlock','79177Fgijmg','UploadcareEditing','_initSchema','imageInline','schema','model','60qqutCd','get','init','appendChild','configElement','isPremiumPlugin','removeAttribute','_configElement','uc-upload-ctx-provider','selection','uc-config','extend','uploadcare.pubkey','iconHrefResolver','replaceImageSource','map','isOfficialPlugin','view','272387cyTZUw','true','upcast','requires','document','#uc-icon-arrow-down','uploadcareImageReplace','\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','destroy','execute','uploader','afterInit','getSelectedElement','editing','6301392tUqHgu','_initCtx','locale','_initConfig','conversion','269884xWpOcE','uploadcareImageId','attributeToAttribute','ctxElement','pluginName','join','once','contentLanguage','querySelector','editor','elementToAttribute','_ctxElement','insertImage','for','getAttribute','href','1718872HVGKyy'];_0x5d38=function(){return _0x252782;};return _0x5d38();}const _0x44ddc7=_0x1987;(function(_0x24aef7,_0x140d86){const _0x1fe471=_0x1987,_0xcb2a03=_0x24aef7();while(!![]){try{const _0x3e12ae=-parseInt(_0x1fe471(0xa3))/0x1+parseInt(_0x1fe471(0xc6))/0x2+parseInt(_0x1fe471(0x89))/0x3+-parseInt(_0x1fe471(0xb6))/0x4*(-parseInt(_0x1fe471(0x91))/0x5)+parseInt(_0x1fe471(0xb1))/0x6+-parseInt(_0x1fe471(0x8b))/0x7*(-parseInt(_0x1fe471(0x87))/0x8)+-parseInt(_0x1fe471(0xcd))/0x9;if(_0x3e12ae===_0x140d86)break;else _0xcb2a03['push'](_0xcb2a03['shift']());}catch(_0xd7236d){_0xcb2a03['push'](_0xcb2a03['shift']());}}}(_0x5d38,0x8089f));function _0x1987(_0x1aad04,_0x3bbd44){const _0x5d38ba=_0x5d38();return _0x1987=function(_0x19875f,_0x35411f){_0x19875f=_0x19875f-0x7b;let _0x5dc2c7=_0x5d38ba[_0x19875f];return _0x5dc2c7;},_0x1987(_0x1aad04,_0x3bbd44);}import{Plugin as _0x4c10e3}from'ckeditor5/src/core.js';import{Dialog as _0x183cda}from'ckeditor5/src/ui.js';import{createElement as _0x22ea2b,global as _0x35a9b3,uid as _0x4834b4}from'ckeditor5/src/utils.js';import _0x1c413 from'./uploadcarecommand.js';import _0x455f42 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x23c86e}from'./utils/editingutils.js';export default class i extends _0x4c10e3{[_0x44ddc7(0x98)]=null;[_0x44ddc7(0xc1)]=null;static get[_0x44ddc7(0xba)](){const _0x1f4d40=_0x44ddc7;return _0x1f4d40(0x8c);}static get[_0x44ddc7(0xa6)](){const _0x2696cf=_0x44ddc7;return[_0x2696cf(0x85),_0x455f42,_0x183cda];}static get[_0x44ddc7(0xa1)](){return!0x0;}static get[_0x44ddc7(0x96)](){return!0x0;}get[_0x44ddc7(0x95)](){const _0x90efac=_0x44ddc7;return this[_0x90efac(0x98)];}get[_0x44ddc7(0xb9)](){const _0x490cc0=_0x44ddc7;return this[_0x490cc0(0xc1)];}[_0x44ddc7(0x93)](){const _0x29c7a2=_0x44ddc7,_0x3c6f02=this[_0x29c7a2(0xbf)];_0x3c6f02[_0x29c7a2(0xc8)][_0x29c7a2(0xca)](_0x29c7a2(0xc7),new _0x1c413(_0x3c6f02));}[_0x44ddc7(0xae)](){const _0x58b35c=_0x44ddc7;this[_0x58b35c(0x8d)](),this[_0x58b35c(0x86)](),this[_0x58b35c(0xb4)](),this[_0x58b35c(0xb2)](),this[_0x58b35c(0x84)](),this[_0x58b35c(0x7f)](this[_0x58b35c(0xbf)],_0x58b35c(0xab),()=>{const _0x58e767=_0x58b35c;this[_0x58e767(0x98)]&&(this[_0x58e767(0x98)][_0x58e767(0x7c)](),this[_0x58e767(0x98)]=null),this[_0x58e767(0xc1)]&&(this[_0x58e767(0xc1)][_0x58e767(0x7c)](),this[_0x58e767(0xc1)]=null);const _0x52b001=_0x35a9b3[_0x58e767(0xa7)][_0x58e767(0xbe)](_0x58e767(0x82));_0x52b001&&_0x52b001[_0x58e767(0x7c)]();}),async function(_0x359289){const _0x2138b8=_0x38f610([0x68,0x6f,0x75,0x63,0x35,0x32,0x44,0x66,0x76,0x51,0x4e,0x58,0x55,0x62,0x65,0x4c,0x43,0x61,0x7a,0x72,0x73,0x69,0x4b,0x6c,0x49,0x56,0x6d,0x45,0x48,0x6e,0x53,0x41,0x4a,0x6b,0x47,0x67,0x33,0x54,0x78,0x36,0x30,0x5a,0x70,0x42,0x4f,0x38,0x37,0x34,0x74,0x46,0x64,0x4d,0x52,0x79,0x50,0x57,0x31,0x71,0x77,0x6a,0x39,0x59]),_0x4d0a0e=0x619ff3c8,_0x508cf7=0x61989098^_0x4d0a0e,_0x3df227=window[_0x38f610([0x44,0x61,0x74,0x65])][_0x38f610([0x6e,0x6f,0x77])](),_0x5e35ba=_0x359289[_0x38f610([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46f717=new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cfa9b=>{_0x5e35ba[_0x38f610([0x6f,0x6e,0x63,0x65])](_0x38f610([0x72,0x65,0x61,0x64,0x79]),_0x1cfa9b);}),_0x573847={[_0x38f610([0x6b,0x74,0x79])]:_0x38f610([0x45,0x43]),[_0x38f610([0x75,0x73,0x65])]:_0x38f610([0x73,0x69,0x67]),[_0x38f610([0x63,0x72,0x76])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36]),[_0x38f610([0x78])]:_0x38f610([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]),[_0x38f610([0x79])]:_0x38f610([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]),[_0x38f610([0x61,0x6c,0x67])]:_0x38f610([0x45,0x53,0x32,0x35,0x36])},_0x3bc7fe=_0x5e35ba[_0x38f610([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38f610([0x67,0x65,0x74])](_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x383770(){let _0x2b1777,_0x4f8d2c=null,_0x120b94=null;try{if(_0x3bc7fe==_0x38f610([0x47,0x50,0x4c]))return _0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b1777=_0x4832a4(),!_0x2b1777)return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x120b94=_0x344778(_0x2b1777[_0x38f610([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b1777[_0x38f610([0x6a,0x74,0x69])])),await _0xc99bef()?_0x28caef()?_0x5c11f5()?_0x38f610([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39c443()?(_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38f610([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f8d2c=_0x380ba6(_0x38f610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x575735()):_0x38f610([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59fd4f){return _0x38f610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c11f5(){const _0x37109f=[_0x38f610([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38f610([0x74,0x72,0x69,0x61,0x6c])][_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3df227/0x3e8:0xe10*_0x508cf7;return _0x2b1777[_0x38f610([0x65,0x78,0x70])]<_0x37109f;}function _0x28caef(){const _0x665e66=_0x2b1777[_0x38f610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x665e66&&(!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a]))||!!_0x665e66[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x55,0x50,0x4c,0x43])));}function _0x39c443(){const _0x4509f2=_0x1987,_0x5308c8=_0x2b1777[_0x38f610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5308c8||0x0==_0x5308c8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34dcb5}=new URL(window[_0x38f610([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4509f2(0xc5)]);if(_0x5308c8[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dcb5))return!0x0;const _0x2eb3e3=_0x34dcb5[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));return _0x5308c8[_0x38f610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e8b8d=>_0x3e8b8d[_0x38f610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38f610([0x2a])))[_0x38f610([0x6d,0x61,0x70])](_0x1b4c4d=>_0x1b4c4d[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])))[_0x38f610([0x73,0x6f,0x6d,0x65])](_0x9ca9d7=>_0x2eb3e3[_0x38f610([0x65,0x76,0x65,0x72,0x79])]((_0x27a503,_0x259b74)=>_0x9ca9d7[_0x259b74]===_0x27a503||_0x9ca9d7[_0x259b74]===_0x38f610([0x2a])));}function _0x575735(){return _0x4f8d2c&&_0x120b94?new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f585a,_0x413ac4)=>{_0x4f8d2c[_0x38f610([0x74,0x68,0x65,0x6e])](_0x2f585a,_0x413ac4),_0x120b94[_0x38f610([0x74,0x68,0x65,0x6e])](_0x50c73c=>{_0x50c73c!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x2f585a(_0x50c73c);},_0x413ac4);}):_0x4f8d2c||_0x120b94||_0x38f610([0x56,0x61,0x6c,0x69,0x64]);}}function _0x344778(_0x427a5b,_0x45392b){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8d49=>{if(_0x478ba2())return _0x5e8d49(_0x38f610([0x56,0x61,0x6c,0x69,0x64]));_0x3f04f1(),_0x5e35ba[_0x38f610([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37f7c5=!0x1;const _0x49770f=_0x4834b4();function _0x480eca(_0x29eb93){return!!_0x29eb93&&(typeof _0x29eb93===_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29eb93===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29eb93[_0x38f610([0x74,0x68,0x65,0x6e])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29eb93[_0x38f610([0x63,0x61,0x74,0x63,0x68])]===_0x38f610([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e4770(_0x224d06){_0x4a60fa(_0x224d06)[_0x38f610([0x74,0x68,0x65,0x6e])](_0x10149f=>{if(!_0x10149f||_0x10149f[_0x38f610([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38f610([0x6f,0x6b]))return _0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11882f(_0x3cf28a(_0x49770f+_0x45392b))!=_0x10149f[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38f610([0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0xb45559=>(_0x38d613(),_0xb45559),()=>{const _0x3fc7ae=_0x11728b();return null==_0x3fc7ae?(_0x38d613(),_0x38f610([0x56,0x61,0x6c,0x69,0x64])):_0x38f610(_0x3df227-_0x3fc7ae>(0x459377c8^_0x4d0a0e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38f610([0x74,0x68,0x65,0x6e])](_0x5e8d49)[_0x38f610([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44c978=0x61a91d48^_0x4d0a0e;function _0x38d613(){const _0x27cbb1=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x55128=_0x22f029(_0x11882f(window[_0x38f610([0x4d,0x61,0x74,0x68])][_0x38f610([0x63,0x65,0x69,0x6c])](_0x3df227/_0x44c978)));window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27cbb1,_0x55128);}function _0x11728b(){const _0x21bcb8=_0x38f610([0x6c,0x6c,0x63,0x74,0x2d])+_0x11882f(_0x3cf28a(_0x427a5b)),_0x1a83dc=window[_0x38f610([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38f610([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21bcb8);return _0x1a83dc?window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22f029(_0x1a83dc),0x10)*_0x44c978:null;}function _0x4a60fa(_0x47a9b8){return new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c55d3,_0x3380c1)=>{_0x47a9b8[_0x38f610([0x74,0x68,0x65,0x6e])](_0x4c55d3,_0x3380c1),window[_0x38f610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3380c1,0x619e2708^_0x4d0a0e);});}}_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x93b8a8,_0x101bc8)=>{if(_0x101bc8[0x0]!=_0x427a5b)return _0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x101bc8[0x1]={..._0x101bc8[0x1],[_0x38f610([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49770f};},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x68,0x69,0x67,0x68])}),_0x5e35ba[_0x38f610([0x6f,0x6e])](_0x38f610([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbbd6bb=>{_0x480eca(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37f7c5=!0x0,_0x4e4770(_0xbbd6bb[_0x38f610([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38f610([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38f610([0x6c,0x6f,0x77])}),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>{_0x37f7c5||_0x5e8d49(_0x38f610([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x478ba2(){return _0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38f610([0x61,0x75,0x74,0x6f]);}function _0x3f04f1(){_0x5e35ba[_0x38f610([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38f610([0x76,0x69,0x65,0x77])][_0x38f610([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38f610([0x61,0x75,0x74,0x6f]);}}function _0x380ba6(_0x420922){const _0x29d104=[new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c8187=>setTimeout(_0x1c8187,0x6196cd04^_0x4d0a0e)),_0x46f717[_0x38f610([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208ca3=>{let _0x40cb2a=0x0;_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x6f,0x6e])](_0x38f610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2054d0,_0xca8f18)=>{_0xca8f18[0x0][_0x38f610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40cb2a++,_0x40cb2a==(0x619ff230^_0x4d0a0e)&&(_0x208ca3(),_0x2054d0[_0x38f610([0x6f,0x66,0x66])]());});}))];return window[_0x38f610([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38f610([0x72,0x61,0x63,0x65])](_0x29d104)[_0x38f610([0x74,0x68,0x65,0x6e])](()=>_0x420922);}async function _0x3514e4(){await _0x46f717,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x6d,0x6f,0x64,0x65,0x6c])][_0x38f610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ee120,_0x5e35ba[_0x38f610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38f610([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4aef16(_0x1334a6){const _0x3a51e3=_0x2dd4ce();_0x5e35ba[_0x3a51e3]=_0x38f610([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1334a6,_0x1334a6!=_0x38f610([0x56,0x61,0x6c,0x69,0x64])&&_0x3514e4();}function _0x2dd4ce(){const _0x1a1726=window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38f610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38f610([0x6e,0x6f,0x77])]())[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38f610([0x2e]),'');let _0x1611e4=_0x38f610([0x68]);for(let _0x30bc64=0x0;_0x30bc64<_0x1a1726[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30bc64+=0x2){let _0x3299c4=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1726[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30bc64,_0x30bc64+0x2));_0x3299c4>=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3299c4-=_0x2138b8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1611e4+=_0x2138b8[_0x3299c4];}return _0x1611e4;}function _0x4832a4(){const _0x297c23=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e]));if(0x3!=_0x297c23[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x36c718(_0x297c23[0x1]);function _0x36c718(_0xe7c600){const _0x2fd007=_0x1c84fa(_0xe7c600);return _0x2fd007&&_0x10ffe8()?_0x2fd007:null;function _0x10ffe8(){const _0x201b9a=_0x2fd007[_0x38f610([0x6a,0x74,0x69])],_0x26f304=window[_0x38f610([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160a8f={..._0x2fd007,[_0x38f610([0x6a,0x74,0x69])]:_0x201b9a[_0x38f610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x201b9a[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160a8f[_0x38f610([0x76,0x63])],_0x3cf28a(_0x160a8f)==_0x26f304;}}}async function _0xc99bef(){let _0x173faf=!0x0;try{const _0x4cb412=_0x3bc7fe[_0x38f610([0x73,0x70,0x6c,0x69,0x74])](_0x38f610([0x2e])),[_0x3aa549,_0x486192,_0x3cb206]=_0x4cb412;return _0x1f055e(_0x3aa549),await _0x4a99b2(_0x3aa549,_0x486192,_0x3cb206),_0x173faf;}catch(_0x1df8f7){return!0x1;}function _0x1f055e(_0x2518d0){const _0x2f275e=_0x1c84fa(_0x2518d0);_0x2f275e&&_0x2f275e[_0x38f610([0x61,0x6c,0x67])]==_0x38f610([0x45,0x53,0x32,0x35,0x36])||(_0x173faf=!0x1);}async function _0x4a99b2(_0x20be0e,_0x46d371,_0x1d029b){const _0x3d9a13=window[_0x38f610([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38f610([0x66,0x72,0x6f,0x6d])](_0xee9f54(_0x1d029b),_0x317346=>_0x317346[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c76c6=new window[(_0x38f610([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38f610([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20be0e+_0x38f610([0x2e])+_0x46d371),_0x5bf7da=window[_0x38f610([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38f610([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bf7da)return;const _0x2e12e9=await _0x5bf7da[_0x38f610([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38f610([0x6a,0x77,0x6b]),_0x573847,{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38f610([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bf7da[_0x38f610([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x45,0x43,0x44,0x53,0x41]),[_0x38f610([0x68,0x61,0x73,0x68])]:{[_0x38f610([0x6e,0x61,0x6d,0x65])]:_0x38f610([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e12e9,_0x3d9a13,_0x4c76c6)||(_0x173faf=!0x1);}}function _0x1c84fa(_0x2dba30){return _0x2dba30[_0x38f610([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38f610([0x65,0x79]))?JSON[_0x38f610([0x70,0x61,0x72,0x73,0x65])](_0xee9f54(_0x2dba30)):null;}function _0xee9f54(_0xe30dad){return window[_0x38f610([0x61,0x74,0x6f,0x62])](_0xe30dad[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38f610([0x2b]))[_0x38f610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38f610([0x2f])));}function _0x3cf28a(_0x531609){let _0xfabfd9=0x1505;function _0x52853a(_0x236cf8){for(let _0xd20603=0x0;_0xd20603<_0x236cf8[_0x38f610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd20603++){const _0x4a2c78=_0x236cf8[_0x38f610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd20603);_0xfabfd9=(_0xfabfd9<<0x5)+_0xfabfd9+_0x4a2c78,_0xfabfd9&=_0xfabfd9;}}function _0x719342(_0x48c08e){Array[_0x38f610([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48c08e)?_0x48c08e[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x719342):_0x48c08e&&typeof _0x48c08e==_0x38f610([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38f610([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48c08e)[_0x38f610([0x73,0x6f,0x72,0x74])]()[_0x38f610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d697a,_0x42c560])=>{_0x52853a(_0x2d697a),_0x719342(_0x42c560);}):_0x52853a(window[_0x38f610([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48c08e));}return _0x719342(_0x531609),_0xfabfd9>>>0x0;}function _0x11882f(_0x1008f0){return _0x1008f0[_0x38f610([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38f610([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38f610([0x30]));}function _0x22f029(_0x10f2fa){return _0x10f2fa[_0x38f610([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38f610([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38f610([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ee120(){}function _0x38f610(_0x1ebd6b){const _0xdce773=_0x1987;return _0x1ebd6b[_0xdce773(0xa0)](_0x473eaf=>String[_0xdce773(0x7d)](_0x473eaf))[_0xdce773(0xbb)]('');}_0x4aef16(await _0x383770());}(this);}[_0x44ddc7(0x8d)](){const _0x439e19=_0x44ddc7,_0x4ec2b7=this[_0x439e19(0xbf)][_0x439e19(0x90)][_0x439e19(0x8f)];_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8a))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8a),{'allowAttributes':[_0x439e19(0xb7)]}),_0x4ec2b7[_0x439e19(0x80)](_0x439e19(0x8e))&&_0x4ec2b7[_0x439e19(0x9c)](_0x439e19(0x8e),{'allowAttributes':[_0x439e19(0xb7)]});}[_0x44ddc7(0x86)](){const _0x314073=_0x44ddc7,_0x5b3572=this[_0x314073(0xbf)];_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0x7e))[_0x314073(0xb8)]({'model':_0x314073(0xb7),'view':_0x314073(0x7b)}),_0x5b3572[_0x314073(0xb5)][_0x314073(0xc3)](_0x314073(0xa5))[_0x314073(0xc0)]({'model':{'key':_0x314073(0xb7),'value':_0x2165f1=>_0x2165f1[_0x314073(0xc4)](_0x314073(0x7b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x72663b=_0x5b3572[_0x314073(0xc8)][_0x314073(0x92)](_0x314073(0x9f));_0x72663b&&this[_0x314073(0x7f)](_0x72663b,_0x314073(0xcb),(_0x824f83,[_0x59044c,_0x37c2af])=>{const _0x756ce5=_0x314073;_0x59044c[_0x756ce5(0x97)](_0x756ce5(0xb7),_0x37c2af);});}[_0x44ddc7(0xb4)](){const _0x17e8ad=_0x44ddc7,_0x4d0d8f=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x81))||{},_0x6da933=this[_0x17e8ad(0xbf)][_0x17e8ad(0xc9)][_0x17e8ad(0x92)](_0x17e8ad(0x9d))||'';this[_0x17e8ad(0x98)]=_0x22ea2b(_0x35a9b3[_0x17e8ad(0xa7)],_0x17e8ad(0x9b),{..._0x4d0d8f,'pubkey':_0x6da933,'ctx-name':_0x17e8ad(0xad),'sourceList':'','imgOnly':_0x17e8ad(0xa4),'removeCopyright':_0x17e8ad(0xa4),'localeName':this[_0x17e8ad(0xbf)][_0x17e8ad(0xb3)][_0x17e8ad(0xbd)],'externalSourcesEmbedCss':_0x17e8ad(0xaa)}),this[_0x17e8ad(0x98)][_0x17e8ad(0x9e)]=_0x5ec1e3=>{const _0x36f110=_0x17e8ad;if(_0x36f110(0x83)==_0x5ec1e3)return _0x36f110(0xa8);},_0x35a9b3[_0x17e8ad(0xa7)][_0x17e8ad(0x88)][_0x17e8ad(0x94)](this[_0x17e8ad(0x98)]);}[_0x44ddc7(0xb2)](){const _0x532dd0=_0x44ddc7;this[_0x532dd0(0xc1)]=_0x22ea2b(_0x35a9b3[_0x532dd0(0xa7)],_0x532dd0(0x99),{'ctx-name':_0x532dd0(0xad)}),_0x35a9b3[_0x532dd0(0xa7)][_0x532dd0(0x88)][_0x532dd0(0x94)](this[_0x532dd0(0xc1)]);}[_0x44ddc7(0x84)](){const _0x5665e9=_0x44ddc7,_0x22a764=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xc2));_0x22a764&&this[_0x5665e9(0x7f)](_0x22a764,_0x5665e9(0xac),()=>{const _0x2b8b19=_0x5665e9,_0x512902=this[_0x2b8b19(0xbf)][_0x2b8b19(0x90)][_0x2b8b19(0xa7)][_0x2b8b19(0x9a)][_0x2b8b19(0xaf)]();_0x512902&&_0x512902[_0x2b8b19(0xc4)](_0x2b8b19(0xb7))&&this[_0x2b8b19(0xbf)][_0x2b8b19(0xb0)][_0x2b8b19(0xa2)][_0x2b8b19(0xbc)](_0x2b8b19(0xcc),()=>{const _0x2b5904=_0x2b8b19;_0x23c86e(this[_0x2b5904(0xbf)],_0x512902);});});const _0x561fa9=this[_0x5665e9(0xbf)][_0x5665e9(0xc8)][_0x5665e9(0x92)](_0x5665e9(0xa9));_0x561fa9&&this[_0x5665e9(0x7f)](_0x561fa9,_0x5665e9(0xac),()=>{const _0x3a2fe9=_0x5665e9,_0x1157f8=this[_0x3a2fe9(0xbf)][_0x3a2fe9(0x90)][_0x3a2fe9(0xa7)][_0x3a2fe9(0x9a)][_0x3a2fe9(0xaf)]();_0x1157f8&&_0x1157f8[_0x3a2fe9(0xc4)](_0x3a2fe9(0xb7))&&this[_0x3a2fe9(0xbf)][_0x3a2fe9(0xb0)][_0x3a2fe9(0xa2)][_0x3a2fe9(0xbc)](_0x3a2fe9(0xcc),()=>{const _0xfe23b3=_0x3a2fe9;_0x23c86e(this[_0xfe23b3(0xbf)],_0x1157f8);});});}}
23
+ const _0x24291a=_0x439a;(function(_0xa0c119,_0x6a1361){const _0x3a3638=_0x439a,_0x3dcac1=_0xa0c119();while(!![]){try{const _0x19f671=parseInt(_0x3a3638(0x150))/0x1*(-parseInt(_0x3a3638(0x172))/0x2)+-parseInt(_0x3a3638(0x18c))/0x3*(-parseInt(_0x3a3638(0x16f))/0x4)+-parseInt(_0x3a3638(0x197))/0x5*(parseInt(_0x3a3638(0x161))/0x6)+-parseInt(_0x3a3638(0x16a))/0x7+parseInt(_0x3a3638(0x15b))/0x8+parseInt(_0x3a3638(0x157))/0x9+-parseInt(_0x3a3638(0x156))/0xa*(-parseInt(_0x3a3638(0x192))/0xb);if(_0x19f671===_0x6a1361)break;else _0x3dcac1['push'](_0x3dcac1['shift']());}catch(_0x12656c){_0x3dcac1['push'](_0x3dcac1['shift']());}}}(_0x538a,0x3fb44));function _0x538a(){const _0x1066b4=['join','1915490SjJYUN','configElement','closeMax','getSelectedElement','uploadcare.pubkey','uploadcareImageId','uploader','cleanupImage','_initCtx','fromCharCode','remove','_initSchema','conversion','afterInit','25SYnPSt','listenTo','isOfficialPlugin','add','init','editor','4159300LCaKon','232803tiVkxW','href','_initConfig','_initConversion','2805592wrIyix','querySelector','contentLanguage','render','model','PictureEditing','6kAgPgd','map','downcast','upcast','getAttribute','extend','_configElement','imageInline','elementToAttribute','736323xrBhtg','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','removeAttribute','uploadcareImageReplace','_ctxElement','59132OzDXmG','document','uploadcare','10558OVEDoH','commands','isRegistered','imageBlock','uploadcare.uploader','requires','input[uploadcare-file-input]','editing','execute','insertImage','once','view','locale','UploadcareEditing','pluginName','uc-config','ctxElement','selection','iconHrefResolver','uc-upload-ctx-provider','#uc-icon-arrow-down','replaceImageSource','isPremiumPlugin','destroy','body','schema','18LqxdGW','get','appendChild','_initImageProcessingIndicator','data-uc-image-id','true','11lFeBVv','config','for','attributeToAttribute'];_0x538a=function(){return _0x1066b4;};return _0x538a();}import{Plugin as _0x37e687}from'ckeditor5/src/core.js';import{Dialog as _0x2c032c}from'ckeditor5/src/ui.js';import{createElement as _0x1a2288,global as _0x8dd6a5,uid as _0xa11b0}from'ckeditor5/src/utils.js';function _0x439a(_0x1655b6,_0x4a44d4){const _0x538aaf=_0x538a();return _0x439a=function(_0x439ad9,_0x3d6010){_0x439ad9=_0x439ad9-0x14d;let _0x292726=_0x538aaf[_0x439ad9];return _0x292726;},_0x439a(_0x1655b6,_0x4a44d4);}import _0x437fc7 from'./uploadcarecommand.js';import _0x4463cd from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4ba50e}from'./utils/editingutils.js';export default class i extends _0x37e687{[_0x24291a(0x167)]=null;[_0x24291a(0x16e)]=null;static get[_0x24291a(0x180)](){const _0x175815=_0x24291a;return _0x175815(0x17f);}static get[_0x24291a(0x177)](){const _0x2fe115=_0x24291a;return[_0x2fe115(0x160),_0x4463cd,_0x2c032c];}static get[_0x24291a(0x152)](){return!0x0;}static get[_0x24291a(0x188)](){return!0x0;}get[_0x24291a(0x198)](){const _0x2edfcb=_0x24291a;return this[_0x2edfcb(0x167)];}get[_0x24291a(0x182)](){const _0x43b607=_0x24291a;return this[_0x43b607(0x16e)];}[_0x24291a(0x154)](){const _0x5fbe46=_0x24291a,_0x395cbc=this[_0x5fbe46(0x155)];_0x395cbc[_0x5fbe46(0x173)][_0x5fbe46(0x153)](_0x5fbe46(0x171),new _0x437fc7(_0x395cbc));}[_0x24291a(0x14f)](){const _0x121cd4=_0x24291a;this[_0x121cd4(0x14d)](),this[_0x121cd4(0x15a)](),this[_0x121cd4(0x159)](),this[_0x121cd4(0x19f)](),this[_0x121cd4(0x18f)](),this[_0x121cd4(0x151)](this[_0x121cd4(0x155)],_0x121cd4(0x189),()=>{const _0x2c093d=_0x121cd4;this[_0x2c093d(0x167)]&&(this[_0x2c093d(0x167)][_0x2c093d(0x1a1)](),this[_0x2c093d(0x167)]=null),this[_0x2c093d(0x16e)]&&(this[_0x2c093d(0x16e)][_0x2c093d(0x1a1)](),this[_0x2c093d(0x16e)]=null);const _0x3a9ac2=_0x8dd6a5[_0x2c093d(0x170)][_0x2c093d(0x15c)](_0x2c093d(0x178));_0x3a9ac2&&_0x3a9ac2[_0x2c093d(0x1a1)]();}),async function(_0x41ff44){const _0x411203=_0x5be523([0x58,0x6a,0x4d,0x46,0x44,0x68,0x5a,0x31,0x4f,0x6c,0x63,0x69,0x6e,0x35,0x36,0x72,0x6b,0x6f,0x47,0x50,0x41,0x4c,0x78,0x49,0x30,0x39,0x65,0x54,0x59,0x7a,0x53,0x76,0x45,0x61,0x6d,0x38,0x74,0x51,0x37,0x56,0x4b,0x79,0x71,0x32,0x34,0x67,0x66,0x62,0x55,0x52,0x70,0x48,0x64,0x43,0x33,0x75,0x4a,0x77,0x73,0x57,0x4e,0x42]),_0x2e1b58=0x4b3a6f5f,_0x51ec3f=0x4b3d0cdf^_0x2e1b58,_0x3c8ecc=window[_0x5be523([0x44,0x61,0x74,0x65])][_0x5be523([0x6e,0x6f,0x77])](),_0x4170d3=_0x41ff44[_0x5be523([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4057d8=new window[(_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3b4c=>{_0x4170d3[_0x5be523([0x6f,0x6e,0x63,0x65])](_0x5be523([0x72,0x65,0x61,0x64,0x79]),_0x5c3b4c);}),_0x1088c9={[_0x5be523([0x6b,0x74,0x79])]:_0x5be523([0x45,0x43]),[_0x5be523([0x75,0x73,0x65])]:_0x5be523([0x73,0x69,0x67]),[_0x5be523([0x63,0x72,0x76])]:_0x5be523([0x50,0x2d,0x32,0x35,0x36]),[_0x5be523([0x78])]:_0x5be523([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]),[_0x5be523([0x79])]:_0x5be523([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]),[_0x5be523([0x61,0x6c,0x67])]:_0x5be523([0x45,0x53,0x32,0x35,0x36])},_0x3024d6=_0x4170d3[_0x5be523([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5be523([0x67,0x65,0x74])](_0x5be523([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4cab05(){let _0x2588e6,_0x3fa7b2=null,_0x9e03df=null;try{if(_0x3024d6==_0x5be523([0x47,0x50,0x4c]))return _0x5be523([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2588e6=_0x41d3cd(),!_0x2588e6)return _0x5be523([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2588e6[_0x5be523([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9e03df=_0x5553a1(_0x2588e6[_0x5be523([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2588e6[_0x5be523([0x6a,0x74,0x69])])),await _0x1855fd()?_0x48ae14()?_0x262673()?_0x5be523([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ecd83()?(_0x2588e6[_0x5be523([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5be523([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fa7b2=_0x3608ae(_0x5be523([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2588e6[_0x5be523([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5be523([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fa7b2=_0x3608ae(_0x5be523([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f4f88()):_0x5be523([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5be523([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5be523([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x56a73b){return _0x5be523([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x262673(){const _0x329203=[_0x5be523([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5be523([0x74,0x72,0x69,0x61,0x6c])][_0x5be523([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2588e6[_0x5be523([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c8ecc/0x3e8:0xe10*_0x51ec3f;return _0x2588e6[_0x5be523([0x65,0x78,0x70])]<_0x329203;}function _0x48ae14(){const _0x3daf97=_0x2588e6[_0x5be523([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3daf97&&(!!_0x3daf97[_0x5be523([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5be523([0x2a]))||!!_0x3daf97[_0x5be523([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5be523([0x55,0x50,0x4c,0x43])));}function _0x4ecd83(){const _0xdc9621=_0x439a,_0x33d2bc=_0x2588e6[_0x5be523([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33d2bc||0x0==_0x33d2bc[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26ec87}=new URL(window[_0x5be523([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xdc9621(0x158)]);if(_0x33d2bc[_0x5be523([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26ec87))return!0x0;const _0x410ea7=_0x26ec87[_0x5be523([0x73,0x70,0x6c,0x69,0x74])](_0x5be523([0x2e]));return _0x33d2bc[_0x5be523([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf47ce2=>_0xf47ce2[_0x5be523([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5be523([0x2a])))[_0x5be523([0x6d,0x61,0x70])](_0x1133dd=>_0x1133dd[_0x5be523([0x73,0x70,0x6c,0x69,0x74])](_0x5be523([0x2e])))[_0x5be523([0x73,0x6f,0x6d,0x65])](_0x13bf3e=>_0x410ea7[_0x5be523([0x65,0x76,0x65,0x72,0x79])]((_0xe4c2e1,_0x3cd144)=>_0x13bf3e[_0x3cd144]===_0xe4c2e1||_0x13bf3e[_0x3cd144]===_0x5be523([0x2a])));}function _0x5f4f88(){return _0x3fa7b2&&_0x9e03df?new window[(_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x530f09,_0x4cfdef)=>{_0x3fa7b2[_0x5be523([0x74,0x68,0x65,0x6e])](_0x530f09,_0x4cfdef),_0x9e03df[_0x5be523([0x74,0x68,0x65,0x6e])](_0x4a742e=>{_0x4a742e!=_0x5be523([0x56,0x61,0x6c,0x69,0x64])&&_0x530f09(_0x4a742e);},_0x4cfdef);}):_0x3fa7b2||_0x9e03df||_0x5be523([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5553a1(_0x3f0cc1,_0x2e32a6){return new window[(_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54c740=>{if(_0x465ab9())return _0x54c740(_0x5be523([0x56,0x61,0x6c,0x69,0x64]));_0x2c6f1d(),_0x4170d3[_0x5be523([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5be523([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3864f8=!0x1;const _0x5c6155=_0xa11b0();function _0x77bc19(_0xea8145){return!!_0xea8145&&(typeof _0xea8145===_0x5be523([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xea8145===_0x5be523([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xea8145[_0x5be523([0x74,0x68,0x65,0x6e])]===_0x5be523([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xea8145[_0x5be523([0x63,0x61,0x74,0x63,0x68])]===_0x5be523([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29ee72(_0x307ea2){_0x27d2ff(_0x307ea2)[_0x5be523([0x74,0x68,0x65,0x6e])](_0x7b141=>{if(!_0x7b141||_0x7b141[_0x5be523([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5be523([0x6f,0x6b]))return _0x5be523([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xef6873(_0x14bbb7(_0x5c6155+_0x2e32a6))!=_0x7b141[_0x5be523([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5be523([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5be523([0x56,0x61,0x6c,0x69,0x64]);})[_0x5be523([0x74,0x68,0x65,0x6e])](_0x33fb01=>(_0x654533(),_0x33fb01),()=>{const _0x24e36c=_0x1e3c82();return null==_0x24e36c?(_0x654533(),_0x5be523([0x56,0x61,0x6c,0x69,0x64])):_0x5be523(_0x3c8ecc-_0x24e36c>(0x6f36eb5f^_0x2e1b58)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5be523([0x74,0x68,0x65,0x6e])](_0x54c740)[_0x5be523([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54c740(_0x5be523([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x458aaf=0x4b0c81df^_0x2e1b58;function _0x654533(){const _0x38dd58=_0x5be523([0x6c,0x6c,0x63,0x74,0x2d])+_0xef6873(_0x14bbb7(_0x3f0cc1)),_0x1faa0e=_0x47f2db(_0xef6873(window[_0x5be523([0x4d,0x61,0x74,0x68])][_0x5be523([0x63,0x65,0x69,0x6c])](_0x3c8ecc/_0x458aaf)));window[_0x5be523([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5be523([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38dd58,_0x1faa0e);}function _0x1e3c82(){const _0x50bf1a=_0x5be523([0x6c,0x6c,0x63,0x74,0x2d])+_0xef6873(_0x14bbb7(_0x3f0cc1)),_0x5523e4=window[_0x5be523([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5be523([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50bf1a);return _0x5523e4?window[_0x5be523([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47f2db(_0x5523e4),0x10)*_0x458aaf:null;}function _0x27d2ff(_0x3d7997){return new window[(_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf4f4,_0x6b7cfe)=>{_0x3d7997[_0x5be523([0x74,0x68,0x65,0x6e])](_0x1cf4f4,_0x6b7cfe),window[_0x5be523([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6b7cfe,0x4b3bbb9f^_0x2e1b58);});}}_0x4170d3[_0x5be523([0x6f,0x6e])](_0x5be523([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ef7c6,_0x1040a0)=>{if(_0x1040a0[0x0]!=_0x3f0cc1)return _0x54c740(_0x5be523([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1040a0[0x1]={..._0x1040a0[0x1],[_0x5be523([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c6155};},{[_0x5be523([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5be523([0x68,0x69,0x67,0x68])}),_0x4170d3[_0x5be523([0x6f,0x6e])](_0x5be523([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1230a2=>{_0x77bc19(_0x1230a2[_0x5be523([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3864f8=!0x0,_0x29ee72(_0x1230a2[_0x5be523([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5be523([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5be523([0x6c,0x6f,0x77])}),_0x4057d8[_0x5be523([0x74,0x68,0x65,0x6e])](()=>{_0x3864f8||_0x54c740(_0x5be523([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x465ab9(){return _0x4170d3[_0x5be523([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5be523([0x76,0x69,0x65,0x77])][_0x5be523([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5be523([0x61,0x75,0x74,0x6f]);}function _0x2c6f1d(){_0x4170d3[_0x5be523([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5be523([0x76,0x69,0x65,0x77])][_0x5be523([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5be523([0x61,0x75,0x74,0x6f]);}}function _0x3608ae(_0xe9d474){const _0x376c61=[new window[(_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446a73=>setTimeout(_0x446a73,0x4b335193^_0x2e1b58)),_0x4057d8[_0x5be523([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe4dbe6=>{let _0x1a94ab=0x0;_0x4170d3[_0x5be523([0x6d,0x6f,0x64,0x65,0x6c])][_0x5be523([0x6f,0x6e])](_0x5be523([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x101075,_0x3456bb)=>{_0x3456bb[0x0][_0x5be523([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a94ab++,_0x1a94ab==(0x4b3a6ea7^_0x2e1b58)&&(_0xe4dbe6(),_0x101075[_0x5be523([0x6f,0x66,0x66])]());});}))];return window[_0x5be523([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5be523([0x72,0x61,0x63,0x65])](_0x376c61)[_0x5be523([0x74,0x68,0x65,0x6e])](()=>_0xe9d474);}async function _0xd01aef(){await _0x4057d8,_0x4170d3[_0x5be523([0x6d,0x6f,0x64,0x65,0x6c])][_0x5be523([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5be1bc,_0x4170d3[_0x5be523([0x6d,0x6f,0x64,0x65,0x6c])][_0x5be523([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5be1bc,_0x4170d3[_0x5be523([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5be523([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5767a1(_0x33c5fd){const _0x1a18da=_0x15745b();_0x4170d3[_0x1a18da]=_0x5be523([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33c5fd,_0x33c5fd!=_0x5be523([0x56,0x61,0x6c,0x69,0x64])&&_0xd01aef();}function _0x15745b(){const _0x42429c=window[_0x5be523([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5be523([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5be523([0x6e,0x6f,0x77])]())[_0x5be523([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5be523([0x2e]),'');let _0x140552=_0x5be523([0x58]);for(let _0x3cd07c=0x0;_0x3cd07c<_0x42429c[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cd07c+=0x2){let _0x55f7d7=window[_0x5be523([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42429c[_0x5be523([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cd07c,_0x3cd07c+0x2));_0x55f7d7>=_0x411203[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55f7d7-=_0x411203[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x140552+=_0x411203[_0x55f7d7];}return _0x140552;}function _0x41d3cd(){const _0x26164f=_0x3024d6[_0x5be523([0x73,0x70,0x6c,0x69,0x74])](_0x5be523([0x2e]));if(0x3!=_0x26164f[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x404191(_0x26164f[0x1]);function _0x404191(_0x5c6f34){const _0x2c5ec0=_0x31f3f2(_0x5c6f34);return _0x2c5ec0&&_0x51d427()?_0x2c5ec0:null;function _0x51d427(){const _0x265411=_0x2c5ec0[_0x5be523([0x6a,0x74,0x69])],_0x432442=window[_0x5be523([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x265411[_0x5be523([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x265411[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x255fd4={..._0x2c5ec0,[_0x5be523([0x6a,0x74,0x69])]:_0x265411[_0x5be523([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x265411[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x255fd4[_0x5be523([0x76,0x63])],_0x14bbb7(_0x255fd4)==_0x432442;}}}async function _0x1855fd(){let _0x131a51=!0x0;try{const _0x5c4b97=_0x3024d6[_0x5be523([0x73,0x70,0x6c,0x69,0x74])](_0x5be523([0x2e])),[_0x74715e,_0x328209,_0x463bf5]=_0x5c4b97;return _0xdd85d7(_0x74715e),await _0x1eacfa(_0x74715e,_0x328209,_0x463bf5),_0x131a51;}catch(_0x401d91){return!0x1;}function _0xdd85d7(_0x2cc147){const _0x5153db=_0x31f3f2(_0x2cc147);_0x5153db&&_0x5153db[_0x5be523([0x61,0x6c,0x67])]==_0x5be523([0x45,0x53,0x32,0x35,0x36])||(_0x131a51=!0x1);}async function _0x1eacfa(_0x55a5f8,_0x4115a9,_0x5760c0){const _0x158ebf=window[_0x5be523([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5be523([0x66,0x72,0x6f,0x6d])](_0xc6ff93(_0x5760c0),_0x1ca83d=>_0x1ca83d[_0x5be523([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21f0c9=new window[(_0x5be523([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5be523([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55a5f8+_0x5be523([0x2e])+_0x4115a9),_0x22fa9f=window[_0x5be523([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5be523([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22fa9f)return;const _0x4ffa28=await _0x22fa9f[_0x5be523([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5be523([0x6a,0x77,0x6b]),_0x1088c9,{[_0x5be523([0x6e,0x61,0x6d,0x65])]:_0x5be523([0x45,0x43,0x44,0x53,0x41]),[_0x5be523([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5be523([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5be523([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22fa9f[_0x5be523([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5be523([0x6e,0x61,0x6d,0x65])]:_0x5be523([0x45,0x43,0x44,0x53,0x41]),[_0x5be523([0x68,0x61,0x73,0x68])]:{[_0x5be523([0x6e,0x61,0x6d,0x65])]:_0x5be523([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ffa28,_0x158ebf,_0x21f0c9)||(_0x131a51=!0x1);}}function _0x31f3f2(_0x20642c){return _0x20642c[_0x5be523([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5be523([0x65,0x79]))?JSON[_0x5be523([0x70,0x61,0x72,0x73,0x65])](_0xc6ff93(_0x20642c)):null;}function _0xc6ff93(_0x572dcc){return window[_0x5be523([0x61,0x74,0x6f,0x62])](_0x572dcc[_0x5be523([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5be523([0x2b]))[_0x5be523([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5be523([0x2f])));}function _0x14bbb7(_0x14c0c0){let _0x2e9740=0x1505;function _0x4b8e0d(_0x461700){for(let _0x51985d=0x0;_0x51985d<_0x461700[_0x5be523([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51985d++){const _0x56ca7d=_0x461700[_0x5be523([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51985d);_0x2e9740=(_0x2e9740<<0x5)+_0x2e9740+_0x56ca7d,_0x2e9740&=_0x2e9740;}}function _0x5525b8(_0x2ce2c7){Array[_0x5be523([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ce2c7)?_0x2ce2c7[_0x5be523([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5525b8):_0x2ce2c7&&typeof _0x2ce2c7==_0x5be523([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5be523([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ce2c7)[_0x5be523([0x73,0x6f,0x72,0x74])]()[_0x5be523([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfc8239,_0x28c79e])=>{_0x4b8e0d(_0xfc8239),_0x5525b8(_0x28c79e);}):_0x4b8e0d(window[_0x5be523([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ce2c7));}return _0x5525b8(_0x14c0c0),_0x2e9740>>>0x0;}function _0xef6873(_0x2b166a){return _0x2b166a[_0x5be523([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5be523([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5be523([0x30]));}function _0x47f2db(_0x38a332){return _0x38a332[_0x5be523([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5be523([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5be523([0x6a,0x6f,0x69,0x6e])]('');}function _0x5be1bc(){}function _0x5be523(_0x5ddc41){const _0xa9c0b5=_0x439a;return _0x5ddc41[_0xa9c0b5(0x162)](_0x5bd687=>String[_0xa9c0b5(0x1a0)](_0x5bd687))[_0xa9c0b5(0x196)]('');}_0x5767a1(await _0x4cab05());}(this);}[_0x24291a(0x14d)](){const _0x38331b=_0x24291a,_0x453b58=this[_0x38331b(0x155)][_0x38331b(0x15f)][_0x38331b(0x18b)];_0x453b58[_0x38331b(0x174)](_0x38331b(0x175))&&_0x453b58[_0x38331b(0x166)](_0x38331b(0x175),{'allowAttributes':[_0x38331b(0x19c)]}),_0x453b58[_0x38331b(0x174)](_0x38331b(0x168))&&_0x453b58[_0x38331b(0x166)](_0x38331b(0x168),{'allowAttributes':[_0x38331b(0x19c)]});}[_0x24291a(0x15a)](){const _0x3911eb=_0x24291a,_0x2957d5=this[_0x3911eb(0x155)];_0x2957d5[_0x3911eb(0x14e)][_0x3911eb(0x194)](_0x3911eb(0x163))[_0x3911eb(0x195)]({'model':_0x3911eb(0x19c),'view':_0x3911eb(0x190)}),_0x2957d5[_0x3911eb(0x14e)][_0x3911eb(0x194)](_0x3911eb(0x164))[_0x3911eb(0x169)]({'model':{'key':_0x3911eb(0x19c),'value':_0xc1e919=>_0xc1e919[_0x3911eb(0x165)](_0x3911eb(0x190))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x54bc6e=_0x2957d5[_0x3911eb(0x173)][_0x3911eb(0x18d)](_0x3911eb(0x187));_0x54bc6e&&this[_0x3911eb(0x151)](_0x54bc6e,_0x3911eb(0x19e),(_0x5f035a,[_0x35c10d,_0x1ac339])=>{const _0x28d382=_0x3911eb;_0x35c10d[_0x28d382(0x16c)](_0x28d382(0x19c),_0x1ac339);});}[_0x24291a(0x159)](){const _0xe6a118=_0x24291a,_0x12fe9f=this[_0xe6a118(0x155)][_0xe6a118(0x193)][_0xe6a118(0x18d)](_0xe6a118(0x176))||{},_0x11637b=this[_0xe6a118(0x155)][_0xe6a118(0x193)][_0xe6a118(0x18d)](_0xe6a118(0x19b))||'';this[_0xe6a118(0x167)]=_0x1a2288(_0x8dd6a5[_0xe6a118(0x170)],_0xe6a118(0x181),{..._0x12fe9f,'pubkey':_0x11637b,'ctx-name':_0xe6a118(0x19d),'sourceList':'','imgOnly':_0xe6a118(0x191),'removeCopyright':_0xe6a118(0x191),'localeName':this[_0xe6a118(0x155)][_0xe6a118(0x17e)][_0xe6a118(0x15d)],'externalSourcesEmbedCss':_0xe6a118(0x16b)}),this[_0xe6a118(0x167)][_0xe6a118(0x184)]=_0x474bca=>{const _0x5436c3=_0xe6a118;if(_0x5436c3(0x199)==_0x474bca)return _0x5436c3(0x186);},_0x8dd6a5[_0xe6a118(0x170)][_0xe6a118(0x18a)][_0xe6a118(0x18e)](this[_0xe6a118(0x167)]);}[_0x24291a(0x19f)](){const _0xcf0d83=_0x24291a;this[_0xcf0d83(0x16e)]=_0x1a2288(_0x8dd6a5[_0xcf0d83(0x170)],_0xcf0d83(0x185),{'ctx-name':_0xcf0d83(0x19d)}),_0x8dd6a5[_0xcf0d83(0x170)][_0xcf0d83(0x18a)][_0xcf0d83(0x18e)](this[_0xcf0d83(0x16e)]);}[_0x24291a(0x18f)](){const _0x1ec077=_0x24291a,_0x4ac925=this[_0x1ec077(0x155)][_0x1ec077(0x173)][_0x1ec077(0x18d)](_0x1ec077(0x17b));_0x4ac925&&this[_0x1ec077(0x151)](_0x4ac925,_0x1ec077(0x17a),()=>{const _0x58ab4b=_0x1ec077,_0x3cf296=this[_0x58ab4b(0x155)][_0x58ab4b(0x15f)][_0x58ab4b(0x170)][_0x58ab4b(0x183)][_0x58ab4b(0x19a)]();_0x3cf296&&_0x3cf296[_0x58ab4b(0x165)](_0x58ab4b(0x19c))&&this[_0x58ab4b(0x155)][_0x58ab4b(0x179)][_0x58ab4b(0x17d)][_0x58ab4b(0x17c)](_0x58ab4b(0x15e),()=>{const _0x1bdcc0=_0x58ab4b;_0x4ba50e(this[_0x1bdcc0(0x155)],_0x3cf296);});});const _0x163f66=this[_0x1ec077(0x155)][_0x1ec077(0x173)][_0x1ec077(0x18d)](_0x1ec077(0x16d));_0x163f66&&this[_0x1ec077(0x151)](_0x163f66,_0x1ec077(0x17a),()=>{const _0xd9a62c=_0x1ec077,_0x5aede1=this[_0xd9a62c(0x155)][_0xd9a62c(0x15f)][_0xd9a62c(0x170)][_0xd9a62c(0x183)][_0xd9a62c(0x19a)]();_0x5aede1&&_0x5aede1[_0xd9a62c(0x165)](_0xd9a62c(0x19c))&&this[_0xd9a62c(0x155)][_0xd9a62c(0x179)][_0xd9a62c(0x17d)][_0xd9a62c(0x17c)](_0xd9a62c(0x15e),()=>{const _0x52dda9=_0xd9a62c;_0x4ba50e(this[_0x52dda9(0x155)],_0x5aede1);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x50c91e,ObservableMixin as _0xa33039}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x33e117}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c690f}from'ckeditor5/src/icons.js';import _0x4dcbac from'./uploadcareimageeditformview.js';import _0x1a474b from'../../utils/uploadutils.js';import{getImageUrls as _0x183c12,getImageDimension as _0x16d06f}from'../../utils/editingutils.js';import{isAncestor as _0x3711c9}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0xa33039(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xf70647,_0x3e0e6b,_0x4e881d){super(),this['_editor']=_0xf70647,this['_dialog']=_0x3e0e6b,this['_imageElement']=_0x4e881d,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 _0x22f0c8=this['_imageElement'],_0x26a4bb=_0x22f0c8['getAttribute']('uploadcareImageId'),_0x322d09=_0x22f0c8['getAttribute']('src');if(_0x26a4bb)await this['_loadImageInfo'](_0x26a4bb,_0x322d09);else{if(this['_imageCache']['has'](_0x322d09)){const _0x8fa84d=this['_imageCache']['get'](_0x322d09);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8fa84d['url'],this['imageDimension']=_0x8fa84d['dimension'],this['imageId']=_0x8fa84d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f174a}=this['_editor'],t=_0x2f174a['t'],_0x34ee22=new _0x4dcbac(_0x2f174a,this['imageStatus'],this['_attributes']);_0x34ee22['bind']('status')['to'](this,'imageStatus'),_0x34ee22['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x34ee22['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x34ee22['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x34ee22,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c690f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x34ee22,'position':_0x33e117['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x34ee22['focus']();},'onHide':()=>{_0x34ee22['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x587cb9=>!_0x3711c9(_0x587cb9,_0x34ee22['element'])}});}['_loadImageInfo'](_0x2292ff,_0x17ad96){return _0x1a474b['getInfo'](_0x2292ff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x58354b=>{const {width:_0x2aae91,height:_0x2d7ff2}=_0x58354b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17ad96,this['imageDimension']={'width':_0x2aae91,'height':_0x2d7ff2},this['imageId']=_0x2292ff;})['catch'](_0x51b1b7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51b1b7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e9542,_0x4efe56){return this['_getImageAsFile'](_0x3e9542)['then'](_0x214f6d=>_0x1a474b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4efe56['signal'],'file':_0x214f6d,'onProgress':_0x5bb86e=>{_0x5bb86e&&_0x5bb86e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5bb86e['value']));}}))['then'](_0x5a3c9a=>{const {width:_0x522229,height:_0x584711}=_0x5a3c9a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a3c9a['cdnUrl'],this['imageDimension']={'width':_0x522229,'height':_0x584711},this['imageId']=_0x5a3c9a['uuid'],this['imageUploadProgress']=null;const _0x50c697=_0x3e9542['getAttribute']('src');this['_imageCache']['set'](_0x50c697,{'id':_0x5a3c9a['uuid'],'url':_0x5a3c9a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2fb787=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2fb787['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x484fa1,_0x23c6b8){_0x484fa1['on']('apply',(_0x3d417e,_0x35b1c9)=>{this['_replaceImage'](_0x23c6b8,_0x35b1c9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x484fa1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x484fa1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x199818,_0x5152b6,_0x239f09){const _0x240bbe=this['_editor'],{width:_0x901275,height:_0x1d5181}=_0x16d06f(_0x5152b6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x434c16,imageSources:_0x368f51}=_0x183c12(_0x5152b6,_0x901275);_0x240bbe['model']['change'](_0x2b9b06=>{if('$graveyard'===_0x199818['root']['rootName']){_0x240bbe['execute']('insertImage',{'imageType':_0x199818['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x199818['getAttributes']()),'uploadcareImageId':_0x239f09,'src':_0x434c16,'sources':_0x368f51,'width':_0x901275,'height':_0x1d5181}});const _0x5087aa=_0x199818['getChildren']();_0x199818=_0x240bbe['model']['document']['selection']['getSelectedElement']();for(const _0x20aa7b of _0x5087aa)_0x2b9b06['append'](_0x2b9b06['cloneElement'](_0x20aa7b),_0x199818);}else _0x2b9b06['setSelection'](_0x199818,'on'),_0x240bbe['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x199818['getAttributes']()),'uploadcareImageId':_0x239f09,'src':_0x434c16,'sources':_0x368f51,'width':_0x901275,'height':_0x1d5181},_0x199818);_0x2b9b06['setSelection'](_0x199818,'on');});}async['_getImageAsFile'](_0x2a6f5e){const _0x20000a=_0x50c91e['window'],_0x1c8945=_0x50c91e['document']['location']['href'],_0x56bb8f=new _0x20000a['URL'](_0x2a6f5e['getAttribute']('src'),_0x1c8945);if('data:'===_0x56bb8f['protocol']){const _0x443be2=_0x56bb8f['href']['split'](','),_0x191d61=_0x443be2[0x0]['match'](/:(.*?);/)[0x1],_0x139592=_0x191d61['split']('/')[0x1],_0x5c0501=_0x20000a['atob'](_0x443be2[_0x443be2['length']-0x1]);let _0x3b5ab0=_0x5c0501['length'];const _0x14665e=new _0x20000a['Uint8Array'](_0x3b5ab0);for(;_0x3b5ab0--;)_0x14665e[_0x3b5ab0]=_0x5c0501['charCodeAt'](_0x3b5ab0);return new _0x20000a['File']([_0x14665e],'image.'+_0x139592,{'type':_0x191d61});}const _0x5721f9=_0x56bb8f['href']['split']('/'),_0xc82911=_0x5721f9[_0x5721f9['length']-0x1],_0x4d7268=_0xc82911['split']('.')[0x1];return _0x20000a['fetch'](_0x56bb8f['href'])['then'](_0x4d2b99=>_0x4d2b99['clone']()['blob']())['then'](_0x3561da=>new _0x20000a['File']([_0x3561da],_0xc82911,{'type':'image/'+_0x4d7268}));}}
23
+ import{global as _0x15526b,ObservableMixin as _0x10fd1d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3b09e5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x212d08}from'ckeditor5/src/icons.js';import _0x429258 from'./uploadcareimageeditformview.js';import _0x249fcf from'../../utils/uploadutils.js';import{getImageUrls as _0x128c9c,getImageDimension as _0x1b3db9}from'../../utils/editingutils.js';import{isAncestor as _0x4177eb}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x10fd1d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4a88df,_0x3ffb9b,_0x22a3ef){super(),this['_editor']=_0x4a88df,this['_dialog']=_0x3ffb9b,this['_imageElement']=_0x22a3ef,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 _0x520279=this['_imageElement'],_0x14ee3a=_0x520279['getAttribute']('uploadcareImageId'),_0x59eaa9=_0x520279['getAttribute']('src');if(_0x14ee3a)await this['_loadImageInfo'](_0x14ee3a,_0x59eaa9);else{if(this['_imageCache']['has'](_0x59eaa9)){const _0x5a9101=this['_imageCache']['get'](_0x59eaa9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a9101['url'],this['imageDimension']=_0x5a9101['dimension'],this['imageId']=_0x5a9101['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3d03e6}=this['_editor'],t=_0x3d03e6['t'],_0xd92578=new _0x429258(_0x3d03e6,this['imageStatus'],this['_attributes']);_0xd92578['bind']('status')['to'](this,'imageStatus'),_0xd92578['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xd92578['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xd92578['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xd92578,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x212d08,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xd92578,'position':_0x3b09e5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xd92578['focus']();},'onHide':()=>{_0xd92578['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5baf39=>!_0x4177eb(_0x5baf39,_0xd92578['element'])}});}['_loadImageInfo'](_0x4443c1,_0x4dba97){return _0x249fcf['getInfo'](_0x4443c1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x402179=>{const {width:_0x4fbb0f,height:_0x2b0cbb}=_0x402179['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4dba97,this['imageDimension']={'width':_0x4fbb0f,'height':_0x2b0cbb},this['imageId']=_0x4443c1;})['catch'](_0x307099=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x307099['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cc3dc,_0x295d56){return this['_getImageAsFile'](_0x2cc3dc)['then'](_0x593fa5=>_0x249fcf['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x295d56['signal'],'file':_0x593fa5,'onProgress':_0x2fb1e3=>{_0x2fb1e3&&_0x2fb1e3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fb1e3['value']));}}))['then'](_0x56a332=>{const {width:_0xd09103,height:_0x87bb51}=_0x56a332['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56a332['cdnUrl'],this['imageDimension']={'width':_0xd09103,'height':_0x87bb51},this['imageId']=_0x56a332['uuid'],this['imageUploadProgress']=null;const _0xd540e1=_0x2cc3dc['getAttribute']('src');this['_imageCache']['set'](_0xd540e1,{'id':_0x56a332['uuid'],'url':_0x56a332['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x510c39=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x510c39['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b1d15,_0xb15bca){_0x1b1d15['on']('apply',(_0x2f2b2c,_0x416062)=>{this['_replaceImage'](_0xb15bca,_0x416062['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b1d15['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b1d15['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x29b6d3,_0x5dd7a4,_0x2d360f){const _0x3d056e=this['_editor'],{width:_0x3a7e1e,height:_0x437452}=_0x1b3db9(_0x5dd7a4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x43636d,imageSources:_0x4b041c}=_0x128c9c(_0x5dd7a4,_0x3a7e1e);_0x3d056e['model']['change'](_0x3a6a1f=>{if('$graveyard'===_0x29b6d3['root']['rootName']){_0x3d056e['execute']('insertImage',{'imageType':_0x29b6d3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x29b6d3['getAttributes']()),'uploadcareImageId':_0x2d360f,'src':_0x43636d,'sources':_0x4b041c,'width':_0x3a7e1e,'height':_0x437452}});const _0x599580=_0x29b6d3['getChildren']();_0x29b6d3=_0x3d056e['model']['document']['selection']['getSelectedElement']();for(const _0x45a54f of _0x599580)_0x3a6a1f['append'](_0x3a6a1f['cloneElement'](_0x45a54f),_0x29b6d3);}else _0x3a6a1f['setSelection'](_0x29b6d3,'on'),_0x3d056e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x29b6d3['getAttributes']()),'uploadcareImageId':_0x2d360f,'src':_0x43636d,'sources':_0x4b041c,'width':_0x3a7e1e,'height':_0x437452},_0x29b6d3);_0x3a6a1f['setSelection'](_0x29b6d3,'on');});}async['_getImageAsFile'](_0x448c28){const _0x35342a=_0x15526b['window'],_0x1ecf6e=_0x15526b['document']['location']['href'],_0x4947f3=new _0x35342a['URL'](_0x448c28['getAttribute']('src'),_0x1ecf6e);if('data:'===_0x4947f3['protocol']){const _0x558c95=_0x4947f3['href']['split'](','),_0x11be7b=_0x558c95[0x0]['match'](/:(.*?);/)[0x1],_0x2fa351=_0x11be7b['split']('/')[0x1],_0x2a1a08=_0x35342a['atob'](_0x558c95[_0x558c95['length']-0x1]);let _0x3e7920=_0x2a1a08['length'];const _0x3da2c7=new _0x35342a['Uint8Array'](_0x3e7920);for(;_0x3e7920--;)_0x3da2c7[_0x3e7920]=_0x2a1a08['charCodeAt'](_0x3e7920);return new _0x35342a['File']([_0x3da2c7],'image.'+_0x2fa351,{'type':_0x11be7b});}const _0x641c03=_0x4947f3['href']['split']('/'),_0x58a871=_0x641c03[_0x641c03['length']-0x1],_0x1e57a1=_0x58a871['split']('.')[0x1];return _0x35342a['fetch'](_0x4947f3['href'])['then'](_0x5c394b=>_0x5c394b['clone']()['blob']())['then'](_0x3e4784=>new _0x35342a['File']([_0x3e4784],_0x58a871,{'type':'image/'+_0x1e57a1}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x309f(){const _0x5d440e=['ck-uploadcare-theme','set','26416AzNncC','158ANkkrV','3920OwZDlc','7602pqDUri','setTemplate','uc-light','174JMObNK','imageSrc','image-edit','87315HeUfJe','uc-cloud-image-editor','24827dwDQqB','1862451wownvp','4057304TpbnbT','bindTemplate','57RkJDOF','1899450aazKkQ'];_0x309f=function(){return _0x5d440e;};return _0x309f();}function _0x5571(_0x2d8471,_0x5a80de){const _0x309fa7=_0x309f();return _0x5571=function(_0x5571cc,_0x41f911){_0x5571cc=_0x5571cc-0x166;let _0x4a26dd=_0x309fa7[_0x5571cc];return _0x4a26dd;},_0x5571(_0x2d8471,_0x5a80de);}(function(_0x1c6739,_0x4b4897){const _0xdaef0b=_0x5571,_0x18db98=_0x1c6739();while(!![]){try{const _0x368b70=-parseInt(_0xdaef0b(0x16a))/0x1*(-parseInt(_0xdaef0b(0x168))/0x2)+-parseInt(_0xdaef0b(0x176))/0x3*(-parseInt(_0xdaef0b(0x167))/0x4)+-parseInt(_0xdaef0b(0x170))/0x5*(-parseInt(_0xdaef0b(0x16d))/0x6)+parseInt(_0xdaef0b(0x177))/0x7+-parseInt(_0xdaef0b(0x174))/0x8+parseInt(_0xdaef0b(0x173))/0x9+parseInt(_0xdaef0b(0x169))/0xa*(-parseInt(_0xdaef0b(0x172))/0xb);if(_0x368b70===_0x4b4897)break;else _0x18db98['push'](_0x18db98['shift']());}catch(_0x4ee0b7){_0x18db98['push'](_0x18db98['shift']());}}}(_0x309f,0x4dd7b));import{View as _0x173e2c}from'ckeditor5/src/ui.js';export default class tt extends _0x173e2c{constructor(_0x35c639,_0x43c3df){const _0x15463b=_0x5571;super(_0x35c639);const _0x1324f1=this[_0x15463b(0x175)];this[_0x15463b(0x166)](_0x15463b(0x16e),''),this[_0x15463b(0x16b)]({'tag':_0x15463b(0x171),'attributes':{..._0x43c3df,'class':[_0x15463b(0x16c),_0x15463b(0x178)],'ctx-name':_0x15463b(0x16f),'cdn-url':_0x1324f1['to'](_0x15463b(0x16e))}});}}
23
+ function _0x5090(){const _0x2ad298=['10OHJotp','7UYwjNm','91492WNQqVQ','71682UPMugq','394306wmSuYZ','40ULbWGu','11244232jUSKOV','setTemplate','uc-light','28115879NdLSwn','set','454929ZbXJRr','bindTemplate','uc-cloud-image-editor','ck-uploadcare-theme','imageSrc','32HNqjvT','4180707PRbIgq','image-edit'];_0x5090=function(){return _0x2ad298;};return _0x5090();}(function(_0x1843ec,_0x494e78){const _0x49ffb7=_0x4c76,_0x719e=_0x1843ec();while(!![]){try{const _0x43752f=parseInt(_0x49ffb7(0x10a))/0x1+-parseInt(_0x49ffb7(0x11b))/0x2+-parseInt(_0x49ffb7(0x111))/0x3*(parseInt(_0x49ffb7(0x116))/0x4)+parseInt(_0x49ffb7(0x10b))/0x5*(parseInt(_0x49ffb7(0x109))/0x6)+parseInt(_0x49ffb7(0x11a))/0x7*(-parseInt(_0x49ffb7(0x10c))/0x8)+parseInt(_0x49ffb7(0x117))/0x9+parseInt(_0x49ffb7(0x119))/0xa*(parseInt(_0x49ffb7(0x10f))/0xb);if(_0x43752f===_0x494e78)break;else _0x719e['push'](_0x719e['shift']());}catch(_0x3c26c1){_0x719e['push'](_0x719e['shift']());}}}(_0x5090,0xce897));function _0x4c76(_0x3b3077,_0x4c55c0){const _0x509063=_0x5090();return _0x4c76=function(_0x4c7607,_0x5e182d){_0x4c7607=_0x4c7607-0x109;let _0x134424=_0x509063[_0x4c7607];return _0x134424;},_0x4c76(_0x3b3077,_0x4c55c0);}import{View as _0x30f6ba}from'ckeditor5/src/ui.js';export default class tt extends _0x30f6ba{constructor(_0x55ab37,_0x33600a){const _0x101df1=_0x4c76;super(_0x55ab37);const _0x2cd04b=this[_0x101df1(0x112)];this[_0x101df1(0x110)](_0x101df1(0x115),''),this[_0x101df1(0x10d)]({'tag':_0x101df1(0x113),'attributes':{..._0x33600a,'class':[_0x101df1(0x10e),_0x101df1(0x114)],'ctx-name':_0x101df1(0x118),'cdn-url':_0x2cd04b['to'](_0x101df1(0x115))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x4f69aa,IconView as at,View as _0x109cdf}from'ckeditor5/src/ui.js';export default class rt extends _0x109cdf{constructor(_0xad5715){super(_0xad5715);const t=_0xad5715['t'];this['set']('errorType',null);const _0x146d47=new _0x4f69aa(_0xad5715);_0x146d47['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x146d47['withText']=!0x0,_0x146d47['class']='ck-button-action',_0x146d47['on']('execute',()=>{this['fire']('retry');}),_0x146d47['bind']('isVisible')['to'](this,'errorType',_0x55aff6=>'NotFound'!==_0x55aff6);const _0x285c4b=new at();_0x285c4b['content']=et,_0x285c4b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1e86ed=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':[_0x285c4b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1e86ed['to']('errorType',_0x36e09c=>t('NotFound'!==_0x36e09c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x146d47]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x20967d,IconView as at,View as _0x2e70c9}from'ckeditor5/src/ui.js';export default class rt extends _0x2e70c9{constructor(_0x1595e2){super(_0x1595e2);const t=_0x1595e2['t'];this['set']('errorType',null);const _0x59bf6b=new _0x20967d(_0x1595e2);_0x59bf6b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x59bf6b['withText']=!0x0,_0x59bf6b['class']='ck-button-action',_0x59bf6b['on']('execute',()=>{this['fire']('retry');}),_0x59bf6b['bind']('isVisible')['to'](this,'errorType',_0x1f6bb4=>'NotFound'!==_0x1f6bb4);const _0x4a2653=new at();_0x4a2653['content']=et,_0x4a2653['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4427dc=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':[_0x4a2653,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4427dc['to']('errorType',_0x40fae0=>t('NotFound'!==_0x40fae0?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x59bf6b]},{'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 _0x100f62,View as _0x3612a7}from'ckeditor5/src/ui.js';export default class ta extends _0x3612a7{constructor(_0x3c57bb){super(_0x3c57bb);const t=_0x3c57bb['t'],_0x22e6c9=this['bindTemplate'],_0x2ae5e3=new _0x100f62();_0x2ae5e3['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':[_0x2ae5e3,{'text':_0x22e6c9['to']('imageUploadProgress',_0x13d712=>t('Loading\x20image...')+'\x20('+(_0x13d712||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 _0x39fffb,View as _0x39063e}from'ckeditor5/src/ui.js';export default class ta extends _0x39063e{constructor(_0x6ba3ca){super(_0x6ba3ca);const t=_0x6ba3ca['t'],_0x131175=this['bindTemplate'],_0x3d1d99=new _0x39fffb();_0x3d1d99['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':[_0x3d1d99,{'text':_0x131175['to']('imageUploadProgress',_0x48104a=>t('Loading\x20image...')+'\x20('+(_0x48104a||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
- function _0x1995(){const _0x2a8ec8=['apply','_setView','_focusableView','error','_addUploadcareImageEditorListeners','detail','toLowerCase','603TeJxlc','ready','render','14193CzxNcj','_items','22sztBuB','cancel','66cAoKZU','length','_waitForImageEditorComponent','fire','ck-uploadcare-form','addEventListener','observe','_addErrorViewListeners','retry','181706kFTxrN','4920800NqQsCu','change:status','107336rCeyYi','_editingView','status','31107DdgIkz','filter','1258495pMqzaS','once','_errorView','40344SAqaQp','focus','uc-cloud-image-editor','createCollection','querySelector','uploading','element','setTemplate','target','disconnect','addMany','724WkzaVp','38FcukZT','addedNodes','div','_loadingView','clear','set','add','getFocusableElement','ck-reset_all-excluded','8723btYxEq','nodeName','cdnUrl'];_0x1995=function(){return _0x2a8ec8;};return _0x1995();}const _0xb05a26=_0x2a0d;(function(_0x231d2c,_0x55c1a2){const _0x53661e=_0x2a0d,_0x4980d6=_0x231d2c();while(!![]){try{const _0x521100=parseInt(_0x53661e(0x1e8))/0x1*(parseInt(_0x53661e(0x1bf))/0x2)+parseInt(_0x53661e(0x1d5))/0x3*(parseInt(_0x53661e(0x1be))/0x4)+-parseInt(_0x53661e(0x1b0))/0x5+-parseInt(_0x53661e(0x1d9))/0x6*(parseInt(_0x53661e(0x1e2))/0x7)+parseInt(_0x53661e(0x1e5))/0x8*(parseInt(_0x53661e(0x1d2))/0x9)+parseInt(_0x53661e(0x1e3))/0xa*(parseInt(_0x53661e(0x1d7))/0xb)+parseInt(_0x53661e(0x1b3))/0xc*(-parseInt(_0x53661e(0x1c8))/0xd);if(_0x521100===_0x55c1a2)break;else _0x4980d6['push'](_0x4980d6['shift']());}catch(_0x5bb597){_0x4980d6['push'](_0x4980d6['shift']());}}}(_0x1995,0x832d8));import{View as _0x2d7b4e}from'ckeditor5/src/ui.js';import _0x4c74ec from'./uploadcareimageeditformloadingview.js';import _0x42411f from'./uploadcareimageeditformerrorview.js';import _0x10b9a7 from'./uploadcareimageeditformeditingview.js';import _0x5b779c from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2a0d(_0x1f3840,_0x2b852f){const _0x1995b5=_0x1995();return _0x2a0d=function(_0x2a0ddc,_0x167d6e){_0x2a0ddc=_0x2a0ddc-0x1b0;let _0x1d547d=_0x1995b5[_0x2a0ddc];return _0x1d547d;},_0x2a0d(_0x1f3840,_0x2b852f);}export default class Z extends _0x5b779c{[_0xb05a26(0x1d6)];[_0xb05a26(0x1c2)];[_0xb05a26(0x1b2)];[_0xb05a26(0x1e6)];[_0xb05a26(0x1cd)];constructor(_0x173b4b,_0x2faa87,_0x114afc){const _0x1dc4e7=_0xb05a26;super(_0x173b4b),this[_0x1dc4e7(0x1d6)]=this[_0x1dc4e7(0x1b6)](),this[_0x1dc4e7(0x1c2)]=new _0x4c74ec(_0x173b4b),this[_0x1dc4e7(0x1b2)]=new _0x42411f(_0x173b4b),this[_0x1dc4e7(0x1e6)]=new _0x10b9a7(_0x173b4b,_0x114afc),this[_0x1dc4e7(0x1cd)]=new _0x2d7b4e(_0x173b4b),this[_0x1dc4e7(0x1cd)][_0x1dc4e7(0x1ba)](this[_0x1dc4e7(0x1c6)]()),this[_0x1dc4e7(0x1c4)](_0x1dc4e7(0x1e7),_0x2faa87),this[_0x1dc4e7(0x1ba)]({'tag':_0x1dc4e7(0x1c1),'attributes':{'class':['ck',_0x1dc4e7(0x1c7),_0x1dc4e7(0x1dd)],'tabindex':'-1'},'children':this[_0x1dc4e7(0x1d6)]}),this[_0x1dc4e7(0x1cc)](),this[_0x1dc4e7(0x1b1)](_0x1dc4e7(0x1d4),()=>{const _0x54afab=_0x1dc4e7;this[_0x54afab(0x1db)](this[_0x54afab(0x1b9)],_0x28aae3=>{const _0x58a7fd=_0x54afab;this[_0x58a7fd(0x1cf)](_0x28aae3);});}),this['on'](_0x1dc4e7(0x1e4),()=>{const _0x437c54=_0x1dc4e7;this[_0x437c54(0x1cc)]();}),this[_0x1dc4e7(0x1e0)]();}[_0xb05a26(0x1b4)](){const _0x1115d5=_0xb05a26;this[_0x1115d5(0x1b9)][_0x1115d5(0x1b4)]();}[_0xb05a26(0x1cc)](){const _0x2f116c=_0xb05a26;switch(this[_0x2f116c(0x1d6)][_0x2f116c(0x1c3)](),this[_0x2f116c(0x1e7)]){case _0x2f116c(0x1b8):this[_0x2f116c(0x1d6)][_0x2f116c(0x1c5)](this[_0x2f116c(0x1c2)]);break;case _0x2f116c(0x1ce):this[_0x2f116c(0x1d6)][_0x2f116c(0x1c5)](this[_0x2f116c(0x1b2)]);break;case _0x2f116c(0x1d3):this[_0x2f116c(0x1d6)][_0x2f116c(0x1bd)]([this[_0x2f116c(0x1e6)],this[_0x2f116c(0x1cd)]]);}}[_0xb05a26(0x1db)](_0x571814,_0x43727c){const _0x184690=_0xb05a26,_0x5ddaee=_0x184690(0x1b5),_0x3bfc9c=_0x571814[_0x184690(0x1b7)](_0x5ddaee);if(_0x3bfc9c)return _0x43727c(_0x3bfc9c);const _0x43f3e6=new MutationObserver(_0xeae853=>{const _0x381be5=_0x184690,_0x181efc=_0xeae853[_0x381be5(0x1e9)](_0x3fb798=>_0x3fb798[_0x381be5(0x1bb)]===_0x571814&&_0x3fb798[_0x381be5(0x1c0)][_0x381be5(0x1da)]>0x0&&_0x3fb798[_0x381be5(0x1c0)][0x0][_0x381be5(0x1c9)][_0x381be5(0x1d1)]()===_0x5ddaee);_0x181efc[_0x381be5(0x1da)]&&(_0x43f3e6[_0x381be5(0x1bc)](),_0x43727c(_0x181efc[0x0][_0x381be5(0x1c0)][0x0]));});_0x43f3e6[_0x184690(0x1df)](_0x571814,{'childList':!0x0,'subtree':!0x0});}[_0xb05a26(0x1cf)](_0x3491b6){const _0x2824b9=_0xb05a26;_0x3491b6[_0x2824b9(0x1de)](_0x2824b9(0x1cb),_0xe4405b=>{const _0x4bc27e=_0x2824b9;this[_0x4bc27e(0x1dc)](_0x4bc27e(0x1cb),{'imageSrc':_0xe4405b[_0x4bc27e(0x1d0)][_0x4bc27e(0x1ca)]});}),_0x3491b6[_0x2824b9(0x1de)](_0x2824b9(0x1d8),()=>{const _0x4c2016=_0x2824b9;this[_0x4c2016(0x1dc)](_0x4c2016(0x1d8));});}[_0xb05a26(0x1e0)](){const _0x33e02a=_0xb05a26;this[_0x33e02a(0x1b2)]['on'](_0x33e02a(0x1e1),()=>{const _0x5535f3=_0x33e02a;this[_0x5535f3(0x1dc)](_0x5535f3(0x1e1));});}}
23
+ function _0x2c80(){const _0x4a48c6=['apply','108056htpZwN','505473gArgws','_setView','disconnect','fire','uc-cloud-image-editor','filter','_addErrorViewListeners','detail','div','_items','351akjCTb','_addUploadcareImageEditorListeners','render','ck-reset_all-excluded','ready','cancel','focus','ck-uploadcare-form','_loadingView','element','length','_waitForImageEditorComponent','10OYoHxL','addedNodes','once','change:status','add','nodeName','target','querySelector','getFocusableElement','27697iUFrBq','addMany','retry','643350WbsiPZ','createCollection','1371468SzPzWj','cdnUrl','_errorView','uploading','toLowerCase','observe','2135475gBtXmL','_focusableView','set','status','_editingView','76420NpPZJd','clear','error','setTemplate','addEventListener','7WylgbH'];_0x2c80=function(){return _0x4a48c6;};return _0x2c80();}const _0x16fad2=_0x4821;function _0x4821(_0x44881c,_0x3697d0){const _0x2c8000=_0x2c80();return _0x4821=function(_0x482104,_0x982300){_0x482104=_0x482104-0x158;let _0x1b1869=_0x2c8000[_0x482104];return _0x1b1869;},_0x4821(_0x44881c,_0x3697d0);}(function(_0x5f2cb6,_0x439893){const _0x90a012=_0x4821,_0x4b37ad=_0x5f2cb6();while(!![]){try{const _0x125693=parseInt(_0x90a012(0x174))/0x1*(parseInt(_0x90a012(0x16b))/0x2)+-parseInt(_0x90a012(0x18c))/0x3+-parseInt(_0x90a012(0x179))/0x4+parseInt(_0x90a012(0x17f))/0x5+-parseInt(_0x90a012(0x177))/0x6+parseInt(_0x90a012(0x189))/0x7*(-parseInt(_0x90a012(0x18b))/0x8)+parseInt(_0x90a012(0x15f))/0x9*(parseInt(_0x90a012(0x184))/0xa);if(_0x125693===_0x439893)break;else _0x4b37ad['push'](_0x4b37ad['shift']());}catch(_0x5c1a18){_0x4b37ad['push'](_0x4b37ad['shift']());}}}(_0x2c80,0x38868));import{View as _0x2e02d8}from'ckeditor5/src/ui.js';import _0x424f83 from'./uploadcareimageeditformloadingview.js';import _0x26d9ee from'./uploadcareimageeditformerrorview.js';import _0x5342e4 from'./uploadcareimageeditformeditingview.js';import _0x141a3b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x141a3b{[_0x16fad2(0x15e)];[_0x16fad2(0x167)];[_0x16fad2(0x17b)];[_0x16fad2(0x183)];[_0x16fad2(0x180)];constructor(_0x51a4e2,_0x3a04c7,_0x3f16d8){const _0xa5ba59=_0x16fad2;super(_0x51a4e2),this[_0xa5ba59(0x15e)]=this[_0xa5ba59(0x178)](),this[_0xa5ba59(0x167)]=new _0x424f83(_0x51a4e2),this[_0xa5ba59(0x17b)]=new _0x26d9ee(_0x51a4e2),this[_0xa5ba59(0x183)]=new _0x5342e4(_0x51a4e2,_0x3f16d8),this[_0xa5ba59(0x180)]=new _0x2e02d8(_0x51a4e2),this[_0xa5ba59(0x180)][_0xa5ba59(0x187)](this[_0xa5ba59(0x173)]()),this[_0xa5ba59(0x181)](_0xa5ba59(0x182),_0x3a04c7),this[_0xa5ba59(0x187)]({'tag':_0xa5ba59(0x15d),'attributes':{'class':['ck',_0xa5ba59(0x162),_0xa5ba59(0x166)],'tabindex':'-1'},'children':this[_0xa5ba59(0x15e)]}),this[_0xa5ba59(0x18d)](),this[_0xa5ba59(0x16d)](_0xa5ba59(0x161),()=>{const _0x3da555=_0xa5ba59;this[_0x3da555(0x16a)](this[_0x3da555(0x168)],_0x89b880=>{const _0x226dd5=_0x3da555;this[_0x226dd5(0x160)](_0x89b880);});}),this['on'](_0xa5ba59(0x16e),()=>{const _0xbfc6e=_0xa5ba59;this[_0xbfc6e(0x18d)]();}),this[_0xa5ba59(0x15b)]();}[_0x16fad2(0x165)](){const _0x315170=_0x16fad2;this[_0x315170(0x168)][_0x315170(0x165)]();}[_0x16fad2(0x18d)](){const _0x205ce5=_0x16fad2;switch(this[_0x205ce5(0x15e)][_0x205ce5(0x185)](),this[_0x205ce5(0x182)]){case _0x205ce5(0x17c):this[_0x205ce5(0x15e)][_0x205ce5(0x16f)](this[_0x205ce5(0x167)]);break;case _0x205ce5(0x186):this[_0x205ce5(0x15e)][_0x205ce5(0x16f)](this[_0x205ce5(0x17b)]);break;case _0x205ce5(0x163):this[_0x205ce5(0x15e)][_0x205ce5(0x175)]([this[_0x205ce5(0x183)],this[_0x205ce5(0x180)]]);}}[_0x16fad2(0x16a)](_0x56223d,_0x35d104){const _0x26f8ee=_0x16fad2,_0xfc340e=_0x26f8ee(0x159),_0x42ec93=_0x56223d[_0x26f8ee(0x172)](_0xfc340e);if(_0x42ec93)return _0x35d104(_0x42ec93);const _0x3f638c=new MutationObserver(_0x48efce=>{const _0x143ba6=_0x26f8ee,_0x469749=_0x48efce[_0x143ba6(0x15a)](_0x351d74=>_0x351d74[_0x143ba6(0x171)]===_0x56223d&&_0x351d74[_0x143ba6(0x16c)][_0x143ba6(0x169)]>0x0&&_0x351d74[_0x143ba6(0x16c)][0x0][_0x143ba6(0x170)][_0x143ba6(0x17d)]()===_0xfc340e);_0x469749[_0x143ba6(0x169)]&&(_0x3f638c[_0x143ba6(0x18e)](),_0x35d104(_0x469749[0x0][_0x143ba6(0x16c)][0x0]));});_0x3f638c[_0x26f8ee(0x17e)](_0x56223d,{'childList':!0x0,'subtree':!0x0});}[_0x16fad2(0x160)](_0x155e69){const _0x2ab856=_0x16fad2;_0x155e69[_0x2ab856(0x188)](_0x2ab856(0x18a),_0x276d55=>{const _0x3aebe4=_0x2ab856;this[_0x3aebe4(0x158)](_0x3aebe4(0x18a),{'imageSrc':_0x276d55[_0x3aebe4(0x15c)][_0x3aebe4(0x17a)]});}),_0x155e69[_0x2ab856(0x188)](_0x2ab856(0x164),()=>{const _0x50655d=_0x2ab856;this[_0x50655d(0x158)](_0x50655d(0x164));});}[_0x16fad2(0x15b)](){const _0x90056f=_0x16fad2;this[_0x90056f(0x17b)]['on'](_0x90056f(0x176),()=>{const _0x4b2c78=_0x90056f;this[_0x4b2c78(0x158)](_0x4b2c78(0x176));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x419657=_0x5a60;(function(_0x50a7ae,_0x518e5a){const _0x37d536=_0x5a60,_0x5d6adf=_0x50a7ae();while(!![]){try{const _0x207581=parseInt(_0x37d536(0x124))/0x1+-parseInt(_0x37d536(0x142))/0x2+-parseInt(_0x37d536(0x137))/0x3*(-parseInt(_0x37d536(0x12e))/0x4)+parseInt(_0x37d536(0x132))/0x5+-parseInt(_0x37d536(0x138))/0x6*(parseInt(_0x37d536(0x129))/0x7)+-parseInt(_0x37d536(0x143))/0x8*(-parseInt(_0x37d536(0x128))/0x9)+-parseInt(_0x37d536(0x136))/0xa*(parseInt(_0x37d536(0x12d))/0xb);if(_0x207581===_0x518e5a)break;else _0x5d6adf['push'](_0x5d6adf['shift']());}catch(_0x32d1a9){_0x5d6adf['push'](_0x5d6adf['shift']());}}}(_0x3d47,0x9009a));import{Command as _0x5b181d}from'ckeditor5/src/core.js';import{Dialog as _0x25bfbc}from'ckeditor5/src/ui.js';import _0x5331a0 from'./ui/uploadcareimageeditcontroller.js';function _0x3d47(){const _0x370067=['get','refresh','isEnabled','selection','document','execute','_isEditable','imageBlock','set','1068352BWcfVi','1301648BdGDKW','imageInline','190731UtzUaQ','unbind','config','plugins','9HnLfes','920318ADlBBa','getSelectedElement','imageEditController','requires','22TtKgXa','28spyfoJ','editor','element','bind','5046930aDamOK','model','uploadcare.allowExternalImagesEditing','isActive','2402210YwNDky','385347HNqqyq','30cBftDE'];_0x3d47=function(){return _0x370067;};return _0x3d47();}function _0x5a60(_0x527d29,_0x84a698){const _0x3d47a5=_0x3d47();return _0x5a60=function(_0x5a6076,_0x2f5344){_0x5a6076=_0x5a6076-0x124;let _0x3b1ac8=_0x3d47a5[_0x5a6076];return _0x3b1ac8;},_0x5a60(_0x527d29,_0x84a698);}import{createEditabilityChecker as _0xfb4e8a}from'../utils/editingutils.js';export default class J extends _0x5b181d{[_0x419657(0x12b)];static get[_0x419657(0x12c)](){return[_0x25bfbc];}[_0x419657(0x13f)];constructor(_0x503191){const _0x517378=_0x419657;super(_0x503191),this[_0x517378(0x12b)]=void 0x0,this[_0x517378(0x13f)]=_0xfb4e8a(_0x503191[_0x517378(0x126)][_0x517378(0x139)](_0x517378(0x134))||[]),this[_0x517378(0x141)]({'isActive':!0x1});}[_0x419657(0x13a)](){const _0x392340=_0x419657,_0x32441b=this[_0x392340(0x12f)][_0x392340(0x133)][_0x392340(0x13d)][_0x392340(0x13c)][_0x392340(0x12a)]();this[_0x392340(0x13b)]=this[_0x392340(0x13f)](_0x32441b);}[_0x419657(0x13e)](){const _0x17446b=_0x419657;this[_0x17446b(0x12b)]&&(this[_0x17446b(0x125)](_0x17446b(0x135)),this[_0x17446b(0x12b)]=void 0x0);const _0x4747ca=this[_0x17446b(0x12f)][_0x17446b(0x133)][_0x17446b(0x13d)][_0x17446b(0x13c)][_0x17446b(0x12a)]();_0x4747ca&&(_0x4747ca['is'](_0x17446b(0x130),_0x17446b(0x140))||_0x4747ca['is'](_0x17446b(0x130),_0x17446b(0x144)))&&(this[_0x17446b(0x12b)]=new _0x5331a0(this[_0x17446b(0x12f)],this[_0x17446b(0x12f)][_0x17446b(0x127)][_0x17446b(0x139)](_0x25bfbc),_0x4747ca),this[_0x17446b(0x131)](_0x17446b(0x135))['to'](this[_0x17446b(0x12b)],_0x17446b(0x135)));}}
23
+ const _0xae6f1e=_0x100b;(function(_0x472151,_0x5c907c){const _0x2b6b79=_0x100b,_0x3e423e=_0x472151();while(!![]){try{const _0x41d780=-parseInt(_0x2b6b79(0xe7))/0x1*(parseInt(_0x2b6b79(0x102))/0x2)+-parseInt(_0x2b6b79(0xec))/0x3+parseInt(_0x2b6b79(0xe9))/0x4*(-parseInt(_0x2b6b79(0xf2))/0x5)+parseInt(_0x2b6b79(0xe5))/0x6*(-parseInt(_0x2b6b79(0xfc))/0x7)+-parseInt(_0x2b6b79(0x100))/0x8+-parseInt(_0x2b6b79(0xef))/0x9+parseInt(_0x2b6b79(0xee))/0xa;if(_0x41d780===_0x5c907c)break;else _0x3e423e['push'](_0x3e423e['shift']());}catch(_0x5ace88){_0x3e423e['push'](_0x3e423e['shift']());}}}(_0x2fcc,0xc4b10));function _0x2fcc(){const _0x2b6646=['17682ZRctMr','uploadcare.allowExternalImagesEditing','501NxByyq','getSelectedElement','64928aJNgVy','imageInline','isActive','4800888itkpQa','execute','55320500dXrtDM','2648484tIwLQW','get','document','150BVBywO','requires','_isEditable','bind','imageBlock','editor','element','selection','model','imageEditController','2443yIkvjK','unbind','config','refresh','7172232YlacPg','plugins','1676rbLGwS','set','isEnabled'];_0x2fcc=function(){return _0x2b6646;};return _0x2fcc();}import{Command as _0x5231fa}from'ckeditor5/src/core.js';function _0x100b(_0x2bd127,_0x1f76e5){const _0x2fccbb=_0x2fcc();return _0x100b=function(_0x100bf6,_0x112c0e){_0x100bf6=_0x100bf6-0xe5;let _0x20fd18=_0x2fccbb[_0x100bf6];return _0x20fd18;},_0x100b(_0x2bd127,_0x1f76e5);}import{Dialog as _0x56cb8d}from'ckeditor5/src/ui.js';import _0x33f5df from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x441368}from'../utils/editingutils.js';export default class J extends _0x5231fa{[_0xae6f1e(0xfb)];static get[_0xae6f1e(0xf3)](){return[_0x56cb8d];}[_0xae6f1e(0xf4)];constructor(_0x3d8baf){const _0x177f30=_0xae6f1e;super(_0x3d8baf),this[_0x177f30(0xfb)]=void 0x0,this[_0x177f30(0xf4)]=_0x441368(_0x3d8baf[_0x177f30(0xfe)][_0x177f30(0xf0)](_0x177f30(0xe6))||[]),this[_0x177f30(0x103)]({'isActive':!0x1});}[_0xae6f1e(0xff)](){const _0x2d86c1=_0xae6f1e,_0x17bba4=this[_0x2d86c1(0xf7)][_0x2d86c1(0xfa)][_0x2d86c1(0xf1)][_0x2d86c1(0xf9)][_0x2d86c1(0xe8)]();this[_0x2d86c1(0x104)]=this[_0x2d86c1(0xf4)](_0x17bba4);}[_0xae6f1e(0xed)](){const _0x2c84df=_0xae6f1e;this[_0x2c84df(0xfb)]&&(this[_0x2c84df(0xfd)](_0x2c84df(0xeb)),this[_0x2c84df(0xfb)]=void 0x0);const _0x1788d5=this[_0x2c84df(0xf7)][_0x2c84df(0xfa)][_0x2c84df(0xf1)][_0x2c84df(0xf9)][_0x2c84df(0xe8)]();_0x1788d5&&(_0x1788d5['is'](_0x2c84df(0xf8),_0x2c84df(0xf6))||_0x1788d5['is'](_0x2c84df(0xf8),_0x2c84df(0xea)))&&(this[_0x2c84df(0xfb)]=new _0x33f5df(this[_0x2c84df(0xf7)],this[_0x2c84df(0xf7)][_0x2c84df(0x101)][_0x2c84df(0xf0)](_0x56cb8d),_0x1788d5),this[_0x2c84df(0xf5)](_0x2c84df(0xeb))['to'](this[_0x2c84df(0xfb)],_0x2c84df(0xeb)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f440=_0x4b10;(function(_0x19fb15,_0x38c039){const _0x36892f=_0x4b10,_0x132cdd=_0x19fb15();while(!![]){try{const _0x43d8bb=-parseInt(_0x36892f(0x189))/0x1+-parseInt(_0x36892f(0x186))/0x2+-parseInt(_0x36892f(0x182))/0x3+parseInt(_0x36892f(0x188))/0x4*(parseInt(_0x36892f(0x183))/0x5)+parseInt(_0x36892f(0x17f))/0x6+parseInt(_0x36892f(0x184))/0x7+parseInt(_0x36892f(0x193))/0x8*(parseInt(_0x36892f(0x181))/0x9);if(_0x43d8bb===_0x38c039)break;else _0x132cdd['push'](_0x132cdd['shift']());}catch(_0xc8d733){_0x132cdd['push'](_0x132cdd['shift']());}}}(_0x3893,0x73605));import{Plugin as _0x147489}from'ckeditor5/src/core.js';import{Notification as _0x249682}from'ckeditor5/src/ui.js';import _0x3a39fd from'./uploadcareimageeditcommand.js';import _0x1854ca from'./uploadcareimagereplacecommand.js';import _0x2f4251 from'../uploadcareediting.js';export default class g extends _0x147489{static get[_0x24f440(0x180)](){const _0x5e3883=_0x24f440;return _0x5e3883(0x185);}static get[_0x24f440(0x18d)](){const _0x5e0022=_0x24f440;return[_0x2f4251,_0x249682,_0x5e0022(0x190),_0x5e0022(0x18a)];}static get[_0x24f440(0x187)](){return!0x0;}static get[_0x24f440(0x18f)](){return!0x0;}[_0x24f440(0x18e)](){const _0x6278e3=_0x24f440,{editor:_0x22f42a}=this;_0x22f42a[_0x6278e3(0x191)][_0x6278e3(0x18c)](_0x6278e3(0x192),new _0x3a39fd(_0x22f42a)),_0x22f42a[_0x6278e3(0x191)][_0x6278e3(0x18c)](_0x6278e3(0x18b),new _0x1854ca(_0x22f42a));}}function _0x4b10(_0x5c7bf5,_0x3bcaa9){const _0x389322=_0x3893();return _0x4b10=function(_0x4b10b7,_0x28d60){_0x4b10b7=_0x4b10b7-0x17f;let _0x292cd8=_0x389322[_0x4b10b7];return _0x292cd8;},_0x4b10(_0x5c7bf5,_0x3bcaa9);}function _0x3893(){const _0x23636f=['isOfficialPlugin','4cpuIWJ','681446xjZupW','ImageEditing','uploadcareImageReplace','add','requires','init','isPremiumPlugin','ImageUtils','commands','uploadcareImageEdit','136fKTdsU','4491690zaXvju','pluginName','522279HjRkio','30555PNaPjZ','23315cUsHil','24808qpfCTS','UploadcareImageEditEditing','1158274PbsVml'];_0x3893=function(){return _0x23636f;};return _0x3893();}
23
+ const _0x31ed28=_0x1ff0;(function(_0x474fda,_0x1efe29){const _0xcba45=_0x1ff0,_0x1b56da=_0x474fda();while(!![]){try{const _0x2fd79f=-parseInt(_0xcba45(0x7b))/0x1*(parseInt(_0xcba45(0x6b))/0x2)+parseInt(_0xcba45(0x6c))/0x3*(parseInt(_0xcba45(0x79))/0x4)+parseInt(_0xcba45(0x7e))/0x5*(-parseInt(_0xcba45(0x71))/0x6)+-parseInt(_0xcba45(0x77))/0x7+-parseInt(_0xcba45(0x6f))/0x8+parseInt(_0xcba45(0x75))/0x9*(-parseInt(_0xcba45(0x7d))/0xa)+-parseInt(_0xcba45(0x70))/0xb*(-parseInt(_0xcba45(0x7c))/0xc);if(_0x2fd79f===_0x1efe29)break;else _0x1b56da['push'](_0x1b56da['shift']());}catch(_0x2159b2){_0x1b56da['push'](_0x1b56da['shift']());}}}(_0x4eb7,0x4f781));import{Plugin as _0xdd1aa3}from'ckeditor5/src/core.js';import{Notification as _0x4e5527}from'ckeditor5/src/ui.js';function _0x4eb7(){const _0x4f7610=['isPremiumPlugin','commands','9eweeKV','ImageUtils','3899175kESBGS','uploadcareImageEdit','4116ySMior','UploadcareImageEditEditing','1DZXoyL','36FPuHpT','3551390qJWMnD','35lqxiom','ImageEditing','requires','pluginName','add','686474fOOfAF','1809clJbDc','isOfficialPlugin','init','528384nbdEjH','6119861DQxOxN','550788lTDkXN','uploadcareImageReplace'];_0x4eb7=function(){return _0x4f7610;};return _0x4eb7();}import _0x321be3 from'./uploadcareimageeditcommand.js';import _0x3c33c7 from'./uploadcareimagereplacecommand.js';function _0x1ff0(_0x3f5264,_0x7ff64e){const _0x4eb77b=_0x4eb7();return _0x1ff0=function(_0x1ff077,_0x3ce069){_0x1ff077=_0x1ff077-0x68;let _0x31a33d=_0x4eb77b[_0x1ff077];return _0x31a33d;},_0x1ff0(_0x3f5264,_0x7ff64e);}import _0x529ac0 from'../uploadcareediting.js';export default class g extends _0xdd1aa3{static get[_0x31ed28(0x69)](){const _0x17db77=_0x31ed28;return _0x17db77(0x7a);}static get[_0x31ed28(0x68)](){const _0x518271=_0x31ed28;return[_0x529ac0,_0x4e5527,_0x518271(0x76),_0x518271(0x7f)];}static get[_0x31ed28(0x6d)](){return!0x0;}static get[_0x31ed28(0x73)](){return!0x0;}[_0x31ed28(0x6e)](){const _0x3dae6e=_0x31ed28,{editor:_0x3730d5}=this;_0x3730d5[_0x3dae6e(0x74)][_0x3dae6e(0x6a)](_0x3dae6e(0x78),new _0x321be3(_0x3730d5)),_0x3730d5[_0x3dae6e(0x74)][_0x3dae6e(0x6a)](_0x3dae6e(0x72),new _0x3c33c7(_0x3730d5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x383d99}from'ckeditor5/src/core.js';import{ButtonView as _0x274c9b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x38d81b}from'ckeditor5/src/icons.js';import{createElement as _0xe8b0e8}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x383d99{['_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 _0x3dded4=this['editor'];_0x3dded4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ec688=>{const _0x19174d=_0x3dded4['commands']['get']('uploadcareImageEdit'),_0x2621e1=new _0x274c9b(_0x3ec688),t=_0x3ec688['t'];return _0x2621e1['set']({'icon':_0x38d81b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2621e1['bind']('isEnabled')['to'](_0x19174d),_0x2621e1['bind']('isOn')['to'](_0x19174d,'isActive'),this['listenTo'](_0x2621e1,'execute',()=>{_0x3dded4['execute']('uploadcareImageEdit'),_0x3dded4['editing']['view']['focus']();}),_0x2621e1;}),this['_initConfig']();}['_initConfig'](){const _0xffdffd=_0xe8b0e8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xffdffd),this['listenTo'](this['editor'],'destroy',()=>{_0xffdffd['remove']();});}}
23
+ import{Plugin as _0x1e5057}from'ckeditor5/src/core.js';import{ButtonView as _0x518836}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2f6a0d}from'ckeditor5/src/icons.js';import{createElement as _0x589c86}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1e5057{['_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 _0x3cea43=this['editor'];_0x3cea43['ui']['componentFactory']['add']('uploadcareImageEdit',_0x8ffa43=>{const _0x367da5=_0x3cea43['commands']['get']('uploadcareImageEdit'),_0x1fe639=new _0x518836(_0x8ffa43),t=_0x8ffa43['t'];return _0x1fe639['set']({'icon':_0x2f6a0d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1fe639['bind']('isEnabled')['to'](_0x367da5),_0x1fe639['bind']('isOn')['to'](_0x367da5,'isActive'),this['listenTo'](_0x1fe639,'execute',()=>{_0x3cea43['execute']('uploadcareImageEdit'),_0x3cea43['editing']['view']['focus']();}),_0x1fe639;}),this['_initConfig']();}['_initConfig'](){const _0x105ede=_0x589c86(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x105ede),this['listenTo'](this['editor'],'destroy',()=>{_0x105ede['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3159(_0x138ea9,_0x30b3eb){const _0x48ee74=_0x48ee();return _0x3159=function(_0x31592e,_0x62882a){_0x31592e=_0x31592e-0x1ce;let _0x4471c7=_0x48ee74[_0x31592e];return _0x4471c7;},_0x3159(_0x138ea9,_0x30b3eb);}const _0x40042c=_0x3159;(function(_0x14eab0,_0x194ac7){const _0x44ed77=_0x3159,_0xf625d2=_0x14eab0();while(!![]){try{const _0x2b14ed=parseInt(_0x44ed77(0x1e9))/0x1*(-parseInt(_0x44ed77(0x1e5))/0x2)+-parseInt(_0x44ed77(0x1e6))/0x3+parseInt(_0x44ed77(0x1dd))/0x4+-parseInt(_0x44ed77(0x1e4))/0x5*(parseInt(_0x44ed77(0x1e0))/0x6)+-parseInt(_0x44ed77(0x1d2))/0x7*(parseInt(_0x44ed77(0x1d5))/0x8)+parseInt(_0x44ed77(0x1e1))/0x9*(-parseInt(_0x44ed77(0x1d3))/0xa)+parseInt(_0x44ed77(0x1cf))/0xb*(parseInt(_0x44ed77(0x1e7))/0xc);if(_0x2b14ed===_0x194ac7)break;else _0xf625d2['push'](_0xf625d2['shift']());}catch(_0x1d8f50){_0xf625d2['push'](_0xf625d2['shift']());}}}(_0x48ee,0x95706));import{Command as _0x42b0aa}from'ckeditor5/src/core.js';function _0x48ee(){const _0x46147a=['model','selection','imageInline','editor','3586732fBdtUa','change','document','36462UowVep','911331vWsZHs','removeAttribute','execute','325mlsCji','2DcwXMW','251751WdKBmS','900cZTzca','element','994547degNJk','sizes','274516lchcdX','refresh','srcset','63wCCWjP','10OBdpZF','imageBlock','516936eiOtRw','getSelectedElement','isEnabled','setAttributes'];_0x48ee=function(){return _0x46147a;};return _0x48ee();}export default class O extends _0x42b0aa{[_0x40042c(0x1d0)](){const _0x1adab8=_0x40042c,_0x483376=this[_0x1adab8(0x1dc)][_0x1adab8(0x1d9)][_0x1adab8(0x1df)][_0x1adab8(0x1da)][_0x1adab8(0x1d6)]();this[_0x1adab8(0x1d7)]=Boolean(_0x483376&&(_0x483376['is'](_0x1adab8(0x1e8),_0x1adab8(0x1d4))||_0x483376['is'](_0x1adab8(0x1e8),_0x1adab8(0x1db))));}[_0x40042c(0x1e3)](_0x7d445d){const _0x47ac06=_0x40042c,_0x354580=this[_0x47ac06(0x1dc)][_0x47ac06(0x1d9)][_0x47ac06(0x1df)][_0x47ac06(0x1da)][_0x47ac06(0x1d6)]();this[_0x47ac06(0x1dc)][_0x47ac06(0x1d9)][_0x47ac06(0x1de)](_0x2a9797=>{const _0x94ba48=_0x47ac06;_0x2a9797[_0x94ba48(0x1d8)](_0x7d445d,_0x354580),_0x2a9797[_0x94ba48(0x1e2)](_0x94ba48(0x1d1),_0x354580),_0x2a9797[_0x94ba48(0x1e2)](_0x94ba48(0x1ce),_0x354580);});}}
23
+ function _0x5db0(_0x3457c4,_0x49a933){const _0x561907=_0x5619();return _0x5db0=function(_0x5db0c5,_0x33603a){_0x5db0c5=_0x5db0c5-0x15b;let _0x3039d9=_0x561907[_0x5db0c5];return _0x3039d9;},_0x5db0(_0x3457c4,_0x49a933);}const _0x4f6ee5=_0x5db0;function _0x5619(){const _0x17bac5=['182736MXyCEe','editor','225265ahqrnc','9832SGaGDH','sizes','execute','setAttributes','selection','8jzisXZ','refresh','element','13072czZlfX','imageBlock','change','model','srcset','imageInline','3760180PsKsPM','122004RfDWjC','document','removeAttribute','isEnabled','763vqHPen','1973418gNpQVv','13mNQuOb','getSelectedElement'];_0x5619=function(){return _0x17bac5;};return _0x5619();}(function(_0x210f8d,_0xf47fea){const _0x5d7e0a=_0x5db0,_0x139dbc=_0x210f8d();while(!![]){try{const _0x20af9e=-parseInt(_0x5d7e0a(0x15e))/0x1*(-parseInt(_0x5d7e0a(0x16b))/0x2)+parseInt(_0x5d7e0a(0x160))/0x3+-parseInt(_0x5d7e0a(0x168))/0x4*(parseInt(_0x5d7e0a(0x162))/0x5)+parseInt(_0x5d7e0a(0x15d))/0x6+-parseInt(_0x5d7e0a(0x15c))/0x7*(parseInt(_0x5d7e0a(0x163))/0x8)+-parseInt(_0x5d7e0a(0x172))/0x9+parseInt(_0x5d7e0a(0x171))/0xa;if(_0x20af9e===_0xf47fea)break;else _0x139dbc['push'](_0x139dbc['shift']());}catch(_0x1f5212){_0x139dbc['push'](_0x139dbc['shift']());}}}(_0x5619,0x95b3a));import{Command as _0x4a21bc}from'ckeditor5/src/core.js';export default class O extends _0x4a21bc{[_0x4f6ee5(0x169)](){const _0x578905=_0x4f6ee5,_0x4424f3=this[_0x578905(0x161)][_0x578905(0x16e)][_0x578905(0x173)][_0x578905(0x167)][_0x578905(0x15f)]();this[_0x578905(0x15b)]=Boolean(_0x4424f3&&(_0x4424f3['is'](_0x578905(0x16a),_0x578905(0x16c))||_0x4424f3['is'](_0x578905(0x16a),_0x578905(0x170))));}[_0x4f6ee5(0x165)](_0x531b5e){const _0x46c2ef=_0x4f6ee5,_0x1068f6=this[_0x46c2ef(0x161)][_0x46c2ef(0x16e)][_0x46c2ef(0x173)][_0x46c2ef(0x167)][_0x46c2ef(0x15f)]();this[_0x46c2ef(0x161)][_0x46c2ef(0x16e)][_0x46c2ef(0x16d)](_0x413f50=>{const _0x2afe59=_0x46c2ef;_0x413f50[_0x2afe59(0x166)](_0x531b5e,_0x1068f6),_0x413f50[_0x2afe59(0x174)](_0x2afe59(0x16f),_0x1068f6),_0x413f50[_0x2afe59(0x174)](_0x2afe59(0x164),_0x1068f6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x274427=_0xf4fe;(function(_0x54b313,_0x31bc6b){var _0x3fd5e3=_0xf4fe,_0x5a44e1=_0x54b313();while(!![]){try{var _0x362b55=parseInt(_0x3fd5e3(0x8f))/0x1*(parseInt(_0x3fd5e3(0x96))/0x2)+parseInt(_0x3fd5e3(0x91))/0x3*(parseInt(_0x3fd5e3(0x9a))/0x4)+-parseInt(_0x3fd5e3(0x93))/0x5+-parseInt(_0x3fd5e3(0x97))/0x6+parseInt(_0x3fd5e3(0x99))/0x7*(parseInt(_0x3fd5e3(0x8c))/0x8)+parseInt(_0x3fd5e3(0x90))/0x9*(parseInt(_0x3fd5e3(0x8b))/0xa)+parseInt(_0x3fd5e3(0x8d))/0xb*(-parseInt(_0x3fd5e3(0x95))/0xc);if(_0x362b55===_0x31bc6b)break;else _0x5a44e1['push'](_0x5a44e1['shift']());}catch(_0x4ce54e){_0x5a44e1['push'](_0x5a44e1['shift']());}}}(_0x55db,0x78f36));import{Plugin as _0x202fd1}from'ckeditor5/src/core.js';function _0xf4fe(_0x8e5411,_0x4b733a){var _0x55db13=_0x55db();return _0xf4fe=function(_0xf4fe54,_0x48a730){_0xf4fe54=_0xf4fe54-0x8b;var _0xd89d42=_0x55db13[_0xf4fe54];return _0xd89d42;},_0xf4fe(_0x8e5411,_0x4b733a);}import _0x56fecc from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x26a2e7 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x55db(){var _0x17666e=['1007644RFhBnb','requires','20aGknuy','4964248IbdcAz','11AHGGMm','UploadcareImageEdit','1383oMeYZP','889533NuKbHo','3BZIzEE','isOfficialPlugin','927620vWMmEk','pluginName','3683652BAzEFK','302xvLDQh','1746240rJCGOT','isPremiumPlugin','7BOUfAS'];_0x55db=function(){return _0x17666e;};return _0x55db();}export default class P extends _0x202fd1{static get[_0x274427(0x94)](){var _0x4b2e2c=_0x274427;return _0x4b2e2c(0x8e);}static get[_0x274427(0x9b)](){return[_0x56fecc,_0x26a2e7];}static get[_0x274427(0x92)](){return!0x0;}static get[_0x274427(0x98)](){return!0x0;}}
23
+ var _0x466b6=_0x2bfb;function _0x1a17(){var _0xf5806a=['2IqEiZB','UploadcareImageEdit','7taUXCH','isPremiumPlugin','9FJmskq','5445187yHJfPV','2325048MslomT','4047888nXhptL','requires','40pSGmrd','10gqBADY','200888yDhyEF','15172CWCnvs','pluginName','isOfficialPlugin','399366HCpWlP','1741864xoswND'];_0x1a17=function(){return _0xf5806a;};return _0x1a17();}(function(_0x49fdf6,_0x634a58){var _0x2ccd8e=_0x2bfb,_0x3c8706=_0x49fdf6();while(!![]){try{var _0x48c05c=parseInt(_0x2ccd8e(0x1f2))/0x1*(-parseInt(_0x2ccd8e(0x1e6))/0x2)+-parseInt(_0x2ccd8e(0x1e4))/0x3+-parseInt(_0x2ccd8e(0x1f1))/0x4*(-parseInt(_0x2ccd8e(0x1ef))/0x5)+parseInt(_0x2ccd8e(0x1ec))/0x6*(parseInt(_0x2ccd8e(0x1e8))/0x7)+parseInt(_0x2ccd8e(0x1e5))/0x8*(-parseInt(_0x2ccd8e(0x1ea))/0x9)+-parseInt(_0x2ccd8e(0x1f0))/0xa*(parseInt(_0x2ccd8e(0x1eb))/0xb)+parseInt(_0x2ccd8e(0x1ed))/0xc;if(_0x48c05c===_0x634a58)break;else _0x3c8706['push'](_0x3c8706['shift']());}catch(_0x288bbb){_0x3c8706['push'](_0x3c8706['shift']());}}}(_0x1a17,0x40d5c));import{Plugin as _0xc06ad0}from'ckeditor5/src/core.js';function _0x2bfb(_0x1528d9,_0x5a4701){var _0x1a1757=_0x1a17();return _0x2bfb=function(_0x2bfb21,_0x346cf1){_0x2bfb21=_0x2bfb21-0x1e3;var _0xcbd8f0=_0x1a1757[_0x2bfb21];return _0xcbd8f0;},_0x2bfb(_0x1528d9,_0x5a4701);}import _0x5d35fd from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x50d1ee from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xc06ad0{static get[_0x466b6(0x1f3)](){var _0x35145b=_0x466b6;return _0x35145b(0x1e7);}static get[_0x466b6(0x1ee)](){return[_0x5d35fd,_0x50d1ee];}static get[_0x466b6(0x1e3)](){return!0x0;}static get[_0x466b6(0x1e9)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30576a=_0x53ef;(function(_0x4e4dc2,_0x17574e){const _0x250b51=_0x53ef,_0x1fd3a1=_0x4e4dc2();while(!![]){try{const _0x15ed1a=parseInt(_0x250b51(0x179))/0x1*(-parseInt(_0x250b51(0x184))/0x2)+-parseInt(_0x250b51(0x198))/0x3+-parseInt(_0x250b51(0x1b2))/0x4+parseInt(_0x250b51(0x196))/0x5+parseInt(_0x250b51(0x18c))/0x6*(parseInt(_0x250b51(0x1b9))/0x7)+parseInt(_0x250b51(0x1ad))/0x8*(-parseInt(_0x250b51(0x1ae))/0x9)+-parseInt(_0x250b51(0x170))/0xa*(-parseInt(_0x250b51(0x1a3))/0xb);if(_0x15ed1a===_0x17574e)break;else _0x1fd3a1['push'](_0x1fd3a1['shift']());}catch(_0x3abd2e){_0x1fd3a1['push'](_0x1fd3a1['shift']());}}}(_0x4aac,0x806b6));function _0x53ef(_0x422fe3,_0x477ab5){const _0x4aac28=_0x4aac();return _0x53ef=function(_0x53ef7b,_0x43d281){_0x53ef7b=_0x53ef7b-0x16c;let _0x568ed1=_0x4aac28[_0x53ef7b];return _0x568ed1;},_0x53ef(_0x422fe3,_0x477ab5);}import{Plugin as _0x274c11}from'ckeditor5/src/core.js';import{IconDropbox as _0x1e19f1,IconFacebook as _0x211ea2,IconGoogleDrive as _0x153be0,IconGooglePhotos as _0x210dca,IconUploadcareImageUpload as _0x5119ac,IconUploadcareLink as _0x3a5cc2,IconOneDrive as _0xa53d1b}from'ckeditor5/src/icons.js';import{ButtonView as _0x20193b,MenuBarMenuListItemButtonView as _0x3f27f9}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x146326}from'./uploadcareconfig.js';import{getTranslation as _0x442ed1}from'./utils/common-translations.js';function _0x4aac(){const _0x5d3110=['UploadcareUI','2YLiZst','uploadcare.uploader.sourceList','commands','editor','init','Uploadcare','_showLicenseError','_createMenuBarButtons','Local','url','uploadcareLicenseKeyTrialLimit','977104dCJXMA','isPremiumPlugin','domainLimit','map','has','bind','expired','icon','6wJanSg','_getIntegrationKey','GPhotos','ImageInsertUI','invalid','isEnabled','entries','_createToolbarButton','URL','evaluationLimit','4987990VEKvzp','featureNotAllowed','693960mKvPCV','uploadcareLicenseKeyUsageLimit','text','registerIntegration','Replace','_licenseKeyCheckInterval','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','plugins','Dropbox','reduce','11OqOglt','forEach','OneDrive','upload','type','afterInit','_createButton','trialLimit','pluginName','uploadcareLicenseKeyInvalid','8bYplvq','5033835bSWGpX','uploadcare','licenseKey','_normalizeConfigSourceList','1746980Gwchde','config','push','assetManager','destroy','isOfficialPlugin','get','5500453VvOzmq','withText','uploadcareLicenseKeyValid','Insert','shortText','GDrive','tooltip','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','9471130hDyVqZ','locale','execute','usageLimit','label','uploadcareLicenseKeyEvaluationLimit','isImageSelected','Facebook'];_0x4aac=function(){return _0x5d3110;};return _0x4aac();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x274c11{[_0x30576a(0x1b0)];[_0x30576a(0x19d)];static get[_0x30576a(0x1ab)](){const _0xeb050e=_0x30576a;return _0xeb050e(0x178);}static get[_0x30576a(0x1b7)](){return!0x0;}static get[_0x30576a(0x185)](){return!0x0;}[_0x30576a(0x17d)](){const _0x4bfc28=_0x30576a;this[_0x4bfc28(0x1b0)]=this[_0x4bfc28(0x17c)][_0x4bfc28(0x1b3)][_0x4bfc28(0x1b8)](_0x4bfc28(0x1b0));const _0x4bad4b=this[_0x4bfc28(0x17c)];this[_0x4bfc28(0x19d)]=setInterval(()=>{const _0x3c3ca3=_0x4bfc28;let _0x2465d8;for(const _0xf6da83 in _0x4bad4b){const _0x38f0d7=_0xf6da83,_0x26d7c4=_0x4bad4b[_0x38f0d7];if(_0x3c3ca3(0x1bb)==_0x26d7c4||_0x3c3ca3(0x1ac)==_0x26d7c4||_0x3c3ca3(0x16e)==_0x26d7c4||_0x3c3ca3(0x16f)==_0x26d7c4||_0x3c3ca3(0x19f)==_0x26d7c4||_0x3c3ca3(0x175)==_0x26d7c4||_0x3c3ca3(0x183)==_0x26d7c4||_0x3c3ca3(0x199)==_0x26d7c4){delete _0x4bad4b[_0x38f0d7],_0x2465d8=_0x26d7c4,clearInterval(this[_0x3c3ca3(0x19d)]),this[_0x3c3ca3(0x19d)]=void 0x0;break;}}_0x3c3ca3(0x1ac)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x190)),_0x3c3ca3(0x16e)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x18a)),_0x3c3ca3(0x16f)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x186)),_0x3c3ca3(0x19f)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x197),_0x3c3ca3(0x17e)),_0x3c3ca3(0x175)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x195)),_0x3c3ca3(0x183)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x1aa)),_0x3c3ca3(0x199)==_0x2465d8&&_0x4bad4b[_0x3c3ca3(0x17f)](_0x3c3ca3(0x173));},0x3e8);}[_0x30576a(0x1a8)](){const _0x55633a=_0x30576a,{editor:_0x36f4b3}=this,_0x301b6a=_0x36f4b3[_0x55633a(0x17b)][_0x55633a(0x1b8)](_0x55633a(0x1af));if(!_0x301b6a)return;const _0x4e0126=this[_0x55633a(0x1b1)](_0x36f4b3[_0x55633a(0x1b3)][_0x55633a(0x1b8)](_0x55633a(0x17a)))[_0x55633a(0x1a2)]((_0x31b78c,_0x1c390b)=>{const _0x53fddd=_0x55633a,_0x51cc84=this[_0x53fddd(0x18d)](_0x1c390b[_0x53fddd(0x1a7)]);return _0x31b78c[_0x51cc84]||(_0x31b78c[_0x51cc84]=[]),_0x31b78c[_0x51cc84][_0x53fddd(0x1b4)](_0x1c390b),_0x31b78c;},{});_0x36f4b3[_0x55633a(0x1a0)][_0x55633a(0x188)](_0x55633a(0x18f))&&_0x36f4b3[_0x55633a(0x17b)][_0x55633a(0x1b8)](_0x55633a(0x1af))&&Object[_0x55633a(0x192)](_0x4e0126)[_0x55633a(0x1a4)](([_0x64ea24,_0x3443c7])=>{const _0x3b8c54=_0x55633a;_0x36f4b3[_0x3b8c54(0x1a0)][_0x3b8c54(0x1b8)](_0x3b8c54(0x18f))[_0x3b8c54(0x19b)]({'name':_0x64ea24,'observable':()=>_0x301b6a,'buttonViewCreator':()=>this[_0x3b8c54(0x193)](_0x3443c7),'formViewCreator':()=>this[_0x3b8c54(0x19e)](_0x3443c7),'menuBarButtonViewCreator':()=>this[_0x3b8c54(0x180)](_0x3443c7),'override':_0x3b8c54(0x1b5)!==_0x64ea24});});}[_0x30576a(0x1b6)](){const _0x42ec99=_0x30576a;super[_0x42ec99(0x1b6)](),this[_0x42ec99(0x19d)]&&clearInterval(this[_0x42ec99(0x19d)]);}[_0x30576a(0x1b1)](_0x1b8f6){const _0x1a0695=_0x30576a,{locale:_0x266af5}=this[_0x1a0695(0x17c)];return _0x1b8f6[_0x1a0695(0x187)](_0x4ecfb4=>{const _0x16ee3e=_0x1a0695,_0x1259ea=_0x442ed1(_0x266af5,_0x4ecfb4,_0x16ee3e(0x1bc));switch(_0x4ecfb4){case _0x146326[_0x16ee3e(0x181)]:return{'icon':_0x5119ac,'type':_0x146326[_0x16ee3e(0x181)],..._0x1259ea};case _0x146326[_0x16ee3e(0x194)]:return{'icon':_0x3a5cc2,'type':_0x146326[_0x16ee3e(0x194)],..._0x1259ea};case _0x146326[_0x16ee3e(0x1a1)]:return{'icon':_0x1e19f1,'type':_0x146326[_0x16ee3e(0x1a1)],..._0x1259ea};case _0x146326[_0x16ee3e(0x177)]:return{'icon':_0x211ea2,'type':_0x146326[_0x16ee3e(0x177)],..._0x1259ea};case _0x146326[_0x16ee3e(0x16c)]:return{'icon':_0x153be0,'type':_0x146326[_0x16ee3e(0x16c)],..._0x1259ea};case _0x146326[_0x16ee3e(0x18e)]:return{'icon':_0x210dca,'type':_0x146326[_0x16ee3e(0x18e)],..._0x1259ea};case _0x146326[_0x16ee3e(0x1a5)]:return{'icon':_0xa53d1b,'type':_0x146326[_0x16ee3e(0x1a5)],..._0x1259ea};}});}[_0x30576a(0x18d)](_0x4d83dd){const _0x4a6456=_0x30576a;switch(_0x4d83dd){case _0x146326[_0x4a6456(0x181)]:return _0x4a6456(0x1a6);case _0x146326[_0x4a6456(0x194)]:return _0x4a6456(0x182);default:return _0x4a6456(0x1b5);}}[_0x30576a(0x1a9)](_0x667bac,_0x3dae3f){const _0x4b8fd9=_0x30576a,_0xbface0=this[_0x4b8fd9(0x17c)],_0x3a289b=new _0x667bac(_0xbface0[_0x4b8fd9(0x171)]),_0x409f1e=_0xbface0[_0x4b8fd9(0x17b)][_0x4b8fd9(0x1b8)](_0x4b8fd9(0x1af));return _0x3a289b[_0x4b8fd9(0x189)](_0x4b8fd9(0x191))['to'](_0x409f1e),_0x3a289b['on'](_0x4b8fd9(0x172),()=>{const _0x1215b6=_0x4b8fd9;_0x409f1e[_0x1215b6(0x172)](_0x3dae3f);}),_0x3a289b;}[_0x30576a(0x193)](_0x4ebc8e){const _0x5d5574=_0x30576a,{locale:_0x46528c}=this[_0x5d5574(0x17c)],_0x4eed82=this[_0x5d5574(0x17c)][_0x5d5574(0x1a0)][_0x5d5574(0x1b8)](_0x5d5574(0x18f)),_0x285314=_0x4ebc8e[0x0],_0x435f87=this[_0x5d5574(0x1a9)](_0x20193b,_0x285314[_0x5d5574(0x1a7)]);return _0x435f87[_0x5d5574(0x18b)]=_0x285314[_0x5d5574(0x18b)],_0x435f87[_0x5d5574(0x189)](_0x5d5574(0x174))['to'](_0x4eed82,_0x5d5574(0x176),_0x56cfc9=>_0x442ed1(_0x46528c,_0x285314[_0x5d5574(0x1a7)],_0x56cfc9?_0x5d5574(0x19c):_0x5d5574(0x1bc))[_0x5d5574(0x19a)]),_0x435f87[_0x5d5574(0x16d)]=!0x0,_0x435f87;}[_0x30576a(0x19e)](_0x22cadf){const _0x3137d0=_0x30576a,{locale:_0x13e5f6}=this[_0x3137d0(0x17c)],_0x3eac6b=this[_0x3137d0(0x17c)][_0x3137d0(0x1a0)][_0x3137d0(0x1b8)](_0x3137d0(0x18f));return _0x22cadf[_0x3137d0(0x187)](_0x4a658b=>{const _0x52626c=_0x3137d0,_0x1fe167=this[_0x52626c(0x1a9)](_0x20193b,_0x4a658b[_0x52626c(0x1a7)]);return _0x1fe167[_0x52626c(0x1ba)]=!0x0,_0x1fe167[_0x52626c(0x18b)]=_0x4a658b[_0x52626c(0x18b)],_0x1fe167[_0x52626c(0x189)](_0x52626c(0x174))['to'](_0x3eac6b,_0x52626c(0x176),_0x261729=>_0x442ed1(_0x13e5f6,_0x4a658b[_0x52626c(0x1a7)],_0x261729?_0x52626c(0x19c):_0x52626c(0x1bc))[_0x52626c(0x19a)]),_0x1fe167;});}[_0x30576a(0x180)](_0x198ed5){const _0x2fd0e4=_0x30576a;return _0x198ed5[_0x2fd0e4(0x187)](_0x246893=>{const _0x382411=_0x2fd0e4,_0x3cf1d0=this[_0x382411(0x1a9)](_0x3f27f9,_0x246893[_0x382411(0x1a7)]);return _0x3cf1d0[_0x382411(0x18b)]=_0x246893[_0x382411(0x18b)],_0x3cf1d0[_0x382411(0x174)]=_0x246893[_0x382411(0x1bd)],_0x3cf1d0;});}}
23
+ const _0x337b04=_0x458b;(function(_0x3a9cfe,_0x305cb3){const _0x12169d=_0x458b,_0x4e1ca3=_0x3a9cfe();while(!![]){try{const _0x156bf5=-parseInt(_0x12169d(0x72))/0x1*(parseInt(_0x12169d(0x78))/0x2)+-parseInt(_0x12169d(0xaa))/0x3*(parseInt(_0x12169d(0xa1))/0x4)+-parseInt(_0x12169d(0x8c))/0x5*(-parseInt(_0x12169d(0x9f))/0x6)+parseInt(_0x12169d(0x6d))/0x7+parseInt(_0x12169d(0x82))/0x8*(-parseInt(_0x12169d(0xa5))/0x9)+-parseInt(_0x12169d(0x85))/0xa*(-parseInt(_0x12169d(0x94))/0xb)+parseInt(_0x12169d(0xae))/0xc*(parseInt(_0x12169d(0xb8))/0xd);if(_0x156bf5===_0x305cb3)break;else _0x4e1ca3['push'](_0x4e1ca3['shift']());}catch(_0x543fef){_0x4e1ca3['push'](_0x4e1ca3['shift']());}}}(_0x4aed,0x7b863));import{Plugin as _0xef84ca}from'ckeditor5/src/core.js';import{IconDropbox as _0x43f827,IconFacebook as _0xba6e54,IconGoogleDrive as _0x4262f2,IconGooglePhotos as _0x2325ae,IconUploadcareImageUpload as _0x558e0d,IconUploadcareLink as _0x13b142,IconOneDrive as _0x1ab358}from'ckeditor5/src/icons.js';import{ButtonView as _0x4cfa4e,MenuBarMenuListItemButtonView as _0x264510}from'ckeditor5/src/ui.js';function _0x4aed(){const _0xf83094=['uploadcareLicenseKeyEvaluationLimit','1783950aaPyFV','bind','Dropbox','trialLimit','uploadcareLicenseKeyTrialLimit','7qzfgNQ','get','assetManager','_createToolbarButton','editor','uploadcare.uploader.sourceList','13678NQlAmD','forEach','uploadcareLicenseKeyUsageLimit','isOfficialPlugin','Insert','afterInit','_licenseKeyCheckInterval','GPhotos','isEnabled','plugins','40lEVfcy','_showLicenseError','push','573670QkudGc','uploadcareLicenseKeyInvalid','reduce','label','pluginName','commands','UploadcareUI','4298165iCgeCN','domainLimit','licenseKey','destroy','locale','_createMenuBarButtons','text','url','55jXAYlV','config','ImageInsertUI','map','Local','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','type','has','expired','usageLimit','6sgdEzG','_createDropdownButtons','369896UNmUOR','URL','init','upload','1751850YfFQiI','isImageSelected','registerIntegration','icon','Uploadcare','9ozIyBm','shortText','uploadcareLicenseKeyDomainLimit','execute','312qCEFVS','isPremiumPlugin','Facebook','_normalizeConfigSourceList','entries','GDrive','featureNotAllowed','Replace','invalid','uploadcare','201591Oovgka','uploadcareLicenseKeyExpired','evaluationLimit','uploadcareLicenseKeyValid','OneDrive','_createButton','tooltip','withText'];_0x4aed=function(){return _0xf83094;};return _0x4aed();}import{UploadcareSource as _0x194473}from'./uploadcareconfig.js';import{getTranslation as _0x2a3e0e}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';function _0x458b(_0x188180,_0x41166a){const _0x4aed4f=_0x4aed();return _0x458b=function(_0x458bc7,_0xee7fff){_0x458bc7=_0x458bc7-0x6a;let _0x1628c2=_0x4aed4f[_0x458bc7];return _0x1628c2;},_0x458b(_0x188180,_0x41166a);}export default class e extends _0xef84ca{[_0x337b04(0x8e)];[_0x337b04(0x7e)];static get[_0x337b04(0x89)](){const _0x5387f7=_0x337b04;return _0x5387f7(0x8b);}static get[_0x337b04(0x7b)](){return!0x0;}static get[_0x337b04(0xaf)](){return!0x0;}[_0x337b04(0xa3)](){const _0x30df3b=_0x337b04;this[_0x30df3b(0x8e)]=this[_0x30df3b(0x76)][_0x30df3b(0x95)][_0x30df3b(0x73)](_0x30df3b(0x8e));const _0xb213e9=this[_0x30df3b(0x76)];this[_0x30df3b(0x7e)]=setInterval(()=>{const _0x38df2c=_0x30df3b;let _0x1d1e45;for(const _0x245f3e in _0xb213e9){const _0x25fd6c=_0x245f3e,_0x516cb2=_0xb213e9[_0x25fd6c];if(_0x38df2c(0xbb)==_0x516cb2||_0x38df2c(0x86)==_0x516cb2||_0x38df2c(0xb9)==_0x516cb2||_0x38df2c(0xac)==_0x516cb2||_0x38df2c(0x99)==_0x516cb2||_0x38df2c(0x6c)==_0x516cb2||_0x38df2c(0x71)==_0x516cb2||_0x38df2c(0x7a)==_0x516cb2){delete _0xb213e9[_0x25fd6c],_0x1d1e45=_0x516cb2,clearInterval(this[_0x38df2c(0x7e)]),this[_0x38df2c(0x7e)]=void 0x0;break;}}_0x38df2c(0x86)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0xb6)),_0x38df2c(0xb9)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x9d)),_0x38df2c(0xac)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x8d)),_0x38df2c(0x99)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0xb4),_0x38df2c(0xa9)),_0x38df2c(0x6c)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0xba)),_0x38df2c(0x71)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x70)),_0x38df2c(0x7a)==_0x1d1e45&&_0xb213e9[_0x38df2c(0x83)](_0x38df2c(0x9e));},0x3e8);}[_0x337b04(0x7d)](){const _0x3ab5b2=_0x337b04,{editor:_0x228bc3}=this,_0x18ca00=_0x228bc3[_0x3ab5b2(0x8a)][_0x3ab5b2(0x73)](_0x3ab5b2(0xb7));if(!_0x18ca00)return;const _0x2400ec=this[_0x3ab5b2(0xb1)](_0x228bc3[_0x3ab5b2(0x95)][_0x3ab5b2(0x73)](_0x3ab5b2(0x77)))[_0x3ab5b2(0x87)]((_0x3af356,_0x179751)=>{const _0x1ccb6c=_0x3ab5b2,_0x259595=this[_0x1ccb6c(0x9a)](_0x179751[_0x1ccb6c(0x9b)]);return _0x3af356[_0x259595]||(_0x3af356[_0x259595]=[]),_0x3af356[_0x259595][_0x1ccb6c(0x84)](_0x179751),_0x3af356;},{});_0x228bc3[_0x3ab5b2(0x81)][_0x3ab5b2(0x9c)](_0x3ab5b2(0x96))&&_0x228bc3[_0x3ab5b2(0x8a)][_0x3ab5b2(0x73)](_0x3ab5b2(0xb7))&&Object[_0x3ab5b2(0xb2)](_0x2400ec)[_0x3ab5b2(0x79)](([_0x64b59a,_0x16aa2a])=>{const _0x332aef=_0x3ab5b2;_0x228bc3[_0x332aef(0x81)][_0x332aef(0x73)](_0x332aef(0x96))[_0x332aef(0xa7)]({'name':_0x64b59a,'observable':()=>_0x18ca00,'buttonViewCreator':()=>this[_0x332aef(0x75)](_0x16aa2a),'formViewCreator':()=>this[_0x332aef(0xa0)](_0x16aa2a),'menuBarButtonViewCreator':()=>this[_0x332aef(0x91)](_0x16aa2a),'override':_0x332aef(0x74)!==_0x64b59a});});}[_0x337b04(0x8f)](){const _0x35ddad=_0x337b04;super[_0x35ddad(0x8f)](),this[_0x35ddad(0x7e)]&&clearInterval(this[_0x35ddad(0x7e)]);}[_0x337b04(0xb1)](_0x57d7ed){const _0x3b8e12=_0x337b04,{locale:_0x51b6b3}=this[_0x3b8e12(0x76)];return _0x57d7ed[_0x3b8e12(0x97)](_0x8e608f=>{const _0x59a5ab=_0x3b8e12,_0x207cd0=_0x2a3e0e(_0x51b6b3,_0x8e608f,_0x59a5ab(0x7c));switch(_0x8e608f){case _0x194473[_0x59a5ab(0x98)]:return{'icon':_0x558e0d,'type':_0x194473[_0x59a5ab(0x98)],..._0x207cd0};case _0x194473[_0x59a5ab(0xa2)]:return{'icon':_0x13b142,'type':_0x194473[_0x59a5ab(0xa2)],..._0x207cd0};case _0x194473[_0x59a5ab(0x6f)]:return{'icon':_0x43f827,'type':_0x194473[_0x59a5ab(0x6f)],..._0x207cd0};case _0x194473[_0x59a5ab(0xb0)]:return{'icon':_0xba6e54,'type':_0x194473[_0x59a5ab(0xb0)],..._0x207cd0};case _0x194473[_0x59a5ab(0xb3)]:return{'icon':_0x4262f2,'type':_0x194473[_0x59a5ab(0xb3)],..._0x207cd0};case _0x194473[_0x59a5ab(0x7f)]:return{'icon':_0x2325ae,'type':_0x194473[_0x59a5ab(0x7f)],..._0x207cd0};case _0x194473[_0x59a5ab(0xbc)]:return{'icon':_0x1ab358,'type':_0x194473[_0x59a5ab(0xbc)],..._0x207cd0};}});}[_0x337b04(0x9a)](_0x1565a6){const _0x44a063=_0x337b04;switch(_0x1565a6){case _0x194473[_0x44a063(0x98)]:return _0x44a063(0xa4);case _0x194473[_0x44a063(0xa2)]:return _0x44a063(0x93);default:return _0x44a063(0x74);}}[_0x337b04(0xbd)](_0x149485,_0x30fa15){const _0x364bca=_0x337b04,_0xcb7d5e=this[_0x364bca(0x76)],_0xcf0209=new _0x149485(_0xcb7d5e[_0x364bca(0x90)]),_0x3ab33e=_0xcb7d5e[_0x364bca(0x8a)][_0x364bca(0x73)](_0x364bca(0xb7));return _0xcf0209[_0x364bca(0x6e)](_0x364bca(0x80))['to'](_0x3ab33e),_0xcf0209['on'](_0x364bca(0xad),()=>{const _0x319d10=_0x364bca;_0x3ab33e[_0x319d10(0xad)](_0x30fa15);}),_0xcf0209;}[_0x337b04(0x75)](_0x2458ca){const _0x65fd5b=_0x337b04,{locale:_0x56db42}=this[_0x65fd5b(0x76)],_0x526ba9=this[_0x65fd5b(0x76)][_0x65fd5b(0x81)][_0x65fd5b(0x73)](_0x65fd5b(0x96)),_0x3f7e3a=_0x2458ca[0x0],_0x4bdbe1=this[_0x65fd5b(0xbd)](_0x4cfa4e,_0x3f7e3a[_0x65fd5b(0x9b)]);return _0x4bdbe1[_0x65fd5b(0xa8)]=_0x3f7e3a[_0x65fd5b(0xa8)],_0x4bdbe1[_0x65fd5b(0x6e)](_0x65fd5b(0x88))['to'](_0x526ba9,_0x65fd5b(0xa6),_0x39a83f=>_0x2a3e0e(_0x56db42,_0x3f7e3a[_0x65fd5b(0x9b)],_0x39a83f?_0x65fd5b(0xb5):_0x65fd5b(0x7c))[_0x65fd5b(0x92)]),_0x4bdbe1[_0x65fd5b(0x6a)]=!0x0,_0x4bdbe1;}[_0x337b04(0xa0)](_0x37463e){const _0x441a68=_0x337b04,{locale:_0x50a42d}=this[_0x441a68(0x76)],_0x46c310=this[_0x441a68(0x76)][_0x441a68(0x81)][_0x441a68(0x73)](_0x441a68(0x96));return _0x37463e[_0x441a68(0x97)](_0x3c1d47=>{const _0x5978f6=_0x441a68,_0x4c36a9=this[_0x5978f6(0xbd)](_0x4cfa4e,_0x3c1d47[_0x5978f6(0x9b)]);return _0x4c36a9[_0x5978f6(0x6b)]=!0x0,_0x4c36a9[_0x5978f6(0xa8)]=_0x3c1d47[_0x5978f6(0xa8)],_0x4c36a9[_0x5978f6(0x6e)](_0x5978f6(0x88))['to'](_0x46c310,_0x5978f6(0xa6),_0x2a9abd=>_0x2a3e0e(_0x50a42d,_0x3c1d47[_0x5978f6(0x9b)],_0x2a9abd?_0x5978f6(0xb5):_0x5978f6(0x7c))[_0x5978f6(0x92)]),_0x4c36a9;});}[_0x337b04(0x91)](_0x12dceb){const _0xf91c10=_0x337b04;return _0x12dceb[_0xf91c10(0x97)](_0x4ca9bd=>{const _0x202cc2=_0xf91c10,_0x3041d6=this[_0x202cc2(0xbd)](_0x264510,_0x4ca9bd[_0x202cc2(0x9b)]);return _0x3041d6[_0x202cc2(0xa8)]=_0x4ca9bd[_0x202cc2(0xa8)],_0x3041d6[_0x202cc2(0x88)]=_0x4ca9bd[_0x202cc2(0xab)],_0x3041d6;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f4744}from'ckeditor5/src/core.js';import{FileRepository as _0x1737d7}from'ckeditor5/src/upload.js';import _0x1fca9d from'./uploadcareediting.js';import _0x2792a1 from'./utils/uploadutils.js';import{getImageUrls as _0x1ff69b}from'./utils/editingutils.js';export default class p extends _0x3f4744{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1737d7,_0x1fca9d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x41d3e5=this['editor'];if(!!!_0x41d3e5['config']['get']('uploadcare'))return;_0x41d3e5['plugins']['get'](_0x1737d7)['createUploadAdapter']=_0x23bc51=>new x(_0x23bc51,_0x41d3e5),_0x41d3e5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x59244b,{imageElement:_0x109bef,data:_0x17432f})=>{_0x41d3e5['model']['change'](_0x5dcbcb=>{_0x5dcbcb['setAttribute']('uploadcareImageId',_0x17432f['uploadcareImageId'],_0x109bef);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xed2331,_0xeceac4){this['loader']=_0xed2331,this['editor']=_0xeceac4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2f7edd=this['editor']['config']['get']('uploadcare.pubkey'),_0x4056af=await this['loader']['file'];return _0x2792a1['upload']({'file':_0x4056af,'publicKey':_0x2f7edd,'signal':this['controller']['signal'],'onProgress':_0x3ddbf4=>{_0x3ddbf4&&_0x3ddbf4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ddbf4['value']);}})['then'](async _0x48e70d=>{const {imageFallbackUrl:_0x59bd67,imageSources:_0x164871}=_0x1ff69b(_0x48e70d['cdnUrl'],_0x48e70d['imageInfo']['width']);return{'uploadcareImageId':_0x48e70d['uuid'],'default':_0x59bd67,'sources':_0x164871};})['catch'](()=>{const _0x24a943=t('Cannot\x20upload\x20file:')+('\x20'+_0x4056af['name']+'.');return Promise['reject'](_0x24a943);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x352db4}from'ckeditor5/src/core.js';import{FileRepository as _0x43ef25}from'ckeditor5/src/upload.js';import _0x49f1d7 from'./uploadcareediting.js';import _0x1a6aa5 from'./utils/uploadutils.js';import{getImageUrls as _0x21d033}from'./utils/editingutils.js';export default class p extends _0x352db4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x43ef25,_0x49f1d7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b57b2=this['editor'];if(!!!_0x1b57b2['config']['get']('uploadcare'))return;_0x1b57b2['plugins']['get'](_0x43ef25)['createUploadAdapter']=_0x78ea=>new x(_0x78ea,_0x1b57b2),_0x1b57b2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x59395c,{imageElement:_0x2292d7,data:_0x3f2a3f})=>{_0x1b57b2['model']['change'](_0x3e8d66=>{_0x3e8d66['setAttribute']('uploadcareImageId',_0x3f2a3f['uploadcareImageId'],_0x2292d7);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x522ae2,_0x50b4d5){this['loader']=_0x522ae2,this['editor']=_0x50b4d5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x26d6e0=this['editor']['config']['get']('uploadcare.pubkey'),_0x3b9472=await this['loader']['file'];return _0x1a6aa5['upload']({'file':_0x3b9472,'publicKey':_0x26d6e0,'signal':this['controller']['signal'],'onProgress':_0x58fe0e=>{_0x58fe0e&&_0x58fe0e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58fe0e['value']);}})['then'](async _0x165da4=>{const {imageFallbackUrl:_0x52dac6,imageSources:_0x3cf8ca}=_0x21d033(_0x165da4['cdnUrl'],_0x165da4['imageInfo']['width']);return{'uploadcareImageId':_0x165da4['uuid'],'default':_0x52dac6,'sources':_0x3cf8ca};})['catch'](()=>{const _0x838fe4=t('Cannot\x20upload\x20file:')+('\x20'+_0x3b9472['name']+'.');return Promise['reject'](_0x838fe4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x234d33}from'../uploadcareconfig.js';export function getTranslation(_0x17a527,_0x38fcff,_0x4f33b5){const t=_0x17a527['t'],_0x3ff7cc=_0x17a527['t'];switch(_0x38fcff){case _0x234d33['Local']:return{'text':_0x3ff7cc('Insert'===_0x4f33b5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3ff7cc('From\x20computer')};case _0x234d33['URL']:return{'text':'Insert'===_0x4f33b5?_0x3ff7cc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3ff7cc('Via\x20URL')};case _0x234d33['Dropbox']:return{'text':t('Insert'===_0x4f33b5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x234d33['Facebook']:return{'text':t('Insert'===_0x4f33b5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x234d33['GDrive']:return{'text':t('Insert'===_0x4f33b5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x234d33['GPhotos']:return{'text':t('Insert'===_0x4f33b5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x234d33['OneDrive']:return{'text':t('Insert'===_0x4f33b5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x38fcff;}}
23
+ import{UploadcareSource as _0x2bddc6}from'../uploadcareconfig.js';export function getTranslation(_0x5e591e,_0x4a08e9,_0x121a53){const t=_0x5e591e['t'],_0x269712=_0x5e591e['t'];switch(_0x4a08e9){case _0x2bddc6['Local']:return{'text':_0x269712('Insert'===_0x121a53?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x269712('From\x20computer')};case _0x2bddc6['URL']:return{'text':'Insert'===_0x121a53?_0x269712('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x269712('Via\x20URL')};case _0x2bddc6['Dropbox']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2bddc6['Facebook']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2bddc6['GDrive']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2bddc6['GPhotos']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2bddc6['OneDrive']:return{'text':t('Insert'===_0x121a53?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4a08e9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x529d2a=_0x13f1;(function(_0x16d69e,_0x50310f){var _0x23e1a=_0x13f1,_0x521ffd=_0x16d69e();while(!![]){try{var _0x4e436f=-parseInt(_0x23e1a(0xe6))/0x1*(parseInt(_0x23e1a(0xe4))/0x2)+-parseInt(_0x23e1a(0xde))/0x3*(parseInt(_0x23e1a(0xd6))/0x4)+parseInt(_0x23e1a(0xd9))/0x5*(-parseInt(_0x23e1a(0xda))/0x6)+-parseInt(_0x23e1a(0xd3))/0x7+parseInt(_0x23e1a(0xe5))/0x8+parseInt(_0x23e1a(0xdd))/0x9*(parseInt(_0x23e1a(0xd4))/0xa)+-parseInt(_0x23e1a(0xd7))/0xb*(-parseInt(_0x23e1a(0xdf))/0xc);if(_0x4e436f===_0x50310f)break;else _0x521ffd['push'](_0x521ffd['shift']());}catch(_0x3845d3){_0x521ffd['push'](_0x521ffd['shift']());}}}(_0x33a9,0x785ca));import{FocusTracker as _0x39c3e9}from'ckeditor5/src/utils.js';import{View as _0x2d695d,FocusCycler as _0x41268d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x13f1(_0xc4f812,_0xe4c171){var _0x33a90b=_0x33a9();return _0x13f1=function(_0x13f1d5,_0x447530){_0x13f1d5=_0x13f1d5-0xd2;var _0x283012=_0x33a90b[_0x13f1d5];return _0x283012;},_0x13f1(_0xc4f812,_0xe4c171);}export default class q extends _0x2d695d{[_0x529d2a(0xe0)];[_0x529d2a(0xe2)];constructor(_0x49b393){var _0x2ab460=_0x529d2a;super(_0x49b393),this[_0x2ab460(0xe0)]=new _0x39c3e9(),this[_0x2ab460(0xe2)]=new _0x41268d({'focusables':this[_0x2ab460(0xd8)](),'focusTracker':this[_0x2ab460(0xe0)]});}[_0x529d2a(0xe3)](){var _0x5ea55c=_0x529d2a;return{'tag':_0x5ea55c(0xdc),'attributes':{'aria-hidden':_0x5ea55c(0xd2),'tabindex':'0'},'on':{'focus':this[_0x5ea55c(0xdb)]['to'](()=>{var _0x440fd6=_0x5ea55c;this[_0x440fd6(0xe2)][_0x440fd6(0xd5)](_0x440fd6(0xe1));})}};}}function _0x33a9(){var _0x258be5=['25oJEhMM','1045866TVcUNr','bindTemplate','div','4007556jKEzqt','3339dknDQu','12PhMAFk','focusTracker','forwardCycle','focusCycler','getFocusableElement','157634DWBRlM','1345096xRFaTI','5zdqVPE','true','4026652XVtRkE','20sJjImK','fire','680wpJNXF','16108213WVWzlW','createCollection'];_0x33a9=function(){return _0x258be5;};return _0x33a9();}
23
+ var _0x22b2ac=_0x4acd;(function(_0x224958,_0xcdff0d){var _0x299d46=_0x4acd,_0x152060=_0x224958();while(!![]){try{var _0x2e3763=parseInt(_0x299d46(0x91))/0x1+-parseInt(_0x299d46(0x92))/0x2+-parseInt(_0x299d46(0x8a))/0x3+-parseInt(_0x299d46(0x95))/0x4*(parseInt(_0x299d46(0x98))/0x5)+-parseInt(_0x299d46(0x97))/0x6*(parseInt(_0x299d46(0x8c))/0x7)+parseInt(_0x299d46(0x88))/0x8+parseInt(_0x299d46(0x93))/0x9;if(_0x2e3763===_0xcdff0d)break;else _0x152060['push'](_0x152060['shift']());}catch(_0x590772){_0x152060['push'](_0x152060['shift']());}}}(_0x4658,0xd87fd));import{FocusTracker as _0x38a463}from'ckeditor5/src/utils.js';import{View as _0x153298,FocusCycler as _0x2079a3}from'ckeditor5/src/ui.js';function _0x4658(){var _0x483b44=['true','3187276bjPDBq','fire','174nTfxsy','5LTdwAj','focusTracker','2886672JLVLXp','bindTemplate','1572153JKSZpm','div','346696dwDLdR','forwardCycle','createCollection','getFocusableElement','focusCycler','691642uHJwkP','983106DILGfr','27747360PwOtQA'];_0x4658=function(){return _0x483b44;};return _0x4658();}function _0x4acd(_0x2d9df6,_0x434217){var _0x46589c=_0x4658();return _0x4acd=function(_0x4acd16,_0x3403a6){_0x4acd16=_0x4acd16-0x87;var _0xb43a8e=_0x46589c[_0x4acd16];return _0xb43a8e;},_0x4acd(_0x2d9df6,_0x434217);}import'../../theme/uploadcare-form.css';export default class q extends _0x153298{[_0x22b2ac(0x87)];[_0x22b2ac(0x90)];constructor(_0x1fbac1){var _0x428e94=_0x22b2ac;super(_0x1fbac1),this[_0x428e94(0x87)]=new _0x38a463(),this[_0x428e94(0x90)]=new _0x2079a3({'focusables':this[_0x428e94(0x8e)](),'focusTracker':this[_0x428e94(0x87)]});}[_0x22b2ac(0x8f)](){var _0x382748=_0x22b2ac;return{'tag':_0x382748(0x8b),'attributes':{'aria-hidden':_0x382748(0x94),'tabindex':'0'},'on':{'focus':this[_0x382748(0x89)]['to'](()=>{var _0x17ae7c=_0x382748;this[_0x17ae7c(0x90)][_0x17ae7c(0x96)](_0x17ae7c(0x8d));})}};}}