@ckeditor/ckeditor5-uploadcare 47.6.0 → 47.6.1-alpha.1

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 _0x16a872=_0x5030;(function(_0x4d2df2,_0x42dcd2){const _0x55fda3=_0x5030,_0x2aae5e=_0x4d2df2();while(!![]){try{const _0x3005f1=parseInt(_0x55fda3(0x10a))/0x1*(-parseInt(_0x55fda3(0x12a))/0x2)+parseInt(_0x55fda3(0x134))/0x3*(parseInt(_0x55fda3(0x135))/0x4)+-parseInt(_0x55fda3(0x148))/0x5+parseInt(_0x55fda3(0x136))/0x6+parseInt(_0x55fda3(0x100))/0x7+-parseInt(_0x55fda3(0x11c))/0x8+-parseInt(_0x55fda3(0x125))/0x9;if(_0x3005f1===_0x42dcd2)break;else _0x2aae5e['push'](_0x2aae5e['shift']());}catch(_0xb756d6){_0x2aae5e['push'](_0x2aae5e['shift']());}}}(_0x88a1,0xa0d3e));function _0x5030(_0x3ef6df,_0x521557){const _0x88a192=_0x88a1();return _0x5030=function(_0x503004,_0x5434d5){_0x503004=_0x503004-0xf8;let _0x185b39=_0x88a192[_0x503004];return _0x185b39;},_0x5030(_0x3ef6df,_0x521557);}function _0x88a1(){const _0x2a7d6b=['render','body','replaceImageSource','conversion','removeAttribute','uploader-','imageInline','upcast','13339XcDkJp','execute','fromCharCode','ctxElement','\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','_configElement','configElement','once','afterInit','selection','elementToAttribute','uc-upload-ctx-provider','document','href','_ctxElement','map','iconHrefResolver','getSelectedElement','9736416QDNSoj','uc-config','uploadcare.uploader','pluginName','downcast','destroy','locale','true','for','1351584tQLPOL','input[uploadcare-file-input]','imageBlock','isOfficialPlugin','getAttribute','4PjxCTP','contentLanguage','_initConversion','view','ucContextId','querySelector','data-uc-image-id','PictureEditing','insertImage','requires','1101HUyuee','13084PpTbAK','4575648gQMpBl','isPremiumPlugin','get','add','model','join','uploadcareImageReplace','_initImageProcessingIndicator','uploadcare','closeMax','config','listenTo','UploadcareEditing','remove','_initConfig','schema','uploadcare.pubkey','init','4567080orVMZP','cleanupImage','#uc-icon-arrow-down','editor','attributeToAttribute','editing','commands','_initSchema','appendChild','uploadcareImageId','isRegistered','_initCtx','7021049AFLqyf','extend'];_0x88a1=function(){return _0x2a7d6b;};return _0x88a1();}import{Plugin as _0x229f32}from'ckeditor5/src/core.js';import{Dialog as _0x45b15c}from'ckeditor5/src/ui.js';import{createElement as _0x3ffe5c,global as _0x249155,uid as _0x78f695}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x144201}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x344a0d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x207d4f}from'./utils/editingutils.js';export class UploadcareEditing extends _0x229f32{[_0x16a872(0x10f)]=null;[_0x16a872(0x118)]=null;static get[_0x16a872(0x11f)](){const _0xb103bc=_0x16a872;return _0xb103bc(0x142);}static get[_0x16a872(0x133)](){const _0x11852b=_0x16a872;return[_0x11852b(0x131),_0x344a0d,_0x45b15c];}static get[_0x16a872(0x128)](){return!0x0;}static get[_0x16a872(0x137)](){return!0x0;}[_0x16a872(0x12e)];get[_0x16a872(0x110)](){const _0x35a42c=_0x16a872;return this[_0x35a42c(0x10f)];}get[_0x16a872(0x10d)](){const _0x5592d5=_0x16a872;return this[_0x5592d5(0x118)];}constructor(_0x864c9f){const _0x4f8cf9=_0x16a872;super(_0x864c9f),this[_0x4f8cf9(0x12e)]=_0x78f695();}[_0x16a872(0x147)](){const _0x44cbb0=_0x16a872,_0xd8dcea=this[_0x44cbb0(0x14b)];_0xd8dcea[_0x44cbb0(0xfa)][_0x44cbb0(0x139)](_0x44cbb0(0x13e),new _0x144201(_0xd8dcea));}[_0x16a872(0x112)](){const _0x4883c1=_0x16a872;this[_0x4883c1(0xfb)](),this[_0x4883c1(0x12c)](),this[_0x4883c1(0x144)](),this[_0x4883c1(0xff)](),this[_0x4883c1(0x13d)](),this[_0x4883c1(0x141)](this[_0x4883c1(0x14b)],_0x4883c1(0x121),()=>{const _0x4a7d3a=_0x4883c1;this[_0x4a7d3a(0x10f)]&&(this[_0x4a7d3a(0x10f)][_0x4a7d3a(0x143)](),this[_0x4a7d3a(0x10f)]=null),this[_0x4a7d3a(0x118)]&&(this[_0x4a7d3a(0x118)][_0x4a7d3a(0x143)](),this[_0x4a7d3a(0x118)]=null);const _0x2e74aa=_0x249155[_0x4a7d3a(0x116)][_0x4a7d3a(0x12f)](_0x4a7d3a(0x126));_0x2e74aa&&_0x2e74aa[_0x4a7d3a(0x143)]();}),async function(_0x51169c){const _0x19597c=_0x2f23d9([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x34b43a=0x535f8c3a,_0x3002e8=0x53580f5a^_0x34b43a,_0x869d86=window[_0x2f23d9([0x44,0x61,0x74,0x65])][_0x2f23d9([0x6e,0x6f,0x77])](),_0x30a349=_0x51169c[_0x2f23d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c8583=new window[(_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15f3cf=>{_0x30a349[_0x2f23d9([0x6f,0x6e,0x63,0x65])](_0x2f23d9([0x72,0x65,0x61,0x64,0x79]),_0x15f3cf);}),_0x33d8c3={[_0x2f23d9([0x6b,0x74,0x79])]:_0x2f23d9([0x45,0x43]),[_0x2f23d9([0x75,0x73,0x65])]:_0x2f23d9([0x73,0x69,0x67]),[_0x2f23d9([0x63,0x72,0x76])]:_0x2f23d9([0x50,0x2d,0x32,0x35,0x36]),[_0x2f23d9([0x78])]:_0x2f23d9([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]),[_0x2f23d9([0x79])]:_0x2f23d9([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]),[_0x2f23d9([0x61,0x6c,0x67])]:_0x2f23d9([0x45,0x53,0x32,0x35,0x36])},_0x575ec7=_0x30a349[_0x2f23d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f23d9([0x67,0x65,0x74])](_0x2f23d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48a45b(){let _0x13fdbd,_0x58be43=null,_0x2ec073=null;try{if(_0x575ec7==_0x2f23d9([0x47,0x50,0x4c]))return _0x2f23d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13fdbd=_0x43d831(),!_0x13fdbd)return _0x2f23d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13fdbd[_0x2f23d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ec073=_0x12777e(_0x13fdbd[_0x2f23d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13fdbd[_0x2f23d9([0x6a,0x74,0x69])])),await _0x176e85()?_0x23f0f1()?_0x187d5c()?_0x2f23d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x506ec0()?(_0x13fdbd[_0x2f23d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f23d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58be43=_0x5b9ca3(_0x2f23d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x33e30d()):_0x2f23d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f23d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f23d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f23d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x187d5c(){const _0x4bed47=[_0x2f23d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f23d9([0x74,0x72,0x69,0x61,0x6c])][_0x2f23d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13fdbd[_0x2f23d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x869d86/0x3e8:0xe10*_0x3002e8;return _0x13fdbd[_0x2f23d9([0x65,0x78,0x70])]<_0x4bed47;}function _0x23f0f1(){const _0x207385=_0x13fdbd[_0x2f23d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x207385&&(!!_0x207385[_0x2f23d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f23d9([0x2a]))||!!_0x207385[_0x2f23d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f23d9([0x55,0x50,0x4c,0x43])));}function _0x506ec0(){const _0x355e93=_0x5030,_0x1e6138=_0x13fdbd[_0x2f23d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1e6138||0x0==_0x1e6138[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3343f8}=new URL(window[_0x2f23d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x355e93(0x117)]);if(_0x1e6138[_0x2f23d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3343f8))return!0x0;const _0x48bc4d=_0x3343f8[_0x2f23d9([0x73,0x70,0x6c,0x69,0x74])](_0x2f23d9([0x2e]));return _0x1e6138[_0x2f23d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x306c04=>_0x306c04[_0x2f23d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f23d9([0x2a])))[_0x2f23d9([0x6d,0x61,0x70])](_0x40742c=>_0x40742c[_0x2f23d9([0x73,0x70,0x6c,0x69,0x74])](_0x2f23d9([0x2e])))[_0x2f23d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d0348=>_0x5d0348[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48bc4d[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f23d9([0x6d,0x61,0x70])](_0x52b9fe=>Array(_0x48bc4d[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52b9fe[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f23d9([0x66,0x69,0x6c,0x6c])](_0x52b9fe[0x0]===_0x2f23d9([0x2a])?_0x2f23d9([0x2a]):'')[_0x2f23d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52b9fe))[_0x2f23d9([0x73,0x6f,0x6d,0x65])](_0x39ee2d=>_0x48bc4d[_0x2f23d9([0x65,0x76,0x65,0x72,0x79])]((_0x4a77f2,_0x362553)=>_0x39ee2d[_0x362553]===_0x4a77f2||_0x39ee2d[_0x362553]===_0x2f23d9([0x2a])));}function _0x33e30d(){return _0x58be43&&_0x2ec073?new window[(_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x352273,_0x10d9fa)=>{_0x58be43[_0x2f23d9([0x74,0x68,0x65,0x6e])](_0x352273,_0x10d9fa),_0x2ec073[_0x2f23d9([0x74,0x68,0x65,0x6e])](_0x1b8db6=>{_0x1b8db6!=_0x2f23d9([0x56,0x61,0x6c,0x69,0x64])&&_0x352273(_0x1b8db6);},_0x10d9fa);}):_0x58be43||_0x2ec073||_0x2f23d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12777e(_0x2b9581,_0x1fc77b){return new window[(_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26e96c=>{if(_0x251ddc())return _0x26e96c(_0x2f23d9([0x56,0x61,0x6c,0x69,0x64]));_0x150b79(),_0x30a349[_0x2f23d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f23d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x366056=!0x1;const _0x484233=_0x78f695();function _0x35c8c3(_0x216f8a){return!!_0x216f8a&&(typeof _0x216f8a===_0x2f23d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x216f8a===_0x2f23d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x216f8a[_0x2f23d9([0x74,0x68,0x65,0x6e])]===_0x2f23d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x216f8a[_0x2f23d9([0x63,0x61,0x74,0x63,0x68])]===_0x2f23d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12a432(_0xd35e7c){_0x24197d(_0xd35e7c)[_0x2f23d9([0x74,0x68,0x65,0x6e])](_0x7a5508=>{if(!_0x7a5508||_0x7a5508[_0x2f23d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f23d9([0x6f,0x6b]))return _0x2f23d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30bc2f(_0x35101a(_0x484233+_0x1fc77b))!=_0x7a5508[_0x2f23d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f23d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f23d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f23d9([0x74,0x68,0x65,0x6e])](_0x30f660=>(_0x172874(),_0x30f660),()=>{const _0xc005ac=_0x35d301();return null==_0xc005ac?(_0x172874(),_0x2f23d9([0x56,0x61,0x6c,0x69,0x64])):_0x2f23d9(_0x869d86-_0xc005ac>(0x7753083a^_0x34b43a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f23d9([0x74,0x68,0x65,0x6e])](_0x26e96c)[_0x2f23d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26e96c(_0x2f23d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3905ce=0x536962ba^_0x34b43a;function _0x172874(){const _0x10efdf=_0x2f23d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x30bc2f(_0x35101a(_0x2b9581)),_0x1abd92=_0x3a8ca2(_0x30bc2f(window[_0x2f23d9([0x4d,0x61,0x74,0x68])][_0x2f23d9([0x63,0x65,0x69,0x6c])](_0x869d86/_0x3905ce)));window[_0x2f23d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f23d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10efdf,_0x1abd92);}function _0x35d301(){const _0x147ed2=_0x2f23d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x30bc2f(_0x35101a(_0x2b9581)),_0x522cd5=window[_0x2f23d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f23d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x147ed2);return _0x522cd5?window[_0x2f23d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a8ca2(_0x522cd5),0x10)*_0x3905ce:null;}function _0x24197d(_0x366b67){return new window[(_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa8056e,_0x1fd6be)=>{_0x366b67[_0x2f23d9([0x74,0x68,0x65,0x6e])](_0xa8056e,_0x1fd6be),window[_0x2f23d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fd6be,0x535e58fa^_0x34b43a);});}}_0x30a349[_0x2f23d9([0x6f,0x6e])](_0x2f23d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26fe3c,_0x32bac2)=>{if(_0x32bac2[0x0]!=_0x2b9581)return _0x26e96c(_0x2f23d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x32bac2[0x1]={..._0x32bac2[0x1],[_0x2f23d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x484233};},{[_0x2f23d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f23d9([0x68,0x69,0x67,0x68])}),_0x30a349[_0x2f23d9([0x6f,0x6e])](_0x2f23d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa97cd6=>{_0x35c8c3(_0xa97cd6[_0x2f23d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x366056=!0x0,_0x12a432(_0xa97cd6[_0x2f23d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f23d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f23d9([0x6c,0x6f,0x77])}),_0x2c8583[_0x2f23d9([0x74,0x68,0x65,0x6e])](()=>{_0x366056||_0x26e96c(_0x2f23d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x251ddc(){return _0x30a349[_0x2f23d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f23d9([0x76,0x69,0x65,0x77])][_0x2f23d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f23d9([0x61,0x75,0x74,0x6f]);}function _0x150b79(){_0x30a349[_0x2f23d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f23d9([0x76,0x69,0x65,0x77])][_0x2f23d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f23d9([0x61,0x75,0x74,0x6f]);}}function _0x5b9ca3(_0x2e230e){const _0x1fd517=[new window[(_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342995=>setTimeout(_0x342995,0x5356b2f6^_0x34b43a)),_0x2c8583[_0x2f23d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb6652c=>{let _0x3dee68=0x0;_0x30a349[_0x2f23d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f23d9([0x6f,0x6e])](_0x2f23d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27e643,_0x21eead)=>{_0x21eead[0x0][_0x2f23d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3dee68++,_0x3dee68==(0x535f89d2^_0x34b43a)&&(_0xb6652c(),_0x27e643[_0x2f23d9([0x6f,0x66,0x66])]());});}))];return window[_0x2f23d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f23d9([0x72,0x61,0x63,0x65])](_0x1fd517)[_0x2f23d9([0x74,0x68,0x65,0x6e])](()=>_0x2e230e);}async function _0x5e6709(){await _0x2c8583,_0x30a349[_0x2f23d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f23d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x570e2c,_0x30a349[_0x2f23d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f23d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x570e2c,_0x30a349[_0x2f23d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f23d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39fcf7(_0x79ed1a){const _0x1221db=_0x413433();_0x30a349[_0x1221db]=_0x2f23d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x79ed1a,_0x79ed1a!=_0x2f23d9([0x56,0x61,0x6c,0x69,0x64])&&_0x5e6709();}function _0x413433(){const _0x275a08=window[_0x2f23d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f23d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f23d9([0x6e,0x6f,0x77])]())[_0x2f23d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f23d9([0x2e]),'');let _0x412876=_0x2f23d9([0x68]);for(let _0x3e9aea=0x0;_0x3e9aea<_0x275a08[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e9aea+=0x2){let _0x1ea28d=window[_0x2f23d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275a08[_0x2f23d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e9aea,_0x3e9aea+0x2));_0x1ea28d>=_0x19597c[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ea28d-=_0x19597c[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x412876+=_0x19597c[_0x1ea28d];}return _0x412876;}function _0x43d831(){const _0x4fa4de=_0x575ec7[_0x2f23d9([0x73,0x70,0x6c,0x69,0x74])](_0x2f23d9([0x2e]));if(0x3!=_0x4fa4de[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1978f0(_0x4fa4de[0x1]);function _0x1978f0(_0x50d9be){const _0x5b3dcb=_0x38a7fc(_0x50d9be);return _0x5b3dcb&&_0x5c539c()?_0x5b3dcb:null;function _0x5c539c(){const _0x21c0f6=_0x5b3dcb[_0x2f23d9([0x6a,0x74,0x69])],_0x5f036a=window[_0x2f23d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21c0f6[_0x2f23d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21c0f6[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15229a={..._0x5b3dcb,[_0x2f23d9([0x6a,0x74,0x69])]:_0x21c0f6[_0x2f23d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21c0f6[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15229a[_0x2f23d9([0x76,0x63])],_0x35101a(_0x15229a)==_0x5f036a;}}}async function _0x176e85(){let _0x33afb4=!0x0;try{const _0x5f189c=_0x575ec7[_0x2f23d9([0x73,0x70,0x6c,0x69,0x74])](_0x2f23d9([0x2e])),[_0x4c2503,_0x2ac414,_0x475dc1]=_0x5f189c;return _0x3e41d(_0x4c2503),await _0x1c0e72(_0x4c2503,_0x2ac414,_0x475dc1),_0x33afb4;}catch{return!0x1;}function _0x3e41d(_0x28f733){const _0x1e7687=_0x38a7fc(_0x28f733);_0x1e7687&&_0x1e7687[_0x2f23d9([0x61,0x6c,0x67])]==_0x2f23d9([0x45,0x53,0x32,0x35,0x36])||(_0x33afb4=!0x1);}async function _0x1c0e72(_0x29c004,_0x284daa,_0x59cc31){const _0x5b3fe3=window[_0x2f23d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f23d9([0x66,0x72,0x6f,0x6d])](_0x5d81c3(_0x59cc31),_0x2522de=>_0x2522de[_0x2f23d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30a780=new window[(_0x2f23d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f23d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29c004+_0x2f23d9([0x2e])+_0x284daa),_0x5a2e82=window[_0x2f23d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f23d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a2e82)return;const _0x22ecfc=await _0x5a2e82[_0x2f23d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f23d9([0x6a,0x77,0x6b]),_0x33d8c3,{[_0x2f23d9([0x6e,0x61,0x6d,0x65])]:_0x2f23d9([0x45,0x43,0x44,0x53,0x41]),[_0x2f23d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f23d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f23d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a2e82[_0x2f23d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f23d9([0x6e,0x61,0x6d,0x65])]:_0x2f23d9([0x45,0x43,0x44,0x53,0x41]),[_0x2f23d9([0x68,0x61,0x73,0x68])]:{[_0x2f23d9([0x6e,0x61,0x6d,0x65])]:_0x2f23d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22ecfc,_0x5b3fe3,_0x30a780)||(_0x33afb4=!0x1);}}function _0x38a7fc(_0x4ce6ae){return _0x4ce6ae[_0x2f23d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f23d9([0x65,0x79]))?JSON[_0x2f23d9([0x70,0x61,0x72,0x73,0x65])](_0x5d81c3(_0x4ce6ae)):null;}function _0x5d81c3(_0x4bbfe4){return window[_0x2f23d9([0x61,0x74,0x6f,0x62])](_0x4bbfe4[_0x2f23d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f23d9([0x2b]))[_0x2f23d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f23d9([0x2f])));}function _0x35101a(_0x168d2e){let _0x36b739=0x1505;function _0x42a776(_0x1a7344){for(let _0x20d68c=0x0;_0x20d68c<_0x1a7344[_0x2f23d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20d68c++){const _0x7ec671=_0x1a7344[_0x2f23d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20d68c);_0x36b739=(_0x36b739<<0x5)+_0x36b739+_0x7ec671,_0x36b739&=_0x36b739;}}function _0x5eb886(_0x3efbf4){Array[_0x2f23d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3efbf4)?_0x3efbf4[_0x2f23d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5eb886):_0x3efbf4&&typeof _0x3efbf4==_0x2f23d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f23d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3efbf4)[_0x2f23d9([0x73,0x6f,0x72,0x74])]()[_0x2f23d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6d9213,_0x5b391c])=>{_0x42a776(_0x6d9213),_0x5eb886(_0x5b391c);}):_0x42a776(window[_0x2f23d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3efbf4));}return _0x5eb886(_0x168d2e),_0x36b739>>>0x0;}function _0x30bc2f(_0x910e59){return _0x910e59[_0x2f23d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f23d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f23d9([0x30]));}function _0x3a8ca2(_0x458588){return _0x458588[_0x2f23d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f23d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f23d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x570e2c(){}function _0x2f23d9(_0x418589){const _0x207030=_0x5030;return _0x418589[_0x207030(0x119)](_0x4252a8=>String[_0x207030(0x10c)](_0x4252a8))[_0x207030(0x13b)]('');}_0x39fcf7(await _0x48a45b());}(this);}[_0x16a872(0xfb)](){const _0x1e1ade=_0x16a872,_0x48fd7c=this[_0x1e1ade(0x14b)][_0x1e1ade(0x13a)][_0x1e1ade(0x145)];_0x48fd7c[_0x1e1ade(0xfe)](_0x1e1ade(0x127))&&_0x48fd7c[_0x1e1ade(0x101)](_0x1e1ade(0x127),{'allowAttributes':[_0x1e1ade(0xfd)]}),_0x48fd7c[_0x1e1ade(0xfe)](_0x1e1ade(0x108))&&_0x48fd7c[_0x1e1ade(0x101)](_0x1e1ade(0x108),{'allowAttributes':[_0x1e1ade(0xfd)]});}[_0x16a872(0x12c)](){const _0x732d83=_0x16a872,_0x391a6f=this[_0x732d83(0x14b)];_0x391a6f[_0x732d83(0x105)][_0x732d83(0x124)](_0x732d83(0x120))[_0x732d83(0xf8)]({'model':_0x732d83(0xfd),'view':_0x732d83(0x130)}),_0x391a6f[_0x732d83(0x105)][_0x732d83(0x124)](_0x732d83(0x109))[_0x732d83(0x114)]({'model':{'key':_0x732d83(0xfd),'value':_0x19df0d=>_0x19df0d[_0x732d83(0x129)](_0x732d83(0x130))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3cf339=_0x391a6f[_0x732d83(0xfa)][_0x732d83(0x138)](_0x732d83(0x104));_0x3cf339&&this[_0x732d83(0x141)](_0x3cf339,_0x732d83(0x149),(_0x406c34,[_0x31cfe0,_0x3cb94d])=>{const _0x2c6735=_0x732d83;_0x31cfe0[_0x2c6735(0x106)](_0x2c6735(0xfd),_0x3cb94d);});}[_0x16a872(0x144)](){const _0x1e9e46=_0x16a872,_0x459342=this[_0x1e9e46(0x14b)][_0x1e9e46(0x140)][_0x1e9e46(0x138)](_0x1e9e46(0x11e))||{},_0x49718e=this[_0x1e9e46(0x14b)][_0x1e9e46(0x140)][_0x1e9e46(0x138)](_0x1e9e46(0x146))||'';this[_0x1e9e46(0x10f)]=_0x3ffe5c(_0x249155[_0x1e9e46(0x116)],_0x1e9e46(0x11d),{..._0x459342,'pubkey':_0x49718e,'ctx-name':_0x1e9e46(0x107)+this[_0x1e9e46(0x12e)],'sourceList':'','imgOnly':_0x1e9e46(0x123),'removeCopyright':_0x1e9e46(0x123),'localeName':this[_0x1e9e46(0x14b)][_0x1e9e46(0x122)][_0x1e9e46(0x12b)],'externalSourcesEmbedCss':_0x1e9e46(0x10e)}),this[_0x1e9e46(0x10f)][_0x1e9e46(0x11a)]=_0xbc67a=>{const _0x269f9a=_0x1e9e46;if(_0x269f9a(0x13f)==_0xbc67a)return _0x269f9a(0x14a);},_0x249155[_0x1e9e46(0x116)][_0x1e9e46(0x103)][_0x1e9e46(0xfc)](this[_0x1e9e46(0x10f)]);}[_0x16a872(0xff)](){const _0xe7920a=_0x16a872;this[_0xe7920a(0x118)]=_0x3ffe5c(_0x249155[_0xe7920a(0x116)],_0xe7920a(0x115),{'ctx-name':_0xe7920a(0x107)+this[_0xe7920a(0x12e)]}),_0x249155[_0xe7920a(0x116)][_0xe7920a(0x103)][_0xe7920a(0xfc)](this[_0xe7920a(0x118)]);}[_0x16a872(0x13d)](){const _0x5670a4=_0x16a872,_0x5d50f3=this[_0x5670a4(0x14b)][_0x5670a4(0xfa)][_0x5670a4(0x138)](_0x5670a4(0x132));_0x5d50f3&&this[_0x5670a4(0x141)](_0x5d50f3,_0x5670a4(0x10b),()=>{const _0x1365fb=_0x5670a4,_0x5b75ca=this[_0x1365fb(0x14b)][_0x1365fb(0x13a)][_0x1365fb(0x116)][_0x1365fb(0x113)][_0x1365fb(0x11b)]();_0x5b75ca&&_0x5b75ca[_0x1365fb(0x129)](_0x1365fb(0xfd))&&this[_0x1365fb(0x14b)][_0x1365fb(0xf9)][_0x1365fb(0x12d)][_0x1365fb(0x111)](_0x1365fb(0x102),()=>{const _0x189528=_0x1365fb;_0x207d4f(this[_0x189528(0x14b)],_0x5b75ca);});});const _0x4f07e7=this[_0x5670a4(0x14b)][_0x5670a4(0xfa)][_0x5670a4(0x138)](_0x5670a4(0x13c));_0x4f07e7&&this[_0x5670a4(0x141)](_0x4f07e7,_0x5670a4(0x10b),()=>{const _0x5e647c=_0x5670a4,_0x1a3ebe=this[_0x5e647c(0x14b)][_0x5e647c(0x13a)][_0x5e647c(0x116)][_0x5e647c(0x113)][_0x5e647c(0x11b)]();_0x1a3ebe&&_0x1a3ebe[_0x5e647c(0x129)](_0x5e647c(0xfd))&&this[_0x5e647c(0x14b)][_0x5e647c(0xf9)][_0x5e647c(0x12d)][_0x5e647c(0x111)](_0x5e647c(0x102),()=>{const _0x27de7a=_0x5e647c;_0x207d4f(this[_0x27de7a(0x14b)],_0x1a3ebe);});});}}
23
+ function _0x373f(){const _0x109fd9=['add','join','remove','cleanupImage','uploadcareImageReplace','UploadcareEditing','closeMax','attributeToAttribute','commands','contentLanguage','requires','appendChild','editor','imageBlock','_initSchema','editing','config','conversion','78kUvJEy','removeAttribute','init','for','782128iRAdsI','1281996mWQszV','extend','fromCharCode','pluginName','uc-upload-ctx-provider','afterInit','isOfficialPlugin','querySelector','_initImageProcessingIndicator','_initConfig','render','_initCtx','replaceImageSource','isRegistered','241790kfUPAE','ctxElement','execute','uploader-','3212153gWBLQb','downcast','schema','uploadcareImageId','_configElement','once','213912uJVjHh','ucContextId','imageInline','selection','uploadcare.uploader','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','destroy','uploadcare.pubkey','uploadcare','getSelectedElement','get','uc-config','configElement','117322IcFZNc','input[uploadcare-file-input]','elementToAttribute','#uc-icon-arrow-down','_initConversion','model','href','insertImage','isPremiumPlugin','locale','map','_ctxElement','listenTo','iconHrefResolver','data-uc-image-id','upcast','document','getAttribute','view','body','PictureEditing','986432zKKNXR','true'];_0x373f=function(){return _0x109fd9;};return _0x373f();}const _0x531908=_0x4b03;(function(_0x23d67b,_0x53ae31){const _0x465023=_0x4b03,_0x3e56f2=_0x23d67b();while(!![]){try{const _0x5e63a1=-parseInt(_0x465023(0x9c))/0x1+parseInt(_0x465023(0xe2))/0x2+-parseInt(_0x465023(0xca))/0x3+-parseInt(_0x465023(0xc9))/0x4+parseInt(_0x465023(0xd8))/0x5*(parseInt(_0x465023(0xc5))/0x6)+parseInt(_0x465023(0xdc))/0x7+-parseInt(_0x465023(0xb1))/0x8;if(_0x5e63a1===_0x53ae31)break;else _0x3e56f2['push'](_0x3e56f2['shift']());}catch(_0x5da7a8){_0x3e56f2['push'](_0x3e56f2['shift']());}}}(_0x373f,0x50cf7));import{Plugin as _0x356f50}from'ckeditor5/src/core.js';function _0x4b03(_0x2c644f,_0x1d65a4){const _0x373ff0=_0x373f();return _0x4b03=function(_0x4b0390,_0x41b978){_0x4b0390=_0x4b0390-0x95;let _0x25b518=_0x373ff0[_0x4b0390];return _0x25b518;},_0x4b03(_0x2c644f,_0x1d65a4);}import{Dialog as _0x454200}from'ckeditor5/src/ui.js';import{createElement as _0x4653d6,global as _0x287720,uid as _0x26bf0f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a1a9f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1c4450}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e6e5d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x356f50{[_0x531908(0xe0)]=null;[_0x531908(0xa7)]=null;static get[_0x531908(0xcd)](){const _0x13fd8d=_0x531908;return _0x13fd8d(0xb8);}static get[_0x531908(0xbd)](){const _0x17d22b=_0x531908;return[_0x17d22b(0xb0),_0x1c4450,_0x454200];}static get[_0x531908(0xd0)](){return!0x0;}static get[_0x531908(0xa4)](){return!0x0;}[_0x531908(0xe3)];get[_0x531908(0x9b)](){const _0x575e2e=_0x531908;return this[_0x575e2e(0xe0)];}get[_0x531908(0xd9)](){const _0x177350=_0x531908;return this[_0x177350(0xa7)];}constructor(_0x90f73c){const _0x2fc3a4=_0x531908;super(_0x90f73c),this[_0x2fc3a4(0xe3)]=_0x26bf0f();}[_0x531908(0xc7)](){const _0x31f4e4=_0x531908,_0x263429=this[_0x31f4e4(0xbf)];_0x263429[_0x31f4e4(0xbb)][_0x31f4e4(0xb3)](_0x31f4e4(0x97),new _0x2a1a9f(_0x263429));}[_0x531908(0xcf)](){const _0x5a2db3=_0x531908;this[_0x5a2db3(0xc1)](),this[_0x5a2db3(0xa0)](),this[_0x5a2db3(0xd3)](),this[_0x5a2db3(0xd5)](),this[_0x5a2db3(0xd2)](),this[_0x5a2db3(0xa8)](this[_0x5a2db3(0xbf)],_0x5a2db3(0x95),()=>{const _0x3d2387=_0x5a2db3;this[_0x3d2387(0xe0)]&&(this[_0x3d2387(0xe0)][_0x3d2387(0xb5)](),this[_0x3d2387(0xe0)]=null),this[_0x3d2387(0xa7)]&&(this[_0x3d2387(0xa7)][_0x3d2387(0xb5)](),this[_0x3d2387(0xa7)]=null);const _0x2caefb=_0x287720[_0x3d2387(0xac)][_0x3d2387(0xd1)](_0x3d2387(0x9d));_0x2caefb&&_0x2caefb[_0x3d2387(0xb5)]();}),async function(_0x4d7e0d){const _0x44845d=_0x29c9fd([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x170a0b=0x535f8c3a,_0x3dc28d=0x53580832^_0x170a0b,_0x41ba1d=window[_0x29c9fd([0x44,0x61,0x74,0x65])][_0x29c9fd([0x6e,0x6f,0x77])](),_0x5897c3=_0x4d7e0d[_0x29c9fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17c753=new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25bd5b=>{_0x5897c3[_0x29c9fd([0x6f,0x6e,0x63,0x65])](_0x29c9fd([0x72,0x65,0x61,0x64,0x79]),_0x25bd5b);}),_0x3e8d77={[_0x29c9fd([0x6b,0x74,0x79])]:_0x29c9fd([0x45,0x43]),[_0x29c9fd([0x75,0x73,0x65])]:_0x29c9fd([0x73,0x69,0x67]),[_0x29c9fd([0x63,0x72,0x76])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36]),[_0x29c9fd([0x78])]:_0x29c9fd([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]),[_0x29c9fd([0x79])]:_0x29c9fd([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]),[_0x29c9fd([0x61,0x6c,0x67])]:_0x29c9fd([0x45,0x53,0x32,0x35,0x36])},_0x2264ad=_0x5897c3[_0x29c9fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29c9fd([0x67,0x65,0x74])](_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5967e(){let _0x50e405,_0x2ee408=null,_0x59ad52=null;try{if(_0x2264ad==_0x29c9fd([0x47,0x50,0x4c]))return _0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e405=_0x15fddf(),!_0x50e405)return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ad52=_0xb89980(_0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e405[_0x29c9fd([0x6a,0x74,0x69])])),await _0x58c191()?_0x2f0712()?_0x286fea()?_0x29c9fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c608f()?(_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ee408=_0x12f9d0(_0x29c9fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e04df()):_0x29c9fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x286fea(){const _0x303432=[_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29c9fd([0x74,0x72,0x69,0x61,0x6c])][_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41ba1d/0x3e8:0xe10*_0x3dc28d;return _0x50e405[_0x29c9fd([0x65,0x78,0x70])]<_0x303432;}function _0x2f0712(){const _0x4be829=_0x50e405[_0x29c9fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4be829&&(!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a]))||!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x55,0x50,0x4c,0x43])));}function _0x3c608f(){const _0x606c88=_0x4b03,_0x2a0d14=_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a0d14||0x0==_0x2a0d14[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x206f35}=new URL(window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x606c88(0xa2)]);if(_0x2a0d14[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x206f35))return!0x0;const _0xdeed7e=_0x206f35[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));return _0x2a0d14[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cdb53=>_0x4cdb53[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a])))[_0x29c9fd([0x6d,0x61,0x70])](_0x2d93b0=>_0x2d93b0[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])))[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8137=>_0x5e8137[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x6d,0x61,0x70])](_0x55272a=>Array(_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55272a[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x66,0x69,0x6c,0x6c])](_0x55272a[0x0]===_0x29c9fd([0x2a])?_0x29c9fd([0x2a]):'')[_0x29c9fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55272a))[_0x29c9fd([0x73,0x6f,0x6d,0x65])](_0x597acc=>_0xdeed7e[_0x29c9fd([0x65,0x76,0x65,0x72,0x79])]((_0x3a8355,_0x394333)=>_0x597acc[_0x394333]===_0x3a8355||_0x597acc[_0x394333]===_0x29c9fd([0x2a])));}function _0x2e04df(){return _0x2ee408&&_0x59ad52?new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44aeec,_0x339030)=>{_0x2ee408[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x44aeec,_0x339030),_0x59ad52[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x306745=>{_0x306745!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0x44aeec(_0x306745);},_0x339030);}):_0x2ee408||_0x59ad52||_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb89980(_0x1304de,_0x129ac8){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5569ed=>{if(_0x26b584())return _0x5569ed(_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]));_0x788262(),_0x5897c3[_0x29c9fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ce2c0=!0x1;const _0x49203b=_0x26bf0f();function _0x4c707a(_0x32f428){return!!_0x32f428&&(typeof _0x32f428===_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32f428===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32f428[_0x29c9fd([0x74,0x68,0x65,0x6e])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32f428[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a0a92(_0x1a25ea){_0x555d99(_0x1a25ea)[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0xa27b5a=>{if(!_0xa27b5a||_0xa27b5a[_0x29c9fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29c9fd([0x6f,0x6b]))return _0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138538(_0x12d98d(_0x49203b+_0x129ac8))!=_0xa27b5a[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x134f53=>(_0x230122(),_0x134f53),()=>{const _0x5640c1=_0x5e44fd();return null==_0x5640c1?(_0x230122(),_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])):_0x29c9fd(_0x41ba1d-_0x5640c1>(0x7753083a^_0x170a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x5569ed)[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33e690=0x536962ba^_0x170a0b;function _0x230122(){const _0x448ca6=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x32dcd6=_0x5d2186(_0x138538(window[_0x29c9fd([0x4d,0x61,0x74,0x68])][_0x29c9fd([0x63,0x65,0x69,0x6c])](_0x41ba1d/_0x33e690)));window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448ca6,_0x32dcd6);}function _0x5e44fd(){const _0x112cae=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x1acc44=window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x112cae);return _0x1acc44?window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d2186(_0x1acc44),0x10)*_0x33e690:null;}function _0x555d99(_0x364743){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2be377,_0x104b4a)=>{_0x364743[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x2be377,_0x104b4a),window[_0x29c9fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104b4a,0x535e58fa^_0x170a0b);});}}_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x85a7fe,_0x596509)=>{if(_0x596509[0x0]!=_0x1304de)return _0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x596509[0x1]={..._0x596509[0x1],[_0x29c9fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49203b};},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x68,0x69,0x67,0x68])}),_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x210ec1=>{_0x4c707a(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ce2c0=!0x0,_0x4a0a92(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x6c,0x6f,0x77])}),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>{_0x5ce2c0||_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26b584(){return _0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29c9fd([0x61,0x75,0x74,0x6f]);}function _0x788262(){_0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29c9fd([0x61,0x75,0x74,0x6f]);}}function _0x12f9d0(_0x19e9bb){const _0x2844a1=[new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3519=>setTimeout(_0x5f3519,0x5356b2f6^_0x170a0b)),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9d61=>{let _0x12018d=0x0;_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7b1185,_0x4347f4)=>{_0x4347f4[0x0][_0x29c9fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12018d++,_0x12018d==(0x535f89d2^_0x170a0b)&&(_0x4c9d61(),_0x7b1185[_0x29c9fd([0x6f,0x66,0x66])]());});}))];return window[_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29c9fd([0x72,0x61,0x63,0x65])](_0x2844a1)[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>_0x19e9bb);}async function _0xd66db(){await _0x17c753,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a408d(_0x3ec2ba){const _0x3c716e=_0x1810ff();_0x5897c3[_0x3c716e]=_0x29c9fd([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ec2ba,_0x3ec2ba!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0xd66db();}function _0x1810ff(){const _0x8a3ba8=window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29c9fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29c9fd([0x6e,0x6f,0x77])]())[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29c9fd([0x2e]),'');let _0x58c743=_0x29c9fd([0x68]);for(let _0x1d0ebd=0x0;_0x1d0ebd<_0x8a3ba8[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d0ebd+=0x2){let _0x5004c7=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8a3ba8[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d0ebd,_0x1d0ebd+0x2));_0x5004c7>=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5004c7-=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58c743+=_0x44845d[_0x5004c7];}return _0x58c743;}function _0x15fddf(){const _0x44fae5=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));if(0x3!=_0x44fae5[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x164ca3(_0x44fae5[0x1]);function _0x164ca3(_0x4e6109){const _0x2e8614=_0x54514e(_0x4e6109);return _0x2e8614&&_0xb0ad12()?_0x2e8614:null;function _0xb0ad12(){const _0x3377c9=_0x2e8614[_0x29c9fd([0x6a,0x74,0x69])],_0x4b0c17=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d0523={..._0x2e8614,[_0x29c9fd([0x6a,0x74,0x69])]:_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d0523[_0x29c9fd([0x76,0x63])],_0x12d98d(_0x5d0523)==_0x4b0c17;}}}async function _0x58c191(){let _0x2b6d6b=!0x0;try{const _0x28b48d=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])),[_0x2edacb,_0x4fbfff,_0x28da46]=_0x28b48d;return _0x25ff15(_0x2edacb),await _0x34afe8(_0x2edacb,_0x4fbfff,_0x28da46),_0x2b6d6b;}catch{return!0x1;}function _0x25ff15(_0x4122f1){const _0xc37de1=_0x54514e(_0x4122f1);_0xc37de1&&_0xc37de1[_0x29c9fd([0x61,0x6c,0x67])]==_0x29c9fd([0x45,0x53,0x32,0x35,0x36])||(_0x2b6d6b=!0x1);}async function _0x34afe8(_0x36085f,_0x5b4789,_0x406eb5){const _0x375c5a=window[_0x29c9fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29c9fd([0x66,0x72,0x6f,0x6d])](_0x4d508b(_0x406eb5),_0x4cdff0=>_0x4cdff0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47884c=new window[(_0x29c9fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29c9fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36085f+_0x29c9fd([0x2e])+_0x5b4789),_0x3c1453=window[_0x29c9fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29c9fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c1453)return;const _0x4879e5=await _0x3c1453[_0x29c9fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29c9fd([0x6a,0x77,0x6b]),_0x3e8d77,{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c1453[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x68,0x61,0x73,0x68])]:{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4879e5,_0x375c5a,_0x47884c)||(_0x2b6d6b=!0x1);}}function _0x54514e(_0x1b9211){return _0x1b9211[_0x29c9fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29c9fd([0x65,0x79]))?JSON[_0x29c9fd([0x70,0x61,0x72,0x73,0x65])](_0x4d508b(_0x1b9211)):null;}function _0x4d508b(_0x2d78d0){return window[_0x29c9fd([0x61,0x74,0x6f,0x62])](_0x2d78d0[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29c9fd([0x2b]))[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29c9fd([0x2f])));}function _0x12d98d(_0x5be3c9){let _0x3d93db=0x1505;function _0x4ccac3(_0x4671f0){for(let _0x801abe=0x0;_0x801abe<_0x4671f0[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x801abe++){const _0x5f4314=_0x4671f0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x801abe);_0x3d93db=(_0x3d93db<<0x5)+_0x3d93db+_0x5f4314,_0x3d93db&=_0x3d93db;}}function _0x15c45b(_0x24d03b){Array[_0x29c9fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24d03b)?_0x24d03b[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15c45b):_0x24d03b&&typeof _0x24d03b==_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29c9fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24d03b)[_0x29c9fd([0x73,0x6f,0x72,0x74])]()[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5da2a1,_0x4f76bd])=>{_0x4ccac3(_0x5da2a1),_0x15c45b(_0x4f76bd);}):_0x4ccac3(window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24d03b));}return _0x15c45b(_0x5be3c9),_0x3d93db>>>0x0;}function _0x138538(_0x513458){return _0x513458[_0x29c9fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29c9fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29c9fd([0x30]));}function _0x5d2186(_0x5314c6){return _0x5314c6[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29c9fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29c9fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x201587(){}function _0x29c9fd(_0x223414){const _0x73e6f8=_0x4b03;return _0x223414[_0x73e6f8(0xa6)](_0x30d2d0=>String[_0x73e6f8(0xcc)](_0x30d2d0))[_0x73e6f8(0xb4)]('');}_0x3a408d(await _0xd5967e());}(this);}[_0x531908(0xc1)](){const _0x1b2cb7=_0x531908,_0x699a31=this[_0x1b2cb7(0xbf)][_0x1b2cb7(0xa1)][_0x1b2cb7(0xde)];_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xc0))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xc0),{'allowAttributes':[_0x1b2cb7(0xdf)]}),_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xe4))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xe4),{'allowAttributes':[_0x1b2cb7(0xdf)]});}[_0x531908(0xa0)](){const _0x49ecc6=_0x531908,_0x5a4d5f=this[_0x49ecc6(0xbf)];_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xdd))[_0x49ecc6(0xba)]({'model':_0x49ecc6(0xdf),'view':_0x49ecc6(0xaa)}),_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xab))[_0x49ecc6(0x9e)]({'model':{'key':_0x49ecc6(0xdf),'value':_0x2663be=>_0x2663be[_0x49ecc6(0xad)](_0x49ecc6(0xaa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f0707=_0x5a4d5f[_0x49ecc6(0xbb)][_0x49ecc6(0x99)](_0x49ecc6(0xd6));_0x2f0707&&this[_0x49ecc6(0xa8)](_0x2f0707,_0x49ecc6(0xb6),(_0x5bda37,[_0x404d7e,_0x4f87df])=>{const _0x274cc4=_0x49ecc6;_0x404d7e[_0x274cc4(0xc6)](_0x274cc4(0xdf),_0x4f87df);});}[_0x531908(0xd3)](){const _0x528ccb=_0x531908,_0x3fcc76=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0xe6))||{},_0x3e3aee=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0x96))||'';this[_0x528ccb(0xe0)]=_0x4653d6(_0x287720[_0x528ccb(0xac)],_0x528ccb(0x9a),{..._0x3fcc76,'pubkey':_0x3e3aee,'ctx-name':_0x528ccb(0xdb)+this[_0x528ccb(0xe3)],'sourceList':'','imgOnly':_0x528ccb(0xb2),'removeCopyright':_0x528ccb(0xb2),'localeName':this[_0x528ccb(0xbf)][_0x528ccb(0xa5)][_0x528ccb(0xbc)],'externalSourcesEmbedCss':_0x528ccb(0xe7)}),this[_0x528ccb(0xe0)][_0x528ccb(0xa9)]=_0x325e5b=>{const _0x38d1b3=_0x528ccb;if(_0x38d1b3(0xb9)==_0x325e5b)return _0x38d1b3(0x9f);},_0x287720[_0x528ccb(0xac)][_0x528ccb(0xaf)][_0x528ccb(0xbe)](this[_0x528ccb(0xe0)]);}[_0x531908(0xd5)](){const _0x35a9c8=_0x531908;this[_0x35a9c8(0xa7)]=_0x4653d6(_0x287720[_0x35a9c8(0xac)],_0x35a9c8(0xce),{'ctx-name':_0x35a9c8(0xdb)+this[_0x35a9c8(0xe3)]}),_0x287720[_0x35a9c8(0xac)][_0x35a9c8(0xaf)][_0x35a9c8(0xbe)](this[_0x35a9c8(0xa7)]);}[_0x531908(0xd2)](){const _0x5b3247=_0x531908,_0x10c474=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xa3));_0x10c474&&this[_0x5b3247(0xa8)](_0x10c474,_0x5b3247(0xda),()=>{const _0x53d74f=_0x5b3247,_0x46e7a3=this[_0x53d74f(0xbf)][_0x53d74f(0xa1)][_0x53d74f(0xac)][_0x53d74f(0xe5)][_0x53d74f(0x98)]();_0x46e7a3&&_0x46e7a3[_0x53d74f(0xad)](_0x53d74f(0xdf))&&this[_0x53d74f(0xbf)][_0x53d74f(0xc2)][_0x53d74f(0xae)][_0x53d74f(0xe1)](_0x53d74f(0xd4),()=>{const _0x1eeaea=_0x53d74f;_0x2e6e5d(this[_0x1eeaea(0xbf)],_0x46e7a3);});});const _0x3c58ff=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xb7));_0x3c58ff&&this[_0x5b3247(0xa8)](_0x3c58ff,_0x5b3247(0xda),()=>{const _0x72b1af=_0x5b3247,_0x173a3d=this[_0x72b1af(0xbf)][_0x72b1af(0xa1)][_0x72b1af(0xac)][_0x72b1af(0xe5)][_0x72b1af(0x98)]();_0x173a3d&&_0x173a3d[_0x72b1af(0xad)](_0x72b1af(0xdf))&&this[_0x72b1af(0xbf)][_0x72b1af(0xc2)][_0x72b1af(0xae)][_0x72b1af(0xe1)](_0x72b1af(0xd4),()=>{const _0xb3c977=_0x72b1af;_0x2e6e5d(this[_0xb3c977(0xbf)],_0x173a3d);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3f3ec6,ObservableMixin as _0x391255}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x530513}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x249be7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4db969}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x57bf67}from'../../utils/uploadutils.js';import{getImageUrls as _0x20670d,getImageDimension as _0x3dc740}from'../../utils/editingutils.js';import{isAncestor as _0x387f03}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x391255(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2348a6,_0xd9e80f,_0x1fddb4){super(),this['_editor']=_0x2348a6,this['_dialog']=_0xd9e80f,this['_imageElement']=_0x1fddb4,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 _0x1a37a0=this['_imageElement'],_0x2210bb=_0x1a37a0['getAttribute']('uploadcareImageId'),_0x19de0d=_0x1a37a0['getAttribute']('src');if(_0x2210bb)await this['_loadImageInfo'](_0x2210bb,_0x19de0d);else{if(this['_imageCache']['has'](_0x19de0d)){const _0x2530f9=this['_imageCache']['get'](_0x19de0d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2530f9['url'],this['imageDimension']=_0x2530f9['dimension'],this['imageId']=_0x2530f9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x22eafd}=this['_editor'],t=_0x22eafd['t'],_0x32066f=new _0x4db969(_0x22eafd,this['imageStatus'],this['_attributes']);_0x32066f['bind']('status')['to'](this,'imageStatus'),_0x32066f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x32066f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x32066f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x32066f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x249be7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x32066f,'position':_0x530513['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x32066f['focus']();},'onHide':()=>{_0x32066f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2fedce=>!_0x387f03(_0x2fedce,_0x32066f['element'])}});}['_loadImageInfo'](_0x36a66a,_0x54f115){return _0x57bf67['getInfo'](_0x36a66a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1407ce=>{const {width:_0x5a385d,height:_0x3b96b3}=_0x1407ce['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x54f115,this['imageDimension']={'width':_0x5a385d,'height':_0x3b96b3},this['imageId']=_0x36a66a;})['catch'](_0xb0f8c4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xb0f8c4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3a8bbd,_0xe17036){return this['_getImageAsFile'](_0x3a8bbd)['then'](_0x1b2891=>_0x57bf67['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xe17036['signal'],'file':_0x1b2891,'onProgress':_0x31d9d6=>{_0x31d9d6&&_0x31d9d6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x31d9d6['value']));}}))['then'](_0x42a3f1=>{const {width:_0x2d39e4,height:_0x1cce07}=_0x42a3f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42a3f1['cdnUrl'],this['imageDimension']={'width':_0x2d39e4,'height':_0x1cce07},this['imageId']=_0x42a3f1['uuid'],this['imageUploadProgress']=null;const _0x4cf175=_0x3a8bbd['getAttribute']('src');this['_imageCache']['set'](_0x4cf175,{'id':_0x42a3f1['uuid'],'url':_0x42a3f1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x299ecf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x299ecf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x58b6b8,_0x3d38ff){_0x58b6b8['on']('apply',(_0x210d8a,_0x2f2d94)=>{this['_replaceImage'](_0x3d38ff,_0x2f2d94['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x58b6b8['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x58b6b8['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ff8ae,_0xd30b75,_0x1b0d5e){const _0x4a00de=this['_editor'],{width:_0x4372f0,height:_0x39dbb9}=_0x3dc740(_0xd30b75,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x55bd4f,imageSources:_0x5de06a}=_0x20670d(_0xd30b75,_0x4372f0);_0x4a00de['model']['change'](_0x355195=>{if('$graveyard'===_0x4ff8ae['root']['rootName']){_0x4a00de['execute']('insertImage',{'imageType':_0x4ff8ae['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ff8ae['getAttributes']()),'uploadcareImageId':_0x1b0d5e,'src':_0x55bd4f,'sources':_0x5de06a,'width':_0x4372f0,'height':_0x39dbb9}});const _0x5adbef=_0x4ff8ae['getChildren']();_0x4ff8ae=_0x4a00de['model']['document']['selection']['getSelectedElement']();for(const _0x3dad0d of _0x5adbef)_0x355195['append'](_0x355195['cloneElement'](_0x3dad0d),_0x4ff8ae);}else _0x355195['setSelection'](_0x4ff8ae,'on'),_0x4a00de['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ff8ae['getAttributes']()),'uploadcareImageId':_0x1b0d5e,'src':_0x55bd4f,'sources':_0x5de06a,'width':_0x4372f0,'height':_0x39dbb9},_0x4ff8ae);_0x355195['setSelection'](_0x4ff8ae,'on');});}async['_getImageAsFile'](_0xbf4844){const _0x492ae1=_0x3f3ec6['window'],_0x236d22=_0x3f3ec6['document']['location']['href'],_0x27d5a6=new _0x492ae1['URL'](_0xbf4844['getAttribute']('src'),_0x236d22);if('data:'===_0x27d5a6['protocol']){const _0x2507c8=_0x27d5a6['href']['split'](','),_0x5e3ce4=_0x2507c8[0x0]['match'](/:(.*?);/)[0x1],_0x5a218d=_0x5e3ce4['split']('/')[0x1],_0x2157fa=_0x492ae1['atob'](_0x2507c8[_0x2507c8['length']-0x1]);let _0x501589=_0x2157fa['length'];const _0x4976d1=new _0x492ae1['Uint8Array'](_0x501589);for(;_0x501589--;)_0x4976d1[_0x501589]=_0x2157fa['charCodeAt'](_0x501589);return new _0x492ae1['File']([_0x4976d1],'image.'+_0x5a218d,{'type':_0x5e3ce4});}const _0xb63023=_0x27d5a6['href']['split']('/'),_0x14a75c=_0xb63023[_0xb63023['length']-0x1],_0x1758d7=_0x14a75c['split']('.')[0x1];return _0x492ae1['fetch'](_0x27d5a6['href'])['then'](_0x519de3=>_0x519de3['clone']()['blob']())['then'](_0x51db81=>new _0x492ae1['File']([_0x51db81],_0x14a75c,{'type':'image/'+_0x1758d7}));}}
23
+ import{global as _0x16c1cf,ObservableMixin as _0x318b30}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4e6a1e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x291123}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x509d6f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x19a9db}from'../../utils/uploadutils.js';import{getImageUrls as _0x3e3bb8,getImageDimension as _0x20be9f}from'../../utils/editingutils.js';import{isAncestor as _0x2d2752}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x318b30(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xac7e9c,_0x2b52cb,_0x375297){super(),this['_editor']=_0xac7e9c,this['_dialog']=_0x2b52cb,this['_imageElement']=_0x375297,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 _0x138079=this['_imageElement'],_0x30278a=_0x138079['getAttribute']('uploadcareImageId'),_0x5997a0=_0x138079['getAttribute']('src');if(_0x30278a)await this['_loadImageInfo'](_0x30278a,_0x5997a0);else{if(this['_imageCache']['has'](_0x5997a0)){const _0x3819f8=this['_imageCache']['get'](_0x5997a0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3819f8['url'],this['imageDimension']=_0x3819f8['dimension'],this['imageId']=_0x3819f8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5e3786}=this['_editor'],t=_0x5e3786['t'],_0x3a0bee=new _0x509d6f(_0x5e3786,this['imageStatus'],this['_attributes']);_0x3a0bee['bind']('status')['to'](this,'imageStatus'),_0x3a0bee['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3a0bee['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3a0bee['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3a0bee,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x291123,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3a0bee,'position':_0x4e6a1e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3a0bee['focus']();},'onHide':()=>{_0x3a0bee['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2f74b9=>!_0x2d2752(_0x2f74b9,_0x3a0bee['element'])}});}['_loadImageInfo'](_0x164246,_0x24c413){return _0x19a9db['getInfo'](_0x164246,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c429b=>{const {width:_0x12aa13,height:_0x265f6e}=_0x4c429b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24c413,this['imageDimension']={'width':_0x12aa13,'height':_0x265f6e},this['imageId']=_0x164246;})['catch'](_0x1d3460=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d3460['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x171289,_0x20457a){return this['_getImageAsFile'](_0x171289)['then'](_0x1ffeb0=>_0x19a9db['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x20457a['signal'],'file':_0x1ffeb0,'onProgress':_0xf1001b=>{_0xf1001b&&_0xf1001b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xf1001b['value']));}}))['then'](_0x2b588a=>{const {width:_0x4a885d,height:_0x19c810}=_0x2b588a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b588a['cdnUrl'],this['imageDimension']={'width':_0x4a885d,'height':_0x19c810},this['imageId']=_0x2b588a['uuid'],this['imageUploadProgress']=null;const _0x1d9ddc=_0x171289['getAttribute']('src');this['_imageCache']['set'](_0x1d9ddc,{'id':_0x2b588a['uuid'],'url':_0x2b588a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x402953=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x402953['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x26700a,_0x5f3e7d){_0x26700a['on']('apply',(_0x564c81,_0x3755d6)=>{this['_replaceImage'](_0x5f3e7d,_0x3755d6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x26700a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x26700a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1fea64,_0x478d89,_0x4bda16){const _0x388938=this['_editor'],{width:_0x7eb7fe,height:_0x2af1f9}=_0x20be9f(_0x478d89,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5544ec,imageSources:_0xe53845}=_0x3e3bb8(_0x478d89,_0x7eb7fe);_0x388938['model']['change'](_0x577495=>{if('$graveyard'===_0x1fea64['root']['rootName']){_0x388938['execute']('insertImage',{'imageType':_0x1fea64['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1fea64['getAttributes']()),'uploadcareImageId':_0x4bda16,'src':_0x5544ec,'sources':_0xe53845,'width':_0x7eb7fe,'height':_0x2af1f9}});const _0x47f333=_0x1fea64['getChildren']();_0x1fea64=_0x388938['model']['document']['selection']['getSelectedElement']();for(const _0x440a1a of _0x47f333)_0x577495['append'](_0x577495['cloneElement'](_0x440a1a),_0x1fea64);}else _0x577495['setSelection'](_0x1fea64,'on'),_0x388938['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1fea64['getAttributes']()),'uploadcareImageId':_0x4bda16,'src':_0x5544ec,'sources':_0xe53845,'width':_0x7eb7fe,'height':_0x2af1f9},_0x1fea64);_0x577495['setSelection'](_0x1fea64,'on');});}async['_getImageAsFile'](_0x282b69){const _0x2ed7bf=_0x16c1cf['window'],_0x44da37=_0x16c1cf['document']['location']['href'],_0x49519b=new _0x2ed7bf['URL'](_0x282b69['getAttribute']('src'),_0x44da37);if('data:'===_0x49519b['protocol']){const _0x445632=_0x49519b['href']['split'](','),_0x160b21=_0x445632[0x0]['match'](/:(.*?);/)[0x1],_0x4dc070=_0x160b21['split']('/')[0x1],_0x10b0f0=_0x2ed7bf['atob'](_0x445632[_0x445632['length']-0x1]);let _0x27d330=_0x10b0f0['length'];const _0x290f47=new _0x2ed7bf['Uint8Array'](_0x27d330);for(;_0x27d330--;)_0x290f47[_0x27d330]=_0x10b0f0['charCodeAt'](_0x27d330);return new _0x2ed7bf['File']([_0x290f47],'image.'+_0x4dc070,{'type':_0x160b21});}const _0x5d77a9=_0x49519b['href']['split']('/'),_0x47fa22=_0x5d77a9[_0x5d77a9['length']-0x1],_0x50feb0=_0x47fa22['split']('.')[0x1];return _0x2ed7bf['fetch'](_0x49519b['href'])['then'](_0x4bb91b=>_0x4bb91b['clone']()['blob']())['then'](_0x48173e=>new _0x2ed7bf['File']([_0x48173e],_0x47fa22,{'type':'image/'+_0x50feb0}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4cd6(_0x239d01,_0x29e2d2){const _0x4bc081=_0x4bc0();return _0x4cd6=function(_0x4cd664,_0x13036a){_0x4cd664=_0x4cd664-0x19f;let _0x352fee=_0x4bc081[_0x4cd664];return _0x352fee;},_0x4cd6(_0x239d01,_0x29e2d2);}(function(_0xd17ae8,_0x1bb80d){const _0x3b3812=_0x4cd6,_0x1977fe=_0xd17ae8();while(!![]){try{const _0x4a4e16=parseInt(_0x3b3812(0x1ae))/0x1+parseInt(_0x3b3812(0x1a3))/0x2+parseInt(_0x3b3812(0x1aa))/0x3*(parseInt(_0x3b3812(0x1a1))/0x4)+parseInt(_0x3b3812(0x1a7))/0x5+-parseInt(_0x3b3812(0x1a5))/0x6*(parseInt(_0x3b3812(0x1a2))/0x7)+parseInt(_0x3b3812(0x1a4))/0x8+-parseInt(_0x3b3812(0x1af))/0x9;if(_0x4a4e16===_0x1bb80d)break;else _0x1977fe['push'](_0x1977fe['shift']());}catch(_0x4b7704){_0x1977fe['push'](_0x1977fe['shift']());}}}(_0x4bc0,0xbdaa7));import{View as _0x3ca545}from'ckeditor5/src/ui.js';function _0x4bc0(){const _0x4c58a6=['uc-light','1382766eEVWJb','30408228zMbGql','uc-cloud-image-editor','set','124enSvYc','7cdorTP','717270FHuOQp','3335496OAZnlZ','4728522qIsIpY','setTemplate','7168250UuivsR','ck-uploadcare-theme','image-edit','130806lXSPvo','imageSrc','bindTemplate'];_0x4bc0=function(){return _0x4c58a6;};return _0x4bc0();}export class UploadcareImageEditFormEditingView extends _0x3ca545{constructor(_0x297600,_0x537d6c){const _0x38d694=_0x4cd6;super(_0x297600);const _0x3888f3=this[_0x38d694(0x1ac)];this[_0x38d694(0x1a0)](_0x38d694(0x1ab),''),this[_0x38d694(0x1a6)]({'tag':_0x38d694(0x19f),'attributes':{..._0x537d6c,'class':[_0x38d694(0x1ad),_0x38d694(0x1a8)],'ctx-name':_0x38d694(0x1a9),'cdn-url':_0x3888f3['to'](_0x38d694(0x1ab))}});}}
23
+ function _0x44e1(_0x5f37d2,_0x308ae7){const _0x3a7320=_0x3a73();return _0x44e1=function(_0x44e165,_0x1af83a){_0x44e165=_0x44e165-0x8c;let _0x5d1cbb=_0x3a7320[_0x44e165];return _0x5d1cbb;},_0x44e1(_0x5f37d2,_0x308ae7);}(function(_0x45a8ec,_0x36ac8e){const _0x2850a6=_0x44e1,_0x69502=_0x45a8ec();while(!![]){try{const _0x35edf6=parseInt(_0x2850a6(0x8f))/0x1*(parseInt(_0x2850a6(0x9a))/0x2)+-parseInt(_0x2850a6(0x9c))/0x3*(-parseInt(_0x2850a6(0x99))/0x4)+parseInt(_0x2850a6(0x91))/0x5+-parseInt(_0x2850a6(0x90))/0x6*(-parseInt(_0x2850a6(0x9d))/0x7)+-parseInt(_0x2850a6(0x8c))/0x8+parseInt(_0x2850a6(0x97))/0x9*(-parseInt(_0x2850a6(0x8d))/0xa)+parseInt(_0x2850a6(0x9f))/0xb*(-parseInt(_0x2850a6(0x93))/0xc);if(_0x35edf6===_0x36ac8e)break;else _0x69502['push'](_0x69502['shift']());}catch(_0x4a4cb8){_0x69502['push'](_0x69502['shift']());}}}(_0x3a73,0x37d35));import{View as _0x165b68}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x165b68{constructor(_0x173ccd,_0x3438f2){const _0x2094bf=_0x44e1;super(_0x173ccd);const _0x26d8c8=this[_0x2094bf(0x92)];this[_0x2094bf(0x95)](_0x2094bf(0x96),''),this[_0x2094bf(0x98)]({'tag':_0x2094bf(0x9b),'attributes':{..._0x3438f2,'class':[_0x2094bf(0x9e),_0x2094bf(0x8e)],'ctx-name':_0x2094bf(0x94),'cdn-url':_0x26d8c8['to'](_0x2094bf(0x96))}});}}function _0x3a73(){const _0x5f57af=['896920UkThrU','8120czEwED','ck-uploadcare-theme','75413OKSxsW','3522MWgHce','1618685usAXKx','bindTemplate','72twKCpv','image-edit','set','imageSrc','1611zATjPG','setTemplate','8MBvhOU','12pQURWB','uc-cloud-image-editor','649626iuLpmX','1057ZtXVMD','uc-light','1488322vyiwDT'];_0x3a73=function(){return _0x5f57af;};return _0x3a73();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1395a0}from'ckeditor5/src/icons.js';import{ButtonView as _0xadbf2a,IconView as _0x1ee461,View as _0x546206}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x546206{constructor(_0x1de322){super(_0x1de322);const t=_0x1de322['t'];this['set']('errorType',null);const _0x45dd6a=new _0xadbf2a(_0x1de322);_0x45dd6a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x45dd6a['withText']=!0x0,_0x45dd6a['class']='ck-button-action',_0x45dd6a['on']('execute',()=>{this['fire']('retry');}),_0x45dd6a['bind']('isVisible')['to'](this,'errorType',_0x2d3603=>'NotFound'!==_0x2d3603);const _0x1bf0cd=new _0x1ee461();_0x1bf0cd['content']=_0x1395a0,_0x1bf0cd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x59bcdd=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':[_0x1bf0cd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x59bcdd['to']('errorType',_0x18542d=>t('NotFound'!==_0x18542d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x45dd6a]},{'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 _0x3fd7ae}from'ckeditor5/src/icons.js';import{ButtonView as _0x1e6b4b,IconView as _0x23275a,View as _0x4a73c0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4a73c0{constructor(_0x13f3b1){super(_0x13f3b1);const t=_0x13f3b1['t'];this['set']('errorType',null);const _0x550b3f=new _0x1e6b4b(_0x13f3b1);_0x550b3f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x550b3f['withText']=!0x0,_0x550b3f['class']='ck-button-action',_0x550b3f['on']('execute',()=>{this['fire']('retry');}),_0x550b3f['bind']('isVisible')['to'](this,'errorType',_0x31f7e5=>'NotFound'!==_0x31f7e5);const _0x531074=new _0x23275a();_0x531074['content']=_0x3fd7ae,_0x531074['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1a59c4=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':[_0x531074,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1a59c4['to']('errorType',_0x42b054=>t('NotFound'!==_0x42b054?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x550b3f]},{'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 _0x8aceff,View as _0x32835e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x32835e{constructor(_0x59edcd){super(_0x59edcd);const t=_0x59edcd['t'],_0x363dc4=this['bindTemplate'],_0x10eb01=new _0x8aceff();_0x10eb01['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':[_0x10eb01,{'text':_0x363dc4['to']('imageUploadProgress',_0x313e38=>t('Loading\x20image...')+'\x20('+(_0x313e38||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 _0x52a5d0,View as _0x67d765}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x67d765{constructor(_0x23245b){super(_0x23245b);const t=_0x23245b['t'],_0x3c9d96=this['bindTemplate'],_0x592b78=new _0x52a5d0();_0x592b78['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':[_0x592b78,{'text':_0x3c9d96['to']('imageUploadProgress',_0x27038c=>t('Loading\x20image...')+'\x20('+(_0x27038c||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 _0x27f768=_0x5728;(function(_0x57ecce,_0x478750){const _0x1fc541=_0x5728,_0x638aac=_0x57ecce();while(!![]){try{const _0x4ac570=-parseInt(_0x1fc541(0x158))/0x1+parseInt(_0x1fc541(0x14c))/0x2+-parseInt(_0x1fc541(0x15a))/0x3+parseInt(_0x1fc541(0x16b))/0x4+parseInt(_0x1fc541(0x14d))/0x5*(-parseInt(_0x1fc541(0x155))/0x6)+-parseInt(_0x1fc541(0x169))/0x7+parseInt(_0x1fc541(0x170))/0x8*(parseInt(_0x1fc541(0x153))/0x9);if(_0x4ac570===_0x478750)break;else _0x638aac['push'](_0x638aac['shift']());}catch(_0x1e82d7){_0x638aac['push'](_0x638aac['shift']());}}}(_0x57d0,0x70308));import{View as _0x3da3da}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x167be6}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x140b96}from'./uploadcareimageeditformerrorview.js';function _0x57d0(){const _0x17d84b=['15277720uRVhWo','set','once','uploading','div','_items','change:status','error','add','cancel','ck-uploadcare-form','clear','_addErrorViewListeners','addEventListener','focus','nodeName','uc-cloud-image-editor','ready','36638snGbQF','2680045LELtEr','_loadingView','_focusableView','observe','detail','_editingView','9GslAMn','target','6uaIDSu','apply','disconnect','687808LDAlos','cdnUrl','784077EYkzfF','createCollection','render','querySelector','element','toLowerCase','getFocusableElement','ck-reset_all-excluded','addMany','_addUploadcareImageEditorListeners','_errorView','_setView','length','status','setTemplate','4842152QPKRRy','addedNodes','2833624NnLZmO','_waitForImageEditorComponent','filter','retry','fire'];_0x57d0=function(){return _0x17d84b;};return _0x57d0();}import{UploadcareImageEditFormEditingView as _0x3e0af8}from'./uploadcareimageeditformeditingview.js';function _0x5728(_0x5a1c23,_0x5b00c4){const _0x57d030=_0x57d0();return _0x5728=function(_0x572878,_0x1ad11a){_0x572878=_0x572878-0x14a;let _0x5917b1=_0x57d030[_0x572878];return _0x5917b1;},_0x5728(_0x5a1c23,_0x5b00c4);}import{DialogFocusManagerView as _0x2bdf5f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2bdf5f{[_0x27f768(0x175)];[_0x27f768(0x14e)];[_0x27f768(0x164)];[_0x27f768(0x152)];[_0x27f768(0x14f)];constructor(_0x3f90fe,_0xeb32b0,_0x50a612){const _0x36e5ad=_0x27f768;super(_0x3f90fe),this[_0x36e5ad(0x175)]=this[_0x36e5ad(0x15b)](),this[_0x36e5ad(0x14e)]=new _0x167be6(_0x3f90fe),this[_0x36e5ad(0x164)]=new _0x140b96(_0x3f90fe),this[_0x36e5ad(0x152)]=new _0x3e0af8(_0x3f90fe,_0x50a612),this[_0x36e5ad(0x14f)]=new _0x3da3da(_0x3f90fe),this[_0x36e5ad(0x14f)][_0x36e5ad(0x168)](this[_0x36e5ad(0x160)]()),this[_0x36e5ad(0x171)](_0x36e5ad(0x167),_0xeb32b0),this[_0x36e5ad(0x168)]({'tag':_0x36e5ad(0x174),'attributes':{'class':['ck',_0x36e5ad(0x161),_0x36e5ad(0x17a)],'tabindex':'-1'},'children':this[_0x36e5ad(0x175)]}),this[_0x36e5ad(0x165)](),this[_0x36e5ad(0x172)](_0x36e5ad(0x15c),()=>{const _0x779c51=_0x36e5ad;this[_0x779c51(0x16c)](this[_0x779c51(0x15e)],_0x34c43c=>{const _0x74ae54=_0x779c51;this[_0x74ae54(0x163)](_0x34c43c);});}),this['on'](_0x36e5ad(0x176),()=>{const _0x37b1db=_0x36e5ad;this[_0x37b1db(0x165)]();}),this[_0x36e5ad(0x17c)]();}[_0x27f768(0x17e)](){const _0x166a8b=_0x27f768;this[_0x166a8b(0x15e)][_0x166a8b(0x17e)]();}[_0x27f768(0x165)](){const _0xc7f058=_0x27f768;switch(this[_0xc7f058(0x175)][_0xc7f058(0x17b)](),this[_0xc7f058(0x167)]){case _0xc7f058(0x173):this[_0xc7f058(0x175)][_0xc7f058(0x178)](this[_0xc7f058(0x14e)]);break;case _0xc7f058(0x177):this[_0xc7f058(0x175)][_0xc7f058(0x178)](this[_0xc7f058(0x164)]);break;case _0xc7f058(0x14b):this[_0xc7f058(0x175)][_0xc7f058(0x162)]([this[_0xc7f058(0x152)],this[_0xc7f058(0x14f)]]);}}[_0x27f768(0x16c)](_0x487338,_0x1a3de6){const _0x32f463=_0x27f768,_0x2f9dcd=_0x32f463(0x14a),_0x4177b6=_0x487338[_0x32f463(0x15d)](_0x2f9dcd);if(_0x4177b6)return _0x1a3de6(_0x4177b6);const _0x41ab10=new MutationObserver(_0x1fbdfb=>{const _0x2daddd=_0x32f463,_0xcfc279=_0x1fbdfb[_0x2daddd(0x16d)](_0x212d29=>_0x212d29[_0x2daddd(0x154)]===_0x487338&&_0x212d29[_0x2daddd(0x16a)][_0x2daddd(0x166)]>0x0&&_0x212d29[_0x2daddd(0x16a)][0x0][_0x2daddd(0x17f)][_0x2daddd(0x15f)]()===_0x2f9dcd);_0xcfc279[_0x2daddd(0x166)]&&(_0x41ab10[_0x2daddd(0x157)](),_0x1a3de6(_0xcfc279[0x0][_0x2daddd(0x16a)][0x0]));});_0x41ab10[_0x32f463(0x150)](_0x487338,{'childList':!0x0,'subtree':!0x0});}[_0x27f768(0x163)](_0x2de669){const _0x37f6d6=_0x27f768;_0x2de669[_0x37f6d6(0x17d)](_0x37f6d6(0x156),_0x18d1c5=>{const _0x14bdfa=_0x37f6d6;this[_0x14bdfa(0x16f)](_0x14bdfa(0x156),{'imageSrc':_0x18d1c5[_0x14bdfa(0x151)][_0x14bdfa(0x159)]});}),_0x2de669[_0x37f6d6(0x17d)](_0x37f6d6(0x179),()=>{const _0x25b868=_0x37f6d6;this[_0x25b868(0x16f)](_0x25b868(0x179));});}[_0x27f768(0x17c)](){const _0x5ad512=_0x27f768;this[_0x5ad512(0x164)]['on'](_0x5ad512(0x16e),()=>{const _0x312017=_0x5ad512;this[_0x312017(0x16f)](_0x312017(0x16e));});}}
23
+ const _0x3540ae=_0x3295;(function(_0x1a5a5e,_0x3125a0){const _0x7916e6=_0x3295,_0x47cfc4=_0x1a5a5e();while(!![]){try{const _0x513679=parseInt(_0x7916e6(0x1af))/0x1*(parseInt(_0x7916e6(0x1b1))/0x2)+parseInt(_0x7916e6(0x1cd))/0x3*(-parseInt(_0x7916e6(0x1bd))/0x4)+parseInt(_0x7916e6(0x1c1))/0x5*(-parseInt(_0x7916e6(0x1cf))/0x6)+parseInt(_0x7916e6(0x1a4))/0x7+parseInt(_0x7916e6(0x1b6))/0x8+-parseInt(_0x7916e6(0x1c2))/0x9*(parseInt(_0x7916e6(0x1c6))/0xa)+parseInt(_0x7916e6(0x1c5))/0xb;if(_0x513679===_0x3125a0)break;else _0x47cfc4['push'](_0x47cfc4['shift']());}catch(_0x3f7c4e){_0x47cfc4['push'](_0x47cfc4['shift']());}}}(_0x431a,0x6f424));function _0x431a(){const _0x3fc79f=['length','ck-reset_all-excluded','48819KPMrmK','querySelector','6VuNoql','detail','setTemplate','set','_focusableView','change:status','addMany','div','createCollection','target','_items','getFocusableElement','nodeName','5530427TlpthS','focus','ck-uploadcare-form','uc-cloud-image-editor','_addErrorViewListeners','_setView','apply','_errorView','_waitForImageEditorComponent','_loadingView','_addUploadcareImageEditorListeners','354gVbOad','cdnUrl','2102cAvlCI','render','addEventListener','once','error','5844040evGWDQ','status','fire','addedNodes','add','filter','clear','152PzpxpX','observe','element','uploading','2826105KQoQWB','26631FaClhn','cancel','toLowerCase','2714382hlGQgh','1690aOMRuq','ready','disconnect','_editingView','retry'];_0x431a=function(){return _0x3fc79f;};return _0x431a();}import{View as _0x4a65d0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x20b7e1}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x292c64}from'./uploadcareimageeditformerrorview.js';function _0x3295(_0x21a111,_0xb77ee5){const _0x431a7c=_0x431a();return _0x3295=function(_0x3295d6,_0x2a5bac){_0x3295d6=_0x3295d6-0x19c;let _0x21b1f8=_0x431a7c[_0x3295d6];return _0x21b1f8;},_0x3295(_0x21a111,_0xb77ee5);}import{UploadcareImageEditFormEditingView as _0x31340b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x231b84}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x231b84{[_0x3540ae(0x1a1)];[_0x3540ae(0x1ad)];[_0x3540ae(0x1ab)];[_0x3540ae(0x1c9)];[_0x3540ae(0x1d3)];constructor(_0x24b3e4,_0x3f12e9,_0x4cf891){const _0x3990a8=_0x3540ae;super(_0x24b3e4),this[_0x3990a8(0x1a1)]=this[_0x3990a8(0x19f)](),this[_0x3990a8(0x1ad)]=new _0x20b7e1(_0x24b3e4),this[_0x3990a8(0x1ab)]=new _0x292c64(_0x24b3e4),this[_0x3990a8(0x1c9)]=new _0x31340b(_0x24b3e4,_0x4cf891),this[_0x3990a8(0x1d3)]=new _0x4a65d0(_0x24b3e4),this[_0x3990a8(0x1d3)][_0x3990a8(0x1d1)](this[_0x3990a8(0x1a2)]()),this[_0x3990a8(0x1d2)](_0x3990a8(0x1b7),_0x3f12e9),this[_0x3990a8(0x1d1)]({'tag':_0x3990a8(0x19e),'attributes':{'class':['ck',_0x3990a8(0x1cc),_0x3990a8(0x1a6)],'tabindex':'-1'},'children':this[_0x3990a8(0x1a1)]}),this[_0x3990a8(0x1a9)](),this[_0x3990a8(0x1b4)](_0x3990a8(0x1b2),()=>{const _0x2fad49=_0x3990a8;this[_0x2fad49(0x1ac)](this[_0x2fad49(0x1bf)],_0x2dd62d=>{const _0x3e53b3=_0x2fad49;this[_0x3e53b3(0x1ae)](_0x2dd62d);});}),this['on'](_0x3990a8(0x19c),()=>{const _0x44db2b=_0x3990a8;this[_0x44db2b(0x1a9)]();}),this[_0x3990a8(0x1a8)]();}[_0x3540ae(0x1a5)](){const _0x20ef48=_0x3540ae;this[_0x20ef48(0x1bf)][_0x20ef48(0x1a5)]();}[_0x3540ae(0x1a9)](){const _0x476ac4=_0x3540ae;switch(this[_0x476ac4(0x1a1)][_0x476ac4(0x1bc)](),this[_0x476ac4(0x1b7)]){case _0x476ac4(0x1c0):this[_0x476ac4(0x1a1)][_0x476ac4(0x1ba)](this[_0x476ac4(0x1ad)]);break;case _0x476ac4(0x1b5):this[_0x476ac4(0x1a1)][_0x476ac4(0x1ba)](this[_0x476ac4(0x1ab)]);break;case _0x476ac4(0x1c7):this[_0x476ac4(0x1a1)][_0x476ac4(0x19d)]([this[_0x476ac4(0x1c9)],this[_0x476ac4(0x1d3)]]);}}[_0x3540ae(0x1ac)](_0x5e0456,_0x1cee11){const _0x26ef3b=_0x3540ae,_0x2d1403=_0x26ef3b(0x1a7),_0x2a1756=_0x5e0456[_0x26ef3b(0x1ce)](_0x2d1403);if(_0x2a1756)return _0x1cee11(_0x2a1756);const _0x268511=new MutationObserver(_0x2fcbcb=>{const _0x4deb21=_0x26ef3b,_0x246299=_0x2fcbcb[_0x4deb21(0x1bb)](_0x23679a=>_0x23679a[_0x4deb21(0x1a0)]===_0x5e0456&&_0x23679a[_0x4deb21(0x1b9)][_0x4deb21(0x1cb)]>0x0&&_0x23679a[_0x4deb21(0x1b9)][0x0][_0x4deb21(0x1a3)][_0x4deb21(0x1c4)]()===_0x2d1403);_0x246299[_0x4deb21(0x1cb)]&&(_0x268511[_0x4deb21(0x1c8)](),_0x1cee11(_0x246299[0x0][_0x4deb21(0x1b9)][0x0]));});_0x268511[_0x26ef3b(0x1be)](_0x5e0456,{'childList':!0x0,'subtree':!0x0});}[_0x3540ae(0x1ae)](_0x106f19){const _0x42ba79=_0x3540ae;_0x106f19[_0x42ba79(0x1b3)](_0x42ba79(0x1aa),_0x10ce0d=>{const _0x9e5bce=_0x42ba79;this[_0x9e5bce(0x1b8)](_0x9e5bce(0x1aa),{'imageSrc':_0x10ce0d[_0x9e5bce(0x1d0)][_0x9e5bce(0x1b0)]});}),_0x106f19[_0x42ba79(0x1b3)](_0x42ba79(0x1c3),()=>{const _0x28e05f=_0x42ba79;this[_0x28e05f(0x1b8)](_0x28e05f(0x1c3));});}[_0x3540ae(0x1a8)](){const _0x57cdb0=_0x3540ae;this[_0x57cdb0(0x1ab)]['on'](_0x57cdb0(0x1ca),()=>{const _0x48a085=_0x57cdb0;this[_0x48a085(0x1b8)](_0x48a085(0x1ca));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a755=_0x93e0;(function(_0x591443,_0xb3592f){const _0x5529d6=_0x93e0,_0x1b08e1=_0x591443();while(!![]){try{const _0x4c7347=-parseInt(_0x5529d6(0x7f))/0x1*(parseInt(_0x5529d6(0x88))/0x2)+-parseInt(_0x5529d6(0x95))/0x3+-parseInt(_0x5529d6(0x93))/0x4+-parseInt(_0x5529d6(0x8d))/0x5*(parseInt(_0x5529d6(0x7d))/0x6)+parseInt(_0x5529d6(0x77))/0x7+parseInt(_0x5529d6(0x81))/0x8*(-parseInt(_0x5529d6(0x84))/0x9)+parseInt(_0x5529d6(0x79))/0xa*(parseInt(_0x5529d6(0x80))/0xb);if(_0x4c7347===_0xb3592f)break;else _0x1b08e1['push'](_0x1b08e1['shift']());}catch(_0x5c2216){_0x1b08e1['push'](_0x1b08e1['shift']());}}}(_0x80b3,0xee82e));import{Command as _0x24d2bf}from'ckeditor5/src/core.js';function _0x80b3(){const _0x2dd9d6=['162xUIemw','imageInline','isEnabled','_isEditable','refresh','5gFPgwX','config','execute','imageBlock','imageEditController','get','6685632nZDUZT','model','1926564tMnQKh','unbind','uploadcare.allowExternalImagesEditing','1718094CnUxqG','editor','69670DCafAN','element','isActive','document','3980940ehLAfj','selection','9236SmHtxS','8822BOZfKb','565416QkObhQ','set','requires','144oIvJAC','bind','getSelectedElement','plugins'];_0x80b3=function(){return _0x2dd9d6;};return _0x80b3();}import{Dialog as _0x52ff66}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xc42bbd}from'./ui/uploadcareimageeditcontroller.js';function _0x93e0(_0x3c348d,_0x3561a4){const _0x80b31b=_0x80b3();return _0x93e0=function(_0x93e04d,_0x1ab1be){_0x93e04d=_0x93e04d-0x76;let _0x1ab754=_0x80b31b[_0x93e04d];return _0x1ab754;},_0x93e0(_0x3c348d,_0x3561a4);}import{createEditabilityChecker as _0x3fa8f1}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x24d2bf{[_0x36a755(0x91)];static get[_0x36a755(0x83)](){return[_0x52ff66];}[_0x36a755(0x8b)];constructor(_0x2cb21e){const _0x5f134e=_0x36a755;super(_0x2cb21e),this[_0x5f134e(0x91)]=void 0x0,this[_0x5f134e(0x8b)]=_0x3fa8f1(_0x2cb21e[_0x5f134e(0x8e)][_0x5f134e(0x92)](_0x5f134e(0x76))||[]),this[_0x5f134e(0x82)]({'isActive':!0x1});}[_0x36a755(0x8c)](){const _0x5cded0=_0x36a755,_0x103677=this[_0x5cded0(0x78)][_0x5cded0(0x94)][_0x5cded0(0x7c)][_0x5cded0(0x7e)][_0x5cded0(0x86)]();this[_0x5cded0(0x8a)]=this[_0x5cded0(0x8b)](_0x103677);}[_0x36a755(0x8f)](){const _0x2e9f83=_0x36a755;this[_0x2e9f83(0x91)]&&(this[_0x2e9f83(0x96)](_0x2e9f83(0x7b)),this[_0x2e9f83(0x91)]=void 0x0);const _0x5305fa=this[_0x2e9f83(0x78)][_0x2e9f83(0x94)][_0x2e9f83(0x7c)][_0x2e9f83(0x7e)][_0x2e9f83(0x86)]();_0x5305fa&&(_0x5305fa['is'](_0x2e9f83(0x7a),_0x2e9f83(0x90))||_0x5305fa['is'](_0x2e9f83(0x7a),_0x2e9f83(0x89)))&&(this[_0x2e9f83(0x91)]=new _0xc42bbd(this[_0x2e9f83(0x78)],this[_0x2e9f83(0x78)][_0x2e9f83(0x87)][_0x2e9f83(0x92)](_0x52ff66),_0x5305fa),this[_0x2e9f83(0x85)](_0x2e9f83(0x7b))['to'](this[_0x2e9f83(0x91)],_0x2e9f83(0x7b)));}}
23
+ const _0xda36d8=_0x57aa;(function(_0x67f972,_0x392deb){const _0x5ba90e=_0x57aa,_0x58ace7=_0x67f972();while(!![]){try{const _0x18582a=-parseInt(_0x5ba90e(0x101))/0x1*(-parseInt(_0x5ba90e(0xf2))/0x2)+-parseInt(_0x5ba90e(0xf5))/0x3+parseInt(_0x5ba90e(0x104))/0x4*(parseInt(_0x5ba90e(0xfe))/0x5)+parseInt(_0x5ba90e(0x100))/0x6+parseInt(_0x5ba90e(0xfc))/0x7*(-parseInt(_0x5ba90e(0xf8))/0x8)+parseInt(_0x5ba90e(0xf1))/0x9+parseInt(_0x5ba90e(0xf6))/0xa;if(_0x18582a===_0x392deb)break;else _0x58ace7['push'](_0x58ace7['shift']());}catch(_0x541233){_0x58ace7['push'](_0x58ace7['shift']());}}}(_0x9601,0x95c6c));import{Command as _0x17afc7}from'ckeditor5/src/core.js';import{Dialog as _0x306b06}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1ff7da}from'./ui/uploadcareimageeditcontroller.js';function _0x57aa(_0x5d8b53,_0x3768f8){const _0x96014c=_0x9601();return _0x57aa=function(_0x57aaac,_0x4d7f53){_0x57aaac=_0x57aaac-0xec;let _0x186de2=_0x96014c[_0x57aaac];return _0x186de2;},_0x57aa(_0x5d8b53,_0x3768f8);}import{createEditabilityChecker as _0x3df289}from'../utils/editingutils.js';function _0x9601(){const _0x16d98d=['5172003TDWrpQ','62668PzVJJO','imageEditController','bind','2463771Anirue','428600ZbZObi','isActive','1120nzbFvv','plugins','imageInline','selection','43743SduPmh','isEnabled','88135feIAIt','element','7026624qpvuel','2akQfaH','imageBlock','requires','104kwShsP','config','unbind','uploadcare.allowExternalImagesEditing','document','set','getSelectedElement','get','_isEditable','editor','refresh','model','execute'];_0x9601=function(){return _0x16d98d;};return _0x9601();}export class UploadcareImageEditCommand extends _0x17afc7{[_0xda36d8(0xf3)];static get[_0xda36d8(0x103)](){return[_0x306b06];}[_0xda36d8(0xec)];constructor(_0x369fe3){const _0x43d5da=_0xda36d8;super(_0x369fe3),this[_0x43d5da(0xf3)]=void 0x0,this[_0x43d5da(0xec)]=_0x3df289(_0x369fe3[_0x43d5da(0x105)][_0x43d5da(0x10b)](_0x43d5da(0x107))||[]),this[_0x43d5da(0x109)]({'isActive':!0x1});}[_0xda36d8(0xee)](){const _0x295e11=_0xda36d8,_0x4c23b5=this[_0x295e11(0xed)][_0x295e11(0xef)][_0x295e11(0x108)][_0x295e11(0xfb)][_0x295e11(0x10a)]();this[_0x295e11(0xfd)]=this[_0x295e11(0xec)](_0x4c23b5);}[_0xda36d8(0xf0)](){const _0x2e2c58=_0xda36d8;this[_0x2e2c58(0xf3)]&&(this[_0x2e2c58(0x106)](_0x2e2c58(0xf7)),this[_0x2e2c58(0xf3)]=void 0x0);const _0x2a8d95=this[_0x2e2c58(0xed)][_0x2e2c58(0xef)][_0x2e2c58(0x108)][_0x2e2c58(0xfb)][_0x2e2c58(0x10a)]();_0x2a8d95&&(_0x2a8d95['is'](_0x2e2c58(0xff),_0x2e2c58(0x102))||_0x2a8d95['is'](_0x2e2c58(0xff),_0x2e2c58(0xfa)))&&(this[_0x2e2c58(0xf3)]=new _0x1ff7da(this[_0x2e2c58(0xed)],this[_0x2e2c58(0xed)][_0x2e2c58(0xf9)][_0x2e2c58(0x10b)](_0x306b06),_0x2a8d95),this[_0x2e2c58(0xf4)](_0x2e2c58(0xf7))['to'](this[_0x2e2c58(0xf3)],_0x2e2c58(0xf7)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9b28(_0x8357ba,_0x1a1175){const _0x154cdc=_0x154c();return _0x9b28=function(_0x9b28af,_0x1c3ccf){_0x9b28af=_0x9b28af-0x166;let _0x1d6bc9=_0x154cdc[_0x9b28af];return _0x1d6bc9;},_0x9b28(_0x8357ba,_0x1a1175);}const _0x5eb04a=_0x9b28;function _0x154c(){const _0x438bb9=['requires','6169416VSEOct','7qWEeiu','pluginName','uploadcareImageEdit','isPremiumPlugin','6270080Dncjlp','ImageUtils','init','4609875ftSVcp','uploadcareImageReplace','12706821ZIQtoY','commands','isOfficialPlugin','add','2FwwCcE','ImageEditing','5LbsLOU','1407409MKoDYb','16089050XgePUW','UploadcareImageEditEditing','8926818YTEhMr'];_0x154c=function(){return _0x438bb9;};return _0x154c();}(function(_0x484b31,_0x51d5e5){const _0xef72c8=_0x9b28,_0x4ebf51=_0x484b31();while(!![]){try{const _0xbf6522=parseInt(_0xef72c8(0x174))/0x1+-parseInt(_0xef72c8(0x171))/0x2*(-parseInt(_0xef72c8(0x16b))/0x3)+parseInt(_0xef72c8(0x168))/0x4*(-parseInt(_0xef72c8(0x173))/0x5)+parseInt(_0xef72c8(0x177))/0x6*(-parseInt(_0xef72c8(0x17a))/0x7)+parseInt(_0xef72c8(0x179))/0x8+-parseInt(_0xef72c8(0x16d))/0x9+parseInt(_0xef72c8(0x175))/0xa;if(_0xbf6522===_0x51d5e5)break;else _0x4ebf51['push'](_0x4ebf51['shift']());}catch(_0x16ecf1){_0x4ebf51['push'](_0x4ebf51['shift']());}}}(_0x154c,0xd135c));import{Plugin as _0x1a4d36}from'ckeditor5/src/core.js';import{Notification as _0x24831a}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4659af}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x56c801}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x1a0345}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1a4d36{static get[_0x5eb04a(0x17b)](){const _0x3cdd70=_0x5eb04a;return _0x3cdd70(0x176);}static get[_0x5eb04a(0x178)](){const _0x59c058=_0x5eb04a;return[_0x1a0345,_0x24831a,_0x59c058(0x169),_0x59c058(0x172)];}static get[_0x5eb04a(0x16f)](){return!0x0;}static get[_0x5eb04a(0x167)](){return!0x0;}[_0x5eb04a(0x16a)](){const _0xd5a9d4=_0x5eb04a,{editor:_0x3b521d}=this;_0x3b521d[_0xd5a9d4(0x16e)][_0xd5a9d4(0x170)](_0xd5a9d4(0x166),new _0x4659af(_0x3b521d)),_0x3b521d[_0xd5a9d4(0x16e)][_0xd5a9d4(0x170)](_0xd5a9d4(0x16c),new _0x56c801(_0x3b521d));}}
23
+ const _0x23a209=_0x1bb2;(function(_0x2c5451,_0x43e46c){const _0x55e31b=_0x1bb2,_0x6446fe=_0x2c5451();while(!![]){try{const _0x413f52=parseInt(_0x55e31b(0x1a5))/0x1+parseInt(_0x55e31b(0x19f))/0x2+parseInt(_0x55e31b(0x1a2))/0x3*(-parseInt(_0x55e31b(0x1a3))/0x4)+parseInt(_0x55e31b(0x19b))/0x5+-parseInt(_0x55e31b(0x1a6))/0x6*(parseInt(_0x55e31b(0x1a1))/0x7)+parseInt(_0x55e31b(0x1a9))/0x8*(-parseInt(_0x55e31b(0x1aa))/0x9)+parseInt(_0x55e31b(0x1ae))/0xa;if(_0x413f52===_0x43e46c)break;else _0x6446fe['push'](_0x6446fe['shift']());}catch(_0x43e095){_0x6446fe['push'](_0x6446fe['shift']());}}}(_0x18d6,0x66345));import{Plugin as _0x20baaa}from'ckeditor5/src/core.js';function _0x18d6(){const _0x1284d4=['commands','1515444fknuCP','isOfficialPlugin','37723mqhKoV','25923AUkptF','16LaGfEQ','init','164708fsclFe','678WNdNof','UploadcareImageEditEditing','isPremiumPlugin','5158704yjqbDi','9BxiQrJ','requires','pluginName','add','6177970MEalRt','ImageEditing','uploadcareImageReplace','833805oGoHbB','ImageUtils','uploadcareImageEdit'];_0x18d6=function(){return _0x1284d4;};return _0x18d6();}import{Notification as _0x1b8052}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x52d092}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3ac363}from'./uploadcareimagereplacecommand.js';function _0x1bb2(_0x47c4bb,_0x138c5c){const _0x18d6be=_0x18d6();return _0x1bb2=function(_0x1bb2ef,_0x337dfa){_0x1bb2ef=_0x1bb2ef-0x19b;let _0x4d5f0d=_0x18d6be[_0x1bb2ef];return _0x4d5f0d;},_0x1bb2(_0x47c4bb,_0x138c5c);}import{UploadcareEditing as _0x548954}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x20baaa{static get[_0x23a209(0x1ac)](){const _0xaa1d44=_0x23a209;return _0xaa1d44(0x1a7);}static get[_0x23a209(0x1ab)](){const _0x46ad41=_0x23a209;return[_0x548954,_0x1b8052,_0x46ad41(0x19c),_0x46ad41(0x1af)];}static get[_0x23a209(0x1a0)](){return!0x0;}static get[_0x23a209(0x1a8)](){return!0x0;}[_0x23a209(0x1a4)](){const _0x162e66=_0x23a209,{editor:_0x2028a1}=this;_0x2028a1[_0x162e66(0x19e)][_0x162e66(0x1ad)](_0x162e66(0x19d),new _0x52d092(_0x2028a1)),_0x2028a1[_0x162e66(0x19e)][_0x162e66(0x1ad)](_0x162e66(0x1b0),new _0x3ac363(_0x2028a1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x28bbbb}from'ckeditor5/src/core.js';import{ButtonView as _0x5e3b77}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x19ad0e}from'ckeditor5/src/icons.js';import{createElement as _0x52faa2}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 _0x28bbbb{['_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 _0x393efd=this['editor'];_0x393efd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4710b5=>{const _0x2e0baf=_0x393efd['commands']['get']('uploadcareImageEdit'),_0x3a21c1=new _0x5e3b77(_0x4710b5),t=_0x4710b5['t'];return _0x3a21c1['set']({'icon':_0x19ad0e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a21c1['bind']('isEnabled')['to'](_0x2e0baf),_0x3a21c1['bind']('isOn')['to'](_0x2e0baf,'isActive'),this['listenTo'](_0x3a21c1,'execute',()=>{_0x393efd['execute']('uploadcareImageEdit'),_0x393efd['editing']['view']['focus']();}),_0x3a21c1;}),this['_initConfig']();}['_initConfig'](){const _0x296df5=_0x52faa2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x296df5),this['listenTo'](this['editor'],'destroy',()=>{_0x296df5['remove']();});}}
23
+ import{Plugin as _0x18c570}from'ckeditor5/src/core.js';import{ButtonView as _0x1e6070}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x407c0c}from'ckeditor5/src/icons.js';import{createElement as _0x3ed85b}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 _0x18c570{['_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 _0x289fd1=this['editor'];_0x289fd1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5f4cd2=>{const _0x62e6b=_0x289fd1['commands']['get']('uploadcareImageEdit'),_0x35c2ec=new _0x1e6070(_0x5f4cd2),t=_0x5f4cd2['t'];return _0x35c2ec['set']({'icon':_0x407c0c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x35c2ec['bind']('isEnabled')['to'](_0x62e6b),_0x35c2ec['bind']('isOn')['to'](_0x62e6b,'isActive'),this['listenTo'](_0x35c2ec,'execute',()=>{_0x289fd1['execute']('uploadcareImageEdit'),_0x289fd1['editing']['view']['focus']();}),_0x35c2ec;}),this['_initConfig']();}['_initConfig'](){const _0xb87be0=_0x3ed85b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xb87be0),this['listenTo'](this['editor'],'destroy',()=>{_0xb87be0['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x118b64=_0x2a0e;function _0x2a0e(_0x3c2e2b,_0x397e3a){const _0x499a26=_0x499a();return _0x2a0e=function(_0x2a0e06,_0x318f8b){_0x2a0e06=_0x2a0e06-0x144;let _0x273346=_0x499a26[_0x2a0e06];return _0x273346;},_0x2a0e(_0x3c2e2b,_0x397e3a);}(function(_0x257b8f,_0x207fae){const _0x739cd9=_0x2a0e,_0x410019=_0x257b8f();while(!![]){try{const _0x25d703=parseInt(_0x739cd9(0x14d))/0x1*(-parseInt(_0x739cd9(0x156))/0x2)+-parseInt(_0x739cd9(0x14e))/0x3+-parseInt(_0x739cd9(0x14f))/0x4+parseInt(_0x739cd9(0x151))/0x5+parseInt(_0x739cd9(0x144))/0x6+parseInt(_0x739cd9(0x14b))/0x7+parseInt(_0x739cd9(0x146))/0x8;if(_0x25d703===_0x207fae)break;else _0x410019['push'](_0x410019['shift']());}catch(_0x20a6b4){_0x410019['push'](_0x410019['shift']());}}}(_0x499a,0xa4eac));import{Command as _0x7bd849}from'ckeditor5/src/core.js';function _0x499a(){const _0x51b6e3=['8221128wxfSJc','srcset','selection','editor','imageInline','8961799RFfhAw','sizes','1FfWslO','3264021LCWKYZ','3744488gfJBNz','imageBlock','4565965FiDjvd','refresh','document','change','isEnabled','1879652AMmMIW','getSelectedElement','execute','removeAttribute','element','setAttributes','2510184jWJokl','model'];_0x499a=function(){return _0x51b6e3;};return _0x499a();}export class UploadcareImageReplaceCommand extends _0x7bd849{[_0x118b64(0x152)](){const _0x316ad3=_0x118b64,_0x42f076=this[_0x316ad3(0x149)][_0x316ad3(0x145)][_0x316ad3(0x153)][_0x316ad3(0x148)][_0x316ad3(0x157)]();this[_0x316ad3(0x155)]=Boolean(_0x42f076&&(_0x42f076['is'](_0x316ad3(0x15a),_0x316ad3(0x150))||_0x42f076['is'](_0x316ad3(0x15a),_0x316ad3(0x14a))));}[_0x118b64(0x158)](_0x1d97a3){const _0x276040=_0x118b64,_0x579eca=this[_0x276040(0x149)][_0x276040(0x145)][_0x276040(0x153)][_0x276040(0x148)][_0x276040(0x157)]();this[_0x276040(0x149)][_0x276040(0x145)][_0x276040(0x154)](_0x2b0e76=>{const _0x2506f3=_0x276040;_0x2b0e76[_0x2506f3(0x15b)](_0x1d97a3,_0x579eca),_0x2b0e76[_0x2506f3(0x159)](_0x2506f3(0x147),_0x579eca),_0x2b0e76[_0x2506f3(0x159)](_0x2506f3(0x14c),_0x579eca);});}}
23
+ function _0x1158(_0x1df9b3,_0x59af88){const _0x394e0a=_0x394e();return _0x1158=function(_0x11586e,_0x141f5c){_0x11586e=_0x11586e-0x1bd;let _0x38f063=_0x394e0a[_0x11586e];return _0x38f063;},_0x1158(_0x1df9b3,_0x59af88);}const _0x2f6c9b=_0x1158;(function(_0x2c99f4,_0xeba576){const _0x5d6eeb=_0x1158,_0x5ed4c6=_0x2c99f4();while(!![]){try{const _0x27ca50=parseInt(_0x5d6eeb(0x1ce))/0x1+-parseInt(_0x5d6eeb(0x1cc))/0x2+parseInt(_0x5d6eeb(0x1bd))/0x3*(-parseInt(_0x5d6eeb(0x1bf))/0x4)+parseInt(_0x5d6eeb(0x1cd))/0x5+-parseInt(_0x5d6eeb(0x1d0))/0x6+-parseInt(_0x5d6eeb(0x1c2))/0x7*(parseInt(_0x5d6eeb(0x1d1))/0x8)+parseInt(_0x5d6eeb(0x1be))/0x9;if(_0x27ca50===_0xeba576)break;else _0x5ed4c6['push'](_0x5ed4c6['shift']());}catch(_0x3d26db){_0x5ed4c6['push'](_0x5ed4c6['shift']());}}}(_0x394e,0x26c3f));function _0x394e(){const _0x5b4ab6=['model','editor','579dwiaml','1473075pjnWtb','428zxLbOU','imageBlock','document','2275EMMoBY','isEnabled','removeAttribute','change','element','selection','sizes','execute','getSelectedElement','srcset','196232gSRaYR','1088140xVFofs','152560HHONPi','refresh','1188828pmCmAq','1432ixwYSu','setAttributes','imageInline'];_0x394e=function(){return _0x5b4ab6;};return _0x394e();}import{Command as _0x4d1f20}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4d1f20{[_0x2f6c9b(0x1cf)](){const _0x45e50b=_0x2f6c9b,_0x3b18b1=this[_0x45e50b(0x1d5)][_0x45e50b(0x1d4)][_0x45e50b(0x1c1)][_0x45e50b(0x1c7)][_0x45e50b(0x1ca)]();this[_0x45e50b(0x1c3)]=Boolean(_0x3b18b1&&(_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1c0))||_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1d3))));}[_0x2f6c9b(0x1c9)](_0x3049f6){const _0x22152d=_0x2f6c9b,_0x423442=this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c1)][_0x22152d(0x1c7)][_0x22152d(0x1ca)]();this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c5)](_0x413ce9=>{const _0x33c67d=_0x22152d;_0x413ce9[_0x33c67d(0x1d2)](_0x3049f6,_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1cb),_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1c8),_0x423442);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3757(_0x318b4d,_0x580c9f){var _0x2a22f7=_0x2a22();return _0x3757=function(_0x375724,_0x5296f7){_0x375724=_0x375724-0x1d7;var _0x4dd10d=_0x2a22f7[_0x375724];return _0x4dd10d;},_0x3757(_0x318b4d,_0x580c9f);}var _0x4ab330=_0x3757;(function(_0x52438e,_0x50500a){var _0x4eb580=_0x3757,_0x2a84d2=_0x52438e();while(!![]){try{var _0x519f99=-parseInt(_0x4eb580(0x1e3))/0x1*(parseInt(_0x4eb580(0x1df))/0x2)+-parseInt(_0x4eb580(0x1e0))/0x3+-parseInt(_0x4eb580(0x1e1))/0x4+parseInt(_0x4eb580(0x1d7))/0x5+parseInt(_0x4eb580(0x1d8))/0x6+-parseInt(_0x4eb580(0x1de))/0x7*(-parseInt(_0x4eb580(0x1db))/0x8)+parseInt(_0x4eb580(0x1e4))/0x9;if(_0x519f99===_0x50500a)break;else _0x2a84d2['push'](_0x2a84d2['shift']());}catch(_0x2071d8){_0x2a84d2['push'](_0x2a84d2['shift']());}}}(_0x2a22,0x4273d));function _0x2a22(){var _0x4eed34=['2061354vCdrLJ','pluginName','UploadcareImageEdit','96KaTDyB','isOfficialPlugin','requires','274141fFpGIw','2aYuKJT','1412775UAbQiK','1161560jNUtFt','isPremiumPlugin','314135ohOjHb','4099194mgSTaN','393290HRNLyp'];_0x2a22=function(){return _0x4eed34;};return _0x2a22();}import{Plugin as _0x338491}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4b7908}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1a4332}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x338491{static get[_0x4ab330(0x1d9)](){var _0x4cc174=_0x4ab330;return _0x4cc174(0x1da);}static get[_0x4ab330(0x1dd)](){return[_0x4b7908,_0x1a4332];}static get[_0x4ab330(0x1dc)](){return!0x0;}static get[_0x4ab330(0x1e2)](){return!0x0;}}
23
+ function _0x1bf0(_0x434b02,_0x19cb88){var _0x45a24a=_0x45a2();return _0x1bf0=function(_0x1bf0b5,_0x58225b){_0x1bf0b5=_0x1bf0b5-0x1ed;var _0x3b45aa=_0x45a24a[_0x1bf0b5];return _0x3b45aa;},_0x1bf0(_0x434b02,_0x19cb88);}var _0x5d7a56=_0x1bf0;(function(_0x364348,_0x5129c9){var _0x1e6e10=_0x1bf0,_0x293509=_0x364348();while(!![]){try{var _0x517346=-parseInt(_0x1e6e10(0x1f5))/0x1+-parseInt(_0x1e6e10(0x1fc))/0x2*(parseInt(_0x1e6e10(0x1fd))/0x3)+-parseInt(_0x1e6e10(0x1f3))/0x4*(-parseInt(_0x1e6e10(0x1f1))/0x5)+parseInt(_0x1e6e10(0x1ed))/0x6*(-parseInt(_0x1e6e10(0x1f4))/0x7)+-parseInt(_0x1e6e10(0x1f7))/0x8*(parseInt(_0x1e6e10(0x1fa))/0x9)+-parseInt(_0x1e6e10(0x1f6))/0xa*(-parseInt(_0x1e6e10(0x1f0))/0xb)+parseInt(_0x1e6e10(0x1f8))/0xc;if(_0x517346===_0x5129c9)break;else _0x293509['push'](_0x293509['shift']());}catch(_0x26f532){_0x293509['push'](_0x293509['shift']());}}}(_0x45a2,0xea237));import{Plugin as _0x2ade88}from'ckeditor5/src/core.js';function _0x45a2(){var _0x275837=['24SmESZI','67805088JTLtDj','UploadcareImageEdit','3362598XrMlvm','pluginName','1302514fJGFhp','3fyXZjx','2139774BrfoTt','requires','isOfficialPlugin','176qCtuzN','451795EsAdvz','isPremiumPlugin','16eqpJEZ','35MIYvzF','1802553bFXlvU','190620WhmBZJ'];_0x45a2=function(){return _0x275837;};return _0x45a2();}import{UploadcareImageEditEditing as _0x4fb9f0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2e5073}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2ade88{static get[_0x5d7a56(0x1fb)](){var _0x2cc5bf=_0x5d7a56;return _0x2cc5bf(0x1f9);}static get[_0x5d7a56(0x1ee)](){return[_0x4fb9f0,_0x2e5073];}static get[_0x5d7a56(0x1ef)](){return!0x0;}static get[_0x5d7a56(0x1f2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c1f0a=_0x4fc9;(function(_0x50afec,_0x88e263){const _0x11a5f6=_0x4fc9,_0x4d6601=_0x50afec();while(!![]){try{const _0x468dc1=-parseInt(_0x11a5f6(0x17a))/0x1+-parseInt(_0x11a5f6(0x188))/0x2+parseInt(_0x11a5f6(0x15f))/0x3*(-parseInt(_0x11a5f6(0x16c))/0x4)+parseInt(_0x11a5f6(0x19d))/0x5*(-parseInt(_0x11a5f6(0x17f))/0x6)+parseInt(_0x11a5f6(0x1a7))/0x7*(-parseInt(_0x11a5f6(0x167))/0x8)+-parseInt(_0x11a5f6(0x17b))/0x9+parseInt(_0x11a5f6(0x189))/0xa*(parseInt(_0x11a5f6(0x19f))/0xb);if(_0x468dc1===_0x88e263)break;else _0x4d6601['push'](_0x4d6601['shift']());}catch(_0x426cf8){_0x4d6601['push'](_0x4d6601['shift']());}}}(_0x198a,0x81510));import{Plugin as _0x568496}from'ckeditor5/src/core.js';import{IconDropbox as _0x1155a9,IconFacebook as _0x423c5d,IconGoogleDrive as _0x491dcd,IconGooglePhotos as _0x45b73c,IconUploadcareImageUpload as _0x382eb1,IconUploadcareLink as _0x5c6086,IconOneDrive as _0x396cbd}from'ckeditor5/src/icons.js';import{ButtonView as _0x9b10b3,MenuBarMenuListItemButtonView as _0x49fcd1}from'ckeditor5/src/ui.js';function _0x198a(){const _0x8f0d9c=['has','391144RjGSAC','OneDrive','_createToolbarButton','editor','entries','4FxTnbT','bind','shortText','type','_getIntegrationKey','ImageInsertUI','tooltip','invalid','uploadcareLicenseKeyUsageLimit','reduce','init','text','destroy','_normalizeConfigSourceList','401323XasrrU','1997982EKSNQm','locale','uploadcareLicenseKeyInvalid','label','42738boqwAH','upload','uploadcare.uploader.sourceList','config','commands','licenseKey','withText','forEach','_createDropdownButtons','968140PGecRd','4798290zTSNeA','Dropbox','isPremiumPlugin','_createButton','_showLicenseError','isOfficialPlugin','uploadcareLicenseKeyExpired','usageLimit','isEnabled','_licenseKeyCheckInterval','icon','Facebook','uploadcareLicenseKeyEvaluationLimit','afterInit','get','pluginName','URL','uploadcare','domainLimit','Insert','575ftKOlN','GDrive','77MHfogn','uploadcareLicenseKeyNotAllowed','url','uploadcareLicenseKeyDomainLimit','isImageSelected','execute','map','Replace','91OWsgAP','evaluationLimit','assetManager','_createMenuBarButtons','registerIntegration','GPhotos','expired','plugins','800934AjTsgx','Local','featureNotAllowed','Uploadcare','push','uploadcareLicenseKeyValid','UploadcareUI'];_0x198a=function(){return _0x8f0d9c;};return _0x198a();}import{UploadcareSource as _0x3cd6fe}from'./uploadcareconfig.js';import{getTranslation as _0x1aff9b}from'./utils/common-translations.js';function _0x4fc9(_0x4586bb,_0x166ef8){const _0x198a4c=_0x198a();return _0x4fc9=function(_0x4fc94c,_0x3d48da){_0x4fc94c=_0x4fc94c-0x159;let _0x377d30=_0x198a4c[_0x4fc94c];return _0x377d30;},_0x4fc9(_0x4586bb,_0x166ef8);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x568496{[_0x1c1f0a(0x184)];[_0x1c1f0a(0x192)];static get[_0x1c1f0a(0x198)](){const _0x1ef687=_0x1c1f0a;return _0x1ef687(0x165);}static get[_0x1c1f0a(0x18e)](){return!0x0;}static get[_0x1c1f0a(0x18b)](){return!0x0;}[_0x1c1f0a(0x176)](){const _0x58aa1d=_0x1c1f0a;this[_0x58aa1d(0x184)]=this[_0x58aa1d(0x16a)][_0x58aa1d(0x182)][_0x58aa1d(0x197)](_0x58aa1d(0x184));const _0x5d4917=this[_0x58aa1d(0x16a)];this[_0x58aa1d(0x192)]=setInterval(()=>{const _0x54c9a0=_0x58aa1d;let _0x90342;for(const _0x1550c6 in _0x5d4917){const _0x1d523f=_0x1550c6,_0x27987c=_0x5d4917[_0x1d523f];if(_0x54c9a0(0x164)==_0x27987c||_0x54c9a0(0x17d)==_0x27987c||_0x54c9a0(0x18f)==_0x27987c||_0x54c9a0(0x1a2)==_0x27987c||_0x54c9a0(0x1a0)==_0x27987c||_0x54c9a0(0x195)==_0x27987c||_0x54c9a0(0x174)==_0x27987c){delete _0x5d4917[_0x1d523f],_0x90342=_0x27987c,clearInterval(this[_0x54c9a0(0x192)]),this[_0x54c9a0(0x192)]=void 0x0;break;}}_0x54c9a0(0x17d)==_0x90342&&_0x5d4917[_0x54c9a0(0x18d)](_0x54c9a0(0x173)),_0x54c9a0(0x18f)==_0x90342&&_0x5d4917[_0x54c9a0(0x18d)](_0x54c9a0(0x15d)),_0x54c9a0(0x1a2)==_0x90342&&_0x5d4917[_0x54c9a0(0x18d)](_0x54c9a0(0x19b)),_0x54c9a0(0x1a0)==_0x90342&&_0x5d4917[_0x54c9a0(0x18d)](_0x54c9a0(0x161),_0x54c9a0(0x162)),_0x54c9a0(0x195)==_0x90342&&_0x5d4917[_0x54c9a0(0x18d)](_0x54c9a0(0x1a8)),_0x54c9a0(0x174)==_0x90342&&_0x5d4917[_0x54c9a0(0x18d)](_0x54c9a0(0x190));},0x3e8);}[_0x1c1f0a(0x196)](){const _0x516aca=_0x1c1f0a,{editor:_0x87921e}=this,_0x55dac8=_0x87921e[_0x516aca(0x183)][_0x516aca(0x197)](_0x516aca(0x19a));if(!_0x55dac8)return;const _0x4d2328=this[_0x516aca(0x179)](_0x87921e[_0x516aca(0x182)][_0x516aca(0x197)](_0x516aca(0x181)))[_0x516aca(0x175)]((_0x4d3247,_0xe2866)=>{const _0x255f25=_0x516aca,_0x5b610d=this[_0x255f25(0x170)](_0xe2866[_0x255f25(0x16f)]);return _0x4d3247[_0x5b610d]||(_0x4d3247[_0x5b610d]=[]),_0x4d3247[_0x5b610d][_0x255f25(0x163)](_0xe2866),_0x4d3247;},{});_0x87921e[_0x516aca(0x15e)][_0x516aca(0x166)](_0x516aca(0x171))&&_0x87921e[_0x516aca(0x183)][_0x516aca(0x197)](_0x516aca(0x19a))&&Object[_0x516aca(0x16b)](_0x4d2328)[_0x516aca(0x186)](([_0x46980e,_0x1a8423])=>{const _0x154c0c=_0x516aca;_0x87921e[_0x154c0c(0x15e)][_0x154c0c(0x197)](_0x154c0c(0x171))[_0x154c0c(0x15b)]({'name':_0x46980e,'observable':()=>_0x55dac8,'buttonViewCreator':()=>this[_0x154c0c(0x169)](_0x1a8423),'formViewCreator':()=>this[_0x154c0c(0x187)](_0x1a8423),'menuBarButtonViewCreator':()=>this[_0x154c0c(0x15a)](_0x1a8423),'override':_0x154c0c(0x159)!==_0x46980e});});}[_0x1c1f0a(0x178)](){const _0x36ffba=_0x1c1f0a;super[_0x36ffba(0x178)](),this[_0x36ffba(0x192)]&&clearInterval(this[_0x36ffba(0x192)]);}[_0x1c1f0a(0x179)](_0x477246){const _0x3ca6d5=_0x1c1f0a,{locale:_0x3a7965}=this[_0x3ca6d5(0x16a)];return _0x477246[_0x3ca6d5(0x1a5)](_0x79c7a4=>{const _0x46c988=_0x3ca6d5,_0x29fb12=_0x1aff9b(_0x3a7965,_0x79c7a4,_0x46c988(0x19c));switch(_0x79c7a4){case _0x3cd6fe[_0x46c988(0x160)]:return{'icon':_0x382eb1,'type':_0x3cd6fe[_0x46c988(0x160)],..._0x29fb12};case _0x3cd6fe[_0x46c988(0x199)]:return{'icon':_0x5c6086,'type':_0x3cd6fe[_0x46c988(0x199)],..._0x29fb12};case _0x3cd6fe[_0x46c988(0x18a)]:return{'icon':_0x1155a9,'type':_0x3cd6fe[_0x46c988(0x18a)],..._0x29fb12};case _0x3cd6fe[_0x46c988(0x194)]:return{'icon':_0x423c5d,'type':_0x3cd6fe[_0x46c988(0x194)],..._0x29fb12};case _0x3cd6fe[_0x46c988(0x19e)]:return{'icon':_0x491dcd,'type':_0x3cd6fe[_0x46c988(0x19e)],..._0x29fb12};case _0x3cd6fe[_0x46c988(0x15c)]:return{'icon':_0x45b73c,'type':_0x3cd6fe[_0x46c988(0x15c)],..._0x29fb12};case _0x3cd6fe[_0x46c988(0x168)]:return{'icon':_0x396cbd,'type':_0x3cd6fe[_0x46c988(0x168)],..._0x29fb12};}});}[_0x1c1f0a(0x170)](_0x34e756){const _0x390644=_0x1c1f0a;switch(_0x34e756){case _0x3cd6fe[_0x390644(0x160)]:return _0x390644(0x180);case _0x3cd6fe[_0x390644(0x199)]:return _0x390644(0x1a1);default:return _0x390644(0x159);}}[_0x1c1f0a(0x18c)](_0x57ce87,_0x544b64){const _0x238590=_0x1c1f0a,_0x25b7e4=this[_0x238590(0x16a)],_0x1eb738=new _0x57ce87(_0x25b7e4[_0x238590(0x17c)]),_0xa0594f=_0x25b7e4[_0x238590(0x183)][_0x238590(0x197)](_0x238590(0x19a));return _0x1eb738[_0x238590(0x16d)](_0x238590(0x191))['to'](_0xa0594f),_0x1eb738['on'](_0x238590(0x1a4),()=>{const _0x1e8359=_0x238590;_0xa0594f[_0x1e8359(0x1a4)](_0x544b64);}),_0x1eb738;}[_0x1c1f0a(0x169)](_0x2c5459){const _0x28835d=_0x1c1f0a,{locale:_0x5940fe}=this[_0x28835d(0x16a)],_0x5d1c75=this[_0x28835d(0x16a)][_0x28835d(0x15e)][_0x28835d(0x197)](_0x28835d(0x171)),_0x2caf13=_0x2c5459[0x0],_0x472af4=this[_0x28835d(0x18c)](_0x9b10b3,_0x2caf13[_0x28835d(0x16f)]);return _0x472af4[_0x28835d(0x193)]=_0x2caf13[_0x28835d(0x193)],_0x472af4[_0x28835d(0x16d)](_0x28835d(0x17e))['to'](_0x5d1c75,_0x28835d(0x1a3),_0x513874=>_0x1aff9b(_0x5940fe,_0x2caf13[_0x28835d(0x16f)],_0x513874?_0x28835d(0x1a6):_0x28835d(0x19c))[_0x28835d(0x177)]),_0x472af4[_0x28835d(0x172)]=!0x0,_0x472af4;}[_0x1c1f0a(0x187)](_0x2cd003){const _0x419349=_0x1c1f0a,{locale:_0x109448}=this[_0x419349(0x16a)],_0xbc0fba=this[_0x419349(0x16a)][_0x419349(0x15e)][_0x419349(0x197)](_0x419349(0x171));return _0x2cd003[_0x419349(0x1a5)](_0x5e8002=>{const _0x3756a3=_0x419349,_0x91eb18=this[_0x3756a3(0x18c)](_0x9b10b3,_0x5e8002[_0x3756a3(0x16f)]);return _0x91eb18[_0x3756a3(0x185)]=!0x0,_0x91eb18[_0x3756a3(0x193)]=_0x5e8002[_0x3756a3(0x193)],_0x91eb18[_0x3756a3(0x16d)](_0x3756a3(0x17e))['to'](_0xbc0fba,_0x3756a3(0x1a3),_0x585d6d=>_0x1aff9b(_0x109448,_0x5e8002[_0x3756a3(0x16f)],_0x585d6d?_0x3756a3(0x1a6):_0x3756a3(0x19c))[_0x3756a3(0x177)]),_0x91eb18;});}[_0x1c1f0a(0x15a)](_0x3d1b17){const _0x33a092=_0x1c1f0a;return _0x3d1b17[_0x33a092(0x1a5)](_0x5020fe=>{const _0x3bdf55=_0x33a092,_0x30834f=this[_0x3bdf55(0x18c)](_0x49fcd1,_0x5020fe[_0x3bdf55(0x16f)]);return _0x30834f[_0x3bdf55(0x193)]=_0x5020fe[_0x3bdf55(0x193)],_0x30834f[_0x3bdf55(0x17e)]=_0x5020fe[_0x3bdf55(0x16e)],_0x30834f;});}}
23
+ const _0x34eaab=_0x14e9;function _0x14e9(_0x40f203,_0x5ae9e0){const _0x5423de=_0x5423();return _0x14e9=function(_0x14e92e,_0x277457){_0x14e92e=_0x14e92e-0x18c;let _0x2604e0=_0x5423de[_0x14e92e];return _0x2604e0;},_0x14e9(_0x40f203,_0x5ae9e0);}(function(_0xc2c2ec,_0x48d804){const _0x3ed6e6=_0x14e9,_0x4cd8f8=_0xc2c2ec();while(!![]){try{const _0x57b0a4=parseInt(_0x3ed6e6(0x1a5))/0x1+parseInt(_0x3ed6e6(0x1c9))/0x2*(-parseInt(_0x3ed6e6(0x1d6))/0x3)+parseInt(_0x3ed6e6(0x19e))/0x4*(parseInt(_0x3ed6e6(0x18d))/0x5)+-parseInt(_0x3ed6e6(0x1b2))/0x6*(parseInt(_0x3ed6e6(0x1cc))/0x7)+parseInt(_0x3ed6e6(0x197))/0x8*(-parseInt(_0x3ed6e6(0x1d1))/0x9)+-parseInt(_0x3ed6e6(0x1d2))/0xa*(-parseInt(_0x3ed6e6(0x1b1))/0xb)+parseInt(_0x3ed6e6(0x1a8))/0xc*(parseInt(_0x3ed6e6(0x19d))/0xd);if(_0x57b0a4===_0x48d804)break;else _0x4cd8f8['push'](_0x4cd8f8['shift']());}catch(_0x3f684a){_0x4cd8f8['push'](_0x4cd8f8['shift']());}}}(_0x5423,0xaae42));function _0x5423(){const _0x1f6a80=['evaluationLimit','reduce','uploadcareLicenseKeyInvalid','registerIntegration','UploadcareUI','ImageInsertUI','_licenseKeyCheckInterval','bind','_createMenuBarButtons','pluginName','Replace','2Gjuwqc','_createToolbarButton','uploadcareLicenseKeyValid','3290HeWCFn','url','_getIntegrationKey','uploadcareLicenseKeyUsageLimit','shortText','9ANnmJw','90OnPwov','map','execute','_showLicenseError','2510409usqKhA','forEach','_createButton','config','entries','uploadcare','push','GDrive','text','35ltovFG','usageLimit','init','tooltip','domainLimit','afterInit','uploadcareLicenseKeyNotAllowed','isEnabled','Facebook','upload','7454584CInccC','plugins','uploadcareLicenseKeyEvaluationLimit','Insert','commands','isPremiumPlugin','1937eQeqVd','241876BgeHSR','editor','locale','type','has','get','destroy','910279bUOBVj','Uploadcare','Dropbox','77076vsSDUH','OneDrive','isOfficialPlugin','uploadcare.uploader.sourceList','withText','GPhotos','invalid','isImageSelected','Local','441023qAoaVY','2334lJfAMD','expired','uploadcareLicenseKeyDomainLimit','licenseKey','icon','URL','_createDropdownButtons','label','_normalizeConfigSourceList','assetManager','uploadcareLicenseKeyExpired','featureNotAllowed'];_0x5423=function(){return _0x1f6a80;};return _0x5423();}import{Plugin as _0x5b5fc6}from'ckeditor5/src/core.js';import{IconDropbox as _0x519923,IconFacebook as _0x416ae3,IconGoogleDrive as _0x50a966,IconGooglePhotos as _0x5b9657,IconUploadcareImageUpload as _0x204f33,IconUploadcareLink as _0x540f18,IconOneDrive as _0x218def}from'ckeditor5/src/icons.js';import{ButtonView as _0x57a467,MenuBarMenuListItemButtonView as _0x132c51}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2d6c8b}from'./uploadcareconfig.js';import{getTranslation as _0x20d536}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 _0x5b5fc6{[_0x34eaab(0x1b5)];[_0x34eaab(0x1c4)];static get[_0x34eaab(0x1c7)](){const _0x286ade=_0x34eaab;return _0x286ade(0x1c2);}static get[_0x34eaab(0x1aa)](){return!0x0;}static get[_0x34eaab(0x19c)](){return!0x0;}[_0x34eaab(0x18f)](){const _0x4cb87d=_0x34eaab;this[_0x4cb87d(0x1b5)]=this[_0x4cb87d(0x19f)][_0x4cb87d(0x1d9)][_0x4cb87d(0x1a3)](_0x4cb87d(0x1b5));const _0x503480=this[_0x4cb87d(0x19f)];this[_0x4cb87d(0x1c4)]=setInterval(()=>{const _0x57a975=_0x4cb87d;let _0x36046c;for(const _0x2dcaa6 in _0x503480){const _0x188460=_0x2dcaa6,_0x34eaa4=_0x503480[_0x188460];if(_0x57a975(0x1cb)==_0x34eaa4||_0x57a975(0x1c0)==_0x34eaa4||_0x57a975(0x1bc)==_0x34eaa4||_0x57a975(0x1b4)==_0x34eaa4||_0x57a975(0x193)==_0x34eaa4||_0x57a975(0x199)==_0x34eaa4||_0x57a975(0x1cf)==_0x34eaa4){delete _0x503480[_0x188460],_0x36046c=_0x34eaa4,clearInterval(this[_0x57a975(0x1c4)]),this[_0x57a975(0x1c4)]=void 0x0;break;}}_0x57a975(0x1c0)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1ae)),_0x57a975(0x1bc)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1b3)),_0x57a975(0x1b4)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x191)),_0x57a975(0x193)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1bd),_0x57a975(0x1a6)),_0x57a975(0x199)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1be)),_0x57a975(0x1cf)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x18e));},0x3e8);}[_0x34eaab(0x192)](){const _0x297969=_0x34eaab,{editor:_0xb2489d}=this,_0x40ff88=_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db));if(!_0x40ff88)return;const _0x1c426a=this[_0x297969(0x1ba)](_0xb2489d[_0x297969(0x1d9)][_0x297969(0x1a3)](_0x297969(0x1ab)))[_0x297969(0x1bf)]((_0x5d795e,_0x2ee85f)=>{const _0x55a8c4=_0x297969,_0x2a156f=this[_0x55a8c4(0x1ce)](_0x2ee85f[_0x55a8c4(0x1a1)]);return _0x5d795e[_0x2a156f]||(_0x5d795e[_0x2a156f]=[]),_0x5d795e[_0x2a156f][_0x55a8c4(0x1dc)](_0x2ee85f),_0x5d795e;},{});_0xb2489d[_0x297969(0x198)][_0x297969(0x1a2)](_0x297969(0x1c3))&&_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db))&&Object[_0x297969(0x1da)](_0x1c426a)[_0x297969(0x1d7)](([_0x2982a9,_0x315865])=>{const _0x1ebb43=_0x297969;_0xb2489d[_0x1ebb43(0x198)][_0x1ebb43(0x1a3)](_0x1ebb43(0x1c3))[_0x1ebb43(0x1c1)]({'name':_0x2982a9,'observable':()=>_0x40ff88,'buttonViewCreator':()=>this[_0x1ebb43(0x1ca)](_0x315865),'formViewCreator':()=>this[_0x1ebb43(0x1b8)](_0x315865),'menuBarButtonViewCreator':()=>this[_0x1ebb43(0x1c6)](_0x315865),'override':_0x1ebb43(0x1bb)!==_0x2982a9});});}[_0x34eaab(0x1a4)](){const _0x4a1966=_0x34eaab;super[_0x4a1966(0x1a4)](),this[_0x4a1966(0x1c4)]&&clearInterval(this[_0x4a1966(0x1c4)]);}[_0x34eaab(0x1ba)](_0x494e32){const _0x2817f2=_0x34eaab,{locale:_0xa1b3cd}=this[_0x2817f2(0x19f)];return _0x494e32[_0x2817f2(0x1d3)](_0xa6eb6e=>{const _0x4edf26=_0x2817f2,_0x21363c=_0x20d536(_0xa1b3cd,_0xa6eb6e,_0x4edf26(0x19a));switch(_0xa6eb6e){case _0x2d6c8b[_0x4edf26(0x1b0)]:return{'icon':_0x204f33,'type':_0x2d6c8b[_0x4edf26(0x1b0)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1b7)]:return{'icon':_0x540f18,'type':_0x2d6c8b[_0x4edf26(0x1b7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a7)]:return{'icon':_0x519923,'type':_0x2d6c8b[_0x4edf26(0x1a7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x195)]:return{'icon':_0x416ae3,'type':_0x2d6c8b[_0x4edf26(0x195)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1dd)]:return{'icon':_0x50a966,'type':_0x2d6c8b[_0x4edf26(0x1dd)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1ad)]:return{'icon':_0x5b9657,'type':_0x2d6c8b[_0x4edf26(0x1ad)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a9)]:return{'icon':_0x218def,'type':_0x2d6c8b[_0x4edf26(0x1a9)],..._0x21363c};}});}[_0x34eaab(0x1ce)](_0x4d77fd){const _0x3bfe9c=_0x34eaab;switch(_0x4d77fd){case _0x2d6c8b[_0x3bfe9c(0x1b0)]:return _0x3bfe9c(0x196);case _0x2d6c8b[_0x3bfe9c(0x1b7)]:return _0x3bfe9c(0x1cd);default:return _0x3bfe9c(0x1bb);}}[_0x34eaab(0x1d8)](_0x368334,_0x207c66){const _0x3af681=_0x34eaab,_0x3d9f64=this[_0x3af681(0x19f)],_0x24bbc0=new _0x368334(_0x3d9f64[_0x3af681(0x1a0)]),_0x411ed7=_0x3d9f64[_0x3af681(0x19b)][_0x3af681(0x1a3)](_0x3af681(0x1db));return _0x24bbc0[_0x3af681(0x1c5)](_0x3af681(0x194))['to'](_0x411ed7),_0x24bbc0['on'](_0x3af681(0x1d4),()=>{const _0x4447d2=_0x3af681;_0x411ed7[_0x4447d2(0x1d4)](_0x207c66);}),_0x24bbc0;}[_0x34eaab(0x1ca)](_0x122a29){const _0x3d6f7e=_0x34eaab,{locale:_0x5d9342}=this[_0x3d6f7e(0x19f)],_0xeed83b=this[_0x3d6f7e(0x19f)][_0x3d6f7e(0x198)][_0x3d6f7e(0x1a3)](_0x3d6f7e(0x1c3)),_0x9525c9=_0x122a29[0x0],_0x943570=this[_0x3d6f7e(0x1d8)](_0x57a467,_0x9525c9[_0x3d6f7e(0x1a1)]);return _0x943570[_0x3d6f7e(0x1b6)]=_0x9525c9[_0x3d6f7e(0x1b6)],_0x943570[_0x3d6f7e(0x1c5)](_0x3d6f7e(0x1b9))['to'](_0xeed83b,_0x3d6f7e(0x1af),_0x4c2f49=>_0x20d536(_0x5d9342,_0x9525c9[_0x3d6f7e(0x1a1)],_0x4c2f49?_0x3d6f7e(0x1c8):_0x3d6f7e(0x19a))[_0x3d6f7e(0x18c)]),_0x943570[_0x3d6f7e(0x190)]=!0x0,_0x943570;}[_0x34eaab(0x1b8)](_0xa98cfb){const _0x333188=_0x34eaab,{locale:_0x75880f}=this[_0x333188(0x19f)],_0x34065e=this[_0x333188(0x19f)][_0x333188(0x198)][_0x333188(0x1a3)](_0x333188(0x1c3));return _0xa98cfb[_0x333188(0x1d3)](_0x1d823b=>{const _0x5d6e98=_0x333188,_0x49354c=this[_0x5d6e98(0x1d8)](_0x57a467,_0x1d823b[_0x5d6e98(0x1a1)]);return _0x49354c[_0x5d6e98(0x1ac)]=!0x0,_0x49354c[_0x5d6e98(0x1b6)]=_0x1d823b[_0x5d6e98(0x1b6)],_0x49354c[_0x5d6e98(0x1c5)](_0x5d6e98(0x1b9))['to'](_0x34065e,_0x5d6e98(0x1af),_0x595328=>_0x20d536(_0x75880f,_0x1d823b[_0x5d6e98(0x1a1)],_0x595328?_0x5d6e98(0x1c8):_0x5d6e98(0x19a))[_0x5d6e98(0x18c)]),_0x49354c;});}[_0x34eaab(0x1c6)](_0x1b4edf){const _0x82f671=_0x34eaab;return _0x1b4edf[_0x82f671(0x1d3)](_0x59128d=>{const _0x21ec6f=_0x82f671,_0x2cfadf=this[_0x21ec6f(0x1d8)](_0x132c51,_0x59128d[_0x21ec6f(0x1a1)]);return _0x2cfadf[_0x21ec6f(0x1b6)]=_0x59128d[_0x21ec6f(0x1b6)],_0x2cfadf[_0x21ec6f(0x1b9)]=_0x59128d[_0x21ec6f(0x1d0)],_0x2cfadf;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x32a262}from'ckeditor5/src/core.js';import{FileRepository as _0x2447fb}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xbc954b}from'./uploadcareediting.js';import{UploadUtils as _0x3e40fa}from'./utils/uploadutils.js';import{getImageUrls as _0x5e589b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x32a262{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2447fb,_0xbc954b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2cc643=this['editor'];if(!!!_0x2cc643['config']['get']('uploadcare'))return;_0x2cc643['plugins']['get'](_0x2447fb)['createUploadAdapter']=_0x27f441=>new k(_0x27f441,_0x2cc643),_0x2cc643['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x45354e,{imageElement:_0x24b369,data:_0xe8b547})=>{_0x2cc643['model']['change'](_0x402dcd=>{_0x402dcd['setAttribute']('uploadcareImageId',_0xe8b547['uploadcareImageId'],_0x24b369);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1c79ee,_0x4aad94){this['loader']=_0x1c79ee,this['editor']=_0x4aad94,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41cf8b=await this['loader']['file'];return _0x3e40fa['upload']({'file':_0x41cf8b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x786f8a=>{_0x786f8a&&_0x786f8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x786f8a['value']);}})['then'](async _0x475b07=>{const {imageFallbackUrl:_0x2cf8b9,imageSources:_0x4eafa5}=_0x5e589b(_0x475b07['cdnUrl'],_0x475b07['imageInfo']['width']);return{'uploadcareImageId':_0x475b07['uuid'],'default':_0x2cf8b9,'sources':_0x4eafa5};})['catch'](()=>{const _0x30b328=t('Cannot\x20upload\x20file:')+('\x20'+_0x41cf8b['name']+'.');return Promise['reject'](_0x30b328);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x53086d}from'ckeditor5/src/core.js';import{FileRepository as _0x309592}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4558ba}from'./uploadcareediting.js';import{UploadUtils as _0x3c7c4d}from'./utils/uploadutils.js';import{getImageUrls as _0x576466}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x53086d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x309592,_0x4558ba];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a9cfe=this['editor'];if(!!!_0x2a9cfe['config']['get']('uploadcare'))return;_0x2a9cfe['plugins']['get'](_0x309592)['createUploadAdapter']=_0x28c22d=>new k(_0x28c22d,_0x2a9cfe),_0x2a9cfe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x168333,{imageElement:_0x2d2fed,data:_0x120de7})=>{_0x2a9cfe['model']['change'](_0x11c7e4=>{_0x11c7e4['setAttribute']('uploadcareImageId',_0x120de7['uploadcareImageId'],_0x2d2fed);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x427617,_0x56895f){this['loader']=_0x427617,this['editor']=_0x56895f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e236e=await this['loader']['file'];return _0x3c7c4d['upload']({'file':_0x3e236e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1e4a8a=>{_0x1e4a8a&&_0x1e4a8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e4a8a['value']);}})['then'](async _0x45a99=>{const {imageFallbackUrl:_0x30349e,imageSources:_0x140e6d}=_0x576466(_0x45a99['cdnUrl'],_0x45a99['imageInfo']['width']);return{'uploadcareImageId':_0x45a99['uuid'],'default':_0x30349e,'sources':_0x140e6d};})['catch'](()=>{const _0x59c379=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e236e['name']+'.');return Promise['reject'](_0x59c379);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x33a652}from'../uploadcareconfig.js';export function getTranslation(_0x217592,_0x52d641,_0x3bee0c){const t=_0x217592['t'],_0x5b46b3=_0x217592['t'];switch(_0x52d641){case _0x33a652['Local']:return{'text':_0x5b46b3('Insert'===_0x3bee0c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5b46b3('From\x20computer')};case _0x33a652['URL']:return{'text':'Insert'===_0x3bee0c?_0x5b46b3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5b46b3('Via\x20URL')};case _0x33a652['Dropbox']:return{'text':t('Insert'===_0x3bee0c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x33a652['Facebook']:return{'text':t('Insert'===_0x3bee0c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x33a652['GDrive']:return{'text':t('Insert'===_0x3bee0c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x33a652['GPhotos']:return{'text':t('Insert'===_0x3bee0c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x33a652['OneDrive']:return{'text':t('Insert'===_0x3bee0c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x52d641;}}
23
+ import{UploadcareSource as _0x56d556}from'../uploadcareconfig.js';export function getTranslation(_0x154087,_0x1f1eb1,_0x5ef426){const t=_0x154087['t'],_0x485405=_0x154087['t'];switch(_0x1f1eb1){case _0x56d556['Local']:return{'text':_0x485405('Insert'===_0x5ef426?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x485405('From\x20computer')};case _0x56d556['URL']:return{'text':'Insert'===_0x5ef426?_0x485405('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x485405('Via\x20URL')};case _0x56d556['Dropbox']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56d556['Facebook']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56d556['GDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56d556['GPhotos']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56d556['OneDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f1eb1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x18f134=_0x36da;function _0x36da(_0x58e4ad,_0x32e7e0){var _0xf07971=_0xf079();return _0x36da=function(_0x36da39,_0xafc7b9){_0x36da39=_0x36da39-0x7b;var _0x593fb5=_0xf07971[_0x36da39];return _0x593fb5;},_0x36da(_0x58e4ad,_0x32e7e0);}(function(_0xc3623a,_0x4eccdc){var _0x573681=_0x36da,_0x5123ac=_0xc3623a();while(!![]){try{var _0x4824a9=parseInt(_0x573681(0x87))/0x1+-parseInt(_0x573681(0x7f))/0x2+-parseInt(_0x573681(0x8b))/0x3+-parseInt(_0x573681(0x80))/0x4*(-parseInt(_0x573681(0x81))/0x5)+-parseInt(_0x573681(0x82))/0x6+-parseInt(_0x573681(0x7b))/0x7+parseInt(_0x573681(0x88))/0x8*(parseInt(_0x573681(0x7e))/0x9);if(_0x4824a9===_0x4eccdc)break;else _0x5123ac['push'](_0x5123ac['shift']());}catch(_0x554818){_0x5123ac['push'](_0x5123ac['shift']());}}}(_0xf079,0xc6ba4));import{FocusTracker as _0xb87aab}from'ckeditor5/src/utils.js';function _0xf079(){var _0x42282a=['div','forwardCycle','898737DknyHf','createCollection','5085227jfFWwS','bindTemplate','getFocusableElement','288VNbHCk','1829416qOGgZH','38384Wjmcct','830nlJeeo','2797608Uovvfb','focusTracker','true','focusCycler','fire','789284DeGIfo','209696hrnVFh'];_0xf079=function(){return _0x42282a;};return _0xf079();}import{View as _0x6f304c,FocusCycler as _0x1c07f9}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x6f304c{[_0x18f134(0x83)];[_0x18f134(0x85)];constructor(_0x4d5dab){var _0x42599c=_0x18f134;super(_0x4d5dab),this[_0x42599c(0x83)]=new _0xb87aab(),this[_0x42599c(0x85)]=new _0x1c07f9({'focusables':this[_0x42599c(0x8c)](),'focusTracker':this[_0x42599c(0x83)]});}[_0x18f134(0x7d)](){var _0x3e15ff=_0x18f134;return{'tag':_0x3e15ff(0x89),'attributes':{'aria-hidden':_0x3e15ff(0x84),'tabindex':'0'},'on':{'focus':this[_0x3e15ff(0x7c)]['to'](()=>{var _0x197c7d=_0x3e15ff;this[_0x197c7d(0x85)][_0x197c7d(0x86)](_0x197c7d(0x8a));})}};}}
23
+ var _0x2bbef3=_0x18ad;(function(_0x438e41,_0x2fa1e5){var _0x1f4325=_0x18ad,_0xb95fa8=_0x438e41();while(!![]){try{var _0x4ba384=-parseInt(_0x1f4325(0x117))/0x1+-parseInt(_0x1f4325(0x11a))/0x2+parseInt(_0x1f4325(0x114))/0x3*(parseInt(_0x1f4325(0x116))/0x4)+-parseInt(_0x1f4325(0x10d))/0x5+parseInt(_0x1f4325(0x113))/0x6*(-parseInt(_0x1f4325(0x10f))/0x7)+-parseInt(_0x1f4325(0x119))/0x8+parseInt(_0x1f4325(0x10a))/0x9;if(_0x4ba384===_0x2fa1e5)break;else _0xb95fa8['push'](_0xb95fa8['shift']());}catch(_0x542313){_0xb95fa8['push'](_0xb95fa8['shift']());}}}(_0x2a47,0xc4730));function _0x2a47(){var _0x1a104e=['8025312inoECV','1089142HtNTPI','bindTemplate','23243463gAlCvu','div','focusTracker','1066110jhkEBO','true','14ZAKwSb','focusCycler','forwardCycle','getFocusableElement','3401052tePVIo','4527063QmdFAa','fire','4tGoJZy','392331EBlvXl','createCollection'];_0x2a47=function(){return _0x1a104e;};return _0x2a47();}import{FocusTracker as _0x3a4e2a}from'ckeditor5/src/utils.js';function _0x18ad(_0x54370f,_0x1e1607){var _0x2a47da=_0x2a47();return _0x18ad=function(_0x18ad7a,_0x2c8275){_0x18ad7a=_0x18ad7a-0x10a;var _0x55fb65=_0x2a47da[_0x18ad7a];return _0x55fb65;},_0x18ad(_0x54370f,_0x1e1607);}import{View as _0x23a2bd,FocusCycler as _0x2a4307}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x23a2bd{[_0x2bbef3(0x10c)];[_0x2bbef3(0x110)];constructor(_0x2322c1){var _0xd48255=_0x2bbef3;super(_0x2322c1),this[_0xd48255(0x10c)]=new _0x3a4e2a(),this[_0xd48255(0x110)]=new _0x2a4307({'focusables':this[_0xd48255(0x118)](),'focusTracker':this[_0xd48255(0x10c)]});}[_0x2bbef3(0x112)](){var _0x588c30=_0x2bbef3;return{'tag':_0x588c30(0x10b),'attributes':{'aria-hidden':_0x588c30(0x10e),'tabindex':'0'},'on':{'focus':this[_0x588c30(0x11b)]['to'](()=>{var _0x592d32=_0x588c30;this[_0x592d32(0x110)][_0x592d32(0x115)](_0x592d32(0x111));})}};}}