@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251208.0 → 0.0.0-nightly-next-20251209.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 (176) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/uploadcare.js +2 -2
  3. package/dist/index-editor.css +2 -4
  4. package/dist/index.css +50 -2
  5. package/dist/index.js +3 -3
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/package.json +10 -10
  153. package/src/index.js +1 -1
  154. package/src/ui/uploadcarecontroller.js +2 -2
  155. package/src/ui/uploadcareformview.js +1 -1
  156. package/src/uploadcare.js +1 -1
  157. package/src/uploadcarecommand.js +1 -1
  158. package/src/uploadcareconfig.js +1 -1
  159. package/src/uploadcareediting.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  164. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  168. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  169. package/src/uploadcareimageedit.js +1 -1
  170. package/src/uploadcareui.js +1 -1
  171. package/src/uploadcareuploadadapter.js +1 -1
  172. package/src/utils/common-translations.js +1 -1
  173. package/src/utils/dialogfocusmanagerview.js +1 -1
  174. package/src/utils/editingutils.js +1 -1
  175. package/src/utils/isancestor.js +1 -1
  176. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x137ee7=_0x4af5;(function(_0x17137c,_0x43109b){const _0x484446=_0x4af5,_0x5977c5=_0x17137c();while(!![]){try{const _0x1c2efd=parseInt(_0x484446(0xc8))/0x1*(-parseInt(_0x484446(0xab))/0x2)+-parseInt(_0x484446(0xb7))/0x3+parseInt(_0x484446(0xbb))/0x4*(parseInt(_0x484446(0xc0))/0x5)+parseInt(_0x484446(0x8c))/0x6*(-parseInt(_0x484446(0xbd))/0x7)+parseInt(_0x484446(0xb0))/0x8*(parseInt(_0x484446(0xca))/0x9)+-parseInt(_0x484446(0xac))/0xa+parseInt(_0x484446(0xd6))/0xb*(parseInt(_0x484446(0xc2))/0xc);if(_0x1c2efd===_0x43109b)break;else _0x5977c5['push'](_0x5977c5['shift']());}catch(_0xdc1c0a){_0x5977c5['push'](_0x5977c5['shift']());}}}(_0x3422,0xb8f45));function _0x4af5(_0x1f23d1,_0x38153a){const _0x3422a3=_0x3422();return _0x4af5=function(_0x4af57c,_0x30cd8c){_0x4af57c=_0x4af57c-0x84;let _0xb670ea=_0x3422a3[_0x4af57c];return _0xb670ea;},_0x4af5(_0x1f23d1,_0x38153a);}function _0x3422(){const _0x4c3752=['execute','uploadcareImageReplace','model','3UqUtoO','uc-upload-ctx-provider','9hzZlLE','_initConversion','data-uc-image-id','imageBlock','destroy','join','closeMax','uploadcare.pubkey','iconHrefResolver','_initCtx','conversion','once','33297ItTDED','removeAttribute','render','for','ucContextId','add','_initSchema','_configElement','querySelector','config','_ctxElement','upcast','extend','6dUHcSV','uploader-','get','uc-config','selection','locale','editing','body','schema','isRegistered','remove','\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','init','afterInit','isPremiumPlugin','href','attributeToAttribute','editor','uploadcareImageId','elementToAttribute','true','listenTo','imageInline','pluginName','downcast','#uc-icon-arrow-down','input[uploadcare-file-input]','appendChild','isOfficialPlugin','getAttribute','document','638946tWMNtm','6611640JGAtHG','map','configElement','replaceImageSource','9168360TwgAHI','uploadcare.uploader','PictureEditing','view','uploadcare','_initImageProcessingIndicator','commands','917013NJaLPD','UploadcareEditing','insertImage','requires','4cLYQSe','contentLanguage','10289699szFudR','fromCharCode','cleanupImage','4045685MLEqkI','ctxElement','8712cZsMxq','getSelectedElement','_initConfig'];_0x3422=function(){return _0x4c3752;};return _0x3422();}import{Plugin as _0x33d70f}from'ckeditor5/src/core.js';import{Dialog as _0x1cab83}from'ckeditor5/src/ui.js';import{createElement as _0x57d8fb,global as _0x272902,uid as _0x316133}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2e0385}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xc9a91}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbcbcd3}from'./utils/editingutils.js';export class UploadcareEditing extends _0x33d70f{[_0x137ee7(0x86)]=null;[_0x137ee7(0x89)]=null;static get[_0x137ee7(0xa3)](){const _0x34d96a=_0x137ee7;return _0x34d96a(0xb8);}static get[_0x137ee7(0xba)](){const _0x1dc323=_0x137ee7;return[_0x1dc323(0xb2),_0xc9a91,_0x1cab83];}static get[_0x137ee7(0xa8)](){return!0x0;}static get[_0x137ee7(0x9a)](){return!0x0;}[_0x137ee7(0xda)];get[_0x137ee7(0xae)](){const _0x52b26b=_0x137ee7;return this[_0x52b26b(0x86)];}get[_0x137ee7(0xc1)](){const _0x2c7857=_0x137ee7;return this[_0x2c7857(0x89)];}constructor(_0x1bb7e0){const _0x5a59b2=_0x137ee7;super(_0x1bb7e0),this[_0x5a59b2(0xda)]=_0x316133();}[_0x137ee7(0x98)](){const _0x1b5921=_0x137ee7,_0x68f622=this[_0x1b5921(0x9d)];_0x68f622[_0x1b5921(0xb6)][_0x1b5921(0x84)](_0x1b5921(0xb4),new _0x2e0385(_0x68f622));}[_0x137ee7(0x99)](){const _0x35afde=_0x137ee7;this[_0x35afde(0x85)](),this[_0x35afde(0xcb)](),this[_0x35afde(0xc4)](),this[_0x35afde(0xd3)](),this[_0x35afde(0xb5)](),this[_0x35afde(0xa1)](this[_0x35afde(0x9d)],_0x35afde(0xce),()=>{const _0x548c0f=_0x35afde;this[_0x548c0f(0x86)]&&(this[_0x548c0f(0x86)][_0x548c0f(0x96)](),this[_0x548c0f(0x86)]=null),this[_0x548c0f(0x89)]&&(this[_0x548c0f(0x89)][_0x548c0f(0x96)](),this[_0x548c0f(0x89)]=null);const _0x22d41e=_0x272902[_0x548c0f(0xaa)][_0x548c0f(0x87)](_0x548c0f(0xa6));_0x22d41e&&_0x22d41e[_0x548c0f(0x96)]();}),async function(_0x56f96e){const _0x115cc5=_0x4163a3([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x4be6dd=0x535f8c3a,_0x50b54b=0x5358f76a^_0x4be6dd,_0x424207=window[_0x4163a3([0x44,0x61,0x74,0x65])][_0x4163a3([0x6e,0x6f,0x77])](),_0x57b225=_0x56f96e[_0x4163a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20be01=new window[(_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48648f=>{_0x57b225[_0x4163a3([0x6f,0x6e,0x63,0x65])](_0x4163a3([0x72,0x65,0x61,0x64,0x79]),_0x48648f);}),_0xd61cf5={[_0x4163a3([0x6b,0x74,0x79])]:_0x4163a3([0x45,0x43]),[_0x4163a3([0x75,0x73,0x65])]:_0x4163a3([0x73,0x69,0x67]),[_0x4163a3([0x63,0x72,0x76])]:_0x4163a3([0x50,0x2d,0x32,0x35,0x36]),[_0x4163a3([0x78])]:_0x4163a3([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]),[_0x4163a3([0x79])]:_0x4163a3([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]),[_0x4163a3([0x61,0x6c,0x67])]:_0x4163a3([0x45,0x53,0x32,0x35,0x36])},_0x63b28f=_0x57b225[_0x4163a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4163a3([0x67,0x65,0x74])](_0x4163a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29b9cc(){let _0x1d51a6,_0x575e1f=null,_0x506dec=null;try{if(_0x63b28f==_0x4163a3([0x47,0x50,0x4c]))return _0x4163a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d51a6=_0x50bf9b(),!_0x1d51a6)return _0x4163a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d51a6[_0x4163a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x506dec=_0x2f08c5(_0x1d51a6[_0x4163a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d51a6[_0x4163a3([0x6a,0x74,0x69])])),await _0x1093c3()?_0x239a8d()?_0x33619a()?_0x4163a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1afc6f()?(_0x1d51a6[_0x4163a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4163a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x575e1f=_0x3040ae(_0x4163a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d51a6[_0x4163a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4163a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x575e1f=_0x3040ae(_0x4163a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29b5ce()):_0x4163a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4163a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4163a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4163a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33619a(){const _0x1b7490=[_0x4163a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4163a3([0x74,0x72,0x69,0x61,0x6c])][_0x4163a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d51a6[_0x4163a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x424207/0x3e8:0xe10*_0x50b54b;return _0x1d51a6[_0x4163a3([0x65,0x78,0x70])]<_0x1b7490;}function _0x239a8d(){const _0x1ca8f1=_0x1d51a6[_0x4163a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ca8f1&&(!!_0x1ca8f1[_0x4163a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4163a3([0x2a]))||!!_0x1ca8f1[_0x4163a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4163a3([0x55,0x50,0x4c,0x43])));}function _0x1afc6f(){const _0x4b5b61=_0x4af5,_0x404031=_0x1d51a6[_0x4163a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x404031||0x0==_0x404031[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30bfba}=new URL(window[_0x4163a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b5b61(0x9b)]);if(_0x404031[_0x4163a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30bfba))return!0x0;const _0xbae48f=_0x30bfba[_0x4163a3([0x73,0x70,0x6c,0x69,0x74])](_0x4163a3([0x2e]));return _0x404031[_0x4163a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f6ecd=>_0x1f6ecd[_0x4163a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4163a3([0x2a])))[_0x4163a3([0x6d,0x61,0x70])](_0x367efe=>_0x367efe[_0x4163a3([0x73,0x70,0x6c,0x69,0x74])](_0x4163a3([0x2e])))[_0x4163a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eacc0=>_0x4eacc0[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbae48f[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4163a3([0x6d,0x61,0x70])](_0x5bc6a5=>Array(_0xbae48f[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bc6a5[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4163a3([0x66,0x69,0x6c,0x6c])](_0x5bc6a5[0x0]===_0x4163a3([0x2a])?_0x4163a3([0x2a]):'')[_0x4163a3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bc6a5))[_0x4163a3([0x73,0x6f,0x6d,0x65])](_0x38a0f6=>_0xbae48f[_0x4163a3([0x65,0x76,0x65,0x72,0x79])]((_0x3c4ffd,_0x4a3e0d)=>_0x38a0f6[_0x4a3e0d]===_0x3c4ffd||_0x38a0f6[_0x4a3e0d]===_0x4163a3([0x2a])));}function _0x29b5ce(){return _0x575e1f&&_0x506dec?new window[(_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x193500,_0x3f71a0)=>{_0x575e1f[_0x4163a3([0x74,0x68,0x65,0x6e])](_0x193500,_0x3f71a0),_0x506dec[_0x4163a3([0x74,0x68,0x65,0x6e])](_0x2a7dc2=>{_0x2a7dc2!=_0x4163a3([0x56,0x61,0x6c,0x69,0x64])&&_0x193500(_0x2a7dc2);},_0x3f71a0);}):_0x575e1f||_0x506dec||_0x4163a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f08c5(_0x2ce608,_0x2e5320){return new window[(_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48c6a=>{if(_0x41a8f8())return _0x48c6a(_0x4163a3([0x56,0x61,0x6c,0x69,0x64]));_0x753693(),_0x57b225[_0x4163a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4163a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e9f94=!0x1;const _0x291ea1=_0x316133();function _0x516eb8(_0x16dd62){return!!_0x16dd62&&(typeof _0x16dd62===_0x4163a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16dd62===_0x4163a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16dd62[_0x4163a3([0x74,0x68,0x65,0x6e])]===_0x4163a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16dd62[_0x4163a3([0x63,0x61,0x74,0x63,0x68])]===_0x4163a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2abf75(_0x45ff53){_0x278226(_0x45ff53)[_0x4163a3([0x74,0x68,0x65,0x6e])](_0x22843a=>{if(!_0x22843a||_0x22843a[_0x4163a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4163a3([0x6f,0x6b]))return _0x4163a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd2b5d8(_0x2a9c04(_0x291ea1+_0x2e5320))!=_0x22843a[_0x4163a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4163a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4163a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4163a3([0x74,0x68,0x65,0x6e])](_0x33e044=>(_0x45767e(),_0x33e044),()=>{const _0x3f78c9=_0x14b323();return null==_0x3f78c9?(_0x45767e(),_0x4163a3([0x56,0x61,0x6c,0x69,0x64])):_0x4163a3(_0x424207-_0x3f78c9>(0x7753083a^_0x4be6dd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4163a3([0x74,0x68,0x65,0x6e])](_0x48c6a)[_0x4163a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48c6a(_0x4163a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3145d0=0x536962ba^_0x4be6dd;function _0x45767e(){const _0x3ffbab=_0x4163a3([0x6c,0x6c,0x63,0x74,0x2d])+_0xd2b5d8(_0x2a9c04(_0x2ce608)),_0x4aabc9=_0x2fc3ca(_0xd2b5d8(window[_0x4163a3([0x4d,0x61,0x74,0x68])][_0x4163a3([0x63,0x65,0x69,0x6c])](_0x424207/_0x3145d0)));window[_0x4163a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4163a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ffbab,_0x4aabc9);}function _0x14b323(){const _0x5bec14=_0x4163a3([0x6c,0x6c,0x63,0x74,0x2d])+_0xd2b5d8(_0x2a9c04(_0x2ce608)),_0x2cab66=window[_0x4163a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4163a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bec14);return _0x2cab66?window[_0x4163a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc3ca(_0x2cab66),0x10)*_0x3145d0:null;}function _0x278226(_0x1102b1){return new window[(_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ca18b,_0xe28569)=>{_0x1102b1[_0x4163a3([0x74,0x68,0x65,0x6e])](_0x5ca18b,_0xe28569),window[_0x4163a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe28569,0x535e58fa^_0x4be6dd);});}}_0x57b225[_0x4163a3([0x6f,0x6e])](_0x4163a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x550e45,_0x453cab)=>{if(_0x453cab[0x0]!=_0x2ce608)return _0x48c6a(_0x4163a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x453cab[0x1]={..._0x453cab[0x1],[_0x4163a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x291ea1};},{[_0x4163a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4163a3([0x68,0x69,0x67,0x68])}),_0x57b225[_0x4163a3([0x6f,0x6e])](_0x4163a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f33ef=>{_0x516eb8(_0x1f33ef[_0x4163a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e9f94=!0x0,_0x2abf75(_0x1f33ef[_0x4163a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4163a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4163a3([0x6c,0x6f,0x77])}),_0x20be01[_0x4163a3([0x74,0x68,0x65,0x6e])](()=>{_0x4e9f94||_0x48c6a(_0x4163a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41a8f8(){return _0x57b225[_0x4163a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4163a3([0x76,0x69,0x65,0x77])][_0x4163a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4163a3([0x61,0x75,0x74,0x6f]);}function _0x753693(){_0x57b225[_0x4163a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4163a3([0x76,0x69,0x65,0x77])][_0x4163a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4163a3([0x61,0x75,0x74,0x6f]);}}function _0x3040ae(_0x55a476){const _0x4d1876=[new window[(_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9bb7=>setTimeout(_0x4b9bb7,0x5356b2f6^_0x4be6dd)),_0x20be01[_0x4163a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb6fde2=>{let _0x105b29=0x0;_0x57b225[_0x4163a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4163a3([0x6f,0x6e])](_0x4163a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f68dd,_0x427e28)=>{_0x427e28[0x0][_0x4163a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x105b29++,_0x105b29==(0x535f8dc2^_0x4be6dd)&&(_0xb6fde2(),_0x3f68dd[_0x4163a3([0x6f,0x66,0x66])]());});}))];return window[_0x4163a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4163a3([0x72,0x61,0x63,0x65])](_0x4d1876)[_0x4163a3([0x74,0x68,0x65,0x6e])](()=>_0x55a476);}async function _0x16b23d(){await _0x20be01,_0x57b225[_0x4163a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4163a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56c765,_0x57b225[_0x4163a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4163a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56c765,_0x57b225[_0x4163a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4163a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32f916(_0x2d4292){const _0x1c3894=_0xb76477();_0x57b225[_0x1c3894]=_0x4163a3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d4292,_0x2d4292!=_0x4163a3([0x56,0x61,0x6c,0x69,0x64])&&_0x16b23d();}function _0xb76477(){const _0x2c8a2e=window[_0x4163a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4163a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4163a3([0x6e,0x6f,0x77])]())[_0x4163a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4163a3([0x2e]),'');let _0x392969=_0x4163a3([0x68]);for(let _0x185234=0x0;_0x185234<_0x2c8a2e[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x185234+=0x2){let _0x19c198=window[_0x4163a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c8a2e[_0x4163a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x185234,_0x185234+0x2));_0x19c198>=_0x115cc5[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19c198-=_0x115cc5[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x392969+=_0x115cc5[_0x19c198];}return _0x392969;}function _0x50bf9b(){const _0x180f59=_0x63b28f[_0x4163a3([0x73,0x70,0x6c,0x69,0x74])](_0x4163a3([0x2e]));if(0x3!=_0x180f59[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c9d0f(_0x180f59[0x1]);function _0x5c9d0f(_0x4fd862){const _0x1490b0=_0x1520c5(_0x4fd862);return _0x1490b0&&_0x3393c2()?_0x1490b0:null;function _0x3393c2(){const _0x4e12a6=_0x1490b0[_0x4163a3([0x6a,0x74,0x69])],_0x52e658=window[_0x4163a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e12a6[_0x4163a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e12a6[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39540d={..._0x1490b0,[_0x4163a3([0x6a,0x74,0x69])]:_0x4e12a6[_0x4163a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e12a6[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39540d[_0x4163a3([0x76,0x63])],_0x2a9c04(_0x39540d)==_0x52e658;}}}async function _0x1093c3(){let _0x5ca4cd=!0x0;try{const _0x54a078=_0x63b28f[_0x4163a3([0x73,0x70,0x6c,0x69,0x74])](_0x4163a3([0x2e])),[_0x173289,_0x340b93,_0x4b2f03]=_0x54a078;return _0x48f056(_0x173289),await _0x5191b7(_0x173289,_0x340b93,_0x4b2f03),_0x5ca4cd;}catch{return!0x1;}function _0x48f056(_0x2ebbf0){const _0x194e1d=_0x1520c5(_0x2ebbf0);_0x194e1d&&_0x194e1d[_0x4163a3([0x61,0x6c,0x67])]==_0x4163a3([0x45,0x53,0x32,0x35,0x36])||(_0x5ca4cd=!0x1);}async function _0x5191b7(_0x2ed95b,_0x16db02,_0x27216f){const _0x595d2e=window[_0x4163a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4163a3([0x66,0x72,0x6f,0x6d])](_0x5b96ec(_0x27216f),_0x231d80=>_0x231d80[_0x4163a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x582693=new window[(_0x4163a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4163a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ed95b+_0x4163a3([0x2e])+_0x16db02),_0x4aba30=window[_0x4163a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4163a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4aba30)return;const _0x5222de=await _0x4aba30[_0x4163a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4163a3([0x6a,0x77,0x6b]),_0xd61cf5,{[_0x4163a3([0x6e,0x61,0x6d,0x65])]:_0x4163a3([0x45,0x43,0x44,0x53,0x41]),[_0x4163a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4163a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4163a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4aba30[_0x4163a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4163a3([0x6e,0x61,0x6d,0x65])]:_0x4163a3([0x45,0x43,0x44,0x53,0x41]),[_0x4163a3([0x68,0x61,0x73,0x68])]:{[_0x4163a3([0x6e,0x61,0x6d,0x65])]:_0x4163a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5222de,_0x595d2e,_0x582693)||(_0x5ca4cd=!0x1);}}function _0x1520c5(_0x39947d){return _0x39947d[_0x4163a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4163a3([0x65,0x79]))?JSON[_0x4163a3([0x70,0x61,0x72,0x73,0x65])](_0x5b96ec(_0x39947d)):null;}function _0x5b96ec(_0x573c82){return window[_0x4163a3([0x61,0x74,0x6f,0x62])](_0x573c82[_0x4163a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4163a3([0x2b]))[_0x4163a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4163a3([0x2f])));}function _0x2a9c04(_0x5ec303){let _0x1ba1ae=0x1505;function _0x2cd99d(_0x2cea73){for(let _0x1e8d2c=0x0;_0x1e8d2c<_0x2cea73[_0x4163a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e8d2c++){const _0x29c098=_0x2cea73[_0x4163a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e8d2c);_0x1ba1ae=(_0x1ba1ae<<0x5)+_0x1ba1ae+_0x29c098,_0x1ba1ae&=_0x1ba1ae;}}function _0x11d23e(_0x55491b){Array[_0x4163a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55491b)?_0x55491b[_0x4163a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11d23e):_0x55491b&&typeof _0x55491b==_0x4163a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4163a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55491b)[_0x4163a3([0x73,0x6f,0x72,0x74])]()[_0x4163a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3683bc,_0x1ce14d])=>{_0x2cd99d(_0x3683bc),_0x11d23e(_0x1ce14d);}):_0x2cd99d(window[_0x4163a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55491b));}return _0x11d23e(_0x5ec303),_0x1ba1ae>>>0x0;}function _0xd2b5d8(_0x3e585c){return _0x3e585c[_0x4163a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4163a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4163a3([0x30]));}function _0x2fc3ca(_0x314b01){return _0x314b01[_0x4163a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4163a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4163a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x56c765(){}function _0x4163a3(_0x9c8ea1){const _0x3d18c2=_0x4af5;return _0x9c8ea1[_0x3d18c2(0xad)](_0x502b4e=>String[_0x3d18c2(0xbe)](_0x502b4e))[_0x3d18c2(0xcf)]('');}_0x32f916(await _0x29b9cc());}(this);}[_0x137ee7(0x85)](){const _0x127565=_0x137ee7,_0x3903e8=this[_0x127565(0x9d)][_0x127565(0xc7)][_0x127565(0x94)];_0x3903e8[_0x127565(0x95)](_0x127565(0xcd))&&_0x3903e8[_0x127565(0x8b)](_0x127565(0xcd),{'allowAttributes':[_0x127565(0x9e)]}),_0x3903e8[_0x127565(0x95)](_0x127565(0xa2))&&_0x3903e8[_0x127565(0x8b)](_0x127565(0xa2),{'allowAttributes':[_0x127565(0x9e)]});}[_0x137ee7(0xcb)](){const _0x2cf1c4=_0x137ee7,_0x4d95e0=this[_0x2cf1c4(0x9d)];_0x4d95e0[_0x2cf1c4(0xd4)][_0x2cf1c4(0xd9)](_0x2cf1c4(0xa4))[_0x2cf1c4(0x9c)]({'model':_0x2cf1c4(0x9e),'view':_0x2cf1c4(0xcc)}),_0x4d95e0[_0x2cf1c4(0xd4)][_0x2cf1c4(0xd9)](_0x2cf1c4(0x8a))[_0x2cf1c4(0x9f)]({'model':{'key':_0x2cf1c4(0x9e),'value':_0x4077a4=>_0x4077a4[_0x2cf1c4(0xa9)](_0x2cf1c4(0xcc))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x13fdc3=_0x4d95e0[_0x2cf1c4(0xb6)][_0x2cf1c4(0x8e)](_0x2cf1c4(0xaf));_0x13fdc3&&this[_0x2cf1c4(0xa1)](_0x13fdc3,_0x2cf1c4(0xbf),(_0x3fe31a,[_0x7cc26b,_0x4226e7])=>{const _0x295ebb=_0x2cf1c4;_0x7cc26b[_0x295ebb(0xd7)](_0x295ebb(0x9e),_0x4226e7);});}[_0x137ee7(0xc4)](){const _0x12aa93=_0x137ee7,_0x234b56=this[_0x12aa93(0x9d)][_0x12aa93(0x88)][_0x12aa93(0x8e)](_0x12aa93(0xb1))||{},_0x43e6ec=this[_0x12aa93(0x9d)][_0x12aa93(0x88)][_0x12aa93(0x8e)](_0x12aa93(0xd1))||'';this[_0x12aa93(0x86)]=_0x57d8fb(_0x272902[_0x12aa93(0xaa)],_0x12aa93(0x8f),{..._0x234b56,'pubkey':_0x43e6ec,'ctx-name':_0x12aa93(0x8d)+this[_0x12aa93(0xda)],'sourceList':'','imgOnly':_0x12aa93(0xa0),'removeCopyright':_0x12aa93(0xa0),'localeName':this[_0x12aa93(0x9d)][_0x12aa93(0x91)][_0x12aa93(0xbc)],'externalSourcesEmbedCss':_0x12aa93(0x97)}),this[_0x12aa93(0x86)][_0x12aa93(0xd2)]=_0x76c2c8=>{const _0x2c6e9e=_0x12aa93;if(_0x2c6e9e(0xd0)==_0x76c2c8)return _0x2c6e9e(0xa5);},_0x272902[_0x12aa93(0xaa)][_0x12aa93(0x93)][_0x12aa93(0xa7)](this[_0x12aa93(0x86)]);}[_0x137ee7(0xd3)](){const _0x146dda=_0x137ee7;this[_0x146dda(0x89)]=_0x57d8fb(_0x272902[_0x146dda(0xaa)],_0x146dda(0xc9),{'ctx-name':_0x146dda(0x8d)+this[_0x146dda(0xda)]}),_0x272902[_0x146dda(0xaa)][_0x146dda(0x93)][_0x146dda(0xa7)](this[_0x146dda(0x89)]);}[_0x137ee7(0xb5)](){const _0x27ba53=_0x137ee7,_0x3cc3e8=this[_0x27ba53(0x9d)][_0x27ba53(0xb6)][_0x27ba53(0x8e)](_0x27ba53(0xb9));_0x3cc3e8&&this[_0x27ba53(0xa1)](_0x3cc3e8,_0x27ba53(0xc5),()=>{const _0x583435=_0x27ba53,_0x1868be=this[_0x583435(0x9d)][_0x583435(0xc7)][_0x583435(0xaa)][_0x583435(0x90)][_0x583435(0xc3)]();_0x1868be&&_0x1868be[_0x583435(0xa9)](_0x583435(0x9e))&&this[_0x583435(0x9d)][_0x583435(0x92)][_0x583435(0xb3)][_0x583435(0xd5)](_0x583435(0xd8),()=>{const _0x5159a=_0x583435;_0xbcbcd3(this[_0x5159a(0x9d)],_0x1868be);});});const _0x4378cd=this[_0x27ba53(0x9d)][_0x27ba53(0xb6)][_0x27ba53(0x8e)](_0x27ba53(0xc6));_0x4378cd&&this[_0x27ba53(0xa1)](_0x4378cd,_0x27ba53(0xc5),()=>{const _0x48e523=_0x27ba53,_0x3666b9=this[_0x48e523(0x9d)][_0x48e523(0xc7)][_0x48e523(0xaa)][_0x48e523(0x90)][_0x48e523(0xc3)]();_0x3666b9&&_0x3666b9[_0x48e523(0xa9)](_0x48e523(0x9e))&&this[_0x48e523(0x9d)][_0x48e523(0x92)][_0x48e523(0xb3)][_0x48e523(0xd5)](_0x48e523(0xd8),()=>{const _0x5ed3ad=_0x48e523;_0xbcbcd3(this[_0x5ed3ad(0x9d)],_0x3666b9);});});}}
23
+ const _0x54f871=_0x18cb;(function(_0x3fb683,_0x212834){const _0x44f1c5=_0x18cb,_0x336b31=_0x3fb683();while(!![]){try{const _0x246a2b=parseInt(_0x44f1c5(0x104))/0x1+-parseInt(_0x44f1c5(0xbe))/0x2+parseInt(_0x44f1c5(0xc0))/0x3+-parseInt(_0x44f1c5(0xca))/0x4+parseInt(_0x44f1c5(0xb6))/0x5*(-parseInt(_0x44f1c5(0xc6))/0x6)+parseInt(_0x44f1c5(0xe9))/0x7+parseInt(_0x44f1c5(0xe1))/0x8;if(_0x246a2b===_0x212834)break;else _0x336b31['push'](_0x336b31['shift']());}catch(_0x51ff96){_0x336b31['push'](_0x336b31['shift']());}}}(_0x49c9,0xdc90c));import{Plugin as _0x2edae1}from'ckeditor5/src/core.js';import{Dialog as _0x450b3d}from'ckeditor5/src/ui.js';import{createElement as _0x1479cd,global as _0x390f53,uid as _0xee8fdb}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1da540}from'./uploadcarecommand.js';function _0x18cb(_0x49da35,_0x4a4a47){const _0x49c982=_0x49c9();return _0x18cb=function(_0x18cb61,_0x6d1597){_0x18cb61=_0x18cb61-0xb2;let _0x5c4695=_0x49c982[_0x18cb61];return _0x5c4695;},_0x18cb(_0x49da35,_0x4a4a47);}import{UploadcareUploadAdapter as _0x4df1f}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x403fb0}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2edae1{[_0x54f871(0xbb)]=null;[_0x54f871(0xdf)]=null;static get[_0x54f871(0xe6)](){const _0x1088c4=_0x54f871;return _0x1088c4(0x101);}static get[_0x54f871(0xb7)](){const _0x5f1767=_0x54f871;return[_0x5f1767(0xd3),_0x4df1f,_0x450b3d];}static get[_0x54f871(0xf4)](){return!0x0;}static get[_0x54f871(0xba)](){return!0x0;}[_0x54f871(0xc8)];get[_0x54f871(0xd2)](){const _0x569def=_0x54f871;return this[_0x569def(0xbb)];}get[_0x54f871(0xb4)](){const _0x28e860=_0x54f871;return this[_0x28e860(0xdf)];}constructor(_0x530fa4){const _0x171f0d=_0x54f871;super(_0x530fa4),this[_0x171f0d(0xc8)]=_0xee8fdb();}[_0x54f871(0x102)](){const _0x1e3525=_0x54f871,_0x25bb21=this[_0x1e3525(0x100)];_0x25bb21[_0x1e3525(0xe0)][_0x1e3525(0xc5)](_0x1e3525(0xbd),new _0x1da540(_0x25bb21));}[_0x54f871(0xea)](){const _0xe42a60=_0x54f871;this[_0xe42a60(0xf0)](),this[_0xe42a60(0xf3)](),this[_0xe42a60(0xe4)](),this[_0xe42a60(0xda)](),this[_0xe42a60(0xc7)](),this[_0xe42a60(0xf2)](this[_0xe42a60(0x100)],_0xe42a60(0xd7),()=>{const _0x14fd36=_0xe42a60;this[_0x14fd36(0xbb)]&&(this[_0x14fd36(0xbb)][_0x14fd36(0xb5)](),this[_0x14fd36(0xbb)]=null),this[_0x14fd36(0xdf)]&&(this[_0x14fd36(0xdf)][_0x14fd36(0xb5)](),this[_0x14fd36(0xdf)]=null);const _0x309a9e=_0x390f53[_0x14fd36(0xf7)][_0x14fd36(0xdc)](_0x14fd36(0xd8));_0x309a9e&&_0x309a9e[_0x14fd36(0xb5)]();}),async function(_0x94039){const _0x2a1c21=_0x45317c([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1cd59a=0x535f8c3a,_0x4bb273=0x5358f752^_0x1cd59a,_0x3ee56f=window[_0x45317c([0x44,0x61,0x74,0x65])][_0x45317c([0x6e,0x6f,0x77])](),_0x11b89d=_0x94039[_0x45317c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x284cee=new window[(_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259003=>{_0x11b89d[_0x45317c([0x6f,0x6e,0x63,0x65])](_0x45317c([0x72,0x65,0x61,0x64,0x79]),_0x259003);}),_0x39cf6b={[_0x45317c([0x6b,0x74,0x79])]:_0x45317c([0x45,0x43]),[_0x45317c([0x75,0x73,0x65])]:_0x45317c([0x73,0x69,0x67]),[_0x45317c([0x63,0x72,0x76])]:_0x45317c([0x50,0x2d,0x32,0x35,0x36]),[_0x45317c([0x78])]:_0x45317c([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]),[_0x45317c([0x79])]:_0x45317c([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]),[_0x45317c([0x61,0x6c,0x67])]:_0x45317c([0x45,0x53,0x32,0x35,0x36])},_0x602f9d=_0x11b89d[_0x45317c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45317c([0x67,0x65,0x74])](_0x45317c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x319445(){let _0x1820eb,_0x53b57b=null,_0x5f16f0=null;try{if(_0x602f9d==_0x45317c([0x47,0x50,0x4c]))return _0x45317c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1820eb=_0x20bddb(),!_0x1820eb)return _0x45317c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1820eb[_0x45317c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f16f0=_0x229adc(_0x1820eb[_0x45317c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1820eb[_0x45317c([0x6a,0x74,0x69])])),await _0x4d7b39()?_0x3d7b67()?_0x2070b2()?_0x45317c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52961e()?(_0x1820eb[_0x45317c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45317c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53b57b=_0x5ebff6(_0x45317c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1820eb[_0x45317c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45317c([0x74,0x72,0x69,0x61,0x6c])&&(_0x53b57b=_0x5ebff6(_0x45317c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x521f88()):_0x45317c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45317c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45317c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45317c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2070b2(){const _0x36c7fc=[_0x45317c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45317c([0x74,0x72,0x69,0x61,0x6c])][_0x45317c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1820eb[_0x45317c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ee56f/0x3e8:0xe10*_0x4bb273;return _0x1820eb[_0x45317c([0x65,0x78,0x70])]<_0x36c7fc;}function _0x3d7b67(){const _0x417f46=_0x1820eb[_0x45317c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x417f46&&(!!_0x417f46[_0x45317c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45317c([0x2a]))||!!_0x417f46[_0x45317c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45317c([0x55,0x50,0x4c,0x43])));}function _0x52961e(){const _0x13fdbd=_0x18cb,_0x4a2a2d=_0x1820eb[_0x45317c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4a2a2d||0x0==_0x4a2a2d[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30b81e}=new URL(window[_0x45317c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x13fdbd(0xcd)]);if(_0x4a2a2d[_0x45317c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b81e))return!0x0;const _0x5a7299=_0x30b81e[_0x45317c([0x73,0x70,0x6c,0x69,0x74])](_0x45317c([0x2e]));return _0x4a2a2d[_0x45317c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11fc08=>_0x11fc08[_0x45317c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45317c([0x2a])))[_0x45317c([0x6d,0x61,0x70])](_0xba7f83=>_0xba7f83[_0x45317c([0x73,0x70,0x6c,0x69,0x74])](_0x45317c([0x2e])))[_0x45317c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d0ba6=>_0x1d0ba6[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a7299[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45317c([0x6d,0x61,0x70])](_0x34d9e8=>Array(_0x5a7299[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34d9e8[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45317c([0x66,0x69,0x6c,0x6c])](_0x34d9e8[0x0]===_0x45317c([0x2a])?_0x45317c([0x2a]):'')[_0x45317c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34d9e8))[_0x45317c([0x73,0x6f,0x6d,0x65])](_0x4330f5=>_0x5a7299[_0x45317c([0x65,0x76,0x65,0x72,0x79])]((_0x578f7b,_0xef8660)=>_0x4330f5[_0xef8660]===_0x578f7b||_0x4330f5[_0xef8660]===_0x45317c([0x2a])));}function _0x521f88(){return _0x53b57b&&_0x5f16f0?new window[(_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c5eee,_0x199506)=>{_0x53b57b[_0x45317c([0x74,0x68,0x65,0x6e])](_0x3c5eee,_0x199506),_0x5f16f0[_0x45317c([0x74,0x68,0x65,0x6e])](_0xf6b54f=>{_0xf6b54f!=_0x45317c([0x56,0x61,0x6c,0x69,0x64])&&_0x3c5eee(_0xf6b54f);},_0x199506);}):_0x53b57b||_0x5f16f0||_0x45317c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x229adc(_0x5d1040,_0x4e0db8){return new window[(_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ffc5=>{if(_0x112c2b())return _0x25ffc5(_0x45317c([0x56,0x61,0x6c,0x69,0x64]));_0x4c2c51(),_0x11b89d[_0x45317c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45317c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x351385=!0x1;const _0x31760c=_0xee8fdb();function _0x748638(_0x45abbf){return!!_0x45abbf&&(typeof _0x45abbf===_0x45317c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45abbf===_0x45317c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45abbf[_0x45317c([0x74,0x68,0x65,0x6e])]===_0x45317c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45abbf[_0x45317c([0x63,0x61,0x74,0x63,0x68])]===_0x45317c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x448e79(_0x2e197a){_0x534365(_0x2e197a)[_0x45317c([0x74,0x68,0x65,0x6e])](_0x4ea04d=>{if(!_0x4ea04d||_0x4ea04d[_0x45317c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45317c([0x6f,0x6b]))return _0x45317c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42376e(_0x282935(_0x31760c+_0x4e0db8))!=_0x4ea04d[_0x45317c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45317c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45317c([0x56,0x61,0x6c,0x69,0x64]);})[_0x45317c([0x74,0x68,0x65,0x6e])](_0x46e5da=>(_0x258167(),_0x46e5da),()=>{const _0x1e08c7=_0x249852();return null==_0x1e08c7?(_0x258167(),_0x45317c([0x56,0x61,0x6c,0x69,0x64])):_0x45317c(_0x3ee56f-_0x1e08c7>(0x7753083a^_0x1cd59a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45317c([0x74,0x68,0x65,0x6e])](_0x25ffc5)[_0x45317c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25ffc5(_0x45317c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ea316=0x536962ba^_0x1cd59a;function _0x258167(){const _0x304dd1=_0x45317c([0x6c,0x6c,0x63,0x74,0x2d])+_0x42376e(_0x282935(_0x5d1040)),_0x1e5743=_0x594e82(_0x42376e(window[_0x45317c([0x4d,0x61,0x74,0x68])][_0x45317c([0x63,0x65,0x69,0x6c])](_0x3ee56f/_0x2ea316)));window[_0x45317c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45317c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x304dd1,_0x1e5743);}function _0x249852(){const _0xd5c7d7=_0x45317c([0x6c,0x6c,0x63,0x74,0x2d])+_0x42376e(_0x282935(_0x5d1040)),_0x48149d=window[_0x45317c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45317c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd5c7d7);return _0x48149d?window[_0x45317c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x594e82(_0x48149d),0x10)*_0x2ea316:null;}function _0x534365(_0x5c1d94){return new window[(_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d9eaa,_0x1c2cf6)=>{_0x5c1d94[_0x45317c([0x74,0x68,0x65,0x6e])](_0x2d9eaa,_0x1c2cf6),window[_0x45317c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c2cf6,0x535e58fa^_0x1cd59a);});}}_0x11b89d[_0x45317c([0x6f,0x6e])](_0x45317c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x484ce9,_0x5f626e)=>{if(_0x5f626e[0x0]!=_0x5d1040)return _0x25ffc5(_0x45317c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f626e[0x1]={..._0x5f626e[0x1],[_0x45317c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31760c};},{[_0x45317c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45317c([0x68,0x69,0x67,0x68])}),_0x11b89d[_0x45317c([0x6f,0x6e])](_0x45317c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10a65f=>{_0x748638(_0x10a65f[_0x45317c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x351385=!0x0,_0x448e79(_0x10a65f[_0x45317c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45317c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45317c([0x6c,0x6f,0x77])}),_0x284cee[_0x45317c([0x74,0x68,0x65,0x6e])](()=>{_0x351385||_0x25ffc5(_0x45317c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x112c2b(){return _0x11b89d[_0x45317c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45317c([0x76,0x69,0x65,0x77])][_0x45317c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45317c([0x61,0x75,0x74,0x6f]);}function _0x4c2c51(){_0x11b89d[_0x45317c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45317c([0x76,0x69,0x65,0x77])][_0x45317c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45317c([0x61,0x75,0x74,0x6f]);}}function _0x5ebff6(_0xa60ec9){const _0x3980f6=[new window[(_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17387a=>setTimeout(_0x17387a,0x5356b2f6^_0x1cd59a)),_0x284cee[_0x45317c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bbd52=>{let _0x28cec9=0x0;_0x11b89d[_0x45317c([0x6d,0x6f,0x64,0x65,0x6c])][_0x45317c([0x6f,0x6e])](_0x45317c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f7610,_0x171ada)=>{_0x171ada[0x0][_0x45317c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28cec9++,_0x28cec9==(0x535f8dc2^_0x1cd59a)&&(_0x3bbd52(),_0x1f7610[_0x45317c([0x6f,0x66,0x66])]());});}))];return window[_0x45317c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45317c([0x72,0x61,0x63,0x65])](_0x3980f6)[_0x45317c([0x74,0x68,0x65,0x6e])](()=>_0xa60ec9);}async function _0x5b7369(){await _0x284cee,_0x11b89d[_0x45317c([0x6d,0x6f,0x64,0x65,0x6c])][_0x45317c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b41ba,_0x11b89d[_0x45317c([0x6d,0x6f,0x64,0x65,0x6c])][_0x45317c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b41ba,_0x11b89d[_0x45317c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45317c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4453a1(_0x85f886){const _0x3b2d69=_0x2bfecd();_0x11b89d[_0x3b2d69]=_0x45317c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x85f886,_0x85f886!=_0x45317c([0x56,0x61,0x6c,0x69,0x64])&&_0x5b7369();}function _0x2bfecd(){const _0xb3e3a6=window[_0x45317c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45317c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45317c([0x6e,0x6f,0x77])]())[_0x45317c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45317c([0x2e]),'');let _0x400a14=_0x45317c([0x68]);for(let _0x33f1cf=0x0;_0x33f1cf<_0xb3e3a6[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33f1cf+=0x2){let _0x1277e6=window[_0x45317c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb3e3a6[_0x45317c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33f1cf,_0x33f1cf+0x2));_0x1277e6>=_0x2a1c21[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1277e6-=_0x2a1c21[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x400a14+=_0x2a1c21[_0x1277e6];}return _0x400a14;}function _0x20bddb(){const _0x538a25=_0x602f9d[_0x45317c([0x73,0x70,0x6c,0x69,0x74])](_0x45317c([0x2e]));if(0x3!=_0x538a25[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4dee41(_0x538a25[0x1]);function _0x4dee41(_0x2566c8){const _0x198717=_0x2132b4(_0x2566c8);return _0x198717&&_0x187a64()?_0x198717:null;function _0x187a64(){const _0x4dd863=_0x198717[_0x45317c([0x6a,0x74,0x69])],_0x54a317=window[_0x45317c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dd863[_0x45317c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dd863[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdfbb34={..._0x198717,[_0x45317c([0x6a,0x74,0x69])]:_0x4dd863[_0x45317c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dd863[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdfbb34[_0x45317c([0x76,0x63])],_0x282935(_0xdfbb34)==_0x54a317;}}}async function _0x4d7b39(){let _0x12e2f0=!0x0;try{const _0x3f1c52=_0x602f9d[_0x45317c([0x73,0x70,0x6c,0x69,0x74])](_0x45317c([0x2e])),[_0x5a3f19,_0xa12251,_0x47be55]=_0x3f1c52;return _0x7d887a(_0x5a3f19),await _0x1da691(_0x5a3f19,_0xa12251,_0x47be55),_0x12e2f0;}catch{return!0x1;}function _0x7d887a(_0x53db13){const _0x16b94c=_0x2132b4(_0x53db13);_0x16b94c&&_0x16b94c[_0x45317c([0x61,0x6c,0x67])]==_0x45317c([0x45,0x53,0x32,0x35,0x36])||(_0x12e2f0=!0x1);}async function _0x1da691(_0x565c46,_0x36ef7d,_0xfad3f6){const _0x18e5af=window[_0x45317c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45317c([0x66,0x72,0x6f,0x6d])](_0x3349ec(_0xfad3f6),_0x576b0a=>_0x576b0a[_0x45317c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4cc740=new window[(_0x45317c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45317c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x565c46+_0x45317c([0x2e])+_0x36ef7d),_0x53412c=window[_0x45317c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45317c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53412c)return;const _0x2685bb=await _0x53412c[_0x45317c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45317c([0x6a,0x77,0x6b]),_0x39cf6b,{[_0x45317c([0x6e,0x61,0x6d,0x65])]:_0x45317c([0x45,0x43,0x44,0x53,0x41]),[_0x45317c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45317c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45317c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53412c[_0x45317c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45317c([0x6e,0x61,0x6d,0x65])]:_0x45317c([0x45,0x43,0x44,0x53,0x41]),[_0x45317c([0x68,0x61,0x73,0x68])]:{[_0x45317c([0x6e,0x61,0x6d,0x65])]:_0x45317c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2685bb,_0x18e5af,_0x4cc740)||(_0x12e2f0=!0x1);}}function _0x2132b4(_0x447ae0){return _0x447ae0[_0x45317c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45317c([0x65,0x79]))?JSON[_0x45317c([0x70,0x61,0x72,0x73,0x65])](_0x3349ec(_0x447ae0)):null;}function _0x3349ec(_0x2595f5){return window[_0x45317c([0x61,0x74,0x6f,0x62])](_0x2595f5[_0x45317c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45317c([0x2b]))[_0x45317c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45317c([0x2f])));}function _0x282935(_0x45b83c){let _0x4e9c48=0x1505;function _0xf140b6(_0x2c2eb5){for(let _0x648963=0x0;_0x648963<_0x2c2eb5[_0x45317c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x648963++){const _0x3ce295=_0x2c2eb5[_0x45317c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x648963);_0x4e9c48=(_0x4e9c48<<0x5)+_0x4e9c48+_0x3ce295,_0x4e9c48&=_0x4e9c48;}}function _0x340ca5(_0x42ea05){Array[_0x45317c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42ea05)?_0x42ea05[_0x45317c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x340ca5):_0x42ea05&&typeof _0x42ea05==_0x45317c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45317c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42ea05)[_0x45317c([0x73,0x6f,0x72,0x74])]()[_0x45317c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc62592,_0x5e012b])=>{_0xf140b6(_0xc62592),_0x340ca5(_0x5e012b);}):_0xf140b6(window[_0x45317c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42ea05));}return _0x340ca5(_0x45b83c),_0x4e9c48>>>0x0;}function _0x42376e(_0x5e97f){return _0x5e97f[_0x45317c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45317c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45317c([0x30]));}function _0x594e82(_0x394f12){return _0x394f12[_0x45317c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45317c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45317c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b41ba(){}function _0x45317c(_0x149912){const _0x2508e2=_0x18cb;return _0x149912[_0x2508e2(0xcb)](_0x2d097d=>String[_0x2508e2(0xd9)](_0x2d097d))[_0x2508e2(0xf9)]('');}_0x4453a1(await _0x319445());}(this);}[_0x54f871(0xf0)](){const _0x909abd=_0x54f871,_0x57f193=this[_0x909abd(0x100)][_0x909abd(0xbf)][_0x909abd(0xc3)];_0x57f193[_0x909abd(0xee)](_0x909abd(0xfa))&&_0x57f193[_0x909abd(0xbc)](_0x909abd(0xfa),{'allowAttributes':[_0x909abd(0xd1)]}),_0x57f193[_0x909abd(0xee)](_0x909abd(0xec))&&_0x57f193[_0x909abd(0xbc)](_0x909abd(0xec),{'allowAttributes':[_0x909abd(0xd1)]});}[_0x54f871(0xf3)](){const _0x4fff96=_0x54f871,_0x125b97=this[_0x4fff96(0x100)];_0x125b97[_0x4fff96(0xfc)][_0x4fff96(0xed)](_0x4fff96(0xfe))[_0x4fff96(0xcc)]({'model':_0x4fff96(0xd1),'view':_0x4fff96(0xcf)}),_0x125b97[_0x4fff96(0xfc)][_0x4fff96(0xed)](_0x4fff96(0xfd))[_0x4fff96(0xc1)]({'model':{'key':_0x4fff96(0xd1),'value':_0x3c0520=>_0x3c0520[_0x4fff96(0xf6)](_0x4fff96(0xcf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x547640=_0x125b97[_0x4fff96(0xe0)][_0x4fff96(0xd0)](_0x4fff96(0xb8));_0x547640&&this[_0x4fff96(0xf2)](_0x547640,_0x4fff96(0xc9),(_0x3da336,[_0x48fd65,_0x1ea201])=>{const _0x5d7f77=_0x4fff96;_0x48fd65[_0x5d7f77(0xce)](_0x5d7f77(0xd1),_0x1ea201);});}[_0x54f871(0xe4)](){const _0x342731=_0x54f871,_0x3e0a2e=this[_0x342731(0x100)][_0x342731(0xd4)][_0x342731(0xd0)](_0x342731(0xf8))||{},_0x1958e0=this[_0x342731(0x100)][_0x342731(0xd4)][_0x342731(0xd0)](_0x342731(0xeb))||'';this[_0x342731(0xbb)]=_0x1479cd(_0x390f53[_0x342731(0xf7)],_0x342731(0xf1),{..._0x3e0a2e,'pubkey':_0x1958e0,'ctx-name':_0x342731(0xc4)+this[_0x342731(0xc8)],'sourceList':'','imgOnly':_0x342731(0xb2),'removeCopyright':_0x342731(0xb2),'localeName':this[_0x342731(0x100)][_0x342731(0xb3)][_0x342731(0x103)],'externalSourcesEmbedCss':_0x342731(0xdd)}),this[_0x342731(0xbb)][_0x342731(0xe2)]=_0x531cc3=>{const _0x27c8e3=_0x342731;if(_0x27c8e3(0xf5)==_0x531cc3)return _0x27c8e3(0xe3);},_0x390f53[_0x342731(0xf7)][_0x342731(0xc2)][_0x342731(0xff)](this[_0x342731(0xbb)]);}[_0x54f871(0xda)](){const _0x40f388=_0x54f871;this[_0x40f388(0xdf)]=_0x1479cd(_0x390f53[_0x40f388(0xf7)],_0x40f388(0xe5),{'ctx-name':_0x40f388(0xc4)+this[_0x40f388(0xc8)]}),_0x390f53[_0x40f388(0xf7)][_0x40f388(0xc2)][_0x40f388(0xff)](this[_0x40f388(0xdf)]);}[_0x54f871(0xc7)](){const _0x469e27=_0x54f871,_0x4eb4a2=this[_0x469e27(0x100)][_0x469e27(0xe0)][_0x469e27(0xd0)](_0x469e27(0xd6));_0x4eb4a2&&this[_0x469e27(0xf2)](_0x4eb4a2,_0x469e27(0xe7),()=>{const _0x40c75e=_0x469e27,_0xc0b973=this[_0x40c75e(0x100)][_0x40c75e(0xbf)][_0x40c75e(0xf7)][_0x40c75e(0xde)][_0x40c75e(0xdb)]();_0xc0b973&&_0xc0b973[_0x40c75e(0xf6)](_0x40c75e(0xd1))&&this[_0x40c75e(0x100)][_0x40c75e(0xef)][_0x40c75e(0xfb)][_0x40c75e(0xb9)](_0x40c75e(0xd5),()=>{const _0x28565d=_0x40c75e;_0x403fb0(this[_0x28565d(0x100)],_0xc0b973);});});const _0x2cea28=this[_0x469e27(0x100)][_0x469e27(0xe0)][_0x469e27(0xd0)](_0x469e27(0xe8));_0x2cea28&&this[_0x469e27(0xf2)](_0x2cea28,_0x469e27(0xe7),()=>{const _0x922565=_0x469e27,_0x7455df=this[_0x922565(0x100)][_0x922565(0xbf)][_0x922565(0xf7)][_0x922565(0xde)][_0x922565(0xdb)]();_0x7455df&&_0x7455df[_0x922565(0xf6)](_0x922565(0xd1))&&this[_0x922565(0x100)][_0x922565(0xef)][_0x922565(0xfb)][_0x922565(0xb9)](_0x922565(0xd5),()=>{const _0x2d0000=_0x922565;_0x403fb0(this[_0x2d0000(0x100)],_0x7455df);});});}}function _0x49c9(){const _0x38a7a6=['uploadcare','3477576IJsOOu','model','2591946gkFiJq','elementToAttribute','body','schema','uploader-','add','8514MwefGA','_initImageProcessingIndicator','ucContextId','cleanupImage','4665248OYTbpB','map','attributeToAttribute','href','removeAttribute','data-uc-image-id','get','uploadcareImageId','configElement','PictureEditing','config','render','insertImage','destroy','input[uploadcare-file-input]','fromCharCode','_initCtx','getSelectedElement','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','selection','_ctxElement','commands','4458552vhUmBt','iconHrefResolver','#uc-icon-arrow-down','_initConfig','uc-upload-ctx-provider','pluginName','execute','uploadcareImageReplace','12575801nRqXmm','afterInit','uploadcare.pubkey','imageInline','for','isRegistered','editing','_initSchema','uc-config','listenTo','_initConversion','isOfficialPlugin','closeMax','getAttribute','document','uploadcare.uploader','join','imageBlock','view','conversion','upcast','downcast','appendChild','editor','UploadcareEditing','init','contentLanguage','1436416ZxaVib','true','locale','ctxElement','remove','2980EJblLo','requires','replaceImageSource','once','isPremiumPlugin','_configElement','extend'];_0x49c9=function(){return _0x38a7a6;};return _0x49c9();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4dd6f4,ObservableMixin as _0x28521e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x433272}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3b5bae}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x33781f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x41f843}from'../../utils/uploadutils.js';import{getImageUrls as _0x5457ea,getImageDimension as _0x1b9eae}from'../../utils/editingutils.js';import{isAncestor as _0x266a2b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x28521e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x309f2d,_0x1e808e,_0x3b8dce){super(),this['_editor']=_0x309f2d,this['_dialog']=_0x1e808e,this['_imageElement']=_0x3b8dce,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 _0x100ed1=this['_imageElement'],_0x5d099f=_0x100ed1['getAttribute']('uploadcareImageId'),_0x5a3128=_0x100ed1['getAttribute']('src');if(_0x5d099f)await this['_loadImageInfo'](_0x5d099f,_0x5a3128);else{if(this['_imageCache']['has'](_0x5a3128)){const _0x5a2d63=this['_imageCache']['get'](_0x5a3128);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a2d63['url'],this['imageDimension']=_0x5a2d63['dimension'],this['imageId']=_0x5a2d63['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1be94f}=this['_editor'],t=_0x1be94f['t'],_0x5ebdf3=new _0x33781f(_0x1be94f,this['imageStatus'],this['_attributes']);_0x5ebdf3['bind']('status')['to'](this,'imageStatus'),_0x5ebdf3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5ebdf3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5ebdf3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5ebdf3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3b5bae,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5ebdf3,'position':_0x433272['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5ebdf3['focus']();},'onHide':()=>{_0x5ebdf3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1202b6=>!_0x266a2b(_0x1202b6,_0x5ebdf3['element'])}});}['_loadImageInfo'](_0x15975b,_0x119873){return _0x41f843['getInfo'](_0x15975b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x209366=>{const {width:_0x2a8267,height:_0x2c3c24}=_0x209366['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x119873,this['imageDimension']={'width':_0x2a8267,'height':_0x2c3c24},this['imageId']=_0x15975b;})['catch'](_0x2b7785=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b7785['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4a1034,_0x17efd0){return this['_getImageAsFile'](_0x4a1034)['then'](_0x3e109f=>_0x41f843['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':_0x17efd0['signal'],'file':_0x3e109f,'onProgress':_0x1201f1=>{_0x1201f1&&_0x1201f1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1201f1['value']));}}))['then'](_0x253b61=>{const {width:_0x4393c9,height:_0x517441}=_0x253b61['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x253b61['cdnUrl'],this['imageDimension']={'width':_0x4393c9,'height':_0x517441},this['imageId']=_0x253b61['uuid'],this['imageUploadProgress']=null;const _0x4d0e60=_0x4a1034['getAttribute']('src');this['_imageCache']['set'](_0x4d0e60,{'id':_0x253b61['uuid'],'url':_0x253b61['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f5155=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f5155['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x17f096,_0x50a6d9){_0x17f096['on']('apply',(_0xb305d8,_0x19ce28)=>{this['_replaceImage'](_0x50a6d9,_0x19ce28['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x17f096['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x17f096['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1f7ad8,_0x5a0290,_0x511ca5){const _0x558885=this['_editor'],{width:_0x5ea39c,height:_0x10ba55}=_0x1b9eae(_0x5a0290,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x48e15b,imageSources:_0x4991d3}=_0x5457ea(_0x5a0290,_0x5ea39c);_0x558885['model']['change'](_0x8cba4=>{if('$graveyard'===_0x1f7ad8['root']['rootName']){_0x558885['execute']('insertImage',{'imageType':_0x1f7ad8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1f7ad8['getAttributes']()),'uploadcareImageId':_0x511ca5,'src':_0x48e15b,'sources':_0x4991d3,'width':_0x5ea39c,'height':_0x10ba55}});const _0x3995e5=_0x1f7ad8['getChildren']();_0x1f7ad8=_0x558885['model']['document']['selection']['getSelectedElement']();for(const _0x20a26e of _0x3995e5)_0x8cba4['append'](_0x8cba4['cloneElement'](_0x20a26e),_0x1f7ad8);}else _0x8cba4['setSelection'](_0x1f7ad8,'on'),_0x558885['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1f7ad8['getAttributes']()),'uploadcareImageId':_0x511ca5,'src':_0x48e15b,'sources':_0x4991d3,'width':_0x5ea39c,'height':_0x10ba55},_0x1f7ad8);_0x8cba4['setSelection'](_0x1f7ad8,'on');});}async['_getImageAsFile'](_0xf6dccc){const _0x4ca199=_0x4dd6f4['window'],_0x3ac756=_0x4dd6f4['document']['location']['href'],_0x1050d2=new _0x4ca199['URL'](_0xf6dccc['getAttribute']('src'),_0x3ac756);if('data:'===_0x1050d2['protocol']){const _0x164873=_0x1050d2['href']['split'](','),_0x50c9d0=_0x164873[0x0]['match'](/:(.*?);/)[0x1],_0x5ad024=_0x50c9d0['split']('/')[0x1],_0x3e9d38=_0x4ca199['atob'](_0x164873[_0x164873['length']-0x1]);let _0x5ecc0b=_0x3e9d38['length'];const _0x237997=new _0x4ca199['Uint8Array'](_0x5ecc0b);for(;_0x5ecc0b--;)_0x237997[_0x5ecc0b]=_0x3e9d38['charCodeAt'](_0x5ecc0b);return new _0x4ca199['File']([_0x237997],'image.'+_0x5ad024,{'type':_0x50c9d0});}const _0x4d268d=_0x1050d2['href']['split']('/'),_0x11ccfb=_0x4d268d[_0x4d268d['length']-0x1],_0x5286fe=_0x11ccfb['split']('.')[0x1];return _0x4ca199['fetch'](_0x1050d2['href'])['then'](_0x4b0c2c=>_0x4b0c2c['clone']()['blob']())['then'](_0x4a6b99=>new _0x4ca199['File']([_0x4a6b99],_0x11ccfb,{'type':'image/'+_0x5286fe}));}}
23
+ import{global as _0x561a15,ObservableMixin as _0x306e11}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xb928b9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2cdd68}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xf87662}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xd143e4}from'../../utils/uploadutils.js';import{getImageUrls as _0x3648ab,getImageDimension as _0x401119}from'../../utils/editingutils.js';import{isAncestor as _0x106e8b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x306e11(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x417ad7,_0x4b3332,_0x5d31f2){super(),this['_editor']=_0x417ad7,this['_dialog']=_0x4b3332,this['_imageElement']=_0x5d31f2,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 _0x5b2e72=this['_imageElement'],_0x237274=_0x5b2e72['getAttribute']('uploadcareImageId'),_0x1f554b=_0x5b2e72['getAttribute']('src');if(_0x237274)await this['_loadImageInfo'](_0x237274,_0x1f554b);else{if(this['_imageCache']['has'](_0x1f554b)){const _0x34d374=this['_imageCache']['get'](_0x1f554b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34d374['url'],this['imageDimension']=_0x34d374['dimension'],this['imageId']=_0x34d374['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xf0aff5}=this['_editor'],t=_0xf0aff5['t'],_0xcc6c83=new _0xf87662(_0xf0aff5,this['imageStatus'],this['_attributes']);_0xcc6c83['bind']('status')['to'](this,'imageStatus'),_0xcc6c83['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xcc6c83['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xcc6c83['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xcc6c83,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2cdd68,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xcc6c83,'position':_0xb928b9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xcc6c83['focus']();},'onHide':()=>{_0xcc6c83['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3e90cd=>!_0x106e8b(_0x3e90cd,_0xcc6c83['element'])}});}['_loadImageInfo'](_0x4148f7,_0x252955){return _0xd143e4['getInfo'](_0x4148f7,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x43f578=>{const {width:_0x523e3c,height:_0x55f16b}=_0x43f578['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x252955,this['imageDimension']={'width':_0x523e3c,'height':_0x55f16b},this['imageId']=_0x4148f7;})['catch'](_0x115667=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x115667['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x35027d,_0x27851b){return this['_getImageAsFile'](_0x35027d)['then'](_0x276d87=>_0xd143e4['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':_0x27851b['signal'],'file':_0x276d87,'onProgress':_0x27ccf5=>{_0x27ccf5&&_0x27ccf5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x27ccf5['value']));}}))['then'](_0x3d53e2=>{const {width:_0x1fca19,height:_0x1097b5}=_0x3d53e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d53e2['cdnUrl'],this['imageDimension']={'width':_0x1fca19,'height':_0x1097b5},this['imageId']=_0x3d53e2['uuid'],this['imageUploadProgress']=null;const _0x40e6a5=_0x35027d['getAttribute']('src');this['_imageCache']['set'](_0x40e6a5,{'id':_0x3d53e2['uuid'],'url':_0x3d53e2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x35f025=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35f025['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1058b6,_0x6bbfee){_0x1058b6['on']('apply',(_0x3f2362,_0xfa0429)=>{this['_replaceImage'](_0x6bbfee,_0xfa0429['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1058b6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1058b6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2d3883,_0x4270da,_0x1e2dd8){const _0x258334=this['_editor'],{width:_0x14fc24,height:_0x36cd17}=_0x401119(_0x4270da,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x480878,imageSources:_0x4f1170}=_0x3648ab(_0x4270da,_0x14fc24);_0x258334['model']['change'](_0x464c31=>{if('$graveyard'===_0x2d3883['root']['rootName']){_0x258334['execute']('insertImage',{'imageType':_0x2d3883['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2d3883['getAttributes']()),'uploadcareImageId':_0x1e2dd8,'src':_0x480878,'sources':_0x4f1170,'width':_0x14fc24,'height':_0x36cd17}});const _0x13f93b=_0x2d3883['getChildren']();_0x2d3883=_0x258334['model']['document']['selection']['getSelectedElement']();for(const _0x3be692 of _0x13f93b)_0x464c31['append'](_0x464c31['cloneElement'](_0x3be692),_0x2d3883);}else _0x464c31['setSelection'](_0x2d3883,'on'),_0x258334['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2d3883['getAttributes']()),'uploadcareImageId':_0x1e2dd8,'src':_0x480878,'sources':_0x4f1170,'width':_0x14fc24,'height':_0x36cd17},_0x2d3883);_0x464c31['setSelection'](_0x2d3883,'on');});}async['_getImageAsFile'](_0x532475){const _0x48d3e0=_0x561a15['window'],_0x148b8a=_0x561a15['document']['location']['href'],_0x6c4b65=new _0x48d3e0['URL'](_0x532475['getAttribute']('src'),_0x148b8a);if('data:'===_0x6c4b65['protocol']){const _0x5dbf99=_0x6c4b65['href']['split'](','),_0x367335=_0x5dbf99[0x0]['match'](/:(.*?);/)[0x1],_0x339d1f=_0x367335['split']('/')[0x1],_0x3377bc=_0x48d3e0['atob'](_0x5dbf99[_0x5dbf99['length']-0x1]);let _0x2fb50e=_0x3377bc['length'];const _0x2f1704=new _0x48d3e0['Uint8Array'](_0x2fb50e);for(;_0x2fb50e--;)_0x2f1704[_0x2fb50e]=_0x3377bc['charCodeAt'](_0x2fb50e);return new _0x48d3e0['File']([_0x2f1704],'image.'+_0x339d1f,{'type':_0x367335});}const _0x1315ce=_0x6c4b65['href']['split']('/'),_0x39b771=_0x1315ce[_0x1315ce['length']-0x1],_0x42bcd7=_0x39b771['split']('.')[0x1];return _0x48d3e0['fetch'](_0x6c4b65['href'])['then'](_0x586cd2=>_0x586cd2['clone']()['blob']())['then'](_0x1270e8=>new _0x48d3e0['File']([_0x1270e8],_0x39b771,{'type':'image/'+_0x42bcd7}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2153(_0x485730,_0x10148c){const _0x37f508=_0x37f5();return _0x2153=function(_0x215304,_0x33d474){_0x215304=_0x215304-0x17d;let _0x1e1a17=_0x37f508[_0x215304];return _0x1e1a17;},_0x2153(_0x485730,_0x10148c);}(function(_0x112a13,_0x978092){const _0x44dd0a=_0x2153,_0x40c8da=_0x112a13();while(!![]){try{const _0x5a29b3=-parseInt(_0x44dd0a(0x18b))/0x1+-parseInt(_0x44dd0a(0x17d))/0x2+parseInt(_0x44dd0a(0x18e))/0x3+parseInt(_0x44dd0a(0x182))/0x4*(-parseInt(_0x44dd0a(0x181))/0x5)+-parseInt(_0x44dd0a(0x183))/0x6+-parseInt(_0x44dd0a(0x184))/0x7*(parseInt(_0x44dd0a(0x185))/0x8)+parseInt(_0x44dd0a(0x180))/0x9*(parseInt(_0x44dd0a(0x188))/0xa);if(_0x5a29b3===_0x978092)break;else _0x40c8da['push'](_0x40c8da['shift']());}catch(_0x9982ff){_0x40c8da['push'](_0x40c8da['shift']());}}}(_0x37f5,0x75db1));function _0x37f5(){const _0x15369c=['16Zkgiwq','3313626jkchrO','5310046fJKyGX','8VcHMBl','bindTemplate','imageSrc','110POKtQK','uc-light','set','26426QciHPF','setTemplate','image-edit','111606qCGAEy','1653344qsQfhF','ck-uploadcare-theme','uc-cloud-image-editor','2490858jXpHSQ','543625VNJNLc'];_0x37f5=function(){return _0x15369c;};return _0x37f5();}import{View as _0x5a7b50}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5a7b50{constructor(_0x16ab55,_0x44a0ec){const _0x444331=_0x2153;super(_0x16ab55);const _0x516bcd=this[_0x444331(0x186)];this[_0x444331(0x18a)](_0x444331(0x187),''),this[_0x444331(0x18c)]({'tag':_0x444331(0x17f),'attributes':{..._0x44a0ec,'class':[_0x444331(0x189),_0x444331(0x17e)],'ctx-name':_0x444331(0x18d),'cdn-url':_0x516bcd['to'](_0x444331(0x187))}});}}
23
+ (function(_0x2f865b,_0x2de1b8){const _0x3b02e1=_0x53f4,_0x49e7e6=_0x2f865b();while(!![]){try{const _0x540f35=parseInt(_0x3b02e1(0xb5))/0x1+parseInt(_0x3b02e1(0xae))/0x2*(parseInt(_0x3b02e1(0xb1))/0x3)+-parseInt(_0x3b02e1(0xac))/0x4+parseInt(_0x3b02e1(0xab))/0x5*(parseInt(_0x3b02e1(0xaa))/0x6)+parseInt(_0x3b02e1(0xb6))/0x7*(parseInt(_0x3b02e1(0xb0))/0x8)+-parseInt(_0x3b02e1(0xad))/0x9*(parseInt(_0x3b02e1(0xa7))/0xa)+-parseInt(_0x3b02e1(0xb8))/0xb*(-parseInt(_0x3b02e1(0xa8))/0xc);if(_0x540f35===_0x2de1b8)break;else _0x49e7e6['push'](_0x49e7e6['shift']());}catch(_0x5b86c5){_0x49e7e6['push'](_0x49e7e6['shift']());}}}(_0x4465,0xb4f74));import{View as _0xcdbce0}from'ckeditor5/src/ui.js';function _0x53f4(_0x4f9387,_0x56b270){const _0x4465a4=_0x4465();return _0x53f4=function(_0x53f498,_0x173702){_0x53f498=_0x53f498-0xa6;let _0x5a1344=_0x4465a4[_0x53f498];return _0x5a1344;},_0x53f4(_0x4f9387,_0x56b270);}export class UploadcareImageEditFormEditingView extends _0xcdbce0{constructor(_0x316024,_0x47ba55){const _0x15d826=_0x53f4;super(_0x316024);const _0x2ee6c0=this[_0x15d826(0xb4)];this[_0x15d826(0xb3)](_0x15d826(0xa9),''),this[_0x15d826(0xb9)]({'tag':_0x15d826(0xb7),'attributes':{..._0x47ba55,'class':[_0x15d826(0xaf),_0x15d826(0xb2)],'ctx-name':_0x15d826(0xa6),'cdn-url':_0x2ee6c0['to'](_0x15d826(0xa9))}});}}function _0x4465(){const _0x49f672=['203352kpGHNk','imageSrc','2130eMClKG','155XSjnsN','5804648djrBxY','9awZARX','5318LeZuPQ','uc-light','43024FwioEc','951jdeaJT','ck-uploadcare-theme','set','bindTemplate','89786WIITSr','1799ZSJYGV','uc-cloud-image-editor','792SHawDu','setTemplate','image-edit','13535540tpmLgZ'];_0x4465=function(){return _0x49f672;};return _0x4465();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x15e99d}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f654c,IconView as _0x2ccfd2,View as _0x49fdad}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x49fdad{constructor(_0x3c1463){super(_0x3c1463);const t=_0x3c1463['t'];this['set']('errorType',null);const _0x3bc746=new _0x3f654c(_0x3c1463);_0x3bc746['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3bc746['withText']=!0x0,_0x3bc746['class']='ck-button-action',_0x3bc746['on']('execute',()=>{this['fire']('retry');}),_0x3bc746['bind']('isVisible')['to'](this,'errorType',_0x4ef373=>'NotFound'!==_0x4ef373);const _0x4abc0f=new _0x2ccfd2();_0x4abc0f['content']=_0x15e99d,_0x4abc0f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x397df1=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':[_0x4abc0f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x397df1['to']('errorType',_0x36c537=>t('NotFound'!==_0x36c537?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3bc746]},{'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 _0x471b74}from'ckeditor5/src/icons.js';import{ButtonView as _0x41b1b3,IconView as _0x8ba662,View as _0x566584}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x566584{constructor(_0x4d0563){super(_0x4d0563);const t=_0x4d0563['t'];this['set']('errorType',null);const _0x48f1ab=new _0x41b1b3(_0x4d0563);_0x48f1ab['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x48f1ab['withText']=!0x0,_0x48f1ab['class']='ck-button-action',_0x48f1ab['on']('execute',()=>{this['fire']('retry');}),_0x48f1ab['bind']('isVisible')['to'](this,'errorType',_0xc361fb=>'NotFound'!==_0xc361fb);const _0x30a1dd=new _0x8ba662();_0x30a1dd['content']=_0x471b74,_0x30a1dd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1b0a99=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':[_0x30a1dd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1b0a99['to']('errorType',_0x17d1b4=>t('NotFound'!==_0x17d1b4?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x48f1ab]},{'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 _0x253a3b,View as _0x3f88db}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3f88db{constructor(_0x4c3d49){super(_0x4c3d49);const t=_0x4c3d49['t'],_0x27123e=this['bindTemplate'],_0x33dcf7=new _0x253a3b();_0x33dcf7['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':[_0x33dcf7,{'text':_0x27123e['to']('imageUploadProgress',_0x29de8d=>t('Loading\x20image...')+'\x20('+(_0x29de8d||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 _0x46b3de,View as _0x4394cb}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4394cb{constructor(_0x38d071){super(_0x38d071);const t=_0x38d071['t'],_0x5e84ea=this['bindTemplate'],_0x1d9a17=new _0x46b3de();_0x1d9a17['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':[_0x1d9a17,{'text':_0x5e84ea['to']('imageUploadProgress',_0x2390a9=>t('Loading\x20image...')+'\x20('+(_0x2390a9||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 _0x8cf5c=_0x2aca;(function(_0x10a6a6,_0x5f0f85){const _0x5a820e=_0x2aca,_0x1550dd=_0x10a6a6();while(!![]){try{const _0x4b677c=parseInt(_0x5a820e(0xc8))/0x1+-parseInt(_0x5a820e(0xe7))/0x2*(-parseInt(_0x5a820e(0xe0))/0x3)+parseInt(_0x5a820e(0xdf))/0x4*(parseInt(_0x5a820e(0xcd))/0x5)+-parseInt(_0x5a820e(0xd0))/0x6+parseInt(_0x5a820e(0xbc))/0x7*(-parseInt(_0x5a820e(0xe1))/0x8)+parseInt(_0x5a820e(0xc4))/0x9+-parseInt(_0x5a820e(0xdb))/0xa*(-parseInt(_0x5a820e(0xe9))/0xb);if(_0x4b677c===_0x5f0f85)break;else _0x1550dd['push'](_0x1550dd['shift']());}catch(_0x3d4a92){_0x1550dd['push'](_0x1550dd['shift']());}}}(_0x105a,0x5d3a6));import{View as _0x5f1ccd}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4fa364}from'./uploadcareimageeditformloadingview.js';function _0x105a(){const _0x29b17c=['ready','focus','_loadingView','div','fire','_focusableView','7210WnirLQ','observe','target','ck-uploadcare-form','toLowerCase','addEventListener','querySelector','ck-reset_all-excluded','2950506CZsICH','add','getFocusableElement','_items','138537mfqAxx','createCollection','uploading','addMany','_addErrorViewListeners','5hINXrT','addedNodes','_setView','4237002XgMmnC','_editingView','change:status','error','filter','nodeName','once','render','element','status','uc-cloud-image-editor','40AshUIA','_addUploadcareImageEditorListeners','length','detail','978412xKNpfF','8799TPXHmH','3488SQQyFW','retry','cancel','_errorView','apply','clear','302HmLhBp','setTemplate','1053943UUZGUQ','cdnUrl','_waitForImageEditorComponent','set','disconnect'];_0x105a=function(){return _0x29b17c;};return _0x105a();}import{UploadcareImageEditFormErrorView as _0x3d30e1}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x19cde7}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xac7a02}from'../../utils/dialogfocusmanagerview.js';function _0x2aca(_0x209257,_0x26f978){const _0x105a65=_0x105a();return _0x2aca=function(_0x2aca98,_0x1c3b52){_0x2aca98=_0x2aca98-0xb5;let _0x503583=_0x105a65[_0x2aca98];return _0x503583;},_0x2aca(_0x209257,_0x26f978);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xac7a02{[_0x8cf5c(0xc7)];[_0x8cf5c(0xb8)];[_0x8cf5c(0xe4)];[_0x8cf5c(0xd1)];[_0x8cf5c(0xbb)];constructor(_0x335485,_0x456946,_0x4bdbc2){const _0x234426=_0x8cf5c;super(_0x335485),this[_0x234426(0xc7)]=this[_0x234426(0xc9)](),this[_0x234426(0xb8)]=new _0x4fa364(_0x335485),this[_0x234426(0xe4)]=new _0x3d30e1(_0x335485),this[_0x234426(0xd1)]=new _0x19cde7(_0x335485,_0x4bdbc2),this[_0x234426(0xbb)]=new _0x5f1ccd(_0x335485),this[_0x234426(0xbb)][_0x234426(0xe8)](this[_0x234426(0xc6)]()),this[_0x234426(0xec)](_0x234426(0xd9),_0x456946),this[_0x234426(0xe8)]({'tag':_0x234426(0xb9),'attributes':{'class':['ck',_0x234426(0xc3),_0x234426(0xbf)],'tabindex':'-1'},'children':this[_0x234426(0xc7)]}),this[_0x234426(0xcf)](),this[_0x234426(0xd6)](_0x234426(0xd7),()=>{const _0x1615d3=_0x234426;this[_0x1615d3(0xeb)](this[_0x1615d3(0xd8)],_0x501c27=>{const _0xa75660=_0x1615d3;this[_0xa75660(0xdc)](_0x501c27);});}),this['on'](_0x234426(0xd2),()=>{const _0x116ada=_0x234426;this[_0x116ada(0xcf)]();}),this[_0x234426(0xcc)]();}[_0x8cf5c(0xb7)](){const _0x2c66c6=_0x8cf5c;this[_0x2c66c6(0xd8)][_0x2c66c6(0xb7)]();}[_0x8cf5c(0xcf)](){const _0x29a8f5=_0x8cf5c;switch(this[_0x29a8f5(0xc7)][_0x29a8f5(0xe6)](),this[_0x29a8f5(0xd9)]){case _0x29a8f5(0xca):this[_0x29a8f5(0xc7)][_0x29a8f5(0xc5)](this[_0x29a8f5(0xb8)]);break;case _0x29a8f5(0xd3):this[_0x29a8f5(0xc7)][_0x29a8f5(0xc5)](this[_0x29a8f5(0xe4)]);break;case _0x29a8f5(0xb6):this[_0x29a8f5(0xc7)][_0x29a8f5(0xcb)]([this[_0x29a8f5(0xd1)],this[_0x29a8f5(0xbb)]]);}}[_0x8cf5c(0xeb)](_0x204a92,_0x44c1bb){const _0x58a698=_0x8cf5c,_0x447176=_0x58a698(0xda),_0x89a76f=_0x204a92[_0x58a698(0xc2)](_0x447176);if(_0x89a76f)return _0x44c1bb(_0x89a76f);const _0xc9451d=new MutationObserver(_0x194683=>{const _0x3c51bd=_0x58a698,_0x474589=_0x194683[_0x3c51bd(0xd4)](_0x531a91=>_0x531a91[_0x3c51bd(0xbe)]===_0x204a92&&_0x531a91[_0x3c51bd(0xce)][_0x3c51bd(0xdd)]>0x0&&_0x531a91[_0x3c51bd(0xce)][0x0][_0x3c51bd(0xd5)][_0x3c51bd(0xc0)]()===_0x447176);_0x474589[_0x3c51bd(0xdd)]&&(_0xc9451d[_0x3c51bd(0xb5)](),_0x44c1bb(_0x474589[0x0][_0x3c51bd(0xce)][0x0]));});_0xc9451d[_0x58a698(0xbd)](_0x204a92,{'childList':!0x0,'subtree':!0x0});}[_0x8cf5c(0xdc)](_0x227f4e){const _0x1eb4af=_0x8cf5c;_0x227f4e[_0x1eb4af(0xc1)](_0x1eb4af(0xe5),_0x4daca8=>{const _0x26ef4b=_0x1eb4af;this[_0x26ef4b(0xba)](_0x26ef4b(0xe5),{'imageSrc':_0x4daca8[_0x26ef4b(0xde)][_0x26ef4b(0xea)]});}),_0x227f4e[_0x1eb4af(0xc1)](_0x1eb4af(0xe3),()=>{const _0x71bc0d=_0x1eb4af;this[_0x71bc0d(0xba)](_0x71bc0d(0xe3));});}[_0x8cf5c(0xcc)](){const _0x5b1cbf=_0x8cf5c;this[_0x5b1cbf(0xe4)]['on'](_0x5b1cbf(0xe2),()=>{const _0x336962=_0x5b1cbf;this[_0x336962(0xba)](_0x336962(0xe2));});}}
23
+ function _0x922c(){const _0x101e37=['addMany','clear','_loadingView','filter','nodeName','disconnect','add','div','set','setTemplate','_waitForImageEditorComponent','1242914LRWwdC','1306132BtiKJr','_items','_addErrorViewListeners','uploading','uc-cloud-image-editor','querySelector','observe','apply','_focusableView','addEventListener','cancel','8HCgWIT','_editingView','detail','_addUploadcareImageEditorListeners','length','ck-uploadcare-form','target','_errorView','addedNodes','retry','element','cdnUrl','31466750uPUreD','focus','error','ck-reset_all-excluded','once','8746896OWZpyA','change:status','3864210YAiPFx','ready','fire','2782414uXioFB','render','7213925KkVTFC','status','_setView','getFocusableElement','toLowerCase','createCollection'];_0x922c=function(){return _0x101e37;};return _0x922c();}const _0x2c4e38=_0x47bf;(function(_0x4fa5e2,_0x42201b){const _0x18ac46=_0x47bf,_0x3bf203=_0x4fa5e2();while(!![]){try{const _0x40558b=-parseInt(_0x18ac46(0x9b))/0x1+-parseInt(_0x18ac46(0x88))/0x2+-parseInt(_0x18ac46(0x85))/0x3+parseInt(_0x18ac46(0x9c))/0x4+-parseInt(_0x18ac46(0x8a))/0x5+parseInt(_0x18ac46(0x83))/0x6+parseInt(_0x18ac46(0x7e))/0x7*(parseInt(_0x18ac46(0x72))/0x8);if(_0x40558b===_0x42201b)break;else _0x3bf203['push'](_0x3bf203['shift']());}catch(_0x2f8198){_0x3bf203['push'](_0x3bf203['shift']());}}}(_0x922c,0xdf4bf));import{View as _0x460e12}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x17c7a4}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x96ca8b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x174061}from'./uploadcareimageeditformeditingview.js';function _0x47bf(_0x45bd25,_0x1a27d8){const _0x922cd2=_0x922c();return _0x47bf=function(_0x47bfed,_0x3dc64b){_0x47bfed=_0x47bfed-0x69;let _0x528502=_0x922cd2[_0x47bfed];return _0x528502;},_0x47bf(_0x45bd25,_0x1a27d8);}import{DialogFocusManagerView as _0x1f5e60}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1f5e60{[_0x2c4e38(0x9d)];[_0x2c4e38(0x92)];[_0x2c4e38(0x79)];[_0x2c4e38(0x73)];[_0x2c4e38(0x6f)];constructor(_0x5ab76c,_0x1525e6,_0x2d1c8b){const _0x2ec701=_0x2c4e38;super(_0x5ab76c),this[_0x2ec701(0x9d)]=this[_0x2ec701(0x8f)](),this[_0x2ec701(0x92)]=new _0x17c7a4(_0x5ab76c),this[_0x2ec701(0x79)]=new _0x96ca8b(_0x5ab76c),this[_0x2ec701(0x73)]=new _0x174061(_0x5ab76c,_0x2d1c8b),this[_0x2ec701(0x6f)]=new _0x460e12(_0x5ab76c),this[_0x2ec701(0x6f)][_0x2ec701(0x99)](this[_0x2ec701(0x8d)]()),this[_0x2ec701(0x98)](_0x2ec701(0x8b),_0x1525e6),this[_0x2ec701(0x99)]({'tag':_0x2ec701(0x97),'attributes':{'class':['ck',_0x2ec701(0x81),_0x2ec701(0x77)],'tabindex':'-1'},'children':this[_0x2ec701(0x9d)]}),this[_0x2ec701(0x8c)](),this[_0x2ec701(0x82)](_0x2ec701(0x89),()=>{const _0x5acec9=_0x2ec701;this[_0x5acec9(0x9a)](this[_0x5acec9(0x7c)],_0x56fe2a=>{const _0xf6faaf=_0x5acec9;this[_0xf6faaf(0x75)](_0x56fe2a);});}),this['on'](_0x2ec701(0x84),()=>{const _0x4c9da6=_0x2ec701;this[_0x4c9da6(0x8c)]();}),this[_0x2ec701(0x69)]();}[_0x2c4e38(0x7f)](){const _0x24ad0f=_0x2c4e38;this[_0x24ad0f(0x7c)][_0x24ad0f(0x7f)]();}[_0x2c4e38(0x8c)](){const _0x2a7c3f=_0x2c4e38;switch(this[_0x2a7c3f(0x9d)][_0x2a7c3f(0x91)](),this[_0x2a7c3f(0x8b)]){case _0x2a7c3f(0x6a):this[_0x2a7c3f(0x9d)][_0x2a7c3f(0x96)](this[_0x2a7c3f(0x92)]);break;case _0x2a7c3f(0x80):this[_0x2a7c3f(0x9d)][_0x2a7c3f(0x96)](this[_0x2a7c3f(0x79)]);break;case _0x2a7c3f(0x86):this[_0x2a7c3f(0x9d)][_0x2a7c3f(0x90)]([this[_0x2a7c3f(0x73)],this[_0x2a7c3f(0x6f)]]);}}[_0x2c4e38(0x9a)](_0x3796cf,_0x4793ca){const _0x3405e0=_0x2c4e38,_0x40ea23=_0x3405e0(0x6b),_0x38e9bf=_0x3796cf[_0x3405e0(0x6c)](_0x40ea23);if(_0x38e9bf)return _0x4793ca(_0x38e9bf);const _0xc5214b=new MutationObserver(_0x4035ba=>{const _0x380893=_0x3405e0,_0x2a39c6=_0x4035ba[_0x380893(0x93)](_0x18675f=>_0x18675f[_0x380893(0x78)]===_0x3796cf&&_0x18675f[_0x380893(0x7a)][_0x380893(0x76)]>0x0&&_0x18675f[_0x380893(0x7a)][0x0][_0x380893(0x94)][_0x380893(0x8e)]()===_0x40ea23);_0x2a39c6[_0x380893(0x76)]&&(_0xc5214b[_0x380893(0x95)](),_0x4793ca(_0x2a39c6[0x0][_0x380893(0x7a)][0x0]));});_0xc5214b[_0x3405e0(0x6d)](_0x3796cf,{'childList':!0x0,'subtree':!0x0});}[_0x2c4e38(0x75)](_0x806b23){const _0x23dc9f=_0x2c4e38;_0x806b23[_0x23dc9f(0x70)](_0x23dc9f(0x6e),_0x40f260=>{const _0x10e484=_0x23dc9f;this[_0x10e484(0x87)](_0x10e484(0x6e),{'imageSrc':_0x40f260[_0x10e484(0x74)][_0x10e484(0x7d)]});}),_0x806b23[_0x23dc9f(0x70)](_0x23dc9f(0x71),()=>{const _0x412041=_0x23dc9f;this[_0x412041(0x87)](_0x412041(0x71));});}[_0x2c4e38(0x69)](){const _0x31974c=_0x2c4e38;this[_0x31974c(0x79)]['on'](_0x31974c(0x7b),()=>{const _0x25057d=_0x31974c;this[_0x25057d(0x87)](_0x25057d(0x7b));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c543f=_0x47ba;function _0x47ba(_0x4b2557,_0x23bf5c){const _0x2ea06c=_0x2ea0();return _0x47ba=function(_0x47ba4d,_0x54f384){_0x47ba4d=_0x47ba4d-0x115;let _0x19b9ce=_0x2ea06c[_0x47ba4d];return _0x19b9ce;},_0x47ba(_0x4b2557,_0x23bf5c);}(function(_0x3970aa,_0x589045){const _0x1b269d=_0x47ba,_0x229477=_0x3970aa();while(!![]){try{const _0x370ac5=-parseInt(_0x1b269d(0x134))/0x1*(-parseInt(_0x1b269d(0x121))/0x2)+-parseInt(_0x1b269d(0x11d))/0x3+parseInt(_0x1b269d(0x116))/0x4+parseInt(_0x1b269d(0x127))/0x5*(parseInt(_0x1b269d(0x123))/0x6)+-parseInt(_0x1b269d(0x118))/0x7*(parseInt(_0x1b269d(0x11e))/0x8)+parseInt(_0x1b269d(0x12a))/0x9+-parseInt(_0x1b269d(0x130))/0xa*(-parseInt(_0x1b269d(0x12c))/0xb);if(_0x370ac5===_0x589045)break;else _0x229477['push'](_0x229477['shift']());}catch(_0x30cb6e){_0x229477['push'](_0x229477['shift']());}}}(_0x2ea0,0xcbdb9));import{Command as _0xf339f5}from'ckeditor5/src/core.js';import{Dialog as _0x59cbe5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x41846a}from'./ui/uploadcareimageeditcontroller.js';function _0x2ea0(){const _0x375414=['685165JXmyOA','isActive','config','5391153YyDXgL','plugins','196724zGpQrM','selection','imageEditController','element','460ZhADvy','model','get','uploadcare.allowExternalImagesEditing','3DzCgxp','isEnabled','refresh','2279132FOrzPh','_isEditable','1199891AhqzQR','getSelectedElement','bind','execute','imageInline','4355202YAOgZu','32MlLTWD','requires','document','197172qIfeXL','set','30zBiDCo','unbind','editor','imageBlock'];_0x2ea0=function(){return _0x375414;};return _0x2ea0();}import{createEditabilityChecker as _0x540877}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xf339f5{[_0x5c543f(0x12e)];static get[_0x5c543f(0x11f)](){return[_0x59cbe5];}[_0x5c543f(0x117)];constructor(_0x1cd19e){const _0x165b8a=_0x5c543f;super(_0x1cd19e),this[_0x165b8a(0x12e)]=void 0x0,this[_0x165b8a(0x117)]=_0x540877(_0x1cd19e[_0x165b8a(0x129)][_0x165b8a(0x132)](_0x165b8a(0x133))||[]),this[_0x165b8a(0x122)]({'isActive':!0x1});}[_0x5c543f(0x115)](){const _0x4859fb=_0x5c543f,_0x27b2be=this[_0x4859fb(0x125)][_0x4859fb(0x131)][_0x4859fb(0x120)][_0x4859fb(0x12d)][_0x4859fb(0x119)]();this[_0x4859fb(0x135)]=this[_0x4859fb(0x117)](_0x27b2be);}[_0x5c543f(0x11b)](){const _0x14e456=_0x5c543f;this[_0x14e456(0x12e)]&&(this[_0x14e456(0x124)](_0x14e456(0x128)),this[_0x14e456(0x12e)]=void 0x0);const _0x3ccde8=this[_0x14e456(0x125)][_0x14e456(0x131)][_0x14e456(0x120)][_0x14e456(0x12d)][_0x14e456(0x119)]();_0x3ccde8&&(_0x3ccde8['is'](_0x14e456(0x12f),_0x14e456(0x126))||_0x3ccde8['is'](_0x14e456(0x12f),_0x14e456(0x11c)))&&(this[_0x14e456(0x12e)]=new _0x41846a(this[_0x14e456(0x125)],this[_0x14e456(0x125)][_0x14e456(0x12b)][_0x14e456(0x132)](_0x59cbe5),_0x3ccde8),this[_0x14e456(0x11a)](_0x14e456(0x128))['to'](this[_0x14e456(0x12e)],_0x14e456(0x128)));}}
23
+ const _0x26e1cc=_0x8301;function _0x8301(_0x592732,_0x31f9f9){const _0x43d289=_0x43d2();return _0x8301=function(_0x830146,_0x459fca){_0x830146=_0x830146-0x1bd;let _0x1e75d2=_0x43d289[_0x830146];return _0x1e75d2;},_0x8301(_0x592732,_0x31f9f9);}(function(_0x1ca661,_0x2f7cb0){const _0x1b1f08=_0x8301,_0x3416a1=_0x1ca661();while(!![]){try{const _0x1b534b=parseInt(_0x1b1f08(0x1ca))/0x1*(parseInt(_0x1b1f08(0x1c4))/0x2)+parseInt(_0x1b1f08(0x1c5))/0x3*(parseInt(_0x1b1f08(0x1cd))/0x4)+parseInt(_0x1b1f08(0x1bd))/0x5+-parseInt(_0x1b1f08(0x1db))/0x6+-parseInt(_0x1b1f08(0x1c3))/0x7+parseInt(_0x1b1f08(0x1cb))/0x8+-parseInt(_0x1b1f08(0x1d3))/0x9;if(_0x1b534b===_0x2f7cb0)break;else _0x3416a1['push'](_0x3416a1['shift']());}catch(_0x1156e9){_0x3416a1['push'](_0x3416a1['shift']());}}}(_0x43d2,0x2c0c4));function _0x43d2(){const _0x14ba59=['7404wqdAjW','imageBlock','_isEditable','editor','imageInline','execute','3437451MoGCnA','uploadcare.allowExternalImagesEditing','config','isActive','refresh','getSelectedElement','bind','selection','1372062cvCHRq','1713285jasvZY','model','unbind','get','element','document','528906FWoSTn','63980hokghx','339Jlwsxx','isEnabled','set','plugins','requires','6uPoUwj','982672lUKwuT','imageEditController'];_0x43d2=function(){return _0x14ba59;};return _0x43d2();}import{Command as _0x1eaacc}from'ckeditor5/src/core.js';import{Dialog as _0x5363cb}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x26031e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x117ffe}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1eaacc{[_0x26e1cc(0x1cc)];static get[_0x26e1cc(0x1c9)](){return[_0x5363cb];}[_0x26e1cc(0x1cf)];constructor(_0x330c51){const _0x8fe8f3=_0x26e1cc;super(_0x330c51),this[_0x8fe8f3(0x1cc)]=void 0x0,this[_0x8fe8f3(0x1cf)]=_0x117ffe(_0x330c51[_0x8fe8f3(0x1d5)][_0x8fe8f3(0x1c0)](_0x8fe8f3(0x1d4))||[]),this[_0x8fe8f3(0x1c7)]({'isActive':!0x1});}[_0x26e1cc(0x1d7)](){const _0x55fe19=_0x26e1cc,_0x9cf5e4=this[_0x55fe19(0x1d0)][_0x55fe19(0x1be)][_0x55fe19(0x1c2)][_0x55fe19(0x1da)][_0x55fe19(0x1d8)]();this[_0x55fe19(0x1c6)]=this[_0x55fe19(0x1cf)](_0x9cf5e4);}[_0x26e1cc(0x1d2)](){const _0x47836c=_0x26e1cc;this[_0x47836c(0x1cc)]&&(this[_0x47836c(0x1bf)](_0x47836c(0x1d6)),this[_0x47836c(0x1cc)]=void 0x0);const _0x19c375=this[_0x47836c(0x1d0)][_0x47836c(0x1be)][_0x47836c(0x1c2)][_0x47836c(0x1da)][_0x47836c(0x1d8)]();_0x19c375&&(_0x19c375['is'](_0x47836c(0x1c1),_0x47836c(0x1ce))||_0x19c375['is'](_0x47836c(0x1c1),_0x47836c(0x1d1)))&&(this[_0x47836c(0x1cc)]=new _0x26031e(this[_0x47836c(0x1d0)],this[_0x47836c(0x1d0)][_0x47836c(0x1c8)][_0x47836c(0x1c0)](_0x5363cb),_0x19c375),this[_0x47836c(0x1d9)](_0x47836c(0x1d6))['to'](this[_0x47836c(0x1cc)],_0x47836c(0x1d6)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ba6(_0x27e83c,_0x5ef488){const _0x351fb5=_0x351f();return _0x1ba6=function(_0x1ba65e,_0x3207c7){_0x1ba65e=_0x1ba65e-0x1a8;let _0xf1a4f0=_0x351fb5[_0x1ba65e];return _0xf1a4f0;},_0x1ba6(_0x27e83c,_0x5ef488);}function _0x351f(){const _0x3766f7=['ImageUtils','requires','ImageEditing','add','init','commands','isPremiumPlugin','pluginName','9223911DlIoUL','5489640IGBXwv','326277OMTacE','726192MTMdpc','uploadcareImageEdit','927204RhUgud','isOfficialPlugin','5506ZwQlAT','21WSqvHC','240RhaOrA','UploadcareImageEditEditing','579515AJvGvn','uploadcareImageReplace'];_0x351f=function(){return _0x3766f7;};return _0x351f();}const _0x4e81c8=_0x1ba6;(function(_0x3ec565,_0x418439){const _0x2e974d=_0x1ba6,_0x3d5be6=_0x3ec565();while(!![]){try{const _0x1bf850=parseInt(_0x2e974d(0x1b3))/0x1*(parseInt(_0x2e974d(0x1b5))/0x2)+parseInt(_0x2e974d(0x1ae))/0x3+-parseInt(_0x2e974d(0x1af))/0x4+-parseInt(_0x2e974d(0x1b7))/0x5+-parseInt(_0x2e974d(0x1b1))/0x6*(parseInt(_0x2e974d(0x1b4))/0x7)+-parseInt(_0x2e974d(0x1ad))/0x8+parseInt(_0x2e974d(0x1ac))/0x9;if(_0x1bf850===_0x418439)break;else _0x3d5be6['push'](_0x3d5be6['shift']());}catch(_0x2cd9ff){_0x3d5be6['push'](_0x3d5be6['shift']());}}}(_0x351f,0x54bdc));import{Plugin as _0x1a33b5}from'ckeditor5/src/core.js';import{Notification as _0x5669ad}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x24e918}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x51f2fc}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x21f0e7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1a33b5{static get[_0x4e81c8(0x1ab)](){const _0x38d0f3=_0x4e81c8;return _0x38d0f3(0x1b6);}static get[_0x4e81c8(0x1ba)](){const _0x27f440=_0x4e81c8;return[_0x21f0e7,_0x5669ad,_0x27f440(0x1b9),_0x27f440(0x1bb)];}static get[_0x4e81c8(0x1b2)](){return!0x0;}static get[_0x4e81c8(0x1aa)](){return!0x0;}[_0x4e81c8(0x1a8)](){const _0x4ba7a0=_0x4e81c8,{editor:_0x2a95ef}=this;_0x2a95ef[_0x4ba7a0(0x1a9)][_0x4ba7a0(0x1bc)](_0x4ba7a0(0x1b0),new _0x24e918(_0x2a95ef)),_0x2a95ef[_0x4ba7a0(0x1a9)][_0x4ba7a0(0x1bc)](_0x4ba7a0(0x1b8),new _0x51f2fc(_0x2a95ef));}}
23
+ const _0x29b4d5=_0x5e6c;(function(_0x32ce95,_0x330237){const _0x435362=_0x5e6c,_0x466878=_0x32ce95();while(!![]){try{const _0x1ae238=parseInt(_0x435362(0x16d))/0x1*(-parseInt(_0x435362(0x169))/0x2)+-parseInt(_0x435362(0x163))/0x3+parseInt(_0x435362(0x166))/0x4*(-parseInt(_0x435362(0x15b))/0x5)+-parseInt(_0x435362(0x165))/0x6+parseInt(_0x435362(0x15a))/0x7+-parseInt(_0x435362(0x15c))/0x8+-parseInt(_0x435362(0x162))/0x9*(-parseInt(_0x435362(0x16c))/0xa);if(_0x1ae238===_0x330237)break;else _0x466878['push'](_0x466878['shift']());}catch(_0x48c73f){_0x466878['push'](_0x466878['shift']());}}}(_0x213d,0xdf769));import{Plugin as _0x5cce49}from'ckeditor5/src/core.js';function _0x5e6c(_0xd4a23b,_0x32b23a){const _0x213db4=_0x213d();return _0x5e6c=function(_0x5e6cb2,_0x382695){_0x5e6cb2=_0x5e6cb2-0x15a;let _0x26864e=_0x213db4[_0x5e6cb2];return _0x26864e;},_0x5e6c(_0xd4a23b,_0x32b23a);}import{Notification as _0x29082c}from'ckeditor5/src/ui.js';function _0x213d(){const _0xadef0e=['requires','ImageUtils','uploadcareImageEdit','ImageEditing','pluginName','207cdnHla','44502Yzxuml','UploadcareImageEditEditing','3488646LDXitv','4QjONaS','commands','isPremiumPlugin','257802ZOXewC','add','uploadcareImageReplace','1411010uwscrZ','5UYaAbK','isOfficialPlugin','init','8164051aKSyLX','8544490GeGiku','4373064lzQVIn'];_0x213d=function(){return _0xadef0e;};return _0x213d();}import{UploadcareImageEditCommand as _0x7d6245}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x25379d}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4548d8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5cce49{static get[_0x29b4d5(0x161)](){const _0x51b107=_0x29b4d5;return _0x51b107(0x164);}static get[_0x29b4d5(0x15d)](){const _0x3f2501=_0x29b4d5;return[_0x4548d8,_0x29082c,_0x3f2501(0x15e),_0x3f2501(0x160)];}static get[_0x29b4d5(0x16e)](){return!0x0;}static get[_0x29b4d5(0x168)](){return!0x0;}[_0x29b4d5(0x16f)](){const _0x4fba3e=_0x29b4d5,{editor:_0x530dc5}=this;_0x530dc5[_0x4fba3e(0x167)][_0x4fba3e(0x16a)](_0x4fba3e(0x15f),new _0x7d6245(_0x530dc5)),_0x530dc5[_0x4fba3e(0x167)][_0x4fba3e(0x16a)](_0x4fba3e(0x16b),new _0x25379d(_0x530dc5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x537c37}from'ckeditor5/src/core.js';import{ButtonView as _0x4e22b5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x31b7ca}from'ckeditor5/src/icons.js';import{createElement as _0x5beac4}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 _0x537c37{['_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 _0x5a3eae=this['editor'];_0x5a3eae['ui']['componentFactory']['add']('uploadcareImageEdit',_0x258ce9=>{const _0x335f5e=_0x5a3eae['commands']['get']('uploadcareImageEdit'),_0x2a2fe5=new _0x4e22b5(_0x258ce9),t=_0x258ce9['t'];return _0x2a2fe5['set']({'icon':_0x31b7ca,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a2fe5['bind']('isEnabled')['to'](_0x335f5e),_0x2a2fe5['bind']('isOn')['to'](_0x335f5e,'isActive'),this['listenTo'](_0x2a2fe5,'execute',()=>{_0x5a3eae['execute']('uploadcareImageEdit'),_0x5a3eae['editing']['view']['focus']();}),_0x2a2fe5;}),this['_initConfig']();}['_initConfig'](){const _0x36bbe7=_0x5beac4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x36bbe7),this['listenTo'](this['editor'],'destroy',()=>{_0x36bbe7['remove']();});}}
23
+ import{Plugin as _0x52cdfc}from'ckeditor5/src/core.js';import{ButtonView as _0x227766}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x587be0}from'ckeditor5/src/icons.js';import{createElement as _0x3e919f}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 _0x52cdfc{['_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 _0x235ecd=this['editor'];_0x235ecd['ui']['componentFactory']['add']('uploadcareImageEdit',_0x27cec2=>{const _0x194267=_0x235ecd['commands']['get']('uploadcareImageEdit'),_0x4eb983=new _0x227766(_0x27cec2),t=_0x27cec2['t'];return _0x4eb983['set']({'icon':_0x587be0,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4eb983['bind']('isEnabled')['to'](_0x194267),_0x4eb983['bind']('isOn')['to'](_0x194267,'isActive'),this['listenTo'](_0x4eb983,'execute',()=>{_0x235ecd['execute']('uploadcareImageEdit'),_0x235ecd['editing']['view']['focus']();}),_0x4eb983;}),this['_initConfig']();}['_initConfig'](){const _0x1fa706=_0x3e919f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1fa706),this['listenTo'](this['editor'],'destroy',()=>{_0x1fa706['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14b3d6=_0x580e;function _0x2b7f(){const _0x2f9f6d=['refresh','isEnabled','setAttributes','208172vvxGQT','imageInline','editor','18gCmKYa','execute','change','8zsOqKO','selection','27fVSNiL','document','2232378AHooKR','getSelectedElement','srcset','model','sizes','724577jcopmW','4600850tgaGJu','imageBlock','1303925KbydHn','element','238924oxEZJD','570406XXImtn','removeAttribute'];_0x2b7f=function(){return _0x2f9f6d;};return _0x2b7f();}(function(_0x48bd40,_0x268fbd){const _0x4fa623=_0x580e,_0x5e90a9=_0x48bd40();while(!![]){try{const _0x27005b=parseInt(_0x4fa623(0x109))/0x1+-parseInt(_0x4fa623(0x10a))/0x2+-parseInt(_0x4fa623(0x117))/0x3*(-parseInt(_0x4fa623(0x10f))/0x4)+parseInt(_0x4fa623(0x107))/0x5+parseInt(_0x4fa623(0x119))/0x6+-parseInt(_0x4fa623(0x11e))/0x7*(-parseInt(_0x4fa623(0x115))/0x8)+parseInt(_0x4fa623(0x112))/0x9*(-parseInt(_0x4fa623(0x11f))/0xa);if(_0x27005b===_0x268fbd)break;else _0x5e90a9['push'](_0x5e90a9['shift']());}catch(_0x1b450d){_0x5e90a9['push'](_0x5e90a9['shift']());}}}(_0x2b7f,0x3a2d9));function _0x580e(_0x53a43c,_0x3050a8){const _0x2b7f16=_0x2b7f();return _0x580e=function(_0x580e69,_0xf523e9){_0x580e69=_0x580e69-0x106;let _0x2c26ff=_0x2b7f16[_0x580e69];return _0x2c26ff;},_0x580e(_0x53a43c,_0x3050a8);}import{Command as _0x438ce0}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x438ce0{[_0x14b3d6(0x10c)](){const _0xc0bb5a=_0x14b3d6,_0x1cb92f=this[_0xc0bb5a(0x111)][_0xc0bb5a(0x11c)][_0xc0bb5a(0x118)][_0xc0bb5a(0x116)][_0xc0bb5a(0x11a)]();this[_0xc0bb5a(0x10d)]=Boolean(_0x1cb92f&&(_0x1cb92f['is'](_0xc0bb5a(0x108),_0xc0bb5a(0x106))||_0x1cb92f['is'](_0xc0bb5a(0x108),_0xc0bb5a(0x110))));}[_0x14b3d6(0x113)](_0x147912){const _0x5916f2=_0x14b3d6,_0x5e029b=this[_0x5916f2(0x111)][_0x5916f2(0x11c)][_0x5916f2(0x118)][_0x5916f2(0x116)][_0x5916f2(0x11a)]();this[_0x5916f2(0x111)][_0x5916f2(0x11c)][_0x5916f2(0x114)](_0x20084f=>{const _0x32a16d=_0x5916f2;_0x20084f[_0x32a16d(0x10e)](_0x147912,_0x5e029b),_0x20084f[_0x32a16d(0x10b)](_0x32a16d(0x11b),_0x5e029b),_0x20084f[_0x32a16d(0x10b)](_0x32a16d(0x11d),_0x5e029b);});}}
23
+ function _0x9870(_0x55a429,_0x5c7b3e){const _0x208424=_0x2084();return _0x9870=function(_0x987094,_0x45ef17){_0x987094=_0x987094-0x7a;let _0x218b95=_0x208424[_0x987094];return _0x218b95;},_0x9870(_0x55a429,_0x5c7b3e);}const _0x3356c1=_0x9870;(function(_0x14f269,_0x2052c6){const _0x44ce3d=_0x9870,_0xe9ace0=_0x14f269();while(!![]){try{const _0x524308=-parseInt(_0x44ce3d(0x88))/0x1*(parseInt(_0x44ce3d(0x90))/0x2)+-parseInt(_0x44ce3d(0x7b))/0x3*(parseInt(_0x44ce3d(0x92))/0x4)+parseInt(_0x44ce3d(0x8d))/0x5*(-parseInt(_0x44ce3d(0x84))/0x6)+parseInt(_0x44ce3d(0x8f))/0x7*(-parseInt(_0x44ce3d(0x87))/0x8)+-parseInt(_0x44ce3d(0x82))/0x9+parseInt(_0x44ce3d(0x86))/0xa+-parseInt(_0x44ce3d(0x89))/0xb*(-parseInt(_0x44ce3d(0x80))/0xc);if(_0x524308===_0x2052c6)break;else _0xe9ace0['push'](_0xe9ace0['shift']());}catch(_0x3590a7){_0xe9ace0['push'](_0xe9ace0['shift']());}}}(_0x2084,0x6442b));function _0x2084(){const _0x17e0d4=['document','sizes','2918364vtpZtq','srcset','4851945eZFehy','change','18qREYbY','imageInline','7557430LFTAbi','8PqomFN','52949xidOzY','66cUtSIi','editor','isEnabled','model','142925AgIfWW','refresh','779149yYYSUq','20fXXanO','imageBlock','4PrGubf','element','setAttributes','removeAttribute','selection','1615803UxNokO','execute','getSelectedElement'];_0x2084=function(){return _0x17e0d4;};return _0x2084();}import{Command as _0x5730dc}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5730dc{[_0x3356c1(0x8e)](){const _0x18342d=_0x3356c1,_0x4c7baf=this[_0x18342d(0x8a)][_0x18342d(0x8c)][_0x18342d(0x7e)][_0x18342d(0x7a)][_0x18342d(0x7d)]();this[_0x18342d(0x8b)]=Boolean(_0x4c7baf&&(_0x4c7baf['is'](_0x18342d(0x93),_0x18342d(0x91))||_0x4c7baf['is'](_0x18342d(0x93),_0x18342d(0x85))));}[_0x3356c1(0x7c)](_0x43998d){const _0x4d12fa=_0x3356c1,_0xbfd85e=this[_0x4d12fa(0x8a)][_0x4d12fa(0x8c)][_0x4d12fa(0x7e)][_0x4d12fa(0x7a)][_0x4d12fa(0x7d)]();this[_0x4d12fa(0x8a)][_0x4d12fa(0x8c)][_0x4d12fa(0x83)](_0x27fa1e=>{const _0x568f40=_0x4d12fa;_0x27fa1e[_0x568f40(0x94)](_0x43998d,_0xbfd85e),_0x27fa1e[_0x568f40(0x95)](_0x568f40(0x81),_0xbfd85e),_0x27fa1e[_0x568f40(0x95)](_0x568f40(0x7f),_0xbfd85e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3737(){var _0x5ed7de=['110920qPTUyd','1262072mWPsxD','UploadcareImageEdit','7gVqCBV','123686DMIgKx','1946870xFDsyE','63wRENfo','2096742LVxhoD','pluginName','requires','429201QKRAQn','isOfficialPlugin','isPremiumPlugin','368348BVACTb'];_0x3737=function(){return _0x5ed7de;};return _0x3737();}function _0x5701(_0x2cf585,_0x40e83f){var _0x37377a=_0x3737();return _0x5701=function(_0x570196,_0x3f3bbd){_0x570196=_0x570196-0xf2;var _0x23c19b=_0x37377a[_0x570196];return _0x23c19b;},_0x5701(_0x2cf585,_0x40e83f);}var _0x2c7064=_0x5701;(function(_0x507bb2,_0x88e2b5){var _0x568264=_0x5701,_0x5e5563=_0x507bb2();while(!![]){try{var _0xc0e950=-parseInt(_0x568264(0xff))/0x1+parseInt(_0x568264(0xfa))/0x2+-parseInt(_0x568264(0xf7))/0x3+-parseInt(_0x568264(0xfb))/0x4+-parseInt(_0x568264(0xf2))/0x5+parseInt(_0x568264(0xf4))/0x6*(-parseInt(_0x568264(0xfe))/0x7)+parseInt(_0x568264(0xfc))/0x8*(parseInt(_0x568264(0xf3))/0x9);if(_0xc0e950===_0x88e2b5)break;else _0x5e5563['push'](_0x5e5563['shift']());}catch(_0x2eb334){_0x5e5563['push'](_0x5e5563['shift']());}}}(_0x3737,0x3e4c5));import{Plugin as _0x66b221}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xd7ae66}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x54cf90}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x66b221{static get[_0x2c7064(0xf5)](){var _0x4c7d1a=_0x2c7064;return _0x4c7d1a(0xfd);}static get[_0x2c7064(0xf6)](){return[_0xd7ae66,_0x54cf90];}static get[_0x2c7064(0xf8)](){return!0x0;}static get[_0x2c7064(0xf9)](){return!0x0;}}
23
+ var _0x13b267=_0x5196;function _0x5196(_0x2f6b82,_0x2f87ba){var _0xb41521=_0xb415();return _0x5196=function(_0x51960c,_0x212aaf){_0x51960c=_0x51960c-0x13d;var _0x31d351=_0xb41521[_0x51960c];return _0x31d351;},_0x5196(_0x2f6b82,_0x2f87ba);}(function(_0x4ec48f,_0x4361e6){var _0x200a96=_0x5196,_0x440e6c=_0x4ec48f();while(!![]){try{var _0x5d9373=parseInt(_0x200a96(0x140))/0x1+-parseInt(_0x200a96(0x141))/0x2+parseInt(_0x200a96(0x148))/0x3+parseInt(_0x200a96(0x146))/0x4*(-parseInt(_0x200a96(0x142))/0x5)+-parseInt(_0x200a96(0x149))/0x6+parseInt(_0x200a96(0x14a))/0x7+parseInt(_0x200a96(0x147))/0x8*(parseInt(_0x200a96(0x13d))/0x9);if(_0x5d9373===_0x4361e6)break;else _0x440e6c['push'](_0x440e6c['shift']());}catch(_0x194b5a){_0x440e6c['push'](_0x440e6c['shift']());}}}(_0xb415,0x54c60));import{Plugin as _0x40f2a3}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3d2be9}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3836c9}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x40f2a3{static get[_0x13b267(0x144)](){var _0x40f00f=_0x13b267;return _0x40f00f(0x13e);}static get[_0x13b267(0x145)](){return[_0x3d2be9,_0x3836c9];}static get[_0x13b267(0x13f)](){return!0x0;}static get[_0x13b267(0x143)](){return!0x0;}}function _0xb415(){var _0x1d71ca=['680943qWiNuK','1134528bAARGP','4565EhXjbU','isPremiumPlugin','pluginName','requires','644jcetgI','56IhBeEL','124014BUChHi','1690266ySydlE','4157342pQTTck','34731AEVtob','UploadcareImageEdit','isOfficialPlugin'];_0xb415=function(){return _0x1d71ca;};return _0xb415();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13c601=_0x17a4;(function(_0x35b888,_0x5985cf){const _0x3665de=_0x17a4,_0x663673=_0x35b888();while(!![]){try{const _0x52bc30=parseInt(_0x3665de(0xb9))/0x1*(parseInt(_0x3665de(0xc4))/0x2)+-parseInt(_0x3665de(0xa8))/0x3+-parseInt(_0x3665de(0xef))/0x4+parseInt(_0x3665de(0xe3))/0x5*(-parseInt(_0x3665de(0xcb))/0x6)+-parseInt(_0x3665de(0xf1))/0x7+parseInt(_0x3665de(0xac))/0x8+parseInt(_0x3665de(0xeb))/0x9*(parseInt(_0x3665de(0xf5))/0xa);if(_0x52bc30===_0x5985cf)break;else _0x663673['push'](_0x663673['shift']());}catch(_0x371d31){_0x663673['push'](_0x663673['shift']());}}}(_0x3d02,0x51cff));import{Plugin as _0x23109d}from'ckeditor5/src/core.js';import{IconDropbox as _0x229b47,IconFacebook as _0x49a184,IconGoogleDrive as _0x26a09c,IconGooglePhotos as _0x4f0374,IconUploadcareImageUpload as _0x3e0e0d,IconUploadcareLink as _0x30eb19,IconOneDrive as _0x313d2e}from'ckeditor5/src/icons.js';function _0x17a4(_0x18dcec,_0x5b9c9b){const _0x3d02f9=_0x3d02();return _0x17a4=function(_0x17a454,_0x39707a){_0x17a454=_0x17a454-0xa7;let _0x32f261=_0x3d02f9[_0x17a454];return _0x32f261;},_0x17a4(_0x18dcec,_0x5b9c9b);}import{ButtonView as _0x2a1eb1,MenuBarMenuListItemButtonView as _0x117e29}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x50d7f1}from'./uploadcareconfig.js';import{getTranslation as _0x9534fa}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x3d02(){const _0x335197=['destroy','evaluationLimit','has','GDrive','isPremiumPlugin','uploadcareLicenseKeyExpired','upload','3auGnsd','isEnabled','GPhotos','shortText','_showLicenseError','_createMenuBarButtons','Dropbox','uploadcareLicenseKeyInvalid','locale','execute','type','157308CTganp','invalid','_normalizeConfigSourceList','bind','expired','_createButton','afterInit','4626tRLawr','Uploadcare','editor','pluginName','assetManager','isImageSelected','_getIntegrationKey','Facebook','text','_createDropdownButtons','get','plugins','forEach','Local','_licenseKeyCheckInterval','uploadcareLicenseKeyValid','map','icon','registerIntegration','commands','entries','push','UploadcareUI','uploadcareLicenseKeyNotAllowed','545uPrAwg','uploadcareLicenseKeyTrialLimit','OneDrive','usageLimit','uploadcareLicenseKeyDomainLimit','init','config','uploadcareLicenseKeyEvaluationLimit','9jvPsHh','ImageInsertUI','url','Replace','1743952ckoFAd','URL','3647252mVPpdD','_createToolbarButton','withText','Insert','11511130lfTYxX','licenseKey','uploadcareLicenseKeyUsageLimit','featureNotAllowed','716097iUsaCG','trialLimit','isOfficialPlugin','uploadcare','1822320aOwgCL','tooltip','uploadcare.uploader.sourceList','domainLimit','reduce','label'];_0x3d02=function(){return _0x335197;};return _0x3d02();}export class UploadcareUI extends _0x23109d{[_0x13c601(0xf6)];[_0x13c601(0xd9)];static get[_0x13c601(0xce)](){const _0x3f2c4c=_0x13c601;return _0x3f2c4c(0xe1);}static get[_0x13c601(0xaa)](){return!0x0;}static get[_0x13c601(0xb6)](){return!0x0;}[_0x13c601(0xe8)](){const _0x48e29c=_0x13c601;this[_0x48e29c(0xf6)]=this[_0x48e29c(0xcd)][_0x48e29c(0xe9)][_0x48e29c(0xd5)](_0x48e29c(0xf6));const _0x226511=this[_0x48e29c(0xcd)];this[_0x48e29c(0xd9)]=setInterval(()=>{const _0x5d90b3=_0x48e29c;let _0x3b1657;for(const _0x49d4c9 in _0x226511){const _0x2ba5e2=_0x49d4c9,_0x2a7c16=_0x226511[_0x2ba5e2];if(_0x5d90b3(0xda)==_0x2a7c16||_0x5d90b3(0xc0)==_0x2a7c16||_0x5d90b3(0xb7)==_0x2a7c16||_0x5d90b3(0xe7)==_0x2a7c16||_0x5d90b3(0xe2)==_0x2a7c16||_0x5d90b3(0xea)==_0x2a7c16||_0x5d90b3(0xe4)==_0x2a7c16||_0x5d90b3(0xf7)==_0x2a7c16){delete _0x226511[_0x2ba5e2],_0x3b1657=_0x2a7c16,clearInterval(this[_0x5d90b3(0xd9)]),this[_0x5d90b3(0xd9)]=void 0x0;break;}}_0x5d90b3(0xc0)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xc5)),_0x5d90b3(0xb7)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xc8)),_0x5d90b3(0xe7)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xaf)),_0x5d90b3(0xe2)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xa7),_0x5d90b3(0xcc)),_0x5d90b3(0xea)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xb3)),_0x5d90b3(0xe4)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xa9)),_0x5d90b3(0xf7)==_0x3b1657&&_0x226511[_0x5d90b3(0xbd)](_0x5d90b3(0xe6));},0x3e8);}[_0x13c601(0xca)](){const _0x432106=_0x13c601,{editor:_0x13a066}=this,_0x2ddbdf=_0x13a066[_0x432106(0xde)][_0x432106(0xd5)](_0x432106(0xab));if(!_0x2ddbdf)return;const _0x4cd3b6=this[_0x432106(0xc6)](_0x13a066[_0x432106(0xe9)][_0x432106(0xd5)](_0x432106(0xae)))[_0x432106(0xb0)]((_0x4e7f7c,_0x276d3e)=>{const _0x1a9ab5=_0x432106,_0x27ac94=this[_0x1a9ab5(0xd1)](_0x276d3e[_0x1a9ab5(0xc3)]);return _0x4e7f7c[_0x27ac94]||(_0x4e7f7c[_0x27ac94]=[]),_0x4e7f7c[_0x27ac94][_0x1a9ab5(0xe0)](_0x276d3e),_0x4e7f7c;},{});_0x13a066[_0x432106(0xd6)][_0x432106(0xb4)](_0x432106(0xec))&&_0x13a066[_0x432106(0xde)][_0x432106(0xd5)](_0x432106(0xab))&&Object[_0x432106(0xdf)](_0x4cd3b6)[_0x432106(0xd7)](([_0x476720,_0x341ece])=>{const _0x5606f2=_0x432106;_0x13a066[_0x5606f2(0xd6)][_0x5606f2(0xd5)](_0x5606f2(0xec))[_0x5606f2(0xdd)]({'name':_0x476720,'observable':()=>_0x2ddbdf,'buttonViewCreator':()=>this[_0x5606f2(0xf2)](_0x341ece),'formViewCreator':()=>this[_0x5606f2(0xd4)](_0x341ece),'menuBarButtonViewCreator':()=>this[_0x5606f2(0xbe)](_0x341ece),'override':_0x5606f2(0xcf)!==_0x476720});});}[_0x13c601(0xb2)](){const _0x271f95=_0x13c601;super[_0x271f95(0xb2)](),this[_0x271f95(0xd9)]&&clearInterval(this[_0x271f95(0xd9)]);}[_0x13c601(0xc6)](_0x3862ed){const _0x1a21ed=_0x13c601,{locale:_0x2bb790}=this[_0x1a21ed(0xcd)];return _0x3862ed[_0x1a21ed(0xdb)](_0x170c6f=>{const _0x4db7f0=_0x1a21ed,_0x58b129=_0x9534fa(_0x2bb790,_0x170c6f,_0x4db7f0(0xf4));switch(_0x170c6f){case _0x50d7f1[_0x4db7f0(0xd8)]:return{'icon':_0x3e0e0d,'type':_0x50d7f1[_0x4db7f0(0xd8)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xf0)]:return{'icon':_0x30eb19,'type':_0x50d7f1[_0x4db7f0(0xf0)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xbf)]:return{'icon':_0x229b47,'type':_0x50d7f1[_0x4db7f0(0xbf)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xd2)]:return{'icon':_0x49a184,'type':_0x50d7f1[_0x4db7f0(0xd2)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xb5)]:return{'icon':_0x26a09c,'type':_0x50d7f1[_0x4db7f0(0xb5)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xbb)]:return{'icon':_0x4f0374,'type':_0x50d7f1[_0x4db7f0(0xbb)],..._0x58b129};case _0x50d7f1[_0x4db7f0(0xe5)]:return{'icon':_0x313d2e,'type':_0x50d7f1[_0x4db7f0(0xe5)],..._0x58b129};}});}[_0x13c601(0xd1)](_0x5625ec){const _0x50a460=_0x13c601;switch(_0x5625ec){case _0x50d7f1[_0x50a460(0xd8)]:return _0x50a460(0xb8);case _0x50d7f1[_0x50a460(0xf0)]:return _0x50a460(0xed);default:return _0x50a460(0xcf);}}[_0x13c601(0xc9)](_0x53d44a,_0x1f32d6){const _0xfd9979=_0x13c601,_0x42b647=this[_0xfd9979(0xcd)],_0x14c331=new _0x53d44a(_0x42b647[_0xfd9979(0xc1)]),_0x478e6d=_0x42b647[_0xfd9979(0xde)][_0xfd9979(0xd5)](_0xfd9979(0xab));return _0x14c331[_0xfd9979(0xc7)](_0xfd9979(0xba))['to'](_0x478e6d),_0x14c331['on'](_0xfd9979(0xc2),()=>{const _0x461005=_0xfd9979;_0x478e6d[_0x461005(0xc2)](_0x1f32d6);}),_0x14c331;}[_0x13c601(0xf2)](_0x124c8a){const _0x2dc283=_0x13c601,{locale:_0x4b48cb}=this[_0x2dc283(0xcd)],_0x17877f=this[_0x2dc283(0xcd)][_0x2dc283(0xd6)][_0x2dc283(0xd5)](_0x2dc283(0xec)),_0x33668e=_0x124c8a[0x0],_0x5a1bcc=this[_0x2dc283(0xc9)](_0x2a1eb1,_0x33668e[_0x2dc283(0xc3)]);return _0x5a1bcc[_0x2dc283(0xdc)]=_0x33668e[_0x2dc283(0xdc)],_0x5a1bcc[_0x2dc283(0xc7)](_0x2dc283(0xb1))['to'](_0x17877f,_0x2dc283(0xd0),_0xba8019=>_0x9534fa(_0x4b48cb,_0x33668e[_0x2dc283(0xc3)],_0xba8019?_0x2dc283(0xee):_0x2dc283(0xf4))[_0x2dc283(0xd3)]),_0x5a1bcc[_0x2dc283(0xad)]=!0x0,_0x5a1bcc;}[_0x13c601(0xd4)](_0x54e0a3){const _0x5c5571=_0x13c601,{locale:_0x35dd20}=this[_0x5c5571(0xcd)],_0x4cd2cb=this[_0x5c5571(0xcd)][_0x5c5571(0xd6)][_0x5c5571(0xd5)](_0x5c5571(0xec));return _0x54e0a3[_0x5c5571(0xdb)](_0x40d431=>{const _0x504068=_0x5c5571,_0x196aad=this[_0x504068(0xc9)](_0x2a1eb1,_0x40d431[_0x504068(0xc3)]);return _0x196aad[_0x504068(0xf3)]=!0x0,_0x196aad[_0x504068(0xdc)]=_0x40d431[_0x504068(0xdc)],_0x196aad[_0x504068(0xc7)](_0x504068(0xb1))['to'](_0x4cd2cb,_0x504068(0xd0),_0x34fba8=>_0x9534fa(_0x35dd20,_0x40d431[_0x504068(0xc3)],_0x34fba8?_0x504068(0xee):_0x504068(0xf4))[_0x504068(0xd3)]),_0x196aad;});}[_0x13c601(0xbe)](_0x1958ad){const _0x2f23ae=_0x13c601;return _0x1958ad[_0x2f23ae(0xdb)](_0x5e7f0f=>{const _0x554fad=_0x2f23ae,_0xec1b38=this[_0x554fad(0xc9)](_0x117e29,_0x5e7f0f[_0x554fad(0xc3)]);return _0xec1b38[_0x554fad(0xdc)]=_0x5e7f0f[_0x554fad(0xdc)],_0xec1b38[_0x554fad(0xb1)]=_0x5e7f0f[_0x554fad(0xbc)],_0xec1b38;});}}
23
+ const _0x3f5b2b=_0xb9ae;(function(_0x3f98bd,_0x278309){const _0x3275e9=_0xb9ae,_0x24a59f=_0x3f98bd();while(!![]){try{const _0x3bee24=parseInt(_0x3275e9(0x1d4))/0x1*(parseInt(_0x3275e9(0x1d9))/0x2)+parseInt(_0x3275e9(0x1ed))/0x3+parseInt(_0x3275e9(0x1fb))/0x4+-parseInt(_0x3275e9(0x1ef))/0x5*(parseInt(_0x3275e9(0x218))/0x6)+parseInt(_0x3275e9(0x20b))/0x7+-parseInt(_0x3275e9(0x1d6))/0x8*(parseInt(_0x3275e9(0x20d))/0x9)+parseInt(_0x3275e9(0x201))/0xa;if(_0x3bee24===_0x278309)break;else _0x24a59f['push'](_0x24a59f['shift']());}catch(_0x17dcd3){_0x24a59f['push'](_0x24a59f['shift']());}}}(_0x7e35,0x82a6b));import{Plugin as _0x30d13f}from'ckeditor5/src/core.js';function _0x7e35(){const _0x22115e=['Facebook','GDrive','1182894PdIPrZ','uploadcareLicenseKeyTrialLimit','4953505TFEfDU','trialLimit','Insert','reduce','invalid','destroy','config','map','_licenseKeyCheckInterval','domainLimit','plugins','type','3801900kvlexq','_createButton','Dropbox','Replace','execute','GPhotos','2783360QYtzVL','shortText','isImageSelected','upload','_createDropdownButtons','afterInit','_createMenuBarButtons','uploadcareLicenseKeyDomainLimit','_createToolbarButton','URL','3362674ouUpAR','init','333RBDwzR','expired','uploadcareLicenseKeyUsageLimit','featureNotAllowed','icon','licenseKey','uploadcareLicenseKeyNotAllowed','push','evaluationLimit','isOfficialPlugin','OneDrive','6KtkVQm','Local','withText','label','get','text','uploadcareLicenseKeyEvaluationLimit','editor','pluginName','assetManager','bind','_normalizeConfigSourceList','locale','483554UiZptJ','usageLimit','229448qhgOCE','uploadcareLicenseKeyInvalid','_showLicenseError','2cPoRdE','Uploadcare','_getIntegrationKey','uploadcareLicenseKeyExpired','UploadcareUI','isPremiumPlugin','uploadcare','commands','uploadcareLicenseKeyValid','has','isEnabled','registerIntegration','entries','uploadcare.uploader.sourceList','url','ImageInsertUI','tooltip','forEach'];_0x7e35=function(){return _0x22115e;};return _0x7e35();}import{IconDropbox as _0x291501,IconFacebook as _0x346943,IconGoogleDrive as _0x3a205e,IconGooglePhotos as _0x17d76c,IconUploadcareImageUpload as _0x4a3044,IconUploadcareLink as _0x5f471e,IconOneDrive as _0xef24cf}from'ckeditor5/src/icons.js';import{ButtonView as _0x18d9b6,MenuBarMenuListItemButtonView as _0xd2480f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd95e86}from'./uploadcareconfig.js';import{getTranslation as _0x2418d8}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0xb9ae(_0x3bcce0,_0x295837){const _0x7e3541=_0x7e35();return _0xb9ae=function(_0xb9ae41,_0x254f94){_0xb9ae41=_0xb9ae41-0x1cf;let _0x5c1c0a=_0x7e3541[_0xb9ae41];return _0x5c1c0a;},_0xb9ae(_0x3bcce0,_0x295837);}export class UploadcareUI extends _0x30d13f{[_0x3f5b2b(0x212)];[_0x3f5b2b(0x1f7)];static get[_0x3f5b2b(0x1cf)](){const _0x58a387=_0x3f5b2b;return _0x58a387(0x1dd);}static get[_0x3f5b2b(0x216)](){return!0x0;}static get[_0x3f5b2b(0x1de)](){return!0x0;}[_0x3f5b2b(0x20c)](){const _0x37a6c5=_0x3f5b2b;this[_0x37a6c5(0x212)]=this[_0x37a6c5(0x21f)][_0x37a6c5(0x1f5)][_0x37a6c5(0x21c)](_0x37a6c5(0x212));const _0x46784c=this[_0x37a6c5(0x21f)];this[_0x37a6c5(0x1f7)]=setInterval(()=>{const _0x426ddb=_0x37a6c5;let _0x3a7e10;for(const _0x50b637 in _0x46784c){const _0x1817d3=_0x50b637,_0x1e648a=_0x46784c[_0x1817d3];if(_0x426ddb(0x1e1)==_0x1e648a||_0x426ddb(0x1d7)==_0x1e648a||_0x426ddb(0x1dc)==_0x1e648a||_0x426ddb(0x208)==_0x1e648a||_0x426ddb(0x213)==_0x1e648a||_0x426ddb(0x21e)==_0x1e648a||_0x426ddb(0x1ee)==_0x1e648a||_0x426ddb(0x20f)==_0x1e648a){delete _0x46784c[_0x1817d3],_0x3a7e10=_0x1e648a,clearInterval(this[_0x426ddb(0x1f7)]),this[_0x426ddb(0x1f7)]=void 0x0;break;}}_0x426ddb(0x1d7)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x1f3)),_0x426ddb(0x1dc)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x20e)),_0x426ddb(0x208)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x1f8)),_0x426ddb(0x213)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x210),_0x426ddb(0x1da)),_0x426ddb(0x21e)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x215)),_0x426ddb(0x1ee)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x1f0)),_0x426ddb(0x20f)==_0x3a7e10&&_0x46784c[_0x426ddb(0x1d8)](_0x426ddb(0x1d5));},0x3e8);}[_0x3f5b2b(0x206)](){const _0x437cc8=_0x3f5b2b,{editor:_0x59d9cd}=this,_0x1b0bba=_0x59d9cd[_0x437cc8(0x1e0)][_0x437cc8(0x21c)](_0x437cc8(0x1df));if(!_0x1b0bba)return;const _0x33874f=this[_0x437cc8(0x1d2)](_0x59d9cd[_0x437cc8(0x1f5)][_0x437cc8(0x21c)](_0x437cc8(0x1e6)))[_0x437cc8(0x1f2)]((_0x28899f,_0x24aff8)=>{const _0x1dd1e7=_0x437cc8,_0x1c7834=this[_0x1dd1e7(0x1db)](_0x24aff8[_0x1dd1e7(0x1fa)]);return _0x28899f[_0x1c7834]||(_0x28899f[_0x1c7834]=[]),_0x28899f[_0x1c7834][_0x1dd1e7(0x214)](_0x24aff8),_0x28899f;},{});_0x59d9cd[_0x437cc8(0x1f9)][_0x437cc8(0x1e2)](_0x437cc8(0x1e8))&&_0x59d9cd[_0x437cc8(0x1e0)][_0x437cc8(0x21c)](_0x437cc8(0x1df))&&Object[_0x437cc8(0x1e5)](_0x33874f)[_0x437cc8(0x1ea)](([_0xb1ce30,_0x552c6d])=>{const _0x4bb799=_0x437cc8;_0x59d9cd[_0x4bb799(0x1f9)][_0x4bb799(0x21c)](_0x4bb799(0x1e8))[_0x4bb799(0x1e4)]({'name':_0xb1ce30,'observable':()=>_0x1b0bba,'buttonViewCreator':()=>this[_0x4bb799(0x209)](_0x552c6d),'formViewCreator':()=>this[_0x4bb799(0x205)](_0x552c6d),'menuBarButtonViewCreator':()=>this[_0x4bb799(0x207)](_0x552c6d),'override':_0x4bb799(0x1d0)!==_0xb1ce30});});}[_0x3f5b2b(0x1f4)](){const _0x11796c=_0x3f5b2b;super[_0x11796c(0x1f4)](),this[_0x11796c(0x1f7)]&&clearInterval(this[_0x11796c(0x1f7)]);}[_0x3f5b2b(0x1d2)](_0x13eb04){const _0x3fcee7=_0x3f5b2b,{locale:_0x464204}=this[_0x3fcee7(0x21f)];return _0x13eb04[_0x3fcee7(0x1f6)](_0x27765a=>{const _0x1e5d16=_0x3fcee7,_0x287519=_0x2418d8(_0x464204,_0x27765a,_0x1e5d16(0x1f1));switch(_0x27765a){case _0xd95e86[_0x1e5d16(0x219)]:return{'icon':_0x4a3044,'type':_0xd95e86[_0x1e5d16(0x219)],..._0x287519};case _0xd95e86[_0x1e5d16(0x20a)]:return{'icon':_0x5f471e,'type':_0xd95e86[_0x1e5d16(0x20a)],..._0x287519};case _0xd95e86[_0x1e5d16(0x1fd)]:return{'icon':_0x291501,'type':_0xd95e86[_0x1e5d16(0x1fd)],..._0x287519};case _0xd95e86[_0x1e5d16(0x1eb)]:return{'icon':_0x346943,'type':_0xd95e86[_0x1e5d16(0x1eb)],..._0x287519};case _0xd95e86[_0x1e5d16(0x1ec)]:return{'icon':_0x3a205e,'type':_0xd95e86[_0x1e5d16(0x1ec)],..._0x287519};case _0xd95e86[_0x1e5d16(0x200)]:return{'icon':_0x17d76c,'type':_0xd95e86[_0x1e5d16(0x200)],..._0x287519};case _0xd95e86[_0x1e5d16(0x217)]:return{'icon':_0xef24cf,'type':_0xd95e86[_0x1e5d16(0x217)],..._0x287519};}});}[_0x3f5b2b(0x1db)](_0x101eed){const _0x1aa984=_0x3f5b2b;switch(_0x101eed){case _0xd95e86[_0x1aa984(0x219)]:return _0x1aa984(0x204);case _0xd95e86[_0x1aa984(0x20a)]:return _0x1aa984(0x1e7);default:return _0x1aa984(0x1d0);}}[_0x3f5b2b(0x1fc)](_0x373d3d,_0x4cd227){const _0x3cdc4e=_0x3f5b2b,_0x29bbe7=this[_0x3cdc4e(0x21f)],_0x381fc6=new _0x373d3d(_0x29bbe7[_0x3cdc4e(0x1d3)]),_0x232fad=_0x29bbe7[_0x3cdc4e(0x1e0)][_0x3cdc4e(0x21c)](_0x3cdc4e(0x1df));return _0x381fc6[_0x3cdc4e(0x1d1)](_0x3cdc4e(0x1e3))['to'](_0x232fad),_0x381fc6['on'](_0x3cdc4e(0x1ff),()=>{const _0x62d853=_0x3cdc4e;_0x232fad[_0x62d853(0x1ff)](_0x4cd227);}),_0x381fc6;}[_0x3f5b2b(0x209)](_0x2b87a8){const _0x2e4242=_0x3f5b2b,{locale:_0x2d3761}=this[_0x2e4242(0x21f)],_0x2446fc=this[_0x2e4242(0x21f)][_0x2e4242(0x1f9)][_0x2e4242(0x21c)](_0x2e4242(0x1e8)),_0x47c613=_0x2b87a8[0x0],_0x597ac9=this[_0x2e4242(0x1fc)](_0x18d9b6,_0x47c613[_0x2e4242(0x1fa)]);return _0x597ac9[_0x2e4242(0x211)]=_0x47c613[_0x2e4242(0x211)],_0x597ac9[_0x2e4242(0x1d1)](_0x2e4242(0x21b))['to'](_0x2446fc,_0x2e4242(0x203),_0x56962f=>_0x2418d8(_0x2d3761,_0x47c613[_0x2e4242(0x1fa)],_0x56962f?_0x2e4242(0x1fe):_0x2e4242(0x1f1))[_0x2e4242(0x21d)]),_0x597ac9[_0x2e4242(0x1e9)]=!0x0,_0x597ac9;}[_0x3f5b2b(0x205)](_0x21c86b){const _0x1a9c25=_0x3f5b2b,{locale:_0x525e75}=this[_0x1a9c25(0x21f)],_0x57ebd6=this[_0x1a9c25(0x21f)][_0x1a9c25(0x1f9)][_0x1a9c25(0x21c)](_0x1a9c25(0x1e8));return _0x21c86b[_0x1a9c25(0x1f6)](_0x16bc14=>{const _0x184dac=_0x1a9c25,_0x3e9876=this[_0x184dac(0x1fc)](_0x18d9b6,_0x16bc14[_0x184dac(0x1fa)]);return _0x3e9876[_0x184dac(0x21a)]=!0x0,_0x3e9876[_0x184dac(0x211)]=_0x16bc14[_0x184dac(0x211)],_0x3e9876[_0x184dac(0x1d1)](_0x184dac(0x21b))['to'](_0x57ebd6,_0x184dac(0x203),_0x5830bf=>_0x2418d8(_0x525e75,_0x16bc14[_0x184dac(0x1fa)],_0x5830bf?_0x184dac(0x1fe):_0x184dac(0x1f1))[_0x184dac(0x21d)]),_0x3e9876;});}[_0x3f5b2b(0x207)](_0x145229){const _0x588389=_0x3f5b2b;return _0x145229[_0x588389(0x1f6)](_0x2a78f7=>{const _0x3ffcaa=_0x588389,_0x4aad67=this[_0x3ffcaa(0x1fc)](_0xd2480f,_0x2a78f7[_0x3ffcaa(0x1fa)]);return _0x4aad67[_0x3ffcaa(0x211)]=_0x2a78f7[_0x3ffcaa(0x211)],_0x4aad67[_0x3ffcaa(0x21b)]=_0x2a78f7[_0x3ffcaa(0x202)],_0x4aad67;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1abf0d}from'ckeditor5/src/core.js';import{FileRepository as _0x5c7b45}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4d7c1f}from'./uploadcareediting.js';import{UploadUtils as _0x1fdf86}from'./utils/uploadutils.js';import{getImageUrls as _0x158375}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1abf0d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5c7b45,_0x4d7c1f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x45fad3=this['editor'];if(!!!_0x45fad3['config']['get']('uploadcare'))return;_0x45fad3['plugins']['get'](_0x5c7b45)['createUploadAdapter']=_0x4409d0=>new k(_0x4409d0,_0x45fad3),_0x45fad3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xea4179,{imageElement:_0x4996ee,data:_0xca2fbd})=>{_0x45fad3['model']['change'](_0x15659e=>{_0x15659e['setAttribute']('uploadcareImageId',_0xca2fbd['uploadcareImageId'],_0x4996ee);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x330e29,_0x408da6){this['loader']=_0x330e29,this['editor']=_0x408da6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x19b201=await this['loader']['file'];return _0x1fdf86['upload']({'file':_0x19b201,'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':_0x5e6061=>{_0x5e6061&&_0x5e6061['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5e6061['value']);}})['then'](async _0x28ce6a=>{const {imageFallbackUrl:_0x22f368,imageSources:_0x5380aa}=_0x158375(_0x28ce6a['cdnUrl'],_0x28ce6a['imageInfo']['width']);return{'uploadcareImageId':_0x28ce6a['uuid'],'default':_0x22f368,'sources':_0x5380aa};})['catch'](()=>{const _0x35f65c=t('Cannot\x20upload\x20file:')+('\x20'+_0x19b201['name']+'.');return Promise['reject'](_0x35f65c);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xd094dc}from'ckeditor5/src/core.js';import{FileRepository as _0x4d2642}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x21378e}from'./uploadcareediting.js';import{UploadUtils as _0x18988c}from'./utils/uploadutils.js';import{getImageUrls as _0x5b0752}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xd094dc{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4d2642,_0x21378e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x41f915=this['editor'];if(!!!_0x41f915['config']['get']('uploadcare'))return;_0x41f915['plugins']['get'](_0x4d2642)['createUploadAdapter']=_0x3c2b7f=>new k(_0x3c2b7f,_0x41f915),_0x41f915['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x476cd7,{imageElement:_0x3ce319,data:_0x49a31a})=>{_0x41f915['model']['change'](_0x13f636=>{_0x13f636['setAttribute']('uploadcareImageId',_0x49a31a['uploadcareImageId'],_0x3ce319);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x54d71b,_0x1ad88a){this['loader']=_0x54d71b,this['editor']=_0x1ad88a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x42b8a6=await this['loader']['file'];return _0x18988c['upload']({'file':_0x42b8a6,'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':_0x4ef4ff=>{_0x4ef4ff&&_0x4ef4ff['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4ef4ff['value']);}})['then'](async _0x11b14=>{const {imageFallbackUrl:_0x116b6c,imageSources:_0x5b7284}=_0x5b0752(_0x11b14['cdnUrl'],_0x11b14['imageInfo']['width']);return{'uploadcareImageId':_0x11b14['uuid'],'default':_0x116b6c,'sources':_0x5b7284};})['catch'](()=>{const _0x120b92=t('Cannot\x20upload\x20file:')+('\x20'+_0x42b8a6['name']+'.');return Promise['reject'](_0x120b92);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3d0473}from'../uploadcareconfig.js';export function getTranslation(_0x33aa28,_0x55914f,_0x16ef4d){const t=_0x33aa28['t'],_0x129c7a=_0x33aa28['t'];switch(_0x55914f){case _0x3d0473['Local']:return{'text':_0x129c7a('Insert'===_0x16ef4d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x129c7a('From\x20computer')};case _0x3d0473['URL']:return{'text':'Insert'===_0x16ef4d?_0x129c7a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x129c7a('Via\x20URL')};case _0x3d0473['Dropbox']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3d0473['Facebook']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3d0473['GDrive']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3d0473['GPhotos']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3d0473['OneDrive']:return{'text':t('Insert'===_0x16ef4d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55914f;}}
23
+ import{UploadcareSource as _0x360d55}from'../uploadcareconfig.js';export function getTranslation(_0xf04f04,_0x260430,_0xd33185){const t=_0xf04f04['t'],_0xa982df=_0xf04f04['t'];switch(_0x260430){case _0x360d55['Local']:return{'text':_0xa982df('Insert'===_0xd33185?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xa982df('From\x20computer')};case _0x360d55['URL']:return{'text':'Insert'===_0xd33185?_0xa982df('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xa982df('Via\x20URL')};case _0x360d55['Dropbox']:return{'text':t('Insert'===_0xd33185?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x360d55['Facebook']:return{'text':t('Insert'===_0xd33185?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x360d55['GDrive']:return{'text':t('Insert'===_0xd33185?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x360d55['GPhotos']:return{'text':t('Insert'===_0xd33185?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x360d55['OneDrive']:return{'text':t('Insert'===_0xd33185?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x260430;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3706(_0x4b4d14,_0x148f36){var _0x3951d8=_0x3951();return _0x3706=function(_0x37062d,_0x192985){_0x37062d=_0x37062d-0x16f;var _0x7696f4=_0x3951d8[_0x37062d];return _0x7696f4;},_0x3706(_0x4b4d14,_0x148f36);}var _0x27a09e=_0x3706;(function(_0x31d14c,_0x34487c){var _0x3e91da=_0x3706,_0x2f2eed=_0x31d14c();while(!![]){try{var _0x12f45b=-parseInt(_0x3e91da(0x17c))/0x1*(parseInt(_0x3e91da(0x172))/0x2)+-parseInt(_0x3e91da(0x16f))/0x3+parseInt(_0x3e91da(0x171))/0x4+-parseInt(_0x3e91da(0x175))/0x5*(parseInt(_0x3e91da(0x17d))/0x6)+parseInt(_0x3e91da(0x17e))/0x7+parseInt(_0x3e91da(0x17f))/0x8+parseInt(_0x3e91da(0x178))/0x9;if(_0x12f45b===_0x34487c)break;else _0x2f2eed['push'](_0x2f2eed['shift']());}catch(_0x2831ce){_0x2f2eed['push'](_0x2f2eed['shift']());}}}(_0x3951,0x7ba18));import{FocusTracker as _0x2eea2f}from'ckeditor5/src/utils.js';import{View as _0x469884,FocusCycler as _0x3fb544}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x469884{[_0x27a09e(0x177)];[_0x27a09e(0x17a)];constructor(_0xa4904d){var _0x11c3c6=_0x27a09e;super(_0xa4904d),this[_0x11c3c6(0x177)]=new _0x2eea2f(),this[_0x11c3c6(0x17a)]=new _0x3fb544({'focusables':this[_0x11c3c6(0x173)](),'focusTracker':this[_0x11c3c6(0x177)]});}[_0x27a09e(0x170)](){var _0x3eb236=_0x27a09e;return{'tag':_0x3eb236(0x180),'attributes':{'aria-hidden':_0x3eb236(0x179),'tabindex':'0'},'on':{'focus':this[_0x3eb236(0x176)]['to'](()=>{var _0x5d6c38=_0x3eb236;this[_0x5d6c38(0x17a)][_0x5d6c38(0x17b)](_0x5d6c38(0x174));})}};}}function _0x3951(){var _0x26b9c9=['div','985518dbQKXK','getFocusableElement','3531308VwSzpo','1893026EbHOTN','createCollection','forwardCycle','5yvmOTh','bindTemplate','focusTracker','4980906uEZBFL','true','focusCycler','fire','1XurECg','77316fPJVKA','1548988rJRjlj','1094016vqdwWo'];_0x3951=function(){return _0x26b9c9;};return _0x3951();}
23
+ var _0x3b1035=_0x3c26;(function(_0x339e6d,_0x5b1d0e){var _0x5a8e38=_0x3c26,_0x2e0813=_0x339e6d();while(!![]){try{var _0x437a90=parseInt(_0x5a8e38(0x19e))/0x1*(-parseInt(_0x5a8e38(0x191))/0x2)+parseInt(_0x5a8e38(0x198))/0x3+-parseInt(_0x5a8e38(0x195))/0x4*(parseInt(_0x5a8e38(0x1a1))/0x5)+parseInt(_0x5a8e38(0x19a))/0x6*(parseInt(_0x5a8e38(0x1a0))/0x7)+-parseInt(_0x5a8e38(0x19f))/0x8+parseInt(_0x5a8e38(0x196))/0x9+parseInt(_0x5a8e38(0x194))/0xa*(parseInt(_0x5a8e38(0x197))/0xb);if(_0x437a90===_0x5b1d0e)break;else _0x2e0813['push'](_0x2e0813['shift']());}catch(_0x457795){_0x2e0813['push'](_0x2e0813['shift']());}}}(_0x391f,0xb5bd7));function _0x391f(){var _0x185e1a=['1485laNCaT','focusCycler','focusTracker','fire','2LbQylO','bindTemplate','div','9779940EVqkIY','18336HvXjhC','12273336TnBmDZ','11JWFJtm','2382528TvrMeb','getFocusableElement','1301394MIiFna','createCollection','forwardCycle','true','687891Gxwnqw','4472216JWqFUw','7DGxEBY'];_0x391f=function(){return _0x185e1a;};return _0x391f();}function _0x3c26(_0x431893,_0x552d9a){var _0x391f7a=_0x391f();return _0x3c26=function(_0x3c262f,_0x45cbd6){_0x3c262f=_0x3c262f-0x18e;var _0x186aa6=_0x391f7a[_0x3c262f];return _0x186aa6;},_0x3c26(_0x431893,_0x552d9a);}import{FocusTracker as _0x1a72b0}from'ckeditor5/src/utils.js';import{View as _0x63ca85,FocusCycler as _0x534ebd}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x63ca85{[_0x3b1035(0x18f)];[_0x3b1035(0x18e)];constructor(_0x100a4f){var _0x454953=_0x3b1035;super(_0x100a4f),this[_0x454953(0x18f)]=new _0x1a72b0(),this[_0x454953(0x18e)]=new _0x534ebd({'focusables':this[_0x454953(0x19b)](),'focusTracker':this[_0x454953(0x18f)]});}[_0x3b1035(0x199)](){var _0x20de75=_0x3b1035;return{'tag':_0x20de75(0x193),'attributes':{'aria-hidden':_0x20de75(0x19d),'tabindex':'0'},'on':{'focus':this[_0x20de75(0x192)]['to'](()=>{var _0x44b2ed=_0x20de75;this[_0x44b2ed(0x18e)][_0x44b2ed(0x190)](_0x44b2ed(0x19c));})}};}}