@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250622.0 → 0.0.0-nightly-20250624.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bf272=_0x169a;function _0x169a(_0x4856b1,_0x5a41db){const _0x201584=_0x2015();return _0x169a=function(_0x169a02,_0x2d7588){_0x169a02=_0x169a02-0x19f;let _0x1e322e=_0x201584[_0x169a02];return _0x1e322e;},_0x169a(_0x4856b1,_0x5a41db);}(function(_0x30c335,_0x30af51){const _0x7f8bae=_0x169a,_0x5820a6=_0x30c335();while(!![]){try{const _0x31bd62=-parseInt(_0x7f8bae(0x1a1))/0x1+parseInt(_0x7f8bae(0x1c9))/0x2*(parseInt(_0x7f8bae(0x1c2))/0x3)+-parseInt(_0x7f8bae(0x1a3))/0x4+parseInt(_0x7f8bae(0x1e6))/0x5+parseInt(_0x7f8bae(0x1a8))/0x6+parseInt(_0x7f8bae(0x1e9))/0x7+parseInt(_0x7f8bae(0x1a0))/0x8;if(_0x31bd62===_0x30af51)break;else _0x5820a6['push'](_0x5820a6['shift']());}catch(_0x28eeed){_0x5820a6['push'](_0x5820a6['shift']());}}}(_0x2015,0xa5230));import{Plugin as _0x5c04af}from'ckeditor5/src/core.js';import{Dialog as _0x3a592b}from'ckeditor5/src/ui.js';import{createElement as _0x32092a,global as _0x533126,uid as _0x3ca465}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x31dd41}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x52fd1f}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4d05e5}from'./utils/editingutils.js';function _0x2015(){const _0x4724a6=['3015792OsPfnb','563209pmgZUq','uc-config','5190036SszTAE','body','appendChild','render','remove','4190118reQduZ','requires','uc-upload-ctx-provider','config','uploader-','input[uploadcare-file-input]','init','afterInit','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','join','map','cleanupImage','add','imageBlock','extend','UploadcareEditing','elementToAttribute','schema','pluginName','_ctxElement','_initImageProcessingIndicator','href','_initCtx','PictureEditing','ctxElement','editing','6VlqRbw','get','isPremiumPlugin','once','removeAttribute','imageInline','_initSchema','19976mKLard','editor','upcast','isOfficialPlugin','fromCharCode','true','configElement','model','querySelector','data-uc-image-id','isRegistered','execute','getSelectedElement','_configElement','getAttribute','iconHrefResolver','closeMax','destroy','uploadcare.pubkey','attributeToAttribute','insertImage','for','replaceImageSource','contentLanguage','selection','uploadcareImageId','document','ucContextId','_initConfig','2682360iWwUjx','commands','downcast','6337401OxcCHk','locale','_initConversion','uploadcareImageReplace','uploadcare','#uc-icon-arrow-down','uploadcare.uploader','listenTo','view','conversion'];_0x2015=function(){return _0x4724a6;};return _0x2015();}export class UploadcareEditing extends _0x5c04af{[_0x2bf272(0x1d6)]=null;[_0x2bf272(0x1bb)]=null;static get[_0x2bf272(0x1ba)](){const _0x1e9905=_0x2bf272;return _0x1e9905(0x1b7);}static get[_0x2bf272(0x1a9)](){const _0x1ed22d=_0x2bf272;return[_0x1ed22d(0x1bf),_0x52fd1f,_0x3a592b];}static get[_0x2bf272(0x1cc)](){return!0x0;}static get[_0x2bf272(0x1c4)](){return!0x0;}[_0x2bf272(0x1e4)];get[_0x2bf272(0x1cf)](){const _0xbc62a6=_0x2bf272;return this[_0xbc62a6(0x1d6)];}get[_0x2bf272(0x1c0)](){const _0x20f809=_0x2bf272;return this[_0x20f809(0x1bb)];}constructor(_0x1e80a3){const _0x26b12a=_0x2bf272;super(_0x1e80a3),this[_0x26b12a(0x1e4)]=_0x3ca465();}[_0x2bf272(0x1ae)](){const _0x5762b2=_0x2bf272,_0x8a4a24=this[_0x5762b2(0x1ca)];_0x8a4a24[_0x5762b2(0x1e7)][_0x5762b2(0x1b4)](_0x5762b2(0x1ed),new _0x31dd41(_0x8a4a24));}[_0x2bf272(0x1af)](){const _0x4c00bb=_0x2bf272;this[_0x4c00bb(0x1c8)](),this[_0x4c00bb(0x1eb)](),this[_0x4c00bb(0x1e5)](),this[_0x4c00bb(0x1be)](),this[_0x4c00bb(0x1bc)](),this[_0x4c00bb(0x1f0)](this[_0x4c00bb(0x1ca)],_0x4c00bb(0x1da),()=>{const _0x5788c4=_0x4c00bb;this[_0x5788c4(0x1d6)]&&(this[_0x5788c4(0x1d6)][_0x5788c4(0x1a7)](),this[_0x5788c4(0x1d6)]=null),this[_0x5788c4(0x1bb)]&&(this[_0x5788c4(0x1bb)][_0x5788c4(0x1a7)](),this[_0x5788c4(0x1bb)]=null);const _0x4c583f=_0x533126[_0x5788c4(0x1e3)][_0x5788c4(0x1d1)](_0x5788c4(0x1ad));_0x4c583f&&_0x4c583f[_0x5788c4(0x1a7)]();}),async function(_0x332e6e){const _0x182eeb=_0x9b7fc0([0x63,0x57,0x30,0x42,0x4a,0x6d,0x4c,0x74,0x4d,0x41,0x49,0x50,0x71,0x64,0x44,0x6c,0x65,0x51,0x66,0x79,0x6f,0x4f,0x56,0x68,0x31,0x72,0x35,0x48,0x34,0x67,0x37,0x5a,0x53,0x55,0x6a,0x54,0x47,0x62,0x76,0x59,0x61,0x4e,0x39,0x77,0x36,0x38,0x58,0x70,0x6b,0x32,0x45,0x6e,0x46,0x75,0x4b,0x73,0x43,0x33,0x52,0x78,0x7a,0x69]),_0x50f778=0x48619f64,_0x2f8b65=0x4866f41c^_0x50f778,_0x5e5960=window[_0x9b7fc0([0x44,0x61,0x74,0x65])][_0x9b7fc0([0x6e,0x6f,0x77])](),_0x44938e=_0x332e6e[_0x9b7fc0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59728a=new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa6c422=>{_0x44938e[_0x9b7fc0([0x6f,0x6e,0x63,0x65])](_0x9b7fc0([0x72,0x65,0x61,0x64,0x79]),_0xa6c422);}),_0x573697={[_0x9b7fc0([0x6b,0x74,0x79])]:_0x9b7fc0([0x45,0x43]),[_0x9b7fc0([0x75,0x73,0x65])]:_0x9b7fc0([0x73,0x69,0x67]),[_0x9b7fc0([0x63,0x72,0x76])]:_0x9b7fc0([0x50,0x2d,0x32,0x35,0x36]),[_0x9b7fc0([0x78])]:_0x9b7fc0([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]),[_0x9b7fc0([0x79])]:_0x9b7fc0([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]),[_0x9b7fc0([0x61,0x6c,0x67])]:_0x9b7fc0([0x45,0x53,0x32,0x35,0x36])},_0x410985=_0x44938e[_0x9b7fc0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9b7fc0([0x67,0x65,0x74])](_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45b607(){let _0x41098c,_0x191f73=null,_0x16d2f2=null;try{if(_0x410985==_0x9b7fc0([0x47,0x50,0x4c]))return _0x9b7fc0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41098c=_0x38a855(),!_0x41098c)return _0x9b7fc0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41098c[_0x9b7fc0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16d2f2=_0x274b62(_0x41098c[_0x9b7fc0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41098c[_0x9b7fc0([0x6a,0x74,0x69])])),await _0x32a080()?_0x4a5316()?_0x399a62()?_0x9b7fc0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x127c27()?(_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9b7fc0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x191f73=_0x586dd3(_0x9b7fc0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9b7fc0([0x74,0x72,0x69,0x61,0x6c])&&(_0x191f73=_0x586dd3(_0x9b7fc0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e6aa9()):_0x9b7fc0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9b7fc0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9b7fc0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9b7fc0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x399a62(){const _0x190b84=[_0x9b7fc0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9b7fc0([0x74,0x72,0x69,0x61,0x6c])][_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e5960/0x3e8:0xe10*_0x2f8b65;return _0x41098c[_0x9b7fc0([0x65,0x78,0x70])]<_0x190b84;}function _0x4a5316(){const _0x17861a=_0x41098c[_0x9b7fc0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17861a&&(!!_0x17861a[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b7fc0([0x2a]))||!!_0x17861a[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b7fc0([0x55,0x50,0x4c,0x43])));}function _0x127c27(){const _0x359f9e=_0x169a,_0x5523a4=_0x41098c[_0x9b7fc0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5523a4||0x0==_0x5523a4[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3158b4}=new URL(window[_0x9b7fc0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x359f9e(0x1bd)]);if(_0x5523a4[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3158b4))return!0x0;const _0x3c54d=_0x3158b4[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e]));return _0x5523a4[_0x9b7fc0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c4d69=>_0x2c4d69[_0x9b7fc0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b7fc0([0x2a])))[_0x9b7fc0([0x6d,0x61,0x70])](_0x4a03f4=>_0x4a03f4[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e])))[_0x9b7fc0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43ae5f=>_0x43ae5f[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c54d[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9b7fc0([0x6d,0x61,0x70])](_0x12d246=>Array(_0x3c54d[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x12d246[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9b7fc0([0x66,0x69,0x6c,0x6c])](_0x12d246[0x0]===_0x9b7fc0([0x2a])?_0x9b7fc0([0x2a]):'')[_0x9b7fc0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x12d246))[_0x9b7fc0([0x73,0x6f,0x6d,0x65])](_0x30d923=>_0x3c54d[_0x9b7fc0([0x65,0x76,0x65,0x72,0x79])]((_0x46c8a0,_0x5e7b3e)=>_0x30d923[_0x5e7b3e]===_0x46c8a0||_0x30d923[_0x5e7b3e]===_0x9b7fc0([0x2a])));}function _0x2e6aa9(){return _0x191f73&&_0x16d2f2?new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c0b9a,_0x578d84)=>{_0x191f73[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x2c0b9a,_0x578d84),_0x16d2f2[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x30fb2e=>{_0x30fb2e!=_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0b9a(_0x30fb2e);},_0x578d84);}):_0x191f73||_0x16d2f2||_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x274b62(_0x4ca96d,_0x27260f){return new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7273=>{if(_0x1a3474())return _0x4b7273(_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64]));_0x4c7812(),_0x44938e[_0x9b7fc0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9b7fc0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa23b90=!0x1;const _0x253c22=_0x3ca465();function _0x3addd1(_0x3e1fa7){return!!_0x3e1fa7&&(typeof _0x3e1fa7===_0x9b7fc0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e1fa7===_0x9b7fc0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e1fa7[_0x9b7fc0([0x74,0x68,0x65,0x6e])]===_0x9b7fc0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e1fa7[_0x9b7fc0([0x63,0x61,0x74,0x63,0x68])]===_0x9b7fc0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cbe9b(_0x1002b5){_0x329746(_0x1002b5)[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x1f5d90=>{if(!_0x1f5d90||_0x1f5d90[_0x9b7fc0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9b7fc0([0x6f,0x6b]))return _0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a79b2(_0x257605(_0x253c22+_0x27260f))!=_0x1f5d90[_0x9b7fc0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64]);})[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0xa16db3=>(_0xc5b36c(),_0xa16db3),()=>{const _0x3dcfbb=_0x4df1e8();return null==_0x3dcfbb?(_0xc5b36c(),_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64])):_0x9b7fc0(_0x5e5960-_0x3dcfbb>(0x6c6d1b64^_0x50f778)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x4b7273)[_0x9b7fc0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b7273(_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x97bd8=0x485771e4^_0x50f778;function _0xc5b36c(){const _0x1114be=_0x9b7fc0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a79b2(_0x257605(_0x4ca96d)),_0x15c86d=_0x76e234(_0x5a79b2(window[_0x9b7fc0([0x4d,0x61,0x74,0x68])][_0x9b7fc0([0x63,0x65,0x69,0x6c])](_0x5e5960/_0x97bd8)));window[_0x9b7fc0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9b7fc0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1114be,_0x15c86d);}function _0x4df1e8(){const _0x24c0e7=_0x9b7fc0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a79b2(_0x257605(_0x4ca96d)),_0x120cf4=window[_0x9b7fc0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9b7fc0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24c0e7);return _0x120cf4?window[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x76e234(_0x120cf4),0x10)*_0x97bd8:null;}function _0x329746(_0x5501b4){return new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6c25eb,_0x55e5d6)=>{_0x5501b4[_0x9b7fc0([0x74,0x68,0x65,0x6e])](_0x6c25eb,_0x55e5d6),window[_0x9b7fc0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55e5d6,0x48604ba4^_0x50f778);});}}_0x44938e[_0x9b7fc0([0x6f,0x6e])](_0x9b7fc0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43d619,_0x3c5812)=>{if(_0x3c5812[0x0]!=_0x4ca96d)return _0x4b7273(_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c5812[0x1]={..._0x3c5812[0x1],[_0x9b7fc0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x253c22};},{[_0x9b7fc0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9b7fc0([0x68,0x69,0x67,0x68])}),_0x44938e[_0x9b7fc0([0x6f,0x6e])](_0x9b7fc0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7257c5=>{_0x3addd1(_0x7257c5[_0x9b7fc0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa23b90=!0x0,_0x3cbe9b(_0x7257c5[_0x9b7fc0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9b7fc0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9b7fc0([0x6c,0x6f,0x77])}),_0x59728a[_0x9b7fc0([0x74,0x68,0x65,0x6e])](()=>{_0xa23b90||_0x4b7273(_0x9b7fc0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a3474(){return _0x44938e[_0x9b7fc0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9b7fc0([0x76,0x69,0x65,0x77])][_0x9b7fc0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9b7fc0([0x61,0x75,0x74,0x6f]);}function _0x4c7812(){_0x44938e[_0x9b7fc0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9b7fc0([0x76,0x69,0x65,0x77])][_0x9b7fc0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9b7fc0([0x61,0x75,0x74,0x6f]);}}function _0x586dd3(_0x4f4601){const _0x1c3f73=[new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e7b0d=>setTimeout(_0x1e7b0d,0x4868a1a8^_0x50f778)),_0x59728a[_0x9b7fc0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdad2eb=>{let _0x32c541=0x0;_0x44938e[_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b7fc0([0x6f,0x6e])](_0x9b7fc0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59b381,_0x1d174d)=>{_0x1d174d[0x0][_0x9b7fc0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32c541++,_0x32c541==(0x48619e9c^_0x50f778)&&(_0xdad2eb(),_0x59b381[_0x9b7fc0([0x6f,0x66,0x66])]());});}))];return window[_0x9b7fc0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9b7fc0([0x72,0x61,0x63,0x65])](_0x1c3f73)[_0x9b7fc0([0x74,0x68,0x65,0x6e])](()=>_0x4f4601);}async function _0x816e59(){await _0x59728a,_0x44938e[_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b7fc0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c5b5a,_0x44938e[_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9b7fc0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c5b5a,_0x44938e[_0x9b7fc0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9b7fc0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e884f(_0x500976){const _0x59c664=_0x3c4426();_0x44938e[_0x59c664]=_0x9b7fc0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x500976,_0x500976!=_0x9b7fc0([0x56,0x61,0x6c,0x69,0x64])&&_0x816e59();}function _0x3c4426(){const _0x3b6242=window[_0x9b7fc0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9b7fc0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9b7fc0([0x6e,0x6f,0x77])]())[_0x9b7fc0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9b7fc0([0x2e]),'');let _0x35afb8=_0x9b7fc0([0x63]);for(let _0x1c84d4=0x0;_0x1c84d4<_0x3b6242[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c84d4+=0x2){let _0x5e9dc9=window[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b6242[_0x9b7fc0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c84d4,_0x1c84d4+0x2));_0x5e9dc9>=_0x182eeb[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e9dc9-=_0x182eeb[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35afb8+=_0x182eeb[_0x5e9dc9];}return _0x35afb8;}function _0x38a855(){const _0x43172f=_0x410985[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e]));if(0x3!=_0x43172f[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c1263(_0x43172f[0x1]);function _0x3c1263(_0x353c42){const _0x483511=_0x2b9ee3(_0x353c42);return _0x483511&&_0x3530be()?_0x483511:null;function _0x3530be(){const _0x6d91b0=_0x483511[_0x9b7fc0([0x6a,0x74,0x69])],_0x1fdc3d=window[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6d91b0[_0x9b7fc0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6d91b0[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49b04f={..._0x483511,[_0x9b7fc0([0x6a,0x74,0x69])]:_0x6d91b0[_0x9b7fc0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6d91b0[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49b04f[_0x9b7fc0([0x76,0x63])],_0x257605(_0x49b04f)==_0x1fdc3d;}}}async function _0x32a080(){let _0x15ffc8=!0x0;try{const _0x5d6484=_0x410985[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])](_0x9b7fc0([0x2e])),[_0x3e0517,_0x135a55,_0x36a731]=_0x5d6484;return _0x44c300(_0x3e0517),await _0x2bb5a6(_0x3e0517,_0x135a55,_0x36a731),_0x15ffc8;}catch{return!0x1;}function _0x44c300(_0x27a71e){const _0x1ac2b2=_0x2b9ee3(_0x27a71e);_0x1ac2b2&&_0x1ac2b2[_0x9b7fc0([0x61,0x6c,0x67])]==_0x9b7fc0([0x45,0x53,0x32,0x35,0x36])||(_0x15ffc8=!0x1);}async function _0x2bb5a6(_0xfeaca9,_0x2fd436,_0x470951){const _0x4f3fbe=window[_0x9b7fc0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9b7fc0([0x66,0x72,0x6f,0x6d])](_0x26f09e(_0x470951),_0x2ef043=>_0x2ef043[_0x9b7fc0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e700a=new window[(_0x9b7fc0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9b7fc0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfeaca9+_0x9b7fc0([0x2e])+_0x2fd436),_0x5266c4=window[_0x9b7fc0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9b7fc0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5266c4)return;const _0x21cdb7=await _0x5266c4[_0x9b7fc0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9b7fc0([0x6a,0x77,0x6b]),_0x573697,{[_0x9b7fc0([0x6e,0x61,0x6d,0x65])]:_0x9b7fc0([0x45,0x43,0x44,0x53,0x41]),[_0x9b7fc0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9b7fc0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9b7fc0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5266c4[_0x9b7fc0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9b7fc0([0x6e,0x61,0x6d,0x65])]:_0x9b7fc0([0x45,0x43,0x44,0x53,0x41]),[_0x9b7fc0([0x68,0x61,0x73,0x68])]:{[_0x9b7fc0([0x6e,0x61,0x6d,0x65])]:_0x9b7fc0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21cdb7,_0x4f3fbe,_0x3e700a)||(_0x15ffc8=!0x1);}}function _0x2b9ee3(_0x43729c){return _0x43729c[_0x9b7fc0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9b7fc0([0x65,0x79]))?JSON[_0x9b7fc0([0x70,0x61,0x72,0x73,0x65])](_0x26f09e(_0x43729c)):null;}function _0x26f09e(_0x1f8e07){return window[_0x9b7fc0([0x61,0x74,0x6f,0x62])](_0x1f8e07[_0x9b7fc0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9b7fc0([0x2b]))[_0x9b7fc0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9b7fc0([0x2f])));}function _0x257605(_0x3d80de){let _0x45543b=0x1505;function _0x30cd48(_0x5ede0c){for(let _0x155f5d=0x0;_0x155f5d<_0x5ede0c[_0x9b7fc0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x155f5d++){const _0x388cb5=_0x5ede0c[_0x9b7fc0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x155f5d);_0x45543b=(_0x45543b<<0x5)+_0x45543b+_0x388cb5,_0x45543b&=_0x45543b;}}function _0x153e33(_0x34a2b5){Array[_0x9b7fc0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34a2b5)?_0x34a2b5[_0x9b7fc0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x153e33):_0x34a2b5&&typeof _0x34a2b5==_0x9b7fc0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9b7fc0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34a2b5)[_0x9b7fc0([0x73,0x6f,0x72,0x74])]()[_0x9b7fc0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3316d5,_0x1748dd])=>{_0x30cd48(_0x3316d5),_0x153e33(_0x1748dd);}):_0x30cd48(window[_0x9b7fc0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34a2b5));}return _0x153e33(_0x3d80de),_0x45543b>>>0x0;}function _0x5a79b2(_0x18aca6){return _0x18aca6[_0x9b7fc0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9b7fc0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9b7fc0([0x30]));}function _0x76e234(_0x827d10){return _0x827d10[_0x9b7fc0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9b7fc0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9b7fc0([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c5b5a(){}function _0x9b7fc0(_0x1d3fba){const _0x4d7a9c=_0x169a;return _0x1d3fba[_0x4d7a9c(0x1b2)](_0x337fd5=>String[_0x4d7a9c(0x1cd)](_0x337fd5))[_0x4d7a9c(0x1b1)]('');}_0x2e884f(await _0x45b607());}(this);}[_0x2bf272(0x1c8)](){const _0x916a5d=_0x2bf272,_0x1179f3=this[_0x916a5d(0x1ca)][_0x916a5d(0x1d0)][_0x916a5d(0x1b9)];_0x1179f3[_0x916a5d(0x1d3)](_0x916a5d(0x1b5))&&_0x1179f3[_0x916a5d(0x1b6)](_0x916a5d(0x1b5),{'allowAttributes':[_0x916a5d(0x1e2)]}),_0x1179f3[_0x916a5d(0x1d3)](_0x916a5d(0x1c7))&&_0x1179f3[_0x916a5d(0x1b6)](_0x916a5d(0x1c7),{'allowAttributes':[_0x916a5d(0x1e2)]});}[_0x2bf272(0x1eb)](){const _0x2d1546=_0x2bf272,_0x304f83=this[_0x2d1546(0x1ca)];_0x304f83[_0x2d1546(0x19f)][_0x2d1546(0x1de)](_0x2d1546(0x1e8))[_0x2d1546(0x1dc)]({'model':_0x2d1546(0x1e2),'view':_0x2d1546(0x1d2)}),_0x304f83[_0x2d1546(0x19f)][_0x2d1546(0x1de)](_0x2d1546(0x1cb))[_0x2d1546(0x1b8)]({'model':{'key':_0x2d1546(0x1e2),'value':_0x1ac811=>_0x1ac811[_0x2d1546(0x1d7)](_0x2d1546(0x1d2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3279d9=_0x304f83[_0x2d1546(0x1e7)][_0x2d1546(0x1c3)](_0x2d1546(0x1df));_0x3279d9&&this[_0x2d1546(0x1f0)](_0x3279d9,_0x2d1546(0x1b3),(_0x1dc649,[_0x31f83e,_0x2e8500])=>{const _0x2a7e2c=_0x2d1546;_0x31f83e[_0x2a7e2c(0x1c6)](_0x2a7e2c(0x1e2),_0x2e8500);});}[_0x2bf272(0x1e5)](){const _0x5c6c68=_0x2bf272,_0x487d75=this[_0x5c6c68(0x1ca)][_0x5c6c68(0x1ab)][_0x5c6c68(0x1c3)](_0x5c6c68(0x1ef))||{},_0x5b7755=this[_0x5c6c68(0x1ca)][_0x5c6c68(0x1ab)][_0x5c6c68(0x1c3)](_0x5c6c68(0x1db))||'';this[_0x5c6c68(0x1d6)]=_0x32092a(_0x533126[_0x5c6c68(0x1e3)],_0x5c6c68(0x1a2),{..._0x487d75,'pubkey':_0x5b7755,'ctx-name':_0x5c6c68(0x1ac)+this[_0x5c6c68(0x1e4)],'sourceList':'','imgOnly':_0x5c6c68(0x1ce),'removeCopyright':_0x5c6c68(0x1ce),'localeName':this[_0x5c6c68(0x1ca)][_0x5c6c68(0x1ea)][_0x5c6c68(0x1e0)],'externalSourcesEmbedCss':_0x5c6c68(0x1b0)}),this[_0x5c6c68(0x1d6)][_0x5c6c68(0x1d8)]=_0x63a5a=>{const _0x592b77=_0x5c6c68;if(_0x592b77(0x1d9)==_0x63a5a)return _0x592b77(0x1ee);},_0x533126[_0x5c6c68(0x1e3)][_0x5c6c68(0x1a4)][_0x5c6c68(0x1a5)](this[_0x5c6c68(0x1d6)]);}[_0x2bf272(0x1be)](){const _0x21d74e=_0x2bf272;this[_0x21d74e(0x1bb)]=_0x32092a(_0x533126[_0x21d74e(0x1e3)],_0x21d74e(0x1aa),{'ctx-name':_0x21d74e(0x1ac)+this[_0x21d74e(0x1e4)]}),_0x533126[_0x21d74e(0x1e3)][_0x21d74e(0x1a4)][_0x21d74e(0x1a5)](this[_0x21d74e(0x1bb)]);}[_0x2bf272(0x1bc)](){const _0x1c6af4=_0x2bf272,_0x49a848=this[_0x1c6af4(0x1ca)][_0x1c6af4(0x1e7)][_0x1c6af4(0x1c3)](_0x1c6af4(0x1dd));_0x49a848&&this[_0x1c6af4(0x1f0)](_0x49a848,_0x1c6af4(0x1d4),()=>{const _0x366e1a=_0x1c6af4,_0x79cd69=this[_0x366e1a(0x1ca)][_0x366e1a(0x1d0)][_0x366e1a(0x1e3)][_0x366e1a(0x1e1)][_0x366e1a(0x1d5)]();_0x79cd69&&_0x79cd69[_0x366e1a(0x1d7)](_0x366e1a(0x1e2))&&this[_0x366e1a(0x1ca)][_0x366e1a(0x1c1)][_0x366e1a(0x1f1)][_0x366e1a(0x1c5)](_0x366e1a(0x1a6),()=>{const _0x5a4f70=_0x366e1a;_0x4d05e5(this[_0x5a4f70(0x1ca)],_0x79cd69);});});const _0x4877de=this[_0x1c6af4(0x1ca)][_0x1c6af4(0x1e7)][_0x1c6af4(0x1c3)](_0x1c6af4(0x1ec));_0x4877de&&this[_0x1c6af4(0x1f0)](_0x4877de,_0x1c6af4(0x1d4),()=>{const _0x536198=_0x1c6af4,_0x1bad4b=this[_0x536198(0x1ca)][_0x536198(0x1d0)][_0x536198(0x1e3)][_0x536198(0x1e1)][_0x536198(0x1d5)]();_0x1bad4b&&_0x1bad4b[_0x536198(0x1d7)](_0x536198(0x1e2))&&this[_0x536198(0x1ca)][_0x536198(0x1c1)][_0x536198(0x1f1)][_0x536198(0x1c5)](_0x536198(0x1a6),()=>{const _0x1716fe=_0x536198;_0x4d05e5(this[_0x1716fe(0x1ca)],_0x1bad4b);});});}}
23
+ const _0x3f7442=_0x4c2f;(function(_0x14e9bf,_0x858351){const _0x25cbef=_0x4c2f,_0x54ee9f=_0x14e9bf();while(!![]){try{const _0x3bb424=parseInt(_0x25cbef(0x182))/0x1+-parseInt(_0x25cbef(0x186))/0x2*(parseInt(_0x25cbef(0x17c))/0x3)+-parseInt(_0x25cbef(0x1a1))/0x4+parseInt(_0x25cbef(0x1b8))/0x5+-parseInt(_0x25cbef(0x196))/0x6*(parseInt(_0x25cbef(0x1ba))/0x7)+-parseInt(_0x25cbef(0x1a9))/0x8+-parseInt(_0x25cbef(0x19f))/0x9*(-parseInt(_0x25cbef(0x19c))/0xa);if(_0x3bb424===_0x858351)break;else _0x54ee9f['push'](_0x54ee9f['shift']());}catch(_0x366d8a){_0x54ee9f['push'](_0x54ee9f['shift']());}}}(_0xb360,0x95974));import{Plugin as _0x1cc3cf}from'ckeditor5/src/core.js';function _0xb360(){const _0x4d9dbb=['insertImage','model','#uc-icon-arrow-down','afterInit','destroy','uploadcare.pubkey','for','ucContextId','uploadcare','1480485WOzjfn','replaceImageSource','true','selection','PictureEditing','init','1200003xiowNX','downcast','ctxElement','editing','4GTdlAI','get','imageInline','body','pluginName','isOfficialPlugin','\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','querySelector','view','join','fromCharCode','_initConfig','listenTo','configElement','_configElement','upcast','23946pwPVXF','href','locale','requires','uploadcareImageReplace','render','13605560eDfwqt','map','extend','9mbNNwQ','elementToAttribute','2194360yQZznW','getAttribute','uc-config','uploadcareImageId','uc-upload-ctx-provider','_initImageProcessingIndicator','isPremiumPlugin','execute','6656520SPMXqm','closeMax','conversion','data-uc-image-id','commands','contentLanguage','input[uploadcare-file-input]','_ctxElement','config','_initSchema','schema','getSelectedElement','attributeToAttribute','remove','once','5072345RoNZAt','isRegistered','1043vQMSOg','_initCtx','appendChild','UploadcareEditing','document','cleanupImage','add','iconHrefResolver','uploadcare.uploader','removeAttribute','_initConversion','editor','imageBlock','uploader-'];_0xb360=function(){return _0x4d9dbb;};return _0xb360();}import{Dialog as _0x37a9c3}from'ckeditor5/src/ui.js';import{createElement as _0x2d1deb,global as _0x9688af,uid as _0x1b0f5a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4b1369}from'./uploadcarecommand.js';function _0x4c2f(_0x3039d9,_0x1ee915){const _0xb3605d=_0xb360();return _0x4c2f=function(_0x4c2fc3,_0x126055){_0x4c2fc3=_0x4c2fc3-0x16d;let _0x1530b7=_0xb3605d[_0x4c2fc3];return _0x1530b7;},_0x4c2f(_0x3039d9,_0x1ee915);}import{UploadcareUploadAdapter as _0x3ed3c3}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x14afdb}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1cc3cf{[_0x3f7442(0x194)]=null;[_0x3f7442(0x1b0)]=null;static get[_0x3f7442(0x18a)](){const _0x2f021a=_0x3f7442;return _0x2f021a(0x1bd);}static get[_0x3f7442(0x199)](){const _0x37f153=_0x3f7442;return[_0x37f153(0x180),_0x3ed3c3,_0x37a9c3];}static get[_0x3f7442(0x18b)](){return!0x0;}static get[_0x3f7442(0x1a7)](){return!0x0;}[_0x3f7442(0x17a)];get[_0x3f7442(0x193)](){const _0x5e8c67=_0x3f7442;return this[_0x5e8c67(0x194)];}get[_0x3f7442(0x184)](){const _0x13a7cf=_0x3f7442;return this[_0x13a7cf(0x1b0)];}constructor(_0x341541){const _0x3122f0=_0x3f7442;super(_0x341541),this[_0x3122f0(0x17a)]=_0x1b0f5a();}[_0x3f7442(0x181)](){const _0x519f0c=_0x3f7442,_0x3f4bc7=this[_0x519f0c(0x170)];_0x3f4bc7[_0x519f0c(0x1ad)][_0x519f0c(0x1c0)](_0x519f0c(0x17b),new _0x4b1369(_0x3f4bc7));}[_0x3f7442(0x176)](){const _0x24945b=_0x3f7442;this[_0x24945b(0x1b2)](),this[_0x24945b(0x16f)](),this[_0x24945b(0x191)](),this[_0x24945b(0x1bb)](),this[_0x24945b(0x1a6)](),this[_0x24945b(0x192)](this[_0x24945b(0x170)],_0x24945b(0x177),()=>{const _0x23430d=_0x24945b;this[_0x23430d(0x194)]&&(this[_0x23430d(0x194)][_0x23430d(0x1b6)](),this[_0x23430d(0x194)]=null),this[_0x23430d(0x1b0)]&&(this[_0x23430d(0x1b0)][_0x23430d(0x1b6)](),this[_0x23430d(0x1b0)]=null);const _0x46d5a1=_0x9688af[_0x23430d(0x1be)][_0x23430d(0x18d)](_0x23430d(0x1af));_0x46d5a1&&_0x46d5a1[_0x23430d(0x1b6)]();}),async function(_0x15ce38){const _0x2818b6=_0x32df2b([0x42,0x70,0x78,0x63,0x71,0x35,0x39,0x33,0x50,0x4d,0x61,0x4f,0x65,0x58,0x69,0x43,0x67,0x52,0x6b,0x54,0x77,0x31,0x48,0x4b,0x79,0x64,0x4c,0x49,0x7a,0x4a,0x57,0x74,0x6f,0x53,0x56,0x36,0x5a,0x32,0x76,0x51,0x75,0x45,0x4e,0x47,0x37,0x6d,0x41,0x38,0x6a,0x59,0x46,0x44,0x62,0x34,0x66,0x6c,0x30,0x73,0x55,0x6e,0x72,0x68]),_0x13e0ab=0x7b27aef8,_0x4a05de=0x7b20c550^_0x13e0ab,_0x37b77d=window[_0x32df2b([0x44,0x61,0x74,0x65])][_0x32df2b([0x6e,0x6f,0x77])](),_0x3340ae=_0x15ce38[_0x32df2b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16de69=new window[(_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x273240=>{_0x3340ae[_0x32df2b([0x6f,0x6e,0x63,0x65])](_0x32df2b([0x72,0x65,0x61,0x64,0x79]),_0x273240);}),_0x100e31={[_0x32df2b([0x6b,0x74,0x79])]:_0x32df2b([0x45,0x43]),[_0x32df2b([0x75,0x73,0x65])]:_0x32df2b([0x73,0x69,0x67]),[_0x32df2b([0x63,0x72,0x76])]:_0x32df2b([0x50,0x2d,0x32,0x35,0x36]),[_0x32df2b([0x78])]:_0x32df2b([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]),[_0x32df2b([0x79])]:_0x32df2b([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]),[_0x32df2b([0x61,0x6c,0x67])]:_0x32df2b([0x45,0x53,0x32,0x35,0x36])},_0x241f18=_0x3340ae[_0x32df2b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x32df2b([0x67,0x65,0x74])](_0x32df2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x212f50(){let _0x7ed34f,_0x4d8e06=null,_0x416a13=null;try{if(_0x241f18==_0x32df2b([0x47,0x50,0x4c]))return _0x32df2b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7ed34f=_0x34f5d8(),!_0x7ed34f)return _0x32df2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7ed34f[_0x32df2b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x416a13=_0x13b30c(_0x7ed34f[_0x32df2b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7ed34f[_0x32df2b([0x6a,0x74,0x69])])),await _0x518459()?_0x12c7be()?_0x226ba4()?_0x32df2b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4acd57()?(_0x7ed34f[_0x32df2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32df2b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d8e06=_0x1da192(_0x32df2b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7ed34f[_0x32df2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x32df2b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d8e06=_0x1da192(_0x32df2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x269085()):_0x32df2b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x32df2b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x32df2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x32df2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x226ba4(){const _0x26ec44=[_0x32df2b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x32df2b([0x74,0x72,0x69,0x61,0x6c])][_0x32df2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7ed34f[_0x32df2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37b77d/0x3e8:0xe10*_0x4a05de;return _0x7ed34f[_0x32df2b([0x65,0x78,0x70])]<_0x26ec44;}function _0x12c7be(){const _0x547064=_0x7ed34f[_0x32df2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x547064&&(!!_0x547064[_0x32df2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32df2b([0x2a]))||!!_0x547064[_0x32df2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32df2b([0x55,0x50,0x4c,0x43])));}function _0x4acd57(){const _0x66eb5=_0x4c2f,_0xe21d69=_0x7ed34f[_0x32df2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe21d69||0x0==_0xe21d69[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a8822}=new URL(window[_0x32df2b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x66eb5(0x197)]);if(_0xe21d69[_0x32df2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a8822))return!0x0;const _0xa1a901=_0x2a8822[_0x32df2b([0x73,0x70,0x6c,0x69,0x74])](_0x32df2b([0x2e]));return _0xe21d69[_0x32df2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b5f06=>_0x5b5f06[_0x32df2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32df2b([0x2a])))[_0x32df2b([0x6d,0x61,0x70])](_0x164da5=>_0x164da5[_0x32df2b([0x73,0x70,0x6c,0x69,0x74])](_0x32df2b([0x2e])))[_0x32df2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x418b5d=>_0x418b5d[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa1a901[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32df2b([0x6d,0x61,0x70])](_0x39f669=>Array(_0xa1a901[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39f669[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x32df2b([0x66,0x69,0x6c,0x6c])](_0x39f669[0x0]===_0x32df2b([0x2a])?_0x32df2b([0x2a]):'')[_0x32df2b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39f669))[_0x32df2b([0x73,0x6f,0x6d,0x65])](_0x20e105=>_0xa1a901[_0x32df2b([0x65,0x76,0x65,0x72,0x79])]((_0x3bf6ed,_0x2f0801)=>_0x20e105[_0x2f0801]===_0x3bf6ed||_0x20e105[_0x2f0801]===_0x32df2b([0x2a])));}function _0x269085(){return _0x4d8e06&&_0x416a13?new window[(_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18f1a8,_0x2f74d0)=>{_0x4d8e06[_0x32df2b([0x74,0x68,0x65,0x6e])](_0x18f1a8,_0x2f74d0),_0x416a13[_0x32df2b([0x74,0x68,0x65,0x6e])](_0x5a46cc=>{_0x5a46cc!=_0x32df2b([0x56,0x61,0x6c,0x69,0x64])&&_0x18f1a8(_0x5a46cc);},_0x2f74d0);}):_0x4d8e06||_0x416a13||_0x32df2b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13b30c(_0x584d29,_0x2ebe41){return new window[(_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7fa5=>{if(_0x37f57c())return _0x5c7fa5(_0x32df2b([0x56,0x61,0x6c,0x69,0x64]));_0x2f87bf(),_0x3340ae[_0x32df2b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x32df2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d2c3a=!0x1;const _0x1c5c03=_0x1b0f5a();function _0x3b9db8(_0x18bf22){return!!_0x18bf22&&(typeof _0x18bf22===_0x32df2b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18bf22===_0x32df2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18bf22[_0x32df2b([0x74,0x68,0x65,0x6e])]===_0x32df2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18bf22[_0x32df2b([0x63,0x61,0x74,0x63,0x68])]===_0x32df2b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x315211(_0x4218af){_0x16a4ad(_0x4218af)[_0x32df2b([0x74,0x68,0x65,0x6e])](_0x55e1fb=>{if(!_0x55e1fb||_0x55e1fb[_0x32df2b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x32df2b([0x6f,0x6b]))return _0x32df2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x315d1e(_0x218986(_0x1c5c03+_0x2ebe41))!=_0x55e1fb[_0x32df2b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x32df2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x32df2b([0x56,0x61,0x6c,0x69,0x64]);})[_0x32df2b([0x74,0x68,0x65,0x6e])](_0x3eb4ce=>(_0x1f8db1(),_0x3eb4ce),()=>{const _0x4900d1=_0x42dd87();return null==_0x4900d1?(_0x1f8db1(),_0x32df2b([0x56,0x61,0x6c,0x69,0x64])):_0x32df2b(_0x37b77d-_0x4900d1>(0x5f2b2af8^_0x13e0ab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x32df2b([0x74,0x68,0x65,0x6e])](_0x5c7fa5)[_0x32df2b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c7fa5(_0x32df2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3cd0b7=0x7b114078^_0x13e0ab;function _0x1f8db1(){const _0x537f93=_0x32df2b([0x6c,0x6c,0x63,0x74,0x2d])+_0x315d1e(_0x218986(_0x584d29)),_0x9f511a=_0x3dc14e(_0x315d1e(window[_0x32df2b([0x4d,0x61,0x74,0x68])][_0x32df2b([0x63,0x65,0x69,0x6c])](_0x37b77d/_0x3cd0b7)));window[_0x32df2b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32df2b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x537f93,_0x9f511a);}function _0x42dd87(){const _0x4aa065=_0x32df2b([0x6c,0x6c,0x63,0x74,0x2d])+_0x315d1e(_0x218986(_0x584d29)),_0xc5bdc9=window[_0x32df2b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x32df2b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4aa065);return _0xc5bdc9?window[_0x32df2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dc14e(_0xc5bdc9),0x10)*_0x3cd0b7:null;}function _0x16a4ad(_0x2962b5){return new window[(_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33efdd,_0x3a8ef5)=>{_0x2962b5[_0x32df2b([0x74,0x68,0x65,0x6e])](_0x33efdd,_0x3a8ef5),window[_0x32df2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a8ef5,0x7b267a38^_0x13e0ab);});}}_0x3340ae[_0x32df2b([0x6f,0x6e])](_0x32df2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x232ef1,_0x4c19bf)=>{if(_0x4c19bf[0x0]!=_0x584d29)return _0x5c7fa5(_0x32df2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c19bf[0x1]={..._0x4c19bf[0x1],[_0x32df2b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c5c03};},{[_0x32df2b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32df2b([0x68,0x69,0x67,0x68])}),_0x3340ae[_0x32df2b([0x6f,0x6e])](_0x32df2b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x191078=>{_0x3b9db8(_0x191078[_0x32df2b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d2c3a=!0x0,_0x315211(_0x191078[_0x32df2b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x32df2b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x32df2b([0x6c,0x6f,0x77])}),_0x16de69[_0x32df2b([0x74,0x68,0x65,0x6e])](()=>{_0x4d2c3a||_0x5c7fa5(_0x32df2b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x37f57c(){return _0x3340ae[_0x32df2b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32df2b([0x76,0x69,0x65,0x77])][_0x32df2b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x32df2b([0x61,0x75,0x74,0x6f]);}function _0x2f87bf(){_0x3340ae[_0x32df2b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32df2b([0x76,0x69,0x65,0x77])][_0x32df2b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32df2b([0x61,0x75,0x74,0x6f]);}}function _0x1da192(_0x1cfce5){const _0x6119b4=[new window[(_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c3b3=>setTimeout(_0x26c3b3,0x7b2e9034^_0x13e0ab)),_0x16de69[_0x32df2b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9f8b07=>{let _0x4d6771=0x0;_0x3340ae[_0x32df2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x32df2b([0x6f,0x6e])](_0x32df2b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ab860,_0x253c7c)=>{_0x253c7c[0x0][_0x32df2b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d6771++,_0x4d6771==(0x7b27af00^_0x13e0ab)&&(_0x9f8b07(),_0x2ab860[_0x32df2b([0x6f,0x66,0x66])]());});}))];return window[_0x32df2b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32df2b([0x72,0x61,0x63,0x65])](_0x6119b4)[_0x32df2b([0x74,0x68,0x65,0x6e])](()=>_0x1cfce5);}async function _0x3952f8(){await _0x16de69,_0x3340ae[_0x32df2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x32df2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5760f3,_0x3340ae[_0x32df2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x32df2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5760f3,_0x3340ae[_0x32df2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x32df2b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c4d2c(_0x57b569){const _0x23ba69=_0x29a692();_0x3340ae[_0x23ba69]=_0x32df2b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57b569,_0x57b569!=_0x32df2b([0x56,0x61,0x6c,0x69,0x64])&&_0x3952f8();}function _0x29a692(){const _0x4538f6=window[_0x32df2b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x32df2b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x32df2b([0x6e,0x6f,0x77])]())[_0x32df2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x32df2b([0x2e]),'');let _0x4d547e=_0x32df2b([0x42]);for(let _0x286ed9=0x0;_0x286ed9<_0x4538f6[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x286ed9+=0x2){let _0x504c73=window[_0x32df2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4538f6[_0x32df2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x286ed9,_0x286ed9+0x2));_0x504c73>=_0x2818b6[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x504c73-=_0x2818b6[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d547e+=_0x2818b6[_0x504c73];}return _0x4d547e;}function _0x34f5d8(){const _0xde7fc8=_0x241f18[_0x32df2b([0x73,0x70,0x6c,0x69,0x74])](_0x32df2b([0x2e]));if(0x3!=_0xde7fc8[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc5292a(_0xde7fc8[0x1]);function _0xc5292a(_0xc1ed28){const _0x2edd90=_0x50ea96(_0xc1ed28);return _0x2edd90&&_0x2752ff()?_0x2edd90:null;function _0x2752ff(){const _0x16fb91=_0x2edd90[_0x32df2b([0x6a,0x74,0x69])],_0x1a758e=window[_0x32df2b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16fb91[_0x32df2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16fb91[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b8844={..._0x2edd90,[_0x32df2b([0x6a,0x74,0x69])]:_0x16fb91[_0x32df2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16fb91[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b8844[_0x32df2b([0x76,0x63])],_0x218986(_0x2b8844)==_0x1a758e;}}}async function _0x518459(){let _0x37efb3=!0x0;try{const _0x289b6f=_0x241f18[_0x32df2b([0x73,0x70,0x6c,0x69,0x74])](_0x32df2b([0x2e])),[_0x25a890,_0x300dca,_0x513d9a]=_0x289b6f;return _0xf883a9(_0x25a890),await _0x29caf8(_0x25a890,_0x300dca,_0x513d9a),_0x37efb3;}catch{return!0x1;}function _0xf883a9(_0xd62ae7){const _0x58ad84=_0x50ea96(_0xd62ae7);_0x58ad84&&_0x58ad84[_0x32df2b([0x61,0x6c,0x67])]==_0x32df2b([0x45,0x53,0x32,0x35,0x36])||(_0x37efb3=!0x1);}async function _0x29caf8(_0x25eea8,_0x7e203e,_0x380d91){const _0x2b5307=window[_0x32df2b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x32df2b([0x66,0x72,0x6f,0x6d])](_0x2cdb0a(_0x380d91),_0x54eec7=>_0x54eec7[_0x32df2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2bbbc8=new window[(_0x32df2b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x32df2b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25eea8+_0x32df2b([0x2e])+_0x7e203e),_0xaef787=window[_0x32df2b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x32df2b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaef787)return;const _0x2cf6b3=await _0xaef787[_0x32df2b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x32df2b([0x6a,0x77,0x6b]),_0x100e31,{[_0x32df2b([0x6e,0x61,0x6d,0x65])]:_0x32df2b([0x45,0x43,0x44,0x53,0x41]),[_0x32df2b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x32df2b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x32df2b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaef787[_0x32df2b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x32df2b([0x6e,0x61,0x6d,0x65])]:_0x32df2b([0x45,0x43,0x44,0x53,0x41]),[_0x32df2b([0x68,0x61,0x73,0x68])]:{[_0x32df2b([0x6e,0x61,0x6d,0x65])]:_0x32df2b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cf6b3,_0x2b5307,_0x2bbbc8)||(_0x37efb3=!0x1);}}function _0x50ea96(_0x39d1ab){return _0x39d1ab[_0x32df2b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x32df2b([0x65,0x79]))?JSON[_0x32df2b([0x70,0x61,0x72,0x73,0x65])](_0x2cdb0a(_0x39d1ab)):null;}function _0x2cdb0a(_0x5cef8f){return window[_0x32df2b([0x61,0x74,0x6f,0x62])](_0x5cef8f[_0x32df2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x32df2b([0x2b]))[_0x32df2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x32df2b([0x2f])));}function _0x218986(_0x5e5ab6){let _0x587702=0x1505;function _0x52b9f9(_0x8435c4){for(let _0x1837d7=0x0;_0x1837d7<_0x8435c4[_0x32df2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1837d7++){const _0x3dca6d=_0x8435c4[_0x32df2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1837d7);_0x587702=(_0x587702<<0x5)+_0x587702+_0x3dca6d,_0x587702&=_0x587702;}}function _0x3c8a58(_0x1b60ac){Array[_0x32df2b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b60ac)?_0x1b60ac[_0x32df2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c8a58):_0x1b60ac&&typeof _0x1b60ac==_0x32df2b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x32df2b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b60ac)[_0x32df2b([0x73,0x6f,0x72,0x74])]()[_0x32df2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26b8df,_0x30b4a0])=>{_0x52b9f9(_0x26b8df),_0x3c8a58(_0x30b4a0);}):_0x52b9f9(window[_0x32df2b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b60ac));}return _0x3c8a58(_0x5e5ab6),_0x587702>>>0x0;}function _0x315d1e(_0x4c2e07){return _0x4c2e07[_0x32df2b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x32df2b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x32df2b([0x30]));}function _0x3dc14e(_0x24a953){return _0x24a953[_0x32df2b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x32df2b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x32df2b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5760f3(){}function _0x32df2b(_0x3d83f2){const _0x44631a=_0x4c2f;return _0x3d83f2[_0x44631a(0x19d)](_0x1d379d=>String[_0x44631a(0x190)](_0x1d379d))[_0x44631a(0x18f)]('');}_0x2c4d2c(await _0x212f50());}(this);}[_0x3f7442(0x1b2)](){const _0x104af3=_0x3f7442,_0x5c88da=this[_0x104af3(0x170)][_0x104af3(0x174)][_0x104af3(0x1b3)];_0x5c88da[_0x104af3(0x1b9)](_0x104af3(0x171))&&_0x5c88da[_0x104af3(0x19e)](_0x104af3(0x171),{'allowAttributes':[_0x104af3(0x1a4)]}),_0x5c88da[_0x104af3(0x1b9)](_0x104af3(0x188))&&_0x5c88da[_0x104af3(0x19e)](_0x104af3(0x188),{'allowAttributes':[_0x104af3(0x1a4)]});}[_0x3f7442(0x16f)](){const _0x38fd76=_0x3f7442,_0x39581e=this[_0x38fd76(0x170)];_0x39581e[_0x38fd76(0x1ab)][_0x38fd76(0x179)](_0x38fd76(0x183))[_0x38fd76(0x1b5)]({'model':_0x38fd76(0x1a4),'view':_0x38fd76(0x1ac)}),_0x39581e[_0x38fd76(0x1ab)][_0x38fd76(0x179)](_0x38fd76(0x195))[_0x38fd76(0x1a0)]({'model':{'key':_0x38fd76(0x1a4),'value':_0x557f5e=>_0x557f5e[_0x38fd76(0x1a2)](_0x38fd76(0x1ac))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x52dd13=_0x39581e[_0x38fd76(0x1ad)][_0x38fd76(0x187)](_0x38fd76(0x17d));_0x52dd13&&this[_0x38fd76(0x192)](_0x52dd13,_0x38fd76(0x1bf),(_0x428bc2,[_0x368a27,_0x27baba])=>{const _0x3c8814=_0x38fd76;_0x368a27[_0x3c8814(0x16e)](_0x3c8814(0x1a4),_0x27baba);});}[_0x3f7442(0x191)](){const _0x175a14=_0x3f7442,_0x15c5b5=this[_0x175a14(0x170)][_0x175a14(0x1b1)][_0x175a14(0x187)](_0x175a14(0x16d))||{},_0x448e27=this[_0x175a14(0x170)][_0x175a14(0x1b1)][_0x175a14(0x187)](_0x175a14(0x178))||'';this[_0x175a14(0x194)]=_0x2d1deb(_0x9688af[_0x175a14(0x1be)],_0x175a14(0x1a3),{..._0x15c5b5,'pubkey':_0x448e27,'ctx-name':_0x175a14(0x172)+this[_0x175a14(0x17a)],'sourceList':'','imgOnly':_0x175a14(0x17e),'removeCopyright':_0x175a14(0x17e),'localeName':this[_0x175a14(0x170)][_0x175a14(0x198)][_0x175a14(0x1ae)],'externalSourcesEmbedCss':_0x175a14(0x18c)}),this[_0x175a14(0x194)][_0x175a14(0x1c1)]=_0x1e8d02=>{const _0x34f263=_0x175a14;if(_0x34f263(0x1aa)==_0x1e8d02)return _0x34f263(0x175);},_0x9688af[_0x175a14(0x1be)][_0x175a14(0x189)][_0x175a14(0x1bc)](this[_0x175a14(0x194)]);}[_0x3f7442(0x1bb)](){const _0x2cd7d9=_0x3f7442;this[_0x2cd7d9(0x1b0)]=_0x2d1deb(_0x9688af[_0x2cd7d9(0x1be)],_0x2cd7d9(0x1a5),{'ctx-name':_0x2cd7d9(0x172)+this[_0x2cd7d9(0x17a)]}),_0x9688af[_0x2cd7d9(0x1be)][_0x2cd7d9(0x189)][_0x2cd7d9(0x1bc)](this[_0x2cd7d9(0x1b0)]);}[_0x3f7442(0x1a6)](){const _0x38f168=_0x3f7442,_0x2625d2=this[_0x38f168(0x170)][_0x38f168(0x1ad)][_0x38f168(0x187)](_0x38f168(0x173));_0x2625d2&&this[_0x38f168(0x192)](_0x2625d2,_0x38f168(0x1a8),()=>{const _0x556861=_0x38f168,_0x10316f=this[_0x556861(0x170)][_0x556861(0x174)][_0x556861(0x1be)][_0x556861(0x17f)][_0x556861(0x1b4)]();_0x10316f&&_0x10316f[_0x556861(0x1a2)](_0x556861(0x1a4))&&this[_0x556861(0x170)][_0x556861(0x185)][_0x556861(0x18e)][_0x556861(0x1b7)](_0x556861(0x19b),()=>{const _0xc55cc1=_0x556861;_0x14afdb(this[_0xc55cc1(0x170)],_0x10316f);});});const _0x3cacd7=this[_0x38f168(0x170)][_0x38f168(0x1ad)][_0x38f168(0x187)](_0x38f168(0x19a));_0x3cacd7&&this[_0x38f168(0x192)](_0x3cacd7,_0x38f168(0x1a8),()=>{const _0x5b5d10=_0x38f168,_0x1dd110=this[_0x5b5d10(0x170)][_0x5b5d10(0x174)][_0x5b5d10(0x1be)][_0x5b5d10(0x17f)][_0x5b5d10(0x1b4)]();_0x1dd110&&_0x1dd110[_0x5b5d10(0x1a2)](_0x5b5d10(0x1a4))&&this[_0x5b5d10(0x170)][_0x5b5d10(0x185)][_0x5b5d10(0x18e)][_0x5b5d10(0x1b7)](_0x5b5d10(0x19b),()=>{const _0x83542=_0x5b5d10;_0x14afdb(this[_0x83542(0x170)],_0x1dd110);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2e006f,ObservableMixin as _0x513fd8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x560d5e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a6b11}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4860a4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xbe5b7a}from'../../utils/uploadutils.js';import{getImageUrls as _0x19b11f,getImageDimension as _0x3a1b87}from'../../utils/editingutils.js';import{isAncestor as _0x22ac85}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x513fd8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x579ff6,_0x38f95e,_0x4b3f44){super(),this['_editor']=_0x579ff6,this['_dialog']=_0x38f95e,this['_imageElement']=_0x4b3f44,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 _0x3550ce=this['_imageElement'],_0x251ff7=_0x3550ce['getAttribute']('uploadcareImageId'),_0x953e37=_0x3550ce['getAttribute']('src');if(_0x251ff7)await this['_loadImageInfo'](_0x251ff7,_0x953e37);else{if(this['_imageCache']['has'](_0x953e37)){const _0x231298=this['_imageCache']['get'](_0x953e37);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x231298['url'],this['imageDimension']=_0x231298['dimension'],this['imageId']=_0x231298['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x531c7c}=this['_editor'],t=_0x531c7c['t'],_0x19f99f=new _0x4860a4(_0x531c7c,this['imageStatus'],this['_attributes']);_0x19f99f['bind']('status')['to'](this,'imageStatus'),_0x19f99f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x19f99f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x19f99f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x19f99f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a6b11,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x19f99f,'position':_0x560d5e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x19f99f['focus']();},'onHide':()=>{_0x19f99f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x440aaf=>!_0x22ac85(_0x440aaf,_0x19f99f['element'])}});}['_loadImageInfo'](_0x4cc8b0,_0x3b4b3c){return _0xbe5b7a['getInfo'](_0x4cc8b0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x36becc=>{const {width:_0x1b6111,height:_0x8471d9}=_0x36becc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b4b3c,this['imageDimension']={'width':_0x1b6111,'height':_0x8471d9},this['imageId']=_0x4cc8b0;})['catch'](_0x1ed6bb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ed6bb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x36c18f,_0x1bce32){return this['_getImageAsFile'](_0x36c18f)['then'](_0x3d2944=>_0xbe5b7a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1bce32['signal'],'file':_0x3d2944,'onProgress':_0x228a60=>{_0x228a60&&_0x228a60['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x228a60['value']));}}))['then'](_0x3060b1=>{const {width:_0x4f6a7e,height:_0x56ff99}=_0x3060b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3060b1['cdnUrl'],this['imageDimension']={'width':_0x4f6a7e,'height':_0x56ff99},this['imageId']=_0x3060b1['uuid'],this['imageUploadProgress']=null;const _0x22af8d=_0x36c18f['getAttribute']('src');this['_imageCache']['set'](_0x22af8d,{'id':_0x3060b1['uuid'],'url':_0x3060b1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x58834b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58834b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a0987,_0x400b2c){_0x2a0987['on']('apply',(_0x288c96,_0x4a5687)=>{this['_replaceImage'](_0x400b2c,_0x4a5687['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a0987['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a0987['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x7c772,_0x1fc270,_0xdb0233){const _0x480605=this['_editor'],{width:_0x158a3c,height:_0x296086}=_0x3a1b87(_0x1fc270,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f88e6,imageSources:_0x2da71e}=_0x19b11f(_0x1fc270,_0x158a3c);_0x480605['model']['change'](_0x489e02=>{if('$graveyard'===_0x7c772['root']['rootName']){_0x480605['execute']('insertImage',{'imageType':_0x7c772['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x7c772['getAttributes']()),'uploadcareImageId':_0xdb0233,'src':_0x4f88e6,'sources':_0x2da71e,'width':_0x158a3c,'height':_0x296086}});const _0x2d6776=_0x7c772['getChildren']();_0x7c772=_0x480605['model']['document']['selection']['getSelectedElement']();for(const _0x120a45 of _0x2d6776)_0x489e02['append'](_0x489e02['cloneElement'](_0x120a45),_0x7c772);}else _0x489e02['setSelection'](_0x7c772,'on'),_0x480605['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x7c772['getAttributes']()),'uploadcareImageId':_0xdb0233,'src':_0x4f88e6,'sources':_0x2da71e,'width':_0x158a3c,'height':_0x296086},_0x7c772);_0x489e02['setSelection'](_0x7c772,'on');});}async['_getImageAsFile'](_0x7cb635){const _0x526f71=_0x2e006f['window'],_0x4ceb41=_0x2e006f['document']['location']['href'],_0x8f2cb7=new _0x526f71['URL'](_0x7cb635['getAttribute']('src'),_0x4ceb41);if('data:'===_0x8f2cb7['protocol']){const _0x5e710e=_0x8f2cb7['href']['split'](','),_0x876046=_0x5e710e[0x0]['match'](/:(.*?);/)[0x1],_0x1a6db5=_0x876046['split']('/')[0x1],_0x16747b=_0x526f71['atob'](_0x5e710e[_0x5e710e['length']-0x1]);let _0x3bbfbc=_0x16747b['length'];const _0x1ca766=new _0x526f71['Uint8Array'](_0x3bbfbc);for(;_0x3bbfbc--;)_0x1ca766[_0x3bbfbc]=_0x16747b['charCodeAt'](_0x3bbfbc);return new _0x526f71['File']([_0x1ca766],'image.'+_0x1a6db5,{'type':_0x876046});}const _0x6e6457=_0x8f2cb7['href']['split']('/'),_0x4a7da8=_0x6e6457[_0x6e6457['length']-0x1],_0x50df4a=_0x4a7da8['split']('.')[0x1];return _0x526f71['fetch'](_0x8f2cb7['href'])['then'](_0x4e09ac=>_0x4e09ac['clone']()['blob']())['then'](_0x216149=>new _0x526f71['File']([_0x216149],_0x4a7da8,{'type':'image/'+_0x50df4a}));}}
23
+ import{global as _0x94b497,ObservableMixin as _0x57aa27}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3d797d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4a4b93}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3e2ce9}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3d4d29}from'../../utils/uploadutils.js';import{getImageUrls as _0x5126ce,getImageDimension as _0x4d639d}from'../../utils/editingutils.js';import{isAncestor as _0x3ceb47}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x57aa27(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2353fb,_0xe5e571,_0x3be75b){super(),this['_editor']=_0x2353fb,this['_dialog']=_0xe5e571,this['_imageElement']=_0x3be75b,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 _0x5150e2=this['_imageElement'],_0x57d889=_0x5150e2['getAttribute']('uploadcareImageId'),_0x2ce2bb=_0x5150e2['getAttribute']('src');if(_0x57d889)await this['_loadImageInfo'](_0x57d889,_0x2ce2bb);else{if(this['_imageCache']['has'](_0x2ce2bb)){const _0x577b47=this['_imageCache']['get'](_0x2ce2bb);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x577b47['url'],this['imageDimension']=_0x577b47['dimension'],this['imageId']=_0x577b47['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4def4b}=this['_editor'],t=_0x4def4b['t'],_0x211aa9=new _0x3e2ce9(_0x4def4b,this['imageStatus'],this['_attributes']);_0x211aa9['bind']('status')['to'](this,'imageStatus'),_0x211aa9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x211aa9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x211aa9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x211aa9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4a4b93,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x211aa9,'position':_0x3d797d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x211aa9['focus']();},'onHide':()=>{_0x211aa9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2241d0=>!_0x3ceb47(_0x2241d0,_0x211aa9['element'])}});}['_loadImageInfo'](_0x46a1d6,_0x3205c2){return _0x3d4d29['getInfo'](_0x46a1d6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3c0dc4=>{const {width:_0x11c472,height:_0x241bf4}=_0x3c0dc4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3205c2,this['imageDimension']={'width':_0x11c472,'height':_0x241bf4},this['imageId']=_0x46a1d6;})['catch'](_0x16fb07=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x16fb07['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2b2c83,_0xf84ee3){return this['_getImageAsFile'](_0x2b2c83)['then'](_0x3eeff9=>_0x3d4d29['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xf84ee3['signal'],'file':_0x3eeff9,'onProgress':_0x521f94=>{_0x521f94&&_0x521f94['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x521f94['value']));}}))['then'](_0x490ffe=>{const {width:_0x2aff83,height:_0x141d47}=_0x490ffe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x490ffe['cdnUrl'],this['imageDimension']={'width':_0x2aff83,'height':_0x141d47},this['imageId']=_0x490ffe['uuid'],this['imageUploadProgress']=null;const _0x1d40a2=_0x2b2c83['getAttribute']('src');this['_imageCache']['set'](_0x1d40a2,{'id':_0x490ffe['uuid'],'url':_0x490ffe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xfd25a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfd25a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x10acbe,_0x36bdce){_0x10acbe['on']('apply',(_0x4028af,_0x2c406d)=>{this['_replaceImage'](_0x36bdce,_0x2c406d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x10acbe['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x10acbe['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x318185,_0x2f03ea,_0x337f94){const _0x415c27=this['_editor'],{width:_0x3fa320,height:_0x55bd3d}=_0x4d639d(_0x2f03ea,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4b014d,imageSources:_0x428f6f}=_0x5126ce(_0x2f03ea,_0x3fa320);_0x415c27['model']['change'](_0x4e9b13=>{if('$graveyard'===_0x318185['root']['rootName']){_0x415c27['execute']('insertImage',{'imageType':_0x318185['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x318185['getAttributes']()),'uploadcareImageId':_0x337f94,'src':_0x4b014d,'sources':_0x428f6f,'width':_0x3fa320,'height':_0x55bd3d}});const _0x3e3213=_0x318185['getChildren']();_0x318185=_0x415c27['model']['document']['selection']['getSelectedElement']();for(const _0x5bc6b5 of _0x3e3213)_0x4e9b13['append'](_0x4e9b13['cloneElement'](_0x5bc6b5),_0x318185);}else _0x4e9b13['setSelection'](_0x318185,'on'),_0x415c27['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x318185['getAttributes']()),'uploadcareImageId':_0x337f94,'src':_0x4b014d,'sources':_0x428f6f,'width':_0x3fa320,'height':_0x55bd3d},_0x318185);_0x4e9b13['setSelection'](_0x318185,'on');});}async['_getImageAsFile'](_0x3aab37){const _0x56be9a=_0x94b497['window'],_0xaa6f7b=_0x94b497['document']['location']['href'],_0x3c809d=new _0x56be9a['URL'](_0x3aab37['getAttribute']('src'),_0xaa6f7b);if('data:'===_0x3c809d['protocol']){const _0x3db5e6=_0x3c809d['href']['split'](','),_0x1d834a=_0x3db5e6[0x0]['match'](/:(.*?);/)[0x1],_0x394b87=_0x1d834a['split']('/')[0x1],_0x31091a=_0x56be9a['atob'](_0x3db5e6[_0x3db5e6['length']-0x1]);let _0x1bce53=_0x31091a['length'];const _0x159088=new _0x56be9a['Uint8Array'](_0x1bce53);for(;_0x1bce53--;)_0x159088[_0x1bce53]=_0x31091a['charCodeAt'](_0x1bce53);return new _0x56be9a['File']([_0x159088],'image.'+_0x394b87,{'type':_0x1d834a});}const _0x1efe03=_0x3c809d['href']['split']('/'),_0x26b377=_0x1efe03[_0x1efe03['length']-0x1],_0x5d97bb=_0x26b377['split']('.')[0x1];return _0x56be9a['fetch'](_0x3c809d['href'])['then'](_0x1e90cc=>_0x1e90cc['clone']()['blob']())['then'](_0x195498=>new _0x56be9a['File']([_0x195498],_0x26b377,{'type':'image/'+_0x5d97bb}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x455e(_0x2ab975,_0x37f765){const _0x1f7e42=_0x1f7e();return _0x455e=function(_0x455e4b,_0x3c01ea){_0x455e4b=_0x455e4b-0xbb;let _0x448e39=_0x1f7e42[_0x455e4b];return _0x448e39;},_0x455e(_0x2ab975,_0x37f765);}(function(_0x167c5b,_0x36d5aa){const _0x3f47c9=_0x455e,_0x3bc298=_0x167c5b();while(!![]){try{const _0x13acfc=parseInt(_0x3f47c9(0xbb))/0x1+parseInt(_0x3f47c9(0xc2))/0x2*(-parseInt(_0x3f47c9(0xc3))/0x3)+parseInt(_0x3f47c9(0xbe))/0x4+parseInt(_0x3f47c9(0xc0))/0x5+-parseInt(_0x3f47c9(0xca))/0x6*(-parseInt(_0x3f47c9(0xcb))/0x7)+parseInt(_0x3f47c9(0xc8))/0x8+-parseInt(_0x3f47c9(0xc6))/0x9;if(_0x13acfc===_0x36d5aa)break;else _0x3bc298['push'](_0x3bc298['shift']());}catch(_0x3b8826){_0x3bc298['push'](_0x3bc298['shift']());}}}(_0x1f7e,0x68d71));function _0x1f7e(){const _0x465c37=['3538810xeKkKF','image-edit','56094zzMOkD','72tVdLOz','setTemplate','ck-uploadcare-theme','21415878tpBVpy','imageSrc','4512496xNTshT','bindTemplate','4286616rEEtSi','7wgbkSA','816134OXTedM','set','uc-light','2718804dxJRXL','uc-cloud-image-editor'];_0x1f7e=function(){return _0x465c37;};return _0x1f7e();}import{View as _0x5c0d3f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5c0d3f{constructor(_0x4c62c4,_0x3f843f){const _0x4c5796=_0x455e;super(_0x4c62c4);const _0x25d323=this[_0x4c5796(0xc9)];this[_0x4c5796(0xbc)](_0x4c5796(0xc7),''),this[_0x4c5796(0xc4)]({'tag':_0x4c5796(0xbf),'attributes':{..._0x3f843f,'class':[_0x4c5796(0xbd),_0x4c5796(0xc5)],'ctx-name':_0x4c5796(0xc1),'cdn-url':_0x25d323['to'](_0x4c5796(0xc7))}});}}
23
+ function _0x21d5(_0x396ff7,_0x8bddf){const _0xae8439=_0xae84();return _0x21d5=function(_0x21d521,_0x34b987){_0x21d521=_0x21d521-0x161;let _0x413d23=_0xae8439[_0x21d521];return _0x413d23;},_0x21d5(_0x396ff7,_0x8bddf);}(function(_0x5c9436,_0x53c8cf){const _0x2b32d3=_0x21d5,_0x42d59e=_0x5c9436();while(!![]){try{const _0x2769f3=-parseInt(_0x2b32d3(0x161))/0x1*(parseInt(_0x2b32d3(0x16e))/0x2)+parseInt(_0x2b32d3(0x167))/0x3+-parseInt(_0x2b32d3(0x16a))/0x4+parseInt(_0x2b32d3(0x163))/0x5+parseInt(_0x2b32d3(0x16c))/0x6+parseInt(_0x2b32d3(0x165))/0x7+-parseInt(_0x2b32d3(0x16f))/0x8*(-parseInt(_0x2b32d3(0x16b))/0x9);if(_0x2769f3===_0x53c8cf)break;else _0x42d59e['push'](_0x42d59e['shift']());}catch(_0x2e9c38){_0x42d59e['push'](_0x42d59e['shift']());}}}(_0xae84,0x62615));import{View as _0x246bcc}from'ckeditor5/src/ui.js';function _0xae84(){const _0x23ae48=['ck-uploadcare-theme','12757CAAjMt','setTemplate','3455720MNMDSy','uc-cloud-image-editor','2456944RtUlkp','uc-light','642291KuYfWn','set','image-edit','2032900xjtGew','9tSZAFS','1220436VJjEKl','imageSrc','102DVphzj','817264uLxJWa','bindTemplate'];_0xae84=function(){return _0x23ae48;};return _0xae84();}export class UploadcareImageEditFormEditingView extends _0x246bcc{constructor(_0x503934,_0x50c14f){const _0x471cf3=_0x21d5;super(_0x503934);const _0x7e3d33=this[_0x471cf3(0x170)];this[_0x471cf3(0x168)](_0x471cf3(0x16d),''),this[_0x471cf3(0x162)]({'tag':_0x471cf3(0x164),'attributes':{..._0x50c14f,'class':[_0x471cf3(0x166),_0x471cf3(0x171)],'ctx-name':_0x471cf3(0x169),'cdn-url':_0x7e3d33['to'](_0x471cf3(0x16d))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x18247d}from'ckeditor5/src/icons.js';import{ButtonView as _0xfb1c52,IconView as _0x4a093b,View as _0x2ff01a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2ff01a{constructor(_0x46e56b){super(_0x46e56b);const t=_0x46e56b['t'];this['set']('errorType',null);const _0x3c01fa=new _0xfb1c52(_0x46e56b);_0x3c01fa['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c01fa['withText']=!0x0,_0x3c01fa['class']='ck-button-action',_0x3c01fa['on']('execute',()=>{this['fire']('retry');}),_0x3c01fa['bind']('isVisible')['to'](this,'errorType',_0x344af6=>'NotFound'!==_0x344af6);const _0xf70d4=new _0x4a093b();_0xf70d4['content']=_0x18247d,_0xf70d4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d45f0=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':[_0xf70d4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d45f0['to']('errorType',_0xec55d6=>t('NotFound'!==_0xec55d6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c01fa]},{'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 _0x30b602}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a7e14,IconView as _0x496dd9,View as _0x2b6a0d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2b6a0d{constructor(_0x570715){super(_0x570715);const t=_0x570715['t'];this['set']('errorType',null);const _0x5da946=new _0x5a7e14(_0x570715);_0x5da946['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5da946['withText']=!0x0,_0x5da946['class']='ck-button-action',_0x5da946['on']('execute',()=>{this['fire']('retry');}),_0x5da946['bind']('isVisible')['to'](this,'errorType',_0x282c77=>'NotFound'!==_0x282c77);const _0x445fa8=new _0x496dd9();_0x445fa8['content']=_0x30b602,_0x445fa8['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x18d685=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':[_0x445fa8,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x18d685['to']('errorType',_0x131882=>t('NotFound'!==_0x131882?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5da946]},{'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 _0x8f82bb,View as _0x49afb1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x49afb1{constructor(_0x3c3765){super(_0x3c3765);const t=_0x3c3765['t'],_0x5dac07=this['bindTemplate'],_0x4dc842=new _0x8f82bb();_0x4dc842['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':[_0x4dc842,{'text':_0x5dac07['to']('imageUploadProgress',_0x2dda69=>t('Loading\x20image...')+'\x20('+(_0x2dda69||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 _0x25a34c,View as _0x200a36}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x200a36{constructor(_0x293c0b){super(_0x293c0b);const t=_0x293c0b['t'],_0x1345c8=this['bindTemplate'],_0x31e5ff=new _0x25a34c();_0x31e5ff['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':[_0x31e5ff,{'text':_0x1345c8['to']('imageUploadProgress',_0x10282c=>t('Loading\x20image...')+'\x20('+(_0x10282c||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 _0x2d7858=_0x20ec;function _0x20ec(_0x16a6b7,_0x35f10a){const _0x29b4fd=_0x29b4();return _0x20ec=function(_0x20ec6b,_0x30252c){_0x20ec6b=_0x20ec6b-0x193;let _0x3b9416=_0x29b4fd[_0x20ec6b];return _0x3b9416;},_0x20ec(_0x16a6b7,_0x35f10a);}(function(_0xb81f1d,_0x1b9213){const _0x4a9fae=_0x20ec,_0x3c14f3=_0xb81f1d();while(!![]){try{const _0x397261=-parseInt(_0x4a9fae(0x1b9))/0x1+-parseInt(_0x4a9fae(0x1ba))/0x2+parseInt(_0x4a9fae(0x1c5))/0x3+parseInt(_0x4a9fae(0x1c6))/0x4+parseInt(_0x4a9fae(0x1a8))/0x5+parseInt(_0x4a9fae(0x1b3))/0x6*(-parseInt(_0x4a9fae(0x1c7))/0x7)+parseInt(_0x4a9fae(0x1ac))/0x8;if(_0x397261===_0x1b9213)break;else _0x3c14f3['push'](_0x3c14f3['shift']());}catch(_0x5b3106){_0x3c14f3['push'](_0x3c14f3['shift']());}}}(_0x29b4,0x63061));import{View as _0x48c6c5}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x17fa56}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4a0bf6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4cd2ad}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1ba314}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x29b4(){const _0x53e456=['nodeName','querySelector','8991896tHjbaY','fire','once','_items','cancel','error','_addUploadcareImageEditorListeners','18IVSZSF','set','div','_waitForImageEditorComponent','addMany','ck-reset_all-excluded','541091VqjpEo','428780nnxZKf','_setView','_addErrorViewListeners','clear','createCollection','toLowerCase','addEventListener','add','_focusableView','target','observe','188844fHcWzh','321816wINaVs','637063FputyC','apply','change:status','_loadingView','_editingView','render','uploading','length','status','_errorView','retry','getFocusableElement','addedNodes','cdnUrl','detail','uc-cloud-image-editor','element','ck-uploadcare-form','ready','disconnect','focus','filter','833600rmKHuQ','setTemplate'];_0x29b4=function(){return _0x53e456;};return _0x29b4();}export class UploadcareImageEditFormView extends _0x1ba314{[_0x2d7858(0x1af)];[_0x2d7858(0x195)];[_0x2d7858(0x19b)];[_0x2d7858(0x196)];[_0x2d7858(0x1c2)];constructor(_0x5d6579,_0x27426c,_0x147ae0){const _0x2b9f7d=_0x2d7858;super(_0x5d6579),this[_0x2b9f7d(0x1af)]=this[_0x2b9f7d(0x1be)](),this[_0x2b9f7d(0x195)]=new _0x17fa56(_0x5d6579),this[_0x2b9f7d(0x19b)]=new _0x4a0bf6(_0x5d6579),this[_0x2b9f7d(0x196)]=new _0x4cd2ad(_0x5d6579,_0x147ae0),this[_0x2b9f7d(0x1c2)]=new _0x48c6c5(_0x5d6579),this[_0x2b9f7d(0x1c2)][_0x2b9f7d(0x1a9)](this[_0x2b9f7d(0x19d)]()),this[_0x2b9f7d(0x1b4)](_0x2b9f7d(0x19a),_0x27426c),this[_0x2b9f7d(0x1a9)]({'tag':_0x2b9f7d(0x1b5),'attributes':{'class':['ck',_0x2b9f7d(0x1b8),_0x2b9f7d(0x1a3)],'tabindex':'-1'},'children':this[_0x2b9f7d(0x1af)]}),this[_0x2b9f7d(0x1bb)](),this[_0x2b9f7d(0x1ae)](_0x2b9f7d(0x197),()=>{const _0x544c43=_0x2b9f7d;this[_0x544c43(0x1b6)](this[_0x544c43(0x1a2)],_0x1774c4=>{const _0x450731=_0x544c43;this[_0x450731(0x1b2)](_0x1774c4);});}),this['on'](_0x2b9f7d(0x194),()=>{const _0x4182ca=_0x2b9f7d;this[_0x4182ca(0x1bb)]();}),this[_0x2b9f7d(0x1bc)]();}[_0x2d7858(0x1a6)](){const _0x4f912d=_0x2d7858;this[_0x4f912d(0x1a2)][_0x4f912d(0x1a6)]();}[_0x2d7858(0x1bb)](){const _0x4ee73c=_0x2d7858;switch(this[_0x4ee73c(0x1af)][_0x4ee73c(0x1bd)](),this[_0x4ee73c(0x19a)]){case _0x4ee73c(0x198):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1c1)](this[_0x4ee73c(0x195)]);break;case _0x4ee73c(0x1b1):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1c1)](this[_0x4ee73c(0x19b)]);break;case _0x4ee73c(0x1a4):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1b7)]([this[_0x4ee73c(0x196)],this[_0x4ee73c(0x1c2)]]);}}[_0x2d7858(0x1b6)](_0x515328,_0x1a1b37){const _0x10a955=_0x2d7858,_0x402244=_0x10a955(0x1a1),_0x49f4db=_0x515328[_0x10a955(0x1ab)](_0x402244);if(_0x49f4db)return _0x1a1b37(_0x49f4db);const _0x4538e8=new MutationObserver(_0x21a552=>{const _0x413f47=_0x10a955,_0x44c76c=_0x21a552[_0x413f47(0x1a7)](_0x2958c4=>_0x2958c4[_0x413f47(0x1c3)]===_0x515328&&_0x2958c4[_0x413f47(0x19e)][_0x413f47(0x199)]>0x0&&_0x2958c4[_0x413f47(0x19e)][0x0][_0x413f47(0x1aa)][_0x413f47(0x1bf)]()===_0x402244);_0x44c76c[_0x413f47(0x199)]&&(_0x4538e8[_0x413f47(0x1a5)](),_0x1a1b37(_0x44c76c[0x0][_0x413f47(0x19e)][0x0]));});_0x4538e8[_0x10a955(0x1c4)](_0x515328,{'childList':!0x0,'subtree':!0x0});}[_0x2d7858(0x1b2)](_0x3288ae){const _0x57228f=_0x2d7858;_0x3288ae[_0x57228f(0x1c0)](_0x57228f(0x193),_0x41f731=>{const _0x4704cb=_0x57228f;this[_0x4704cb(0x1ad)](_0x4704cb(0x193),{'imageSrc':_0x41f731[_0x4704cb(0x1a0)][_0x4704cb(0x19f)]});}),_0x3288ae[_0x57228f(0x1c0)](_0x57228f(0x1b0),()=>{const _0x411d9b=_0x57228f;this[_0x411d9b(0x1ad)](_0x411d9b(0x1b0));});}[_0x2d7858(0x1bc)](){const _0x39b00b=_0x2d7858;this[_0x39b00b(0x19b)]['on'](_0x39b00b(0x19c),()=>{const _0x13245e=_0x39b00b;this[_0x13245e(0x1ad)](_0x13245e(0x19c));});}}
23
+ const _0x271c9a=_0x37ee;(function(_0x27d1e5,_0x34c188){const _0x52a9b9=_0x37ee,_0x575e3e=_0x27d1e5();while(!![]){try{const _0x176d84=-parseInt(_0x52a9b9(0x21c))/0x1+-parseInt(_0x52a9b9(0x21d))/0x2*(parseInt(_0x52a9b9(0x1fb))/0x3)+parseInt(_0x52a9b9(0x217))/0x4+-parseInt(_0x52a9b9(0x203))/0x5+parseInt(_0x52a9b9(0x20d))/0x6+parseInt(_0x52a9b9(0x1fc))/0x7+-parseInt(_0x52a9b9(0x20e))/0x8;if(_0x176d84===_0x34c188)break;else _0x575e3e['push'](_0x575e3e['shift']());}catch(_0x5231ee){_0x575e3e['push'](_0x575e3e['shift']());}}}(_0x4f50,0x711e5));import{View as _0x419e12}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x96a4aa}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x47ffaa}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x36a905}from'./uploadcareimageeditformeditingview.js';function _0x4f50(){const _0x1c1d73=['div','error','uploading','_waitForImageEditorComponent','target','detail','clear','cancel','createCollection','length','retry','fire','change:status','add','_loadingView','_setView','addedNodes','nodeName','285XhpFBA','4429222BKegzc','addMany','_editingView','querySelector','_addErrorViewListeners','cdnUrl','_errorView','56055cUzNfs','render','ck-reset_all-excluded','ready','_focusableView','getFocusableElement','filter','uc-cloud-image-editor','once','_items','4370262nnlLjH','8802272rCTdtB','observe','_addUploadcareImageEditorListeners','setTemplate','ck-uploadcare-form','addEventListener','disconnect','apply','element','3603472DMHmMg','toLowerCase','status','set','focus','33278wtCQZR','13766nzzuOz'];_0x4f50=function(){return _0x1c1d73;};return _0x4f50();}function _0x37ee(_0x304c9d,_0x190716){const _0x4f5064=_0x4f50();return _0x37ee=function(_0x37ee72,_0x215e75){_0x37ee72=_0x37ee72-0x1ea;let _0x5c7d9b=_0x4f5064[_0x37ee72];return _0x5c7d9b;},_0x37ee(_0x304c9d,_0x190716);}import{DialogFocusManagerView as _0x39bed5}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x39bed5{[_0x271c9a(0x20c)];[_0x271c9a(0x1f7)];[_0x271c9a(0x202)];[_0x271c9a(0x1fe)];[_0x271c9a(0x207)];constructor(_0x42d62d,_0x477bac,_0x21134e){const _0xaf7dca=_0x271c9a;super(_0x42d62d),this[_0xaf7dca(0x20c)]=this[_0xaf7dca(0x1f1)](),this[_0xaf7dca(0x1f7)]=new _0x96a4aa(_0x42d62d),this[_0xaf7dca(0x202)]=new _0x47ffaa(_0x42d62d),this[_0xaf7dca(0x1fe)]=new _0x36a905(_0x42d62d,_0x21134e),this[_0xaf7dca(0x207)]=new _0x419e12(_0x42d62d),this[_0xaf7dca(0x207)][_0xaf7dca(0x211)](this[_0xaf7dca(0x208)]()),this[_0xaf7dca(0x21a)](_0xaf7dca(0x219),_0x477bac),this[_0xaf7dca(0x211)]({'tag':_0xaf7dca(0x21e),'attributes':{'class':['ck',_0xaf7dca(0x205),_0xaf7dca(0x212)],'tabindex':'-1'},'children':this[_0xaf7dca(0x20c)]}),this[_0xaf7dca(0x1f8)](),this[_0xaf7dca(0x20b)](_0xaf7dca(0x204),()=>{const _0x48edb8=_0xaf7dca;this[_0x48edb8(0x1ec)](this[_0x48edb8(0x216)],_0x4dd090=>{const _0x24f286=_0x48edb8;this[_0x24f286(0x210)](_0x4dd090);});}),this['on'](_0xaf7dca(0x1f5),()=>{const _0x38a9a2=_0xaf7dca;this[_0x38a9a2(0x1f8)]();}),this[_0xaf7dca(0x200)]();}[_0x271c9a(0x21b)](){const _0x5624aa=_0x271c9a;this[_0x5624aa(0x216)][_0x5624aa(0x21b)]();}[_0x271c9a(0x1f8)](){const _0xfbed26=_0x271c9a;switch(this[_0xfbed26(0x20c)][_0xfbed26(0x1ef)](),this[_0xfbed26(0x219)]){case _0xfbed26(0x1eb):this[_0xfbed26(0x20c)][_0xfbed26(0x1f6)](this[_0xfbed26(0x1f7)]);break;case _0xfbed26(0x1ea):this[_0xfbed26(0x20c)][_0xfbed26(0x1f6)](this[_0xfbed26(0x202)]);break;case _0xfbed26(0x206):this[_0xfbed26(0x20c)][_0xfbed26(0x1fd)]([this[_0xfbed26(0x1fe)],this[_0xfbed26(0x207)]]);}}[_0x271c9a(0x1ec)](_0x5ec9a4,_0x1b0583){const _0x5cc6ce=_0x271c9a,_0x1f53d2=_0x5cc6ce(0x20a),_0x1ce0fb=_0x5ec9a4[_0x5cc6ce(0x1ff)](_0x1f53d2);if(_0x1ce0fb)return _0x1b0583(_0x1ce0fb);const _0x1c72b6=new MutationObserver(_0xcde006=>{const _0x29ce3c=_0x5cc6ce,_0x5d6784=_0xcde006[_0x29ce3c(0x209)](_0x42582b=>_0x42582b[_0x29ce3c(0x1ed)]===_0x5ec9a4&&_0x42582b[_0x29ce3c(0x1f9)][_0x29ce3c(0x1f2)]>0x0&&_0x42582b[_0x29ce3c(0x1f9)][0x0][_0x29ce3c(0x1fa)][_0x29ce3c(0x218)]()===_0x1f53d2);_0x5d6784[_0x29ce3c(0x1f2)]&&(_0x1c72b6[_0x29ce3c(0x214)](),_0x1b0583(_0x5d6784[0x0][_0x29ce3c(0x1f9)][0x0]));});_0x1c72b6[_0x5cc6ce(0x20f)](_0x5ec9a4,{'childList':!0x0,'subtree':!0x0});}[_0x271c9a(0x210)](_0x69efdb){const _0x417dff=_0x271c9a;_0x69efdb[_0x417dff(0x213)](_0x417dff(0x215),_0x56bf8f=>{const _0x5b8271=_0x417dff;this[_0x5b8271(0x1f4)](_0x5b8271(0x215),{'imageSrc':_0x56bf8f[_0x5b8271(0x1ee)][_0x5b8271(0x201)]});}),_0x69efdb[_0x417dff(0x213)](_0x417dff(0x1f0),()=>{const _0x3028b7=_0x417dff;this[_0x3028b7(0x1f4)](_0x3028b7(0x1f0));});}[_0x271c9a(0x200)](){const _0x9fdf28=_0x271c9a;this[_0x9fdf28(0x202)]['on'](_0x9fdf28(0x1f3),()=>{const _0x44b4e2=_0x9fdf28;this[_0x44b4e2(0x1f4)](_0x44b4e2(0x1f3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x490e49=_0x5858;(function(_0x1d8af2,_0x3bd9e7){const _0x3f1d0c=_0x5858,_0x3d91e6=_0x1d8af2();while(!![]){try{const _0x9a7bff=parseInt(_0x3f1d0c(0xcc))/0x1+-parseInt(_0x3f1d0c(0xd5))/0x2*(-parseInt(_0x3f1d0c(0xd7))/0x3)+-parseInt(_0x3f1d0c(0xc8))/0x4+-parseInt(_0x3f1d0c(0xc4))/0x5*(parseInt(_0x3f1d0c(0xd6))/0x6)+parseInt(_0x3f1d0c(0xdd))/0x7+-parseInt(_0x3f1d0c(0xcb))/0x8+parseInt(_0x3f1d0c(0xd3))/0x9;if(_0x9a7bff===_0x3bd9e7)break;else _0x3d91e6['push'](_0x3d91e6['shift']());}catch(_0x4d0fe0){_0x3d91e6['push'](_0x3d91e6['shift']());}}}(_0x2934,0xc4b45));import{Command as _0x300134}from'ckeditor5/src/core.js';import{Dialog as _0x2f736a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x376c0f}from'./ui/uploadcareimageeditcontroller.js';function _0x5858(_0xdb8645,_0xf61c2a){const _0x293497=_0x2934();return _0x5858=function(_0x585888,_0x263fc4){_0x585888=_0x585888-0xc1;let _0x5ad658=_0x293497[_0x585888];return _0x5ad658;},_0x5858(_0xdb8645,_0xf61c2a);}import{createEditabilityChecker as _0x1bd732}from'../utils/editingutils.js';function _0x2934(){const _0x581035=['25nhxkeo','config','isActive','_isEditable','1122440qjGlEA','imageEditController','imageInline','5390768eZiyEX','488500lMlyTR','refresh','imageBlock','unbind','selection','document','uploadcare.allowExternalImagesEditing','9235575xmsZzU','plugins','4cOCZvo','1436172VujmKC','1542096hlEDoD','set','editor','isEnabled','get','bind','2899596xNnDYo','requires','model','execute','element','getSelectedElement'];_0x2934=function(){return _0x581035;};return _0x2934();}export class UploadcareImageEditCommand extends _0x300134{[_0x490e49(0xc9)];static get[_0x490e49(0xde)](){return[_0x2f736a];}[_0x490e49(0xc7)];constructor(_0x2d4a83){const _0x1aa5f3=_0x490e49;super(_0x2d4a83),this[_0x1aa5f3(0xc9)]=void 0x0,this[_0x1aa5f3(0xc7)]=_0x1bd732(_0x2d4a83[_0x1aa5f3(0xc5)][_0x1aa5f3(0xdb)](_0x1aa5f3(0xd2))||[]),this[_0x1aa5f3(0xd8)]({'isActive':!0x1});}[_0x490e49(0xcd)](){const _0x1d0256=_0x490e49,_0x1c6ca0=this[_0x1d0256(0xd9)][_0x1d0256(0xdf)][_0x1d0256(0xd1)][_0x1d0256(0xd0)][_0x1d0256(0xc3)]();this[_0x1d0256(0xda)]=this[_0x1d0256(0xc7)](_0x1c6ca0);}[_0x490e49(0xc1)](){const _0x2a7d82=_0x490e49;this[_0x2a7d82(0xc9)]&&(this[_0x2a7d82(0xcf)](_0x2a7d82(0xc6)),this[_0x2a7d82(0xc9)]=void 0x0);const _0xf937c2=this[_0x2a7d82(0xd9)][_0x2a7d82(0xdf)][_0x2a7d82(0xd1)][_0x2a7d82(0xd0)][_0x2a7d82(0xc3)]();_0xf937c2&&(_0xf937c2['is'](_0x2a7d82(0xc2),_0x2a7d82(0xce))||_0xf937c2['is'](_0x2a7d82(0xc2),_0x2a7d82(0xca)))&&(this[_0x2a7d82(0xc9)]=new _0x376c0f(this[_0x2a7d82(0xd9)],this[_0x2a7d82(0xd9)][_0x2a7d82(0xd4)][_0x2a7d82(0xdb)](_0x2f736a),_0xf937c2),this[_0x2a7d82(0xdc)](_0x2a7d82(0xc6))['to'](this[_0x2a7d82(0xc9)],_0x2a7d82(0xc6)));}}
23
+ function _0x3ff0(){const _0x31ae02=['model','340794qnVcrq','bind','get','18dkKntN','element','3274338UfgMJd','uploadcare.allowExternalImagesEditing','imageInline','config','requires','execute','unbind','imageEditController','2497YoObRA','plugins','editor','imageBlock','688565HdgBSM','set','getSelectedElement','36yXTFEF','refresh','63340JSNRnq','isEnabled','16354xhyOWi','_isEditable','isActive','document','selection','3MLdWHd','2389394dBcdqb','1548104jsVLcM'];_0x3ff0=function(){return _0x31ae02;};return _0x3ff0();}const _0x332828=_0x1344;function _0x1344(_0x412156,_0x284a6b){const _0x3ff0b8=_0x3ff0();return _0x1344=function(_0x1344d3,_0x41e411){_0x1344d3=_0x1344d3-0xf8;let _0x39fd22=_0x3ff0b8[_0x1344d3];return _0x39fd22;},_0x1344(_0x412156,_0x284a6b);}(function(_0x23a4d0,_0x3ad5be){const _0x5c5015=_0x1344,_0xd23465=_0x23a4d0();while(!![]){try{const _0x54b45e=parseInt(_0x5c5015(0x114))/0x1*(-parseInt(_0x5c5015(0x10f))/0x2)+-parseInt(_0x5c5015(0x118))/0x3*(parseInt(_0x5c5015(0x10b))/0x4)+-parseInt(_0x5c5015(0x108))/0x5+parseInt(_0x5c5015(0xfc))/0x6+-parseInt(_0x5c5015(0x115))/0x7+parseInt(_0x5c5015(0x116))/0x8*(parseInt(_0x5c5015(0xfa))/0x9)+parseInt(_0x5c5015(0x10d))/0xa*(parseInt(_0x5c5015(0x104))/0xb);if(_0x54b45e===_0x3ad5be)break;else _0xd23465['push'](_0xd23465['shift']());}catch(_0x4beb1e){_0xd23465['push'](_0xd23465['shift']());}}}(_0x3ff0,0xce337));import{Command as _0x38f37f}from'ckeditor5/src/core.js';import{Dialog as _0xd55b2e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x52e649}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x50fa6b}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x38f37f{[_0x332828(0x103)];static get[_0x332828(0x100)](){return[_0xd55b2e];}[_0x332828(0x110)];constructor(_0x4498d4){const _0x908e0a=_0x332828;super(_0x4498d4),this[_0x908e0a(0x103)]=void 0x0,this[_0x908e0a(0x110)]=_0x50fa6b(_0x4498d4[_0x908e0a(0xff)][_0x908e0a(0xf9)](_0x908e0a(0xfd))||[]),this[_0x908e0a(0x109)]({'isActive':!0x1});}[_0x332828(0x10c)](){const _0x2fd84c=_0x332828,_0xa668d6=this[_0x2fd84c(0x106)][_0x2fd84c(0x117)][_0x2fd84c(0x112)][_0x2fd84c(0x113)][_0x2fd84c(0x10a)]();this[_0x2fd84c(0x10e)]=this[_0x2fd84c(0x110)](_0xa668d6);}[_0x332828(0x101)](){const _0xf11935=_0x332828;this[_0xf11935(0x103)]&&(this[_0xf11935(0x102)](_0xf11935(0x111)),this[_0xf11935(0x103)]=void 0x0);const _0x17b719=this[_0xf11935(0x106)][_0xf11935(0x117)][_0xf11935(0x112)][_0xf11935(0x113)][_0xf11935(0x10a)]();_0x17b719&&(_0x17b719['is'](_0xf11935(0xfb),_0xf11935(0x107))||_0x17b719['is'](_0xf11935(0xfb),_0xf11935(0xfe)))&&(this[_0xf11935(0x103)]=new _0x52e649(this[_0xf11935(0x106)],this[_0xf11935(0x106)][_0xf11935(0x105)][_0xf11935(0xf9)](_0xd55b2e),_0x17b719),this[_0xf11935(0xf8)](_0xf11935(0x111))['to'](this[_0xf11935(0x103)],_0xf11935(0x111)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3244e8=_0x1f72;(function(_0x528fc5,_0x2652fc){const _0x55f90a=_0x1f72,_0x3b3263=_0x528fc5();while(!![]){try{const _0x1372a0=parseInt(_0x55f90a(0x200))/0x1+-parseInt(_0x55f90a(0x208))/0x2*(-parseInt(_0x55f90a(0x1f3))/0x3)+parseInt(_0x55f90a(0x1f6))/0x4+parseInt(_0x55f90a(0x1f7))/0x5*(-parseInt(_0x55f90a(0x207))/0x6)+-parseInt(_0x55f90a(0x1ff))/0x7*(parseInt(_0x55f90a(0x206))/0x8)+-parseInt(_0x55f90a(0x1fc))/0x9+parseInt(_0x55f90a(0x1f4))/0xa*(parseInt(_0x55f90a(0x1f9))/0xb);if(_0x1372a0===_0x2652fc)break;else _0x3b3263['push'](_0x3b3263['shift']());}catch(_0x552ca9){_0x3b3263['push'](_0x3b3263['shift']());}}}(_0x7977,0x7b5c3));import{Plugin as _0x383d68}from'ckeditor5/src/core.js';import{Notification as _0x37346b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x573265}from'./uploadcareimageeditcommand.js';function _0x1f72(_0x237d34,_0x3b4ad1){const _0x79779d=_0x7977();return _0x1f72=function(_0x1f72c1,_0xdc98d7){_0x1f72c1=_0x1f72c1-0x1f2;let _0x52e018=_0x79779d[_0x1f72c1];return _0x52e018;},_0x1f72(_0x237d34,_0x3b4ad1);}function _0x7977(){const _0x2cd9ca=['2663332ilQBqe','265aljLfa','commands','33URwFCW','requires','uploadcareImageReplace','8696061gDXUSK','ImageUtils','pluginName','399HZzRQg','837649jqSnsQ','UploadcareImageEditEditing','ImageEditing','add','init','uploadcareImageEdit','29504GjXOEo','84876vFCsUi','6lwSJdn','isOfficialPlugin','103773SkDlxK','2747370XiIDEa','isPremiumPlugin'];_0x7977=function(){return _0x2cd9ca;};return _0x7977();}import{UploadcareImageReplaceCommand as _0x176dbb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4f14ae}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x383d68{static get[_0x3244e8(0x1fe)](){const _0x1d3017=_0x3244e8;return _0x1d3017(0x201);}static get[_0x3244e8(0x1fa)](){const _0x1bcea3=_0x3244e8;return[_0x4f14ae,_0x37346b,_0x1bcea3(0x1fd),_0x1bcea3(0x202)];}static get[_0x3244e8(0x1f2)](){return!0x0;}static get[_0x3244e8(0x1f5)](){return!0x0;}[_0x3244e8(0x204)](){const _0x36f8db=_0x3244e8,{editor:_0x23452f}=this;_0x23452f[_0x36f8db(0x1f8)][_0x36f8db(0x203)](_0x36f8db(0x205),new _0x573265(_0x23452f)),_0x23452f[_0x36f8db(0x1f8)][_0x36f8db(0x203)](_0x36f8db(0x1fb),new _0x176dbb(_0x23452f));}}
23
+ function _0x2590(_0x401353,_0xbfbb71){const _0x457db3=_0x457d();return _0x2590=function(_0x2590c5,_0x27354b){_0x2590c5=_0x2590c5-0x16c;let _0x419937=_0x457db3[_0x2590c5];return _0x419937;},_0x2590(_0x401353,_0xbfbb71);}const _0x3bd064=_0x2590;(function(_0x21ae2f,_0x29dfba){const _0x518db9=_0x2590,_0x4220c2=_0x21ae2f();while(!![]){try{const _0x576502=parseInt(_0x518db9(0x16f))/0x1+-parseInt(_0x518db9(0x179))/0x2*(-parseInt(_0x518db9(0x17f))/0x3)+parseInt(_0x518db9(0x16c))/0x4+parseInt(_0x518db9(0x175))/0x5+parseInt(_0x518db9(0x181))/0x6+-parseInt(_0x518db9(0x17e))/0x7*(-parseInt(_0x518db9(0x174))/0x8)+parseInt(_0x518db9(0x17b))/0x9*(-parseInt(_0x518db9(0x177))/0xa);if(_0x576502===_0x29dfba)break;else _0x4220c2['push'](_0x4220c2['shift']());}catch(_0x1a6cfe){_0x4220c2['push'](_0x4220c2['shift']());}}}(_0x457d,0xee669));import{Plugin as _0x2893f4}from'ckeditor5/src/core.js';import{Notification as _0x155238}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x430322}from'./uploadcareimageeditcommand.js';function _0x457d(){const _0x279301=['pluginName','1250366DaCWji','isPremiumPlugin','10039509YyeRXv','ImageEditing','isOfficialPlugin','1134SlXAeX','3DpvJTq','commands','8329884zgZkhk','4116620iCORJp','requires','add','667477UTLWGG','UploadcareImageEditEditing','init','uploadcareImageReplace','ImageUtils','5992dmCnvm','8035130KcLZWW','uploadcareImageEdit','40nmAUKu'];_0x457d=function(){return _0x279301;};return _0x457d();}import{UploadcareImageReplaceCommand as _0xccfc37}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x17d4e2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2893f4{static get[_0x3bd064(0x178)](){const _0x1340cc=_0x3bd064;return _0x1340cc(0x170);}static get[_0x3bd064(0x16d)](){const _0x54f058=_0x3bd064;return[_0x17d4e2,_0x155238,_0x54f058(0x173),_0x54f058(0x17c)];}static get[_0x3bd064(0x17d)](){return!0x0;}static get[_0x3bd064(0x17a)](){return!0x0;}[_0x3bd064(0x171)](){const _0x3180f0=_0x3bd064,{editor:_0x1fd0a5}=this;_0x1fd0a5[_0x3180f0(0x180)][_0x3180f0(0x16e)](_0x3180f0(0x176),new _0x430322(_0x1fd0a5)),_0x1fd0a5[_0x3180f0(0x180)][_0x3180f0(0x16e)](_0x3180f0(0x172),new _0xccfc37(_0x1fd0a5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2d90f7}from'ckeditor5/src/core.js';import{ButtonView as _0x189348}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x37418b}from'ckeditor5/src/icons.js';import{createElement as _0x301036}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 _0x2d90f7{['_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 _0x1acfa8=this['editor'];_0x1acfa8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40f975=>{const _0x512ad0=_0x1acfa8['commands']['get']('uploadcareImageEdit'),_0x2f21a5=new _0x189348(_0x40f975),t=_0x40f975['t'];return _0x2f21a5['set']({'icon':_0x37418b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f21a5['bind']('isEnabled')['to'](_0x512ad0),_0x2f21a5['bind']('isOn')['to'](_0x512ad0,'isActive'),this['listenTo'](_0x2f21a5,'execute',()=>{_0x1acfa8['execute']('uploadcareImageEdit'),_0x1acfa8['editing']['view']['focus']();}),_0x2f21a5;}),this['_initConfig']();}['_initConfig'](){const _0x2adcdf=_0x301036(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2adcdf),this['listenTo'](this['editor'],'destroy',()=>{_0x2adcdf['remove']();});}}
23
+ import{Plugin as _0x561a8f}from'ckeditor5/src/core.js';import{ButtonView as _0x3ba1e9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x289a78}from'ckeditor5/src/icons.js';import{createElement as _0x201461}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 _0x561a8f{['_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 _0x4c27d3=this['editor'];_0x4c27d3['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2e8c62=>{const _0x25a92a=_0x4c27d3['commands']['get']('uploadcareImageEdit'),_0x5d7dfa=new _0x3ba1e9(_0x2e8c62),t=_0x2e8c62['t'];return _0x5d7dfa['set']({'icon':_0x289a78,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5d7dfa['bind']('isEnabled')['to'](_0x25a92a),_0x5d7dfa['bind']('isOn')['to'](_0x25a92a,'isActive'),this['listenTo'](_0x5d7dfa,'execute',()=>{_0x4c27d3['execute']('uploadcareImageEdit'),_0x4c27d3['editing']['view']['focus']();}),_0x5d7dfa;}),this['_initConfig']();}['_initConfig'](){const _0x269a66=_0x201461(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x269a66),this['listenTo'](this['editor'],'destroy',()=>{_0x269a66['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55eb5c=_0x4f0a;(function(_0x899cd4,_0x1e67aa){const _0x818f92=_0x4f0a,_0x2c208d=_0x899cd4();while(!![]){try{const _0x3f68df=parseInt(_0x818f92(0x13c))/0x1*(parseInt(_0x818f92(0x134))/0x2)+-parseInt(_0x818f92(0x13a))/0x3+-parseInt(_0x818f92(0x145))/0x4*(-parseInt(_0x818f92(0x13b))/0x5)+-parseInt(_0x818f92(0x142))/0x6+-parseInt(_0x818f92(0x13e))/0x7+-parseInt(_0x818f92(0x138))/0x8+parseInt(_0x818f92(0x137))/0x9;if(_0x3f68df===_0x1e67aa)break;else _0x2c208d['push'](_0x2c208d['shift']());}catch(_0x455811){_0x2c208d['push'](_0x2c208d['shift']());}}}(_0x85a4,0x44377));function _0x85a4(){const _0x5d00de=['567210oeXjDa','29655SBZppT','550035EZprSo','execute','3115119OXZYWl','refresh','editor','document','806268RgxlKA','element','model','284euxjif','sizes','imageBlock','change','setAttributes','selection','srcset','isEnabled','2dsbzJJ','getSelectedElement','imageInline','5033790kPasnA','3860528GICyJL','removeAttribute'];_0x85a4=function(){return _0x5d00de;};return _0x85a4();}import{Command as _0x3920b1}from'ckeditor5/src/core.js';function _0x4f0a(_0x11c534,_0x39d840){const _0x85a409=_0x85a4();return _0x4f0a=function(_0x4f0ab2,_0x19d34c){_0x4f0ab2=_0x4f0ab2-0x131;let _0x33715c=_0x85a409[_0x4f0ab2];return _0x33715c;},_0x4f0a(_0x11c534,_0x39d840);}export class UploadcareImageReplaceCommand extends _0x3920b1{[_0x55eb5c(0x13f)](){const _0x14636f=_0x55eb5c,_0x525910=this[_0x14636f(0x140)][_0x14636f(0x144)][_0x14636f(0x141)][_0x14636f(0x131)][_0x14636f(0x135)]();this[_0x14636f(0x133)]=Boolean(_0x525910&&(_0x525910['is'](_0x14636f(0x143),_0x14636f(0x147))||_0x525910['is'](_0x14636f(0x143),_0x14636f(0x136))));}[_0x55eb5c(0x13d)](_0xf4b9e){const _0x3b88fb=_0x55eb5c,_0x20fd75=this[_0x3b88fb(0x140)][_0x3b88fb(0x144)][_0x3b88fb(0x141)][_0x3b88fb(0x131)][_0x3b88fb(0x135)]();this[_0x3b88fb(0x140)][_0x3b88fb(0x144)][_0x3b88fb(0x148)](_0x94d9ff=>{const _0x4bc96c=_0x3b88fb;_0x94d9ff[_0x4bc96c(0x149)](_0xf4b9e,_0x20fd75),_0x94d9ff[_0x4bc96c(0x139)](_0x4bc96c(0x132),_0x20fd75),_0x94d9ff[_0x4bc96c(0x139)](_0x4bc96c(0x146),_0x20fd75);});}}
23
+ const _0x2f4ac1=_0x335a;function _0x335a(_0x111e61,_0xd5a138){const _0x57762c=_0x5776();return _0x335a=function(_0x335a35,_0x49f224){_0x335a35=_0x335a35-0x17f;let _0x413a91=_0x57762c[_0x335a35];return _0x413a91;},_0x335a(_0x111e61,_0xd5a138);}(function(_0x50a15e,_0x37956e){const _0x158bfc=_0x335a,_0x1b70a0=_0x50a15e();while(!![]){try{const _0x3b0936=-parseInt(_0x158bfc(0x18a))/0x1*(-parseInt(_0x158bfc(0x192))/0x2)+parseInt(_0x158bfc(0x190))/0x3*(-parseInt(_0x158bfc(0x195))/0x4)+parseInt(_0x158bfc(0x184))/0x5*(parseInt(_0x158bfc(0x181))/0x6)+-parseInt(_0x158bfc(0x191))/0x7+parseInt(_0x158bfc(0x18f))/0x8+-parseInt(_0x158bfc(0x185))/0x9+parseInt(_0x158bfc(0x196))/0xa;if(_0x3b0936===_0x37956e)break;else _0x1b70a0['push'](_0x1b70a0['shift']());}catch(_0x5b7ab7){_0x1b70a0['push'](_0x1b70a0['shift']());}}}(_0x5776,0x298aa));function _0x5776(){const _0x3f7331=['11yBzFgN','editor','sizes','selection','refresh','2345472pueBgD','3coaYKR','317814jVGeHk','57692onhQfc','element','change','1319788CnbmpL','99430nWzLBt','imageInline','removeAttribute','srcset','model','36RIDbqv','imageBlock','execute','130415MzmRIF','2082852sInAIZ','document','setAttributes','getSelectedElement','isEnabled'];_0x5776=function(){return _0x3f7331;};return _0x5776();}import{Command as _0x5b2d5f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5b2d5f{[_0x2f4ac1(0x18e)](){const _0x142587=_0x2f4ac1,_0x45f73d=this[_0x142587(0x18b)][_0x142587(0x180)][_0x142587(0x186)][_0x142587(0x18d)][_0x142587(0x188)]();this[_0x142587(0x189)]=Boolean(_0x45f73d&&(_0x45f73d['is'](_0x142587(0x193),_0x142587(0x182))||_0x45f73d['is'](_0x142587(0x193),_0x142587(0x197))));}[_0x2f4ac1(0x183)](_0x28922d){const _0x43cc41=_0x2f4ac1,_0x3fab73=this[_0x43cc41(0x18b)][_0x43cc41(0x180)][_0x43cc41(0x186)][_0x43cc41(0x18d)][_0x43cc41(0x188)]();this[_0x43cc41(0x18b)][_0x43cc41(0x180)][_0x43cc41(0x194)](_0x56a7db=>{const _0xd937a8=_0x43cc41;_0x56a7db[_0xd937a8(0x187)](_0x28922d,_0x3fab73),_0x56a7db[_0xd937a8(0x198)](_0xd937a8(0x17f),_0x3fab73),_0x56a7db[_0xd937a8(0x198)](_0xd937a8(0x18c),_0x3fab73);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d9ea3=_0xdb89;(function(_0x2fbd69,_0x4cd5b5){var _0x407982=_0xdb89,_0x2f2f05=_0x2fbd69();while(!![]){try{var _0x36873b=-parseInt(_0x407982(0x9a))/0x1+parseInt(_0x407982(0x9d))/0x2+parseInt(_0x407982(0xa4))/0x3+parseInt(_0x407982(0x99))/0x4+parseInt(_0x407982(0x9c))/0x5+-parseInt(_0x407982(0x9f))/0x6+-parseInt(_0x407982(0x9e))/0x7*(-parseInt(_0x407982(0xa3))/0x8);if(_0x36873b===_0x4cd5b5)break;else _0x2f2f05['push'](_0x2f2f05['shift']());}catch(_0x5e10f0){_0x2f2f05['push'](_0x2f2f05['shift']());}}}(_0x8b6b,0x46f4c));import{Plugin as _0x29b25a}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x36867f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x8b6b(){var _0x33f6bb=['3288990KZuDca','UploadcareImageEdit','isPremiumPlugin','isOfficialPlugin','184ngvjKe','1225011JrmBSl','requires','849952Noxyvo','386908YoJXbS','pluginName','2079620VNwpXP','241392ppnSVy','20776QmphYY'];_0x8b6b=function(){return _0x33f6bb;};return _0x8b6b();}function _0xdb89(_0x5389e1,_0x330a22){var _0x8b6b84=_0x8b6b();return _0xdb89=function(_0xdb892f,_0x492604){_0xdb892f=_0xdb892f-0x98;var _0x51b427=_0x8b6b84[_0xdb892f];return _0x51b427;},_0xdb89(_0x5389e1,_0x330a22);}import{UploadcareImageEditUI as _0x1f2ebb}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x29b25a{static get[_0x1d9ea3(0x9b)](){var _0x110192=_0x1d9ea3;return _0x110192(0xa0);}static get[_0x1d9ea3(0x98)](){return[_0x36867f,_0x1f2ebb];}static get[_0x1d9ea3(0xa2)](){return!0x0;}static get[_0x1d9ea3(0xa1)](){return!0x0;}}
23
+ var _0x565f69=_0x3366;(function(_0x1523ce,_0x243218){var _0x542be1=_0x3366,_0x51f1ae=_0x1523ce();while(!![]){try{var _0x22274a=-parseInt(_0x542be1(0x1b0))/0x1+-parseInt(_0x542be1(0x1b4))/0x2+parseInt(_0x542be1(0x1ad))/0x3*(parseInt(_0x542be1(0x1b7))/0x4)+-parseInt(_0x542be1(0x1aa))/0x5+parseInt(_0x542be1(0x1ae))/0x6*(parseInt(_0x542be1(0x1b8))/0x7)+-parseInt(_0x542be1(0x1ab))/0x8+-parseInt(_0x542be1(0x1b1))/0x9*(-parseInt(_0x542be1(0x1af))/0xa);if(_0x22274a===_0x243218)break;else _0x51f1ae['push'](_0x51f1ae['shift']());}catch(_0x358821){_0x51f1ae['push'](_0x51f1ae['shift']());}}}(_0x7a16,0xaf978));import{Plugin as _0x4b52bc}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5baf9c}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2915fa}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x3366(_0x9d26b8,_0x55e197){var _0x7a1692=_0x7a16();return _0x3366=function(_0x33666b,_0x463ce6){_0x33666b=_0x33666b-0x1aa;var _0x5085f3=_0x7a1692[_0x33666b];return _0x5085f3;},_0x3366(_0x9d26b8,_0x55e197);}export class UploadcareImageEdit extends _0x4b52bc{static get[_0x565f69(0x1ac)](){var _0x5e83db=_0x565f69;return _0x5e83db(0x1b5);}static get[_0x565f69(0x1b3)](){return[_0x5baf9c,_0x2915fa];}static get[_0x565f69(0x1b2)](){return!0x0;}static get[_0x565f69(0x1b6)](){return!0x0;}}function _0x7a16(){var _0x4c8b7d=['isPremiumPlugin','628AkYeFr','5548984LYXWsi','828670JQPmcM','1135608gWVFLF','pluginName','4782XbanGR','6fItYDm','10uMMCll','1168094xEtvFx','13782384AJAIQn','isOfficialPlugin','requires','758686DnCWGg','UploadcareImageEdit'];_0x7a16=function(){return _0x4c8b7d;};return _0x7a16();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d85e5=_0x4299;(function(_0x4f4518,_0x131254){const _0xcf40eb=_0x4299,_0x266526=_0x4f4518();while(!![]){try{const _0x56cc71=-parseInt(_0xcf40eb(0x1fa))/0x1+parseInt(_0xcf40eb(0x201))/0x2*(-parseInt(_0xcf40eb(0x213))/0x3)+parseInt(_0xcf40eb(0x21b))/0x4+parseInt(_0xcf40eb(0x1e8))/0x5*(parseInt(_0xcf40eb(0x1f0))/0x6)+parseInt(_0xcf40eb(0x22b))/0x7*(parseInt(_0xcf40eb(0x230))/0x8)+-parseInt(_0xcf40eb(0x1f5))/0x9*(parseInt(_0xcf40eb(0x20e))/0xa)+parseInt(_0xcf40eb(0x225))/0xb;if(_0x56cc71===_0x131254)break;else _0x266526['push'](_0x266526['shift']());}catch(_0x465efb){_0x266526['push'](_0x266526['shift']());}}}(_0x2fd0,0xf06ba));import{Plugin as _0x127dc6}from'ckeditor5/src/core.js';function _0x4299(_0x16f2e1,_0x414bb6){const _0x2fd037=_0x2fd0();return _0x4299=function(_0x4299eb,_0x10b29b){_0x4299eb=_0x4299eb-0x1df;let _0x5558ea=_0x2fd037[_0x4299eb];return _0x5558ea;},_0x4299(_0x16f2e1,_0x414bb6);}function _0x2fd0(){const _0x3d06cc=['_createDropdownButtons','domainLimit','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcare','label','114ArBdnw','has','ImageInsertUI','Replace','shortText','Facebook','isImageSelected','assetManager','trialLimit','featureNotAllowed','upload','editor','init','10bcODKD','uploadcare.uploader.sourceList','destroy','icon','_createToolbarButton','35979RXDEIU','Insert','GPhotos','forEach','registerIntegration','text','Dropbox','uploadcareLicenseKeyValid','2021560fmxbzo','invalid','withText','isEnabled','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','afterInit','uploadcareLicenseKeyTrialLimit','bind','plugins','11438845rBRqgr','commands','get','config','OneDrive','pluginName','28sHCoEd','uploadcareLicenseKeyUsageLimit','isOfficialPlugin','Local','type','1530392TMhcxe','evaluationLimit','UploadcareUI','usageLimit','uploadcareLicenseKeyEvaluationLimit','execute','_createMenuBarButtons','expired','reduce','url','63970fplyKf','licenseKey','isPremiumPlugin','uploadcareLicenseKeyExpired','_createButton','Uploadcare','entries','locale','366EOcQLI','tooltip','map','_licenseKeyCheckInterval','uploadcareLicenseKeyNotAllowed','6321069yTbtIp','_showLicenseError','push','URL','GDrive','720211WpmegF'];_0x2fd0=function(){return _0x3d06cc;};return _0x2fd0();}import{IconDropbox as _0x5d7554,IconFacebook as _0x7dba8b,IconGoogleDrive as _0x380673,IconGooglePhotos as _0x5b0897,IconUploadcareImageUpload as _0xf799e8,IconUploadcareLink as _0x50ca44,IconOneDrive as _0x3e45d9}from'ckeditor5/src/icons.js';import{ButtonView as _0x5b42ae,MenuBarMenuListItemButtonView as _0x56c382}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x54df2c}from'./uploadcareconfig.js';import{getTranslation as _0x1442bc}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x127dc6{[_0x1d85e5(0x1e9)];[_0x1d85e5(0x1f3)];static get[_0x1d85e5(0x22a)](){const _0x390b7f=_0x1d85e5;return _0x390b7f(0x1e0);}static get[_0x1d85e5(0x22d)](){return!0x0;}static get[_0x1d85e5(0x1ea)](){return!0x0;}[_0x1d85e5(0x20d)](){const _0x469757=_0x1d85e5;this[_0x469757(0x1e9)]=this[_0x469757(0x20c)][_0x469757(0x228)][_0x469757(0x227)](_0x469757(0x1e9));const _0x4855cf=this[_0x469757(0x20c)];this[_0x469757(0x1f3)]=setInterval(()=>{const _0x209e54=_0x469757;let _0x2df497;for(const _0x341169 in _0x4855cf){const _0xb0e002=_0x341169,_0x58bbdb=_0x4855cf[_0xb0e002];if(_0x209e54(0x21a)==_0x58bbdb||_0x209e54(0x1fe)==_0x58bbdb||_0x209e54(0x1eb)==_0x58bbdb||_0x209e54(0x21f)==_0x58bbdb||_0x209e54(0x1f4)==_0x58bbdb||_0x209e54(0x1e2)==_0x58bbdb||_0x209e54(0x222)==_0x58bbdb||_0x209e54(0x22c)==_0x58bbdb){delete _0x4855cf[_0xb0e002],_0x2df497=_0x58bbdb,clearInterval(this[_0x209e54(0x1f3)]),this[_0x209e54(0x1f3)]=void 0x0;break;}}_0x209e54(0x1fe)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x21c)),_0x209e54(0x1eb)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1e5)),_0x209e54(0x21f)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1fc)),_0x209e54(0x1f4)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x20a),_0x209e54(0x1ed)),_0x209e54(0x1e2)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1df)),_0x209e54(0x222)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x209)),_0x209e54(0x22c)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1e1));},0x3e8);}[_0x1d85e5(0x221)](){const _0x3ac7c2=_0x1d85e5,{editor:_0x76e3b6}=this,_0x530e0d=_0x76e3b6[_0x3ac7c2(0x226)][_0x3ac7c2(0x227)](_0x3ac7c2(0x1ff));if(!_0x530e0d)return;const _0xa7bbe9=this[_0x3ac7c2(0x220)](_0x76e3b6[_0x3ac7c2(0x228)][_0x3ac7c2(0x227)](_0x3ac7c2(0x20f)))[_0x3ac7c2(0x1e6)]((_0x554bb0,_0x1a0d27)=>{const _0x440d06=_0x3ac7c2,_0x162e19=this[_0x440d06(0x1fd)](_0x1a0d27[_0x440d06(0x22f)]);return _0x554bb0[_0x162e19]||(_0x554bb0[_0x162e19]=[]),_0x554bb0[_0x162e19][_0x440d06(0x1f7)](_0x1a0d27),_0x554bb0;},{});_0x76e3b6[_0x3ac7c2(0x224)][_0x3ac7c2(0x202)](_0x3ac7c2(0x203))&&_0x76e3b6[_0x3ac7c2(0x226)][_0x3ac7c2(0x227)](_0x3ac7c2(0x1ff))&&Object[_0x3ac7c2(0x1ee)](_0xa7bbe9)[_0x3ac7c2(0x216)](([_0x230c1e,_0x4d188a])=>{const _0x1acb1b=_0x3ac7c2;_0x76e3b6[_0x1acb1b(0x224)][_0x1acb1b(0x227)](_0x1acb1b(0x203))[_0x1acb1b(0x217)]({'name':_0x230c1e,'observable':()=>_0x530e0d,'buttonViewCreator':()=>this[_0x1acb1b(0x212)](_0x4d188a),'formViewCreator':()=>this[_0x1acb1b(0x1fb)](_0x4d188a),'menuBarButtonViewCreator':()=>this[_0x1acb1b(0x1e4)](_0x4d188a),'override':_0x1acb1b(0x208)!==_0x230c1e});});}[_0x1d85e5(0x210)](){const _0x4f04b6=_0x1d85e5;super[_0x4f04b6(0x210)](),this[_0x4f04b6(0x1f3)]&&clearInterval(this[_0x4f04b6(0x1f3)]);}[_0x1d85e5(0x220)](_0x70f2c7){const _0x2f4b8a=_0x1d85e5,{locale:_0x4637c9}=this[_0x2f4b8a(0x20c)];return _0x70f2c7[_0x2f4b8a(0x1f2)](_0x21f8da=>{const _0x55f19b=_0x2f4b8a,_0x148f33=_0x1442bc(_0x4637c9,_0x21f8da,_0x55f19b(0x214));switch(_0x21f8da){case _0x54df2c[_0x55f19b(0x22e)]:return{'icon':_0xf799e8,'type':_0x54df2c[_0x55f19b(0x22e)],..._0x148f33};case _0x54df2c[_0x55f19b(0x1f8)]:return{'icon':_0x50ca44,'type':_0x54df2c[_0x55f19b(0x1f8)],..._0x148f33};case _0x54df2c[_0x55f19b(0x219)]:return{'icon':_0x5d7554,'type':_0x54df2c[_0x55f19b(0x219)],..._0x148f33};case _0x54df2c[_0x55f19b(0x206)]:return{'icon':_0x7dba8b,'type':_0x54df2c[_0x55f19b(0x206)],..._0x148f33};case _0x54df2c[_0x55f19b(0x1f9)]:return{'icon':_0x380673,'type':_0x54df2c[_0x55f19b(0x1f9)],..._0x148f33};case _0x54df2c[_0x55f19b(0x215)]:return{'icon':_0x5b0897,'type':_0x54df2c[_0x55f19b(0x215)],..._0x148f33};case _0x54df2c[_0x55f19b(0x229)]:return{'icon':_0x3e45d9,'type':_0x54df2c[_0x55f19b(0x229)],..._0x148f33};}});}[_0x1d85e5(0x1fd)](_0x164cc5){const _0x41395c=_0x1d85e5;switch(_0x164cc5){case _0x54df2c[_0x41395c(0x22e)]:return _0x41395c(0x20b);case _0x54df2c[_0x41395c(0x1f8)]:return _0x41395c(0x1e7);default:return _0x41395c(0x208);}}[_0x1d85e5(0x1ec)](_0x59a58b,_0x2d0fa0){const _0x1d902f=_0x1d85e5,_0x9cdd=this[_0x1d902f(0x20c)],_0x255bef=new _0x59a58b(_0x9cdd[_0x1d902f(0x1ef)]),_0x2f7bd9=_0x9cdd[_0x1d902f(0x226)][_0x1d902f(0x227)](_0x1d902f(0x1ff));return _0x255bef[_0x1d902f(0x223)](_0x1d902f(0x21e))['to'](_0x2f7bd9),_0x255bef['on'](_0x1d902f(0x1e3),()=>{const _0x5ea1a1=_0x1d902f;_0x2f7bd9[_0x5ea1a1(0x1e3)](_0x2d0fa0);}),_0x255bef;}[_0x1d85e5(0x212)](_0x202791){const _0x5ea03f=_0x1d85e5,{locale:_0x4ae0b8}=this[_0x5ea03f(0x20c)],_0x26b510=this[_0x5ea03f(0x20c)][_0x5ea03f(0x224)][_0x5ea03f(0x227)](_0x5ea03f(0x203)),_0x50d216=_0x202791[0x0],_0x6421fc=this[_0x5ea03f(0x1ec)](_0x5b42ae,_0x50d216[_0x5ea03f(0x22f)]);return _0x6421fc[_0x5ea03f(0x211)]=_0x50d216[_0x5ea03f(0x211)],_0x6421fc[_0x5ea03f(0x223)](_0x5ea03f(0x200))['to'](_0x26b510,_0x5ea03f(0x207),_0x3bb894=>_0x1442bc(_0x4ae0b8,_0x50d216[_0x5ea03f(0x22f)],_0x3bb894?_0x5ea03f(0x204):_0x5ea03f(0x214))[_0x5ea03f(0x218)]),_0x6421fc[_0x5ea03f(0x1f1)]=!0x0,_0x6421fc;}[_0x1d85e5(0x1fb)](_0x4d28d2){const _0x46f0f6=_0x1d85e5,{locale:_0x3557c7}=this[_0x46f0f6(0x20c)],_0x3512e6=this[_0x46f0f6(0x20c)][_0x46f0f6(0x224)][_0x46f0f6(0x227)](_0x46f0f6(0x203));return _0x4d28d2[_0x46f0f6(0x1f2)](_0x59eaf5=>{const _0x2821c1=_0x46f0f6,_0x1d87f7=this[_0x2821c1(0x1ec)](_0x5b42ae,_0x59eaf5[_0x2821c1(0x22f)]);return _0x1d87f7[_0x2821c1(0x21d)]=!0x0,_0x1d87f7[_0x2821c1(0x211)]=_0x59eaf5[_0x2821c1(0x211)],_0x1d87f7[_0x2821c1(0x223)](_0x2821c1(0x200))['to'](_0x3512e6,_0x2821c1(0x207),_0x4e0bf3=>_0x1442bc(_0x3557c7,_0x59eaf5[_0x2821c1(0x22f)],_0x4e0bf3?_0x2821c1(0x204):_0x2821c1(0x214))[_0x2821c1(0x218)]),_0x1d87f7;});}[_0x1d85e5(0x1e4)](_0x3dfb64){const _0x552aa1=_0x1d85e5;return _0x3dfb64[_0x552aa1(0x1f2)](_0x2183ca=>{const _0x391a89=_0x552aa1,_0x39fd59=this[_0x391a89(0x1ec)](_0x56c382,_0x2183ca[_0x391a89(0x22f)]);return _0x39fd59[_0x391a89(0x211)]=_0x2183ca[_0x391a89(0x211)],_0x39fd59[_0x391a89(0x200)]=_0x2183ca[_0x391a89(0x205)],_0x39fd59;});}}
23
+ const _0x19f600=_0x10c2;(function(_0x599666,_0x120c9d){const _0x42db55=_0x10c2,_0x2aa925=_0x599666();while(!![]){try{const _0x4cd93a=parseInt(_0x42db55(0x158))/0x1+parseInt(_0x42db55(0x111))/0x2+parseInt(_0x42db55(0x140))/0x3*(parseInt(_0x42db55(0x129))/0x4)+parseInt(_0x42db55(0x11d))/0x5*(parseInt(_0x42db55(0x11b))/0x6)+parseInt(_0x42db55(0x135))/0x7*(parseInt(_0x42db55(0x157))/0x8)+-parseInt(_0x42db55(0x14a))/0x9+-parseInt(_0x42db55(0x123))/0xa;if(_0x4cd93a===_0x120c9d)break;else _0x2aa925['push'](_0x2aa925['shift']());}catch(_0x17f0d5){_0x2aa925['push'](_0x2aa925['shift']());}}}(_0x3255,0xd68a4));import{Plugin as _0x1569ac}from'ckeditor5/src/core.js';import{IconDropbox as _0x17bd69,IconFacebook as _0x33bf55,IconGoogleDrive as _0x160528,IconGooglePhotos as _0x132d22,IconUploadcareImageUpload as _0x78690f,IconUploadcareLink as _0x208005,IconOneDrive as _0x4b4aed}from'ckeditor5/src/icons.js';import{ButtonView as _0x57afac,MenuBarMenuListItemButtonView as _0x2f8e26}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x11ead1}from'./uploadcareconfig.js';import{getTranslation as _0x4cbf24}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1569ac{[_0x19f600(0x141)];[_0x19f600(0x110)];static get[_0x19f600(0x155)](){const _0x55c7a3=_0x19f600;return _0x55c7a3(0x142);}static get[_0x19f600(0x12a)](){return!0x0;}static get[_0x19f600(0x118)](){return!0x0;}[_0x19f600(0x12e)](){const _0x4659cb=_0x19f600;this[_0x4659cb(0x141)]=this[_0x4659cb(0x121)][_0x4659cb(0x130)][_0x4659cb(0x12c)](_0x4659cb(0x141));const _0x3c9d7a=this[_0x4659cb(0x121)];this[_0x4659cb(0x110)]=setInterval(()=>{const _0x215b33=_0x4659cb;let _0x2ac709;for(const _0x5300c7 in _0x3c9d7a){const _0x1b8217=_0x5300c7,_0x318e15=_0x3c9d7a[_0x1b8217];if(_0x215b33(0x13c)==_0x318e15||_0x215b33(0x133)==_0x318e15||_0x215b33(0x127)==_0x318e15||_0x215b33(0x144)==_0x318e15||_0x215b33(0x15e)==_0x318e15||_0x215b33(0x113)==_0x318e15||_0x215b33(0x131)==_0x318e15||_0x215b33(0x128)==_0x318e15){delete _0x3c9d7a[_0x1b8217],_0x2ac709=_0x318e15,clearInterval(this[_0x215b33(0x110)]),this[_0x215b33(0x110)]=void 0x0;break;}}_0x215b33(0x133)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x125)),_0x215b33(0x127)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x11a)),_0x215b33(0x144)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x14b)),_0x215b33(0x15e)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x154),_0x215b33(0x12f)),_0x215b33(0x113)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x11e)),_0x215b33(0x131)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x136)),_0x215b33(0x128)==_0x2ac709&&_0x3c9d7a[_0x215b33(0x146)](_0x215b33(0x15b));},0x3e8);}[_0x19f600(0x13a)](){const _0x5934ff=_0x19f600,{editor:_0x2bbcca}=this,_0x45307f=_0x2bbcca[_0x5934ff(0x139)][_0x5934ff(0x12c)](_0x5934ff(0x15a));if(!_0x45307f)return;const _0x54f586=this[_0x5934ff(0x112)](_0x2bbcca[_0x5934ff(0x130)][_0x5934ff(0x12c)](_0x5934ff(0x14e)))[_0x5934ff(0x145)]((_0x77e57f,_0x3939f2)=>{const _0x8f7add=_0x5934ff,_0x2fa3e9=this[_0x8f7add(0x117)](_0x3939f2[_0x8f7add(0x10f)]);return _0x77e57f[_0x2fa3e9]||(_0x77e57f[_0x2fa3e9]=[]),_0x77e57f[_0x2fa3e9][_0x8f7add(0x15d)](_0x3939f2),_0x77e57f;},{});_0x2bbcca[_0x5934ff(0x147)][_0x5934ff(0x13d)](_0x5934ff(0x116))&&_0x2bbcca[_0x5934ff(0x139)][_0x5934ff(0x12c)](_0x5934ff(0x15a))&&Object[_0x5934ff(0x11c)](_0x54f586)[_0x5934ff(0x14f)](([_0x151cdd,_0x322b50])=>{const _0x69bd48=_0x5934ff;_0x2bbcca[_0x69bd48(0x147)][_0x69bd48(0x12c)](_0x69bd48(0x116))[_0x69bd48(0x138)]({'name':_0x151cdd,'observable':()=>_0x45307f,'buttonViewCreator':()=>this[_0x69bd48(0x151)](_0x322b50),'formViewCreator':()=>this[_0x69bd48(0x15f)](_0x322b50),'menuBarButtonViewCreator':()=>this[_0x69bd48(0x156)](_0x322b50),'override':_0x69bd48(0x14d)!==_0x151cdd});});}[_0x19f600(0x14c)](){const _0x458bd3=_0x19f600;super[_0x458bd3(0x14c)](),this[_0x458bd3(0x110)]&&clearInterval(this[_0x458bd3(0x110)]);}[_0x19f600(0x112)](_0x42d728){const _0x75727b=_0x19f600,{locale:_0x5a9daa}=this[_0x75727b(0x121)];return _0x42d728[_0x75727b(0x126)](_0x3dc4b7=>{const _0x592cd4=_0x75727b,_0x2decf6=_0x4cbf24(_0x5a9daa,_0x3dc4b7,_0x592cd4(0x159));switch(_0x3dc4b7){case _0x11ead1[_0x592cd4(0x13b)]:return{'icon':_0x78690f,'type':_0x11ead1[_0x592cd4(0x13b)],..._0x2decf6};case _0x11ead1[_0x592cd4(0x15c)]:return{'icon':_0x208005,'type':_0x11ead1[_0x592cd4(0x15c)],..._0x2decf6};case _0x11ead1[_0x592cd4(0x11f)]:return{'icon':_0x17bd69,'type':_0x11ead1[_0x592cd4(0x11f)],..._0x2decf6};case _0x11ead1[_0x592cd4(0x114)]:return{'icon':_0x33bf55,'type':_0x11ead1[_0x592cd4(0x114)],..._0x2decf6};case _0x11ead1[_0x592cd4(0x120)]:return{'icon':_0x160528,'type':_0x11ead1[_0x592cd4(0x120)],..._0x2decf6};case _0x11ead1[_0x592cd4(0x152)]:return{'icon':_0x132d22,'type':_0x11ead1[_0x592cd4(0x152)],..._0x2decf6};case _0x11ead1[_0x592cd4(0x115)]:return{'icon':_0x4b4aed,'type':_0x11ead1[_0x592cd4(0x115)],..._0x2decf6};}});}[_0x19f600(0x117)](_0x2ee4ed){const _0x2c0f56=_0x19f600;switch(_0x2ee4ed){case _0x11ead1[_0x2c0f56(0x13b)]:return _0x2c0f56(0x122);case _0x11ead1[_0x2c0f56(0x15c)]:return _0x2c0f56(0x119);default:return _0x2c0f56(0x14d);}}[_0x19f600(0x124)](_0x17a6bf,_0x49cdd7){const _0x3bd353=_0x19f600,_0x22ea23=this[_0x3bd353(0x121)],_0x48b879=new _0x17a6bf(_0x22ea23[_0x3bd353(0x13e)]),_0x44a4f1=_0x22ea23[_0x3bd353(0x139)][_0x3bd353(0x12c)](_0x3bd353(0x15a));return _0x48b879[_0x3bd353(0x12d)](_0x3bd353(0x149))['to'](_0x44a4f1),_0x48b879['on'](_0x3bd353(0x137),()=>{const _0x3443b7=_0x3bd353;_0x44a4f1[_0x3443b7(0x137)](_0x49cdd7);}),_0x48b879;}[_0x19f600(0x151)](_0x1be17f){const _0x1e4139=_0x19f600,{locale:_0x3720c0}=this[_0x1e4139(0x121)],_0xfb12ac=this[_0x1e4139(0x121)][_0x1e4139(0x147)][_0x1e4139(0x12c)](_0x1e4139(0x116)),_0x3e2cfb=_0x1be17f[0x0],_0x476e60=this[_0x1e4139(0x124)](_0x57afac,_0x3e2cfb[_0x1e4139(0x10f)]);return _0x476e60[_0x1e4139(0x153)]=_0x3e2cfb[_0x1e4139(0x153)],_0x476e60[_0x1e4139(0x12d)](_0x1e4139(0x132))['to'](_0xfb12ac,_0x1e4139(0x148),_0x12093d=>_0x4cbf24(_0x3720c0,_0x3e2cfb[_0x1e4139(0x10f)],_0x12093d?_0x1e4139(0x143):_0x1e4139(0x159))[_0x1e4139(0x12b)]),_0x476e60[_0x1e4139(0x13f)]=!0x0,_0x476e60;}[_0x19f600(0x15f)](_0x269702){const _0x1e1e5f=_0x19f600,{locale:_0x106619}=this[_0x1e1e5f(0x121)],_0x15e682=this[_0x1e1e5f(0x121)][_0x1e1e5f(0x147)][_0x1e1e5f(0x12c)](_0x1e1e5f(0x116));return _0x269702[_0x1e1e5f(0x126)](_0x1392ee=>{const _0x30539f=_0x1e1e5f,_0x29f8b9=this[_0x30539f(0x124)](_0x57afac,_0x1392ee[_0x30539f(0x10f)]);return _0x29f8b9[_0x30539f(0x150)]=!0x0,_0x29f8b9[_0x30539f(0x153)]=_0x1392ee[_0x30539f(0x153)],_0x29f8b9[_0x30539f(0x12d)](_0x30539f(0x132))['to'](_0x15e682,_0x30539f(0x148),_0xb8ed5b=>_0x4cbf24(_0x106619,_0x1392ee[_0x30539f(0x10f)],_0xb8ed5b?_0x30539f(0x143):_0x30539f(0x159))[_0x30539f(0x12b)]),_0x29f8b9;});}[_0x19f600(0x156)](_0x47f177){const _0x539878=_0x19f600;return _0x47f177[_0x539878(0x126)](_0x327d8e=>{const _0x468a80=_0x539878,_0x5af86d=this[_0x468a80(0x124)](_0x2f8e26,_0x327d8e[_0x468a80(0x10f)]);return _0x5af86d[_0x468a80(0x153)]=_0x327d8e[_0x468a80(0x153)],_0x5af86d[_0x468a80(0x132)]=_0x327d8e[_0x468a80(0x134)],_0x5af86d;});}}function _0x10c2(_0x5144e1,_0x25af8e){const _0x3255aa=_0x3255();return _0x10c2=function(_0x10c2b1,_0x51972f){_0x10c2b1=_0x10c2b1-0x10f;let _0x396b62=_0x3255aa[_0x10c2b1];return _0x396b62;},_0x10c2(_0x5144e1,_0x25af8e);}function _0x3255(){const _0xda7048=['Dropbox','GDrive','editor','upload','34419620fxHsWQ','_createButton','invalid','map','uploadcareLicenseKeyExpired','uploadcareLicenseKeyUsageLimit','1355360CegZat','isOfficialPlugin','text','get','bind','init','Uploadcare','config','uploadcareLicenseKeyTrialLimit','label','uploadcareLicenseKeyInvalid','shortText','1697227OcWrIq','trialLimit','execute','registerIntegration','commands','afterInit','Local','uploadcareLicenseKeyValid','has','locale','tooltip','3ALoZOF','licenseKey','UploadcareUI','Replace','uploadcareLicenseKeyDomainLimit','reduce','_showLicenseError','plugins','isImageSelected','isEnabled','3201111WtcNXu','domainLimit','destroy','assetManager','uploadcare.uploader.sourceList','forEach','withText','_createToolbarButton','GPhotos','icon','featureNotAllowed','pluginName','_createMenuBarButtons','40MmoFbu','1434161YvCcYq','Insert','uploadcare','usageLimit','URL','push','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','type','_licenseKeyCheckInterval','1661462PNNzRh','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','Facebook','OneDrive','ImageInsertUI','_getIntegrationKey','isPremiumPlugin','url','expired','1884pzGKme','entries','13700JyEjpi','evaluationLimit'];_0x3255=function(){return _0xda7048;};return _0x3255();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x193651}from'ckeditor5/src/core.js';import{FileRepository as _0x11d055}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x552d00}from'./uploadcareediting.js';import{UploadUtils as _0x137530}from'./utils/uploadutils.js';import{getImageUrls as _0xb31d7d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x193651{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x11d055,_0x552d00];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x57b95f=this['editor'];if(!!!_0x57b95f['config']['get']('uploadcare'))return;_0x57b95f['plugins']['get'](_0x11d055)['createUploadAdapter']=_0x9eb395=>new A(_0x9eb395,_0x57b95f),_0x57b95f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4e5d47,{imageElement:_0x5eeaaa,data:_0x3bf2cb})=>{_0x57b95f['model']['change'](_0x36056d=>{_0x36056d['setAttribute']('uploadcareImageId',_0x3bf2cb['uploadcareImageId'],_0x5eeaaa);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x34f3d6,_0x59ac7a){this['loader']=_0x34f3d6,this['editor']=_0x59ac7a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x96a54c=this['editor']['config']['get']('uploadcare.pubkey'),_0x523855=await this['loader']['file'];return _0x137530['upload']({'file':_0x523855,'publicKey':_0x96a54c,'signal':this['controller']['signal'],'onProgress':_0x427ce5=>{_0x427ce5&&_0x427ce5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x427ce5['value']);}})['then'](async _0x102333=>{const {imageFallbackUrl:_0x26d476,imageSources:_0x7d421f}=_0xb31d7d(_0x102333['cdnUrl'],_0x102333['imageInfo']['width']);return{'uploadcareImageId':_0x102333['uuid'],'default':_0x26d476,'sources':_0x7d421f};})['catch'](()=>{const _0x5d5094=t('Cannot\x20upload\x20file:')+('\x20'+_0x523855['name']+'.');return Promise['reject'](_0x5d5094);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x577c85}from'ckeditor5/src/core.js';import{FileRepository as _0x22f762}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x54779d}from'./uploadcareediting.js';import{UploadUtils as _0x4b2fc2}from'./utils/uploadutils.js';import{getImageUrls as _0x57a476}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x577c85{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x22f762,_0x54779d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1a1054=this['editor'];if(!!!_0x1a1054['config']['get']('uploadcare'))return;_0x1a1054['plugins']['get'](_0x22f762)['createUploadAdapter']=_0x263226=>new A(_0x263226,_0x1a1054),_0x1a1054['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1dbac4,{imageElement:_0x451565,data:_0x3b4ac5})=>{_0x1a1054['model']['change'](_0xd0e071=>{_0xd0e071['setAttribute']('uploadcareImageId',_0x3b4ac5['uploadcareImageId'],_0x451565);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x345c14,_0x390ce9){this['loader']=_0x345c14,this['editor']=_0x390ce9,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x47c63d=this['editor']['config']['get']('uploadcare.pubkey'),_0x438c5a=await this['loader']['file'];return _0x4b2fc2['upload']({'file':_0x438c5a,'publicKey':_0x47c63d,'signal':this['controller']['signal'],'onProgress':_0x5e1447=>{_0x5e1447&&_0x5e1447['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e1447['value']);}})['then'](async _0xfb89fa=>{const {imageFallbackUrl:_0x478e4e,imageSources:_0x25897a}=_0x57a476(_0xfb89fa['cdnUrl'],_0xfb89fa['imageInfo']['width']);return{'uploadcareImageId':_0xfb89fa['uuid'],'default':_0x478e4e,'sources':_0x25897a};})['catch'](()=>{const _0x4e7712=t('Cannot\x20upload\x20file:')+('\x20'+_0x438c5a['name']+'.');return Promise['reject'](_0x4e7712);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x41b1cf}from'../uploadcareconfig.js';export function getTranslation(_0x417d6f,_0x4686f0,_0x367fd1){const t=_0x417d6f['t'],_0x333873=_0x417d6f['t'];switch(_0x4686f0){case _0x41b1cf['Local']:return{'text':_0x333873('Insert'===_0x367fd1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x333873('From\x20computer')};case _0x41b1cf['URL']:return{'text':'Insert'===_0x367fd1?_0x333873('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x333873('Via\x20URL')};case _0x41b1cf['Dropbox']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x41b1cf['Facebook']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x41b1cf['GDrive']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x41b1cf['GPhotos']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x41b1cf['OneDrive']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4686f0;}}
23
+ import{UploadcareSource as _0x489b70}from'../uploadcareconfig.js';export function getTranslation(_0x11fb8a,_0x116aa2,_0x3803ba){const t=_0x11fb8a['t'],_0x2bd404=_0x11fb8a['t'];switch(_0x116aa2){case _0x489b70['Local']:return{'text':_0x2bd404('Insert'===_0x3803ba?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2bd404('From\x20computer')};case _0x489b70['URL']:return{'text':'Insert'===_0x3803ba?_0x2bd404('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2bd404('Via\x20URL')};case _0x489b70['Dropbox']:return{'text':t('Insert'===_0x3803ba?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x489b70['Facebook']:return{'text':t('Insert'===_0x3803ba?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x489b70['GDrive']:return{'text':t('Insert'===_0x3803ba?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x489b70['GPhotos']:return{'text':t('Insert'===_0x3803ba?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x489b70['OneDrive']:return{'text':t('Insert'===_0x3803ba?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x116aa2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x43d9c7=_0x5c1e;function _0x5c1e(_0x207b71,_0x228837){var _0x1be614=_0x1be6();return _0x5c1e=function(_0x5c1e30,_0x44acd0){_0x5c1e30=_0x5c1e30-0x1d4;var _0x3c0fd8=_0x1be614[_0x5c1e30];return _0x3c0fd8;},_0x5c1e(_0x207b71,_0x228837);}(function(_0x28fc04,_0x17c241){var _0x2c0f3e=_0x5c1e,_0x1ec927=_0x28fc04();while(!![]){try{var _0x129fe2=parseInt(_0x2c0f3e(0x1e2))/0x1+-parseInt(_0x2c0f3e(0x1e7))/0x2+-parseInt(_0x2c0f3e(0x1d8))/0x3*(parseInt(_0x2c0f3e(0x1e3))/0x4)+-parseInt(_0x2c0f3e(0x1e1))/0x5*(parseInt(_0x2c0f3e(0x1df))/0x6)+-parseInt(_0x2c0f3e(0x1e6))/0x7*(parseInt(_0x2c0f3e(0x1db))/0x8)+-parseInt(_0x2c0f3e(0x1d7))/0x9*(-parseInt(_0x2c0f3e(0x1dd))/0xa)+parseInt(_0x2c0f3e(0x1dc))/0xb*(parseInt(_0x2c0f3e(0x1d5))/0xc);if(_0x129fe2===_0x17c241)break;else _0x1ec927['push'](_0x1ec927['shift']());}catch(_0x3ec2e0){_0x1ec927['push'](_0x1ec927['shift']());}}}(_0x1be6,0x98795));import{FocusTracker as _0x120117}from'ckeditor5/src/utils.js';import{View as _0x34b97f,FocusCycler as _0x21ef22}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x34b97f{[_0x43d9c7(0x1da)];[_0x43d9c7(0x1e4)];constructor(_0x7b0dbc){var _0x205fc5=_0x43d9c7;super(_0x7b0dbc),this[_0x205fc5(0x1da)]=new _0x120117(),this[_0x205fc5(0x1e4)]=new _0x21ef22({'focusables':this[_0x205fc5(0x1e5)](),'focusTracker':this[_0x205fc5(0x1da)]});}[_0x43d9c7(0x1d6)](){var _0x2c9600=_0x43d9c7;return{'tag':_0x2c9600(0x1e8),'attributes':{'aria-hidden':_0x2c9600(0x1d4),'tabindex':'0'},'on':{'focus':this[_0x2c9600(0x1de)]['to'](()=>{var _0x548a59=_0x2c9600;this[_0x548a59(0x1e4)][_0x548a59(0x1e0)](_0x548a59(0x1d9));})}};}}function _0x1be6(){var _0x230448=['focusCycler','createCollection','45815IokCdd','1426634uwHsER','div','true','4596Qpbbmf','getFocusableElement','9KYgCTf','3SuYJtS','forwardCycle','focusTracker','1224WTconS','83677JmDxhA','5560770dTpnCv','bindTemplate','394122ShrXOR','fire','95PgHYer','577038YLqjND','1837232FdqEOd'];_0x1be6=function(){return _0x230448;};return _0x1be6();}
23
+ var _0x9ddf98=_0x16fe;(function(_0x5690f4,_0x3539dd){var _0x6a3847=_0x16fe,_0x4379fe=_0x5690f4();while(!![]){try{var _0x2f9a12=-parseInt(_0x6a3847(0x168))/0x1*(parseInt(_0x6a3847(0x165))/0x2)+-parseInt(_0x6a3847(0x162))/0x3*(parseInt(_0x6a3847(0x171))/0x4)+-parseInt(_0x6a3847(0x169))/0x5+parseInt(_0x6a3847(0x15d))/0x6*(-parseInt(_0x6a3847(0x16b))/0x7)+-parseInt(_0x6a3847(0x15e))/0x8*(parseInt(_0x6a3847(0x164))/0x9)+-parseInt(_0x6a3847(0x15f))/0xa*(parseInt(_0x6a3847(0x160))/0xb)+parseInt(_0x6a3847(0x167))/0xc;if(_0x2f9a12===_0x3539dd)break;else _0x4379fe['push'](_0x4379fe['shift']());}catch(_0x336bd5){_0x4379fe['push'](_0x4379fe['shift']());}}}(_0x42a3,0x55894));function _0x16fe(_0x245611,_0x3ecf33){var _0x42a329=_0x42a3();return _0x16fe=function(_0x16fe02,_0x557c7c){_0x16fe02=_0x16fe02-0x15d;var _0x48985c=_0x42a329[_0x16fe02];return _0x48985c;},_0x16fe(_0x245611,_0x3ecf33);}import{FocusTracker as _0x27f4ca}from'ckeditor5/src/utils.js';import{View as _0x2ebb68,FocusCycler as _0x179cb3}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x42a3(){var _0x1938c9=['1602981QjvIvR','19168LjvVgT','fire','22723248xPpkPf','32mHLloY','444270wYvjow','bindTemplate','2282ufbcml','createCollection','getFocusableElement','focusCycler','focusTracker','forwardCycle','8moblyt','90adxhLv','8SSIgFp','290BgwYpK','171413yALaTq','div','769200HdcRxP','true'];_0x42a3=function(){return _0x1938c9;};return _0x42a3();}export class DialogFocusManagerView extends _0x2ebb68{[_0x9ddf98(0x16f)];[_0x9ddf98(0x16e)];constructor(_0x18f09c){var _0x505bec=_0x9ddf98;super(_0x18f09c),this[_0x505bec(0x16f)]=new _0x27f4ca(),this[_0x505bec(0x16e)]=new _0x179cb3({'focusables':this[_0x505bec(0x16c)](),'focusTracker':this[_0x505bec(0x16f)]});}[_0x9ddf98(0x16d)](){var _0x24986f=_0x9ddf98;return{'tag':_0x24986f(0x161),'attributes':{'aria-hidden':_0x24986f(0x163),'tabindex':'0'},'on':{'focus':this[_0x24986f(0x16a)]['to'](()=>{var _0x34d27f=_0x24986f;this[_0x34d27f(0x16e)][_0x34d27f(0x166)](_0x34d27f(0x170));})}};}}