@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250825.0 → 0.0.0-nightly-20250826.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
- function _0x4329(_0x114b52,_0x5be498){const _0x44ed88=_0x44ed();return _0x4329=function(_0x432975,_0x191804){_0x432975=_0x432975-0x184;let _0x3744df=_0x44ed88[_0x432975];return _0x3744df;},_0x4329(_0x114b52,_0x5be498);}const _0x266ee0=_0x4329;(function(_0x593d97,_0x33a001){const _0x1c2e60=_0x4329,_0x363f00=_0x593d97();while(!![]){try{const _0x58f651=-parseInt(_0x1c2e60(0x187))/0x1+parseInt(_0x1c2e60(0x1bc))/0x2*(parseInt(_0x1c2e60(0x184))/0x3)+parseInt(_0x1c2e60(0x193))/0x4*(parseInt(_0x1c2e60(0x1c1))/0x5)+-parseInt(_0x1c2e60(0x1ab))/0x6*(-parseInt(_0x1c2e60(0x1c7))/0x7)+-parseInt(_0x1c2e60(0x1c2))/0x8*(parseInt(_0x1c2e60(0x186))/0x9)+-parseInt(_0x1c2e60(0x1cc))/0xa+parseInt(_0x1c2e60(0x1a8))/0xb;if(_0x58f651===_0x33a001)break;else _0x363f00['push'](_0x363f00['shift']());}catch(_0x569fff){_0x363f00['push'](_0x363f00['shift']());}}}(_0x44ed,0xc5957));import{Plugin as _0x202095}from'ckeditor5/src/core.js';import{Dialog as _0x162fd0}from'ckeditor5/src/ui.js';import{createElement as _0x4580e8,global as _0x333496,uid as _0x12626e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2edd42}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2d127f}from'./uploadcareuploadadapter.js';function _0x44ed(){const _0x9dbc09=['ctxElement','execute','appendChild','uc-config','replaceImageSource','uploadcare.uploader','1093066dMzTCu','isOfficialPlugin','isPremiumPlugin','_ctxElement','selection','365JAterS','2928uWJRJa','isRegistered','#uc-icon-arrow-down','requires','config','259zZYUnU','ucContextId','imageBlock','removeAttribute','document','10869780wIopLI','_initConfig','map','view','get','add','join','listenTo','commands','once','init','iconHrefResolver','input[uploadcare-file-input]','uploadcare.pubkey','3AppPhV','extend','37404AtpMqf','748244EZwxUy','uploader-','render','imageInline','querySelector','cleanupImage','_initConversion','UploadcareEditing','elementToAttribute','afterInit','fromCharCode','data-uc-image-id','85456FNdRAp','remove','insertImage','contentLanguage','for','editor','locale','\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','model','body','PictureEditing','upcast','destroy','uploadcare','pluginName','uploadcareImageReplace','schema','configElement','_initImageProcessingIndicator','getSelectedElement','closeMax','18457285DnAArN','_configElement','uploadcareImageId','61878KyJPTc','_initCtx','editing','_initSchema','true','downcast','attributeToAttribute','href','getAttribute','uc-upload-ctx-provider','conversion'];_0x44ed=function(){return _0x9dbc09;};return _0x44ed();}import{showImageProcessingIndicator as _0x4677bf}from'./utils/editingutils.js';export class UploadcareEditing extends _0x202095{[_0x266ee0(0x1a9)]=null;[_0x266ee0(0x1bf)]=null;static get[_0x266ee0(0x1a1)](){const _0x56e46d=_0x266ee0;return _0x56e46d(0x18e);}static get[_0x266ee0(0x1c5)](){const _0x3e327c=_0x266ee0;return[_0x3e327c(0x19d),_0x2d127f,_0x162fd0];}static get[_0x266ee0(0x1bd)](){return!0x0;}static get[_0x266ee0(0x1be)](){return!0x0;}[_0x266ee0(0x1c8)];get[_0x266ee0(0x1a4)](){const _0x1402c4=_0x266ee0;return this[_0x1402c4(0x1a9)];}get[_0x266ee0(0x1b6)](){const _0x219aff=_0x266ee0;return this[_0x219aff(0x1bf)];}constructor(_0x2b624e){const _0x1a5f05=_0x266ee0;super(_0x2b624e),this[_0x1a5f05(0x1c8)]=_0x12626e();}[_0x266ee0(0x1d6)](){const _0x264bfd=_0x266ee0,_0xe275ff=this[_0x264bfd(0x198)];_0xe275ff[_0x264bfd(0x1d4)][_0x264bfd(0x1d1)](_0x264bfd(0x1a0),new _0x2edd42(_0xe275ff));}[_0x266ee0(0x190)](){const _0x2b0ea4=_0x266ee0;this[_0x2b0ea4(0x1ae)](),this[_0x2b0ea4(0x18d)](),this[_0x2b0ea4(0x1cd)](),this[_0x2b0ea4(0x1ac)](),this[_0x2b0ea4(0x1a5)](),this[_0x2b0ea4(0x1d3)](this[_0x2b0ea4(0x198)],_0x2b0ea4(0x19f),()=>{const _0x17dca9=_0x2b0ea4;this[_0x17dca9(0x1a9)]&&(this[_0x17dca9(0x1a9)][_0x17dca9(0x194)](),this[_0x17dca9(0x1a9)]=null),this[_0x17dca9(0x1bf)]&&(this[_0x17dca9(0x1bf)][_0x17dca9(0x194)](),this[_0x17dca9(0x1bf)]=null);const _0x3fcec7=_0x333496[_0x17dca9(0x1cb)][_0x17dca9(0x18b)](_0x17dca9(0x1d8));_0x3fcec7&&_0x3fcec7[_0x17dca9(0x194)]();}),async function(_0x1b5802){const _0x14eefa=_0x9eea5b([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x45391a=0x3d8d0df,_0x40942e=0x3dfa1a7^_0x45391a,_0x31d089=window[_0x9eea5b([0x44,0x61,0x74,0x65])][_0x9eea5b([0x6e,0x6f,0x77])](),_0x315cf7=_0x1b5802[_0x9eea5b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x388bb5=new window[(_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c1b11=>{_0x315cf7[_0x9eea5b([0x6f,0x6e,0x63,0x65])](_0x9eea5b([0x72,0x65,0x61,0x64,0x79]),_0x4c1b11);}),_0x208881={[_0x9eea5b([0x6b,0x74,0x79])]:_0x9eea5b([0x45,0x43]),[_0x9eea5b([0x75,0x73,0x65])]:_0x9eea5b([0x73,0x69,0x67]),[_0x9eea5b([0x63,0x72,0x76])]:_0x9eea5b([0x50,0x2d,0x32,0x35,0x36]),[_0x9eea5b([0x78])]:_0x9eea5b([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]),[_0x9eea5b([0x79])]:_0x9eea5b([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]),[_0x9eea5b([0x61,0x6c,0x67])]:_0x9eea5b([0x45,0x53,0x32,0x35,0x36])},_0x2af6f4=_0x315cf7[_0x9eea5b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9eea5b([0x67,0x65,0x74])](_0x9eea5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e925f(){let _0x2dc88a,_0x307f66=null,_0x174657=null;try{if(_0x2af6f4==_0x9eea5b([0x47,0x50,0x4c]))return _0x9eea5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2dc88a=_0x10c172(),!_0x2dc88a)return _0x9eea5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2dc88a[_0x9eea5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x174657=_0x3e9c38(_0x2dc88a[_0x9eea5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2dc88a[_0x9eea5b([0x6a,0x74,0x69])])),await _0x537000()?_0x275e63()?_0x520edd()?_0x9eea5b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25f4bb()?(_0x2dc88a[_0x9eea5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9eea5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x307f66=_0x242597(_0x9eea5b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2dc88a[_0x9eea5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9eea5b([0x74,0x72,0x69,0x61,0x6c])&&(_0x307f66=_0x242597(_0x9eea5b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2458f2()):_0x9eea5b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9eea5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9eea5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9eea5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x520edd(){const _0x53c010=[_0x9eea5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9eea5b([0x74,0x72,0x69,0x61,0x6c])][_0x9eea5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc88a[_0x9eea5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31d089/0x3e8:0xe10*_0x40942e;return _0x2dc88a[_0x9eea5b([0x65,0x78,0x70])]<_0x53c010;}function _0x275e63(){const _0x56f803=_0x2dc88a[_0x9eea5b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56f803&&(!!_0x56f803[_0x9eea5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9eea5b([0x2a]))||!!_0x56f803[_0x9eea5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9eea5b([0x55,0x50,0x4c,0x43])));}function _0x25f4bb(){const _0x37c26e=_0x4329,_0x297bd4=_0x2dc88a[_0x9eea5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x297bd4||0x0==_0x297bd4[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25748a}=new URL(window[_0x9eea5b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x37c26e(0x1b2)]);if(_0x297bd4[_0x9eea5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25748a))return!0x0;const _0x3f50af=_0x25748a[_0x9eea5b([0x73,0x70,0x6c,0x69,0x74])](_0x9eea5b([0x2e]));return _0x297bd4[_0x9eea5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29f484=>_0x29f484[_0x9eea5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9eea5b([0x2a])))[_0x9eea5b([0x6d,0x61,0x70])](_0x4384b8=>_0x4384b8[_0x9eea5b([0x73,0x70,0x6c,0x69,0x74])](_0x9eea5b([0x2e])))[_0x9eea5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x329bb9=>_0x329bb9[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f50af[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9eea5b([0x6d,0x61,0x70])](_0x42aae7=>Array(_0x3f50af[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42aae7[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9eea5b([0x66,0x69,0x6c,0x6c])](_0x42aae7[0x0]===_0x9eea5b([0x2a])?_0x9eea5b([0x2a]):'')[_0x9eea5b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42aae7))[_0x9eea5b([0x73,0x6f,0x6d,0x65])](_0xa93200=>_0x3f50af[_0x9eea5b([0x65,0x76,0x65,0x72,0x79])]((_0x3d3a19,_0xa88f43)=>_0xa93200[_0xa88f43]===_0x3d3a19||_0xa93200[_0xa88f43]===_0x9eea5b([0x2a])));}function _0x2458f2(){return _0x307f66&&_0x174657?new window[(_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x562721,_0x4e3654)=>{_0x307f66[_0x9eea5b([0x74,0x68,0x65,0x6e])](_0x562721,_0x4e3654),_0x174657[_0x9eea5b([0x74,0x68,0x65,0x6e])](_0x2a733b=>{_0x2a733b!=_0x9eea5b([0x56,0x61,0x6c,0x69,0x64])&&_0x562721(_0x2a733b);},_0x4e3654);}):_0x307f66||_0x174657||_0x9eea5b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e9c38(_0x9aa2ba,_0x3c03db){return new window[(_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5238a4=>{if(_0x52471b())return _0x5238a4(_0x9eea5b([0x56,0x61,0x6c,0x69,0x64]));_0x55d93e(),_0x315cf7[_0x9eea5b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9eea5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fa6ea=!0x1;const _0x41ebba=_0x12626e();function _0x2391ab(_0x5a2a94){return!!_0x5a2a94&&(typeof _0x5a2a94===_0x9eea5b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a2a94===_0x9eea5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a2a94[_0x9eea5b([0x74,0x68,0x65,0x6e])]===_0x9eea5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a2a94[_0x9eea5b([0x63,0x61,0x74,0x63,0x68])]===_0x9eea5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a813a(_0x4e93ad){_0x25150c(_0x4e93ad)[_0x9eea5b([0x74,0x68,0x65,0x6e])](_0x2cc89f=>{if(!_0x2cc89f||_0x2cc89f[_0x9eea5b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9eea5b([0x6f,0x6b]))return _0x9eea5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181bef(_0x14efdf(_0x41ebba+_0x3c03db))!=_0x2cc89f[_0x9eea5b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9eea5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9eea5b([0x56,0x61,0x6c,0x69,0x64]);})[_0x9eea5b([0x74,0x68,0x65,0x6e])](_0x339ff9=>(_0x2a8b6d(),_0x339ff9),()=>{const _0x1b104d=_0x218607();return null==_0x1b104d?(_0x2a8b6d(),_0x9eea5b([0x56,0x61,0x6c,0x69,0x64])):_0x9eea5b(_0x31d089-_0x1b104d>(0x27d454df^_0x45391a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9eea5b([0x74,0x68,0x65,0x6e])](_0x5238a4)[_0x9eea5b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5238a4(_0x9eea5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44f428=0x3ee3e5f^_0x45391a;function _0x2a8b6d(){const _0x4ae5a7=_0x9eea5b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181bef(_0x14efdf(_0x9aa2ba)),_0x4e54ec=_0x33dd14(_0x181bef(window[_0x9eea5b([0x4d,0x61,0x74,0x68])][_0x9eea5b([0x63,0x65,0x69,0x6c])](_0x31d089/_0x44f428)));window[_0x9eea5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9eea5b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ae5a7,_0x4e54ec);}function _0x218607(){const _0xc0c80=_0x9eea5b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181bef(_0x14efdf(_0x9aa2ba)),_0x474170=window[_0x9eea5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9eea5b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc0c80);return _0x474170?window[_0x9eea5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33dd14(_0x474170),0x10)*_0x44f428:null;}function _0x25150c(_0x1465c1){return new window[(_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56313f,_0x3d4a1d)=>{_0x1465c1[_0x9eea5b([0x74,0x68,0x65,0x6e])](_0x56313f,_0x3d4a1d),window[_0x9eea5b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d4a1d,0x3d9041f^_0x45391a);});}}_0x315cf7[_0x9eea5b([0x6f,0x6e])](_0x9eea5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49066a,_0x57768b)=>{if(_0x57768b[0x0]!=_0x9aa2ba)return _0x5238a4(_0x9eea5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57768b[0x1]={..._0x57768b[0x1],[_0x9eea5b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41ebba};},{[_0x9eea5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9eea5b([0x68,0x69,0x67,0x68])}),_0x315cf7[_0x9eea5b([0x6f,0x6e])](_0x9eea5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x553900=>{_0x2391ab(_0x553900[_0x9eea5b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fa6ea=!0x0,_0x2a813a(_0x553900[_0x9eea5b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9eea5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9eea5b([0x6c,0x6f,0x77])}),_0x388bb5[_0x9eea5b([0x74,0x68,0x65,0x6e])](()=>{_0x2fa6ea||_0x5238a4(_0x9eea5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52471b(){return _0x315cf7[_0x9eea5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9eea5b([0x76,0x69,0x65,0x77])][_0x9eea5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9eea5b([0x61,0x75,0x74,0x6f]);}function _0x55d93e(){_0x315cf7[_0x9eea5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9eea5b([0x76,0x69,0x65,0x77])][_0x9eea5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9eea5b([0x61,0x75,0x74,0x6f]);}}function _0x242597(_0x24392d){const _0x577e45=[new window[(_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ef0c5=>setTimeout(_0x5ef0c5,0x3d1ee13^_0x45391a)),_0x388bb5[_0x9eea5b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7820f8=>{let _0x38264d=0x0;_0x315cf7[_0x9eea5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x9eea5b([0x6f,0x6e])](_0x9eea5b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f0100,_0x557173)=>{_0x557173[0x0][_0x9eea5b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38264d++,_0x38264d==(0x3d8d127^_0x45391a)&&(_0x7820f8(),_0x1f0100[_0x9eea5b([0x6f,0x66,0x66])]());});}))];return window[_0x9eea5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9eea5b([0x72,0x61,0x63,0x65])](_0x577e45)[_0x9eea5b([0x74,0x68,0x65,0x6e])](()=>_0x24392d);}async function _0x305f8a(){await _0x388bb5,_0x315cf7[_0x9eea5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x9eea5b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x124915,_0x315cf7[_0x9eea5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x9eea5b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x124915,_0x315cf7[_0x9eea5b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9eea5b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d3810(_0x531d6a){const _0x663e12=_0x414530();_0x315cf7[_0x663e12]=_0x9eea5b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x531d6a,_0x531d6a!=_0x9eea5b([0x56,0x61,0x6c,0x69,0x64])&&_0x305f8a();}function _0x414530(){const _0x4f30c4=window[_0x9eea5b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9eea5b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9eea5b([0x6e,0x6f,0x77])]())[_0x9eea5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9eea5b([0x2e]),'');let _0x33d9de=_0x9eea5b([0x52]);for(let _0x3d2825=0x0;_0x3d2825<_0x4f30c4[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d2825+=0x2){let _0x491f7d=window[_0x9eea5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f30c4[_0x9eea5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d2825,_0x3d2825+0x2));_0x491f7d>=_0x14eefa[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x491f7d-=_0x14eefa[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33d9de+=_0x14eefa[_0x491f7d];}return _0x33d9de;}function _0x10c172(){const _0x5c81d4=_0x2af6f4[_0x9eea5b([0x73,0x70,0x6c,0x69,0x74])](_0x9eea5b([0x2e]));if(0x3!=_0x5c81d4[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3980ef(_0x5c81d4[0x1]);function _0x3980ef(_0x10d12b){const _0x58ca75=_0x1f321b(_0x10d12b);return _0x58ca75&&_0x56eab5()?_0x58ca75:null;function _0x56eab5(){const _0x1ccfdc=_0x58ca75[_0x9eea5b([0x6a,0x74,0x69])],_0x22cb4b=window[_0x9eea5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ccfdc[_0x9eea5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ccfdc[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ae304={..._0x58ca75,[_0x9eea5b([0x6a,0x74,0x69])]:_0x1ccfdc[_0x9eea5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ccfdc[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ae304[_0x9eea5b([0x76,0x63])],_0x14efdf(_0x2ae304)==_0x22cb4b;}}}async function _0x537000(){let _0x58acf3=!0x0;try{const _0xa7150e=_0x2af6f4[_0x9eea5b([0x73,0x70,0x6c,0x69,0x74])](_0x9eea5b([0x2e])),[_0xae26b4,_0x26ade4,_0x19b5db]=_0xa7150e;return _0x1ee9ce(_0xae26b4),await _0x57c97b(_0xae26b4,_0x26ade4,_0x19b5db),_0x58acf3;}catch{return!0x1;}function _0x1ee9ce(_0x16e31a){const _0x3d6212=_0x1f321b(_0x16e31a);_0x3d6212&&_0x3d6212[_0x9eea5b([0x61,0x6c,0x67])]==_0x9eea5b([0x45,0x53,0x32,0x35,0x36])||(_0x58acf3=!0x1);}async function _0x57c97b(_0x24f720,_0x583a57,_0x10e751){const _0x4a2e63=window[_0x9eea5b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9eea5b([0x66,0x72,0x6f,0x6d])](_0x1f2152(_0x10e751),_0x21f891=>_0x21f891[_0x9eea5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x118b8a=new window[(_0x9eea5b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9eea5b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x24f720+_0x9eea5b([0x2e])+_0x583a57),_0x46e2ef=window[_0x9eea5b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9eea5b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46e2ef)return;const _0x1fdebc=await _0x46e2ef[_0x9eea5b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9eea5b([0x6a,0x77,0x6b]),_0x208881,{[_0x9eea5b([0x6e,0x61,0x6d,0x65])]:_0x9eea5b([0x45,0x43,0x44,0x53,0x41]),[_0x9eea5b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9eea5b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9eea5b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46e2ef[_0x9eea5b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9eea5b([0x6e,0x61,0x6d,0x65])]:_0x9eea5b([0x45,0x43,0x44,0x53,0x41]),[_0x9eea5b([0x68,0x61,0x73,0x68])]:{[_0x9eea5b([0x6e,0x61,0x6d,0x65])]:_0x9eea5b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fdebc,_0x4a2e63,_0x118b8a)||(_0x58acf3=!0x1);}}function _0x1f321b(_0x562cff){return _0x562cff[_0x9eea5b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9eea5b([0x65,0x79]))?JSON[_0x9eea5b([0x70,0x61,0x72,0x73,0x65])](_0x1f2152(_0x562cff)):null;}function _0x1f2152(_0x50bcc6){return window[_0x9eea5b([0x61,0x74,0x6f,0x62])](_0x50bcc6[_0x9eea5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9eea5b([0x2b]))[_0x9eea5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9eea5b([0x2f])));}function _0x14efdf(_0x50a859){let _0x1dc34e=0x1505;function _0x2403b0(_0x2e7ad1){for(let _0x187366=0x0;_0x187366<_0x2e7ad1[_0x9eea5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x187366++){const _0x27e53c=_0x2e7ad1[_0x9eea5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x187366);_0x1dc34e=(_0x1dc34e<<0x5)+_0x1dc34e+_0x27e53c,_0x1dc34e&=_0x1dc34e;}}function _0x4a6b33(_0x109d49){Array[_0x9eea5b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x109d49)?_0x109d49[_0x9eea5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a6b33):_0x109d49&&typeof _0x109d49==_0x9eea5b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9eea5b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x109d49)[_0x9eea5b([0x73,0x6f,0x72,0x74])]()[_0x9eea5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f864b,_0x1413aa])=>{_0x2403b0(_0x4f864b),_0x4a6b33(_0x1413aa);}):_0x2403b0(window[_0x9eea5b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x109d49));}return _0x4a6b33(_0x50a859),_0x1dc34e>>>0x0;}function _0x181bef(_0xebb983){return _0xebb983[_0x9eea5b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9eea5b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9eea5b([0x30]));}function _0x33dd14(_0x59044a){return _0x59044a[_0x9eea5b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9eea5b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9eea5b([0x6a,0x6f,0x69,0x6e])]('');}function _0x124915(){}function _0x9eea5b(_0x26ce2f){const _0x5778e1=_0x4329;return _0x26ce2f[_0x5778e1(0x1ce)](_0x51fbe7=>String[_0x5778e1(0x191)](_0x51fbe7))[_0x5778e1(0x1d2)]('');}_0x4d3810(await _0x1e925f());}(this);}[_0x266ee0(0x1ae)](){const _0x46b317=_0x266ee0,_0x545dca=this[_0x46b317(0x198)][_0x46b317(0x19b)][_0x46b317(0x1a3)];_0x545dca[_0x46b317(0x1c3)](_0x46b317(0x1c9))&&_0x545dca[_0x46b317(0x185)](_0x46b317(0x1c9),{'allowAttributes':[_0x46b317(0x1aa)]}),_0x545dca[_0x46b317(0x1c3)](_0x46b317(0x18a))&&_0x545dca[_0x46b317(0x185)](_0x46b317(0x18a),{'allowAttributes':[_0x46b317(0x1aa)]});}[_0x266ee0(0x18d)](){const _0x59730e=_0x266ee0,_0x5cf149=this[_0x59730e(0x198)];_0x5cf149[_0x59730e(0x1b5)][_0x59730e(0x197)](_0x59730e(0x1b0))[_0x59730e(0x1b1)]({'model':_0x59730e(0x1aa),'view':_0x59730e(0x192)}),_0x5cf149[_0x59730e(0x1b5)][_0x59730e(0x197)](_0x59730e(0x19e))[_0x59730e(0x18f)]({'model':{'key':_0x59730e(0x1aa),'value':_0x678e93=>_0x678e93[_0x59730e(0x1b3)](_0x59730e(0x192))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5afadf=_0x5cf149[_0x59730e(0x1d4)][_0x59730e(0x1d0)](_0x59730e(0x1ba));_0x5afadf&&this[_0x59730e(0x1d3)](_0x5afadf,_0x59730e(0x18c),(_0x1e99a2,[_0x598ca7,_0x27be38])=>{const _0xff53fb=_0x59730e;_0x598ca7[_0xff53fb(0x1ca)](_0xff53fb(0x1aa),_0x27be38);});}[_0x266ee0(0x1cd)](){const _0x535326=_0x266ee0,_0x28e23c=this[_0x535326(0x198)][_0x535326(0x1c6)][_0x535326(0x1d0)](_0x535326(0x1bb))||{},_0x5a3c56=this[_0x535326(0x198)][_0x535326(0x1c6)][_0x535326(0x1d0)](_0x535326(0x1d9))||'';this[_0x535326(0x1a9)]=_0x4580e8(_0x333496[_0x535326(0x1cb)],_0x535326(0x1b9),{..._0x28e23c,'pubkey':_0x5a3c56,'ctx-name':_0x535326(0x188)+this[_0x535326(0x1c8)],'sourceList':'','imgOnly':_0x535326(0x1af),'removeCopyright':_0x535326(0x1af),'localeName':this[_0x535326(0x198)][_0x535326(0x199)][_0x535326(0x196)],'externalSourcesEmbedCss':_0x535326(0x19a)}),this[_0x535326(0x1a9)][_0x535326(0x1d7)]=_0x2aa38d=>{const _0x10dcb7=_0x535326;if(_0x10dcb7(0x1a7)==_0x2aa38d)return _0x10dcb7(0x1c4);},_0x333496[_0x535326(0x1cb)][_0x535326(0x19c)][_0x535326(0x1b8)](this[_0x535326(0x1a9)]);}[_0x266ee0(0x1ac)](){const _0x11f54e=_0x266ee0;this[_0x11f54e(0x1bf)]=_0x4580e8(_0x333496[_0x11f54e(0x1cb)],_0x11f54e(0x1b4),{'ctx-name':_0x11f54e(0x188)+this[_0x11f54e(0x1c8)]}),_0x333496[_0x11f54e(0x1cb)][_0x11f54e(0x19c)][_0x11f54e(0x1b8)](this[_0x11f54e(0x1bf)]);}[_0x266ee0(0x1a5)](){const _0x3f1318=_0x266ee0,_0x448563=this[_0x3f1318(0x198)][_0x3f1318(0x1d4)][_0x3f1318(0x1d0)](_0x3f1318(0x195));_0x448563&&this[_0x3f1318(0x1d3)](_0x448563,_0x3f1318(0x1b7),()=>{const _0x1021eb=_0x3f1318,_0x252b4b=this[_0x1021eb(0x198)][_0x1021eb(0x19b)][_0x1021eb(0x1cb)][_0x1021eb(0x1c0)][_0x1021eb(0x1a6)]();_0x252b4b&&_0x252b4b[_0x1021eb(0x1b3)](_0x1021eb(0x1aa))&&this[_0x1021eb(0x198)][_0x1021eb(0x1ad)][_0x1021eb(0x1cf)][_0x1021eb(0x1d5)](_0x1021eb(0x189),()=>{const _0x339d17=_0x1021eb;_0x4677bf(this[_0x339d17(0x198)],_0x252b4b);});});const _0x2b7bdf=this[_0x3f1318(0x198)][_0x3f1318(0x1d4)][_0x3f1318(0x1d0)](_0x3f1318(0x1a2));_0x2b7bdf&&this[_0x3f1318(0x1d3)](_0x2b7bdf,_0x3f1318(0x1b7),()=>{const _0x10f818=_0x3f1318,_0x42e2a6=this[_0x10f818(0x198)][_0x10f818(0x19b)][_0x10f818(0x1cb)][_0x10f818(0x1c0)][_0x10f818(0x1a6)]();_0x42e2a6&&_0x42e2a6[_0x10f818(0x1b3)](_0x10f818(0x1aa))&&this[_0x10f818(0x198)][_0x10f818(0x1ad)][_0x10f818(0x1cf)][_0x10f818(0x1d5)](_0x10f818(0x189),()=>{const _0x1bfbcc=_0x10f818;_0x4677bf(this[_0x1bfbcc(0x198)],_0x42e2a6);});});}}
23
+ const _0x352743=_0x2823;(function(_0x33b8f3,_0xa61102){const _0x2cb74f=_0x2823,_0x2377ac=_0x33b8f3();while(!![]){try{const _0x184899=parseInt(_0x2cb74f(0x191))/0x1*(parseInt(_0x2cb74f(0x198))/0x2)+-parseInt(_0x2cb74f(0x18f))/0x3+-parseInt(_0x2cb74f(0x1c1))/0x4+-parseInt(_0x2cb74f(0x1d7))/0x5+parseInt(_0x2cb74f(0x190))/0x6+parseInt(_0x2cb74f(0x197))/0x7+parseInt(_0x2cb74f(0x192))/0x8;if(_0x184899===_0xa61102)break;else _0x2377ac['push'](_0x2377ac['shift']());}catch(_0x8da0a8){_0x2377ac['push'](_0x2377ac['shift']());}}}(_0x4e39,0x637c9));import{Plugin as _0x2077e6}from'ckeditor5/src/core.js';import{Dialog as _0x130ade}from'ckeditor5/src/ui.js';import{createElement as _0x4f0d49,global as _0x1d6f82,uid as _0x24d462}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2399d6}from'./uploadcarecommand.js';function _0x4e39(){const _0x24d5b3=['href','imageInline','PictureEditing','input[uploadcare-file-input]','add','uploadcare.pubkey','getAttribute','removeAttribute','1188846zqyMxv','2597622VKWdYI','1CjhBKf','3706520YohbcO','pluginName','get','uploadcare','uploadcare.uploader','2854495IXSdSy','1364468PCacfG','requires','_initImageProcessingIndicator','_configElement','editing','iconHrefResolver','_initSchema','UploadcareEditing','for','contentLanguage','attributeToAttribute','uc-upload-ctx-provider','view','replaceImageSource','afterInit','isOfficialPlugin','#uc-icon-arrow-down','model','uploader-','remove','uc-config','_ctxElement','body','commands','map','ucContextId','destroy','isPremiumPlugin','cleanupImage','schema','getSelectedElement','document','isRegistered','downcast','_initConfig','insertImage','_initCtx','ctxElement','execute','fromCharCode','once','2818444NoTXMf','configElement','elementToAttribute','extend','uploadcareImageId','conversion','true','_initConversion','uploadcareImageReplace','selection','editor','locale','imageBlock','join','init','querySelector','\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','render','upcast','data-uc-image-id','config','appendChild','2389405UYRhEo','listenTo','closeMax'];_0x4e39=function(){return _0x24d5b3;};return _0x4e39();}function _0x2823(_0x55d745,_0x141ec2){const _0x4e3959=_0x4e39();return _0x2823=function(_0x2823fb,_0x102ea2){_0x2823fb=_0x2823fb-0x189;let _0x4f1e95=_0x4e3959[_0x2823fb];return _0x4f1e95;},_0x2823(_0x55d745,_0x141ec2);}import{UploadcareUploadAdapter as _0x55e88c}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x403854}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2077e6{[_0x352743(0x19b)]=null;[_0x352743(0x1ad)]=null;static get[_0x352743(0x193)](){const _0x1b845a=_0x352743;return _0x1b845a(0x19f);}static get[_0x352743(0x199)](){const _0x82628e=_0x352743;return[_0x82628e(0x189),_0x55e88c,_0x130ade];}static get[_0x352743(0x1a7)](){return!0x0;}static get[_0x352743(0x1b3)](){return!0x0;}[_0x352743(0x1b1)];get[_0x352743(0x1c2)](){const _0x870fe8=_0x352743;return this[_0x870fe8(0x19b)];}get[_0x352743(0x1bd)](){const _0x2c5968=_0x352743;return this[_0x2c5968(0x1ad)];}constructor(_0x10e066){const _0x434b4f=_0x352743;super(_0x10e066),this[_0x434b4f(0x1b1)]=_0x24d462();}[_0x352743(0x1cf)](){const _0x2aa446=_0x352743,_0x4a7d5b=this[_0x2aa446(0x1cb)];_0x4a7d5b[_0x2aa446(0x1af)][_0x2aa446(0x18b)](_0x2aa446(0x195),new _0x2399d6(_0x4a7d5b));}[_0x352743(0x1a6)](){const _0x108a81=_0x352743;this[_0x108a81(0x19e)](),this[_0x108a81(0x1c8)](),this[_0x108a81(0x1ba)](),this[_0x108a81(0x1bc)](),this[_0x108a81(0x19a)](),this[_0x108a81(0x1d8)](this[_0x108a81(0x1cb)],_0x108a81(0x1b2),()=>{const _0x2d80e9=_0x108a81;this[_0x2d80e9(0x19b)]&&(this[_0x2d80e9(0x19b)][_0x2d80e9(0x1ab)](),this[_0x2d80e9(0x19b)]=null),this[_0x2d80e9(0x1ad)]&&(this[_0x2d80e9(0x1ad)][_0x2d80e9(0x1ab)](),this[_0x2d80e9(0x1ad)]=null);const _0x5aa450=_0x1d6f82[_0x2d80e9(0x1b7)][_0x2d80e9(0x1d0)](_0x2d80e9(0x18a));_0x5aa450&&_0x5aa450[_0x2d80e9(0x1ab)]();}),async function(_0x5bdd0d){const _0x5e6852=_0x8c6017([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x2645c2=0x3d8d0df,_0x1821bc=0x3dfa14f^_0x2645c2,_0x4cf76c=window[_0x8c6017([0x44,0x61,0x74,0x65])][_0x8c6017([0x6e,0x6f,0x77])](),_0x14e27a=_0x5bdd0d[_0x8c6017([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44f2be=new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2af401=>{_0x14e27a[_0x8c6017([0x6f,0x6e,0x63,0x65])](_0x8c6017([0x72,0x65,0x61,0x64,0x79]),_0x2af401);}),_0x314f46={[_0x8c6017([0x6b,0x74,0x79])]:_0x8c6017([0x45,0x43]),[_0x8c6017([0x75,0x73,0x65])]:_0x8c6017([0x73,0x69,0x67]),[_0x8c6017([0x63,0x72,0x76])]:_0x8c6017([0x50,0x2d,0x32,0x35,0x36]),[_0x8c6017([0x78])]:_0x8c6017([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]),[_0x8c6017([0x79])]:_0x8c6017([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]),[_0x8c6017([0x61,0x6c,0x67])]:_0x8c6017([0x45,0x53,0x32,0x35,0x36])},_0x4ee010=_0x14e27a[_0x8c6017([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8c6017([0x67,0x65,0x74])](_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x125fde(){let _0x521aa0,_0x464a81=null,_0x57db1e=null;try{if(_0x4ee010==_0x8c6017([0x47,0x50,0x4c]))return _0x8c6017([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x521aa0=_0x18b378(),!_0x521aa0)return _0x8c6017([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x521aa0[_0x8c6017([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57db1e=_0x257053(_0x521aa0[_0x8c6017([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x521aa0[_0x8c6017([0x6a,0x74,0x69])])),await _0x45e828()?_0x146b09()?_0x2b9927()?_0x8c6017([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2d2bc0()?(_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8c6017([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x464a81=_0x3dabb1(_0x8c6017([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8c6017([0x74,0x72,0x69,0x61,0x6c])&&(_0x464a81=_0x3dabb1(_0x8c6017([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b4364()):_0x8c6017([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8c6017([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8c6017([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8c6017([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b9927(){const _0x3ef5c5=[_0x8c6017([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8c6017([0x74,0x72,0x69,0x61,0x6c])][_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4cf76c/0x3e8:0xe10*_0x1821bc;return _0x521aa0[_0x8c6017([0x65,0x78,0x70])]<_0x3ef5c5;}function _0x146b09(){const _0x2267b3=_0x521aa0[_0x8c6017([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2267b3&&(!!_0x2267b3[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c6017([0x2a]))||!!_0x2267b3[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c6017([0x55,0x50,0x4c,0x43])));}function _0x2d2bc0(){const _0x2ff729=_0x2823,_0x5df096=_0x521aa0[_0x8c6017([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5df096||0x0==_0x5df096[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c8ce3}=new URL(window[_0x8c6017([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ff729(0x1da)]);if(_0x5df096[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8ce3))return!0x0;const _0x150b07=_0x4c8ce3[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e]));return _0x5df096[_0x8c6017([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4becfd=>_0x4becfd[_0x8c6017([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8c6017([0x2a])))[_0x8c6017([0x6d,0x61,0x70])](_0x103f78=>_0x103f78[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e])))[_0x8c6017([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51a50c=>_0x51a50c[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x150b07[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8c6017([0x6d,0x61,0x70])](_0x3a7f24=>Array(_0x150b07[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a7f24[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8c6017([0x66,0x69,0x6c,0x6c])](_0x3a7f24[0x0]===_0x8c6017([0x2a])?_0x8c6017([0x2a]):'')[_0x8c6017([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a7f24))[_0x8c6017([0x73,0x6f,0x6d,0x65])](_0x3d3473=>_0x150b07[_0x8c6017([0x65,0x76,0x65,0x72,0x79])]((_0x3e3898,_0x189cac)=>_0x3d3473[_0x189cac]===_0x3e3898||_0x3d3473[_0x189cac]===_0x8c6017([0x2a])));}function _0x2b4364(){return _0x464a81&&_0x57db1e?new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cbb38,_0x39aa8b)=>{_0x464a81[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x1cbb38,_0x39aa8b),_0x57db1e[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x3e5607=>{_0x3e5607!=_0x8c6017([0x56,0x61,0x6c,0x69,0x64])&&_0x1cbb38(_0x3e5607);},_0x39aa8b);}):_0x464a81||_0x57db1e||_0x8c6017([0x56,0x61,0x6c,0x69,0x64]);}}function _0x257053(_0x444697,_0x52dafa){return new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216e8d=>{if(_0xd8e7c5())return _0x216e8d(_0x8c6017([0x56,0x61,0x6c,0x69,0x64]));_0x58dbb3(),_0x14e27a[_0x8c6017([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8c6017([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x297818=!0x1;const _0x9ad758=_0x24d462();function _0x25300f(_0x51980c){return!!_0x51980c&&(typeof _0x51980c===_0x8c6017([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51980c===_0x8c6017([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51980c[_0x8c6017([0x74,0x68,0x65,0x6e])]===_0x8c6017([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51980c[_0x8c6017([0x63,0x61,0x74,0x63,0x68])]===_0x8c6017([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f5a1e(_0x2bdfd8){_0x4655e0(_0x2bdfd8)[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x30295e=>{if(!_0x30295e||_0x30295e[_0x8c6017([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8c6017([0x6f,0x6b]))return _0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x381bf6(_0x462099(_0x9ad758+_0x52dafa))!=_0x30295e[_0x8c6017([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8c6017([0x56,0x61,0x6c,0x69,0x64]);})[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x4d716f=>(_0x28e0da(),_0x4d716f),()=>{const _0x5cec16=_0x500396();return null==_0x5cec16?(_0x28e0da(),_0x8c6017([0x56,0x61,0x6c,0x69,0x64])):_0x8c6017(_0x4cf76c-_0x5cec16>(0x27d454df^_0x2645c2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x216e8d)[_0x8c6017([0x63,0x61,0x74,0x63,0x68])](()=>{_0x216e8d(_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x177431=0x3ee3e5f^_0x2645c2;function _0x28e0da(){const _0x3d4890=_0x8c6017([0x6c,0x6c,0x63,0x74,0x2d])+_0x381bf6(_0x462099(_0x444697)),_0x89b1e8=_0x255a83(_0x381bf6(window[_0x8c6017([0x4d,0x61,0x74,0x68])][_0x8c6017([0x63,0x65,0x69,0x6c])](_0x4cf76c/_0x177431)));window[_0x8c6017([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8c6017([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d4890,_0x89b1e8);}function _0x500396(){const _0x3d1a9b=_0x8c6017([0x6c,0x6c,0x63,0x74,0x2d])+_0x381bf6(_0x462099(_0x444697)),_0x57f2ba=window[_0x8c6017([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8c6017([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d1a9b);return _0x57f2ba?window[_0x8c6017([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x255a83(_0x57f2ba),0x10)*_0x177431:null;}function _0x4655e0(_0xb5d07){return new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x261fe6,_0x4728c6)=>{_0xb5d07[_0x8c6017([0x74,0x68,0x65,0x6e])](_0x261fe6,_0x4728c6),window[_0x8c6017([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4728c6,0x3d9041f^_0x2645c2);});}}_0x14e27a[_0x8c6017([0x6f,0x6e])](_0x8c6017([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1723c5,_0x4861a1)=>{if(_0x4861a1[0x0]!=_0x444697)return _0x216e8d(_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4861a1[0x1]={..._0x4861a1[0x1],[_0x8c6017([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9ad758};},{[_0x8c6017([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8c6017([0x68,0x69,0x67,0x68])}),_0x14e27a[_0x8c6017([0x6f,0x6e])](_0x8c6017([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34bdcf=>{_0x25300f(_0x34bdcf[_0x8c6017([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x297818=!0x0,_0x2f5a1e(_0x34bdcf[_0x8c6017([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8c6017([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8c6017([0x6c,0x6f,0x77])}),_0x44f2be[_0x8c6017([0x74,0x68,0x65,0x6e])](()=>{_0x297818||_0x216e8d(_0x8c6017([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd8e7c5(){return _0x14e27a[_0x8c6017([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8c6017([0x76,0x69,0x65,0x77])][_0x8c6017([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8c6017([0x61,0x75,0x74,0x6f]);}function _0x58dbb3(){_0x14e27a[_0x8c6017([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8c6017([0x76,0x69,0x65,0x77])][_0x8c6017([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8c6017([0x61,0x75,0x74,0x6f]);}}function _0x3dabb1(_0x58b734){const _0x178989=[new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe5acf=>setTimeout(_0xbe5acf,0x3d1ee13^_0x2645c2)),_0x44f2be[_0x8c6017([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487064=>{let _0x318a85=0x0;_0x14e27a[_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c6017([0x6f,0x6e])](_0x8c6017([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x251820,_0x23af51)=>{_0x23af51[0x0][_0x8c6017([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x318a85++,_0x318a85==(0x3d8d127^_0x2645c2)&&(_0x487064(),_0x251820[_0x8c6017([0x6f,0x66,0x66])]());});}))];return window[_0x8c6017([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8c6017([0x72,0x61,0x63,0x65])](_0x178989)[_0x8c6017([0x74,0x68,0x65,0x6e])](()=>_0x58b734);}async function _0x4fdeaf(){await _0x44f2be,_0x14e27a[_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c6017([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2d5920,_0x14e27a[_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c])][_0x8c6017([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2d5920,_0x14e27a[_0x8c6017([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8c6017([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46c317(_0x33c7db){const _0x4a11fd=_0x55b48a();_0x14e27a[_0x4a11fd]=_0x8c6017([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33c7db,_0x33c7db!=_0x8c6017([0x56,0x61,0x6c,0x69,0x64])&&_0x4fdeaf();}function _0x55b48a(){const _0x295c33=window[_0x8c6017([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8c6017([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8c6017([0x6e,0x6f,0x77])]())[_0x8c6017([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8c6017([0x2e]),'');let _0xfb788a=_0x8c6017([0x52]);for(let _0x447fc6=0x0;_0x447fc6<_0x295c33[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x447fc6+=0x2){let _0x408208=window[_0x8c6017([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x295c33[_0x8c6017([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x447fc6,_0x447fc6+0x2));_0x408208>=_0x5e6852[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x408208-=_0x5e6852[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfb788a+=_0x5e6852[_0x408208];}return _0xfb788a;}function _0x18b378(){const _0x3d0e5f=_0x4ee010[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e]));if(0x3!=_0x3d0e5f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5caaca(_0x3d0e5f[0x1]);function _0x5caaca(_0x282430){const _0x4c3d38=_0x2c3baa(_0x282430);return _0x4c3d38&&_0x4238df()?_0x4c3d38:null;function _0x4238df(){const _0x5dfb6f=_0x4c3d38[_0x8c6017([0x6a,0x74,0x69])],_0x1cbe45=window[_0x8c6017([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dfb6f[_0x8c6017([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dfb6f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x318fd5={..._0x4c3d38,[_0x8c6017([0x6a,0x74,0x69])]:_0x5dfb6f[_0x8c6017([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dfb6f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x318fd5[_0x8c6017([0x76,0x63])],_0x462099(_0x318fd5)==_0x1cbe45;}}}async function _0x45e828(){let _0x28553a=!0x0;try{const _0xd7b695=_0x4ee010[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])](_0x8c6017([0x2e])),[_0x79b0a2,_0x4cb242,_0x2df9fa]=_0xd7b695;return _0x57cecd(_0x79b0a2),await _0xdc5d92(_0x79b0a2,_0x4cb242,_0x2df9fa),_0x28553a;}catch{return!0x1;}function _0x57cecd(_0x2304c0){const _0x373245=_0x2c3baa(_0x2304c0);_0x373245&&_0x373245[_0x8c6017([0x61,0x6c,0x67])]==_0x8c6017([0x45,0x53,0x32,0x35,0x36])||(_0x28553a=!0x1);}async function _0xdc5d92(_0x54878b,_0x45b7b7,_0x4c2d6c){const _0x81f0c8=window[_0x8c6017([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8c6017([0x66,0x72,0x6f,0x6d])](_0x2a9bd3(_0x4c2d6c),_0x47b861=>_0x47b861[_0x8c6017([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cbe1b=new window[(_0x8c6017([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8c6017([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54878b+_0x8c6017([0x2e])+_0x45b7b7),_0x126bc3=window[_0x8c6017([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8c6017([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x126bc3)return;const _0x3c99ab=await _0x126bc3[_0x8c6017([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8c6017([0x6a,0x77,0x6b]),_0x314f46,{[_0x8c6017([0x6e,0x61,0x6d,0x65])]:_0x8c6017([0x45,0x43,0x44,0x53,0x41]),[_0x8c6017([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8c6017([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8c6017([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x126bc3[_0x8c6017([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8c6017([0x6e,0x61,0x6d,0x65])]:_0x8c6017([0x45,0x43,0x44,0x53,0x41]),[_0x8c6017([0x68,0x61,0x73,0x68])]:{[_0x8c6017([0x6e,0x61,0x6d,0x65])]:_0x8c6017([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c99ab,_0x81f0c8,_0x3cbe1b)||(_0x28553a=!0x1);}}function _0x2c3baa(_0x4edfe4){return _0x4edfe4[_0x8c6017([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8c6017([0x65,0x79]))?JSON[_0x8c6017([0x70,0x61,0x72,0x73,0x65])](_0x2a9bd3(_0x4edfe4)):null;}function _0x2a9bd3(_0x32f5df){return window[_0x8c6017([0x61,0x74,0x6f,0x62])](_0x32f5df[_0x8c6017([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8c6017([0x2b]))[_0x8c6017([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8c6017([0x2f])));}function _0x462099(_0x38ec6a){let _0x111a1d=0x1505;function _0x332399(_0x2c064f){for(let _0x2b1500=0x0;_0x2b1500<_0x2c064f[_0x8c6017([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b1500++){const _0x258671=_0x2c064f[_0x8c6017([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b1500);_0x111a1d=(_0x111a1d<<0x5)+_0x111a1d+_0x258671,_0x111a1d&=_0x111a1d;}}function _0x4c5018(_0x3cdbb4){Array[_0x8c6017([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cdbb4)?_0x3cdbb4[_0x8c6017([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c5018):_0x3cdbb4&&typeof _0x3cdbb4==_0x8c6017([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8c6017([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cdbb4)[_0x8c6017([0x73,0x6f,0x72,0x74])]()[_0x8c6017([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x415922,_0x386f9b])=>{_0x332399(_0x415922),_0x4c5018(_0x386f9b);}):_0x332399(window[_0x8c6017([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cdbb4));}return _0x4c5018(_0x38ec6a),_0x111a1d>>>0x0;}function _0x381bf6(_0x2c8b97){return _0x2c8b97[_0x8c6017([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8c6017([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8c6017([0x30]));}function _0x255a83(_0x3e49b5){return _0x3e49b5[_0x8c6017([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8c6017([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8c6017([0x6a,0x6f,0x69,0x6e])]('');}function _0x2d5920(){}function _0x8c6017(_0x4f6984){const _0x599c4a=_0x2823;return _0x4f6984[_0x599c4a(0x1b0)](_0x24f122=>String[_0x599c4a(0x1bf)](_0x24f122))[_0x599c4a(0x1ce)]('');}_0x46c317(await _0x125fde());}(this);}[_0x352743(0x19e)](){const _0x1af1f7=_0x352743,_0x596e54=this[_0x1af1f7(0x1cb)][_0x1af1f7(0x1a9)][_0x1af1f7(0x1b5)];_0x596e54[_0x1af1f7(0x1b8)](_0x1af1f7(0x1cd))&&_0x596e54[_0x1af1f7(0x1c4)](_0x1af1f7(0x1cd),{'allowAttributes':[_0x1af1f7(0x1c5)]}),_0x596e54[_0x1af1f7(0x1b8)](_0x1af1f7(0x1db))&&_0x596e54[_0x1af1f7(0x1c4)](_0x1af1f7(0x1db),{'allowAttributes':[_0x1af1f7(0x1c5)]});}[_0x352743(0x1c8)](){const _0x187c38=_0x352743,_0x3cb02b=this[_0x187c38(0x1cb)];_0x3cb02b[_0x187c38(0x1c6)][_0x187c38(0x1a0)](_0x187c38(0x1b9))[_0x187c38(0x1a2)]({'model':_0x187c38(0x1c5),'view':_0x187c38(0x1d4)}),_0x3cb02b[_0x187c38(0x1c6)][_0x187c38(0x1a0)](_0x187c38(0x1d3))[_0x187c38(0x1c3)]({'model':{'key':_0x187c38(0x1c5),'value':_0x5619ca=>_0x5619ca[_0x187c38(0x18d)](_0x187c38(0x1d4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xa6535c=_0x3cb02b[_0x187c38(0x1af)][_0x187c38(0x194)](_0x187c38(0x1a5));_0xa6535c&&this[_0x187c38(0x1d8)](_0xa6535c,_0x187c38(0x1b4),(_0x27ebf3,[_0x137bed,_0x4697f1])=>{const _0x5e2ece=_0x187c38;_0x137bed[_0x5e2ece(0x18e)](_0x5e2ece(0x1c5),_0x4697f1);});}[_0x352743(0x1ba)](){const _0x2dff63=_0x352743,_0x27f2e3=this[_0x2dff63(0x1cb)][_0x2dff63(0x1d5)][_0x2dff63(0x194)](_0x2dff63(0x196))||{},_0x5b20cb=this[_0x2dff63(0x1cb)][_0x2dff63(0x1d5)][_0x2dff63(0x194)](_0x2dff63(0x18c))||'';this[_0x2dff63(0x19b)]=_0x4f0d49(_0x1d6f82[_0x2dff63(0x1b7)],_0x2dff63(0x1ac),{..._0x27f2e3,'pubkey':_0x5b20cb,'ctx-name':_0x2dff63(0x1aa)+this[_0x2dff63(0x1b1)],'sourceList':'','imgOnly':_0x2dff63(0x1c7),'removeCopyright':_0x2dff63(0x1c7),'localeName':this[_0x2dff63(0x1cb)][_0x2dff63(0x1cc)][_0x2dff63(0x1a1)],'externalSourcesEmbedCss':_0x2dff63(0x1d1)}),this[_0x2dff63(0x19b)][_0x2dff63(0x19d)]=_0x453866=>{const _0x2b70ea=_0x2dff63;if(_0x2b70ea(0x1d9)==_0x453866)return _0x2b70ea(0x1a8);},_0x1d6f82[_0x2dff63(0x1b7)][_0x2dff63(0x1ae)][_0x2dff63(0x1d6)](this[_0x2dff63(0x19b)]);}[_0x352743(0x1bc)](){const _0x5d2c8d=_0x352743;this[_0x5d2c8d(0x1ad)]=_0x4f0d49(_0x1d6f82[_0x5d2c8d(0x1b7)],_0x5d2c8d(0x1a3),{'ctx-name':_0x5d2c8d(0x1aa)+this[_0x5d2c8d(0x1b1)]}),_0x1d6f82[_0x5d2c8d(0x1b7)][_0x5d2c8d(0x1ae)][_0x5d2c8d(0x1d6)](this[_0x5d2c8d(0x1ad)]);}[_0x352743(0x19a)](){const _0x3b2ce5=_0x352743,_0x4463e2=this[_0x3b2ce5(0x1cb)][_0x3b2ce5(0x1af)][_0x3b2ce5(0x194)](_0x3b2ce5(0x1bb));_0x4463e2&&this[_0x3b2ce5(0x1d8)](_0x4463e2,_0x3b2ce5(0x1be),()=>{const _0x1c1927=_0x3b2ce5,_0x418a38=this[_0x1c1927(0x1cb)][_0x1c1927(0x1a9)][_0x1c1927(0x1b7)][_0x1c1927(0x1ca)][_0x1c1927(0x1b6)]();_0x418a38&&_0x418a38[_0x1c1927(0x18d)](_0x1c1927(0x1c5))&&this[_0x1c1927(0x1cb)][_0x1c1927(0x19c)][_0x1c1927(0x1a4)][_0x1c1927(0x1c0)](_0x1c1927(0x1d2),()=>{const _0x267a85=_0x1c1927;_0x403854(this[_0x267a85(0x1cb)],_0x418a38);});});const _0xd496cf=this[_0x3b2ce5(0x1cb)][_0x3b2ce5(0x1af)][_0x3b2ce5(0x194)](_0x3b2ce5(0x1c9));_0xd496cf&&this[_0x3b2ce5(0x1d8)](_0xd496cf,_0x3b2ce5(0x1be),()=>{const _0x2720a8=_0x3b2ce5,_0x5c1ccc=this[_0x2720a8(0x1cb)][_0x2720a8(0x1a9)][_0x2720a8(0x1b7)][_0x2720a8(0x1ca)][_0x2720a8(0x1b6)]();_0x5c1ccc&&_0x5c1ccc[_0x2720a8(0x18d)](_0x2720a8(0x1c5))&&this[_0x2720a8(0x1cb)][_0x2720a8(0x19c)][_0x2720a8(0x1a4)][_0x2720a8(0x1c0)](_0x2720a8(0x1d2),()=>{const _0x2ee25d=_0x2720a8;_0x403854(this[_0x2ee25d(0x1cb)],_0x5c1ccc);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1e0c02,ObservableMixin as _0x2812da}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x145e4e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4af101}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5164a1}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4ed8b1}from'../../utils/uploadutils.js';import{getImageUrls as _0x1afb7c,getImageDimension as _0x13cefe}from'../../utils/editingutils.js';import{isAncestor as _0x2983f9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x2812da(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1e4318,_0x517dd5,_0x48b0a3){super(),this['_editor']=_0x1e4318,this['_dialog']=_0x517dd5,this['_imageElement']=_0x48b0a3,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 _0x277109=this['_imageElement'],_0x4ccd1e=_0x277109['getAttribute']('uploadcareImageId'),_0x2d93ab=_0x277109['getAttribute']('src');if(_0x4ccd1e)await this['_loadImageInfo'](_0x4ccd1e,_0x2d93ab);else{if(this['_imageCache']['has'](_0x2d93ab)){const _0x1e1317=this['_imageCache']['get'](_0x2d93ab);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e1317['url'],this['imageDimension']=_0x1e1317['dimension'],this['imageId']=_0x1e1317['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2362fb}=this['_editor'],t=_0x2362fb['t'],_0x43aabf=new _0x5164a1(_0x2362fb,this['imageStatus'],this['_attributes']);_0x43aabf['bind']('status')['to'](this,'imageStatus'),_0x43aabf['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x43aabf['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x43aabf['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x43aabf,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4af101,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x43aabf,'position':_0x145e4e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x43aabf['focus']();},'onHide':()=>{_0x43aabf['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x298c83=>!_0x2983f9(_0x298c83,_0x43aabf['element'])}});}['_loadImageInfo'](_0x2c3b70,_0x4947a2){return _0x4ed8b1['getInfo'](_0x2c3b70,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x206805=>{const {width:_0x25aace,height:_0x58c786}=_0x206805['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4947a2,this['imageDimension']={'width':_0x25aace,'height':_0x58c786},this['imageId']=_0x2c3b70;})['catch'](_0xcd3a08=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xcd3a08['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2f8f4c,_0x411c35){return this['_getImageAsFile'](_0x2f8f4c)['then'](_0x27c374=>_0x4ed8b1['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x411c35['signal'],'file':_0x27c374,'onProgress':_0x1fbc27=>{_0x1fbc27&&_0x1fbc27['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1fbc27['value']));}}))['then'](_0x36dea9=>{const {width:_0x7faa92,height:_0x90bed7}=_0x36dea9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36dea9['cdnUrl'],this['imageDimension']={'width':_0x7faa92,'height':_0x90bed7},this['imageId']=_0x36dea9['uuid'],this['imageUploadProgress']=null;const _0x4fcc09=_0x2f8f4c['getAttribute']('src');this['_imageCache']['set'](_0x4fcc09,{'id':_0x36dea9['uuid'],'url':_0x36dea9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38522a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38522a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xff25bd,_0x108b77){_0xff25bd['on']('apply',(_0x422adb,_0x2d32ef)=>{this['_replaceImage'](_0x108b77,_0x2d32ef['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xff25bd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xff25bd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x55f278,_0x298937,_0x40383a){const _0x184ff9=this['_editor'],{width:_0x2fca11,height:_0x424b8a}=_0x13cefe(_0x298937,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x563960,imageSources:_0x57d429}=_0x1afb7c(_0x298937,_0x2fca11);_0x184ff9['model']['change'](_0x1362ab=>{if('$graveyard'===_0x55f278['root']['rootName']){_0x184ff9['execute']('insertImage',{'imageType':_0x55f278['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x55f278['getAttributes']()),'uploadcareImageId':_0x40383a,'src':_0x563960,'sources':_0x57d429,'width':_0x2fca11,'height':_0x424b8a}});const _0x2c8bc1=_0x55f278['getChildren']();_0x55f278=_0x184ff9['model']['document']['selection']['getSelectedElement']();for(const _0x377590 of _0x2c8bc1)_0x1362ab['append'](_0x1362ab['cloneElement'](_0x377590),_0x55f278);}else _0x1362ab['setSelection'](_0x55f278,'on'),_0x184ff9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x55f278['getAttributes']()),'uploadcareImageId':_0x40383a,'src':_0x563960,'sources':_0x57d429,'width':_0x2fca11,'height':_0x424b8a},_0x55f278);_0x1362ab['setSelection'](_0x55f278,'on');});}async['_getImageAsFile'](_0x398822){const _0x327162=_0x1e0c02['window'],_0x39b7be=_0x1e0c02['document']['location']['href'],_0x2c4d21=new _0x327162['URL'](_0x398822['getAttribute']('src'),_0x39b7be);if('data:'===_0x2c4d21['protocol']){const _0x75664d=_0x2c4d21['href']['split'](','),_0x2fa041=_0x75664d[0x0]['match'](/:(.*?);/)[0x1],_0x506e68=_0x2fa041['split']('/')[0x1],_0x3b5a9a=_0x327162['atob'](_0x75664d[_0x75664d['length']-0x1]);let _0x5ccc97=_0x3b5a9a['length'];const _0x3ac1f9=new _0x327162['Uint8Array'](_0x5ccc97);for(;_0x5ccc97--;)_0x3ac1f9[_0x5ccc97]=_0x3b5a9a['charCodeAt'](_0x5ccc97);return new _0x327162['File']([_0x3ac1f9],'image.'+_0x506e68,{'type':_0x2fa041});}const _0x4b78c5=_0x2c4d21['href']['split']('/'),_0x2e4dd6=_0x4b78c5[_0x4b78c5['length']-0x1],_0xa257f8=_0x2e4dd6['split']('.')[0x1];return _0x327162['fetch'](_0x2c4d21['href'])['then'](_0x307209=>_0x307209['clone']()['blob']())['then'](_0xd024c5=>new _0x327162['File']([_0xd024c5],_0x2e4dd6,{'type':'image/'+_0xa257f8}));}}
23
+ import{global as _0x18701b,ObservableMixin as _0x467187}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3501bb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x40f347}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5e530b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x27f304}from'../../utils/uploadutils.js';import{getImageUrls as _0x2ff105,getImageDimension as _0x407902}from'../../utils/editingutils.js';import{isAncestor as _0x1045f1}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x467187(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5a740f,_0x4d52b7,_0x148f47){super(),this['_editor']=_0x5a740f,this['_dialog']=_0x4d52b7,this['_imageElement']=_0x148f47,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 _0xea2b88=this['_imageElement'],_0x35bc74=_0xea2b88['getAttribute']('uploadcareImageId'),_0x34cfe9=_0xea2b88['getAttribute']('src');if(_0x35bc74)await this['_loadImageInfo'](_0x35bc74,_0x34cfe9);else{if(this['_imageCache']['has'](_0x34cfe9)){const _0x2509ad=this['_imageCache']['get'](_0x34cfe9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2509ad['url'],this['imageDimension']=_0x2509ad['dimension'],this['imageId']=_0x2509ad['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xd3fb2}=this['_editor'],t=_0xd3fb2['t'],_0x3959c3=new _0x5e530b(_0xd3fb2,this['imageStatus'],this['_attributes']);_0x3959c3['bind']('status')['to'](this,'imageStatus'),_0x3959c3['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3959c3['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3959c3['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3959c3,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x40f347,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3959c3,'position':_0x3501bb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3959c3['focus']();},'onHide':()=>{_0x3959c3['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4cc0c5=>!_0x1045f1(_0x4cc0c5,_0x3959c3['element'])}});}['_loadImageInfo'](_0x14b365,_0x2d2abb){return _0x27f304['getInfo'](_0x14b365,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x331649=>{const {width:_0x1bfa80,height:_0xd911f8}=_0x331649['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d2abb,this['imageDimension']={'width':_0x1bfa80,'height':_0xd911f8},this['imageId']=_0x14b365;})['catch'](_0x56f67c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56f67c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ab39d,_0x19387f){return this['_getImageAsFile'](_0x2ab39d)['then'](_0x1b0e50=>_0x27f304['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x19387f['signal'],'file':_0x1b0e50,'onProgress':_0x28b33b=>{_0x28b33b&&_0x28b33b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x28b33b['value']));}}))['then'](_0x2a384a=>{const {width:_0x1ceb4e,height:_0x206fe3}=_0x2a384a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a384a['cdnUrl'],this['imageDimension']={'width':_0x1ceb4e,'height':_0x206fe3},this['imageId']=_0x2a384a['uuid'],this['imageUploadProgress']=null;const _0x305104=_0x2ab39d['getAttribute']('src');this['_imageCache']['set'](_0x305104,{'id':_0x2a384a['uuid'],'url':_0x2a384a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5149de=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5149de['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3c4b37,_0x1d48f8){_0x3c4b37['on']('apply',(_0x55d2ae,_0x1c68a5)=>{this['_replaceImage'](_0x1d48f8,_0x1c68a5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3c4b37['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3c4b37['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x331708,_0x3b5727,_0x3b0ade){const _0x99770f=this['_editor'],{width:_0x481c6d,height:_0x21fda8}=_0x407902(_0x3b5727,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xb6b3b2,imageSources:_0x58d6a1}=_0x2ff105(_0x3b5727,_0x481c6d);_0x99770f['model']['change'](_0x15b2e2=>{if('$graveyard'===_0x331708['root']['rootName']){_0x99770f['execute']('insertImage',{'imageType':_0x331708['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x331708['getAttributes']()),'uploadcareImageId':_0x3b0ade,'src':_0xb6b3b2,'sources':_0x58d6a1,'width':_0x481c6d,'height':_0x21fda8}});const _0x1411e3=_0x331708['getChildren']();_0x331708=_0x99770f['model']['document']['selection']['getSelectedElement']();for(const _0x55d69e of _0x1411e3)_0x15b2e2['append'](_0x15b2e2['cloneElement'](_0x55d69e),_0x331708);}else _0x15b2e2['setSelection'](_0x331708,'on'),_0x99770f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x331708['getAttributes']()),'uploadcareImageId':_0x3b0ade,'src':_0xb6b3b2,'sources':_0x58d6a1,'width':_0x481c6d,'height':_0x21fda8},_0x331708);_0x15b2e2['setSelection'](_0x331708,'on');});}async['_getImageAsFile'](_0x3506c1){const _0x4e9c63=_0x18701b['window'],_0x205aca=_0x18701b['document']['location']['href'],_0x333e63=new _0x4e9c63['URL'](_0x3506c1['getAttribute']('src'),_0x205aca);if('data:'===_0x333e63['protocol']){const _0x2474b3=_0x333e63['href']['split'](','),_0x1ad745=_0x2474b3[0x0]['match'](/:(.*?);/)[0x1],_0x2ecd8f=_0x1ad745['split']('/')[0x1],_0x369251=_0x4e9c63['atob'](_0x2474b3[_0x2474b3['length']-0x1]);let _0x2dfb7e=_0x369251['length'];const _0x19ea05=new _0x4e9c63['Uint8Array'](_0x2dfb7e);for(;_0x2dfb7e--;)_0x19ea05[_0x2dfb7e]=_0x369251['charCodeAt'](_0x2dfb7e);return new _0x4e9c63['File']([_0x19ea05],'image.'+_0x2ecd8f,{'type':_0x1ad745});}const _0x1b1ec1=_0x333e63['href']['split']('/'),_0x5ac04b=_0x1b1ec1[_0x1b1ec1['length']-0x1],_0x129f2b=_0x5ac04b['split']('.')[0x1];return _0x4e9c63['fetch'](_0x333e63['href'])['then'](_0x107de0=>_0x107de0['clone']()['blob']())['then'](_0x2c7d83=>new _0x4e9c63['File']([_0x2c7d83],_0x5ac04b,{'type':'image/'+_0x129f2b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa6cc86,_0x35797a){const _0x20881f=_0x2e59,_0x38777b=_0xa6cc86();while(!![]){try{const _0xac4e6d=-parseInt(_0x20881f(0x8f))/0x1+parseInt(_0x20881f(0x90))/0x2*(parseInt(_0x20881f(0x84))/0x3)+parseInt(_0x20881f(0x81))/0x4*(-parseInt(_0x20881f(0x7f))/0x5)+parseInt(_0x20881f(0x8e))/0x6*(parseInt(_0x20881f(0x86))/0x7)+parseInt(_0x20881f(0x82))/0x8+-parseInt(_0x20881f(0x8d))/0x9*(-parseInt(_0x20881f(0x80))/0xa)+-parseInt(_0x20881f(0x8c))/0xb*(-parseInt(_0x20881f(0x91))/0xc);if(_0xac4e6d===_0x35797a)break;else _0x38777b['push'](_0x38777b['shift']());}catch(_0x3829ba){_0x38777b['push'](_0x38777b['shift']());}}}(_0x529c,0xd9ffd));function _0x529c(){const _0x1d87ff=['uc-cloud-image-editor','imageSrc','image-edit','ck-uploadcare-theme','bindTemplate','3321329HXkeVl','1759149AiGxcO','6YKCKZY','1221091TqenLx','14572bdymXP','12XueaXW','set','5RLIqNn','80DFhIGW','3386804eVVJgZ','3299160Upbknp','uc-light','129WBpPZu','setTemplate','2585779PIoHlV'];_0x529c=function(){return _0x1d87ff;};return _0x529c();}function _0x2e59(_0x33d014,_0x963d08){const _0x529c53=_0x529c();return _0x2e59=function(_0x2e590d,_0x737d71){_0x2e590d=_0x2e590d-0x7e;let _0x4fecfd=_0x529c53[_0x2e590d];return _0x4fecfd;},_0x2e59(_0x33d014,_0x963d08);}import{View as _0x9043ac}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x9043ac{constructor(_0x3f6e4f,_0x57df64){const _0x2411d1=_0x2e59;super(_0x3f6e4f);const _0x103354=this[_0x2411d1(0x8b)];this[_0x2411d1(0x7e)](_0x2411d1(0x88),''),this[_0x2411d1(0x85)]({'tag':_0x2411d1(0x87),'attributes':{..._0x57df64,'class':[_0x2411d1(0x83),_0x2411d1(0x8a)],'ctx-name':_0x2411d1(0x89),'cdn-url':_0x103354['to'](_0x2411d1(0x88))}});}}
23
+ function _0x19e7(_0x499ea5,_0x20d847){const _0x3eeb0b=_0x3eeb();return _0x19e7=function(_0x19e768,_0x55516f){_0x19e768=_0x19e768-0x18a;let _0x23ed75=_0x3eeb0b[_0x19e768];return _0x23ed75;},_0x19e7(_0x499ea5,_0x20d847);}(function(_0xf51f78,_0x366c9b){const _0x2b457d=_0x19e7,_0x340202=_0xf51f78();while(!![]){try{const _0x5bab36=-parseInt(_0x2b457d(0x199))/0x1+-parseInt(_0x2b457d(0x18d))/0x2*(parseInt(_0x2b457d(0x19c))/0x3)+parseInt(_0x2b457d(0x197))/0x4+parseInt(_0x2b457d(0x19b))/0x5+parseInt(_0x2b457d(0x18e))/0x6*(-parseInt(_0x2b457d(0x18b))/0x7)+parseInt(_0x2b457d(0x18a))/0x8*(parseInt(_0x2b457d(0x195))/0x9)+-parseInt(_0x2b457d(0x192))/0xa*(-parseInt(_0x2b457d(0x198))/0xb);if(_0x5bab36===_0x366c9b)break;else _0x340202['push'](_0x340202['shift']());}catch(_0x1180bb){_0x340202['push'](_0x340202['shift']());}}}(_0x3eeb,0x6aff8));import{View as _0x3ad614}from'ckeditor5/src/ui.js';function _0x3eeb(){const _0x555628=['377172uhrVyS','image-edit','703288npSVOE','165RsIrMY','480385tqJbUv','imageSrc','2573600SqEZjv','1575VZrxYX','40tcpJVK','14CycJkK','bindTemplate','2392HHoouP','49104FKIZbj','setTemplate','uc-cloud-image-editor','set','441890YxisrY','uc-light','ck-uploadcare-theme'];_0x3eeb=function(){return _0x555628;};return _0x3eeb();}export class UploadcareImageEditFormEditingView extends _0x3ad614{constructor(_0x53623a,_0x4c1d02){const _0x1cd425=_0x19e7;super(_0x53623a);const _0xd261ce=this[_0x1cd425(0x18c)];this[_0x1cd425(0x191)](_0x1cd425(0x19a),''),this[_0x1cd425(0x18f)]({'tag':_0x1cd425(0x190),'attributes':{..._0x4c1d02,'class':[_0x1cd425(0x193),_0x1cd425(0x194)],'ctx-name':_0x1cd425(0x196),'cdn-url':_0xd261ce['to'](_0x1cd425(0x19a))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x46a994}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a7141,IconView as _0x289aa0,View as _0x21f397}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x21f397{constructor(_0x6c5ef){super(_0x6c5ef);const t=_0x6c5ef['t'];this['set']('errorType',null);const _0x3b4597=new _0x5a7141(_0x6c5ef);_0x3b4597['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3b4597['withText']=!0x0,_0x3b4597['class']='ck-button-action',_0x3b4597['on']('execute',()=>{this['fire']('retry');}),_0x3b4597['bind']('isVisible')['to'](this,'errorType',_0x46842d=>'NotFound'!==_0x46842d);const _0x426751=new _0x289aa0();_0x426751['content']=_0x46a994,_0x426751['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x48a0dd=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':[_0x426751,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x48a0dd['to']('errorType',_0x4f5ae9=>t('NotFound'!==_0x4f5ae9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3b4597]},{'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 _0x2108c3}from'ckeditor5/src/icons.js';import{ButtonView as _0x4d90e3,IconView as _0x3956b0,View as _0x150153}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x150153{constructor(_0x509697){super(_0x509697);const t=_0x509697['t'];this['set']('errorType',null);const _0x53a5e8=new _0x4d90e3(_0x509697);_0x53a5e8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x53a5e8['withText']=!0x0,_0x53a5e8['class']='ck-button-action',_0x53a5e8['on']('execute',()=>{this['fire']('retry');}),_0x53a5e8['bind']('isVisible')['to'](this,'errorType',_0x2d3193=>'NotFound'!==_0x2d3193);const _0x5af8d3=new _0x3956b0();_0x5af8d3['content']=_0x2108c3,_0x5af8d3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1066b4=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':[_0x5af8d3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1066b4['to']('errorType',_0x293fe1=>t('NotFound'!==_0x293fe1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x53a5e8]},{'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 _0x5d7c0d,View as _0x4bd353}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4bd353{constructor(_0x18e565){super(_0x18e565);const t=_0x18e565['t'],_0x502ce9=this['bindTemplate'],_0x1cb001=new _0x5d7c0d();_0x1cb001['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':[_0x1cb001,{'text':_0x502ce9['to']('imageUploadProgress',_0x3627d0=>t('Loading\x20image...')+'\x20('+(_0x3627d0||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 _0x28af5d,View as _0x4655f5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4655f5{constructor(_0x4b1749){super(_0x4b1749);const t=_0x4b1749['t'],_0x5d6693=this['bindTemplate'],_0x235a54=new _0x28af5d();_0x235a54['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':[_0x235a54,{'text':_0x5d6693['to']('imageUploadProgress',_0x45055f=>t('Loading\x20image...')+'\x20('+(_0x45055f||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 _0x135c13=_0x2d1a;(function(_0x382457,_0x50c833){const _0xc9a8ca=_0x2d1a,_0x330052=_0x382457();while(!![]){try{const _0x465dde=parseInt(_0xc9a8ca(0x1fa))/0x1+parseInt(_0xc9a8ca(0x220))/0x2*(-parseInt(_0xc9a8ca(0x21f))/0x3)+-parseInt(_0xc9a8ca(0x1f4))/0x4+-parseInt(_0xc9a8ca(0x207))/0x5*(parseInt(_0xc9a8ca(0x202))/0x6)+parseInt(_0xc9a8ca(0x20b))/0x7+parseInt(_0xc9a8ca(0x1ff))/0x8*(-parseInt(_0xc9a8ca(0x20f))/0x9)+parseInt(_0xc9a8ca(0x20d))/0xa;if(_0x465dde===_0x50c833)break;else _0x330052['push'](_0x330052['shift']());}catch(_0x28b76d){_0x330052['push'](_0x330052['shift']());}}}(_0x207a,0x997cf));import{View as _0x1d4431}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x549d4b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x47f956}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3a2afa}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5eda10}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x2d1a(_0x288ed1,_0x1f20cb){const _0x207a04=_0x207a();return _0x2d1a=function(_0x2d1a2e,_0x49923e){_0x2d1a2e=_0x2d1a2e-0x1f1;let _0x4c3f78=_0x207a04[_0x2d1a2e];return _0x4c3f78;},_0x2d1a(_0x288ed1,_0x1f20cb);}export class UploadcareImageEditFormView extends _0x5eda10{[_0x135c13(0x201)];[_0x135c13(0x21e)];[_0x135c13(0x216)];[_0x135c13(0x209)];[_0x135c13(0x20a)];constructor(_0x41c372,_0x25314c,_0x565627){const _0x4d9687=_0x135c13;super(_0x41c372),this[_0x4d9687(0x201)]=this[_0x4d9687(0x219)](),this[_0x4d9687(0x21e)]=new _0x549d4b(_0x41c372),this[_0x4d9687(0x216)]=new _0x47f956(_0x41c372),this[_0x4d9687(0x209)]=new _0x3a2afa(_0x41c372,_0x565627),this[_0x4d9687(0x20a)]=new _0x1d4431(_0x41c372),this[_0x4d9687(0x20a)][_0x4d9687(0x1fe)](this[_0x4d9687(0x1f9)]()),this[_0x4d9687(0x21a)](_0x4d9687(0x1f8),_0x25314c),this[_0x4d9687(0x1fe)]({'tag':_0x4d9687(0x210),'attributes':{'class':['ck',_0x4d9687(0x1f5),_0x4d9687(0x21c)],'tabindex':'-1'},'children':this[_0x4d9687(0x201)]}),this[_0x4d9687(0x225)](),this[_0x4d9687(0x203)](_0x4d9687(0x208),()=>{const _0x24460e=_0x4d9687;this[_0x24460e(0x212)](this[_0x24460e(0x20e)],_0x5cf4d5=>{const _0x2c02ff=_0x24460e;this[_0x2c02ff(0x1fb)](_0x5cf4d5);});}),this['on'](_0x4d9687(0x214),()=>{const _0x3ee510=_0x4d9687;this[_0x3ee510(0x225)]();}),this[_0x4d9687(0x200)]();}[_0x135c13(0x20c)](){const _0x5d91f6=_0x135c13;this[_0x5d91f6(0x20e)][_0x5d91f6(0x20c)]();}[_0x135c13(0x225)](){const _0x107996=_0x135c13;switch(this[_0x107996(0x201)][_0x107996(0x213)](),this[_0x107996(0x1f8)]){case _0x107996(0x222):this[_0x107996(0x201)][_0x107996(0x21d)](this[_0x107996(0x21e)]);break;case _0x107996(0x1fc):this[_0x107996(0x201)][_0x107996(0x21d)](this[_0x107996(0x216)]);break;case _0x107996(0x224):this[_0x107996(0x201)][_0x107996(0x226)]([this[_0x107996(0x209)],this[_0x107996(0x20a)]]);}}[_0x135c13(0x212)](_0x2e5160,_0x14b0b8){const _0x377e1f=_0x135c13,_0x1b9286=_0x377e1f(0x204),_0xaab651=_0x2e5160[_0x377e1f(0x221)](_0x1b9286);if(_0xaab651)return _0x14b0b8(_0xaab651);const _0x49040e=new MutationObserver(_0x252c31=>{const _0x188ba7=_0x377e1f,_0x2c7971=_0x252c31[_0x188ba7(0x1f6)](_0x47fa99=>_0x47fa99[_0x188ba7(0x211)]===_0x2e5160&&_0x47fa99[_0x188ba7(0x206)][_0x188ba7(0x217)]>0x0&&_0x47fa99[_0x188ba7(0x206)][0x0][_0x188ba7(0x1f1)][_0x188ba7(0x215)]()===_0x1b9286);_0x2c7971[_0x188ba7(0x217)]&&(_0x49040e[_0x188ba7(0x218)](),_0x14b0b8(_0x2c7971[0x0][_0x188ba7(0x206)][0x0]));});_0x49040e[_0x377e1f(0x223)](_0x2e5160,{'childList':!0x0,'subtree':!0x0});}[_0x135c13(0x1fb)](_0x1383f2){const _0x4d90e4=_0x135c13;_0x1383f2[_0x4d90e4(0x1f2)](_0x4d90e4(0x1fd),_0xe4be3=>{const _0x4f5e09=_0x4d90e4;this[_0x4f5e09(0x227)](_0x4f5e09(0x1fd),{'imageSrc':_0xe4be3[_0x4f5e09(0x1f7)][_0x4f5e09(0x205)]});}),_0x1383f2[_0x4d90e4(0x1f2)](_0x4d90e4(0x1f3),()=>{const _0xd0f9b2=_0x4d90e4;this[_0xd0f9b2(0x227)](_0xd0f9b2(0x1f3));});}[_0x135c13(0x200)](){const _0x28914a=_0x135c13;this[_0x28914a(0x216)]['on'](_0x28914a(0x21b),()=>{const _0x2704ac=_0x28914a;this[_0x2704ac(0x227)](_0x2704ac(0x21b));});}}function _0x207a(){const _0x5e1813=['createCollection','set','retry','ck-uploadcare-form','add','_loadingView','2465793PNvyYF','2eOOqxB','querySelector','uploading','observe','ready','_setView','addMany','fire','nodeName','addEventListener','cancel','2333164aFiIcQ','ck-reset_all-excluded','filter','detail','status','getFocusableElement','171277xnjFNe','_addUploadcareImageEditorListeners','error','apply','setTemplate','8lUeqXV','_addErrorViewListeners','_items','242622YaDNDY','once','uc-cloud-image-editor','cdnUrl','addedNodes','5gCIueM','render','_editingView','_focusableView','2087015DxNxvY','focus','23288570VtXQGI','element','6515397oMeJzp','div','target','_waitForImageEditorComponent','clear','change:status','toLowerCase','_errorView','length','disconnect'];_0x207a=function(){return _0x5e1813;};return _0x207a();}
23
+ const _0x1377ea=_0x5b6d;function _0x66c8(){const _0x350c1f=['nodeName','_waitForImageEditorComponent','once','div','fire','cancel','9LvWMkp','render','add','addedNodes','set','10QhlTBx','ck-uploadcare-form','_items','focus','cdnUrl','querySelector','uploading','target','_addErrorViewListeners','status','32NbCzrW','uc-cloud-image-editor','retry','_focusableView','_loadingView','filter','1258218FQpiFP','length','observe','28671rpSxBC','1226350eWOEdZ','ready','_errorView','clear','change:status','getFocusableElement','error','detail','createCollection','setTemplate','addMany','200astgtl','10617387AeIaYn','_addUploadcareImageEditorListeners','apply','toLowerCase','16612BdCdeO','addEventListener','ck-reset_all-excluded','2870497OpbGRb','_editingView','454424rRRofC','disconnect','_setView','element'];_0x66c8=function(){return _0x350c1f;};return _0x66c8();}(function(_0x3b28d7,_0x1d9028){const _0x205ca3=_0x5b6d,_0x12b9cf=_0x3b28d7();while(!![]){try{const _0x472527=parseInt(_0x205ca3(0x10d))/0x1*(-parseInt(_0x205ca3(0xf3))/0x2)+parseInt(_0x205ca3(0xfc))/0x3*(parseInt(_0x205ca3(0x108))/0x4)+-parseInt(_0x205ca3(0xfd))/0x5+-parseInt(_0x205ca3(0xf9))/0x6+-parseInt(_0x205ca3(0x110))/0x7+parseInt(_0x205ca3(0xda))/0x8*(-parseInt(_0x205ca3(0xe4))/0x9)+parseInt(_0x205ca3(0xe9))/0xa*(parseInt(_0x205ca3(0x109))/0xb);if(_0x472527===_0x1d9028)break;else _0x12b9cf['push'](_0x12b9cf['shift']());}catch(_0x48c9cd){_0x12b9cf['push'](_0x12b9cf['shift']());}}}(_0x66c8,0x3e5c4));import{View as _0x55a31c}from'ckeditor5/src/ui.js';function _0x5b6d(_0x5eec18,_0x41f6b5){const _0x66c820=_0x66c8();return _0x5b6d=function(_0x5b6d7c,_0x2aea2e){_0x5b6d7c=_0x5b6d7c-0xd9;let _0x50e8f4=_0x66c820[_0x5b6d7c];return _0x50e8f4;},_0x5b6d(_0x5eec18,_0x41f6b5);}import{UploadcareImageEditFormLoadingView as _0x12cd86}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x529ecb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xdb2a90}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xcc6e4a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xcc6e4a{[_0x1377ea(0xeb)];[_0x1377ea(0xf7)];[_0x1377ea(0xff)];[_0x1377ea(0xd9)];[_0x1377ea(0xf6)];constructor(_0x4fb56a,_0x2bd665,_0x545851){const _0x56b354=_0x1377ea;super(_0x4fb56a),this[_0x56b354(0xeb)]=this[_0x56b354(0x105)](),this[_0x56b354(0xf7)]=new _0x12cd86(_0x4fb56a),this[_0x56b354(0xff)]=new _0x529ecb(_0x4fb56a),this[_0x56b354(0xd9)]=new _0xdb2a90(_0x4fb56a,_0x545851),this[_0x56b354(0xf6)]=new _0x55a31c(_0x4fb56a),this[_0x56b354(0xf6)][_0x56b354(0x106)](this[_0x56b354(0x102)]()),this[_0x56b354(0xe8)](_0x56b354(0xf2),_0x2bd665),this[_0x56b354(0x106)]({'tag':_0x56b354(0xe1),'attributes':{'class':['ck',_0x56b354(0x10f),_0x56b354(0xea)],'tabindex':'-1'},'children':this[_0x56b354(0xeb)]}),this[_0x56b354(0xdc)](),this[_0x56b354(0xe0)](_0x56b354(0xe5),()=>{const _0x64a917=_0x56b354;this[_0x64a917(0xdf)](this[_0x64a917(0xdd)],_0x6c8cf6=>{const _0x1974a4=_0x64a917;this[_0x1974a4(0x10a)](_0x6c8cf6);});}),this['on'](_0x56b354(0x101),()=>{const _0x8b8688=_0x56b354;this[_0x8b8688(0xdc)]();}),this[_0x56b354(0xf1)]();}[_0x1377ea(0xec)](){const _0x4a6c86=_0x1377ea;this[_0x4a6c86(0xdd)][_0x4a6c86(0xec)]();}[_0x1377ea(0xdc)](){const _0x2fe122=_0x1377ea;switch(this[_0x2fe122(0xeb)][_0x2fe122(0x100)](),this[_0x2fe122(0xf2)]){case _0x2fe122(0xef):this[_0x2fe122(0xeb)][_0x2fe122(0xe6)](this[_0x2fe122(0xf7)]);break;case _0x2fe122(0x103):this[_0x2fe122(0xeb)][_0x2fe122(0xe6)](this[_0x2fe122(0xff)]);break;case _0x2fe122(0xfe):this[_0x2fe122(0xeb)][_0x2fe122(0x107)]([this[_0x2fe122(0xd9)],this[_0x2fe122(0xf6)]]);}}[_0x1377ea(0xdf)](_0x46ee36,_0x1e6207){const _0x559f72=_0x1377ea,_0x107261=_0x559f72(0xf4),_0x5a68a7=_0x46ee36[_0x559f72(0xee)](_0x107261);if(_0x5a68a7)return _0x1e6207(_0x5a68a7);const _0x5d4c32=new MutationObserver(_0x2ffa59=>{const _0x57d8b9=_0x559f72,_0x459597=_0x2ffa59[_0x57d8b9(0xf8)](_0x97d1d8=>_0x97d1d8[_0x57d8b9(0xf0)]===_0x46ee36&&_0x97d1d8[_0x57d8b9(0xe7)][_0x57d8b9(0xfa)]>0x0&&_0x97d1d8[_0x57d8b9(0xe7)][0x0][_0x57d8b9(0xde)][_0x57d8b9(0x10c)]()===_0x107261);_0x459597[_0x57d8b9(0xfa)]&&(_0x5d4c32[_0x57d8b9(0xdb)](),_0x1e6207(_0x459597[0x0][_0x57d8b9(0xe7)][0x0]));});_0x5d4c32[_0x559f72(0xfb)](_0x46ee36,{'childList':!0x0,'subtree':!0x0});}[_0x1377ea(0x10a)](_0x2c6a97){const _0x28a931=_0x1377ea;_0x2c6a97[_0x28a931(0x10e)](_0x28a931(0x10b),_0x1b1ccc=>{const _0x3bf9f3=_0x28a931;this[_0x3bf9f3(0xe2)](_0x3bf9f3(0x10b),{'imageSrc':_0x1b1ccc[_0x3bf9f3(0x104)][_0x3bf9f3(0xed)]});}),_0x2c6a97[_0x28a931(0x10e)](_0x28a931(0xe3),()=>{const _0x31e45b=_0x28a931;this[_0x31e45b(0xe2)](_0x31e45b(0xe3));});}[_0x1377ea(0xf1)](){const _0x2a4fd3=_0x1377ea;this[_0x2a4fd3(0xff)]['on'](_0x2a4fd3(0xf5),()=>{const _0x1236a9=_0x2a4fd3;this[_0x1236a9(0xe2)](_0x1236a9(0xf5));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1180f7=_0x2c07;function _0x2c07(_0x2834ef,_0x5529fb){const _0x39c62d=_0x39c6();return _0x2c07=function(_0x2c0777,_0x5a40d8){_0x2c0777=_0x2c0777-0x1dd;let _0x204840=_0x39c62d[_0x2c0777];return _0x204840;},_0x2c07(_0x2834ef,_0x5529fb);}(function(_0x6c8fb9,_0x5349aa){const _0x35d4d6=_0x2c07,_0x5d9aab=_0x6c8fb9();while(!![]){try{const _0x344646=parseInt(_0x35d4d6(0x1fb))/0x1+parseInt(_0x35d4d6(0x1df))/0x2+parseInt(_0x35d4d6(0x1fc))/0x3*(parseInt(_0x35d4d6(0x1fe))/0x4)+-parseInt(_0x35d4d6(0x1f7))/0x5*(parseInt(_0x35d4d6(0x1f6))/0x6)+-parseInt(_0x35d4d6(0x1e7))/0x7*(parseInt(_0x35d4d6(0x1fa))/0x8)+parseInt(_0x35d4d6(0x1ec))/0x9*(parseInt(_0x35d4d6(0x1f8))/0xa)+parseInt(_0x35d4d6(0x1fd))/0xb*(-parseInt(_0x35d4d6(0x1f3))/0xc);if(_0x344646===_0x5349aa)break;else _0x5d9aab['push'](_0x5d9aab['shift']());}catch(_0x557e69){_0x5d9aab['push'](_0x5d9aab['shift']());}}}(_0x39c6,0x57c15));import{Command as _0x1a3fbf}from'ckeditor5/src/core.js';import{Dialog as _0x553b6e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x15e29f}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x80fb2d}from'../utils/editingutils.js';function _0x39c6(){const _0x3fa994=['set','1199086dJdHBA','bind','document','unbind','plugins','requires','imageInline','element','191562DdfXqK','_isEditable','model','isActive','isEnabled','6420501TYZqOl','execute','editor','refresh','config','get','imageBlock','547980nYqKZl','getSelectedElement','selection','879006qaxCzQ','10aDVnij','10nYqOIm','imageEditController','8oYEnfE','393911OqdYIP','370146KfgKrJ','396wqbwGe','20EOSXPS','uploadcare.allowExternalImagesEditing'];_0x39c6=function(){return _0x3fa994;};return _0x39c6();}export class UploadcareImageEditCommand extends _0x1a3fbf{[_0x1180f7(0x1f9)];static get[_0x1180f7(0x1e4)](){return[_0x553b6e];}[_0x1180f7(0x1e8)];constructor(_0x15a290){const _0x27e43e=_0x1180f7;super(_0x15a290),this[_0x27e43e(0x1f9)]=void 0x0,this[_0x27e43e(0x1e8)]=_0x80fb2d(_0x15a290[_0x27e43e(0x1f0)][_0x27e43e(0x1f1)](_0x27e43e(0x1dd))||[]),this[_0x27e43e(0x1de)]({'isActive':!0x1});}[_0x1180f7(0x1ef)](){const _0x43d209=_0x1180f7,_0xfcdbe7=this[_0x43d209(0x1ee)][_0x43d209(0x1e9)][_0x43d209(0x1e1)][_0x43d209(0x1f5)][_0x43d209(0x1f4)]();this[_0x43d209(0x1eb)]=this[_0x43d209(0x1e8)](_0xfcdbe7);}[_0x1180f7(0x1ed)](){const _0x41a3d8=_0x1180f7;this[_0x41a3d8(0x1f9)]&&(this[_0x41a3d8(0x1e2)](_0x41a3d8(0x1ea)),this[_0x41a3d8(0x1f9)]=void 0x0);const _0x525123=this[_0x41a3d8(0x1ee)][_0x41a3d8(0x1e9)][_0x41a3d8(0x1e1)][_0x41a3d8(0x1f5)][_0x41a3d8(0x1f4)]();_0x525123&&(_0x525123['is'](_0x41a3d8(0x1e6),_0x41a3d8(0x1f2))||_0x525123['is'](_0x41a3d8(0x1e6),_0x41a3d8(0x1e5)))&&(this[_0x41a3d8(0x1f9)]=new _0x15e29f(this[_0x41a3d8(0x1ee)],this[_0x41a3d8(0x1ee)][_0x41a3d8(0x1e3)][_0x41a3d8(0x1f1)](_0x553b6e),_0x525123),this[_0x41a3d8(0x1e0)](_0x41a3d8(0x1ea))['to'](this[_0x41a3d8(0x1f9)],_0x41a3d8(0x1ea)));}}
23
+ const _0x5171c3=_0x2a9c;function _0x1253(){const _0x7acbe7=['744474IqlCjL','imageEditController','set','selection','element','document','4386184PMJFRB','requires','plugins','refresh','uploadcare.allowExternalImagesEditing','isActive','isEnabled','imageInline','execute','6kYblJo','unbind','746456EbiVgm','config','getSelectedElement','model','2736685TFAmie','_isEditable','3691728bQCwxV','get','bind','editor','imageBlock','7720993mymvvG','4780340xCpeNP'];_0x1253=function(){return _0x7acbe7;};return _0x1253();}(function(_0x4c535d,_0x1ba704){const _0x24ddf4=_0x2a9c,_0x638813=_0x4c535d();while(!![]){try{const _0x2217ac=-parseInt(_0x24ddf4(0x113))/0x1+parseInt(_0x24ddf4(0x120))/0x2+parseInt(_0x24ddf4(0x119))/0x3+-parseInt(_0x24ddf4(0x11f))/0x4+parseInt(_0x24ddf4(0x117))/0x5+-parseInt(_0x24ddf4(0x111))/0x6*(-parseInt(_0x24ddf4(0x11e))/0x7)+-parseInt(_0x24ddf4(0x126))/0x8;if(_0x2217ac===_0x1ba704)break;else _0x638813['push'](_0x638813['shift']());}catch(_0x1dc5d6){_0x638813['push'](_0x638813['shift']());}}}(_0x1253,0xba5c7));function _0x2a9c(_0x54839a,_0x4c152e){const _0x1253ad=_0x1253();return _0x2a9c=function(_0x2a9ca9,_0x4cbcab){_0x2a9ca9=_0x2a9ca9-0x10e;let _0x5d9c6b=_0x1253ad[_0x2a9ca9];return _0x5d9c6b;},_0x2a9c(_0x54839a,_0x4c152e);}import{Command as _0x12bf59}from'ckeditor5/src/core.js';import{Dialog as _0x3cbc18}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x115269}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x188b91}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x12bf59{[_0x5171c3(0x121)];static get[_0x5171c3(0x127)](){return[_0x3cbc18];}[_0x5171c3(0x118)];constructor(_0x56234d){const _0x4ce583=_0x5171c3;super(_0x56234d),this[_0x4ce583(0x121)]=void 0x0,this[_0x4ce583(0x118)]=_0x188b91(_0x56234d[_0x4ce583(0x114)][_0x4ce583(0x11a)](_0x4ce583(0x12a))||[]),this[_0x4ce583(0x122)]({'isActive':!0x1});}[_0x5171c3(0x129)](){const _0x40ff4e=_0x5171c3,_0x1fe996=this[_0x40ff4e(0x11c)][_0x40ff4e(0x116)][_0x40ff4e(0x125)][_0x40ff4e(0x123)][_0x40ff4e(0x115)]();this[_0x40ff4e(0x10e)]=this[_0x40ff4e(0x118)](_0x1fe996);}[_0x5171c3(0x110)](){const _0x3777c6=_0x5171c3;this[_0x3777c6(0x121)]&&(this[_0x3777c6(0x112)](_0x3777c6(0x12b)),this[_0x3777c6(0x121)]=void 0x0);const _0x947767=this[_0x3777c6(0x11c)][_0x3777c6(0x116)][_0x3777c6(0x125)][_0x3777c6(0x123)][_0x3777c6(0x115)]();_0x947767&&(_0x947767['is'](_0x3777c6(0x124),_0x3777c6(0x11d))||_0x947767['is'](_0x3777c6(0x124),_0x3777c6(0x10f)))&&(this[_0x3777c6(0x121)]=new _0x115269(this[_0x3777c6(0x11c)],this[_0x3777c6(0x11c)][_0x3777c6(0x128)][_0x3777c6(0x11a)](_0x3cbc18),_0x947767),this[_0x3777c6(0x11b)](_0x3777c6(0x12b))['to'](this[_0x3777c6(0x121)],_0x3777c6(0x12b)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1228(_0x52a040,_0x4b0dc3){const _0x52f8d5=_0x52f8();return _0x1228=function(_0x12285b,_0x575c67){_0x12285b=_0x12285b-0x6d;let _0x585613=_0x52f8d5[_0x12285b];return _0x585613;},_0x1228(_0x52a040,_0x4b0dc3);}const _0x1caaa1=_0x1228;(function(_0x9548c8,_0x35f741){const _0x193504=_0x1228,_0x4bf25b=_0x9548c8();while(!![]){try{const _0x53d61f=-parseInt(_0x193504(0x83))/0x1*(-parseInt(_0x193504(0x72))/0x2)+parseInt(_0x193504(0x7d))/0x3*(-parseInt(_0x193504(0x7c))/0x4)+parseInt(_0x193504(0x75))/0x5*(parseInt(_0x193504(0x76))/0x6)+-parseInt(_0x193504(0x74))/0x7*(parseInt(_0x193504(0x7f))/0x8)+-parseInt(_0x193504(0x85))/0x9*(-parseInt(_0x193504(0x80))/0xa)+parseInt(_0x193504(0x70))/0xb*(parseInt(_0x193504(0x82))/0xc)+-parseInt(_0x193504(0x7e))/0xd;if(_0x53d61f===_0x35f741)break;else _0x4bf25b['push'](_0x4bf25b['shift']());}catch(_0x1e25cb){_0x4bf25b['push'](_0x4bf25b['shift']());}}}(_0x52f8,0x66f6e));function _0x52f8(){const _0x5e32b4=['765fRpIlI','UploadcareImageEditEditing','isPremiumPlugin','pluginName','60742bdPxED','init','364hjUqEz','add','56833jnBJAm','3215MUcHDo','7404TTgAUF','uploadcareImageEdit','isOfficialPlugin','ImageUtils','commands','ImageEditing','252684JIYgua','15UMjwVI','10410985YRKptc','568ohLnph','8870fVWFAl','requires','1104YPmlbQ','4055lGWxoA','uploadcareImageReplace'];_0x52f8=function(){return _0x5e32b4;};return _0x52f8();}import{Plugin as _0xf1f3f0}from'ckeditor5/src/core.js';import{Notification as _0x6b9c3b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x44ae8d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xe8022f}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0xf2d462}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xf1f3f0{static get[_0x1caaa1(0x6f)](){const _0x43a28e=_0x1caaa1;return _0x43a28e(0x6d);}static get[_0x1caaa1(0x81)](){const _0x2fbeb9=_0x1caaa1;return[_0xf2d462,_0x6b9c3b,_0x2fbeb9(0x79),_0x2fbeb9(0x7b)];}static get[_0x1caaa1(0x78)](){return!0x0;}static get[_0x1caaa1(0x6e)](){return!0x0;}[_0x1caaa1(0x71)](){const _0x3268bc=_0x1caaa1,{editor:_0x2f56f7}=this;_0x2f56f7[_0x3268bc(0x7a)][_0x3268bc(0x73)](_0x3268bc(0x77),new _0x44ae8d(_0x2f56f7)),_0x2f56f7[_0x3268bc(0x7a)][_0x3268bc(0x73)](_0x3268bc(0x84),new _0xe8022f(_0x2f56f7));}}
23
+ const _0x571928=_0x1349;function _0x1349(_0x50c198,_0x291953){const _0xb727f4=_0xb727();return _0x1349=function(_0x13494e,_0x1a88b3){_0x13494e=_0x13494e-0x17f;let _0x2fe8a4=_0xb727f4[_0x13494e];return _0x2fe8a4;},_0x1349(_0x50c198,_0x291953);}(function(_0x5aff4e,_0x1ff02a){const _0x35e1fd=_0x1349,_0x28d00e=_0x5aff4e();while(!![]){try{const _0x3275b1=-parseInt(_0x35e1fd(0x17f))/0x1+parseInt(_0x35e1fd(0x18f))/0x2+parseInt(_0x35e1fd(0x180))/0x3*(-parseInt(_0x35e1fd(0x192))/0x4)+-parseInt(_0x35e1fd(0x18e))/0x5+parseInt(_0x35e1fd(0x188))/0x6+-parseInt(_0x35e1fd(0x189))/0x7+parseInt(_0x35e1fd(0x191))/0x8*(parseInt(_0x35e1fd(0x186))/0x9);if(_0x3275b1===_0x1ff02a)break;else _0x28d00e['push'](_0x28d00e['shift']());}catch(_0x425966){_0x28d00e['push'](_0x28d00e['shift']());}}}(_0xb727,0x67daf));import{Plugin as _0x293fac}from'ckeditor5/src/core.js';import{Notification as _0x2d6169}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29f134}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xd9c8d6}from'./uploadcareimagereplacecommand.js';function _0xb727(){const _0x747d73=['isOfficialPlugin','ImageEditing','requires','12870612uHGSWd','add','3202464LhycFs','5872713ApSpfI','uploadcareImageEdit','UploadcareImageEditEditing','pluginName','init','1777920UfiNKH','510346FRjWDc','commands','8rEecEA','4kPSuNP','isPremiumPlugin','318448WyRDwp','841809vCtbdK','uploadcareImageReplace','ImageUtils'];_0xb727=function(){return _0x747d73;};return _0xb727();}import{UploadcareEditing as _0x289e9f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x293fac{static get[_0x571928(0x18c)](){const _0x35b595=_0x571928;return _0x35b595(0x18b);}static get[_0x571928(0x185)](){const _0x42df53=_0x571928;return[_0x289e9f,_0x2d6169,_0x42df53(0x182),_0x42df53(0x184)];}static get[_0x571928(0x183)](){return!0x0;}static get[_0x571928(0x193)](){return!0x0;}[_0x571928(0x18d)](){const _0x13c5c3=_0x571928,{editor:_0x17849b}=this;_0x17849b[_0x13c5c3(0x190)][_0x13c5c3(0x187)](_0x13c5c3(0x18a),new _0x29f134(_0x17849b)),_0x17849b[_0x13c5c3(0x190)][_0x13c5c3(0x187)](_0x13c5c3(0x181),new _0xd9c8d6(_0x17849b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x34c94d}from'ckeditor5/src/core.js';import{ButtonView as _0x174982}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x49150f}from'ckeditor5/src/icons.js';import{createElement as _0x160c14}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 _0x34c94d{['_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 _0x163823=this['editor'];_0x163823['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1940a1=>{const _0x8b94d5=_0x163823['commands']['get']('uploadcareImageEdit'),_0x31699f=new _0x174982(_0x1940a1),t=_0x1940a1['t'];return _0x31699f['set']({'icon':_0x49150f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x31699f['bind']('isEnabled')['to'](_0x8b94d5),_0x31699f['bind']('isOn')['to'](_0x8b94d5,'isActive'),this['listenTo'](_0x31699f,'execute',()=>{_0x163823['execute']('uploadcareImageEdit'),_0x163823['editing']['view']['focus']();}),_0x31699f;}),this['_initConfig']();}['_initConfig'](){const _0x3d0b7e=_0x160c14(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3d0b7e),this['listenTo'](this['editor'],'destroy',()=>{_0x3d0b7e['remove']();});}}
23
+ import{Plugin as _0x234efa}from'ckeditor5/src/core.js';import{ButtonView as _0xbfc5fa}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x570015}from'ckeditor5/src/icons.js';import{createElement as _0x454c15}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 _0x234efa{['_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 _0x1b721f=this['editor'];_0x1b721f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1bf6cc=>{const _0x212c2c=_0x1b721f['commands']['get']('uploadcareImageEdit'),_0x78ad05=new _0xbfc5fa(_0x1bf6cc),t=_0x1bf6cc['t'];return _0x78ad05['set']({'icon':_0x570015,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x78ad05['bind']('isEnabled')['to'](_0x212c2c),_0x78ad05['bind']('isOn')['to'](_0x212c2c,'isActive'),this['listenTo'](_0x78ad05,'execute',()=>{_0x1b721f['execute']('uploadcareImageEdit'),_0x1b721f['editing']['view']['focus']();}),_0x78ad05;}),this['_initConfig']();}['_initConfig'](){const _0x1e9b5e=_0x454c15(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e9b5e),this['listenTo'](this['editor'],'destroy',()=>{_0x1e9b5e['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38dd(_0x3a84ff,_0x4ad0aa){const _0x4b66b4=_0x4b66();return _0x38dd=function(_0x38dd60,_0x4fd7da){_0x38dd60=_0x38dd60-0xaf;let _0x50f29f=_0x4b66b4[_0x38dd60];return _0x50f29f;},_0x38dd(_0x3a84ff,_0x4ad0aa);}const _0x4fe560=_0x38dd;(function(_0x4361b7,_0x2ce5f0){const _0x5677af=_0x38dd,_0x5c3882=_0x4361b7();while(!![]){try{const _0x3990e5=parseInt(_0x5677af(0xb5))/0x1+parseInt(_0x5677af(0xbe))/0x2*(-parseInt(_0x5677af(0xc3))/0x3)+-parseInt(_0x5677af(0xc5))/0x4*(parseInt(_0x5677af(0xc6))/0x5)+-parseInt(_0x5677af(0xba))/0x6+-parseInt(_0x5677af(0xc1))/0x7+parseInt(_0x5677af(0xb6))/0x8+parseInt(_0x5677af(0xbd))/0x9;if(_0x3990e5===_0x2ce5f0)break;else _0x5c3882['push'](_0x5c3882['shift']());}catch(_0x15c2a4){_0x5c3882['push'](_0x5c3882['shift']());}}}(_0x4b66,0xa412b));import{Command as _0x39e565}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x39e565{[_0x4fe560(0xb1)](){const _0x1f6880=_0x4fe560,_0x293342=this[_0x1f6880(0xbc)][_0x1f6880(0xb2)][_0x1f6880(0xaf)][_0x1f6880(0xb7)][_0x1f6880(0xc2)]();this[_0x1f6880(0xb4)]=Boolean(_0x293342&&(_0x293342['is'](_0x1f6880(0xc4),_0x1f6880(0xbf))||_0x293342['is'](_0x1f6880(0xc4),_0x1f6880(0xbb))));}[_0x4fe560(0xc7)](_0x402a79){const _0x401dbe=_0x4fe560,_0x501244=this[_0x401dbe(0xbc)][_0x401dbe(0xb2)][_0x401dbe(0xaf)][_0x401dbe(0xb7)][_0x401dbe(0xc2)]();this[_0x401dbe(0xbc)][_0x401dbe(0xb2)][_0x401dbe(0xb3)](_0x252060=>{const _0x2a5113=_0x401dbe;_0x252060[_0x2a5113(0xb9)](_0x402a79,_0x501244),_0x252060[_0x2a5113(0xc0)](_0x2a5113(0xb0),_0x501244),_0x252060[_0x2a5113(0xc0)](_0x2a5113(0xb8),_0x501244);});}}function _0x4b66(){const _0x98a1ec=['model','change','isEnabled','579042swfgja','5607456JTmeJW','selection','sizes','setAttributes','373890YCVgXQ','imageInline','editor','19854198KwQpVp','12jBiJkQ','imageBlock','removeAttribute','9126334ykESXL','getSelectedElement','517098gJuMuD','element','827360qijSiX','10yutlFN','execute','document','srcset','refresh'];_0x4b66=function(){return _0x98a1ec;};return _0x4b66();}
23
+ function _0x36a5(_0x330c9e,_0x1d1b93){const _0x50cadf=_0x50ca();return _0x36a5=function(_0x36a599,_0x269d60){_0x36a599=_0x36a599-0x1d3;let _0x39d3e7=_0x50cadf[_0x36a599];return _0x39d3e7;},_0x36a5(_0x330c9e,_0x1d1b93);}const _0x576b62=_0x36a5;(function(_0x417b70,_0x4bf8cd){const _0x68a92c=_0x36a5,_0xcbc1ed=_0x417b70();while(!![]){try{const _0x40dcf3=-parseInt(_0x68a92c(0x1e4))/0x1*(-parseInt(_0x68a92c(0x1d8))/0x2)+parseInt(_0x68a92c(0x1db))/0x3+parseInt(_0x68a92c(0x1d4))/0x4+-parseInt(_0x68a92c(0x1e0))/0x5*(parseInt(_0x68a92c(0x1e1))/0x6)+-parseInt(_0x68a92c(0x1ea))/0x7+parseInt(_0x68a92c(0x1da))/0x8+-parseInt(_0x68a92c(0x1e2))/0x9*(parseInt(_0x68a92c(0x1eb))/0xa);if(_0x40dcf3===_0x4bf8cd)break;else _0xcbc1ed['push'](_0xcbc1ed['shift']());}catch(_0x24d1bd){_0xcbc1ed['push'](_0xcbc1ed['shift']());}}}(_0x50ca,0xe7d3f));function _0x50ca(){const _0x2efe97=['editor','element','document','4362680WSOMhl','10kWKjzj','getSelectedElement','refresh','5337528vKVoPt','removeAttribute','selection','isEnabled','22mCLVpR','imageInline','12833248IZHBra','2749575ZLhnmx','imageBlock','setAttributes','execute','model','6028180MkOvuw','6BSFVQu','18485235vTKZGA','change','88845YiInWO','sizes','srcset'];_0x50ca=function(){return _0x2efe97;};return _0x50ca();}import{Command as _0x19c76b}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x19c76b{[_0x576b62(0x1d3)](){const _0x121a5c=_0x576b62,_0x80c711=this[_0x121a5c(0x1e7)][_0x121a5c(0x1df)][_0x121a5c(0x1e9)][_0x121a5c(0x1d6)][_0x121a5c(0x1ec)]();this[_0x121a5c(0x1d7)]=Boolean(_0x80c711&&(_0x80c711['is'](_0x121a5c(0x1e8),_0x121a5c(0x1dc))||_0x80c711['is'](_0x121a5c(0x1e8),_0x121a5c(0x1d9))));}[_0x576b62(0x1de)](_0x332221){const _0x412c89=_0x576b62,_0x483b92=this[_0x412c89(0x1e7)][_0x412c89(0x1df)][_0x412c89(0x1e9)][_0x412c89(0x1d6)][_0x412c89(0x1ec)]();this[_0x412c89(0x1e7)][_0x412c89(0x1df)][_0x412c89(0x1e3)](_0x11e3c1=>{const _0x838bc0=_0x412c89;_0x11e3c1[_0x838bc0(0x1dd)](_0x332221,_0x483b92),_0x11e3c1[_0x838bc0(0x1d5)](_0x838bc0(0x1e6),_0x483b92),_0x11e3c1[_0x838bc0(0x1d5)](_0x838bc0(0x1e5),_0x483b92);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4f9e20=_0xf302;(function(_0x4e076e,_0x21b7f1){var _0x1cddb3=_0xf302,_0x427616=_0x4e076e();while(!![]){try{var _0x13a66f=-parseInt(_0x1cddb3(0xf9))/0x1*(-parseInt(_0x1cddb3(0xf1))/0x2)+parseInt(_0x1cddb3(0xf2))/0x3+parseInt(_0x1cddb3(0xf4))/0x4*(parseInt(_0x1cddb3(0xed))/0x5)+-parseInt(_0x1cddb3(0xf7))/0x6+-parseInt(_0x1cddb3(0xee))/0x7+parseInt(_0x1cddb3(0xf3))/0x8+-parseInt(_0x1cddb3(0xfa))/0x9;if(_0x13a66f===_0x21b7f1)break;else _0x427616['push'](_0x427616['shift']());}catch(_0x27ec45){_0x427616['push'](_0x427616['shift']());}}}(_0x17bc,0xd9f4c));import{Plugin as _0x140774}from'ckeditor5/src/core.js';function _0xf302(_0x1a23ba,_0x40f275){var _0x17bc72=_0x17bc();return _0xf302=function(_0xf30277,_0x55ae4e){_0xf30277=_0xf30277-0xed;var _0x52cc4a=_0x17bc72[_0xf30277];return _0x52cc4a;},_0xf302(_0x1a23ba,_0x40f275);}function _0x17bc(){var _0x2a4cc9=['690088PeWaJR','isOfficialPlugin','UploadcareImageEdit','187122hnFEja','3029094wAYTKt','8985208chjdPZ','4uqmOVZ','pluginName','isPremiumPlugin','7223040HJpUHO','requires','10kxgsuo','9452817IAydku','885130BVnDsT'];_0x17bc=function(){return _0x2a4cc9;};return _0x17bc();}import{UploadcareImageEditEditing as _0x3cc8a9}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5e28d9}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x140774{static get[_0x4f9e20(0xf5)](){var _0x2efc87=_0x4f9e20;return _0x2efc87(0xf0);}static get[_0x4f9e20(0xf8)](){return[_0x3cc8a9,_0x5e28d9];}static get[_0x4f9e20(0xef)](){return!0x0;}static get[_0x4f9e20(0xf6)](){return!0x0;}}
23
+ var _0x53e6bf=_0x468e;function _0x2126(){var _0x407b81=['380ABROfd','isPremiumPlugin','54IBsbav','1945936ZmVxYY','isOfficialPlugin','3949dfGGsL','22503648fEAAjm','2432442FhkHzu','1801GzbFQu','395STKmTE','313691ziyIfW','pluginName','requires','19204fmsVBL','UploadcareImageEdit','36GKTsST','160aWwEII'];_0x2126=function(){return _0x407b81;};return _0x2126();}(function(_0x4313dd,_0x14df46){var _0x37c635=_0x468e,_0x67c1f0=_0x4313dd();while(!![]){try{var _0x4bbfd1=-parseInt(_0x37c635(0x112))/0x1*(parseInt(_0x37c635(0x11a))/0x2)+parseInt(_0x37c635(0x111))/0x3+-parseInt(_0x37c635(0x117))/0x4*(-parseInt(_0x37c635(0x113))/0x5)+-parseInt(_0x37c635(0x11d))/0x6*(-parseInt(_0x37c635(0x114))/0x7)+-parseInt(_0x37c635(0x10d))/0x8*(-parseInt(_0x37c635(0x119))/0x9)+-parseInt(_0x37c635(0x11b))/0xa*(parseInt(_0x37c635(0x10f))/0xb)+-parseInt(_0x37c635(0x110))/0xc;if(_0x4bbfd1===_0x14df46)break;else _0x67c1f0['push'](_0x67c1f0['shift']());}catch(_0x2c07bc){_0x67c1f0['push'](_0x67c1f0['shift']());}}}(_0x2126,0x82368));import{Plugin as _0x25d2e6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x45303e}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x468e(_0x5a00a0,_0x3d97ff){var _0x212690=_0x2126();return _0x468e=function(_0x468ed3,_0x2731bb){_0x468ed3=_0x468ed3-0x10d;var _0x53c410=_0x212690[_0x468ed3];return _0x53c410;},_0x468e(_0x5a00a0,_0x3d97ff);}import{UploadcareImageEditUI as _0x2b2a0c}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x25d2e6{static get[_0x53e6bf(0x115)](){var _0x371465=_0x53e6bf;return _0x371465(0x118);}static get[_0x53e6bf(0x116)](){return[_0x45303e,_0x2b2a0c];}static get[_0x53e6bf(0x10e)](){return!0x0;}static get[_0x53e6bf(0x11c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x294bbf=_0x5a7b;(function(_0xe1cc4a,_0x4e860c){const _0x4af79d=_0x5a7b,_0x4bb64f=_0xe1cc4a();while(!![]){try{const _0x3f82f9=-parseInt(_0x4af79d(0x196))/0x1*(-parseInt(_0x4af79d(0x1a6))/0x2)+parseInt(_0x4af79d(0x17e))/0x3+parseInt(_0x4af79d(0x17f))/0x4*(parseInt(_0x4af79d(0x1b7))/0x5)+-parseInt(_0x4af79d(0x1a8))/0x6+parseInt(_0x4af79d(0x1a4))/0x7+parseInt(_0x4af79d(0x18d))/0x8+-parseInt(_0x4af79d(0x1c5))/0x9;if(_0x3f82f9===_0x4e860c)break;else _0x4bb64f['push'](_0x4bb64f['shift']());}catch(_0x860870){_0x4bb64f['push'](_0x4bb64f['shift']());}}}(_0x7573,0xa7333));import{Plugin as _0x4560c7}from'ckeditor5/src/core.js';import{IconDropbox as _0x432910,IconFacebook as _0x315e3d,IconGoogleDrive as _0x9d4478,IconGooglePhotos as _0x4c8654,IconUploadcareImageUpload as _0x1f5f69,IconUploadcareLink as _0x553ab,IconOneDrive as _0x57bb1c}from'ckeditor5/src/icons.js';import{ButtonView as _0x274c0d,MenuBarMenuListItemButtonView as _0x32331a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4cb3ba}from'./uploadcareconfig.js';import{getTranslation as _0x1eb6e5}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x7573(){const _0x14d1ec=['2140733ySrpyI','push','941326UuRuUv','Replace','4344870nPwqzi','uploadcareLicenseKeyEvaluationLimit','domainLimit','pluginName','trialLimit','_getIntegrationKey','assetManager','isPremiumPlugin','_normalizeConfigSourceList','uploadcareLicenseKeyNotAllowed','Local','GPhotos','GDrive','afterInit','isImageSelected','3555245OwjjGJ','OneDrive','type','withText','Dropbox','reduce','evaluationLimit','uploadcareLicenseKeyUsageLimit','_showLicenseError','icon','licenseKey','init','entries','_createDropdownButtons','12968019ZhXPiQ','map','invalid','ImageInsertUI','plugins','has','UploadcareUI','shortText','_createMenuBarButtons','1220961SLVYhN','4KJHRkJ','isEnabled','upload','editor','execute','Insert','featureNotAllowed','_createButton','tooltip','_createToolbarButton','_licenseKeyCheckInterval','registerIntegration','config','isOfficialPlugin','7642952jKUQkd','forEach','bind','URL','label','uploadcareLicenseKeyInvalid','text','destroy','uploadcareLicenseKeyValid','1Dxakzz','expired','url','uploadcare.uploader.sourceList','Uploadcare','Facebook','uploadcare','locale','get','uploadcareLicenseKeyExpired','commands','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyTrialLimit','usageLimit'];_0x7573=function(){return _0x14d1ec;};return _0x7573();}function _0x5a7b(_0x468bac,_0x25f3b0){const _0x757327=_0x7573();return _0x5a7b=function(_0x5a7b3b,_0x72185d){_0x5a7b3b=_0x5a7b3b-0x178;let _0x7871b4=_0x757327[_0x5a7b3b];return _0x7871b4;},_0x5a7b(_0x468bac,_0x25f3b0);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4560c7{[_0x294bbf(0x1c1)];[_0x294bbf(0x189)];static get[_0x294bbf(0x1ab)](){const _0x4098fb=_0x294bbf;return _0x4098fb(0x17b);}static get[_0x294bbf(0x18c)](){return!0x0;}static get[_0x294bbf(0x1af)](){return!0x0;}[_0x294bbf(0x1c2)](){const _0xff55b8=_0x294bbf;this[_0xff55b8(0x1c1)]=this[_0xff55b8(0x182)][_0xff55b8(0x18b)][_0xff55b8(0x19e)](_0xff55b8(0x1c1));const _0x11be53=this[_0xff55b8(0x182)];this[_0xff55b8(0x189)]=setInterval(()=>{const _0x5039cc=_0xff55b8;let _0x3a80c9;for(const _0xdd9660 in _0x11be53){const _0x13c462=_0xdd9660,_0x1703a2=_0x11be53[_0x13c462];if(_0x5039cc(0x195)==_0x1703a2||_0x5039cc(0x192)==_0x1703a2||_0x5039cc(0x19f)==_0x1703a2||_0x5039cc(0x1a1)==_0x1703a2||_0x5039cc(0x1b1)==_0x1703a2||_0x5039cc(0x1a9)==_0x1703a2||_0x5039cc(0x1a2)==_0x1703a2||_0x5039cc(0x1be)==_0x1703a2){delete _0x11be53[_0x13c462],_0x3a80c9=_0x1703a2,clearInterval(this[_0x5039cc(0x189)]),this[_0x5039cc(0x189)]=void 0x0;break;}}_0x5039cc(0x192)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x1c7)),_0x5039cc(0x19f)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x197)),_0x5039cc(0x1a1)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x1aa)),_0x5039cc(0x1b1)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x185),_0x5039cc(0x19a)),_0x5039cc(0x1a9)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x1bd)),_0x5039cc(0x1a2)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x1ac)),_0x5039cc(0x1be)==_0x3a80c9&&_0x11be53[_0x5039cc(0x1bf)](_0x5039cc(0x1a3));},0x3e8);}[_0x294bbf(0x1b5)](){const _0x49b07e=_0x294bbf,{editor:_0x269017}=this,_0x46178d=_0x269017[_0x49b07e(0x1a0)][_0x49b07e(0x19e)](_0x49b07e(0x19c));if(!_0x46178d)return;const _0x34f39c=this[_0x49b07e(0x1b0)](_0x269017[_0x49b07e(0x18b)][_0x49b07e(0x19e)](_0x49b07e(0x199)))[_0x49b07e(0x1bc)]((_0x5bd693,_0x2d0113)=>{const _0xd8facf=_0x49b07e,_0x50c408=this[_0xd8facf(0x1ad)](_0x2d0113[_0xd8facf(0x1b9)]);return _0x5bd693[_0x50c408]||(_0x5bd693[_0x50c408]=[]),_0x5bd693[_0x50c408][_0xd8facf(0x1a5)](_0x2d0113),_0x5bd693;},{});_0x269017[_0x49b07e(0x179)][_0x49b07e(0x17a)](_0x49b07e(0x178))&&_0x269017[_0x49b07e(0x1a0)][_0x49b07e(0x19e)](_0x49b07e(0x19c))&&Object[_0x49b07e(0x1c3)](_0x34f39c)[_0x49b07e(0x18e)](([_0x2f9e68,_0x20fd6d])=>{const _0x40765b=_0x49b07e;_0x269017[_0x40765b(0x179)][_0x40765b(0x19e)](_0x40765b(0x178))[_0x40765b(0x18a)]({'name':_0x2f9e68,'observable':()=>_0x46178d,'buttonViewCreator':()=>this[_0x40765b(0x188)](_0x20fd6d),'formViewCreator':()=>this[_0x40765b(0x1c4)](_0x20fd6d),'menuBarButtonViewCreator':()=>this[_0x40765b(0x17d)](_0x20fd6d),'override':_0x40765b(0x1ae)!==_0x2f9e68});});}[_0x294bbf(0x194)](){const _0x589794=_0x294bbf;super[_0x589794(0x194)](),this[_0x589794(0x189)]&&clearInterval(this[_0x589794(0x189)]);}[_0x294bbf(0x1b0)](_0x142014){const _0x5bb5e6=_0x294bbf,{locale:_0x514e99}=this[_0x5bb5e6(0x182)];return _0x142014[_0x5bb5e6(0x1c6)](_0x3688f1=>{const _0x289d05=_0x5bb5e6,_0x3ac0c9=_0x1eb6e5(_0x514e99,_0x3688f1,_0x289d05(0x184));switch(_0x3688f1){case _0x4cb3ba[_0x289d05(0x1b2)]:return{'icon':_0x1f5f69,'type':_0x4cb3ba[_0x289d05(0x1b2)],..._0x3ac0c9};case _0x4cb3ba[_0x289d05(0x190)]:return{'icon':_0x553ab,'type':_0x4cb3ba[_0x289d05(0x190)],..._0x3ac0c9};case _0x4cb3ba[_0x289d05(0x1bb)]:return{'icon':_0x432910,'type':_0x4cb3ba[_0x289d05(0x1bb)],..._0x3ac0c9};case _0x4cb3ba[_0x289d05(0x19b)]:return{'icon':_0x315e3d,'type':_0x4cb3ba[_0x289d05(0x19b)],..._0x3ac0c9};case _0x4cb3ba[_0x289d05(0x1b4)]:return{'icon':_0x9d4478,'type':_0x4cb3ba[_0x289d05(0x1b4)],..._0x3ac0c9};case _0x4cb3ba[_0x289d05(0x1b3)]:return{'icon':_0x4c8654,'type':_0x4cb3ba[_0x289d05(0x1b3)],..._0x3ac0c9};case _0x4cb3ba[_0x289d05(0x1b8)]:return{'icon':_0x57bb1c,'type':_0x4cb3ba[_0x289d05(0x1b8)],..._0x3ac0c9};}});}[_0x294bbf(0x1ad)](_0x31f400){const _0x5483cd=_0x294bbf;switch(_0x31f400){case _0x4cb3ba[_0x5483cd(0x1b2)]:return _0x5483cd(0x181);case _0x4cb3ba[_0x5483cd(0x190)]:return _0x5483cd(0x198);default:return _0x5483cd(0x1ae);}}[_0x294bbf(0x186)](_0x483618,_0x373cce){const _0x267208=_0x294bbf,_0x4ad19d=this[_0x267208(0x182)],_0x23af71=new _0x483618(_0x4ad19d[_0x267208(0x19d)]),_0x2c4f16=_0x4ad19d[_0x267208(0x1a0)][_0x267208(0x19e)](_0x267208(0x19c));return _0x23af71[_0x267208(0x18f)](_0x267208(0x180))['to'](_0x2c4f16),_0x23af71['on'](_0x267208(0x183),()=>{const _0x19720b=_0x267208;_0x2c4f16[_0x19720b(0x183)](_0x373cce);}),_0x23af71;}[_0x294bbf(0x188)](_0x2b05d3){const _0x464c83=_0x294bbf,{locale:_0x10b79c}=this[_0x464c83(0x182)],_0xef6371=this[_0x464c83(0x182)][_0x464c83(0x179)][_0x464c83(0x19e)](_0x464c83(0x178)),_0x3c9ee9=_0x2b05d3[0x0],_0x3366c7=this[_0x464c83(0x186)](_0x274c0d,_0x3c9ee9[_0x464c83(0x1b9)]);return _0x3366c7[_0x464c83(0x1c0)]=_0x3c9ee9[_0x464c83(0x1c0)],_0x3366c7[_0x464c83(0x18f)](_0x464c83(0x191))['to'](_0xef6371,_0x464c83(0x1b6),_0x3052f1=>_0x1eb6e5(_0x10b79c,_0x3c9ee9[_0x464c83(0x1b9)],_0x3052f1?_0x464c83(0x1a7):_0x464c83(0x184))[_0x464c83(0x193)]),_0x3366c7[_0x464c83(0x187)]=!0x0,_0x3366c7;}[_0x294bbf(0x1c4)](_0x5bb1a7){const _0x445bb9=_0x294bbf,{locale:_0x42553a}=this[_0x445bb9(0x182)],_0x15c969=this[_0x445bb9(0x182)][_0x445bb9(0x179)][_0x445bb9(0x19e)](_0x445bb9(0x178));return _0x5bb1a7[_0x445bb9(0x1c6)](_0x14dd2c=>{const _0x3ecacc=_0x445bb9,_0x29ee28=this[_0x3ecacc(0x186)](_0x274c0d,_0x14dd2c[_0x3ecacc(0x1b9)]);return _0x29ee28[_0x3ecacc(0x1ba)]=!0x0,_0x29ee28[_0x3ecacc(0x1c0)]=_0x14dd2c[_0x3ecacc(0x1c0)],_0x29ee28[_0x3ecacc(0x18f)](_0x3ecacc(0x191))['to'](_0x15c969,_0x3ecacc(0x1b6),_0x380dae=>_0x1eb6e5(_0x42553a,_0x14dd2c[_0x3ecacc(0x1b9)],_0x380dae?_0x3ecacc(0x1a7):_0x3ecacc(0x184))[_0x3ecacc(0x193)]),_0x29ee28;});}[_0x294bbf(0x17d)](_0x433e9e){const _0x51ffa9=_0x294bbf;return _0x433e9e[_0x51ffa9(0x1c6)](_0x579cc7=>{const _0x105b8a=_0x51ffa9,_0x2659d7=this[_0x105b8a(0x186)](_0x32331a,_0x579cc7[_0x105b8a(0x1b9)]);return _0x2659d7[_0x105b8a(0x1c0)]=_0x579cc7[_0x105b8a(0x1c0)],_0x2659d7[_0x105b8a(0x191)]=_0x579cc7[_0x105b8a(0x17c)],_0x2659d7;});}}
23
+ function _0x3081(){const _0x43709a=['init','UploadcareUI','_createToolbarButton','271LptlzO','invalid','afterInit','_normalizeConfigSourceList','29004KuIXMH','trialLimit','icon','url','locale','upload','tooltip','domainLimit','isImageSelected','entries','uploadcareLicenseKeyUsageLimit','_createDropdownButtons','map','get','GPhotos','assetManager','isPremiumPlugin','13368MxRwql','GDrive','4124500revdVU','evaluationLimit','4761zPqadw','featureNotAllowed','URL','destroy','uploadcareLicenseKeyDomainLimit','Uploadcare','text','uploadcareLicenseKeyValid','2990zKwSwE','withText','_licenseKeyCheckInterval','pluginName','label','Replace','push','type','usageLimit','execute','reduce','expired','uploadcareLicenseKeyTrialLimit','isOfficialPlugin','editor','_getIntegrationKey','uploadcare.uploader.sourceList','Insert','registerIntegration','2446976waamZy','bind','_showLicenseError','2706240JuIsHZ','Local','440rOvAzP','licenseKey','config','plugins','OneDrive','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyNotAllowed','commands','isEnabled','Dropbox','40335qsSjzJ','forEach','has','_createMenuBarButtons','shortText','uploadcareLicenseKeyEvaluationLimit','uploadcare','Facebook','_createButton','uploadcareLicenseKeyExpired','ImageInsertUI'];_0x3081=function(){return _0x43709a;};return _0x3081();}const _0x823d78=_0x4f62;(function(_0x412960,_0x57d9bb){const _0x4ff312=_0x4f62,_0x528d9b=_0x412960();while(!![]){try{const _0x5dfb1c=-parseInt(_0x4ff312(0x168))/0x1*(-parseInt(_0x4ff312(0x189))/0x2)+-parseInt(_0x4ff312(0x1ab))/0x3+parseInt(_0x4ff312(0x17f))/0x4+parseInt(_0x4ff312(0x1a1))/0x5*(-parseInt(_0x4ff312(0x16c))/0x6)+parseInt(_0x4ff312(0x19c))/0x7+parseInt(_0x4ff312(0x17d))/0x8*(-parseInt(_0x4ff312(0x181))/0x9)+parseInt(_0x4ff312(0x19f))/0xa;if(_0x5dfb1c===_0x57d9bb)break;else _0x528d9b['push'](_0x528d9b['shift']());}catch(_0x6d9382){_0x528d9b['push'](_0x528d9b['shift']());}}}(_0x3081,0xb31e2));import{Plugin as _0x36393c}from'ckeditor5/src/core.js';import{IconDropbox as _0x1185ff,IconFacebook as _0x311278,IconGoogleDrive as _0x179742,IconGooglePhotos as _0xf5efc2,IconUploadcareImageUpload as _0x33b935,IconUploadcareLink as _0x29e391,IconOneDrive as _0x131bdb}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b684c,MenuBarMenuListItemButtonView as _0xd90acd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xc81012}from'./uploadcareconfig.js';function _0x4f62(_0x2fd6bd,_0x523e27){const _0x308136=_0x3081();return _0x4f62=function(_0x4f6289,_0x35de5f){_0x4f6289=_0x4f6289-0x161;let _0x1e2f9a=_0x308136[_0x4f6289];return _0x1e2f9a;},_0x4f62(_0x2fd6bd,_0x523e27);}import{getTranslation as _0x238b7f}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 _0x36393c{[_0x823d78(0x1a2)];[_0x823d78(0x18b)];static get[_0x823d78(0x18c)](){const _0x54b4f4=_0x823d78;return _0x54b4f4(0x166);}static get[_0x823d78(0x196)](){return!0x0;}static get[_0x823d78(0x17c)](){return!0x0;}[_0x823d78(0x165)](){const _0x4034c9=_0x823d78;this[_0x4034c9(0x1a2)]=this[_0x4034c9(0x197)][_0x4034c9(0x1a3)][_0x4034c9(0x179)](_0x4034c9(0x1a2));const _0x1c1272=this[_0x4034c9(0x197)];this[_0x4034c9(0x18b)]=setInterval(()=>{const _0x213227=_0x4034c9;let _0x30fdb8;for(const _0x572066 in _0x1c1272){const _0x178588=_0x572066,_0x3e76b8=_0x1c1272[_0x178588];if(_0x213227(0x188)==_0x3e76b8||_0x213227(0x1a6)==_0x3e76b8||_0x213227(0x163)==_0x3e76b8||_0x213227(0x185)==_0x3e76b8||_0x213227(0x1a7)==_0x3e76b8||_0x213227(0x1b0)==_0x3e76b8||_0x213227(0x195)==_0x3e76b8||_0x213227(0x176)==_0x3e76b8){delete _0x1c1272[_0x178588],_0x30fdb8=_0x3e76b8,clearInterval(this[_0x213227(0x18b)]),this[_0x213227(0x18b)]=void 0x0;break;}}_0x213227(0x1a6)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x169)),_0x213227(0x163)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x194)),_0x213227(0x185)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x173)),_0x213227(0x1a7)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x182),_0x213227(0x186)),_0x213227(0x1b0)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x180)),_0x213227(0x195)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x16d)),_0x213227(0x176)==_0x30fdb8&&_0x1c1272[_0x213227(0x19e)](_0x213227(0x191));},0x3e8);}[_0x823d78(0x16a)](){const _0x4e5d52=_0x823d78,{editor:_0x2e7d5d}=this,_0x42b343=_0x2e7d5d[_0x4e5d52(0x1a8)][_0x4e5d52(0x179)](_0x4e5d52(0x1b1));if(!_0x42b343)return;const _0x27276f=this[_0x4e5d52(0x16b)](_0x2e7d5d[_0x4e5d52(0x1a3)][_0x4e5d52(0x179)](_0x4e5d52(0x199)))[_0x4e5d52(0x193)]((_0x116aab,_0x40d616)=>{const _0x34c5ba=_0x4e5d52,_0x592267=this[_0x34c5ba(0x198)](_0x40d616[_0x34c5ba(0x190)]);return _0x116aab[_0x592267]||(_0x116aab[_0x592267]=[]),_0x116aab[_0x592267][_0x34c5ba(0x18f)](_0x40d616),_0x116aab;},{});_0x2e7d5d[_0x4e5d52(0x1a4)][_0x4e5d52(0x1ad)](_0x4e5d52(0x164))&&_0x2e7d5d[_0x4e5d52(0x1a8)][_0x4e5d52(0x179)](_0x4e5d52(0x1b1))&&Object[_0x4e5d52(0x175)](_0x27276f)[_0x4e5d52(0x1ac)](([_0x2df8f3,_0xe8e542])=>{const _0x50c9e5=_0x4e5d52;_0x2e7d5d[_0x50c9e5(0x1a4)][_0x50c9e5(0x179)](_0x50c9e5(0x164))[_0x50c9e5(0x19b)]({'name':_0x2df8f3,'observable':()=>_0x42b343,'buttonViewCreator':()=>this[_0x50c9e5(0x167)](_0xe8e542),'formViewCreator':()=>this[_0x50c9e5(0x177)](_0xe8e542),'menuBarButtonViewCreator':()=>this[_0x50c9e5(0x1ae)](_0xe8e542),'override':_0x50c9e5(0x17b)!==_0x2df8f3});});}[_0x823d78(0x184)](){const _0x3ada73=_0x823d78;super[_0x3ada73(0x184)](),this[_0x3ada73(0x18b)]&&clearInterval(this[_0x3ada73(0x18b)]);}[_0x823d78(0x16b)](_0x595747){const _0x456f77=_0x823d78,{locale:_0x3a1d42}=this[_0x456f77(0x197)];return _0x595747[_0x456f77(0x178)](_0x12678f=>{const _0x53de57=_0x456f77,_0x1b8122=_0x238b7f(_0x3a1d42,_0x12678f,_0x53de57(0x19a));switch(_0x12678f){case _0xc81012[_0x53de57(0x1a0)]:return{'icon':_0x33b935,'type':_0xc81012[_0x53de57(0x1a0)],..._0x1b8122};case _0xc81012[_0x53de57(0x183)]:return{'icon':_0x29e391,'type':_0xc81012[_0x53de57(0x183)],..._0x1b8122};case _0xc81012[_0x53de57(0x1aa)]:return{'icon':_0x1185ff,'type':_0xc81012[_0x53de57(0x1aa)],..._0x1b8122};case _0xc81012[_0x53de57(0x161)]:return{'icon':_0x311278,'type':_0xc81012[_0x53de57(0x161)],..._0x1b8122};case _0xc81012[_0x53de57(0x17e)]:return{'icon':_0x179742,'type':_0xc81012[_0x53de57(0x17e)],..._0x1b8122};case _0xc81012[_0x53de57(0x17a)]:return{'icon':_0xf5efc2,'type':_0xc81012[_0x53de57(0x17a)],..._0x1b8122};case _0xc81012[_0x53de57(0x1a5)]:return{'icon':_0x131bdb,'type':_0xc81012[_0x53de57(0x1a5)],..._0x1b8122};}});}[_0x823d78(0x198)](_0x445a78){const _0x4fa9fd=_0x823d78;switch(_0x445a78){case _0xc81012[_0x4fa9fd(0x1a0)]:return _0x4fa9fd(0x171);case _0xc81012[_0x4fa9fd(0x183)]:return _0x4fa9fd(0x16f);default:return _0x4fa9fd(0x17b);}}[_0x823d78(0x162)](_0xbe79f2,_0x3dd958){const _0xbb1576=_0x823d78,_0x395244=this[_0xbb1576(0x197)],_0x3ddcc5=new _0xbe79f2(_0x395244[_0xbb1576(0x170)]),_0x5abc72=_0x395244[_0xbb1576(0x1a8)][_0xbb1576(0x179)](_0xbb1576(0x1b1));return _0x3ddcc5[_0xbb1576(0x19d)](_0xbb1576(0x1a9))['to'](_0x5abc72),_0x3ddcc5['on'](_0xbb1576(0x192),()=>{const _0x38b7f2=_0xbb1576;_0x5abc72[_0x38b7f2(0x192)](_0x3dd958);}),_0x3ddcc5;}[_0x823d78(0x167)](_0xc81799){const _0x20f5a7=_0x823d78,{locale:_0x9ae1de}=this[_0x20f5a7(0x197)],_0x17a702=this[_0x20f5a7(0x197)][_0x20f5a7(0x1a4)][_0x20f5a7(0x179)](_0x20f5a7(0x164)),_0x202b44=_0xc81799[0x0],_0xa21a21=this[_0x20f5a7(0x162)](_0x4b684c,_0x202b44[_0x20f5a7(0x190)]);return _0xa21a21[_0x20f5a7(0x16e)]=_0x202b44[_0x20f5a7(0x16e)],_0xa21a21[_0x20f5a7(0x19d)](_0x20f5a7(0x18d))['to'](_0x17a702,_0x20f5a7(0x174),_0xf91588=>_0x238b7f(_0x9ae1de,_0x202b44[_0x20f5a7(0x190)],_0xf91588?_0x20f5a7(0x18e):_0x20f5a7(0x19a))[_0x20f5a7(0x187)]),_0xa21a21[_0x20f5a7(0x172)]=!0x0,_0xa21a21;}[_0x823d78(0x177)](_0x536567){const _0x27dfa1=_0x823d78,{locale:_0x1be002}=this[_0x27dfa1(0x197)],_0x7f5781=this[_0x27dfa1(0x197)][_0x27dfa1(0x1a4)][_0x27dfa1(0x179)](_0x27dfa1(0x164));return _0x536567[_0x27dfa1(0x178)](_0x531fa4=>{const _0x3d28fb=_0x27dfa1,_0x4cc7d4=this[_0x3d28fb(0x162)](_0x4b684c,_0x531fa4[_0x3d28fb(0x190)]);return _0x4cc7d4[_0x3d28fb(0x18a)]=!0x0,_0x4cc7d4[_0x3d28fb(0x16e)]=_0x531fa4[_0x3d28fb(0x16e)],_0x4cc7d4[_0x3d28fb(0x19d)](_0x3d28fb(0x18d))['to'](_0x7f5781,_0x3d28fb(0x174),_0x41ec2a=>_0x238b7f(_0x1be002,_0x531fa4[_0x3d28fb(0x190)],_0x41ec2a?_0x3d28fb(0x18e):_0x3d28fb(0x19a))[_0x3d28fb(0x187)]),_0x4cc7d4;});}[_0x823d78(0x1ae)](_0x473072){const _0x1e2371=_0x823d78;return _0x473072[_0x1e2371(0x178)](_0x45d6bd=>{const _0x47ac06=_0x1e2371,_0x659b05=this[_0x47ac06(0x162)](_0xd90acd,_0x45d6bd[_0x47ac06(0x190)]);return _0x659b05[_0x47ac06(0x16e)]=_0x45d6bd[_0x47ac06(0x16e)],_0x659b05[_0x47ac06(0x18d)]=_0x45d6bd[_0x47ac06(0x1af)],_0x659b05;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x23fa9a}from'ckeditor5/src/core.js';import{FileRepository as _0x50e782}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x46676f}from'./uploadcareediting.js';import{UploadUtils as _0x550a97}from'./utils/uploadutils.js';import{getImageUrls as _0xd5102b}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x23fa9a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x50e782,_0x46676f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xe330fb=this['editor'];if(!!!_0xe330fb['config']['get']('uploadcare'))return;_0xe330fb['plugins']['get'](_0x50e782)['createUploadAdapter']=_0x1cbd6c=>new A(_0x1cbd6c,_0xe330fb),_0xe330fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1788db,{imageElement:_0x57be60,data:_0x397427})=>{_0xe330fb['model']['change'](_0x1da017=>{_0x1da017['setAttribute']('uploadcareImageId',_0x397427['uploadcareImageId'],_0x57be60);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x252be7,_0x1b8f18){this['loader']=_0x252be7,this['editor']=_0x1b8f18,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d3edd=this['editor']['config']['get']('uploadcare.pubkey'),_0x574c1d=await this['loader']['file'];return _0x550a97['upload']({'file':_0x574c1d,'publicKey':_0x5d3edd,'signal':this['controller']['signal'],'onProgress':_0x56a2b9=>{_0x56a2b9&&_0x56a2b9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x56a2b9['value']);}})['then'](async _0x460c3e=>{const {imageFallbackUrl:_0x5d2ee0,imageSources:_0x1d527f}=_0xd5102b(_0x460c3e['cdnUrl'],_0x460c3e['imageInfo']['width']);return{'uploadcareImageId':_0x460c3e['uuid'],'default':_0x5d2ee0,'sources':_0x1d527f};})['catch'](()=>{const _0x2a623b=t('Cannot\x20upload\x20file:')+('\x20'+_0x574c1d['name']+'.');return Promise['reject'](_0x2a623b);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x188858}from'ckeditor5/src/core.js';import{FileRepository as _0x312ad2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4ca976}from'./uploadcareediting.js';import{UploadUtils as _0x2bb2d9}from'./utils/uploadutils.js';import{getImageUrls as _0x1f39aa}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x188858{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x312ad2,_0x4ca976];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3d1e97=this['editor'];if(!!!_0x3d1e97['config']['get']('uploadcare'))return;_0x3d1e97['plugins']['get'](_0x312ad2)['createUploadAdapter']=_0x133ca0=>new A(_0x133ca0,_0x3d1e97),_0x3d1e97['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4cb2cb,{imageElement:_0xf43822,data:_0x1ed4d1})=>{_0x3d1e97['model']['change'](_0x387b3b=>{_0x387b3b['setAttribute']('uploadcareImageId',_0x1ed4d1['uploadcareImageId'],_0xf43822);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x49e136,_0x576c35){this['loader']=_0x49e136,this['editor']=_0x576c35,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x962178=this['editor']['config']['get']('uploadcare.pubkey'),_0x4a973f=await this['loader']['file'];return _0x2bb2d9['upload']({'file':_0x4a973f,'publicKey':_0x962178,'signal':this['controller']['signal'],'onProgress':_0x5ce6d3=>{_0x5ce6d3&&_0x5ce6d3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5ce6d3['value']);}})['then'](async _0x5e8ee1=>{const {imageFallbackUrl:_0x50fadd,imageSources:_0x3e8bec}=_0x1f39aa(_0x5e8ee1['cdnUrl'],_0x5e8ee1['imageInfo']['width']);return{'uploadcareImageId':_0x5e8ee1['uuid'],'default':_0x50fadd,'sources':_0x3e8bec};})['catch'](()=>{const _0x1eb5a5=t('Cannot\x20upload\x20file:')+('\x20'+_0x4a973f['name']+'.');return Promise['reject'](_0x1eb5a5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x327fb1}from'../uploadcareconfig.js';export function getTranslation(_0x338e1f,_0x196614,_0x2763e6){const t=_0x338e1f['t'],_0x295e17=_0x338e1f['t'];switch(_0x196614){case _0x327fb1['Local']:return{'text':_0x295e17('Insert'===_0x2763e6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x295e17('From\x20computer')};case _0x327fb1['URL']:return{'text':'Insert'===_0x2763e6?_0x295e17('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x295e17('Via\x20URL')};case _0x327fb1['Dropbox']:return{'text':t('Insert'===_0x2763e6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x327fb1['Facebook']:return{'text':t('Insert'===_0x2763e6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x327fb1['GDrive']:return{'text':t('Insert'===_0x2763e6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x327fb1['GPhotos']:return{'text':t('Insert'===_0x2763e6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x327fb1['OneDrive']:return{'text':t('Insert'===_0x2763e6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x196614;}}
23
+ import{UploadcareSource as _0x12c38c}from'../uploadcareconfig.js';export function getTranslation(_0x383422,_0x4563e0,_0x3d42cf){const t=_0x383422['t'],_0x6b6638=_0x383422['t'];switch(_0x4563e0){case _0x12c38c['Local']:return{'text':_0x6b6638('Insert'===_0x3d42cf?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x6b6638('From\x20computer')};case _0x12c38c['URL']:return{'text':'Insert'===_0x3d42cf?_0x6b6638('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x6b6638('Via\x20URL')};case _0x12c38c['Dropbox']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x12c38c['Facebook']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x12c38c['GDrive']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x12c38c['GPhotos']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x12c38c['OneDrive']:return{'text':t('Insert'===_0x3d42cf?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4563e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4fe583=_0xc147;function _0xc147(_0x4bb8c3,_0xbe1cc8){var _0x2f3198=_0x2f31();return _0xc147=function(_0xc147e6,_0x1dc00f){_0xc147e6=_0xc147e6-0xaf;var _0x860650=_0x2f3198[_0xc147e6];return _0x860650;},_0xc147(_0x4bb8c3,_0xbe1cc8);}(function(_0x5411ed,_0x3d4976){var _0x16e641=_0xc147,_0x36156e=_0x5411ed();while(!![]){try{var _0x5c9ed2=-parseInt(_0x16e641(0xc0))/0x1*(-parseInt(_0x16e641(0xb5))/0x2)+-parseInt(_0x16e641(0xba))/0x3*(-parseInt(_0x16e641(0xb1))/0x4)+-parseInt(_0x16e641(0xb4))/0x5*(parseInt(_0x16e641(0xc3))/0x6)+-parseInt(_0x16e641(0xb3))/0x7+parseInt(_0x16e641(0xc1))/0x8*(-parseInt(_0x16e641(0xb2))/0x9)+-parseInt(_0x16e641(0xbc))/0xa*(parseInt(_0x16e641(0xbd))/0xb)+parseInt(_0x16e641(0xaf))/0xc*(parseInt(_0x16e641(0xb9))/0xd);if(_0x5c9ed2===_0x3d4976)break;else _0x36156e['push'](_0x36156e['shift']());}catch(_0x1c1d39){_0x36156e['push'](_0x36156e['shift']());}}}(_0x2f31,0x84ec4));import{FocusTracker as _0x1c2be1}from'ckeditor5/src/utils.js';import{View as _0x1a2eb5,FocusCycler as _0xb8b1a3}from'ckeditor5/src/ui.js';function _0x2f31(){var _0x5c2bd8=['fire','20IEqXcY','45YaySmw','4562901YFvlFQ','4564160ibFpxZ','16brafIq','createCollection','forwardCycle','focusCycler','441051QFOGGX','377817GkaRoK','bindTemplate','6967670bgmxLr','11wqGqZr','true','div','123143jgiMkv','265640hqqskj','getFocusableElement','6zpCfIO','focusTracker','480jyQCqF'];_0x2f31=function(){return _0x5c2bd8;};return _0x2f31();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1a2eb5{[_0x4fe583(0xc4)];[_0x4fe583(0xb8)];constructor(_0x23be45){var _0xcd45bf=_0x4fe583;super(_0x23be45),this[_0xcd45bf(0xc4)]=new _0x1c2be1(),this[_0xcd45bf(0xb8)]=new _0xb8b1a3({'focusables':this[_0xcd45bf(0xb6)](),'focusTracker':this[_0xcd45bf(0xc4)]});}[_0x4fe583(0xc2)](){var _0x3fa01f=_0x4fe583;return{'tag':_0x3fa01f(0xbf),'attributes':{'aria-hidden':_0x3fa01f(0xbe),'tabindex':'0'},'on':{'focus':this[_0x3fa01f(0xbb)]['to'](()=>{var _0x17c43e=_0x3fa01f;this[_0x17c43e(0xb8)][_0x17c43e(0xb0)](_0x17c43e(0xb7));})}};}}
23
+ var _0x4ce466=_0x298b;function _0x298b(_0x175b66,_0x5cb7d3){var _0x3817ac=_0x3817();return _0x298b=function(_0x298b81,_0x334017){_0x298b81=_0x298b81-0xab;var _0x43e31e=_0x3817ac[_0x298b81];return _0x43e31e;},_0x298b(_0x175b66,_0x5cb7d3);}(function(_0x13c4e3,_0x49e8ec){var _0x2c914b=_0x298b,_0x3f04fa=_0x13c4e3();while(!![]){try{var _0x5d57ed=parseInt(_0x2c914b(0xae))/0x1+-parseInt(_0x2c914b(0xb4))/0x2*(-parseInt(_0x2c914b(0xb3))/0x3)+-parseInt(_0x2c914b(0xb2))/0x4*(parseInt(_0x2c914b(0xb8))/0x5)+-parseInt(_0x2c914b(0xb0))/0x6*(parseInt(_0x2c914b(0xab))/0x7)+parseInt(_0x2c914b(0xbd))/0x8+-parseInt(_0x2c914b(0xb6))/0x9+-parseInt(_0x2c914b(0xac))/0xa*(-parseInt(_0x2c914b(0xb9))/0xb);if(_0x5d57ed===_0x49e8ec)break;else _0x3f04fa['push'](_0x3f04fa['shift']());}catch(_0x19e89d){_0x3f04fa['push'](_0x3f04fa['shift']());}}}(_0x3817,0xd487d));import{FocusTracker as _0x99bae4}from'ckeditor5/src/utils.js';function _0x3817(){var _0x367e57=['1892231mfgnwa','createCollection','true','bindTemplate','3453520GdCwOf','forwardCycle','4742129PCqCHV','90kaRmEk','div','1420627IIrqDr','focusTracker','6KXGRlB','getFocusableElement','6056nOfAOR','16053dsUCDi','2ToeKqg','focusCycler','11910987rFwsAh','fire','1765xDMrmg'];_0x3817=function(){return _0x367e57;};return _0x3817();}import{View as _0x571bb8,FocusCycler as _0x4b0776}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x571bb8{[_0x4ce466(0xaf)];[_0x4ce466(0xb5)];constructor(_0x12768d){var _0x401673=_0x4ce466;super(_0x12768d),this[_0x401673(0xaf)]=new _0x99bae4(),this[_0x401673(0xb5)]=new _0x4b0776({'focusables':this[_0x401673(0xba)](),'focusTracker':this[_0x401673(0xaf)]});}[_0x4ce466(0xb1)](){var _0xc31f79=_0x4ce466;return{'tag':_0xc31f79(0xad),'attributes':{'aria-hidden':_0xc31f79(0xbb),'tabindex':'0'},'on':{'focus':this[_0xc31f79(0xbc)]['to'](()=>{var _0x4f153f=_0xc31f79;this[_0x4f153f(0xb5)][_0x4f153f(0xb7)](_0x4f153f(0xbe));})}};}}