@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251024.0 → 0.0.0-nightly-20251025.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 (175) 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.d.ts +1 -1
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.d.ts +54 -1
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  167. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  168. package/src/uploadcareimageedit.js +1 -1
  169. package/src/uploadcareui.js +1 -1
  170. package/src/uploadcareuploadadapter.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/dialogfocusmanagerview.js +1 -1
  173. package/src/utils/editingutils.js +1 -1
  174. package/src/utils/isancestor.js +1 -1
  175. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1d41(_0x57cda6,_0x172a0f){var _0x40ec6e=_0x40ec();return _0x1d41=function(_0x1d41da,_0x153610){_0x1d41da=_0x1d41da-0x8e;var _0x16de00=_0x40ec6e[_0x1d41da];return _0x16de00;},_0x1d41(_0x57cda6,_0x172a0f);}(function(_0x4badd0,_0x34f99f){var _0x411488=_0x1d41,_0x16dae5=_0x4badd0();while(!![]){try{var _0x15355e=parseInt(_0x411488(0x8e))/0x1+-parseInt(_0x411488(0x9a))/0x2+parseInt(_0x411488(0x94))/0x3+parseInt(_0x411488(0x93))/0x4*(parseInt(_0x411488(0xa2))/0x5)+-parseInt(_0x411488(0xa0))/0x6+-parseInt(_0x411488(0x9e))/0x7*(parseInt(_0x411488(0x90))/0x8)+-parseInt(_0x411488(0x97))/0x9;if(_0x15355e===_0x34f99f)break;else _0x16dae5['push'](_0x16dae5['shift']());}catch(_0x554af5){_0x16dae5['push'](_0x16dae5['shift']());}}}(_0x40ec,0xb7bd0));function _0x40ec(){var _0x2c8596=['OneDrive','facebook','645436oNBJvM','4455864OuqjoT','Dropbox','dropbox','4784094Apwiwg','gphotos','onedrive','914440GzjKxa','Facebook','GDrive','Local','4081XQiRtj','gdrive','5646096FaTPBB','local','35JvCpkF','url','GPhotos','1130402ihALJO','URL','14584WhRpHL'];_0x40ec=function(){return _0x2c8596;};return _0x40ec();}export var UploadcareSource;!function(_0x254747){var _0x570432=_0x1d41;_0x254747[_0x570432(0x9d)]=_0x570432(0xa1),_0x254747[_0x570432(0x8f)]=_0x570432(0xa3),_0x254747[_0x570432(0x95)]=_0x570432(0x96),_0x254747[_0x570432(0x9c)]=_0x570432(0x9f),_0x254747[_0x570432(0x9b)]=_0x570432(0x92),_0x254747[_0x570432(0xa4)]=_0x570432(0x98),_0x254747[_0x570432(0x91)]=_0x570432(0x99);}(UploadcareSource||(UploadcareSource={}));
