@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250826.0 → 0.0.0-nightly-20250827.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +10 -10
  152. package/src/index.js +1 -1
  153. package/src/ui/uploadcarecontroller.js +2 -2
  154. package/src/ui/uploadcareformview.js +1 -1
  155. package/src/uploadcare.js +1 -1
  156. package/src/uploadcarecommand.js +1 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x352743=_0x2823;(function(_0x33b8f3,_0xa61102){const _0x2cb74f=_0x2823,_0x2377ac=_0x33b8f3();while(!![]){try{const _0x184899=parseInt(_0x2cb74f(0x191))/0x1*(parseInt(_0x2cb74f(0x198))/0x2)+-parseInt(_0x2cb74f(0x18f))/0x3+-parseInt(_0x2cb74f(0x1c1))/0x4+-parseInt(_0x2cb74f(0x1d7))/0x5+parseInt(_0x2cb74f(0x190))/0x6+parseInt(_0x2cb74f(0x197))/0x7+parseInt(_0x2cb74f(0x192))/0x8;if(_0x184899===_0xa61102)break;else _0x2377ac['push'](_0x2377ac['shift']());}catch(_0x8da0a8){_0x2377ac['push'](_0x2377ac['shift']());}}}(_0x4e39,0x637c9));import{Plugin as _0x2077e6}from'ckeditor5/src/core.js';import{Dialog as _0x130ade}from'ckeditor5/src/ui.js';import{createElement as _0x4f0d49,global as _0x1d6f82,uid as _0x24d462}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2399d6}from'./uploadcarecommand.js';function _0x4e39(){const _0x24d5b3=['href','imageInline','PictureEditing','input[uploadcare-file-input]','add','uploadcare.pubkey','getAttribute','removeAttribute','1188846zqyMxv','2597622VKWdYI','1CjhBKf','3706520YohbcO','pluginName','get','uploadcare','uploadcare.uploader','2854495IXSdSy','1364468PCacfG','requires','_initImageProcessingIndicator','_configElement','editing','iconHrefResolver','_initSchema','UploadcareEditing','for','contentLanguage','attributeToAttribute','uc-upload-ctx-provider','view','replaceImageSource','afterInit','isOfficialPlugin','#uc-icon-arrow-down','model','uploader-','remove','uc-config','_ctxElement','body','commands','map','ucContextId','destroy','isPremiumPlugin','cleanupImage','schema','getSelectedElement','document','isRegistered','downcast','_initConfig','insertImage','_initCtx','ctxElement','execute','fromCharCode','once','2818444NoTXMf','configElement','elementToAttribute','extend','uploadcareImageId','conversion','true','_initConversion','uploadcareImageReplace','selection','editor','locale','imageBlock','join','init','querySelector','\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','render','upcast','data-uc-image-id','config','appendChild','2389405UYRhEo','listenTo','closeMax'];_0x4e39=function(){return _0x24d5b3;};return _0x4e39();}function _0x2823(_0x55d745,_0x141ec2){const _0x4e3959=_0x4e39();return _0x2823=function(_0x2823fb,_0x102ea2){_0x2823fb=_0x2823fb-0x189;let _0x4f1e95=_0x4e3959[_0x2823fb];return _0x4f1e95;},_0x2823(_0x55d745,_0x141ec2);}import{UploadcareUploadAdapter as _0x55e88c}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x403854}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2077e6{[_0x352743(0x19b)]=null;[_0x352743(0x1ad)]=null;static get[_0x352743(0x193)](){const _0x1b845a=_0x352743;return _0x1b845a(0x19f);}static get[_0x352743(0x199)](){const _0x82628e=_0x352743;return[_0x82628e(0x189),_0x55e88c,_0x130ade];}static get[_0x352743(0x1a7)](){return!0x0;}static get[_0x352743(0x1b3)](){return!0x0;}[_0x352743(0x1b1)];get[_0x352743(0x1c2)](){const _0x870fe8=_0x352743;return this[_0x870fe8(0x19b)];}get[_0x352743(0x1bd)](){const _0x2c5968=_0x352743;return this[_0x2c5968(0x1ad)];}constructor(_0x10e066){const _0x434b4f=_0x352743;super(_0x10e066),this[_0x434b4f(0x1b1)]=_0x24d462();}[_0x352743(0x1cf)](){const _0x2aa446=_0x352743,_0x4a7d5b=this[_0x2aa446(0x1cb)];_0x4a7d5b[_0x2aa446(0x1af)][_0x2aa446(0x18b)](_0x2aa446(0x195),new _0x2399d6(_0x4a7d5b));}[_0x352743(0x1a6)](){const _0x108a81=_0x352743;this[_0x108a81(0x19e)](),this[_0x108a81(0x1c8)](),this[_0x108a81(0x1ba)](),this[_0x108a81(0x1bc)](),this[_0x108a81(0x19a)](),this[_0x108a81(0x1d8)](this[_0x108a81(0x1cb)],_0x108a81(0x1b2),()=>{const _0x2d80e9=_0x108a81;this[_0x2d80e9(0x19b)]&&(this[_0x2d80e9(0x19b)][_0x2d80e9(0x1ab)](),this[_0x2d80e9(0x19b)]=null),this[_0x2d80e9(0x1ad)]&&(this[_0x2d80e9(0x1ad)][_0x2d80e9(0x1ab)](),this[_0x2d80e9(0x1ad)]=null);const _0x5aa450=_0x1d6f82[_0x2d80e9(0x1b7)][_0x2d80e9(0x1d0)](_0x2d80e9(0x18a));_0x5aa450&&_0x5aa450[_0x2d80e9(0x1ab)]();}),async function(_0x5bdd0d){const _0x5e6852=_0x8c6017([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2645c2=0x3d8d0df,_0x1821bc=0x3dfa14f^_0x2645c2,_0x4cf76c=window[_0x8c6017([0x44,0x61,0x74,0x65])][_0x8c6017([0x6e,0x6f,0x77])](),_0x14e27a=_0x5bdd0d[_0x8c6017([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44f2be=new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2af401=>{_0x14e27a[_0x8c6017([0x6f,0x6e,0x63,0x65])](_0x8c6017([0x72,0x65,0x61,0x64,0x79]),_0x2af401);}),_0x314f46={[_0x8c6017([0x6b,0x74,0x79])]:_0x8c6017([0x45,0x43]),[_0x8c6017([0x75,0x73,0x65])]:_0x8c6017([0x73,0x69,0x67]),[_0x8c6017([0x63,0x72,0x76])]:_0x8c6017([0x50,0x2d,0x32,0x35,0x36]),[_0x8c6017([0x78])]:_0x8c6017([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]),[_0x8c6017([0x79])]:_0x8c6017([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]),[_0x8c6017([0x61,0x6c,0x67])]:_0x8c6017([0x45,0x53,0x32,0x35,0x36])},_0x4ee010=_0x14e27a[_0x8c6017([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8c6017([0x67,0x65,0x74])](_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x125fde(){let _0x521aa0,_0x464a81=null,_0x57db1e=null;try{if(_0x4ee010==_0x8c6017([0x47,0x50,0x4c]))return _0x8c6017([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x521aa0=_0x18b378(),!_0x521aa0)return _0x8c6017([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x521aa0[_0x8c6017([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57db1e=_0x257053(_0x521aa0[_0x8c6017([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x521aa0[_0x8c6017([0x6a,0x74,0x69])])),await _0x45e828()?_0x146b09()?_0x2b9927()?_0x8c6017([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d2bc0()?(_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8c6017([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x464a81=_0x3dabb1(_0x8c6017([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8c6017([0x74,0x72,0x69,0x61,0x6c])&&(_0x464a81=_0x3dabb1(_0x8c6017([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b4364()):_0x8c6017([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8c6017([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8c6017([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8c6017([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b9927(){const _0x3ef5c5=[_0x8c6017([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8c6017([0x74,0x72,0x69,0x61,0x6c])][_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cf76c/0x3e8:0xe10*_0x1821bc;return _0x521aa0[_0x8c6017([0x65,0x78,0x70])]<_0x3ef5c5;}function _0x146b09(){const _0x2267b3=_0x521aa0[_0x8c6017([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2267b3&&(!!_0x2267b3[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c6017([0x2a]))||!!_0x2267b3[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c6017([0x55,0x50,0x4c,0x43])));}function _0x2d2bc0(){const _0x2ff729=_0x2823,_0x5df096=_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5df096||0x0==_0x5df096[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c8ce3}=new URL(window[_0x8c6017([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ff729(0x1da)]);if(_0x5df096[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8ce3))return!0x0;const _0x150b07=_0x4c8ce3[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e]));return _0x5df096[_0x8c6017([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4becfd=>_0x4becfd[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c6017([0x2a])))[_0x8c6017([0x6d,0x61,0x70])](_0x103f78=>_0x103f78[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e])))[_0x8c6017([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51a50c=>_0x51a50c[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x150b07[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8c6017([0x6d,0x61,0x70])](_0x3a7f24=>Array(_0x150b07[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a7f24[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8c6017([0x66,0x69,0x6c,0x6c])](_0x3a7f24[0x0]===_0x8c6017([0x2a])?_0x8c6017([0x2a]):'')[_0x8c6017([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a7f24))[_0x8c6017([0x73,0x6f,0x6d,0x65])](_0x3d3473=>_0x150b07[_0x8c6017([0x65,0x76,0x65,0x72,0x79])]((_0x3e3898,_0x189cac)=>_0x3d3473[_0x189cac]===_0x3e3898||_0x3d3473[_0x189cac]===_0x8c6017([0x2a])));}function _0x2b4364(){return _0x464a81&&_0x57db1e?new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cbb38,_0x39aa8b)=>{_0x464a81[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x1cbb38,_0x39aa8b),_0x57db1e[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x3e5607=>{_0x3e5607!=_0x8c6017([0x56,0x61,0x6c,0x69,0x64])&&_0x1cbb38(_0x3e5607);},_0x39aa8b);}):_0x464a81||_0x57db1e||_0x8c6017([0x56,0x61,0x6c,0x69,0x64]);}}function _0x257053(_0x444697,_0x52dafa){return new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216e8d=>{if(_0xd8e7c5())return _0x216e8d(_0x8c6017([0x56,0x61,0x6c,0x69,0x64]));_0x58dbb3(),_0x14e27a[_0x8c6017([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8c6017([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x297818=!0x1;const _0x9ad758=_0x24d462();function _0x25300f(_0x51980c){return!!_0x51980c&&(typeof _0x51980c===_0x8c6017([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51980c===_0x8c6017([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51980c[_0x8c6017([0x74,0x68,0x65,0x6e])]===_0x8c6017([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51980c[_0x8c6017([0x63,0x61,0x74,0x63,0x68])]===_0x8c6017([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f5a1e(_0x2bdfd8){_0x4655e0(_0x2bdfd8)[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x30295e=>{if(!_0x30295e||_0x30295e[_0x8c6017([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8c6017([0x6f,0x6b]))return _0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x381bf6(_0x462099(_0x9ad758+_0x52dafa))!=_0x30295e[_0x8c6017([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8c6017([0x56,0x61,0x6c,0x69,0x64]);})[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x4d716f=>(_0x28e0da(),_0x4d716f),()=>{const _0x5cec16=_0x500396();return null==_0x5cec16?(_0x28e0da(),_0x8c6017([0x56,0x61,0x6c,0x69,0x64])):_0x8c6017(_0x4cf76c-_0x5cec16>(0x27d454df^_0x2645c2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x216e8d)[_0x8c6017([0x63,0x61,0x74,0x63,0x68])](()=>{_0x216e8d(_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x177431=0x3ee3e5f^_0x2645c2;function _0x28e0da(){const _0x3d4890=_0x8c6017([0x6c,0x6c,0x63,0x74,0x2d])+_0x381bf6(_0x462099(_0x444697)),_0x89b1e8=_0x255a83(_0x381bf6(window[_0x8c6017([0x4d,0x61,0x74,0x68])][_0x8c6017([0x63,0x65,0x69,0x6c])](_0x4cf76c/_0x177431)));window[_0x8c6017([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8c6017([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d4890,_0x89b1e8);}function _0x500396(){const _0x3d1a9b=_0x8c6017([0x6c,0x6c,0x63,0x74,0x2d])+_0x381bf6(_0x462099(_0x444697)),_0x57f2ba=window[_0x8c6017([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8c6017([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d1a9b);return _0x57f2ba?window[_0x8c6017([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x255a83(_0x57f2ba),0x10)*_0x177431:null;}function _0x4655e0(_0xb5d07){return new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x261fe6,_0x4728c6)=>{_0xb5d07[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x261fe6,_0x4728c6),window[_0x8c6017([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4728c6,0x3d9041f^_0x2645c2);});}}_0x14e27a[_0x8c6017([0x6f,0x6e])](_0x8c6017([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1723c5,_0x4861a1)=>{if(_0x4861a1[0x0]!=_0x444697)return _0x216e8d(_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4861a1[0x1]={..._0x4861a1[0x1],[_0x8c6017([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9ad758};},{[_0x8c6017([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8c6017([0x68,0x69,0x67,0x68])}),_0x14e27a[_0x8c6017([0x6f,0x6e])](_0x8c6017([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34bdcf=>{_0x25300f(_0x34bdcf[_0x8c6017([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x297818=!0x0,_0x2f5a1e(_0x34bdcf[_0x8c6017([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8c6017([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8c6017([0x6c,0x6f,0x77])}),_0x44f2be[_0x8c6017([0x74,0x68,0x65,0x6e])](()=>{_0x297818||_0x216e8d(_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd8e7c5(){return _0x14e27a[_0x8c6017([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8c6017([0x76,0x69,0x65,0x77])][_0x8c6017([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8c6017([0x61,0x75,0x74,0x6f]);}function _0x58dbb3(){_0x14e27a[_0x8c6017([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8c6017([0x76,0x69,0x65,0x77])][_0x8c6017([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8c6017([0x61,0x75,0x74,0x6f]);}}function _0x3dabb1(_0x58b734){const _0x178989=[new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe5acf=>setTimeout(_0xbe5acf,0x3d1ee13^_0x2645c2)),_0x44f2be[_0x8c6017([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487064=>{let _0x318a85=0x0;_0x14e27a[_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c6017([0x6f,0x6e])](_0x8c6017([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x251820,_0x23af51)=>{_0x23af51[0x0][_0x8c6017([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x318a85++,_0x318a85==(0x3d8d127^_0x2645c2)&&(_0x487064(),_0x251820[_0x8c6017([0x6f,0x66,0x66])]());});}))];return window[_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8c6017([0x72,0x61,0x63,0x65])](_0x178989)[_0x8c6017([0x74,0x68,0x65,0x6e])](()=>_0x58b734);}async function _0x4fdeaf(){await _0x44f2be,_0x14e27a[_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c6017([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d5920,_0x14e27a[_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c6017([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d5920,_0x14e27a[_0x8c6017([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46c317(_0x33c7db){const _0x4a11fd=_0x55b48a();_0x14e27a[_0x4a11fd]=_0x8c6017([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33c7db,_0x33c7db!=_0x8c6017([0x56,0x61,0x6c,0x69,0x64])&&_0x4fdeaf();}function _0x55b48a(){const _0x295c33=window[_0x8c6017([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8c6017([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8c6017([0x6e,0x6f,0x77])]())[_0x8c6017([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8c6017([0x2e]),'');let _0xfb788a=_0x8c6017([0x52]);for(let _0x447fc6=0x0;_0x447fc6<_0x295c33[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x447fc6+=0x2){let _0x408208=window[_0x8c6017([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x295c33[_0x8c6017([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x447fc6,_0x447fc6+0x2));_0x408208>=_0x5e6852[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x408208-=_0x5e6852[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfb788a+=_0x5e6852[_0x408208];}return _0xfb788a;}function _0x18b378(){const _0x3d0e5f=_0x4ee010[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e]));if(0x3!=_0x3d0e5f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5caaca(_0x3d0e5f[0x1]);function _0x5caaca(_0x282430){const _0x4c3d38=_0x2c3baa(_0x282430);return _0x4c3d38&&_0x4238df()?_0x4c3d38:null;function _0x4238df(){const _0x5dfb6f=_0x4c3d38[_0x8c6017([0x6a,0x74,0x69])],_0x1cbe45=window[_0x8c6017([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dfb6f[_0x8c6017([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dfb6f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x318fd5={..._0x4c3d38,[_0x8c6017([0x6a,0x74,0x69])]:_0x5dfb6f[_0x8c6017([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dfb6f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x318fd5[_0x8c6017([0x76,0x63])],_0x462099(_0x318fd5)==_0x1cbe45;}}}async function _0x45e828(){let _0x28553a=!0x0;try{const _0xd7b695=_0x4ee010[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e])),[_0x79b0a2,_0x4cb242,_0x2df9fa]=_0xd7b695;return _0x57cecd(_0x79b0a2),await _0xdc5d92(_0x79b0a2,_0x4cb242,_0x2df9fa),_0x28553a;}catch{return!0x1;}function _0x57cecd(_0x2304c0){const _0x373245=_0x2c3baa(_0x2304c0);_0x373245&&_0x373245[_0x8c6017([0x61,0x6c,0x67])]==_0x8c6017([0x45,0x53,0x32,0x35,0x36])||(_0x28553a=!0x1);}async function _0xdc5d92(_0x54878b,_0x45b7b7,_0x4c2d6c){const _0x81f0c8=window[_0x8c6017([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8c6017([0x66,0x72,0x6f,0x6d])](_0x2a9bd3(_0x4c2d6c),_0x47b861=>_0x47b861[_0x8c6017([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cbe1b=new window[(_0x8c6017([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8c6017([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54878b+_0x8c6017([0x2e])+_0x45b7b7),_0x126bc3=window[_0x8c6017([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8c6017([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x126bc3)return;const _0x3c99ab=await _0x126bc3[_0x8c6017([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8c6017([0x6a,0x77,0x6b]),_0x314f46,{[_0x8c6017([0x6e,0x61,0x6d,0x65])]:_0x8c6017([0x45,0x43,0x44,0x53,0x41]),[_0x8c6017([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8c6017([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8c6017([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x126bc3[_0x8c6017([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8c6017([0x6e,0x61,0x6d,0x65])]:_0x8c6017([0x45,0x43,0x44,0x53,0x41]),[_0x8c6017([0x68,0x61,0x73,0x68])]:{[_0x8c6017([0x6e,0x61,0x6d,0x65])]:_0x8c6017([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c99ab,_0x81f0c8,_0x3cbe1b)||(_0x28553a=!0x1);}}function _0x2c3baa(_0x4edfe4){return _0x4edfe4[_0x8c6017([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8c6017([0x65,0x79]))?JSON[_0x8c6017([0x70,0x61,0x72,0x73,0x65])](_0x2a9bd3(_0x4edfe4)):null;}function _0x2a9bd3(_0x32f5df){return window[_0x8c6017([0x61,0x74,0x6f,0x62])](_0x32f5df[_0x8c6017([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8c6017([0x2b]))[_0x8c6017([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8c6017([0x2f])));}function _0x462099(_0x38ec6a){let _0x111a1d=0x1505;function _0x332399(_0x2c064f){for(let _0x2b1500=0x0;_0x2b1500<_0x2c064f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b1500++){const _0x258671=_0x2c064f[_0x8c6017([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b1500);_0x111a1d=(_0x111a1d<<0x5)+_0x111a1d+_0x258671,_0x111a1d&=_0x111a1d;}}function _0x4c5018(_0x3cdbb4){Array[_0x8c6017([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cdbb4)?_0x3cdbb4[_0x8c6017([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c5018):_0x3cdbb4&&typeof _0x3cdbb4==_0x8c6017([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8c6017([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cdbb4)[_0x8c6017([0x73,0x6f,0x72,0x74])]()[_0x8c6017([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x415922,_0x386f9b])=>{_0x332399(_0x415922),_0x4c5018(_0x386f9b);}):_0x332399(window[_0x8c6017([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cdbb4));}return _0x4c5018(_0x38ec6a),_0x111a1d>>>0x0;}function _0x381bf6(_0x2c8b97){return _0x2c8b97[_0x8c6017([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8c6017([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8c6017([0x30]));}function _0x255a83(_0x3e49b5){return _0x3e49b5[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8c6017([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8c6017([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d5920(){}function _0x8c6017(_0x4f6984){const _0x599c4a=_0x2823;return _0x4f6984[_0x599c4a(0x1b0)](_0x24f122=>String[_0x599c4a(0x1bf)](_0x24f122))[_0x599c4a(0x1ce)]('');}_0x46c317(await _0x125fde());}(this);}[_0x352743(0x19e)](){const _0x1af1f7=_0x352743,_0x596e54=this[_0x1af1f7(0x1cb)][_0x1af1f7(0x1a9)][_0x1af1f7(0x1b5)];_0x596e54[_0x1af1f7(0x1b8)](_0x1af1f7(0x1cd))&&_0x596e54[_0x1af1f7(0x1c4)](_0x1af1f7(0x1cd),{'allowAttributes':[_0x1af1f7(0x1c5)]}),_0x596e54[_0x1af1f7(0x1b8)](_0x1af1f7(0x1db))&&_0x596e54[_0x1af1f7(0x1c4)](_0x1af1f7(0x1db),{'allowAttributes':[_0x1af1f7(0x1c5)]});}[_0x352743(0x1c8)](){const _0x187c38=_0x352743,_0x3cb02b=this[_0x187c38(0x1cb)];_0x3cb02b[_0x187c38(0x1c6)][_0x187c38(0x1a0)](_0x187c38(0x1b9))[_0x187c38(0x1a2)]({'model':_0x187c38(0x1c5),'view':_0x187c38(0x1d4)}),_0x3cb02b[_0x187c38(0x1c6)][_0x187c38(0x1a0)](_0x187c38(0x1d3))[_0x187c38(0x1c3)]({'model':{'key':_0x187c38(0x1c5),'value':_0x5619ca=>_0x5619ca[_0x187c38(0x18d)](_0x187c38(0x1d4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xa6535c=_0x3cb02b[_0x187c38(0x1af)][_0x187c38(0x194)](_0x187c38(0x1a5));_0xa6535c&&this[_0x187c38(0x1d8)](_0xa6535c,_0x187c38(0x1b4),(_0x27ebf3,[_0x137bed,_0x4697f1])=>{const _0x5e2ece=_0x187c38;_0x137bed[_0x5e2ece(0x18e)](_0x5e2ece(0x1c5),_0x4697f1);});}[_0x352743(0x1ba)](){const _0x2dff63=_0x352743,_0x27f2e3=this[_0x2dff63(0x1cb)][_0x2dff63(0x1d5)][_0x2dff63(0x194)](_0x2dff63(0x196))||{},_0x5b20cb=this[_0x2dff63(0x1cb)][_0x2dff63(0x1d5)][_0x2dff63(0x194)](_0x2dff63(0x18c))||'';this[_0x2dff63(0x19b)]=_0x4f0d49(_0x1d6f82[_0x2dff63(0x1b7)],_0x2dff63(0x1ac),{..._0x27f2e3,'pubkey':_0x5b20cb,'ctx-name':_0x2dff63(0x1aa)+this[_0x2dff63(0x1b1)],'sourceList':'','imgOnly':_0x2dff63(0x1c7),'removeCopyright':_0x2dff63(0x1c7),'localeName':this[_0x2dff63(0x1cb)][_0x2dff63(0x1cc)][_0x2dff63(0x1a1)],'externalSourcesEmbedCss':_0x2dff63(0x1d1)}),this[_0x2dff63(0x19b)][_0x2dff63(0x19d)]=_0x453866=>{const _0x2b70ea=_0x2dff63;if(_0x2b70ea(0x1d9)==_0x453866)return _0x2b70ea(0x1a8);},_0x1d6f82[_0x2dff63(0x1b7)][_0x2dff63(0x1ae)][_0x2dff63(0x1d6)](this[_0x2dff63(0x19b)]);}[_0x352743(0x1bc)](){const _0x5d2c8d=_0x352743;this[_0x5d2c8d(0x1ad)]=_0x4f0d49(_0x1d6f82[_0x5d2c8d(0x1b7)],_0x5d2c8d(0x1a3),{'ctx-name':_0x5d2c8d(0x1aa)+this[_0x5d2c8d(0x1b1)]}),_0x1d6f82[_0x5d2c8d(0x1b7)][_0x5d2c8d(0x1ae)][_0x5d2c8d(0x1d6)](this[_0x5d2c8d(0x1ad)]);}[_0x352743(0x19a)](){const _0x3b2ce5=_0x352743,_0x4463e2=this[_0x3b2ce5(0x1cb)][_0x3b2ce5(0x1af)][_0x3b2ce5(0x194)](_0x3b2ce5(0x1bb));_0x4463e2&&this[_0x3b2ce5(0x1d8)](_0x4463e2,_0x3b2ce5(0x1be),()=>{const _0x1c1927=_0x3b2ce5,_0x418a38=this[_0x1c1927(0x1cb)][_0x1c1927(0x1a9)][_0x1c1927(0x1b7)][_0x1c1927(0x1ca)][_0x1c1927(0x1b6)]();_0x418a38&&_0x418a38[_0x1c1927(0x18d)](_0x1c1927(0x1c5))&&this[_0x1c1927(0x1cb)][_0x1c1927(0x19c)][_0x1c1927(0x1a4)][_0x1c1927(0x1c0)](_0x1c1927(0x1d2),()=>{const _0x267a85=_0x1c1927;_0x403854(this[_0x267a85(0x1cb)],_0x418a38);});});const _0xd496cf=this[_0x3b2ce5(0x1cb)][_0x3b2ce5(0x1af)][_0x3b2ce5(0x194)](_0x3b2ce5(0x1c9));_0xd496cf&&this[_0x3b2ce5(0x1d8)](_0xd496cf,_0x3b2ce5(0x1be),()=>{const _0x2720a8=_0x3b2ce5,_0x5c1ccc=this[_0x2720a8(0x1cb)][_0x2720a8(0x1a9)][_0x2720a8(0x1b7)][_0x2720a8(0x1ca)][_0x2720a8(0x1b6)]();_0x5c1ccc&&_0x5c1ccc[_0x2720a8(0x18d)](_0x2720a8(0x1c5))&&this[_0x2720a8(0x1cb)][_0x2720a8(0x19c)][_0x2720a8(0x1a4)][_0x2720a8(0x1c0)](_0x2720a8(0x1d2),()=>{const _0x2ee25d=_0x2720a8;_0x403854(this[_0x2ee25d(0x1cb)],_0x5c1ccc);});});}}
23
+ const _0x23d990=_0x19db;(function(_0x269c3f,_0x13c33f){const _0x22801e=_0x19db,_0x8038f3=_0x269c3f();while(!![]){try{const _0x4e240b=parseInt(_0x22801e(0xc4))/0x1+-parseInt(_0x22801e(0xbe))/0x2+-parseInt(_0x22801e(0xba))/0x3+-parseInt(_0x22801e(0xb7))/0x4*(-parseInt(_0x22801e(0xcb))/0x5)+parseInt(_0x22801e(0xc2))/0x6*(-parseInt(_0x22801e(0xc5))/0x7)+-parseInt(_0x22801e(0xc9))/0x8+-parseInt(_0x22801e(0xe8))/0x9*(-parseInt(_0x22801e(0xea))/0xa);if(_0x4e240b===_0x13c33f)break;else _0x8038f3['push'](_0x8038f3['shift']());}catch(_0x53d211){_0x8038f3['push'](_0x8038f3['shift']());}}}(_0x1b31,0x7b975));import{Plugin as _0x233856}from'ckeditor5/src/core.js';function _0x1b31(){const _0x3bb6dc=['_ctxElement','iconHrefResolver','init','appendChild','_initConversion','550060nZhdih','replaceImageSource','true','556821AQxAWR','querySelector','uploadcareImageReplace','document','951130kwByDo','isPremiumPlugin','config','imageInline','186wJKmiS','extend','919574pBTtTS','87619RJcebx','fromCharCode','uploader-','getAttribute','1806480scJVsj','isOfficialPlugin','5XjNEOM','ctxElement','body','render','ucContextId','view','downcast','href','get','uploadcareImageId','join','configElement','isRegistered','uploadcare.uploader','data-uc-image-id','commands','model','map','_initCtx','remove','imageBlock','locale','uploadcare','getSelectedElement','\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','afterInit','for','contentLanguage','uploadcare.pubkey','383373SDgfmI','destroy','170DSryad','selection','pluginName','uc-upload-ctx-provider','removeAttribute','schema','_initSchema','editor','cleanupImage','attributeToAttribute','input[uploadcare-file-input]','editing','elementToAttribute','UploadcareEditing','_initImageProcessingIndicator','listenTo','#uc-icon-arrow-down','upcast','add','_initConfig','conversion','execute','insertImage','uc-config','closeMax','PictureEditing','_configElement','once','requires'];_0x1b31=function(){return _0x3bb6dc;};return _0x1b31();}import{Dialog as _0x355f12}from'ckeditor5/src/ui.js';import{createElement as _0x5530c4,global as _0xb4801,uid as _0x401052}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xf3a099}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x346556}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x199263}from'./utils/editingutils.js';function _0x19db(_0x243079,_0x18a02c){const _0x1b31a5=_0x1b31();return _0x19db=function(_0x19dbd6,_0x34e482){_0x19dbd6=_0x19dbd6-0xa1;let _0x36983b=_0x1b31a5[_0x19dbd6];return _0x36983b;},_0x19db(_0x243079,_0x18a02c);}export class UploadcareEditing extends _0x233856{[_0x23d990(0xaf)]=null;[_0x23d990(0xb2)]=null;static get[_0x23d990(0xec)](){const _0x190d8c=_0x23d990;return _0x190d8c(0xa2);}static get[_0x23d990(0xb1)](){const _0x56c451=_0x23d990;return[_0x56c451(0xae),_0x346556,_0x355f12];}static get[_0x23d990(0xca)](){return!0x0;}static get[_0x23d990(0xbf)](){return!0x0;}[_0x23d990(0xcf)];get[_0x23d990(0xd6)](){const _0x1e90cd=_0x23d990;return this[_0x1e90cd(0xaf)];}get[_0x23d990(0xcc)](){const _0x50cad7=_0x23d990;return this[_0x50cad7(0xb2)];}constructor(_0x59357f){const _0x349da2=_0x23d990;super(_0x59357f),this[_0x349da2(0xcf)]=_0x401052();}[_0x23d990(0xb4)](){const _0x358d7b=_0x23d990,_0x767195=this[_0x358d7b(0xf1)];_0x767195[_0x358d7b(0xda)][_0x358d7b(0xa7)](_0x358d7b(0xe1),new _0xf3a099(_0x767195));}[_0x23d990(0xe4)](){const _0x3ff51f=_0x23d990;this[_0x3ff51f(0xf0)](),this[_0x3ff51f(0xb6)](),this[_0x3ff51f(0xa8)](),this[_0x3ff51f(0xdd)](),this[_0x3ff51f(0xa3)](),this[_0x3ff51f(0xa4)](this[_0x3ff51f(0xf1)],_0x3ff51f(0xe9),()=>{const _0x5ac419=_0x3ff51f;this[_0x5ac419(0xaf)]&&(this[_0x5ac419(0xaf)][_0x5ac419(0xde)](),this[_0x5ac419(0xaf)]=null),this[_0x5ac419(0xb2)]&&(this[_0x5ac419(0xb2)][_0x5ac419(0xde)](),this[_0x5ac419(0xb2)]=null);const _0x25c207=_0xb4801[_0x5ac419(0xbd)][_0x5ac419(0xbb)](_0x5ac419(0xf4));_0x25c207&&_0x25c207[_0x5ac419(0xde)]();}),async function(_0x118b1a){const _0x50a7ef=_0x5bad13([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2010a9=0x3d8d0df,_0x3eacd5=0x3dfa177^_0x2010a9,_0x388908=window[_0x5bad13([0x44,0x61,0x74,0x65])][_0x5bad13([0x6e,0x6f,0x77])](),_0x18f8d2=_0x118b1a[_0x5bad13([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x188e67=new window[(_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27f1f9=>{_0x18f8d2[_0x5bad13([0x6f,0x6e,0x63,0x65])](_0x5bad13([0x72,0x65,0x61,0x64,0x79]),_0x27f1f9);}),_0x3b2e1d={[_0x5bad13([0x6b,0x74,0x79])]:_0x5bad13([0x45,0x43]),[_0x5bad13([0x75,0x73,0x65])]:_0x5bad13([0x73,0x69,0x67]),[_0x5bad13([0x63,0x72,0x76])]:_0x5bad13([0x50,0x2d,0x32,0x35,0x36]),[_0x5bad13([0x78])]:_0x5bad13([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]),[_0x5bad13([0x79])]:_0x5bad13([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]),[_0x5bad13([0x61,0x6c,0x67])]:_0x5bad13([0x45,0x53,0x32,0x35,0x36])},_0x5c79e7=_0x18f8d2[_0x5bad13([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5bad13([0x67,0x65,0x74])](_0x5bad13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x369e49(){let _0x5a5750,_0x2d7e52=null,_0x4e99b4=null;try{if(_0x5c79e7==_0x5bad13([0x47,0x50,0x4c]))return _0x5bad13([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a5750=_0x547e7b(),!_0x5a5750)return _0x5bad13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a5750[_0x5bad13([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e99b4=_0x4e31ee(_0x5a5750[_0x5bad13([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a5750[_0x5bad13([0x6a,0x74,0x69])])),await _0x46cc15()?_0x19454f()?_0x5140f3()?_0x5bad13([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35da6b()?(_0x5a5750[_0x5bad13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bad13([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2d7e52=_0x396f8d(_0x5bad13([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a5750[_0x5bad13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5bad13([0x74,0x72,0x69,0x61,0x6c])&&(_0x2d7e52=_0x396f8d(_0x5bad13([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbe3683()):_0x5bad13([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5bad13([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5bad13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5bad13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5140f3(){const _0xccc986=[_0x5bad13([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5bad13([0x74,0x72,0x69,0x61,0x6c])][_0x5bad13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5750[_0x5bad13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x388908/0x3e8:0xe10*_0x3eacd5;return _0x5a5750[_0x5bad13([0x65,0x78,0x70])]<_0xccc986;}function _0x19454f(){const _0x9b32ed=_0x5a5750[_0x5bad13([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9b32ed&&(!!_0x9b32ed[_0x5bad13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bad13([0x2a]))||!!_0x9b32ed[_0x5bad13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bad13([0x55,0x50,0x4c,0x43])));}function _0x35da6b(){const _0x39b2f4=_0x19db,_0x491fa3=_0x5a5750[_0x5bad13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x491fa3||0x0==_0x491fa3[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c4f3f}=new URL(window[_0x5bad13([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39b2f4(0xd2)]);if(_0x491fa3[_0x5bad13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c4f3f))return!0x0;const _0x3a2c5b=_0x4c4f3f[_0x5bad13([0x73,0x70,0x6c,0x69,0x74])](_0x5bad13([0x2e]));return _0x491fa3[_0x5bad13([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14e1e2=>_0x14e1e2[_0x5bad13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bad13([0x2a])))[_0x5bad13([0x6d,0x61,0x70])](_0x10e332=>_0x10e332[_0x5bad13([0x73,0x70,0x6c,0x69,0x74])](_0x5bad13([0x2e])))[_0x5bad13([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x73f3fe=>_0x73f3fe[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a2c5b[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bad13([0x6d,0x61,0x70])](_0x5961df=>Array(_0x3a2c5b[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5961df[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5bad13([0x66,0x69,0x6c,0x6c])](_0x5961df[0x0]===_0x5bad13([0x2a])?_0x5bad13([0x2a]):'')[_0x5bad13([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5961df))[_0x5bad13([0x73,0x6f,0x6d,0x65])](_0x5f2526=>_0x3a2c5b[_0x5bad13([0x65,0x76,0x65,0x72,0x79])]((_0xbeef09,_0x3372ee)=>_0x5f2526[_0x3372ee]===_0xbeef09||_0x5f2526[_0x3372ee]===_0x5bad13([0x2a])));}function _0xbe3683(){return _0x2d7e52&&_0x4e99b4?new window[(_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34f538,_0x1d6343)=>{_0x2d7e52[_0x5bad13([0x74,0x68,0x65,0x6e])](_0x34f538,_0x1d6343),_0x4e99b4[_0x5bad13([0x74,0x68,0x65,0x6e])](_0x4f83d6=>{_0x4f83d6!=_0x5bad13([0x56,0x61,0x6c,0x69,0x64])&&_0x34f538(_0x4f83d6);},_0x1d6343);}):_0x2d7e52||_0x4e99b4||_0x5bad13([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e31ee(_0x16f601,_0x1f9422){return new window[(_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52ebd7=>{if(_0x21f4f7())return _0x52ebd7(_0x5bad13([0x56,0x61,0x6c,0x69,0x64]));_0x2a922a(),_0x18f8d2[_0x5bad13([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5bad13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b8a63=!0x1;const _0x3e446e=_0x401052();function _0xb82e44(_0x2765c1){return!!_0x2765c1&&(typeof _0x2765c1===_0x5bad13([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2765c1===_0x5bad13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2765c1[_0x5bad13([0x74,0x68,0x65,0x6e])]===_0x5bad13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2765c1[_0x5bad13([0x63,0x61,0x74,0x63,0x68])]===_0x5bad13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x575c5b(_0x4e7e64){_0x77d792(_0x4e7e64)[_0x5bad13([0x74,0x68,0x65,0x6e])](_0x50f8b4=>{if(!_0x50f8b4||_0x50f8b4[_0x5bad13([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5bad13([0x6f,0x6b]))return _0x5bad13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cfba7(_0x136db7(_0x3e446e+_0x1f9422))!=_0x50f8b4[_0x5bad13([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5bad13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5bad13([0x56,0x61,0x6c,0x69,0x64]);})[_0x5bad13([0x74,0x68,0x65,0x6e])](_0x4fc9ce=>(_0xaf338f(),_0x4fc9ce),()=>{const _0x4b5275=_0x40a252();return null==_0x4b5275?(_0xaf338f(),_0x5bad13([0x56,0x61,0x6c,0x69,0x64])):_0x5bad13(_0x388908-_0x4b5275>(0x27d454df^_0x2010a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5bad13([0x74,0x68,0x65,0x6e])](_0x52ebd7)[_0x5bad13([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52ebd7(_0x5bad13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c12ea=0x3ee3e5f^_0x2010a9;function _0xaf338f(){const _0x135e2c=_0x5bad13([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cfba7(_0x136db7(_0x16f601)),_0x23035c=_0x431113(_0x2cfba7(window[_0x5bad13([0x4d,0x61,0x74,0x68])][_0x5bad13([0x63,0x65,0x69,0x6c])](_0x388908/_0x2c12ea)));window[_0x5bad13([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bad13([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x135e2c,_0x23035c);}function _0x40a252(){const _0x61fadf=_0x5bad13([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cfba7(_0x136db7(_0x16f601)),_0x259250=window[_0x5bad13([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5bad13([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x61fadf);return _0x259250?window[_0x5bad13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x431113(_0x259250),0x10)*_0x2c12ea:null;}function _0x77d792(_0x4a6df1){return new window[(_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3adcb2,_0x553031)=>{_0x4a6df1[_0x5bad13([0x74,0x68,0x65,0x6e])](_0x3adcb2,_0x553031),window[_0x5bad13([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x553031,0x3d9041f^_0x2010a9);});}}_0x18f8d2[_0x5bad13([0x6f,0x6e])](_0x5bad13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x153a75,_0x5f4956)=>{if(_0x5f4956[0x0]!=_0x16f601)return _0x52ebd7(_0x5bad13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f4956[0x1]={..._0x5f4956[0x1],[_0x5bad13([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e446e};},{[_0x5bad13([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bad13([0x68,0x69,0x67,0x68])}),_0x18f8d2[_0x5bad13([0x6f,0x6e])](_0x5bad13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6a96ee=>{_0xb82e44(_0x6a96ee[_0x5bad13([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b8a63=!0x0,_0x575c5b(_0x6a96ee[_0x5bad13([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5bad13([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5bad13([0x6c,0x6f,0x77])}),_0x188e67[_0x5bad13([0x74,0x68,0x65,0x6e])](()=>{_0x5b8a63||_0x52ebd7(_0x5bad13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21f4f7(){return _0x18f8d2[_0x5bad13([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bad13([0x76,0x69,0x65,0x77])][_0x5bad13([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5bad13([0x61,0x75,0x74,0x6f]);}function _0x2a922a(){_0x18f8d2[_0x5bad13([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5bad13([0x76,0x69,0x65,0x77])][_0x5bad13([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5bad13([0x61,0x75,0x74,0x6f]);}}function _0x396f8d(_0x64915a){const _0x4fd034=[new window[(_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a684c=>setTimeout(_0x2a684c,0x3d1ee13^_0x2010a9)),_0x188e67[_0x5bad13([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51c97b=>{let _0x1aafc6=0x0;_0x18f8d2[_0x5bad13([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bad13([0x6f,0x6e])](_0x5bad13([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c50ab,_0x3ee2aa)=>{_0x3ee2aa[0x0][_0x5bad13([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1aafc6++,_0x1aafc6==(0x3d8d127^_0x2010a9)&&(_0x51c97b(),_0x4c50ab[_0x5bad13([0x6f,0x66,0x66])]());});}))];return window[_0x5bad13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5bad13([0x72,0x61,0x63,0x65])](_0x4fd034)[_0x5bad13([0x74,0x68,0x65,0x6e])](()=>_0x64915a);}async function _0x491216(){await _0x188e67,_0x18f8d2[_0x5bad13([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bad13([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14350c,_0x18f8d2[_0x5bad13([0x6d,0x6f,0x64,0x65,0x6c])][_0x5bad13([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14350c,_0x18f8d2[_0x5bad13([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5bad13([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d9a01(_0x2d5b8c){const _0x162d56=_0x1a014d();_0x18f8d2[_0x162d56]=_0x5bad13([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d5b8c,_0x2d5b8c!=_0x5bad13([0x56,0x61,0x6c,0x69,0x64])&&_0x491216();}function _0x1a014d(){const _0x5adb25=window[_0x5bad13([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5bad13([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5bad13([0x6e,0x6f,0x77])]())[_0x5bad13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5bad13([0x2e]),'');let _0x1ad91a=_0x5bad13([0x52]);for(let _0x506161=0x0;_0x506161<_0x5adb25[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x506161+=0x2){let _0x291d03=window[_0x5bad13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5adb25[_0x5bad13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x506161,_0x506161+0x2));_0x291d03>=_0x50a7ef[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x291d03-=_0x50a7ef[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ad91a+=_0x50a7ef[_0x291d03];}return _0x1ad91a;}function _0x547e7b(){const _0x5d77a3=_0x5c79e7[_0x5bad13([0x73,0x70,0x6c,0x69,0x74])](_0x5bad13([0x2e]));if(0x3!=_0x5d77a3[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54ce03(_0x5d77a3[0x1]);function _0x54ce03(_0x42c631){const _0x434921=_0x5ce7b7(_0x42c631);return _0x434921&&_0x1150b4()?_0x434921:null;function _0x1150b4(){const _0x53959e=_0x434921[_0x5bad13([0x6a,0x74,0x69])],_0x2f61bc=window[_0x5bad13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53959e[_0x5bad13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53959e[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x675440={..._0x434921,[_0x5bad13([0x6a,0x74,0x69])]:_0x53959e[_0x5bad13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53959e[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x675440[_0x5bad13([0x76,0x63])],_0x136db7(_0x675440)==_0x2f61bc;}}}async function _0x46cc15(){let _0x275027=!0x0;try{const _0x23d5d5=_0x5c79e7[_0x5bad13([0x73,0x70,0x6c,0x69,0x74])](_0x5bad13([0x2e])),[_0x498420,_0x552a82,_0x295db4]=_0x23d5d5;return _0x1df004(_0x498420),await _0x3178f7(_0x498420,_0x552a82,_0x295db4),_0x275027;}catch{return!0x1;}function _0x1df004(_0x5c0aff){const _0x40adcf=_0x5ce7b7(_0x5c0aff);_0x40adcf&&_0x40adcf[_0x5bad13([0x61,0x6c,0x67])]==_0x5bad13([0x45,0x53,0x32,0x35,0x36])||(_0x275027=!0x1);}async function _0x3178f7(_0x5a02f5,_0x423281,_0x248a5d){const _0x2185e3=window[_0x5bad13([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5bad13([0x66,0x72,0x6f,0x6d])](_0x5e384a(_0x248a5d),_0x2a4f0d=>_0x2a4f0d[_0x5bad13([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19677b=new window[(_0x5bad13([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5bad13([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a02f5+_0x5bad13([0x2e])+_0x423281),_0x15bec2=window[_0x5bad13([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5bad13([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15bec2)return;const _0x2d47c7=await _0x15bec2[_0x5bad13([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5bad13([0x6a,0x77,0x6b]),_0x3b2e1d,{[_0x5bad13([0x6e,0x61,0x6d,0x65])]:_0x5bad13([0x45,0x43,0x44,0x53,0x41]),[_0x5bad13([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5bad13([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5bad13([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15bec2[_0x5bad13([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5bad13([0x6e,0x61,0x6d,0x65])]:_0x5bad13([0x45,0x43,0x44,0x53,0x41]),[_0x5bad13([0x68,0x61,0x73,0x68])]:{[_0x5bad13([0x6e,0x61,0x6d,0x65])]:_0x5bad13([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2d47c7,_0x2185e3,_0x19677b)||(_0x275027=!0x1);}}function _0x5ce7b7(_0x3c1756){return _0x3c1756[_0x5bad13([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5bad13([0x65,0x79]))?JSON[_0x5bad13([0x70,0x61,0x72,0x73,0x65])](_0x5e384a(_0x3c1756)):null;}function _0x5e384a(_0x7592d5){return window[_0x5bad13([0x61,0x74,0x6f,0x62])](_0x7592d5[_0x5bad13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5bad13([0x2b]))[_0x5bad13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5bad13([0x2f])));}function _0x136db7(_0x31fbee){let _0x2a090b=0x1505;function _0x18429f(_0x41b951){for(let _0x295e6d=0x0;_0x295e6d<_0x41b951[_0x5bad13([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x295e6d++){const _0x29cdd2=_0x41b951[_0x5bad13([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x295e6d);_0x2a090b=(_0x2a090b<<0x5)+_0x2a090b+_0x29cdd2,_0x2a090b&=_0x2a090b;}}function _0x459684(_0x50b031){Array[_0x5bad13([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50b031)?_0x50b031[_0x5bad13([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x459684):_0x50b031&&typeof _0x50b031==_0x5bad13([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5bad13([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50b031)[_0x5bad13([0x73,0x6f,0x72,0x74])]()[_0x5bad13([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7b0b1f,_0x2df0a1])=>{_0x18429f(_0x7b0b1f),_0x459684(_0x2df0a1);}):_0x18429f(window[_0x5bad13([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50b031));}return _0x459684(_0x31fbee),_0x2a090b>>>0x0;}function _0x2cfba7(_0x110a4f){return _0x110a4f[_0x5bad13([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5bad13([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5bad13([0x30]));}function _0x431113(_0x24ec85){return _0x24ec85[_0x5bad13([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5bad13([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5bad13([0x6a,0x6f,0x69,0x6e])]('');}function _0x14350c(){}function _0x5bad13(_0x3d345e){const _0x2df042=_0x19db;return _0x3d345e[_0x2df042(0xdc)](_0xf4888f=>String[_0x2df042(0xc6)](_0xf4888f))[_0x2df042(0xd5)]('');}_0x3d9a01(await _0x369e49());}(this);}[_0x23d990(0xf0)](){const _0x34596f=_0x23d990,_0x37ac1c=this[_0x34596f(0xf1)][_0x34596f(0xdb)][_0x34596f(0xef)];_0x37ac1c[_0x34596f(0xd7)](_0x34596f(0xdf))&&_0x37ac1c[_0x34596f(0xc3)](_0x34596f(0xdf),{'allowAttributes':[_0x34596f(0xd4)]}),_0x37ac1c[_0x34596f(0xd7)](_0x34596f(0xc1))&&_0x37ac1c[_0x34596f(0xc3)](_0x34596f(0xc1),{'allowAttributes':[_0x34596f(0xd4)]});}[_0x23d990(0xb6)](){const _0x53fa2e=_0x23d990,_0x132479=this[_0x53fa2e(0xf1)];_0x132479[_0x53fa2e(0xa9)][_0x53fa2e(0xe5)](_0x53fa2e(0xd1))[_0x53fa2e(0xf3)]({'model':_0x53fa2e(0xd4),'view':_0x53fa2e(0xd9)}),_0x132479[_0x53fa2e(0xa9)][_0x53fa2e(0xe5)](_0x53fa2e(0xa6))[_0x53fa2e(0xa1)]({'model':{'key':_0x53fa2e(0xd4),'value':_0x1271e6=>_0x1271e6[_0x53fa2e(0xc8)](_0x53fa2e(0xd9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3098e7=_0x132479[_0x53fa2e(0xda)][_0x53fa2e(0xd3)](_0x53fa2e(0xb8));_0x3098e7&&this[_0x53fa2e(0xa4)](_0x3098e7,_0x53fa2e(0xf2),(_0x630195,[_0x487d97,_0x310ebb])=>{const _0x18fcd5=_0x53fa2e;_0x487d97[_0x18fcd5(0xee)](_0x18fcd5(0xd4),_0x310ebb);});}[_0x23d990(0xa8)](){const _0x2cb20c=_0x23d990,_0x1deb9a=this[_0x2cb20c(0xf1)][_0x2cb20c(0xc0)][_0x2cb20c(0xd3)](_0x2cb20c(0xd8))||{},_0x2ae067=this[_0x2cb20c(0xf1)][_0x2cb20c(0xc0)][_0x2cb20c(0xd3)](_0x2cb20c(0xe7))||'';this[_0x2cb20c(0xaf)]=_0x5530c4(_0xb4801[_0x2cb20c(0xbd)],_0x2cb20c(0xac),{..._0x1deb9a,'pubkey':_0x2ae067,'ctx-name':_0x2cb20c(0xc7)+this[_0x2cb20c(0xcf)],'sourceList':'','imgOnly':_0x2cb20c(0xb9),'removeCopyright':_0x2cb20c(0xb9),'localeName':this[_0x2cb20c(0xf1)][_0x2cb20c(0xe0)][_0x2cb20c(0xe6)],'externalSourcesEmbedCss':_0x2cb20c(0xe3)}),this[_0x2cb20c(0xaf)][_0x2cb20c(0xb3)]=_0xcc02ab=>{const _0x27159=_0x2cb20c;if(_0x27159(0xad)==_0xcc02ab)return _0x27159(0xa5);},_0xb4801[_0x2cb20c(0xbd)][_0x2cb20c(0xcd)][_0x2cb20c(0xb5)](this[_0x2cb20c(0xaf)]);}[_0x23d990(0xdd)](){const _0x32fd07=_0x23d990;this[_0x32fd07(0xb2)]=_0x5530c4(_0xb4801[_0x32fd07(0xbd)],_0x32fd07(0xed),{'ctx-name':_0x32fd07(0xc7)+this[_0x32fd07(0xcf)]}),_0xb4801[_0x32fd07(0xbd)][_0x32fd07(0xcd)][_0x32fd07(0xb5)](this[_0x32fd07(0xb2)]);}[_0x23d990(0xa3)](){const _0x3e2faf=_0x23d990,_0x15dd29=this[_0x3e2faf(0xf1)][_0x3e2faf(0xda)][_0x3e2faf(0xd3)](_0x3e2faf(0xab));_0x15dd29&&this[_0x3e2faf(0xa4)](_0x15dd29,_0x3e2faf(0xaa),()=>{const _0x4a8f32=_0x3e2faf,_0x4a0b99=this[_0x4a8f32(0xf1)][_0x4a8f32(0xdb)][_0x4a8f32(0xbd)][_0x4a8f32(0xeb)][_0x4a8f32(0xe2)]();_0x4a0b99&&_0x4a0b99[_0x4a8f32(0xc8)](_0x4a8f32(0xd4))&&this[_0x4a8f32(0xf1)][_0x4a8f32(0xf5)][_0x4a8f32(0xd0)][_0x4a8f32(0xb0)](_0x4a8f32(0xce),()=>{const _0x3f74bb=_0x4a8f32;_0x199263(this[_0x3f74bb(0xf1)],_0x4a0b99);});});const _0x143041=this[_0x3e2faf(0xf1)][_0x3e2faf(0xda)][_0x3e2faf(0xd3)](_0x3e2faf(0xbc));_0x143041&&this[_0x3e2faf(0xa4)](_0x143041,_0x3e2faf(0xaa),()=>{const _0x58ac62=_0x3e2faf,_0x3e0661=this[_0x58ac62(0xf1)][_0x58ac62(0xdb)][_0x58ac62(0xbd)][_0x58ac62(0xeb)][_0x58ac62(0xe2)]();_0x3e0661&&_0x3e0661[_0x58ac62(0xc8)](_0x58ac62(0xd4))&&this[_0x58ac62(0xf1)][_0x58ac62(0xf5)][_0x58ac62(0xd0)][_0x58ac62(0xb0)](_0x58ac62(0xce),()=>{const _0x28d0ae=_0x58ac62;_0x199263(this[_0x28d0ae(0xf1)],_0x3e0661);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x18701b,ObservableMixin as _0x467187}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3501bb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x40f347}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5e530b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x27f304}from'../../utils/uploadutils.js';import{getImageUrls as _0x2ff105,getImageDimension as _0x407902}from'../../utils/editingutils.js';import{isAncestor as _0x1045f1}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x467187(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5a740f,_0x4d52b7,_0x148f47){super(),this['_editor']=_0x5a740f,this['_dialog']=_0x4d52b7,this['_imageElement']=_0x148f47,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 _0xea2b88=this['_imageElement'],_0x35bc74=_0xea2b88['getAttribute']('uploadcareImageId'),_0x34cfe9=_0xea2b88['getAttribute']('src');if(_0x35bc74)await this['_loadImageInfo'](_0x35bc74,_0x34cfe9);else{if(this['_imageCache']['has'](_0x34cfe9)){const _0x2509ad=this['_imageCache']['get'](_0x34cfe9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2509ad['url'],this['imageDimension']=_0x2509ad['dimension'],this['imageId']=_0x2509ad['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xd3fb2}=this['_editor'],t=_0xd3fb2['t'],_0x3959c3=new _0x5e530b(_0xd3fb2,this['imageStatus'],this['_attributes']);_0x3959c3['bind']('status')['to'](this,'imageStatus'),_0x3959c3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3959c3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3959c3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3959c3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x40f347,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3959c3,'position':_0x3501bb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3959c3['focus']();},'onHide':()=>{_0x3959c3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4cc0c5=>!_0x1045f1(_0x4cc0c5,_0x3959c3['element'])}});}['_loadImageInfo'](_0x14b365,_0x2d2abb){return _0x27f304['getInfo'](_0x14b365,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x331649=>{const {width:_0x1bfa80,height:_0xd911f8}=_0x331649['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d2abb,this['imageDimension']={'width':_0x1bfa80,'height':_0xd911f8},this['imageId']=_0x14b365;})['catch'](_0x56f67c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56f67c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ab39d,_0x19387f){return this['_getImageAsFile'](_0x2ab39d)['then'](_0x1b0e50=>_0x27f304['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x19387f['signal'],'file':_0x1b0e50,'onProgress':_0x28b33b=>{_0x28b33b&&_0x28b33b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x28b33b['value']));}}))['then'](_0x2a384a=>{const {width:_0x1ceb4e,height:_0x206fe3}=_0x2a384a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a384a['cdnUrl'],this['imageDimension']={'width':_0x1ceb4e,'height':_0x206fe3},this['imageId']=_0x2a384a['uuid'],this['imageUploadProgress']=null;const _0x305104=_0x2ab39d['getAttribute']('src');this['_imageCache']['set'](_0x305104,{'id':_0x2a384a['uuid'],'url':_0x2a384a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5149de=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5149de['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3c4b37,_0x1d48f8){_0x3c4b37['on']('apply',(_0x55d2ae,_0x1c68a5)=>{this['_replaceImage'](_0x1d48f8,_0x1c68a5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3c4b37['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3c4b37['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x331708,_0x3b5727,_0x3b0ade){const _0x99770f=this['_editor'],{width:_0x481c6d,height:_0x21fda8}=_0x407902(_0x3b5727,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xb6b3b2,imageSources:_0x58d6a1}=_0x2ff105(_0x3b5727,_0x481c6d);_0x99770f['model']['change'](_0x15b2e2=>{if('$graveyard'===_0x331708['root']['rootName']){_0x99770f['execute']('insertImage',{'imageType':_0x331708['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x331708['getAttributes']()),'uploadcareImageId':_0x3b0ade,'src':_0xb6b3b2,'sources':_0x58d6a1,'width':_0x481c6d,'height':_0x21fda8}});const _0x1411e3=_0x331708['getChildren']();_0x331708=_0x99770f['model']['document']['selection']['getSelectedElement']();for(const _0x55d69e of _0x1411e3)_0x15b2e2['append'](_0x15b2e2['cloneElement'](_0x55d69e),_0x331708);}else _0x15b2e2['setSelection'](_0x331708,'on'),_0x99770f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x331708['getAttributes']()),'uploadcareImageId':_0x3b0ade,'src':_0xb6b3b2,'sources':_0x58d6a1,'width':_0x481c6d,'height':_0x21fda8},_0x331708);_0x15b2e2['setSelection'](_0x331708,'on');});}async['_getImageAsFile'](_0x3506c1){const _0x4e9c63=_0x18701b['window'],_0x205aca=_0x18701b['document']['location']['href'],_0x333e63=new _0x4e9c63['URL'](_0x3506c1['getAttribute']('src'),_0x205aca);if('data:'===_0x333e63['protocol']){const _0x2474b3=_0x333e63['href']['split'](','),_0x1ad745=_0x2474b3[0x0]['match'](/:(.*?);/)[0x1],_0x2ecd8f=_0x1ad745['split']('/')[0x1],_0x369251=_0x4e9c63['atob'](_0x2474b3[_0x2474b3['length']-0x1]);let _0x2dfb7e=_0x369251['length'];const _0x19ea05=new _0x4e9c63['Uint8Array'](_0x2dfb7e);for(;_0x2dfb7e--;)_0x19ea05[_0x2dfb7e]=_0x369251['charCodeAt'](_0x2dfb7e);return new _0x4e9c63['File']([_0x19ea05],'image.'+_0x2ecd8f,{'type':_0x1ad745});}const _0x1b1ec1=_0x333e63['href']['split']('/'),_0x5ac04b=_0x1b1ec1[_0x1b1ec1['length']-0x1],_0x129f2b=_0x5ac04b['split']('.')[0x1];return _0x4e9c63['fetch'](_0x333e63['href'])['then'](_0x107de0=>_0x107de0['clone']()['blob']())['then'](_0x2c7d83=>new _0x4e9c63['File']([_0x2c7d83],_0x5ac04b,{'type':'image/'+_0x129f2b}));}}
23
+ import{global as _0x3353ce,ObservableMixin as _0x3d6af8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5a33fd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x286ecf}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1a4e4a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x227cb6}from'../../utils/uploadutils.js';import{getImageUrls as _0x160483,getImageDimension as _0x264d48}from'../../utils/editingutils.js';import{isAncestor as _0x3f9071}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3d6af8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x16a217,_0x34a8c5,_0x4e8f27){super(),this['_editor']=_0x16a217,this['_dialog']=_0x34a8c5,this['_imageElement']=_0x4e8f27,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 _0x18c33e=this['_imageElement'],_0x18e7c8=_0x18c33e['getAttribute']('uploadcareImageId'),_0x233ed8=_0x18c33e['getAttribute']('src');if(_0x18e7c8)await this['_loadImageInfo'](_0x18e7c8,_0x233ed8);else{if(this['_imageCache']['has'](_0x233ed8)){const _0x3e4108=this['_imageCache']['get'](_0x233ed8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e4108['url'],this['imageDimension']=_0x3e4108['dimension'],this['imageId']=_0x3e4108['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1dc1b2}=this['_editor'],t=_0x1dc1b2['t'],_0x476d35=new _0x1a4e4a(_0x1dc1b2,this['imageStatus'],this['_attributes']);_0x476d35['bind']('status')['to'](this,'imageStatus'),_0x476d35['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x476d35['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x476d35['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x476d35,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x286ecf,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x476d35,'position':_0x5a33fd['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x476d35['focus']();},'onHide':()=>{_0x476d35['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x59a080=>!_0x3f9071(_0x59a080,_0x476d35['element'])}});}['_loadImageInfo'](_0x360c39,_0x5a4abd){return _0x227cb6['getInfo'](_0x360c39,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x497ecf=>{const {width:_0x3fac92,height:_0xc10e6b}=_0x497ecf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a4abd,this['imageDimension']={'width':_0x3fac92,'height':_0xc10e6b},this['imageId']=_0x360c39;})['catch'](_0x59bdf5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x59bdf5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3c3679,_0x5f0472){return this['_getImageAsFile'](_0x3c3679)['then'](_0x3c5585=>_0x227cb6['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':_0x5f0472['signal'],'file':_0x3c5585,'onProgress':_0x4e7641=>{_0x4e7641&&_0x4e7641['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e7641['value']));}}))['then'](_0x1804f6=>{const {width:_0x20358c,height:_0x641031}=_0x1804f6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1804f6['cdnUrl'],this['imageDimension']={'width':_0x20358c,'height':_0x641031},this['imageId']=_0x1804f6['uuid'],this['imageUploadProgress']=null;const _0xfce27a=_0x3c3679['getAttribute']('src');this['_imageCache']['set'](_0xfce27a,{'id':_0x1804f6['uuid'],'url':_0x1804f6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x424a54=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x424a54['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x409bf7,_0x28aa37){_0x409bf7['on']('apply',(_0x2d5bb1,_0x3fc1a9)=>{this['_replaceImage'](_0x28aa37,_0x3fc1a9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x409bf7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x409bf7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x34d904,_0x281dad,_0x223144){const _0x521d63=this['_editor'],{width:_0x569d67,height:_0x4dccd3}=_0x264d48(_0x281dad,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x44b301,imageSources:_0x1d5660}=_0x160483(_0x281dad,_0x569d67);_0x521d63['model']['change'](_0x1a4892=>{if('$graveyard'===_0x34d904['root']['rootName']){_0x521d63['execute']('insertImage',{'imageType':_0x34d904['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x34d904['getAttributes']()),'uploadcareImageId':_0x223144,'src':_0x44b301,'sources':_0x1d5660,'width':_0x569d67,'height':_0x4dccd3}});const _0x1487c3=_0x34d904['getChildren']();_0x34d904=_0x521d63['model']['document']['selection']['getSelectedElement']();for(const _0x1ee4b1 of _0x1487c3)_0x1a4892['append'](_0x1a4892['cloneElement'](_0x1ee4b1),_0x34d904);}else _0x1a4892['setSelection'](_0x34d904,'on'),_0x521d63['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x34d904['getAttributes']()),'uploadcareImageId':_0x223144,'src':_0x44b301,'sources':_0x1d5660,'width':_0x569d67,'height':_0x4dccd3},_0x34d904);_0x1a4892['setSelection'](_0x34d904,'on');});}async['_getImageAsFile'](_0x5d93f8){const _0x4fb607=_0x3353ce['window'],_0x54c975=_0x3353ce['document']['location']['href'],_0x209ec5=new _0x4fb607['URL'](_0x5d93f8['getAttribute']('src'),_0x54c975);if('data:'===_0x209ec5['protocol']){const _0x247bc4=_0x209ec5['href']['split'](','),_0x3c11db=_0x247bc4[0x0]['match'](/:(.*?);/)[0x1],_0x3a860f=_0x3c11db['split']('/')[0x1],_0x260f67=_0x4fb607['atob'](_0x247bc4[_0x247bc4['length']-0x1]);let _0x2f1f98=_0x260f67['length'];const _0x5e4926=new _0x4fb607['Uint8Array'](_0x2f1f98);for(;_0x2f1f98--;)_0x5e4926[_0x2f1f98]=_0x260f67['charCodeAt'](_0x2f1f98);return new _0x4fb607['File']([_0x5e4926],'image.'+_0x3a860f,{'type':_0x3c11db});}const _0x2a1ac4=_0x209ec5['href']['split']('/'),_0x555506=_0x2a1ac4[_0x2a1ac4['length']-0x1],_0x11397d=_0x555506['split']('.')[0x1];return _0x4fb607['fetch'](_0x209ec5['href'])['then'](_0x588b4c=>_0x588b4c['clone']()['blob']())['then'](_0x2bef19=>new _0x4fb607['File']([_0x2bef19],_0x555506,{'type':'image/'+_0x11397d}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x19e7(_0x499ea5,_0x20d847){const _0x3eeb0b=_0x3eeb();return _0x19e7=function(_0x19e768,_0x55516f){_0x19e768=_0x19e768-0x18a;let _0x23ed75=_0x3eeb0b[_0x19e768];return _0x23ed75;},_0x19e7(_0x499ea5,_0x20d847);}(function(_0xf51f78,_0x366c9b){const _0x2b457d=_0x19e7,_0x340202=_0xf51f78();while(!![]){try{const _0x5bab36=-parseInt(_0x2b457d(0x199))/0x1+-parseInt(_0x2b457d(0x18d))/0x2*(parseInt(_0x2b457d(0x19c))/0x3)+parseInt(_0x2b457d(0x197))/0x4+parseInt(_0x2b457d(0x19b))/0x5+parseInt(_0x2b457d(0x18e))/0x6*(-parseInt(_0x2b457d(0x18b))/0x7)+parseInt(_0x2b457d(0x18a))/0x8*(parseInt(_0x2b457d(0x195))/0x9)+-parseInt(_0x2b457d(0x192))/0xa*(-parseInt(_0x2b457d(0x198))/0xb);if(_0x5bab36===_0x366c9b)break;else _0x340202['push'](_0x340202['shift']());}catch(_0x1180bb){_0x340202['push'](_0x340202['shift']());}}}(_0x3eeb,0x6aff8));import{View as _0x3ad614}from'ckeditor5/src/ui.js';function _0x3eeb(){const _0x555628=['377172uhrVyS','image-edit','703288npSVOE','165RsIrMY','480385tqJbUv','imageSrc','2573600SqEZjv','1575VZrxYX','40tcpJVK','14CycJkK','bindTemplate','2392HHoouP','49104FKIZbj','setTemplate','uc-cloud-image-editor','set','441890YxisrY','uc-light','ck-uploadcare-theme'];_0x3eeb=function(){return _0x555628;};return _0x3eeb();}export class UploadcareImageEditFormEditingView extends _0x3ad614{constructor(_0x53623a,_0x4c1d02){const _0x1cd425=_0x19e7;super(_0x53623a);const _0xd261ce=this[_0x1cd425(0x18c)];this[_0x1cd425(0x191)](_0x1cd425(0x19a),''),this[_0x1cd425(0x18f)]({'tag':_0x1cd425(0x190),'attributes':{..._0x4c1d02,'class':[_0x1cd425(0x193),_0x1cd425(0x194)],'ctx-name':_0x1cd425(0x196),'cdn-url':_0xd261ce['to'](_0x1cd425(0x19a))}});}}
23
+ (function(_0x2fbef3,_0x5f1682){const _0x523848=_0x278e,_0x1c9026=_0x2fbef3();while(!![]){try{const _0x41d410=parseInt(_0x523848(0x1e6))/0x1*(-parseInt(_0x523848(0x1f3))/0x2)+-parseInt(_0x523848(0x1e4))/0x3+parseInt(_0x523848(0x1ec))/0x4*(parseInt(_0x523848(0x1ed))/0x5)+-parseInt(_0x523848(0x1e9))/0x6+parseInt(_0x523848(0x1eb))/0x7+-parseInt(_0x523848(0x1f0))/0x8*(parseInt(_0x523848(0x1e7))/0x9)+-parseInt(_0x523848(0x1ea))/0xa*(-parseInt(_0x523848(0x1e8))/0xb);if(_0x41d410===_0x5f1682)break;else _0x1c9026['push'](_0x1c9026['shift']());}catch(_0x48e480){_0x1c9026['push'](_0x1c9026['shift']());}}}(_0x5807,0x5b78a));function _0x278e(_0x4fde2a,_0x464a50){const _0x580776=_0x5807();return _0x278e=function(_0x278ebe,_0x521c3e){_0x278ebe=_0x278ebe-0x1e4;let _0x3f1ccb=_0x580776[_0x278ebe];return _0x3f1ccb;},_0x278e(_0x4fde2a,_0x464a50);}import{View as _0x3ea471}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x3ea471{constructor(_0x3d4bd0,_0x2108e1){const _0x37288=_0x278e;super(_0x3d4bd0);const _0x201e36=this[_0x37288(0x1f6)];this[_0x37288(0x1f4)](_0x37288(0x1f1),''),this[_0x37288(0x1f2)]({'tag':_0x37288(0x1ef),'attributes':{..._0x2108e1,'class':[_0x37288(0x1e5),_0x37288(0x1f5)],'ctx-name':_0x37288(0x1ee),'cdn-url':_0x201e36['to'](_0x37288(0x1f1))}});}}function _0x5807(){const _0x1f64df=['bindTemplate','1767342ItebQh','uc-light','103745cRbosW','67833WYBEWk','8715905mEbDxJ','2613126zOcwGD','20RqgLch','1023197dQesxE','4wNXoIX','472415bGQdMM','image-edit','uc-cloud-image-editor','232TgyjXb','imageSrc','setTemplate','4DXuMfE','set','ck-uploadcare-theme'];_0x5807=function(){return _0x1f64df;};return _0x5807();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2108c3}from'ckeditor5/src/icons.js';import{ButtonView as _0x4d90e3,IconView as _0x3956b0,View as _0x150153}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x150153{constructor(_0x509697){super(_0x509697);const t=_0x509697['t'];this['set']('errorType',null);const _0x53a5e8=new _0x4d90e3(_0x509697);_0x53a5e8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x53a5e8['withText']=!0x0,_0x53a5e8['class']='ck-button-action',_0x53a5e8['on']('execute',()=>{this['fire']('retry');}),_0x53a5e8['bind']('isVisible')['to'](this,'errorType',_0x2d3193=>'NotFound'!==_0x2d3193);const _0x5af8d3=new _0x3956b0();_0x5af8d3['content']=_0x2108c3,_0x5af8d3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1066b4=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':[_0x5af8d3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1066b4['to']('errorType',_0x293fe1=>t('NotFound'!==_0x293fe1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x53a5e8]},{'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 _0x2dafc1}from'ckeditor5/src/icons.js';import{ButtonView as _0x3d8cd8,IconView as _0x2e85e2,View as _0x2c5045}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2c5045{constructor(_0x2597db){super(_0x2597db);const t=_0x2597db['t'];this['set']('errorType',null);const _0x3734c5=new _0x3d8cd8(_0x2597db);_0x3734c5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3734c5['withText']=!0x0,_0x3734c5['class']='ck-button-action',_0x3734c5['on']('execute',()=>{this['fire']('retry');}),_0x3734c5['bind']('isVisible')['to'](this,'errorType',_0x4dfc45=>'NotFound'!==_0x4dfc45);const _0x10436b=new _0x2e85e2();_0x10436b['content']=_0x2dafc1,_0x10436b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x42e41e=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':[_0x10436b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x42e41e['to']('errorType',_0x39b9bc=>t('NotFound'!==_0x39b9bc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3734c5]},{'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 _0x28af5d,View as _0x4655f5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4655f5{constructor(_0x4b1749){super(_0x4b1749);const t=_0x4b1749['t'],_0x5d6693=this['bindTemplate'],_0x235a54=new _0x28af5d();_0x235a54['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':[_0x235a54,{'text':_0x5d6693['to']('imageUploadProgress',_0x45055f=>t('Loading\x20image...')+'\x20('+(_0x45055f||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 _0x5aabc8,View as _0x5b5e4a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5b5e4a{constructor(_0x24dcc1){super(_0x24dcc1);const t=_0x24dcc1['t'],_0x3d0ca2=this['bindTemplate'],_0x539afa=new _0x5aabc8();_0x539afa['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':[_0x539afa,{'text':_0x3d0ca2['to']('imageUploadProgress',_0x35f5e0=>t('Loading\x20image...')+'\x20('+(_0x35f5e0||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 _0x1377ea=_0x5b6d;function _0x66c8(){const _0x350c1f=['nodeName','_waitForImageEditorComponent','once','div','fire','cancel','9LvWMkp','render','add','addedNodes','set','10QhlTBx','ck-uploadcare-form','_items','focus','cdnUrl','querySelector','uploading','target','_addErrorViewListeners','status','32NbCzrW','uc-cloud-image-editor','retry','_focusableView','_loadingView','filter','1258218FQpiFP','length','observe','28671rpSxBC','1226350eWOEdZ','ready','_errorView','clear','change:status','getFocusableElement','error','detail','createCollection','setTemplate','addMany','200astgtl','10617387AeIaYn','_addUploadcareImageEditorListeners','apply','toLowerCase','16612BdCdeO','addEventListener','ck-reset_all-excluded','2870497OpbGRb','_editingView','454424rRRofC','disconnect','_setView','element'];_0x66c8=function(){return _0x350c1f;};return _0x66c8();}(function(_0x3b28d7,_0x1d9028){const _0x205ca3=_0x5b6d,_0x12b9cf=_0x3b28d7();while(!![]){try{const _0x472527=parseInt(_0x205ca3(0x10d))/0x1*(-parseInt(_0x205ca3(0xf3))/0x2)+parseInt(_0x205ca3(0xfc))/0x3*(parseInt(_0x205ca3(0x108))/0x4)+-parseInt(_0x205ca3(0xfd))/0x5+-parseInt(_0x205ca3(0xf9))/0x6+-parseInt(_0x205ca3(0x110))/0x7+parseInt(_0x205ca3(0xda))/0x8*(-parseInt(_0x205ca3(0xe4))/0x9)+parseInt(_0x205ca3(0xe9))/0xa*(parseInt(_0x205ca3(0x109))/0xb);if(_0x472527===_0x1d9028)break;else _0x12b9cf['push'](_0x12b9cf['shift']());}catch(_0x48c9cd){_0x12b9cf['push'](_0x12b9cf['shift']());}}}(_0x66c8,0x3e5c4));import{View as _0x55a31c}from'ckeditor5/src/ui.js';function _0x5b6d(_0x5eec18,_0x41f6b5){const _0x66c820=_0x66c8();return _0x5b6d=function(_0x5b6d7c,_0x2aea2e){_0x5b6d7c=_0x5b6d7c-0xd9;let _0x50e8f4=_0x66c820[_0x5b6d7c];return _0x50e8f4;},_0x5b6d(_0x5eec18,_0x41f6b5);}import{UploadcareImageEditFormLoadingView as _0x12cd86}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x529ecb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xdb2a90}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xcc6e4a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xcc6e4a{[_0x1377ea(0xeb)];[_0x1377ea(0xf7)];[_0x1377ea(0xff)];[_0x1377ea(0xd9)];[_0x1377ea(0xf6)];constructor(_0x4fb56a,_0x2bd665,_0x545851){const _0x56b354=_0x1377ea;super(_0x4fb56a),this[_0x56b354(0xeb)]=this[_0x56b354(0x105)](),this[_0x56b354(0xf7)]=new _0x12cd86(_0x4fb56a),this[_0x56b354(0xff)]=new _0x529ecb(_0x4fb56a),this[_0x56b354(0xd9)]=new _0xdb2a90(_0x4fb56a,_0x545851),this[_0x56b354(0xf6)]=new _0x55a31c(_0x4fb56a),this[_0x56b354(0xf6)][_0x56b354(0x106)](this[_0x56b354(0x102)]()),this[_0x56b354(0xe8)](_0x56b354(0xf2),_0x2bd665),this[_0x56b354(0x106)]({'tag':_0x56b354(0xe1),'attributes':{'class':['ck',_0x56b354(0x10f),_0x56b354(0xea)],'tabindex':'-1'},'children':this[_0x56b354(0xeb)]}),this[_0x56b354(0xdc)](),this[_0x56b354(0xe0)](_0x56b354(0xe5),()=>{const _0x64a917=_0x56b354;this[_0x64a917(0xdf)](this[_0x64a917(0xdd)],_0x6c8cf6=>{const _0x1974a4=_0x64a917;this[_0x1974a4(0x10a)](_0x6c8cf6);});}),this['on'](_0x56b354(0x101),()=>{const _0x8b8688=_0x56b354;this[_0x8b8688(0xdc)]();}),this[_0x56b354(0xf1)]();}[_0x1377ea(0xec)](){const _0x4a6c86=_0x1377ea;this[_0x4a6c86(0xdd)][_0x4a6c86(0xec)]();}[_0x1377ea(0xdc)](){const _0x2fe122=_0x1377ea;switch(this[_0x2fe122(0xeb)][_0x2fe122(0x100)](),this[_0x2fe122(0xf2)]){case _0x2fe122(0xef):this[_0x2fe122(0xeb)][_0x2fe122(0xe6)](this[_0x2fe122(0xf7)]);break;case _0x2fe122(0x103):this[_0x2fe122(0xeb)][_0x2fe122(0xe6)](this[_0x2fe122(0xff)]);break;case _0x2fe122(0xfe):this[_0x2fe122(0xeb)][_0x2fe122(0x107)]([this[_0x2fe122(0xd9)],this[_0x2fe122(0xf6)]]);}}[_0x1377ea(0xdf)](_0x46ee36,_0x1e6207){const _0x559f72=_0x1377ea,_0x107261=_0x559f72(0xf4),_0x5a68a7=_0x46ee36[_0x559f72(0xee)](_0x107261);if(_0x5a68a7)return _0x1e6207(_0x5a68a7);const _0x5d4c32=new MutationObserver(_0x2ffa59=>{const _0x57d8b9=_0x559f72,_0x459597=_0x2ffa59[_0x57d8b9(0xf8)](_0x97d1d8=>_0x97d1d8[_0x57d8b9(0xf0)]===_0x46ee36&&_0x97d1d8[_0x57d8b9(0xe7)][_0x57d8b9(0xfa)]>0x0&&_0x97d1d8[_0x57d8b9(0xe7)][0x0][_0x57d8b9(0xde)][_0x57d8b9(0x10c)]()===_0x107261);_0x459597[_0x57d8b9(0xfa)]&&(_0x5d4c32[_0x57d8b9(0xdb)](),_0x1e6207(_0x459597[0x0][_0x57d8b9(0xe7)][0x0]));});_0x5d4c32[_0x559f72(0xfb)](_0x46ee36,{'childList':!0x0,'subtree':!0x0});}[_0x1377ea(0x10a)](_0x2c6a97){const _0x28a931=_0x1377ea;_0x2c6a97[_0x28a931(0x10e)](_0x28a931(0x10b),_0x1b1ccc=>{const _0x3bf9f3=_0x28a931;this[_0x3bf9f3(0xe2)](_0x3bf9f3(0x10b),{'imageSrc':_0x1b1ccc[_0x3bf9f3(0x104)][_0x3bf9f3(0xed)]});}),_0x2c6a97[_0x28a931(0x10e)](_0x28a931(0xe3),()=>{const _0x31e45b=_0x28a931;this[_0x31e45b(0xe2)](_0x31e45b(0xe3));});}[_0x1377ea(0xf1)](){const _0x2a4fd3=_0x1377ea;this[_0x2a4fd3(0xff)]['on'](_0x2a4fd3(0xf5),()=>{const _0x1236a9=_0x2a4fd3;this[_0x1236a9(0xe2)](_0x1236a9(0xf5));});}}
23
+ function _0x1ce1(_0x2f99b8,_0x3bd1e3){const _0x4311d7=_0x4311();return _0x1ce1=function(_0x1ce1ed,_0x2843f8){_0x1ce1ed=_0x1ce1ed-0x1b8;let _0x57d959=_0x4311d7[_0x1ce1ed];return _0x57d959;},_0x1ce1(_0x2f99b8,_0x3bd1e3);}const _0x3fe488=_0x1ce1;(function(_0x52c004,_0x493c06){const _0x436abc=_0x1ce1,_0x862493=_0x52c004();while(!![]){try{const _0x52c137=parseInt(_0x436abc(0x1dd))/0x1+parseInt(_0x436abc(0x1e7))/0x2+-parseInt(_0x436abc(0x1ea))/0x3+-parseInt(_0x436abc(0x1c9))/0x4+parseInt(_0x436abc(0x1ba))/0x5*(-parseInt(_0x436abc(0x1ca))/0x6)+parseInt(_0x436abc(0x1c1))/0x7*(-parseInt(_0x436abc(0x1e6))/0x8)+parseInt(_0x436abc(0x1d6))/0x9;if(_0x52c137===_0x493c06)break;else _0x862493['push'](_0x862493['shift']());}catch(_0x36931a){_0x862493['push'](_0x862493['shift']());}}}(_0x4311,0xba841));import{View as _0x58813a}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4044b1}from'./uploadcareimageeditformloadingview.js';function _0x4311(){const _0x4e66b5=['27144819jFPRIH','apply','add','getFocusableElement','once','element','uc-cloud-image-editor','186926rfIUxm','fire','addedNodes','ck-uploadcare-form','set','addEventListener','_loadingView','filter','ready','3578488tErnug','195916crwwhX','addMany','ck-reset_all-excluded','273663fRRBFb','error','length','_focusableView','createCollection','disconnect','5523080eHzgbP','toLowerCase','_setView','_items','cdnUrl','observe','_errorView','14ayAzaJ','setTemplate','change:status','_editingView','focus','status','div','_waitForImageEditorComponent','1786188hUGWYO','6VFQLlV','nodeName','cancel','detail','_addUploadcareImageEditorListeners','uploading','retry','render','querySelector','clear','target','_addErrorViewListeners'];_0x4311=function(){return _0x4e66b5;};return _0x4311();}import{UploadcareImageEditFormErrorView as _0xedc182}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x257391}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x864829}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x864829{[_0x3fe488(0x1bd)];[_0x3fe488(0x1e3)];[_0x3fe488(0x1c0)];[_0x3fe488(0x1c4)];[_0x3fe488(0x1ed)];constructor(_0x47587d,_0x5803c1,_0x48b622){const _0x4ad247=_0x3fe488;super(_0x47587d),this[_0x4ad247(0x1bd)]=this[_0x4ad247(0x1b8)](),this[_0x4ad247(0x1e3)]=new _0x4044b1(_0x47587d),this[_0x4ad247(0x1c0)]=new _0xedc182(_0x47587d),this[_0x4ad247(0x1c4)]=new _0x257391(_0x47587d,_0x48b622),this[_0x4ad247(0x1ed)]=new _0x58813a(_0x47587d),this[_0x4ad247(0x1ed)][_0x4ad247(0x1c2)](this[_0x4ad247(0x1d9)]()),this[_0x4ad247(0x1e1)](_0x4ad247(0x1c6),_0x5803c1),this[_0x4ad247(0x1c2)]({'tag':_0x4ad247(0x1c7),'attributes':{'class':['ck',_0x4ad247(0x1e9),_0x4ad247(0x1e0)],'tabindex':'-1'},'children':this[_0x4ad247(0x1bd)]}),this[_0x4ad247(0x1bc)](),this[_0x4ad247(0x1da)](_0x4ad247(0x1d1),()=>{const _0x643568=_0x4ad247;this[_0x643568(0x1c8)](this[_0x643568(0x1db)],_0x39e347=>{const _0x38e1cd=_0x643568;this[_0x38e1cd(0x1ce)](_0x39e347);});}),this['on'](_0x4ad247(0x1c3),()=>{const _0x2e613a=_0x4ad247;this[_0x2e613a(0x1bc)]();}),this[_0x4ad247(0x1d5)]();}[_0x3fe488(0x1c5)](){const _0x25e2a3=_0x3fe488;this[_0x25e2a3(0x1db)][_0x25e2a3(0x1c5)]();}[_0x3fe488(0x1bc)](){const _0x4aedb9=_0x3fe488;switch(this[_0x4aedb9(0x1bd)][_0x4aedb9(0x1d3)](),this[_0x4aedb9(0x1c6)]){case _0x4aedb9(0x1cf):this[_0x4aedb9(0x1bd)][_0x4aedb9(0x1d8)](this[_0x4aedb9(0x1e3)]);break;case _0x4aedb9(0x1eb):this[_0x4aedb9(0x1bd)][_0x4aedb9(0x1d8)](this[_0x4aedb9(0x1c0)]);break;case _0x4aedb9(0x1e5):this[_0x4aedb9(0x1bd)][_0x4aedb9(0x1e8)]([this[_0x4aedb9(0x1c4)],this[_0x4aedb9(0x1ed)]]);}}[_0x3fe488(0x1c8)](_0x4ca4d3,_0x42dbd0){const _0x27d22c=_0x3fe488,_0x331cc2=_0x27d22c(0x1dc),_0x4f4e0c=_0x4ca4d3[_0x27d22c(0x1d2)](_0x331cc2);if(_0x4f4e0c)return _0x42dbd0(_0x4f4e0c);const _0x1bf56e=new MutationObserver(_0x3676ea=>{const _0x44dd50=_0x27d22c,_0x5e0dc2=_0x3676ea[_0x44dd50(0x1e4)](_0x3db9d7=>_0x3db9d7[_0x44dd50(0x1d4)]===_0x4ca4d3&&_0x3db9d7[_0x44dd50(0x1df)][_0x44dd50(0x1ec)]>0x0&&_0x3db9d7[_0x44dd50(0x1df)][0x0][_0x44dd50(0x1cb)][_0x44dd50(0x1bb)]()===_0x331cc2);_0x5e0dc2[_0x44dd50(0x1ec)]&&(_0x1bf56e[_0x44dd50(0x1b9)](),_0x42dbd0(_0x5e0dc2[0x0][_0x44dd50(0x1df)][0x0]));});_0x1bf56e[_0x27d22c(0x1bf)](_0x4ca4d3,{'childList':!0x0,'subtree':!0x0});}[_0x3fe488(0x1ce)](_0x4531a8){const _0x37820f=_0x3fe488;_0x4531a8[_0x37820f(0x1e2)](_0x37820f(0x1d7),_0x2b8d6b=>{const _0x28d5e8=_0x37820f;this[_0x28d5e8(0x1de)](_0x28d5e8(0x1d7),{'imageSrc':_0x2b8d6b[_0x28d5e8(0x1cd)][_0x28d5e8(0x1be)]});}),_0x4531a8[_0x37820f(0x1e2)](_0x37820f(0x1cc),()=>{const _0x38c7e8=_0x37820f;this[_0x38c7e8(0x1de)](_0x38c7e8(0x1cc));});}[_0x3fe488(0x1d5)](){const _0x2aaacb=_0x3fe488;this[_0x2aaacb(0x1c0)]['on'](_0x2aaacb(0x1d0),()=>{const _0x42f57c=_0x2aaacb;this[_0x42f57c(0x1de)](_0x42f57c(0x1d0));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5171c3=_0x2a9c;function _0x1253(){const _0x7acbe7=['744474IqlCjL','imageEditController','set','selection','element','document','4386184PMJFRB','requires','plugins','refresh','uploadcare.allowExternalImagesEditing','isActive','isEnabled','imageInline','execute','6kYblJo','unbind','746456EbiVgm','config','getSelectedElement','model','2736685TFAmie','_isEditable','3691728bQCwxV','get','bind','editor','imageBlock','7720993mymvvG','4780340xCpeNP'];_0x1253=function(){return _0x7acbe7;};return _0x1253();}(function(_0x4c535d,_0x1ba704){const _0x24ddf4=_0x2a9c,_0x638813=_0x4c535d();while(!![]){try{const _0x2217ac=-parseInt(_0x24ddf4(0x113))/0x1+parseInt(_0x24ddf4(0x120))/0x2+parseInt(_0x24ddf4(0x119))/0x3+-parseInt(_0x24ddf4(0x11f))/0x4+parseInt(_0x24ddf4(0x117))/0x5+-parseInt(_0x24ddf4(0x111))/0x6*(-parseInt(_0x24ddf4(0x11e))/0x7)+-parseInt(_0x24ddf4(0x126))/0x8;if(_0x2217ac===_0x1ba704)break;else _0x638813['push'](_0x638813['shift']());}catch(_0x1dc5d6){_0x638813['push'](_0x638813['shift']());}}}(_0x1253,0xba5c7));function _0x2a9c(_0x54839a,_0x4c152e){const _0x1253ad=_0x1253();return _0x2a9c=function(_0x2a9ca9,_0x4cbcab){_0x2a9ca9=_0x2a9ca9-0x10e;let _0x5d9c6b=_0x1253ad[_0x2a9ca9];return _0x5d9c6b;},_0x2a9c(_0x54839a,_0x4c152e);}import{Command as _0x12bf59}from'ckeditor5/src/core.js';import{Dialog as _0x3cbc18}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x115269}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x188b91}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x12bf59{[_0x5171c3(0x121)];static get[_0x5171c3(0x127)](){return[_0x3cbc18];}[_0x5171c3(0x118)];constructor(_0x56234d){const _0x4ce583=_0x5171c3;super(_0x56234d),this[_0x4ce583(0x121)]=void 0x0,this[_0x4ce583(0x118)]=_0x188b91(_0x56234d[_0x4ce583(0x114)][_0x4ce583(0x11a)](_0x4ce583(0x12a))||[]),this[_0x4ce583(0x122)]({'isActive':!0x1});}[_0x5171c3(0x129)](){const _0x40ff4e=_0x5171c3,_0x1fe996=this[_0x40ff4e(0x11c)][_0x40ff4e(0x116)][_0x40ff4e(0x125)][_0x40ff4e(0x123)][_0x40ff4e(0x115)]();this[_0x40ff4e(0x10e)]=this[_0x40ff4e(0x118)](_0x1fe996);}[_0x5171c3(0x110)](){const _0x3777c6=_0x5171c3;this[_0x3777c6(0x121)]&&(this[_0x3777c6(0x112)](_0x3777c6(0x12b)),this[_0x3777c6(0x121)]=void 0x0);const _0x947767=this[_0x3777c6(0x11c)][_0x3777c6(0x116)][_0x3777c6(0x125)][_0x3777c6(0x123)][_0x3777c6(0x115)]();_0x947767&&(_0x947767['is'](_0x3777c6(0x124),_0x3777c6(0x11d))||_0x947767['is'](_0x3777c6(0x124),_0x3777c6(0x10f)))&&(this[_0x3777c6(0x121)]=new _0x115269(this[_0x3777c6(0x11c)],this[_0x3777c6(0x11c)][_0x3777c6(0x128)][_0x3777c6(0x11a)](_0x3cbc18),_0x947767),this[_0x3777c6(0x11b)](_0x3777c6(0x12b))['to'](this[_0x3777c6(0x121)],_0x3777c6(0x12b)));}}
23
+ const _0x353210=_0x499c;(function(_0x39a973,_0x1fef49){const _0x136d75=_0x499c,_0x275409=_0x39a973();while(!![]){try{const _0x2270e3=-parseInt(_0x136d75(0xa6))/0x1*(parseInt(_0x136d75(0x99))/0x2)+parseInt(_0x136d75(0x94))/0x3*(parseInt(_0x136d75(0xa2))/0x4)+parseInt(_0x136d75(0x9b))/0x5+parseInt(_0x136d75(0x96))/0x6*(-parseInt(_0x136d75(0xae))/0x7)+parseInt(_0x136d75(0x9e))/0x8+-parseInt(_0x136d75(0xa3))/0x9*(-parseInt(_0x136d75(0x93))/0xa)+parseInt(_0x136d75(0xa7))/0xb*(-parseInt(_0x136d75(0x9f))/0xc);if(_0x2270e3===_0x1fef49)break;else _0x275409['push'](_0x275409['shift']());}catch(_0x58e048){_0x275409['push'](_0x275409['shift']());}}}(_0x4277,0xf3a4f));import{Command as _0x5df099}from'ckeditor5/src/core.js';import{Dialog as _0x5b69ed}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x54459c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2568fb}from'../utils/editingutils.js';function _0x499c(_0x101d95,_0x545501){const _0x42776a=_0x4277();return _0x499c=function(_0x499c75,_0x273362){_0x499c75=_0x499c75-0x92;let _0xe7647f=_0x42776a[_0x499c75];return _0xe7647f;},_0x499c(_0x101d95,_0x545501);}function _0x4277(){const _0x35aa19=['get','element','document','uploadcare.allowExternalImagesEditing','model','19805370kwrvGt','15vvjDtB','isActive','366uvYWjD','execute','_isEditable','175204ThqHcC','selection','4627785cYSyFp','config','editor','6008376mNgfjS','14473020fONQjP','requires','imageBlock','991140hlDjhW','9okaEtG','imageInline','isEnabled','5DfIKfA','22BlZCmi','imageEditController','getSelectedElement','bind','set','unbind','plugins','120253XcFLmV','refresh'];_0x4277=function(){return _0x35aa19;};return _0x4277();}export class UploadcareImageEditCommand extends _0x5df099{[_0x353210(0xa8)];static get[_0x353210(0xa0)](){return[_0x5b69ed];}[_0x353210(0x98)];constructor(_0x5bf65c){const _0xc7813e=_0x353210;super(_0x5bf65c),this[_0xc7813e(0xa8)]=void 0x0,this[_0xc7813e(0x98)]=_0x2568fb(_0x5bf65c[_0xc7813e(0x9c)][_0xc7813e(0xb0)](_0xc7813e(0xb3))||[]),this[_0xc7813e(0xab)]({'isActive':!0x1});}[_0x353210(0xaf)](){const _0x3096f2=_0x353210,_0xcb0809=this[_0x3096f2(0x9d)][_0x3096f2(0x92)][_0x3096f2(0xb2)][_0x3096f2(0x9a)][_0x3096f2(0xa9)]();this[_0x3096f2(0xa5)]=this[_0x3096f2(0x98)](_0xcb0809);}[_0x353210(0x97)](){const _0x18838f=_0x353210;this[_0x18838f(0xa8)]&&(this[_0x18838f(0xac)](_0x18838f(0x95)),this[_0x18838f(0xa8)]=void 0x0);const _0x562b8a=this[_0x18838f(0x9d)][_0x18838f(0x92)][_0x18838f(0xb2)][_0x18838f(0x9a)][_0x18838f(0xa9)]();_0x562b8a&&(_0x562b8a['is'](_0x18838f(0xb1),_0x18838f(0xa1))||_0x562b8a['is'](_0x18838f(0xb1),_0x18838f(0xa4)))&&(this[_0x18838f(0xa8)]=new _0x54459c(this[_0x18838f(0x9d)],this[_0x18838f(0x9d)][_0x18838f(0xad)][_0x18838f(0xb0)](_0x5b69ed),_0x562b8a),this[_0x18838f(0xaa)](_0x18838f(0x95))['to'](this[_0x18838f(0xa8)],_0x18838f(0x95)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x571928=_0x1349;function _0x1349(_0x50c198,_0x291953){const _0xb727f4=_0xb727();return _0x1349=function(_0x13494e,_0x1a88b3){_0x13494e=_0x13494e-0x17f;let _0x2fe8a4=_0xb727f4[_0x13494e];return _0x2fe8a4;},_0x1349(_0x50c198,_0x291953);}(function(_0x5aff4e,_0x1ff02a){const _0x35e1fd=_0x1349,_0x28d00e=_0x5aff4e();while(!![]){try{const _0x3275b1=-parseInt(_0x35e1fd(0x17f))/0x1+parseInt(_0x35e1fd(0x18f))/0x2+parseInt(_0x35e1fd(0x180))/0x3*(-parseInt(_0x35e1fd(0x192))/0x4)+-parseInt(_0x35e1fd(0x18e))/0x5+parseInt(_0x35e1fd(0x188))/0x6+-parseInt(_0x35e1fd(0x189))/0x7+parseInt(_0x35e1fd(0x191))/0x8*(parseInt(_0x35e1fd(0x186))/0x9);if(_0x3275b1===_0x1ff02a)break;else _0x28d00e['push'](_0x28d00e['shift']());}catch(_0x425966){_0x28d00e['push'](_0x28d00e['shift']());}}}(_0xb727,0x67daf));import{Plugin as _0x293fac}from'ckeditor5/src/core.js';import{Notification as _0x2d6169}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29f134}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xd9c8d6}from'./uploadcareimagereplacecommand.js';function _0xb727(){const _0x747d73=['isOfficialPlugin','ImageEditing','requires','12870612uHGSWd','add','3202464LhycFs','5872713ApSpfI','uploadcareImageEdit','UploadcareImageEditEditing','pluginName','init','1777920UfiNKH','510346FRjWDc','commands','8rEecEA','4kPSuNP','isPremiumPlugin','318448WyRDwp','841809vCtbdK','uploadcareImageReplace','ImageUtils'];_0xb727=function(){return _0x747d73;};return _0xb727();}import{UploadcareEditing as _0x289e9f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x293fac{static get[_0x571928(0x18c)](){const _0x35b595=_0x571928;return _0x35b595(0x18b);}static get[_0x571928(0x185)](){const _0x42df53=_0x571928;return[_0x289e9f,_0x2d6169,_0x42df53(0x182),_0x42df53(0x184)];}static get[_0x571928(0x183)](){return!0x0;}static get[_0x571928(0x193)](){return!0x0;}[_0x571928(0x18d)](){const _0x13c5c3=_0x571928,{editor:_0x17849b}=this;_0x17849b[_0x13c5c3(0x190)][_0x13c5c3(0x187)](_0x13c5c3(0x18a),new _0x29f134(_0x17849b)),_0x17849b[_0x13c5c3(0x190)][_0x13c5c3(0x187)](_0x13c5c3(0x181),new _0xd9c8d6(_0x17849b));}}
23
+ const _0x3826a0=_0x1c14;(function(_0x15c6d6,_0x19960a){const _0x337342=_0x1c14,_0x2646d2=_0x15c6d6();while(!![]){try{const _0x477325=parseInt(_0x337342(0xee))/0x1+parseInt(_0x337342(0xde))/0x2+parseInt(_0x337342(0xe6))/0x3+parseInt(_0x337342(0xea))/0x4*(parseInt(_0x337342(0xe0))/0x5)+parseInt(_0x337342(0xe8))/0x6*(-parseInt(_0x337342(0xdd))/0x7)+parseInt(_0x337342(0xe5))/0x8+parseInt(_0x337342(0xec))/0x9*(-parseInt(_0x337342(0xe1))/0xa);if(_0x477325===_0x19960a)break;else _0x2646d2['push'](_0x2646d2['shift']());}catch(_0x16ce07){_0x2646d2['push'](_0x2646d2['shift']());}}}(_0xfb83,0x83e2d));import{Plugin as _0x5d5376}from'ckeditor5/src/core.js';import{Notification as _0x3291c4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x144322}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1cc8f6}from'./uploadcareimagereplacecommand.js';function _0x1c14(_0x5dea03,_0x586772){const _0xfb8386=_0xfb83();return _0x1c14=function(_0x1c147d,_0x1189d6){_0x1c147d=_0x1c147d-0xdb;let _0x1d01f3=_0xfb8386[_0x1c147d];return _0x1d01f3;},_0x1c14(_0x5dea03,_0x586772);}import{UploadcareEditing as _0x34d7e5}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5d5376{static get[_0x3826a0(0xef)](){const _0x1b5ee4=_0x3826a0;return _0x1b5ee4(0xe2);}static get[_0x3826a0(0xdb)](){const _0x383fbc=_0x3826a0;return[_0x34d7e5,_0x3291c4,_0x383fbc(0xf0),_0x383fbc(0xe7)];}static get[_0x3826a0(0xe9)](){return!0x0;}static get[_0x3826a0(0xed)](){return!0x0;}[_0x3826a0(0xdf)](){const _0x25ff0c=_0x3826a0,{editor:_0x5cbe73}=this;_0x5cbe73[_0x25ff0c(0xe3)][_0x25ff0c(0xeb)](_0x25ff0c(0xdc),new _0x144322(_0x5cbe73)),_0x5cbe73[_0x25ff0c(0xe3)][_0x25ff0c(0xeb)](_0x25ff0c(0xe4),new _0x1cc8f6(_0x5cbe73));}}function _0xfb83(){const _0x516ed2=['UploadcareImageEditEditing','commands','uploadcareImageReplace','3181096GhVmJW','1252881nhWNxn','ImageEditing','6uGjpsg','isOfficialPlugin','1878044GBTYpD','add','18fRlMri','isPremiumPlugin','45019EmWPXs','pluginName','ImageUtils','requires','uploadcareImageEdit','6862982LjVrDW','1394176JFTUzo','init','10VDHTxp','4878810gmPbnV'];_0xfb83=function(){return _0x516ed2;};return _0xfb83();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x234efa}from'ckeditor5/src/core.js';import{ButtonView as _0xbfc5fa}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x570015}from'ckeditor5/src/icons.js';import{createElement as _0x454c15}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 _0x234efa{['_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 _0x1b721f=this['editor'];_0x1b721f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1bf6cc=>{const _0x212c2c=_0x1b721f['commands']['get']('uploadcareImageEdit'),_0x78ad05=new _0xbfc5fa(_0x1bf6cc),t=_0x1bf6cc['t'];return _0x78ad05['set']({'icon':_0x570015,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x78ad05['bind']('isEnabled')['to'](_0x212c2c),_0x78ad05['bind']('isOn')['to'](_0x212c2c,'isActive'),this['listenTo'](_0x78ad05,'execute',()=>{_0x1b721f['execute']('uploadcareImageEdit'),_0x1b721f['editing']['view']['focus']();}),_0x78ad05;}),this['_initConfig']();}['_initConfig'](){const _0x1e9b5e=_0x454c15(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e9b5e),this['listenTo'](this['editor'],'destroy',()=>{_0x1e9b5e['remove']();});}}
23
+ import{Plugin as _0x495e00}from'ckeditor5/src/core.js';import{ButtonView as _0x3d7693}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c3787}from'ckeditor5/src/icons.js';import{createElement as _0xf041f7}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 _0x495e00{['_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 _0x4e81f4=this['editor'];_0x4e81f4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x977b94=>{const _0x4cdab4=_0x4e81f4['commands']['get']('uploadcareImageEdit'),_0x1a8b46=new _0x3d7693(_0x977b94),t=_0x977b94['t'];return _0x1a8b46['set']({'icon':_0x4c3787,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1a8b46['bind']('isEnabled')['to'](_0x4cdab4),_0x1a8b46['bind']('isOn')['to'](_0x4cdab4,'isActive'),this['listenTo'](_0x1a8b46,'execute',()=>{_0x4e81f4['execute']('uploadcareImageEdit'),_0x4e81f4['editing']['view']['focus']();}),_0x1a8b46;}),this['_initConfig']();}['_initConfig'](){const _0x2d8d31=_0xf041f7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2d8d31),this['listenTo'](this['editor'],'destroy',()=>{_0x2d8d31['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36a5(_0x330c9e,_0x1d1b93){const _0x50cadf=_0x50ca();return _0x36a5=function(_0x36a599,_0x269d60){_0x36a599=_0x36a599-0x1d3;let _0x39d3e7=_0x50cadf[_0x36a599];return _0x39d3e7;},_0x36a5(_0x330c9e,_0x1d1b93);}const _0x576b62=_0x36a5;(function(_0x417b70,_0x4bf8cd){const _0x68a92c=_0x36a5,_0xcbc1ed=_0x417b70();while(!![]){try{const _0x40dcf3=-parseInt(_0x68a92c(0x1e4))/0x1*(-parseInt(_0x68a92c(0x1d8))/0x2)+parseInt(_0x68a92c(0x1db))/0x3+parseInt(_0x68a92c(0x1d4))/0x4+-parseInt(_0x68a92c(0x1e0))/0x5*(parseInt(_0x68a92c(0x1e1))/0x6)+-parseInt(_0x68a92c(0x1ea))/0x7+parseInt(_0x68a92c(0x1da))/0x8+-parseInt(_0x68a92c(0x1e2))/0x9*(parseInt(_0x68a92c(0x1eb))/0xa);if(_0x40dcf3===_0x4bf8cd)break;else _0xcbc1ed['push'](_0xcbc1ed['shift']());}catch(_0x24d1bd){_0xcbc1ed['push'](_0xcbc1ed['shift']());}}}(_0x50ca,0xe7d3f));function _0x50ca(){const _0x2efe97=['editor','element','document','4362680WSOMhl','10kWKjzj','getSelectedElement','refresh','5337528vKVoPt','removeAttribute','selection','isEnabled','22mCLVpR','imageInline','12833248IZHBra','2749575ZLhnmx','imageBlock','setAttributes','execute','model','6028180MkOvuw','6BSFVQu','18485235vTKZGA','change','88845YiInWO','sizes','srcset'];_0x50ca=function(){return _0x2efe97;};return _0x50ca();}import{Command as _0x19c76b}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x19c76b{[_0x576b62(0x1d3)](){const _0x121a5c=_0x576b62,_0x80c711=this[_0x121a5c(0x1e7)][_0x121a5c(0x1df)][_0x121a5c(0x1e9)][_0x121a5c(0x1d6)][_0x121a5c(0x1ec)]();this[_0x121a5c(0x1d7)]=Boolean(_0x80c711&&(_0x80c711['is'](_0x121a5c(0x1e8),_0x121a5c(0x1dc))||_0x80c711['is'](_0x121a5c(0x1e8),_0x121a5c(0x1d9))));}[_0x576b62(0x1de)](_0x332221){const _0x412c89=_0x576b62,_0x483b92=this[_0x412c89(0x1e7)][_0x412c89(0x1df)][_0x412c89(0x1e9)][_0x412c89(0x1d6)][_0x412c89(0x1ec)]();this[_0x412c89(0x1e7)][_0x412c89(0x1df)][_0x412c89(0x1e3)](_0x11e3c1=>{const _0x838bc0=_0x412c89;_0x11e3c1[_0x838bc0(0x1dd)](_0x332221,_0x483b92),_0x11e3c1[_0x838bc0(0x1d5)](_0x838bc0(0x1e6),_0x483b92),_0x11e3c1[_0x838bc0(0x1d5)](_0x838bc0(0x1e5),_0x483b92);});}}
23
+ function _0x4725(){const _0x1a05b8=['document','1022256MZihlm','execute','45EDwhUj','getSelectedElement','imageBlock','selection','3436741JGJzNi','element','change','6561mBgUkf','557291WGSyKz','658iwcOeH','setAttributes','645512yNvJZv','removeAttribute','refresh','isEnabled','7132IvJSCQ','editor','sizes','srcset','85YjARvM','imageInline','model','10KTUnzn','417216GYCumi'];_0x4725=function(){return _0x1a05b8;};return _0x4725();}const _0x4bb363=_0x3cec;(function(_0x544824,_0x4fc401){const _0x8df5ab=_0x3cec,_0x2b11f6=_0x544824();while(!![]){try{const _0x3cea4a=-parseInt(_0x8df5ab(0xc9))/0x1+-parseInt(_0x8df5ab(0xca))/0x2*(-parseInt(_0x8df5ab(0xc8))/0x3)+-parseInt(_0x8df5ab(0xd0))/0x4*(parseInt(_0x8df5ab(0xd4))/0x5)+-parseInt(_0x8df5ab(0xda))/0x6+-parseInt(_0x8df5ab(0xcc))/0x7+parseInt(_0x8df5ab(0xd8))/0x8*(parseInt(_0x8df5ab(0xdc))/0x9)+parseInt(_0x8df5ab(0xd7))/0xa*(parseInt(_0x8df5ab(0xe0))/0xb);if(_0x3cea4a===_0x4fc401)break;else _0x2b11f6['push'](_0x2b11f6['shift']());}catch(_0x1da7b8){_0x2b11f6['push'](_0x2b11f6['shift']());}}}(_0x4725,0x6c098));function _0x3cec(_0x3c2a7c,_0x3ced62){const _0x47257f=_0x4725();return _0x3cec=function(_0x3cec0d,_0x3ea19a){_0x3cec0d=_0x3cec0d-0xc6;let _0x114446=_0x47257f[_0x3cec0d];return _0x114446;},_0x3cec(_0x3c2a7c,_0x3ced62);}import{Command as _0x4c1b82}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4c1b82{[_0x4bb363(0xce)](){const _0xef34b1=_0x4bb363,_0x41cf98=this[_0xef34b1(0xd1)][_0xef34b1(0xd6)][_0xef34b1(0xd9)][_0xef34b1(0xdf)][_0xef34b1(0xdd)]();this[_0xef34b1(0xcf)]=Boolean(_0x41cf98&&(_0x41cf98['is'](_0xef34b1(0xc6),_0xef34b1(0xde))||_0x41cf98['is'](_0xef34b1(0xc6),_0xef34b1(0xd5))));}[_0x4bb363(0xdb)](_0x41a256){const _0x47bafc=_0x4bb363,_0x4534ad=this[_0x47bafc(0xd1)][_0x47bafc(0xd6)][_0x47bafc(0xd9)][_0x47bafc(0xdf)][_0x47bafc(0xdd)]();this[_0x47bafc(0xd1)][_0x47bafc(0xd6)][_0x47bafc(0xc7)](_0x167cc8=>{const _0x3eb8ac=_0x47bafc;_0x167cc8[_0x3eb8ac(0xcb)](_0x41a256,_0x4534ad),_0x167cc8[_0x3eb8ac(0xcd)](_0x3eb8ac(0xd3),_0x4534ad),_0x167cc8[_0x3eb8ac(0xcd)](_0x3eb8ac(0xd2),_0x4534ad);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53e6bf=_0x468e;function _0x2126(){var _0x407b81=['380ABROfd','isPremiumPlugin','54IBsbav','1945936ZmVxYY','isOfficialPlugin','3949dfGGsL','22503648fEAAjm','2432442FhkHzu','1801GzbFQu','395STKmTE','313691ziyIfW','pluginName','requires','19204fmsVBL','UploadcareImageEdit','36GKTsST','160aWwEII'];_0x2126=function(){return _0x407b81;};return _0x2126();}(function(_0x4313dd,_0x14df46){var _0x37c635=_0x468e,_0x67c1f0=_0x4313dd();while(!![]){try{var _0x4bbfd1=-parseInt(_0x37c635(0x112))/0x1*(parseInt(_0x37c635(0x11a))/0x2)+parseInt(_0x37c635(0x111))/0x3+-parseInt(_0x37c635(0x117))/0x4*(-parseInt(_0x37c635(0x113))/0x5)+-parseInt(_0x37c635(0x11d))/0x6*(-parseInt(_0x37c635(0x114))/0x7)+-parseInt(_0x37c635(0x10d))/0x8*(-parseInt(_0x37c635(0x119))/0x9)+-parseInt(_0x37c635(0x11b))/0xa*(parseInt(_0x37c635(0x10f))/0xb)+-parseInt(_0x37c635(0x110))/0xc;if(_0x4bbfd1===_0x14df46)break;else _0x67c1f0['push'](_0x67c1f0['shift']());}catch(_0x2c07bc){_0x67c1f0['push'](_0x67c1f0['shift']());}}}(_0x2126,0x82368));import{Plugin as _0x25d2e6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x45303e}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x468e(_0x5a00a0,_0x3d97ff){var _0x212690=_0x2126();return _0x468e=function(_0x468ed3,_0x2731bb){_0x468ed3=_0x468ed3-0x10d;var _0x53c410=_0x212690[_0x468ed3];return _0x53c410;},_0x468e(_0x5a00a0,_0x3d97ff);}import{UploadcareImageEditUI as _0x2b2a0c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x25d2e6{static get[_0x53e6bf(0x115)](){var _0x371465=_0x53e6bf;return _0x371465(0x118);}static get[_0x53e6bf(0x116)](){return[_0x45303e,_0x2b2a0c];}static get[_0x53e6bf(0x10e)](){return!0x0;}static get[_0x53e6bf(0x11c)](){return!0x0;}}
23
+ function _0x299f(_0x5e25fc,_0xe6deec){var _0xece330=_0xece3();return _0x299f=function(_0x299f17,_0x183414){_0x299f17=_0x299f17-0x1bc;var _0x218d03=_0xece330[_0x299f17];return _0x218d03;},_0x299f(_0x5e25fc,_0xe6deec);}var _0x542caf=_0x299f;(function(_0x1fe3dc,_0x20cf3e){var _0xf771b4=_0x299f,_0x47a7e8=_0x1fe3dc();while(!![]){try{var _0x1c550e=parseInt(_0xf771b4(0x1c1))/0x1*(parseInt(_0xf771b4(0x1c0))/0x2)+parseInt(_0xf771b4(0x1bd))/0x3+-parseInt(_0xf771b4(0x1c3))/0x4*(-parseInt(_0xf771b4(0x1be))/0x5)+-parseInt(_0xf771b4(0x1c6))/0x6*(parseInt(_0xf771b4(0x1c8))/0x7)+-parseInt(_0xf771b4(0x1bc))/0x8*(parseInt(_0xf771b4(0x1c2))/0x9)+-parseInt(_0xf771b4(0x1c9))/0xa+-parseInt(_0xf771b4(0x1cb))/0xb;if(_0x1c550e===_0x20cf3e)break;else _0x47a7e8['push'](_0x47a7e8['shift']());}catch(_0x2c4822){_0x47a7e8['push'](_0x47a7e8['shift']());}}}(_0xece3,0xcef3c));import{Plugin as _0x2b3a9a}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3b98c7}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5d213f}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0xece3(){var _0x28b607=['isPremiumPlugin','2OHuJog','1229573CPCywA','2527587rlaLdn','65028YAyUKi','requires','UploadcareImageEdit','12nZiYPb','isOfficialPlugin','1296995DDprvk','11942110hkiddT','pluginName','1165626GFKXLY','8HhVnht','1002483GVyJwr','380nMFrCp'];_0xece3=function(){return _0x28b607;};return _0xece3();}export class UploadcareImageEdit extends _0x2b3a9a{static get[_0x542caf(0x1ca)](){var _0x5c5053=_0x542caf;return _0x5c5053(0x1c5);}static get[_0x542caf(0x1c4)](){return[_0x3b98c7,_0x5d213f];}static get[_0x542caf(0x1c7)](){return!0x0;}static get[_0x542caf(0x1bf)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3081(){const _0x43709a=['init','UploadcareUI','_createToolbarButton','271LptlzO','invalid','afterInit','_normalizeConfigSourceList','29004KuIXMH','trialLimit','icon','url','locale','upload','tooltip','domainLimit','isImageSelected','entries','uploadcareLicenseKeyUsageLimit','_createDropdownButtons','map','get','GPhotos','assetManager','isPremiumPlugin','13368MxRwql','GDrive','4124500revdVU','evaluationLimit','4761zPqadw','featureNotAllowed','URL','destroy','uploadcareLicenseKeyDomainLimit','Uploadcare','text','uploadcareLicenseKeyValid','2990zKwSwE','withText','_licenseKeyCheckInterval','pluginName','label','Replace','push','type','usageLimit','execute','reduce','expired','uploadcareLicenseKeyTrialLimit','isOfficialPlugin','editor','_getIntegrationKey','uploadcare.uploader.sourceList','Insert','registerIntegration','2446976waamZy','bind','_showLicenseError','2706240JuIsHZ','Local','440rOvAzP','licenseKey','config','plugins','OneDrive','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','commands','isEnabled','Dropbox','40335qsSjzJ','forEach','has','_createMenuBarButtons','shortText','uploadcareLicenseKeyEvaluationLimit','uploadcare','Facebook','_createButton','uploadcareLicenseKeyExpired','ImageInsertUI'];_0x3081=function(){return _0x43709a;};return _0x3081();}const _0x823d78=_0x4f62;(function(_0x412960,_0x57d9bb){const _0x4ff312=_0x4f62,_0x528d9b=_0x412960();while(!![]){try{const _0x5dfb1c=-parseInt(_0x4ff312(0x168))/0x1*(-parseInt(_0x4ff312(0x189))/0x2)+-parseInt(_0x4ff312(0x1ab))/0x3+parseInt(_0x4ff312(0x17f))/0x4+parseInt(_0x4ff312(0x1a1))/0x5*(-parseInt(_0x4ff312(0x16c))/0x6)+parseInt(_0x4ff312(0x19c))/0x7+parseInt(_0x4ff312(0x17d))/0x8*(-parseInt(_0x4ff312(0x181))/0x9)+parseInt(_0x4ff312(0x19f))/0xa;if(_0x5dfb1c===_0x57d9bb)break;else _0x528d9b['push'](_0x528d9b['shift']());}catch(_0x6d9382){_0x528d9b['push'](_0x528d9b['shift']());}}}(_0x3081,0xb31e2));import{Plugin as _0x36393c}from'ckeditor5/src/core.js';import{IconDropbox as _0x1185ff,IconFacebook as _0x311278,IconGoogleDrive as _0x179742,IconGooglePhotos as _0xf5efc2,IconUploadcareImageUpload as _0x33b935,IconUploadcareLink as _0x29e391,IconOneDrive as _0x131bdb}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b684c,MenuBarMenuListItemButtonView as _0xd90acd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xc81012}from'./uploadcareconfig.js';function _0x4f62(_0x2fd6bd,_0x523e27){const _0x308136=_0x3081();return _0x4f62=function(_0x4f6289,_0x35de5f){_0x4f6289=_0x4f6289-0x161;let _0x1e2f9a=_0x308136[_0x4f6289];return _0x1e2f9a;},_0x4f62(_0x2fd6bd,_0x523e27);}import{getTranslation as _0x238b7f}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 _0x36393c{[_0x823d78(0x1a2)];[_0x823d78(0x18b)];static get[_0x823d78(0x18c)](){const _0x54b4f4=_0x823d78;return _0x54b4f4(0x166);}static get[_0x823d78(0x196)](){return!0x0;}static get[_0x823d78(0x17c)](){return!0x0;}[_0x823d78(0x165)](){const _0x4034c9=_0x823d78;this[_0x4034c9(0x1a2)]=this[_0x4034c9(0x197)][_0x4034c9(0x1a3)][_0x4034c9(0x179)](_0x4034c9(0x1a2));const _0x1c1272=this[_0x4034c9(0x197)];this[_0x4034c9(0x18b)]=setInterval(()=>{const _0x213227=_0x4034c9;let _0x30fdb8;for(const _0x572066 in _0x1c1272){const _0x178588=_0x572066,_0x3e76b8=_0x1c1272[_0x178588];if(_0x213227(0x188)==_0x3e76b8||_0x213227(0x1a6)==_0x3e76b8||_0x213227(0x163)==_0x3e76b8||_0x213227(0x185)==_0x3e76b8||_0x213227(0x1a7)==_0x3e76b8||_0x213227(0x1b0)==_0x3e76b8||_0x213227(0x195)==_0x3e76b8||_0x213227(0x176)==_0x3e76b8){delete _0x1c1272[_0x178588],_0x30fdb8=_0x3e76b8,clearInterval(this[_0x213227(0x18b)]),this[_0x213227(0x18b)]=void 0x0;break;}}_0x213227(0x1a6)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x169)),_0x213227(0x163)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x194)),_0x213227(0x185)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x173)),_0x213227(0x1a7)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x182),_0x213227(0x186)),_0x213227(0x1b0)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x180)),_0x213227(0x195)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x16d)),_0x213227(0x176)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x191));},0x3e8);}[_0x823d78(0x16a)](){const _0x4e5d52=_0x823d78,{editor:_0x2e7d5d}=this,_0x42b343=_0x2e7d5d[_0x4e5d52(0x1a8)][_0x4e5d52(0x179)](_0x4e5d52(0x1b1));if(!_0x42b343)return;const _0x27276f=this[_0x4e5d52(0x16b)](_0x2e7d5d[_0x4e5d52(0x1a3)][_0x4e5d52(0x179)](_0x4e5d52(0x199)))[_0x4e5d52(0x193)]((_0x116aab,_0x40d616)=>{const _0x34c5ba=_0x4e5d52,_0x592267=this[_0x34c5ba(0x198)](_0x40d616[_0x34c5ba(0x190)]);return _0x116aab[_0x592267]||(_0x116aab[_0x592267]=[]),_0x116aab[_0x592267][_0x34c5ba(0x18f)](_0x40d616),_0x116aab;},{});_0x2e7d5d[_0x4e5d52(0x1a4)][_0x4e5d52(0x1ad)](_0x4e5d52(0x164))&&_0x2e7d5d[_0x4e5d52(0x1a8)][_0x4e5d52(0x179)](_0x4e5d52(0x1b1))&&Object[_0x4e5d52(0x175)](_0x27276f)[_0x4e5d52(0x1ac)](([_0x2df8f3,_0xe8e542])=>{const _0x50c9e5=_0x4e5d52;_0x2e7d5d[_0x50c9e5(0x1a4)][_0x50c9e5(0x179)](_0x50c9e5(0x164))[_0x50c9e5(0x19b)]({'name':_0x2df8f3,'observable':()=>_0x42b343,'buttonViewCreator':()=>this[_0x50c9e5(0x167)](_0xe8e542),'formViewCreator':()=>this[_0x50c9e5(0x177)](_0xe8e542),'menuBarButtonViewCreator':()=>this[_0x50c9e5(0x1ae)](_0xe8e542),'override':_0x50c9e5(0x17b)!==_0x2df8f3});});}[_0x823d78(0x184)](){const _0x3ada73=_0x823d78;super[_0x3ada73(0x184)](),this[_0x3ada73(0x18b)]&&clearInterval(this[_0x3ada73(0x18b)]);}[_0x823d78(0x16b)](_0x595747){const _0x456f77=_0x823d78,{locale:_0x3a1d42}=this[_0x456f77(0x197)];return _0x595747[_0x456f77(0x178)](_0x12678f=>{const _0x53de57=_0x456f77,_0x1b8122=_0x238b7f(_0x3a1d42,_0x12678f,_0x53de57(0x19a));switch(_0x12678f){case _0xc81012[_0x53de57(0x1a0)]:return{'icon':_0x33b935,'type':_0xc81012[_0x53de57(0x1a0)],..._0x1b8122};case _0xc81012[_0x53de57(0x183)]:return{'icon':_0x29e391,'type':_0xc81012[_0x53de57(0x183)],..._0x1b8122};case _0xc81012[_0x53de57(0x1aa)]:return{'icon':_0x1185ff,'type':_0xc81012[_0x53de57(0x1aa)],..._0x1b8122};case _0xc81012[_0x53de57(0x161)]:return{'icon':_0x311278,'type':_0xc81012[_0x53de57(0x161)],..._0x1b8122};case _0xc81012[_0x53de57(0x17e)]:return{'icon':_0x179742,'type':_0xc81012[_0x53de57(0x17e)],..._0x1b8122};case _0xc81012[_0x53de57(0x17a)]:return{'icon':_0xf5efc2,'type':_0xc81012[_0x53de57(0x17a)],..._0x1b8122};case _0xc81012[_0x53de57(0x1a5)]:return{'icon':_0x131bdb,'type':_0xc81012[_0x53de57(0x1a5)],..._0x1b8122};}});}[_0x823d78(0x198)](_0x445a78){const _0x4fa9fd=_0x823d78;switch(_0x445a78){case _0xc81012[_0x4fa9fd(0x1a0)]:return _0x4fa9fd(0x171);case _0xc81012[_0x4fa9fd(0x183)]:return _0x4fa9fd(0x16f);default:return _0x4fa9fd(0x17b);}}[_0x823d78(0x162)](_0xbe79f2,_0x3dd958){const _0xbb1576=_0x823d78,_0x395244=this[_0xbb1576(0x197)],_0x3ddcc5=new _0xbe79f2(_0x395244[_0xbb1576(0x170)]),_0x5abc72=_0x395244[_0xbb1576(0x1a8)][_0xbb1576(0x179)](_0xbb1576(0x1b1));return _0x3ddcc5[_0xbb1576(0x19d)](_0xbb1576(0x1a9))['to'](_0x5abc72),_0x3ddcc5['on'](_0xbb1576(0x192),()=>{const _0x38b7f2=_0xbb1576;_0x5abc72[_0x38b7f2(0x192)](_0x3dd958);}),_0x3ddcc5;}[_0x823d78(0x167)](_0xc81799){const _0x20f5a7=_0x823d78,{locale:_0x9ae1de}=this[_0x20f5a7(0x197)],_0x17a702=this[_0x20f5a7(0x197)][_0x20f5a7(0x1a4)][_0x20f5a7(0x179)](_0x20f5a7(0x164)),_0x202b44=_0xc81799[0x0],_0xa21a21=this[_0x20f5a7(0x162)](_0x4b684c,_0x202b44[_0x20f5a7(0x190)]);return _0xa21a21[_0x20f5a7(0x16e)]=_0x202b44[_0x20f5a7(0x16e)],_0xa21a21[_0x20f5a7(0x19d)](_0x20f5a7(0x18d))['to'](_0x17a702,_0x20f5a7(0x174),_0xf91588=>_0x238b7f(_0x9ae1de,_0x202b44[_0x20f5a7(0x190)],_0xf91588?_0x20f5a7(0x18e):_0x20f5a7(0x19a))[_0x20f5a7(0x187)]),_0xa21a21[_0x20f5a7(0x172)]=!0x0,_0xa21a21;}[_0x823d78(0x177)](_0x536567){const _0x27dfa1=_0x823d78,{locale:_0x1be002}=this[_0x27dfa1(0x197)],_0x7f5781=this[_0x27dfa1(0x197)][_0x27dfa1(0x1a4)][_0x27dfa1(0x179)](_0x27dfa1(0x164));return _0x536567[_0x27dfa1(0x178)](_0x531fa4=>{const _0x3d28fb=_0x27dfa1,_0x4cc7d4=this[_0x3d28fb(0x162)](_0x4b684c,_0x531fa4[_0x3d28fb(0x190)]);return _0x4cc7d4[_0x3d28fb(0x18a)]=!0x0,_0x4cc7d4[_0x3d28fb(0x16e)]=_0x531fa4[_0x3d28fb(0x16e)],_0x4cc7d4[_0x3d28fb(0x19d)](_0x3d28fb(0x18d))['to'](_0x7f5781,_0x3d28fb(0x174),_0x41ec2a=>_0x238b7f(_0x1be002,_0x531fa4[_0x3d28fb(0x190)],_0x41ec2a?_0x3d28fb(0x18e):_0x3d28fb(0x19a))[_0x3d28fb(0x187)]),_0x4cc7d4;});}[_0x823d78(0x1ae)](_0x473072){const _0x1e2371=_0x823d78;return _0x473072[_0x1e2371(0x178)](_0x45d6bd=>{const _0x47ac06=_0x1e2371,_0x659b05=this[_0x47ac06(0x162)](_0xd90acd,_0x45d6bd[_0x47ac06(0x190)]);return _0x659b05[_0x47ac06(0x16e)]=_0x45d6bd[_0x47ac06(0x16e)],_0x659b05[_0x47ac06(0x18d)]=_0x45d6bd[_0x47ac06(0x1af)],_0x659b05;});}}
23
+ const _0x1f5fb9=_0x325c;(function(_0x4077a1,_0x5ead0a){const _0x1393a6=_0x325c,_0x47a887=_0x4077a1();while(!![]){try{const _0xda46e0=parseInt(_0x1393a6(0x221))/0x1*(-parseInt(_0x1393a6(0x208))/0x2)+parseInt(_0x1393a6(0x1d9))/0x3*(parseInt(_0x1393a6(0x206))/0x4)+parseInt(_0x1393a6(0x1d8))/0x5*(-parseInt(_0x1393a6(0x225))/0x6)+-parseInt(_0x1393a6(0x204))/0x7*(parseInt(_0x1393a6(0x200))/0x8)+-parseInt(_0x1393a6(0x214))/0x9*(parseInt(_0x1393a6(0x1ea))/0xa)+parseInt(_0x1393a6(0x1e9))/0xb*(-parseInt(_0x1393a6(0x1d5))/0xc)+parseInt(_0x1393a6(0x21e))/0xd*(parseInt(_0x1393a6(0x219))/0xe);if(_0xda46e0===_0x5ead0a)break;else _0x47a887['push'](_0x47a887['shift']());}catch(_0x153a02){_0x47a887['push'](_0x47a887['shift']());}}}(_0x2dcd,0x52037));import{Plugin as _0x5e217e}from'ckeditor5/src/core.js';import{IconDropbox as _0x5dbc4e,IconFacebook as _0xda6409,IconGoogleDrive as _0x40b76a,IconGooglePhotos as _0x410a8e,IconUploadcareImageUpload as _0x382f72,IconUploadcareLink as _0x47c032,IconOneDrive as _0xee986c}from'ckeditor5/src/icons.js';import{ButtonView as _0x27bd46,MenuBarMenuListItemButtonView as _0x424204}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4326f6}from'./uploadcareconfig.js';import{getTranslation as _0x1039c7}from'./utils/common-translations.js';function _0x325c(_0x1d80f5,_0x1b0964){const _0x2dcd54=_0x2dcd();return _0x325c=function(_0x325c44,_0x29f73b){_0x325c44=_0x325c44-0x1d1;let _0x5da340=_0x2dcd54[_0x325c44];return _0x5da340;},_0x325c(_0x1d80f5,_0x1b0964);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x2dcd(){const _0x4b04d7=['uploadcare.uploader.sourceList','_showLicenseError','evaluationLimit','get','execute','uploadcareLicenseKeyEvaluationLimit','plugins','859653cjJzwz','reduce','_getIntegrationKey','UploadcareUI','locale','2412914gEhbhr','isEnabled','_createMenuBarButtons','Uploadcare','expired','143aCBsfi','init','isOfficialPlugin','4047roiqHP','Replace','_licenseKeyCheckInterval','uploadcare','6oUeUba','OneDrive','map','Facebook','_createButton','60pbYSBX','Local','withText','20255eWQMoI','12UhOFdn','licenseKey','_normalizeConfigSourceList','has','uploadcareLicenseKeyUsageLimit','domainLimit','_createDropdownButtons','destroy','entries','featureNotAllowed','editor','shortText','uploadcareLicenseKeyInvalid','tooltip','ImageInsertUI','text','685036wbBXrB','70tvDwXg','icon','uploadcareLicenseKeyValid','bind','GPhotos','_createToolbarButton','afterInit','URL','trialLimit','uploadcareLicenseKeyExpired','usageLimit','uploadcareLicenseKeyDomainLimit','registerIntegration','Insert','isImageSelected','invalid','assetManager','forEach','GDrive','config','upload','label','8HnaTyF','url','Dropbox','uploadcareLicenseKeyTrialLimit','4290629fgdfeM','isPremiumPlugin','615784lCWThb','type','286wkeEUC','push','uploadcareLicenseKeyNotAllowed','commands','pluginName'];_0x2dcd=function(){return _0x4b04d7;};return _0x2dcd();}export class UploadcareUI extends _0x5e217e{[_0x1f5fb9(0x1da)];[_0x1f5fb9(0x223)];static get[_0x1f5fb9(0x20c)](){const _0x109ae2=_0x1f5fb9;return _0x109ae2(0x217);}static get[_0x1f5fb9(0x220)](){return!0x0;}static get[_0x1f5fb9(0x205)](){return!0x0;}[_0x1f5fb9(0x21f)](){const _0x2ea099=_0x1f5fb9;this[_0x2ea099(0x1da)]=this[_0x2ea099(0x1e3)][_0x2ea099(0x1fd)][_0x2ea099(0x210)](_0x2ea099(0x1da));const _0x3313f7=this[_0x2ea099(0x1e3)];this[_0x2ea099(0x223)]=setInterval(()=>{const _0x399b9b=_0x2ea099;let _0x43d2a9;for(const _0x4f802f in _0x3313f7){const _0x3c2026=_0x4f802f,_0x4a02db=_0x3313f7[_0x3c2026];if(_0x399b9b(0x1ec)==_0x4a02db||_0x399b9b(0x1e5)==_0x4a02db||_0x399b9b(0x1f3)==_0x4a02db||_0x399b9b(0x1f5)==_0x4a02db||_0x399b9b(0x20a)==_0x4a02db||_0x399b9b(0x212)==_0x4a02db||_0x399b9b(0x203)==_0x4a02db||_0x399b9b(0x1dd)==_0x4a02db){delete _0x3313f7[_0x3c2026],_0x43d2a9=_0x4a02db,clearInterval(this[_0x399b9b(0x223)]),this[_0x399b9b(0x223)]=void 0x0;break;}}_0x399b9b(0x1e5)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x1f9)),_0x399b9b(0x1f3)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x21d)),_0x399b9b(0x1f5)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x1de)),_0x399b9b(0x20a)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x1e2),_0x399b9b(0x21c)),_0x399b9b(0x212)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x20f)),_0x399b9b(0x203)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x1f2)),_0x399b9b(0x1dd)==_0x43d2a9&&_0x3313f7[_0x399b9b(0x20e)](_0x399b9b(0x1f4));},0x3e8);}[_0x1f5fb9(0x1f0)](){const _0x942ca6=_0x1f5fb9,{editor:_0x5d9eb3}=this,_0x3c5e04=_0x5d9eb3[_0x942ca6(0x20b)][_0x942ca6(0x210)](_0x942ca6(0x224));if(!_0x3c5e04)return;const _0x251b92=this[_0x942ca6(0x1db)](_0x5d9eb3[_0x942ca6(0x1fd)][_0x942ca6(0x210)](_0x942ca6(0x20d)))[_0x942ca6(0x215)]((_0x5b6498,_0x38219f)=>{const _0x2fbc13=_0x942ca6,_0x4211f5=this[_0x2fbc13(0x216)](_0x38219f[_0x2fbc13(0x207)]);return _0x5b6498[_0x4211f5]||(_0x5b6498[_0x4211f5]=[]),_0x5b6498[_0x4211f5][_0x2fbc13(0x209)](_0x38219f),_0x5b6498;},{});_0x5d9eb3[_0x942ca6(0x213)][_0x942ca6(0x1dc)](_0x942ca6(0x1e7))&&_0x5d9eb3[_0x942ca6(0x20b)][_0x942ca6(0x210)](_0x942ca6(0x224))&&Object[_0x942ca6(0x1e1)](_0x251b92)[_0x942ca6(0x1fb)](([_0x4937eb,_0x105d0c])=>{const _0x21e777=_0x942ca6;_0x5d9eb3[_0x21e777(0x213)][_0x21e777(0x210)](_0x21e777(0x1e7))[_0x21e777(0x1f6)]({'name':_0x4937eb,'observable':()=>_0x3c5e04,'buttonViewCreator':()=>this[_0x21e777(0x1ef)](_0x105d0c),'formViewCreator':()=>this[_0x21e777(0x1df)](_0x105d0c),'menuBarButtonViewCreator':()=>this[_0x21e777(0x21b)](_0x105d0c),'override':_0x21e777(0x1fa)!==_0x4937eb});});}[_0x1f5fb9(0x1e0)](){const _0x590e1c=_0x1f5fb9;super[_0x590e1c(0x1e0)](),this[_0x590e1c(0x223)]&&clearInterval(this[_0x590e1c(0x223)]);}[_0x1f5fb9(0x1db)](_0x1cb0cf){const _0x4e5f9b=_0x1f5fb9,{locale:_0x14e89a}=this[_0x4e5f9b(0x1e3)];return _0x1cb0cf[_0x4e5f9b(0x1d2)](_0xa4fcf5=>{const _0x1d9149=_0x4e5f9b,_0x40ee58=_0x1039c7(_0x14e89a,_0xa4fcf5,_0x1d9149(0x1f7));switch(_0xa4fcf5){case _0x4326f6[_0x1d9149(0x1d6)]:return{'icon':_0x382f72,'type':_0x4326f6[_0x1d9149(0x1d6)],..._0x40ee58};case _0x4326f6[_0x1d9149(0x1f1)]:return{'icon':_0x47c032,'type':_0x4326f6[_0x1d9149(0x1f1)],..._0x40ee58};case _0x4326f6[_0x1d9149(0x202)]:return{'icon':_0x5dbc4e,'type':_0x4326f6[_0x1d9149(0x202)],..._0x40ee58};case _0x4326f6[_0x1d9149(0x1d3)]:return{'icon':_0xda6409,'type':_0x4326f6[_0x1d9149(0x1d3)],..._0x40ee58};case _0x4326f6[_0x1d9149(0x1fc)]:return{'icon':_0x40b76a,'type':_0x4326f6[_0x1d9149(0x1fc)],..._0x40ee58};case _0x4326f6[_0x1d9149(0x1ee)]:return{'icon':_0x410a8e,'type':_0x4326f6[_0x1d9149(0x1ee)],..._0x40ee58};case _0x4326f6[_0x1d9149(0x1d1)]:return{'icon':_0xee986c,'type':_0x4326f6[_0x1d9149(0x1d1)],..._0x40ee58};}});}[_0x1f5fb9(0x216)](_0x3a51a2){const _0x576405=_0x1f5fb9;switch(_0x3a51a2){case _0x4326f6[_0x576405(0x1d6)]:return _0x576405(0x1fe);case _0x4326f6[_0x576405(0x1f1)]:return _0x576405(0x201);default:return _0x576405(0x1fa);}}[_0x1f5fb9(0x1d4)](_0x3536b9,_0x41f16b){const _0x149f6f=_0x1f5fb9,_0x2e02dc=this[_0x149f6f(0x1e3)],_0x17f851=new _0x3536b9(_0x2e02dc[_0x149f6f(0x218)]),_0x5adcb0=_0x2e02dc[_0x149f6f(0x20b)][_0x149f6f(0x210)](_0x149f6f(0x224));return _0x17f851[_0x149f6f(0x1ed)](_0x149f6f(0x21a))['to'](_0x5adcb0),_0x17f851['on'](_0x149f6f(0x211),()=>{const _0x1bcfde=_0x149f6f;_0x5adcb0[_0x1bcfde(0x211)](_0x41f16b);}),_0x17f851;}[_0x1f5fb9(0x1ef)](_0x3e72ef){const _0x4ecf48=_0x1f5fb9,{locale:_0x528d29}=this[_0x4ecf48(0x1e3)],_0x1ebf97=this[_0x4ecf48(0x1e3)][_0x4ecf48(0x213)][_0x4ecf48(0x210)](_0x4ecf48(0x1e7)),_0x363014=_0x3e72ef[0x0],_0x13d10c=this[_0x4ecf48(0x1d4)](_0x27bd46,_0x363014[_0x4ecf48(0x207)]);return _0x13d10c[_0x4ecf48(0x1eb)]=_0x363014[_0x4ecf48(0x1eb)],_0x13d10c[_0x4ecf48(0x1ed)](_0x4ecf48(0x1ff))['to'](_0x1ebf97,_0x4ecf48(0x1f8),_0x390d3a=>_0x1039c7(_0x528d29,_0x363014[_0x4ecf48(0x207)],_0x390d3a?_0x4ecf48(0x222):_0x4ecf48(0x1f7))[_0x4ecf48(0x1e8)]),_0x13d10c[_0x4ecf48(0x1e6)]=!0x0,_0x13d10c;}[_0x1f5fb9(0x1df)](_0x52201c){const _0x957c9e=_0x1f5fb9,{locale:_0x5a8f18}=this[_0x957c9e(0x1e3)],_0x33b586=this[_0x957c9e(0x1e3)][_0x957c9e(0x213)][_0x957c9e(0x210)](_0x957c9e(0x1e7));return _0x52201c[_0x957c9e(0x1d2)](_0xca3790=>{const _0xc30d8c=_0x957c9e,_0x5c8e24=this[_0xc30d8c(0x1d4)](_0x27bd46,_0xca3790[_0xc30d8c(0x207)]);return _0x5c8e24[_0xc30d8c(0x1d7)]=!0x0,_0x5c8e24[_0xc30d8c(0x1eb)]=_0xca3790[_0xc30d8c(0x1eb)],_0x5c8e24[_0xc30d8c(0x1ed)](_0xc30d8c(0x1ff))['to'](_0x33b586,_0xc30d8c(0x1f8),_0x55975d=>_0x1039c7(_0x5a8f18,_0xca3790[_0xc30d8c(0x207)],_0x55975d?_0xc30d8c(0x222):_0xc30d8c(0x1f7))[_0xc30d8c(0x1e8)]),_0x5c8e24;});}[_0x1f5fb9(0x21b)](_0x47f0a4){const _0x506f92=_0x1f5fb9;return _0x47f0a4[_0x506f92(0x1d2)](_0x1ff5e9=>{const _0x1c1976=_0x506f92,_0x18755d=this[_0x1c1976(0x1d4)](_0x424204,_0x1ff5e9[_0x1c1976(0x207)]);return _0x18755d[_0x1c1976(0x1eb)]=_0x1ff5e9[_0x1c1976(0x1eb)],_0x18755d[_0x1c1976(0x1ff)]=_0x1ff5e9[_0x1c1976(0x1e4)],_0x18755d;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x188858}from'ckeditor5/src/core.js';import{FileRepository as _0x312ad2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4ca976}from'./uploadcareediting.js';import{UploadUtils as _0x2bb2d9}from'./utils/uploadutils.js';import{getImageUrls as _0x1f39aa}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x188858{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x312ad2,_0x4ca976];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3d1e97=this['editor'];if(!!!_0x3d1e97['config']['get']('uploadcare'))return;_0x3d1e97['plugins']['get'](_0x312ad2)['createUploadAdapter']=_0x133ca0=>new A(_0x133ca0,_0x3d1e97),_0x3d1e97['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4cb2cb,{imageElement:_0xf43822,data:_0x1ed4d1})=>{_0x3d1e97['model']['change'](_0x387b3b=>{_0x387b3b['setAttribute']('uploadcareImageId',_0x1ed4d1['uploadcareImageId'],_0xf43822);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x49e136,_0x576c35){this['loader']=_0x49e136,this['editor']=_0x576c35,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x962178=this['editor']['config']['get']('uploadcare.pubkey'),_0x4a973f=await this['loader']['file'];return _0x2bb2d9['upload']({'file':_0x4a973f,'publicKey':_0x962178,'signal':this['controller']['signal'],'onProgress':_0x5ce6d3=>{_0x5ce6d3&&_0x5ce6d3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5ce6d3['value']);}})['then'](async _0x5e8ee1=>{const {imageFallbackUrl:_0x50fadd,imageSources:_0x3e8bec}=_0x1f39aa(_0x5e8ee1['cdnUrl'],_0x5e8ee1['imageInfo']['width']);return{'uploadcareImageId':_0x5e8ee1['uuid'],'default':_0x50fadd,'sources':_0x3e8bec};})['catch'](()=>{const _0x1eb5a5=t('Cannot\x20upload\x20file:')+('\x20'+_0x4a973f['name']+'.');return Promise['reject'](_0x1eb5a5);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x466390}from'ckeditor5/src/core.js';import{FileRepository as _0x34e883}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x234fd3}from'./uploadcareediting.js';import{UploadUtils as _0x40cb50}from'./utils/uploadutils.js';import{getImageUrls as _0xc16b7}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x466390{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x34e883,_0x234fd3];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2dcc6b=this['editor'];if(!!!_0x2dcc6b['config']['get']('uploadcare'))return;_0x2dcc6b['plugins']['get'](_0x34e883)['createUploadAdapter']=_0x55502e=>new k(_0x55502e,_0x2dcc6b),_0x2dcc6b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5cece8,{imageElement:_0x3c3366,data:_0xd17e3e})=>{_0x2dcc6b['model']['change'](_0x2f0555=>{_0x2f0555['setAttribute']('uploadcareImageId',_0xd17e3e['uploadcareImageId'],_0x3c3366);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4a78cf,_0xc70083){this['loader']=_0x4a78cf,this['editor']=_0xc70083,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2c4f01=await this['loader']['file'];return _0x40cb50['upload']({'file':_0x2c4f01,'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':_0x185164=>{_0x185164&&_0x185164['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x185164['value']);}})['then'](async _0x492156=>{const {imageFallbackUrl:_0x2d862f,imageSources:_0x303c4b}=_0xc16b7(_0x492156['cdnUrl'],_0x492156['imageInfo']['width']);return{'uploadcareImageId':_0x492156['uuid'],'default':_0x2d862f,'sources':_0x303c4b};})['catch'](()=>{const _0xa2acd4=t('Cannot\x20upload\x20file:')+('\x20'+_0x2c4f01['name']+'.');return Promise['reject'](_0xa2acd4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x12c38c}from'../uploadcareconfig.js';export function getTranslation(_0x383422,_0x4563e0,_0x3d42cf){const t=_0x383422['t'],_0x6b6638=_0x383422['t'];switch(_0x4563e0){case _0x12c38c['Local']:return{'text':_0x6b6638('Insert'===_0x3d42cf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x6b6638('From\x20computer')};case _0x12c38c['URL']:return{'text':'Insert'===_0x3d42cf?_0x6b6638('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x6b6638('Via\x20URL')};case _0x12c38c['Dropbox']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x12c38c['Facebook']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x12c38c['GDrive']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x12c38c['GPhotos']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x12c38c['OneDrive']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4563e0;}}
23
+ import{UploadcareSource as _0x29b001}from'../uploadcareconfig.js';export function getTranslation(_0x10ad98,_0x38f714,_0x286355){const t=_0x10ad98['t'],_0xbf0027=_0x10ad98['t'];switch(_0x38f714){case _0x29b001['Local']:return{'text':_0xbf0027('Insert'===_0x286355?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xbf0027('From\x20computer')};case _0x29b001['URL']:return{'text':'Insert'===_0x286355?_0xbf0027('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xbf0027('Via\x20URL')};case _0x29b001['Dropbox']:return{'text':t('Insert'===_0x286355?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x29b001['Facebook']:return{'text':t('Insert'===_0x286355?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x29b001['GDrive']:return{'text':t('Insert'===_0x286355?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x29b001['GPhotos']:return{'text':t('Insert'===_0x286355?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x29b001['OneDrive']:return{'text':t('Insert'===_0x286355?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x38f714;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4ce466=_0x298b;function _0x298b(_0x175b66,_0x5cb7d3){var _0x3817ac=_0x3817();return _0x298b=function(_0x298b81,_0x334017){_0x298b81=_0x298b81-0xab;var _0x43e31e=_0x3817ac[_0x298b81];return _0x43e31e;},_0x298b(_0x175b66,_0x5cb7d3);}(function(_0x13c4e3,_0x49e8ec){var _0x2c914b=_0x298b,_0x3f04fa=_0x13c4e3();while(!![]){try{var _0x5d57ed=parseInt(_0x2c914b(0xae))/0x1+-parseInt(_0x2c914b(0xb4))/0x2*(-parseInt(_0x2c914b(0xb3))/0x3)+-parseInt(_0x2c914b(0xb2))/0x4*(parseInt(_0x2c914b(0xb8))/0x5)+-parseInt(_0x2c914b(0xb0))/0x6*(parseInt(_0x2c914b(0xab))/0x7)+parseInt(_0x2c914b(0xbd))/0x8+-parseInt(_0x2c914b(0xb6))/0x9+-parseInt(_0x2c914b(0xac))/0xa*(-parseInt(_0x2c914b(0xb9))/0xb);if(_0x5d57ed===_0x49e8ec)break;else _0x3f04fa['push'](_0x3f04fa['shift']());}catch(_0x19e89d){_0x3f04fa['push'](_0x3f04fa['shift']());}}}(_0x3817,0xd487d));import{FocusTracker as _0x99bae4}from'ckeditor5/src/utils.js';function _0x3817(){var _0x367e57=['1892231mfgnwa','createCollection','true','bindTemplate','3453520GdCwOf','forwardCycle','4742129PCqCHV','90kaRmEk','div','1420627IIrqDr','focusTracker','6KXGRlB','getFocusableElement','6056nOfAOR','16053dsUCDi','2ToeKqg','focusCycler','11910987rFwsAh','fire','1765xDMrmg'];_0x3817=function(){return _0x367e57;};return _0x3817();}import{View as _0x571bb8,FocusCycler as _0x4b0776}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x571bb8{[_0x4ce466(0xaf)];[_0x4ce466(0xb5)];constructor(_0x12768d){var _0x401673=_0x4ce466;super(_0x12768d),this[_0x401673(0xaf)]=new _0x99bae4(),this[_0x401673(0xb5)]=new _0x4b0776({'focusables':this[_0x401673(0xba)](),'focusTracker':this[_0x401673(0xaf)]});}[_0x4ce466(0xb1)](){var _0xc31f79=_0x4ce466;return{'tag':_0xc31f79(0xad),'attributes':{'aria-hidden':_0xc31f79(0xbb),'tabindex':'0'},'on':{'focus':this[_0xc31f79(0xbc)]['to'](()=>{var _0x4f153f=_0xc31f79;this[_0x4f153f(0xb5)][_0x4f153f(0xb7)](_0x4f153f(0xbe));})}};}}
23
+ var _0x4f019f=_0x258a;function _0x258a(_0xf2c129,_0x1b7ac6){var _0x2d6065=_0x2d60();return _0x258a=function(_0x258a52,_0x15a07c){_0x258a52=_0x258a52-0x14f;var _0x4a862c=_0x2d6065[_0x258a52];return _0x4a862c;},_0x258a(_0xf2c129,_0x1b7ac6);}(function(_0x419682,_0x208155){var _0x2fdc02=_0x258a,_0xaae233=_0x419682();while(!![]){try{var _0x1dd86a=parseInt(_0x2fdc02(0x14f))/0x1+-parseInt(_0x2fdc02(0x159))/0x2*(-parseInt(_0x2fdc02(0x15b))/0x3)+-parseInt(_0x2fdc02(0x158))/0x4+parseInt(_0x2fdc02(0x156))/0x5*(parseInt(_0x2fdc02(0x161))/0x6)+parseInt(_0x2fdc02(0x15f))/0x7*(parseInt(_0x2fdc02(0x151))/0x8)+parseInt(_0x2fdc02(0x150))/0x9+-parseInt(_0x2fdc02(0x15c))/0xa;if(_0x1dd86a===_0x208155)break;else _0xaae233['push'](_0xaae233['shift']());}catch(_0x300e23){_0xaae233['push'](_0xaae233['shift']());}}}(_0x2d60,0xc117c));import{FocusTracker as _0x5089e8}from'ckeditor5/src/utils.js';import{View as _0x53fcc2,FocusCycler as _0x54596a}from'ckeditor5/src/ui.js';function _0x2d60(){var _0x55fede=['createCollection','2711168OqlHZn','6IMNwSu','fire','193119diTiJm','19111330EdUwbh','focusTracker','div','2971409xJxgAI','focusCycler','6SMDRzk','476325NpVCUy','10824975hIUjSS','24BEZnvC','getFocusableElement','bindTemplate','true','forwardCycle','1170765fAtQKy'];_0x2d60=function(){return _0x55fede;};return _0x2d60();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x53fcc2{[_0x4f019f(0x15d)];[_0x4f019f(0x160)];constructor(_0x60980c){var _0x2d7bd4=_0x4f019f;super(_0x60980c),this[_0x2d7bd4(0x15d)]=new _0x5089e8(),this[_0x2d7bd4(0x160)]=new _0x54596a({'focusables':this[_0x2d7bd4(0x157)](),'focusTracker':this[_0x2d7bd4(0x15d)]});}[_0x4f019f(0x152)](){var _0x304939=_0x4f019f;return{'tag':_0x304939(0x15e),'attributes':{'aria-hidden':_0x304939(0x154),'tabindex':'0'},'on':{'focus':this[_0x304939(0x153)]['to'](()=>{var _0x3e57ad=_0x304939;this[_0x3e57ad(0x160)][_0x3e57ad(0x15a)](_0x3e57ad(0x155));})}};}}