@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250911.0 → 0.0.0-nightly-20250913.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 (174) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/uploadcare.js +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.js +1 -1
  157. package/src/uploadcareediting.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5be7a7=_0x3d1c;(function(_0x5c1dcb,_0x13ae2f){const _0x5428dd=_0x3d1c,_0x367d45=_0x5c1dcb();while(!![]){try{const _0x109ac1=parseInt(_0x5428dd(0x220))/0x1*(parseInt(_0x5428dd(0x22c))/0x2)+parseInt(_0x5428dd(0x1f7))/0x3*(parseInt(_0x5428dd(0x214))/0x4)+parseInt(_0x5428dd(0x20b))/0x5*(parseInt(_0x5428dd(0x235))/0x6)+-parseInt(_0x5428dd(0x222))/0x7+parseInt(_0x5428dd(0x21a))/0x8*(-parseInt(_0x5428dd(0x1eb))/0x9)+parseInt(_0x5428dd(0x20f))/0xa*(-parseInt(_0x5428dd(0x21c))/0xb)+-parseInt(_0x5428dd(0x202))/0xc;if(_0x109ac1===_0x13ae2f)break;else _0x367d45['push'](_0x367d45['shift']());}catch(_0x1c72cb){_0x367d45['push'](_0x367d45['shift']());}}}(_0x3ff9,0x2a893));import{Plugin as _0x11b550}from'ckeditor5/src/core.js';import{Dialog as _0x5cd9d1}from'ckeditor5/src/ui.js';import{createElement as _0x1ca417,global as _0x3fef7e,uid as _0x526742}from'ckeditor5/src/utils.js';function _0x3d1c(_0xeb9653,_0x5bd708){const _0x3ff9db=_0x3ff9();return _0x3d1c=function(_0x3d1c23,_0x359867){_0x3d1c23=_0x3d1c23-0x1ea;let _0x1b27fc=_0x3ff9db[_0x3d1c23];return _0x1b27fc;},_0x3d1c(_0xeb9653,_0x5bd708);}import{UploadcareCommand as _0x2d296c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x30cab0}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3cbb4b}from'./utils/editingutils.js';function _0x3ff9(){const _0x546ecf=['uploader-','remove','369qNeSCe','init','editor','_initConfig','for','join','model','uploadcare.uploader','elementToAttribute','input[uploadcare-file-input]','getSelectedElement','querySelector','195dNHslw','imageInline','conversion','contentLanguage','getAttribute','attributeToAttribute','imageBlock','document','listenTo','isRegistered','_initConversion','227280gmYCPB','ucContextId','_initImageProcessingIndicator','#uc-icon-arrow-down','_initSchema','map','true','get','uploadcareImageId','27245HSBRmY','requires','add','ctxElement','1191300lOtmSk','pluginName','editing','appendChild','uc-config','10552bDdkBO','afterInit','selection','closeMax','view','isOfficialPlugin','10616uIzAlX','downcast','11JrwmLH','render','insertImage','destroy','1BSWBpe','iconHrefResolver','1692796JOszrH','UploadcareEditing','config','commands','PictureEditing','extend','uc-upload-ctx-provider','href','uploadcareImageReplace','isPremiumPlugin','688858PMAacK','schema','locale','once','replaceImageSource','uploadcare','uploadcare.pubkey','removeAttribute','fromCharCode','102aYJnwF','body','data-uc-image-id','\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','_initCtx','_configElement','upcast','cleanupImage','_ctxElement','execute','configElement'];_0x3ff9=function(){return _0x546ecf;};return _0x3ff9();}export class UploadcareEditing extends _0x11b550{[_0x5be7a7(0x23a)]=null;[_0x5be7a7(0x23d)]=null;static get[_0x5be7a7(0x210)](){const _0x384919=_0x5be7a7;return _0x384919(0x223);}static get[_0x5be7a7(0x20c)](){const _0x3967a8=_0x5be7a7;return[_0x3967a8(0x226),_0x30cab0,_0x5cd9d1];}static get[_0x5be7a7(0x219)](){return!0x0;}static get[_0x5be7a7(0x22b)](){return!0x0;}[_0x5be7a7(0x203)];get[_0x5be7a7(0x23f)](){const _0x370be8=_0x5be7a7;return this[_0x370be8(0x23a)];}get[_0x5be7a7(0x20e)](){const _0x3758cb=_0x5be7a7;return this[_0x3758cb(0x23d)];}constructor(_0x639662){const _0x561b9a=_0x5be7a7;super(_0x639662),this[_0x561b9a(0x203)]=_0x526742();}[_0x5be7a7(0x1ec)](){const _0x37469e=_0x5be7a7,_0x51d130=this[_0x37469e(0x1ed)];_0x51d130[_0x37469e(0x225)][_0x37469e(0x20d)](_0x37469e(0x231),new _0x2d296c(_0x51d130));}[_0x5be7a7(0x215)](){const _0x101f0e=_0x5be7a7;this[_0x101f0e(0x206)](),this[_0x101f0e(0x201)](),this[_0x101f0e(0x1ee)](),this[_0x101f0e(0x239)](),this[_0x101f0e(0x204)](),this[_0x101f0e(0x1ff)](this[_0x101f0e(0x1ed)],_0x101f0e(0x21f),()=>{const _0xf749c2=_0x101f0e;this[_0xf749c2(0x23a)]&&(this[_0xf749c2(0x23a)][_0xf749c2(0x1ea)](),this[_0xf749c2(0x23a)]=null),this[_0xf749c2(0x23d)]&&(this[_0xf749c2(0x23d)][_0xf749c2(0x1ea)](),this[_0xf749c2(0x23d)]=null);const _0x40f6de=_0x3fef7e[_0xf749c2(0x1fe)][_0xf749c2(0x1f6)](_0xf749c2(0x1f4));_0x40f6de&&_0x40f6de[_0xf749c2(0x1ea)]();}),async function(_0x10131d){const _0x14eeb1=_0x5acbaa([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]),_0x59b35c=0x3d8d0df,_0x4809c3=0x3dfa3cf^_0x59b35c,_0x204dbb=window[_0x5acbaa([0x44,0x61,0x74,0x65])][_0x5acbaa([0x6e,0x6f,0x77])](),_0x50a19e=_0x10131d[_0x5acbaa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c76a3=new window[(_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55fd78=>{_0x50a19e[_0x5acbaa([0x6f,0x6e,0x63,0x65])](_0x5acbaa([0x72,0x65,0x61,0x64,0x79]),_0x55fd78);}),_0x1c0618={[_0x5acbaa([0x6b,0x74,0x79])]:_0x5acbaa([0x45,0x43]),[_0x5acbaa([0x75,0x73,0x65])]:_0x5acbaa([0x73,0x69,0x67]),[_0x5acbaa([0x63,0x72,0x76])]:_0x5acbaa([0x50,0x2d,0x32,0x35,0x36]),[_0x5acbaa([0x78])]:_0x5acbaa([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]),[_0x5acbaa([0x79])]:_0x5acbaa([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]),[_0x5acbaa([0x61,0x6c,0x67])]:_0x5acbaa([0x45,0x53,0x32,0x35,0x36])},_0x30ad0b=_0x50a19e[_0x5acbaa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5acbaa([0x67,0x65,0x74])](_0x5acbaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48f887(){let _0x4f72cf,_0xfb2892=null,_0x283dae=null;try{if(_0x30ad0b==_0x5acbaa([0x47,0x50,0x4c]))return _0x5acbaa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f72cf=_0x260008(),!_0x4f72cf)return _0x5acbaa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f72cf[_0x5acbaa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x283dae=_0x3d4f8f(_0x4f72cf[_0x5acbaa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f72cf[_0x5acbaa([0x6a,0x74,0x69])])),await _0x8ef76()?_0x390cd8()?_0x2f7c2f()?_0x5acbaa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5584b4()?(_0x4f72cf[_0x5acbaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5acbaa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xfb2892=_0x26c38e(_0x5acbaa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4f72cf[_0x5acbaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5acbaa([0x74,0x72,0x69,0x61,0x6c])&&(_0xfb2892=_0x26c38e(_0x5acbaa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19b891()):_0x5acbaa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5acbaa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5acbaa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5acbaa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f7c2f(){const _0x3c9c64=[_0x5acbaa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5acbaa([0x74,0x72,0x69,0x61,0x6c])][_0x5acbaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f72cf[_0x5acbaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x204dbb/0x3e8:0xe10*_0x4809c3;return _0x4f72cf[_0x5acbaa([0x65,0x78,0x70])]<_0x3c9c64;}function _0x390cd8(){const _0xed3920=_0x4f72cf[_0x5acbaa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xed3920&&(!!_0xed3920[_0x5acbaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5acbaa([0x2a]))||!!_0xed3920[_0x5acbaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5acbaa([0x55,0x50,0x4c,0x43])));}function _0x5584b4(){const _0x1536b2=_0x3d1c,_0x4810de=_0x4f72cf[_0x5acbaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4810de||0x0==_0x4810de[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x545ab9}=new URL(window[_0x5acbaa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1536b2(0x229)]);if(_0x4810de[_0x5acbaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x545ab9))return!0x0;const _0x4a81d8=_0x545ab9[_0x5acbaa([0x73,0x70,0x6c,0x69,0x74])](_0x5acbaa([0x2e]));return _0x4810de[_0x5acbaa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b1b7d=>_0x2b1b7d[_0x5acbaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5acbaa([0x2a])))[_0x5acbaa([0x6d,0x61,0x70])](_0xe06096=>_0xe06096[_0x5acbaa([0x73,0x70,0x6c,0x69,0x74])](_0x5acbaa([0x2e])))[_0x5acbaa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56f647=>_0x56f647[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a81d8[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5acbaa([0x6d,0x61,0x70])](_0x58df12=>Array(_0x4a81d8[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58df12[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5acbaa([0x66,0x69,0x6c,0x6c])](_0x58df12[0x0]===_0x5acbaa([0x2a])?_0x5acbaa([0x2a]):'')[_0x5acbaa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58df12))[_0x5acbaa([0x73,0x6f,0x6d,0x65])](_0x5f2b3e=>_0x4a81d8[_0x5acbaa([0x65,0x76,0x65,0x72,0x79])]((_0x4cc2d7,_0x49c50b)=>_0x5f2b3e[_0x49c50b]===_0x4cc2d7||_0x5f2b3e[_0x49c50b]===_0x5acbaa([0x2a])));}function _0x19b891(){return _0xfb2892&&_0x283dae?new window[(_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17cd80,_0x28df10)=>{_0xfb2892[_0x5acbaa([0x74,0x68,0x65,0x6e])](_0x17cd80,_0x28df10),_0x283dae[_0x5acbaa([0x74,0x68,0x65,0x6e])](_0x5ce580=>{_0x5ce580!=_0x5acbaa([0x56,0x61,0x6c,0x69,0x64])&&_0x17cd80(_0x5ce580);},_0x28df10);}):_0xfb2892||_0x283dae||_0x5acbaa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d4f8f(_0x15a27,_0xf4583e){return new window[(_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37245f=>{if(_0x419b89())return _0x37245f(_0x5acbaa([0x56,0x61,0x6c,0x69,0x64]));_0x5d7b56(),_0x50a19e[_0x5acbaa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5acbaa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4938a5=!0x1;const _0x473290=_0x526742();function _0x24e5c7(_0x1fb383){return!!_0x1fb383&&(typeof _0x1fb383===_0x5acbaa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fb383===_0x5acbaa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fb383[_0x5acbaa([0x74,0x68,0x65,0x6e])]===_0x5acbaa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fb383[_0x5acbaa([0x63,0x61,0x74,0x63,0x68])]===_0x5acbaa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x532fcb(_0x19d67f){_0x3d92e0(_0x19d67f)[_0x5acbaa([0x74,0x68,0x65,0x6e])](_0x18e0e2=>{if(!_0x18e0e2||_0x18e0e2[_0x5acbaa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5acbaa([0x6f,0x6b]))return _0x5acbaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40f155(_0x1bd4a6(_0x473290+_0xf4583e))!=_0x18e0e2[_0x5acbaa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5acbaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5acbaa([0x56,0x61,0x6c,0x69,0x64]);})[_0x5acbaa([0x74,0x68,0x65,0x6e])](_0x44aa40=>(_0x3eed9c(),_0x44aa40),()=>{const _0x16dd88=_0x4c46c0();return null==_0x16dd88?(_0x3eed9c(),_0x5acbaa([0x56,0x61,0x6c,0x69,0x64])):_0x5acbaa(_0x204dbb-_0x16dd88>(0x27d454df^_0x59b35c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5acbaa([0x74,0x68,0x65,0x6e])](_0x37245f)[_0x5acbaa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37245f(_0x5acbaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2951d2=0x3ee3e5f^_0x59b35c;function _0x3eed9c(){const _0x28960c=_0x5acbaa([0x6c,0x6c,0x63,0x74,0x2d])+_0x40f155(_0x1bd4a6(_0x15a27)),_0x3fdbc6=_0x2ea0b0(_0x40f155(window[_0x5acbaa([0x4d,0x61,0x74,0x68])][_0x5acbaa([0x63,0x65,0x69,0x6c])](_0x204dbb/_0x2951d2)));window[_0x5acbaa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5acbaa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28960c,_0x3fdbc6);}function _0x4c46c0(){const _0x23e997=_0x5acbaa([0x6c,0x6c,0x63,0x74,0x2d])+_0x40f155(_0x1bd4a6(_0x15a27)),_0x14c529=window[_0x5acbaa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5acbaa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23e997);return _0x14c529?window[_0x5acbaa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ea0b0(_0x14c529),0x10)*_0x2951d2:null;}function _0x3d92e0(_0x354a54){return new window[(_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x73dd02,_0x22a61a)=>{_0x354a54[_0x5acbaa([0x74,0x68,0x65,0x6e])](_0x73dd02,_0x22a61a),window[_0x5acbaa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22a61a,0x3d9041f^_0x59b35c);});}}_0x50a19e[_0x5acbaa([0x6f,0x6e])](_0x5acbaa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44a7d3,_0x2a2a13)=>{if(_0x2a2a13[0x0]!=_0x15a27)return _0x37245f(_0x5acbaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a2a13[0x1]={..._0x2a2a13[0x1],[_0x5acbaa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x473290};},{[_0x5acbaa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5acbaa([0x68,0x69,0x67,0x68])}),_0x50a19e[_0x5acbaa([0x6f,0x6e])](_0x5acbaa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1674b8=>{_0x24e5c7(_0x1674b8[_0x5acbaa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4938a5=!0x0,_0x532fcb(_0x1674b8[_0x5acbaa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5acbaa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5acbaa([0x6c,0x6f,0x77])}),_0x5c76a3[_0x5acbaa([0x74,0x68,0x65,0x6e])](()=>{_0x4938a5||_0x37245f(_0x5acbaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x419b89(){return _0x50a19e[_0x5acbaa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5acbaa([0x76,0x69,0x65,0x77])][_0x5acbaa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5acbaa([0x61,0x75,0x74,0x6f]);}function _0x5d7b56(){_0x50a19e[_0x5acbaa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5acbaa([0x76,0x69,0x65,0x77])][_0x5acbaa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5acbaa([0x61,0x75,0x74,0x6f]);}}function _0x26c38e(_0x230de0){const _0x422557=[new window[(_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d8bc6=>setTimeout(_0x3d8bc6,0x3d1ee13^_0x59b35c)),_0x5c76a3[_0x5acbaa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2578f1=>{let _0x2f2dda=0x0;_0x50a19e[_0x5acbaa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5acbaa([0x6f,0x6e])](_0x5acbaa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x533315,_0x11a951)=>{_0x11a951[0x0][_0x5acbaa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f2dda++,_0x2f2dda==(0x3d8d127^_0x59b35c)&&(_0x2578f1(),_0x533315[_0x5acbaa([0x6f,0x66,0x66])]());});}))];return window[_0x5acbaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5acbaa([0x72,0x61,0x63,0x65])](_0x422557)[_0x5acbaa([0x74,0x68,0x65,0x6e])](()=>_0x230de0);}async function _0x29fcdb(){await _0x5c76a3,_0x50a19e[_0x5acbaa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5acbaa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14cce5,_0x50a19e[_0x5acbaa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5acbaa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14cce5,_0x50a19e[_0x5acbaa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5acbaa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26d7ae(_0x56b00c){const _0x543590=_0x1792df();_0x50a19e[_0x543590]=_0x5acbaa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56b00c,_0x56b00c!=_0x5acbaa([0x56,0x61,0x6c,0x69,0x64])&&_0x29fcdb();}function _0x1792df(){const _0x3a86ff=window[_0x5acbaa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5acbaa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5acbaa([0x6e,0x6f,0x77])]())[_0x5acbaa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5acbaa([0x2e]),'');let _0x51285d=_0x5acbaa([0x52]);for(let _0x36fcf9=0x0;_0x36fcf9<_0x3a86ff[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36fcf9+=0x2){let _0x2f8ab8=window[_0x5acbaa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a86ff[_0x5acbaa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36fcf9,_0x36fcf9+0x2));_0x2f8ab8>=_0x14eeb1[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f8ab8-=_0x14eeb1[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51285d+=_0x14eeb1[_0x2f8ab8];}return _0x51285d;}function _0x260008(){const _0x2e32f8=_0x30ad0b[_0x5acbaa([0x73,0x70,0x6c,0x69,0x74])](_0x5acbaa([0x2e]));if(0x3!=_0x2e32f8[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26dcaa(_0x2e32f8[0x1]);function _0x26dcaa(_0x540d39){const _0x30c4c7=_0x144e0b(_0x540d39);return _0x30c4c7&&_0x5de839()?_0x30c4c7:null;function _0x5de839(){const _0x154c66=_0x30c4c7[_0x5acbaa([0x6a,0x74,0x69])],_0x50af77=window[_0x5acbaa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x154c66[_0x5acbaa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x154c66[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf192cc={..._0x30c4c7,[_0x5acbaa([0x6a,0x74,0x69])]:_0x154c66[_0x5acbaa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x154c66[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf192cc[_0x5acbaa([0x76,0x63])],_0x1bd4a6(_0xf192cc)==_0x50af77;}}}async function _0x8ef76(){let _0x5c502c=!0x0;try{const _0x42b666=_0x30ad0b[_0x5acbaa([0x73,0x70,0x6c,0x69,0x74])](_0x5acbaa([0x2e])),[_0x47eaad,_0x5c987a,_0x31aadf]=_0x42b666;return _0x7c4503(_0x47eaad),await _0x98a09d(_0x47eaad,_0x5c987a,_0x31aadf),_0x5c502c;}catch{return!0x1;}function _0x7c4503(_0x56c94a){const _0x26517f=_0x144e0b(_0x56c94a);_0x26517f&&_0x26517f[_0x5acbaa([0x61,0x6c,0x67])]==_0x5acbaa([0x45,0x53,0x32,0x35,0x36])||(_0x5c502c=!0x1);}async function _0x98a09d(_0x9b5118,_0x43b5b7,_0x599b9d){const _0x59677f=window[_0x5acbaa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5acbaa([0x66,0x72,0x6f,0x6d])](_0x56ca9d(_0x599b9d),_0x41dbd8=>_0x41dbd8[_0x5acbaa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbe4093=new window[(_0x5acbaa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5acbaa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9b5118+_0x5acbaa([0x2e])+_0x43b5b7),_0x4fbe9f=window[_0x5acbaa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5acbaa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4fbe9f)return;const _0x31abb2=await _0x4fbe9f[_0x5acbaa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5acbaa([0x6a,0x77,0x6b]),_0x1c0618,{[_0x5acbaa([0x6e,0x61,0x6d,0x65])]:_0x5acbaa([0x45,0x43,0x44,0x53,0x41]),[_0x5acbaa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5acbaa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5acbaa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4fbe9f[_0x5acbaa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5acbaa([0x6e,0x61,0x6d,0x65])]:_0x5acbaa([0x45,0x43,0x44,0x53,0x41]),[_0x5acbaa([0x68,0x61,0x73,0x68])]:{[_0x5acbaa([0x6e,0x61,0x6d,0x65])]:_0x5acbaa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31abb2,_0x59677f,_0xbe4093)||(_0x5c502c=!0x1);}}function _0x144e0b(_0x9bdbf5){return _0x9bdbf5[_0x5acbaa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5acbaa([0x65,0x79]))?JSON[_0x5acbaa([0x70,0x61,0x72,0x73,0x65])](_0x56ca9d(_0x9bdbf5)):null;}function _0x56ca9d(_0x48c553){return window[_0x5acbaa([0x61,0x74,0x6f,0x62])](_0x48c553[_0x5acbaa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5acbaa([0x2b]))[_0x5acbaa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5acbaa([0x2f])));}function _0x1bd4a6(_0x89edcd){let _0x5e84cb=0x1505;function _0x7b4410(_0x420f45){for(let _0x4065f3=0x0;_0x4065f3<_0x420f45[_0x5acbaa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4065f3++){const _0x425fef=_0x420f45[_0x5acbaa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4065f3);_0x5e84cb=(_0x5e84cb<<0x5)+_0x5e84cb+_0x425fef,_0x5e84cb&=_0x5e84cb;}}function _0x2e28be(_0x366df8){Array[_0x5acbaa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x366df8)?_0x366df8[_0x5acbaa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e28be):_0x366df8&&typeof _0x366df8==_0x5acbaa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5acbaa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x366df8)[_0x5acbaa([0x73,0x6f,0x72,0x74])]()[_0x5acbaa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f4e3a,_0x4139ab])=>{_0x7b4410(_0x1f4e3a),_0x2e28be(_0x4139ab);}):_0x7b4410(window[_0x5acbaa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x366df8));}return _0x2e28be(_0x89edcd),_0x5e84cb>>>0x0;}function _0x40f155(_0x48d0db){return _0x48d0db[_0x5acbaa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5acbaa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5acbaa([0x30]));}function _0x2ea0b0(_0x197449){return _0x197449[_0x5acbaa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5acbaa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5acbaa([0x6a,0x6f,0x69,0x6e])]('');}function _0x14cce5(){}function _0x5acbaa(_0x43b6c3){const _0x7bb19f=_0x3d1c;return _0x43b6c3[_0x7bb19f(0x207)](_0x20741c=>String[_0x7bb19f(0x234)](_0x20741c))[_0x7bb19f(0x1f0)]('');}_0x26d7ae(await _0x48f887());}(this);}[_0x5be7a7(0x206)](){const _0x1b8f09=_0x5be7a7,_0xd9311c=this[_0x1b8f09(0x1ed)][_0x1b8f09(0x1f1)][_0x1b8f09(0x22d)];_0xd9311c[_0x1b8f09(0x200)](_0x1b8f09(0x1fd))&&_0xd9311c[_0x1b8f09(0x227)](_0x1b8f09(0x1fd),{'allowAttributes':[_0x1b8f09(0x20a)]}),_0xd9311c[_0x1b8f09(0x200)](_0x1b8f09(0x1f8))&&_0xd9311c[_0x1b8f09(0x227)](_0x1b8f09(0x1f8),{'allowAttributes':[_0x1b8f09(0x20a)]});}[_0x5be7a7(0x201)](){const _0x1048e6=_0x5be7a7,_0x115f24=this[_0x1048e6(0x1ed)];_0x115f24[_0x1048e6(0x1f9)][_0x1048e6(0x1ef)](_0x1048e6(0x21b))[_0x1048e6(0x1fc)]({'model':_0x1048e6(0x20a),'view':_0x1048e6(0x237)}),_0x115f24[_0x1048e6(0x1f9)][_0x1048e6(0x1ef)](_0x1048e6(0x23b))[_0x1048e6(0x1f3)]({'model':{'key':_0x1048e6(0x20a),'value':_0x5c918e=>_0x5c918e[_0x1048e6(0x1fb)](_0x1048e6(0x237))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3973d8=_0x115f24[_0x1048e6(0x225)][_0x1048e6(0x209)](_0x1048e6(0x230));_0x3973d8&&this[_0x1048e6(0x1ff)](_0x3973d8,_0x1048e6(0x23c),(_0x2cbfa0,[_0x143562,_0x1188b4])=>{const _0x5b8e16=_0x1048e6;_0x143562[_0x5b8e16(0x233)](_0x5b8e16(0x20a),_0x1188b4);});}[_0x5be7a7(0x1ee)](){const _0x40a81c=_0x5be7a7,_0x55bd40=this[_0x40a81c(0x1ed)][_0x40a81c(0x224)][_0x40a81c(0x209)](_0x40a81c(0x1f2))||{},_0x1df53e=this[_0x40a81c(0x1ed)][_0x40a81c(0x224)][_0x40a81c(0x209)](_0x40a81c(0x232))||'';this[_0x40a81c(0x23a)]=_0x1ca417(_0x3fef7e[_0x40a81c(0x1fe)],_0x40a81c(0x213),{..._0x55bd40,'pubkey':_0x1df53e,'ctx-name':_0x40a81c(0x240)+this[_0x40a81c(0x203)],'sourceList':'','imgOnly':_0x40a81c(0x208),'removeCopyright':_0x40a81c(0x208),'localeName':this[_0x40a81c(0x1ed)][_0x40a81c(0x22e)][_0x40a81c(0x1fa)],'externalSourcesEmbedCss':_0x40a81c(0x238)}),this[_0x40a81c(0x23a)][_0x40a81c(0x221)]=_0x337746=>{const _0x1cd1bc=_0x40a81c;if(_0x1cd1bc(0x217)==_0x337746)return _0x1cd1bc(0x205);},_0x3fef7e[_0x40a81c(0x1fe)][_0x40a81c(0x236)][_0x40a81c(0x212)](this[_0x40a81c(0x23a)]);}[_0x5be7a7(0x239)](){const _0x44e3b5=_0x5be7a7;this[_0x44e3b5(0x23d)]=_0x1ca417(_0x3fef7e[_0x44e3b5(0x1fe)],_0x44e3b5(0x228),{'ctx-name':_0x44e3b5(0x240)+this[_0x44e3b5(0x203)]}),_0x3fef7e[_0x44e3b5(0x1fe)][_0x44e3b5(0x236)][_0x44e3b5(0x212)](this[_0x44e3b5(0x23d)]);}[_0x5be7a7(0x204)](){const _0x2d6d32=_0x5be7a7,_0x2b3374=this[_0x2d6d32(0x1ed)][_0x2d6d32(0x225)][_0x2d6d32(0x209)](_0x2d6d32(0x21e));_0x2b3374&&this[_0x2d6d32(0x1ff)](_0x2b3374,_0x2d6d32(0x23e),()=>{const _0x2ebe26=_0x2d6d32,_0x2e1c85=this[_0x2ebe26(0x1ed)][_0x2ebe26(0x1f1)][_0x2ebe26(0x1fe)][_0x2ebe26(0x216)][_0x2ebe26(0x1f5)]();_0x2e1c85&&_0x2e1c85[_0x2ebe26(0x1fb)](_0x2ebe26(0x20a))&&this[_0x2ebe26(0x1ed)][_0x2ebe26(0x211)][_0x2ebe26(0x218)][_0x2ebe26(0x22f)](_0x2ebe26(0x21d),()=>{const _0x36cc92=_0x2ebe26;_0x3cbb4b(this[_0x36cc92(0x1ed)],_0x2e1c85);});});const _0x423db9=this[_0x2d6d32(0x1ed)][_0x2d6d32(0x225)][_0x2d6d32(0x209)](_0x2d6d32(0x22a));_0x423db9&&this[_0x2d6d32(0x1ff)](_0x423db9,_0x2d6d32(0x23e),()=>{const _0x422012=_0x2d6d32,_0x17d723=this[_0x422012(0x1ed)][_0x422012(0x1f1)][_0x422012(0x1fe)][_0x422012(0x216)][_0x422012(0x1f5)]();_0x17d723&&_0x17d723[_0x422012(0x1fb)](_0x422012(0x20a))&&this[_0x422012(0x1ed)][_0x422012(0x211)][_0x422012(0x218)][_0x422012(0x22f)](_0x422012(0x21d),()=>{const _0x1f2c5b=_0x422012;_0x3cbb4b(this[_0x1f2c5b(0x1ed)],_0x17d723);});});}}
23
+ const _0x22d80f=_0x1c15;(function(_0x1ff753,_0x480f33){const _0x5bc4e9=_0x1c15,_0x2e8eef=_0x1ff753();while(!![]){try{const _0x298d54=parseInt(_0x5bc4e9(0x1a3))/0x1*(-parseInt(_0x5bc4e9(0x195))/0x2)+-parseInt(_0x5bc4e9(0x153))/0x3*(-parseInt(_0x5bc4e9(0x19c))/0x4)+-parseInt(_0x5bc4e9(0x15b))/0x5*(-parseInt(_0x5bc4e9(0x171))/0x6)+-parseInt(_0x5bc4e9(0x189))/0x7*(parseInt(_0x5bc4e9(0x18a))/0x8)+parseInt(_0x5bc4e9(0x170))/0x9+parseInt(_0x5bc4e9(0x17b))/0xa+parseInt(_0x5bc4e9(0x167))/0xb*(-parseInt(_0x5bc4e9(0x14f))/0xc);if(_0x298d54===_0x480f33)break;else _0x2e8eef['push'](_0x2e8eef['shift']());}catch(_0x129ddc){_0x2e8eef['push'](_0x2e8eef['shift']());}}}(_0x2ef8,0x5dc4d));import{Plugin as _0x13be07}from'ckeditor5/src/core.js';function _0x1c15(_0x318fa4,_0x2e6a8b){const _0x2ef88d=_0x2ef8();return _0x1c15=function(_0x1c1592,_0x11d370){_0x1c1592=_0x1c1592-0x14d;let _0x431dfd=_0x2ef88d[_0x1c1592];return _0x431dfd;},_0x1c15(_0x318fa4,_0x2e6a8b);}import{Dialog as _0x30b02d}from'ckeditor5/src/ui.js';import{createElement as _0x8113da,global as _0x1f59d4,uid as _0x24054f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4ff3c5}from'./uploadcarecommand.js';function _0x2ef8(){const _0x1f5087=['elementToAttribute','_initConversion','input[uploadcare-file-input]','_ctxElement','uploadcareImageId','get','6521130fUAmbZ','4106022oBxAQR','querySelector','uploader-','getAttribute','PictureEditing','extend','_initSchema','once','map','uploadcare','1351290DBPEdS','isOfficialPlugin','data-uc-image-id','attributeToAttribute','ucContextId','listenTo','document','replaceImageSource','imageBlock','#uc-icon-arrow-down','configElement','uc-upload-ctx-provider','uploadcare.pubkey','init','183337IBaqcq','232VhPxzq','commands','UploadcareEditing','contentLanguage','for','schema','model','insertImage','_configElement','config','selection','50258zhijlD','uc-config','true','closeMax','body','uploadcareImageReplace','uploadcare.uploader','4nTJtkI','destroy','href','cleanupImage','editor','downcast','_initConfig','11fOjrGE','join','pluginName','12LAWbDl','iconHrefResolver','_initImageProcessingIndicator','upcast','371238xrwBul','appendChild','add','isPremiumPlugin','execute','imageInline','ctxElement','editing','5uMJSLs','\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','remove','afterInit','removeAttribute','conversion','getSelectedElement','view','render','fromCharCode','locale','isRegistered','2725217tKHnbE','requires','_initCtx'];_0x2ef8=function(){return _0x1f5087;};return _0x2ef8();}import{UploadcareUploadAdapter as _0x2e21a9}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x32f8a3}from'./utils/editingutils.js';export class UploadcareEditing extends _0x13be07{[_0x22d80f(0x192)]=null;[_0x22d80f(0x16d)]=null;static get[_0x22d80f(0x14e)](){const _0x24925c=_0x22d80f;return _0x24925c(0x18c);}static get[_0x22d80f(0x168)](){const _0x51bd6a=_0x22d80f;return[_0x51bd6a(0x175),_0x2e21a9,_0x30b02d];}static get[_0x22d80f(0x17c)](){return!0x0;}static get[_0x22d80f(0x156)](){return!0x0;}[_0x22d80f(0x17f)];get[_0x22d80f(0x185)](){const _0xac452c=_0x22d80f;return this[_0xac452c(0x192)];}get[_0x22d80f(0x159)](){const _0x43b7f9=_0x22d80f;return this[_0x43b7f9(0x16d)];}constructor(_0x468e57){const _0x48f1a4=_0x22d80f;super(_0x468e57),this[_0x48f1a4(0x17f)]=_0x24054f();}[_0x22d80f(0x188)](){const _0x1cf0f5=_0x22d80f,_0x4511cb=this[_0x1cf0f5(0x1a0)];_0x4511cb[_0x1cf0f5(0x18b)][_0x1cf0f5(0x155)](_0x1cf0f5(0x17a),new _0x4ff3c5(_0x4511cb));}[_0x22d80f(0x15e)](){const _0xee257a=_0x22d80f;this[_0xee257a(0x177)](),this[_0xee257a(0x16b)](),this[_0xee257a(0x1a2)](),this[_0xee257a(0x169)](),this[_0xee257a(0x151)](),this[_0xee257a(0x180)](this[_0xee257a(0x1a0)],_0xee257a(0x19d),()=>{const _0x4182f8=_0xee257a;this[_0x4182f8(0x192)]&&(this[_0x4182f8(0x192)][_0x4182f8(0x15d)](),this[_0x4182f8(0x192)]=null),this[_0x4182f8(0x16d)]&&(this[_0x4182f8(0x16d)][_0x4182f8(0x15d)](),this[_0x4182f8(0x16d)]=null);const _0x258beb=_0x1f59d4[_0x4182f8(0x181)][_0x4182f8(0x172)](_0x4182f8(0x16c));_0x258beb&&_0x258beb[_0x4182f8(0x15d)]();}),async function(_0x592242){const _0x3928c7=_0xb87b66([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]),_0x3a56eb=0x3d8d0df,_0x50d352=0x3dfa39f^_0x3a56eb,_0x415ef8=window[_0xb87b66([0x44,0x61,0x74,0x65])][_0xb87b66([0x6e,0x6f,0x77])](),_0x8e1f69=_0x592242[_0xb87b66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5810ad=new window[(_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x490d4a=>{_0x8e1f69[_0xb87b66([0x6f,0x6e,0x63,0x65])](_0xb87b66([0x72,0x65,0x61,0x64,0x79]),_0x490d4a);}),_0x7539f0={[_0xb87b66([0x6b,0x74,0x79])]:_0xb87b66([0x45,0x43]),[_0xb87b66([0x75,0x73,0x65])]:_0xb87b66([0x73,0x69,0x67]),[_0xb87b66([0x63,0x72,0x76])]:_0xb87b66([0x50,0x2d,0x32,0x35,0x36]),[_0xb87b66([0x78])]:_0xb87b66([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]),[_0xb87b66([0x79])]:_0xb87b66([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]),[_0xb87b66([0x61,0x6c,0x67])]:_0xb87b66([0x45,0x53,0x32,0x35,0x36])},_0x5f5c56=_0x8e1f69[_0xb87b66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb87b66([0x67,0x65,0x74])](_0xb87b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b1826(){let _0x1be8e0,_0xd14f86=null,_0x2fa005=null;try{if(_0x5f5c56==_0xb87b66([0x47,0x50,0x4c]))return _0xb87b66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1be8e0=_0x56b8ef(),!_0x1be8e0)return _0xb87b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1be8e0[_0xb87b66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2fa005=_0x3d2b05(_0x1be8e0[_0xb87b66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1be8e0[_0xb87b66([0x6a,0x74,0x69])])),await _0x51d0b8()?_0x51f32c()?_0x48bec9()?_0xb87b66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b5ef4()?(_0x1be8e0[_0xb87b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb87b66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd14f86=_0xf72108(_0xb87b66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1be8e0[_0xb87b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb87b66([0x74,0x72,0x69,0x61,0x6c])&&(_0xd14f86=_0xf72108(_0xb87b66([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xb426ea()):_0xb87b66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb87b66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb87b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb87b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48bec9(){const _0x39f1ac=[_0xb87b66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb87b66([0x74,0x72,0x69,0x61,0x6c])][_0xb87b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1be8e0[_0xb87b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x415ef8/0x3e8:0xe10*_0x50d352;return _0x1be8e0[_0xb87b66([0x65,0x78,0x70])]<_0x39f1ac;}function _0x51f32c(){const _0x22762b=_0x1be8e0[_0xb87b66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22762b&&(!!_0x22762b[_0xb87b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb87b66([0x2a]))||!!_0x22762b[_0xb87b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb87b66([0x55,0x50,0x4c,0x43])));}function _0x2b5ef4(){const _0x3cebca=_0x1c15,_0x2da746=_0x1be8e0[_0xb87b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2da746||0x0==_0x2da746[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41f25c}=new URL(window[_0xb87b66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3cebca(0x19e)]);if(_0x2da746[_0xb87b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41f25c))return!0x0;const _0x18b473=_0x41f25c[_0xb87b66([0x73,0x70,0x6c,0x69,0x74])](_0xb87b66([0x2e]));return _0x2da746[_0xb87b66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x406dd2=>_0x406dd2[_0xb87b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb87b66([0x2a])))[_0xb87b66([0x6d,0x61,0x70])](_0x4707a7=>_0x4707a7[_0xb87b66([0x73,0x70,0x6c,0x69,0x74])](_0xb87b66([0x2e])))[_0xb87b66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x184a2b=>_0x184a2b[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x18b473[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb87b66([0x6d,0x61,0x70])](_0xe91284=>Array(_0x18b473[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe91284[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb87b66([0x66,0x69,0x6c,0x6c])](_0xe91284[0x0]===_0xb87b66([0x2a])?_0xb87b66([0x2a]):'')[_0xb87b66([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe91284))[_0xb87b66([0x73,0x6f,0x6d,0x65])](_0x4dfe98=>_0x18b473[_0xb87b66([0x65,0x76,0x65,0x72,0x79])]((_0xf95a29,_0x4f21a6)=>_0x4dfe98[_0x4f21a6]===_0xf95a29||_0x4dfe98[_0x4f21a6]===_0xb87b66([0x2a])));}function _0xb426ea(){return _0xd14f86&&_0x2fa005?new window[(_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434c60,_0x203b61)=>{_0xd14f86[_0xb87b66([0x74,0x68,0x65,0x6e])](_0x434c60,_0x203b61),_0x2fa005[_0xb87b66([0x74,0x68,0x65,0x6e])](_0x1c114d=>{_0x1c114d!=_0xb87b66([0x56,0x61,0x6c,0x69,0x64])&&_0x434c60(_0x1c114d);},_0x203b61);}):_0xd14f86||_0x2fa005||_0xb87b66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d2b05(_0x537cb2,_0x370189){return new window[(_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x132237=>{if(_0x185c70())return _0x132237(_0xb87b66([0x56,0x61,0x6c,0x69,0x64]));_0x59d2a8(),_0x8e1f69[_0xb87b66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb87b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x147e95=!0x1;const _0x144ad3=_0x24054f();function _0x40e559(_0x5264e5){return!!_0x5264e5&&(typeof _0x5264e5===_0xb87b66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5264e5===_0xb87b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5264e5[_0xb87b66([0x74,0x68,0x65,0x6e])]===_0xb87b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5264e5[_0xb87b66([0x63,0x61,0x74,0x63,0x68])]===_0xb87b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2806f2(_0x54cbcc){_0x3878ef(_0x54cbcc)[_0xb87b66([0x74,0x68,0x65,0x6e])](_0x14f298=>{if(!_0x14f298||_0x14f298[_0xb87b66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb87b66([0x6f,0x6b]))return _0xb87b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51e443(_0x5f7250(_0x144ad3+_0x370189))!=_0x14f298[_0xb87b66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb87b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb87b66([0x56,0x61,0x6c,0x69,0x64]);})[_0xb87b66([0x74,0x68,0x65,0x6e])](_0x410261=>(_0x46f808(),_0x410261),()=>{const _0x1d424b=_0x446572();return null==_0x1d424b?(_0x46f808(),_0xb87b66([0x56,0x61,0x6c,0x69,0x64])):_0xb87b66(_0x415ef8-_0x1d424b>(0x27d454df^_0x3a56eb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb87b66([0x74,0x68,0x65,0x6e])](_0x132237)[_0xb87b66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x132237(_0xb87b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3638f5=0x3ee3e5f^_0x3a56eb;function _0x46f808(){const _0x30c528=_0xb87b66([0x6c,0x6c,0x63,0x74,0x2d])+_0x51e443(_0x5f7250(_0x537cb2)),_0x19eb2b=_0x9c79c5(_0x51e443(window[_0xb87b66([0x4d,0x61,0x74,0x68])][_0xb87b66([0x63,0x65,0x69,0x6c])](_0x415ef8/_0x3638f5)));window[_0xb87b66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb87b66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30c528,_0x19eb2b);}function _0x446572(){const _0x18de58=_0xb87b66([0x6c,0x6c,0x63,0x74,0x2d])+_0x51e443(_0x5f7250(_0x537cb2)),_0x5b4fd3=window[_0xb87b66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb87b66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18de58);return _0x5b4fd3?window[_0xb87b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9c79c5(_0x5b4fd3),0x10)*_0x3638f5:null;}function _0x3878ef(_0x3004fd){return new window[(_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a6ec3,_0x222198)=>{_0x3004fd[_0xb87b66([0x74,0x68,0x65,0x6e])](_0x5a6ec3,_0x222198),window[_0xb87b66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x222198,0x3d9041f^_0x3a56eb);});}}_0x8e1f69[_0xb87b66([0x6f,0x6e])](_0xb87b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51d22a,_0xc4d0b)=>{if(_0xc4d0b[0x0]!=_0x537cb2)return _0x132237(_0xb87b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc4d0b[0x1]={..._0xc4d0b[0x1],[_0xb87b66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x144ad3};},{[_0xb87b66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb87b66([0x68,0x69,0x67,0x68])}),_0x8e1f69[_0xb87b66([0x6f,0x6e])](_0xb87b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x447b95=>{_0x40e559(_0x447b95[_0xb87b66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x147e95=!0x0,_0x2806f2(_0x447b95[_0xb87b66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb87b66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb87b66([0x6c,0x6f,0x77])}),_0x5810ad[_0xb87b66([0x74,0x68,0x65,0x6e])](()=>{_0x147e95||_0x132237(_0xb87b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x185c70(){return _0x8e1f69[_0xb87b66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb87b66([0x76,0x69,0x65,0x77])][_0xb87b66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb87b66([0x61,0x75,0x74,0x6f]);}function _0x59d2a8(){_0x8e1f69[_0xb87b66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb87b66([0x76,0x69,0x65,0x77])][_0xb87b66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb87b66([0x61,0x75,0x74,0x6f]);}}function _0xf72108(_0xa9600b){const _0x156e1d=[new window[(_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59651a=>setTimeout(_0x59651a,0x3d1ee13^_0x3a56eb)),_0x5810ad[_0xb87b66([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b98d0=>{let _0x37df65=0x0;_0x8e1f69[_0xb87b66([0x6d,0x6f,0x64,0x65,0x6c])][_0xb87b66([0x6f,0x6e])](_0xb87b66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x161607,_0x442f58)=>{_0x442f58[0x0][_0xb87b66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37df65++,_0x37df65==(0x3d8d127^_0x3a56eb)&&(_0x1b98d0(),_0x161607[_0xb87b66([0x6f,0x66,0x66])]());});}))];return window[_0xb87b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb87b66([0x72,0x61,0x63,0x65])](_0x156e1d)[_0xb87b66([0x74,0x68,0x65,0x6e])](()=>_0xa9600b);}async function _0x2c3d12(){await _0x5810ad,_0x8e1f69[_0xb87b66([0x6d,0x6f,0x64,0x65,0x6c])][_0xb87b66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x490996,_0x8e1f69[_0xb87b66([0x6d,0x6f,0x64,0x65,0x6c])][_0xb87b66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x490996,_0x8e1f69[_0xb87b66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb87b66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d848b(_0x9be6e4){const _0x1c1ca0=_0x3acb7a();_0x8e1f69[_0x1c1ca0]=_0xb87b66([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x9be6e4,_0x9be6e4!=_0xb87b66([0x56,0x61,0x6c,0x69,0x64])&&_0x2c3d12();}function _0x3acb7a(){const _0x320deb=window[_0xb87b66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb87b66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb87b66([0x6e,0x6f,0x77])]())[_0xb87b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb87b66([0x2e]),'');let _0x11416a=_0xb87b66([0x52]);for(let _0x413030=0x0;_0x413030<_0x320deb[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x413030+=0x2){let _0x1f3f88=window[_0xb87b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x320deb[_0xb87b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x413030,_0x413030+0x2));_0x1f3f88>=_0x3928c7[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f3f88-=_0x3928c7[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11416a+=_0x3928c7[_0x1f3f88];}return _0x11416a;}function _0x56b8ef(){const _0x21f6d8=_0x5f5c56[_0xb87b66([0x73,0x70,0x6c,0x69,0x74])](_0xb87b66([0x2e]));if(0x3!=_0x21f6d8[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x174550(_0x21f6d8[0x1]);function _0x174550(_0x519ba4){const _0x17c394=_0x230f56(_0x519ba4);return _0x17c394&&_0x278fda()?_0x17c394:null;function _0x278fda(){const _0x465353=_0x17c394[_0xb87b66([0x6a,0x74,0x69])],_0x472663=window[_0xb87b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x465353[_0xb87b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x465353[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45a914={..._0x17c394,[_0xb87b66([0x6a,0x74,0x69])]:_0x465353[_0xb87b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x465353[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45a914[_0xb87b66([0x76,0x63])],_0x5f7250(_0x45a914)==_0x472663;}}}async function _0x51d0b8(){let _0x3b1e5c=!0x0;try{const _0x31a1d1=_0x5f5c56[_0xb87b66([0x73,0x70,0x6c,0x69,0x74])](_0xb87b66([0x2e])),[_0xd44a09,_0x3df7bf,_0x56b504]=_0x31a1d1;return _0x12d7e3(_0xd44a09),await _0x728746(_0xd44a09,_0x3df7bf,_0x56b504),_0x3b1e5c;}catch{return!0x1;}function _0x12d7e3(_0x2f57d4){const _0xb9b851=_0x230f56(_0x2f57d4);_0xb9b851&&_0xb9b851[_0xb87b66([0x61,0x6c,0x67])]==_0xb87b66([0x45,0x53,0x32,0x35,0x36])||(_0x3b1e5c=!0x1);}async function _0x728746(_0x517ed3,_0x4c0db8,_0xf0e0fe){const _0x1879e8=window[_0xb87b66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb87b66([0x66,0x72,0x6f,0x6d])](_0x5372ed(_0xf0e0fe),_0x292231=>_0x292231[_0xb87b66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56af35=new window[(_0xb87b66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb87b66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x517ed3+_0xb87b66([0x2e])+_0x4c0db8),_0x7add08=window[_0xb87b66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb87b66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7add08)return;const _0x27878f=await _0x7add08[_0xb87b66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb87b66([0x6a,0x77,0x6b]),_0x7539f0,{[_0xb87b66([0x6e,0x61,0x6d,0x65])]:_0xb87b66([0x45,0x43,0x44,0x53,0x41]),[_0xb87b66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb87b66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb87b66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7add08[_0xb87b66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb87b66([0x6e,0x61,0x6d,0x65])]:_0xb87b66([0x45,0x43,0x44,0x53,0x41]),[_0xb87b66([0x68,0x61,0x73,0x68])]:{[_0xb87b66([0x6e,0x61,0x6d,0x65])]:_0xb87b66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27878f,_0x1879e8,_0x56af35)||(_0x3b1e5c=!0x1);}}function _0x230f56(_0x4a1164){return _0x4a1164[_0xb87b66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb87b66([0x65,0x79]))?JSON[_0xb87b66([0x70,0x61,0x72,0x73,0x65])](_0x5372ed(_0x4a1164)):null;}function _0x5372ed(_0x5f4676){return window[_0xb87b66([0x61,0x74,0x6f,0x62])](_0x5f4676[_0xb87b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb87b66([0x2b]))[_0xb87b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb87b66([0x2f])));}function _0x5f7250(_0xba8223){let _0x12db5c=0x1505;function _0x29f0c3(_0x116df1){for(let _0x2bd790=0x0;_0x2bd790<_0x116df1[_0xb87b66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bd790++){const _0x451943=_0x116df1[_0xb87b66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bd790);_0x12db5c=(_0x12db5c<<0x5)+_0x12db5c+_0x451943,_0x12db5c&=_0x12db5c;}}function _0x36c653(_0x3d0cb0){Array[_0xb87b66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d0cb0)?_0x3d0cb0[_0xb87b66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36c653):_0x3d0cb0&&typeof _0x3d0cb0==_0xb87b66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb87b66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d0cb0)[_0xb87b66([0x73,0x6f,0x72,0x74])]()[_0xb87b66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b061f,_0xccc29e])=>{_0x29f0c3(_0x4b061f),_0x36c653(_0xccc29e);}):_0x29f0c3(window[_0xb87b66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d0cb0));}return _0x36c653(_0xba8223),_0x12db5c>>>0x0;}function _0x51e443(_0x547707){return _0x547707[_0xb87b66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb87b66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb87b66([0x30]));}function _0x9c79c5(_0x4ce5ef){return _0x4ce5ef[_0xb87b66([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb87b66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb87b66([0x6a,0x6f,0x69,0x6e])]('');}function _0x490996(){}function _0xb87b66(_0x2e53c9){const _0x143159=_0x1c15;return _0x2e53c9[_0x143159(0x179)](_0x428cac=>String[_0x143159(0x164)](_0x428cac))[_0x143159(0x14d)]('');}_0x1d848b(await _0x1b1826());}(this);}[_0x22d80f(0x177)](){const _0x74d651=_0x22d80f,_0x1de4d1=this[_0x74d651(0x1a0)][_0x74d651(0x190)][_0x74d651(0x18f)];_0x1de4d1[_0x74d651(0x166)](_0x74d651(0x183))&&_0x1de4d1[_0x74d651(0x176)](_0x74d651(0x183),{'allowAttributes':[_0x74d651(0x16e)]}),_0x1de4d1[_0x74d651(0x166)](_0x74d651(0x158))&&_0x1de4d1[_0x74d651(0x176)](_0x74d651(0x158),{'allowAttributes':[_0x74d651(0x16e)]});}[_0x22d80f(0x16b)](){const _0x3e5c3e=_0x22d80f,_0x360034=this[_0x3e5c3e(0x1a0)];_0x360034[_0x3e5c3e(0x160)][_0x3e5c3e(0x18e)](_0x3e5c3e(0x1a1))[_0x3e5c3e(0x17e)]({'model':_0x3e5c3e(0x16e),'view':_0x3e5c3e(0x17d)}),_0x360034[_0x3e5c3e(0x160)][_0x3e5c3e(0x18e)](_0x3e5c3e(0x152))[_0x3e5c3e(0x16a)]({'model':{'key':_0x3e5c3e(0x16e),'value':_0x3ac7f0=>_0x3ac7f0[_0x3e5c3e(0x174)](_0x3e5c3e(0x17d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x83d4a2=_0x360034[_0x3e5c3e(0x18b)][_0x3e5c3e(0x16f)](_0x3e5c3e(0x182));_0x83d4a2&&this[_0x3e5c3e(0x180)](_0x83d4a2,_0x3e5c3e(0x19f),(_0x42e59a,[_0x893504,_0x4cd5b1])=>{const _0x58c374=_0x3e5c3e;_0x893504[_0x58c374(0x15f)](_0x58c374(0x16e),_0x4cd5b1);});}[_0x22d80f(0x1a2)](){const _0x1445d8=_0x22d80f,_0x3c3f04=this[_0x1445d8(0x1a0)][_0x1445d8(0x193)][_0x1445d8(0x16f)](_0x1445d8(0x19b))||{},_0x400d81=this[_0x1445d8(0x1a0)][_0x1445d8(0x193)][_0x1445d8(0x16f)](_0x1445d8(0x187))||'';this[_0x1445d8(0x192)]=_0x8113da(_0x1f59d4[_0x1445d8(0x181)],_0x1445d8(0x196),{..._0x3c3f04,'pubkey':_0x400d81,'ctx-name':_0x1445d8(0x173)+this[_0x1445d8(0x17f)],'sourceList':'','imgOnly':_0x1445d8(0x197),'removeCopyright':_0x1445d8(0x197),'localeName':this[_0x1445d8(0x1a0)][_0x1445d8(0x165)][_0x1445d8(0x18d)],'externalSourcesEmbedCss':_0x1445d8(0x15c)}),this[_0x1445d8(0x192)][_0x1445d8(0x150)]=_0xcab82f=>{const _0x114515=_0x1445d8;if(_0x114515(0x198)==_0xcab82f)return _0x114515(0x184);},_0x1f59d4[_0x1445d8(0x181)][_0x1445d8(0x199)][_0x1445d8(0x154)](this[_0x1445d8(0x192)]);}[_0x22d80f(0x169)](){const _0x335746=_0x22d80f;this[_0x335746(0x16d)]=_0x8113da(_0x1f59d4[_0x335746(0x181)],_0x335746(0x186),{'ctx-name':_0x335746(0x173)+this[_0x335746(0x17f)]}),_0x1f59d4[_0x335746(0x181)][_0x335746(0x199)][_0x335746(0x154)](this[_0x335746(0x16d)]);}[_0x22d80f(0x151)](){const _0xa029be=_0x22d80f,_0x34dd1b=this[_0xa029be(0x1a0)][_0xa029be(0x18b)][_0xa029be(0x16f)](_0xa029be(0x191));_0x34dd1b&&this[_0xa029be(0x180)](_0x34dd1b,_0xa029be(0x157),()=>{const _0x5aa0a5=_0xa029be,_0x5be790=this[_0x5aa0a5(0x1a0)][_0x5aa0a5(0x190)][_0x5aa0a5(0x181)][_0x5aa0a5(0x194)][_0x5aa0a5(0x161)]();_0x5be790&&_0x5be790[_0x5aa0a5(0x174)](_0x5aa0a5(0x16e))&&this[_0x5aa0a5(0x1a0)][_0x5aa0a5(0x15a)][_0x5aa0a5(0x162)][_0x5aa0a5(0x178)](_0x5aa0a5(0x163),()=>{const _0x29d115=_0x5aa0a5;_0x32f8a3(this[_0x29d115(0x1a0)],_0x5be790);});});const _0x9bef38=this[_0xa029be(0x1a0)][_0xa029be(0x18b)][_0xa029be(0x16f)](_0xa029be(0x19a));_0x9bef38&&this[_0xa029be(0x180)](_0x9bef38,_0xa029be(0x157),()=>{const _0x361622=_0xa029be,_0x27ac47=this[_0x361622(0x1a0)][_0x361622(0x190)][_0x361622(0x181)][_0x361622(0x194)][_0x361622(0x161)]();_0x27ac47&&_0x27ac47[_0x361622(0x174)](_0x361622(0x16e))&&this[_0x361622(0x1a0)][_0x361622(0x15a)][_0x361622(0x162)][_0x361622(0x178)](_0x361622(0x163),()=>{const _0xa7dbaf=_0x361622;_0x32f8a3(this[_0xa7dbaf(0x1a0)],_0x27ac47);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x267bf7,ObservableMixin as _0xbd3f39}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2d618a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3c789a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1cff9c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x58ac3c}from'../../utils/uploadutils.js';import{getImageUrls as _0x51c738,getImageDimension as _0x41820b}from'../../utils/editingutils.js';import{isAncestor as _0x25f909}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0xbd3f39(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x30d2c4,_0x1db936,_0x4cd10b){super(),this['_editor']=_0x30d2c4,this['_dialog']=_0x1db936,this['_imageElement']=_0x4cd10b,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 _0xffbe4a=this['_imageElement'],_0x548187=_0xffbe4a['getAttribute']('uploadcareImageId'),_0x316a0e=_0xffbe4a['getAttribute']('src');if(_0x548187)await this['_loadImageInfo'](_0x548187,_0x316a0e);else{if(this['_imageCache']['has'](_0x316a0e)){const _0x36efab=this['_imageCache']['get'](_0x316a0e);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36efab['url'],this['imageDimension']=_0x36efab['dimension'],this['imageId']=_0x36efab['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x754f8a}=this['_editor'],t=_0x754f8a['t'],_0x27966a=new _0x1cff9c(_0x754f8a,this['imageStatus'],this['_attributes']);_0x27966a['bind']('status')['to'](this,'imageStatus'),_0x27966a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x27966a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x27966a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x27966a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3c789a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x27966a,'position':_0x2d618a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x27966a['focus']();},'onHide':()=>{_0x27966a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e2ca3=>!_0x25f909(_0x2e2ca3,_0x27966a['element'])}});}['_loadImageInfo'](_0x12d1e0,_0x5ae7c3){return _0x58ac3c['getInfo'](_0x12d1e0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5c0348=>{const {width:_0x37c9c7,height:_0xbb477b}=_0x5c0348['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5ae7c3,this['imageDimension']={'width':_0x37c9c7,'height':_0xbb477b},this['imageId']=_0x12d1e0;})['catch'](_0x56d1c0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x56d1c0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4d5dda,_0x4c6729){return this['_getImageAsFile'](_0x4d5dda)['then'](_0x964598=>_0x58ac3c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4c6729['signal'],'file':_0x964598,'onProgress':_0x564c61=>{_0x564c61&&_0x564c61['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x564c61['value']));}}))['then'](_0x506c9d=>{const {width:_0x15ab71,height:_0x4f5369}=_0x506c9d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x506c9d['cdnUrl'],this['imageDimension']={'width':_0x15ab71,'height':_0x4f5369},this['imageId']=_0x506c9d['uuid'],this['imageUploadProgress']=null;const _0x34abff=_0x4d5dda['getAttribute']('src');this['_imageCache']['set'](_0x34abff,{'id':_0x506c9d['uuid'],'url':_0x506c9d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x43c801=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x43c801['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2ea95c,_0x3de44e){_0x2ea95c['on']('apply',(_0x494335,_0x1ddbb6)=>{this['_replaceImage'](_0x3de44e,_0x1ddbb6['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2ea95c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2ea95c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f66c5,_0x2c2e5a,_0x2aa925){const _0x58c48b=this['_editor'],{width:_0x23db61,height:_0xda173a}=_0x41820b(_0x2c2e5a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x24f59a,imageSources:_0x144ff8}=_0x51c738(_0x2c2e5a,_0x23db61);_0x58c48b['model']['change'](_0x11976=>{if('$graveyard'===_0x3f66c5['root']['rootName']){_0x58c48b['execute']('insertImage',{'imageType':_0x3f66c5['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f66c5['getAttributes']()),'uploadcareImageId':_0x2aa925,'src':_0x24f59a,'sources':_0x144ff8,'width':_0x23db61,'height':_0xda173a}});const _0x4df562=_0x3f66c5['getChildren']();_0x3f66c5=_0x58c48b['model']['document']['selection']['getSelectedElement']();for(const _0x45b150 of _0x4df562)_0x11976['append'](_0x11976['cloneElement'](_0x45b150),_0x3f66c5);}else _0x11976['setSelection'](_0x3f66c5,'on'),_0x58c48b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f66c5['getAttributes']()),'uploadcareImageId':_0x2aa925,'src':_0x24f59a,'sources':_0x144ff8,'width':_0x23db61,'height':_0xda173a},_0x3f66c5);_0x11976['setSelection'](_0x3f66c5,'on');});}async['_getImageAsFile'](_0x115951){const _0x1475f3=_0x267bf7['window'],_0xa716a8=_0x267bf7['document']['location']['href'],_0x48d5e9=new _0x1475f3['URL'](_0x115951['getAttribute']('src'),_0xa716a8);if('data:'===_0x48d5e9['protocol']){const _0x5b761e=_0x48d5e9['href']['split'](','),_0x2742ce=_0x5b761e[0x0]['match'](/:(.*?);/)[0x1],_0xb3a050=_0x2742ce['split']('/')[0x1],_0x10b558=_0x1475f3['atob'](_0x5b761e[_0x5b761e['length']-0x1]);let _0x554e41=_0x10b558['length'];const _0x818f32=new _0x1475f3['Uint8Array'](_0x554e41);for(;_0x554e41--;)_0x818f32[_0x554e41]=_0x10b558['charCodeAt'](_0x554e41);return new _0x1475f3['File']([_0x818f32],'image.'+_0xb3a050,{'type':_0x2742ce});}const _0x311042=_0x48d5e9['href']['split']('/'),_0x1a099c=_0x311042[_0x311042['length']-0x1],_0xfd4bdd=_0x1a099c['split']('.')[0x1];return _0x1475f3['fetch'](_0x48d5e9['href'])['then'](_0x2e79b8=>_0x2e79b8['clone']()['blob']())['then'](_0x1f6a78=>new _0x1475f3['File']([_0x1f6a78],_0x1a099c,{'type':'image/'+_0xfd4bdd}));}}
23
+ import{global as _0x322286,ObservableMixin as _0x2a0be5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5c38b3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18d422}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x11d5cc}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x17abfd}from'../../utils/uploadutils.js';import{getImageUrls as _0x1d2747,getImageDimension as _0x5568d}from'../../utils/editingutils.js';import{isAncestor as _0x3bf216}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2a0be5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x18b92d,_0x42fe8b,_0x1b482c){super(),this['_editor']=_0x18b92d,this['_dialog']=_0x42fe8b,this['_imageElement']=_0x1b482c,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 _0x996eb8=this['_imageElement'],_0x1fbbdb=_0x996eb8['getAttribute']('uploadcareImageId'),_0x30ac29=_0x996eb8['getAttribute']('src');if(_0x1fbbdb)await this['_loadImageInfo'](_0x1fbbdb,_0x30ac29);else{if(this['_imageCache']['has'](_0x30ac29)){const _0x4d40bb=this['_imageCache']['get'](_0x30ac29);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d40bb['url'],this['imageDimension']=_0x4d40bb['dimension'],this['imageId']=_0x4d40bb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x588499}=this['_editor'],t=_0x588499['t'],_0x4f8750=new _0x11d5cc(_0x588499,this['imageStatus'],this['_attributes']);_0x4f8750['bind']('status')['to'](this,'imageStatus'),_0x4f8750['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4f8750['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4f8750['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4f8750,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x18d422,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4f8750,'position':_0x5c38b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4f8750['focus']();},'onHide':()=>{_0x4f8750['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2fdb0a=>!_0x3bf216(_0x2fdb0a,_0x4f8750['element'])}});}['_loadImageInfo'](_0x4decc4,_0x28560d){return _0x17abfd['getInfo'](_0x4decc4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2a9f00=>{const {width:_0x4531c5,height:_0x57b669}=_0x2a9f00['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x28560d,this['imageDimension']={'width':_0x4531c5,'height':_0x57b669},this['imageId']=_0x4decc4;})['catch'](_0x1166c0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1166c0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x513069,_0x402f64){return this['_getImageAsFile'](_0x513069)['then'](_0x2b1c4c=>_0x17abfd['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x402f64['signal'],'file':_0x2b1c4c,'onProgress':_0x103389=>{_0x103389&&_0x103389['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x103389['value']));}}))['then'](_0x4599ba=>{const {width:_0x6c429d,height:_0x3efc65}=_0x4599ba['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4599ba['cdnUrl'],this['imageDimension']={'width':_0x6c429d,'height':_0x3efc65},this['imageId']=_0x4599ba['uuid'],this['imageUploadProgress']=null;const _0x398439=_0x513069['getAttribute']('src');this['_imageCache']['set'](_0x398439,{'id':_0x4599ba['uuid'],'url':_0x4599ba['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b1b3b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b1b3b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2d582e,_0x1f8e23){_0x2d582e['on']('apply',(_0x175107,_0x586e60)=>{this['_replaceImage'](_0x1f8e23,_0x586e60['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2d582e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2d582e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5811ee,_0x4e2a72,_0x20a1be){const _0x5c0771=this['_editor'],{width:_0x4a32b9,height:_0x486b75}=_0x5568d(_0x4e2a72,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3654fa,imageSources:_0x4bd7fa}=_0x1d2747(_0x4e2a72,_0x4a32b9);_0x5c0771['model']['change'](_0x496c7c=>{if('$graveyard'===_0x5811ee['root']['rootName']){_0x5c0771['execute']('insertImage',{'imageType':_0x5811ee['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5811ee['getAttributes']()),'uploadcareImageId':_0x20a1be,'src':_0x3654fa,'sources':_0x4bd7fa,'width':_0x4a32b9,'height':_0x486b75}});const _0x454ccd=_0x5811ee['getChildren']();_0x5811ee=_0x5c0771['model']['document']['selection']['getSelectedElement']();for(const _0x1001ac of _0x454ccd)_0x496c7c['append'](_0x496c7c['cloneElement'](_0x1001ac),_0x5811ee);}else _0x496c7c['setSelection'](_0x5811ee,'on'),_0x5c0771['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5811ee['getAttributes']()),'uploadcareImageId':_0x20a1be,'src':_0x3654fa,'sources':_0x4bd7fa,'width':_0x4a32b9,'height':_0x486b75},_0x5811ee);_0x496c7c['setSelection'](_0x5811ee,'on');});}async['_getImageAsFile'](_0x3e9b57){const _0x470dcf=_0x322286['window'],_0x156ff7=_0x322286['document']['location']['href'],_0x4f2b0c=new _0x470dcf['URL'](_0x3e9b57['getAttribute']('src'),_0x156ff7);if('data:'===_0x4f2b0c['protocol']){const _0xda6cfe=_0x4f2b0c['href']['split'](','),_0x29cfda=_0xda6cfe[0x0]['match'](/:(.*?);/)[0x1],_0x2d2c94=_0x29cfda['split']('/')[0x1],_0x6ffbfc=_0x470dcf['atob'](_0xda6cfe[_0xda6cfe['length']-0x1]);let _0xb72998=_0x6ffbfc['length'];const _0x7edd4e=new _0x470dcf['Uint8Array'](_0xb72998);for(;_0xb72998--;)_0x7edd4e[_0xb72998]=_0x6ffbfc['charCodeAt'](_0xb72998);return new _0x470dcf['File']([_0x7edd4e],'image.'+_0x2d2c94,{'type':_0x29cfda});}const _0x1cb302=_0x4f2b0c['href']['split']('/'),_0x16d889=_0x1cb302[_0x1cb302['length']-0x1],_0x4b1d51=_0x16d889['split']('.')[0x1];return _0x470dcf['fetch'](_0x4f2b0c['href'])['then'](_0x272a0b=>_0x272a0b['clone']()['blob']())['then'](_0x3054ff=>new _0x470dcf['File']([_0x3054ff],_0x16d889,{'type':'image/'+_0x4b1d51}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x512977,_0x48dabb){const _0x160a8b=_0x1666,_0x4cdc01=_0x512977();while(!![]){try{const _0x672687=parseInt(_0x160a8b(0xde))/0x1+parseInt(_0x160a8b(0xe2))/0x2+-parseInt(_0x160a8b(0xe0))/0x3*(-parseInt(_0x160a8b(0xe1))/0x4)+parseInt(_0x160a8b(0xea))/0x5+-parseInt(_0x160a8b(0xe4))/0x6*(-parseInt(_0x160a8b(0xe9))/0x7)+-parseInt(_0x160a8b(0xdd))/0x8*(-parseInt(_0x160a8b(0xdb))/0x9)+-parseInt(_0x160a8b(0xdf))/0xa*(parseInt(_0x160a8b(0xed))/0xb);if(_0x672687===_0x48dabb)break;else _0x4cdc01['push'](_0x4cdc01['shift']());}catch(_0xdb899a){_0x4cdc01['push'](_0x4cdc01['shift']());}}}(_0x1721,0x4823c));import{View as _0x1e7d75}from'ckeditor5/src/ui.js';function _0x1666(_0x4ae1ae,_0x40e429){const _0x172118=_0x1721();return _0x1666=function(_0x166643,_0x4b9e06){_0x166643=_0x166643-0xdb;let _0xbbf5a9=_0x172118[_0x166643];return _0xbbf5a9;},_0x1666(_0x4ae1ae,_0x40e429);}export class UploadcareImageEditFormEditingView extends _0x1e7d75{constructor(_0x39261c,_0x3632b5){const _0x31ac9f=_0x1666;super(_0x39261c);const _0x420aaa=this[_0x31ac9f(0xec)];this[_0x31ac9f(0xe3)](_0x31ac9f(0xe8),''),this[_0x31ac9f(0xe5)]({'tag':_0x31ac9f(0xe7),'attributes':{..._0x3632b5,'class':[_0x31ac9f(0xe6),_0x31ac9f(0xdc)],'ctx-name':_0x31ac9f(0xeb),'cdn-url':_0x420aaa['to'](_0x31ac9f(0xe8))}});}}function _0x1721(){const _0x17a720=['882202WzzcSD','set','18UhiAmM','setTemplate','uc-light','uc-cloud-image-editor','imageSrc','296933VhvRAa','553970brMxow','image-edit','bindTemplate','803MwpGmi','72486GLsaEo','ck-uploadcare-theme','584PNBHYs','350511wXNgvY','249970MynxLk','6dAGPph','1005320XKDXYU'];_0x1721=function(){return _0x17a720;};return _0x1721();}
23
+ (function(_0x3e6239,_0x4da87e){const _0x38b130=_0x16d8,_0x3bc575=_0x3e6239();while(!![]){try{const _0x44dec0=parseInt(_0x38b130(0x163))/0x1*(parseInt(_0x38b130(0x155))/0x2)+parseInt(_0x38b130(0x15e))/0x3+-parseInt(_0x38b130(0x15a))/0x4*(parseInt(_0x38b130(0x15b))/0x5)+parseInt(_0x38b130(0x160))/0x6*(parseInt(_0x38b130(0x15c))/0x7)+parseInt(_0x38b130(0x159))/0x8+parseInt(_0x38b130(0x164))/0x9+-parseInt(_0x38b130(0x15f))/0xa;if(_0x44dec0===_0x4da87e)break;else _0x3bc575['push'](_0x3bc575['shift']());}catch(_0x34b2c0){_0x3bc575['push'](_0x3bc575['shift']());}}}(_0x4c76,0x8bd82));function _0x4c76(){const _0x48423f=['3219472dfhKuL','28NEXxZN','396080GzUWsD','3851813EDaHTL','image-edit','1976385QucjYC','24630740QkPECu','6uGtHso','uc-cloud-image-editor','setTemplate','961454vZVAVl','9157014msgFJB','imageSrc','ck-uploadcare-theme','2wNjAyW','bindTemplate','set','uc-light'];_0x4c76=function(){return _0x48423f;};return _0x4c76();}function _0x16d8(_0x348186,_0x59ea47){const _0x4c763a=_0x4c76();return _0x16d8=function(_0x16d835,_0xf82d4a){_0x16d835=_0x16d835-0x155;let _0x2395c1=_0x4c763a[_0x16d835];return _0x2395c1;},_0x16d8(_0x348186,_0x59ea47);}import{View as _0x5c8cbf}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x5c8cbf{constructor(_0x60da7a,_0x427ab2){const _0x4be715=_0x16d8;super(_0x60da7a);const _0x3dab0e=this[_0x4be715(0x156)];this[_0x4be715(0x157)](_0x4be715(0x165),''),this[_0x4be715(0x162)]({'tag':_0x4be715(0x161),'attributes':{..._0x427ab2,'class':[_0x4be715(0x158),_0x4be715(0x166)],'ctx-name':_0x4be715(0x15d),'cdn-url':_0x3dab0e['to'](_0x4be715(0x165))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3c44c8}from'ckeditor5/src/icons.js';import{ButtonView as _0x46db3c,IconView as _0x3e1624,View as _0x54c047}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x54c047{constructor(_0x26f410){super(_0x26f410);const t=_0x26f410['t'];this['set']('errorType',null);const _0xfa45ee=new _0x46db3c(_0x26f410);_0xfa45ee['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xfa45ee['withText']=!0x0,_0xfa45ee['class']='ck-button-action',_0xfa45ee['on']('execute',()=>{this['fire']('retry');}),_0xfa45ee['bind']('isVisible')['to'](this,'errorType',_0x325bcf=>'NotFound'!==_0x325bcf);const _0x12a99a=new _0x3e1624();_0x12a99a['content']=_0x3c44c8,_0x12a99a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1a3178=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':[_0x12a99a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1a3178['to']('errorType',_0x266d51=>t('NotFound'!==_0x266d51?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xfa45ee]},{'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 _0x39700a}from'ckeditor5/src/icons.js';import{ButtonView as _0x4f6140,IconView as _0x28b559,View as _0x1024d4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1024d4{constructor(_0x49b5c6){super(_0x49b5c6);const t=_0x49b5c6['t'];this['set']('errorType',null);const _0x585cd9=new _0x4f6140(_0x49b5c6);_0x585cd9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x585cd9['withText']=!0x0,_0x585cd9['class']='ck-button-action',_0x585cd9['on']('execute',()=>{this['fire']('retry');}),_0x585cd9['bind']('isVisible')['to'](this,'errorType',_0x3d1acc=>'NotFound'!==_0x3d1acc);const _0x402ded=new _0x28b559();_0x402ded['content']=_0x39700a,_0x402ded['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x26075d=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':[_0x402ded,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x26075d['to']('errorType',_0x3baf10=>t('NotFound'!==_0x3baf10?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x585cd9]},{'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 _0x1ae9cd,View as _0x51763b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x51763b{constructor(_0x577d6f){super(_0x577d6f);const t=_0x577d6f['t'],_0xcf23a0=this['bindTemplate'],_0x4d7ebd=new _0x1ae9cd();_0x4d7ebd['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':[_0x4d7ebd,{'text':_0xcf23a0['to']('imageUploadProgress',_0x47ed6c=>t('Loading\x20image...')+'\x20('+(_0x47ed6c||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 _0x32620a,View as _0x343d10}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x343d10{constructor(_0x4332d3){super(_0x4332d3);const t=_0x4332d3['t'],_0xed19c6=this['bindTemplate'],_0x4a7b3f=new _0x32620a();_0x4a7b3f['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':[_0x4a7b3f,{'text':_0xed19c6['to']('imageUploadProgress',_0x4b28bf=>t('Loading\x20image...')+'\x20('+(_0x4b28bf||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 _0x5ca723=_0x3e1d;(function(_0x352090,_0x4362f5){const _0x2114b3=_0x3e1d,_0x1af2c6=_0x352090();while(!![]){try{const _0x23849f=-parseInt(_0x2114b3(0x1e2))/0x1+-parseInt(_0x2114b3(0x1f0))/0x2*(-parseInt(_0x2114b3(0x1ec))/0x3)+parseInt(_0x2114b3(0x1de))/0x4+-parseInt(_0x2114b3(0x1fa))/0x5*(-parseInt(_0x2114b3(0x1f1))/0x6)+-parseInt(_0x2114b3(0x1d2))/0x7*(-parseInt(_0x2114b3(0x1ca))/0x8)+-parseInt(_0x2114b3(0x1c6))/0x9+-parseInt(_0x2114b3(0x1e1))/0xa;if(_0x23849f===_0x4362f5)break;else _0x1af2c6['push'](_0x1af2c6['shift']());}catch(_0x58466f){_0x1af2c6['push'](_0x1af2c6['shift']());}}}(_0x4ae3,0x7152e));import{View as _0x25889f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x268833}from'./uploadcareimageeditformloadingview.js';function _0x3e1d(_0x4ae50a,_0xe2f2e2){const _0x4ae38d=_0x4ae3();return _0x3e1d=function(_0x3e1dbf,_0x2e82fa){_0x3e1dbf=_0x3e1dbf-0x1c5;let _0x17b0d3=_0x4ae38d[_0x3e1dbf];return _0x17b0d3;},_0x3e1d(_0x4ae50a,_0xe2f2e2);}import{UploadcareImageEditFormErrorView as _0x210dde}from'./uploadcareimageeditformerrorview.js';function _0x4ae3(){const _0x31d082=['target','753226juzASf','84wntXlW','length','disconnect','filter','add','cancel','error','_errorView','ready','17165NkmhDO','render','clear','3673827wmnFQf','_waitForImageEditorComponent','element','change:status','3031368GpIVVm','setTemplate','cdnUrl','addMany','once','querySelector','uploading','status','7TFftSC','focus','detail','_items','getFocusableElement','_addErrorViewListeners','createCollection','fire','_editingView','addedNodes','_focusableView','_addUploadcareImageEditorListeners','1193836QiYGeh','set','nodeName','2102610hbQvjN','19417Wxwuuq','apply','addEventListener','div','uc-cloud-image-editor','toLowerCase','observe','ck-reset_all-excluded','retry','_loadingView','3dQEbOK','ck-uploadcare-form','_setView'];_0x4ae3=function(){return _0x31d082;};return _0x4ae3();}import{UploadcareImageEditFormEditingView as _0x361ad8}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x210fdf}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x210fdf{[_0x5ca723(0x1d5)];[_0x5ca723(0x1eb)];[_0x5ca723(0x1f8)];[_0x5ca723(0x1da)];[_0x5ca723(0x1dc)];constructor(_0x81d2a3,_0x190950,_0x912b29){const _0x3f4e2a=_0x5ca723;super(_0x81d2a3),this[_0x3f4e2a(0x1d5)]=this[_0x3f4e2a(0x1d8)](),this[_0x3f4e2a(0x1eb)]=new _0x268833(_0x81d2a3),this[_0x3f4e2a(0x1f8)]=new _0x210dde(_0x81d2a3),this[_0x3f4e2a(0x1da)]=new _0x361ad8(_0x81d2a3,_0x912b29),this[_0x3f4e2a(0x1dc)]=new _0x25889f(_0x81d2a3),this[_0x3f4e2a(0x1dc)][_0x3f4e2a(0x1cb)](this[_0x3f4e2a(0x1d6)]()),this[_0x3f4e2a(0x1df)](_0x3f4e2a(0x1d1),_0x190950),this[_0x3f4e2a(0x1cb)]({'tag':_0x3f4e2a(0x1e5),'attributes':{'class':['ck',_0x3f4e2a(0x1e9),_0x3f4e2a(0x1ed)],'tabindex':'-1'},'children':this[_0x3f4e2a(0x1d5)]}),this[_0x3f4e2a(0x1ee)](),this[_0x3f4e2a(0x1ce)](_0x3f4e2a(0x1fb),()=>{const _0x4ae63f=_0x3f4e2a;this[_0x4ae63f(0x1c7)](this[_0x4ae63f(0x1c8)],_0x3f5fde=>{const _0x29f0b5=_0x4ae63f;this[_0x29f0b5(0x1dd)](_0x3f5fde);});}),this['on'](_0x3f4e2a(0x1c9),()=>{const _0x30a9fb=_0x3f4e2a;this[_0x30a9fb(0x1ee)]();}),this[_0x3f4e2a(0x1d7)]();}[_0x5ca723(0x1d3)](){const _0xa5570a=_0x5ca723;this[_0xa5570a(0x1c8)][_0xa5570a(0x1d3)]();}[_0x5ca723(0x1ee)](){const _0x5b4b0b=_0x5ca723;switch(this[_0x5b4b0b(0x1d5)][_0x5b4b0b(0x1c5)](),this[_0x5b4b0b(0x1d1)]){case _0x5b4b0b(0x1d0):this[_0x5b4b0b(0x1d5)][_0x5b4b0b(0x1f5)](this[_0x5b4b0b(0x1eb)]);break;case _0x5b4b0b(0x1f7):this[_0x5b4b0b(0x1d5)][_0x5b4b0b(0x1f5)](this[_0x5b4b0b(0x1f8)]);break;case _0x5b4b0b(0x1f9):this[_0x5b4b0b(0x1d5)][_0x5b4b0b(0x1cd)]([this[_0x5b4b0b(0x1da)],this[_0x5b4b0b(0x1dc)]]);}}[_0x5ca723(0x1c7)](_0x4e279c,_0x485a9d){const _0x3d7750=_0x5ca723,_0x2803bc=_0x3d7750(0x1e6),_0x482f0b=_0x4e279c[_0x3d7750(0x1cf)](_0x2803bc);if(_0x482f0b)return _0x485a9d(_0x482f0b);const _0x5745c1=new MutationObserver(_0x4d71e8=>{const _0xcb9ac2=_0x3d7750,_0x49a48f=_0x4d71e8[_0xcb9ac2(0x1f4)](_0x552282=>_0x552282[_0xcb9ac2(0x1ef)]===_0x4e279c&&_0x552282[_0xcb9ac2(0x1db)][_0xcb9ac2(0x1f2)]>0x0&&_0x552282[_0xcb9ac2(0x1db)][0x0][_0xcb9ac2(0x1e0)][_0xcb9ac2(0x1e7)]()===_0x2803bc);_0x49a48f[_0xcb9ac2(0x1f2)]&&(_0x5745c1[_0xcb9ac2(0x1f3)](),_0x485a9d(_0x49a48f[0x0][_0xcb9ac2(0x1db)][0x0]));});_0x5745c1[_0x3d7750(0x1e8)](_0x4e279c,{'childList':!0x0,'subtree':!0x0});}[_0x5ca723(0x1dd)](_0x3afd94){const _0x4e996f=_0x5ca723;_0x3afd94[_0x4e996f(0x1e4)](_0x4e996f(0x1e3),_0x4beb3d=>{const _0x9881c8=_0x4e996f;this[_0x9881c8(0x1d9)](_0x9881c8(0x1e3),{'imageSrc':_0x4beb3d[_0x9881c8(0x1d4)][_0x9881c8(0x1cc)]});}),_0x3afd94[_0x4e996f(0x1e4)](_0x4e996f(0x1f6),()=>{const _0x4a0281=_0x4e996f;this[_0x4a0281(0x1d9)](_0x4a0281(0x1f6));});}[_0x5ca723(0x1d7)](){const _0x354f7d=_0x5ca723;this[_0x354f7d(0x1f8)]['on'](_0x354f7d(0x1ea),()=>{const _0xd8851b=_0x354f7d;this[_0xd8851b(0x1d9)](_0xd8851b(0x1ea));});}}
23
+ const _0x353fe0=_0x167e;(function(_0x43006b,_0x2fa5bf){const _0x593fe7=_0x167e,_0x399584=_0x43006b();while(!![]){try{const _0x204b84=-parseInt(_0x593fe7(0xab))/0x1+-parseInt(_0x593fe7(0x95))/0x2+-parseInt(_0x593fe7(0xa2))/0x3+parseInt(_0x593fe7(0xac))/0x4*(-parseInt(_0x593fe7(0xa4))/0x5)+-parseInt(_0x593fe7(0x96))/0x6*(-parseInt(_0x593fe7(0x90))/0x7)+parseInt(_0x593fe7(0x93))/0x8*(-parseInt(_0x593fe7(0x9d))/0x9)+parseInt(_0x593fe7(0xaa))/0xa*(parseInt(_0x593fe7(0xbe))/0xb);if(_0x204b84===_0x2fa5bf)break;else _0x399584['push'](_0x399584['shift']());}catch(_0x2494d1){_0x399584['push'](_0x399584['shift']());}}}(_0x2c31,0x9df01));import{View as _0x58bfcb}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x11c9f5}from'./uploadcareimageeditformloadingview.js';function _0x167e(_0x5bb75f,_0x29629d){const _0x2c3117=_0x2c31();return _0x167e=function(_0x167e07,_0x4ca52e){_0x167e07=_0x167e07-0x90;let _0x128391=_0x2c3117[_0x167e07];return _0x128391;},_0x167e(_0x5bb75f,_0x29629d);}import{UploadcareImageEditFormErrorView as _0x473052}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x54d25b}from'./uploadcareimageeditformeditingview.js';function _0x2c31(){const _0xe83125=['clear','set','disconnect','getFocusableElement','retry','fire','uploading','946KfYtmE','_items','focus','_focusableView','cancel','div','status','length','change:status','ready','1539013wKVHZJ','addedNodes','_addUploadcareImageEditorListeners','266096gDSPgm','observe','889960WdLdLT','24iyMTYF','error','_errorView','_addErrorViewListeners','_editingView','uc-cloud-image-editor','detail','9QPsDqo','_waitForImageEditorComponent','add','_loadingView','element','1909140sAkfSG','cdnUrl','600515YhxdNO','querySelector','target','once','addMany','apply','357310uEzWXy','1109840DaDSvL','36VyvhkJ','ck-uploadcare-form','toLowerCase','filter','nodeName','ck-reset_all-excluded','render','createCollection','setTemplate','addEventListener','_setView'];_0x2c31=function(){return _0xe83125;};return _0x2c31();}import{DialogFocusManagerView as _0x579eed}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x579eed{[_0x353fe0(0xbf)];[_0x353fe0(0xa0)];[_0x353fe0(0x98)];[_0x353fe0(0x9a)];[_0x353fe0(0xc1)];constructor(_0x30762d,_0x31da4d,_0x1b63d8){const _0x4b5f05=_0x353fe0;super(_0x30762d),this[_0x4b5f05(0xbf)]=this[_0x4b5f05(0xb3)](),this[_0x4b5f05(0xa0)]=new _0x11c9f5(_0x30762d),this[_0x4b5f05(0x98)]=new _0x473052(_0x30762d),this[_0x4b5f05(0x9a)]=new _0x54d25b(_0x30762d,_0x1b63d8),this[_0x4b5f05(0xc1)]=new _0x58bfcb(_0x30762d),this[_0x4b5f05(0xc1)][_0x4b5f05(0xb4)](this[_0x4b5f05(0xba)]()),this[_0x4b5f05(0xb8)](_0x4b5f05(0xc4),_0x31da4d),this[_0x4b5f05(0xb4)]({'tag':_0x4b5f05(0xc3),'attributes':{'class':['ck',_0x4b5f05(0xb1),_0x4b5f05(0xad)],'tabindex':'-1'},'children':this[_0x4b5f05(0xbf)]}),this[_0x4b5f05(0xb6)](),this[_0x4b5f05(0xa7)](_0x4b5f05(0xb2),()=>{const _0x17b901=_0x4b5f05;this[_0x17b901(0x9e)](this[_0x17b901(0xa1)],_0x21671d=>{const _0x5e9311=_0x17b901;this[_0x5e9311(0x92)](_0x21671d);});}),this['on'](_0x4b5f05(0xc6),()=>{const _0x143924=_0x4b5f05;this[_0x143924(0xb6)]();}),this[_0x4b5f05(0x99)]();}[_0x353fe0(0xc0)](){const _0x5e751a=_0x353fe0;this[_0x5e751a(0xa1)][_0x5e751a(0xc0)]();}[_0x353fe0(0xb6)](){const _0x53b9b4=_0x353fe0;switch(this[_0x53b9b4(0xbf)][_0x53b9b4(0xb7)](),this[_0x53b9b4(0xc4)]){case _0x53b9b4(0xbd):this[_0x53b9b4(0xbf)][_0x53b9b4(0x9f)](this[_0x53b9b4(0xa0)]);break;case _0x53b9b4(0x97):this[_0x53b9b4(0xbf)][_0x53b9b4(0x9f)](this[_0x53b9b4(0x98)]);break;case _0x53b9b4(0xc7):this[_0x53b9b4(0xbf)][_0x53b9b4(0xa8)]([this[_0x53b9b4(0x9a)],this[_0x53b9b4(0xc1)]]);}}[_0x353fe0(0x9e)](_0x46214f,_0x1810e9){const _0x2c8b99=_0x353fe0,_0x183347=_0x2c8b99(0x9b),_0xb9fec0=_0x46214f[_0x2c8b99(0xa5)](_0x183347);if(_0xb9fec0)return _0x1810e9(_0xb9fec0);const _0x1f1038=new MutationObserver(_0x426297=>{const _0x50f5a7=_0x2c8b99,_0x4b6c25=_0x426297[_0x50f5a7(0xaf)](_0x159482=>_0x159482[_0x50f5a7(0xa6)]===_0x46214f&&_0x159482[_0x50f5a7(0x91)][_0x50f5a7(0xc5)]>0x0&&_0x159482[_0x50f5a7(0x91)][0x0][_0x50f5a7(0xb0)][_0x50f5a7(0xae)]()===_0x183347);_0x4b6c25[_0x50f5a7(0xc5)]&&(_0x1f1038[_0x50f5a7(0xb9)](),_0x1810e9(_0x4b6c25[0x0][_0x50f5a7(0x91)][0x0]));});_0x1f1038[_0x2c8b99(0x94)](_0x46214f,{'childList':!0x0,'subtree':!0x0});}[_0x353fe0(0x92)](_0x77e774){const _0x599d4e=_0x353fe0;_0x77e774[_0x599d4e(0xb5)](_0x599d4e(0xa9),_0x500731=>{const _0x222a0f=_0x599d4e;this[_0x222a0f(0xbc)](_0x222a0f(0xa9),{'imageSrc':_0x500731[_0x222a0f(0x9c)][_0x222a0f(0xa3)]});}),_0x77e774[_0x599d4e(0xb5)](_0x599d4e(0xc2),()=>{const _0xbfe0d1=_0x599d4e;this[_0xbfe0d1(0xbc)](_0xbfe0d1(0xc2));});}[_0x353fe0(0x99)](){const _0x570d3a=_0x353fe0;this[_0x570d3a(0x98)]['on'](_0x570d3a(0xbb),()=>{const _0x1f91f4=_0x570d3a;this[_0x1f91f4(0xbc)](_0x1f91f4(0xbb));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2f4d(_0x5b2f3e,_0x495cdb){const _0x1f27af=_0x1f27();return _0x2f4d=function(_0x2f4d5a,_0x3d3606){_0x2f4d5a=_0x2f4d5a-0x137;let _0x39c54f=_0x1f27af[_0x2f4d5a];return _0x39c54f;},_0x2f4d(_0x5b2f3e,_0x495cdb);}const _0x30fd19=_0x2f4d;(function(_0x562afa,_0x36ab04){const _0x22160b=_0x2f4d,_0x41b5ec=_0x562afa();while(!![]){try{const _0x64e41b=-parseInt(_0x22160b(0x145))/0x1+parseInt(_0x22160b(0x14a))/0x2+parseInt(_0x22160b(0x140))/0x3+-parseInt(_0x22160b(0x137))/0x4*(parseInt(_0x22160b(0x14f))/0x5)+parseInt(_0x22160b(0x152))/0x6*(parseInt(_0x22160b(0x154))/0x7)+parseInt(_0x22160b(0x157))/0x8*(parseInt(_0x22160b(0x141))/0x9)+-parseInt(_0x22160b(0x14d))/0xa*(-parseInt(_0x22160b(0x156))/0xb);if(_0x64e41b===_0x36ab04)break;else _0x41b5ec['push'](_0x41b5ec['shift']());}catch(_0x33353f){_0x41b5ec['push'](_0x41b5ec['shift']());}}}(_0x1f27,0x50a8e));import{Command as _0x3f39d5}from'ckeditor5/src/core.js';import{Dialog as _0x58b7e6}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x66e92d}from'./ui/uploadcareimageeditcontroller.js';function _0x1f27(){const _0x423c73=['editor','config','uploadcare.allowExternalImagesEditing','getSelectedElement','model','233145xxUSQC','2466522IHGOEh','requires','unbind','selection','212281mVtXvS','bind','imageInline','isEnabled','isActive','662074mzHcWM','get','plugins','33830yHiIUl','imageBlock','10odnaHK','element','_isEditable','6XRpysJ','execute','1117669NcmrcR','imageEditController','1034NYFGqH','8iGOGFS','1235632Cydegm','refresh','set','document'];_0x1f27=function(){return _0x423c73;};return _0x1f27();}import{createEditabilityChecker as _0x245498}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3f39d5{[_0x30fd19(0x155)];static get[_0x30fd19(0x142)](){return[_0x58b7e6];}[_0x30fd19(0x151)];constructor(_0x456990){const _0x2cdc0c=_0x30fd19;super(_0x456990),this[_0x2cdc0c(0x155)]=void 0x0,this[_0x2cdc0c(0x151)]=_0x245498(_0x456990[_0x2cdc0c(0x13c)][_0x2cdc0c(0x14b)](_0x2cdc0c(0x13d))||[]),this[_0x2cdc0c(0x139)]({'isActive':!0x1});}[_0x30fd19(0x138)](){const _0x107b5e=_0x30fd19,_0x38f771=this[_0x107b5e(0x13b)][_0x107b5e(0x13f)][_0x107b5e(0x13a)][_0x107b5e(0x144)][_0x107b5e(0x13e)]();this[_0x107b5e(0x148)]=this[_0x107b5e(0x151)](_0x38f771);}[_0x30fd19(0x153)](){const _0x1d61c1=_0x30fd19;this[_0x1d61c1(0x155)]&&(this[_0x1d61c1(0x143)](_0x1d61c1(0x149)),this[_0x1d61c1(0x155)]=void 0x0);const _0x58d04b=this[_0x1d61c1(0x13b)][_0x1d61c1(0x13f)][_0x1d61c1(0x13a)][_0x1d61c1(0x144)][_0x1d61c1(0x13e)]();_0x58d04b&&(_0x58d04b['is'](_0x1d61c1(0x150),_0x1d61c1(0x14e))||_0x58d04b['is'](_0x1d61c1(0x150),_0x1d61c1(0x147)))&&(this[_0x1d61c1(0x155)]=new _0x66e92d(this[_0x1d61c1(0x13b)],this[_0x1d61c1(0x13b)][_0x1d61c1(0x14c)][_0x1d61c1(0x14b)](_0x58b7e6),_0x58d04b),this[_0x1d61c1(0x146)](_0x1d61c1(0x149))['to'](this[_0x1d61c1(0x155)],_0x1d61c1(0x149)));}}
23
+ const _0x1ec2cb=_0x1942;(function(_0x1b85f0,_0x593027){const _0x3c571c=_0x1942,_0x5f209c=_0x1b85f0();while(!![]){try{const _0x3a30e1=-parseInt(_0x3c571c(0xa9))/0x1+parseInt(_0x3c571c(0xa2))/0x2+parseInt(_0x3c571c(0x9d))/0x3+-parseInt(_0x3c571c(0x98))/0x4*(parseInt(_0x3c571c(0xab))/0x5)+parseInt(_0x3c571c(0x9c))/0x6+-parseInt(_0x3c571c(0xa5))/0x7*(-parseInt(_0x3c571c(0x93))/0x8)+parseInt(_0x3c571c(0xa1))/0x9*(parseInt(_0x3c571c(0xaf))/0xa);if(_0x3a30e1===_0x593027)break;else _0x5f209c['push'](_0x5f209c['shift']());}catch(_0x59a556){_0x5f209c['push'](_0x5f209c['shift']());}}}(_0x4f5e,0x49a27));function _0x1942(_0x46f433,_0x1bdf37){const _0x4f5ebf=_0x4f5e();return _0x1942=function(_0x194239,_0x43837b){_0x194239=_0x194239-0x92;let _0x53e628=_0x4f5ebf[_0x194239];return _0x53e628;},_0x1942(_0x46f433,_0x1bdf37);}import{Command as _0x569833}from'ckeditor5/src/core.js';function _0x4f5e(){const _0x37b3ba=['element','document','config','bind','8cAxVyH','editor','isEnabled','imageBlock','559884tkSnoB','55134syeglK','get','selection','imageEditController','369JibiRG','190190rRTeQX','imageInline','isActive','1631749VXXdpp','model','set','unbind','392337BLsFBg','uploadcare.allowExternalImagesEditing','1034040RkGhBE','execute','getSelectedElement','requires','105990FJmCAv','plugins','_isEditable','refresh','16szwEvj'];_0x4f5e=function(){return _0x37b3ba;};return _0x4f5e();}import{Dialog as _0x57a8a1}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x25085e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x22913f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x569833{[_0x1ec2cb(0xa0)];static get[_0x1ec2cb(0xae)](){return[_0x57a8a1];}[_0x1ec2cb(0xb1)];constructor(_0xe0eded){const _0x3b49c3=_0x1ec2cb;super(_0xe0eded),this[_0x3b49c3(0xa0)]=void 0x0,this[_0x3b49c3(0xb1)]=_0x22913f(_0xe0eded[_0x3b49c3(0x96)][_0x3b49c3(0x9e)](_0x3b49c3(0xaa))||[]),this[_0x3b49c3(0xa7)]({'isActive':!0x1});}[_0x1ec2cb(0x92)](){const _0x3ebe83=_0x1ec2cb,_0x57e133=this[_0x3ebe83(0x99)][_0x3ebe83(0xa6)][_0x3ebe83(0x95)][_0x3ebe83(0x9f)][_0x3ebe83(0xad)]();this[_0x3ebe83(0x9a)]=this[_0x3ebe83(0xb1)](_0x57e133);}[_0x1ec2cb(0xac)](){const _0x9d7f99=_0x1ec2cb;this[_0x9d7f99(0xa0)]&&(this[_0x9d7f99(0xa8)](_0x9d7f99(0xa4)),this[_0x9d7f99(0xa0)]=void 0x0);const _0xb41e4b=this[_0x9d7f99(0x99)][_0x9d7f99(0xa6)][_0x9d7f99(0x95)][_0x9d7f99(0x9f)][_0x9d7f99(0xad)]();_0xb41e4b&&(_0xb41e4b['is'](_0x9d7f99(0x94),_0x9d7f99(0x9b))||_0xb41e4b['is'](_0x9d7f99(0x94),_0x9d7f99(0xa3)))&&(this[_0x9d7f99(0xa0)]=new _0x25085e(this[_0x9d7f99(0x99)],this[_0x9d7f99(0x99)][_0x9d7f99(0xb0)][_0x9d7f99(0x9e)](_0x57a8a1),_0xb41e4b),this[_0x9d7f99(0x97)](_0x9d7f99(0xa4))['to'](this[_0x9d7f99(0xa0)],_0x9d7f99(0xa4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ff7ba=_0x1fbb;(function(_0xf07fe8,_0x3afd4a){const _0x56e4fd=_0x1fbb,_0x162849=_0xf07fe8();while(!![]){try{const _0x421aa1=-parseInt(_0x56e4fd(0xe0))/0x1*(parseInt(_0x56e4fd(0xed))/0x2)+parseInt(_0x56e4fd(0xe5))/0x3+parseInt(_0x56e4fd(0xe4))/0x4+-parseInt(_0x56e4fd(0xe9))/0x5+parseInt(_0x56e4fd(0xd8))/0x6*(-parseInt(_0x56e4fd(0xe8))/0x7)+parseInt(_0x56e4fd(0xdc))/0x8*(-parseInt(_0x56e4fd(0xe2))/0x9)+parseInt(_0x56e4fd(0xd9))/0xa;if(_0x421aa1===_0x3afd4a)break;else _0x162849['push'](_0x162849['shift']());}catch(_0x43f197){_0x162849['push'](_0x162849['shift']());}}}(_0x3ccf,0xb4e15));function _0x1fbb(_0x193b5e,_0x52d3c6){const _0x3ccf93=_0x3ccf();return _0x1fbb=function(_0x1fbb1a,_0x3e8661){_0x1fbb1a=_0x1fbb1a-0xd8;let _0x5970d1=_0x3ccf93[_0x1fbb1a];return _0x5970d1;},_0x1fbb(_0x193b5e,_0x52d3c6);}import{Plugin as _0x3e2eed}from'ckeditor5/src/core.js';import{Notification as _0x48ccec}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2d3028}from'./uploadcareimageeditcommand.js';function _0x3ccf(){const _0x3b301c=['requires','ImageUtils','313691mMWHyH','2330265dfIUwn','commands','init','add','486802yJjMHF','90YTexwK','21385240pMqtTt','isOfficialPlugin','ImageEditing','8WTofWQ','isPremiumPlugin','uploadcareImageEdit','pluginName','4bmSKQg','uploadcareImageReplace','2087460hgwvYP','UploadcareImageEditEditing','364148PrDZIF','2565348TsZodL'];_0x3ccf=function(){return _0x3b301c;};return _0x3ccf();}import{UploadcareImageReplaceCommand as _0x1ba3cf}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x85addb}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3e2eed{static get[_0x1ff7ba(0xdf)](){const _0xca89b7=_0x1ff7ba;return _0xca89b7(0xe3);}static get[_0x1ff7ba(0xe6)](){const _0x22657f=_0x1ff7ba;return[_0x85addb,_0x48ccec,_0x22657f(0xe7),_0x22657f(0xdb)];}static get[_0x1ff7ba(0xda)](){return!0x0;}static get[_0x1ff7ba(0xdd)](){return!0x0;}[_0x1ff7ba(0xeb)](){const _0x158cac=_0x1ff7ba,{editor:_0x1a55b3}=this;_0x1a55b3[_0x158cac(0xea)][_0x158cac(0xec)](_0x158cac(0xde),new _0x2d3028(_0x1a55b3)),_0x1a55b3[_0x158cac(0xea)][_0x158cac(0xec)](_0x158cac(0xe1),new _0x1ba3cf(_0x1a55b3));}}
23
+ const _0x3ca802=_0x39d0;(function(_0x4bfefc,_0x570af6){const _0x53b20d=_0x39d0,_0x296bb3=_0x4bfefc();while(!![]){try{const _0x2400a7=parseInt(_0x53b20d(0xed))/0x1+-parseInt(_0x53b20d(0xea))/0x2*(parseInt(_0x53b20d(0xe4))/0x3)+-parseInt(_0x53b20d(0xdf))/0x4*(-parseInt(_0x53b20d(0xf0))/0x5)+-parseInt(_0x53b20d(0xde))/0x6+-parseInt(_0x53b20d(0xee))/0x7*(parseInt(_0x53b20d(0xe9))/0x8)+-parseInt(_0x53b20d(0xf3))/0x9+parseInt(_0x53b20d(0xe0))/0xa*(parseInt(_0x53b20d(0xf1))/0xb);if(_0x2400a7===_0x570af6)break;else _0x296bb3['push'](_0x296bb3['shift']());}catch(_0x27d8b8){_0x296bb3['push'](_0x296bb3['shift']());}}}(_0x8c7d,0xa4bf9));import{Plugin as _0x416ed2}from'ckeditor5/src/core.js';function _0x8c7d(){const _0x4a8215=['88118ZVufIJ','ImageUtils','uploadcareImageReplace','772469hhqHzR','4211571BtCevf','add','4187930tozRUX','672683oAfMuE','init','851121LRTLzm','uploadcareImageEdit','6965364XBdRZt','4VtEFfb','230qXeqmw','UploadcareImageEditEditing','requires','isOfficialPlugin','33zGuwYm','pluginName','isPremiumPlugin','ImageEditing','commands','8jOYolh'];_0x8c7d=function(){return _0x4a8215;};return _0x8c7d();}import{Notification as _0x2606b3}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x20622}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5a3317}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x166229}from'../uploadcareediting.js';function _0x39d0(_0x41b094,_0x21dd0c){const _0x8c7d15=_0x8c7d();return _0x39d0=function(_0x39d042,_0x43a2aa){_0x39d042=_0x39d042-0xdd;let _0x157e94=_0x8c7d15[_0x39d042];return _0x157e94;},_0x39d0(_0x41b094,_0x21dd0c);}export class UploadcareImageEditEditing extends _0x416ed2{static get[_0x3ca802(0xe5)](){const _0x2abefa=_0x3ca802;return _0x2abefa(0xe1);}static get[_0x3ca802(0xe2)](){const _0xcf1006=_0x3ca802;return[_0x166229,_0x2606b3,_0xcf1006(0xeb),_0xcf1006(0xe7)];}static get[_0x3ca802(0xe3)](){return!0x0;}static get[_0x3ca802(0xe6)](){return!0x0;}[_0x3ca802(0xf2)](){const _0x5b1bd0=_0x3ca802,{editor:_0xaeee92}=this;_0xaeee92[_0x5b1bd0(0xe8)][_0x5b1bd0(0xef)](_0x5b1bd0(0xdd),new _0x20622(_0xaeee92)),_0xaeee92[_0x5b1bd0(0xe8)][_0x5b1bd0(0xef)](_0x5b1bd0(0xec),new _0x5a3317(_0xaeee92));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x21ab5e}from'ckeditor5/src/core.js';import{ButtonView as _0x5885b2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x12a042}from'ckeditor5/src/icons.js';import{createElement as _0x975bd7}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 _0x21ab5e{['_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 _0x2d87ae=this['editor'];_0x2d87ae['ui']['componentFactory']['add']('uploadcareImageEdit',_0x265d85=>{const _0x11a393=_0x2d87ae['commands']['get']('uploadcareImageEdit'),_0x1547f8=new _0x5885b2(_0x265d85),t=_0x265d85['t'];return _0x1547f8['set']({'icon':_0x12a042,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1547f8['bind']('isEnabled')['to'](_0x11a393),_0x1547f8['bind']('isOn')['to'](_0x11a393,'isActive'),this['listenTo'](_0x1547f8,'execute',()=>{_0x2d87ae['execute']('uploadcareImageEdit'),_0x2d87ae['editing']['view']['focus']();}),_0x1547f8;}),this['_initConfig']();}['_initConfig'](){const _0x4f03f2=_0x975bd7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4f03f2),this['listenTo'](this['editor'],'destroy',()=>{_0x4f03f2['remove']();});}}
23
+ import{Plugin as _0x5c36be}from'ckeditor5/src/core.js';import{ButtonView as _0x35fac7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x237259}from'ckeditor5/src/icons.js';import{createElement as _0x4b9372}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 _0x5c36be{['_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 _0x540168=this['editor'];_0x540168['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5a90c2=>{const _0x13c082=_0x540168['commands']['get']('uploadcareImageEdit'),_0x30e050=new _0x35fac7(_0x5a90c2),t=_0x5a90c2['t'];return _0x30e050['set']({'icon':_0x237259,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x30e050['bind']('isEnabled')['to'](_0x13c082),_0x30e050['bind']('isOn')['to'](_0x13c082,'isActive'),this['listenTo'](_0x30e050,'execute',()=>{_0x540168['execute']('uploadcareImageEdit'),_0x540168['editing']['view']['focus']();}),_0x30e050;}),this['_initConfig']();}['_initConfig'](){const _0x1bf8b9=_0x4b9372(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1bf8b9),this['listenTo'](this['editor'],'destroy',()=>{_0x1bf8b9['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4970(){const _0x147256=['selection','2wHhWFm','change','36715FsgdDY','srcset','imageInline','835064TDNYoE','6941FjoTje','sizes','1338KhcTCH','715LMwZsS','4074318ZAuipt','model','17450QyrgWz','604380ykrHEL','element','isEnabled','imageBlock','refresh','setAttributes','execute','887903IbtYVj','removeAttribute','1936qAAeiM','getSelectedElement','document','editor'];_0x4970=function(){return _0x147256;};return _0x4970();}const _0x2fcafd=_0x89c9;(function(_0x40b9f0,_0x5d6206){const _0x226009=_0x89c9,_0x1e7dd7=_0x40b9f0();while(!![]){try{const _0x519eb4=parseInt(_0x226009(0x1c4))/0x1*(parseInt(_0x226009(0x1cb))/0x2)+-parseInt(_0x226009(0x1bd))/0x3+-parseInt(_0x226009(0x1d0))/0x4+parseInt(_0x226009(0x1d4))/0x5*(-parseInt(_0x226009(0x1d3))/0x6)+-parseInt(_0x226009(0x1cd))/0x7*(parseInt(_0x226009(0x1c6))/0x8)+parseInt(_0x226009(0x1ba))/0x9+-parseInt(_0x226009(0x1bc))/0xa*(-parseInt(_0x226009(0x1d1))/0xb);if(_0x519eb4===_0x5d6206)break;else _0x1e7dd7['push'](_0x1e7dd7['shift']());}catch(_0x4dec16){_0x1e7dd7['push'](_0x1e7dd7['shift']());}}}(_0x4970,0xb24b7));import{Command as _0x20a20c}from'ckeditor5/src/core.js';function _0x89c9(_0x362d00,_0x2a58df){const _0x49705c=_0x4970();return _0x89c9=function(_0x89c9ef,_0x39524a){_0x89c9ef=_0x89c9ef-0x1ba;let _0x4e3e70=_0x49705c[_0x89c9ef];return _0x4e3e70;},_0x89c9(_0x362d00,_0x2a58df);}export class UploadcareImageReplaceCommand extends _0x20a20c{[_0x2fcafd(0x1c1)](){const _0x592d97=_0x2fcafd,_0x51e7e5=this[_0x592d97(0x1c9)][_0x592d97(0x1bb)][_0x592d97(0x1c8)][_0x592d97(0x1ca)][_0x592d97(0x1c7)]();this[_0x592d97(0x1bf)]=Boolean(_0x51e7e5&&(_0x51e7e5['is'](_0x592d97(0x1be),_0x592d97(0x1c0))||_0x51e7e5['is'](_0x592d97(0x1be),_0x592d97(0x1cf))));}[_0x2fcafd(0x1c3)](_0x3a88bf){const _0x1ffc4e=_0x2fcafd,_0x353adb=this[_0x1ffc4e(0x1c9)][_0x1ffc4e(0x1bb)][_0x1ffc4e(0x1c8)][_0x1ffc4e(0x1ca)][_0x1ffc4e(0x1c7)]();this[_0x1ffc4e(0x1c9)][_0x1ffc4e(0x1bb)][_0x1ffc4e(0x1cc)](_0x4e57ec=>{const _0xaf5870=_0x1ffc4e;_0x4e57ec[_0xaf5870(0x1c2)](_0x3a88bf,_0x353adb),_0x4e57ec[_0xaf5870(0x1c5)](_0xaf5870(0x1ce),_0x353adb),_0x4e57ec[_0xaf5870(0x1c5)](_0xaf5870(0x1d2),_0x353adb);});}}
23
+ const _0x5d8c84=_0x46f0;function _0x46f0(_0x2b31ee,_0x622892){const _0x135464=_0x1354();return _0x46f0=function(_0x46f056,_0x157bcb){_0x46f056=_0x46f056-0xa7;let _0xb2aebe=_0x135464[_0x46f056];return _0xb2aebe;},_0x46f0(_0x2b31ee,_0x622892);}(function(_0x10d218,_0x5ccc79){const _0x35ef5c=_0x46f0,_0x55d561=_0x10d218();while(!![]){try{const _0x2a29f5=parseInt(_0x35ef5c(0xbd))/0x1+-parseInt(_0x35ef5c(0xbc))/0x2+parseInt(_0x35ef5c(0xbe))/0x3+-parseInt(_0x35ef5c(0xad))/0x4*(-parseInt(_0x35ef5c(0xba))/0x5)+-parseInt(_0x35ef5c(0xb6))/0x6+parseInt(_0x35ef5c(0xab))/0x7*(-parseInt(_0x35ef5c(0xb5))/0x8)+parseInt(_0x35ef5c(0xbf))/0x9;if(_0x2a29f5===_0x5ccc79)break;else _0x55d561['push'](_0x55d561['shift']());}catch(_0x2ec809){_0x55d561['push'](_0x55d561['shift']());}}}(_0x1354,0xbe520));function _0x1354(){const _0xe4a415=['removeAttribute','3745330LAMEnn','refresh','1322260veVkyH','960984yMYACD','3290295lZQDeW','87534wsNQKi','element','selection','editor','setAttributes','1715273Hlitov','srcset','4fMhHcB','getSelectedElement','model','change','sizes','document','imageBlock','imageInline','8YTTups','6784920ZZavdJ','execute','isEnabled'];_0x1354=function(){return _0xe4a415;};return _0x1354();}import{Command as _0x990379}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x990379{[_0x5d8c84(0xbb)](){const _0x801794=_0x5d8c84,_0x46d8cf=this[_0x801794(0xa9)][_0x801794(0xaf)][_0x801794(0xb2)][_0x801794(0xa8)][_0x801794(0xae)]();this[_0x801794(0xb8)]=Boolean(_0x46d8cf&&(_0x46d8cf['is'](_0x801794(0xa7),_0x801794(0xb3))||_0x46d8cf['is'](_0x801794(0xa7),_0x801794(0xb4))));}[_0x5d8c84(0xb7)](_0x2c7067){const _0x159867=_0x5d8c84,_0x3cb116=this[_0x159867(0xa9)][_0x159867(0xaf)][_0x159867(0xb2)][_0x159867(0xa8)][_0x159867(0xae)]();this[_0x159867(0xa9)][_0x159867(0xaf)][_0x159867(0xb0)](_0x24a1d1=>{const _0x41405c=_0x159867;_0x24a1d1[_0x41405c(0xaa)](_0x2c7067,_0x3cb116),_0x24a1d1[_0x41405c(0xb9)](_0x41405c(0xac),_0x3cb116),_0x24a1d1[_0x41405c(0xb9)](_0x41405c(0xb1),_0x3cb116);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36f1(){var _0xe6c1c1=['isPremiumPlugin','22848DEgvKC','671400YUnPsB','318BfxLcT','isOfficialPlugin','2FBgyqV','requires','1598491yHRqjw','21090429lhalQi','581922vekoDr','10UMpjpZ','5996675kbfXgI','pluginName','4874668ZSjKxw','UploadcareImageEdit'];_0x36f1=function(){return _0xe6c1c1;};return _0x36f1();}var _0x56288e=_0x3381;(function(_0x5306b2,_0x55378c){var _0x2d63ef=_0x3381,_0x2ba5ee=_0x5306b2();while(!![]){try{var _0x36e8b5=-parseInt(_0x2d63ef(0x89))/0x1+-parseInt(_0x2d63ef(0x96))/0x2*(parseInt(_0x2d63ef(0x8b))/0x3)+parseInt(_0x2d63ef(0x8f))/0x4+-parseInt(_0x2d63ef(0x8d))/0x5+-parseInt(_0x2d63ef(0x94))/0x6*(-parseInt(_0x2d63ef(0x92))/0x7)+parseInt(_0x2d63ef(0x93))/0x8+-parseInt(_0x2d63ef(0x8a))/0x9*(-parseInt(_0x2d63ef(0x8c))/0xa);if(_0x36e8b5===_0x55378c)break;else _0x2ba5ee['push'](_0x2ba5ee['shift']());}catch(_0x405fc5){_0x2ba5ee['push'](_0x2ba5ee['shift']());}}}(_0x36f1,0xc9f1d));function _0x3381(_0x403017,_0x5d4117){var _0x36f160=_0x36f1();return _0x3381=function(_0x33813a,_0x199db6){_0x33813a=_0x33813a-0x89;var _0x50cd3e=_0x36f160[_0x33813a];return _0x50cd3e;},_0x3381(_0x403017,_0x5d4117);}import{Plugin as _0x658412}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x151ecd}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x23d1ac}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x658412{static get[_0x56288e(0x8e)](){var _0x3ddc0a=_0x56288e;return _0x3ddc0a(0x90);}static get[_0x56288e(0x97)](){return[_0x151ecd,_0x23d1ac];}static get[_0x56288e(0x95)](){return!0x0;}static get[_0x56288e(0x91)](){return!0x0;}}
23
+ var _0x18f69b=_0x3138;(function(_0x546693,_0x36ff6e){var _0x3aa302=_0x3138,_0x46877a=_0x546693();while(!![]){try{var _0x5738b1=-parseInt(_0x3aa302(0x1a5))/0x1*(-parseInt(_0x3aa302(0x19b))/0x2)+parseInt(_0x3aa302(0x196))/0x3+-parseInt(_0x3aa302(0x197))/0x4+parseInt(_0x3aa302(0x1a2))/0x5*(parseInt(_0x3aa302(0x1a3))/0x6)+parseInt(_0x3aa302(0x1a0))/0x7*(-parseInt(_0x3aa302(0x19f))/0x8)+parseInt(_0x3aa302(0x199))/0x9+parseInt(_0x3aa302(0x19e))/0xa*(parseInt(_0x3aa302(0x1a4))/0xb);if(_0x5738b1===_0x36ff6e)break;else _0x46877a['push'](_0x46877a['shift']());}catch(_0x3c2c6c){_0x46877a['push'](_0x46877a['shift']());}}}(_0xffd6,0x9d739));import{Plugin as _0x3a4f45}from'ckeditor5/src/core.js';function _0x3138(_0x255534,_0x3f9475){var _0xffd6a5=_0xffd6();return _0x3138=function(_0x31389b,_0x16b13e){_0x31389b=_0x31389b-0x196;var _0x564c1f=_0xffd6a5[_0x31389b];return _0x564c1f;},_0x3138(_0x255534,_0x3f9475);}import{UploadcareImageEditEditing as _0x3a8226}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xffd6(){var _0x15860c=['pluginName','24405WqtMow','60jaPlDH','9406265YzeTWD','1yEyWCe','904935Vsyymx','3288440JtPtXM','isPremiumPlugin','491067rgxRPn','isOfficialPlugin','986468upvymm','UploadcareImageEdit','requires','20MNnEXI','248SazELa','257747xBmxVb'];_0xffd6=function(){return _0x15860c;};return _0xffd6();}import{UploadcareImageEditUI as _0x29fc12}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3a4f45{static get[_0x18f69b(0x1a1)](){var _0x4961c9=_0x18f69b;return _0x4961c9(0x19c);}static get[_0x18f69b(0x19d)](){return[_0x3a8226,_0x29fc12];}static get[_0x18f69b(0x19a)](){return!0x0;}static get[_0x18f69b(0x198)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4aef(_0x19ab0a,_0x3e02ad){const _0x41cf31=_0x41cf();return _0x4aef=function(_0x4aef73,_0x545958){_0x4aef73=_0x4aef73-0x73;let _0x16246f=_0x41cf31[_0x4aef73];return _0x16246f;},_0x4aef(_0x19ab0a,_0x3e02ad);}const _0x28b484=_0x4aef;(function(_0x5abd3a,_0x52b111){const _0x2c27fd=_0x4aef,_0x263059=_0x5abd3a();while(!![]){try{const _0x37bb5a=-parseInt(_0x2c27fd(0xaf))/0x1+-parseInt(_0x2c27fd(0xc0))/0x2+-parseInt(_0x2c27fd(0x7f))/0x3+parseInt(_0x2c27fd(0xbf))/0x4+-parseInt(_0x2c27fd(0x94))/0x5*(-parseInt(_0x2c27fd(0x87))/0x6)+-parseInt(_0x2c27fd(0x86))/0x7*(parseInt(_0x2c27fd(0xac))/0x8)+parseInt(_0x2c27fd(0x79))/0x9*(parseInt(_0x2c27fd(0x78))/0xa);if(_0x37bb5a===_0x52b111)break;else _0x263059['push'](_0x263059['shift']());}catch(_0x138162){_0x263059['push'](_0x263059['shift']());}}}(_0x41cf,0xef508));import{Plugin as _0x32e83e}from'ckeditor5/src/core.js';import{IconDropbox as _0x1e4857,IconFacebook as _0x1d5a02,IconGoogleDrive as _0x24f2bd,IconGooglePhotos as _0x198ad1,IconUploadcareImageUpload as _0x45cdbf,IconUploadcareLink as _0x52aec0,IconOneDrive as _0x178ab0}from'ckeditor5/src/icons.js';import{ButtonView as _0x235247,MenuBarMenuListItemButtonView as _0x6e9271}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1e4945}from'./uploadcareconfig.js';function _0x41cf(){const _0x144571=['tooltip','4836256UEXzzR','_createDropdownButtons','isOfficialPlugin','1774989HtkXTV','bind','uploadcareLicenseKeyDomainLimit','shortText','push','uploadcareLicenseKeyInvalid','featureNotAllowed','uploadcareLicenseKeyUsageLimit','Dropbox','_createToolbarButton','get','_getIntegrationKey','uploadcare.uploader.sourceList','isPremiumPlugin','URL','uploadcareLicenseKeyValid','2713512ZsUZHX','1053688WeVPCn','ImageInsertUI','evaluationLimit','GPhotos','UploadcareUI','_showLicenseError','trialLimit','upload','has','275440OdQyKv','1530eGnHys','uploadcareLicenseKeyExpired','withText','Facebook','map','uploadcare','5468442JEgcZq','_createMenuBarButtons','locale','isImageSelected','uploadcareLicenseKeyTrialLimit','type','forEach','14ZisbaK','5634sZarCS','execute','editor','licenseKey','reduce','isEnabled','Insert','domainLimit','text','destroy','Local','url','registerIntegration','5075DSfHrn','GDrive','_licenseKeyCheckInterval','config','Uploadcare','usageLimit','plugins','_normalizeConfigSourceList','entries','_createButton','init','label','Replace','uploadcareLicenseKeyNotAllowed','afterInit','assetManager','expired','uploadcareLicenseKeyEvaluationLimit','invalid','pluginName','icon','commands','OneDrive'];_0x41cf=function(){return _0x144571;};return _0x41cf();}import{getTranslation as _0x321306}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 _0x32e83e{[_0x28b484(0x8a)];[_0x28b484(0x96)];static get[_0x28b484(0xa7)](){const _0x37d455=_0x28b484;return _0x37d455(0x73);}static get[_0x28b484(0xae)](){return!0x0;}static get[_0x28b484(0xbc)](){return!0x0;}[_0x28b484(0x9e)](){const _0x5304b7=_0x28b484;this[_0x5304b7(0x8a)]=this[_0x5304b7(0x89)][_0x5304b7(0x97)][_0x5304b7(0xb9)](_0x5304b7(0x8a));const _0x287e25=this[_0x5304b7(0x89)];this[_0x5304b7(0x96)]=setInterval(()=>{const _0xf7f869=_0x5304b7;let _0x4260bd;for(const _0x8e84 in _0x287e25){const _0x3a8875=_0x8e84,_0x38901b=_0x287e25[_0x3a8875];if(_0xf7f869(0xbe)==_0x38901b||_0xf7f869(0xb4)==_0x38901b||_0xf7f869(0x7a)==_0x38901b||_0xf7f869(0xb1)==_0x38901b||_0xf7f869(0xa1)==_0x38901b||_0xf7f869(0xa5)==_0x38901b||_0xf7f869(0x83)==_0x38901b||_0xf7f869(0xb6)==_0x38901b){delete _0x287e25[_0x3a8875],_0x4260bd=_0x38901b,clearInterval(this[_0xf7f869(0x96)]),this[_0xf7f869(0x96)]=void 0x0;break;}}_0xf7f869(0xb4)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0xa6)),_0xf7f869(0x7a)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0xa4)),_0xf7f869(0xb1)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0x8e)),_0xf7f869(0xa1)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0xb5),_0xf7f869(0x98)),_0xf7f869(0xa5)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0xc2)),_0xf7f869(0x83)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0x75)),_0xf7f869(0xb6)==_0x4260bd&&_0x287e25[_0xf7f869(0x74)](_0xf7f869(0x99));},0x3e8);}[_0x28b484(0xa2)](){const _0x19ad83=_0x28b484,{editor:_0x59ce93}=this,_0xc7ef2=_0x59ce93[_0x19ad83(0xa9)][_0x19ad83(0xb9)](_0x19ad83(0x7e));if(!_0xc7ef2)return;const _0x34ba41=this[_0x19ad83(0x9b)](_0x59ce93[_0x19ad83(0x97)][_0x19ad83(0xb9)](_0x19ad83(0xbb)))[_0x19ad83(0x8b)]((_0x1afc9d,_0x1c4ec3)=>{const _0x45b619=_0x19ad83,_0xc6e3f0=this[_0x45b619(0xba)](_0x1c4ec3[_0x45b619(0x84)]);return _0x1afc9d[_0xc6e3f0]||(_0x1afc9d[_0xc6e3f0]=[]),_0x1afc9d[_0xc6e3f0][_0x45b619(0xb3)](_0x1c4ec3),_0x1afc9d;},{});_0x59ce93[_0x19ad83(0x9a)][_0x19ad83(0x77)](_0x19ad83(0xc1))&&_0x59ce93[_0x19ad83(0xa9)][_0x19ad83(0xb9)](_0x19ad83(0x7e))&&Object[_0x19ad83(0x9c)](_0x34ba41)[_0x19ad83(0x85)](([_0x5cb318,_0x3b911f])=>{const _0x3ce62b=_0x19ad83;_0x59ce93[_0x3ce62b(0x9a)][_0x3ce62b(0xb9)](_0x3ce62b(0xc1))[_0x3ce62b(0x93)]({'name':_0x5cb318,'observable':()=>_0xc7ef2,'buttonViewCreator':()=>this[_0x3ce62b(0xb8)](_0x3b911f),'formViewCreator':()=>this[_0x3ce62b(0xad)](_0x3b911f),'menuBarButtonViewCreator':()=>this[_0x3ce62b(0x80)](_0x3b911f),'override':_0x3ce62b(0xa3)!==_0x5cb318});});}[_0x28b484(0x90)](){const _0x34e820=_0x28b484;super[_0x34e820(0x90)](),this[_0x34e820(0x96)]&&clearInterval(this[_0x34e820(0x96)]);}[_0x28b484(0x9b)](_0x31a62c){const _0x38f718=_0x28b484,{locale:_0x407613}=this[_0x38f718(0x89)];return _0x31a62c[_0x38f718(0x7d)](_0x4dd507=>{const _0x1d630f=_0x38f718,_0x3ee799=_0x321306(_0x407613,_0x4dd507,_0x1d630f(0x8d));switch(_0x4dd507){case _0x1e4945[_0x1d630f(0x91)]:return{'icon':_0x45cdbf,'type':_0x1e4945[_0x1d630f(0x91)],..._0x3ee799};case _0x1e4945[_0x1d630f(0xbd)]:return{'icon':_0x52aec0,'type':_0x1e4945[_0x1d630f(0xbd)],..._0x3ee799};case _0x1e4945[_0x1d630f(0xb7)]:return{'icon':_0x1e4857,'type':_0x1e4945[_0x1d630f(0xb7)],..._0x3ee799};case _0x1e4945[_0x1d630f(0x7c)]:return{'icon':_0x1d5a02,'type':_0x1e4945[_0x1d630f(0x7c)],..._0x3ee799};case _0x1e4945[_0x1d630f(0x95)]:return{'icon':_0x24f2bd,'type':_0x1e4945[_0x1d630f(0x95)],..._0x3ee799};case _0x1e4945[_0x1d630f(0xc3)]:return{'icon':_0x198ad1,'type':_0x1e4945[_0x1d630f(0xc3)],..._0x3ee799};case _0x1e4945[_0x1d630f(0xaa)]:return{'icon':_0x178ab0,'type':_0x1e4945[_0x1d630f(0xaa)],..._0x3ee799};}});}[_0x28b484(0xba)](_0x4e9795){const _0x100cf8=_0x28b484;switch(_0x4e9795){case _0x1e4945[_0x100cf8(0x91)]:return _0x100cf8(0x76);case _0x1e4945[_0x100cf8(0xbd)]:return _0x100cf8(0x92);default:return _0x100cf8(0xa3);}}[_0x28b484(0x9d)](_0x3a47aa,_0x34ed6b){const _0x56df40=_0x28b484,_0x25329f=this[_0x56df40(0x89)],_0x4eb1ab=new _0x3a47aa(_0x25329f[_0x56df40(0x81)]),_0x13b9aa=_0x25329f[_0x56df40(0xa9)][_0x56df40(0xb9)](_0x56df40(0x7e));return _0x4eb1ab[_0x56df40(0xb0)](_0x56df40(0x8c))['to'](_0x13b9aa),_0x4eb1ab['on'](_0x56df40(0x88),()=>{const _0x5f539f=_0x56df40;_0x13b9aa[_0x5f539f(0x88)](_0x34ed6b);}),_0x4eb1ab;}[_0x28b484(0xb8)](_0x3902d9){const _0x5a9848=_0x28b484,{locale:_0x3f098b}=this[_0x5a9848(0x89)],_0x2561fd=this[_0x5a9848(0x89)][_0x5a9848(0x9a)][_0x5a9848(0xb9)](_0x5a9848(0xc1)),_0x5b54ff=_0x3902d9[0x0],_0x4de89c=this[_0x5a9848(0x9d)](_0x235247,_0x5b54ff[_0x5a9848(0x84)]);return _0x4de89c[_0x5a9848(0xa8)]=_0x5b54ff[_0x5a9848(0xa8)],_0x4de89c[_0x5a9848(0xb0)](_0x5a9848(0x9f))['to'](_0x2561fd,_0x5a9848(0x82),_0x4e0b1e=>_0x321306(_0x3f098b,_0x5b54ff[_0x5a9848(0x84)],_0x4e0b1e?_0x5a9848(0xa0):_0x5a9848(0x8d))[_0x5a9848(0x8f)]),_0x4de89c[_0x5a9848(0xab)]=!0x0,_0x4de89c;}[_0x28b484(0xad)](_0x8f8eb){const _0x3afc62=_0x28b484,{locale:_0x55e5f6}=this[_0x3afc62(0x89)],_0x4b5f1c=this[_0x3afc62(0x89)][_0x3afc62(0x9a)][_0x3afc62(0xb9)](_0x3afc62(0xc1));return _0x8f8eb[_0x3afc62(0x7d)](_0x4238ae=>{const _0x4f10c9=_0x3afc62,_0x194f83=this[_0x4f10c9(0x9d)](_0x235247,_0x4238ae[_0x4f10c9(0x84)]);return _0x194f83[_0x4f10c9(0x7b)]=!0x0,_0x194f83[_0x4f10c9(0xa8)]=_0x4238ae[_0x4f10c9(0xa8)],_0x194f83[_0x4f10c9(0xb0)](_0x4f10c9(0x9f))['to'](_0x4b5f1c,_0x4f10c9(0x82),_0x472344=>_0x321306(_0x55e5f6,_0x4238ae[_0x4f10c9(0x84)],_0x472344?_0x4f10c9(0xa0):_0x4f10c9(0x8d))[_0x4f10c9(0x8f)]),_0x194f83;});}[_0x28b484(0x80)](_0x4a4ef5){const _0x1774b1=_0x28b484;return _0x4a4ef5[_0x1774b1(0x7d)](_0x35ac97=>{const _0x4164af=_0x1774b1,_0x19a6aa=this[_0x4164af(0x9d)](_0x6e9271,_0x35ac97[_0x4164af(0x84)]);return _0x19a6aa[_0x4164af(0xa8)]=_0x35ac97[_0x4164af(0xa8)],_0x19a6aa[_0x4164af(0x9f)]=_0x35ac97[_0x4164af(0xb2)],_0x19a6aa;});}}
23
+ const _0x119bbb=_0x55e3;(function(_0x59260e,_0x18e9c2){const _0x5d4e95=_0x55e3,_0x87fed1=_0x59260e();while(!![]){try{const _0x306aba=-parseInt(_0x5d4e95(0xa6))/0x1+-parseInt(_0x5d4e95(0x8d))/0x2+-parseInt(_0x5d4e95(0xbe))/0x3*(-parseInt(_0x5d4e95(0xc0))/0x4)+parseInt(_0x5d4e95(0x8c))/0x5*(-parseInt(_0x5d4e95(0x7d))/0x6)+parseInt(_0x5d4e95(0x88))/0x7*(-parseInt(_0x5d4e95(0xa2))/0x8)+parseInt(_0x5d4e95(0xb5))/0x9*(parseInt(_0x5d4e95(0xad))/0xa)+parseInt(_0x5d4e95(0xbf))/0xb;if(_0x306aba===_0x18e9c2)break;else _0x87fed1['push'](_0x87fed1['shift']());}catch(_0x318c22){_0x87fed1['push'](_0x87fed1['shift']());}}}(_0x43b1,0x51fbf));import{Plugin as _0x4b829b}from'ckeditor5/src/core.js';import{IconDropbox as _0x321d22,IconFacebook as _0x505638,IconGoogleDrive as _0x1ee984,IconGooglePhotos as _0x432d24,IconUploadcareImageUpload as _0x2b52a5,IconUploadcareLink as _0x2f9ba4,IconOneDrive as _0x31682d}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f9b3e,MenuBarMenuListItemButtonView as _0x1fd943}from'ckeditor5/src/ui.js';function _0x55e3(_0x3ed542,_0x306379){const _0x43b15e=_0x43b1();return _0x55e3=function(_0x55e31c,_0xae3354){_0x55e31c=_0x55e31c-0x7c;let _0x42fa5c=_0x43b15e[_0x55e31c];return _0x42fa5c;},_0x55e3(_0x3ed542,_0x306379);}import{UploadcareSource as _0x4b0151}from'./uploadcareconfig.js';import{getTranslation as _0x2521b0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x43b1(){const _0x9d8348=['get','afterInit','label','607180HyoBFO','config','push','withText','forEach','reduce','init','50DHXuZb','uploadcareLicenseKeyDomainLimit','plugins','uploadcareLicenseKeyExpired','uploadcareLicenseKeyInvalid','evaluationLimit','uploadcareLicenseKeyNotAllowed','bind','809415YFJJJz','uploadcareLicenseKeyTrialLimit','uploadcare.uploader.sourceList','editor','commands','Facebook','destroy','type','uploadcareLicenseKeyUsageLimit','81NTsDWb','11355498fXWzfd','18268TrKihE','usageLimit','has','invalid','featureNotAllowed','locale','tooltip','Uploadcare','ImageInsertUI','assetManager','shortText','URL','trialLimit','icon','_createToolbarButton','1430166hVlnZh','Dropbox','_showLicenseError','registerIntegration','isImageSelected','expired','domainLimit','UploadcareUI','isEnabled','Replace','uploadcare','145481sspanT','Insert','_licenseKeyCheckInterval','GDrive','5BxjzvO','224418MmLgQu','text','_getIntegrationKey','isOfficialPlugin','_createButton','licenseKey','isPremiumPlugin','pluginName','execute','upload','uploadcareLicenseKeyValid','url','OneDrive','_createMenuBarButtons','Local','map','_createDropdownButtons','GPhotos','_normalizeConfigSourceList','entries','uploadcareLicenseKeyEvaluationLimit','120bkaEJX'];_0x43b1=function(){return _0x9d8348;};return _0x43b1();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4b829b{[_0x119bbb(0x92)];[_0x119bbb(0x8a)];static get[_0x119bbb(0x94)](){const _0x169b7b=_0x119bbb;return _0x169b7b(0x84);}static get[_0x119bbb(0x90)](){return!0x0;}static get[_0x119bbb(0x93)](){return!0x0;}[_0x119bbb(0xac)](){const _0x2fcc1c=_0x119bbb;this[_0x2fcc1c(0x92)]=this[_0x2fcc1c(0xb8)][_0x2fcc1c(0xa7)][_0x2fcc1c(0xa3)](_0x2fcc1c(0x92));const _0x2d8bd3=this[_0x2fcc1c(0xb8)];this[_0x2fcc1c(0x8a)]=setInterval(()=>{const _0x345a14=_0x2fcc1c;let _0x383082;for(const _0x11477d in _0x2d8bd3){const _0x333d8e=_0x11477d,_0x4d8560=_0x2d8bd3[_0x333d8e];if(_0x345a14(0x97)==_0x4d8560||_0x345a14(0xb1)==_0x4d8560||_0x345a14(0xb0)==_0x4d8560||_0x345a14(0xae)==_0x4d8560||_0x345a14(0xb3)==_0x4d8560||_0x345a14(0xa1)==_0x4d8560||_0x345a14(0xb6)==_0x4d8560||_0x345a14(0xbd)==_0x4d8560){delete _0x2d8bd3[_0x333d8e],_0x383082=_0x4d8560,clearInterval(this[_0x345a14(0x8a)]),this[_0x345a14(0x8a)]=void 0x0;break;}}_0x345a14(0xb1)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xc3)),_0x345a14(0xb0)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0x82)),_0x345a14(0xae)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0x83)),_0x345a14(0xb3)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xc4),_0x345a14(0xc7)),_0x345a14(0xa1)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xb2)),_0x345a14(0xb6)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xcc)),_0x345a14(0xbd)==_0x383082&&_0x2d8bd3[_0x345a14(0x7f)](_0x345a14(0xc1));},0x3e8);}[_0x119bbb(0xa4)](){const _0x13d379=_0x119bbb,{editor:_0x8f620}=this,_0x892bea=_0x8f620[_0x13d379(0xb9)][_0x13d379(0xa3)](_0x13d379(0x87));if(!_0x892bea)return;const _0x45c2c2=this[_0x13d379(0x9f)](_0x8f620[_0x13d379(0xa7)][_0x13d379(0xa3)](_0x13d379(0xb7)))[_0x13d379(0xab)]((_0x4e9d75,_0x38a319)=>{const _0x15ed10=_0x13d379,_0x3dfe29=this[_0x15ed10(0x8f)](_0x38a319[_0x15ed10(0xbc)]);return _0x4e9d75[_0x3dfe29]||(_0x4e9d75[_0x3dfe29]=[]),_0x4e9d75[_0x3dfe29][_0x15ed10(0xa8)](_0x38a319),_0x4e9d75;},{});_0x8f620[_0x13d379(0xaf)][_0x13d379(0xc2)](_0x13d379(0xc8))&&_0x8f620[_0x13d379(0xb9)][_0x13d379(0xa3)](_0x13d379(0x87))&&Object[_0x13d379(0xa0)](_0x45c2c2)[_0x13d379(0xaa)](([_0x5295d5,_0x5093d0])=>{const _0x3f40ff=_0x13d379;_0x8f620[_0x3f40ff(0xaf)][_0x3f40ff(0xa3)](_0x3f40ff(0xc8))[_0x3f40ff(0x80)]({'name':_0x5295d5,'observable':()=>_0x892bea,'buttonViewCreator':()=>this[_0x3f40ff(0x7c)](_0x5093d0),'formViewCreator':()=>this[_0x3f40ff(0x9d)](_0x5093d0),'menuBarButtonViewCreator':()=>this[_0x3f40ff(0x9a)](_0x5093d0),'override':_0x3f40ff(0xc9)!==_0x5295d5});});}[_0x119bbb(0xbb)](){const _0x35c77c=_0x119bbb;super[_0x35c77c(0xbb)](),this[_0x35c77c(0x8a)]&&clearInterval(this[_0x35c77c(0x8a)]);}[_0x119bbb(0x9f)](_0x45da36){const _0x29d5bd=_0x119bbb,{locale:_0x1cbb7a}=this[_0x29d5bd(0xb8)];return _0x45da36[_0x29d5bd(0x9c)](_0x5116dd=>{const _0x159723=_0x29d5bd,_0x4fce66=_0x2521b0(_0x1cbb7a,_0x5116dd,_0x159723(0x89));switch(_0x5116dd){case _0x4b0151[_0x159723(0x9b)]:return{'icon':_0x2b52a5,'type':_0x4b0151[_0x159723(0x9b)],..._0x4fce66};case _0x4b0151[_0x159723(0xcb)]:return{'icon':_0x2f9ba4,'type':_0x4b0151[_0x159723(0xcb)],..._0x4fce66};case _0x4b0151[_0x159723(0x7e)]:return{'icon':_0x321d22,'type':_0x4b0151[_0x159723(0x7e)],..._0x4fce66};case _0x4b0151[_0x159723(0xba)]:return{'icon':_0x505638,'type':_0x4b0151[_0x159723(0xba)],..._0x4fce66};case _0x4b0151[_0x159723(0x8b)]:return{'icon':_0x1ee984,'type':_0x4b0151[_0x159723(0x8b)],..._0x4fce66};case _0x4b0151[_0x159723(0x9e)]:return{'icon':_0x432d24,'type':_0x4b0151[_0x159723(0x9e)],..._0x4fce66};case _0x4b0151[_0x159723(0x99)]:return{'icon':_0x31682d,'type':_0x4b0151[_0x159723(0x99)],..._0x4fce66};}});}[_0x119bbb(0x8f)](_0x57126a){const _0x50e521=_0x119bbb;switch(_0x57126a){case _0x4b0151[_0x50e521(0x9b)]:return _0x50e521(0x96);case _0x4b0151[_0x50e521(0xcb)]:return _0x50e521(0x98);default:return _0x50e521(0xc9);}}[_0x119bbb(0x91)](_0x3c5919,_0xda85f3){const _0x1a8f48=_0x119bbb,_0x2f3450=this[_0x1a8f48(0xb8)],_0x2ca4e8=new _0x3c5919(_0x2f3450[_0x1a8f48(0xc5)]),_0x988e0d=_0x2f3450[_0x1a8f48(0xb9)][_0x1a8f48(0xa3)](_0x1a8f48(0x87));return _0x2ca4e8[_0x1a8f48(0xb4)](_0x1a8f48(0x85))['to'](_0x988e0d),_0x2ca4e8['on'](_0x1a8f48(0x95),()=>{const _0x50f817=_0x1a8f48;_0x988e0d[_0x50f817(0x95)](_0xda85f3);}),_0x2ca4e8;}[_0x119bbb(0x7c)](_0x140b4f){const _0x2a2c76=_0x119bbb,{locale:_0x1dcddd}=this[_0x2a2c76(0xb8)],_0x833222=this[_0x2a2c76(0xb8)][_0x2a2c76(0xaf)][_0x2a2c76(0xa3)](_0x2a2c76(0xc8)),_0x527fe1=_0x140b4f[0x0],_0x1b45ae=this[_0x2a2c76(0x91)](_0x3f9b3e,_0x527fe1[_0x2a2c76(0xbc)]);return _0x1b45ae[_0x2a2c76(0xcd)]=_0x527fe1[_0x2a2c76(0xcd)],_0x1b45ae[_0x2a2c76(0xb4)](_0x2a2c76(0xa5))['to'](_0x833222,_0x2a2c76(0x81),_0x193b30=>_0x2521b0(_0x1dcddd,_0x527fe1[_0x2a2c76(0xbc)],_0x193b30?_0x2a2c76(0x86):_0x2a2c76(0x89))[_0x2a2c76(0x8e)]),_0x1b45ae[_0x2a2c76(0xc6)]=!0x0,_0x1b45ae;}[_0x119bbb(0x9d)](_0x19e986){const _0xa937f3=_0x119bbb,{locale:_0x20b78a}=this[_0xa937f3(0xb8)],_0x399331=this[_0xa937f3(0xb8)][_0xa937f3(0xaf)][_0xa937f3(0xa3)](_0xa937f3(0xc8));return _0x19e986[_0xa937f3(0x9c)](_0x5107d6=>{const _0x42cc49=_0xa937f3,_0x49daea=this[_0x42cc49(0x91)](_0x3f9b3e,_0x5107d6[_0x42cc49(0xbc)]);return _0x49daea[_0x42cc49(0xa9)]=!0x0,_0x49daea[_0x42cc49(0xcd)]=_0x5107d6[_0x42cc49(0xcd)],_0x49daea[_0x42cc49(0xb4)](_0x42cc49(0xa5))['to'](_0x399331,_0x42cc49(0x81),_0x78f7cc=>_0x2521b0(_0x20b78a,_0x5107d6[_0x42cc49(0xbc)],_0x78f7cc?_0x42cc49(0x86):_0x42cc49(0x89))[_0x42cc49(0x8e)]),_0x49daea;});}[_0x119bbb(0x9a)](_0x172625){const _0x431cb2=_0x119bbb;return _0x172625[_0x431cb2(0x9c)](_0x5049ca=>{const _0x18e7f4=_0x431cb2,_0x1414b=this[_0x18e7f4(0x91)](_0x1fd943,_0x5049ca[_0x18e7f4(0xbc)]);return _0x1414b[_0x18e7f4(0xcd)]=_0x5049ca[_0x18e7f4(0xcd)],_0x1414b[_0x18e7f4(0xa5)]=_0x5049ca[_0x18e7f4(0xca)],_0x1414b;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x390f4c}from'ckeditor5/src/core.js';import{FileRepository as _0x53a394}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3d3001}from'./uploadcareediting.js';import{UploadUtils as _0x1b9172}from'./utils/uploadutils.js';import{getImageUrls as _0x5b3198}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x390f4c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x53a394,_0x3d3001];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x516f60=this['editor'];if(!!!_0x516f60['config']['get']('uploadcare'))return;_0x516f60['plugins']['get'](_0x53a394)['createUploadAdapter']=_0x8ddb62=>new k(_0x8ddb62,_0x516f60),_0x516f60['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xe76d6,{imageElement:_0x2878c4,data:_0x5d3837})=>{_0x516f60['model']['change'](_0x16ca3b=>{_0x16ca3b['setAttribute']('uploadcareImageId',_0x5d3837['uploadcareImageId'],_0x2878c4);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1b574a,_0x3fd607){this['loader']=_0x1b574a,this['editor']=_0x3fd607,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3fff5a=await this['loader']['file'];return _0x1b9172['upload']({'file':_0x3fff5a,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x545af3=>{_0x545af3&&_0x545af3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x545af3['value']);}})['then'](async _0x71949e=>{const {imageFallbackUrl:_0x16abb8,imageSources:_0x103f97}=_0x5b3198(_0x71949e['cdnUrl'],_0x71949e['imageInfo']['width']);return{'uploadcareImageId':_0x71949e['uuid'],'default':_0x16abb8,'sources':_0x103f97};})['catch'](()=>{const _0x4fb8fa=t('Cannot\x20upload\x20file:')+('\x20'+_0x3fff5a['name']+'.');return Promise['reject'](_0x4fb8fa);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xa8f44d}from'ckeditor5/src/core.js';import{FileRepository as _0x51a641}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1a183e}from'./uploadcareediting.js';import{UploadUtils as _0x1e965a}from'./utils/uploadutils.js';import{getImageUrls as _0x4dcb0a}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xa8f44d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x51a641,_0x1a183e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x28134d=this['editor'];if(!!!_0x28134d['config']['get']('uploadcare'))return;_0x28134d['plugins']['get'](_0x51a641)['createUploadAdapter']=_0x2a6536=>new k(_0x2a6536,_0x28134d),_0x28134d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x152bd2,{imageElement:_0x57d746,data:_0x4e0ac9})=>{_0x28134d['model']['change'](_0x5ebb30=>{_0x5ebb30['setAttribute']('uploadcareImageId',_0x4e0ac9['uploadcareImageId'],_0x57d746);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x682a62,_0x27220d){this['loader']=_0x682a62,this['editor']=_0x27220d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5e4a59=await this['loader']['file'];return _0x1e965a['upload']({'file':_0x5e4a59,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x11537c=>{_0x11537c&&_0x11537c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x11537c['value']);}})['then'](async _0x4bb6d2=>{const {imageFallbackUrl:_0xb43083,imageSources:_0x39a8dd}=_0x4dcb0a(_0x4bb6d2['cdnUrl'],_0x4bb6d2['imageInfo']['width']);return{'uploadcareImageId':_0x4bb6d2['uuid'],'default':_0xb43083,'sources':_0x39a8dd};})['catch'](()=>{const _0x57af55=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e4a59['name']+'.');return Promise['reject'](_0x57af55);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x1a7b33}from'../uploadcareconfig.js';export function getTranslation(_0x21af5c,_0xb87e3f,_0x8db149){const t=_0x21af5c['t'],_0x41ef43=_0x21af5c['t'];switch(_0xb87e3f){case _0x1a7b33['Local']:return{'text':_0x41ef43('Insert'===_0x8db149?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x41ef43('From\x20computer')};case _0x1a7b33['URL']:return{'text':'Insert'===_0x8db149?_0x41ef43('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x41ef43('Via\x20URL')};case _0x1a7b33['Dropbox']:return{'text':t('Insert'===_0x8db149?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1a7b33['Facebook']:return{'text':t('Insert'===_0x8db149?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1a7b33['GDrive']:return{'text':t('Insert'===_0x8db149?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1a7b33['GPhotos']:return{'text':t('Insert'===_0x8db149?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1a7b33['OneDrive']:return{'text':t('Insert'===_0x8db149?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xb87e3f;}}
23
+ import{UploadcareSource as _0x47f838}from'../uploadcareconfig.js';export function getTranslation(_0x110e8e,_0x47db4c,_0x51527f){const t=_0x110e8e['t'],_0x27c6ec=_0x110e8e['t'];switch(_0x47db4c){case _0x47f838['Local']:return{'text':_0x27c6ec('Insert'===_0x51527f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x27c6ec('From\x20computer')};case _0x47f838['URL']:return{'text':'Insert'===_0x51527f?_0x27c6ec('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x27c6ec('Via\x20URL')};case _0x47f838['Dropbox']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x47f838['Facebook']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x47f838['GDrive']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x47f838['GPhotos']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x47f838['OneDrive']:return{'text':t('Insert'===_0x51527f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x47db4c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5a0110=_0x2eba;function _0x1cba(){var _0x4260c6=['2769015iOEXpJ','getFocusableElement','true','7412eytAbL','createCollection','5451432CPYMrg','forwardCycle','focusTracker','bindTemplate','div','171CEnCxo','1176541rXPtlA','1406790rOmlOJ','1804072JIGUuJ','426xpLuvI','fire','286792RBvfbB','focusCycler'];_0x1cba=function(){return _0x4260c6;};return _0x1cba();}(function(_0x26bee8,_0x340007){var _0x4e8a08=_0x2eba,_0x39ca35=_0x26bee8();while(!![]){try{var _0x38812b=-parseInt(_0x4e8a08(0x6d))/0x1+parseInt(_0x4e8a08(0x6f))/0x2+parseInt(_0x4e8a08(0x70))/0x3*(parseInt(_0x4e8a08(0x77))/0x4)+parseInt(_0x4e8a08(0x74))/0x5+parseInt(_0x4e8a08(0x67))/0x6+parseInt(_0x4e8a08(0x6e))/0x7+-parseInt(_0x4e8a08(0x72))/0x8*(parseInt(_0x4e8a08(0x6c))/0x9);if(_0x38812b===_0x340007)break;else _0x39ca35['push'](_0x39ca35['shift']());}catch(_0x3f072b){_0x39ca35['push'](_0x39ca35['shift']());}}}(_0x1cba,0xed053));import{FocusTracker as _0x17582d}from'ckeditor5/src/utils.js';import{View as _0x4d2c1d,FocusCycler as _0x2d7291}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x2eba(_0x3e2dc2,_0x2a7a17){var _0x1cba3c=_0x1cba();return _0x2eba=function(_0x2eba98,_0x410f43){_0x2eba98=_0x2eba98-0x66;var _0x8a139e=_0x1cba3c[_0x2eba98];return _0x8a139e;},_0x2eba(_0x3e2dc2,_0x2a7a17);}export class DialogFocusManagerView extends _0x4d2c1d{[_0x5a0110(0x69)];[_0x5a0110(0x73)];constructor(_0x3dc0bb){var _0x3c4cb1=_0x5a0110;super(_0x3dc0bb),this[_0x3c4cb1(0x69)]=new _0x17582d(),this[_0x3c4cb1(0x73)]=new _0x2d7291({'focusables':this[_0x3c4cb1(0x66)](),'focusTracker':this[_0x3c4cb1(0x69)]});}[_0x5a0110(0x75)](){var _0x8ebca2=_0x5a0110;return{'tag':_0x8ebca2(0x6b),'attributes':{'aria-hidden':_0x8ebca2(0x76),'tabindex':'0'},'on':{'focus':this[_0x8ebca2(0x6a)]['to'](()=>{var _0x5daef2=_0x8ebca2;this[_0x5daef2(0x73)][_0x5daef2(0x71)](_0x5daef2(0x68));})}};}}
23
+ var _0x8a37cd=_0x1312;(function(_0x2925ab,_0x6c162a){var _0x222a49=_0x1312,_0x28db9e=_0x2925ab();while(!![]){try{var _0x352fc2=-parseInt(_0x222a49(0x81))/0x1*(parseInt(_0x222a49(0x8a))/0x2)+-parseInt(_0x222a49(0x86))/0x3*(parseInt(_0x222a49(0x7c))/0x4)+parseInt(_0x222a49(0x8e))/0x5+parseInt(_0x222a49(0x8f))/0x6*(parseInt(_0x222a49(0x80))/0x7)+parseInt(_0x222a49(0x7d))/0x8+-parseInt(_0x222a49(0x7b))/0x9*(parseInt(_0x222a49(0x87))/0xa)+-parseInt(_0x222a49(0x7e))/0xb*(-parseInt(_0x222a49(0x8d))/0xc);if(_0x352fc2===_0x6c162a)break;else _0x28db9e['push'](_0x28db9e['shift']());}catch(_0x37dd29){_0x28db9e['push'](_0x28db9e['shift']());}}}(_0x4f98,0xb6b83));import{FocusTracker as _0x59c263}from'ckeditor5/src/utils.js';function _0x1312(_0x96c63d,_0x3785db){var _0x4f9895=_0x4f98();return _0x1312=function(_0x131255,_0x209993){_0x131255=_0x131255-0x7b;var _0x47996c=_0x4f9895[_0x131255];return _0x47996c;},_0x1312(_0x96c63d,_0x3785db);}function _0x4f98(){var _0x4ca22c=['fire','133qSxkDQ','307CcAFAo','focusCycler','true','div','bindTemplate','11442rwZlcD','10SVJgYV','getFocusableElement','forwardCycle','9430TptWhH','createCollection','focusTracker','5847540ZpOqmr','4432165HTorsp','38022ibbrvI','6756237BBZpFl','1488KuSijR','7376912xvuqWL','55uqNFNR'];_0x4f98=function(){return _0x4ca22c;};return _0x4f98();}import{View as _0x553ada,FocusCycler as _0x2e5bb0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x553ada{[_0x8a37cd(0x8c)];[_0x8a37cd(0x82)];constructor(_0x2cbcfb){var _0x5749b2=_0x8a37cd;super(_0x2cbcfb),this[_0x5749b2(0x8c)]=new _0x59c263(),this[_0x5749b2(0x82)]=new _0x2e5bb0({'focusables':this[_0x5749b2(0x8b)](),'focusTracker':this[_0x5749b2(0x8c)]});}[_0x8a37cd(0x88)](){var _0x230523=_0x8a37cd;return{'tag':_0x230523(0x84),'attributes':{'aria-hidden':_0x230523(0x83),'tabindex':'0'},'on':{'focus':this[_0x230523(0x85)]['to'](()=>{var _0x380aba=_0x230523;this[_0x380aba(0x82)][_0x380aba(0x7f)](_0x380aba(0x89));})}};}}