@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250316.0 → 0.0.0-nightly-20250318.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f1f94=_0x5a8f;(function(_0x2ec900,_0x33b9b4){const _0x1d0f29=_0x5a8f,_0x300701=_0x2ec900();while(!![]){try{const _0x1faf27=parseInt(_0x1d0f29(0x11a))/0x1*(-parseInt(_0x1d0f29(0x12a))/0x2)+-parseInt(_0x1d0f29(0x111))/0x3+parseInt(_0x1d0f29(0x10f))/0x4*(-parseInt(_0x1d0f29(0x124))/0x5)+-parseInt(_0x1d0f29(0x14b))/0x6*(-parseInt(_0x1d0f29(0x125))/0x7)+parseInt(_0x1d0f29(0x120))/0x8*(-parseInt(_0x1d0f29(0x106))/0x9)+parseInt(_0x1d0f29(0x102))/0xa+-parseInt(_0x1d0f29(0x108))/0xb*(-parseInt(_0x1d0f29(0x14f))/0xc);if(_0x1faf27===_0x33b9b4)break;else _0x300701['push'](_0x300701['shift']());}catch(_0x58ad61){_0x300701['push'](_0x300701['shift']());}}}(_0x32fb,0x4c52a));function _0x5a8f(_0x58a999,_0x5b3612){const _0x32fbc1=_0x32fb();return _0x5a8f=function(_0x5a8f05,_0x525c74){_0x5a8f05=_0x5a8f05-0x101;let _0x3449d7=_0x32fbc1[_0x5a8f05];return _0x3449d7;},_0x5a8f(_0x58a999,_0x5b3612);}function _0x32fb(){const _0x504323=['_initConversion','getAttribute','appendChild','\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','isRegistered','5fTSJLI','commands','requires','cleanupImage','for','contentLanguage','67072mzqTLW','configElement','editor','extend','25GryfTJ','77kyeLIs','body','uploadcareImageId','uploader','replaceImageSource','46238mUzrQI','upcast','imageBlock','destroy','locale','_ctxElement','_configElement','input[uploadcare-file-input]','querySelector','PictureEditing','fromCharCode','document','uc-upload-ctx-provider','iconHrefResolver','schema','selection','uploadcare.uploader','closeMax','editing','data-uc-image-id','view','attributeToAttribute','render','conversion','uploadcare','getSelectedElement','downcast','removeAttribute','model','map','join','true','remove','10182lvmNhn','isOfficialPlugin','uc-config','get','7707516onNgnC','_initConfig','afterInit','add','_initImageProcessingIndicator','ctxElement','href','execute','isPremiumPlugin','4998720VoFOOa','listenTo','once','pluginName','27vbVSrd','uploadcareImageReplace','11PnrCVL','insertImage','init','uploadcare.pubkey','config','elementToAttribute','#uc-icon-arrow-down','183364hPrYVm','UploadcareEditing','1434786JFCKZY','imageInline','_initCtx','_initSchema'];_0x32fb=function(){return _0x504323;};return _0x32fb();}import{Plugin as _0x5019a9}from'ckeditor5/src/core.js';import{Dialog as _0x2a6f70}from'ckeditor5/src/ui.js';import{createElement as _0x56c3f1,global as _0x5b4933,uid as _0x20bfbb}from'ckeditor5/src/utils.js';import _0xb6d3c8 from'./uploadcarecommand.js';import _0x213a98 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1c2cd4}from'./utils/editingutils.js';export default class i extends _0x5019a9{[_0x1f1f94(0x130)]=null;[_0x1f1f94(0x12f)]=null;static get[_0x1f1f94(0x105)](){const _0x14db16=_0x1f1f94;return _0x14db16(0x110);}static get[_0x1f1f94(0x11c)](){const _0xd2294d=_0x1f1f94;return[_0xd2294d(0x133),_0x213a98,_0x2a6f70];}static get[_0x1f1f94(0x14c)](){return!0x0;}static get[_0x1f1f94(0x101)](){return!0x0;}get[_0x1f1f94(0x121)](){const _0x41c4ee=_0x1f1f94;return this[_0x41c4ee(0x130)];}get[_0x1f1f94(0x154)](){const _0x2c6bde=_0x1f1f94;return this[_0x2c6bde(0x12f)];}[_0x1f1f94(0x10a)](){const _0x48a0c8=_0x1f1f94,_0x36ffc2=this[_0x48a0c8(0x122)];_0x36ffc2[_0x48a0c8(0x11b)][_0x48a0c8(0x152)](_0x48a0c8(0x142),new _0xb6d3c8(_0x36ffc2));}[_0x1f1f94(0x151)](){const _0x2ad644=_0x1f1f94;this[_0x2ad644(0x114)](),this[_0x2ad644(0x115)](),this[_0x2ad644(0x150)](),this[_0x2ad644(0x113)](),this[_0x2ad644(0x153)](),this[_0x2ad644(0x103)](this[_0x2ad644(0x122)],_0x2ad644(0x12d),()=>{const _0x395700=_0x2ad644;this[_0x395700(0x130)]&&(this[_0x395700(0x130)][_0x395700(0x14a)](),this[_0x395700(0x130)]=null),this[_0x395700(0x12f)]&&(this[_0x395700(0x12f)][_0x395700(0x14a)](),this[_0x395700(0x12f)]=null);const _0x38804e=_0x5b4933[_0x395700(0x135)][_0x395700(0x132)](_0x395700(0x131));_0x38804e&&_0x38804e[_0x395700(0x14a)]();}),async function(_0xac9f31){const _0x4b5d2d=_0x4adb5a([0x41,0x52,0x5a,0x30,0x53,0x55,0x6d,0x79,0x71,0x58,0x69,0x4a,0x49,0x4f,0x74,0x39,0x65,0x4b,0x63,0x43,0x67,0x47,0x6a,0x51,0x46,0x56,0x34,0x33,0x68,0x50,0x6b,0x66,0x7a,0x78,0x44,0x54,0x48,0x4c,0x37,0x32,0x45,0x72,0x59,0x6f,0x6e,0x75,0x73,0x57,0x31,0x36,0x4e,0x6c,0x77,0x42,0x76,0x4d,0x35,0x61,0x62,0x64,0x70,0x38]),_0x3aa768=0x17c91055,_0x5da6c2=0x17ce721d^_0x3aa768,_0x117130=window[_0x4adb5a([0x44,0x61,0x74,0x65])][_0x4adb5a([0x6e,0x6f,0x77])](),_0x303627=_0xac9f31[_0x4adb5a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x325433=new window[(_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c2fd1=>{_0x303627[_0x4adb5a([0x6f,0x6e,0x63,0x65])](_0x4adb5a([0x72,0x65,0x61,0x64,0x79]),_0x5c2fd1);}),_0x4b8bc2={[_0x4adb5a([0x6b,0x74,0x79])]:_0x4adb5a([0x45,0x43]),[_0x4adb5a([0x75,0x73,0x65])]:_0x4adb5a([0x73,0x69,0x67]),[_0x4adb5a([0x63,0x72,0x76])]:_0x4adb5a([0x50,0x2d,0x32,0x35,0x36]),[_0x4adb5a([0x78])]:_0x4adb5a([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]),[_0x4adb5a([0x79])]:_0x4adb5a([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]),[_0x4adb5a([0x61,0x6c,0x67])]:_0x4adb5a([0x45,0x53,0x32,0x35,0x36])},_0x14c720=_0x303627[_0x4adb5a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4adb5a([0x67,0x65,0x74])](_0x4adb5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46f333(){let _0x3e4c47,_0x18d8c5=null,_0x11a44d=null;try{if(_0x14c720==_0x4adb5a([0x47,0x50,0x4c]))return _0x4adb5a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e4c47=_0x256be9(),!_0x3e4c47)return _0x4adb5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e4c47[_0x4adb5a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11a44d=_0xea0279(_0x3e4c47[_0x4adb5a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e4c47[_0x4adb5a([0x6a,0x74,0x69])])),await _0x4865e0()?_0x4392ea()?_0x4d3d91()?_0x4adb5a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12222f()?(_0x3e4c47[_0x4adb5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4adb5a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d8c5=_0x33b9b3(_0x4adb5a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e4c47[_0x4adb5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4adb5a([0x74,0x72,0x69,0x61,0x6c])&&(_0x18d8c5=_0x33b9b3(_0x4adb5a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x453461()):_0x4adb5a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4adb5a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4adb5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x20470f){return _0x4adb5a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d3d91(){const _0x309608=[_0x4adb5a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4adb5a([0x74,0x72,0x69,0x61,0x6c])][_0x4adb5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e4c47[_0x4adb5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x117130/0x3e8:0xe10*_0x5da6c2;return _0x3e4c47[_0x4adb5a([0x65,0x78,0x70])]<_0x309608;}function _0x4392ea(){const _0x253499=_0x3e4c47[_0x4adb5a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x253499&&(!!_0x253499[_0x4adb5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adb5a([0x2a]))||!!_0x253499[_0x4adb5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adb5a([0x55,0x50,0x4c,0x43])));}function _0x12222f(){const _0x3cb071=_0x5a8f,_0x4ffe01=_0x3e4c47[_0x4adb5a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ffe01||0x0==_0x4ffe01[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xcb447e}=new URL(window[_0x4adb5a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3cb071(0x155)]);if(_0x4ffe01[_0x4adb5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcb447e))return!0x0;const _0x6a127a=_0xcb447e[_0x4adb5a([0x73,0x70,0x6c,0x69,0x74])](_0x4adb5a([0x2e]));return _0x4ffe01[_0x4adb5a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a9bee=>_0x1a9bee[_0x4adb5a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adb5a([0x2a])))[_0x4adb5a([0x6d,0x61,0x70])](_0x3b48b0=>_0x3b48b0[_0x4adb5a([0x73,0x70,0x6c,0x69,0x74])](_0x4adb5a([0x2e])))[_0x4adb5a([0x73,0x6f,0x6d,0x65])](_0x614b23=>_0x6a127a[_0x4adb5a([0x65,0x76,0x65,0x72,0x79])]((_0x4c4c24,_0x13ac09)=>_0x614b23[_0x13ac09]===_0x4c4c24||_0x614b23[_0x13ac09]===_0x4adb5a([0x2a])));}function _0x453461(){return _0x18d8c5&&_0x11a44d?new window[(_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5182e3,_0x20b262)=>{_0x18d8c5[_0x4adb5a([0x74,0x68,0x65,0x6e])](_0x5182e3,_0x20b262),_0x11a44d[_0x4adb5a([0x74,0x68,0x65,0x6e])](_0x7724dd=>{_0x7724dd!=_0x4adb5a([0x56,0x61,0x6c,0x69,0x64])&&_0x5182e3(_0x7724dd);},_0x20b262);}):_0x18d8c5||_0x11a44d||_0x4adb5a([0x56,0x61,0x6c,0x69,0x64]);}}function _0xea0279(_0xcc1931,_0x576852){return new window[(_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13d315=>{if(_0x248910())return _0x13d315(_0x4adb5a([0x56,0x61,0x6c,0x69,0x64]));_0x511f5f(),_0x303627[_0x4adb5a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4adb5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2c1d38=!0x1;const _0x514791=_0x20bfbb();function _0x70bb8b(_0x2b98e9){return!!_0x2b98e9&&(typeof _0x2b98e9===_0x4adb5a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b98e9===_0x4adb5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b98e9[_0x4adb5a([0x74,0x68,0x65,0x6e])]===_0x4adb5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b98e9[_0x4adb5a([0x63,0x61,0x74,0x63,0x68])]===_0x4adb5a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b3538(_0x263588){_0x2c370c(_0x263588)[_0x4adb5a([0x74,0x68,0x65,0x6e])](_0x2fa16e=>{if(!_0x2fa16e||_0x2fa16e[_0x4adb5a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4adb5a([0x6f,0x6b]))return _0x4adb5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x90bb42(_0x15181d(_0x514791+_0x576852))!=_0x2fa16e[_0x4adb5a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4adb5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4adb5a([0x56,0x61,0x6c,0x69,0x64]);})[_0x4adb5a([0x74,0x68,0x65,0x6e])](_0x290d12=>(_0x325fbb(),_0x290d12),()=>{const _0x7a3305=_0x1a76b0();return null==_0x7a3305?(_0x325fbb(),_0x4adb5a([0x56,0x61,0x6c,0x69,0x64])):_0x4adb5a(_0x117130-_0x7a3305>(0x33c59455^_0x3aa768)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4adb5a([0x74,0x68,0x65,0x6e])](_0x13d315)[_0x4adb5a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13d315(_0x4adb5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x595d8f=0x17fffed5^_0x3aa768;function _0x325fbb(){const _0x1ef237=_0x4adb5a([0x6c,0x6c,0x63,0x74,0x2d])+_0x90bb42(_0x15181d(_0xcc1931)),_0x6ff408=_0x49eab2(_0x90bb42(window[_0x4adb5a([0x4d,0x61,0x74,0x68])][_0x4adb5a([0x63,0x65,0x69,0x6c])](_0x117130/_0x595d8f)));window[_0x4adb5a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4adb5a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ef237,_0x6ff408);}function _0x1a76b0(){const _0x5387ba=_0x4adb5a([0x6c,0x6c,0x63,0x74,0x2d])+_0x90bb42(_0x15181d(_0xcc1931)),_0x1728a8=window[_0x4adb5a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4adb5a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5387ba);return _0x1728a8?window[_0x4adb5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49eab2(_0x1728a8),0x10)*_0x595d8f:null;}function _0x2c370c(_0xfab149){return new window[(_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27be75,_0x1c3a07)=>{_0xfab149[_0x4adb5a([0x74,0x68,0x65,0x6e])](_0x27be75,_0x1c3a07),window[_0x4adb5a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c3a07,0x17c8c495^_0x3aa768);});}}_0x303627[_0x4adb5a([0x6f,0x6e])](_0x4adb5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d3e6c,_0x377bf2)=>{if(_0x377bf2[0x0]!=_0xcc1931)return _0x13d315(_0x4adb5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x377bf2[0x1]={..._0x377bf2[0x1],[_0x4adb5a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x514791};},{[_0x4adb5a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4adb5a([0x68,0x69,0x67,0x68])}),_0x303627[_0x4adb5a([0x6f,0x6e])](_0x4adb5a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2325c6=>{_0x70bb8b(_0x2325c6[_0x4adb5a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2c1d38=!0x0,_0x4b3538(_0x2325c6[_0x4adb5a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4adb5a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4adb5a([0x6c,0x6f,0x77])}),_0x325433[_0x4adb5a([0x74,0x68,0x65,0x6e])](()=>{_0x2c1d38||_0x13d315(_0x4adb5a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x248910(){return _0x303627[_0x4adb5a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4adb5a([0x76,0x69,0x65,0x77])][_0x4adb5a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4adb5a([0x61,0x75,0x74,0x6f]);}function _0x511f5f(){_0x303627[_0x4adb5a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4adb5a([0x76,0x69,0x65,0x77])][_0x4adb5a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4adb5a([0x61,0x75,0x74,0x6f]);}}function _0x33b9b3(_0x545ca4){const _0x33d167=[new window[(_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4baad9=>setTimeout(_0x4baad9,0x17c02e99^_0x3aa768)),_0x325433[_0x4adb5a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2409=>{let _0x36c63f=0x0;_0x303627[_0x4adb5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adb5a([0x6f,0x6e])](_0x4adb5a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cc8d9,_0xe56593)=>{_0xe56593[0x0][_0x4adb5a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36c63f++,_0x36c63f==(0x17c911ad^_0x3aa768)&&(_0x5b2409(),_0x5cc8d9[_0x4adb5a([0x6f,0x66,0x66])]());});}))];return window[_0x4adb5a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4adb5a([0x72,0x61,0x63,0x65])](_0x33d167)[_0x4adb5a([0x74,0x68,0x65,0x6e])](()=>_0x545ca4);}async function _0x50e6de(){await _0x325433,_0x303627[_0x4adb5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adb5a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x295444,_0x303627[_0x4adb5a([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adb5a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x295444,_0x303627[_0x4adb5a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4adb5a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x160866(_0x1f1a40){const _0x1a68a6=_0x177074();_0x303627[_0x1a68a6]=_0x4adb5a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f1a40,_0x1f1a40!=_0x4adb5a([0x56,0x61,0x6c,0x69,0x64])&&_0x50e6de();}function _0x177074(){const _0x4befed=window[_0x4adb5a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4adb5a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4adb5a([0x6e,0x6f,0x77])]())[_0x4adb5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4adb5a([0x2e]),'');let _0x4c07dc=_0x4adb5a([0x41]);for(let _0x5048ba=0x0;_0x5048ba<_0x4befed[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5048ba+=0x2){let _0x24c846=window[_0x4adb5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4befed[_0x4adb5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5048ba,_0x5048ba+0x2));_0x24c846>=_0x4b5d2d[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24c846-=_0x4b5d2d[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c07dc+=_0x4b5d2d[_0x24c846];}return _0x4c07dc;}function _0x256be9(){const _0x4879ae=_0x14c720[_0x4adb5a([0x73,0x70,0x6c,0x69,0x74])](_0x4adb5a([0x2e]));if(0x3!=_0x4879ae[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x947a27(_0x4879ae[0x1]);function _0x947a27(_0x54e654){const _0x5b5cf9=_0x335c24(_0x54e654);return _0x5b5cf9&&_0x70221()?_0x5b5cf9:null;function _0x70221(){const _0x411a23=_0x5b5cf9[_0x4adb5a([0x6a,0x74,0x69])],_0x4bfb90=window[_0x4adb5a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x411a23[_0x4adb5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x411a23[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x21f4d3={..._0x5b5cf9,[_0x4adb5a([0x6a,0x74,0x69])]:_0x411a23[_0x4adb5a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x411a23[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x21f4d3[_0x4adb5a([0x76,0x63])],_0x15181d(_0x21f4d3)==_0x4bfb90;}}}async function _0x4865e0(){let _0x5927b4=!0x0;try{const _0x27e768=_0x14c720[_0x4adb5a([0x73,0x70,0x6c,0x69,0x74])](_0x4adb5a([0x2e])),[_0x604864,_0x4d0d05,_0x1289fa]=_0x27e768;return _0x400821(_0x604864),await _0x295eda(_0x604864,_0x4d0d05,_0x1289fa),_0x5927b4;}catch(_0xa2d34c){return!0x1;}function _0x400821(_0x5da9dd){const _0x33d7a4=_0x335c24(_0x5da9dd);_0x33d7a4&&_0x33d7a4[_0x4adb5a([0x61,0x6c,0x67])]==_0x4adb5a([0x45,0x53,0x32,0x35,0x36])||(_0x5927b4=!0x1);}async function _0x295eda(_0x3e8d8c,_0x1a8901,_0x541641){const _0x2c5f13=window[_0x4adb5a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4adb5a([0x66,0x72,0x6f,0x6d])](_0x455ddf(_0x541641),_0x6eddb8=>_0x6eddb8[_0x4adb5a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4eae9e=new window[(_0x4adb5a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4adb5a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e8d8c+_0x4adb5a([0x2e])+_0x1a8901),_0x102cf4=window[_0x4adb5a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4adb5a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x102cf4)return;const _0x21c109=await _0x102cf4[_0x4adb5a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4adb5a([0x6a,0x77,0x6b]),_0x4b8bc2,{[_0x4adb5a([0x6e,0x61,0x6d,0x65])]:_0x4adb5a([0x45,0x43,0x44,0x53,0x41]),[_0x4adb5a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4adb5a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4adb5a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x102cf4[_0x4adb5a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4adb5a([0x6e,0x61,0x6d,0x65])]:_0x4adb5a([0x45,0x43,0x44,0x53,0x41]),[_0x4adb5a([0x68,0x61,0x73,0x68])]:{[_0x4adb5a([0x6e,0x61,0x6d,0x65])]:_0x4adb5a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21c109,_0x2c5f13,_0x4eae9e)||(_0x5927b4=!0x1);}}function _0x335c24(_0x28bc73){return _0x28bc73[_0x4adb5a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4adb5a([0x65,0x79]))?JSON[_0x4adb5a([0x70,0x61,0x72,0x73,0x65])](_0x455ddf(_0x28bc73)):null;}function _0x455ddf(_0x3eb2e3){return window[_0x4adb5a([0x61,0x74,0x6f,0x62])](_0x3eb2e3[_0x4adb5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4adb5a([0x2b]))[_0x4adb5a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4adb5a([0x2f])));}function _0x15181d(_0x48d4e1){let _0x4a3963=0x1505;function _0x5e4eb2(_0x1ee599){for(let _0x42fe98=0x0;_0x42fe98<_0x1ee599[_0x4adb5a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42fe98++){const _0x41397a=_0x1ee599[_0x4adb5a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42fe98);_0x4a3963=(_0x4a3963<<0x5)+_0x4a3963+_0x41397a,_0x4a3963&=_0x4a3963;}}function _0x4045ae(_0x3f5513){Array[_0x4adb5a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f5513)?_0x3f5513[_0x4adb5a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4045ae):_0x3f5513&&typeof _0x3f5513==_0x4adb5a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4adb5a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f5513)[_0x4adb5a([0x73,0x6f,0x72,0x74])]()[_0x4adb5a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x346f93,_0x1fb97b])=>{_0x5e4eb2(_0x346f93),_0x4045ae(_0x1fb97b);}):_0x5e4eb2(window[_0x4adb5a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f5513));}return _0x4045ae(_0x48d4e1),_0x4a3963>>>0x0;}function _0x90bb42(_0x2b6a0d){return _0x2b6a0d[_0x4adb5a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4adb5a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4adb5a([0x30]));}function _0x49eab2(_0x291a3a){return _0x291a3a[_0x4adb5a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4adb5a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4adb5a([0x6a,0x6f,0x69,0x6e])]('');}function _0x295444(){}function _0x4adb5a(_0x2faa81){const _0x58a4f6=_0x5a8f;return _0x2faa81[_0x58a4f6(0x147)](_0x33dfa2=>String[_0x58a4f6(0x134)](_0x33dfa2))[_0x58a4f6(0x148)]('');}_0x160866(await _0x46f333());}(this);}[_0x1f1f94(0x114)](){const _0x390168=_0x1f1f94,_0x2cc760=this[_0x390168(0x122)][_0x390168(0x146)][_0x390168(0x138)];_0x2cc760[_0x390168(0x119)](_0x390168(0x12c))&&_0x2cc760[_0x390168(0x123)](_0x390168(0x12c),{'allowAttributes':[_0x390168(0x127)]}),_0x2cc760[_0x390168(0x119)](_0x390168(0x112))&&_0x2cc760[_0x390168(0x123)](_0x390168(0x112),{'allowAttributes':[_0x390168(0x127)]});}[_0x1f1f94(0x115)](){const _0x5f0139=_0x1f1f94,_0x42526a=this[_0x5f0139(0x122)];_0x42526a[_0x5f0139(0x141)][_0x5f0139(0x11e)](_0x5f0139(0x144))[_0x5f0139(0x13f)]({'model':_0x5f0139(0x127),'view':_0x5f0139(0x13d)}),_0x42526a[_0x5f0139(0x141)][_0x5f0139(0x11e)](_0x5f0139(0x12b))[_0x5f0139(0x10d)]({'model':{'key':_0x5f0139(0x127),'value':_0x5af7d8=>_0x5af7d8[_0x5f0139(0x116)](_0x5f0139(0x13d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xe652e8=_0x42526a[_0x5f0139(0x11b)][_0x5f0139(0x14e)](_0x5f0139(0x129));_0xe652e8&&this[_0x5f0139(0x103)](_0xe652e8,_0x5f0139(0x11d),(_0x23d7d6,[_0x4440d4,_0x16a499])=>{const _0x5d3fcd=_0x5f0139;_0x4440d4[_0x5d3fcd(0x145)](_0x5d3fcd(0x127),_0x16a499);});}[_0x1f1f94(0x150)](){const _0x1a5358=_0x1f1f94,_0x19a135=this[_0x1a5358(0x122)][_0x1a5358(0x10c)][_0x1a5358(0x14e)](_0x1a5358(0x13a))||{},_0x46453a=this[_0x1a5358(0x122)][_0x1a5358(0x10c)][_0x1a5358(0x14e)](_0x1a5358(0x10b))||'';this[_0x1a5358(0x130)]=_0x56c3f1(_0x5b4933[_0x1a5358(0x135)],_0x1a5358(0x14d),{..._0x19a135,'pubkey':_0x46453a,'ctx-name':_0x1a5358(0x128),'sourceList':'','imgOnly':_0x1a5358(0x149),'removeCopyright':_0x1a5358(0x149),'localeName':this[_0x1a5358(0x122)][_0x1a5358(0x12e)][_0x1a5358(0x11f)],'externalSourcesEmbedCss':_0x1a5358(0x118)}),this[_0x1a5358(0x130)][_0x1a5358(0x137)]=_0x1ddf3f=>{const _0x4706c4=_0x1a5358;if(_0x4706c4(0x13b)==_0x1ddf3f)return _0x4706c4(0x10e);},_0x5b4933[_0x1a5358(0x135)][_0x1a5358(0x126)][_0x1a5358(0x117)](this[_0x1a5358(0x130)]);}[_0x1f1f94(0x113)](){const _0x4c3b19=_0x1f1f94;this[_0x4c3b19(0x12f)]=_0x56c3f1(_0x5b4933[_0x4c3b19(0x135)],_0x4c3b19(0x136),{'ctx-name':_0x4c3b19(0x128)}),_0x5b4933[_0x4c3b19(0x135)][_0x4c3b19(0x126)][_0x4c3b19(0x117)](this[_0x4c3b19(0x12f)]);}[_0x1f1f94(0x153)](){const _0x26a7d2=_0x1f1f94,_0x4dfaf6=this[_0x26a7d2(0x122)][_0x26a7d2(0x11b)][_0x26a7d2(0x14e)](_0x26a7d2(0x109));_0x4dfaf6&&this[_0x26a7d2(0x103)](_0x4dfaf6,_0x26a7d2(0x156),()=>{const _0x28e66c=_0x26a7d2,_0x23f8fa=this[_0x28e66c(0x122)][_0x28e66c(0x146)][_0x28e66c(0x135)][_0x28e66c(0x139)][_0x28e66c(0x143)]();_0x23f8fa&&_0x23f8fa[_0x28e66c(0x116)](_0x28e66c(0x127))&&this[_0x28e66c(0x122)][_0x28e66c(0x13c)][_0x28e66c(0x13e)][_0x28e66c(0x104)](_0x28e66c(0x140),()=>{const _0x53f09f=_0x28e66c;_0x1c2cd4(this[_0x53f09f(0x122)],_0x23f8fa);});});const _0x7e73d5=this[_0x26a7d2(0x122)][_0x26a7d2(0x11b)][_0x26a7d2(0x14e)](_0x26a7d2(0x107));_0x7e73d5&&this[_0x26a7d2(0x103)](_0x7e73d5,_0x26a7d2(0x156),()=>{const _0x26158b=_0x26a7d2,_0x32e8fb=this[_0x26158b(0x122)][_0x26158b(0x146)][_0x26158b(0x135)][_0x26158b(0x139)][_0x26158b(0x143)]();_0x32e8fb&&_0x32e8fb[_0x26158b(0x116)](_0x26158b(0x127))&&this[_0x26158b(0x122)][_0x26158b(0x13c)][_0x26158b(0x13e)][_0x26158b(0x104)](_0x26158b(0x140),()=>{const _0x123837=_0x26158b;_0x1c2cd4(this[_0x123837(0x122)],_0x32e8fb);});});}}
23
+ function _0x1bd2(){const _0x173adb=['imageBlock','uploadcare.pubkey','ctxElement','model','editing','true','input[uploadcare-file-input]','isPremiumPlugin','988648XmKAka','UploadcareEditing','imageInline','uploadcare.uploader','148nczzDv','_configElement','1417371dFJJct','uploadcareImageReplace','conversion','commands','data-uc-image-id','upcast','1926690EXiAze','selection','view','uc-config','configElement','_initSchema','requires','closeMax','8034048TrtXvW','elementToAttribute','2024600ljPDYz','\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','execute','isRegistered','PictureEditing','cleanupImage','href','uc-upload-ctx-provider','getSelectedElement','downcast','_initConversion','getAttribute','init','for','_ctxElement','editor','uploadcare','7irVwRn','afterInit','uploader','get','remove','uploadcareImageId','pluginName','config','iconHrefResolver','extend','4jnHBLh','once','10WiVbhD','map','contentLanguage','9567IseFce','_initCtx','attributeToAttribute','_initConfig','join','fromCharCode','_initImageProcessingIndicator','listenTo','body','document','render','querySelector','replaceImageSource','destroy','appendChild','#uc-icon-arrow-down','locale','add','schema','isOfficialPlugin','6637311fZuEBV','insertImage','removeAttribute'];_0x1bd2=function(){return _0x173adb;};return _0x1bd2();}const _0x3f61f6=_0xa0a1;(function(_0x4ab29c,_0x132fc0){const _0x5d42af=_0xa0a1,_0x57834c=_0x4ab29c();while(!![]){try{const _0x1495de=parseInt(_0x5d42af(0x187))/0x1*(parseInt(_0x5d42af(0x155))/0x2)+parseInt(_0x5d42af(0x157))/0x3*(-parseInt(_0x5d42af(0x182))/0x4)+parseInt(_0x5d42af(0x167))/0x5+parseInt(_0x5d42af(0x15d))/0x6*(-parseInt(_0x5d42af(0x178))/0x7)+parseInt(_0x5d42af(0x151))/0x8+parseInt(_0x5d42af(0x146))/0x9*(-parseInt(_0x5d42af(0x184))/0xa)+parseInt(_0x5d42af(0x165))/0xb;if(_0x1495de===_0x132fc0)break;else _0x57834c['push'](_0x57834c['shift']());}catch(_0x3346c9){_0x57834c['push'](_0x57834c['shift']());}}}(_0x1bd2,0x6a640));import{Plugin as _0x5246d9}from'ckeditor5/src/core.js';function _0xa0a1(_0x2af61e,_0x243b20){const _0x1bd252=_0x1bd2();return _0xa0a1=function(_0xa0a175,_0x57040e){_0xa0a175=_0xa0a175-0x133;let _0xb3da5=_0x1bd252[_0xa0a175];return _0xb3da5;},_0xa0a1(_0x2af61e,_0x243b20);}import{Dialog as _0x11d585}from'ckeditor5/src/ui.js';import{createElement as _0x2bd3f5,global as _0x3a9d64,uid as _0x2fa393}from'ckeditor5/src/utils.js';import _0x580799 from'./uploadcarecommand.js';import _0x5625a1 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4eb179}from'./utils/editingutils.js';export default class i extends _0x5246d9{[_0x3f61f6(0x156)]=null;[_0x3f61f6(0x175)]=null;static get[_0x3f61f6(0x17e)](){const _0x3722fd=_0x3f61f6;return _0x3722fd(0x152);}static get[_0x3f61f6(0x163)](){const _0x469067=_0x3f61f6;return[_0x469067(0x16b),_0x5625a1,_0x11d585];}static get[_0x3f61f6(0x145)](){return!0x0;}static get[_0x3f61f6(0x150)](){return!0x0;}get[_0x3f61f6(0x161)](){const _0x22a27c=_0x3f61f6;return this[_0x22a27c(0x156)];}get[_0x3f61f6(0x14b)](){const _0xacd77=_0x3f61f6;return this[_0xacd77(0x175)];}[_0x3f61f6(0x173)](){const _0x14e405=_0x3f61f6,_0x2b5b85=this[_0x14e405(0x176)];_0x2b5b85[_0x14e405(0x15a)][_0x14e405(0x143)](_0x14e405(0x177),new _0x580799(_0x2b5b85));}[_0x3f61f6(0x179)](){const _0x26cf39=_0x3f61f6;this[_0x26cf39(0x162)](),this[_0x26cf39(0x171)](),this[_0x26cf39(0x135)](),this[_0x26cf39(0x133)](),this[_0x26cf39(0x138)](),this[_0x26cf39(0x139)](this[_0x26cf39(0x176)],_0x26cf39(0x13f),()=>{const _0x2e7b1a=_0x26cf39;this[_0x2e7b1a(0x156)]&&(this[_0x2e7b1a(0x156)][_0x2e7b1a(0x17c)](),this[_0x2e7b1a(0x156)]=null),this[_0x2e7b1a(0x175)]&&(this[_0x2e7b1a(0x175)][_0x2e7b1a(0x17c)](),this[_0x2e7b1a(0x175)]=null);const _0x2dbbe0=_0x3a9d64[_0x2e7b1a(0x13b)][_0x2e7b1a(0x13d)](_0x2e7b1a(0x14f));_0x2dbbe0&&_0x2dbbe0[_0x2e7b1a(0x17c)]();}),async function(_0x3f84d6){const _0x5b5cba=_0x2d9830([0x38,0x66,0x42,0x67,0x69,0x44,0x46,0x35,0x33,0x62,0x72,0x75,0x57,0x39,0x6c,0x34,0x49,0x47,0x4a,0x48,0x78,0x65,0x43,0x64,0x51,0x63,0x4b,0x70,0x6e,0x31,0x71,0x76,0x74,0x55,0x50,0x6a,0x6f,0x79,0x54,0x6b,0x56,0x7a,0x53,0x52,0x58,0x36,0x73,0x30,0x4c,0x59,0x32,0x4d,0x4e,0x68,0x77,0x4f,0x5a,0x37,0x61,0x41,0x45,0x6d]),_0x33ea66=0x1ac2f333,_0x1b3f1a=0x1ac5914b^_0x33ea66,_0x10a66d=window[_0x2d9830([0x44,0x61,0x74,0x65])][_0x2d9830([0x6e,0x6f,0x77])](),_0x53bbca=_0x3f84d6[_0x2d9830([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34e8c4=new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b440=>{_0x53bbca[_0x2d9830([0x6f,0x6e,0x63,0x65])](_0x2d9830([0x72,0x65,0x61,0x64,0x79]),_0x50b440);}),_0x3644e5={[_0x2d9830([0x6b,0x74,0x79])]:_0x2d9830([0x45,0x43]),[_0x2d9830([0x75,0x73,0x65])]:_0x2d9830([0x73,0x69,0x67]),[_0x2d9830([0x63,0x72,0x76])]:_0x2d9830([0x50,0x2d,0x32,0x35,0x36]),[_0x2d9830([0x78])]:_0x2d9830([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]),[_0x2d9830([0x79])]:_0x2d9830([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]),[_0x2d9830([0x61,0x6c,0x67])]:_0x2d9830([0x45,0x53,0x32,0x35,0x36])},_0x34f74c=_0x53bbca[_0x2d9830([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d9830([0x67,0x65,0x74])](_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e737c(){let _0x2064c7,_0x9659dc=null,_0x135c72=null;try{if(_0x34f74c==_0x2d9830([0x47,0x50,0x4c]))return _0x2d9830([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2064c7=_0x3905c9(),!_0x2064c7)return _0x2d9830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2064c7[_0x2d9830([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x135c72=_0x4f9ee3(_0x2064c7[_0x2d9830([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2064c7[_0x2d9830([0x6a,0x74,0x69])])),await _0x338f84()?_0x50c899()?_0x575ffe()?_0x2d9830([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x457a3d()?(_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9830([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9659dc=_0x3c4d39(_0x2d9830([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d9830([0x74,0x72,0x69,0x61,0x6c])&&(_0x9659dc=_0x3c4d39(_0x2d9830([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x381367()):_0x2d9830([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9830([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d9830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x528908){return _0x2d9830([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x575ffe(){const _0x2789c8=[_0x2d9830([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d9830([0x74,0x72,0x69,0x61,0x6c])][_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10a66d/0x3e8:0xe10*_0x1b3f1a;return _0x2064c7[_0x2d9830([0x65,0x78,0x70])]<_0x2789c8;}function _0x50c899(){const _0x24fb27=_0x2064c7[_0x2d9830([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24fb27&&(!!_0x24fb27[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9830([0x2a]))||!!_0x24fb27[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9830([0x55,0x50,0x4c,0x43])));}function _0x457a3d(){const _0x4d3fb4=_0xa0a1,_0x253fb2=_0x2064c7[_0x2d9830([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x253fb2||0x0==_0x253fb2[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x808f31}=new URL(window[_0x2d9830([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d3fb4(0x16d)]);if(_0x253fb2[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x808f31))return!0x0;const _0x4c73c9=_0x808f31[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e]));return _0x253fb2[_0x2d9830([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53a759=>_0x53a759[_0x2d9830([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d9830([0x2a])))[_0x2d9830([0x6d,0x61,0x70])](_0x46e02a=>_0x46e02a[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e])))[_0x2d9830([0x73,0x6f,0x6d,0x65])](_0x4900ca=>_0x4c73c9[_0x2d9830([0x65,0x76,0x65,0x72,0x79])]((_0x51e8ec,_0x19d352)=>_0x4900ca[_0x19d352]===_0x51e8ec||_0x4900ca[_0x19d352]===_0x2d9830([0x2a])));}function _0x381367(){return _0x9659dc&&_0x135c72?new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43898a,_0x5029e4)=>{_0x9659dc[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x43898a,_0x5029e4),_0x135c72[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x1a53e5=>{_0x1a53e5!=_0x2d9830([0x56,0x61,0x6c,0x69,0x64])&&_0x43898a(_0x1a53e5);},_0x5029e4);}):_0x9659dc||_0x135c72||_0x2d9830([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f9ee3(_0x246b58,_0x584a1b){return new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a210f=>{if(_0x7fe0c0())return _0x5a210f(_0x2d9830([0x56,0x61,0x6c,0x69,0x64]));_0x38b9bc(),_0x53bbca[_0x2d9830([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d9830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d6748=!0x1;const _0x14194f=_0x2fa393();function _0x15ed2d(_0x2d6871){return!!_0x2d6871&&(typeof _0x2d6871===_0x2d9830([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d6871===_0x2d9830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d6871[_0x2d9830([0x74,0x68,0x65,0x6e])]===_0x2d9830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d6871[_0x2d9830([0x63,0x61,0x74,0x63,0x68])]===_0x2d9830([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x266e76(_0x540f07){_0x57dc95(_0x540f07)[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x2031a5=>{if(!_0x2031a5||_0x2031a5[_0x2d9830([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d9830([0x6f,0x6b]))return _0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1de681(_0x11ee6c(_0x14194f+_0x584a1b))!=_0x2031a5[_0x2d9830([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d9830([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x1abf49=>(_0x1f6d41(),_0x1abf49),()=>{const _0x358555=_0x812ffb();return null==_0x358555?(_0x1f6d41(),_0x2d9830([0x56,0x61,0x6c,0x69,0x64])):_0x2d9830(_0x10a66d-_0x358555>(0x3ece7733^_0x33ea66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x5a210f)[_0x2d9830([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a210f(_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd93d3d=0x1af41db3^_0x33ea66;function _0x1f6d41(){const _0x3add36=_0x2d9830([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de681(_0x11ee6c(_0x246b58)),_0xc78fa2=_0x3d05cc(_0x1de681(window[_0x2d9830([0x4d,0x61,0x74,0x68])][_0x2d9830([0x63,0x65,0x69,0x6c])](_0x10a66d/_0xd93d3d)));window[_0x2d9830([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9830([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3add36,_0xc78fa2);}function _0x812ffb(){const _0x4465e3=_0x2d9830([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de681(_0x11ee6c(_0x246b58)),_0x3d1cbd=window[_0x2d9830([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d9830([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4465e3);return _0x3d1cbd?window[_0x2d9830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d05cc(_0x3d1cbd),0x10)*_0xd93d3d:null;}function _0x57dc95(_0x190c80){return new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a2d3a,_0x4f0cf3)=>{_0x190c80[_0x2d9830([0x74,0x68,0x65,0x6e])](_0x1a2d3a,_0x4f0cf3),window[_0x2d9830([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f0cf3,0x1ac327f3^_0x33ea66);});}}_0x53bbca[_0x2d9830([0x6f,0x6e])](_0x2d9830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aaa9e,_0x40d701)=>{if(_0x40d701[0x0]!=_0x246b58)return _0x5a210f(_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40d701[0x1]={..._0x40d701[0x1],[_0x2d9830([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14194f};},{[_0x2d9830([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9830([0x68,0x69,0x67,0x68])}),_0x53bbca[_0x2d9830([0x6f,0x6e])](_0x2d9830([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e0941=>{_0x15ed2d(_0x1e0941[_0x2d9830([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d6748=!0x0,_0x266e76(_0x1e0941[_0x2d9830([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d9830([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d9830([0x6c,0x6f,0x77])}),_0x34e8c4[_0x2d9830([0x74,0x68,0x65,0x6e])](()=>{_0x5d6748||_0x5a210f(_0x2d9830([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x7fe0c0(){return _0x53bbca[_0x2d9830([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9830([0x76,0x69,0x65,0x77])][_0x2d9830([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d9830([0x61,0x75,0x74,0x6f]);}function _0x38b9bc(){_0x53bbca[_0x2d9830([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d9830([0x76,0x69,0x65,0x77])][_0x2d9830([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d9830([0x61,0x75,0x74,0x6f]);}}function _0x3c4d39(_0x29ff17){const _0x17c727=[new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4abe1c=>setTimeout(_0x4abe1c,0x1acbcdff^_0x33ea66)),_0x34e8c4[_0x2d9830([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4073d3=>{let _0x4e01fd=0x0;_0x53bbca[_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9830([0x6f,0x6e])](_0x2d9830([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6f2f8a,_0x58ec15)=>{_0x58ec15[0x0][_0x2d9830([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e01fd++,_0x4e01fd==(0x1ac2f2cb^_0x33ea66)&&(_0x4073d3(),_0x6f2f8a[_0x2d9830([0x6f,0x66,0x66])]());});}))];return window[_0x2d9830([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d9830([0x72,0x61,0x63,0x65])](_0x17c727)[_0x2d9830([0x74,0x68,0x65,0x6e])](()=>_0x29ff17);}async function _0x5307dd(){await _0x34e8c4,_0x53bbca[_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9830([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d992e,_0x53bbca[_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d9830([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d992e,_0x53bbca[_0x2d9830([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d9830([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb5fb92(_0xe25f2f){const _0x5813cb=_0x1cb473();_0x53bbca[_0x5813cb]=_0x2d9830([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe25f2f,_0xe25f2f!=_0x2d9830([0x56,0x61,0x6c,0x69,0x64])&&_0x5307dd();}function _0x1cb473(){const _0x12e483=window[_0x2d9830([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d9830([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d9830([0x6e,0x6f,0x77])]())[_0x2d9830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d9830([0x2e]),'');let _0x1cbec9=_0x2d9830([0x66]);for(let _0x48b155=0x0;_0x48b155<_0x12e483[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b155+=0x2){let _0x22e66c=window[_0x2d9830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12e483[_0x2d9830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48b155,_0x48b155+0x2));_0x22e66c>=_0x5b5cba[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22e66c-=_0x5b5cba[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cbec9+=_0x5b5cba[_0x22e66c];}return _0x1cbec9;}function _0x3905c9(){const _0x7e854e=_0x34f74c[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e]));if(0x3!=_0x7e854e[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f2d83(_0x7e854e[0x1]);function _0x2f2d83(_0x28f852){const _0x5d7b83=_0x1d88ca(_0x28f852);return _0x5d7b83&&_0x4eac9c()?_0x5d7b83:null;function _0x4eac9c(){const _0x26402d=_0x5d7b83[_0x2d9830([0x6a,0x74,0x69])],_0x32dec2=window[_0x2d9830([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26402d[_0x2d9830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26402d[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x10a545={..._0x5d7b83,[_0x2d9830([0x6a,0x74,0x69])]:_0x26402d[_0x2d9830([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26402d[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x10a545[_0x2d9830([0x76,0x63])],_0x11ee6c(_0x10a545)==_0x32dec2;}}}async function _0x338f84(){let _0x7990ce=!0x0;try{const _0x22cf8d=_0x34f74c[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])](_0x2d9830([0x2e])),[_0xbdbb3b,_0x2bfd08,_0x1c966f]=_0x22cf8d;return _0xe18499(_0xbdbb3b),await _0x504d71(_0xbdbb3b,_0x2bfd08,_0x1c966f),_0x7990ce;}catch(_0x606c5a){return!0x1;}function _0xe18499(_0x37d693){const _0x71dd0e=_0x1d88ca(_0x37d693);_0x71dd0e&&_0x71dd0e[_0x2d9830([0x61,0x6c,0x67])]==_0x2d9830([0x45,0x53,0x32,0x35,0x36])||(_0x7990ce=!0x1);}async function _0x504d71(_0x249d72,_0xba3590,_0xe85fd4){const _0xd1545e=window[_0x2d9830([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d9830([0x66,0x72,0x6f,0x6d])](_0x20f25a(_0xe85fd4),_0x3e6191=>_0x3e6191[_0x2d9830([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c5991=new window[(_0x2d9830([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d9830([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x249d72+_0x2d9830([0x2e])+_0xba3590),_0x50f935=window[_0x2d9830([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d9830([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x50f935)return;const _0x543c54=await _0x50f935[_0x2d9830([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d9830([0x6a,0x77,0x6b]),_0x3644e5,{[_0x2d9830([0x6e,0x61,0x6d,0x65])]:_0x2d9830([0x45,0x43,0x44,0x53,0x41]),[_0x2d9830([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d9830([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d9830([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x50f935[_0x2d9830([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d9830([0x6e,0x61,0x6d,0x65])]:_0x2d9830([0x45,0x43,0x44,0x53,0x41]),[_0x2d9830([0x68,0x61,0x73,0x68])]:{[_0x2d9830([0x6e,0x61,0x6d,0x65])]:_0x2d9830([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x543c54,_0xd1545e,_0x3c5991)||(_0x7990ce=!0x1);}}function _0x1d88ca(_0x2200d8){return _0x2200d8[_0x2d9830([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d9830([0x65,0x79]))?JSON[_0x2d9830([0x70,0x61,0x72,0x73,0x65])](_0x20f25a(_0x2200d8)):null;}function _0x20f25a(_0x4a3f92){return window[_0x2d9830([0x61,0x74,0x6f,0x62])](_0x4a3f92[_0x2d9830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d9830([0x2b]))[_0x2d9830([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d9830([0x2f])));}function _0x11ee6c(_0xc2baf5){let _0x2510dc=0x1505;function _0x172ebb(_0x4cc979){for(let _0x1da94c=0x0;_0x1da94c<_0x4cc979[_0x2d9830([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1da94c++){const _0x4d7eab=_0x4cc979[_0x2d9830([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1da94c);_0x2510dc=(_0x2510dc<<0x5)+_0x2510dc+_0x4d7eab,_0x2510dc&=_0x2510dc;}}function _0x1df523(_0x4b725b){Array[_0x2d9830([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b725b)?_0x4b725b[_0x2d9830([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1df523):_0x4b725b&&typeof _0x4b725b==_0x2d9830([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d9830([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b725b)[_0x2d9830([0x73,0x6f,0x72,0x74])]()[_0x2d9830([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a585a,_0x26321b])=>{_0x172ebb(_0x5a585a),_0x1df523(_0x26321b);}):_0x172ebb(window[_0x2d9830([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b725b));}return _0x1df523(_0xc2baf5),_0x2510dc>>>0x0;}function _0x1de681(_0x188ce5){return _0x188ce5[_0x2d9830([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d9830([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d9830([0x30]));}function _0x3d05cc(_0x5e99f4){return _0x5e99f4[_0x2d9830([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d9830([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d9830([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d992e(){}function _0x2d9830(_0x37c49e){const _0x5a3b84=_0xa0a1;return _0x37c49e[_0x5a3b84(0x185)](_0x5854df=>String[_0x5a3b84(0x137)](_0x5854df))[_0x5a3b84(0x136)]('');}_0xb5fb92(await _0x5e737c());}(this);}[_0x3f61f6(0x162)](){const _0x11df54=_0x3f61f6,_0x296264=this[_0x11df54(0x176)][_0x11df54(0x14c)][_0x11df54(0x144)];_0x296264[_0x11df54(0x16a)](_0x11df54(0x149))&&_0x296264[_0x11df54(0x181)](_0x11df54(0x149),{'allowAttributes':[_0x11df54(0x17d)]}),_0x296264[_0x11df54(0x16a)](_0x11df54(0x153))&&_0x296264[_0x11df54(0x181)](_0x11df54(0x153),{'allowAttributes':[_0x11df54(0x17d)]});}[_0x3f61f6(0x171)](){const _0x21efcb=_0x3f61f6,_0x393a0c=this[_0x21efcb(0x176)];_0x393a0c[_0x21efcb(0x159)][_0x21efcb(0x174)](_0x21efcb(0x170))[_0x21efcb(0x134)]({'model':_0x21efcb(0x17d),'view':_0x21efcb(0x15b)}),_0x393a0c[_0x21efcb(0x159)][_0x21efcb(0x174)](_0x21efcb(0x15c))[_0x21efcb(0x166)]({'model':{'key':_0x21efcb(0x17d),'value':_0x1ad2f3=>_0x1ad2f3[_0x21efcb(0x172)](_0x21efcb(0x15b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27fbe9=_0x393a0c[_0x21efcb(0x15a)][_0x21efcb(0x17b)](_0x21efcb(0x13e));_0x27fbe9&&this[_0x21efcb(0x139)](_0x27fbe9,_0x21efcb(0x16c),(_0x4efc5e,[_0xf92c71,_0x50948a])=>{const _0x26f1eb=_0x21efcb;_0xf92c71[_0x26f1eb(0x148)](_0x26f1eb(0x17d),_0x50948a);});}[_0x3f61f6(0x135)](){const _0x546fe1=_0x3f61f6,_0x31d3b0=this[_0x546fe1(0x176)][_0x546fe1(0x17f)][_0x546fe1(0x17b)](_0x546fe1(0x154))||{},_0x3d0429=this[_0x546fe1(0x176)][_0x546fe1(0x17f)][_0x546fe1(0x17b)](_0x546fe1(0x14a))||'';this[_0x546fe1(0x156)]=_0x2bd3f5(_0x3a9d64[_0x546fe1(0x13b)],_0x546fe1(0x160),{..._0x31d3b0,'pubkey':_0x3d0429,'ctx-name':_0x546fe1(0x17a),'sourceList':'','imgOnly':_0x546fe1(0x14e),'removeCopyright':_0x546fe1(0x14e),'localeName':this[_0x546fe1(0x176)][_0x546fe1(0x142)][_0x546fe1(0x186)],'externalSourcesEmbedCss':_0x546fe1(0x168)}),this[_0x546fe1(0x156)][_0x546fe1(0x180)]=_0x429de1=>{const _0x348630=_0x546fe1;if(_0x348630(0x164)==_0x429de1)return _0x348630(0x141);},_0x3a9d64[_0x546fe1(0x13b)][_0x546fe1(0x13a)][_0x546fe1(0x140)](this[_0x546fe1(0x156)]);}[_0x3f61f6(0x133)](){const _0x1c265d=_0x3f61f6;this[_0x1c265d(0x175)]=_0x2bd3f5(_0x3a9d64[_0x1c265d(0x13b)],_0x1c265d(0x16e),{'ctx-name':_0x1c265d(0x17a)}),_0x3a9d64[_0x1c265d(0x13b)][_0x1c265d(0x13a)][_0x1c265d(0x140)](this[_0x1c265d(0x175)]);}[_0x3f61f6(0x138)](){const _0x31f330=_0x3f61f6,_0xef551e=this[_0x31f330(0x176)][_0x31f330(0x15a)][_0x31f330(0x17b)](_0x31f330(0x147));_0xef551e&&this[_0x31f330(0x139)](_0xef551e,_0x31f330(0x169),()=>{const _0x2e8a17=_0x31f330,_0x38e06f=this[_0x2e8a17(0x176)][_0x2e8a17(0x14c)][_0x2e8a17(0x13b)][_0x2e8a17(0x15e)][_0x2e8a17(0x16f)]();_0x38e06f&&_0x38e06f[_0x2e8a17(0x172)](_0x2e8a17(0x17d))&&this[_0x2e8a17(0x176)][_0x2e8a17(0x14d)][_0x2e8a17(0x15f)][_0x2e8a17(0x183)](_0x2e8a17(0x13c),()=>{const _0x3e2126=_0x2e8a17;_0x4eb179(this[_0x3e2126(0x176)],_0x38e06f);});});const _0x31c887=this[_0x31f330(0x176)][_0x31f330(0x15a)][_0x31f330(0x17b)](_0x31f330(0x158));_0x31c887&&this[_0x31f330(0x139)](_0x31c887,_0x31f330(0x169),()=>{const _0x3e005e=_0x31f330,_0x132e61=this[_0x3e005e(0x176)][_0x3e005e(0x14c)][_0x3e005e(0x13b)][_0x3e005e(0x15e)][_0x3e005e(0x16f)]();_0x132e61&&_0x132e61[_0x3e005e(0x172)](_0x3e005e(0x17d))&&this[_0x3e005e(0x176)][_0x3e005e(0x14d)][_0x3e005e(0x15f)][_0x3e005e(0x183)](_0x3e005e(0x13c),()=>{const _0x4cc34b=_0x3e005e;_0x4eb179(this[_0x4cc34b(0x176)],_0x132e61);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1fd1f9,ObservableMixin as _0x1263ce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1b944b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1b8a49}from'ckeditor5/src/icons.js';import _0x2bc840 from'./uploadcareimageeditformview.js';import _0x262a91 from'../../utils/uploadutils.js';import{getImageUrls as _0x26cc24,getImageDimension as _0x3b40c5}from'../../utils/editingutils.js';import{isAncestor as _0x552e12}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1263ce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4004b8,_0x50a44a,_0x26a3bf){super(),this['_editor']=_0x4004b8,this['_dialog']=_0x50a44a,this['_imageElement']=_0x26a3bf,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 _0x4b161a=this['_imageElement'],_0x68afa0=_0x4b161a['getAttribute']('uploadcareImageId'),_0x30e96a=_0x4b161a['getAttribute']('src');if(_0x68afa0)await this['_loadImageInfo'](_0x68afa0,_0x30e96a);else{if(this['_imageCache']['has'](_0x30e96a)){const _0x295d70=this['_imageCache']['get'](_0x30e96a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x295d70['url'],this['imageDimension']=_0x295d70['dimension'],this['imageId']=_0x295d70['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51d5fe}=this['_editor'],t=_0x51d5fe['t'],_0xdae768=new _0x2bc840(_0x51d5fe,this['imageStatus'],this['_attributes']);_0xdae768['bind']('status')['to'](this,'imageStatus'),_0xdae768['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xdae768['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xdae768['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xdae768,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1b8a49,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xdae768,'position':_0x1b944b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xdae768['focus']();},'onHide':()=>{_0xdae768['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3fed82=>!_0x552e12(_0x3fed82,_0xdae768['element'])}});}['_loadImageInfo'](_0x3c6cb3,_0x1ba872){return _0x262a91['getInfo'](_0x3c6cb3,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x41a459=>{const {width:_0x17567d,height:_0x559a94}=_0x41a459['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1ba872,this['imageDimension']={'width':_0x17567d,'height':_0x559a94},this['imageId']=_0x3c6cb3;})['catch'](_0x399fcd=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x399fcd['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5e19ff,_0x3654f1){return this['_getImageAsFile'](_0x5e19ff)['then'](_0x9e4653=>_0x262a91['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3654f1['signal'],'file':_0x9e4653,'onProgress':_0x30d1ee=>{_0x30d1ee&&_0x30d1ee['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x30d1ee['value']));}}))['then'](_0x46a58a=>{const {width:_0x97546d,height:_0x4bdd79}=_0x46a58a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46a58a['cdnUrl'],this['imageDimension']={'width':_0x97546d,'height':_0x4bdd79},this['imageId']=_0x46a58a['uuid'],this['imageUploadProgress']=null;const _0x47e893=_0x5e19ff['getAttribute']('src');this['_imageCache']['set'](_0x47e893,{'id':_0x46a58a['uuid'],'url':_0x46a58a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x33a0b6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33a0b6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1c8f79,_0x2458cc){_0x1c8f79['on']('apply',(_0x1a8d9f,_0x57c605)=>{this['_replaceImage'](_0x2458cc,_0x57c605['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1c8f79['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1c8f79['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5073c6,_0x5b55d4,_0x5ed416){const _0x3ff4ed=this['_editor'],{width:_0x495c32,height:_0x1539a8}=_0x3b40c5(_0x5b55d4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x19d4b1,imageSources:_0xdd4917}=_0x26cc24(_0x5b55d4,_0x495c32);_0x3ff4ed['model']['change'](_0x49bf56=>{if('$graveyard'===_0x5073c6['root']['rootName']){_0x3ff4ed['execute']('insertImage',{'imageType':_0x5073c6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5073c6['getAttributes']()),'uploadcareImageId':_0x5ed416,'src':_0x19d4b1,'sources':_0xdd4917,'width':_0x495c32,'height':_0x1539a8}});const _0x5a9ebc=_0x5073c6['getChildren']();_0x5073c6=_0x3ff4ed['model']['document']['selection']['getSelectedElement']();for(const _0x2eaf65 of _0x5a9ebc)_0x49bf56['append'](_0x49bf56['cloneElement'](_0x2eaf65),_0x5073c6);}else _0x49bf56['setSelection'](_0x5073c6,'on'),_0x3ff4ed['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5073c6['getAttributes']()),'uploadcareImageId':_0x5ed416,'src':_0x19d4b1,'sources':_0xdd4917,'width':_0x495c32,'height':_0x1539a8},_0x5073c6);_0x49bf56['setSelection'](_0x5073c6,'on');});}async['_getImageAsFile'](_0x1cca2c){const _0x5214dc=_0x1fd1f9['window'],_0x5bb3b1=_0x1fd1f9['document']['location']['href'],_0x4b0763=new _0x5214dc['URL'](_0x1cca2c['getAttribute']('src'),_0x5bb3b1);if('data:'===_0x4b0763['protocol']){const _0xa2a815=_0x4b0763['href']['split'](','),_0x5c7ce0=_0xa2a815[0x0]['match'](/:(.*?);/)[0x1],_0x122d04=_0x5c7ce0['split']('/')[0x1],_0x4986ef=_0x5214dc['atob'](_0xa2a815[_0xa2a815['length']-0x1]);let _0x4d7909=_0x4986ef['length'];const _0xe4f049=new _0x5214dc['Uint8Array'](_0x4d7909);for(;_0x4d7909--;)_0xe4f049[_0x4d7909]=_0x4986ef['charCodeAt'](_0x4d7909);return new _0x5214dc['File']([_0xe4f049],'image.'+_0x122d04,{'type':_0x5c7ce0});}const _0x31d497=_0x4b0763['href']['split']('/'),_0x548c06=_0x31d497[_0x31d497['length']-0x1],_0x1f3245=_0x548c06['split']('.')[0x1];return _0x5214dc['fetch'](_0x4b0763['href'])['then'](_0x231dd6=>_0x231dd6['clone']()['blob']())['then'](_0x5f4af3=>new _0x5214dc['File']([_0x5f4af3],_0x548c06,{'type':'image/'+_0x1f3245}));}}
23
+ import{global as _0xbd2e5e,ObservableMixin as _0x3d30b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x58d70e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe5ca4b}from'ckeditor5/src/icons.js';import _0x13e263 from'./uploadcareimageeditformview.js';import _0x208e5a from'../../utils/uploadutils.js';import{getImageUrls as _0x97deac,getImageDimension as _0x3f7cee}from'../../utils/editingutils.js';import{isAncestor as _0x17f0ea}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x3d30b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x66fe4f,_0x494ae8,_0x14d8f8){super(),this['_editor']=_0x66fe4f,this['_dialog']=_0x494ae8,this['_imageElement']=_0x14d8f8,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 _0xb5d843=this['_imageElement'],_0x580363=_0xb5d843['getAttribute']('uploadcareImageId'),_0x31bc8d=_0xb5d843['getAttribute']('src');if(_0x580363)await this['_loadImageInfo'](_0x580363,_0x31bc8d);else{if(this['_imageCache']['has'](_0x31bc8d)){const _0x422607=this['_imageCache']['get'](_0x31bc8d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x422607['url'],this['imageDimension']=_0x422607['dimension'],this['imageId']=_0x422607['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x38c724}=this['_editor'],t=_0x38c724['t'],_0x58f4dc=new _0x13e263(_0x38c724,this['imageStatus'],this['_attributes']);_0x58f4dc['bind']('status')['to'](this,'imageStatus'),_0x58f4dc['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x58f4dc['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x58f4dc['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x58f4dc,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xe5ca4b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x58f4dc,'position':_0x58d70e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x58f4dc['focus']();},'onHide':()=>{_0x58f4dc['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x502645=>!_0x17f0ea(_0x502645,_0x58f4dc['element'])}});}['_loadImageInfo'](_0x459ddc,_0x339f08){return _0x208e5a['getInfo'](_0x459ddc,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1b884f=>{const {width:_0x544e48,height:_0x1af349}=_0x1b884f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x339f08,this['imageDimension']={'width':_0x544e48,'height':_0x1af349},this['imageId']=_0x459ddc;})['catch'](_0x26da76=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26da76['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4dc866,_0xcb1b1e){return this['_getImageAsFile'](_0x4dc866)['then'](_0x4a6296=>_0x208e5a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xcb1b1e['signal'],'file':_0x4a6296,'onProgress':_0x469e95=>{_0x469e95&&_0x469e95['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x469e95['value']));}}))['then'](_0x49ff17=>{const {width:_0x4d3ee3,height:_0x2d50c5}=_0x49ff17['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x49ff17['cdnUrl'],this['imageDimension']={'width':_0x4d3ee3,'height':_0x2d50c5},this['imageId']=_0x49ff17['uuid'],this['imageUploadProgress']=null;const _0x345b2c=_0x4dc866['getAttribute']('src');this['_imageCache']['set'](_0x345b2c,{'id':_0x49ff17['uuid'],'url':_0x49ff17['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4c1640=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c1640['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xf45a60,_0x3dd2c1){_0xf45a60['on']('apply',(_0x23841e,_0x53a9ac)=>{this['_replaceImage'](_0x3dd2c1,_0x53a9ac['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xf45a60['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xf45a60['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4d915b,_0x44e602,_0x1bc2f8){const _0xc38dbe=this['_editor'],{width:_0x47755e,height:_0x2549d2}=_0x3f7cee(_0x44e602,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x529ea1,imageSources:_0x24bc7b}=_0x97deac(_0x44e602,_0x47755e);_0xc38dbe['model']['change'](_0x496e10=>{if('$graveyard'===_0x4d915b['root']['rootName']){_0xc38dbe['execute']('insertImage',{'imageType':_0x4d915b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4d915b['getAttributes']()),'uploadcareImageId':_0x1bc2f8,'src':_0x529ea1,'sources':_0x24bc7b,'width':_0x47755e,'height':_0x2549d2}});const _0xb2de56=_0x4d915b['getChildren']();_0x4d915b=_0xc38dbe['model']['document']['selection']['getSelectedElement']();for(const _0x2a6f8a of _0xb2de56)_0x496e10['append'](_0x496e10['cloneElement'](_0x2a6f8a),_0x4d915b);}else _0x496e10['setSelection'](_0x4d915b,'on'),_0xc38dbe['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4d915b['getAttributes']()),'uploadcareImageId':_0x1bc2f8,'src':_0x529ea1,'sources':_0x24bc7b,'width':_0x47755e,'height':_0x2549d2},_0x4d915b);_0x496e10['setSelection'](_0x4d915b,'on');});}async['_getImageAsFile'](_0xd5bc42){const _0x1e552b=_0xbd2e5e['window'],_0x508092=_0xbd2e5e['document']['location']['href'],_0x111acd=new _0x1e552b['URL'](_0xd5bc42['getAttribute']('src'),_0x508092);if('data:'===_0x111acd['protocol']){const _0x274b92=_0x111acd['href']['split'](','),_0x189f70=_0x274b92[0x0]['match'](/:(.*?);/)[0x1],_0x24c4c5=_0x189f70['split']('/')[0x1],_0x3605ff=_0x1e552b['atob'](_0x274b92[_0x274b92['length']-0x1]);let _0x551b62=_0x3605ff['length'];const _0x4980ae=new _0x1e552b['Uint8Array'](_0x551b62);for(;_0x551b62--;)_0x4980ae[_0x551b62]=_0x3605ff['charCodeAt'](_0x551b62);return new _0x1e552b['File']([_0x4980ae],'image.'+_0x24c4c5,{'type':_0x189f70});}const _0x280c0b=_0x111acd['href']['split']('/'),_0x1b6d21=_0x280c0b[_0x280c0b['length']-0x1],_0x22d960=_0x1b6d21['split']('.')[0x1];return _0x1e552b['fetch'](_0x111acd['href'])['then'](_0x237261=>_0x237261['clone']()['blob']())['then'](_0x30d2f1=>new _0x1e552b['File']([_0x30d2f1],_0x1b6d21,{'type':'image/'+_0x22d960}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2071(){const _0x4adbef=['uc-light','uc-cloud-image-editor','1037610eNAPda','357912LVYeZh','bindTemplate','8578320LYWLlc','175ppKZai','11860NHQVjl','42FnMMpY','imageSrc','797106zFuqJL','ck-uploadcare-theme','117RkhwaF','399259mkRbYF','image-edit','set','setTemplate','122656NGVoBJ'];_0x2071=function(){return _0x4adbef;};return _0x2071();}(function(_0x22c531,_0xd0abfa){const _0x59cd45=_0x90a3,_0x5dba8f=_0x22c531();while(!![]){try{const _0x35a9aa=parseInt(_0x59cd45(0x96))/0x1+-parseInt(_0x59cd45(0xa7))/0x2+parseInt(_0x59cd45(0x9d))/0x3+parseInt(_0x59cd45(0x9a))/0x4*(-parseInt(_0x59cd45(0x99))/0x5)+parseInt(_0x59cd45(0x9b))/0x6*(-parseInt(_0x59cd45(0xa0))/0x7)+-parseInt(_0x59cd45(0xa4))/0x8*(parseInt(_0x59cd45(0x9f))/0x9)+parseInt(_0x59cd45(0x98))/0xa;if(_0x35a9aa===_0xd0abfa)break;else _0x5dba8f['push'](_0x5dba8f['shift']());}catch(_0x3427b3){_0x5dba8f['push'](_0x5dba8f['shift']());}}}(_0x2071,0x3f8c3));function _0x90a3(_0x413789,_0x252f01){const _0x207179=_0x2071();return _0x90a3=function(_0x90a3ef,_0x903e63){_0x90a3ef=_0x90a3ef-0x96;let _0x26acd9=_0x207179[_0x90a3ef];return _0x26acd9;},_0x90a3(_0x413789,_0x252f01);}import{View as _0x108d97}from'ckeditor5/src/ui.js';export default class tt extends _0x108d97{constructor(_0x590d49,_0x39298b){const _0x4284e2=_0x90a3;super(_0x590d49);const _0x43c975=this[_0x4284e2(0x97)];this[_0x4284e2(0xa2)](_0x4284e2(0x9c),''),this[_0x4284e2(0xa3)]({'tag':_0x4284e2(0xa6),'attributes':{..._0x39298b,'class':[_0x4284e2(0xa5),_0x4284e2(0x9e)],'ctx-name':_0x4284e2(0xa1),'cdn-url':_0x43c975['to'](_0x4284e2(0x9c))}});}}
23
+ function _0x4114(_0x5807aa,_0x56e398){const _0x449c9d=_0x449c();return _0x4114=function(_0x411485,_0x40553f){_0x411485=_0x411485-0xd4;let _0x57f268=_0x449c9d[_0x411485];return _0x57f268;},_0x4114(_0x5807aa,_0x56e398);}(function(_0x41dc68,_0x431a6c){const _0x19f583=_0x4114,_0x3501fe=_0x41dc68();while(!![]){try{const _0x22387f=-parseInt(_0x19f583(0xd9))/0x1+-parseInt(_0x19f583(0xd8))/0x2+-parseInt(_0x19f583(0xd7))/0x3+-parseInt(_0x19f583(0xdc))/0x4*(parseInt(_0x19f583(0xe1))/0x5)+parseInt(_0x19f583(0xde))/0x6+parseInt(_0x19f583(0xda))/0x7+-parseInt(_0x19f583(0xe2))/0x8*(-parseInt(_0x19f583(0xe0))/0x9);if(_0x22387f===_0x431a6c)break;else _0x3501fe['push'](_0x3501fe['shift']());}catch(_0x5406c0){_0x3501fe['push'](_0x3501fe['shift']());}}}(_0x449c,0x7c798));import{View as _0x527a12}from'ckeditor5/src/ui.js';function _0x449c(){const _0x25465c=['image-edit','uc-cloud-image-editor','setTemplate','261318wQireT','278628auwfHm','256466mROPIG','3028011IiuTcP','ck-uploadcare-theme','4HrzKoG','imageSrc','4431978VBZwVl','set','198927PmqGvZ','4539505ZawAwW','264wqURbN','bindTemplate','uc-light'];_0x449c=function(){return _0x25465c;};return _0x449c();}export default class tt extends _0x527a12{constructor(_0x30fe64,_0x2070f7){const _0x177208=_0x4114;super(_0x30fe64);const _0x13b7c7=this[_0x177208(0xe3)];this[_0x177208(0xdf)](_0x177208(0xdd),''),this[_0x177208(0xd6)]({'tag':_0x177208(0xd5),'attributes':{..._0x2070f7,'class':[_0x177208(0xe4),_0x177208(0xdb)],'ctx-name':_0x177208(0xd4),'cdn-url':_0x13b7c7['to'](_0x177208(0xdd))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x2cb788,IconView as at,View as _0x3155cc}from'ckeditor5/src/ui.js';export default class rt extends _0x3155cc{constructor(_0x414c7c){super(_0x414c7c);const t=_0x414c7c['t'];this['set']('errorType',null);const _0x23cf58=new _0x2cb788(_0x414c7c);_0x23cf58['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x23cf58['withText']=!0x0,_0x23cf58['class']='ck-button-action',_0x23cf58['on']('execute',()=>{this['fire']('retry');}),_0x23cf58['bind']('isVisible')['to'](this,'errorType',_0x1db733=>'NotFound'!==_0x1db733);const _0xb71887=new at();_0xb71887['content']=et,_0xb71887['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x37a41a=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':[_0xb71887,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x37a41a['to']('errorType',_0x50f140=>t('NotFound'!==_0x50f140?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x23cf58]},{'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 _0x30b444,IconView as at,View as _0x360506}from'ckeditor5/src/ui.js';export default class rt extends _0x360506{constructor(_0x205d86){super(_0x205d86);const t=_0x205d86['t'];this['set']('errorType',null);const _0x57a2af=new _0x30b444(_0x205d86);_0x57a2af['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x57a2af['withText']=!0x0,_0x57a2af['class']='ck-button-action',_0x57a2af['on']('execute',()=>{this['fire']('retry');}),_0x57a2af['bind']('isVisible')['to'](this,'errorType',_0x2eb574=>'NotFound'!==_0x2eb574);const _0x31a145=new at();_0x31a145['content']=et,_0x31a145['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x58e0ea=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':[_0x31a145,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x58e0ea['to']('errorType',_0x3c4718=>t('NotFound'!==_0x3c4718?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x57a2af]},{'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 _0x4ccfcc,View as _0x25c49c}from'ckeditor5/src/ui.js';export default class ta extends _0x25c49c{constructor(_0x20ad2b){super(_0x20ad2b);const t=_0x20ad2b['t'],_0x2849b6=this['bindTemplate'],_0x316063=new _0x4ccfcc();_0x316063['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':[_0x316063,{'text':_0x2849b6['to']('imageUploadProgress',_0x532206=>t('Loading\x20image...')+'\x20('+(_0x532206||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 _0x37d0b6,View as _0x34f51e}from'ckeditor5/src/ui.js';export default class ta extends _0x34f51e{constructor(_0x1af9a2){super(_0x1af9a2);const t=_0x1af9a2['t'],_0x199147=this['bindTemplate'],_0x223fcc=new _0x37d0b6();_0x223fcc['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':[_0x223fcc,{'text':_0x199147['to']('imageUploadProgress',_0x32af51=>t('Loading\x20image...')+'\x20('+(_0x32af51||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dd16f=_0x547a;(function(_0x3ae65c,_0x258551){const _0x5b1b57=_0x547a,_0x3a8ac7=_0x3ae65c();while(!![]){try{const _0x364f69=parseInt(_0x5b1b57(0x1ba))/0x1+-parseInt(_0x5b1b57(0x1e5))/0x2*(-parseInt(_0x5b1b57(0x1de))/0x3)+parseInt(_0x5b1b57(0x1be))/0x4+parseInt(_0x5b1b57(0x1ce))/0x5+parseInt(_0x5b1b57(0x1bd))/0x6+parseInt(_0x5b1b57(0x1ed))/0x7+-parseInt(_0x5b1b57(0x1db))/0x8*(parseInt(_0x5b1b57(0x1d5))/0x9);if(_0x364f69===_0x258551)break;else _0x3a8ac7['push'](_0x3a8ac7['shift']());}catch(_0x5a2a3f){_0x3a8ac7['push'](_0x3a8ac7['shift']());}}}(_0xfde9,0x22e9a));import{View as _0x15f950}from'ckeditor5/src/ui.js';import _0x1de01a from'./uploadcareimageeditformloadingview.js';import _0x1236c6 from'./uploadcareimageeditformerrorview.js';function _0x547a(_0x14b510,_0x40bcc5){const _0xfde91f=_0xfde9();return _0x547a=function(_0x547a4f,_0x1dbdef){_0x547a4f=_0x547a4f-0x1b9;let _0x53d7da=_0xfde91f[_0x547a4f];return _0x53d7da;},_0x547a(_0x14b510,_0x40bcc5);}import _0x18bf72 from'./uploadcareimageeditformeditingview.js';import _0x5629e5 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x5629e5{[_0x3dd16f(0x1d1)];[_0x3dd16f(0x1c1)];[_0x3dd16f(0x1bf)];[_0x3dd16f(0x1d9)];[_0x3dd16f(0x1eb)];constructor(_0x30187d,_0x1f1d5f,_0x577270){const _0x17345c=_0x3dd16f;super(_0x30187d),this[_0x17345c(0x1d1)]=this[_0x17345c(0x1d4)](),this[_0x17345c(0x1c1)]=new _0x1de01a(_0x30187d),this[_0x17345c(0x1bf)]=new _0x1236c6(_0x30187d),this[_0x17345c(0x1d9)]=new _0x18bf72(_0x30187d,_0x577270),this[_0x17345c(0x1eb)]=new _0x15f950(_0x30187d),this[_0x17345c(0x1eb)][_0x17345c(0x1ee)](this[_0x17345c(0x1c4)]()),this[_0x17345c(0x1e1)](_0x17345c(0x1c8),_0x1f1d5f),this[_0x17345c(0x1ee)]({'tag':_0x17345c(0x1e7),'attributes':{'class':['ck',_0x17345c(0x1cb),_0x17345c(0x1e2)],'tabindex':'-1'},'children':this[_0x17345c(0x1d1)]}),this[_0x17345c(0x1d2)](),this[_0x17345c(0x1c0)](_0x17345c(0x1df),()=>{const _0x3b25ad=_0x17345c;this[_0x3b25ad(0x1da)](this[_0x3b25ad(0x1c9)],_0x6736dd=>{const _0x4ff2c3=_0x3b25ad;this[_0x4ff2c3(0x1c5)](_0x6736dd);});}),this['on'](_0x17345c(0x1bb),()=>{const _0x3c907c=_0x17345c;this[_0x3c907c(0x1d2)]();}),this[_0x17345c(0x1d0)]();}[_0x3dd16f(0x1c3)](){const _0x19fce2=_0x3dd16f;this[_0x19fce2(0x1c9)][_0x19fce2(0x1c3)]();}[_0x3dd16f(0x1d2)](){const _0x232612=_0x3dd16f;switch(this[_0x232612(0x1d1)][_0x232612(0x1e0)](),this[_0x232612(0x1c8)]){case _0x232612(0x1d7):this[_0x232612(0x1d1)][_0x232612(0x1c7)](this[_0x232612(0x1c1)]);break;case _0x232612(0x1d3):this[_0x232612(0x1d1)][_0x232612(0x1c7)](this[_0x232612(0x1bf)]);break;case _0x232612(0x1e8):this[_0x232612(0x1d1)][_0x232612(0x1bc)]([this[_0x232612(0x1d9)],this[_0x232612(0x1eb)]]);}}[_0x3dd16f(0x1da)](_0x4ff66c,_0x1cc5c7){const _0x3415d2=_0x3dd16f,_0x3c7d6e=_0x3415d2(0x1d8),_0x51c786=_0x4ff66c[_0x3415d2(0x1e4)](_0x3c7d6e);if(_0x51c786)return _0x1cc5c7(_0x51c786);const _0x47837f=new MutationObserver(_0x553989=>{const _0x89ee90=_0x3415d2,_0x5afc50=_0x553989[_0x89ee90(0x1b9)](_0x2c6547=>_0x2c6547[_0x89ee90(0x1cf)]===_0x4ff66c&&_0x2c6547[_0x89ee90(0x1e6)][_0x89ee90(0x1dc)]>0x0&&_0x2c6547[_0x89ee90(0x1e6)][0x0][_0x89ee90(0x1ea)][_0x89ee90(0x1dd)]()===_0x3c7d6e);_0x5afc50[_0x89ee90(0x1dc)]&&(_0x47837f[_0x89ee90(0x1c2)](),_0x1cc5c7(_0x5afc50[0x0][_0x89ee90(0x1e6)][0x0]));});_0x47837f[_0x3415d2(0x1c6)](_0x4ff66c,{'childList':!0x0,'subtree':!0x0});}[_0x3dd16f(0x1c5)](_0xb9d823){const _0x3b76a0=_0x3dd16f;_0xb9d823[_0x3b76a0(0x1cc)](_0x3b76a0(0x1ec),_0x10a382=>{const _0x1ed30b=_0x3b76a0;this[_0x1ed30b(0x1cd)](_0x1ed30b(0x1ec),{'imageSrc':_0x10a382[_0x1ed30b(0x1ca)][_0x1ed30b(0x1e3)]});}),_0xb9d823[_0x3b76a0(0x1cc)](_0x3b76a0(0x1e9),()=>{const _0x2802ff=_0x3b76a0;this[_0x2802ff(0x1cd)](_0x2802ff(0x1e9));});}[_0x3dd16f(0x1d0)](){const _0x3c72d3=_0x3dd16f;this[_0x3c72d3(0x1bf)]['on'](_0x3c72d3(0x1d6),()=>{const _0x5da84c=_0x3c72d3;this[_0x5da84c(0x1cd)](_0x5da84c(0x1d6));});}}function _0xfde9(){const _0x1d2d81=['target','_addErrorViewListeners','_items','_setView','error','createCollection','1674ffaIEK','retry','uploading','uc-cloud-image-editor','_editingView','_waitForImageEditorComponent','26808qdpirh','length','toLowerCase','101262nfLJRx','render','clear','set','ck-uploadcare-form','cdnUrl','querySelector','4plDYJc','addedNodes','div','ready','cancel','nodeName','_focusableView','apply','564004dmHrBL','setTemplate','filter','139479ZROFDY','change:status','addMany','36492GTBQQB','994752GNKaDy','_errorView','once','_loadingView','disconnect','focus','getFocusableElement','_addUploadcareImageEditorListeners','observe','add','status','element','detail','ck-reset_all-excluded','addEventListener','fire','1119795jhrlHk'];_0xfde9=function(){return _0x1d2d81;};return _0xfde9();}
23
+ const _0x72bead=_0x1940;(function(_0x5718ca,_0x426800){const _0x48ff17=_0x1940,_0x2fe36b=_0x5718ca();while(!![]){try{const _0x4aaf5f=parseInt(_0x48ff17(0x1fc))/0x1+-parseInt(_0x48ff17(0x204))/0x2*(parseInt(_0x48ff17(0x20f))/0x3)+parseInt(_0x48ff17(0x20b))/0x4*(-parseInt(_0x48ff17(0x215))/0x5)+-parseInt(_0x48ff17(0x209))/0x6+parseInt(_0x48ff17(0x1f7))/0x7+parseInt(_0x48ff17(0x205))/0x8+parseInt(_0x48ff17(0x1f2))/0x9*(parseInt(_0x48ff17(0x211))/0xa);if(_0x4aaf5f===_0x426800)break;else _0x2fe36b['push'](_0x2fe36b['shift']());}catch(_0x18cc2e){_0x2fe36b['push'](_0x2fe36b['shift']());}}}(_0x5c0f,0xb4067));import{View as _0x3136d3}from'ckeditor5/src/ui.js';import _0x21081d from'./uploadcareimageeditformloadingview.js';import _0x3f7348 from'./uploadcareimageeditformerrorview.js';function _0x5c0f(){const _0x13bc6f=['_addErrorViewListeners','fire','getFocusableElement','_errorView','615305cxOfpN','once','addEventListener','element','setTemplate','target','nodeName','cdnUrl','16xOWhzO','605944WCaLuk','ready','addMany','_items','2691342KtNiHq','div','618284AJDvCD','render','_addUploadcareImageEditorListeners','createCollection','224862BLerqu','_focusableView','12074230KtBpGf','filter','retry','status','35tUnqoo','set','length','querySelector','disconnect','_editingView','_loadingView','focus','_setView','toLowerCase','add','cancel','ck-uploadcare-form','addedNodes','detail','ck-reset_all-excluded','uc-cloud-image-editor','change:status','uploading','clear','9dcQVep','_waitForImageEditorComponent','observe','apply','error','6783686xmGfTa'];_0x5c0f=function(){return _0x13bc6f;};return _0x5c0f();}function _0x1940(_0x315b10,_0x2633b9){const _0x5c0f94=_0x5c0f();return _0x1940=function(_0x19404f,_0x3788dd){_0x19404f=_0x19404f-0x1e4;let _0xa38ea3=_0x5c0f94[_0x19404f];return _0xa38ea3;},_0x1940(_0x315b10,_0x2633b9);}import _0xdfffbd from'./uploadcareimageeditformeditingview.js';import _0x5d5ec8 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x5d5ec8{[_0x72bead(0x208)];[_0x72bead(0x1e4)];[_0x72bead(0x1fb)];[_0x72bead(0x21a)];[_0x72bead(0x210)];constructor(_0x295957,_0x2b99f5,_0x100a70){const _0xdfb9eb=_0x72bead;super(_0x295957),this[_0xdfb9eb(0x208)]=this[_0xdfb9eb(0x20e)](),this[_0xdfb9eb(0x1e4)]=new _0x21081d(_0x295957),this[_0xdfb9eb(0x1fb)]=new _0x3f7348(_0x295957),this[_0xdfb9eb(0x21a)]=new _0xdfffbd(_0x295957,_0x100a70),this[_0xdfb9eb(0x210)]=new _0x3136d3(_0x295957),this[_0xdfb9eb(0x210)][_0xdfb9eb(0x200)](this[_0xdfb9eb(0x1fa)]()),this[_0xdfb9eb(0x216)](_0xdfb9eb(0x214),_0x2b99f5),this[_0xdfb9eb(0x200)]({'tag':_0xdfb9eb(0x20a),'attributes':{'class':['ck',_0xdfb9eb(0x1ed),_0xdfb9eb(0x1ea)],'tabindex':'-1'},'children':this[_0xdfb9eb(0x208)]}),this[_0xdfb9eb(0x1e6)](),this[_0xdfb9eb(0x1fd)](_0xdfb9eb(0x20c),()=>{const _0x5e9f4a=_0xdfb9eb;this[_0x5e9f4a(0x1f3)](this[_0x5e9f4a(0x1ff)],_0x38835d=>{const _0x2dbae2=_0x5e9f4a;this[_0x2dbae2(0x20d)](_0x38835d);});}),this['on'](_0xdfb9eb(0x1ef),()=>{const _0x338a49=_0xdfb9eb;this[_0x338a49(0x1e6)]();}),this[_0xdfb9eb(0x1f8)]();}[_0x72bead(0x1e5)](){const _0x49d77e=_0x72bead;this[_0x49d77e(0x1ff)][_0x49d77e(0x1e5)]();}[_0x72bead(0x1e6)](){const _0x45c56a=_0x72bead;switch(this[_0x45c56a(0x208)][_0x45c56a(0x1f1)](),this[_0x45c56a(0x214)]){case _0x45c56a(0x1f0):this[_0x45c56a(0x208)][_0x45c56a(0x1e8)](this[_0x45c56a(0x1e4)]);break;case _0x45c56a(0x1f6):this[_0x45c56a(0x208)][_0x45c56a(0x1e8)](this[_0x45c56a(0x1fb)]);break;case _0x45c56a(0x206):this[_0x45c56a(0x208)][_0x45c56a(0x207)]([this[_0x45c56a(0x21a)],this[_0x45c56a(0x210)]]);}}[_0x72bead(0x1f3)](_0x271219,_0x3626ee){const _0x5f35b5=_0x72bead,_0xcd42a2=_0x5f35b5(0x1ee),_0x8a1dfe=_0x271219[_0x5f35b5(0x218)](_0xcd42a2);if(_0x8a1dfe)return _0x3626ee(_0x8a1dfe);const _0x44cb8b=new MutationObserver(_0x35953d=>{const _0x2c3648=_0x5f35b5,_0x3f83f3=_0x35953d[_0x2c3648(0x212)](_0x30b966=>_0x30b966[_0x2c3648(0x201)]===_0x271219&&_0x30b966[_0x2c3648(0x1eb)][_0x2c3648(0x217)]>0x0&&_0x30b966[_0x2c3648(0x1eb)][0x0][_0x2c3648(0x202)][_0x2c3648(0x1e7)]()===_0xcd42a2);_0x3f83f3[_0x2c3648(0x217)]&&(_0x44cb8b[_0x2c3648(0x219)](),_0x3626ee(_0x3f83f3[0x0][_0x2c3648(0x1eb)][0x0]));});_0x44cb8b[_0x5f35b5(0x1f4)](_0x271219,{'childList':!0x0,'subtree':!0x0});}[_0x72bead(0x20d)](_0x2c0d38){const _0x2c718f=_0x72bead;_0x2c0d38[_0x2c718f(0x1fe)](_0x2c718f(0x1f5),_0x3a28d0=>{const _0x63da89=_0x2c718f;this[_0x63da89(0x1f9)](_0x63da89(0x1f5),{'imageSrc':_0x3a28d0[_0x63da89(0x1ec)][_0x63da89(0x203)]});}),_0x2c0d38[_0x2c718f(0x1fe)](_0x2c718f(0x1e9),()=>{const _0x1e178b=_0x2c718f;this[_0x1e178b(0x1f9)](_0x1e178b(0x1e9));});}[_0x72bead(0x1f8)](){const _0x1873de=_0x72bead;this[_0x1873de(0x1fb)]['on'](_0x1873de(0x213),()=>{const _0x1ab90e=_0x1873de;this[_0x1ab90e(0x1f9)](_0x1ab90e(0x213));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bd3(_0xb717eb,_0x26693e){const _0x174e71=_0x174e();return _0x1bd3=function(_0x1bd39b,_0x584439){_0x1bd39b=_0x1bd39b-0xbc;let _0x26521b=_0x174e71[_0x1bd39b];return _0x26521b;},_0x1bd3(_0xb717eb,_0x26693e);}const _0x2abf51=_0x1bd3;(function(_0x715b27,_0x5f38c6){const _0x347a95=_0x1bd3,_0x2513a2=_0x715b27();while(!![]){try{const _0x4f1207=-parseInt(_0x347a95(0xbf))/0x1*(parseInt(_0x347a95(0xc7))/0x2)+-parseInt(_0x347a95(0xbd))/0x3+-parseInt(_0x347a95(0xc9))/0x4+-parseInt(_0x347a95(0xcd))/0x5+-parseInt(_0x347a95(0xd5))/0x6+parseInt(_0x347a95(0xc5))/0x7*(parseInt(_0x347a95(0xcf))/0x8)+parseInt(_0x347a95(0xd1))/0x9;if(_0x4f1207===_0x5f38c6)break;else _0x2513a2['push'](_0x2513a2['shift']());}catch(_0x477bd6){_0x2513a2['push'](_0x2513a2['shift']());}}}(_0x174e,0x2143c));import{Command as _0x398403}from'ckeditor5/src/core.js';import{Dialog as _0x433cb6}from'ckeditor5/src/ui.js';import _0x5aae04 from'./ui/uploadcareimageeditcontroller.js';function _0x174e(){const _0x559d06=['14wYjpyH','requires','246oaNRiR','get','750968fRVkWd','refresh','_isEditable','plugins','780045QEXtmH','set','821768knMHIv','unbind','8156016wHieRW','bind','selection','element','1062822yjYnHd','isActive','imageInline','uploadcare.allowExternalImagesEditing','model','getSelectedElement','config','689784gFRkCv','imageEditController','1826QBuSdN','execute','imageBlock','document','isEnabled','editor'];_0x174e=function(){return _0x559d06;};return _0x174e();}import{createEditabilityChecker as _0x3d7912}from'../utils/editingutils.js';export default class J extends _0x398403{[_0x2abf51(0xbe)];static get[_0x2abf51(0xc6)](){return[_0x433cb6];}[_0x2abf51(0xcb)];constructor(_0x3946f9){const _0x3f0b56=_0x2abf51;super(_0x3946f9),this[_0x3f0b56(0xbe)]=void 0x0,this[_0x3f0b56(0xcb)]=_0x3d7912(_0x3946f9[_0x3f0b56(0xbc)][_0x3f0b56(0xc8)](_0x3f0b56(0xd8))||[]),this[_0x3f0b56(0xce)]({'isActive':!0x1});}[_0x2abf51(0xca)](){const _0x2d51fb=_0x2abf51,_0x2b9023=this[_0x2d51fb(0xc4)][_0x2d51fb(0xd9)][_0x2d51fb(0xc2)][_0x2d51fb(0xd3)][_0x2d51fb(0xda)]();this[_0x2d51fb(0xc3)]=this[_0x2d51fb(0xcb)](_0x2b9023);}[_0x2abf51(0xc0)](){const _0x4ce1a8=_0x2abf51;this[_0x4ce1a8(0xbe)]&&(this[_0x4ce1a8(0xd0)](_0x4ce1a8(0xd6)),this[_0x4ce1a8(0xbe)]=void 0x0);const _0x58eced=this[_0x4ce1a8(0xc4)][_0x4ce1a8(0xd9)][_0x4ce1a8(0xc2)][_0x4ce1a8(0xd3)][_0x4ce1a8(0xda)]();_0x58eced&&(_0x58eced['is'](_0x4ce1a8(0xd4),_0x4ce1a8(0xc1))||_0x58eced['is'](_0x4ce1a8(0xd4),_0x4ce1a8(0xd7)))&&(this[_0x4ce1a8(0xbe)]=new _0x5aae04(this[_0x4ce1a8(0xc4)],this[_0x4ce1a8(0xc4)][_0x4ce1a8(0xcc)][_0x4ce1a8(0xc8)](_0x433cb6),_0x58eced),this[_0x4ce1a8(0xd2)](_0x4ce1a8(0xd6))['to'](this[_0x4ce1a8(0xbe)],_0x4ce1a8(0xd6)));}}
23
+ function _0x44b3(){const _0x140615=['editor','498478WxcFmh','plugins','1203546ISKIij','get','imageInline','1679628MxVplB','485392YtROVG','isActive','execute','13509748KHRGRT','getSelectedElement','bind','1346190FdFlGe','_isEditable','imageEditController','set','selection','imageBlock','refresh','element','requires','config','isEnabled','uploadcare.allowExternalImagesEditing','document','2374970QVHggB','model','unbind'];_0x44b3=function(){return _0x140615;};return _0x44b3();}const _0x3ed25b=_0x5155;(function(_0x4111f5,_0x2a6736){const _0x23985b=_0x5155,_0x4ab73c=_0x4111f5();while(!![]){try{const _0x3bf74d=-parseInt(_0x23985b(0x1d5))/0x1+-parseInt(_0x23985b(0x1db))/0x2+parseInt(_0x23985b(0x1d7))/0x3+-parseInt(_0x23985b(0x1da))/0x4+-parseInt(_0x23985b(0x1ee))/0x5+-parseInt(_0x23985b(0x1e1))/0x6+parseInt(_0x23985b(0x1de))/0x7;if(_0x3bf74d===_0x2a6736)break;else _0x4ab73c['push'](_0x4ab73c['shift']());}catch(_0x1c04dc){_0x4ab73c['push'](_0x4ab73c['shift']());}}}(_0x44b3,0x72eb2));import{Command as _0x46b23b}from'ckeditor5/src/core.js';function _0x5155(_0x4a3b46,_0x4da6ec){const _0x44b364=_0x44b3();return _0x5155=function(_0x51555d,_0x192eb4){_0x51555d=_0x51555d-0x1d4;let _0x6468b2=_0x44b364[_0x51555d];return _0x6468b2;},_0x5155(_0x4a3b46,_0x4da6ec);}import{Dialog as _0x3d652d}from'ckeditor5/src/ui.js';import _0x3cd296 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1673cd}from'../utils/editingutils.js';export default class J extends _0x46b23b{[_0x3ed25b(0x1e3)];static get[_0x3ed25b(0x1e9)](){return[_0x3d652d];}[_0x3ed25b(0x1e2)];constructor(_0x4091c9){const _0x229965=_0x3ed25b;super(_0x4091c9),this[_0x229965(0x1e3)]=void 0x0,this[_0x229965(0x1e2)]=_0x1673cd(_0x4091c9[_0x229965(0x1ea)][_0x229965(0x1d8)](_0x229965(0x1ec))||[]),this[_0x229965(0x1e4)]({'isActive':!0x1});}[_0x3ed25b(0x1e7)](){const _0x1d25a2=_0x3ed25b,_0x3f518f=this[_0x1d25a2(0x1d4)][_0x1d25a2(0x1ef)][_0x1d25a2(0x1ed)][_0x1d25a2(0x1e5)][_0x1d25a2(0x1df)]();this[_0x1d25a2(0x1eb)]=this[_0x1d25a2(0x1e2)](_0x3f518f);}[_0x3ed25b(0x1dd)](){const _0x179598=_0x3ed25b;this[_0x179598(0x1e3)]&&(this[_0x179598(0x1f0)](_0x179598(0x1dc)),this[_0x179598(0x1e3)]=void 0x0);const _0x551eec=this[_0x179598(0x1d4)][_0x179598(0x1ef)][_0x179598(0x1ed)][_0x179598(0x1e5)][_0x179598(0x1df)]();_0x551eec&&(_0x551eec['is'](_0x179598(0x1e8),_0x179598(0x1e6))||_0x551eec['is'](_0x179598(0x1e8),_0x179598(0x1d9)))&&(this[_0x179598(0x1e3)]=new _0x3cd296(this[_0x179598(0x1d4)],this[_0x179598(0x1d4)][_0x179598(0x1d6)][_0x179598(0x1d8)](_0x3d652d),_0x551eec),this[_0x179598(0x1e0)](_0x179598(0x1dc))['to'](this[_0x179598(0x1e3)],_0x179598(0x1dc)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12dc64=_0x2bef;(function(_0xfba112,_0x4a6081){const _0x2b3d7b=_0x2bef,_0x1f63af=_0xfba112();while(!![]){try{const _0x2e20b1=-parseInt(_0x2b3d7b(0xa8))/0x1+-parseInt(_0x2b3d7b(0x9b))/0x2*(parseInt(_0x2b3d7b(0xa5))/0x3)+-parseInt(_0x2b3d7b(0xa9))/0x4*(parseInt(_0x2b3d7b(0x9a))/0x5)+-parseInt(_0x2b3d7b(0xae))/0x6*(-parseInt(_0x2b3d7b(0xad))/0x7)+parseInt(_0x2b3d7b(0x9c))/0x8*(-parseInt(_0x2b3d7b(0xa4))/0x9)+-parseInt(_0x2b3d7b(0xa6))/0xa+parseInt(_0x2b3d7b(0xa0))/0xb*(parseInt(_0x2b3d7b(0xb0))/0xc);if(_0x2e20b1===_0x4a6081)break;else _0x1f63af['push'](_0x1f63af['shift']());}catch(_0x57680f){_0x1f63af['push'](_0x1f63af['shift']());}}}(_0x72b8,0x950a5));function _0x72b8(){const _0x4beb2a=['4170FITDsN','pluginName','44940804yJWoTf','requires','5prStpI','2193226zEClJg','640YUqLus','ImageEditing','uploadcareImageEdit','isPremiumPlugin','11KSjStR','isOfficialPlugin','add','commands','86049DZPROL','3GOVqGf','7756350LmAkYD','UploadcareImageEditEditing','540259DjBNgJ','2583824cokLod','ImageUtils','uploadcareImageReplace','init','6937lXjAtc'];_0x72b8=function(){return _0x4beb2a;};return _0x72b8();}function _0x2bef(_0x4c70be,_0x442566){const _0x72b8a1=_0x72b8();return _0x2bef=function(_0x2beff4,_0x447aeb){_0x2beff4=_0x2beff4-0x9a;let _0x55590a=_0x72b8a1[_0x2beff4];return _0x55590a;},_0x2bef(_0x4c70be,_0x442566);}import{Plugin as _0x2896fd}from'ckeditor5/src/core.js';import{Notification as _0x4e4ff8}from'ckeditor5/src/ui.js';import _0x91b798 from'./uploadcareimageeditcommand.js';import _0xba4ee3 from'./uploadcareimagereplacecommand.js';import _0xc7b7ed from'../uploadcareediting.js';export default class g extends _0x2896fd{static get[_0x12dc64(0xaf)](){const _0x238af1=_0x12dc64;return _0x238af1(0xa7);}static get[_0x12dc64(0xb1)](){const _0xcbe007=_0x12dc64;return[_0xc7b7ed,_0x4e4ff8,_0xcbe007(0xaa),_0xcbe007(0x9d)];}static get[_0x12dc64(0xa1)](){return!0x0;}static get[_0x12dc64(0x9f)](){return!0x0;}[_0x12dc64(0xac)](){const _0x350903=_0x12dc64,{editor:_0x1d5f1c}=this;_0x1d5f1c[_0x350903(0xa3)][_0x350903(0xa2)](_0x350903(0x9e),new _0x91b798(_0x1d5f1c)),_0x1d5f1c[_0x350903(0xa3)][_0x350903(0xa2)](_0x350903(0xab),new _0xba4ee3(_0x1d5f1c));}}
23
+ const _0x3d184e=_0x1579;(function(_0x5445f6,_0x5d8085){const _0x41f3a8=_0x1579,_0x1099f=_0x5445f6();while(!![]){try{const _0x17e71d=parseInt(_0x41f3a8(0x1a7))/0x1+parseInt(_0x41f3a8(0x1ad))/0x2*(-parseInt(_0x41f3a8(0x1a2))/0x3)+-parseInt(_0x41f3a8(0x1a8))/0x4+parseInt(_0x41f3a8(0x1ae))/0x5+-parseInt(_0x41f3a8(0x1a5))/0x6+parseInt(_0x41f3a8(0x1ac))/0x7+-parseInt(_0x41f3a8(0x1ab))/0x8*(-parseInt(_0x41f3a8(0x1a9))/0x9);if(_0x17e71d===_0x5d8085)break;else _0x1099f['push'](_0x1099f['shift']());}catch(_0x3cf427){_0x1099f['push'](_0x1099f['shift']());}}}(_0x1ca6,0x84726));function _0x1ca6(){const _0x112ac1=['add','904CFTkNK','326830kKBtQl','44754jfNFTx','1432790kpPILp','UploadcareImageEditEditing','pluginName','uploadcareImageReplace','init','commands','isPremiumPlugin','uploadcareImageEdit','isOfficialPlugin','138DFncOx','requires','ImageEditing','2742570YPxEiT','ImageUtils','818520mDkOXB','1859720XAOMSZ','106893mSlIIU'];_0x1ca6=function(){return _0x112ac1;};return _0x1ca6();}import{Plugin as _0x41adb2}from'ckeditor5/src/core.js';function _0x1579(_0x4b9f18,_0x4cb81f){const _0x1ca688=_0x1ca6();return _0x1579=function(_0x1579a8,_0x3a69da){_0x1579a8=_0x1579a8-0x19f;let _0x468439=_0x1ca688[_0x1579a8];return _0x468439;},_0x1579(_0x4b9f18,_0x4cb81f);}import{Notification as _0x3d203d}from'ckeditor5/src/ui.js';import _0x5b6b7f from'./uploadcareimageeditcommand.js';import _0x828f07 from'./uploadcareimagereplacecommand.js';import _0x33b5c9 from'../uploadcareediting.js';export default class g extends _0x41adb2{static get[_0x3d184e(0x1b0)](){const _0x512376=_0x3d184e;return _0x512376(0x1af);}static get[_0x3d184e(0x1a3)](){const _0x248147=_0x3d184e;return[_0x33b5c9,_0x3d203d,_0x248147(0x1a6),_0x248147(0x1a4)];}static get[_0x3d184e(0x1a1)](){return!0x0;}static get[_0x3d184e(0x19f)](){return!0x0;}[_0x3d184e(0x1b2)](){const _0x1bf81e=_0x3d184e,{editor:_0x5c64a7}=this;_0x5c64a7[_0x1bf81e(0x1b3)][_0x1bf81e(0x1aa)](_0x1bf81e(0x1a0),new _0x5b6b7f(_0x5c64a7)),_0x5c64a7[_0x1bf81e(0x1b3)][_0x1bf81e(0x1aa)](_0x1bf81e(0x1b1),new _0x828f07(_0x5c64a7));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1dbeea}from'ckeditor5/src/core.js';import{ButtonView as _0x3b61eb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe63185}from'ckeditor5/src/icons.js';import{createElement as _0x2cd39a}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 _0x1dbeea{['_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 _0x58ac67=this['editor'];_0x58ac67['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3e4abe=>{const _0x4a8249=_0x58ac67['commands']['get']('uploadcareImageEdit'),_0x44542f=new _0x3b61eb(_0x3e4abe),t=_0x3e4abe['t'];return _0x44542f['set']({'icon':_0xe63185,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x44542f['bind']('isEnabled')['to'](_0x4a8249),_0x44542f['bind']('isOn')['to'](_0x4a8249,'isActive'),this['listenTo'](_0x44542f,'execute',()=>{_0x58ac67['execute']('uploadcareImageEdit'),_0x58ac67['editing']['view']['focus']();}),_0x44542f;}),this['_initConfig']();}['_initConfig'](){const _0x157cee=_0x2cd39a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x157cee),this['listenTo'](this['editor'],'destroy',()=>{_0x157cee['remove']();});}}
23
+ import{Plugin as _0x1738d2}from'ckeditor5/src/core.js';import{ButtonView as _0x4fbab5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f529e}from'ckeditor5/src/icons.js';import{createElement as _0x20cd34}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 _0x1738d2{['_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 _0x42d174=this['editor'];_0x42d174['ui']['componentFactory']['add']('uploadcareImageEdit',_0x46e1d1=>{const _0x2ab11c=_0x42d174['commands']['get']('uploadcareImageEdit'),_0x5756a9=new _0x4fbab5(_0x46e1d1),t=_0x46e1d1['t'];return _0x5756a9['set']({'icon':_0x1f529e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5756a9['bind']('isEnabled')['to'](_0x2ab11c),_0x5756a9['bind']('isOn')['to'](_0x2ab11c,'isActive'),this['listenTo'](_0x5756a9,'execute',()=>{_0x42d174['execute']('uploadcareImageEdit'),_0x42d174['editing']['view']['focus']();}),_0x5756a9;}),this['_initConfig']();}['_initConfig'](){const _0x88cba7=_0x20cd34(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x88cba7),this['listenTo'](this['editor'],'destroy',()=>{_0x88cba7['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x475c12=_0x5eb6;(function(_0x1ab0e1,_0x1a8e99){const _0x15b9b9=_0x5eb6,_0x21f065=_0x1ab0e1();while(!![]){try{const _0x110f58=parseInt(_0x15b9b9(0x14d))/0x1*(-parseInt(_0x15b9b9(0x158))/0x2)+parseInt(_0x15b9b9(0x15b))/0x3+-parseInt(_0x15b9b9(0x14c))/0x4+-parseInt(_0x15b9b9(0x148))/0x5*(-parseInt(_0x15b9b9(0x161))/0x6)+-parseInt(_0x15b9b9(0x14e))/0x7*(parseInt(_0x15b9b9(0x14a))/0x8)+parseInt(_0x15b9b9(0x151))/0x9*(parseInt(_0x15b9b9(0x14f))/0xa)+parseInt(_0x15b9b9(0x153))/0xb;if(_0x110f58===_0x1a8e99)break;else _0x21f065['push'](_0x21f065['shift']());}catch(_0x2f47ed){_0x21f065['push'](_0x21f065['shift']());}}}(_0x59c0,0x313b8));function _0x59c0(){const _0x4d1c61=['sizes','301262BfOoFh','execute','imageInline','558108yEbTwY','setAttributes','change','getSelectedElement','element','refresh','6XKwNet','removeAttribute','1347595DUbPin','document','88RmEWTg','selection','506792hmKmNj','1JvuzkR','198401GXbtBI','13990THRSFR','srcset','486HeirCM','model','2856227XfSvTh','isEnabled','imageBlock','editor'];_0x59c0=function(){return _0x4d1c61;};return _0x59c0();}import{Command as _0x434015}from'ckeditor5/src/core.js';function _0x5eb6(_0x2dbad3,_0xbbb10){const _0x59c022=_0x59c0();return _0x5eb6=function(_0x5eb6f9,_0x385747){_0x5eb6f9=_0x5eb6f9-0x147;let _0x5ad436=_0x59c022[_0x5eb6f9];return _0x5ad436;},_0x5eb6(_0x2dbad3,_0xbbb10);}export default class O extends _0x434015{[_0x475c12(0x160)](){const _0x3a676d=_0x475c12,_0x1a15ea=this[_0x3a676d(0x156)][_0x3a676d(0x152)][_0x3a676d(0x149)][_0x3a676d(0x14b)][_0x3a676d(0x15e)]();this[_0x3a676d(0x154)]=Boolean(_0x1a15ea&&(_0x1a15ea['is'](_0x3a676d(0x15f),_0x3a676d(0x155))||_0x1a15ea['is'](_0x3a676d(0x15f),_0x3a676d(0x15a))));}[_0x475c12(0x159)](_0x973973){const _0x382e13=_0x475c12,_0x57c9f8=this[_0x382e13(0x156)][_0x382e13(0x152)][_0x382e13(0x149)][_0x382e13(0x14b)][_0x382e13(0x15e)]();this[_0x382e13(0x156)][_0x382e13(0x152)][_0x382e13(0x15d)](_0x8ea0ce=>{const _0x505732=_0x382e13;_0x8ea0ce[_0x505732(0x15c)](_0x973973,_0x57c9f8),_0x8ea0ce[_0x505732(0x147)](_0x505732(0x150),_0x57c9f8),_0x8ea0ce[_0x505732(0x147)](_0x505732(0x157),_0x57c9f8);});}}
23
+ const _0x1df880=_0x385b;(function(_0xe27645,_0x452989){const _0x160a22=_0x385b,_0x400bff=_0xe27645();while(!![]){try{const _0x14f0a3=-parseInt(_0x160a22(0xe5))/0x1+-parseInt(_0x160a22(0xf1))/0x2+parseInt(_0x160a22(0xdf))/0x3+-parseInt(_0x160a22(0xf2))/0x4+parseInt(_0x160a22(0xe4))/0x5*(-parseInt(_0x160a22(0xe7))/0x6)+parseInt(_0x160a22(0xe1))/0x7*(-parseInt(_0x160a22(0xec))/0x8)+-parseInt(_0x160a22(0xdb))/0x9*(-parseInt(_0x160a22(0xef))/0xa);if(_0x14f0a3===_0x452989)break;else _0x400bff['push'](_0x400bff['shift']());}catch(_0xe8761a){_0x400bff['push'](_0x400bff['shift']());}}}(_0x3938,0x51d83));function _0x385b(_0x27b3a5,_0x2da0b3){const _0x393833=_0x3938();return _0x385b=function(_0x385b79,_0x37e88d){_0x385b79=_0x385b79-0xd9;let _0x12f98f=_0x393833[_0x385b79];return _0x12f98f;},_0x385b(_0x27b3a5,_0x2da0b3);}function _0x3938(){const _0x5c5b7f=['40WqFjPW','524321imZYCp','setAttributes','192414PFxDWE','sizes','refresh','isEnabled','document','17952cahXPD','element','execute','19107630DlGIKW','imageInline','938482XpGtbi','1279252DFZgGC','getSelectedElement','removeAttribute','9milBPz','editor','model','imageBlock','1706589YJWmVP','srcset','1792wqQrqB','change','selection'];_0x3938=function(){return _0x5c5b7f;};return _0x3938();}import{Command as _0x5bbacf}from'ckeditor5/src/core.js';export default class O extends _0x5bbacf{[_0x1df880(0xe9)](){const _0x330a0b=_0x1df880,_0x561126=this[_0x330a0b(0xdc)][_0x330a0b(0xdd)][_0x330a0b(0xeb)][_0x330a0b(0xe3)][_0x330a0b(0xd9)]();this[_0x330a0b(0xea)]=Boolean(_0x561126&&(_0x561126['is'](_0x330a0b(0xed),_0x330a0b(0xde))||_0x561126['is'](_0x330a0b(0xed),_0x330a0b(0xf0))));}[_0x1df880(0xee)](_0x2ab9b5){const _0x3ce0e1=_0x1df880,_0x4b301c=this[_0x3ce0e1(0xdc)][_0x3ce0e1(0xdd)][_0x3ce0e1(0xeb)][_0x3ce0e1(0xe3)][_0x3ce0e1(0xd9)]();this[_0x3ce0e1(0xdc)][_0x3ce0e1(0xdd)][_0x3ce0e1(0xe2)](_0xea47b9=>{const _0x20d341=_0x3ce0e1;_0xea47b9[_0x20d341(0xe6)](_0x2ab9b5,_0x4b301c),_0xea47b9[_0x20d341(0xda)](_0x20d341(0xe0),_0x4b301c),_0xea47b9[_0x20d341(0xda)](_0x20d341(0xe8),_0x4b301c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3add46=_0x1d62;(function(_0x135b95,_0x400354){var _0x55ba59=_0x1d62,_0x333b6a=_0x135b95();while(!![]){try{var _0x58c825=-parseInt(_0x55ba59(0x112))/0x1*(parseInt(_0x55ba59(0x10c))/0x2)+parseInt(_0x55ba59(0x105))/0x3+-parseInt(_0x55ba59(0x106))/0x4*(parseInt(_0x55ba59(0x10b))/0x5)+-parseInt(_0x55ba59(0x10e))/0x6*(parseInt(_0x55ba59(0x104))/0x7)+-parseInt(_0x55ba59(0x111))/0x8+-parseInt(_0x55ba59(0x10f))/0x9*(-parseInt(_0x55ba59(0x108))/0xa)+parseInt(_0x55ba59(0x113))/0xb;if(_0x58c825===_0x400354)break;else _0x333b6a['push'](_0x333b6a['shift']());}catch(_0x27942c){_0x333b6a['push'](_0x333b6a['shift']());}}}(_0x2101,0xe848e));function _0x1d62(_0xacf88c,_0x6d5feb){var _0x210121=_0x2101();return _0x1d62=function(_0x1d623f,_0x52819e){_0x1d623f=_0x1d623f-0x104;var _0x5f099a=_0x210121[_0x1d623f];return _0x5f099a;},_0x1d62(_0xacf88c,_0x6d5feb);}function _0x2101(){var _0x563399=['4XhSIXP','pluginName','6514542VpQVrf','90711XPcnHt','isOfficialPlugin','9542608nZpyEK','560839lSkIXe','51203240dTdSYs','7bahgYO','166887ksyEWE','32UaCtRK','UploadcareImageEdit','20nXvdpC','isPremiumPlugin','requires','236830ThOihT'];_0x2101=function(){return _0x563399;};return _0x2101();}import{Plugin as _0x5a3e46}from'ckeditor5/src/core.js';import _0x2db59c from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4d0496 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x5a3e46{static get[_0x3add46(0x10d)](){var _0x22c7b5=_0x3add46;return _0x22c7b5(0x107);}static get[_0x3add46(0x10a)](){return[_0x2db59c,_0x4d0496];}static get[_0x3add46(0x110)](){return!0x0;}static get[_0x3add46(0x109)](){return!0x0;}}
23
+ var _0x4d5dca=_0x478c;(function(_0x988492,_0x3a7b8c){var _0x3b9955=_0x478c,_0x37978f=_0x988492();while(!![]){try{var _0x17ca98=-parseInt(_0x3b9955(0x114))/0x1*(-parseInt(_0x3b9955(0x119))/0x2)+-parseInt(_0x3b9955(0x117))/0x3*(-parseInt(_0x3b9955(0x11f))/0x4)+parseInt(_0x3b9955(0x11d))/0x5*(parseInt(_0x3b9955(0x118))/0x6)+parseInt(_0x3b9955(0x113))/0x7+parseInt(_0x3b9955(0x110))/0x8+-parseInt(_0x3b9955(0x115))/0x9*(-parseInt(_0x3b9955(0x116))/0xa)+-parseInt(_0x3b9955(0x11c))/0xb*(parseInt(_0x3b9955(0x111))/0xc);if(_0x17ca98===_0x3a7b8c)break;else _0x37978f['push'](_0x37978f['shift']());}catch(_0x3376a4){_0x37978f['push'](_0x37978f['shift']());}}}(_0x51db,0x672a2));import{Plugin as _0xc23505}from'ckeditor5/src/core.js';function _0x478c(_0x53cd13,_0x4ac197){var _0x51db4c=_0x51db();return _0x478c=function(_0x478ca3,_0x4f21ac){_0x478ca3=_0x478ca3-0x10f;var _0xdf1886=_0x51db4c[_0x478ca3];return _0xdf1886;},_0x478c(_0x53cd13,_0x4ac197);}import _0x4d6481 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x51c83a from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x51db(){var _0x2d1aee=['isPremiumPlugin','794530veZjBY','357995EVarkr','isOfficialPlugin','518236HlapPu','requires','1342848lJDmgI','108plszeM','UploadcareImageEdit','228088TQMxzO','311iJtMdl','46728xQEWUJ','160pLJMos','3daYjnI','48hUIqwl','558BBZUvB','pluginName'];_0x51db=function(){return _0x2d1aee;};return _0x51db();}export default class P extends _0xc23505{static get[_0x4d5dca(0x11a)](){var _0x4a0be3=_0x4d5dca;return _0x4a0be3(0x112);}static get[_0x4d5dca(0x10f)](){return[_0x4d6481,_0x51c83a];}static get[_0x4d5dca(0x11e)](){return!0x0;}static get[_0x4d5dca(0x11b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x380e6b=_0x22b5;(function(_0x4050d6,_0x4120a6){const _0x502441=_0x22b5,_0x2982d4=_0x4050d6();while(!![]){try{const _0x23cf1e=-parseInt(_0x502441(0xc8))/0x1*(-parseInt(_0x502441(0xbe))/0x2)+parseInt(_0x502441(0xb3))/0x3+parseInt(_0x502441(0xb2))/0x4+-parseInt(_0x502441(0x99))/0x5*(parseInt(_0x502441(0xc6))/0x6)+parseInt(_0x502441(0x9e))/0x7*(-parseInt(_0x502441(0xcb))/0x8)+parseInt(_0x502441(0xa8))/0x9*(parseInt(_0x502441(0xaa))/0xa)+parseInt(_0x502441(0xb1))/0xb;if(_0x23cf1e===_0x4120a6)break;else _0x2982d4['push'](_0x2982d4['shift']());}catch(_0x3c9453){_0x2982d4['push'](_0x2982d4['shift']());}}}(_0x1d2b,0x46290));import{Plugin as _0x40d98b}from'ckeditor5/src/core.js';import{IconDropbox as _0xf1c2ec,IconFacebook as _0x122210,IconGoogleDrive as _0x3865ea,IconGooglePhotos as _0x16cc87,IconUploadcareImageUpload as _0x1b96d2,IconUploadcareLink as _0x11aa5b,IconOneDrive as _0x17ab47}from'ckeditor5/src/icons.js';function _0x1d2b(){const _0x60d364=['get','123024zKYwKz','_createDropdownButtons','isPremiumPlugin','_createMenuBarButtons','_normalizeConfigSourceList','isOfficialPlugin','GPhotos','isEnabled','map','afterInit','config','OneDrive','Facebook','entries','Insert','evaluationLimit','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','forEach','init','URL','assetManager','UploadcareUI','locale','invalid','_licenseKeyCheckInterval','uploadcare','uploadcare.uploader.sourceList','has','label','uploadcareLicenseKeyDomainLimit','Dropbox','215qLHiBd','Uploadcare','_createToolbarButton','upload','tooltip','217tmvWkU','ImageInsertUI','plugins','text','uploadcareLicenseKeyInvalid','push','trialLimit','_showLicenseError','uploadcareLicenseKeyNotAllowed','bind','325998ApNXJD','Local','40OERteS','shortText','isImageSelected','featureNotAllowed','licenseKey','destroy','uploadcareLicenseKeyUsageLimit','9271427dsInhD','787728NbNNlw','93792xAzDod','uploadcareLicenseKeyTrialLimit','_createButton','execute','url','expired','type','commands','uploadcareLicenseKeyValid','registerIntegration','GDrive','12ZOEpNw','reduce','usageLimit','_getIntegrationKey','withText','pluginName','icon','domainLimit','79806zGeCwy','Replace','20016KfmaZm','editor'];_0x1d2b=function(){return _0x60d364;};return _0x1d2b();}import{ButtonView as _0x35eec9,MenuBarMenuListItemButtonView as _0x139f2b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x46cc05}from'./uploadcareconfig.js';import{getTranslation as _0x473868}from'./utils/common-translations.js';function _0x22b5(_0x58017c,_0x49f816){const _0x1d2bdd=_0x1d2b();return _0x22b5=function(_0x22b5ab,_0x5e0e2c){_0x22b5ab=_0x22b5ab-0x83;let _0x17df66=_0x1d2bdd[_0x22b5ab];return _0x17df66;},_0x22b5(_0x58017c,_0x49f816);}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 _0x40d98b{[_0x380e6b(0xae)];[_0x380e6b(0x92)];static get[_0x380e6b(0xc3)](){const _0x24646d=_0x380e6b;return _0x24646d(0x8f);}static get[_0x380e6b(0xd0)](){return!0x0;}static get[_0x380e6b(0xcd)](){return!0x0;}[_0x380e6b(0x8c)](){const _0x5efeea=_0x380e6b;this[_0x5efeea(0xae)]=this[_0x5efeea(0xc9)][_0x5efeea(0x83)][_0x5efeea(0xca)](_0x5efeea(0xae));const _0x4697c7=this[_0x5efeea(0xc9)];this[_0x5efeea(0x92)]=setInterval(()=>{const _0x399eb3=_0x5efeea;let _0x411035;for(const _0xb00459 in _0x4697c7){const _0x30f12d=_0xb00459,_0x32303c=_0x4697c7[_0x30f12d];if(_0x399eb3(0xbb)==_0x32303c||_0x399eb3(0xa2)==_0x32303c||_0x399eb3(0x8a)==_0x32303c||_0x399eb3(0x97)==_0x32303c||_0x399eb3(0xa6)==_0x32303c||_0x399eb3(0x89)==_0x32303c||_0x399eb3(0xb4)==_0x32303c||_0x399eb3(0xb0)==_0x32303c){delete _0x4697c7[_0x30f12d],_0x411035=_0x32303c,clearInterval(this[_0x399eb3(0x92)]),this[_0x399eb3(0x92)]=void 0x0;break;}}_0x399eb3(0xa2)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0x91)),_0x399eb3(0x8a)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0xb8)),_0x399eb3(0x97)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0xc5)),_0x399eb3(0xa6)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0xad),_0x399eb3(0x9a)),_0x399eb3(0x89)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0x88)),_0x399eb3(0xb4)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0xa4)),_0x399eb3(0xb0)==_0x411035&&_0x4697c7[_0x399eb3(0xa5)](_0x399eb3(0xc0));},0x3e8);}[_0x380e6b(0xd4)](){const _0x5af48d=_0x380e6b,{editor:_0x138f88}=this,_0x549d69=_0x138f88[_0x5af48d(0xba)][_0x5af48d(0xca)](_0x5af48d(0x93));if(!_0x549d69)return;const _0x240b20=this[_0x5af48d(0xcf)](_0x138f88[_0x5af48d(0x83)][_0x5af48d(0xca)](_0x5af48d(0x94)))[_0x5af48d(0xbf)]((_0x5e7868,_0x499884)=>{const _0x30d753=_0x5af48d,_0x20fb10=this[_0x30d753(0xc1)](_0x499884[_0x30d753(0xb9)]);return _0x5e7868[_0x20fb10]||(_0x5e7868[_0x20fb10]=[]),_0x5e7868[_0x20fb10][_0x30d753(0xa3)](_0x499884),_0x5e7868;},{});_0x138f88[_0x5af48d(0xa0)][_0x5af48d(0x95)](_0x5af48d(0x9f))&&_0x138f88[_0x5af48d(0xba)][_0x5af48d(0xca)](_0x5af48d(0x93))&&Object[_0x5af48d(0x86)](_0x240b20)[_0x5af48d(0x8b)](([_0x436919,_0x3d575e])=>{const _0x2bf3d6=_0x5af48d;_0x138f88[_0x2bf3d6(0xa0)][_0x2bf3d6(0xca)](_0x2bf3d6(0x9f))[_0x2bf3d6(0xbc)]({'name':_0x436919,'observable':()=>_0x549d69,'buttonViewCreator':()=>this[_0x2bf3d6(0x9b)](_0x3d575e),'formViewCreator':()=>this[_0x2bf3d6(0xcc)](_0x3d575e),'menuBarButtonViewCreator':()=>this[_0x2bf3d6(0xce)](_0x3d575e),'override':_0x2bf3d6(0x8e)!==_0x436919});});}[_0x380e6b(0xaf)](){const _0x80b0dd=_0x380e6b;super[_0x80b0dd(0xaf)](),this[_0x80b0dd(0x92)]&&clearInterval(this[_0x80b0dd(0x92)]);}[_0x380e6b(0xcf)](_0x336403){const _0x3405d0=_0x380e6b,{locale:_0x2a89b9}=this[_0x3405d0(0xc9)];return _0x336403[_0x3405d0(0xd3)](_0x5a6177=>{const _0x48c3a6=_0x3405d0,_0x3963b7=_0x473868(_0x2a89b9,_0x5a6177,_0x48c3a6(0x87));switch(_0x5a6177){case _0x46cc05[_0x48c3a6(0xa9)]:return{'icon':_0x1b96d2,'type':_0x46cc05[_0x48c3a6(0xa9)],..._0x3963b7};case _0x46cc05[_0x48c3a6(0x8d)]:return{'icon':_0x11aa5b,'type':_0x46cc05[_0x48c3a6(0x8d)],..._0x3963b7};case _0x46cc05[_0x48c3a6(0x98)]:return{'icon':_0xf1c2ec,'type':_0x46cc05[_0x48c3a6(0x98)],..._0x3963b7};case _0x46cc05[_0x48c3a6(0x85)]:return{'icon':_0x122210,'type':_0x46cc05[_0x48c3a6(0x85)],..._0x3963b7};case _0x46cc05[_0x48c3a6(0xbd)]:return{'icon':_0x3865ea,'type':_0x46cc05[_0x48c3a6(0xbd)],..._0x3963b7};case _0x46cc05[_0x48c3a6(0xd1)]:return{'icon':_0x16cc87,'type':_0x46cc05[_0x48c3a6(0xd1)],..._0x3963b7};case _0x46cc05[_0x48c3a6(0x84)]:return{'icon':_0x17ab47,'type':_0x46cc05[_0x48c3a6(0x84)],..._0x3963b7};}});}[_0x380e6b(0xc1)](_0x50843d){const _0x2ffaf1=_0x380e6b;switch(_0x50843d){case _0x46cc05[_0x2ffaf1(0xa9)]:return _0x2ffaf1(0x9c);case _0x46cc05[_0x2ffaf1(0x8d)]:return _0x2ffaf1(0xb7);default:return _0x2ffaf1(0x8e);}}[_0x380e6b(0xb5)](_0x4b378a,_0x2b1814){const _0x5973a6=_0x380e6b,_0x1cdad5=this[_0x5973a6(0xc9)],_0x33dc05=new _0x4b378a(_0x1cdad5[_0x5973a6(0x90)]),_0x11bf0c=_0x1cdad5[_0x5973a6(0xba)][_0x5973a6(0xca)](_0x5973a6(0x93));return _0x33dc05[_0x5973a6(0xa7)](_0x5973a6(0xd2))['to'](_0x11bf0c),_0x33dc05['on'](_0x5973a6(0xb6),()=>{const _0x3c89d7=_0x5973a6;_0x11bf0c[_0x3c89d7(0xb6)](_0x2b1814);}),_0x33dc05;}[_0x380e6b(0x9b)](_0x46893c){const _0x3b73d0=_0x380e6b,{locale:_0x418866}=this[_0x3b73d0(0xc9)],_0x2bd8f7=this[_0x3b73d0(0xc9)][_0x3b73d0(0xa0)][_0x3b73d0(0xca)](_0x3b73d0(0x9f)),_0x4882f8=_0x46893c[0x0],_0x74b9c2=this[_0x3b73d0(0xb5)](_0x35eec9,_0x4882f8[_0x3b73d0(0xb9)]);return _0x74b9c2[_0x3b73d0(0xc4)]=_0x4882f8[_0x3b73d0(0xc4)],_0x74b9c2[_0x3b73d0(0xa7)](_0x3b73d0(0x96))['to'](_0x2bd8f7,_0x3b73d0(0xac),_0x4419ce=>_0x473868(_0x418866,_0x4882f8[_0x3b73d0(0xb9)],_0x4419ce?_0x3b73d0(0xc7):_0x3b73d0(0x87))[_0x3b73d0(0xa1)]),_0x74b9c2[_0x3b73d0(0x9d)]=!0x0,_0x74b9c2;}[_0x380e6b(0xcc)](_0x10be19){const _0x3008c8=_0x380e6b,{locale:_0x3c76d6}=this[_0x3008c8(0xc9)],_0x301d33=this[_0x3008c8(0xc9)][_0x3008c8(0xa0)][_0x3008c8(0xca)](_0x3008c8(0x9f));return _0x10be19[_0x3008c8(0xd3)](_0x34867e=>{const _0x3fdf46=_0x3008c8,_0x46afaa=this[_0x3fdf46(0xb5)](_0x35eec9,_0x34867e[_0x3fdf46(0xb9)]);return _0x46afaa[_0x3fdf46(0xc2)]=!0x0,_0x46afaa[_0x3fdf46(0xc4)]=_0x34867e[_0x3fdf46(0xc4)],_0x46afaa[_0x3fdf46(0xa7)](_0x3fdf46(0x96))['to'](_0x301d33,_0x3fdf46(0xac),_0x5b0250=>_0x473868(_0x3c76d6,_0x34867e[_0x3fdf46(0xb9)],_0x5b0250?_0x3fdf46(0xc7):_0x3fdf46(0x87))[_0x3fdf46(0xa1)]),_0x46afaa;});}[_0x380e6b(0xce)](_0x340f9e){const _0x5b6e4a=_0x380e6b;return _0x340f9e[_0x5b6e4a(0xd3)](_0x5db95a=>{const _0x1b86b8=_0x5b6e4a,_0x3788fd=this[_0x1b86b8(0xb5)](_0x139f2b,_0x5db95a[_0x1b86b8(0xb9)]);return _0x3788fd[_0x1b86b8(0xc4)]=_0x5db95a[_0x1b86b8(0xc4)],_0x3788fd[_0x1b86b8(0x96)]=_0x5db95a[_0x1b86b8(0xab)],_0x3788fd;});}}
23
+ const _0x3688e5=_0x40c2;(function(_0x4cf9f0,_0x2588f8){const _0x407969=_0x40c2,_0x480a28=_0x4cf9f0();while(!![]){try{const _0x22e4f5=parseInt(_0x407969(0xd5))/0x1*(parseInt(_0x407969(0xd6))/0x2)+parseInt(_0x407969(0xd0))/0x3*(-parseInt(_0x407969(0xd8))/0x4)+-parseInt(_0x407969(0x10e))/0x5+-parseInt(_0x407969(0xe2))/0x6*(-parseInt(_0x407969(0x105))/0x7)+parseInt(_0x407969(0xe7))/0x8*(parseInt(_0x407969(0xf5))/0x9)+-parseInt(_0x407969(0xf7))/0xa*(parseInt(_0x407969(0xcd))/0xb)+-parseInt(_0x407969(0x10f))/0xc*(-parseInt(_0x407969(0x116))/0xd);if(_0x22e4f5===_0x2588f8)break;else _0x480a28['push'](_0x480a28['shift']());}catch(_0xd0b9a9){_0x480a28['push'](_0x480a28['shift']());}}}(_0x1af2,0x40b03));import{Plugin as _0x13398a}from'ckeditor5/src/core.js';import{IconDropbox as _0x501b8b,IconFacebook as _0x1e73f0,IconGoogleDrive as _0x345138,IconGooglePhotos as _0x140559,IconUploadcareImageUpload as _0xbc6130,IconUploadcareLink as _0x198742,IconOneDrive as _0x2a3a17}from'ckeditor5/src/icons.js';function _0x1af2(){const _0x5c4fef=['get','_getIntegrationKey','OneDrive','withText','usageLimit','Uploadcare','featureNotAllowed','label','trialLimit','plugins','315zFRvFd','isEnabled','90Rmqnyb','uploadcareLicenseKeyInvalid','pluginName','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','type','execute','_createToolbarButton','ImageInsertUI','entries','registerIntegration','domainLimit','commands','url','180222NlNGco','Insert','shortText','uploadcareLicenseKeyValid','map','forEach','URL','Local','uploadcare','2013160qZYVso','84WOsxak','Facebook','config','_createDropdownButtons','has','uploadcareLicenseKeyExpired','assetManager','434005pamqSL','editor','tooltip','_createButton','Dropbox','GDrive','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyEvaluationLimit','_createMenuBarButtons','locale','isImageSelected','294481yyktbx','licenseKey','expired','39JBbMUp','afterInit','GPhotos','_licenseKeyCheckInterval','init','8703eShPrZ','68DFoblg','uploadcare.uploader.sourceList','67084HnfzAo','_normalizeConfigSourceList','push','evaluationLimit','invalid','text','isOfficialPlugin','isPremiumPlugin','reduce','uploadcareLicenseKeyUsageLimit','90XgWsmv','icon','bind','UploadcareUI','_showLicenseError','48176nykGrU','Replace','upload','destroy'];_0x1af2=function(){return _0x5c4fef;};return _0x1af2();}import{ButtonView as _0x30c9d2,MenuBarMenuListItemButtonView as _0x356c13}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4709ee}from'./uploadcareconfig.js';import{getTranslation as _0x170199}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 _0x40c2(_0x2f040f,_0x4eabc6){const _0x1af2bf=_0x1af2();return _0x40c2=function(_0x40c21d,_0x43361b){_0x40c21d=_0x40c21d-0xc3;let _0x10c2ea=_0x1af2bf[_0x40c21d];return _0x10c2ea;},_0x40c2(_0x2f040f,_0x4eabc6);}export default class e extends _0x13398a{[_0x3688e5(0xce)];[_0x3688e5(0xd3)];static get[_0x3688e5(0xf9)](){const _0x314762=_0x3688e5;return _0x314762(0xe5);}static get[_0x3688e5(0xde)](){return!0x0;}static get[_0x3688e5(0xdf)](){return!0x0;}[_0x3688e5(0xd4)](){const _0x558717=_0x3688e5;this[_0x558717(0xce)]=this[_0x558717(0xc3)][_0x558717(0x111)][_0x558717(0xeb)](_0x558717(0xce));const _0x11e239=this[_0x558717(0xc3)];this[_0x558717(0xd3)]=setInterval(()=>{const _0x35d5e7=_0x558717;let _0x413279;for(const _0x130639 in _0x11e239){const _0x29032d=_0x130639,_0x3426f5=_0x11e239[_0x29032d];if(_0x35d5e7(0x108)==_0x3426f5||_0x35d5e7(0xf8)==_0x3426f5||_0x35d5e7(0x114)==_0x3426f5||_0x35d5e7(0xfb)==_0x3426f5||_0x35d5e7(0xc8)==_0x3426f5||_0x35d5e7(0xc9)==_0x3426f5||_0x35d5e7(0xfa)==_0x3426f5||_0x35d5e7(0xe1)==_0x3426f5){delete _0x11e239[_0x29032d],_0x413279=_0x3426f5,clearInterval(this[_0x35d5e7(0xd3)]),this[_0x35d5e7(0xd3)]=void 0x0;break;}}_0x35d5e7(0xf8)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0xdc)),_0x35d5e7(0x114)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0xcf)),_0x35d5e7(0xfb)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0x102)),_0x35d5e7(0xc8)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0xf1),_0x35d5e7(0xf0)),_0x35d5e7(0xc9)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0xdb)),_0x35d5e7(0xfa)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0xf3)),_0x35d5e7(0xe1)==_0x413279&&_0x11e239[_0x35d5e7(0xe6)](_0x35d5e7(0xef));},0x3e8);}[_0x3688e5(0xd1)](){const _0x27967c=_0x3688e5,{editor:_0x56dccb}=this,_0x8e5055=_0x56dccb[_0x27967c(0x103)][_0x27967c(0xeb)](_0x27967c(0x10d));if(!_0x8e5055)return;const _0x242003=this[_0x27967c(0xd9)](_0x56dccb[_0x27967c(0x111)][_0x27967c(0xeb)](_0x27967c(0xd7)))[_0x27967c(0xe0)]((_0x311ec2,_0x741c3a)=>{const _0x1a7bba=_0x27967c,_0xb96a9a=this[_0x1a7bba(0xec)](_0x741c3a[_0x1a7bba(0xfc)]);return _0x311ec2[_0xb96a9a]||(_0x311ec2[_0xb96a9a]=[]),_0x311ec2[_0xb96a9a][_0x1a7bba(0xda)](_0x741c3a),_0x311ec2;},{});_0x56dccb[_0x27967c(0xf4)][_0x27967c(0x113)](_0x27967c(0xff))&&_0x56dccb[_0x27967c(0x103)][_0x27967c(0xeb)](_0x27967c(0x10d))&&Object[_0x27967c(0x100)](_0x242003)[_0x27967c(0x10a)](([_0x10aceb,_0x20631c])=>{const _0xfb3c3c=_0x27967c;_0x56dccb[_0xfb3c3c(0xf4)][_0xfb3c3c(0xeb)](_0xfb3c3c(0xff))[_0xfb3c3c(0x101)]({'name':_0x10aceb,'observable':()=>_0x8e5055,'buttonViewCreator':()=>this[_0xfb3c3c(0xfe)](_0x20631c),'formViewCreator':()=>this[_0xfb3c3c(0x112)](_0x20631c),'menuBarButtonViewCreator':()=>this[_0xfb3c3c(0xca)](_0x20631c),'override':_0xfb3c3c(0x115)!==_0x10aceb});});}[_0x3688e5(0xea)](){const _0x11077d=_0x3688e5;super[_0x11077d(0xea)](),this[_0x11077d(0xd3)]&&clearInterval(this[_0x11077d(0xd3)]);}[_0x3688e5(0xd9)](_0x306f1f){const _0x4e44c0=_0x3688e5,{locale:_0x5bfb94}=this[_0x4e44c0(0xc3)];return _0x306f1f[_0x4e44c0(0x109)](_0x25f837=>{const _0x49f992=_0x4e44c0,_0x468b02=_0x170199(_0x5bfb94,_0x25f837,_0x49f992(0x106));switch(_0x25f837){case _0x4709ee[_0x49f992(0x10c)]:return{'icon':_0xbc6130,'type':_0x4709ee[_0x49f992(0x10c)],..._0x468b02};case _0x4709ee[_0x49f992(0x10b)]:return{'icon':_0x198742,'type':_0x4709ee[_0x49f992(0x10b)],..._0x468b02};case _0x4709ee[_0x49f992(0xc6)]:return{'icon':_0x501b8b,'type':_0x4709ee[_0x49f992(0xc6)],..._0x468b02};case _0x4709ee[_0x49f992(0x110)]:return{'icon':_0x1e73f0,'type':_0x4709ee[_0x49f992(0x110)],..._0x468b02};case _0x4709ee[_0x49f992(0xc7)]:return{'icon':_0x345138,'type':_0x4709ee[_0x49f992(0xc7)],..._0x468b02};case _0x4709ee[_0x49f992(0xd2)]:return{'icon':_0x140559,'type':_0x4709ee[_0x49f992(0xd2)],..._0x468b02};case _0x4709ee[_0x49f992(0xed)]:return{'icon':_0x2a3a17,'type':_0x4709ee[_0x49f992(0xed)],..._0x468b02};}});}[_0x3688e5(0xec)](_0x2aae5d){const _0xd573eb=_0x3688e5;switch(_0x2aae5d){case _0x4709ee[_0xd573eb(0x10c)]:return _0xd573eb(0xe9);case _0x4709ee[_0xd573eb(0x10b)]:return _0xd573eb(0x104);default:return _0xd573eb(0x115);}}[_0x3688e5(0xc5)](_0x28c68e,_0x62d6e7){const _0xac7f78=_0x3688e5,_0x33e755=this[_0xac7f78(0xc3)],_0x4f9e94=new _0x28c68e(_0x33e755[_0xac7f78(0xcb)]),_0x367f21=_0x33e755[_0xac7f78(0x103)][_0xac7f78(0xeb)](_0xac7f78(0x10d));return _0x4f9e94[_0xac7f78(0xe4)](_0xac7f78(0xf6))['to'](_0x367f21),_0x4f9e94['on'](_0xac7f78(0xfd),()=>{const _0x22cdf5=_0xac7f78;_0x367f21[_0x22cdf5(0xfd)](_0x62d6e7);}),_0x4f9e94;}[_0x3688e5(0xfe)](_0x4a3d44){const _0x4d8c7f=_0x3688e5,{locale:_0x30b852}=this[_0x4d8c7f(0xc3)],_0x171323=this[_0x4d8c7f(0xc3)][_0x4d8c7f(0xf4)][_0x4d8c7f(0xeb)](_0x4d8c7f(0xff)),_0x66239f=_0x4a3d44[0x0],_0x2b3626=this[_0x4d8c7f(0xc5)](_0x30c9d2,_0x66239f[_0x4d8c7f(0xfc)]);return _0x2b3626[_0x4d8c7f(0xe3)]=_0x66239f[_0x4d8c7f(0xe3)],_0x2b3626[_0x4d8c7f(0xe4)](_0x4d8c7f(0xf2))['to'](_0x171323,_0x4d8c7f(0xcc),_0x2486c3=>_0x170199(_0x30b852,_0x66239f[_0x4d8c7f(0xfc)],_0x2486c3?_0x4d8c7f(0xe8):_0x4d8c7f(0x106))[_0x4d8c7f(0xdd)]),_0x2b3626[_0x4d8c7f(0xc4)]=!0x0,_0x2b3626;}[_0x3688e5(0x112)](_0x4d81e9){const _0x5c5ddd=_0x3688e5,{locale:_0x1b3801}=this[_0x5c5ddd(0xc3)],_0x5561d0=this[_0x5c5ddd(0xc3)][_0x5c5ddd(0xf4)][_0x5c5ddd(0xeb)](_0x5c5ddd(0xff));return _0x4d81e9[_0x5c5ddd(0x109)](_0x7309a1=>{const _0x1d60c2=_0x5c5ddd,_0x575084=this[_0x1d60c2(0xc5)](_0x30c9d2,_0x7309a1[_0x1d60c2(0xfc)]);return _0x575084[_0x1d60c2(0xee)]=!0x0,_0x575084[_0x1d60c2(0xe3)]=_0x7309a1[_0x1d60c2(0xe3)],_0x575084[_0x1d60c2(0xe4)](_0x1d60c2(0xf2))['to'](_0x5561d0,_0x1d60c2(0xcc),_0x4fc5f5=>_0x170199(_0x1b3801,_0x7309a1[_0x1d60c2(0xfc)],_0x4fc5f5?_0x1d60c2(0xe8):_0x1d60c2(0x106))[_0x1d60c2(0xdd)]),_0x575084;});}[_0x3688e5(0xca)](_0x312ddf){const _0x335459=_0x3688e5;return _0x312ddf[_0x335459(0x109)](_0x13e213=>{const _0x2e168f=_0x335459,_0x3c70b5=this[_0x2e168f(0xc5)](_0x356c13,_0x13e213[_0x2e168f(0xfc)]);return _0x3c70b5[_0x2e168f(0xe3)]=_0x13e213[_0x2e168f(0xe3)],_0x3c70b5[_0x2e168f(0xf2)]=_0x13e213[_0x2e168f(0x107)],_0x3c70b5;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x25506c}from'ckeditor5/src/core.js';import{FileRepository as _0x59cdba}from'ckeditor5/src/upload.js';import _0x562589 from'./uploadcareediting.js';import _0x2cff2f from'./utils/uploadutils.js';import{getImageUrls as _0x2d68d6}from'./utils/editingutils.js';export default class p extends _0x25506c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x59cdba,_0x562589];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x51a8a2=this['editor'];if(!!!_0x51a8a2['config']['get']('uploadcare'))return;_0x51a8a2['plugins']['get'](_0x59cdba)['createUploadAdapter']=_0x27079c=>new x(_0x27079c,_0x51a8a2),_0x51a8a2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x43d2b1,{imageElement:_0x2df08d,data:_0x1c1bf7})=>{_0x51a8a2['model']['change'](_0x25e730=>{_0x25e730['setAttribute']('uploadcareImageId',_0x1c1bf7['uploadcareImageId'],_0x2df08d);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x7b29c5,_0x2a16d5){this['loader']=_0x7b29c5,this['editor']=_0x2a16d5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1bc076=this['editor']['config']['get']('uploadcare.pubkey'),_0x31f4e3=await this['loader']['file'];return _0x2cff2f['upload']({'file':_0x31f4e3,'publicKey':_0x1bc076,'signal':this['controller']['signal'],'onProgress':_0xde7518=>{_0xde7518&&_0xde7518['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xde7518['value']);}})['then'](async _0x45456d=>{const {imageFallbackUrl:_0x21868a,imageSources:_0x3e36dd}=_0x2d68d6(_0x45456d['cdnUrl'],_0x45456d['imageInfo']['width']);return{'uploadcareImageId':_0x45456d['uuid'],'default':_0x21868a,'sources':_0x3e36dd};})['catch'](()=>{const _0x6dd4dd=t('Cannot\x20upload\x20file:')+('\x20'+_0x31f4e3['name']+'.');return Promise['reject'](_0x6dd4dd);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x17d89d}from'ckeditor5/src/core.js';import{FileRepository as _0x172089}from'ckeditor5/src/upload.js';import _0x494531 from'./uploadcareediting.js';import _0x24aa76 from'./utils/uploadutils.js';import{getImageUrls as _0x28524f}from'./utils/editingutils.js';export default class p extends _0x17d89d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x172089,_0x494531];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2628ac=this['editor'];if(!!!_0x2628ac['config']['get']('uploadcare'))return;_0x2628ac['plugins']['get'](_0x172089)['createUploadAdapter']=_0x12fc29=>new x(_0x12fc29,_0x2628ac),_0x2628ac['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4f6518,{imageElement:_0x3ad905,data:_0x4b2a90})=>{_0x2628ac['model']['change'](_0xa96b8b=>{_0xa96b8b['setAttribute']('uploadcareImageId',_0x4b2a90['uploadcareImageId'],_0x3ad905);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x159495,_0x5d140f){this['loader']=_0x159495,this['editor']=_0x5d140f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3445f0=this['editor']['config']['get']('uploadcare.pubkey'),_0x2ce81b=await this['loader']['file'];return _0x24aa76['upload']({'file':_0x2ce81b,'publicKey':_0x3445f0,'signal':this['controller']['signal'],'onProgress':_0x293cd6=>{_0x293cd6&&_0x293cd6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x293cd6['value']);}})['then'](async _0xaa26c8=>{const {imageFallbackUrl:_0x12f8df,imageSources:_0x406498}=_0x28524f(_0xaa26c8['cdnUrl'],_0xaa26c8['imageInfo']['width']);return{'uploadcareImageId':_0xaa26c8['uuid'],'default':_0x12f8df,'sources':_0x406498};})['catch'](()=>{const _0x3630d4=t('Cannot\x20upload\x20file:')+('\x20'+_0x2ce81b['name']+'.');return Promise['reject'](_0x3630d4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1ea53b}from'../uploadcareconfig.js';export function getTranslation(_0x5dbd1b,_0x2ca058,_0x1909fb){const t=_0x5dbd1b['t'],_0x472c13=_0x5dbd1b['t'];switch(_0x2ca058){case _0x1ea53b['Local']:return{'text':_0x472c13('Insert'===_0x1909fb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x472c13('From\x20computer')};case _0x1ea53b['URL']:return{'text':'Insert'===_0x1909fb?_0x472c13('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x472c13('Via\x20URL')};case _0x1ea53b['Dropbox']:return{'text':t('Insert'===_0x1909fb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1ea53b['Facebook']:return{'text':t('Insert'===_0x1909fb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1ea53b['GDrive']:return{'text':t('Insert'===_0x1909fb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1ea53b['GPhotos']:return{'text':t('Insert'===_0x1909fb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1ea53b['OneDrive']:return{'text':t('Insert'===_0x1909fb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2ca058;}}
23
+ import{UploadcareSource as _0x223494}from'../uploadcareconfig.js';export function getTranslation(_0x149e6e,_0x15522c,_0x51278c){const t=_0x149e6e['t'],_0x3a1edd=_0x149e6e['t'];switch(_0x15522c){case _0x223494['Local']:return{'text':_0x3a1edd('Insert'===_0x51278c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3a1edd('From\x20computer')};case _0x223494['URL']:return{'text':'Insert'===_0x51278c?_0x3a1edd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3a1edd('Via\x20URL')};case _0x223494['Dropbox']:return{'text':t('Insert'===_0x51278c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x223494['Facebook']:return{'text':t('Insert'===_0x51278c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x223494['GDrive']:return{'text':t('Insert'===_0x51278c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x223494['GPhotos']:return{'text':t('Insert'===_0x51278c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x223494['OneDrive']:return{'text':t('Insert'===_0x51278c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x15522c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x161e69=_0x4432;function _0x1948(){var _0x2998e0=['true','8503033TYtwPf','4917530eLIgqT','2038620MnklUA','bindTemplate','15jxbCJw','div','24FPWgQa','focusTracker','30XgXHvV','fire','9086624eoAWmN','forwardCycle','createCollection','124876ivMaWf','focusCycler','getFocusableElement','144516YDrZYF','2812221LexShR'];_0x1948=function(){return _0x2998e0;};return _0x1948();}function _0x4432(_0x4c50c3,_0xee6e68){var _0x1948e6=_0x1948();return _0x4432=function(_0x443289,_0x175e6b){_0x443289=_0x443289-0x188;var _0x23f9ab=_0x1948e6[_0x443289];return _0x23f9ab;},_0x4432(_0x4c50c3,_0xee6e68);}(function(_0x5036d7,_0x347fbf){var _0x28cc34=_0x4432,_0x4d3330=_0x5036d7();while(!![]){try{var _0x4e32d1=-parseInt(_0x28cc34(0x194))/0x1*(-parseInt(_0x28cc34(0x18d))/0x2)+-parseInt(_0x28cc34(0x196))/0x3*(parseInt(_0x28cc34(0x18a))/0x4)+parseInt(_0x28cc34(0x191))/0x5+-parseInt(_0x28cc34(0x192))/0x6+parseInt(_0x28cc34(0x190))/0x7+-parseInt(_0x28cc34(0x19a))/0x8+parseInt(_0x28cc34(0x18e))/0x9*(-parseInt(_0x28cc34(0x198))/0xa);if(_0x4e32d1===_0x347fbf)break;else _0x4d3330['push'](_0x4d3330['shift']());}catch(_0x5cded7){_0x4d3330['push'](_0x4d3330['shift']());}}}(_0x1948,0x9734a));import{FocusTracker as _0x52aaca}from'ckeditor5/src/utils.js';import{View as _0x2c6f77,FocusCycler as _0x1ee303}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x2c6f77{[_0x161e69(0x197)];[_0x161e69(0x18b)];constructor(_0x990696){var _0x729846=_0x161e69;super(_0x990696),this[_0x729846(0x197)]=new _0x52aaca(),this[_0x729846(0x18b)]=new _0x1ee303({'focusables':this[_0x729846(0x189)](),'focusTracker':this[_0x729846(0x197)]});}[_0x161e69(0x18c)](){var _0x72df6b=_0x161e69;return{'tag':_0x72df6b(0x195),'attributes':{'aria-hidden':_0x72df6b(0x18f),'tabindex':'0'},'on':{'focus':this[_0x72df6b(0x193)]['to'](()=>{var _0x3aff35=_0x72df6b;this[_0x3aff35(0x18b)][_0x3aff35(0x199)](_0x3aff35(0x188));})}};}}
23
+ var _0x4c73ad=_0x18eb;(function(_0xebfe46,_0x4572b4){var _0x1d9acb=_0x18eb,_0x3f1d76=_0xebfe46();while(!![]){try{var _0x409731=-parseInt(_0x1d9acb(0x1c8))/0x1+parseInt(_0x1d9acb(0x1c3))/0x2+parseInt(_0x1d9acb(0x1c0))/0x3+parseInt(_0x1d9acb(0x1bb))/0x4+parseInt(_0x1d9acb(0x1bf))/0x5+parseInt(_0x1d9acb(0x1bd))/0x6+parseInt(_0x1d9acb(0x1be))/0x7*(-parseInt(_0x1d9acb(0x1bc))/0x8);if(_0x409731===_0x4572b4)break;else _0x3f1d76['push'](_0x3f1d76['shift']());}catch(_0xbb2ef){_0x3f1d76['push'](_0x3f1d76['shift']());}}}(_0x7ecb,0x5899f));function _0x7ecb(){var _0x106af2=['forwardCycle','907964cNKpjF','1782488FgpNhI','3277062fCfTWN','7BrkEpM','227290rSMLTz','681825zjAcbT','focusCycler','createCollection','85132SrJOdg','fire','true','div','bindTemplate','502745UTixQI','getFocusableElement','focusTracker'];_0x7ecb=function(){return _0x106af2;};return _0x7ecb();}function _0x18eb(_0xdf98a8,_0x43913b){var _0x7ecb44=_0x7ecb();return _0x18eb=function(_0x18ebef,_0x3256a6){_0x18ebef=_0x18ebef-0x1ba;var _0x4f5c71=_0x7ecb44[_0x18ebef];return _0x4f5c71;},_0x18eb(_0xdf98a8,_0x43913b);}import{FocusTracker as _0x1ca3cd}from'ckeditor5/src/utils.js';import{View as _0x45b320,FocusCycler as _0x5728ff}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x45b320{[_0x4c73ad(0x1ca)];[_0x4c73ad(0x1c1)];constructor(_0x419083){var _0x1d53c2=_0x4c73ad;super(_0x419083),this[_0x1d53c2(0x1ca)]=new _0x1ca3cd(),this[_0x1d53c2(0x1c1)]=new _0x5728ff({'focusables':this[_0x1d53c2(0x1c2)](),'focusTracker':this[_0x1d53c2(0x1ca)]});}[_0x4c73ad(0x1c9)](){var _0x1998e1=_0x4c73ad;return{'tag':_0x1998e1(0x1c6),'attributes':{'aria-hidden':_0x1998e1(0x1c5),'tabindex':'0'},'on':{'focus':this[_0x1998e1(0x1c7)]['to'](()=>{var _0x19115e=_0x1998e1;this[_0x19115e(0x1c1)][_0x19115e(0x1c4)](_0x19115e(0x1ba));})}};}}