@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250623.0 → 0.0.0-nightly-20250625.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x311ba3=_0x5da9;(function(_0x3665a4,_0xd2b1f){const _0x444efe=_0x5da9,_0x17f103=_0x3665a4();while(!![]){try{const _0x7928c2=-parseInt(_0x444efe(0x1c0))/0x1+-parseInt(_0x444efe(0x1e6))/0x2*(parseInt(_0x444efe(0x1cf))/0x3)+-parseInt(_0x444efe(0x1a2))/0x4*(-parseInt(_0x444efe(0x1b1))/0x5)+-parseInt(_0x444efe(0x1a6))/0x6+parseInt(_0x444efe(0x1e0))/0x7*(-parseInt(_0x444efe(0x1de))/0x8)+-parseInt(_0x444efe(0x1df))/0x9+parseInt(_0x444efe(0x1d0))/0xa*(parseInt(_0x444efe(0x1c7))/0xb);if(_0x7928c2===_0xd2b1f)break;else _0x17f103['push'](_0x17f103['shift']());}catch(_0x2607e5){_0x17f103['push'](_0x17f103['shift']());}}}(_0x6481,0x81fba));import{Plugin as _0x51ff7a}from'ckeditor5/src/core.js';import{Dialog as _0x223b56}from'ckeditor5/src/ui.js';import{createElement as _0x1a3486,global as _0x2866e8,uid as _0x5a8794}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1a7131}from'./uploadcarecommand.js';function _0x5da9(_0x1baa9a,_0x163034){const _0x648181=_0x6481();return _0x5da9=function(_0x5da906,_0x3e444c){_0x5da906=_0x5da906-0x19c;let _0x1fc93b=_0x648181[_0x5da906];return _0x1fc93b;},_0x5da9(_0x1baa9a,_0x163034);}import{UploadcareUploadAdapter as _0x5e69f1}from'./uploadcareuploadadapter.js';function _0x6481(){const _0x7d3046=['_initImageProcessingIndicator','data-uc-image-id','6613368xounLx','237843NJlEIr','7oBmFzk','_initConfig','uploadcare.uploader','config','get','render','10OSgjSV','model','_initConversion','insertImage','uploadcare.pubkey','imageInline','PictureEditing','removeAttribute','_initCtx','destroy','schema','cleanupImage','imageBlock','uploadcareImageReplace','requires','#uc-icon-arrow-down','appendChild','iconHrefResolver','8UyQYoZ','editing','once','downcast','5073882ZrhJQC','replaceImageSource','configElement','uploadcareImageId','getSelectedElement','closeMax','execute','fromCharCode','uploadcare','body','init','624255sAjDWp','_ctxElement','isOfficialPlugin','locale','true','pluginName','join','attributeToAttribute','querySelector','isPremiumPlugin','getAttribute','upcast','conversion','uploader-','ctxElement','383587EMvwcd','remove','ucContextId','commands','add','document','\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','23925rWDbGO','input[uploadcare-file-input]','afterInit','contentLanguage','for','uc-config','uc-upload-ctx-provider','map','516291BZMStU','14830pNeVTb','href','_configElement','elementToAttribute','extend','editor','isRegistered','_initSchema','view','listenTo','UploadcareEditing','selection'];_0x6481=function(){return _0x7d3046;};return _0x6481();}import{showImageProcessingIndicator as _0x3b6c0a}from'./utils/editingutils.js';export class UploadcareEditing extends _0x51ff7a{[_0x311ba3(0x1d2)]=null;[_0x311ba3(0x1b2)]=null;static get[_0x311ba3(0x1b6)](){const _0x1c24bd=_0x311ba3;return _0x1c24bd(0x1da);}static get[_0x311ba3(0x19e)](){const _0x340dce=_0x311ba3;return[_0x340dce(0x1ec),_0x5e69f1,_0x223b56];}static get[_0x311ba3(0x1b3)](){return!0x0;}static get[_0x311ba3(0x1ba)](){return!0x0;}[_0x311ba3(0x1c2)];get[_0x311ba3(0x1a8)](){const _0x24dcb2=_0x311ba3;return this[_0x24dcb2(0x1d2)];}get[_0x311ba3(0x1bf)](){const _0x55c9b0=_0x311ba3;return this[_0x55c9b0(0x1b2)];}constructor(_0xb29f25){const _0xbd8351=_0x311ba3;super(_0xb29f25),this[_0xbd8351(0x1c2)]=_0x5a8794();}[_0x311ba3(0x1b0)](){const _0x20536b=_0x311ba3,_0x3d1eaa=this[_0x20536b(0x1d5)];_0x3d1eaa[_0x20536b(0x1c3)][_0x20536b(0x1c4)](_0x20536b(0x1ae),new _0x1a7131(_0x3d1eaa));}[_0x311ba3(0x1c9)](){const _0x20680b=_0x311ba3;this[_0x20680b(0x1d7)](),this[_0x20680b(0x1e8)](),this[_0x20680b(0x1e1)](),this[_0x20680b(0x1ee)](),this[_0x20680b(0x1dc)](),this[_0x20680b(0x1d9)](this[_0x20680b(0x1d5)],_0x20680b(0x1ef),()=>{const _0x263811=_0x20680b;this[_0x263811(0x1d2)]&&(this[_0x263811(0x1d2)][_0x263811(0x1c1)](),this[_0x263811(0x1d2)]=null),this[_0x263811(0x1b2)]&&(this[_0x263811(0x1b2)][_0x263811(0x1c1)](),this[_0x263811(0x1b2)]=null);const _0x11efce=_0x2866e8[_0x263811(0x1c5)][_0x263811(0x1b9)](_0x263811(0x1c8));_0x11efce&&_0x11efce[_0x263811(0x1c1)]();}),async function(_0x3ec092){const _0x3cede0=_0x21db8d([0x69,0x61,0x38,0x37,0x71,0x77,0x6c,0x74,0x75,0x72,0x34,0x66,0x76,0x47,0x65,0x33,0x45,0x39,0x54,0x6b,0x7a,0x32,0x35,0x59,0x30,0x78,0x52,0x63,0x44,0x6f,0x41,0x4b,0x48,0x4a,0x64,0x42,0x62,0x4e,0x6a,0x79,0x31,0x49,0x56,0x6d,0x70,0x4d,0x51,0x53,0x4f,0x55,0x67,0x68,0x73,0x57,0x50,0x58,0x6e,0x46,0x5a,0x4c,0x36,0x43]),_0x5095f5=0x35bd5841,_0x142fbc=0x35ba33d1^_0x5095f5,_0x3b159d=window[_0x21db8d([0x44,0x61,0x74,0x65])][_0x21db8d([0x6e,0x6f,0x77])](),_0x2f6ba1=_0x3ec092[_0x21db8d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a13bd=new window[(_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f80c5=>{_0x2f6ba1[_0x21db8d([0x6f,0x6e,0x63,0x65])](_0x21db8d([0x72,0x65,0x61,0x64,0x79]),_0x3f80c5);}),_0x311f91={[_0x21db8d([0x6b,0x74,0x79])]:_0x21db8d([0x45,0x43]),[_0x21db8d([0x75,0x73,0x65])]:_0x21db8d([0x73,0x69,0x67]),[_0x21db8d([0x63,0x72,0x76])]:_0x21db8d([0x50,0x2d,0x32,0x35,0x36]),[_0x21db8d([0x78])]:_0x21db8d([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]),[_0x21db8d([0x79])]:_0x21db8d([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]),[_0x21db8d([0x61,0x6c,0x67])]:_0x21db8d([0x45,0x53,0x32,0x35,0x36])},_0x34c6b4=_0x2f6ba1[_0x21db8d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21db8d([0x67,0x65,0x74])](_0x21db8d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36c425(){let _0x2ab1d9,_0x389145=null,_0x48676f=null;try{if(_0x34c6b4==_0x21db8d([0x47,0x50,0x4c]))return _0x21db8d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ab1d9=_0x3b5b1b(),!_0x2ab1d9)return _0x21db8d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ab1d9[_0x21db8d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48676f=_0x16e87b(_0x2ab1d9[_0x21db8d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ab1d9[_0x21db8d([0x6a,0x74,0x69])])),await _0x81fc20()?_0x5d02cb()?_0x47c49d()?_0x21db8d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ad307()?(_0x2ab1d9[_0x21db8d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21db8d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x389145=_0x2f5fca(_0x21db8d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ab1d9[_0x21db8d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21db8d([0x74,0x72,0x69,0x61,0x6c])&&(_0x389145=_0x2f5fca(_0x21db8d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20d231()):_0x21db8d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21db8d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21db8d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21db8d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47c49d(){const _0x444ca5=[_0x21db8d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21db8d([0x74,0x72,0x69,0x61,0x6c])][_0x21db8d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ab1d9[_0x21db8d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b159d/0x3e8:0xe10*_0x142fbc;return _0x2ab1d9[_0x21db8d([0x65,0x78,0x70])]<_0x444ca5;}function _0x5d02cb(){const _0x1b86d1=_0x2ab1d9[_0x21db8d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b86d1&&(!!_0x1b86d1[_0x21db8d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21db8d([0x2a]))||!!_0x1b86d1[_0x21db8d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21db8d([0x55,0x50,0x4c,0x43])));}function _0x3ad307(){const _0x764297=_0x5da9,_0x914bd9=_0x2ab1d9[_0x21db8d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x914bd9||0x0==_0x914bd9[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40f66d}=new URL(window[_0x21db8d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x764297(0x1d1)]);if(_0x914bd9[_0x21db8d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f66d))return!0x0;const _0x3f4421=_0x40f66d[_0x21db8d([0x73,0x70,0x6c,0x69,0x74])](_0x21db8d([0x2e]));return _0x914bd9[_0x21db8d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b66a5=>_0x1b66a5[_0x21db8d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21db8d([0x2a])))[_0x21db8d([0x6d,0x61,0x70])](_0x2a6d3c=>_0x2a6d3c[_0x21db8d([0x73,0x70,0x6c,0x69,0x74])](_0x21db8d([0x2e])))[_0x21db8d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x119872=>_0x119872[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f4421[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21db8d([0x6d,0x61,0x70])](_0x34dad4=>Array(_0x3f4421[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34dad4[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21db8d([0x66,0x69,0x6c,0x6c])](_0x34dad4[0x0]===_0x21db8d([0x2a])?_0x21db8d([0x2a]):'')[_0x21db8d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34dad4))[_0x21db8d([0x73,0x6f,0x6d,0x65])](_0x587d8f=>_0x3f4421[_0x21db8d([0x65,0x76,0x65,0x72,0x79])]((_0x50c058,_0x3467cb)=>_0x587d8f[_0x3467cb]===_0x50c058||_0x587d8f[_0x3467cb]===_0x21db8d([0x2a])));}function _0x20d231(){return _0x389145&&_0x48676f?new window[(_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb9b775,_0x1ef141)=>{_0x389145[_0x21db8d([0x74,0x68,0x65,0x6e])](_0xb9b775,_0x1ef141),_0x48676f[_0x21db8d([0x74,0x68,0x65,0x6e])](_0x574d15=>{_0x574d15!=_0x21db8d([0x56,0x61,0x6c,0x69,0x64])&&_0xb9b775(_0x574d15);},_0x1ef141);}):_0x389145||_0x48676f||_0x21db8d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16e87b(_0x13d52c,_0x2c73f7){return new window[(_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52ca55=>{if(_0xb3036e())return _0x52ca55(_0x21db8d([0x56,0x61,0x6c,0x69,0x64]));_0x1033f1(),_0x2f6ba1[_0x21db8d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21db8d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x546678=!0x1;const _0x30b15f=_0x5a8794();function _0x397b43(_0x9877ed){return!!_0x9877ed&&(typeof _0x9877ed===_0x21db8d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9877ed===_0x21db8d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9877ed[_0x21db8d([0x74,0x68,0x65,0x6e])]===_0x21db8d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9877ed[_0x21db8d([0x63,0x61,0x74,0x63,0x68])]===_0x21db8d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x331cd3(_0x421337){_0x324c09(_0x421337)[_0x21db8d([0x74,0x68,0x65,0x6e])](_0x1bd2c3=>{if(!_0x1bd2c3||_0x1bd2c3[_0x21db8d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21db8d([0x6f,0x6b]))return _0x21db8d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x345fc9(_0x3b8b2e(_0x30b15f+_0x2c73f7))!=_0x1bd2c3[_0x21db8d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21db8d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21db8d([0x56,0x61,0x6c,0x69,0x64]);})[_0x21db8d([0x74,0x68,0x65,0x6e])](_0x56e7fe=>(_0x558be4(),_0x56e7fe),()=>{const _0x84497=_0x2c2818();return null==_0x84497?(_0x558be4(),_0x21db8d([0x56,0x61,0x6c,0x69,0x64])):_0x21db8d(_0x3b159d-_0x84497>(0x11b1dc41^_0x5095f5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21db8d([0x74,0x68,0x65,0x6e])](_0x52ca55)[_0x21db8d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52ca55(_0x21db8d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38d493=0x358bb6c1^_0x5095f5;function _0x558be4(){const _0xac3059=_0x21db8d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345fc9(_0x3b8b2e(_0x13d52c)),_0x272b8c=_0x1008ed(_0x345fc9(window[_0x21db8d([0x4d,0x61,0x74,0x68])][_0x21db8d([0x63,0x65,0x69,0x6c])](_0x3b159d/_0x38d493)));window[_0x21db8d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21db8d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xac3059,_0x272b8c);}function _0x2c2818(){const _0x42eeea=_0x21db8d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345fc9(_0x3b8b2e(_0x13d52c)),_0x8dfd67=window[_0x21db8d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21db8d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42eeea);return _0x8dfd67?window[_0x21db8d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1008ed(_0x8dfd67),0x10)*_0x38d493:null;}function _0x324c09(_0x82f668){return new window[(_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b978c,_0x2eddef)=>{_0x82f668[_0x21db8d([0x74,0x68,0x65,0x6e])](_0x5b978c,_0x2eddef),window[_0x21db8d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2eddef,0x35bc8c81^_0x5095f5);});}}_0x2f6ba1[_0x21db8d([0x6f,0x6e])](_0x21db8d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x273300,_0x4c3b02)=>{if(_0x4c3b02[0x0]!=_0x13d52c)return _0x52ca55(_0x21db8d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c3b02[0x1]={..._0x4c3b02[0x1],[_0x21db8d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30b15f};},{[_0x21db8d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21db8d([0x68,0x69,0x67,0x68])}),_0x2f6ba1[_0x21db8d([0x6f,0x6e])](_0x21db8d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e47fa=>{_0x397b43(_0x5e47fa[_0x21db8d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x546678=!0x0,_0x331cd3(_0x5e47fa[_0x21db8d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21db8d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21db8d([0x6c,0x6f,0x77])}),_0x5a13bd[_0x21db8d([0x74,0x68,0x65,0x6e])](()=>{_0x546678||_0x52ca55(_0x21db8d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb3036e(){return _0x2f6ba1[_0x21db8d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21db8d([0x76,0x69,0x65,0x77])][_0x21db8d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21db8d([0x61,0x75,0x74,0x6f]);}function _0x1033f1(){_0x2f6ba1[_0x21db8d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21db8d([0x76,0x69,0x65,0x77])][_0x21db8d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21db8d([0x61,0x75,0x74,0x6f]);}}function _0x2f5fca(_0xc50b17){const _0x55c5ad=[new window[(_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x243b51=>setTimeout(_0x243b51,0x35b4668d^_0x5095f5)),_0x5a13bd[_0x21db8d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x359b7b=>{let _0x488547=0x0;_0x2f6ba1[_0x21db8d([0x6d,0x6f,0x64,0x65,0x6c])][_0x21db8d([0x6f,0x6e])](_0x21db8d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c1260,_0x132711)=>{_0x132711[0x0][_0x21db8d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x488547++,_0x488547==(0x35bd59b9^_0x5095f5)&&(_0x359b7b(),_0x2c1260[_0x21db8d([0x6f,0x66,0x66])]());});}))];return window[_0x21db8d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21db8d([0x72,0x61,0x63,0x65])](_0x55c5ad)[_0x21db8d([0x74,0x68,0x65,0x6e])](()=>_0xc50b17);}async function _0x2e0a06(){await _0x5a13bd,_0x2f6ba1[_0x21db8d([0x6d,0x6f,0x64,0x65,0x6c])][_0x21db8d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d9645,_0x2f6ba1[_0x21db8d([0x6d,0x6f,0x64,0x65,0x6c])][_0x21db8d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d9645,_0x2f6ba1[_0x21db8d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21db8d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x562e43(_0x3ca9c8){const _0x760de1=_0x42f86e();_0x2f6ba1[_0x760de1]=_0x21db8d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ca9c8,_0x3ca9c8!=_0x21db8d([0x56,0x61,0x6c,0x69,0x64])&&_0x2e0a06();}function _0x42f86e(){const _0x48b0f1=window[_0x21db8d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21db8d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21db8d([0x6e,0x6f,0x77])]())[_0x21db8d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21db8d([0x2e]),'');let _0x46ac2a=_0x21db8d([0x69]);for(let _0x3402a8=0x0;_0x3402a8<_0x48b0f1[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3402a8+=0x2){let _0x479db9=window[_0x21db8d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48b0f1[_0x21db8d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3402a8,_0x3402a8+0x2));_0x479db9>=_0x3cede0[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x479db9-=_0x3cede0[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46ac2a+=_0x3cede0[_0x479db9];}return _0x46ac2a;}function _0x3b5b1b(){const _0x4d128a=_0x34c6b4[_0x21db8d([0x73,0x70,0x6c,0x69,0x74])](_0x21db8d([0x2e]));if(0x3!=_0x4d128a[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f3e54(_0x4d128a[0x1]);function _0x5f3e54(_0x5b9ae3){const _0x7e7961=_0x5f3e25(_0x5b9ae3);return _0x7e7961&&_0x540744()?_0x7e7961:null;function _0x540744(){const _0x5ef842=_0x7e7961[_0x21db8d([0x6a,0x74,0x69])],_0x44e3b8=window[_0x21db8d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ef842[_0x21db8d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ef842[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc80497={..._0x7e7961,[_0x21db8d([0x6a,0x74,0x69])]:_0x5ef842[_0x21db8d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ef842[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc80497[_0x21db8d([0x76,0x63])],_0x3b8b2e(_0xc80497)==_0x44e3b8;}}}async function _0x81fc20(){let _0x4d2cbe=!0x0;try{const _0x2b834e=_0x34c6b4[_0x21db8d([0x73,0x70,0x6c,0x69,0x74])](_0x21db8d([0x2e])),[_0x2f49e7,_0x31fd0f,_0x1e5ff0]=_0x2b834e;return _0x3a87fb(_0x2f49e7),await _0x1e2922(_0x2f49e7,_0x31fd0f,_0x1e5ff0),_0x4d2cbe;}catch{return!0x1;}function _0x3a87fb(_0x307253){const _0x1bbbbc=_0x5f3e25(_0x307253);_0x1bbbbc&&_0x1bbbbc[_0x21db8d([0x61,0x6c,0x67])]==_0x21db8d([0x45,0x53,0x32,0x35,0x36])||(_0x4d2cbe=!0x1);}async function _0x1e2922(_0x564511,_0x563556,_0x269ef4){const _0x440ce5=window[_0x21db8d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21db8d([0x66,0x72,0x6f,0x6d])](_0x1b9176(_0x269ef4),_0x39be72=>_0x39be72[_0x21db8d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47b4ed=new window[(_0x21db8d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21db8d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x564511+_0x21db8d([0x2e])+_0x563556),_0x545458=window[_0x21db8d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21db8d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x545458)return;const _0x58bf43=await _0x545458[_0x21db8d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21db8d([0x6a,0x77,0x6b]),_0x311f91,{[_0x21db8d([0x6e,0x61,0x6d,0x65])]:_0x21db8d([0x45,0x43,0x44,0x53,0x41]),[_0x21db8d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21db8d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21db8d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x545458[_0x21db8d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21db8d([0x6e,0x61,0x6d,0x65])]:_0x21db8d([0x45,0x43,0x44,0x53,0x41]),[_0x21db8d([0x68,0x61,0x73,0x68])]:{[_0x21db8d([0x6e,0x61,0x6d,0x65])]:_0x21db8d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58bf43,_0x440ce5,_0x47b4ed)||(_0x4d2cbe=!0x1);}}function _0x5f3e25(_0x5a3542){return _0x5a3542[_0x21db8d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21db8d([0x65,0x79]))?JSON[_0x21db8d([0x70,0x61,0x72,0x73,0x65])](_0x1b9176(_0x5a3542)):null;}function _0x1b9176(_0x8247d9){return window[_0x21db8d([0x61,0x74,0x6f,0x62])](_0x8247d9[_0x21db8d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21db8d([0x2b]))[_0x21db8d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21db8d([0x2f])));}function _0x3b8b2e(_0x244f89){let _0x55b20b=0x1505;function _0x1ebbb8(_0x5c287b){for(let _0x109aac=0x0;_0x109aac<_0x5c287b[_0x21db8d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x109aac++){const _0x1c8037=_0x5c287b[_0x21db8d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x109aac);_0x55b20b=(_0x55b20b<<0x5)+_0x55b20b+_0x1c8037,_0x55b20b&=_0x55b20b;}}function _0x440cf1(_0x1368a1){Array[_0x21db8d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1368a1)?_0x1368a1[_0x21db8d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x440cf1):_0x1368a1&&typeof _0x1368a1==_0x21db8d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21db8d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1368a1)[_0x21db8d([0x73,0x6f,0x72,0x74])]()[_0x21db8d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c364a,_0x3ed3aa])=>{_0x1ebbb8(_0x3c364a),_0x440cf1(_0x3ed3aa);}):_0x1ebbb8(window[_0x21db8d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1368a1));}return _0x440cf1(_0x244f89),_0x55b20b>>>0x0;}function _0x345fc9(_0x3939b2){return _0x3939b2[_0x21db8d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21db8d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21db8d([0x30]));}function _0x1008ed(_0x554cd2){return _0x554cd2[_0x21db8d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21db8d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21db8d([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d9645(){}function _0x21db8d(_0x9af27a){const _0x26e73d=_0x5da9;return _0x9af27a[_0x26e73d(0x1ce)](_0x37ae73=>String[_0x26e73d(0x1ad)](_0x37ae73))[_0x26e73d(0x1b7)]('');}_0x562e43(await _0x36c425());}(this);}[_0x311ba3(0x1d7)](){const _0xcdaf5a=_0x311ba3,_0x3f4ef5=this[_0xcdaf5a(0x1d5)][_0xcdaf5a(0x1e7)][_0xcdaf5a(0x1f0)];_0x3f4ef5[_0xcdaf5a(0x1d6)](_0xcdaf5a(0x19c))&&_0x3f4ef5[_0xcdaf5a(0x1d4)](_0xcdaf5a(0x19c),{'allowAttributes':[_0xcdaf5a(0x1a9)]}),_0x3f4ef5[_0xcdaf5a(0x1d6)](_0xcdaf5a(0x1eb))&&_0x3f4ef5[_0xcdaf5a(0x1d4)](_0xcdaf5a(0x1eb),{'allowAttributes':[_0xcdaf5a(0x1a9)]});}[_0x311ba3(0x1e8)](){const _0x4cbe4b=_0x311ba3,_0x129a0b=this[_0x4cbe4b(0x1d5)];_0x129a0b[_0x4cbe4b(0x1bd)][_0x4cbe4b(0x1cb)](_0x4cbe4b(0x1a5))[_0x4cbe4b(0x1b8)]({'model':_0x4cbe4b(0x1a9),'view':_0x4cbe4b(0x1dd)}),_0x129a0b[_0x4cbe4b(0x1bd)][_0x4cbe4b(0x1cb)](_0x4cbe4b(0x1bc))[_0x4cbe4b(0x1d3)]({'model':{'key':_0x4cbe4b(0x1a9),'value':_0x49c8f8=>_0x49c8f8[_0x4cbe4b(0x1bb)](_0x4cbe4b(0x1dd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27fffd=_0x129a0b[_0x4cbe4b(0x1c3)][_0x4cbe4b(0x1e4)](_0x4cbe4b(0x1a7));_0x27fffd&&this[_0x4cbe4b(0x1d9)](_0x27fffd,_0x4cbe4b(0x1f1),(_0x42b7e5,[_0x3deede,_0x3d6cd5])=>{const _0x247442=_0x4cbe4b;_0x3deede[_0x247442(0x1ed)](_0x247442(0x1a9),_0x3d6cd5);});}[_0x311ba3(0x1e1)](){const _0x4ae399=_0x311ba3,_0x96abc6=this[_0x4ae399(0x1d5)][_0x4ae399(0x1e3)][_0x4ae399(0x1e4)](_0x4ae399(0x1e2))||{},_0x2e2587=this[_0x4ae399(0x1d5)][_0x4ae399(0x1e3)][_0x4ae399(0x1e4)](_0x4ae399(0x1ea))||'';this[_0x4ae399(0x1d2)]=_0x1a3486(_0x2866e8[_0x4ae399(0x1c5)],_0x4ae399(0x1cc),{..._0x96abc6,'pubkey':_0x2e2587,'ctx-name':_0x4ae399(0x1be)+this[_0x4ae399(0x1c2)],'sourceList':'','imgOnly':_0x4ae399(0x1b5),'removeCopyright':_0x4ae399(0x1b5),'localeName':this[_0x4ae399(0x1d5)][_0x4ae399(0x1b4)][_0x4ae399(0x1ca)],'externalSourcesEmbedCss':_0x4ae399(0x1c6)}),this[_0x4ae399(0x1d2)][_0x4ae399(0x1a1)]=_0x331c9d=>{const _0x45706a=_0x4ae399;if(_0x45706a(0x1ab)==_0x331c9d)return _0x45706a(0x19f);},_0x2866e8[_0x4ae399(0x1c5)][_0x4ae399(0x1af)][_0x4ae399(0x1a0)](this[_0x4ae399(0x1d2)]);}[_0x311ba3(0x1ee)](){const _0x4bb287=_0x311ba3;this[_0x4bb287(0x1b2)]=_0x1a3486(_0x2866e8[_0x4bb287(0x1c5)],_0x4bb287(0x1cd),{'ctx-name':_0x4bb287(0x1be)+this[_0x4bb287(0x1c2)]}),_0x2866e8[_0x4bb287(0x1c5)][_0x4bb287(0x1af)][_0x4bb287(0x1a0)](this[_0x4bb287(0x1b2)]);}[_0x311ba3(0x1dc)](){const _0x5b1522=_0x311ba3,_0x5dbbe8=this[_0x5b1522(0x1d5)][_0x5b1522(0x1c3)][_0x5b1522(0x1e4)](_0x5b1522(0x1e9));_0x5dbbe8&&this[_0x5b1522(0x1d9)](_0x5dbbe8,_0x5b1522(0x1ac),()=>{const _0x5dc172=_0x5b1522,_0x2a125c=this[_0x5dc172(0x1d5)][_0x5dc172(0x1e7)][_0x5dc172(0x1c5)][_0x5dc172(0x1db)][_0x5dc172(0x1aa)]();_0x2a125c&&_0x2a125c[_0x5dc172(0x1bb)](_0x5dc172(0x1a9))&&this[_0x5dc172(0x1d5)][_0x5dc172(0x1a3)][_0x5dc172(0x1d8)][_0x5dc172(0x1a4)](_0x5dc172(0x1e5),()=>{const _0x4209fb=_0x5dc172;_0x3b6c0a(this[_0x4209fb(0x1d5)],_0x2a125c);});});const _0xaff11e=this[_0x5b1522(0x1d5)][_0x5b1522(0x1c3)][_0x5b1522(0x1e4)](_0x5b1522(0x19d));_0xaff11e&&this[_0x5b1522(0x1d9)](_0xaff11e,_0x5b1522(0x1ac),()=>{const _0x2bd554=_0x5b1522,_0x6ea7bf=this[_0x2bd554(0x1d5)][_0x2bd554(0x1e7)][_0x2bd554(0x1c5)][_0x2bd554(0x1db)][_0x2bd554(0x1aa)]();_0x6ea7bf&&_0x6ea7bf[_0x2bd554(0x1bb)](_0x2bd554(0x1a9))&&this[_0x2bd554(0x1d5)][_0x2bd554(0x1a3)][_0x2bd554(0x1d8)][_0x2bd554(0x1a4)](_0x2bd554(0x1e5),()=>{const _0x5f2d05=_0x2bd554;_0x3b6c0a(this[_0x5f2d05(0x1d5)],_0x6ea7bf);});});}}
23
+ const _0x332300=_0x4b9c;(function(_0x458022,_0x33e45e){const _0x5b0f75=_0x4b9c,_0x3667ed=_0x458022();while(!![]){try{const _0x467edd=parseInt(_0x5b0f75(0x1bf))/0x1*(-parseInt(_0x5b0f75(0x1d7))/0x2)+parseInt(_0x5b0f75(0x1a5))/0x3*(-parseInt(_0x5b0f75(0x1dd))/0x4)+parseInt(_0x5b0f75(0x1bd))/0x5*(parseInt(_0x5b0f75(0x1d4))/0x6)+parseInt(_0x5b0f75(0x1e8))/0x7*(parseInt(_0x5b0f75(0x1bb))/0x8)+parseInt(_0x5b0f75(0x1e1))/0x9+parseInt(_0x5b0f75(0x1de))/0xa+-parseInt(_0x5b0f75(0x1ab))/0xb;if(_0x467edd===_0x33e45e)break;else _0x3667ed['push'](_0x3667ed['shift']());}catch(_0x349073){_0x3667ed['push'](_0x3667ed['shift']());}}}(_0x4e1d,0xadce3));import{Plugin as _0x20d883}from'ckeditor5/src/core.js';import{Dialog as _0x4e92bd}from'ckeditor5/src/ui.js';import{createElement as _0x41716b,global as _0x177929,uid as _0x4cd8a0}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3e08d5}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xd50445}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2dbb92}from'./utils/editingutils.js';function _0x4b9c(_0x43d583,_0x2fc575){const _0x4e1d29=_0x4e1d();return _0x4b9c=function(_0x4b9cf0,_0x4d0250){_0x4b9cf0=_0x4b9cf0-0x197;let _0x436378=_0x4e1d29[_0x4b9cf0];return _0x436378;},_0x4b9c(_0x43d583,_0x2fc575);}export class UploadcareEditing extends _0x20d883{[_0x332300(0x1cd)]=null;[_0x332300(0x1c6)]=null;static get[_0x332300(0x1e3)](){const _0x529c5d=_0x332300;return _0x529c5d(0x1e7);}static get[_0x332300(0x1c1)](){const _0x4fe001=_0x332300;return[_0x4fe001(0x1e4),_0xd50445,_0x4e92bd];}static get[_0x332300(0x1a3)](){return!0x0;}static get[_0x332300(0x1ae)](){return!0x0;}[_0x332300(0x19e)];get[_0x332300(0x1ca)](){const _0x3179d8=_0x332300;return this[_0x3179d8(0x1cd)];}get[_0x332300(0x1a4)](){const _0xc00384=_0x332300;return this[_0xc00384(0x1c6)];}constructor(_0x24b70c){const _0x45f756=_0x332300;super(_0x24b70c),this[_0x45f756(0x19e)]=_0x4cd8a0();}[_0x332300(0x1b5)](){const _0xc50f9=_0x332300,_0x2fc35c=this[_0xc50f9(0x1d2)];_0x2fc35c[_0xc50f9(0x1da)][_0xc50f9(0x1b3)](_0xc50f9(0x1cc),new _0x3e08d5(_0x2fc35c));}[_0x332300(0x1bc)](){const _0x56d4f7=_0x332300;this[_0x56d4f7(0x1a6)](),this[_0x56d4f7(0x1a8)](),this[_0x56d4f7(0x1d5)](),this[_0x56d4f7(0x1b7)](),this[_0x56d4f7(0x1c9)](),this[_0x56d4f7(0x1df)](this[_0x56d4f7(0x1d2)],_0x56d4f7(0x1e5),()=>{const _0x1f9998=_0x56d4f7;this[_0x1f9998(0x1cd)]&&(this[_0x1f9998(0x1cd)][_0x1f9998(0x1b4)](),this[_0x1f9998(0x1cd)]=null),this[_0x1f9998(0x1c6)]&&(this[_0x1f9998(0x1c6)][_0x1f9998(0x1b4)](),this[_0x1f9998(0x1c6)]=null);const _0x511f08=_0x177929[_0x1f9998(0x19c)][_0x1f9998(0x1a9)](_0x1f9998(0x1ba));_0x511f08&&_0x511f08[_0x1f9998(0x1b4)]();}),async function(_0x5300a1){const _0x220751=_0x40f230([0x59,0x58,0x54,0x67,0x61,0x32,0x46,0x43,0x62,0x55,0x77,0x38,0x71,0x56,0x34,0x68,0x69,0x5a,0x50,0x51,0x4f,0x75,0x41,0x73,0x57,0x33,0x30,0x4c,0x49,0x47,0x4b,0x79,0x39,0x6f,0x53,0x6a,0x6b,0x72,0x42,0x45,0x44,0x6e,0x63,0x4a,0x64,0x78,0x48,0x31,0x76,0x37,0x66,0x74,0x35,0x52,0x4e,0x65,0x6d,0x6c,0x36,0x70,0x4d,0x7a]),_0x5dfeb6=0x44c8bb75,_0x11c1fa=0x44cfd0b5^_0x5dfeb6,_0x11c25f=window[_0x40f230([0x44,0x61,0x74,0x65])][_0x40f230([0x6e,0x6f,0x77])](),_0x42f106=_0x5300a1[_0x40f230([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d429e=new window[(_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36d39e=>{_0x42f106[_0x40f230([0x6f,0x6e,0x63,0x65])](_0x40f230([0x72,0x65,0x61,0x64,0x79]),_0x36d39e);}),_0x1d3662={[_0x40f230([0x6b,0x74,0x79])]:_0x40f230([0x45,0x43]),[_0x40f230([0x75,0x73,0x65])]:_0x40f230([0x73,0x69,0x67]),[_0x40f230([0x63,0x72,0x76])]:_0x40f230([0x50,0x2d,0x32,0x35,0x36]),[_0x40f230([0x78])]:_0x40f230([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]),[_0x40f230([0x79])]:_0x40f230([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]),[_0x40f230([0x61,0x6c,0x67])]:_0x40f230([0x45,0x53,0x32,0x35,0x36])},_0x1c5a3e=_0x42f106[_0x40f230([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40f230([0x67,0x65,0x74])](_0x40f230([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f4c6f(){let _0x24087e,_0x1f20fe=null,_0x241fd1=null;try{if(_0x1c5a3e==_0x40f230([0x47,0x50,0x4c]))return _0x40f230([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24087e=_0x18b458(),!_0x24087e)return _0x40f230([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24087e[_0x40f230([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x241fd1=_0x2d0cdd(_0x24087e[_0x40f230([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24087e[_0x40f230([0x6a,0x74,0x69])])),await _0x3474c0()?_0x1a304a()?_0x439270()?_0x40f230([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1aa2ff()?(_0x24087e[_0x40f230([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40f230([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f20fe=_0x480af5(_0x40f230([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x24087e[_0x40f230([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40f230([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f20fe=_0x480af5(_0x40f230([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x340fc5()):_0x40f230([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40f230([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40f230([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40f230([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x439270(){const _0x547550=[_0x40f230([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40f230([0x74,0x72,0x69,0x61,0x6c])][_0x40f230([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24087e[_0x40f230([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11c25f/0x3e8:0xe10*_0x11c1fa;return _0x24087e[_0x40f230([0x65,0x78,0x70])]<_0x547550;}function _0x1a304a(){const _0x4bdf50=_0x24087e[_0x40f230([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4bdf50&&(!!_0x4bdf50[_0x40f230([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f230([0x2a]))||!!_0x4bdf50[_0x40f230([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f230([0x55,0x50,0x4c,0x43])));}function _0x1aa2ff(){const _0x3f370a=_0x4b9c,_0x41363d=_0x24087e[_0x40f230([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41363d||0x0==_0x41363d[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29389d}=new URL(window[_0x40f230([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3f370a(0x1c4)]);if(_0x41363d[_0x40f230([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29389d))return!0x0;const _0x428709=_0x29389d[_0x40f230([0x73,0x70,0x6c,0x69,0x74])](_0x40f230([0x2e]));return _0x41363d[_0x40f230([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1398a7=>_0x1398a7[_0x40f230([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40f230([0x2a])))[_0x40f230([0x6d,0x61,0x70])](_0xc5a283=>_0xc5a283[_0x40f230([0x73,0x70,0x6c,0x69,0x74])](_0x40f230([0x2e])))[_0x40f230([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29db80=>_0x29db80[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x428709[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40f230([0x6d,0x61,0x70])](_0x3cb884=>Array(_0x428709[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3cb884[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40f230([0x66,0x69,0x6c,0x6c])](_0x3cb884[0x0]===_0x40f230([0x2a])?_0x40f230([0x2a]):'')[_0x40f230([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3cb884))[_0x40f230([0x73,0x6f,0x6d,0x65])](_0x13573c=>_0x428709[_0x40f230([0x65,0x76,0x65,0x72,0x79])]((_0x8c577f,_0x59b48f)=>_0x13573c[_0x59b48f]===_0x8c577f||_0x13573c[_0x59b48f]===_0x40f230([0x2a])));}function _0x340fc5(){return _0x1f20fe&&_0x241fd1?new window[(_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5937c2,_0x51bbb3)=>{_0x1f20fe[_0x40f230([0x74,0x68,0x65,0x6e])](_0x5937c2,_0x51bbb3),_0x241fd1[_0x40f230([0x74,0x68,0x65,0x6e])](_0x401605=>{_0x401605!=_0x40f230([0x56,0x61,0x6c,0x69,0x64])&&_0x5937c2(_0x401605);},_0x51bbb3);}):_0x1f20fe||_0x241fd1||_0x40f230([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d0cdd(_0x5189ea,_0x2bef1d){return new window[(_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314a00=>{if(_0x3771a0())return _0x314a00(_0x40f230([0x56,0x61,0x6c,0x69,0x64]));_0x34c446(),_0x42f106[_0x40f230([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40f230([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24279f=!0x1;const _0x5e3fb6=_0x4cd8a0();function _0x330a20(_0x16bb34){return!!_0x16bb34&&(typeof _0x16bb34===_0x40f230([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16bb34===_0x40f230([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16bb34[_0x40f230([0x74,0x68,0x65,0x6e])]===_0x40f230([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16bb34[_0x40f230([0x63,0x61,0x74,0x63,0x68])]===_0x40f230([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3487ff(_0x180761){_0x4b5e70(_0x180761)[_0x40f230([0x74,0x68,0x65,0x6e])](_0x501c34=>{if(!_0x501c34||_0x501c34[_0x40f230([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40f230([0x6f,0x6b]))return _0x40f230([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd2f0ba(_0x4ea8e2(_0x5e3fb6+_0x2bef1d))!=_0x501c34[_0x40f230([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40f230([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40f230([0x56,0x61,0x6c,0x69,0x64]);})[_0x40f230([0x74,0x68,0x65,0x6e])](_0x4cea32=>(_0x5a8248(),_0x4cea32),()=>{const _0x237c14=_0xb50c2e();return null==_0x237c14?(_0x5a8248(),_0x40f230([0x56,0x61,0x6c,0x69,0x64])):_0x40f230(_0x11c25f-_0x237c14>(0x60c43f75^_0x5dfeb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40f230([0x74,0x68,0x65,0x6e])](_0x314a00)[_0x40f230([0x63,0x61,0x74,0x63,0x68])](()=>{_0x314a00(_0x40f230([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e1499=0x44fe55f5^_0x5dfeb6;function _0x5a8248(){const _0x5be88b=_0x40f230([0x6c,0x6c,0x63,0x74,0x2d])+_0xd2f0ba(_0x4ea8e2(_0x5189ea)),_0x21e938=_0x5cc03e(_0xd2f0ba(window[_0x40f230([0x4d,0x61,0x74,0x68])][_0x40f230([0x63,0x65,0x69,0x6c])](_0x11c25f/_0x5e1499)));window[_0x40f230([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40f230([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5be88b,_0x21e938);}function _0xb50c2e(){const _0x312a89=_0x40f230([0x6c,0x6c,0x63,0x74,0x2d])+_0xd2f0ba(_0x4ea8e2(_0x5189ea)),_0x1aeffa=window[_0x40f230([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40f230([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x312a89);return _0x1aeffa?window[_0x40f230([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc03e(_0x1aeffa),0x10)*_0x5e1499:null;}function _0x4b5e70(_0x5eca38){return new window[(_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa6ef1a,_0x3660ef)=>{_0x5eca38[_0x40f230([0x74,0x68,0x65,0x6e])](_0xa6ef1a,_0x3660ef),window[_0x40f230([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3660ef,0x44c96fb5^_0x5dfeb6);});}}_0x42f106[_0x40f230([0x6f,0x6e])](_0x40f230([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b5a71,_0x4f25b1)=>{if(_0x4f25b1[0x0]!=_0x5189ea)return _0x314a00(_0x40f230([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f25b1[0x1]={..._0x4f25b1[0x1],[_0x40f230([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e3fb6};},{[_0x40f230([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40f230([0x68,0x69,0x67,0x68])}),_0x42f106[_0x40f230([0x6f,0x6e])](_0x40f230([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x295843=>{_0x330a20(_0x295843[_0x40f230([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24279f=!0x0,_0x3487ff(_0x295843[_0x40f230([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40f230([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40f230([0x6c,0x6f,0x77])}),_0x3d429e[_0x40f230([0x74,0x68,0x65,0x6e])](()=>{_0x24279f||_0x314a00(_0x40f230([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3771a0(){return _0x42f106[_0x40f230([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40f230([0x76,0x69,0x65,0x77])][_0x40f230([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40f230([0x61,0x75,0x74,0x6f]);}function _0x34c446(){_0x42f106[_0x40f230([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40f230([0x76,0x69,0x65,0x77])][_0x40f230([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40f230([0x61,0x75,0x74,0x6f]);}}function _0x480af5(_0x38f855){const _0x426359=[new window[(_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8c34=>setTimeout(_0x5a8c34,0x44c185b9^_0x5dfeb6)),_0x3d429e[_0x40f230([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37126d=>{let _0x48dd9a=0x0;_0x42f106[_0x40f230([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f230([0x6f,0x6e])](_0x40f230([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38339e,_0x342716)=>{_0x342716[0x0][_0x40f230([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48dd9a++,_0x48dd9a==(0x44c8ba8d^_0x5dfeb6)&&(_0x37126d(),_0x38339e[_0x40f230([0x6f,0x66,0x66])]());});}))];return window[_0x40f230([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40f230([0x72,0x61,0x63,0x65])](_0x426359)[_0x40f230([0x74,0x68,0x65,0x6e])](()=>_0x38f855);}async function _0x1d5558(){await _0x3d429e,_0x42f106[_0x40f230([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f230([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cb912,_0x42f106[_0x40f230([0x6d,0x6f,0x64,0x65,0x6c])][_0x40f230([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cb912,_0x42f106[_0x40f230([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40f230([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x222de9(_0x20ac56){const _0x266a86=_0x1b5534();_0x42f106[_0x266a86]=_0x40f230([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20ac56,_0x20ac56!=_0x40f230([0x56,0x61,0x6c,0x69,0x64])&&_0x1d5558();}function _0x1b5534(){const _0x2390e9=window[_0x40f230([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40f230([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40f230([0x6e,0x6f,0x77])]())[_0x40f230([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40f230([0x2e]),'');let _0x4c0829=_0x40f230([0x59]);for(let _0x5df251=0x0;_0x5df251<_0x2390e9[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5df251+=0x2){let _0xb81322=window[_0x40f230([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2390e9[_0x40f230([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5df251,_0x5df251+0x2));_0xb81322>=_0x220751[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb81322-=_0x220751[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c0829+=_0x220751[_0xb81322];}return _0x4c0829;}function _0x18b458(){const _0x5cd7c0=_0x1c5a3e[_0x40f230([0x73,0x70,0x6c,0x69,0x74])](_0x40f230([0x2e]));if(0x3!=_0x5cd7c0[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf228b0(_0x5cd7c0[0x1]);function _0xf228b0(_0x18c4be){const _0x3e3493=_0x59cb80(_0x18c4be);return _0x3e3493&&_0x4ec689()?_0x3e3493:null;function _0x4ec689(){const _0x3788a7=_0x3e3493[_0x40f230([0x6a,0x74,0x69])],_0x2bb73d=window[_0x40f230([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3788a7[_0x40f230([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3788a7[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5aaffa={..._0x3e3493,[_0x40f230([0x6a,0x74,0x69])]:_0x3788a7[_0x40f230([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3788a7[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5aaffa[_0x40f230([0x76,0x63])],_0x4ea8e2(_0x5aaffa)==_0x2bb73d;}}}async function _0x3474c0(){let _0x48f8be=!0x0;try{const _0x93399f=_0x1c5a3e[_0x40f230([0x73,0x70,0x6c,0x69,0x74])](_0x40f230([0x2e])),[_0x2de089,_0x406f3b,_0x507a46]=_0x93399f;return _0x9547a8(_0x2de089),await _0x947598(_0x2de089,_0x406f3b,_0x507a46),_0x48f8be;}catch{return!0x1;}function _0x9547a8(_0x5051e3){const _0x5c6073=_0x59cb80(_0x5051e3);_0x5c6073&&_0x5c6073[_0x40f230([0x61,0x6c,0x67])]==_0x40f230([0x45,0x53,0x32,0x35,0x36])||(_0x48f8be=!0x1);}async function _0x947598(_0x1e3bc1,_0x4373b4,_0x24ecc5){const _0x11d393=window[_0x40f230([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40f230([0x66,0x72,0x6f,0x6d])](_0xd5ebb4(_0x24ecc5),_0x5617d1=>_0x5617d1[_0x40f230([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c8818=new window[(_0x40f230([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40f230([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e3bc1+_0x40f230([0x2e])+_0x4373b4),_0x34f4b1=window[_0x40f230([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40f230([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34f4b1)return;const _0x437de7=await _0x34f4b1[_0x40f230([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40f230([0x6a,0x77,0x6b]),_0x1d3662,{[_0x40f230([0x6e,0x61,0x6d,0x65])]:_0x40f230([0x45,0x43,0x44,0x53,0x41]),[_0x40f230([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40f230([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40f230([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34f4b1[_0x40f230([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40f230([0x6e,0x61,0x6d,0x65])]:_0x40f230([0x45,0x43,0x44,0x53,0x41]),[_0x40f230([0x68,0x61,0x73,0x68])]:{[_0x40f230([0x6e,0x61,0x6d,0x65])]:_0x40f230([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x437de7,_0x11d393,_0x2c8818)||(_0x48f8be=!0x1);}}function _0x59cb80(_0x320b30){return _0x320b30[_0x40f230([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40f230([0x65,0x79]))?JSON[_0x40f230([0x70,0x61,0x72,0x73,0x65])](_0xd5ebb4(_0x320b30)):null;}function _0xd5ebb4(_0x145539){return window[_0x40f230([0x61,0x74,0x6f,0x62])](_0x145539[_0x40f230([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40f230([0x2b]))[_0x40f230([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40f230([0x2f])));}function _0x4ea8e2(_0x1863a4){let _0x36b384=0x1505;function _0x3775db(_0x111f71){for(let _0x5bebad=0x0;_0x5bebad<_0x111f71[_0x40f230([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bebad++){const _0x206a09=_0x111f71[_0x40f230([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5bebad);_0x36b384=(_0x36b384<<0x5)+_0x36b384+_0x206a09,_0x36b384&=_0x36b384;}}function _0x289858(_0x4afd4b){Array[_0x40f230([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4afd4b)?_0x4afd4b[_0x40f230([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x289858):_0x4afd4b&&typeof _0x4afd4b==_0x40f230([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40f230([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4afd4b)[_0x40f230([0x73,0x6f,0x72,0x74])]()[_0x40f230([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d71fa,_0x3efc59])=>{_0x3775db(_0x5d71fa),_0x289858(_0x3efc59);}):_0x3775db(window[_0x40f230([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4afd4b));}return _0x289858(_0x1863a4),_0x36b384>>>0x0;}function _0xd2f0ba(_0x20d986){return _0x20d986[_0x40f230([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40f230([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40f230([0x30]));}function _0x5cc03e(_0x3ae3d1){return _0x3ae3d1[_0x40f230([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40f230([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40f230([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cb912(){}function _0x40f230(_0x2f896a){const _0xcfa00d=_0x4b9c;return _0x2f896a[_0xcfa00d(0x1ec)](_0x5dc052=>String[_0xcfa00d(0x1ad)](_0x5dc052))[_0xcfa00d(0x19d)]('');}_0x222de9(await _0x4f4c6f());}(this);}[_0x332300(0x1a6)](){const _0x21dc58=_0x332300,_0x2b6841=this[_0x21dc58(0x1d2)][_0x21dc58(0x1d3)][_0x21dc58(0x1af)];_0x2b6841[_0x21dc58(0x1cb)](_0x21dc58(0x197))&&_0x2b6841[_0x21dc58(0x1d1)](_0x21dc58(0x197),{'allowAttributes':[_0x21dc58(0x1e6)]}),_0x2b6841[_0x21dc58(0x1cb)](_0x21dc58(0x1a2))&&_0x2b6841[_0x21dc58(0x1d1)](_0x21dc58(0x1a2),{'allowAttributes':[_0x21dc58(0x1e6)]});}[_0x332300(0x1a8)](){const _0x9f7b6f=_0x332300,_0x509a8c=this[_0x9f7b6f(0x1d2)];_0x509a8c[_0x9f7b6f(0x19f)][_0x9f7b6f(0x1d0)](_0x9f7b6f(0x1e2))[_0x9f7b6f(0x199)]({'model':_0x9f7b6f(0x1e6),'view':_0x9f7b6f(0x1eb)}),_0x509a8c[_0x9f7b6f(0x19f)][_0x9f7b6f(0x1d0)](_0x9f7b6f(0x1d6))[_0x9f7b6f(0x1c5)]({'model':{'key':_0x9f7b6f(0x1e6),'value':_0xbf0143=>_0xbf0143[_0x9f7b6f(0x1d8)](_0x9f7b6f(0x1eb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3de875=_0x509a8c[_0x9f7b6f(0x1da)][_0x9f7b6f(0x1ce)](_0x9f7b6f(0x1dc));_0x3de875&&this[_0x9f7b6f(0x1df)](_0x3de875,_0x9f7b6f(0x1aa),(_0x270406,[_0x119957,_0x2c08a0])=>{const _0x419e3c=_0x9f7b6f;_0x119957[_0x419e3c(0x1c0)](_0x419e3c(0x1e6),_0x2c08a0);});}[_0x332300(0x1d5)](){const _0x3a6616=_0x332300,_0x4e1f64=this[_0x3a6616(0x1d2)][_0x3a6616(0x1ac)][_0x3a6616(0x1ce)](_0x3a6616(0x1c2))||{},_0x54ce95=this[_0x3a6616(0x1d2)][_0x3a6616(0x1ac)][_0x3a6616(0x1ce)](_0x3a6616(0x1e9))||'';this[_0x3a6616(0x1cd)]=_0x41716b(_0x177929[_0x3a6616(0x19c)],_0x3a6616(0x1cf),{..._0x4e1f64,'pubkey':_0x54ce95,'ctx-name':_0x3a6616(0x1b9)+this[_0x3a6616(0x19e)],'sourceList':'','imgOnly':_0x3a6616(0x1a7),'removeCopyright':_0x3a6616(0x1a7),'localeName':this[_0x3a6616(0x1d2)][_0x3a6616(0x1b2)][_0x3a6616(0x1b8)],'externalSourcesEmbedCss':_0x3a6616(0x19a)}),this[_0x3a6616(0x1cd)][_0x3a6616(0x19b)]=_0x486c54=>{const _0x3bc599=_0x3a6616;if(_0x3bc599(0x1e0)==_0x486c54)return _0x3bc599(0x1db);},_0x177929[_0x3a6616(0x19c)][_0x3a6616(0x1a1)][_0x3a6616(0x1b6)](this[_0x3a6616(0x1cd)]);}[_0x332300(0x1b7)](){const _0x9c980e=_0x332300;this[_0x9c980e(0x1c6)]=_0x41716b(_0x177929[_0x9c980e(0x19c)],_0x9c980e(0x1ea),{'ctx-name':_0x9c980e(0x1b9)+this[_0x9c980e(0x19e)]}),_0x177929[_0x9c980e(0x19c)][_0x9c980e(0x1a1)][_0x9c980e(0x1b6)](this[_0x9c980e(0x1c6)]);}[_0x332300(0x1c9)](){const _0x223015=_0x332300,_0x111f23=this[_0x223015(0x1d2)][_0x223015(0x1da)][_0x223015(0x1ce)](_0x223015(0x1c3));_0x111f23&&this[_0x223015(0x1df)](_0x111f23,_0x223015(0x1a0),()=>{const _0x10268f=_0x223015,_0x370782=this[_0x10268f(0x1d2)][_0x10268f(0x1d3)][_0x10268f(0x19c)][_0x10268f(0x1d9)][_0x10268f(0x1b0)]();_0x370782&&_0x370782[_0x10268f(0x1d8)](_0x10268f(0x1e6))&&this[_0x10268f(0x1d2)][_0x10268f(0x1b1)][_0x10268f(0x198)][_0x10268f(0x1c7)](_0x10268f(0x1be),()=>{const _0x10c8a9=_0x10268f;_0x2dbb92(this[_0x10c8a9(0x1d2)],_0x370782);});});const _0x50d204=this[_0x223015(0x1d2)][_0x223015(0x1da)][_0x223015(0x1ce)](_0x223015(0x1c8));_0x50d204&&this[_0x223015(0x1df)](_0x50d204,_0x223015(0x1a0),()=>{const _0x4d3d9c=_0x223015,_0x169641=this[_0x4d3d9c(0x1d2)][_0x4d3d9c(0x1d3)][_0x4d3d9c(0x19c)][_0x4d3d9c(0x1d9)][_0x4d3d9c(0x1b0)]();_0x169641&&_0x169641[_0x4d3d9c(0x1d8)](_0x4d3d9c(0x1e6))&&this[_0x4d3d9c(0x1d2)][_0x4d3d9c(0x1b1)][_0x4d3d9c(0x198)][_0x4d3d9c(0x1c7)](_0x4d3d9c(0x1be),()=>{const _0x44f770=_0x4d3d9c;_0x2dbb92(this[_0x44f770(0x1d2)],_0x169641);});});}}function _0x4e1d(){const _0xf4ada9=['uploadcareImageReplace','_initImageProcessingIndicator','configElement','isRegistered','uploadcare','_configElement','get','uc-config','for','extend','editor','model','8509782abphte','_initConfig','upcast','122374ANExhB','getAttribute','selection','commands','#uc-icon-arrow-down','replaceImageSource','2982236QedGQN','3324430VpSQeU','listenTo','closeMax','812457VZrddB','downcast','pluginName','PictureEditing','destroy','uploadcareImageId','UploadcareEditing','2928667BZFZUS','uploadcare.pubkey','uc-upload-ctx-provider','data-uc-image-id','map','imageBlock','view','attributeToAttribute','\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','iconHrefResolver','document','join','ucContextId','conversion','execute','body','imageInline','isOfficialPlugin','ctxElement','3gqWiJA','_initSchema','true','_initConversion','querySelector','cleanupImage','6802037gGKftr','config','fromCharCode','isPremiumPlugin','schema','getSelectedElement','editing','locale','add','remove','init','appendChild','_initCtx','contentLanguage','uploader-','input[uploadcare-file-input]','8OFXBqr','afterInit','5cFSpXL','render','3GeXnWg','removeAttribute','requires','uploadcare.uploader','insertImage','href','elementToAttribute','_ctxElement','once'];_0x4e1d=function(){return _0xf4ada9;};return _0x4e1d();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2e006f,ObservableMixin as _0x513fd8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x560d5e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a6b11}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4860a4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xbe5b7a}from'../../utils/uploadutils.js';import{getImageUrls as _0x19b11f,getImageDimension as _0x3a1b87}from'../../utils/editingutils.js';import{isAncestor as _0x22ac85}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x513fd8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x579ff6,_0x38f95e,_0x4b3f44){super(),this['_editor']=_0x579ff6,this['_dialog']=_0x38f95e,this['_imageElement']=_0x4b3f44,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 _0x3550ce=this['_imageElement'],_0x251ff7=_0x3550ce['getAttribute']('uploadcareImageId'),_0x953e37=_0x3550ce['getAttribute']('src');if(_0x251ff7)await this['_loadImageInfo'](_0x251ff7,_0x953e37);else{if(this['_imageCache']['has'](_0x953e37)){const _0x231298=this['_imageCache']['get'](_0x953e37);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x231298['url'],this['imageDimension']=_0x231298['dimension'],this['imageId']=_0x231298['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x531c7c}=this['_editor'],t=_0x531c7c['t'],_0x19f99f=new _0x4860a4(_0x531c7c,this['imageStatus'],this['_attributes']);_0x19f99f['bind']('status')['to'](this,'imageStatus'),_0x19f99f['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x19f99f['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x19f99f['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x19f99f,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a6b11,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x19f99f,'position':_0x560d5e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x19f99f['focus']();},'onHide':()=>{_0x19f99f['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x440aaf=>!_0x22ac85(_0x440aaf,_0x19f99f['element'])}});}['_loadImageInfo'](_0x4cc8b0,_0x3b4b3c){return _0xbe5b7a['getInfo'](_0x4cc8b0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x36becc=>{const {width:_0x1b6111,height:_0x8471d9}=_0x36becc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3b4b3c,this['imageDimension']={'width':_0x1b6111,'height':_0x8471d9},this['imageId']=_0x4cc8b0;})['catch'](_0x1ed6bb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ed6bb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x36c18f,_0x1bce32){return this['_getImageAsFile'](_0x36c18f)['then'](_0x3d2944=>_0xbe5b7a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1bce32['signal'],'file':_0x3d2944,'onProgress':_0x228a60=>{_0x228a60&&_0x228a60['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x228a60['value']));}}))['then'](_0x3060b1=>{const {width:_0x4f6a7e,height:_0x56ff99}=_0x3060b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3060b1['cdnUrl'],this['imageDimension']={'width':_0x4f6a7e,'height':_0x56ff99},this['imageId']=_0x3060b1['uuid'],this['imageUploadProgress']=null;const _0x22af8d=_0x36c18f['getAttribute']('src');this['_imageCache']['set'](_0x22af8d,{'id':_0x3060b1['uuid'],'url':_0x3060b1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x58834b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x58834b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a0987,_0x400b2c){_0x2a0987['on']('apply',(_0x288c96,_0x4a5687)=>{this['_replaceImage'](_0x400b2c,_0x4a5687['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a0987['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a0987['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x7c772,_0x1fc270,_0xdb0233){const _0x480605=this['_editor'],{width:_0x158a3c,height:_0x296086}=_0x3a1b87(_0x1fc270,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4f88e6,imageSources:_0x2da71e}=_0x19b11f(_0x1fc270,_0x158a3c);_0x480605['model']['change'](_0x489e02=>{if('$graveyard'===_0x7c772['root']['rootName']){_0x480605['execute']('insertImage',{'imageType':_0x7c772['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x7c772['getAttributes']()),'uploadcareImageId':_0xdb0233,'src':_0x4f88e6,'sources':_0x2da71e,'width':_0x158a3c,'height':_0x296086}});const _0x2d6776=_0x7c772['getChildren']();_0x7c772=_0x480605['model']['document']['selection']['getSelectedElement']();for(const _0x120a45 of _0x2d6776)_0x489e02['append'](_0x489e02['cloneElement'](_0x120a45),_0x7c772);}else _0x489e02['setSelection'](_0x7c772,'on'),_0x480605['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x7c772['getAttributes']()),'uploadcareImageId':_0xdb0233,'src':_0x4f88e6,'sources':_0x2da71e,'width':_0x158a3c,'height':_0x296086},_0x7c772);_0x489e02['setSelection'](_0x7c772,'on');});}async['_getImageAsFile'](_0x7cb635){const _0x526f71=_0x2e006f['window'],_0x4ceb41=_0x2e006f['document']['location']['href'],_0x8f2cb7=new _0x526f71['URL'](_0x7cb635['getAttribute']('src'),_0x4ceb41);if('data:'===_0x8f2cb7['protocol']){const _0x5e710e=_0x8f2cb7['href']['split'](','),_0x876046=_0x5e710e[0x0]['match'](/:(.*?);/)[0x1],_0x1a6db5=_0x876046['split']('/')[0x1],_0x16747b=_0x526f71['atob'](_0x5e710e[_0x5e710e['length']-0x1]);let _0x3bbfbc=_0x16747b['length'];const _0x1ca766=new _0x526f71['Uint8Array'](_0x3bbfbc);for(;_0x3bbfbc--;)_0x1ca766[_0x3bbfbc]=_0x16747b['charCodeAt'](_0x3bbfbc);return new _0x526f71['File']([_0x1ca766],'image.'+_0x1a6db5,{'type':_0x876046});}const _0x6e6457=_0x8f2cb7['href']['split']('/'),_0x4a7da8=_0x6e6457[_0x6e6457['length']-0x1],_0x50df4a=_0x4a7da8['split']('.')[0x1];return _0x526f71['fetch'](_0x8f2cb7['href'])['then'](_0x4e09ac=>_0x4e09ac['clone']()['blob']())['then'](_0x216149=>new _0x526f71['File']([_0x216149],_0x4a7da8,{'type':'image/'+_0x50df4a}));}}
23
+ import{global as _0x10f7f8,ObservableMixin as _0x3fe803}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x25ddce}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x317abe}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x29d1fb}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x27d14d}from'../../utils/uploadutils.js';import{getImageUrls as _0x511be5,getImageDimension as _0x37ee5f}from'../../utils/editingutils.js';import{isAncestor as _0x1864b8}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3fe803(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1239c8,_0x2359c8,_0x4e5725){super(),this['_editor']=_0x1239c8,this['_dialog']=_0x2359c8,this['_imageElement']=_0x4e5725,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 _0x3ede1c=this['_imageElement'],_0xb621cc=_0x3ede1c['getAttribute']('uploadcareImageId'),_0x33c67a=_0x3ede1c['getAttribute']('src');if(_0xb621cc)await this['_loadImageInfo'](_0xb621cc,_0x33c67a);else{if(this['_imageCache']['has'](_0x33c67a)){const _0x2ddc64=this['_imageCache']['get'](_0x33c67a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ddc64['url'],this['imageDimension']=_0x2ddc64['dimension'],this['imageId']=_0x2ddc64['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x423686}=this['_editor'],t=_0x423686['t'],_0x122ce1=new _0x29d1fb(_0x423686,this['imageStatus'],this['_attributes']);_0x122ce1['bind']('status')['to'](this,'imageStatus'),_0x122ce1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x122ce1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x122ce1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x122ce1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x317abe,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x122ce1,'position':_0x25ddce['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x122ce1['focus']();},'onHide':()=>{_0x122ce1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3f94fa=>!_0x1864b8(_0x3f94fa,_0x122ce1['element'])}});}['_loadImageInfo'](_0x460dc6,_0x1fd847){return _0x27d14d['getInfo'](_0x460dc6,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x7e4784=>{const {width:_0x1e7abe,height:_0x477c90}=_0x7e4784['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fd847,this['imageDimension']={'width':_0x1e7abe,'height':_0x477c90},this['imageId']=_0x460dc6;})['catch'](_0x5e2c4c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e2c4c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2b2f5d,_0x27a20a){return this['_getImageAsFile'](_0x2b2f5d)['then'](_0x250d84=>_0x27d14d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x27a20a['signal'],'file':_0x250d84,'onProgress':_0x2a872d=>{_0x2a872d&&_0x2a872d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2a872d['value']));}}))['then'](_0x6d08b1=>{const {width:_0xc4fc98,height:_0x3be475}=_0x6d08b1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6d08b1['cdnUrl'],this['imageDimension']={'width':_0xc4fc98,'height':_0x3be475},this['imageId']=_0x6d08b1['uuid'],this['imageUploadProgress']=null;const _0x4b8b06=_0x2b2f5d['getAttribute']('src');this['_imageCache']['set'](_0x4b8b06,{'id':_0x6d08b1['uuid'],'url':_0x6d08b1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3bbc29=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3bbc29['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x521e28,_0x72679){_0x521e28['on']('apply',(_0x52c7a9,_0x2e270f)=>{this['_replaceImage'](_0x72679,_0x2e270f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x521e28['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x521e28['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x6e3aab,_0x42f6b0,_0x4d71cb){const _0x2620cf=this['_editor'],{width:_0x12bffe,height:_0x270c98}=_0x37ee5f(_0x42f6b0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x315085,imageSources:_0x2948c4}=_0x511be5(_0x42f6b0,_0x12bffe);_0x2620cf['model']['change'](_0x53e1e0=>{if('$graveyard'===_0x6e3aab['root']['rootName']){_0x2620cf['execute']('insertImage',{'imageType':_0x6e3aab['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x6e3aab['getAttributes']()),'uploadcareImageId':_0x4d71cb,'src':_0x315085,'sources':_0x2948c4,'width':_0x12bffe,'height':_0x270c98}});const _0x5a0123=_0x6e3aab['getChildren']();_0x6e3aab=_0x2620cf['model']['document']['selection']['getSelectedElement']();for(const _0x337ce7 of _0x5a0123)_0x53e1e0['append'](_0x53e1e0['cloneElement'](_0x337ce7),_0x6e3aab);}else _0x53e1e0['setSelection'](_0x6e3aab,'on'),_0x2620cf['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x6e3aab['getAttributes']()),'uploadcareImageId':_0x4d71cb,'src':_0x315085,'sources':_0x2948c4,'width':_0x12bffe,'height':_0x270c98},_0x6e3aab);_0x53e1e0['setSelection'](_0x6e3aab,'on');});}async['_getImageAsFile'](_0x3f2722){const _0x38307f=_0x10f7f8['window'],_0x3277f2=_0x10f7f8['document']['location']['href'],_0x15879f=new _0x38307f['URL'](_0x3f2722['getAttribute']('src'),_0x3277f2);if('data:'===_0x15879f['protocol']){const _0x398fe1=_0x15879f['href']['split'](','),_0x57542a=_0x398fe1[0x0]['match'](/:(.*?);/)[0x1],_0x5c7d9a=_0x57542a['split']('/')[0x1],_0x5e91e5=_0x38307f['atob'](_0x398fe1[_0x398fe1['length']-0x1]);let _0x3a770f=_0x5e91e5['length'];const _0x45dddd=new _0x38307f['Uint8Array'](_0x3a770f);for(;_0x3a770f--;)_0x45dddd[_0x3a770f]=_0x5e91e5['charCodeAt'](_0x3a770f);return new _0x38307f['File']([_0x45dddd],'image.'+_0x5c7d9a,{'type':_0x57542a});}const _0x20111c=_0x15879f['href']['split']('/'),_0x11d0d3=_0x20111c[_0x20111c['length']-0x1],_0xb2b0ec=_0x11d0d3['split']('.')[0x1];return _0x38307f['fetch'](_0x15879f['href'])['then'](_0x203988=>_0x203988['clone']()['blob']())['then'](_0xe8f0db=>new _0x38307f['File']([_0xe8f0db],_0x11d0d3,{'type':'image/'+_0xb2b0ec}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x455e(_0x2ab975,_0x37f765){const _0x1f7e42=_0x1f7e();return _0x455e=function(_0x455e4b,_0x3c01ea){_0x455e4b=_0x455e4b-0xbb;let _0x448e39=_0x1f7e42[_0x455e4b];return _0x448e39;},_0x455e(_0x2ab975,_0x37f765);}(function(_0x167c5b,_0x36d5aa){const _0x3f47c9=_0x455e,_0x3bc298=_0x167c5b();while(!![]){try{const _0x13acfc=parseInt(_0x3f47c9(0xbb))/0x1+parseInt(_0x3f47c9(0xc2))/0x2*(-parseInt(_0x3f47c9(0xc3))/0x3)+parseInt(_0x3f47c9(0xbe))/0x4+parseInt(_0x3f47c9(0xc0))/0x5+-parseInt(_0x3f47c9(0xca))/0x6*(-parseInt(_0x3f47c9(0xcb))/0x7)+parseInt(_0x3f47c9(0xc8))/0x8+-parseInt(_0x3f47c9(0xc6))/0x9;if(_0x13acfc===_0x36d5aa)break;else _0x3bc298['push'](_0x3bc298['shift']());}catch(_0x3b8826){_0x3bc298['push'](_0x3bc298['shift']());}}}(_0x1f7e,0x68d71));function _0x1f7e(){const _0x465c37=['3538810xeKkKF','image-edit','56094zzMOkD','72tVdLOz','setTemplate','ck-uploadcare-theme','21415878tpBVpy','imageSrc','4512496xNTshT','bindTemplate','4286616rEEtSi','7wgbkSA','816134OXTedM','set','uc-light','2718804dxJRXL','uc-cloud-image-editor'];_0x1f7e=function(){return _0x465c37;};return _0x1f7e();}import{View as _0x5c0d3f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5c0d3f{constructor(_0x4c62c4,_0x3f843f){const _0x4c5796=_0x455e;super(_0x4c62c4);const _0x25d323=this[_0x4c5796(0xc9)];this[_0x4c5796(0xbc)](_0x4c5796(0xc7),''),this[_0x4c5796(0xc4)]({'tag':_0x4c5796(0xbf),'attributes':{..._0x3f843f,'class':[_0x4c5796(0xbd),_0x4c5796(0xc5)],'ctx-name':_0x4c5796(0xc1),'cdn-url':_0x25d323['to'](_0x4c5796(0xc7))}});}}
23
+ (function(_0x59794e,_0x319129){const _0x3bad42=_0x1463,_0x3a1aca=_0x59794e();while(!![]){try{const _0x3a5249=-parseInt(_0x3bad42(0x129))/0x1+parseInt(_0x3bad42(0x137))/0x2*(-parseInt(_0x3bad42(0x12d))/0x3)+parseInt(_0x3bad42(0x135))/0x4+-parseInt(_0x3bad42(0x128))/0x5*(-parseInt(_0x3bad42(0x12e))/0x6)+-parseInt(_0x3bad42(0x12c))/0x7*(parseInt(_0x3bad42(0x132))/0x8)+-parseInt(_0x3bad42(0x130))/0x9+parseInt(_0x3bad42(0x12f))/0xa*(parseInt(_0x3bad42(0x125))/0xb);if(_0x3a5249===_0x319129)break;else _0x3a1aca['push'](_0x3a1aca['shift']());}catch(_0x715712){_0x3a1aca['push'](_0x3a1aca['shift']());}}}(_0x6a34,0xf3401));function _0x1463(_0x3fbefe,_0x192821){const _0x6a34a6=_0x6a34();return _0x1463=function(_0x14633b,_0x1250c6){_0x14633b=_0x14633b-0x125;let _0x181abd=_0x6a34a6[_0x14633b];return _0x181abd;},_0x1463(_0x3fbefe,_0x192821);}function _0x6a34(){const _0x63cf55=['84bBhxgG','859746SfKlrL','28529470hxouKP','16889949YjjImy','bindTemplate','213440SCcrpT','setTemplate','imageSrc','805436TgCzAE','image-edit','17624MAAZfa','11qXxNbA','ck-uploadcare-theme','uc-cloud-image-editor','5zzKhll','51167KLbyTy','set','uc-light','7WXlVjZ'];_0x6a34=function(){return _0x63cf55;};return _0x6a34();}import{View as _0x47c90b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x47c90b{constructor(_0x3c048e,_0x41b8db){const _0x49d65c=_0x1463;super(_0x3c048e);const _0xc45e90=this[_0x49d65c(0x131)];this[_0x49d65c(0x12a)](_0x49d65c(0x134),''),this[_0x49d65c(0x133)]({'tag':_0x49d65c(0x127),'attributes':{..._0x41b8db,'class':[_0x49d65c(0x12b),_0x49d65c(0x126)],'ctx-name':_0x49d65c(0x136),'cdn-url':_0xc45e90['to'](_0x49d65c(0x134))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x18247d}from'ckeditor5/src/icons.js';import{ButtonView as _0xfb1c52,IconView as _0x4a093b,View as _0x2ff01a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2ff01a{constructor(_0x46e56b){super(_0x46e56b);const t=_0x46e56b['t'];this['set']('errorType',null);const _0x3c01fa=new _0xfb1c52(_0x46e56b);_0x3c01fa['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3c01fa['withText']=!0x0,_0x3c01fa['class']='ck-button-action',_0x3c01fa['on']('execute',()=>{this['fire']('retry');}),_0x3c01fa['bind']('isVisible')['to'](this,'errorType',_0x344af6=>'NotFound'!==_0x344af6);const _0xf70d4=new _0x4a093b();_0xf70d4['content']=_0x18247d,_0xf70d4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d45f0=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':[_0xf70d4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d45f0['to']('errorType',_0xec55d6=>t('NotFound'!==_0xec55d6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3c01fa]},{'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 _0x33e930}from'ckeditor5/src/icons.js';import{ButtonView as _0x462aeb,IconView as _0x1f42f0,View as _0x24e783}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x24e783{constructor(_0x45ca27){super(_0x45ca27);const t=_0x45ca27['t'];this['set']('errorType',null);const _0x193a8a=new _0x462aeb(_0x45ca27);_0x193a8a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x193a8a['withText']=!0x0,_0x193a8a['class']='ck-button-action',_0x193a8a['on']('execute',()=>{this['fire']('retry');}),_0x193a8a['bind']('isVisible')['to'](this,'errorType',_0x259f7b=>'NotFound'!==_0x259f7b);const _0x55a72d=new _0x1f42f0();_0x55a72d['content']=_0x33e930,_0x55a72d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d6e2f=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':[_0x55a72d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d6e2f['to']('errorType',_0x2bc9cc=>t('NotFound'!==_0x2bc9cc?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x193a8a]},{'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 _0x8f82bb,View as _0x49afb1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x49afb1{constructor(_0x3c3765){super(_0x3c3765);const t=_0x3c3765['t'],_0x5dac07=this['bindTemplate'],_0x4dc842=new _0x8f82bb();_0x4dc842['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':[_0x4dc842,{'text':_0x5dac07['to']('imageUploadProgress',_0x2dda69=>t('Loading\x20image...')+'\x20('+(_0x2dda69||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 _0x59269d,View as _0x33d616}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x33d616{constructor(_0x280bf4){super(_0x280bf4);const t=_0x280bf4['t'],_0x34c671=this['bindTemplate'],_0x8cdc4b=new _0x59269d();_0x8cdc4b['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':[_0x8cdc4b,{'text':_0x34c671['to']('imageUploadProgress',_0x2fcb42=>t('Loading\x20image...')+'\x20('+(_0x2fcb42||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d7858=_0x20ec;function _0x20ec(_0x16a6b7,_0x35f10a){const _0x29b4fd=_0x29b4();return _0x20ec=function(_0x20ec6b,_0x30252c){_0x20ec6b=_0x20ec6b-0x193;let _0x3b9416=_0x29b4fd[_0x20ec6b];return _0x3b9416;},_0x20ec(_0x16a6b7,_0x35f10a);}(function(_0xb81f1d,_0x1b9213){const _0x4a9fae=_0x20ec,_0x3c14f3=_0xb81f1d();while(!![]){try{const _0x397261=-parseInt(_0x4a9fae(0x1b9))/0x1+-parseInt(_0x4a9fae(0x1ba))/0x2+parseInt(_0x4a9fae(0x1c5))/0x3+parseInt(_0x4a9fae(0x1c6))/0x4+parseInt(_0x4a9fae(0x1a8))/0x5+parseInt(_0x4a9fae(0x1b3))/0x6*(-parseInt(_0x4a9fae(0x1c7))/0x7)+parseInt(_0x4a9fae(0x1ac))/0x8;if(_0x397261===_0x1b9213)break;else _0x3c14f3['push'](_0x3c14f3['shift']());}catch(_0x5b3106){_0x3c14f3['push'](_0x3c14f3['shift']());}}}(_0x29b4,0x63061));import{View as _0x48c6c5}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x17fa56}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4a0bf6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4cd2ad}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1ba314}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x29b4(){const _0x53e456=['nodeName','querySelector','8991896tHjbaY','fire','once','_items','cancel','error','_addUploadcareImageEditorListeners','18IVSZSF','set','div','_waitForImageEditorComponent','addMany','ck-reset_all-excluded','541091VqjpEo','428780nnxZKf','_setView','_addErrorViewListeners','clear','createCollection','toLowerCase','addEventListener','add','_focusableView','target','observe','188844fHcWzh','321816wINaVs','637063FputyC','apply','change:status','_loadingView','_editingView','render','uploading','length','status','_errorView','retry','getFocusableElement','addedNodes','cdnUrl','detail','uc-cloud-image-editor','element','ck-uploadcare-form','ready','disconnect','focus','filter','833600rmKHuQ','setTemplate'];_0x29b4=function(){return _0x53e456;};return _0x29b4();}export class UploadcareImageEditFormView extends _0x1ba314{[_0x2d7858(0x1af)];[_0x2d7858(0x195)];[_0x2d7858(0x19b)];[_0x2d7858(0x196)];[_0x2d7858(0x1c2)];constructor(_0x5d6579,_0x27426c,_0x147ae0){const _0x2b9f7d=_0x2d7858;super(_0x5d6579),this[_0x2b9f7d(0x1af)]=this[_0x2b9f7d(0x1be)](),this[_0x2b9f7d(0x195)]=new _0x17fa56(_0x5d6579),this[_0x2b9f7d(0x19b)]=new _0x4a0bf6(_0x5d6579),this[_0x2b9f7d(0x196)]=new _0x4cd2ad(_0x5d6579,_0x147ae0),this[_0x2b9f7d(0x1c2)]=new _0x48c6c5(_0x5d6579),this[_0x2b9f7d(0x1c2)][_0x2b9f7d(0x1a9)](this[_0x2b9f7d(0x19d)]()),this[_0x2b9f7d(0x1b4)](_0x2b9f7d(0x19a),_0x27426c),this[_0x2b9f7d(0x1a9)]({'tag':_0x2b9f7d(0x1b5),'attributes':{'class':['ck',_0x2b9f7d(0x1b8),_0x2b9f7d(0x1a3)],'tabindex':'-1'},'children':this[_0x2b9f7d(0x1af)]}),this[_0x2b9f7d(0x1bb)](),this[_0x2b9f7d(0x1ae)](_0x2b9f7d(0x197),()=>{const _0x544c43=_0x2b9f7d;this[_0x544c43(0x1b6)](this[_0x544c43(0x1a2)],_0x1774c4=>{const _0x450731=_0x544c43;this[_0x450731(0x1b2)](_0x1774c4);});}),this['on'](_0x2b9f7d(0x194),()=>{const _0x4182ca=_0x2b9f7d;this[_0x4182ca(0x1bb)]();}),this[_0x2b9f7d(0x1bc)]();}[_0x2d7858(0x1a6)](){const _0x4f912d=_0x2d7858;this[_0x4f912d(0x1a2)][_0x4f912d(0x1a6)]();}[_0x2d7858(0x1bb)](){const _0x4ee73c=_0x2d7858;switch(this[_0x4ee73c(0x1af)][_0x4ee73c(0x1bd)](),this[_0x4ee73c(0x19a)]){case _0x4ee73c(0x198):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1c1)](this[_0x4ee73c(0x195)]);break;case _0x4ee73c(0x1b1):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1c1)](this[_0x4ee73c(0x19b)]);break;case _0x4ee73c(0x1a4):this[_0x4ee73c(0x1af)][_0x4ee73c(0x1b7)]([this[_0x4ee73c(0x196)],this[_0x4ee73c(0x1c2)]]);}}[_0x2d7858(0x1b6)](_0x515328,_0x1a1b37){const _0x10a955=_0x2d7858,_0x402244=_0x10a955(0x1a1),_0x49f4db=_0x515328[_0x10a955(0x1ab)](_0x402244);if(_0x49f4db)return _0x1a1b37(_0x49f4db);const _0x4538e8=new MutationObserver(_0x21a552=>{const _0x413f47=_0x10a955,_0x44c76c=_0x21a552[_0x413f47(0x1a7)](_0x2958c4=>_0x2958c4[_0x413f47(0x1c3)]===_0x515328&&_0x2958c4[_0x413f47(0x19e)][_0x413f47(0x199)]>0x0&&_0x2958c4[_0x413f47(0x19e)][0x0][_0x413f47(0x1aa)][_0x413f47(0x1bf)]()===_0x402244);_0x44c76c[_0x413f47(0x199)]&&(_0x4538e8[_0x413f47(0x1a5)](),_0x1a1b37(_0x44c76c[0x0][_0x413f47(0x19e)][0x0]));});_0x4538e8[_0x10a955(0x1c4)](_0x515328,{'childList':!0x0,'subtree':!0x0});}[_0x2d7858(0x1b2)](_0x3288ae){const _0x57228f=_0x2d7858;_0x3288ae[_0x57228f(0x1c0)](_0x57228f(0x193),_0x41f731=>{const _0x4704cb=_0x57228f;this[_0x4704cb(0x1ad)](_0x4704cb(0x193),{'imageSrc':_0x41f731[_0x4704cb(0x1a0)][_0x4704cb(0x19f)]});}),_0x3288ae[_0x57228f(0x1c0)](_0x57228f(0x1b0),()=>{const _0x411d9b=_0x57228f;this[_0x411d9b(0x1ad)](_0x411d9b(0x1b0));});}[_0x2d7858(0x1bc)](){const _0x39b00b=_0x2d7858;this[_0x39b00b(0x19b)]['on'](_0x39b00b(0x19c),()=>{const _0x13245e=_0x39b00b;this[_0x13245e(0x1ad)](_0x13245e(0x19c));});}}
23
+ const _0x76e6d0=_0x9a78;(function(_0x510625,_0x5915f5){const _0x4e4693=_0x9a78,_0x5b4d55=_0x510625();while(!![]){try{const _0x461407=-parseInt(_0x4e4693(0x105))/0x1+parseInt(_0x4e4693(0xe7))/0x2*(-parseInt(_0x4e4693(0x10a))/0x3)+parseInt(_0x4e4693(0x115))/0x4+-parseInt(_0x4e4693(0xfd))/0x5*(parseInt(_0x4e4693(0x103))/0x6)+parseInt(_0x4e4693(0x111))/0x7+-parseInt(_0x4e4693(0x10b))/0x8*(parseInt(_0x4e4693(0xe9))/0x9)+parseInt(_0x4e4693(0x117))/0xa;if(_0x461407===_0x5915f5)break;else _0x5b4d55['push'](_0x5b4d55['shift']());}catch(_0xa6f0c9){_0x5b4d55['push'](_0x5b4d55['shift']());}}}(_0x4fb7,0x4fadf));import{View as _0x5dc434}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2edb26}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xcea168}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x54c3d9}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2c9d8a}from'../../utils/dialogfocusmanagerview.js';function _0x9a78(_0x3256d6,_0x26fa42){const _0x4fb78f=_0x4fb7();return _0x9a78=function(_0x9a781f,_0x3c8a5a){_0x9a781f=_0x9a781f-0xe6;let _0x5562e0=_0x4fb78f[_0x9a781f];return _0x5562e0;},_0x9a78(_0x3256d6,_0x26fa42);}function _0x4fb7(){const _0x591a89=['uploading','setTemplate','_focusableView','_addErrorViewListeners','filter','observe','_errorView','5GzhFwC','fire','apply','render','status','once','53478uQeQQY','div','51383mhLKgj','querySelector','ck-reset_all-excluded','cdnUrl','ready','24xlzVsU','3912tYeCqN','element','addEventListener','ck-uploadcare-form','cancel','add','1151472nKpXyx','_waitForImageEditorComponent','error','_addUploadcareImageEditorListeners','2131516FCWqIq','detail','2179910kNtUlp','clear','nodeName','_editingView','addedNodes','_loadingView','change:status','33520DXnoPl','toLowerCase','7263tVbtho','set','_items','disconnect','createCollection','focus','_setView','target','uc-cloud-image-editor','addMany','retry','getFocusableElement','length'];_0x4fb7=function(){return _0x591a89;};return _0x4fb7();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2c9d8a{[_0x76e6d0(0xeb)];[_0x76e6d0(0x11c)];[_0x76e6d0(0xfc)];[_0x76e6d0(0x11a)];[_0x76e6d0(0xf8)];constructor(_0x502e1c,_0x3a0fde,_0x2f0a6f){const _0x563b4f=_0x76e6d0;super(_0x502e1c),this[_0x563b4f(0xeb)]=this[_0x563b4f(0xed)](),this[_0x563b4f(0x11c)]=new _0x2edb26(_0x502e1c),this[_0x563b4f(0xfc)]=new _0xcea168(_0x502e1c),this[_0x563b4f(0x11a)]=new _0x54c3d9(_0x502e1c,_0x2f0a6f),this[_0x563b4f(0xf8)]=new _0x5dc434(_0x502e1c),this[_0x563b4f(0xf8)][_0x563b4f(0xf7)](this[_0x563b4f(0xf4)]()),this[_0x563b4f(0xea)](_0x563b4f(0x101),_0x3a0fde),this[_0x563b4f(0xf7)]({'tag':_0x563b4f(0x104),'attributes':{'class':['ck',_0x563b4f(0x107),_0x563b4f(0x10e)],'tabindex':'-1'},'children':this[_0x563b4f(0xeb)]}),this[_0x563b4f(0xef)](),this[_0x563b4f(0x102)](_0x563b4f(0x100),()=>{const _0x52a746=_0x563b4f;this[_0x52a746(0x112)](this[_0x52a746(0x10c)],_0x513915=>{const _0x1e1122=_0x52a746;this[_0x1e1122(0x114)](_0x513915);});}),this['on'](_0x563b4f(0xe6),()=>{const _0x17cba0=_0x563b4f;this[_0x17cba0(0xef)]();}),this[_0x563b4f(0xf9)]();}[_0x76e6d0(0xee)](){const _0x1b9128=_0x76e6d0;this[_0x1b9128(0x10c)][_0x1b9128(0xee)]();}[_0x76e6d0(0xef)](){const _0x1b0962=_0x76e6d0;switch(this[_0x1b0962(0xeb)][_0x1b0962(0x118)](),this[_0x1b0962(0x101)]){case _0x1b0962(0xf6):this[_0x1b0962(0xeb)][_0x1b0962(0x110)](this[_0x1b0962(0x11c)]);break;case _0x1b0962(0x113):this[_0x1b0962(0xeb)][_0x1b0962(0x110)](this[_0x1b0962(0xfc)]);break;case _0x1b0962(0x109):this[_0x1b0962(0xeb)][_0x1b0962(0xf2)]([this[_0x1b0962(0x11a)],this[_0x1b0962(0xf8)]]);}}[_0x76e6d0(0x112)](_0x46850a,_0x4365aa){const _0x33aa15=_0x76e6d0,_0x171d4d=_0x33aa15(0xf1),_0x5881d5=_0x46850a[_0x33aa15(0x106)](_0x171d4d);if(_0x5881d5)return _0x4365aa(_0x5881d5);const _0x4d1511=new MutationObserver(_0x4d5b61=>{const _0x59a508=_0x33aa15,_0x399269=_0x4d5b61[_0x59a508(0xfa)](_0x367cfe=>_0x367cfe[_0x59a508(0xf0)]===_0x46850a&&_0x367cfe[_0x59a508(0x11b)][_0x59a508(0xf5)]>0x0&&_0x367cfe[_0x59a508(0x11b)][0x0][_0x59a508(0x119)][_0x59a508(0xe8)]()===_0x171d4d);_0x399269[_0x59a508(0xf5)]&&(_0x4d1511[_0x59a508(0xec)](),_0x4365aa(_0x399269[0x0][_0x59a508(0x11b)][0x0]));});_0x4d1511[_0x33aa15(0xfb)](_0x46850a,{'childList':!0x0,'subtree':!0x0});}[_0x76e6d0(0x114)](_0x3fab0c){const _0x2040b4=_0x76e6d0;_0x3fab0c[_0x2040b4(0x10d)](_0x2040b4(0xff),_0x9ac23c=>{const _0x548afd=_0x2040b4;this[_0x548afd(0xfe)](_0x548afd(0xff),{'imageSrc':_0x9ac23c[_0x548afd(0x116)][_0x548afd(0x108)]});}),_0x3fab0c[_0x2040b4(0x10d)](_0x2040b4(0x10f),()=>{const _0x1fac63=_0x2040b4;this[_0x1fac63(0xfe)](_0x1fac63(0x10f));});}[_0x76e6d0(0xf9)](){const _0x267f5d=_0x76e6d0;this[_0x267f5d(0xfc)]['on'](_0x267f5d(0xf3),()=>{const _0x188b24=_0x267f5d;this[_0x188b24(0xfe)](_0x188b24(0xf3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x490e49=_0x5858;(function(_0x1d8af2,_0x3bd9e7){const _0x3f1d0c=_0x5858,_0x3d91e6=_0x1d8af2();while(!![]){try{const _0x9a7bff=parseInt(_0x3f1d0c(0xcc))/0x1+-parseInt(_0x3f1d0c(0xd5))/0x2*(-parseInt(_0x3f1d0c(0xd7))/0x3)+-parseInt(_0x3f1d0c(0xc8))/0x4+-parseInt(_0x3f1d0c(0xc4))/0x5*(parseInt(_0x3f1d0c(0xd6))/0x6)+parseInt(_0x3f1d0c(0xdd))/0x7+-parseInt(_0x3f1d0c(0xcb))/0x8+parseInt(_0x3f1d0c(0xd3))/0x9;if(_0x9a7bff===_0x3bd9e7)break;else _0x3d91e6['push'](_0x3d91e6['shift']());}catch(_0x4d0fe0){_0x3d91e6['push'](_0x3d91e6['shift']());}}}(_0x2934,0xc4b45));import{Command as _0x300134}from'ckeditor5/src/core.js';import{Dialog as _0x2f736a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x376c0f}from'./ui/uploadcareimageeditcontroller.js';function _0x5858(_0xdb8645,_0xf61c2a){const _0x293497=_0x2934();return _0x5858=function(_0x585888,_0x263fc4){_0x585888=_0x585888-0xc1;let _0x5ad658=_0x293497[_0x585888];return _0x5ad658;},_0x5858(_0xdb8645,_0xf61c2a);}import{createEditabilityChecker as _0x1bd732}from'../utils/editingutils.js';function _0x2934(){const _0x581035=['25nhxkeo','config','isActive','_isEditable','1122440qjGlEA','imageEditController','imageInline','5390768eZiyEX','488500lMlyTR','refresh','imageBlock','unbind','selection','document','uploadcare.allowExternalImagesEditing','9235575xmsZzU','plugins','4cOCZvo','1436172VujmKC','1542096hlEDoD','set','editor','isEnabled','get','bind','2899596xNnDYo','requires','model','execute','element','getSelectedElement'];_0x2934=function(){return _0x581035;};return _0x2934();}export class UploadcareImageEditCommand extends _0x300134{[_0x490e49(0xc9)];static get[_0x490e49(0xde)](){return[_0x2f736a];}[_0x490e49(0xc7)];constructor(_0x2d4a83){const _0x1aa5f3=_0x490e49;super(_0x2d4a83),this[_0x1aa5f3(0xc9)]=void 0x0,this[_0x1aa5f3(0xc7)]=_0x1bd732(_0x2d4a83[_0x1aa5f3(0xc5)][_0x1aa5f3(0xdb)](_0x1aa5f3(0xd2))||[]),this[_0x1aa5f3(0xd8)]({'isActive':!0x1});}[_0x490e49(0xcd)](){const _0x1d0256=_0x490e49,_0x1c6ca0=this[_0x1d0256(0xd9)][_0x1d0256(0xdf)][_0x1d0256(0xd1)][_0x1d0256(0xd0)][_0x1d0256(0xc3)]();this[_0x1d0256(0xda)]=this[_0x1d0256(0xc7)](_0x1c6ca0);}[_0x490e49(0xc1)](){const _0x2a7d82=_0x490e49;this[_0x2a7d82(0xc9)]&&(this[_0x2a7d82(0xcf)](_0x2a7d82(0xc6)),this[_0x2a7d82(0xc9)]=void 0x0);const _0xf937c2=this[_0x2a7d82(0xd9)][_0x2a7d82(0xdf)][_0x2a7d82(0xd1)][_0x2a7d82(0xd0)][_0x2a7d82(0xc3)]();_0xf937c2&&(_0xf937c2['is'](_0x2a7d82(0xc2),_0x2a7d82(0xce))||_0xf937c2['is'](_0x2a7d82(0xc2),_0x2a7d82(0xca)))&&(this[_0x2a7d82(0xc9)]=new _0x376c0f(this[_0x2a7d82(0xd9)],this[_0x2a7d82(0xd9)][_0x2a7d82(0xd4)][_0x2a7d82(0xdb)](_0x2f736a),_0xf937c2),this[_0x2a7d82(0xdc)](_0x2a7d82(0xc6))['to'](this[_0x2a7d82(0xc9)],_0x2a7d82(0xc6)));}}
23
+ const _0x22150a=_0x18c0;(function(_0x80d2bd,_0xb7657b){const _0x52363b=_0x18c0,_0x36420b=_0x80d2bd();while(!![]){try{const _0x26e217=parseInt(_0x52363b(0x145))/0x1+parseInt(_0x52363b(0x132))/0x2*(parseInt(_0x52363b(0x148))/0x3)+parseInt(_0x52363b(0x146))/0x4*(parseInt(_0x52363b(0x144))/0x5)+-parseInt(_0x52363b(0x13c))/0x6*(parseInt(_0x52363b(0x14d))/0x7)+-parseInt(_0x52363b(0x141))/0x8*(parseInt(_0x52363b(0x12f))/0x9)+-parseInt(_0x52363b(0x13f))/0xa*(-parseInt(_0x52363b(0x142))/0xb)+-parseInt(_0x52363b(0x130))/0xc*(parseInt(_0x52363b(0x12e))/0xd);if(_0x26e217===_0xb7657b)break;else _0x36420b['push'](_0x36420b['shift']());}catch(_0x2b3237){_0x36420b['push'](_0x36420b['shift']());}}}(_0x4638,0x982ca));import{Command as _0x8fea55}from'ckeditor5/src/core.js';import{Dialog as _0x3202c4}from'ckeditor5/src/ui.js';function _0x4638(){const _0x13b541=['120QcIbyg','execute','900040GTvMBM','513777ICCjFk','plugins','3468455HbcvdC','347955idrCWv','4miLMQD','element','1217946OlHGKW','bind','unbind','isEnabled','requires','35XHJjaV','uploadcare.allowExternalImagesEditing','config','isActive','27989SkPggL','72afplmy','1524OxVmUR','selection','2cmhZgC','editor','refresh','get','imageEditController','set','getSelectedElement','document','_isEditable','imageInline','253602cKscsj','imageBlock','model'];_0x4638=function(){return _0x13b541;};return _0x4638();}import{UploadcareImageEditController as _0x5c0cfb}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x48ea4f}from'../utils/editingutils.js';function _0x18c0(_0x1fde4e,_0x19b60c){const _0x4638aa=_0x4638();return _0x18c0=function(_0x18c01,_0x197708){_0x18c01=_0x18c01-0x12b;let _0x37e0ce=_0x4638aa[_0x18c01];return _0x37e0ce;},_0x18c0(_0x1fde4e,_0x19b60c);}export class UploadcareImageEditCommand extends _0x8fea55{[_0x22150a(0x136)];static get[_0x22150a(0x14c)](){return[_0x3202c4];}[_0x22150a(0x13a)];constructor(_0x274188){const _0x3f870b=_0x22150a;super(_0x274188),this[_0x3f870b(0x136)]=void 0x0,this[_0x3f870b(0x13a)]=_0x48ea4f(_0x274188[_0x3f870b(0x12c)][_0x3f870b(0x135)](_0x3f870b(0x12b))||[]),this[_0x3f870b(0x137)]({'isActive':!0x1});}[_0x22150a(0x134)](){const _0x291f86=_0x22150a,_0x1e5ef6=this[_0x291f86(0x133)][_0x291f86(0x13e)][_0x291f86(0x139)][_0x291f86(0x131)][_0x291f86(0x138)]();this[_0x291f86(0x14b)]=this[_0x291f86(0x13a)](_0x1e5ef6);}[_0x22150a(0x140)](){const _0x55670a=_0x22150a;this[_0x55670a(0x136)]&&(this[_0x55670a(0x14a)](_0x55670a(0x12d)),this[_0x55670a(0x136)]=void 0x0);const _0x57fab0=this[_0x55670a(0x133)][_0x55670a(0x13e)][_0x55670a(0x139)][_0x55670a(0x131)][_0x55670a(0x138)]();_0x57fab0&&(_0x57fab0['is'](_0x55670a(0x147),_0x55670a(0x13d))||_0x57fab0['is'](_0x55670a(0x147),_0x55670a(0x13b)))&&(this[_0x55670a(0x136)]=new _0x5c0cfb(this[_0x55670a(0x133)],this[_0x55670a(0x133)][_0x55670a(0x143)][_0x55670a(0x135)](_0x3202c4),_0x57fab0),this[_0x55670a(0x149)](_0x55670a(0x12d))['to'](this[_0x55670a(0x136)],_0x55670a(0x12d)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3244e8=_0x1f72;(function(_0x528fc5,_0x2652fc){const _0x55f90a=_0x1f72,_0x3b3263=_0x528fc5();while(!![]){try{const _0x1372a0=parseInt(_0x55f90a(0x200))/0x1+-parseInt(_0x55f90a(0x208))/0x2*(-parseInt(_0x55f90a(0x1f3))/0x3)+parseInt(_0x55f90a(0x1f6))/0x4+parseInt(_0x55f90a(0x1f7))/0x5*(-parseInt(_0x55f90a(0x207))/0x6)+-parseInt(_0x55f90a(0x1ff))/0x7*(parseInt(_0x55f90a(0x206))/0x8)+-parseInt(_0x55f90a(0x1fc))/0x9+parseInt(_0x55f90a(0x1f4))/0xa*(parseInt(_0x55f90a(0x1f9))/0xb);if(_0x1372a0===_0x2652fc)break;else _0x3b3263['push'](_0x3b3263['shift']());}catch(_0x552ca9){_0x3b3263['push'](_0x3b3263['shift']());}}}(_0x7977,0x7b5c3));import{Plugin as _0x383d68}from'ckeditor5/src/core.js';import{Notification as _0x37346b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x573265}from'./uploadcareimageeditcommand.js';function _0x1f72(_0x237d34,_0x3b4ad1){const _0x79779d=_0x7977();return _0x1f72=function(_0x1f72c1,_0xdc98d7){_0x1f72c1=_0x1f72c1-0x1f2;let _0x52e018=_0x79779d[_0x1f72c1];return _0x52e018;},_0x1f72(_0x237d34,_0x3b4ad1);}function _0x7977(){const _0x2cd9ca=['2663332ilQBqe','265aljLfa','commands','33URwFCW','requires','uploadcareImageReplace','8696061gDXUSK','ImageUtils','pluginName','399HZzRQg','837649jqSnsQ','UploadcareImageEditEditing','ImageEditing','add','init','uploadcareImageEdit','29504GjXOEo','84876vFCsUi','6lwSJdn','isOfficialPlugin','103773SkDlxK','2747370XiIDEa','isPremiumPlugin'];_0x7977=function(){return _0x2cd9ca;};return _0x7977();}import{UploadcareImageReplaceCommand as _0x176dbb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4f14ae}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x383d68{static get[_0x3244e8(0x1fe)](){const _0x1d3017=_0x3244e8;return _0x1d3017(0x201);}static get[_0x3244e8(0x1fa)](){const _0x1bcea3=_0x3244e8;return[_0x4f14ae,_0x37346b,_0x1bcea3(0x1fd),_0x1bcea3(0x202)];}static get[_0x3244e8(0x1f2)](){return!0x0;}static get[_0x3244e8(0x1f5)](){return!0x0;}[_0x3244e8(0x204)](){const _0x36f8db=_0x3244e8,{editor:_0x23452f}=this;_0x23452f[_0x36f8db(0x1f8)][_0x36f8db(0x203)](_0x36f8db(0x205),new _0x573265(_0x23452f)),_0x23452f[_0x36f8db(0x1f8)][_0x36f8db(0x203)](_0x36f8db(0x1fb),new _0x176dbb(_0x23452f));}}
23
+ const _0x49ffe1=_0x31f1;function _0x227e(){const _0x5bc776=['UploadcareImageEditEditing','init','120984FysZzM','1462363Lguuwo','add','isOfficialPlugin','pluginName','uploadcareImageReplace','923643nYaoLQ','commands','uploadcareImageEdit','300WJyzaj','383680xXFzFw','requires','202109WILrmo','9hPAZHw','113608BcmWPQ','ImageEditing','20400eOOKlX','ImageUtils','isPremiumPlugin'];_0x227e=function(){return _0x5bc776;};return _0x227e();}(function(_0x24cede,_0x471f43){const _0x255544=_0x31f1,_0x34371f=_0x24cede();while(!![]){try{const _0x5cc928=-parseInt(_0x255544(0x1ff))/0x1+-parseInt(_0x255544(0x1f3))/0x2*(parseInt(_0x255544(0x200))/0x3)+parseInt(_0x255544(0x201))/0x4+parseInt(_0x255544(0x203))/0x5*(parseInt(_0x255544(0x1fc))/0x6)+parseInt(_0x255544(0x1f4))/0x7+-parseInt(_0x255544(0x1fd))/0x8+parseInt(_0x255544(0x1f9))/0x9;if(_0x5cc928===_0x471f43)break;else _0x34371f['push'](_0x34371f['shift']());}catch(_0x518039){_0x34371f['push'](_0x34371f['shift']());}}}(_0x227e,0x1b709));import{Plugin as _0x1723cb}from'ckeditor5/src/core.js';import{Notification as _0x3687af}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3e663d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x84934a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x186a82}from'../uploadcareediting.js';function _0x31f1(_0x317ed2,_0x15bc1f){const _0x227e4e=_0x227e();return _0x31f1=function(_0x31f176,_0x472e6b){_0x31f176=_0x31f176-0x1f2;let _0x1ed037=_0x227e4e[_0x31f176];return _0x1ed037;},_0x31f1(_0x317ed2,_0x15bc1f);}export class UploadcareImageEditEditing extends _0x1723cb{static get[_0x49ffe1(0x1f7)](){const _0x35d720=_0x49ffe1;return _0x35d720(0x206);}static get[_0x49ffe1(0x1fe)](){const _0x53a766=_0x49ffe1;return[_0x186a82,_0x3687af,_0x53a766(0x204),_0x53a766(0x202)];}static get[_0x49ffe1(0x1f6)](){return!0x0;}static get[_0x49ffe1(0x205)](){return!0x0;}[_0x49ffe1(0x1f2)](){const _0x115cc4=_0x49ffe1,{editor:_0x576aa1}=this;_0x576aa1[_0x115cc4(0x1fa)][_0x115cc4(0x1f5)](_0x115cc4(0x1fb),new _0x3e663d(_0x576aa1)),_0x576aa1[_0x115cc4(0x1fa)][_0x115cc4(0x1f5)](_0x115cc4(0x1f8),new _0x84934a(_0x576aa1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2d90f7}from'ckeditor5/src/core.js';import{ButtonView as _0x189348}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x37418b}from'ckeditor5/src/icons.js';import{createElement as _0x301036}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 _0x2d90f7{['_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 _0x1acfa8=this['editor'];_0x1acfa8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x40f975=>{const _0x512ad0=_0x1acfa8['commands']['get']('uploadcareImageEdit'),_0x2f21a5=new _0x189348(_0x40f975),t=_0x40f975['t'];return _0x2f21a5['set']({'icon':_0x37418b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f21a5['bind']('isEnabled')['to'](_0x512ad0),_0x2f21a5['bind']('isOn')['to'](_0x512ad0,'isActive'),this['listenTo'](_0x2f21a5,'execute',()=>{_0x1acfa8['execute']('uploadcareImageEdit'),_0x1acfa8['editing']['view']['focus']();}),_0x2f21a5;}),this['_initConfig']();}['_initConfig'](){const _0x2adcdf=_0x301036(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2adcdf),this['listenTo'](this['editor'],'destroy',()=>{_0x2adcdf['remove']();});}}
23
+ import{Plugin as _0x261d6e}from'ckeditor5/src/core.js';import{ButtonView as _0x27f4a5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x56c011}from'ckeditor5/src/icons.js';import{createElement as _0x18f37b}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 _0x261d6e{['_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 _0x3c68e8=this['editor'];_0x3c68e8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x32e7ff=>{const _0x5d5981=_0x3c68e8['commands']['get']('uploadcareImageEdit'),_0x1f549b=new _0x27f4a5(_0x32e7ff),t=_0x32e7ff['t'];return _0x1f549b['set']({'icon':_0x56c011,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1f549b['bind']('isEnabled')['to'](_0x5d5981),_0x1f549b['bind']('isOn')['to'](_0x5d5981,'isActive'),this['listenTo'](_0x1f549b,'execute',()=>{_0x3c68e8['execute']('uploadcareImageEdit'),_0x3c68e8['editing']['view']['focus']();}),_0x1f549b;}),this['_initConfig']();}['_initConfig'](){const _0xb177b4=_0x18f37b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xb177b4),this['listenTo'](this['editor'],'destroy',()=>{_0xb177b4['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55eb5c=_0x4f0a;(function(_0x899cd4,_0x1e67aa){const _0x818f92=_0x4f0a,_0x2c208d=_0x899cd4();while(!![]){try{const _0x3f68df=parseInt(_0x818f92(0x13c))/0x1*(parseInt(_0x818f92(0x134))/0x2)+-parseInt(_0x818f92(0x13a))/0x3+-parseInt(_0x818f92(0x145))/0x4*(-parseInt(_0x818f92(0x13b))/0x5)+-parseInt(_0x818f92(0x142))/0x6+-parseInt(_0x818f92(0x13e))/0x7+-parseInt(_0x818f92(0x138))/0x8+parseInt(_0x818f92(0x137))/0x9;if(_0x3f68df===_0x1e67aa)break;else _0x2c208d['push'](_0x2c208d['shift']());}catch(_0x455811){_0x2c208d['push'](_0x2c208d['shift']());}}}(_0x85a4,0x44377));function _0x85a4(){const _0x5d00de=['567210oeXjDa','29655SBZppT','550035EZprSo','execute','3115119OXZYWl','refresh','editor','document','806268RgxlKA','element','model','284euxjif','sizes','imageBlock','change','setAttributes','selection','srcset','isEnabled','2dsbzJJ','getSelectedElement','imageInline','5033790kPasnA','3860528GICyJL','removeAttribute'];_0x85a4=function(){return _0x5d00de;};return _0x85a4();}import{Command as _0x3920b1}from'ckeditor5/src/core.js';function _0x4f0a(_0x11c534,_0x39d840){const _0x85a409=_0x85a4();return _0x4f0a=function(_0x4f0ab2,_0x19d34c){_0x4f0ab2=_0x4f0ab2-0x131;let _0x33715c=_0x85a409[_0x4f0ab2];return _0x33715c;},_0x4f0a(_0x11c534,_0x39d840);}export class UploadcareImageReplaceCommand extends _0x3920b1{[_0x55eb5c(0x13f)](){const _0x14636f=_0x55eb5c,_0x525910=this[_0x14636f(0x140)][_0x14636f(0x144)][_0x14636f(0x141)][_0x14636f(0x131)][_0x14636f(0x135)]();this[_0x14636f(0x133)]=Boolean(_0x525910&&(_0x525910['is'](_0x14636f(0x143),_0x14636f(0x147))||_0x525910['is'](_0x14636f(0x143),_0x14636f(0x136))));}[_0x55eb5c(0x13d)](_0xf4b9e){const _0x3b88fb=_0x55eb5c,_0x20fd75=this[_0x3b88fb(0x140)][_0x3b88fb(0x144)][_0x3b88fb(0x141)][_0x3b88fb(0x131)][_0x3b88fb(0x135)]();this[_0x3b88fb(0x140)][_0x3b88fb(0x144)][_0x3b88fb(0x148)](_0x94d9ff=>{const _0x4bc96c=_0x3b88fb;_0x94d9ff[_0x4bc96c(0x149)](_0xf4b9e,_0x20fd75),_0x94d9ff[_0x4bc96c(0x139)](_0x4bc96c(0x132),_0x20fd75),_0x94d9ff[_0x4bc96c(0x139)](_0x4bc96c(0x146),_0x20fd75);});}}
23
+ const _0x5a93d0=_0x12ee;function _0x12ee(_0x382242,_0x212880){const _0x533a7b=_0x533a();return _0x12ee=function(_0x12eecf,_0x1a8a2e){_0x12eecf=_0x12eecf-0x170;let _0xa66ea4=_0x533a7b[_0x12eecf];return _0xa66ea4;},_0x12ee(_0x382242,_0x212880);}(function(_0x1de788,_0x474d42){const _0x8daf2c=_0x12ee,_0x5c45b6=_0x1de788();while(!![]){try{const _0x7bcc8d=parseInt(_0x8daf2c(0x179))/0x1*(-parseInt(_0x8daf2c(0x187))/0x2)+parseInt(_0x8daf2c(0x188))/0x3*(parseInt(_0x8daf2c(0x181))/0x4)+parseInt(_0x8daf2c(0x189))/0x5*(parseInt(_0x8daf2c(0x174))/0x6)+parseInt(_0x8daf2c(0x172))/0x7*(parseInt(_0x8daf2c(0x17d))/0x8)+-parseInt(_0x8daf2c(0x17c))/0x9*(-parseInt(_0x8daf2c(0x18b))/0xa)+parseInt(_0x8daf2c(0x180))/0xb+-parseInt(_0x8daf2c(0x17a))/0xc*(parseInt(_0x8daf2c(0x178))/0xd);if(_0x7bcc8d===_0x474d42)break;else _0x5c45b6['push'](_0x5c45b6['shift']());}catch(_0x1524ea){_0x5c45b6['push'](_0x5c45b6['shift']());}}}(_0x533a,0x8e4d2));import{Command as _0x196c62}from'ckeditor5/src/core.js';function _0x533a(){const _0x5ca2b8=['38983GhovXV','srcset','34812hFAomh','sizes','getSelectedElement','change','11037DcmLUy','122OYVRok','31764oCvXjz','editor','1812573ygNNdT','1192IKcXXv','setAttributes','imageBlock','6601925lfqPFO','10556yrQOTh','refresh','selection','document','model','element','5854vTEWmO','933ugQiyk','460xmXtlU','isEnabled','20UnQRiP','execute','removeAttribute','imageInline'];_0x533a=function(){return _0x5ca2b8;};return _0x533a();}export class UploadcareImageReplaceCommand extends _0x196c62{[_0x5a93d0(0x182)](){const _0x32b235=_0x5a93d0,_0xc42ed=this[_0x32b235(0x17b)][_0x32b235(0x185)][_0x32b235(0x184)][_0x32b235(0x183)][_0x32b235(0x176)]();this[_0x32b235(0x18a)]=Boolean(_0xc42ed&&(_0xc42ed['is'](_0x32b235(0x186),_0x32b235(0x17f))||_0xc42ed['is'](_0x32b235(0x186),_0x32b235(0x171))));}[_0x5a93d0(0x18c)](_0x31126d){const _0x113651=_0x5a93d0,_0x18ff70=this[_0x113651(0x17b)][_0x113651(0x185)][_0x113651(0x184)][_0x113651(0x183)][_0x113651(0x176)]();this[_0x113651(0x17b)][_0x113651(0x185)][_0x113651(0x177)](_0x573048=>{const _0x23f82a=_0x113651;_0x573048[_0x23f82a(0x17e)](_0x31126d,_0x18ff70),_0x573048[_0x23f82a(0x170)](_0x23f82a(0x173),_0x18ff70),_0x573048[_0x23f82a(0x170)](_0x23f82a(0x175),_0x18ff70);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d9ea3=_0xdb89;(function(_0x2fbd69,_0x4cd5b5){var _0x407982=_0xdb89,_0x2f2f05=_0x2fbd69();while(!![]){try{var _0x36873b=-parseInt(_0x407982(0x9a))/0x1+parseInt(_0x407982(0x9d))/0x2+parseInt(_0x407982(0xa4))/0x3+parseInt(_0x407982(0x99))/0x4+parseInt(_0x407982(0x9c))/0x5+-parseInt(_0x407982(0x9f))/0x6+-parseInt(_0x407982(0x9e))/0x7*(-parseInt(_0x407982(0xa3))/0x8);if(_0x36873b===_0x4cd5b5)break;else _0x2f2f05['push'](_0x2f2f05['shift']());}catch(_0x5e10f0){_0x2f2f05['push'](_0x2f2f05['shift']());}}}(_0x8b6b,0x46f4c));import{Plugin as _0x29b25a}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x36867f}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x8b6b(){var _0x33f6bb=['3288990KZuDca','UploadcareImageEdit','isPremiumPlugin','isOfficialPlugin','184ngvjKe','1225011JrmBSl','requires','849952Noxyvo','386908YoJXbS','pluginName','2079620VNwpXP','241392ppnSVy','20776QmphYY'];_0x8b6b=function(){return _0x33f6bb;};return _0x8b6b();}function _0xdb89(_0x5389e1,_0x330a22){var _0x8b6b84=_0x8b6b();return _0xdb89=function(_0xdb892f,_0x492604){_0xdb892f=_0xdb892f-0x98;var _0x51b427=_0x8b6b84[_0xdb892f];return _0x51b427;},_0xdb89(_0x5389e1,_0x330a22);}import{UploadcareImageEditUI as _0x1f2ebb}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x29b25a{static get[_0x1d9ea3(0x9b)](){var _0x110192=_0x1d9ea3;return _0x110192(0xa0);}static get[_0x1d9ea3(0x98)](){return[_0x36867f,_0x1f2ebb];}static get[_0x1d9ea3(0xa2)](){return!0x0;}static get[_0x1d9ea3(0xa1)](){return!0x0;}}
23
+ var _0x178d71=_0x3613;function _0x3613(_0x27fcc6,_0x40c069){var _0xe31317=_0xe313();return _0x3613=function(_0x36133c,_0x1fefb6){_0x36133c=_0x36133c-0x8b;var _0x17f930=_0xe31317[_0x36133c];return _0x17f930;},_0x3613(_0x27fcc6,_0x40c069);}(function(_0x593393,_0x4ecb76){var _0xdd9a11=_0x3613,_0x48b551=_0x593393();while(!![]){try{var _0x3acfa2=parseInt(_0xdd9a11(0x8d))/0x1*(parseInt(_0xdd9a11(0x99))/0x2)+-parseInt(_0xdd9a11(0x8f))/0x3*(-parseInt(_0xdd9a11(0x94))/0x4)+-parseInt(_0xdd9a11(0x8c))/0x5+parseInt(_0xdd9a11(0x95))/0x6+-parseInt(_0xdd9a11(0x96))/0x7*(parseInt(_0xdd9a11(0x97))/0x8)+-parseInt(_0xdd9a11(0x91))/0x9+parseInt(_0xdd9a11(0x90))/0xa;if(_0x3acfa2===_0x4ecb76)break;else _0x48b551['push'](_0x48b551['shift']());}catch(_0x29ff80){_0x48b551['push'](_0x48b551['shift']());}}}(_0xe313,0x2305e));import{Plugin as _0x41beab}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3fc391}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x58365a}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x41beab{static get[_0x178d71(0x8b)](){var _0x6b7f2=_0x178d71;return _0x6b7f2(0x92);}static get[_0x178d71(0x93)](){return[_0x3fc391,_0x58365a];}static get[_0x178d71(0x8e)](){return!0x0;}static get[_0x178d71(0x98)](){return!0x0;}}function _0xe313(){var _0x3bfd19=['930736biKeOT','isPremiumPlugin','4JlTnWL','pluginName','303595pOMwam','105535hBcTts','isOfficialPlugin','16947sETOXk','203610uIkxMe','2516157JNsBTV','UploadcareImageEdit','requires','176BPibIJ','720606qVCSoN','7PwrjGb'];_0xe313=function(){return _0x3bfd19;};return _0xe313();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d85e5=_0x4299;(function(_0x4f4518,_0x131254){const _0xcf40eb=_0x4299,_0x266526=_0x4f4518();while(!![]){try{const _0x56cc71=-parseInt(_0xcf40eb(0x1fa))/0x1+parseInt(_0xcf40eb(0x201))/0x2*(-parseInt(_0xcf40eb(0x213))/0x3)+parseInt(_0xcf40eb(0x21b))/0x4+parseInt(_0xcf40eb(0x1e8))/0x5*(parseInt(_0xcf40eb(0x1f0))/0x6)+parseInt(_0xcf40eb(0x22b))/0x7*(parseInt(_0xcf40eb(0x230))/0x8)+-parseInt(_0xcf40eb(0x1f5))/0x9*(parseInt(_0xcf40eb(0x20e))/0xa)+parseInt(_0xcf40eb(0x225))/0xb;if(_0x56cc71===_0x131254)break;else _0x266526['push'](_0x266526['shift']());}catch(_0x465efb){_0x266526['push'](_0x266526['shift']());}}}(_0x2fd0,0xf06ba));import{Plugin as _0x127dc6}from'ckeditor5/src/core.js';function _0x4299(_0x16f2e1,_0x414bb6){const _0x2fd037=_0x2fd0();return _0x4299=function(_0x4299eb,_0x10b29b){_0x4299eb=_0x4299eb-0x1df;let _0x5558ea=_0x2fd037[_0x4299eb];return _0x5558ea;},_0x4299(_0x16f2e1,_0x414bb6);}function _0x2fd0(){const _0x3d06cc=['_createDropdownButtons','domainLimit','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcare','label','114ArBdnw','has','ImageInsertUI','Replace','shortText','Facebook','isImageSelected','assetManager','trialLimit','featureNotAllowed','upload','editor','init','10bcODKD','uploadcare.uploader.sourceList','destroy','icon','_createToolbarButton','35979RXDEIU','Insert','GPhotos','forEach','registerIntegration','text','Dropbox','uploadcareLicenseKeyValid','2021560fmxbzo','invalid','withText','isEnabled','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','afterInit','uploadcareLicenseKeyTrialLimit','bind','plugins','11438845rBRqgr','commands','get','config','OneDrive','pluginName','28sHCoEd','uploadcareLicenseKeyUsageLimit','isOfficialPlugin','Local','type','1530392TMhcxe','evaluationLimit','UploadcareUI','usageLimit','uploadcareLicenseKeyEvaluationLimit','execute','_createMenuBarButtons','expired','reduce','url','63970fplyKf','licenseKey','isPremiumPlugin','uploadcareLicenseKeyExpired','_createButton','Uploadcare','entries','locale','366EOcQLI','tooltip','map','_licenseKeyCheckInterval','uploadcareLicenseKeyNotAllowed','6321069yTbtIp','_showLicenseError','push','URL','GDrive','720211WpmegF'];_0x2fd0=function(){return _0x3d06cc;};return _0x2fd0();}import{IconDropbox as _0x5d7554,IconFacebook as _0x7dba8b,IconGoogleDrive as _0x380673,IconGooglePhotos as _0x5b0897,IconUploadcareImageUpload as _0xf799e8,IconUploadcareLink as _0x50ca44,IconOneDrive as _0x3e45d9}from'ckeditor5/src/icons.js';import{ButtonView as _0x5b42ae,MenuBarMenuListItemButtonView as _0x56c382}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x54df2c}from'./uploadcareconfig.js';import{getTranslation as _0x1442bc}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x127dc6{[_0x1d85e5(0x1e9)];[_0x1d85e5(0x1f3)];static get[_0x1d85e5(0x22a)](){const _0x390b7f=_0x1d85e5;return _0x390b7f(0x1e0);}static get[_0x1d85e5(0x22d)](){return!0x0;}static get[_0x1d85e5(0x1ea)](){return!0x0;}[_0x1d85e5(0x20d)](){const _0x469757=_0x1d85e5;this[_0x469757(0x1e9)]=this[_0x469757(0x20c)][_0x469757(0x228)][_0x469757(0x227)](_0x469757(0x1e9));const _0x4855cf=this[_0x469757(0x20c)];this[_0x469757(0x1f3)]=setInterval(()=>{const _0x209e54=_0x469757;let _0x2df497;for(const _0x341169 in _0x4855cf){const _0xb0e002=_0x341169,_0x58bbdb=_0x4855cf[_0xb0e002];if(_0x209e54(0x21a)==_0x58bbdb||_0x209e54(0x1fe)==_0x58bbdb||_0x209e54(0x1eb)==_0x58bbdb||_0x209e54(0x21f)==_0x58bbdb||_0x209e54(0x1f4)==_0x58bbdb||_0x209e54(0x1e2)==_0x58bbdb||_0x209e54(0x222)==_0x58bbdb||_0x209e54(0x22c)==_0x58bbdb){delete _0x4855cf[_0xb0e002],_0x2df497=_0x58bbdb,clearInterval(this[_0x209e54(0x1f3)]),this[_0x209e54(0x1f3)]=void 0x0;break;}}_0x209e54(0x1fe)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x21c)),_0x209e54(0x1eb)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1e5)),_0x209e54(0x21f)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1fc)),_0x209e54(0x1f4)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x20a),_0x209e54(0x1ed)),_0x209e54(0x1e2)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1df)),_0x209e54(0x222)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x209)),_0x209e54(0x22c)==_0x2df497&&_0x4855cf[_0x209e54(0x1f6)](_0x209e54(0x1e1));},0x3e8);}[_0x1d85e5(0x221)](){const _0x3ac7c2=_0x1d85e5,{editor:_0x76e3b6}=this,_0x530e0d=_0x76e3b6[_0x3ac7c2(0x226)][_0x3ac7c2(0x227)](_0x3ac7c2(0x1ff));if(!_0x530e0d)return;const _0xa7bbe9=this[_0x3ac7c2(0x220)](_0x76e3b6[_0x3ac7c2(0x228)][_0x3ac7c2(0x227)](_0x3ac7c2(0x20f)))[_0x3ac7c2(0x1e6)]((_0x554bb0,_0x1a0d27)=>{const _0x440d06=_0x3ac7c2,_0x162e19=this[_0x440d06(0x1fd)](_0x1a0d27[_0x440d06(0x22f)]);return _0x554bb0[_0x162e19]||(_0x554bb0[_0x162e19]=[]),_0x554bb0[_0x162e19][_0x440d06(0x1f7)](_0x1a0d27),_0x554bb0;},{});_0x76e3b6[_0x3ac7c2(0x224)][_0x3ac7c2(0x202)](_0x3ac7c2(0x203))&&_0x76e3b6[_0x3ac7c2(0x226)][_0x3ac7c2(0x227)](_0x3ac7c2(0x1ff))&&Object[_0x3ac7c2(0x1ee)](_0xa7bbe9)[_0x3ac7c2(0x216)](([_0x230c1e,_0x4d188a])=>{const _0x1acb1b=_0x3ac7c2;_0x76e3b6[_0x1acb1b(0x224)][_0x1acb1b(0x227)](_0x1acb1b(0x203))[_0x1acb1b(0x217)]({'name':_0x230c1e,'observable':()=>_0x530e0d,'buttonViewCreator':()=>this[_0x1acb1b(0x212)](_0x4d188a),'formViewCreator':()=>this[_0x1acb1b(0x1fb)](_0x4d188a),'menuBarButtonViewCreator':()=>this[_0x1acb1b(0x1e4)](_0x4d188a),'override':_0x1acb1b(0x208)!==_0x230c1e});});}[_0x1d85e5(0x210)](){const _0x4f04b6=_0x1d85e5;super[_0x4f04b6(0x210)](),this[_0x4f04b6(0x1f3)]&&clearInterval(this[_0x4f04b6(0x1f3)]);}[_0x1d85e5(0x220)](_0x70f2c7){const _0x2f4b8a=_0x1d85e5,{locale:_0x4637c9}=this[_0x2f4b8a(0x20c)];return _0x70f2c7[_0x2f4b8a(0x1f2)](_0x21f8da=>{const _0x55f19b=_0x2f4b8a,_0x148f33=_0x1442bc(_0x4637c9,_0x21f8da,_0x55f19b(0x214));switch(_0x21f8da){case _0x54df2c[_0x55f19b(0x22e)]:return{'icon':_0xf799e8,'type':_0x54df2c[_0x55f19b(0x22e)],..._0x148f33};case _0x54df2c[_0x55f19b(0x1f8)]:return{'icon':_0x50ca44,'type':_0x54df2c[_0x55f19b(0x1f8)],..._0x148f33};case _0x54df2c[_0x55f19b(0x219)]:return{'icon':_0x5d7554,'type':_0x54df2c[_0x55f19b(0x219)],..._0x148f33};case _0x54df2c[_0x55f19b(0x206)]:return{'icon':_0x7dba8b,'type':_0x54df2c[_0x55f19b(0x206)],..._0x148f33};case _0x54df2c[_0x55f19b(0x1f9)]:return{'icon':_0x380673,'type':_0x54df2c[_0x55f19b(0x1f9)],..._0x148f33};case _0x54df2c[_0x55f19b(0x215)]:return{'icon':_0x5b0897,'type':_0x54df2c[_0x55f19b(0x215)],..._0x148f33};case _0x54df2c[_0x55f19b(0x229)]:return{'icon':_0x3e45d9,'type':_0x54df2c[_0x55f19b(0x229)],..._0x148f33};}});}[_0x1d85e5(0x1fd)](_0x164cc5){const _0x41395c=_0x1d85e5;switch(_0x164cc5){case _0x54df2c[_0x41395c(0x22e)]:return _0x41395c(0x20b);case _0x54df2c[_0x41395c(0x1f8)]:return _0x41395c(0x1e7);default:return _0x41395c(0x208);}}[_0x1d85e5(0x1ec)](_0x59a58b,_0x2d0fa0){const _0x1d902f=_0x1d85e5,_0x9cdd=this[_0x1d902f(0x20c)],_0x255bef=new _0x59a58b(_0x9cdd[_0x1d902f(0x1ef)]),_0x2f7bd9=_0x9cdd[_0x1d902f(0x226)][_0x1d902f(0x227)](_0x1d902f(0x1ff));return _0x255bef[_0x1d902f(0x223)](_0x1d902f(0x21e))['to'](_0x2f7bd9),_0x255bef['on'](_0x1d902f(0x1e3),()=>{const _0x5ea1a1=_0x1d902f;_0x2f7bd9[_0x5ea1a1(0x1e3)](_0x2d0fa0);}),_0x255bef;}[_0x1d85e5(0x212)](_0x202791){const _0x5ea03f=_0x1d85e5,{locale:_0x4ae0b8}=this[_0x5ea03f(0x20c)],_0x26b510=this[_0x5ea03f(0x20c)][_0x5ea03f(0x224)][_0x5ea03f(0x227)](_0x5ea03f(0x203)),_0x50d216=_0x202791[0x0],_0x6421fc=this[_0x5ea03f(0x1ec)](_0x5b42ae,_0x50d216[_0x5ea03f(0x22f)]);return _0x6421fc[_0x5ea03f(0x211)]=_0x50d216[_0x5ea03f(0x211)],_0x6421fc[_0x5ea03f(0x223)](_0x5ea03f(0x200))['to'](_0x26b510,_0x5ea03f(0x207),_0x3bb894=>_0x1442bc(_0x4ae0b8,_0x50d216[_0x5ea03f(0x22f)],_0x3bb894?_0x5ea03f(0x204):_0x5ea03f(0x214))[_0x5ea03f(0x218)]),_0x6421fc[_0x5ea03f(0x1f1)]=!0x0,_0x6421fc;}[_0x1d85e5(0x1fb)](_0x4d28d2){const _0x46f0f6=_0x1d85e5,{locale:_0x3557c7}=this[_0x46f0f6(0x20c)],_0x3512e6=this[_0x46f0f6(0x20c)][_0x46f0f6(0x224)][_0x46f0f6(0x227)](_0x46f0f6(0x203));return _0x4d28d2[_0x46f0f6(0x1f2)](_0x59eaf5=>{const _0x2821c1=_0x46f0f6,_0x1d87f7=this[_0x2821c1(0x1ec)](_0x5b42ae,_0x59eaf5[_0x2821c1(0x22f)]);return _0x1d87f7[_0x2821c1(0x21d)]=!0x0,_0x1d87f7[_0x2821c1(0x211)]=_0x59eaf5[_0x2821c1(0x211)],_0x1d87f7[_0x2821c1(0x223)](_0x2821c1(0x200))['to'](_0x3512e6,_0x2821c1(0x207),_0x4e0bf3=>_0x1442bc(_0x3557c7,_0x59eaf5[_0x2821c1(0x22f)],_0x4e0bf3?_0x2821c1(0x204):_0x2821c1(0x214))[_0x2821c1(0x218)]),_0x1d87f7;});}[_0x1d85e5(0x1e4)](_0x3dfb64){const _0x552aa1=_0x1d85e5;return _0x3dfb64[_0x552aa1(0x1f2)](_0x2183ca=>{const _0x391a89=_0x552aa1,_0x39fd59=this[_0x391a89(0x1ec)](_0x56c382,_0x2183ca[_0x391a89(0x22f)]);return _0x39fd59[_0x391a89(0x211)]=_0x2183ca[_0x391a89(0x211)],_0x39fd59[_0x391a89(0x200)]=_0x2183ca[_0x391a89(0x205)],_0x39fd59;});}}
23
+ const _0x23cbe1=_0x41cd;(function(_0xf69244,_0x511e8b){const _0x173eb5=_0x41cd,_0x16b16c=_0xf69244();while(!![]){try{const _0x264f24=-parseInt(_0x173eb5(0x1a0))/0x1+-parseInt(_0x173eb5(0x19b))/0x2*(-parseInt(_0x173eb5(0x164))/0x3)+-parseInt(_0x173eb5(0x18f))/0x4+-parseInt(_0x173eb5(0x161))/0x5*(-parseInt(_0x173eb5(0x19f))/0x6)+parseInt(_0x173eb5(0x172))/0x7*(parseInt(_0x173eb5(0x183))/0x8)+parseInt(_0x173eb5(0x15b))/0x9*(-parseInt(_0x173eb5(0x196))/0xa)+parseInt(_0x173eb5(0x18c))/0xb*(-parseInt(_0x173eb5(0x194))/0xc);if(_0x264f24===_0x511e8b)break;else _0x16b16c['push'](_0x16b16c['shift']());}catch(_0x2b496d){_0x16b16c['push'](_0x16b16c['shift']());}}}(_0x231e,0x94f57));import{Plugin as _0x1b3de1}from'ckeditor5/src/core.js';import{IconDropbox as _0xb973fe,IconFacebook as _0x52b8d9,IconGoogleDrive as _0x2a05eb,IconGooglePhotos as _0x438dc0,IconUploadcareImageUpload as _0x5a18f0,IconUploadcareLink as _0x15d3aa,IconOneDrive as _0x10dded}from'ckeditor5/src/icons.js';import{ButtonView as _0x11d056,MenuBarMenuListItemButtonView as _0xdccdc0}from'ckeditor5/src/ui.js';function _0x41cd(_0x5d1c78,_0x156f38){const _0x231e5a=_0x231e();return _0x41cd=function(_0x41cdcc,_0x3f7022){_0x41cdcc=_0x41cdcc-0x14f;let _0x5742f3=_0x231e5a[_0x41cdcc];return _0x5742f3;},_0x41cd(_0x5d1c78,_0x156f38);}import{UploadcareSource as _0x5f242c}from'./uploadcareconfig.js';import{getTranslation as _0x1a3987}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x231e(){const _0x4d86a1=['forEach','2324168ZLLcDz','_showLicenseError','trialLimit','_createMenuBarButtons','registerIntegration','771024cSfhOZ','isPremiumPlugin','6462970PoQDzv','Facebook','_createButton','OneDrive','uploadcareLicenseKeyDomainLimit','991588aJdzTg','isImageSelected','uploadcare.uploader.sourceList','config','408cGAFOe','403068nzTpsB','ImageInsertUI','text','invalid','evaluationLimit','type','Uploadcare','usageLimit','featureNotAllowed','uploadcareLicenseKeyNotAllowed','plugins','uploadcareLicenseKeyInvalid','editor','bind','9rtjgQn','_getIntegrationKey','expired','execute','label','UploadcareUI','75205GzbmwH','uploadcareLicenseKeyTrialLimit','pluginName','3zbhnlZ','url','upload','entries','GDrive','locale','assetManager','uploadcare','afterInit','Dropbox','icon','reduce','destroy','withText','28ZWtmoA','shortText','get','push','_createDropdownButtons','_createToolbarButton','domainLimit','tooltip','licenseKey','GPhotos','_normalizeConfigSourceList','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','init','isEnabled','uploadcareLicenseKeyValid','Local','1829432xVwCvk','URL','uploadcareLicenseKeyExpired','commands','has','uploadcareLicenseKeyEvaluationLimit','map','Replace','isOfficialPlugin','33NQNwBs','Insert'];_0x231e=function(){return _0x4d86a1;};return _0x231e();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1b3de1{[_0x23cbe1(0x17a)];[_0x23cbe1(0x17d)];static get[_0x23cbe1(0x163)](){const _0x42d932=_0x23cbe1;return _0x42d932(0x160);}static get[_0x23cbe1(0x18b)](){return!0x0;}static get[_0x23cbe1(0x195)](){return!0x0;}[_0x23cbe1(0x17f)](){const _0xeecd36=_0x23cbe1;this[_0xeecd36(0x17a)]=this[_0xeecd36(0x159)][_0xeecd36(0x19e)][_0xeecd36(0x174)](_0xeecd36(0x17a));const _0x350a04=this[_0xeecd36(0x159)];this[_0xeecd36(0x17d)]=setInterval(()=>{const _0x349657=_0xeecd36;let _0x5bd279;for(const _0x19fc48 in _0x350a04){const _0x3f2ad3=_0x19fc48,_0x3d1eaf=_0x350a04[_0x3f2ad3];if(_0x349657(0x181)==_0x3d1eaf||_0x349657(0x158)==_0x3d1eaf||_0x349657(0x185)==_0x3d1eaf||_0x349657(0x19a)==_0x3d1eaf||_0x349657(0x156)==_0x3d1eaf||_0x349657(0x188)==_0x3d1eaf||_0x349657(0x162)==_0x3d1eaf||_0x349657(0x17e)==_0x3d1eaf){delete _0x350a04[_0x3f2ad3],_0x5bd279=_0x3d1eaf,clearInterval(this[_0x349657(0x17d)]),this[_0x349657(0x17d)]=void 0x0;break;}}_0x349657(0x158)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x150)),_0x349657(0x185)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x15d)),_0x349657(0x19a)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x178)),_0x349657(0x156)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x155),_0x349657(0x153)),_0x349657(0x188)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x151)),_0x349657(0x162)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x191)),_0x349657(0x17e)==_0x5bd279&&_0x350a04[_0x349657(0x190)](_0x349657(0x154));},0x3e8);}[_0x23cbe1(0x16c)](){const _0x727954=_0x23cbe1,{editor:_0x498ec5}=this,_0x562a66=_0x498ec5[_0x727954(0x186)][_0x727954(0x174)](_0x727954(0x16b));if(!_0x562a66)return;const _0x378afc=this[_0x727954(0x17c)](_0x498ec5[_0x727954(0x19e)][_0x727954(0x174)](_0x727954(0x19d)))[_0x727954(0x16f)]((_0x499080,_0x5d4b96)=>{const _0x4bd31a=_0x727954,_0x2f6522=this[_0x4bd31a(0x15c)](_0x5d4b96[_0x4bd31a(0x152)]);return _0x499080[_0x2f6522]||(_0x499080[_0x2f6522]=[]),_0x499080[_0x2f6522][_0x4bd31a(0x175)](_0x5d4b96),_0x499080;},{});_0x498ec5[_0x727954(0x157)][_0x727954(0x187)](_0x727954(0x1a1))&&_0x498ec5[_0x727954(0x186)][_0x727954(0x174)](_0x727954(0x16b))&&Object[_0x727954(0x167)](_0x378afc)[_0x727954(0x18e)](([_0x2a879d,_0x1bbfb3])=>{const _0x5577f2=_0x727954;_0x498ec5[_0x5577f2(0x157)][_0x5577f2(0x174)](_0x5577f2(0x1a1))[_0x5577f2(0x193)]({'name':_0x2a879d,'observable':()=>_0x562a66,'buttonViewCreator':()=>this[_0x5577f2(0x177)](_0x1bbfb3),'formViewCreator':()=>this[_0x5577f2(0x176)](_0x1bbfb3),'menuBarButtonViewCreator':()=>this[_0x5577f2(0x192)](_0x1bbfb3),'override':_0x5577f2(0x16a)!==_0x2a879d});});}[_0x23cbe1(0x170)](){const _0x40c3a0=_0x23cbe1;super[_0x40c3a0(0x170)](),this[_0x40c3a0(0x17d)]&&clearInterval(this[_0x40c3a0(0x17d)]);}[_0x23cbe1(0x17c)](_0x3006ac){const _0x44bd79=_0x23cbe1,{locale:_0x233132}=this[_0x44bd79(0x159)];return _0x3006ac[_0x44bd79(0x189)](_0x5942b1=>{const _0x5da43c=_0x44bd79,_0x3a2446=_0x1a3987(_0x233132,_0x5942b1,_0x5da43c(0x18d));switch(_0x5942b1){case _0x5f242c[_0x5da43c(0x182)]:return{'icon':_0x5a18f0,'type':_0x5f242c[_0x5da43c(0x182)],..._0x3a2446};case _0x5f242c[_0x5da43c(0x184)]:return{'icon':_0x15d3aa,'type':_0x5f242c[_0x5da43c(0x184)],..._0x3a2446};case _0x5f242c[_0x5da43c(0x16d)]:return{'icon':_0xb973fe,'type':_0x5f242c[_0x5da43c(0x16d)],..._0x3a2446};case _0x5f242c[_0x5da43c(0x197)]:return{'icon':_0x52b8d9,'type':_0x5f242c[_0x5da43c(0x197)],..._0x3a2446};case _0x5f242c[_0x5da43c(0x168)]:return{'icon':_0x2a05eb,'type':_0x5f242c[_0x5da43c(0x168)],..._0x3a2446};case _0x5f242c[_0x5da43c(0x17b)]:return{'icon':_0x438dc0,'type':_0x5f242c[_0x5da43c(0x17b)],..._0x3a2446};case _0x5f242c[_0x5da43c(0x199)]:return{'icon':_0x10dded,'type':_0x5f242c[_0x5da43c(0x199)],..._0x3a2446};}});}[_0x23cbe1(0x15c)](_0x599bf5){const _0x34d431=_0x23cbe1;switch(_0x599bf5){case _0x5f242c[_0x34d431(0x182)]:return _0x34d431(0x166);case _0x5f242c[_0x34d431(0x184)]:return _0x34d431(0x165);default:return _0x34d431(0x16a);}}[_0x23cbe1(0x198)](_0x181aea,_0x5474f2){const _0x46b279=_0x23cbe1,_0x4a6094=this[_0x46b279(0x159)],_0x26ebdd=new _0x181aea(_0x4a6094[_0x46b279(0x169)]),_0x4e48bd=_0x4a6094[_0x46b279(0x186)][_0x46b279(0x174)](_0x46b279(0x16b));return _0x26ebdd[_0x46b279(0x15a)](_0x46b279(0x180))['to'](_0x4e48bd),_0x26ebdd['on'](_0x46b279(0x15e),()=>{const _0x1dc594=_0x46b279;_0x4e48bd[_0x1dc594(0x15e)](_0x5474f2);}),_0x26ebdd;}[_0x23cbe1(0x177)](_0x4eb7b9){const _0x3ca0c7=_0x23cbe1,{locale:_0x127158}=this[_0x3ca0c7(0x159)],_0x2ca690=this[_0x3ca0c7(0x159)][_0x3ca0c7(0x157)][_0x3ca0c7(0x174)](_0x3ca0c7(0x1a1)),_0x2d3540=_0x4eb7b9[0x0],_0xac4146=this[_0x3ca0c7(0x198)](_0x11d056,_0x2d3540[_0x3ca0c7(0x152)]);return _0xac4146[_0x3ca0c7(0x16e)]=_0x2d3540[_0x3ca0c7(0x16e)],_0xac4146[_0x3ca0c7(0x15a)](_0x3ca0c7(0x15f))['to'](_0x2ca690,_0x3ca0c7(0x19c),_0x388554=>_0x1a3987(_0x127158,_0x2d3540[_0x3ca0c7(0x152)],_0x388554?_0x3ca0c7(0x18a):_0x3ca0c7(0x18d))[_0x3ca0c7(0x14f)]),_0xac4146[_0x3ca0c7(0x179)]=!0x0,_0xac4146;}[_0x23cbe1(0x176)](_0x2d55a1){const _0x3d3575=_0x23cbe1,{locale:_0x5cb206}=this[_0x3d3575(0x159)],_0x469700=this[_0x3d3575(0x159)][_0x3d3575(0x157)][_0x3d3575(0x174)](_0x3d3575(0x1a1));return _0x2d55a1[_0x3d3575(0x189)](_0xf2e0bc=>{const _0xb0e3c0=_0x3d3575,_0x44a6fd=this[_0xb0e3c0(0x198)](_0x11d056,_0xf2e0bc[_0xb0e3c0(0x152)]);return _0x44a6fd[_0xb0e3c0(0x171)]=!0x0,_0x44a6fd[_0xb0e3c0(0x16e)]=_0xf2e0bc[_0xb0e3c0(0x16e)],_0x44a6fd[_0xb0e3c0(0x15a)](_0xb0e3c0(0x15f))['to'](_0x469700,_0xb0e3c0(0x19c),_0x283250=>_0x1a3987(_0x5cb206,_0xf2e0bc[_0xb0e3c0(0x152)],_0x283250?_0xb0e3c0(0x18a):_0xb0e3c0(0x18d))[_0xb0e3c0(0x14f)]),_0x44a6fd;});}[_0x23cbe1(0x192)](_0x11da24){const _0xbef30c=_0x23cbe1;return _0x11da24[_0xbef30c(0x189)](_0x189f2f=>{const _0x3ffa2e=_0xbef30c,_0x13720e=this[_0x3ffa2e(0x198)](_0xdccdc0,_0x189f2f[_0x3ffa2e(0x152)]);return _0x13720e[_0x3ffa2e(0x16e)]=_0x189f2f[_0x3ffa2e(0x16e)],_0x13720e[_0x3ffa2e(0x15f)]=_0x189f2f[_0x3ffa2e(0x173)],_0x13720e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x193651}from'ckeditor5/src/core.js';import{FileRepository as _0x11d055}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x552d00}from'./uploadcareediting.js';import{UploadUtils as _0x137530}from'./utils/uploadutils.js';import{getImageUrls as _0xb31d7d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x193651{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x11d055,_0x552d00];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x57b95f=this['editor'];if(!!!_0x57b95f['config']['get']('uploadcare'))return;_0x57b95f['plugins']['get'](_0x11d055)['createUploadAdapter']=_0x9eb395=>new A(_0x9eb395,_0x57b95f),_0x57b95f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4e5d47,{imageElement:_0x5eeaaa,data:_0x3bf2cb})=>{_0x57b95f['model']['change'](_0x36056d=>{_0x36056d['setAttribute']('uploadcareImageId',_0x3bf2cb['uploadcareImageId'],_0x5eeaaa);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x34f3d6,_0x59ac7a){this['loader']=_0x34f3d6,this['editor']=_0x59ac7a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x96a54c=this['editor']['config']['get']('uploadcare.pubkey'),_0x523855=await this['loader']['file'];return _0x137530['upload']({'file':_0x523855,'publicKey':_0x96a54c,'signal':this['controller']['signal'],'onProgress':_0x427ce5=>{_0x427ce5&&_0x427ce5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x427ce5['value']);}})['then'](async _0x102333=>{const {imageFallbackUrl:_0x26d476,imageSources:_0x7d421f}=_0xb31d7d(_0x102333['cdnUrl'],_0x102333['imageInfo']['width']);return{'uploadcareImageId':_0x102333['uuid'],'default':_0x26d476,'sources':_0x7d421f};})['catch'](()=>{const _0x5d5094=t('Cannot\x20upload\x20file:')+('\x20'+_0x523855['name']+'.');return Promise['reject'](_0x5d5094);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3d0313}from'ckeditor5/src/core.js';import{FileRepository as _0x3c8947}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x19af50}from'./uploadcareediting.js';import{UploadUtils as _0x1ed36a}from'./utils/uploadutils.js';import{getImageUrls as _0x538f02}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3d0313{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3c8947,_0x19af50];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x276f24=this['editor'];if(!!!_0x276f24['config']['get']('uploadcare'))return;_0x276f24['plugins']['get'](_0x3c8947)['createUploadAdapter']=_0x16cb6b=>new A(_0x16cb6b,_0x276f24),_0x276f24['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1f30c1,{imageElement:_0x324ed3,data:_0x9ac4ca})=>{_0x276f24['model']['change'](_0x478ba1=>{_0x478ba1['setAttribute']('uploadcareImageId',_0x9ac4ca['uploadcareImageId'],_0x324ed3);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x38e356,_0x538710){this['loader']=_0x38e356,this['editor']=_0x538710,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3c5e9a=this['editor']['config']['get']('uploadcare.pubkey'),_0x185c9c=await this['loader']['file'];return _0x1ed36a['upload']({'file':_0x185c9c,'publicKey':_0x3c5e9a,'signal':this['controller']['signal'],'onProgress':_0x3f0a04=>{_0x3f0a04&&_0x3f0a04['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3f0a04['value']);}})['then'](async _0x1035c8=>{const {imageFallbackUrl:_0x2aae31,imageSources:_0x10b7da}=_0x538f02(_0x1035c8['cdnUrl'],_0x1035c8['imageInfo']['width']);return{'uploadcareImageId':_0x1035c8['uuid'],'default':_0x2aae31,'sources':_0x10b7da};})['catch'](()=>{const _0x5cafd0=t('Cannot\x20upload\x20file:')+('\x20'+_0x185c9c['name']+'.');return Promise['reject'](_0x5cafd0);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x41b1cf}from'../uploadcareconfig.js';export function getTranslation(_0x417d6f,_0x4686f0,_0x367fd1){const t=_0x417d6f['t'],_0x333873=_0x417d6f['t'];switch(_0x4686f0){case _0x41b1cf['Local']:return{'text':_0x333873('Insert'===_0x367fd1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x333873('From\x20computer')};case _0x41b1cf['URL']:return{'text':'Insert'===_0x367fd1?_0x333873('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x333873('Via\x20URL')};case _0x41b1cf['Dropbox']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x41b1cf['Facebook']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x41b1cf['GDrive']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x41b1cf['GPhotos']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x41b1cf['OneDrive']:return{'text':t('Insert'===_0x367fd1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4686f0;}}
23
+ import{UploadcareSource as _0x5a4abe}from'../uploadcareconfig.js';export function getTranslation(_0x2acd9f,_0x13ab38,_0x309e41){const t=_0x2acd9f['t'],_0x58e2f6=_0x2acd9f['t'];switch(_0x13ab38){case _0x5a4abe['Local']:return{'text':_0x58e2f6('Insert'===_0x309e41?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x58e2f6('From\x20computer')};case _0x5a4abe['URL']:return{'text':'Insert'===_0x309e41?_0x58e2f6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x58e2f6('Via\x20URL')};case _0x5a4abe['Dropbox']:return{'text':t('Insert'===_0x309e41?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5a4abe['Facebook']:return{'text':t('Insert'===_0x309e41?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5a4abe['GDrive']:return{'text':t('Insert'===_0x309e41?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5a4abe['GPhotos']:return{'text':t('Insert'===_0x309e41?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5a4abe['OneDrive']:return{'text':t('Insert'===_0x309e41?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x13ab38;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x43d9c7=_0x5c1e;function _0x5c1e(_0x207b71,_0x228837){var _0x1be614=_0x1be6();return _0x5c1e=function(_0x5c1e30,_0x44acd0){_0x5c1e30=_0x5c1e30-0x1d4;var _0x3c0fd8=_0x1be614[_0x5c1e30];return _0x3c0fd8;},_0x5c1e(_0x207b71,_0x228837);}(function(_0x28fc04,_0x17c241){var _0x2c0f3e=_0x5c1e,_0x1ec927=_0x28fc04();while(!![]){try{var _0x129fe2=parseInt(_0x2c0f3e(0x1e2))/0x1+-parseInt(_0x2c0f3e(0x1e7))/0x2+-parseInt(_0x2c0f3e(0x1d8))/0x3*(parseInt(_0x2c0f3e(0x1e3))/0x4)+-parseInt(_0x2c0f3e(0x1e1))/0x5*(parseInt(_0x2c0f3e(0x1df))/0x6)+-parseInt(_0x2c0f3e(0x1e6))/0x7*(parseInt(_0x2c0f3e(0x1db))/0x8)+-parseInt(_0x2c0f3e(0x1d7))/0x9*(-parseInt(_0x2c0f3e(0x1dd))/0xa)+parseInt(_0x2c0f3e(0x1dc))/0xb*(parseInt(_0x2c0f3e(0x1d5))/0xc);if(_0x129fe2===_0x17c241)break;else _0x1ec927['push'](_0x1ec927['shift']());}catch(_0x3ec2e0){_0x1ec927['push'](_0x1ec927['shift']());}}}(_0x1be6,0x98795));import{FocusTracker as _0x120117}from'ckeditor5/src/utils.js';import{View as _0x34b97f,FocusCycler as _0x21ef22}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x34b97f{[_0x43d9c7(0x1da)];[_0x43d9c7(0x1e4)];constructor(_0x7b0dbc){var _0x205fc5=_0x43d9c7;super(_0x7b0dbc),this[_0x205fc5(0x1da)]=new _0x120117(),this[_0x205fc5(0x1e4)]=new _0x21ef22({'focusables':this[_0x205fc5(0x1e5)](),'focusTracker':this[_0x205fc5(0x1da)]});}[_0x43d9c7(0x1d6)](){var _0x2c9600=_0x43d9c7;return{'tag':_0x2c9600(0x1e8),'attributes':{'aria-hidden':_0x2c9600(0x1d4),'tabindex':'0'},'on':{'focus':this[_0x2c9600(0x1de)]['to'](()=>{var _0x548a59=_0x2c9600;this[_0x548a59(0x1e4)][_0x548a59(0x1e0)](_0x548a59(0x1d9));})}};}}function _0x1be6(){var _0x230448=['focusCycler','createCollection','45815IokCdd','1426634uwHsER','div','true','4596Qpbbmf','getFocusableElement','9KYgCTf','3SuYJtS','forwardCycle','focusTracker','1224WTconS','83677JmDxhA','5560770dTpnCv','bindTemplate','394122ShrXOR','fire','95PgHYer','577038YLqjND','1837232FdqEOd'];_0x1be6=function(){return _0x230448;};return _0x1be6();}
23
+ var _0x26cd5c=_0x206e;(function(_0x441529,_0x57cefc){var _0x484e18=_0x206e,_0x2f0f2b=_0x441529();while(!![]){try{var _0x25c33b=parseInt(_0x484e18(0x1da))/0x1+-parseInt(_0x484e18(0x1e8))/0x2*(-parseInt(_0x484e18(0x1e7))/0x3)+-parseInt(_0x484e18(0x1e2))/0x4+parseInt(_0x484e18(0x1e5))/0x5*(parseInt(_0x484e18(0x1e4))/0x6)+-parseInt(_0x484e18(0x1de))/0x7*(-parseInt(_0x484e18(0x1d8))/0x8)+parseInt(_0x484e18(0x1e1))/0x9*(-parseInt(_0x484e18(0x1ea))/0xa)+-parseInt(_0x484e18(0x1d9))/0xb;if(_0x25c33b===_0x57cefc)break;else _0x2f0f2b['push'](_0x2f0f2b['shift']());}catch(_0xe8e4bd){_0x2f0f2b['push'](_0x2f0f2b['shift']());}}}(_0x1a5d,0x5b2e1));function _0x1a5d(){var _0x2130b3=['745132qwDEEE','fire','124770emGouC','150ZErHRa','createCollection','11829KBIAnJ','310tHgHbB','div','260QinAXf','focusTracker','2769672bUVkNK','11646217LMTSng','48251mAzVdm','forwardCycle','true','getFocusableElement','7uXbSEt','bindTemplate','focusCycler','3798BMOGje'];_0x1a5d=function(){return _0x2130b3;};return _0x1a5d();}import{FocusTracker as _0x42bfca}from'ckeditor5/src/utils.js';import{View as _0x3349dc,FocusCycler as _0x140293}from'ckeditor5/src/ui.js';function _0x206e(_0x5a2a78,_0x9abdde){var _0x1a5d77=_0x1a5d();return _0x206e=function(_0x206e2f,_0x678f39){_0x206e2f=_0x206e2f-0x1d7;var _0x50e4d6=_0x1a5d77[_0x206e2f];return _0x50e4d6;},_0x206e(_0x5a2a78,_0x9abdde);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3349dc{[_0x26cd5c(0x1d7)];[_0x26cd5c(0x1e0)];constructor(_0xa5e6f6){var _0x27ab91=_0x26cd5c;super(_0xa5e6f6),this[_0x27ab91(0x1d7)]=new _0x42bfca(),this[_0x27ab91(0x1e0)]=new _0x140293({'focusables':this[_0x27ab91(0x1e6)](),'focusTracker':this[_0x27ab91(0x1d7)]});}[_0x26cd5c(0x1dd)](){var _0xf9518b=_0x26cd5c;return{'tag':_0xf9518b(0x1e9),'attributes':{'aria-hidden':_0xf9518b(0x1dc),'tabindex':'0'},'on':{'focus':this[_0xf9518b(0x1df)]['to'](()=>{var _0x31f29e=_0xf9518b;this[_0x31f29e(0x1e0)][_0x31f29e(0x1e3)](_0x31f29e(0x1db));})}};}}