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

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
+ function _0xb91e(_0x313717,_0x581221){const _0x7fd334=_0x7fd3();return _0xb91e=function(_0xb91e7b,_0x4b0497){_0xb91e7b=_0xb91e7b-0xc7;let _0x37f68d=_0x7fd334[_0xb91e7b];return _0x37f68d;},_0xb91e(_0x313717,_0x581221);}const _0xc10ee9=_0xb91e;(function(_0x5152a3,_0x506144){const _0x17440a=_0xb91e,_0x2e8e4b=_0x5152a3();while(!![]){try{const _0x17072c=-parseInt(_0x17440a(0xcc))/0x1+parseInt(_0x17440a(0x11a))/0x2*(-parseInt(_0x17440a(0xdb))/0x3)+parseInt(_0x17440a(0x119))/0x4*(-parseInt(_0x17440a(0xfd))/0x5)+parseInt(_0x17440a(0x105))/0x6*(-parseInt(_0x17440a(0xdf))/0x7)+-parseInt(_0x17440a(0x11b))/0x8+-parseInt(_0x17440a(0xce))/0x9+-parseInt(_0x17440a(0xf8))/0xa*(-parseInt(_0x17440a(0x114))/0xb);if(_0x17072c===_0x506144)break;else _0x2e8e4b['push'](_0x2e8e4b['shift']());}catch(_0x3663f4){_0x2e8e4b['push'](_0x2e8e4b['shift']());}}}(_0x7fd3,0xf3bd8));import{Plugin as _0x21ea32}from'ckeditor5/src/core.js';import{Dialog as _0x14a5a7}from'ckeditor5/src/ui.js';function _0x7fd3(){const _0x29ff17=['get','requires','extend','ucContextId','_initConversion','UploadcareEditing','uploadcare','document','join','true','#uc-icon-arrow-down','for','6963PHWWLp','uploadcare.pubkey','body','model','downcast','1657492JLPHFH','1926494RhmHqX','2224480SkchLx','add','iconHrefResolver','_ctxElement','insertImage','querySelector','conversion','1038759GNRhhu','isPremiumPlugin','3247443CkpDKp','schema','uc-config','contentLanguage','closeMax','uploadcareImageReplace','commands','attributeToAttribute','pluginName','getSelectedElement','_initCtx','editor','_initImageProcessingIndicator','6KwWLfV','uc-upload-ctx-provider','imageInline','uploadcare.uploader','486192VllWDc','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','destroy','isRegistered','uploadcareImageId','once','configElement','upcast','locale','_initConfig','fromCharCode','afterInit','config','selection','href','execute','editing','map','data-uc-image-id','listenTo','uploader-','isOfficialPlugin','cleanupImage','getAttribute','removeAttribute','81450nkeUGV','replaceImageSource','_configElement','imageBlock','ctxElement','5cTMRaL','render','remove','init','PictureEditing','view','elementToAttribute','_initSchema','12AtPdVq','input[uploadcare-file-input]','appendChild'];_0x7fd3=function(){return _0x29ff17;};return _0x7fd3();}import{createElement as _0x33d5d8,global as _0x47d2cb,uid as _0x35c970}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x339008}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x56d9f9}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4bbeb4}from'./utils/editingutils.js';export class UploadcareEditing extends _0x21ea32{[_0xc10ee9(0xfa)]=null;[_0xc10ee9(0xc8)]=null;static get[_0xc10ee9(0xd6)](){const _0x37c8b0=_0xc10ee9;return _0x37c8b0(0x10d);}static get[_0xc10ee9(0x109)](){const _0x12b241=_0xc10ee9;return[_0x12b241(0x101),_0x56d9f9,_0x14a5a7];}static get[_0xc10ee9(0xf4)](){return!0x0;}static get[_0xc10ee9(0xcd)](){return!0x0;}[_0xc10ee9(0x10b)];get[_0xc10ee9(0xe5)](){const _0x3548b8=_0xc10ee9;return this[_0x3548b8(0xfa)];}get[_0xc10ee9(0xfc)](){const _0x125a2e=_0xc10ee9;return this[_0x125a2e(0xc8)];}constructor(_0x3ae04c){const _0x1a6b35=_0xc10ee9;super(_0x3ae04c),this[_0x1a6b35(0x10b)]=_0x35c970();}[_0xc10ee9(0x100)](){const _0x47ec22=_0xc10ee9,_0x3ff07d=this[_0x47ec22(0xd9)];_0x3ff07d[_0x47ec22(0xd4)][_0x47ec22(0x11c)](_0x47ec22(0x10e),new _0x339008(_0x3ff07d));}[_0xc10ee9(0xea)](){const _0x480208=_0xc10ee9;this[_0x480208(0x104)](),this[_0x480208(0x10c)](),this[_0x480208(0xe8)](),this[_0x480208(0xd8)](),this[_0x480208(0xda)](),this[_0x480208(0xf2)](this[_0x480208(0xd9)],_0x480208(0xe1),()=>{const _0x2b5be3=_0x480208;this[_0x2b5be3(0xfa)]&&(this[_0x2b5be3(0xfa)][_0x2b5be3(0xff)](),this[_0x2b5be3(0xfa)]=null),this[_0x2b5be3(0xc8)]&&(this[_0x2b5be3(0xc8)][_0x2b5be3(0xff)](),this[_0x2b5be3(0xc8)]=null);const _0x4ab419=_0x47d2cb[_0x2b5be3(0x10f)][_0x2b5be3(0xca)](_0x2b5be3(0x106));_0x4ab419&&_0x4ab419[_0x2b5be3(0xff)]();}),async function(_0x2fb41a){const _0x13b009=_0x1b3896([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]),_0x511e4a=0x535f8c3a,_0x3dfff2=0x53580d6a^_0x511e4a,_0x41b2bd=window[_0x1b3896([0x44,0x61,0x74,0x65])][_0x1b3896([0x6e,0x6f,0x77])](),_0x386a2c=_0x2fb41a[_0x1b3896([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x467c6d=new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44e75f=>{_0x386a2c[_0x1b3896([0x6f,0x6e,0x63,0x65])](_0x1b3896([0x72,0x65,0x61,0x64,0x79]),_0x44e75f);}),_0x15ac43={[_0x1b3896([0x6b,0x74,0x79])]:_0x1b3896([0x45,0x43]),[_0x1b3896([0x75,0x73,0x65])]:_0x1b3896([0x73,0x69,0x67]),[_0x1b3896([0x63,0x72,0x76])]:_0x1b3896([0x50,0x2d,0x32,0x35,0x36]),[_0x1b3896([0x78])]:_0x1b3896([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]),[_0x1b3896([0x79])]:_0x1b3896([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]),[_0x1b3896([0x61,0x6c,0x67])]:_0x1b3896([0x45,0x53,0x32,0x35,0x36])},_0x5f540d=_0x386a2c[_0x1b3896([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b3896([0x67,0x65,0x74])](_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x532281(){let _0x31b467,_0x55a680=null,_0x1dcd77=null;try{if(_0x5f540d==_0x1b3896([0x47,0x50,0x4c]))return _0x1b3896([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31b467=_0x4438c2(),!_0x31b467)return _0x1b3896([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31b467[_0x1b3896([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1dcd77=_0x3883f2(_0x31b467[_0x1b3896([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31b467[_0x1b3896([0x6a,0x74,0x69])])),await _0x4a1774()?_0x449b1f()?_0x303330()?_0x1b3896([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e6e20()?(_0x31b467[_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b3896([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55a680=_0x17d5a5(_0x1b3896([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52f9bb()):_0x1b3896([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3896([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b3896([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b3896([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x303330(){const _0x55faec=[_0x1b3896([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b3896([0x74,0x72,0x69,0x61,0x6c])][_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31b467[_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b2bd/0x3e8:0xe10*_0x3dfff2;return _0x31b467[_0x1b3896([0x65,0x78,0x70])]<_0x55faec;}function _0x449b1f(){const _0x12f7e7=_0x31b467[_0x1b3896([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12f7e7&&(!!_0x12f7e7[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3896([0x2a]))||!!_0x12f7e7[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3896([0x55,0x50,0x4c,0x43])));}function _0x4e6e20(){const _0x4ff8b7=_0xb91e,_0x180ae4=_0x31b467[_0x1b3896([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x180ae4||0x0==_0x180ae4[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x405818}=new URL(window[_0x1b3896([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ff8b7(0xed)]);if(_0x180ae4[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405818))return!0x0;const _0x451cb1=_0x405818[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e]));return _0x180ae4[_0x1b3896([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x227555=>_0x227555[_0x1b3896([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3896([0x2a])))[_0x1b3896([0x6d,0x61,0x70])](_0x1da106=>_0x1da106[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e])))[_0x1b3896([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fa726=>_0x4fa726[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x451cb1[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3896([0x6d,0x61,0x70])](_0x1a83c6=>Array(_0x451cb1[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a83c6[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3896([0x66,0x69,0x6c,0x6c])](_0x1a83c6[0x0]===_0x1b3896([0x2a])?_0x1b3896([0x2a]):'')[_0x1b3896([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a83c6))[_0x1b3896([0x73,0x6f,0x6d,0x65])](_0x483ffa=>_0x451cb1[_0x1b3896([0x65,0x76,0x65,0x72,0x79])]((_0x122ff9,_0xca79e7)=>_0x483ffa[_0xca79e7]===_0x122ff9||_0x483ffa[_0xca79e7]===_0x1b3896([0x2a])));}function _0x52f9bb(){return _0x55a680&&_0x1dcd77?new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2873f7,_0x5618c7)=>{_0x55a680[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x2873f7,_0x5618c7),_0x1dcd77[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x1f0c33=>{_0x1f0c33!=_0x1b3896([0x56,0x61,0x6c,0x69,0x64])&&_0x2873f7(_0x1f0c33);},_0x5618c7);}):_0x55a680||_0x1dcd77||_0x1b3896([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3883f2(_0x5589b8,_0x328e28){return new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x565bb0=>{if(_0x5d4c00())return _0x565bb0(_0x1b3896([0x56,0x61,0x6c,0x69,0x64]));_0x24f14d(),_0x386a2c[_0x1b3896([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b3896([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b8ca4=!0x1;const _0x2ef2df=_0x35c970();function _0x12f8a9(_0x1ddad7){return!!_0x1ddad7&&(typeof _0x1ddad7===_0x1b3896([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ddad7===_0x1b3896([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ddad7[_0x1b3896([0x74,0x68,0x65,0x6e])]===_0x1b3896([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ddad7[_0x1b3896([0x63,0x61,0x74,0x63,0x68])]===_0x1b3896([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8911a5(_0x3897bd){_0x2be55c(_0x3897bd)[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x2b2bc5=>{if(!_0x2b2bc5||_0x2b2bc5[_0x1b3896([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b3896([0x6f,0x6b]))return _0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f808d(_0x5e6d82(_0x2ef2df+_0x328e28))!=_0x2b2bc5[_0x1b3896([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3896([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x425d83=>(_0x238d10(),_0x425d83),()=>{const _0x53f9b0=_0x3693c0();return null==_0x53f9b0?(_0x238d10(),_0x1b3896([0x56,0x61,0x6c,0x69,0x64])):_0x1b3896(_0x41b2bd-_0x53f9b0>(0x7753083a^_0x511e4a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x565bb0)[_0x1b3896([0x63,0x61,0x74,0x63,0x68])](()=>{_0x565bb0(_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36f85d=0x536962ba^_0x511e4a;function _0x238d10(){const _0x379906=_0x1b3896([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f808d(_0x5e6d82(_0x5589b8)),_0x1d759a=_0x2e739f(_0x4f808d(window[_0x1b3896([0x4d,0x61,0x74,0x68])][_0x1b3896([0x63,0x65,0x69,0x6c])](_0x41b2bd/_0x36f85d)));window[_0x1b3896([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3896([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x379906,_0x1d759a);}function _0x3693c0(){const _0xc79131=_0x1b3896([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f808d(_0x5e6d82(_0x5589b8)),_0x557851=window[_0x1b3896([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3896([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc79131);return _0x557851?window[_0x1b3896([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e739f(_0x557851),0x10)*_0x36f85d:null;}function _0x2be55c(_0x22f8a5){return new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c0fa4,_0x1dc047)=>{_0x22f8a5[_0x1b3896([0x74,0x68,0x65,0x6e])](_0x1c0fa4,_0x1dc047),window[_0x1b3896([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1dc047,0x535e58fa^_0x511e4a);});}}_0x386a2c[_0x1b3896([0x6f,0x6e])](_0x1b3896([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x414187,_0x3edd67)=>{if(_0x3edd67[0x0]!=_0x5589b8)return _0x565bb0(_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3edd67[0x1]={..._0x3edd67[0x1],[_0x1b3896([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ef2df};},{[_0x1b3896([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3896([0x68,0x69,0x67,0x68])}),_0x386a2c[_0x1b3896([0x6f,0x6e])](_0x1b3896([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x278581=>{_0x12f8a9(_0x278581[_0x1b3896([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b8ca4=!0x0,_0x8911a5(_0x278581[_0x1b3896([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b3896([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3896([0x6c,0x6f,0x77])}),_0x467c6d[_0x1b3896([0x74,0x68,0x65,0x6e])](()=>{_0x4b8ca4||_0x565bb0(_0x1b3896([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d4c00(){return _0x386a2c[_0x1b3896([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3896([0x76,0x69,0x65,0x77])][_0x1b3896([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b3896([0x61,0x75,0x74,0x6f]);}function _0x24f14d(){_0x386a2c[_0x1b3896([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3896([0x76,0x69,0x65,0x77])][_0x1b3896([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b3896([0x61,0x75,0x74,0x6f]);}}function _0x17d5a5(_0x31e064){const _0x5352b2=[new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29fc7d=>setTimeout(_0x29fc7d,0x5356b2f6^_0x511e4a)),_0x467c6d[_0x1b3896([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c3af0=>{let _0x3906ac=0x0;_0x386a2c[_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3896([0x6f,0x6e])](_0x1b3896([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148005,_0x2b9fbd)=>{_0x2b9fbd[0x0][_0x1b3896([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3906ac++,_0x3906ac==(0x535f89d2^_0x511e4a)&&(_0x4c3af0(),_0x148005[_0x1b3896([0x6f,0x66,0x66])]());});}))];return window[_0x1b3896([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b3896([0x72,0x61,0x63,0x65])](_0x5352b2)[_0x1b3896([0x74,0x68,0x65,0x6e])](()=>_0x31e064);}async function _0x2b9e7a(){await _0x467c6d,_0x386a2c[_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3896([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f7e5d,_0x386a2c[_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3896([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f7e5d,_0x386a2c[_0x1b3896([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b3896([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x407f70(_0x3fb2ed){const _0x125631=_0x172e95();_0x386a2c[_0x125631]=_0x1b3896([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3fb2ed,_0x3fb2ed!=_0x1b3896([0x56,0x61,0x6c,0x69,0x64])&&_0x2b9e7a();}function _0x172e95(){const _0x2f2340=window[_0x1b3896([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b3896([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b3896([0x6e,0x6f,0x77])]())[_0x1b3896([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b3896([0x2e]),'');let _0x1d2064=_0x1b3896([0x68]);for(let _0x4c44bd=0x0;_0x4c44bd<_0x2f2340[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c44bd+=0x2){let _0x50b7f9=window[_0x1b3896([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f2340[_0x1b3896([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c44bd,_0x4c44bd+0x2));_0x50b7f9>=_0x13b009[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50b7f9-=_0x13b009[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d2064+=_0x13b009[_0x50b7f9];}return _0x1d2064;}function _0x4438c2(){const _0x482e3e=_0x5f540d[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e]));if(0x3!=_0x482e3e[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2628ea(_0x482e3e[0x1]);function _0x2628ea(_0x3dbad8){const _0x80ce5a=_0x5ae1eb(_0x3dbad8);return _0x80ce5a&&_0x34f8ac()?_0x80ce5a:null;function _0x34f8ac(){const _0x19acd8=_0x80ce5a[_0x1b3896([0x6a,0x74,0x69])],_0x538733=window[_0x1b3896([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19acd8[_0x1b3896([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19acd8[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4537c8={..._0x80ce5a,[_0x1b3896([0x6a,0x74,0x69])]:_0x19acd8[_0x1b3896([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x19acd8[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4537c8[_0x1b3896([0x76,0x63])],_0x5e6d82(_0x4537c8)==_0x538733;}}}async function _0x4a1774(){let _0x55bdbd=!0x0;try{const _0x3da3fd=_0x5f540d[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])](_0x1b3896([0x2e])),[_0x33686c,_0xaab79a,_0x4f6919]=_0x3da3fd;return _0x429227(_0x33686c),await _0x32a526(_0x33686c,_0xaab79a,_0x4f6919),_0x55bdbd;}catch{return!0x1;}function _0x429227(_0x3d7686){const _0x1d6bb2=_0x5ae1eb(_0x3d7686);_0x1d6bb2&&_0x1d6bb2[_0x1b3896([0x61,0x6c,0x67])]==_0x1b3896([0x45,0x53,0x32,0x35,0x36])||(_0x55bdbd=!0x1);}async function _0x32a526(_0x2d8bb3,_0x458766,_0x1970fa){const _0x536eb2=window[_0x1b3896([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b3896([0x66,0x72,0x6f,0x6d])](_0x49adac(_0x1970fa),_0x45fd60=>_0x45fd60[_0x1b3896([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f71c5=new window[(_0x1b3896([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b3896([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d8bb3+_0x1b3896([0x2e])+_0x458766),_0xf5b5f2=window[_0x1b3896([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b3896([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf5b5f2)return;const _0xec519f=await _0xf5b5f2[_0x1b3896([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b3896([0x6a,0x77,0x6b]),_0x15ac43,{[_0x1b3896([0x6e,0x61,0x6d,0x65])]:_0x1b3896([0x45,0x43,0x44,0x53,0x41]),[_0x1b3896([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b3896([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b3896([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf5b5f2[_0x1b3896([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b3896([0x6e,0x61,0x6d,0x65])]:_0x1b3896([0x45,0x43,0x44,0x53,0x41]),[_0x1b3896([0x68,0x61,0x73,0x68])]:{[_0x1b3896([0x6e,0x61,0x6d,0x65])]:_0x1b3896([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec519f,_0x536eb2,_0x2f71c5)||(_0x55bdbd=!0x1);}}function _0x5ae1eb(_0x51e482){return _0x51e482[_0x1b3896([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b3896([0x65,0x79]))?JSON[_0x1b3896([0x70,0x61,0x72,0x73,0x65])](_0x49adac(_0x51e482)):null;}function _0x49adac(_0x275cd2){return window[_0x1b3896([0x61,0x74,0x6f,0x62])](_0x275cd2[_0x1b3896([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b3896([0x2b]))[_0x1b3896([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b3896([0x2f])));}function _0x5e6d82(_0x503398){let _0x48ca78=0x1505;function _0x538ec5(_0x5ee446){for(let _0x40c2e0=0x0;_0x40c2e0<_0x5ee446[_0x1b3896([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40c2e0++){const _0x5f380d=_0x5ee446[_0x1b3896([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40c2e0);_0x48ca78=(_0x48ca78<<0x5)+_0x48ca78+_0x5f380d,_0x48ca78&=_0x48ca78;}}function _0x17a287(_0x2c819a){Array[_0x1b3896([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c819a)?_0x2c819a[_0x1b3896([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17a287):_0x2c819a&&typeof _0x2c819a==_0x1b3896([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b3896([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c819a)[_0x1b3896([0x73,0x6f,0x72,0x74])]()[_0x1b3896([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd28302,_0x1aee79])=>{_0x538ec5(_0xd28302),_0x17a287(_0x1aee79);}):_0x538ec5(window[_0x1b3896([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c819a));}return _0x17a287(_0x503398),_0x48ca78>>>0x0;}function _0x4f808d(_0x2cf45b){return _0x2cf45b[_0x1b3896([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b3896([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b3896([0x30]));}function _0x2e739f(_0x2dbf19){return _0x2dbf19[_0x1b3896([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b3896([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b3896([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f7e5d(){}function _0x1b3896(_0xcb1623){const _0xee2928=_0xb91e;return _0xcb1623[_0xee2928(0xf0)](_0x1eacb5=>String[_0xee2928(0xe9)](_0x1eacb5))[_0xee2928(0x110)]('');}_0x407f70(await _0x532281());}(this);}[_0xc10ee9(0x104)](){const _0x2937e4=_0xc10ee9,_0x1332df=this[_0x2937e4(0xd9)][_0x2937e4(0x117)][_0x2937e4(0xcf)];_0x1332df[_0x2937e4(0xe2)](_0x2937e4(0xfb))&&_0x1332df[_0x2937e4(0x10a)](_0x2937e4(0xfb),{'allowAttributes':[_0x2937e4(0xe3)]}),_0x1332df[_0x2937e4(0xe2)](_0x2937e4(0xdd))&&_0x1332df[_0x2937e4(0x10a)](_0x2937e4(0xdd),{'allowAttributes':[_0x2937e4(0xe3)]});}[_0xc10ee9(0x10c)](){const _0xff9c6=_0xc10ee9,_0x3acebc=this[_0xff9c6(0xd9)];_0x3acebc[_0xff9c6(0xcb)][_0xff9c6(0x113)](_0xff9c6(0x118))[_0xff9c6(0xd5)]({'model':_0xff9c6(0xe3),'view':_0xff9c6(0xf1)}),_0x3acebc[_0xff9c6(0xcb)][_0xff9c6(0x113)](_0xff9c6(0xe6))[_0xff9c6(0x103)]({'model':{'key':_0xff9c6(0xe3),'value':_0x4ba4f7=>_0x4ba4f7[_0xff9c6(0xf6)](_0xff9c6(0xf1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5496c1=_0x3acebc[_0xff9c6(0xd4)][_0xff9c6(0x108)](_0xff9c6(0xf9));_0x5496c1&&this[_0xff9c6(0xf2)](_0x5496c1,_0xff9c6(0xf5),(_0x4f5729,[_0x96afdc,_0x9f1005])=>{const _0x14d983=_0xff9c6;_0x96afdc[_0x14d983(0xf7)](_0x14d983(0xe3),_0x9f1005);});}[_0xc10ee9(0xe8)](){const _0x2620b8=_0xc10ee9,_0x9270cd=this[_0x2620b8(0xd9)][_0x2620b8(0xeb)][_0x2620b8(0x108)](_0x2620b8(0xde))||{},_0x1ce8ed=this[_0x2620b8(0xd9)][_0x2620b8(0xeb)][_0x2620b8(0x108)](_0x2620b8(0x115))||'';this[_0x2620b8(0xfa)]=_0x33d5d8(_0x47d2cb[_0x2620b8(0x10f)],_0x2620b8(0xd0),{..._0x9270cd,'pubkey':_0x1ce8ed,'ctx-name':_0x2620b8(0xf3)+this[_0x2620b8(0x10b)],'sourceList':'','imgOnly':_0x2620b8(0x111),'removeCopyright':_0x2620b8(0x111),'localeName':this[_0x2620b8(0xd9)][_0x2620b8(0xe7)][_0x2620b8(0xd1)],'externalSourcesEmbedCss':_0x2620b8(0xe0)}),this[_0x2620b8(0xfa)][_0x2620b8(0xc7)]=_0x4dcb5a=>{const _0x4cc28d=_0x2620b8;if(_0x4cc28d(0xd2)==_0x4dcb5a)return _0x4cc28d(0x112);},_0x47d2cb[_0x2620b8(0x10f)][_0x2620b8(0x116)][_0x2620b8(0x107)](this[_0x2620b8(0xfa)]);}[_0xc10ee9(0xd8)](){const _0x4fb0f8=_0xc10ee9;this[_0x4fb0f8(0xc8)]=_0x33d5d8(_0x47d2cb[_0x4fb0f8(0x10f)],_0x4fb0f8(0xdc),{'ctx-name':_0x4fb0f8(0xf3)+this[_0x4fb0f8(0x10b)]}),_0x47d2cb[_0x4fb0f8(0x10f)][_0x4fb0f8(0x116)][_0x4fb0f8(0x107)](this[_0x4fb0f8(0xc8)]);}[_0xc10ee9(0xda)](){const _0x2c087a=_0xc10ee9,_0x2d65b0=this[_0x2c087a(0xd9)][_0x2c087a(0xd4)][_0x2c087a(0x108)](_0x2c087a(0xc9));_0x2d65b0&&this[_0x2c087a(0xf2)](_0x2d65b0,_0x2c087a(0xee),()=>{const _0x391a60=_0x2c087a,_0x1aac8a=this[_0x391a60(0xd9)][_0x391a60(0x117)][_0x391a60(0x10f)][_0x391a60(0xec)][_0x391a60(0xd7)]();_0x1aac8a&&_0x1aac8a[_0x391a60(0xf6)](_0x391a60(0xe3))&&this[_0x391a60(0xd9)][_0x391a60(0xef)][_0x391a60(0x102)][_0x391a60(0xe4)](_0x391a60(0xfe),()=>{const _0x2a189e=_0x391a60;_0x4bbeb4(this[_0x2a189e(0xd9)],_0x1aac8a);});});const _0xf4bce8=this[_0x2c087a(0xd9)][_0x2c087a(0xd4)][_0x2c087a(0x108)](_0x2c087a(0xd3));_0xf4bce8&&this[_0x2c087a(0xf2)](_0xf4bce8,_0x2c087a(0xee),()=>{const _0x3664eb=_0x2c087a,_0x123a34=this[_0x3664eb(0xd9)][_0x3664eb(0x117)][_0x3664eb(0x10f)][_0x3664eb(0xec)][_0x3664eb(0xd7)]();_0x123a34&&_0x123a34[_0x3664eb(0xf6)](_0x3664eb(0xe3))&&this[_0x3664eb(0xd9)][_0x3664eb(0xef)][_0x3664eb(0x102)][_0x3664eb(0xe4)](_0x3664eb(0xfe),()=>{const _0x2259cd=_0x3664eb;_0x4bbeb4(this[_0x2259cd(0xd9)],_0x123a34);});});}}
@@ -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 _0x30e82d,ObservableMixin as _0x34f315}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x497b84}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x468faa}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1732e1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2125ce}from'../../utils/uploadutils.js';import{getImageUrls as _0x1cce76,getImageDimension as _0x383261}from'../../utils/editingutils.js';import{isAncestor as _0x46ae9d}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x34f315(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4df512,_0x170364,_0x2cff0c){super(),this['_editor']=_0x4df512,this['_dialog']=_0x170364,this['_imageElement']=_0x2cff0c,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 _0x5bbcfb=this['_imageElement'],_0x6107db=_0x5bbcfb['getAttribute']('uploadcareImageId'),_0x1ca961=_0x5bbcfb['getAttribute']('src');if(_0x6107db)await this['_loadImageInfo'](_0x6107db,_0x1ca961);else{if(this['_imageCache']['has'](_0x1ca961)){const _0x4bb995=this['_imageCache']['get'](_0x1ca961);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb995['url'],this['imageDimension']=_0x4bb995['dimension'],this['imageId']=_0x4bb995['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5a1efc}=this['_editor'],t=_0x5a1efc['t'],_0x14a79a=new _0x1732e1(_0x5a1efc,this['imageStatus'],this['_attributes']);_0x14a79a['bind']('status')['to'](this,'imageStatus'),_0x14a79a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x14a79a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x14a79a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x14a79a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x468faa,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x14a79a,'position':_0x497b84['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x14a79a['focus']();},'onHide':()=>{_0x14a79a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x15db2a=>!_0x46ae9d(_0x15db2a,_0x14a79a['element'])}});}['_loadImageInfo'](_0x359f4f,_0x29b6){return _0x2125ce['getInfo'](_0x359f4f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3cc37c=>{const {width:_0x158718,height:_0x334ce4}=_0x3cc37c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29b6,this['imageDimension']={'width':_0x158718,'height':_0x334ce4},this['imageId']=_0x359f4f;})['catch'](_0x39e2e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x39e2e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5bab05,_0x52a935){return this['_getImageAsFile'](_0x5bab05)['then'](_0x557148=>_0x2125ce['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':_0x52a935['signal'],'file':_0x557148,'onProgress':_0x3b6c92=>{_0x3b6c92&&_0x3b6c92['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b6c92['value']));}}))['then'](_0x461729=>{const {width:_0x25bed5,height:_0x45bff1}=_0x461729['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x461729['cdnUrl'],this['imageDimension']={'width':_0x25bed5,'height':_0x45bff1},this['imageId']=_0x461729['uuid'],this['imageUploadProgress']=null;const _0x37226a=_0x5bab05['getAttribute']('src');this['_imageCache']['set'](_0x37226a,{'id':_0x461729['uuid'],'url':_0x461729['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xaf022f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xaf022f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x357e1b,_0x37748a){_0x357e1b['on']('apply',(_0x1b8d65,_0x330367)=>{this['_replaceImage'](_0x37748a,_0x330367['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x357e1b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x357e1b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x507a00,_0x1cd96f,_0x4862f6){const _0x2a2625=this['_editor'],{width:_0x222056,height:_0x1017b8}=_0x383261(_0x1cd96f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x340bbd,imageSources:_0x1680dd}=_0x1cce76(_0x1cd96f,_0x222056);_0x2a2625['model']['change'](_0xdd0fd7=>{if('$graveyard'===_0x507a00['root']['rootName']){_0x2a2625['execute']('insertImage',{'imageType':_0x507a00['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x507a00['getAttributes']()),'uploadcareImageId':_0x4862f6,'src':_0x340bbd,'sources':_0x1680dd,'width':_0x222056,'height':_0x1017b8}});const _0x277d5c=_0x507a00['getChildren']();_0x507a00=_0x2a2625['model']['document']['selection']['getSelectedElement']();for(const _0x1a3f43 of _0x277d5c)_0xdd0fd7['append'](_0xdd0fd7['cloneElement'](_0x1a3f43),_0x507a00);}else _0xdd0fd7['setSelection'](_0x507a00,'on'),_0x2a2625['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x507a00['getAttributes']()),'uploadcareImageId':_0x4862f6,'src':_0x340bbd,'sources':_0x1680dd,'width':_0x222056,'height':_0x1017b8},_0x507a00);_0xdd0fd7['setSelection'](_0x507a00,'on');});}async['_getImageAsFile'](_0x129dcd){const _0x4695ea=_0x30e82d['window'],_0x21392c=_0x30e82d['document']['location']['href'],_0xffb345=new _0x4695ea['URL'](_0x129dcd['getAttribute']('src'),_0x21392c);if('data:'===_0xffb345['protocol']){const _0x421d13=_0xffb345['href']['split'](','),_0x483061=_0x421d13[0x0]['match'](/:(.*?);/)[0x1],_0x45bd48=_0x483061['split']('/')[0x1],_0x5e2e93=_0x4695ea['atob'](_0x421d13[_0x421d13['length']-0x1]);let _0x1cef59=_0x5e2e93['length'];const _0x54a2fb=new _0x4695ea['Uint8Array'](_0x1cef59);for(;_0x1cef59--;)_0x54a2fb[_0x1cef59]=_0x5e2e93['charCodeAt'](_0x1cef59);return new _0x4695ea['File']([_0x54a2fb],'image.'+_0x45bd48,{'type':_0x483061});}const _0x68fd48=_0xffb345['href']['split']('/'),_0x453563=_0x68fd48[_0x68fd48['length']-0x1],_0x540356=_0x453563['split']('.')[0x1];return _0x4695ea['fetch'](_0xffb345['href'])['then'](_0x21b55c=>_0x21b55c['clone']()['blob']())['then'](_0x216465=>new _0x4695ea['File']([_0x216465],_0x453563,{'type':'image/'+_0x540356}));}}
@@ -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 _0x5473(_0x276f53,_0x124803){const _0x346fec=_0x346f();return _0x5473=function(_0x547318,_0x1d76c3){_0x547318=_0x547318-0x198;let _0x2ebe75=_0x346fec[_0x547318];return _0x2ebe75;},_0x5473(_0x276f53,_0x124803);}(function(_0x163e3a,_0x5072c2){const _0x4dd88f=_0x5473,_0x4c8f70=_0x163e3a();while(!![]){try{const _0x45e592=parseInt(_0x4dd88f(0x1a4))/0x1+-parseInt(_0x4dd88f(0x1a7))/0x2+parseInt(_0x4dd88f(0x1a5))/0x3+-parseInt(_0x4dd88f(0x19e))/0x4*(parseInt(_0x4dd88f(0x1a8))/0x5)+-parseInt(_0x4dd88f(0x1a9))/0x6*(parseInt(_0x4dd88f(0x1a2))/0x7)+-parseInt(_0x4dd88f(0x198))/0x8*(parseInt(_0x4dd88f(0x1a1))/0x9)+parseInt(_0x4dd88f(0x199))/0xa;if(_0x45e592===_0x5072c2)break;else _0x4c8f70['push'](_0x4c8f70['shift']());}catch(_0x519f17){_0x4c8f70['push'](_0x4c8f70['shift']());}}}(_0x346f,0x44361));import{View as _0x3a6bf3}from'ckeditor5/src/ui.js';function _0x346f(){const _0x151b89=['27LrqwOQ','7OAWGfr','imageSrc','422519NVeNMX','917457dOpmBl','image-edit','916608XqXKCh','83165wxLMaN','1546548pjBauG','1138808lSPOlu','8771330ezZpea','uc-cloud-image-editor','ck-uploadcare-theme','set','setTemplate','44GetzLg','uc-light','bindTemplate'];_0x346f=function(){return _0x151b89;};return _0x346f();}export class UploadcareImageEditFormEditingView extends _0x3a6bf3{constructor(_0x14883b,_0x7e0529){const _0x560203=_0x5473;super(_0x14883b);const _0xf552c0=this[_0x560203(0x1a0)];this[_0x560203(0x19c)](_0x560203(0x1a3),''),this[_0x560203(0x19d)]({'tag':_0x560203(0x19a),'attributes':{..._0x7e0529,'class':[_0x560203(0x19f),_0x560203(0x19b)],'ctx-name':_0x560203(0x1a6),'cdn-url':_0xf552c0['to'](_0x560203(0x1a3))}});}}
@@ -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 _0x2179bc}from'ckeditor5/src/icons.js';import{ButtonView as _0x3b679a,IconView as _0x3081e3,View as _0x4fa078}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4fa078{constructor(_0x483d72){super(_0x483d72);const t=_0x483d72['t'];this['set']('errorType',null);const _0x31d576=new _0x3b679a(_0x483d72);_0x31d576['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x31d576['withText']=!0x0,_0x31d576['class']='ck-button-action',_0x31d576['on']('execute',()=>{this['fire']('retry');}),_0x31d576['bind']('isVisible')['to'](this,'errorType',_0x15492e=>'NotFound'!==_0x15492e);const _0x3cc7f2=new _0x3081e3();_0x3cc7f2['content']=_0x2179bc,_0x3cc7f2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x30a485=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':[_0x3cc7f2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x30a485['to']('errorType',_0x356456=>t('NotFound'!==_0x356456?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x31d576]},{'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 _0xeb1469,View as _0x123a6d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x123a6d{constructor(_0x4bd28e){super(_0x4bd28e);const t=_0x4bd28e['t'],_0x135b8f=this['bindTemplate'],_0x5dc2a6=new _0xeb1469();_0x5dc2a6['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':[_0x5dc2a6,{'text':_0x135b8f['to']('imageUploadProgress',_0xc0388d=>t('Loading\x20image...')+'\x20('+(_0xc0388d||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 _0x2db1bc=_0x588f;(function(_0x4705f8,_0x2eac21){const _0x11b763=_0x588f,_0x5295d9=_0x4705f8();while(!![]){try{const _0x1aaafb=parseInt(_0x11b763(0x116))/0x1*(-parseInt(_0x11b763(0x119))/0x2)+-parseInt(_0x11b763(0xec))/0x3+parseInt(_0x11b763(0xf7))/0x4*(parseInt(_0x11b763(0x102))/0x5)+parseInt(_0x11b763(0xfe))/0x6*(parseInt(_0x11b763(0x11d))/0x7)+-parseInt(_0x11b763(0x10f))/0x8*(parseInt(_0x11b763(0xff))/0x9)+parseInt(_0x11b763(0x11c))/0xa*(parseInt(_0x11b763(0xfc))/0xb)+-parseInt(_0x11b763(0xee))/0xc*(-parseInt(_0x11b763(0x11b))/0xd);if(_0x1aaafb===_0x2eac21)break;else _0x5295d9['push'](_0x5295d9['shift']());}catch(_0x3ae772){_0x5295d9['push'](_0x5295d9['shift']());}}}(_0x208c,0xc588c));function _0x208c(){const _0x4f677c=['once','filter','_setView','nodeName','ck-uploadcare-form','addMany','92936zkTbka','clear','ck-reset_all-excluded','observe','element','focus','_addUploadcareImageEditorListeners','211472WIXukJ','div','status','8nCaTul','uploading','741hqYneq','4280MoHuHD','4293933jDHNKy','cancel','_items','_errorView','_editingView','set','_waitForImageEditorComponent','error','retry','4767789pfBkoC','change:status','233724vOvsxM','createCollection','target','addEventListener','disconnect','toLowerCase','ready','getFocusableElement','_addErrorViewListeners','1146932Rqijcr','cdnUrl','setTemplate','length','fire','14047JUbjWe','render','12FrxaoC','387POAFvb','uc-cloud-image-editor','addedNodes','15HkNcTb','apply','_focusableView','querySelector','add','_loadingView','detail'];_0x208c=function(){return _0x4f677c;};return _0x208c();}function _0x588f(_0x4034ee,_0x3d72d1){const _0x208ca1=_0x208c();return _0x588f=function(_0x588faa,_0x19f5b6){_0x588faa=_0x588faa-0xec;let _0x2e482f=_0x208ca1[_0x588faa];return _0x2e482f;},_0x588f(_0x4034ee,_0x3d72d1);}import{View as _0x42cb38}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2d5873}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x355c4e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x231775}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x47a303}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x47a303{[_0x2db1bc(0x11f)];[_0x2db1bc(0x107)];[_0x2db1bc(0x120)];[_0x2db1bc(0x121)];[_0x2db1bc(0x104)];constructor(_0x5a6b30,_0x1082e4,_0x4c9eb0){const _0xaf441c=_0x2db1bc;super(_0x5a6b30),this[_0xaf441c(0x11f)]=this[_0xaf441c(0xef)](),this[_0xaf441c(0x107)]=new _0x2d5873(_0x5a6b30),this[_0xaf441c(0x120)]=new _0x355c4e(_0x5a6b30),this[_0xaf441c(0x121)]=new _0x231775(_0x5a6b30,_0x4c9eb0),this[_0xaf441c(0x104)]=new _0x42cb38(_0x5a6b30),this[_0xaf441c(0x104)][_0xaf441c(0xf9)](this[_0xaf441c(0xf5)]()),this[_0xaf441c(0x122)](_0xaf441c(0x118),_0x1082e4),this[_0xaf441c(0xf9)]({'tag':_0xaf441c(0x117),'attributes':{'class':['ck',_0xaf441c(0x111),_0xaf441c(0x10d)],'tabindex':'-1'},'children':this[_0xaf441c(0x11f)]}),this[_0xaf441c(0x10b)](),this[_0xaf441c(0x109)](_0xaf441c(0xfd),()=>{const _0x2ae76a=_0xaf441c;this[_0x2ae76a(0x123)](this[_0x2ae76a(0x113)],_0x41250a=>{const _0x259758=_0x2ae76a;this[_0x259758(0x115)](_0x41250a);});}),this['on'](_0xaf441c(0xed),()=>{const _0x3e57b2=_0xaf441c;this[_0x3e57b2(0x10b)]();}),this[_0xaf441c(0xf6)]();}[_0x2db1bc(0x114)](){const _0x525db4=_0x2db1bc;this[_0x525db4(0x113)][_0x525db4(0x114)]();}[_0x2db1bc(0x10b)](){const _0x979354=_0x2db1bc;switch(this[_0x979354(0x11f)][_0x979354(0x110)](),this[_0x979354(0x118)]){case _0x979354(0x11a):this[_0x979354(0x11f)][_0x979354(0x106)](this[_0x979354(0x107)]);break;case _0x979354(0x124):this[_0x979354(0x11f)][_0x979354(0x106)](this[_0x979354(0x120)]);break;case _0x979354(0xf4):this[_0x979354(0x11f)][_0x979354(0x10e)]([this[_0x979354(0x121)],this[_0x979354(0x104)]]);}}[_0x2db1bc(0x123)](_0x5f4bab,_0x1a2757){const _0x30bc45=_0x2db1bc,_0x59f876=_0x30bc45(0x100),_0x2a2f4c=_0x5f4bab[_0x30bc45(0x105)](_0x59f876);if(_0x2a2f4c)return _0x1a2757(_0x2a2f4c);const _0x3db156=new MutationObserver(_0x3c6f35=>{const _0x48959b=_0x30bc45,_0xbd3128=_0x3c6f35[_0x48959b(0x10a)](_0xe2987e=>_0xe2987e[_0x48959b(0xf0)]===_0x5f4bab&&_0xe2987e[_0x48959b(0x101)][_0x48959b(0xfa)]>0x0&&_0xe2987e[_0x48959b(0x101)][0x0][_0x48959b(0x10c)][_0x48959b(0xf3)]()===_0x59f876);_0xbd3128[_0x48959b(0xfa)]&&(_0x3db156[_0x48959b(0xf2)](),_0x1a2757(_0xbd3128[0x0][_0x48959b(0x101)][0x0]));});_0x3db156[_0x30bc45(0x112)](_0x5f4bab,{'childList':!0x0,'subtree':!0x0});}[_0x2db1bc(0x115)](_0x24bb8c){const _0x4f4909=_0x2db1bc;_0x24bb8c[_0x4f4909(0xf1)](_0x4f4909(0x103),_0x16f776=>{const _0x2422de=_0x4f4909;this[_0x2422de(0xfb)](_0x2422de(0x103),{'imageSrc':_0x16f776[_0x2422de(0x108)][_0x2422de(0xf8)]});}),_0x24bb8c[_0x4f4909(0xf1)](_0x4f4909(0x11e),()=>{const _0x3eac51=_0x4f4909;this[_0x3eac51(0xfb)](_0x3eac51(0x11e));});}[_0x2db1bc(0xf6)](){const _0x672c73=_0x2db1bc;this[_0x672c73(0x120)]['on'](_0x672c73(0x125),()=>{const _0x132a4c=_0x672c73;this[_0x132a4c(0xfb)](_0x132a4c(0x125));});}}
@@ -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 _0x38190a=_0x5143;function _0xe71c(){const _0x22383e=['isActive','config','execute','refresh','8904510iVvoSN','310bDoYcY','plugins','35775awalEz','get','404QvKMcF','_isEditable','document','1199547cOUTHP','selection','imageEditController','10253EzMaJW','uploadcare.allowExternalImagesEditing','96YecTfW','imageBlock','editor','getSelectedElement','imageInline','set','unbind','3276522JRlSNd','element','bind','5453IIvxwN','isEnabled','4404rLNCGD','model','1702701bHGwiu','requires'];_0xe71c=function(){return _0x22383e;};return _0xe71c();}(function(_0x5cd9f1,_0x54e0f6){const _0x38178e=_0x5143,_0x1e2c58=_0x5cd9f1();while(!![]){try{const _0x3a36b8=parseInt(_0x38178e(0x100))/0x1*(-parseInt(_0x38178e(0x117))/0x2)+parseInt(_0x38178e(0x109))/0x3+parseInt(_0x38178e(0xfa))/0x4*(-parseInt(_0x38178e(0xf8))/0x5)+parseInt(_0x38178e(0x10e))/0x6*(-parseInt(_0x38178e(0x10c))/0x7)+-parseInt(_0x38178e(0x102))/0x8*(-parseInt(_0x38178e(0xfd))/0x9)+parseInt(_0x38178e(0x116))/0xa+parseInt(_0x38178e(0x110))/0xb;if(_0x3a36b8===_0x54e0f6)break;else _0x1e2c58['push'](_0x1e2c58['shift']());}catch(_0x4a16c0){_0x1e2c58['push'](_0x1e2c58['shift']());}}}(_0xe71c,0xd04a4));import{Command as _0x2f0c67}from'ckeditor5/src/core.js';import{Dialog as _0x55c190}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5d5b64}from'./ui/uploadcareimageeditcontroller.js';function _0x5143(_0x57b8c8,_0x1e0104){const _0xe71cbd=_0xe71c();return _0x5143=function(_0x514327,_0x21331e){_0x514327=_0x514327-0xf7;let _0x5ddf81=_0xe71cbd[_0x514327];return _0x5ddf81;},_0x5143(_0x57b8c8,_0x1e0104);}import{createEditabilityChecker as _0x4deb45}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2f0c67{[_0x38190a(0xff)];static get[_0x38190a(0x111)](){return[_0x55c190];}[_0x38190a(0xfb)];constructor(_0x5f2569){const _0x20a663=_0x38190a;super(_0x5f2569),this[_0x20a663(0xff)]=void 0x0,this[_0x20a663(0xfb)]=_0x4deb45(_0x5f2569[_0x20a663(0x113)][_0x20a663(0xf9)](_0x20a663(0x101))||[]),this[_0x20a663(0x107)]({'isActive':!0x1});}[_0x38190a(0x115)](){const _0x2c4632=_0x38190a,_0x5b169d=this[_0x2c4632(0x104)][_0x2c4632(0x10f)][_0x2c4632(0xfc)][_0x2c4632(0xfe)][_0x2c4632(0x105)]();this[_0x2c4632(0x10d)]=this[_0x2c4632(0xfb)](_0x5b169d);}[_0x38190a(0x114)](){const _0x57306b=_0x38190a;this[_0x57306b(0xff)]&&(this[_0x57306b(0x108)](_0x57306b(0x112)),this[_0x57306b(0xff)]=void 0x0);const _0x11f0d8=this[_0x57306b(0x104)][_0x57306b(0x10f)][_0x57306b(0xfc)][_0x57306b(0xfe)][_0x57306b(0x105)]();_0x11f0d8&&(_0x11f0d8['is'](_0x57306b(0x10a),_0x57306b(0x103))||_0x11f0d8['is'](_0x57306b(0x10a),_0x57306b(0x106)))&&(this[_0x57306b(0xff)]=new _0x5d5b64(this[_0x57306b(0x104)],this[_0x57306b(0x104)][_0x57306b(0xf7)][_0x57306b(0xf9)](_0x55c190),_0x11f0d8),this[_0x57306b(0x10b)](_0x57306b(0x112))['to'](this[_0x57306b(0xff)],_0x57306b(0x112)));}}
@@ -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
+ function _0x7420(){const _0x2ce46a=['isPremiumPlugin','requires','isOfficialPlugin','commands','pluginName','373005gOKODL','ImageUtils','36wIdUUq','12qSyNbT','4531300PAZbKI','2DJqZmC','uploadcareImageEdit','ImageEditing','347594aImQWl','3415872IOWkGr','add','UploadcareImageEditEditing','2255991eDduVH','6337996hUScdK','uploadcareImageReplace','init','257192IvhIXR'];_0x7420=function(){return _0x2ce46a;};return _0x7420();}const _0x1864fd=_0x4ab7;(function(_0x5611f8,_0x46796f){const _0x5503cc=_0x4ab7,_0x1f4337=_0x5611f8();while(!![]){try{const _0x379ce2=-parseInt(_0x5503cc(0x1b1))/0x1+-parseInt(_0x5503cc(0x1c4))/0x2*(parseInt(_0x5503cc(0x1b5))/0x3)+parseInt(_0x5503cc(0x1c2))/0x4*(-parseInt(_0x5503cc(0x1bf))/0x5)+parseInt(_0x5503cc(0x1b2))/0x6+parseInt(_0x5503cc(0x1b6))/0x7+parseInt(_0x5503cc(0x1b9))/0x8*(-parseInt(_0x5503cc(0x1c1))/0x9)+parseInt(_0x5503cc(0x1c3))/0xa;if(_0x379ce2===_0x46796f)break;else _0x1f4337['push'](_0x1f4337['shift']());}catch(_0x190372){_0x1f4337['push'](_0x1f4337['shift']());}}}(_0x7420,0x742e8));function _0x4ab7(_0xe85f63,_0x41b49a){const _0x7420d4=_0x7420();return _0x4ab7=function(_0x4ab7a6,_0x471684){_0x4ab7a6=_0x4ab7a6-0x1b0;let _0x5d1f2f=_0x7420d4[_0x4ab7a6];return _0x5d1f2f;},_0x4ab7(_0xe85f63,_0x41b49a);}import{Plugin as _0x4c662d}from'ckeditor5/src/core.js';import{Notification as _0x3836f8}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x49a5b8}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2a1f60}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3b8b39}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c662d{static get[_0x1864fd(0x1be)](){const _0x360073=_0x1864fd;return _0x360073(0x1b4);}static get[_0x1864fd(0x1bb)](){const _0x4ee3cd=_0x1864fd;return[_0x3b8b39,_0x3836f8,_0x4ee3cd(0x1c0),_0x4ee3cd(0x1b0)];}static get[_0x1864fd(0x1bc)](){return!0x0;}static get[_0x1864fd(0x1ba)](){return!0x0;}[_0x1864fd(0x1b8)](){const _0x1b93cd=_0x1864fd,{editor:_0x58a3a6}=this;_0x58a3a6[_0x1b93cd(0x1bd)][_0x1b93cd(0x1b3)](_0x1b93cd(0x1c5),new _0x49a5b8(_0x58a3a6)),_0x58a3a6[_0x1b93cd(0x1bd)][_0x1b93cd(0x1b3)](_0x1b93cd(0x1b7),new _0x2a1f60(_0x58a3a6));}}
@@ -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 _0x320df1}from'ckeditor5/src/core.js';import{ButtonView as _0x32611a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x350e75}from'ckeditor5/src/icons.js';import{createElement as _0x5b7a25}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 _0x320df1{['_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 _0xec21fc=this['editor'];_0xec21fc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1706d0=>{const _0x1f7a51=_0xec21fc['commands']['get']('uploadcareImageEdit'),_0x43cc85=new _0x32611a(_0x1706d0),t=_0x1706d0['t'];return _0x43cc85['set']({'icon':_0x350e75,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x43cc85['bind']('isEnabled')['to'](_0x1f7a51),_0x43cc85['bind']('isOn')['to'](_0x1f7a51,'isActive'),this['listenTo'](_0x43cc85,'execute',()=>{_0xec21fc['execute']('uploadcareImageEdit'),_0xec21fc['editing']['view']['focus']();}),_0x43cc85;}),this['_initConfig']();}['_initConfig'](){const _0x116ebb=_0x5b7a25(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x116ebb),this['listenTo'](this['editor'],'destroy',()=>{_0x116ebb['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 _0x52aefd=_0x228c;(function(_0x520a89,_0x708016){var _0x2ae203=_0x228c,_0x45214a=_0x520a89();while(!![]){try{var _0x8b5611=parseInt(_0x2ae203(0xe2))/0x1*(-parseInt(_0x2ae203(0xf2))/0x2)+parseInt(_0x2ae203(0xf3))/0x3*(-parseInt(_0x2ae203(0xee))/0x4)+parseInt(_0x2ae203(0xe8))/0x5*(-parseInt(_0x2ae203(0xe5))/0x6)+-parseInt(_0x2ae203(0xed))/0x7+parseInt(_0x2ae203(0xea))/0x8+parseInt(_0x2ae203(0xf1))/0x9+parseInt(_0x2ae203(0xeb))/0xa;if(_0x8b5611===_0x708016)break;else _0x45214a['push'](_0x45214a['shift']());}catch(_0x135306){_0x45214a['push'](_0x45214a['shift']());}}}(_0x3a32,0x93e57));import{FocusTracker as _0x20e4c7}from'ckeditor5/src/utils.js';function _0x3a32(){var _0x25c2e6=['createCollection','fire','4754286xNYsRS','16gRvEOV','1731ltruOU','true','84848eabcUb','forwardCycle','bindTemplate','229092eTqrcI','getFocusableElement','focusTracker','75KEglrY','div','6302744qXMcSJ','20491820ZRQGJm','focusCycler','7768964VRmXPr','2760mivvXt'];_0x3a32=function(){return _0x25c2e6;};return _0x3a32();}function _0x228c(_0x10f28d,_0x777ffb){var _0x3a322e=_0x3a32();return _0x228c=function(_0x228c31,_0x4e7ea9){_0x228c31=_0x228c31-0xe2;var _0x7ed612=_0x3a322e[_0x228c31];return _0x7ed612;},_0x228c(_0x10f28d,_0x777ffb);}import{View as _0x59f1ce,FocusCycler as _0x2d87de}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x59f1ce{[_0x52aefd(0xe7)];[_0x52aefd(0xec)];constructor(_0x35f022){var _0x1e6d5b=_0x52aefd;super(_0x35f022),this[_0x1e6d5b(0xe7)]=new _0x20e4c7(),this[_0x1e6d5b(0xec)]=new _0x2d87de({'focusables':this[_0x1e6d5b(0xef)](),'focusTracker':this[_0x1e6d5b(0xe7)]});}[_0x52aefd(0xe6)](){var _0x540768=_0x52aefd;return{'tag':_0x540768(0xe9),'attributes':{'aria-hidden':_0x540768(0xf4),'tabindex':'0'},'on':{'focus':this[_0x540768(0xe4)]['to'](()=>{var _0x41704e=_0x540768;this[_0x41704e(0xec)][_0x41704e(0xf0)](_0x41704e(0xe3));})}};}}