@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250922.0 → 0.0.0-nightly-20250923.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55bd(){const _0x5b8011=['_initImageProcessingIndicator','execute','downcast','elementToAttribute','ctxElement','contentLanguage','config','isPremiumPlugin','uploadcareImageId','uploadcare','afterInit','93783HIRkaL','map','upcast','getAttribute','PictureEditing','imageBlock','_initConfig','uc-config','uploadcare.uploader','listenTo','editor','requires','replaceImageSource','remove','6GAqajh','closeMax','true','689nOciYL','data-uc-image-id','_configElement','_initCtx','getSelectedElement','selection','1632XmuSgF','extend','_initSchema','3883584wZIKsA','uc-upload-ctx-provider','insertImage','document','commands','fromCharCode','_ctxElement','#uc-icon-arrow-down','editing','input[uploadcare-file-input]','removeAttribute','for','conversion','querySelector','cleanupImage','destroy','init','attributeToAttribute','imageInline','2193728bvKJHs','schema','add','iconHrefResolver','\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','uploadcare.pubkey','ucContextId','model','uploader-','body','_initConversion','render','view','join','once','pluginName','16186086THrHnQ','appendChild','get','3492685EhXhif','configElement','uploadcareImageReplace','UploadcareEditing','isOfficialPlugin','isRegistered','locale','href','1830965KSGnaQ'];_0x55bd=function(){return _0x5b8011;};return _0x55bd();}const _0x5b72c6=_0x1427;function _0x1427(_0x523512,_0x4b22cd){const _0x55bde2=_0x55bd();return _0x1427=function(_0x1427ad,_0x5ce525){_0x1427ad=_0x1427ad-0xce;let _0x43931b=_0x55bde2[_0x1427ad];return _0x43931b;},_0x1427(_0x523512,_0x4b22cd);}(function(_0x5942c0,_0x6ba0b1){const _0x1590f6=_0x1427,_0x2cea24=_0x5942c0();while(!![]){try{const _0xd1f6dc=-parseInt(_0x1590f6(0xf6))/0x1*(parseInt(_0x1590f6(0xfc))/0x2)+-parseInt(_0x1590f6(0xe5))/0x3+-parseInt(_0x1590f6(0x112))/0x4+parseInt(_0x1590f6(0xd9))/0x5*(-parseInt(_0x1590f6(0xf3))/0x6)+parseInt(_0x1590f6(0xd1))/0x7+-parseInt(_0x1590f6(0xff))/0x8+parseInt(_0x1590f6(0xce))/0x9;if(_0xd1f6dc===_0x6ba0b1)break;else _0x2cea24['push'](_0x2cea24['shift']());}catch(_0x58cc90){_0x2cea24['push'](_0x2cea24['shift']());}}}(_0x55bd,0x4a2eb));import{Plugin as _0x70e65e}from'ckeditor5/src/core.js';import{Dialog as _0x5aadf2}from'ckeditor5/src/ui.js';import{createElement as _0x35a106,global as _0x3075b5,uid as _0x15ef42}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x197496}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x392ff9}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5278f9}from'./utils/editingutils.js';export class UploadcareEditing extends _0x70e65e{[_0x5b72c6(0xf8)]=null;[_0x5b72c6(0x105)]=null;static get[_0x5b72c6(0x121)](){const _0x394d91=_0x5b72c6;return _0x394d91(0xd4);}static get[_0x5b72c6(0xf0)](){const _0x19dab7=_0x5b72c6;return[_0x19dab7(0xe9),_0x392ff9,_0x5aadf2];}static get[_0x5b72c6(0xd5)](){return!0x0;}static get[_0x5b72c6(0xe1)](){return!0x0;}[_0x5b72c6(0x118)];get[_0x5b72c6(0xd2)](){const _0x5f2372=_0x5b72c6;return this[_0x5f2372(0xf8)];}get[_0x5b72c6(0xde)](){const _0x595415=_0x5b72c6;return this[_0x595415(0x105)];}constructor(_0x5308ac){const _0x479cc8=_0x5b72c6;super(_0x5308ac),this[_0x479cc8(0x118)]=_0x15ef42();}[_0x5b72c6(0x10f)](){const _0x1fda0d=_0x5b72c6,_0xd89a87=this[_0x1fda0d(0xef)];_0xd89a87[_0x1fda0d(0x103)][_0x1fda0d(0x114)](_0x1fda0d(0xe3),new _0x197496(_0xd89a87));}[_0x5b72c6(0xe4)](){const _0x5cb2c9=_0x5b72c6;this[_0x5cb2c9(0xfe)](),this[_0x5cb2c9(0x11c)](),this[_0x5cb2c9(0xeb)](),this[_0x5cb2c9(0xf9)](),this[_0x5cb2c9(0xda)](),this[_0x5cb2c9(0xee)](this[_0x5cb2c9(0xef)],_0x5cb2c9(0x10e),()=>{const _0x188798=_0x5cb2c9;this[_0x188798(0xf8)]&&(this[_0x188798(0xf8)][_0x188798(0xf2)](),this[_0x188798(0xf8)]=null),this[_0x188798(0x105)]&&(this[_0x188798(0x105)][_0x188798(0xf2)](),this[_0x188798(0x105)]=null);const _0x5075f5=_0x3075b5[_0x188798(0x102)][_0x188798(0x10c)](_0x188798(0x108));_0x5075f5&&_0x5075f5[_0x188798(0xf2)]();}),async function(_0x15874c){const _0x2393c6=_0x24aaf3([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]),_0x226379=0x3d8d0df,_0x25fca3=0x3dfa4c7^_0x226379,_0xcdcf86=window[_0x24aaf3([0x44,0x61,0x74,0x65])][_0x24aaf3([0x6e,0x6f,0x77])](),_0x4073be=_0x15874c[_0x24aaf3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f8aee=new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3672=>{_0x4073be[_0x24aaf3([0x6f,0x6e,0x63,0x65])](_0x24aaf3([0x72,0x65,0x61,0x64,0x79]),_0x5f3672);}),_0x485507={[_0x24aaf3([0x6b,0x74,0x79])]:_0x24aaf3([0x45,0x43]),[_0x24aaf3([0x75,0x73,0x65])]:_0x24aaf3([0x73,0x69,0x67]),[_0x24aaf3([0x63,0x72,0x76])]:_0x24aaf3([0x50,0x2d,0x32,0x35,0x36]),[_0x24aaf3([0x78])]:_0x24aaf3([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]),[_0x24aaf3([0x79])]:_0x24aaf3([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]),[_0x24aaf3([0x61,0x6c,0x67])]:_0x24aaf3([0x45,0x53,0x32,0x35,0x36])},_0x97a453=_0x4073be[_0x24aaf3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24aaf3([0x67,0x65,0x74])](_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24d445(){let _0x41c24d,_0x43db28=null,_0x164291=null;try{if(_0x97a453==_0x24aaf3([0x47,0x50,0x4c]))return _0x24aaf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41c24d=_0x27e8a1(),!_0x41c24d)return _0x24aaf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41c24d[_0x24aaf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x164291=_0x4a7ae6(_0x41c24d[_0x24aaf3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41c24d[_0x24aaf3([0x6a,0x74,0x69])])),await _0x4e1155()?_0x3fb801()?_0x231658()?_0x24aaf3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2dcd2a()?(_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24aaf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43db28=_0x165ec1(_0x24aaf3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24aaf3([0x74,0x72,0x69,0x61,0x6c])&&(_0x43db28=_0x165ec1(_0x24aaf3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x278c59()):_0x24aaf3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24aaf3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24aaf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24aaf3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x231658(){const _0x1271bb=[_0x24aaf3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24aaf3([0x74,0x72,0x69,0x61,0x6c])][_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xcdcf86/0x3e8:0xe10*_0x25fca3;return _0x41c24d[_0x24aaf3([0x65,0x78,0x70])]<_0x1271bb;}function _0x3fb801(){const _0x2d17a1=_0x41c24d[_0x24aaf3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d17a1&&(!!_0x2d17a1[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24aaf3([0x2a]))||!!_0x2d17a1[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24aaf3([0x55,0x50,0x4c,0x43])));}function _0x2dcd2a(){const _0x1c5ea1=_0x1427,_0x508d18=_0x41c24d[_0x24aaf3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x508d18||0x0==_0x508d18[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e97c7}=new URL(window[_0x24aaf3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c5ea1(0xd8)]);if(_0x508d18[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e97c7))return!0x0;const _0x4c7dd6=_0x5e97c7[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e]));return _0x508d18[_0x24aaf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dc217=>_0x5dc217[_0x24aaf3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24aaf3([0x2a])))[_0x24aaf3([0x6d,0x61,0x70])](_0x2c2474=>_0x2c2474[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e])))[_0x24aaf3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a10a1=>_0x5a10a1[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c7dd6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24aaf3([0x6d,0x61,0x70])](_0x33c544=>Array(_0x4c7dd6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33c544[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24aaf3([0x66,0x69,0x6c,0x6c])](_0x33c544[0x0]===_0x24aaf3([0x2a])?_0x24aaf3([0x2a]):'')[_0x24aaf3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33c544))[_0x24aaf3([0x73,0x6f,0x6d,0x65])](_0x2aa0a3=>_0x4c7dd6[_0x24aaf3([0x65,0x76,0x65,0x72,0x79])]((_0x59fb41,_0x3b6542)=>_0x2aa0a3[_0x3b6542]===_0x59fb41||_0x2aa0a3[_0x3b6542]===_0x24aaf3([0x2a])));}function _0x278c59(){return _0x43db28&&_0x164291?new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x496958,_0x18ff72)=>{_0x43db28[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x496958,_0x18ff72),_0x164291[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0xd807cd=>{_0xd807cd!=_0x24aaf3([0x56,0x61,0x6c,0x69,0x64])&&_0x496958(_0xd807cd);},_0x18ff72);}):_0x43db28||_0x164291||_0x24aaf3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a7ae6(_0x5ee1f0,_0x3e88d8){return new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x490e10=>{if(_0x49095f())return _0x490e10(_0x24aaf3([0x56,0x61,0x6c,0x69,0x64]));_0x5e8835(),_0x4073be[_0x24aaf3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24aaf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ca900=!0x1;const _0xcbafe8=_0x15ef42();function _0x2058ed(_0x2dbfd7){return!!_0x2dbfd7&&(typeof _0x2dbfd7===_0x24aaf3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dbfd7===_0x24aaf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dbfd7[_0x24aaf3([0x74,0x68,0x65,0x6e])]===_0x24aaf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dbfd7[_0x24aaf3([0x63,0x61,0x74,0x63,0x68])]===_0x24aaf3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cd513(_0x26df0c){_0x1cd49e(_0x26df0c)[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x49df8f=>{if(!_0x49df8f||_0x49df8f[_0x24aaf3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24aaf3([0x6f,0x6b]))return _0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa8fca3(_0x291d8a(_0xcbafe8+_0x3e88d8))!=_0x49df8f[_0x24aaf3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24aaf3([0x56,0x61,0x6c,0x69,0x64]);})[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x1e8449=>(_0x5cfd12(),_0x1e8449),()=>{const _0x3fe200=_0x2e5ed2();return null==_0x3fe200?(_0x5cfd12(),_0x24aaf3([0x56,0x61,0x6c,0x69,0x64])):_0x24aaf3(_0xcdcf86-_0x3fe200>(0x27d454df^_0x226379)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x490e10)[_0x24aaf3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x490e10(_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d5909=0x3ee3e5f^_0x226379;function _0x5cfd12(){const _0x4d86c5=_0x24aaf3([0x6c,0x6c,0x63,0x74,0x2d])+_0xa8fca3(_0x291d8a(_0x5ee1f0)),_0x107f3f=_0x300625(_0xa8fca3(window[_0x24aaf3([0x4d,0x61,0x74,0x68])][_0x24aaf3([0x63,0x65,0x69,0x6c])](_0xcdcf86/_0x3d5909)));window[_0x24aaf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24aaf3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d86c5,_0x107f3f);}function _0x2e5ed2(){const _0x8347e7=_0x24aaf3([0x6c,0x6c,0x63,0x74,0x2d])+_0xa8fca3(_0x291d8a(_0x5ee1f0)),_0x4a42e7=window[_0x24aaf3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24aaf3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8347e7);return _0x4a42e7?window[_0x24aaf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x300625(_0x4a42e7),0x10)*_0x3d5909:null;}function _0x1cd49e(_0x2beb12){return new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4101d9,_0x26bca2)=>{_0x2beb12[_0x24aaf3([0x74,0x68,0x65,0x6e])](_0x4101d9,_0x26bca2),window[_0x24aaf3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26bca2,0x3d9041f^_0x226379);});}}_0x4073be[_0x24aaf3([0x6f,0x6e])](_0x24aaf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x357390,_0x2acb04)=>{if(_0x2acb04[0x0]!=_0x5ee1f0)return _0x490e10(_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2acb04[0x1]={..._0x2acb04[0x1],[_0x24aaf3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcbafe8};},{[_0x24aaf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24aaf3([0x68,0x69,0x67,0x68])}),_0x4073be[_0x24aaf3([0x6f,0x6e])](_0x24aaf3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44dd28=>{_0x2058ed(_0x44dd28[_0x24aaf3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ca900=!0x0,_0x5cd513(_0x44dd28[_0x24aaf3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24aaf3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24aaf3([0x6c,0x6f,0x77])}),_0x2f8aee[_0x24aaf3([0x74,0x68,0x65,0x6e])](()=>{_0x1ca900||_0x490e10(_0x24aaf3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49095f(){return _0x4073be[_0x24aaf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24aaf3([0x76,0x69,0x65,0x77])][_0x24aaf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24aaf3([0x61,0x75,0x74,0x6f]);}function _0x5e8835(){_0x4073be[_0x24aaf3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24aaf3([0x76,0x69,0x65,0x77])][_0x24aaf3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24aaf3([0x61,0x75,0x74,0x6f]);}}function _0x165ec1(_0x1491ef){const _0x2100da=[new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c3ffa=>setTimeout(_0x2c3ffa,0x3d1ee13^_0x226379)),_0x2f8aee[_0x24aaf3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x293aad=>{let _0x1fdce9=0x0;_0x4073be[_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x24aaf3([0x6f,0x6e])](_0x24aaf3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50f78b,_0x1bf084)=>{_0x1bf084[0x0][_0x24aaf3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fdce9++,_0x1fdce9==(0x3d8d127^_0x226379)&&(_0x293aad(),_0x50f78b[_0x24aaf3([0x6f,0x66,0x66])]());});}))];return window[_0x24aaf3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24aaf3([0x72,0x61,0x63,0x65])](_0x2100da)[_0x24aaf3([0x74,0x68,0x65,0x6e])](()=>_0x1491ef);}async function _0x50f693(){await _0x2f8aee,_0x4073be[_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x24aaf3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2094f7,_0x4073be[_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c])][_0x24aaf3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2094f7,_0x4073be[_0x24aaf3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24aaf3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fb309(_0xcba2f2){const _0x557261=_0x3f2aa0();_0x4073be[_0x557261]=_0x24aaf3([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xcba2f2,_0xcba2f2!=_0x24aaf3([0x56,0x61,0x6c,0x69,0x64])&&_0x50f693();}function _0x3f2aa0(){const _0x26ee88=window[_0x24aaf3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24aaf3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24aaf3([0x6e,0x6f,0x77])]())[_0x24aaf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24aaf3([0x2e]),'');let _0x45ba2e=_0x24aaf3([0x52]);for(let _0x5559e7=0x0;_0x5559e7<_0x26ee88[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5559e7+=0x2){let _0x3ace51=window[_0x24aaf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26ee88[_0x24aaf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5559e7,_0x5559e7+0x2));_0x3ace51>=_0x2393c6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ace51-=_0x2393c6[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45ba2e+=_0x2393c6[_0x3ace51];}return _0x45ba2e;}function _0x27e8a1(){const _0xbecb69=_0x97a453[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e]));if(0x3!=_0xbecb69[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ea47c(_0xbecb69[0x1]);function _0x3ea47c(_0x54c53d){const _0x5d3432=_0x15dd0e(_0x54c53d);return _0x5d3432&&_0x2e4628()?_0x5d3432:null;function _0x2e4628(){const _0x5e0748=_0x5d3432[_0x24aaf3([0x6a,0x74,0x69])],_0x2f8a9a=window[_0x24aaf3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e0748[_0x24aaf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e0748[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4fcb33={..._0x5d3432,[_0x24aaf3([0x6a,0x74,0x69])]:_0x5e0748[_0x24aaf3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e0748[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4fcb33[_0x24aaf3([0x76,0x63])],_0x291d8a(_0x4fcb33)==_0x2f8a9a;}}}async function _0x4e1155(){let _0x3e259d=!0x0;try{const _0x60e36c=_0x97a453[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])](_0x24aaf3([0x2e])),[_0x327ce3,_0x2d605e,_0x10fef6]=_0x60e36c;return _0x2c18f0(_0x327ce3),await _0x47f97d(_0x327ce3,_0x2d605e,_0x10fef6),_0x3e259d;}catch{return!0x1;}function _0x2c18f0(_0x294c61){const _0x2c8f35=_0x15dd0e(_0x294c61);_0x2c8f35&&_0x2c8f35[_0x24aaf3([0x61,0x6c,0x67])]==_0x24aaf3([0x45,0x53,0x32,0x35,0x36])||(_0x3e259d=!0x1);}async function _0x47f97d(_0x379d5f,_0x3b5cfc,_0x1b7eba){const _0x42563b=window[_0x24aaf3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24aaf3([0x66,0x72,0x6f,0x6d])](_0x6b24cd(_0x1b7eba),_0x238a5c=>_0x238a5c[_0x24aaf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x458a5d=new window[(_0x24aaf3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24aaf3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x379d5f+_0x24aaf3([0x2e])+_0x3b5cfc),_0x2443ee=window[_0x24aaf3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24aaf3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2443ee)return;const _0x3d9544=await _0x2443ee[_0x24aaf3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24aaf3([0x6a,0x77,0x6b]),_0x485507,{[_0x24aaf3([0x6e,0x61,0x6d,0x65])]:_0x24aaf3([0x45,0x43,0x44,0x53,0x41]),[_0x24aaf3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24aaf3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24aaf3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2443ee[_0x24aaf3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24aaf3([0x6e,0x61,0x6d,0x65])]:_0x24aaf3([0x45,0x43,0x44,0x53,0x41]),[_0x24aaf3([0x68,0x61,0x73,0x68])]:{[_0x24aaf3([0x6e,0x61,0x6d,0x65])]:_0x24aaf3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d9544,_0x42563b,_0x458a5d)||(_0x3e259d=!0x1);}}function _0x15dd0e(_0x211119){return _0x211119[_0x24aaf3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24aaf3([0x65,0x79]))?JSON[_0x24aaf3([0x70,0x61,0x72,0x73,0x65])](_0x6b24cd(_0x211119)):null;}function _0x6b24cd(_0x26d2d5){return window[_0x24aaf3([0x61,0x74,0x6f,0x62])](_0x26d2d5[_0x24aaf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24aaf3([0x2b]))[_0x24aaf3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24aaf3([0x2f])));}function _0x291d8a(_0x4cb64f){let _0x21771c=0x1505;function _0x185526(_0x88ac4a){for(let _0x44bbe6=0x0;_0x44bbe6<_0x88ac4a[_0x24aaf3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44bbe6++){const _0x56de3d=_0x88ac4a[_0x24aaf3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44bbe6);_0x21771c=(_0x21771c<<0x5)+_0x21771c+_0x56de3d,_0x21771c&=_0x21771c;}}function _0x527e48(_0x1abab2){Array[_0x24aaf3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1abab2)?_0x1abab2[_0x24aaf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x527e48):_0x1abab2&&typeof _0x1abab2==_0x24aaf3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24aaf3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1abab2)[_0x24aaf3([0x73,0x6f,0x72,0x74])]()[_0x24aaf3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f8703,_0x2ad2ac])=>{_0x185526(_0x4f8703),_0x527e48(_0x2ad2ac);}):_0x185526(window[_0x24aaf3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1abab2));}return _0x527e48(_0x4cb64f),_0x21771c>>>0x0;}function _0xa8fca3(_0x1ba081){return _0x1ba081[_0x24aaf3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24aaf3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24aaf3([0x30]));}function _0x300625(_0x5501a1){return _0x5501a1[_0x24aaf3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24aaf3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24aaf3([0x6a,0x6f,0x69,0x6e])]('');}function _0x2094f7(){}function _0x24aaf3(_0x2e95f6){const _0x5ee1da=_0x1427;return _0x2e95f6[_0x5ee1da(0xe6)](_0x5b6ca9=>String[_0x5ee1da(0x104)](_0x5b6ca9))[_0x5ee1da(0x11f)]('');}_0x4fb309(await _0x24d445());}(this);}[_0x5b72c6(0xfe)](){const _0x3826c6=_0x5b72c6,_0x107228=this[_0x3826c6(0xef)][_0x3826c6(0x119)][_0x3826c6(0x113)];_0x107228[_0x3826c6(0xd6)](_0x3826c6(0xea))&&_0x107228[_0x3826c6(0xfd)](_0x3826c6(0xea),{'allowAttributes':[_0x3826c6(0xe2)]}),_0x107228[_0x3826c6(0xd6)](_0x3826c6(0x111))&&_0x107228[_0x3826c6(0xfd)](_0x3826c6(0x111),{'allowAttributes':[_0x3826c6(0xe2)]});}[_0x5b72c6(0x11c)](){const _0x1cc1cc=_0x5b72c6,_0x1c3fd4=this[_0x1cc1cc(0xef)];_0x1c3fd4[_0x1cc1cc(0x10b)][_0x1cc1cc(0x10a)](_0x1cc1cc(0xdc))[_0x1cc1cc(0x110)]({'model':_0x1cc1cc(0xe2),'view':_0x1cc1cc(0xf7)}),_0x1c3fd4[_0x1cc1cc(0x10b)][_0x1cc1cc(0x10a)](_0x1cc1cc(0xe7))[_0x1cc1cc(0xdd)]({'model':{'key':_0x1cc1cc(0xe2),'value':_0x1d2dfa=>_0x1d2dfa[_0x1cc1cc(0xe8)](_0x1cc1cc(0xf7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xf3dcf1=_0x1c3fd4[_0x1cc1cc(0x103)][_0x1cc1cc(0xd0)](_0x1cc1cc(0xf1));_0xf3dcf1&&this[_0x1cc1cc(0xee)](_0xf3dcf1,_0x1cc1cc(0x10d),(_0x5d767f,[_0x535a78,_0x479e84])=>{const _0x443901=_0x1cc1cc;_0x535a78[_0x443901(0x109)](_0x443901(0xe2),_0x479e84);});}[_0x5b72c6(0xeb)](){const _0x2f939c=_0x5b72c6,_0x17f045=this[_0x2f939c(0xef)][_0x2f939c(0xe0)][_0x2f939c(0xd0)](_0x2f939c(0xed))||{},_0x2cd5d1=this[_0x2f939c(0xef)][_0x2f939c(0xe0)][_0x2f939c(0xd0)](_0x2f939c(0x117))||'';this[_0x2f939c(0xf8)]=_0x35a106(_0x3075b5[_0x2f939c(0x102)],_0x2f939c(0xec),{..._0x17f045,'pubkey':_0x2cd5d1,'ctx-name':_0x2f939c(0x11a)+this[_0x2f939c(0x118)],'sourceList':'','imgOnly':_0x2f939c(0xf5),'removeCopyright':_0x2f939c(0xf5),'localeName':this[_0x2f939c(0xef)][_0x2f939c(0xd7)][_0x2f939c(0xdf)],'externalSourcesEmbedCss':_0x2f939c(0x116)}),this[_0x2f939c(0xf8)][_0x2f939c(0x115)]=_0x4bdd23=>{const _0x4306c2=_0x2f939c;if(_0x4306c2(0xf4)==_0x4bdd23)return _0x4306c2(0x106);},_0x3075b5[_0x2f939c(0x102)][_0x2f939c(0x11b)][_0x2f939c(0xcf)](this[_0x2f939c(0xf8)]);}[_0x5b72c6(0xf9)](){const _0x402975=_0x5b72c6;this[_0x402975(0x105)]=_0x35a106(_0x3075b5[_0x402975(0x102)],_0x402975(0x100),{'ctx-name':_0x402975(0x11a)+this[_0x402975(0x118)]}),_0x3075b5[_0x402975(0x102)][_0x402975(0x11b)][_0x402975(0xcf)](this[_0x402975(0x105)]);}[_0x5b72c6(0xda)](){const _0x4bb6f6=_0x5b72c6,_0x16e3e6=this[_0x4bb6f6(0xef)][_0x4bb6f6(0x103)][_0x4bb6f6(0xd0)](_0x4bb6f6(0x101));_0x16e3e6&&this[_0x4bb6f6(0xee)](_0x16e3e6,_0x4bb6f6(0xdb),()=>{const _0x15d505=_0x4bb6f6,_0x45df9c=this[_0x15d505(0xef)][_0x15d505(0x119)][_0x15d505(0x102)][_0x15d505(0xfb)][_0x15d505(0xfa)]();_0x45df9c&&_0x45df9c[_0x15d505(0xe8)](_0x15d505(0xe2))&&this[_0x15d505(0xef)][_0x15d505(0x107)][_0x15d505(0x11e)][_0x15d505(0x120)](_0x15d505(0x11d),()=>{const _0x86fa10=_0x15d505;_0x5278f9(this[_0x86fa10(0xef)],_0x45df9c);});});const _0x159032=this[_0x4bb6f6(0xef)][_0x4bb6f6(0x103)][_0x4bb6f6(0xd0)](_0x4bb6f6(0xd3));_0x159032&&this[_0x4bb6f6(0xee)](_0x159032,_0x4bb6f6(0xdb),()=>{const _0x16cfd0=_0x4bb6f6,_0x47f6f0=this[_0x16cfd0(0xef)][_0x16cfd0(0x119)][_0x16cfd0(0x102)][_0x16cfd0(0xfb)][_0x16cfd0(0xfa)]();_0x47f6f0&&_0x47f6f0[_0x16cfd0(0xe8)](_0x16cfd0(0xe2))&&this[_0x16cfd0(0xef)][_0x16cfd0(0x107)][_0x16cfd0(0x11e)][_0x16cfd0(0x120)](_0x16cfd0(0x11d),()=>{const _0x121ff9=_0x16cfd0;_0x5278f9(this[_0x121ff9(0xef)],_0x47f6f0);});});}}
23
+ const _0x14da24=_0x1fba;(function(_0x36fc8d,_0x316df9){const _0x116a43=_0x1fba,_0x1479b2=_0x36fc8d();while(!![]){try{const _0x5760fa=-parseInt(_0x116a43(0x143))/0x1*(parseInt(_0x116a43(0x165))/0x2)+parseInt(_0x116a43(0x133))/0x3+-parseInt(_0x116a43(0x146))/0x4*(-parseInt(_0x116a43(0x153))/0x5)+parseInt(_0x116a43(0x145))/0x6*(-parseInt(_0x116a43(0x177))/0x7)+parseInt(_0x116a43(0x136))/0x8*(-parseInt(_0x116a43(0x16d))/0x9)+parseInt(_0x116a43(0x14c))/0xa*(parseInt(_0x116a43(0x124))/0xb)+parseInt(_0x116a43(0x178))/0xc*(parseInt(_0x116a43(0x135))/0xd);if(_0x5760fa===_0x316df9)break;else _0x1479b2['push'](_0x1479b2['shift']());}catch(_0xeacf7e){_0x1479b2['push'](_0x1479b2['shift']());}}}(_0x13a6,0xb0a9b));import{Plugin as _0x3c2504}from'ckeditor5/src/core.js';function _0x1fba(_0x22b583,_0x54a817){const _0x13a68c=_0x13a6();return _0x1fba=function(_0x1fba38,_0x37ad01){_0x1fba38=_0x1fba38-0x121;let _0x1c95c5=_0x13a68c[_0x1fba38];return _0x1c95c5;},_0x1fba(_0x22b583,_0x54a817);}function _0x13a6(){const _0x57184e=['configElement','editor','47901VSrgSo','4122348rrGiXJ','attributeToAttribute','commands','pluginName','26774hNCzcu','view','document','uploadcare','get','_ctxElement','href','execute','getAttribute','appendChild','replaceImageSource','requires','ucContextId','_initCtx','removeAttribute','855441GTbsbE','locale','91GBTEqb','11434152MWpiLd','uploader-','body','_initImageProcessingIndicator','PictureEditing','init','insertImage','editing','isOfficialPlugin','remove','_initConfig','afterInit','UploadcareEditing','47TgtctW','cleanupImage','1122BenehL','4192FviMLM','selection','isPremiumPlugin','config','conversion','fromCharCode','2770tKtGRz','uploadcare.pubkey','uc-upload-ctx-provider','listenTo','render','#uc-icon-arrow-down','iconHrefResolver','5765eohPRP','true','closeMax','extend','_initConversion','getSelectedElement','imageInline','_initSchema','input[uploadcare-file-input]','isRegistered','map','upcast','destroy','_configElement','data-uc-image-id','querySelector','uc-config','imageBlock','48506eoxPtc','uploadcareImageId','ctxElement','for','elementToAttribute','\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','uploadcareImageReplace','uploadcare.uploader','9ntEhBj','model','downcast','join','schema','once','add','contentLanguage'];_0x13a6=function(){return _0x57184e;};return _0x13a6();}import{Dialog as _0x41be37}from'ckeditor5/src/ui.js';import{createElement as _0x5f276b,global as _0x42b23b,uid as _0x5de18c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x552be5}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1f3f0a}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x22a83f}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3c2504{[_0x14da24(0x160)]=null;[_0x14da24(0x129)]=null;static get[_0x14da24(0x123)](){const _0x2baf7c=_0x14da24;return _0x2baf7c(0x142);}static get[_0x14da24(0x12f)](){const _0x3b6baa=_0x14da24;return[_0x3b6baa(0x13a),_0x1f3f0a,_0x41be37];}static get[_0x14da24(0x13e)](){return!0x0;}static get[_0x14da24(0x148)](){return!0x0;}[_0x14da24(0x130)];get[_0x14da24(0x175)](){const _0x255154=_0x14da24;return this[_0x255154(0x160)];}get[_0x14da24(0x167)](){const _0x1550b0=_0x14da24;return this[_0x1550b0(0x129)];}constructor(_0x3af9ad){const _0x3f1f60=_0x14da24;super(_0x3af9ad),this[_0x3f1f60(0x130)]=_0x5de18c();}[_0x14da24(0x13b)](){const _0x403818=_0x14da24,_0x37000b=this[_0x403818(0x176)];_0x37000b[_0x403818(0x122)][_0x403818(0x173)](_0x403818(0x127),new _0x552be5(_0x37000b));}[_0x14da24(0x141)](){const _0x1437b3=_0x14da24;this[_0x1437b3(0x15a)](),this[_0x1437b3(0x157)](),this[_0x1437b3(0x140)](),this[_0x1437b3(0x131)](),this[_0x1437b3(0x139)](),this[_0x1437b3(0x14f)](this[_0x1437b3(0x176)],_0x1437b3(0x15f),()=>{const _0x51c834=_0x1437b3;this[_0x51c834(0x160)]&&(this[_0x51c834(0x160)][_0x51c834(0x13f)](),this[_0x51c834(0x160)]=null),this[_0x51c834(0x129)]&&(this[_0x51c834(0x129)][_0x51c834(0x13f)](),this[_0x51c834(0x129)]=null);const _0xb97978=_0x42b23b[_0x51c834(0x126)][_0x51c834(0x162)](_0x51c834(0x15b));_0xb97978&&_0xb97978[_0x51c834(0x13f)]();}),async function(_0x52e295){const _0x191b40=_0x30b84f([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]),_0x480e7a=0x3d8d0df,_0xfa6470=0x3dfa4ef^_0x480e7a,_0x34b68b=window[_0x30b84f([0x44,0x61,0x74,0x65])][_0x30b84f([0x6e,0x6f,0x77])](),_0x28cf18=_0x52e295[_0x30b84f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe58631=new window[(_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x629238=>{_0x28cf18[_0x30b84f([0x6f,0x6e,0x63,0x65])](_0x30b84f([0x72,0x65,0x61,0x64,0x79]),_0x629238);}),_0x6334b0={[_0x30b84f([0x6b,0x74,0x79])]:_0x30b84f([0x45,0x43]),[_0x30b84f([0x75,0x73,0x65])]:_0x30b84f([0x73,0x69,0x67]),[_0x30b84f([0x63,0x72,0x76])]:_0x30b84f([0x50,0x2d,0x32,0x35,0x36]),[_0x30b84f([0x78])]:_0x30b84f([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]),[_0x30b84f([0x79])]:_0x30b84f([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]),[_0x30b84f([0x61,0x6c,0x67])]:_0x30b84f([0x45,0x53,0x32,0x35,0x36])},_0x4d6dd5=_0x28cf18[_0x30b84f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30b84f([0x67,0x65,0x74])](_0x30b84f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58174e(){let _0x3a64b7,_0xd4fcb0=null,_0xf7481e=null;try{if(_0x4d6dd5==_0x30b84f([0x47,0x50,0x4c]))return _0x30b84f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a64b7=_0x3fae04(),!_0x3a64b7)return _0x30b84f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a64b7[_0x30b84f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf7481e=_0x53fdc4(_0x3a64b7[_0x30b84f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a64b7[_0x30b84f([0x6a,0x74,0x69])])),await _0x7a242f()?_0x2b709b()?_0x2e0a78()?_0x30b84f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53004f()?(_0x3a64b7[_0x30b84f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30b84f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd4fcb0=_0x5e323c(_0x30b84f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a64b7[_0x30b84f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30b84f([0x74,0x72,0x69,0x61,0x6c])&&(_0xd4fcb0=_0x5e323c(_0x30b84f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x439c14()):_0x30b84f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30b84f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30b84f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30b84f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e0a78(){const _0x6d8908=[_0x30b84f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30b84f([0x74,0x72,0x69,0x61,0x6c])][_0x30b84f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a64b7[_0x30b84f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34b68b/0x3e8:0xe10*_0xfa6470;return _0x3a64b7[_0x30b84f([0x65,0x78,0x70])]<_0x6d8908;}function _0x2b709b(){const _0xcf8bcc=_0x3a64b7[_0x30b84f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xcf8bcc&&(!!_0xcf8bcc[_0x30b84f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b84f([0x2a]))||!!_0xcf8bcc[_0x30b84f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b84f([0x55,0x50,0x4c,0x43])));}function _0x53004f(){const _0x352011=_0x1fba,_0x490397=_0x3a64b7[_0x30b84f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x490397||0x0==_0x490397[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f9890}=new URL(window[_0x30b84f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x352011(0x12a)]);if(_0x490397[_0x30b84f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9890))return!0x0;const _0x37642d=_0x1f9890[_0x30b84f([0x73,0x70,0x6c,0x69,0x74])](_0x30b84f([0x2e]));return _0x490397[_0x30b84f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50dec2=>_0x50dec2[_0x30b84f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30b84f([0x2a])))[_0x30b84f([0x6d,0x61,0x70])](_0x400fd8=>_0x400fd8[_0x30b84f([0x73,0x70,0x6c,0x69,0x74])](_0x30b84f([0x2e])))[_0x30b84f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58b3a4=>_0x58b3a4[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x37642d[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30b84f([0x6d,0x61,0x70])](_0x5d43fd=>Array(_0x37642d[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d43fd[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30b84f([0x66,0x69,0x6c,0x6c])](_0x5d43fd[0x0]===_0x30b84f([0x2a])?_0x30b84f([0x2a]):'')[_0x30b84f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d43fd))[_0x30b84f([0x73,0x6f,0x6d,0x65])](_0x443e18=>_0x37642d[_0x30b84f([0x65,0x76,0x65,0x72,0x79])]((_0x14c3b2,_0x10bbce)=>_0x443e18[_0x10bbce]===_0x14c3b2||_0x443e18[_0x10bbce]===_0x30b84f([0x2a])));}function _0x439c14(){return _0xd4fcb0&&_0xf7481e?new window[(_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42f387,_0x2847bd)=>{_0xd4fcb0[_0x30b84f([0x74,0x68,0x65,0x6e])](_0x42f387,_0x2847bd),_0xf7481e[_0x30b84f([0x74,0x68,0x65,0x6e])](_0x33fd91=>{_0x33fd91!=_0x30b84f([0x56,0x61,0x6c,0x69,0x64])&&_0x42f387(_0x33fd91);},_0x2847bd);}):_0xd4fcb0||_0xf7481e||_0x30b84f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53fdc4(_0x164c83,_0x50261c){return new window[(_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x546ba5=>{if(_0x3beefe())return _0x546ba5(_0x30b84f([0x56,0x61,0x6c,0x69,0x64]));_0x26c442(),_0x28cf18[_0x30b84f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30b84f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43c760=!0x1;const _0x2d8253=_0x5de18c();function _0x2c0ea5(_0x5535c2){return!!_0x5535c2&&(typeof _0x5535c2===_0x30b84f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5535c2===_0x30b84f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5535c2[_0x30b84f([0x74,0x68,0x65,0x6e])]===_0x30b84f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5535c2[_0x30b84f([0x63,0x61,0x74,0x63,0x68])]===_0x30b84f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x180dde(_0x722a60){_0x5fb88b(_0x722a60)[_0x30b84f([0x74,0x68,0x65,0x6e])](_0x31eb1d=>{if(!_0x31eb1d||_0x31eb1d[_0x30b84f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30b84f([0x6f,0x6b]))return _0x30b84f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e728f(_0xf6b1cb(_0x2d8253+_0x50261c))!=_0x31eb1d[_0x30b84f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30b84f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30b84f([0x56,0x61,0x6c,0x69,0x64]);})[_0x30b84f([0x74,0x68,0x65,0x6e])](_0x1f6509=>(_0x4ba3c3(),_0x1f6509),()=>{const _0x449372=_0x55bdaa();return null==_0x449372?(_0x4ba3c3(),_0x30b84f([0x56,0x61,0x6c,0x69,0x64])):_0x30b84f(_0x34b68b-_0x449372>(0x27d454df^_0x480e7a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30b84f([0x74,0x68,0x65,0x6e])](_0x546ba5)[_0x30b84f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x546ba5(_0x30b84f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13394a=0x3ee3e5f^_0x480e7a;function _0x4ba3c3(){const _0xd1819c=_0x30b84f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e728f(_0xf6b1cb(_0x164c83)),_0x54c179=_0x2ef47d(_0x5e728f(window[_0x30b84f([0x4d,0x61,0x74,0x68])][_0x30b84f([0x63,0x65,0x69,0x6c])](_0x34b68b/_0x13394a)));window[_0x30b84f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30b84f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd1819c,_0x54c179);}function _0x55bdaa(){const _0x96c4e1=_0x30b84f([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e728f(_0xf6b1cb(_0x164c83)),_0x2df32b=window[_0x30b84f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30b84f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x96c4e1);return _0x2df32b?window[_0x30b84f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ef47d(_0x2df32b),0x10)*_0x13394a:null;}function _0x5fb88b(_0x5c3359){return new window[(_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xceee64,_0x1e3eec)=>{_0x5c3359[_0x30b84f([0x74,0x68,0x65,0x6e])](_0xceee64,_0x1e3eec),window[_0x30b84f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e3eec,0x3d9041f^_0x480e7a);});}}_0x28cf18[_0x30b84f([0x6f,0x6e])](_0x30b84f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3337dd,_0x11d0d3)=>{if(_0x11d0d3[0x0]!=_0x164c83)return _0x546ba5(_0x30b84f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11d0d3[0x1]={..._0x11d0d3[0x1],[_0x30b84f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d8253};},{[_0x30b84f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30b84f([0x68,0x69,0x67,0x68])}),_0x28cf18[_0x30b84f([0x6f,0x6e])](_0x30b84f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x362982=>{_0x2c0ea5(_0x362982[_0x30b84f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43c760=!0x0,_0x180dde(_0x362982[_0x30b84f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30b84f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30b84f([0x6c,0x6f,0x77])}),_0xe58631[_0x30b84f([0x74,0x68,0x65,0x6e])](()=>{_0x43c760||_0x546ba5(_0x30b84f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3beefe(){return _0x28cf18[_0x30b84f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30b84f([0x76,0x69,0x65,0x77])][_0x30b84f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30b84f([0x61,0x75,0x74,0x6f]);}function _0x26c442(){_0x28cf18[_0x30b84f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30b84f([0x76,0x69,0x65,0x77])][_0x30b84f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30b84f([0x61,0x75,0x74,0x6f]);}}function _0x5e323c(_0x38a1b4){const _0x2f7350=[new window[(_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb4a5c=>setTimeout(_0xb4a5c,0x3d1ee13^_0x480e7a)),_0xe58631[_0x30b84f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24520c=>{let _0x546750=0x0;_0x28cf18[_0x30b84f([0x6d,0x6f,0x64,0x65,0x6c])][_0x30b84f([0x6f,0x6e])](_0x30b84f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5aa93b,_0xaef0b7)=>{_0xaef0b7[0x0][_0x30b84f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x546750++,_0x546750==(0x3d8d127^_0x480e7a)&&(_0x24520c(),_0x5aa93b[_0x30b84f([0x6f,0x66,0x66])]());});}))];return window[_0x30b84f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30b84f([0x72,0x61,0x63,0x65])](_0x2f7350)[_0x30b84f([0x74,0x68,0x65,0x6e])](()=>_0x38a1b4);}async function _0x3ba8b2(){await _0xe58631,_0x28cf18[_0x30b84f([0x6d,0x6f,0x64,0x65,0x6c])][_0x30b84f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43adf8,_0x28cf18[_0x30b84f([0x6d,0x6f,0x64,0x65,0x6c])][_0x30b84f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43adf8,_0x28cf18[_0x30b84f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30b84f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8e9ee1(_0x3c9e09){const _0x7faa57=_0x296019();_0x28cf18[_0x7faa57]=_0x30b84f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3c9e09,_0x3c9e09!=_0x30b84f([0x56,0x61,0x6c,0x69,0x64])&&_0x3ba8b2();}function _0x296019(){const _0x3b3234=window[_0x30b84f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30b84f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30b84f([0x6e,0x6f,0x77])]())[_0x30b84f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30b84f([0x2e]),'');let _0x4f1fa6=_0x30b84f([0x52]);for(let _0x50d770=0x0;_0x50d770<_0x3b3234[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50d770+=0x2){let _0x82e61=window[_0x30b84f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b3234[_0x30b84f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50d770,_0x50d770+0x2));_0x82e61>=_0x191b40[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x82e61-=_0x191b40[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f1fa6+=_0x191b40[_0x82e61];}return _0x4f1fa6;}function _0x3fae04(){const _0x9a7319=_0x4d6dd5[_0x30b84f([0x73,0x70,0x6c,0x69,0x74])](_0x30b84f([0x2e]));if(0x3!=_0x9a7319[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x22f334(_0x9a7319[0x1]);function _0x22f334(_0x2c976e){const _0x798b7f=_0x26bf82(_0x2c976e);return _0x798b7f&&_0x4aa29a()?_0x798b7f:null;function _0x4aa29a(){const _0x7aaa15=_0x798b7f[_0x30b84f([0x6a,0x74,0x69])],_0x3905cb=window[_0x30b84f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7aaa15[_0x30b84f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7aaa15[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40e53c={..._0x798b7f,[_0x30b84f([0x6a,0x74,0x69])]:_0x7aaa15[_0x30b84f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7aaa15[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40e53c[_0x30b84f([0x76,0x63])],_0xf6b1cb(_0x40e53c)==_0x3905cb;}}}async function _0x7a242f(){let _0x5b7df6=!0x0;try{const _0x3bd005=_0x4d6dd5[_0x30b84f([0x73,0x70,0x6c,0x69,0x74])](_0x30b84f([0x2e])),[_0x2d5b9a,_0x1c1ae7,_0x1086e8]=_0x3bd005;return _0x2c38d3(_0x2d5b9a),await _0x544f86(_0x2d5b9a,_0x1c1ae7,_0x1086e8),_0x5b7df6;}catch{return!0x1;}function _0x2c38d3(_0x27fed2){const _0x251253=_0x26bf82(_0x27fed2);_0x251253&&_0x251253[_0x30b84f([0x61,0x6c,0x67])]==_0x30b84f([0x45,0x53,0x32,0x35,0x36])||(_0x5b7df6=!0x1);}async function _0x544f86(_0x4628fc,_0x397de5,_0x198ab2){const _0x313a77=window[_0x30b84f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30b84f([0x66,0x72,0x6f,0x6d])](_0x5d5b13(_0x198ab2),_0x453876=>_0x453876[_0x30b84f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e0573=new window[(_0x30b84f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30b84f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4628fc+_0x30b84f([0x2e])+_0x397de5),_0x27cd50=window[_0x30b84f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30b84f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27cd50)return;const _0x4b7b2e=await _0x27cd50[_0x30b84f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30b84f([0x6a,0x77,0x6b]),_0x6334b0,{[_0x30b84f([0x6e,0x61,0x6d,0x65])]:_0x30b84f([0x45,0x43,0x44,0x53,0x41]),[_0x30b84f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30b84f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30b84f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27cd50[_0x30b84f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30b84f([0x6e,0x61,0x6d,0x65])]:_0x30b84f([0x45,0x43,0x44,0x53,0x41]),[_0x30b84f([0x68,0x61,0x73,0x68])]:{[_0x30b84f([0x6e,0x61,0x6d,0x65])]:_0x30b84f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b7b2e,_0x313a77,_0x1e0573)||(_0x5b7df6=!0x1);}}function _0x26bf82(_0x161ff3){return _0x161ff3[_0x30b84f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30b84f([0x65,0x79]))?JSON[_0x30b84f([0x70,0x61,0x72,0x73,0x65])](_0x5d5b13(_0x161ff3)):null;}function _0x5d5b13(_0x4fbdb0){return window[_0x30b84f([0x61,0x74,0x6f,0x62])](_0x4fbdb0[_0x30b84f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30b84f([0x2b]))[_0x30b84f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30b84f([0x2f])));}function _0xf6b1cb(_0x85a199){let _0x1adf67=0x1505;function _0x5ed7fc(_0x2e2995){for(let _0x509110=0x0;_0x509110<_0x2e2995[_0x30b84f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x509110++){const _0x50ef42=_0x2e2995[_0x30b84f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x509110);_0x1adf67=(_0x1adf67<<0x5)+_0x1adf67+_0x50ef42,_0x1adf67&=_0x1adf67;}}function _0x50189e(_0x3c03f5){Array[_0x30b84f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c03f5)?_0x3c03f5[_0x30b84f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x50189e):_0x3c03f5&&typeof _0x3c03f5==_0x30b84f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30b84f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c03f5)[_0x30b84f([0x73,0x6f,0x72,0x74])]()[_0x30b84f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe0fe0f,_0x2001a5])=>{_0x5ed7fc(_0xe0fe0f),_0x50189e(_0x2001a5);}):_0x5ed7fc(window[_0x30b84f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c03f5));}return _0x50189e(_0x85a199),_0x1adf67>>>0x0;}function _0x5e728f(_0x3aa7f5){return _0x3aa7f5[_0x30b84f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30b84f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30b84f([0x30]));}function _0x2ef47d(_0xf987be){return _0xf987be[_0x30b84f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30b84f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30b84f([0x6a,0x6f,0x69,0x6e])]('');}function _0x43adf8(){}function _0x30b84f(_0x4e9e1){const _0x50ea93=_0x1fba;return _0x4e9e1[_0x50ea93(0x15d)](_0xda84b7=>String[_0x50ea93(0x14b)](_0xda84b7))[_0x50ea93(0x170)]('');}_0x8e9ee1(await _0x58174e());}(this);}[_0x14da24(0x15a)](){const _0x48721c=_0x14da24,_0x46e407=this[_0x48721c(0x176)][_0x48721c(0x16e)][_0x48721c(0x171)];_0x46e407[_0x48721c(0x15c)](_0x48721c(0x164))&&_0x46e407[_0x48721c(0x156)](_0x48721c(0x164),{'allowAttributes':[_0x48721c(0x166)]}),_0x46e407[_0x48721c(0x15c)](_0x48721c(0x159))&&_0x46e407[_0x48721c(0x156)](_0x48721c(0x159),{'allowAttributes':[_0x48721c(0x166)]});}[_0x14da24(0x157)](){const _0x1e6c81=_0x14da24,_0x216861=this[_0x1e6c81(0x176)];_0x216861[_0x1e6c81(0x14a)][_0x1e6c81(0x168)](_0x1e6c81(0x16f))[_0x1e6c81(0x121)]({'model':_0x1e6c81(0x166),'view':_0x1e6c81(0x161)}),_0x216861[_0x1e6c81(0x14a)][_0x1e6c81(0x168)](_0x1e6c81(0x15e))[_0x1e6c81(0x169)]({'model':{'key':_0x1e6c81(0x166),'value':_0x591da3=>_0x591da3[_0x1e6c81(0x12c)](_0x1e6c81(0x161))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1bcb48=_0x216861[_0x1e6c81(0x122)][_0x1e6c81(0x128)](_0x1e6c81(0x12e));_0x1bcb48&&this[_0x1e6c81(0x14f)](_0x1bcb48,_0x1e6c81(0x144),(_0x589da3,[_0x1fc327,_0x30a7c0])=>{const _0x2fd9bf=_0x1e6c81;_0x1fc327[_0x2fd9bf(0x132)](_0x2fd9bf(0x166),_0x30a7c0);});}[_0x14da24(0x140)](){const _0x2fdfc8=_0x14da24,_0x558d86=this[_0x2fdfc8(0x176)][_0x2fdfc8(0x149)][_0x2fdfc8(0x128)](_0x2fdfc8(0x16c))||{},_0x5d2398=this[_0x2fdfc8(0x176)][_0x2fdfc8(0x149)][_0x2fdfc8(0x128)](_0x2fdfc8(0x14d))||'';this[_0x2fdfc8(0x160)]=_0x5f276b(_0x42b23b[_0x2fdfc8(0x126)],_0x2fdfc8(0x163),{..._0x558d86,'pubkey':_0x5d2398,'ctx-name':_0x2fdfc8(0x137)+this[_0x2fdfc8(0x130)],'sourceList':'','imgOnly':_0x2fdfc8(0x154),'removeCopyright':_0x2fdfc8(0x154),'localeName':this[_0x2fdfc8(0x176)][_0x2fdfc8(0x134)][_0x2fdfc8(0x174)],'externalSourcesEmbedCss':_0x2fdfc8(0x16a)}),this[_0x2fdfc8(0x160)][_0x2fdfc8(0x152)]=_0x8fb7b4=>{const _0xa94bbe=_0x2fdfc8;if(_0xa94bbe(0x155)==_0x8fb7b4)return _0xa94bbe(0x151);},_0x42b23b[_0x2fdfc8(0x126)][_0x2fdfc8(0x138)][_0x2fdfc8(0x12d)](this[_0x2fdfc8(0x160)]);}[_0x14da24(0x131)](){const _0x26f91d=_0x14da24;this[_0x26f91d(0x129)]=_0x5f276b(_0x42b23b[_0x26f91d(0x126)],_0x26f91d(0x14e),{'ctx-name':_0x26f91d(0x137)+this[_0x26f91d(0x130)]}),_0x42b23b[_0x26f91d(0x126)][_0x26f91d(0x138)][_0x26f91d(0x12d)](this[_0x26f91d(0x129)]);}[_0x14da24(0x139)](){const _0x2fa44b=_0x14da24,_0x3387da=this[_0x2fa44b(0x176)][_0x2fa44b(0x122)][_0x2fa44b(0x128)](_0x2fa44b(0x13c));_0x3387da&&this[_0x2fa44b(0x14f)](_0x3387da,_0x2fa44b(0x12b),()=>{const _0x197dcf=_0x2fa44b,_0x320a59=this[_0x197dcf(0x176)][_0x197dcf(0x16e)][_0x197dcf(0x126)][_0x197dcf(0x147)][_0x197dcf(0x158)]();_0x320a59&&_0x320a59[_0x197dcf(0x12c)](_0x197dcf(0x166))&&this[_0x197dcf(0x176)][_0x197dcf(0x13d)][_0x197dcf(0x125)][_0x197dcf(0x172)](_0x197dcf(0x150),()=>{const _0x26b60a=_0x197dcf;_0x22a83f(this[_0x26b60a(0x176)],_0x320a59);});});const _0x4a30ad=this[_0x2fa44b(0x176)][_0x2fa44b(0x122)][_0x2fa44b(0x128)](_0x2fa44b(0x16b));_0x4a30ad&&this[_0x2fa44b(0x14f)](_0x4a30ad,_0x2fa44b(0x12b),()=>{const _0x91e05c=_0x2fa44b,_0x518288=this[_0x91e05c(0x176)][_0x91e05c(0x16e)][_0x91e05c(0x126)][_0x91e05c(0x147)][_0x91e05c(0x158)]();_0x518288&&_0x518288[_0x91e05c(0x12c)](_0x91e05c(0x166))&&this[_0x91e05c(0x176)][_0x91e05c(0x13d)][_0x91e05c(0x125)][_0x91e05c(0x172)](_0x91e05c(0x150),()=>{const _0x245e4a=_0x91e05c;_0x22a83f(this[_0x245e4a(0x176)],_0x518288);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x56daba,ObservableMixin as _0x47b8a1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x181fc3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4e778d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x394275}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x289dcc}from'../../utils/uploadutils.js';import{getImageUrls as _0x117fa3,getImageDimension as _0x26bdd8}from'../../utils/editingutils.js';import{isAncestor as _0x36c1d7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x47b8a1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x41670f,_0x450860,_0x4cebdb){super(),this['_editor']=_0x41670f,this['_dialog']=_0x450860,this['_imageElement']=_0x4cebdb,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 _0x5a2337=this['_imageElement'],_0x2ded00=_0x5a2337['getAttribute']('uploadcareImageId'),_0x2fa03d=_0x5a2337['getAttribute']('src');if(_0x2ded00)await this['_loadImageInfo'](_0x2ded00,_0x2fa03d);else{if(this['_imageCache']['has'](_0x2fa03d)){const _0x221eb7=this['_imageCache']['get'](_0x2fa03d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x221eb7['url'],this['imageDimension']=_0x221eb7['dimension'],this['imageId']=_0x221eb7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5009b8}=this['_editor'],t=_0x5009b8['t'],_0x110e4c=new _0x394275(_0x5009b8,this['imageStatus'],this['_attributes']);_0x110e4c['bind']('status')['to'](this,'imageStatus'),_0x110e4c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x110e4c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x110e4c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x110e4c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4e778d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x110e4c,'position':_0x181fc3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x110e4c['focus']();},'onHide':()=>{_0x110e4c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2935ec=>!_0x36c1d7(_0x2935ec,_0x110e4c['element'])}});}['_loadImageInfo'](_0x5bd983,_0x10e2c2){return _0x289dcc['getInfo'](_0x5bd983,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x38231a=>{const {width:_0xeaa01f,height:_0x1ad433}=_0x38231a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10e2c2,this['imageDimension']={'width':_0xeaa01f,'height':_0x1ad433},this['imageId']=_0x5bd983;})['catch'](_0x1ce3e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ce3e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1038f7,_0x136d47){return this['_getImageAsFile'](_0x1038f7)['then'](_0x824238=>_0x289dcc['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':_0x136d47['signal'],'file':_0x824238,'onProgress':_0x3dcfc2=>{_0x3dcfc2&&_0x3dcfc2['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3dcfc2['value']));}}))['then'](_0x4bb4da=>{const {width:_0x1d5e47,height:_0x1ab232}=_0x4bb4da['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bb4da['cdnUrl'],this['imageDimension']={'width':_0x1d5e47,'height':_0x1ab232},this['imageId']=_0x4bb4da['uuid'],this['imageUploadProgress']=null;const _0x5bbf95=_0x1038f7['getAttribute']('src');this['_imageCache']['set'](_0x5bbf95,{'id':_0x4bb4da['uuid'],'url':_0x4bb4da['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a3ab7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a3ab7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x71560e,_0x18fa6e){_0x71560e['on']('apply',(_0x33c4d5,_0x11f4cc)=>{this['_replaceImage'](_0x18fa6e,_0x11f4cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x71560e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x71560e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8f0e4a,_0x53998d,_0xfb3898){const _0x5c1521=this['_editor'],{width:_0x4d338b,height:_0x543743}=_0x26bdd8(_0x53998d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1ae720,imageSources:_0x20f447}=_0x117fa3(_0x53998d,_0x4d338b);_0x5c1521['model']['change'](_0x17ea5e=>{if('$graveyard'===_0x8f0e4a['root']['rootName']){_0x5c1521['execute']('insertImage',{'imageType':_0x8f0e4a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8f0e4a['getAttributes']()),'uploadcareImageId':_0xfb3898,'src':_0x1ae720,'sources':_0x20f447,'width':_0x4d338b,'height':_0x543743}});const _0x4c8c65=_0x8f0e4a['getChildren']();_0x8f0e4a=_0x5c1521['model']['document']['selection']['getSelectedElement']();for(const _0x3dbf01 of _0x4c8c65)_0x17ea5e['append'](_0x17ea5e['cloneElement'](_0x3dbf01),_0x8f0e4a);}else _0x17ea5e['setSelection'](_0x8f0e4a,'on'),_0x5c1521['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8f0e4a['getAttributes']()),'uploadcareImageId':_0xfb3898,'src':_0x1ae720,'sources':_0x20f447,'width':_0x4d338b,'height':_0x543743},_0x8f0e4a);_0x17ea5e['setSelection'](_0x8f0e4a,'on');});}async['_getImageAsFile'](_0x42525e){const _0x44a949=_0x56daba['window'],_0x157987=_0x56daba['document']['location']['href'],_0x1d01af=new _0x44a949['URL'](_0x42525e['getAttribute']('src'),_0x157987);if('data:'===_0x1d01af['protocol']){const _0x14d647=_0x1d01af['href']['split'](','),_0xc380b1=_0x14d647[0x0]['match'](/:(.*?);/)[0x1],_0x4f9dfd=_0xc380b1['split']('/')[0x1],_0x59d02f=_0x44a949['atob'](_0x14d647[_0x14d647['length']-0x1]);let _0x476c6f=_0x59d02f['length'];const _0xd2cfcc=new _0x44a949['Uint8Array'](_0x476c6f);for(;_0x476c6f--;)_0xd2cfcc[_0x476c6f]=_0x59d02f['charCodeAt'](_0x476c6f);return new _0x44a949['File']([_0xd2cfcc],'image.'+_0x4f9dfd,{'type':_0xc380b1});}const _0x3239ec=_0x1d01af['href']['split']('/'),_0x4c0c2f=_0x3239ec[_0x3239ec['length']-0x1],_0x573813=_0x4c0c2f['split']('.')[0x1];return _0x44a949['fetch'](_0x1d01af['href'])['then'](_0x39cb5a=>_0x39cb5a['clone']()['blob']())['then'](_0x50efbe=>new _0x44a949['File']([_0x50efbe],_0x4c0c2f,{'type':'image/'+_0x573813}));}}
23
+ import{global as _0xb95b3e,ObservableMixin as _0x2a5818}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2e7915}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x208fb3}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3a765c}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3c8349}from'../../utils/uploadutils.js';import{getImageUrls as _0x207cde,getImageDimension as _0x25560e}from'../../utils/editingutils.js';import{isAncestor as _0x22c960}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2a5818(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x524149,_0x446944,_0x3ae980){super(),this['_editor']=_0x524149,this['_dialog']=_0x446944,this['_imageElement']=_0x3ae980,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 _0x595f4f=this['_imageElement'],_0x44b016=_0x595f4f['getAttribute']('uploadcareImageId'),_0xc7dac5=_0x595f4f['getAttribute']('src');if(_0x44b016)await this['_loadImageInfo'](_0x44b016,_0xc7dac5);else{if(this['_imageCache']['has'](_0xc7dac5)){const _0x5a5809=this['_imageCache']['get'](_0xc7dac5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a5809['url'],this['imageDimension']=_0x5a5809['dimension'],this['imageId']=_0x5a5809['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56352f}=this['_editor'],t=_0x56352f['t'],_0x4dbac1=new _0x3a765c(_0x56352f,this['imageStatus'],this['_attributes']);_0x4dbac1['bind']('status')['to'](this,'imageStatus'),_0x4dbac1['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4dbac1['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4dbac1['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4dbac1,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x208fb3,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4dbac1,'position':_0x2e7915['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4dbac1['focus']();},'onHide':()=>{_0x4dbac1['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2cb73e=>!_0x22c960(_0x2cb73e,_0x4dbac1['element'])}});}['_loadImageInfo'](_0x313e2b,_0x29b1dd){return _0x3c8349['getInfo'](_0x313e2b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x33be45=>{const {width:_0x38d028,height:_0x3c46d6}=_0x33be45['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29b1dd,this['imageDimension']={'width':_0x38d028,'height':_0x3c46d6},this['imageId']=_0x313e2b;})['catch'](_0x3b8e0a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3b8e0a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x812ea9,_0x38983d){return this['_getImageAsFile'](_0x812ea9)['then'](_0x4a3a42=>_0x3c8349['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':_0x38983d['signal'],'file':_0x4a3a42,'onProgress':_0x3c6b7d=>{_0x3c6b7d&&_0x3c6b7d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3c6b7d['value']));}}))['then'](_0x4bea1d=>{const {width:_0x14ad03,height:_0x596d99}=_0x4bea1d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bea1d['cdnUrl'],this['imageDimension']={'width':_0x14ad03,'height':_0x596d99},this['imageId']=_0x4bea1d['uuid'],this['imageUploadProgress']=null;const _0x11b47b=_0x812ea9['getAttribute']('src');this['_imageCache']['set'](_0x11b47b,{'id':_0x4bea1d['uuid'],'url':_0x4bea1d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x35a968=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x35a968['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2ef04b,_0x2c090e){_0x2ef04b['on']('apply',(_0x291e4f,_0x23a08c)=>{this['_replaceImage'](_0x2c090e,_0x23a08c['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2ef04b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2ef04b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x302bed,_0x1cd1f1,_0x1b3ca0){const _0x5c2090=this['_editor'],{width:_0x23bfff,height:_0x2f2e42}=_0x25560e(_0x1cd1f1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x9efaef,imageSources:_0x10f676}=_0x207cde(_0x1cd1f1,_0x23bfff);_0x5c2090['model']['change'](_0x3ea1ff=>{if('$graveyard'===_0x302bed['root']['rootName']){_0x5c2090['execute']('insertImage',{'imageType':_0x302bed['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x302bed['getAttributes']()),'uploadcareImageId':_0x1b3ca0,'src':_0x9efaef,'sources':_0x10f676,'width':_0x23bfff,'height':_0x2f2e42}});const _0x23460f=_0x302bed['getChildren']();_0x302bed=_0x5c2090['model']['document']['selection']['getSelectedElement']();for(const _0x1e9577 of _0x23460f)_0x3ea1ff['append'](_0x3ea1ff['cloneElement'](_0x1e9577),_0x302bed);}else _0x3ea1ff['setSelection'](_0x302bed,'on'),_0x5c2090['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x302bed['getAttributes']()),'uploadcareImageId':_0x1b3ca0,'src':_0x9efaef,'sources':_0x10f676,'width':_0x23bfff,'height':_0x2f2e42},_0x302bed);_0x3ea1ff['setSelection'](_0x302bed,'on');});}async['_getImageAsFile'](_0x2c327a){const _0x20cf76=_0xb95b3e['window'],_0x2d388a=_0xb95b3e['document']['location']['href'],_0x3775b7=new _0x20cf76['URL'](_0x2c327a['getAttribute']('src'),_0x2d388a);if('data:'===_0x3775b7['protocol']){const _0x322bfc=_0x3775b7['href']['split'](','),_0x580b7f=_0x322bfc[0x0]['match'](/:(.*?);/)[0x1],_0x76bd59=_0x580b7f['split']('/')[0x1],_0x3d01c3=_0x20cf76['atob'](_0x322bfc[_0x322bfc['length']-0x1]);let _0x1893f5=_0x3d01c3['length'];const _0x5df65f=new _0x20cf76['Uint8Array'](_0x1893f5);for(;_0x1893f5--;)_0x5df65f[_0x1893f5]=_0x3d01c3['charCodeAt'](_0x1893f5);return new _0x20cf76['File']([_0x5df65f],'image.'+_0x76bd59,{'type':_0x580b7f});}const _0x43f753=_0x3775b7['href']['split']('/'),_0x1c116c=_0x43f753[_0x43f753['length']-0x1],_0x35e639=_0x1c116c['split']('.')[0x1];return _0x20cf76['fetch'](_0x3775b7['href'])['then'](_0x5d5632=>_0x5d5632['clone']()['blob']())['then'](_0x1a8739=>new _0x20cf76['File']([_0x1a8739],_0x1c116c,{'type':'image/'+_0x35e639}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x20a959,_0x1121d3){const _0xa9bbbb=_0x3f43,_0x2e7ada=_0x20a959();while(!![]){try{const _0x3b5e0c=parseInt(_0xa9bbbb(0xf1))/0x1*(parseInt(_0xa9bbbb(0xeb))/0x2)+-parseInt(_0xa9bbbb(0xee))/0x3*(parseInt(_0xa9bbbb(0xea))/0x4)+parseInt(_0xa9bbbb(0xe7))/0x5+-parseInt(_0xa9bbbb(0xe5))/0x6+parseInt(_0xa9bbbb(0xf0))/0x7+-parseInt(_0xa9bbbb(0xe4))/0x8+parseInt(_0xa9bbbb(0xe9))/0x9;if(_0x3b5e0c===_0x1121d3)break;else _0x2e7ada['push'](_0x2e7ada['shift']());}catch(_0xf9f26c){_0x2e7ada['push'](_0x2e7ada['shift']());}}}(_0x1e4c,0xa61be));import{View as _0x44ec4f}from'ckeditor5/src/ui.js';function _0x3f43(_0x4b4870,_0x1e9095){const _0x1e4c4b=_0x1e4c();return _0x3f43=function(_0x3f4308,_0x5b80d8){_0x3f4308=_0x3f4308-0xe3;let _0x1edf75=_0x1e4c4b[_0x3f4308];return _0x1edf75;},_0x3f43(_0x4b4870,_0x1e9095);}function _0x1e4c(){const _0x21c757=['ck-uploadcare-theme','12319038vsoObP','72300QSwlvR','386OxOTGz','uc-light','uc-cloud-image-editor','63fbpQIG','imageSrc','276381DOnNUZ','4139jJdnRb','set','setTemplate','bindTemplate','4937608tWGYzB','3273084GQOkSJ','image-edit','77900sEpgRu'];_0x1e4c=function(){return _0x21c757;};return _0x1e4c();}export class UploadcareImageEditFormEditingView extends _0x44ec4f{constructor(_0x262d81,_0x43d61d){const _0x8fbfe9=_0x3f43;super(_0x262d81);const _0x59d556=this[_0x8fbfe9(0xe3)];this[_0x8fbfe9(0xf2)](_0x8fbfe9(0xef),''),this[_0x8fbfe9(0xf3)]({'tag':_0x8fbfe9(0xed),'attributes':{..._0x43d61d,'class':[_0x8fbfe9(0xec),_0x8fbfe9(0xe8)],'ctx-name':_0x8fbfe9(0xe6),'cdn-url':_0x59d556['to'](_0x8fbfe9(0xef))}});}}
23
+ function _0x1c74(){const _0x55c7d8=['uc-light','120045VVqfJP','13840GoQrsq','2EPUFsN','uc-cloud-image-editor','bindTemplate','730900PcrMhA','854LNHuID','ck-uploadcare-theme','setTemplate','1465200KkeFof','imageSrc','image-edit','set','592701kZrhdI','5zJUSZy','772566UeHgPY','4292710SATkYs'];_0x1c74=function(){return _0x55c7d8;};return _0x1c74();}(function(_0x425653,_0x2030dc){const _0x2afcf3=_0x48ce,_0x16fb25=_0x425653();while(!![]){try{const _0xe38644=parseInt(_0x2afcf3(0x1b6))/0x1+parseInt(_0x2afcf3(0x1b8))/0x2*(-parseInt(_0x2afcf3(0x1b1))/0x3)+parseInt(_0x2afcf3(0x1bb))/0x4+-parseInt(_0x2afcf3(0x1b2))/0x5*(-parseInt(_0x2afcf3(0x1b3))/0x6)+-parseInt(_0x2afcf3(0x1bc))/0x7*(-parseInt(_0x2afcf3(0x1b7))/0x8)+parseInt(_0x2afcf3(0x1bf))/0x9+-parseInt(_0x2afcf3(0x1b4))/0xa;if(_0xe38644===_0x2030dc)break;else _0x16fb25['push'](_0x16fb25['shift']());}catch(_0x54601a){_0x16fb25['push'](_0x16fb25['shift']());}}}(_0x1c74,0x2b979));function _0x48ce(_0x2ca313,_0x57ee01){const _0x1c741d=_0x1c74();return _0x48ce=function(_0x48ce49,_0x45c3e2){_0x48ce49=_0x48ce49-0x1ae;let _0x4c7fb2=_0x1c741d[_0x48ce49];return _0x4c7fb2;},_0x48ce(_0x2ca313,_0x57ee01);}import{View as _0x458798}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x458798{constructor(_0x4df6a5,_0x48694c){const _0x5c187d=_0x48ce;super(_0x4df6a5);const _0x48e644=this[_0x5c187d(0x1ba)];this[_0x5c187d(0x1b0)](_0x5c187d(0x1ae),''),this[_0x5c187d(0x1be)]({'tag':_0x5c187d(0x1b9),'attributes':{..._0x48694c,'class':[_0x5c187d(0x1b5),_0x5c187d(0x1bd)],'ctx-name':_0x5c187d(0x1af),'cdn-url':_0x48e644['to'](_0x5c187d(0x1ae))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3b4c95}from'ckeditor5/src/icons.js';import{ButtonView as _0x23148f,IconView as _0x8d92a1,View as _0xa3332}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xa3332{constructor(_0x246b96){super(_0x246b96);const t=_0x246b96['t'];this['set']('errorType',null);const _0x5c96dd=new _0x23148f(_0x246b96);_0x5c96dd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c96dd['withText']=!0x0,_0x5c96dd['class']='ck-button-action',_0x5c96dd['on']('execute',()=>{this['fire']('retry');}),_0x5c96dd['bind']('isVisible')['to'](this,'errorType',_0x149220=>'NotFound'!==_0x149220);const _0x510eac=new _0x8d92a1();_0x510eac['content']=_0x3b4c95,_0x510eac['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x27353e=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':[_0x510eac,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x27353e['to']('errorType',_0x4aff55=>t('NotFound'!==_0x4aff55?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c96dd]},{'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 _0x5f50e6}from'ckeditor5/src/icons.js';import{ButtonView as _0x4050a4,IconView as _0x449d0c,View as _0x3278ab}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3278ab{constructor(_0x52e57a){super(_0x52e57a);const t=_0x52e57a['t'];this['set']('errorType',null);const _0x31050f=new _0x4050a4(_0x52e57a);_0x31050f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x31050f['withText']=!0x0,_0x31050f['class']='ck-button-action',_0x31050f['on']('execute',()=>{this['fire']('retry');}),_0x31050f['bind']('isVisible')['to'](this,'errorType',_0x2c3f3b=>'NotFound'!==_0x2c3f3b);const _0x5ccd7b=new _0x449d0c();_0x5ccd7b['content']=_0x5f50e6,_0x5ccd7b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5893ae=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':[_0x5ccd7b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5893ae['to']('errorType',_0x466b3f=>t('NotFound'!==_0x466b3f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x31050f]},{'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 _0x16414b,View as _0x3b66c4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3b66c4{constructor(_0x1ba405){super(_0x1ba405);const t=_0x1ba405['t'],_0x3c0e0c=this['bindTemplate'],_0x3febdd=new _0x16414b();_0x3febdd['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':[_0x3febdd,{'text':_0x3c0e0c['to']('imageUploadProgress',_0x375a69=>t('Loading\x20image...')+'\x20('+(_0x375a69||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 _0x24779e,View as _0x57693a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x57693a{constructor(_0xd7c329){super(_0xd7c329);const t=_0xd7c329['t'],_0x1bf2a4=this['bindTemplate'],_0x4a65d0=new _0x24779e();_0x4a65d0['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':[_0x4a65d0,{'text':_0x1bf2a4['to']('imageUploadProgress',_0x346abf=>t('Loading\x20image...')+'\x20('+(_0x346abf||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 _0xf1de93=_0x16dd;(function(_0x400354,_0x2ca23e){const _0x47f714=_0x16dd,_0x12a5a5=_0x400354();while(!![]){try{const _0x4bbf7c=-parseInt(_0x47f714(0x1eb))/0x1*(parseInt(_0x47f714(0x200))/0x2)+-parseInt(_0x47f714(0x1d5))/0x3*(parseInt(_0x47f714(0x1ff))/0x4)+parseInt(_0x47f714(0x203))/0x5*(parseInt(_0x47f714(0x1e7))/0x6)+-parseInt(_0x47f714(0x1d8))/0x7+parseInt(_0x47f714(0x1e3))/0x8*(-parseInt(_0x47f714(0x1cd))/0x9)+-parseInt(_0x47f714(0x1ed))/0xa*(-parseInt(_0x47f714(0x1e2))/0xb)+parseInt(_0x47f714(0x1fc))/0xc;if(_0x4bbf7c===_0x2ca23e)break;else _0x12a5a5['push'](_0x12a5a5['shift']());}catch(_0x304810){_0x12a5a5['push'](_0x12a5a5['shift']());}}}(_0x1331,0x19f4a));import{View as _0x11108e}from'ckeditor5/src/ui.js';function _0x16dd(_0x5ada5f,_0x2a5088){const _0x133167=_0x1331();return _0x16dd=function(_0x16dd2f,_0x281b02){_0x16dd2f=_0x16dd2f-0x1cc;let _0x5c08ad=_0x133167[_0x16dd2f];return _0x5c08ad;},_0x16dd(_0x5ada5f,_0x2a5088);}import{UploadcareImageEditFormLoadingView as _0x19a7af}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x312725}from'./uploadcareimageeditformerrorview.js';function _0x1331(){const _0x10ea98=['12gINTwI','setTemplate','focus','once','195639jeTqEH','target','3330RfPCRa','querySelector','_errorView','addEventListener','detail','set','length','fire','retry','_waitForImageEditorComponent','apply','render','status','element','ck-uploadcare-form','8396124wukNeD','_loadingView','_setView','4rBHkUS','2XmZPvS','addedNodes','_editingView','139280cGZDJP','cancel','filter','1845279xXvOjo','nodeName','clear','_addErrorViewListeners','ck-reset_all-excluded','cdnUrl','createCollection','change:status','536361mDzURS','add','addMany','648165rSevSL','uc-cloud-image-editor','error','div','_focusableView','disconnect','uploading','ready','observe','_items','759fykkEy','8zojpIq','getFocusableElement','toLowerCase','_addUploadcareImageEditorListeners'];_0x1331=function(){return _0x10ea98;};return _0x1331();}import{UploadcareImageEditFormEditingView as _0x224f66}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2a576f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2a576f{[_0xf1de93(0x1e1)];[_0xf1de93(0x1fd)];[_0xf1de93(0x1ef)];[_0xf1de93(0x202)];[_0xf1de93(0x1dc)];constructor(_0x30a162,_0x4593d2,_0x40fe06){const _0x7baaef=_0xf1de93;super(_0x30a162),this[_0x7baaef(0x1e1)]=this[_0x7baaef(0x1d3)](),this[_0x7baaef(0x1fd)]=new _0x19a7af(_0x30a162),this[_0x7baaef(0x1ef)]=new _0x312725(_0x30a162),this[_0x7baaef(0x202)]=new _0x224f66(_0x30a162,_0x40fe06),this[_0x7baaef(0x1dc)]=new _0x11108e(_0x30a162),this[_0x7baaef(0x1dc)][_0x7baaef(0x1e8)](this[_0x7baaef(0x1e4)]()),this[_0x7baaef(0x1f2)](_0x7baaef(0x1f9),_0x4593d2),this[_0x7baaef(0x1e8)]({'tag':_0x7baaef(0x1db),'attributes':{'class':['ck',_0x7baaef(0x1d1),_0x7baaef(0x1fb)],'tabindex':'-1'},'children':this[_0x7baaef(0x1e1)]}),this[_0x7baaef(0x1fe)](),this[_0x7baaef(0x1ea)](_0x7baaef(0x1f8),()=>{const _0x49d836=_0x7baaef;this[_0x49d836(0x1f6)](this[_0x49d836(0x1fa)],_0x5c2b25=>{const _0x1d22cc=_0x49d836;this[_0x1d22cc(0x1e6)](_0x5c2b25);});}),this['on'](_0x7baaef(0x1d4),()=>{const _0xfedc4=_0x7baaef;this[_0xfedc4(0x1fe)]();}),this[_0x7baaef(0x1d0)]();}[_0xf1de93(0x1e9)](){const _0x160f2f=_0xf1de93;this[_0x160f2f(0x1fa)][_0x160f2f(0x1e9)]();}[_0xf1de93(0x1fe)](){const _0x9fbcfc=_0xf1de93;switch(this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1cf)](),this[_0x9fbcfc(0x1f9)]){case _0x9fbcfc(0x1de):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d6)](this[_0x9fbcfc(0x1fd)]);break;case _0x9fbcfc(0x1da):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d6)](this[_0x9fbcfc(0x1ef)]);break;case _0x9fbcfc(0x1df):this[_0x9fbcfc(0x1e1)][_0x9fbcfc(0x1d7)]([this[_0x9fbcfc(0x202)],this[_0x9fbcfc(0x1dc)]]);}}[_0xf1de93(0x1f6)](_0x1aad78,_0x41967f){const _0x4c7ecb=_0xf1de93,_0x307f20=_0x4c7ecb(0x1d9),_0x9863d0=_0x1aad78[_0x4c7ecb(0x1ee)](_0x307f20);if(_0x9863d0)return _0x41967f(_0x9863d0);const _0x4411c7=new MutationObserver(_0x5bb6a5=>{const _0x301233=_0x4c7ecb,_0x4df564=_0x5bb6a5[_0x301233(0x1cc)](_0x1ba9a8=>_0x1ba9a8[_0x301233(0x1ec)]===_0x1aad78&&_0x1ba9a8[_0x301233(0x201)][_0x301233(0x1f3)]>0x0&&_0x1ba9a8[_0x301233(0x201)][0x0][_0x301233(0x1ce)][_0x301233(0x1e5)]()===_0x307f20);_0x4df564[_0x301233(0x1f3)]&&(_0x4411c7[_0x301233(0x1dd)](),_0x41967f(_0x4df564[0x0][_0x301233(0x201)][0x0]));});_0x4411c7[_0x4c7ecb(0x1e0)](_0x1aad78,{'childList':!0x0,'subtree':!0x0});}[_0xf1de93(0x1e6)](_0x2db435){const _0x2a02a4=_0xf1de93;_0x2db435[_0x2a02a4(0x1f0)](_0x2a02a4(0x1f7),_0x5cf0d6=>{const _0x31a7aa=_0x2a02a4;this[_0x31a7aa(0x1f4)](_0x31a7aa(0x1f7),{'imageSrc':_0x5cf0d6[_0x31a7aa(0x1f1)][_0x31a7aa(0x1d2)]});}),_0x2db435[_0x2a02a4(0x1f0)](_0x2a02a4(0x204),()=>{const _0x4b9fef=_0x2a02a4;this[_0x4b9fef(0x1f4)](_0x4b9fef(0x204));});}[_0xf1de93(0x1d0)](){const _0x49fd14=_0xf1de93;this[_0x49fd14(0x1ef)]['on'](_0x49fd14(0x1f5),()=>{const _0xb76c01=_0x49fd14;this[_0xb76c01(0x1f4)](_0xb76c01(0x1f5));});}}
23
+ const _0x5b7121=_0x4a08;(function(_0x1d478d,_0xf58db2){const _0x1036cf=_0x4a08,_0x5f2825=_0x1d478d();while(!![]){try{const _0x529d17=-parseInt(_0x1036cf(0xa0))/0x1*(-parseInt(_0x1036cf(0xa1))/0x2)+-parseInt(_0x1036cf(0x84))/0x3+-parseInt(_0x1036cf(0x7e))/0x4+-parseInt(_0x1036cf(0x89))/0x5+parseInt(_0x1036cf(0x7f))/0x6*(-parseInt(_0x1036cf(0xaa))/0x7)+parseInt(_0x1036cf(0xad))/0x8*(parseInt(_0x1036cf(0x9e))/0x9)+parseInt(_0x1036cf(0x87))/0xa*(parseInt(_0x1036cf(0xab))/0xb);if(_0x529d17===_0xf58db2)break;else _0x5f2825['push'](_0x5f2825['shift']());}catch(_0x140f8c){_0x5f2825['push'](_0x5f2825['shift']());}}}(_0x5e58,0x4d4f5));function _0x4a08(_0x8fe196,_0x8f4e75){const _0x5e588a=_0x5e58();return _0x4a08=function(_0x4a0852,_0x53d3ba){_0x4a0852=_0x4a0852-0x77;let _0x2122fe=_0x5e588a[_0x4a0852];return _0x2122fe;},_0x4a08(_0x8fe196,_0x8f4e75);}import{View as _0x39fad0}from'ckeditor5/src/ui.js';function _0x5e58(){const _0x20b2ad=['_loadingView','setTemplate','1755267XGgJqz','fire','target','10EbeqCo','toLowerCase','1108070wbLuut','addMany','add','ck-reset_all-excluded','ready','_waitForImageEditorComponent','querySelector','div','length','once','_errorView','addedNodes','observe','getFocusableElement','status','retry','_editingView','clear','focus','ck-uploadcare-form','createCollection','108SlbvIT','disconnect','249795OXIcik','4hMpcow','cancel','filter','addEventListener','render','uc-cloud-image-editor','_focusableView','detail','apply','9905GFWtuY','11360316FicZPN','nodeName','42312DOaKAW','set','error','_addErrorViewListeners','cdnUrl','uploading','element','change:status','_addUploadcareImageEditorListeners','1086080BFBzTZ','852Olpwgq','_items','_setView'];_0x5e58=function(){return _0x20b2ad;};return _0x5e58();}import{UploadcareImageEditFormLoadingView as _0x15cb4f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x313d6f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xdff510}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5b3644}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5b3644{[_0x5b7121(0x80)];[_0x5b7121(0x82)];[_0x5b7121(0x93)];[_0x5b7121(0x99)];[_0x5b7121(0xa7)];constructor(_0x190b00,_0x2afa99,_0x469d43){const _0x18d85d=_0x5b7121;super(_0x190b00),this[_0x18d85d(0x80)]=this[_0x18d85d(0x9d)](),this[_0x18d85d(0x82)]=new _0x15cb4f(_0x190b00),this[_0x18d85d(0x93)]=new _0x313d6f(_0x190b00),this[_0x18d85d(0x99)]=new _0xdff510(_0x190b00,_0x469d43),this[_0x18d85d(0xa7)]=new _0x39fad0(_0x190b00),this[_0x18d85d(0xa7)][_0x18d85d(0x83)](this[_0x18d85d(0x96)]()),this[_0x18d85d(0xae)](_0x18d85d(0x97),_0x2afa99),this[_0x18d85d(0x83)]({'tag':_0x18d85d(0x90),'attributes':{'class':['ck',_0x18d85d(0x8c),_0x18d85d(0x9c)],'tabindex':'-1'},'children':this[_0x18d85d(0x80)]}),this[_0x18d85d(0x81)](),this[_0x18d85d(0x92)](_0x18d85d(0xa5),()=>{const _0x27337f=_0x18d85d;this[_0x27337f(0x8e)](this[_0x27337f(0x7b)],_0xe03c62=>{const _0x53b1ce=_0x27337f;this[_0x53b1ce(0x7d)](_0xe03c62);});}),this['on'](_0x18d85d(0x7c),()=>{const _0x3f3d17=_0x18d85d;this[_0x3f3d17(0x81)]();}),this[_0x18d85d(0x78)]();}[_0x5b7121(0x9b)](){const _0x1c8a9b=_0x5b7121;this[_0x1c8a9b(0x7b)][_0x1c8a9b(0x9b)]();}[_0x5b7121(0x81)](){const _0x15f5c2=_0x5b7121;switch(this[_0x15f5c2(0x80)][_0x15f5c2(0x9a)](),this[_0x15f5c2(0x97)]){case _0x15f5c2(0x7a):this[_0x15f5c2(0x80)][_0x15f5c2(0x8b)](this[_0x15f5c2(0x82)]);break;case _0x15f5c2(0x77):this[_0x15f5c2(0x80)][_0x15f5c2(0x8b)](this[_0x15f5c2(0x93)]);break;case _0x15f5c2(0x8d):this[_0x15f5c2(0x80)][_0x15f5c2(0x8a)]([this[_0x15f5c2(0x99)],this[_0x15f5c2(0xa7)]]);}}[_0x5b7121(0x8e)](_0x2fa8ab,_0x1d8302){const _0x13f149=_0x5b7121,_0x5121e9=_0x13f149(0xa6),_0x328e24=_0x2fa8ab[_0x13f149(0x8f)](_0x5121e9);if(_0x328e24)return _0x1d8302(_0x328e24);const _0x96fa45=new MutationObserver(_0x280b48=>{const _0x37eed4=_0x13f149,_0x495a3c=_0x280b48[_0x37eed4(0xa3)](_0x76d652=>_0x76d652[_0x37eed4(0x86)]===_0x2fa8ab&&_0x76d652[_0x37eed4(0x94)][_0x37eed4(0x91)]>0x0&&_0x76d652[_0x37eed4(0x94)][0x0][_0x37eed4(0xac)][_0x37eed4(0x88)]()===_0x5121e9);_0x495a3c[_0x37eed4(0x91)]&&(_0x96fa45[_0x37eed4(0x9f)](),_0x1d8302(_0x495a3c[0x0][_0x37eed4(0x94)][0x0]));});_0x96fa45[_0x13f149(0x95)](_0x2fa8ab,{'childList':!0x0,'subtree':!0x0});}[_0x5b7121(0x7d)](_0x506cc5){const _0x54fddf=_0x5b7121;_0x506cc5[_0x54fddf(0xa4)](_0x54fddf(0xa9),_0xbd748b=>{const _0x777487=_0x54fddf;this[_0x777487(0x85)](_0x777487(0xa9),{'imageSrc':_0xbd748b[_0x777487(0xa8)][_0x777487(0x79)]});}),_0x506cc5[_0x54fddf(0xa4)](_0x54fddf(0xa2),()=>{const _0x16a415=_0x54fddf;this[_0x16a415(0x85)](_0x16a415(0xa2));});}[_0x5b7121(0x78)](){const _0x2b57cb=_0x5b7121;this[_0x2b57cb(0x93)]['on'](_0x2b57cb(0x98),()=>{const _0x39c9a4=_0x2b57cb;this[_0x39c9a4(0x85)](_0x39c9a4(0x98));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40ce95=_0x4ef1;(function(_0x25db5e,_0x4a01f9){const _0x39beee=_0x4ef1,_0x5a4992=_0x25db5e();while(!![]){try{const _0x58b2db=parseInt(_0x39beee(0x115))/0x1*(parseInt(_0x39beee(0x12d))/0x2)+-parseInt(_0x39beee(0x125))/0x3+parseInt(_0x39beee(0x132))/0x4+parseInt(_0x39beee(0x116))/0x5*(-parseInt(_0x39beee(0x12a))/0x6)+parseInt(_0x39beee(0x12f))/0x7+-parseInt(_0x39beee(0x12b))/0x8+parseInt(_0x39beee(0x11c))/0x9;if(_0x58b2db===_0x4a01f9)break;else _0x5a4992['push'](_0x5a4992['shift']());}catch(_0x33a7a0){_0x5a4992['push'](_0x5a4992['shift']());}}}(_0x4190,0xc1e59));import{Command as _0x33b3fb}from'ckeditor5/src/core.js';import{Dialog as _0xfe30c5}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x44fcc7}from'./ui/uploadcareimageeditcontroller.js';function _0x4ef1(_0x307ae0,_0x44b9c6){const _0x419099=_0x4190();return _0x4ef1=function(_0x4ef1a7,_0x2ca461){_0x4ef1a7=_0x4ef1a7-0x114;let _0x384780=_0x419099[_0x4ef1a7];return _0x384780;},_0x4ef1(_0x307ae0,_0x44b9c6);}function _0x4190(){const _0x1d6b0b=['plugins','get','2783256ZopOKx','6032168tfyJBr','imageBlock','179534jQnFgM','imageEditController','4251989sziQlO','refresh','bind','3030516SSbPFP','model','7HSejfb','10yDWeFv','unbind','execute','element','editor','getSelectedElement','9447120ZuifYa','isActive','_isEditable','selection','requires','isEnabled','document','config','imageInline','1701393NrEZMa','set','uploadcare.allowExternalImagesEditing'];_0x4190=function(){return _0x1d6b0b;};return _0x4190();}import{createEditabilityChecker as _0x353bd4}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x33b3fb{[_0x40ce95(0x12e)];static get[_0x40ce95(0x120)](){return[_0xfe30c5];}[_0x40ce95(0x11e)];constructor(_0xcbfff4){const _0x39af45=_0x40ce95;super(_0xcbfff4),this[_0x39af45(0x12e)]=void 0x0,this[_0x39af45(0x11e)]=_0x353bd4(_0xcbfff4[_0x39af45(0x123)][_0x39af45(0x129)](_0x39af45(0x127))||[]),this[_0x39af45(0x126)]({'isActive':!0x1});}[_0x40ce95(0x130)](){const _0x5cbff8=_0x40ce95,_0x4b63ce=this[_0x5cbff8(0x11a)][_0x5cbff8(0x114)][_0x5cbff8(0x122)][_0x5cbff8(0x11f)][_0x5cbff8(0x11b)]();this[_0x5cbff8(0x121)]=this[_0x5cbff8(0x11e)](_0x4b63ce);}[_0x40ce95(0x118)](){const _0x55b1e=_0x40ce95;this[_0x55b1e(0x12e)]&&(this[_0x55b1e(0x117)](_0x55b1e(0x11d)),this[_0x55b1e(0x12e)]=void 0x0);const _0x2c0e02=this[_0x55b1e(0x11a)][_0x55b1e(0x114)][_0x55b1e(0x122)][_0x55b1e(0x11f)][_0x55b1e(0x11b)]();_0x2c0e02&&(_0x2c0e02['is'](_0x55b1e(0x119),_0x55b1e(0x12c))||_0x2c0e02['is'](_0x55b1e(0x119),_0x55b1e(0x124)))&&(this[_0x55b1e(0x12e)]=new _0x44fcc7(this[_0x55b1e(0x11a)],this[_0x55b1e(0x11a)][_0x55b1e(0x128)][_0x55b1e(0x129)](_0xfe30c5),_0x2c0e02),this[_0x55b1e(0x131)](_0x55b1e(0x11d))['to'](this[_0x55b1e(0x12e)],_0x55b1e(0x11d)));}}
23
+ function _0xcabd(){const _0x5333cd=['imageEditController','183356nERPvA','_isEditable','224838wHWpKZ','getSelectedElement','imageInline','78520zVsMnu','requires','51ugsfkq','config','1960056wcwAEX','element','plugins','isActive','4968616lhzFne','1060VOIEAh','execute','8982aeeZwq','imageBlock','selection','get','uploadcare.allowExternalImagesEditing','unbind','document','model','bind','isEnabled','set','1446756AMEApD','refresh','4405jeeNsj','editor'];_0xcabd=function(){return _0x5333cd;};return _0xcabd();}const _0x2f01a5=_0x1ecc;(function(_0x1ae74d,_0x1a1d8b){const _0x3bdef6=_0x1ecc,_0x346db9=_0x1ae74d();while(!![]){try{const _0x3a2571=-parseInt(_0x3bdef6(0x16e))/0x1+-parseInt(_0x3bdef6(0x184))/0x2+-parseInt(_0x3bdef6(0x170))/0x3*(-parseInt(_0x3bdef6(0x169))/0x4)+-parseInt(_0x3bdef6(0x166))/0x5*(parseInt(_0x3bdef6(0x179))/0x6)+parseInt(_0x3bdef6(0x172))/0x7+-parseInt(_0x3bdef6(0x176))/0x8+parseInt(_0x3bdef6(0x16b))/0x9*(parseInt(_0x3bdef6(0x177))/0xa);if(_0x3a2571===_0x1a1d8b)break;else _0x346db9['push'](_0x346db9['shift']());}catch(_0x7bec06){_0x346db9['push'](_0x346db9['shift']());}}}(_0xcabd,0xebb9b));import{Command as _0x4d2fa4}from'ckeditor5/src/core.js';import{Dialog as _0x3f65fd}from'ckeditor5/src/ui.js';function _0x1ecc(_0x5cb462,_0x12ff15){const _0xcabd86=_0xcabd();return _0x1ecc=function(_0x1ecc89,_0x2d06b8){_0x1ecc89=_0x1ecc89-0x165;let _0x243c42=_0xcabd86[_0x1ecc89];return _0x243c42;},_0x1ecc(_0x5cb462,_0x12ff15);}import{UploadcareImageEditController as _0x26504e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x38c13b}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4d2fa4{[_0x2f01a5(0x168)];static get[_0x2f01a5(0x16f)](){return[_0x3f65fd];}[_0x2f01a5(0x16a)];constructor(_0x2cd9cc){const _0x1b6aff=_0x2f01a5;super(_0x2cd9cc),this[_0x1b6aff(0x168)]=void 0x0,this[_0x1b6aff(0x16a)]=_0x38c13b(_0x2cd9cc[_0x1b6aff(0x171)][_0x1b6aff(0x17c)](_0x1b6aff(0x17d))||[]),this[_0x1b6aff(0x183)]({'isActive':!0x1});}[_0x2f01a5(0x165)](){const _0x38aecf=_0x2f01a5,_0x2bbedd=this[_0x38aecf(0x167)][_0x38aecf(0x180)][_0x38aecf(0x17f)][_0x38aecf(0x17b)][_0x38aecf(0x16c)]();this[_0x38aecf(0x182)]=this[_0x38aecf(0x16a)](_0x2bbedd);}[_0x2f01a5(0x178)](){const _0x55b5e9=_0x2f01a5;this[_0x55b5e9(0x168)]&&(this[_0x55b5e9(0x17e)](_0x55b5e9(0x175)),this[_0x55b5e9(0x168)]=void 0x0);const _0x29eac0=this[_0x55b5e9(0x167)][_0x55b5e9(0x180)][_0x55b5e9(0x17f)][_0x55b5e9(0x17b)][_0x55b5e9(0x16c)]();_0x29eac0&&(_0x29eac0['is'](_0x55b5e9(0x173),_0x55b5e9(0x17a))||_0x29eac0['is'](_0x55b5e9(0x173),_0x55b5e9(0x16d)))&&(this[_0x55b5e9(0x168)]=new _0x26504e(this[_0x55b5e9(0x167)],this[_0x55b5e9(0x167)][_0x55b5e9(0x174)][_0x55b5e9(0x17c)](_0x3f65fd),_0x29eac0),this[_0x55b5e9(0x181)](_0x55b5e9(0x175))['to'](this[_0x55b5e9(0x168)],_0x55b5e9(0x175)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1548e0=_0x6c9a;(function(_0x25c1bf,_0x198860){const _0x1d7326=_0x6c9a,_0xdb1d5d=_0x25c1bf();while(!![]){try{const _0x2ca8cd=parseInt(_0x1d7326(0xf1))/0x1+-parseInt(_0x1d7326(0xec))/0x2*(-parseInt(_0x1d7326(0xf0))/0x3)+-parseInt(_0x1d7326(0xeb))/0x4+-parseInt(_0x1d7326(0xe8))/0x5+-parseInt(_0x1d7326(0xe9))/0x6*(parseInt(_0x1d7326(0xe7))/0x7)+parseInt(_0x1d7326(0xf3))/0x8*(-parseInt(_0x1d7326(0xfa))/0x9)+parseInt(_0x1d7326(0xea))/0xa;if(_0x2ca8cd===_0x198860)break;else _0xdb1d5d['push'](_0xdb1d5d['shift']());}catch(_0x3e99b0){_0xdb1d5d['push'](_0xdb1d5d['shift']());}}}(_0x3960,0x94a9c));import{Plugin as _0x1d92e5}from'ckeditor5/src/core.js';function _0x3960(){const _0x4ddace=['ImageUtils','120jwANYm','uploadcareImageEdit','ImageEditing','isPremiumPlugin','uploadcareImageReplace','requires','add','423234vIrtbc','commands','isOfficialPlugin','1323aEhATj','5656250htLJIG','16866xBrJoG','31370210NFAqbR','4472612uPHAwk','494618peWNMd','init','pluginName','UploadcareImageEditEditing','6upogKq','463357Ivhhjl'];_0x3960=function(){return _0x4ddace;};return _0x3960();}import{Notification as _0x407dda}from'ckeditor5/src/ui.js';function _0x6c9a(_0x54e1ec,_0x2b335b){const _0x3960ba=_0x3960();return _0x6c9a=function(_0x6c9a0e,_0x5afc11){_0x6c9a0e=_0x6c9a0e-0xe5;let _0xff638b=_0x3960ba[_0x6c9a0e];return _0xff638b;},_0x6c9a(_0x54e1ec,_0x2b335b);}import{UploadcareImageEditCommand as _0x17505e}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2174c1}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4ba001}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1d92e5{static get[_0x1548e0(0xee)](){const _0x2132e6=_0x1548e0;return _0x2132e6(0xef);}static get[_0x1548e0(0xf8)](){const _0x1a9f33=_0x1548e0;return[_0x4ba001,_0x407dda,_0x1a9f33(0xf2),_0x1a9f33(0xf5)];}static get[_0x1548e0(0xe6)](){return!0x0;}static get[_0x1548e0(0xf6)](){return!0x0;}[_0x1548e0(0xed)](){const _0x337501=_0x1548e0,{editor:_0x1060f9}=this;_0x1060f9[_0x337501(0xe5)][_0x337501(0xf9)](_0x337501(0xf4),new _0x17505e(_0x1060f9)),_0x1060f9[_0x337501(0xe5)][_0x337501(0xf9)](_0x337501(0xf7),new _0x2174c1(_0x1060f9));}}
23
+ const _0x3f49f0=_0x16f6;(function(_0x2bbf5d,_0x5e86b6){const _0x5047d8=_0x16f6,_0x6ff2e0=_0x2bbf5d();while(!![]){try{const _0x1e33db=-parseInt(_0x5047d8(0x13b))/0x1+-parseInt(_0x5047d8(0x144))/0x2*(-parseInt(_0x5047d8(0x135))/0x3)+parseInt(_0x5047d8(0x140))/0x4+parseInt(_0x5047d8(0x132))/0x5*(parseInt(_0x5047d8(0x13e))/0x6)+parseInt(_0x5047d8(0x139))/0x7*(parseInt(_0x5047d8(0x141))/0x8)+parseInt(_0x5047d8(0x136))/0x9*(-parseInt(_0x5047d8(0x142))/0xa)+-parseInt(_0x5047d8(0x143))/0xb;if(_0x1e33db===_0x5e86b6)break;else _0x6ff2e0['push'](_0x6ff2e0['shift']());}catch(_0x1ad9ff){_0x6ff2e0['push'](_0x6ff2e0['shift']());}}}(_0x2a61,0x51935));import{Plugin as _0x50bf89}from'ckeditor5/src/core.js';import{Notification as _0x499b6b}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x360ef2}from'./uploadcareimageeditcommand.js';function _0x16f6(_0x2b0fde,_0x31122c){const _0x2a61c0=_0x2a61();return _0x16f6=function(_0x16f660,_0x59a86e){_0x16f660=_0x16f660-0x130;let _0x334d02=_0x2a61c0[_0x16f660];return _0x334d02;},_0x16f6(_0x2b0fde,_0x31122c);}import{UploadcareImageReplaceCommand as _0x5a90da}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2de1df}from'../uploadcareediting.js';function _0x2a61(){const _0x841a98=['7wSWCIj','isOfficialPlugin','185292XvOgeQ','init','uploadcareImageEdit','6eadizS','add','172088PSOtXf','4911280SawQem','4050llyhSy','6372454CLUIrz','2WyvIqv','UploadcareImageEditEditing','ImageEditing','isPremiumPlugin','pluginName','2147605UjQLHD','requires','commands','1838703DaCNPQ','13347klvmYS','ImageUtils','uploadcareImageReplace'];_0x2a61=function(){return _0x841a98;};return _0x2a61();}export class UploadcareImageEditEditing extends _0x50bf89{static get[_0x3f49f0(0x131)](){const _0x47288f=_0x3f49f0;return _0x47288f(0x145);}static get[_0x3f49f0(0x133)](){const _0x4d9892=_0x3f49f0;return[_0x2de1df,_0x499b6b,_0x4d9892(0x137),_0x4d9892(0x146)];}static get[_0x3f49f0(0x13a)](){return!0x0;}static get[_0x3f49f0(0x130)](){return!0x0;}[_0x3f49f0(0x13c)](){const _0x326691=_0x3f49f0,{editor:_0x5cbc34}=this;_0x5cbc34[_0x326691(0x134)][_0x326691(0x13f)](_0x326691(0x13d),new _0x360ef2(_0x5cbc34)),_0x5cbc34[_0x326691(0x134)][_0x326691(0x13f)](_0x326691(0x138),new _0x5a90da(_0x5cbc34));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x208323}from'ckeditor5/src/core.js';import{ButtonView as _0x1663a4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x389dbc}from'ckeditor5/src/icons.js';import{createElement as _0x4727be}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 _0x208323{['_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 _0x580734=this['editor'];_0x580734['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5ac1fc=>{const _0x21ae7e=_0x580734['commands']['get']('uploadcareImageEdit'),_0x1a0726=new _0x1663a4(_0x5ac1fc),t=_0x5ac1fc['t'];return _0x1a0726['set']({'icon':_0x389dbc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1a0726['bind']('isEnabled')['to'](_0x21ae7e),_0x1a0726['bind']('isOn')['to'](_0x21ae7e,'isActive'),this['listenTo'](_0x1a0726,'execute',()=>{_0x580734['execute']('uploadcareImageEdit'),_0x580734['editing']['view']['focus']();}),_0x1a0726;}),this['_initConfig']();}['_initConfig'](){const _0x37cace=_0x4727be(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x37cace),this['listenTo'](this['editor'],'destroy',()=>{_0x37cace['remove']();});}}
23
+ import{Plugin as _0x572ff4}from'ckeditor5/src/core.js';import{ButtonView as _0x267640}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x561ca7}from'ckeditor5/src/icons.js';import{createElement as _0x931760}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 _0x572ff4{['_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 _0x571e9e=this['editor'];_0x571e9e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3bb9fa=>{const _0x323957=_0x571e9e['commands']['get']('uploadcareImageEdit'),_0x19413f=new _0x267640(_0x3bb9fa),t=_0x3bb9fa['t'];return _0x19413f['set']({'icon':_0x561ca7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x19413f['bind']('isEnabled')['to'](_0x323957),_0x19413f['bind']('isOn')['to'](_0x323957,'isActive'),this['listenTo'](_0x19413f,'execute',()=>{_0x571e9e['execute']('uploadcareImageEdit'),_0x571e9e['editing']['view']['focus']();}),_0x19413f;}),this['_initConfig']();}['_initConfig'](){const _0x331f6f=_0x931760(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x331f6f),this['listenTo'](this['editor'],'destroy',()=>{_0x331f6f['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47de(){const _0x48e20d=['231737RlufkU','6730LJCTbT','getSelectedElement','refresh','183AyhXWz','model','imageBlock','20788qPuZDn','496701XDGrGv','1116BSTWpV','change','530LAuhJM','imageInline','1224419kfihtG','document','575016vWyeAd','element','4chHVOP','setAttributes','execute','srcset','editor','removeAttribute','selection','40822JOSXYe','sizes','isEnabled'];_0x47de=function(){return _0x48e20d;};return _0x47de();}const _0x16c0f7=_0x9a8e;function _0x9a8e(_0x464b53,_0x36782d){const _0x47ded6=_0x47de();return _0x9a8e=function(_0x9a8e28,_0x289aca){_0x9a8e28=_0x9a8e28-0x7f;let _0x7c333=_0x47ded6[_0x9a8e28];return _0x7c333;},_0x9a8e(_0x464b53,_0x36782d);}(function(_0x4d5718,_0x42ff82){const _0x3bd049=_0x9a8e,_0x4ca56f=_0x4d5718();while(!![]){try{const _0x75a3c9=-parseInt(_0x3bd049(0x96))/0x1*(parseInt(_0x3bd049(0x8f))/0x2)+-parseInt(_0x3bd049(0x82))/0x3*(parseInt(_0x3bd049(0x85))/0x4)+parseInt(_0x3bd049(0x7f))/0x5*(-parseInt(_0x3bd049(0x87))/0x6)+-parseInt(_0x3bd049(0x8b))/0x7+-parseInt(_0x3bd049(0x8d))/0x8+-parseInt(_0x3bd049(0x86))/0x9+parseInt(_0x3bd049(0x89))/0xa*(parseInt(_0x3bd049(0x99))/0xb);if(_0x75a3c9===_0x42ff82)break;else _0x4ca56f['push'](_0x4ca56f['shift']());}catch(_0x409487){_0x4ca56f['push'](_0x4ca56f['shift']());}}}(_0x47de,0x286af));import{Command as _0x1e9757}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1e9757{[_0x16c0f7(0x81)](){const _0x5eef45=_0x16c0f7,_0x902fcc=this[_0x5eef45(0x93)][_0x5eef45(0x83)][_0x5eef45(0x8c)][_0x5eef45(0x95)][_0x5eef45(0x80)]();this[_0x5eef45(0x98)]=Boolean(_0x902fcc&&(_0x902fcc['is'](_0x5eef45(0x8e),_0x5eef45(0x84))||_0x902fcc['is'](_0x5eef45(0x8e),_0x5eef45(0x8a))));}[_0x16c0f7(0x91)](_0x3beec5){const _0x1011f0=_0x16c0f7,_0x505cb0=this[_0x1011f0(0x93)][_0x1011f0(0x83)][_0x1011f0(0x8c)][_0x1011f0(0x95)][_0x1011f0(0x80)]();this[_0x1011f0(0x93)][_0x1011f0(0x83)][_0x1011f0(0x88)](_0x17a3c7=>{const _0x2be440=_0x1011f0;_0x17a3c7[_0x2be440(0x90)](_0x3beec5,_0x505cb0),_0x17a3c7[_0x2be440(0x94)](_0x2be440(0x92),_0x505cb0),_0x17a3c7[_0x2be440(0x94)](_0x2be440(0x97),_0x505cb0);});}}
23
+ const _0x1f997b=_0x9519;function _0x9519(_0x3a166f,_0x39cc49){const _0x2984dc=_0x2984();return _0x9519=function(_0x951949,_0x1b65fe){_0x951949=_0x951949-0xf9;let _0x17040a=_0x2984dc[_0x951949];return _0x17040a;},_0x9519(_0x3a166f,_0x39cc49);}(function(_0xeef70a,_0x1b8aca){const _0x518f0a=_0x9519,_0x150e06=_0xeef70a();while(!![]){try{const _0x1a3e70=-parseInt(_0x518f0a(0x102))/0x1*(parseInt(_0x518f0a(0xfc))/0x2)+-parseInt(_0x518f0a(0x10c))/0x3+-parseInt(_0x518f0a(0x103))/0x4+parseInt(_0x518f0a(0x10d))/0x5*(parseInt(_0x518f0a(0xfb))/0x6)+-parseInt(_0x518f0a(0x110))/0x7+-parseInt(_0x518f0a(0x10f))/0x8+parseInt(_0x518f0a(0x10a))/0x9;if(_0x1a3e70===_0x1b8aca)break;else _0x150e06['push'](_0x150e06['shift']());}catch(_0x1ebed0){_0x150e06['push'](_0x150e06['shift']());}}}(_0x2984,0x2f1d8));import{Command as _0x4ed9c2}from'ckeditor5/src/core.js';function _0x2984(){const _0x2ed162=['10008153efUyrX','change','1089393OebNBv','1205065TFVQsg','removeAttribute','2374816dUMaPZ','945497ULPHQE','execute','srcset','element','6ziUKjl','136PErNbP','imageBlock','isEnabled','sizes','setAttributes','selection','4277rtjXzz','296624jsiNwX','document','refresh','model','imageInline','getSelectedElement','editor'];_0x2984=function(){return _0x2ed162;};return _0x2984();}export class UploadcareImageReplaceCommand extends _0x4ed9c2{[_0x1f997b(0x105)](){const _0x2643d1=_0x1f997b,_0x804b3e=this[_0x2643d1(0x109)][_0x2643d1(0x106)][_0x2643d1(0x104)][_0x2643d1(0x101)][_0x2643d1(0x108)]();this[_0x2643d1(0xfe)]=Boolean(_0x804b3e&&(_0x804b3e['is'](_0x2643d1(0xfa),_0x2643d1(0xfd))||_0x804b3e['is'](_0x2643d1(0xfa),_0x2643d1(0x107))));}[_0x1f997b(0x111)](_0x3a3c09){const _0x1b43df=_0x1f997b,_0x2c2cc4=this[_0x1b43df(0x109)][_0x1b43df(0x106)][_0x1b43df(0x104)][_0x1b43df(0x101)][_0x1b43df(0x108)]();this[_0x1b43df(0x109)][_0x1b43df(0x106)][_0x1b43df(0x10b)](_0x30a12f=>{const _0x5caff7=_0x1b43df;_0x30a12f[_0x5caff7(0x100)](_0x3a3c09,_0x2c2cc4),_0x30a12f[_0x5caff7(0x10e)](_0x5caff7(0xf9),_0x2c2cc4),_0x30a12f[_0x5caff7(0x10e)](_0x5caff7(0xff),_0x2c2cc4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x17fc(_0x335506,_0x58fd81){var _0x5311ac=_0x5311();return _0x17fc=function(_0x17fc8c,_0x2f16f6){_0x17fc8c=_0x17fc8c-0x1a5;var _0x3dc2fa=_0x5311ac[_0x17fc8c];return _0x3dc2fa;},_0x17fc(_0x335506,_0x58fd81);}var _0x1e812c=_0x17fc;(function(_0xada257,_0x121940){var _0x3a19e7=_0x17fc,_0xd28171=_0xada257();while(!![]){try{var _0x4ee777=parseInt(_0x3a19e7(0x1b2))/0x1*(-parseInt(_0x3a19e7(0x1b0))/0x2)+parseInt(_0x3a19e7(0x1a5))/0x3*(-parseInt(_0x3a19e7(0x1a9))/0x4)+-parseInt(_0x3a19e7(0x1a7))/0x5*(-parseInt(_0x3a19e7(0x1a6))/0x6)+-parseInt(_0x3a19e7(0x1ae))/0x7*(parseInt(_0x3a19e7(0x1af))/0x8)+parseInt(_0x3a19e7(0x1ab))/0x9+-parseInt(_0x3a19e7(0x1b3))/0xa+parseInt(_0x3a19e7(0x1b4))/0xb;if(_0x4ee777===_0x121940)break;else _0xd28171['push'](_0xd28171['shift']());}catch(_0x52d2e7){_0xd28171['push'](_0xd28171['shift']());}}}(_0x5311,0xbda68));import{Plugin as _0x2599a6}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3bc793}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2a7722}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2599a6{static get[_0x1e812c(0x1ad)](){var _0x426b7c=_0x1e812c;return _0x426b7c(0x1ac);}static get[_0x1e812c(0x1a8)](){return[_0x3bc793,_0x2a7722];}static get[_0x1e812c(0x1b1)](){return!0x0;}static get[_0x1e812c(0x1aa)](){return!0x0;}}function _0x5311(){var _0x1f3b52=['isOfficialPlugin','43949YzXyGo','6437110wZfPMd','26239477tLDwvt','44886MFDELV','6zDfPTK','4975135VUftyd','requires','360JVFGZh','isPremiumPlugin','6121836EZGNPN','UploadcareImageEdit','pluginName','28kbGmIP','565424AuMQCn','46oUnjhg'];_0x5311=function(){return _0x1f3b52;};return _0x5311();}
23
+ function _0x16d7(){var _0x4064b5=['36008axnqvv','301UxoqxZ','354544TZiYEq','isPremiumPlugin','5729760SZkEfR','183QsvxaU','148314VwoKwP','16117101ZrNQFv','pluginName','UploadcareImageEdit','3181768OLkFBt','requires','isOfficialPlugin','1560264LcPQnp'];_0x16d7=function(){return _0x4064b5;};return _0x16d7();}var _0x336653=_0x1cc1;(function(_0x106a56,_0x132685){var _0x3fd633=_0x1cc1,_0x272c0d=_0x106a56();while(!![]){try{var _0x137746=-parseInt(_0x3fd633(0xc6))/0x1+parseInt(_0x3fd633(0xce))/0x2+parseInt(_0x3fd633(0xc9))/0x3*(-parseInt(_0x3fd633(0xc4))/0x4)+parseInt(_0x3fd633(0xc8))/0x5+-parseInt(_0x3fd633(0xca))/0x6*(-parseInt(_0x3fd633(0xc5))/0x7)+-parseInt(_0x3fd633(0xc3))/0x8+-parseInt(_0x3fd633(0xcb))/0x9;if(_0x137746===_0x132685)break;else _0x272c0d['push'](_0x272c0d['shift']());}catch(_0x4fc9e1){_0x272c0d['push'](_0x272c0d['shift']());}}}(_0x16d7,0xde3b9));import{Plugin as _0x2b663b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x36a5b8}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x1cc1(_0x720904,_0x44a64b){var _0x16d794=_0x16d7();return _0x1cc1=function(_0x1cc100,_0x48c673){_0x1cc100=_0x1cc100-0xc2;var _0x2703ac=_0x16d794[_0x1cc100];return _0x2703ac;},_0x1cc1(_0x720904,_0x44a64b);}import{UploadcareImageEditUI as _0x401c38}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2b663b{static get[_0x336653(0xcc)](){var _0xa51e64=_0x336653;return _0xa51e64(0xcd);}static get[_0x336653(0xcf)](){return[_0x36a5b8,_0x401c38];}static get[_0x336653(0xc2)](){return!0x0;}static get[_0x336653(0xc7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x244e6d=_0x4fac;(function(_0x311d3f,_0x39c754){const _0x5d3760=_0x4fac,_0x52735a=_0x311d3f();while(!![]){try{const _0x36113d=-parseInt(_0x5d3760(0xd7))/0x1+parseInt(_0x5d3760(0x113))/0x2+-parseInt(_0x5d3760(0xd3))/0x3*(parseInt(_0x5d3760(0x11d))/0x4)+-parseInt(_0x5d3760(0xd1))/0x5+parseInt(_0x5d3760(0xd0))/0x6+parseInt(_0x5d3760(0x109))/0x7*(-parseInt(_0x5d3760(0x106))/0x8)+-parseInt(_0x5d3760(0x118))/0x9*(parseInt(_0x5d3760(0xce))/0xa);if(_0x36113d===_0x39c754)break;else _0x52735a['push'](_0x52735a['shift']());}catch(_0x31b4bb){_0x52735a['push'](_0x52735a['shift']());}}}(_0x29ad,0x4a006));import{Plugin as _0x2e63b7}from'ckeditor5/src/core.js';function _0x4fac(_0x352bc1,_0x575556){const _0x29adf3=_0x29ad();return _0x4fac=function(_0x4fac36,_0x3d9a3b){_0x4fac36=_0x4fac36-0xcd;let _0x3c9745=_0x29adf3[_0x4fac36];return _0x3c9745;},_0x4fac(_0x352bc1,_0x575556);}import{IconDropbox as _0x5af18f,IconFacebook as _0x3ec053,IconGoogleDrive as _0x5bf747,IconGooglePhotos as _0x7490c1,IconUploadcareImageUpload as _0x24cd10,IconUploadcareLink as _0x2e59bb,IconOneDrive as _0x473d91}from'ckeditor5/src/icons.js';import{ButtonView as _0x565440,MenuBarMenuListItemButtonView as _0x31b4d0}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2911c9}from'./uploadcareconfig.js';import{getTranslation as _0x12fdbf}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 _0x2e63b7{[_0x244e6d(0xf8)];[_0x244e6d(0xf1)];static get[_0x244e6d(0x114)](){const _0x4f23a2=_0x244e6d;return _0x4f23a2(0xfa);}static get[_0x244e6d(0xdd)](){return!0x0;}static get[_0x244e6d(0xf2)](){return!0x0;}[_0x244e6d(0x10c)](){const _0x4c1ea5=_0x244e6d;this[_0x4c1ea5(0xf8)]=this[_0x4c1ea5(0xd6)][_0x4c1ea5(0x119)][_0x4c1ea5(0xea)](_0x4c1ea5(0xf8));const _0x5e12f4=this[_0x4c1ea5(0xd6)];this[_0x4c1ea5(0xf1)]=setInterval(()=>{const _0xac5f38=_0x4c1ea5;let _0x21e02e;for(const _0x2bcd2a in _0x5e12f4){const _0x4eb4bb=_0x2bcd2a,_0x165fff=_0x5e12f4[_0x4eb4bb];if(_0xac5f38(0xda)==_0x165fff||_0xac5f38(0xff)==_0x165fff||_0xac5f38(0xe5)==_0x165fff||_0xac5f38(0xdb)==_0x165fff||_0xac5f38(0x105)==_0x165fff||_0xac5f38(0x11b)==_0x165fff||_0xac5f38(0x116)==_0x165fff||_0xac5f38(0x10e)==_0x165fff){delete _0x5e12f4[_0x4eb4bb],_0x21e02e=_0x165fff,clearInterval(this[_0xac5f38(0xf1)]),this[_0xac5f38(0xf1)]=void 0x0;break;}}_0xac5f38(0xff)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0x112)),_0xac5f38(0xe5)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xf9)),_0xac5f38(0xdb)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xcf)),_0xac5f38(0x105)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xd5),_0xac5f38(0x104)),_0xac5f38(0x11b)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xf5)),_0xac5f38(0x116)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xeb)),_0xac5f38(0x10e)==_0x21e02e&&_0x5e12f4[_0xac5f38(0xe8)](_0xac5f38(0xd8));},0x3e8);}[_0x244e6d(0xf6)](){const _0x2be524=_0x244e6d,{editor:_0x2bad81}=this,_0x122a3a=_0x2bad81[_0x2be524(0x110)][_0x2be524(0xea)](_0x2be524(0x11c));if(!_0x122a3a)return;const _0x1aa4d6=this[_0x2be524(0xe6)](_0x2bad81[_0x2be524(0x119)][_0x2be524(0xea)](_0x2be524(0xfd)))[_0x2be524(0xe0)]((_0xaef28c,_0x14e3f5)=>{const _0x185452=_0x2be524,_0x4c9731=this[_0x185452(0x10f)](_0x14e3f5[_0x185452(0x107)]);return _0xaef28c[_0x4c9731]||(_0xaef28c[_0x4c9731]=[]),_0xaef28c[_0x4c9731][_0x185452(0x101)](_0x14e3f5),_0xaef28c;},{});_0x2bad81[_0x2be524(0xe1)][_0x2be524(0xe3)](_0x2be524(0x103))&&_0x2bad81[_0x2be524(0x110)][_0x2be524(0xea)](_0x2be524(0x11c))&&Object[_0x2be524(0xfe)](_0x1aa4d6)[_0x2be524(0xfc)](([_0x15a0e7,_0x136b5f])=>{const _0x1fd69e=_0x2be524;_0x2bad81[_0x1fd69e(0xe1)][_0x1fd69e(0xea)](_0x1fd69e(0x103))[_0x1fd69e(0x102)]({'name':_0x15a0e7,'observable':()=>_0x122a3a,'buttonViewCreator':()=>this[_0x1fd69e(0xed)](_0x136b5f),'formViewCreator':()=>this[_0x1fd69e(0xdf)](_0x136b5f),'menuBarButtonViewCreator':()=>this[_0x1fd69e(0xf4)](_0x136b5f),'override':_0x1fd69e(0xd4)!==_0x15a0e7});});}[_0x244e6d(0x108)](){const _0x2bea8f=_0x244e6d;super[_0x2bea8f(0x108)](),this[_0x2bea8f(0xf1)]&&clearInterval(this[_0x2bea8f(0xf1)]);}[_0x244e6d(0xe6)](_0x12ac2c){const _0x19fff3=_0x244e6d,{locale:_0x245264}=this[_0x19fff3(0xd6)];return _0x12ac2c[_0x19fff3(0xdc)](_0x14e22e=>{const _0x1fc9e7=_0x19fff3,_0x1dd5c6=_0x12fdbf(_0x245264,_0x14e22e,_0x1fc9e7(0x115));switch(_0x14e22e){case _0x2911c9[_0x1fc9e7(0xd9)]:return{'icon':_0x24cd10,'type':_0x2911c9[_0x1fc9e7(0xd9)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xde)]:return{'icon':_0x2e59bb,'type':_0x2911c9[_0x1fc9e7(0xde)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xd2)]:return{'icon':_0x5af18f,'type':_0x2911c9[_0x1fc9e7(0xd2)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xf0)]:return{'icon':_0x3ec053,'type':_0x2911c9[_0x1fc9e7(0xf0)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xfb)]:return{'icon':_0x5bf747,'type':_0x2911c9[_0x1fc9e7(0xfb)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xec)]:return{'icon':_0x7490c1,'type':_0x2911c9[_0x1fc9e7(0xec)],..._0x1dd5c6};case _0x2911c9[_0x1fc9e7(0xe9)]:return{'icon':_0x473d91,'type':_0x2911c9[_0x1fc9e7(0xe9)],..._0x1dd5c6};}});}[_0x244e6d(0x10f)](_0x198902){const _0x4441ae=_0x244e6d;switch(_0x198902){case _0x2911c9[_0x4441ae(0xd9)]:return _0x4441ae(0xf7);case _0x2911c9[_0x4441ae(0xde)]:return _0x4441ae(0x11a);default:return _0x4441ae(0xd4);}}[_0x244e6d(0xe2)](_0x5c1f42,_0x366e85){const _0x116eda=_0x244e6d,_0x4fa1e0=this[_0x116eda(0xd6)],_0x2e86ae=new _0x5c1f42(_0x4fa1e0[_0x116eda(0xef)]),_0x4f0cd1=_0x4fa1e0[_0x116eda(0x110)][_0x116eda(0xea)](_0x116eda(0x11c));return _0x2e86ae[_0x116eda(0x117)](_0x116eda(0x100))['to'](_0x4f0cd1),_0x2e86ae['on'](_0x116eda(0x10d),()=>{const _0x58dde9=_0x116eda;_0x4f0cd1[_0x58dde9(0x10d)](_0x366e85);}),_0x2e86ae;}[_0x244e6d(0xed)](_0x3608aa){const _0x2724eb=_0x244e6d,{locale:_0x3613b0}=this[_0x2724eb(0xd6)],_0x5a01ef=this[_0x2724eb(0xd6)][_0x2724eb(0xe1)][_0x2724eb(0xea)](_0x2724eb(0x103)),_0x1ab080=_0x3608aa[0x0],_0xfc6ba7=this[_0x2724eb(0xe2)](_0x565440,_0x1ab080[_0x2724eb(0x107)]);return _0xfc6ba7[_0x2724eb(0xcd)]=_0x1ab080[_0x2724eb(0xcd)],_0xfc6ba7[_0x2724eb(0x117)](_0x2724eb(0xe7))['to'](_0x5a01ef,_0x2724eb(0x10b),_0x7ba6f2=>_0x12fdbf(_0x3613b0,_0x1ab080[_0x2724eb(0x107)],_0x7ba6f2?_0x2724eb(0xf3):_0x2724eb(0x115))[_0x2724eb(0xe4)]),_0xfc6ba7[_0x2724eb(0xee)]=!0x0,_0xfc6ba7;}[_0x244e6d(0xdf)](_0x329af8){const _0x1f5d5e=_0x244e6d,{locale:_0x3e0c73}=this[_0x1f5d5e(0xd6)],_0x88a9eb=this[_0x1f5d5e(0xd6)][_0x1f5d5e(0xe1)][_0x1f5d5e(0xea)](_0x1f5d5e(0x103));return _0x329af8[_0x1f5d5e(0xdc)](_0x46a75=>{const _0x1f6ea2=_0x1f5d5e,_0x31b9e2=this[_0x1f6ea2(0xe2)](_0x565440,_0x46a75[_0x1f6ea2(0x107)]);return _0x31b9e2[_0x1f6ea2(0x10a)]=!0x0,_0x31b9e2[_0x1f6ea2(0xcd)]=_0x46a75[_0x1f6ea2(0xcd)],_0x31b9e2[_0x1f6ea2(0x117)](_0x1f6ea2(0xe7))['to'](_0x88a9eb,_0x1f6ea2(0x10b),_0x4c8b32=>_0x12fdbf(_0x3e0c73,_0x46a75[_0x1f6ea2(0x107)],_0x4c8b32?_0x1f6ea2(0xf3):_0x1f6ea2(0x115))[_0x1f6ea2(0xe4)]),_0x31b9e2;});}[_0x244e6d(0xf4)](_0x34e785){const _0xed3e93=_0x244e6d;return _0x34e785[_0xed3e93(0xdc)](_0x30f8bf=>{const _0x57fe14=_0xed3e93,_0x1068bb=this[_0x57fe14(0xe2)](_0x31b4d0,_0x30f8bf[_0x57fe14(0x107)]);return _0x1068bb[_0x57fe14(0xcd)]=_0x30f8bf[_0x57fe14(0xcd)],_0x1068bb[_0x57fe14(0xe7)]=_0x30f8bf[_0x57fe14(0x111)],_0x1068bb;});}}function _0x29ad(){const _0x5b1244=['24nWFhKt','type','destroy','222866yOCKnU','withText','isImageSelected','init','execute','uploadcareLicenseKeyUsageLimit','_getIntegrationKey','commands','shortText','invalid','565508hvxmcW','pluginName','Insert','uploadcareLicenseKeyTrialLimit','bind','9KMmTIm','config','url','uploadcareLicenseKeyEvaluationLimit','uploadcare','56PKuUDf','icon','2510920vzDtDI','domainLimit','3171492jVDbay','422905AhvJHM','Dropbox','8307pGMiuH','assetManager','featureNotAllowed','editor','38273ChzBOL','usageLimit','Local','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','map','isOfficialPlugin','URL','_createDropdownButtons','reduce','plugins','_createButton','has','text','uploadcareLicenseKeyExpired','_normalizeConfigSourceList','label','_showLicenseError','OneDrive','get','trialLimit','GPhotos','_createToolbarButton','tooltip','locale','Facebook','_licenseKeyCheckInterval','isPremiumPlugin','Replace','_createMenuBarButtons','evaluationLimit','afterInit','upload','licenseKey','expired','UploadcareUI','GDrive','forEach','uploadcare.uploader.sourceList','entries','uploadcareLicenseKeyInvalid','isEnabled','push','registerIntegration','ImageInsertUI','Uploadcare','uploadcareLicenseKeyNotAllowed'];_0x29ad=function(){return _0x5b1244;};return _0x29ad();}
23
+ const _0x21dbc6=_0x1b30;(function(_0x31ce71,_0x4ac1bf){const _0x2ded17=_0x1b30,_0x39d73f=_0x31ce71();while(!![]){try{const _0x259870=-parseInt(_0x2ded17(0x191))/0x1+-parseInt(_0x2ded17(0x1d7))/0x2*(parseInt(_0x2ded17(0x1b0))/0x3)+parseInt(_0x2ded17(0x1b2))/0x4*(parseInt(_0x2ded17(0x1d8))/0x5)+-parseInt(_0x2ded17(0x19b))/0x6+parseInt(_0x2ded17(0x1a2))/0x7+parseInt(_0x2ded17(0x194))/0x8+parseInt(_0x2ded17(0x1d2))/0x9*(parseInt(_0x2ded17(0x198))/0xa);if(_0x259870===_0x4ac1bf)break;else _0x39d73f['push'](_0x39d73f['shift']());}catch(_0x35d798){_0x39d73f['push'](_0x39d73f['shift']());}}}(_0x415d,0x6ee07));import{Plugin as _0x9a8f56}from'ckeditor5/src/core.js';function _0x1b30(_0x56e86a,_0x13b3c6){const _0x415def=_0x415d();return _0x1b30=function(_0x1b30da,_0x5ecd26){_0x1b30da=_0x1b30da-0x18f;let _0x5c0ebb=_0x415def[_0x1b30da];return _0x5c0ebb;},_0x1b30(_0x56e86a,_0x13b3c6);}function _0x415d(){const _0x1e24d9=['map','OneDrive','execute','uploadcareLicenseKeyTrialLimit','1773zTRytI','afterInit','featureNotAllowed','usageLimit','forEach','2QOrTvg','7925jbuFox','init','plugins','_createMenuBarButtons','Facebook','uploadcareLicenseKeyValid','Local','Insert','uploadcareLicenseKeyExpired','registerIntegration','212634FoCKTf','commands','_showLicenseError','3474816CVdLxP','evaluationLimit','uploadcare','tooltip','50650wpuSAl','text','Dropbox','4673220RGfpXM','assetManager','editor','licenseKey','shortText','uploadcareLicenseKeyInvalid','domainLimit','1172535JeDrBH','Uploadcare','UploadcareUI','has','bind','_licenseKeyCheckInterval','_createToolbarButton','url','push','uploadcareLicenseKeyUsageLimit','locale','upload','isImageSelected','isPremiumPlugin','2539956oIRRAp','withText','1748rKFgWz','_createDropdownButtons','_getIntegrationKey','GDrive','trialLimit','Replace','uploadcareLicenseKeyEvaluationLimit','type','invalid','expired','_normalizeConfigSourceList','URL','uploadcare.uploader.sourceList','entries','reduce','uploadcareLicenseKeyDomainLimit','ImageInsertUI','icon','uploadcareLicenseKeyNotAllowed','get','GPhotos','_createButton','config','isOfficialPlugin','isEnabled','pluginName','destroy','label'];_0x415d=function(){return _0x1e24d9;};return _0x415d();}import{IconDropbox as _0x4b07ce,IconFacebook as _0x1551af,IconGoogleDrive as _0x2e8b57,IconGooglePhotos as _0x39e781,IconUploadcareImageUpload as _0x1c911d,IconUploadcareLink as _0x10f103,IconOneDrive as _0x4f1e44}from'ckeditor5/src/icons.js';import{ButtonView as _0x5db7d0,MenuBarMenuListItemButtonView as _0x291e50}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x306b17}from'./uploadcareconfig.js';import{getTranslation as _0x12ef60}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 _0x9a8f56{[_0x21dbc6(0x19e)];[_0x21dbc6(0x1a7)];static get[_0x21dbc6(0x1cb)](){const _0x957f0d=_0x21dbc6;return _0x957f0d(0x1a4);}static get[_0x21dbc6(0x1c9)](){return!0x0;}static get[_0x21dbc6(0x1af)](){return!0x0;}[_0x21dbc6(0x1d9)](){const _0x557ac4=_0x21dbc6;this[_0x557ac4(0x19e)]=this[_0x557ac4(0x19d)][_0x557ac4(0x1c8)][_0x557ac4(0x1c5)](_0x557ac4(0x19e));const _0x2d40e5=this[_0x557ac4(0x19d)];this[_0x557ac4(0x1a7)]=setInterval(()=>{const _0x4738e8=_0x557ac4;let _0x27b2b7;for(const _0x3e6b21 in _0x2d40e5){const _0x1ae047=_0x3e6b21,_0x2bc713=_0x2d40e5[_0x1ae047];if(_0x4738e8(0x1dd)==_0x2bc713||_0x4738e8(0x1a0)==_0x2bc713||_0x4738e8(0x18f)==_0x2bc713||_0x4738e8(0x1c1)==_0x2bc713||_0x4738e8(0x1c4)==_0x2bc713||_0x4738e8(0x1b8)==_0x2bc713||_0x4738e8(0x1d1)==_0x2bc713||_0x4738e8(0x1ab)==_0x2bc713){delete _0x2d40e5[_0x1ae047],_0x27b2b7=_0x2bc713,clearInterval(this[_0x4738e8(0x1a7)]),this[_0x4738e8(0x1a7)]=void 0x0;break;}}_0x4738e8(0x1a0)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x1ba)),_0x4738e8(0x18f)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x1bb)),_0x4738e8(0x1c1)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x1a1)),_0x4738e8(0x1c4)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x1d4),_0x4738e8(0x1a3)),_0x4738e8(0x1b8)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x195)),_0x4738e8(0x1d1)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x1b6)),_0x4738e8(0x1ab)==_0x27b2b7&&_0x2d40e5[_0x4738e8(0x193)](_0x4738e8(0x1d5));},0x3e8);}[_0x21dbc6(0x1d3)](){const _0x29d84a=_0x21dbc6,{editor:_0x2f8a9e}=this,_0x58c82b=_0x2f8a9e[_0x29d84a(0x192)][_0x29d84a(0x1c5)](_0x29d84a(0x196));if(!_0x58c82b)return;const _0x57a40e=this[_0x29d84a(0x1bc)](_0x2f8a9e[_0x29d84a(0x1c8)][_0x29d84a(0x1c5)](_0x29d84a(0x1be)))[_0x29d84a(0x1c0)]((_0xc6561,_0x2be178)=>{const _0x27c33a=_0x29d84a,_0xe1b4bd=this[_0x27c33a(0x1b4)](_0x2be178[_0x27c33a(0x1b9)]);return _0xc6561[_0xe1b4bd]||(_0xc6561[_0xe1b4bd]=[]),_0xc6561[_0xe1b4bd][_0x27c33a(0x1aa)](_0x2be178),_0xc6561;},{});_0x2f8a9e[_0x29d84a(0x1da)][_0x29d84a(0x1a5)](_0x29d84a(0x1c2))&&_0x2f8a9e[_0x29d84a(0x192)][_0x29d84a(0x1c5)](_0x29d84a(0x196))&&Object[_0x29d84a(0x1bf)](_0x57a40e)[_0x29d84a(0x1d6)](([_0x524265,_0x1f3f88])=>{const _0x4d5a44=_0x29d84a;_0x2f8a9e[_0x4d5a44(0x1da)][_0x4d5a44(0x1c5)](_0x4d5a44(0x1c2))[_0x4d5a44(0x190)]({'name':_0x524265,'observable':()=>_0x58c82b,'buttonViewCreator':()=>this[_0x4d5a44(0x1a8)](_0x1f3f88),'formViewCreator':()=>this[_0x4d5a44(0x1b3)](_0x1f3f88),'menuBarButtonViewCreator':()=>this[_0x4d5a44(0x1db)](_0x1f3f88),'override':_0x4d5a44(0x19c)!==_0x524265});});}[_0x21dbc6(0x1cc)](){const _0x179635=_0x21dbc6;super[_0x179635(0x1cc)](),this[_0x179635(0x1a7)]&&clearInterval(this[_0x179635(0x1a7)]);}[_0x21dbc6(0x1bc)](_0x17fa50){const _0x40c49b=_0x21dbc6,{locale:_0x2d70fa}=this[_0x40c49b(0x19d)];return _0x17fa50[_0x40c49b(0x1ce)](_0x5d77cc=>{const _0x4ce664=_0x40c49b,_0x579268=_0x12ef60(_0x2d70fa,_0x5d77cc,_0x4ce664(0x1df));switch(_0x5d77cc){case _0x306b17[_0x4ce664(0x1de)]:return{'icon':_0x1c911d,'type':_0x306b17[_0x4ce664(0x1de)],..._0x579268};case _0x306b17[_0x4ce664(0x1bd)]:return{'icon':_0x10f103,'type':_0x306b17[_0x4ce664(0x1bd)],..._0x579268};case _0x306b17[_0x4ce664(0x19a)]:return{'icon':_0x4b07ce,'type':_0x306b17[_0x4ce664(0x19a)],..._0x579268};case _0x306b17[_0x4ce664(0x1dc)]:return{'icon':_0x1551af,'type':_0x306b17[_0x4ce664(0x1dc)],..._0x579268};case _0x306b17[_0x4ce664(0x1b5)]:return{'icon':_0x2e8b57,'type':_0x306b17[_0x4ce664(0x1b5)],..._0x579268};case _0x306b17[_0x4ce664(0x1c6)]:return{'icon':_0x39e781,'type':_0x306b17[_0x4ce664(0x1c6)],..._0x579268};case _0x306b17[_0x4ce664(0x1cf)]:return{'icon':_0x4f1e44,'type':_0x306b17[_0x4ce664(0x1cf)],..._0x579268};}});}[_0x21dbc6(0x1b4)](_0x2f8e50){const _0xa1deca=_0x21dbc6;switch(_0x2f8e50){case _0x306b17[_0xa1deca(0x1de)]:return _0xa1deca(0x1ad);case _0x306b17[_0xa1deca(0x1bd)]:return _0xa1deca(0x1a9);default:return _0xa1deca(0x19c);}}[_0x21dbc6(0x1c7)](_0x2e1b7f,_0x4d51c3){const _0x2ab69f=_0x21dbc6,_0x502ed7=this[_0x2ab69f(0x19d)],_0x21c9ef=new _0x2e1b7f(_0x502ed7[_0x2ab69f(0x1ac)]),_0x916c03=_0x502ed7[_0x2ab69f(0x192)][_0x2ab69f(0x1c5)](_0x2ab69f(0x196));return _0x21c9ef[_0x2ab69f(0x1a6)](_0x2ab69f(0x1ca))['to'](_0x916c03),_0x21c9ef['on'](_0x2ab69f(0x1d0),()=>{const _0x20fef8=_0x2ab69f;_0x916c03[_0x20fef8(0x1d0)](_0x4d51c3);}),_0x21c9ef;}[_0x21dbc6(0x1a8)](_0x13ac81){const _0x88d1ab=_0x21dbc6,{locale:_0xb3a0b5}=this[_0x88d1ab(0x19d)],_0x155b21=this[_0x88d1ab(0x19d)][_0x88d1ab(0x1da)][_0x88d1ab(0x1c5)](_0x88d1ab(0x1c2)),_0x1d3263=_0x13ac81[0x0],_0x569398=this[_0x88d1ab(0x1c7)](_0x5db7d0,_0x1d3263[_0x88d1ab(0x1b9)]);return _0x569398[_0x88d1ab(0x1c3)]=_0x1d3263[_0x88d1ab(0x1c3)],_0x569398[_0x88d1ab(0x1a6)](_0x88d1ab(0x1cd))['to'](_0x155b21,_0x88d1ab(0x1ae),_0x1d832e=>_0x12ef60(_0xb3a0b5,_0x1d3263[_0x88d1ab(0x1b9)],_0x1d832e?_0x88d1ab(0x1b7):_0x88d1ab(0x1df))[_0x88d1ab(0x199)]),_0x569398[_0x88d1ab(0x197)]=!0x0,_0x569398;}[_0x21dbc6(0x1b3)](_0xf02972){const _0x2ab447=_0x21dbc6,{locale:_0x2ce51c}=this[_0x2ab447(0x19d)],_0x4a897f=this[_0x2ab447(0x19d)][_0x2ab447(0x1da)][_0x2ab447(0x1c5)](_0x2ab447(0x1c2));return _0xf02972[_0x2ab447(0x1ce)](_0x59b926=>{const _0x2d582d=_0x2ab447,_0x285818=this[_0x2d582d(0x1c7)](_0x5db7d0,_0x59b926[_0x2d582d(0x1b9)]);return _0x285818[_0x2d582d(0x1b1)]=!0x0,_0x285818[_0x2d582d(0x1c3)]=_0x59b926[_0x2d582d(0x1c3)],_0x285818[_0x2d582d(0x1a6)](_0x2d582d(0x1cd))['to'](_0x4a897f,_0x2d582d(0x1ae),_0x5c5336=>_0x12ef60(_0x2ce51c,_0x59b926[_0x2d582d(0x1b9)],_0x5c5336?_0x2d582d(0x1b7):_0x2d582d(0x1df))[_0x2d582d(0x199)]),_0x285818;});}[_0x21dbc6(0x1db)](_0x11e667){const _0x384c08=_0x21dbc6;return _0x11e667[_0x384c08(0x1ce)](_0x1e9bda=>{const _0x5050d7=_0x384c08,_0x2ecdde=this[_0x5050d7(0x1c7)](_0x291e50,_0x1e9bda[_0x5050d7(0x1b9)]);return _0x2ecdde[_0x5050d7(0x1c3)]=_0x1e9bda[_0x5050d7(0x1c3)],_0x2ecdde[_0x5050d7(0x1cd)]=_0x1e9bda[_0x5050d7(0x19f)],_0x2ecdde;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x56b100}from'ckeditor5/src/core.js';import{FileRepository as _0x46a3e7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x404664}from'./uploadcareediting.js';import{UploadUtils as _0x572f0b}from'./utils/uploadutils.js';import{getImageUrls as _0x4a50ef}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x56b100{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x46a3e7,_0x404664];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5ba2ee=this['editor'];if(!!!_0x5ba2ee['config']['get']('uploadcare'))return;_0x5ba2ee['plugins']['get'](_0x46a3e7)['createUploadAdapter']=_0x2f804e=>new k(_0x2f804e,_0x5ba2ee),_0x5ba2ee['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x40122d,{imageElement:_0x22cc71,data:_0x22998f})=>{_0x5ba2ee['model']['change'](_0x518b9e=>{_0x518b9e['setAttribute']('uploadcareImageId',_0x22998f['uploadcareImageId'],_0x22cc71);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1a7896,_0x13698d){this['loader']=_0x1a7896,this['editor']=_0x13698d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30070b=await this['loader']['file'];return _0x572f0b['upload']({'file':_0x30070b,'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':_0x392058=>{_0x392058&&_0x392058['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x392058['value']);}})['then'](async _0x2aad58=>{const {imageFallbackUrl:_0x95c88f,imageSources:_0x344109}=_0x4a50ef(_0x2aad58['cdnUrl'],_0x2aad58['imageInfo']['width']);return{'uploadcareImageId':_0x2aad58['uuid'],'default':_0x95c88f,'sources':_0x344109};})['catch'](()=>{const _0x5a4582=t('Cannot\x20upload\x20file:')+('\x20'+_0x30070b['name']+'.');return Promise['reject'](_0x5a4582);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x358833}from'ckeditor5/src/core.js';import{FileRepository as _0x1b8faf}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1f8129}from'./uploadcareediting.js';import{UploadUtils as _0x5620ab}from'./utils/uploadutils.js';import{getImageUrls as _0x39226e}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x358833{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1b8faf,_0x1f8129];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x25a72d=this['editor'];if(!!!_0x25a72d['config']['get']('uploadcare'))return;_0x25a72d['plugins']['get'](_0x1b8faf)['createUploadAdapter']=_0x1c6320=>new k(_0x1c6320,_0x25a72d),_0x25a72d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3db62a,{imageElement:_0x54506d,data:_0x23614c})=>{_0x25a72d['model']['change'](_0x3e0da7=>{_0x3e0da7['setAttribute']('uploadcareImageId',_0x23614c['uploadcareImageId'],_0x54506d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x7e6442,_0x4a22dd){this['loader']=_0x7e6442,this['editor']=_0x4a22dd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1c4c02=await this['loader']['file'];return _0x5620ab['upload']({'file':_0x1c4c02,'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':_0x17c73a=>{_0x17c73a&&_0x17c73a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x17c73a['value']);}})['then'](async _0x11452f=>{const {imageFallbackUrl:_0x5de20e,imageSources:_0xb2b3a0}=_0x39226e(_0x11452f['cdnUrl'],_0x11452f['imageInfo']['width']);return{'uploadcareImageId':_0x11452f['uuid'],'default':_0x5de20e,'sources':_0xb2b3a0};})['catch'](()=>{const _0xea0a5a=t('Cannot\x20upload\x20file:')+('\x20'+_0x1c4c02['name']+'.');return Promise['reject'](_0xea0a5a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xc5a2aa}from'../uploadcareconfig.js';export function getTranslation(_0x1477ca,_0x5bb68c,_0x45f662){const t=_0x1477ca['t'],_0x4f6b4a=_0x1477ca['t'];switch(_0x5bb68c){case _0xc5a2aa['Local']:return{'text':_0x4f6b4a('Insert'===_0x45f662?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4f6b4a('From\x20computer')};case _0xc5a2aa['URL']:return{'text':'Insert'===_0x45f662?_0x4f6b4a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4f6b4a('Via\x20URL')};case _0xc5a2aa['Dropbox']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xc5a2aa['Facebook']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xc5a2aa['GDrive']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xc5a2aa['GPhotos']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xc5a2aa['OneDrive']:return{'text':t('Insert'===_0x45f662?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5bb68c;}}
23
+ import{UploadcareSource as _0xfb1fb3}from'../uploadcareconfig.js';export function getTranslation(_0x23d573,_0x44234a,_0x96e5c8){const t=_0x23d573['t'],_0x472f9b=_0x23d573['t'];switch(_0x44234a){case _0xfb1fb3['Local']:return{'text':_0x472f9b('Insert'===_0x96e5c8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x472f9b('From\x20computer')};case _0xfb1fb3['URL']:return{'text':'Insert'===_0x96e5c8?_0x472f9b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x472f9b('Via\x20URL')};case _0xfb1fb3['Dropbox']:return{'text':t('Insert'===_0x96e5c8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xfb1fb3['Facebook']:return{'text':t('Insert'===_0x96e5c8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xfb1fb3['GDrive']:return{'text':t('Insert'===_0x96e5c8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xfb1fb3['GPhotos']:return{'text':t('Insert'===_0x96e5c8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xfb1fb3['OneDrive']:return{'text':t('Insert'===_0x96e5c8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x44234a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4d7fc0=_0x5edd;(function(_0xfa1634,_0x15aedb){var _0x592542=_0x5edd,_0x3362d4=_0xfa1634();while(!![]){try{var _0x889b70=-parseInt(_0x592542(0x197))/0x1*(parseInt(_0x592542(0x19e))/0x2)+-parseInt(_0x592542(0x1a0))/0x3*(-parseInt(_0x592542(0x196))/0x4)+-parseInt(_0x592542(0x194))/0x5+-parseInt(_0x592542(0x190))/0x6+parseInt(_0x592542(0x1a1))/0x7+parseInt(_0x592542(0x19d))/0x8+parseInt(_0x592542(0x199))/0x9;if(_0x889b70===_0x15aedb)break;else _0x3362d4['push'](_0x3362d4['shift']());}catch(_0x51c2c1){_0x3362d4['push'](_0x3362d4['shift']());}}}(_0x45a5,0xb9f9f));import{FocusTracker as _0x1e00f5}from'ckeditor5/src/utils.js';import{View as _0x15706b,FocusCycler as _0x2b5966}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x15706b{[_0x4d7fc0(0x198)];[_0x4d7fc0(0x193)];constructor(_0x16ce91){var _0x10d393=_0x4d7fc0;super(_0x16ce91),this[_0x10d393(0x198)]=new _0x1e00f5(),this[_0x10d393(0x193)]=new _0x2b5966({'focusables':this[_0x10d393(0x192)](),'focusTracker':this[_0x10d393(0x198)]});}[_0x4d7fc0(0x19f)](){var _0x1549ca=_0x4d7fc0;return{'tag':_0x1549ca(0x19a),'attributes':{'aria-hidden':_0x1549ca(0x19b),'tabindex':'0'},'on':{'focus':this[_0x1549ca(0x191)]['to'](()=>{var _0x53ea72=_0x1549ca;this[_0x53ea72(0x193)][_0x53ea72(0x195)](_0x53ea72(0x19c));})}};}}function _0x5edd(_0x5db993,_0x4a67b1){var _0x45a5a0=_0x45a5();return _0x5edd=function(_0x5edd51,_0xe55448){_0x5edd51=_0x5edd51-0x190;var _0x5e2333=_0x45a5a0[_0x5edd51];return _0x5e2333;},_0x5edd(_0x5db993,_0x4a67b1);}function _0x45a5(){var _0x565d1b=['getFocusableElement','15DKEUCn','6290585VeklnS','6221526FpwAaX','bindTemplate','createCollection','focusCycler','5838400xtkTHM','fire','236660fJcaWv','41722GVuQeI','focusTracker','27330363fdkjXE','div','true','forwardCycle','562216qVyBEa','64DRXUBR'];_0x45a5=function(){return _0x565d1b;};return _0x45a5();}
23
+ var _0x389b8a=_0x4358;(function(_0x2aa379,_0x1e2741){var _0x5a7fe0=_0x4358,_0x19bf65=_0x2aa379();while(!![]){try{var _0x4865b8=parseInt(_0x5a7fe0(0x1b9))/0x1*(parseInt(_0x5a7fe0(0x1b8))/0x2)+-parseInt(_0x5a7fe0(0x1c1))/0x3*(parseInt(_0x5a7fe0(0x1c4))/0x4)+parseInt(_0x5a7fe0(0x1bb))/0x5*(parseInt(_0x5a7fe0(0x1c9))/0x6)+-parseInt(_0x5a7fe0(0x1c6))/0x7*(parseInt(_0x5a7fe0(0x1b7))/0x8)+parseInt(_0x5a7fe0(0x1c8))/0x9*(parseInt(_0x5a7fe0(0x1b6))/0xa)+parseInt(_0x5a7fe0(0x1c7))/0xb+parseInt(_0x5a7fe0(0x1ba))/0xc;if(_0x4865b8===_0x1e2741)break;else _0x19bf65['push'](_0x19bf65['shift']());}catch(_0x3c63fa){_0x19bf65['push'](_0x19bf65['shift']());}}}(_0x269c,0xcaf6b));import{FocusTracker as _0x400d65}from'ckeditor5/src/utils.js';function _0x269c(){var _0x2d9ad1=['focusCycler','div','269931lwWqrd','fire','true','4rJrtEW','focusTracker','19187vRgTqF','4295412rCbiQK','386667xgZyvC','97992rKmmKI','bindTemplate','120ZVWSKj','2928vBnHID','2SykREt','106788vohqYg','1924968isqpEV','230uGfnFl','createCollection','getFocusableElement','forwardCycle'];_0x269c=function(){return _0x2d9ad1;};return _0x269c();}function _0x4358(_0x504d13,_0xd3e3a3){var _0x269c69=_0x269c();return _0x4358=function(_0x43589c,_0x5c12f0){_0x43589c=_0x43589c-0x1b6;var _0x43c80a=_0x269c69[_0x43589c];return _0x43c80a;},_0x4358(_0x504d13,_0xd3e3a3);}import{View as _0x5a0224,FocusCycler as _0x513948}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5a0224{[_0x389b8a(0x1c5)];[_0x389b8a(0x1bf)];constructor(_0x1f4f73){var _0x30c1cc=_0x389b8a;super(_0x1f4f73),this[_0x30c1cc(0x1c5)]=new _0x400d65(),this[_0x30c1cc(0x1bf)]=new _0x513948({'focusables':this[_0x30c1cc(0x1bc)](),'focusTracker':this[_0x30c1cc(0x1c5)]});}[_0x389b8a(0x1bd)](){var _0x4846ea=_0x389b8a;return{'tag':_0x4846ea(0x1c0),'attributes':{'aria-hidden':_0x4846ea(0x1c3),'tabindex':'0'},'on':{'focus':this[_0x4846ea(0x1ca)]['to'](()=>{var _0x5c3cb2=_0x4846ea;this[_0x5c3cb2(0x1bf)][_0x5c3cb2(0x1c2)](_0x5c3cb2(0x1be));})}};}}