@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251221.0 → 0.0.0-nightly-next-20251221.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 _0x1491d7=_0x25a9;(function(_0x2253c2,_0x4932eb){const _0x22f146=_0x25a9,_0x3c3de8=_0x2253c2();while(!![]){try{const _0x14eed5=-parseInt(_0x22f146(0x139))/0x1*(parseInt(_0x22f146(0x175))/0x2)+parseInt(_0x22f146(0x18d))/0x3*(-parseInt(_0x22f146(0x16f))/0x4)+-parseInt(_0x22f146(0x17a))/0x5+parseInt(_0x22f146(0x167))/0x6+-parseInt(_0x22f146(0x18c))/0x7*(parseInt(_0x22f146(0x181))/0x8)+-parseInt(_0x22f146(0x178))/0x9*(parseInt(_0x22f146(0x148))/0xa)+parseInt(_0x22f146(0x188))/0xb;if(_0x14eed5===_0x4932eb)break;else _0x3c3de8['push'](_0x3c3de8['shift']());}catch(_0x1c29f5){_0x3c3de8['push'](_0x3c3de8['shift']());}}}(_0x41c4,0xa69d7));import{Plugin as _0xfc6b71}from'ckeditor5/src/core.js';import{Dialog as _0x4bb459}from'ckeditor5/src/ui.js';import{createElement as _0x36cc08,global as _0x1ec88c,uid as _0x47523b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4796aa}from'./uploadcarecommand.js';function _0x41c4(){const _0x7efefc=['UploadcareEditing','model','fromCharCode','iconHrefResolver','5533248jTWhQP','execute','editing','remove','true','href','isPremiumPlugin','extend','4mbNaAp','attributeToAttribute','add','document','uc-upload-ctx-provider','selection','2fkSJbm','elementToAttribute','pluginName','207xHDSin','_configElement','3265470YJqgLO','imageBlock','commands','ucContextId','conversion','once','removeAttribute','175456vpkpdh','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','destroy','render','view','_initImageProcessingIndicator','isOfficialPlugin','43706828RmSbSu','appendChild','insertImage','PictureEditing','91MgUHco','2880387oHilZM','configElement','965513TtJkkH','editor','imageInline','map','downcast','afterInit','replaceImageSource','uploadcare.uploader','body','schema','listenTo','#uc-icon-arrow-down','contentLanguage','for','uploadcareImageReplace','586630ohpUgX','uploader-','_initConversion','input[uploadcare-file-input]','_initCtx','uploadcare.pubkey','init','closeMax','isRegistered','config','uc-config','ctxElement','cleanupImage','_initConfig','_ctxElement','upcast','locale','_initSchema','requires','uploadcareImageId','join','get','uploadcare','querySelector','getAttribute','getSelectedElement','data-uc-image-id'];_0x41c4=function(){return _0x7efefc;};return _0x41c4();}function _0x25a9(_0x28eff6,_0x1de965){const _0x41c459=_0x41c4();return _0x25a9=function(_0x25a934,_0x26809b){_0x25a934=_0x25a934-0x138;let _0x54dd9f=_0x41c459[_0x25a934];return _0x54dd9f;},_0x25a9(_0x28eff6,_0x1de965);}import{UploadcareUploadAdapter as _0x499999}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x816efa}from'./utils/editingutils.js';export class UploadcareEditing extends _0xfc6b71{[_0x1491d7(0x179)]=null;[_0x1491d7(0x156)]=null;static get[_0x1491d7(0x177)](){const _0xc6a5fa=_0x1491d7;return _0xc6a5fa(0x163);}static get[_0x1491d7(0x15a)](){const _0x342393=_0x1491d7;return[_0x342393(0x18b),_0x499999,_0x4bb459];}static get[_0x1491d7(0x187)](){return!0x0;}static get[_0x1491d7(0x16d)](){return!0x0;}[_0x1491d7(0x17d)];get[_0x1491d7(0x138)](){const _0x3557de=_0x1491d7;return this[_0x3557de(0x179)];}get[_0x1491d7(0x153)](){const _0x349ddb=_0x1491d7;return this[_0x349ddb(0x156)];}constructor(_0x5b5ed9){const _0x55fd89=_0x1491d7;super(_0x5b5ed9),this[_0x55fd89(0x17d)]=_0x47523b();}[_0x1491d7(0x14e)](){const _0x558c07=_0x1491d7,_0x3c3416=this[_0x558c07(0x13a)];_0x3c3416[_0x558c07(0x17c)][_0x558c07(0x171)](_0x558c07(0x15e),new _0x4796aa(_0x3c3416));}[_0x1491d7(0x13e)](){const _0x23c6f5=_0x1491d7;this[_0x23c6f5(0x159)](),this[_0x23c6f5(0x14a)](),this[_0x23c6f5(0x155)](),this[_0x23c6f5(0x14c)](),this[_0x23c6f5(0x186)](),this[_0x23c6f5(0x143)](this[_0x23c6f5(0x13a)],_0x23c6f5(0x183),()=>{const _0x24a971=_0x23c6f5;this[_0x24a971(0x179)]&&(this[_0x24a971(0x179)][_0x24a971(0x16a)](),this[_0x24a971(0x179)]=null),this[_0x24a971(0x156)]&&(this[_0x24a971(0x156)][_0x24a971(0x16a)](),this[_0x24a971(0x156)]=null);const _0xc5b5bd=_0x1ec88c[_0x24a971(0x172)][_0x24a971(0x15f)](_0x24a971(0x14b));_0xc5b5bd&&_0xc5b5bd[_0x24a971(0x16a)]();}),async function(_0x57bbe2){const _0x2d9204=_0x16998d([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]),_0x15d59d=0x535f8c3a,_0xa08666=0x5358f0b2^_0x15d59d,_0x30bdbb=window[_0x16998d([0x44,0x61,0x74,0x65])][_0x16998d([0x6e,0x6f,0x77])](),_0x565aca=_0x57bbe2[_0x16998d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4148d6=new window[(_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x334643=>{_0x565aca[_0x16998d([0x6f,0x6e,0x63,0x65])](_0x16998d([0x72,0x65,0x61,0x64,0x79]),_0x334643);}),_0x3d45b4={[_0x16998d([0x6b,0x74,0x79])]:_0x16998d([0x45,0x43]),[_0x16998d([0x75,0x73,0x65])]:_0x16998d([0x73,0x69,0x67]),[_0x16998d([0x63,0x72,0x76])]:_0x16998d([0x50,0x2d,0x32,0x35,0x36]),[_0x16998d([0x78])]:_0x16998d([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]),[_0x16998d([0x79])]:_0x16998d([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]),[_0x16998d([0x61,0x6c,0x67])]:_0x16998d([0x45,0x53,0x32,0x35,0x36])},_0x13ab13=_0x565aca[_0x16998d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16998d([0x67,0x65,0x74])](_0x16998d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5099a3(){let _0x435854,_0x436aca=null,_0x405d46=null;try{if(_0x13ab13==_0x16998d([0x47,0x50,0x4c]))return _0x16998d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x435854=_0xa8c1df(),!_0x435854)return _0x16998d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x435854[_0x16998d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x405d46=_0x1ff55b(_0x435854[_0x16998d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x435854[_0x16998d([0x6a,0x74,0x69])])),await _0x5e2e44()?_0x45bad3()?_0x572412()?_0x16998d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ea76e()?(_0x435854[_0x16998d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16998d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x436aca=_0x5f5883(_0x16998d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x435854[_0x16998d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16998d([0x74,0x72,0x69,0x61,0x6c])&&(_0x436aca=_0x5f5883(_0x16998d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17de8c()):_0x16998d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16998d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16998d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16998d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x572412(){const _0x4cfd00=[_0x16998d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16998d([0x74,0x72,0x69,0x61,0x6c])][_0x16998d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x435854[_0x16998d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30bdbb/0x3e8:0xe10*_0xa08666;return _0x435854[_0x16998d([0x65,0x78,0x70])]<_0x4cfd00;}function _0x45bad3(){const _0x3887a6=_0x435854[_0x16998d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3887a6&&(!!_0x3887a6[_0x16998d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16998d([0x2a]))||!!_0x3887a6[_0x16998d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16998d([0x55,0x50,0x4c,0x43])));}function _0x5ea76e(){const _0x134210=_0x25a9,_0x436e0f=_0x435854[_0x16998d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x436e0f||0x0==_0x436e0f[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x533448}=new URL(window[_0x16998d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x134210(0x16c)]);if(_0x436e0f[_0x16998d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x533448))return!0x0;const _0x374082=_0x533448[_0x16998d([0x73,0x70,0x6c,0x69,0x74])](_0x16998d([0x2e]));return _0x436e0f[_0x16998d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a5003=>_0x2a5003[_0x16998d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16998d([0x2a])))[_0x16998d([0x6d,0x61,0x70])](_0xae00dc=>_0xae00dc[_0x16998d([0x73,0x70,0x6c,0x69,0x74])](_0x16998d([0x2e])))[_0x16998d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27d20b=>_0x27d20b[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x374082[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16998d([0x6d,0x61,0x70])](_0x33af9a=>Array(_0x374082[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33af9a[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16998d([0x66,0x69,0x6c,0x6c])](_0x33af9a[0x0]===_0x16998d([0x2a])?_0x16998d([0x2a]):'')[_0x16998d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33af9a))[_0x16998d([0x73,0x6f,0x6d,0x65])](_0xec84c2=>_0x374082[_0x16998d([0x65,0x76,0x65,0x72,0x79])]((_0x4dc2d3,_0x55d458)=>_0xec84c2[_0x55d458]===_0x4dc2d3||_0xec84c2[_0x55d458]===_0x16998d([0x2a])));}function _0x17de8c(){return _0x436aca&&_0x405d46?new window[(_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56459d,_0x24fa3e)=>{_0x436aca[_0x16998d([0x74,0x68,0x65,0x6e])](_0x56459d,_0x24fa3e),_0x405d46[_0x16998d([0x74,0x68,0x65,0x6e])](_0x296490=>{_0x296490!=_0x16998d([0x56,0x61,0x6c,0x69,0x64])&&_0x56459d(_0x296490);},_0x24fa3e);}):_0x436aca||_0x405d46||_0x16998d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ff55b(_0x3f2c62,_0x5e9ea5){return new window[(_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369168=>{if(_0x440d05())return _0x369168(_0x16998d([0x56,0x61,0x6c,0x69,0x64]));_0x6658d0(),_0x565aca[_0x16998d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16998d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30d2ca=!0x1;const _0x2f5b1e=_0x47523b();function _0x347535(_0x3fc141){return!!_0x3fc141&&(typeof _0x3fc141===_0x16998d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3fc141===_0x16998d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3fc141[_0x16998d([0x74,0x68,0x65,0x6e])]===_0x16998d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3fc141[_0x16998d([0x63,0x61,0x74,0x63,0x68])]===_0x16998d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1aa86c(_0x4d7b48){_0x55a371(_0x4d7b48)[_0x16998d([0x74,0x68,0x65,0x6e])](_0x40a9ae=>{if(!_0x40a9ae||_0x40a9ae[_0x16998d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16998d([0x6f,0x6b]))return _0x16998d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a6718(_0xdfc170(_0x2f5b1e+_0x5e9ea5))!=_0x40a9ae[_0x16998d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16998d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16998d([0x56,0x61,0x6c,0x69,0x64]);})[_0x16998d([0x74,0x68,0x65,0x6e])](_0x1c3237=>(_0x4034da(),_0x1c3237),()=>{const _0x2b261c=_0x1b8a9f();return null==_0x2b261c?(_0x4034da(),_0x16998d([0x56,0x61,0x6c,0x69,0x64])):_0x16998d(_0x30bdbb-_0x2b261c>(0x7753083a^_0x15d59d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16998d([0x74,0x68,0x65,0x6e])](_0x369168)[_0x16998d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x369168(_0x16998d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20140e=0x536962ba^_0x15d59d;function _0x4034da(){const _0x53b4ae=_0x16998d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a6718(_0xdfc170(_0x3f2c62)),_0xeff69c=_0x10ecdb(_0x2a6718(window[_0x16998d([0x4d,0x61,0x74,0x68])][_0x16998d([0x63,0x65,0x69,0x6c])](_0x30bdbb/_0x20140e)));window[_0x16998d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16998d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53b4ae,_0xeff69c);}function _0x1b8a9f(){const _0x32fbb4=_0x16998d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a6718(_0xdfc170(_0x3f2c62)),_0x5a0fc9=window[_0x16998d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16998d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32fbb4);return _0x5a0fc9?window[_0x16998d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10ecdb(_0x5a0fc9),0x10)*_0x20140e:null;}function _0x55a371(_0x18ea10){return new window[(_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38e8bb,_0x38248b)=>{_0x18ea10[_0x16998d([0x74,0x68,0x65,0x6e])](_0x38e8bb,_0x38248b),window[_0x16998d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38248b,0x535e58fa^_0x15d59d);});}}_0x565aca[_0x16998d([0x6f,0x6e])](_0x16998d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a55ad,_0x3fc0a2)=>{if(_0x3fc0a2[0x0]!=_0x3f2c62)return _0x369168(_0x16998d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3fc0a2[0x1]={..._0x3fc0a2[0x1],[_0x16998d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f5b1e};},{[_0x16998d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16998d([0x68,0x69,0x67,0x68])}),_0x565aca[_0x16998d([0x6f,0x6e])](_0x16998d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7a8efa=>{_0x347535(_0x7a8efa[_0x16998d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30d2ca=!0x0,_0x1aa86c(_0x7a8efa[_0x16998d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16998d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16998d([0x6c,0x6f,0x77])}),_0x4148d6[_0x16998d([0x74,0x68,0x65,0x6e])](()=>{_0x30d2ca||_0x369168(_0x16998d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x440d05(){return _0x565aca[_0x16998d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16998d([0x76,0x69,0x65,0x77])][_0x16998d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16998d([0x61,0x75,0x74,0x6f]);}function _0x6658d0(){_0x565aca[_0x16998d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16998d([0x76,0x69,0x65,0x77])][_0x16998d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16998d([0x61,0x75,0x74,0x6f]);}}function _0x5f5883(_0x106ed1){const _0x476471=[new window[(_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ef126=>setTimeout(_0x2ef126,0x5356b2f6^_0x15d59d)),_0x4148d6[_0x16998d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a9131=>{let _0x2f837f=0x0;_0x565aca[_0x16998d([0x6d,0x6f,0x64,0x65,0x6c])][_0x16998d([0x6f,0x6e])](_0x16998d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x453cce,_0x356d8c)=>{_0x356d8c[0x0][_0x16998d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f837f++,_0x2f837f==(0x535f89d2^_0x15d59d)&&(_0x5a9131(),_0x453cce[_0x16998d([0x6f,0x66,0x66])]());});}))];return window[_0x16998d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16998d([0x72,0x61,0x63,0x65])](_0x476471)[_0x16998d([0x74,0x68,0x65,0x6e])](()=>_0x106ed1);}async function _0x1b8e44(){await _0x4148d6,_0x565aca[_0x16998d([0x6d,0x6f,0x64,0x65,0x6c])][_0x16998d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b1191,_0x565aca[_0x16998d([0x6d,0x6f,0x64,0x65,0x6c])][_0x16998d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b1191,_0x565aca[_0x16998d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16998d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1df922(_0x5d5cb6){const _0xea1dcb=_0x4544fa();_0x565aca[_0xea1dcb]=_0x16998d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d5cb6,_0x5d5cb6!=_0x16998d([0x56,0x61,0x6c,0x69,0x64])&&_0x1b8e44();}function _0x4544fa(){const _0x3e2c52=window[_0x16998d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16998d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16998d([0x6e,0x6f,0x77])]())[_0x16998d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16998d([0x2e]),'');let _0x2665e7=_0x16998d([0x68]);for(let _0x404245=0x0;_0x404245<_0x3e2c52[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404245+=0x2){let _0x3908fe=window[_0x16998d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2c52[_0x16998d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x404245,_0x404245+0x2));_0x3908fe>=_0x2d9204[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3908fe-=_0x2d9204[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2665e7+=_0x2d9204[_0x3908fe];}return _0x2665e7;}function _0xa8c1df(){const _0x285573=_0x13ab13[_0x16998d([0x73,0x70,0x6c,0x69,0x74])](_0x16998d([0x2e]));if(0x3!=_0x285573[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f8314(_0x285573[0x1]);function _0x1f8314(_0x494ea5){const _0x4fe620=_0x3e3375(_0x494ea5);return _0x4fe620&&_0x405f20()?_0x4fe620:null;function _0x405f20(){const _0x5001c4=_0x4fe620[_0x16998d([0x6a,0x74,0x69])],_0x4b3ab9=window[_0x16998d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5001c4[_0x16998d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5001c4[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cc41f={..._0x4fe620,[_0x16998d([0x6a,0x74,0x69])]:_0x5001c4[_0x16998d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5001c4[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cc41f[_0x16998d([0x76,0x63])],_0xdfc170(_0x1cc41f)==_0x4b3ab9;}}}async function _0x5e2e44(){let _0xf888f1=!0x0;try{const _0x1c6080=_0x13ab13[_0x16998d([0x73,0x70,0x6c,0x69,0x74])](_0x16998d([0x2e])),[_0x156162,_0x23cde1,_0x5d057b]=_0x1c6080;return _0x12a515(_0x156162),await _0xad6874(_0x156162,_0x23cde1,_0x5d057b),_0xf888f1;}catch{return!0x1;}function _0x12a515(_0x13cf7e){const _0x83fdc0=_0x3e3375(_0x13cf7e);_0x83fdc0&&_0x83fdc0[_0x16998d([0x61,0x6c,0x67])]==_0x16998d([0x45,0x53,0x32,0x35,0x36])||(_0xf888f1=!0x1);}async function _0xad6874(_0x444259,_0x273016,_0x281b2d){const _0x3515fa=window[_0x16998d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16998d([0x66,0x72,0x6f,0x6d])](_0x1117f1(_0x281b2d),_0x8c4458=>_0x8c4458[_0x16998d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3517ce=new window[(_0x16998d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16998d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x444259+_0x16998d([0x2e])+_0x273016),_0x5d2604=window[_0x16998d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16998d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d2604)return;const _0x2b1a7f=await _0x5d2604[_0x16998d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16998d([0x6a,0x77,0x6b]),_0x3d45b4,{[_0x16998d([0x6e,0x61,0x6d,0x65])]:_0x16998d([0x45,0x43,0x44,0x53,0x41]),[_0x16998d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16998d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16998d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d2604[_0x16998d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16998d([0x6e,0x61,0x6d,0x65])]:_0x16998d([0x45,0x43,0x44,0x53,0x41]),[_0x16998d([0x68,0x61,0x73,0x68])]:{[_0x16998d([0x6e,0x61,0x6d,0x65])]:_0x16998d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b1a7f,_0x3515fa,_0x3517ce)||(_0xf888f1=!0x1);}}function _0x3e3375(_0x4bfae9){return _0x4bfae9[_0x16998d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16998d([0x65,0x79]))?JSON[_0x16998d([0x70,0x61,0x72,0x73,0x65])](_0x1117f1(_0x4bfae9)):null;}function _0x1117f1(_0x144a58){return window[_0x16998d([0x61,0x74,0x6f,0x62])](_0x144a58[_0x16998d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16998d([0x2b]))[_0x16998d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16998d([0x2f])));}function _0xdfc170(_0x40ae81){let _0x251318=0x1505;function _0x4c7190(_0x2a3a28){for(let _0x181afb=0x0;_0x181afb<_0x2a3a28[_0x16998d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x181afb++){const _0xb8e58f=_0x2a3a28[_0x16998d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x181afb);_0x251318=(_0x251318<<0x5)+_0x251318+_0xb8e58f,_0x251318&=_0x251318;}}function _0x53a8e6(_0x26bb35){Array[_0x16998d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26bb35)?_0x26bb35[_0x16998d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x53a8e6):_0x26bb35&&typeof _0x26bb35==_0x16998d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16998d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26bb35)[_0x16998d([0x73,0x6f,0x72,0x74])]()[_0x16998d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48236e,_0x472f1a])=>{_0x4c7190(_0x48236e),_0x53a8e6(_0x472f1a);}):_0x4c7190(window[_0x16998d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26bb35));}return _0x53a8e6(_0x40ae81),_0x251318>>>0x0;}function _0x2a6718(_0x5064db){return _0x5064db[_0x16998d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16998d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16998d([0x30]));}function _0x10ecdb(_0x1f114c){return _0x1f114c[_0x16998d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16998d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16998d([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b1191(){}function _0x16998d(_0x2f24db){const _0xa4b190=_0x25a9;return _0x2f24db[_0xa4b190(0x13c)](_0x2ed859=>String[_0xa4b190(0x165)](_0x2ed859))[_0xa4b190(0x15c)]('');}_0x1df922(await _0x5099a3());}(this);}[_0x1491d7(0x159)](){const _0x2a6951=_0x1491d7,_0x113105=this[_0x2a6951(0x13a)][_0x2a6951(0x164)][_0x2a6951(0x142)];_0x113105[_0x2a6951(0x150)](_0x2a6951(0x17b))&&_0x113105[_0x2a6951(0x16e)](_0x2a6951(0x17b),{'allowAttributes':[_0x2a6951(0x15b)]}),_0x113105[_0x2a6951(0x150)](_0x2a6951(0x13b))&&_0x113105[_0x2a6951(0x16e)](_0x2a6951(0x13b),{'allowAttributes':[_0x2a6951(0x15b)]});}[_0x1491d7(0x14a)](){const _0xea32b1=_0x1491d7,_0x19746b=this[_0xea32b1(0x13a)];_0x19746b[_0xea32b1(0x17e)][_0xea32b1(0x146)](_0xea32b1(0x13d))[_0xea32b1(0x170)]({'model':_0xea32b1(0x15b),'view':_0xea32b1(0x162)}),_0x19746b[_0xea32b1(0x17e)][_0xea32b1(0x146)](_0xea32b1(0x157))[_0xea32b1(0x176)]({'model':{'key':_0xea32b1(0x15b),'value':_0x3909ec=>_0x3909ec[_0xea32b1(0x160)](_0xea32b1(0x162))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x16771e=_0x19746b[_0xea32b1(0x17c)][_0xea32b1(0x15d)](_0xea32b1(0x13f));_0x16771e&&this[_0xea32b1(0x143)](_0x16771e,_0xea32b1(0x154),(_0x459191,[_0x57863c,_0x14b3d0])=>{const _0x7efbb2=_0xea32b1;_0x57863c[_0x7efbb2(0x180)](_0x7efbb2(0x15b),_0x14b3d0);});}[_0x1491d7(0x155)](){const _0x299834=_0x1491d7,_0x2fe39d=this[_0x299834(0x13a)][_0x299834(0x151)][_0x299834(0x15d)](_0x299834(0x140))||{},_0x29f60f=this[_0x299834(0x13a)][_0x299834(0x151)][_0x299834(0x15d)](_0x299834(0x14d))||'';this[_0x299834(0x179)]=_0x36cc08(_0x1ec88c[_0x299834(0x172)],_0x299834(0x152),{..._0x2fe39d,'pubkey':_0x29f60f,'ctx-name':_0x299834(0x149)+this[_0x299834(0x17d)],'sourceList':'','imgOnly':_0x299834(0x16b),'removeCopyright':_0x299834(0x16b),'localeName':this[_0x299834(0x13a)][_0x299834(0x158)][_0x299834(0x145)],'externalSourcesEmbedCss':_0x299834(0x182)}),this[_0x299834(0x179)][_0x299834(0x166)]=_0x387eb4=>{const _0x1ad35b=_0x299834;if(_0x1ad35b(0x14f)==_0x387eb4)return _0x1ad35b(0x144);},_0x1ec88c[_0x299834(0x172)][_0x299834(0x141)][_0x299834(0x189)](this[_0x299834(0x179)]);}[_0x1491d7(0x14c)](){const _0x25ebed=_0x1491d7;this[_0x25ebed(0x156)]=_0x36cc08(_0x1ec88c[_0x25ebed(0x172)],_0x25ebed(0x173),{'ctx-name':_0x25ebed(0x149)+this[_0x25ebed(0x17d)]}),_0x1ec88c[_0x25ebed(0x172)][_0x25ebed(0x141)][_0x25ebed(0x189)](this[_0x25ebed(0x156)]);}[_0x1491d7(0x186)](){const _0x54ccc7=_0x1491d7,_0x35cb70=this[_0x54ccc7(0x13a)][_0x54ccc7(0x17c)][_0x54ccc7(0x15d)](_0x54ccc7(0x18a));_0x35cb70&&this[_0x54ccc7(0x143)](_0x35cb70,_0x54ccc7(0x168),()=>{const _0x34ba02=_0x54ccc7,_0x3b65ba=this[_0x34ba02(0x13a)][_0x34ba02(0x164)][_0x34ba02(0x172)][_0x34ba02(0x174)][_0x34ba02(0x161)]();_0x3b65ba&&_0x3b65ba[_0x34ba02(0x160)](_0x34ba02(0x15b))&&this[_0x34ba02(0x13a)][_0x34ba02(0x169)][_0x34ba02(0x185)][_0x34ba02(0x17f)](_0x34ba02(0x184),()=>{const _0x49ae1b=_0x34ba02;_0x816efa(this[_0x49ae1b(0x13a)],_0x3b65ba);});});const _0x2a53ca=this[_0x54ccc7(0x13a)][_0x54ccc7(0x17c)][_0x54ccc7(0x15d)](_0x54ccc7(0x147));_0x2a53ca&&this[_0x54ccc7(0x143)](_0x2a53ca,_0x54ccc7(0x168),()=>{const _0x2b1d45=_0x54ccc7,_0x326526=this[_0x2b1d45(0x13a)][_0x2b1d45(0x164)][_0x2b1d45(0x172)][_0x2b1d45(0x174)][_0x2b1d45(0x161)]();_0x326526&&_0x326526[_0x2b1d45(0x160)](_0x2b1d45(0x15b))&&this[_0x2b1d45(0x13a)][_0x2b1d45(0x169)][_0x2b1d45(0x185)][_0x2b1d45(0x17f)](_0x2b1d45(0x184),()=>{const _0x12b9ec=_0x2b1d45;_0x816efa(this[_0x12b9ec(0x13a)],_0x326526);});});}}
23
+ const _0x1fff1d=_0x1145;(function(_0x240d6c,_0x4a8e99){const _0x13d75c=_0x1145,_0x51521e=_0x240d6c();while(!![]){try{const _0xc09456=-parseInt(_0x13d75c(0xd5))/0x1+parseInt(_0x13d75c(0xdf))/0x2*(parseInt(_0x13d75c(0xc3))/0x3)+-parseInt(_0x13d75c(0xfd))/0x4*(parseInt(_0x13d75c(0xbb))/0x5)+parseInt(_0x13d75c(0xd0))/0x6+parseInt(_0x13d75c(0xc1))/0x7*(parseInt(_0x13d75c(0xee))/0x8)+parseInt(_0x13d75c(0xb8))/0x9*(parseInt(_0x13d75c(0xdd))/0xa)+parseInt(_0x13d75c(0x100))/0xb*(-parseInt(_0x13d75c(0xdb))/0xc);if(_0xc09456===_0x4a8e99)break;else _0x51521e['push'](_0x51521e['shift']());}catch(_0x49bc39){_0x51521e['push'](_0x51521e['shift']());}}}(_0x36cc,0x5b724));import{Plugin as _0xeed6ab}from'ckeditor5/src/core.js';import{Dialog as _0x35eed4}from'ckeditor5/src/ui.js';import{createElement as _0x168b40,global as _0x544fc2,uid as _0x17bfc5}from'ckeditor5/src/utils.js';function _0x1145(_0x1dae1f,_0x4e9f90){const _0x36cc20=_0x36cc();return _0x1145=function(_0x114571,_0x3866b4){_0x114571=_0x114571-0xb8;let _0x3e0d65=_0x36cc20[_0x114571];return _0x3e0d65;},_0x1145(_0x1dae1f,_0x4e9f90);}import{UploadcareCommand as _0x5d2334}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x526c1f}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x39f279}from'./utils/editingutils.js';export class UploadcareEditing extends _0xeed6ab{[_0x1fff1d(0x105)]=null;[_0x1fff1d(0x10e)]=null;static get[_0x1fff1d(0x10d)](){const _0x563a1d=_0x1fff1d;return _0x563a1d(0xba);}static get[_0x1fff1d(0xf7)](){const _0x17035e=_0x1fff1d;return[_0x17035e(0x10b),_0x526c1f,_0x35eed4];}static get[_0x1fff1d(0xf6)](){return!0x0;}static get[_0x1fff1d(0xf1)](){return!0x0;}[_0x1fff1d(0xed)];get[_0x1fff1d(0x10c)](){const _0x484fee=_0x1fff1d;return this[_0x484fee(0x105)];}get[_0x1fff1d(0xf8)](){const _0xb25aca=_0x1fff1d;return this[_0xb25aca(0x10e)];}constructor(_0x5c0cf0){const _0xb0acfc=_0x1fff1d;super(_0x5c0cf0),this[_0xb0acfc(0xed)]=_0x17bfc5();}[_0x1fff1d(0xe2)](){const _0x36984f=_0x1fff1d,_0x2bc5bf=this[_0x36984f(0x109)];_0x2bc5bf[_0x36984f(0xdc)][_0x36984f(0xc0)](_0x36984f(0xef),new _0x5d2334(_0x2bc5bf));}[_0x1fff1d(0xff)](){const _0x231814=_0x1fff1d;this[_0x231814(0x107)](),this[_0x231814(0xc9)](),this[_0x231814(0xbc)](),this[_0x231814(0x103)](),this[_0x231814(0xfc)](),this[_0x231814(0xd9)](this[_0x231814(0x109)],_0x231814(0xe3),()=>{const _0x528a54=_0x231814;this[_0x528a54(0x105)]&&(this[_0x528a54(0x105)][_0x528a54(0x101)](),this[_0x528a54(0x105)]=null),this[_0x528a54(0x10e)]&&(this[_0x528a54(0x10e)][_0x528a54(0x101)](),this[_0x528a54(0x10e)]=null);const _0x43c042=_0x544fc2[_0x528a54(0xea)][_0x528a54(0x10a)](_0x528a54(0xe4));_0x43c042&&_0x43c042[_0x528a54(0x101)]();}),async function(_0x4bc63e){const _0x1ed5a1=_0x281bb1([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]),_0x22b6fb=0x535f8c3a,_0x18e3e6=0x5358f0b2^_0x22b6fb,_0xd4e5c8=window[_0x281bb1([0x44,0x61,0x74,0x65])][_0x281bb1([0x6e,0x6f,0x77])](),_0x2756a0=_0x4bc63e[_0x281bb1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46841b=new window[(_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2816e3=>{_0x2756a0[_0x281bb1([0x6f,0x6e,0x63,0x65])](_0x281bb1([0x72,0x65,0x61,0x64,0x79]),_0x2816e3);}),_0x45615b={[_0x281bb1([0x6b,0x74,0x79])]:_0x281bb1([0x45,0x43]),[_0x281bb1([0x75,0x73,0x65])]:_0x281bb1([0x73,0x69,0x67]),[_0x281bb1([0x63,0x72,0x76])]:_0x281bb1([0x50,0x2d,0x32,0x35,0x36]),[_0x281bb1([0x78])]:_0x281bb1([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]),[_0x281bb1([0x79])]:_0x281bb1([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]),[_0x281bb1([0x61,0x6c,0x67])]:_0x281bb1([0x45,0x53,0x32,0x35,0x36])},_0x2ceb8f=_0x2756a0[_0x281bb1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x281bb1([0x67,0x65,0x74])](_0x281bb1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59496f(){let _0x562cf4,_0x1bb5ac=null,_0x1e15dc=null;try{if(_0x2ceb8f==_0x281bb1([0x47,0x50,0x4c]))return _0x281bb1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x562cf4=_0x20b0fe(),!_0x562cf4)return _0x281bb1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x562cf4[_0x281bb1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e15dc=_0x437077(_0x562cf4[_0x281bb1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x562cf4[_0x281bb1([0x6a,0x74,0x69])])),await _0x5b6178()?_0x1f450b()?_0x1e21a8()?_0x281bb1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5254dc()?(_0x562cf4[_0x281bb1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x281bb1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bb5ac=_0x4df015(_0x281bb1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x562cf4[_0x281bb1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x281bb1([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bb5ac=_0x4df015(_0x281bb1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17bb08()):_0x281bb1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x281bb1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x281bb1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x281bb1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e21a8(){const _0x19d058=[_0x281bb1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x281bb1([0x74,0x72,0x69,0x61,0x6c])][_0x281bb1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x562cf4[_0x281bb1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd4e5c8/0x3e8:0xe10*_0x18e3e6;return _0x562cf4[_0x281bb1([0x65,0x78,0x70])]<_0x19d058;}function _0x1f450b(){const _0x14d1d1=_0x562cf4[_0x281bb1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14d1d1&&(!!_0x14d1d1[_0x281bb1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281bb1([0x2a]))||!!_0x14d1d1[_0x281bb1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281bb1([0x55,0x50,0x4c,0x43])));}function _0x5254dc(){const _0x503fa7=_0x1145,_0x5680cf=_0x562cf4[_0x281bb1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5680cf||0x0==_0x5680cf[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e155c}=new URL(window[_0x281bb1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x503fa7(0xf3)]);if(_0x5680cf[_0x281bb1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e155c))return!0x0;const _0x432d69=_0x3e155c[_0x281bb1([0x73,0x70,0x6c,0x69,0x74])](_0x281bb1([0x2e]));return _0x5680cf[_0x281bb1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12eb2f=>_0x12eb2f[_0x281bb1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281bb1([0x2a])))[_0x281bb1([0x6d,0x61,0x70])](_0x1f4035=>_0x1f4035[_0x281bb1([0x73,0x70,0x6c,0x69,0x74])](_0x281bb1([0x2e])))[_0x281bb1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c7e9b=>_0x4c7e9b[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x432d69[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x281bb1([0x6d,0x61,0x70])](_0x428768=>Array(_0x432d69[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x428768[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x281bb1([0x66,0x69,0x6c,0x6c])](_0x428768[0x0]===_0x281bb1([0x2a])?_0x281bb1([0x2a]):'')[_0x281bb1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x428768))[_0x281bb1([0x73,0x6f,0x6d,0x65])](_0xb45c48=>_0x432d69[_0x281bb1([0x65,0x76,0x65,0x72,0x79])]((_0x5ec7a3,_0x303209)=>_0xb45c48[_0x303209]===_0x5ec7a3||_0xb45c48[_0x303209]===_0x281bb1([0x2a])));}function _0x17bb08(){return _0x1bb5ac&&_0x1e15dc?new window[(_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c9750,_0x590922)=>{_0x1bb5ac[_0x281bb1([0x74,0x68,0x65,0x6e])](_0x2c9750,_0x590922),_0x1e15dc[_0x281bb1([0x74,0x68,0x65,0x6e])](_0x25c0e4=>{_0x25c0e4!=_0x281bb1([0x56,0x61,0x6c,0x69,0x64])&&_0x2c9750(_0x25c0e4);},_0x590922);}):_0x1bb5ac||_0x1e15dc||_0x281bb1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x437077(_0x22068e,_0x2e81db){return new window[(_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8e62=>{if(_0x1c05cb())return _0x5e8e62(_0x281bb1([0x56,0x61,0x6c,0x69,0x64]));_0x13f77f(),_0x2756a0[_0x281bb1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x281bb1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bfc73=!0x1;const _0x45d8b4=_0x17bfc5();function _0x564a6c(_0x45c3b2){return!!_0x45c3b2&&(typeof _0x45c3b2===_0x281bb1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45c3b2===_0x281bb1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45c3b2[_0x281bb1([0x74,0x68,0x65,0x6e])]===_0x281bb1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45c3b2[_0x281bb1([0x63,0x61,0x74,0x63,0x68])]===_0x281bb1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b60ff(_0x5d9d11){_0x258277(_0x5d9d11)[_0x281bb1([0x74,0x68,0x65,0x6e])](_0xc1b2ed=>{if(!_0xc1b2ed||_0xc1b2ed[_0x281bb1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x281bb1([0x6f,0x6b]))return _0x281bb1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e214e(_0x473678(_0x45d8b4+_0x2e81db))!=_0xc1b2ed[_0x281bb1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x281bb1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x281bb1([0x56,0x61,0x6c,0x69,0x64]);})[_0x281bb1([0x74,0x68,0x65,0x6e])](_0x5326d1=>(_0x248938(),_0x5326d1),()=>{const _0xc7bbfc=_0x5a2d92();return null==_0xc7bbfc?(_0x248938(),_0x281bb1([0x56,0x61,0x6c,0x69,0x64])):_0x281bb1(_0xd4e5c8-_0xc7bbfc>(0x7753083a^_0x22b6fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x281bb1([0x74,0x68,0x65,0x6e])](_0x5e8e62)[_0x281bb1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e8e62(_0x281bb1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x220983=0x536962ba^_0x22b6fb;function _0x248938(){const _0x5f3eca=_0x281bb1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e214e(_0x473678(_0x22068e)),_0x531bb2=_0x1dfcf2(_0x4e214e(window[_0x281bb1([0x4d,0x61,0x74,0x68])][_0x281bb1([0x63,0x65,0x69,0x6c])](_0xd4e5c8/_0x220983)));window[_0x281bb1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x281bb1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f3eca,_0x531bb2);}function _0x5a2d92(){const _0x3f2f06=_0x281bb1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e214e(_0x473678(_0x22068e)),_0x19030b=window[_0x281bb1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x281bb1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f2f06);return _0x19030b?window[_0x281bb1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dfcf2(_0x19030b),0x10)*_0x220983:null;}function _0x258277(_0x151ec4){return new window[(_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cb318,_0x544209)=>{_0x151ec4[_0x281bb1([0x74,0x68,0x65,0x6e])](_0x2cb318,_0x544209),window[_0x281bb1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x544209,0x535e58fa^_0x22b6fb);});}}_0x2756a0[_0x281bb1([0x6f,0x6e])](_0x281bb1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ba2ea,_0x3c852a)=>{if(_0x3c852a[0x0]!=_0x22068e)return _0x5e8e62(_0x281bb1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c852a[0x1]={..._0x3c852a[0x1],[_0x281bb1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45d8b4};},{[_0x281bb1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x281bb1([0x68,0x69,0x67,0x68])}),_0x2756a0[_0x281bb1([0x6f,0x6e])](_0x281bb1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1db1b8=>{_0x564a6c(_0x1db1b8[_0x281bb1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bfc73=!0x0,_0x2b60ff(_0x1db1b8[_0x281bb1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x281bb1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x281bb1([0x6c,0x6f,0x77])}),_0x46841b[_0x281bb1([0x74,0x68,0x65,0x6e])](()=>{_0x3bfc73||_0x5e8e62(_0x281bb1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c05cb(){return _0x2756a0[_0x281bb1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x281bb1([0x76,0x69,0x65,0x77])][_0x281bb1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x281bb1([0x61,0x75,0x74,0x6f]);}function _0x13f77f(){_0x2756a0[_0x281bb1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x281bb1([0x76,0x69,0x65,0x77])][_0x281bb1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x281bb1([0x61,0x75,0x74,0x6f]);}}function _0x4df015(_0x5303d7){const _0x444a4e=[new window[(_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e671b=>setTimeout(_0x5e671b,0x5356b2f6^_0x22b6fb)),_0x46841b[_0x281bb1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f2b87=>{let _0x34e001=0x0;_0x2756a0[_0x281bb1([0x6d,0x6f,0x64,0x65,0x6c])][_0x281bb1([0x6f,0x6e])](_0x281bb1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x397def,_0x7713f4)=>{_0x7713f4[0x0][_0x281bb1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34e001++,_0x34e001==(0x535f89d2^_0x22b6fb)&&(_0x5f2b87(),_0x397def[_0x281bb1([0x6f,0x66,0x66])]());});}))];return window[_0x281bb1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x281bb1([0x72,0x61,0x63,0x65])](_0x444a4e)[_0x281bb1([0x74,0x68,0x65,0x6e])](()=>_0x5303d7);}async function _0x5e965c(){await _0x46841b,_0x2756a0[_0x281bb1([0x6d,0x6f,0x64,0x65,0x6c])][_0x281bb1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d641d,_0x2756a0[_0x281bb1([0x6d,0x6f,0x64,0x65,0x6c])][_0x281bb1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d641d,_0x2756a0[_0x281bb1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x281bb1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38b7d1(_0x289ea0){const _0x3ef740=_0xb54b23();_0x2756a0[_0x3ef740]=_0x281bb1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x289ea0,_0x289ea0!=_0x281bb1([0x56,0x61,0x6c,0x69,0x64])&&_0x5e965c();}function _0xb54b23(){const _0x5d8b4f=window[_0x281bb1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x281bb1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x281bb1([0x6e,0x6f,0x77])]())[_0x281bb1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x281bb1([0x2e]),'');let _0x30c3dc=_0x281bb1([0x68]);for(let _0x20f398=0x0;_0x20f398<_0x5d8b4f[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20f398+=0x2){let _0x54f7f2=window[_0x281bb1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d8b4f[_0x281bb1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20f398,_0x20f398+0x2));_0x54f7f2>=_0x1ed5a1[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54f7f2-=_0x1ed5a1[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30c3dc+=_0x1ed5a1[_0x54f7f2];}return _0x30c3dc;}function _0x20b0fe(){const _0x3f91d9=_0x2ceb8f[_0x281bb1([0x73,0x70,0x6c,0x69,0x74])](_0x281bb1([0x2e]));if(0x3!=_0x3f91d9[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa617d4(_0x3f91d9[0x1]);function _0xa617d4(_0x20ae31){const _0x352b2e=_0x458446(_0x20ae31);return _0x352b2e&&_0x405e41()?_0x352b2e:null;function _0x405e41(){const _0x164ffd=_0x352b2e[_0x281bb1([0x6a,0x74,0x69])],_0x1fcc6c=window[_0x281bb1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x164ffd[_0x281bb1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x164ffd[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48ae15={..._0x352b2e,[_0x281bb1([0x6a,0x74,0x69])]:_0x164ffd[_0x281bb1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x164ffd[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48ae15[_0x281bb1([0x76,0x63])],_0x473678(_0x48ae15)==_0x1fcc6c;}}}async function _0x5b6178(){let _0x3b4f5b=!0x0;try{const _0xbb6cad=_0x2ceb8f[_0x281bb1([0x73,0x70,0x6c,0x69,0x74])](_0x281bb1([0x2e])),[_0x53fe91,_0x10cc1f,_0x17af41]=_0xbb6cad;return _0x5c57c8(_0x53fe91),await _0x406289(_0x53fe91,_0x10cc1f,_0x17af41),_0x3b4f5b;}catch{return!0x1;}function _0x5c57c8(_0x1b8bd4){const _0x2073e7=_0x458446(_0x1b8bd4);_0x2073e7&&_0x2073e7[_0x281bb1([0x61,0x6c,0x67])]==_0x281bb1([0x45,0x53,0x32,0x35,0x36])||(_0x3b4f5b=!0x1);}async function _0x406289(_0x26dd0b,_0x44815c,_0x458df0){const _0x14773e=window[_0x281bb1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x281bb1([0x66,0x72,0x6f,0x6d])](_0x10cd0c(_0x458df0),_0x24c48f=>_0x24c48f[_0x281bb1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f4072=new window[(_0x281bb1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x281bb1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26dd0b+_0x281bb1([0x2e])+_0x44815c),_0x5532fd=window[_0x281bb1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x281bb1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5532fd)return;const _0x301064=await _0x5532fd[_0x281bb1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x281bb1([0x6a,0x77,0x6b]),_0x45615b,{[_0x281bb1([0x6e,0x61,0x6d,0x65])]:_0x281bb1([0x45,0x43,0x44,0x53,0x41]),[_0x281bb1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x281bb1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x281bb1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5532fd[_0x281bb1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x281bb1([0x6e,0x61,0x6d,0x65])]:_0x281bb1([0x45,0x43,0x44,0x53,0x41]),[_0x281bb1([0x68,0x61,0x73,0x68])]:{[_0x281bb1([0x6e,0x61,0x6d,0x65])]:_0x281bb1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x301064,_0x14773e,_0x2f4072)||(_0x3b4f5b=!0x1);}}function _0x458446(_0x540fea){return _0x540fea[_0x281bb1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x281bb1([0x65,0x79]))?JSON[_0x281bb1([0x70,0x61,0x72,0x73,0x65])](_0x10cd0c(_0x540fea)):null;}function _0x10cd0c(_0x1982d3){return window[_0x281bb1([0x61,0x74,0x6f,0x62])](_0x1982d3[_0x281bb1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x281bb1([0x2b]))[_0x281bb1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x281bb1([0x2f])));}function _0x473678(_0x2a22c5){let _0x390ef3=0x1505;function _0x282950(_0x5b3b65){for(let _0x25ac0c=0x0;_0x25ac0c<_0x5b3b65[_0x281bb1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25ac0c++){const _0x565411=_0x5b3b65[_0x281bb1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25ac0c);_0x390ef3=(_0x390ef3<<0x5)+_0x390ef3+_0x565411,_0x390ef3&=_0x390ef3;}}function _0x46d97(_0x212331){Array[_0x281bb1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x212331)?_0x212331[_0x281bb1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46d97):_0x212331&&typeof _0x212331==_0x281bb1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x281bb1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x212331)[_0x281bb1([0x73,0x6f,0x72,0x74])]()[_0x281bb1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40cbc3,_0x1cfd10])=>{_0x282950(_0x40cbc3),_0x46d97(_0x1cfd10);}):_0x282950(window[_0x281bb1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x212331));}return _0x46d97(_0x2a22c5),_0x390ef3>>>0x0;}function _0x4e214e(_0x453e66){return _0x453e66[_0x281bb1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x281bb1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x281bb1([0x30]));}function _0x1dfcf2(_0x2c10d8){return _0x2c10d8[_0x281bb1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x281bb1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x281bb1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d641d(){}function _0x281bb1(_0x245022){const _0x16205d=_0x1145;return _0x245022[_0x16205d(0xe7)](_0x15c2d4=>String[_0x16205d(0xda)](_0x15c2d4))[_0x16205d(0xce)]('');}_0x38b7d1(await _0x59496f());}(this);}[_0x1fff1d(0x107)](){const _0x197867=_0x1fff1d,_0xb67fe6=this[_0x197867(0x109)][_0x197867(0xe0)][_0x197867(0xb9)];_0xb67fe6[_0x197867(0xc2)](_0x197867(0xca))&&_0xb67fe6[_0x197867(0xec)](_0x197867(0xca),{'allowAttributes':[_0x197867(0xd6)]}),_0xb67fe6[_0x197867(0xc2)](_0x197867(0xd8))&&_0xb67fe6[_0x197867(0xec)](_0x197867(0xd8),{'allowAttributes':[_0x197867(0xd6)]});}[_0x1fff1d(0xc9)](){const _0x4a284e=_0x1fff1d,_0x3f94f2=this[_0x4a284e(0x109)];_0x3f94f2[_0x4a284e(0xe8)][_0x4a284e(0x104)](_0x4a284e(0xcd))[_0x4a284e(0xf0)]({'model':_0x4a284e(0xd6),'view':_0x4a284e(0xcc)}),_0x3f94f2[_0x4a284e(0xe8)][_0x4a284e(0x104)](_0x4a284e(0x108))[_0x4a284e(0xc7)]({'model':{'key':_0x4a284e(0xd6),'value':_0x398bf3=>_0x398bf3[_0x4a284e(0xeb)](_0x4a284e(0xcc))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2ab721=_0x3f94f2[_0x4a284e(0xdc)][_0x4a284e(0xbe)](_0x4a284e(0x102));_0x2ab721&&this[_0x4a284e(0xd9)](_0x2ab721,_0x4a284e(0xe9),(_0x2ff9a4,[_0x2e27d2,_0x3ca9f8])=>{const _0x7bd4c5=_0x4a284e;_0x2e27d2[_0x7bd4c5(0xcf)](_0x7bd4c5(0xd6),_0x3ca9f8);});}[_0x1fff1d(0xbc)](){const _0xab1f73=_0x1fff1d,_0xc59271=this[_0xab1f73(0x109)][_0xab1f73(0xc6)][_0xab1f73(0xbe)](_0xab1f73(0xcb))||{},_0x14450f=this[_0xab1f73(0x109)][_0xab1f73(0xc6)][_0xab1f73(0xbe)](_0xab1f73(0xfa))||'';this[_0xab1f73(0x105)]=_0x168b40(_0x544fc2[_0xab1f73(0xea)],_0xab1f73(0xc4),{..._0xc59271,'pubkey':_0x14450f,'ctx-name':_0xab1f73(0xd3)+this[_0xab1f73(0xed)],'sourceList':'','imgOnly':_0xab1f73(0xf5),'removeCopyright':_0xab1f73(0xf5),'localeName':this[_0xab1f73(0x109)][_0xab1f73(0x106)][_0xab1f73(0xe1)],'externalSourcesEmbedCss':_0xab1f73(0xd1)}),this[_0xab1f73(0x105)][_0xab1f73(0xbd)]=_0x4851f8=>{const _0x5d7372=_0xab1f73;if(_0x5d7372(0xf2)==_0x4851f8)return _0x5d7372(0xe5);},_0x544fc2[_0xab1f73(0xea)][_0xab1f73(0xf4)][_0xab1f73(0xbf)](this[_0xab1f73(0x105)]);}[_0x1fff1d(0x103)](){const _0x2ff412=_0x1fff1d;this[_0x2ff412(0x10e)]=_0x168b40(_0x544fc2[_0x2ff412(0xea)],_0x2ff412(0xfe),{'ctx-name':_0x2ff412(0xd3)+this[_0x2ff412(0xed)]}),_0x544fc2[_0x2ff412(0xea)][_0x2ff412(0xf4)][_0x2ff412(0xbf)](this[_0x2ff412(0x10e)]);}[_0x1fff1d(0xfc)](){const _0x2e6da2=_0x1fff1d,_0x3f5347=this[_0x2e6da2(0x109)][_0x2e6da2(0xdc)][_0x2e6da2(0xbe)](_0x2e6da2(0xfb));_0x3f5347&&this[_0x2e6da2(0xd9)](_0x3f5347,_0x2e6da2(0xd7),()=>{const _0xccd59e=_0x2e6da2,_0x41f9f5=this[_0xccd59e(0x109)][_0xccd59e(0xe0)][_0xccd59e(0xea)][_0xccd59e(0xd4)][_0xccd59e(0xc8)]();_0x41f9f5&&_0x41f9f5[_0xccd59e(0xeb)](_0xccd59e(0xd6))&&this[_0xccd59e(0x109)][_0xccd59e(0xf9)][_0xccd59e(0xc5)][_0xccd59e(0xe6)](_0xccd59e(0xde),()=>{const _0x339417=_0xccd59e;_0x39f279(this[_0x339417(0x109)],_0x41f9f5);});});const _0x24091b=this[_0x2e6da2(0x109)][_0x2e6da2(0xdc)][_0x2e6da2(0xbe)](_0x2e6da2(0xd2));_0x24091b&&this[_0x2e6da2(0xd9)](_0x24091b,_0x2e6da2(0xd7),()=>{const _0x486cc0=_0x2e6da2,_0x4ea3ac=this[_0x486cc0(0x109)][_0x486cc0(0xe0)][_0x486cc0(0xea)][_0x486cc0(0xd4)][_0x486cc0(0xc8)]();_0x4ea3ac&&_0x4ea3ac[_0x486cc0(0xeb)](_0x486cc0(0xd6))&&this[_0x486cc0(0x109)][_0x486cc0(0xf9)][_0x486cc0(0xc5)][_0x486cc0(0xe6)](_0x486cc0(0xde),()=>{const _0x2f71b4=_0x486cc0;_0x39f279(this[_0x2f71b4(0x109)],_0x4ea3ac);});});}}function _0x36cc(){const _0x4c093f=['685FWQHLb','_initConfig','iconHrefResolver','get','appendChild','add','7MZanUx','isRegistered','21Dpyzcu','uc-config','view','config','elementToAttribute','getSelectedElement','_initConversion','imageBlock','uploadcare.uploader','data-uc-image-id','downcast','join','removeAttribute','428148DNBWQj','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcareImageReplace','uploader-','selection','339455YqOuPf','uploadcareImageId','execute','imageInline','listenTo','fromCharCode','634128qJZleR','commands','2616450tJncwo','render','163316QkrUuD','model','contentLanguage','init','destroy','input[uploadcare-file-input]','#uc-icon-arrow-down','once','map','conversion','cleanupImage','document','getAttribute','extend','ucContextId','4596568rKCXXN','uploadcare','attributeToAttribute','isPremiumPlugin','closeMax','href','body','true','isOfficialPlugin','requires','ctxElement','editing','uploadcare.pubkey','insertImage','_initImageProcessingIndicator','740RjppmI','uc-upload-ctx-provider','afterInit','154TJCodO','remove','replaceImageSource','_initCtx','for','_configElement','locale','_initSchema','upcast','editor','querySelector','PictureEditing','configElement','pluginName','_ctxElement','9izvdfp','schema','UploadcareEditing'];_0x36cc=function(){return _0x4c093f;};return _0x36cc();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x53392c,ObservableMixin as _0x3b739c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5bf022}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1dc4a8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2e0653}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2fa248}from'../../utils/uploadutils.js';import{getImageUrls as _0x43c231,getImageDimension as _0x26d547}from'../../utils/editingutils.js';import{isAncestor as _0x45c64d}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x3b739c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x248c1a,_0x4a128d,_0xa9f1c8){super(),this['_editor']=_0x248c1a,this['_dialog']=_0x4a128d,this['_imageElement']=_0xa9f1c8,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 _0x5eb93e=this['_imageElement'],_0x19f405=_0x5eb93e['getAttribute']('uploadcareImageId'),_0x4d067f=_0x5eb93e['getAttribute']('src');if(_0x19f405)await this['_loadImageInfo'](_0x19f405,_0x4d067f);else{if(this['_imageCache']['has'](_0x4d067f)){const _0x4b7dc1=this['_imageCache']['get'](_0x4d067f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4b7dc1['url'],this['imageDimension']=_0x4b7dc1['dimension'],this['imageId']=_0x4b7dc1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x574263}=this['_editor'],t=_0x574263['t'],_0x399678=new _0x2e0653(_0x574263,this['imageStatus'],this['_attributes']);_0x399678['bind']('status')['to'](this,'imageStatus'),_0x399678['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x399678['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x399678['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x399678,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1dc4a8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x399678,'position':_0x5bf022['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x399678['focus']();},'onHide':()=>{_0x399678['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x551492=>!_0x45c64d(_0x551492,_0x399678['element'])}});}['_loadImageInfo'](_0x4b3239,_0x411527){return _0x2fa248['getInfo'](_0x4b3239,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x449549=>{const {width:_0x39185d,height:_0x57adb1}=_0x449549['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x411527,this['imageDimension']={'width':_0x39185d,'height':_0x57adb1},this['imageId']=_0x4b3239;})['catch'](_0x4d7d5c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d7d5c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2cf6a3,_0x3abb34){return this['_getImageAsFile'](_0x2cf6a3)['then'](_0xce255e=>_0x2fa248['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':_0x3abb34['signal'],'file':_0xce255e,'onProgress':_0x31aa0a=>{_0x31aa0a&&_0x31aa0a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x31aa0a['value']));}}))['then'](_0x51193c=>{const {width:_0x41f6c3,height:_0x1c16ff}=_0x51193c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x51193c['cdnUrl'],this['imageDimension']={'width':_0x41f6c3,'height':_0x1c16ff},this['imageId']=_0x51193c['uuid'],this['imageUploadProgress']=null;const _0x5a4e67=_0x2cf6a3['getAttribute']('src');this['_imageCache']['set'](_0x5a4e67,{'id':_0x51193c['uuid'],'url':_0x51193c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x406ba6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x406ba6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1a8480,_0x581972){_0x1a8480['on']('apply',(_0x268746,_0xff1bef)=>{this['_replaceImage'](_0x581972,_0xff1bef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1a8480['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1a8480['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3dd18f,_0x1811a3,_0x471fb5){const _0x29d223=this['_editor'],{width:_0x15c67b,height:_0x11b194}=_0x26d547(_0x1811a3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x23dcdb,imageSources:_0x1b615e}=_0x43c231(_0x1811a3,_0x15c67b);_0x29d223['model']['change'](_0x2c6dae=>{if('$graveyard'===_0x3dd18f['root']['rootName']){_0x29d223['execute']('insertImage',{'imageType':_0x3dd18f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3dd18f['getAttributes']()),'uploadcareImageId':_0x471fb5,'src':_0x23dcdb,'sources':_0x1b615e,'width':_0x15c67b,'height':_0x11b194}});const _0x583759=_0x3dd18f['getChildren']();_0x3dd18f=_0x29d223['model']['document']['selection']['getSelectedElement']();for(const _0x2db46b of _0x583759)_0x2c6dae['append'](_0x2c6dae['cloneElement'](_0x2db46b),_0x3dd18f);}else _0x2c6dae['setSelection'](_0x3dd18f,'on'),_0x29d223['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3dd18f['getAttributes']()),'uploadcareImageId':_0x471fb5,'src':_0x23dcdb,'sources':_0x1b615e,'width':_0x15c67b,'height':_0x11b194},_0x3dd18f);_0x2c6dae['setSelection'](_0x3dd18f,'on');});}async['_getImageAsFile'](_0x1c4675){const _0x4c1729=_0x53392c['window'],_0x85ef35=_0x53392c['document']['location']['href'],_0x55e2b5=new _0x4c1729['URL'](_0x1c4675['getAttribute']('src'),_0x85ef35);if('data:'===_0x55e2b5['protocol']){const _0x1af630=_0x55e2b5['href']['split'](','),_0x320457=_0x1af630[0x0]['match'](/:(.*?);/)[0x1],_0x563ff1=_0x320457['split']('/')[0x1],_0x350260=_0x4c1729['atob'](_0x1af630[_0x1af630['length']-0x1]);let _0x162af2=_0x350260['length'];const _0x482d84=new _0x4c1729['Uint8Array'](_0x162af2);for(;_0x162af2--;)_0x482d84[_0x162af2]=_0x350260['charCodeAt'](_0x162af2);return new _0x4c1729['File']([_0x482d84],'image.'+_0x563ff1,{'type':_0x320457});}const _0x1d987d=_0x55e2b5['href']['split']('/'),_0x23ffbb=_0x1d987d[_0x1d987d['length']-0x1],_0x54851a=_0x23ffbb['split']('.')[0x1];return _0x4c1729['fetch'](_0x55e2b5['href'])['then'](_0x5388a2=>_0x5388a2['clone']()['blob']())['then'](_0x812119=>new _0x4c1729['File']([_0x812119],_0x23ffbb,{'type':'image/'+_0x54851a}));}}
23
+ import{global as _0x46f999,ObservableMixin as _0x5dc735}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3ccd3d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2977cd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x135c3d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23cd8f}from'../../utils/uploadutils.js';import{getImageUrls as _0x40519d,getImageDimension as _0xfd7424}from'../../utils/editingutils.js';import{isAncestor as _0x36a002}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5dc735(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x45c843,_0x1d3b65,_0x17a17c){super(),this['_editor']=_0x45c843,this['_dialog']=_0x1d3b65,this['_imageElement']=_0x17a17c,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 _0x49940e=this['_imageElement'],_0x55d8df=_0x49940e['getAttribute']('uploadcareImageId'),_0x5b8c51=_0x49940e['getAttribute']('src');if(_0x55d8df)await this['_loadImageInfo'](_0x55d8df,_0x5b8c51);else{if(this['_imageCache']['has'](_0x5b8c51)){const _0x48eb33=this['_imageCache']['get'](_0x5b8c51);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48eb33['url'],this['imageDimension']=_0x48eb33['dimension'],this['imageId']=_0x48eb33['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x172a8e}=this['_editor'],t=_0x172a8e['t'],_0xb23c45=new _0x135c3d(_0x172a8e,this['imageStatus'],this['_attributes']);_0xb23c45['bind']('status')['to'](this,'imageStatus'),_0xb23c45['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb23c45['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb23c45['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb23c45,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2977cd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb23c45,'position':_0x3ccd3d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb23c45['focus']();},'onHide':()=>{_0xb23c45['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d128c=>!_0x36a002(_0x2d128c,_0xb23c45['element'])}});}['_loadImageInfo'](_0x3ea099,_0x4bb1dd){return _0x23cd8f['getInfo'](_0x3ea099,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x298aac=>{const {width:_0x1a0c41,height:_0xf0be5f}=_0x298aac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb1dd,this['imageDimension']={'width':_0x1a0c41,'height':_0xf0be5f},this['imageId']=_0x3ea099;})['catch'](_0x3ea163=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ea163['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x345f9f,_0x3b086e){return this['_getImageAsFile'](_0x345f9f)['then'](_0x338589=>_0x23cd8f['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':_0x3b086e['signal'],'file':_0x338589,'onProgress':_0x287c3e=>{_0x287c3e&&_0x287c3e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x287c3e['value']));}}))['then'](_0xe33b3c=>{const {width:_0xfa45d2,height:_0xed0784}=_0xe33b3c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe33b3c['cdnUrl'],this['imageDimension']={'width':_0xfa45d2,'height':_0xed0784},this['imageId']=_0xe33b3c['uuid'],this['imageUploadProgress']=null;const _0x141ffa=_0x345f9f['getAttribute']('src');this['_imageCache']['set'](_0x141ffa,{'id':_0xe33b3c['uuid'],'url':_0xe33b3c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x37b683=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x37b683['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x561f9a,_0x29b5bf){_0x561f9a['on']('apply',(_0x37422f,_0x55be67)=>{this['_replaceImage'](_0x29b5bf,_0x55be67['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x561f9a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x561f9a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3cf744,_0x11a99c,_0x17ee30){const _0x1e05bf=this['_editor'],{width:_0x2af2a8,height:_0x5788f5}=_0xfd7424(_0x11a99c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2965bb,imageSources:_0x2dc0f6}=_0x40519d(_0x11a99c,_0x2af2a8);_0x1e05bf['model']['change'](_0x41ed1f=>{if('$graveyard'===_0x3cf744['root']['rootName']){_0x1e05bf['execute']('insertImage',{'imageType':_0x3cf744['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3cf744['getAttributes']()),'uploadcareImageId':_0x17ee30,'src':_0x2965bb,'sources':_0x2dc0f6,'width':_0x2af2a8,'height':_0x5788f5}});const _0xf4abde=_0x3cf744['getChildren']();_0x3cf744=_0x1e05bf['model']['document']['selection']['getSelectedElement']();for(const _0x2d8e20 of _0xf4abde)_0x41ed1f['append'](_0x41ed1f['cloneElement'](_0x2d8e20),_0x3cf744);}else _0x41ed1f['setSelection'](_0x3cf744,'on'),_0x1e05bf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3cf744['getAttributes']()),'uploadcareImageId':_0x17ee30,'src':_0x2965bb,'sources':_0x2dc0f6,'width':_0x2af2a8,'height':_0x5788f5},_0x3cf744);_0x41ed1f['setSelection'](_0x3cf744,'on');});}async['_getImageAsFile'](_0x90de10){const _0x1a0757=_0x46f999['window'],_0x585ce1=_0x46f999['document']['location']['href'],_0x1d2235=new _0x1a0757['URL'](_0x90de10['getAttribute']('src'),_0x585ce1);if('data:'===_0x1d2235['protocol']){const _0x42ebdc=_0x1d2235['href']['split'](','),_0x5c941b=_0x42ebdc[0x0]['match'](/:(.*?);/)[0x1],_0x51e846=_0x5c941b['split']('/')[0x1],_0xb0f0c9=_0x1a0757['atob'](_0x42ebdc[_0x42ebdc['length']-0x1]);let _0x28d484=_0xb0f0c9['length'];const _0x556502=new _0x1a0757['Uint8Array'](_0x28d484);for(;_0x28d484--;)_0x556502[_0x28d484]=_0xb0f0c9['charCodeAt'](_0x28d484);return new _0x1a0757['File']([_0x556502],'image.'+_0x51e846,{'type':_0x5c941b});}const _0x2079e2=_0x1d2235['href']['split']('/'),_0x50d197=_0x2079e2[_0x2079e2['length']-0x1],_0x2fec90=_0x50d197['split']('.')[0x1];return _0x1a0757['fetch'](_0x1d2235['href'])['then'](_0x3277e5=>_0x3277e5['clone']()['blob']())['then'](_0x53a3ac=>new _0x1a0757['File']([_0x53a3ac],_0x50d197,{'type':'image/'+_0x2fec90}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5295b2,_0x5458d1){const _0x4f8992=_0x32a9,_0x3ec433=_0x5295b2();while(!![]){try{const _0x17d02f=parseInt(_0x4f8992(0x193))/0x1*(parseInt(_0x4f8992(0x18b))/0x2)+-parseInt(_0x4f8992(0x195))/0x3+-parseInt(_0x4f8992(0x188))/0x4*(parseInt(_0x4f8992(0x191))/0x5)+parseInt(_0x4f8992(0x192))/0x6*(parseInt(_0x4f8992(0x194))/0x7)+parseInt(_0x4f8992(0x18f))/0x8*(parseInt(_0x4f8992(0x198))/0x9)+-parseInt(_0x4f8992(0x197))/0xa*(parseInt(_0x4f8992(0x190))/0xb)+parseInt(_0x4f8992(0x189))/0xc;if(_0x17d02f===_0x5458d1)break;else _0x3ec433['push'](_0x3ec433['shift']());}catch(_0x54de17){_0x3ec433['push'](_0x3ec433['shift']());}}}(_0x477e,0x4e616));function _0x477e(){const _0x3b58b3=['66305UnCmIU','138Aykvtj','1cLlkOz','88074MALAGu','669546gUfgUc','uc-light','14930ovmIzy','997371lJvMRs','set','bindTemplate','imageSrc','48zkVvGK','1103448ydmcBu','image-edit','1060058DTybfr','uc-cloud-image-editor','setTemplate','ck-uploadcare-theme','24vlcsIw','3982JpnKPn'];_0x477e=function(){return _0x3b58b3;};return _0x477e();}import{View as _0x319436}from'ckeditor5/src/ui.js';function _0x32a9(_0xb93e44,_0x32c1ef){const _0x477e13=_0x477e();return _0x32a9=function(_0x32a99a,_0x4eac88){_0x32a99a=_0x32a99a-0x185;let _0x4dafd9=_0x477e13[_0x32a99a];return _0x4dafd9;},_0x32a9(_0xb93e44,_0x32c1ef);}export class UploadcareImageEditFormEditingView extends _0x319436{constructor(_0x16131b,_0x3e23e6){const _0x466b32=_0x32a9;super(_0x16131b);const _0x525389=this[_0x466b32(0x186)];this[_0x466b32(0x185)](_0x466b32(0x187),''),this[_0x466b32(0x18d)]({'tag':_0x466b32(0x18c),'attributes':{..._0x3e23e6,'class':[_0x466b32(0x196),_0x466b32(0x18e)],'ctx-name':_0x466b32(0x18a),'cdn-url':_0x525389['to'](_0x466b32(0x187))}});}}
23
+ function _0x3e7e(){const _0x5e5f3b=['setTemplate','8036064TppUTm','1479wcbZoJ','uc-light','bindTemplate','4152CPHPVu','5052ggPDxU','set','264730iBBaSV','image-edit','2808666jrtQQZ','imageSrc','uc-cloud-image-editor','2980044iorAgg','ck-uploadcare-theme','3220180ApRYNn'];_0x3e7e=function(){return _0x5e5f3b;};return _0x3e7e();}function _0x5ec8(_0x418893,_0x38943a){const _0x3e7e89=_0x3e7e();return _0x5ec8=function(_0x5ec8c9,_0x554ddd){_0x5ec8c9=_0x5ec8c9-0x143;let _0x382977=_0x3e7e89[_0x5ec8c9];return _0x382977;},_0x5ec8(_0x418893,_0x38943a);}(function(_0x1e390f,_0x25b71b){const _0x5bf029=_0x5ec8,_0x311e19=_0x1e390f();while(!![]){try{const _0x16fb5a=parseInt(_0x5bf029(0x149))/0x1+parseInt(_0x5bf029(0x147))/0x2+-parseInt(_0x5bf029(0x143))/0x3*(-parseInt(_0x5bf029(0x146))/0x4)+parseInt(_0x5bf029(0x150))/0x5+-parseInt(_0x5bf029(0x14e))/0x6+parseInt(_0x5bf029(0x14b))/0x7+-parseInt(_0x5bf029(0x152))/0x8;if(_0x16fb5a===_0x25b71b)break;else _0x311e19['push'](_0x311e19['shift']());}catch(_0x2e46b7){_0x311e19['push'](_0x311e19['shift']());}}}(_0x3e7e,0x4ee0a));import{View as _0x524713}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x524713{constructor(_0x24911c,_0x5f2cca){const _0x261bf5=_0x5ec8;super(_0x24911c);const _0x51d779=this[_0x261bf5(0x145)];this[_0x261bf5(0x148)](_0x261bf5(0x14c),''),this[_0x261bf5(0x151)]({'tag':_0x261bf5(0x14d),'attributes':{..._0x5f2cca,'class':[_0x261bf5(0x144),_0x261bf5(0x14f)],'ctx-name':_0x261bf5(0x14a),'cdn-url':_0x51d779['to'](_0x261bf5(0x14c))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2b4557}from'ckeditor5/src/icons.js';import{ButtonView as _0x6d200e,IconView as _0x3645b1,View as _0x50e897}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x50e897{constructor(_0x50505b){super(_0x50505b);const t=_0x50505b['t'];this['set']('errorType',null);const _0x365ea9=new _0x6d200e(_0x50505b);_0x365ea9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x365ea9['withText']=!0x0,_0x365ea9['class']='ck-button-action',_0x365ea9['on']('execute',()=>{this['fire']('retry');}),_0x365ea9['bind']('isVisible')['to'](this,'errorType',_0xab565d=>'NotFound'!==_0xab565d);const _0x4fd37c=new _0x3645b1();_0x4fd37c['content']=_0x2b4557,_0x4fd37c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x311490=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':[_0x4fd37c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x311490['to']('errorType',_0x3d9618=>t('NotFound'!==_0x3d9618?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x365ea9]},{'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 _0x345645}from'ckeditor5/src/icons.js';import{ButtonView as _0x1e3690,IconView as _0x165a4c,View as _0x11b34c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x11b34c{constructor(_0x38eccd){super(_0x38eccd);const t=_0x38eccd['t'];this['set']('errorType',null);const _0x465310=new _0x1e3690(_0x38eccd);_0x465310['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x465310['withText']=!0x0,_0x465310['class']='ck-button-action',_0x465310['on']('execute',()=>{this['fire']('retry');}),_0x465310['bind']('isVisible')['to'](this,'errorType',_0x446ba6=>'NotFound'!==_0x446ba6);const _0x23de4d=new _0x165a4c();_0x23de4d['content']=_0x345645,_0x23de4d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2f3045=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':[_0x23de4d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2f3045['to']('errorType',_0x51c80c=>t('NotFound'!==_0x51c80c?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x465310]},{'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 _0x2a2726,View as _0x29a198}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x29a198{constructor(_0x4ee3b2){super(_0x4ee3b2);const t=_0x4ee3b2['t'],_0x21cab3=this['bindTemplate'],_0x378078=new _0x2a2726();_0x378078['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':[_0x378078,{'text':_0x21cab3['to']('imageUploadProgress',_0x4606f4=>t('Loading\x20image...')+'\x20('+(_0x4606f4||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 _0x316457,View as _0x107f3b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x107f3b{constructor(_0x31e3d8){super(_0x31e3d8);const t=_0x31e3d8['t'],_0x304fe5=this['bindTemplate'],_0x36fbe6=new _0x316457();_0x36fbe6['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':[_0x36fbe6,{'text':_0x304fe5['to']('imageUploadProgress',_0x186041=>t('Loading\x20image...')+'\x20('+(_0x186041||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 _0x46fb35=_0x1bdf;(function(_0xf75e30,_0x55a223){const _0x1e01f3=_0x1bdf,_0x4c3eab=_0xf75e30();while(!![]){try{const _0x164813=parseInt(_0x1e01f3(0x1df))/0x1*(parseInt(_0x1e01f3(0x1fb))/0x2)+-parseInt(_0x1e01f3(0x1f4))/0x3+-parseInt(_0x1e01f3(0x1de))/0x4+-parseInt(_0x1e01f3(0x204))/0x5+parseInt(_0x1e01f3(0x1cf))/0x6*(-parseInt(_0x1e01f3(0x1ea))/0x7)+-parseInt(_0x1e01f3(0x1d9))/0x8+-parseInt(_0x1e01f3(0x1eb))/0x9*(-parseInt(_0x1e01f3(0x1f5))/0xa);if(_0x164813===_0x55a223)break;else _0x4c3eab['push'](_0x4c3eab['shift']());}catch(_0x5e7e24){_0x4c3eab['push'](_0x4c3eab['shift']());}}}(_0x4fd2,0x31fb1));import{View as _0x331812}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4b8409}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x59b28e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x44af67}from'./uploadcareimageeditformeditingview.js';function _0x1bdf(_0x1a84fd,_0x16b938){const _0x4fd2e7=_0x4fd2();return _0x1bdf=function(_0x1bdf36,_0x301d57){_0x1bdf36=_0x1bdf36-0x1cf;let _0x49631f=_0x4fd2e7[_0x1bdf36];return _0x49631f;},_0x1bdf(_0x1a84fd,_0x16b938);}import{DialogFocusManagerView as _0x5486c4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5486c4{[_0x46fb35(0x1db)];[_0x46fb35(0x1f1)];[_0x46fb35(0x1e4)];[_0x46fb35(0x1e7)];[_0x46fb35(0x1da)];constructor(_0x2ef7ca,_0x48820b,_0x449601){const _0x46d56d=_0x46fb35;super(_0x2ef7ca),this[_0x46d56d(0x1db)]=this[_0x46d56d(0x1d0)](),this[_0x46d56d(0x1f1)]=new _0x4b8409(_0x2ef7ca),this[_0x46d56d(0x1e4)]=new _0x59b28e(_0x2ef7ca),this[_0x46d56d(0x1e7)]=new _0x44af67(_0x2ef7ca,_0x449601),this[_0x46d56d(0x1da)]=new _0x331812(_0x2ef7ca),this[_0x46d56d(0x1da)][_0x46d56d(0x1f8)](this[_0x46d56d(0x203)]()),this[_0x46d56d(0x1d6)](_0x46d56d(0x205),_0x48820b),this[_0x46d56d(0x1f8)]({'tag':_0x46d56d(0x1e6),'attributes':{'class':['ck',_0x46d56d(0x1f2),_0x46d56d(0x1e5)],'tabindex':'-1'},'children':this[_0x46d56d(0x1db)]}),this[_0x46d56d(0x1ee)](),this[_0x46d56d(0x1dc)](_0x46d56d(0x1f3),()=>{const _0x5e2498=_0x46d56d;this[_0x5e2498(0x1f9)](this[_0x5e2498(0x200)],_0x52dce8=>{const _0x23864c=_0x5e2498;this[_0x23864c(0x1f0)](_0x52dce8);});}),this['on'](_0x46d56d(0x1d1),()=>{const _0x32f594=_0x46d56d;this[_0x32f594(0x1ee)]();}),this[_0x46d56d(0x1fe)]();}[_0x46fb35(0x1fc)](){const _0x475d1b=_0x46fb35;this[_0x475d1b(0x200)][_0x475d1b(0x1fc)]();}[_0x46fb35(0x1ee)](){const _0x16e99f=_0x46fb35;switch(this[_0x16e99f(0x1db)][_0x16e99f(0x1d7)](),this[_0x16e99f(0x205)]){case _0x16e99f(0x1ec):this[_0x16e99f(0x1db)][_0x16e99f(0x1f6)](this[_0x16e99f(0x1f1)]);break;case _0x16e99f(0x1e8):this[_0x16e99f(0x1db)][_0x16e99f(0x1f6)](this[_0x16e99f(0x1e4)]);break;case _0x16e99f(0x1e2):this[_0x16e99f(0x1db)][_0x16e99f(0x1fa)]([this[_0x16e99f(0x1e7)],this[_0x16e99f(0x1da)]]);}}[_0x46fb35(0x1f9)](_0x4ccd73,_0xc4be65){const _0x2974cb=_0x46fb35,_0x181121=_0x2974cb(0x1fd),_0x32900c=_0x4ccd73[_0x2974cb(0x1d4)](_0x181121);if(_0x32900c)return _0xc4be65(_0x32900c);const _0x92ddd=new MutationObserver(_0x9b729=>{const _0x40c49f=_0x2974cb,_0x30069c=_0x9b729[_0x40c49f(0x1d2)](_0x4c4147=>_0x4c4147[_0x40c49f(0x201)]===_0x4ccd73&&_0x4c4147[_0x40c49f(0x1ef)][_0x40c49f(0x1dd)]>0x0&&_0x4c4147[_0x40c49f(0x1ef)][0x0][_0x40c49f(0x1e3)][_0x40c49f(0x1e9)]()===_0x181121);_0x30069c[_0x40c49f(0x1dd)]&&(_0x92ddd[_0x40c49f(0x202)](),_0xc4be65(_0x30069c[0x0][_0x40c49f(0x1ef)][0x0]));});_0x92ddd[_0x2974cb(0x1e0)](_0x4ccd73,{'childList':!0x0,'subtree':!0x0});}[_0x46fb35(0x1f0)](_0x46048e){const _0x4bc5b1=_0x46fb35;_0x46048e[_0x4bc5b1(0x1d8)](_0x4bc5b1(0x1f7),_0x1a2de8=>{const _0x177ded=_0x4bc5b1;this[_0x177ded(0x1e1)](_0x177ded(0x1f7),{'imageSrc':_0x1a2de8[_0x177ded(0x1ed)][_0x177ded(0x1d5)]});}),_0x46048e[_0x4bc5b1(0x1d8)](_0x4bc5b1(0x1ff),()=>{const _0xee663a=_0x4bc5b1;this[_0xee663a(0x1e1)](_0xee663a(0x1ff));});}[_0x46fb35(0x1fe)](){const _0x38d778=_0x46fb35;this[_0x38d778(0x1e4)]['on'](_0x38d778(0x1d3),()=>{const _0x1e97a2=_0x38d778;this[_0x1e97a2(0x1e1)](_0x1e97a2(0x1d3));});}}function _0x4fd2(){const _0x559cbc=['filter','retry','querySelector','cdnUrl','set','clear','addEventListener','1332584PJLWTK','_focusableView','_items','once','length','1216592lKgVAq','5204UUxzKF','observe','fire','ready','nodeName','_errorView','ck-uploadcare-form','div','_editingView','error','toLowerCase','7ClZUXU','1341AKufRn','uploading','detail','_setView','addedNodes','_addUploadcareImageEditorListeners','_loadingView','ck-reset_all-excluded','render','231315bzKKbY','68670zleetg','add','apply','setTemplate','_waitForImageEditorComponent','addMany','94UBVLwz','focus','uc-cloud-image-editor','_addErrorViewListeners','cancel','element','target','disconnect','getFocusableElement','1301295zeNoeB','status','1529790bVdwwj','createCollection','change:status'];_0x4fd2=function(){return _0x559cbc;};return _0x4fd2();}
23
+ const _0x59b0c1=_0x3784;(function(_0xadef96,_0x5f34b2){const _0x4baf02=_0x3784,_0x23222a=_0xadef96();while(!![]){try{const _0x41f29e=-parseInt(_0x4baf02(0xec))/0x1+-parseInt(_0x4baf02(0xd7))/0x2*(-parseInt(_0x4baf02(0xfa))/0x3)+-parseInt(_0x4baf02(0xfc))/0x4+-parseInt(_0x4baf02(0x10b))/0x5+-parseInt(_0x4baf02(0x101))/0x6+parseInt(_0x4baf02(0xf6))/0x7*(-parseInt(_0x4baf02(0xea))/0x8)+parseInt(_0x4baf02(0xee))/0x9;if(_0x41f29e===_0x5f34b2)break;else _0x23222a['push'](_0x23222a['shift']());}catch(_0x2a4776){_0x23222a['push'](_0x23222a['shift']());}}}(_0x30ad,0xec357));import{View as _0x25204d}from'ckeditor5/src/ui.js';function _0x3784(_0x777c91,_0x1325a9){const _0x30ad58=_0x30ad();return _0x3784=function(_0x37843e,_0x2cb718){_0x37843e=_0x37843e-0xd6;let _0x26b5b4=_0x30ad58[_0x37843e];return _0x26b5b4;},_0x3784(_0x777c91,_0x1325a9);}import{UploadcareImageEditFormLoadingView as _0x3c8890}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ea1b1}from'./uploadcareimageeditformerrorview.js';function _0x30ad(){const _0x178c8c=['24ZgMvss','ck-uploadcare-form','1397048PhPJXp','_addErrorViewListeners','47059659mmIlKd','addMany','add','toLowerCase','_addUploadcareImageEditorListeners','nodeName','observe','length','4305973ZsSbko','_setView','element','render','9SEeiHg','set','105432kjkrcH','filter','addEventListener','error','_waitForImageEditorComponent','2778432BfwVHC','div','target','_items','fire','setTemplate','disconnect','detail','addedNodes','_loadingView','7720870kZfNZQ','clear','676486gbwlmx','createCollection','getFocusableElement','_focusableView','status','cdnUrl','focus','retry','change:status','querySelector','uploading','_errorView','apply','uc-cloud-image-editor','once','ready','_editingView','ck-reset_all-excluded','cancel'];_0x30ad=function(){return _0x178c8c;};return _0x30ad();}import{UploadcareImageEditFormEditingView as _0x5b5f10}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x539423}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x539423{[_0x59b0c1(0x104)];[_0x59b0c1(0x10a)];[_0x59b0c1(0xe2)];[_0x59b0c1(0xe7)];[_0x59b0c1(0xda)];constructor(_0x4ed0aa,_0xfa195f,_0x2e7cff){const _0x4ba8f4=_0x59b0c1;super(_0x4ed0aa),this[_0x4ba8f4(0x104)]=this[_0x4ba8f4(0xd8)](),this[_0x4ba8f4(0x10a)]=new _0x3c8890(_0x4ed0aa),this[_0x4ba8f4(0xe2)]=new _0x2ea1b1(_0x4ed0aa),this[_0x4ba8f4(0xe7)]=new _0x5b5f10(_0x4ed0aa,_0x2e7cff),this[_0x4ba8f4(0xda)]=new _0x25204d(_0x4ed0aa),this[_0x4ba8f4(0xda)][_0x4ba8f4(0x106)](this[_0x4ba8f4(0xd9)]()),this[_0x4ba8f4(0xfb)](_0x4ba8f4(0xdb),_0xfa195f),this[_0x4ba8f4(0x106)]({'tag':_0x4ba8f4(0x102),'attributes':{'class':['ck',_0x4ba8f4(0xe8),_0x4ba8f4(0xeb)],'tabindex':'-1'},'children':this[_0x4ba8f4(0x104)]}),this[_0x4ba8f4(0xf7)](),this[_0x4ba8f4(0xe5)](_0x4ba8f4(0xf9),()=>{const _0xf817df=_0x4ba8f4;this[_0xf817df(0x100)](this[_0xf817df(0xf8)],_0x5865be=>{const _0x345671=_0xf817df;this[_0x345671(0xf2)](_0x5865be);});}),this['on'](_0x4ba8f4(0xdf),()=>{const _0x4c4d68=_0x4ba8f4;this[_0x4c4d68(0xf7)]();}),this[_0x4ba8f4(0xed)]();}[_0x59b0c1(0xdd)](){const _0x4d6fdc=_0x59b0c1;this[_0x4d6fdc(0xf8)][_0x4d6fdc(0xdd)]();}[_0x59b0c1(0xf7)](){const _0x47ca2c=_0x59b0c1;switch(this[_0x47ca2c(0x104)][_0x47ca2c(0xd6)](),this[_0x47ca2c(0xdb)]){case _0x47ca2c(0xe1):this[_0x47ca2c(0x104)][_0x47ca2c(0xf0)](this[_0x47ca2c(0x10a)]);break;case _0x47ca2c(0xff):this[_0x47ca2c(0x104)][_0x47ca2c(0xf0)](this[_0x47ca2c(0xe2)]);break;case _0x47ca2c(0xe6):this[_0x47ca2c(0x104)][_0x47ca2c(0xef)]([this[_0x47ca2c(0xe7)],this[_0x47ca2c(0xda)]]);}}[_0x59b0c1(0x100)](_0x2aaec7,_0x1368ad){const _0x9dfaff=_0x59b0c1,_0x91b6ae=_0x9dfaff(0xe4),_0xee1583=_0x2aaec7[_0x9dfaff(0xe0)](_0x91b6ae);if(_0xee1583)return _0x1368ad(_0xee1583);const _0x40aae1=new MutationObserver(_0x48cf6c=>{const _0x497e51=_0x9dfaff,_0xec1e14=_0x48cf6c[_0x497e51(0xfd)](_0x2d8939=>_0x2d8939[_0x497e51(0x103)]===_0x2aaec7&&_0x2d8939[_0x497e51(0x109)][_0x497e51(0xf5)]>0x0&&_0x2d8939[_0x497e51(0x109)][0x0][_0x497e51(0xf3)][_0x497e51(0xf1)]()===_0x91b6ae);_0xec1e14[_0x497e51(0xf5)]&&(_0x40aae1[_0x497e51(0x107)](),_0x1368ad(_0xec1e14[0x0][_0x497e51(0x109)][0x0]));});_0x40aae1[_0x9dfaff(0xf4)](_0x2aaec7,{'childList':!0x0,'subtree':!0x0});}[_0x59b0c1(0xf2)](_0x38eca0){const _0x356f9f=_0x59b0c1;_0x38eca0[_0x356f9f(0xfe)](_0x356f9f(0xe3),_0x1ce6a9=>{const _0x2fdf6f=_0x356f9f;this[_0x2fdf6f(0x105)](_0x2fdf6f(0xe3),{'imageSrc':_0x1ce6a9[_0x2fdf6f(0x108)][_0x2fdf6f(0xdc)]});}),_0x38eca0[_0x356f9f(0xfe)](_0x356f9f(0xe9),()=>{const _0x8fe514=_0x356f9f;this[_0x8fe514(0x105)](_0x8fe514(0xe9));});}[_0x59b0c1(0xed)](){const _0x6b62c=_0x59b0c1;this[_0x6b62c(0xe2)]['on'](_0x6b62c(0xde),()=>{const _0x3a9ca8=_0x6b62c;this[_0x3a9ca8(0x105)](_0x3a9ca8(0xde));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28e46c=_0x782e;function _0x782e(_0x20e83b,_0x13b8cd){const _0x2b746d=_0x2b74();return _0x782e=function(_0x782e53,_0x1dbae2){_0x782e53=_0x782e53-0x178;let _0xe05de0=_0x2b746d[_0x782e53];return _0xe05de0;},_0x782e(_0x20e83b,_0x13b8cd);}(function(_0x3bca91,_0x10e679){const _0x4d33aa=_0x782e,_0x58303a=_0x3bca91();while(!![]){try{const _0x23a2b1=-parseInt(_0x4d33aa(0x17e))/0x1+-parseInt(_0x4d33aa(0x195))/0x2+parseInt(_0x4d33aa(0x18f))/0x3*(-parseInt(_0x4d33aa(0x18e))/0x4)+parseInt(_0x4d33aa(0x187))/0x5*(-parseInt(_0x4d33aa(0x17d))/0x6)+parseInt(_0x4d33aa(0x17b))/0x7+parseInt(_0x4d33aa(0x193))/0x8+parseInt(_0x4d33aa(0x18c))/0x9;if(_0x23a2b1===_0x10e679)break;else _0x58303a['push'](_0x58303a['shift']());}catch(_0x2a91ee){_0x58303a['push'](_0x58303a['shift']());}}}(_0x2b74,0xcaf47));import{Command as _0x29c8b5}from'ckeditor5/src/core.js';import{Dialog as _0x3c6a1d}from'ckeditor5/src/ui.js';function _0x2b74(){const _0x17c31b=['uploadcare.allowExternalImagesEditing','unbind','bind','document','imageInline','isActive','set','selection','60bOGuuw','imageEditController','element','config','execute','41623794cJIQcN','getSelectedElement','16qsAqdc','1140429UlLfhQ','refresh','_isEditable','get','11378376EwEneH','isEnabled','2225584UqYbMa','requires','model','imageBlock','plugins','4294864GHIwBc','editor','771924OvFQdx','1652200eAGwBm'];_0x2b74=function(){return _0x17c31b;};return _0x2b74();}import{UploadcareImageEditController as _0x2fd6b0}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xcac1a2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x29c8b5{[_0x28e46c(0x188)];static get[_0x28e46c(0x196)](){return[_0x3c6a1d];}[_0x28e46c(0x191)];constructor(_0xb1a407){const _0x2d09fa=_0x28e46c;super(_0xb1a407),this[_0x2d09fa(0x188)]=void 0x0,this[_0x2d09fa(0x191)]=_0xcac1a2(_0xb1a407[_0x2d09fa(0x18a)][_0x2d09fa(0x192)](_0x2d09fa(0x17f))||[]),this[_0x2d09fa(0x185)]({'isActive':!0x1});}[_0x28e46c(0x190)](){const _0xc037c6=_0x28e46c,_0x5f0a4a=this[_0xc037c6(0x17c)][_0xc037c6(0x178)][_0xc037c6(0x182)][_0xc037c6(0x186)][_0xc037c6(0x18d)]();this[_0xc037c6(0x194)]=this[_0xc037c6(0x191)](_0x5f0a4a);}[_0x28e46c(0x18b)](){const _0x409236=_0x28e46c;this[_0x409236(0x188)]&&(this[_0x409236(0x180)](_0x409236(0x184)),this[_0x409236(0x188)]=void 0x0);const _0x3dfbf9=this[_0x409236(0x17c)][_0x409236(0x178)][_0x409236(0x182)][_0x409236(0x186)][_0x409236(0x18d)]();_0x3dfbf9&&(_0x3dfbf9['is'](_0x409236(0x189),_0x409236(0x179))||_0x3dfbf9['is'](_0x409236(0x189),_0x409236(0x183)))&&(this[_0x409236(0x188)]=new _0x2fd6b0(this[_0x409236(0x17c)],this[_0x409236(0x17c)][_0x409236(0x17a)][_0x409236(0x192)](_0x3c6a1d),_0x3dfbf9),this[_0x409236(0x181)](_0x409236(0x184))['to'](this[_0x409236(0x188)],_0x409236(0x184)));}}
23
+ function _0x1d37(){const _0x5467f8=['uploadcare.allowExternalImagesEditing','imageInline','1905546SxDPvx','model','3iDlPzz','isActive','set','getSelectedElement','13343274RWGwlg','503546YMbKPF','11064vgFkfF','unbind','imageBlock','518sVPvzQ','1900252XudeYE','editor','_isEditable','plugins','document','element','5409350ulSpsR','620730XfFFCf','isEnabled','get','requires','refresh','bind','imageEditController','selection','execute','config'];_0x1d37=function(){return _0x5467f8;};return _0x1d37();}const _0x2db552=_0x2b29;(function(_0x479afc,_0x542135){const _0x4a5345=_0x2b29,_0x1f94b0=_0x479afc();while(!![]){try{const _0x4b4766=-parseInt(_0x4a5345(0x198))/0x1+parseInt(_0x4a5345(0x191))/0x2*(parseInt(_0x4a5345(0x193))/0x3)+-parseInt(_0x4a5345(0x17e))/0x4+-parseInt(_0x4a5345(0x184))/0x5+parseInt(_0x4a5345(0x185))/0x6+-parseInt(_0x4a5345(0x17d))/0x7*(-parseInt(_0x4a5345(0x17a))/0x8)+parseInt(_0x4a5345(0x197))/0x9;if(_0x4b4766===_0x542135)break;else _0x1f94b0['push'](_0x1f94b0['shift']());}catch(_0x58c0e1){_0x1f94b0['push'](_0x1f94b0['shift']());}}}(_0x1d37,0x8dc45));import{Command as _0x4a3b90}from'ckeditor5/src/core.js';import{Dialog as _0x431a54}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4f42c6}from'./ui/uploadcareimageeditcontroller.js';function _0x2b29(_0x3b8918,_0x4fa77f){const _0x1d3741=_0x1d37();return _0x2b29=function(_0x2b2936,_0x3c7069){_0x2b2936=_0x2b2936-0x17a;let _0x1cf656=_0x1d3741[_0x2b2936];return _0x1cf656;},_0x2b29(_0x3b8918,_0x4fa77f);}import{createEditabilityChecker as _0x18661e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4a3b90{[_0x2db552(0x18b)];static get[_0x2db552(0x188)](){return[_0x431a54];}[_0x2db552(0x180)];constructor(_0x3d3c7f){const _0x438268=_0x2db552;super(_0x3d3c7f),this[_0x438268(0x18b)]=void 0x0,this[_0x438268(0x180)]=_0x18661e(_0x3d3c7f[_0x438268(0x18e)][_0x438268(0x187)](_0x438268(0x18f))||[]),this[_0x438268(0x195)]({'isActive':!0x1});}[_0x2db552(0x189)](){const _0xa9a36b=_0x2db552,_0x7ee020=this[_0xa9a36b(0x17f)][_0xa9a36b(0x192)][_0xa9a36b(0x182)][_0xa9a36b(0x18c)][_0xa9a36b(0x196)]();this[_0xa9a36b(0x186)]=this[_0xa9a36b(0x180)](_0x7ee020);}[_0x2db552(0x18d)](){const _0x3a2c1f=_0x2db552;this[_0x3a2c1f(0x18b)]&&(this[_0x3a2c1f(0x17b)](_0x3a2c1f(0x194)),this[_0x3a2c1f(0x18b)]=void 0x0);const _0x2b5b48=this[_0x3a2c1f(0x17f)][_0x3a2c1f(0x192)][_0x3a2c1f(0x182)][_0x3a2c1f(0x18c)][_0x3a2c1f(0x196)]();_0x2b5b48&&(_0x2b5b48['is'](_0x3a2c1f(0x183),_0x3a2c1f(0x17c))||_0x2b5b48['is'](_0x3a2c1f(0x183),_0x3a2c1f(0x190)))&&(this[_0x3a2c1f(0x18b)]=new _0x4f42c6(this[_0x3a2c1f(0x17f)],this[_0x3a2c1f(0x17f)][_0x3a2c1f(0x181)][_0x3a2c1f(0x187)](_0x431a54),_0x2b5b48),this[_0x3a2c1f(0x18a)](_0x3a2c1f(0x194))['to'](this[_0x3a2c1f(0x18b)],_0x3a2c1f(0x194)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b53(){const _0x30c102=['UploadcareImageEditEditing','ImageEditing','ImageUtils','30durvHh','48MHUddN','uploadcareImageEdit','8EgiWVy','requires','pluginName','6acdhEx','isOfficialPlugin','462847QWRYzo','396655FKWlWB','18984xfUwfG','389766AroPYq','2989239YPsAfr','add','init','isPremiumPlugin','commands','268iRdlkH','1504152aAaeOU','uploadcareImageReplace','67420IgvuCL'];_0x5b53=function(){return _0x30c102;};return _0x5b53();}const _0x3d393d=_0x58f4;(function(_0x48d5b7,_0x1f9c0d){const _0x50cd0d=_0x58f4,_0x59d934=_0x48d5b7();while(!![]){try{const _0xd05d1e=parseInt(_0x50cd0d(0xf6))/0x1+parseInt(_0x50cd0d(0xed))/0x2+parseInt(_0x50cd0d(0xec))/0x3*(-parseInt(_0x50cd0d(0xf3))/0x4)+-parseInt(_0x50cd0d(0xeb))/0x5*(parseInt(_0x50cd0d(0x100))/0x6)+parseInt(_0x50cd0d(0xea))/0x7*(-parseInt(_0x50cd0d(0xfd))/0x8)+-parseInt(_0x50cd0d(0xf4))/0x9*(parseInt(_0x50cd0d(0xfa))/0xa)+parseInt(_0x50cd0d(0xee))/0xb*(parseInt(_0x50cd0d(0xfb))/0xc);if(_0xd05d1e===_0x1f9c0d)break;else _0x59d934['push'](_0x59d934['shift']());}catch(_0x494abf){_0x59d934['push'](_0x59d934['shift']());}}}(_0x5b53,0x43fd7));import{Plugin as _0x3a996a}from'ckeditor5/src/core.js';function _0x58f4(_0x27265f,_0x5239c2){const _0x5b5364=_0x5b53();return _0x58f4=function(_0x58f46d,_0x1b1c74){_0x58f46d=_0x58f46d-0xea;let _0x3e1992=_0x5b5364[_0x58f46d];return _0x3e1992;},_0x58f4(_0x27265f,_0x5239c2);}import{Notification as _0x213aa9}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x45b65d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1f61e6}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2a1c59}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3a996a{static get[_0x3d393d(0xff)](){const _0x2d1729=_0x3d393d;return _0x2d1729(0xf7);}static get[_0x3d393d(0xfe)](){const _0x3d9a00=_0x3d393d;return[_0x2a1c59,_0x213aa9,_0x3d9a00(0xf9),_0x3d9a00(0xf8)];}static get[_0x3d393d(0x101)](){return!0x0;}static get[_0x3d393d(0xf1)](){return!0x0;}[_0x3d393d(0xf0)](){const _0x511aab=_0x3d393d,{editor:_0x623547}=this;_0x623547[_0x511aab(0xf2)][_0x511aab(0xef)](_0x511aab(0xfc),new _0x45b65d(_0x623547)),_0x623547[_0x511aab(0xf2)][_0x511aab(0xef)](_0x511aab(0xf5),new _0x1f61e6(_0x623547));}}
23
+ function _0x48a7(_0x5d7f76,_0x73e2a9){const _0x493ced=_0x493c();return _0x48a7=function(_0x48a7c3,_0x1eba7a){_0x48a7c3=_0x48a7c3-0x1a9;let _0x4c7e12=_0x493ced[_0x48a7c3];return _0x4c7e12;},_0x48a7(_0x5d7f76,_0x73e2a9);}const _0x187f54=_0x48a7;(function(_0x27cbb1,_0x349ab2){const _0x100f83=_0x48a7,_0x3b0058=_0x27cbb1();while(!![]){try{const _0x2c20ef=parseInt(_0x100f83(0x1ae))/0x1+parseInt(_0x100f83(0x1b2))/0x2*(parseInt(_0x100f83(0x1ac))/0x3)+-parseInt(_0x100f83(0x1b0))/0x4*(parseInt(_0x100f83(0x1aa))/0x5)+-parseInt(_0x100f83(0x1b1))/0x6*(-parseInt(_0x100f83(0x1b8))/0x7)+parseInt(_0x100f83(0x1ba))/0x8+parseInt(_0x100f83(0x1bf))/0x9*(parseInt(_0x100f83(0x1bc))/0xa)+-parseInt(_0x100f83(0x1ad))/0xb;if(_0x2c20ef===_0x349ab2)break;else _0x3b0058['push'](_0x3b0058['shift']());}catch(_0x3a5607){_0x3b0058['push'](_0x3b0058['shift']());}}}(_0x493c,0x623c2));import{Plugin as _0x4c8f0d}from'ckeditor5/src/core.js';import{Notification as _0xfed473}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1fdd04}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3ffa78}from'./uploadcareimagereplacecommand.js';function _0x493c(){const _0xa42f47=['20979CYPOiS','isOfficialPlugin','1128645VekDxu','uploadcareImageEdit','33zWtQZx','12209087izvHtv','422320qOhHjD','pluginName','4lMYlso','53058nSndKK','117146ATpfOo','commands','uploadcareImageReplace','isPremiumPlugin','UploadcareImageEditEditing','requires','77oGGtKN','ImageUtils','136088uIOJZb','init','2390sHBjlP','ImageEditing','add'];_0x493c=function(){return _0xa42f47;};return _0x493c();}import{UploadcareEditing as _0x3f9352}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c8f0d{static get[_0x187f54(0x1af)](){const _0x13b89f=_0x187f54;return _0x13b89f(0x1b6);}static get[_0x187f54(0x1b7)](){const _0x35e0e9=_0x187f54;return[_0x3f9352,_0xfed473,_0x35e0e9(0x1b9),_0x35e0e9(0x1bd)];}static get[_0x187f54(0x1a9)](){return!0x0;}static get[_0x187f54(0x1b5)](){return!0x0;}[_0x187f54(0x1bb)](){const _0x4a93ac=_0x187f54,{editor:_0x21d848}=this;_0x21d848[_0x4a93ac(0x1b3)][_0x4a93ac(0x1be)](_0x4a93ac(0x1ab),new _0x1fdd04(_0x21d848)),_0x21d848[_0x4a93ac(0x1b3)][_0x4a93ac(0x1be)](_0x4a93ac(0x1b4),new _0x3ffa78(_0x21d848));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x441107}from'ckeditor5/src/core.js';import{ButtonView as _0x589b51}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x46aaaa}from'ckeditor5/src/icons.js';import{createElement as _0x2376b9}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 _0x441107{['_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 _0x537919=this['editor'];_0x537919['ui']['componentFactory']['add']('uploadcareImageEdit',_0x39ef86=>{const _0x426bf0=_0x537919['commands']['get']('uploadcareImageEdit'),_0x4cc6dd=new _0x589b51(_0x39ef86),t=_0x39ef86['t'];return _0x4cc6dd['set']({'icon':_0x46aaaa,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4cc6dd['bind']('isEnabled')['to'](_0x426bf0),_0x4cc6dd['bind']('isOn')['to'](_0x426bf0,'isActive'),this['listenTo'](_0x4cc6dd,'execute',()=>{_0x537919['execute']('uploadcareImageEdit'),_0x537919['editing']['view']['focus']();}),_0x4cc6dd;}),this['_initConfig']();}['_initConfig'](){const _0x18508e=_0x2376b9(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x18508e),this['listenTo'](this['editor'],'destroy',()=>{_0x18508e['remove']();});}}
23
+ import{Plugin as _0x1ac247}from'ckeditor5/src/core.js';import{ButtonView as _0xc3083f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x39377a}from'ckeditor5/src/icons.js';import{createElement as _0x34f1fc}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 _0x1ac247{['_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 _0x4316ac=this['editor'];_0x4316ac['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1e7f96=>{const _0x1e7ae4=_0x4316ac['commands']['get']('uploadcareImageEdit'),_0x175284=new _0xc3083f(_0x1e7f96),t=_0x1e7f96['t'];return _0x175284['set']({'icon':_0x39377a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x175284['bind']('isEnabled')['to'](_0x1e7ae4),_0x175284['bind']('isOn')['to'](_0x1e7ae4,'isActive'),this['listenTo'](_0x175284,'execute',()=>{_0x4316ac['execute']('uploadcareImageEdit'),_0x4316ac['editing']['view']['focus']();}),_0x175284;}),this['_initConfig']();}['_initConfig'](){const _0x942086=_0x34f1fc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x942086),this['listenTo'](this['editor'],'destroy',()=>{_0x942086['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d5d4e=_0x90eb;function _0x90eb(_0x51f39,_0x45fc8a){const _0x29d7e6=_0x29d7();return _0x90eb=function(_0x90eb43,_0x44f7c6){_0x90eb43=_0x90eb43-0x1f0;let _0xe35bbc=_0x29d7e6[_0x90eb43];return _0xe35bbc;},_0x90eb(_0x51f39,_0x45fc8a);}(function(_0x570685,_0x17b0ee){const _0x51015e=_0x90eb,_0x18a78d=_0x570685();while(!![]){try{const _0x17b9a1=parseInt(_0x51015e(0x1f8))/0x1*(-parseInt(_0x51015e(0x202))/0x2)+parseInt(_0x51015e(0x200))/0x3*(-parseInt(_0x51015e(0x205))/0x4)+-parseInt(_0x51015e(0x206))/0x5+-parseInt(_0x51015e(0x1f5))/0x6+-parseInt(_0x51015e(0x201))/0x7+parseInt(_0x51015e(0x204))/0x8*(-parseInt(_0x51015e(0x1fc))/0x9)+parseInt(_0x51015e(0x1ff))/0xa;if(_0x17b9a1===_0x17b0ee)break;else _0x18a78d['push'](_0x18a78d['shift']());}catch(_0x5754b0){_0x18a78d['push'](_0x18a78d['shift']());}}}(_0x29d7,0x98b44));function _0x29d7(){const _0x46a2b8=['79371YjAqsn','document','imageBlock','35862660LSWgIL','81xqZxED','7934892XKGmFM','122XvFWij','srcset','472IceOeC','76764omQujk','494135kgMmHl','sizes','execute','removeAttribute','setAttributes','imageInline','selection','refresh','isEnabled','2470980YiTtgW','element','change','4559exEivK','editor','getSelectedElement','model'];_0x29d7=function(){return _0x46a2b8;};return _0x29d7();}import{Command as _0x5ecdb3}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5ecdb3{[_0x5d5d4e(0x1f3)](){const _0x503631=_0x5d5d4e,_0x2a2ff3=this[_0x503631(0x1f9)][_0x503631(0x1fb)][_0x503631(0x1fd)][_0x503631(0x1f2)][_0x503631(0x1fa)]();this[_0x503631(0x1f4)]=Boolean(_0x2a2ff3&&(_0x2a2ff3['is'](_0x503631(0x1f6),_0x503631(0x1fe))||_0x2a2ff3['is'](_0x503631(0x1f6),_0x503631(0x1f1))));}[_0x5d5d4e(0x208)](_0x409776){const _0x5e0d3e=_0x5d5d4e,_0x38fff3=this[_0x5e0d3e(0x1f9)][_0x5e0d3e(0x1fb)][_0x5e0d3e(0x1fd)][_0x5e0d3e(0x1f2)][_0x5e0d3e(0x1fa)]();this[_0x5e0d3e(0x1f9)][_0x5e0d3e(0x1fb)][_0x5e0d3e(0x1f7)](_0x237975=>{const _0x345002=_0x5e0d3e;_0x237975[_0x345002(0x1f0)](_0x409776,_0x38fff3),_0x237975[_0x345002(0x209)](_0x345002(0x203),_0x38fff3),_0x237975[_0x345002(0x209)](_0x345002(0x207),_0x38fff3);});}}
23
+ const _0x5e5c3e=_0x2c59;(function(_0x3e1792,_0x2a644d){const _0x351a36=_0x2c59,_0x1fe1ca=_0x3e1792();while(!![]){try{const _0x3c3822=parseInt(_0x351a36(0x1e5))/0x1*(parseInt(_0x351a36(0x1ee))/0x2)+-parseInt(_0x351a36(0x1f2))/0x3+parseInt(_0x351a36(0x1e9))/0x4*(-parseInt(_0x351a36(0x1e6))/0x5)+-parseInt(_0x351a36(0x1f0))/0x6+-parseInt(_0x351a36(0x1ec))/0x7+parseInt(_0x351a36(0x1ed))/0x8+-parseInt(_0x351a36(0x1fc))/0x9*(-parseInt(_0x351a36(0x1f3))/0xa);if(_0x3c3822===_0x2a644d)break;else _0x1fe1ca['push'](_0x1fe1ca['shift']());}catch(_0x5d62e2){_0x1fe1ca['push'](_0x1fe1ca['shift']());}}}(_0x4806,0xaab01));function _0x2c59(_0x5bee6f,_0x140298){const _0x4806b1=_0x4806();return _0x2c59=function(_0x2c595e,_0x4b413f){_0x2c595e=_0x2c595e-0x1e4;let _0x3d1219=_0x4806b1[_0x2c595e];return _0x3d1219;},_0x2c59(_0x5bee6f,_0x140298);}import{Command as _0x3a7101}from'ckeditor5/src/core.js';function _0x4806(){const _0x15b384=['2815326ZCnFOH','element','2565006VKpgnh','4064140zNgnOp','imageInline','model','isEnabled','imageBlock','srcset','change','setAttributes','document','18aOHckN','execute','removeAttribute','3SROOql','10HvywLz','editor','sizes','10408cyqYbp','selection','getSelectedElement','7999593gdSGAz','7761200BRODZo','925590yQpBMV','refresh'];_0x4806=function(){return _0x15b384;};return _0x4806();}export class UploadcareImageReplaceCommand extends _0x3a7101{[_0x5e5c3e(0x1ef)](){const _0x1a12af=_0x5e5c3e,_0x1c09a8=this[_0x1a12af(0x1e7)][_0x1a12af(0x1f5)][_0x1a12af(0x1fb)][_0x1a12af(0x1ea)][_0x1a12af(0x1eb)]();this[_0x1a12af(0x1f6)]=Boolean(_0x1c09a8&&(_0x1c09a8['is'](_0x1a12af(0x1f1),_0x1a12af(0x1f7))||_0x1c09a8['is'](_0x1a12af(0x1f1),_0x1a12af(0x1f4))));}[_0x5e5c3e(0x1fd)](_0x4fff56){const _0x5b77c6=_0x5e5c3e,_0x25d28d=this[_0x5b77c6(0x1e7)][_0x5b77c6(0x1f5)][_0x5b77c6(0x1fb)][_0x5b77c6(0x1ea)][_0x5b77c6(0x1eb)]();this[_0x5b77c6(0x1e7)][_0x5b77c6(0x1f5)][_0x5b77c6(0x1f9)](_0x3921e7=>{const _0x547e3a=_0x5b77c6;_0x3921e7[_0x547e3a(0x1fa)](_0x4fff56,_0x25d28d),_0x3921e7[_0x547e3a(0x1e4)](_0x547e3a(0x1f8),_0x25d28d),_0x3921e7[_0x547e3a(0x1e4)](_0x547e3a(0x1e8),_0x25d28d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43ed(_0x45b113,_0x530cee){var _0x34704d=_0x3470();return _0x43ed=function(_0x43ed19,_0x101628){_0x43ed19=_0x43ed19-0xd2;var _0x4af7d8=_0x34704d[_0x43ed19];return _0x4af7d8;},_0x43ed(_0x45b113,_0x530cee);}var _0x204287=_0x43ed;(function(_0x589363,_0x3d9935){var _0x592bc0=_0x43ed,_0x5ba6ee=_0x589363();while(!![]){try{var _0x390ebf=-parseInt(_0x592bc0(0xd8))/0x1*(parseInt(_0x592bc0(0xd2))/0x2)+parseInt(_0x592bc0(0xd7))/0x3*(-parseInt(_0x592bc0(0xdd))/0x4)+-parseInt(_0x592bc0(0xdb))/0x5+parseInt(_0x592bc0(0xd3))/0x6+-parseInt(_0x592bc0(0xdc))/0x7+parseInt(_0x592bc0(0xda))/0x8*(parseInt(_0x592bc0(0xe0))/0x9)+parseInt(_0x592bc0(0xd4))/0xa;if(_0x390ebf===_0x3d9935)break;else _0x5ba6ee['push'](_0x5ba6ee['shift']());}catch(_0x41fdb0){_0x5ba6ee['push'](_0x5ba6ee['shift']());}}}(_0x3470,0x66ccd));import{Plugin as _0x5180ec}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xe3b11}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4d6339}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5180ec{static get[_0x204287(0xd6)](){var _0x14aedb=_0x204287;return _0x14aedb(0xde);}static get[_0x204287(0xdf)](){return[_0xe3b11,_0x4d6339];}static get[_0x204287(0xd9)](){return!0x0;}static get[_0x204287(0xd5)](){return!0x0;}}function _0x3470(){var _0x1aaf6b=['28341KUoitS','11JuFTgH','isOfficialPlugin','808HpYQeC','997700tfGpDY','3126095sGWzLh','92wDzhNM','UploadcareImageEdit','requires','40095SvNZDq','89048zvAGas','673356WZvIyi','12120580YxzbMi','isPremiumPlugin','pluginName'];_0x3470=function(){return _0x1aaf6b;};return _0x3470();}
23
+ var _0x19d777=_0x1c0f;(function(_0x2971ee,_0x138864){var _0x2d887d=_0x1c0f,_0x51cc0d=_0x2971ee();while(!![]){try{var _0x51b44f=parseInt(_0x2d887d(0x104))/0x1+-parseInt(_0x2d887d(0x10b))/0x2+-parseInt(_0x2d887d(0x10e))/0x3*(-parseInt(_0x2d887d(0x107))/0x4)+-parseInt(_0x2d887d(0x105))/0x5*(parseInt(_0x2d887d(0x109))/0x6)+-parseInt(_0x2d887d(0x106))/0x7+parseInt(_0x2d887d(0x112))/0x8*(-parseInt(_0x2d887d(0x113))/0x9)+-parseInt(_0x2d887d(0x10d))/0xa*(-parseInt(_0x2d887d(0x10c))/0xb);if(_0x51b44f===_0x138864)break;else _0x51cc0d['push'](_0x51cc0d['shift']());}catch(_0x4235b2){_0x51cc0d['push'](_0x51cc0d['shift']());}}}(_0x3034,0x37587));import{Plugin as _0x1f5ff0}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xdc7197}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x1c0f(_0x2e55b7,_0x2e46bb){var _0x30343a=_0x3034();return _0x1c0f=function(_0x1c0f70,_0x5790bc){_0x1c0f70=_0x1c0f70-0x104;var _0x3390b7=_0x30343a[_0x1c0f70];return _0x3390b7;},_0x1c0f(_0x2e55b7,_0x2e46bb);}function _0x3034(){var _0x1777fc=['348879ZGXIsy','requires','isPremiumPlugin','pluginName','184oagaTL','97533vdmZKt','66147JgSCbK','1110305cODnSX','2407167qVqJOY','4rbklRw','UploadcareImageEdit','12fJvqxw','isOfficialPlugin','668472gQlReW','576785BiMknL','270UzMfDI'];_0x3034=function(){return _0x1777fc;};return _0x3034();}import{UploadcareImageEditUI as _0x58037e}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x1f5ff0{static get[_0x19d777(0x111)](){var _0x381021=_0x19d777;return _0x381021(0x108);}static get[_0x19d777(0x10f)](){return[_0xdc7197,_0x58037e];}static get[_0x19d777(0x10a)](){return!0x0;}static get[_0x19d777(0x110)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d8667=_0x4ac8;(function(_0x5edc99,_0x157cc5){const _0x4c0ba7=_0x4ac8,_0x2b1052=_0x5edc99();while(!![]){try{const _0x321b54=parseInt(_0x4c0ba7(0x84))/0x1+-parseInt(_0x4c0ba7(0xa2))/0x2+parseInt(_0x4c0ba7(0x93))/0x3*(parseInt(_0x4c0ba7(0xbe))/0x4)+-parseInt(_0x4c0ba7(0xcd))/0x5+-parseInt(_0x4c0ba7(0xc1))/0x6*(-parseInt(_0x4c0ba7(0xab))/0x7)+parseInt(_0x4c0ba7(0xa4))/0x8*(-parseInt(_0x4c0ba7(0x92))/0x9)+parseInt(_0x4c0ba7(0x88))/0xa*(-parseInt(_0x4c0ba7(0xc8))/0xb);if(_0x321b54===_0x157cc5)break;else _0x2b1052['push'](_0x2b1052['shift']());}catch(_0x7b4eaa){_0x2b1052['push'](_0x2b1052['shift']());}}}(_0xd39e,0xc5bcf));import{Plugin as _0x326976}from'ckeditor5/src/core.js';import{IconDropbox as _0x2a2780,IconFacebook as _0x52f626,IconGoogleDrive as _0x34053e,IconGooglePhotos as _0x334f88,IconUploadcareImageUpload as _0x44ca75,IconUploadcareLink as _0x4a7497,IconOneDrive as _0x41f9b3}from'ckeditor5/src/icons.js';function _0xd39e(){const _0x4d7e3b=['url','GDrive','trialLimit','_createToolbarButton','869emEsPL','isEnabled','invalid','_normalizeConfigSourceList','push','1373175JRcSoz','type','_showLicenseError','isImageSelected','URL','has','Replace','featureNotAllowed','reduce','309202bbPSXb','registerIntegration','_createDropdownButtons','GPhotos','98390aebMrw','label','locale','Local','OneDrive','evaluationLimit','Dropbox','assetManager','destroy','forEach','3996ZwdjdS','6RgqMSQ','_createButton','shortText','uploadcare.uploader.sourceList','Facebook','tooltip','execute','text','licenseKey','_getIntegrationKey','afterInit','domainLimit','uploadcareLicenseKeyTrialLimit','withText','uploadcareLicenseKeyInvalid','346578ILLwKa','uploadcareLicenseKeyUsageLimit','2984vJWHqz','_licenseKeyCheckInterval','UploadcareUI','uploadcareLicenseKeyNotAllowed','expired','usageLimit','uploadcareLicenseKeyValid','28oUeAoC','isPremiumPlugin','upload','pluginName','entries','plugins','editor','config','get','isOfficialPlugin','commands','init','_createMenuBarButtons','icon','Uploadcare','uploadcare','bind','uploadcareLicenseKeyDomainLimit','Insert','2687924RsNqHV','ImageInsertUI','map','821382BunkYr','uploadcareLicenseKeyExpired','uploadcareLicenseKeyEvaluationLimit'];_0xd39e=function(){return _0x4d7e3b;};return _0xd39e();}import{ButtonView as _0x12d755,MenuBarMenuListItemButtonView as _0x3d872d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x10343d}from'./uploadcareconfig.js';import{getTranslation as _0x4fc504}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x4ac8(_0x311683,_0x292b64){const _0xd39ee7=_0xd39e();return _0x4ac8=function(_0x4ac861,_0x21177b){_0x4ac861=_0x4ac861-0x7c;let _0x43c159=_0xd39ee7[_0x4ac861];return _0x43c159;},_0x4ac8(_0x311683,_0x292b64);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x326976{[_0x3d8667(0x9b)];[_0x3d8667(0xa5)];static get[_0x3d8667(0xae)](){const _0x1b6b2c=_0x3d8667;return _0x1b6b2c(0xa6);}static get[_0x3d8667(0xb4)](){return!0x0;}static get[_0x3d8667(0xac)](){return!0x0;}[_0x3d8667(0xb6)](){const _0x43320b=_0x3d8667;this[_0x43320b(0x9b)]=this[_0x43320b(0xb1)][_0x43320b(0xb2)][_0x43320b(0xb3)](_0x43320b(0x9b));const _0x42d855=this[_0x43320b(0xb1)];this[_0x43320b(0xa5)]=setInterval(()=>{const _0x3be69c=_0x43320b;let _0x42995e;for(const _0x91e3e4 in _0x42d855){const _0x39f488=_0x91e3e4,_0x358fbe=_0x42d855[_0x39f488];if(_0x3be69c(0xaa)==_0x358fbe||_0x3be69c(0xa1)==_0x358fbe||_0x3be69c(0xc2)==_0x358fbe||_0x3be69c(0xbc)==_0x358fbe||_0x3be69c(0xa7)==_0x358fbe||_0x3be69c(0xc3)==_0x358fbe||_0x3be69c(0x9f)==_0x358fbe||_0x3be69c(0xa3)==_0x358fbe){delete _0x42d855[_0x39f488],_0x42995e=_0x358fbe,clearInterval(this[_0x3be69c(0xa5)]),this[_0x3be69c(0xa5)]=void 0x0;break;}}_0x3be69c(0xa1)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0xca)),_0x3be69c(0xc2)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0xa8)),_0x3be69c(0xbc)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0x9e)),_0x3be69c(0xa7)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0x82),_0x3be69c(0xb9)),_0x3be69c(0xc3)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0x8d)),_0x3be69c(0x9f)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0xc6)),_0x3be69c(0xa3)==_0x42995e&&_0x42d855[_0x3be69c(0x7d)](_0x3be69c(0xa9));},0x3e8);}[_0x3d8667(0x9d)](){const _0x7fdd48=_0x3d8667,{editor:_0xb69a8f}=this,_0x2fd450=_0xb69a8f[_0x7fdd48(0xb5)][_0x7fdd48(0xb3)](_0x7fdd48(0xba));if(!_0x2fd450)return;const _0x371644=this[_0x7fdd48(0xcb)](_0xb69a8f[_0x7fdd48(0xb2)][_0x7fdd48(0xb3)](_0x7fdd48(0x96)))[_0x7fdd48(0x83)]((_0x3f5ded,_0x5f57de)=>{const _0x510071=_0x7fdd48,_0x1dd4dd=this[_0x510071(0x9c)](_0x5f57de[_0x510071(0x7c)]);return _0x3f5ded[_0x1dd4dd]||(_0x3f5ded[_0x1dd4dd]=[]),_0x3f5ded[_0x1dd4dd][_0x510071(0xcc)](_0x5f57de),_0x3f5ded;},{});_0xb69a8f[_0x7fdd48(0xb0)][_0x7fdd48(0x80)](_0x7fdd48(0xbf))&&_0xb69a8f[_0x7fdd48(0xb5)][_0x7fdd48(0xb3)](_0x7fdd48(0xba))&&Object[_0x7fdd48(0xaf)](_0x371644)[_0x7fdd48(0x91)](([_0x333f1d,_0x2be522])=>{const _0x83455=_0x7fdd48;_0xb69a8f[_0x83455(0xb0)][_0x83455(0xb3)](_0x83455(0xbf))[_0x83455(0x85)]({'name':_0x333f1d,'observable':()=>_0x2fd450,'buttonViewCreator':()=>this[_0x83455(0xc7)](_0x2be522),'formViewCreator':()=>this[_0x83455(0x86)](_0x2be522),'menuBarButtonViewCreator':()=>this[_0x83455(0xb7)](_0x2be522),'override':_0x83455(0x8f)!==_0x333f1d});});}[_0x3d8667(0x90)](){const _0x5c1ee5=_0x3d8667;super[_0x5c1ee5(0x90)](),this[_0x5c1ee5(0xa5)]&&clearInterval(this[_0x5c1ee5(0xa5)]);}[_0x3d8667(0xcb)](_0x27d6cd){const _0x1ea976=_0x3d8667,{locale:_0x73445e}=this[_0x1ea976(0xb1)];return _0x27d6cd[_0x1ea976(0xc0)](_0x5e0c26=>{const _0x222f4d=_0x1ea976,_0x5ab7b1=_0x4fc504(_0x73445e,_0x5e0c26,_0x222f4d(0xbd));switch(_0x5e0c26){case _0x10343d[_0x222f4d(0x8b)]:return{'icon':_0x44ca75,'type':_0x10343d[_0x222f4d(0x8b)],..._0x5ab7b1};case _0x10343d[_0x222f4d(0x7f)]:return{'icon':_0x4a7497,'type':_0x10343d[_0x222f4d(0x7f)],..._0x5ab7b1};case _0x10343d[_0x222f4d(0x8e)]:return{'icon':_0x2a2780,'type':_0x10343d[_0x222f4d(0x8e)],..._0x5ab7b1};case _0x10343d[_0x222f4d(0x97)]:return{'icon':_0x52f626,'type':_0x10343d[_0x222f4d(0x97)],..._0x5ab7b1};case _0x10343d[_0x222f4d(0xc5)]:return{'icon':_0x34053e,'type':_0x10343d[_0x222f4d(0xc5)],..._0x5ab7b1};case _0x10343d[_0x222f4d(0x87)]:return{'icon':_0x334f88,'type':_0x10343d[_0x222f4d(0x87)],..._0x5ab7b1};case _0x10343d[_0x222f4d(0x8c)]:return{'icon':_0x41f9b3,'type':_0x10343d[_0x222f4d(0x8c)],..._0x5ab7b1};}});}[_0x3d8667(0x9c)](_0x50dd7d){const _0x102cf4=_0x3d8667;switch(_0x50dd7d){case _0x10343d[_0x102cf4(0x8b)]:return _0x102cf4(0xad);case _0x10343d[_0x102cf4(0x7f)]:return _0x102cf4(0xc4);default:return _0x102cf4(0x8f);}}[_0x3d8667(0x94)](_0x51ec42,_0x264ecb){const _0x196a23=_0x3d8667,_0x120919=this[_0x196a23(0xb1)],_0x465309=new _0x51ec42(_0x120919[_0x196a23(0x8a)]),_0x5b2d88=_0x120919[_0x196a23(0xb5)][_0x196a23(0xb3)](_0x196a23(0xba));return _0x465309[_0x196a23(0xbb)](_0x196a23(0xc9))['to'](_0x5b2d88),_0x465309['on'](_0x196a23(0x99),()=>{const _0x40f8d9=_0x196a23;_0x5b2d88[_0x40f8d9(0x99)](_0x264ecb);}),_0x465309;}[_0x3d8667(0xc7)](_0x411392){const _0x2a1c99=_0x3d8667,{locale:_0x1f737a}=this[_0x2a1c99(0xb1)],_0x40de72=this[_0x2a1c99(0xb1)][_0x2a1c99(0xb0)][_0x2a1c99(0xb3)](_0x2a1c99(0xbf)),_0x481247=_0x411392[0x0],_0x27784e=this[_0x2a1c99(0x94)](_0x12d755,_0x481247[_0x2a1c99(0x7c)]);return _0x27784e[_0x2a1c99(0xb8)]=_0x481247[_0x2a1c99(0xb8)],_0x27784e[_0x2a1c99(0xbb)](_0x2a1c99(0x89))['to'](_0x40de72,_0x2a1c99(0x7e),_0x4dae02=>_0x4fc504(_0x1f737a,_0x481247[_0x2a1c99(0x7c)],_0x4dae02?_0x2a1c99(0x81):_0x2a1c99(0xbd))[_0x2a1c99(0x9a)]),_0x27784e[_0x2a1c99(0x98)]=!0x0,_0x27784e;}[_0x3d8667(0x86)](_0x367dda){const _0x4a9ee7=_0x3d8667,{locale:_0x1c4b18}=this[_0x4a9ee7(0xb1)],_0x26ec00=this[_0x4a9ee7(0xb1)][_0x4a9ee7(0xb0)][_0x4a9ee7(0xb3)](_0x4a9ee7(0xbf));return _0x367dda[_0x4a9ee7(0xc0)](_0x53a4e2=>{const _0x4aa88a=_0x4a9ee7,_0xca4613=this[_0x4aa88a(0x94)](_0x12d755,_0x53a4e2[_0x4aa88a(0x7c)]);return _0xca4613[_0x4aa88a(0xa0)]=!0x0,_0xca4613[_0x4aa88a(0xb8)]=_0x53a4e2[_0x4aa88a(0xb8)],_0xca4613[_0x4aa88a(0xbb)](_0x4aa88a(0x89))['to'](_0x26ec00,_0x4aa88a(0x7e),_0x2cf249=>_0x4fc504(_0x1c4b18,_0x53a4e2[_0x4aa88a(0x7c)],_0x2cf249?_0x4aa88a(0x81):_0x4aa88a(0xbd))[_0x4aa88a(0x9a)]),_0xca4613;});}[_0x3d8667(0xb7)](_0x3efcf3){const _0xde8d33=_0x3d8667;return _0x3efcf3[_0xde8d33(0xc0)](_0xb82fd1=>{const _0x503911=_0xde8d33,_0x52638a=this[_0x503911(0x94)](_0x3d872d,_0xb82fd1[_0x503911(0x7c)]);return _0x52638a[_0x503911(0xb8)]=_0xb82fd1[_0x503911(0xb8)],_0x52638a[_0x503911(0x89)]=_0xb82fd1[_0x503911(0x95)],_0x52638a;});}}
23
+ const _0x49eacc=_0x4c1a;function _0x4a78(){const _0x44bb05=['_createDropdownButtons','afterInit','expired','map','uploadcareLicenseKeyInvalid','_createMenuBarButtons','UploadcareUI','2606752sipzSV','has','658430hdCcyO','assetManager','get','uploadcareLicenseKeyEvaluationLimit','OneDrive','URL','isOfficialPlugin','tooltip','entries','shortText','225QjBvsl','ImageInsertUI','473689LCesiD','type','uploadcareLicenseKeyNotAllowed','_licenseKeyCheckInterval','Dropbox','init','35txAAGk','Local','uploadcareLicenseKeyExpired','16NRFuwT','licenseKey','label','editor','_showLicenseError','plugins','_getIntegrationKey','execute','uploadcareLicenseKeyUsageLimit','GPhotos','reduce','uploadcareLicenseKeyDomainLimit','domainLimit','forEach','isImageSelected','pluginName','push','GDrive','usageLimit','_createButton','isPremiumPlugin','uploadcare','locale','_normalizeConfigSourceList','Insert','evaluationLimit','Uploadcare','upload','bind','132402XsRiMy','uploadcareLicenseKeyTrialLimit','3236821Yvwwjc','isEnabled','trialLimit','Facebook','uploadcareLicenseKeyValid','commands','featureNotAllowed','registerIntegration','destroy','719778AqdohE','281746JBmjMA','invalid','_createToolbarButton','text','withText','config','icon','Replace','uploadcare.uploader.sourceList','url'];_0x4a78=function(){return _0x44bb05;};return _0x4a78();}(function(_0x35fb1b,_0xd843b6){const _0x1649cf=_0x4c1a,_0x14bd5b=_0x35fb1b();while(!![]){try{const _0x365d76=parseInt(_0x1649cf(0xdb))/0x1+-parseInt(_0x1649cf(0xbc))/0x2+parseInt(_0x1649cf(0xbb))/0x3+-parseInt(_0x1649cf(0xcd))/0x4+parseInt(_0x1649cf(0xe1))/0x5*(-parseInt(_0x1649cf(0xb0))/0x6)+-parseInt(_0x1649cf(0xb2))/0x7*(parseInt(_0x1649cf(0xe4))/0x8)+parseInt(_0x1649cf(0xd9))/0x9*(parseInt(_0x1649cf(0xcf))/0xa);if(_0x365d76===_0xd843b6)break;else _0x14bd5b['push'](_0x14bd5b['shift']());}catch(_0x2045a5){_0x14bd5b['push'](_0x14bd5b['shift']());}}}(_0x4a78,0x771ae));import{Plugin as _0x35711a}from'ckeditor5/src/core.js';function _0x4c1a(_0x248178,_0x2decf2){const _0x4a7800=_0x4a78();return _0x4c1a=function(_0x4c1ac2,_0x3b7d51){_0x4c1ac2=_0x4c1ac2-0x96;let _0x168635=_0x4a7800[_0x4c1ac2];return _0x168635;},_0x4c1a(_0x248178,_0x2decf2);}import{IconDropbox as _0x340411,IconFacebook as _0x1cf1ea,IconGoogleDrive as _0x8b7c97,IconGooglePhotos as _0xfa9032,IconUploadcareImageUpload as _0xbfda09,IconUploadcareLink as _0x6f5932,IconOneDrive as _0x30d37b}from'ckeditor5/src/icons.js';import{ButtonView as _0x20fbc6,MenuBarMenuListItemButtonView as _0x3b5c81}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3d523c}from'./uploadcareconfig.js';import{getTranslation as _0xfe7fa6}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x35711a{[_0x49eacc(0xe5)];[_0x49eacc(0xde)];static get[_0x49eacc(0xa2)](){const _0x2919f5=_0x49eacc;return _0x2919f5(0xcc);}static get[_0x49eacc(0xd5)](){return!0x0;}static get[_0x49eacc(0xa7)](){return!0x0;}[_0x49eacc(0xe0)](){const _0x490492=_0x49eacc;this[_0x490492(0xe5)]=this[_0x490492(0x96)][_0x490492(0xc1)][_0x490492(0xd1)](_0x490492(0xe5));const _0x5b5eb6=this[_0x490492(0x96)];this[_0x490492(0xde)]=setInterval(()=>{const _0x2e7a58=_0x490492;let _0x39de46;for(const _0x5c76bd in _0x5b5eb6){const _0x5d2dd4=_0x5c76bd,_0x318520=_0x5b5eb6[_0x5d2dd4];if(_0x2e7a58(0xb6)==_0x318520||_0x2e7a58(0xca)==_0x318520||_0x2e7a58(0xe3)==_0x318520||_0x2e7a58(0x9e)==_0x318520||_0x2e7a58(0xdd)==_0x318520||_0x2e7a58(0xd2)==_0x318520||_0x2e7a58(0xb1)==_0x318520||_0x2e7a58(0x9b)==_0x318520){delete _0x5b5eb6[_0x5d2dd4],_0x39de46=_0x318520,clearInterval(this[_0x2e7a58(0xde)]),this[_0x2e7a58(0xde)]=void 0x0;break;}}_0x2e7a58(0xca)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xbd)),_0x2e7a58(0xe3)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xc8)),_0x2e7a58(0x9e)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0x9f)),_0x2e7a58(0xdd)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xb8),_0x2e7a58(0xad)),_0x2e7a58(0xd2)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xac)),_0x2e7a58(0xb1)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xb4)),_0x2e7a58(0x9b)==_0x39de46&&_0x5b5eb6[_0x2e7a58(0x97)](_0x2e7a58(0xa5));},0x3e8);}[_0x49eacc(0xc7)](){const _0x3f897e=_0x49eacc,{editor:_0xbf0890}=this,_0x19a445=_0xbf0890[_0x3f897e(0xb7)][_0x3f897e(0xd1)](_0x3f897e(0xa8));if(!_0x19a445)return;const _0x5bd947=this[_0x3f897e(0xaa)](_0xbf0890[_0x3f897e(0xc1)][_0x3f897e(0xd1)](_0x3f897e(0xc4)))[_0x3f897e(0x9d)]((_0x5b27ad,_0xcfb168)=>{const _0x57dac4=_0x3f897e,_0x282da0=this[_0x57dac4(0x99)](_0xcfb168[_0x57dac4(0xdc)]);return _0x5b27ad[_0x282da0]||(_0x5b27ad[_0x282da0]=[]),_0x5b27ad[_0x282da0][_0x57dac4(0xa3)](_0xcfb168),_0x5b27ad;},{});_0xbf0890[_0x3f897e(0x98)][_0x3f897e(0xce)](_0x3f897e(0xda))&&_0xbf0890[_0x3f897e(0xb7)][_0x3f897e(0xd1)](_0x3f897e(0xa8))&&Object[_0x3f897e(0xd7)](_0x5bd947)[_0x3f897e(0xa0)](([_0x2e4e19,_0xecf805])=>{const _0x2c4e95=_0x3f897e;_0xbf0890[_0x2c4e95(0x98)][_0x2c4e95(0xd1)](_0x2c4e95(0xda))[_0x2c4e95(0xb9)]({'name':_0x2e4e19,'observable':()=>_0x19a445,'buttonViewCreator':()=>this[_0x2c4e95(0xbe)](_0xecf805),'formViewCreator':()=>this[_0x2c4e95(0xc6)](_0xecf805),'menuBarButtonViewCreator':()=>this[_0x2c4e95(0xcb)](_0xecf805),'override':_0x2c4e95(0xd0)!==_0x2e4e19});});}[_0x49eacc(0xba)](){const _0x224f90=_0x49eacc;super[_0x224f90(0xba)](),this[_0x224f90(0xde)]&&clearInterval(this[_0x224f90(0xde)]);}[_0x49eacc(0xaa)](_0x8ec2ed){const _0x5b4e62=_0x49eacc,{locale:_0x3aa23f}=this[_0x5b4e62(0x96)];return _0x8ec2ed[_0x5b4e62(0xc9)](_0x18767b=>{const _0x23c328=_0x5b4e62,_0xb35db=_0xfe7fa6(_0x3aa23f,_0x18767b,_0x23c328(0xab));switch(_0x18767b){case _0x3d523c[_0x23c328(0xe2)]:return{'icon':_0xbfda09,'type':_0x3d523c[_0x23c328(0xe2)],..._0xb35db};case _0x3d523c[_0x23c328(0xd4)]:return{'icon':_0x6f5932,'type':_0x3d523c[_0x23c328(0xd4)],..._0xb35db};case _0x3d523c[_0x23c328(0xdf)]:return{'icon':_0x340411,'type':_0x3d523c[_0x23c328(0xdf)],..._0xb35db};case _0x3d523c[_0x23c328(0xb5)]:return{'icon':_0x1cf1ea,'type':_0x3d523c[_0x23c328(0xb5)],..._0xb35db};case _0x3d523c[_0x23c328(0xa4)]:return{'icon':_0x8b7c97,'type':_0x3d523c[_0x23c328(0xa4)],..._0xb35db};case _0x3d523c[_0x23c328(0x9c)]:return{'icon':_0xfa9032,'type':_0x3d523c[_0x23c328(0x9c)],..._0xb35db};case _0x3d523c[_0x23c328(0xd3)]:return{'icon':_0x30d37b,'type':_0x3d523c[_0x23c328(0xd3)],..._0xb35db};}});}[_0x49eacc(0x99)](_0x28dc0f){const _0x50e9bf=_0x49eacc;switch(_0x28dc0f){case _0x3d523c[_0x50e9bf(0xe2)]:return _0x50e9bf(0xae);case _0x3d523c[_0x50e9bf(0xd4)]:return _0x50e9bf(0xc5);default:return _0x50e9bf(0xd0);}}[_0x49eacc(0xa6)](_0x4e9ebe,_0x5b2f64){const _0xcc319f=_0x49eacc,_0x273437=this[_0xcc319f(0x96)],_0x426475=new _0x4e9ebe(_0x273437[_0xcc319f(0xa9)]),_0x361cd5=_0x273437[_0xcc319f(0xb7)][_0xcc319f(0xd1)](_0xcc319f(0xa8));return _0x426475[_0xcc319f(0xaf)](_0xcc319f(0xb3))['to'](_0x361cd5),_0x426475['on'](_0xcc319f(0x9a),()=>{const _0x1b4f2a=_0xcc319f;_0x361cd5[_0x1b4f2a(0x9a)](_0x5b2f64);}),_0x426475;}[_0x49eacc(0xbe)](_0x3cdb9a){const _0x14b22f=_0x49eacc,{locale:_0x10fc75}=this[_0x14b22f(0x96)],_0x3a9398=this[_0x14b22f(0x96)][_0x14b22f(0x98)][_0x14b22f(0xd1)](_0x14b22f(0xda)),_0x4de967=_0x3cdb9a[0x0],_0xb69e25=this[_0x14b22f(0xa6)](_0x20fbc6,_0x4de967[_0x14b22f(0xdc)]);return _0xb69e25[_0x14b22f(0xc2)]=_0x4de967[_0x14b22f(0xc2)],_0xb69e25[_0x14b22f(0xaf)](_0x14b22f(0xe6))['to'](_0x3a9398,_0x14b22f(0xa1),_0x25768f=>_0xfe7fa6(_0x10fc75,_0x4de967[_0x14b22f(0xdc)],_0x25768f?_0x14b22f(0xc3):_0x14b22f(0xab))[_0x14b22f(0xbf)]),_0xb69e25[_0x14b22f(0xd6)]=!0x0,_0xb69e25;}[_0x49eacc(0xc6)](_0x5ea4f4){const _0x626239=_0x49eacc,{locale:_0x7c09b7}=this[_0x626239(0x96)],_0x58aeb5=this[_0x626239(0x96)][_0x626239(0x98)][_0x626239(0xd1)](_0x626239(0xda));return _0x5ea4f4[_0x626239(0xc9)](_0x5f27dd=>{const _0xb9776=_0x626239,_0x3a2f43=this[_0xb9776(0xa6)](_0x20fbc6,_0x5f27dd[_0xb9776(0xdc)]);return _0x3a2f43[_0xb9776(0xc0)]=!0x0,_0x3a2f43[_0xb9776(0xc2)]=_0x5f27dd[_0xb9776(0xc2)],_0x3a2f43[_0xb9776(0xaf)](_0xb9776(0xe6))['to'](_0x58aeb5,_0xb9776(0xa1),_0x4f55fd=>_0xfe7fa6(_0x7c09b7,_0x5f27dd[_0xb9776(0xdc)],_0x4f55fd?_0xb9776(0xc3):_0xb9776(0xab))[_0xb9776(0xbf)]),_0x3a2f43;});}[_0x49eacc(0xcb)](_0x2c53df){const _0x28c87d=_0x49eacc;return _0x2c53df[_0x28c87d(0xc9)](_0x2dcffa=>{const _0x756e20=_0x28c87d,_0x2aa4f2=this[_0x756e20(0xa6)](_0x3b5c81,_0x2dcffa[_0x756e20(0xdc)]);return _0x2aa4f2[_0x756e20(0xc2)]=_0x2dcffa[_0x756e20(0xc2)],_0x2aa4f2[_0x756e20(0xe6)]=_0x2dcffa[_0x756e20(0xd8)],_0x2aa4f2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xc5d4fd}from'ckeditor5/src/core.js';import{FileRepository as _0x44112c}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xa44965}from'./uploadcareediting.js';import{UploadUtils as _0xe677ed}from'./utils/uploadutils.js';import{getImageUrls as _0x47f27b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xc5d4fd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x44112c,_0xa44965];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x85f8f8=this['editor'];if(!!!_0x85f8f8['config']['get']('uploadcare'))return;_0x85f8f8['plugins']['get'](_0x44112c)['createUploadAdapter']=_0x53d3bc=>new k(_0x53d3bc,_0x85f8f8),_0x85f8f8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x577d19,{imageElement:_0x1a7128,data:_0x4babc0})=>{_0x85f8f8['model']['change'](_0x1f17bc=>{_0x1f17bc['setAttribute']('uploadcareImageId',_0x4babc0['uploadcareImageId'],_0x1a7128);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x15d0d4,_0x1b39c2){this['loader']=_0x15d0d4,this['editor']=_0x1b39c2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x513b1a=await this['loader']['file'];return _0xe677ed['upload']({'file':_0x513b1a,'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':_0x1cffbf=>{_0x1cffbf&&_0x1cffbf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1cffbf['value']);}})['then'](async _0xe622a3=>{const {imageFallbackUrl:_0x138058,imageSources:_0x3a4c5e}=_0x47f27b(_0xe622a3['cdnUrl'],_0xe622a3['imageInfo']['width']);return{'uploadcareImageId':_0xe622a3['uuid'],'default':_0x138058,'sources':_0x3a4c5e};})['catch'](()=>{const _0x54461d=t('Cannot\x20upload\x20file:')+('\x20'+_0x513b1a['name']+'.');return Promise['reject'](_0x54461d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x99f922}from'ckeditor5/src/core.js';import{FileRepository as _0x71bf90}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x46124f}from'./uploadcareediting.js';import{UploadUtils as _0x213ba6}from'./utils/uploadutils.js';import{getImageUrls as _0x59eb2b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x99f922{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x71bf90,_0x46124f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xddafa8=this['editor'];if(!!!_0xddafa8['config']['get']('uploadcare'))return;_0xddafa8['plugins']['get'](_0x71bf90)['createUploadAdapter']=_0x3aa8bd=>new k(_0x3aa8bd,_0xddafa8),_0xddafa8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x40f07c,{imageElement:_0x40d1be,data:_0x3af0c4})=>{_0xddafa8['model']['change'](_0xaa138b=>{_0xaa138b['setAttribute']('uploadcareImageId',_0x3af0c4['uploadcareImageId'],_0x40d1be);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x951030,_0x7f77a){this['loader']=_0x951030,this['editor']=_0x7f77a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2b2737=await this['loader']['file'];return _0x213ba6['upload']({'file':_0x2b2737,'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':_0xec2121=>{_0xec2121&&_0xec2121['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xec2121['value']);}})['then'](async _0x5de3b1=>{const {imageFallbackUrl:_0x123235,imageSources:_0x3e8ff7}=_0x59eb2b(_0x5de3b1['cdnUrl'],_0x5de3b1['imageInfo']['width']);return{'uploadcareImageId':_0x5de3b1['uuid'],'default':_0x123235,'sources':_0x3e8ff7};})['catch'](()=>{const _0x229669=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b2737['name']+'.');return Promise['reject'](_0x229669);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x30e7d9}from'../uploadcareconfig.js';export function getTranslation(_0x57e0d7,_0x3eedce,_0x2899e2){const t=_0x57e0d7['t'],_0x4c5e46=_0x57e0d7['t'];switch(_0x3eedce){case _0x30e7d9['Local']:return{'text':_0x4c5e46('Insert'===_0x2899e2?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4c5e46('From\x20computer')};case _0x30e7d9['URL']:return{'text':'Insert'===_0x2899e2?_0x4c5e46('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4c5e46('Via\x20URL')};case _0x30e7d9['Dropbox']:return{'text':t('Insert'===_0x2899e2?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x30e7d9['Facebook']:return{'text':t('Insert'===_0x2899e2?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x30e7d9['GDrive']:return{'text':t('Insert'===_0x2899e2?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x30e7d9['GPhotos']:return{'text':t('Insert'===_0x2899e2?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x30e7d9['OneDrive']:return{'text':t('Insert'===_0x2899e2?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3eedce;}}
23
+ import{UploadcareSource as _0x24b299}from'../uploadcareconfig.js';export function getTranslation(_0xd11ab4,_0x24d8c6,_0xf2fb49){const t=_0xd11ab4['t'],_0xa5aa98=_0xd11ab4['t'];switch(_0x24d8c6){case _0x24b299['Local']:return{'text':_0xa5aa98('Insert'===_0xf2fb49?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xa5aa98('From\x20computer')};case _0x24b299['URL']:return{'text':'Insert'===_0xf2fb49?_0xa5aa98('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xa5aa98('Via\x20URL')};case _0x24b299['Dropbox']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x24b299['Facebook']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x24b299['GDrive']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x24b299['GPhotos']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x24b299['OneDrive']:return{'text':t('Insert'===_0xf2fb49?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x24d8c6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x178d(){var _0xd65bdb=['getFocusableElement','6dPIaeJ','focusTracker','1740165RRrJrl','div','11037573KQrriz','fire','189064ucZvaI','createCollection','true','focusCycler','4pLCTum','4375283TYzpbE','122272amZWWl','532620iUCYGH','bindTemplate','forwardCycle','301eoweVd','7513585vOuZky','30cukBaN'];_0x178d=function(){return _0xd65bdb;};return _0x178d();}var _0xddcdd5=_0x1ccc;(function(_0x21b265,_0x2adedf){var _0x30b674=_0x1ccc,_0x346bae=_0x21b265();while(!![]){try{var _0x54feb8=-parseInt(_0x30b674(0x18c))/0x1+parseInt(_0x30b674(0x189))/0x2*(-parseInt(_0x30b674(0x195))/0x3)+-parseInt(_0x30b674(0x18b))/0x4+parseInt(_0x30b674(0x190))/0x5*(parseInt(_0x30b674(0x193))/0x6)+-parseInt(_0x30b674(0x18f))/0x7*(-parseInt(_0x30b674(0x185))/0x8)+-parseInt(_0x30b674(0x183))/0x9+parseInt(_0x30b674(0x191))/0xa*(parseInt(_0x30b674(0x18a))/0xb);if(_0x54feb8===_0x2adedf)break;else _0x346bae['push'](_0x346bae['shift']());}catch(_0x4bf96a){_0x346bae['push'](_0x346bae['shift']());}}}(_0x178d,0xba284));import{FocusTracker as _0x402ffb}from'ckeditor5/src/utils.js';function _0x1ccc(_0x1b1091,_0x34f878){var _0x178da8=_0x178d();return _0x1ccc=function(_0x1ccc47,_0x3451d2){_0x1ccc47=_0x1ccc47-0x183;var _0x13904c=_0x178da8[_0x1ccc47];return _0x13904c;},_0x1ccc(_0x1b1091,_0x34f878);}import{View as _0x1a3e36,FocusCycler as _0x171522}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1a3e36{[_0xddcdd5(0x194)];[_0xddcdd5(0x188)];constructor(_0x3e0937){var _0x5f5d92=_0xddcdd5;super(_0x3e0937),this[_0x5f5d92(0x194)]=new _0x402ffb(),this[_0x5f5d92(0x188)]=new _0x171522({'focusables':this[_0x5f5d92(0x186)](),'focusTracker':this[_0x5f5d92(0x194)]});}[_0xddcdd5(0x192)](){var _0xdb8ba5=_0xddcdd5;return{'tag':_0xdb8ba5(0x196),'attributes':{'aria-hidden':_0xdb8ba5(0x187),'tabindex':'0'},'on':{'focus':this[_0xdb8ba5(0x18d)]['to'](()=>{var _0x5605f7=_0xdb8ba5;this[_0x5605f7(0x188)][_0x5605f7(0x184)](_0x5605f7(0x18e));})}};}}
23
+ var _0x5f52b1=_0x236a;function _0x236a(_0x24a5d4,_0x233551){var _0x4f3c6d=_0x4f3c();return _0x236a=function(_0x236ae6,_0x13e286){_0x236ae6=_0x236ae6-0x145;var _0x4df3b2=_0x4f3c6d[_0x236ae6];return _0x4df3b2;},_0x236a(_0x24a5d4,_0x233551);}(function(_0x40e8e7,_0x32379b){var _0x585976=_0x236a,_0x1edf06=_0x40e8e7();while(!![]){try{var _0x543a09=parseInt(_0x585976(0x14c))/0x1*(-parseInt(_0x585976(0x14d))/0x2)+parseInt(_0x585976(0x14f))/0x3*(parseInt(_0x585976(0x146))/0x4)+parseInt(_0x585976(0x152))/0x5+parseInt(_0x585976(0x158))/0x6*(parseInt(_0x585976(0x145))/0x7)+parseInt(_0x585976(0x154))/0x8*(-parseInt(_0x585976(0x15a))/0x9)+-parseInt(_0x585976(0x151))/0xa*(parseInt(_0x585976(0x14b))/0xb)+-parseInt(_0x585976(0x157))/0xc*(parseInt(_0x585976(0x155))/0xd);if(_0x543a09===_0x32379b)break;else _0x1edf06['push'](_0x1edf06['shift']());}catch(_0x316d1b){_0x1edf06['push'](_0x1edf06['shift']());}}}(_0x4f3c,0xdd55b));import{FocusTracker as _0x3cd986}from'ckeditor5/src/utils.js';function _0x4f3c(){var _0x2d2323=['6sigMmg','div','162IDeJmk','11403434hAhddl','36508okyFiA','createCollection','getFocusableElement','focusTracker','forwardCycle','187YgClHI','5SlHlRk','617846mZAOVL','fire','318YkimRZ','focusCycler','74810dEiUkP','8599655DQShHD','true','431176HNGVGy','1066umWpjz','bindTemplate','112380ePtOnc'];_0x4f3c=function(){return _0x2d2323;};return _0x4f3c();}import{View as _0x4d6f35,FocusCycler as _0x5549a4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4d6f35{[_0x5f52b1(0x149)];[_0x5f52b1(0x150)];constructor(_0x5bbdcd){var _0x13d8ee=_0x5f52b1;super(_0x5bbdcd),this[_0x13d8ee(0x149)]=new _0x3cd986(),this[_0x13d8ee(0x150)]=new _0x5549a4({'focusables':this[_0x13d8ee(0x147)](),'focusTracker':this[_0x13d8ee(0x149)]});}[_0x5f52b1(0x148)](){var _0x48e00d=_0x5f52b1;return{'tag':_0x48e00d(0x159),'attributes':{'aria-hidden':_0x48e00d(0x153),'tabindex':'0'},'on':{'focus':this[_0x48e00d(0x156)]['to'](()=>{var _0x2ea0aa=_0x48e00d;this[_0x2ea0aa(0x150)][_0x2ea0aa(0x14e)](_0x2ea0aa(0x14a));})}};}}