@ckeditor/ckeditor5-uploadcare 46.1.0-alpha.0 → 46.1.0-alpha.2

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 _0x4d5b9f=_0x16ab;(function(_0x16c0e4,_0x813f39){const _0x44619e=_0x16ab,_0x30d70a=_0x16c0e4();while(!![]){try{const _0x43d5c8=-parseInt(_0x44619e(0x18d))/0x1*(parseInt(_0x44619e(0x1b3))/0x2)+-parseInt(_0x44619e(0x186))/0x3+parseInt(_0x44619e(0x1b6))/0x4*(-parseInt(_0x44619e(0x185))/0x5)+-parseInt(_0x44619e(0x18f))/0x6*(parseInt(_0x44619e(0x1b5))/0x7)+parseInt(_0x44619e(0x1bf))/0x8+-parseInt(_0x44619e(0x1d0))/0x9+parseInt(_0x44619e(0x1b0))/0xa;if(_0x43d5c8===_0x813f39)break;else _0x30d70a['push'](_0x30d70a['shift']());}catch(_0x4f9d6c){_0x30d70a['push'](_0x30d70a['shift']());}}}(_0x415b,0x835a7));import{Plugin as _0x2732fc}from'ckeditor5/src/core.js';function _0x415b(){const _0x15a726=['execute','get','config','uc-config','downcast','once','attributeToAttribute','commands','extend','imageBlock','uploadcareImageId','uploadcare.pubkey','_initSchema','configElement','remove','map','26381440TrkdSx','conversion','ctxElement','2SNGYlL','data-uc-image-id','40229oUnlEg','4440ZyTLQe','locale','isPremiumPlugin','ucContextId','join','_initCtx','removeAttribute','for','cleanupImage','1100776REOtaX','imageInline','uploadcare','contentLanguage','render','requires','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','input[uploadcare-file-input]','replaceImageSource','body','fromCharCode','editing','isRegistered','upcast','PictureEditing','_ctxElement','model','2403117EEQieF','elementToAttribute','listenTo','uploader-','_initConfig','getAttribute','insertImage','iconHrefResolver','afterInit','href','705LvrkFi','2924067QWdaqV','pluginName','closeMax','appendChild','getSelectedElement','true','schema','799277WKzszC','uploadcare.uploader','42yOVsHJ','uc-upload-ctx-provider','_configElement','document','add','_initConversion','UploadcareEditing','querySelector','#uc-icon-arrow-down','selection','init','editor','_initImageProcessingIndicator','isOfficialPlugin','uploadcareImageReplace','destroy','view'];_0x415b=function(){return _0x15a726;};return _0x415b();}function _0x16ab(_0x49002f,_0x4846a3){const _0x415b7d=_0x415b();return _0x16ab=function(_0x16ab26,_0x3c7b67){_0x16ab26=_0x16ab26-0x17e;let _0x32a8a0=_0x415b7d[_0x16ab26];return _0x32a8a0;},_0x16ab(_0x49002f,_0x4846a3);}import{Dialog as _0x6c53fc}from'ckeditor5/src/ui.js';import{createElement as _0x5954a6,global as _0x6681c2,uid as _0x2e1eb6}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x261dd3}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x59035c}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x77c5b7}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2732fc{[_0x4d5b9f(0x191)]=null;[_0x4d5b9f(0x1ce)]=null;static get[_0x4d5b9f(0x187)](){const _0x352d1d=_0x4d5b9f;return _0x352d1d(0x195);}static get[_0x4d5b9f(0x1c4)](){const _0x29715f=_0x4d5b9f;return[_0x29715f(0x1cd),_0x59035c,_0x6c53fc];}static get[_0x4d5b9f(0x19c)](){return!0x0;}static get[_0x4d5b9f(0x1b8)](){return!0x0;}[_0x4d5b9f(0x1b9)];get[_0x4d5b9f(0x1ad)](){const _0x3b155c=_0x4d5b9f;return this[_0x3b155c(0x191)];}get[_0x4d5b9f(0x1b2)](){const _0x17ba01=_0x4d5b9f;return this[_0x17ba01(0x1ce)];}constructor(_0x315982){const _0x3f62de=_0x4d5b9f;super(_0x315982),this[_0x3f62de(0x1b9)]=_0x2e1eb6();}[_0x4d5b9f(0x199)](){const _0x3ee6db=_0x4d5b9f,_0x2a1ad5=this[_0x3ee6db(0x19a)];_0x2a1ad5[_0x3ee6db(0x1a7)][_0x3ee6db(0x193)](_0x3ee6db(0x1c1),new _0x261dd3(_0x2a1ad5));}[_0x4d5b9f(0x183)](){const _0x30c359=_0x4d5b9f;this[_0x30c359(0x1ac)](),this[_0x30c359(0x194)](),this[_0x30c359(0x17f)](),this[_0x30c359(0x1bb)](),this[_0x30c359(0x19b)](),this[_0x30c359(0x1d2)](this[_0x30c359(0x19a)],_0x30c359(0x19e),()=>{const _0x1fb4d5=_0x30c359;this[_0x1fb4d5(0x191)]&&(this[_0x1fb4d5(0x191)][_0x1fb4d5(0x1ae)](),this[_0x1fb4d5(0x191)]=null),this[_0x1fb4d5(0x1ce)]&&(this[_0x1fb4d5(0x1ce)][_0x1fb4d5(0x1ae)](),this[_0x1fb4d5(0x1ce)]=null);const _0x4a6fd5=_0x6681c2[_0x1fb4d5(0x192)][_0x1fb4d5(0x196)](_0x1fb4d5(0x1c6));_0x4a6fd5&&_0x4a6fd5[_0x1fb4d5(0x1ae)]();}),async function(_0x3cdcf4){const _0xa12200=_0x2d6373([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x25a426=0x3d8d0df,_0x5721a4=0x3dfa2b7^_0x25a426,_0x9fbddd=window[_0x2d6373([0x44,0x61,0x74,0x65])][_0x2d6373([0x6e,0x6f,0x77])](),_0x50b5da=_0x3cdcf4[_0x2d6373([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22e601=new window[(_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe92e7a=>{_0x50b5da[_0x2d6373([0x6f,0x6e,0x63,0x65])](_0x2d6373([0x72,0x65,0x61,0x64,0x79]),_0xe92e7a);}),_0x1b27dc={[_0x2d6373([0x6b,0x74,0x79])]:_0x2d6373([0x45,0x43]),[_0x2d6373([0x75,0x73,0x65])]:_0x2d6373([0x73,0x69,0x67]),[_0x2d6373([0x63,0x72,0x76])]:_0x2d6373([0x50,0x2d,0x32,0x35,0x36]),[_0x2d6373([0x78])]:_0x2d6373([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]),[_0x2d6373([0x79])]:_0x2d6373([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]),[_0x2d6373([0x61,0x6c,0x67])]:_0x2d6373([0x45,0x53,0x32,0x35,0x36])},_0x3a32c8=_0x50b5da[_0x2d6373([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d6373([0x67,0x65,0x74])](_0x2d6373([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c509b(){let _0x59775e,_0x228683=null,_0x6b3bd7=null;try{if(_0x3a32c8==_0x2d6373([0x47,0x50,0x4c]))return _0x2d6373([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59775e=_0x37dbb6(),!_0x59775e)return _0x2d6373([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59775e[_0x2d6373([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6b3bd7=_0x25c18d(_0x59775e[_0x2d6373([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59775e[_0x2d6373([0x6a,0x74,0x69])])),await _0x511648()?_0x2d2a16()?_0x317ccd()?_0x2d6373([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x149a6a()?(_0x59775e[_0x2d6373([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d6373([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x228683=_0x28a03f(_0x2d6373([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59775e[_0x2d6373([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d6373([0x74,0x72,0x69,0x61,0x6c])&&(_0x228683=_0x28a03f(_0x2d6373([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20c349()):_0x2d6373([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d6373([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d6373([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d6373([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x317ccd(){const _0x2943de=[_0x2d6373([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d6373([0x74,0x72,0x69,0x61,0x6c])][_0x2d6373([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59775e[_0x2d6373([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9fbddd/0x3e8:0xe10*_0x5721a4;return _0x59775e[_0x2d6373([0x65,0x78,0x70])]<_0x2943de;}function _0x2d2a16(){const _0x102b2c=_0x59775e[_0x2d6373([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x102b2c&&(!!_0x102b2c[_0x2d6373([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d6373([0x2a]))||!!_0x102b2c[_0x2d6373([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d6373([0x55,0x50,0x4c,0x43])));}function _0x149a6a(){const _0x4004c4=_0x16ab,_0x4d65c9=_0x59775e[_0x2d6373([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d65c9||0x0==_0x4d65c9[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5804db}=new URL(window[_0x2d6373([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4004c4(0x184)]);if(_0x4d65c9[_0x2d6373([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5804db))return!0x0;const _0x17d0da=_0x5804db[_0x2d6373([0x73,0x70,0x6c,0x69,0x74])](_0x2d6373([0x2e]));return _0x4d65c9[_0x2d6373([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40f508=>_0x40f508[_0x2d6373([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d6373([0x2a])))[_0x2d6373([0x6d,0x61,0x70])](_0xa9fd12=>_0xa9fd12[_0x2d6373([0x73,0x70,0x6c,0x69,0x74])](_0x2d6373([0x2e])))[_0x2d6373([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bb7cf=>_0x2bb7cf[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17d0da[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d6373([0x6d,0x61,0x70])](_0x1d94a3=>Array(_0x17d0da[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d94a3[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d6373([0x66,0x69,0x6c,0x6c])](_0x1d94a3[0x0]===_0x2d6373([0x2a])?_0x2d6373([0x2a]):'')[_0x2d6373([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d94a3))[_0x2d6373([0x73,0x6f,0x6d,0x65])](_0x4e7752=>_0x17d0da[_0x2d6373([0x65,0x76,0x65,0x72,0x79])]((_0x4fb3d0,_0x28de82)=>_0x4e7752[_0x28de82]===_0x4fb3d0||_0x4e7752[_0x28de82]===_0x2d6373([0x2a])));}function _0x20c349(){return _0x228683&&_0x6b3bd7?new window[(_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3b6a,_0x179f3e)=>{_0x228683[_0x2d6373([0x74,0x68,0x65,0x6e])](_0x1c3b6a,_0x179f3e),_0x6b3bd7[_0x2d6373([0x74,0x68,0x65,0x6e])](_0x1f357b=>{_0x1f357b!=_0x2d6373([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3b6a(_0x1f357b);},_0x179f3e);}):_0x228683||_0x6b3bd7||_0x2d6373([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25c18d(_0x6340dd,_0x29886a){return new window[(_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55fc10=>{if(_0x2f6396())return _0x55fc10(_0x2d6373([0x56,0x61,0x6c,0x69,0x64]));_0x1f0667(),_0x50b5da[_0x2d6373([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d6373([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ccef9=!0x1;const _0x35f754=_0x2e1eb6();function _0xb575d4(_0x2a4b5a){return!!_0x2a4b5a&&(typeof _0x2a4b5a===_0x2d6373([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a4b5a===_0x2d6373([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a4b5a[_0x2d6373([0x74,0x68,0x65,0x6e])]===_0x2d6373([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a4b5a[_0x2d6373([0x63,0x61,0x74,0x63,0x68])]===_0x2d6373([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2112cf(_0x3d45a4){_0x162e36(_0x3d45a4)[_0x2d6373([0x74,0x68,0x65,0x6e])](_0x366b0b=>{if(!_0x366b0b||_0x366b0b[_0x2d6373([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d6373([0x6f,0x6b]))return _0x2d6373([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d4ec7(_0x273a51(_0x35f754+_0x29886a))!=_0x366b0b[_0x2d6373([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d6373([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d6373([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d6373([0x74,0x68,0x65,0x6e])](_0x3c94f9=>(_0x529f45(),_0x3c94f9),()=>{const _0x2d3aed=_0x29747e();return null==_0x2d3aed?(_0x529f45(),_0x2d6373([0x56,0x61,0x6c,0x69,0x64])):_0x2d6373(_0x9fbddd-_0x2d3aed>(0x27d454df^_0x25a426)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d6373([0x74,0x68,0x65,0x6e])](_0x55fc10)[_0x2d6373([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55fc10(_0x2d6373([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ff1d6=0x3ee3e5f^_0x25a426;function _0x529f45(){const _0x1e0f67=_0x2d6373([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4ec7(_0x273a51(_0x6340dd)),_0x32b950=_0x1811ed(_0x3d4ec7(window[_0x2d6373([0x4d,0x61,0x74,0x68])][_0x2d6373([0x63,0x65,0x69,0x6c])](_0x9fbddd/_0x3ff1d6)));window[_0x2d6373([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d6373([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0f67,_0x32b950);}function _0x29747e(){const _0x5e0e57=_0x2d6373([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4ec7(_0x273a51(_0x6340dd)),_0x16a79b=window[_0x2d6373([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d6373([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e0e57);return _0x16a79b?window[_0x2d6373([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1811ed(_0x16a79b),0x10)*_0x3ff1d6:null;}function _0x162e36(_0x501d7c){return new window[(_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1376dd,_0x3c5eeb)=>{_0x501d7c[_0x2d6373([0x74,0x68,0x65,0x6e])](_0x1376dd,_0x3c5eeb),window[_0x2d6373([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c5eeb,0x3d9041f^_0x25a426);});}}_0x50b5da[_0x2d6373([0x6f,0x6e])](_0x2d6373([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x230f3d,_0x5a121e)=>{if(_0x5a121e[0x0]!=_0x6340dd)return _0x55fc10(_0x2d6373([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a121e[0x1]={..._0x5a121e[0x1],[_0x2d6373([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35f754};},{[_0x2d6373([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d6373([0x68,0x69,0x67,0x68])}),_0x50b5da[_0x2d6373([0x6f,0x6e])](_0x2d6373([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58c3f7=>{_0xb575d4(_0x58c3f7[_0x2d6373([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ccef9=!0x0,_0x2112cf(_0x58c3f7[_0x2d6373([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d6373([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d6373([0x6c,0x6f,0x77])}),_0x22e601[_0x2d6373([0x74,0x68,0x65,0x6e])](()=>{_0x3ccef9||_0x55fc10(_0x2d6373([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f6396(){return _0x50b5da[_0x2d6373([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d6373([0x76,0x69,0x65,0x77])][_0x2d6373([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d6373([0x61,0x75,0x74,0x6f]);}function _0x1f0667(){_0x50b5da[_0x2d6373([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d6373([0x76,0x69,0x65,0x77])][_0x2d6373([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d6373([0x61,0x75,0x74,0x6f]);}}function _0x28a03f(_0x3db1ca){const _0x19f463=[new window[(_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4be874=>setTimeout(_0x4be874,0x3d1ee13^_0x25a426)),_0x22e601[_0x2d6373([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47f11c=>{let _0xf041b5=0x0;_0x50b5da[_0x2d6373([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6373([0x6f,0x6e])](_0x2d6373([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32ed9b,_0x3dddcf)=>{_0x3dddcf[0x0][_0x2d6373([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf041b5++,_0xf041b5==(0x3d8d127^_0x25a426)&&(_0x47f11c(),_0x32ed9b[_0x2d6373([0x6f,0x66,0x66])]());});}))];return window[_0x2d6373([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d6373([0x72,0x61,0x63,0x65])](_0x19f463)[_0x2d6373([0x74,0x68,0x65,0x6e])](()=>_0x3db1ca);}async function _0x4742f3(){await _0x22e601,_0x50b5da[_0x2d6373([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6373([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc78980,_0x50b5da[_0x2d6373([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6373([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc78980,_0x50b5da[_0x2d6373([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d6373([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ce5b4(_0xf0e66d){const _0x4e9f49=_0x5e22c6();_0x50b5da[_0x4e9f49]=_0x2d6373([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf0e66d,_0xf0e66d!=_0x2d6373([0x56,0x61,0x6c,0x69,0x64])&&_0x4742f3();}function _0x5e22c6(){const _0x4eab57=window[_0x2d6373([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d6373([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d6373([0x6e,0x6f,0x77])]())[_0x2d6373([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d6373([0x2e]),'');let _0x2e3579=_0x2d6373([0x52]);for(let _0x1edd46=0x0;_0x1edd46<_0x4eab57[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1edd46+=0x2){let _0x5c85d6=window[_0x2d6373([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eab57[_0x2d6373([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1edd46,_0x1edd46+0x2));_0x5c85d6>=_0xa12200[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c85d6-=_0xa12200[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e3579+=_0xa12200[_0x5c85d6];}return _0x2e3579;}function _0x37dbb6(){const _0x46ba41=_0x3a32c8[_0x2d6373([0x73,0x70,0x6c,0x69,0x74])](_0x2d6373([0x2e]));if(0x3!=_0x46ba41[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x392e51(_0x46ba41[0x1]);function _0x392e51(_0x1a1180){const _0x4fd18d=_0x590b37(_0x1a1180);return _0x4fd18d&&_0x43a3da()?_0x4fd18d:null;function _0x43a3da(){const _0x45640d=_0x4fd18d[_0x2d6373([0x6a,0x74,0x69])],_0x5f5390=window[_0x2d6373([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45640d[_0x2d6373([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45640d[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14eb03={..._0x4fd18d,[_0x2d6373([0x6a,0x74,0x69])]:_0x45640d[_0x2d6373([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x45640d[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14eb03[_0x2d6373([0x76,0x63])],_0x273a51(_0x14eb03)==_0x5f5390;}}}async function _0x511648(){let _0x1b13b5=!0x0;try{const _0x1f03af=_0x3a32c8[_0x2d6373([0x73,0x70,0x6c,0x69,0x74])](_0x2d6373([0x2e])),[_0x36b14a,_0x5a38d8,_0x460ea6]=_0x1f03af;return _0x5a5f13(_0x36b14a),await _0x22926a(_0x36b14a,_0x5a38d8,_0x460ea6),_0x1b13b5;}catch{return!0x1;}function _0x5a5f13(_0x5d0fad){const _0x1d853d=_0x590b37(_0x5d0fad);_0x1d853d&&_0x1d853d[_0x2d6373([0x61,0x6c,0x67])]==_0x2d6373([0x45,0x53,0x32,0x35,0x36])||(_0x1b13b5=!0x1);}async function _0x22926a(_0x46a560,_0x20b8d6,_0x52ed82){const _0x2da1f4=window[_0x2d6373([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d6373([0x66,0x72,0x6f,0x6d])](_0x486b65(_0x52ed82),_0x40887e=>_0x40887e[_0x2d6373([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dbef0=new window[(_0x2d6373([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d6373([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46a560+_0x2d6373([0x2e])+_0x20b8d6),_0x25ab30=window[_0x2d6373([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d6373([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25ab30)return;const _0x519ca3=await _0x25ab30[_0x2d6373([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d6373([0x6a,0x77,0x6b]),_0x1b27dc,{[_0x2d6373([0x6e,0x61,0x6d,0x65])]:_0x2d6373([0x45,0x43,0x44,0x53,0x41]),[_0x2d6373([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d6373([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d6373([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25ab30[_0x2d6373([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d6373([0x6e,0x61,0x6d,0x65])]:_0x2d6373([0x45,0x43,0x44,0x53,0x41]),[_0x2d6373([0x68,0x61,0x73,0x68])]:{[_0x2d6373([0x6e,0x61,0x6d,0x65])]:_0x2d6373([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x519ca3,_0x2da1f4,_0x4dbef0)||(_0x1b13b5=!0x1);}}function _0x590b37(_0x5b6aa0){return _0x5b6aa0[_0x2d6373([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d6373([0x65,0x79]))?JSON[_0x2d6373([0x70,0x61,0x72,0x73,0x65])](_0x486b65(_0x5b6aa0)):null;}function _0x486b65(_0x2bb46f){return window[_0x2d6373([0x61,0x74,0x6f,0x62])](_0x2bb46f[_0x2d6373([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d6373([0x2b]))[_0x2d6373([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d6373([0x2f])));}function _0x273a51(_0x234d31){let _0x5b45f0=0x1505;function _0x579dde(_0x505f8a){for(let _0x119fe0=0x0;_0x119fe0<_0x505f8a[_0x2d6373([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x119fe0++){const _0x486e88=_0x505f8a[_0x2d6373([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x119fe0);_0x5b45f0=(_0x5b45f0<<0x5)+_0x5b45f0+_0x486e88,_0x5b45f0&=_0x5b45f0;}}function _0x58d846(_0x176c84){Array[_0x2d6373([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x176c84)?_0x176c84[_0x2d6373([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58d846):_0x176c84&&typeof _0x176c84==_0x2d6373([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d6373([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x176c84)[_0x2d6373([0x73,0x6f,0x72,0x74])]()[_0x2d6373([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x313839,_0x40533c])=>{_0x579dde(_0x313839),_0x58d846(_0x40533c);}):_0x579dde(window[_0x2d6373([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x176c84));}return _0x58d846(_0x234d31),_0x5b45f0>>>0x0;}function _0x3d4ec7(_0x577066){return _0x577066[_0x2d6373([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d6373([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d6373([0x30]));}function _0x1811ed(_0x418d01){return _0x418d01[_0x2d6373([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d6373([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d6373([0x6a,0x6f,0x69,0x6e])]('');}function _0xc78980(){}function _0x2d6373(_0x14e3c0){const _0x3afacd=_0x16ab;return _0x14e3c0[_0x3afacd(0x1af)](_0x108e9d=>String[_0x3afacd(0x1c9)](_0x108e9d))[_0x3afacd(0x1ba)]('');}_0x5ce5b4(await _0x1c509b());}(this);}[_0x4d5b9f(0x1ac)](){const _0x39ca8f=_0x4d5b9f,_0x1bea38=this[_0x39ca8f(0x19a)][_0x39ca8f(0x1cf)][_0x39ca8f(0x18c)];_0x1bea38[_0x39ca8f(0x1cb)](_0x39ca8f(0x1a9))&&_0x1bea38[_0x39ca8f(0x1a8)](_0x39ca8f(0x1a9),{'allowAttributes':[_0x39ca8f(0x1aa)]}),_0x1bea38[_0x39ca8f(0x1cb)](_0x39ca8f(0x1c0))&&_0x1bea38[_0x39ca8f(0x1a8)](_0x39ca8f(0x1c0),{'allowAttributes':[_0x39ca8f(0x1aa)]});}[_0x4d5b9f(0x194)](){const _0x3613bd=_0x4d5b9f,_0x2bbd38=this[_0x3613bd(0x19a)];_0x2bbd38[_0x3613bd(0x1b1)][_0x3613bd(0x1bd)](_0x3613bd(0x1a4))[_0x3613bd(0x1a6)]({'model':_0x3613bd(0x1aa),'view':_0x3613bd(0x1b4)}),_0x2bbd38[_0x3613bd(0x1b1)][_0x3613bd(0x1bd)](_0x3613bd(0x1cc))[_0x3613bd(0x1d1)]({'model':{'key':_0x3613bd(0x1aa),'value':_0x142df8=>_0x142df8[_0x3613bd(0x180)](_0x3613bd(0x1b4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2e1c5f=_0x2bbd38[_0x3613bd(0x1a7)][_0x3613bd(0x1a1)](_0x3613bd(0x1c7));_0x2e1c5f&&this[_0x3613bd(0x1d2)](_0x2e1c5f,_0x3613bd(0x1be),(_0x25db2d,[_0x106a66,_0x1bf9fe])=>{const _0x12d4ab=_0x3613bd;_0x106a66[_0x12d4ab(0x1bc)](_0x12d4ab(0x1aa),_0x1bf9fe);});}[_0x4d5b9f(0x17f)](){const _0x5c1219=_0x4d5b9f,_0x58c0fe=this[_0x5c1219(0x19a)][_0x5c1219(0x1a2)][_0x5c1219(0x1a1)](_0x5c1219(0x18e))||{},_0xc27bf2=this[_0x5c1219(0x19a)][_0x5c1219(0x1a2)][_0x5c1219(0x1a1)](_0x5c1219(0x1ab))||'';this[_0x5c1219(0x191)]=_0x5954a6(_0x6681c2[_0x5c1219(0x192)],_0x5c1219(0x1a3),{..._0x58c0fe,'pubkey':_0xc27bf2,'ctx-name':_0x5c1219(0x17e)+this[_0x5c1219(0x1b9)],'sourceList':'','imgOnly':_0x5c1219(0x18b),'removeCopyright':_0x5c1219(0x18b),'localeName':this[_0x5c1219(0x19a)][_0x5c1219(0x1b7)][_0x5c1219(0x1c2)],'externalSourcesEmbedCss':_0x5c1219(0x1c5)}),this[_0x5c1219(0x191)][_0x5c1219(0x182)]=_0xb30c27=>{const _0x2bbd78=_0x5c1219;if(_0x2bbd78(0x188)==_0xb30c27)return _0x2bbd78(0x197);},_0x6681c2[_0x5c1219(0x192)][_0x5c1219(0x1c8)][_0x5c1219(0x189)](this[_0x5c1219(0x191)]);}[_0x4d5b9f(0x1bb)](){const _0x547de1=_0x4d5b9f;this[_0x547de1(0x1ce)]=_0x5954a6(_0x6681c2[_0x547de1(0x192)],_0x547de1(0x190),{'ctx-name':_0x547de1(0x17e)+this[_0x547de1(0x1b9)]}),_0x6681c2[_0x547de1(0x192)][_0x547de1(0x1c8)][_0x547de1(0x189)](this[_0x547de1(0x1ce)]);}[_0x4d5b9f(0x19b)](){const _0x1534ca=_0x4d5b9f,_0x3d609b=this[_0x1534ca(0x19a)][_0x1534ca(0x1a7)][_0x1534ca(0x1a1)](_0x1534ca(0x181));_0x3d609b&&this[_0x1534ca(0x1d2)](_0x3d609b,_0x1534ca(0x1a0),()=>{const _0x2337b6=_0x1534ca,_0x52f718=this[_0x2337b6(0x19a)][_0x2337b6(0x1cf)][_0x2337b6(0x192)][_0x2337b6(0x198)][_0x2337b6(0x18a)]();_0x52f718&&_0x52f718[_0x2337b6(0x180)](_0x2337b6(0x1aa))&&this[_0x2337b6(0x19a)][_0x2337b6(0x1ca)][_0x2337b6(0x19f)][_0x2337b6(0x1a5)](_0x2337b6(0x1c3),()=>{const _0x2fcb99=_0x2337b6;_0x77c5b7(this[_0x2fcb99(0x19a)],_0x52f718);});});const _0x103900=this[_0x1534ca(0x19a)][_0x1534ca(0x1a7)][_0x1534ca(0x1a1)](_0x1534ca(0x19d));_0x103900&&this[_0x1534ca(0x1d2)](_0x103900,_0x1534ca(0x1a0),()=>{const _0x498bec=_0x1534ca,_0xb46ab1=this[_0x498bec(0x19a)][_0x498bec(0x1cf)][_0x498bec(0x192)][_0x498bec(0x198)][_0x498bec(0x18a)]();_0xb46ab1&&_0xb46ab1[_0x498bec(0x180)](_0x498bec(0x1aa))&&this[_0x498bec(0x19a)][_0x498bec(0x1ca)][_0x498bec(0x19f)][_0x498bec(0x1a5)](_0x498bec(0x1c3),()=>{const _0x65ff0=_0x498bec;_0x77c5b7(this[_0x65ff0(0x19a)],_0xb46ab1);});});}}
23
+ const _0x3f6462=_0x5d4b;(function(_0x21968a,_0x3ebae4){const _0x4fabfa=_0x5d4b,_0x180945=_0x21968a();while(!![]){try{const _0x3929d0=-parseInt(_0x4fabfa(0x1e7))/0x1+-parseInt(_0x4fabfa(0x1bc))/0x2+-parseInt(_0x4fabfa(0x1d6))/0x3+parseInt(_0x4fabfa(0x1b6))/0x4*(-parseInt(_0x4fabfa(0x1b8))/0x5)+parseInt(_0x4fabfa(0x1cf))/0x6+-parseInt(_0x4fabfa(0x1b9))/0x7+parseInt(_0x4fabfa(0x1a2))/0x8;if(_0x3929d0===_0x3ebae4)break;else _0x180945['push'](_0x180945['shift']());}catch(_0x3225f7){_0x180945['push'](_0x180945['shift']());}}}(_0x36b3,0x368fe));function _0x36b3(){const _0x3ae8a2=['460iucVMd','2765553NKhgQr','_initSchema','insertImage','200552vsgrXl','remove','upcast','data-uc-image-id','body','cleanupImage','get','uploadcare.uploader','uploader-','getAttribute','isPremiumPlugin','_initCtx','requires','join','uploadcareImageId','appendChild','ctxElement','listenTo','elementToAttribute','1305798xIdQlb','pluginName','destroy','afterInit','map','view','selection','1111569UREqTF','document','render','_ctxElement','isRegistered','\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','true','once','ucContextId','_configElement','downcast','PictureEditing','closeMax','contentLanguage','schema','add','input[uploadcare-file-input]','294169pAEPxy','uc-config','_initImageProcessingIndicator','isOfficialPlugin','editor','commands','init','uploadcare','imageInline','for','querySelector','locale','UploadcareEditing','attributeToAttribute','9372096sKXMTQ','uploadcareImageReplace','extend','editing','configElement','replaceImageSource','conversion','iconHrefResolver','model','#uc-icon-arrow-down','imageBlock','execute','fromCharCode','href','uploadcare.pubkey','uc-upload-ctx-provider','getSelectedElement','removeAttribute','config','_initConfig','244lphiVS','_initConversion'];_0x36b3=function(){return _0x3ae8a2;};return _0x36b3();}function _0x5d4b(_0x3b4c61,_0x57154c){const _0x36b395=_0x36b3();return _0x5d4b=function(_0x5d4bd0,_0xd2fbbc){_0x5d4bd0=_0x5d4bd0-0x19f;let _0x49ff36=_0x36b395[_0x5d4bd0];return _0x49ff36;},_0x5d4b(_0x3b4c61,_0x57154c);}import{Plugin as _0x586ee9}from'ckeditor5/src/core.js';import{Dialog as _0x51333c}from'ckeditor5/src/ui.js';import{createElement as _0x4b8cc1,global as _0x2519c5,uid as _0x3dd22e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5f520f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4af856}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x255099}from'./utils/editingutils.js';export class UploadcareEditing extends _0x586ee9{[_0x3f6462(0x1df)]=null;[_0x3f6462(0x1d9)]=null;static get[_0x3f6462(0x1d0)](){const _0x26052e=_0x3f6462;return _0x26052e(0x1a0);}static get[_0x3f6462(0x1c8)](){const _0x51cd68=_0x3f6462;return[_0x51cd68(0x1e1),_0x4af856,_0x51333c];}static get[_0x3f6462(0x1ea)](){return!0x0;}static get[_0x3f6462(0x1c6)](){return!0x0;}[_0x3f6462(0x1de)];get[_0x3f6462(0x1a6)](){const _0x370ae2=_0x3f6462;return this[_0x370ae2(0x1df)];}get[_0x3f6462(0x1cc)](){const _0x30970d=_0x3f6462;return this[_0x30970d(0x1d9)];}constructor(_0x1a1322){const _0x2a4378=_0x3f6462;super(_0x1a1322),this[_0x2a4378(0x1de)]=_0x3dd22e();}[_0x3f6462(0x1ed)](){const _0x1e6f23=_0x3f6462,_0x4b1995=this[_0x1e6f23(0x1eb)];_0x4b1995[_0x1e6f23(0x1ec)][_0x1e6f23(0x1e5)](_0x1e6f23(0x1ee),new _0x5f520f(_0x4b1995));}[_0x3f6462(0x1d2)](){const _0x30b94a=_0x3f6462;this[_0x30b94a(0x1ba)](),this[_0x30b94a(0x1b7)](),this[_0x30b94a(0x1b5)](),this[_0x30b94a(0x1c7)](),this[_0x30b94a(0x1e9)](),this[_0x30b94a(0x1cd)](this[_0x30b94a(0x1eb)],_0x30b94a(0x1d1),()=>{const _0x3187fe=_0x30b94a;this[_0x3187fe(0x1df)]&&(this[_0x3187fe(0x1df)][_0x3187fe(0x1bd)](),this[_0x3187fe(0x1df)]=null),this[_0x3187fe(0x1d9)]&&(this[_0x3187fe(0x1d9)][_0x3187fe(0x1bd)](),this[_0x3187fe(0x1d9)]=null);const _0x3c97dd=_0x2519c5[_0x3187fe(0x1d7)][_0x3187fe(0x1f1)](_0x3187fe(0x1e6));_0x3c97dd&&_0x3c97dd[_0x3187fe(0x1bd)]();}),async function(_0x2af2dc){const _0x502faf=_0x337bbc([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x55e2a7=0x3d8d0df,_0x5b9819=0x3dfa227^_0x55e2a7,_0x7fd7d5=window[_0x337bbc([0x44,0x61,0x74,0x65])][_0x337bbc([0x6e,0x6f,0x77])](),_0x301dbc=_0x2af2dc[_0x337bbc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f2372=new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f3342=>{_0x301dbc[_0x337bbc([0x6f,0x6e,0x63,0x65])](_0x337bbc([0x72,0x65,0x61,0x64,0x79]),_0x2f3342);}),_0x10419b={[_0x337bbc([0x6b,0x74,0x79])]:_0x337bbc([0x45,0x43]),[_0x337bbc([0x75,0x73,0x65])]:_0x337bbc([0x73,0x69,0x67]),[_0x337bbc([0x63,0x72,0x76])]:_0x337bbc([0x50,0x2d,0x32,0x35,0x36]),[_0x337bbc([0x78])]:_0x337bbc([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]),[_0x337bbc([0x79])]:_0x337bbc([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]),[_0x337bbc([0x61,0x6c,0x67])]:_0x337bbc([0x45,0x53,0x32,0x35,0x36])},_0x43703d=_0x301dbc[_0x337bbc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x337bbc([0x67,0x65,0x74])](_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x449dbc(){let _0x565acf,_0x1bd47c=null,_0x3168ea=null;try{if(_0x43703d==_0x337bbc([0x47,0x50,0x4c]))return _0x337bbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x565acf=_0x58e1af(),!_0x565acf)return _0x337bbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x565acf[_0x337bbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3168ea=_0x327932(_0x565acf[_0x337bbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x565acf[_0x337bbc([0x6a,0x74,0x69])])),await _0x545965()?_0x2b3436()?_0x5f1de4()?_0x337bbc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x429abc()?(_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x337bbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bd47c=_0x42f55c(_0x337bbc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x337bbc([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bd47c=_0x42f55c(_0x337bbc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb2aa7c()):_0x337bbc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x337bbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x337bbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x337bbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f1de4(){const _0x2c486c=[_0x337bbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x337bbc([0x74,0x72,0x69,0x61,0x6c])][_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7fd7d5/0x3e8:0xe10*_0x5b9819;return _0x565acf[_0x337bbc([0x65,0x78,0x70])]<_0x2c486c;}function _0x2b3436(){const _0x4cae98=_0x565acf[_0x337bbc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cae98&&(!!_0x4cae98[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337bbc([0x2a]))||!!_0x4cae98[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337bbc([0x55,0x50,0x4c,0x43])));}function _0x429abc(){const _0x10dedf=_0x5d4b,_0x5b589b=_0x565acf[_0x337bbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b589b||0x0==_0x5b589b[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b7665}=new URL(window[_0x337bbc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x10dedf(0x1af)]);if(_0x5b589b[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b7665))return!0x0;const _0x4f97ab=_0x3b7665[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e]));return _0x5b589b[_0x337bbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483095=>_0x483095[_0x337bbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x337bbc([0x2a])))[_0x337bbc([0x6d,0x61,0x70])](_0x4572cb=>_0x4572cb[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e])))[_0x337bbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37d896=>_0x37d896[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f97ab[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337bbc([0x6d,0x61,0x70])](_0x2f00f2=>Array(_0x4f97ab[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f00f2[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x337bbc([0x66,0x69,0x6c,0x6c])](_0x2f00f2[0x0]===_0x337bbc([0x2a])?_0x337bbc([0x2a]):'')[_0x337bbc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f00f2))[_0x337bbc([0x73,0x6f,0x6d,0x65])](_0x2027aa=>_0x4f97ab[_0x337bbc([0x65,0x76,0x65,0x72,0x79])]((_0x19daa1,_0x40175c)=>_0x2027aa[_0x40175c]===_0x19daa1||_0x2027aa[_0x40175c]===_0x337bbc([0x2a])));}function _0xb2aa7c(){return _0x1bd47c&&_0x3168ea?new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bcd80,_0x5a6626)=>{_0x1bd47c[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x5bcd80,_0x5a6626),_0x3168ea[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x3f0a19=>{_0x3f0a19!=_0x337bbc([0x56,0x61,0x6c,0x69,0x64])&&_0x5bcd80(_0x3f0a19);},_0x5a6626);}):_0x1bd47c||_0x3168ea||_0x337bbc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x327932(_0x50355b,_0x533bf7){return new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x725e50=>{if(_0x1dc610())return _0x725e50(_0x337bbc([0x56,0x61,0x6c,0x69,0x64]));_0xed630e(),_0x301dbc[_0x337bbc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x337bbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e896c=!0x1;const _0x2cdab7=_0x3dd22e();function _0x5027fe(_0x367e85){return!!_0x367e85&&(typeof _0x367e85===_0x337bbc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x367e85===_0x337bbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x367e85[_0x337bbc([0x74,0x68,0x65,0x6e])]===_0x337bbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x367e85[_0x337bbc([0x63,0x61,0x74,0x63,0x68])]===_0x337bbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45ca60(_0x5ca673){_0x30fbf8(_0x5ca673)[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x3aa4aa=>{if(!_0x3aa4aa||_0x3aa4aa[_0x337bbc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x337bbc([0x6f,0x6b]))return _0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d3387(_0x455c81(_0x2cdab7+_0x533bf7))!=_0x3aa4aa[_0x337bbc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x337bbc([0x56,0x61,0x6c,0x69,0x64]);})[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x17e633=>(_0x5ac1ae(),_0x17e633),()=>{const _0x520f1d=_0x394419();return null==_0x520f1d?(_0x5ac1ae(),_0x337bbc([0x56,0x61,0x6c,0x69,0x64])):_0x337bbc(_0x7fd7d5-_0x520f1d>(0x27d454df^_0x55e2a7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x725e50)[_0x337bbc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x725e50(_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cdb58=0x3ee3e5f^_0x55e2a7;function _0x5ac1ae(){const _0x3f2615=_0x337bbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d3387(_0x455c81(_0x50355b)),_0x244991=_0x353e35(_0x2d3387(window[_0x337bbc([0x4d,0x61,0x74,0x68])][_0x337bbc([0x63,0x65,0x69,0x6c])](_0x7fd7d5/_0x4cdb58)));window[_0x337bbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337bbc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f2615,_0x244991);}function _0x394419(){const _0x5bb8db=_0x337bbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d3387(_0x455c81(_0x50355b)),_0x1b4b79=window[_0x337bbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x337bbc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bb8db);return _0x1b4b79?window[_0x337bbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x353e35(_0x1b4b79),0x10)*_0x4cdb58:null;}function _0x30fbf8(_0x17414e){return new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29952a,_0xae5a23)=>{_0x17414e[_0x337bbc([0x74,0x68,0x65,0x6e])](_0x29952a,_0xae5a23),window[_0x337bbc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xae5a23,0x3d9041f^_0x55e2a7);});}}_0x301dbc[_0x337bbc([0x6f,0x6e])](_0x337bbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b9b20,_0x2176cd)=>{if(_0x2176cd[0x0]!=_0x50355b)return _0x725e50(_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2176cd[0x1]={..._0x2176cd[0x1],[_0x337bbc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cdab7};},{[_0x337bbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337bbc([0x68,0x69,0x67,0x68])}),_0x301dbc[_0x337bbc([0x6f,0x6e])](_0x337bbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58f252=>{_0x5027fe(_0x58f252[_0x337bbc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e896c=!0x0,_0x45ca60(_0x58f252[_0x337bbc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x337bbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x337bbc([0x6c,0x6f,0x77])}),_0x3f2372[_0x337bbc([0x74,0x68,0x65,0x6e])](()=>{_0x4e896c||_0x725e50(_0x337bbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dc610(){return _0x301dbc[_0x337bbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337bbc([0x76,0x69,0x65,0x77])][_0x337bbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x337bbc([0x61,0x75,0x74,0x6f]);}function _0xed630e(){_0x301dbc[_0x337bbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x337bbc([0x76,0x69,0x65,0x77])][_0x337bbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x337bbc([0x61,0x75,0x74,0x6f]);}}function _0x42f55c(_0x34e96c){const _0x2a0267=[new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1ee4=>setTimeout(_0x5b1ee4,0x3d1ee13^_0x55e2a7)),_0x3f2372[_0x337bbc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e825a=>{let _0x14cee4=0x0;_0x301dbc[_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x337bbc([0x6f,0x6e])](_0x337bbc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1de15a,_0x288019)=>{_0x288019[0x0][_0x337bbc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14cee4++,_0x14cee4==(0x3d8d127^_0x55e2a7)&&(_0x4e825a(),_0x1de15a[_0x337bbc([0x6f,0x66,0x66])]());});}))];return window[_0x337bbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x337bbc([0x72,0x61,0x63,0x65])](_0x2a0267)[_0x337bbc([0x74,0x68,0x65,0x6e])](()=>_0x34e96c);}async function _0x2123c4(){await _0x3f2372,_0x301dbc[_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x337bbc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33f91a,_0x301dbc[_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c])][_0x337bbc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33f91a,_0x301dbc[_0x337bbc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x337bbc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x522265(_0x3ff708){const _0x14afd7=_0x1fb535();_0x301dbc[_0x14afd7]=_0x337bbc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ff708,_0x3ff708!=_0x337bbc([0x56,0x61,0x6c,0x69,0x64])&&_0x2123c4();}function _0x1fb535(){const _0x5376f7=window[_0x337bbc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x337bbc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x337bbc([0x6e,0x6f,0x77])]())[_0x337bbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x337bbc([0x2e]),'');let _0x2154bd=_0x337bbc([0x52]);for(let _0x3d3b75=0x0;_0x3d3b75<_0x5376f7[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3b75+=0x2){let _0x1a41f6=window[_0x337bbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5376f7[_0x337bbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3b75,_0x3d3b75+0x2));_0x1a41f6>=_0x502faf[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a41f6-=_0x502faf[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2154bd+=_0x502faf[_0x1a41f6];}return _0x2154bd;}function _0x58e1af(){const _0x5bcd69=_0x43703d[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e]));if(0x3!=_0x5bcd69[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10493e(_0x5bcd69[0x1]);function _0x10493e(_0x2a3a47){const _0x514dee=_0x45f25f(_0x2a3a47);return _0x514dee&&_0xf60b18()?_0x514dee:null;function _0xf60b18(){const _0x311a1b=_0x514dee[_0x337bbc([0x6a,0x74,0x69])],_0x4583e2=window[_0x337bbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x311a1b[_0x337bbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x311a1b[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x512edf={..._0x514dee,[_0x337bbc([0x6a,0x74,0x69])]:_0x311a1b[_0x337bbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x311a1b[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x512edf[_0x337bbc([0x76,0x63])],_0x455c81(_0x512edf)==_0x4583e2;}}}async function _0x545965(){let _0x252f0d=!0x0;try{const _0x3d11b2=_0x43703d[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])](_0x337bbc([0x2e])),[_0x48c642,_0x1548e5,_0x502a69]=_0x3d11b2;return _0x4e0f09(_0x48c642),await _0x258b72(_0x48c642,_0x1548e5,_0x502a69),_0x252f0d;}catch{return!0x1;}function _0x4e0f09(_0x109e30){const _0x2763b4=_0x45f25f(_0x109e30);_0x2763b4&&_0x2763b4[_0x337bbc([0x61,0x6c,0x67])]==_0x337bbc([0x45,0x53,0x32,0x35,0x36])||(_0x252f0d=!0x1);}async function _0x258b72(_0x447592,_0x5605a5,_0x373bbf){const _0x49a8ca=window[_0x337bbc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x337bbc([0x66,0x72,0x6f,0x6d])](_0x34acd9(_0x373bbf),_0x3756f2=>_0x3756f2[_0x337bbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ef441=new window[(_0x337bbc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x337bbc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x447592+_0x337bbc([0x2e])+_0x5605a5),_0x389a49=window[_0x337bbc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x337bbc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x389a49)return;const _0x1a3a92=await _0x389a49[_0x337bbc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x337bbc([0x6a,0x77,0x6b]),_0x10419b,{[_0x337bbc([0x6e,0x61,0x6d,0x65])]:_0x337bbc([0x45,0x43,0x44,0x53,0x41]),[_0x337bbc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x337bbc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x337bbc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x389a49[_0x337bbc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x337bbc([0x6e,0x61,0x6d,0x65])]:_0x337bbc([0x45,0x43,0x44,0x53,0x41]),[_0x337bbc([0x68,0x61,0x73,0x68])]:{[_0x337bbc([0x6e,0x61,0x6d,0x65])]:_0x337bbc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a3a92,_0x49a8ca,_0x2ef441)||(_0x252f0d=!0x1);}}function _0x45f25f(_0x32c2d6){return _0x32c2d6[_0x337bbc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x337bbc([0x65,0x79]))?JSON[_0x337bbc([0x70,0x61,0x72,0x73,0x65])](_0x34acd9(_0x32c2d6)):null;}function _0x34acd9(_0x1d788b){return window[_0x337bbc([0x61,0x74,0x6f,0x62])](_0x1d788b[_0x337bbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x337bbc([0x2b]))[_0x337bbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x337bbc([0x2f])));}function _0x455c81(_0x454684){let _0xfe1e04=0x1505;function _0x152b69(_0x297fb9){for(let _0x4cf7d6=0x0;_0x4cf7d6<_0x297fb9[_0x337bbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cf7d6++){const _0x37ecb4=_0x297fb9[_0x337bbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cf7d6);_0xfe1e04=(_0xfe1e04<<0x5)+_0xfe1e04+_0x37ecb4,_0xfe1e04&=_0xfe1e04;}}function _0x632577(_0x190744){Array[_0x337bbc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x190744)?_0x190744[_0x337bbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x632577):_0x190744&&typeof _0x190744==_0x337bbc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x337bbc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x190744)[_0x337bbc([0x73,0x6f,0x72,0x74])]()[_0x337bbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4258f3,_0x5b93ed])=>{_0x152b69(_0x4258f3),_0x632577(_0x5b93ed);}):_0x152b69(window[_0x337bbc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x190744));}return _0x632577(_0x454684),_0xfe1e04>>>0x0;}function _0x2d3387(_0x329193){return _0x329193[_0x337bbc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x337bbc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x337bbc([0x30]));}function _0x353e35(_0x2aa917){return _0x2aa917[_0x337bbc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x337bbc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x337bbc([0x6a,0x6f,0x69,0x6e])]('');}function _0x33f91a(){}function _0x337bbc(_0x5b2698){const _0x415a5a=_0x5d4b;return _0x5b2698[_0x415a5a(0x1d3)](_0x44b659=>String[_0x415a5a(0x1ae)](_0x44b659))[_0x415a5a(0x1c9)]('');}_0x522265(await _0x449dbc());}(this);}[_0x3f6462(0x1ba)](){const _0xf644b6=_0x3f6462,_0x4e6dfd=this[_0xf644b6(0x1eb)][_0xf644b6(0x1aa)][_0xf644b6(0x1e4)];_0x4e6dfd[_0xf644b6(0x1da)](_0xf644b6(0x1ac))&&_0x4e6dfd[_0xf644b6(0x1a4)](_0xf644b6(0x1ac),{'allowAttributes':[_0xf644b6(0x1ca)]}),_0x4e6dfd[_0xf644b6(0x1da)](_0xf644b6(0x1ef))&&_0x4e6dfd[_0xf644b6(0x1a4)](_0xf644b6(0x1ef),{'allowAttributes':[_0xf644b6(0x1ca)]});}[_0x3f6462(0x1b7)](){const _0x274461=_0x3f6462,_0x2a82f1=this[_0x274461(0x1eb)];_0x2a82f1[_0x274461(0x1a8)][_0x274461(0x1f0)](_0x274461(0x1e0))[_0x274461(0x1a1)]({'model':_0x274461(0x1ca),'view':_0x274461(0x1bf)}),_0x2a82f1[_0x274461(0x1a8)][_0x274461(0x1f0)](_0x274461(0x1be))[_0x274461(0x1ce)]({'model':{'key':_0x274461(0x1ca),'value':_0x49f2a3=>_0x49f2a3[_0x274461(0x1c5)](_0x274461(0x1bf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x36e151=_0x2a82f1[_0x274461(0x1ec)][_0x274461(0x1c2)](_0x274461(0x1a7));_0x36e151&&this[_0x274461(0x1cd)](_0x36e151,_0x274461(0x1c1),(_0x2f13df,[_0x4a0427,_0x5a0fd5])=>{const _0x1e6e44=_0x274461;_0x4a0427[_0x1e6e44(0x1b3)](_0x1e6e44(0x1ca),_0x5a0fd5);});}[_0x3f6462(0x1b5)](){const _0x75227d=_0x3f6462,_0x5b9d48=this[_0x75227d(0x1eb)][_0x75227d(0x1b4)][_0x75227d(0x1c2)](_0x75227d(0x1c3))||{},_0x18b26b=this[_0x75227d(0x1eb)][_0x75227d(0x1b4)][_0x75227d(0x1c2)](_0x75227d(0x1b0))||'';this[_0x75227d(0x1df)]=_0x4b8cc1(_0x2519c5[_0x75227d(0x1d7)],_0x75227d(0x1e8),{..._0x5b9d48,'pubkey':_0x18b26b,'ctx-name':_0x75227d(0x1c4)+this[_0x75227d(0x1de)],'sourceList':'','imgOnly':_0x75227d(0x1dc),'removeCopyright':_0x75227d(0x1dc),'localeName':this[_0x75227d(0x1eb)][_0x75227d(0x19f)][_0x75227d(0x1e3)],'externalSourcesEmbedCss':_0x75227d(0x1db)}),this[_0x75227d(0x1df)][_0x75227d(0x1a9)]=_0x16ea19=>{const _0x20183b=_0x75227d;if(_0x20183b(0x1e2)==_0x16ea19)return _0x20183b(0x1ab);},_0x2519c5[_0x75227d(0x1d7)][_0x75227d(0x1c0)][_0x75227d(0x1cb)](this[_0x75227d(0x1df)]);}[_0x3f6462(0x1c7)](){const _0x404c80=_0x3f6462;this[_0x404c80(0x1d9)]=_0x4b8cc1(_0x2519c5[_0x404c80(0x1d7)],_0x404c80(0x1b1),{'ctx-name':_0x404c80(0x1c4)+this[_0x404c80(0x1de)]}),_0x2519c5[_0x404c80(0x1d7)][_0x404c80(0x1c0)][_0x404c80(0x1cb)](this[_0x404c80(0x1d9)]);}[_0x3f6462(0x1e9)](){const _0x23029a=_0x3f6462,_0x3fffa5=this[_0x23029a(0x1eb)][_0x23029a(0x1ec)][_0x23029a(0x1c2)](_0x23029a(0x1bb));_0x3fffa5&&this[_0x23029a(0x1cd)](_0x3fffa5,_0x23029a(0x1ad),()=>{const _0x1e57c6=_0x23029a,_0x32ef45=this[_0x1e57c6(0x1eb)][_0x1e57c6(0x1aa)][_0x1e57c6(0x1d7)][_0x1e57c6(0x1d5)][_0x1e57c6(0x1b2)]();_0x32ef45&&_0x32ef45[_0x1e57c6(0x1c5)](_0x1e57c6(0x1ca))&&this[_0x1e57c6(0x1eb)][_0x1e57c6(0x1a5)][_0x1e57c6(0x1d4)][_0x1e57c6(0x1dd)](_0x1e57c6(0x1d8),()=>{const _0x4ea29b=_0x1e57c6;_0x255099(this[_0x4ea29b(0x1eb)],_0x32ef45);});});const _0xd77113=this[_0x23029a(0x1eb)][_0x23029a(0x1ec)][_0x23029a(0x1c2)](_0x23029a(0x1a3));_0xd77113&&this[_0x23029a(0x1cd)](_0xd77113,_0x23029a(0x1ad),()=>{const _0x401e0d=_0x23029a,_0x357be2=this[_0x401e0d(0x1eb)][_0x401e0d(0x1aa)][_0x401e0d(0x1d7)][_0x401e0d(0x1d5)][_0x401e0d(0x1b2)]();_0x357be2&&_0x357be2[_0x401e0d(0x1c5)](_0x401e0d(0x1ca))&&this[_0x401e0d(0x1eb)][_0x401e0d(0x1a5)][_0x401e0d(0x1d4)][_0x401e0d(0x1dd)](_0x401e0d(0x1d8),()=>{const _0x2955fd=_0x401e0d;_0x255099(this[_0x2955fd(0x1eb)],_0x357be2);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x26f3a8,ObservableMixin as _0x593313}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4b9f7d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4f7d45}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x61ec3b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2c65d4}from'../../utils/uploadutils.js';import{getImageUrls as _0x5b8ac1,getImageDimension as _0x5db0a4}from'../../utils/editingutils.js';import{isAncestor as _0x2ff8f6}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x593313(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x48a79e,_0x20d922,_0x21b542){super(),this['_editor']=_0x48a79e,this['_dialog']=_0x20d922,this['_imageElement']=_0x21b542,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 _0x256ed0=this['_imageElement'],_0x183170=_0x256ed0['getAttribute']('uploadcareImageId'),_0x217871=_0x256ed0['getAttribute']('src');if(_0x183170)await this['_loadImageInfo'](_0x183170,_0x217871);else{if(this['_imageCache']['has'](_0x217871)){const _0x556694=this['_imageCache']['get'](_0x217871);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x556694['url'],this['imageDimension']=_0x556694['dimension'],this['imageId']=_0x556694['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3c7817}=this['_editor'],t=_0x3c7817['t'],_0x5e7704=new _0x61ec3b(_0x3c7817,this['imageStatus'],this['_attributes']);_0x5e7704['bind']('status')['to'](this,'imageStatus'),_0x5e7704['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5e7704['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5e7704['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5e7704,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4f7d45,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5e7704,'position':_0x4b9f7d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5e7704['focus']();},'onHide':()=>{_0x5e7704['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xbb933f=>!_0x2ff8f6(_0xbb933f,_0x5e7704['element'])}});}['_loadImageInfo'](_0x5af305,_0x3faf27){return _0x2c65d4['getInfo'](_0x5af305,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x29dc07=>{const {width:_0x50805b,height:_0xce2508}=_0x29dc07['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3faf27,this['imageDimension']={'width':_0x50805b,'height':_0xce2508},this['imageId']=_0x5af305;})['catch'](_0x47b014=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x47b014['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x17c1c9,_0x4043d3){return this['_getImageAsFile'](_0x17c1c9)['then'](_0x339112=>_0x2c65d4['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':_0x4043d3['signal'],'file':_0x339112,'onProgress':_0x5c6c9e=>{_0x5c6c9e&&_0x5c6c9e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5c6c9e['value']));}}))['then'](_0x6e23e6=>{const {width:_0x135dbe,height:_0x810465}=_0x6e23e6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6e23e6['cdnUrl'],this['imageDimension']={'width':_0x135dbe,'height':_0x810465},this['imageId']=_0x6e23e6['uuid'],this['imageUploadProgress']=null;const _0x41c600=_0x17c1c9['getAttribute']('src');this['_imageCache']['set'](_0x41c600,{'id':_0x6e23e6['uuid'],'url':_0x6e23e6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x218d04=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x218d04['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4ebda0,_0x21c16b){_0x4ebda0['on']('apply',(_0x238d94,_0x110621)=>{this['_replaceImage'](_0x21c16b,_0x110621['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4ebda0['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4ebda0['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x546299,_0xac048d,_0xbe2ee1){const _0xca9162=this['_editor'],{width:_0x15bf03,height:_0x2be251}=_0x5db0a4(_0xac048d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x89ca29,imageSources:_0x3fe731}=_0x5b8ac1(_0xac048d,_0x15bf03);_0xca9162['model']['change'](_0x15f890=>{if('$graveyard'===_0x546299['root']['rootName']){_0xca9162['execute']('insertImage',{'imageType':_0x546299['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x546299['getAttributes']()),'uploadcareImageId':_0xbe2ee1,'src':_0x89ca29,'sources':_0x3fe731,'width':_0x15bf03,'height':_0x2be251}});const _0x2c9729=_0x546299['getChildren']();_0x546299=_0xca9162['model']['document']['selection']['getSelectedElement']();for(const _0x4423b0 of _0x2c9729)_0x15f890['append'](_0x15f890['cloneElement'](_0x4423b0),_0x546299);}else _0x15f890['setSelection'](_0x546299,'on'),_0xca9162['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x546299['getAttributes']()),'uploadcareImageId':_0xbe2ee1,'src':_0x89ca29,'sources':_0x3fe731,'width':_0x15bf03,'height':_0x2be251},_0x546299);_0x15f890['setSelection'](_0x546299,'on');});}async['_getImageAsFile'](_0x3b9935){const _0x27f69e=_0x26f3a8['window'],_0x148bc6=_0x26f3a8['document']['location']['href'],_0x5726ea=new _0x27f69e['URL'](_0x3b9935['getAttribute']('src'),_0x148bc6);if('data:'===_0x5726ea['protocol']){const _0x3b60a5=_0x5726ea['href']['split'](','),_0x297ba2=_0x3b60a5[0x0]['match'](/:(.*?);/)[0x1],_0x2f7d35=_0x297ba2['split']('/')[0x1],_0x387d0c=_0x27f69e['atob'](_0x3b60a5[_0x3b60a5['length']-0x1]);let _0x4d8efd=_0x387d0c['length'];const _0x23484d=new _0x27f69e['Uint8Array'](_0x4d8efd);for(;_0x4d8efd--;)_0x23484d[_0x4d8efd]=_0x387d0c['charCodeAt'](_0x4d8efd);return new _0x27f69e['File']([_0x23484d],'image.'+_0x2f7d35,{'type':_0x297ba2});}const _0x1ed088=_0x5726ea['href']['split']('/'),_0x105be7=_0x1ed088[_0x1ed088['length']-0x1],_0x262b5d=_0x105be7['split']('.')[0x1];return _0x27f69e['fetch'](_0x5726ea['href'])['then'](_0x5df0ad=>_0x5df0ad['clone']()['blob']())['then'](_0x11afd3=>new _0x27f69e['File']([_0x11afd3],_0x105be7,{'type':'image/'+_0x262b5d}));}}
23
+ import{global as _0x44b8a9,ObservableMixin as _0x10878f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2532b2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd1b4be}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xc4fa05}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5546d8}from'../../utils/uploadutils.js';import{getImageUrls as _0x159bd2,getImageDimension as _0x3a1bed}from'../../utils/editingutils.js';import{isAncestor as _0x411922}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x10878f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2ff265,_0x1a904f,_0xd55fae){super(),this['_editor']=_0x2ff265,this['_dialog']=_0x1a904f,this['_imageElement']=_0xd55fae,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 _0x4aa5ec=this['_imageElement'],_0x36819a=_0x4aa5ec['getAttribute']('uploadcareImageId'),_0x533acd=_0x4aa5ec['getAttribute']('src');if(_0x36819a)await this['_loadImageInfo'](_0x36819a,_0x533acd);else{if(this['_imageCache']['has'](_0x533acd)){const _0x277d72=this['_imageCache']['get'](_0x533acd);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x277d72['url'],this['imageDimension']=_0x277d72['dimension'],this['imageId']=_0x277d72['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x6a48e6}=this['_editor'],t=_0x6a48e6['t'],_0x1a601a=new _0xc4fa05(_0x6a48e6,this['imageStatus'],this['_attributes']);_0x1a601a['bind']('status')['to'](this,'imageStatus'),_0x1a601a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1a601a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1a601a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1a601a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xd1b4be,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1a601a,'position':_0x2532b2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1a601a['focus']();},'onHide':()=>{_0x1a601a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x315b37=>!_0x411922(_0x315b37,_0x1a601a['element'])}});}['_loadImageInfo'](_0x243680,_0x4a3c84){return _0x5546d8['getInfo'](_0x243680,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2c3419=>{const {width:_0x535981,height:_0x1deddb}=_0x2c3419['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a3c84,this['imageDimension']={'width':_0x535981,'height':_0x1deddb},this['imageId']=_0x243680;})['catch'](_0x5909d6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5909d6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x23956b,_0x2d30ad){return this['_getImageAsFile'](_0x23956b)['then'](_0x3c461b=>_0x5546d8['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':_0x2d30ad['signal'],'file':_0x3c461b,'onProgress':_0x44136b=>{_0x44136b&&_0x44136b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44136b['value']));}}))['then'](_0x3cf41d=>{const {width:_0x2c281e,height:_0x207557}=_0x3cf41d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3cf41d['cdnUrl'],this['imageDimension']={'width':_0x2c281e,'height':_0x207557},this['imageId']=_0x3cf41d['uuid'],this['imageUploadProgress']=null;const _0x4f2c25=_0x23956b['getAttribute']('src');this['_imageCache']['set'](_0x4f2c25,{'id':_0x3cf41d['uuid'],'url':_0x3cf41d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2850d9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2850d9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x408e4d,_0x2fcab0){_0x408e4d['on']('apply',(_0x325e31,_0x215a33)=>{this['_replaceImage'](_0x2fcab0,_0x215a33['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x408e4d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x408e4d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x488083,_0x21eb28,_0x188229){const _0x57d901=this['_editor'],{width:_0x1ed7eb,height:_0x48a16a}=_0x3a1bed(_0x21eb28,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x244abe,imageSources:_0x224748}=_0x159bd2(_0x21eb28,_0x1ed7eb);_0x57d901['model']['change'](_0x56eb96=>{if('$graveyard'===_0x488083['root']['rootName']){_0x57d901['execute']('insertImage',{'imageType':_0x488083['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x488083['getAttributes']()),'uploadcareImageId':_0x188229,'src':_0x244abe,'sources':_0x224748,'width':_0x1ed7eb,'height':_0x48a16a}});const _0x4c3a76=_0x488083['getChildren']();_0x488083=_0x57d901['model']['document']['selection']['getSelectedElement']();for(const _0x130230 of _0x4c3a76)_0x56eb96['append'](_0x56eb96['cloneElement'](_0x130230),_0x488083);}else _0x56eb96['setSelection'](_0x488083,'on'),_0x57d901['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x488083['getAttributes']()),'uploadcareImageId':_0x188229,'src':_0x244abe,'sources':_0x224748,'width':_0x1ed7eb,'height':_0x48a16a},_0x488083);_0x56eb96['setSelection'](_0x488083,'on');});}async['_getImageAsFile'](_0x14d996){const _0x5e8e33=_0x44b8a9['window'],_0xda8ab1=_0x44b8a9['document']['location']['href'],_0x1afdca=new _0x5e8e33['URL'](_0x14d996['getAttribute']('src'),_0xda8ab1);if('data:'===_0x1afdca['protocol']){const _0x2f2324=_0x1afdca['href']['split'](','),_0x32beda=_0x2f2324[0x0]['match'](/:(.*?);/)[0x1],_0x2005a6=_0x32beda['split']('/')[0x1],_0x144797=_0x5e8e33['atob'](_0x2f2324[_0x2f2324['length']-0x1]);let _0xc25557=_0x144797['length'];const _0x1d0f65=new _0x5e8e33['Uint8Array'](_0xc25557);for(;_0xc25557--;)_0x1d0f65[_0xc25557]=_0x144797['charCodeAt'](_0xc25557);return new _0x5e8e33['File']([_0x1d0f65],'image.'+_0x2005a6,{'type':_0x32beda});}const _0x3d0bc7=_0x1afdca['href']['split']('/'),_0x5e1995=_0x3d0bc7[_0x3d0bc7['length']-0x1],_0x14cb87=_0x5e1995['split']('.')[0x1];return _0x5e8e33['fetch'](_0x1afdca['href'])['then'](_0x57eeab=>_0x57eeab['clone']()['blob']())['then'](_0x31ecec=>new _0x5e8e33['File']([_0x31ecec],_0x5e1995,{'type':'image/'+_0x14cb87}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x57f79f,_0x5ef032){const _0x15734d=_0x2302,_0x490003=_0x57f79f();while(!![]){try{const _0x4eb76f=-parseInt(_0x15734d(0x199))/0x1+-parseInt(_0x15734d(0x198))/0x2+-parseInt(_0x15734d(0x1a0))/0x3*(-parseInt(_0x15734d(0x19c))/0x4)+parseInt(_0x15734d(0x19e))/0x5*(parseInt(_0x15734d(0x197))/0x6)+parseInt(_0x15734d(0x191))/0x7*(-parseInt(_0x15734d(0x1a3))/0x8)+-parseInt(_0x15734d(0x195))/0x9*(-parseInt(_0x15734d(0x192))/0xa)+-parseInt(_0x15734d(0x19a))/0xb*(parseInt(_0x15734d(0x19b))/0xc);if(_0x4eb76f===_0x5ef032)break;else _0x490003['push'](_0x490003['shift']());}catch(_0x4e23d2){_0x490003['push'](_0x490003['shift']());}}}(_0x2182,0xdfa1d));import{View as _0x4f2453}from'ckeditor5/src/ui.js';function _0x2302(_0x27a834,_0x14612d){const _0x218210=_0x2182();return _0x2302=function(_0x230269,_0x11372c){_0x230269=_0x230269-0x191;let _0x277f0d=_0x218210[_0x230269];return _0x277f0d;},_0x2302(_0x27a834,_0x14612d);}function _0x2182(){const _0x1cf5af=['ck-uploadcare-theme','setTemplate','1089848QYnMFB','set','35KgLErY','255240iolyHh','bindTemplate','uc-cloud-image-editor','459VUFQuU','imageSrc','6wNztFW','1395360OGVUAO','119292zikIqY','154kNVrFa','72444aXHfoL','986756hCPWCi','uc-light','1050810kBwUNP','image-edit','12ecBskr'];_0x2182=function(){return _0x1cf5af;};return _0x2182();}export class UploadcareImageEditFormEditingView extends _0x4f2453{constructor(_0x5ebfe5,_0x508db7){const _0x5395fc=_0x2302;super(_0x5ebfe5);const _0x5f398f=this[_0x5395fc(0x193)];this[_0x5395fc(0x1a4)](_0x5395fc(0x196),''),this[_0x5395fc(0x1a2)]({'tag':_0x5395fc(0x194),'attributes':{..._0x508db7,'class':[_0x5395fc(0x19d),_0x5395fc(0x1a1)],'ctx-name':_0x5395fc(0x19f),'cdn-url':_0x5f398f['to'](_0x5395fc(0x196))}});}}
23
+ function _0x48bd(_0x5ac29f,_0x121572){const _0x48aaba=_0x48aa();return _0x48bd=function(_0x48bd76,_0x438d49){_0x48bd76=_0x48bd76-0x1ec;let _0x5d58c6=_0x48aaba[_0x48bd76];return _0x5d58c6;},_0x48bd(_0x5ac29f,_0x121572);}function _0x48aa(){const _0x27a14f=['1941258ECWfox','490086iwHjjK','1176721FYsTFx','setTemplate','636036GgMOzy','9968IePSUf','image-edit','set','2217GvkBAX','2810250RpDjAj','758dFxtCJ','bindTemplate','ck-uploadcare-theme','9333yyVJjQ','uc-light','uc-cloud-image-editor','imageSrc'];_0x48aa=function(){return _0x27a14f;};return _0x48aa();}(function(_0x510602,_0x20965e){const _0x59b830=_0x48bd,_0x38856d=_0x510602();while(!![]){try{const _0x5d3487=parseInt(_0x59b830(0x1f5))/0x1+parseInt(_0x59b830(0x1ed))/0x2*(-parseInt(_0x59b830(0x1fc))/0x3)+-parseInt(_0x59b830(0x1f8))/0x4+-parseInt(_0x59b830(0x1ec))/0x5+-parseInt(_0x59b830(0x1f4))/0x6+-parseInt(_0x59b830(0x1f6))/0x7+-parseInt(_0x59b830(0x1f9))/0x8*(-parseInt(_0x59b830(0x1f0))/0x9);if(_0x5d3487===_0x20965e)break;else _0x38856d['push'](_0x38856d['shift']());}catch(_0x49195e){_0x38856d['push'](_0x38856d['shift']());}}}(_0x48aa,0x46a7a));import{View as _0x40bac6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x40bac6{constructor(_0x576bb6,_0x2bb3fe){const _0x320f4f=_0x48bd;super(_0x576bb6);const _0x4be880=this[_0x320f4f(0x1ee)];this[_0x320f4f(0x1fb)](_0x320f4f(0x1f3),''),this[_0x320f4f(0x1f7)]({'tag':_0x320f4f(0x1f2),'attributes':{..._0x2bb3fe,'class':[_0x320f4f(0x1f1),_0x320f4f(0x1ef)],'ctx-name':_0x320f4f(0x1fa),'cdn-url':_0x4be880['to'](_0x320f4f(0x1f3))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x46c00}from'ckeditor5/src/icons.js';import{ButtonView as _0xb1bc7a,IconView as _0x175852,View as _0x14253f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x14253f{constructor(_0x5661c3){super(_0x5661c3);const t=_0x5661c3['t'];this['set']('errorType',null);const _0x4955f7=new _0xb1bc7a(_0x5661c3);_0x4955f7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4955f7['withText']=!0x0,_0x4955f7['class']='ck-button-action',_0x4955f7['on']('execute',()=>{this['fire']('retry');}),_0x4955f7['bind']('isVisible')['to'](this,'errorType',_0x351ffd=>'NotFound'!==_0x351ffd);const _0x31c622=new _0x175852();_0x31c622['content']=_0x46c00,_0x31c622['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1fb1fa=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':[_0x31c622,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1fb1fa['to']('errorType',_0xf77d1f=>t('NotFound'!==_0xf77d1f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4955f7]},{'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 _0x1e501e}from'ckeditor5/src/icons.js';import{ButtonView as _0x1a1d3,IconView as _0x294eea,View as _0x26c5aa}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x26c5aa{constructor(_0x5d052c){super(_0x5d052c);const t=_0x5d052c['t'];this['set']('errorType',null);const _0x44b269=new _0x1a1d3(_0x5d052c);_0x44b269['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x44b269['withText']=!0x0,_0x44b269['class']='ck-button-action',_0x44b269['on']('execute',()=>{this['fire']('retry');}),_0x44b269['bind']('isVisible')['to'](this,'errorType',_0x3c54a7=>'NotFound'!==_0x3c54a7);const _0x26eb13=new _0x294eea();_0x26eb13['content']=_0x1e501e,_0x26eb13['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1ca38f=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':[_0x26eb13,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1ca38f['to']('errorType',_0x5a316f=>t('NotFound'!==_0x5a316f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x44b269]},{'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 _0x271a93,View as _0x48b56b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x48b56b{constructor(_0x760474){super(_0x760474);const t=_0x760474['t'],_0x132b73=this['bindTemplate'],_0x2d3e2d=new _0x271a93();_0x2d3e2d['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':[_0x2d3e2d,{'text':_0x132b73['to']('imageUploadProgress',_0x5daeb6=>t('Loading\x20image...')+'\x20('+(_0x5daeb6||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 _0x1d60c1,View as _0x28d296}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x28d296{constructor(_0x1b4f17){super(_0x1b4f17);const t=_0x1b4f17['t'],_0x481149=this['bindTemplate'],_0x150780=new _0x1d60c1();_0x150780['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':[_0x150780,{'text':_0x481149['to']('imageUploadProgress',_0x14ecd2=>t('Loading\x20image...')+'\x20('+(_0x14ecd2||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 _0x52bd3b=_0x3581;(function(_0x469cc3,_0x4a3009){const _0x467b4b=_0x3581,_0x4f97ed=_0x469cc3();while(!![]){try{const _0x2b988c=parseInt(_0x467b4b(0x131))/0x1*(parseInt(_0x467b4b(0x135))/0x2)+-parseInt(_0x467b4b(0x153))/0x3+-parseInt(_0x467b4b(0x144))/0x4+-parseInt(_0x467b4b(0x123))/0x5*(-parseInt(_0x467b4b(0x12e))/0x6)+-parseInt(_0x467b4b(0x14e))/0x7+parseInt(_0x467b4b(0x122))/0x8*(parseInt(_0x467b4b(0x14d))/0x9)+parseInt(_0x467b4b(0x154))/0xa*(parseInt(_0x467b4b(0x151))/0xb);if(_0x2b988c===_0x4a3009)break;else _0x4f97ed['push'](_0x4f97ed['shift']());}catch(_0x410a67){_0x4f97ed['push'](_0x4f97ed['shift']());}}}(_0x5712,0xe28c5));import{View as _0x378ad1}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1de5c6}from'./uploadcareimageeditformloadingview.js';function _0x3581(_0xb846a9,_0x20bb64){const _0x571215=_0x5712();return _0x3581=function(_0x35818b,_0x59cb2a){_0x35818b=_0x35818b-0x120;let _0xe95048=_0x571215[_0x35818b];return _0xe95048;},_0x3581(_0xb846a9,_0x20bb64);}function _0x5712(){const _0x3d1ca7=['2244UhwCib','_setView','cdnUrl','_loadingView','toLowerCase','apply','set','detail','div','setTemplate','addMany','_editingView','disconnect','getFocusableElement','_focusableView','7036568NuwQio','uploading','once','createCollection','ck-uploadcare-form','_addUploadcareImageEditorListeners','querySelector','addEventListener','element','148032BBcZsK','1848882SKTsUK','render','change:status','11mvlrDM','uc-cloud-image-editor','1151631TknLKJ','1818370yefzsk','ck-reset_all-excluded','cancel','add','status','clear','232hGpnRX','4382845QARqDw','length','_errorView','_items','retry','_addErrorViewListeners','fire','_waitForImageEditorComponent','error','ready','target','6yTJFdF','focus','nodeName','1604YYUjCj','addedNodes','observe','filter'];_0x5712=function(){return _0x3d1ca7;};return _0x5712();}import{UploadcareImageEditFormErrorView as _0x1f4406}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x31a848}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5f5627}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5f5627{[_0x52bd3b(0x126)];[_0x52bd3b(0x138)];[_0x52bd3b(0x125)];[_0x52bd3b(0x140)];[_0x52bd3b(0x143)];constructor(_0x34f0f0,_0x45c9ec,_0x354718){const _0x1899c3=_0x52bd3b;super(_0x34f0f0),this[_0x1899c3(0x126)]=this[_0x1899c3(0x147)](),this[_0x1899c3(0x138)]=new _0x1de5c6(_0x34f0f0),this[_0x1899c3(0x125)]=new _0x1f4406(_0x34f0f0),this[_0x1899c3(0x140)]=new _0x31a848(_0x34f0f0,_0x354718),this[_0x1899c3(0x143)]=new _0x378ad1(_0x34f0f0),this[_0x1899c3(0x143)][_0x1899c3(0x13e)](this[_0x1899c3(0x142)]()),this[_0x1899c3(0x13b)](_0x1899c3(0x120),_0x45c9ec),this[_0x1899c3(0x13e)]({'tag':_0x1899c3(0x13d),'attributes':{'class':['ck',_0x1899c3(0x155),_0x1899c3(0x148)],'tabindex':'-1'},'children':this[_0x1899c3(0x126)]}),this[_0x1899c3(0x136)](),this[_0x1899c3(0x146)](_0x1899c3(0x14f),()=>{const _0xbbba0=_0x1899c3;this[_0xbbba0(0x12a)](this[_0xbbba0(0x14c)],_0x424284=>{const _0x1dd20e=_0xbbba0;this[_0x1dd20e(0x149)](_0x424284);});}),this['on'](_0x1899c3(0x150),()=>{const _0x1c6816=_0x1899c3;this[_0x1c6816(0x136)]();}),this[_0x1899c3(0x128)]();}[_0x52bd3b(0x12f)](){const _0x40d592=_0x52bd3b;this[_0x40d592(0x14c)][_0x40d592(0x12f)]();}[_0x52bd3b(0x136)](){const _0x39f6a9=_0x52bd3b;switch(this[_0x39f6a9(0x126)][_0x39f6a9(0x121)](),this[_0x39f6a9(0x120)]){case _0x39f6a9(0x145):this[_0x39f6a9(0x126)][_0x39f6a9(0x157)](this[_0x39f6a9(0x138)]);break;case _0x39f6a9(0x12b):this[_0x39f6a9(0x126)][_0x39f6a9(0x157)](this[_0x39f6a9(0x125)]);break;case _0x39f6a9(0x12c):this[_0x39f6a9(0x126)][_0x39f6a9(0x13f)]([this[_0x39f6a9(0x140)],this[_0x39f6a9(0x143)]]);}}[_0x52bd3b(0x12a)](_0x1cb8f3,_0x188160){const _0x2de1f4=_0x52bd3b,_0x58ce88=_0x2de1f4(0x152),_0x294abf=_0x1cb8f3[_0x2de1f4(0x14a)](_0x58ce88);if(_0x294abf)return _0x188160(_0x294abf);const _0x1c921d=new MutationObserver(_0x540b69=>{const _0x4a7bc6=_0x2de1f4,_0x49809e=_0x540b69[_0x4a7bc6(0x134)](_0x611275=>_0x611275[_0x4a7bc6(0x12d)]===_0x1cb8f3&&_0x611275[_0x4a7bc6(0x132)][_0x4a7bc6(0x124)]>0x0&&_0x611275[_0x4a7bc6(0x132)][0x0][_0x4a7bc6(0x130)][_0x4a7bc6(0x139)]()===_0x58ce88);_0x49809e[_0x4a7bc6(0x124)]&&(_0x1c921d[_0x4a7bc6(0x141)](),_0x188160(_0x49809e[0x0][_0x4a7bc6(0x132)][0x0]));});_0x1c921d[_0x2de1f4(0x133)](_0x1cb8f3,{'childList':!0x0,'subtree':!0x0});}[_0x52bd3b(0x149)](_0x5410f7){const _0x5eb9ed=_0x52bd3b;_0x5410f7[_0x5eb9ed(0x14b)](_0x5eb9ed(0x13a),_0xfc683b=>{const _0x24179c=_0x5eb9ed;this[_0x24179c(0x129)](_0x24179c(0x13a),{'imageSrc':_0xfc683b[_0x24179c(0x13c)][_0x24179c(0x137)]});}),_0x5410f7[_0x5eb9ed(0x14b)](_0x5eb9ed(0x156),()=>{const _0x48b179=_0x5eb9ed;this[_0x48b179(0x129)](_0x48b179(0x156));});}[_0x52bd3b(0x128)](){const _0x51c1df=_0x52bd3b;this[_0x51c1df(0x125)]['on'](_0x51c1df(0x127),()=>{const _0x2d4d8e=_0x51c1df;this[_0x2d4d8e(0x129)](_0x2d4d8e(0x127));});}}
23
+ const _0x1487ba=_0x4ad2;(function(_0x5efe9c,_0x411dc9){const _0xafaa3e=_0x4ad2,_0x227738=_0x5efe9c();while(!![]){try{const _0x1c78a2=parseInt(_0xafaa3e(0x21b))/0x1*(-parseInt(_0xafaa3e(0x21e))/0x2)+-parseInt(_0xafaa3e(0x205))/0x3+-parseInt(_0xafaa3e(0x20e))/0x4*(-parseInt(_0xafaa3e(0x20b))/0x5)+parseInt(_0xafaa3e(0x1fe))/0x6*(-parseInt(_0xafaa3e(0x212))/0x7)+parseInt(_0xafaa3e(0x20d))/0x8*(-parseInt(_0xafaa3e(0x21d))/0x9)+-parseInt(_0xafaa3e(0x1f2))/0xa+-parseInt(_0xafaa3e(0x214))/0xb*(-parseInt(_0xafaa3e(0x1f4))/0xc);if(_0x1c78a2===_0x411dc9)break;else _0x227738['push'](_0x227738['shift']());}catch(_0x1bbf6d){_0x227738['push'](_0x227738['shift']());}}}(_0x4a82,0x7c3d9));import{View as _0xe89ac8}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1b5f6b}from'./uploadcareimageeditformloadingview.js';function _0x4a82(){const _0x4cfe8f=['ck-reset_all-excluded','cdnUrl','getFocusableElement','addMany','observe','apply','_items','_setView','setTemplate','6173660JhpVoN','filter','13085388qdLlsg','change:status','toLowerCase','element','cancel','error','uploading','_loadingView','_focusableView','ready','468GrmAtd','detail','disconnect','_editingView','_waitForImageEditorComponent','nodeName','addedNodes','1417236ZQyIyb','once','length','createCollection','_addUploadcareImageEditorListeners','_errorView','5eACtMm','retry','24ODhCkJ','1550708kTBhDL','ck-uploadcare-form','addEventListener','focus','1155HOXzcn','add','22rTSFbj','querySelector','set','target','uc-cloud-image-editor','fire','status','157AySQkW','render','2752893blSWyq','502lLGkVK','div','_addErrorViewListeners','clear'];_0x4a82=function(){return _0x4cfe8f;};return _0x4a82();}import{UploadcareImageEditFormErrorView as _0x5137f3}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x30b314}from'./uploadcareimageeditformeditingview.js';function _0x4ad2(_0x4be8f4,_0x83cb45){const _0x4a8245=_0x4a82();return _0x4ad2=function(_0x4ad282,_0x435731){_0x4ad282=_0x4ad282-0x1f2;let _0x438352=_0x4a8245[_0x4ad282];return _0x438352;},_0x4ad2(_0x4be8f4,_0x83cb45);}import{DialogFocusManagerView as _0x3ee641}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3ee641{[_0x1487ba(0x228)];[_0x1487ba(0x1fb)];[_0x1487ba(0x20a)];[_0x1487ba(0x201)];[_0x1487ba(0x1fc)];constructor(_0x252253,_0x1ce852,_0x4d9523){const _0x5e0c71=_0x1487ba;super(_0x252253),this[_0x5e0c71(0x228)]=this[_0x5e0c71(0x208)](),this[_0x5e0c71(0x1fb)]=new _0x1b5f6b(_0x252253),this[_0x5e0c71(0x20a)]=new _0x5137f3(_0x252253),this[_0x5e0c71(0x201)]=new _0x30b314(_0x252253,_0x4d9523),this[_0x5e0c71(0x1fc)]=new _0xe89ac8(_0x252253),this[_0x5e0c71(0x1fc)][_0x5e0c71(0x22a)](this[_0x5e0c71(0x224)]()),this[_0x5e0c71(0x216)](_0x5e0c71(0x21a),_0x1ce852),this[_0x5e0c71(0x22a)]({'tag':_0x5e0c71(0x21f),'attributes':{'class':['ck',_0x5e0c71(0x222),_0x5e0c71(0x20f)],'tabindex':'-1'},'children':this[_0x5e0c71(0x228)]}),this[_0x5e0c71(0x229)](),this[_0x5e0c71(0x206)](_0x5e0c71(0x21c),()=>{const _0x561f11=_0x5e0c71;this[_0x561f11(0x202)](this[_0x561f11(0x1f7)],_0x163202=>{const _0xb88383=_0x561f11;this[_0xb88383(0x209)](_0x163202);});}),this['on'](_0x5e0c71(0x1f5),()=>{const _0x15e5dc=_0x5e0c71;this[_0x15e5dc(0x229)]();}),this[_0x5e0c71(0x220)]();}[_0x1487ba(0x211)](){const _0x64df80=_0x1487ba;this[_0x64df80(0x1f7)][_0x64df80(0x211)]();}[_0x1487ba(0x229)](){const _0x1fb637=_0x1487ba;switch(this[_0x1fb637(0x228)][_0x1fb637(0x221)](),this[_0x1fb637(0x21a)]){case _0x1fb637(0x1fa):this[_0x1fb637(0x228)][_0x1fb637(0x213)](this[_0x1fb637(0x1fb)]);break;case _0x1fb637(0x1f9):this[_0x1fb637(0x228)][_0x1fb637(0x213)](this[_0x1fb637(0x20a)]);break;case _0x1fb637(0x1fd):this[_0x1fb637(0x228)][_0x1fb637(0x225)]([this[_0x1fb637(0x201)],this[_0x1fb637(0x1fc)]]);}}[_0x1487ba(0x202)](_0x50a4b1,_0xcd6599){const _0x1d8668=_0x1487ba,_0x39d490=_0x1d8668(0x218),_0x1d911a=_0x50a4b1[_0x1d8668(0x215)](_0x39d490);if(_0x1d911a)return _0xcd6599(_0x1d911a);const _0x4711eb=new MutationObserver(_0x990b37=>{const _0x966451=_0x1d8668,_0x5ab1ef=_0x990b37[_0x966451(0x1f3)](_0x273c9e=>_0x273c9e[_0x966451(0x217)]===_0x50a4b1&&_0x273c9e[_0x966451(0x204)][_0x966451(0x207)]>0x0&&_0x273c9e[_0x966451(0x204)][0x0][_0x966451(0x203)][_0x966451(0x1f6)]()===_0x39d490);_0x5ab1ef[_0x966451(0x207)]&&(_0x4711eb[_0x966451(0x200)](),_0xcd6599(_0x5ab1ef[0x0][_0x966451(0x204)][0x0]));});_0x4711eb[_0x1d8668(0x226)](_0x50a4b1,{'childList':!0x0,'subtree':!0x0});}[_0x1487ba(0x209)](_0x16edc0){const _0x50660e=_0x1487ba;_0x16edc0[_0x50660e(0x210)](_0x50660e(0x227),_0x3c755f=>{const _0x1efd96=_0x50660e;this[_0x1efd96(0x219)](_0x1efd96(0x227),{'imageSrc':_0x3c755f[_0x1efd96(0x1ff)][_0x1efd96(0x223)]});}),_0x16edc0[_0x50660e(0x210)](_0x50660e(0x1f8),()=>{const _0x4d57df=_0x50660e;this[_0x4d57df(0x219)](_0x4d57df(0x1f8));});}[_0x1487ba(0x220)](){const _0x58fa0f=_0x1487ba;this[_0x58fa0f(0x20a)]['on'](_0x58fa0f(0x20c),()=>{const _0x34cd72=_0x58fa0f;this[_0x34cd72(0x219)](_0x34cd72(0x20c));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dae(_0x2c8955,_0x2532ce){const _0xb88e8=_0xb88e();return _0x4dae=function(_0x4dae4a,_0x44bf40){_0x4dae4a=_0x4dae4a-0x181;let _0x983fee=_0xb88e8[_0x4dae4a];return _0x983fee;},_0x4dae(_0x2c8955,_0x2532ce);}function _0xb88e(){const _0x82a8cb=['refresh','editor','1039112mLHnbZ','6973964ZAhqFN','_isEditable','598944jXFLbo','2634642pDGOhR','6RUtaSd','config','10631166RJElVb','uploadcare.allowExternalImagesEditing','element','isEnabled','isActive','execute','model','unbind','imageBlock','imageInline','8EnKDpv','bind','set','document','selection','requires','get','5062055fpLuSb','plugins','13931370qyqVUV','3GFXhaw','33EBgRnn','getSelectedElement','imageEditController'];_0xb88e=function(){return _0x82a8cb;};return _0xb88e();}const _0x370871=_0x4dae;(function(_0x10a17d,_0x26b29d){const _0x3ac8c6=_0x4dae,_0x39aabf=_0x10a17d();while(!![]){try{const _0x25596a=parseInt(_0x3ac8c6(0x198))/0x1+parseInt(_0x3ac8c6(0x19b))/0x2+parseInt(_0x3ac8c6(0x192))/0x3*(-parseInt(_0x3ac8c6(0x199))/0x4)+parseInt(_0x3ac8c6(0x18f))/0x5*(-parseInt(_0x3ac8c6(0x19d))/0x6)+-parseInt(_0x3ac8c6(0x19f))/0x7+-parseInt(_0x3ac8c6(0x188))/0x8*(parseInt(_0x3ac8c6(0x19c))/0x9)+-parseInt(_0x3ac8c6(0x191))/0xa*(-parseInt(_0x3ac8c6(0x193))/0xb);if(_0x25596a===_0x26b29d)break;else _0x39aabf['push'](_0x39aabf['shift']());}catch(_0x148b95){_0x39aabf['push'](_0x39aabf['shift']());}}}(_0xb88e,0xe8159));import{Command as _0x162f3b}from'ckeditor5/src/core.js';import{Dialog as _0x2578dd}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1408d4}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5b0a15}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x162f3b{[_0x370871(0x195)];static get[_0x370871(0x18d)](){return[_0x2578dd];}[_0x370871(0x19a)];constructor(_0x51d6a0){const _0x5d9f06=_0x370871;super(_0x51d6a0),this[_0x5d9f06(0x195)]=void 0x0,this[_0x5d9f06(0x19a)]=_0x5b0a15(_0x51d6a0[_0x5d9f06(0x19e)][_0x5d9f06(0x18e)](_0x5d9f06(0x1a0))||[]),this[_0x5d9f06(0x18a)]({'isActive':!0x1});}[_0x370871(0x196)](){const _0x14cac4=_0x370871,_0x5c854c=this[_0x14cac4(0x197)][_0x14cac4(0x184)][_0x14cac4(0x18b)][_0x14cac4(0x18c)][_0x14cac4(0x194)]();this[_0x14cac4(0x181)]=this[_0x14cac4(0x19a)](_0x5c854c);}[_0x370871(0x183)](){const _0x24e29d=_0x370871;this[_0x24e29d(0x195)]&&(this[_0x24e29d(0x185)](_0x24e29d(0x182)),this[_0x24e29d(0x195)]=void 0x0);const _0x515db5=this[_0x24e29d(0x197)][_0x24e29d(0x184)][_0x24e29d(0x18b)][_0x24e29d(0x18c)][_0x24e29d(0x194)]();_0x515db5&&(_0x515db5['is'](_0x24e29d(0x1a1),_0x24e29d(0x186))||_0x515db5['is'](_0x24e29d(0x1a1),_0x24e29d(0x187)))&&(this[_0x24e29d(0x195)]=new _0x1408d4(this[_0x24e29d(0x197)],this[_0x24e29d(0x197)][_0x24e29d(0x190)][_0x24e29d(0x18e)](_0x2578dd),_0x515db5),this[_0x24e29d(0x189)](_0x24e29d(0x182))['to'](this[_0x24e29d(0x195)],_0x24e29d(0x182)));}}
23
+ function _0x27d7(){const _0x1a71d1=['element','_isEditable','bind','238RhkNSX','4489782VeSPtK','1344017FJPvgO','imageEditController','get','requires','2090762XfpfiR','selection','imageInline','set','423305yCfMbr','4444436RtlLUx','config','document','uploadcare.allowExternalImagesEditing','execute','plugins','28543608bTdgSK','refresh','model','isEnabled','editor','imageBlock','3lfxWIF','isActive','getSelectedElement','unbind'];_0x27d7=function(){return _0x1a71d1;};return _0x27d7();}function _0x564a(_0x3b7db3,_0x3f6ba3){const _0x27d731=_0x27d7();return _0x564a=function(_0x564aee,_0x3cdfee){_0x564aee=_0x564aee-0x111;let _0x50c082=_0x27d731[_0x564aee];return _0x50c082;},_0x564a(_0x3b7db3,_0x3f6ba3);}const _0x55972c=_0x564a;(function(_0x1447f7,_0x40c768){const _0x980d7b=_0x564a,_0x1d701d=_0x1447f7();while(!![]){try{const _0x20f6fe=parseInt(_0x980d7b(0x11d))/0x1+parseInt(_0x980d7b(0x121))/0x2+parseInt(_0x980d7b(0x114))/0x3*(parseInt(_0x980d7b(0x126))/0x4)+parseInt(_0x980d7b(0x125))/0x5+parseInt(_0x980d7b(0x11c))/0x6+parseInt(_0x980d7b(0x11b))/0x7+-parseInt(_0x980d7b(0x12c))/0x8;if(_0x20f6fe===_0x40c768)break;else _0x1d701d['push'](_0x1d701d['shift']());}catch(_0x5c6860){_0x1d701d['push'](_0x1d701d['shift']());}}}(_0x27d7,0xbae6c));import{Command as _0x5d81ba}from'ckeditor5/src/core.js';import{Dialog as _0x2c7990}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x58065a}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1d5225}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5d81ba{[_0x55972c(0x11e)];static get[_0x55972c(0x120)](){return[_0x2c7990];}[_0x55972c(0x119)];constructor(_0x52957e){const _0x548c7e=_0x55972c;super(_0x52957e),this[_0x548c7e(0x11e)]=void 0x0,this[_0x548c7e(0x119)]=_0x1d5225(_0x52957e[_0x548c7e(0x127)][_0x548c7e(0x11f)](_0x548c7e(0x129))||[]),this[_0x548c7e(0x124)]({'isActive':!0x1});}[_0x55972c(0x12d)](){const _0x2ce8d8=_0x55972c,_0xfaa294=this[_0x2ce8d8(0x112)][_0x2ce8d8(0x12e)][_0x2ce8d8(0x128)][_0x2ce8d8(0x122)][_0x2ce8d8(0x116)]();this[_0x2ce8d8(0x111)]=this[_0x2ce8d8(0x119)](_0xfaa294);}[_0x55972c(0x12a)](){const _0x3c12a9=_0x55972c;this[_0x3c12a9(0x11e)]&&(this[_0x3c12a9(0x117)](_0x3c12a9(0x115)),this[_0x3c12a9(0x11e)]=void 0x0);const _0x3c50af=this[_0x3c12a9(0x112)][_0x3c12a9(0x12e)][_0x3c12a9(0x128)][_0x3c12a9(0x122)][_0x3c12a9(0x116)]();_0x3c50af&&(_0x3c50af['is'](_0x3c12a9(0x118),_0x3c12a9(0x113))||_0x3c50af['is'](_0x3c12a9(0x118),_0x3c12a9(0x123)))&&(this[_0x3c12a9(0x11e)]=new _0x58065a(this[_0x3c12a9(0x112)],this[_0x3c12a9(0x112)][_0x3c12a9(0x12b)][_0x3c12a9(0x11f)](_0x2c7990),_0x3c50af),this[_0x3c12a9(0x11a)](_0x3c12a9(0x115))['to'](this[_0x3c12a9(0x11e)],_0x3c12a9(0x115)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b7c1b=_0x1ac6;(function(_0x57530f,_0x5cc7df){const _0x3c1d9c=_0x1ac6,_0x1cada8=_0x57530f();while(!![]){try{const _0x2e7340=-parseInt(_0x3c1d9c(0xef))/0x1+parseInt(_0x3c1d9c(0xf3))/0x2+-parseInt(_0x3c1d9c(0xe9))/0x3*(parseInt(_0x3c1d9c(0xe3))/0x4)+-parseInt(_0x3c1d9c(0xee))/0x5*(-parseInt(_0x3c1d9c(0xe0))/0x6)+-parseInt(_0x3c1d9c(0xe1))/0x7+parseInt(_0x3c1d9c(0xe8))/0x8+parseInt(_0x3c1d9c(0xf2))/0x9*(parseInt(_0x3c1d9c(0xf0))/0xa);if(_0x2e7340===_0x5cc7df)break;else _0x1cada8['push'](_0x1cada8['shift']());}catch(_0x4028b9){_0x1cada8['push'](_0x1cada8['shift']());}}}(_0x31e9,0x5067f));import{Plugin as _0x506ebb}from'ckeditor5/src/core.js';import{Notification as _0x843482}from'ckeditor5/src/ui.js';function _0x1ac6(_0x3b2050,_0x16c517){const _0x31e973=_0x31e9();return _0x1ac6=function(_0x1ac6c3,_0x102b5c){_0x1ac6c3=_0x1ac6c3-0xde;let _0x1bca39=_0x31e973[_0x1ac6c3];return _0x1bca39;},_0x1ac6(_0x3b2050,_0x16c517);}import{UploadcareImageEditCommand as _0x49aab7}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4dcf46}from'./uploadcareimagereplacecommand.js';function _0x31e9(){const _0x2f1dc6=['215577YcwLuE','1209096jnIwCf','commands','requires','6xfRbTA','3459624WjLmDa','ImageUtils','68GfduVR','UploadcareImageEditEditing','isPremiumPlugin','pluginName','uploadcareImageEdit','333976JEnxMV','78513RSQATg','init','isOfficialPlugin','add','uploadcareImageReplace','2925560FcPpVD','513844JxLvsv','230JGoTpi','ImageEditing'];_0x31e9=function(){return _0x2f1dc6;};return _0x31e9();}import{UploadcareEditing as _0x4df77a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x506ebb{static get[_0x2b7c1b(0xe6)](){const _0x3119fa=_0x2b7c1b;return _0x3119fa(0xe4);}static get[_0x2b7c1b(0xdf)](){const _0x205fb2=_0x2b7c1b;return[_0x4df77a,_0x843482,_0x205fb2(0xe2),_0x205fb2(0xf1)];}static get[_0x2b7c1b(0xeb)](){return!0x0;}static get[_0x2b7c1b(0xe5)](){return!0x0;}[_0x2b7c1b(0xea)](){const _0x5e1a48=_0x2b7c1b,{editor:_0x429b79}=this;_0x429b79[_0x5e1a48(0xde)][_0x5e1a48(0xec)](_0x5e1a48(0xe7),new _0x49aab7(_0x429b79)),_0x429b79[_0x5e1a48(0xde)][_0x5e1a48(0xec)](_0x5e1a48(0xed),new _0x4dcf46(_0x429b79));}}
23
+ const _0x2d9805=_0xdeb3;(function(_0x5261c8,_0x5ae24b){const _0x535be6=_0xdeb3,_0x5138e9=_0x5261c8();while(!![]){try{const _0x251af2=parseInt(_0x535be6(0xe3))/0x1*(-parseInt(_0x535be6(0xe0))/0x2)+-parseInt(_0x535be6(0xd5))/0x3+-parseInt(_0x535be6(0xd3))/0x4+-parseInt(_0x535be6(0xda))/0x5+-parseInt(_0x535be6(0xd7))/0x6+parseInt(_0x535be6(0xdf))/0x7+-parseInt(_0x535be6(0xd9))/0x8*(-parseInt(_0x535be6(0xdb))/0x9);if(_0x251af2===_0x5ae24b)break;else _0x5138e9['push'](_0x5138e9['shift']());}catch(_0x50fbe0){_0x5138e9['push'](_0x5138e9['shift']());}}}(_0x2ef4,0x9892b));import{Plugin as _0x45e69b}from'ckeditor5/src/core.js';function _0x2ef4(){const _0x4bbef1=['UploadcareImageEditEditing','139304INxQlt','1994525IwqCOG','1413UpOdLT','isPremiumPlugin','commands','uploadcareImageEdit','5790561DxaJJb','4lyVuKi','init','requires','330487tMQGKb','pluginName','ImageUtils','uploadcareImageReplace','ImageEditing','3176120eePIcS','add','829635mZRKoN','isOfficialPlugin','4834026PzQhhp'];_0x2ef4=function(){return _0x4bbef1;};return _0x2ef4();}import{Notification as _0x28a9f4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4b7758}from'./uploadcareimageeditcommand.js';function _0xdeb3(_0x5aafdb,_0x1f69cc){const _0x2ef4d6=_0x2ef4();return _0xdeb3=function(_0xdeb3a4,_0x37101b){_0xdeb3a4=_0xdeb3a4-0xd3;let _0x4f2a6b=_0x2ef4d6[_0xdeb3a4];return _0x4f2a6b;},_0xdeb3(_0x5aafdb,_0x1f69cc);}import{UploadcareImageReplaceCommand as _0x5bc197}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3e34b1}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x45e69b{static get[_0x2d9805(0xe4)](){const _0x4560df=_0x2d9805;return _0x4560df(0xd8);}static get[_0x2d9805(0xe2)](){const _0x3a13bf=_0x2d9805;return[_0x3e34b1,_0x28a9f4,_0x3a13bf(0xe5),_0x3a13bf(0xe7)];}static get[_0x2d9805(0xd6)](){return!0x0;}static get[_0x2d9805(0xdc)](){return!0x0;}[_0x2d9805(0xe1)](){const _0x24fff0=_0x2d9805,{editor:_0x22f380}=this;_0x22f380[_0x24fff0(0xdd)][_0x24fff0(0xd4)](_0x24fff0(0xde),new _0x4b7758(_0x22f380)),_0x22f380[_0x24fff0(0xdd)][_0x24fff0(0xd4)](_0x24fff0(0xe6),new _0x5bc197(_0x22f380));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1b70be}from'ckeditor5/src/core.js';import{ButtonView as _0xab632f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4ee606}from'ckeditor5/src/icons.js';import{createElement as _0x50ece6}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 _0x1b70be{['_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 _0x1eb284=this['editor'];_0x1eb284['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4a1ec7=>{const _0x313035=_0x1eb284['commands']['get']('uploadcareImageEdit'),_0x420ad2=new _0xab632f(_0x4a1ec7),t=_0x4a1ec7['t'];return _0x420ad2['set']({'icon':_0x4ee606,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x420ad2['bind']('isEnabled')['to'](_0x313035),_0x420ad2['bind']('isOn')['to'](_0x313035,'isActive'),this['listenTo'](_0x420ad2,'execute',()=>{_0x1eb284['execute']('uploadcareImageEdit'),_0x1eb284['editing']['view']['focus']();}),_0x420ad2;}),this['_initConfig']();}['_initConfig'](){const _0x4942ff=_0x50ece6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4942ff),this['listenTo'](this['editor'],'destroy',()=>{_0x4942ff['remove']();});}}
23
+ import{Plugin as _0xdaa2e9}from'ckeditor5/src/core.js';import{ButtonView as _0x48d603}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe07d0a}from'ckeditor5/src/icons.js';import{createElement as _0x484fe4}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 _0xdaa2e9{['_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 _0x372ad0=this['editor'];_0x372ad0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x590d62=>{const _0x6f621f=_0x372ad0['commands']['get']('uploadcareImageEdit'),_0x4030a5=new _0x48d603(_0x590d62),t=_0x590d62['t'];return _0x4030a5['set']({'icon':_0xe07d0a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4030a5['bind']('isEnabled')['to'](_0x6f621f),_0x4030a5['bind']('isOn')['to'](_0x6f621f,'isActive'),this['listenTo'](_0x4030a5,'execute',()=>{_0x372ad0['execute']('uploadcareImageEdit'),_0x372ad0['editing']['view']['focus']();}),_0x4030a5;}),this['_initConfig']();}['_initConfig'](){const _0x8ab6c4=_0x484fe4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x8ab6c4),this['listenTo'](this['editor'],'destroy',()=>{_0x8ab6c4['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd8eb32=_0x2fc0;function _0x3b7a(){const _0x39ff09=['refresh','44243AmRVBX','imageInline','2SEfWji','document','change','selection','1391068DIBRIH','editor','isEnabled','execute','srcset','sizes','9fcMhJX','56WBbzjX','imageBlock','15092lsRdeP','4716096eRshpu','7106990tEbRMG','element','596313OfBVjy','getSelectedElement','model','3399690WaUJnt','removeAttribute','setAttributes'];_0x3b7a=function(){return _0x39ff09;};return _0x3b7a();}function _0x2fc0(_0x24cc96,_0x5b9769){const _0x3b7aa7=_0x3b7a();return _0x2fc0=function(_0x2fc056,_0xc787ca){_0x2fc056=_0x2fc056-0x1cb;let _0x20470d=_0x3b7aa7[_0x2fc056];return _0x20470d;},_0x2fc0(_0x24cc96,_0x5b9769);}(function(_0x375fb1,_0x2cb8de){const _0x4dfda4=_0x2fc0,_0x43ca67=_0x375fb1();while(!![]){try{const _0x475295=parseInt(_0x4dfda4(0x1e1))/0x1*(-parseInt(_0x4dfda4(0x1e3))/0x2)+parseInt(_0x4dfda4(0x1da))/0x3+-parseInt(_0x4dfda4(0x1cd))/0x4+parseInt(_0x4dfda4(0x1dd))/0x5+parseInt(_0x4dfda4(0x1d7))/0x6+-parseInt(_0x4dfda4(0x1d6))/0x7*(-parseInt(_0x4dfda4(0x1d4))/0x8)+parseInt(_0x4dfda4(0x1d3))/0x9*(-parseInt(_0x4dfda4(0x1d8))/0xa);if(_0x475295===_0x2cb8de)break;else _0x43ca67['push'](_0x43ca67['shift']());}catch(_0x2d1eae){_0x43ca67['push'](_0x43ca67['shift']());}}}(_0x3b7a,0x8ce54));import{Command as _0x59c107}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x59c107{[_0xd8eb32(0x1e0)](){const _0x503e00=_0xd8eb32,_0x13a7c9=this[_0x503e00(0x1ce)][_0x503e00(0x1dc)][_0x503e00(0x1e4)][_0x503e00(0x1cc)][_0x503e00(0x1db)]();this[_0x503e00(0x1cf)]=Boolean(_0x13a7c9&&(_0x13a7c9['is'](_0x503e00(0x1d9),_0x503e00(0x1d5))||_0x13a7c9['is'](_0x503e00(0x1d9),_0x503e00(0x1e2))));}[_0xd8eb32(0x1d0)](_0x96e727){const _0x15c825=_0xd8eb32,_0x39b6ff=this[_0x15c825(0x1ce)][_0x15c825(0x1dc)][_0x15c825(0x1e4)][_0x15c825(0x1cc)][_0x15c825(0x1db)]();this[_0x15c825(0x1ce)][_0x15c825(0x1dc)][_0x15c825(0x1cb)](_0xb2777e=>{const _0x4ecbf4=_0x15c825;_0xb2777e[_0x4ecbf4(0x1df)](_0x96e727,_0x39b6ff),_0xb2777e[_0x4ecbf4(0x1de)](_0x4ecbf4(0x1d1),_0x39b6ff),_0xb2777e[_0x4ecbf4(0x1de)](_0x4ecbf4(0x1d2),_0x39b6ff);});}}
23
+ function _0x3273(_0xd1fddf,_0x5d2f46){const _0x17f29=_0x17f2();return _0x3273=function(_0x32739e,_0xeff405){_0x32739e=_0x32739e-0x1ce;let _0x2f4c6b=_0x17f29[_0x32739e];return _0x2f4c6b;},_0x3273(_0xd1fddf,_0x5d2f46);}const _0x34e964=_0x3273;(function(_0x247564,_0x43566d){const _0x40010b=_0x3273,_0x39337d=_0x247564();while(!![]){try{const _0x41e905=-parseInt(_0x40010b(0x1d6))/0x1*(-parseInt(_0x40010b(0x1e1))/0x2)+parseInt(_0x40010b(0x1e2))/0x3*(parseInt(_0x40010b(0x1d7))/0x4)+parseInt(_0x40010b(0x1d4))/0x5*(-parseInt(_0x40010b(0x1d1))/0x6)+-parseInt(_0x40010b(0x1df))/0x7*(-parseInt(_0x40010b(0x1da))/0x8)+-parseInt(_0x40010b(0x1ce))/0x9+-parseInt(_0x40010b(0x1e3))/0xa+-parseInt(_0x40010b(0x1dc))/0xb;if(_0x41e905===_0x43566d)break;else _0x39337d['push'](_0x39337d['shift']());}catch(_0x43c756){_0x39337d['push'](_0x39337d['shift']());}}}(_0x17f2,0x2f2b1));import{Command as _0x1461b1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1461b1{[_0x34e964(0x1e7)](){const _0x31b23e=_0x34e964,_0x16daa3=this[_0x31b23e(0x1cf)][_0x31b23e(0x1d8)][_0x31b23e(0x1e8)][_0x31b23e(0x1d5)][_0x31b23e(0x1d0)]();this[_0x31b23e(0x1e5)]=Boolean(_0x16daa3&&(_0x16daa3['is'](_0x31b23e(0x1e4),_0x31b23e(0x1dd))||_0x16daa3['is'](_0x31b23e(0x1e4),_0x31b23e(0x1d3))));}[_0x34e964(0x1db)](_0x1f47c9){const _0x2dec54=_0x34e964,_0x42d910=this[_0x2dec54(0x1cf)][_0x2dec54(0x1d8)][_0x2dec54(0x1e8)][_0x2dec54(0x1d5)][_0x2dec54(0x1d0)]();this[_0x2dec54(0x1cf)][_0x2dec54(0x1d8)][_0x2dec54(0x1d2)](_0x4f616a=>{const _0x59f2c3=_0x2dec54;_0x4f616a[_0x59f2c3(0x1d9)](_0x1f47c9,_0x42d910),_0x4f616a[_0x59f2c3(0x1de)](_0x59f2c3(0x1e0),_0x42d910),_0x4f616a[_0x59f2c3(0x1de)](_0x59f2c3(0x1e6),_0x42d910);});}}function _0x17f2(){const _0x5a7cf5=['imageBlock','removeAttribute','35lSYNBv','srcset','390gKZsQC','917337mjfalp','1829090IGRonV','element','isEnabled','sizes','refresh','document','1772514RXFStU','editor','getSelectedElement','18CvaLrd','change','imageInline','437340qgIUVh','selection','1493BymENz','4ZEUtJZ','model','setAttributes','546520NEBiZd','execute','1133319pxeHBP'];_0x17f2=function(){return _0x5a7cf5;};return _0x17f2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x302508=_0x40d6;(function(_0x5f572d,_0x5d218f){var _0x4ae818=_0x40d6,_0x41a7a6=_0x5f572d();while(!![]){try{var _0x5a6c56=-parseInt(_0x4ae818(0xb3))/0x1*(-parseInt(_0x4ae818(0xbc))/0x2)+parseInt(_0x4ae818(0xb8))/0x3*(-parseInt(_0x4ae818(0xb2))/0x4)+parseInt(_0x4ae818(0xb7))/0x5*(parseInt(_0x4ae818(0xb9))/0x6)+parseInt(_0x4ae818(0xb1))/0x7*(parseInt(_0x4ae818(0xbe))/0x8)+parseInt(_0x4ae818(0xba))/0x9+-parseInt(_0x4ae818(0xb0))/0xa*(parseInt(_0x4ae818(0xaf))/0xb)+-parseInt(_0x4ae818(0xb6))/0xc;if(_0x5a6c56===_0x5d218f)break;else _0x41a7a6['push'](_0x41a7a6['shift']());}catch(_0x21c201){_0x41a7a6['push'](_0x41a7a6['shift']());}}}(_0x5153,0x61726));function _0x5153(){var _0x19aae0=['isPremiumPlugin','isOfficialPlugin','14198676CfggNf','252065zsCdqc','3669iJpYze','54IhYhzT','1387026DivZvT','UploadcareImageEdit','2246SzhmNX','requires','3605272EdpEiH','pluginName','11mEmtfL','1183810qeDJhA','7gvUwYi','4YpxScj','573AvbpyV'];_0x5153=function(){return _0x19aae0;};return _0x5153();}import{Plugin as _0x3c2de5}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x31996c}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4747d8}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x40d6(_0xfd61d,_0xc39f9c){var _0x51533e=_0x5153();return _0x40d6=function(_0x40d686,_0x1d276d){_0x40d686=_0x40d686-0xaf;var _0x23d204=_0x51533e[_0x40d686];return _0x23d204;},_0x40d6(_0xfd61d,_0xc39f9c);}export class UploadcareImageEdit extends _0x3c2de5{static get[_0x302508(0xbf)](){var _0x92503a=_0x302508;return _0x92503a(0xbb);}static get[_0x302508(0xbd)](){return[_0x31996c,_0x4747d8];}static get[_0x302508(0xb5)](){return!0x0;}static get[_0x302508(0xb4)](){return!0x0;}}
23
+ var _0x18785a=_0x5ae6;(function(_0x460319,_0x10772e){var _0x495b2c=_0x5ae6,_0x40c269=_0x460319();while(!![]){try{var _0x48c1f1=parseInt(_0x495b2c(0xf1))/0x1+-parseInt(_0x495b2c(0xf0))/0x2+-parseInt(_0x495b2c(0xf3))/0x3+-parseInt(_0x495b2c(0xec))/0x4+-parseInt(_0x495b2c(0xed))/0x5+parseInt(_0x495b2c(0xeb))/0x6*(-parseInt(_0x495b2c(0xee))/0x7)+parseInt(_0x495b2c(0xef))/0x8*(parseInt(_0x495b2c(0xe9))/0x9);if(_0x48c1f1===_0x10772e)break;else _0x40c269['push'](_0x40c269['shift']());}catch(_0x19a0b6){_0x40c269['push'](_0x40c269['shift']());}}}(_0x341e,0x77a44));function _0x5ae6(_0x49247b,_0x40e855){var _0x341e63=_0x341e();return _0x5ae6=function(_0x5ae6b3,_0x325da1){_0x5ae6b3=_0x5ae6b3-0xe7;var _0x337a4a=_0x341e63[_0x5ae6b3];return _0x337a4a;},_0x5ae6(_0x49247b,_0x40e855);}import{Plugin as _0x201685}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4d6c16}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3ebaea}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x341e(){var _0x4bc126=['requires','624kALcbQ','2691044KpwTnH','798310NCvJCf','2947QBfZiP','21344XwZWfE','1039908dJtIVy','932765VCQUhj','isOfficialPlugin','2134152FYqFqo','pluginName','UploadcareImageEdit','isPremiumPlugin','5616ffjMjo'];_0x341e=function(){return _0x4bc126;};return _0x341e();}export class UploadcareImageEdit extends _0x201685{static get[_0x18785a(0xf4)](){var _0x189656=_0x18785a;return _0x189656(0xe7);}static get[_0x18785a(0xea)](){return[_0x4d6c16,_0x3ebaea];}static get[_0x18785a(0xf2)](){return!0x0;}static get[_0x18785a(0xe8)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c5364=_0x4937;(function(_0x28d46c,_0x3f83aa){const _0x1a8608=_0x4937,_0xc62488=_0x28d46c();while(!![]){try{const _0x57f85f=-parseInt(_0x1a8608(0x1f4))/0x1+-parseInt(_0x1a8608(0x1d6))/0x2+parseInt(_0x1a8608(0x1ec))/0x3*(-parseInt(_0x1a8608(0x203))/0x4)+parseInt(_0x1a8608(0x1d2))/0x5+parseInt(_0x1a8608(0x1ba))/0x6*(parseInt(_0x1a8608(0x1ea))/0x7)+-parseInt(_0x1a8608(0x1d0))/0x8*(parseInt(_0x1a8608(0x1ce))/0x9)+parseInt(_0x1a8608(0x1fe))/0xa;if(_0x57f85f===_0x3f83aa)break;else _0xc62488['push'](_0xc62488['shift']());}catch(_0x596ef6){_0xc62488['push'](_0xc62488['shift']());}}}(_0x3fc1,0x8218e));import{Plugin as _0x259eec}from'ckeditor5/src/core.js';import{IconDropbox as _0x14f8dd,IconFacebook as _0x3d3675,IconGoogleDrive as _0x402776,IconGooglePhotos as _0x394666,IconUploadcareImageUpload as _0x4a4036,IconUploadcareLink as _0x1ceeb6,IconOneDrive as _0x21344b}from'ckeditor5/src/icons.js';import{ButtonView as _0x5bba3a,MenuBarMenuListItemButtonView as _0x1e0e9c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3f7fbb}from'./uploadcareconfig.js';import{getTranslation as _0x4ec0cf}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3fc1(){const _0x30f99c=['destroy','URL','config','icon','GPhotos','_showLicenseError','isImageSelected','isOfficialPlugin','usageLimit','Insert','plugins','isEnabled','isPremiumPlugin','pluginName','push','_normalizeConfigSourceList','7RmeHAA','reduce','1201074ylJEEz','licenseKey','registerIntegration','get','init','forEach','uploadcareLicenseKeyExpired','domainLimit','603505qfQCxR','uploadcareLicenseKeyNotAllowed','Replace','Uploadcare','uploadcareLicenseKeyInvalid','_createButton','assetManager','bind','tooltip','Dropbox','4139080exARvf','uploadcare','_getIntegrationKey','evaluationLimit','locale','4McFtOS','has','withText','expired','GDrive','OneDrive','editor','trialLimit','4162866LMokiA','_licenseKeyCheckInterval','upload','commands','label','Local','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','url','uploadcare.uploader.sourceList','invalid','shortText','Facebook','map','entries','featureNotAllowed','UploadcareUI','type','198NrecuQ','_createToolbarButton','85496ZvGqMn','execute','4501110exxLEI','uploadcareLicenseKeyTrialLimit','text','afterInit','472172cAzTMC','_createMenuBarButtons','_createDropdownButtons','uploadcareLicenseKeyDomainLimit'];_0x3fc1=function(){return _0x30f99c;};return _0x3fc1();}import'../theme/uploadcare-theme.css';function _0x4937(_0x2ea147,_0x264109){const _0x3fc198=_0x3fc1();return _0x4937=function(_0x493750,_0x1bf0b6){_0x493750=_0x493750-0x1b5;let _0x145487=_0x3fc198[_0x493750];return _0x145487;},_0x4937(_0x2ea147,_0x264109);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x259eec{[_0x1c5364(0x1ed)];[_0x1c5364(0x1bb)];static get[_0x1c5364(0x1e7)](){const _0x45347c=_0x1c5364;return _0x45347c(0x1cc);}static get[_0x1c5364(0x1e1)](){return!0x0;}static get[_0x1c5364(0x1e6)](){return!0x0;}[_0x1c5364(0x1f0)](){const _0x632c4f=_0x1c5364;this[_0x632c4f(0x1ed)]=this[_0x632c4f(0x1b8)][_0x632c4f(0x1dc)][_0x632c4f(0x1ef)](_0x632c4f(0x1ed));const _0x28bbaa=this[_0x632c4f(0x1b8)];this[_0x632c4f(0x1bb)]=setInterval(()=>{const _0x314e45=_0x632c4f;let _0x251989;for(const _0x27b07f in _0x28bbaa){const _0x147394=_0x27b07f,_0x657de3=_0x28bbaa[_0x147394];if(_0x314e45(0x1c3)==_0x657de3||_0x314e45(0x1f8)==_0x657de3||_0x314e45(0x1f2)==_0x657de3||_0x314e45(0x1d9)==_0x657de3||_0x314e45(0x1f5)==_0x657de3||_0x314e45(0x1c1)==_0x657de3||_0x314e45(0x1d3)==_0x657de3||_0x314e45(0x1c2)==_0x657de3){delete _0x28bbaa[_0x147394],_0x251989=_0x657de3,clearInterval(this[_0x314e45(0x1bb)]),this[_0x314e45(0x1bb)]=void 0x0;break;}}_0x314e45(0x1f8)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x1c6)),_0x314e45(0x1f2)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x1b5)),_0x314e45(0x1d9)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x1f3)),_0x314e45(0x1f5)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x1cb),_0x314e45(0x1f7)),_0x314e45(0x1c1)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x201)),_0x314e45(0x1d3)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x1b9)),_0x314e45(0x1c2)==_0x251989&&_0x28bbaa[_0x314e45(0x1df)](_0x314e45(0x1e2));},0x3e8);}[_0x1c5364(0x1d5)](){const _0x10773d=_0x1c5364,{editor:_0x9c96f2}=this,_0x1e774c=_0x9c96f2[_0x10773d(0x1bd)][_0x10773d(0x1ef)](_0x10773d(0x1ff));if(!_0x1e774c)return;const _0x21786e=this[_0x10773d(0x1e9)](_0x9c96f2[_0x10773d(0x1dc)][_0x10773d(0x1ef)](_0x10773d(0x1c5)))[_0x10773d(0x1eb)]((_0x8e1fd2,_0x21b8ea)=>{const _0x25bb5e=_0x10773d,_0x39a7cd=this[_0x25bb5e(0x200)](_0x21b8ea[_0x25bb5e(0x1cd)]);return _0x8e1fd2[_0x39a7cd]||(_0x8e1fd2[_0x39a7cd]=[]),_0x8e1fd2[_0x39a7cd][_0x25bb5e(0x1e8)](_0x21b8ea),_0x8e1fd2;},{});_0x9c96f2[_0x10773d(0x1e4)][_0x10773d(0x204)](_0x10773d(0x1c0))&&_0x9c96f2[_0x10773d(0x1bd)][_0x10773d(0x1ef)](_0x10773d(0x1ff))&&Object[_0x10773d(0x1ca)](_0x21786e)[_0x10773d(0x1f1)](([_0x4f46c4,_0x41a070])=>{const _0x2f57a7=_0x10773d;_0x9c96f2[_0x2f57a7(0x1e4)][_0x2f57a7(0x1ef)](_0x2f57a7(0x1c0))[_0x2f57a7(0x1ee)]({'name':_0x4f46c4,'observable':()=>_0x1e774c,'buttonViewCreator':()=>this[_0x2f57a7(0x1cf)](_0x41a070),'formViewCreator':()=>this[_0x2f57a7(0x1d8)](_0x41a070),'menuBarButtonViewCreator':()=>this[_0x2f57a7(0x1d7)](_0x41a070),'override':_0x2f57a7(0x1fa)!==_0x4f46c4});});}[_0x1c5364(0x1da)](){const _0x247df9=_0x1c5364;super[_0x247df9(0x1da)](),this[_0x247df9(0x1bb)]&&clearInterval(this[_0x247df9(0x1bb)]);}[_0x1c5364(0x1e9)](_0x3f78fb){const _0x2684e4=_0x1c5364,{locale:_0x593b47}=this[_0x2684e4(0x1b8)];return _0x3f78fb[_0x2684e4(0x1c9)](_0x31a8db=>{const _0xf152b7=_0x2684e4,_0x54412f=_0x4ec0cf(_0x593b47,_0x31a8db,_0xf152b7(0x1e3));switch(_0x31a8db){case _0x3f7fbb[_0xf152b7(0x1bf)]:return{'icon':_0x4a4036,'type':_0x3f7fbb[_0xf152b7(0x1bf)],..._0x54412f};case _0x3f7fbb[_0xf152b7(0x1db)]:return{'icon':_0x1ceeb6,'type':_0x3f7fbb[_0xf152b7(0x1db)],..._0x54412f};case _0x3f7fbb[_0xf152b7(0x1fd)]:return{'icon':_0x14f8dd,'type':_0x3f7fbb[_0xf152b7(0x1fd)],..._0x54412f};case _0x3f7fbb[_0xf152b7(0x1c8)]:return{'icon':_0x3d3675,'type':_0x3f7fbb[_0xf152b7(0x1c8)],..._0x54412f};case _0x3f7fbb[_0xf152b7(0x1b6)]:return{'icon':_0x402776,'type':_0x3f7fbb[_0xf152b7(0x1b6)],..._0x54412f};case _0x3f7fbb[_0xf152b7(0x1de)]:return{'icon':_0x394666,'type':_0x3f7fbb[_0xf152b7(0x1de)],..._0x54412f};case _0x3f7fbb[_0xf152b7(0x1b7)]:return{'icon':_0x21344b,'type':_0x3f7fbb[_0xf152b7(0x1b7)],..._0x54412f};}});}[_0x1c5364(0x200)](_0x41bdc6){const _0x55db29=_0x1c5364;switch(_0x41bdc6){case _0x3f7fbb[_0x55db29(0x1bf)]:return _0x55db29(0x1bc);case _0x3f7fbb[_0x55db29(0x1db)]:return _0x55db29(0x1c4);default:return _0x55db29(0x1fa);}}[_0x1c5364(0x1f9)](_0x3d7e28,_0x49e50b){const _0x4ec0ed=_0x1c5364,_0x5a2038=this[_0x4ec0ed(0x1b8)],_0x43d1ac=new _0x3d7e28(_0x5a2038[_0x4ec0ed(0x202)]),_0x722dc6=_0x5a2038[_0x4ec0ed(0x1bd)][_0x4ec0ed(0x1ef)](_0x4ec0ed(0x1ff));return _0x43d1ac[_0x4ec0ed(0x1fb)](_0x4ec0ed(0x1e5))['to'](_0x722dc6),_0x43d1ac['on'](_0x4ec0ed(0x1d1),()=>{const _0x508fa0=_0x4ec0ed;_0x722dc6[_0x508fa0(0x1d1)](_0x49e50b);}),_0x43d1ac;}[_0x1c5364(0x1cf)](_0xf49ce){const _0x4d0094=_0x1c5364,{locale:_0x54cd02}=this[_0x4d0094(0x1b8)],_0x549d77=this[_0x4d0094(0x1b8)][_0x4d0094(0x1e4)][_0x4d0094(0x1ef)](_0x4d0094(0x1c0)),_0x114b9d=_0xf49ce[0x0],_0x38dc70=this[_0x4d0094(0x1f9)](_0x5bba3a,_0x114b9d[_0x4d0094(0x1cd)]);return _0x38dc70[_0x4d0094(0x1dd)]=_0x114b9d[_0x4d0094(0x1dd)],_0x38dc70[_0x4d0094(0x1fb)](_0x4d0094(0x1be))['to'](_0x549d77,_0x4d0094(0x1e0),_0x1f0024=>_0x4ec0cf(_0x54cd02,_0x114b9d[_0x4d0094(0x1cd)],_0x1f0024?_0x4d0094(0x1f6):_0x4d0094(0x1e3))[_0x4d0094(0x1d4)]),_0x38dc70[_0x4d0094(0x1fc)]=!0x0,_0x38dc70;}[_0x1c5364(0x1d8)](_0x396207){const _0x226131=_0x1c5364,{locale:_0x18d966}=this[_0x226131(0x1b8)],_0x173cd9=this[_0x226131(0x1b8)][_0x226131(0x1e4)][_0x226131(0x1ef)](_0x226131(0x1c0));return _0x396207[_0x226131(0x1c9)](_0x26479d=>{const _0x1a532=_0x226131,_0x82beac=this[_0x1a532(0x1f9)](_0x5bba3a,_0x26479d[_0x1a532(0x1cd)]);return _0x82beac[_0x1a532(0x205)]=!0x0,_0x82beac[_0x1a532(0x1dd)]=_0x26479d[_0x1a532(0x1dd)],_0x82beac[_0x1a532(0x1fb)](_0x1a532(0x1be))['to'](_0x173cd9,_0x1a532(0x1e0),_0x2f1ad5=>_0x4ec0cf(_0x18d966,_0x26479d[_0x1a532(0x1cd)],_0x2f1ad5?_0x1a532(0x1f6):_0x1a532(0x1e3))[_0x1a532(0x1d4)]),_0x82beac;});}[_0x1c5364(0x1d7)](_0x2a4dd5){const _0x1954a5=_0x1c5364;return _0x2a4dd5[_0x1954a5(0x1c9)](_0x3686d2=>{const _0x3b9bbc=_0x1954a5,_0x3dc502=this[_0x3b9bbc(0x1f9)](_0x1e0e9c,_0x3686d2[_0x3b9bbc(0x1cd)]);return _0x3dc502[_0x3b9bbc(0x1dd)]=_0x3686d2[_0x3b9bbc(0x1dd)],_0x3dc502[_0x3b9bbc(0x1be)]=_0x3686d2[_0x3b9bbc(0x1c7)],_0x3dc502;});}}
23
+ const _0x5d9838=_0x5688;(function(_0x536ab0,_0x6acf9a){const _0x2692c9=_0x5688,_0x1e091f=_0x536ab0();while(!![]){try{const _0x4200c7=-parseInt(_0x2692c9(0x152))/0x1*(parseInt(_0x2692c9(0x189))/0x2)+-parseInt(_0x2692c9(0x14e))/0x3+parseInt(_0x2692c9(0x176))/0x4+parseInt(_0x2692c9(0x188))/0x5*(parseInt(_0x2692c9(0x17d))/0x6)+parseInt(_0x2692c9(0x179))/0x7+parseInt(_0x2692c9(0x13d))/0x8+parseInt(_0x2692c9(0x14c))/0x9*(-parseInt(_0x2692c9(0x14a))/0xa);if(_0x4200c7===_0x6acf9a)break;else _0x1e091f['push'](_0x1e091f['shift']());}catch(_0xd65cf1){_0x1e091f['push'](_0x1e091f['shift']());}}}(_0x4ddb,0x887ad));import{Plugin as _0x264d0f}from'ckeditor5/src/core.js';function _0x5688(_0xef3926,_0x5f3d71){const _0x4ddb30=_0x4ddb();return _0x5688=function(_0x5688c9,_0x5f2b85){_0x5688c9=_0x5688c9-0x13a;let _0xb47546=_0x4ddb30[_0x5688c9];return _0xb47546;},_0x5688(_0xef3926,_0x5f3d71);}import{IconDropbox as _0x4b3e86,IconFacebook as _0x5f41bc,IconGoogleDrive as _0x221e47,IconGooglePhotos as _0x5e638a,IconUploadcareImageUpload as _0x48f211,IconUploadcareLink as _0x2d852e,IconOneDrive as _0x1c46e1}from'ckeditor5/src/icons.js';import{ButtonView as _0x2bea8d,MenuBarMenuListItemButtonView as _0x213562}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x316fef}from'./uploadcareconfig.js';import{getTranslation as _0x76c310}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x4ddb(){const _0x477183=['get','uploadcareLicenseKeyEvaluationLimit','execute','isImageSelected','uploadcareLicenseKeyExpired','isPremiumPlugin','uploadcareLicenseKeyUsageLimit','label','Facebook','Dropbox','_normalizeConfigSourceList','icon','forEach','Replace','invalid','shortText','type','bind','entries','push','destroy','Insert','assetManager','licenseKey','isOfficialPlugin','map','text','URL','GPhotos','plugins','url','1887252UhcCCo','pluginName','_createToolbarButton','4251275JpUiCB','featureNotAllowed','tooltip','_createButton','30YYUUWx','_licenseKeyCheckInterval','_showLicenseError','uploadcareLicenseKeyInvalid','_createDropdownButtons','reduce','GDrive','config','trialLimit','uploadcareLicenseKeyNotAllowed','Uploadcare','294325rcEmeG','17740JbYmDt','usageLimit','afterInit','uploadcareLicenseKeyDomainLimit','domainLimit','4804664HTpqEx','uploadcareLicenseKeyValid','init','registerIntegration','commands','uploadcareLicenseKeyTrialLimit','_getIntegrationKey','uploadcare.uploader.sourceList','evaluationLimit','ImageInsertUI','isEnabled','editor','expired','280190FQlrGC','locale','99aHNakq','OneDrive','2974518LasLaW','_createMenuBarButtons','withText','has','13hdThgd','uploadcare','Local','UploadcareUI','upload'];_0x4ddb=function(){return _0x477183;};return _0x4ddb();}export class UploadcareUI extends _0x264d0f{[_0x5d9838(0x16e)];[_0x5d9838(0x17e)];static get[_0x5d9838(0x177)](){const _0x419b4f=_0x5d9838;return _0x419b4f(0x155);}static get[_0x5d9838(0x16f)](){return!0x0;}static get[_0x5d9838(0x15c)](){return!0x0;}[_0x5d9838(0x13f)](){const _0xe51db8=_0x5d9838;this[_0xe51db8(0x16e)]=this[_0xe51db8(0x148)][_0xe51db8(0x184)][_0xe51db8(0x157)](_0xe51db8(0x16e));const _0x29083e=this[_0xe51db8(0x148)];this[_0xe51db8(0x17e)]=setInterval(()=>{const _0x58b093=_0xe51db8;let _0x77dfac;for(const _0x293d18 in _0x29083e){const _0x393412=_0x293d18,_0x94e7b2=_0x29083e[_0x393412];if(_0x58b093(0x13e)==_0x94e7b2||_0x58b093(0x180)==_0x94e7b2||_0x58b093(0x15b)==_0x94e7b2||_0x58b093(0x13b)==_0x94e7b2||_0x58b093(0x186)==_0x94e7b2||_0x58b093(0x158)==_0x94e7b2||_0x58b093(0x142)==_0x94e7b2||_0x58b093(0x15d)==_0x94e7b2){delete _0x29083e[_0x393412],_0x77dfac=_0x94e7b2,clearInterval(this[_0x58b093(0x17e)]),this[_0x58b093(0x17e)]=void 0x0;break;}}_0x58b093(0x180)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x165)),_0x58b093(0x15b)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x149)),_0x58b093(0x13b)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x13c)),_0x58b093(0x186)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x17a),_0x58b093(0x187)),_0x58b093(0x158)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x145)),_0x58b093(0x142)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x185)),_0x58b093(0x15d)==_0x77dfac&&_0x29083e[_0x58b093(0x17f)](_0x58b093(0x18a));},0x3e8);}[_0x5d9838(0x13a)](){const _0x30c950=_0x5d9838,{editor:_0x560d45}=this,_0xa52d3c=_0x560d45[_0x30c950(0x141)][_0x30c950(0x157)](_0x30c950(0x153));if(!_0xa52d3c)return;const _0x25752=this[_0x30c950(0x161)](_0x560d45[_0x30c950(0x184)][_0x30c950(0x157)](_0x30c950(0x144)))[_0x30c950(0x182)]((_0x3e6553,_0x312186)=>{const _0x8b73e=_0x30c950,_0x3e42f0=this[_0x8b73e(0x143)](_0x312186[_0x8b73e(0x167)]);return _0x3e6553[_0x3e42f0]||(_0x3e6553[_0x3e42f0]=[]),_0x3e6553[_0x3e42f0][_0x8b73e(0x16a)](_0x312186),_0x3e6553;},{});_0x560d45[_0x30c950(0x174)][_0x30c950(0x151)](_0x30c950(0x146))&&_0x560d45[_0x30c950(0x141)][_0x30c950(0x157)](_0x30c950(0x153))&&Object[_0x30c950(0x169)](_0x25752)[_0x30c950(0x163)](([_0x29ef87,_0x1c95df])=>{const _0x974d49=_0x30c950;_0x560d45[_0x974d49(0x174)][_0x974d49(0x157)](_0x974d49(0x146))[_0x974d49(0x140)]({'name':_0x29ef87,'observable':()=>_0xa52d3c,'buttonViewCreator':()=>this[_0x974d49(0x178)](_0x1c95df),'formViewCreator':()=>this[_0x974d49(0x181)](_0x1c95df),'menuBarButtonViewCreator':()=>this[_0x974d49(0x14f)](_0x1c95df),'override':_0x974d49(0x16d)!==_0x29ef87});});}[_0x5d9838(0x16b)](){const _0x431242=_0x5d9838;super[_0x431242(0x16b)](),this[_0x431242(0x17e)]&&clearInterval(this[_0x431242(0x17e)]);}[_0x5d9838(0x161)](_0x3634a0){const _0x142b70=_0x5d9838,{locale:_0x3f4cb5}=this[_0x142b70(0x148)];return _0x3634a0[_0x142b70(0x170)](_0x3e030f=>{const _0x5e71a9=_0x142b70,_0x1ffcb2=_0x76c310(_0x3f4cb5,_0x3e030f,_0x5e71a9(0x16c));switch(_0x3e030f){case _0x316fef[_0x5e71a9(0x154)]:return{'icon':_0x48f211,'type':_0x316fef[_0x5e71a9(0x154)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x172)]:return{'icon':_0x2d852e,'type':_0x316fef[_0x5e71a9(0x172)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x160)]:return{'icon':_0x4b3e86,'type':_0x316fef[_0x5e71a9(0x160)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x15f)]:return{'icon':_0x5f41bc,'type':_0x316fef[_0x5e71a9(0x15f)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x183)]:return{'icon':_0x221e47,'type':_0x316fef[_0x5e71a9(0x183)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x173)]:return{'icon':_0x5e638a,'type':_0x316fef[_0x5e71a9(0x173)],..._0x1ffcb2};case _0x316fef[_0x5e71a9(0x14d)]:return{'icon':_0x1c46e1,'type':_0x316fef[_0x5e71a9(0x14d)],..._0x1ffcb2};}});}[_0x5d9838(0x143)](_0x4cca6b){const _0x4d0b38=_0x5d9838;switch(_0x4cca6b){case _0x316fef[_0x4d0b38(0x154)]:return _0x4d0b38(0x156);case _0x316fef[_0x4d0b38(0x172)]:return _0x4d0b38(0x175);default:return _0x4d0b38(0x16d);}}[_0x5d9838(0x17c)](_0x40bda4,_0x764f05){const _0x51d4b3=_0x5d9838,_0x5d338=this[_0x51d4b3(0x148)],_0x2dd252=new _0x40bda4(_0x5d338[_0x51d4b3(0x14b)]),_0x448606=_0x5d338[_0x51d4b3(0x141)][_0x51d4b3(0x157)](_0x51d4b3(0x153));return _0x2dd252[_0x51d4b3(0x168)](_0x51d4b3(0x147))['to'](_0x448606),_0x2dd252['on'](_0x51d4b3(0x159),()=>{const _0x39e79c=_0x51d4b3;_0x448606[_0x39e79c(0x159)](_0x764f05);}),_0x2dd252;}[_0x5d9838(0x178)](_0x178073){const _0x1f8520=_0x5d9838,{locale:_0x60fc7b}=this[_0x1f8520(0x148)],_0x217662=this[_0x1f8520(0x148)][_0x1f8520(0x174)][_0x1f8520(0x157)](_0x1f8520(0x146)),_0x2788f1=_0x178073[0x0],_0x3ec310=this[_0x1f8520(0x17c)](_0x2bea8d,_0x2788f1[_0x1f8520(0x167)]);return _0x3ec310[_0x1f8520(0x162)]=_0x2788f1[_0x1f8520(0x162)],_0x3ec310[_0x1f8520(0x168)](_0x1f8520(0x15e))['to'](_0x217662,_0x1f8520(0x15a),_0x56decf=>_0x76c310(_0x60fc7b,_0x2788f1[_0x1f8520(0x167)],_0x56decf?_0x1f8520(0x164):_0x1f8520(0x16c))[_0x1f8520(0x171)]),_0x3ec310[_0x1f8520(0x17b)]=!0x0,_0x3ec310;}[_0x5d9838(0x181)](_0x19eef5){const _0xa4d64=_0x5d9838,{locale:_0x1e1c3e}=this[_0xa4d64(0x148)],_0x437db5=this[_0xa4d64(0x148)][_0xa4d64(0x174)][_0xa4d64(0x157)](_0xa4d64(0x146));return _0x19eef5[_0xa4d64(0x170)](_0x4f614d=>{const _0x11fc4a=_0xa4d64,_0xc0592d=this[_0x11fc4a(0x17c)](_0x2bea8d,_0x4f614d[_0x11fc4a(0x167)]);return _0xc0592d[_0x11fc4a(0x150)]=!0x0,_0xc0592d[_0x11fc4a(0x162)]=_0x4f614d[_0x11fc4a(0x162)],_0xc0592d[_0x11fc4a(0x168)](_0x11fc4a(0x15e))['to'](_0x437db5,_0x11fc4a(0x15a),_0x13b616=>_0x76c310(_0x1e1c3e,_0x4f614d[_0x11fc4a(0x167)],_0x13b616?_0x11fc4a(0x164):_0x11fc4a(0x16c))[_0x11fc4a(0x171)]),_0xc0592d;});}[_0x5d9838(0x14f)](_0xced27){const _0x428931=_0x5d9838;return _0xced27[_0x428931(0x170)](_0xa8f831=>{const _0x54fcc3=_0x428931,_0x20de76=this[_0x54fcc3(0x17c)](_0x213562,_0xa8f831[_0x54fcc3(0x167)]);return _0x20de76[_0x54fcc3(0x162)]=_0xa8f831[_0x54fcc3(0x162)],_0x20de76[_0x54fcc3(0x15e)]=_0xa8f831[_0x54fcc3(0x166)],_0x20de76;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4d597a}from'ckeditor5/src/core.js';import{FileRepository as _0xda743e}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5e2e24}from'./uploadcareediting.js';import{UploadUtils as _0x40b130}from'./utils/uploadutils.js';import{getImageUrls as _0x3eb436}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4d597a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xda743e,_0x5e2e24];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x35e0ea=this['editor'];if(!!!_0x35e0ea['config']['get']('uploadcare'))return;_0x35e0ea['plugins']['get'](_0xda743e)['createUploadAdapter']=_0x5c718e=>new k(_0x5c718e,_0x35e0ea),_0x35e0ea['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xc7ad0a,{imageElement:_0x4995de,data:_0x2c867e})=>{_0x35e0ea['model']['change'](_0xe74a9=>{_0xe74a9['setAttribute']('uploadcareImageId',_0x2c867e['uploadcareImageId'],_0x4995de);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x21776d,_0x407979){this['loader']=_0x21776d,this['editor']=_0x407979,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5f1e00=await this['loader']['file'];return _0x40b130['upload']({'file':_0x5f1e00,'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':_0x548b7a=>{_0x548b7a&&_0x548b7a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x548b7a['value']);}})['then'](async _0xb7162b=>{const {imageFallbackUrl:_0x1df4cd,imageSources:_0xa891f4}=_0x3eb436(_0xb7162b['cdnUrl'],_0xb7162b['imageInfo']['width']);return{'uploadcareImageId':_0xb7162b['uuid'],'default':_0x1df4cd,'sources':_0xa891f4};})['catch'](()=>{const _0x3d76cc=t('Cannot\x20upload\x20file:')+('\x20'+_0x5f1e00['name']+'.');return Promise['reject'](_0x3d76cc);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x57b073}from'ckeditor5/src/core.js';import{FileRepository as _0x5ba27b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x13ad0e}from'./uploadcareediting.js';import{UploadUtils as _0x56d101}from'./utils/uploadutils.js';import{getImageUrls as _0x1b157a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x57b073{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5ba27b,_0x13ad0e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3fa35e=this['editor'];if(!!!_0x3fa35e['config']['get']('uploadcare'))return;_0x3fa35e['plugins']['get'](_0x5ba27b)['createUploadAdapter']=_0x176afa=>new k(_0x176afa,_0x3fa35e),_0x3fa35e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4f408d,{imageElement:_0x43c05e,data:_0x15bae3})=>{_0x3fa35e['model']['change'](_0x31afc7=>{_0x31afc7['setAttribute']('uploadcareImageId',_0x15bae3['uploadcareImageId'],_0x43c05e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x256b43,_0x5a2b96){this['loader']=_0x256b43,this['editor']=_0x5a2b96,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x17c1c1=await this['loader']['file'];return _0x56d101['upload']({'file':_0x17c1c1,'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':_0x5be7b=>{_0x5be7b&&_0x5be7b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5be7b['value']);}})['then'](async _0x2369ed=>{const {imageFallbackUrl:_0x33f9db,imageSources:_0x1e4073}=_0x1b157a(_0x2369ed['cdnUrl'],_0x2369ed['imageInfo']['width']);return{'uploadcareImageId':_0x2369ed['uuid'],'default':_0x33f9db,'sources':_0x1e4073};})['catch'](()=>{const _0x2b0517=t('Cannot\x20upload\x20file:')+('\x20'+_0x17c1c1['name']+'.');return Promise['reject'](_0x2b0517);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x24ee8c}from'../uploadcareconfig.js';export function getTranslation(_0x24cd2a,_0x343cdb,_0x52337d){const t=_0x24cd2a['t'],_0x6f8645=_0x24cd2a['t'];switch(_0x343cdb){case _0x24ee8c['Local']:return{'text':_0x6f8645('Insert'===_0x52337d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x6f8645('From\x20computer')};case _0x24ee8c['URL']:return{'text':'Insert'===_0x52337d?_0x6f8645('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x6f8645('Via\x20URL')};case _0x24ee8c['Dropbox']:return{'text':t('Insert'===_0x52337d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x24ee8c['Facebook']:return{'text':t('Insert'===_0x52337d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x24ee8c['GDrive']:return{'text':t('Insert'===_0x52337d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x24ee8c['GPhotos']:return{'text':t('Insert'===_0x52337d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x24ee8c['OneDrive']:return{'text':t('Insert'===_0x52337d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x343cdb;}}
23
+ import{UploadcareSource as _0x5d53fd}from'../uploadcareconfig.js';export function getTranslation(_0x38d882,_0x27cd0d,_0x1b9478){const t=_0x38d882['t'],_0x3c6003=_0x38d882['t'];switch(_0x27cd0d){case _0x5d53fd['Local']:return{'text':_0x3c6003('Insert'===_0x1b9478?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3c6003('From\x20computer')};case _0x5d53fd['URL']:return{'text':'Insert'===_0x1b9478?_0x3c6003('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3c6003('Via\x20URL')};case _0x5d53fd['Dropbox']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d53fd['Facebook']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d53fd['GDrive']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d53fd['GPhotos']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d53fd['OneDrive']:return{'text':t('Insert'===_0x1b9478?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27cd0d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6c6a54=_0x3202;(function(_0x3c1a93,_0x54e9c1){var _0x4f5e24=_0x3202,_0x40210f=_0x3c1a93();while(!![]){try{var _0x19d680=-parseInt(_0x4f5e24(0xcf))/0x1+parseInt(_0x4f5e24(0xd3))/0x2*(-parseInt(_0x4f5e24(0xd6))/0x3)+parseInt(_0x4f5e24(0xd5))/0x4*(parseInt(_0x4f5e24(0xcc))/0x5)+parseInt(_0x4f5e24(0xd8))/0x6*(parseInt(_0x4f5e24(0xd2))/0x7)+parseInt(_0x4f5e24(0xcd))/0x8*(parseInt(_0x4f5e24(0xdb))/0x9)+parseInt(_0x4f5e24(0xd0))/0xa*(parseInt(_0x4f5e24(0xd1))/0xb)+parseInt(_0x4f5e24(0xd9))/0xc;if(_0x19d680===_0x54e9c1)break;else _0x40210f['push'](_0x40210f['shift']());}catch(_0x253d20){_0x40210f['push'](_0x40210f['shift']());}}}(_0x28da,0xeb210));function _0x3202(_0x563f87,_0x122b3d){var _0x28da73=_0x28da();return _0x3202=function(_0x320224,_0x32908b){_0x320224=_0x320224-0xc7;var _0x1b1ce1=_0x28da73[_0x320224];return _0x1b1ce1;},_0x3202(_0x563f87,_0x122b3d);}import{FocusTracker as _0x4a2e01}from'ckeditor5/src/utils.js';import{View as _0x50f1e3,FocusCycler as _0x3496a4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x50f1e3{[_0x6c6a54(0xca)];[_0x6c6a54(0xd4)];constructor(_0x4cea6a){var _0x405b10=_0x6c6a54;super(_0x4cea6a),this[_0x405b10(0xca)]=new _0x4a2e01(),this[_0x405b10(0xd4)]=new _0x3496a4({'focusables':this[_0x405b10(0xd7)](),'focusTracker':this[_0x405b10(0xca)]});}[_0x6c6a54(0xc9)](){var _0x4e699e=_0x6c6a54;return{'tag':_0x4e699e(0xda),'attributes':{'aria-hidden':_0x4e699e(0xcb),'tabindex':'0'},'on':{'focus':this[_0x4e699e(0xc7)]['to'](()=>{var _0x298c58=_0x4e699e;this[_0x298c58(0xd4)][_0x298c58(0xc8)](_0x298c58(0xce));})}};}}function _0x28da(){var _0xfef15a=['div','1089eBZHeO','bindTemplate','fire','getFocusableElement','focusTracker','true','535865nbcsCb','2168FJxZGr','forwardCycle','563161IZkjaA','2574190dtVOFp','22cNcmcR','482573hDNfPP','701542XGsPtJ','focusCycler','16TDJbJm','15mwCVoI','createCollection','12EHoYpf','25990860pbyYrV'];_0x28da=function(){return _0xfef15a;};return _0x28da();}
23
+ var _0x1a71af=_0x48c3;function _0x48c3(_0x15e875,_0x6155d7){var _0x5c905e=_0x5c90();return _0x48c3=function(_0x48c3fd,_0x2ca415){_0x48c3fd=_0x48c3fd-0x77;var _0x4ae4d2=_0x5c905e[_0x48c3fd];return _0x4ae4d2;},_0x48c3(_0x15e875,_0x6155d7);}(function(_0x365ff8,_0x152301){var _0x146c83=_0x48c3,_0x246c5f=_0x365ff8();while(!![]){try{var _0x55adef=parseInt(_0x146c83(0x7d))/0x1+parseInt(_0x146c83(0x7f))/0x2+-parseInt(_0x146c83(0x7a))/0x3+parseInt(_0x146c83(0x87))/0x4*(-parseInt(_0x146c83(0x89))/0x5)+parseInt(_0x146c83(0x79))/0x6*(-parseInt(_0x146c83(0x7b))/0x7)+-parseInt(_0x146c83(0x88))/0x8*(parseInt(_0x146c83(0x84))/0x9)+-parseInt(_0x146c83(0x78))/0xa*(-parseInt(_0x146c83(0x7e))/0xb);if(_0x55adef===_0x152301)break;else _0x246c5f['push'](_0x246c5f['shift']());}catch(_0x23da11){_0x246c5f['push'](_0x246c5f['shift']());}}}(_0x5c90,0x7a1ad));function _0x5c90(){var _0x1565ae=['true','focusTracker','172071jhiBVI','getFocusableElement','forwardCycle','8frNTEG','88exjBkQ','349310gueNtv','focusCycler','createCollection','10UIFDFy','610452WqQgtd','2981559xAupxq','21ARZtQt','bindTemplate','40171gFFOgS','22067353HCdRBV','205918tKvMQv','fire','div'];_0x5c90=function(){return _0x1565ae;};return _0x5c90();}import{FocusTracker as _0x170276}from'ckeditor5/src/utils.js';import{View as _0x1fc76f,FocusCycler as _0x100744}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1fc76f{[_0x1a71af(0x83)];[_0x1a71af(0x8a)];constructor(_0x5b22eb){var _0x52e719=_0x1a71af;super(_0x5b22eb),this[_0x52e719(0x83)]=new _0x170276(),this[_0x52e719(0x8a)]=new _0x100744({'focusables':this[_0x52e719(0x77)](),'focusTracker':this[_0x52e719(0x83)]});}[_0x1a71af(0x85)](){var _0x5b4544=_0x1a71af;return{'tag':_0x5b4544(0x81),'attributes':{'aria-hidden':_0x5b4544(0x82),'tabindex':'0'},'on':{'focus':this[_0x5b4544(0x7c)]['to'](()=>{var _0x465dc7=_0x5b4544;this[_0x465dc7(0x8a)][_0x465dc7(0x80)](_0x465dc7(0x86));})}};}}