23
+ (function(_0x36bec7,_0x4cd4cf){var _0x1d3bb5=_0x62da,_0x18d662=_0x36bec7();while(!![]){try{var _0x3cda44=parseInt(_0x1d3bb5(0x187))/0x1+parseInt(_0x1d3bb5(0x190))/0x2+-parseInt(_0x1d3bb5(0x17f))/0x3*(parseInt(_0x1d3bb5(0x17e))/0x4)+parseInt(_0x1d3bb5(0x18e))/0x5*(-parseInt(_0x1d3bb5(0x192))/0x6)+-parseInt(_0x1d3bb5(0x181))/0x7+-parseInt(_0x1d3bb5(0x180))/0x8*(parseInt(_0x1d3bb5(0x195))/0x9)+-parseInt(_0x1d3bb5(0x18a))/0xa*(-parseInt(_0x1d3bb5(0x189))/0xb);if(_0x3cda44===_0x4cd4cf)break;else _0x18d662['push'](_0x18d662['shift']());}catch(_0x3ce3c2){_0x18d662['push'](_0x18d662['shift']());}}}(_0x358b,0xe61b5));export var UploadcareSource;function _0x62da(_0x250cbe,_0x49db87){var _0x358b82=_0x358b();return _0x62da=function(_0x62da44,_0x424587){_0x62da44=_0x62da44-0x17e;var _0x3ffe00=_0x358b82[_0x62da44];return _0x3ffe00;},_0x62da(_0x250cbe,_0x49db87);}!function(_0x2fbb45){var _0x3cb03a=_0x62da;_0x2fbb45[_0x3cb03a(0x193)]=_0x3cb03a(0x191),_0x2fbb45[_0x3cb03a(0x18f)]=_0x3cb03a(0x182),_0x2fbb45[_0x3cb03a(0x18b)]=_0x3cb03a(0x18c),_0x2fbb45[_0x3cb03a(0x196)]=_0x3cb03a(0x18d),_0x2fbb45[_0x3cb03a(0x183)]=_0x3cb03a(0x184),_0x2fbb45[_0x3cb03a(0x188)]=_0x3cb03a(0x186),_0x2fbb45[_0x3cb03a(0x185)]=_0x3cb03a(0x194);}(UploadcareSource||(UploadcareSource={}));function _0x358b(){var _0x3f610a=['Facebook','facebook','OneDrive','gphotos','913852NRPrfX','GPhotos','33891nAjnuo','11320YeysdD','Dropbox','dropbox','gdrive','125375NVAPFc','URL','1635740ORLfWd','local','252fwoDLs','Local','onedrive','866835hxFylo','GDrive','4uNvqWc','2802039ETjoFB','40vkxzEg','12657113IiWuOV','url'];_0x358b=function(){return _0x3f610a;};return _0x358b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x454e5b=_0x415b;(function(_0xe5849c,_0xf7ecce){const _0x599dab=_0x415b,_0x6d878e=_0xe5849c();while(!![]){try{const _0x3f3605=parseInt(_0x599dab(0x23c))/0x1*(parseInt(_0x599dab(0x210))/0x2)+-parseInt(_0x599dab(0x223))/0x3*(parseInt(_0x599dab(0x20c))/0x4)+parseInt(_0x599dab(0x1fa))/0x5*(parseInt(_0x599dab(0x227))/0x6)+parseInt(_0x599dab(0x22b))/0x7+parseInt(_0x599dab(0x1f5))/0x8+parseInt(_0x599dab(0x20b))/0x9*(parseInt(_0x599dab(0x207))/0xa)+parseInt(_0x599dab(0x214))/0xb*(-parseInt(_0x599dab(0x201))/0xc);if(_0x3f3605===_0xf7ecce)break;else _0x6d878e['push'](_0x6d878e['shift']());}catch(_0x3cc1c6){_0x6d878e['push'](_0x6d878e['shift']());}}}(_0x2272,0x24683));import{Plugin as _0x2f28bb}from'ckeditor5/src/core.js';function _0x2272(){const _0x53d95d=['imageInline','body','querySelector','uploader-','_configElement','data-uc-image-id','uploadcare','model','replaceImageSource','contentLanguage','80322JOcMzH','execute','PictureEditing','_ctxElement','410094fRzUeU','uploadcare.pubkey','_initSchema','get','1584646lsATqU','schema','removeAttribute','init','ctxElement','afterInit','downcast','locale','document','true','editor','cleanupImage','isOfficialPlugin','uc-config','isPremiumPlugin','map','#uc-icon-arrow-down','176815odslVf','requires','closeMax','for','conversion','isRegistered','getSelectedElement','href','_initConversion','_initImageProcessingIndicator','extend','destroy','view','listenTo','uploadcare.uploader','editing','972992IAFZwK','fromCharCode','uc-upload-ctx-provider','ucContextId','pluginName','15lVDmfR','input[uploadcare-file-input]','join','remove','uploadcareImageId','appendChild','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','3810108xBdWZk','_initConfig','attributeToAttribute','render','commands','getAttribute','40SZvHfb','config','selection','upcast','10143DXgdiE','40dseIrP','elementToAttribute','iconHrefResolver','add','2REqTYm','_initCtx','insertImage','configElement','11EYjHaA','once','UploadcareEditing','uploadcareImageReplace','imageBlock'];_0x2272=function(){return _0x53d95d;};return _0x2272();}import{Dialog as _0x5c5204}from'ckeditor5/src/ui.js';import{createElement as _0x4f7aa0,global as _0x2edb97,uid as _0x3de82b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a3f36}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x37ebbe}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x47d065}from'./utils/editingutils.js';function _0x415b(_0x1e90e8,_0x33e46d){const _0x2272a2=_0x2272();return _0x415b=function(_0x415bd2,_0x3adde7){_0x415bd2=_0x415bd2-0x1e9;let _0x2b9ae6=_0x2272a2[_0x415bd2];return _0x2b9ae6;},_0x415b(_0x1e90e8,_0x33e46d);}export class UploadcareEditing extends _0x2f28bb{[_0x454e5b(0x21d)]=null;[_0x454e5b(0x226)]=null;static get[_0x454e5b(0x1f9)](){const _0x806f53=_0x454e5b;return _0x806f53(0x216);}static get[_0x454e5b(0x23d)](){const _0x44afde=_0x454e5b;return[_0x44afde(0x225),_0x37ebbe,_0x5c5204];}static get[_0x454e5b(0x237)](){return!0x0;}static get[_0x454e5b(0x239)](){return!0x0;}[_0x454e5b(0x1f8)];get[_0x454e5b(0x213)](){const _0x54f5e0=_0x454e5b;return this[_0x54f5e0(0x21d)];}get[_0x454e5b(0x22f)](){const _0x44c825=_0x454e5b;return this[_0x44c825(0x226)];}constructor(_0x4d6d04){const _0x134db6=_0x454e5b;super(_0x4d6d04),this[_0x134db6(0x1f8)]=_0x3de82b();}[_0x454e5b(0x22e)](){const _0x1a5835=_0x454e5b,_0x210d7a=this[_0x1a5835(0x235)];_0x210d7a[_0x1a5835(0x205)][_0x1a5835(0x20f)](_0x1a5835(0x21f),new _0x2a3f36(_0x210d7a));}[_0x454e5b(0x230)](){const _0x3e443d=_0x454e5b;this[_0x3e443d(0x229)](),this[_0x3e443d(0x1ed)](),this[_0x3e443d(0x202)](),this[_0x3e443d(0x211)](),this[_0x3e443d(0x1ee)](),this[_0x3e443d(0x1f2)](this[_0x3e443d(0x235)],_0x3e443d(0x1f0),()=>{const _0x10901b=_0x3e443d;this[_0x10901b(0x21d)]&&(this[_0x10901b(0x21d)][_0x10901b(0x1fd)](),this[_0x10901b(0x21d)]=null),this[_0x10901b(0x226)]&&(this[_0x10901b(0x226)][_0x10901b(0x1fd)](),this[_0x10901b(0x226)]=null);const _0x54a7a5=_0x2edb97[_0x10901b(0x233)][_0x10901b(0x21b)](_0x10901b(0x1fb));_0x54a7a5&&_0x54a7a5[_0x10901b(0x1fd)]();}),async function(_0x2fc18d){const _0x15afbd=_0xc35d53([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x19794e=0x535f8c3a,_0x2a5fc4=0x5358fb22^_0x19794e,_0x3f6917=window[_0xc35d53([0x44,0x61,0x74,0x65])][_0xc35d53([0x6e,0x6f,0x77])](),_0x278b64=_0x2fc18d[_0xc35d53([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x352b1a=new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ece88=>{_0x278b64[_0xc35d53([0x6f,0x6e,0x63,0x65])](_0xc35d53([0x72,0x65,0x61,0x64,0x79]),_0x3ece88);}),_0x392870={[_0xc35d53([0x6b,0x74,0x79])]:_0xc35d53([0x45,0x43]),[_0xc35d53([0x75,0x73,0x65])]:_0xc35d53([0x73,0x69,0x67]),[_0xc35d53([0x63,0x72,0x76])]:_0xc35d53([0x50,0x2d,0x32,0x35,0x36]),[_0xc35d53([0x78])]:_0xc35d53([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xc35d53([0x79])]:_0xc35d53([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xc35d53([0x61,0x6c,0x67])]:_0xc35d53([0x45,0x53,0x32,0x35,0x36])},_0x3f6124=_0x278b64[_0xc35d53([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc35d53([0x67,0x65,0x74])](_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51818d(){let _0x58e227,_0x28b8bd=null,_0x4c58de=null;try{if(_0x3f6124==_0xc35d53([0x47,0x50,0x4c]))return _0xc35d53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e227=_0xf4b003(),!_0x58e227)return _0xc35d53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e227[_0xc35d53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c58de=_0x116675(_0x58e227[_0xc35d53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e227[_0xc35d53([0x6a,0x74,0x69])])),await _0x24090c()?_0x5ea64c()?_0x369c6c()?_0xc35d53([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e91c2()?(_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc35d53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28b8bd=_0x1b6c90(_0xc35d53([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc35d53([0x74,0x72,0x69,0x61,0x6c])&&(_0x28b8bd=_0x1b6c90(_0xc35d53([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2bfaee()):_0xc35d53([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc35d53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc35d53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc35d53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x369c6c(){const _0x29847c=[_0xc35d53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc35d53([0x74,0x72,0x69,0x61,0x6c])][_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f6917/0x3e8:0xe10*_0x2a5fc4;return _0x58e227[_0xc35d53([0x65,0x78,0x70])]<_0x29847c;}function _0x5ea64c(){const _0x1b051a=_0x58e227[_0xc35d53([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b051a&&(!!_0x1b051a[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc35d53([0x2a]))||!!_0x1b051a[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc35d53([0x55,0x50,0x4c,0x43])));}function _0x4e91c2(){const _0xc0118c=_0x415b,_0x540fd2=_0x58e227[_0xc35d53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x540fd2||0x0==_0x540fd2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ec56b}=new URL(window[_0xc35d53([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc0118c(0x1ec)]);if(_0x540fd2[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec56b))return!0x0;const _0x3069d6=_0x2ec56b[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e]));return _0x540fd2[_0xc35d53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c9809=>_0x3c9809[_0xc35d53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc35d53([0x2a])))[_0xc35d53([0x6d,0x61,0x70])](_0x35f64c=>_0x35f64c[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e])))[_0xc35d53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58f4ea=>_0x58f4ea[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3069d6[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc35d53([0x6d,0x61,0x70])](_0x2e41a2=>Array(_0x3069d6[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e41a2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc35d53([0x66,0x69,0x6c,0x6c])](_0x2e41a2[0x0]===_0xc35d53([0x2a])?_0xc35d53([0x2a]):'')[_0xc35d53([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e41a2))[_0xc35d53([0x73,0x6f,0x6d,0x65])](_0x176e4b=>_0x3069d6[_0xc35d53([0x65,0x76,0x65,0x72,0x79])]((_0x5d2c55,_0x3611f7)=>_0x176e4b[_0x3611f7]===_0x5d2c55||_0x176e4b[_0x3611f7]===_0xc35d53([0x2a])));}function _0x2bfaee(){return _0x28b8bd&&_0x4c58de?new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25b416,_0x36c714)=>{_0x28b8bd[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x25b416,_0x36c714),_0x4c58de[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x3fa50f=>{_0x3fa50f!=_0xc35d53([0x56,0x61,0x6c,0x69,0x64])&&_0x25b416(_0x3fa50f);},_0x36c714);}):_0x28b8bd||_0x4c58de||_0xc35d53([0x56,0x61,0x6c,0x69,0x64]);}}function _0x116675(_0x5a40d6,_0x57882b){return new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd8eb53=>{if(_0xc4a286())return _0xd8eb53(_0xc35d53([0x56,0x61,0x6c,0x69,0x64]));_0x45c01d(),_0x278b64[_0xc35d53([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc35d53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1aba81=!0x1;const _0x405f4a=_0x3de82b();function _0x4878d4(_0x15ea76){return!!_0x15ea76&&(typeof _0x15ea76===_0xc35d53([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x15ea76===_0xc35d53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x15ea76[_0xc35d53([0x74,0x68,0x65,0x6e])]===_0xc35d53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x15ea76[_0xc35d53([0x63,0x61,0x74,0x63,0x68])]===_0xc35d53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55dea3(_0x567d3c){_0x1b7b31(_0x567d3c)[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x567870=>{if(!_0x567870||_0x567870[_0xc35d53([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc35d53([0x6f,0x6b]))return _0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59c394(_0x3150dd(_0x405f4a+_0x57882b))!=_0x567870[_0xc35d53([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc35d53([0x56,0x61,0x6c,0x69,0x64]);})[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x51ef8f=>(_0x3e6e34(),_0x51ef8f),()=>{const _0x9b61e=_0x19bead();return null==_0x9b61e?(_0x3e6e34(),_0xc35d53([0x56,0x61,0x6c,0x69,0x64])):_0xc35d53(_0x3f6917-_0x9b61e>(0x7753083a^_0x19794e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc35d53([0x74,0x68,0x65,0x6e])](_0xd8eb53)[_0xc35d53([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd8eb53(_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4768f5=0x536962ba^_0x19794e;function _0x3e6e34(){const _0xb0dab5=_0xc35d53([0x6c,0x6c,0x63,0x74,0x2d])+_0x59c394(_0x3150dd(_0x5a40d6)),_0x51ed06=_0x4b1faa(_0x59c394(window[_0xc35d53([0x4d,0x61,0x74,0x68])][_0xc35d53([0x63,0x65,0x69,0x6c])](_0x3f6917/_0x4768f5)));window[_0xc35d53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc35d53([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb0dab5,_0x51ed06);}function _0x19bead(){const _0x5a34ce=_0xc35d53([0x6c,0x6c,0x63,0x74,0x2d])+_0x59c394(_0x3150dd(_0x5a40d6)),_0xd92365=window[_0xc35d53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc35d53([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a34ce);return _0xd92365?window[_0xc35d53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1faa(_0xd92365),0x10)*_0x4768f5:null;}function _0x1b7b31(_0x1fada9){return new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2de63d,_0x3f2e96)=>{_0x1fada9[_0xc35d53([0x74,0x68,0x65,0x6e])](_0x2de63d,_0x3f2e96),window[_0xc35d53([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f2e96,0x535e58fa^_0x19794e);});}}_0x278b64[_0xc35d53([0x6f,0x6e])](_0xc35d53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2443ed,_0x4c80d1)=>{if(_0x4c80d1[0x0]!=_0x5a40d6)return _0xd8eb53(_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c80d1[0x1]={..._0x4c80d1[0x1],[_0xc35d53([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x405f4a};},{[_0xc35d53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc35d53([0x68,0x69,0x67,0x68])}),_0x278b64[_0xc35d53([0x6f,0x6e])](_0xc35d53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x579aa5=>{_0x4878d4(_0x579aa5[_0xc35d53([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1aba81=!0x0,_0x55dea3(_0x579aa5[_0xc35d53([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc35d53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc35d53([0x6c,0x6f,0x77])}),_0x352b1a[_0xc35d53([0x74,0x68,0x65,0x6e])](()=>{_0x1aba81||_0xd8eb53(_0xc35d53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc4a286(){return _0x278b64[_0xc35d53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc35d53([0x76,0x69,0x65,0x77])][_0xc35d53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc35d53([0x61,0x75,0x74,0x6f]);}function _0x45c01d(){_0x278b64[_0xc35d53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc35d53([0x76,0x69,0x65,0x77])][_0xc35d53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc35d53([0x61,0x75,0x74,0x6f]);}}function _0x1b6c90(_0x574554){const _0x3253d9=[new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c376=>setTimeout(_0x34c376,0x5356b2f6^_0x19794e)),_0x352b1a[_0xc35d53([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9a77af=>{let _0x1ae84b=0x0;_0x278b64[_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c])][_0xc35d53([0x6f,0x6e])](_0xc35d53([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x551745,_0x18a2f2)=>{_0x18a2f2[0x0][_0xc35d53([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ae84b++,_0x1ae84b==(0x535f8dc2^_0x19794e)&&(_0x9a77af(),_0x551745[_0xc35d53([0x6f,0x66,0x66])]());});}))];return window[_0xc35d53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc35d53([0x72,0x61,0x63,0x65])](_0x3253d9)[_0xc35d53([0x74,0x68,0x65,0x6e])](()=>_0x574554);}async function _0x3e1131(){await _0x352b1a,_0x278b64[_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c])][_0xc35d53([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2927f9,_0x278b64[_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c])][_0xc35d53([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2927f9,_0x278b64[_0xc35d53([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc35d53([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x426ebc(_0x3bbe55){const _0x3205f2=_0x17c9f2();_0x278b64[_0x3205f2]=_0xc35d53([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bbe55,_0x3bbe55!=_0xc35d53([0x56,0x61,0x6c,0x69,0x64])&&_0x3e1131();}function _0x17c9f2(){const _0x223e84=window[_0xc35d53([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc35d53([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc35d53([0x6e,0x6f,0x77])]())[_0xc35d53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc35d53([0x2e]),'');let _0x2d8486=_0xc35d53([0x68]);for(let _0x33b368=0x0;_0x33b368<_0x223e84[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33b368+=0x2){let _0x4bb755=window[_0xc35d53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x223e84[_0xc35d53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33b368,_0x33b368+0x2));_0x4bb755>=_0x15afbd[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bb755-=_0x15afbd[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d8486+=_0x15afbd[_0x4bb755];}return _0x2d8486;}function _0xf4b003(){const _0x30aaaa=_0x3f6124[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e]));if(0x3!=_0x30aaaa[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ccbbd(_0x30aaaa[0x1]);function _0x5ccbbd(_0x497e6f){const _0x4215ac=_0x19b1fa(_0x497e6f);return _0x4215ac&&_0x2cee91()?_0x4215ac:null;function _0x2cee91(){const _0x359bf2=_0x4215ac[_0xc35d53([0x6a,0x74,0x69])],_0x47cb63=window[_0xc35d53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x359bf2[_0xc35d53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x359bf2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ec8a3={..._0x4215ac,[_0xc35d53([0x6a,0x74,0x69])]:_0x359bf2[_0xc35d53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x359bf2[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ec8a3[_0xc35d53([0x76,0x63])],_0x3150dd(_0x4ec8a3)==_0x47cb63;}}}async function _0x24090c(){let _0x3fe88c=!0x0;try{const _0x9625fc=_0x3f6124[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])](_0xc35d53([0x2e])),[_0x160a76,_0x5d31ae,_0x38f1a7]=_0x9625fc;return _0x470308(_0x160a76),await _0x438896(_0x160a76,_0x5d31ae,_0x38f1a7),_0x3fe88c;}catch{return!0x1;}function _0x470308(_0x498c7f){const _0x365a80=_0x19b1fa(_0x498c7f);_0x365a80&&_0x365a80[_0xc35d53([0x61,0x6c,0x67])]==_0xc35d53([0x45,0x53,0x32,0x35,0x36])||(_0x3fe88c=!0x1);}async function _0x438896(_0x37ce53,_0x498f1d,_0x472c4e){const _0x569103=window[_0xc35d53([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc35d53([0x66,0x72,0x6f,0x6d])](_0x45ab95(_0x472c4e),_0x138b7b=>_0x138b7b[_0xc35d53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35abe0=new window[(_0xc35d53([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc35d53([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37ce53+_0xc35d53([0x2e])+_0x498f1d),_0x2a11a0=window[_0xc35d53([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc35d53([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a11a0)return;const _0x11a7a1=await _0x2a11a0[_0xc35d53([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc35d53([0x6a,0x77,0x6b]),_0x392870,{[_0xc35d53([0x6e,0x61,0x6d,0x65])]:_0xc35d53([0x45,0x43,0x44,0x53,0x41]),[_0xc35d53([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc35d53([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc35d53([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a11a0[_0xc35d53([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc35d53([0x6e,0x61,0x6d,0x65])]:_0xc35d53([0x45,0x43,0x44,0x53,0x41]),[_0xc35d53([0x68,0x61,0x73,0x68])]:{[_0xc35d53([0x6e,0x61,0x6d,0x65])]:_0xc35d53([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11a7a1,_0x569103,_0x35abe0)||(_0x3fe88c=!0x1);}}function _0x19b1fa(_0x571a66){return _0x571a66[_0xc35d53([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc35d53([0x65,0x79]))?JSON[_0xc35d53([0x70,0x61,0x72,0x73,0x65])](_0x45ab95(_0x571a66)):null;}function _0x45ab95(_0x117445){return window[_0xc35d53([0x61,0x74,0x6f,0x62])](_0x117445[_0xc35d53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc35d53([0x2b]))[_0xc35d53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc35d53([0x2f])));}function _0x3150dd(_0x19241e){let _0x3d71f0=0x1505;function _0x15637a(_0xe8fd3){for(let _0x285733=0x0;_0x285733<_0xe8fd3[_0xc35d53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x285733++){const _0x3d752a=_0xe8fd3[_0xc35d53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x285733);_0x3d71f0=(_0x3d71f0<<0x5)+_0x3d71f0+_0x3d752a,_0x3d71f0&=_0x3d71f0;}}function _0x509bb0(_0x56f8f0){Array[_0xc35d53([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56f8f0)?_0x56f8f0[_0xc35d53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x509bb0):_0x56f8f0&&typeof _0x56f8f0==_0xc35d53([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc35d53([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56f8f0)[_0xc35d53([0x73,0x6f,0x72,0x74])]()[_0xc35d53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f5a33,_0x31bd6a])=>{_0x15637a(_0x2f5a33),_0x509bb0(_0x31bd6a);}):_0x15637a(window[_0xc35d53([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56f8f0));}return _0x509bb0(_0x19241e),_0x3d71f0>>>0x0;}function _0x59c394(_0x115d16){return _0x115d16[_0xc35d53([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc35d53([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc35d53([0x30]));}function _0x4b1faa(_0x59e44f){return _0x59e44f[_0xc35d53([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc35d53([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc35d53([0x6a,0x6f,0x69,0x6e])]('');}function _0x2927f9(){}function _0xc35d53(_0x407039){const _0x1487f4=_0x415b;return _0x407039[_0x1487f4(0x23a)](_0x286b13=>String[_0x1487f4(0x1f6)](_0x286b13))[_0x1487f4(0x1fc)]('');}_0x426ebc(await _0x51818d());}(this);}[_0x454e5b(0x229)](){const _0x3bffcd=_0x454e5b,_0x5920e4=this[_0x3bffcd(0x235)][_0x3bffcd(0x220)][_0x3bffcd(0x22c)];_0x5920e4[_0x3bffcd(0x1ea)](_0x3bffcd(0x218))&&_0x5920e4[_0x3bffcd(0x1ef)](_0x3bffcd(0x218),{'allowAttributes':[_0x3bffcd(0x1fe)]}),_0x5920e4[_0x3bffcd(0x1ea)](_0x3bffcd(0x219))&&_0x5920e4[_0x3bffcd(0x1ef)](_0x3bffcd(0x219),{'allowAttributes':[_0x3bffcd(0x1fe)]});}[_0x454e5b(0x1ed)](){const _0x132c0f=_0x454e5b,_0x3f0818=this[_0x132c0f(0x235)];_0x3f0818[_0x132c0f(0x1e9)][_0x132c0f(0x23f)](_0x132c0f(0x231))[_0x132c0f(0x203)]({'model':_0x132c0f(0x1fe),'view':_0x132c0f(0x21e)}),_0x3f0818[_0x132c0f(0x1e9)][_0x132c0f(0x23f)](_0x132c0f(0x20a))[_0x132c0f(0x20d)]({'model':{'key':_0x132c0f(0x1fe),'value':_0x3f326f=>_0x3f326f[_0x132c0f(0x206)](_0x132c0f(0x21e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2b534e=_0x3f0818[_0x132c0f(0x205)][_0x132c0f(0x22a)](_0x132c0f(0x221));_0x2b534e&&this[_0x132c0f(0x1f2)](_0x2b534e,_0x132c0f(0x236),(_0x3e0b59,[_0x3e941d,_0x60fc01])=>{const _0xc5f8e6=_0x132c0f;_0x3e941d[_0xc5f8e6(0x22d)](_0xc5f8e6(0x1fe),_0x60fc01);});}[_0x454e5b(0x202)](){const _0x5bc3d4=_0x454e5b,_0x41ccf9=this[_0x5bc3d4(0x235)][_0x5bc3d4(0x208)][_0x5bc3d4(0x22a)](_0x5bc3d4(0x1f3))||{},_0x630e3=this[_0x5bc3d4(0x235)][_0x5bc3d4(0x208)][_0x5bc3d4(0x22a)](_0x5bc3d4(0x228))||'';this[_0x5bc3d4(0x21d)]=_0x4f7aa0(_0x2edb97[_0x5bc3d4(0x233)],_0x5bc3d4(0x238),{..._0x41ccf9,'pubkey':_0x630e3,'ctx-name':_0x5bc3d4(0x21c)+this[_0x5bc3d4(0x1f8)],'sourceList':'','imgOnly':_0x5bc3d4(0x234),'removeCopyright':_0x5bc3d4(0x234),'localeName':this[_0x5bc3d4(0x235)][_0x5bc3d4(0x232)][_0x5bc3d4(0x222)],'externalSourcesEmbedCss':_0x5bc3d4(0x200)}),this[_0x5bc3d4(0x21d)][_0x5bc3d4(0x20e)]=_0x26b37a=>{const _0x2e4828=_0x5bc3d4;if(_0x2e4828(0x23e)==_0x26b37a)return _0x2e4828(0x23b);},_0x2edb97[_0x5bc3d4(0x233)][_0x5bc3d4(0x21a)][_0x5bc3d4(0x1ff)](this[_0x5bc3d4(0x21d)]);}[_0x454e5b(0x211)](){const _0x30a2ed=_0x454e5b;this[_0x30a2ed(0x226)]=_0x4f7aa0(_0x2edb97[_0x30a2ed(0x233)],_0x30a2ed(0x1f7),{'ctx-name':_0x30a2ed(0x21c)+this[_0x30a2ed(0x1f8)]}),_0x2edb97[_0x30a2ed(0x233)][_0x30a2ed(0x21a)][_0x30a2ed(0x1ff)](this[_0x30a2ed(0x226)]);}[_0x454e5b(0x1ee)](){const _0x18b50d=_0x454e5b,_0x20afde=this[_0x18b50d(0x235)][_0x18b50d(0x205)][_0x18b50d(0x22a)](_0x18b50d(0x212));_0x20afde&&this[_0x18b50d(0x1f2)](_0x20afde,_0x18b50d(0x224),()=>{const _0x55e138=_0x18b50d,_0x1a956e=this[_0x55e138(0x235)][_0x55e138(0x220)][_0x55e138(0x233)][_0x55e138(0x209)][_0x55e138(0x1eb)]();_0x1a956e&&_0x1a956e[_0x55e138(0x206)](_0x55e138(0x1fe))&&this[_0x55e138(0x235)][_0x55e138(0x1f4)][_0x55e138(0x1f1)][_0x55e138(0x215)](_0x55e138(0x204),()=>{const _0xa55d96=_0x55e138;_0x47d065(this[_0xa55d96(0x235)],_0x1a956e);});});const _0x594fa7=this[_0x18b50d(0x235)][_0x18b50d(0x205)][_0x18b50d(0x22a)](_0x18b50d(0x217));_0x594fa7&&this[_0x18b50d(0x1f2)](_0x594fa7,_0x18b50d(0x224),()=>{const _0x98a6f2=_0x18b50d,_0x5a69ed=this[_0x98a6f2(0x235)][_0x98a6f2(0x220)][_0x98a6f2(0x233)][_0x98a6f2(0x209)][_0x98a6f2(0x1eb)]();_0x5a69ed&&_0x5a69ed[_0x98a6f2(0x206)](_0x98a6f2(0x1fe))&&this[_0x98a6f2(0x235)][_0x98a6f2(0x1f4)][_0x98a6f2(0x1f1)][_0x98a6f2(0x215)](_0x98a6f2(0x204),()=>{const _0x255772=_0x98a6f2;_0x47d065(this[_0x255772(0x235)],_0x5a69ed);});});}}
23
+ const _0x56dafc=_0xa961;function _0x348e(){const _0x122cc1=['document','map','downcast','cleanupImage','_initSchema','true','uploadcare','for','1847938uTFaQe','editing','isRegistered','#uc-icon-arrow-down','selection','destroy','model','_ctxElement','770488DggSLf','configElement','getAttribute','12050RcRDGW','_initConversion','uploadcareImageReplace','uploadcareImageId','uploader-','_initCtx','join','init','body','view','4069791cJOiVO','removeAttribute','iconHrefResolver','uploadcare.uploader','upcast','closeMax','isPremiumPlugin','execute','_initConfig','getSelectedElement','uc-config','12321xDDEsT','extend','5488oUlckq','replaceImageSource','config','PictureEditing','once','afterInit','22802480aeMXhO','href','imageInline','_configElement','get','schema','_initImageProcessingIndicator','data-uc-image-id','conversion','fromCharCode','remove','add','listenTo','elementToAttribute','pluginName','444ElDvzZ','requires','input[uploadcare-file-input]','\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','imageBlock','insertImage','render','contentLanguage','uc-upload-ctx-provider','querySelector','attributeToAttribute','appendChild','ucContextId','editor','6048tQYGVc','ctxElement','UploadcareEditing','commands','locale','isOfficialPlugin','uploadcare.pubkey','1356iONnpk'];_0x348e=function(){return _0x122cc1;};return _0x348e();}(function(_0xd2deec,_0x5cde2e){const _0x38a27c=_0xa961,_0x46e9f9=_0xd2deec();while(!![]){try{const _0xed1cbb=-parseInt(_0x38a27c(0x9c))/0x1+-parseInt(_0x38a27c(0x94))/0x2+-parseInt(_0x38a27c(0xb4))/0x3*(parseInt(_0x38a27c(0x76))/0x4)+parseInt(_0x38a27c(0x9f))/0x5*(-parseInt(_0x38a27c(0x8b))/0x6)+-parseInt(_0x38a27c(0x84))/0x7*(-parseInt(_0x38a27c(0xb6))/0x8)+parseInt(_0x38a27c(0xa9))/0x9+parseInt(_0x38a27c(0xbc))/0xa;if(_0xed1cbb===_0x5cde2e)break;else _0x46e9f9['push'](_0x46e9f9['shift']());}catch(_0xaef95f){_0x46e9f9['push'](_0x46e9f9['shift']());}}}(_0x348e,0x99d8d));import{Plugin as _0x46fc21}from'ckeditor5/src/core.js';import{Dialog as _0x280b6a}from'ckeditor5/src/ui.js';function _0xa961(_0x5b9425,_0x3895d3){const _0x348e09=_0x348e();return _0xa961=function(_0xa961ca,_0x6b7325){_0xa961ca=_0xa961ca-0x6c;let _0x18dc90=_0x348e09[_0xa961ca];return _0x18dc90;},_0xa961(_0x5b9425,_0x3895d3);}import{createElement as _0x216c56,global as _0x356358,uid as _0x379919}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x40b0bf}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4ee2d2}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x320dbe}from'./utils/editingutils.js';export class UploadcareEditing extends _0x46fc21{[_0x56dafc(0xbf)]=null;[_0x56dafc(0x9b)]=null;static get[_0x56dafc(0x75)](){const _0x4f9db9=_0x56dafc;return _0x4f9db9(0x86);}static get[_0x56dafc(0x77)](){const _0x29ed86=_0x56dafc;return[_0x29ed86(0xb9),_0x4ee2d2,_0x280b6a];}static get[_0x56dafc(0x89)](){return!0x0;}static get[_0x56dafc(0xaf)](){return!0x0;}[_0x56dafc(0x82)];get[_0x56dafc(0x9d)](){const _0x3984a7=_0x56dafc;return this[_0x3984a7(0xbf)];}get[_0x56dafc(0x85)](){const _0x53883a=_0x56dafc;return this[_0x53883a(0x9b)];}constructor(_0x36fc19){const _0x5d3df1=_0x56dafc;super(_0x36fc19),this[_0x5d3df1(0x82)]=_0x379919();}[_0x56dafc(0xa6)](){const _0x55cf85=_0x56dafc,_0x28a0ce=this[_0x55cf85(0x83)];_0x28a0ce[_0x55cf85(0x87)][_0x55cf85(0x72)](_0x55cf85(0x92),new _0x40b0bf(_0x28a0ce));}[_0x56dafc(0xbb)](){const _0x2536c6=_0x56dafc;this[_0x2536c6(0x90)](),this[_0x2536c6(0xa0)](),this[_0x2536c6(0xb1)](),this[_0x2536c6(0xa4)](),this[_0x2536c6(0x6d)](),this[_0x2536c6(0x73)](this[_0x2536c6(0x83)],_0x2536c6(0x99),()=>{const _0x52673e=_0x2536c6;this[_0x52673e(0xbf)]&&(this[_0x52673e(0xbf)][_0x52673e(0x71)](),this[_0x52673e(0xbf)]=null),this[_0x52673e(0x9b)]&&(this[_0x52673e(0x9b)][_0x52673e(0x71)](),this[_0x52673e(0x9b)]=null);const _0x9b2824=_0x356358[_0x52673e(0x8c)][_0x52673e(0x7f)](_0x52673e(0x78));_0x9b2824&&_0x9b2824[_0x52673e(0x71)]();}),async function(_0x5555b9){const _0x29b3fd=_0x40db01([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x34516e=0x535f8c3a,_0x44a604=0x5358fb0a^_0x34516e,_0x5cc751=window[_0x40db01([0x44,0x61,0x74,0x65])][_0x40db01([0x6e,0x6f,0x77])](),_0x743c01=_0x5555b9[_0x40db01([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdb946a=new window[(_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ad86=>{_0x743c01[_0x40db01([0x6f,0x6e,0x63,0x65])](_0x40db01([0x72,0x65,0x61,0x64,0x79]),_0x21ad86);}),_0x292507={[_0x40db01([0x6b,0x74,0x79])]:_0x40db01([0x45,0x43]),[_0x40db01([0x75,0x73,0x65])]:_0x40db01([0x73,0x69,0x67]),[_0x40db01([0x63,0x72,0x76])]:_0x40db01([0x50,0x2d,0x32,0x35,0x36]),[_0x40db01([0x78])]:_0x40db01([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]),[_0x40db01([0x79])]:_0x40db01([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]),[_0x40db01([0x61,0x6c,0x67])]:_0x40db01([0x45,0x53,0x32,0x35,0x36])},_0xeb65c7=_0x743c01[_0x40db01([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40db01([0x67,0x65,0x74])](_0x40db01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f080b(){let _0x32b4bf,_0x1887c0=null,_0x4bd004=null;try{if(_0xeb65c7==_0x40db01([0x47,0x50,0x4c]))return _0x40db01([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32b4bf=_0x5da673(),!_0x32b4bf)return _0x40db01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32b4bf[_0x40db01([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4bd004=_0x21213e(_0x32b4bf[_0x40db01([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32b4bf[_0x40db01([0x6a,0x74,0x69])])),await _0x2a3508()?_0x5c6da2()?_0x3dc638()?_0x40db01([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53ad98()?(_0x32b4bf[_0x40db01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40db01([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1887c0=_0x4bae09(_0x40db01([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x32b4bf[_0x40db01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40db01([0x74,0x72,0x69,0x61,0x6c])&&(_0x1887c0=_0x4bae09(_0x40db01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49ee3f()):_0x40db01([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40db01([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40db01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40db01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3dc638(){const _0x30a2bc=[_0x40db01([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40db01([0x74,0x72,0x69,0x61,0x6c])][_0x40db01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32b4bf[_0x40db01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cc751/0x3e8:0xe10*_0x44a604;return _0x32b4bf[_0x40db01([0x65,0x78,0x70])]<_0x30a2bc;}function _0x5c6da2(){const _0x84bb42=_0x32b4bf[_0x40db01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x84bb42&&(!!_0x84bb42[_0x40db01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40db01([0x2a]))||!!_0x84bb42[_0x40db01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40db01([0x55,0x50,0x4c,0x43])));}function _0x53ad98(){const _0x213a72=_0xa961,_0x404e87=_0x32b4bf[_0x40db01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x404e87||0x0==_0x404e87[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x401ff9}=new URL(window[_0x40db01([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x213a72(0xbd)]);if(_0x404e87[_0x40db01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401ff9))return!0x0;const _0x44791f=_0x401ff9[_0x40db01([0x73,0x70,0x6c,0x69,0x74])](_0x40db01([0x2e]));return _0x404e87[_0x40db01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a07de=>_0x5a07de[_0x40db01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40db01([0x2a])))[_0x40db01([0x6d,0x61,0x70])](_0x498d6e=>_0x498d6e[_0x40db01([0x73,0x70,0x6c,0x69,0x74])](_0x40db01([0x2e])))[_0x40db01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cd08e=>_0x1cd08e[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44791f[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40db01([0x6d,0x61,0x70])](_0x193243=>Array(_0x44791f[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x193243[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40db01([0x66,0x69,0x6c,0x6c])](_0x193243[0x0]===_0x40db01([0x2a])?_0x40db01([0x2a]):'')[_0x40db01([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x193243))[_0x40db01([0x73,0x6f,0x6d,0x65])](_0x5e342e=>_0x44791f[_0x40db01([0x65,0x76,0x65,0x72,0x79])]((_0x3f1df8,_0x26de56)=>_0x5e342e[_0x26de56]===_0x3f1df8||_0x5e342e[_0x26de56]===_0x40db01([0x2a])));}function _0x49ee3f(){return _0x1887c0&&_0x4bd004?new window[(_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16df5e,_0xf14caf)=>{_0x1887c0[_0x40db01([0x74,0x68,0x65,0x6e])](_0x16df5e,_0xf14caf),_0x4bd004[_0x40db01([0x74,0x68,0x65,0x6e])](_0x4064ea=>{_0x4064ea!=_0x40db01([0x56,0x61,0x6c,0x69,0x64])&&_0x16df5e(_0x4064ea);},_0xf14caf);}):_0x1887c0||_0x4bd004||_0x40db01([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21213e(_0x573c46,_0x305a03){return new window[(_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4af256=>{if(_0x3ceaae())return _0x4af256(_0x40db01([0x56,0x61,0x6c,0x69,0x64]));_0x31376a(),_0x743c01[_0x40db01([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40db01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb69bad=!0x1;const _0x435bb8=_0x379919();function _0x546a2a(_0x3d0d92){return!!_0x3d0d92&&(typeof _0x3d0d92===_0x40db01([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d0d92===_0x40db01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d0d92[_0x40db01([0x74,0x68,0x65,0x6e])]===_0x40db01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d0d92[_0x40db01([0x63,0x61,0x74,0x63,0x68])]===_0x40db01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ce98a(_0x5e4753){_0x215dbc(_0x5e4753)[_0x40db01([0x74,0x68,0x65,0x6e])](_0x58f694=>{if(!_0x58f694||_0x58f694[_0x40db01([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40db01([0x6f,0x6b]))return _0x40db01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41e8a3(_0x5bb0d2(_0x435bb8+_0x305a03))!=_0x58f694[_0x40db01([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40db01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40db01([0x56,0x61,0x6c,0x69,0x64]);})[_0x40db01([0x74,0x68,0x65,0x6e])](_0x301ee6=>(_0x975b11(),_0x301ee6),()=>{const _0xea2ef3=_0x4542d2();return null==_0xea2ef3?(_0x975b11(),_0x40db01([0x56,0x61,0x6c,0x69,0x64])):_0x40db01(_0x5cc751-_0xea2ef3>(0x7753083a^_0x34516e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40db01([0x74,0x68,0x65,0x6e])](_0x4af256)[_0x40db01([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4af256(_0x40db01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1850a6=0x536962ba^_0x34516e;function _0x975b11(){const _0x2a5aed=_0x40db01([0x6c,0x6c,0x63,0x74,0x2d])+_0x41e8a3(_0x5bb0d2(_0x573c46)),_0x4a1c5e=_0x5030bf(_0x41e8a3(window[_0x40db01([0x4d,0x61,0x74,0x68])][_0x40db01([0x63,0x65,0x69,0x6c])](_0x5cc751/_0x1850a6)));window[_0x40db01([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40db01([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a5aed,_0x4a1c5e);}function _0x4542d2(){const _0xfc15eb=_0x40db01([0x6c,0x6c,0x63,0x74,0x2d])+_0x41e8a3(_0x5bb0d2(_0x573c46)),_0x46f34e=window[_0x40db01([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40db01([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfc15eb);return _0x46f34e?window[_0x40db01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5030bf(_0x46f34e),0x10)*_0x1850a6:null;}function _0x215dbc(_0x3891b3){return new window[(_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264162,_0x491338)=>{_0x3891b3[_0x40db01([0x74,0x68,0x65,0x6e])](_0x264162,_0x491338),window[_0x40db01([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x491338,0x535e58fa^_0x34516e);});}}_0x743c01[_0x40db01([0x6f,0x6e])](_0x40db01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x43fc6b,_0x20e0e0)=>{if(_0x20e0e0[0x0]!=_0x573c46)return _0x4af256(_0x40db01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20e0e0[0x1]={..._0x20e0e0[0x1],[_0x40db01([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x435bb8};},{[_0x40db01([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40db01([0x68,0x69,0x67,0x68])}),_0x743c01[_0x40db01([0x6f,0x6e])](_0x40db01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x347d7e=>{_0x546a2a(_0x347d7e[_0x40db01([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb69bad=!0x0,_0x1ce98a(_0x347d7e[_0x40db01([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40db01([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40db01([0x6c,0x6f,0x77])}),_0xdb946a[_0x40db01([0x74,0x68,0x65,0x6e])](()=>{_0xb69bad||_0x4af256(_0x40db01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ceaae(){return _0x743c01[_0x40db01([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40db01([0x76,0x69,0x65,0x77])][_0x40db01([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40db01([0x61,0x75,0x74,0x6f]);}function _0x31376a(){_0x743c01[_0x40db01([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40db01([0x76,0x69,0x65,0x77])][_0x40db01([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40db01([0x61,0x75,0x74,0x6f]);}}function _0x4bae09(_0x53597f){const _0x583983=[new window[(_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32fa00=>setTimeout(_0x32fa00,0x5356b2f6^_0x34516e)),_0xdb946a[_0x40db01([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa0338d=>{let _0x263470=0x0;_0x743c01[_0x40db01([0x6d,0x6f,0x64,0x65,0x6c])][_0x40db01([0x6f,0x6e])](_0x40db01([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x322041,_0x2d0f32)=>{_0x2d0f32[0x0][_0x40db01([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x263470++,_0x263470==(0x535f8dc2^_0x34516e)&&(_0xa0338d(),_0x322041[_0x40db01([0x6f,0x66,0x66])]());});}))];return window[_0x40db01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40db01([0x72,0x61,0x63,0x65])](_0x583983)[_0x40db01([0x74,0x68,0x65,0x6e])](()=>_0x53597f);}async function _0x7fb80f(){await _0xdb946a,_0x743c01[_0x40db01([0x6d,0x6f,0x64,0x65,0x6c])][_0x40db01([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fde8b,_0x743c01[_0x40db01([0x6d,0x6f,0x64,0x65,0x6c])][_0x40db01([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fde8b,_0x743c01[_0x40db01([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40db01([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f5267(_0x533e5d){const _0x1b35b2=_0xf51553();_0x743c01[_0x1b35b2]=_0x40db01([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x533e5d,_0x533e5d!=_0x40db01([0x56,0x61,0x6c,0x69,0x64])&&_0x7fb80f();}function _0xf51553(){const _0x189dec=window[_0x40db01([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40db01([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40db01([0x6e,0x6f,0x77])]())[_0x40db01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40db01([0x2e]),'');let _0x3853b1=_0x40db01([0x68]);for(let _0x3b8211=0x0;_0x3b8211<_0x189dec[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b8211+=0x2){let _0x4501f7=window[_0x40db01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x189dec[_0x40db01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b8211,_0x3b8211+0x2));_0x4501f7>=_0x29b3fd[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4501f7-=_0x29b3fd[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3853b1+=_0x29b3fd[_0x4501f7];}return _0x3853b1;}function _0x5da673(){const _0x3b7084=_0xeb65c7[_0x40db01([0x73,0x70,0x6c,0x69,0x74])](_0x40db01([0x2e]));if(0x3!=_0x3b7084[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x327914(_0x3b7084[0x1]);function _0x327914(_0x320857){const _0x2a942c=_0xde4751(_0x320857);return _0x2a942c&&_0x262e66()?_0x2a942c:null;function _0x262e66(){const _0xf1e998=_0x2a942c[_0x40db01([0x6a,0x74,0x69])],_0x2e8b78=window[_0x40db01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf1e998[_0x40db01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf1e998[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x166c44={..._0x2a942c,[_0x40db01([0x6a,0x74,0x69])]:_0xf1e998[_0x40db01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf1e998[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x166c44[_0x40db01([0x76,0x63])],_0x5bb0d2(_0x166c44)==_0x2e8b78;}}}async function _0x2a3508(){let _0x3c4f55=!0x0;try{const _0x3ea1b4=_0xeb65c7[_0x40db01([0x73,0x70,0x6c,0x69,0x74])](_0x40db01([0x2e])),[_0x414bb8,_0x3c65f6,_0x22d578]=_0x3ea1b4;return _0x1f639c(_0x414bb8),await _0x45146f(_0x414bb8,_0x3c65f6,_0x22d578),_0x3c4f55;}catch{return!0x1;}function _0x1f639c(_0x1de431){const _0x47a020=_0xde4751(_0x1de431);_0x47a020&&_0x47a020[_0x40db01([0x61,0x6c,0x67])]==_0x40db01([0x45,0x53,0x32,0x35,0x36])||(_0x3c4f55=!0x1);}async function _0x45146f(_0x5d809e,_0x4d2342,_0x418354){const _0x34851a=window[_0x40db01([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40db01([0x66,0x72,0x6f,0x6d])](_0x5735da(_0x418354),_0x2f3358=>_0x2f3358[_0x40db01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc8369f=new window[(_0x40db01([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40db01([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d809e+_0x40db01([0x2e])+_0x4d2342),_0x32e24d=window[_0x40db01([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40db01([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32e24d)return;const _0x1163d5=await _0x32e24d[_0x40db01([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40db01([0x6a,0x77,0x6b]),_0x292507,{[_0x40db01([0x6e,0x61,0x6d,0x65])]:_0x40db01([0x45,0x43,0x44,0x53,0x41]),[_0x40db01([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40db01([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40db01([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32e24d[_0x40db01([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40db01([0x6e,0x61,0x6d,0x65])]:_0x40db01([0x45,0x43,0x44,0x53,0x41]),[_0x40db01([0x68,0x61,0x73,0x68])]:{[_0x40db01([0x6e,0x61,0x6d,0x65])]:_0x40db01([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1163d5,_0x34851a,_0xc8369f)||(_0x3c4f55=!0x1);}}function _0xde4751(_0x43c686){return _0x43c686[_0x40db01([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40db01([0x65,0x79]))?JSON[_0x40db01([0x70,0x61,0x72,0x73,0x65])](_0x5735da(_0x43c686)):null;}function _0x5735da(_0x4bed5f){return window[_0x40db01([0x61,0x74,0x6f,0x62])](_0x4bed5f[_0x40db01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40db01([0x2b]))[_0x40db01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40db01([0x2f])));}function _0x5bb0d2(_0x5aa587){let _0x12daeb=0x1505;function _0x4cd927(_0x441dcc){for(let _0x3d86d7=0x0;_0x3d86d7<_0x441dcc[_0x40db01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d86d7++){const _0x359068=_0x441dcc[_0x40db01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d86d7);_0x12daeb=(_0x12daeb<<0x5)+_0x12daeb+_0x359068,_0x12daeb&=_0x12daeb;}}function _0x39d7ab(_0x5ab982){Array[_0x40db01([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ab982)?_0x5ab982[_0x40db01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39d7ab):_0x5ab982&&typeof _0x5ab982==_0x40db01([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40db01([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ab982)[_0x40db01([0x73,0x6f,0x72,0x74])]()[_0x40db01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x245a4c,_0x3c1a97])=>{_0x4cd927(_0x245a4c),_0x39d7ab(_0x3c1a97);}):_0x4cd927(window[_0x40db01([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ab982));}return _0x39d7ab(_0x5aa587),_0x12daeb>>>0x0;}function _0x41e8a3(_0x4fade4){return _0x4fade4[_0x40db01([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40db01([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40db01([0x30]));}function _0x5030bf(_0x181442){return _0x181442[_0x40db01([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40db01([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40db01([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fde8b(){}function _0x40db01(_0x24cbd7){const _0x39db74=_0xa961;return _0x24cbd7[_0x39db74(0x8d)](_0x28b044=>String[_0x39db74(0x70)](_0x28b044))[_0x39db74(0xa5)]('');}_0x3f5267(await _0x1f080b());}(this);}[_0x56dafc(0x90)](){const _0x3b5973=_0x56dafc,_0x1cd015=this[_0x3b5973(0x83)][_0x3b5973(0x9a)][_0x3b5973(0x6c)];_0x1cd015[_0x3b5973(0x96)](_0x3b5973(0x7a))&&_0x1cd015[_0x3b5973(0xb5)](_0x3b5973(0x7a),{'allowAttributes':[_0x3b5973(0xa2)]}),_0x1cd015[_0x3b5973(0x96)](_0x3b5973(0xbe))&&_0x1cd015[_0x3b5973(0xb5)](_0x3b5973(0xbe),{'allowAttributes':[_0x3b5973(0xa2)]});}[_0x56dafc(0xa0)](){const _0x6299f0=_0x56dafc,_0x1972a4=this[_0x6299f0(0x83)];_0x1972a4[_0x6299f0(0x6f)][_0x6299f0(0x93)](_0x6299f0(0x8e))[_0x6299f0(0x80)]({'model':_0x6299f0(0xa2),'view':_0x6299f0(0x6e)}),_0x1972a4[_0x6299f0(0x6f)][_0x6299f0(0x93)](_0x6299f0(0xad))[_0x6299f0(0x74)]({'model':{'key':_0x6299f0(0xa2),'value':_0x2a076d=>_0x2a076d[_0x6299f0(0x9e)](_0x6299f0(0x6e))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xf2a88f=_0x1972a4[_0x6299f0(0x87)][_0x6299f0(0xc0)](_0x6299f0(0xb7));_0xf2a88f&&this[_0x6299f0(0x73)](_0xf2a88f,_0x6299f0(0x8f),(_0x4b5497,[_0x471f94,_0x2922cd])=>{const _0x362553=_0x6299f0;_0x471f94[_0x362553(0xaa)](_0x362553(0xa2),_0x2922cd);});}[_0x56dafc(0xb1)](){const _0x1919ea=_0x56dafc,_0x46a10b=this[_0x1919ea(0x83)][_0x1919ea(0xb8)][_0x1919ea(0xc0)](_0x1919ea(0xac))||{},_0x50eaea=this[_0x1919ea(0x83)][_0x1919ea(0xb8)][_0x1919ea(0xc0)](_0x1919ea(0x8a))||'';this[_0x1919ea(0xbf)]=_0x216c56(_0x356358[_0x1919ea(0x8c)],_0x1919ea(0xb3),{..._0x46a10b,'pubkey':_0x50eaea,'ctx-name':_0x1919ea(0xa3)+this[_0x1919ea(0x82)],'sourceList':'','imgOnly':_0x1919ea(0x91),'removeCopyright':_0x1919ea(0x91),'localeName':this[_0x1919ea(0x83)][_0x1919ea(0x88)][_0x1919ea(0x7d)],'externalSourcesEmbedCss':_0x1919ea(0x79)}),this[_0x1919ea(0xbf)][_0x1919ea(0xab)]=_0xffe726=>{const _0x16a999=_0x1919ea;if(_0x16a999(0xae)==_0xffe726)return _0x16a999(0x97);},_0x356358[_0x1919ea(0x8c)][_0x1919ea(0xa7)][_0x1919ea(0x81)](this[_0x1919ea(0xbf)]);}[_0x56dafc(0xa4)](){const _0x1c45f4=_0x56dafc;this[_0x1c45f4(0x9b)]=_0x216c56(_0x356358[_0x1c45f4(0x8c)],_0x1c45f4(0x7e),{'ctx-name':_0x1c45f4(0xa3)+this[_0x1c45f4(0x82)]}),_0x356358[_0x1c45f4(0x8c)][_0x1c45f4(0xa7)][_0x1c45f4(0x81)](this[_0x1c45f4(0x9b)]);}[_0x56dafc(0x6d)](){const _0x23ad1a=_0x56dafc,_0x20548b=this[_0x23ad1a(0x83)][_0x23ad1a(0x87)][_0x23ad1a(0xc0)](_0x23ad1a(0x7b));_0x20548b&&this[_0x23ad1a(0x73)](_0x20548b,_0x23ad1a(0xb0),()=>{const _0x939c11=_0x23ad1a,_0x47a0b8=this[_0x939c11(0x83)][_0x939c11(0x9a)][_0x939c11(0x8c)][_0x939c11(0x98)][_0x939c11(0xb2)]();_0x47a0b8&&_0x47a0b8[_0x939c11(0x9e)](_0x939c11(0xa2))&&this[_0x939c11(0x83)][_0x939c11(0x95)][_0x939c11(0xa8)][_0x939c11(0xba)](_0x939c11(0x7c),()=>{const _0x242fa3=_0x939c11;_0x320dbe(this[_0x242fa3(0x83)],_0x47a0b8);});});const _0x56f894=this[_0x23ad1a(0x83)][_0x23ad1a(0x87)][_0x23ad1a(0xc0)](_0x23ad1a(0xa1));_0x56f894&&this[_0x23ad1a(0x73)](_0x56f894,_0x23ad1a(0xb0),()=>{const _0x464332=_0x23ad1a,_0x201190=this[_0x464332(0x83)][_0x464332(0x9a)][_0x464332(0x8c)][_0x464332(0x98)][_0x464332(0xb2)]();_0x201190&&_0x201190[_0x464332(0x9e)](_0x464332(0xa2))&&this[_0x464332(0x83)][_0x464332(0x95)][_0x464332(0xa8)][_0x464332(0xba)](_0x464332(0x7c),()=>{const _0x32140d=_0x464332;_0x320dbe(this[_0x32140d(0x83)],_0x201190);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2add3d,ObservableMixin as _0x1a7616}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50c071}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x397579}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x52ee8f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x376e5b}from'../../utils/uploadutils.js';import{getImageUrls as _0x236ee5,getImageDimension as _0x5896aa}from'../../utils/editingutils.js';import{isAncestor as _0x229e08}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1a7616(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x54aac6,_0x595620,_0x317a24){super(),this['_editor']=_0x54aac6,this['_dialog']=_0x595620,this['_imageElement']=_0x317a24,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x4693f6=this['_imageElement'],_0xdbd339=_0x4693f6['getAttribute']('uploadcareImageId'),_0x23d3e4=_0x4693f6['getAttribute']('src');if(_0xdbd339)await this['_loadImageInfo'](_0xdbd339,_0x23d3e4);else{if(this['_imageCache']['has'](_0x23d3e4)){const _0x201fc6=this['_imageCache']['get'](_0x23d3e4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x201fc6['url'],this['imageDimension']=_0x201fc6['dimension'],this['imageId']=_0x201fc6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3b2196}=this['_editor'],t=_0x3b2196['t'],_0x2f5eea=new _0x52ee8f(_0x3b2196,this['imageStatus'],this['_attributes']);_0x2f5eea['bind']('status')['to'](this,'imageStatus'),_0x2f5eea['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2f5eea['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2f5eea['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2f5eea,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x397579,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2f5eea,'position':_0x50c071['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2f5eea['focus']();},'onHide':()=>{_0x2f5eea['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53316c=>!_0x229e08(_0x53316c,_0x2f5eea['element'])}});}['_loadImageInfo'](_0xcb45ea,_0x2aacec){return _0x376e5b['getInfo'](_0xcb45ea,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1dfab9=>{const {width:_0x3989ff,height:_0x35c276}=_0x1dfab9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2aacec,this['imageDimension']={'width':_0x3989ff,'height':_0x35c276},this['imageId']=_0xcb45ea;})['catch'](_0x5c6aa1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5c6aa1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x46c0be,_0x521d6d){return this['_getImageAsFile'](_0x46c0be)['then'](_0x38eb87=>_0x376e5b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x521d6d['signal'],'file':_0x38eb87,'onProgress':_0x1abdf9=>{_0x1abdf9&&_0x1abdf9['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1abdf9['value']));}}))['then'](_0x588d04=>{const {width:_0x3c8148,height:_0x2cdc72}=_0x588d04['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x588d04['cdnUrl'],this['imageDimension']={'width':_0x3c8148,'height':_0x2cdc72},this['imageId']=_0x588d04['uuid'],this['imageUploadProgress']=null;const _0x1e9f0a=_0x46c0be['getAttribute']('src');this['_imageCache']['set'](_0x1e9f0a,{'id':_0x588d04['uuid'],'url':_0x588d04['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3b1fc8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b1fc8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2cb142,_0x537c51){_0x2cb142['on']('apply',(_0x396f24,_0x1d2079)=>{this['_replaceImage'](_0x537c51,_0x1d2079['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2cb142['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2cb142['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x40904a,_0x5a58e4,_0x5eabf2){const _0x1a1eac=this['_editor'],{width:_0x57849a,height:_0x275945}=_0x5896aa(_0x5a58e4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2eb7dd,imageSources:_0x50bb61}=_0x236ee5(_0x5a58e4,_0x57849a);_0x1a1eac['model']['change'](_0x23efca=>{if('$graveyard'===_0x40904a['root']['rootName']){_0x1a1eac['execute']('insertImage',{'imageType':_0x40904a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x40904a['getAttributes']()),'uploadcareImageId':_0x5eabf2,'src':_0x2eb7dd,'sources':_0x50bb61,'width':_0x57849a,'height':_0x275945}});const _0x39a8df=_0x40904a['getChildren']();_0x40904a=_0x1a1eac['model']['document']['selection']['getSelectedElement']();for(const _0x2526aa of _0x39a8df)_0x23efca['append'](_0x23efca['cloneElement'](_0x2526aa),_0x40904a);}else _0x23efca['setSelection'](_0x40904a,'on'),_0x1a1eac['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x40904a['getAttributes']()),'uploadcareImageId':_0x5eabf2,'src':_0x2eb7dd,'sources':_0x50bb61,'width':_0x57849a,'height':_0x275945},_0x40904a);_0x23efca['setSelection'](_0x40904a,'on');});}async['_getImageAsFile'](_0x522da0){const _0x4a610b=_0x2add3d['window'],_0xa28e6b=_0x2add3d['document']['location']['href'],_0x200c4b=new _0x4a610b['URL'](_0x522da0['getAttribute']('src'),_0xa28e6b);if('data:'===_0x200c4b['protocol']){const _0x1da1d9=_0x200c4b['href']['split'](','),_0x39684d=_0x1da1d9[0x0]['match'](/:(.*?);/)[0x1],_0x537677=_0x39684d['split']('/')[0x1],_0x1d0600=_0x4a610b['atob'](_0x1da1d9[_0x1da1d9['length']-0x1]);let _0x4f618f=_0x1d0600['length'];const _0x3c9c2b=new _0x4a610b['Uint8Array'](_0x4f618f);for(;_0x4f618f--;)_0x3c9c2b[_0x4f618f]=_0x1d0600['charCodeAt'](_0x4f618f);return new _0x4a610b['File']([_0x3c9c2b],'image.'+_0x537677,{'type':_0x39684d});}const _0x52de00=_0x200c4b['href']['split']('/'),_0x2e9f07=_0x52de00[_0x52de00['length']-0x1],_0x346cc9=_0x2e9f07['split']('.')[0x1];return _0x4a610b['fetch'](_0x200c4b['href'])['then'](_0x319ef6=>_0x319ef6['clone']()['blob']())['then'](_0x306d0a=>new _0x4a610b['File']([_0x306d0a],_0x2e9f07,{'type':'image/'+_0x346cc9}));}}
23
+ import{global as _0x319629,ObservableMixin as _0x27061c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xd8c3d5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x47ffc3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1083d1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x302749}from'../../utils/uploadutils.js';import{getImageUrls as _0x577fc1,getImageDimension as _0xebd83c}from'../../utils/editingutils.js';import{isAncestor as _0x345154}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x27061c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x119d73,_0x4299b5,_0x52daa1){super(),this['_editor']=_0x119d73,this['_dialog']=_0x4299b5,this['_imageElement']=_0x52daa1,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 _0x38be82=this['_imageElement'],_0x53d841=_0x38be82['getAttribute']('uploadcareImageId'),_0x59a11c=_0x38be82['getAttribute']('src');if(_0x53d841)await this['_loadImageInfo'](_0x53d841,_0x59a11c);else{if(this['_imageCache']['has'](_0x59a11c)){const _0x52a244=this['_imageCache']['get'](_0x59a11c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x52a244['url'],this['imageDimension']=_0x52a244['dimension'],this['imageId']=_0x52a244['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x59e4df}=this['_editor'],t=_0x59e4df['t'],_0x1d4552=new _0x1083d1(_0x59e4df,this['imageStatus'],this['_attributes']);_0x1d4552['bind']('status')['to'](this,'imageStatus'),_0x1d4552['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1d4552['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1d4552['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1d4552,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x47ffc3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1d4552,'position':_0xd8c3d5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1d4552['focus']();},'onHide':()=>{_0x1d4552['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2f0c9f=>!_0x345154(_0x2f0c9f,_0x1d4552['element'])}});}['_loadImageInfo'](_0x2b7ba4,_0x4f0e3d){return _0x302749['getInfo'](_0x2b7ba4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x54ad90=>{const {width:_0x5539ee,height:_0x28c0e9}=_0x54ad90['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f0e3d,this['imageDimension']={'width':_0x5539ee,'height':_0x28c0e9},this['imageId']=_0x2b7ba4;})['catch'](_0x3070af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3070af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3541cc,_0x58f471){return this['_getImageAsFile'](_0x3541cc)['then'](_0x26dd50=>_0x302749['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x58f471['signal'],'file':_0x26dd50,'onProgress':_0x41cda6=>{_0x41cda6&&_0x41cda6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x41cda6['value']));}}))['then'](_0x5a7858=>{const {width:_0x3d3486,height:_0x6a3970}=_0x5a7858['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a7858['cdnUrl'],this['imageDimension']={'width':_0x3d3486,'height':_0x6a3970},this['imageId']=_0x5a7858['uuid'],this['imageUploadProgress']=null;const _0xcb4862=_0x3541cc['getAttribute']('src');this['_imageCache']['set'](_0xcb4862,{'id':_0x5a7858['uuid'],'url':_0x5a7858['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x400743=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x400743['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x435074,_0x2e03bf){_0x435074['on']('apply',(_0x549d29,_0xee1deb)=>{this['_replaceImage'](_0x2e03bf,_0xee1deb['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x435074['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x435074['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2e14a2,_0x58d946,_0x4709b2){const _0x83d3f6=this['_editor'],{width:_0x387eb2,height:_0x4154ad}=_0xebd83c(_0x58d946,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3234e3,imageSources:_0xd7904d}=_0x577fc1(_0x58d946,_0x387eb2);_0x83d3f6['model']['change'](_0x55e855=>{if('$graveyard'===_0x2e14a2['root']['rootName']){_0x83d3f6['execute']('insertImage',{'imageType':_0x2e14a2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2e14a2['getAttributes']()),'uploadcareImageId':_0x4709b2,'src':_0x3234e3,'sources':_0xd7904d,'width':_0x387eb2,'height':_0x4154ad}});const _0x330006=_0x2e14a2['getChildren']();_0x2e14a2=_0x83d3f6['model']['document']['selection']['getSelectedElement']();for(const _0xa0e944 of _0x330006)_0x55e855['append'](_0x55e855['cloneElement'](_0xa0e944),_0x2e14a2);}else _0x55e855['setSelection'](_0x2e14a2,'on'),_0x83d3f6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2e14a2['getAttributes']()),'uploadcareImageId':_0x4709b2,'src':_0x3234e3,'sources':_0xd7904d,'width':_0x387eb2,'height':_0x4154ad},_0x2e14a2);_0x55e855['setSelection'](_0x2e14a2,'on');});}async['_getImageAsFile'](_0x526cf4){const _0x10ce0c=_0x319629['window'],_0x4e8510=_0x319629['document']['location']['href'],_0x3a7fe0=new _0x10ce0c['URL'](_0x526cf4['getAttribute']('src'),_0x4e8510);if('data:'===_0x3a7fe0['protocol']){const _0x780ddc=_0x3a7fe0['href']['split'](','),_0x325316=_0x780ddc[0x0]['match'](/:(.*?);/)[0x1],_0x3ac64c=_0x325316['split']('/')[0x1],_0x34fd1e=_0x10ce0c['atob'](_0x780ddc[_0x780ddc['length']-0x1]);let _0x21ce29=_0x34fd1e['length'];const _0xc61238=new _0x10ce0c['Uint8Array'](_0x21ce29);for(;_0x21ce29--;)_0xc61238[_0x21ce29]=_0x34fd1e['charCodeAt'](_0x21ce29);return new _0x10ce0c['File']([_0xc61238],'image.'+_0x3ac64c,{'type':_0x325316});}const _0x2bdbf6=_0x3a7fe0['href']['split']('/'),_0x32ecf3=_0x2bdbf6[_0x2bdbf6['length']-0x1],_0x40f523=_0x32ecf3['split']('.')[0x1];return _0x10ce0c['fetch'](_0x3a7fe0['href'])['then'](_0x1a2614=>_0x1a2614['clone']()['blob']())['then'](_0x5bfed6=>new _0x10ce0c['File']([_0x5bfed6],_0x32ecf3,{'type':'image/'+_0x40f523}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x42c1bd,_0x4f559c){const _0x31aab6=_0x3362,_0x148fd5=_0x42c1bd();while(!![]){try{const _0x5ccc9c=-parseInt(_0x31aab6(0x1b7))/0x1+-parseInt(_0x31aab6(0x1b6))/0x2+-parseInt(_0x31aab6(0x1b3))/0x3+parseInt(_0x31aab6(0x1b2))/0x4*(-parseInt(_0x31aab6(0x1ab))/0x5)+parseInt(_0x31aab6(0x1ac))/0x6*(-parseInt(_0x31aab6(0x1ae))/0x7)+-parseInt(_0x31aab6(0x1a7))/0x8*(parseInt(_0x31aab6(0x1b5))/0x9)+parseInt(_0x31aab6(0x1ad))/0xa;if(_0x5ccc9c===_0x4f559c)break;else _0x148fd5['push'](_0x148fd5['shift']());}catch(_0x3a5245){_0x148fd5['push'](_0x148fd5['shift']());}}}(_0x3eb0,0x63563));import{View as _0x282f07}from'ckeditor5/src/ui.js';function _0x3362(_0x333dce,_0x100fb2){const _0x3eb0c8=_0x3eb0();return _0x3362=function(_0x336299,_0x5d787b){_0x336299=_0x336299-0x1a6;let _0x2b2da0=_0x3eb0c8[_0x336299];return _0x2b2da0;},_0x3362(_0x333dce,_0x100fb2);}export class UploadcareImageEditFormEditingView extends _0x282f07{constructor(_0x183b44,_0x6ff30c){const _0x344d75=_0x3362;super(_0x183b44);const _0x17cc6e=this[_0x344d75(0x1b4)];this[_0x344d75(0x1aa)](_0x344d75(0x1af),''),this[_0x344d75(0x1a9)]({'tag':_0x344d75(0x1b0),'attributes':{..._0x6ff30c,'class':[_0x344d75(0x1a8),_0x344d75(0x1a6)],'ctx-name':_0x344d75(0x1b1),'cdn-url':_0x17cc6e['to'](_0x344d75(0x1af))}});}}function _0x3eb0(){const _0x13ee49=['26396450ipipBC','7aWclac','imageSrc','uc-cloud-image-editor','image-edit','11932gRFnSP','2280723uJBjJT','bindTemplate','9bEHYvY','201674JnmvsR','766449pNvRPa','ck-uploadcare-theme','2779816kpXhVV','uc-light','setTemplate','set','275nVzVIx','562158vZSEdO'];_0x3eb0=function(){return _0x13ee49;};return _0x3eb0();}
23
+ (function(_0x4c9891,_0x444964){const _0x3c84d0=_0x3130,_0xfe1b22=_0x4c9891();while(!![]){try{const _0x58c110=-parseInt(_0x3c84d0(0xc1))/0x1*(-parseInt(_0x3c84d0(0xb9))/0x2)+parseInt(_0x3c84d0(0xb6))/0x3*(-parseInt(_0x3c84d0(0xbe))/0x4)+-parseInt(_0x3c84d0(0xb5))/0x5*(parseInt(_0x3c84d0(0xbc))/0x6)+parseInt(_0x3c84d0(0xbd))/0x7+parseInt(_0x3c84d0(0xc2))/0x8+parseInt(_0x3c84d0(0xc6))/0x9*(parseInt(_0x3c84d0(0xbf))/0xa)+parseInt(_0x3c84d0(0xb4))/0xb*(-parseInt(_0x3c84d0(0xb3))/0xc);if(_0x58c110===_0x444964)break;else _0xfe1b22['push'](_0xfe1b22['shift']());}catch(_0x32b2e0){_0xfe1b22['push'](_0xfe1b22['shift']());}}}(_0x346a,0x3afcf));function _0x3130(_0x4e5cb5,_0x302c20){const _0x346a96=_0x346a();return _0x3130=function(_0x313022,_0x95f318){_0x313022=_0x313022-0xb3;let _0x3cdb07=_0x346a96[_0x313022];return _0x3cdb07;},_0x3130(_0x4e5cb5,_0x302c20);}function _0x346a(){const _0xddfaf8=['795968KRNswg','bindTemplate','imageSrc','ck-uploadcare-theme','1478943iLihQv','6092016GMtCOa','11iQdMYH','1316330fMfMmX','129JtawkG','uc-light','set','4TAoPfN','setTemplate','uc-cloud-image-editor','6gEjTpX','2834489rAVHfS','10436DcRFOe','10uJpmoO','image-edit','227993ZIUsGn'];_0x346a=function(){return _0xddfaf8;};return _0x346a();}import{View as _0x42a866}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x42a866{constructor(_0x3e108e,_0x268f08){const _0x1c1f8e=_0x3130;super(_0x3e108e);const _0x5cc244=this[_0x1c1f8e(0xc3)];this[_0x1c1f8e(0xb8)](_0x1c1f8e(0xc4),''),this[_0x1c1f8e(0xba)]({'tag':_0x1c1f8e(0xbb),'attributes':{..._0x268f08,'class':[_0x1c1f8e(0xb7),_0x1c1f8e(0xc5)],'ctx-name':_0x1c1f8e(0xc0),'cdn-url':_0x5cc244['to'](_0x1c1f8e(0xc4))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x389e9b}from'ckeditor5/src/icons.js';import{ButtonView as _0x31c6e8,IconView as _0x9738dd,View as _0x526b87}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x526b87{constructor(_0x5a37f0){super(_0x5a37f0);const t=_0x5a37f0['t'];this['set']('errorType',null);const _0x194535=new _0x31c6e8(_0x5a37f0);_0x194535['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x194535['withText']=!0x0,_0x194535['class']='ck-button-action',_0x194535['on']('execute',()=>{this['fire']('retry');}),_0x194535['bind']('isVisible')['to'](this,'errorType',_0x2bc553=>'NotFound'!==_0x2bc553);const _0x376c9f=new _0x9738dd();_0x376c9f['content']=_0x389e9b,_0x376c9f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x24b1d9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x376c9f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x24b1d9['to']('errorType',_0x4a9612=>t('NotFound'!==_0x4a9612?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x194535]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x431bd9}from'ckeditor5/src/icons.js';import{ButtonView as _0x2c7cbf,IconView as _0x250be6,View as _0x5451c6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5451c6{constructor(_0x5605b4){super(_0x5605b4);const t=_0x5605b4['t'];this['set']('errorType',null);const _0x226a59=new _0x2c7cbf(_0x5605b4);_0x226a59['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x226a59['withText']=!0x0,_0x226a59['class']='ck-button-action',_0x226a59['on']('execute',()=>{this['fire']('retry');}),_0x226a59['bind']('isVisible')['to'](this,'errorType',_0x5d63b0=>'NotFound'!==_0x5d63b0);const _0x20ba70=new _0x250be6();_0x20ba70['content']=_0x431bd9,_0x20ba70['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4cfd1e=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':[_0x20ba70,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4cfd1e['to']('errorType',_0x3376f2=>t('NotFound'!==_0x3376f2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x226a59]},{'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 _0x12739e,View as _0x30e1f4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x30e1f4{constructor(_0xcacce4){super(_0xcacce4);const t=_0xcacce4['t'],_0x56900f=this['bindTemplate'],_0x1f0dcd=new _0x12739e();_0x1f0dcd['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x1f0dcd,{'text':_0x56900f['to']('imageUploadProgress',_0x1df032=>t('Loading\x20image...')+'\x20('+(_0x1df032||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x8973e7,View as _0x266438}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x266438{constructor(_0xb8b4c9){super(_0xb8b4c9);const t=_0xb8b4c9['t'],_0x4e0986=this['bindTemplate'],_0x4f10e5=new _0x8973e7();_0x4f10e5['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':[_0x4f10e5,{'text':_0x4e0986['to']('imageUploadProgress',_0x25c521=>t('Loading\x20image...')+'\x20('+(_0x25c521||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d8d(){const _0x24685d=['_items','cancel','ck-uploadcare-form','addEventListener','_setView','querySelector','2ljugjV','1804130JlXdJo','_editingView','element','add','836826ynoqwD','status','once','observe','nodeName','uploading','filter','target','_addUploadcareImageEditorListeners','render','clear','138alwtxx','setTemplate','ck-reset_all-excluded','toLowerCase','_loadingView','24TNsGHX','ready','focus','set','_focusableView','retry','476148Vovfgp','2764536ZCsFPD','5002954xtvRdM','apply','error','change:status','82210wZCuzJ','getFocusableElement','addMany','_waitForImageEditorComponent','_addErrorViewListeners','cdnUrl','_errorView','detail','9NcwtFN','createCollection','fire','uc-cloud-image-editor','1018353MEbUso','disconnect','div','addedNodes','length'];_0x4d8d=function(){return _0x24685d;};return _0x4d8d();}const _0xacd3aa=_0x5c14;(function(_0x5ea7b8,_0x58b205){const _0xdf6d2b=_0x5c14,_0x14e1db=_0x5ea7b8();while(!![]){try{const _0x4ed9bb=-parseInt(_0xdf6d2b(0x1f9))/0x1*(-parseInt(_0xdf6d2b(0x1de))/0x2)+parseInt(_0xdf6d2b(0x1e3))/0x3+-parseInt(_0xdf6d2b(0x1fa))/0x4+-parseInt(_0xdf6d2b(0x1ff))/0x5*(parseInt(_0xdf6d2b(0x1ee))/0x6)+parseInt(_0xdf6d2b(0x1d3))/0x7*(parseInt(_0xdf6d2b(0x1f3))/0x8)+parseInt(_0xdf6d2b(0x1cf))/0x9*(-parseInt(_0xdf6d2b(0x1df))/0xa)+parseInt(_0xdf6d2b(0x1fb))/0xb;if(_0x4ed9bb===_0x58b205)break;else _0x14e1db['push'](_0x14e1db['shift']());}catch(_0x2ea656){_0x14e1db['push'](_0x14e1db['shift']());}}}(_0x4d8d,0x60d54));function _0x5c14(_0x494895,_0x1a1464){const _0x4d8de2=_0x4d8d();return _0x5c14=function(_0x5c14c0,_0x36a391){_0x5c14c0=_0x5c14c0-0x1cf;let _0x570f74=_0x4d8de2[_0x5c14c0];return _0x570f74;},_0x5c14(_0x494895,_0x1a1464);}import{View as _0x798f6e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5dce5d}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3cd74a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1ab402}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2a7d07}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2a7d07{[_0xacd3aa(0x1d8)];[_0xacd3aa(0x1f2)];[_0xacd3aa(0x205)];[_0xacd3aa(0x1e0)];[_0xacd3aa(0x1f7)];constructor(_0x33a63b,_0xed4e11,_0xa1ea4f){const _0x348beb=_0xacd3aa;super(_0x33a63b),this[_0x348beb(0x1d8)]=this[_0x348beb(0x1d0)](),this[_0x348beb(0x1f2)]=new _0x5dce5d(_0x33a63b),this[_0x348beb(0x205)]=new _0x3cd74a(_0x33a63b),this[_0x348beb(0x1e0)]=new _0x1ab402(_0x33a63b,_0xa1ea4f),this[_0x348beb(0x1f7)]=new _0x798f6e(_0x33a63b),this[_0x348beb(0x1f7)][_0x348beb(0x1ef)](this[_0x348beb(0x200)]()),this[_0x348beb(0x1f6)](_0x348beb(0x1e4),_0xed4e11),this[_0x348beb(0x1ef)]({'tag':_0x348beb(0x1d5),'attributes':{'class':['ck',_0x348beb(0x1f0),_0x348beb(0x1da)],'tabindex':'-1'},'children':this[_0x348beb(0x1d8)]}),this[_0x348beb(0x1dc)](),this[_0x348beb(0x1e5)](_0x348beb(0x1ec),()=>{const _0x38e8c0=_0x348beb;this[_0x38e8c0(0x202)](this[_0x38e8c0(0x1e1)],_0x396346=>{const _0x58b679=_0x38e8c0;this[_0x58b679(0x1eb)](_0x396346);});}),this['on'](_0x348beb(0x1fe),()=>{const _0x38bb7a=_0x348beb;this[_0x38bb7a(0x1dc)]();}),this[_0x348beb(0x203)]();}[_0xacd3aa(0x1f5)](){const _0x506ea5=_0xacd3aa;this[_0x506ea5(0x1e1)][_0x506ea5(0x1f5)]();}[_0xacd3aa(0x1dc)](){const _0x468979=_0xacd3aa;switch(this[_0x468979(0x1d8)][_0x468979(0x1ed)](),this[_0x468979(0x1e4)]){case _0x468979(0x1e8):this[_0x468979(0x1d8)][_0x468979(0x1e2)](this[_0x468979(0x1f2)]);break;case _0x468979(0x1fd):this[_0x468979(0x1d8)][_0x468979(0x1e2)](this[_0x468979(0x205)]);break;case _0x468979(0x1f4):this[_0x468979(0x1d8)][_0x468979(0x201)]([this[_0x468979(0x1e0)],this[_0x468979(0x1f7)]]);}}[_0xacd3aa(0x202)](_0x249bd7,_0x1e281b){const _0x1e85c7=_0xacd3aa,_0x33827a=_0x1e85c7(0x1d2),_0x40d857=_0x249bd7[_0x1e85c7(0x1dd)](_0x33827a);if(_0x40d857)return _0x1e281b(_0x40d857);const _0x5a1da0=new MutationObserver(_0x96c01b=>{const _0x4af087=_0x1e85c7,_0x3fe37a=_0x96c01b[_0x4af087(0x1e9)](_0x528471=>_0x528471[_0x4af087(0x1ea)]===_0x249bd7&&_0x528471[_0x4af087(0x1d6)][_0x4af087(0x1d7)]>0x0&&_0x528471[_0x4af087(0x1d6)][0x0][_0x4af087(0x1e7)][_0x4af087(0x1f1)]()===_0x33827a);_0x3fe37a[_0x4af087(0x1d7)]&&(_0x5a1da0[_0x4af087(0x1d4)](),_0x1e281b(_0x3fe37a[0x0][_0x4af087(0x1d6)][0x0]));});_0x5a1da0[_0x1e85c7(0x1e6)](_0x249bd7,{'childList':!0x0,'subtree':!0x0});}[_0xacd3aa(0x1eb)](_0x4a49a9){const _0xaa2623=_0xacd3aa;_0x4a49a9[_0xaa2623(0x1db)](_0xaa2623(0x1fc),_0x166e6a=>{const _0x56167f=_0xaa2623;this[_0x56167f(0x1d1)](_0x56167f(0x1fc),{'imageSrc':_0x166e6a[_0x56167f(0x206)][_0x56167f(0x204)]});}),_0x4a49a9[_0xaa2623(0x1db)](_0xaa2623(0x1d9),()=>{const _0x34f973=_0xaa2623;this[_0x34f973(0x1d1)](_0x34f973(0x1d9));});}[_0xacd3aa(0x203)](){const _0x39177d=_0xacd3aa;this[_0x39177d(0x205)]['on'](_0x39177d(0x1f8),()=>{const _0x2ee1d1=_0x39177d;this[_0x2ee1d1(0x1d1)](_0x2ee1d1(0x1f8));});}}
23
+ const _0x1dc731=_0x2163;(function(_0x1d56cc,_0x25c9ec){const _0x11550d=_0x2163,_0xd44c0f=_0x1d56cc();while(!![]){try{const _0x911c1c=parseInt(_0x11550d(0x19e))/0x1*(-parseInt(_0x11550d(0x184))/0x2)+parseInt(_0x11550d(0x188))/0x3+-parseInt(_0x11550d(0x18c))/0x4*(-parseInt(_0x11550d(0x1ae))/0x5)+parseInt(_0x11550d(0x1b0))/0x6+parseInt(_0x11550d(0x1a1))/0x7+-parseInt(_0x11550d(0x19b))/0x8+-parseInt(_0x11550d(0x1af))/0x9;if(_0x911c1c===_0x25c9ec)break;else _0xd44c0f['push'](_0xd44c0f['shift']());}catch(_0x24dc1c){_0xd44c0f['push'](_0xd44c0f['shift']());}}}(_0x3450,0x720da));import{View as _0x1b60ce}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x24d618}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5b9fcf}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x56deda}from'./uploadcareimageeditformeditingview.js';function _0x3450(){const _0x3fa7a4=['setTemplate','1563171BdNxCZ','add','querySelector','filter','1147952LIuhln','set','element','ck-uploadcare-form','nodeName','_addErrorViewListeners','once','retry','change:status','addEventListener','addMany','observe','addedNodes','ck-reset_all-excluded','clear','854040cOwTBt','length','target','2knTuFR','toLowerCase','status','5935328NPeKOE','_errorView','error','cancel','_loadingView','getFocusableElement','uploading','_focusableView','cdnUrl','_items','focus','_editingView','_setView','15fFDDFZ','20584242ZAsouX','4438656CdwKjR','detail','createCollection','uc-cloud-image-editor','disconnect','render','_waitForImageEditorComponent','apply','div','ready','108646SLeRvz','fire','_addUploadcareImageEditorListeners'];_0x3450=function(){return _0x3fa7a4;};return _0x3450();}import{DialogFocusManagerView as _0x3221f4}from'../../utils/dialogfocusmanagerview.js';function _0x2163(_0x3c0d79,_0x4a2984){const _0x3450bb=_0x3450();return _0x2163=function(_0x21635,_0x33ca5b){_0x21635=_0x21635-0x184;let _0x1187e3=_0x3450bb[_0x21635];return _0x1187e3;},_0x2163(_0x3c0d79,_0x4a2984);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3221f4{[_0x1dc731(0x1aa)];[_0x1dc731(0x1a5)];[_0x1dc731(0x1a2)];[_0x1dc731(0x1ac)];[_0x1dc731(0x1a8)];constructor(_0x337830,_0x414996,_0x116cf2){const _0x1ecb4a=_0x1dc731;super(_0x337830),this[_0x1ecb4a(0x1aa)]=this[_0x1ecb4a(0x1b2)](),this[_0x1ecb4a(0x1a5)]=new _0x24d618(_0x337830),this[_0x1ecb4a(0x1a2)]=new _0x5b9fcf(_0x337830),this[_0x1ecb4a(0x1ac)]=new _0x56deda(_0x337830,_0x116cf2),this[_0x1ecb4a(0x1a8)]=new _0x1b60ce(_0x337830),this[_0x1ecb4a(0x1a8)][_0x1ecb4a(0x187)](this[_0x1ecb4a(0x1a6)]()),this[_0x1ecb4a(0x18d)](_0x1ecb4a(0x1a0),_0x414996),this[_0x1ecb4a(0x187)]({'tag':_0x1ecb4a(0x1b8),'attributes':{'class':['ck',_0x1ecb4a(0x199),_0x1ecb4a(0x18f)],'tabindex':'-1'},'children':this[_0x1ecb4a(0x1aa)]}),this[_0x1ecb4a(0x1ad)](),this[_0x1ecb4a(0x192)](_0x1ecb4a(0x1b5),()=>{const _0x3aa9ab=_0x1ecb4a;this[_0x3aa9ab(0x1b6)](this[_0x3aa9ab(0x18e)],_0x297adc=>{const _0x219fa9=_0x3aa9ab;this[_0x219fa9(0x186)](_0x297adc);});}),this['on'](_0x1ecb4a(0x194),()=>{const _0xc41aca=_0x1ecb4a;this[_0xc41aca(0x1ad)]();}),this[_0x1ecb4a(0x191)]();}[_0x1dc731(0x1ab)](){const _0x2fd6ae=_0x1dc731;this[_0x2fd6ae(0x18e)][_0x2fd6ae(0x1ab)]();}[_0x1dc731(0x1ad)](){const _0x22fe12=_0x1dc731;switch(this[_0x22fe12(0x1aa)][_0x22fe12(0x19a)](),this[_0x22fe12(0x1a0)]){case _0x22fe12(0x1a7):this[_0x22fe12(0x1aa)][_0x22fe12(0x189)](this[_0x22fe12(0x1a5)]);break;case _0x22fe12(0x1a3):this[_0x22fe12(0x1aa)][_0x22fe12(0x189)](this[_0x22fe12(0x1a2)]);break;case _0x22fe12(0x1b9):this[_0x22fe12(0x1aa)][_0x22fe12(0x196)]([this[_0x22fe12(0x1ac)],this[_0x22fe12(0x1a8)]]);}}[_0x1dc731(0x1b6)](_0x4b131f,_0x3ecb7d){const _0x3b1c0a=_0x1dc731,_0x5e4a6c=_0x3b1c0a(0x1b3),_0x5445f8=_0x4b131f[_0x3b1c0a(0x18a)](_0x5e4a6c);if(_0x5445f8)return _0x3ecb7d(_0x5445f8);const _0x3f43ef=new MutationObserver(_0x59b174=>{const _0x1c842d=_0x3b1c0a,_0x3da44d=_0x59b174[_0x1c842d(0x18b)](_0x3d8d82=>_0x3d8d82[_0x1c842d(0x19d)]===_0x4b131f&&_0x3d8d82[_0x1c842d(0x198)][_0x1c842d(0x19c)]>0x0&&_0x3d8d82[_0x1c842d(0x198)][0x0][_0x1c842d(0x190)][_0x1c842d(0x19f)]()===_0x5e4a6c);_0x3da44d[_0x1c842d(0x19c)]&&(_0x3f43ef[_0x1c842d(0x1b4)](),_0x3ecb7d(_0x3da44d[0x0][_0x1c842d(0x198)][0x0]));});_0x3f43ef[_0x3b1c0a(0x197)](_0x4b131f,{'childList':!0x0,'subtree':!0x0});}[_0x1dc731(0x186)](_0x43ce71){const _0x3f9901=_0x1dc731;_0x43ce71[_0x3f9901(0x195)](_0x3f9901(0x1b7),_0x256c3f=>{const _0x9f9e4c=_0x3f9901;this[_0x9f9e4c(0x185)](_0x9f9e4c(0x1b7),{'imageSrc':_0x256c3f[_0x9f9e4c(0x1b1)][_0x9f9e4c(0x1a9)]});}),_0x43ce71[_0x3f9901(0x195)](_0x3f9901(0x1a4),()=>{const _0x345f33=_0x3f9901;this[_0x345f33(0x185)](_0x345f33(0x1a4));});}[_0x1dc731(0x191)](){const _0x165cd1=_0x1dc731;this[_0x165cd1(0x1a2)]['on'](_0x165cd1(0x193),()=>{const _0x223a09=_0x165cd1;this[_0x223a09(0x185)](_0x223a09(0x193));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x171250=_0x56a5;(function(_0x467271,_0x5e3b7b){const _0x4539fe=_0x56a5,_0x5deacd=_0x467271();while(!![]){try{const _0x257e41=-parseInt(_0x4539fe(0x9c))/0x1+parseInt(_0x4539fe(0xa4))/0x2*(-parseInt(_0x4539fe(0xac))/0x3)+-parseInt(_0x4539fe(0xa8))/0x4+parseInt(_0x4539fe(0xa6))/0x5*(-parseInt(_0x4539fe(0x91))/0x6)+-parseInt(_0x4539fe(0xab))/0x7+-parseInt(_0x4539fe(0x92))/0x8+parseInt(_0x4539fe(0xaf))/0x9*(parseInt(_0x4539fe(0x98))/0xa);if(_0x257e41===_0x5e3b7b)break;else _0x5deacd['push'](_0x5deacd['shift']());}catch(_0xcfda4e){_0x5deacd['push'](_0x5deacd['shift']());}}}(_0x3a34,0xaa6af));import{Command as _0x4e55c6}from'ckeditor5/src/core.js';function _0x56a5(_0x43d04b,_0x6ba5b){const _0x3a3405=_0x3a34();return _0x56a5=function(_0x56a515,_0x15441c){_0x56a515=_0x56a515-0x91;let _0xbadc8c=_0x3a3405[_0x56a515];return _0xbadc8c;},_0x56a5(_0x43d04b,_0x6ba5b);}import{Dialog as _0x1d2a37}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x52affa}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2c88b9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4e55c6{[_0x171250(0x9f)];static get[_0x171250(0x94)](){return[_0x1d2a37];}[_0x171250(0xa7)];constructor(_0x40322a){const _0x491dda=_0x171250;super(_0x40322a),this[_0x491dda(0x9f)]=void 0x0,this[_0x491dda(0xa7)]=_0x2c88b9(_0x40322a[_0x491dda(0xb0)][_0x491dda(0x9b)](_0x491dda(0xad))||[]),this[_0x491dda(0xa2)]({'isActive':!0x1});}[_0x171250(0x9a)](){const _0x43af9a=_0x171250,_0x2c061d=this[_0x43af9a(0xa1)][_0x43af9a(0xae)][_0x43af9a(0xa9)][_0x43af9a(0x93)][_0x43af9a(0x9e)]();this[_0x43af9a(0xaa)]=this[_0x43af9a(0xa7)](_0x2c061d);}[_0x171250(0x95)](){const _0x234c8e=_0x171250;this[_0x234c8e(0x9f)]&&(this[_0x234c8e(0xa0)](_0x234c8e(0xa5)),this[_0x234c8e(0x9f)]=void 0x0);const _0x28aebe=this[_0x234c8e(0xa1)][_0x234c8e(0xae)][_0x234c8e(0xa9)][_0x234c8e(0x93)][_0x234c8e(0x9e)]();_0x28aebe&&(_0x28aebe['is'](_0x234c8e(0x99),_0x234c8e(0xa3))||_0x28aebe['is'](_0x234c8e(0x99),_0x234c8e(0x9d)))&&(this[_0x234c8e(0x9f)]=new _0x52affa(this[_0x234c8e(0xa1)],this[_0x234c8e(0xa1)][_0x234c8e(0x96)][_0x234c8e(0x9b)](_0x1d2a37),_0x28aebe),this[_0x234c8e(0x97)](_0x234c8e(0xa5))['to'](this[_0x234c8e(0x9f)],_0x234c8e(0xa5)));}}function _0x3a34(){const _0x56a8f2=['refresh','get','1038756fHNRIF','imageInline','getSelectedElement','imageEditController','unbind','editor','set','imageBlock','5484TjTIJP','isActive','830qyJFVL','_isEditable','258448ilDYSd','document','isEnabled','2422525OcDYUx','708nGwpRB','uploadcare.allowExternalImagesEditing','model','9QOydIY','config','3414gWydSh','906016WmfWRR','selection','requires','execute','plugins','bind','30022920wNoFGQ','element'];_0x3a34=function(){return _0x56a8f2;};return _0x3a34();}
23
+ const _0x20c5e7=_0x4b37;(function(_0x233a44,_0x995ffe){const _0x4213d5=_0x4b37,_0x53f6b7=_0x233a44();while(!![]){try{const _0x4046ca=parseInt(_0x4213d5(0x1a7))/0x1+parseInt(_0x4213d5(0x1b2))/0x2*(-parseInt(_0x4213d5(0x1b9))/0x3)+-parseInt(_0x4213d5(0x1b5))/0x4+-parseInt(_0x4213d5(0x1ab))/0x5*(parseInt(_0x4213d5(0x1b4))/0x6)+-parseInt(_0x4213d5(0x1a4))/0x7*(parseInt(_0x4213d5(0x1bc))/0x8)+-parseInt(_0x4213d5(0x1a5))/0x9+-parseInt(_0x4213d5(0x1c0))/0xa*(-parseInt(_0x4213d5(0x1aa))/0xb);if(_0x4046ca===_0x995ffe)break;else _0x53f6b7['push'](_0x53f6b7['shift']());}catch(_0x13aed5){_0x53f6b7['push'](_0x53f6b7['shift']());}}}(_0x3a86,0x2d5cd));function _0x4b37(_0x2a1ff0,_0xa6292c){const _0x3a867e=_0x3a86();return _0x4b37=function(_0x4b3711,_0x36cac4){_0x4b3711=_0x4b3711-0x1a2;let _0x439b46=_0x3a867e[_0x4b3711];return _0x439b46;},_0x4b37(_0x2a1ff0,_0xa6292c);}import{Command as _0x1e1bb2}from'ckeditor5/src/core.js';import{Dialog as _0x183f20}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4e61bc}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x105dfc}from'../utils/editingutils.js';function _0x3a86(){const _0x2e561a=['uploadcare.allowExternalImagesEditing','editor','selection','3610ZFBlsl','isEnabled','model','isActive','getSelectedElement','1276919iDXLpp','288072YBVyzw','unbind','58456PBSnWF','execute','requires','22858UkHUfY','377005uuHQsg','imageEditController','plugins','set','_isEditable','imageBlock','refresh','30904piMaKR','get','6IPoViP','1208316alkHKd','config','element','bind','6tHeDif','document','imageInline','8EyjuNQ'];_0x3a86=function(){return _0x2e561a;};return _0x3a86();}export class UploadcareImageEditCommand extends _0x1e1bb2{[_0x20c5e7(0x1ac)];static get[_0x20c5e7(0x1a9)](){return[_0x183f20];}[_0x20c5e7(0x1af)];constructor(_0x4f0c22){const _0x4633b9=_0x20c5e7;super(_0x4f0c22),this[_0x4633b9(0x1ac)]=void 0x0,this[_0x4633b9(0x1af)]=_0x105dfc(_0x4f0c22[_0x4633b9(0x1b6)][_0x4633b9(0x1b3)](_0x4633b9(0x1bd))||[]),this[_0x4633b9(0x1ae)]({'isActive':!0x1});}[_0x20c5e7(0x1b1)](){const _0x21b2a8=_0x20c5e7,_0x3aad8f=this[_0x21b2a8(0x1be)][_0x21b2a8(0x1c2)][_0x21b2a8(0x1ba)][_0x21b2a8(0x1bf)][_0x21b2a8(0x1a3)]();this[_0x21b2a8(0x1c1)]=this[_0x21b2a8(0x1af)](_0x3aad8f);}[_0x20c5e7(0x1a8)](){const _0xdc9ae=_0x20c5e7;this[_0xdc9ae(0x1ac)]&&(this[_0xdc9ae(0x1a6)](_0xdc9ae(0x1a2)),this[_0xdc9ae(0x1ac)]=void 0x0);const _0x48129=this[_0xdc9ae(0x1be)][_0xdc9ae(0x1c2)][_0xdc9ae(0x1ba)][_0xdc9ae(0x1bf)][_0xdc9ae(0x1a3)]();_0x48129&&(_0x48129['is'](_0xdc9ae(0x1b7),_0xdc9ae(0x1b0))||_0x48129['is'](_0xdc9ae(0x1b7),_0xdc9ae(0x1bb)))&&(this[_0xdc9ae(0x1ac)]=new _0x4e61bc(this[_0xdc9ae(0x1be)],this[_0xdc9ae(0x1be)][_0xdc9ae(0x1ad)][_0xdc9ae(0x1b3)](_0x183f20),_0x48129),this[_0xdc9ae(0x1b8)](_0xdc9ae(0x1a2))['to'](this[_0xdc9ae(0x1ac)],_0xdc9ae(0x1a2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56a8be=_0xf7a4;function _0x110e(){const _0x89972d=['add','3596665WJKHlM','2351961OmqnKL','ImageEditing','uploadcareImageEdit','isOfficialPlugin','uploadcareImageReplace','requires','4306218uohkHK','40UQcBUE','5552488hMFZKz','10289576gJPBsP','1712569ffPApC','commands','501282UGdNzH','2kkfhxp','init','98uUJgEt','pluginName','ImageUtils','UploadcareImageEditEditing','isPremiumPlugin'];_0x110e=function(){return _0x89972d;};return _0x110e();}(function(_0x513817,_0x30c5f7){const _0x4e73b=_0xf7a4,_0x570646=_0x513817();while(!![]){try{const _0x189f13=-parseInt(_0x4e73b(0x1b9))/0x1*(-parseInt(_0x4e73b(0x1bc))/0x2)+-parseInt(_0x4e73b(0x1b5))/0x3+parseInt(_0x4e73b(0x1b7))/0x4+parseInt(_0x4e73b(0x1ae))/0x5+-parseInt(_0x4e73b(0x1bb))/0x6*(parseInt(_0x4e73b(0x1be))/0x7)+-parseInt(_0x4e73b(0x1b8))/0x8+parseInt(_0x4e73b(0x1af))/0x9*(parseInt(_0x4e73b(0x1b6))/0xa);if(_0x189f13===_0x30c5f7)break;else _0x570646['push'](_0x570646['shift']());}catch(_0x1eecaf){_0x570646['push'](_0x570646['shift']());}}}(_0x110e,0xedcff));function _0xf7a4(_0x593076,_0x5c9476){const _0x110ef7=_0x110e();return _0xf7a4=function(_0xf7a439,_0x4f6cf9){_0xf7a439=_0xf7a439-0x1ae;let _0x3c5751=_0x110ef7[_0xf7a439];return _0x3c5751;},_0xf7a4(_0x593076,_0x5c9476);}import{Plugin as _0x4096b5}from'ckeditor5/src/core.js';import{Notification as _0x492bf9}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1aabf1}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x128e6b}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x511ba2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4096b5{static get[_0x56a8be(0x1bf)](){const _0x289267=_0x56a8be;return _0x289267(0x1c1);}static get[_0x56a8be(0x1b4)](){const _0xe4b511=_0x56a8be;return[_0x511ba2,_0x492bf9,_0xe4b511(0x1c0),_0xe4b511(0x1b0)];}static get[_0x56a8be(0x1b2)](){return!0x0;}static get[_0x56a8be(0x1c2)](){return!0x0;}[_0x56a8be(0x1bd)](){const _0x1d27da=_0x56a8be,{editor:_0x407217}=this;_0x407217[_0x1d27da(0x1ba)][_0x1d27da(0x1c3)](_0x1d27da(0x1b1),new _0x1aabf1(_0x407217)),_0x407217[_0x1d27da(0x1ba)][_0x1d27da(0x1c3)](_0x1d27da(0x1b3),new _0x128e6b(_0x407217));}}
23
+ const _0xec10f3=_0x9d3d;(function(_0x29c04c,_0x356d3b){const _0x491771=_0x9d3d,_0x50a197=_0x29c04c();while(!![]){try{const _0x3dec03=parseInt(_0x491771(0x163))/0x1+-parseInt(_0x491771(0x15e))/0x2+parseInt(_0x491771(0x16c))/0x3+parseInt(_0x491771(0x167))/0x4+parseInt(_0x491771(0x160))/0x5+parseInt(_0x491771(0x172))/0x6*(-parseInt(_0x491771(0x162))/0x7)+parseInt(_0x491771(0x169))/0x8*(-parseInt(_0x491771(0x164))/0x9);if(_0x3dec03===_0x356d3b)break;else _0x50a197['push'](_0x50a197['shift']());}catch(_0x3be417){_0x50a197['push'](_0x50a197['shift']());}}}(_0x1069,0x9e67a));import{Plugin as _0xbf3a08}from'ckeditor5/src/core.js';function _0x1069(){const _0x3f0655=['ImageUtils','6069020CCiEDB','isPremiumPlugin','7191023VvXxIp','1293732qcwnRa','204129DXrShH','commands','uploadcareImageEdit','2387416nWwgng','UploadcareImageEditEditing','840ZJpSmu','isOfficialPlugin','add','3776739qGgKAc','pluginName','requires','ImageEditing','uploadcareImageReplace','init','6eSAZUZ','611366zOhRrm'];_0x1069=function(){return _0x3f0655;};return _0x1069();}import{Notification as _0x49e779}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x101ca3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5110a3}from'./uploadcareimagereplacecommand.js';function _0x9d3d(_0x6edc85,_0x5a4801){const _0x10690f=_0x1069();return _0x9d3d=function(_0x9d3d04,_0x433906){_0x9d3d04=_0x9d3d04-0x15e;let _0x18d4e5=_0x10690f[_0x9d3d04];return _0x18d4e5;},_0x9d3d(_0x6edc85,_0x5a4801);}import{UploadcareEditing as _0x15b69b}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xbf3a08{static get[_0xec10f3(0x16d)](){const _0x1a80d2=_0xec10f3;return _0x1a80d2(0x168);}static get[_0xec10f3(0x16e)](){const _0x4323c9=_0xec10f3;return[_0x15b69b,_0x49e779,_0x4323c9(0x15f),_0x4323c9(0x16f)];}static get[_0xec10f3(0x16a)](){return!0x0;}static get[_0xec10f3(0x161)](){return!0x0;}[_0xec10f3(0x171)](){const _0x5981c4=_0xec10f3,{editor:_0x5163f5}=this;_0x5163f5[_0x5981c4(0x165)][_0x5981c4(0x16b)](_0x5981c4(0x166),new _0x101ca3(_0x5163f5)),_0x5163f5[_0x5981c4(0x165)][_0x5981c4(0x16b)](_0x5981c4(0x170),new _0x5110a3(_0x5163f5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x51f7e2}from'ckeditor5/src/core.js';import{ButtonView as _0x3ac9ac}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1bb92f}from'ckeditor5/src/icons.js';import{createElement as _0x147a80}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x51f7e2{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x2d7f75=this['editor'];_0x2d7f75['ui']['componentFactory']['add']('uploadcareImageEdit',_0x47fe7f=>{const _0x3c1a76=_0x2d7f75['commands']['get']('uploadcareImageEdit'),_0xbe8020=new _0x3ac9ac(_0x47fe7f),t=_0x47fe7f['t'];return _0xbe8020['set']({'icon':_0x1bb92f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xbe8020['bind']('isEnabled')['to'](_0x3c1a76),_0xbe8020['bind']('isOn')['to'](_0x3c1a76,'isActive'),this['listenTo'](_0xbe8020,'execute',()=>{_0x2d7f75['execute']('uploadcareImageEdit'),_0x2d7f75['editing']['view']['focus']();}),_0xbe8020;}),this['_initConfig']();}['_initConfig'](){const _0x25780e=_0x147a80(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x25780e),this['listenTo'](this['editor'],'destroy',()=>{_0x25780e['remove']();});}}
23
+ import{Plugin as _0x4bedcf}from'ckeditor5/src/core.js';import{ButtonView as _0x44c40f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd5a56f}from'ckeditor5/src/icons.js';import{createElement as _0x345ca7}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4bedcf{['_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 _0x11f6c9=this['editor'];_0x11f6c9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x30ddf4=>{const _0x104d4e=_0x11f6c9['commands']['get']('uploadcareImageEdit'),_0x219d1d=new _0x44c40f(_0x30ddf4),t=_0x30ddf4['t'];return _0x219d1d['set']({'icon':_0xd5a56f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x219d1d['bind']('isEnabled')['to'](_0x104d4e),_0x219d1d['bind']('isOn')['to'](_0x104d4e,'isActive'),this['listenTo'](_0x219d1d,'execute',()=>{_0x11f6c9['execute']('uploadcareImageEdit'),_0x11f6c9['editing']['view']['focus']();}),_0x219d1d;}),this['_initConfig']();}['_initConfig'](){const _0x33fa68=_0x345ca7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x33fa68),this['listenTo'](this['editor'],'destroy',()=>{_0x33fa68['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d3509=_0x4ef2;(function(_0x22099c,_0x5df99e){const _0x5b63d8=_0x4ef2,_0x3b0834=_0x22099c();while(!![]){try{const _0x477a06=-parseInt(_0x5b63d8(0xf1))/0x1+parseInt(_0x5b63d8(0xf8))/0x2+-parseInt(_0x5b63d8(0xf5))/0x3*(parseInt(_0x5b63d8(0xfd))/0x4)+-parseInt(_0x5b63d8(0xff))/0x5*(-parseInt(_0x5b63d8(0x103))/0x6)+parseInt(_0x5b63d8(0x101))/0x7*(-parseInt(_0x5b63d8(0xfc))/0x8)+-parseInt(_0x5b63d8(0xfb))/0x9*(-parseInt(_0x5b63d8(0xee))/0xa)+parseInt(_0x5b63d8(0xf0))/0xb;if(_0x477a06===_0x5df99e)break;else _0x3b0834['push'](_0x3b0834['shift']());}catch(_0x3480be){_0x3b0834['push'](_0x3b0834['shift']());}}}(_0x5025,0xd3cec));import{Command as _0x132a6a}from'ckeditor5/src/core.js';function _0x4ef2(_0x1f2ccc,_0x55eb59){const _0x5025aa=_0x5025();return _0x4ef2=function(_0x4ef278,_0xcf82fd){_0x4ef278=_0x4ef278-0xed;let _0x3bfdfe=_0x5025aa[_0x4ef278];return _0x3bfdfe;},_0x4ef2(_0x1f2ccc,_0x55eb59);}export class UploadcareImageReplaceCommand extends _0x132a6a{[_0x1d3509(0xf2)](){const _0x57e545=_0x1d3509,_0xbb7384=this[_0x57e545(0xf4)][_0x57e545(0xfa)][_0x57e545(0x104)][_0x57e545(0xf9)][_0x57e545(0xfe)]();this[_0x57e545(0x107)]=Boolean(_0xbb7384&&(_0xbb7384['is'](_0x57e545(0xed),_0x57e545(0xef))||_0xbb7384['is'](_0x57e545(0xed),_0x57e545(0x106))));}[_0x1d3509(0x100)](_0x541112){const _0x518f78=_0x1d3509,_0x4e97bc=this[_0x518f78(0xf4)][_0x518f78(0xfa)][_0x518f78(0x104)][_0x518f78(0xf9)][_0x518f78(0xfe)]();this[_0x518f78(0xf4)][_0x518f78(0xfa)][_0x518f78(0x105)](_0x12d13=>{const _0x2a7caf=_0x518f78;_0x12d13[_0x2a7caf(0xf7)](_0x541112,_0x4e97bc),_0x12d13[_0x2a7caf(0x102)](_0x2a7caf(0xf6),_0x4e97bc),_0x12d13[_0x2a7caf(0x102)](_0x2a7caf(0xf3),_0x4e97bc);});}}function _0x5025(){const _0x1316d8=['imageBlock','22138787HIvuEj','1332597kdOKeN','refresh','sizes','editor','387741fTeolX','srcset','setAttributes','2036096VcUnXs','selection','model','18puiIbD','208bgVGLn','4SMzTtT','getSelectedElement','1952295YXCRgq','execute','340557gcQQER','removeAttribute','6czvnUO','document','change','imageInline','isEnabled','element','866050yUQajc'];_0x5025=function(){return _0x1316d8;};return _0x5025();}
23
+ const _0x4c49e0=_0x182b;(function(_0x321929,_0x246e84){const _0x2484b6=_0x182b,_0x431d80=_0x321929();while(!![]){try{const _0x5883be=-parseInt(_0x2484b6(0x177))/0x1+-parseInt(_0x2484b6(0x17e))/0x2*(-parseInt(_0x2484b6(0x167))/0x3)+-parseInt(_0x2484b6(0x16f))/0x4+parseInt(_0x2484b6(0x171))/0x5*(-parseInt(_0x2484b6(0x178))/0x6)+parseInt(_0x2484b6(0x175))/0x7+-parseInt(_0x2484b6(0x176))/0x8+parseInt(_0x2484b6(0x179))/0x9*(parseInt(_0x2484b6(0x172))/0xa);if(_0x5883be===_0x246e84)break;else _0x431d80['push'](_0x431d80['shift']());}catch(_0x5eb22e){_0x431d80['push'](_0x431d80['shift']());}}}(_0x52d5,0x98a5d));import{Command as _0xd263b6}from'ckeditor5/src/core.js';function _0x182b(_0x2d0ad4,_0x1ce88a){const _0x52d5cd=_0x52d5();return _0x182b=function(_0x182b64,_0x301cc7){_0x182b64=_0x182b64-0x165;let _0x2da5f3=_0x52d5cd[_0x182b64];return _0x2da5f3;},_0x182b(_0x2d0ad4,_0x1ce88a);}function _0x52d5(){const _0x2399c5=['1830362vYEoVm','model','refresh','3dDOHhT','execute','change','element','isEnabled','removeAttribute','srcset','imageInline','3960324vRmjxk','sizes','850KGNLkj','11689960htpULo','imageBlock','setAttributes','1081388yRindh','1251280cjfIda','444655QMTUcw','786gGwirl','9AYxrKO','document','getSelectedElement','editor','selection'];_0x52d5=function(){return _0x2399c5;};return _0x52d5();}export class UploadcareImageReplaceCommand extends _0xd263b6{[_0x4c49e0(0x166)](){const _0x47e908=_0x4c49e0,_0x2e92b6=this[_0x47e908(0x17c)][_0x47e908(0x165)][_0x47e908(0x17a)][_0x47e908(0x17d)][_0x47e908(0x17b)]();this[_0x47e908(0x16b)]=Boolean(_0x2e92b6&&(_0x2e92b6['is'](_0x47e908(0x16a),_0x47e908(0x173))||_0x2e92b6['is'](_0x47e908(0x16a),_0x47e908(0x16e))));}[_0x4c49e0(0x168)](_0x17ca66){const _0x487b71=_0x4c49e0,_0x5a6eff=this[_0x487b71(0x17c)][_0x487b71(0x165)][_0x487b71(0x17a)][_0x487b71(0x17d)][_0x487b71(0x17b)]();this[_0x487b71(0x17c)][_0x487b71(0x165)][_0x487b71(0x169)](_0x8bdf1c=>{const _0xf3b913=_0x487b71;_0x8bdf1c[_0xf3b913(0x174)](_0x17ca66,_0x5a6eff),_0x8bdf1c[_0xf3b913(0x16c)](_0xf3b913(0x16d),_0x5a6eff),_0x8bdf1c[_0xf3b913(0x16c)](_0xf3b913(0x170),_0x5a6eff);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf77c4=_0x500f;function _0x500f(_0x3c3b17,_0x367cfa){var _0x23fd43=_0x23fd();return _0x500f=function(_0x500f77,_0x53ca32){_0x500f77=_0x500f77-0x1af;var _0x31ee01=_0x23fd43[_0x500f77];return _0x31ee01;},_0x500f(_0x3c3b17,_0x367cfa);}(function(_0x389278,_0x45f98f){var _0x2cff24=_0x500f,_0xc5c9aa=_0x389278();while(!![]){try{var _0x2e8d64=parseInt(_0x2cff24(0x1b0))/0x1*(parseInt(_0x2cff24(0x1b5))/0x2)+-parseInt(_0x2cff24(0x1bc))/0x3+parseInt(_0x2cff24(0x1ba))/0x4+-parseInt(_0x2cff24(0x1b7))/0x5+parseInt(_0x2cff24(0x1bd))/0x6*(-parseInt(_0x2cff24(0x1b3))/0x7)+parseInt(_0x2cff24(0x1b2))/0x8*(parseInt(_0x2cff24(0x1b8))/0x9)+parseInt(_0x2cff24(0x1b1))/0xa;if(_0x2e8d64===_0x45f98f)break;else _0xc5c9aa['push'](_0xc5c9aa['shift']());}catch(_0x3f3df8){_0xc5c9aa['push'](_0xc5c9aa['shift']());}}}(_0x23fd,0xb6412));import{Plugin as _0x3c0b77}from'ckeditor5/src/core.js';function _0x23fd(){var _0x2c5094=['11663950PTqzOP','624SlpZVJ','9303742HfVqeo','isOfficialPlugin','108094xXfSfU','pluginName','4541615wArPoR','103833UjDfjG','requires','4901264exHeBt','UploadcareImageEdit','3030795hnMVae','6HmZaUY','isPremiumPlugin','13uROTBu'];_0x23fd=function(){return _0x2c5094;};return _0x23fd();}import{UploadcareImageEditEditing as _0xaf7134}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2f7706}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3c0b77{static get[_0xf77c4(0x1b6)](){var _0x11777d=_0xf77c4;return _0x11777d(0x1bb);}static get[_0xf77c4(0x1b9)](){return[_0xaf7134,_0x2f7706];}static get[_0xf77c4(0x1b4)](){return!0x0;}static get[_0xf77c4(0x1af)](){return!0x0;}}
23
+ var _0x46ef72=_0x1a88;function _0x208c(){var _0x25f38f=['5995566IkKZrZ','isOfficialPlugin','488615ugaXYw','3005JisVtq','pluginName','isPremiumPlugin','11346850GTgIay','3178260ejfofq','1301992jwBWpk','requires','UploadcareImageEdit','6IHPPCC','7gWuldY','4748rUamkS','209614yLFOPU'];_0x208c=function(){return _0x25f38f;};return _0x208c();}function _0x1a88(_0x36cd56,_0x5d062a){var _0x208c02=_0x208c();return _0x1a88=function(_0x1a881a,_0x3ca948){_0x1a881a=_0x1a881a-0x148;var _0x23a54c=_0x208c02[_0x1a881a];return _0x23a54c;},_0x1a88(_0x36cd56,_0x5d062a);}(function(_0x250c77,_0x32a61f){var _0x122a6b=_0x1a88,_0x109ab8=_0x250c77();while(!![]){try{var _0x3042e3=parseInt(_0x122a6b(0x154))/0x1+parseInt(_0x122a6b(0x151))/0x2*(parseInt(_0x122a6b(0x14e))/0x3)+-parseInt(_0x122a6b(0x150))/0x4*(-parseInt(_0x122a6b(0x155))/0x5)+-parseInt(_0x122a6b(0x14a))/0x6*(parseInt(_0x122a6b(0x14f))/0x7)+parseInt(_0x122a6b(0x14b))/0x8+parseInt(_0x122a6b(0x152))/0x9+-parseInt(_0x122a6b(0x149))/0xa;if(_0x3042e3===_0x32a61f)break;else _0x109ab8['push'](_0x109ab8['shift']());}catch(_0x451012){_0x109ab8['push'](_0x109ab8['shift']());}}}(_0x208c,0x8ca90));import{Plugin as _0x3bafd6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x19f9fd}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x10c2d8}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3bafd6{static get[_0x46ef72(0x156)](){var _0x1ff893=_0x46ef72;return _0x1ff893(0x14d);}static get[_0x46ef72(0x14c)](){return[_0x19f9fd,_0x10c2d8];}static get[_0x46ef72(0x153)](){return!0x0;}static get[_0x46ef72(0x148)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2853(){const _0x59aae9=['Local','176610SZUFVt','3526116mcJYNM','isPremiumPlugin','_createButton','_createMenuBarButtons','Dropbox','tooltip','reduce','uploadcareLicenseKeyUsageLimit','destroy','init','get','GPhotos','withText','expired','Facebook','forEach','text','_showLicenseError','bind','9409707mkKbLv','evaluationLimit','url','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','OneDrive','_createToolbarButton','URL','type','domainLimit','pluginName','plugins','commands','editor','50056LtTRkm','config','execute','push','isImageSelected','usageLimit','isEnabled','locale','uploadcareLicenseKeyTrialLimit','uploadcare','registerIntegration','entries','8kGkLso','icon','shortText','Insert','GDrive','featureNotAllowed','_getIntegrationKey','_licenseKeyCheckInterval','195LEFPfe','isOfficialPlugin','map','invalid','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','has','afterInit','ImageInsertUI','54372PkbBGr','UploadcareUI','uploadcare.uploader.sourceList','label','578597LKqOpX','licenseKey','trialLimit','uploadcareLicenseKeyExpired','Replace','upload','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','assetManager','Uploadcare','3425950eqdclK'];_0x2853=function(){return _0x59aae9;};return _0x2853();}const _0x592d49=_0x4b13;(function(_0x2f737c,_0x2d24af){const _0x232303=_0x4b13,_0x2a1869=_0x2f737c();while(!![]){try{const _0x4dd589=-parseInt(_0x232303(0xa7))/0x1+-parseInt(_0x232303(0xf3))/0x2+parseInt(_0x232303(0xea))/0x3*(parseInt(_0x232303(0xd6))/0x4)+parseInt(_0x232303(0xb2))/0x5+parseInt(_0x232303(0xb5))/0x6+-parseInt(_0x232303(0xb4))/0x7+parseInt(_0x232303(0xe2))/0x8*(-parseInt(_0x232303(0xc8))/0x9);if(_0x4dd589===_0x2d24af)break;else _0x2a1869['push'](_0x2a1869['shift']());}catch(_0x42bf5a){_0x2a1869['push'](_0x2a1869['shift']());}}}(_0x2853,0x64096));import{Plugin as _0x41c592}from'ckeditor5/src/core.js';import{IconDropbox as _0x4637b8,IconFacebook as _0x2f9688,IconGoogleDrive as _0x2d132e,IconGooglePhotos as _0x596050,IconUploadcareImageUpload as _0x4b5e32,IconUploadcareLink as _0x5894bf,IconOneDrive as _0x1a313b}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d808b,MenuBarMenuListItemButtonView as _0x5ec8a6}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5a9fef}from'./uploadcareconfig.js';import{getTranslation as _0x1cdeca}from'./utils/common-translations.js';function _0x4b13(_0x7d6f72,_0x438420){const _0x2853c9=_0x2853();return _0x4b13=function(_0x4b1386,_0x56c1b1){_0x4b1386=_0x4b1386-0xa4;let _0x5db7da=_0x2853c9[_0x4b1386];return _0x5db7da;},_0x4b13(_0x7d6f72,_0x438420);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x41c592{[_0x592d49(0xa8)];[_0x592d49(0xe9)];static get[_0x592d49(0xd2)](){const _0x2bf658=_0x592d49;return _0x2bf658(0xa4);}static get[_0x592d49(0xeb)](){return!0x0;}static get[_0x592d49(0xb6)](){return!0x0;}[_0x592d49(0xbe)](){const _0x1577ab=_0x592d49;this[_0x1577ab(0xa8)]=this[_0x1577ab(0xd5)][_0x1577ab(0xd7)][_0x1577ab(0xbf)](_0x1577ab(0xa8));const _0x359cd2=this[_0x1577ab(0xd5)];this[_0x1577ab(0xe9)]=setInterval(()=>{const _0x4351a3=_0x1577ab;let _0x39942d;for(const _0x2760aa in _0x359cd2){const _0x4285a9=_0x2760aa,_0x2246e6=_0x359cd2[_0x4285a9];if(_0x4351a3(0xcb)==_0x2246e6||_0x4351a3(0xad)==_0x2246e6||_0x4351a3(0xaa)==_0x2246e6||_0x4351a3(0xee)==_0x2246e6||_0x4351a3(0xae)==_0x2246e6||_0x4351a3(0xcc)==_0x2246e6||_0x4351a3(0xde)==_0x2246e6||_0x4351a3(0xbc)==_0x2246e6){delete _0x359cd2[_0x4285a9],_0x39942d=_0x2246e6,clearInterval(this[_0x4351a3(0xe9)]),this[_0x4351a3(0xe9)]=void 0x0;break;}}_0x4351a3(0xad)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xed)),_0x4351a3(0xaa)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xc2)),_0x4351a3(0xee)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xd1)),_0x4351a3(0xae)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xe7),_0x4351a3(0xb1)),_0x4351a3(0xcc)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xc9)),_0x4351a3(0xde)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xa9)),_0x4351a3(0xbc)==_0x39942d&&_0x359cd2[_0x4351a3(0xc6)](_0x4351a3(0xdb));},0x3e8);}[_0x592d49(0xf1)](){const _0x351995=_0x592d49,{editor:_0x67e239}=this,_0xd58139=_0x67e239[_0x351995(0xd4)][_0x351995(0xbf)](_0x351995(0xdf));if(!_0xd58139)return;const _0x2d98a7=this[_0x351995(0xef)](_0x67e239[_0x351995(0xd7)][_0x351995(0xbf)](_0x351995(0xa5)))[_0x351995(0xbb)]((_0x4334c1,_0x177d52)=>{const _0x4918d6=_0x351995,_0x53b819=this[_0x4918d6(0xe8)](_0x177d52[_0x4918d6(0xd0)]);return _0x4334c1[_0x53b819]||(_0x4334c1[_0x53b819]=[]),_0x4334c1[_0x53b819][_0x4918d6(0xd9)](_0x177d52),_0x4334c1;},{});_0x67e239[_0x351995(0xd3)][_0x351995(0xf0)](_0x351995(0xf2))&&_0x67e239[_0x351995(0xd4)][_0x351995(0xbf)](_0x351995(0xdf))&&Object[_0x351995(0xe1)](_0x2d98a7)[_0x351995(0xc4)](([_0x849133,_0x292c53])=>{const _0x40c96a=_0x351995;_0x67e239[_0x40c96a(0xd3)][_0x40c96a(0xbf)](_0x40c96a(0xf2))[_0x40c96a(0xe0)]({'name':_0x849133,'observable':()=>_0xd58139,'buttonViewCreator':()=>this[_0x40c96a(0xce)](_0x292c53),'formViewCreator':()=>this[_0x40c96a(0xaf)](_0x292c53),'menuBarButtonViewCreator':()=>this[_0x40c96a(0xb8)](_0x292c53),'override':_0x40c96a(0xb0)!==_0x849133});});}[_0x592d49(0xbd)](){const _0x27589f=_0x592d49;super[_0x27589f(0xbd)](),this[_0x27589f(0xe9)]&&clearInterval(this[_0x27589f(0xe9)]);}[_0x592d49(0xef)](_0x28269e){const _0x1268b8=_0x592d49,{locale:_0x314962}=this[_0x1268b8(0xd5)];return _0x28269e[_0x1268b8(0xec)](_0x241316=>{const _0xe0fec4=_0x1268b8,_0x320c4d=_0x1cdeca(_0x314962,_0x241316,_0xe0fec4(0xe5));switch(_0x241316){case _0x5a9fef[_0xe0fec4(0xb3)]:return{'icon':_0x4b5e32,'type':_0x5a9fef[_0xe0fec4(0xb3)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xcf)]:return{'icon':_0x5894bf,'type':_0x5a9fef[_0xe0fec4(0xcf)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xb9)]:return{'icon':_0x4637b8,'type':_0x5a9fef[_0xe0fec4(0xb9)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xc3)]:return{'icon':_0x2f9688,'type':_0x5a9fef[_0xe0fec4(0xc3)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xe6)]:return{'icon':_0x2d132e,'type':_0x5a9fef[_0xe0fec4(0xe6)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xc0)]:return{'icon':_0x596050,'type':_0x5a9fef[_0xe0fec4(0xc0)],..._0x320c4d};case _0x5a9fef[_0xe0fec4(0xcd)]:return{'icon':_0x1a313b,'type':_0x5a9fef[_0xe0fec4(0xcd)],..._0x320c4d};}});}[_0x592d49(0xe8)](_0x11bceb){const _0x3beb76=_0x592d49;switch(_0x11bceb){case _0x5a9fef[_0x3beb76(0xb3)]:return _0x3beb76(0xac);case _0x5a9fef[_0x3beb76(0xcf)]:return _0x3beb76(0xca);default:return _0x3beb76(0xb0);}}[_0x592d49(0xb7)](_0x55f120,_0x466672){const _0x231803=_0x592d49,_0xf3b7e0=this[_0x231803(0xd5)],_0x5ebc1e=new _0x55f120(_0xf3b7e0[_0x231803(0xdd)]),_0x12391f=_0xf3b7e0[_0x231803(0xd4)][_0x231803(0xbf)](_0x231803(0xdf));return _0x5ebc1e[_0x231803(0xc7)](_0x231803(0xdc))['to'](_0x12391f),_0x5ebc1e['on'](_0x231803(0xd8),()=>{const _0x1691ae=_0x231803;_0x12391f[_0x1691ae(0xd8)](_0x466672);}),_0x5ebc1e;}[_0x592d49(0xce)](_0x4fc80c){const _0x429007=_0x592d49,{locale:_0x215c6c}=this[_0x429007(0xd5)],_0x22dbcc=this[_0x429007(0xd5)][_0x429007(0xd3)][_0x429007(0xbf)](_0x429007(0xf2)),_0x41469f=_0x4fc80c[0x0],_0x4b883a=this[_0x429007(0xb7)](_0x2d808b,_0x41469f[_0x429007(0xd0)]);return _0x4b883a[_0x429007(0xe3)]=_0x41469f[_0x429007(0xe3)],_0x4b883a[_0x429007(0xc7)](_0x429007(0xa6))['to'](_0x22dbcc,_0x429007(0xda),_0x3609ab=>_0x1cdeca(_0x215c6c,_0x41469f[_0x429007(0xd0)],_0x3609ab?_0x429007(0xab):_0x429007(0xe5))[_0x429007(0xc5)]),_0x4b883a[_0x429007(0xba)]=!0x0,_0x4b883a;}[_0x592d49(0xaf)](_0x2a9a7e){const _0x377f08=_0x592d49,{locale:_0x3b1630}=this[_0x377f08(0xd5)],_0x223342=this[_0x377f08(0xd5)][_0x377f08(0xd3)][_0x377f08(0xbf)](_0x377f08(0xf2));return _0x2a9a7e[_0x377f08(0xec)](_0x5dc990=>{const _0x44dc30=_0x377f08,_0x55f5fa=this[_0x44dc30(0xb7)](_0x2d808b,_0x5dc990[_0x44dc30(0xd0)]);return _0x55f5fa[_0x44dc30(0xc1)]=!0x0,_0x55f5fa[_0x44dc30(0xe3)]=_0x5dc990[_0x44dc30(0xe3)],_0x55f5fa[_0x44dc30(0xc7)](_0x44dc30(0xa6))['to'](_0x223342,_0x44dc30(0xda),_0xac9e91=>_0x1cdeca(_0x3b1630,_0x5dc990[_0x44dc30(0xd0)],_0xac9e91?_0x44dc30(0xab):_0x44dc30(0xe5))[_0x44dc30(0xc5)]),_0x55f5fa;});}[_0x592d49(0xb8)](_0x5dc162){const _0x300240=_0x592d49;return _0x5dc162[_0x300240(0xec)](_0x3a4010=>{const _0x28eca4=_0x300240,_0x530ee7=this[_0x28eca4(0xb7)](_0x5ec8a6,_0x3a4010[_0x28eca4(0xd0)]);return _0x530ee7[_0x28eca4(0xe3)]=_0x3a4010[_0x28eca4(0xe3)],_0x530ee7[_0x28eca4(0xa6)]=_0x3a4010[_0x28eca4(0xe4)],_0x530ee7;});}}
23
+ const _0x36290a=_0x1e42;function _0x55b1(){const _0x379a08=['UploadcareUI','uploadcareLicenseKeyNotAllowed','OneDrive','_showLicenseError','registerIntegration','isImageSelected','invalid','has','17444mScfQX','uploadcareLicenseKeyTrialLimit','289016vJVtTF','expired','featureNotAllowed','url','942auuRfP','isEnabled','evaluationLimit','pluginName','map','commands','1877505nLcCUH','_normalizeConfigSourceList','usageLimit','uploadcareLicenseKeyDomainLimit','Insert','1047660uUZlum','_licenseKeyCheckInterval','966552sVQRQU','Uploadcare','URL','icon','reduce','isPremiumPlugin','config','shortText','tooltip','entries','afterInit','assetManager','Facebook','uploadcareLicenseKeyValid','_createButton','editor','destroy','uploadcareLicenseKeyInvalid','28153PFjklc','trialLimit','_createToolbarButton','withText','text','uploadcareLicenseKeyUsageLimit','upload','_createMenuBarButtons','forEach','uploadcareLicenseKeyEvaluationLimit','GDrive','label','licenseKey','_getIntegrationKey','locale','Dropbox','_createDropdownButtons','domainLimit','GPhotos','bind','uploadcareLicenseKeyExpired','391085gdCxDO','uploadcare','uploadcare.uploader.sourceList','plugins','isOfficialPlugin','type','ImageInsertUI','get','execute','Local','push','Replace','init'];_0x55b1=function(){return _0x379a08;};return _0x55b1();}(function(_0x5a48d3,_0x36d93f){const _0x6555=_0x1e42,_0x3b2b13=_0x5a48d3();while(!![]){try{const _0xc6baff=parseInt(_0x6555(0x1b4))/0x1+-parseInt(_0x6555(0x1a0))/0x2+parseInt(_0x6555(0x19b))/0x3+-parseInt(_0x6555(0x1a2))/0x4+parseInt(_0x6555(0x17a))/0x5+parseInt(_0x6555(0x195))/0x6*(parseInt(_0x6555(0x18f))/0x7)+-parseInt(_0x6555(0x191))/0x8;if(_0xc6baff===_0x36d93f)break;else _0x3b2b13['push'](_0x3b2b13['shift']());}catch(_0x41f1b0){_0x3b2b13['push'](_0x3b2b13['shift']());}}}(_0x55b1,0x4e93e));import{Plugin as _0x16c7f0}from'ckeditor5/src/core.js';import{IconDropbox as _0x4b62a7,IconFacebook as _0x547951,IconGoogleDrive as _0x35eaff,IconGooglePhotos as _0x20f7c3,IconUploadcareImageUpload as _0x1dd56c,IconUploadcareLink as _0x5ccfbd,IconOneDrive as _0x1e6798}from'ckeditor5/src/icons.js';import{ButtonView as _0x290d75,MenuBarMenuListItemButtonView as _0x56d961}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1cc560}from'./uploadcareconfig.js';import{getTranslation as _0x564855}from'./utils/common-translations.js';function _0x1e42(_0x5e83fb,_0x5c6480){const _0x55b169=_0x55b1();return _0x1e42=function(_0x1e42aa,_0x5770de){_0x1e42aa=_0x1e42aa-0x16c;let _0x380372=_0x55b169[_0x1e42aa];return _0x380372;},_0x1e42(_0x5e83fb,_0x5c6480);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x16c7f0{[_0x36290a(0x171)];[_0x36290a(0x1a1)];static get[_0x36290a(0x198)](){const _0x28ea3a=_0x36290a;return _0x28ea3a(0x187);}static get[_0x36290a(0x17e)](){return!0x0;}static get[_0x36290a(0x1a7)](){return!0x0;}[_0x36290a(0x186)](){const _0x1bd279=_0x36290a;this[_0x1bd279(0x171)]=this[_0x1bd279(0x1b1)][_0x1bd279(0x1a8)][_0x1bd279(0x181)](_0x1bd279(0x171));const _0x9ccd2=this[_0x1bd279(0x1b1)];this[_0x1bd279(0x1a1)]=setInterval(()=>{const _0x16292f=_0x1bd279;let _0x1ff8c0;for(const _0x1b84ac in _0x9ccd2){const _0x41f094=_0x1b84ac,_0x230bd8=_0x9ccd2[_0x41f094];if(_0x16292f(0x1af)==_0x230bd8||_0x16292f(0x1b3)==_0x230bd8||_0x16292f(0x179)==_0x230bd8||_0x16292f(0x19e)==_0x230bd8||_0x16292f(0x188)==_0x230bd8||_0x16292f(0x16e)==_0x230bd8||_0x16292f(0x190)==_0x230bd8||_0x16292f(0x1b9)==_0x230bd8){delete _0x9ccd2[_0x41f094],_0x1ff8c0=_0x230bd8,clearInterval(this[_0x16292f(0x1a1)]),this[_0x16292f(0x1a1)]=void 0x0;break;}}_0x16292f(0x1b3)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x18d)),_0x16292f(0x179)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x192)),_0x16292f(0x19e)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x176)),_0x16292f(0x188)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x193),_0x16292f(0x1a3)),_0x16292f(0x16e)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x197)),_0x16292f(0x190)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x1b5)),_0x16292f(0x1b9)==_0x1ff8c0&&_0x9ccd2[_0x16292f(0x18a)](_0x16292f(0x19d));},0x3e8);}[_0x36290a(0x1ac)](){const _0x3fb093=_0x36290a,{editor:_0x179a2c}=this,_0xffcc09=_0x179a2c[_0x3fb093(0x19a)][_0x3fb093(0x181)](_0x3fb093(0x17b));if(!_0xffcc09)return;const _0x8ff349=this[_0x3fb093(0x19c)](_0x179a2c[_0x3fb093(0x1a8)][_0x3fb093(0x181)](_0x3fb093(0x17c)))[_0x3fb093(0x1a6)]((_0x5501b7,_0x1f5620)=>{const _0x1eddc7=_0x3fb093,_0x3d322f=this[_0x1eddc7(0x172)](_0x1f5620[_0x1eddc7(0x17f)]);return _0x5501b7[_0x3d322f]||(_0x5501b7[_0x3d322f]=[]),_0x5501b7[_0x3d322f][_0x1eddc7(0x184)](_0x1f5620),_0x5501b7;},{});_0x179a2c[_0x3fb093(0x17d)][_0x3fb093(0x18e)](_0x3fb093(0x180))&&_0x179a2c[_0x3fb093(0x19a)][_0x3fb093(0x181)](_0x3fb093(0x17b))&&Object[_0x3fb093(0x1ab)](_0x8ff349)[_0x3fb093(0x16d)](([_0x4e61c3,_0x544d7b])=>{const _0x2e9886=_0x3fb093;_0x179a2c[_0x2e9886(0x17d)][_0x2e9886(0x181)](_0x2e9886(0x180))[_0x2e9886(0x18b)]({'name':_0x4e61c3,'observable':()=>_0xffcc09,'buttonViewCreator':()=>this[_0x2e9886(0x1b6)](_0x544d7b),'formViewCreator':()=>this[_0x2e9886(0x175)](_0x544d7b),'menuBarButtonViewCreator':()=>this[_0x2e9886(0x16c)](_0x544d7b),'override':_0x2e9886(0x1ad)!==_0x4e61c3});});}[_0x36290a(0x1b2)](){const _0x2c1f37=_0x36290a;super[_0x2c1f37(0x1b2)](),this[_0x2c1f37(0x1a1)]&&clearInterval(this[_0x2c1f37(0x1a1)]);}[_0x36290a(0x19c)](_0x55fe2d){const _0x13d27b=_0x36290a,{locale:_0x28fceb}=this[_0x13d27b(0x1b1)];return _0x55fe2d[_0x13d27b(0x199)](_0x509de2=>{const _0x42f1bf=_0x13d27b,_0xb72eb9=_0x564855(_0x28fceb,_0x509de2,_0x42f1bf(0x19f));switch(_0x509de2){case _0x1cc560[_0x42f1bf(0x183)]:return{'icon':_0x1dd56c,'type':_0x1cc560[_0x42f1bf(0x183)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x1a4)]:return{'icon':_0x5ccfbd,'type':_0x1cc560[_0x42f1bf(0x1a4)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x174)]:return{'icon':_0x4b62a7,'type':_0x1cc560[_0x42f1bf(0x174)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x1ae)]:return{'icon':_0x547951,'type':_0x1cc560[_0x42f1bf(0x1ae)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x16f)]:return{'icon':_0x35eaff,'type':_0x1cc560[_0x42f1bf(0x16f)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x177)]:return{'icon':_0x20f7c3,'type':_0x1cc560[_0x42f1bf(0x177)],..._0xb72eb9};case _0x1cc560[_0x42f1bf(0x189)]:return{'icon':_0x1e6798,'type':_0x1cc560[_0x42f1bf(0x189)],..._0xb72eb9};}});}[_0x36290a(0x172)](_0x1d4ed9){const _0x5075bb=_0x36290a;switch(_0x1d4ed9){case _0x1cc560[_0x5075bb(0x183)]:return _0x5075bb(0x1ba);case _0x1cc560[_0x5075bb(0x1a4)]:return _0x5075bb(0x194);default:return _0x5075bb(0x1ad);}}[_0x36290a(0x1b0)](_0x24a71f,_0x24c932){const _0xbd6924=_0x36290a,_0x36e318=this[_0xbd6924(0x1b1)],_0xc510da=new _0x24a71f(_0x36e318[_0xbd6924(0x173)]),_0x35735b=_0x36e318[_0xbd6924(0x19a)][_0xbd6924(0x181)](_0xbd6924(0x17b));return _0xc510da[_0xbd6924(0x178)](_0xbd6924(0x196))['to'](_0x35735b),_0xc510da['on'](_0xbd6924(0x182),()=>{const _0x14d44a=_0xbd6924;_0x35735b[_0x14d44a(0x182)](_0x24c932);}),_0xc510da;}[_0x36290a(0x1b6)](_0x1f3876){const _0x3b60f3=_0x36290a,{locale:_0xdff5dc}=this[_0x3b60f3(0x1b1)],_0x5db595=this[_0x3b60f3(0x1b1)][_0x3b60f3(0x17d)][_0x3b60f3(0x181)](_0x3b60f3(0x180)),_0x38b898=_0x1f3876[0x0],_0x246678=this[_0x3b60f3(0x1b0)](_0x290d75,_0x38b898[_0x3b60f3(0x17f)]);return _0x246678[_0x3b60f3(0x1a5)]=_0x38b898[_0x3b60f3(0x1a5)],_0x246678[_0x3b60f3(0x178)](_0x3b60f3(0x170))['to'](_0x5db595,_0x3b60f3(0x18c),_0x1f936c=>_0x564855(_0xdff5dc,_0x38b898[_0x3b60f3(0x17f)],_0x1f936c?_0x3b60f3(0x185):_0x3b60f3(0x19f))[_0x3b60f3(0x1b8)]),_0x246678[_0x3b60f3(0x1aa)]=!0x0,_0x246678;}[_0x36290a(0x175)](_0x1c29f0){const _0x611894=_0x36290a,{locale:_0x5d89a}=this[_0x611894(0x1b1)],_0x56393f=this[_0x611894(0x1b1)][_0x611894(0x17d)][_0x611894(0x181)](_0x611894(0x180));return _0x1c29f0[_0x611894(0x199)](_0x35c146=>{const _0x316828=_0x611894,_0x10e915=this[_0x316828(0x1b0)](_0x290d75,_0x35c146[_0x316828(0x17f)]);return _0x10e915[_0x316828(0x1b7)]=!0x0,_0x10e915[_0x316828(0x1a5)]=_0x35c146[_0x316828(0x1a5)],_0x10e915[_0x316828(0x178)](_0x316828(0x170))['to'](_0x56393f,_0x316828(0x18c),_0x4a5168=>_0x564855(_0x5d89a,_0x35c146[_0x316828(0x17f)],_0x4a5168?_0x316828(0x185):_0x316828(0x19f))[_0x316828(0x1b8)]),_0x10e915;});}[_0x36290a(0x16c)](_0x72dae4){const _0x95cca1=_0x36290a;return _0x72dae4[_0x95cca1(0x199)](_0x283bbb=>{const _0x18cf3c=_0x95cca1,_0x266db9=this[_0x18cf3c(0x1b0)](_0x56d961,_0x283bbb[_0x18cf3c(0x17f)]);return _0x266db9[_0x18cf3c(0x1a5)]=_0x283bbb[_0x18cf3c(0x1a5)],_0x266db9[_0x18cf3c(0x170)]=_0x283bbb[_0x18cf3c(0x1a9)],_0x266db9;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x36d529}from'ckeditor5/src/core.js';import{FileRepository as _0x5244d2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x457f00}from'./uploadcareediting.js';import{UploadUtils as _0x5bc9b7}from'./utils/uploadutils.js';import{getImageUrls as _0x396fde}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x36d529{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5244d2,_0x457f00];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x59a32c=this['editor'];if(!!!_0x59a32c['config']['get']('uploadcare'))return;_0x59a32c['plugins']['get'](_0x5244d2)['createUploadAdapter']=_0x34bbd0=>new k(_0x34bbd0,_0x59a32c),_0x59a32c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x24a16e,{imageElement:_0x4090c7,data:_0x4c99da})=>{_0x59a32c['model']['change'](_0x364930=>{_0x364930['setAttribute']('uploadcareImageId',_0x4c99da['uploadcareImageId'],_0x4090c7);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4210d4,_0x3add86){this['loader']=_0x4210d4,this['editor']=_0x3add86,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4e67dd=await this['loader']['file'];return _0x5bc9b7['upload']({'file':_0x4e67dd,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x1cf7cf=>{_0x1cf7cf&&_0x1cf7cf['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1cf7cf['value']);}})['then'](async _0x4c30a9=>{const {imageFallbackUrl:_0x4ed25a,imageSources:_0x1daf69}=_0x396fde(_0x4c30a9['cdnUrl'],_0x4c30a9['imageInfo']['width']);return{'uploadcareImageId':_0x4c30a9['uuid'],'default':_0x4ed25a,'sources':_0x1daf69};})['catch'](()=>{const _0x2e92d5=t('Cannot\x20upload\x20file:')+('\x20'+_0x4e67dd['name']+'.');return Promise['reject'](_0x2e92d5);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5b8fa4}from'ckeditor5/src/core.js';import{FileRepository as _0x53d01b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x32aca2}from'./uploadcareediting.js';import{UploadUtils as _0x783c4a}from'./utils/uploadutils.js';import{getImageUrls as _0x10b79b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5b8fa4{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x53d01b,_0x32aca2];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xd73e25=this['editor'];if(!!!_0xd73e25['config']['get']('uploadcare'))return;_0xd73e25['plugins']['get'](_0x53d01b)['createUploadAdapter']=_0x36f607=>new k(_0x36f607,_0xd73e25),_0xd73e25['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x200778,{imageElement:_0x167d38,data:_0x2118c8})=>{_0xd73e25['model']['change'](_0x523ec8=>{_0x523ec8['setAttribute']('uploadcareImageId',_0x2118c8['uploadcareImageId'],_0x167d38);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5cb169,_0x2c969c){this['loader']=_0x5cb169,this['editor']=_0x2c969c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x37402e=await this['loader']['file'];return _0x783c4a['upload']({'file':_0x37402e,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4276a4=>{_0x4276a4&&_0x4276a4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4276a4['value']);}})['then'](async _0x1ae2cc=>{const {imageFallbackUrl:_0x13b8a3,imageSources:_0x1414c4}=_0x10b79b(_0x1ae2cc['cdnUrl'],_0x1ae2cc['imageInfo']['width']);return{'uploadcareImageId':_0x1ae2cc['uuid'],'default':_0x13b8a3,'sources':_0x1414c4};})['catch'](()=>{const _0x5313ae=t('Cannot\x20upload\x20file:')+('\x20'+_0x37402e['name']+'.');return Promise['reject'](_0x5313ae);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x573dd8}from'../uploadcareconfig.js';export function getTranslation(_0x56e856,_0x7602e4,_0x4780af){const t=_0x56e856['t'],_0x30c43b=_0x56e856['t'];switch(_0x7602e4){case _0x573dd8['Local']:return{'text':_0x30c43b('Insert'===_0x4780af?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x30c43b('From\x20computer')};case _0x573dd8['URL']:return{'text':'Insert'===_0x4780af?_0x30c43b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x30c43b('Via\x20URL')};case _0x573dd8['Dropbox']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x573dd8['Facebook']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x573dd8['GDrive']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x573dd8['GPhotos']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x573dd8['OneDrive']:return{'text':t('Insert'===_0x4780af?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x7602e4;}}
23
+ import{UploadcareSource as _0x3bfc1}from'../uploadcareconfig.js';export function getTranslation(_0x47f579,_0x3212d8,_0x2e26cb){const t=_0x47f579['t'],_0x13d2ca=_0x47f579['t'];switch(_0x3212d8){case _0x3bfc1['Local']:return{'text':_0x13d2ca('Insert'===_0x2e26cb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x13d2ca('From\x20computer')};case _0x3bfc1['URL']:return{'text':'Insert'===_0x2e26cb?_0x13d2ca('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x13d2ca('Via\x20URL')};case _0x3bfc1['Dropbox']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3bfc1['Facebook']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3bfc1['GDrive']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3bfc1['GPhotos']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3bfc1['OneDrive']:return{'text':t('Insert'===_0x2e26cb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3212d8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2de91c=_0xb546;(function(_0xf97e8f,_0x1275d5){var _0xc78c3a=_0xb546,_0x3a9efb=_0xf97e8f();while(!![]){try{var _0x7fae0=parseInt(_0xc78c3a(0xe6))/0x1+parseInt(_0xc78c3a(0xef))/0x2*(parseInt(_0xc78c3a(0xec))/0x3)+-parseInt(_0xc78c3a(0xf5))/0x4*(-parseInt(_0xc78c3a(0xf0))/0x5)+-parseInt(_0xc78c3a(0xed))/0x6*(parseInt(_0xc78c3a(0xe3))/0x7)+parseInt(_0xc78c3a(0xf3))/0x8+parseInt(_0xc78c3a(0xe4))/0x9*(-parseInt(_0xc78c3a(0xea))/0xa)+parseInt(_0xc78c3a(0xe9))/0xb;if(_0x7fae0===_0x1275d5)break;else _0x3a9efb['push'](_0x3a9efb['shift']());}catch(_0x125895){_0x3a9efb['push'](_0x3a9efb['shift']());}}}(_0x44c2,0x991ec));function _0x44c2(){var _0x2dc43e=['84aocKDS','144Vojbwf','createCollection','502518TegATv','focusCycler','true','1412213JuhRLV','661910fZUoZb','focusTracker','438kzeBWm','203724xZEEhR','fire','3422ryKDEs','5BVwNIE','div','bindTemplate','5148128XtuUap','getFocusableElement','2277844ZXUGZj','forwardCycle'];_0x44c2=function(){return _0x2dc43e;};return _0x44c2();}import{FocusTracker as _0x5d9ea3}from'ckeditor5/src/utils.js';import{View as _0x5330c1,FocusCycler as _0x1359f7}from'ckeditor5/src/ui.js';function _0xb546(_0x4d1705,_0x3e8c48){var _0x44c2ea=_0x44c2();return _0xb546=function(_0xb546e0,_0x606a71){_0xb546e0=_0xb546e0-0xe2;var _0x23a6ae=_0x44c2ea[_0xb546e0];return _0x23a6ae;},_0xb546(_0x4d1705,_0x3e8c48);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5330c1{[_0x2de91c(0xeb)];[_0x2de91c(0xe7)];constructor(_0x2d716d){var _0xbef6c6=_0x2de91c;super(_0x2d716d),this[_0xbef6c6(0xeb)]=new _0x5d9ea3(),this[_0xbef6c6(0xe7)]=new _0x1359f7({'focusables':this[_0xbef6c6(0xe5)](),'focusTracker':this[_0xbef6c6(0xeb)]});}[_0x2de91c(0xf4)](){var _0x571f3b=_0x2de91c;return{'tag':_0x571f3b(0xf1),'attributes':{'aria-hidden':_0x571f3b(0xe8),'tabindex':'0'},'on':{'focus':this[_0x571f3b(0xf2)]['to'](()=>{var _0x2ce483=_0x571f3b;this[_0x2ce483(0xe7)][_0x2ce483(0xee)](_0x2ce483(0xe2));})}};}}
23
+ var _0x5c69c7=_0x25bc;(function(_0x3736d2,_0x501998){var _0x3e5b42=_0x25bc,_0x3d71cd=_0x3736d2();while(!![]){try{var _0xfc18ac=parseInt(_0x3e5b42(0xfb))/0x1*(-parseInt(_0x3e5b42(0xfc))/0x2)+-parseInt(_0x3e5b42(0xf8))/0x3*(parseInt(_0x3e5b42(0x100))/0x4)+parseInt(_0x3e5b42(0x101))/0x5+parseInt(_0x3e5b42(0xf9))/0x6+parseInt(_0x3e5b42(0x108))/0x7+-parseInt(_0x3e5b42(0xfe))/0x8+-parseInt(_0x3e5b42(0xfa))/0x9;if(_0xfc18ac===_0x501998)break;else _0x3d71cd['push'](_0x3d71cd['shift']());}catch(_0xc16c9d){_0x3d71cd['push'](_0x3d71cd['shift']());}}}(_0x45ed,0x6f7c9));import{FocusTracker as _0x41cb14}from'ckeditor5/src/utils.js';import{View as _0x34abb1,FocusCycler as _0x2ffed9}from'ckeditor5/src/ui.js';function _0x25bc(_0x337e68,_0x4eb944){var _0x45ed01=_0x45ed();return _0x25bc=function(_0x25bc19,_0x3222f6){_0x25bc19=_0x25bc19-0xf8;var _0x24ae60=_0x45ed01[_0x25bc19];return _0x24ae60;},_0x25bc(_0x337e68,_0x4eb944);}import'../../theme/uploadcare-form.css';function _0x45ed(){var _0x2c2938=['focusCycler','forwardCycle','fire','div','bindTemplate','5088720FDcfdV','getFocusableElement','27QGFOpL','2449248huIUeR','4934277rKCoPZ','41007beVYqo','22gucjya','createCollection','1516440uEXqUC','focusTracker','155436QADUAD','4300485TjwzjJ','true'];_0x45ed=function(){return _0x2c2938;};return _0x45ed();}export class DialogFocusManagerView extends _0x34abb1{[_0x5c69c7(0xff)];[_0x5c69c7(0x103)];constructor(_0xc6266a){var _0x50a948=_0x5c69c7;super(_0xc6266a),this[_0x50a948(0xff)]=new _0x41cb14(),this[_0x50a948(0x103)]=new _0x2ffed9({'focusables':this[_0x50a948(0xfd)](),'focusTracker':this[_0x50a948(0xff)]});}[_0x5c69c7(0x109)](){var _0x47db95=_0x5c69c7;return{'tag':_0x47db95(0x106),'attributes':{'aria-hidden':_0x47db95(0x102),'tabindex':'0'},'on':{'focus':this[_0x47db95(0x107)]['to'](()=>{var _0x2aac3e=_0x47db95;this[_0x2aac3e(0x103)][_0x2aac3e(0x105)](_0x2aac3e(0x104));})}};}}