@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251027.0 → 0.0.0-nightly-20251028.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17158e=_0x33f5;(function(_0x9eff31,_0x13e229){const _0x30d30e=_0x33f5,_0x2355e4=_0x9eff31();while(!![]){try{const _0x156e90=-parseInt(_0x30d30e(0x18e))/0x1+-parseInt(_0x30d30e(0x14d))/0x2+parseInt(_0x30d30e(0x160))/0x3*(-parseInt(_0x30d30e(0x18d))/0x4)+parseInt(_0x30d30e(0x152))/0x5+-parseInt(_0x30d30e(0x171))/0x6+parseInt(_0x30d30e(0x164))/0x7*(-parseInt(_0x30d30e(0x188))/0x8)+parseInt(_0x30d30e(0x143))/0x9*(parseInt(_0x30d30e(0x16b))/0xa);if(_0x156e90===_0x13e229)break;else _0x2355e4['push'](_0x2355e4['shift']());}catch(_0x15bf9c){_0x2355e4['push'](_0x2355e4['shift']());}}}(_0x3f99,0x56f4c));import{Plugin as _0x160323}from'ckeditor5/src/core.js';import{Dialog as _0x25438f}from'ckeditor5/src/ui.js';function _0x3f99(){const _0x116bae=['attributeToAttribute','imageBlock','831225wiXPRv','for','isOfficialPlugin','join','href','_configElement','isPremiumPlugin','uc-upload-ctx-provider','\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','commands','map','imageInline','data-uc-image-id','remove','111219nDULVh','closeMax','ucContextId','isRegistered','318717TRcvZv','PictureEditing','_initImageProcessingIndicator','uc-config','iconHrefResolver','uploadcare.pubkey','model','13790420JUGdIs','view','#uc-icon-arrow-down','upcast','add','uploadcare.uploader','1437606AheTdj','input[uploadcare-file-input]','get','afterInit','fromCharCode','selection','once','appendChild','getAttribute','uploadcareImageReplace','getSelectedElement','document','body','insertImage','_initSchema','_initConversion','schema','uploadcare','config','configElement','init','_initConfig','uploadcareImageId','64kpZcrv','locale','uploader-','requires','pluginName','28SholHg','23129LqzFsF','conversion','downcast','UploadcareEditing','listenTo','cleanupImage','render','editing','execute','replaceImageSource','9yaFWKv','destroy','removeAttribute','querySelector','_initCtx','editor','ctxElement','true','extend','contentLanguage','605252ZLBily','_ctxElement','elementToAttribute'];_0x3f99=function(){return _0x116bae;};return _0x3f99();}import{createElement as _0x4705d4,global as _0x907789,uid as _0x37c032}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3aae61}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2661c2}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x396a63}from'./utils/editingutils.js';function _0x33f5(_0x9087cc,_0x2d0777){const _0x3f99b1=_0x3f99();return _0x33f5=function(_0x33f5d1,_0x2dcfdb){_0x33f5d1=_0x33f5d1-0x143;let _0x522c91=_0x3f99b1[_0x33f5d1];return _0x522c91;},_0x33f5(_0x9087cc,_0x2d0777);}export class UploadcareEditing extends _0x160323{[_0x17158e(0x157)]=null;[_0x17158e(0x14e)]=null;static get[_0x17158e(0x18c)](){const _0x1202e1=_0x17158e;return _0x1202e1(0x191);}static get[_0x17158e(0x18b)](){const _0x1eddca=_0x17158e;return[_0x1eddca(0x165),_0x2661c2,_0x25438f];}static get[_0x17158e(0x154)](){return!0x0;}static get[_0x17158e(0x158)](){return!0x0;}[_0x17158e(0x162)];get[_0x17158e(0x184)](){const _0x54380e=_0x17158e;return this[_0x54380e(0x157)];}get[_0x17158e(0x149)](){const _0x10be61=_0x17158e;return this[_0x10be61(0x14e)];}constructor(_0x5e9aae){const _0x18d196=_0x17158e;super(_0x5e9aae),this[_0x18d196(0x162)]=_0x37c032();}[_0x17158e(0x185)](){const _0x545677=_0x17158e,_0xe0f469=this[_0x545677(0x148)];_0xe0f469[_0x545677(0x15b)][_0x545677(0x16f)](_0x545677(0x182),new _0x3aae61(_0xe0f469));}[_0x17158e(0x174)](){const _0xa6efd2=_0x17158e;this[_0xa6efd2(0x17f)](),this[_0xa6efd2(0x180)](),this[_0xa6efd2(0x186)](),this[_0xa6efd2(0x147)](),this[_0xa6efd2(0x166)](),this[_0xa6efd2(0x192)](this[_0xa6efd2(0x148)],_0xa6efd2(0x144),()=>{const _0x1948cb=_0xa6efd2;this[_0x1948cb(0x157)]&&(this[_0x1948cb(0x157)][_0x1948cb(0x15f)](),this[_0x1948cb(0x157)]=null),this[_0x1948cb(0x14e)]&&(this[_0x1948cb(0x14e)][_0x1948cb(0x15f)](),this[_0x1948cb(0x14e)]=null);const _0x41eee5=_0x907789[_0x1948cb(0x17c)][_0x1948cb(0x146)](_0x1948cb(0x172));_0x41eee5&&_0x41eee5[_0x1948cb(0x15f)]();}),async function(_0x423abe){const _0x261c26=_0x57f640([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x373119=0x535f8c3a,_0x5490df=0x5358fb5a^_0x373119,_0x3ed99e=window[_0x57f640([0x44,0x61,0x74,0x65])][_0x57f640([0x6e,0x6f,0x77])](),_0x4d5242=_0x423abe[_0x57f640([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cccef=new window[(_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41964a=>{_0x4d5242[_0x57f640([0x6f,0x6e,0x63,0x65])](_0x57f640([0x72,0x65,0x61,0x64,0x79]),_0x41964a);}),_0x42bb48={[_0x57f640([0x6b,0x74,0x79])]:_0x57f640([0x45,0x43]),[_0x57f640([0x75,0x73,0x65])]:_0x57f640([0x73,0x69,0x67]),[_0x57f640([0x63,0x72,0x76])]:_0x57f640([0x50,0x2d,0x32,0x35,0x36]),[_0x57f640([0x78])]:_0x57f640([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]),[_0x57f640([0x79])]:_0x57f640([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]),[_0x57f640([0x61,0x6c,0x67])]:_0x57f640([0x45,0x53,0x32,0x35,0x36])},_0x58c92b=_0x4d5242[_0x57f640([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57f640([0x67,0x65,0x74])](_0x57f640([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b27f2(){let _0x5c047b,_0xfb2d78=null,_0x1036bc=null;try{if(_0x58c92b==_0x57f640([0x47,0x50,0x4c]))return _0x57f640([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c047b=_0x344e21(),!_0x5c047b)return _0x57f640([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c047b[_0x57f640([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1036bc=_0x4a4dd1(_0x5c047b[_0x57f640([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c047b[_0x57f640([0x6a,0x74,0x69])])),await _0x5db654()?_0x3415d4()?_0x442cae()?_0x57f640([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b01d1()?(_0x5c047b[_0x57f640([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57f640([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xfb2d78=_0x540b34(_0x57f640([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5c047b[_0x57f640([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57f640([0x74,0x72,0x69,0x61,0x6c])&&(_0xfb2d78=_0x540b34(_0x57f640([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c5504()):_0x57f640([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57f640([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57f640([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57f640([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x442cae(){const _0x11a4a9=[_0x57f640([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57f640([0x74,0x72,0x69,0x61,0x6c])][_0x57f640([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c047b[_0x57f640([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ed99e/0x3e8:0xe10*_0x5490df;return _0x5c047b[_0x57f640([0x65,0x78,0x70])]<_0x11a4a9;}function _0x3415d4(){const _0x40819c=_0x5c047b[_0x57f640([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40819c&&(!!_0x40819c[_0x57f640([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f640([0x2a]))||!!_0x40819c[_0x57f640([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f640([0x55,0x50,0x4c,0x43])));}function _0x3b01d1(){const _0x3a0d9b=_0x33f5,_0x3aefb0=_0x5c047b[_0x57f640([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3aefb0||0x0==_0x3aefb0[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e006b}=new URL(window[_0x57f640([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3a0d9b(0x156)]);if(_0x3aefb0[_0x57f640([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e006b))return!0x0;const _0x51e24f=_0x5e006b[_0x57f640([0x73,0x70,0x6c,0x69,0x74])](_0x57f640([0x2e]));return _0x3aefb0[_0x57f640([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5647ed=>_0x5647ed[_0x57f640([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57f640([0x2a])))[_0x57f640([0x6d,0x61,0x70])](_0x34abca=>_0x34abca[_0x57f640([0x73,0x70,0x6c,0x69,0x74])](_0x57f640([0x2e])))[_0x57f640([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd314a8=>_0xd314a8[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51e24f[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57f640([0x6d,0x61,0x70])](_0x645195=>Array(_0x51e24f[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x645195[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57f640([0x66,0x69,0x6c,0x6c])](_0x645195[0x0]===_0x57f640([0x2a])?_0x57f640([0x2a]):'')[_0x57f640([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x645195))[_0x57f640([0x73,0x6f,0x6d,0x65])](_0x28b33e=>_0x51e24f[_0x57f640([0x65,0x76,0x65,0x72,0x79])]((_0x5aad59,_0x5ab184)=>_0x28b33e[_0x5ab184]===_0x5aad59||_0x28b33e[_0x5ab184]===_0x57f640([0x2a])));}function _0x4c5504(){return _0xfb2d78&&_0x1036bc?new window[(_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14b0f3,_0x53d50d)=>{_0xfb2d78[_0x57f640([0x74,0x68,0x65,0x6e])](_0x14b0f3,_0x53d50d),_0x1036bc[_0x57f640([0x74,0x68,0x65,0x6e])](_0x1039ed=>{_0x1039ed!=_0x57f640([0x56,0x61,0x6c,0x69,0x64])&&_0x14b0f3(_0x1039ed);},_0x53d50d);}):_0xfb2d78||_0x1036bc||_0x57f640([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a4dd1(_0x2d0789,_0x3d68ca){return new window[(_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9cb985=>{if(_0xf610bf())return _0x9cb985(_0x57f640([0x56,0x61,0x6c,0x69,0x64]));_0x35ec09(),_0x4d5242[_0x57f640([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57f640([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13c6d1=!0x1;const _0x540637=_0x37c032();function _0x166ae0(_0x2fdb19){return!!_0x2fdb19&&(typeof _0x2fdb19===_0x57f640([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fdb19===_0x57f640([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fdb19[_0x57f640([0x74,0x68,0x65,0x6e])]===_0x57f640([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fdb19[_0x57f640([0x63,0x61,0x74,0x63,0x68])]===_0x57f640([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a0856(_0x2a4a80){_0x1adce9(_0x2a4a80)[_0x57f640([0x74,0x68,0x65,0x6e])](_0x3e69bf=>{if(!_0x3e69bf||_0x3e69bf[_0x57f640([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57f640([0x6f,0x6b]))return _0x57f640([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cc455(_0x5e2bf2(_0x540637+_0x3d68ca))!=_0x3e69bf[_0x57f640([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57f640([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57f640([0x56,0x61,0x6c,0x69,0x64]);})[_0x57f640([0x74,0x68,0x65,0x6e])](_0x58519b=>(_0x2e72fc(),_0x58519b),()=>{const _0x3fe3da=_0x2812b9();return null==_0x3fe3da?(_0x2e72fc(),_0x57f640([0x56,0x61,0x6c,0x69,0x64])):_0x57f640(_0x3ed99e-_0x3fe3da>(0x7753083a^_0x373119)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57f640([0x74,0x68,0x65,0x6e])](_0x9cb985)[_0x57f640([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9cb985(_0x57f640([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x206a74=0x536962ba^_0x373119;function _0x2e72fc(){const _0x3e5e98=_0x57f640([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cc455(_0x5e2bf2(_0x2d0789)),_0x37fc4d=_0x276043(_0x2cc455(window[_0x57f640([0x4d,0x61,0x74,0x68])][_0x57f640([0x63,0x65,0x69,0x6c])](_0x3ed99e/_0x206a74)));window[_0x57f640([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57f640([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e5e98,_0x37fc4d);}function _0x2812b9(){const _0x5c1a6f=_0x57f640([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cc455(_0x5e2bf2(_0x2d0789)),_0x4efa4e=window[_0x57f640([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57f640([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c1a6f);return _0x4efa4e?window[_0x57f640([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x276043(_0x4efa4e),0x10)*_0x206a74:null;}function _0x1adce9(_0x11fb5a){return new window[(_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11e095,_0x12b5f0)=>{_0x11fb5a[_0x57f640([0x74,0x68,0x65,0x6e])](_0x11e095,_0x12b5f0),window[_0x57f640([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x12b5f0,0x535e58fa^_0x373119);});}}_0x4d5242[_0x57f640([0x6f,0x6e])](_0x57f640([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23363e,_0x23aaac)=>{if(_0x23aaac[0x0]!=_0x2d0789)return _0x9cb985(_0x57f640([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23aaac[0x1]={..._0x23aaac[0x1],[_0x57f640([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x540637};},{[_0x57f640([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57f640([0x68,0x69,0x67,0x68])}),_0x4d5242[_0x57f640([0x6f,0x6e])](_0x57f640([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fba51=>{_0x166ae0(_0x4fba51[_0x57f640([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13c6d1=!0x0,_0x2a0856(_0x4fba51[_0x57f640([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57f640([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57f640([0x6c,0x6f,0x77])}),_0x1cccef[_0x57f640([0x74,0x68,0x65,0x6e])](()=>{_0x13c6d1||_0x9cb985(_0x57f640([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf610bf(){return _0x4d5242[_0x57f640([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57f640([0x76,0x69,0x65,0x77])][_0x57f640([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57f640([0x61,0x75,0x74,0x6f]);}function _0x35ec09(){_0x4d5242[_0x57f640([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57f640([0x76,0x69,0x65,0x77])][_0x57f640([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57f640([0x61,0x75,0x74,0x6f]);}}function _0x540b34(_0x39a690){const _0x6158af=[new window[(_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e8d30=>setTimeout(_0x2e8d30,0x5356b2f6^_0x373119)),_0x1cccef[_0x57f640([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92fd51=>{let _0x3c76d8=0x0;_0x4d5242[_0x57f640([0x6d,0x6f,0x64,0x65,0x6c])][_0x57f640([0x6f,0x6e])](_0x57f640([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ad2db,_0x3197ac)=>{_0x3197ac[0x0][_0x57f640([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c76d8++,_0x3c76d8==(0x535f8dc2^_0x373119)&&(_0x92fd51(),_0x4ad2db[_0x57f640([0x6f,0x66,0x66])]());});}))];return window[_0x57f640([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57f640([0x72,0x61,0x63,0x65])](_0x6158af)[_0x57f640([0x74,0x68,0x65,0x6e])](()=>_0x39a690);}async function _0x5333b7(){await _0x1cccef,_0x4d5242[_0x57f640([0x6d,0x6f,0x64,0x65,0x6c])][_0x57f640([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c0945,_0x4d5242[_0x57f640([0x6d,0x6f,0x64,0x65,0x6c])][_0x57f640([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c0945,_0x4d5242[_0x57f640([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57f640([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x596fb8(_0x427041){const _0x115554=_0x34b8c6();_0x4d5242[_0x115554]=_0x57f640([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427041,_0x427041!=_0x57f640([0x56,0x61,0x6c,0x69,0x64])&&_0x5333b7();}function _0x34b8c6(){const _0x2ebfc2=window[_0x57f640([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57f640([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57f640([0x6e,0x6f,0x77])]())[_0x57f640([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57f640([0x2e]),'');let _0xf2720d=_0x57f640([0x68]);for(let _0x10c794=0x0;_0x10c794<_0x2ebfc2[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10c794+=0x2){let _0x5a8c13=window[_0x57f640([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ebfc2[_0x57f640([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10c794,_0x10c794+0x2));_0x5a8c13>=_0x261c26[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a8c13-=_0x261c26[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf2720d+=_0x261c26[_0x5a8c13];}return _0xf2720d;}function _0x344e21(){const _0x59a059=_0x58c92b[_0x57f640([0x73,0x70,0x6c,0x69,0x74])](_0x57f640([0x2e]));if(0x3!=_0x59a059[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29e41c(_0x59a059[0x1]);function _0x29e41c(_0x1268c0){const _0x26ed46=_0x267644(_0x1268c0);return _0x26ed46&&_0x19e695()?_0x26ed46:null;function _0x19e695(){const _0x4a6fe4=_0x26ed46[_0x57f640([0x6a,0x74,0x69])],_0x5aa73f=window[_0x57f640([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a6fe4[_0x57f640([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a6fe4[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x106a2e={..._0x26ed46,[_0x57f640([0x6a,0x74,0x69])]:_0x4a6fe4[_0x57f640([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a6fe4[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x106a2e[_0x57f640([0x76,0x63])],_0x5e2bf2(_0x106a2e)==_0x5aa73f;}}}async function _0x5db654(){let _0x22aa00=!0x0;try{const _0x4760aa=_0x58c92b[_0x57f640([0x73,0x70,0x6c,0x69,0x74])](_0x57f640([0x2e])),[_0xdb67b5,_0x44a054,_0x2623e3]=_0x4760aa;return _0x2105ad(_0xdb67b5),await _0x13b1d(_0xdb67b5,_0x44a054,_0x2623e3),_0x22aa00;}catch{return!0x1;}function _0x2105ad(_0x48f55c){const _0x35e972=_0x267644(_0x48f55c);_0x35e972&&_0x35e972[_0x57f640([0x61,0x6c,0x67])]==_0x57f640([0x45,0x53,0x32,0x35,0x36])||(_0x22aa00=!0x1);}async function _0x13b1d(_0x1d51db,_0x22b237,_0x68a3da){const _0x5614c8=window[_0x57f640([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57f640([0x66,0x72,0x6f,0x6d])](_0x4c4b32(_0x68a3da),_0x391b47=>_0x391b47[_0x57f640([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17b3df=new window[(_0x57f640([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57f640([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d51db+_0x57f640([0x2e])+_0x22b237),_0x4605b7=window[_0x57f640([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57f640([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4605b7)return;const _0xa77c8c=await _0x4605b7[_0x57f640([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57f640([0x6a,0x77,0x6b]),_0x42bb48,{[_0x57f640([0x6e,0x61,0x6d,0x65])]:_0x57f640([0x45,0x43,0x44,0x53,0x41]),[_0x57f640([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57f640([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57f640([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4605b7[_0x57f640([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57f640([0x6e,0x61,0x6d,0x65])]:_0x57f640([0x45,0x43,0x44,0x53,0x41]),[_0x57f640([0x68,0x61,0x73,0x68])]:{[_0x57f640([0x6e,0x61,0x6d,0x65])]:_0x57f640([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa77c8c,_0x5614c8,_0x17b3df)||(_0x22aa00=!0x1);}}function _0x267644(_0x103704){return _0x103704[_0x57f640([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57f640([0x65,0x79]))?JSON[_0x57f640([0x70,0x61,0x72,0x73,0x65])](_0x4c4b32(_0x103704)):null;}function _0x4c4b32(_0x483e98){return window[_0x57f640([0x61,0x74,0x6f,0x62])](_0x483e98[_0x57f640([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57f640([0x2b]))[_0x57f640([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57f640([0x2f])));}function _0x5e2bf2(_0x2d088c){let _0x6207cc=0x1505;function _0x326235(_0x450f06){for(let _0x106d2b=0x0;_0x106d2b<_0x450f06[_0x57f640([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x106d2b++){const _0x58b6fc=_0x450f06[_0x57f640([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x106d2b);_0x6207cc=(_0x6207cc<<0x5)+_0x6207cc+_0x58b6fc,_0x6207cc&=_0x6207cc;}}function _0x43a7cd(_0x506e30){Array[_0x57f640([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x506e30)?_0x506e30[_0x57f640([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43a7cd):_0x506e30&&typeof _0x506e30==_0x57f640([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57f640([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x506e30)[_0x57f640([0x73,0x6f,0x72,0x74])]()[_0x57f640([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b1789,_0x300494])=>{_0x326235(_0x5b1789),_0x43a7cd(_0x300494);}):_0x326235(window[_0x57f640([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x506e30));}return _0x43a7cd(_0x2d088c),_0x6207cc>>>0x0;}function _0x2cc455(_0x32b4e6){return _0x32b4e6[_0x57f640([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57f640([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57f640([0x30]));}function _0x276043(_0x101764){return _0x101764[_0x57f640([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57f640([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57f640([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c0945(){}function _0x57f640(_0x5754b4){const _0x5b1fdf=_0x33f5;return _0x5754b4[_0x5b1fdf(0x15c)](_0xbdbcf5=>String[_0x5b1fdf(0x175)](_0xbdbcf5))[_0x5b1fdf(0x155)]('');}_0x596fb8(await _0x5b27f2());}(this);}[_0x17158e(0x17f)](){const _0x342a9d=_0x17158e,_0x4cf17c=this[_0x342a9d(0x148)][_0x342a9d(0x16a)][_0x342a9d(0x181)];_0x4cf17c[_0x342a9d(0x163)](_0x342a9d(0x151))&&_0x4cf17c[_0x342a9d(0x14b)](_0x342a9d(0x151),{'allowAttributes':[_0x342a9d(0x187)]}),_0x4cf17c[_0x342a9d(0x163)](_0x342a9d(0x15d))&&_0x4cf17c[_0x342a9d(0x14b)](_0x342a9d(0x15d),{'allowAttributes':[_0x342a9d(0x187)]});}[_0x17158e(0x180)](){const _0x2d60b8=_0x17158e,_0x217206=this[_0x2d60b8(0x148)];_0x217206[_0x2d60b8(0x18f)][_0x2d60b8(0x153)](_0x2d60b8(0x190))[_0x2d60b8(0x150)]({'model':_0x2d60b8(0x187),'view':_0x2d60b8(0x15e)}),_0x217206[_0x2d60b8(0x18f)][_0x2d60b8(0x153)](_0x2d60b8(0x16e))[_0x2d60b8(0x14f)]({'model':{'key':_0x2d60b8(0x187),'value':_0x5dbc83=>_0x5dbc83[_0x2d60b8(0x179)](_0x2d60b8(0x15e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x11990b=_0x217206[_0x2d60b8(0x15b)][_0x2d60b8(0x173)](_0x2d60b8(0x197));_0x11990b&&this[_0x2d60b8(0x192)](_0x11990b,_0x2d60b8(0x193),(_0x27cf68,[_0x22156c,_0x1def03])=>{const _0x3407b4=_0x2d60b8;_0x22156c[_0x3407b4(0x145)](_0x3407b4(0x187),_0x1def03);});}[_0x17158e(0x186)](){const _0x2b9ca3=_0x17158e,_0x2a3ab1=this[_0x2b9ca3(0x148)][_0x2b9ca3(0x183)][_0x2b9ca3(0x173)](_0x2b9ca3(0x170))||{},_0x1cc527=this[_0x2b9ca3(0x148)][_0x2b9ca3(0x183)][_0x2b9ca3(0x173)](_0x2b9ca3(0x169))||'';this[_0x2b9ca3(0x157)]=_0x4705d4(_0x907789[_0x2b9ca3(0x17c)],_0x2b9ca3(0x167),{..._0x2a3ab1,'pubkey':_0x1cc527,'ctx-name':_0x2b9ca3(0x18a)+this[_0x2b9ca3(0x162)],'sourceList':'','imgOnly':_0x2b9ca3(0x14a),'removeCopyright':_0x2b9ca3(0x14a),'localeName':this[_0x2b9ca3(0x148)][_0x2b9ca3(0x189)][_0x2b9ca3(0x14c)],'externalSourcesEmbedCss':_0x2b9ca3(0x15a)}),this[_0x2b9ca3(0x157)][_0x2b9ca3(0x168)]=_0x2b2e72=>{const _0x4c02e0=_0x2b9ca3;if(_0x4c02e0(0x161)==_0x2b2e72)return _0x4c02e0(0x16d);},_0x907789[_0x2b9ca3(0x17c)][_0x2b9ca3(0x17d)][_0x2b9ca3(0x178)](this[_0x2b9ca3(0x157)]);}[_0x17158e(0x147)](){const _0xfe5626=_0x17158e;this[_0xfe5626(0x14e)]=_0x4705d4(_0x907789[_0xfe5626(0x17c)],_0xfe5626(0x159),{'ctx-name':_0xfe5626(0x18a)+this[_0xfe5626(0x162)]}),_0x907789[_0xfe5626(0x17c)][_0xfe5626(0x17d)][_0xfe5626(0x178)](this[_0xfe5626(0x14e)]);}[_0x17158e(0x166)](){const _0xf7d578=_0x17158e,_0x12999d=this[_0xf7d578(0x148)][_0xf7d578(0x15b)][_0xf7d578(0x173)](_0xf7d578(0x17e));_0x12999d&&this[_0xf7d578(0x192)](_0x12999d,_0xf7d578(0x196),()=>{const _0xc80bd3=_0xf7d578,_0x1329da=this[_0xc80bd3(0x148)][_0xc80bd3(0x16a)][_0xc80bd3(0x17c)][_0xc80bd3(0x176)][_0xc80bd3(0x17b)]();_0x1329da&&_0x1329da[_0xc80bd3(0x179)](_0xc80bd3(0x187))&&this[_0xc80bd3(0x148)][_0xc80bd3(0x195)][_0xc80bd3(0x16c)][_0xc80bd3(0x177)](_0xc80bd3(0x194),()=>{const _0x140a7b=_0xc80bd3;_0x396a63(this[_0x140a7b(0x148)],_0x1329da);});});const _0x461066=this[_0xf7d578(0x148)][_0xf7d578(0x15b)][_0xf7d578(0x173)](_0xf7d578(0x17a));_0x461066&&this[_0xf7d578(0x192)](_0x461066,_0xf7d578(0x196),()=>{const _0x373f1e=_0xf7d578,_0x310f9b=this[_0x373f1e(0x148)][_0x373f1e(0x16a)][_0x373f1e(0x17c)][_0x373f1e(0x176)][_0x373f1e(0x17b)]();_0x310f9b&&_0x310f9b[_0x373f1e(0x179)](_0x373f1e(0x187))&&this[_0x373f1e(0x148)][_0x373f1e(0x195)][_0x373f1e(0x16c)][_0x373f1e(0x177)](_0x373f1e(0x194),()=>{const _0x162615=_0x373f1e;_0x396a63(this[_0x162615(0x148)],_0x310f9b);});});}}
23
+ const _0x4615b0=_0x510c;(function(_0x4c0991,_0x15c309){const _0x330f0b=_0x510c,_0x37f460=_0x4c0991();while(!![]){try{const _0x45b0c6=-parseInt(_0x330f0b(0xc7))/0x1*(parseInt(_0x330f0b(0xdb))/0x2)+parseInt(_0x330f0b(0xd2))/0x3+-parseInt(_0x330f0b(0xd3))/0x4+-parseInt(_0x330f0b(0xb9))/0x5+parseInt(_0x330f0b(0xcf))/0x6*(-parseInt(_0x330f0b(0xbd))/0x7)+-parseInt(_0x330f0b(0xd6))/0x8+parseInt(_0x330f0b(0x100))/0x9*(parseInt(_0x330f0b(0xd1))/0xa);if(_0x45b0c6===_0x15c309)break;else _0x37f460['push'](_0x37f460['shift']());}catch(_0x3f24b3){_0x37f460['push'](_0x37f460['shift']());}}}(_0x3f58,0x80565));import{Plugin as _0x4ee0cf}from'ckeditor5/src/core.js';import{Dialog as _0x474141}from'ckeditor5/src/ui.js';import{createElement as _0x4c3ea1,global as _0xcc4ffc,uid as _0x1ea4a5}from'ckeditor5/src/utils.js';function _0x510c(_0x511c58,_0x98125d){const _0x3f58f9=_0x3f58();return _0x510c=function(_0x510cab,_0x4a20a1){_0x510cab=_0x510cab-0xb0;let _0x32a4cc=_0x3f58f9[_0x510cab];return _0x32a4cc;},_0x510c(_0x511c58,_0x98125d);}import{UploadcareCommand as _0x4469f5}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2957c7}from'./uploadcareuploadadapter.js';function _0x3f58(){const _0x29fd0a=['querySelector','upcast','UploadcareEditing','imageInline','_initImageProcessingIndicator','config','isOfficialPlugin','remove','5031670wQyheO','downcast','body','#uc-icon-arrow-down','709429EVXHNv','isPremiumPlugin','_configElement','isRegistered','uploadcareImageId','uploadcareImageReplace','requires','join','getAttribute','afterInit','338qDKUNF','removeAttribute','uc-config','schema','ctxElement','extend','iconHrefResolver','once','42GMikba','_initConversion','6573990oTUBMC','1760721QxaMVC','3128008PQDAqX','document','destroy','5110952TNSoSG','for','_initSchema','_ctxElement','data-uc-image-id','5142KoAylp','locale','appendChild','editor','uploader-','uploadcare.uploader','elementToAttribute','input[uploadcare-file-input]','attributeToAttribute','insertImage','closeMax','uc-upload-ctx-provider','add','commands','href','listenTo','_initConfig','model','fromCharCode','configElement','true','view','editing','conversion','contentLanguage','execute','map','ucContextId','imageBlock','pluginName','cleanupImage','selection','get','replaceImageSource','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare','render','54GfHAMS','PictureEditing','init','uploadcare.pubkey','_initCtx','getSelectedElement'];_0x3f58=function(){return _0x29fd0a;};return _0x3f58();}import{showImageProcessingIndicator as _0x19bbd7}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4ee0cf{[_0x4615b0(0xbf)]=null;[_0x4615b0(0xd9)]=null;static get[_0x4615b0(0xf8)](){const _0x4bfc5c=_0x4615b0;return _0x4bfc5c(0xb3);}static get[_0x4615b0(0xc3)](){const _0x2e1632=_0x4615b0;return[_0x2e1632(0x101),_0x2957c7,_0x474141];}static get[_0x4615b0(0xb7)](){return!0x0;}static get[_0x4615b0(0xbe)](){return!0x0;}[_0x4615b0(0xf6)];get[_0x4615b0(0xee)](){const _0x3d96d7=_0x4615b0;return this[_0x3d96d7(0xbf)];}get[_0x4615b0(0xcb)](){const _0x4208e9=_0x4615b0;return this[_0x4208e9(0xd9)];}constructor(_0x3474fe){const _0x28d960=_0x4615b0;super(_0x3474fe),this[_0x28d960(0xf6)]=_0x1ea4a5();}[_0x4615b0(0x102)](){const _0x3f691b=_0x4615b0,_0x17aad0=this[_0x3f691b(0xde)];_0x17aad0[_0x3f691b(0xe8)][_0x3f691b(0xe7)](_0x3f691b(0xfe),new _0x4469f5(_0x17aad0));}[_0x4615b0(0xc6)](){const _0x51dfb1=_0x4615b0;this[_0x51dfb1(0xd8)](),this[_0x51dfb1(0xd0)](),this[_0x51dfb1(0xeb)](),this[_0x51dfb1(0x104)](),this[_0x51dfb1(0xb5)](),this[_0x51dfb1(0xea)](this[_0x51dfb1(0xde)],_0x51dfb1(0xd5),()=>{const _0x3b1473=_0x51dfb1;this[_0x3b1473(0xbf)]&&(this[_0x3b1473(0xbf)][_0x3b1473(0xb8)](),this[_0x3b1473(0xbf)]=null),this[_0x3b1473(0xd9)]&&(this[_0x3b1473(0xd9)][_0x3b1473(0xb8)](),this[_0x3b1473(0xd9)]=null);const _0x13771b=_0xcc4ffc[_0x3b1473(0xd4)][_0x3b1473(0xb1)](_0x3b1473(0xe2));_0x13771b&&_0x13771b[_0x3b1473(0xb8)]();}),async function(_0x1d5fda){const _0x3993b0=_0x36bc68([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x270896=0x535f8c3a,_0x276c11=0x5358fb42^_0x270896,_0x4bf701=window[_0x36bc68([0x44,0x61,0x74,0x65])][_0x36bc68([0x6e,0x6f,0x77])](),_0x298b0e=_0x1d5fda[_0x36bc68([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41288f=new window[(_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9900c6=>{_0x298b0e[_0x36bc68([0x6f,0x6e,0x63,0x65])](_0x36bc68([0x72,0x65,0x61,0x64,0x79]),_0x9900c6);}),_0xc3c1e2={[_0x36bc68([0x6b,0x74,0x79])]:_0x36bc68([0x45,0x43]),[_0x36bc68([0x75,0x73,0x65])]:_0x36bc68([0x73,0x69,0x67]),[_0x36bc68([0x63,0x72,0x76])]:_0x36bc68([0x50,0x2d,0x32,0x35,0x36]),[_0x36bc68([0x78])]:_0x36bc68([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]),[_0x36bc68([0x79])]:_0x36bc68([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]),[_0x36bc68([0x61,0x6c,0x67])]:_0x36bc68([0x45,0x53,0x32,0x35,0x36])},_0x3e1983=_0x298b0e[_0x36bc68([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36bc68([0x67,0x65,0x74])](_0x36bc68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xaf2c9e(){let _0x552168,_0x317f90=null,_0x4ec271=null;try{if(_0x3e1983==_0x36bc68([0x47,0x50,0x4c]))return _0x36bc68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x552168=_0x1f9cc7(),!_0x552168)return _0x36bc68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x552168[_0x36bc68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ec271=_0x5adeaf(_0x552168[_0x36bc68([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x552168[_0x36bc68([0x6a,0x74,0x69])])),await _0x4836e0()?_0x5aadaa()?_0x3a6450()?_0x36bc68([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a648a()?(_0x552168[_0x36bc68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36bc68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x317f90=_0x160b75(_0x36bc68([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x552168[_0x36bc68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36bc68([0x74,0x72,0x69,0x61,0x6c])&&(_0x317f90=_0x160b75(_0x36bc68([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a3a09()):_0x36bc68([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36bc68([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36bc68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36bc68([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a6450(){const _0x1f665e=[_0x36bc68([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36bc68([0x74,0x72,0x69,0x61,0x6c])][_0x36bc68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552168[_0x36bc68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4bf701/0x3e8:0xe10*_0x276c11;return _0x552168[_0x36bc68([0x65,0x78,0x70])]<_0x1f665e;}function _0x5aadaa(){const _0x4c03a7=_0x552168[_0x36bc68([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c03a7&&(!!_0x4c03a7[_0x36bc68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36bc68([0x2a]))||!!_0x4c03a7[_0x36bc68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36bc68([0x55,0x50,0x4c,0x43])));}function _0x3a648a(){const _0x41f9d0=_0x510c,_0x3245de=_0x552168[_0x36bc68([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3245de||0x0==_0x3245de[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x102cd9}=new URL(window[_0x36bc68([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41f9d0(0xe9)]);if(_0x3245de[_0x36bc68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x102cd9))return!0x0;const _0x1a4652=_0x102cd9[_0x36bc68([0x73,0x70,0x6c,0x69,0x74])](_0x36bc68([0x2e]));return _0x3245de[_0x36bc68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1abad9=>_0x1abad9[_0x36bc68([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36bc68([0x2a])))[_0x36bc68([0x6d,0x61,0x70])](_0x560243=>_0x560243[_0x36bc68([0x73,0x70,0x6c,0x69,0x74])](_0x36bc68([0x2e])))[_0x36bc68([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47a6a9=>_0x47a6a9[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a4652[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36bc68([0x6d,0x61,0x70])](_0x1233c2=>Array(_0x1a4652[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1233c2[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36bc68([0x66,0x69,0x6c,0x6c])](_0x1233c2[0x0]===_0x36bc68([0x2a])?_0x36bc68([0x2a]):'')[_0x36bc68([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1233c2))[_0x36bc68([0x73,0x6f,0x6d,0x65])](_0xdcf233=>_0x1a4652[_0x36bc68([0x65,0x76,0x65,0x72,0x79])]((_0x315422,_0x346218)=>_0xdcf233[_0x346218]===_0x315422||_0xdcf233[_0x346218]===_0x36bc68([0x2a])));}function _0x5a3a09(){return _0x317f90&&_0x4ec271?new window[(_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5307ac,_0x3dd6c8)=>{_0x317f90[_0x36bc68([0x74,0x68,0x65,0x6e])](_0x5307ac,_0x3dd6c8),_0x4ec271[_0x36bc68([0x74,0x68,0x65,0x6e])](_0x3957a3=>{_0x3957a3!=_0x36bc68([0x56,0x61,0x6c,0x69,0x64])&&_0x5307ac(_0x3957a3);},_0x3dd6c8);}):_0x317f90||_0x4ec271||_0x36bc68([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5adeaf(_0x3141f9,_0x3ad7ca){return new window[(_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52473b=>{if(_0x435424())return _0x52473b(_0x36bc68([0x56,0x61,0x6c,0x69,0x64]));_0x3ef51b(),_0x298b0e[_0x36bc68([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36bc68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23dad5=!0x1;const _0x1e1e9f=_0x1ea4a5();function _0x17f53c(_0x232689){return!!_0x232689&&(typeof _0x232689===_0x36bc68([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x232689===_0x36bc68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x232689[_0x36bc68([0x74,0x68,0x65,0x6e])]===_0x36bc68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x232689[_0x36bc68([0x63,0x61,0x74,0x63,0x68])]===_0x36bc68([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x540d9f(_0x3b2cce){_0x90005b(_0x3b2cce)[_0x36bc68([0x74,0x68,0x65,0x6e])](_0x43e5fc=>{if(!_0x43e5fc||_0x43e5fc[_0x36bc68([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36bc68([0x6f,0x6b]))return _0x36bc68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3743fb(_0x155b91(_0x1e1e9f+_0x3ad7ca))!=_0x43e5fc[_0x36bc68([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36bc68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36bc68([0x56,0x61,0x6c,0x69,0x64]);})[_0x36bc68([0x74,0x68,0x65,0x6e])](_0x5ad139=>(_0x18a34b(),_0x5ad139),()=>{const _0x416dcc=_0x4e419b();return null==_0x416dcc?(_0x18a34b(),_0x36bc68([0x56,0x61,0x6c,0x69,0x64])):_0x36bc68(_0x4bf701-_0x416dcc>(0x7753083a^_0x270896)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36bc68([0x74,0x68,0x65,0x6e])](_0x52473b)[_0x36bc68([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52473b(_0x36bc68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x178195=0x536962ba^_0x270896;function _0x18a34b(){const _0x870abd=_0x36bc68([0x6c,0x6c,0x63,0x74,0x2d])+_0x3743fb(_0x155b91(_0x3141f9)),_0x46e996=_0x1b6175(_0x3743fb(window[_0x36bc68([0x4d,0x61,0x74,0x68])][_0x36bc68([0x63,0x65,0x69,0x6c])](_0x4bf701/_0x178195)));window[_0x36bc68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36bc68([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x870abd,_0x46e996);}function _0x4e419b(){const _0x19be0c=_0x36bc68([0x6c,0x6c,0x63,0x74,0x2d])+_0x3743fb(_0x155b91(_0x3141f9)),_0xda4c16=window[_0x36bc68([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36bc68([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19be0c);return _0xda4c16?window[_0x36bc68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b6175(_0xda4c16),0x10)*_0x178195:null;}function _0x90005b(_0x26f0cb){return new window[(_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x549838,_0x503229)=>{_0x26f0cb[_0x36bc68([0x74,0x68,0x65,0x6e])](_0x549838,_0x503229),window[_0x36bc68([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x503229,0x535e58fa^_0x270896);});}}_0x298b0e[_0x36bc68([0x6f,0x6e])](_0x36bc68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20e81b,_0x26af43)=>{if(_0x26af43[0x0]!=_0x3141f9)return _0x52473b(_0x36bc68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26af43[0x1]={..._0x26af43[0x1],[_0x36bc68([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e1e9f};},{[_0x36bc68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36bc68([0x68,0x69,0x67,0x68])}),_0x298b0e[_0x36bc68([0x6f,0x6e])](_0x36bc68([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34ec81=>{_0x17f53c(_0x34ec81[_0x36bc68([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23dad5=!0x0,_0x540d9f(_0x34ec81[_0x36bc68([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36bc68([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36bc68([0x6c,0x6f,0x77])}),_0x41288f[_0x36bc68([0x74,0x68,0x65,0x6e])](()=>{_0x23dad5||_0x52473b(_0x36bc68([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x435424(){return _0x298b0e[_0x36bc68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36bc68([0x76,0x69,0x65,0x77])][_0x36bc68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36bc68([0x61,0x75,0x74,0x6f]);}function _0x3ef51b(){_0x298b0e[_0x36bc68([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36bc68([0x76,0x69,0x65,0x77])][_0x36bc68([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36bc68([0x61,0x75,0x74,0x6f]);}}function _0x160b75(_0x13447b){const _0x2fe615=[new window[(_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ab4e1=>setTimeout(_0x5ab4e1,0x5356b2f6^_0x270896)),_0x41288f[_0x36bc68([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48040d=>{let _0x2460a6=0x0;_0x298b0e[_0x36bc68([0x6d,0x6f,0x64,0x65,0x6c])][_0x36bc68([0x6f,0x6e])](_0x36bc68([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dbadc,_0x25d6e4)=>{_0x25d6e4[0x0][_0x36bc68([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2460a6++,_0x2460a6==(0x535f8dc2^_0x270896)&&(_0x48040d(),_0x1dbadc[_0x36bc68([0x6f,0x66,0x66])]());});}))];return window[_0x36bc68([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36bc68([0x72,0x61,0x63,0x65])](_0x2fe615)[_0x36bc68([0x74,0x68,0x65,0x6e])](()=>_0x13447b);}async function _0x571032(){await _0x41288f,_0x298b0e[_0x36bc68([0x6d,0x6f,0x64,0x65,0x6c])][_0x36bc68([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x454000,_0x298b0e[_0x36bc68([0x6d,0x6f,0x64,0x65,0x6c])][_0x36bc68([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x454000,_0x298b0e[_0x36bc68([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36bc68([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ac771(_0x5c08e9){const _0x11b247=_0x2e9cde();_0x298b0e[_0x11b247]=_0x36bc68([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c08e9,_0x5c08e9!=_0x36bc68([0x56,0x61,0x6c,0x69,0x64])&&_0x571032();}function _0x2e9cde(){const _0x4a0a0b=window[_0x36bc68([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36bc68([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36bc68([0x6e,0x6f,0x77])]())[_0x36bc68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36bc68([0x2e]),'');let _0x3269b5=_0x36bc68([0x68]);for(let _0x135a7f=0x0;_0x135a7f<_0x4a0a0b[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x135a7f+=0x2){let _0x231440=window[_0x36bc68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a0a0b[_0x36bc68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x135a7f,_0x135a7f+0x2));_0x231440>=_0x3993b0[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x231440-=_0x3993b0[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3269b5+=_0x3993b0[_0x231440];}return _0x3269b5;}function _0x1f9cc7(){const _0x1054f0=_0x3e1983[_0x36bc68([0x73,0x70,0x6c,0x69,0x74])](_0x36bc68([0x2e]));if(0x3!=_0x1054f0[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cf2e8(_0x1054f0[0x1]);function _0x5cf2e8(_0x2a7498){const _0x46308c=_0x30fb3b(_0x2a7498);return _0x46308c&&_0xdea8a2()?_0x46308c:null;function _0xdea8a2(){const _0x6e6d17=_0x46308c[_0x36bc68([0x6a,0x74,0x69])],_0x47a000=window[_0x36bc68([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6e6d17[_0x36bc68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6e6d17[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x276d45={..._0x46308c,[_0x36bc68([0x6a,0x74,0x69])]:_0x6e6d17[_0x36bc68([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6e6d17[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x276d45[_0x36bc68([0x76,0x63])],_0x155b91(_0x276d45)==_0x47a000;}}}async function _0x4836e0(){let _0x30929f=!0x0;try{const _0x3aaa6f=_0x3e1983[_0x36bc68([0x73,0x70,0x6c,0x69,0x74])](_0x36bc68([0x2e])),[_0x418407,_0x23f043,_0x4c8f51]=_0x3aaa6f;return _0x42f5e0(_0x418407),await _0x57eff5(_0x418407,_0x23f043,_0x4c8f51),_0x30929f;}catch{return!0x1;}function _0x42f5e0(_0x1b2871){const _0x4dcb68=_0x30fb3b(_0x1b2871);_0x4dcb68&&_0x4dcb68[_0x36bc68([0x61,0x6c,0x67])]==_0x36bc68([0x45,0x53,0x32,0x35,0x36])||(_0x30929f=!0x1);}async function _0x57eff5(_0x238d94,_0x5e3f4d,_0x58b322){const _0x21dc2a=window[_0x36bc68([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36bc68([0x66,0x72,0x6f,0x6d])](_0x218180(_0x58b322),_0xaf328a=>_0xaf328a[_0x36bc68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b5899=new window[(_0x36bc68([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36bc68([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x238d94+_0x36bc68([0x2e])+_0x5e3f4d),_0x562853=window[_0x36bc68([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36bc68([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x562853)return;const _0x15a36e=await _0x562853[_0x36bc68([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36bc68([0x6a,0x77,0x6b]),_0xc3c1e2,{[_0x36bc68([0x6e,0x61,0x6d,0x65])]:_0x36bc68([0x45,0x43,0x44,0x53,0x41]),[_0x36bc68([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36bc68([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36bc68([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x562853[_0x36bc68([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36bc68([0x6e,0x61,0x6d,0x65])]:_0x36bc68([0x45,0x43,0x44,0x53,0x41]),[_0x36bc68([0x68,0x61,0x73,0x68])]:{[_0x36bc68([0x6e,0x61,0x6d,0x65])]:_0x36bc68([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15a36e,_0x21dc2a,_0x5b5899)||(_0x30929f=!0x1);}}function _0x30fb3b(_0x4c1327){return _0x4c1327[_0x36bc68([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36bc68([0x65,0x79]))?JSON[_0x36bc68([0x70,0x61,0x72,0x73,0x65])](_0x218180(_0x4c1327)):null;}function _0x218180(_0x3da7b1){return window[_0x36bc68([0x61,0x74,0x6f,0x62])](_0x3da7b1[_0x36bc68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36bc68([0x2b]))[_0x36bc68([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36bc68([0x2f])));}function _0x155b91(_0x20bc0f){let _0x1ba5b5=0x1505;function _0x3c4d5c(_0x2445a0){for(let _0x361fa7=0x0;_0x361fa7<_0x2445a0[_0x36bc68([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x361fa7++){const _0x4f4428=_0x2445a0[_0x36bc68([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x361fa7);_0x1ba5b5=(_0x1ba5b5<<0x5)+_0x1ba5b5+_0x4f4428,_0x1ba5b5&=_0x1ba5b5;}}function _0x5ae56b(_0x40d7e4){Array[_0x36bc68([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40d7e4)?_0x40d7e4[_0x36bc68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ae56b):_0x40d7e4&&typeof _0x40d7e4==_0x36bc68([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36bc68([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40d7e4)[_0x36bc68([0x73,0x6f,0x72,0x74])]()[_0x36bc68([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c8ce5,_0x43d97d])=>{_0x3c4d5c(_0x4c8ce5),_0x5ae56b(_0x43d97d);}):_0x3c4d5c(window[_0x36bc68([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40d7e4));}return _0x5ae56b(_0x20bc0f),_0x1ba5b5>>>0x0;}function _0x3743fb(_0x265de6){return _0x265de6[_0x36bc68([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36bc68([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36bc68([0x30]));}function _0x1b6175(_0x4e6456){return _0x4e6456[_0x36bc68([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36bc68([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36bc68([0x6a,0x6f,0x69,0x6e])]('');}function _0x454000(){}function _0x36bc68(_0x5296ab){const _0x513937=_0x510c;return _0x5296ab[_0x513937(0xf5)](_0x2c817b=>String[_0x513937(0xed)](_0x2c817b))[_0x513937(0xc4)]('');}_0x1ac771(await _0xaf2c9e());}(this);}[_0x4615b0(0xd8)](){const _0x43a407=_0x4615b0,_0x582870=this[_0x43a407(0xde)][_0x43a407(0xec)][_0x43a407(0xca)];_0x582870[_0x43a407(0xc0)](_0x43a407(0xf7))&&_0x582870[_0x43a407(0xcc)](_0x43a407(0xf7),{'allowAttributes':[_0x43a407(0xc1)]}),_0x582870[_0x43a407(0xc0)](_0x43a407(0xb4))&&_0x582870[_0x43a407(0xcc)](_0x43a407(0xb4),{'allowAttributes':[_0x43a407(0xc1)]});}[_0x4615b0(0xd0)](){const _0x581dcc=_0x4615b0,_0x4f1e61=this[_0x581dcc(0xde)];_0x4f1e61[_0x581dcc(0xf2)][_0x581dcc(0xd7)](_0x581dcc(0xba))[_0x581dcc(0xe3)]({'model':_0x581dcc(0xc1),'view':_0x581dcc(0xda)}),_0x4f1e61[_0x581dcc(0xf2)][_0x581dcc(0xd7)](_0x581dcc(0xb2))[_0x581dcc(0xe1)]({'model':{'key':_0x581dcc(0xc1),'value':_0x4e4923=>_0x4e4923[_0x581dcc(0xc5)](_0x581dcc(0xda))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x58ed93=_0x4f1e61[_0x581dcc(0xe8)][_0x581dcc(0xfb)](_0x581dcc(0xfc));_0x58ed93&&this[_0x581dcc(0xea)](_0x58ed93,_0x581dcc(0xf9),(_0x554ce4,[_0x7e7c62,_0x2a94af])=>{const _0x6b0e4e=_0x581dcc;_0x7e7c62[_0x6b0e4e(0xc8)](_0x6b0e4e(0xc1),_0x2a94af);});}[_0x4615b0(0xeb)](){const _0x1f748d=_0x4615b0,_0x132110=this[_0x1f748d(0xde)][_0x1f748d(0xb6)][_0x1f748d(0xfb)](_0x1f748d(0xe0))||{},_0x58fd89=this[_0x1f748d(0xde)][_0x1f748d(0xb6)][_0x1f748d(0xfb)](_0x1f748d(0x103))||'';this[_0x1f748d(0xbf)]=_0x4c3ea1(_0xcc4ffc[_0x1f748d(0xd4)],_0x1f748d(0xc9),{..._0x132110,'pubkey':_0x58fd89,'ctx-name':_0x1f748d(0xdf)+this[_0x1f748d(0xf6)],'sourceList':'','imgOnly':_0x1f748d(0xef),'removeCopyright':_0x1f748d(0xef),'localeName':this[_0x1f748d(0xde)][_0x1f748d(0xdc)][_0x1f748d(0xf3)],'externalSourcesEmbedCss':_0x1f748d(0xfd)}),this[_0x1f748d(0xbf)][_0x1f748d(0xcd)]=_0x187ea8=>{const _0x4ee72c=_0x1f748d;if(_0x4ee72c(0xe5)==_0x187ea8)return _0x4ee72c(0xbc);},_0xcc4ffc[_0x1f748d(0xd4)][_0x1f748d(0xbb)][_0x1f748d(0xdd)](this[_0x1f748d(0xbf)]);}[_0x4615b0(0x104)](){const _0x3cc2a6=_0x4615b0;this[_0x3cc2a6(0xd9)]=_0x4c3ea1(_0xcc4ffc[_0x3cc2a6(0xd4)],_0x3cc2a6(0xe6),{'ctx-name':_0x3cc2a6(0xdf)+this[_0x3cc2a6(0xf6)]}),_0xcc4ffc[_0x3cc2a6(0xd4)][_0x3cc2a6(0xbb)][_0x3cc2a6(0xdd)](this[_0x3cc2a6(0xd9)]);}[_0x4615b0(0xb5)](){const _0x2c7418=_0x4615b0,_0x379282=this[_0x2c7418(0xde)][_0x2c7418(0xe8)][_0x2c7418(0xfb)](_0x2c7418(0xe4));_0x379282&&this[_0x2c7418(0xea)](_0x379282,_0x2c7418(0xf4),()=>{const _0x10c472=_0x2c7418,_0x3f87f4=this[_0x10c472(0xde)][_0x10c472(0xec)][_0x10c472(0xd4)][_0x10c472(0xfa)][_0x10c472(0xb0)]();_0x3f87f4&&_0x3f87f4[_0x10c472(0xc5)](_0x10c472(0xc1))&&this[_0x10c472(0xde)][_0x10c472(0xf1)][_0x10c472(0xf0)][_0x10c472(0xce)](_0x10c472(0xff),()=>{const _0x5a5aa2=_0x10c472;_0x19bbd7(this[_0x5a5aa2(0xde)],_0x3f87f4);});});const _0x19bbaa=this[_0x2c7418(0xde)][_0x2c7418(0xe8)][_0x2c7418(0xfb)](_0x2c7418(0xc2));_0x19bbaa&&this[_0x2c7418(0xea)](_0x19bbaa,_0x2c7418(0xf4),()=>{const _0xb249be=_0x2c7418,_0x31dae2=this[_0xb249be(0xde)][_0xb249be(0xec)][_0xb249be(0xd4)][_0xb249be(0xfa)][_0xb249be(0xb0)]();_0x31dae2&&_0x31dae2[_0xb249be(0xc5)](_0xb249be(0xc1))&&this[_0xb249be(0xde)][_0xb249be(0xf1)][_0xb249be(0xf0)][_0xb249be(0xce)](_0xb249be(0xff),()=>{const _0x33f948=_0xb249be;_0x19bbd7(this[_0x33f948(0xde)],_0x31dae2);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x319629,ObservableMixin as _0x27061c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xd8c3d5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x47ffc3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1083d1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x302749}from'../../utils/uploadutils.js';import{getImageUrls as _0x577fc1,getImageDimension as _0xebd83c}from'../../utils/editingutils.js';import{isAncestor as _0x345154}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x27061c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x119d73,_0x4299b5,_0x52daa1){super(),this['_editor']=_0x119d73,this['_dialog']=_0x4299b5,this['_imageElement']=_0x52daa1,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 _0x38be82=this['_imageElement'],_0x53d841=_0x38be82['getAttribute']('uploadcareImageId'),_0x59a11c=_0x38be82['getAttribute']('src');if(_0x53d841)await this['_loadImageInfo'](_0x53d841,_0x59a11c);else{if(this['_imageCache']['has'](_0x59a11c)){const _0x52a244=this['_imageCache']['get'](_0x59a11c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x52a244['url'],this['imageDimension']=_0x52a244['dimension'],this['imageId']=_0x52a244['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x59e4df}=this['_editor'],t=_0x59e4df['t'],_0x1d4552=new _0x1083d1(_0x59e4df,this['imageStatus'],this['_attributes']);_0x1d4552['bind']('status')['to'](this,'imageStatus'),_0x1d4552['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d4552['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d4552['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d4552,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47ffc3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d4552,'position':_0xd8c3d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d4552['focus']();},'onHide':()=>{_0x1d4552['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2f0c9f=>!_0x345154(_0x2f0c9f,_0x1d4552['element'])}});}['_loadImageInfo'](_0x2b7ba4,_0x4f0e3d){return _0x302749['getInfo'](_0x2b7ba4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x54ad90=>{const {width:_0x5539ee,height:_0x28c0e9}=_0x54ad90['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f0e3d,this['imageDimension']={'width':_0x5539ee,'height':_0x28c0e9},this['imageId']=_0x2b7ba4;})['catch'](_0x3070af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3070af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3541cc,_0x58f471){return this['_getImageAsFile'](_0x3541cc)['then'](_0x26dd50=>_0x302749['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x58f471['signal'],'file':_0x26dd50,'onProgress':_0x41cda6=>{_0x41cda6&&_0x41cda6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x41cda6['value']));}}))['then'](_0x5a7858=>{const {width:_0x3d3486,height:_0x6a3970}=_0x5a7858['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a7858['cdnUrl'],this['imageDimension']={'width':_0x3d3486,'height':_0x6a3970},this['imageId']=_0x5a7858['uuid'],this['imageUploadProgress']=null;const _0xcb4862=_0x3541cc['getAttribute']('src');this['_imageCache']['set'](_0xcb4862,{'id':_0x5a7858['uuid'],'url':_0x5a7858['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x400743=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x400743['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x435074,_0x2e03bf){_0x435074['on']('apply',(_0x549d29,_0xee1deb)=>{this['_replaceImage'](_0x2e03bf,_0xee1deb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x435074['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x435074['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2e14a2,_0x58d946,_0x4709b2){const _0x83d3f6=this['_editor'],{width:_0x387eb2,height:_0x4154ad}=_0xebd83c(_0x58d946,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3234e3,imageSources:_0xd7904d}=_0x577fc1(_0x58d946,_0x387eb2);_0x83d3f6['model']['change'](_0x55e855=>{if('$graveyard'===_0x2e14a2['root']['rootName']){_0x83d3f6['execute']('insertImage',{'imageType':_0x2e14a2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2e14a2['getAttributes']()),'uploadcareImageId':_0x4709b2,'src':_0x3234e3,'sources':_0xd7904d,'width':_0x387eb2,'height':_0x4154ad}});const _0x330006=_0x2e14a2['getChildren']();_0x2e14a2=_0x83d3f6['model']['document']['selection']['getSelectedElement']();for(const _0xa0e944 of _0x330006)_0x55e855['append'](_0x55e855['cloneElement'](_0xa0e944),_0x2e14a2);}else _0x55e855['setSelection'](_0x2e14a2,'on'),_0x83d3f6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2e14a2['getAttributes']()),'uploadcareImageId':_0x4709b2,'src':_0x3234e3,'sources':_0xd7904d,'width':_0x387eb2,'height':_0x4154ad},_0x2e14a2);_0x55e855['setSelection'](_0x2e14a2,'on');});}async['_getImageAsFile'](_0x526cf4){const _0x10ce0c=_0x319629['window'],_0x4e8510=_0x319629['document']['location']['href'],_0x3a7fe0=new _0x10ce0c['URL'](_0x526cf4['getAttribute']('src'),_0x4e8510);if('data:'===_0x3a7fe0['protocol']){const _0x780ddc=_0x3a7fe0['href']['split'](','),_0x325316=_0x780ddc[0x0]['match'](/:(.*?);/)[0x1],_0x3ac64c=_0x325316['split']('/')[0x1],_0x34fd1e=_0x10ce0c['atob'](_0x780ddc[_0x780ddc['length']-0x1]);let _0x21ce29=_0x34fd1e['length'];const _0xc61238=new _0x10ce0c['Uint8Array'](_0x21ce29);for(;_0x21ce29--;)_0xc61238[_0x21ce29]=_0x34fd1e['charCodeAt'](_0x21ce29);return new _0x10ce0c['File']([_0xc61238],'image.'+_0x3ac64c,{'type':_0x325316});}const _0x2bdbf6=_0x3a7fe0['href']['split']('/'),_0x32ecf3=_0x2bdbf6[_0x2bdbf6['length']-0x1],_0x40f523=_0x32ecf3['split']('.')[0x1];return _0x10ce0c['fetch'](_0x3a7fe0['href'])['then'](_0x1a2614=>_0x1a2614['clone']()['blob']())['then'](_0x5bfed6=>new _0x10ce0c['File']([_0x5bfed6],_0x32ecf3,{'type':'image/'+_0x40f523}));}}
23
+ import{global as _0xe96a76,ObservableMixin as _0x5bf02b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x34f4dc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2d6ebb}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x968101}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xc92788}from'../../utils/uploadutils.js';import{getImageUrls as _0x121a86,getImageDimension as _0x2bee4c}from'../../utils/editingutils.js';import{isAncestor as _0x20ed77}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5bf02b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x56e613,_0x460cca,_0x251e0f){super(),this['_editor']=_0x56e613,this['_dialog']=_0x460cca,this['_imageElement']=_0x251e0f,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 _0x76f67d=this['_imageElement'],_0x39e2ac=_0x76f67d['getAttribute']('uploadcareImageId'),_0x475c13=_0x76f67d['getAttribute']('src');if(_0x39e2ac)await this['_loadImageInfo'](_0x39e2ac,_0x475c13);else{if(this['_imageCache']['has'](_0x475c13)){const _0x96fda4=this['_imageCache']['get'](_0x475c13);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x96fda4['url'],this['imageDimension']=_0x96fda4['dimension'],this['imageId']=_0x96fda4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x53e453}=this['_editor'],t=_0x53e453['t'],_0x488a1d=new _0x968101(_0x53e453,this['imageStatus'],this['_attributes']);_0x488a1d['bind']('status')['to'](this,'imageStatus'),_0x488a1d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x488a1d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x488a1d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x488a1d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2d6ebb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x488a1d,'position':_0x34f4dc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x488a1d['focus']();},'onHide':()=>{_0x488a1d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53fb9e=>!_0x20ed77(_0x53fb9e,_0x488a1d['element'])}});}['_loadImageInfo'](_0x355f6a,_0x54b281){return _0xc92788['getInfo'](_0x355f6a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x58f9a3=>{const {width:_0x58852c,height:_0x3d950b}=_0x58f9a3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54b281,this['imageDimension']={'width':_0x58852c,'height':_0x3d950b},this['imageId']=_0x355f6a;})['catch'](_0x1da909=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1da909['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x51aad,_0x259ff7){return this['_getImageAsFile'](_0x51aad)['then'](_0x398cc2=>_0xc92788['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x259ff7['signal'],'file':_0x398cc2,'onProgress':_0x3a3db8=>{_0x3a3db8&&_0x3a3db8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3a3db8['value']));}}))['then'](_0xba4b61=>{const {width:_0x545196,height:_0x40dd04}=_0xba4b61['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xba4b61['cdnUrl'],this['imageDimension']={'width':_0x545196,'height':_0x40dd04},this['imageId']=_0xba4b61['uuid'],this['imageUploadProgress']=null;const _0x268466=_0x51aad['getAttribute']('src');this['_imageCache']['set'](_0x268466,{'id':_0xba4b61['uuid'],'url':_0xba4b61['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x378133=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x378133['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x482d3f,_0x156a5d){_0x482d3f['on']('apply',(_0x36c74b,_0x42308f)=>{this['_replaceImage'](_0x156a5d,_0x42308f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x482d3f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x482d3f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3302ee,_0x275efd,_0x343827){const _0x1c101b=this['_editor'],{width:_0x3b8d1b,height:_0x530103}=_0x2bee4c(_0x275efd,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3539d4,imageSources:_0x2ada7b}=_0x121a86(_0x275efd,_0x3b8d1b);_0x1c101b['model']['change'](_0x364658=>{if('$graveyard'===_0x3302ee['root']['rootName']){_0x1c101b['execute']('insertImage',{'imageType':_0x3302ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3302ee['getAttributes']()),'uploadcareImageId':_0x343827,'src':_0x3539d4,'sources':_0x2ada7b,'width':_0x3b8d1b,'height':_0x530103}});const _0x25e65c=_0x3302ee['getChildren']();_0x3302ee=_0x1c101b['model']['document']['selection']['getSelectedElement']();for(const _0x5da2d7 of _0x25e65c)_0x364658['append'](_0x364658['cloneElement'](_0x5da2d7),_0x3302ee);}else _0x364658['setSelection'](_0x3302ee,'on'),_0x1c101b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3302ee['getAttributes']()),'uploadcareImageId':_0x343827,'src':_0x3539d4,'sources':_0x2ada7b,'width':_0x3b8d1b,'height':_0x530103},_0x3302ee);_0x364658['setSelection'](_0x3302ee,'on');});}async['_getImageAsFile'](_0x42ccd7){const _0x41d60c=_0xe96a76['window'],_0x1134d0=_0xe96a76['document']['location']['href'],_0x3d1cec=new _0x41d60c['URL'](_0x42ccd7['getAttribute']('src'),_0x1134d0);if('data:'===_0x3d1cec['protocol']){const _0x3ac2e7=_0x3d1cec['href']['split'](','),_0x34f4d6=_0x3ac2e7[0x0]['match'](/:(.*?);/)[0x1],_0xad9910=_0x34f4d6['split']('/')[0x1],_0x358c37=_0x41d60c['atob'](_0x3ac2e7[_0x3ac2e7['length']-0x1]);let _0x355814=_0x358c37['length'];const _0x3edcb1=new _0x41d60c['Uint8Array'](_0x355814);for(;_0x355814--;)_0x3edcb1[_0x355814]=_0x358c37['charCodeAt'](_0x355814);return new _0x41d60c['File']([_0x3edcb1],'image.'+_0xad9910,{'type':_0x34f4d6});}const _0x5eb91c=_0x3d1cec['href']['split']('/'),_0x2d7f21=_0x5eb91c[_0x5eb91c['length']-0x1],_0x46260a=_0x2d7f21['split']('.')[0x1];return _0x41d60c['fetch'](_0x3d1cec['href'])['then'](_0x200365=>_0x200365['clone']()['blob']())['then'](_0x345573=>new _0x41d60c['File']([_0x345573],_0x2d7f21,{'type':'image/'+_0x46260a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4c9891,_0x444964){const _0x3c84d0=_0x3130,_0xfe1b22=_0x4c9891();while(!![]){try{const _0x58c110=-parseInt(_0x3c84d0(0xc1))/0x1*(-parseInt(_0x3c84d0(0xb9))/0x2)+parseInt(_0x3c84d0(0xb6))/0x3*(-parseInt(_0x3c84d0(0xbe))/0x4)+-parseInt(_0x3c84d0(0xb5))/0x5*(parseInt(_0x3c84d0(0xbc))/0x6)+parseInt(_0x3c84d0(0xbd))/0x7+parseInt(_0x3c84d0(0xc2))/0x8+parseInt(_0x3c84d0(0xc6))/0x9*(parseInt(_0x3c84d0(0xbf))/0xa)+parseInt(_0x3c84d0(0xb4))/0xb*(-parseInt(_0x3c84d0(0xb3))/0xc);if(_0x58c110===_0x444964)break;else _0xfe1b22['push'](_0xfe1b22['shift']());}catch(_0x32b2e0){_0xfe1b22['push'](_0xfe1b22['shift']());}}}(_0x346a,0x3afcf));function _0x3130(_0x4e5cb5,_0x302c20){const _0x346a96=_0x346a();return _0x3130=function(_0x313022,_0x95f318){_0x313022=_0x313022-0xb3;let _0x3cdb07=_0x346a96[_0x313022];return _0x3cdb07;},_0x3130(_0x4e5cb5,_0x302c20);}function _0x346a(){const _0xddfaf8=['795968KRNswg','bindTemplate','imageSrc','ck-uploadcare-theme','1478943iLihQv','6092016GMtCOa','11iQdMYH','1316330fMfMmX','129JtawkG','uc-light','set','4TAoPfN','setTemplate','uc-cloud-image-editor','6gEjTpX','2834489rAVHfS','10436DcRFOe','10uJpmoO','image-edit','227993ZIUsGn'];_0x346a=function(){return _0xddfaf8;};return _0x346a();}import{View as _0x42a866}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x42a866{constructor(_0x3e108e,_0x268f08){const _0x1c1f8e=_0x3130;super(_0x3e108e);const _0x5cc244=this[_0x1c1f8e(0xc3)];this[_0x1c1f8e(0xb8)](_0x1c1f8e(0xc4),''),this[_0x1c1f8e(0xba)]({'tag':_0x1c1f8e(0xbb),'attributes':{..._0x268f08,'class':[_0x1c1f8e(0xb7),_0x1c1f8e(0xc5)],'ctx-name':_0x1c1f8e(0xc0),'cdn-url':_0x5cc244['to'](_0x1c1f8e(0xc4))}});}}
23
+ (function(_0x3b6da8,_0x4ceb18){const _0x201fe1=_0x36f9,_0x510c5d=_0x3b6da8();while(!![]){try{const _0x1f0d0a=-parseInt(_0x201fe1(0x142))/0x1*(parseInt(_0x201fe1(0x13a))/0x2)+-parseInt(_0x201fe1(0x143))/0x3*(-parseInt(_0x201fe1(0x149))/0x4)+parseInt(_0x201fe1(0x141))/0x5*(-parseInt(_0x201fe1(0x14a))/0x6)+parseInt(_0x201fe1(0x13d))/0x7+parseInt(_0x201fe1(0x147))/0x8*(-parseInt(_0x201fe1(0x138))/0x9)+-parseInt(_0x201fe1(0x14b))/0xa+-parseInt(_0x201fe1(0x148))/0xb*(-parseInt(_0x201fe1(0x145))/0xc);if(_0x1f0d0a===_0x4ceb18)break;else _0x510c5d['push'](_0x510c5d['shift']());}catch(_0x1c5d55){_0x510c5d['push'](_0x510c5d['shift']());}}}(_0x5d15,0x1af80));import{View as _0x2972af}from'ckeditor5/src/ui.js';function _0x5d15(){const _0x2c443d=['3ENCFFc','set','36gRzLqU','image-edit','120rwBQqK','1650770FrtsgS','694800iLtxVd','6hVytWW','1278170gkDqMG','102978WrslzV','imageSrc','48ZPNTkg','setTemplate','uc-light','867433IfzkMs','uc-cloud-image-editor','bindTemplate','ck-uploadcare-theme','690710EwdlAD','8324lyXriI'];_0x5d15=function(){return _0x2c443d;};return _0x5d15();}function _0x36f9(_0xe6e802,_0x974d08){const _0x5d15ed=_0x5d15();return _0x36f9=function(_0x36f99d,_0x100736){_0x36f99d=_0x36f99d-0x138;let _0x378126=_0x5d15ed[_0x36f99d];return _0x378126;},_0x36f9(_0xe6e802,_0x974d08);}export class UploadcareImageEditFormEditingView extends _0x2972af{constructor(_0x30e225,_0x2e4635){const _0x4daebd=_0x36f9;super(_0x30e225);const _0xf9742=this[_0x4daebd(0x13f)];this[_0x4daebd(0x144)](_0x4daebd(0x139),''),this[_0x4daebd(0x13b)]({'tag':_0x4daebd(0x13e),'attributes':{..._0x2e4635,'class':[_0x4daebd(0x13c),_0x4daebd(0x140)],'ctx-name':_0x4daebd(0x146),'cdn-url':_0xf9742['to'](_0x4daebd(0x139))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x431bd9}from'ckeditor5/src/icons.js';import{ButtonView as _0x2c7cbf,IconView as _0x250be6,View as _0x5451c6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5451c6{constructor(_0x5605b4){super(_0x5605b4);const t=_0x5605b4['t'];this['set']('errorType',null);const _0x226a59=new _0x2c7cbf(_0x5605b4);_0x226a59['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x226a59['withText']=!0x0,_0x226a59['class']='ck-button-action',_0x226a59['on']('execute',()=>{this['fire']('retry');}),_0x226a59['bind']('isVisible')['to'](this,'errorType',_0x5d63b0=>'NotFound'!==_0x5d63b0);const _0x20ba70=new _0x250be6();_0x20ba70['content']=_0x431bd9,_0x20ba70['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4cfd1e=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':[_0x20ba70,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4cfd1e['to']('errorType',_0x3376f2=>t('NotFound'!==_0x3376f2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x226a59]},{'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 _0x3dc5b2}from'ckeditor5/src/icons.js';import{ButtonView as _0x57df0d,IconView as _0x5dbd0f,View as _0x1d33b0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1d33b0{constructor(_0x2a01d6){super(_0x2a01d6);const t=_0x2a01d6['t'];this['set']('errorType',null);const _0x5ed966=new _0x57df0d(_0x2a01d6);_0x5ed966['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5ed966['withText']=!0x0,_0x5ed966['class']='ck-button-action',_0x5ed966['on']('execute',()=>{this['fire']('retry');}),_0x5ed966['bind']('isVisible')['to'](this,'errorType',_0x14fcc5=>'NotFound'!==_0x14fcc5);const _0x4492fc=new _0x5dbd0f();_0x4492fc['content']=_0x3dc5b2,_0x4492fc['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2fd427=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':[_0x4492fc,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2fd427['to']('errorType',_0x15fe51=>t('NotFound'!==_0x15fe51?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5ed966]},{'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 _0x8973e7,View as _0x266438}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x266438{constructor(_0xb8b4c9){super(_0xb8b4c9);const t=_0xb8b4c9['t'],_0x4e0986=this['bindTemplate'],_0x4f10e5=new _0x8973e7();_0x4f10e5['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':[_0x4f10e5,{'text':_0x4e0986['to']('imageUploadProgress',_0x25c521=>t('Loading\x20image...')+'\x20('+(_0x25c521||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 _0x14fd23,View as _0x455175}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x455175{constructor(_0x2baaea){super(_0x2baaea);const t=_0x2baaea['t'],_0x124610=this['bindTemplate'],_0x2311b1=new _0x14fd23();_0x2311b1['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':[_0x2311b1,{'text':_0x124610['to']('imageUploadProgress',_0x1dffdf=>t('Loading\x20image...')+'\x20('+(_0x1dffdf||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 _0x1dc731=_0x2163;(function(_0x1d56cc,_0x25c9ec){const _0x11550d=_0x2163,_0xd44c0f=_0x1d56cc();while(!![]){try{const _0x911c1c=parseInt(_0x11550d(0x19e))/0x1*(-parseInt(_0x11550d(0x184))/0x2)+parseInt(_0x11550d(0x188))/0x3+-parseInt(_0x11550d(0x18c))/0x4*(-parseInt(_0x11550d(0x1ae))/0x5)+parseInt(_0x11550d(0x1b0))/0x6+parseInt(_0x11550d(0x1a1))/0x7+-parseInt(_0x11550d(0x19b))/0x8+-parseInt(_0x11550d(0x1af))/0x9;if(_0x911c1c===_0x25c9ec)break;else _0xd44c0f['push'](_0xd44c0f['shift']());}catch(_0x24dc1c){_0xd44c0f['push'](_0xd44c0f['shift']());}}}(_0x3450,0x720da));import{View as _0x1b60ce}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x24d618}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5b9fcf}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x56deda}from'./uploadcareimageeditformeditingview.js';function _0x3450(){const _0x3fa7a4=['setTemplate','1563171BdNxCZ','add','querySelector','filter','1147952LIuhln','set','element','ck-uploadcare-form','nodeName','_addErrorViewListeners','once','retry','change:status','addEventListener','addMany','observe','addedNodes','ck-reset_all-excluded','clear','854040cOwTBt','length','target','2knTuFR','toLowerCase','status','5935328NPeKOE','_errorView','error','cancel','_loadingView','getFocusableElement','uploading','_focusableView','cdnUrl','_items','focus','_editingView','_setView','15fFDDFZ','20584242ZAsouX','4438656CdwKjR','detail','createCollection','uc-cloud-image-editor','disconnect','render','_waitForImageEditorComponent','apply','div','ready','108646SLeRvz','fire','_addUploadcareImageEditorListeners'];_0x3450=function(){return _0x3fa7a4;};return _0x3450();}import{DialogFocusManagerView as _0x3221f4}from'../../utils/dialogfocusmanagerview.js';function _0x2163(_0x3c0d79,_0x4a2984){const _0x3450bb=_0x3450();return _0x2163=function(_0x21635,_0x33ca5b){_0x21635=_0x21635-0x184;let _0x1187e3=_0x3450bb[_0x21635];return _0x1187e3;},_0x2163(_0x3c0d79,_0x4a2984);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3221f4{[_0x1dc731(0x1aa)];[_0x1dc731(0x1a5)];[_0x1dc731(0x1a2)];[_0x1dc731(0x1ac)];[_0x1dc731(0x1a8)];constructor(_0x337830,_0x414996,_0x116cf2){const _0x1ecb4a=_0x1dc731;super(_0x337830),this[_0x1ecb4a(0x1aa)]=this[_0x1ecb4a(0x1b2)](),this[_0x1ecb4a(0x1a5)]=new _0x24d618(_0x337830),this[_0x1ecb4a(0x1a2)]=new _0x5b9fcf(_0x337830),this[_0x1ecb4a(0x1ac)]=new _0x56deda(_0x337830,_0x116cf2),this[_0x1ecb4a(0x1a8)]=new _0x1b60ce(_0x337830),this[_0x1ecb4a(0x1a8)][_0x1ecb4a(0x187)](this[_0x1ecb4a(0x1a6)]()),this[_0x1ecb4a(0x18d)](_0x1ecb4a(0x1a0),_0x414996),this[_0x1ecb4a(0x187)]({'tag':_0x1ecb4a(0x1b8),'attributes':{'class':['ck',_0x1ecb4a(0x199),_0x1ecb4a(0x18f)],'tabindex':'-1'},'children':this[_0x1ecb4a(0x1aa)]}),this[_0x1ecb4a(0x1ad)](),this[_0x1ecb4a(0x192)](_0x1ecb4a(0x1b5),()=>{const _0x3aa9ab=_0x1ecb4a;this[_0x3aa9ab(0x1b6)](this[_0x3aa9ab(0x18e)],_0x297adc=>{const _0x219fa9=_0x3aa9ab;this[_0x219fa9(0x186)](_0x297adc);});}),this['on'](_0x1ecb4a(0x194),()=>{const _0xc41aca=_0x1ecb4a;this[_0xc41aca(0x1ad)]();}),this[_0x1ecb4a(0x191)]();}[_0x1dc731(0x1ab)](){const _0x2fd6ae=_0x1dc731;this[_0x2fd6ae(0x18e)][_0x2fd6ae(0x1ab)]();}[_0x1dc731(0x1ad)](){const _0x22fe12=_0x1dc731;switch(this[_0x22fe12(0x1aa)][_0x22fe12(0x19a)](),this[_0x22fe12(0x1a0)]){case _0x22fe12(0x1a7):this[_0x22fe12(0x1aa)][_0x22fe12(0x189)](this[_0x22fe12(0x1a5)]);break;case _0x22fe12(0x1a3):this[_0x22fe12(0x1aa)][_0x22fe12(0x189)](this[_0x22fe12(0x1a2)]);break;case _0x22fe12(0x1b9):this[_0x22fe12(0x1aa)][_0x22fe12(0x196)]([this[_0x22fe12(0x1ac)],this[_0x22fe12(0x1a8)]]);}}[_0x1dc731(0x1b6)](_0x4b131f,_0x3ecb7d){const _0x3b1c0a=_0x1dc731,_0x5e4a6c=_0x3b1c0a(0x1b3),_0x5445f8=_0x4b131f[_0x3b1c0a(0x18a)](_0x5e4a6c);if(_0x5445f8)return _0x3ecb7d(_0x5445f8);const _0x3f43ef=new MutationObserver(_0x59b174=>{const _0x1c842d=_0x3b1c0a,_0x3da44d=_0x59b174[_0x1c842d(0x18b)](_0x3d8d82=>_0x3d8d82[_0x1c842d(0x19d)]===_0x4b131f&&_0x3d8d82[_0x1c842d(0x198)][_0x1c842d(0x19c)]>0x0&&_0x3d8d82[_0x1c842d(0x198)][0x0][_0x1c842d(0x190)][_0x1c842d(0x19f)]()===_0x5e4a6c);_0x3da44d[_0x1c842d(0x19c)]&&(_0x3f43ef[_0x1c842d(0x1b4)](),_0x3ecb7d(_0x3da44d[0x0][_0x1c842d(0x198)][0x0]));});_0x3f43ef[_0x3b1c0a(0x197)](_0x4b131f,{'childList':!0x0,'subtree':!0x0});}[_0x1dc731(0x186)](_0x43ce71){const _0x3f9901=_0x1dc731;_0x43ce71[_0x3f9901(0x195)](_0x3f9901(0x1b7),_0x256c3f=>{const _0x9f9e4c=_0x3f9901;this[_0x9f9e4c(0x185)](_0x9f9e4c(0x1b7),{'imageSrc':_0x256c3f[_0x9f9e4c(0x1b1)][_0x9f9e4c(0x1a9)]});}),_0x43ce71[_0x3f9901(0x195)](_0x3f9901(0x1a4),()=>{const _0x345f33=_0x3f9901;this[_0x345f33(0x185)](_0x345f33(0x1a4));});}[_0x1dc731(0x191)](){const _0x165cd1=_0x1dc731;this[_0x165cd1(0x1a2)]['on'](_0x165cd1(0x193),()=>{const _0x223a09=_0x165cd1;this[_0x223a09(0x185)](_0x223a09(0x193));});}}
23
+ function _0x40ee(){const _0xe81a94=['render','_setView','detail','add','_addUploadcareImageEditorListeners','_addErrorViewListeners','nodeName','target','apply','observe','error','_errorView','_loadingView','ck-uploadcare-form','ck-reset_all-excluded','30852472AcaHGh','length','923256GJZiHF','element','getFocusableElement','addedNodes','cancel','status','retry','querySelector','focus','uc-cloud-image-editor','644855BBMdzT','cdnUrl','7628593DWpbcW','2103564axGEhT','ready','8YGccPn','disconnect','filter','addMany','createCollection','1001696obbBzs','fire','_editingView','_items','div','clear','addEventListener','_focusableView','change:status','toLowerCase','once','setTemplate','uploading','624561Mmvhdq','set','_waitForImageEditorComponent'];_0x40ee=function(){return _0xe81a94;};return _0x40ee();}const _0x315404=_0x3d0a;(function(_0x2c10b5,_0x204dc5){const _0x4e5b0c=_0x3d0a,_0x3fcd9a=_0x2c10b5();while(!![]){try{const _0xb457f=-parseInt(_0x4e5b0c(0x19c))/0x1+-parseInt(_0x4e5b0c(0x18f))/0x2+-parseInt(_0x4e5b0c(0x188))/0x3+-parseInt(_0x4e5b0c(0x18a))/0x4*(parseInt(_0x4e5b0c(0x185))/0x5)+parseInt(_0x4e5b0c(0x1b0))/0x6+-parseInt(_0x4e5b0c(0x187))/0x7+parseInt(_0x4e5b0c(0x1ae))/0x8;if(_0xb457f===_0x204dc5)break;else _0x3fcd9a['push'](_0x3fcd9a['shift']());}catch(_0x84d14c){_0x3fcd9a['push'](_0x3fcd9a['shift']());}}}(_0x40ee,0xcc201));import{View as _0x4fa78b}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2e8340}from'./uploadcareimageeditformloadingview.js';function _0x3d0a(_0x21e131,_0x1d41a5){const _0x40ee89=_0x40ee();return _0x3d0a=function(_0x3d0a41,_0x51eb57){_0x3d0a41=_0x3d0a41-0x181;let _0x2ec02c=_0x40ee89[_0x3d0a41];return _0x2ec02c;},_0x3d0a(_0x21e131,_0x1d41a5);}import{UploadcareImageEditFormErrorView as _0x23940b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x367b6e}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x13b5ce}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x13b5ce{[_0x315404(0x192)];[_0x315404(0x1ab)];[_0x315404(0x1aa)];[_0x315404(0x191)];[_0x315404(0x196)];constructor(_0x2b5ed4,_0x204e25,_0x53fa7f){const _0x216f45=_0x315404;super(_0x2b5ed4),this[_0x216f45(0x192)]=this[_0x216f45(0x18e)](),this[_0x216f45(0x1ab)]=new _0x2e8340(_0x2b5ed4),this[_0x216f45(0x1aa)]=new _0x23940b(_0x2b5ed4),this[_0x216f45(0x191)]=new _0x367b6e(_0x2b5ed4,_0x53fa7f),this[_0x216f45(0x196)]=new _0x4fa78b(_0x2b5ed4),this[_0x216f45(0x196)][_0x216f45(0x19a)](this[_0x216f45(0x1b2)]()),this[_0x216f45(0x19d)](_0x216f45(0x1b5),_0x204e25),this[_0x216f45(0x19a)]({'tag':_0x216f45(0x193),'attributes':{'class':['ck',_0x216f45(0x1ad),_0x216f45(0x1ac)],'tabindex':'-1'},'children':this[_0x216f45(0x192)]}),this[_0x216f45(0x1a0)](),this[_0x216f45(0x199)](_0x216f45(0x19f),()=>{const _0x312d38=_0x216f45;this[_0x312d38(0x19e)](this[_0x312d38(0x1b1)],_0x3aa5b6=>{const _0x3f507a=_0x312d38;this[_0x3f507a(0x1a3)](_0x3aa5b6);});}),this['on'](_0x216f45(0x197),()=>{const _0x208f53=_0x216f45;this[_0x208f53(0x1a0)]();}),this[_0x216f45(0x1a4)]();}[_0x315404(0x183)](){const _0x34d979=_0x315404;this[_0x34d979(0x1b1)][_0x34d979(0x183)]();}[_0x315404(0x1a0)](){const _0x44d33f=_0x315404;switch(this[_0x44d33f(0x192)][_0x44d33f(0x194)](),this[_0x44d33f(0x1b5)]){case _0x44d33f(0x19b):this[_0x44d33f(0x192)][_0x44d33f(0x1a2)](this[_0x44d33f(0x1ab)]);break;case _0x44d33f(0x1a9):this[_0x44d33f(0x192)][_0x44d33f(0x1a2)](this[_0x44d33f(0x1aa)]);break;case _0x44d33f(0x189):this[_0x44d33f(0x192)][_0x44d33f(0x18d)]([this[_0x44d33f(0x191)],this[_0x44d33f(0x196)]]);}}[_0x315404(0x19e)](_0x23cfbd,_0x42736d){const _0x41dc1=_0x315404,_0x30d00b=_0x41dc1(0x184),_0x51e4d6=_0x23cfbd[_0x41dc1(0x182)](_0x30d00b);if(_0x51e4d6)return _0x42736d(_0x51e4d6);const _0x3db360=new MutationObserver(_0xb8cb7a=>{const _0x25253e=_0x41dc1,_0xb2d149=_0xb8cb7a[_0x25253e(0x18c)](_0x5ee14f=>_0x5ee14f[_0x25253e(0x1a6)]===_0x23cfbd&&_0x5ee14f[_0x25253e(0x1b3)][_0x25253e(0x1af)]>0x0&&_0x5ee14f[_0x25253e(0x1b3)][0x0][_0x25253e(0x1a5)][_0x25253e(0x198)]()===_0x30d00b);_0xb2d149[_0x25253e(0x1af)]&&(_0x3db360[_0x25253e(0x18b)](),_0x42736d(_0xb2d149[0x0][_0x25253e(0x1b3)][0x0]));});_0x3db360[_0x41dc1(0x1a8)](_0x23cfbd,{'childList':!0x0,'subtree':!0x0});}[_0x315404(0x1a3)](_0x56d95f){const _0x28752e=_0x315404;_0x56d95f[_0x28752e(0x195)](_0x28752e(0x1a7),_0x286af0=>{const _0x1685ba=_0x28752e;this[_0x1685ba(0x190)](_0x1685ba(0x1a7),{'imageSrc':_0x286af0[_0x1685ba(0x1a1)][_0x1685ba(0x186)]});}),_0x56d95f[_0x28752e(0x195)](_0x28752e(0x1b4),()=>{const _0x412b2a=_0x28752e;this[_0x412b2a(0x190)](_0x412b2a(0x1b4));});}[_0x315404(0x1a4)](){const _0x46d2a0=_0x315404;this[_0x46d2a0(0x1aa)]['on'](_0x46d2a0(0x181),()=>{const _0x123ca6=_0x46d2a0;this[_0x123ca6(0x190)](_0x123ca6(0x181));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20c5e7=_0x4b37;(function(_0x233a44,_0x995ffe){const _0x4213d5=_0x4b37,_0x53f6b7=_0x233a44();while(!![]){try{const _0x4046ca=parseInt(_0x4213d5(0x1a7))/0x1+parseInt(_0x4213d5(0x1b2))/0x2*(-parseInt(_0x4213d5(0x1b9))/0x3)+-parseInt(_0x4213d5(0x1b5))/0x4+-parseInt(_0x4213d5(0x1ab))/0x5*(parseInt(_0x4213d5(0x1b4))/0x6)+-parseInt(_0x4213d5(0x1a4))/0x7*(parseInt(_0x4213d5(0x1bc))/0x8)+-parseInt(_0x4213d5(0x1a5))/0x9+-parseInt(_0x4213d5(0x1c0))/0xa*(-parseInt(_0x4213d5(0x1aa))/0xb);if(_0x4046ca===_0x995ffe)break;else _0x53f6b7['push'](_0x53f6b7['shift']());}catch(_0x13aed5){_0x53f6b7['push'](_0x53f6b7['shift']());}}}(_0x3a86,0x2d5cd));function _0x4b37(_0x2a1ff0,_0xa6292c){const _0x3a867e=_0x3a86();return _0x4b37=function(_0x4b3711,_0x36cac4){_0x4b3711=_0x4b3711-0x1a2;let _0x439b46=_0x3a867e[_0x4b3711];return _0x439b46;},_0x4b37(_0x2a1ff0,_0xa6292c);}import{Command as _0x1e1bb2}from'ckeditor5/src/core.js';import{Dialog as _0x183f20}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4e61bc}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x105dfc}from'../utils/editingutils.js';function _0x3a86(){const _0x2e561a=['uploadcare.allowExternalImagesEditing','editor','selection','3610ZFBlsl','isEnabled','model','isActive','getSelectedElement','1276919iDXLpp','288072YBVyzw','unbind','58456PBSnWF','execute','requires','22858UkHUfY','377005uuHQsg','imageEditController','plugins','set','_isEditable','imageBlock','refresh','30904piMaKR','get','6IPoViP','1208316alkHKd','config','element','bind','6tHeDif','document','imageInline','8EyjuNQ'];_0x3a86=function(){return _0x2e561a;};return _0x3a86();}export class UploadcareImageEditCommand extends _0x1e1bb2{[_0x20c5e7(0x1ac)];static get[_0x20c5e7(0x1a9)](){return[_0x183f20];}[_0x20c5e7(0x1af)];constructor(_0x4f0c22){const _0x4633b9=_0x20c5e7;super(_0x4f0c22),this[_0x4633b9(0x1ac)]=void 0x0,this[_0x4633b9(0x1af)]=_0x105dfc(_0x4f0c22[_0x4633b9(0x1b6)][_0x4633b9(0x1b3)](_0x4633b9(0x1bd))||[]),this[_0x4633b9(0x1ae)]({'isActive':!0x1});}[_0x20c5e7(0x1b1)](){const _0x21b2a8=_0x20c5e7,_0x3aad8f=this[_0x21b2a8(0x1be)][_0x21b2a8(0x1c2)][_0x21b2a8(0x1ba)][_0x21b2a8(0x1bf)][_0x21b2a8(0x1a3)]();this[_0x21b2a8(0x1c1)]=this[_0x21b2a8(0x1af)](_0x3aad8f);}[_0x20c5e7(0x1a8)](){const _0xdc9ae=_0x20c5e7;this[_0xdc9ae(0x1ac)]&&(this[_0xdc9ae(0x1a6)](_0xdc9ae(0x1a2)),this[_0xdc9ae(0x1ac)]=void 0x0);const _0x48129=this[_0xdc9ae(0x1be)][_0xdc9ae(0x1c2)][_0xdc9ae(0x1ba)][_0xdc9ae(0x1bf)][_0xdc9ae(0x1a3)]();_0x48129&&(_0x48129['is'](_0xdc9ae(0x1b7),_0xdc9ae(0x1b0))||_0x48129['is'](_0xdc9ae(0x1b7),_0xdc9ae(0x1bb)))&&(this[_0xdc9ae(0x1ac)]=new _0x4e61bc(this[_0xdc9ae(0x1be)],this[_0xdc9ae(0x1be)][_0xdc9ae(0x1ad)][_0xdc9ae(0x1b3)](_0x183f20),_0x48129),this[_0xdc9ae(0x1b8)](_0xdc9ae(0x1a2))['to'](this[_0xdc9ae(0x1ac)],_0xdc9ae(0x1a2)));}}
23
+ const _0x17a4d6=_0x4797;function _0x352f(){const _0x5eccb0=['execute','272322kPPxDi','refresh','isEnabled','plugins','3053256SSOscI','imageEditController','config','8SFspDW','252539mvAIPY','document','isActive','99600XCTyeY','get','uploadcare.allowExternalImagesEditing','114Fzflpa','bind','selection','model','1250084VDsbyi','set','304245grTiws','getSelectedElement','130tIZmgC','requires','unbind','element','_isEditable','editor','imageBlock','2755431AGAALG','imageInline'];_0x352f=function(){return _0x5eccb0;};return _0x352f();}(function(_0x508d68,_0x3d26bd){const _0x5bfa01=_0x4797,_0xc6f1e=_0x508d68();while(!![]){try{const _0x4d2770=parseInt(_0x5bfa01(0x16c))/0x1+parseInt(_0x5bfa01(0x16b))/0x2*(parseInt(_0x5bfa01(0x164))/0x3)+-parseInt(_0x5bfa01(0x156))/0x4+-parseInt(_0x5bfa01(0x16f))/0x5*(-parseInt(_0x5bfa01(0x152))/0x6)+parseInt(_0x5bfa01(0x161))/0x7+-parseInt(_0x5bfa01(0x168))/0x8+-parseInt(_0x5bfa01(0x158))/0x9*(parseInt(_0x5bfa01(0x15a))/0xa);if(_0x4d2770===_0x3d26bd)break;else _0xc6f1e['push'](_0xc6f1e['shift']());}catch(_0x533c79){_0xc6f1e['push'](_0xc6f1e['shift']());}}}(_0x352f,0x3e099));import{Command as _0x9817d3}from'ckeditor5/src/core.js';import{Dialog as _0x29f149}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4fb2b6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x208ebe}from'../utils/editingutils.js';function _0x4797(_0x269d0c,_0x22dccb){const _0x352f1b=_0x352f();return _0x4797=function(_0x4797ab,_0x1e1da8){_0x4797ab=_0x4797ab-0x150;let _0x56d03e=_0x352f1b[_0x4797ab];return _0x56d03e;},_0x4797(_0x269d0c,_0x22dccb);}export class UploadcareImageEditCommand extends _0x9817d3{[_0x17a4d6(0x169)];static get[_0x17a4d6(0x15b)](){return[_0x29f149];}[_0x17a4d6(0x15e)];constructor(_0x1659a4){const _0x5213d2=_0x17a4d6;super(_0x1659a4),this[_0x5213d2(0x169)]=void 0x0,this[_0x5213d2(0x15e)]=_0x208ebe(_0x1659a4[_0x5213d2(0x16a)][_0x5213d2(0x150)](_0x5213d2(0x151))||[]),this[_0x5213d2(0x157)]({'isActive':!0x1});}[_0x17a4d6(0x165)](){const _0x3452f6=_0x17a4d6,_0x2ea695=this[_0x3452f6(0x15f)][_0x3452f6(0x155)][_0x3452f6(0x16d)][_0x3452f6(0x154)][_0x3452f6(0x159)]();this[_0x3452f6(0x166)]=this[_0x3452f6(0x15e)](_0x2ea695);}[_0x17a4d6(0x163)](){const _0x229f6e=_0x17a4d6;this[_0x229f6e(0x169)]&&(this[_0x229f6e(0x15c)](_0x229f6e(0x16e)),this[_0x229f6e(0x169)]=void 0x0);const _0x136b60=this[_0x229f6e(0x15f)][_0x229f6e(0x155)][_0x229f6e(0x16d)][_0x229f6e(0x154)][_0x229f6e(0x159)]();_0x136b60&&(_0x136b60['is'](_0x229f6e(0x15d),_0x229f6e(0x160))||_0x136b60['is'](_0x229f6e(0x15d),_0x229f6e(0x162)))&&(this[_0x229f6e(0x169)]=new _0x4fb2b6(this[_0x229f6e(0x15f)],this[_0x229f6e(0x15f)][_0x229f6e(0x167)][_0x229f6e(0x150)](_0x29f149),_0x136b60),this[_0x229f6e(0x153)](_0x229f6e(0x16e))['to'](this[_0x229f6e(0x169)],_0x229f6e(0x16e)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xec10f3=_0x9d3d;(function(_0x29c04c,_0x356d3b){const _0x491771=_0x9d3d,_0x50a197=_0x29c04c();while(!![]){try{const _0x3dec03=parseInt(_0x491771(0x163))/0x1+-parseInt(_0x491771(0x15e))/0x2+parseInt(_0x491771(0x16c))/0x3+parseInt(_0x491771(0x167))/0x4+parseInt(_0x491771(0x160))/0x5+parseInt(_0x491771(0x172))/0x6*(-parseInt(_0x491771(0x162))/0x7)+parseInt(_0x491771(0x169))/0x8*(-parseInt(_0x491771(0x164))/0x9);if(_0x3dec03===_0x356d3b)break;else _0x50a197['push'](_0x50a197['shift']());}catch(_0x3be417){_0x50a197['push'](_0x50a197['shift']());}}}(_0x1069,0x9e67a));import{Plugin as _0xbf3a08}from'ckeditor5/src/core.js';function _0x1069(){const _0x3f0655=['ImageUtils','6069020CCiEDB','isPremiumPlugin','7191023VvXxIp','1293732qcwnRa','204129DXrShH','commands','uploadcareImageEdit','2387416nWwgng','UploadcareImageEditEditing','840ZJpSmu','isOfficialPlugin','add','3776739qGgKAc','pluginName','requires','ImageEditing','uploadcareImageReplace','init','6eSAZUZ','611366zOhRrm'];_0x1069=function(){return _0x3f0655;};return _0x1069();}import{Notification as _0x49e779}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x101ca3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5110a3}from'./uploadcareimagereplacecommand.js';function _0x9d3d(_0x6edc85,_0x5a4801){const _0x10690f=_0x1069();return _0x9d3d=function(_0x9d3d04,_0x433906){_0x9d3d04=_0x9d3d04-0x15e;let _0x18d4e5=_0x10690f[_0x9d3d04];return _0x18d4e5;},_0x9d3d(_0x6edc85,_0x5a4801);}import{UploadcareEditing as _0x15b69b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xbf3a08{static get[_0xec10f3(0x16d)](){const _0x1a80d2=_0xec10f3;return _0x1a80d2(0x168);}static get[_0xec10f3(0x16e)](){const _0x4323c9=_0xec10f3;return[_0x15b69b,_0x49e779,_0x4323c9(0x15f),_0x4323c9(0x16f)];}static get[_0xec10f3(0x16a)](){return!0x0;}static get[_0xec10f3(0x161)](){return!0x0;}[_0xec10f3(0x171)](){const _0x5981c4=_0xec10f3,{editor:_0x5163f5}=this;_0x5163f5[_0x5981c4(0x165)][_0x5981c4(0x16b)](_0x5981c4(0x166),new _0x101ca3(_0x5163f5)),_0x5163f5[_0x5981c4(0x165)][_0x5981c4(0x16b)](_0x5981c4(0x170),new _0x5110a3(_0x5163f5));}}
23
+ const _0x530645=_0x2194;function _0x2633(){const _0x55472d=['ImageUtils','commands','uploadcareImageReplace','UploadcareImageEditEditing','423352rHWrOT','5jmNhMy','1036530yNMQYX','add','4148490OqVLkf','7wtypbl','623752NTsSwY','12021687nIsBIy','15ebmeRU','701482UaGbIW','ImageEditing','isOfficialPlugin','init','2iUZxQR','requires','pluginName','6954827nPzDRX','isPremiumPlugin','uploadcareImageEdit','72ZoXBTO'];_0x2633=function(){return _0x55472d;};return _0x2633();}(function(_0x4d7320,_0xe17d7d){const _0x340b70=_0x2194,_0x1975b6=_0x4d7320();while(!![]){try{const _0x136912=parseInt(_0x340b70(0x10c))/0x1*(-parseInt(_0x340b70(0x110))/0x2)+parseInt(_0x340b70(0x10b))/0x3*(-parseInt(_0x340b70(0x109))/0x4)+-parseInt(_0x340b70(0x11c))/0x5*(-parseInt(_0x340b70(0x11d))/0x6)+parseInt(_0x340b70(0x108))/0x7*(parseInt(_0x340b70(0x11b))/0x8)+-parseInt(_0x340b70(0x10a))/0x9+-parseInt(_0x340b70(0x107))/0xa+-parseInt(_0x340b70(0x113))/0xb*(-parseInt(_0x340b70(0x116))/0xc);if(_0x136912===_0xe17d7d)break;else _0x1975b6['push'](_0x1975b6['shift']());}catch(_0x4594a4){_0x1975b6['push'](_0x1975b6['shift']());}}}(_0x2633,0xc03fc));import{Plugin as _0x2c203a}from'ckeditor5/src/core.js';function _0x2194(_0x52465c,_0x2e965c){const _0x263316=_0x2633();return _0x2194=function(_0x21949a,_0x3d1c6f){_0x21949a=_0x21949a-0x106;let _0x2aa28d=_0x263316[_0x21949a];return _0x2aa28d;},_0x2194(_0x52465c,_0x2e965c);}import{Notification as _0x5df309}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0xb79406}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xba7dbb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x260b31}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2c203a{static get[_0x530645(0x112)](){const _0x360413=_0x530645;return _0x360413(0x11a);}static get[_0x530645(0x111)](){const _0x4bd276=_0x530645;return[_0x260b31,_0x5df309,_0x4bd276(0x117),_0x4bd276(0x10d)];}static get[_0x530645(0x10e)](){return!0x0;}static get[_0x530645(0x114)](){return!0x0;}[_0x530645(0x10f)](){const _0x3ceef7=_0x530645,{editor:_0x54fd63}=this;_0x54fd63[_0x3ceef7(0x118)][_0x3ceef7(0x106)](_0x3ceef7(0x115),new _0xb79406(_0x54fd63)),_0x54fd63[_0x3ceef7(0x118)][_0x3ceef7(0x106)](_0x3ceef7(0x119),new _0xba7dbb(_0x54fd63));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4bedcf}from'ckeditor5/src/core.js';import{ButtonView as _0x44c40f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd5a56f}from'ckeditor5/src/icons.js';import{createElement as _0x345ca7}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4bedcf{['_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 _0x11f6c9=this['editor'];_0x11f6c9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x30ddf4=>{const _0x104d4e=_0x11f6c9['commands']['get']('uploadcareImageEdit'),_0x219d1d=new _0x44c40f(_0x30ddf4),t=_0x30ddf4['t'];return _0x219d1d['set']({'icon':_0xd5a56f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x219d1d['bind']('isEnabled')['to'](_0x104d4e),_0x219d1d['bind']('isOn')['to'](_0x104d4e,'isActive'),this['listenTo'](_0x219d1d,'execute',()=>{_0x11f6c9['execute']('uploadcareImageEdit'),_0x11f6c9['editing']['view']['focus']();}),_0x219d1d;}),this['_initConfig']();}['_initConfig'](){const _0x33fa68=_0x345ca7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x33fa68),this['listenTo'](this['editor'],'destroy',()=>{_0x33fa68['remove']();});}}
23
+ import{Plugin as _0x54eaab}from'ckeditor5/src/core.js';import{ButtonView as _0x464b1d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x296304}from'ckeditor5/src/icons.js';import{createElement as _0x1e13de}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x54eaab{['_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 _0x54321a=this['editor'];_0x54321a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x20bf85=>{const _0x592aae=_0x54321a['commands']['get']('uploadcareImageEdit'),_0x3d5d2c=new _0x464b1d(_0x20bf85),t=_0x20bf85['t'];return _0x3d5d2c['set']({'icon':_0x296304,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3d5d2c['bind']('isEnabled')['to'](_0x592aae),_0x3d5d2c['bind']('isOn')['to'](_0x592aae,'isActive'),this['listenTo'](_0x3d5d2c,'execute',()=>{_0x54321a['execute']('uploadcareImageEdit'),_0x54321a['editing']['view']['focus']();}),_0x3d5d2c;}),this['_initConfig']();}['_initConfig'](){const _0x218f56=_0x1e13de(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x218f56),this['listenTo'](this['editor'],'destroy',()=>{_0x218f56['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c49e0=_0x182b;(function(_0x321929,_0x246e84){const _0x2484b6=_0x182b,_0x431d80=_0x321929();while(!![]){try{const _0x5883be=-parseInt(_0x2484b6(0x177))/0x1+-parseInt(_0x2484b6(0x17e))/0x2*(-parseInt(_0x2484b6(0x167))/0x3)+-parseInt(_0x2484b6(0x16f))/0x4+parseInt(_0x2484b6(0x171))/0x5*(-parseInt(_0x2484b6(0x178))/0x6)+parseInt(_0x2484b6(0x175))/0x7+-parseInt(_0x2484b6(0x176))/0x8+parseInt(_0x2484b6(0x179))/0x9*(parseInt(_0x2484b6(0x172))/0xa);if(_0x5883be===_0x246e84)break;else _0x431d80['push'](_0x431d80['shift']());}catch(_0x5eb22e){_0x431d80['push'](_0x431d80['shift']());}}}(_0x52d5,0x98a5d));import{Command as _0xd263b6}from'ckeditor5/src/core.js';function _0x182b(_0x2d0ad4,_0x1ce88a){const _0x52d5cd=_0x52d5();return _0x182b=function(_0x182b64,_0x301cc7){_0x182b64=_0x182b64-0x165;let _0x2da5f3=_0x52d5cd[_0x182b64];return _0x2da5f3;},_0x182b(_0x2d0ad4,_0x1ce88a);}function _0x52d5(){const _0x2399c5=['1830362vYEoVm','model','refresh','3dDOHhT','execute','change','element','isEnabled','removeAttribute','srcset','imageInline','3960324vRmjxk','sizes','850KGNLkj','11689960htpULo','imageBlock','setAttributes','1081388yRindh','1251280cjfIda','444655QMTUcw','786gGwirl','9AYxrKO','document','getSelectedElement','editor','selection'];_0x52d5=function(){return _0x2399c5;};return _0x52d5();}export class UploadcareImageReplaceCommand extends _0xd263b6{[_0x4c49e0(0x166)](){const _0x47e908=_0x4c49e0,_0x2e92b6=this[_0x47e908(0x17c)][_0x47e908(0x165)][_0x47e908(0x17a)][_0x47e908(0x17d)][_0x47e908(0x17b)]();this[_0x47e908(0x16b)]=Boolean(_0x2e92b6&&(_0x2e92b6['is'](_0x47e908(0x16a),_0x47e908(0x173))||_0x2e92b6['is'](_0x47e908(0x16a),_0x47e908(0x16e))));}[_0x4c49e0(0x168)](_0x17ca66){const _0x487b71=_0x4c49e0,_0x5a6eff=this[_0x487b71(0x17c)][_0x487b71(0x165)][_0x487b71(0x17a)][_0x487b71(0x17d)][_0x487b71(0x17b)]();this[_0x487b71(0x17c)][_0x487b71(0x165)][_0x487b71(0x169)](_0x8bdf1c=>{const _0xf3b913=_0x487b71;_0x8bdf1c[_0xf3b913(0x174)](_0x17ca66,_0x5a6eff),_0x8bdf1c[_0xf3b913(0x16c)](_0xf3b913(0x16d),_0x5a6eff),_0x8bdf1c[_0xf3b913(0x16c)](_0xf3b913(0x170),_0x5a6eff);});}}
23
+ const _0x51f906=_0x4d20;function _0x4d20(_0x23fa35,_0x5ce595){const _0xd162a3=_0xd162();return _0x4d20=function(_0x4d207e,_0x1b1bcc){_0x4d207e=_0x4d207e-0x108;let _0x4f5643=_0xd162a3[_0x4d207e];return _0x4f5643;},_0x4d20(_0x23fa35,_0x5ce595);}(function(_0x159f63,_0x2ca275){const _0xb49856=_0x4d20,_0x46a5ad=_0x159f63();while(!![]){try{const _0x2b42ab=parseInt(_0xb49856(0x109))/0x1+parseInt(_0xb49856(0x10c))/0x2*(-parseInt(_0xb49856(0x11a))/0x3)+parseInt(_0xb49856(0x112))/0x4*(-parseInt(_0xb49856(0x114))/0x5)+-parseInt(_0xb49856(0x108))/0x6*(parseInt(_0xb49856(0x117))/0x7)+parseInt(_0xb49856(0x111))/0x8+-parseInt(_0xb49856(0x119))/0x9*(-parseInt(_0xb49856(0x11b))/0xa)+parseInt(_0xb49856(0x10e))/0xb;if(_0x2b42ab===_0x2ca275)break;else _0x46a5ad['push'](_0x46a5ad['shift']());}catch(_0x237e57){_0x46a5ad['push'](_0x46a5ad['shift']());}}}(_0xd162,0x71c17));function _0xd162(){const _0x1176dc=['document','imageBlock','getSelectedElement','change','656598RUKiqv','555426nYswiM','selection','model','4HWJqRf','element','322938GwTCWg','refresh','srcset','4054784yBUwnt','71752oPrxCC','setAttributes','185RHBfKY','isEnabled','removeAttribute','35jGzraX','imageInline','432jxyYDK','507651RLVBqn','192420YkfHQl','editor','sizes','execute'];_0xd162=function(){return _0x1176dc;};return _0xd162();}import{Command as _0x1799a4}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1799a4{[_0x51f906(0x10f)](){const _0x5bd892=_0x51f906,_0x203904=this[_0x5bd892(0x11c)][_0x5bd892(0x10b)][_0x5bd892(0x11f)][_0x5bd892(0x10a)][_0x5bd892(0x121)]();this[_0x5bd892(0x115)]=Boolean(_0x203904&&(_0x203904['is'](_0x5bd892(0x10d),_0x5bd892(0x120))||_0x203904['is'](_0x5bd892(0x10d),_0x5bd892(0x118))));}[_0x51f906(0x11e)](_0x21f00a){const _0xa9ec2=_0x51f906,_0x5dcbd6=this[_0xa9ec2(0x11c)][_0xa9ec2(0x10b)][_0xa9ec2(0x11f)][_0xa9ec2(0x10a)][_0xa9ec2(0x121)]();this[_0xa9ec2(0x11c)][_0xa9ec2(0x10b)][_0xa9ec2(0x122)](_0x2a8dd1=>{const _0x369e74=_0xa9ec2;_0x2a8dd1[_0x369e74(0x113)](_0x21f00a,_0x5dcbd6),_0x2a8dd1[_0x369e74(0x116)](_0x369e74(0x110),_0x5dcbd6),_0x2a8dd1[_0x369e74(0x116)](_0x369e74(0x11d),_0x5dcbd6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x46ef72=_0x1a88;function _0x208c(){var _0x25f38f=['5995566IkKZrZ','isOfficialPlugin','488615ugaXYw','3005JisVtq','pluginName','isPremiumPlugin','11346850GTgIay','3178260ejfofq','1301992jwBWpk','requires','UploadcareImageEdit','6IHPPCC','7gWuldY','4748rUamkS','209614yLFOPU'];_0x208c=function(){return _0x25f38f;};return _0x208c();}function _0x1a88(_0x36cd56,_0x5d062a){var _0x208c02=_0x208c();return _0x1a88=function(_0x1a881a,_0x3ca948){_0x1a881a=_0x1a881a-0x148;var _0x23a54c=_0x208c02[_0x1a881a];return _0x23a54c;},_0x1a88(_0x36cd56,_0x5d062a);}(function(_0x250c77,_0x32a61f){var _0x122a6b=_0x1a88,_0x109ab8=_0x250c77();while(!![]){try{var _0x3042e3=parseInt(_0x122a6b(0x154))/0x1+parseInt(_0x122a6b(0x151))/0x2*(parseInt(_0x122a6b(0x14e))/0x3)+-parseInt(_0x122a6b(0x150))/0x4*(-parseInt(_0x122a6b(0x155))/0x5)+-parseInt(_0x122a6b(0x14a))/0x6*(parseInt(_0x122a6b(0x14f))/0x7)+parseInt(_0x122a6b(0x14b))/0x8+parseInt(_0x122a6b(0x152))/0x9+-parseInt(_0x122a6b(0x149))/0xa;if(_0x3042e3===_0x32a61f)break;else _0x109ab8['push'](_0x109ab8['shift']());}catch(_0x451012){_0x109ab8['push'](_0x109ab8['shift']());}}}(_0x208c,0x8ca90));import{Plugin as _0x3bafd6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x19f9fd}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x10c2d8}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3bafd6{static get[_0x46ef72(0x156)](){var _0x1ff893=_0x46ef72;return _0x1ff893(0x14d);}static get[_0x46ef72(0x14c)](){return[_0x19f9fd,_0x10c2d8];}static get[_0x46ef72(0x153)](){return!0x0;}static get[_0x46ef72(0x148)](){return!0x0;}}
23
+ var _0x1b2ecb=_0x2a5d;function _0x31e8(){var _0x4ef105=['163195SvqWkQ','7cQMdSy','4378347WPRzss','requires','236516iafzNf','1576232civgsJ','4UWwYEb','isPremiumPlugin','97491ktUeTQ','10tvMjHZ','1062970fAJSes','isOfficialPlugin','1188828cjdctX','pluginName','UploadcareImageEdit'];_0x31e8=function(){return _0x4ef105;};return _0x31e8();}(function(_0x57f97b,_0x4e48eb){var _0x3581a6=_0x2a5d,_0x52357c=_0x57f97b();while(!![]){try{var _0x1efbc5=parseInt(_0x3581a6(0x6a))/0x1+parseInt(_0x3581a6(0x70))/0x2*(-parseInt(_0x3581a6(0x72))/0x3)+-parseInt(_0x3581a6(0x6e))/0x4+parseInt(_0x3581a6(0x74))/0x5+parseInt(_0x3581a6(0x76))/0x6+parseInt(_0x3581a6(0x6b))/0x7*(parseInt(_0x3581a6(0x6f))/0x8)+-parseInt(_0x3581a6(0x6c))/0x9*(parseInt(_0x3581a6(0x73))/0xa);if(_0x1efbc5===_0x4e48eb)break;else _0x52357c['push'](_0x52357c['shift']());}catch(_0x1919fc){_0x52357c['push'](_0x52357c['shift']());}}}(_0x31e8,0x2725e));function _0x2a5d(_0xd5f9fd,_0x4a935d){var _0x31e823=_0x31e8();return _0x2a5d=function(_0x2a5dc4,_0x294198){_0x2a5dc4=_0x2a5dc4-0x6a;var _0x59ce17=_0x31e823[_0x2a5dc4];return _0x59ce17;},_0x2a5d(_0xd5f9fd,_0x4a935d);}import{Plugin as _0x5ac4c7}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x513749}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3e77cc}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5ac4c7{static get[_0x1b2ecb(0x77)](){var _0x57bb3d=_0x1b2ecb;return _0x57bb3d(0x78);}static get[_0x1b2ecb(0x6d)](){return[_0x513749,_0x3e77cc];}static get[_0x1b2ecb(0x75)](){return!0x0;}static get[_0x1b2ecb(0x71)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36290a=_0x1e42;function _0x55b1(){const _0x379a08=['UploadcareUI','uploadcareLicenseKeyNotAllowed','OneDrive','_showLicenseError','registerIntegration','isImageSelected','invalid','has','17444mScfQX','uploadcareLicenseKeyTrialLimit','289016vJVtTF','expired','featureNotAllowed','url','942auuRfP','isEnabled','evaluationLimit','pluginName','map','commands','1877505nLcCUH','_normalizeConfigSourceList','usageLimit','uploadcareLicenseKeyDomainLimit','Insert','1047660uUZlum','_licenseKeyCheckInterval','966552sVQRQU','Uploadcare','URL','icon','reduce','isPremiumPlugin','config','shortText','tooltip','entries','afterInit','assetManager','Facebook','uploadcareLicenseKeyValid','_createButton','editor','destroy','uploadcareLicenseKeyInvalid','28153PFjklc','trialLimit','_createToolbarButton','withText','text','uploadcareLicenseKeyUsageLimit','upload','_createMenuBarButtons','forEach','uploadcareLicenseKeyEvaluationLimit','GDrive','label','licenseKey','_getIntegrationKey','locale','Dropbox','_createDropdownButtons','domainLimit','GPhotos','bind','uploadcareLicenseKeyExpired','391085gdCxDO','uploadcare','uploadcare.uploader.sourceList','plugins','isOfficialPlugin','type','ImageInsertUI','get','execute','Local','push','Replace','init'];_0x55b1=function(){return _0x379a08;};return _0x55b1();}(function(_0x5a48d3,_0x36d93f){const _0x6555=_0x1e42,_0x3b2b13=_0x5a48d3();while(!![]){try{const _0xc6baff=parseInt(_0x6555(0x1b4))/0x1+-parseInt(_0x6555(0x1a0))/0x2+parseInt(_0x6555(0x19b))/0x3+-parseInt(_0x6555(0x1a2))/0x4+parseInt(_0x6555(0x17a))/0x5+parseInt(_0x6555(0x195))/0x6*(parseInt(_0x6555(0x18f))/0x7)+-parseInt(_0x6555(0x191))/0x8;if(_0xc6baff===_0x36d93f)break;else _0x3b2b13['push'](_0x3b2b13['shift']());}catch(_0x41f1b0){_0x3b2b13['push'](_0x3b2b13['shift']());}}}(_0x55b1,0x4e93e));import{Plugin as _0x16c7f0}from'ckeditor5/src/core.js';import{IconDropbox as _0x4b62a7,IconFacebook as _0x547951,IconGoogleDrive as _0x35eaff,IconGooglePhotos as _0x20f7c3,IconUploadcareImageUpload as _0x1dd56c,IconUploadcareLink as _0x5ccfbd,IconOneDrive as _0x1e6798}from'ckeditor5/src/icons.js';import{ButtonView as _0x290d75,MenuBarMenuListItemButtonView as _0x56d961}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1cc560}from'./uploadcareconfig.js';import{getTranslation as _0x564855}from'./utils/common-translations.js';function _0x1e42(_0x5e83fb,_0x5c6480){const _0x55b169=_0x55b1();return _0x1e42=function(_0x1e42aa,_0x5770de){_0x1e42aa=_0x1e42aa-0x16c;let _0x380372=_0x55b169[_0x1e42aa];return _0x380372;},_0x1e42(_0x5e83fb,_0x5c6480);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x16c7f0{[_0x36290a(0x171)];[_0x36290a(0x1a1)];static get[_0x36290a(0x198)](){const _0x28ea3a=_0x36290a;return _0x28ea3a(0x187);}static get[_0x36290a(0x17e)](){return!0x0;}static get[_0x36290a(0x1a7)](){return!0x0;}[_0x36290a(0x186)](){const _0x1bd279=_0x36290a;this[_0x1bd279(0x171)]=this[_0x1bd279(0x1b1)][_0x1bd279(0x1a8)][_0x1bd279(0x181)](_0x1bd279(0x171));const _0x9ccd2=this[_0x1bd279(0x1b1)];this[_0x1bd279(0x1a1)]=setInterval(()=>{const _0x16292f=_0x1bd279;let _0x1ff8c0;for(const _0x1b84ac in _0x9ccd2){const _0x41f094=_0x1b84ac,_0x230bd8=_0x9ccd2[_0x41f094];if(_0x16292f(0x1af)==_0x230bd8||_0x16292f(0x1b3)==_0x230bd8||_0x16292f(0x179)==_0x230bd8||_0x16292f(0x19e)==_0x230bd8||_0x16292f(0x188)==_0x230bd8||_0x16292f(0x16e)==_0x230bd8||_0x16292f(0x190)==_0x230bd8||_0x16292f(0x1b9)==_0x230bd8){delete _0x9ccd2[_0x41f094],_0x1ff8c0=_0x230bd8,clearInterval(this[_0x16292f(0x1a1)]),this[_0x16292f(0x1a1)]=void 0x0;break;}}_0x16292f(0x1b3)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x18d)),_0x16292f(0x179)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x192)),_0x16292f(0x19e)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x176)),_0x16292f(0x188)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x193),_0x16292f(0x1a3)),_0x16292f(0x16e)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x197)),_0x16292f(0x190)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x1b5)),_0x16292f(0x1b9)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x19d));},0x3e8);}[_0x36290a(0x1ac)](){const _0x3fb093=_0x36290a,{editor:_0x179a2c}=this,_0xffcc09=_0x179a2c[_0x3fb093(0x19a)][_0x3fb093(0x181)](_0x3fb093(0x17b));if(!_0xffcc09)return;const _0x8ff349=this[_0x3fb093(0x19c)](_0x179a2c[_0x3fb093(0x1a8)][_0x3fb093(0x181)](_0x3fb093(0x17c)))[_0x3fb093(0x1a6)]((_0x5501b7,_0x1f5620)=>{const _0x1eddc7=_0x3fb093,_0x3d322f=this[_0x1eddc7(0x172)](_0x1f5620[_0x1eddc7(0x17f)]);return _0x5501b7[_0x3d322f]||(_0x5501b7[_0x3d322f]=[]),_0x5501b7[_0x3d322f][_0x1eddc7(0x184)](_0x1f5620),_0x5501b7;},{});_0x179a2c[_0x3fb093(0x17d)][_0x3fb093(0x18e)](_0x3fb093(0x180))&&_0x179a2c[_0x3fb093(0x19a)][_0x3fb093(0x181)](_0x3fb093(0x17b))&&Object[_0x3fb093(0x1ab)](_0x8ff349)[_0x3fb093(0x16d)](([_0x4e61c3,_0x544d7b])=>{const _0x2e9886=_0x3fb093;_0x179a2c[_0x2e9886(0x17d)][_0x2e9886(0x181)](_0x2e9886(0x180))[_0x2e9886(0x18b)]({'name':_0x4e61c3,'observable':()=>_0xffcc09,'buttonViewCreator':()=>this[_0x2e9886(0x1b6)](_0x544d7b),'formViewCreator':()=>this[_0x2e9886(0x175)](_0x544d7b),'menuBarButtonViewCreator':()=>this[_0x2e9886(0x16c)](_0x544d7b),'override':_0x2e9886(0x1ad)!==_0x4e61c3});});}[_0x36290a(0x1b2)](){const _0x2c1f37=_0x36290a;super[_0x2c1f37(0x1b2)](),this[_0x2c1f37(0x1a1)]&&clearInterval(this[_0x2c1f37(0x1a1)]);}[_0x36290a(0x19c)](_0x55fe2d){const _0x13d27b=_0x36290a,{locale:_0x28fceb}=this[_0x13d27b(0x1b1)];return _0x55fe2d[_0x13d27b(0x199)](_0x509de2=>{const _0x42f1bf=_0x13d27b,_0xb72eb9=_0x564855(_0x28fceb,_0x509de2,_0x42f1bf(0x19f));switch(_0x509de2){case _0x1cc560[_0x42f1bf(0x183)]:return{'icon':_0x1dd56c,'type':_0x1cc560[_0x42f1bf(0x183)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x1a4)]:return{'icon':_0x5ccfbd,'type':_0x1cc560[_0x42f1bf(0x1a4)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x174)]:return{'icon':_0x4b62a7,'type':_0x1cc560[_0x42f1bf(0x174)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x1ae)]:return{'icon':_0x547951,'type':_0x1cc560[_0x42f1bf(0x1ae)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x16f)]:return{'icon':_0x35eaff,'type':_0x1cc560[_0x42f1bf(0x16f)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x177)]:return{'icon':_0x20f7c3,'type':_0x1cc560[_0x42f1bf(0x177)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x189)]:return{'icon':_0x1e6798,'type':_0x1cc560[_0x42f1bf(0x189)],..._0xb72eb9};}});}[_0x36290a(0x172)](_0x1d4ed9){const _0x5075bb=_0x36290a;switch(_0x1d4ed9){case _0x1cc560[_0x5075bb(0x183)]:return _0x5075bb(0x1ba);case _0x1cc560[_0x5075bb(0x1a4)]:return _0x5075bb(0x194);default:return _0x5075bb(0x1ad);}}[_0x36290a(0x1b0)](_0x24a71f,_0x24c932){const _0xbd6924=_0x36290a,_0x36e318=this[_0xbd6924(0x1b1)],_0xc510da=new _0x24a71f(_0x36e318[_0xbd6924(0x173)]),_0x35735b=_0x36e318[_0xbd6924(0x19a)][_0xbd6924(0x181)](_0xbd6924(0x17b));return _0xc510da[_0xbd6924(0x178)](_0xbd6924(0x196))['to'](_0x35735b),_0xc510da['on'](_0xbd6924(0x182),()=>{const _0x14d44a=_0xbd6924;_0x35735b[_0x14d44a(0x182)](_0x24c932);}),_0xc510da;}[_0x36290a(0x1b6)](_0x1f3876){const _0x3b60f3=_0x36290a,{locale:_0xdff5dc}=this[_0x3b60f3(0x1b1)],_0x5db595=this[_0x3b60f3(0x1b1)][_0x3b60f3(0x17d)][_0x3b60f3(0x181)](_0x3b60f3(0x180)),_0x38b898=_0x1f3876[0x0],_0x246678=this[_0x3b60f3(0x1b0)](_0x290d75,_0x38b898[_0x3b60f3(0x17f)]);return _0x246678[_0x3b60f3(0x1a5)]=_0x38b898[_0x3b60f3(0x1a5)],_0x246678[_0x3b60f3(0x178)](_0x3b60f3(0x170))['to'](_0x5db595,_0x3b60f3(0x18c),_0x1f936c=>_0x564855(_0xdff5dc,_0x38b898[_0x3b60f3(0x17f)],_0x1f936c?_0x3b60f3(0x185):_0x3b60f3(0x19f))[_0x3b60f3(0x1b8)]),_0x246678[_0x3b60f3(0x1aa)]=!0x0,_0x246678;}[_0x36290a(0x175)](_0x1c29f0){const _0x611894=_0x36290a,{locale:_0x5d89a}=this[_0x611894(0x1b1)],_0x56393f=this[_0x611894(0x1b1)][_0x611894(0x17d)][_0x611894(0x181)](_0x611894(0x180));return _0x1c29f0[_0x611894(0x199)](_0x35c146=>{const _0x316828=_0x611894,_0x10e915=this[_0x316828(0x1b0)](_0x290d75,_0x35c146[_0x316828(0x17f)]);return _0x10e915[_0x316828(0x1b7)]=!0x0,_0x10e915[_0x316828(0x1a5)]=_0x35c146[_0x316828(0x1a5)],_0x10e915[_0x316828(0x178)](_0x316828(0x170))['to'](_0x56393f,_0x316828(0x18c),_0x4a5168=>_0x564855(_0x5d89a,_0x35c146[_0x316828(0x17f)],_0x4a5168?_0x316828(0x185):_0x316828(0x19f))[_0x316828(0x1b8)]),_0x10e915;});}[_0x36290a(0x16c)](_0x72dae4){const _0x95cca1=_0x36290a;return _0x72dae4[_0x95cca1(0x199)](_0x283bbb=>{const _0x18cf3c=_0x95cca1,_0x266db9=this[_0x18cf3c(0x1b0)](_0x56d961,_0x283bbb[_0x18cf3c(0x17f)]);return _0x266db9[_0x18cf3c(0x1a5)]=_0x283bbb[_0x18cf3c(0x1a5)],_0x266db9[_0x18cf3c(0x170)]=_0x283bbb[_0x18cf3c(0x1a9)],_0x266db9;});}}
23
+ const _0x2b0edb=_0x1212;function _0x260a(){const _0xb15289=['destroy','icon','url','locale','withText','Uploadcare','Insert','Replace','tooltip','uploadcareLicenseKeyValid','shortText','expired','Dropbox','GDrive','uploadcare','usageLimit','assetManager','_getIntegrationKey','isEnabled','editor','uploadcareLicenseKeyExpired','invalid','execute','603848xtVLJD','_licenseKeyCheckInterval','isOfficialPlugin','text','GPhotos','afterInit','_createMenuBarButtons','trialLimit','UploadcareUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyUsageLimit','OneDrive','_createDropdownButtons','_createToolbarButton','_showLicenseError','registerIntegration','4118412YvVTLC','licenseKey','isImageSelected','config','uploadcareLicenseKeyTrialLimit','URL','push','isPremiumPlugin','has','uploadcareLicenseKeyInvalid','commands','2HKLYmU','_createButton','312825aCtdNE','map','plugins','get','_normalizeConfigSourceList','upload','domainLimit','type','4KJSRFe','reduce','bind','Facebook','uploadcare.uploader.sourceList','entries','forEach','354252TGIdDr','8292186kMWwPd','uploadcareLicenseKeyNotAllowed','evaluationLimit','label','pluginName','611807hByheX','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','init','1124763FdnNtK','Local','featureNotAllowed'];_0x260a=function(){return _0xb15289;};return _0x260a();}(function(_0xe4520a,_0x153a94){const _0x2b9959=_0x1212,_0x3289a3=_0xe4520a();while(!![]){try{const _0x1ed3e2=parseInt(_0x2b9959(0x1ae))/0x1*(parseInt(_0x2b9959(0x19d))/0x2)+-parseInt(_0x2b9959(0x1b8))/0x3*(-parseInt(_0x2b9959(0x1a7))/0x4)+parseInt(_0x2b9959(0x19f))/0x5+parseInt(_0x2b9959(0x1e2))/0x6+-parseInt(_0x2b9959(0x1b4))/0x7+parseInt(_0x2b9959(0x1d2))/0x8+-parseInt(_0x2b9959(0x1af))/0x9;if(_0x1ed3e2===_0x153a94)break;else _0x3289a3['push'](_0x3289a3['shift']());}catch(_0x14195b){_0x3289a3['push'](_0x3289a3['shift']());}}}(_0x260a,0x85062));import{Plugin as _0x2fd83a}from'ckeditor5/src/core.js';function _0x1212(_0x3d9af1,_0x6a7da6){const _0x260a28=_0x260a();return _0x1212=function(_0x1212cf,_0x5655c9){_0x1212cf=_0x1212cf-0x196;let _0x3b56a9=_0x260a28[_0x1212cf];return _0x3b56a9;},_0x1212(_0x3d9af1,_0x6a7da6);}import{IconDropbox as _0x14796e,IconFacebook as _0xa52755,IconGoogleDrive as _0x5b42c7,IconGooglePhotos as _0x2feb6c,IconUploadcareImageUpload as _0x47e890,IconUploadcareLink as _0x3e1ec3,IconOneDrive as _0x10c1f1}from'ckeditor5/src/icons.js';import{ButtonView as _0x2e2214,MenuBarMenuListItemButtonView as _0x4d7e5f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x231169}from'./uploadcareconfig.js';import{getTranslation as _0x18da53}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2fd83a{[_0x2b0edb(0x1e3)];[_0x2b0edb(0x1d3)];static get[_0x2b0edb(0x1b3)](){const _0x3bf030=_0x2b0edb;return _0x3bf030(0x1da);}static get[_0x2b0edb(0x1d4)](){return!0x0;}static get[_0x2b0edb(0x199)](){return!0x0;}[_0x2b0edb(0x1b7)](){const _0x2627bb=_0x2b0edb;this[_0x2627bb(0x1e3)]=this[_0x2627bb(0x1ce)][_0x2627bb(0x1e5)][_0x2627bb(0x1a2)](_0x2627bb(0x1e3));const _0x4a80ca=this[_0x2627bb(0x1ce)];this[_0x2627bb(0x1d3)]=setInterval(()=>{const _0x25b053=_0x2627bb;let _0x28421c;for(const _0x524164 in _0x4a80ca){const _0x5d6b00=_0x524164,_0x42b61e=_0x4a80ca[_0x5d6b00];if(_0x25b053(0x1c4)==_0x42b61e||_0x25b053(0x19b)==_0x42b61e||_0x25b053(0x1cf)==_0x42b61e||_0x25b053(0x1db)==_0x42b61e||_0x25b053(0x1b0)==_0x42b61e||_0x25b053(0x1b6)==_0x42b61e||_0x25b053(0x196)==_0x42b61e||_0x25b053(0x1dc)==_0x42b61e){delete _0x4a80ca[_0x5d6b00],_0x28421c=_0x42b61e,clearInterval(this[_0x25b053(0x1d3)]),this[_0x25b053(0x1d3)]=void 0x0;break;}}_0x25b053(0x19b)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1d0)),_0x25b053(0x1cf)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1c6)),_0x25b053(0x1db)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1a5)),_0x25b053(0x1b0)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1ba),_0x25b053(0x1c0)),_0x25b053(0x1b6)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1b1)),_0x25b053(0x196)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1d9)),_0x25b053(0x1dc)==_0x28421c&&_0x4a80ca[_0x25b053(0x1e0)](_0x25b053(0x1ca));},0x3e8);}[_0x2b0edb(0x1d7)](){const _0x4b83f5=_0x2b0edb,{editor:_0x58cd01}=this,_0x1ad543=_0x58cd01[_0x4b83f5(0x19c)][_0x4b83f5(0x1a2)](_0x4b83f5(0x1c9));if(!_0x1ad543)return;const _0x235641=this[_0x4b83f5(0x1a3)](_0x58cd01[_0x4b83f5(0x1e5)][_0x4b83f5(0x1a2)](_0x4b83f5(0x1ab)))[_0x4b83f5(0x1a8)]((_0x2e8e36,_0x1303c5)=>{const _0x8cf3ca=_0x4b83f5,_0x367b33=this[_0x8cf3ca(0x1cc)](_0x1303c5[_0x8cf3ca(0x1a6)]);return _0x2e8e36[_0x367b33]||(_0x2e8e36[_0x367b33]=[]),_0x2e8e36[_0x367b33][_0x8cf3ca(0x198)](_0x1303c5),_0x2e8e36;},{});_0x58cd01[_0x4b83f5(0x1a1)][_0x4b83f5(0x19a)](_0x4b83f5(0x1b5))&&_0x58cd01[_0x4b83f5(0x19c)][_0x4b83f5(0x1a2)](_0x4b83f5(0x1c9))&&Object[_0x4b83f5(0x1ac)](_0x235641)[_0x4b83f5(0x1ad)](([_0x14bd9d,_0xdf8db])=>{const _0x3cb1b3=_0x4b83f5;_0x58cd01[_0x3cb1b3(0x1a1)][_0x3cb1b3(0x1a2)](_0x3cb1b3(0x1b5))[_0x3cb1b3(0x1e1)]({'name':_0x14bd9d,'observable':()=>_0x1ad543,'buttonViewCreator':()=>this[_0x3cb1b3(0x1df)](_0xdf8db),'formViewCreator':()=>this[_0x3cb1b3(0x1de)](_0xdf8db),'menuBarButtonViewCreator':()=>this[_0x3cb1b3(0x1d8)](_0xdf8db),'override':_0x3cb1b3(0x1cb)!==_0x14bd9d});});}[_0x2b0edb(0x1bb)](){const _0x184422=_0x2b0edb;super[_0x184422(0x1bb)](),this[_0x184422(0x1d3)]&&clearInterval(this[_0x184422(0x1d3)]);}[_0x2b0edb(0x1a3)](_0x3a3620){const _0xa3cf5c=_0x2b0edb,{locale:_0x244837}=this[_0xa3cf5c(0x1ce)];return _0x3a3620[_0xa3cf5c(0x1a0)](_0x54a77a=>{const _0x4cc844=_0xa3cf5c,_0x526dd6=_0x18da53(_0x244837,_0x54a77a,_0x4cc844(0x1c1));switch(_0x54a77a){case _0x231169[_0x4cc844(0x1b9)]:return{'icon':_0x47e890,'type':_0x231169[_0x4cc844(0x1b9)],..._0x526dd6};case _0x231169[_0x4cc844(0x197)]:return{'icon':_0x3e1ec3,'type':_0x231169[_0x4cc844(0x197)],..._0x526dd6};case _0x231169[_0x4cc844(0x1c7)]:return{'icon':_0x14796e,'type':_0x231169[_0x4cc844(0x1c7)],..._0x526dd6};case _0x231169[_0x4cc844(0x1aa)]:return{'icon':_0xa52755,'type':_0x231169[_0x4cc844(0x1aa)],..._0x526dd6};case _0x231169[_0x4cc844(0x1c8)]:return{'icon':_0x5b42c7,'type':_0x231169[_0x4cc844(0x1c8)],..._0x526dd6};case _0x231169[_0x4cc844(0x1d6)]:return{'icon':_0x2feb6c,'type':_0x231169[_0x4cc844(0x1d6)],..._0x526dd6};case _0x231169[_0x4cc844(0x1dd)]:return{'icon':_0x10c1f1,'type':_0x231169[_0x4cc844(0x1dd)],..._0x526dd6};}});}[_0x2b0edb(0x1cc)](_0x36fa05){const _0x1fbea5=_0x2b0edb;switch(_0x36fa05){case _0x231169[_0x1fbea5(0x1b9)]:return _0x1fbea5(0x1a4);case _0x231169[_0x1fbea5(0x197)]:return _0x1fbea5(0x1bd);default:return _0x1fbea5(0x1cb);}}[_0x2b0edb(0x19e)](_0x24715e,_0x223d4a){const _0x41a624=_0x2b0edb,_0x7833ad=this[_0x41a624(0x1ce)],_0x3db8d6=new _0x24715e(_0x7833ad[_0x41a624(0x1be)]),_0x235307=_0x7833ad[_0x41a624(0x19c)][_0x41a624(0x1a2)](_0x41a624(0x1c9));return _0x3db8d6[_0x41a624(0x1a9)](_0x41a624(0x1cd))['to'](_0x235307),_0x3db8d6['on'](_0x41a624(0x1d1),()=>{const _0x1d52ba=_0x41a624;_0x235307[_0x1d52ba(0x1d1)](_0x223d4a);}),_0x3db8d6;}[_0x2b0edb(0x1df)](_0xbf8638){const _0x2de5b1=_0x2b0edb,{locale:_0x136b63}=this[_0x2de5b1(0x1ce)],_0x2fd45f=this[_0x2de5b1(0x1ce)][_0x2de5b1(0x1a1)][_0x2de5b1(0x1a2)](_0x2de5b1(0x1b5)),_0x251569=_0xbf8638[0x0],_0x264117=this[_0x2de5b1(0x19e)](_0x2e2214,_0x251569[_0x2de5b1(0x1a6)]);return _0x264117[_0x2de5b1(0x1bc)]=_0x251569[_0x2de5b1(0x1bc)],_0x264117[_0x2de5b1(0x1a9)](_0x2de5b1(0x1b2))['to'](_0x2fd45f,_0x2de5b1(0x1e4),_0x188c85=>_0x18da53(_0x136b63,_0x251569[_0x2de5b1(0x1a6)],_0x188c85?_0x2de5b1(0x1c2):_0x2de5b1(0x1c1))[_0x2de5b1(0x1d5)]),_0x264117[_0x2de5b1(0x1c3)]=!0x0,_0x264117;}[_0x2b0edb(0x1de)](_0x4ed47d){const _0x5252a8=_0x2b0edb,{locale:_0x53bac0}=this[_0x5252a8(0x1ce)],_0xdc822e=this[_0x5252a8(0x1ce)][_0x5252a8(0x1a1)][_0x5252a8(0x1a2)](_0x5252a8(0x1b5));return _0x4ed47d[_0x5252a8(0x1a0)](_0x5b3221=>{const _0x4e6e03=_0x5252a8,_0x53c2ee=this[_0x4e6e03(0x19e)](_0x2e2214,_0x5b3221[_0x4e6e03(0x1a6)]);return _0x53c2ee[_0x4e6e03(0x1bf)]=!0x0,_0x53c2ee[_0x4e6e03(0x1bc)]=_0x5b3221[_0x4e6e03(0x1bc)],_0x53c2ee[_0x4e6e03(0x1a9)](_0x4e6e03(0x1b2))['to'](_0xdc822e,_0x4e6e03(0x1e4),_0x4b72d1=>_0x18da53(_0x53bac0,_0x5b3221[_0x4e6e03(0x1a6)],_0x4b72d1?_0x4e6e03(0x1c2):_0x4e6e03(0x1c1))[_0x4e6e03(0x1d5)]),_0x53c2ee;});}[_0x2b0edb(0x1d8)](_0x402ca2){const _0x2246a5=_0x2b0edb;return _0x402ca2[_0x2246a5(0x1a0)](_0x27407a=>{const _0x33692a=_0x2246a5,_0x4d0a24=this[_0x33692a(0x19e)](_0x4d7e5f,_0x27407a[_0x33692a(0x1a6)]);return _0x4d0a24[_0x33692a(0x1bc)]=_0x27407a[_0x33692a(0x1bc)],_0x4d0a24[_0x33692a(0x1b2)]=_0x27407a[_0x33692a(0x1c5)],_0x4d0a24;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5b8fa4}from'ckeditor5/src/core.js';import{FileRepository as _0x53d01b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x32aca2}from'./uploadcareediting.js';import{UploadUtils as _0x783c4a}from'./utils/uploadutils.js';import{getImageUrls as _0x10b79b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5b8fa4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x53d01b,_0x32aca2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xd73e25=this['editor'];if(!!!_0xd73e25['config']['get']('uploadcare'))return;_0xd73e25['plugins']['get'](_0x53d01b)['createUploadAdapter']=_0x36f607=>new k(_0x36f607,_0xd73e25),_0xd73e25['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x200778,{imageElement:_0x167d38,data:_0x2118c8})=>{_0xd73e25['model']['change'](_0x523ec8=>{_0x523ec8['setAttribute']('uploadcareImageId',_0x2118c8['uploadcareImageId'],_0x167d38);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5cb169,_0x2c969c){this['loader']=_0x5cb169,this['editor']=_0x2c969c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x37402e=await this['loader']['file'];return _0x783c4a['upload']({'file':_0x37402e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4276a4=>{_0x4276a4&&_0x4276a4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4276a4['value']);}})['then'](async _0x1ae2cc=>{const {imageFallbackUrl:_0x13b8a3,imageSources:_0x1414c4}=_0x10b79b(_0x1ae2cc['cdnUrl'],_0x1ae2cc['imageInfo']['width']);return{'uploadcareImageId':_0x1ae2cc['uuid'],'default':_0x13b8a3,'sources':_0x1414c4};})['catch'](()=>{const _0x5313ae=t('Cannot\x20upload\x20file:')+('\x20'+_0x37402e['name']+'.');return Promise['reject'](_0x5313ae);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1accc9}from'ckeditor5/src/core.js';import{FileRepository as _0x42ecce}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1a8fc3}from'./uploadcareediting.js';import{UploadUtils as _0x5a9d20}from'./utils/uploadutils.js';import{getImageUrls as _0x3bd1d2}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1accc9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x42ecce,_0x1a8fc3];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5ed2c3=this['editor'];if(!!!_0x5ed2c3['config']['get']('uploadcare'))return;_0x5ed2c3['plugins']['get'](_0x42ecce)['createUploadAdapter']=_0x48efe0=>new k(_0x48efe0,_0x5ed2c3),_0x5ed2c3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x39b49d,{imageElement:_0x39e46a,data:_0x3b9bf5})=>{_0x5ed2c3['model']['change'](_0xcbef25=>{_0xcbef25['setAttribute']('uploadcareImageId',_0x3b9bf5['uploadcareImageId'],_0x39e46a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x38fc13,_0x52d625){this['loader']=_0x38fc13,this['editor']=_0x52d625,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3862d5=await this['loader']['file'];return _0x5a9d20['upload']({'file':_0x3862d5,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3215d6=>{_0x3215d6&&_0x3215d6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3215d6['value']);}})['then'](async _0x5723ea=>{const {imageFallbackUrl:_0x4d04bc,imageSources:_0x4e2bb9}=_0x3bd1d2(_0x5723ea['cdnUrl'],_0x5723ea['imageInfo']['width']);return{'uploadcareImageId':_0x5723ea['uuid'],'default':_0x4d04bc,'sources':_0x4e2bb9};})['catch'](()=>{const _0x57da29=t('Cannot\x20upload\x20file:')+('\x20'+_0x3862d5['name']+'.');return Promise['reject'](_0x57da29);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3bfc1}from'../uploadcareconfig.js';export function getTranslation(_0x47f579,_0x3212d8,_0x2e26cb){const t=_0x47f579['t'],_0x13d2ca=_0x47f579['t'];switch(_0x3212d8){case _0x3bfc1['Local']:return{'text':_0x13d2ca('Insert'===_0x2e26cb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x13d2ca('From\x20computer')};case _0x3bfc1['URL']:return{'text':'Insert'===_0x2e26cb?_0x13d2ca('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x13d2ca('Via\x20URL')};case _0x3bfc1['Dropbox']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3bfc1['Facebook']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3bfc1['GDrive']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3bfc1['GPhotos']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3bfc1['OneDrive']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3212d8;}}
23
+ import{UploadcareSource as _0x44a84f}from'../uploadcareconfig.js';export function getTranslation(_0xbfd373,_0x513b46,_0x28adbc){const t=_0xbfd373['t'],_0x7a497e=_0xbfd373['t'];switch(_0x513b46){case _0x44a84f['Local']:return{'text':_0x7a497e('Insert'===_0x28adbc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x7a497e('From\x20computer')};case _0x44a84f['URL']:return{'text':'Insert'===_0x28adbc?_0x7a497e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x7a497e('Via\x20URL')};case _0x44a84f['Dropbox']:return{'text':t('Insert'===_0x28adbc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x44a84f['Facebook']:return{'text':t('Insert'===_0x28adbc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x44a84f['GDrive']:return{'text':t('Insert'===_0x28adbc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x44a84f['GPhotos']:return{'text':t('Insert'===_0x28adbc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x44a84f['OneDrive']:return{'text':t('Insert'===_0x28adbc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x513b46;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c69c7=_0x25bc;(function(_0x3736d2,_0x501998){var _0x3e5b42=_0x25bc,_0x3d71cd=_0x3736d2();while(!![]){try{var _0xfc18ac=parseInt(_0x3e5b42(0xfb))/0x1*(-parseInt(_0x3e5b42(0xfc))/0x2)+-parseInt(_0x3e5b42(0xf8))/0x3*(parseInt(_0x3e5b42(0x100))/0x4)+parseInt(_0x3e5b42(0x101))/0x5+parseInt(_0x3e5b42(0xf9))/0x6+parseInt(_0x3e5b42(0x108))/0x7+-parseInt(_0x3e5b42(0xfe))/0x8+-parseInt(_0x3e5b42(0xfa))/0x9;if(_0xfc18ac===_0x501998)break;else _0x3d71cd['push'](_0x3d71cd['shift']());}catch(_0xc16c9d){_0x3d71cd['push'](_0x3d71cd['shift']());}}}(_0x45ed,0x6f7c9));import{FocusTracker as _0x41cb14}from'ckeditor5/src/utils.js';import{View as _0x34abb1,FocusCycler as _0x2ffed9}from'ckeditor5/src/ui.js';function _0x25bc(_0x337e68,_0x4eb944){var _0x45ed01=_0x45ed();return _0x25bc=function(_0x25bc19,_0x3222f6){_0x25bc19=_0x25bc19-0xf8;var _0x24ae60=_0x45ed01[_0x25bc19];return _0x24ae60;},_0x25bc(_0x337e68,_0x4eb944);}import'../../theme/uploadcare-form.css';function _0x45ed(){var _0x2c2938=['focusCycler','forwardCycle','fire','div','bindTemplate','5088720FDcfdV','getFocusableElement','27QGFOpL','2449248huIUeR','4934277rKCoPZ','41007beVYqo','22gucjya','createCollection','1516440uEXqUC','focusTracker','155436QADUAD','4300485TjwzjJ','true'];_0x45ed=function(){return _0x2c2938;};return _0x45ed();}export class DialogFocusManagerView extends _0x34abb1{[_0x5c69c7(0xff)];[_0x5c69c7(0x103)];constructor(_0xc6266a){var _0x50a948=_0x5c69c7;super(_0xc6266a),this[_0x50a948(0xff)]=new _0x41cb14(),this[_0x50a948(0x103)]=new _0x2ffed9({'focusables':this[_0x50a948(0xfd)](),'focusTracker':this[_0x50a948(0xff)]});}[_0x5c69c7(0x109)](){var _0x47db95=_0x5c69c7;return{'tag':_0x47db95(0x106),'attributes':{'aria-hidden':_0x47db95(0x102),'tabindex':'0'},'on':{'focus':this[_0x47db95(0x107)]['to'](()=>{var _0x2aac3e=_0x47db95;this[_0x2aac3e(0x103)][_0x2aac3e(0x105)](_0x2aac3e(0x104));})}};}}
23
+ function _0x342a(_0x55954d,_0x4c6d20){var _0x21ba8e=_0x21ba();return _0x342a=function(_0x342a79,_0xef1dce){_0x342a79=_0x342a79-0xb9;var _0x26f7b3=_0x21ba8e[_0x342a79];return _0x26f7b3;},_0x342a(_0x55954d,_0x4c6d20);}function _0x21ba(){var _0x474313=['forwardCycle','57883440KEKZQa','4045920qNOEsc','createCollection','5cfxPyB','6mqjdPw','true','bindTemplate','2982796bdLrHS','focusCycler','div','1594621BhadEr','6785992uwRvPf','1102960oHvRie','focusTracker','getFocusableElement','11538018NOJFUO','2bnwTxj','fire'];_0x21ba=function(){return _0x474313;};return _0x21ba();}var _0x2543ef=_0x342a;(function(_0x298bf9,_0x3e4918){var _0x14bd12=_0x342a,_0x4948bc=_0x298bf9();while(!![]){try{var _0x15e26f=-parseInt(_0x14bd12(0xb9))/0x1*(parseInt(_0x14bd12(0xbd))/0x2)+-parseInt(_0x14bd12(0xc1))/0x3+-parseInt(_0x14bd12(0xc7))/0x4*(parseInt(_0x14bd12(0xc3))/0x5)+parseInt(_0x14bd12(0xc4))/0x6*(parseInt(_0x14bd12(0xca))/0x7)+-parseInt(_0x14bd12(0xcb))/0x8+-parseInt(_0x14bd12(0xbc))/0x9+parseInt(_0x14bd12(0xc0))/0xa;if(_0x15e26f===_0x3e4918)break;else _0x4948bc['push'](_0x4948bc['shift']());}catch(_0xbe0726){_0x4948bc['push'](_0x4948bc['shift']());}}}(_0x21ba,0xa81d5));import{FocusTracker as _0x28c3f1}from'ckeditor5/src/utils.js';import{View as _0x408c8f,FocusCycler as _0x31b687}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x408c8f{[_0x2543ef(0xba)];[_0x2543ef(0xc8)];constructor(_0x5cc0a2){var _0x5203d8=_0x2543ef;super(_0x5cc0a2),this[_0x5203d8(0xba)]=new _0x28c3f1(),this[_0x5203d8(0xc8)]=new _0x31b687({'focusables':this[_0x5203d8(0xc2)](),'focusTracker':this[_0x5203d8(0xba)]});}[_0x2543ef(0xbb)](){var _0x4772c7=_0x2543ef;return{'tag':_0x4772c7(0xc9),'attributes':{'aria-hidden':_0x4772c7(0xc5),'tabindex':'0'},'on':{'focus':this[_0x4772c7(0xc6)]['to'](()=>{var _0x3c9640=_0x4772c7;this[_0x3c9640(0xc8)][_0x3c9640(0xbe)](_0x3c9640(0xbf));})}};}}