@ckeditor/ckeditor5-uploadcare 47.5.0-alpha.5 → 47.5.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x465a00=_0x4c55;(function(_0x36f9d0,_0x17712c){const _0x51648a=_0x4c55,_0x4f6780=_0x36f9d0();while(!![]){try{const _0x1bb3bb=-parseInt(_0x51648a(0x169))/0x1*(parseInt(_0x51648a(0x132))/0x2)+-parseInt(_0x51648a(0x171))/0x3*(parseInt(_0x51648a(0x12b))/0x4)+parseInt(_0x51648a(0x179))/0x5*(parseInt(_0x51648a(0x13c))/0x6)+parseInt(_0x51648a(0x129))/0x7*(parseInt(_0x51648a(0x12a))/0x8)+-parseInt(_0x51648a(0x156))/0x9*(-parseInt(_0x51648a(0x178))/0xa)+parseInt(_0x51648a(0x137))/0xb*(parseInt(_0x51648a(0x124))/0xc)+-parseInt(_0x51648a(0x13d))/0xd*(parseInt(_0x51648a(0x128))/0xe);if(_0x1bb3bb===_0x17712c)break;else _0x4f6780['push'](_0x4f6780['shift']());}catch(_0x3190dd){_0x4f6780['push'](_0x4f6780['shift']());}}}(_0x58a2,0x8f84d));import{Plugin as _0x52b488}from'ckeditor5/src/core.js';import{Dialog as _0x30b460}from'ckeditor5/src/ui.js';import{createElement as _0x5ad985,global as _0x52e20c,uid as _0x3a7b72}from'ckeditor5/src/utils.js';function _0x58a2(){const _0x448d26=['once','isRegistered','body','contentLanguage','uploader-','replaceImageSource','true','document','UploadcareEditing','PictureEditing','upcast','add','model','locale','uploadcareImageReplace','1LjivAQ','elementToAttribute','_initCtx','attributeToAttribute','ucContextId','listenTo','pluginName','isPremiumPlugin','55617hfQRsc','closeMax','join','_initConfig','init','conversion','get','140FcLCAZ','63120YIVGbJ','uc-config','iconHrefResolver','uc-upload-ctx-provider','1356LNyVBw','_ctxElement','uploadcare.pubkey','execute','1881068rPlyXC','75887xSOMkD','344LBNhBU','80axRqmX','view','config','render','cleanupImage','\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','commands','26262JnhOwc','querySelector','uploadcare','uploadcareImageId','removeAttribute','111749FafIeg','imageBlock','fromCharCode','remove','afterInit','246fAqHqv','208ABfkOS','map','input[uploadcare-file-input]','ctxElement','_initConversion','_configElement','editing','appendChild','configElement','_initSchema','selection','#uc-icon-arrow-down','isOfficialPlugin','schema','downcast','for','requires','getAttribute','data-uc-image-id','uploadcare.uploader','imageInline','editor','destroy','href','getSelectedElement','636327pykHam','_initImageProcessingIndicator','extend','insertImage'];_0x58a2=function(){return _0x448d26;};return _0x58a2();}import{UploadcareCommand as _0x21bf41}from'./uploadcarecommand.js';function _0x4c55(_0x2ef64b,_0x25e536){const _0x58a24a=_0x58a2();return _0x4c55=function(_0x4c559f,_0x64b363){_0x4c559f=_0x4c559f-0x122;let _0x46c93b=_0x58a24a[_0x4c559f];return _0x46c93b;},_0x4c55(_0x2ef64b,_0x25e536);}import{UploadcareUploadAdapter as _0x5549ab}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4f7ebd}from'./utils/editingutils.js';export class UploadcareEditing extends _0x52b488{[_0x465a00(0x142)]=null;[_0x465a00(0x125)]=null;static get[_0x465a00(0x16f)](){const _0x44d660=_0x465a00;return _0x44d660(0x162);}static get[_0x465a00(0x14d)](){const _0x44e276=_0x465a00;return[_0x44e276(0x163),_0x5549ab,_0x30b460];}static get[_0x465a00(0x149)](){return!0x0;}static get[_0x465a00(0x170)](){return!0x0;}[_0x465a00(0x16d)];get[_0x465a00(0x145)](){const _0x15de0c=_0x465a00;return this[_0x15de0c(0x142)];}get[_0x465a00(0x140)](){const _0x45d1ed=_0x465a00;return this[_0x45d1ed(0x125)];}constructor(_0x259a05){const _0x55145e=_0x465a00;super(_0x259a05),this[_0x55145e(0x16d)]=_0x3a7b72();}[_0x465a00(0x175)](){const _0x2bfd9e=_0x465a00,_0x1a7aa6=this[_0x2bfd9e(0x152)];_0x1a7aa6[_0x2bfd9e(0x131)][_0x2bfd9e(0x165)](_0x2bfd9e(0x134),new _0x21bf41(_0x1a7aa6));}[_0x465a00(0x13b)](){const _0x34b642=_0x465a00;this[_0x34b642(0x146)](),this[_0x34b642(0x141)](),this[_0x34b642(0x174)](),this[_0x34b642(0x16b)](),this[_0x34b642(0x157)](),this[_0x34b642(0x16e)](this[_0x34b642(0x152)],_0x34b642(0x153),()=>{const _0x2d014f=_0x34b642;this[_0x2d014f(0x142)]&&(this[_0x2d014f(0x142)][_0x2d014f(0x13a)](),this[_0x2d014f(0x142)]=null),this[_0x2d014f(0x125)]&&(this[_0x2d014f(0x125)][_0x2d014f(0x13a)](),this[_0x2d014f(0x125)]=null);const _0x2bd730=_0x52e20c[_0x2d014f(0x161)][_0x2d014f(0x133)](_0x2d014f(0x13f));_0x2bd730&&_0x2bd730[_0x2d014f(0x13a)]();}),async function(_0x59c74f){const _0x51d74f=_0x12ed1e([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]),_0x2481de=0x535f8c3a,_0x2651d8=0x53580d02^_0x2481de,_0x3a2c67=window[_0x12ed1e([0x44,0x61,0x74,0x65])][_0x12ed1e([0x6e,0x6f,0x77])](),_0x1af7ad=_0x59c74f[_0x12ed1e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37f82f=new window[(_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bdc06=>{_0x1af7ad[_0x12ed1e([0x6f,0x6e,0x63,0x65])](_0x12ed1e([0x72,0x65,0x61,0x64,0x79]),_0x3bdc06);}),_0x3b6842={[_0x12ed1e([0x6b,0x74,0x79])]:_0x12ed1e([0x45,0x43]),[_0x12ed1e([0x75,0x73,0x65])]:_0x12ed1e([0x73,0x69,0x67]),[_0x12ed1e([0x63,0x72,0x76])]:_0x12ed1e([0x50,0x2d,0x32,0x35,0x36]),[_0x12ed1e([0x78])]:_0x12ed1e([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]),[_0x12ed1e([0x79])]:_0x12ed1e([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]),[_0x12ed1e([0x61,0x6c,0x67])]:_0x12ed1e([0x45,0x53,0x32,0x35,0x36])},_0x5cc50b=_0x1af7ad[_0x12ed1e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12ed1e([0x67,0x65,0x74])](_0x12ed1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f97a1(){let _0x27924c,_0x391dbc=null,_0x50057c=null;try{if(_0x5cc50b==_0x12ed1e([0x47,0x50,0x4c]))return _0x12ed1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27924c=_0x42dc0e(),!_0x27924c)return _0x12ed1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27924c[_0x12ed1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50057c=_0x115871(_0x27924c[_0x12ed1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27924c[_0x12ed1e([0x6a,0x74,0x69])])),await _0x4aef45()?_0x5f2331()?_0x571373()?_0x12ed1e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4fb435()?(_0x27924c[_0x12ed1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ed1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x391dbc=_0x4c48de(_0x12ed1e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14b13f()):_0x12ed1e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12ed1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12ed1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12ed1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x571373(){const _0x206165=[_0x12ed1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12ed1e([0x74,0x72,0x69,0x61,0x6c])][_0x12ed1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27924c[_0x12ed1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a2c67/0x3e8:0xe10*_0x2651d8;return _0x27924c[_0x12ed1e([0x65,0x78,0x70])]<_0x206165;}function _0x5f2331(){const _0x37fbb0=_0x27924c[_0x12ed1e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37fbb0&&(!!_0x37fbb0[_0x12ed1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ed1e([0x2a]))||!!_0x37fbb0[_0x12ed1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ed1e([0x55,0x50,0x4c,0x43])));}function _0x4fb435(){const _0x266e55=_0x4c55,_0xdda867=_0x27924c[_0x12ed1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdda867||0x0==_0xdda867[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25fe22}=new URL(window[_0x12ed1e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x266e55(0x154)]);if(_0xdda867[_0x12ed1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25fe22))return!0x0;const _0x373bfe=_0x25fe22[_0x12ed1e([0x73,0x70,0x6c,0x69,0x74])](_0x12ed1e([0x2e]));return _0xdda867[_0x12ed1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x269b3a=>_0x269b3a[_0x12ed1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ed1e([0x2a])))[_0x12ed1e([0x6d,0x61,0x70])](_0x5922a2=>_0x5922a2[_0x12ed1e([0x73,0x70,0x6c,0x69,0x74])](_0x12ed1e([0x2e])))[_0x12ed1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x318156=>_0x318156[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x373bfe[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ed1e([0x6d,0x61,0x70])](_0x250574=>Array(_0x373bfe[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x250574[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ed1e([0x66,0x69,0x6c,0x6c])](_0x250574[0x0]===_0x12ed1e([0x2a])?_0x12ed1e([0x2a]):'')[_0x12ed1e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x250574))[_0x12ed1e([0x73,0x6f,0x6d,0x65])](_0x4dc4d9=>_0x373bfe[_0x12ed1e([0x65,0x76,0x65,0x72,0x79])]((_0x46bf93,_0x14e94a)=>_0x4dc4d9[_0x14e94a]===_0x46bf93||_0x4dc4d9[_0x14e94a]===_0x12ed1e([0x2a])));}function _0x14b13f(){return _0x391dbc&&_0x50057c?new window[(_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f4dab,_0x555077)=>{_0x391dbc[_0x12ed1e([0x74,0x68,0x65,0x6e])](_0x5f4dab,_0x555077),_0x50057c[_0x12ed1e([0x74,0x68,0x65,0x6e])](_0x2bd424=>{_0x2bd424!=_0x12ed1e([0x56,0x61,0x6c,0x69,0x64])&&_0x5f4dab(_0x2bd424);},_0x555077);}):_0x391dbc||_0x50057c||_0x12ed1e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x115871(_0x1b3eeb,_0x42ccc1){return new window[(_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fc698=>{if(_0x245a42())return _0x2fc698(_0x12ed1e([0x56,0x61,0x6c,0x69,0x64]));_0x2c0928(),_0x1af7ad[_0x12ed1e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12ed1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x218960=!0x1;const _0x14800e=_0x3a7b72();function _0x9f4b15(_0x5ebe75){return!!_0x5ebe75&&(typeof _0x5ebe75===_0x12ed1e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ebe75===_0x12ed1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ebe75[_0x12ed1e([0x74,0x68,0x65,0x6e])]===_0x12ed1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ebe75[_0x12ed1e([0x63,0x61,0x74,0x63,0x68])]===_0x12ed1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46848b(_0x1bcdf6){_0x551e37(_0x1bcdf6)[_0x12ed1e([0x74,0x68,0x65,0x6e])](_0xa82e7e=>{if(!_0xa82e7e||_0xa82e7e[_0x12ed1e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12ed1e([0x6f,0x6b]))return _0x12ed1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x169310(_0x4de8cd(_0x14800e+_0x42ccc1))!=_0xa82e7e[_0x12ed1e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12ed1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12ed1e([0x56,0x61,0x6c,0x69,0x64]);})[_0x12ed1e([0x74,0x68,0x65,0x6e])](_0x42fcfe=>(_0x31571e(),_0x42fcfe),()=>{const _0x7b298a=_0x3e21fe();return null==_0x7b298a?(_0x31571e(),_0x12ed1e([0x56,0x61,0x6c,0x69,0x64])):_0x12ed1e(_0x3a2c67-_0x7b298a>(0x7753083a^_0x2481de)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12ed1e([0x74,0x68,0x65,0x6e])](_0x2fc698)[_0x12ed1e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2fc698(_0x12ed1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cc6f9=0x536962ba^_0x2481de;function _0x31571e(){const _0x339caf=_0x12ed1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x169310(_0x4de8cd(_0x1b3eeb)),_0x403ac4=_0x197702(_0x169310(window[_0x12ed1e([0x4d,0x61,0x74,0x68])][_0x12ed1e([0x63,0x65,0x69,0x6c])](_0x3a2c67/_0x5cc6f9)));window[_0x12ed1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ed1e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x339caf,_0x403ac4);}function _0x3e21fe(){const _0x5f2097=_0x12ed1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x169310(_0x4de8cd(_0x1b3eeb)),_0x3ffa49=window[_0x12ed1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ed1e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f2097);return _0x3ffa49?window[_0x12ed1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x197702(_0x3ffa49),0x10)*_0x5cc6f9:null;}function _0x551e37(_0x5e55ef){return new window[(_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x139338,_0x3521ac)=>{_0x5e55ef[_0x12ed1e([0x74,0x68,0x65,0x6e])](_0x139338,_0x3521ac),window[_0x12ed1e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3521ac,0x535e58fa^_0x2481de);});}}_0x1af7ad[_0x12ed1e([0x6f,0x6e])](_0x12ed1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x46d361,_0x245e85)=>{if(_0x245e85[0x0]!=_0x1b3eeb)return _0x2fc698(_0x12ed1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x245e85[0x1]={..._0x245e85[0x1],[_0x12ed1e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14800e};},{[_0x12ed1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ed1e([0x68,0x69,0x67,0x68])}),_0x1af7ad[_0x12ed1e([0x6f,0x6e])](_0x12ed1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5cab45=>{_0x9f4b15(_0x5cab45[_0x12ed1e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x218960=!0x0,_0x46848b(_0x5cab45[_0x12ed1e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12ed1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ed1e([0x6c,0x6f,0x77])}),_0x37f82f[_0x12ed1e([0x74,0x68,0x65,0x6e])](()=>{_0x218960||_0x2fc698(_0x12ed1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x245a42(){return _0x1af7ad[_0x12ed1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ed1e([0x76,0x69,0x65,0x77])][_0x12ed1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12ed1e([0x61,0x75,0x74,0x6f]);}function _0x2c0928(){_0x1af7ad[_0x12ed1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ed1e([0x76,0x69,0x65,0x77])][_0x12ed1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12ed1e([0x61,0x75,0x74,0x6f]);}}function _0x4c48de(_0x39eec2){const _0x1461de=[new window[(_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7050e6=>setTimeout(_0x7050e6,0x5356b2f6^_0x2481de)),_0x37f82f[_0x12ed1e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b657d=>{let _0x16b134=0x0;_0x1af7ad[_0x12ed1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ed1e([0x6f,0x6e])](_0x12ed1e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bad30,_0x2a56d0)=>{_0x2a56d0[0x0][_0x12ed1e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16b134++,_0x16b134==(0x535f89d2^_0x2481de)&&(_0x5b657d(),_0x5bad30[_0x12ed1e([0x6f,0x66,0x66])]());});}))];return window[_0x12ed1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12ed1e([0x72,0x61,0x63,0x65])](_0x1461de)[_0x12ed1e([0x74,0x68,0x65,0x6e])](()=>_0x39eec2);}async function _0x527ddc(){await _0x37f82f,_0x1af7ad[_0x12ed1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ed1e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x130736,_0x1af7ad[_0x12ed1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ed1e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x130736,_0x1af7ad[_0x12ed1e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12ed1e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27194c(_0x24776c){const _0x4d529d=_0x2d3c9e();_0x1af7ad[_0x4d529d]=_0x12ed1e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24776c,_0x24776c!=_0x12ed1e([0x56,0x61,0x6c,0x69,0x64])&&_0x527ddc();}function _0x2d3c9e(){const _0x2573bb=window[_0x12ed1e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12ed1e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12ed1e([0x6e,0x6f,0x77])]())[_0x12ed1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12ed1e([0x2e]),'');let _0x32ac1f=_0x12ed1e([0x68]);for(let _0x1fe43f=0x0;_0x1fe43f<_0x2573bb[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fe43f+=0x2){let _0x4cca7d=window[_0x12ed1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2573bb[_0x12ed1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fe43f,_0x1fe43f+0x2));_0x4cca7d>=_0x51d74f[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cca7d-=_0x51d74f[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32ac1f+=_0x51d74f[_0x4cca7d];}return _0x32ac1f;}function _0x42dc0e(){const _0x498468=_0x5cc50b[_0x12ed1e([0x73,0x70,0x6c,0x69,0x74])](_0x12ed1e([0x2e]));if(0x3!=_0x498468[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4cb413(_0x498468[0x1]);function _0x4cb413(_0x49ddbd){const _0x2a1790=_0xf964a9(_0x49ddbd);return _0x2a1790&&_0x53e438()?_0x2a1790:null;function _0x53e438(){const _0x5dafe1=_0x2a1790[_0x12ed1e([0x6a,0x74,0x69])],_0x10fd04=window[_0x12ed1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dafe1[_0x12ed1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dafe1[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33ea45={..._0x2a1790,[_0x12ed1e([0x6a,0x74,0x69])]:_0x5dafe1[_0x12ed1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dafe1[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33ea45[_0x12ed1e([0x76,0x63])],_0x4de8cd(_0x33ea45)==_0x10fd04;}}}async function _0x4aef45(){let _0x16e269=!0x0;try{const _0x48b250=_0x5cc50b[_0x12ed1e([0x73,0x70,0x6c,0x69,0x74])](_0x12ed1e([0x2e])),[_0x48cc10,_0x3282ef,_0x208c9f]=_0x48b250;return _0x516635(_0x48cc10),await _0x1db7a5(_0x48cc10,_0x3282ef,_0x208c9f),_0x16e269;}catch{return!0x1;}function _0x516635(_0x1e2cad){const _0xaa7bf4=_0xf964a9(_0x1e2cad);_0xaa7bf4&&_0xaa7bf4[_0x12ed1e([0x61,0x6c,0x67])]==_0x12ed1e([0x45,0x53,0x32,0x35,0x36])||(_0x16e269=!0x1);}async function _0x1db7a5(_0x55f290,_0x3c6574,_0x5ca8af){const _0x574c78=window[_0x12ed1e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12ed1e([0x66,0x72,0x6f,0x6d])](_0x47885f(_0x5ca8af),_0x2c4f90=>_0x2c4f90[_0x12ed1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1905f9=new window[(_0x12ed1e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12ed1e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55f290+_0x12ed1e([0x2e])+_0x3c6574),_0xdf8ba0=window[_0x12ed1e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12ed1e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdf8ba0)return;const _0x5c6e52=await _0xdf8ba0[_0x12ed1e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12ed1e([0x6a,0x77,0x6b]),_0x3b6842,{[_0x12ed1e([0x6e,0x61,0x6d,0x65])]:_0x12ed1e([0x45,0x43,0x44,0x53,0x41]),[_0x12ed1e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12ed1e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12ed1e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdf8ba0[_0x12ed1e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12ed1e([0x6e,0x61,0x6d,0x65])]:_0x12ed1e([0x45,0x43,0x44,0x53,0x41]),[_0x12ed1e([0x68,0x61,0x73,0x68])]:{[_0x12ed1e([0x6e,0x61,0x6d,0x65])]:_0x12ed1e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c6e52,_0x574c78,_0x1905f9)||(_0x16e269=!0x1);}}function _0xf964a9(_0x4b9e0b){return _0x4b9e0b[_0x12ed1e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12ed1e([0x65,0x79]))?JSON[_0x12ed1e([0x70,0x61,0x72,0x73,0x65])](_0x47885f(_0x4b9e0b)):null;}function _0x47885f(_0x662a30){return window[_0x12ed1e([0x61,0x74,0x6f,0x62])](_0x662a30[_0x12ed1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12ed1e([0x2b]))[_0x12ed1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12ed1e([0x2f])));}function _0x4de8cd(_0x402bab){let _0x57eef2=0x1505;function _0x41d26f(_0x2a513c){for(let _0x129bcf=0x0;_0x129bcf<_0x2a513c[_0x12ed1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x129bcf++){const _0x281b08=_0x2a513c[_0x12ed1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x129bcf);_0x57eef2=(_0x57eef2<<0x5)+_0x57eef2+_0x281b08,_0x57eef2&=_0x57eef2;}}function _0x435dae(_0x22a951){Array[_0x12ed1e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22a951)?_0x22a951[_0x12ed1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x435dae):_0x22a951&&typeof _0x22a951==_0x12ed1e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12ed1e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22a951)[_0x12ed1e([0x73,0x6f,0x72,0x74])]()[_0x12ed1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4682af,_0x1ed784])=>{_0x41d26f(_0x4682af),_0x435dae(_0x1ed784);}):_0x41d26f(window[_0x12ed1e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22a951));}return _0x435dae(_0x402bab),_0x57eef2>>>0x0;}function _0x169310(_0x4c30a6){return _0x4c30a6[_0x12ed1e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12ed1e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12ed1e([0x30]));}function _0x197702(_0x361347){return _0x361347[_0x12ed1e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12ed1e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12ed1e([0x6a,0x6f,0x69,0x6e])]('');}function _0x130736(){}function _0x12ed1e(_0x2e8c32){const _0x192cf4=_0x4c55;return _0x2e8c32[_0x192cf4(0x13e)](_0x3d4ec6=>String[_0x192cf4(0x139)](_0x3d4ec6))[_0x192cf4(0x173)]('');}_0x27194c(await _0x4f97a1());}(this);}[_0x465a00(0x146)](){const _0x24913b=_0x465a00,_0x1040ec=this[_0x24913b(0x152)][_0x24913b(0x166)][_0x24913b(0x14a)];_0x1040ec[_0x24913b(0x15b)](_0x24913b(0x138))&&_0x1040ec[_0x24913b(0x158)](_0x24913b(0x138),{'allowAttributes':[_0x24913b(0x135)]}),_0x1040ec[_0x24913b(0x15b)](_0x24913b(0x151))&&_0x1040ec[_0x24913b(0x158)](_0x24913b(0x151),{'allowAttributes':[_0x24913b(0x135)]});}[_0x465a00(0x141)](){const _0x135684=_0x465a00,_0xa7d31d=this[_0x135684(0x152)];_0xa7d31d[_0x135684(0x176)][_0x135684(0x14c)](_0x135684(0x14b))[_0x135684(0x16c)]({'model':_0x135684(0x135),'view':_0x135684(0x14f)}),_0xa7d31d[_0x135684(0x176)][_0x135684(0x14c)](_0x135684(0x164))[_0x135684(0x16a)]({'model':{'key':_0x135684(0x135),'value':_0x2dd748=>_0x2dd748[_0x135684(0x14e)](_0x135684(0x14f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x54ce35=_0xa7d31d[_0x135684(0x131)][_0x135684(0x177)](_0x135684(0x15f));_0x54ce35&&this[_0x135684(0x16e)](_0x54ce35,_0x135684(0x12f),(_0xd5cd35,[_0x17341c,_0x25c858])=>{const _0x4e19f9=_0x135684;_0x17341c[_0x4e19f9(0x136)](_0x4e19f9(0x135),_0x25c858);});}[_0x465a00(0x174)](){const _0x1f6d88=_0x465a00,_0x211944=this[_0x1f6d88(0x152)][_0x1f6d88(0x12d)][_0x1f6d88(0x177)](_0x1f6d88(0x150))||{},_0x261eb0=this[_0x1f6d88(0x152)][_0x1f6d88(0x12d)][_0x1f6d88(0x177)](_0x1f6d88(0x126))||'';this[_0x1f6d88(0x142)]=_0x5ad985(_0x52e20c[_0x1f6d88(0x161)],_0x1f6d88(0x17a),{..._0x211944,'pubkey':_0x261eb0,'ctx-name':_0x1f6d88(0x15e)+this[_0x1f6d88(0x16d)],'sourceList':'','imgOnly':_0x1f6d88(0x160),'removeCopyright':_0x1f6d88(0x160),'localeName':this[_0x1f6d88(0x152)][_0x1f6d88(0x167)][_0x1f6d88(0x15d)],'externalSourcesEmbedCss':_0x1f6d88(0x130)}),this[_0x1f6d88(0x142)][_0x1f6d88(0x122)]=_0x42b845=>{const _0xbde513=_0x1f6d88;if(_0xbde513(0x172)==_0x42b845)return _0xbde513(0x148);},_0x52e20c[_0x1f6d88(0x161)][_0x1f6d88(0x15c)][_0x1f6d88(0x144)](this[_0x1f6d88(0x142)]);}[_0x465a00(0x16b)](){const _0x2cebc5=_0x465a00;this[_0x2cebc5(0x125)]=_0x5ad985(_0x52e20c[_0x2cebc5(0x161)],_0x2cebc5(0x123),{'ctx-name':_0x2cebc5(0x15e)+this[_0x2cebc5(0x16d)]}),_0x52e20c[_0x2cebc5(0x161)][_0x2cebc5(0x15c)][_0x2cebc5(0x144)](this[_0x2cebc5(0x125)]);}[_0x465a00(0x157)](){const _0x282cda=_0x465a00,_0x545a0e=this[_0x282cda(0x152)][_0x282cda(0x131)][_0x282cda(0x177)](_0x282cda(0x159));_0x545a0e&&this[_0x282cda(0x16e)](_0x545a0e,_0x282cda(0x127),()=>{const _0x341ba9=_0x282cda,_0x40b60d=this[_0x341ba9(0x152)][_0x341ba9(0x166)][_0x341ba9(0x161)][_0x341ba9(0x147)][_0x341ba9(0x155)]();_0x40b60d&&_0x40b60d[_0x341ba9(0x14e)](_0x341ba9(0x135))&&this[_0x341ba9(0x152)][_0x341ba9(0x143)][_0x341ba9(0x12c)][_0x341ba9(0x15a)](_0x341ba9(0x12e),()=>{const _0x1751ef=_0x341ba9;_0x4f7ebd(this[_0x1751ef(0x152)],_0x40b60d);});});const _0x232a09=this[_0x282cda(0x152)][_0x282cda(0x131)][_0x282cda(0x177)](_0x282cda(0x168));_0x232a09&&this[_0x282cda(0x16e)](_0x232a09,_0x282cda(0x127),()=>{const _0x2826ec=_0x282cda,_0x339e9c=this[_0x2826ec(0x152)][_0x2826ec(0x166)][_0x2826ec(0x161)][_0x2826ec(0x147)][_0x2826ec(0x155)]();_0x339e9c&&_0x339e9c[_0x2826ec(0x14e)](_0x2826ec(0x135))&&this[_0x2826ec(0x152)][_0x2826ec(0x143)][_0x2826ec(0x12c)][_0x2826ec(0x15a)](_0x2826ec(0x12e),()=>{const _0x27db15=_0x2826ec;_0x4f7ebd(this[_0x27db15(0x152)],_0x339e9c);});});}}
23
+ const _0x26b183=_0x3689;function _0x3689(_0x2d23b1,_0xde9842){const _0x436fd5=_0x436f();return _0x3689=function(_0x368920,_0x17776e){_0x368920=_0x368920-0x1ed;let _0x55f341=_0x436fd5[_0x368920];return _0x55f341;},_0x3689(_0x2d23b1,_0xde9842);}(function(_0x1c6edb,_0x2068be){const _0x1216c7=_0x3689,_0x5a65d6=_0x1c6edb();while(!![]){try{const _0x34e686=-parseInt(_0x1216c7(0x210))/0x1+parseInt(_0x1216c7(0x213))/0x2+parseInt(_0x1216c7(0x222))/0x3+parseInt(_0x1216c7(0x23e))/0x4+-parseInt(_0x1216c7(0x220))/0x5*(parseInt(_0x1216c7(0x22f))/0x6)+-parseInt(_0x1216c7(0x20b))/0x7*(-parseInt(_0x1216c7(0x226))/0x8)+-parseInt(_0x1216c7(0x1f6))/0x9;if(_0x34e686===_0x2068be)break;else _0x5a65d6['push'](_0x5a65d6['shift']());}catch(_0x17b84c){_0x5a65d6['push'](_0x5a65d6['shift']());}}}(_0x436f,0xce61a));function _0x436f(){const _0x432a00=['getAttribute','destroy','289032QRtcdq','join','input[uploadcare-file-input]','uploader-','isOfficialPlugin','execute','extend','_ctxElement','uploadcareImageId','197706BmQidS','document','getSelectedElement','data-uc-image-id','add','ctxElement','uploadcare','uploadcareImageReplace','configElement','_initConversion','uc-upload-ctx-provider','requires','get','config','cleanupImage','933452NYZZeY','render','ucContextId','iconHrefResolver','_initConfig','uploadcare.uploader','schema','isPremiumPlugin','insertImage','listenTo','uc-config','locale','2261376sgJGvn','href','afterInit','downcast','view','appendChild','removeAttribute','replaceImageSource','#uc-icon-arrow-down','imageInline','contentLanguage','PictureEditing','editor','_initCtx','\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','closeMax','_initImageProcessingIndicator','upcast','UploadcareEditing','once','init','161kKReNV','for','pluginName','true','_initSchema','1634543wjUgiI','elementToAttribute','model','2135366muWVwy','attributeToAttribute','fromCharCode','isRegistered','conversion','imageBlock','remove','querySelector','commands','editing','selection','_configElement','map','5ikAIHh','uploadcare.pubkey','1896249hTVnof','body'];_0x436f=function(){return _0x432a00;};return _0x436f();}import{Plugin as _0x3adbc5}from'ckeditor5/src/core.js';import{Dialog as _0x4de89b}from'ckeditor5/src/ui.js';import{createElement as _0x2e1c4c,global as _0x227b77,uid as _0xbb84db}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2ea64e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3b6f08}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x472c97}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3adbc5{[_0x26b183(0x21e)]=null;[_0x26b183(0x22d)]=null;static get[_0x26b183(0x20d)](){const _0x59aa0f=_0x26b183;return _0x59aa0f(0x208);}static get[_0x26b183(0x23a)](){const _0x18308e=_0x26b183;return[_0x18308e(0x201),_0x3b6f08,_0x4de89b];}static get[_0x26b183(0x22a)](){return!0x0;}static get[_0x26b183(0x1f1)](){return!0x0;}[_0x26b183(0x240)];get[_0x26b183(0x237)](){const _0xf38e23=_0x26b183;return this[_0xf38e23(0x21e)];}get[_0x26b183(0x234)](){const _0x184446=_0x26b183;return this[_0x184446(0x22d)];}constructor(_0x26be6e){const _0x19f66e=_0x26b183;super(_0x26be6e),this[_0x19f66e(0x240)]=_0xbb84db();}[_0x26b183(0x20a)](){const _0x59762b=_0x26b183,_0x5b9d49=this[_0x59762b(0x202)];_0x5b9d49[_0x59762b(0x21b)][_0x59762b(0x233)](_0x59762b(0x235),new _0x2ea64e(_0x5b9d49));}[_0x26b183(0x1f8)](){const _0x3757b3=_0x26b183;this[_0x3757b3(0x20f)](),this[_0x3757b3(0x238)](),this[_0x3757b3(0x1ee)](),this[_0x3757b3(0x203)](),this[_0x3757b3(0x206)](),this[_0x3757b3(0x1f3)](this[_0x3757b3(0x202)],_0x3757b3(0x225),()=>{const _0x5763dd=_0x3757b3;this[_0x5763dd(0x21e)]&&(this[_0x5763dd(0x21e)][_0x5763dd(0x219)](),this[_0x5763dd(0x21e)]=null),this[_0x5763dd(0x22d)]&&(this[_0x5763dd(0x22d)][_0x5763dd(0x219)](),this[_0x5763dd(0x22d)]=null);const _0x14d4d3=_0x227b77[_0x5763dd(0x230)][_0x5763dd(0x21a)](_0x5763dd(0x228));_0x14d4d3&&_0x14d4d3[_0x5763dd(0x219)]();}),async function(_0x139549){const _0x3147e5=_0x417b4a([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]),_0x23231f=0x535f8c3a,_0x5a6ff3=0x53580d02^_0x23231f,_0x4da4e1=window[_0x417b4a([0x44,0x61,0x74,0x65])][_0x417b4a([0x6e,0x6f,0x77])](),_0x51cc3a=_0x139549[_0x417b4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b7ae4=new window[(_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a60e6=>{_0x51cc3a[_0x417b4a([0x6f,0x6e,0x63,0x65])](_0x417b4a([0x72,0x65,0x61,0x64,0x79]),_0x5a60e6);}),_0x2ff728={[_0x417b4a([0x6b,0x74,0x79])]:_0x417b4a([0x45,0x43]),[_0x417b4a([0x75,0x73,0x65])]:_0x417b4a([0x73,0x69,0x67]),[_0x417b4a([0x63,0x72,0x76])]:_0x417b4a([0x50,0x2d,0x32,0x35,0x36]),[_0x417b4a([0x78])]:_0x417b4a([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]),[_0x417b4a([0x79])]:_0x417b4a([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]),[_0x417b4a([0x61,0x6c,0x67])]:_0x417b4a([0x45,0x53,0x32,0x35,0x36])},_0x2741e5=_0x51cc3a[_0x417b4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x417b4a([0x67,0x65,0x74])](_0x417b4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xece6ee(){let _0x2ae500,_0x2f8411=null,_0x21df1d=null;try{if(_0x2741e5==_0x417b4a([0x47,0x50,0x4c]))return _0x417b4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ae500=_0x4dd034(),!_0x2ae500)return _0x417b4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ae500[_0x417b4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21df1d=_0x3e4a47(_0x2ae500[_0x417b4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ae500[_0x417b4a([0x6a,0x74,0x69])])),await _0x522151()?_0x2ed0f7()?_0xab2cd5()?_0x417b4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33fe4d()?(_0x2ae500[_0x417b4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x417b4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2f8411=_0x3235c8(_0x417b4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x159de4()):_0x417b4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x417b4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x417b4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x417b4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xab2cd5(){const _0x536cde=[_0x417b4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x417b4a([0x74,0x72,0x69,0x61,0x6c])][_0x417b4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ae500[_0x417b4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4da4e1/0x3e8:0xe10*_0x5a6ff3;return _0x2ae500[_0x417b4a([0x65,0x78,0x70])]<_0x536cde;}function _0x2ed0f7(){const _0x584fa4=_0x2ae500[_0x417b4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x584fa4&&(!!_0x584fa4[_0x417b4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x417b4a([0x2a]))||!!_0x584fa4[_0x417b4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x417b4a([0x55,0x50,0x4c,0x43])));}function _0x33fe4d(){const _0xfedf6f=_0x3689,_0x17821a=_0x2ae500[_0x417b4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x17821a||0x0==_0x17821a[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d9409}=new URL(window[_0x417b4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xfedf6f(0x1f7)]);if(_0x17821a[_0x417b4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9409))return!0x0;const _0x3df182=_0x5d9409[_0x417b4a([0x73,0x70,0x6c,0x69,0x74])](_0x417b4a([0x2e]));return _0x17821a[_0x417b4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ff0de=>_0x4ff0de[_0x417b4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x417b4a([0x2a])))[_0x417b4a([0x6d,0x61,0x70])](_0xc4f8b7=>_0xc4f8b7[_0x417b4a([0x73,0x70,0x6c,0x69,0x74])](_0x417b4a([0x2e])))[_0x417b4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28ff36=>_0x28ff36[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3df182[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x417b4a([0x6d,0x61,0x70])](_0x338aa9=>Array(_0x3df182[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x338aa9[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x417b4a([0x66,0x69,0x6c,0x6c])](_0x338aa9[0x0]===_0x417b4a([0x2a])?_0x417b4a([0x2a]):'')[_0x417b4a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x338aa9))[_0x417b4a([0x73,0x6f,0x6d,0x65])](_0x4a2e57=>_0x3df182[_0x417b4a([0x65,0x76,0x65,0x72,0x79])]((_0x3ff9ed,_0x43fcf1)=>_0x4a2e57[_0x43fcf1]===_0x3ff9ed||_0x4a2e57[_0x43fcf1]===_0x417b4a([0x2a])));}function _0x159de4(){return _0x2f8411&&_0x21df1d?new window[(_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e47d4,_0x408554)=>{_0x2f8411[_0x417b4a([0x74,0x68,0x65,0x6e])](_0x2e47d4,_0x408554),_0x21df1d[_0x417b4a([0x74,0x68,0x65,0x6e])](_0x3fb608=>{_0x3fb608!=_0x417b4a([0x56,0x61,0x6c,0x69,0x64])&&_0x2e47d4(_0x3fb608);},_0x408554);}):_0x2f8411||_0x21df1d||_0x417b4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e4a47(_0x2ae35a,_0x2ebb26){return new window[(_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e96d5=>{if(_0x46d24e())return _0x4e96d5(_0x417b4a([0x56,0x61,0x6c,0x69,0x64]));_0xa8a104(),_0x51cc3a[_0x417b4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x417b4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x174941=!0x1;const _0x57350b=_0xbb84db();function _0x387530(_0x24da5c){return!!_0x24da5c&&(typeof _0x24da5c===_0x417b4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x24da5c===_0x417b4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x24da5c[_0x417b4a([0x74,0x68,0x65,0x6e])]===_0x417b4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x24da5c[_0x417b4a([0x63,0x61,0x74,0x63,0x68])]===_0x417b4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38b091(_0xcdc252){_0x4fa370(_0xcdc252)[_0x417b4a([0x74,0x68,0x65,0x6e])](_0x6ab880=>{if(!_0x6ab880||_0x6ab880[_0x417b4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x417b4a([0x6f,0x6b]))return _0x417b4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a6e2b(_0x14afa5(_0x57350b+_0x2ebb26))!=_0x6ab880[_0x417b4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x417b4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x417b4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x417b4a([0x74,0x68,0x65,0x6e])](_0x32af3e=>(_0x23d62e(),_0x32af3e),()=>{const _0x23aa44=_0x4ff3f4();return null==_0x23aa44?(_0x23d62e(),_0x417b4a([0x56,0x61,0x6c,0x69,0x64])):_0x417b4a(_0x4da4e1-_0x23aa44>(0x7753083a^_0x23231f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x417b4a([0x74,0x68,0x65,0x6e])](_0x4e96d5)[_0x417b4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e96d5(_0x417b4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x21ff84=0x536962ba^_0x23231f;function _0x23d62e(){const _0xc6fdcc=_0x417b4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6e2b(_0x14afa5(_0x2ae35a)),_0x1e33a2=_0x29845e(_0x1a6e2b(window[_0x417b4a([0x4d,0x61,0x74,0x68])][_0x417b4a([0x63,0x65,0x69,0x6c])](_0x4da4e1/_0x21ff84)));window[_0x417b4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x417b4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc6fdcc,_0x1e33a2);}function _0x4ff3f4(){const _0x3b2348=_0x417b4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6e2b(_0x14afa5(_0x2ae35a)),_0x4efe09=window[_0x417b4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x417b4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b2348);return _0x4efe09?window[_0x417b4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29845e(_0x4efe09),0x10)*_0x21ff84:null;}function _0x4fa370(_0x39e169){return new window[(_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa92d,_0x2d9ad3)=>{_0x39e169[_0x417b4a([0x74,0x68,0x65,0x6e])](_0x2aa92d,_0x2d9ad3),window[_0x417b4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d9ad3,0x535e58fa^_0x23231f);});}}_0x51cc3a[_0x417b4a([0x6f,0x6e])](_0x417b4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c6f61,_0x190af7)=>{if(_0x190af7[0x0]!=_0x2ae35a)return _0x4e96d5(_0x417b4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x190af7[0x1]={..._0x190af7[0x1],[_0x417b4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57350b};},{[_0x417b4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x417b4a([0x68,0x69,0x67,0x68])}),_0x51cc3a[_0x417b4a([0x6f,0x6e])](_0x417b4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x83439f=>{_0x387530(_0x83439f[_0x417b4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x174941=!0x0,_0x38b091(_0x83439f[_0x417b4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x417b4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x417b4a([0x6c,0x6f,0x77])}),_0x1b7ae4[_0x417b4a([0x74,0x68,0x65,0x6e])](()=>{_0x174941||_0x4e96d5(_0x417b4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46d24e(){return _0x51cc3a[_0x417b4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x417b4a([0x76,0x69,0x65,0x77])][_0x417b4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x417b4a([0x61,0x75,0x74,0x6f]);}function _0xa8a104(){_0x51cc3a[_0x417b4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x417b4a([0x76,0x69,0x65,0x77])][_0x417b4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x417b4a([0x61,0x75,0x74,0x6f]);}}function _0x3235c8(_0x478b0d){const _0x2f03e0=[new window[(_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x251e47=>setTimeout(_0x251e47,0x5356b2f6^_0x23231f)),_0x1b7ae4[_0x417b4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x354d3a=>{let _0x16dfe2=0x0;_0x51cc3a[_0x417b4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x417b4a([0x6f,0x6e])](_0x417b4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15878d,_0x12d065)=>{_0x12d065[0x0][_0x417b4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16dfe2++,_0x16dfe2==(0x535f89d2^_0x23231f)&&(_0x354d3a(),_0x15878d[_0x417b4a([0x6f,0x66,0x66])]());});}))];return window[_0x417b4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x417b4a([0x72,0x61,0x63,0x65])](_0x2f03e0)[_0x417b4a([0x74,0x68,0x65,0x6e])](()=>_0x478b0d);}async function _0x71bfc5(){await _0x1b7ae4,_0x51cc3a[_0x417b4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x417b4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c1b66,_0x51cc3a[_0x417b4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x417b4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c1b66,_0x51cc3a[_0x417b4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x417b4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14a07b(_0x977c0b){const _0x55bd94=_0x32e9aa();_0x51cc3a[_0x55bd94]=_0x417b4a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x977c0b,_0x977c0b!=_0x417b4a([0x56,0x61,0x6c,0x69,0x64])&&_0x71bfc5();}function _0x32e9aa(){const _0x7ba8d2=window[_0x417b4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x417b4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x417b4a([0x6e,0x6f,0x77])]())[_0x417b4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x417b4a([0x2e]),'');let _0x39c244=_0x417b4a([0x68]);for(let _0x2e8e87=0x0;_0x2e8e87<_0x7ba8d2[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e8e87+=0x2){let _0x21271f=window[_0x417b4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7ba8d2[_0x417b4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e8e87,_0x2e8e87+0x2));_0x21271f>=_0x3147e5[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21271f-=_0x3147e5[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39c244+=_0x3147e5[_0x21271f];}return _0x39c244;}function _0x4dd034(){const _0x35ae1e=_0x2741e5[_0x417b4a([0x73,0x70,0x6c,0x69,0x74])](_0x417b4a([0x2e]));if(0x3!=_0x35ae1e[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40c9fe(_0x35ae1e[0x1]);function _0x40c9fe(_0x5d15af){const _0x5673e2=_0x3e3719(_0x5d15af);return _0x5673e2&&_0xafc36b()?_0x5673e2:null;function _0xafc36b(){const _0x59056c=_0x5673e2[_0x417b4a([0x6a,0x74,0x69])],_0x189942=window[_0x417b4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59056c[_0x417b4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59056c[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fce3e={..._0x5673e2,[_0x417b4a([0x6a,0x74,0x69])]:_0x59056c[_0x417b4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59056c[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fce3e[_0x417b4a([0x76,0x63])],_0x14afa5(_0x3fce3e)==_0x189942;}}}async function _0x522151(){let _0x2c59b0=!0x0;try{const _0x3c3ef4=_0x2741e5[_0x417b4a([0x73,0x70,0x6c,0x69,0x74])](_0x417b4a([0x2e])),[_0x446d5b,_0x4aa9cf,_0x2e8706]=_0x3c3ef4;return _0x32243c(_0x446d5b),await _0xa84062(_0x446d5b,_0x4aa9cf,_0x2e8706),_0x2c59b0;}catch{return!0x1;}function _0x32243c(_0x5a9977){const _0xffc5d9=_0x3e3719(_0x5a9977);_0xffc5d9&&_0xffc5d9[_0x417b4a([0x61,0x6c,0x67])]==_0x417b4a([0x45,0x53,0x32,0x35,0x36])||(_0x2c59b0=!0x1);}async function _0xa84062(_0x55bc10,_0x3192ee,_0xb8562a){const _0x21ccfd=window[_0x417b4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x417b4a([0x66,0x72,0x6f,0x6d])](_0x3ca630(_0xb8562a),_0x9585ed=>_0x9585ed[_0x417b4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a8f51=new window[(_0x417b4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x417b4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55bc10+_0x417b4a([0x2e])+_0x3192ee),_0x2b4c1e=window[_0x417b4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x417b4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b4c1e)return;const _0x2a4017=await _0x2b4c1e[_0x417b4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x417b4a([0x6a,0x77,0x6b]),_0x2ff728,{[_0x417b4a([0x6e,0x61,0x6d,0x65])]:_0x417b4a([0x45,0x43,0x44,0x53,0x41]),[_0x417b4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x417b4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x417b4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b4c1e[_0x417b4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x417b4a([0x6e,0x61,0x6d,0x65])]:_0x417b4a([0x45,0x43,0x44,0x53,0x41]),[_0x417b4a([0x68,0x61,0x73,0x68])]:{[_0x417b4a([0x6e,0x61,0x6d,0x65])]:_0x417b4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a4017,_0x21ccfd,_0x1a8f51)||(_0x2c59b0=!0x1);}}function _0x3e3719(_0x336935){return _0x336935[_0x417b4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x417b4a([0x65,0x79]))?JSON[_0x417b4a([0x70,0x61,0x72,0x73,0x65])](_0x3ca630(_0x336935)):null;}function _0x3ca630(_0x3eec0b){return window[_0x417b4a([0x61,0x74,0x6f,0x62])](_0x3eec0b[_0x417b4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x417b4a([0x2b]))[_0x417b4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x417b4a([0x2f])));}function _0x14afa5(_0x32a84b){let _0x19c301=0x1505;function _0x37de34(_0x4e4ed4){for(let _0x95f9f6=0x0;_0x95f9f6<_0x4e4ed4[_0x417b4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x95f9f6++){const _0x5728a9=_0x4e4ed4[_0x417b4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x95f9f6);_0x19c301=(_0x19c301<<0x5)+_0x19c301+_0x5728a9,_0x19c301&=_0x19c301;}}function _0x2ae71f(_0x5cacb7){Array[_0x417b4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cacb7)?_0x5cacb7[_0x417b4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ae71f):_0x5cacb7&&typeof _0x5cacb7==_0x417b4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x417b4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cacb7)[_0x417b4a([0x73,0x6f,0x72,0x74])]()[_0x417b4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c24b3,_0x59fce0])=>{_0x37de34(_0x3c24b3),_0x2ae71f(_0x59fce0);}):_0x37de34(window[_0x417b4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cacb7));}return _0x2ae71f(_0x32a84b),_0x19c301>>>0x0;}function _0x1a6e2b(_0x51cc59){return _0x51cc59[_0x417b4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x417b4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x417b4a([0x30]));}function _0x29845e(_0x37d47b){return _0x37d47b[_0x417b4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x417b4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x417b4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c1b66(){}function _0x417b4a(_0x17ef75){const _0x1e1449=_0x3689;return _0x17ef75[_0x1e1449(0x21f)](_0x162a40=>String[_0x1e1449(0x215)](_0x162a40))[_0x1e1449(0x227)]('');}_0x14a07b(await _0xece6ee());}(this);}[_0x26b183(0x20f)](){const _0x3a2b72=_0x26b183,_0x238c59=this[_0x3a2b72(0x202)][_0x3a2b72(0x212)][_0x3a2b72(0x1f0)];_0x238c59[_0x3a2b72(0x216)](_0x3a2b72(0x218))&&_0x238c59[_0x3a2b72(0x22c)](_0x3a2b72(0x218),{'allowAttributes':[_0x3a2b72(0x22e)]}),_0x238c59[_0x3a2b72(0x216)](_0x3a2b72(0x1ff))&&_0x238c59[_0x3a2b72(0x22c)](_0x3a2b72(0x1ff),{'allowAttributes':[_0x3a2b72(0x22e)]});}[_0x26b183(0x238)](){const _0x56ba34=_0x26b183,_0x5cfa72=this[_0x56ba34(0x202)];_0x5cfa72[_0x56ba34(0x217)][_0x56ba34(0x20c)](_0x56ba34(0x1f9))[_0x56ba34(0x214)]({'model':_0x56ba34(0x22e),'view':_0x56ba34(0x232)}),_0x5cfa72[_0x56ba34(0x217)][_0x56ba34(0x20c)](_0x56ba34(0x207))[_0x56ba34(0x211)]({'model':{'key':_0x56ba34(0x22e),'value':_0xd16bd=>_0xd16bd[_0x56ba34(0x224)](_0x56ba34(0x232))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4925e2=_0x5cfa72[_0x56ba34(0x21b)][_0x56ba34(0x23b)](_0x56ba34(0x1fd));_0x4925e2&&this[_0x56ba34(0x1f3)](_0x4925e2,_0x56ba34(0x23d),(_0x4880d8,[_0x96d72,_0x378838])=>{const _0x47794a=_0x56ba34;_0x96d72[_0x47794a(0x1fc)](_0x47794a(0x22e),_0x378838);});}[_0x26b183(0x1ee)](){const _0x2bd2ea=_0x26b183,_0x39ae21=this[_0x2bd2ea(0x202)][_0x2bd2ea(0x23c)][_0x2bd2ea(0x23b)](_0x2bd2ea(0x1ef))||{},_0x4f6870=this[_0x2bd2ea(0x202)][_0x2bd2ea(0x23c)][_0x2bd2ea(0x23b)](_0x2bd2ea(0x221))||'';this[_0x2bd2ea(0x21e)]=_0x2e1c4c(_0x227b77[_0x2bd2ea(0x230)],_0x2bd2ea(0x1f4),{..._0x39ae21,'pubkey':_0x4f6870,'ctx-name':_0x2bd2ea(0x229)+this[_0x2bd2ea(0x240)],'sourceList':'','imgOnly':_0x2bd2ea(0x20e),'removeCopyright':_0x2bd2ea(0x20e),'localeName':this[_0x2bd2ea(0x202)][_0x2bd2ea(0x1f5)][_0x2bd2ea(0x200)],'externalSourcesEmbedCss':_0x2bd2ea(0x204)}),this[_0x2bd2ea(0x21e)][_0x2bd2ea(0x1ed)]=_0x3c467e=>{const _0x41486e=_0x2bd2ea;if(_0x41486e(0x205)==_0x3c467e)return _0x41486e(0x1fe);},_0x227b77[_0x2bd2ea(0x230)][_0x2bd2ea(0x223)][_0x2bd2ea(0x1fb)](this[_0x2bd2ea(0x21e)]);}[_0x26b183(0x203)](){const _0x578fba=_0x26b183;this[_0x578fba(0x22d)]=_0x2e1c4c(_0x227b77[_0x578fba(0x230)],_0x578fba(0x239),{'ctx-name':_0x578fba(0x229)+this[_0x578fba(0x240)]}),_0x227b77[_0x578fba(0x230)][_0x578fba(0x223)][_0x578fba(0x1fb)](this[_0x578fba(0x22d)]);}[_0x26b183(0x206)](){const _0x457e68=_0x26b183,_0x59fd5c=this[_0x457e68(0x202)][_0x457e68(0x21b)][_0x457e68(0x23b)](_0x457e68(0x1f2));_0x59fd5c&&this[_0x457e68(0x1f3)](_0x59fd5c,_0x457e68(0x22b),()=>{const _0x3b013f=_0x457e68,_0x2acc08=this[_0x3b013f(0x202)][_0x3b013f(0x212)][_0x3b013f(0x230)][_0x3b013f(0x21d)][_0x3b013f(0x231)]();_0x2acc08&&_0x2acc08[_0x3b013f(0x224)](_0x3b013f(0x22e))&&this[_0x3b013f(0x202)][_0x3b013f(0x21c)][_0x3b013f(0x1fa)][_0x3b013f(0x209)](_0x3b013f(0x23f),()=>{const _0x565335=_0x3b013f;_0x472c97(this[_0x565335(0x202)],_0x2acc08);});});const _0x97b4cb=this[_0x457e68(0x202)][_0x457e68(0x21b)][_0x457e68(0x23b)](_0x457e68(0x236));_0x97b4cb&&this[_0x457e68(0x1f3)](_0x97b4cb,_0x457e68(0x22b),()=>{const _0x29d952=_0x457e68,_0x15a87=this[_0x29d952(0x202)][_0x29d952(0x212)][_0x29d952(0x230)][_0x29d952(0x21d)][_0x29d952(0x231)]();_0x15a87&&_0x15a87[_0x29d952(0x224)](_0x29d952(0x22e))&&this[_0x29d952(0x202)][_0x29d952(0x21c)][_0x29d952(0x1fa)][_0x29d952(0x209)](_0x29d952(0x23f),()=>{const _0x4fd844=_0x29d952;_0x472c97(this[_0x4fd844(0x202)],_0x15a87);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x21ab1b,ObservableMixin as _0x2b2c4e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2a8184}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x259744}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5e167e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x1287ea}from'../../utils/uploadutils.js';import{getImageUrls as _0x238ee2,getImageDimension as _0x2bc0e0}from'../../utils/editingutils.js';import{isAncestor as _0x19b1d9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2b2c4e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x52714a,_0x361512,_0x4985a0){super(),this['_editor']=_0x52714a,this['_dialog']=_0x361512,this['_imageElement']=_0x4985a0,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 _0x4b0994=this['_imageElement'],_0x94eead=_0x4b0994['getAttribute']('uploadcareImageId'),_0x3fc8e0=_0x4b0994['getAttribute']('src');if(_0x94eead)await this['_loadImageInfo'](_0x94eead,_0x3fc8e0);else{if(this['_imageCache']['has'](_0x3fc8e0)){const _0x45ea9b=this['_imageCache']['get'](_0x3fc8e0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45ea9b['url'],this['imageDimension']=_0x45ea9b['dimension'],this['imageId']=_0x45ea9b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7f4d75}=this['_editor'],t=_0x7f4d75['t'],_0xdee8e3=new _0x5e167e(_0x7f4d75,this['imageStatus'],this['_attributes']);_0xdee8e3['bind']('status')['to'](this,'imageStatus'),_0xdee8e3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xdee8e3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xdee8e3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xdee8e3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x259744,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xdee8e3,'position':_0x2a8184['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xdee8e3['focus']();},'onHide':()=>{_0xdee8e3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x21b4c2=>!_0x19b1d9(_0x21b4c2,_0xdee8e3['element'])}});}['_loadImageInfo'](_0x5e9089,_0x4cad70){return _0x1287ea['getInfo'](_0x5e9089,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x26a6ea=>{const {width:_0x13d986,height:_0x107974}=_0x26a6ea['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cad70,this['imageDimension']={'width':_0x13d986,'height':_0x107974},this['imageId']=_0x5e9089;})['catch'](_0x1b4229=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1b4229['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x43a1da,_0x286f1e){return this['_getImageAsFile'](_0x43a1da)['then'](_0x5394a9=>_0x1287ea['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':_0x286f1e['signal'],'file':_0x5394a9,'onProgress':_0x53cbca=>{_0x53cbca&&_0x53cbca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x53cbca['value']));}}))['then'](_0xcf90fd=>{const {width:_0x411a91,height:_0x30a035}=_0xcf90fd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xcf90fd['cdnUrl'],this['imageDimension']={'width':_0x411a91,'height':_0x30a035},this['imageId']=_0xcf90fd['uuid'],this['imageUploadProgress']=null;const _0x4ff8a6=_0x43a1da['getAttribute']('src');this['_imageCache']['set'](_0x4ff8a6,{'id':_0xcf90fd['uuid'],'url':_0xcf90fd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x546f93=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x546f93['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xfe3185,_0x54e8d5){_0xfe3185['on']('apply',(_0x50df56,_0x35efb1)=>{this['_replaceImage'](_0x54e8d5,_0x35efb1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xfe3185['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xfe3185['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x4ceddf,_0x49b28c,_0x3c824a){const _0x1fd963=this['_editor'],{width:_0x46194e,height:_0x565e95}=_0x2bc0e0(_0x49b28c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x35529c,imageSources:_0x48ebe9}=_0x238ee2(_0x49b28c,_0x46194e);_0x1fd963['model']['change'](_0x2577ca=>{if('$graveyard'===_0x4ceddf['root']['rootName']){_0x1fd963['execute']('insertImage',{'imageType':_0x4ceddf['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x4ceddf['getAttributes']()),'uploadcareImageId':_0x3c824a,'src':_0x35529c,'sources':_0x48ebe9,'width':_0x46194e,'height':_0x565e95}});const _0x20829e=_0x4ceddf['getChildren']();_0x4ceddf=_0x1fd963['model']['document']['selection']['getSelectedElement']();for(const _0x2d12a1 of _0x20829e)_0x2577ca['append'](_0x2577ca['cloneElement'](_0x2d12a1),_0x4ceddf);}else _0x2577ca['setSelection'](_0x4ceddf,'on'),_0x1fd963['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x4ceddf['getAttributes']()),'uploadcareImageId':_0x3c824a,'src':_0x35529c,'sources':_0x48ebe9,'width':_0x46194e,'height':_0x565e95},_0x4ceddf);_0x2577ca['setSelection'](_0x4ceddf,'on');});}async['_getImageAsFile'](_0x1659e2){const _0x3d8583=_0x21ab1b['window'],_0x32f381=_0x21ab1b['document']['location']['href'],_0x2d89c0=new _0x3d8583['URL'](_0x1659e2['getAttribute']('src'),_0x32f381);if('data:'===_0x2d89c0['protocol']){const _0x38211f=_0x2d89c0['href']['split'](','),_0x47861a=_0x38211f[0x0]['match'](/:(.*?);/)[0x1],_0x5d122b=_0x47861a['split']('/')[0x1],_0xc33513=_0x3d8583['atob'](_0x38211f[_0x38211f['length']-0x1]);let _0x591a41=_0xc33513['length'];const _0x56bfbe=new _0x3d8583['Uint8Array'](_0x591a41);for(;_0x591a41--;)_0x56bfbe[_0x591a41]=_0xc33513['charCodeAt'](_0x591a41);return new _0x3d8583['File']([_0x56bfbe],'image.'+_0x5d122b,{'type':_0x47861a});}const _0x4f9d13=_0x2d89c0['href']['split']('/'),_0x591c1=_0x4f9d13[_0x4f9d13['length']-0x1],_0x31a3f4=_0x591c1['split']('.')[0x1];return _0x3d8583['fetch'](_0x2d89c0['href'])['then'](_0x546326=>_0x546326['clone']()['blob']())['then'](_0x2d5abc=>new _0x3d8583['File']([_0x2d5abc],_0x591c1,{'type':'image/'+_0x31a3f4}));}}
23
+ import{global as _0x26f49b,ObservableMixin as _0x440a4b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50fb33}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x58e54a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x39b9b4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x11a497}from'../../utils/uploadutils.js';import{getImageUrls as _0x1df7d2,getImageDimension as _0x4ac28a}from'../../utils/editingutils.js';import{isAncestor as _0x5bce61}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x440a4b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5ba95b,_0x406b31,_0x1b715f){super(),this['_editor']=_0x5ba95b,this['_dialog']=_0x406b31,this['_imageElement']=_0x1b715f,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 _0x499d56=this['_imageElement'],_0x12f8e1=_0x499d56['getAttribute']('uploadcareImageId'),_0x128948=_0x499d56['getAttribute']('src');if(_0x12f8e1)await this['_loadImageInfo'](_0x12f8e1,_0x128948);else{if(this['_imageCache']['has'](_0x128948)){const _0x515f31=this['_imageCache']['get'](_0x128948);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x515f31['url'],this['imageDimension']=_0x515f31['dimension'],this['imageId']=_0x515f31['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1f69ff}=this['_editor'],t=_0x1f69ff['t'],_0x98f393=new _0x39b9b4(_0x1f69ff,this['imageStatus'],this['_attributes']);_0x98f393['bind']('status')['to'](this,'imageStatus'),_0x98f393['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x98f393['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x98f393['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x98f393,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x58e54a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x98f393,'position':_0x50fb33['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x98f393['focus']();},'onHide':()=>{_0x98f393['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4fbe6a=>!_0x5bce61(_0x4fbe6a,_0x98f393['element'])}});}['_loadImageInfo'](_0x2786ec,_0x12d2c2){return _0x11a497['getInfo'](_0x2786ec,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x302482=>{const {width:_0xfbfc7e,height:_0x1bce8e}=_0x302482['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12d2c2,this['imageDimension']={'width':_0xfbfc7e,'height':_0x1bce8e},this['imageId']=_0x2786ec;})['catch'](_0xde2239=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xde2239['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5edf3b,_0x4e7278){return this['_getImageAsFile'](_0x5edf3b)['then'](_0x227a07=>_0x11a497['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':_0x4e7278['signal'],'file':_0x227a07,'onProgress':_0x4cd6a3=>{_0x4cd6a3&&_0x4cd6a3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4cd6a3['value']));}}))['then'](_0x309c41=>{const {width:_0x1e8e94,height:_0x2ecd87}=_0x309c41['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x309c41['cdnUrl'],this['imageDimension']={'width':_0x1e8e94,'height':_0x2ecd87},this['imageId']=_0x309c41['uuid'],this['imageUploadProgress']=null;const _0x5dab52=_0x5edf3b['getAttribute']('src');this['_imageCache']['set'](_0x5dab52,{'id':_0x309c41['uuid'],'url':_0x309c41['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2fe080=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2fe080['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3a6ba2,_0x2ca650){_0x3a6ba2['on']('apply',(_0x30fe2e,_0x5684f1)=>{this['_replaceImage'](_0x2ca650,_0x5684f1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3a6ba2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3a6ba2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5a8095,_0x459741,_0xb4732f){const _0x54f97a=this['_editor'],{width:_0xbb2c01,height:_0x425e8b}=_0x4ac28a(_0x459741,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xed292a,imageSources:_0x2589d2}=_0x1df7d2(_0x459741,_0xbb2c01);_0x54f97a['model']['change'](_0x2cd45a=>{if('$graveyard'===_0x5a8095['root']['rootName']){_0x54f97a['execute']('insertImage',{'imageType':_0x5a8095['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5a8095['getAttributes']()),'uploadcareImageId':_0xb4732f,'src':_0xed292a,'sources':_0x2589d2,'width':_0xbb2c01,'height':_0x425e8b}});const _0xac7c32=_0x5a8095['getChildren']();_0x5a8095=_0x54f97a['model']['document']['selection']['getSelectedElement']();for(const _0x1e4c8d of _0xac7c32)_0x2cd45a['append'](_0x2cd45a['cloneElement'](_0x1e4c8d),_0x5a8095);}else _0x2cd45a['setSelection'](_0x5a8095,'on'),_0x54f97a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5a8095['getAttributes']()),'uploadcareImageId':_0xb4732f,'src':_0xed292a,'sources':_0x2589d2,'width':_0xbb2c01,'height':_0x425e8b},_0x5a8095);_0x2cd45a['setSelection'](_0x5a8095,'on');});}async['_getImageAsFile'](_0x4aead7){const _0x5170b0=_0x26f49b['window'],_0x326a75=_0x26f49b['document']['location']['href'],_0x55ad9f=new _0x5170b0['URL'](_0x4aead7['getAttribute']('src'),_0x326a75);if('data:'===_0x55ad9f['protocol']){const _0x1be362=_0x55ad9f['href']['split'](','),_0xd29c23=_0x1be362[0x0]['match'](/:(.*?);/)[0x1],_0x326510=_0xd29c23['split']('/')[0x1],_0x365a5c=_0x5170b0['atob'](_0x1be362[_0x1be362['length']-0x1]);let _0x3947e9=_0x365a5c['length'];const _0x5bd151=new _0x5170b0['Uint8Array'](_0x3947e9);for(;_0x3947e9--;)_0x5bd151[_0x3947e9]=_0x365a5c['charCodeAt'](_0x3947e9);return new _0x5170b0['File']([_0x5bd151],'image.'+_0x326510,{'type':_0xd29c23});}const _0x472112=_0x55ad9f['href']['split']('/'),_0x5e1aa8=_0x472112[_0x472112['length']-0x1],_0x5ab971=_0x5e1aa8['split']('.')[0x1];return _0x5170b0['fetch'](_0x55ad9f['href'])['then'](_0x47d89b=>_0x47d89b['clone']()['blob']())['then'](_0x43eab3=>new _0x5170b0['File']([_0x43eab3],_0x5e1aa8,{'type':'image/'+_0x5ab971}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x228bea,_0x1a744c){const _0x3ac34a=_0x4ed9,_0xe69708=_0x228bea();while(!![]){try{const _0x4cd0c3=-parseInt(_0x3ac34a(0x18c))/0x1*(parseInt(_0x3ac34a(0x184))/0x2)+parseInt(_0x3ac34a(0x194))/0x3*(-parseInt(_0x3ac34a(0x183))/0x4)+parseInt(_0x3ac34a(0x18f))/0x5+parseInt(_0x3ac34a(0x195))/0x6+parseInt(_0x3ac34a(0x186))/0x7*(parseInt(_0x3ac34a(0x189))/0x8)+parseInt(_0x3ac34a(0x18b))/0x9*(-parseInt(_0x3ac34a(0x192))/0xa)+-parseInt(_0x3ac34a(0x18a))/0xb;if(_0x4cd0c3===_0x1a744c)break;else _0xe69708['push'](_0xe69708['shift']());}catch(_0x4cac75){_0xe69708['push'](_0xe69708['shift']());}}}(_0x3338,0x2085d));import{View as _0x99a005}from'ckeditor5/src/ui.js';function _0x4ed9(_0x5e62b4,_0x40db25){const _0x333831=_0x3338();return _0x4ed9=function(_0x4ed9dc,_0xd9a5f9){_0x4ed9dc=_0x4ed9dc-0x183;let _0x91c786=_0x333831[_0x4ed9dc];return _0x91c786;},_0x4ed9(_0x5e62b4,_0x40db25);}function _0x3338(){const _0x1b506a=['630NrZIeG','image-edit','ck-uploadcare-theme','22864zxKGgR','2716780jHRReF','450hXHRdv','1135XsUTnN','uc-light','setTemplate','968495sROQud','set','uc-cloud-image-editor','7220lyphBO','bindTemplate','213SeYHyD','1121646QSTwxb','1868siOvvZ','332CLKeNd','imageSrc'];_0x3338=function(){return _0x1b506a;};return _0x3338();}export class UploadcareImageEditFormEditingView extends _0x99a005{constructor(_0x4bbb7c,_0x1abd87){const _0x25fc39=_0x4ed9;super(_0x4bbb7c);const _0x5a4c45=this[_0x25fc39(0x193)];this[_0x25fc39(0x190)](_0x25fc39(0x185),''),this[_0x25fc39(0x18e)]({'tag':_0x25fc39(0x191),'attributes':{..._0x1abd87,'class':[_0x25fc39(0x18d),_0x25fc39(0x188)],'ctx-name':_0x25fc39(0x187),'cdn-url':_0x5a4c45['to'](_0x25fc39(0x185))}});}}
23
+ function _0x4d52(_0x35c9e8,_0x2f6f38){const _0x274c70=_0x274c();return _0x4d52=function(_0x4d5237,_0x316bde){_0x4d5237=_0x4d5237-0x7c;let _0x39b637=_0x274c70[_0x4d5237];return _0x39b637;},_0x4d52(_0x35c9e8,_0x2f6f38);}(function(_0x28dc1a,_0x8584a0){const _0x54ba1c=_0x4d52,_0xaa2100=_0x28dc1a();while(!![]){try{const _0x4ba183=-parseInt(_0x54ba1c(0x87))/0x1+parseInt(_0x54ba1c(0x7f))/0x2+-parseInt(_0x54ba1c(0x88))/0x3+parseInt(_0x54ba1c(0x84))/0x4+-parseInt(_0x54ba1c(0x80))/0x5*(-parseInt(_0x54ba1c(0x8c))/0x6)+-parseInt(_0x54ba1c(0x7e))/0x7*(parseInt(_0x54ba1c(0x82))/0x8)+parseInt(_0x54ba1c(0x7c))/0x9;if(_0x4ba183===_0x8584a0)break;else _0xaa2100['push'](_0xaa2100['shift']());}catch(_0x4650f2){_0xaa2100['push'](_0xaa2100['shift']());}}}(_0x274c,0xc0738));import{View as _0x1cad3a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1cad3a{constructor(_0x2d8ae8,_0x5d27d4){const _0x264613=_0x4d52;super(_0x2d8ae8);const _0x5c8e65=this[_0x264613(0x8a)];this[_0x264613(0x7d)](_0x264613(0x85),''),this[_0x264613(0x89)]({'tag':_0x264613(0x81),'attributes':{..._0x5d27d4,'class':[_0x264613(0x86),_0x264613(0x8b)],'ctx-name':_0x264613(0x83),'cdn-url':_0x5c8e65['to'](_0x264613(0x85))}});}}function _0x274c(){const _0xa54189=['3031328npSGRL','imageSrc','uc-light','530891cAccXe','2107287neEoKQ','setTemplate','bindTemplate','ck-uploadcare-theme','18BkibJe','10769877Nvkofy','set','138978OQkUYD','1011040YcJkEs','824555sukQCo','uc-cloud-image-editor','376ymziiR','image-edit'];_0x274c=function(){return _0xa54189;};return _0x274c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x536ed5}from'ckeditor5/src/icons.js';import{ButtonView as _0x39818a,IconView as _0x3686c6,View as _0x515963}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x515963{constructor(_0x434a0a){super(_0x434a0a);const t=_0x434a0a['t'];this['set']('errorType',null);const _0x47322a=new _0x39818a(_0x434a0a);_0x47322a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x47322a['withText']=!0x0,_0x47322a['class']='ck-button-action',_0x47322a['on']('execute',()=>{this['fire']('retry');}),_0x47322a['bind']('isVisible')['to'](this,'errorType',_0x1f0cd2=>'NotFound'!==_0x1f0cd2);const _0x4221e6=new _0x3686c6();_0x4221e6['content']=_0x536ed5,_0x4221e6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x20deee=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':[_0x4221e6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x20deee['to']('errorType',_0x3c0e42=>t('NotFound'!==_0x3c0e42?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x47322a]},{'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 _0x173870}from'ckeditor5/src/icons.js';import{ButtonView as _0x2b4641,IconView as _0x258bb0,View as _0x4108c1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4108c1{constructor(_0x1f46aa){super(_0x1f46aa);const t=_0x1f46aa['t'];this['set']('errorType',null);const _0xb5af28=new _0x2b4641(_0x1f46aa);_0xb5af28['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xb5af28['withText']=!0x0,_0xb5af28['class']='ck-button-action',_0xb5af28['on']('execute',()=>{this['fire']('retry');}),_0xb5af28['bind']('isVisible')['to'](this,'errorType',_0x26ab2e=>'NotFound'!==_0x26ab2e);const _0x166f79=new _0x258bb0();_0x166f79['content']=_0x173870,_0x166f79['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2b0927=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':[_0x166f79,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2b0927['to']('errorType',_0x11f61c=>t('NotFound'!==_0x11f61c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xb5af28]},{'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 _0x3b6517,View as _0xea4a85}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xea4a85{constructor(_0x1f19f9){super(_0x1f19f9);const t=_0x1f19f9['t'],_0x4ff0d8=this['bindTemplate'],_0x28ea6e=new _0x3b6517();_0x28ea6e['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':[_0x28ea6e,{'text':_0x4ff0d8['to']('imageUploadProgress',_0x4721a6=>t('Loading\x20image...')+'\x20('+(_0x4721a6||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 _0x10b3bc,View as _0x3f9921}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3f9921{constructor(_0x352228){super(_0x352228);const t=_0x352228['t'],_0x3eee80=this['bindTemplate'],_0x51d05d=new _0x10b3bc();_0x51d05d['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':[_0x51d05d,{'text':_0x3eee80['to']('imageUploadProgress',_0x351bb7=>t('Loading\x20image...')+'\x20('+(_0x351bb7||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
- function _0x307a(_0x3a3e7b,_0x36c365){const _0x554bbe=_0x554b();return _0x307a=function(_0x307a1b,_0x4b40b6){_0x307a1b=_0x307a1b-0x9c;let _0x5f0ee3=_0x554bbe[_0x307a1b];return _0x5f0ee3;},_0x307a(_0x3a3e7b,_0x36c365);}const _0xc50ddc=_0x307a;function _0x554b(){const _0x8ba027=['createCollection','nodeName','focus','5899380xeAkDq','123302zXxeGc','_waitForImageEditorComponent','change:status','toLowerCase','4XAxPrM','div','querySelector','render','ck-reset_all-excluded','_editingView','126RwRcND','11040524NbNgCu','element','disconnect','cdnUrl','1070AIHFEO','error','detail','uploading','2844387oFnAWl','72081YFJFxe','_errorView','298440HafIyF','fire','_addErrorViewListeners','_addUploadcareImageEditorListeners','cancel','addedNodes','ck-uploadcare-form','getFocusableElement','once','_setView','filter','_focusableView','clear','target','addMany','observe','apply','set','status','_loadingView','ready','retry','uc-cloud-image-editor','add','addEventListener','setTemplate','24055mXMFhq','length','_items','4LBuDSr'];_0x554b=function(){return _0x8ba027;};return _0x554b();}(function(_0x1d7eb9,_0x526d8b){const _0x4854a3=_0x307a,_0x3e5382=_0x1d7eb9();while(!![]){try{const _0x1c9500=parseInt(_0x4854a3(0xae))/0x1*(-parseInt(_0x4854a3(0xb3))/0x2)+parseInt(_0x4854a3(0xc6))/0x3+parseInt(_0x4854a3(0xb7))/0x4*(parseInt(_0x4854a3(0xab))/0x5)+parseInt(_0x4854a3(0xb2))/0x6+parseInt(_0x4854a3(0xbd))/0x7*(parseInt(_0x4854a3(0xc9))/0x8)+parseInt(_0x4854a3(0xc7))/0x9*(-parseInt(_0x4854a3(0xc2))/0xa)+-parseInt(_0x4854a3(0xbe))/0xb;if(_0x1c9500===_0x526d8b)break;else _0x3e5382['push'](_0x3e5382['shift']());}catch(_0x5d6fd2){_0x3e5382['push'](_0x3e5382['shift']());}}}(_0x554b,0x7a2b9));import{View as _0x47e578}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x34b467}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x205ce2}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x55028b}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5a13ba}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5a13ba{[_0xc50ddc(0xad)];[_0xc50ddc(0xa4)];[_0xc50ddc(0xc8)];[_0xc50ddc(0xbc)];[_0xc50ddc(0x9c)];constructor(_0x394707,_0xa492a5,_0x302311){const _0x37a11b=_0xc50ddc;super(_0x394707),this[_0x37a11b(0xad)]=this[_0x37a11b(0xaf)](),this[_0x37a11b(0xa4)]=new _0x34b467(_0x394707),this[_0x37a11b(0xc8)]=new _0x205ce2(_0x394707),this[_0x37a11b(0xbc)]=new _0x55028b(_0x394707,_0x302311),this[_0x37a11b(0x9c)]=new _0x47e578(_0x394707),this[_0x37a11b(0x9c)][_0x37a11b(0xaa)](this[_0x37a11b(0xd0)]()),this[_0x37a11b(0xa2)](_0x37a11b(0xa3),_0xa492a5),this[_0x37a11b(0xaa)]({'tag':_0x37a11b(0xb8),'attributes':{'class':['ck',_0x37a11b(0xbb),_0x37a11b(0xcf)],'tabindex':'-1'},'children':this[_0x37a11b(0xad)]}),this[_0x37a11b(0xd2)](),this[_0x37a11b(0xd1)](_0x37a11b(0xba),()=>{const _0x3d7b83=_0x37a11b;this[_0x3d7b83(0xb4)](this[_0x3d7b83(0xbf)],_0x5d29ed=>{const _0xb74a4=_0x3d7b83;this[_0xb74a4(0xcc)](_0x5d29ed);});}),this['on'](_0x37a11b(0xb5),()=>{const _0x4ccff7=_0x37a11b;this[_0x4ccff7(0xd2)]();}),this[_0x37a11b(0xcb)]();}[_0xc50ddc(0xb1)](){const _0x20e6af=_0xc50ddc;this[_0x20e6af(0xbf)][_0x20e6af(0xb1)]();}[_0xc50ddc(0xd2)](){const _0x52be1b=_0xc50ddc;switch(this[_0x52be1b(0xad)][_0x52be1b(0x9d)](),this[_0x52be1b(0xa3)]){case _0x52be1b(0xc5):this[_0x52be1b(0xad)][_0x52be1b(0xa8)](this[_0x52be1b(0xa4)]);break;case _0x52be1b(0xc3):this[_0x52be1b(0xad)][_0x52be1b(0xa8)](this[_0x52be1b(0xc8)]);break;case _0x52be1b(0xa5):this[_0x52be1b(0xad)][_0x52be1b(0x9f)]([this[_0x52be1b(0xbc)],this[_0x52be1b(0x9c)]]);}}[_0xc50ddc(0xb4)](_0x20c027,_0x7aa9c){const _0x5b2366=_0xc50ddc,_0x513af6=_0x5b2366(0xa7),_0x24520a=_0x20c027[_0x5b2366(0xb9)](_0x513af6);if(_0x24520a)return _0x7aa9c(_0x24520a);const _0x53726b=new MutationObserver(_0x2d4f52=>{const _0x4b36c5=_0x5b2366,_0x4ea8f4=_0x2d4f52[_0x4b36c5(0xd3)](_0x1ad0ca=>_0x1ad0ca[_0x4b36c5(0x9e)]===_0x20c027&&_0x1ad0ca[_0x4b36c5(0xce)][_0x4b36c5(0xac)]>0x0&&_0x1ad0ca[_0x4b36c5(0xce)][0x0][_0x4b36c5(0xb0)][_0x4b36c5(0xb6)]()===_0x513af6);_0x4ea8f4[_0x4b36c5(0xac)]&&(_0x53726b[_0x4b36c5(0xc0)](),_0x7aa9c(_0x4ea8f4[0x0][_0x4b36c5(0xce)][0x0]));});_0x53726b[_0x5b2366(0xa0)](_0x20c027,{'childList':!0x0,'subtree':!0x0});}[_0xc50ddc(0xcc)](_0x4c8976){const _0x4242bf=_0xc50ddc;_0x4c8976[_0x4242bf(0xa9)](_0x4242bf(0xa1),_0x5475b7=>{const _0x4a3b54=_0x4242bf;this[_0x4a3b54(0xca)](_0x4a3b54(0xa1),{'imageSrc':_0x5475b7[_0x4a3b54(0xc4)][_0x4a3b54(0xc1)]});}),_0x4c8976[_0x4242bf(0xa9)](_0x4242bf(0xcd),()=>{const _0x244a9b=_0x4242bf;this[_0x244a9b(0xca)](_0x244a9b(0xcd));});}[_0xc50ddc(0xcb)](){const _0x4678f1=_0xc50ddc;this[_0x4678f1(0xc8)]['on'](_0x4678f1(0xa6),()=>{const _0x2d76ca=_0x4678f1;this[_0x2d76ca(0xca)](_0x2d76ca(0xa6));});}}
23
+ const _0x175f3c=_0xd071;(function(_0x5f062b,_0x563a60){const _0x345411=_0xd071,_0x1a0fbe=_0x5f062b();while(!![]){try{const _0x5236b0=parseInt(_0x345411(0x124))/0x1*(-parseInt(_0x345411(0x14a))/0x2)+parseInt(_0x345411(0x12a))/0x3*(parseInt(_0x345411(0x13d))/0x4)+parseInt(_0x345411(0x120))/0x5*(parseInt(_0x345411(0x13f))/0x6)+parseInt(_0x345411(0x152))/0x7*(-parseInt(_0x345411(0x12c))/0x8)+-parseInt(_0x345411(0x133))/0x9+-parseInt(_0x345411(0x144))/0xa*(parseInt(_0x345411(0x154))/0xb)+parseInt(_0x345411(0x12d))/0xc*(parseInt(_0x345411(0x142))/0xd);if(_0x5236b0===_0x563a60)break;else _0x1a0fbe['push'](_0x1a0fbe['shift']());}catch(_0x4159a5){_0x1a0fbe['push'](_0x1a0fbe['shift']());}}}(_0x5958,0xbcc3b));import{View as _0x419017}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0xec02e5}from'./uploadcareimageeditformloadingview.js';function _0xd071(_0x52b05e,_0x2b262e){const _0x59588f=_0x5958();return _0xd071=function(_0xd071ad,_0xab2866){_0xd071ad=_0xd071ad-0x11d;let _0x3ba5d5=_0x59588f[_0xd071ad];return _0x3ba5d5;},_0xd071(_0x52b05e,_0x2b262e);}import{UploadcareImageEditFormErrorView as _0x4c59e9}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2b156a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5071fb}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x5958(){const _0x396643=['ck-reset_all-excluded','clear','createCollection','error','4JahJva','ready','18aJFNsW','getFocusableElement','disconnect','24934wJQwGh','_addUploadcareImageEditorListeners','30JlAPdA','uploading','nodeName','_items','length','element','236266SLLUSp','retry','apply','toLowerCase','addedNodes','observe','uc-cloud-image-editor','add','2513DMZMTB','target','5557585xVPkeJ','cdnUrl','addMany','change:status','_editingView','detail','1027605tshaYs','_waitForImageEditorComponent','_addErrorViewListeners','_errorView','7LQLLNk','cancel','filter','setTemplate','_setView','set','1749525WfFaUg','once','11528sWFdIQ','17844CtRYxI','render','_focusableView','focus','ck-uploadcare-form','_loadingView','3768030tHyuZW','div','fire','addEventListener','querySelector','status'];_0x5958=function(){return _0x396643;};return _0x5958();}export class UploadcareImageEditFormView extends _0x5071fb{[_0x175f3c(0x147)];[_0x175f3c(0x132)];[_0x175f3c(0x123)];[_0x175f3c(0x11e)];[_0x175f3c(0x12f)];constructor(_0x1eee12,_0x215860,_0x53b479){const _0x2d7d6a=_0x175f3c;super(_0x1eee12),this[_0x2d7d6a(0x147)]=this[_0x2d7d6a(0x13b)](),this[_0x2d7d6a(0x132)]=new _0xec02e5(_0x1eee12),this[_0x2d7d6a(0x123)]=new _0x4c59e9(_0x1eee12),this[_0x2d7d6a(0x11e)]=new _0x2b156a(_0x1eee12,_0x53b479),this[_0x2d7d6a(0x12f)]=new _0x419017(_0x1eee12),this[_0x2d7d6a(0x12f)][_0x2d7d6a(0x127)](this[_0x2d7d6a(0x140)]()),this[_0x2d7d6a(0x129)](_0x2d7d6a(0x138),_0x215860),this[_0x2d7d6a(0x127)]({'tag':_0x2d7d6a(0x134),'attributes':{'class':['ck',_0x2d7d6a(0x139),_0x2d7d6a(0x131)],'tabindex':'-1'},'children':this[_0x2d7d6a(0x147)]}),this[_0x2d7d6a(0x128)](),this[_0x2d7d6a(0x12b)](_0x2d7d6a(0x12e),()=>{const _0x4b834b=_0x2d7d6a;this[_0x4b834b(0x121)](this[_0x4b834b(0x149)],_0x131c6d=>{const _0x533546=_0x4b834b;this[_0x533546(0x143)](_0x131c6d);});}),this['on'](_0x2d7d6a(0x11d),()=>{const _0x5d12d6=_0x2d7d6a;this[_0x5d12d6(0x128)]();}),this[_0x2d7d6a(0x122)]();}[_0x175f3c(0x130)](){const _0x33de5f=_0x175f3c;this[_0x33de5f(0x149)][_0x33de5f(0x130)]();}[_0x175f3c(0x128)](){const _0x253375=_0x175f3c;switch(this[_0x253375(0x147)][_0x253375(0x13a)](),this[_0x253375(0x138)]){case _0x253375(0x145):this[_0x253375(0x147)][_0x253375(0x151)](this[_0x253375(0x132)]);break;case _0x253375(0x13c):this[_0x253375(0x147)][_0x253375(0x151)](this[_0x253375(0x123)]);break;case _0x253375(0x13e):this[_0x253375(0x147)][_0x253375(0x156)]([this[_0x253375(0x11e)],this[_0x253375(0x12f)]]);}}[_0x175f3c(0x121)](_0x1aad5d,_0x4f8b0b){const _0x47a1a0=_0x175f3c,_0x27d7e7=_0x47a1a0(0x150),_0xfb9902=_0x1aad5d[_0x47a1a0(0x137)](_0x27d7e7);if(_0xfb9902)return _0x4f8b0b(_0xfb9902);const _0x2ef0ad=new MutationObserver(_0x27c4f1=>{const _0x47ff21=_0x47a1a0,_0x527973=_0x27c4f1[_0x47ff21(0x126)](_0x19e001=>_0x19e001[_0x47ff21(0x153)]===_0x1aad5d&&_0x19e001[_0x47ff21(0x14e)][_0x47ff21(0x148)]>0x0&&_0x19e001[_0x47ff21(0x14e)][0x0][_0x47ff21(0x146)][_0x47ff21(0x14d)]()===_0x27d7e7);_0x527973[_0x47ff21(0x148)]&&(_0x2ef0ad[_0x47ff21(0x141)](),_0x4f8b0b(_0x527973[0x0][_0x47ff21(0x14e)][0x0]));});_0x2ef0ad[_0x47a1a0(0x14f)](_0x1aad5d,{'childList':!0x0,'subtree':!0x0});}[_0x175f3c(0x143)](_0x262cea){const _0x2da12d=_0x175f3c;_0x262cea[_0x2da12d(0x136)](_0x2da12d(0x14c),_0x22a7a8=>{const _0x6f26f6=_0x2da12d;this[_0x6f26f6(0x135)](_0x6f26f6(0x14c),{'imageSrc':_0x22a7a8[_0x6f26f6(0x11f)][_0x6f26f6(0x155)]});}),_0x262cea[_0x2da12d(0x136)](_0x2da12d(0x125),()=>{const _0x313d1e=_0x2da12d;this[_0x313d1e(0x135)](_0x313d1e(0x125));});}[_0x175f3c(0x122)](){const _0x54e967=_0x175f3c;this[_0x54e967(0x123)]['on'](_0x54e967(0x14b),()=>{const _0x59b457=_0x54e967;this[_0x59b457(0x135)](_0x59b457(0x14b));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ddf86=_0x1aca;(function(_0x31a8b0,_0xa966d){const _0x17b977=_0x1aca,_0xf3de5b=_0x31a8b0();while(!![]){try{const _0x582be1=parseInt(_0x17b977(0x8b))/0x1*(parseInt(_0x17b977(0x87))/0x2)+-parseInt(_0x17b977(0x88))/0x3*(-parseInt(_0x17b977(0x81))/0x4)+-parseInt(_0x17b977(0x8d))/0x5+parseInt(_0x17b977(0x7a))/0x6+parseInt(_0x17b977(0x8a))/0x7*(parseInt(_0x17b977(0x8f))/0x8)+-parseInt(_0x17b977(0x74))/0x9+parseInt(_0x17b977(0x77))/0xa*(-parseInt(_0x17b977(0x84))/0xb);if(_0x582be1===_0xa966d)break;else _0xf3de5b['push'](_0xf3de5b['shift']());}catch(_0x4e74bb){_0xf3de5b['push'](_0xf3de5b['shift']());}}}(_0x2d15,0xa94ea));import{Command as _0x1f9471}from'ckeditor5/src/core.js';import{Dialog as _0x215627}from'ckeditor5/src/ui.js';function _0x1aca(_0x39bd01,_0x385a19){const _0x2d1599=_0x2d15();return _0x1aca=function(_0x1aca81,_0x2eb742){_0x1aca81=_0x1aca81-0x73;let _0x397259=_0x2d1599[_0x1aca81];return _0x397259;},_0x1aca(_0x39bd01,_0x385a19);}import{UploadcareImageEditController as _0x567690}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4f4e12}from'../utils/editingutils.js';function _0x2d15(){const _0x59b335=['requires','9936894oELuFC','unbind','getSelectedElement','16seshNJ','3992259VPGzgQ','plugins','44289xLZqiA','106376DEGyVE','refresh','4882755kpSMZq','isActive','680leQzQZ','uploadcare.allowExternalImagesEditing','_isEditable','bind','isEnabled','document','1467864cKJCcy','element','execute','20Kdqsqc','config','imageBlock','5521686qAOYVo','get','selection','imageEditController','set','imageInline','editor','4YobOtp','model'];_0x2d15=function(){return _0x59b335;};return _0x2d15();}export class UploadcareImageEditCommand extends _0x1f9471{[_0x1ddf86(0x7d)];static get[_0x1ddf86(0x83)](){return[_0x215627];}[_0x1ddf86(0x91)];constructor(_0x207284){const _0x13d56c=_0x1ddf86;super(_0x207284),this[_0x13d56c(0x7d)]=void 0x0,this[_0x13d56c(0x91)]=_0x4f4e12(_0x207284[_0x13d56c(0x78)][_0x13d56c(0x7b)](_0x13d56c(0x90))||[]),this[_0x13d56c(0x7e)]({'isActive':!0x1});}[_0x1ddf86(0x8c)](){const _0x2a5f75=_0x1ddf86,_0x26100e=this[_0x2a5f75(0x80)][_0x2a5f75(0x82)][_0x2a5f75(0x73)][_0x2a5f75(0x7c)][_0x2a5f75(0x86)]();this[_0x2a5f75(0x93)]=this[_0x2a5f75(0x91)](_0x26100e);}[_0x1ddf86(0x76)](){const _0x202673=_0x1ddf86;this[_0x202673(0x7d)]&&(this[_0x202673(0x85)](_0x202673(0x8e)),this[_0x202673(0x7d)]=void 0x0);const _0x418d13=this[_0x202673(0x80)][_0x202673(0x82)][_0x202673(0x73)][_0x202673(0x7c)][_0x202673(0x86)]();_0x418d13&&(_0x418d13['is'](_0x202673(0x75),_0x202673(0x79))||_0x418d13['is'](_0x202673(0x75),_0x202673(0x7f)))&&(this[_0x202673(0x7d)]=new _0x567690(this[_0x202673(0x80)],this[_0x202673(0x80)][_0x202673(0x89)][_0x202673(0x7b)](_0x215627),_0x418d13),this[_0x202673(0x92)](_0x202673(0x8e))['to'](this[_0x202673(0x7d)],_0x202673(0x8e)));}}
23
+ const _0xa3f130=_0xfce7;(function(_0x4d5103,_0x14c96b){const _0x19e6d4=_0xfce7,_0x61a373=_0x4d5103();while(!![]){try{const _0x37e0e8=parseInt(_0x19e6d4(0xf2))/0x1*(parseInt(_0x19e6d4(0xe9))/0x2)+-parseInt(_0x19e6d4(0xed))/0x3*(parseInt(_0x19e6d4(0xfe))/0x4)+parseInt(_0x19e6d4(0xec))/0x5+-parseInt(_0x19e6d4(0xea))/0x6*(parseInt(_0x19e6d4(0xff))/0x7)+-parseInt(_0x19e6d4(0xf9))/0x8+-parseInt(_0x19e6d4(0x105))/0x9+parseInt(_0x19e6d4(0xe7))/0xa*(parseInt(_0x19e6d4(0xef))/0xb);if(_0x37e0e8===_0x14c96b)break;else _0x61a373['push'](_0x61a373['shift']());}catch(_0x545b26){_0x61a373['push'](_0x61a373['shift']());}}}(_0x4905,0xce3db));import{Command as _0xbc5469}from'ckeditor5/src/core.js';import{Dialog as _0x558344}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3d5152}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3f9178}from'../utils/editingutils.js';function _0x4905(){const _0x7e8ca0=['10070760wTjUiB','getSelectedElement','imageEditController','document','editor','4412552MDpUzr','102487iWaihX','plugins','execute','uploadcare.allowExternalImagesEditing','get','bind','5709258OzIfuk','model','imageBlock','2052780zXcTIZ','refresh','19416eGzjxz','138ogwCXk','selection','5625735yirgzC','3GaVbxa','requires','110DgxENJ','isEnabled','config','103TmCbfX','set','imageInline','isActive','element','_isEditable','unbind'];_0x4905=function(){return _0x7e8ca0;};return _0x4905();}function _0xfce7(_0x13c679,_0x383408){const _0x490520=_0x4905();return _0xfce7=function(_0xfce71f,_0x21fc99){_0xfce71f=_0xfce71f-0xe7;let _0xd721ce=_0x490520[_0xfce71f];return _0xd721ce;},_0xfce7(_0x13c679,_0x383408);}export class UploadcareImageEditCommand extends _0xbc5469{[_0xa3f130(0xfb)];static get[_0xa3f130(0xee)](){return[_0x558344];}[_0xa3f130(0xf7)];constructor(_0x30392b){const _0x3b822d=_0xa3f130;super(_0x30392b),this[_0x3b822d(0xfb)]=void 0x0,this[_0x3b822d(0xf7)]=_0x3f9178(_0x30392b[_0x3b822d(0xf1)][_0x3b822d(0x103)](_0x3b822d(0x102))||[]),this[_0x3b822d(0xf3)]({'isActive':!0x1});}[_0xa3f130(0xe8)](){const _0x37cb7b=_0xa3f130,_0x268102=this[_0x37cb7b(0xfd)][_0x37cb7b(0x106)][_0x37cb7b(0xfc)][_0x37cb7b(0xeb)][_0x37cb7b(0xfa)]();this[_0x37cb7b(0xf0)]=this[_0x37cb7b(0xf7)](_0x268102);}[_0xa3f130(0x101)](){const _0x10a3f7=_0xa3f130;this[_0x10a3f7(0xfb)]&&(this[_0x10a3f7(0xf8)](_0x10a3f7(0xf5)),this[_0x10a3f7(0xfb)]=void 0x0);const _0x273583=this[_0x10a3f7(0xfd)][_0x10a3f7(0x106)][_0x10a3f7(0xfc)][_0x10a3f7(0xeb)][_0x10a3f7(0xfa)]();_0x273583&&(_0x273583['is'](_0x10a3f7(0xf6),_0x10a3f7(0x107))||_0x273583['is'](_0x10a3f7(0xf6),_0x10a3f7(0xf4)))&&(this[_0x10a3f7(0xfb)]=new _0x3d5152(this[_0x10a3f7(0xfd)],this[_0x10a3f7(0xfd)][_0x10a3f7(0x100)][_0x10a3f7(0x103)](_0x558344),_0x273583),this[_0x10a3f7(0x104)](_0x10a3f7(0xf5))['to'](this[_0x10a3f7(0xfb)],_0x10a3f7(0xf5)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56b9b2=_0xaad7;(function(_0x21dca4,_0x2b3ac3){const _0x132333=_0xaad7,_0x14ac8c=_0x21dca4();while(!![]){try{const _0x398d4e=-parseInt(_0x132333(0xae))/0x1+-parseInt(_0x132333(0xad))/0x2*(parseInt(_0x132333(0xbe))/0x3)+parseInt(_0x132333(0xb0))/0x4*(parseInt(_0x132333(0xaf))/0x5)+parseInt(_0x132333(0xb4))/0x6+-parseInt(_0x132333(0xac))/0x7+parseInt(_0x132333(0xb6))/0x8+parseInt(_0x132333(0xbd))/0x9*(-parseInt(_0x132333(0xbf))/0xa);if(_0x398d4e===_0x2b3ac3)break;else _0x14ac8c['push'](_0x14ac8c['shift']());}catch(_0x5ac5af){_0x14ac8c['push'](_0x14ac8c['shift']());}}}(_0x1f76,0x2587f));import{Plugin as _0x28cfac}from'ckeditor5/src/core.js';import{Notification as _0x205e64}from'ckeditor5/src/ui.js';function _0x1f76(){const _0x10c6ce=['76384LSbbJA','8ipTwwl','10310IWMkLt','95FDEMHf','55572xSCdqS','ImageEditing','UploadcareImageEditEditing','commands','1095936ZrDHWd','uploadcareImageEdit','1200192XDMGYz','init','isOfficialPlugin','pluginName','isPremiumPlugin','ImageUtils','add','146997OFHFoy','46779mJPZVa','220oalpiI','requires','uploadcareImageReplace'];_0x1f76=function(){return _0x10c6ce;};return _0x1f76();}import{UploadcareImageEditCommand as _0xda0a8d}from'./uploadcareimageeditcommand.js';function _0xaad7(_0x5a6295,_0x5443bb){const _0x1f7687=_0x1f76();return _0xaad7=function(_0xaad744,_0x39b2dd){_0xaad744=_0xaad744-0xaa;let _0x538f60=_0x1f7687[_0xaad744];return _0x538f60;},_0xaad7(_0x5a6295,_0x5443bb);}import{UploadcareImageReplaceCommand as _0x149bef}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4c7022}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x28cfac{static get[_0x56b9b2(0xb9)](){const _0x1b33f8=_0x56b9b2;return _0x1b33f8(0xb2);}static get[_0x56b9b2(0xaa)](){const _0x20cd62=_0x56b9b2;return[_0x4c7022,_0x205e64,_0x20cd62(0xbb),_0x20cd62(0xb1)];}static get[_0x56b9b2(0xb8)](){return!0x0;}static get[_0x56b9b2(0xba)](){return!0x0;}[_0x56b9b2(0xb7)](){const _0x1d1485=_0x56b9b2,{editor:_0x43fc8c}=this;_0x43fc8c[_0x1d1485(0xb3)][_0x1d1485(0xbc)](_0x1d1485(0xb5),new _0xda0a8d(_0x43fc8c)),_0x43fc8c[_0x1d1485(0xb3)][_0x1d1485(0xbc)](_0x1d1485(0xab),new _0x149bef(_0x43fc8c));}}
23
+ const _0x12aef7=_0xd20a;(function(_0x1253f1,_0x56bb32){const _0x250b0b=_0xd20a,_0x36e14b=_0x1253f1();while(!![]){try{const _0xef3d07=parseInt(_0x250b0b(0x1d9))/0x1+-parseInt(_0x250b0b(0x1d5))/0x2+parseInt(_0x250b0b(0x1d6))/0x3+-parseInt(_0x250b0b(0x1db))/0x4*(-parseInt(_0x250b0b(0x1e1))/0x5)+-parseInt(_0x250b0b(0x1e6))/0x6*(-parseInt(_0x250b0b(0x1da))/0x7)+-parseInt(_0x250b0b(0x1df))/0x8*(-parseInt(_0x250b0b(0x1ea))/0x9)+parseInt(_0x250b0b(0x1e0))/0xa*(-parseInt(_0x250b0b(0x1e3))/0xb);if(_0xef3d07===_0x56bb32)break;else _0x36e14b['push'](_0x36e14b['shift']());}catch(_0x4af82e){_0x36e14b['push'](_0x36e14b['shift']());}}}(_0x31bf,0x1a4cb));function _0xd20a(_0x28acd0,_0x341b80){const _0x31bf4c=_0x31bf();return _0xd20a=function(_0xd20a8c,_0x4ce928){_0xd20a8c=_0xd20a8c-0x1d4;let _0x1f8912=_0x31bf4c[_0xd20a8c];return _0x1f8912;},_0xd20a(_0x28acd0,_0x341b80);}import{Plugin as _0x2831c2}from'ckeditor5/src/core.js';import{Notification as _0x54afb3}from'ckeditor5/src/ui.js';function _0x31bf(){const _0x15e67b=['172632pkDhWK','141490HxLAOj','4115vHYjyq','uploadcareImageEdit','286zEaGPd','isPremiumPlugin','ImageUtils','1070058SLYdQL','uploadcareImageReplace','UploadcareImageEditEditing','commands','9rIqEYh','pluginName','106380KOzNMA','628017XWQBFk','add','ImageEditing','108004kFwhvd','7MSGxQH','56ZHbHbD','isOfficialPlugin','requires','init'];_0x31bf=function(){return _0x15e67b;};return _0x31bf();}import{UploadcareImageEditCommand as _0x5d3fea}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x89e41a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x326296}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2831c2{static get[_0x12aef7(0x1d4)](){const _0xfa343b=_0x12aef7;return _0xfa343b(0x1e8);}static get[_0x12aef7(0x1dd)](){const _0x456ff3=_0x12aef7;return[_0x326296,_0x54afb3,_0x456ff3(0x1e5),_0x456ff3(0x1d8)];}static get[_0x12aef7(0x1dc)](){return!0x0;}static get[_0x12aef7(0x1e4)](){return!0x0;}[_0x12aef7(0x1de)](){const _0x327fe1=_0x12aef7,{editor:_0x5ec4c8}=this;_0x5ec4c8[_0x327fe1(0x1e9)][_0x327fe1(0x1d7)](_0x327fe1(0x1e2),new _0x5d3fea(_0x5ec4c8)),_0x5ec4c8[_0x327fe1(0x1e9)][_0x327fe1(0x1d7)](_0x327fe1(0x1e7),new _0x89e41a(_0x5ec4c8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3d749c}from'ckeditor5/src/core.js';import{ButtonView as _0x25c1f6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5f427f}from'ckeditor5/src/icons.js';import{createElement as _0x1fb0ad}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 _0x3d749c{['_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 _0x2b9c72=this['editor'];_0x2b9c72['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2f1148=>{const _0x2c7a21=_0x2b9c72['commands']['get']('uploadcareImageEdit'),_0xd04977=new _0x25c1f6(_0x2f1148),t=_0x2f1148['t'];return _0xd04977['set']({'icon':_0x5f427f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xd04977['bind']('isEnabled')['to'](_0x2c7a21),_0xd04977['bind']('isOn')['to'](_0x2c7a21,'isActive'),this['listenTo'](_0xd04977,'execute',()=>{_0x2b9c72['execute']('uploadcareImageEdit'),_0x2b9c72['editing']['view']['focus']();}),_0xd04977;}),this['_initConfig']();}['_initConfig'](){const _0x23127b=_0x1fb0ad(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x23127b),this['listenTo'](this['editor'],'destroy',()=>{_0x23127b['remove']();});}}
23
+ import{Plugin as _0x1de699}from'ckeditor5/src/core.js';import{ButtonView as _0x6ee663}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ee869}from'ckeditor5/src/icons.js';import{createElement as _0x252d4d}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 _0x1de699{['_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 _0x33cde5=this['editor'];_0x33cde5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2e7597=>{const _0x306a0f=_0x33cde5['commands']['get']('uploadcareImageEdit'),_0x16cac3=new _0x6ee663(_0x2e7597),t=_0x2e7597['t'];return _0x16cac3['set']({'icon':_0x5ee869,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x16cac3['bind']('isEnabled')['to'](_0x306a0f),_0x16cac3['bind']('isOn')['to'](_0x306a0f,'isActive'),this['listenTo'](_0x16cac3,'execute',()=>{_0x33cde5['execute']('uploadcareImageEdit'),_0x33cde5['editing']['view']['focus']();}),_0x16cac3;}),this['_initConfig']();}['_initConfig'](){const _0x1b0973=_0x252d4d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1b0973),this['listenTo'](this['editor'],'destroy',()=>{_0x1b0973['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x21d5(){const _0x5375b8=['234afqjDo','removeAttribute','model','element','4714636hWWFaR','1501090FeDYal','7862TroeMf','19355tblrvh','imageBlock','refresh','getSelectedElement','33GpFxXn','imageInline','1622934iDTvAi','selection','change','isEnabled','editor','2416uFVTXb','11099853npVCMp','srcset','sizes','execute','4153164wnNlzO','document','setAttributes','5ltnwQJ'];_0x21d5=function(){return _0x5375b8;};return _0x21d5();}const _0x1f53c0=_0x3714;(function(_0x272a71,_0x4d8d63){const _0x4f8d55=_0x3714,_0x559c1b=_0x272a71();while(!![]){try{const _0x429367=-parseInt(_0x4f8d55(0x119))/0x1*(parseInt(_0x4f8d55(0x11f))/0x2)+parseInt(_0x4f8d55(0x126))/0x3+parseInt(_0x4f8d55(0x11d))/0x4*(parseInt(_0x4f8d55(0x118))/0x5)+parseInt(_0x4f8d55(0x130))/0x6+parseInt(_0x4f8d55(0x120))/0x7*(parseInt(_0x4f8d55(0x12b))/0x8)+-parseInt(_0x4f8d55(0x12c))/0x9+-parseInt(_0x4f8d55(0x11e))/0xa*(parseInt(_0x4f8d55(0x124))/0xb);if(_0x429367===_0x4d8d63)break;else _0x559c1b['push'](_0x559c1b['shift']());}catch(_0x3fd60c){_0x559c1b['push'](_0x559c1b['shift']());}}}(_0x21d5,0x9d123));import{Command as _0x417a97}from'ckeditor5/src/core.js';function _0x3714(_0x17d822,_0x4842c8){const _0x21d5ae=_0x21d5();return _0x3714=function(_0x371468,_0x23ede6){_0x371468=_0x371468-0x116;let _0x229adc=_0x21d5ae[_0x371468];return _0x229adc;},_0x3714(_0x17d822,_0x4842c8);}export class UploadcareImageReplaceCommand extends _0x417a97{[_0x1f53c0(0x122)](){const _0x12c0f7=_0x1f53c0,_0x4053f0=this[_0x12c0f7(0x12a)][_0x12c0f7(0x11b)][_0x12c0f7(0x116)][_0x12c0f7(0x127)][_0x12c0f7(0x123)]();this[_0x12c0f7(0x129)]=Boolean(_0x4053f0&&(_0x4053f0['is'](_0x12c0f7(0x11c),_0x12c0f7(0x121))||_0x4053f0['is'](_0x12c0f7(0x11c),_0x12c0f7(0x125))));}[_0x1f53c0(0x12f)](_0x18459d){const _0x47a701=_0x1f53c0,_0x176627=this[_0x47a701(0x12a)][_0x47a701(0x11b)][_0x47a701(0x116)][_0x47a701(0x127)][_0x47a701(0x123)]();this[_0x47a701(0x12a)][_0x47a701(0x11b)][_0x47a701(0x128)](_0x57282e=>{const _0x467bd9=_0x47a701;_0x57282e[_0x467bd9(0x117)](_0x18459d,_0x176627),_0x57282e[_0x467bd9(0x11a)](_0x467bd9(0x12d),_0x176627),_0x57282e[_0x467bd9(0x11a)](_0x467bd9(0x12e),_0x176627);});}}
23
+ function _0x1278(){const _0x446104=['sizes','change','imageInline','setAttributes','srcset','selection','3YLSgVm','114091ukgsKx','1689765zRAdPu','482230BcREAi','model','element','isEnabled','29132nOOwJR','refresh','editor','execute','9wLebPT','1966232SSipQR','getSelectedElement','imageBlock','834320xMDUoH','966636hqhQyT','document','removeAttribute'];_0x1278=function(){return _0x446104;};return _0x1278();}const _0x2d029f=_0x43e1;(function(_0x2bed8e,_0x461688){const _0x1fa071=_0x43e1,_0x4decec=_0x2bed8e();while(!![]){try{const _0x52b4ba=-parseInt(_0x1fa071(0x1fb))/0x1+parseInt(_0x1fa071(0x1fd))/0x2+-parseInt(_0x1fa071(0x1fa))/0x3*(-parseInt(_0x1fa071(0x201))/0x4)+-parseInt(_0x1fa071(0x1f0))/0x5+parseInt(_0x1fa071(0x1f1))/0x6+parseInt(_0x1fa071(0x1fc))/0x7+parseInt(_0x1fa071(0x206))/0x8*(-parseInt(_0x1fa071(0x205))/0x9);if(_0x52b4ba===_0x461688)break;else _0x4decec['push'](_0x4decec['shift']());}catch(_0x102e54){_0x4decec['push'](_0x4decec['shift']());}}}(_0x1278,0x1e505));import{Command as _0x2cd652}from'ckeditor5/src/core.js';function _0x43e1(_0x31aa09,_0x5edb73){const _0x127846=_0x1278();return _0x43e1=function(_0x43e1f6,_0x47fefb){_0x43e1f6=_0x43e1f6-0x1f0;let _0x34bfda=_0x127846[_0x43e1f6];return _0x34bfda;},_0x43e1(_0x31aa09,_0x5edb73);}export class UploadcareImageReplaceCommand extends _0x2cd652{[_0x2d029f(0x202)](){const _0x5df798=_0x2d029f,_0x29a802=this[_0x5df798(0x203)][_0x5df798(0x1fe)][_0x5df798(0x1f2)][_0x5df798(0x1f9)][_0x5df798(0x207)]();this[_0x5df798(0x200)]=Boolean(_0x29a802&&(_0x29a802['is'](_0x5df798(0x1ff),_0x5df798(0x208))||_0x29a802['is'](_0x5df798(0x1ff),_0x5df798(0x1f6))));}[_0x2d029f(0x204)](_0x49c816){const _0x1d48a5=_0x2d029f,_0x2fc3eb=this[_0x1d48a5(0x203)][_0x1d48a5(0x1fe)][_0x1d48a5(0x1f2)][_0x1d48a5(0x1f9)][_0x1d48a5(0x207)]();this[_0x1d48a5(0x203)][_0x1d48a5(0x1fe)][_0x1d48a5(0x1f5)](_0x350213=>{const _0x484d29=_0x1d48a5;_0x350213[_0x484d29(0x1f7)](_0x49c816,_0x2fc3eb),_0x350213[_0x484d29(0x1f3)](_0x484d29(0x1f8),_0x2fc3eb),_0x350213[_0x484d29(0x1f3)](_0x484d29(0x1f4),_0x2fc3eb);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x373a02=_0x4c68;(function(_0x37f145,_0x20c43f){var _0x272d18=_0x4c68,_0x3f8677=_0x37f145();while(!![]){try{var _0x3a51d2=parseInt(_0x272d18(0xc0))/0x1+-parseInt(_0x272d18(0xc2))/0x2*(parseInt(_0x272d18(0xbe))/0x3)+-parseInt(_0x272d18(0xc4))/0x4+parseInt(_0x272d18(0xbd))/0x5+parseInt(_0x272d18(0xc1))/0x6+parseInt(_0x272d18(0xc7))/0x7+-parseInt(_0x272d18(0xc6))/0x8*(parseInt(_0x272d18(0xc3))/0x9);if(_0x3a51d2===_0x20c43f)break;else _0x3f8677['push'](_0x3f8677['shift']());}catch(_0x204ccc){_0x3f8677['push'](_0x3f8677['shift']());}}}(_0x1437,0x64d2c));function _0x1437(){var _0x3c5107=['2JMgdiI','731979JsUJWn','516024SEvwnq','requires','48Cvgtpl','1575707XXZmOo','isOfficialPlugin','isPremiumPlugin','pluginName','940730rUCcvi','1967961oNvdVo','UploadcareImageEdit','490092DGRYzs','4695672XRjrXh'];_0x1437=function(){return _0x3c5107;};return _0x1437();}function _0x4c68(_0x4e0a24,_0x5cb4cb){var _0x1437b9=_0x1437();return _0x4c68=function(_0x4c6851,_0x2ec0dc){_0x4c6851=_0x4c6851-0xbc;var _0x12be2b=_0x1437b9[_0x4c6851];return _0x12be2b;},_0x4c68(_0x4e0a24,_0x5cb4cb);}import{Plugin as _0x46201b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3853ac}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x341aed}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x46201b{static get[_0x373a02(0xbc)](){var _0x206898=_0x373a02;return _0x206898(0xbf);}static get[_0x373a02(0xc5)](){return[_0x3853ac,_0x341aed];}static get[_0x373a02(0xc8)](){return!0x0;}static get[_0x373a02(0xc9)](){return!0x0;}}
23
+ var _0x175fea=_0x2ef7;(function(_0x418f83,_0x2f6dea){var _0x471960=_0x2ef7,_0x4a20dd=_0x418f83();while(!![]){try{var _0x74a1f4=-parseInt(_0x471960(0x193))/0x1+parseInt(_0x471960(0x192))/0x2+-parseInt(_0x471960(0x198))/0x3*(-parseInt(_0x471960(0x19e))/0x4)+parseInt(_0x471960(0x19d))/0x5+parseInt(_0x471960(0x19f))/0x6*(-parseInt(_0x471960(0x199))/0x7)+-parseInt(_0x471960(0x19b))/0x8+parseInt(_0x471960(0x195))/0x9;if(_0x74a1f4===_0x2f6dea)break;else _0x4a20dd['push'](_0x4a20dd['shift']());}catch(_0x37c523){_0x4a20dd['push'](_0x4a20dd['shift']());}}}(_0x2e3e,0x9a303));import{Plugin as _0x137fa9}from'ckeditor5/src/core.js';function _0x2ef7(_0x56cdbc,_0x486bb6){var _0x2e3e0d=_0x2e3e();return _0x2ef7=function(_0x2ef76b,_0x1bc579){_0x2ef76b=_0x2ef76b-0x192;var _0xb5b416=_0x2e3e0d[_0x2ef76b];return _0xb5b416;},_0x2ef7(_0x56cdbc,_0x486bb6);}import{UploadcareImageEditEditing as _0x554bda}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x167594}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x2e3e(){var _0x294e6d=['isPremiumPlugin','2027928MhAdBq','isOfficialPlugin','3862295alzdqP','4hRQbMo','3513030mvAJzl','179024iybHnA','228724fYzmDa','UploadcareImageEdit','6060222cGaTni','pluginName','requires','491838qruito','7aAejYu'];_0x2e3e=function(){return _0x294e6d;};return _0x2e3e();}export class UploadcareImageEdit extends _0x137fa9{static get[_0x175fea(0x196)](){var _0x58969a=_0x175fea;return _0x58969a(0x194);}static get[_0x175fea(0x197)](){return[_0x554bda,_0x167594];}static get[_0x175fea(0x19c)](){return!0x0;}static get[_0x175fea(0x19a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41b044=_0x3496;(function(_0x105f5a,_0x13cfb1){const _0x31f13f=_0x3496,_0x58a8ab=_0x105f5a();while(!![]){try{const _0x4bda93=parseInt(_0x31f13f(0x188))/0x1+-parseInt(_0x31f13f(0x182))/0x2*(-parseInt(_0x31f13f(0x17c))/0x3)+parseInt(_0x31f13f(0x196))/0x4*(-parseInt(_0x31f13f(0x1a3))/0x5)+parseInt(_0x31f13f(0x1b3))/0x6*(-parseInt(_0x31f13f(0x198))/0x7)+-parseInt(_0x31f13f(0x1c1))/0x8*(parseInt(_0x31f13f(0x19c))/0x9)+parseInt(_0x31f13f(0x183))/0xa+parseInt(_0x31f13f(0x1a8))/0xb*(parseInt(_0x31f13f(0x1a6))/0xc);if(_0x4bda93===_0x13cfb1)break;else _0x58a8ab['push'](_0x58a8ab['shift']());}catch(_0x8fa980){_0x58a8ab['push'](_0x58a8ab['shift']());}}}(_0x2a6a,0xa5d41));import{Plugin as _0x3976ba}from'ckeditor5/src/core.js';import{IconDropbox as _0x1bd238,IconFacebook as _0x207f60,IconGoogleDrive as _0x3986cf,IconGooglePhotos as _0x1663de,IconUploadcareImageUpload as _0x43fbf1,IconUploadcareLink as _0x45592d,IconOneDrive as _0x3c2adf}from'ckeditor5/src/icons.js';import{ButtonView as _0x5e7fb6,MenuBarMenuListItemButtonView as _0x13ff7e}from'ckeditor5/src/ui.js';function _0x3496(_0x5cd303,_0x9de907){const _0x2a6a5a=_0x2a6a();return _0x3496=function(_0x349672,_0x2570ad){_0x349672=_0x349672-0x179;let _0x21dad0=_0x2a6a5a[_0x349672];return _0x21dad0;},_0x3496(_0x5cd303,_0x9de907);}import{UploadcareSource as _0x19b784}from'./uploadcareconfig.js';import{getTranslation as _0x584cbb}from'./utils/common-translations.js';function _0x2a6a(){const _0x252560=['assetManager','uploadcareLicenseKeyUsageLimit','licenseKey','_getIntegrationKey','afterInit','usageLimit','registerIntegration','URL','plugins','config','expired','isEnabled','4268NIDbgY','uploadcareLicenseKeyEvaluationLimit','7537292dajXfr','url','Facebook','evaluationLimit','4769073DNenmN','uploadcare','bind','isPremiumPlugin','uploadcareLicenseKeyValid','featureNotAllowed','_licenseKeyCheckInterval','4445fZpGfH','shortText','push','2004KceQWz','Insert','123068eizjkC','_createButton','entries','upload','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','map','Dropbox','init','editor','tooltip','6AYUipJ','uploadcareLicenseKeyNotAllowed','ImageInsertUI','_createDropdownButtons','label','get','type','has','UploadcareUI','_createToolbarButton','domainLimit','text','execute','Uploadcare','8qyiDlR','isImageSelected','GDrive','commands','withText','pluginName','_createMenuBarButtons','forEach','reduce','GPhotos','Local','invalid','1584GMoOYN','OneDrive','locale','_showLicenseError','destroy','Replace','1372fUKuWu','3013030xXnqoL','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','_normalizeConfigSourceList','icon','702542HLFWYj','uploadcareLicenseKeyExpired'];_0x2a6a=function(){return _0x252560;};return _0x2a6a();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3976ba{[_0x41b044(0x18c)];[_0x41b044(0x1a2)];static get[_0x41b044(0x1c6)](){const _0x5d04ff=_0x41b044;return _0x5d04ff(0x1bb);}static get[_0x41b044(0x185)](){return!0x0;}static get[_0x41b044(0x19f)](){return!0x0;}[_0x41b044(0x1b0)](){const _0x8e7e02=_0x41b044;this[_0x8e7e02(0x18c)]=this[_0x8e7e02(0x1b1)][_0x8e7e02(0x193)][_0x8e7e02(0x1b8)](_0x8e7e02(0x18c));const _0x5dd471=this[_0x8e7e02(0x1b1)];this[_0x8e7e02(0x1a2)]=setInterval(()=>{const _0x2d8466=_0x8e7e02;let _0x45fd02;for(const _0x2c1432 in _0x5dd471){const _0x20cb72=_0x2c1432,_0x4cd92a=_0x5dd471[_0x20cb72];if(_0x2d8466(0x1a0)==_0x4cd92a||_0x2d8466(0x1ac)==_0x4cd92a||_0x2d8466(0x189)==_0x4cd92a||_0x2d8466(0x184)==_0x4cd92a||_0x2d8466(0x1b4)==_0x4cd92a||_0x2d8466(0x197)==_0x4cd92a||_0x2d8466(0x18b)==_0x4cd92a){delete _0x5dd471[_0x20cb72],_0x45fd02=_0x4cd92a,clearInterval(this[_0x2d8466(0x1a2)]),this[_0x2d8466(0x1a2)]=void 0x0;break;}}_0x2d8466(0x1ac)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x17b)),_0x2d8466(0x189)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x194)),_0x2d8466(0x184)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x1bd)),_0x2d8466(0x1b4)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x1a1),_0x2d8466(0x1c0)),_0x2d8466(0x197)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x19b)),_0x2d8466(0x18b)==_0x45fd02&&_0x5dd471[_0x2d8466(0x17f)](_0x2d8466(0x18f));},0x3e8);}[_0x41b044(0x18e)](){const _0x26a6b3=_0x41b044,{editor:_0x672971}=this,_0x5b1d9e=_0x672971[_0x26a6b3(0x1c4)][_0x26a6b3(0x1b8)](_0x26a6b3(0x19d));if(!_0x5b1d9e)return;const _0x1f7fdd=this[_0x26a6b3(0x186)](_0x672971[_0x26a6b3(0x193)][_0x26a6b3(0x1b8)](_0x26a6b3(0x1ad)))[_0x26a6b3(0x1c9)]((_0x1ca412,_0x5ab878)=>{const _0x71519c=_0x26a6b3,_0x136ab7=this[_0x71519c(0x18d)](_0x5ab878[_0x71519c(0x1b9)]);return _0x1ca412[_0x136ab7]||(_0x1ca412[_0x136ab7]=[]),_0x1ca412[_0x136ab7][_0x71519c(0x1a5)](_0x5ab878),_0x1ca412;},{});_0x672971[_0x26a6b3(0x192)][_0x26a6b3(0x1ba)](_0x26a6b3(0x1b5))&&_0x672971[_0x26a6b3(0x1c4)][_0x26a6b3(0x1b8)](_0x26a6b3(0x19d))&&Object[_0x26a6b3(0x1aa)](_0x1f7fdd)[_0x26a6b3(0x1c8)](([_0x91cb64,_0x5d6433])=>{const _0x3f6357=_0x26a6b3;_0x672971[_0x3f6357(0x192)][_0x3f6357(0x1b8)](_0x3f6357(0x1b5))[_0x3f6357(0x190)]({'name':_0x91cb64,'observable':()=>_0x5b1d9e,'buttonViewCreator':()=>this[_0x3f6357(0x1bc)](_0x5d6433),'formViewCreator':()=>this[_0x3f6357(0x1b6)](_0x5d6433),'menuBarButtonViewCreator':()=>this[_0x3f6357(0x1c7)](_0x5d6433),'override':_0x3f6357(0x18a)!==_0x91cb64});});}[_0x41b044(0x180)](){const _0x22d648=_0x41b044;super[_0x22d648(0x180)](),this[_0x22d648(0x1a2)]&&clearInterval(this[_0x22d648(0x1a2)]);}[_0x41b044(0x186)](_0x58c3cb){const _0x4a73ec=_0x41b044,{locale:_0xa58d14}=this[_0x4a73ec(0x1b1)];return _0x58c3cb[_0x4a73ec(0x1ae)](_0x591cc3=>{const _0x1574f2=_0x4a73ec,_0x3ff2be=_0x584cbb(_0xa58d14,_0x591cc3,_0x1574f2(0x1a7));switch(_0x591cc3){case _0x19b784[_0x1574f2(0x17a)]:return{'icon':_0x43fbf1,'type':_0x19b784[_0x1574f2(0x17a)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x191)]:return{'icon':_0x45592d,'type':_0x19b784[_0x1574f2(0x191)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x1af)]:return{'icon':_0x1bd238,'type':_0x19b784[_0x1574f2(0x1af)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x19a)]:return{'icon':_0x207f60,'type':_0x19b784[_0x1574f2(0x19a)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x1c3)]:return{'icon':_0x3986cf,'type':_0x19b784[_0x1574f2(0x1c3)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x179)]:return{'icon':_0x1663de,'type':_0x19b784[_0x1574f2(0x179)],..._0x3ff2be};case _0x19b784[_0x1574f2(0x17d)]:return{'icon':_0x3c2adf,'type':_0x19b784[_0x1574f2(0x17d)],..._0x3ff2be};}});}[_0x41b044(0x18d)](_0x357a39){const _0x3e6428=_0x41b044;switch(_0x357a39){case _0x19b784[_0x3e6428(0x17a)]:return _0x3e6428(0x1ab);case _0x19b784[_0x3e6428(0x191)]:return _0x3e6428(0x199);default:return _0x3e6428(0x18a);}}[_0x41b044(0x1a9)](_0x2f1b29,_0x1c4658){const _0x166586=_0x41b044,_0x108a3f=this[_0x166586(0x1b1)],_0xd747d9=new _0x2f1b29(_0x108a3f[_0x166586(0x17e)]),_0x167296=_0x108a3f[_0x166586(0x1c4)][_0x166586(0x1b8)](_0x166586(0x19d));return _0xd747d9[_0x166586(0x19e)](_0x166586(0x195))['to'](_0x167296),_0xd747d9['on'](_0x166586(0x1bf),()=>{const _0xf173ec=_0x166586;_0x167296[_0xf173ec(0x1bf)](_0x1c4658);}),_0xd747d9;}[_0x41b044(0x1bc)](_0x10d778){const _0x74cd50=_0x41b044,{locale:_0x5db69b}=this[_0x74cd50(0x1b1)],_0x39728b=this[_0x74cd50(0x1b1)][_0x74cd50(0x192)][_0x74cd50(0x1b8)](_0x74cd50(0x1b5)),_0x355136=_0x10d778[0x0],_0x297c11=this[_0x74cd50(0x1a9)](_0x5e7fb6,_0x355136[_0x74cd50(0x1b9)]);return _0x297c11[_0x74cd50(0x187)]=_0x355136[_0x74cd50(0x187)],_0x297c11[_0x74cd50(0x19e)](_0x74cd50(0x1b7))['to'](_0x39728b,_0x74cd50(0x1c2),_0x26d9be=>_0x584cbb(_0x5db69b,_0x355136[_0x74cd50(0x1b9)],_0x26d9be?_0x74cd50(0x181):_0x74cd50(0x1a7))[_0x74cd50(0x1be)]),_0x297c11[_0x74cd50(0x1b2)]=!0x0,_0x297c11;}[_0x41b044(0x1b6)](_0x4a2598){const _0x24db1a=_0x41b044,{locale:_0x53263c}=this[_0x24db1a(0x1b1)],_0x2735bd=this[_0x24db1a(0x1b1)][_0x24db1a(0x192)][_0x24db1a(0x1b8)](_0x24db1a(0x1b5));return _0x4a2598[_0x24db1a(0x1ae)](_0x18027c=>{const _0x39be55=_0x24db1a,_0x238380=this[_0x39be55(0x1a9)](_0x5e7fb6,_0x18027c[_0x39be55(0x1b9)]);return _0x238380[_0x39be55(0x1c5)]=!0x0,_0x238380[_0x39be55(0x187)]=_0x18027c[_0x39be55(0x187)],_0x238380[_0x39be55(0x19e)](_0x39be55(0x1b7))['to'](_0x2735bd,_0x39be55(0x1c2),_0x1918d1=>_0x584cbb(_0x53263c,_0x18027c[_0x39be55(0x1b9)],_0x1918d1?_0x39be55(0x181):_0x39be55(0x1a7))[_0x39be55(0x1be)]),_0x238380;});}[_0x41b044(0x1c7)](_0x4864aa){const _0x528d0e=_0x41b044;return _0x4864aa[_0x528d0e(0x1ae)](_0x3215f2=>{const _0x1ca7a6=_0x528d0e,_0x21ff63=this[_0x1ca7a6(0x1a9)](_0x13ff7e,_0x3215f2[_0x1ca7a6(0x1b9)]);return _0x21ff63[_0x1ca7a6(0x187)]=_0x3215f2[_0x1ca7a6(0x187)],_0x21ff63[_0x1ca7a6(0x1b7)]=_0x3215f2[_0x1ca7a6(0x1a4)],_0x21ff63;});}}
23
+ const _0x451394=_0x4f60;(function(_0x15390d,_0x3c2ed6){const _0x11d036=_0x4f60,_0x55e0da=_0x15390d();while(!![]){try{const _0x4a3d4b=parseInt(_0x11d036(0xae))/0x1*(-parseInt(_0x11d036(0xc3))/0x2)+-parseInt(_0x11d036(0xc8))/0x3*(-parseInt(_0x11d036(0xab))/0x4)+parseInt(_0x11d036(0xe2))/0x5+-parseInt(_0x11d036(0xd4))/0x6*(parseInt(_0x11d036(0x9f))/0x7)+-parseInt(_0x11d036(0xbe))/0x8*(parseInt(_0x11d036(0xdf))/0x9)+parseInt(_0x11d036(0xe4))/0xa+parseInt(_0x11d036(0xb0))/0xb*(parseInt(_0x11d036(0xe5))/0xc);if(_0x4a3d4b===_0x3c2ed6)break;else _0x55e0da['push'](_0x55e0da['shift']());}catch(_0x16b1ac){_0x55e0da['push'](_0x55e0da['shift']());}}}(_0x47e9,0xb3df8));function _0x4f60(_0x579b84,_0x530c03){const _0x47e967=_0x47e9();return _0x4f60=function(_0x4f6091,_0xf14e4a){_0x4f6091=_0x4f6091-0x9b;let _0xaac76a=_0x47e967[_0x4f6091];return _0xaac76a;},_0x4f60(_0x579b84,_0x530c03);}import{Plugin as _0x4e94ce}from'ckeditor5/src/core.js';function _0x47e9(){const _0x8ee9d0=['4973912keALsZ','execute','label','307citVNx','uploadcareLicenseKeyValid','1682549vqkzop','withText','_createDropdownButtons','afterInit','invalid','Insert','text','Local','assetManager','registerIntegration','isImageSelected','init','type','featureNotAllowed','719288xKElxB','Replace','Dropbox','config','upload','3086ChRZFp','licenseKey','uploadcare.uploader.sourceList','tooltip','domainLimit','3SxZEAc','map','bind','_showLicenseError','destroy','commands','locale','uploadcareLicenseKeyNotAllowed','editor','ImageInsertUI','_createToolbarButton','isEnabled','474fSOrQf','uploadcare','url','reduce','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','shortText','isOfficialPlugin','uploadcareLicenseKeyInvalid','_createButton','uploadcareLicenseKeyExpired','9MBXIfA','_normalizeConfigSourceList','has','4870050lJUGbb','isPremiumPlugin','1529240ZCNgPQ','12bijoMZ','Facebook','entries','push','forEach','uploadcareLicenseKeyEvaluationLimit','Uploadcare','expired','plugins','URL','get','108367vljFxg','evaluationLimit','OneDrive','GPhotos','uploadcareLicenseKeyDomainLimit','icon','GDrive','_createMenuBarButtons','_licenseKeyCheckInterval','UploadcareUI','usageLimit','pluginName'];_0x47e9=function(){return _0x8ee9d0;};return _0x47e9();}import{IconDropbox as _0xec85fb,IconFacebook as _0x44c269,IconGoogleDrive as _0x62cc8d,IconGooglePhotos as _0x309875,IconUploadcareImageUpload as _0x133805,IconUploadcareLink as _0x390598,IconOneDrive as _0x39d151}from'ckeditor5/src/icons.js';import{ButtonView as _0x21bfea,MenuBarMenuListItemButtonView as _0xdf9559}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1ed500}from'./uploadcareconfig.js';import{getTranslation as _0x475e32}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4e94ce{[_0x451394(0xc4)];[_0x451394(0xa7)];static get[_0x451394(0xaa)](){const _0xc1a480=_0x451394;return _0xc1a480(0xa8);}static get[_0x451394(0xdb)](){return!0x0;}static get[_0x451394(0xe3)](){return!0x0;}[_0x451394(0xbb)](){const _0x4645e9=_0x451394;this[_0x4645e9(0xc4)]=this[_0x4645e9(0xd0)][_0x4645e9(0xc1)][_0x4645e9(0x9e)](_0x4645e9(0xc4));const _0x2c2246=this[_0x4645e9(0xd0)];this[_0x4645e9(0xa7)]=setInterval(()=>{const _0x4ba5ba=_0x4645e9;let _0x4787ef;for(const _0x3bbeb9 in _0x2c2246){const _0x469eee=_0x3bbeb9,_0x2a608c=_0x2c2246[_0x469eee];if(_0x4ba5ba(0xaf)==_0x2a608c||_0x4ba5ba(0xdc)==_0x2a608c||_0x4ba5ba(0xde)==_0x2a608c||_0x4ba5ba(0xa3)==_0x2a608c||_0x4ba5ba(0xcf)==_0x2a608c||_0x4ba5ba(0xea)==_0x2a608c||_0x4ba5ba(0xd8)==_0x2a608c){delete _0x2c2246[_0x469eee],_0x4787ef=_0x2a608c,clearInterval(this[_0x4ba5ba(0xa7)]),this[_0x4ba5ba(0xa7)]=void 0x0;break;}}_0x4ba5ba(0xdc)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xb4)),_0x4ba5ba(0xde)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0x9b)),_0x4ba5ba(0xa3)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xc7)),_0x4ba5ba(0xcf)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xbd),_0x4ba5ba(0xeb)),_0x4ba5ba(0xea)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xa0)),_0x4ba5ba(0xd8)==_0x4787ef&&_0x2c2246[_0x4ba5ba(0xcb)](_0x4ba5ba(0xa9));},0x3e8);}[_0x451394(0xb3)](){const _0x4fd242=_0x451394,{editor:_0x1ab7ff}=this,_0x3abb7b=_0x1ab7ff[_0x4fd242(0xcd)][_0x4fd242(0x9e)](_0x4fd242(0xd5));if(!_0x3abb7b)return;const _0x3eabd1=this[_0x4fd242(0xe0)](_0x1ab7ff[_0x4fd242(0xc1)][_0x4fd242(0x9e)](_0x4fd242(0xc5)))[_0x4fd242(0xd7)]((_0x313bc0,_0x435d9e)=>{const _0xf62d5f=_0x4fd242,_0x428861=this[_0xf62d5f(0xd9)](_0x435d9e[_0xf62d5f(0xbc)]);return _0x313bc0[_0x428861]||(_0x313bc0[_0x428861]=[]),_0x313bc0[_0x428861][_0xf62d5f(0xe8)](_0x435d9e),_0x313bc0;},{});_0x1ab7ff[_0x4fd242(0x9c)][_0x4fd242(0xe1)](_0x4fd242(0xd1))&&_0x1ab7ff[_0x4fd242(0xcd)][_0x4fd242(0x9e)](_0x4fd242(0xd5))&&Object[_0x4fd242(0xe7)](_0x3eabd1)[_0x4fd242(0xe9)](([_0x79dbda,_0x37516a])=>{const _0x28caef=_0x4fd242;_0x1ab7ff[_0x28caef(0x9c)][_0x28caef(0x9e)](_0x28caef(0xd1))[_0x28caef(0xb9)]({'name':_0x79dbda,'observable':()=>_0x3abb7b,'buttonViewCreator':()=>this[_0x28caef(0xd2)](_0x37516a),'formViewCreator':()=>this[_0x28caef(0xb2)](_0x37516a),'menuBarButtonViewCreator':()=>this[_0x28caef(0xa6)](_0x37516a),'override':_0x28caef(0xb8)!==_0x79dbda});});}[_0x451394(0xcc)](){const _0x232313=_0x451394;super[_0x232313(0xcc)](),this[_0x232313(0xa7)]&&clearInterval(this[_0x232313(0xa7)]);}[_0x451394(0xe0)](_0x3959ed){const _0xda5e15=_0x451394,{locale:_0x34fee1}=this[_0xda5e15(0xd0)];return _0x3959ed[_0xda5e15(0xc9)](_0x34c616=>{const _0x5294dd=_0xda5e15,_0x2adb85=_0x475e32(_0x34fee1,_0x34c616,_0x5294dd(0xb5));switch(_0x34c616){case _0x1ed500[_0x5294dd(0xb7)]:return{'icon':_0x133805,'type':_0x1ed500[_0x5294dd(0xb7)],..._0x2adb85};case _0x1ed500[_0x5294dd(0x9d)]:return{'icon':_0x390598,'type':_0x1ed500[_0x5294dd(0x9d)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xc0)]:return{'icon':_0xec85fb,'type':_0x1ed500[_0x5294dd(0xc0)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xe6)]:return{'icon':_0x44c269,'type':_0x1ed500[_0x5294dd(0xe6)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xa5)]:return{'icon':_0x62cc8d,'type':_0x1ed500[_0x5294dd(0xa5)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xa2)]:return{'icon':_0x309875,'type':_0x1ed500[_0x5294dd(0xa2)],..._0x2adb85};case _0x1ed500[_0x5294dd(0xa1)]:return{'icon':_0x39d151,'type':_0x1ed500[_0x5294dd(0xa1)],..._0x2adb85};}});}[_0x451394(0xd9)](_0x2c4117){const _0x5139d1=_0x451394;switch(_0x2c4117){case _0x1ed500[_0x5139d1(0xb7)]:return _0x5139d1(0xc2);case _0x1ed500[_0x5139d1(0x9d)]:return _0x5139d1(0xd6);default:return _0x5139d1(0xb8);}}[_0x451394(0xdd)](_0x2a3a93,_0x3c32a7){const _0x113ec8=_0x451394,_0x42be6e=this[_0x113ec8(0xd0)],_0x463b37=new _0x2a3a93(_0x42be6e[_0x113ec8(0xce)]),_0x16fc80=_0x42be6e[_0x113ec8(0xcd)][_0x113ec8(0x9e)](_0x113ec8(0xd5));return _0x463b37[_0x113ec8(0xca)](_0x113ec8(0xd3))['to'](_0x16fc80),_0x463b37['on'](_0x113ec8(0xac),()=>{const _0x5a4101=_0x113ec8;_0x16fc80[_0x5a4101(0xac)](_0x3c32a7);}),_0x463b37;}[_0x451394(0xd2)](_0x5c8ff0){const _0x2270b3=_0x451394,{locale:_0x103025}=this[_0x2270b3(0xd0)],_0x41f109=this[_0x2270b3(0xd0)][_0x2270b3(0x9c)][_0x2270b3(0x9e)](_0x2270b3(0xd1)),_0x1ea746=_0x5c8ff0[0x0],_0x4e62a8=this[_0x2270b3(0xdd)](_0x21bfea,_0x1ea746[_0x2270b3(0xbc)]);return _0x4e62a8[_0x2270b3(0xa4)]=_0x1ea746[_0x2270b3(0xa4)],_0x4e62a8[_0x2270b3(0xca)](_0x2270b3(0xad))['to'](_0x41f109,_0x2270b3(0xba),_0x2a093b=>_0x475e32(_0x103025,_0x1ea746[_0x2270b3(0xbc)],_0x2a093b?_0x2270b3(0xbf):_0x2270b3(0xb5))[_0x2270b3(0xb6)]),_0x4e62a8[_0x2270b3(0xc6)]=!0x0,_0x4e62a8;}[_0x451394(0xb2)](_0x43e091){const _0x527a12=_0x451394,{locale:_0x11ac7e}=this[_0x527a12(0xd0)],_0x4ee201=this[_0x527a12(0xd0)][_0x527a12(0x9c)][_0x527a12(0x9e)](_0x527a12(0xd1));return _0x43e091[_0x527a12(0xc9)](_0x45d679=>{const _0x126a06=_0x527a12,_0x1cbe86=this[_0x126a06(0xdd)](_0x21bfea,_0x45d679[_0x126a06(0xbc)]);return _0x1cbe86[_0x126a06(0xb1)]=!0x0,_0x1cbe86[_0x126a06(0xa4)]=_0x45d679[_0x126a06(0xa4)],_0x1cbe86[_0x126a06(0xca)](_0x126a06(0xad))['to'](_0x4ee201,_0x126a06(0xba),_0x5123a3=>_0x475e32(_0x11ac7e,_0x45d679[_0x126a06(0xbc)],_0x5123a3?_0x126a06(0xbf):_0x126a06(0xb5))[_0x126a06(0xb6)]),_0x1cbe86;});}[_0x451394(0xa6)](_0x4c2278){const _0x447aec=_0x451394;return _0x4c2278[_0x447aec(0xc9)](_0x898524=>{const _0x538ca6=_0x447aec,_0x487dd0=this[_0x538ca6(0xdd)](_0xdf9559,_0x898524[_0x538ca6(0xbc)]);return _0x487dd0[_0x538ca6(0xa4)]=_0x898524[_0x538ca6(0xa4)],_0x487dd0[_0x538ca6(0xad)]=_0x898524[_0x538ca6(0xda)],_0x487dd0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x57534d}from'ckeditor5/src/core.js';import{FileRepository as _0x4e94d7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xdeae5d}from'./uploadcareediting.js';import{UploadUtils as _0x511d41}from'./utils/uploadutils.js';import{getImageUrls as _0x3731c1}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x57534d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4e94d7,_0xdeae5d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x255b4a=this['editor'];if(!!!_0x255b4a['config']['get']('uploadcare'))return;_0x255b4a['plugins']['get'](_0x4e94d7)['createUploadAdapter']=_0x155829=>new k(_0x155829,_0x255b4a),_0x255b4a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x42f35f,{imageElement:_0xda44e2,data:_0x27d109})=>{_0x255b4a['model']['change'](_0xff270=>{_0xff270['setAttribute']('uploadcareImageId',_0x27d109['uploadcareImageId'],_0xda44e2);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x102384,_0x479782){this['loader']=_0x102384,this['editor']=_0x479782,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x114112=await this['loader']['file'];return _0x511d41['upload']({'file':_0x114112,'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':_0x2ac1be=>{_0x2ac1be&&_0x2ac1be['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2ac1be['value']);}})['then'](async _0x17887b=>{const {imageFallbackUrl:_0x17a832,imageSources:_0x4c0171}=_0x3731c1(_0x17887b['cdnUrl'],_0x17887b['imageInfo']['width']);return{'uploadcareImageId':_0x17887b['uuid'],'default':_0x17a832,'sources':_0x4c0171};})['catch'](()=>{const _0x1ab01d=t('Cannot\x20upload\x20file:')+('\x20'+_0x114112['name']+'.');return Promise['reject'](_0x1ab01d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x538036}from'ckeditor5/src/core.js';import{FileRepository as _0x583b83}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3a6322}from'./uploadcareediting.js';import{UploadUtils as _0x99fef9}from'./utils/uploadutils.js';import{getImageUrls as _0x97eae5}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x538036{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x583b83,_0x3a6322];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x258837=this['editor'];if(!!!_0x258837['config']['get']('uploadcare'))return;_0x258837['plugins']['get'](_0x583b83)['createUploadAdapter']=_0x294a62=>new k(_0x294a62,_0x258837),_0x258837['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e5c12,{imageElement:_0x1a4815,data:_0x167f17})=>{_0x258837['model']['change'](_0x1fd949=>{_0x1fd949['setAttribute']('uploadcareImageId',_0x167f17['uploadcareImageId'],_0x1a4815);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x45350a,_0x304218){this['loader']=_0x45350a,this['editor']=_0x304218,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3b950e=await this['loader']['file'];return _0x99fef9['upload']({'file':_0x3b950e,'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':_0x43b1b4=>{_0x43b1b4&&_0x43b1b4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x43b1b4['value']);}})['then'](async _0x3b0f07=>{const {imageFallbackUrl:_0x19b129,imageSources:_0x9d86ce}=_0x97eae5(_0x3b0f07['cdnUrl'],_0x3b0f07['imageInfo']['width']);return{'uploadcareImageId':_0x3b0f07['uuid'],'default':_0x19b129,'sources':_0x9d86ce};})['catch'](()=>{const _0x38403a=t('Cannot\x20upload\x20file:')+('\x20'+_0x3b950e['name']+'.');return Promise['reject'](_0x38403a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x36d392}from'../uploadcareconfig.js';export function getTranslation(_0x4ea077,_0x1a664e,_0x2bb237){const t=_0x4ea077['t'],_0x3fb355=_0x4ea077['t'];switch(_0x1a664e){case _0x36d392['Local']:return{'text':_0x3fb355('Insert'===_0x2bb237?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3fb355('From\x20computer')};case _0x36d392['URL']:return{'text':'Insert'===_0x2bb237?_0x3fb355('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3fb355('Via\x20URL')};case _0x36d392['Dropbox']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x36d392['Facebook']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x36d392['GDrive']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x36d392['GPhotos']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x36d392['OneDrive']:return{'text':t('Insert'===_0x2bb237?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1a664e;}}
23
+ import{UploadcareSource as _0x422707}from'../uploadcareconfig.js';export function getTranslation(_0x186217,_0x23b47e,_0x3d41f8){const t=_0x186217['t'],_0xb8bf76=_0x186217['t'];switch(_0x23b47e){case _0x422707['Local']:return{'text':_0xb8bf76('Insert'===_0x3d41f8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb8bf76('From\x20computer')};case _0x422707['URL']:return{'text':'Insert'===_0x3d41f8?_0xb8bf76('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb8bf76('Via\x20URL')};case _0x422707['Dropbox']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x422707['Facebook']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x422707['GDrive']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x422707['GPhotos']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x422707['OneDrive']:return{'text':t('Insert'===_0x3d41f8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23b47e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x24c247=_0x1a62;function _0x1a62(_0x8ccdf7,_0x281884){var _0x2fee81=_0x2fee();return _0x1a62=function(_0x1a624f,_0x3e8400){_0x1a624f=_0x1a624f-0x124;var _0x338b67=_0x2fee81[_0x1a624f];return _0x338b67;},_0x1a62(_0x8ccdf7,_0x281884);}(function(_0xedaf88,_0x4748ed){var _0x48946e=_0x1a62,_0x8da5db=_0xedaf88();while(!![]){try{var _0x17213c=parseInt(_0x48946e(0x134))/0x1*(parseInt(_0x48946e(0x12e))/0x2)+parseInt(_0x48946e(0x127))/0x3+-parseInt(_0x48946e(0x136))/0x4*(-parseInt(_0x48946e(0x126))/0x5)+-parseInt(_0x48946e(0x129))/0x6+-parseInt(_0x48946e(0x130))/0x7+-parseInt(_0x48946e(0x128))/0x8*(parseInt(_0x48946e(0x12d))/0x9)+-parseInt(_0x48946e(0x12c))/0xa*(-parseInt(_0x48946e(0x131))/0xb);if(_0x17213c===_0x4748ed)break;else _0x8da5db['push'](_0x8da5db['shift']());}catch(_0x57e788){_0x8da5db['push'](_0x8da5db['shift']());}}}(_0x2fee,0xbdc16));import{FocusTracker as _0x21705d}from'ckeditor5/src/utils.js';import{View as _0x5cb69f,FocusCycler as _0x4dcd5c}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x2fee(){var _0x50b1dd=['7354977UCtBiE','121FhzKeX','true','forwardCycle','7xNcChS','bindTemplate','602348PCckVX','createCollection','focusTracker','fire','50ddlDHt','135996fdtFrA','322864oecTOS','2264706ExJoUO','getFocusableElement','focusCycler','840530pBFJuX','198TsANfk','176426WqhfVi','div'];_0x2fee=function(){return _0x50b1dd;};return _0x2fee();}export class DialogFocusManagerView extends _0x5cb69f{[_0x24c247(0x124)];[_0x24c247(0x12b)];constructor(_0x232af5){var _0x5cdc9d=_0x24c247;super(_0x232af5),this[_0x5cdc9d(0x124)]=new _0x21705d(),this[_0x5cdc9d(0x12b)]=new _0x4dcd5c({'focusables':this[_0x5cdc9d(0x137)](),'focusTracker':this[_0x5cdc9d(0x124)]});}[_0x24c247(0x12a)](){var _0x1a4aa4=_0x24c247;return{'tag':_0x1a4aa4(0x12f),'attributes':{'aria-hidden':_0x1a4aa4(0x132),'tabindex':'0'},'on':{'focus':this[_0x1a4aa4(0x135)]['to'](()=>{var _0x4f232f=_0x1a4aa4;this[_0x4f232f(0x12b)][_0x4f232f(0x125)](_0x4f232f(0x133));})}};}}
23
+ var _0x215727=_0x5da6;(function(_0x5e9942,_0x443dda){var _0x32005=_0x5da6,_0x4d2680=_0x5e9942();while(!![]){try{var _0x32b10e=-parseInt(_0x32005(0xce))/0x1+-parseInt(_0x32005(0xc9))/0x2+-parseInt(_0x32005(0xc5))/0x3+parseInt(_0x32005(0xc8))/0x4+parseInt(_0x32005(0xc4))/0x5+parseInt(_0x32005(0xc3))/0x6+parseInt(_0x32005(0xd0))/0x7;if(_0x32b10e===_0x443dda)break;else _0x4d2680['push'](_0x4d2680['shift']());}catch(_0x2cb40a){_0x4d2680['push'](_0x4d2680['shift']());}}}(_0x314a,0x9d017));import{FocusTracker as _0x1959d8}from'ckeditor5/src/utils.js';import{View as _0x37c473,FocusCycler as _0x5805b3}from'ckeditor5/src/ui.js';function _0x5da6(_0x382623,_0x52fc60){var _0x314aba=_0x314a();return _0x5da6=function(_0x5da67c,_0x45972e){_0x5da67c=_0x5da67c-0xc3;var _0x1696d9=_0x314aba[_0x5da67c];return _0x1696d9;},_0x5da6(_0x382623,_0x52fc60);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x37c473{[_0x215727(0xcc)];[_0x215727(0xcf)];constructor(_0x3d214c){var _0x16ca55=_0x215727;super(_0x3d214c),this[_0x16ca55(0xcc)]=new _0x1959d8(),this[_0x16ca55(0xcf)]=new _0x5805b3({'focusables':this[_0x16ca55(0xd1)](),'focusTracker':this[_0x16ca55(0xcc)]});}[_0x215727(0xcb)](){var _0x2db54b=_0x215727;return{'tag':_0x2db54b(0xd2),'attributes':{'aria-hidden':_0x2db54b(0xca),'tabindex':'0'},'on':{'focus':this[_0x2db54b(0xc7)]['to'](()=>{var _0x2f2655=_0x2db54b;this[_0x2f2655(0xcf)][_0x2f2655(0xc6)](_0x2f2655(0xcd));})}};}}function _0x314a(){var _0x586342=['true','getFocusableElement','focusTracker','forwardCycle','613760DFlAFe','focusCycler','5838154LyGoKb','createCollection','div','4818318TKDMuw','4659890yKqiCQ','3453549dBcvxY','fire','bindTemplate','3924564bkfthh','2284312SmEEkh'];_0x314a=function(){return _0x586342;};return _0x314a();}