@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251023.0 → 0.0.0-nightly-20251024.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 _0x32ded0=_0x58c5;function _0x58c5(_0x247979,_0x3df9c0){const _0x3d37b3=_0x3d37();return _0x58c5=function(_0x58c54c,_0x5ab10c){_0x58c54c=_0x58c54c-0x163;let _0x2a35f3=_0x3d37b3[_0x58c54c];return _0x2a35f3;},_0x58c5(_0x247979,_0x3df9c0);}(function(_0x26e062,_0x3f8a56){const _0x7459dd=_0x58c5,_0x2ce20f=_0x26e062();while(!![]){try{const _0x3c036a=-parseInt(_0x7459dd(0x180))/0x1*(-parseInt(_0x7459dd(0x190))/0x2)+parseInt(_0x7459dd(0x18b))/0x3+parseInt(_0x7459dd(0x1b8))/0x4*(-parseInt(_0x7459dd(0x198))/0x5)+-parseInt(_0x7459dd(0x1af))/0x6*(-parseInt(_0x7459dd(0x176))/0x7)+parseInt(_0x7459dd(0x1a8))/0x8+parseInt(_0x7459dd(0x17f))/0x9*(-parseInt(_0x7459dd(0x181))/0xa)+parseInt(_0x7459dd(0x1b0))/0xb*(-parseInt(_0x7459dd(0x1a4))/0xc);if(_0x3c036a===_0x3f8a56)break;else _0x2ce20f['push'](_0x2ce20f['shift']());}catch(_0x3983b2){_0x2ce20f['push'](_0x2ce20f['shift']());}}}(_0x3d37,0x3e2d6));import{Plugin as _0x213a33}from'ckeditor5/src/core.js';import{Dialog as _0x42caa7}from'ckeditor5/src/ui.js';function _0x3d37(){const _0x36b183=['35WgPAPo','attributeToAttribute','map','body','uploadcare','replaceImageSource','uploadcare.uploader','uc-upload-ctx-provider','_configElement','ucContextId','isOfficialPlugin','conversion','36wXXDcH','uc-config','uploadcareImageId','locale','2722400ccJBLh','upcast','model','appendChild','\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','join','destroy','12CGfVMP','1662210GRbczO','listenTo','selection','fromCharCode','render','imageInline','commands','_initImageProcessingIndicator','237092haxkOa','PictureEditing','ctxElement','querySelector','once','view','_ctxElement','afterInit','href','insertImage','init','#uc-icon-arrow-down','_initCtx','isRegistered','execute','remove','uploadcareImageReplace','uploader-','getAttribute','isPremiumPlugin','pluginName','1466423gExMPC','document','requires','true','imageBlock','config','downcast','editing','iconHrefResolver','1764711ofMJlT','6452suieSI','10JdSoTX','cleanupImage','_initConversion','uploadcare.pubkey','_initSchema','contentLanguage','get','elementToAttribute','editor','UploadcareEditing','382308IchDcX','removeAttribute','schema','configElement','getSelectedElement','134CKUmvb','add','closeMax','input[uploadcare-file-input]','data-uc-image-id','extend','for','_initConfig'];_0x3d37=function(){return _0x36b183;};return _0x3d37();}import{createElement as _0x1452a1,global as _0x4785be,uid as _0x5812db}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2c7950}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4dc7d3}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2b90b6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x213a33{[_0x32ded0(0x1a0)]=null;[_0x32ded0(0x167)]=null;static get[_0x32ded0(0x175)](){const _0x35764d=_0x32ded0;return _0x35764d(0x18a);}static get[_0x32ded0(0x178)](){const _0x399633=_0x32ded0;return[_0x399633(0x1b9),_0x4dc7d3,_0x42caa7];}static get[_0x32ded0(0x1a2)](){return!0x0;}static get[_0x32ded0(0x174)](){return!0x0;}[_0x32ded0(0x1a1)];get[_0x32ded0(0x18e)](){const _0x1fe899=_0x32ded0;return this[_0x1fe899(0x1a0)];}get[_0x32ded0(0x163)](){const _0x91c9ab=_0x32ded0;return this[_0x91c9ab(0x167)];}constructor(_0x42bf14){const _0x3a6c5d=_0x32ded0;super(_0x42bf14),this[_0x3a6c5d(0x1a1)]=_0x5812db();}[_0x32ded0(0x16b)](){const _0x5d06ee=_0x32ded0,_0x272836=this[_0x5d06ee(0x189)];_0x272836[_0x5d06ee(0x1b6)][_0x5d06ee(0x191)](_0x5d06ee(0x19c),new _0x2c7950(_0x272836));}[_0x32ded0(0x168)](){const _0x49c4bb=_0x32ded0;this[_0x49c4bb(0x185)](),this[_0x49c4bb(0x183)](),this[_0x49c4bb(0x197)](),this[_0x49c4bb(0x16d)](),this[_0x49c4bb(0x1b7)](),this[_0x49c4bb(0x1b1)](this[_0x49c4bb(0x189)],_0x49c4bb(0x1ae),()=>{const _0x4a8112=_0x49c4bb;this[_0x4a8112(0x1a0)]&&(this[_0x4a8112(0x1a0)][_0x4a8112(0x170)](),this[_0x4a8112(0x1a0)]=null),this[_0x4a8112(0x167)]&&(this[_0x4a8112(0x167)][_0x4a8112(0x170)](),this[_0x4a8112(0x167)]=null);const _0x34941c=_0x4785be[_0x4a8112(0x177)][_0x4a8112(0x164)](_0x4a8112(0x193));_0x34941c&&_0x34941c[_0x4a8112(0x170)]();}),async function(_0x56ce50){const _0x1f9370=_0xc075b7([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]),_0x5931e0=0x535f8c3a,_0xb4c720=0x5358fb3a^_0x5931e0,_0x434f0c=window[_0xc075b7([0x44,0x61,0x74,0x65])][_0xc075b7([0x6e,0x6f,0x77])](),_0x179dc8=_0x56ce50[_0xc075b7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xd9c27a=new window[(_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7407=>{_0x179dc8[_0xc075b7([0x6f,0x6e,0x63,0x65])](_0xc075b7([0x72,0x65,0x61,0x64,0x79]),_0x2f7407);}),_0x497ce0={[_0xc075b7([0x6b,0x74,0x79])]:_0xc075b7([0x45,0x43]),[_0xc075b7([0x75,0x73,0x65])]:_0xc075b7([0x73,0x69,0x67]),[_0xc075b7([0x63,0x72,0x76])]:_0xc075b7([0x50,0x2d,0x32,0x35,0x36]),[_0xc075b7([0x78])]:_0xc075b7([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]),[_0xc075b7([0x79])]:_0xc075b7([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]),[_0xc075b7([0x61,0x6c,0x67])]:_0xc075b7([0x45,0x53,0x32,0x35,0x36])},_0x2e4ea7=_0x179dc8[_0xc075b7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc075b7([0x67,0x65,0x74])](_0xc075b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18fdfc(){let _0x184dfb,_0x1d714e=null,_0x355e66=null;try{if(_0x2e4ea7==_0xc075b7([0x47,0x50,0x4c]))return _0xc075b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x184dfb=_0x4edf80(),!_0x184dfb)return _0xc075b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x184dfb[_0xc075b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x355e66=_0x4b17b5(_0x184dfb[_0xc075b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x184dfb[_0xc075b7([0x6a,0x74,0x69])])),await _0x2de9ab()?_0x4a862c()?_0x305392()?_0xc075b7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10f4f3()?(_0x184dfb[_0xc075b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc075b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d714e=_0x1a6f5b(_0xc075b7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x184dfb[_0xc075b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc075b7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d714e=_0x1a6f5b(_0xc075b7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a8be9()):_0xc075b7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc075b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc075b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc075b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x305392(){const _0x50f6c6=[_0xc075b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc075b7([0x74,0x72,0x69,0x61,0x6c])][_0xc075b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x184dfb[_0xc075b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x434f0c/0x3e8:0xe10*_0xb4c720;return _0x184dfb[_0xc075b7([0x65,0x78,0x70])]<_0x50f6c6;}function _0x4a862c(){const _0x47e112=_0x184dfb[_0xc075b7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47e112&&(!!_0x47e112[_0xc075b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc075b7([0x2a]))||!!_0x47e112[_0xc075b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc075b7([0x55,0x50,0x4c,0x43])));}function _0x10f4f3(){const _0x2b879c=_0x58c5,_0x582ae5=_0x184dfb[_0xc075b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x582ae5||0x0==_0x582ae5[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c41b4}=new URL(window[_0xc075b7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b879c(0x169)]);if(_0x582ae5[_0xc075b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c41b4))return!0x0;const _0x326158=_0x2c41b4[_0xc075b7([0x73,0x70,0x6c,0x69,0x74])](_0xc075b7([0x2e]));return _0x582ae5[_0xc075b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42e929=>_0x42e929[_0xc075b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc075b7([0x2a])))[_0xc075b7([0x6d,0x61,0x70])](_0xc69f6=>_0xc69f6[_0xc075b7([0x73,0x70,0x6c,0x69,0x74])](_0xc075b7([0x2e])))[_0xc075b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4314a7=>_0x4314a7[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x326158[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc075b7([0x6d,0x61,0x70])](_0x30f49f=>Array(_0x326158[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30f49f[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc075b7([0x66,0x69,0x6c,0x6c])](_0x30f49f[0x0]===_0xc075b7([0x2a])?_0xc075b7([0x2a]):'')[_0xc075b7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30f49f))[_0xc075b7([0x73,0x6f,0x6d,0x65])](_0x448e74=>_0x326158[_0xc075b7([0x65,0x76,0x65,0x72,0x79])]((_0xc28a97,_0x50836b)=>_0x448e74[_0x50836b]===_0xc28a97||_0x448e74[_0x50836b]===_0xc075b7([0x2a])));}function _0x4a8be9(){return _0x1d714e&&_0x355e66?new window[(_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f7270,_0x30c25e)=>{_0x1d714e[_0xc075b7([0x74,0x68,0x65,0x6e])](_0x1f7270,_0x30c25e),_0x355e66[_0xc075b7([0x74,0x68,0x65,0x6e])](_0x505b2f=>{_0x505b2f!=_0xc075b7([0x56,0x61,0x6c,0x69,0x64])&&_0x1f7270(_0x505b2f);},_0x30c25e);}):_0x1d714e||_0x355e66||_0xc075b7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b17b5(_0x51882e,_0x369588){return new window[(_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc17b=>{if(_0x35b9ad())return _0x3bc17b(_0xc075b7([0x56,0x61,0x6c,0x69,0x64]));_0x276f38(),_0x179dc8[_0xc075b7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc075b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39f94b=!0x1;const _0x1245a4=_0x5812db();function _0x29a28f(_0xa9e6bc){return!!_0xa9e6bc&&(typeof _0xa9e6bc===_0xc075b7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa9e6bc===_0xc075b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa9e6bc[_0xc075b7([0x74,0x68,0x65,0x6e])]===_0xc075b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa9e6bc[_0xc075b7([0x63,0x61,0x74,0x63,0x68])]===_0xc075b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14fb5c(_0x3d2323){_0x5b1ae8(_0x3d2323)[_0xc075b7([0x74,0x68,0x65,0x6e])](_0x33b72e=>{if(!_0x33b72e||_0x33b72e[_0xc075b7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc075b7([0x6f,0x6b]))return _0xc075b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x211ff9(_0x2f07bb(_0x1245a4+_0x369588))!=_0x33b72e[_0xc075b7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc075b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc075b7([0x56,0x61,0x6c,0x69,0x64]);})[_0xc075b7([0x74,0x68,0x65,0x6e])](_0x5f5c05=>(_0xbc0fb1(),_0x5f5c05),()=>{const _0x24abc0=_0x181af9();return null==_0x24abc0?(_0xbc0fb1(),_0xc075b7([0x56,0x61,0x6c,0x69,0x64])):_0xc075b7(_0x434f0c-_0x24abc0>(0x7753083a^_0x5931e0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc075b7([0x74,0x68,0x65,0x6e])](_0x3bc17b)[_0xc075b7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3bc17b(_0xc075b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x125ef7=0x536962ba^_0x5931e0;function _0xbc0fb1(){const _0x405c45=_0xc075b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x211ff9(_0x2f07bb(_0x51882e)),_0x4fa1e2=_0x3279e1(_0x211ff9(window[_0xc075b7([0x4d,0x61,0x74,0x68])][_0xc075b7([0x63,0x65,0x69,0x6c])](_0x434f0c/_0x125ef7)));window[_0xc075b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc075b7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x405c45,_0x4fa1e2);}function _0x181af9(){const _0x2364b8=_0xc075b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x211ff9(_0x2f07bb(_0x51882e)),_0x2067b8=window[_0xc075b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc075b7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2364b8);return _0x2067b8?window[_0xc075b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3279e1(_0x2067b8),0x10)*_0x125ef7:null;}function _0x5b1ae8(_0x7c1932){return new window[(_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4073e1,_0x2a1670)=>{_0x7c1932[_0xc075b7([0x74,0x68,0x65,0x6e])](_0x4073e1,_0x2a1670),window[_0xc075b7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a1670,0x535e58fa^_0x5931e0);});}}_0x179dc8[_0xc075b7([0x6f,0x6e])](_0xc075b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c9248,_0x15bfad)=>{if(_0x15bfad[0x0]!=_0x51882e)return _0x3bc17b(_0xc075b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15bfad[0x1]={..._0x15bfad[0x1],[_0xc075b7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1245a4};},{[_0xc075b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc075b7([0x68,0x69,0x67,0x68])}),_0x179dc8[_0xc075b7([0x6f,0x6e])](_0xc075b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x313d72=>{_0x29a28f(_0x313d72[_0xc075b7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39f94b=!0x0,_0x14fb5c(_0x313d72[_0xc075b7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc075b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc075b7([0x6c,0x6f,0x77])}),_0xd9c27a[_0xc075b7([0x74,0x68,0x65,0x6e])](()=>{_0x39f94b||_0x3bc17b(_0xc075b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35b9ad(){return _0x179dc8[_0xc075b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc075b7([0x76,0x69,0x65,0x77])][_0xc075b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc075b7([0x61,0x75,0x74,0x6f]);}function _0x276f38(){_0x179dc8[_0xc075b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc075b7([0x76,0x69,0x65,0x77])][_0xc075b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc075b7([0x61,0x75,0x74,0x6f]);}}function _0x1a6f5b(_0x493e82){const _0x15fee5=[new window[(_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1995db=>setTimeout(_0x1995db,0x5356b2f6^_0x5931e0)),_0xd9c27a[_0xc075b7([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a38e=>{let _0x5f1b09=0x0;_0x179dc8[_0xc075b7([0x6d,0x6f,0x64,0x65,0x6c])][_0xc075b7([0x6f,0x6e])](_0xc075b7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f6795,_0xfb8448)=>{_0xfb8448[0x0][_0xc075b7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f1b09++,_0x5f1b09==(0x535f8dc2^_0x5931e0)&&(_0x35a38e(),_0x3f6795[_0xc075b7([0x6f,0x66,0x66])]());});}))];return window[_0xc075b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc075b7([0x72,0x61,0x63,0x65])](_0x15fee5)[_0xc075b7([0x74,0x68,0x65,0x6e])](()=>_0x493e82);}async function _0x4af88b(){await _0xd9c27a,_0x179dc8[_0xc075b7([0x6d,0x6f,0x64,0x65,0x6c])][_0xc075b7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a01c7,_0x179dc8[_0xc075b7([0x6d,0x6f,0x64,0x65,0x6c])][_0xc075b7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a01c7,_0x179dc8[_0xc075b7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc075b7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44fa21(_0x54279b){const _0x485e6e=_0xc72fba();_0x179dc8[_0x485e6e]=_0xc075b7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54279b,_0x54279b!=_0xc075b7([0x56,0x61,0x6c,0x69,0x64])&&_0x4af88b();}function _0xc72fba(){const _0x5d073b=window[_0xc075b7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc075b7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc075b7([0x6e,0x6f,0x77])]())[_0xc075b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc075b7([0x2e]),'');let _0x1a4159=_0xc075b7([0x68]);for(let _0x3dfd27=0x0;_0x3dfd27<_0x5d073b[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dfd27+=0x2){let _0x23940f=window[_0xc075b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d073b[_0xc075b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dfd27,_0x3dfd27+0x2));_0x23940f>=_0x1f9370[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23940f-=_0x1f9370[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a4159+=_0x1f9370[_0x23940f];}return _0x1a4159;}function _0x4edf80(){const _0x4327f6=_0x2e4ea7[_0xc075b7([0x73,0x70,0x6c,0x69,0x74])](_0xc075b7([0x2e]));if(0x3!=_0x4327f6[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52d51d(_0x4327f6[0x1]);function _0x52d51d(_0x1a909c){const _0x2a7e84=_0x442677(_0x1a909c);return _0x2a7e84&&_0x703b64()?_0x2a7e84:null;function _0x703b64(){const _0x23193e=_0x2a7e84[_0xc075b7([0x6a,0x74,0x69])],_0x383f40=window[_0xc075b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23193e[_0xc075b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23193e[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6ee8c0={..._0x2a7e84,[_0xc075b7([0x6a,0x74,0x69])]:_0x23193e[_0xc075b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23193e[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6ee8c0[_0xc075b7([0x76,0x63])],_0x2f07bb(_0x6ee8c0)==_0x383f40;}}}async function _0x2de9ab(){let _0x847099=!0x0;try{const _0x2099ce=_0x2e4ea7[_0xc075b7([0x73,0x70,0x6c,0x69,0x74])](_0xc075b7([0x2e])),[_0x3b9408,_0x528bb8,_0x1df508]=_0x2099ce;return _0x57e4e4(_0x3b9408),await _0x3cb27b(_0x3b9408,_0x528bb8,_0x1df508),_0x847099;}catch{return!0x1;}function _0x57e4e4(_0x2b83e1){const _0x130672=_0x442677(_0x2b83e1);_0x130672&&_0x130672[_0xc075b7([0x61,0x6c,0x67])]==_0xc075b7([0x45,0x53,0x32,0x35,0x36])||(_0x847099=!0x1);}async function _0x3cb27b(_0x1fb3f8,_0x53e8c1,_0x2196d1){const _0x27a870=window[_0xc075b7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc075b7([0x66,0x72,0x6f,0x6d])](_0x96532a(_0x2196d1),_0x438014=>_0x438014[_0xc075b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5962cf=new window[(_0xc075b7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc075b7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fb3f8+_0xc075b7([0x2e])+_0x53e8c1),_0x31a090=window[_0xc075b7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc075b7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31a090)return;const _0x10070a=await _0x31a090[_0xc075b7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc075b7([0x6a,0x77,0x6b]),_0x497ce0,{[_0xc075b7([0x6e,0x61,0x6d,0x65])]:_0xc075b7([0x45,0x43,0x44,0x53,0x41]),[_0xc075b7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc075b7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc075b7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31a090[_0xc075b7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc075b7([0x6e,0x61,0x6d,0x65])]:_0xc075b7([0x45,0x43,0x44,0x53,0x41]),[_0xc075b7([0x68,0x61,0x73,0x68])]:{[_0xc075b7([0x6e,0x61,0x6d,0x65])]:_0xc075b7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10070a,_0x27a870,_0x5962cf)||(_0x847099=!0x1);}}function _0x442677(_0x5b48ff){return _0x5b48ff[_0xc075b7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc075b7([0x65,0x79]))?JSON[_0xc075b7([0x70,0x61,0x72,0x73,0x65])](_0x96532a(_0x5b48ff)):null;}function _0x96532a(_0x5da6c6){return window[_0xc075b7([0x61,0x74,0x6f,0x62])](_0x5da6c6[_0xc075b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc075b7([0x2b]))[_0xc075b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc075b7([0x2f])));}function _0x2f07bb(_0x19ddf7){let _0x72286=0x1505;function _0x43442a(_0x14162a){for(let _0x2c2e44=0x0;_0x2c2e44<_0x14162a[_0xc075b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c2e44++){const _0x6d33a4=_0x14162a[_0xc075b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c2e44);_0x72286=(_0x72286<<0x5)+_0x72286+_0x6d33a4,_0x72286&=_0x72286;}}function _0x3f430e(_0x2916cb){Array[_0xc075b7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2916cb)?_0x2916cb[_0xc075b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f430e):_0x2916cb&&typeof _0x2916cb==_0xc075b7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc075b7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2916cb)[_0xc075b7([0x73,0x6f,0x72,0x74])]()[_0xc075b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a59b2,_0x4293bd])=>{_0x43442a(_0x4a59b2),_0x3f430e(_0x4293bd);}):_0x43442a(window[_0xc075b7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2916cb));}return _0x3f430e(_0x19ddf7),_0x72286>>>0x0;}function _0x211ff9(_0x4c6904){return _0x4c6904[_0xc075b7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc075b7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc075b7([0x30]));}function _0x3279e1(_0x3adee4){return _0x3adee4[_0xc075b7([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc075b7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc075b7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a01c7(){}function _0xc075b7(_0x1037d5){const _0x530957=_0x58c5;return _0x1037d5[_0x530957(0x19a)](_0x57be49=>String[_0x530957(0x1b3)](_0x57be49))[_0x530957(0x1ad)]('');}_0x44fa21(await _0x18fdfc());}(this);}[_0x32ded0(0x185)](){const _0x5256c9=_0x32ded0,_0x3c1f45=this[_0x5256c9(0x189)][_0x5256c9(0x1aa)][_0x5256c9(0x18d)];_0x3c1f45[_0x5256c9(0x16e)](_0x5256c9(0x17a))&&_0x3c1f45[_0x5256c9(0x195)](_0x5256c9(0x17a),{'allowAttributes':[_0x5256c9(0x1a6)]}),_0x3c1f45[_0x5256c9(0x16e)](_0x5256c9(0x1b5))&&_0x3c1f45[_0x5256c9(0x195)](_0x5256c9(0x1b5),{'allowAttributes':[_0x5256c9(0x1a6)]});}[_0x32ded0(0x183)](){const _0x534bad=_0x32ded0,_0x3cc4f2=this[_0x534bad(0x189)];_0x3cc4f2[_0x534bad(0x1a3)][_0x534bad(0x196)](_0x534bad(0x17c))[_0x534bad(0x199)]({'model':_0x534bad(0x1a6),'view':_0x534bad(0x194)}),_0x3cc4f2[_0x534bad(0x1a3)][_0x534bad(0x196)](_0x534bad(0x1a9))[_0x534bad(0x188)]({'model':{'key':_0x534bad(0x1a6),'value':_0x16b706=>_0x16b706[_0x534bad(0x173)](_0x534bad(0x194))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x323abb=_0x3cc4f2[_0x534bad(0x1b6)][_0x534bad(0x187)](_0x534bad(0x19d));_0x323abb&&this[_0x534bad(0x1b1)](_0x323abb,_0x534bad(0x182),(_0x8d5f9a,[_0x29456a,_0xfd51ea])=>{const _0x524b27=_0x534bad;_0x29456a[_0x524b27(0x18c)](_0x524b27(0x1a6),_0xfd51ea);});}[_0x32ded0(0x197)](){const _0xca7f42=_0x32ded0,_0x4d5c42=this[_0xca7f42(0x189)][_0xca7f42(0x17b)][_0xca7f42(0x187)](_0xca7f42(0x19e))||{},_0x45c2aa=this[_0xca7f42(0x189)][_0xca7f42(0x17b)][_0xca7f42(0x187)](_0xca7f42(0x184))||'';this[_0xca7f42(0x1a0)]=_0x1452a1(_0x4785be[_0xca7f42(0x177)],_0xca7f42(0x1a5),{..._0x4d5c42,'pubkey':_0x45c2aa,'ctx-name':_0xca7f42(0x172)+this[_0xca7f42(0x1a1)],'sourceList':'','imgOnly':_0xca7f42(0x179),'removeCopyright':_0xca7f42(0x179),'localeName':this[_0xca7f42(0x189)][_0xca7f42(0x1a7)][_0xca7f42(0x186)],'externalSourcesEmbedCss':_0xca7f42(0x1ac)}),this[_0xca7f42(0x1a0)][_0xca7f42(0x17e)]=_0x3b5ee4=>{const _0x46e628=_0xca7f42;if(_0x46e628(0x192)==_0x3b5ee4)return _0x46e628(0x16c);},_0x4785be[_0xca7f42(0x177)][_0xca7f42(0x19b)][_0xca7f42(0x1ab)](this[_0xca7f42(0x1a0)]);}[_0x32ded0(0x16d)](){const _0x4dff1c=_0x32ded0;this[_0x4dff1c(0x167)]=_0x1452a1(_0x4785be[_0x4dff1c(0x177)],_0x4dff1c(0x19f),{'ctx-name':_0x4dff1c(0x172)+this[_0x4dff1c(0x1a1)]}),_0x4785be[_0x4dff1c(0x177)][_0x4dff1c(0x19b)][_0x4dff1c(0x1ab)](this[_0x4dff1c(0x167)]);}[_0x32ded0(0x1b7)](){const _0x2499ff=_0x32ded0,_0x50ce68=this[_0x2499ff(0x189)][_0x2499ff(0x1b6)][_0x2499ff(0x187)](_0x2499ff(0x16a));_0x50ce68&&this[_0x2499ff(0x1b1)](_0x50ce68,_0x2499ff(0x16f),()=>{const _0x86e77d=_0x2499ff,_0x53e6fe=this[_0x86e77d(0x189)][_0x86e77d(0x1aa)][_0x86e77d(0x177)][_0x86e77d(0x1b2)][_0x86e77d(0x18f)]();_0x53e6fe&&_0x53e6fe[_0x86e77d(0x173)](_0x86e77d(0x1a6))&&this[_0x86e77d(0x189)][_0x86e77d(0x17d)][_0x86e77d(0x166)][_0x86e77d(0x165)](_0x86e77d(0x1b4),()=>{const _0x8a561f=_0x86e77d;_0x2b90b6(this[_0x8a561f(0x189)],_0x53e6fe);});});const _0x539c51=this[_0x2499ff(0x189)][_0x2499ff(0x1b6)][_0x2499ff(0x187)](_0x2499ff(0x171));_0x539c51&&this[_0x2499ff(0x1b1)](_0x539c51,_0x2499ff(0x16f),()=>{const _0x50e4df=_0x2499ff,_0xdf6fc1=this[_0x50e4df(0x189)][_0x50e4df(0x1aa)][_0x50e4df(0x177)][_0x50e4df(0x1b2)][_0x50e4df(0x18f)]();_0xdf6fc1&&_0xdf6fc1[_0x50e4df(0x173)](_0x50e4df(0x1a6))&&this[_0x50e4df(0x189)][_0x50e4df(0x17d)][_0x50e4df(0x166)][_0x50e4df(0x165)](_0x50e4df(0x1b4),()=>{const _0x4af63b=_0x50e4df;_0x2b90b6(this[_0x4af63b(0x189)],_0xdf6fc1);});});}}
23
+ const _0x454e5b=_0x415b;(function(_0xe5849c,_0xf7ecce){const _0x599dab=_0x415b,_0x6d878e=_0xe5849c();while(!![]){try{const _0x3f3605=parseInt(_0x599dab(0x23c))/0x1*(parseInt(_0x599dab(0x210))/0x2)+-parseInt(_0x599dab(0x223))/0x3*(parseInt(_0x599dab(0x20c))/0x4)+parseInt(_0x599dab(0x1fa))/0x5*(parseInt(_0x599dab(0x227))/0x6)+parseInt(_0x599dab(0x22b))/0x7+parseInt(_0x599dab(0x1f5))/0x8+parseInt(_0x599dab(0x20b))/0x9*(parseInt(_0x599dab(0x207))/0xa)+parseInt(_0x599dab(0x214))/0xb*(-parseInt(_0x599dab(0x201))/0xc);if(_0x3f3605===_0xf7ecce)break;else _0x6d878e['push'](_0x6d878e['shift']());}catch(_0x3cc1c6){_0x6d878e['push'](_0x6d878e['shift']());}}}(_0x2272,0x24683));import{Plugin as _0x2f28bb}from'ckeditor5/src/core.js';function _0x2272(){const _0x53d95d=['imageInline','body','querySelector','uploader-','_configElement','data-uc-image-id','uploadcare','model','replaceImageSource','contentLanguage','80322JOcMzH','execute','PictureEditing','_ctxElement','410094fRzUeU','uploadcare.pubkey','_initSchema','get','1584646lsATqU','schema','removeAttribute','init','ctxElement','afterInit','downcast','locale','document','true','editor','cleanupImage','isOfficialPlugin','uc-config','isPremiumPlugin','map','#uc-icon-arrow-down','176815odslVf','requires','closeMax','for','conversion','isRegistered','getSelectedElement','href','_initConversion','_initImageProcessingIndicator','extend','destroy','view','listenTo','uploadcare.uploader','editing','972992IAFZwK','fromCharCode','uc-upload-ctx-provider','ucContextId','pluginName','15lVDmfR','input[uploadcare-file-input]','join','remove','uploadcareImageId','appendChild','\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','3810108xBdWZk','_initConfig','attributeToAttribute','render','commands','getAttribute','40SZvHfb','config','selection','upcast','10143DXgdiE','40dseIrP','elementToAttribute','iconHrefResolver','add','2REqTYm','_initCtx','insertImage','configElement','11EYjHaA','once','UploadcareEditing','uploadcareImageReplace','imageBlock'];_0x2272=function(){return _0x53d95d;};return _0x2272();}import{Dialog as _0x5c5204}from'ckeditor5/src/ui.js';import{createElement as _0x4f7aa0,global as _0x2edb97,uid as _0x3de82b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a3f36}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x37ebbe}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x47d065}from'./utils/editingutils.js';function _0x415b(_0x1e90e8,_0x33e46d){const _0x2272a2=_0x2272();return _0x415b=function(_0x415bd2,_0x3adde7){_0x415bd2=_0x415bd2-0x1e9;let _0x2b9ae6=_0x2272a2[_0x415bd2];return _0x2b9ae6;},_0x415b(_0x1e90e8,_0x33e46d);}export class UploadcareEditing extends _0x2f28bb{[_0x454e5b(0x21d)]=null;[_0x454e5b(0x226)]=null;static get[_0x454e5b(0x1f9)](){const _0x806f53=_0x454e5b;return _0x806f53(0x216);}static get[_0x454e5b(0x23d)](){const _0x44afde=_0x454e5b;return[_0x44afde(0x225),_0x37ebbe,_0x5c5204];}static get[_0x454e5b(0x237)](){return!0x0;}static get[_0x454e5b(0x239)](){return!0x0;}[_0x454e5b(0x1f8)];get[_0x454e5b(0x213)](){const _0x54f5e0=_0x454e5b;return this[_0x54f5e0(0x21d)];}get[_0x454e5b(0x22f)](){const _0x44c825=_0x454e5b;return this[_0x44c825(0x226)];}constructor(_0x4d6d04){const _0x134db6=_0x454e5b;super(_0x4d6d04),this[_0x134db6(0x1f8)]=_0x3de82b();}[_0x454e5b(0x22e)](){const _0x1a5835=_0x454e5b,_0x210d7a=this[_0x1a5835(0x235)];_0x210d7a[_0x1a5835(0x205)][_0x1a5835(0x20f)](_0x1a5835(0x21f),new _0x2a3f36(_0x210d7a));}[_0x454e5b(0x230)](){const _0x3e443d=_0x454e5b;this[_0x3e443d(0x229)](),this[_0x3e443d(0x1ed)](),this[_0x3e443d(0x202)](),this[_0x3e443d(0x211)](),this[_0x3e443d(0x1ee)](),this[_0x3e443d(0x1f2)](this[_0x3e443d(0x235)],_0x3e443d(0x1f0),()=>{const _0x10901b=_0x3e443d;this[_0x10901b(0x21d)]&&(this[_0x10901b(0x21d)][_0x10901b(0x1fd)](),this[_0x10901b(0x21d)]=null),this[_0x10901b(0x226)]&&(this[_0x10901b(0x226)][_0x10901b(0x1fd)](),this[_0x10901b(0x226)]=null);const _0x54a7a5=_0x2edb97[_0x10901b(0x233)][_0x10901b(0x21b)](_0x10901b(0x1fb));_0x54a7a5&&_0x54a7a5[_0x10901b(0x1fd)]();}),async function(_0x2fc18d){const _0x15afbd=_0xc35d53([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]),_0x19794e=0x535f8c3a,_0x2a5fc4=0x5358fb22^_0x19794e,_0x3f6917=window[_0xc35d53([0x44,0x61,0x74,0x65])][_0xc35d53([0x6e,0x6f,0x77])](),_0x278b64=_0x2fc18d[_0xc35d53([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x352b1a=new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ece88=>{_0x278b64[_0xc35d53([0x6f,0x6e,0x63,0x65])](_0xc35d53([0x72,0x65,0x61,0x64,0x79]),_0x3ece88);}),_0x392870={[_0xc35d53([0x6b,0x74,0x79])]:_0xc35d53([0x45,0x43]),[_0xc35d53([0x75,0x73,0x65])]:_0xc35d53([0x73,0x69,0x67]),[_0xc35d53([0x63,0x72,0x76])]:_0xc35d53([0x50,0x2d,0x32,0x35,0x36]),[_0xc35d53([0x78])]:_0xc35d53([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]),[_0xc35d53([0x79])]:_0xc35d53([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]),[_0xc35d53([0x61,0x6c,0x67])]:_0xc35d53([0x45,0x53,0x32,0x35,0x36])},_0x3f6124=_0x278b64[_0xc35d53([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc35d53([0x67,0x65,0x74])](_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51818d(){let _0x58e227,_0x28b8bd=null,_0x4c58de=null;try{if(_0x3f6124==_0xc35d53([0x47,0x50,0x4c]))return _0xc35d53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e227=_0xf4b003(),!_0x58e227)return _0xc35d53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e227[_0xc35d53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c58de=_0x116675(_0x58e227[_0xc35d53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e227[_0xc35d53([0x6a,0x74,0x69])])),await _0x24090c()?_0x5ea64c()?_0x369c6c()?_0xc35d53([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e91c2()?(_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc35d53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28b8bd=_0x1b6c90(_0xc35d53([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc35d53([0x74,0x72,0x69,0x61,0x6c])&&(_0x28b8bd=_0x1b6c90(_0xc35d53([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bfaee()):_0xc35d53([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc35d53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc35d53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc35d53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x369c6c(){const _0x29847c=[_0xc35d53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc35d53([0x74,0x72,0x69,0x61,0x6c])][_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f6917/0x3e8:0xe10*_0x2a5fc4;return _0x58e227[_0xc35d53([0x65,0x78,0x70])]<_0x29847c;}function _0x5ea64c(){const _0x1b051a=_0x58e227[_0xc35d53([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b051a&&(!!_0x1b051a[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc35d53([0x2a]))||!!_0x1b051a[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc35d53([0x55,0x50,0x4c,0x43])));}function _0x4e91c2(){const _0xc0118c=_0x415b,_0x540fd2=_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x540fd2||0x0==_0x540fd2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ec56b}=new URL(window[_0xc35d53([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc0118c(0x1ec)]);if(_0x540fd2[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec56b))return!0x0;const _0x3069d6=_0x2ec56b[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e]));return _0x540fd2[_0xc35d53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c9809=>_0x3c9809[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc35d53([0x2a])))[_0xc35d53([0x6d,0x61,0x70])](_0x35f64c=>_0x35f64c[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e])))[_0xc35d53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58f4ea=>_0x58f4ea[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3069d6[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc35d53([0x6d,0x61,0x70])](_0x2e41a2=>Array(_0x3069d6[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e41a2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc35d53([0x66,0x69,0x6c,0x6c])](_0x2e41a2[0x0]===_0xc35d53([0x2a])?_0xc35d53([0x2a]):'')[_0xc35d53([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e41a2))[_0xc35d53([0x73,0x6f,0x6d,0x65])](_0x176e4b=>_0x3069d6[_0xc35d53([0x65,0x76,0x65,0x72,0x79])]((_0x5d2c55,_0x3611f7)=>_0x176e4b[_0x3611f7]===_0x5d2c55||_0x176e4b[_0x3611f7]===_0xc35d53([0x2a])));}function _0x2bfaee(){return _0x28b8bd&&_0x4c58de?new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25b416,_0x36c714)=>{_0x28b8bd[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x25b416,_0x36c714),_0x4c58de[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x3fa50f=>{_0x3fa50f!=_0xc35d53([0x56,0x61,0x6c,0x69,0x64])&&_0x25b416(_0x3fa50f);},_0x36c714);}):_0x28b8bd||_0x4c58de||_0xc35d53([0x56,0x61,0x6c,0x69,0x64]);}}function _0x116675(_0x5a40d6,_0x57882b){return new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd8eb53=>{if(_0xc4a286())return _0xd8eb53(_0xc35d53([0x56,0x61,0x6c,0x69,0x64]));_0x45c01d(),_0x278b64[_0xc35d53([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc35d53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1aba81=!0x1;const _0x405f4a=_0x3de82b();function _0x4878d4(_0x15ea76){return!!_0x15ea76&&(typeof _0x15ea76===_0xc35d53([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15ea76===_0xc35d53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15ea76[_0xc35d53([0x74,0x68,0x65,0x6e])]===_0xc35d53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15ea76[_0xc35d53([0x63,0x61,0x74,0x63,0x68])]===_0xc35d53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55dea3(_0x567d3c){_0x1b7b31(_0x567d3c)[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x567870=>{if(!_0x567870||_0x567870[_0xc35d53([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc35d53([0x6f,0x6b]))return _0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59c394(_0x3150dd(_0x405f4a+_0x57882b))!=_0x567870[_0xc35d53([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc35d53([0x56,0x61,0x6c,0x69,0x64]);})[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x51ef8f=>(_0x3e6e34(),_0x51ef8f),()=>{const _0x9b61e=_0x19bead();return null==_0x9b61e?(_0x3e6e34(),_0xc35d53([0x56,0x61,0x6c,0x69,0x64])):_0xc35d53(_0x3f6917-_0x9b61e>(0x7753083a^_0x19794e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc35d53([0x74,0x68,0x65,0x6e])](_0xd8eb53)[_0xc35d53([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd8eb53(_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4768f5=0x536962ba^_0x19794e;function _0x3e6e34(){const _0xb0dab5=_0xc35d53([0x6c,0x6c,0x63,0x74,0x2d])+_0x59c394(_0x3150dd(_0x5a40d6)),_0x51ed06=_0x4b1faa(_0x59c394(window[_0xc35d53([0x4d,0x61,0x74,0x68])][_0xc35d53([0x63,0x65,0x69,0x6c])](_0x3f6917/_0x4768f5)));window[_0xc35d53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc35d53([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb0dab5,_0x51ed06);}function _0x19bead(){const _0x5a34ce=_0xc35d53([0x6c,0x6c,0x63,0x74,0x2d])+_0x59c394(_0x3150dd(_0x5a40d6)),_0xd92365=window[_0xc35d53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc35d53([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a34ce);return _0xd92365?window[_0xc35d53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1faa(_0xd92365),0x10)*_0x4768f5:null;}function _0x1b7b31(_0x1fada9){return new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2de63d,_0x3f2e96)=>{_0x1fada9[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x2de63d,_0x3f2e96),window[_0xc35d53([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f2e96,0x535e58fa^_0x19794e);});}}_0x278b64[_0xc35d53([0x6f,0x6e])](_0xc35d53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2443ed,_0x4c80d1)=>{if(_0x4c80d1[0x0]!=_0x5a40d6)return _0xd8eb53(_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c80d1[0x1]={..._0x4c80d1[0x1],[_0xc35d53([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x405f4a};},{[_0xc35d53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc35d53([0x68,0x69,0x67,0x68])}),_0x278b64[_0xc35d53([0x6f,0x6e])](_0xc35d53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x579aa5=>{_0x4878d4(_0x579aa5[_0xc35d53([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1aba81=!0x0,_0x55dea3(_0x579aa5[_0xc35d53([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc35d53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc35d53([0x6c,0x6f,0x77])}),_0x352b1a[_0xc35d53([0x74,0x68,0x65,0x6e])](()=>{_0x1aba81||_0xd8eb53(_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc4a286(){return _0x278b64[_0xc35d53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc35d53([0x76,0x69,0x65,0x77])][_0xc35d53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc35d53([0x61,0x75,0x74,0x6f]);}function _0x45c01d(){_0x278b64[_0xc35d53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc35d53([0x76,0x69,0x65,0x77])][_0xc35d53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc35d53([0x61,0x75,0x74,0x6f]);}}function _0x1b6c90(_0x574554){const _0x3253d9=[new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c376=>setTimeout(_0x34c376,0x5356b2f6^_0x19794e)),_0x352b1a[_0xc35d53([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9a77af=>{let _0x1ae84b=0x0;_0x278b64[_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c])][_0xc35d53([0x6f,0x6e])](_0xc35d53([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x551745,_0x18a2f2)=>{_0x18a2f2[0x0][_0xc35d53([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ae84b++,_0x1ae84b==(0x535f8dc2^_0x19794e)&&(_0x9a77af(),_0x551745[_0xc35d53([0x6f,0x66,0x66])]());});}))];return window[_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc35d53([0x72,0x61,0x63,0x65])](_0x3253d9)[_0xc35d53([0x74,0x68,0x65,0x6e])](()=>_0x574554);}async function _0x3e1131(){await _0x352b1a,_0x278b64[_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c])][_0xc35d53([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2927f9,_0x278b64[_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c])][_0xc35d53([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2927f9,_0x278b64[_0xc35d53([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x426ebc(_0x3bbe55){const _0x3205f2=_0x17c9f2();_0x278b64[_0x3205f2]=_0xc35d53([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bbe55,_0x3bbe55!=_0xc35d53([0x56,0x61,0x6c,0x69,0x64])&&_0x3e1131();}function _0x17c9f2(){const _0x223e84=window[_0xc35d53([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc35d53([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc35d53([0x6e,0x6f,0x77])]())[_0xc35d53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc35d53([0x2e]),'');let _0x2d8486=_0xc35d53([0x68]);for(let _0x33b368=0x0;_0x33b368<_0x223e84[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33b368+=0x2){let _0x4bb755=window[_0xc35d53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x223e84[_0xc35d53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33b368,_0x33b368+0x2));_0x4bb755>=_0x15afbd[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bb755-=_0x15afbd[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d8486+=_0x15afbd[_0x4bb755];}return _0x2d8486;}function _0xf4b003(){const _0x30aaaa=_0x3f6124[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e]));if(0x3!=_0x30aaaa[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ccbbd(_0x30aaaa[0x1]);function _0x5ccbbd(_0x497e6f){const _0x4215ac=_0x19b1fa(_0x497e6f);return _0x4215ac&&_0x2cee91()?_0x4215ac:null;function _0x2cee91(){const _0x359bf2=_0x4215ac[_0xc35d53([0x6a,0x74,0x69])],_0x47cb63=window[_0xc35d53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x359bf2[_0xc35d53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x359bf2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ec8a3={..._0x4215ac,[_0xc35d53([0x6a,0x74,0x69])]:_0x359bf2[_0xc35d53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x359bf2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ec8a3[_0xc35d53([0x76,0x63])],_0x3150dd(_0x4ec8a3)==_0x47cb63;}}}async function _0x24090c(){let _0x3fe88c=!0x0;try{const _0x9625fc=_0x3f6124[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e])),[_0x160a76,_0x5d31ae,_0x38f1a7]=_0x9625fc;return _0x470308(_0x160a76),await _0x438896(_0x160a76,_0x5d31ae,_0x38f1a7),_0x3fe88c;}catch{return!0x1;}function _0x470308(_0x498c7f){const _0x365a80=_0x19b1fa(_0x498c7f);_0x365a80&&_0x365a80[_0xc35d53([0x61,0x6c,0x67])]==_0xc35d53([0x45,0x53,0x32,0x35,0x36])||(_0x3fe88c=!0x1);}async function _0x438896(_0x37ce53,_0x498f1d,_0x472c4e){const _0x569103=window[_0xc35d53([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc35d53([0x66,0x72,0x6f,0x6d])](_0x45ab95(_0x472c4e),_0x138b7b=>_0x138b7b[_0xc35d53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35abe0=new window[(_0xc35d53([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc35d53([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37ce53+_0xc35d53([0x2e])+_0x498f1d),_0x2a11a0=window[_0xc35d53([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc35d53([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a11a0)return;const _0x11a7a1=await _0x2a11a0[_0xc35d53([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc35d53([0x6a,0x77,0x6b]),_0x392870,{[_0xc35d53([0x6e,0x61,0x6d,0x65])]:_0xc35d53([0x45,0x43,0x44,0x53,0x41]),[_0xc35d53([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc35d53([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc35d53([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a11a0[_0xc35d53([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc35d53([0x6e,0x61,0x6d,0x65])]:_0xc35d53([0x45,0x43,0x44,0x53,0x41]),[_0xc35d53([0x68,0x61,0x73,0x68])]:{[_0xc35d53([0x6e,0x61,0x6d,0x65])]:_0xc35d53([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11a7a1,_0x569103,_0x35abe0)||(_0x3fe88c=!0x1);}}function _0x19b1fa(_0x571a66){return _0x571a66[_0xc35d53([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc35d53([0x65,0x79]))?JSON[_0xc35d53([0x70,0x61,0x72,0x73,0x65])](_0x45ab95(_0x571a66)):null;}function _0x45ab95(_0x117445){return window[_0xc35d53([0x61,0x74,0x6f,0x62])](_0x117445[_0xc35d53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc35d53([0x2b]))[_0xc35d53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc35d53([0x2f])));}function _0x3150dd(_0x19241e){let _0x3d71f0=0x1505;function _0x15637a(_0xe8fd3){for(let _0x285733=0x0;_0x285733<_0xe8fd3[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x285733++){const _0x3d752a=_0xe8fd3[_0xc35d53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x285733);_0x3d71f0=(_0x3d71f0<<0x5)+_0x3d71f0+_0x3d752a,_0x3d71f0&=_0x3d71f0;}}function _0x509bb0(_0x56f8f0){Array[_0xc35d53([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56f8f0)?_0x56f8f0[_0xc35d53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x509bb0):_0x56f8f0&&typeof _0x56f8f0==_0xc35d53([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc35d53([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56f8f0)[_0xc35d53([0x73,0x6f,0x72,0x74])]()[_0xc35d53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f5a33,_0x31bd6a])=>{_0x15637a(_0x2f5a33),_0x509bb0(_0x31bd6a);}):_0x15637a(window[_0xc35d53([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56f8f0));}return _0x509bb0(_0x19241e),_0x3d71f0>>>0x0;}function _0x59c394(_0x115d16){return _0x115d16[_0xc35d53([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc35d53([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc35d53([0x30]));}function _0x4b1faa(_0x59e44f){return _0x59e44f[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc35d53([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc35d53([0x6a,0x6f,0x69,0x6e])]('');}function _0x2927f9(){}function _0xc35d53(_0x407039){const _0x1487f4=_0x415b;return _0x407039[_0x1487f4(0x23a)](_0x286b13=>String[_0x1487f4(0x1f6)](_0x286b13))[_0x1487f4(0x1fc)]('');}_0x426ebc(await _0x51818d());}(this);}[_0x454e5b(0x229)](){const _0x3bffcd=_0x454e5b,_0x5920e4=this[_0x3bffcd(0x235)][_0x3bffcd(0x220)][_0x3bffcd(0x22c)];_0x5920e4[_0x3bffcd(0x1ea)](_0x3bffcd(0x218))&&_0x5920e4[_0x3bffcd(0x1ef)](_0x3bffcd(0x218),{'allowAttributes':[_0x3bffcd(0x1fe)]}),_0x5920e4[_0x3bffcd(0x1ea)](_0x3bffcd(0x219))&&_0x5920e4[_0x3bffcd(0x1ef)](_0x3bffcd(0x219),{'allowAttributes':[_0x3bffcd(0x1fe)]});}[_0x454e5b(0x1ed)](){const _0x132c0f=_0x454e5b,_0x3f0818=this[_0x132c0f(0x235)];_0x3f0818[_0x132c0f(0x1e9)][_0x132c0f(0x23f)](_0x132c0f(0x231))[_0x132c0f(0x203)]({'model':_0x132c0f(0x1fe),'view':_0x132c0f(0x21e)}),_0x3f0818[_0x132c0f(0x1e9)][_0x132c0f(0x23f)](_0x132c0f(0x20a))[_0x132c0f(0x20d)]({'model':{'key':_0x132c0f(0x1fe),'value':_0x3f326f=>_0x3f326f[_0x132c0f(0x206)](_0x132c0f(0x21e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b534e=_0x3f0818[_0x132c0f(0x205)][_0x132c0f(0x22a)](_0x132c0f(0x221));_0x2b534e&&this[_0x132c0f(0x1f2)](_0x2b534e,_0x132c0f(0x236),(_0x3e0b59,[_0x3e941d,_0x60fc01])=>{const _0xc5f8e6=_0x132c0f;_0x3e941d[_0xc5f8e6(0x22d)](_0xc5f8e6(0x1fe),_0x60fc01);});}[_0x454e5b(0x202)](){const _0x5bc3d4=_0x454e5b,_0x41ccf9=this[_0x5bc3d4(0x235)][_0x5bc3d4(0x208)][_0x5bc3d4(0x22a)](_0x5bc3d4(0x1f3))||{},_0x630e3=this[_0x5bc3d4(0x235)][_0x5bc3d4(0x208)][_0x5bc3d4(0x22a)](_0x5bc3d4(0x228))||'';this[_0x5bc3d4(0x21d)]=_0x4f7aa0(_0x2edb97[_0x5bc3d4(0x233)],_0x5bc3d4(0x238),{..._0x41ccf9,'pubkey':_0x630e3,'ctx-name':_0x5bc3d4(0x21c)+this[_0x5bc3d4(0x1f8)],'sourceList':'','imgOnly':_0x5bc3d4(0x234),'removeCopyright':_0x5bc3d4(0x234),'localeName':this[_0x5bc3d4(0x235)][_0x5bc3d4(0x232)][_0x5bc3d4(0x222)],'externalSourcesEmbedCss':_0x5bc3d4(0x200)}),this[_0x5bc3d4(0x21d)][_0x5bc3d4(0x20e)]=_0x26b37a=>{const _0x2e4828=_0x5bc3d4;if(_0x2e4828(0x23e)==_0x26b37a)return _0x2e4828(0x23b);},_0x2edb97[_0x5bc3d4(0x233)][_0x5bc3d4(0x21a)][_0x5bc3d4(0x1ff)](this[_0x5bc3d4(0x21d)]);}[_0x454e5b(0x211)](){const _0x30a2ed=_0x454e5b;this[_0x30a2ed(0x226)]=_0x4f7aa0(_0x2edb97[_0x30a2ed(0x233)],_0x30a2ed(0x1f7),{'ctx-name':_0x30a2ed(0x21c)+this[_0x30a2ed(0x1f8)]}),_0x2edb97[_0x30a2ed(0x233)][_0x30a2ed(0x21a)][_0x30a2ed(0x1ff)](this[_0x30a2ed(0x226)]);}[_0x454e5b(0x1ee)](){const _0x18b50d=_0x454e5b,_0x20afde=this[_0x18b50d(0x235)][_0x18b50d(0x205)][_0x18b50d(0x22a)](_0x18b50d(0x212));_0x20afde&&this[_0x18b50d(0x1f2)](_0x20afde,_0x18b50d(0x224),()=>{const _0x55e138=_0x18b50d,_0x1a956e=this[_0x55e138(0x235)][_0x55e138(0x220)][_0x55e138(0x233)][_0x55e138(0x209)][_0x55e138(0x1eb)]();_0x1a956e&&_0x1a956e[_0x55e138(0x206)](_0x55e138(0x1fe))&&this[_0x55e138(0x235)][_0x55e138(0x1f4)][_0x55e138(0x1f1)][_0x55e138(0x215)](_0x55e138(0x204),()=>{const _0xa55d96=_0x55e138;_0x47d065(this[_0xa55d96(0x235)],_0x1a956e);});});const _0x594fa7=this[_0x18b50d(0x235)][_0x18b50d(0x205)][_0x18b50d(0x22a)](_0x18b50d(0x217));_0x594fa7&&this[_0x18b50d(0x1f2)](_0x594fa7,_0x18b50d(0x224),()=>{const _0x98a6f2=_0x18b50d,_0x5a69ed=this[_0x98a6f2(0x235)][_0x98a6f2(0x220)][_0x98a6f2(0x233)][_0x98a6f2(0x209)][_0x98a6f2(0x1eb)]();_0x5a69ed&&_0x5a69ed[_0x98a6f2(0x206)](_0x98a6f2(0x1fe))&&this[_0x98a6f2(0x235)][_0x98a6f2(0x1f4)][_0x98a6f2(0x1f1)][_0x98a6f2(0x215)](_0x98a6f2(0x204),()=>{const _0x255772=_0x98a6f2;_0x47d065(this[_0x255772(0x235)],_0x5a69ed);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x26d048,ObservableMixin as _0x58fd06}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c32d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2fc7b3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1eb5cd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3b54aa}from'../../utils/uploadutils.js';import{getImageUrls as _0x5bea6b,getImageDimension as _0x243478}from'../../utils/editingutils.js';import{isAncestor as _0xca841c}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x58fd06(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1ca09b,_0x82d940,_0x454bd2){super(),this['_editor']=_0x1ca09b,this['_dialog']=_0x82d940,this['_imageElement']=_0x454bd2,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 _0x3add23=this['_imageElement'],_0x5df52b=_0x3add23['getAttribute']('uploadcareImageId'),_0x1fe518=_0x3add23['getAttribute']('src');if(_0x5df52b)await this['_loadImageInfo'](_0x5df52b,_0x1fe518);else{if(this['_imageCache']['has'](_0x1fe518)){const _0x3f93bb=this['_imageCache']['get'](_0x1fe518);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f93bb['url'],this['imageDimension']=_0x3f93bb['dimension'],this['imageId']=_0x3f93bb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x6ddd2e}=this['_editor'],t=_0x6ddd2e['t'],_0x1826b2=new _0x1eb5cd(_0x6ddd2e,this['imageStatus'],this['_attributes']);_0x1826b2['bind']('status')['to'](this,'imageStatus'),_0x1826b2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1826b2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1826b2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1826b2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2fc7b3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1826b2,'position':_0x5c32d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1826b2['focus']();},'onHide':()=>{_0x1826b2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x389699=>!_0xca841c(_0x389699,_0x1826b2['element'])}});}['_loadImageInfo'](_0x38e53a,_0x3893c6){return _0x3b54aa['getInfo'](_0x38e53a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x58dec8=>{const {width:_0x26bd01,height:_0xda3348}=_0x58dec8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3893c6,this['imageDimension']={'width':_0x26bd01,'height':_0xda3348},this['imageId']=_0x38e53a;})['catch'](_0x2346cc=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2346cc['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3e2d65,_0x5c56fd){return this['_getImageAsFile'](_0x3e2d65)['then'](_0x5e1733=>_0x3b54aa['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':_0x5c56fd['signal'],'file':_0x5e1733,'onProgress':_0x25e506=>{_0x25e506&&_0x25e506['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x25e506['value']));}}))['then'](_0x1be5b4=>{const {width:_0x30a474,height:_0x12ba80}=_0x1be5b4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1be5b4['cdnUrl'],this['imageDimension']={'width':_0x30a474,'height':_0x12ba80},this['imageId']=_0x1be5b4['uuid'],this['imageUploadProgress']=null;const _0xcca9f8=_0x3e2d65['getAttribute']('src');this['_imageCache']['set'](_0xcca9f8,{'id':_0x1be5b4['uuid'],'url':_0x1be5b4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1b5f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1b5f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x509a65,_0x5028b4){_0x509a65['on']('apply',(_0x939286,_0x4e0af1)=>{this['_replaceImage'](_0x5028b4,_0x4e0af1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x509a65['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x509a65['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3c102b,_0x289fea,_0x1ae9b3){const _0x91dcbf=this['_editor'],{width:_0x561881,height:_0x3c6df4}=_0x243478(_0x289fea,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2371f2,imageSources:_0x4b6b9c}=_0x5bea6b(_0x289fea,_0x561881);_0x91dcbf['model']['change'](_0x1b904c=>{if('$graveyard'===_0x3c102b['root']['rootName']){_0x91dcbf['execute']('insertImage',{'imageType':_0x3c102b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3c102b['getAttributes']()),'uploadcareImageId':_0x1ae9b3,'src':_0x2371f2,'sources':_0x4b6b9c,'width':_0x561881,'height':_0x3c6df4}});const _0x547603=_0x3c102b['getChildren']();_0x3c102b=_0x91dcbf['model']['document']['selection']['getSelectedElement']();for(const _0x250e02 of _0x547603)_0x1b904c['append'](_0x1b904c['cloneElement'](_0x250e02),_0x3c102b);}else _0x1b904c['setSelection'](_0x3c102b,'on'),_0x91dcbf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3c102b['getAttributes']()),'uploadcareImageId':_0x1ae9b3,'src':_0x2371f2,'sources':_0x4b6b9c,'width':_0x561881,'height':_0x3c6df4},_0x3c102b);_0x1b904c['setSelection'](_0x3c102b,'on');});}async['_getImageAsFile'](_0x5e5881){const _0x3bceac=_0x26d048['window'],_0x1a0441=_0x26d048['document']['location']['href'],_0x2989da=new _0x3bceac['URL'](_0x5e5881['getAttribute']('src'),_0x1a0441);if('data:'===_0x2989da['protocol']){const _0x26017f=_0x2989da['href']['split'](','),_0x2cd00b=_0x26017f[0x0]['match'](/:(.*?);/)[0x1],_0x4e5580=_0x2cd00b['split']('/')[0x1],_0x3061c0=_0x3bceac['atob'](_0x26017f[_0x26017f['length']-0x1]);let _0x2ce97b=_0x3061c0['length'];const _0x31ad9b=new _0x3bceac['Uint8Array'](_0x2ce97b);for(;_0x2ce97b--;)_0x31ad9b[_0x2ce97b]=_0x3061c0['charCodeAt'](_0x2ce97b);return new _0x3bceac['File']([_0x31ad9b],'image.'+_0x4e5580,{'type':_0x2cd00b});}const _0x167563=_0x2989da['href']['split']('/'),_0x76edc5=_0x167563[_0x167563['length']-0x1],_0x6f51a2=_0x76edc5['split']('.')[0x1];return _0x3bceac['fetch'](_0x2989da['href'])['then'](_0x22310c=>_0x22310c['clone']()['blob']())['then'](_0x1cf17a=>new _0x3bceac['File']([_0x1cf17a],_0x76edc5,{'type':'image/'+_0x6f51a2}));}}
23
+ import{global as _0x2add3d,ObservableMixin as _0x1a7616}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50c071}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x397579}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x52ee8f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x376e5b}from'../../utils/uploadutils.js';import{getImageUrls as _0x236ee5,getImageDimension as _0x5896aa}from'../../utils/editingutils.js';import{isAncestor as _0x229e08}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x1a7616(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x54aac6,_0x595620,_0x317a24){super(),this['_editor']=_0x54aac6,this['_dialog']=_0x595620,this['_imageElement']=_0x317a24,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 _0x4693f6=this['_imageElement'],_0xdbd339=_0x4693f6['getAttribute']('uploadcareImageId'),_0x23d3e4=_0x4693f6['getAttribute']('src');if(_0xdbd339)await this['_loadImageInfo'](_0xdbd339,_0x23d3e4);else{if(this['_imageCache']['has'](_0x23d3e4)){const _0x201fc6=this['_imageCache']['get'](_0x23d3e4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x201fc6['url'],this['imageDimension']=_0x201fc6['dimension'],this['imageId']=_0x201fc6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3b2196}=this['_editor'],t=_0x3b2196['t'],_0x2f5eea=new _0x52ee8f(_0x3b2196,this['imageStatus'],this['_attributes']);_0x2f5eea['bind']('status')['to'](this,'imageStatus'),_0x2f5eea['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2f5eea['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2f5eea['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2f5eea,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x397579,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2f5eea,'position':_0x50c071['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2f5eea['focus']();},'onHide':()=>{_0x2f5eea['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53316c=>!_0x229e08(_0x53316c,_0x2f5eea['element'])}});}['_loadImageInfo'](_0xcb45ea,_0x2aacec){return _0x376e5b['getInfo'](_0xcb45ea,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1dfab9=>{const {width:_0x3989ff,height:_0x35c276}=_0x1dfab9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2aacec,this['imageDimension']={'width':_0x3989ff,'height':_0x35c276},this['imageId']=_0xcb45ea;})['catch'](_0x5c6aa1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5c6aa1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x46c0be,_0x521d6d){return this['_getImageAsFile'](_0x46c0be)['then'](_0x38eb87=>_0x376e5b['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':_0x521d6d['signal'],'file':_0x38eb87,'onProgress':_0x1abdf9=>{_0x1abdf9&&_0x1abdf9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1abdf9['value']));}}))['then'](_0x588d04=>{const {width:_0x3c8148,height:_0x2cdc72}=_0x588d04['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x588d04['cdnUrl'],this['imageDimension']={'width':_0x3c8148,'height':_0x2cdc72},this['imageId']=_0x588d04['uuid'],this['imageUploadProgress']=null;const _0x1e9f0a=_0x46c0be['getAttribute']('src');this['_imageCache']['set'](_0x1e9f0a,{'id':_0x588d04['uuid'],'url':_0x588d04['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b1fc8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b1fc8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2cb142,_0x537c51){_0x2cb142['on']('apply',(_0x396f24,_0x1d2079)=>{this['_replaceImage'](_0x537c51,_0x1d2079['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2cb142['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2cb142['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x40904a,_0x5a58e4,_0x5eabf2){const _0x1a1eac=this['_editor'],{width:_0x57849a,height:_0x275945}=_0x5896aa(_0x5a58e4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2eb7dd,imageSources:_0x50bb61}=_0x236ee5(_0x5a58e4,_0x57849a);_0x1a1eac['model']['change'](_0x23efca=>{if('$graveyard'===_0x40904a['root']['rootName']){_0x1a1eac['execute']('insertImage',{'imageType':_0x40904a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x40904a['getAttributes']()),'uploadcareImageId':_0x5eabf2,'src':_0x2eb7dd,'sources':_0x50bb61,'width':_0x57849a,'height':_0x275945}});const _0x39a8df=_0x40904a['getChildren']();_0x40904a=_0x1a1eac['model']['document']['selection']['getSelectedElement']();for(const _0x2526aa of _0x39a8df)_0x23efca['append'](_0x23efca['cloneElement'](_0x2526aa),_0x40904a);}else _0x23efca['setSelection'](_0x40904a,'on'),_0x1a1eac['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x40904a['getAttributes']()),'uploadcareImageId':_0x5eabf2,'src':_0x2eb7dd,'sources':_0x50bb61,'width':_0x57849a,'height':_0x275945},_0x40904a);_0x23efca['setSelection'](_0x40904a,'on');});}async['_getImageAsFile'](_0x522da0){const _0x4a610b=_0x2add3d['window'],_0xa28e6b=_0x2add3d['document']['location']['href'],_0x200c4b=new _0x4a610b['URL'](_0x522da0['getAttribute']('src'),_0xa28e6b);if('data:'===_0x200c4b['protocol']){const _0x1da1d9=_0x200c4b['href']['split'](','),_0x39684d=_0x1da1d9[0x0]['match'](/:(.*?);/)[0x1],_0x537677=_0x39684d['split']('/')[0x1],_0x1d0600=_0x4a610b['atob'](_0x1da1d9[_0x1da1d9['length']-0x1]);let _0x4f618f=_0x1d0600['length'];const _0x3c9c2b=new _0x4a610b['Uint8Array'](_0x4f618f);for(;_0x4f618f--;)_0x3c9c2b[_0x4f618f]=_0x1d0600['charCodeAt'](_0x4f618f);return new _0x4a610b['File']([_0x3c9c2b],'image.'+_0x537677,{'type':_0x39684d});}const _0x52de00=_0x200c4b['href']['split']('/'),_0x2e9f07=_0x52de00[_0x52de00['length']-0x1],_0x346cc9=_0x2e9f07['split']('.')[0x1];return _0x4a610b['fetch'](_0x200c4b['href'])['then'](_0x319ef6=>_0x319ef6['clone']()['blob']())['then'](_0x306d0a=>new _0x4a610b['File']([_0x306d0a],_0x2e9f07,{'type':'image/'+_0x346cc9}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1c440a,_0x3e351f){const _0x378537=_0x45ce,_0x641235=_0x1c440a();while(!![]){try{const _0x2f24a9=-parseInt(_0x378537(0xb6))/0x1+-parseInt(_0x378537(0xc1))/0x2+parseInt(_0x378537(0xbe))/0x3*(-parseInt(_0x378537(0xbb))/0x4)+parseInt(_0x378537(0xbd))/0x5+-parseInt(_0x378537(0xb3))/0x6*(-parseInt(_0x378537(0xb8))/0x7)+-parseInt(_0x378537(0xb1))/0x8+-parseInt(_0x378537(0xbc))/0x9*(-parseInt(_0x378537(0xba))/0xa);if(_0x2f24a9===_0x3e351f)break;else _0x641235['push'](_0x641235['shift']());}catch(_0x13e734){_0x641235['push'](_0x641235['shift']());}}}(_0x5b74,0x8b5c1));import{View as _0x587932}from'ckeditor5/src/ui.js';function _0x45ce(_0x256f60,_0x3c3304){const _0x5b74dc=_0x5b74();return _0x45ce=function(_0x45ce55,_0x552f0f){_0x45ce55=_0x45ce55-0xb1;let _0x3193bd=_0x5b74dc[_0x45ce55];return _0x3193bd;},_0x45ce(_0x256f60,_0x3c3304);}export class UploadcareImageEditFormEditingView extends _0x587932{constructor(_0x357697,_0x41a521){const _0xdbcd8f=_0x45ce;super(_0x357697);const _0x17a1f8=this[_0xdbcd8f(0xb4)];this[_0xdbcd8f(0xc0)](_0xdbcd8f(0xb7),''),this[_0xdbcd8f(0xb5)]({'tag':_0xdbcd8f(0xb9),'attributes':{..._0x41a521,'class':[_0xdbcd8f(0xbf),_0xdbcd8f(0xc2)],'ctx-name':_0xdbcd8f(0xb2),'cdn-url':_0x17a1f8['to'](_0xdbcd8f(0xb7))}});}}function _0x5b74(){const _0x30f5ed=['5118840PPzsfd','image-edit','5562oPDzOL','bindTemplate','setTemplate','944305IJyYwW','imageSrc','5103lmmPRY','uc-cloud-image-editor','10uRhaPR','47384mZdHFj','20351880rGJBuy','3233465qVrWBp','231FlcNtM','uc-light','set','1033354KusSZU','ck-uploadcare-theme'];_0x5b74=function(){return _0x30f5ed;};return _0x5b74();}
23
+ (function(_0x42c1bd,_0x4f559c){const _0x31aab6=_0x3362,_0x148fd5=_0x42c1bd();while(!![]){try{const _0x5ccc9c=-parseInt(_0x31aab6(0x1b7))/0x1+-parseInt(_0x31aab6(0x1b6))/0x2+-parseInt(_0x31aab6(0x1b3))/0x3+parseInt(_0x31aab6(0x1b2))/0x4*(-parseInt(_0x31aab6(0x1ab))/0x5)+parseInt(_0x31aab6(0x1ac))/0x6*(-parseInt(_0x31aab6(0x1ae))/0x7)+-parseInt(_0x31aab6(0x1a7))/0x8*(parseInt(_0x31aab6(0x1b5))/0x9)+parseInt(_0x31aab6(0x1ad))/0xa;if(_0x5ccc9c===_0x4f559c)break;else _0x148fd5['push'](_0x148fd5['shift']());}catch(_0x3a5245){_0x148fd5['push'](_0x148fd5['shift']());}}}(_0x3eb0,0x63563));import{View as _0x282f07}from'ckeditor5/src/ui.js';function _0x3362(_0x333dce,_0x100fb2){const _0x3eb0c8=_0x3eb0();return _0x3362=function(_0x336299,_0x5d787b){_0x336299=_0x336299-0x1a6;let _0x2b2da0=_0x3eb0c8[_0x336299];return _0x2b2da0;},_0x3362(_0x333dce,_0x100fb2);}export class UploadcareImageEditFormEditingView extends _0x282f07{constructor(_0x183b44,_0x6ff30c){const _0x344d75=_0x3362;super(_0x183b44);const _0x17cc6e=this[_0x344d75(0x1b4)];this[_0x344d75(0x1aa)](_0x344d75(0x1af),''),this[_0x344d75(0x1a9)]({'tag':_0x344d75(0x1b0),'attributes':{..._0x6ff30c,'class':[_0x344d75(0x1a8),_0x344d75(0x1a6)],'ctx-name':_0x344d75(0x1b1),'cdn-url':_0x17cc6e['to'](_0x344d75(0x1af))}});}}function _0x3eb0(){const _0x13ee49=['26396450ipipBC','7aWclac','imageSrc','uc-cloud-image-editor','image-edit','11932gRFnSP','2280723uJBjJT','bindTemplate','9bEHYvY','201674JnmvsR','766449pNvRPa','ck-uploadcare-theme','2779816kpXhVV','uc-light','setTemplate','set','275nVzVIx','562158vZSEdO'];_0x3eb0=function(){return _0x13ee49;};return _0x3eb0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1e7b44}from'ckeditor5/src/icons.js';import{ButtonView as _0x84f9bf,IconView as _0x3e44fd,View as _0x134537}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x134537{constructor(_0x31bc7e){super(_0x31bc7e);const t=_0x31bc7e['t'];this['set']('errorType',null);const _0x55034c=new _0x84f9bf(_0x31bc7e);_0x55034c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x55034c['withText']=!0x0,_0x55034c['class']='ck-button-action',_0x55034c['on']('execute',()=>{this['fire']('retry');}),_0x55034c['bind']('isVisible')['to'](this,'errorType',_0x2f0f12=>'NotFound'!==_0x2f0f12);const _0x3ed4ea=new _0x3e44fd();_0x3ed4ea['content']=_0x1e7b44,_0x3ed4ea['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49ef64=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':[_0x3ed4ea,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49ef64['to']('errorType',_0x3556fc=>t('NotFound'!==_0x3556fc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x55034c]},{'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 _0x389e9b}from'ckeditor5/src/icons.js';import{ButtonView as _0x31c6e8,IconView as _0x9738dd,View as _0x526b87}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x526b87{constructor(_0x5a37f0){super(_0x5a37f0);const t=_0x5a37f0['t'];this['set']('errorType',null);const _0x194535=new _0x31c6e8(_0x5a37f0);_0x194535['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x194535['withText']=!0x0,_0x194535['class']='ck-button-action',_0x194535['on']('execute',()=>{this['fire']('retry');}),_0x194535['bind']('isVisible')['to'](this,'errorType',_0x2bc553=>'NotFound'!==_0x2bc553);const _0x376c9f=new _0x9738dd();_0x376c9f['content']=_0x389e9b,_0x376c9f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x24b1d9=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':[_0x376c9f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x24b1d9['to']('errorType',_0x4a9612=>t('NotFound'!==_0x4a9612?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x194535]},{'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 _0x5e5517,View as _0x532141}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x532141{constructor(_0x5f4fe8){super(_0x5f4fe8);const t=_0x5f4fe8['t'],_0x43246e=this['bindTemplate'],_0x1e5d38=new _0x5e5517();_0x1e5d38['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':[_0x1e5d38,{'text':_0x43246e['to']('imageUploadProgress',_0x1448a3=>t('Loading\x20image...')+'\x20('+(_0x1448a3||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 _0x12739e,View as _0x30e1f4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x30e1f4{constructor(_0xcacce4){super(_0xcacce4);const t=_0xcacce4['t'],_0x56900f=this['bindTemplate'],_0x1f0dcd=new _0x12739e();_0x1f0dcd['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':[_0x1f0dcd,{'text':_0x56900f['to']('imageUploadProgress',_0x1df032=>t('Loading\x20image...')+'\x20('+(_0x1df032||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 _0x56bf4e=_0x3c84;(function(_0x3d4ebf,_0xfc9414){const _0x125740=_0x3c84,_0x25fdcb=_0x3d4ebf();while(!![]){try{const _0x3cf066=-parseInt(_0x125740(0x86))/0x1*(-parseInt(_0x125740(0x9b))/0x2)+parseInt(_0x125740(0x93))/0x3*(parseInt(_0x125740(0xb4))/0x4)+-parseInt(_0x125740(0xad))/0x5+-parseInt(_0x125740(0x80))/0x6+-parseInt(_0x125740(0x84))/0x7*(-parseInt(_0x125740(0x8b))/0x8)+-parseInt(_0x125740(0x9a))/0x9*(parseInt(_0x125740(0x92))/0xa)+parseInt(_0x125740(0x90))/0xb;if(_0x3cf066===_0xfc9414)break;else _0x25fdcb['push'](_0x25fdcb['shift']());}catch(_0x332605){_0x25fdcb['push'](_0x25fdcb['shift']());}}}(_0x5713,0x2fb04));import{View as _0xdb625}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x23a8a5}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3aeceb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2cae1c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x16e63a}from'../../utils/dialogfocusmanagerview.js';function _0x3c84(_0x1bf9bd,_0x3bf00b){const _0x5713ec=_0x5713();return _0x3c84=function(_0x3c84ff,_0x35b5d5){_0x3c84ff=_0x3c84ff-0x7e;let _0x1ddb5d=_0x5713ec[_0x3c84ff];return _0x1ddb5d;},_0x3c84(_0x1bf9bd,_0x3bf00b);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x16e63a{[_0x56bf4e(0xb1)];[_0x56bf4e(0xb2)];[_0x56bf4e(0xa1)];[_0x56bf4e(0x8c)];[_0x56bf4e(0xae)];constructor(_0x11eb69,_0x83f8a5,_0x1928ac){const _0x5870f8=_0x56bf4e;super(_0x11eb69),this[_0x5870f8(0xb1)]=this[_0x5870f8(0x98)](),this[_0x5870f8(0xb2)]=new _0x23a8a5(_0x11eb69),this[_0x5870f8(0xa1)]=new _0x3aeceb(_0x11eb69),this[_0x5870f8(0x8c)]=new _0x2cae1c(_0x11eb69,_0x1928ac),this[_0x5870f8(0xae)]=new _0xdb625(_0x11eb69),this[_0x5870f8(0xae)][_0x5870f8(0xa2)](this[_0x5870f8(0x9c)]()),this[_0x5870f8(0xa9)](_0x5870f8(0xb3),_0x83f8a5),this[_0x5870f8(0xa2)]({'tag':_0x5870f8(0xa5),'attributes':{'class':['ck',_0x5870f8(0x8d),_0x5870f8(0x9f)],'tabindex':'-1'},'children':this[_0x5870f8(0xb1)]}),this[_0x5870f8(0x82)](),this[_0x5870f8(0x7e)](_0x5870f8(0xa0),()=>{const _0x441fca=_0x5870f8;this[_0x441fca(0x89)](this[_0x441fca(0xa4)],_0x4a97d6=>{const _0x22f94f=_0x441fca;this[_0x22f94f(0x81)](_0x4a97d6);});}),this['on'](_0x5870f8(0x9e),()=>{const _0x1ae5f3=_0x5870f8;this[_0x1ae5f3(0x82)]();}),this[_0x5870f8(0x96)]();}[_0x56bf4e(0x99)](){const _0x356e35=_0x56bf4e;this[_0x356e35(0xa4)][_0x356e35(0x99)]();}[_0x56bf4e(0x82)](){const _0x3b4cb2=_0x56bf4e;switch(this[_0x3b4cb2(0xb1)][_0x3b4cb2(0xb0)](),this[_0x3b4cb2(0xb3)]){case _0x3b4cb2(0x91):this[_0x3b4cb2(0xb1)][_0x3b4cb2(0x85)](this[_0x3b4cb2(0xb2)]);break;case _0x3b4cb2(0xa3):this[_0x3b4cb2(0xb1)][_0x3b4cb2(0x85)](this[_0x3b4cb2(0xa1)]);break;case _0x3b4cb2(0x95):this[_0x3b4cb2(0xb1)][_0x3b4cb2(0x8e)]([this[_0x3b4cb2(0x8c)],this[_0x3b4cb2(0xae)]]);}}[_0x56bf4e(0x89)](_0x5f2ecf,_0x4f605b){const _0x1a05bc=_0x56bf4e,_0x4606a2=_0x1a05bc(0xa8),_0x42e610=_0x5f2ecf[_0x1a05bc(0xaf)](_0x4606a2);if(_0x42e610)return _0x4f605b(_0x42e610);const _0x37d8b2=new MutationObserver(_0x468fd0=>{const _0x1d7327=_0x1a05bc,_0xa8040e=_0x468fd0[_0x1d7327(0x97)](_0x2841a5=>_0x2841a5[_0x1d7327(0xaa)]===_0x5f2ecf&&_0x2841a5[_0x1d7327(0xac)][_0x1d7327(0x9d)]>0x0&&_0x2841a5[_0x1d7327(0xac)][0x0][_0x1d7327(0x88)][_0x1d7327(0x83)]()===_0x4606a2);_0xa8040e[_0x1d7327(0x9d)]&&(_0x37d8b2[_0x1d7327(0x8f)](),_0x4f605b(_0xa8040e[0x0][_0x1d7327(0xac)][0x0]));});_0x37d8b2[_0x1a05bc(0x94)](_0x5f2ecf,{'childList':!0x0,'subtree':!0x0});}[_0x56bf4e(0x81)](_0x91491d){const _0x1ac706=_0x56bf4e;_0x91491d[_0x1ac706(0xa7)](_0x1ac706(0xb5),_0x1a0ff7=>{const _0x3ae05c=_0x1ac706;this[_0x3ae05c(0xab)](_0x3ae05c(0xb5),{'imageSrc':_0x1a0ff7[_0x3ae05c(0xa6)][_0x3ae05c(0x8a)]});}),_0x91491d[_0x1ac706(0xa7)](_0x1ac706(0x7f),()=>{const _0x3a66ea=_0x1ac706;this[_0x3a66ea(0xab)](_0x3a66ea(0x7f));});}[_0x56bf4e(0x96)](){const _0x58b054=_0x56bf4e;this[_0x58b054(0xa1)]['on'](_0x58b054(0x87),()=>{const _0x22445c=_0x58b054;this[_0x22445c(0xab)](_0x22445c(0x87));});}}function _0x5713(){const _0x10ee26=['addEventListener','uc-cloud-image-editor','set','target','fire','addedNodes','998740MFaBhK','_focusableView','querySelector','clear','_items','_loadingView','status','44LUqxol','apply','once','cancel','477696ggcATE','_addUploadcareImageEditorListeners','_setView','toLowerCase','1382003dFsMqU','add','152IfpyNv','retry','nodeName','_waitForImageEditorComponent','cdnUrl','8hJrbON','_editingView','ck-reset_all-excluded','addMany','disconnect','3978788TECFin','uploading','22210RZNTmx','10533vWIkGe','observe','ready','_addErrorViewListeners','filter','createCollection','focus','774eYkTpY','894CZFaoh','getFocusableElement','length','change:status','ck-uploadcare-form','render','_errorView','setTemplate','error','element','div','detail'];_0x5713=function(){return _0x10ee26;};return _0x5713();}
23
+ function _0x4d8d(){const _0x24685d=['_items','cancel','ck-uploadcare-form','addEventListener','_setView','querySelector','2ljugjV','1804130JlXdJo','_editingView','element','add','836826ynoqwD','status','once','observe','nodeName','uploading','filter','target','_addUploadcareImageEditorListeners','render','clear','138alwtxx','setTemplate','ck-reset_all-excluded','toLowerCase','_loadingView','24TNsGHX','ready','focus','set','_focusableView','retry','476148Vovfgp','2764536ZCsFPD','5002954xtvRdM','apply','error','change:status','82210wZCuzJ','getFocusableElement','addMany','_waitForImageEditorComponent','_addErrorViewListeners','cdnUrl','_errorView','detail','9NcwtFN','createCollection','fire','uc-cloud-image-editor','1018353MEbUso','disconnect','div','addedNodes','length'];_0x4d8d=function(){return _0x24685d;};return _0x4d8d();}const _0xacd3aa=_0x5c14;(function(_0x5ea7b8,_0x58b205){const _0xdf6d2b=_0x5c14,_0x14e1db=_0x5ea7b8();while(!![]){try{const _0x4ed9bb=-parseInt(_0xdf6d2b(0x1f9))/0x1*(-parseInt(_0xdf6d2b(0x1de))/0x2)+parseInt(_0xdf6d2b(0x1e3))/0x3+-parseInt(_0xdf6d2b(0x1fa))/0x4+-parseInt(_0xdf6d2b(0x1ff))/0x5*(parseInt(_0xdf6d2b(0x1ee))/0x6)+parseInt(_0xdf6d2b(0x1d3))/0x7*(parseInt(_0xdf6d2b(0x1f3))/0x8)+parseInt(_0xdf6d2b(0x1cf))/0x9*(-parseInt(_0xdf6d2b(0x1df))/0xa)+parseInt(_0xdf6d2b(0x1fb))/0xb;if(_0x4ed9bb===_0x58b205)break;else _0x14e1db['push'](_0x14e1db['shift']());}catch(_0x2ea656){_0x14e1db['push'](_0x14e1db['shift']());}}}(_0x4d8d,0x60d54));function _0x5c14(_0x494895,_0x1a1464){const _0x4d8de2=_0x4d8d();return _0x5c14=function(_0x5c14c0,_0x36a391){_0x5c14c0=_0x5c14c0-0x1cf;let _0x570f74=_0x4d8de2[_0x5c14c0];return _0x570f74;},_0x5c14(_0x494895,_0x1a1464);}import{View as _0x798f6e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5dce5d}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3cd74a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1ab402}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2a7d07}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2a7d07{[_0xacd3aa(0x1d8)];[_0xacd3aa(0x1f2)];[_0xacd3aa(0x205)];[_0xacd3aa(0x1e0)];[_0xacd3aa(0x1f7)];constructor(_0x33a63b,_0xed4e11,_0xa1ea4f){const _0x348beb=_0xacd3aa;super(_0x33a63b),this[_0x348beb(0x1d8)]=this[_0x348beb(0x1d0)](),this[_0x348beb(0x1f2)]=new _0x5dce5d(_0x33a63b),this[_0x348beb(0x205)]=new _0x3cd74a(_0x33a63b),this[_0x348beb(0x1e0)]=new _0x1ab402(_0x33a63b,_0xa1ea4f),this[_0x348beb(0x1f7)]=new _0x798f6e(_0x33a63b),this[_0x348beb(0x1f7)][_0x348beb(0x1ef)](this[_0x348beb(0x200)]()),this[_0x348beb(0x1f6)](_0x348beb(0x1e4),_0xed4e11),this[_0x348beb(0x1ef)]({'tag':_0x348beb(0x1d5),'attributes':{'class':['ck',_0x348beb(0x1f0),_0x348beb(0x1da)],'tabindex':'-1'},'children':this[_0x348beb(0x1d8)]}),this[_0x348beb(0x1dc)](),this[_0x348beb(0x1e5)](_0x348beb(0x1ec),()=>{const _0x38e8c0=_0x348beb;this[_0x38e8c0(0x202)](this[_0x38e8c0(0x1e1)],_0x396346=>{const _0x58b679=_0x38e8c0;this[_0x58b679(0x1eb)](_0x396346);});}),this['on'](_0x348beb(0x1fe),()=>{const _0x38bb7a=_0x348beb;this[_0x38bb7a(0x1dc)]();}),this[_0x348beb(0x203)]();}[_0xacd3aa(0x1f5)](){const _0x506ea5=_0xacd3aa;this[_0x506ea5(0x1e1)][_0x506ea5(0x1f5)]();}[_0xacd3aa(0x1dc)](){const _0x468979=_0xacd3aa;switch(this[_0x468979(0x1d8)][_0x468979(0x1ed)](),this[_0x468979(0x1e4)]){case _0x468979(0x1e8):this[_0x468979(0x1d8)][_0x468979(0x1e2)](this[_0x468979(0x1f2)]);break;case _0x468979(0x1fd):this[_0x468979(0x1d8)][_0x468979(0x1e2)](this[_0x468979(0x205)]);break;case _0x468979(0x1f4):this[_0x468979(0x1d8)][_0x468979(0x201)]([this[_0x468979(0x1e0)],this[_0x468979(0x1f7)]]);}}[_0xacd3aa(0x202)](_0x249bd7,_0x1e281b){const _0x1e85c7=_0xacd3aa,_0x33827a=_0x1e85c7(0x1d2),_0x40d857=_0x249bd7[_0x1e85c7(0x1dd)](_0x33827a);if(_0x40d857)return _0x1e281b(_0x40d857);const _0x5a1da0=new MutationObserver(_0x96c01b=>{const _0x4af087=_0x1e85c7,_0x3fe37a=_0x96c01b[_0x4af087(0x1e9)](_0x528471=>_0x528471[_0x4af087(0x1ea)]===_0x249bd7&&_0x528471[_0x4af087(0x1d6)][_0x4af087(0x1d7)]>0x0&&_0x528471[_0x4af087(0x1d6)][0x0][_0x4af087(0x1e7)][_0x4af087(0x1f1)]()===_0x33827a);_0x3fe37a[_0x4af087(0x1d7)]&&(_0x5a1da0[_0x4af087(0x1d4)](),_0x1e281b(_0x3fe37a[0x0][_0x4af087(0x1d6)][0x0]));});_0x5a1da0[_0x1e85c7(0x1e6)](_0x249bd7,{'childList':!0x0,'subtree':!0x0});}[_0xacd3aa(0x1eb)](_0x4a49a9){const _0xaa2623=_0xacd3aa;_0x4a49a9[_0xaa2623(0x1db)](_0xaa2623(0x1fc),_0x166e6a=>{const _0x56167f=_0xaa2623;this[_0x56167f(0x1d1)](_0x56167f(0x1fc),{'imageSrc':_0x166e6a[_0x56167f(0x206)][_0x56167f(0x204)]});}),_0x4a49a9[_0xaa2623(0x1db)](_0xaa2623(0x1d9),()=>{const _0x34f973=_0xaa2623;this[_0x34f973(0x1d1)](_0x34f973(0x1d9));});}[_0xacd3aa(0x203)](){const _0x39177d=_0xacd3aa;this[_0x39177d(0x205)]['on'](_0x39177d(0x1f8),()=>{const _0x2ee1d1=_0x39177d;this[_0x2ee1d1(0x1d1)](_0x2ee1d1(0x1f8));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cc957=_0x2c91;function _0x2027(){const _0x347f9d=['set','18723048wtQOKN','368NrbTLA','refresh','selection','element','isActive','4363982hVvvIx','unbind','122797peJAVh','plugins','getSelectedElement','imageInline','execute','939824wykcuK','editor','isEnabled','config','model','2646165nEaMmo','imageEditController','get','imageBlock','document','2568258dVPwQr','uploadcare.allowExternalImagesEditing','_isEditable','9trgDQN','bind','requires','5538GgvLkI'];_0x2027=function(){return _0x347f9d;};return _0x2027();}(function(_0x553864,_0x16d0e2){const _0x5af978=_0x2c91,_0x27d6dc=_0x553864();while(!![]){try{const _0x4adc47=-parseInt(_0x5af978(0x9a))/0x1+-parseInt(_0x5af978(0x80))/0x2+parseInt(_0x5af978(0x90))/0x3*(parseInt(_0x5af978(0x93))/0x4)+-parseInt(_0x5af978(0x85))/0x5+-parseInt(_0x5af978(0x8a))/0x6+-parseInt(_0x5af978(0x98))/0x7+parseInt(_0x5af978(0x92))/0x8*(parseInt(_0x5af978(0x8d))/0x9);if(_0x4adc47===_0x16d0e2)break;else _0x27d6dc['push'](_0x27d6dc['shift']());}catch(_0x3aea88){_0x27d6dc['push'](_0x27d6dc['shift']());}}}(_0x2027,0x523a2));import{Command as _0x4b07fb}from'ckeditor5/src/core.js';import{Dialog as _0x46c19e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5659a8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1a2979}from'../utils/editingutils.js';function _0x2c91(_0x4000ba,_0x404a1b){const _0x2027b9=_0x2027();return _0x2c91=function(_0x2c9133,_0xbb684e){_0x2c9133=_0x2c9133-0x80;let _0x5972d8=_0x2027b9[_0x2c9133];return _0x5972d8;},_0x2c91(_0x4000ba,_0x404a1b);}export class UploadcareImageEditCommand extends _0x4b07fb{[_0x3cc957(0x86)];static get[_0x3cc957(0x8f)](){return[_0x46c19e];}[_0x3cc957(0x8c)];constructor(_0x26c3eb){const _0x5144b7=_0x3cc957;super(_0x26c3eb),this[_0x5144b7(0x86)]=void 0x0,this[_0x5144b7(0x8c)]=_0x1a2979(_0x26c3eb[_0x5144b7(0x83)][_0x5144b7(0x87)](_0x5144b7(0x8b))||[]),this[_0x5144b7(0x91)]({'isActive':!0x1});}[_0x3cc957(0x94)](){const _0x555ab3=_0x3cc957,_0x4c5a27=this[_0x555ab3(0x81)][_0x555ab3(0x84)][_0x555ab3(0x89)][_0x555ab3(0x95)][_0x555ab3(0x9c)]();this[_0x555ab3(0x82)]=this[_0x555ab3(0x8c)](_0x4c5a27);}[_0x3cc957(0x9e)](){const _0x1aab27=_0x3cc957;this[_0x1aab27(0x86)]&&(this[_0x1aab27(0x99)](_0x1aab27(0x97)),this[_0x1aab27(0x86)]=void 0x0);const _0x2bc975=this[_0x1aab27(0x81)][_0x1aab27(0x84)][_0x1aab27(0x89)][_0x1aab27(0x95)][_0x1aab27(0x9c)]();_0x2bc975&&(_0x2bc975['is'](_0x1aab27(0x96),_0x1aab27(0x88))||_0x2bc975['is'](_0x1aab27(0x96),_0x1aab27(0x9d)))&&(this[_0x1aab27(0x86)]=new _0x5659a8(this[_0x1aab27(0x81)],this[_0x1aab27(0x81)][_0x1aab27(0x9b)][_0x1aab27(0x87)](_0x46c19e),_0x2bc975),this[_0x1aab27(0x8e)](_0x1aab27(0x97))['to'](this[_0x1aab27(0x86)],_0x1aab27(0x97)));}}
23
+ const _0x171250=_0x56a5;(function(_0x467271,_0x5e3b7b){const _0x4539fe=_0x56a5,_0x5deacd=_0x467271();while(!![]){try{const _0x257e41=-parseInt(_0x4539fe(0x9c))/0x1+parseInt(_0x4539fe(0xa4))/0x2*(-parseInt(_0x4539fe(0xac))/0x3)+-parseInt(_0x4539fe(0xa8))/0x4+parseInt(_0x4539fe(0xa6))/0x5*(-parseInt(_0x4539fe(0x91))/0x6)+-parseInt(_0x4539fe(0xab))/0x7+-parseInt(_0x4539fe(0x92))/0x8+parseInt(_0x4539fe(0xaf))/0x9*(parseInt(_0x4539fe(0x98))/0xa);if(_0x257e41===_0x5e3b7b)break;else _0x5deacd['push'](_0x5deacd['shift']());}catch(_0xcfda4e){_0x5deacd['push'](_0x5deacd['shift']());}}}(_0x3a34,0xaa6af));import{Command as _0x4e55c6}from'ckeditor5/src/core.js';function _0x56a5(_0x43d04b,_0x6ba5b){const _0x3a3405=_0x3a34();return _0x56a5=function(_0x56a515,_0x15441c){_0x56a515=_0x56a515-0x91;let _0xbadc8c=_0x3a3405[_0x56a515];return _0xbadc8c;},_0x56a5(_0x43d04b,_0x6ba5b);}import{Dialog as _0x1d2a37}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x52affa}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2c88b9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4e55c6{[_0x171250(0x9f)];static get[_0x171250(0x94)](){return[_0x1d2a37];}[_0x171250(0xa7)];constructor(_0x40322a){const _0x491dda=_0x171250;super(_0x40322a),this[_0x491dda(0x9f)]=void 0x0,this[_0x491dda(0xa7)]=_0x2c88b9(_0x40322a[_0x491dda(0xb0)][_0x491dda(0x9b)](_0x491dda(0xad))||[]),this[_0x491dda(0xa2)]({'isActive':!0x1});}[_0x171250(0x9a)](){const _0x43af9a=_0x171250,_0x2c061d=this[_0x43af9a(0xa1)][_0x43af9a(0xae)][_0x43af9a(0xa9)][_0x43af9a(0x93)][_0x43af9a(0x9e)]();this[_0x43af9a(0xaa)]=this[_0x43af9a(0xa7)](_0x2c061d);}[_0x171250(0x95)](){const _0x234c8e=_0x171250;this[_0x234c8e(0x9f)]&&(this[_0x234c8e(0xa0)](_0x234c8e(0xa5)),this[_0x234c8e(0x9f)]=void 0x0);const _0x28aebe=this[_0x234c8e(0xa1)][_0x234c8e(0xae)][_0x234c8e(0xa9)][_0x234c8e(0x93)][_0x234c8e(0x9e)]();_0x28aebe&&(_0x28aebe['is'](_0x234c8e(0x99),_0x234c8e(0xa3))||_0x28aebe['is'](_0x234c8e(0x99),_0x234c8e(0x9d)))&&(this[_0x234c8e(0x9f)]=new _0x52affa(this[_0x234c8e(0xa1)],this[_0x234c8e(0xa1)][_0x234c8e(0x96)][_0x234c8e(0x9b)](_0x1d2a37),_0x28aebe),this[_0x234c8e(0x97)](_0x234c8e(0xa5))['to'](this[_0x234c8e(0x9f)],_0x234c8e(0xa5)));}}function _0x3a34(){const _0x56a8f2=['refresh','get','1038756fHNRIF','imageInline','getSelectedElement','imageEditController','unbind','editor','set','imageBlock','5484TjTIJP','isActive','830qyJFVL','_isEditable','258448ilDYSd','document','isEnabled','2422525OcDYUx','708nGwpRB','uploadcare.allowExternalImagesEditing','model','9QOydIY','config','3414gWydSh','906016WmfWRR','selection','requires','execute','plugins','bind','30022920wNoFGQ','element'];_0x3a34=function(){return _0x56a8f2;};return _0x3a34();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55f64d=_0x24c9;(function(_0x32a313,_0x5493b5){const _0xc863f1=_0x24c9,_0x2ae625=_0x32a313();while(!![]){try{const _0x5c12e4=-parseInt(_0xc863f1(0x92))/0x1+parseInt(_0xc863f1(0x96))/0x2*(-parseInt(_0xc863f1(0x94))/0x3)+parseInt(_0xc863f1(0xa1))/0x4*(-parseInt(_0xc863f1(0x8d))/0x5)+parseInt(_0xc863f1(0x9b))/0x6*(-parseInt(_0xc863f1(0x8f))/0x7)+parseInt(_0xc863f1(0x8c))/0x8*(-parseInt(_0xc863f1(0x9c))/0x9)+parseInt(_0xc863f1(0x91))/0xa*(parseInt(_0xc863f1(0x8b))/0xb)+-parseInt(_0xc863f1(0x93))/0xc*(-parseInt(_0xc863f1(0x99))/0xd);if(_0x5c12e4===_0x5493b5)break;else _0x2ae625['push'](_0x2ae625['shift']());}catch(_0x36320a){_0x2ae625['push'](_0x2ae625['shift']());}}}(_0x24a9,0xb4c70));import{Plugin as _0x380658}from'ckeditor5/src/core.js';function _0x24a9(){const _0x4e27c1=['1214UgVHgr','ImageUtils','requires','31213lilLTk','isOfficialPlugin','64266zBnYIF','279126GJGTIr','pluginName','uploadcareImageEdit','add','UploadcareImageEditEditing','121228ntqVGk','uploadcareImageReplace','init','253omLKxy','72hfefBf','135nSAALY','commands','903ZqBDCR','isPremiumPlugin','407470xEslwC','1465856XLiuiq','25068niysgV','6264qTOmnX','ImageEditing'];_0x24a9=function(){return _0x4e27c1;};return _0x24a9();}import{Notification as _0x575568}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4f89fb}from'./uploadcareimageeditcommand.js';function _0x24c9(_0x3409f9,_0x40c620){const _0x24a960=_0x24a9();return _0x24c9=function(_0x24c982,_0x4d040b){_0x24c982=_0x24c982-0x8a;let _0x2b3f0f=_0x24a960[_0x24c982];return _0x2b3f0f;},_0x24c9(_0x3409f9,_0x40c620);}import{UploadcareImageReplaceCommand as _0x123ef6}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x146a1d}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x380658{static get[_0x55f64d(0x9d)](){const _0x20fead=_0x55f64d;return _0x20fead(0xa0);}static get[_0x55f64d(0x98)](){const _0x10a34b=_0x55f64d;return[_0x146a1d,_0x575568,_0x10a34b(0x97),_0x10a34b(0x95)];}static get[_0x55f64d(0x9a)](){return!0x0;}static get[_0x55f64d(0x90)](){return!0x0;}[_0x55f64d(0x8a)](){const _0x4f6df6=_0x55f64d,{editor:_0x5b1e2c}=this;_0x5b1e2c[_0x4f6df6(0x8e)][_0x4f6df6(0x9f)](_0x4f6df6(0x9e),new _0x4f89fb(_0x5b1e2c)),_0x5b1e2c[_0x4f6df6(0x8e)][_0x4f6df6(0x9f)](_0x4f6df6(0xa2),new _0x123ef6(_0x5b1e2c));}}
23
+ const _0x56a8be=_0xf7a4;function _0x110e(){const _0x89972d=['add','3596665WJKHlM','2351961OmqnKL','ImageEditing','uploadcareImageEdit','isOfficialPlugin','uploadcareImageReplace','requires','4306218uohkHK','40UQcBUE','5552488hMFZKz','10289576gJPBsP','1712569ffPApC','commands','501282UGdNzH','2kkfhxp','init','98uUJgEt','pluginName','ImageUtils','UploadcareImageEditEditing','isPremiumPlugin'];_0x110e=function(){return _0x89972d;};return _0x110e();}(function(_0x513817,_0x30c5f7){const _0x4e73b=_0xf7a4,_0x570646=_0x513817();while(!![]){try{const _0x189f13=-parseInt(_0x4e73b(0x1b9))/0x1*(-parseInt(_0x4e73b(0x1bc))/0x2)+-parseInt(_0x4e73b(0x1b5))/0x3+parseInt(_0x4e73b(0x1b7))/0x4+parseInt(_0x4e73b(0x1ae))/0x5+-parseInt(_0x4e73b(0x1bb))/0x6*(parseInt(_0x4e73b(0x1be))/0x7)+-parseInt(_0x4e73b(0x1b8))/0x8+parseInt(_0x4e73b(0x1af))/0x9*(parseInt(_0x4e73b(0x1b6))/0xa);if(_0x189f13===_0x30c5f7)break;else _0x570646['push'](_0x570646['shift']());}catch(_0x1eecaf){_0x570646['push'](_0x570646['shift']());}}}(_0x110e,0xedcff));function _0xf7a4(_0x593076,_0x5c9476){const _0x110ef7=_0x110e();return _0xf7a4=function(_0xf7a439,_0x4f6cf9){_0xf7a439=_0xf7a439-0x1ae;let _0x3c5751=_0x110ef7[_0xf7a439];return _0x3c5751;},_0xf7a4(_0x593076,_0x5c9476);}import{Plugin as _0x4096b5}from'ckeditor5/src/core.js';import{Notification as _0x492bf9}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1aabf1}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x128e6b}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x511ba2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4096b5{static get[_0x56a8be(0x1bf)](){const _0x289267=_0x56a8be;return _0x289267(0x1c1);}static get[_0x56a8be(0x1b4)](){const _0xe4b511=_0x56a8be;return[_0x511ba2,_0x492bf9,_0xe4b511(0x1c0),_0xe4b511(0x1b0)];}static get[_0x56a8be(0x1b2)](){return!0x0;}static get[_0x56a8be(0x1c2)](){return!0x0;}[_0x56a8be(0x1bd)](){const _0x1d27da=_0x56a8be,{editor:_0x407217}=this;_0x407217[_0x1d27da(0x1ba)][_0x1d27da(0x1c3)](_0x1d27da(0x1b1),new _0x1aabf1(_0x407217)),_0x407217[_0x1d27da(0x1ba)][_0x1d27da(0x1c3)](_0x1d27da(0x1b3),new _0x128e6b(_0x407217));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x56bbd3}from'ckeditor5/src/core.js';import{ButtonView as _0x187ca4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3ed802}from'ckeditor5/src/icons.js';import{createElement as _0x22f60d}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 _0x56bbd3{['_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 _0x4bb266=this['editor'];_0x4bb266['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5b8b8d=>{const _0x5f0102=_0x4bb266['commands']['get']('uploadcareImageEdit'),_0x1d7a42=new _0x187ca4(_0x5b8b8d),t=_0x5b8b8d['t'];return _0x1d7a42['set']({'icon':_0x3ed802,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1d7a42['bind']('isEnabled')['to'](_0x5f0102),_0x1d7a42['bind']('isOn')['to'](_0x5f0102,'isActive'),this['listenTo'](_0x1d7a42,'execute',()=>{_0x4bb266['execute']('uploadcareImageEdit'),_0x4bb266['editing']['view']['focus']();}),_0x1d7a42;}),this['_initConfig']();}['_initConfig'](){const _0x1d2cee=_0x22f60d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1d2cee),this['listenTo'](this['editor'],'destroy',()=>{_0x1d2cee['remove']();});}}
23
+ import{Plugin as _0x51f7e2}from'ckeditor5/src/core.js';import{ButtonView as _0x3ac9ac}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1bb92f}from'ckeditor5/src/icons.js';import{createElement as _0x147a80}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 _0x51f7e2{['_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 _0x2d7f75=this['editor'];_0x2d7f75['ui']['componentFactory']['add']('uploadcareImageEdit',_0x47fe7f=>{const _0x3c1a76=_0x2d7f75['commands']['get']('uploadcareImageEdit'),_0xbe8020=new _0x3ac9ac(_0x47fe7f),t=_0x47fe7f['t'];return _0xbe8020['set']({'icon':_0x1bb92f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xbe8020['bind']('isEnabled')['to'](_0x3c1a76),_0xbe8020['bind']('isOn')['to'](_0x3c1a76,'isActive'),this['listenTo'](_0xbe8020,'execute',()=>{_0x2d7f75['execute']('uploadcareImageEdit'),_0x2d7f75['editing']['view']['focus']();}),_0xbe8020;}),this['_initConfig']();}['_initConfig'](){const _0x25780e=_0x147a80(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x25780e),this['listenTo'](this['editor'],'destroy',()=>{_0x25780e['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c67b5=_0x1093;(function(_0x4c1a2d,_0x256592){const _0x1fbd8f=_0x1093,_0x3ef38b=_0x4c1a2d();while(!![]){try{const _0xa068bd=parseInt(_0x1fbd8f(0x144))/0x1+parseInt(_0x1fbd8f(0x130))/0x2+parseInt(_0x1fbd8f(0x146))/0x3+-parseInt(_0x1fbd8f(0x138))/0x4*(-parseInt(_0x1fbd8f(0x133))/0x5)+-parseInt(_0x1fbd8f(0x12f))/0x6*(parseInt(_0x1fbd8f(0x137))/0x7)+parseInt(_0x1fbd8f(0x136))/0x8*(-parseInt(_0x1fbd8f(0x147))/0x9)+-parseInt(_0x1fbd8f(0x132))/0xa*(parseInt(_0x1fbd8f(0x148))/0xb);if(_0xa068bd===_0x256592)break;else _0x3ef38b['push'](_0x3ef38b['shift']());}catch(_0x19e2ae){_0x3ef38b['push'](_0x3ef38b['shift']());}}}(_0x3131,0xd5efd));function _0x1093(_0x6185d9,_0x97146e){const _0x31315c=_0x3131();return _0x1093=function(_0x1093be,_0x3ece50){_0x1093be=_0x1093be-0x12f;let _0x34cc9c=_0x31315c[_0x1093be];return _0x34cc9c;},_0x1093(_0x6185d9,_0x97146e);}function _0x3131(){const _0x123385=['imageInline','removeAttribute','srcset','sizes','selection','635970MMdoSK','editor','4213023bfClyT','522ZcBMqI','1221DsrrgE','change','24MRmQXw','1498202twQXku','isEnabled','60730IyExua','14740LNykIM','model','refresh','175312fHpzrr','2203663ayFsjY','1752rNZXXq','setAttributes','document','getSelectedElement','element','execute','imageBlock'];_0x3131=function(){return _0x123385;};return _0x3131();}import{Command as _0x14a888}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x14a888{[_0x5c67b5(0x135)](){const _0x501273=_0x5c67b5,_0x59bfb5=this[_0x501273(0x145)][_0x501273(0x134)][_0x501273(0x13a)][_0x501273(0x143)][_0x501273(0x13b)]();this[_0x501273(0x131)]=Boolean(_0x59bfb5&&(_0x59bfb5['is'](_0x501273(0x13c),_0x501273(0x13e))||_0x59bfb5['is'](_0x501273(0x13c),_0x501273(0x13f))));}[_0x5c67b5(0x13d)](_0x20c741){const _0x2d3b53=_0x5c67b5,_0x322367=this[_0x2d3b53(0x145)][_0x2d3b53(0x134)][_0x2d3b53(0x13a)][_0x2d3b53(0x143)][_0x2d3b53(0x13b)]();this[_0x2d3b53(0x145)][_0x2d3b53(0x134)][_0x2d3b53(0x149)](_0x193f1d=>{const _0x32cc3a=_0x2d3b53;_0x193f1d[_0x32cc3a(0x139)](_0x20c741,_0x322367),_0x193f1d[_0x32cc3a(0x140)](_0x32cc3a(0x141),_0x322367),_0x193f1d[_0x32cc3a(0x140)](_0x32cc3a(0x142),_0x322367);});}}
23
+ const _0x1d3509=_0x4ef2;(function(_0x22099c,_0x5df99e){const _0x5b63d8=_0x4ef2,_0x3b0834=_0x22099c();while(!![]){try{const _0x477a06=-parseInt(_0x5b63d8(0xf1))/0x1+parseInt(_0x5b63d8(0xf8))/0x2+-parseInt(_0x5b63d8(0xf5))/0x3*(parseInt(_0x5b63d8(0xfd))/0x4)+-parseInt(_0x5b63d8(0xff))/0x5*(-parseInt(_0x5b63d8(0x103))/0x6)+parseInt(_0x5b63d8(0x101))/0x7*(-parseInt(_0x5b63d8(0xfc))/0x8)+-parseInt(_0x5b63d8(0xfb))/0x9*(-parseInt(_0x5b63d8(0xee))/0xa)+parseInt(_0x5b63d8(0xf0))/0xb;if(_0x477a06===_0x5df99e)break;else _0x3b0834['push'](_0x3b0834['shift']());}catch(_0x3480be){_0x3b0834['push'](_0x3b0834['shift']());}}}(_0x5025,0xd3cec));import{Command as _0x132a6a}from'ckeditor5/src/core.js';function _0x4ef2(_0x1f2ccc,_0x55eb59){const _0x5025aa=_0x5025();return _0x4ef2=function(_0x4ef278,_0xcf82fd){_0x4ef278=_0x4ef278-0xed;let _0x3bfdfe=_0x5025aa[_0x4ef278];return _0x3bfdfe;},_0x4ef2(_0x1f2ccc,_0x55eb59);}export class UploadcareImageReplaceCommand extends _0x132a6a{[_0x1d3509(0xf2)](){const _0x57e545=_0x1d3509,_0xbb7384=this[_0x57e545(0xf4)][_0x57e545(0xfa)][_0x57e545(0x104)][_0x57e545(0xf9)][_0x57e545(0xfe)]();this[_0x57e545(0x107)]=Boolean(_0xbb7384&&(_0xbb7384['is'](_0x57e545(0xed),_0x57e545(0xef))||_0xbb7384['is'](_0x57e545(0xed),_0x57e545(0x106))));}[_0x1d3509(0x100)](_0x541112){const _0x518f78=_0x1d3509,_0x4e97bc=this[_0x518f78(0xf4)][_0x518f78(0xfa)][_0x518f78(0x104)][_0x518f78(0xf9)][_0x518f78(0xfe)]();this[_0x518f78(0xf4)][_0x518f78(0xfa)][_0x518f78(0x105)](_0x12d13=>{const _0x2a7caf=_0x518f78;_0x12d13[_0x2a7caf(0xf7)](_0x541112,_0x4e97bc),_0x12d13[_0x2a7caf(0x102)](_0x2a7caf(0xf6),_0x4e97bc),_0x12d13[_0x2a7caf(0x102)](_0x2a7caf(0xf3),_0x4e97bc);});}}function _0x5025(){const _0x1316d8=['imageBlock','22138787HIvuEj','1332597kdOKeN','refresh','sizes','editor','387741fTeolX','srcset','setAttributes','2036096VcUnXs','selection','model','18puiIbD','208bgVGLn','4SMzTtT','getSelectedElement','1952295YXCRgq','execute','340557gcQQER','removeAttribute','6czvnUO','document','change','imageInline','isEnabled','element','866050yUQajc'];_0x5025=function(){return _0x1316d8;};return _0x5025();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa9fc52=_0x5da1;function _0x5da1(_0x18c1b8,_0x44e2bd){var _0x2deb6f=_0x2deb();return _0x5da1=function(_0x5da1d4,_0x2f85d8){_0x5da1d4=_0x5da1d4-0x1a6;var _0x5ddd8a=_0x2deb6f[_0x5da1d4];return _0x5ddd8a;},_0x5da1(_0x18c1b8,_0x44e2bd);}(function(_0x2e758d,_0xd70735){var _0x1411c6=_0x5da1,_0x2a1581=_0x2e758d();while(!![]){try{var _0x26ef23=-parseInt(_0x1411c6(0x1b0))/0x1*(parseInt(_0x1411c6(0x1aa))/0x2)+-parseInt(_0x1411c6(0x1a9))/0x3+-parseInt(_0x1411c6(0x1ac))/0x4*(-parseInt(_0x1411c6(0x1af))/0x5)+-parseInt(_0x1411c6(0x1ab))/0x6+-parseInt(_0x1411c6(0x1b3))/0x7*(parseInt(_0x1411c6(0x1a7))/0x8)+parseInt(_0x1411c6(0x1b2))/0x9+parseInt(_0x1411c6(0x1b1))/0xa;if(_0x26ef23===_0xd70735)break;else _0x2a1581['push'](_0x2a1581['shift']());}catch(_0x3c81db){_0x2a1581['push'](_0x2a1581['shift']());}}}(_0x2deb,0xbf1c0));import{Plugin as _0x5c51db}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x30321f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2deb(){var _0x1d1c6d=['requires','1592DufHFf','pluginName','1986492kFbxeC','2196grTieV','6283938KnHKoR','4OYBhwR','isOfficialPlugin','isPremiumPlugin','1327765vmGGqP','270KmsPgf','18986110KLtene','10773810uvHYcG','20139PkqKWO','UploadcareImageEdit'];_0x2deb=function(){return _0x1d1c6d;};return _0x2deb();}import{UploadcareImageEditUI as _0x303a0}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5c51db{static get[_0xa9fc52(0x1a8)](){var _0x27de29=_0xa9fc52;return _0x27de29(0x1b4);}static get[_0xa9fc52(0x1a6)](){return[_0x30321f,_0x303a0];}static get[_0xa9fc52(0x1ad)](){return!0x0;}static get[_0xa9fc52(0x1ae)](){return!0x0;}}
23
+ var _0xf77c4=_0x500f;function _0x500f(_0x3c3b17,_0x367cfa){var _0x23fd43=_0x23fd();return _0x500f=function(_0x500f77,_0x53ca32){_0x500f77=_0x500f77-0x1af;var _0x31ee01=_0x23fd43[_0x500f77];return _0x31ee01;},_0x500f(_0x3c3b17,_0x367cfa);}(function(_0x389278,_0x45f98f){var _0x2cff24=_0x500f,_0xc5c9aa=_0x389278();while(!![]){try{var _0x2e8d64=parseInt(_0x2cff24(0x1b0))/0x1*(parseInt(_0x2cff24(0x1b5))/0x2)+-parseInt(_0x2cff24(0x1bc))/0x3+parseInt(_0x2cff24(0x1ba))/0x4+-parseInt(_0x2cff24(0x1b7))/0x5+parseInt(_0x2cff24(0x1bd))/0x6*(-parseInt(_0x2cff24(0x1b3))/0x7)+parseInt(_0x2cff24(0x1b2))/0x8*(parseInt(_0x2cff24(0x1b8))/0x9)+parseInt(_0x2cff24(0x1b1))/0xa;if(_0x2e8d64===_0x45f98f)break;else _0xc5c9aa['push'](_0xc5c9aa['shift']());}catch(_0x3f3df8){_0xc5c9aa['push'](_0xc5c9aa['shift']());}}}(_0x23fd,0xb6412));import{Plugin as _0x3c0b77}from'ckeditor5/src/core.js';function _0x23fd(){var _0x2c5094=['11663950PTqzOP','624SlpZVJ','9303742HfVqeo','isOfficialPlugin','108094xXfSfU','pluginName','4541615wArPoR','103833UjDfjG','requires','4901264exHeBt','UploadcareImageEdit','3030795hnMVae','6HmZaUY','isPremiumPlugin','13uROTBu'];_0x23fd=function(){return _0x2c5094;};return _0x23fd();}import{UploadcareImageEditEditing as _0xaf7134}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2f7706}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3c0b77{static get[_0xf77c4(0x1b6)](){var _0x11777d=_0xf77c4;return _0x11777d(0x1bb);}static get[_0xf77c4(0x1b9)](){return[_0xaf7134,_0x2f7706];}static get[_0xf77c4(0x1b4)](){return!0x0;}static get[_0xf77c4(0x1af)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c144c=_0x1d6c;(function(_0x4189c5,_0x24066d){const _0x59ed9c=_0x1d6c,_0x15668a=_0x4189c5();while(!![]){try{const _0x1313ae=-parseInt(_0x59ed9c(0x17b))/0x1*(parseInt(_0x59ed9c(0x186))/0x2)+parseInt(_0x59ed9c(0x16a))/0x3+parseInt(_0x59ed9c(0x1b3))/0x4+parseInt(_0x59ed9c(0x171))/0x5*(parseInt(_0x59ed9c(0x174))/0x6)+-parseInt(_0x59ed9c(0x1a4))/0x7+-parseInt(_0x59ed9c(0x175))/0x8*(parseInt(_0x59ed9c(0x17a))/0x9)+parseInt(_0x59ed9c(0x173))/0xa;if(_0x1313ae===_0x24066d)break;else _0x15668a['push'](_0x15668a['shift']());}catch(_0x57310c){_0x15668a['push'](_0x15668a['shift']());}}}(_0x416a,0xd9f45));import{Plugin as _0x19797d}from'ckeditor5/src/core.js';import{IconDropbox as _0x5b4b83,IconFacebook as _0x4b5903,IconGoogleDrive as _0x23b77b,IconGooglePhotos as _0x45383b,IconUploadcareImageUpload as _0x410b35,IconUploadcareLink as _0x2788ce,IconOneDrive as _0x38eb6a}from'ckeditor5/src/icons.js';import{ButtonView as _0x46d829,MenuBarMenuListItemButtonView as _0x1bdc02}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1e9570}from'./uploadcareconfig.js';function _0x1d6c(_0x349afe,_0x26dbeb){const _0x416aae=_0x416a();return _0x1d6c=function(_0x1d6ce0,_0x20f032){_0x1d6ce0=_0x1d6ce0-0x169;let _0x5b2fdd=_0x416aae[_0x1d6ce0];return _0x5b2fdd;},_0x1d6c(_0x349afe,_0x26dbeb);}import{getTranslation as _0x4c7ead}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x416a(){const _0x24e14c=['usageLimit','Uploadcare','get','_createDropdownButtons','text','6155GFTHgq','shortText','12283760JWRhGd','4152dVXtOF','136AEFuus','uploadcareLicenseKeyExpired','map','isPremiumPlugin','evaluationLimit','466929bGTCcA','159256MLgfCZ','withText','uploadcareLicenseKeyEvaluationLimit','domainLimit','init','url','_getIntegrationKey','icon','destroy','execute','licenseKey','2iTFJUq','isOfficialPlugin','label','entries','trialLimit','uploadcareLicenseKeyUsageLimit','type','uploadcareLicenseKeyNotAllowed','GDrive','UploadcareUI','uploadcare','isEnabled','isImageSelected','plugins','editor','upload','uploadcareLicenseKeyValid','_createButton','config','Replace','_showLicenseError','Facebook','Local','expired','uploadcareLicenseKeyTrialLimit','tooltip','URL','featureNotAllowed','afterInit','OneDrive','11310243IhCYYY','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','Dropbox','_licenseKeyCheckInterval','ImageInsertUI','_createToolbarButton','push','Insert','pluginName','locale','assetManager','invalid','_createMenuBarButtons','registerIntegration','1632228xfKLCe','forEach','reduce','bind','GPhotos','uploadcareLicenseKeyInvalid','has','_normalizeConfigSourceList','3184314alaogu','commands'];_0x416a=function(){return _0x24e14c;};return _0x416a();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x19797d{[_0x4c144c(0x185)];[_0x4c144c(0x1a8)];static get[_0x4c144c(0x1ad)](){const _0x10686e=_0x4c144c;return _0x10686e(0x18f);}static get[_0x4c144c(0x187)](){return!0x0;}static get[_0x4c144c(0x178)](){return!0x0;}[_0x4c144c(0x17f)](){const _0x245ac6=_0x4c144c;this[_0x245ac6(0x185)]=this[_0x245ac6(0x194)][_0x245ac6(0x198)][_0x245ac6(0x16e)](_0x245ac6(0x185));const _0x5ba620=this[_0x245ac6(0x194)];this[_0x245ac6(0x1a8)]=setInterval(()=>{const _0x11bc7d=_0x245ac6;let _0x135da1;for(const _0x289c15 in _0x5ba620){const _0x4ce8e3=_0x289c15,_0x228b90=_0x5ba620[_0x4ce8e3];if(_0x11bc7d(0x196)==_0x228b90||_0x11bc7d(0x1b8)==_0x228b90||_0x11bc7d(0x176)==_0x228b90||_0x11bc7d(0x1a5)==_0x228b90||_0x11bc7d(0x18d)==_0x228b90||_0x11bc7d(0x17d)==_0x228b90||_0x11bc7d(0x19e)==_0x228b90||_0x11bc7d(0x18b)==_0x228b90){delete _0x5ba620[_0x4ce8e3],_0x135da1=_0x228b90,clearInterval(this[_0x11bc7d(0x1a8)]),this[_0x11bc7d(0x1a8)]=void 0x0;break;}}_0x11bc7d(0x1b8)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x1b0)),_0x11bc7d(0x176)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x19d)),_0x11bc7d(0x1a5)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x17e)),_0x11bc7d(0x18d)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x1a1),_0x11bc7d(0x16d)),_0x11bc7d(0x17d)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x179)),_0x11bc7d(0x19e)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x18a)),_0x11bc7d(0x18b)==_0x135da1&&_0x5ba620[_0x11bc7d(0x19a)](_0x11bc7d(0x16c));},0x3e8);}[_0x4c144c(0x1a2)](){const _0x34cec2=_0x4c144c,{editor:_0x3a1cea}=this,_0xc45f01=_0x3a1cea[_0x34cec2(0x16b)][_0x34cec2(0x16e)](_0x34cec2(0x190));if(!_0xc45f01)return;const _0xcd0196=this[_0x34cec2(0x169)](_0x3a1cea[_0x34cec2(0x198)][_0x34cec2(0x16e)](_0x34cec2(0x1a6)))[_0x34cec2(0x1b5)]((_0x3af9ee,_0x336c49)=>{const _0x178945=_0x34cec2,_0x113b03=this[_0x178945(0x181)](_0x336c49[_0x178945(0x18c)]);return _0x3af9ee[_0x113b03]||(_0x3af9ee[_0x113b03]=[]),_0x3af9ee[_0x113b03][_0x178945(0x1ab)](_0x336c49),_0x3af9ee;},{});_0x3a1cea[_0x34cec2(0x193)][_0x34cec2(0x1b9)](_0x34cec2(0x1a9))&&_0x3a1cea[_0x34cec2(0x16b)][_0x34cec2(0x16e)](_0x34cec2(0x190))&&Object[_0x34cec2(0x189)](_0xcd0196)[_0x34cec2(0x1b4)](([_0x5be382,_0x3ef062])=>{const _0x518b8e=_0x34cec2;_0x3a1cea[_0x518b8e(0x193)][_0x518b8e(0x16e)](_0x518b8e(0x1a9))[_0x518b8e(0x1b2)]({'name':_0x5be382,'observable':()=>_0xc45f01,'buttonViewCreator':()=>this[_0x518b8e(0x1aa)](_0x3ef062),'formViewCreator':()=>this[_0x518b8e(0x16f)](_0x3ef062),'menuBarButtonViewCreator':()=>this[_0x518b8e(0x1b1)](_0x3ef062),'override':_0x518b8e(0x1af)!==_0x5be382});});}[_0x4c144c(0x183)](){const _0x22d6f8=_0x4c144c;super[_0x22d6f8(0x183)](),this[_0x22d6f8(0x1a8)]&&clearInterval(this[_0x22d6f8(0x1a8)]);}[_0x4c144c(0x169)](_0x34dfb5){const _0xc98438=_0x4c144c,{locale:_0x54624e}=this[_0xc98438(0x194)];return _0x34dfb5[_0xc98438(0x177)](_0x4410bd=>{const _0x522872=_0xc98438,_0x3619bb=_0x4c7ead(_0x54624e,_0x4410bd,_0x522872(0x1ac));switch(_0x4410bd){case _0x1e9570[_0x522872(0x19c)]:return{'icon':_0x410b35,'type':_0x1e9570[_0x522872(0x19c)],..._0x3619bb};case _0x1e9570[_0x522872(0x1a0)]:return{'icon':_0x2788ce,'type':_0x1e9570[_0x522872(0x1a0)],..._0x3619bb};case _0x1e9570[_0x522872(0x1a7)]:return{'icon':_0x5b4b83,'type':_0x1e9570[_0x522872(0x1a7)],..._0x3619bb};case _0x1e9570[_0x522872(0x19b)]:return{'icon':_0x4b5903,'type':_0x1e9570[_0x522872(0x19b)],..._0x3619bb};case _0x1e9570[_0x522872(0x18e)]:return{'icon':_0x23b77b,'type':_0x1e9570[_0x522872(0x18e)],..._0x3619bb};case _0x1e9570[_0x522872(0x1b7)]:return{'icon':_0x45383b,'type':_0x1e9570[_0x522872(0x1b7)],..._0x3619bb};case _0x1e9570[_0x522872(0x1a3)]:return{'icon':_0x38eb6a,'type':_0x1e9570[_0x522872(0x1a3)],..._0x3619bb};}});}[_0x4c144c(0x181)](_0x3ce64b){const _0x3d02d4=_0x4c144c;switch(_0x3ce64b){case _0x1e9570[_0x3d02d4(0x19c)]:return _0x3d02d4(0x195);case _0x1e9570[_0x3d02d4(0x1a0)]:return _0x3d02d4(0x180);default:return _0x3d02d4(0x1af);}}[_0x4c144c(0x197)](_0x158dea,_0x1afbf6){const _0xce9dc6=_0x4c144c,_0x5ed250=this[_0xce9dc6(0x194)],_0x2c1f70=new _0x158dea(_0x5ed250[_0xce9dc6(0x1ae)]),_0x14d67b=_0x5ed250[_0xce9dc6(0x16b)][_0xce9dc6(0x16e)](_0xce9dc6(0x190));return _0x2c1f70[_0xce9dc6(0x1b6)](_0xce9dc6(0x191))['to'](_0x14d67b),_0x2c1f70['on'](_0xce9dc6(0x184),()=>{const _0x4c4261=_0xce9dc6;_0x14d67b[_0x4c4261(0x184)](_0x1afbf6);}),_0x2c1f70;}[_0x4c144c(0x1aa)](_0xeb66f6){const _0x109d5f=_0x4c144c,{locale:_0x2eca9e}=this[_0x109d5f(0x194)],_0x16f9c2=this[_0x109d5f(0x194)][_0x109d5f(0x193)][_0x109d5f(0x16e)](_0x109d5f(0x1a9)),_0x441380=_0xeb66f6[0x0],_0x143467=this[_0x109d5f(0x197)](_0x46d829,_0x441380[_0x109d5f(0x18c)]);return _0x143467[_0x109d5f(0x182)]=_0x441380[_0x109d5f(0x182)],_0x143467[_0x109d5f(0x1b6)](_0x109d5f(0x188))['to'](_0x16f9c2,_0x109d5f(0x192),_0x4c0e59=>_0x4c7ead(_0x2eca9e,_0x441380[_0x109d5f(0x18c)],_0x4c0e59?_0x109d5f(0x199):_0x109d5f(0x1ac))[_0x109d5f(0x170)]),_0x143467[_0x109d5f(0x19f)]=!0x0,_0x143467;}[_0x4c144c(0x16f)](_0x1fb817){const _0x4e8669=_0x4c144c,{locale:_0x229dd4}=this[_0x4e8669(0x194)],_0x4deca4=this[_0x4e8669(0x194)][_0x4e8669(0x193)][_0x4e8669(0x16e)](_0x4e8669(0x1a9));return _0x1fb817[_0x4e8669(0x177)](_0x5acdba=>{const _0x5699e1=_0x4e8669,_0x35e060=this[_0x5699e1(0x197)](_0x46d829,_0x5acdba[_0x5699e1(0x18c)]);return _0x35e060[_0x5699e1(0x17c)]=!0x0,_0x35e060[_0x5699e1(0x182)]=_0x5acdba[_0x5699e1(0x182)],_0x35e060[_0x5699e1(0x1b6)](_0x5699e1(0x188))['to'](_0x4deca4,_0x5699e1(0x192),_0x25f789=>_0x4c7ead(_0x229dd4,_0x5acdba[_0x5699e1(0x18c)],_0x25f789?_0x5699e1(0x199):_0x5699e1(0x1ac))[_0x5699e1(0x170)]),_0x35e060;});}[_0x4c144c(0x1b1)](_0x17c585){const _0x216f3f=_0x4c144c;return _0x17c585[_0x216f3f(0x177)](_0x16a261=>{const _0x51dd30=_0x216f3f,_0x3b7c71=this[_0x51dd30(0x197)](_0x1bdc02,_0x16a261[_0x51dd30(0x18c)]);return _0x3b7c71[_0x51dd30(0x182)]=_0x16a261[_0x51dd30(0x182)],_0x3b7c71[_0x51dd30(0x188)]=_0x16a261[_0x51dd30(0x172)],_0x3b7c71;});}}
23
+ function _0x2853(){const _0x59aae9=['Local','176610SZUFVt','3526116mcJYNM','isPremiumPlugin','_createButton','_createMenuBarButtons','Dropbox','tooltip','reduce','uploadcareLicenseKeyUsageLimit','destroy','init','get','GPhotos','withText','expired','Facebook','forEach','text','_showLicenseError','bind','9409707mkKbLv','evaluationLimit','url','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','OneDrive','_createToolbarButton','URL','type','domainLimit','pluginName','plugins','commands','editor','50056LtTRkm','config','execute','push','isImageSelected','usageLimit','isEnabled','locale','uploadcareLicenseKeyTrialLimit','uploadcare','registerIntegration','entries','8kGkLso','icon','shortText','Insert','GDrive','featureNotAllowed','_getIntegrationKey','_licenseKeyCheckInterval','195LEFPfe','isOfficialPlugin','map','invalid','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','has','afterInit','ImageInsertUI','54372PkbBGr','UploadcareUI','uploadcare.uploader.sourceList','label','578597LKqOpX','licenseKey','trialLimit','uploadcareLicenseKeyExpired','Replace','upload','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','assetManager','Uploadcare','3425950eqdclK'];_0x2853=function(){return _0x59aae9;};return _0x2853();}const _0x592d49=_0x4b13;(function(_0x2f737c,_0x2d24af){const _0x232303=_0x4b13,_0x2a1869=_0x2f737c();while(!![]){try{const _0x4dd589=-parseInt(_0x232303(0xa7))/0x1+-parseInt(_0x232303(0xf3))/0x2+parseInt(_0x232303(0xea))/0x3*(parseInt(_0x232303(0xd6))/0x4)+parseInt(_0x232303(0xb2))/0x5+parseInt(_0x232303(0xb5))/0x6+-parseInt(_0x232303(0xb4))/0x7+parseInt(_0x232303(0xe2))/0x8*(-parseInt(_0x232303(0xc8))/0x9);if(_0x4dd589===_0x2d24af)break;else _0x2a1869['push'](_0x2a1869['shift']());}catch(_0x42bf5a){_0x2a1869['push'](_0x2a1869['shift']());}}}(_0x2853,0x64096));import{Plugin as _0x41c592}from'ckeditor5/src/core.js';import{IconDropbox as _0x4637b8,IconFacebook as _0x2f9688,IconGoogleDrive as _0x2d132e,IconGooglePhotos as _0x596050,IconUploadcareImageUpload as _0x4b5e32,IconUploadcareLink as _0x5894bf,IconOneDrive as _0x1a313b}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d808b,MenuBarMenuListItemButtonView as _0x5ec8a6}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5a9fef}from'./uploadcareconfig.js';import{getTranslation as _0x1cdeca}from'./utils/common-translations.js';function _0x4b13(_0x7d6f72,_0x438420){const _0x2853c9=_0x2853();return _0x4b13=function(_0x4b1386,_0x56c1b1){_0x4b1386=_0x4b1386-0xa4;let _0x5db7da=_0x2853c9[_0x4b1386];return _0x5db7da;},_0x4b13(_0x7d6f72,_0x438420);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x41c592{[_0x592d49(0xa8)];[_0x592d49(0xe9)];static get[_0x592d49(0xd2)](){const _0x2bf658=_0x592d49;return _0x2bf658(0xa4);}static get[_0x592d49(0xeb)](){return!0x0;}static get[_0x592d49(0xb6)](){return!0x0;}[_0x592d49(0xbe)](){const _0x1577ab=_0x592d49;this[_0x1577ab(0xa8)]=this[_0x1577ab(0xd5)][_0x1577ab(0xd7)][_0x1577ab(0xbf)](_0x1577ab(0xa8));const _0x359cd2=this[_0x1577ab(0xd5)];this[_0x1577ab(0xe9)]=setInterval(()=>{const _0x4351a3=_0x1577ab;let _0x39942d;for(const _0x2760aa in _0x359cd2){const _0x4285a9=_0x2760aa,_0x2246e6=_0x359cd2[_0x4285a9];if(_0x4351a3(0xcb)==_0x2246e6||_0x4351a3(0xad)==_0x2246e6||_0x4351a3(0xaa)==_0x2246e6||_0x4351a3(0xee)==_0x2246e6||_0x4351a3(0xae)==_0x2246e6||_0x4351a3(0xcc)==_0x2246e6||_0x4351a3(0xde)==_0x2246e6||_0x4351a3(0xbc)==_0x2246e6){delete _0x359cd2[_0x4285a9],_0x39942d=_0x2246e6,clearInterval(this[_0x4351a3(0xe9)]),this[_0x4351a3(0xe9)]=void 0x0;break;}}_0x4351a3(0xad)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xed)),_0x4351a3(0xaa)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xc2)),_0x4351a3(0xee)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xd1)),_0x4351a3(0xae)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xe7),_0x4351a3(0xb1)),_0x4351a3(0xcc)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xc9)),_0x4351a3(0xde)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xa9)),_0x4351a3(0xbc)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xdb));},0x3e8);}[_0x592d49(0xf1)](){const _0x351995=_0x592d49,{editor:_0x67e239}=this,_0xd58139=_0x67e239[_0x351995(0xd4)][_0x351995(0xbf)](_0x351995(0xdf));if(!_0xd58139)return;const _0x2d98a7=this[_0x351995(0xef)](_0x67e239[_0x351995(0xd7)][_0x351995(0xbf)](_0x351995(0xa5)))[_0x351995(0xbb)]((_0x4334c1,_0x177d52)=>{const _0x4918d6=_0x351995,_0x53b819=this[_0x4918d6(0xe8)](_0x177d52[_0x4918d6(0xd0)]);return _0x4334c1[_0x53b819]||(_0x4334c1[_0x53b819]=[]),_0x4334c1[_0x53b819][_0x4918d6(0xd9)](_0x177d52),_0x4334c1;},{});_0x67e239[_0x351995(0xd3)][_0x351995(0xf0)](_0x351995(0xf2))&&_0x67e239[_0x351995(0xd4)][_0x351995(0xbf)](_0x351995(0xdf))&&Object[_0x351995(0xe1)](_0x2d98a7)[_0x351995(0xc4)](([_0x849133,_0x292c53])=>{const _0x40c96a=_0x351995;_0x67e239[_0x40c96a(0xd3)][_0x40c96a(0xbf)](_0x40c96a(0xf2))[_0x40c96a(0xe0)]({'name':_0x849133,'observable':()=>_0xd58139,'buttonViewCreator':()=>this[_0x40c96a(0xce)](_0x292c53),'formViewCreator':()=>this[_0x40c96a(0xaf)](_0x292c53),'menuBarButtonViewCreator':()=>this[_0x40c96a(0xb8)](_0x292c53),'override':_0x40c96a(0xb0)!==_0x849133});});}[_0x592d49(0xbd)](){const _0x27589f=_0x592d49;super[_0x27589f(0xbd)](),this[_0x27589f(0xe9)]&&clearInterval(this[_0x27589f(0xe9)]);}[_0x592d49(0xef)](_0x28269e){const _0x1268b8=_0x592d49,{locale:_0x314962}=this[_0x1268b8(0xd5)];return _0x28269e[_0x1268b8(0xec)](_0x241316=>{const _0xe0fec4=_0x1268b8,_0x320c4d=_0x1cdeca(_0x314962,_0x241316,_0xe0fec4(0xe5));switch(_0x241316){case _0x5a9fef[_0xe0fec4(0xb3)]:return{'icon':_0x4b5e32,'type':_0x5a9fef[_0xe0fec4(0xb3)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xcf)]:return{'icon':_0x5894bf,'type':_0x5a9fef[_0xe0fec4(0xcf)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xb9)]:return{'icon':_0x4637b8,'type':_0x5a9fef[_0xe0fec4(0xb9)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xc3)]:return{'icon':_0x2f9688,'type':_0x5a9fef[_0xe0fec4(0xc3)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xe6)]:return{'icon':_0x2d132e,'type':_0x5a9fef[_0xe0fec4(0xe6)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xc0)]:return{'icon':_0x596050,'type':_0x5a9fef[_0xe0fec4(0xc0)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xcd)]:return{'icon':_0x1a313b,'type':_0x5a9fef[_0xe0fec4(0xcd)],..._0x320c4d};}});}[_0x592d49(0xe8)](_0x11bceb){const _0x3beb76=_0x592d49;switch(_0x11bceb){case _0x5a9fef[_0x3beb76(0xb3)]:return _0x3beb76(0xac);case _0x5a9fef[_0x3beb76(0xcf)]:return _0x3beb76(0xca);default:return _0x3beb76(0xb0);}}[_0x592d49(0xb7)](_0x55f120,_0x466672){const _0x231803=_0x592d49,_0xf3b7e0=this[_0x231803(0xd5)],_0x5ebc1e=new _0x55f120(_0xf3b7e0[_0x231803(0xdd)]),_0x12391f=_0xf3b7e0[_0x231803(0xd4)][_0x231803(0xbf)](_0x231803(0xdf));return _0x5ebc1e[_0x231803(0xc7)](_0x231803(0xdc))['to'](_0x12391f),_0x5ebc1e['on'](_0x231803(0xd8),()=>{const _0x1691ae=_0x231803;_0x12391f[_0x1691ae(0xd8)](_0x466672);}),_0x5ebc1e;}[_0x592d49(0xce)](_0x4fc80c){const _0x429007=_0x592d49,{locale:_0x215c6c}=this[_0x429007(0xd5)],_0x22dbcc=this[_0x429007(0xd5)][_0x429007(0xd3)][_0x429007(0xbf)](_0x429007(0xf2)),_0x41469f=_0x4fc80c[0x0],_0x4b883a=this[_0x429007(0xb7)](_0x2d808b,_0x41469f[_0x429007(0xd0)]);return _0x4b883a[_0x429007(0xe3)]=_0x41469f[_0x429007(0xe3)],_0x4b883a[_0x429007(0xc7)](_0x429007(0xa6))['to'](_0x22dbcc,_0x429007(0xda),_0x3609ab=>_0x1cdeca(_0x215c6c,_0x41469f[_0x429007(0xd0)],_0x3609ab?_0x429007(0xab):_0x429007(0xe5))[_0x429007(0xc5)]),_0x4b883a[_0x429007(0xba)]=!0x0,_0x4b883a;}[_0x592d49(0xaf)](_0x2a9a7e){const _0x377f08=_0x592d49,{locale:_0x3b1630}=this[_0x377f08(0xd5)],_0x223342=this[_0x377f08(0xd5)][_0x377f08(0xd3)][_0x377f08(0xbf)](_0x377f08(0xf2));return _0x2a9a7e[_0x377f08(0xec)](_0x5dc990=>{const _0x44dc30=_0x377f08,_0x55f5fa=this[_0x44dc30(0xb7)](_0x2d808b,_0x5dc990[_0x44dc30(0xd0)]);return _0x55f5fa[_0x44dc30(0xc1)]=!0x0,_0x55f5fa[_0x44dc30(0xe3)]=_0x5dc990[_0x44dc30(0xe3)],_0x55f5fa[_0x44dc30(0xc7)](_0x44dc30(0xa6))['to'](_0x223342,_0x44dc30(0xda),_0xac9e91=>_0x1cdeca(_0x3b1630,_0x5dc990[_0x44dc30(0xd0)],_0xac9e91?_0x44dc30(0xab):_0x44dc30(0xe5))[_0x44dc30(0xc5)]),_0x55f5fa;});}[_0x592d49(0xb8)](_0x5dc162){const _0x300240=_0x592d49;return _0x5dc162[_0x300240(0xec)](_0x3a4010=>{const _0x28eca4=_0x300240,_0x530ee7=this[_0x28eca4(0xb7)](_0x5ec8a6,_0x3a4010[_0x28eca4(0xd0)]);return _0x530ee7[_0x28eca4(0xe3)]=_0x3a4010[_0x28eca4(0xe3)],_0x530ee7[_0x28eca4(0xa6)]=_0x3a4010[_0x28eca4(0xe4)],_0x530ee7;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3dd119}from'ckeditor5/src/core.js';import{FileRepository as _0x1ce441}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x23fdac}from'./uploadcareediting.js';import{UploadUtils as _0x23aa91}from'./utils/uploadutils.js';import{getImageUrls as _0x23fe04}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3dd119{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ce441,_0x23fdac];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1eb1cd=this['editor'];if(!!!_0x1eb1cd['config']['get']('uploadcare'))return;_0x1eb1cd['plugins']['get'](_0x1ce441)['createUploadAdapter']=_0x18adca=>new k(_0x18adca,_0x1eb1cd),_0x1eb1cd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3eb54e,{imageElement:_0x1df4b4,data:_0x319d13})=>{_0x1eb1cd['model']['change'](_0x4796b6=>{_0x4796b6['setAttribute']('uploadcareImageId',_0x319d13['uploadcareImageId'],_0x1df4b4);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2f11e3,_0x390047){this['loader']=_0x2f11e3,this['editor']=_0x390047,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x35ad3f=await this['loader']['file'];return _0x23aa91['upload']({'file':_0x35ad3f,'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':_0xcca90e=>{_0xcca90e&&_0xcca90e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xcca90e['value']);}})['then'](async _0x4eea0b=>{const {imageFallbackUrl:_0x55502c,imageSources:_0x4d49f6}=_0x23fe04(_0x4eea0b['cdnUrl'],_0x4eea0b['imageInfo']['width']);return{'uploadcareImageId':_0x4eea0b['uuid'],'default':_0x55502c,'sources':_0x4d49f6};})['catch'](()=>{const _0x7e6c41=t('Cannot\x20upload\x20file:')+('\x20'+_0x35ad3f['name']+'.');return Promise['reject'](_0x7e6c41);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x36d529}from'ckeditor5/src/core.js';import{FileRepository as _0x5244d2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x457f00}from'./uploadcareediting.js';import{UploadUtils as _0x5bc9b7}from'./utils/uploadutils.js';import{getImageUrls as _0x396fde}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x36d529{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5244d2,_0x457f00];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x59a32c=this['editor'];if(!!!_0x59a32c['config']['get']('uploadcare'))return;_0x59a32c['plugins']['get'](_0x5244d2)['createUploadAdapter']=_0x34bbd0=>new k(_0x34bbd0,_0x59a32c),_0x59a32c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x24a16e,{imageElement:_0x4090c7,data:_0x4c99da})=>{_0x59a32c['model']['change'](_0x364930=>{_0x364930['setAttribute']('uploadcareImageId',_0x4c99da['uploadcareImageId'],_0x4090c7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4210d4,_0x3add86){this['loader']=_0x4210d4,this['editor']=_0x3add86,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4e67dd=await this['loader']['file'];return _0x5bc9b7['upload']({'file':_0x4e67dd,'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':_0x1cf7cf=>{_0x1cf7cf&&_0x1cf7cf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1cf7cf['value']);}})['then'](async _0x4c30a9=>{const {imageFallbackUrl:_0x4ed25a,imageSources:_0x1daf69}=_0x396fde(_0x4c30a9['cdnUrl'],_0x4c30a9['imageInfo']['width']);return{'uploadcareImageId':_0x4c30a9['uuid'],'default':_0x4ed25a,'sources':_0x1daf69};})['catch'](()=>{const _0x2e92d5=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e67dd['name']+'.');return Promise['reject'](_0x2e92d5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x4516dd}from'../uploadcareconfig.js';export function getTranslation(_0x3a5c36,_0x278f6c,_0x206ab5){const t=_0x3a5c36['t'],_0x37374d=_0x3a5c36['t'];switch(_0x278f6c){case _0x4516dd['Local']:return{'text':_0x37374d('Insert'===_0x206ab5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37374d('From\x20computer')};case _0x4516dd['URL']:return{'text':'Insert'===_0x206ab5?_0x37374d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37374d('Via\x20URL')};case _0x4516dd['Dropbox']:return{'text':t('Insert'===_0x206ab5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4516dd['Facebook']:return{'text':t('Insert'===_0x206ab5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4516dd['GDrive']:return{'text':t('Insert'===_0x206ab5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4516dd['GPhotos']:return{'text':t('Insert'===_0x206ab5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4516dd['OneDrive']:return{'text':t('Insert'===_0x206ab5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x278f6c;}}
23
+ import{UploadcareSource as _0x573dd8}from'../uploadcareconfig.js';export function getTranslation(_0x56e856,_0x7602e4,_0x4780af){const t=_0x56e856['t'],_0x30c43b=_0x56e856['t'];switch(_0x7602e4){case _0x573dd8['Local']:return{'text':_0x30c43b('Insert'===_0x4780af?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30c43b('From\x20computer')};case _0x573dd8['URL']:return{'text':'Insert'===_0x4780af?_0x30c43b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30c43b('Via\x20URL')};case _0x573dd8['Dropbox']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x573dd8['Facebook']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x573dd8['GDrive']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x573dd8['GPhotos']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x573dd8['OneDrive']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x7602e4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2fa91e=_0x4590;(function(_0x1ab7f1,_0x40360a){var _0x33fc34=_0x4590,_0x43a2c6=_0x1ab7f1();while(!![]){try{var _0x2b1c9f=parseInt(_0x33fc34(0x98))/0x1*(-parseInt(_0x33fc34(0x9a))/0x2)+-parseInt(_0x33fc34(0xa0))/0x3*(-parseInt(_0x33fc34(0x9b))/0x4)+-parseInt(_0x33fc34(0x99))/0x5*(parseInt(_0x33fc34(0x91))/0x6)+-parseInt(_0x33fc34(0x9f))/0x7*(parseInt(_0x33fc34(0x93))/0x8)+parseInt(_0x33fc34(0x94))/0x9*(parseInt(_0x33fc34(0xa1))/0xa)+-parseInt(_0x33fc34(0x9c))/0xb*(parseInt(_0x33fc34(0x97))/0xc)+parseInt(_0x33fc34(0xa4))/0xd;if(_0x2b1c9f===_0x40360a)break;else _0x43a2c6['push'](_0x43a2c6['shift']());}catch(_0x482c2b){_0x43a2c6['push'](_0x43a2c6['shift']());}}}(_0x1b55,0x6fbb7));import{FocusTracker as _0x58bcd6}from'ckeditor5/src/utils.js';import{View as _0xa5e301,FocusCycler as _0x1ce2eb}from'ckeditor5/src/ui.js';function _0x4590(_0x318789,_0x3d1d44){var _0x1b556d=_0x1b55();return _0x4590=function(_0x4590e0,_0x5ed8b2){_0x4590e0=_0x4590e0-0x90;var _0x67ab4d=_0x1b556d[_0x4590e0];return _0x67ab4d;},_0x4590(_0x318789,_0x3d1d44);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xa5e301{[_0x2fa91e(0x95)];[_0x2fa91e(0x9e)];constructor(_0x5f173c){var _0x4e5b6e=_0x2fa91e;super(_0x5f173c),this[_0x4e5b6e(0x95)]=new _0x58bcd6(),this[_0x4e5b6e(0x9e)]=new _0x1ce2eb({'focusables':this[_0x4e5b6e(0x90)](),'focusTracker':this[_0x4e5b6e(0x95)]});}[_0x2fa91e(0xa5)](){var _0x3d3250=_0x2fa91e;return{'tag':_0x3d3250(0x92),'attributes':{'aria-hidden':_0x3d3250(0xa3),'tabindex':'0'},'on':{'focus':this[_0x3d3250(0xa2)]['to'](()=>{var _0x3c2d3b=_0x3d3250;this[_0x3c2d3b(0x9e)][_0x3c2d3b(0x96)](_0x3c2d3b(0x9d));})}};}}function _0x1b55(){var _0x10944b=['91MMuKlp','36717qZPBVq','550580mEqpMH','bindTemplate','true','17667312oPBINe','getFocusableElement','createCollection','180654WtGbFK','div','226168ZPJXmt','27SepFit','focusTracker','fire','1668fOGUkC','23GlsBPW','115MBqaZu','37818iauJNo','236KureuK','23243iJZFkr','forwardCycle','focusCycler'];_0x1b55=function(){return _0x10944b;};return _0x1b55();}
23
+ var _0x2de91c=_0xb546;(function(_0xf97e8f,_0x1275d5){var _0xc78c3a=_0xb546,_0x3a9efb=_0xf97e8f();while(!![]){try{var _0x7fae0=parseInt(_0xc78c3a(0xe6))/0x1+parseInt(_0xc78c3a(0xef))/0x2*(parseInt(_0xc78c3a(0xec))/0x3)+-parseInt(_0xc78c3a(0xf5))/0x4*(-parseInt(_0xc78c3a(0xf0))/0x5)+-parseInt(_0xc78c3a(0xed))/0x6*(parseInt(_0xc78c3a(0xe3))/0x7)+parseInt(_0xc78c3a(0xf3))/0x8+parseInt(_0xc78c3a(0xe4))/0x9*(-parseInt(_0xc78c3a(0xea))/0xa)+parseInt(_0xc78c3a(0xe9))/0xb;if(_0x7fae0===_0x1275d5)break;else _0x3a9efb['push'](_0x3a9efb['shift']());}catch(_0x125895){_0x3a9efb['push'](_0x3a9efb['shift']());}}}(_0x44c2,0x991ec));function _0x44c2(){var _0x2dc43e=['84aocKDS','144Vojbwf','createCollection','502518TegATv','focusCycler','true','1412213JuhRLV','661910fZUoZb','focusTracker','438kzeBWm','203724xZEEhR','fire','3422ryKDEs','5BVwNIE','div','bindTemplate','5148128XtuUap','getFocusableElement','2277844ZXUGZj','forwardCycle'];_0x44c2=function(){return _0x2dc43e;};return _0x44c2();}import{FocusTracker as _0x5d9ea3}from'ckeditor5/src/utils.js';import{View as _0x5330c1,FocusCycler as _0x1359f7}from'ckeditor5/src/ui.js';function _0xb546(_0x4d1705,_0x3e8c48){var _0x44c2ea=_0x44c2();return _0xb546=function(_0xb546e0,_0x606a71){_0xb546e0=_0xb546e0-0xe2;var _0x23a6ae=_0x44c2ea[_0xb546e0];return _0x23a6ae;},_0xb546(_0x4d1705,_0x3e8c48);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5330c1{[_0x2de91c(0xeb)];[_0x2de91c(0xe7)];constructor(_0x2d716d){var _0xbef6c6=_0x2de91c;super(_0x2d716d),this[_0xbef6c6(0xeb)]=new _0x5d9ea3(),this[_0xbef6c6(0xe7)]=new _0x1359f7({'focusables':this[_0xbef6c6(0xe5)](),'focusTracker':this[_0xbef6c6(0xeb)]});}[_0x2de91c(0xf4)](){var _0x571f3b=_0x2de91c;return{'tag':_0x571f3b(0xf1),'attributes':{'aria-hidden':_0x571f3b(0xe8),'tabindex':'0'},'on':{'focus':this[_0x571f3b(0xf2)]['to'](()=>{var _0x2ce483=_0x571f3b;this[_0x2ce483(0xe7)][_0x2ce483(0xee)](_0x2ce483(0xe2));})}};}}