@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251030.0 → 0.0.0-nightly-20251031.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x10a20a=_0x1a06;(function(_0x2e767c,_0x613369){const _0x3e7ae2=_0x1a06,_0x1d3cc1=_0x2e767c();while(!![]){try{const _0x14e744=parseInt(_0x3e7ae2(0x86))/0x1*(parseInt(_0x3e7ae2(0xb0))/0x2)+-parseInt(_0x3e7ae2(0x96))/0x3+-parseInt(_0x3e7ae2(0xa5))/0x4*(-parseInt(_0x3e7ae2(0x81))/0x5)+-parseInt(_0x3e7ae2(0x91))/0x6+-parseInt(_0x3e7ae2(0xc0))/0x7+-parseInt(_0x3e7ae2(0xa4))/0x8*(parseInt(_0x3e7ae2(0x7c))/0x9)+-parseInt(_0x3e7ae2(0x90))/0xa*(-parseInt(_0x3e7ae2(0x7f))/0xb);if(_0x14e744===_0x613369)break;else _0x1d3cc1['push'](_0x1d3cc1['shift']());}catch(_0x1e977d){_0x1d3cc1['push'](_0x1d3cc1['shift']());}}}(_0x2720,0xd2867));import{Plugin as _0x2357f2}from'ckeditor5/src/core.js';import{Dialog as _0x2a20fe}from'ckeditor5/src/ui.js';import{createElement as _0x53af2c,global as _0x255f78,uid as _0x90b579}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x529c5f}from'./uploadcarecommand.js';function _0x1a06(_0x383c6a,_0x190461){const _0x2720e8=_0x2720();return _0x1a06=function(_0x1a06cc,_0x296901){_0x1a06cc=_0x1a06cc-0x74;let _0xfc1d6d=_0x2720e8[_0x1a06cc];return _0xfc1d6d;},_0x1a06(_0x383c6a,_0x190461);}function _0x2720(){const _0x1ed765=['_ctxElement','downcast','config','get','afterInit','fromCharCode','uploader-','add','uploadcare','isRegistered','isOfficialPlugin','insertImage','_initSchema','1704WRobqL','4tIanGR','true','editor','for','uc-config','editing','imageBlock','input[uploadcare-file-input]','_initCtx','isPremiumPlugin','once','45454jAJwpz','getSelectedElement','body','destroy','conversion','contentLanguage','extend','pluginName','commands','data-uc-image-id','_initConversion','_configElement','document','iconHrefResolver','imageInline','elementToAttribute','1789718UUrchI','cleanupImage','attributeToAttribute','execute','view','closeMax','render','configElement','listenTo','upcast','uc-upload-ctx-provider','model','ucContextId','querySelector','remove','_initConfig','join','schema','30159qytwEg','map','init','8701iNWPdK','locale','616380sUbRXa','selection','requires','uploadcare.pubkey','appendChild','31EYnKTo','getAttribute','UploadcareEditing','\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','uploadcareImageReplace','replaceImageSource','#uc-icon-arrow-down','ctxElement','uploadcareImageId','PictureEditing','22150uTsgwT','4434468kfFFVS','removeAttribute','href','uploadcare.uploader','_initImageProcessingIndicator','27156SaMrLY'];_0x2720=function(){return _0x1ed765;};return _0x2720();}import{UploadcareUploadAdapter as _0x83fac2}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x233a2e}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2357f2{[_0x10a20a(0xbb)]=null;[_0x10a20a(0x97)]=null;static get[_0x10a20a(0xb7)](){const _0x14efa1=_0x10a20a;return _0x14efa1(0x88);}static get[_0x10a20a(0x83)](){const _0x427be7=_0x10a20a;return[_0x427be7(0x8f),_0x83fac2,_0x2a20fe];}static get[_0x10a20a(0xa1)](){return!0x0;}static get[_0x10a20a(0xae)](){return!0x0;}[_0x10a20a(0x76)];get[_0x10a20a(0xc7)](){const _0xbfae8=_0x10a20a;return this[_0xbfae8(0xbb)];}get[_0x10a20a(0x8d)](){const _0x454b7e=_0x10a20a;return this[_0x454b7e(0x97)];}constructor(_0x154960){const _0x48c41a=_0x10a20a;super(_0x154960),this[_0x48c41a(0x76)]=_0x90b579();}[_0x10a20a(0x7e)](){const _0x384d9e=_0x10a20a,_0xdfe811=this[_0x384d9e(0xa7)];_0xdfe811[_0x384d9e(0xb8)][_0x384d9e(0x9e)](_0x384d9e(0x9f),new _0x529c5f(_0xdfe811));}[_0x10a20a(0x9b)](){const _0x2928cd=_0x10a20a;this[_0x2928cd(0xa3)](),this[_0x2928cd(0xba)](),this[_0x2928cd(0x79)](),this[_0x2928cd(0xad)](),this[_0x2928cd(0x95)](),this[_0x2928cd(0xc8)](this[_0x2928cd(0xa7)],_0x2928cd(0xb3),()=>{const _0x46e5d5=_0x2928cd;this[_0x46e5d5(0xbb)]&&(this[_0x46e5d5(0xbb)][_0x46e5d5(0x78)](),this[_0x46e5d5(0xbb)]=null),this[_0x46e5d5(0x97)]&&(this[_0x46e5d5(0x97)][_0x46e5d5(0x78)](),this[_0x46e5d5(0x97)]=null);const _0xf5044b=_0x255f78[_0x46e5d5(0xbc)][_0x46e5d5(0x77)](_0x46e5d5(0xac));_0xf5044b&&_0xf5044b[_0x46e5d5(0x78)]();}),async function(_0x59cfd6){const _0x28046f=_0x2059bf([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]),_0x5acb88=0x535f8c3a,_0x5bf009=0x5358fb92^_0x5acb88,_0x4cb68e=window[_0x2059bf([0x44,0x61,0x74,0x65])][_0x2059bf([0x6e,0x6f,0x77])](),_0x10c175=_0x59cfd6[_0x2059bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb044fe=new window[(_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46d7bc=>{_0x10c175[_0x2059bf([0x6f,0x6e,0x63,0x65])](_0x2059bf([0x72,0x65,0x61,0x64,0x79]),_0x46d7bc);}),_0x5bc22f={[_0x2059bf([0x6b,0x74,0x79])]:_0x2059bf([0x45,0x43]),[_0x2059bf([0x75,0x73,0x65])]:_0x2059bf([0x73,0x69,0x67]),[_0x2059bf([0x63,0x72,0x76])]:_0x2059bf([0x50,0x2d,0x32,0x35,0x36]),[_0x2059bf([0x78])]:_0x2059bf([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]),[_0x2059bf([0x79])]:_0x2059bf([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]),[_0x2059bf([0x61,0x6c,0x67])]:_0x2059bf([0x45,0x53,0x32,0x35,0x36])},_0x53df22=_0x10c175[_0x2059bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2059bf([0x67,0x65,0x74])](_0x2059bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x473892(){let _0x53dacf,_0x5a1118=null,_0x4fda35=null;try{if(_0x53df22==_0x2059bf([0x47,0x50,0x4c]))return _0x2059bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53dacf=_0x32cacd(),!_0x53dacf)return _0x2059bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53dacf[_0x2059bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fda35=_0x4f5d2a(_0x53dacf[_0x2059bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53dacf[_0x2059bf([0x6a,0x74,0x69])])),await _0x1436a0()?_0x3ede9a()?_0x3239e3()?_0x2059bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbff507()?(_0x53dacf[_0x2059bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2059bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a1118=_0x5c90fc(_0x2059bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53dacf[_0x2059bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2059bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a1118=_0x5c90fc(_0x2059bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21227c()):_0x2059bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2059bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2059bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2059bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3239e3(){const _0x373014=[_0x2059bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2059bf([0x74,0x72,0x69,0x61,0x6c])][_0x2059bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53dacf[_0x2059bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cb68e/0x3e8:0xe10*_0x5bf009;return _0x53dacf[_0x2059bf([0x65,0x78,0x70])]<_0x373014;}function _0x3ede9a(){const _0x2f2cb8=_0x53dacf[_0x2059bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f2cb8&&(!!_0x2f2cb8[_0x2059bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2059bf([0x2a]))||!!_0x2f2cb8[_0x2059bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2059bf([0x55,0x50,0x4c,0x43])));}function _0xbff507(){const _0x4657e4=_0x1a06,_0x459e69=_0x53dacf[_0x2059bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x459e69||0x0==_0x459e69[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x142078}=new URL(window[_0x2059bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4657e4(0x93)]);if(_0x459e69[_0x2059bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x142078))return!0x0;const _0x1ec478=_0x142078[_0x2059bf([0x73,0x70,0x6c,0x69,0x74])](_0x2059bf([0x2e]));return _0x459e69[_0x2059bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ec8e1=>_0x4ec8e1[_0x2059bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2059bf([0x2a])))[_0x2059bf([0x6d,0x61,0x70])](_0x3beb50=>_0x3beb50[_0x2059bf([0x73,0x70,0x6c,0x69,0x74])](_0x2059bf([0x2e])))[_0x2059bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ea52a=>_0x3ea52a[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ec478[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2059bf([0x6d,0x61,0x70])](_0x4ba802=>Array(_0x1ec478[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ba802[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2059bf([0x66,0x69,0x6c,0x6c])](_0x4ba802[0x0]===_0x2059bf([0x2a])?_0x2059bf([0x2a]):'')[_0x2059bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ba802))[_0x2059bf([0x73,0x6f,0x6d,0x65])](_0x540095=>_0x1ec478[_0x2059bf([0x65,0x76,0x65,0x72,0x79])]((_0x209dbd,_0x439ac5)=>_0x540095[_0x439ac5]===_0x209dbd||_0x540095[_0x439ac5]===_0x2059bf([0x2a])));}function _0x21227c(){return _0x5a1118&&_0x4fda35?new window[(_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56246d,_0x322026)=>{_0x5a1118[_0x2059bf([0x74,0x68,0x65,0x6e])](_0x56246d,_0x322026),_0x4fda35[_0x2059bf([0x74,0x68,0x65,0x6e])](_0x5838f2=>{_0x5838f2!=_0x2059bf([0x56,0x61,0x6c,0x69,0x64])&&_0x56246d(_0x5838f2);},_0x322026);}):_0x5a1118||_0x4fda35||_0x2059bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f5d2a(_0x430aaf,_0x2dd11e){return new window[(_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5970d3=>{if(_0x3f5881())return _0x5970d3(_0x2059bf([0x56,0x61,0x6c,0x69,0x64]));_0x2be779(),_0x10c175[_0x2059bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2059bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bf39=!0x1;const _0x16ec73=_0x90b579();function _0x15890d(_0x4e6738){return!!_0x4e6738&&(typeof _0x4e6738===_0x2059bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e6738===_0x2059bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e6738[_0x2059bf([0x74,0x68,0x65,0x6e])]===_0x2059bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e6738[_0x2059bf([0x63,0x61,0x74,0x63,0x68])]===_0x2059bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe3ce36(_0x3d6e06){_0x363efc(_0x3d6e06)[_0x2059bf([0x74,0x68,0x65,0x6e])](_0x2ef142=>{if(!_0x2ef142||_0x2ef142[_0x2059bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2059bf([0x6f,0x6b]))return _0x2059bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cb9f5(_0x3ffc3f(_0x16ec73+_0x2dd11e))!=_0x2ef142[_0x2059bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2059bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2059bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x2059bf([0x74,0x68,0x65,0x6e])](_0x470ab1=>(_0x2aa578(),_0x470ab1),()=>{const _0x5ec4a6=_0x2199fa();return null==_0x5ec4a6?(_0x2aa578(),_0x2059bf([0x56,0x61,0x6c,0x69,0x64])):_0x2059bf(_0x4cb68e-_0x5ec4a6>(0x7753083a^_0x5acb88)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2059bf([0x74,0x68,0x65,0x6e])](_0x5970d3)[_0x2059bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5970d3(_0x2059bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33791f=0x536962ba^_0x5acb88;function _0x2aa578(){const _0x547e9a=_0x2059bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cb9f5(_0x3ffc3f(_0x430aaf)),_0x4b0756=_0x846819(_0x5cb9f5(window[_0x2059bf([0x4d,0x61,0x74,0x68])][_0x2059bf([0x63,0x65,0x69,0x6c])](_0x4cb68e/_0x33791f)));window[_0x2059bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2059bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x547e9a,_0x4b0756);}function _0x2199fa(){const _0x3a8ab3=_0x2059bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cb9f5(_0x3ffc3f(_0x430aaf)),_0x45f661=window[_0x2059bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2059bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a8ab3);return _0x45f661?window[_0x2059bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x846819(_0x45f661),0x10)*_0x33791f:null;}function _0x363efc(_0x4c2143){return new window[(_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18aa03,_0x28aa61)=>{_0x4c2143[_0x2059bf([0x74,0x68,0x65,0x6e])](_0x18aa03,_0x28aa61),window[_0x2059bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28aa61,0x535e58fa^_0x5acb88);});}}_0x10c175[_0x2059bf([0x6f,0x6e])](_0x2059bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x249af4,_0x4574f3)=>{if(_0x4574f3[0x0]!=_0x430aaf)return _0x5970d3(_0x2059bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4574f3[0x1]={..._0x4574f3[0x1],[_0x2059bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16ec73};},{[_0x2059bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2059bf([0x68,0x69,0x67,0x68])}),_0x10c175[_0x2059bf([0x6f,0x6e])](_0x2059bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58b13f=>{_0x15890d(_0x58b13f[_0x2059bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bf39=!0x0,_0xe3ce36(_0x58b13f[_0x2059bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2059bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2059bf([0x6c,0x6f,0x77])}),_0xb044fe[_0x2059bf([0x74,0x68,0x65,0x6e])](()=>{_0x4bf39||_0x5970d3(_0x2059bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f5881(){return _0x10c175[_0x2059bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2059bf([0x76,0x69,0x65,0x77])][_0x2059bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2059bf([0x61,0x75,0x74,0x6f]);}function _0x2be779(){_0x10c175[_0x2059bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2059bf([0x76,0x69,0x65,0x77])][_0x2059bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2059bf([0x61,0x75,0x74,0x6f]);}}function _0x5c90fc(_0x518996){const _0x18ec61=[new window[(_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bde66=>setTimeout(_0x2bde66,0x5356b2f6^_0x5acb88)),_0xb044fe[_0x2059bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12526d=>{let _0x51ef3f=0x0;_0x10c175[_0x2059bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2059bf([0x6f,0x6e])](_0x2059bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x214125,_0x54f3ce)=>{_0x54f3ce[0x0][_0x2059bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51ef3f++,_0x51ef3f==(0x535f8dc2^_0x5acb88)&&(_0x12526d(),_0x214125[_0x2059bf([0x6f,0x66,0x66])]());});}))];return window[_0x2059bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2059bf([0x72,0x61,0x63,0x65])](_0x18ec61)[_0x2059bf([0x74,0x68,0x65,0x6e])](()=>_0x518996);}async function _0x519381(){await _0xb044fe,_0x10c175[_0x2059bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2059bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23ac54,_0x10c175[_0x2059bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2059bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23ac54,_0x10c175[_0x2059bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2059bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x79bc8e(_0x5af7b4){const _0x408f5e=_0xba49b8();_0x10c175[_0x408f5e]=_0x2059bf([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5af7b4,_0x5af7b4!=_0x2059bf([0x56,0x61,0x6c,0x69,0x64])&&_0x519381();}function _0xba49b8(){const _0x1ea1da=window[_0x2059bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2059bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2059bf([0x6e,0x6f,0x77])]())[_0x2059bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2059bf([0x2e]),'');let _0x1130cf=_0x2059bf([0x68]);for(let _0x2f7d5e=0x0;_0x2f7d5e<_0x1ea1da[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f7d5e+=0x2){let _0xd4f3bd=window[_0x2059bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ea1da[_0x2059bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f7d5e,_0x2f7d5e+0x2));_0xd4f3bd>=_0x28046f[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd4f3bd-=_0x28046f[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1130cf+=_0x28046f[_0xd4f3bd];}return _0x1130cf;}function _0x32cacd(){const _0x28ccfa=_0x53df22[_0x2059bf([0x73,0x70,0x6c,0x69,0x74])](_0x2059bf([0x2e]));if(0x3!=_0x28ccfa[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ee697(_0x28ccfa[0x1]);function _0x5ee697(_0x420f71){const _0x58b28a=_0x528bed(_0x420f71);return _0x58b28a&&_0x4caa9d()?_0x58b28a:null;function _0x4caa9d(){const _0x1e4d1a=_0x58b28a[_0x2059bf([0x6a,0x74,0x69])],_0x1e5e83=window[_0x2059bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e4d1a[_0x2059bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e4d1a[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f2890={..._0x58b28a,[_0x2059bf([0x6a,0x74,0x69])]:_0x1e4d1a[_0x2059bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e4d1a[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f2890[_0x2059bf([0x76,0x63])],_0x3ffc3f(_0x2f2890)==_0x1e5e83;}}}async function _0x1436a0(){let _0x50bcca=!0x0;try{const _0x590313=_0x53df22[_0x2059bf([0x73,0x70,0x6c,0x69,0x74])](_0x2059bf([0x2e])),[_0x5e821e,_0x558058,_0x307842]=_0x590313;return _0x50520f(_0x5e821e),await _0x16de38(_0x5e821e,_0x558058,_0x307842),_0x50bcca;}catch{return!0x1;}function _0x50520f(_0x4642ed){const _0x5eb8f0=_0x528bed(_0x4642ed);_0x5eb8f0&&_0x5eb8f0[_0x2059bf([0x61,0x6c,0x67])]==_0x2059bf([0x45,0x53,0x32,0x35,0x36])||(_0x50bcca=!0x1);}async function _0x16de38(_0x495770,_0x1dc078,_0x19e149){const _0x89b0e=window[_0x2059bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2059bf([0x66,0x72,0x6f,0x6d])](_0x5eb954(_0x19e149),_0x6f75f4=>_0x6f75f4[_0x2059bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e445d=new window[(_0x2059bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2059bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x495770+_0x2059bf([0x2e])+_0x1dc078),_0x2371f3=window[_0x2059bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2059bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2371f3)return;const _0x35acb4=await _0x2371f3[_0x2059bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2059bf([0x6a,0x77,0x6b]),_0x5bc22f,{[_0x2059bf([0x6e,0x61,0x6d,0x65])]:_0x2059bf([0x45,0x43,0x44,0x53,0x41]),[_0x2059bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2059bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2059bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2371f3[_0x2059bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2059bf([0x6e,0x61,0x6d,0x65])]:_0x2059bf([0x45,0x43,0x44,0x53,0x41]),[_0x2059bf([0x68,0x61,0x73,0x68])]:{[_0x2059bf([0x6e,0x61,0x6d,0x65])]:_0x2059bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35acb4,_0x89b0e,_0x1e445d)||(_0x50bcca=!0x1);}}function _0x528bed(_0x20bc0f){return _0x20bc0f[_0x2059bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2059bf([0x65,0x79]))?JSON[_0x2059bf([0x70,0x61,0x72,0x73,0x65])](_0x5eb954(_0x20bc0f)):null;}function _0x5eb954(_0x79073b){return window[_0x2059bf([0x61,0x74,0x6f,0x62])](_0x79073b[_0x2059bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2059bf([0x2b]))[_0x2059bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2059bf([0x2f])));}function _0x3ffc3f(_0x2e3713){let _0x2e9d9d=0x1505;function _0x536f33(_0x4c560d){for(let _0x24cdf2=0x0;_0x24cdf2<_0x4c560d[_0x2059bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24cdf2++){const _0x1888b5=_0x4c560d[_0x2059bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24cdf2);_0x2e9d9d=(_0x2e9d9d<<0x5)+_0x2e9d9d+_0x1888b5,_0x2e9d9d&=_0x2e9d9d;}}function _0x142ca3(_0x4cea1e){Array[_0x2059bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cea1e)?_0x4cea1e[_0x2059bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x142ca3):_0x4cea1e&&typeof _0x4cea1e==_0x2059bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2059bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cea1e)[_0x2059bf([0x73,0x6f,0x72,0x74])]()[_0x2059bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17b560,_0x85c868])=>{_0x536f33(_0x17b560),_0x142ca3(_0x85c868);}):_0x536f33(window[_0x2059bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cea1e));}return _0x142ca3(_0x2e3713),_0x2e9d9d>>>0x0;}function _0x5cb9f5(_0x37638a){return _0x37638a[_0x2059bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2059bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2059bf([0x30]));}function _0x846819(_0x4e491f){return _0x4e491f[_0x2059bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2059bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2059bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x23ac54(){}function _0x2059bf(_0x212780){const _0x11948d=_0x1a06;return _0x212780[_0x11948d(0x7d)](_0x4a4313=>String[_0x11948d(0x9c)](_0x4a4313))[_0x11948d(0x7a)]('');}_0x79bc8e(await _0x473892());}(this);}[_0x10a20a(0xa3)](){const _0x390d37=_0x10a20a,_0x57cbf6=this[_0x390d37(0xa7)][_0x390d37(0x75)][_0x390d37(0x7b)];_0x57cbf6[_0x390d37(0xa0)](_0x390d37(0xab))&&_0x57cbf6[_0x390d37(0xb6)](_0x390d37(0xab),{'allowAttributes':[_0x390d37(0x8e)]}),_0x57cbf6[_0x390d37(0xa0)](_0x390d37(0xbe))&&_0x57cbf6[_0x390d37(0xb6)](_0x390d37(0xbe),{'allowAttributes':[_0x390d37(0x8e)]});}[_0x10a20a(0xba)](){const _0x338bec=_0x10a20a,_0x1f6c4e=this[_0x338bec(0xa7)];_0x1f6c4e[_0x338bec(0xb4)][_0x338bec(0xa8)](_0x338bec(0x98))[_0x338bec(0xc2)]({'model':_0x338bec(0x8e),'view':_0x338bec(0xb9)}),_0x1f6c4e[_0x338bec(0xb4)][_0x338bec(0xa8)](_0x338bec(0xc9))[_0x338bec(0xbf)]({'model':{'key':_0x338bec(0x8e),'value':_0x5205fe=>_0x5205fe[_0x338bec(0x87)](_0x338bec(0xb9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4ea60a=_0x1f6c4e[_0x338bec(0xb8)][_0x338bec(0x9a)](_0x338bec(0x8b));_0x4ea60a&&this[_0x338bec(0xc8)](_0x4ea60a,_0x338bec(0xc1),(_0x557165,[_0x2bd595,_0x184311])=>{const _0x5376e9=_0x338bec;_0x2bd595[_0x5376e9(0x92)](_0x5376e9(0x8e),_0x184311);});}[_0x10a20a(0x79)](){const _0x52406d=_0x10a20a,_0x5c1d3e=this[_0x52406d(0xa7)][_0x52406d(0x99)][_0x52406d(0x9a)](_0x52406d(0x94))||{},_0x4ec151=this[_0x52406d(0xa7)][_0x52406d(0x99)][_0x52406d(0x9a)](_0x52406d(0x84))||'';this[_0x52406d(0xbb)]=_0x53af2c(_0x255f78[_0x52406d(0xbc)],_0x52406d(0xa9),{..._0x5c1d3e,'pubkey':_0x4ec151,'ctx-name':_0x52406d(0x9d)+this[_0x52406d(0x76)],'sourceList':'','imgOnly':_0x52406d(0xa6),'removeCopyright':_0x52406d(0xa6),'localeName':this[_0x52406d(0xa7)][_0x52406d(0x80)][_0x52406d(0xb5)],'externalSourcesEmbedCss':_0x52406d(0x89)}),this[_0x52406d(0xbb)][_0x52406d(0xbd)]=_0x14955e=>{const _0x48704b=_0x52406d;if(_0x48704b(0xc5)==_0x14955e)return _0x48704b(0x8c);},_0x255f78[_0x52406d(0xbc)][_0x52406d(0xb2)][_0x52406d(0x85)](this[_0x52406d(0xbb)]);}[_0x10a20a(0xad)](){const _0x4963b6=_0x10a20a;this[_0x4963b6(0x97)]=_0x53af2c(_0x255f78[_0x4963b6(0xbc)],_0x4963b6(0x74),{'ctx-name':_0x4963b6(0x9d)+this[_0x4963b6(0x76)]}),_0x255f78[_0x4963b6(0xbc)][_0x4963b6(0xb2)][_0x4963b6(0x85)](this[_0x4963b6(0x97)]);}[_0x10a20a(0x95)](){const _0x317e8b=_0x10a20a,_0xc722da=this[_0x317e8b(0xa7)][_0x317e8b(0xb8)][_0x317e8b(0x9a)](_0x317e8b(0xa2));_0xc722da&&this[_0x317e8b(0xc8)](_0xc722da,_0x317e8b(0xc3),()=>{const _0x1f2080=_0x317e8b,_0xe71303=this[_0x1f2080(0xa7)][_0x1f2080(0x75)][_0x1f2080(0xbc)][_0x1f2080(0x82)][_0x1f2080(0xb1)]();_0xe71303&&_0xe71303[_0x1f2080(0x87)](_0x1f2080(0x8e))&&this[_0x1f2080(0xa7)][_0x1f2080(0xaa)][_0x1f2080(0xc4)][_0x1f2080(0xaf)](_0x1f2080(0xc6),()=>{const _0x85c6e7=_0x1f2080;_0x233a2e(this[_0x85c6e7(0xa7)],_0xe71303);});});const _0x24e52c=this[_0x317e8b(0xa7)][_0x317e8b(0xb8)][_0x317e8b(0x9a)](_0x317e8b(0x8a));_0x24e52c&&this[_0x317e8b(0xc8)](_0x24e52c,_0x317e8b(0xc3),()=>{const _0x2cb5ff=_0x317e8b,_0x321ce1=this[_0x2cb5ff(0xa7)][_0x2cb5ff(0x75)][_0x2cb5ff(0xbc)][_0x2cb5ff(0x82)][_0x2cb5ff(0xb1)]();_0x321ce1&&_0x321ce1[_0x2cb5ff(0x87)](_0x2cb5ff(0x8e))&&this[_0x2cb5ff(0xa7)][_0x2cb5ff(0xaa)][_0x2cb5ff(0xc4)][_0x2cb5ff(0xaf)](_0x2cb5ff(0xc6),()=>{const _0x3f8ec1=_0x2cb5ff;_0x233a2e(this[_0x3f8ec1(0xa7)],_0x321ce1);});});}}
23
+ const _0x3d95c3=_0x3d38;(function(_0x1d6a00,_0x211c3f){const _0x1d22d8=_0x3d38,_0x5bbbd9=_0x1d6a00();while(!![]){try{const _0x124555=parseInt(_0x1d22d8(0x126))/0x1+parseInt(_0x1d22d8(0x127))/0x2+-parseInt(_0x1d22d8(0x11e))/0x3*(parseInt(_0x1d22d8(0x132))/0x4)+-parseInt(_0x1d22d8(0x161))/0x5*(-parseInt(_0x1d22d8(0x145))/0x6)+parseInt(_0x1d22d8(0x131))/0x7+parseInt(_0x1d22d8(0x11d))/0x8+-parseInt(_0x1d22d8(0x121))/0x9;if(_0x124555===_0x211c3f)break;else _0x5bbbd9['push'](_0x5bbbd9['shift']());}catch(_0x1aae23){_0x5bbbd9['push'](_0x5bbbd9['shift']());}}}(_0x5509,0x92bea));import{Plugin as _0x1a1657}from'ckeditor5/src/core.js';import{Dialog as _0xd76342}from'ckeditor5/src/ui.js';import{createElement as _0x57f24d,global as _0x38bf59,uid as _0x28603c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3f700e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4c7d0b}from'./uploadcareuploadadapter.js';function _0x5509(){const _0x17a589=['3367182ofPIwz','20nFpBnL','isOfficialPlugin','render','_ctxElement','getSelectedElement','schema','_initConversion','uploader-','upcast','editor','getAttribute','locale','\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','add','uploadcare.uploader','true','removeAttribute','once','editing','6446766jLCRWR','listenTo','_initCtx','contentLanguage','imageInline','remove','downcast','afterInit','join','for','ctxElement','_initImageProcessingIndicator','appendChild','#uc-icon-arrow-down','uc-upload-ctx-provider','UploadcareEditing','querySelector','_configElement','commands','isPremiumPlugin','uploadcareImageReplace','execute','selection','href','attributeToAttribute','ucContextId','init','uc-config','5MxOSrr','input[uploadcare-file-input]','conversion','_initConfig','uploadcare','insertImage','requires','view','configElement','uploadcareImageId','closeMax','document','data-uc-image-id','PictureEditing','cleanupImage','pluginName','17672YMBDlq','527979OSsada','get','map','11181897GXevpm','model','destroy','elementToAttribute','iconHrefResolver','749816kLMxdp','831904NVhHnl','uploadcare.pubkey','replaceImageSource','_initSchema','imageBlock','extend','config','fromCharCode','isRegistered','body'];_0x5509=function(){return _0x17a589;};return _0x5509();}import{showImageProcessingIndicator as _0x174ab5}from'./utils/editingutils.js';function _0x3d38(_0x5328d2,_0x327a99){const _0x55098c=_0x5509();return _0x3d38=function(_0x3d385c,_0x20393b){_0x3d385c=_0x3d385c-0x10f;let _0x539363=_0x55098c[_0x3d385c];return _0x539363;},_0x3d38(_0x5328d2,_0x327a99);}export class UploadcareEditing extends _0x1a1657{[_0x3d95c3(0x156)]=null;[_0x3d95c3(0x135)]=null;static get[_0x3d95c3(0x11c)](){const _0x4a196c=_0x3d95c3;return _0x4a196c(0x154);}static get[_0x3d95c3(0x113)](){const _0x5a6aef=_0x3d95c3;return[_0x5a6aef(0x11a),_0x4c7d0b,_0xd76342];}static get[_0x3d95c3(0x133)](){return!0x0;}static get[_0x3d95c3(0x158)](){return!0x0;}[_0x3d95c3(0x15e)];get[_0x3d95c3(0x115)](){const _0x5e7b5f=_0x3d95c3;return this[_0x5e7b5f(0x156)];}get[_0x3d95c3(0x14f)](){const _0x2292ab=_0x3d95c3;return this[_0x2292ab(0x135)];}constructor(_0x55e880){const _0x2fb118=_0x3d95c3;super(_0x55e880),this[_0x2fb118(0x15e)]=_0x28603c();}[_0x3d95c3(0x15f)](){const _0x21d64e=_0x3d95c3,_0x36add6=this[_0x21d64e(0x13b)];_0x36add6[_0x21d64e(0x157)][_0x21d64e(0x13f)](_0x21d64e(0x111),new _0x3f700e(_0x36add6));}[_0x3d95c3(0x14c)](){const _0x1e93bf=_0x3d95c3;this[_0x1e93bf(0x12a)](),this[_0x1e93bf(0x138)](),this[_0x1e93bf(0x110)](),this[_0x1e93bf(0x147)](),this[_0x1e93bf(0x150)](),this[_0x1e93bf(0x146)](this[_0x1e93bf(0x13b)],_0x1e93bf(0x123),()=>{const _0x514e50=_0x1e93bf;this[_0x514e50(0x156)]&&(this[_0x514e50(0x156)][_0x514e50(0x14a)](),this[_0x514e50(0x156)]=null),this[_0x514e50(0x135)]&&(this[_0x514e50(0x135)][_0x514e50(0x14a)](),this[_0x514e50(0x135)]=null);const _0x330d47=_0x38bf59[_0x514e50(0x118)][_0x514e50(0x155)](_0x514e50(0x162));_0x330d47&&_0x330d47[_0x514e50(0x14a)]();}),async function(_0x6c1a6d){const _0x109c90=_0x46e32b([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]),_0x3f69fb=0x535f8c3a,_0x285e14=0x5358fbfa^_0x3f69fb,_0x456bfb=window[_0x46e32b([0x44,0x61,0x74,0x65])][_0x46e32b([0x6e,0x6f,0x77])](),_0x112f8b=_0x6c1a6d[_0x46e32b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f96c7=new window[(_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c2c65=>{_0x112f8b[_0x46e32b([0x6f,0x6e,0x63,0x65])](_0x46e32b([0x72,0x65,0x61,0x64,0x79]),_0x5c2c65);}),_0x103814={[_0x46e32b([0x6b,0x74,0x79])]:_0x46e32b([0x45,0x43]),[_0x46e32b([0x75,0x73,0x65])]:_0x46e32b([0x73,0x69,0x67]),[_0x46e32b([0x63,0x72,0x76])]:_0x46e32b([0x50,0x2d,0x32,0x35,0x36]),[_0x46e32b([0x78])]:_0x46e32b([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]),[_0x46e32b([0x79])]:_0x46e32b([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]),[_0x46e32b([0x61,0x6c,0x67])]:_0x46e32b([0x45,0x53,0x32,0x35,0x36])},_0x9bed8=_0x112f8b[_0x46e32b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46e32b([0x67,0x65,0x74])](_0x46e32b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5329f1(){let _0x837151,_0x54200e=null,_0x3c44de=null;try{if(_0x9bed8==_0x46e32b([0x47,0x50,0x4c]))return _0x46e32b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x837151=_0x130c95(),!_0x837151)return _0x46e32b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x837151[_0x46e32b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c44de=_0x3fdae5(_0x837151[_0x46e32b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x837151[_0x46e32b([0x6a,0x74,0x69])])),await _0x340690()?_0x5e7b4b()?_0x325bb3()?_0x46e32b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26bb37()?(_0x837151[_0x46e32b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e32b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54200e=_0x4c0012(_0x46e32b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x837151[_0x46e32b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46e32b([0x74,0x72,0x69,0x61,0x6c])&&(_0x54200e=_0x4c0012(_0x46e32b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17cb2a()):_0x46e32b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46e32b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46e32b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46e32b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x325bb3(){const _0x139101=[_0x46e32b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46e32b([0x74,0x72,0x69,0x61,0x6c])][_0x46e32b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x837151[_0x46e32b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x456bfb/0x3e8:0xe10*_0x285e14;return _0x837151[_0x46e32b([0x65,0x78,0x70])]<_0x139101;}function _0x5e7b4b(){const _0x53ca41=_0x837151[_0x46e32b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x53ca41&&(!!_0x53ca41[_0x46e32b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e32b([0x2a]))||!!_0x53ca41[_0x46e32b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e32b([0x55,0x50,0x4c,0x43])));}function _0x26bb37(){const _0x4eb774=_0x3d38,_0x79fd0d=_0x837151[_0x46e32b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x79fd0d||0x0==_0x79fd0d[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e3757}=new URL(window[_0x46e32b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4eb774(0x15c)]);if(_0x79fd0d[_0x46e32b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e3757))return!0x0;const _0x32f6d9=_0x4e3757[_0x46e32b([0x73,0x70,0x6c,0x69,0x74])](_0x46e32b([0x2e]));return _0x79fd0d[_0x46e32b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6b980=>_0x6b980[_0x46e32b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46e32b([0x2a])))[_0x46e32b([0x6d,0x61,0x70])](_0x1c0d30=>_0x1c0d30[_0x46e32b([0x73,0x70,0x6c,0x69,0x74])](_0x46e32b([0x2e])))[_0x46e32b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x465ac9=>_0x465ac9[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x32f6d9[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e32b([0x6d,0x61,0x70])](_0x31efc9=>Array(_0x32f6d9[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31efc9[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46e32b([0x66,0x69,0x6c,0x6c])](_0x31efc9[0x0]===_0x46e32b([0x2a])?_0x46e32b([0x2a]):'')[_0x46e32b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31efc9))[_0x46e32b([0x73,0x6f,0x6d,0x65])](_0x56a445=>_0x32f6d9[_0x46e32b([0x65,0x76,0x65,0x72,0x79])]((_0x2be5d2,_0x522635)=>_0x56a445[_0x522635]===_0x2be5d2||_0x56a445[_0x522635]===_0x46e32b([0x2a])));}function _0x17cb2a(){return _0x54200e&&_0x3c44de?new window[(_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22234f,_0x11a833)=>{_0x54200e[_0x46e32b([0x74,0x68,0x65,0x6e])](_0x22234f,_0x11a833),_0x3c44de[_0x46e32b([0x74,0x68,0x65,0x6e])](_0x596309=>{_0x596309!=_0x46e32b([0x56,0x61,0x6c,0x69,0x64])&&_0x22234f(_0x596309);},_0x11a833);}):_0x54200e||_0x3c44de||_0x46e32b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fdae5(_0x369437,_0x5af4ce){return new window[(_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31e544=>{if(_0x2680b1())return _0x31e544(_0x46e32b([0x56,0x61,0x6c,0x69,0x64]));_0xd2a0b8(),_0x112f8b[_0x46e32b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46e32b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29579a=!0x1;const _0x1454f2=_0x28603c();function _0x1a2a0c(_0x249163){return!!_0x249163&&(typeof _0x249163===_0x46e32b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x249163===_0x46e32b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x249163[_0x46e32b([0x74,0x68,0x65,0x6e])]===_0x46e32b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x249163[_0x46e32b([0x63,0x61,0x74,0x63,0x68])]===_0x46e32b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9d77b4(_0x4e43b8){_0x470959(_0x4e43b8)[_0x46e32b([0x74,0x68,0x65,0x6e])](_0x43caef=>{if(!_0x43caef||_0x43caef[_0x46e32b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46e32b([0x6f,0x6b]))return _0x46e32b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe9793e(_0x452935(_0x1454f2+_0x5af4ce))!=_0x43caef[_0x46e32b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46e32b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46e32b([0x56,0x61,0x6c,0x69,0x64]);})[_0x46e32b([0x74,0x68,0x65,0x6e])](_0x2aef36=>(_0x4cace8(),_0x2aef36),()=>{const _0x4ae740=_0x25d6f7();return null==_0x4ae740?(_0x4cace8(),_0x46e32b([0x56,0x61,0x6c,0x69,0x64])):_0x46e32b(_0x456bfb-_0x4ae740>(0x7753083a^_0x3f69fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46e32b([0x74,0x68,0x65,0x6e])](_0x31e544)[_0x46e32b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31e544(_0x46e32b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39c6bf=0x536962ba^_0x3f69fb;function _0x4cace8(){const _0xff1a73=_0x46e32b([0x6c,0x6c,0x63,0x74,0x2d])+_0xe9793e(_0x452935(_0x369437)),_0x22fdd4=_0x14e4d7(_0xe9793e(window[_0x46e32b([0x4d,0x61,0x74,0x68])][_0x46e32b([0x63,0x65,0x69,0x6c])](_0x456bfb/_0x39c6bf)));window[_0x46e32b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e32b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xff1a73,_0x22fdd4);}function _0x25d6f7(){const _0xb02355=_0x46e32b([0x6c,0x6c,0x63,0x74,0x2d])+_0xe9793e(_0x452935(_0x369437)),_0x24e1cc=window[_0x46e32b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46e32b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb02355);return _0x24e1cc?window[_0x46e32b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14e4d7(_0x24e1cc),0x10)*_0x39c6bf:null;}function _0x470959(_0x193d2d){return new window[(_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa61172,_0x46ed78)=>{_0x193d2d[_0x46e32b([0x74,0x68,0x65,0x6e])](_0xa61172,_0x46ed78),window[_0x46e32b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46ed78,0x535e58fa^_0x3f69fb);});}}_0x112f8b[_0x46e32b([0x6f,0x6e])](_0x46e32b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fffec,_0x1381f6)=>{if(_0x1381f6[0x0]!=_0x369437)return _0x31e544(_0x46e32b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1381f6[0x1]={..._0x1381f6[0x1],[_0x46e32b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1454f2};},{[_0x46e32b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e32b([0x68,0x69,0x67,0x68])}),_0x112f8b[_0x46e32b([0x6f,0x6e])](_0x46e32b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4289f5=>{_0x1a2a0c(_0x4289f5[_0x46e32b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29579a=!0x0,_0x9d77b4(_0x4289f5[_0x46e32b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46e32b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46e32b([0x6c,0x6f,0x77])}),_0x2f96c7[_0x46e32b([0x74,0x68,0x65,0x6e])](()=>{_0x29579a||_0x31e544(_0x46e32b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2680b1(){return _0x112f8b[_0x46e32b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e32b([0x76,0x69,0x65,0x77])][_0x46e32b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46e32b([0x61,0x75,0x74,0x6f]);}function _0xd2a0b8(){_0x112f8b[_0x46e32b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46e32b([0x76,0x69,0x65,0x77])][_0x46e32b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46e32b([0x61,0x75,0x74,0x6f]);}}function _0x4c0012(_0x5bce76){const _0x578c90=[new window[(_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa0ef69=>setTimeout(_0xa0ef69,0x5356b2f6^_0x3f69fb)),_0x2f96c7[_0x46e32b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x331f91=>{let _0x59eb80=0x0;_0x112f8b[_0x46e32b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e32b([0x6f,0x6e])](_0x46e32b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xeeeae2,_0x2cf34f)=>{_0x2cf34f[0x0][_0x46e32b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59eb80++,_0x59eb80==(0x535f8dc2^_0x3f69fb)&&(_0x331f91(),_0xeeeae2[_0x46e32b([0x6f,0x66,0x66])]());});}))];return window[_0x46e32b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46e32b([0x72,0x61,0x63,0x65])](_0x578c90)[_0x46e32b([0x74,0x68,0x65,0x6e])](()=>_0x5bce76);}async function _0x135d0(){await _0x2f96c7,_0x112f8b[_0x46e32b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e32b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428f46,_0x112f8b[_0x46e32b([0x6d,0x6f,0x64,0x65,0x6c])][_0x46e32b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428f46,_0x112f8b[_0x46e32b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46e32b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32af18(_0x443d3d){const _0x41147d=_0x140e2b();_0x112f8b[_0x41147d]=_0x46e32b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x443d3d,_0x443d3d!=_0x46e32b([0x56,0x61,0x6c,0x69,0x64])&&_0x135d0();}function _0x140e2b(){const _0x2ae11b=window[_0x46e32b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46e32b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46e32b([0x6e,0x6f,0x77])]())[_0x46e32b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46e32b([0x2e]),'');let _0x4e6b01=_0x46e32b([0x68]);for(let _0xcd803f=0x0;_0xcd803f<_0x2ae11b[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcd803f+=0x2){let _0x25341f=window[_0x46e32b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ae11b[_0x46e32b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcd803f,_0xcd803f+0x2));_0x25341f>=_0x109c90[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25341f-=_0x109c90[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e6b01+=_0x109c90[_0x25341f];}return _0x4e6b01;}function _0x130c95(){const _0x38397f=_0x9bed8[_0x46e32b([0x73,0x70,0x6c,0x69,0x74])](_0x46e32b([0x2e]));if(0x3!=_0x38397f[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26413d(_0x38397f[0x1]);function _0x26413d(_0xff0a46){const _0x6de29d=_0x1fec6f(_0xff0a46);return _0x6de29d&&_0x2f41b4()?_0x6de29d:null;function _0x2f41b4(){const _0x2944e3=_0x6de29d[_0x46e32b([0x6a,0x74,0x69])],_0x407724=window[_0x46e32b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2944e3[_0x46e32b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2944e3[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x121000={..._0x6de29d,[_0x46e32b([0x6a,0x74,0x69])]:_0x2944e3[_0x46e32b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2944e3[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x121000[_0x46e32b([0x76,0x63])],_0x452935(_0x121000)==_0x407724;}}}async function _0x340690(){let _0x5c1146=!0x0;try{const _0x484d9b=_0x9bed8[_0x46e32b([0x73,0x70,0x6c,0x69,0x74])](_0x46e32b([0x2e])),[_0x1ef8a5,_0x49b052,_0x4e1a12]=_0x484d9b;return _0x5eac55(_0x1ef8a5),await _0x3cbfbe(_0x1ef8a5,_0x49b052,_0x4e1a12),_0x5c1146;}catch{return!0x1;}function _0x5eac55(_0x50f719){const _0x2143c5=_0x1fec6f(_0x50f719);_0x2143c5&&_0x2143c5[_0x46e32b([0x61,0x6c,0x67])]==_0x46e32b([0x45,0x53,0x32,0x35,0x36])||(_0x5c1146=!0x1);}async function _0x3cbfbe(_0x597f27,_0xb8f08c,_0x5e98c4){const _0x1ea333=window[_0x46e32b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46e32b([0x66,0x72,0x6f,0x6d])](_0x118d57(_0x5e98c4),_0x3190c9=>_0x3190c9[_0x46e32b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13228b=new window[(_0x46e32b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46e32b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x597f27+_0x46e32b([0x2e])+_0xb8f08c),_0x544796=window[_0x46e32b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46e32b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x544796)return;const _0x5a14bd=await _0x544796[_0x46e32b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46e32b([0x6a,0x77,0x6b]),_0x103814,{[_0x46e32b([0x6e,0x61,0x6d,0x65])]:_0x46e32b([0x45,0x43,0x44,0x53,0x41]),[_0x46e32b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46e32b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46e32b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x544796[_0x46e32b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46e32b([0x6e,0x61,0x6d,0x65])]:_0x46e32b([0x45,0x43,0x44,0x53,0x41]),[_0x46e32b([0x68,0x61,0x73,0x68])]:{[_0x46e32b([0x6e,0x61,0x6d,0x65])]:_0x46e32b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a14bd,_0x1ea333,_0x13228b)||(_0x5c1146=!0x1);}}function _0x1fec6f(_0x3e8843){return _0x3e8843[_0x46e32b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46e32b([0x65,0x79]))?JSON[_0x46e32b([0x70,0x61,0x72,0x73,0x65])](_0x118d57(_0x3e8843)):null;}function _0x118d57(_0x3ba02a){return window[_0x46e32b([0x61,0x74,0x6f,0x62])](_0x3ba02a[_0x46e32b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46e32b([0x2b]))[_0x46e32b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46e32b([0x2f])));}function _0x452935(_0x3ddb1c){let _0xf98d2d=0x1505;function _0x1f5e8c(_0x16b24e){for(let _0x1aa568=0x0;_0x1aa568<_0x16b24e[_0x46e32b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1aa568++){const _0x4e8eeb=_0x16b24e[_0x46e32b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1aa568);_0xf98d2d=(_0xf98d2d<<0x5)+_0xf98d2d+_0x4e8eeb,_0xf98d2d&=_0xf98d2d;}}function _0x8990ec(_0x4882fc){Array[_0x46e32b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4882fc)?_0x4882fc[_0x46e32b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8990ec):_0x4882fc&&typeof _0x4882fc==_0x46e32b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46e32b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4882fc)[_0x46e32b([0x73,0x6f,0x72,0x74])]()[_0x46e32b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e1469,_0x2bf99c])=>{_0x1f5e8c(_0x4e1469),_0x8990ec(_0x2bf99c);}):_0x1f5e8c(window[_0x46e32b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4882fc));}return _0x8990ec(_0x3ddb1c),_0xf98d2d>>>0x0;}function _0xe9793e(_0x28012a){return _0x28012a[_0x46e32b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46e32b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46e32b([0x30]));}function _0x14e4d7(_0x36682c){return _0x36682c[_0x46e32b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46e32b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46e32b([0x6a,0x6f,0x69,0x6e])]('');}function _0x428f46(){}function _0x46e32b(_0x2413bc){const _0x393ddd=_0x3d38;return _0x2413bc[_0x393ddd(0x120)](_0x3fecfa=>String[_0x393ddd(0x12e)](_0x3fecfa))[_0x393ddd(0x14d)]('');}_0x32af18(await _0x5329f1());}(this);}[_0x3d95c3(0x12a)](){const _0x329ac1=_0x3d95c3,_0x5e2892=this[_0x329ac1(0x13b)][_0x329ac1(0x122)][_0x329ac1(0x137)];_0x5e2892[_0x329ac1(0x12f)](_0x329ac1(0x12b))&&_0x5e2892[_0x329ac1(0x12c)](_0x329ac1(0x12b),{'allowAttributes':[_0x329ac1(0x116)]}),_0x5e2892[_0x329ac1(0x12f)](_0x329ac1(0x149))&&_0x5e2892[_0x329ac1(0x12c)](_0x329ac1(0x149),{'allowAttributes':[_0x329ac1(0x116)]});}[_0x3d95c3(0x138)](){const _0x2be01e=_0x3d95c3,_0x2d1384=this[_0x2be01e(0x13b)];_0x2d1384[_0x2be01e(0x10f)][_0x2be01e(0x14e)](_0x2be01e(0x14b))[_0x2be01e(0x15d)]({'model':_0x2be01e(0x116),'view':_0x2be01e(0x119)}),_0x2d1384[_0x2be01e(0x10f)][_0x2be01e(0x14e)](_0x2be01e(0x13a))[_0x2be01e(0x124)]({'model':{'key':_0x2be01e(0x116),'value':_0x57f5be=>_0x57f5be[_0x2be01e(0x13c)](_0x2be01e(0x119))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3b47b7=_0x2d1384[_0x2be01e(0x157)][_0x2be01e(0x11f)](_0x2be01e(0x129));_0x3b47b7&&this[_0x2be01e(0x146)](_0x3b47b7,_0x2be01e(0x11b),(_0x1a9b10,[_0x490d0b,_0xe24aa9])=>{const _0xd6cd31=_0x2be01e;_0x490d0b[_0xd6cd31(0x142)](_0xd6cd31(0x116),_0xe24aa9);});}[_0x3d95c3(0x110)](){const _0x32623e=_0x3d95c3,_0x2bd2ec=this[_0x32623e(0x13b)][_0x32623e(0x12d)][_0x32623e(0x11f)](_0x32623e(0x140))||{},_0x8b0531=this[_0x32623e(0x13b)][_0x32623e(0x12d)][_0x32623e(0x11f)](_0x32623e(0x128))||'';this[_0x32623e(0x156)]=_0x57f24d(_0x38bf59[_0x32623e(0x118)],_0x32623e(0x160),{..._0x2bd2ec,'pubkey':_0x8b0531,'ctx-name':_0x32623e(0x139)+this[_0x32623e(0x15e)],'sourceList':'','imgOnly':_0x32623e(0x141),'removeCopyright':_0x32623e(0x141),'localeName':this[_0x32623e(0x13b)][_0x32623e(0x13d)][_0x32623e(0x148)],'externalSourcesEmbedCss':_0x32623e(0x13e)}),this[_0x32623e(0x156)][_0x32623e(0x125)]=_0x51d921=>{const _0x293f5c=_0x32623e;if(_0x293f5c(0x117)==_0x51d921)return _0x293f5c(0x152);},_0x38bf59[_0x32623e(0x118)][_0x32623e(0x130)][_0x32623e(0x151)](this[_0x32623e(0x156)]);}[_0x3d95c3(0x147)](){const _0x4674ad=_0x3d95c3;this[_0x4674ad(0x135)]=_0x57f24d(_0x38bf59[_0x4674ad(0x118)],_0x4674ad(0x153),{'ctx-name':_0x4674ad(0x139)+this[_0x4674ad(0x15e)]}),_0x38bf59[_0x4674ad(0x118)][_0x4674ad(0x130)][_0x4674ad(0x151)](this[_0x4674ad(0x135)]);}[_0x3d95c3(0x150)](){const _0x4407e9=_0x3d95c3,_0x59cd7d=this[_0x4407e9(0x13b)][_0x4407e9(0x157)][_0x4407e9(0x11f)](_0x4407e9(0x112));_0x59cd7d&&this[_0x4407e9(0x146)](_0x59cd7d,_0x4407e9(0x15a),()=>{const _0x58a93d=_0x4407e9,_0x49e8aa=this[_0x58a93d(0x13b)][_0x58a93d(0x122)][_0x58a93d(0x118)][_0x58a93d(0x15b)][_0x58a93d(0x136)]();_0x49e8aa&&_0x49e8aa[_0x58a93d(0x13c)](_0x58a93d(0x116))&&this[_0x58a93d(0x13b)][_0x58a93d(0x144)][_0x58a93d(0x114)][_0x58a93d(0x143)](_0x58a93d(0x134),()=>{const _0x17725a=_0x58a93d;_0x174ab5(this[_0x17725a(0x13b)],_0x49e8aa);});});const _0x2ca271=this[_0x4407e9(0x13b)][_0x4407e9(0x157)][_0x4407e9(0x11f)](_0x4407e9(0x159));_0x2ca271&&this[_0x4407e9(0x146)](_0x2ca271,_0x4407e9(0x15a),()=>{const _0x5e3053=_0x4407e9,_0x32ea5c=this[_0x5e3053(0x13b)][_0x5e3053(0x122)][_0x5e3053(0x118)][_0x5e3053(0x15b)][_0x5e3053(0x136)]();_0x32ea5c&&_0x32ea5c[_0x5e3053(0x13c)](_0x5e3053(0x116))&&this[_0x5e3053(0x13b)][_0x5e3053(0x144)][_0x5e3053(0x114)][_0x5e3053(0x143)](_0x5e3053(0x134),()=>{const _0xc9a1b0=_0x5e3053;_0x174ab5(this[_0xc9a1b0(0x13b)],_0x32ea5c);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2a9150,ObservableMixin as _0x3a6f4d}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x268c18}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1df438}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4f9b3f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4a38c2}from'../../utils/uploadutils.js';import{getImageUrls as _0x45473a,getImageDimension as _0x2aff25}from'../../utils/editingutils.js';import{isAncestor as _0x547efa}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3a6f4d(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xf28fc4,_0x36e57c,_0x30f848){super(),this['_editor']=_0xf28fc4,this['_dialog']=_0x36e57c,this['_imageElement']=_0x30f848,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 _0x69b5ff=this['_imageElement'],_0x28f1e4=_0x69b5ff['getAttribute']('uploadcareImageId'),_0x39c5be=_0x69b5ff['getAttribute']('src');if(_0x28f1e4)await this['_loadImageInfo'](_0x28f1e4,_0x39c5be);else{if(this['_imageCache']['has'](_0x39c5be)){const _0x50fdc8=this['_imageCache']['get'](_0x39c5be);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x50fdc8['url'],this['imageDimension']=_0x50fdc8['dimension'],this['imageId']=_0x50fdc8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x20c085}=this['_editor'],t=_0x20c085['t'],_0x4d93b3=new _0x4f9b3f(_0x20c085,this['imageStatus'],this['_attributes']);_0x4d93b3['bind']('status')['to'](this,'imageStatus'),_0x4d93b3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4d93b3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4d93b3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4d93b3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1df438,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4d93b3,'position':_0x268c18['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4d93b3['focus']();},'onHide':()=>{_0x4d93b3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x40802c=>!_0x547efa(_0x40802c,_0x4d93b3['element'])}});}['_loadImageInfo'](_0x47029e,_0xa24b63){return _0x4a38c2['getInfo'](_0x47029e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4883c9=>{const {width:_0x17263e,height:_0x494b03}=_0x4883c9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa24b63,this['imageDimension']={'width':_0x17263e,'height':_0x494b03},this['imageId']=_0x47029e;})['catch'](_0x93bf31=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x93bf31['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x8265b5,_0x5f4c9b){return this['_getImageAsFile'](_0x8265b5)['then'](_0x451cae=>_0x4a38c2['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':_0x5f4c9b['signal'],'file':_0x451cae,'onProgress':_0x2c85de=>{_0x2c85de&&_0x2c85de['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2c85de['value']));}}))['then'](_0x26327e=>{const {width:_0x5ae2fc,height:_0x213c72}=_0x26327e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26327e['cdnUrl'],this['imageDimension']={'width':_0x5ae2fc,'height':_0x213c72},this['imageId']=_0x26327e['uuid'],this['imageUploadProgress']=null;const _0x1646a4=_0x8265b5['getAttribute']('src');this['_imageCache']['set'](_0x1646a4,{'id':_0x26327e['uuid'],'url':_0x26327e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38eab8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38eab8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x39cfde,_0x533686){_0x39cfde['on']('apply',(_0x2d88d4,_0x51669d)=>{this['_replaceImage'](_0x533686,_0x51669d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x39cfde['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x39cfde['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xf3f36f,_0x2d2192,_0x3d821e){const _0x54e84b=this['_editor'],{width:_0x39c7ff,height:_0x276dba}=_0x2aff25(_0x2d2192,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xcafed8,imageSources:_0x7ee63b}=_0x45473a(_0x2d2192,_0x39c7ff);_0x54e84b['model']['change'](_0x4cde01=>{if('$graveyard'===_0xf3f36f['root']['rootName']){_0x54e84b['execute']('insertImage',{'imageType':_0xf3f36f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xf3f36f['getAttributes']()),'uploadcareImageId':_0x3d821e,'src':_0xcafed8,'sources':_0x7ee63b,'width':_0x39c7ff,'height':_0x276dba}});const _0x48551d=_0xf3f36f['getChildren']();_0xf3f36f=_0x54e84b['model']['document']['selection']['getSelectedElement']();for(const _0x2d467a of _0x48551d)_0x4cde01['append'](_0x4cde01['cloneElement'](_0x2d467a),_0xf3f36f);}else _0x4cde01['setSelection'](_0xf3f36f,'on'),_0x54e84b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xf3f36f['getAttributes']()),'uploadcareImageId':_0x3d821e,'src':_0xcafed8,'sources':_0x7ee63b,'width':_0x39c7ff,'height':_0x276dba},_0xf3f36f);_0x4cde01['setSelection'](_0xf3f36f,'on');});}async['_getImageAsFile'](_0x5939c1){const _0x38be77=_0x2a9150['window'],_0x368773=_0x2a9150['document']['location']['href'],_0x95c3c4=new _0x38be77['URL'](_0x5939c1['getAttribute']('src'),_0x368773);if('data:'===_0x95c3c4['protocol']){const _0x2239c7=_0x95c3c4['href']['split'](','),_0xb94b08=_0x2239c7[0x0]['match'](/:(.*?);/)[0x1],_0xa35def=_0xb94b08['split']('/')[0x1],_0x249fc9=_0x38be77['atob'](_0x2239c7[_0x2239c7['length']-0x1]);let _0x17237f=_0x249fc9['length'];const _0x34bb67=new _0x38be77['Uint8Array'](_0x17237f);for(;_0x17237f--;)_0x34bb67[_0x17237f]=_0x249fc9['charCodeAt'](_0x17237f);return new _0x38be77['File']([_0x34bb67],'image.'+_0xa35def,{'type':_0xb94b08});}const _0x52fcf6=_0x95c3c4['href']['split']('/'),_0x1ad1a8=_0x52fcf6[_0x52fcf6['length']-0x1],_0x13d223=_0x1ad1a8['split']('.')[0x1];return _0x38be77['fetch'](_0x95c3c4['href'])['then'](_0xcbafa7=>_0xcbafa7['clone']()['blob']())['then'](_0x23342f=>new _0x38be77['File']([_0x23342f],_0x1ad1a8,{'type':'image/'+_0x13d223}));}}
23
+ import{global as _0x4deb09,ObservableMixin as _0x292301}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1454a0}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x97e1ef}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3dde40}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xe2689a}from'../../utils/uploadutils.js';import{getImageUrls as _0x217215,getImageDimension as _0x5ad4bc}from'../../utils/editingutils.js';import{isAncestor as _0x3f310b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x292301(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x17645d,_0xfc8c0,_0x3cfdfa){super(),this['_editor']=_0x17645d,this['_dialog']=_0xfc8c0,this['_imageElement']=_0x3cfdfa,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 _0x27a8b9=this['_imageElement'],_0x13901d=_0x27a8b9['getAttribute']('uploadcareImageId'),_0x44195e=_0x27a8b9['getAttribute']('src');if(_0x13901d)await this['_loadImageInfo'](_0x13901d,_0x44195e);else{if(this['_imageCache']['has'](_0x44195e)){const _0x5b7f76=this['_imageCache']['get'](_0x44195e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b7f76['url'],this['imageDimension']=_0x5b7f76['dimension'],this['imageId']=_0x5b7f76['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4f8d5b}=this['_editor'],t=_0x4f8d5b['t'],_0x17e3c1=new _0x3dde40(_0x4f8d5b,this['imageStatus'],this['_attributes']);_0x17e3c1['bind']('status')['to'](this,'imageStatus'),_0x17e3c1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x17e3c1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x17e3c1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x17e3c1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x97e1ef,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x17e3c1,'position':_0x1454a0['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x17e3c1['focus']();},'onHide':()=>{_0x17e3c1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3b9179=>!_0x3f310b(_0x3b9179,_0x17e3c1['element'])}});}['_loadImageInfo'](_0x4d9f71,_0x1b5b07){return _0xe2689a['getInfo'](_0x4d9f71,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x72b3bb=>{const {width:_0x5c6bc2,height:_0x27d451}=_0x72b3bb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1b5b07,this['imageDimension']={'width':_0x5c6bc2,'height':_0x27d451},this['imageId']=_0x4d9f71;})['catch'](_0x558082=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x558082['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5b16ca,_0xaa64e){return this['_getImageAsFile'](_0x5b16ca)['then'](_0x160847=>_0xe2689a['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':_0xaa64e['signal'],'file':_0x160847,'onProgress':_0x7647c8=>{_0x7647c8&&_0x7647c8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x7647c8['value']));}}))['then'](_0x25e4d1=>{const {width:_0x15af79,height:_0x151872}=_0x25e4d1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25e4d1['cdnUrl'],this['imageDimension']={'width':_0x15af79,'height':_0x151872},this['imageId']=_0x25e4d1['uuid'],this['imageUploadProgress']=null;const _0x1d9211=_0x5b16ca['getAttribute']('src');this['_imageCache']['set'](_0x1d9211,{'id':_0x25e4d1['uuid'],'url':_0x25e4d1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1c03f7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1c03f7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5d3b30,_0x224698){_0x5d3b30['on']('apply',(_0x536ebd,_0x25cfd6)=>{this['_replaceImage'](_0x224698,_0x25cfd6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5d3b30['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5d3b30['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2ff3ee,_0x580173,_0x2a5c88){const _0x21de21=this['_editor'],{width:_0x4cebbe,height:_0x3d7d97}=_0x5ad4bc(_0x580173,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3247d9,imageSources:_0x1cf9ad}=_0x217215(_0x580173,_0x4cebbe);_0x21de21['model']['change'](_0x4fe8fa=>{if('$graveyard'===_0x2ff3ee['root']['rootName']){_0x21de21['execute']('insertImage',{'imageType':_0x2ff3ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2ff3ee['getAttributes']()),'uploadcareImageId':_0x2a5c88,'src':_0x3247d9,'sources':_0x1cf9ad,'width':_0x4cebbe,'height':_0x3d7d97}});const _0x3ab26b=_0x2ff3ee['getChildren']();_0x2ff3ee=_0x21de21['model']['document']['selection']['getSelectedElement']();for(const _0x6b676f of _0x3ab26b)_0x4fe8fa['append'](_0x4fe8fa['cloneElement'](_0x6b676f),_0x2ff3ee);}else _0x4fe8fa['setSelection'](_0x2ff3ee,'on'),_0x21de21['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2ff3ee['getAttributes']()),'uploadcareImageId':_0x2a5c88,'src':_0x3247d9,'sources':_0x1cf9ad,'width':_0x4cebbe,'height':_0x3d7d97},_0x2ff3ee);_0x4fe8fa['setSelection'](_0x2ff3ee,'on');});}async['_getImageAsFile'](_0xadc9da){const _0x2df39d=_0x4deb09['window'],_0x1f9066=_0x4deb09['document']['location']['href'],_0x3bffdd=new _0x2df39d['URL'](_0xadc9da['getAttribute']('src'),_0x1f9066);if('data:'===_0x3bffdd['protocol']){const _0x120667=_0x3bffdd['href']['split'](','),_0x1a43e5=_0x120667[0x0]['match'](/:(.*?);/)[0x1],_0x5007a7=_0x1a43e5['split']('/')[0x1],_0x3c9175=_0x2df39d['atob'](_0x120667[_0x120667['length']-0x1]);let _0x2c11ce=_0x3c9175['length'];const _0xbcf75f=new _0x2df39d['Uint8Array'](_0x2c11ce);for(;_0x2c11ce--;)_0xbcf75f[_0x2c11ce]=_0x3c9175['charCodeAt'](_0x2c11ce);return new _0x2df39d['File']([_0xbcf75f],'image.'+_0x5007a7,{'type':_0x1a43e5});}const _0x53eebc=_0x3bffdd['href']['split']('/'),_0x401dba=_0x53eebc[_0x53eebc['length']-0x1],_0x591fff=_0x401dba['split']('.')[0x1];return _0x2df39d['fetch'](_0x3bffdd['href'])['then'](_0x346749=>_0x346749['clone']()['blob']())['then'](_0x17f8a0=>new _0x2df39d['File']([_0x17f8a0],_0x401dba,{'type':'image/'+_0x591fff}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x584bc2,_0x18f142){const _0x2a3e3b=_0x1906,_0x5f3ba6=_0x584bc2();while(!![]){try{const _0x51766f=parseInt(_0x2a3e3b(0xa7))/0x1*(parseInt(_0x2a3e3b(0xab))/0x2)+-parseInt(_0x2a3e3b(0xa9))/0x3*(-parseInt(_0x2a3e3b(0xa3))/0x4)+parseInt(_0x2a3e3b(0x97))/0x5*(-parseInt(_0x2a3e3b(0x9f))/0x6)+-parseInt(_0x2a3e3b(0xaa))/0x7*(parseInt(_0x2a3e3b(0xa1))/0x8)+parseInt(_0x2a3e3b(0x9b))/0x9*(-parseInt(_0x2a3e3b(0x9e))/0xa)+-parseInt(_0x2a3e3b(0x9a))/0xb*(-parseInt(_0x2a3e3b(0x96))/0xc)+-parseInt(_0x2a3e3b(0x98))/0xd*(-parseInt(_0x2a3e3b(0x9d))/0xe);if(_0x51766f===_0x18f142)break;else _0x5f3ba6['push'](_0x5f3ba6['shift']());}catch(_0x275326){_0x5f3ba6['push'](_0x5f3ba6['shift']());}}}(_0x110b,0x958aa));function _0x110b(){const _0x2da99d=['2489770IXIeUB','441498eoANHy','bindTemplate','48ZrxBJw','imageSrc','458996xEapBn','uc-cloud-image-editor','image-edit','uc-light','1urtGzQ','ck-uploadcare-theme','18cVdrSY','1253588bUYrFV','629436YhtYWz','168VdbtcE','65jQjPOu','234IRgUSQ','setTemplate','556919QGlUKl','27YqzLHK','set','1305514ESIdUx'];_0x110b=function(){return _0x2da99d;};return _0x110b();}function _0x1906(_0x1505f6,_0x43cc1d){const _0x110bde=_0x110b();return _0x1906=function(_0x190679,_0x565fcb){_0x190679=_0x190679-0x96;let _0x383cf9=_0x110bde[_0x190679];return _0x383cf9;},_0x1906(_0x1505f6,_0x43cc1d);}import{View as _0x45fa0d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x45fa0d{constructor(_0x4ebeb1,_0x5ec213){const _0x4049c9=_0x1906;super(_0x4ebeb1);const _0x50516a=this[_0x4049c9(0xa0)];this[_0x4049c9(0x9c)](_0x4049c9(0xa2),''),this[_0x4049c9(0x99)]({'tag':_0x4049c9(0xa4),'attributes':{..._0x5ec213,'class':[_0x4049c9(0xa6),_0x4049c9(0xa8)],'ctx-name':_0x4049c9(0xa5),'cdn-url':_0x50516a['to'](_0x4049c9(0xa2))}});}}
23
+ (function(_0x98942d,_0x9f189a){const _0x4738f1=_0x4680,_0x303150=_0x98942d();while(!![]){try{const _0x1e7dc3=parseInt(_0x4738f1(0x148))/0x1+parseInt(_0x4738f1(0x14d))/0x2*(-parseInt(_0x4738f1(0x145))/0x3)+-parseInt(_0x4738f1(0x147))/0x4+parseInt(_0x4738f1(0x149))/0x5*(-parseInt(_0x4738f1(0x141))/0x6)+parseInt(_0x4738f1(0x143))/0x7+parseInt(_0x4738f1(0x144))/0x8+parseInt(_0x4738f1(0x150))/0x9;if(_0x1e7dc3===_0x9f189a)break;else _0x303150['push'](_0x303150['shift']());}catch(_0x72424){_0x303150['push'](_0x303150['shift']());}}}(_0x5c0c,0x942b8));function _0x5c0c(){const _0x3cb58f=['ck-uploadcare-theme','4398nnnXmd','imageSrc','6193845ZHrchk','4493376QWUJqR','475287JUlTgc','uc-cloud-image-editor','4553920sRdgKu','1189086XcNcNc','5850SEHJrB','image-edit','bindTemplate','set','8kUWnqs','setTemplate','uc-light','5410053yOQsQD'];_0x5c0c=function(){return _0x3cb58f;};return _0x5c0c();}import{View as _0xa04c0}from'ckeditor5/src/ui.js';function _0x4680(_0x8f23b0,_0x1274f2){const _0x5c0c8d=_0x5c0c();return _0x4680=function(_0x46808b,_0x52bb3e){_0x46808b=_0x46808b-0x141;let _0x5f1530=_0x5c0c8d[_0x46808b];return _0x5f1530;},_0x4680(_0x8f23b0,_0x1274f2);}export class UploadcareImageEditFormEditingView extends _0xa04c0{constructor(_0x2bb6f4,_0x3cc140){const _0x4d6d4f=_0x4680;super(_0x2bb6f4);const _0x927888=this[_0x4d6d4f(0x14b)];this[_0x4d6d4f(0x14c)](_0x4d6d4f(0x142),''),this[_0x4d6d4f(0x14e)]({'tag':_0x4d6d4f(0x146),'attributes':{..._0x3cc140,'class':[_0x4d6d4f(0x14f),_0x4d6d4f(0x151)],'ctx-name':_0x4d6d4f(0x14a),'cdn-url':_0x927888['to'](_0x4d6d4f(0x142))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1ddfc4}from'ckeditor5/src/icons.js';import{ButtonView as _0x475789,IconView as _0x102902,View as _0x2a17e5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2a17e5{constructor(_0x2f739b){super(_0x2f739b);const t=_0x2f739b['t'];this['set']('errorType',null);const _0x53b12c=new _0x475789(_0x2f739b);_0x53b12c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x53b12c['withText']=!0x0,_0x53b12c['class']='ck-button-action',_0x53b12c['on']('execute',()=>{this['fire']('retry');}),_0x53b12c['bind']('isVisible')['to'](this,'errorType',_0x3afdc3=>'NotFound'!==_0x3afdc3);const _0x5d284f=new _0x102902();_0x5d284f['content']=_0x1ddfc4,_0x5d284f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x48e9ae=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':[_0x5d284f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x48e9ae['to']('errorType',_0x45361d=>t('NotFound'!==_0x45361d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x53b12c]},{'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 _0x4be29d}from'ckeditor5/src/icons.js';import{ButtonView as _0x5bbe24,IconView as _0x57172e,View as _0x9f4990}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x9f4990{constructor(_0x109316){super(_0x109316);const t=_0x109316['t'];this['set']('errorType',null);const _0x3c2c7c=new _0x5bbe24(_0x109316);_0x3c2c7c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c2c7c['withText']=!0x0,_0x3c2c7c['class']='ck-button-action',_0x3c2c7c['on']('execute',()=>{this['fire']('retry');}),_0x3c2c7c['bind']('isVisible')['to'](this,'errorType',_0x3a31a0=>'NotFound'!==_0x3a31a0);const _0x198ded=new _0x57172e();_0x198ded['content']=_0x4be29d,_0x198ded['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x57f116=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':[_0x198ded,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x57f116['to']('errorType',_0x9dca77=>t('NotFound'!==_0x9dca77?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c2c7c]},{'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 _0x12bcf5,View as _0x58bc88}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x58bc88{constructor(_0x2bfb6a){super(_0x2bfb6a);const t=_0x2bfb6a['t'],_0x334183=this['bindTemplate'],_0x2b3203=new _0x12bcf5();_0x2b3203['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':[_0x2b3203,{'text':_0x334183['to']('imageUploadProgress',_0x3ba819=>t('Loading\x20image...')+'\x20('+(_0x3ba819||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 _0x2a26a5,View as _0x7da50}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x7da50{constructor(_0x144bfe){super(_0x144bfe);const t=_0x144bfe['t'],_0x50425f=this['bindTemplate'],_0x3a8472=new _0x2a26a5();_0x3a8472['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':[_0x3a8472,{'text':_0x50425f['to']('imageUploadProgress',_0x2b12e9=>t('Loading\x20image...')+'\x20('+(_0x2b12e9||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb12915=_0x4201;(function(_0x3a16e7,_0x3cbc1c){const _0x404809=_0x4201,_0x1f297b=_0x3a16e7();while(!![]){try{const _0x3c18f3=parseInt(_0x404809(0x10d))/0x1*(-parseInt(_0x404809(0x127))/0x2)+parseInt(_0x404809(0x11e))/0x3*(parseInt(_0x404809(0x103))/0x4)+parseInt(_0x404809(0x107))/0x5*(parseInt(_0x404809(0xf7))/0x6)+-parseInt(_0x404809(0x115))/0x7+parseInt(_0x404809(0x11c))/0x8+parseInt(_0x404809(0x11b))/0x9*(-parseInt(_0x404809(0xfc))/0xa)+parseInt(_0x404809(0xf9))/0xb;if(_0x3c18f3===_0x3cbc1c)break;else _0x1f297b['push'](_0x1f297b['shift']());}catch(_0x447b7f){_0x1f297b['push'](_0x1f297b['shift']());}}}(_0x47f1,0x8cf9c));import{View as _0x36edc4}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x159ee8}from'./uploadcareimageeditformloadingview.js';function _0x4201(_0x5a291e,_0x338260){const _0x47f169=_0x47f1();return _0x4201=function(_0x4201cf,_0x3c363e){_0x4201cf=_0x4201cf-0xf4;let _0x2c749c=_0x47f169[_0x4201cf];return _0x2c749c;},_0x4201(_0x5a291e,_0x338260);}import{UploadcareImageEditFormErrorView as _0x32be89}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x7b7869}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x27ae75}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x27ae75{[_0xb12915(0x108)];[_0xb12915(0x10e)];[_0xb12915(0x10a)];[_0xb12915(0x106)];[_0xb12915(0x129)];constructor(_0xf2833,_0x41842d,_0x173090){const _0x993403=_0xb12915;super(_0xf2833),this[_0x993403(0x108)]=this[_0x993403(0x125)](),this[_0x993403(0x10e)]=new _0x159ee8(_0xf2833),this[_0x993403(0x10a)]=new _0x32be89(_0xf2833),this[_0x993403(0x106)]=new _0x7b7869(_0xf2833,_0x173090),this[_0x993403(0x129)]=new _0x36edc4(_0xf2833),this[_0x993403(0x129)][_0x993403(0x120)](this[_0x993403(0x122)]()),this[_0x993403(0xff)](_0x993403(0x12b),_0x41842d),this[_0x993403(0x120)]({'tag':_0x993403(0x111),'attributes':{'class':['ck',_0x993403(0x12a),_0x993403(0x110)],'tabindex':'-1'},'children':this[_0x993403(0x108)]}),this[_0x993403(0xf6)](),this[_0x993403(0x116)](_0x993403(0xf4),()=>{const _0x575070=_0x993403;this[_0x575070(0x114)](this[_0x575070(0x123)],_0x189888=>{const _0x312f0f=_0x575070;this[_0x312f0f(0x104)](_0x189888);});}),this['on'](_0x993403(0x101),()=>{const _0x1e6a87=_0x993403;this[_0x1e6a87(0xf6)]();}),this[_0x993403(0x10f)]();}[_0xb12915(0x105)](){const _0x22aeb4=_0xb12915;this[_0x22aeb4(0x123)][_0x22aeb4(0x105)]();}[_0xb12915(0xf6)](){const _0x4a3051=_0xb12915;switch(this[_0x4a3051(0x108)][_0x4a3051(0x117)](),this[_0x4a3051(0x12b)]){case _0x4a3051(0x113):this[_0x4a3051(0x108)][_0x4a3051(0x11f)](this[_0x4a3051(0x10e)]);break;case _0x4a3051(0x126):this[_0x4a3051(0x108)][_0x4a3051(0x11f)](this[_0x4a3051(0x10a)]);break;case _0x4a3051(0x10c):this[_0x4a3051(0x108)][_0x4a3051(0x10b)]([this[_0x4a3051(0x106)],this[_0x4a3051(0x129)]]);}}[_0xb12915(0x114)](_0x3a103a,_0x1d6950){const _0x377fe9=_0xb12915,_0x1fb85e=_0x377fe9(0xf5),_0x3dacd3=_0x3a103a[_0x377fe9(0x100)](_0x1fb85e);if(_0x3dacd3)return _0x1d6950(_0x3dacd3);const _0x54b288=new MutationObserver(_0x32051b=>{const _0x11b289=_0x377fe9,_0x5ac3cc=_0x32051b[_0x11b289(0x128)](_0x4429e3=>_0x4429e3[_0x11b289(0x119)]===_0x3a103a&&_0x4429e3[_0x11b289(0x112)][_0x11b289(0x11a)]>0x0&&_0x4429e3[_0x11b289(0x112)][0x0][_0x11b289(0xfe)][_0x11b289(0x109)]()===_0x1fb85e);_0x5ac3cc[_0x11b289(0x11a)]&&(_0x54b288[_0x11b289(0x121)](),_0x1d6950(_0x5ac3cc[0x0][_0x11b289(0x112)][0x0]));});_0x54b288[_0x377fe9(0xfd)](_0x3a103a,{'childList':!0x0,'subtree':!0x0});}[_0xb12915(0x104)](_0x1f9444){const _0x5e1a0c=_0xb12915;_0x1f9444[_0x5e1a0c(0xf8)](_0x5e1a0c(0x118),_0x2936bc=>{const _0x120c2b=_0x5e1a0c;this[_0x120c2b(0xfa)](_0x120c2b(0x118),{'imageSrc':_0x2936bc[_0x120c2b(0x11d)][_0x120c2b(0x102)]});}),_0x1f9444[_0x5e1a0c(0xf8)](_0x5e1a0c(0x124),()=>{const _0x2ff24c=_0x5e1a0c;this[_0x2ff24c(0xfa)](_0x2ff24c(0x124));});}[_0xb12915(0x10f)](){const _0x496e35=_0xb12915;this[_0x496e35(0x10a)]['on'](_0x496e35(0xfb),()=>{const _0x1aae21=_0x496e35;this[_0x1aae21(0xfa)](_0x1aae21(0xfb));});}}function _0x47f1(){const _0x258eb6=['4423672rsAgJU','fire','retry','1800980iavOsx','observe','nodeName','set','querySelector','change:status','cdnUrl','452bymBfB','_addUploadcareImageEditorListeners','focus','_editingView','3043960AIJhgR','_items','toLowerCase','_errorView','addMany','ready','10792NTkmju','_loadingView','_addErrorViewListeners','ck-uploadcare-form','div','addedNodes','uploading','_waitForImageEditorComponent','1376977vXVNmK','once','clear','apply','target','length','45rGcAVp','2949832spOrHV','detail','20724KcSAQr','add','setTemplate','disconnect','getFocusableElement','element','cancel','createCollection','error','90JeQlLF','filter','_focusableView','ck-reset_all-excluded','status','render','uc-cloud-image-editor','_setView','6hqrdJZ','addEventListener'];_0x47f1=function(){return _0x258eb6;};return _0x47f1();}
23
+ const _0x5cf3f0=_0x19ab;(function(_0x4bce53,_0x2285ba){const _0x5e664e=_0x19ab,_0x3486cb=_0x4bce53();while(!![]){try{const _0x4eb735=parseInt(_0x5e664e(0x19d))/0x1+parseInt(_0x5e664e(0x196))/0x2+-parseInt(_0x5e664e(0x18e))/0x3*(-parseInt(_0x5e664e(0x197))/0x4)+-parseInt(_0x5e664e(0x18f))/0x5+parseInt(_0x5e664e(0x194))/0x6*(-parseInt(_0x5e664e(0x1a9))/0x7)+-parseInt(_0x5e664e(0x1b1))/0x8*(parseInt(_0x5e664e(0x195))/0x9)+parseInt(_0x5e664e(0x199))/0xa;if(_0x4eb735===_0x2285ba)break;else _0x3486cb['push'](_0x3486cb['shift']());}catch(_0xbc8537){_0x3486cb['push'](_0x3486cb['shift']());}}}(_0x2e84,0xbf356));function _0x2e84(){const _0x4f0702=['target','ck-uploadcare-form','focus','once','retry','add','apply','element','setTemplate','fire','ready','addMany','error','div','nodeName','status','toLowerCase','_editingView','348ljvwwS','4642710qNKDkL','clear','cdnUrl','createCollection','_waitForImageEditorComponent','138ySTRFM','9cIywvM','2102240GUKUZa','6628kquays','_errorView','17386040cvFGVM','_addErrorViewListeners','ck-reset_all-excluded','addEventListener','418161YMCBle','length','getFocusableElement','filter','uploading','uc-cloud-image-editor','querySelector','detail','_setView','_loadingView','render','cancel','434203lezaRG','set','disconnect','addedNodes','observe','_items','_focusableView','_addUploadcareImageEditorListeners','2093584BYKxGp','change:status'];_0x2e84=function(){return _0x4f0702;};return _0x2e84();}import{View as _0x3f0500}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5c1473}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xbaa170}from'./uploadcareimageeditformerrorview.js';function _0x19ab(_0x475e92,_0x4cb746){const _0x2e840f=_0x2e84();return _0x19ab=function(_0x19aba2,_0x43d6dc){_0x19aba2=_0x19aba2-0x180;let _0xe6a01c=_0x2e840f[_0x19aba2];return _0xe6a01c;},_0x19ab(_0x475e92,_0x4cb746);}import{UploadcareImageEditFormEditingView as _0x487d7d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4b5257}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4b5257{[_0x5cf3f0(0x1ae)];[_0x5cf3f0(0x1a6)];[_0x5cf3f0(0x198)];[_0x5cf3f0(0x18d)];[_0x5cf3f0(0x1af)];constructor(_0x3b4403,_0x3e3344,_0x46b75d){const _0x5b25a8=_0x5cf3f0;super(_0x3b4403),this[_0x5b25a8(0x1ae)]=this[_0x5b25a8(0x192)](),this[_0x5b25a8(0x1a6)]=new _0x5c1473(_0x3b4403),this[_0x5b25a8(0x198)]=new _0xbaa170(_0x3b4403),this[_0x5b25a8(0x18d)]=new _0x487d7d(_0x3b4403,_0x46b75d),this[_0x5b25a8(0x1af)]=new _0x3f0500(_0x3b4403),this[_0x5b25a8(0x1af)][_0x5b25a8(0x184)](this[_0x5b25a8(0x19f)]()),this[_0x5b25a8(0x1aa)](_0x5b25a8(0x18b),_0x3e3344),this[_0x5b25a8(0x184)]({'tag':_0x5b25a8(0x189),'attributes':{'class':['ck',_0x5b25a8(0x19b),_0x5b25a8(0x1b4)],'tabindex':'-1'},'children':this[_0x5b25a8(0x1ae)]}),this[_0x5b25a8(0x1a5)](),this[_0x5b25a8(0x1b6)](_0x5b25a8(0x1a7),()=>{const _0x43d8cf=_0x5b25a8;this[_0x43d8cf(0x193)](this[_0x43d8cf(0x183)],_0xc5d9f7=>{const _0x194ac7=_0x43d8cf;this[_0x194ac7(0x1b0)](_0xc5d9f7);});}),this['on'](_0x5b25a8(0x1b2),()=>{const _0x26200d=_0x5b25a8;this[_0x26200d(0x1a5)]();}),this[_0x5b25a8(0x19a)]();}[_0x5cf3f0(0x1b5)](){const _0x24dd83=_0x5cf3f0;this[_0x24dd83(0x183)][_0x24dd83(0x1b5)]();}[_0x5cf3f0(0x1a5)](){const _0x10fa7c=_0x5cf3f0;switch(this[_0x10fa7c(0x1ae)][_0x10fa7c(0x190)](),this[_0x10fa7c(0x18b)]){case _0x10fa7c(0x1a1):this[_0x10fa7c(0x1ae)][_0x10fa7c(0x181)](this[_0x10fa7c(0x1a6)]);break;case _0x10fa7c(0x188):this[_0x10fa7c(0x1ae)][_0x10fa7c(0x181)](this[_0x10fa7c(0x198)]);break;case _0x10fa7c(0x186):this[_0x10fa7c(0x1ae)][_0x10fa7c(0x187)]([this[_0x10fa7c(0x18d)],this[_0x10fa7c(0x1af)]]);}}[_0x5cf3f0(0x193)](_0x1e0a80,_0x34f9be){const _0xda76ec=_0x5cf3f0,_0x422c46=_0xda76ec(0x1a2),_0x4c876b=_0x1e0a80[_0xda76ec(0x1a3)](_0x422c46);if(_0x4c876b)return _0x34f9be(_0x4c876b);const _0x567419=new MutationObserver(_0x16555e=>{const _0x1999a9=_0xda76ec,_0x4d1ed0=_0x16555e[_0x1999a9(0x1a0)](_0x1aaa96=>_0x1aaa96[_0x1999a9(0x1b3)]===_0x1e0a80&&_0x1aaa96[_0x1999a9(0x1ac)][_0x1999a9(0x19e)]>0x0&&_0x1aaa96[_0x1999a9(0x1ac)][0x0][_0x1999a9(0x18a)][_0x1999a9(0x18c)]()===_0x422c46);_0x4d1ed0[_0x1999a9(0x19e)]&&(_0x567419[_0x1999a9(0x1ab)](),_0x34f9be(_0x4d1ed0[0x0][_0x1999a9(0x1ac)][0x0]));});_0x567419[_0xda76ec(0x1ad)](_0x1e0a80,{'childList':!0x0,'subtree':!0x0});}[_0x5cf3f0(0x1b0)](_0x39c28b){const _0x3e7c78=_0x5cf3f0;_0x39c28b[_0x3e7c78(0x19c)](_0x3e7c78(0x182),_0x4749bf=>{const _0x4406ee=_0x3e7c78;this[_0x4406ee(0x185)](_0x4406ee(0x182),{'imageSrc':_0x4749bf[_0x4406ee(0x1a4)][_0x4406ee(0x191)]});}),_0x39c28b[_0x3e7c78(0x19c)](_0x3e7c78(0x1a8),()=>{const _0x45a948=_0x3e7c78;this[_0x45a948(0x185)](_0x45a948(0x1a8));});}[_0x5cf3f0(0x19a)](){const _0x4ee236=_0x5cf3f0;this[_0x4ee236(0x198)]['on'](_0x4ee236(0x180),()=>{const _0x1865f6=_0x4ee236;this[_0x1865f6(0x185)](_0x1865f6(0x180));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6eab(_0xd6f66e,_0x43fa85){const _0x12317e=_0x1231();return _0x6eab=function(_0x6eab6b,_0x47126e){_0x6eab6b=_0x6eab6b-0x1af;let _0x1e75de=_0x12317e[_0x6eab6b];return _0x1e75de;},_0x6eab(_0xd6f66e,_0x43fa85);}const _0x2c59d6=_0x6eab;(function(_0x55dc05,_0x3f7833){const _0x1aa84b=_0x6eab,_0x388175=_0x55dc05();while(!![]){try{const _0x171c3c=parseInt(_0x1aa84b(0x1c4))/0x1*(-parseInt(_0x1aa84b(0x1c7))/0x2)+parseInt(_0x1aa84b(0x1ba))/0x3*(parseInt(_0x1aa84b(0x1af))/0x4)+-parseInt(_0x1aa84b(0x1b3))/0x5+-parseInt(_0x1aa84b(0x1b1))/0x6+-parseInt(_0x1aa84b(0x1b7))/0x7*(-parseInt(_0x1aa84b(0x1c8))/0x8)+-parseInt(_0x1aa84b(0x1c3))/0x9+parseInt(_0x1aa84b(0x1b9))/0xa*(parseInt(_0x1aa84b(0x1bd))/0xb);if(_0x171c3c===_0x3f7833)break;else _0x388175['push'](_0x388175['shift']());}catch(_0x4d1035){_0x388175['push'](_0x388175['shift']());}}}(_0x1231,0xccfac));import{Command as _0x256441}from'ckeditor5/src/core.js';import{Dialog as _0x1afd04}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x1ec897}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x39f011}from'../utils/editingutils.js';function _0x1231(){const _0x20b366=['7747525PhCFrU','config','imageEditController','document','189AAuwQq','getSelectedElement','50QRZjmh','5001RBifrZ','uploadcare.allowExternalImagesEditing','selection','9138173ISIZjW','execute','element','_isEditable','isActive','set','8334126CzignR','3aBeUHJ','bind','isEnabled','720730yVhuvw','169976jfJqtx','editor','model','refresh','imageBlock','imageInline','requires','get','84IeePtE','plugins','2197086DOqtFX','unbind'];_0x1231=function(){return _0x20b366;};return _0x1231();}export class UploadcareImageEditCommand extends _0x256441{[_0x2c59d6(0x1b5)];static get[_0x2c59d6(0x1ce)](){return[_0x1afd04];}[_0x2c59d6(0x1c0)];constructor(_0x48bccd){const _0x5571e0=_0x2c59d6;super(_0x48bccd),this[_0x5571e0(0x1b5)]=void 0x0,this[_0x5571e0(0x1c0)]=_0x39f011(_0x48bccd[_0x5571e0(0x1b4)][_0x5571e0(0x1cf)](_0x5571e0(0x1bb))||[]),this[_0x5571e0(0x1c2)]({'isActive':!0x1});}[_0x2c59d6(0x1cb)](){const _0x32398f=_0x2c59d6,_0x1d85de=this[_0x32398f(0x1c9)][_0x32398f(0x1ca)][_0x32398f(0x1b6)][_0x32398f(0x1bc)][_0x32398f(0x1b8)]();this[_0x32398f(0x1c6)]=this[_0x32398f(0x1c0)](_0x1d85de);}[_0x2c59d6(0x1be)](){const _0x3d6229=_0x2c59d6;this[_0x3d6229(0x1b5)]&&(this[_0x3d6229(0x1b2)](_0x3d6229(0x1c1)),this[_0x3d6229(0x1b5)]=void 0x0);const _0xf33b02=this[_0x3d6229(0x1c9)][_0x3d6229(0x1ca)][_0x3d6229(0x1b6)][_0x3d6229(0x1bc)][_0x3d6229(0x1b8)]();_0xf33b02&&(_0xf33b02['is'](_0x3d6229(0x1bf),_0x3d6229(0x1cc))||_0xf33b02['is'](_0x3d6229(0x1bf),_0x3d6229(0x1cd)))&&(this[_0x3d6229(0x1b5)]=new _0x1ec897(this[_0x3d6229(0x1c9)],this[_0x3d6229(0x1c9)][_0x3d6229(0x1b0)][_0x3d6229(0x1cf)](_0x1afd04),_0xf33b02),this[_0x3d6229(0x1c5)](_0x3d6229(0x1c1))['to'](this[_0x3d6229(0x1b5)],_0x3d6229(0x1c1)));}}
23
+ const _0x209b3c=_0xf433;(function(_0x11ff76,_0x54bf26){const _0xf02e89=_0xf433,_0x4a9111=_0x11ff76();while(!![]){try{const _0x31391d=-parseInt(_0xf02e89(0x184))/0x1+parseInt(_0xf02e89(0x17a))/0x2*(parseInt(_0xf02e89(0x186))/0x3)+parseInt(_0xf02e89(0x183))/0x4+-parseInt(_0xf02e89(0x17f))/0x5*(parseInt(_0xf02e89(0x18e))/0x6)+parseInt(_0xf02e89(0x187))/0x7*(parseInt(_0xf02e89(0x175))/0x8)+parseInt(_0xf02e89(0x18d))/0x9+-parseInt(_0xf02e89(0x178))/0xa;if(_0x31391d===_0x54bf26)break;else _0x4a9111['push'](_0x4a9111['shift']());}catch(_0x3769b6){_0x4a9111['push'](_0x4a9111['shift']());}}}(_0x4440,0x43c68));import{Command as _0x15fc01}from'ckeditor5/src/core.js';function _0x4440(){const _0x31b515=['imageEditController','execute','get','283820ClLmDD','491585doNlQp','refresh','415218BTqfQt','7keNHIh','model','bind','uploadcare.allowExternalImagesEditing','isEnabled','editor','1593369iFkhxp','18yFtKHt','isActive','set','_isEditable','requires','plugins','document','1969232DYCaSj','element','imageInline','603700uyRKBt','selection','8AKgghz','config','imageBlock','unbind','getSelectedElement','363685Mxngvq'];_0x4440=function(){return _0x31b515;};return _0x4440();}import{Dialog as _0x325b89}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xda8e76}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x15c697}from'../utils/editingutils.js';function _0xf433(_0x43fb02,_0x57f644){const _0x4440c2=_0x4440();return _0xf433=function(_0xf43336,_0x11b2f0){_0xf43336=_0xf43336-0x175;let _0x4cf8b6=_0x4440c2[_0xf43336];return _0x4cf8b6;},_0xf433(_0x43fb02,_0x57f644);}export class UploadcareImageEditCommand extends _0x15fc01{[_0x209b3c(0x180)];static get[_0x209b3c(0x192)](){return[_0x325b89];}[_0x209b3c(0x191)];constructor(_0x5e95af){const _0x4ec148=_0x209b3c;super(_0x5e95af),this[_0x4ec148(0x180)]=void 0x0,this[_0x4ec148(0x191)]=_0x15c697(_0x5e95af[_0x4ec148(0x17b)][_0x4ec148(0x182)](_0x4ec148(0x18a))||[]),this[_0x4ec148(0x190)]({'isActive':!0x1});}[_0x209b3c(0x185)](){const _0x219483=_0x209b3c,_0x54bae5=this[_0x219483(0x18c)][_0x219483(0x188)][_0x219483(0x194)][_0x219483(0x179)][_0x219483(0x17e)]();this[_0x219483(0x18b)]=this[_0x219483(0x191)](_0x54bae5);}[_0x209b3c(0x181)](){const _0x2e9d61=_0x209b3c;this[_0x2e9d61(0x180)]&&(this[_0x2e9d61(0x17d)](_0x2e9d61(0x18f)),this[_0x2e9d61(0x180)]=void 0x0);const _0x2563eb=this[_0x2e9d61(0x18c)][_0x2e9d61(0x188)][_0x2e9d61(0x194)][_0x2e9d61(0x179)][_0x2e9d61(0x17e)]();_0x2563eb&&(_0x2563eb['is'](_0x2e9d61(0x176),_0x2e9d61(0x17c))||_0x2563eb['is'](_0x2e9d61(0x176),_0x2e9d61(0x177)))&&(this[_0x2e9d61(0x180)]=new _0xda8e76(this[_0x2e9d61(0x18c)],this[_0x2e9d61(0x18c)][_0x2e9d61(0x193)][_0x2e9d61(0x182)](_0x325b89),_0x2563eb),this[_0x2e9d61(0x189)](_0x2e9d61(0x18f))['to'](this[_0x2e9d61(0x180)],_0x2e9d61(0x18f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x169c07=_0x38be;function _0x38be(_0x3a9bbb,_0x4bda7d){const _0x162adb=_0x162a();return _0x38be=function(_0x38be15,_0x56d767){_0x38be15=_0x38be15-0x123;let _0x562861=_0x162adb[_0x38be15];return _0x562861;},_0x38be(_0x3a9bbb,_0x4bda7d);}(function(_0x92a2b2,_0x335848){const _0x53c182=_0x38be,_0x36ef73=_0x92a2b2();while(!![]){try{const _0xa92c6c=parseInt(_0x53c182(0x12d))/0x1+-parseInt(_0x53c182(0x12a))/0x2+-parseInt(_0x53c182(0x137))/0x3+parseInt(_0x53c182(0x125))/0x4*(parseInt(_0x53c182(0x136))/0x5)+-parseInt(_0x53c182(0x133))/0x6*(-parseInt(_0x53c182(0x12c))/0x7)+parseInt(_0x53c182(0x135))/0x8*(parseInt(_0x53c182(0x126))/0x9)+parseInt(_0x53c182(0x128))/0xa*(-parseInt(_0x53c182(0x130))/0xb);if(_0xa92c6c===_0x335848)break;else _0x36ef73['push'](_0x36ef73['shift']());}catch(_0x4dfed2){_0x36ef73['push'](_0x36ef73['shift']());}}}(_0x162a,0x7c355));import{Plugin as _0x522306}from'ckeditor5/src/core.js';import{Notification as _0x57cbf9}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x36da42}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x8df7ee}from'./uploadcareimagereplacecommand.js';function _0x162a(){const _0x60f60c=['uploadcareImageEdit','commands','48KNtAZZ','add','24FfrDdo','435bIXnWa','1771260iPUniB','isOfficialPlugin','pluginName','uploadcareImageReplace','init','29304ZDztXt','1403559KKDsqv','isPremiumPlugin','10DgmZLi','ImageEditing','119440IkcCUT','ImageUtils','146573sNBFuL','255661IyQujm','UploadcareImageEditEditing','requires','4064401MvKgUn'];_0x162a=function(){return _0x60f60c;};return _0x162a();}import{UploadcareEditing as _0x5eef7a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x522306{static get[_0x169c07(0x139)](){const _0x2da705=_0x169c07;return _0x2da705(0x12e);}static get[_0x169c07(0x12f)](){const _0x52fc27=_0x169c07;return[_0x5eef7a,_0x57cbf9,_0x52fc27(0x12b),_0x52fc27(0x129)];}static get[_0x169c07(0x138)](){return!0x0;}static get[_0x169c07(0x127)](){return!0x0;}[_0x169c07(0x124)](){const _0x261206=_0x169c07,{editor:_0x363baf}=this;_0x363baf[_0x261206(0x132)][_0x261206(0x134)](_0x261206(0x131),new _0x36da42(_0x363baf)),_0x363baf[_0x261206(0x132)][_0x261206(0x134)](_0x261206(0x123),new _0x8df7ee(_0x363baf));}}
23
+ const _0x28c742=_0x1569;function _0x1569(_0x3026a6,_0xb7ed2d){const _0x4415f4=_0x4415();return _0x1569=function(_0x156907,_0x420a96){_0x156907=_0x156907-0x14a;let _0x5b75e1=_0x4415f4[_0x156907];return _0x5b75e1;},_0x1569(_0x3026a6,_0xb7ed2d);}function _0x4415(){const _0x5adc19=['uploadcareImageReplace','2039660YYEIqQ','945WdZfOM','ImageEditing','commands','add','4118100sWHIxk','15828IQDECh','pluginName','3742788drAXCs','2fbvvmj','requires','4066468yaeOYV','UploadcareImageEditEditing','isOfficialPlugin','uploadcareImageEdit','ImageUtils','isPremiumPlugin','3069hqoSQX','10072PMQTnu','init','804914xFetyf'];_0x4415=function(){return _0x5adc19;};return _0x4415();}(function(_0x380a1c,_0x56bb0a){const _0xa91a8c=_0x1569,_0x3de576=_0x380a1c();while(!![]){try{const _0x3e06f7=parseInt(_0xa91a8c(0x14b))/0x1*(-parseInt(_0xa91a8c(0x156))/0x2)+parseInt(_0xa91a8c(0x14a))/0x3+parseInt(_0xa91a8c(0x14d))/0x4+-parseInt(_0xa91a8c(0x159))/0x5*(parseInt(_0xa91a8c(0x15e))/0x6)+-parseInt(_0xa91a8c(0x158))/0x7+parseInt(_0xa91a8c(0x154))/0x8*(-parseInt(_0xa91a8c(0x153))/0x9)+parseInt(_0xa91a8c(0x15d))/0xa;if(_0x3e06f7===_0x56bb0a)break;else _0x3de576['push'](_0x3de576['shift']());}catch(_0x34028f){_0x3de576['push'](_0x3de576['shift']());}}}(_0x4415,0x9f234));import{Plugin as _0x314670}from'ckeditor5/src/core.js';import{Notification as _0x46a9e2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x46be4c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2a7954}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x18109b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x314670{static get[_0x28c742(0x15f)](){const _0x4dc84e=_0x28c742;return _0x4dc84e(0x14e);}static get[_0x28c742(0x14c)](){const _0x2afe57=_0x28c742;return[_0x18109b,_0x46a9e2,_0x2afe57(0x151),_0x2afe57(0x15a)];}static get[_0x28c742(0x14f)](){return!0x0;}static get[_0x28c742(0x152)](){return!0x0;}[_0x28c742(0x155)](){const _0x48a87f=_0x28c742,{editor:_0x5621cc}=this;_0x5621cc[_0x48a87f(0x15b)][_0x48a87f(0x15c)](_0x48a87f(0x150),new _0x46be4c(_0x5621cc)),_0x5621cc[_0x48a87f(0x15b)][_0x48a87f(0x15c)](_0x48a87f(0x157),new _0x2a7954(_0x5621cc));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4652a5}from'ckeditor5/src/core.js';import{ButtonView as _0x2718a9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd558ad}from'ckeditor5/src/icons.js';import{createElement as _0x4a33dc}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 _0x4652a5{['_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 _0x34cf50=this['editor'];_0x34cf50['ui']['componentFactory']['add']('uploadcareImageEdit',_0x43afb3=>{const _0x363520=_0x34cf50['commands']['get']('uploadcareImageEdit'),_0x421575=new _0x2718a9(_0x43afb3),t=_0x43afb3['t'];return _0x421575['set']({'icon':_0xd558ad,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x421575['bind']('isEnabled')['to'](_0x363520),_0x421575['bind']('isOn')['to'](_0x363520,'isActive'),this['listenTo'](_0x421575,'execute',()=>{_0x34cf50['execute']('uploadcareImageEdit'),_0x34cf50['editing']['view']['focus']();}),_0x421575;}),this['_initConfig']();}['_initConfig'](){const _0x1e8fe7=_0x4a33dc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e8fe7),this['listenTo'](this['editor'],'destroy',()=>{_0x1e8fe7['remove']();});}}
23
+ import{Plugin as _0x1d5acd}from'ckeditor5/src/core.js';import{ButtonView as _0x91b20d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x386fbf}from'ckeditor5/src/icons.js';import{createElement as _0x4b0b5e}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 _0x1d5acd{['_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 _0x406c73=this['editor'];_0x406c73['ui']['componentFactory']['add']('uploadcareImageEdit',_0xd9bfc9=>{const _0x4cd869=_0x406c73['commands']['get']('uploadcareImageEdit'),_0x55db15=new _0x91b20d(_0xd9bfc9),t=_0xd9bfc9['t'];return _0x55db15['set']({'icon':_0x386fbf,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x55db15['bind']('isEnabled')['to'](_0x4cd869),_0x55db15['bind']('isOn')['to'](_0x4cd869,'isActive'),this['listenTo'](_0x55db15,'execute',()=>{_0x406c73['execute']('uploadcareImageEdit'),_0x406c73['editing']['view']['focus']();}),_0x55db15;}),this['_initConfig']();}['_initConfig'](){const _0x1a3666=_0x4b0b5e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1a3666),this['listenTo'](this['editor'],'destroy',()=>{_0x1a3666['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3257ca=_0x3fa8;(function(_0x548025,_0x45115c){const _0x7ebd74=_0x3fa8,_0xea7607=_0x548025();while(!![]){try{const _0x154efb=-parseInt(_0x7ebd74(0x1d9))/0x1*(-parseInt(_0x7ebd74(0x1e6))/0x2)+parseInt(_0x7ebd74(0x1da))/0x3+parseInt(_0x7ebd74(0x1de))/0x4+-parseInt(_0x7ebd74(0x1ee))/0x5+parseInt(_0x7ebd74(0x1e2))/0x6+parseInt(_0x7ebd74(0x1ec))/0x7+parseInt(_0x7ebd74(0x1e0))/0x8*(-parseInt(_0x7ebd74(0x1f1))/0x9);if(_0x154efb===_0x45115c)break;else _0xea7607['push'](_0xea7607['shift']());}catch(_0x488e94){_0xea7607['push'](_0xea7607['shift']());}}}(_0x5d0c,0x84b5f));function _0x3fa8(_0xc2c59e,_0xde5c8d){const _0x5d0cea=_0x5d0c();return _0x3fa8=function(_0x3fa82c,_0x1777d6){_0x3fa82c=_0x3fa82c-0x1d9;let _0x2d33bc=_0x5d0cea[_0x3fa82c];return _0x2d33bc;},_0x3fa8(_0xc2c59e,_0xde5c8d);}function _0x5d0c(){const _0x496bfc=['removeAttribute','3443526okdCmt','change','imageInline','document','260672ZjFZJC','selection','setAttributes','model','execute','isEnabled','7164794FknjyK','refresh','1191655rZhZzA','element','srcset','4707zvrVbZ','1ywkwud','1016013BKvKOa','sizes','editor','getSelectedElement','1989220AOoqEr','imageBlock','27256LHFtoc'];_0x5d0c=function(){return _0x496bfc;};return _0x5d0c();}import{Command as _0x1e96c4}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1e96c4{[_0x3257ca(0x1ed)](){const _0x32fc0c=_0x3257ca,_0x3040d9=this[_0x32fc0c(0x1dc)][_0x32fc0c(0x1e9)][_0x32fc0c(0x1e5)][_0x32fc0c(0x1e7)][_0x32fc0c(0x1dd)]();this[_0x32fc0c(0x1eb)]=Boolean(_0x3040d9&&(_0x3040d9['is'](_0x32fc0c(0x1ef),_0x32fc0c(0x1df))||_0x3040d9['is'](_0x32fc0c(0x1ef),_0x32fc0c(0x1e4))));}[_0x3257ca(0x1ea)](_0x3c2ae3){const _0x429bc0=_0x3257ca,_0x183268=this[_0x429bc0(0x1dc)][_0x429bc0(0x1e9)][_0x429bc0(0x1e5)][_0x429bc0(0x1e7)][_0x429bc0(0x1dd)]();this[_0x429bc0(0x1dc)][_0x429bc0(0x1e9)][_0x429bc0(0x1e3)](_0x340ea3=>{const _0x3b4153=_0x429bc0;_0x340ea3[_0x3b4153(0x1e8)](_0x3c2ae3,_0x183268),_0x340ea3[_0x3b4153(0x1e1)](_0x3b4153(0x1f0),_0x183268),_0x340ea3[_0x3b4153(0x1e1)](_0x3b4153(0x1db),_0x183268);});}}
23
+ const _0x1ebb82=_0x2e70;function _0x2e70(_0x580070,_0x162fb9){const _0x12bbfb=_0x12bb();return _0x2e70=function(_0x2e70f5,_0x5f5bbf){_0x2e70f5=_0x2e70f5-0x12e;let _0x533518=_0x12bbfb[_0x2e70f5];return _0x533518;},_0x2e70(_0x580070,_0x162fb9);}function _0x12bb(){const _0x5a2432=['selection','model','576936MAdcZV','element','9ZicwhY','1003294KZwlEB','sizes','imageBlock','execute','isEnabled','9748zcHQaD','document','5060190WwQeSg','70owJcGX','refresh','removeAttribute','728632ZCzYfe','change','143098HTzxxj','setAttributes','2559579vppvDO','getSelectedElement','2050lvUtOG','imageInline','editor','srcset'];_0x12bb=function(){return _0x5a2432;};return _0x12bb();}(function(_0x4501bf,_0x2fd778){const _0x1fcfb1=_0x2e70,_0x587307=_0x4501bf();while(!![]){try{const _0x4ce2e8=parseInt(_0x1fcfb1(0x13f))/0x1+-parseInt(_0x1fcfb1(0x132))/0x2+-parseInt(_0x1fcfb1(0x134))/0x3+parseInt(_0x1fcfb1(0x144))/0x4*(parseInt(_0x1fcfb1(0x136))/0x5)+-parseInt(_0x1fcfb1(0x13c))/0x6+-parseInt(_0x1fcfb1(0x147))/0x7*(parseInt(_0x1fcfb1(0x130))/0x8)+parseInt(_0x1fcfb1(0x13e))/0x9*(parseInt(_0x1fcfb1(0x146))/0xa);if(_0x4ce2e8===_0x2fd778)break;else _0x587307['push'](_0x587307['shift']());}catch(_0x3f8e8c){_0x587307['push'](_0x587307['shift']());}}}(_0x12bb,0x8cd1b));import{Command as _0x540690}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x540690{[_0x1ebb82(0x12e)](){const _0x3ee202=_0x1ebb82,_0x42bd69=this[_0x3ee202(0x138)][_0x3ee202(0x13b)][_0x3ee202(0x145)][_0x3ee202(0x13a)][_0x3ee202(0x135)]();this[_0x3ee202(0x143)]=Boolean(_0x42bd69&&(_0x42bd69['is'](_0x3ee202(0x13d),_0x3ee202(0x141))||_0x42bd69['is'](_0x3ee202(0x13d),_0x3ee202(0x137))));}[_0x1ebb82(0x142)](_0x321498){const _0x2f6390=_0x1ebb82,_0x4f4093=this[_0x2f6390(0x138)][_0x2f6390(0x13b)][_0x2f6390(0x145)][_0x2f6390(0x13a)][_0x2f6390(0x135)]();this[_0x2f6390(0x138)][_0x2f6390(0x13b)][_0x2f6390(0x131)](_0x4d8b17=>{const _0x518736=_0x2f6390;_0x4d8b17[_0x518736(0x133)](_0x321498,_0x4f4093),_0x4d8b17[_0x518736(0x12f)](_0x518736(0x139),_0x4f4093),_0x4d8b17[_0x518736(0x12f)](_0x518736(0x140),_0x4f4093);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43e1(){var _0x815751=['UploadcareImageEdit','isPremiumPlugin','29005576eyRKIl','3113178oiPHzZ','3331628FADjCD','isOfficialPlugin','requires','4dQSYNr','5932068vtHTuS','3523625CtCDSW','pluginName','8584425uOstpm','93898GilGgE'];_0x43e1=function(){return _0x815751;};return _0x43e1();}var _0x52352f=_0x2164;(function(_0x3344e1,_0x4cc0e8){var _0x3f47b7=_0x2164,_0x5004b1=_0x3344e1();while(!![]){try{var _0x5110c7=parseInt(_0x3f47b7(0x75))/0x1+-parseInt(_0x3f47b7(0x7a))/0x2+parseInt(_0x3f47b7(0x79))/0x3*(parseInt(_0x3f47b7(0x7d))/0x4)+-parseInt(_0x3f47b7(0x74))/0x5+-parseInt(_0x3f47b7(0x7e))/0x6+parseInt(_0x3f47b7(0x7f))/0x7+parseInt(_0x3f47b7(0x78))/0x8;if(_0x5110c7===_0x4cc0e8)break;else _0x5004b1['push'](_0x5004b1['shift']());}catch(_0x4759b1){_0x5004b1['push'](_0x5004b1['shift']());}}}(_0x43e1,0xd91e7));import{Plugin as _0x293e33}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2ff9c1}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2164(_0x30708a,_0x8612f){var _0x43e1de=_0x43e1();return _0x2164=function(_0x2164c9,_0x1eaf37){_0x2164c9=_0x2164c9-0x73;var _0x4aa508=_0x43e1de[_0x2164c9];return _0x4aa508;},_0x2164(_0x30708a,_0x8612f);}import{UploadcareImageEditUI as _0x17066e}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x293e33{static get[_0x52352f(0x73)](){var _0x1dec99=_0x52352f;return _0x1dec99(0x76);}static get[_0x52352f(0x7c)](){return[_0x2ff9c1,_0x17066e];}static get[_0x52352f(0x7b)](){return!0x0;}static get[_0x52352f(0x77)](){return!0x0;}}
23
+ var _0x3db20e=_0x37fa;(function(_0x34b93b,_0x3f0f64){var _0x15b1d1=_0x37fa,_0x345ead=_0x34b93b();while(!![]){try{var _0x5942c5=parseInt(_0x15b1d1(0x10c))/0x1+parseInt(_0x15b1d1(0x10a))/0x2+-parseInt(_0x15b1d1(0x106))/0x3+-parseInt(_0x15b1d1(0x108))/0x4*(parseInt(_0x15b1d1(0x105))/0x5)+parseInt(_0x15b1d1(0x10b))/0x6+-parseInt(_0x15b1d1(0x10f))/0x7*(parseInt(_0x15b1d1(0x103))/0x8)+-parseInt(_0x15b1d1(0x10d))/0x9*(parseInt(_0x15b1d1(0x110))/0xa);if(_0x5942c5===_0x3f0f64)break;else _0x345ead['push'](_0x345ead['shift']());}catch(_0x20aa69){_0x345ead['push'](_0x345ead['shift']());}}}(_0x28df,0x4381c));function _0x37fa(_0x424466,_0xaca0f9){var _0x28dfbc=_0x28df();return _0x37fa=function(_0x37fa5f,_0x26d166){_0x37fa5f=_0x37fa5f-0x103;var _0x1ea904=_0x28dfbc[_0x37fa5f];return _0x1ea904;},_0x37fa(_0x424466,_0xaca0f9);}import{Plugin as _0x3a0633}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5832d8}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3217e4}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3a0633{static get[_0x3db20e(0x104)](){var _0xd6984a=_0x3db20e;return _0xd6984a(0x109);}static get[_0x3db20e(0x107)](){return[_0x5832d8,_0x3217e4];}static get[_0x3db20e(0x111)](){return!0x0;}static get[_0x3db20e(0x10e)](){return!0x0;}}function _0x28df(){var _0x4bd8cf=['1634556CSNALW','120837qInKkX','9iDSOpz','isPremiumPlugin','345457mNjCea','1701290XESWed','isOfficialPlugin','16kwHntD','pluginName','418915JvazWW','873054RAZPVu','requires','4IRblxw','UploadcareImageEdit','1053754llSrrM'];_0x28df=function(){return _0x4bd8cf;};return _0x28df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42f669=_0x9700;function _0x9700(_0x10d350,_0x262f6d){const _0x567982=_0x5679();return _0x9700=function(_0x97005,_0x4ad53a){_0x97005=_0x97005-0x1ec;let _0x4d829c=_0x567982[_0x97005];return _0x4d829c;},_0x9700(_0x10d350,_0x262f6d);}(function(_0x1d645e,_0x5e93d0){const _0x4799c4=_0x9700,_0x1d552e=_0x1d645e();while(!![]){try{const _0x46711f=parseInt(_0x4799c4(0x231))/0x1+-parseInt(_0x4799c4(0x222))/0x2+-parseInt(_0x4799c4(0x236))/0x3+parseInt(_0x4799c4(0x220))/0x4+parseInt(_0x4799c4(0x23a))/0x5*(-parseInt(_0x4799c4(0x20f))/0x6)+parseInt(_0x4799c4(0x204))/0x7*(parseInt(_0x4799c4(0x208))/0x8)+parseInt(_0x4799c4(0x1fe))/0x9*(-parseInt(_0x4799c4(0x20a))/0xa);if(_0x46711f===_0x5e93d0)break;else _0x1d552e['push'](_0x1d552e['shift']());}catch(_0x4dc93e){_0x1d552e['push'](_0x1d552e['shift']());}}}(_0x5679,0xe4bc0));import{Plugin as _0x4557da}from'ckeditor5/src/core.js';import{IconDropbox as _0x17985e,IconFacebook as _0x284d68,IconGoogleDrive as _0x5910b1,IconGooglePhotos as _0x19b785,IconUploadcareImageUpload as _0x3f2512,IconUploadcareLink as _0x54ee89,IconOneDrive as _0x4680c5}from'ckeditor5/src/icons.js';import{ButtonView as _0x43e8b8,MenuBarMenuListItemButtonView as _0x23dc38}from'ckeditor5/src/ui.js';function _0x5679(){const _0x299661=['uploadcareLicenseKeyExpired','has','isImageSelected','108wpPTuH','GPhotos','pluginName','plugins','config','forEach','uploadcare','uploadcareLicenseKeyUsageLimit','entries','domainLimit','_getIntegrationKey','_licenseKeyCheckInterval','reduce','expired','UploadcareUI','isPremiumPlugin','Dropbox','5016224qubltD','uploadcare.uploader.sourceList','830896QHryzJ','Uploadcare','_showLicenseError','licenseKey','icon','invalid','Replace','assetManager','isEnabled','bind','_createDropdownButtons','evaluationLimit','GDrive','init','destroy','1066875dcimXd','_createButton','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','url','4015959SwDgRk','execute','OneDrive','_normalizeConfigSourceList','6675nwObar','push','map','Insert','usageLimit','upload','_createMenuBarButtons','featureNotAllowed','uploadcareLicenseKeyValid','URL','get','trialLimit','locale','ImageInsertUI','commands','type','editor','registerIntegration','afterInit','Facebook','uploadcareLicenseKeyEvaluationLimit','9IYByvR','uploadcareLicenseKeyInvalid','label','withText','Local','_createToolbarButton','714399bjdwlp','isOfficialPlugin','tooltip','uploadcareLicenseKeyNotAllowed','72PQrubV','shortText','5244170yIVTpT','text'];_0x5679=function(){return _0x299661;};return _0x5679();}import{UploadcareSource as _0x1c6357}from'./uploadcareconfig.js';import{getTranslation as _0x4efc1a}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 _0x4557da{[_0x42f669(0x225)];[_0x42f669(0x21a)];static get[_0x42f669(0x211)](){const _0x37db70=_0x42f669;return _0x37db70(0x21d);}static get[_0x42f669(0x205)](){return!0x0;}static get[_0x42f669(0x21e)](){return!0x0;}[_0x42f669(0x22f)](){const _0x107c82=_0x42f669;this[_0x107c82(0x225)]=this[_0x107c82(0x1f9)][_0x107c82(0x213)][_0x107c82(0x1f3)](_0x107c82(0x225));const _0x40eb73=this[_0x107c82(0x1f9)];this[_0x107c82(0x21a)]=setInterval(()=>{const _0x586f5c=_0x107c82;let _0x5880d7;for(const _0x3382bc in _0x40eb73){const _0x3ab247=_0x3382bc,_0x28b5e4=_0x40eb73[_0x3ab247];if(_0x586f5c(0x1f1)==_0x28b5e4||_0x586f5c(0x1ff)==_0x28b5e4||_0x586f5c(0x20c)==_0x28b5e4||_0x586f5c(0x233)==_0x28b5e4||_0x586f5c(0x207)==_0x28b5e4||_0x586f5c(0x1fd)==_0x28b5e4||_0x586f5c(0x234)==_0x28b5e4||_0x586f5c(0x216)==_0x28b5e4){delete _0x40eb73[_0x3ab247],_0x5880d7=_0x28b5e4,clearInterval(this[_0x586f5c(0x21a)]),this[_0x586f5c(0x21a)]=void 0x0;break;}}_0x586f5c(0x1ff)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x227)),_0x586f5c(0x20c)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x21c)),_0x586f5c(0x233)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x218)),_0x586f5c(0x207)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x1f0),_0x586f5c(0x223)),_0x586f5c(0x1fd)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x22d)),_0x586f5c(0x234)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x1f4)),_0x586f5c(0x216)==_0x5880d7&&_0x40eb73[_0x586f5c(0x224)](_0x586f5c(0x1ed));},0x3e8);}[_0x42f669(0x1fb)](){const _0x3d597a=_0x42f669,{editor:_0x39763f}=this,_0x5eb116=_0x39763f[_0x3d597a(0x1f7)][_0x3d597a(0x1f3)](_0x3d597a(0x215));if(!_0x5eb116)return;const _0x526ab6=this[_0x3d597a(0x239)](_0x39763f[_0x3d597a(0x213)][_0x3d597a(0x1f3)](_0x3d597a(0x221)))[_0x3d597a(0x21b)]((_0xaa0ea0,_0x2d7c33)=>{const _0x1d8599=_0x3d597a,_0x274b7a=this[_0x1d8599(0x219)](_0x2d7c33[_0x1d8599(0x1f8)]);return _0xaa0ea0[_0x274b7a]||(_0xaa0ea0[_0x274b7a]=[]),_0xaa0ea0[_0x274b7a][_0x1d8599(0x23b)](_0x2d7c33),_0xaa0ea0;},{});_0x39763f[_0x3d597a(0x212)][_0x3d597a(0x20d)](_0x3d597a(0x1f6))&&_0x39763f[_0x3d597a(0x1f7)][_0x3d597a(0x1f3)](_0x3d597a(0x215))&&Object[_0x3d597a(0x217)](_0x526ab6)[_0x3d597a(0x214)](([_0x2378b2,_0x16a692])=>{const _0x5b2899=_0x3d597a;_0x39763f[_0x5b2899(0x212)][_0x5b2899(0x1f3)](_0x5b2899(0x1f6))[_0x5b2899(0x1fa)]({'name':_0x2378b2,'observable':()=>_0x5eb116,'buttonViewCreator':()=>this[_0x5b2899(0x203)](_0x16a692),'formViewCreator':()=>this[_0x5b2899(0x22c)](_0x16a692),'menuBarButtonViewCreator':()=>this[_0x5b2899(0x1ef)](_0x16a692),'override':_0x5b2899(0x229)!==_0x2378b2});});}[_0x42f669(0x230)](){const _0x5c338c=_0x42f669;super[_0x5c338c(0x230)](),this[_0x5c338c(0x21a)]&&clearInterval(this[_0x5c338c(0x21a)]);}[_0x42f669(0x239)](_0x41cf88){const _0x502388=_0x42f669,{locale:_0xe00701}=this[_0x502388(0x1f9)];return _0x41cf88[_0x502388(0x23c)](_0x2bae1e=>{const _0x21b0fb=_0x502388,_0x404d53=_0x4efc1a(_0xe00701,_0x2bae1e,_0x21b0fb(0x1ec));switch(_0x2bae1e){case _0x1c6357[_0x21b0fb(0x202)]:return{'icon':_0x3f2512,'type':_0x1c6357[_0x21b0fb(0x202)],..._0x404d53};case _0x1c6357[_0x21b0fb(0x1f2)]:return{'icon':_0x54ee89,'type':_0x1c6357[_0x21b0fb(0x1f2)],..._0x404d53};case _0x1c6357[_0x21b0fb(0x21f)]:return{'icon':_0x17985e,'type':_0x1c6357[_0x21b0fb(0x21f)],..._0x404d53};case _0x1c6357[_0x21b0fb(0x1fc)]:return{'icon':_0x284d68,'type':_0x1c6357[_0x21b0fb(0x1fc)],..._0x404d53};case _0x1c6357[_0x21b0fb(0x22e)]:return{'icon':_0x5910b1,'type':_0x1c6357[_0x21b0fb(0x22e)],..._0x404d53};case _0x1c6357[_0x21b0fb(0x210)]:return{'icon':_0x19b785,'type':_0x1c6357[_0x21b0fb(0x210)],..._0x404d53};case _0x1c6357[_0x21b0fb(0x238)]:return{'icon':_0x4680c5,'type':_0x1c6357[_0x21b0fb(0x238)],..._0x404d53};}});}[_0x42f669(0x219)](_0x1a9da6){const _0x51d175=_0x42f669;switch(_0x1a9da6){case _0x1c6357[_0x51d175(0x202)]:return _0x51d175(0x1ee);case _0x1c6357[_0x51d175(0x1f2)]:return _0x51d175(0x235);default:return _0x51d175(0x229);}}[_0x42f669(0x232)](_0x23f0b1,_0x3a7b90){const _0x7b0ba7=_0x42f669,_0x2126d8=this[_0x7b0ba7(0x1f9)],_0x4912d4=new _0x23f0b1(_0x2126d8[_0x7b0ba7(0x1f5)]),_0x218078=_0x2126d8[_0x7b0ba7(0x1f7)][_0x7b0ba7(0x1f3)](_0x7b0ba7(0x215));return _0x4912d4[_0x7b0ba7(0x22b)](_0x7b0ba7(0x22a))['to'](_0x218078),_0x4912d4['on'](_0x7b0ba7(0x237),()=>{const _0xd915df=_0x7b0ba7;_0x218078[_0xd915df(0x237)](_0x3a7b90);}),_0x4912d4;}[_0x42f669(0x203)](_0x28af19){const _0x3d8417=_0x42f669,{locale:_0x2ffcd4}=this[_0x3d8417(0x1f9)],_0x49ce0d=this[_0x3d8417(0x1f9)][_0x3d8417(0x212)][_0x3d8417(0x1f3)](_0x3d8417(0x1f6)),_0x43c823=_0x28af19[0x0],_0x4df80f=this[_0x3d8417(0x232)](_0x43e8b8,_0x43c823[_0x3d8417(0x1f8)]);return _0x4df80f[_0x3d8417(0x226)]=_0x43c823[_0x3d8417(0x226)],_0x4df80f[_0x3d8417(0x22b)](_0x3d8417(0x200))['to'](_0x49ce0d,_0x3d8417(0x20e),_0x22703e=>_0x4efc1a(_0x2ffcd4,_0x43c823[_0x3d8417(0x1f8)],_0x22703e?_0x3d8417(0x228):_0x3d8417(0x1ec))[_0x3d8417(0x20b)]),_0x4df80f[_0x3d8417(0x206)]=!0x0,_0x4df80f;}[_0x42f669(0x22c)](_0x5d19a3){const _0x117f48=_0x42f669,{locale:_0x275a1a}=this[_0x117f48(0x1f9)],_0x5cf6d0=this[_0x117f48(0x1f9)][_0x117f48(0x212)][_0x117f48(0x1f3)](_0x117f48(0x1f6));return _0x5d19a3[_0x117f48(0x23c)](_0x22f772=>{const _0x3796b1=_0x117f48,_0x4a6393=this[_0x3796b1(0x232)](_0x43e8b8,_0x22f772[_0x3796b1(0x1f8)]);return _0x4a6393[_0x3796b1(0x201)]=!0x0,_0x4a6393[_0x3796b1(0x226)]=_0x22f772[_0x3796b1(0x226)],_0x4a6393[_0x3796b1(0x22b)](_0x3796b1(0x200))['to'](_0x5cf6d0,_0x3796b1(0x20e),_0x21314b=>_0x4efc1a(_0x275a1a,_0x22f772[_0x3796b1(0x1f8)],_0x21314b?_0x3796b1(0x228):_0x3796b1(0x1ec))[_0x3796b1(0x20b)]),_0x4a6393;});}[_0x42f669(0x1ef)](_0x47d24f){const _0x57866c=_0x42f669;return _0x47d24f[_0x57866c(0x23c)](_0x4744ac=>{const _0x2d0e88=_0x57866c,_0x3a031d=this[_0x2d0e88(0x232)](_0x23dc38,_0x4744ac[_0x2d0e88(0x1f8)]);return _0x3a031d[_0x2d0e88(0x226)]=_0x4744ac[_0x2d0e88(0x226)],_0x3a031d[_0x2d0e88(0x200)]=_0x4744ac[_0x2d0e88(0x209)],_0x3a031d;});}}
23
+ const _0x5ea5ef=_0x34fb;(function(_0x1872f6,_0x40a599){const _0xf47373=_0x34fb,_0x12a453=_0x1872f6();while(!![]){try{const _0x1330d0=-parseInt(_0xf47373(0x11b))/0x1*(parseInt(_0xf47373(0x10c))/0x2)+-parseInt(_0xf47373(0xe3))/0x3+-parseInt(_0xf47373(0xd7))/0x4*(-parseInt(_0xf47373(0x11e))/0x5)+-parseInt(_0xf47373(0x113))/0x6+parseInt(_0xf47373(0xdb))/0x7+parseInt(_0xf47373(0x109))/0x8*(-parseInt(_0xf47373(0xfd))/0x9)+parseInt(_0xf47373(0xee))/0xa;if(_0x1330d0===_0x40a599)break;else _0x12a453['push'](_0x12a453['shift']());}catch(_0x180b14){_0x12a453['push'](_0x12a453['shift']());}}}(_0x452a,0x939fd));import{Plugin as _0x193133}from'ckeditor5/src/core.js';function _0x452a(){const _0x55c69c=['465717AavTHn','bind','_getIntegrationKey','assetManager','icon','licenseKey','evaluationLimit','shortText','609831uJRHED','domainLimit','trialLimit','has','editor','uploadcareLicenseKeyValid','registerIntegration','GPhotos','commands','execute','tooltip','37317020MCGcgs','map','Dropbox','_createToolbarButton','uploadcare','_createButton','uploadcareLicenseKeyDomainLimit','Local','Insert','URL','isOfficialPlugin','_normalizeConfigSourceList','entries','usageLimit','GDrive','17532htNnUk','ImageInsertUI','forEach','uploadcareLicenseKeyNotAllowed','OneDrive','withText','init','invalid','pluginName','uploadcareLicenseKeyEvaluationLimit','UploadcareUI','Replace','4832zmZrnK','push','_createMenuBarButtons','338zmleTY','expired','locale','afterInit','uploadcare.uploader.sourceList','destroy','uploadcareLicenseKeyInvalid','6156246cxavxy','uploadcareLicenseKeyUsageLimit','Facebook','upload','Uploadcare','featureNotAllowed','isEnabled','label','4759PLgZLB','get','plugins','83085OCRgcT','config','uploadcareLicenseKeyTrialLimit','url','isImageSelected','_licenseKeyCheckInterval','text','_createDropdownButtons','_showLicenseError','reduce','4RNfZyM','type','uploadcareLicenseKeyExpired','isPremiumPlugin'];_0x452a=function(){return _0x55c69c;};return _0x452a();}import{IconDropbox as _0x478c3f,IconFacebook as _0x34200a,IconGoogleDrive as _0x3d6acf,IconGooglePhotos as _0x244a51,IconUploadcareImageUpload as _0x475a48,IconUploadcareLink as _0x1502e7,IconOneDrive as _0x5e782f}from'ckeditor5/src/icons.js';import{ButtonView as _0x5d2072,MenuBarMenuListItemButtonView as _0x11c739}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x438dd3}from'./uploadcareconfig.js';import{getTranslation as _0x514266}from'./utils/common-translations.js';function _0x34fb(_0x4573ff,_0x1370fd){const _0x452ab8=_0x452a();return _0x34fb=function(_0x34fb73,_0x83026e){_0x34fb73=_0x34fb73-0xd4;let _0x375906=_0x452ab8[_0x34fb73];return _0x375906;},_0x34fb(_0x4573ff,_0x1370fd);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x193133{[_0x5ea5ef(0xe0)];[_0x5ea5ef(0x123)];static get[_0x5ea5ef(0x105)](){const _0x3c99a6=_0x5ea5ef;return _0x3c99a6(0x107);}static get[_0x5ea5ef(0xf8)](){return!0x0;}static get[_0x5ea5ef(0xda)](){return!0x0;}[_0x5ea5ef(0x103)](){const _0x13ecee=_0x5ea5ef;this[_0x13ecee(0xe0)]=this[_0x13ecee(0xe7)][_0x13ecee(0x11f)][_0x13ecee(0x11c)](_0x13ecee(0xe0));const _0x44510f=this[_0x13ecee(0xe7)];this[_0x13ecee(0x123)]=setInterval(()=>{const _0x5ea5ea=_0x13ecee;let _0x3296b;for(const _0x255f31 in _0x44510f){const _0x582c1f=_0x255f31,_0x56b740=_0x44510f[_0x582c1f];if(_0x5ea5ea(0xe8)==_0x56b740||_0x5ea5ea(0x112)==_0x56b740||_0x5ea5ea(0xd9)==_0x56b740||_0x5ea5ea(0xf4)==_0x56b740||_0x5ea5ea(0x100)==_0x56b740||_0x5ea5ea(0x106)==_0x56b740||_0x5ea5ea(0x120)==_0x56b740||_0x5ea5ea(0x114)==_0x56b740){delete _0x44510f[_0x582c1f],_0x3296b=_0x56b740,clearInterval(this[_0x5ea5ea(0x123)]),this[_0x5ea5ea(0x123)]=void 0x0;break;}}_0x5ea5ea(0x112)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0x104)),_0x5ea5ea(0xd9)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0x10d)),_0x5ea5ea(0xf4)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0xe4)),_0x5ea5ea(0x100)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0x118),_0x5ea5ea(0x117)),_0x5ea5ea(0x106)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0xe1)),_0x5ea5ea(0x120)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0xe5)),_0x5ea5ea(0x114)==_0x3296b&&_0x44510f[_0x5ea5ea(0xd5)](_0x5ea5ea(0xfb));},0x3e8);}[_0x5ea5ef(0x10f)](){const _0x24fb7e=_0x5ea5ef,{editor:_0x3fe938}=this,_0x50394c=_0x3fe938[_0x24fb7e(0xeb)][_0x24fb7e(0x11c)](_0x24fb7e(0xf2));if(!_0x50394c)return;const _0x445c48=this[_0x24fb7e(0xf9)](_0x3fe938[_0x24fb7e(0x11f)][_0x24fb7e(0x11c)](_0x24fb7e(0x110)))[_0x24fb7e(0xd6)]((_0x25343e,_0x411f48)=>{const _0x321b07=_0x24fb7e,_0x3df086=this[_0x321b07(0xdd)](_0x411f48[_0x321b07(0xd8)]);return _0x25343e[_0x3df086]||(_0x25343e[_0x3df086]=[]),_0x25343e[_0x3df086][_0x321b07(0x10a)](_0x411f48),_0x25343e;},{});_0x3fe938[_0x24fb7e(0x11d)][_0x24fb7e(0xe6)](_0x24fb7e(0xfe))&&_0x3fe938[_0x24fb7e(0xeb)][_0x24fb7e(0x11c)](_0x24fb7e(0xf2))&&Object[_0x24fb7e(0xfa)](_0x445c48)[_0x24fb7e(0xff)](([_0x5881db,_0x58bdef])=>{const _0x360f9c=_0x24fb7e;_0x3fe938[_0x360f9c(0x11d)][_0x360f9c(0x11c)](_0x360f9c(0xfe))[_0x360f9c(0xe9)]({'name':_0x5881db,'observable':()=>_0x50394c,'buttonViewCreator':()=>this[_0x360f9c(0xf1)](_0x58bdef),'formViewCreator':()=>this[_0x360f9c(0xd4)](_0x58bdef),'menuBarButtonViewCreator':()=>this[_0x360f9c(0x10b)](_0x58bdef),'override':_0x360f9c(0xde)!==_0x5881db});});}[_0x5ea5ef(0x111)](){const _0x287f0c=_0x5ea5ef;super[_0x287f0c(0x111)](),this[_0x287f0c(0x123)]&&clearInterval(this[_0x287f0c(0x123)]);}[_0x5ea5ef(0xf9)](_0x507d05){const _0x50426e=_0x5ea5ef,{locale:_0x2c384a}=this[_0x50426e(0xe7)];return _0x507d05[_0x50426e(0xef)](_0x2ea1c6=>{const _0x17b45a=_0x50426e,_0x5468f3=_0x514266(_0x2c384a,_0x2ea1c6,_0x17b45a(0xf6));switch(_0x2ea1c6){case _0x438dd3[_0x17b45a(0xf5)]:return{'icon':_0x475a48,'type':_0x438dd3[_0x17b45a(0xf5)],..._0x5468f3};case _0x438dd3[_0x17b45a(0xf7)]:return{'icon':_0x1502e7,'type':_0x438dd3[_0x17b45a(0xf7)],..._0x5468f3};case _0x438dd3[_0x17b45a(0xf0)]:return{'icon':_0x478c3f,'type':_0x438dd3[_0x17b45a(0xf0)],..._0x5468f3};case _0x438dd3[_0x17b45a(0x115)]:return{'icon':_0x34200a,'type':_0x438dd3[_0x17b45a(0x115)],..._0x5468f3};case _0x438dd3[_0x17b45a(0xfc)]:return{'icon':_0x3d6acf,'type':_0x438dd3[_0x17b45a(0xfc)],..._0x5468f3};case _0x438dd3[_0x17b45a(0xea)]:return{'icon':_0x244a51,'type':_0x438dd3[_0x17b45a(0xea)],..._0x5468f3};case _0x438dd3[_0x17b45a(0x101)]:return{'icon':_0x5e782f,'type':_0x438dd3[_0x17b45a(0x101)],..._0x5468f3};}});}[_0x5ea5ef(0xdd)](_0x183fd0){const _0x1baa2b=_0x5ea5ef;switch(_0x183fd0){case _0x438dd3[_0x1baa2b(0xf5)]:return _0x1baa2b(0x116);case _0x438dd3[_0x1baa2b(0xf7)]:return _0x1baa2b(0x121);default:return _0x1baa2b(0xde);}}[_0x5ea5ef(0xf3)](_0x10fca,_0xab7bff){const _0x54d641=_0x5ea5ef,_0x9f6ca0=this[_0x54d641(0xe7)],_0x16b9e2=new _0x10fca(_0x9f6ca0[_0x54d641(0x10e)]),_0x5f3710=_0x9f6ca0[_0x54d641(0xeb)][_0x54d641(0x11c)](_0x54d641(0xf2));return _0x16b9e2[_0x54d641(0xdc)](_0x54d641(0x119))['to'](_0x5f3710),_0x16b9e2['on'](_0x54d641(0xec),()=>{const _0x13625e=_0x54d641;_0x5f3710[_0x13625e(0xec)](_0xab7bff);}),_0x16b9e2;}[_0x5ea5ef(0xf1)](_0x54ec76){const _0x415a19=_0x5ea5ef,{locale:_0x2d6f6e}=this[_0x415a19(0xe7)],_0x3633e6=this[_0x415a19(0xe7)][_0x415a19(0x11d)][_0x415a19(0x11c)](_0x415a19(0xfe)),_0x4cd972=_0x54ec76[0x0],_0x2739bb=this[_0x415a19(0xf3)](_0x5d2072,_0x4cd972[_0x415a19(0xd8)]);return _0x2739bb[_0x415a19(0xdf)]=_0x4cd972[_0x415a19(0xdf)],_0x2739bb[_0x415a19(0xdc)](_0x415a19(0x11a))['to'](_0x3633e6,_0x415a19(0x122),_0x3989aa=>_0x514266(_0x2d6f6e,_0x4cd972[_0x415a19(0xd8)],_0x3989aa?_0x415a19(0x108):_0x415a19(0xf6))[_0x415a19(0x124)]),_0x2739bb[_0x415a19(0xed)]=!0x0,_0x2739bb;}[_0x5ea5ef(0xd4)](_0x4d2783){const _0x57185d=_0x5ea5ef,{locale:_0x418466}=this[_0x57185d(0xe7)],_0x2d86df=this[_0x57185d(0xe7)][_0x57185d(0x11d)][_0x57185d(0x11c)](_0x57185d(0xfe));return _0x4d2783[_0x57185d(0xef)](_0x2a438e=>{const _0x49e5e7=_0x57185d,_0x561af1=this[_0x49e5e7(0xf3)](_0x5d2072,_0x2a438e[_0x49e5e7(0xd8)]);return _0x561af1[_0x49e5e7(0x102)]=!0x0,_0x561af1[_0x49e5e7(0xdf)]=_0x2a438e[_0x49e5e7(0xdf)],_0x561af1[_0x49e5e7(0xdc)](_0x49e5e7(0x11a))['to'](_0x2d86df,_0x49e5e7(0x122),_0x4c1f90=>_0x514266(_0x418466,_0x2a438e[_0x49e5e7(0xd8)],_0x4c1f90?_0x49e5e7(0x108):_0x49e5e7(0xf6))[_0x49e5e7(0x124)]),_0x561af1;});}[_0x5ea5ef(0x10b)](_0x48a9a4){const _0x1345ee=_0x5ea5ef;return _0x48a9a4[_0x1345ee(0xef)](_0x1e248d=>{const _0x115190=_0x1345ee,_0xec4219=this[_0x115190(0xf3)](_0x11c739,_0x1e248d[_0x115190(0xd8)]);return _0xec4219[_0x115190(0xdf)]=_0x1e248d[_0x115190(0xdf)],_0xec4219[_0x115190(0x11a)]=_0x1e248d[_0x115190(0xe2)],_0xec4219;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x31257a}from'ckeditor5/src/core.js';import{FileRepository as _0x46f4c0}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2c1f8d}from'./uploadcareediting.js';import{UploadUtils as _0x1f512f}from'./utils/uploadutils.js';import{getImageUrls as _0x268a3c}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x31257a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x46f4c0,_0x2c1f8d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x306be6=this['editor'];if(!!!_0x306be6['config']['get']('uploadcare'))return;_0x306be6['plugins']['get'](_0x46f4c0)['createUploadAdapter']=_0x4d11a1=>new k(_0x4d11a1,_0x306be6),_0x306be6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x396619,{imageElement:_0x228339,data:_0x43b5b6})=>{_0x306be6['model']['change'](_0x4a3c80=>{_0x4a3c80['setAttribute']('uploadcareImageId',_0x43b5b6['uploadcareImageId'],_0x228339);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x479323,_0x3ff71b){this['loader']=_0x479323,this['editor']=_0x3ff71b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3546f3=await this['loader']['file'];return _0x1f512f['upload']({'file':_0x3546f3,'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':_0x5b628d=>{_0x5b628d&&_0x5b628d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5b628d['value']);}})['then'](async _0x3f8fe1=>{const {imageFallbackUrl:_0x530534,imageSources:_0x28443e}=_0x268a3c(_0x3f8fe1['cdnUrl'],_0x3f8fe1['imageInfo']['width']);return{'uploadcareImageId':_0x3f8fe1['uuid'],'default':_0x530534,'sources':_0x28443e};})['catch'](()=>{const _0x1c45ac=t('Cannot\x20upload\x20file:')+('\x20'+_0x3546f3['name']+'.');return Promise['reject'](_0x1c45ac);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x2ed9b1}from'ckeditor5/src/core.js';import{FileRepository as _0x5e7eed}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5ca39c}from'./uploadcareediting.js';import{UploadUtils as _0x546a06}from'./utils/uploadutils.js';import{getImageUrls as _0x1211ce}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2ed9b1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5e7eed,_0x5ca39c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x340070=this['editor'];if(!!!_0x340070['config']['get']('uploadcare'))return;_0x340070['plugins']['get'](_0x5e7eed)['createUploadAdapter']=_0x166fcc=>new k(_0x166fcc,_0x340070),_0x340070['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x32aa4d,{imageElement:_0x2ff3b6,data:_0x3db7cf})=>{_0x340070['model']['change'](_0x7d43b=>{_0x7d43b['setAttribute']('uploadcareImageId',_0x3db7cf['uploadcareImageId'],_0x2ff3b6);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x58aca9,_0x437a5e){this['loader']=_0x58aca9,this['editor']=_0x437a5e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xcd303e=await this['loader']['file'];return _0x546a06['upload']({'file':_0xcd303e,'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':_0x4d338e=>{_0x4d338e&&_0x4d338e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4d338e['value']);}})['then'](async _0xb72cdc=>{const {imageFallbackUrl:_0x252166,imageSources:_0x1be4a1}=_0x1211ce(_0xb72cdc['cdnUrl'],_0xb72cdc['imageInfo']['width']);return{'uploadcareImageId':_0xb72cdc['uuid'],'default':_0x252166,'sources':_0x1be4a1};})['catch'](()=>{const _0x89dbf0=t('Cannot\x20upload\x20file:')+('\x20'+_0xcd303e['name']+'.');return Promise['reject'](_0x89dbf0);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3271d6}from'../uploadcareconfig.js';export function getTranslation(_0x28a012,_0x21c350,_0x4e6163){const t=_0x28a012['t'],_0x356487=_0x28a012['t'];switch(_0x21c350){case _0x3271d6['Local']:return{'text':_0x356487('Insert'===_0x4e6163?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x356487('From\x20computer')};case _0x3271d6['URL']:return{'text':'Insert'===_0x4e6163?_0x356487('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x356487('Via\x20URL')};case _0x3271d6['Dropbox']:return{'text':t('Insert'===_0x4e6163?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3271d6['Facebook']:return{'text':t('Insert'===_0x4e6163?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3271d6['GDrive']:return{'text':t('Insert'===_0x4e6163?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3271d6['GPhotos']:return{'text':t('Insert'===_0x4e6163?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3271d6['OneDrive']:return{'text':t('Insert'===_0x4e6163?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21c350;}}
23
+ import{UploadcareSource as _0x48b295}from'../uploadcareconfig.js';export function getTranslation(_0x391c0a,_0x2e997a,_0x20d94e){const t=_0x391c0a['t'],_0xbedba3=_0x391c0a['t'];switch(_0x2e997a){case _0x48b295['Local']:return{'text':_0xbedba3('Insert'===_0x20d94e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xbedba3('From\x20computer')};case _0x48b295['URL']:return{'text':'Insert'===_0x20d94e?_0xbedba3('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xbedba3('Via\x20URL')};case _0x48b295['Dropbox']:return{'text':t('Insert'===_0x20d94e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x48b295['Facebook']:return{'text':t('Insert'===_0x20d94e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x48b295['GDrive']:return{'text':t('Insert'===_0x20d94e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x48b295['GPhotos']:return{'text':t('Insert'===_0x20d94e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x48b295['OneDrive']:return{'text':t('Insert'===_0x20d94e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2e997a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xcd3d6b=_0x39a3;function _0x3ed9(){var _0x56e7cd=['36lnjSaF','focusTracker','7992OOckjG','getFocusableElement','158825XZtPgO','404140uCEJdS','826263NKLZoT','18YztlTz','createCollection','div','198650VopSZy','bindTemplate','3428550TDfple','forwardCycle','focusCycler','1192EXlIVJ','73493fFVjoC','fire','true'];_0x3ed9=function(){return _0x56e7cd;};return _0x3ed9();}(function(_0x422491,_0x45b91d){var _0x4582db=_0x39a3,_0x252e54=_0x422491();while(!![]){try{var _0x19091c=-parseInt(_0x4582db(0x195))/0x1+-parseInt(_0x4582db(0x19b))/0x2+-parseInt(_0x4582db(0x197))/0x3+parseInt(_0x4582db(0x191))/0x4*(parseInt(_0x4582db(0x196))/0x5)+parseInt(_0x4582db(0x198))/0x6*(parseInt(_0x4582db(0x1a1))/0x7)+-parseInt(_0x4582db(0x1a0))/0x8*(parseInt(_0x4582db(0x193))/0x9)+parseInt(_0x4582db(0x19d))/0xa;if(_0x19091c===_0x45b91d)break;else _0x252e54['push'](_0x252e54['shift']());}catch(_0x336e5d){_0x252e54['push'](_0x252e54['shift']());}}}(_0x3ed9,0x6a6d1));import{FocusTracker as _0x3c1d04}from'ckeditor5/src/utils.js';import{View as _0x26e046,FocusCycler as _0x2016a6}from'ckeditor5/src/ui.js';function _0x39a3(_0x34029f,_0x5e85ed){var _0x3ed921=_0x3ed9();return _0x39a3=function(_0x39a3ca,_0x1663f6){_0x39a3ca=_0x39a3ca-0x191;var _0x4be249=_0x3ed921[_0x39a3ca];return _0x4be249;},_0x39a3(_0x34029f,_0x5e85ed);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x26e046{[_0xcd3d6b(0x192)];[_0xcd3d6b(0x19f)];constructor(_0x1a47f1){var _0x2dc221=_0xcd3d6b;super(_0x1a47f1),this[_0x2dc221(0x192)]=new _0x3c1d04(),this[_0x2dc221(0x19f)]=new _0x2016a6({'focusables':this[_0x2dc221(0x199)](),'focusTracker':this[_0x2dc221(0x192)]});}[_0xcd3d6b(0x194)](){var _0x10f425=_0xcd3d6b;return{'tag':_0x10f425(0x19a),'attributes':{'aria-hidden':_0x10f425(0x1a3),'tabindex':'0'},'on':{'focus':this[_0x10f425(0x19c)]['to'](()=>{var _0x26fc6b=_0x10f425;this[_0x26fc6b(0x19f)][_0x26fc6b(0x1a2)](_0x26fc6b(0x19e));})}};}}
23
+ var _0x2532f5=_0x1d07;(function(_0x2fabfd,_0x190aee){var _0x30cdd9=_0x1d07,_0x31b285=_0x2fabfd();while(!![]){try{var _0x522ffc=-parseInt(_0x30cdd9(0xa0))/0x1*(-parseInt(_0x30cdd9(0xa8))/0x2)+parseInt(_0x30cdd9(0xb2))/0x3*(parseInt(_0x30cdd9(0xaa))/0x4)+parseInt(_0x30cdd9(0xaf))/0x5*(parseInt(_0x30cdd9(0xa1))/0x6)+-parseInt(_0x30cdd9(0xb1))/0x7*(-parseInt(_0x30cdd9(0xb0))/0x8)+parseInt(_0x30cdd9(0xa7))/0x9+parseInt(_0x30cdd9(0xb3))/0xa+parseInt(_0x30cdd9(0xa2))/0xb*(-parseInt(_0x30cdd9(0xa5))/0xc);if(_0x522ffc===_0x190aee)break;else _0x31b285['push'](_0x31b285['shift']());}catch(_0x44050c){_0x31b285['push'](_0x31b285['shift']());}}}(_0x1eed,0xacc9d));function _0x1d07(_0x5dd1fc,_0x3bfe90){var _0x1eed46=_0x1eed();return _0x1d07=function(_0x1d077d,_0x5909d0){_0x1d077d=_0x1d077d-0x9f;var _0x5b1cdd=_0x1eed46[_0x1d077d];return _0x5b1cdd;},_0x1d07(_0x5dd1fc,_0x3bfe90);}import{FocusTracker as _0x3e2f47}from'ckeditor5/src/utils.js';import{View as _0x66a984,FocusCycler as _0x209d51}from'ckeditor5/src/ui.js';function _0x1eed(){var _0x3b4a14=['48Yrjrkg','bindTemplate','6814116OHBQDu','136342UjNgrI','forwardCycle','1955548ZWXZpk','focusTracker','createCollection','true','focusCycler','6693710XuQgdt','178456eHFvLK','161YNLnLl','3ROZfAl','12758540dKrCJy','getFocusableElement','7LDMXTU','6lSdttK','11393591VKzIHN','div','fire'];_0x1eed=function(){return _0x3b4a14;};return _0x1eed();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x66a984{[_0x2532f5(0xab)];[_0x2532f5(0xae)];constructor(_0x455c4a){var _0x282b41=_0x2532f5;super(_0x455c4a),this[_0x282b41(0xab)]=new _0x3e2f47(),this[_0x282b41(0xae)]=new _0x209d51({'focusables':this[_0x282b41(0xac)](),'focusTracker':this[_0x282b41(0xab)]});}[_0x2532f5(0x9f)](){var _0x78d8a5=_0x2532f5;return{'tag':_0x78d8a5(0xa3),'attributes':{'aria-hidden':_0x78d8a5(0xad),'tabindex':'0'},'on':{'focus':this[_0x78d8a5(0xa6)]['to'](()=>{var _0x53c0ea=_0x78d8a5;this[_0x53c0ea(0xae)][_0x53c0ea(0xa4)](_0x53c0ea(0xa9));})}};}}