@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250422.0 → 0.0.0-nightly-20250423.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 _0x328254=_0x2ebf;(function(_0x5f4920,_0x37c495){const _0x2c0c7c=_0x2ebf,_0x224f06=_0x5f4920();while(!![]){try{const _0x486358=-parseInt(_0x2c0c7c(0x177))/0x1*(-parseInt(_0x2c0c7c(0x172))/0x2)+-parseInt(_0x2c0c7c(0x17e))/0x3+-parseInt(_0x2c0c7c(0x167))/0x4*(-parseInt(_0x2c0c7c(0x1a3))/0x5)+-parseInt(_0x2c0c7c(0x182))/0x6+parseInt(_0x2c0c7c(0x181))/0x7*(parseInt(_0x2c0c7c(0x18c))/0x8)+-parseInt(_0x2c0c7c(0x1a2))/0x9*(parseInt(_0x2c0c7c(0x183))/0xa)+parseInt(_0x2c0c7c(0x1ac))/0xb;if(_0x486358===_0x37c495)break;else _0x224f06['push'](_0x224f06['shift']());}catch(_0x2b492e){_0x224f06['push'](_0x224f06['shift']());}}}(_0x2c6f,0x84f34));import{Plugin as _0xfc3de}from'ckeditor5/src/core.js';import{Dialog as _0x3ee0ad}from'ckeditor5/src/ui.js';import{createElement as _0x51d75b,global as _0x35ad4d,uid as _0x365838}from'ckeditor5/src/utils.js';function _0x2c6f(){const _0x54d711=['replaceImageSource','uc-upload-ctx-provider','136wEPZlU','for','_configElement','true','elementToAttribute','7432IkzUKd','uploadcare.pubkey','data-uc-image-id','ctxElement','closeMax','getSelectedElement','pluginName','1500741vFIQkW','\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','map','188867hSIcIX','1775514pgDjzD','2060DVMwzZ','_initImageProcessingIndicator','_ctxElement','fromCharCode','extend','schema','listenTo','cleanupImage','PictureEditing','56wkAmgl','editing','contentLanguage','document','config','attributeToAttribute','input[uploadcare-file-input]','isPremiumPlugin','render','iconHrefResolver','execute','querySelector','conversion','uploadcare.uploader','isRegistered','downcast','_initConfig','uploadcareImageId','locale','appendChild','imageInline','remove','20196fvAJtL','2745ifTZrp','_initConversion','destroy','imageBlock','insertImage','init','afterInit','model','get','3029059dfDGRz','uploadcare','requires','href','commands','UploadcareEditing','_initSchema','add','getAttribute','editor','upcast','uploadcareImageReplace','once','uc-config','view','configElement','6072yFuyzl','removeAttribute','selection','join','_initCtx','body','#uc-icon-arrow-down','isOfficialPlugin','uploader'];_0x2c6f=function(){return _0x54d711;};return _0x2c6f();}import _0x82864c from'./uploadcarecommand.js';import _0x4c2dd1 from'./uploadcareuploadadapter.js';function _0x2ebf(_0x3a8fe0,_0x6556c5){const _0x2c6f74=_0x2c6f();return _0x2ebf=function(_0x2ebff5,_0x2fd22c){_0x2ebff5=_0x2ebff5-0x165;let _0x448cad=_0x2c6f74[_0x2ebff5];return _0x448cad;},_0x2ebf(_0x3a8fe0,_0x6556c5);}import{showImageProcessingIndicator as _0x494ce5}from'./utils/editingutils.js';export default class i extends _0xfc3de{[_0x328254(0x174)]=null;[_0x328254(0x185)]=null;static get[_0x328254(0x17d)](){const _0x28fb46=_0x328254;return _0x28fb46(0x1b1);}static get[_0x328254(0x1ae)](){const _0x4c6156=_0x328254;return[_0x4c6156(0x18b),_0x4c2dd1,_0x3ee0ad];}static get[_0x328254(0x16e)](){return!0x0;}static get[_0x328254(0x193)](){return!0x0;}get[_0x328254(0x166)](){const _0xa9fb96=_0x328254;return this[_0xa9fb96(0x174)];}get[_0x328254(0x17a)](){const _0x6be261=_0x328254;return this[_0x6be261(0x185)];}[_0x328254(0x1a8)](){const _0x451fd2=_0x328254,_0x4ad7f9=this[_0x451fd2(0x1b5)];_0x4ad7f9[_0x451fd2(0x1b0)][_0x451fd2(0x1b3)](_0x451fd2(0x1ad),new _0x82864c(_0x4ad7f9));}[_0x328254(0x1a9)](){const _0x14126e=_0x328254;this[_0x14126e(0x1b2)](),this[_0x14126e(0x1a4)](),this[_0x14126e(0x19c)](),this[_0x14126e(0x16b)](),this[_0x14126e(0x184)](),this[_0x14126e(0x189)](this[_0x14126e(0x1b5)],_0x14126e(0x1a5),()=>{const _0x2f2da4=_0x14126e;this[_0x2f2da4(0x174)]&&(this[_0x2f2da4(0x174)][_0x2f2da4(0x1a1)](),this[_0x2f2da4(0x174)]=null),this[_0x2f2da4(0x185)]&&(this[_0x2f2da4(0x185)][_0x2f2da4(0x1a1)](),this[_0x2f2da4(0x185)]=null);const _0x2b0ef7=_0x35ad4d[_0x2f2da4(0x18f)][_0x2f2da4(0x197)](_0x2f2da4(0x192));_0x2b0ef7&&_0x2b0ef7[_0x2f2da4(0x1a1)]();}),async function(_0x49fc82){const _0x1cdd0d=_0x89a55a([0x33,0x30,0x50,0x59,0x7a,0x6d,0x74,0x67,0x44,0x62,0x73,0x35,0x47,0x6e,0x38,0x43,0x69,0x72,0x6c,0x4c,0x52,0x37,0x70,0x31,0x4e,0x68,0x39,0x4a,0x61,0x55,0x42,0x76,0x41,0x4d,0x63,0x34,0x78,0x49,0x56,0x57,0x64,0x46,0x58,0x32,0x71,0x51,0x4b,0x6f,0x36,0x75,0x6b,0x79,0x48,0x54,0x5a,0x65,0x66,0x53,0x77,0x6a,0x45,0x4f]),_0x398268=0x29f543d8,_0x4194ed=0x29f22618^_0x398268,_0x5dda12=window[_0x89a55a([0x44,0x61,0x74,0x65])][_0x89a55a([0x6e,0x6f,0x77])](),_0x31ad55=_0x49fc82[_0x89a55a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c049b=new window[(_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x458bd9=>{_0x31ad55[_0x89a55a([0x6f,0x6e,0x63,0x65])](_0x89a55a([0x72,0x65,0x61,0x64,0x79]),_0x458bd9);}),_0x5d838c={[_0x89a55a([0x6b,0x74,0x79])]:_0x89a55a([0x45,0x43]),[_0x89a55a([0x75,0x73,0x65])]:_0x89a55a([0x73,0x69,0x67]),[_0x89a55a([0x63,0x72,0x76])]:_0x89a55a([0x50,0x2d,0x32,0x35,0x36]),[_0x89a55a([0x78])]:_0x89a55a([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]),[_0x89a55a([0x79])]:_0x89a55a([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]),[_0x89a55a([0x61,0x6c,0x67])]:_0x89a55a([0x45,0x53,0x32,0x35,0x36])},_0x5b07fc=_0x31ad55[_0x89a55a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x89a55a([0x67,0x65,0x74])](_0x89a55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e21f2(){let _0x55acd6,_0x5dba2b=null,_0x1a04a0=null;try{if(_0x5b07fc==_0x89a55a([0x47,0x50,0x4c]))return _0x89a55a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55acd6=_0x5b2db3(),!_0x55acd6)return _0x89a55a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55acd6[_0x89a55a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a04a0=_0x1c9424(_0x55acd6[_0x89a55a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55acd6[_0x89a55a([0x6a,0x74,0x69])])),await _0x8aa7d4()?_0x3e9ef8()?_0x5bea81()?_0x89a55a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf9b64b()?(_0x55acd6[_0x89a55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x89a55a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5dba2b=_0x435d29(_0x89a55a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55acd6[_0x89a55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x89a55a([0x74,0x72,0x69,0x61,0x6c])&&(_0x5dba2b=_0x435d29(_0x89a55a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d2c31()):_0x89a55a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x89a55a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x89a55a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x9c6c59){return _0x89a55a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bea81(){const _0x304a76=[_0x89a55a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x89a55a([0x74,0x72,0x69,0x61,0x6c])][_0x89a55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55acd6[_0x89a55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5dda12/0x3e8:0xe10*_0x4194ed;return _0x55acd6[_0x89a55a([0x65,0x78,0x70])]<_0x304a76;}function _0x3e9ef8(){const _0x1b387a=_0x55acd6[_0x89a55a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b387a&&(!!_0x1b387a[_0x89a55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x89a55a([0x2a]))||!!_0x1b387a[_0x89a55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x89a55a([0x55,0x50,0x4c,0x43])));}function _0xf9b64b(){const _0x40fbc3=_0x2ebf,_0x24c5d9=_0x55acd6[_0x89a55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24c5d9||0x0==_0x24c5d9[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3319ec}=new URL(window[_0x89a55a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40fbc3(0x1af)]);if(_0x24c5d9[_0x89a55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3319ec))return!0x0;const _0x3d89e=_0x3319ec[_0x89a55a([0x73,0x70,0x6c,0x69,0x74])](_0x89a55a([0x2e]));return _0x24c5d9[_0x89a55a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x496c54=>_0x496c54[_0x89a55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x89a55a([0x2a])))[_0x89a55a([0x6d,0x61,0x70])](_0x44c219=>_0x44c219[_0x89a55a([0x73,0x70,0x6c,0x69,0x74])](_0x89a55a([0x2e])))[_0x89a55a([0x73,0x6f,0x6d,0x65])](_0x5a2546=>_0x3d89e[_0x89a55a([0x65,0x76,0x65,0x72,0x79])]((_0x3ecd89,_0x126803)=>_0x5a2546[_0x126803]===_0x3ecd89||_0x5a2546[_0x126803]===_0x89a55a([0x2a])));}function _0x2d2c31(){return _0x5dba2b&&_0x1a04a0?new window[(_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13cf22,_0x5ad264)=>{_0x5dba2b[_0x89a55a([0x74,0x68,0x65,0x6e])](_0x13cf22,_0x5ad264),_0x1a04a0[_0x89a55a([0x74,0x68,0x65,0x6e])](_0x3c3f31=>{_0x3c3f31!=_0x89a55a([0x56,0x61,0x6c,0x69,0x64])&&_0x13cf22(_0x3c3f31);},_0x5ad264);}):_0x5dba2b||_0x1a04a0||_0x89a55a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c9424(_0x5c56da,_0x5205dd){return new window[(_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c0092=>{if(_0x259f42())return _0x1c0092(_0x89a55a([0x56,0x61,0x6c,0x69,0x64]));_0x5852e4(),_0x31ad55[_0x89a55a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x89a55a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x274ab9=!0x1;const _0x1b2ca3=_0x365838();function _0x3cdcc4(_0x271c91){return!!_0x271c91&&(typeof _0x271c91===_0x89a55a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x271c91===_0x89a55a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x271c91[_0x89a55a([0x74,0x68,0x65,0x6e])]===_0x89a55a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x271c91[_0x89a55a([0x63,0x61,0x74,0x63,0x68])]===_0x89a55a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x220ae6(_0x3e0cd9){_0x282eff(_0x3e0cd9)[_0x89a55a([0x74,0x68,0x65,0x6e])](_0x4e1db0=>{if(!_0x4e1db0||_0x4e1db0[_0x89a55a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x89a55a([0x6f,0x6b]))return _0x89a55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x529c23(_0xf48478(_0x1b2ca3+_0x5205dd))!=_0x4e1db0[_0x89a55a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x89a55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x89a55a([0x56,0x61,0x6c,0x69,0x64]);})[_0x89a55a([0x74,0x68,0x65,0x6e])](_0x37716c=>(_0x594ae5(),_0x37716c),()=>{const _0x1fb2fc=_0x210835();return null==_0x1fb2fc?(_0x594ae5(),_0x89a55a([0x56,0x61,0x6c,0x69,0x64])):_0x89a55a(_0x5dda12-_0x1fb2fc>(0xdf9c7d8^_0x398268)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x89a55a([0x74,0x68,0x65,0x6e])](_0x1c0092)[_0x89a55a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c0092(_0x89a55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b80ba=0x29c3ad58^_0x398268;function _0x594ae5(){const _0x453a58=_0x89a55a([0x6c,0x6c,0x63,0x74,0x2d])+_0x529c23(_0xf48478(_0x5c56da)),_0x4ef5ad=_0x5ec02e(_0x529c23(window[_0x89a55a([0x4d,0x61,0x74,0x68])][_0x89a55a([0x63,0x65,0x69,0x6c])](_0x5dda12/_0x3b80ba)));window[_0x89a55a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x89a55a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x453a58,_0x4ef5ad);}function _0x210835(){const _0x1fa044=_0x89a55a([0x6c,0x6c,0x63,0x74,0x2d])+_0x529c23(_0xf48478(_0x5c56da)),_0x54f374=window[_0x89a55a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x89a55a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fa044);return _0x54f374?window[_0x89a55a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ec02e(_0x54f374),0x10)*_0x3b80ba:null;}function _0x282eff(_0x3a8463){return new window[(_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26e6fe,_0x1e9e10)=>{_0x3a8463[_0x89a55a([0x74,0x68,0x65,0x6e])](_0x26e6fe,_0x1e9e10),window[_0x89a55a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e9e10,0x29f49718^_0x398268);});}}_0x31ad55[_0x89a55a([0x6f,0x6e])](_0x89a55a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x501a97,_0x989857)=>{if(_0x989857[0x0]!=_0x5c56da)return _0x1c0092(_0x89a55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x989857[0x1]={..._0x989857[0x1],[_0x89a55a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b2ca3};},{[_0x89a55a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x89a55a([0x68,0x69,0x67,0x68])}),_0x31ad55[_0x89a55a([0x6f,0x6e])](_0x89a55a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f8370=>{_0x3cdcc4(_0x4f8370[_0x89a55a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x274ab9=!0x0,_0x220ae6(_0x4f8370[_0x89a55a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x89a55a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x89a55a([0x6c,0x6f,0x77])}),_0x3c049b[_0x89a55a([0x74,0x68,0x65,0x6e])](()=>{_0x274ab9||_0x1c0092(_0x89a55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x259f42(){return _0x31ad55[_0x89a55a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x89a55a([0x76,0x69,0x65,0x77])][_0x89a55a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x89a55a([0x61,0x75,0x74,0x6f]);}function _0x5852e4(){_0x31ad55[_0x89a55a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x89a55a([0x76,0x69,0x65,0x77])][_0x89a55a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x89a55a([0x61,0x75,0x74,0x6f]);}}function _0x435d29(_0x4fd153){const _0x5f48e0=[new window[(_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x271856=>setTimeout(_0x271856,0x29fc7d14^_0x398268)),_0x3c049b[_0x89a55a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3add48=>{let _0x4cfe52=0x0;_0x31ad55[_0x89a55a([0x6d,0x6f,0x64,0x65,0x6c])][_0x89a55a([0x6f,0x6e])](_0x89a55a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53647d,_0x21fc7a)=>{_0x21fc7a[0x0][_0x89a55a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cfe52++,_0x4cfe52==(0x29f54220^_0x398268)&&(_0x3add48(),_0x53647d[_0x89a55a([0x6f,0x66,0x66])]());});}))];return window[_0x89a55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x89a55a([0x72,0x61,0x63,0x65])](_0x5f48e0)[_0x89a55a([0x74,0x68,0x65,0x6e])](()=>_0x4fd153);}async function _0x95b71e(){await _0x3c049b,_0x31ad55[_0x89a55a([0x6d,0x6f,0x64,0x65,0x6c])][_0x89a55a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x126ca4,_0x31ad55[_0x89a55a([0x6d,0x6f,0x64,0x65,0x6c])][_0x89a55a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x126ca4,_0x31ad55[_0x89a55a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x89a55a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15b52e(_0x52f712){const _0x335d4b=_0x5691a7();_0x31ad55[_0x335d4b]=_0x89a55a([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52f712,_0x52f712!=_0x89a55a([0x56,0x61,0x6c,0x69,0x64])&&_0x95b71e();}function _0x5691a7(){const _0x44ad78=window[_0x89a55a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x89a55a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x89a55a([0x6e,0x6f,0x77])]())[_0x89a55a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x89a55a([0x2e]),'');let _0x3c4f76=_0x89a55a([0x50]);for(let _0x33bf0e=0x0;_0x33bf0e<_0x44ad78[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33bf0e+=0x2){let _0x1d507b=window[_0x89a55a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ad78[_0x89a55a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33bf0e,_0x33bf0e+0x2));_0x1d507b>=_0x1cdd0d[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d507b-=_0x1cdd0d[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c4f76+=_0x1cdd0d[_0x1d507b];}return _0x3c4f76;}function _0x5b2db3(){const _0x4be815=_0x5b07fc[_0x89a55a([0x73,0x70,0x6c,0x69,0x74])](_0x89a55a([0x2e]));if(0x3!=_0x4be815[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1cb6af(_0x4be815[0x1]);function _0x1cb6af(_0x2b4597){const _0x4f2b9e=_0x2ff693(_0x2b4597);return _0x4f2b9e&&_0x21be7c()?_0x4f2b9e:null;function _0x21be7c(){const _0x4a4bc4=_0x4f2b9e[_0x89a55a([0x6a,0x74,0x69])],_0x569238=window[_0x89a55a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a4bc4[_0x89a55a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a4bc4[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x382883={..._0x4f2b9e,[_0x89a55a([0x6a,0x74,0x69])]:_0x4a4bc4[_0x89a55a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a4bc4[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x382883[_0x89a55a([0x76,0x63])],_0xf48478(_0x382883)==_0x569238;}}}async function _0x8aa7d4(){let _0x155c25=!0x0;try{const _0x553cd5=_0x5b07fc[_0x89a55a([0x73,0x70,0x6c,0x69,0x74])](_0x89a55a([0x2e])),[_0x38b226,_0x195cbc,_0x45b498]=_0x553cd5;return _0x1b6871(_0x38b226),await _0x3b00cc(_0x38b226,_0x195cbc,_0x45b498),_0x155c25;}catch(_0x55e12f){return!0x1;}function _0x1b6871(_0x362286){const _0x2b918a=_0x2ff693(_0x362286);_0x2b918a&&_0x2b918a[_0x89a55a([0x61,0x6c,0x67])]==_0x89a55a([0x45,0x53,0x32,0x35,0x36])||(_0x155c25=!0x1);}async function _0x3b00cc(_0x3e35ca,_0x20b411,_0x104d9a){const _0x282b83=window[_0x89a55a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x89a55a([0x66,0x72,0x6f,0x6d])](_0x87e5d3(_0x104d9a),_0x1e727f=>_0x1e727f[_0x89a55a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3dfe95=new window[(_0x89a55a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x89a55a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e35ca+_0x89a55a([0x2e])+_0x20b411),_0x57a6fd=window[_0x89a55a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x89a55a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57a6fd)return;const _0x4fe084=await _0x57a6fd[_0x89a55a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x89a55a([0x6a,0x77,0x6b]),_0x5d838c,{[_0x89a55a([0x6e,0x61,0x6d,0x65])]:_0x89a55a([0x45,0x43,0x44,0x53,0x41]),[_0x89a55a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x89a55a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x89a55a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57a6fd[_0x89a55a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x89a55a([0x6e,0x61,0x6d,0x65])]:_0x89a55a([0x45,0x43,0x44,0x53,0x41]),[_0x89a55a([0x68,0x61,0x73,0x68])]:{[_0x89a55a([0x6e,0x61,0x6d,0x65])]:_0x89a55a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fe084,_0x282b83,_0x3dfe95)||(_0x155c25=!0x1);}}function _0x2ff693(_0x311009){return _0x311009[_0x89a55a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x89a55a([0x65,0x79]))?JSON[_0x89a55a([0x70,0x61,0x72,0x73,0x65])](_0x87e5d3(_0x311009)):null;}function _0x87e5d3(_0x2cf30c){return window[_0x89a55a([0x61,0x74,0x6f,0x62])](_0x2cf30c[_0x89a55a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x89a55a([0x2b]))[_0x89a55a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x89a55a([0x2f])));}function _0xf48478(_0x1ae62e){let _0x3fa664=0x1505;function _0x92b0cc(_0xdc2c85){for(let _0xf08c2=0x0;_0xf08c2<_0xdc2c85[_0x89a55a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf08c2++){const _0x3254c=_0xdc2c85[_0x89a55a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf08c2);_0x3fa664=(_0x3fa664<<0x5)+_0x3fa664+_0x3254c,_0x3fa664&=_0x3fa664;}}function _0x1a335b(_0x3c6683){Array[_0x89a55a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c6683)?_0x3c6683[_0x89a55a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a335b):_0x3c6683&&typeof _0x3c6683==_0x89a55a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x89a55a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c6683)[_0x89a55a([0x73,0x6f,0x72,0x74])]()[_0x89a55a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x145572,_0xa4cdbc])=>{_0x92b0cc(_0x145572),_0x1a335b(_0xa4cdbc);}):_0x92b0cc(window[_0x89a55a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c6683));}return _0x1a335b(_0x1ae62e),_0x3fa664>>>0x0;}function _0x529c23(_0x4c10c3){return _0x4c10c3[_0x89a55a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x89a55a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x89a55a([0x30]));}function _0x5ec02e(_0x500f76){return _0x500f76[_0x89a55a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x89a55a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x89a55a([0x6a,0x6f,0x69,0x6e])]('');}function _0x126ca4(){}function _0x89a55a(_0x9be401){const _0x19d7af=_0x2ebf;return _0x9be401[_0x19d7af(0x180)](_0x3d8c0b=>String[_0x19d7af(0x186)](_0x3d8c0b))[_0x19d7af(0x16a)]('');}_0x15b52e(await _0x2e21f2());}(this);}[_0x328254(0x1b2)](){const _0x2f218d=_0x328254,_0x4fd163=this[_0x2f218d(0x1b5)][_0x2f218d(0x1aa)][_0x2f218d(0x188)];_0x4fd163[_0x2f218d(0x19a)](_0x2f218d(0x1a6))&&_0x4fd163[_0x2f218d(0x187)](_0x2f218d(0x1a6),{'allowAttributes':[_0x2f218d(0x19d)]}),_0x4fd163[_0x2f218d(0x19a)](_0x2f218d(0x1a0))&&_0x4fd163[_0x2f218d(0x187)](_0x2f218d(0x1a0),{'allowAttributes':[_0x2f218d(0x19d)]});}[_0x328254(0x1a4)](){const _0x1e73fd=_0x328254,_0x29bd8a=this[_0x1e73fd(0x1b5)];_0x29bd8a[_0x1e73fd(0x198)][_0x1e73fd(0x173)](_0x1e73fd(0x19b))[_0x1e73fd(0x191)]({'model':_0x1e73fd(0x19d),'view':_0x1e73fd(0x179)}),_0x29bd8a[_0x1e73fd(0x198)][_0x1e73fd(0x173)](_0x1e73fd(0x1b6))[_0x1e73fd(0x176)]({'model':{'key':_0x1e73fd(0x19d),'value':_0x58a650=>_0x58a650[_0x1e73fd(0x1b4)](_0x1e73fd(0x179))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3ba77f=_0x29bd8a[_0x1e73fd(0x1b0)][_0x1e73fd(0x1ab)](_0x1e73fd(0x170));_0x3ba77f&&this[_0x1e73fd(0x189)](_0x3ba77f,_0x1e73fd(0x18a),(_0x5cd928,[_0x2b3184,_0x1f1c53])=>{const _0x38c5d3=_0x1e73fd;_0x2b3184[_0x38c5d3(0x168)](_0x38c5d3(0x19d),_0x1f1c53);});}[_0x328254(0x19c)](){const _0x432d8e=_0x328254,_0x2a5746=this[_0x432d8e(0x1b5)][_0x432d8e(0x190)][_0x432d8e(0x1ab)](_0x432d8e(0x199))||{},_0x521ecc=this[_0x432d8e(0x1b5)][_0x432d8e(0x190)][_0x432d8e(0x1ab)](_0x432d8e(0x178))||'';this[_0x432d8e(0x174)]=_0x51d75b(_0x35ad4d[_0x432d8e(0x18f)],_0x432d8e(0x1b9),{..._0x2a5746,'pubkey':_0x521ecc,'ctx-name':_0x432d8e(0x16f),'sourceList':'','imgOnly':_0x432d8e(0x175),'removeCopyright':_0x432d8e(0x175),'localeName':this[_0x432d8e(0x1b5)][_0x432d8e(0x19e)][_0x432d8e(0x18e)],'externalSourcesEmbedCss':_0x432d8e(0x17f)}),this[_0x432d8e(0x174)][_0x432d8e(0x195)]=_0x2049f3=>{const _0x511067=_0x432d8e;if(_0x511067(0x17b)==_0x2049f3)return _0x511067(0x16d);},_0x35ad4d[_0x432d8e(0x18f)][_0x432d8e(0x16c)][_0x432d8e(0x19f)](this[_0x432d8e(0x174)]);}[_0x328254(0x16b)](){const _0x38dce6=_0x328254;this[_0x38dce6(0x185)]=_0x51d75b(_0x35ad4d[_0x38dce6(0x18f)],_0x38dce6(0x171),{'ctx-name':_0x38dce6(0x16f)}),_0x35ad4d[_0x38dce6(0x18f)][_0x38dce6(0x16c)][_0x38dce6(0x19f)](this[_0x38dce6(0x185)]);}[_0x328254(0x184)](){const _0x355367=_0x328254,_0x43e518=this[_0x355367(0x1b5)][_0x355367(0x1b0)][_0x355367(0x1ab)](_0x355367(0x1a7));_0x43e518&&this[_0x355367(0x189)](_0x43e518,_0x355367(0x196),()=>{const _0x2170ad=_0x355367,_0x29062a=this[_0x2170ad(0x1b5)][_0x2170ad(0x1aa)][_0x2170ad(0x18f)][_0x2170ad(0x169)][_0x2170ad(0x17c)]();_0x29062a&&_0x29062a[_0x2170ad(0x1b4)](_0x2170ad(0x19d))&&this[_0x2170ad(0x1b5)][_0x2170ad(0x18d)][_0x2170ad(0x165)][_0x2170ad(0x1b8)](_0x2170ad(0x194),()=>{const _0x5a58ba=_0x2170ad;_0x494ce5(this[_0x5a58ba(0x1b5)],_0x29062a);});});const _0x41d213=this[_0x355367(0x1b5)][_0x355367(0x1b0)][_0x355367(0x1ab)](_0x355367(0x1b7));_0x41d213&&this[_0x355367(0x189)](_0x41d213,_0x355367(0x196),()=>{const _0x2c953b=_0x355367,_0x3d6948=this[_0x2c953b(0x1b5)][_0x2c953b(0x1aa)][_0x2c953b(0x18f)][_0x2c953b(0x169)][_0x2c953b(0x17c)]();_0x3d6948&&_0x3d6948[_0x2c953b(0x1b4)](_0x2c953b(0x19d))&&this[_0x2c953b(0x1b5)][_0x2c953b(0x18d)][_0x2c953b(0x165)][_0x2c953b(0x1b8)](_0x2c953b(0x194),()=>{const _0x4243ee=_0x2c953b;_0x494ce5(this[_0x4243ee(0x1b5)],_0x3d6948);});});}}
23
+ const _0x3874b8=_0x3c28;(function(_0xc0edd6,_0x20cba4){const _0x2faff5=_0x3c28,_0x1c47e1=_0xc0edd6();while(!![]){try{const _0x8519c8=-parseInt(_0x2faff5(0x1ed))/0x1*(-parseInt(_0x2faff5(0x1d2))/0x2)+parseInt(_0x2faff5(0x1f5))/0x3+-parseInt(_0x2faff5(0x1e3))/0x4+parseInt(_0x2faff5(0x1e1))/0x5*(-parseInt(_0x2faff5(0x1f3))/0x6)+parseInt(_0x2faff5(0x1c0))/0x7+parseInt(_0x2faff5(0x1e7))/0x8*(-parseInt(_0x2faff5(0x1f2))/0x9)+parseInt(_0x2faff5(0x1bd))/0xa*(parseInt(_0x2faff5(0x1d9))/0xb);if(_0x8519c8===_0x20cba4)break;else _0x1c47e1['push'](_0x1c47e1['shift']());}catch(_0x152f8c){_0x1c47e1['push'](_0x1c47e1['shift']());}}}(_0xc735,0xe8663));import{Plugin as _0x4f536d}from'ckeditor5/src/core.js';import{Dialog as _0xad431c}from'ckeditor5/src/ui.js';import{createElement as _0x4c4ba0,global as _0x285d99,uid as _0x2e94ac}from'ckeditor5/src/utils.js';import _0x154fb3 from'./uploadcarecommand.js';import _0x4045d4 from'./uploadcareuploadadapter.js';function _0x3c28(_0x3b93cc,_0x2250d9){const _0xc7357a=_0xc735();return _0x3c28=function(_0x3c2838,_0x520615){_0x3c2838=_0x3c2838-0x1b1;let _0x595114=_0xc7357a[_0x3c2838];return _0x595114;},_0x3c28(_0x3b93cc,_0x2250d9);}import{showImageProcessingIndicator as _0x9edac}from'./utils/editingutils.js';export default class i extends _0x4f536d{[_0x3874b8(0x1be)]=null;[_0x3874b8(0x1d3)]=null;static get[_0x3874b8(0x1fc)](){const _0x4e6644=_0x3874b8;return _0x4e6644(0x1e9);}static get[_0x3874b8(0x200)](){const _0x543d22=_0x3874b8;return[_0x543d22(0x1b1),_0x4045d4,_0xad431c];}static get[_0x3874b8(0x1cc)](){return!0x0;}static get[_0x3874b8(0x1c6)](){return!0x0;}get[_0x3874b8(0x1b4)](){const _0x3e38ab=_0x3874b8;return this[_0x3e38ab(0x1be)];}get[_0x3874b8(0x1f0)](){const _0x28472b=_0x3874b8;return this[_0x28472b(0x1d3)];}[_0x3874b8(0x1ff)](){const _0x570967=_0x3874b8,_0x708077=this[_0x570967(0x1b2)];_0x708077[_0x570967(0x1b6)][_0x570967(0x1ea)](_0x570967(0x205),new _0x154fb3(_0x708077));}[_0x3874b8(0x1bc)](){const _0x6ba29c=_0x3874b8;this[_0x6ba29c(0x1d6)](),this[_0x6ba29c(0x1eb)](),this[_0x6ba29c(0x1fa)](),this[_0x6ba29c(0x1ba)](),this[_0x6ba29c(0x1c4)](),this[_0x6ba29c(0x1ef)](this[_0x6ba29c(0x1b2)],_0x6ba29c(0x1de),()=>{const _0x3eb0c2=_0x6ba29c;this[_0x3eb0c2(0x1be)]&&(this[_0x3eb0c2(0x1be)][_0x3eb0c2(0x203)](),this[_0x3eb0c2(0x1be)]=null),this[_0x3eb0c2(0x1d3)]&&(this[_0x3eb0c2(0x1d3)][_0x3eb0c2(0x203)](),this[_0x3eb0c2(0x1d3)]=null);const _0x283988=_0x285d99[_0x3eb0c2(0x1c7)][_0x3eb0c2(0x1f7)](_0x3eb0c2(0x1f6));_0x283988&&_0x283988[_0x3eb0c2(0x203)]();}),async function(_0x8dfd4b){const _0x17acac=_0x10e11f([0x33,0x6f,0x65,0x36,0x6e,0x4f,0x41,0x38,0x54,0x52,0x61,0x58,0x49,0x6c,0x66,0x51,0x57,0x75,0x30,0x71,0x43,0x62,0x4d,0x72,0x42,0x76,0x56,0x70,0x6a,0x48,0x4c,0x35,0x6d,0x4e,0x50,0x46,0x78,0x44,0x73,0x39,0x32,0x4a,0x37,0x63,0x53,0x74,0x34,0x59,0x6b,0x5a,0x77,0x69,0x31,0x64,0x47,0x55,0x79,0x7a,0x45,0x67,0x68,0x4b]),_0x14c535=0x1923124a,_0x3e59bf=0x19247792^_0x14c535,_0x27431a=window[_0x10e11f([0x44,0x61,0x74,0x65])][_0x10e11f([0x6e,0x6f,0x77])](),_0x9c7a73=_0x8dfd4b[_0x10e11f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40f2a9=new window[(_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a7fd=>{_0x9c7a73[_0x10e11f([0x6f,0x6e,0x63,0x65])](_0x10e11f([0x72,0x65,0x61,0x64,0x79]),_0x35a7fd);}),_0x58bc13={[_0x10e11f([0x6b,0x74,0x79])]:_0x10e11f([0x45,0x43]),[_0x10e11f([0x75,0x73,0x65])]:_0x10e11f([0x73,0x69,0x67]),[_0x10e11f([0x63,0x72,0x76])]:_0x10e11f([0x50,0x2d,0x32,0x35,0x36]),[_0x10e11f([0x78])]:_0x10e11f([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]),[_0x10e11f([0x79])]:_0x10e11f([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]),[_0x10e11f([0x61,0x6c,0x67])]:_0x10e11f([0x45,0x53,0x32,0x35,0x36])},_0x185c5f=_0x9c7a73[_0x10e11f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10e11f([0x67,0x65,0x74])](_0x10e11f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11efb5(){let _0x30d212,_0x2672ff=null,_0x3048cb=null;try{if(_0x185c5f==_0x10e11f([0x47,0x50,0x4c]))return _0x10e11f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30d212=_0x162b4(),!_0x30d212)return _0x10e11f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30d212[_0x10e11f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3048cb=_0x586929(_0x30d212[_0x10e11f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30d212[_0x10e11f([0x6a,0x74,0x69])])),await _0x8a9cbf()?_0x4ddd92()?_0x1627aa()?_0x10e11f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1dd574()?(_0x30d212[_0x10e11f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10e11f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2672ff=_0x5b269e(_0x10e11f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30d212[_0x10e11f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10e11f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2672ff=_0x5b269e(_0x10e11f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b0f61()):_0x10e11f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10e11f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10e11f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27352e){return _0x10e11f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1627aa(){const _0x50f11d=[_0x10e11f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10e11f([0x74,0x72,0x69,0x61,0x6c])][_0x10e11f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30d212[_0x10e11f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27431a/0x3e8:0xe10*_0x3e59bf;return _0x30d212[_0x10e11f([0x65,0x78,0x70])]<_0x50f11d;}function _0x4ddd92(){const _0x5c8d43=_0x30d212[_0x10e11f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c8d43&&(!!_0x5c8d43[_0x10e11f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10e11f([0x2a]))||!!_0x5c8d43[_0x10e11f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10e11f([0x55,0x50,0x4c,0x43])));}function _0x1dd574(){const _0x4f7071=_0x3c28,_0x59a491=_0x30d212[_0x10e11f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59a491||0x0==_0x59a491[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4443a6}=new URL(window[_0x10e11f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4f7071(0x1e4)]);if(_0x59a491[_0x10e11f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4443a6))return!0x0;const _0x4012f6=_0x4443a6[_0x10e11f([0x73,0x70,0x6c,0x69,0x74])](_0x10e11f([0x2e]));return _0x59a491[_0x10e11f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c0d9f=>_0x4c0d9f[_0x10e11f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10e11f([0x2a])))[_0x10e11f([0x6d,0x61,0x70])](_0x1bbb70=>_0x1bbb70[_0x10e11f([0x73,0x70,0x6c,0x69,0x74])](_0x10e11f([0x2e])))[_0x10e11f([0x73,0x6f,0x6d,0x65])](_0x1f2368=>_0x4012f6[_0x10e11f([0x65,0x76,0x65,0x72,0x79])]((_0x39112a,_0xd6f34f)=>_0x1f2368[_0xd6f34f]===_0x39112a||_0x1f2368[_0xd6f34f]===_0x10e11f([0x2a])));}function _0x1b0f61(){return _0x2672ff&&_0x3048cb?new window[(_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56f80d,_0xa161ae)=>{_0x2672ff[_0x10e11f([0x74,0x68,0x65,0x6e])](_0x56f80d,_0xa161ae),_0x3048cb[_0x10e11f([0x74,0x68,0x65,0x6e])](_0x2331fd=>{_0x2331fd!=_0x10e11f([0x56,0x61,0x6c,0x69,0x64])&&_0x56f80d(_0x2331fd);},_0xa161ae);}):_0x2672ff||_0x3048cb||_0x10e11f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x586929(_0x53cb41,_0x476c8f){return new window[(_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x372ed9=>{if(_0x1a9c7c())return _0x372ed9(_0x10e11f([0x56,0x61,0x6c,0x69,0x64]));_0x418dee(),_0x9c7a73[_0x10e11f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10e11f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d1c13=!0x1;const _0x29569a=_0x2e94ac();function _0x4961b0(_0x50577f){return!!_0x50577f&&(typeof _0x50577f===_0x10e11f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50577f===_0x10e11f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50577f[_0x10e11f([0x74,0x68,0x65,0x6e])]===_0x10e11f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50577f[_0x10e11f([0x63,0x61,0x74,0x63,0x68])]===_0x10e11f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ba0d2(_0x3f2083){_0x2c23c7(_0x3f2083)[_0x10e11f([0x74,0x68,0x65,0x6e])](_0x4e3144=>{if(!_0x4e3144||_0x4e3144[_0x10e11f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10e11f([0x6f,0x6b]))return _0x10e11f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11826c(_0x417302(_0x29569a+_0x476c8f))!=_0x4e3144[_0x10e11f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10e11f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10e11f([0x56,0x61,0x6c,0x69,0x64]);})[_0x10e11f([0x74,0x68,0x65,0x6e])](_0x3bcd9d=>(_0x320eea(),_0x3bcd9d),()=>{const _0x457013=_0x3902c4();return null==_0x457013?(_0x320eea(),_0x10e11f([0x56,0x61,0x6c,0x69,0x64])):_0x10e11f(_0x27431a-_0x457013>(0x3d2f964a^_0x14c535)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10e11f([0x74,0x68,0x65,0x6e])](_0x372ed9)[_0x10e11f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x372ed9(_0x10e11f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e5026=0x1915fcca^_0x14c535;function _0x320eea(){const _0x29ae92=_0x10e11f([0x6c,0x6c,0x63,0x74,0x2d])+_0x11826c(_0x417302(_0x53cb41)),_0x303f8c=_0x1acfa1(_0x11826c(window[_0x10e11f([0x4d,0x61,0x74,0x68])][_0x10e11f([0x63,0x65,0x69,0x6c])](_0x27431a/_0x5e5026)));window[_0x10e11f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10e11f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29ae92,_0x303f8c);}function _0x3902c4(){const _0x5becad=_0x10e11f([0x6c,0x6c,0x63,0x74,0x2d])+_0x11826c(_0x417302(_0x53cb41)),_0x30cf9a=window[_0x10e11f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10e11f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5becad);return _0x30cf9a?window[_0x10e11f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1acfa1(_0x30cf9a),0x10)*_0x5e5026:null;}function _0x2c23c7(_0x1ee284){return new window[(_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c4dd8,_0x416e51)=>{_0x1ee284[_0x10e11f([0x74,0x68,0x65,0x6e])](_0x3c4dd8,_0x416e51),window[_0x10e11f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x416e51,0x1922c68a^_0x14c535);});}}_0x9c7a73[_0x10e11f([0x6f,0x6e])](_0x10e11f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ef661,_0x44482b)=>{if(_0x44482b[0x0]!=_0x53cb41)return _0x372ed9(_0x10e11f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44482b[0x1]={..._0x44482b[0x1],[_0x10e11f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29569a};},{[_0x10e11f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10e11f([0x68,0x69,0x67,0x68])}),_0x9c7a73[_0x10e11f([0x6f,0x6e])](_0x10e11f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a603e=>{_0x4961b0(_0x3a603e[_0x10e11f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d1c13=!0x0,_0x1ba0d2(_0x3a603e[_0x10e11f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10e11f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10e11f([0x6c,0x6f,0x77])}),_0x40f2a9[_0x10e11f([0x74,0x68,0x65,0x6e])](()=>{_0x5d1c13||_0x372ed9(_0x10e11f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a9c7c(){return _0x9c7a73[_0x10e11f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10e11f([0x76,0x69,0x65,0x77])][_0x10e11f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10e11f([0x61,0x75,0x74,0x6f]);}function _0x418dee(){_0x9c7a73[_0x10e11f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10e11f([0x76,0x69,0x65,0x77])][_0x10e11f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10e11f([0x61,0x75,0x74,0x6f]);}}function _0x5b269e(_0x1ad9c4){const _0xfb2c3d=[new window[(_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12816a=>setTimeout(_0x12816a,0x192a2c86^_0x14c535)),_0x40f2a9[_0x10e11f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52b915=>{let _0x514135=0x0;_0x9c7a73[_0x10e11f([0x6d,0x6f,0x64,0x65,0x6c])][_0x10e11f([0x6f,0x6e])](_0x10e11f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x378f20,_0x91d38)=>{_0x91d38[0x0][_0x10e11f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x514135++,_0x514135==(0x192313b2^_0x14c535)&&(_0x52b915(),_0x378f20[_0x10e11f([0x6f,0x66,0x66])]());});}))];return window[_0x10e11f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10e11f([0x72,0x61,0x63,0x65])](_0xfb2c3d)[_0x10e11f([0x74,0x68,0x65,0x6e])](()=>_0x1ad9c4);}async function _0x5786b3(){await _0x40f2a9,_0x9c7a73[_0x10e11f([0x6d,0x6f,0x64,0x65,0x6c])][_0x10e11f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fcadc,_0x9c7a73[_0x10e11f([0x6d,0x6f,0x64,0x65,0x6c])][_0x10e11f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fcadc,_0x9c7a73[_0x10e11f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10e11f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa8f09a(_0x12f3bf){const _0x554bf6=_0x23e908();_0x9c7a73[_0x554bf6]=_0x10e11f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12f3bf,_0x12f3bf!=_0x10e11f([0x56,0x61,0x6c,0x69,0x64])&&_0x5786b3();}function _0x23e908(){const _0x5d3939=window[_0x10e11f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10e11f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10e11f([0x6e,0x6f,0x77])]())[_0x10e11f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10e11f([0x2e]),'');let _0x1b0dde=_0x10e11f([0x6f]);for(let _0x467275=0x0;_0x467275<_0x5d3939[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x467275+=0x2){let _0xac7058=window[_0x10e11f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d3939[_0x10e11f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x467275,_0x467275+0x2));_0xac7058>=_0x17acac[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xac7058-=_0x17acac[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b0dde+=_0x17acac[_0xac7058];}return _0x1b0dde;}function _0x162b4(){const _0x679b22=_0x185c5f[_0x10e11f([0x73,0x70,0x6c,0x69,0x74])](_0x10e11f([0x2e]));if(0x3!=_0x679b22[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35dd35(_0x679b22[0x1]);function _0x35dd35(_0x51aec3){const _0x204982=_0x1a6d53(_0x51aec3);return _0x204982&&_0x543c52()?_0x204982:null;function _0x543c52(){const _0x37535b=_0x204982[_0x10e11f([0x6a,0x74,0x69])],_0x6b70e7=window[_0x10e11f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37535b[_0x10e11f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37535b[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x171915={..._0x204982,[_0x10e11f([0x6a,0x74,0x69])]:_0x37535b[_0x10e11f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37535b[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x171915[_0x10e11f([0x76,0x63])],_0x417302(_0x171915)==_0x6b70e7;}}}async function _0x8a9cbf(){let _0x3389a8=!0x0;try{const _0x4b1593=_0x185c5f[_0x10e11f([0x73,0x70,0x6c,0x69,0x74])](_0x10e11f([0x2e])),[_0x29e704,_0x228301,_0x5e2e3e]=_0x4b1593;return _0x19f3c1(_0x29e704),await _0x3577b9(_0x29e704,_0x228301,_0x5e2e3e),_0x3389a8;}catch(_0xebd56e){return!0x1;}function _0x19f3c1(_0x465be0){const _0x21e184=_0x1a6d53(_0x465be0);_0x21e184&&_0x21e184[_0x10e11f([0x61,0x6c,0x67])]==_0x10e11f([0x45,0x53,0x32,0x35,0x36])||(_0x3389a8=!0x1);}async function _0x3577b9(_0x2cee65,_0x329f15,_0x4ca2d5){const _0x212658=window[_0x10e11f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10e11f([0x66,0x72,0x6f,0x6d])](_0x45a638(_0x4ca2d5),_0x4f620d=>_0x4f620d[_0x10e11f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3932b6=new window[(_0x10e11f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10e11f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cee65+_0x10e11f([0x2e])+_0x329f15),_0x5a2cb6=window[_0x10e11f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10e11f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a2cb6)return;const _0x48079a=await _0x5a2cb6[_0x10e11f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10e11f([0x6a,0x77,0x6b]),_0x58bc13,{[_0x10e11f([0x6e,0x61,0x6d,0x65])]:_0x10e11f([0x45,0x43,0x44,0x53,0x41]),[_0x10e11f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10e11f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10e11f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a2cb6[_0x10e11f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10e11f([0x6e,0x61,0x6d,0x65])]:_0x10e11f([0x45,0x43,0x44,0x53,0x41]),[_0x10e11f([0x68,0x61,0x73,0x68])]:{[_0x10e11f([0x6e,0x61,0x6d,0x65])]:_0x10e11f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48079a,_0x212658,_0x3932b6)||(_0x3389a8=!0x1);}}function _0x1a6d53(_0x33f12b){return _0x33f12b[_0x10e11f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10e11f([0x65,0x79]))?JSON[_0x10e11f([0x70,0x61,0x72,0x73,0x65])](_0x45a638(_0x33f12b)):null;}function _0x45a638(_0x2a0346){return window[_0x10e11f([0x61,0x74,0x6f,0x62])](_0x2a0346[_0x10e11f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10e11f([0x2b]))[_0x10e11f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10e11f([0x2f])));}function _0x417302(_0x521efb){let _0x3b591b=0x1505;function _0x5b0c50(_0x5dde2b){for(let _0x3f745b=0x0;_0x3f745b<_0x5dde2b[_0x10e11f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f745b++){const _0x56f096=_0x5dde2b[_0x10e11f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f745b);_0x3b591b=(_0x3b591b<<0x5)+_0x3b591b+_0x56f096,_0x3b591b&=_0x3b591b;}}function _0x15d195(_0x58ffea){Array[_0x10e11f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x58ffea)?_0x58ffea[_0x10e11f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15d195):_0x58ffea&&typeof _0x58ffea==_0x10e11f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10e11f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x58ffea)[_0x10e11f([0x73,0x6f,0x72,0x74])]()[_0x10e11f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f3298,_0x2e695c])=>{_0x5b0c50(_0x1f3298),_0x15d195(_0x2e695c);}):_0x5b0c50(window[_0x10e11f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x58ffea));}return _0x15d195(_0x521efb),_0x3b591b>>>0x0;}function _0x11826c(_0x5ad781){return _0x5ad781[_0x10e11f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10e11f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10e11f([0x30]));}function _0x1acfa1(_0x4452fc){return _0x4452fc[_0x10e11f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10e11f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10e11f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fcadc(){}function _0x10e11f(_0x2697f6){const _0x5bc254=_0x3c28;return _0x2697f6[_0x5bc254(0x1db)](_0x51bc27=>String[_0x5bc254(0x1fb)](_0x51bc27))[_0x5bc254(0x1d0)]('');}_0xa8f09a(await _0x11efb5());}(this);}[_0x3874b8(0x1d6)](){const _0x1dc844=_0x3874b8,_0x28f3e3=this[_0x1dc844(0x1b2)][_0x1dc844(0x1cf)][_0x1dc844(0x1f1)];_0x28f3e3[_0x1dc844(0x1c5)](_0x1dc844(0x1d1))&&_0x28f3e3[_0x1dc844(0x1f4)](_0x1dc844(0x1d1),{'allowAttributes':[_0x1dc844(0x1e0)]}),_0x28f3e3[_0x1dc844(0x1c5)](_0x1dc844(0x1e2))&&_0x28f3e3[_0x1dc844(0x1f4)](_0x1dc844(0x1e2),{'allowAttributes':[_0x1dc844(0x1e0)]});}[_0x3874b8(0x1eb)](){const _0xf95658=_0x3874b8,_0x65bfa7=this[_0xf95658(0x1b2)];_0x65bfa7[_0xf95658(0x1da)][_0xf95658(0x1b8)](_0xf95658(0x1ca))[_0xf95658(0x1ec)]({'model':_0xf95658(0x1e0),'view':_0xf95658(0x1f8)}),_0x65bfa7[_0xf95658(0x1da)][_0xf95658(0x1b8)](_0xf95658(0x1d5))[_0xf95658(0x1d8)]({'model':{'key':_0xf95658(0x1e0),'value':_0x582e7a=>_0x582e7a[_0xf95658(0x1e6)](_0xf95658(0x1f8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x44cdae=_0x65bfa7[_0xf95658(0x1b6)][_0xf95658(0x1fd)](_0xf95658(0x1d4));_0x44cdae&&this[_0xf95658(0x1ef)](_0x44cdae,_0xf95658(0x1dd),(_0x195a28,[_0x2ae1d1,_0x266b25])=>{const _0x615bc=_0xf95658;_0x2ae1d1[_0x615bc(0x1d7)](_0x615bc(0x1e0),_0x266b25);});}[_0x3874b8(0x1fa)](){const _0xba74d9=_0x3874b8,_0x3805da=this[_0xba74d9(0x1b2)][_0xba74d9(0x1b5)][_0xba74d9(0x1fd)](_0xba74d9(0x1ce))||{},_0x2cbb1b=this[_0xba74d9(0x1b2)][_0xba74d9(0x1b5)][_0xba74d9(0x1fd)](_0xba74d9(0x201))||'';this[_0xba74d9(0x1be)]=_0x4c4ba0(_0x285d99[_0xba74d9(0x1c7)],_0xba74d9(0x204),{..._0x3805da,'pubkey':_0x2cbb1b,'ctx-name':_0xba74d9(0x202),'sourceList':'','imgOnly':_0xba74d9(0x1f9),'removeCopyright':_0xba74d9(0x1f9),'localeName':this[_0xba74d9(0x1b2)][_0xba74d9(0x1b3)][_0xba74d9(0x1b9)],'externalSourcesEmbedCss':_0xba74d9(0x1ee)}),this[_0xba74d9(0x1be)][_0xba74d9(0x1e8)]=_0x3e606c=>{const _0xae7854=_0xba74d9;if(_0xae7854(0x1c8)==_0x3e606c)return _0xae7854(0x1dc);},_0x285d99[_0xba74d9(0x1c7)][_0xba74d9(0x1e5)][_0xba74d9(0x1cb)](this[_0xba74d9(0x1be)]);}[_0x3874b8(0x1ba)](){const _0x68593f=_0x3874b8;this[_0x68593f(0x1d3)]=_0x4c4ba0(_0x285d99[_0x68593f(0x1c7)],_0x68593f(0x1cd),{'ctx-name':_0x68593f(0x202)}),_0x285d99[_0x68593f(0x1c7)][_0x68593f(0x1e5)][_0x68593f(0x1cb)](this[_0x68593f(0x1d3)]);}[_0x3874b8(0x1c4)](){const _0x38430e=_0x3874b8,_0x291444=this[_0x38430e(0x1b2)][_0x38430e(0x1b6)][_0x38430e(0x1fd)](_0x38430e(0x1c9));_0x291444&&this[_0x38430e(0x1ef)](_0x291444,_0x38430e(0x1c2),()=>{const _0xfd4c99=_0x38430e,_0x418d9c=this[_0xfd4c99(0x1b2)][_0xfd4c99(0x1cf)][_0xfd4c99(0x1c7)][_0xfd4c99(0x1bf)][_0xfd4c99(0x1c3)]();_0x418d9c&&_0x418d9c[_0xfd4c99(0x1e6)](_0xfd4c99(0x1e0))&&this[_0xfd4c99(0x1b2)][_0xfd4c99(0x1fe)][_0xfd4c99(0x1b7)][_0xfd4c99(0x1df)](_0xfd4c99(0x1c1),()=>{const _0x1a6b93=_0xfd4c99;_0x9edac(this[_0x1a6b93(0x1b2)],_0x418d9c);});});const _0x3eceb5=this[_0x38430e(0x1b2)][_0x38430e(0x1b6)][_0x38430e(0x1fd)](_0x38430e(0x1bb));_0x3eceb5&&this[_0x38430e(0x1ef)](_0x3eceb5,_0x38430e(0x1c2),()=>{const _0x438dae=_0x38430e,_0x175264=this[_0x438dae(0x1b2)][_0x438dae(0x1cf)][_0x438dae(0x1c7)][_0x438dae(0x1bf)][_0x438dae(0x1c3)]();_0x175264&&_0x175264[_0x438dae(0x1e6)](_0x438dae(0x1e0))&&this[_0x438dae(0x1b2)][_0x438dae(0x1fe)][_0x438dae(0x1b7)][_0x438dae(0x1df)](_0x438dae(0x1c1),()=>{const _0x2176e2=_0x438dae;_0x9edac(this[_0x2176e2(0x1b2)],_0x175264);});});}}function _0xc735(){const _0x1b6461=['requires','uploadcare.pubkey','uploader','remove','uc-config','uploadcare','PictureEditing','editor','locale','configElement','config','commands','view','for','contentLanguage','_initCtx','uploadcareImageReplace','afterInit','104820zFoIkN','_configElement','selection','651504SgaGaH','render','execute','getSelectedElement','_initImageProcessingIndicator','isRegistered','isPremiumPlugin','document','closeMax','insertImage','downcast','appendChild','isOfficialPlugin','uc-upload-ctx-provider','uploadcare.uploader','model','join','imageBlock','2kHtAPO','_ctxElement','replaceImageSource','upcast','_initSchema','removeAttribute','elementToAttribute','1947faoUGw','conversion','map','#uc-icon-arrow-down','cleanupImage','destroy','once','uploadcareImageId','5gFMqIE','imageInline','7430624eGOPpf','href','body','getAttribute','104JkVtno','iconHrefResolver','UploadcareEditing','add','_initConversion','attributeToAttribute','1799987VhYTvJ','\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','listenTo','ctxElement','schema','725715fLMfnQ','9708252htroAf','extend','5182461tBTdAX','input[uploadcare-file-input]','querySelector','data-uc-image-id','true','_initConfig','fromCharCode','pluginName','get','editing','init'];_0xc735=function(){return _0x1b6461;};return _0xc735();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x231095,ObservableMixin as _0x3c267b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d24d5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x42464f}from'ckeditor5/src/icons.js';import _0x182b77 from'./uploadcareimageeditformview.js';import _0x3b91e4 from'../../utils/uploadutils.js';import{getImageUrls as _0x370696,getImageDimension as _0x544fb1}from'../../utils/editingutils.js';import{isAncestor as _0x389079}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3c267b(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2fc6a8,_0x226542,_0x29184e){super(),this['_editor']=_0x2fc6a8,this['_dialog']=_0x226542,this['_imageElement']=_0x29184e,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 _0x271ec8=this['_imageElement'],_0x35f89a=_0x271ec8['getAttribute']('uploadcareImageId'),_0xfe9e3d=_0x271ec8['getAttribute']('src');if(_0x35f89a)await this['_loadImageInfo'](_0x35f89a,_0xfe9e3d);else{if(this['_imageCache']['has'](_0xfe9e3d)){const _0x2474d6=this['_imageCache']['get'](_0xfe9e3d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2474d6['url'],this['imageDimension']=_0x2474d6['dimension'],this['imageId']=_0x2474d6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a5a0a}=this['_editor'],t=_0x2a5a0a['t'],_0x28be9b=new _0x182b77(_0x2a5a0a,this['imageStatus'],this['_attributes']);_0x28be9b['bind']('status')['to'](this,'imageStatus'),_0x28be9b['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x28be9b['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x28be9b['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x28be9b,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x42464f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x28be9b,'position':_0x1d24d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x28be9b['focus']();},'onHide':()=>{_0x28be9b['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5c0d1a=>!_0x389079(_0x5c0d1a,_0x28be9b['element'])}});}['_loadImageInfo'](_0x880a32,_0x3da7a8){return _0x3b91e4['getInfo'](_0x880a32,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x383ee1=>{const {width:_0x84172,height:_0x4920c0}=_0x383ee1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3da7a8,this['imageDimension']={'width':_0x84172,'height':_0x4920c0},this['imageId']=_0x880a32;})['catch'](_0x9f6289=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x9f6289['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3494cb,_0x2b6d7f){return this['_getImageAsFile'](_0x3494cb)['then'](_0x316817=>_0x3b91e4['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2b6d7f['signal'],'file':_0x316817,'onProgress':_0x12ac84=>{_0x12ac84&&_0x12ac84['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x12ac84['value']));}}))['then'](_0x24b217=>{const {width:_0xabf1b7,height:_0x4467c1}=_0x24b217['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24b217['cdnUrl'],this['imageDimension']={'width':_0xabf1b7,'height':_0x4467c1},this['imageId']=_0x24b217['uuid'],this['imageUploadProgress']=null;const _0x6344c=_0x3494cb['getAttribute']('src');this['_imageCache']['set'](_0x6344c,{'id':_0x24b217['uuid'],'url':_0x24b217['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x818f9d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x818f9d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3d4dfa,_0x3c7413){_0x3d4dfa['on']('apply',(_0x362117,_0x181abd)=>{this['_replaceImage'](_0x3c7413,_0x181abd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3d4dfa['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3d4dfa['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3941d3,_0x5afb65,_0x24a7b6){const _0x112abd=this['_editor'],{width:_0x2ebaf5,height:_0x27f8df}=_0x544fb1(_0x5afb65,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5e66fe,imageSources:_0xa23eb5}=_0x370696(_0x5afb65,_0x2ebaf5);_0x112abd['model']['change'](_0x279534=>{if('$graveyard'===_0x3941d3['root']['rootName']){_0x112abd['execute']('insertImage',{'imageType':_0x3941d3['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3941d3['getAttributes']()),'uploadcareImageId':_0x24a7b6,'src':_0x5e66fe,'sources':_0xa23eb5,'width':_0x2ebaf5,'height':_0x27f8df}});const _0x589c3b=_0x3941d3['getChildren']();_0x3941d3=_0x112abd['model']['document']['selection']['getSelectedElement']();for(const _0x44c3fa of _0x589c3b)_0x279534['append'](_0x279534['cloneElement'](_0x44c3fa),_0x3941d3);}else _0x279534['setSelection'](_0x3941d3,'on'),_0x112abd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3941d3['getAttributes']()),'uploadcareImageId':_0x24a7b6,'src':_0x5e66fe,'sources':_0xa23eb5,'width':_0x2ebaf5,'height':_0x27f8df},_0x3941d3);_0x279534['setSelection'](_0x3941d3,'on');});}async['_getImageAsFile'](_0x14c0a1){const _0x4bc2a6=_0x231095['window'],_0x4401bb=_0x231095['document']['location']['href'],_0x56a660=new _0x4bc2a6['URL'](_0x14c0a1['getAttribute']('src'),_0x4401bb);if('data:'===_0x56a660['protocol']){const _0x309917=_0x56a660['href']['split'](','),_0x19e5e7=_0x309917[0x0]['match'](/:(.*?);/)[0x1],_0x498abc=_0x19e5e7['split']('/')[0x1],_0x424897=_0x4bc2a6['atob'](_0x309917[_0x309917['length']-0x1]);let _0x4061e4=_0x424897['length'];const _0x205298=new _0x4bc2a6['Uint8Array'](_0x4061e4);for(;_0x4061e4--;)_0x205298[_0x4061e4]=_0x424897['charCodeAt'](_0x4061e4);return new _0x4bc2a6['File']([_0x205298],'image.'+_0x498abc,{'type':_0x19e5e7});}const _0x20b8ab=_0x56a660['href']['split']('/'),_0x209577=_0x20b8ab[_0x20b8ab['length']-0x1],_0x15dd23=_0x209577['split']('.')[0x1];return _0x4bc2a6['fetch'](_0x56a660['href'])['then'](_0x3f6ce1=>_0x3f6ce1['clone']()['blob']())['then'](_0x255d36=>new _0x4bc2a6['File']([_0x255d36],_0x209577,{'type':'image/'+_0x15dd23}));}}
23
+ import{global as _0x116da9,ObservableMixin as _0x110e6e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1282c4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4f0811}from'ckeditor5/src/icons.js';import _0x3edea4 from'./uploadcareimageeditformview.js';import _0x4d6800 from'../../utils/uploadutils.js';import{getImageUrls as _0x52a5c7,getImageDimension as _0x108b1e}from'../../utils/editingutils.js';import{isAncestor as _0x29b098}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x110e6e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5e70cc,_0x1423f1,_0x235348){super(),this['_editor']=_0x5e70cc,this['_dialog']=_0x1423f1,this['_imageElement']=_0x235348,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 _0x21ff1b=this['_imageElement'],_0x4bdd38=_0x21ff1b['getAttribute']('uploadcareImageId'),_0x5803eb=_0x21ff1b['getAttribute']('src');if(_0x4bdd38)await this['_loadImageInfo'](_0x4bdd38,_0x5803eb);else{if(this['_imageCache']['has'](_0x5803eb)){const _0x58c41c=this['_imageCache']['get'](_0x5803eb);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x58c41c['url'],this['imageDimension']=_0x58c41c['dimension'],this['imageId']=_0x58c41c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x153a16}=this['_editor'],t=_0x153a16['t'],_0x21da8e=new _0x3edea4(_0x153a16,this['imageStatus'],this['_attributes']);_0x21da8e['bind']('status')['to'](this,'imageStatus'),_0x21da8e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x21da8e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x21da8e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x21da8e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4f0811,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x21da8e,'position':_0x1282c4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x21da8e['focus']();},'onHide':()=>{_0x21da8e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4641a2=>!_0x29b098(_0x4641a2,_0x21da8e['element'])}});}['_loadImageInfo'](_0x2093af,_0x5f2615){return _0x4d6800['getInfo'](_0x2093af,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x293ed7=>{const {width:_0x565c44,height:_0x29a6ac}=_0x293ed7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f2615,this['imageDimension']={'width':_0x565c44,'height':_0x29a6ac},this['imageId']=_0x2093af;})['catch'](_0x24495a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24495a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1a0a15,_0x558ee1){return this['_getImageAsFile'](_0x1a0a15)['then'](_0x51a0c9=>_0x4d6800['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x558ee1['signal'],'file':_0x51a0c9,'onProgress':_0x2acb33=>{_0x2acb33&&_0x2acb33['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2acb33['value']));}}))['then'](_0x41e28e=>{const {width:_0x516ea1,height:_0x248be3}=_0x41e28e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41e28e['cdnUrl'],this['imageDimension']={'width':_0x516ea1,'height':_0x248be3},this['imageId']=_0x41e28e['uuid'],this['imageUploadProgress']=null;const _0x418a2b=_0x1a0a15['getAttribute']('src');this['_imageCache']['set'](_0x418a2b,{'id':_0x41e28e['uuid'],'url':_0x41e28e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x21086e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x21086e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4ea605,_0x10722a){_0x4ea605['on']('apply',(_0x151b48,_0x34be74)=>{this['_replaceImage'](_0x10722a,_0x34be74['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4ea605['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4ea605['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5ebe17,_0x28bb8b,_0x263947){const _0x356a5a=this['_editor'],{width:_0x4d9dc8,height:_0x1970e3}=_0x108b1e(_0x28bb8b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x557a87,imageSources:_0xaeb29e}=_0x52a5c7(_0x28bb8b,_0x4d9dc8);_0x356a5a['model']['change'](_0x20f76e=>{if('$graveyard'===_0x5ebe17['root']['rootName']){_0x356a5a['execute']('insertImage',{'imageType':_0x5ebe17['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5ebe17['getAttributes']()),'uploadcareImageId':_0x263947,'src':_0x557a87,'sources':_0xaeb29e,'width':_0x4d9dc8,'height':_0x1970e3}});const _0x648050=_0x5ebe17['getChildren']();_0x5ebe17=_0x356a5a['model']['document']['selection']['getSelectedElement']();for(const _0x5448b3 of _0x648050)_0x20f76e['append'](_0x20f76e['cloneElement'](_0x5448b3),_0x5ebe17);}else _0x20f76e['setSelection'](_0x5ebe17,'on'),_0x356a5a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5ebe17['getAttributes']()),'uploadcareImageId':_0x263947,'src':_0x557a87,'sources':_0xaeb29e,'width':_0x4d9dc8,'height':_0x1970e3},_0x5ebe17);_0x20f76e['setSelection'](_0x5ebe17,'on');});}async['_getImageAsFile'](_0xea8716){const _0x2508ad=_0x116da9['window'],_0xcc5558=_0x116da9['document']['location']['href'],_0x58fb28=new _0x2508ad['URL'](_0xea8716['getAttribute']('src'),_0xcc5558);if('data:'===_0x58fb28['protocol']){const _0x281da3=_0x58fb28['href']['split'](','),_0x128874=_0x281da3[0x0]['match'](/:(.*?);/)[0x1],_0x24abaf=_0x128874['split']('/')[0x1],_0x39eaf4=_0x2508ad['atob'](_0x281da3[_0x281da3['length']-0x1]);let _0x50dd60=_0x39eaf4['length'];const _0x255245=new _0x2508ad['Uint8Array'](_0x50dd60);for(;_0x50dd60--;)_0x255245[_0x50dd60]=_0x39eaf4['charCodeAt'](_0x50dd60);return new _0x2508ad['File']([_0x255245],'image.'+_0x24abaf,{'type':_0x128874});}const _0x1d78fd=_0x58fb28['href']['split']('/'),_0x18d9d4=_0x1d78fd[_0x1d78fd['length']-0x1],_0x5b2230=_0x18d9d4['split']('.')[0x1];return _0x2508ad['fetch'](_0x58fb28['href'])['then'](_0x4ab2f8=>_0x4ab2f8['clone']()['blob']())['then'](_0x2f4117=>new _0x2508ad['File']([_0x2f4117],_0x18d9d4,{'type':'image/'+_0x5b2230}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x10cf4b,_0x50b493){const _0x376cc6=_0x1681,_0x557d79=_0x10cf4b();while(!![]){try{const _0xb97ed1=-parseInt(_0x376cc6(0x1cb))/0x1+parseInt(_0x376cc6(0x1d5))/0x2+parseInt(_0x376cc6(0x1d0))/0x3+-parseInt(_0x376cc6(0x1db))/0x4*(parseInt(_0x376cc6(0x1dc))/0x5)+-parseInt(_0x376cc6(0x1d9))/0x6*(parseInt(_0x376cc6(0x1d7))/0x7)+-parseInt(_0x376cc6(0x1d2))/0x8*(-parseInt(_0x376cc6(0x1cd))/0x9)+parseInt(_0x376cc6(0x1d6))/0xa*(parseInt(_0x376cc6(0x1d8))/0xb);if(_0xb97ed1===_0x50b493)break;else _0x557d79['push'](_0x557d79['shift']());}catch(_0xd30510){_0x557d79['push'](_0x557d79['shift']());}}}(_0x263a,0x5fd59));function _0x263a(){const _0x4b1b04=['1789596IFfCJd','set','157376GrtuZh','image-edit','ck-uploadcare-theme','548400rWbQrS','940oYQuio','4143811lJABeW','104511MExZbh','6ABaaEf','bindTemplate','128VVMrLp','47990asqAMo','uc-cloud-image-editor','570540IYfnYv','imageSrc','45ksRzcs','setTemplate','uc-light'];_0x263a=function(){return _0x4b1b04;};return _0x263a();}import{View as _0x1be82e}from'ckeditor5/src/ui.js';function _0x1681(_0x58b7b3,_0x1c4863){const _0x263ad2=_0x263a();return _0x1681=function(_0x1681c3,_0x2ffe6b){_0x1681c3=_0x1681c3-0x1ca;let _0x2dd4db=_0x263ad2[_0x1681c3];return _0x2dd4db;},_0x1681(_0x58b7b3,_0x1c4863);}export default class tt extends _0x1be82e{constructor(_0x1b4382,_0xf0be11){const _0x43283b=_0x1681;super(_0x1b4382);const _0x2e00b4=this[_0x43283b(0x1da)];this[_0x43283b(0x1d1)](_0x43283b(0x1cc),''),this[_0x43283b(0x1ce)]({'tag':_0x43283b(0x1ca),'attributes':{..._0xf0be11,'class':[_0x43283b(0x1cf),_0x43283b(0x1d4)],'ctx-name':_0x43283b(0x1d3),'cdn-url':_0x2e00b4['to'](_0x43283b(0x1cc))}});}}
23
+ function _0x8caa(_0x27ea9d,_0x217a0c){const _0x5be696=_0x5be6();return _0x8caa=function(_0x8caa66,_0x14670f){_0x8caa66=_0x8caa66-0x199;let _0x2ade50=_0x5be696[_0x8caa66];return _0x2ade50;},_0x8caa(_0x27ea9d,_0x217a0c);}function _0x5be6(){const _0x389cc9=['set','5997816AxiuWs','520ZyRKtP','imageSrc','ck-uploadcare-theme','uc-cloud-image-editor','bindTemplate','uc-light','320398OPYwbm','53901NifcNn','2874CBAyaK','image-edit','79655tXvimr','8015yCPfnA','setTemplate','3091064XKBnYM','3YYdlfa','12024AkoXKk'];_0x5be6=function(){return _0x389cc9;};return _0x5be6();}(function(_0xeca5c7,_0x3c4b17){const _0x160836=_0x8caa,_0x12d3dc=_0xeca5c7();while(!![]){try{const _0x471764=-parseInt(_0x160836(0x1a7))/0x1*(parseInt(_0x160836(0x19f))/0x2)+parseInt(_0x160836(0x1a0))/0x3+parseInt(_0x160836(0x1a6))/0x4+-parseInt(_0x160836(0x1a3))/0x5+-parseInt(_0x160836(0x1a1))/0x6*(parseInt(_0x160836(0x1a4))/0x7)+parseInt(_0x160836(0x1aa))/0x8+parseInt(_0x160836(0x1a8))/0x9*(-parseInt(_0x160836(0x199))/0xa);if(_0x471764===_0x3c4b17)break;else _0x12d3dc['push'](_0x12d3dc['shift']());}catch(_0x27ea7e){_0x12d3dc['push'](_0x12d3dc['shift']());}}}(_0x5be6,0x68015));import{View as _0x3f7c70}from'ckeditor5/src/ui.js';export default class tt extends _0x3f7c70{constructor(_0xd682e3,_0x27245b){const _0x5219fe=_0x8caa;super(_0xd682e3);const _0x80619e=this[_0x5219fe(0x19d)];this[_0x5219fe(0x1a9)](_0x5219fe(0x19a),''),this[_0x5219fe(0x1a5)]({'tag':_0x5219fe(0x19c),'attributes':{..._0x27245b,'class':[_0x5219fe(0x19e),_0x5219fe(0x19b)],'ctx-name':_0x5219fe(0x1a2),'cdn-url':_0x80619e['to'](_0x5219fe(0x19a))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0xe7acb2,IconView as at,View as _0x45557c}from'ckeditor5/src/ui.js';export default class rt extends _0x45557c{constructor(_0x3e3352){super(_0x3e3352);const t=_0x3e3352['t'];this['set']('errorType',null);const _0x6b0c8b=new _0xe7acb2(_0x3e3352);_0x6b0c8b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x6b0c8b['withText']=!0x0,_0x6b0c8b['class']='ck-button-action',_0x6b0c8b['on']('execute',()=>{this['fire']('retry');}),_0x6b0c8b['bind']('isVisible')['to'](this,'errorType',_0x1926dc=>'NotFound'!==_0x1926dc);const _0x207415=new at();_0x207415['content']=et,_0x207415['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x37edc2=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':[_0x207415,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x37edc2['to']('errorType',_0x5e1f12=>t('NotFound'!==_0x5e1f12?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x6b0c8b]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0x23257f,IconView as at,View as _0x44cded}from'ckeditor5/src/ui.js';export default class rt extends _0x44cded{constructor(_0x495617){super(_0x495617);const t=_0x495617['t'];this['set']('errorType',null);const _0x4bac9a=new _0x23257f(_0x495617);_0x4bac9a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4bac9a['withText']=!0x0,_0x4bac9a['class']='ck-button-action',_0x4bac9a['on']('execute',()=>{this['fire']('retry');}),_0x4bac9a['bind']('isVisible')['to'](this,'errorType',_0x24f2f3=>'NotFound'!==_0x24f2f3);const _0x4d60c6=new at();_0x4d60c6['content']=et,_0x4d60c6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d1f05=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':[_0x4d60c6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d1f05['to']('errorType',_0x37124d=>t('NotFound'!==_0x37124d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4bac9a]},{'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 _0x40a713,View as _0x1fc4ff}from'ckeditor5/src/ui.js';export default class ta extends _0x1fc4ff{constructor(_0x5b1e83){super(_0x5b1e83);const t=_0x5b1e83['t'],_0x593177=this['bindTemplate'],_0x10215f=new _0x40a713();_0x10215f['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':[_0x10215f,{'text':_0x593177['to']('imageUploadProgress',_0x3a6f72=>t('Loading\x20image...')+'\x20('+(_0x3a6f72||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 _0x1914a5,View as _0x39aad2}from'ckeditor5/src/ui.js';export default class ta extends _0x39aad2{constructor(_0x108dca){super(_0x108dca);const t=_0x108dca['t'],_0x2d55b3=this['bindTemplate'],_0x13c3ce=new _0x1914a5();_0x13c3ce['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':[_0x13c3ce,{'text':_0x2d55b3['to']('imageUploadProgress',_0x3d7834=>t('Loading\x20image...')+'\x20('+(_0x3d7834||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 _0x3c83cc=_0x1472;(function(_0x358e85,_0x66a2b7){const _0x1b5419=_0x1472,_0x4b4e0a=_0x358e85();while(!![]){try{const _0x57f409=-parseInt(_0x1b5419(0xf3))/0x1*(parseInt(_0x1b5419(0xf7))/0x2)+-parseInt(_0x1b5419(0x11c))/0x3*(-parseInt(_0x1b5419(0x120))/0x4)+parseInt(_0x1b5419(0x10a))/0x5+parseInt(_0x1b5419(0x129))/0x6+parseInt(_0x1b5419(0x110))/0x7*(parseInt(_0x1b5419(0x11f))/0x8)+-parseInt(_0x1b5419(0x11e))/0x9*(-parseInt(_0x1b5419(0xf4))/0xa)+parseInt(_0x1b5419(0x114))/0xb*(-parseInt(_0x1b5419(0xf2))/0xc);if(_0x57f409===_0x66a2b7)break;else _0x4b4e0a['push'](_0x4b4e0a['shift']());}catch(_0x46e430){_0x4b4e0a['push'](_0x4b4e0a['shift']());}}}(_0x5765,0xd0541));import{View as _0x407042}from'ckeditor5/src/ui.js';import _0x89335d from'./uploadcareimageeditformloadingview.js';import _0x9f89ff from'./uploadcareimageeditformerrorview.js';import _0xce3805 from'./uploadcareimageeditformeditingview.js';import _0x41faa1 from'../../utils/dialogfocusmanagerview.js';function _0x1472(_0x2f7187,_0x173353){const _0x57658b=_0x5765();return _0x1472=function(_0x147209,_0x4c6465){_0x147209=_0x147209-0xf1;let _0x49478d=_0x57658b[_0x147209];return _0x49478d;},_0x1472(_0x2f7187,_0x173353);}import'../../../theme/uploadcare-form.css';function _0x5765(){const _0x454a6e=['_loadingView','cdnUrl','uc-cloud-image-editor','nodeName','_setView','detail','change:status','clear','_items','apply','_waitForImageEditorComponent','setTemplate','ck-uploadcare-form','createCollection','div','status','error','toLowerCase','4994120NPlNsO','_focusableView','filter','element','retry','querySelector','7dxBdHU','addedNodes','fire','set','33svKbWa','addEventListener','_addErrorViewListeners','uploading','render','_errorView','getFocusableElement','_editingView','1899234bbFbgi','_addUploadcareImageEditorListeners','1092429NYPSJw','11583960lUEwkz','8FWoHtB','ready','cancel','target','length','once','ck-reset_all-excluded','add','focus','2773296QzcvxP','observe','8657244UDYzKs','639474fYtBJV','10kjKigr','addMany','disconnect','4ltLCDt'];_0x5765=function(){return _0x454a6e;};return _0x5765();}export default class Z extends _0x41faa1{[_0x3c83cc(0x100)];[_0x3c83cc(0xf8)];[_0x3c83cc(0x119)];[_0x3c83cc(0x11b)];[_0x3c83cc(0x10b)];constructor(_0x2d05ad,_0x208026,_0x46264e){const _0x100299=_0x3c83cc;super(_0x2d05ad),this[_0x100299(0x100)]=this[_0x100299(0x105)](),this[_0x100299(0xf8)]=new _0x89335d(_0x2d05ad),this[_0x100299(0x119)]=new _0x9f89ff(_0x2d05ad),this[_0x100299(0x11b)]=new _0xce3805(_0x2d05ad,_0x46264e),this[_0x100299(0x10b)]=new _0x407042(_0x2d05ad),this[_0x100299(0x10b)][_0x100299(0x103)](this[_0x100299(0x11a)]()),this[_0x100299(0x113)](_0x100299(0x107),_0x208026),this[_0x100299(0x103)]({'tag':_0x100299(0x106),'attributes':{'class':['ck',_0x100299(0x126),_0x100299(0x104)],'tabindex':'-1'},'children':this[_0x100299(0x100)]}),this[_0x100299(0xfc)](),this[_0x100299(0x125)](_0x100299(0x118),()=>{const _0x4845a6=_0x100299;this[_0x4845a6(0x102)](this[_0x4845a6(0x10d)],_0xd2018e=>{const _0x247fe2=_0x4845a6;this[_0x247fe2(0x11d)](_0xd2018e);});}),this['on'](_0x100299(0xfe),()=>{const _0xd4ecb9=_0x100299;this[_0xd4ecb9(0xfc)]();}),this[_0x100299(0x116)]();}[_0x3c83cc(0x128)](){const _0x24ae2d=_0x3c83cc;this[_0x24ae2d(0x10d)][_0x24ae2d(0x128)]();}[_0x3c83cc(0xfc)](){const _0xbe1d38=_0x3c83cc;switch(this[_0xbe1d38(0x100)][_0xbe1d38(0xff)](),this[_0xbe1d38(0x107)]){case _0xbe1d38(0x117):this[_0xbe1d38(0x100)][_0xbe1d38(0x127)](this[_0xbe1d38(0xf8)]);break;case _0xbe1d38(0x108):this[_0xbe1d38(0x100)][_0xbe1d38(0x127)](this[_0xbe1d38(0x119)]);break;case _0xbe1d38(0x121):this[_0xbe1d38(0x100)][_0xbe1d38(0xf5)]([this[_0xbe1d38(0x11b)],this[_0xbe1d38(0x10b)]]);}}[_0x3c83cc(0x102)](_0x3ee5a7,_0x31fe8a){const _0x10b5e4=_0x3c83cc,_0x44118b=_0x10b5e4(0xfa),_0x48c050=_0x3ee5a7[_0x10b5e4(0x10f)](_0x44118b);if(_0x48c050)return _0x31fe8a(_0x48c050);const _0x548f3a=new MutationObserver(_0x361ce7=>{const _0x92daad=_0x10b5e4,_0x1487a7=_0x361ce7[_0x92daad(0x10c)](_0x469923=>_0x469923[_0x92daad(0x123)]===_0x3ee5a7&&_0x469923[_0x92daad(0x111)][_0x92daad(0x124)]>0x0&&_0x469923[_0x92daad(0x111)][0x0][_0x92daad(0xfb)][_0x92daad(0x109)]()===_0x44118b);_0x1487a7[_0x92daad(0x124)]&&(_0x548f3a[_0x92daad(0xf6)](),_0x31fe8a(_0x1487a7[0x0][_0x92daad(0x111)][0x0]));});_0x548f3a[_0x10b5e4(0xf1)](_0x3ee5a7,{'childList':!0x0,'subtree':!0x0});}[_0x3c83cc(0x11d)](_0x4b73e3){const _0x4adc36=_0x3c83cc;_0x4b73e3[_0x4adc36(0x115)](_0x4adc36(0x101),_0x209277=>{const _0x13f96f=_0x4adc36;this[_0x13f96f(0x112)](_0x13f96f(0x101),{'imageSrc':_0x209277[_0x13f96f(0xfd)][_0x13f96f(0xf9)]});}),_0x4b73e3[_0x4adc36(0x115)](_0x4adc36(0x122),()=>{const _0x21ca5a=_0x4adc36;this[_0x21ca5a(0x112)](_0x21ca5a(0x122));});}[_0x3c83cc(0x116)](){const _0x181200=_0x3c83cc;this[_0x181200(0x119)]['on'](_0x181200(0x10e),()=>{const _0x2216d2=_0x181200;this[_0x2216d2(0x112)](_0x2216d2(0x10e));});}}
23
+ const _0x3cf6da=_0x50cf;(function(_0x4823a9,_0x129a13){const _0x269e71=_0x50cf,_0x2f6920=_0x4823a9();while(!![]){try{const _0x5b7fc3=-parseInt(_0x269e71(0xfb))/0x1*(parseInt(_0x269e71(0xf2))/0x2)+parseInt(_0x269e71(0x11b))/0x3+-parseInt(_0x269e71(0xef))/0x4*(parseInt(_0x269e71(0x10e))/0x5)+-parseInt(_0x269e71(0xfd))/0x6*(parseInt(_0x269e71(0xf7))/0x7)+parseInt(_0x269e71(0x124))/0x8*(-parseInt(_0x269e71(0x11a))/0x9)+-parseInt(_0x269e71(0x10c))/0xa*(-parseInt(_0x269e71(0xfc))/0xb)+parseInt(_0x269e71(0x102))/0xc;if(_0x5b7fc3===_0x129a13)break;else _0x2f6920['push'](_0x2f6920['shift']());}catch(_0x24f9d6){_0x2f6920['push'](_0x2f6920['shift']());}}}(_0x3511,0x1965f));function _0x3511(){const _0x357e97=['2539104iHEDSz','addedNodes','status','nodeName','toLowerCase','length','once','_items','createCollection','ready','145610JWwkpX','observe','1018460fCXuQI','addMany','setTemplate','cdnUrl','disconnect','filter','error','uc-cloud-image-editor','element','render','retry','ck-uploadcare-form','674118OzLfdP','432183jssCAn','add','_addErrorViewListeners','_addUploadcareImageEditorListeners','div','clear','_focusableView','target','ck-reset_all-excluded','16YclcUN','set','change:status','querySelector','4oQxmdi','_setView','fire','33268yiTqOA','_loadingView','getFocusableElement','addEventListener','_waitForImageEditorComponent','98klZIUu','cancel','_editingView','apply','1EarCSW','132IXPWIW','24096bJHfPq','focus','detail','_errorView','uploading'];_0x3511=function(){return _0x357e97;};return _0x3511();}import{View as _0x35abac}from'ckeditor5/src/ui.js';import _0x35d63f from'./uploadcareimageeditformloadingview.js';import _0x25c176 from'./uploadcareimageeditformerrorview.js';function _0x50cf(_0x4276e6,_0x16514e){const _0x3511fa=_0x3511();return _0x50cf=function(_0x50cf88,_0xbb8bb3){_0x50cf88=_0x50cf88-0xee;let _0x865329=_0x3511fa[_0x50cf88];return _0x865329;},_0x50cf(_0x4276e6,_0x16514e);}import _0x268791 from'./uploadcareimageeditformeditingview.js';import _0x395da7 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x395da7{[_0x3cf6da(0x109)];[_0x3cf6da(0xf3)];[_0x3cf6da(0x100)];[_0x3cf6da(0xf9)];[_0x3cf6da(0x121)];constructor(_0x444255,_0x290d99,_0x26d0b3){const _0x1fb95d=_0x3cf6da;super(_0x444255),this[_0x1fb95d(0x109)]=this[_0x1fb95d(0x10a)](),this[_0x1fb95d(0xf3)]=new _0x35d63f(_0x444255),this[_0x1fb95d(0x100)]=new _0x25c176(_0x444255),this[_0x1fb95d(0xf9)]=new _0x268791(_0x444255,_0x26d0b3),this[_0x1fb95d(0x121)]=new _0x35abac(_0x444255),this[_0x1fb95d(0x121)][_0x1fb95d(0x110)](this[_0x1fb95d(0xf4)]()),this[_0x1fb95d(0x125)](_0x1fb95d(0x104),_0x290d99),this[_0x1fb95d(0x110)]({'tag':_0x1fb95d(0x11f),'attributes':{'class':['ck',_0x1fb95d(0x123),_0x1fb95d(0x119)],'tabindex':'-1'},'children':this[_0x1fb95d(0x109)]}),this[_0x1fb95d(0xf0)](),this[_0x1fb95d(0x108)](_0x1fb95d(0x117),()=>{const _0x4e606d=_0x1fb95d;this[_0x4e606d(0xf6)](this[_0x4e606d(0x116)],_0x222cd5=>{const _0x3234b0=_0x4e606d;this[_0x3234b0(0x11e)](_0x222cd5);});}),this['on'](_0x1fb95d(0x126),()=>{const _0x44fb8d=_0x1fb95d;this[_0x44fb8d(0xf0)]();}),this[_0x1fb95d(0x11d)]();}[_0x3cf6da(0xfe)](){const _0x2213b7=_0x3cf6da;this[_0x2213b7(0x116)][_0x2213b7(0xfe)]();}[_0x3cf6da(0xf0)](){const _0x68e753=_0x3cf6da;switch(this[_0x68e753(0x109)][_0x68e753(0x120)](),this[_0x68e753(0x104)]){case _0x68e753(0x101):this[_0x68e753(0x109)][_0x68e753(0x11c)](this[_0x68e753(0xf3)]);break;case _0x68e753(0x114):this[_0x68e753(0x109)][_0x68e753(0x11c)](this[_0x68e753(0x100)]);break;case _0x68e753(0x10b):this[_0x68e753(0x109)][_0x68e753(0x10f)]([this[_0x68e753(0xf9)],this[_0x68e753(0x121)]]);}}[_0x3cf6da(0xf6)](_0xf6dcc5,_0x35111e){const _0xe0f8ad=_0x3cf6da,_0x5cd0e3=_0xe0f8ad(0x115),_0x14e557=_0xf6dcc5[_0xe0f8ad(0xee)](_0x5cd0e3);if(_0x14e557)return _0x35111e(_0x14e557);const _0x1d6b48=new MutationObserver(_0x1e5f8b=>{const _0x413aa6=_0xe0f8ad,_0x5e7ba0=_0x1e5f8b[_0x413aa6(0x113)](_0x1626c8=>_0x1626c8[_0x413aa6(0x122)]===_0xf6dcc5&&_0x1626c8[_0x413aa6(0x103)][_0x413aa6(0x107)]>0x0&&_0x1626c8[_0x413aa6(0x103)][0x0][_0x413aa6(0x105)][_0x413aa6(0x106)]()===_0x5cd0e3);_0x5e7ba0[_0x413aa6(0x107)]&&(_0x1d6b48[_0x413aa6(0x112)](),_0x35111e(_0x5e7ba0[0x0][_0x413aa6(0x103)][0x0]));});_0x1d6b48[_0xe0f8ad(0x10d)](_0xf6dcc5,{'childList':!0x0,'subtree':!0x0});}[_0x3cf6da(0x11e)](_0x3e0aeb){const _0x1dceb2=_0x3cf6da;_0x3e0aeb[_0x1dceb2(0xf5)](_0x1dceb2(0xfa),_0x8172bb=>{const _0x1a50a8=_0x1dceb2;this[_0x1a50a8(0xf1)](_0x1a50a8(0xfa),{'imageSrc':_0x8172bb[_0x1a50a8(0xff)][_0x1a50a8(0x111)]});}),_0x3e0aeb[_0x1dceb2(0xf5)](_0x1dceb2(0xf8),()=>{const _0x401ef6=_0x1dceb2;this[_0x401ef6(0xf1)](_0x401ef6(0xf8));});}[_0x3cf6da(0x11d)](){const _0x434e5a=_0x3cf6da;this[_0x434e5a(0x100)]['on'](_0x434e5a(0x118),()=>{const _0x3f4c42=_0x434e5a;this[_0x3f4c42(0xf1)](_0x3f4c42(0x118));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x934815=_0x2cf3;(function(_0x230d6d,_0x26d373){const _0x578a8a=_0x2cf3,_0x3ee1b7=_0x230d6d();while(!![]){try{const _0x47bcda=parseInt(_0x578a8a(0x9a))/0x1*(parseInt(_0x578a8a(0x9c))/0x2)+-parseInt(_0x578a8a(0x98))/0x3*(-parseInt(_0x578a8a(0x91))/0x4)+-parseInt(_0x578a8a(0xa1))/0x5*(parseInt(_0x578a8a(0x88))/0x6)+-parseInt(_0x578a8a(0x97))/0x7+parseInt(_0x578a8a(0x9f))/0x8*(parseInt(_0x578a8a(0x82))/0x9)+-parseInt(_0x578a8a(0x8c))/0xa+parseInt(_0x578a8a(0x8a))/0xb;if(_0x47bcda===_0x26d373)break;else _0x3ee1b7['push'](_0x3ee1b7['shift']());}catch(_0x5895dc){_0x3ee1b7['push'](_0x3ee1b7['shift']());}}}(_0x2ff0,0xeb396));import{Command as _0x2c158a}from'ckeditor5/src/core.js';import{Dialog as _0x2189bb}from'ckeditor5/src/ui.js';function _0x2ff0(){const _0x3311e9=['document','26896ukkiHz','element','430fCbaTb','set','1899LcInUr','execute','unbind','isEnabled','get','config','35526JIUswY','model','6897968FKGIgo','getSelectedElement','4576740FwOskN','isActive','_isEditable','uploadcare.allowExternalImagesEditing','requires','2228ecKoPs','imageEditController','editor','bind','selection','plugins','9458134XODwPU','7362usfyGk','imageInline','48181twgqSS','refresh','24lRCtto','imageBlock'];_0x2ff0=function(){return _0x3311e9;};return _0x2ff0();}function _0x2cf3(_0x145b62,_0x33cbc2){const _0x2ff087=_0x2ff0();return _0x2cf3=function(_0x2cf329,_0x2c5f3b){_0x2cf329=_0x2cf329-0x82;let _0x3b15e3=_0x2ff087[_0x2cf329];return _0x3b15e3;},_0x2cf3(_0x145b62,_0x33cbc2);}import _0x4e2f1c from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1ab5de}from'../utils/editingutils.js';export default class J extends _0x2c158a{[_0x934815(0x92)];static get[_0x934815(0x90)](){return[_0x2189bb];}[_0x934815(0x8e)];constructor(_0xaef9fd){const _0x4d11aa=_0x934815;super(_0xaef9fd),this[_0x4d11aa(0x92)]=void 0x0,this[_0x4d11aa(0x8e)]=_0x1ab5de(_0xaef9fd[_0x4d11aa(0x87)][_0x4d11aa(0x86)](_0x4d11aa(0x8f))||[]),this[_0x4d11aa(0xa2)]({'isActive':!0x1});}[_0x934815(0x9b)](){const _0x2ffa6c=_0x934815,_0x4eaf86=this[_0x2ffa6c(0x93)][_0x2ffa6c(0x89)][_0x2ffa6c(0x9e)][_0x2ffa6c(0x95)][_0x2ffa6c(0x8b)]();this[_0x2ffa6c(0x85)]=this[_0x2ffa6c(0x8e)](_0x4eaf86);}[_0x934815(0x83)](){const _0xffbfe7=_0x934815;this[_0xffbfe7(0x92)]&&(this[_0xffbfe7(0x84)](_0xffbfe7(0x8d)),this[_0xffbfe7(0x92)]=void 0x0);const _0x862f9f=this[_0xffbfe7(0x93)][_0xffbfe7(0x89)][_0xffbfe7(0x9e)][_0xffbfe7(0x95)][_0xffbfe7(0x8b)]();_0x862f9f&&(_0x862f9f['is'](_0xffbfe7(0xa0),_0xffbfe7(0x9d))||_0x862f9f['is'](_0xffbfe7(0xa0),_0xffbfe7(0x99)))&&(this[_0xffbfe7(0x92)]=new _0x4e2f1c(this[_0xffbfe7(0x93)],this[_0xffbfe7(0x93)][_0xffbfe7(0x96)][_0xffbfe7(0x86)](_0x2189bb),_0x862f9f),this[_0xffbfe7(0x94)](_0xffbfe7(0x8d))['to'](this[_0xffbfe7(0x92)],_0xffbfe7(0x8d)));}}
23
+ const _0x14c8a0=_0x1c9a;(function(_0x1ebadb,_0x5def28){const _0x1466c4=_0x1c9a,_0x186d23=_0x1ebadb();while(!![]){try{const _0x1e130a=-parseInt(_0x1466c4(0x1d3))/0x1+parseInt(_0x1466c4(0x1ba))/0x2*(-parseInt(_0x1466c4(0x1d1))/0x3)+-parseInt(_0x1466c4(0x1c9))/0x4*(-parseInt(_0x1466c4(0x1d5))/0x5)+-parseInt(_0x1466c4(0x1cd))/0x6*(-parseInt(_0x1466c4(0x1b9))/0x7)+parseInt(_0x1466c4(0x1c0))/0x8+-parseInt(_0x1466c4(0x1bc))/0x9+-parseInt(_0x1466c4(0x1d2))/0xa*(-parseInt(_0x1466c4(0x1c7))/0xb);if(_0x1e130a===_0x5def28)break;else _0x186d23['push'](_0x186d23['shift']());}catch(_0x212bd3){_0x186d23['push'](_0x186d23['shift']());}}}(_0x3aa0,0xd5b13));import{Command as _0x469754}from'ckeditor5/src/core.js';function _0x1c9a(_0x3410d0,_0x55d0a5){const _0x3aa0a9=_0x3aa0();return _0x1c9a=function(_0x1c9abd,_0x499d9d){_0x1c9abd=_0x1c9abd-0x1b6;let _0x15d978=_0x3aa0a9[_0x1c9abd];return _0x15d978;},_0x1c9a(_0x3410d0,_0x55d0a5);}import{Dialog as _0x3db3b1}from'ckeditor5/src/ui.js';import _0xf81ddd from'./ui/uploadcareimageeditcontroller.js';function _0x3aa0(){const _0x153cf2=['requires','14331672BRfAud','document','imageEditController','uploadcare.allowExternalImagesEditing','4584584WXrRTJ','getSelectedElement','isEnabled','execute','config','model','set','22kNlRbb','_isEditable','20668rgEiTD','element','plugins','get','6fDzVoB','imageBlock','isActive','editor','844755murOCM','5650770CDawVc','1043924HTtxdb','bind','1685ztJvNg','unbind','refresh','imageInline','selection','8354143MPKvhg','8FXyfMr'];_0x3aa0=function(){return _0x153cf2;};return _0x3aa0();}import{createEditabilityChecker as _0x34e976}from'../utils/editingutils.js';export default class J extends _0x469754{[_0x14c8a0(0x1be)];static get[_0x14c8a0(0x1bb)](){return[_0x3db3b1];}[_0x14c8a0(0x1c8)];constructor(_0x5be0d0){const _0x4ede65=_0x14c8a0;super(_0x5be0d0),this[_0x4ede65(0x1be)]=void 0x0,this[_0x4ede65(0x1c8)]=_0x34e976(_0x5be0d0[_0x4ede65(0x1c4)][_0x4ede65(0x1cc)](_0x4ede65(0x1bf))||[]),this[_0x4ede65(0x1c6)]({'isActive':!0x1});}[_0x14c8a0(0x1b6)](){const _0x36e97c=_0x14c8a0,_0x463359=this[_0x36e97c(0x1d0)][_0x36e97c(0x1c5)][_0x36e97c(0x1bd)][_0x36e97c(0x1b8)][_0x36e97c(0x1c1)]();this[_0x36e97c(0x1c2)]=this[_0x36e97c(0x1c8)](_0x463359);}[_0x14c8a0(0x1c3)](){const _0xecc105=_0x14c8a0;this[_0xecc105(0x1be)]&&(this[_0xecc105(0x1d6)](_0xecc105(0x1cf)),this[_0xecc105(0x1be)]=void 0x0);const _0x220316=this[_0xecc105(0x1d0)][_0xecc105(0x1c5)][_0xecc105(0x1bd)][_0xecc105(0x1b8)][_0xecc105(0x1c1)]();_0x220316&&(_0x220316['is'](_0xecc105(0x1ca),_0xecc105(0x1ce))||_0x220316['is'](_0xecc105(0x1ca),_0xecc105(0x1b7)))&&(this[_0xecc105(0x1be)]=new _0xf81ddd(this[_0xecc105(0x1d0)],this[_0xecc105(0x1d0)][_0xecc105(0x1cb)][_0xecc105(0x1cc)](_0x3db3b1),_0x220316),this[_0xecc105(0x1d4)](_0xecc105(0x1cf))['to'](this[_0xecc105(0x1be)],_0xecc105(0x1cf)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2179b7=_0x29c2;(function(_0x86786a,_0x1b0b63){const _0x49bc49=_0x29c2,_0x30fcde=_0x86786a();while(!![]){try{const _0x4c70c4=-parseInt(_0x49bc49(0xf4))/0x1*(-parseInt(_0x49bc49(0xe8))/0x2)+-parseInt(_0x49bc49(0xde))/0x3+-parseInt(_0x49bc49(0xef))/0x4*(parseInt(_0x49bc49(0xf3))/0x5)+parseInt(_0x49bc49(0xed))/0x6*(parseInt(_0x49bc49(0xf1))/0x7)+-parseInt(_0x49bc49(0xe2))/0x8*(parseInt(_0x49bc49(0xe9))/0x9)+parseInt(_0x49bc49(0xe3))/0xa+parseInt(_0x49bc49(0xe5))/0xb;if(_0x4c70c4===_0x1b0b63)break;else _0x30fcde['push'](_0x30fcde['shift']());}catch(_0x51e237){_0x30fcde['push'](_0x30fcde['shift']());}}}(_0x2437,0x36eda));import{Plugin as _0x37b5e4}from'ckeditor5/src/core.js';import{Notification as _0x3864e0}from'ckeditor5/src/ui.js';import _0x3bb64b from'./uploadcareimageeditcommand.js';function _0x29c2(_0x40cf8c,_0x294e3c){const _0x24379d=_0x2437();return _0x29c2=function(_0x29c2b8,_0x40cb65){_0x29c2b8=_0x29c2b8-0xde;let _0x583a2a=_0x24379d[_0x29c2b8];return _0x583a2a;},_0x29c2(_0x40cf8c,_0x294e3c);}function _0x2437(){const _0x10ac02=['3017421Koarnm','isPremiumPlugin','requires','193068gKcESP','1418103jadnQg','commands','init','pluginName','146424Lmregy','uploadcareImageReplace','8SqopJO','uploadcareImageEdit','105KcgwOb','UploadcareImageEditEditing','601245YBsHad','2ZXSCBl','681039JLqpON','isOfficialPlugin','ImageEditing','ImageUtils','16ehOKYO','1741920IOSZpt','add'];_0x2437=function(){return _0x10ac02;};return _0x2437();}import _0x67a03c from'./uploadcareimagereplacecommand.js';import _0x54ef7e from'../uploadcareediting.js';export default class g extends _0x37b5e4{static get[_0x2179b7(0xec)](){const _0x24d104=_0x2179b7;return _0x24d104(0xf2);}static get[_0x2179b7(0xe7)](){const _0x1ea447=_0x2179b7;return[_0x54ef7e,_0x3864e0,_0x1ea447(0xe1),_0x1ea447(0xe0)];}static get[_0x2179b7(0xdf)](){return!0x0;}static get[_0x2179b7(0xe6)](){return!0x0;}[_0x2179b7(0xeb)](){const _0xc7f4b0=_0x2179b7,{editor:_0x3fcd3d}=this;_0x3fcd3d[_0xc7f4b0(0xea)][_0xc7f4b0(0xe4)](_0xc7f4b0(0xf0),new _0x3bb64b(_0x3fcd3d)),_0x3fcd3d[_0xc7f4b0(0xea)][_0xc7f4b0(0xe4)](_0xc7f4b0(0xee),new _0x67a03c(_0x3fcd3d));}}
23
+ const _0x2f78af=_0x4a02;(function(_0x425b45,_0x290679){const _0x2efbae=_0x4a02,_0x23f27d=_0x425b45();while(!![]){try{const _0x22e978=-parseInt(_0x2efbae(0x159))/0x1*(-parseInt(_0x2efbae(0x160))/0x2)+-parseInt(_0x2efbae(0x165))/0x3+parseInt(_0x2efbae(0x15b))/0x4+-parseInt(_0x2efbae(0x166))/0x5*(parseInt(_0x2efbae(0x15d))/0x6)+-parseInt(_0x2efbae(0x154))/0x7*(parseInt(_0x2efbae(0x162))/0x8)+parseInt(_0x2efbae(0x153))/0x9+-parseInt(_0x2efbae(0x161))/0xa;if(_0x22e978===_0x290679)break;else _0x23f27d['push'](_0x23f27d['shift']());}catch(_0x589bb5){_0x23f27d['push'](_0x23f27d['shift']());}}}(_0x506f,0xa2496));function _0x4a02(_0x538f87,_0x1eb759){const _0x506fe1=_0x506f();return _0x4a02=function(_0x4a0298,_0x230478){_0x4a0298=_0x4a0298-0x153;let _0x56f273=_0x506fe1[_0x4a0298];return _0x56f273;},_0x4a02(_0x538f87,_0x1eb759);}import{Plugin as _0x36d0a2}from'ckeditor5/src/core.js';import{Notification as _0x3b8b04}from'ckeditor5/src/ui.js';import _0xb1770e from'./uploadcareimageeditcommand.js';import _0x351bd7 from'./uploadcareimagereplacecommand.js';function _0x506f(){const _0x584626=['281195EyItUh','uploadcareImageReplace','isOfficialPlugin','3910815HySUGj','679xOfyLg','ImageUtils','isPremiumPlugin','ImageEditing','add','2SmcJJU','commands','5313524MABLAK','init','36Kvscbl','UploadcareImageEditEditing','pluginName','463642xfUuyV','6683560ssPBxr','6512PUWwRX','requires','uploadcareImageEdit','1431252XkvhJz'];_0x506f=function(){return _0x584626;};return _0x506f();}import _0x5ea466 from'../uploadcareediting.js';export default class g extends _0x36d0a2{static get[_0x2f78af(0x15f)](){const _0x5a36ba=_0x2f78af;return _0x5a36ba(0x15e);}static get[_0x2f78af(0x163)](){const _0x2ce310=_0x2f78af;return[_0x5ea466,_0x3b8b04,_0x2ce310(0x155),_0x2ce310(0x157)];}static get[_0x2f78af(0x168)](){return!0x0;}static get[_0x2f78af(0x156)](){return!0x0;}[_0x2f78af(0x15c)](){const _0x3cf270=_0x2f78af,{editor:_0xa3d344}=this;_0xa3d344[_0x3cf270(0x15a)][_0x3cf270(0x158)](_0x3cf270(0x164),new _0xb1770e(_0xa3d344)),_0xa3d344[_0x3cf270(0x15a)][_0x3cf270(0x158)](_0x3cf270(0x167),new _0x351bd7(_0xa3d344));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1201d0}from'ckeditor5/src/core.js';import{ButtonView as _0x4208c1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c7b71}from'ckeditor5/src/icons.js';import{createElement as _0x31106f}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1201d0{['_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 _0x2a3496=this['editor'];_0x2a3496['ui']['componentFactory']['add']('uploadcareImageEdit',_0x152def=>{const _0x351747=_0x2a3496['commands']['get']('uploadcareImageEdit'),_0x4093a2=new _0x4208c1(_0x152def),t=_0x152def['t'];return _0x4093a2['set']({'icon':_0x5c7b71,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4093a2['bind']('isEnabled')['to'](_0x351747),_0x4093a2['bind']('isOn')['to'](_0x351747,'isActive'),this['listenTo'](_0x4093a2,'execute',()=>{_0x2a3496['execute']('uploadcareImageEdit'),_0x2a3496['editing']['view']['focus']();}),_0x4093a2;}),this['_initConfig']();}['_initConfig'](){const _0x55a2d2=_0x31106f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x55a2d2),this['listenTo'](this['editor'],'destroy',()=>{_0x55a2d2['remove']();});}}
23
+ import{Plugin as _0x58f99a}from'ckeditor5/src/core.js';import{ButtonView as _0x29d8dd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x44b429}from'ckeditor5/src/icons.js';import{createElement as _0x4b50ce}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x58f99a{['_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 _0x3b63a6=this['editor'];_0x3b63a6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x47d885=>{const _0x50e875=_0x3b63a6['commands']['get']('uploadcareImageEdit'),_0x184b85=new _0x29d8dd(_0x47d885),t=_0x47d885['t'];return _0x184b85['set']({'icon':_0x44b429,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x184b85['bind']('isEnabled')['to'](_0x50e875),_0x184b85['bind']('isOn')['to'](_0x50e875,'isActive'),this['listenTo'](_0x184b85,'execute',()=>{_0x3b63a6['execute']('uploadcareImageEdit'),_0x3b63a6['editing']['view']['focus']();}),_0x184b85;}),this['_initConfig']();}['_initConfig'](){const _0x5490ef=_0x4b50ce(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5490ef),this['listenTo'](this['editor'],'destroy',()=>{_0x5490ef['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5615(_0x5b4b9c,_0x3352d2){const _0x5a0578=_0x5a05();return _0x5615=function(_0x56158b,_0xaa219c){_0x56158b=_0x56158b-0xb0;let _0x4d1aac=_0x5a0578[_0x56158b];return _0x4d1aac;},_0x5615(_0x5b4b9c,_0x3352d2);}const _0x56072c=_0x5615;(function(_0x16427e,_0x56cbb7){const _0x57dc24=_0x5615,_0x39042e=_0x16427e();while(!![]){try{const _0x4ae7b8=parseInt(_0x57dc24(0xc4))/0x1+parseInt(_0x57dc24(0xb1))/0x2*(parseInt(_0x57dc24(0xb7))/0x3)+parseInt(_0x57dc24(0xbc))/0x4+parseInt(_0x57dc24(0xbe))/0x5*(-parseInt(_0x57dc24(0xbd))/0x6)+parseInt(_0x57dc24(0xb2))/0x7*(parseInt(_0x57dc24(0xc0))/0x8)+-parseInt(_0x57dc24(0xc9))/0x9+parseInt(_0x57dc24(0xc6))/0xa*(-parseInt(_0x57dc24(0xc7))/0xb);if(_0x4ae7b8===_0x56cbb7)break;else _0x39042e['push'](_0x39042e['shift']());}catch(_0x9bccd5){_0x39042e['push'](_0x39042e['shift']());}}}(_0x5a05,0x6298b));import{Command as _0x509174}from'ckeditor5/src/core.js';function _0x5a05(){const _0x441b85=['setAttributes','model','element','document','2317400IsHvxx','38970OzVKvt','155zHmhnc','getSelectedElement','16LpucyU','sizes','refresh','selection','387190LcPyEM','isEnabled','4907460wjRtKs','11FOnOgI','imageInline','6874380iTZLVV','srcset','execute','40ubLHXy','1155497JYJeyP','imageBlock','editor','removeAttribute','change','84462MLKvTK'];_0x5a05=function(){return _0x441b85;};return _0x5a05();}export default class O extends _0x509174{[_0x56072c(0xc2)](){const _0x16c41e=_0x56072c,_0x186acb=this[_0x16c41e(0xb4)][_0x16c41e(0xb9)][_0x16c41e(0xbb)][_0x16c41e(0xc3)][_0x16c41e(0xbf)]();this[_0x16c41e(0xc5)]=Boolean(_0x186acb&&(_0x186acb['is'](_0x16c41e(0xba),_0x16c41e(0xb3))||_0x186acb['is'](_0x16c41e(0xba),_0x16c41e(0xc8))));}[_0x56072c(0xb0)](_0x4c3bc0){const _0x5d1af4=_0x56072c,_0x386a99=this[_0x5d1af4(0xb4)][_0x5d1af4(0xb9)][_0x5d1af4(0xbb)][_0x5d1af4(0xc3)][_0x5d1af4(0xbf)]();this[_0x5d1af4(0xb4)][_0x5d1af4(0xb9)][_0x5d1af4(0xb6)](_0x39098b=>{const _0x23b5dd=_0x5d1af4;_0x39098b[_0x23b5dd(0xb8)](_0x4c3bc0,_0x386a99),_0x39098b[_0x23b5dd(0xb5)](_0x23b5dd(0xca),_0x386a99),_0x39098b[_0x23b5dd(0xb5)](_0x23b5dd(0xc1),_0x386a99);});}}
23
+ const _0x72c5bf=_0x1a3c;(function(_0x4e3133,_0x133540){const _0x2dea86=_0x1a3c,_0x8b8d1f=_0x4e3133();while(!![]){try{const _0x29aa38=parseInt(_0x2dea86(0x1bc))/0x1*(-parseInt(_0x2dea86(0x1c1))/0x2)+-parseInt(_0x2dea86(0x1ae))/0x3*(-parseInt(_0x2dea86(0x1b1))/0x4)+-parseInt(_0x2dea86(0x1b0))/0x5+-parseInt(_0x2dea86(0x1b3))/0x6*(parseInt(_0x2dea86(0x1b9))/0x7)+parseInt(_0x2dea86(0x1bd))/0x8+parseInt(_0x2dea86(0x1b2))/0x9+parseInt(_0x2dea86(0x1af))/0xa;if(_0x29aa38===_0x133540)break;else _0x8b8d1f['push'](_0x8b8d1f['shift']());}catch(_0x2471b4){_0x8b8d1f['push'](_0x8b8d1f['shift']());}}}(_0x1245,0x88c32));import{Command as _0x4b01b5}from'ckeditor5/src/core.js';function _0x1245(){const _0x3b80e6=['698qRHxfe','3797224VshUFQ','imageInline','selection','imageBlock','2842ihvQKp','setAttributes','element','removeAttribute','sizes','refresh','model','51roVJlF','6112360xnkIdp','861125AKKNJk','63852ffBCjC','6705873FHRmeq','283572DmkEAP','document','isEnabled','getSelectedElement','srcset','editor','56dfzHOg','change','execute'];_0x1245=function(){return _0x3b80e6;};return _0x1245();}function _0x1a3c(_0xeaaa8b,_0x46ce5e){const _0x1245ae=_0x1245();return _0x1a3c=function(_0x1a3c5d,_0x5ce913){_0x1a3c5d=_0x1a3c5d-0x1ac;let _0x50fb1c=_0x1245ae[_0x1a3c5d];return _0x50fb1c;},_0x1a3c(_0xeaaa8b,_0x46ce5e);}export default class O extends _0x4b01b5{[_0x72c5bf(0x1ac)](){const _0x5917f7=_0x72c5bf,_0x2cb07e=this[_0x5917f7(0x1b8)][_0x5917f7(0x1ad)][_0x5917f7(0x1b4)][_0x5917f7(0x1bf)][_0x5917f7(0x1b6)]();this[_0x5917f7(0x1b5)]=Boolean(_0x2cb07e&&(_0x2cb07e['is'](_0x5917f7(0x1c3),_0x5917f7(0x1c0))||_0x2cb07e['is'](_0x5917f7(0x1c3),_0x5917f7(0x1be))));}[_0x72c5bf(0x1bb)](_0x547116){const _0x1c1b3d=_0x72c5bf,_0x44ac29=this[_0x1c1b3d(0x1b8)][_0x1c1b3d(0x1ad)][_0x1c1b3d(0x1b4)][_0x1c1b3d(0x1bf)][_0x1c1b3d(0x1b6)]();this[_0x1c1b3d(0x1b8)][_0x1c1b3d(0x1ad)][_0x1c1b3d(0x1ba)](_0xd676a6=>{const _0x6ac7bd=_0x1c1b3d;_0xd676a6[_0x6ac7bd(0x1c2)](_0x547116,_0x44ac29),_0xd676a6[_0x6ac7bd(0x1c4)](_0x6ac7bd(0x1b7),_0x44ac29),_0xd676a6[_0x6ac7bd(0x1c4)](_0x6ac7bd(0x1c5),_0x44ac29);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x516a4e=_0x33cd;(function(_0xc478c2,_0x1104f9){var _0xc03405=_0x33cd,_0x304b2c=_0xc478c2();while(!![]){try{var _0x4f27b6=parseInt(_0xc03405(0x9d))/0x1*(-parseInt(_0xc03405(0xa4))/0x2)+-parseInt(_0xc03405(0x99))/0x3+-parseInt(_0xc03405(0x9a))/0x4+parseInt(_0xc03405(0x9f))/0x5+-parseInt(_0xc03405(0xa5))/0x6+parseInt(_0xc03405(0xa1))/0x7*(-parseInt(_0xc03405(0x9e))/0x8)+parseInt(_0xc03405(0x97))/0x9*(parseInt(_0xc03405(0xa3))/0xa);if(_0x4f27b6===_0x1104f9)break;else _0x304b2c['push'](_0x304b2c['shift']());}catch(_0x20ed71){_0x304b2c['push'](_0x304b2c['shift']());}}}(_0x50f4,0x50a5b));function _0x33cd(_0x877098,_0x1bfce4){var _0x50f43b=_0x50f4();return _0x33cd=function(_0x33cd9a,_0x400143){_0x33cd9a=_0x33cd9a-0x97;var _0x2fdb7f=_0x50f43b[_0x33cd9a];return _0x2fdb7f;},_0x33cd(_0x877098,_0x1bfce4);}import{Plugin as _0x558431}from'ckeditor5/src/core.js';function _0x50f4(){var _0x358a0b=['isPremiumPlugin','1882011iFAOmF','987168YbtqhS','UploadcareImageEdit','isOfficialPlugin','19YRDPrv','2561432tHjnfm','546830fKLmNj','pluginName','7TKKtiv','requires','10bmXAZM','25684EFhZxy','3155280RPDkuq','19666359pRvmQh'];_0x50f4=function(){return _0x358a0b;};return _0x50f4();}import _0x3dc28d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x21b0cf from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x558431{static get[_0x516a4e(0xa0)](){var _0x29ee7c=_0x516a4e;return _0x29ee7c(0x9b);}static get[_0x516a4e(0xa2)](){return[_0x3dc28d,_0x21b0cf];}static get[_0x516a4e(0x9c)](){return!0x0;}static get[_0x516a4e(0x98)](){return!0x0;}}
23
+ var _0x4a6263=_0x558f;(function(_0x386f73,_0x52e0f0){var _0x3f6ae0=_0x558f,_0x283246=_0x386f73();while(!![]){try{var _0x5ebc9c=parseInt(_0x3f6ae0(0x83))/0x1*(parseInt(_0x3f6ae0(0x7c))/0x2)+parseInt(_0x3f6ae0(0x89))/0x3*(-parseInt(_0x3f6ae0(0x8b))/0x4)+parseInt(_0x3f6ae0(0x7f))/0x5*(parseInt(_0x3f6ae0(0x7a))/0x6)+parseInt(_0x3f6ae0(0x80))/0x7+-parseInt(_0x3f6ae0(0x8a))/0x8*(parseInt(_0x3f6ae0(0x7b))/0x9)+-parseInt(_0x3f6ae0(0x81))/0xa*(-parseInt(_0x3f6ae0(0x85))/0xb)+parseInt(_0x3f6ae0(0x7e))/0xc*(-parseInt(_0x3f6ae0(0x7d))/0xd);if(_0x5ebc9c===_0x52e0f0)break;else _0x283246['push'](_0x283246['shift']());}catch(_0x1bd4c8){_0x283246['push'](_0x283246['shift']());}}}(_0x3e89,0x3600a));import{Plugin as _0x364078}from'ckeditor5/src/core.js';function _0x3e89(){var _0x4ece98=['UploadcareImageEdit','2893MunsOF','requires','pluginName','isOfficialPlugin','57MbHhvM','56wkWxiS','21324PlvgRI','6rvmoDX','478674mesEhj','116962GDqkqs','182gNCOlT','259284FDOVra','1830590cetgGf','1236242BkNwsP','15060InKotw','isPremiumPlugin','1iFspVh'];_0x3e89=function(){return _0x4ece98;};return _0x3e89();}import _0x1f0458 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1ec2b6 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x558f(_0x5ba25e,_0x191a3b){var _0x3e893e=_0x3e89();return _0x558f=function(_0x558fca,_0x49ef07){_0x558fca=_0x558fca-0x7a;var _0x3baee2=_0x3e893e[_0x558fca];return _0x3baee2;},_0x558f(_0x5ba25e,_0x191a3b);}export default class P extends _0x364078{static get[_0x4a6263(0x87)](){var _0x576cc2=_0x4a6263;return _0x576cc2(0x84);}static get[_0x4a6263(0x86)](){return[_0x1f0458,_0x1ec2b6];}static get[_0x4a6263(0x88)](){return!0x0;}static get[_0x4a6263(0x82)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4db2cb=_0x4fb0;(function(_0xe0f1e,_0x13dc50){const _0x3760df=_0x4fb0,_0x2b4ef0=_0xe0f1e();while(!![]){try{const _0x27a4a2=-parseInt(_0x3760df(0x1a5))/0x1+parseInt(_0x3760df(0x19a))/0x2*(-parseInt(_0x3760df(0x1e1))/0x3)+parseInt(_0x3760df(0x1b5))/0x4*(-parseInt(_0x3760df(0x1a6))/0x5)+parseInt(_0x3760df(0x1cc))/0x6+-parseInt(_0x3760df(0x199))/0x7+-parseInt(_0x3760df(0x1dd))/0x8+-parseInt(_0x3760df(0x1c0))/0x9*(-parseInt(_0x3760df(0x1cd))/0xa);if(_0x27a4a2===_0x13dc50)break;else _0x2b4ef0['push'](_0x2b4ef0['shift']());}catch(_0x522741){_0x2b4ef0['push'](_0x2b4ef0['shift']());}}}(_0x2ba3,0x64219));import{Plugin as _0x2d9734}from'ckeditor5/src/core.js';import{IconDropbox as _0x59a8da,IconFacebook as _0x54020c,IconGoogleDrive as _0x142cdf,IconGooglePhotos as _0x4cc985,IconUploadcareImageUpload as _0x92035f,IconUploadcareLink as _0x48ae5f,IconOneDrive as _0xd9aec1}from'ckeditor5/src/icons.js';import{ButtonView as _0x119a66,MenuBarMenuListItemButtonView as _0x39bb44}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x20b9fe}from'./uploadcareconfig.js';function _0x2ba3(){const _0x3c969c=['isOfficialPlugin','Facebook','registerIntegration','uploadcareLicenseKeyTrialLimit','isEnabled','uploadcareLicenseKeyInvalid','UploadcareUI','98948fFnIxa','ImageInsertUI','afterInit','execute','shortText','Local','uploadcareLicenseKeyUsageLimit','_showLicenseError','featureNotAllowed','_normalizeConfigSourceList','config','13968ixOcOk','uploadcareLicenseKeyDomainLimit','push','reduce','destroy','forEach','Insert','expired','uploadcare','editor','locale','URL','4523082jLCXJs','9910BrhHfg','bind','GDrive','pluginName','domainLimit','evaluationLimit','licenseKey','plugins','isImageSelected','upload','commands','assetManager','entries','Uploadcare','type','Replace','5422952QtwhgF','_createMenuBarButtons','uploadcareLicenseKeyExpired','_createDropdownButtons','28941zauYZS','GPhotos','_getIntegrationKey','usageLimit','_createToolbarButton','icon','text','url','_licenseKeyCheckInterval','2554307IloRdZ','158Wdsiob','Dropbox','withText','_createButton','OneDrive','uploadcareLicenseKeyValid','get','uploadcareLicenseKeyNotAllowed','init','isPremiumPlugin','label','2648PbIifw','15HLaeSj','tooltip','has','uploadcareLicenseKeyEvaluationLimit','map','trialLimit','invalid','uploadcare.uploader.sourceList'];_0x2ba3=function(){return _0x3c969c;};return _0x2ba3();}function _0x4fb0(_0x49e0c6,_0x2f7651){const _0x2ba3b6=_0x2ba3();return _0x4fb0=function(_0x4fb0ef,_0x4ca792){_0x4fb0ef=_0x4fb0ef-0x197;let _0x5e08fe=_0x2ba3b6[_0x4fb0ef];return _0x5e08fe;},_0x4fb0(_0x49e0c6,_0x2f7651);}import{getTranslation as _0x57ee21}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 default class e extends _0x2d9734{[_0x4db2cb(0x1d3)];[_0x4db2cb(0x198)];static get[_0x4db2cb(0x1d0)](){const _0x3d0da3=_0x4db2cb;return _0x3d0da3(0x1b4);}static get[_0x4db2cb(0x1ae)](){return!0x0;}static get[_0x4db2cb(0x1a3)](){return!0x0;}[_0x4db2cb(0x1a2)](){const _0x30f985=_0x4db2cb;this[_0x30f985(0x1d3)]=this[_0x30f985(0x1c9)][_0x30f985(0x1bf)][_0x30f985(0x1a0)](_0x30f985(0x1d3));const _0x4c3fb6=this[_0x30f985(0x1c9)];this[_0x30f985(0x198)]=setInterval(()=>{const _0x555c2c=_0x30f985;let _0x1f13c1;for(const _0x70cbff in _0x4c3fb6){const _0x16af44=_0x70cbff,_0x472bae=_0x4c3fb6[_0x16af44];if(_0x555c2c(0x19f)==_0x472bae||_0x555c2c(0x1b3)==_0x472bae||_0x555c2c(0x1df)==_0x472bae||_0x555c2c(0x1c1)==_0x472bae||_0x555c2c(0x1a1)==_0x472bae||_0x555c2c(0x1a9)==_0x472bae||_0x555c2c(0x1b1)==_0x472bae||_0x555c2c(0x1bb)==_0x472bae){delete _0x4c3fb6[_0x16af44],_0x1f13c1=_0x472bae,clearInterval(this[_0x555c2c(0x198)]),this[_0x555c2c(0x198)]=void 0x0;break;}}_0x555c2c(0x1b3)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1ac)),_0x555c2c(0x1df)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1c7)),_0x555c2c(0x1c1)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1d1)),_0x555c2c(0x1a1)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1bd),_0x555c2c(0x1da)),_0x555c2c(0x1a9)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1d2)),_0x555c2c(0x1b1)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1ab)),_0x555c2c(0x1bb)==_0x1f13c1&&_0x4c3fb6[_0x555c2c(0x1bc)](_0x555c2c(0x1e4));},0x3e8);}[_0x4db2cb(0x1b7)](){const _0x1d3fda=_0x4db2cb,{editor:_0x2e621b}=this,_0x2da4c7=_0x2e621b[_0x1d3fda(0x1d7)][_0x1d3fda(0x1a0)](_0x1d3fda(0x1c8));if(!_0x2da4c7)return;const _0x2e98a7=this[_0x1d3fda(0x1be)](_0x2e621b[_0x1d3fda(0x1bf)][_0x1d3fda(0x1a0)](_0x1d3fda(0x1ad)))[_0x1d3fda(0x1c3)]((_0x2e167a,_0x22b355)=>{const _0x440f6e=_0x1d3fda,_0x226f65=this[_0x440f6e(0x1e3)](_0x22b355[_0x440f6e(0x1db)]);return _0x2e167a[_0x226f65]||(_0x2e167a[_0x226f65]=[]),_0x2e167a[_0x226f65][_0x440f6e(0x1c2)](_0x22b355),_0x2e167a;},{});_0x2e621b[_0x1d3fda(0x1d4)][_0x1d3fda(0x1a8)](_0x1d3fda(0x1b6))&&_0x2e621b[_0x1d3fda(0x1d7)][_0x1d3fda(0x1a0)](_0x1d3fda(0x1c8))&&Object[_0x1d3fda(0x1d9)](_0x2e98a7)[_0x1d3fda(0x1c5)](([_0x13e13b,_0x367391])=>{const _0x1b4f1c=_0x1d3fda;_0x2e621b[_0x1b4f1c(0x1d4)][_0x1b4f1c(0x1a0)](_0x1b4f1c(0x1b6))[_0x1b4f1c(0x1b0)]({'name':_0x13e13b,'observable':()=>_0x2da4c7,'buttonViewCreator':()=>this[_0x1b4f1c(0x1e5)](_0x367391),'formViewCreator':()=>this[_0x1b4f1c(0x1e0)](_0x367391),'menuBarButtonViewCreator':()=>this[_0x1b4f1c(0x1de)](_0x367391),'override':_0x1b4f1c(0x1d8)!==_0x13e13b});});}[_0x4db2cb(0x1c4)](){const _0x589d80=_0x4db2cb;super[_0x589d80(0x1c4)](),this[_0x589d80(0x198)]&&clearInterval(this[_0x589d80(0x198)]);}[_0x4db2cb(0x1be)](_0x2393bf){const _0x17c1ae=_0x4db2cb,{locale:_0x51200f}=this[_0x17c1ae(0x1c9)];return _0x2393bf[_0x17c1ae(0x1aa)](_0x4b9bda=>{const _0x5c334f=_0x17c1ae,_0x238fbd=_0x57ee21(_0x51200f,_0x4b9bda,_0x5c334f(0x1c6));switch(_0x4b9bda){case _0x20b9fe[_0x5c334f(0x1ba)]:return{'icon':_0x92035f,'type':_0x20b9fe[_0x5c334f(0x1ba)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1cb)]:return{'icon':_0x48ae5f,'type':_0x20b9fe[_0x5c334f(0x1cb)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x19b)]:return{'icon':_0x59a8da,'type':_0x20b9fe[_0x5c334f(0x19b)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1af)]:return{'icon':_0x54020c,'type':_0x20b9fe[_0x5c334f(0x1af)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1cf)]:return{'icon':_0x142cdf,'type':_0x20b9fe[_0x5c334f(0x1cf)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x1e2)]:return{'icon':_0x4cc985,'type':_0x20b9fe[_0x5c334f(0x1e2)],..._0x238fbd};case _0x20b9fe[_0x5c334f(0x19e)]:return{'icon':_0xd9aec1,'type':_0x20b9fe[_0x5c334f(0x19e)],..._0x238fbd};}});}[_0x4db2cb(0x1e3)](_0xff7c1c){const _0x145067=_0x4db2cb;switch(_0xff7c1c){case _0x20b9fe[_0x145067(0x1ba)]:return _0x145067(0x1d6);case _0x20b9fe[_0x145067(0x1cb)]:return _0x145067(0x197);default:return _0x145067(0x1d8);}}[_0x4db2cb(0x19d)](_0x4de53d,_0x2bb564){const _0x30116a=_0x4db2cb,_0x1c1c61=this[_0x30116a(0x1c9)],_0x15f491=new _0x4de53d(_0x1c1c61[_0x30116a(0x1ca)]),_0x53c0cf=_0x1c1c61[_0x30116a(0x1d7)][_0x30116a(0x1a0)](_0x30116a(0x1c8));return _0x15f491[_0x30116a(0x1ce)](_0x30116a(0x1b2))['to'](_0x53c0cf),_0x15f491['on'](_0x30116a(0x1b8),()=>{const _0x138caf=_0x30116a;_0x53c0cf[_0x138caf(0x1b8)](_0x2bb564);}),_0x15f491;}[_0x4db2cb(0x1e5)](_0x290636){const _0x14ee40=_0x4db2cb,{locale:_0x21fe96}=this[_0x14ee40(0x1c9)],_0x2f9b03=this[_0x14ee40(0x1c9)][_0x14ee40(0x1d4)][_0x14ee40(0x1a0)](_0x14ee40(0x1b6)),_0x4ec495=_0x290636[0x0],_0x57fe8a=this[_0x14ee40(0x19d)](_0x119a66,_0x4ec495[_0x14ee40(0x1db)]);return _0x57fe8a[_0x14ee40(0x1e6)]=_0x4ec495[_0x14ee40(0x1e6)],_0x57fe8a[_0x14ee40(0x1ce)](_0x14ee40(0x1a4))['to'](_0x2f9b03,_0x14ee40(0x1d5),_0x33e3b0=>_0x57ee21(_0x21fe96,_0x4ec495[_0x14ee40(0x1db)],_0x33e3b0?_0x14ee40(0x1dc):_0x14ee40(0x1c6))[_0x14ee40(0x1e7)]),_0x57fe8a[_0x14ee40(0x1a7)]=!0x0,_0x57fe8a;}[_0x4db2cb(0x1e0)](_0x370ccb){const _0x1f1609=_0x4db2cb,{locale:_0x16944e}=this[_0x1f1609(0x1c9)],_0x934741=this[_0x1f1609(0x1c9)][_0x1f1609(0x1d4)][_0x1f1609(0x1a0)](_0x1f1609(0x1b6));return _0x370ccb[_0x1f1609(0x1aa)](_0x53c135=>{const _0x5cf7f7=_0x1f1609,_0x1b5385=this[_0x5cf7f7(0x19d)](_0x119a66,_0x53c135[_0x5cf7f7(0x1db)]);return _0x1b5385[_0x5cf7f7(0x19c)]=!0x0,_0x1b5385[_0x5cf7f7(0x1e6)]=_0x53c135[_0x5cf7f7(0x1e6)],_0x1b5385[_0x5cf7f7(0x1ce)](_0x5cf7f7(0x1a4))['to'](_0x934741,_0x5cf7f7(0x1d5),_0x1b795d=>_0x57ee21(_0x16944e,_0x53c135[_0x5cf7f7(0x1db)],_0x1b795d?_0x5cf7f7(0x1dc):_0x5cf7f7(0x1c6))[_0x5cf7f7(0x1e7)]),_0x1b5385;});}[_0x4db2cb(0x1de)](_0x4f335b){const _0x267ad1=_0x4db2cb;return _0x4f335b[_0x267ad1(0x1aa)](_0x3f29ad=>{const _0x27e55f=_0x267ad1,_0x1a03f3=this[_0x27e55f(0x19d)](_0x39bb44,_0x3f29ad[_0x27e55f(0x1db)]);return _0x1a03f3[_0x27e55f(0x1e6)]=_0x3f29ad[_0x27e55f(0x1e6)],_0x1a03f3[_0x27e55f(0x1a4)]=_0x3f29ad[_0x27e55f(0x1b9)],_0x1a03f3;});}}
23
+ const _0x10aa8e=_0x5a8b;(function(_0x1f5363,_0x42f980){const _0x54d6db=_0x5a8b,_0x65f6b4=_0x1f5363();while(!![]){try{const _0x3a04a8=parseInt(_0x54d6db(0x1f9))/0x1+-parseInt(_0x54d6db(0x1e9))/0x2+parseInt(_0x54d6db(0x1cc))/0x3*(parseInt(_0x54d6db(0x1bf))/0x4)+-parseInt(_0x54d6db(0x1f0))/0x5*(-parseInt(_0x54d6db(0x1b0))/0x6)+parseInt(_0x54d6db(0x1d1))/0x7*(-parseInt(_0x54d6db(0x1b6))/0x8)+-parseInt(_0x54d6db(0x1b7))/0x9*(parseInt(_0x54d6db(0x1da))/0xa)+parseInt(_0x54d6db(0x1f2))/0xb;if(_0x3a04a8===_0x42f980)break;else _0x65f6b4['push'](_0x65f6b4['shift']());}catch(_0x52228f){_0x65f6b4['push'](_0x65f6b4['shift']());}}}(_0x4c1d,0xabb8a));import{Plugin as _0x31c95d}from'ckeditor5/src/core.js';function _0x5a8b(_0x24fb5d,_0x5aaaf8){const _0x4c1de8=_0x4c1d();return _0x5a8b=function(_0x5a8bda,_0x52a460){_0x5a8bda=_0x5a8bda-0x1a9;let _0x259ddb=_0x4c1de8[_0x5a8bda];return _0x259ddb;},_0x5a8b(_0x24fb5d,_0x5aaaf8);}import{IconDropbox as _0x52c636,IconFacebook as _0x2d4569,IconGoogleDrive as _0xffe3d5,IconGooglePhotos as _0x324f0b,IconUploadcareImageUpload as _0x145b9f,IconUploadcareLink as _0x511370,IconOneDrive as _0x15ae2c}from'ckeditor5/src/icons.js';import{ButtonView as _0x335350,MenuBarMenuListItemButtonView as _0x5d7bcd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4d5eac}from'./uploadcareconfig.js';import{getTranslation as _0x523c2b}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 default class e extends _0x31c95d{[_0x10aa8e(0x1d4)];[_0x10aa8e(0x1d7)];static get[_0x10aa8e(0x1df)](){const _0x2f93ce=_0x10aa8e;return _0x2f93ce(0x1e2);}static get[_0x10aa8e(0x1bd)](){return!0x0;}static get[_0x10aa8e(0x1d9)](){return!0x0;}[_0x10aa8e(0x1e4)](){const _0x15e6c0=_0x10aa8e;this[_0x15e6c0(0x1d4)]=this[_0x15e6c0(0x1eb)][_0x15e6c0(0x1aa)][_0x15e6c0(0x1d0)](_0x15e6c0(0x1d4));const _0x36c132=this[_0x15e6c0(0x1eb)];this[_0x15e6c0(0x1d7)]=setInterval(()=>{const _0xb66d86=_0x15e6c0;let _0x2907a6;for(const _0x5769c7 in _0x36c132){const _0x57ed73=_0x5769c7,_0x85c992=_0x36c132[_0x57ed73];if(_0xb66d86(0x1d2)==_0x85c992||_0xb66d86(0x1b1)==_0x85c992||_0xb66d86(0x1c3)==_0x85c992||_0xb66d86(0x1c4)==_0x85c992||_0xb66d86(0x1c9)==_0x85c992||_0xb66d86(0x1a9)==_0x85c992||_0xb66d86(0x1ea)==_0x85c992||_0xb66d86(0x1c1)==_0x85c992){delete _0x36c132[_0x57ed73],_0x2907a6=_0x85c992,clearInterval(this[_0xb66d86(0x1d7)]),this[_0xb66d86(0x1d7)]=void 0x0;break;}}_0xb66d86(0x1b1)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1b2)),_0xb66d86(0x1c3)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1bc)),_0xb66d86(0x1c4)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1f4)),_0xb66d86(0x1c9)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1ba),_0xb66d86(0x1c0)),_0xb66d86(0x1a9)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1e8)),_0xb66d86(0x1ea)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1bb)),_0xb66d86(0x1c1)==_0x2907a6&&_0x36c132[_0xb66d86(0x1f7)](_0xb66d86(0x1c2));},0x3e8);}[_0x10aa8e(0x1ac)](){const _0x44ac03=_0x10aa8e,{editor:_0x213447}=this,_0x3ae1c8=_0x213447[_0x44ac03(0x1d8)][_0x44ac03(0x1d0)](_0x44ac03(0x1ef));if(!_0x3ae1c8)return;const _0x2aea48=this[_0x44ac03(0x1e3)](_0x213447[_0x44ac03(0x1aa)][_0x44ac03(0x1d0)](_0x44ac03(0x1ce)))[_0x44ac03(0x1b8)]((_0x1934d7,_0x3bec5f)=>{const _0x19f54a=_0x44ac03,_0x1bb928=this[_0x19f54a(0x1f6)](_0x3bec5f[_0x19f54a(0x1ee)]);return _0x1934d7[_0x1bb928]||(_0x1934d7[_0x1bb928]=[]),_0x1934d7[_0x1bb928][_0x19f54a(0x1be)](_0x3bec5f),_0x1934d7;},{});_0x213447[_0x44ac03(0x1cb)][_0x44ac03(0x1d6)](_0x44ac03(0x1e0))&&_0x213447[_0x44ac03(0x1d8)][_0x44ac03(0x1d0)](_0x44ac03(0x1ef))&&Object[_0x44ac03(0x1ed)](_0x2aea48)[_0x44ac03(0x1e7)](([_0x499fc4,_0x5a8992])=>{const _0x73fc46=_0x44ac03;_0x213447[_0x73fc46(0x1cb)][_0x73fc46(0x1d0)](_0x73fc46(0x1e0))[_0x73fc46(0x1de)]({'name':_0x499fc4,'observable':()=>_0x3ae1c8,'buttonViewCreator':()=>this[_0x73fc46(0x1d3)](_0x5a8992),'formViewCreator':()=>this[_0x73fc46(0x1b5)](_0x5a8992),'menuBarButtonViewCreator':()=>this[_0x73fc46(0x1db)](_0x5a8992),'override':_0x73fc46(0x1dc)!==_0x499fc4});});}[_0x10aa8e(0x1b4)](){const _0x34c28e=_0x10aa8e;super[_0x34c28e(0x1b4)](),this[_0x34c28e(0x1d7)]&&clearInterval(this[_0x34c28e(0x1d7)]);}[_0x10aa8e(0x1e3)](_0x2b4a96){const _0x5341db=_0x10aa8e,{locale:_0x5c2dd4}=this[_0x5341db(0x1eb)];return _0x2b4a96[_0x5341db(0x1ca)](_0x5826cf=>{const _0x1168ae=_0x5341db,_0x47f69d=_0x523c2b(_0x5c2dd4,_0x5826cf,_0x1168ae(0x1e5));switch(_0x5826cf){case _0x4d5eac[_0x1168ae(0x1dd)]:return{'icon':_0x145b9f,'type':_0x4d5eac[_0x1168ae(0x1dd)],..._0x47f69d};case _0x4d5eac[_0x1168ae(0x1ab)]:return{'icon':_0x511370,'type':_0x4d5eac[_0x1168ae(0x1ab)],..._0x47f69d};case _0x4d5eac[_0x1168ae(0x1e6)]:return{'icon':_0x52c636,'type':_0x4d5eac[_0x1168ae(0x1e6)],..._0x47f69d};case _0x4d5eac[_0x1168ae(0x1e1)]:return{'icon':_0x2d4569,'type':_0x4d5eac[_0x1168ae(0x1e1)],..._0x47f69d};case _0x4d5eac[_0x1168ae(0x1fa)]:return{'icon':_0xffe3d5,'type':_0x4d5eac[_0x1168ae(0x1fa)],..._0x47f69d};case _0x4d5eac[_0x1168ae(0x1c5)]:return{'icon':_0x324f0b,'type':_0x4d5eac[_0x1168ae(0x1c5)],..._0x47f69d};case _0x4d5eac[_0x1168ae(0x1c8)]:return{'icon':_0x15ae2c,'type':_0x4d5eac[_0x1168ae(0x1c8)],..._0x47f69d};}});}[_0x10aa8e(0x1f6)](_0x56cf56){const _0x42c761=_0x10aa8e;switch(_0x56cf56){case _0x4d5eac[_0x42c761(0x1dd)]:return _0x42c761(0x1f8);case _0x4d5eac[_0x42c761(0x1ab)]:return _0x42c761(0x1c7);default:return _0x42c761(0x1dc);}}[_0x10aa8e(0x1f3)](_0x3b97e1,_0x293969){const _0x5e41ec=_0x10aa8e,_0x4b971d=this[_0x5e41ec(0x1eb)],_0x486ee5=new _0x3b97e1(_0x4b971d[_0x5e41ec(0x1cf)]),_0x40884a=_0x4b971d[_0x5e41ec(0x1d8)][_0x5e41ec(0x1d0)](_0x5e41ec(0x1ef));return _0x486ee5[_0x5e41ec(0x1f5)](_0x5e41ec(0x1b9))['to'](_0x40884a),_0x486ee5['on'](_0x5e41ec(0x1b3),()=>{const _0x46f57f=_0x5e41ec;_0x40884a[_0x46f57f(0x1b3)](_0x293969);}),_0x486ee5;}[_0x10aa8e(0x1d3)](_0x14c4b8){const _0x5bffd4=_0x10aa8e,{locale:_0x4a3d08}=this[_0x5bffd4(0x1eb)],_0x83e5c6=this[_0x5bffd4(0x1eb)][_0x5bffd4(0x1cb)][_0x5bffd4(0x1d0)](_0x5bffd4(0x1e0)),_0x3630c9=_0x14c4b8[0x0],_0x3b4597=this[_0x5bffd4(0x1f3)](_0x335350,_0x3630c9[_0x5bffd4(0x1ee)]);return _0x3b4597[_0x5bffd4(0x1f1)]=_0x3630c9[_0x5bffd4(0x1f1)],_0x3b4597[_0x5bffd4(0x1f5)](_0x5bffd4(0x1d5))['to'](_0x83e5c6,_0x5bffd4(0x1af),_0xdf6c66=>_0x523c2b(_0x4a3d08,_0x3630c9[_0x5bffd4(0x1ee)],_0xdf6c66?_0x5bffd4(0x1ad):_0x5bffd4(0x1e5))[_0x5bffd4(0x1cd)]),_0x3b4597[_0x5bffd4(0x1c6)]=!0x0,_0x3b4597;}[_0x10aa8e(0x1b5)](_0x351b25){const _0x3d8482=_0x10aa8e,{locale:_0x2c39ca}=this[_0x3d8482(0x1eb)],_0x2a27ef=this[_0x3d8482(0x1eb)][_0x3d8482(0x1cb)][_0x3d8482(0x1d0)](_0x3d8482(0x1e0));return _0x351b25[_0x3d8482(0x1ca)](_0x1c45e4=>{const _0x2ef42d=_0x3d8482,_0x3ceadc=this[_0x2ef42d(0x1f3)](_0x335350,_0x1c45e4[_0x2ef42d(0x1ee)]);return _0x3ceadc[_0x2ef42d(0x1ec)]=!0x0,_0x3ceadc[_0x2ef42d(0x1f1)]=_0x1c45e4[_0x2ef42d(0x1f1)],_0x3ceadc[_0x2ef42d(0x1f5)](_0x2ef42d(0x1d5))['to'](_0x2a27ef,_0x2ef42d(0x1af),_0x171876=>_0x523c2b(_0x2c39ca,_0x1c45e4[_0x2ef42d(0x1ee)],_0x171876?_0x2ef42d(0x1ad):_0x2ef42d(0x1e5))[_0x2ef42d(0x1cd)]),_0x3ceadc;});}[_0x10aa8e(0x1db)](_0xf7e2dd){const _0x13c091=_0x10aa8e;return _0xf7e2dd[_0x13c091(0x1ca)](_0x311f56=>{const _0x3e1ceb=_0x13c091,_0x5607a=this[_0x3e1ceb(0x1f3)](_0x5d7bcd,_0x311f56[_0x3e1ceb(0x1ee)]);return _0x5607a[_0x3e1ceb(0x1f1)]=_0x311f56[_0x3e1ceb(0x1f1)],_0x5607a[_0x3e1ceb(0x1d5)]=_0x311f56[_0x3e1ceb(0x1ae)],_0x5607a;});}}function _0x4c1d(){const _0x970330=['Local','registerIntegration','pluginName','ImageInsertUI','Facebook','UploadcareUI','_normalizeConfigSourceList','init','Insert','Dropbox','forEach','evaluationLimit','247638lIdIOu','uploadcareLicenseKeyTrialLimit','editor','withText','entries','type','uploadcare','45HSDPUl','icon','1600456neTpXh','_createButton','domainLimit','bind','_getIntegrationKey','_showLicenseError','upload','173993HsxauC','GDrive','uploadcareLicenseKeyEvaluationLimit','config','URL','afterInit','Replace','shortText','isImageSelected','927516TbQkfO','uploadcareLicenseKeyInvalid','invalid','execute','destroy','_createDropdownButtons','2238384PYvlNP','18JcdVOD','reduce','isEnabled','featureNotAllowed','trialLimit','expired','isOfficialPlugin','push','28jiRgmO','Uploadcare','uploadcareLicenseKeyUsageLimit','usageLimit','uploadcareLicenseKeyExpired','uploadcareLicenseKeyDomainLimit','GPhotos','tooltip','url','OneDrive','uploadcareLicenseKeyNotAllowed','map','plugins','97872WWWCEj','text','uploadcare.uploader.sourceList','locale','get','7gNTOvM','uploadcareLicenseKeyValid','_createToolbarButton','licenseKey','label','has','_licenseKeyCheckInterval','commands','isPremiumPlugin','4160720IKebXG','_createMenuBarButtons','assetManager'];_0x4c1d=function(){return _0x970330;};return _0x4c1d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x376499}from'ckeditor5/src/core.js';import{FileRepository as _0x37a45e}from'ckeditor5/src/upload.js';import _0x1085c7 from'./uploadcareediting.js';import _0x527dfc from'./utils/uploadutils.js';import{getImageUrls as _0x4de393}from'./utils/editingutils.js';export default class p extends _0x376499{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x37a45e,_0x1085c7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x236bb3=this['editor'];if(!!!_0x236bb3['config']['get']('uploadcare'))return;_0x236bb3['plugins']['get'](_0x37a45e)['createUploadAdapter']=_0x544c80=>new x(_0x544c80,_0x236bb3),_0x236bb3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2b4784,{imageElement:_0x1203af,data:_0x5b495d})=>{_0x236bb3['model']['change'](_0x236472=>{_0x236472['setAttribute']('uploadcareImageId',_0x5b495d['uploadcareImageId'],_0x1203af);});});}}class x{['loader'];['editor'];['controller'];constructor(_0xf3d2b3,_0x22f18f){this['loader']=_0xf3d2b3,this['editor']=_0x22f18f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xc3ae7a=this['editor']['config']['get']('uploadcare.pubkey'),_0x4ae5d2=await this['loader']['file'];return _0x527dfc['upload']({'file':_0x4ae5d2,'publicKey':_0xc3ae7a,'signal':this['controller']['signal'],'onProgress':_0x1714fd=>{_0x1714fd&&_0x1714fd['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1714fd['value']);}})['then'](async _0xc99ec5=>{const {imageFallbackUrl:_0x2e5487,imageSources:_0xed0518}=_0x4de393(_0xc99ec5['cdnUrl'],_0xc99ec5['imageInfo']['width']);return{'uploadcareImageId':_0xc99ec5['uuid'],'default':_0x2e5487,'sources':_0xed0518};})['catch'](()=>{const _0x1e7af6=t('Cannot\x20upload\x20file:')+('\x20'+_0x4ae5d2['name']+'.');return Promise['reject'](_0x1e7af6);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1b58b7}from'ckeditor5/src/core.js';import{FileRepository as _0x5ed303}from'ckeditor5/src/upload.js';import _0x4a550d from'./uploadcareediting.js';import _0x24fae4 from'./utils/uploadutils.js';import{getImageUrls as _0x599454}from'./utils/editingutils.js';export default class p extends _0x1b58b7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5ed303,_0x4a550d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x19faea=this['editor'];if(!!!_0x19faea['config']['get']('uploadcare'))return;_0x19faea['plugins']['get'](_0x5ed303)['createUploadAdapter']=_0x161a94=>new x(_0x161a94,_0x19faea),_0x19faea['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x461f73,{imageElement:_0x155baa,data:_0x440ba0})=>{_0x19faea['model']['change'](_0x4522b9=>{_0x4522b9['setAttribute']('uploadcareImageId',_0x440ba0['uploadcareImageId'],_0x155baa);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x662fac,_0x69b72b){this['loader']=_0x662fac,this['editor']=_0x69b72b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x402f81=this['editor']['config']['get']('uploadcare.pubkey'),_0x3b0ac7=await this['loader']['file'];return _0x24fae4['upload']({'file':_0x3b0ac7,'publicKey':_0x402f81,'signal':this['controller']['signal'],'onProgress':_0x2bcecf=>{_0x2bcecf&&_0x2bcecf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2bcecf['value']);}})['then'](async _0x37d836=>{const {imageFallbackUrl:_0x31e8cf,imageSources:_0x20100c}=_0x599454(_0x37d836['cdnUrl'],_0x37d836['imageInfo']['width']);return{'uploadcareImageId':_0x37d836['uuid'],'default':_0x31e8cf,'sources':_0x20100c};})['catch'](()=>{const _0x10e89b=t('Cannot\x20upload\x20file:')+('\x20'+_0x3b0ac7['name']+'.');return Promise['reject'](_0x10e89b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xa83792}from'../uploadcareconfig.js';export function getTranslation(_0x10956c,_0x344da9,_0x14ca2b){const t=_0x10956c['t'],_0xc45933=_0x10956c['t'];switch(_0x344da9){case _0xa83792['Local']:return{'text':_0xc45933('Insert'===_0x14ca2b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc45933('From\x20computer')};case _0xa83792['URL']:return{'text':'Insert'===_0x14ca2b?_0xc45933('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc45933('Via\x20URL')};case _0xa83792['Dropbox']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xa83792['Facebook']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xa83792['GDrive']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xa83792['GPhotos']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xa83792['OneDrive']:return{'text':t('Insert'===_0x14ca2b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x344da9;}}
23
+ import{UploadcareSource as _0x314ba8}from'../uploadcareconfig.js';export function getTranslation(_0x80f5e4,_0x381ce2,_0x46b0b4){const t=_0x80f5e4['t'],_0x46c2c9=_0x80f5e4['t'];switch(_0x381ce2){case _0x314ba8['Local']:return{'text':_0x46c2c9('Insert'===_0x46b0b4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x46c2c9('From\x20computer')};case _0x314ba8['URL']:return{'text':'Insert'===_0x46b0b4?_0x46c2c9('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x46c2c9('Via\x20URL')};case _0x314ba8['Dropbox']:return{'text':t('Insert'===_0x46b0b4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x314ba8['Facebook']:return{'text':t('Insert'===_0x46b0b4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x314ba8['GDrive']:return{'text':t('Insert'===_0x46b0b4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x314ba8['GPhotos']:return{'text':t('Insert'===_0x46b0b4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x314ba8['OneDrive']:return{'text':t('Insert'===_0x46b0b4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x381ce2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5e91ba=_0x469d;function _0x3788(){var _0x439bc8=['true','88ymyzdY','getFocusableElement','bindTemplate','4655584ZiEgjk','277285frgeUH','1380047DqwpyY','4362420nRuqLu','forwardCycle','fire','focusTracker','4072817eCFdBI','9969gCFvzn','7448535wliQBZ','focusCycler','div','400lxvnnj','createCollection'];_0x3788=function(){return _0x439bc8;};return _0x3788();}function _0x469d(_0x1bb9af,_0x55dd9e){var _0x378826=_0x3788();return _0x469d=function(_0x469d46,_0x1d4ac0){_0x469d46=_0x469d46-0xb3;var _0x53308d=_0x378826[_0x469d46];return _0x53308d;},_0x469d(_0x1bb9af,_0x55dd9e);}(function(_0x290a6f,_0x1a39be){var _0x473b0a=_0x469d,_0x2cebd5=_0x290a6f();while(!![]){try{var _0x4396ea=parseInt(_0x473b0a(0xb3))/0x1+-parseInt(_0x473b0a(0xbd))/0x2*(-parseInt(_0x473b0a(0xb9))/0x3)+parseInt(_0x473b0a(0xc0))/0x4*(-parseInt(_0x473b0a(0xc4))/0x5)+parseInt(_0x473b0a(0xb4))/0x6+parseInt(_0x473b0a(0xb8))/0x7+-parseInt(_0x473b0a(0xc3))/0x8+-parseInt(_0x473b0a(0xba))/0x9;if(_0x4396ea===_0x1a39be)break;else _0x2cebd5['push'](_0x2cebd5['shift']());}catch(_0x30e3cd){_0x2cebd5['push'](_0x2cebd5['shift']());}}}(_0x3788,0xb0bdb));import{FocusTracker as _0x1df4bd}from'ckeditor5/src/utils.js';import{View as _0x383182,FocusCycler as _0x15be9d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x383182{[_0x5e91ba(0xb7)];[_0x5e91ba(0xbb)];constructor(_0x3fc44f){var _0xed7a5f=_0x5e91ba;super(_0x3fc44f),this[_0xed7a5f(0xb7)]=new _0x1df4bd(),this[_0xed7a5f(0xbb)]=new _0x15be9d({'focusables':this[_0xed7a5f(0xbe)](),'focusTracker':this[_0xed7a5f(0xb7)]});}[_0x5e91ba(0xc1)](){var _0x5835d2=_0x5e91ba;return{'tag':_0x5835d2(0xbc),'attributes':{'aria-hidden':_0x5835d2(0xbf),'tabindex':'0'},'on':{'focus':this[_0x5835d2(0xc2)]['to'](()=>{var _0x42edd1=_0x5835d2;this[_0x42edd1(0xbb)][_0x42edd1(0xb6)](_0x42edd1(0xb5));})}};}}
23
+ var _0x28b76d=_0x39f3;(function(_0xc8377,_0x1f1a2d){var _0x94216f=_0x39f3,_0x39a09c=_0xc8377();while(!![]){try{var _0x1baba8=-parseInt(_0x94216f(0xd2))/0x1+-parseInt(_0x94216f(0xda))/0x2+-parseInt(_0x94216f(0xd0))/0x3+-parseInt(_0x94216f(0xdf))/0x4+-parseInt(_0x94216f(0xd9))/0x5+parseInt(_0x94216f(0xd1))/0x6*(-parseInt(_0x94216f(0xd7))/0x7)+parseInt(_0x94216f(0xdc))/0x8*(parseInt(_0x94216f(0xd6))/0x9);if(_0x1baba8===_0x1f1a2d)break;else _0x39a09c['push'](_0x39a09c['shift']());}catch(_0x414331){_0x39a09c['push'](_0x39a09c['shift']());}}}(_0x3084,0x546a0));function _0x39f3(_0x4c354e,_0x2287ac){var _0x3084a5=_0x3084();return _0x39f3=function(_0x39f365,_0x5e23bb){_0x39f365=_0x39f365-0xd0;var _0x53aa5e=_0x3084a5[_0x39f365];return _0x53aa5e;},_0x39f3(_0x4c354e,_0x2287ac);}import{FocusTracker as _0x20e8a0}from'ckeditor5/src/utils.js';import{View as _0x2e9bdd,FocusCycler as _0x414316}from'ckeditor5/src/ui.js';function _0x3084(){var _0x11be10=['bindTemplate','1524168KgUPxI','focusCycler','true','182124tePGfJ','7620dVzSAV','161119mFRodY','createCollection','forwardCycle','getFocusableElement','261XeSdhG','49ttzJYp','focusTracker','1676525DnjnBZ','278160sNBGhD','fire','395008CGjoBt','div'];_0x3084=function(){return _0x11be10;};return _0x3084();}import'../../theme/uploadcare-form.css';export default class q extends _0x2e9bdd{[_0x28b76d(0xd8)];[_0x28b76d(0xe0)];constructor(_0x20f2b0){var _0x19cd40=_0x28b76d;super(_0x20f2b0),this[_0x19cd40(0xd8)]=new _0x20e8a0(),this[_0x19cd40(0xe0)]=new _0x414316({'focusables':this[_0x19cd40(0xd3)](),'focusTracker':this[_0x19cd40(0xd8)]});}[_0x28b76d(0xd5)](){var _0x3f5bd6=_0x28b76d;return{'tag':_0x3f5bd6(0xdd),'attributes':{'aria-hidden':_0x3f5bd6(0xe1),'tabindex':'0'},'on':{'focus':this[_0x3f5bd6(0xde)]['to'](()=>{var _0x4d0fc9=_0x3f5bd6;this[_0x4d0fc9(0xe0)][_0x4d0fc9(0xdb)](_0x4d0fc9(0xd4));})}};}}