@ckeditor/ckeditor5-uploadcare 47.6.1 → 47.6.2

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 _0x373f(){const _0x109fd9=['add','join','remove','cleanupImage','uploadcareImageReplace','UploadcareEditing','closeMax','attributeToAttribute','commands','contentLanguage','requires','appendChild','editor','imageBlock','_initSchema','editing','config','conversion','78kUvJEy','removeAttribute','init','for','782128iRAdsI','1281996mWQszV','extend','fromCharCode','pluginName','uc-upload-ctx-provider','afterInit','isOfficialPlugin','querySelector','_initImageProcessingIndicator','_initConfig','render','_initCtx','replaceImageSource','isRegistered','241790kfUPAE','ctxElement','execute','uploader-','3212153gWBLQb','downcast','schema','uploadcareImageId','_configElement','once','213912uJVjHh','ucContextId','imageInline','selection','uploadcare.uploader','\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','destroy','uploadcare.pubkey','uploadcare','getSelectedElement','get','uc-config','configElement','117322IcFZNc','input[uploadcare-file-input]','elementToAttribute','#uc-icon-arrow-down','_initConversion','model','href','insertImage','isPremiumPlugin','locale','map','_ctxElement','listenTo','iconHrefResolver','data-uc-image-id','upcast','document','getAttribute','view','body','PictureEditing','986432zKKNXR','true'];_0x373f=function(){return _0x109fd9;};return _0x373f();}const _0x531908=_0x4b03;(function(_0x23d67b,_0x53ae31){const _0x465023=_0x4b03,_0x3e56f2=_0x23d67b();while(!![]){try{const _0x5e63a1=-parseInt(_0x465023(0x9c))/0x1+parseInt(_0x465023(0xe2))/0x2+-parseInt(_0x465023(0xca))/0x3+-parseInt(_0x465023(0xc9))/0x4+parseInt(_0x465023(0xd8))/0x5*(parseInt(_0x465023(0xc5))/0x6)+parseInt(_0x465023(0xdc))/0x7+-parseInt(_0x465023(0xb1))/0x8;if(_0x5e63a1===_0x53ae31)break;else _0x3e56f2['push'](_0x3e56f2['shift']());}catch(_0x5da7a8){_0x3e56f2['push'](_0x3e56f2['shift']());}}}(_0x373f,0x50cf7));import{Plugin as _0x356f50}from'ckeditor5/src/core.js';function _0x4b03(_0x2c644f,_0x1d65a4){const _0x373ff0=_0x373f();return _0x4b03=function(_0x4b0390,_0x41b978){_0x4b0390=_0x4b0390-0x95;let _0x25b518=_0x373ff0[_0x4b0390];return _0x25b518;},_0x4b03(_0x2c644f,_0x1d65a4);}import{Dialog as _0x454200}from'ckeditor5/src/ui.js';import{createElement as _0x4653d6,global as _0x287720,uid as _0x26bf0f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2a1a9f}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x1c4450}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e6e5d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x356f50{[_0x531908(0xe0)]=null;[_0x531908(0xa7)]=null;static get[_0x531908(0xcd)](){const _0x13fd8d=_0x531908;return _0x13fd8d(0xb8);}static get[_0x531908(0xbd)](){const _0x17d22b=_0x531908;return[_0x17d22b(0xb0),_0x1c4450,_0x454200];}static get[_0x531908(0xd0)](){return!0x0;}static get[_0x531908(0xa4)](){return!0x0;}[_0x531908(0xe3)];get[_0x531908(0x9b)](){const _0x575e2e=_0x531908;return this[_0x575e2e(0xe0)];}get[_0x531908(0xd9)](){const _0x177350=_0x531908;return this[_0x177350(0xa7)];}constructor(_0x90f73c){const _0x2fc3a4=_0x531908;super(_0x90f73c),this[_0x2fc3a4(0xe3)]=_0x26bf0f();}[_0x531908(0xc7)](){const _0x31f4e4=_0x531908,_0x263429=this[_0x31f4e4(0xbf)];_0x263429[_0x31f4e4(0xbb)][_0x31f4e4(0xb3)](_0x31f4e4(0x97),new _0x2a1a9f(_0x263429));}[_0x531908(0xcf)](){const _0x5a2db3=_0x531908;this[_0x5a2db3(0xc1)](),this[_0x5a2db3(0xa0)](),this[_0x5a2db3(0xd3)](),this[_0x5a2db3(0xd5)](),this[_0x5a2db3(0xd2)](),this[_0x5a2db3(0xa8)](this[_0x5a2db3(0xbf)],_0x5a2db3(0x95),()=>{const _0x3d2387=_0x5a2db3;this[_0x3d2387(0xe0)]&&(this[_0x3d2387(0xe0)][_0x3d2387(0xb5)](),this[_0x3d2387(0xe0)]=null),this[_0x3d2387(0xa7)]&&(this[_0x3d2387(0xa7)][_0x3d2387(0xb5)](),this[_0x3d2387(0xa7)]=null);const _0x2caefb=_0x287720[_0x3d2387(0xac)][_0x3d2387(0xd1)](_0x3d2387(0x9d));_0x2caefb&&_0x2caefb[_0x3d2387(0xb5)]();}),async function(_0x4d7e0d){const _0x44845d=_0x29c9fd([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x170a0b=0x535f8c3a,_0x3dc28d=0x53580832^_0x170a0b,_0x41ba1d=window[_0x29c9fd([0x44,0x61,0x74,0x65])][_0x29c9fd([0x6e,0x6f,0x77])](),_0x5897c3=_0x4d7e0d[_0x29c9fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17c753=new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25bd5b=>{_0x5897c3[_0x29c9fd([0x6f,0x6e,0x63,0x65])](_0x29c9fd([0x72,0x65,0x61,0x64,0x79]),_0x25bd5b);}),_0x3e8d77={[_0x29c9fd([0x6b,0x74,0x79])]:_0x29c9fd([0x45,0x43]),[_0x29c9fd([0x75,0x73,0x65])]:_0x29c9fd([0x73,0x69,0x67]),[_0x29c9fd([0x63,0x72,0x76])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36]),[_0x29c9fd([0x78])]:_0x29c9fd([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]),[_0x29c9fd([0x79])]:_0x29c9fd([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]),[_0x29c9fd([0x61,0x6c,0x67])]:_0x29c9fd([0x45,0x53,0x32,0x35,0x36])},_0x2264ad=_0x5897c3[_0x29c9fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29c9fd([0x67,0x65,0x74])](_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd5967e(){let _0x50e405,_0x2ee408=null,_0x59ad52=null;try{if(_0x2264ad==_0x29c9fd([0x47,0x50,0x4c]))return _0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e405=_0x15fddf(),!_0x50e405)return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59ad52=_0xb89980(_0x50e405[_0x29c9fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e405[_0x29c9fd([0x6a,0x74,0x69])])),await _0x58c191()?_0x2f0712()?_0x286fea()?_0x29c9fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c608f()?(_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ee408=_0x12f9d0(_0x29c9fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e04df()):_0x29c9fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29c9fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x286fea(){const _0x303432=[_0x29c9fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29c9fd([0x74,0x72,0x69,0x61,0x6c])][_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41ba1d/0x3e8:0xe10*_0x3dc28d;return _0x50e405[_0x29c9fd([0x65,0x78,0x70])]<_0x303432;}function _0x2f0712(){const _0x4be829=_0x50e405[_0x29c9fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4be829&&(!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a]))||!!_0x4be829[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x55,0x50,0x4c,0x43])));}function _0x3c608f(){const _0x606c88=_0x4b03,_0x2a0d14=_0x50e405[_0x29c9fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a0d14||0x0==_0x2a0d14[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x206f35}=new URL(window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x606c88(0xa2)]);if(_0x2a0d14[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x206f35))return!0x0;const _0xdeed7e=_0x206f35[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));return _0x2a0d14[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cdb53=>_0x4cdb53[_0x29c9fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29c9fd([0x2a])))[_0x29c9fd([0x6d,0x61,0x70])](_0x2d93b0=>_0x2d93b0[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])))[_0x29c9fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8137=>_0x5e8137[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x6d,0x61,0x70])](_0x55272a=>Array(_0xdeed7e[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x55272a[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29c9fd([0x66,0x69,0x6c,0x6c])](_0x55272a[0x0]===_0x29c9fd([0x2a])?_0x29c9fd([0x2a]):'')[_0x29c9fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x55272a))[_0x29c9fd([0x73,0x6f,0x6d,0x65])](_0x597acc=>_0xdeed7e[_0x29c9fd([0x65,0x76,0x65,0x72,0x79])]((_0x3a8355,_0x394333)=>_0x597acc[_0x394333]===_0x3a8355||_0x597acc[_0x394333]===_0x29c9fd([0x2a])));}function _0x2e04df(){return _0x2ee408&&_0x59ad52?new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44aeec,_0x339030)=>{_0x2ee408[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x44aeec,_0x339030),_0x59ad52[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x306745=>{_0x306745!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0x44aeec(_0x306745);},_0x339030);}):_0x2ee408||_0x59ad52||_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb89980(_0x1304de,_0x129ac8){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5569ed=>{if(_0x26b584())return _0x5569ed(_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]));_0x788262(),_0x5897c3[_0x29c9fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ce2c0=!0x1;const _0x49203b=_0x26bf0f();function _0x4c707a(_0x32f428){return!!_0x32f428&&(typeof _0x32f428===_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32f428===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32f428[_0x29c9fd([0x74,0x68,0x65,0x6e])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32f428[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])]===_0x29c9fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a0a92(_0x1a25ea){_0x555d99(_0x1a25ea)[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0xa27b5a=>{if(!_0xa27b5a||_0xa27b5a[_0x29c9fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29c9fd([0x6f,0x6b]))return _0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x138538(_0x12d98d(_0x49203b+_0x129ac8))!=_0xa27b5a[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29c9fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x134f53=>(_0x230122(),_0x134f53),()=>{const _0x5640c1=_0x5e44fd();return null==_0x5640c1?(_0x230122(),_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])):_0x29c9fd(_0x41ba1d-_0x5640c1>(0x7753083a^_0x170a0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x5569ed)[_0x29c9fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33e690=0x536962ba^_0x170a0b;function _0x230122(){const _0x448ca6=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x32dcd6=_0x5d2186(_0x138538(window[_0x29c9fd([0x4d,0x61,0x74,0x68])][_0x29c9fd([0x63,0x65,0x69,0x6c])](_0x41ba1d/_0x33e690)));window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448ca6,_0x32dcd6);}function _0x5e44fd(){const _0x112cae=_0x29c9fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x138538(_0x12d98d(_0x1304de)),_0x1acc44=window[_0x29c9fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29c9fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x112cae);return _0x1acc44?window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d2186(_0x1acc44),0x10)*_0x33e690:null;}function _0x555d99(_0x364743){return new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2be377,_0x104b4a)=>{_0x364743[_0x29c9fd([0x74,0x68,0x65,0x6e])](_0x2be377,_0x104b4a),window[_0x29c9fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104b4a,0x535e58fa^_0x170a0b);});}}_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x85a7fe,_0x596509)=>{if(_0x596509[0x0]!=_0x1304de)return _0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x596509[0x1]={..._0x596509[0x1],[_0x29c9fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49203b};},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x68,0x69,0x67,0x68])}),_0x5897c3[_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x210ec1=>{_0x4c707a(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ce2c0=!0x0,_0x4a0a92(_0x210ec1[_0x29c9fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29c9fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29c9fd([0x6c,0x6f,0x77])}),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>{_0x5ce2c0||_0x5569ed(_0x29c9fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x26b584(){return _0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29c9fd([0x61,0x75,0x74,0x6f]);}function _0x788262(){_0x5897c3[_0x29c9fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29c9fd([0x76,0x69,0x65,0x77])][_0x29c9fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29c9fd([0x61,0x75,0x74,0x6f]);}}function _0x12f9d0(_0x19e9bb){const _0x2844a1=[new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3519=>setTimeout(_0x5f3519,0x5356b2f6^_0x170a0b)),_0x17c753[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9d61=>{let _0x12018d=0x0;_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x6f,0x6e])](_0x29c9fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7b1185,_0x4347f4)=>{_0x4347f4[0x0][_0x29c9fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12018d++,_0x12018d==(0x535f89d2^_0x170a0b)&&(_0x4c9d61(),_0x7b1185[_0x29c9fd([0x6f,0x66,0x66])]());});}))];return window[_0x29c9fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29c9fd([0x72,0x61,0x63,0x65])](_0x2844a1)[_0x29c9fd([0x74,0x68,0x65,0x6e])](()=>_0x19e9bb);}async function _0xd66db(){await _0x17c753,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x29c9fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x201587,_0x5897c3[_0x29c9fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29c9fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a408d(_0x3ec2ba){const _0x3c716e=_0x1810ff();_0x5897c3[_0x3c716e]=_0x29c9fd([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ec2ba,_0x3ec2ba!=_0x29c9fd([0x56,0x61,0x6c,0x69,0x64])&&_0xd66db();}function _0x1810ff(){const _0x8a3ba8=window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29c9fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29c9fd([0x6e,0x6f,0x77])]())[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29c9fd([0x2e]),'');let _0x58c743=_0x29c9fd([0x68]);for(let _0x1d0ebd=0x0;_0x1d0ebd<_0x8a3ba8[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d0ebd+=0x2){let _0x5004c7=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8a3ba8[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d0ebd,_0x1d0ebd+0x2));_0x5004c7>=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5004c7-=_0x44845d[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58c743+=_0x44845d[_0x5004c7];}return _0x58c743;}function _0x15fddf(){const _0x44fae5=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e]));if(0x3!=_0x44fae5[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x164ca3(_0x44fae5[0x1]);function _0x164ca3(_0x4e6109){const _0x2e8614=_0x54514e(_0x4e6109);return _0x2e8614&&_0xb0ad12()?_0x2e8614:null;function _0xb0ad12(){const _0x3377c9=_0x2e8614[_0x29c9fd([0x6a,0x74,0x69])],_0x4b0c17=window[_0x29c9fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d0523={..._0x2e8614,[_0x29c9fd([0x6a,0x74,0x69])]:_0x3377c9[_0x29c9fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3377c9[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d0523[_0x29c9fd([0x76,0x63])],_0x12d98d(_0x5d0523)==_0x4b0c17;}}}async function _0x58c191(){let _0x2b6d6b=!0x0;try{const _0x28b48d=_0x2264ad[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])](_0x29c9fd([0x2e])),[_0x2edacb,_0x4fbfff,_0x28da46]=_0x28b48d;return _0x25ff15(_0x2edacb),await _0x34afe8(_0x2edacb,_0x4fbfff,_0x28da46),_0x2b6d6b;}catch{return!0x1;}function _0x25ff15(_0x4122f1){const _0xc37de1=_0x54514e(_0x4122f1);_0xc37de1&&_0xc37de1[_0x29c9fd([0x61,0x6c,0x67])]==_0x29c9fd([0x45,0x53,0x32,0x35,0x36])||(_0x2b6d6b=!0x1);}async function _0x34afe8(_0x36085f,_0x5b4789,_0x406eb5){const _0x375c5a=window[_0x29c9fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29c9fd([0x66,0x72,0x6f,0x6d])](_0x4d508b(_0x406eb5),_0x4cdff0=>_0x4cdff0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47884c=new window[(_0x29c9fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29c9fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36085f+_0x29c9fd([0x2e])+_0x5b4789),_0x3c1453=window[_0x29c9fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29c9fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c1453)return;const _0x4879e5=await _0x3c1453[_0x29c9fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29c9fd([0x6a,0x77,0x6b]),_0x3e8d77,{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29c9fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c1453[_0x29c9fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x45,0x43,0x44,0x53,0x41]),[_0x29c9fd([0x68,0x61,0x73,0x68])]:{[_0x29c9fd([0x6e,0x61,0x6d,0x65])]:_0x29c9fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4879e5,_0x375c5a,_0x47884c)||(_0x2b6d6b=!0x1);}}function _0x54514e(_0x1b9211){return _0x1b9211[_0x29c9fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29c9fd([0x65,0x79]))?JSON[_0x29c9fd([0x70,0x61,0x72,0x73,0x65])](_0x4d508b(_0x1b9211)):null;}function _0x4d508b(_0x2d78d0){return window[_0x29c9fd([0x61,0x74,0x6f,0x62])](_0x2d78d0[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29c9fd([0x2b]))[_0x29c9fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29c9fd([0x2f])));}function _0x12d98d(_0x5be3c9){let _0x3d93db=0x1505;function _0x4ccac3(_0x4671f0){for(let _0x801abe=0x0;_0x801abe<_0x4671f0[_0x29c9fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x801abe++){const _0x5f4314=_0x4671f0[_0x29c9fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x801abe);_0x3d93db=(_0x3d93db<<0x5)+_0x3d93db+_0x5f4314,_0x3d93db&=_0x3d93db;}}function _0x15c45b(_0x24d03b){Array[_0x29c9fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24d03b)?_0x24d03b[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15c45b):_0x24d03b&&typeof _0x24d03b==_0x29c9fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29c9fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24d03b)[_0x29c9fd([0x73,0x6f,0x72,0x74])]()[_0x29c9fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5da2a1,_0x4f76bd])=>{_0x4ccac3(_0x5da2a1),_0x15c45b(_0x4f76bd);}):_0x4ccac3(window[_0x29c9fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24d03b));}return _0x15c45b(_0x5be3c9),_0x3d93db>>>0x0;}function _0x138538(_0x513458){return _0x513458[_0x29c9fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29c9fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29c9fd([0x30]));}function _0x5d2186(_0x5314c6){return _0x5314c6[_0x29c9fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29c9fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29c9fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x201587(){}function _0x29c9fd(_0x223414){const _0x73e6f8=_0x4b03;return _0x223414[_0x73e6f8(0xa6)](_0x30d2d0=>String[_0x73e6f8(0xcc)](_0x30d2d0))[_0x73e6f8(0xb4)]('');}_0x3a408d(await _0xd5967e());}(this);}[_0x531908(0xc1)](){const _0x1b2cb7=_0x531908,_0x699a31=this[_0x1b2cb7(0xbf)][_0x1b2cb7(0xa1)][_0x1b2cb7(0xde)];_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xc0))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xc0),{'allowAttributes':[_0x1b2cb7(0xdf)]}),_0x699a31[_0x1b2cb7(0xd7)](_0x1b2cb7(0xe4))&&_0x699a31[_0x1b2cb7(0xcb)](_0x1b2cb7(0xe4),{'allowAttributes':[_0x1b2cb7(0xdf)]});}[_0x531908(0xa0)](){const _0x49ecc6=_0x531908,_0x5a4d5f=this[_0x49ecc6(0xbf)];_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xdd))[_0x49ecc6(0xba)]({'model':_0x49ecc6(0xdf),'view':_0x49ecc6(0xaa)}),_0x5a4d5f[_0x49ecc6(0xc4)][_0x49ecc6(0xc8)](_0x49ecc6(0xab))[_0x49ecc6(0x9e)]({'model':{'key':_0x49ecc6(0xdf),'value':_0x2663be=>_0x2663be[_0x49ecc6(0xad)](_0x49ecc6(0xaa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f0707=_0x5a4d5f[_0x49ecc6(0xbb)][_0x49ecc6(0x99)](_0x49ecc6(0xd6));_0x2f0707&&this[_0x49ecc6(0xa8)](_0x2f0707,_0x49ecc6(0xb6),(_0x5bda37,[_0x404d7e,_0x4f87df])=>{const _0x274cc4=_0x49ecc6;_0x404d7e[_0x274cc4(0xc6)](_0x274cc4(0xdf),_0x4f87df);});}[_0x531908(0xd3)](){const _0x528ccb=_0x531908,_0x3fcc76=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0xe6))||{},_0x3e3aee=this[_0x528ccb(0xbf)][_0x528ccb(0xc3)][_0x528ccb(0x99)](_0x528ccb(0x96))||'';this[_0x528ccb(0xe0)]=_0x4653d6(_0x287720[_0x528ccb(0xac)],_0x528ccb(0x9a),{..._0x3fcc76,'pubkey':_0x3e3aee,'ctx-name':_0x528ccb(0xdb)+this[_0x528ccb(0xe3)],'sourceList':'','imgOnly':_0x528ccb(0xb2),'removeCopyright':_0x528ccb(0xb2),'localeName':this[_0x528ccb(0xbf)][_0x528ccb(0xa5)][_0x528ccb(0xbc)],'externalSourcesEmbedCss':_0x528ccb(0xe7)}),this[_0x528ccb(0xe0)][_0x528ccb(0xa9)]=_0x325e5b=>{const _0x38d1b3=_0x528ccb;if(_0x38d1b3(0xb9)==_0x325e5b)return _0x38d1b3(0x9f);},_0x287720[_0x528ccb(0xac)][_0x528ccb(0xaf)][_0x528ccb(0xbe)](this[_0x528ccb(0xe0)]);}[_0x531908(0xd5)](){const _0x35a9c8=_0x531908;this[_0x35a9c8(0xa7)]=_0x4653d6(_0x287720[_0x35a9c8(0xac)],_0x35a9c8(0xce),{'ctx-name':_0x35a9c8(0xdb)+this[_0x35a9c8(0xe3)]}),_0x287720[_0x35a9c8(0xac)][_0x35a9c8(0xaf)][_0x35a9c8(0xbe)](this[_0x35a9c8(0xa7)]);}[_0x531908(0xd2)](){const _0x5b3247=_0x531908,_0x10c474=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xa3));_0x10c474&&this[_0x5b3247(0xa8)](_0x10c474,_0x5b3247(0xda),()=>{const _0x53d74f=_0x5b3247,_0x46e7a3=this[_0x53d74f(0xbf)][_0x53d74f(0xa1)][_0x53d74f(0xac)][_0x53d74f(0xe5)][_0x53d74f(0x98)]();_0x46e7a3&&_0x46e7a3[_0x53d74f(0xad)](_0x53d74f(0xdf))&&this[_0x53d74f(0xbf)][_0x53d74f(0xc2)][_0x53d74f(0xae)][_0x53d74f(0xe1)](_0x53d74f(0xd4),()=>{const _0x1eeaea=_0x53d74f;_0x2e6e5d(this[_0x1eeaea(0xbf)],_0x46e7a3);});});const _0x3c58ff=this[_0x5b3247(0xbf)][_0x5b3247(0xbb)][_0x5b3247(0x99)](_0x5b3247(0xb7));_0x3c58ff&&this[_0x5b3247(0xa8)](_0x3c58ff,_0x5b3247(0xda),()=>{const _0x72b1af=_0x5b3247,_0x173a3d=this[_0x72b1af(0xbf)][_0x72b1af(0xa1)][_0x72b1af(0xac)][_0x72b1af(0xe5)][_0x72b1af(0x98)]();_0x173a3d&&_0x173a3d[_0x72b1af(0xad)](_0x72b1af(0xdf))&&this[_0x72b1af(0xbf)][_0x72b1af(0xc2)][_0x72b1af(0xae)][_0x72b1af(0xe1)](_0x72b1af(0xd4),()=>{const _0xb3c977=_0x72b1af;_0x2e6e5d(this[_0xb3c977(0xbf)],_0x173a3d);});});}}
23
+ function _0x51e0(_0x3b7bbc,_0xc2a332){const _0x215c88=_0x215c();return _0x51e0=function(_0x51e045,_0x49a55e){_0x51e045=_0x51e045-0x15b;let _0x4cb0c5=_0x215c88[_0x51e045];return _0x4cb0c5;},_0x51e0(_0x3b7bbc,_0xc2a332);}function _0x215c(){const _0x2d4579=['4049177bzThid','116772bTXEMC','16zcOfNT','map','afterInit','695191HySvbM','configElement','downcast','_initSchema','execute','cleanupImage','iconHrefResolver','#uc-icon-arrow-down','data-uc-image-id','uploadcare.pubkey','uploader-','closeMax','editor','model','replaceImageSource','ctxElement','36872jaFyRm','_initImageProcessingIndicator','destroy','listenTo','render','href','locale','pluginName','uploadcareImageReplace','querySelector','once','get','view','getSelectedElement','editing','isPremiumPlugin','for','isOfficialPlugin','elementToAttribute','uc-upload-ctx-provider','_initConversion','uploadcare.uploader','remove','_configElement','_initCtx','init','_initConfig','requires','PictureEditing','ucContextId','join','removeAttribute','uploadcare','49090VQEZFe','input[uploadcare-file-input]','add','imageBlock','imageInline','1035MPQtaa','conversion','attributeToAttribute','selection','config','10XLEQpJ','69898QlRNaJ','insertImage','body','true','appendChild','1363182oMSmdk','document','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','isRegistered','upcast','uc-config','contentLanguage','uploadcareImageId','4CgNpFo','fromCharCode','commands','extend','_ctxElement','schema','getAttribute','UploadcareEditing'];_0x215c=function(){return _0x2d4579;};return _0x215c();}const _0x3567fe=_0x51e0;(function(_0x30e3e2,_0x402057){const _0x49ad0c=_0x51e0,_0x8c962=_0x30e3e2();while(!![]){try{const _0x26d590=parseInt(_0x49ad0c(0x175))/0x1*(-parseInt(_0x49ad0c(0x182))/0x2)+-parseInt(_0x49ad0c(0x17a))/0x3+parseInt(_0x49ad0c(0x18c))/0x4*(-parseInt(_0x49ad0c(0x16a))/0x5)+-parseInt(_0x49ad0c(0x18b))/0x6+parseInt(_0x49ad0c(0x18f))/0x7+-parseInt(_0x49ad0c(0x19f))/0x8*(-parseInt(_0x49ad0c(0x16f))/0x9)+-parseInt(_0x49ad0c(0x174))/0xa*(-parseInt(_0x49ad0c(0x18a))/0xb);if(_0x26d590===_0x402057)break;else _0x8c962['push'](_0x8c962['shift']());}catch(_0x4bbf74){_0x8c962['push'](_0x8c962['shift']());}}}(_0x215c,0x541d3));import{Plugin as _0x1ce97d}from'ckeditor5/src/core.js';import{Dialog as _0x380ab1}from'ckeditor5/src/ui.js';import{createElement as _0x4a7a4f,global as _0x8b0f9a,uid as _0x39c70f}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x48ee3c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x268fc7}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3e3717}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1ce97d{[_0x3567fe(0x160)]=null;[_0x3567fe(0x186)]=null;static get[_0x3567fe(0x1a6)](){const _0x5cbad4=_0x3567fe;return _0x5cbad4(0x189);}static get[_0x3567fe(0x164)](){const _0x3afc35=_0x3567fe;return[_0x3afc35(0x165),_0x268fc7,_0x380ab1];}static get[_0x3567fe(0x1b0)](){return!0x0;}static get[_0x3567fe(0x1ae)](){return!0x0;}[_0x3567fe(0x166)];get[_0x3567fe(0x190)](){const _0x511b6f=_0x3567fe;return this[_0x511b6f(0x160)];}get[_0x3567fe(0x19e)](){const _0xd9384e=_0x3567fe;return this[_0xd9384e(0x186)];}constructor(_0x4068fc){const _0x3d125e=_0x3567fe;super(_0x4068fc),this[_0x3d125e(0x166)]=_0x39c70f();}[_0x3567fe(0x162)](){const _0x4ba867=_0x3567fe,_0x3953aa=this[_0x4ba867(0x19b)];_0x3953aa[_0x4ba867(0x184)][_0x4ba867(0x16c)](_0x4ba867(0x169),new _0x48ee3c(_0x3953aa));}[_0x3567fe(0x18e)](){const _0x248b81=_0x3567fe;this[_0x248b81(0x192)](),this[_0x248b81(0x15d)](),this[_0x248b81(0x163)](),this[_0x248b81(0x161)](),this[_0x248b81(0x1a0)](),this[_0x248b81(0x1a2)](this[_0x248b81(0x19b)],_0x248b81(0x1a1),()=>{const _0x538b52=_0x248b81;this[_0x538b52(0x160)]&&(this[_0x538b52(0x160)][_0x538b52(0x15f)](),this[_0x538b52(0x160)]=null),this[_0x538b52(0x186)]&&(this[_0x538b52(0x186)][_0x538b52(0x15f)](),this[_0x538b52(0x186)]=null);const _0x1c7384=_0x8b0f9a[_0x538b52(0x17b)][_0x538b52(0x1a8)](_0x538b52(0x16b));_0x1c7384&&_0x1c7384[_0x538b52(0x15f)]();}),async function(_0x20b61c){const _0x57c58f=_0x54b31e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x3d8a62=0x535f8c3a,_0x4a2530=0x53580a92^_0x3d8a62,_0x3f06f9=window[_0x54b31e([0x44,0x61,0x74,0x65])][_0x54b31e([0x6e,0x6f,0x77])](),_0x2e4e71=_0x20b61c[_0x54b31e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7910a7=new window[(_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a8fee=>{_0x2e4e71[_0x54b31e([0x6f,0x6e,0x63,0x65])](_0x54b31e([0x72,0x65,0x61,0x64,0x79]),_0x1a8fee);}),_0xac7050={[_0x54b31e([0x6b,0x74,0x79])]:_0x54b31e([0x45,0x43]),[_0x54b31e([0x75,0x73,0x65])]:_0x54b31e([0x73,0x69,0x67]),[_0x54b31e([0x63,0x72,0x76])]:_0x54b31e([0x50,0x2d,0x32,0x35,0x36]),[_0x54b31e([0x78])]:_0x54b31e([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]),[_0x54b31e([0x79])]:_0x54b31e([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]),[_0x54b31e([0x61,0x6c,0x67])]:_0x54b31e([0x45,0x53,0x32,0x35,0x36])},_0x393d0c=_0x2e4e71[_0x54b31e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54b31e([0x67,0x65,0x74])](_0x54b31e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54f072(){let _0x27d0aa,_0x402efd=null,_0x1fc186=null;try{if(_0x393d0c==_0x54b31e([0x47,0x50,0x4c]))return _0x54b31e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27d0aa=_0x406926(),!_0x27d0aa)return _0x54b31e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27d0aa[_0x54b31e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fc186=_0x3f9af2(_0x27d0aa[_0x54b31e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27d0aa[_0x54b31e([0x6a,0x74,0x69])])),await _0xd0d471()?_0x85519d()?_0x33ab2e()?_0x54b31e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c6823()?(_0x27d0aa[_0x54b31e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54b31e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x402efd=_0x101b06(_0x54b31e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b6c6c()):_0x54b31e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54b31e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54b31e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x54b31e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33ab2e(){const _0x53b41b=[_0x54b31e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54b31e([0x74,0x72,0x69,0x61,0x6c])][_0x54b31e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d0aa[_0x54b31e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f06f9/0x3e8:0xe10*_0x4a2530;return _0x27d0aa[_0x54b31e([0x65,0x78,0x70])]<_0x53b41b;}function _0x85519d(){const _0x25d5f8=_0x27d0aa[_0x54b31e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25d5f8&&(!!_0x25d5f8[_0x54b31e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b31e([0x2a]))||!!_0x25d5f8[_0x54b31e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b31e([0x55,0x50,0x4c,0x43])));}function _0x4c6823(){const _0x329f0c=_0x51e0,_0x5a81d9=_0x27d0aa[_0x54b31e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a81d9||0x0==_0x5a81d9[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7a9af}=new URL(window[_0x54b31e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x329f0c(0x1a4)]);if(_0x5a81d9[_0x54b31e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7a9af))return!0x0;const _0x288b6b=_0x7a9af[_0x54b31e([0x73,0x70,0x6c,0x69,0x74])](_0x54b31e([0x2e]));return _0x5a81d9[_0x54b31e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb93ba0=>_0xb93ba0[_0x54b31e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b31e([0x2a])))[_0x54b31e([0x6d,0x61,0x70])](_0x52651f=>_0x52651f[_0x54b31e([0x73,0x70,0x6c,0x69,0x74])](_0x54b31e([0x2e])))[_0x54b31e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9f4dce=>_0x9f4dce[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x288b6b[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54b31e([0x6d,0x61,0x70])](_0x2855e8=>Array(_0x288b6b[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2855e8[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54b31e([0x66,0x69,0x6c,0x6c])](_0x2855e8[0x0]===_0x54b31e([0x2a])?_0x54b31e([0x2a]):'')[_0x54b31e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2855e8))[_0x54b31e([0x73,0x6f,0x6d,0x65])](_0x2aa84d=>_0x288b6b[_0x54b31e([0x65,0x76,0x65,0x72,0x79])]((_0x39a78c,_0x44bd55)=>_0x2aa84d[_0x44bd55]===_0x39a78c||_0x2aa84d[_0x44bd55]===_0x54b31e([0x2a])));}function _0x4b6c6c(){return _0x402efd&&_0x1fc186?new window[(_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1031b0,_0x3ee2b4)=>{_0x402efd[_0x54b31e([0x74,0x68,0x65,0x6e])](_0x1031b0,_0x3ee2b4),_0x1fc186[_0x54b31e([0x74,0x68,0x65,0x6e])](_0x5d2d17=>{_0x5d2d17!=_0x54b31e([0x56,0x61,0x6c,0x69,0x64])&&_0x1031b0(_0x5d2d17);},_0x3ee2b4);}):_0x402efd||_0x1fc186||_0x54b31e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f9af2(_0x35cb8c,_0x1d0849){return new window[(_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9d42=>{if(_0x5e021a())return _0x4c9d42(_0x54b31e([0x56,0x61,0x6c,0x69,0x64]));_0xcc547d(),_0x2e4e71[_0x54b31e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54b31e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa6e6fb=!0x1;const _0x2f057c=_0x39c70f();function _0xb35f96(_0x5ab9ae){return!!_0x5ab9ae&&(typeof _0x5ab9ae===_0x54b31e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ab9ae===_0x54b31e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ab9ae[_0x54b31e([0x74,0x68,0x65,0x6e])]===_0x54b31e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ab9ae[_0x54b31e([0x63,0x61,0x74,0x63,0x68])]===_0x54b31e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b9c0d(_0x3181cb){_0x434799(_0x3181cb)[_0x54b31e([0x74,0x68,0x65,0x6e])](_0x4d7f1f=>{if(!_0x4d7f1f||_0x4d7f1f[_0x54b31e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54b31e([0x6f,0x6b]))return _0x54b31e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2972f8(_0x5f5d3a(_0x2f057c+_0x1d0849))!=_0x4d7f1f[_0x54b31e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54b31e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54b31e([0x56,0x61,0x6c,0x69,0x64]);})[_0x54b31e([0x74,0x68,0x65,0x6e])](_0xf3267d=>(_0x59adf5(),_0xf3267d),()=>{const _0x141432=_0x3150b6();return null==_0x141432?(_0x59adf5(),_0x54b31e([0x56,0x61,0x6c,0x69,0x64])):_0x54b31e(_0x3f06f9-_0x141432>(0x7753083a^_0x3d8a62)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54b31e([0x74,0x68,0x65,0x6e])](_0x4c9d42)[_0x54b31e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c9d42(_0x54b31e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27b9a6=0x536962ba^_0x3d8a62;function _0x59adf5(){const _0x1b74ab=_0x54b31e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2972f8(_0x5f5d3a(_0x35cb8c)),_0x5f2265=_0x3e67e7(_0x2972f8(window[_0x54b31e([0x4d,0x61,0x74,0x68])][_0x54b31e([0x63,0x65,0x69,0x6c])](_0x3f06f9/_0x27b9a6)));window[_0x54b31e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54b31e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b74ab,_0x5f2265);}function _0x3150b6(){const _0x1ee1a5=_0x54b31e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2972f8(_0x5f5d3a(_0x35cb8c)),_0x7b8f1=window[_0x54b31e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54b31e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ee1a5);return _0x7b8f1?window[_0x54b31e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e67e7(_0x7b8f1),0x10)*_0x27b9a6:null;}function _0x434799(_0x4cb533){return new window[(_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x233cfa,_0x117464)=>{_0x4cb533[_0x54b31e([0x74,0x68,0x65,0x6e])](_0x233cfa,_0x117464),window[_0x54b31e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x117464,0x535e58fa^_0x3d8a62);});}}_0x2e4e71[_0x54b31e([0x6f,0x6e])](_0x54b31e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52a594,_0x5df6fb)=>{if(_0x5df6fb[0x0]!=_0x35cb8c)return _0x4c9d42(_0x54b31e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5df6fb[0x1]={..._0x5df6fb[0x1],[_0x54b31e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f057c};},{[_0x54b31e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54b31e([0x68,0x69,0x67,0x68])}),_0x2e4e71[_0x54b31e([0x6f,0x6e])](_0x54b31e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e624a=>{_0xb35f96(_0x3e624a[_0x54b31e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa6e6fb=!0x0,_0x4b9c0d(_0x3e624a[_0x54b31e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54b31e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54b31e([0x6c,0x6f,0x77])}),_0x7910a7[_0x54b31e([0x74,0x68,0x65,0x6e])](()=>{_0xa6e6fb||_0x4c9d42(_0x54b31e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e021a(){return _0x2e4e71[_0x54b31e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54b31e([0x76,0x69,0x65,0x77])][_0x54b31e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54b31e([0x61,0x75,0x74,0x6f]);}function _0xcc547d(){_0x2e4e71[_0x54b31e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54b31e([0x76,0x69,0x65,0x77])][_0x54b31e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54b31e([0x61,0x75,0x74,0x6f]);}}function _0x101b06(_0x37b483){const _0x40fa79=[new window[(_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a600=>setTimeout(_0x28a600,0x5356b2f6^_0x3d8a62)),_0x7910a7[_0x54b31e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b68ad=>{let _0x11512d=0x0;_0x2e4e71[_0x54b31e([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b31e([0x6f,0x6e])](_0x54b31e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2011c3,_0x71cf11)=>{_0x71cf11[0x0][_0x54b31e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11512d++,_0x11512d==(0x535f89d2^_0x3d8a62)&&(_0x5b68ad(),_0x2011c3[_0x54b31e([0x6f,0x66,0x66])]());});}))];return window[_0x54b31e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54b31e([0x72,0x61,0x63,0x65])](_0x40fa79)[_0x54b31e([0x74,0x68,0x65,0x6e])](()=>_0x37b483);}async function _0x1715d7(){await _0x7910a7,_0x2e4e71[_0x54b31e([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b31e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x49e375,_0x2e4e71[_0x54b31e([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b31e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x49e375,_0x2e4e71[_0x54b31e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54b31e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11b039(_0x594df5){const _0x26c32b=_0xfc901c();_0x2e4e71[_0x26c32b]=_0x54b31e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x594df5,_0x594df5!=_0x54b31e([0x56,0x61,0x6c,0x69,0x64])&&_0x1715d7();}function _0xfc901c(){const _0x12451f=window[_0x54b31e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54b31e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54b31e([0x6e,0x6f,0x77])]())[_0x54b31e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54b31e([0x2e]),'');let _0x16ce31=_0x54b31e([0x68]);for(let _0x2d32d7=0x0;_0x2d32d7<_0x12451f[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d32d7+=0x2){let _0x3ad9be=window[_0x54b31e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12451f[_0x54b31e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d32d7,_0x2d32d7+0x2));_0x3ad9be>=_0x57c58f[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ad9be-=_0x57c58f[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16ce31+=_0x57c58f[_0x3ad9be];}return _0x16ce31;}function _0x406926(){const _0x550914=_0x393d0c[_0x54b31e([0x73,0x70,0x6c,0x69,0x74])](_0x54b31e([0x2e]));if(0x3!=_0x550914[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a9808(_0x550914[0x1]);function _0x5a9808(_0x2f1630){const _0x5c40d3=_0x4d9ea0(_0x2f1630);return _0x5c40d3&&_0x3b07d1()?_0x5c40d3:null;function _0x3b07d1(){const _0x4c920e=_0x5c40d3[_0x54b31e([0x6a,0x74,0x69])],_0xeb5824=window[_0x54b31e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c920e[_0x54b31e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c920e[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2deb3c={..._0x5c40d3,[_0x54b31e([0x6a,0x74,0x69])]:_0x4c920e[_0x54b31e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c920e[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2deb3c[_0x54b31e([0x76,0x63])],_0x5f5d3a(_0x2deb3c)==_0xeb5824;}}}async function _0xd0d471(){let _0x508460=!0x0;try{const _0x5e5e5c=_0x393d0c[_0x54b31e([0x73,0x70,0x6c,0x69,0x74])](_0x54b31e([0x2e])),[_0x2b99c0,_0x453225,_0x133a44]=_0x5e5e5c;return _0x54aa0c(_0x2b99c0),await _0x32a8f1(_0x2b99c0,_0x453225,_0x133a44),_0x508460;}catch{return!0x1;}function _0x54aa0c(_0x5dca10){const _0x3a424f=_0x4d9ea0(_0x5dca10);_0x3a424f&&_0x3a424f[_0x54b31e([0x61,0x6c,0x67])]==_0x54b31e([0x45,0x53,0x32,0x35,0x36])||(_0x508460=!0x1);}async function _0x32a8f1(_0x439b31,_0x5a62e2,_0x3768bf){const _0x38a2c7=window[_0x54b31e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54b31e([0x66,0x72,0x6f,0x6d])](_0x4d23cb(_0x3768bf),_0x2bbfec=>_0x2bbfec[_0x54b31e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f111b=new window[(_0x54b31e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54b31e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x439b31+_0x54b31e([0x2e])+_0x5a62e2),_0x43f294=window[_0x54b31e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54b31e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43f294)return;const _0xb3d8b2=await _0x43f294[_0x54b31e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54b31e([0x6a,0x77,0x6b]),_0xac7050,{[_0x54b31e([0x6e,0x61,0x6d,0x65])]:_0x54b31e([0x45,0x43,0x44,0x53,0x41]),[_0x54b31e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54b31e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54b31e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43f294[_0x54b31e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54b31e([0x6e,0x61,0x6d,0x65])]:_0x54b31e([0x45,0x43,0x44,0x53,0x41]),[_0x54b31e([0x68,0x61,0x73,0x68])]:{[_0x54b31e([0x6e,0x61,0x6d,0x65])]:_0x54b31e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb3d8b2,_0x38a2c7,_0x4f111b)||(_0x508460=!0x1);}}function _0x4d9ea0(_0x9ed663){return _0x9ed663[_0x54b31e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54b31e([0x65,0x79]))?JSON[_0x54b31e([0x70,0x61,0x72,0x73,0x65])](_0x4d23cb(_0x9ed663)):null;}function _0x4d23cb(_0x27c151){return window[_0x54b31e([0x61,0x74,0x6f,0x62])](_0x27c151[_0x54b31e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54b31e([0x2b]))[_0x54b31e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54b31e([0x2f])));}function _0x5f5d3a(_0x595452){let _0x3095fc=0x1505;function _0x3ef745(_0x1f2fd4){for(let _0x3639ea=0x0;_0x3639ea<_0x1f2fd4[_0x54b31e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3639ea++){const _0x14f708=_0x1f2fd4[_0x54b31e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3639ea);_0x3095fc=(_0x3095fc<<0x5)+_0x3095fc+_0x14f708,_0x3095fc&=_0x3095fc;}}function _0x47c45c(_0x2be16d){Array[_0x54b31e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2be16d)?_0x2be16d[_0x54b31e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47c45c):_0x2be16d&&typeof _0x2be16d==_0x54b31e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54b31e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2be16d)[_0x54b31e([0x73,0x6f,0x72,0x74])]()[_0x54b31e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x582522,_0xda3bad])=>{_0x3ef745(_0x582522),_0x47c45c(_0xda3bad);}):_0x3ef745(window[_0x54b31e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2be16d));}return _0x47c45c(_0x595452),_0x3095fc>>>0x0;}function _0x2972f8(_0x1ff52b){return _0x1ff52b[_0x54b31e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54b31e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54b31e([0x30]));}function _0x3e67e7(_0x1d8445){return _0x1d8445[_0x54b31e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54b31e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54b31e([0x6a,0x6f,0x69,0x6e])]('');}function _0x49e375(){}function _0x54b31e(_0x49113f){const _0x1a8364=_0x51e0;return _0x49113f[_0x1a8364(0x18d)](_0x328370=>String[_0x1a8364(0x183)](_0x328370))[_0x1a8364(0x167)]('');}_0x11b039(await _0x54f072());}(this);}[_0x3567fe(0x192)](){const _0x1ecb13=_0x3567fe,_0x52bfb1=this[_0x1ecb13(0x19b)][_0x1ecb13(0x19c)][_0x1ecb13(0x187)];_0x52bfb1[_0x1ecb13(0x17d)](_0x1ecb13(0x16d))&&_0x52bfb1[_0x1ecb13(0x185)](_0x1ecb13(0x16d),{'allowAttributes':[_0x1ecb13(0x181)]}),_0x52bfb1[_0x1ecb13(0x17d)](_0x1ecb13(0x16e))&&_0x52bfb1[_0x1ecb13(0x185)](_0x1ecb13(0x16e),{'allowAttributes':[_0x1ecb13(0x181)]});}[_0x3567fe(0x15d)](){const _0x41f387=_0x3567fe,_0x20b973=this[_0x41f387(0x19b)];_0x20b973[_0x41f387(0x170)][_0x41f387(0x1af)](_0x41f387(0x191))[_0x41f387(0x171)]({'model':_0x41f387(0x181),'view':_0x41f387(0x197)}),_0x20b973[_0x41f387(0x170)][_0x41f387(0x1af)](_0x41f387(0x17e))[_0x41f387(0x15b)]({'model':{'key':_0x41f387(0x181),'value':_0x523275=>_0x523275[_0x41f387(0x188)](_0x41f387(0x197))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2869ea=_0x20b973[_0x41f387(0x184)][_0x41f387(0x1aa)](_0x41f387(0x19d));_0x2869ea&&this[_0x41f387(0x1a2)](_0x2869ea,_0x41f387(0x194),(_0x39f496,[_0x2f3bd5,_0x48a260])=>{const _0x2674cc=_0x41f387;_0x2f3bd5[_0x2674cc(0x168)](_0x2674cc(0x181),_0x48a260);});}[_0x3567fe(0x163)](){const _0x4782b9=_0x3567fe,_0x19c07e=this[_0x4782b9(0x19b)][_0x4782b9(0x173)][_0x4782b9(0x1aa)](_0x4782b9(0x15e))||{},_0x34eef3=this[_0x4782b9(0x19b)][_0x4782b9(0x173)][_0x4782b9(0x1aa)](_0x4782b9(0x198))||'';this[_0x4782b9(0x160)]=_0x4a7a4f(_0x8b0f9a[_0x4782b9(0x17b)],_0x4782b9(0x17f),{..._0x19c07e,'pubkey':_0x34eef3,'ctx-name':_0x4782b9(0x199)+this[_0x4782b9(0x166)],'sourceList':'','imgOnly':_0x4782b9(0x178),'removeCopyright':_0x4782b9(0x178),'localeName':this[_0x4782b9(0x19b)][_0x4782b9(0x1a5)][_0x4782b9(0x180)],'externalSourcesEmbedCss':_0x4782b9(0x17c)}),this[_0x4782b9(0x160)][_0x4782b9(0x195)]=_0x216deb=>{const _0x1406bc=_0x4782b9;if(_0x1406bc(0x19a)==_0x216deb)return _0x1406bc(0x196);},_0x8b0f9a[_0x4782b9(0x17b)][_0x4782b9(0x177)][_0x4782b9(0x179)](this[_0x4782b9(0x160)]);}[_0x3567fe(0x161)](){const _0xb413fc=_0x3567fe;this[_0xb413fc(0x186)]=_0x4a7a4f(_0x8b0f9a[_0xb413fc(0x17b)],_0xb413fc(0x15c),{'ctx-name':_0xb413fc(0x199)+this[_0xb413fc(0x166)]}),_0x8b0f9a[_0xb413fc(0x17b)][_0xb413fc(0x177)][_0xb413fc(0x179)](this[_0xb413fc(0x186)]);}[_0x3567fe(0x1a0)](){const _0x1e97ab=_0x3567fe,_0x4ec99d=this[_0x1e97ab(0x19b)][_0x1e97ab(0x184)][_0x1e97ab(0x1aa)](_0x1e97ab(0x176));_0x4ec99d&&this[_0x1e97ab(0x1a2)](_0x4ec99d,_0x1e97ab(0x193),()=>{const _0x50c25b=_0x1e97ab,_0x43c6b1=this[_0x50c25b(0x19b)][_0x50c25b(0x19c)][_0x50c25b(0x17b)][_0x50c25b(0x172)][_0x50c25b(0x1ac)]();_0x43c6b1&&_0x43c6b1[_0x50c25b(0x188)](_0x50c25b(0x181))&&this[_0x50c25b(0x19b)][_0x50c25b(0x1ad)][_0x50c25b(0x1ab)][_0x50c25b(0x1a9)](_0x50c25b(0x1a3),()=>{const _0x295111=_0x50c25b;_0x3e3717(this[_0x295111(0x19b)],_0x43c6b1);});});const _0x295d9e=this[_0x1e97ab(0x19b)][_0x1e97ab(0x184)][_0x1e97ab(0x1aa)](_0x1e97ab(0x1a7));_0x295d9e&&this[_0x1e97ab(0x1a2)](_0x295d9e,_0x1e97ab(0x193),()=>{const _0x367a77=_0x1e97ab,_0x137aac=this[_0x367a77(0x19b)][_0x367a77(0x19c)][_0x367a77(0x17b)][_0x367a77(0x172)][_0x367a77(0x1ac)]();_0x137aac&&_0x137aac[_0x367a77(0x188)](_0x367a77(0x181))&&this[_0x367a77(0x19b)][_0x367a77(0x1ad)][_0x367a77(0x1ab)][_0x367a77(0x1a9)](_0x367a77(0x1a3),()=>{const _0x5bc594=_0x367a77;_0x3e3717(this[_0x5bc594(0x19b)],_0x137aac);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3f6bda,ObservableMixin as _0x55e871}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3a8a6b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1509d8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3beb4d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5d195d}from'../../utils/uploadutils.js';import{getImageUrls as _0x5ca186,getImageDimension as _0x3cdb0c}from'../../utils/editingutils.js';import{isAncestor as _0x19d834}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x55e871(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2c7b9a,_0xc943f9,_0x210533){super(),this['_editor']=_0x2c7b9a,this['_dialog']=_0xc943f9,this['_imageElement']=_0x210533,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 _0x587c02=this['_imageElement'],_0x9b729e=_0x587c02['getAttribute']('uploadcareImageId'),_0x21c1ee=_0x587c02['getAttribute']('src');if(_0x9b729e)await this['_loadImageInfo'](_0x9b729e,_0x21c1ee);else{if(this['_imageCache']['has'](_0x21c1ee)){const _0x55c987=this['_imageCache']['get'](_0x21c1ee);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55c987['url'],this['imageDimension']=_0x55c987['dimension'],this['imageId']=_0x55c987['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x152cdb}=this['_editor'],t=_0x152cdb['t'],_0x3056ca=new _0x3beb4d(_0x152cdb,this['imageStatus'],this['_attributes']);_0x3056ca['bind']('status')['to'](this,'imageStatus'),_0x3056ca['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3056ca['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3056ca['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3056ca,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1509d8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3056ca,'position':_0x3a8a6b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3056ca['focus']();},'onHide':()=>{_0x3056ca['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3ee9c7=>!_0x19d834(_0x3ee9c7,_0x3056ca['element'])}});}['_loadImageInfo'](_0x9c3afa,_0x1bd058){return _0x5d195d['getInfo'](_0x9c3afa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xab6012=>{const {width:_0x222c71,height:_0x2ad3b9}=_0xab6012['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1bd058,this['imageDimension']={'width':_0x222c71,'height':_0x2ad3b9},this['imageId']=_0x9c3afa;})['catch'](_0x28dad6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28dad6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x432b8f,_0x327127){return this['_getImageAsFile'](_0x432b8f)['then'](_0x40726a=>_0x5d195d['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':_0x327127['signal'],'file':_0x40726a,'onProgress':_0x870a2b=>{_0x870a2b&&_0x870a2b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x870a2b['value']));}}))['then'](_0x23c637=>{const {width:_0x58ad36,height:_0x152b4c}=_0x23c637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23c637['cdnUrl'],this['imageDimension']={'width':_0x58ad36,'height':_0x152b4c},this['imageId']=_0x23c637['uuid'],this['imageUploadProgress']=null;const _0x5ddaf6=_0x432b8f['getAttribute']('src');this['_imageCache']['set'](_0x5ddaf6,{'id':_0x23c637['uuid'],'url':_0x23c637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51411b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51411b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x18576b,_0x49718e){_0x18576b['on']('apply',(_0x505596,_0x45b578)=>{this['_replaceImage'](_0x49718e,_0x45b578['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x18576b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x18576b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3d65e2,_0x3718ac,_0x25633f){const _0x36ae80=this['_editor'],{width:_0x33af6a,height:_0x544c73}=_0x3cdb0c(_0x3718ac,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e1f75,imageSources:_0x4debb2}=_0x5ca186(_0x3718ac,_0x33af6a);_0x36ae80['model']['change'](_0x1c6e15=>{if('$graveyard'===_0x3d65e2['root']['rootName']){_0x36ae80['execute']('insertImage',{'imageType':_0x3d65e2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3d65e2['getAttributes']()),'uploadcareImageId':_0x25633f,'src':_0x3e1f75,'sources':_0x4debb2,'width':_0x33af6a,'height':_0x544c73}});const _0x227af7=_0x3d65e2['getChildren']();_0x3d65e2=_0x36ae80['model']['document']['selection']['getSelectedElement']();for(const _0xdf630 of _0x227af7)_0x1c6e15['append'](_0x1c6e15['cloneElement'](_0xdf630),_0x3d65e2);}else _0x1c6e15['setSelection'](_0x3d65e2,'on'),_0x36ae80['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3d65e2['getAttributes']()),'uploadcareImageId':_0x25633f,'src':_0x3e1f75,'sources':_0x4debb2,'width':_0x33af6a,'height':_0x544c73},_0x3d65e2);_0x1c6e15['setSelection'](_0x3d65e2,'on');});}async['_getImageAsFile'](_0xb6d153){const _0x46e057=_0x3f6bda['window'],_0x51bd50=_0x3f6bda['document']['location']['href'],_0x145800=new _0x46e057['URL'](_0xb6d153['getAttribute']('src'),_0x51bd50);if('data:'===_0x145800['protocol']){const _0x46c04d=_0x145800['href']['split'](','),_0x21452d=_0x46c04d[0x0]['match'](/:(.*?);/)[0x1],_0x387fcb=_0x21452d['split']('/')[0x1],_0x3e2f13=_0x46e057['atob'](_0x46c04d[_0x46c04d['length']-0x1]);let _0x1b10fe=_0x3e2f13['length'];const _0x51a7ab=new _0x46e057['Uint8Array'](_0x1b10fe);for(;_0x1b10fe--;)_0x51a7ab[_0x1b10fe]=_0x3e2f13['charCodeAt'](_0x1b10fe);return new _0x46e057['File']([_0x51a7ab],'image.'+_0x387fcb,{'type':_0x21452d});}const _0x3c18c1=_0x145800['href']['split']('/'),_0x5c6c73=_0x3c18c1[_0x3c18c1['length']-0x1],_0x2b8243=_0x5c6c73['split']('.')[0x1];return _0x46e057['fetch'](_0x145800['href'])['then'](_0x165c5b=>_0x165c5b['clone']()['blob']())['then'](_0x44b6f6=>new _0x46e057['File']([_0x44b6f6],_0x5c6c73,{'type':'image/'+_0x2b8243}));}}
23
+ import{global as _0x5ee2e8,ObservableMixin as _0x3a99ea}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2f8d21}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1f5db7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x489c8f}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x429b65}from'../../utils/uploadutils.js';import{getImageUrls as _0x53c209,getImageDimension as _0x5eef66}from'../../utils/editingutils.js';import{isAncestor as _0x7024e2}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3a99ea(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x413342,_0x222b87,_0x439e47){super(),this['_editor']=_0x413342,this['_dialog']=_0x222b87,this['_imageElement']=_0x439e47,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 _0x5392bc=this['_imageElement'],_0x270ca6=_0x5392bc['getAttribute']('uploadcareImageId'),_0x405004=_0x5392bc['getAttribute']('src');if(_0x270ca6)await this['_loadImageInfo'](_0x270ca6,_0x405004);else{if(this['_imageCache']['has'](_0x405004)){const _0x3bf783=this['_imageCache']['get'](_0x405004);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3bf783['url'],this['imageDimension']=_0x3bf783['dimension'],this['imageId']=_0x3bf783['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x9ada2b}=this['_editor'],t=_0x9ada2b['t'],_0x5e0d2e=new _0x489c8f(_0x9ada2b,this['imageStatus'],this['_attributes']);_0x5e0d2e['bind']('status')['to'](this,'imageStatus'),_0x5e0d2e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5e0d2e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5e0d2e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5e0d2e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1f5db7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5e0d2e,'position':_0x2f8d21['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5e0d2e['focus']();},'onHide':()=>{_0x5e0d2e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1c0ea7=>!_0x7024e2(_0x1c0ea7,_0x5e0d2e['element'])}});}['_loadImageInfo'](_0x18000e,_0x606e3f){return _0x429b65['getInfo'](_0x18000e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x2b06cb=>{const {width:_0x1c1261,height:_0x5beeb5}=_0x2b06cb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x606e3f,this['imageDimension']={'width':_0x1c1261,'height':_0x5beeb5},this['imageId']=_0x18000e;})['catch'](_0x2c2df3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c2df3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1f31c4,_0x5251dc){return this['_getImageAsFile'](_0x1f31c4)['then'](_0x2da827=>_0x429b65['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':_0x5251dc['signal'],'file':_0x2da827,'onProgress':_0x1e6257=>{_0x1e6257&&_0x1e6257['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1e6257['value']));}}))['then'](_0xf7943f=>{const {width:_0x2725e5,height:_0x5cd44e}=_0xf7943f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xf7943f['cdnUrl'],this['imageDimension']={'width':_0x2725e5,'height':_0x5cd44e},this['imageId']=_0xf7943f['uuid'],this['imageUploadProgress']=null;const _0x405e4e=_0x1f31c4['getAttribute']('src');this['_imageCache']['set'](_0x405e4e,{'id':_0xf7943f['uuid'],'url':_0xf7943f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x584904=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x584904['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x26fd99,_0x5bb19e){_0x26fd99['on']('apply',(_0x54b6c6,_0x33961b)=>{this['_replaceImage'](_0x5bb19e,_0x33961b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x26fd99['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x26fd99['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x17123a,_0x508fc4,_0x18f5d7){const _0x4f361a=this['_editor'],{width:_0x3786d7,height:_0x338489}=_0x5eef66(_0x508fc4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5db91f,imageSources:_0x2ba392}=_0x53c209(_0x508fc4,_0x3786d7);_0x4f361a['model']['change'](_0xf489fa=>{if('$graveyard'===_0x17123a['root']['rootName']){_0x4f361a['execute']('insertImage',{'imageType':_0x17123a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x17123a['getAttributes']()),'uploadcareImageId':_0x18f5d7,'src':_0x5db91f,'sources':_0x2ba392,'width':_0x3786d7,'height':_0x338489}});const _0xe44218=_0x17123a['getChildren']();_0x17123a=_0x4f361a['model']['document']['selection']['getSelectedElement']();for(const _0x4302d7 of _0xe44218)_0xf489fa['append'](_0xf489fa['cloneElement'](_0x4302d7),_0x17123a);}else _0xf489fa['setSelection'](_0x17123a,'on'),_0x4f361a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x17123a['getAttributes']()),'uploadcareImageId':_0x18f5d7,'src':_0x5db91f,'sources':_0x2ba392,'width':_0x3786d7,'height':_0x338489},_0x17123a);_0xf489fa['setSelection'](_0x17123a,'on');});}async['_getImageAsFile'](_0x1bba80){const _0x3fa220=_0x5ee2e8['window'],_0x2b85ae=_0x5ee2e8['document']['location']['href'],_0xa12c0=new _0x3fa220['URL'](_0x1bba80['getAttribute']('src'),_0x2b85ae);if('data:'===_0xa12c0['protocol']){const _0x52a37d=_0xa12c0['href']['split'](','),_0x58e25f=_0x52a37d[0x0]['match'](/:(.*?);/)[0x1],_0x35d311=_0x58e25f['split']('/')[0x1],_0x3e0b8a=_0x3fa220['atob'](_0x52a37d[_0x52a37d['length']-0x1]);let _0x372796=_0x3e0b8a['length'];const _0x3a12ba=new _0x3fa220['Uint8Array'](_0x372796);for(;_0x372796--;)_0x3a12ba[_0x372796]=_0x3e0b8a['charCodeAt'](_0x372796);return new _0x3fa220['File']([_0x3a12ba],'image.'+_0x35d311,{'type':_0x58e25f});}const _0x2250e5=_0xa12c0['href']['split']('/'),_0x4a8354=_0x2250e5[_0x2250e5['length']-0x1],_0x2bb015=_0x4a8354['split']('.')[0x1];return _0x3fa220['fetch'](_0xa12c0['href'])['then'](_0x760a57=>_0x760a57['clone']()['blob']())['then'](_0xa82152=>new _0x3fa220['File']([_0xa82152],_0x4a8354,{'type':'image/'+_0x2bb015}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13c022,_0xb09df5){const _0x4aca55=_0x4b9a,_0x5ccedb=_0x13c022();while(!![]){try{const _0x3d40b0=parseInt(_0x4aca55(0x129))/0x1+-parseInt(_0x4aca55(0x12f))/0x2+-parseInt(_0x4aca55(0x131))/0x3*(parseInt(_0x4aca55(0x130))/0x4)+parseInt(_0x4aca55(0x123))/0x5+parseInt(_0x4aca55(0x125))/0x6+-parseInt(_0x4aca55(0x127))/0x7+parseInt(_0x4aca55(0x12b))/0x8*(-parseInt(_0x4aca55(0x12e))/0x9);if(_0x3d40b0===_0xb09df5)break;else _0x5ccedb['push'](_0x5ccedb['shift']());}catch(_0xcda1ce){_0x5ccedb['push'](_0x5ccedb['shift']());}}}(_0xa5a2,0xacbf6));import{View as _0x37edd6}from'ckeditor5/src/ui.js';function _0xa5a2(){const _0x4c3c0d=['1076974iYbMxu','48312gcUDsC','81SPNPri','bindTemplate','set','1811820vZgPnK','uc-light','2674962NrpzCR','imageSrc','611331aeujkd','setTemplate','1407073zfGEeg','ck-uploadcare-theme','23776VBzPHy','uc-cloud-image-editor','image-edit','1683VgxKRK'];_0xa5a2=function(){return _0x4c3c0d;};return _0xa5a2();}function _0x4b9a(_0x5a404f,_0x4abfbd){const _0xa5a226=_0xa5a2();return _0x4b9a=function(_0x4b9a05,_0x2079ac){_0x4b9a05=_0x4b9a05-0x123;let _0x506939=_0xa5a226[_0x4b9a05];return _0x506939;},_0x4b9a(_0x5a404f,_0x4abfbd);}export class UploadcareImageEditFormEditingView extends _0x37edd6{constructor(_0x1c4f17,_0x1079bb){const _0x1833e1=_0x4b9a;super(_0x1c4f17);const _0x31f197=this[_0x1833e1(0x132)];this[_0x1833e1(0x133)](_0x1833e1(0x126),''),this[_0x1833e1(0x128)]({'tag':_0x1833e1(0x12c),'attributes':{..._0x1079bb,'class':[_0x1833e1(0x124),_0x1833e1(0x12a)],'ctx-name':_0x1833e1(0x12d),'cdn-url':_0x31f197['to'](_0x1833e1(0x126))}});}}
23
+ (function(_0x53cbd9,_0x52aa49){const _0x33fdc4=_0x589d,_0x1645b5=_0x53cbd9();while(!![]){try{const _0x182889=parseInt(_0x33fdc4(0x164))/0x1+-parseInt(_0x33fdc4(0x165))/0x2+-parseInt(_0x33fdc4(0x161))/0x3*(parseInt(_0x33fdc4(0x16b))/0x4)+parseInt(_0x33fdc4(0x16a))/0x5*(-parseInt(_0x33fdc4(0x168))/0x6)+-parseInt(_0x33fdc4(0x16c))/0x7*(parseInt(_0x33fdc4(0x15e))/0x8)+parseInt(_0x33fdc4(0x15b))/0x9*(-parseInt(_0x33fdc4(0x169))/0xa)+parseInt(_0x33fdc4(0x16d))/0xb*(parseInt(_0x33fdc4(0x15d))/0xc);if(_0x182889===_0x52aa49)break;else _0x1645b5['push'](_0x1645b5['shift']());}catch(_0x5a3416){_0x1645b5['push'](_0x1645b5['shift']());}}}(_0x5ebb,0xd88be));import{View as _0x658aa5}from'ckeditor5/src/ui.js';function _0x589d(_0x21d883,_0x2a8682){const _0x5ebb31=_0x5ebb();return _0x589d=function(_0x589dde,_0x16dba7){_0x589dde=_0x589dde-0x15b;let _0x590a16=_0x5ebb31[_0x589dde];return _0x590a16;},_0x589d(_0x21d883,_0x2a8682);}function _0x5ebb(){const _0x11a05a=['bindTemplate','24eGhEcL','17384cwutWE','image-edit','uc-cloud-image-editor','3457317hQvXwc','ck-uploadcare-theme','set','1699793ODgzta','2598490YDHMmN','setTemplate','uc-light','4174398HrZJaQ','10SJBjIl','5jmrndC','4AdhvEd','707ZqAPMq','22239030dpXKjI','imageSrc','13404501vWuiMs'];_0x5ebb=function(){return _0x11a05a;};return _0x5ebb();}export class UploadcareImageEditFormEditingView extends _0x658aa5{constructor(_0x17b2a7,_0x22ef5f){const _0xef5c6f=_0x589d;super(_0x17b2a7);const _0x182c22=this[_0xef5c6f(0x15c)];this[_0xef5c6f(0x163)](_0xef5c6f(0x16e),''),this[_0xef5c6f(0x166)]({'tag':_0xef5c6f(0x160),'attributes':{..._0x22ef5f,'class':[_0xef5c6f(0x167),_0xef5c6f(0x162)],'ctx-name':_0xef5c6f(0x15f),'cdn-url':_0x182c22['to'](_0xef5c6f(0x16e))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1ffc60}from'ckeditor5/src/icons.js';import{ButtonView as _0x317303,IconView as _0x1b041a,View as _0x8aadc2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x8aadc2{constructor(_0x354df8){super(_0x354df8);const t=_0x354df8['t'];this['set']('errorType',null);const _0x3252bb=new _0x317303(_0x354df8);_0x3252bb['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3252bb['withText']=!0x0,_0x3252bb['class']='ck-button-action',_0x3252bb['on']('execute',()=>{this['fire']('retry');}),_0x3252bb['bind']('isVisible')['to'](this,'errorType',_0x3efd5f=>'NotFound'!==_0x3efd5f);const _0x33c5bd=new _0x1b041a();_0x33c5bd['content']=_0x1ffc60,_0x33c5bd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x52192d=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':[_0x33c5bd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x52192d['to']('errorType',_0x451033=>t('NotFound'!==_0x451033?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3252bb]},{'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 _0x4024de}from'ckeditor5/src/icons.js';import{ButtonView as _0xad409f,IconView as _0x58e7ca,View as _0x57eab9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x57eab9{constructor(_0x3a3ee0){super(_0x3a3ee0);const t=_0x3a3ee0['t'];this['set']('errorType',null);const _0x4f02f0=new _0xad409f(_0x3a3ee0);_0x4f02f0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4f02f0['withText']=!0x0,_0x4f02f0['class']='ck-button-action',_0x4f02f0['on']('execute',()=>{this['fire']('retry');}),_0x4f02f0['bind']('isVisible')['to'](this,'errorType',_0x3c1c56=>'NotFound'!==_0x3c1c56);const _0x6ce473=new _0x58e7ca();_0x6ce473['content']=_0x4024de,_0x6ce473['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xee0b9=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':[_0x6ce473,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xee0b9['to']('errorType',_0x27ed13=>t('NotFound'!==_0x27ed13?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4f02f0]},{'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 _0x10f515,View as _0x1905e8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1905e8{constructor(_0x4ba87f){super(_0x4ba87f);const t=_0x4ba87f['t'],_0x4dd74=this['bindTemplate'],_0x52f01d=new _0x10f515();_0x52f01d['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':[_0x52f01d,{'text':_0x4dd74['to']('imageUploadProgress',_0x1ee9c0=>t('Loading\x20image...')+'\x20('+(_0x1ee9c0||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 _0x4df620,View as _0x566bd2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x566bd2{constructor(_0x364f00){super(_0x364f00);const t=_0x364f00['t'],_0x32b12a=this['bindTemplate'],_0x3641fc=new _0x4df620();_0x3641fc['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':[_0x3641fc,{'text':_0x32b12a['to']('imageUploadProgress',_0x438744=>t('Loading\x20image...')+'\x20('+(_0x438744||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c1c(_0x1417df,_0x58238c){const _0x537035=_0x5370();return _0x2c1c=function(_0x2c1c96,_0x44c172){_0x2c1c96=_0x2c1c96-0x111;let _0x389afa=_0x537035[_0x2c1c96];return _0x389afa;},_0x2c1c(_0x1417df,_0x58238c);}const _0x56c889=_0x2c1c;(function(_0x452717,_0x458359){const _0x5f72bc=_0x2c1c,_0x5e4759=_0x452717();while(!![]){try{const _0x593784=parseInt(_0x5f72bc(0x114))/0x1*(parseInt(_0x5f72bc(0x134))/0x2)+-parseInt(_0x5f72bc(0x11e))/0x3+parseInt(_0x5f72bc(0x133))/0x4*(-parseInt(_0x5f72bc(0x132))/0x5)+-parseInt(_0x5f72bc(0x13e))/0x6+-parseInt(_0x5f72bc(0x141))/0x7+parseInt(_0x5f72bc(0x12f))/0x8+parseInt(_0x5f72bc(0x131))/0x9;if(_0x593784===_0x458359)break;else _0x5e4759['push'](_0x5e4759['shift']());}catch(_0x48900d){_0x5e4759['push'](_0x5e4759['shift']());}}}(_0x5370,0xba6dd));function _0x5370(){const _0x2db79b=['8279736sXcvor','length','observe','5356526iHMxZb','_errorView','error','cdnUrl','setTemplate','element','filter','addedNodes','_editingView','82963fCTfyD','_addUploadcareImageEditorListeners','div','focus','disconnect','uc-cloud-image-editor','uploading','querySelector','change:status','_addErrorViewListeners','482670wJaHiJ','_items','set','nodeName','render','getFocusableElement','fire','detail','addEventListener','ck-uploadcare-form','createCollection','status','toLowerCase','_loadingView','_setView','retry','once','1577576gfYuPv','apply','28866816wijxei','6237685TsTSAX','4HhfvRu','22xmQdRo','target','ck-reset_all-excluded','add','ready','addMany','clear','_waitForImageEditorComponent','_focusableView','cancel'];_0x5370=function(){return _0x2db79b;};return _0x5370();}import{View as _0x1f12b6}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5e67b7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x11a4e6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2ae15a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x24f6b9}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x24f6b9{[_0x56c889(0x11f)];[_0x56c889(0x12b)];[_0x56c889(0x142)];[_0x56c889(0x113)];[_0x56c889(0x13c)];constructor(_0x93ca0b,_0x52e400,_0x4332b4){const _0x2136db=_0x56c889;super(_0x93ca0b),this[_0x2136db(0x11f)]=this[_0x2136db(0x128)](),this[_0x2136db(0x12b)]=new _0x5e67b7(_0x93ca0b),this[_0x2136db(0x142)]=new _0x11a4e6(_0x93ca0b),this[_0x2136db(0x113)]=new _0x2ae15a(_0x93ca0b,_0x4332b4),this[_0x2136db(0x13c)]=new _0x1f12b6(_0x93ca0b),this[_0x2136db(0x13c)][_0x2136db(0x145)](this[_0x2136db(0x123)]()),this[_0x2136db(0x120)](_0x2136db(0x129),_0x52e400),this[_0x2136db(0x145)]({'tag':_0x2136db(0x116),'attributes':{'class':['ck',_0x2136db(0x136),_0x2136db(0x127)],'tabindex':'-1'},'children':this[_0x2136db(0x11f)]}),this[_0x2136db(0x12c)](),this[_0x2136db(0x12e)](_0x2136db(0x122),()=>{const _0x1136fd=_0x2136db;this[_0x1136fd(0x13b)](this[_0x1136fd(0x146)],_0x4f3782=>{const _0x30ff1d=_0x1136fd;this[_0x30ff1d(0x115)](_0x4f3782);});}),this['on'](_0x2136db(0x11c),()=>{const _0x206167=_0x2136db;this[_0x206167(0x12c)]();}),this[_0x2136db(0x11d)]();}[_0x56c889(0x117)](){const _0x539e58=_0x56c889;this[_0x539e58(0x146)][_0x539e58(0x117)]();}[_0x56c889(0x12c)](){const _0x55d1e0=_0x56c889;switch(this[_0x55d1e0(0x11f)][_0x55d1e0(0x13a)](),this[_0x55d1e0(0x129)]){case _0x55d1e0(0x11a):this[_0x55d1e0(0x11f)][_0x55d1e0(0x137)](this[_0x55d1e0(0x12b)]);break;case _0x55d1e0(0x143):this[_0x55d1e0(0x11f)][_0x55d1e0(0x137)](this[_0x55d1e0(0x142)]);break;case _0x55d1e0(0x138):this[_0x55d1e0(0x11f)][_0x55d1e0(0x139)]([this[_0x55d1e0(0x113)],this[_0x55d1e0(0x13c)]]);}}[_0x56c889(0x13b)](_0x214aa1,_0x5627d1){const _0x34d455=_0x56c889,_0x1c782b=_0x34d455(0x119),_0x34b312=_0x214aa1[_0x34d455(0x11b)](_0x1c782b);if(_0x34b312)return _0x5627d1(_0x34b312);const _0x48eab7=new MutationObserver(_0x8dbbef=>{const _0x54c1ef=_0x34d455,_0x19da21=_0x8dbbef[_0x54c1ef(0x111)](_0x30e075=>_0x30e075[_0x54c1ef(0x135)]===_0x214aa1&&_0x30e075[_0x54c1ef(0x112)][_0x54c1ef(0x13f)]>0x0&&_0x30e075[_0x54c1ef(0x112)][0x0][_0x54c1ef(0x121)][_0x54c1ef(0x12a)]()===_0x1c782b);_0x19da21[_0x54c1ef(0x13f)]&&(_0x48eab7[_0x54c1ef(0x118)](),_0x5627d1(_0x19da21[0x0][_0x54c1ef(0x112)][0x0]));});_0x48eab7[_0x34d455(0x140)](_0x214aa1,{'childList':!0x0,'subtree':!0x0});}[_0x56c889(0x115)](_0x5bedbc){const _0x5bf151=_0x56c889;_0x5bedbc[_0x5bf151(0x126)](_0x5bf151(0x130),_0x46bd91=>{const _0x3e7d3d=_0x5bf151;this[_0x3e7d3d(0x124)](_0x3e7d3d(0x130),{'imageSrc':_0x46bd91[_0x3e7d3d(0x125)][_0x3e7d3d(0x144)]});}),_0x5bedbc[_0x5bf151(0x126)](_0x5bf151(0x13d),()=>{const _0x4039d0=_0x5bf151;this[_0x4039d0(0x124)](_0x4039d0(0x13d));});}[_0x56c889(0x11d)](){const _0x11ae11=_0x56c889;this[_0x11ae11(0x142)]['on'](_0x11ae11(0x12d),()=>{const _0x4d20b9=_0x11ae11;this[_0x4d20b9(0x124)](_0x4d20b9(0x12d));});}}
23
+ const _0x471018=_0x2d48;(function(_0x2649d1,_0x151abd){const _0x188e43=_0x2d48,_0xe5c572=_0x2649d1();while(!![]){try{const _0x2dc1f2=parseInt(_0x188e43(0x1e7))/0x1*(parseInt(_0x188e43(0x1e4))/0x2)+-parseInt(_0x188e43(0x1ec))/0x3+-parseInt(_0x188e43(0x1f7))/0x4+parseInt(_0x188e43(0x1fd))/0x5*(parseInt(_0x188e43(0x1d0))/0x6)+parseInt(_0x188e43(0x1da))/0x7+-parseInt(_0x188e43(0x1f0))/0x8*(parseInt(_0x188e43(0x1d7))/0x9)+parseInt(_0x188e43(0x1fb))/0xa;if(_0x2dc1f2===_0x151abd)break;else _0xe5c572['push'](_0xe5c572['shift']());}catch(_0x12fb03){_0xe5c572['push'](_0xe5c572['shift']());}}}(_0xc671,0x8d317));import{View as _0x9763d0}from'ckeditor5/src/ui.js';function _0x2d48(_0x2904f9,_0x4d851f){const _0xc6711b=_0xc671();return _0x2d48=function(_0x2d488c,_0x2016a1){_0x2d488c=_0x2d488c-0x1d0;let _0x5d1655=_0xc6711b[_0x2d488c];return _0x5d1655;},_0x2d48(_0x2904f9,_0x4d851f);}import{UploadcareImageEditFormLoadingView as _0x476f97}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1fadfe}from'./uploadcareimageeditformerrorview.js';function _0xc671(){const _0x360a05=['1205CPibiw','render','disconnect','querySelector','cdnUrl','setTemplate','_addErrorViewListeners','_setView','uc-cloud-image-editor','nodeName','9816oRcNDu','fire','addedNodes','ck-uploadcare-form','createCollection','detail','change:status','9GsjmEj','ck-reset_all-excluded','target','4698295TFoThX','ready','set','clear','toLowerCase','uploading','addEventListener','once','_addUploadcareImageEditorListeners','length','3260zuVCGf','status','div','458IxqUKH','getFocusableElement','filter','_waitForImageEditorComponent','apply','1144257QVNCvl','add','_items','_loadingView','6814504OJhVqG','addMany','_errorView','retry','cancel','focus','error','2995932PiRTDP','_focusableView','element','_editingView','7485410PjcpVC','observe'];_0xc671=function(){return _0x360a05;};return _0xc671();}import{UploadcareImageEditFormEditingView as _0x4126d4}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3a0419}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3a0419{[_0x471018(0x1ee)];[_0x471018(0x1ef)];[_0x471018(0x1f2)];[_0x471018(0x1fa)];[_0x471018(0x1f8)];constructor(_0x3f7135,_0x36a27b,_0x1deebc){const _0x422c66=_0x471018;super(_0x3f7135),this[_0x422c66(0x1ee)]=this[_0x422c66(0x1d4)](),this[_0x422c66(0x1ef)]=new _0x476f97(_0x3f7135),this[_0x422c66(0x1f2)]=new _0x1fadfe(_0x3f7135),this[_0x422c66(0x1fa)]=new _0x4126d4(_0x3f7135,_0x1deebc),this[_0x422c66(0x1f8)]=new _0x9763d0(_0x3f7135),this[_0x422c66(0x1f8)][_0x422c66(0x202)](this[_0x422c66(0x1e8)]()),this[_0x422c66(0x1dc)](_0x422c66(0x1e5),_0x36a27b),this[_0x422c66(0x202)]({'tag':_0x422c66(0x1e6),'attributes':{'class':['ck',_0x422c66(0x1d8),_0x422c66(0x1d3)],'tabindex':'-1'},'children':this[_0x422c66(0x1ee)]}),this[_0x422c66(0x204)](),this[_0x422c66(0x1e1)](_0x422c66(0x1fe),()=>{const _0x329fa4=_0x422c66;this[_0x329fa4(0x1ea)](this[_0x329fa4(0x1f9)],_0xb3c8b3=>{const _0x53ba00=_0x329fa4;this[_0x53ba00(0x1e2)](_0xb3c8b3);});}),this['on'](_0x422c66(0x1d6),()=>{const _0x386285=_0x422c66;this[_0x386285(0x204)]();}),this[_0x422c66(0x203)]();}[_0x471018(0x1f5)](){const _0x1b6c53=_0x471018;this[_0x1b6c53(0x1f9)][_0x1b6c53(0x1f5)]();}[_0x471018(0x204)](){const _0x5bcfa6=_0x471018;switch(this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1dd)](),this[_0x5bcfa6(0x1e5)]){case _0x5bcfa6(0x1df):this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1ed)](this[_0x5bcfa6(0x1ef)]);break;case _0x5bcfa6(0x1f6):this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1ed)](this[_0x5bcfa6(0x1f2)]);break;case _0x5bcfa6(0x1db):this[_0x5bcfa6(0x1ee)][_0x5bcfa6(0x1f1)]([this[_0x5bcfa6(0x1fa)],this[_0x5bcfa6(0x1f8)]]);}}[_0x471018(0x1ea)](_0x485218,_0x531055){const _0x492273=_0x471018,_0x33e1a3=_0x492273(0x205),_0x56d286=_0x485218[_0x492273(0x200)](_0x33e1a3);if(_0x56d286)return _0x531055(_0x56d286);const _0x4774a5=new MutationObserver(_0xe20f1c=>{const _0x27ed13=_0x492273,_0x2f6d2f=_0xe20f1c[_0x27ed13(0x1e9)](_0x590bcc=>_0x590bcc[_0x27ed13(0x1d9)]===_0x485218&&_0x590bcc[_0x27ed13(0x1d2)][_0x27ed13(0x1e3)]>0x0&&_0x590bcc[_0x27ed13(0x1d2)][0x0][_0x27ed13(0x206)][_0x27ed13(0x1de)]()===_0x33e1a3);_0x2f6d2f[_0x27ed13(0x1e3)]&&(_0x4774a5[_0x27ed13(0x1ff)](),_0x531055(_0x2f6d2f[0x0][_0x27ed13(0x1d2)][0x0]));});_0x4774a5[_0x492273(0x1fc)](_0x485218,{'childList':!0x0,'subtree':!0x0});}[_0x471018(0x1e2)](_0x2889fe){const _0x4b2e5f=_0x471018;_0x2889fe[_0x4b2e5f(0x1e0)](_0x4b2e5f(0x1eb),_0x5a34fa=>{const _0xf9111f=_0x4b2e5f;this[_0xf9111f(0x1d1)](_0xf9111f(0x1eb),{'imageSrc':_0x5a34fa[_0xf9111f(0x1d5)][_0xf9111f(0x201)]});}),_0x2889fe[_0x4b2e5f(0x1e0)](_0x4b2e5f(0x1f4),()=>{const _0x556985=_0x4b2e5f;this[_0x556985(0x1d1)](_0x556985(0x1f4));});}[_0x471018(0x203)](){const _0x15f86=_0x471018;this[_0x15f86(0x1f2)]['on'](_0x15f86(0x1f3),()=>{const _0x58b5e6=_0x15f86;this[_0x58b5e6(0x1d1)](_0x58b5e6(0x1f3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d5985=_0x5b91;(function(_0x3c6f09,_0x4f9565){const _0x5dce41=_0x5b91,_0x3f28e4=_0x3c6f09();while(!![]){try{const _0x18d20b=-parseInt(_0x5dce41(0xe9))/0x1*(parseInt(_0x5dce41(0x102))/0x2)+parseInt(_0x5dce41(0xef))/0x3*(parseInt(_0x5dce41(0x105))/0x4)+parseInt(_0x5dce41(0xff))/0x5+parseInt(_0x5dce41(0x106))/0x6+parseInt(_0x5dce41(0xf2))/0x7*(-parseInt(_0x5dce41(0x100))/0x8)+parseInt(_0x5dce41(0xfa))/0x9*(parseInt(_0x5dce41(0xfc))/0xa)+-parseInt(_0x5dce41(0xed))/0xb*(parseInt(_0x5dce41(0xea))/0xc);if(_0x18d20b===_0x4f9565)break;else _0x3f28e4['push'](_0x3f28e4['shift']());}catch(_0x283c3e){_0x3f28e4['push'](_0x3f28e4['shift']());}}}(_0x5e8f,0x71fab));import{Command as _0x11a942}from'ckeditor5/src/core.js';import{Dialog as _0x171251}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x43bf7a}from'./ui/uploadcareimageeditcontroller.js';function _0x5b91(_0x4ebc58,_0x323a59){const _0x5e8f6a=_0x5e8f();return _0x5b91=function(_0x5b910f,_0x212636){_0x5b910f=_0x5b910f-0xe6;let _0x2e85e=_0x5e8f6a[_0x5b910f];return _0x2e85e;},_0x5b91(_0x4ebc58,_0x323a59);}import{createEditabilityChecker as _0x284fd3}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x11a942{[_0x2d5985(0xf9)];static get[_0x2d5985(0xfd)](){return[_0x171251];}[_0x2d5985(0xf1)];constructor(_0x4fa5ab){const _0x4dfc47=_0x2d5985;super(_0x4fa5ab),this[_0x4dfc47(0xf9)]=void 0x0,this[_0x4dfc47(0xf1)]=_0x284fd3(_0x4fa5ab[_0x4dfc47(0xfb)][_0x4dfc47(0x107)](_0x4dfc47(0x103))||[]),this[_0x4dfc47(0xf8)]({'isActive':!0x1});}[_0x2d5985(0xf3)](){const _0x253d9c=_0x2d5985,_0x556294=this[_0x253d9c(0xee)][_0x253d9c(0xf6)][_0x253d9c(0x101)][_0x253d9c(0xf5)][_0x253d9c(0xe6)]();this[_0x253d9c(0xe7)]=this[_0x253d9c(0xf1)](_0x556294);}[_0x2d5985(0xf0)](){const _0x1d55e2=_0x2d5985;this[_0x1d55e2(0xf9)]&&(this[_0x1d55e2(0xf7)](_0x1d55e2(0xeb)),this[_0x1d55e2(0xf9)]=void 0x0);const _0x59244a=this[_0x1d55e2(0xee)][_0x1d55e2(0xf6)][_0x1d55e2(0x101)][_0x1d55e2(0xf5)][_0x1d55e2(0xe6)]();_0x59244a&&(_0x59244a['is'](_0x1d55e2(0x104),_0x1d55e2(0xe8))||_0x59244a['is'](_0x1d55e2(0x104),_0x1d55e2(0xfe)))&&(this[_0x1d55e2(0xf9)]=new _0x43bf7a(this[_0x1d55e2(0xee)],this[_0x1d55e2(0xee)][_0x1d55e2(0xec)][_0x1d55e2(0x107)](_0x171251),_0x59244a),this[_0x1d55e2(0xf4)](_0x1d55e2(0xeb))['to'](this[_0x1d55e2(0xf9)],_0x1d55e2(0xeb)));}}function _0x5e8f(){const _0x58cb7e=['document','198CaOlpj','uploadcare.allowExternalImagesEditing','element','114640jdlTaB','1660668iCfjVx','get','getSelectedElement','isEnabled','imageBlock','1423rrmggb','72dDPEhK','isActive','plugins','722557LbBkfq','editor','75MbsrRm','execute','_isEditable','1559117ZAECAC','refresh','bind','selection','model','unbind','set','imageEditController','5391fDUfhJ','config','2030RYoPWt','requires','imageInline','1662225ismPNo','16zgEnMG'];_0x5e8f=function(){return _0x58cb7e;};return _0x5e8f();}
23
+ function _0x4208(_0x1b6a0b,_0x5450ce){const _0x292e98=_0x292e();return _0x4208=function(_0x420868,_0x3be886){_0x420868=_0x420868-0x18f;let _0xeb174e=_0x292e98[_0x420868];return _0xeb174e;},_0x4208(_0x1b6a0b,_0x5450ce);}const _0x51204e=_0x4208;(function(_0x1acd74,_0x55e7dd){const _0x51aced=_0x4208,_0x14b687=_0x1acd74();while(!![]){try{const _0x13283a=parseInt(_0x51aced(0x1a4))/0x1+-parseInt(_0x51aced(0x1a8))/0x2+parseInt(_0x51aced(0x1a2))/0x3+-parseInt(_0x51aced(0x195))/0x4+-parseInt(_0x51aced(0x19b))/0x5+parseInt(_0x51aced(0x19c))/0x6*(parseInt(_0x51aced(0x1a3))/0x7)+parseInt(_0x51aced(0x1a9))/0x8*(parseInt(_0x51aced(0x19e))/0x9);if(_0x13283a===_0x55e7dd)break;else _0x14b687['push'](_0x14b687['shift']());}catch(_0x3a36f0){_0x14b687['push'](_0x14b687['shift']());}}}(_0x292e,0xaef9d));import{Command as _0x174008}from'ckeditor5/src/core.js';import{Dialog as _0x17e17a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x164bd8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x50c894}from'../utils/editingutils.js';function _0x292e(){const _0x35a0a8=['document','selection','config','plugins','1819535qkAYdL','710394OFyXAb','imageEditController','985113RCeJEf','_isEditable','get','execute','2335818XxyXom','7FhJNFx','1428987weIqKV','bind','refresh','getSelectedElement','2613428kmgsnh','8oJLYBo','set','isActive','uploadcare.allowExternalImagesEditing','imageInline','isEnabled','unbind','editor','element','imageBlock','model','192508eBJstd','requires'];_0x292e=function(){return _0x35a0a8;};return _0x292e();}export class UploadcareImageEditCommand extends _0x174008{[_0x51204e(0x19d)];static get[_0x51204e(0x196)](){return[_0x17e17a];}[_0x51204e(0x19f)];constructor(_0x43d55f){const _0x426713=_0x51204e;super(_0x43d55f),this[_0x426713(0x19d)]=void 0x0,this[_0x426713(0x19f)]=_0x50c894(_0x43d55f[_0x426713(0x199)][_0x426713(0x1a0)](_0x426713(0x1ac))||[]),this[_0x426713(0x1aa)]({'isActive':!0x1});}[_0x51204e(0x1a6)](){const _0x5ed91d=_0x51204e,_0x235ce0=this[_0x5ed91d(0x191)][_0x5ed91d(0x194)][_0x5ed91d(0x197)][_0x5ed91d(0x198)][_0x5ed91d(0x1a7)]();this[_0x5ed91d(0x18f)]=this[_0x5ed91d(0x19f)](_0x235ce0);}[_0x51204e(0x1a1)](){const _0x3a0e0f=_0x51204e;this[_0x3a0e0f(0x19d)]&&(this[_0x3a0e0f(0x190)](_0x3a0e0f(0x1ab)),this[_0x3a0e0f(0x19d)]=void 0x0);const _0x2a8230=this[_0x3a0e0f(0x191)][_0x3a0e0f(0x194)][_0x3a0e0f(0x197)][_0x3a0e0f(0x198)][_0x3a0e0f(0x1a7)]();_0x2a8230&&(_0x2a8230['is'](_0x3a0e0f(0x192),_0x3a0e0f(0x193))||_0x2a8230['is'](_0x3a0e0f(0x192),_0x3a0e0f(0x1ad)))&&(this[_0x3a0e0f(0x19d)]=new _0x164bd8(this[_0x3a0e0f(0x191)],this[_0x3a0e0f(0x191)][_0x3a0e0f(0x19a)][_0x3a0e0f(0x1a0)](_0x17e17a),_0x2a8230),this[_0x3a0e0f(0x1a5)](_0x3a0e0f(0x1ab))['to'](this[_0x3a0e0f(0x19d)],_0x3a0e0f(0x1ab)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x192114=_0xc3a2;(function(_0x2b55b3,_0x492bfc){const _0x4922ac=_0xc3a2,_0x4ab30d=_0x2b55b3();while(!![]){try{const _0x47f4f9=parseInt(_0x4922ac(0xee))/0x1*(-parseInt(_0x4922ac(0xe5))/0x2)+-parseInt(_0x4922ac(0xec))/0x3*(parseInt(_0x4922ac(0xdf))/0x4)+-parseInt(_0x4922ac(0xf1))/0x5*(-parseInt(_0x4922ac(0xe8))/0x6)+-parseInt(_0x4922ac(0xdc))/0x7*(parseInt(_0x4922ac(0xda))/0x8)+parseInt(_0x4922ac(0xef))/0x9+parseInt(_0x4922ac(0xeb))/0xa*(parseInt(_0x4922ac(0xe1))/0xb)+-parseInt(_0x4922ac(0xe0))/0xc*(-parseInt(_0x4922ac(0xdb))/0xd);if(_0x47f4f9===_0x492bfc)break;else _0x4ab30d['push'](_0x4ab30d['shift']());}catch(_0x6c2c4c){_0x4ab30d['push'](_0x4ab30d['shift']());}}}(_0x360b,0x53270));import{Plugin as _0x4fa8a7}from'ckeditor5/src/core.js';import{Notification as _0x1487ab}from'ckeditor5/src/ui.js';function _0x360b(){const _0x5c5200=['pluginName','add','16GbKhCM','984612zDXbWd','44DEWbyD','uploadcareImageEdit','init','UploadcareImageEditEditing','230LpkUhx','requires','ImageUtils','36CpJmnX','isOfficialPlugin','ImageEditing','143630fwsqeu','197160oJsSWE','commands','4931NPaInV','5657481vwsncn','uploadcareImageReplace','104565vyCYKW','isPremiumPlugin','1722872tCDQyc','91adgPoi','7jtWaQh'];_0x360b=function(){return _0x5c5200;};return _0x360b();}import{UploadcareImageEditCommand as _0x3fea0a}from'./uploadcareimageeditcommand.js';function _0xc3a2(_0x677037,_0x512aaf){const _0x360b52=_0x360b();return _0xc3a2=function(_0xc3a2ad,_0x1e0cd5){_0xc3a2ad=_0xc3a2ad-0xd9;let _0x9cea47=_0x360b52[_0xc3a2ad];return _0x9cea47;},_0xc3a2(_0x677037,_0x512aaf);}import{UploadcareImageReplaceCommand as _0x569615}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x14c648}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4fa8a7{static get[_0x192114(0xdd)](){const _0x53a5e5=_0x192114;return _0x53a5e5(0xe4);}static get[_0x192114(0xe6)](){const _0x215085=_0x192114;return[_0x14c648,_0x1487ab,_0x215085(0xe7),_0x215085(0xea)];}static get[_0x192114(0xe9)](){return!0x0;}static get[_0x192114(0xd9)](){return!0x0;}[_0x192114(0xe3)](){const _0x4e9b0c=_0x192114,{editor:_0x3a1a1e}=this;_0x3a1a1e[_0x4e9b0c(0xed)][_0x4e9b0c(0xde)](_0x4e9b0c(0xe2),new _0x3fea0a(_0x3a1a1e)),_0x3a1a1e[_0x4e9b0c(0xed)][_0x4e9b0c(0xde)](_0x4e9b0c(0xf0),new _0x569615(_0x3a1a1e));}}
23
+ const _0x28ccbf=_0x3d83;(function(_0x1b2843,_0x1317ce){const _0x34716c=_0x3d83,_0x249108=_0x1b2843();while(!![]){try{const _0x12499f=parseInt(_0x34716c(0x1ce))/0x1*(-parseInt(_0x34716c(0x1dd))/0x2)+parseInt(_0x34716c(0x1cf))/0x3*(-parseInt(_0x34716c(0x1cd))/0x4)+-parseInt(_0x34716c(0x1d8))/0x5+-parseInt(_0x34716c(0x1da))/0x6+-parseInt(_0x34716c(0x1d7))/0x7+parseInt(_0x34716c(0x1db))/0x8*(-parseInt(_0x34716c(0x1df))/0x9)+parseInt(_0x34716c(0x1d1))/0xa;if(_0x12499f===_0x1317ce)break;else _0x249108['push'](_0x249108['shift']());}catch(_0x2d4f00){_0x249108['push'](_0x249108['shift']());}}}(_0x95f6,0x43aa4));import{Plugin as _0x21dabd}from'ckeditor5/src/core.js';import{Notification as _0x33cf2a}from'ckeditor5/src/ui.js';function _0x3d83(_0x3917e6,_0x262848){const _0x95f66b=_0x95f6();return _0x3d83=function(_0x3d833f,_0x2d57f9){_0x3d833f=_0x3d833f-0x1cc;let _0x422b07=_0x95f66b[_0x3d833f];return _0x422b07;},_0x3d83(_0x3917e6,_0x262848);}import{UploadcareImageEditCommand as _0x2cd1c7}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x849053}from'./uploadcareimagereplacecommand.js';function _0x95f6(){const _0x3a1c67=['init','ImageEditing','isPremiumPlugin','add','414974JSFadg','1687695qnUyNH','commands','2567232MBDlVL','5888zRZbJu','pluginName','818UTnguK','uploadcareImageEdit','1872itpjIt','ImageUtils','isOfficialPlugin','requires','690464nOXEOs','1336WeSwcq','6FjpRqM','UploadcareImageEditEditing','21465930pLcgSR','uploadcareImageReplace'];_0x95f6=function(){return _0x3a1c67;};return _0x95f6();}import{UploadcareEditing as _0x36793d}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x21dabd{static get[_0x28ccbf(0x1dc)](){const _0x25cdfb=_0x28ccbf;return _0x25cdfb(0x1d0);}static get[_0x28ccbf(0x1cc)](){const _0x3518c4=_0x28ccbf;return[_0x36793d,_0x33cf2a,_0x3518c4(0x1e0),_0x3518c4(0x1d4)];}static get[_0x28ccbf(0x1e1)](){return!0x0;}static get[_0x28ccbf(0x1d5)](){return!0x0;}[_0x28ccbf(0x1d3)](){const _0x3b2ded=_0x28ccbf,{editor:_0x49b93d}=this;_0x49b93d[_0x3b2ded(0x1d9)][_0x3b2ded(0x1d6)](_0x3b2ded(0x1de),new _0x2cd1c7(_0x49b93d)),_0x49b93d[_0x3b2ded(0x1d9)][_0x3b2ded(0x1d6)](_0x3b2ded(0x1d2),new _0x849053(_0x49b93d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x107d5b}from'ckeditor5/src/core.js';import{ButtonView as _0x268dee}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2e7462}from'ckeditor5/src/icons.js';import{createElement as _0x3432ba}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 _0x107d5b{['_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 _0x137869=this['editor'];_0x137869['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5d7fdd=>{const _0x5c6a4b=_0x137869['commands']['get']('uploadcareImageEdit'),_0x2a5bd1=new _0x268dee(_0x5d7fdd),t=_0x5d7fdd['t'];return _0x2a5bd1['set']({'icon':_0x2e7462,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2a5bd1['bind']('isEnabled')['to'](_0x5c6a4b),_0x2a5bd1['bind']('isOn')['to'](_0x5c6a4b,'isActive'),this['listenTo'](_0x2a5bd1,'execute',()=>{_0x137869['execute']('uploadcareImageEdit'),_0x137869['editing']['view']['focus']();}),_0x2a5bd1;}),this['_initConfig']();}['_initConfig'](){const _0x56c193=_0x3432ba(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56c193),this['listenTo'](this['editor'],'destroy',()=>{_0x56c193['remove']();});}}
23
+ import{Plugin as _0x111a0e}from'ckeditor5/src/core.js';import{ButtonView as _0x607071}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2c8d99}from'ckeditor5/src/icons.js';import{createElement as _0x477578}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 _0x111a0e{['_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 _0x3f71db=this['editor'];_0x3f71db['ui']['componentFactory']['add']('uploadcareImageEdit',_0xea2990=>{const _0x2bb2f5=_0x3f71db['commands']['get']('uploadcareImageEdit'),_0x47c530=new _0x607071(_0xea2990),t=_0xea2990['t'];return _0x47c530['set']({'icon':_0x2c8d99,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x47c530['bind']('isEnabled')['to'](_0x2bb2f5),_0x47c530['bind']('isOn')['to'](_0x2bb2f5,'isActive'),this['listenTo'](_0x47c530,'execute',()=>{_0x3f71db['execute']('uploadcareImageEdit'),_0x3f71db['editing']['view']['focus']();}),_0x47c530;}),this['_initConfig']();}['_initConfig'](){const _0x56134a=_0x477578(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56134a),this['listenTo'](this['editor'],'destroy',()=>{_0x56134a['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1158(_0x1df9b3,_0x59af88){const _0x394e0a=_0x394e();return _0x1158=function(_0x11586e,_0x141f5c){_0x11586e=_0x11586e-0x1bd;let _0x38f063=_0x394e0a[_0x11586e];return _0x38f063;},_0x1158(_0x1df9b3,_0x59af88);}const _0x2f6c9b=_0x1158;(function(_0x2c99f4,_0xeba576){const _0x5d6eeb=_0x1158,_0x5ed4c6=_0x2c99f4();while(!![]){try{const _0x27ca50=parseInt(_0x5d6eeb(0x1ce))/0x1+-parseInt(_0x5d6eeb(0x1cc))/0x2+parseInt(_0x5d6eeb(0x1bd))/0x3*(-parseInt(_0x5d6eeb(0x1bf))/0x4)+parseInt(_0x5d6eeb(0x1cd))/0x5+-parseInt(_0x5d6eeb(0x1d0))/0x6+-parseInt(_0x5d6eeb(0x1c2))/0x7*(parseInt(_0x5d6eeb(0x1d1))/0x8)+parseInt(_0x5d6eeb(0x1be))/0x9;if(_0x27ca50===_0xeba576)break;else _0x5ed4c6['push'](_0x5ed4c6['shift']());}catch(_0x3d26db){_0x5ed4c6['push'](_0x5ed4c6['shift']());}}}(_0x394e,0x26c3f));function _0x394e(){const _0x5b4ab6=['model','editor','579dwiaml','1473075pjnWtb','428zxLbOU','imageBlock','document','2275EMMoBY','isEnabled','removeAttribute','change','element','selection','sizes','execute','getSelectedElement','srcset','196232gSRaYR','1088140xVFofs','152560HHONPi','refresh','1188828pmCmAq','1432ixwYSu','setAttributes','imageInline'];_0x394e=function(){return _0x5b4ab6;};return _0x394e();}import{Command as _0x4d1f20}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4d1f20{[_0x2f6c9b(0x1cf)](){const _0x45e50b=_0x2f6c9b,_0x3b18b1=this[_0x45e50b(0x1d5)][_0x45e50b(0x1d4)][_0x45e50b(0x1c1)][_0x45e50b(0x1c7)][_0x45e50b(0x1ca)]();this[_0x45e50b(0x1c3)]=Boolean(_0x3b18b1&&(_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1c0))||_0x3b18b1['is'](_0x45e50b(0x1c6),_0x45e50b(0x1d3))));}[_0x2f6c9b(0x1c9)](_0x3049f6){const _0x22152d=_0x2f6c9b,_0x423442=this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c1)][_0x22152d(0x1c7)][_0x22152d(0x1ca)]();this[_0x22152d(0x1d5)][_0x22152d(0x1d4)][_0x22152d(0x1c5)](_0x413ce9=>{const _0x33c67d=_0x22152d;_0x413ce9[_0x33c67d(0x1d2)](_0x3049f6,_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1cb),_0x423442),_0x413ce9[_0x33c67d(0x1c4)](_0x33c67d(0x1c8),_0x423442);});}}
23
+ const _0x58d0d2=_0x2ad6;function _0x2bbb(){const _0x57f77d=['1NLpoRy','change','execute','refresh','441gDRSJY','55tbdIiM','srcset','editor','1804737mSzRqP','element','document','setAttributes','removeAttribute','imageBlock','isEnabled','8419365igcJkq','imageInline','169304uomDVq','model','1131202rszYjk','115455iXtchn','getSelectedElement','324VzDrbp','2902620OaQkSo','936580dXejIT','sizes','selection'];_0x2bbb=function(){return _0x57f77d;};return _0x2bbb();}(function(_0x395098,_0x434b41){const _0x108851=_0x2ad6,_0x41e914=_0x395098();while(!![]){try{const _0x2f33e3=-parseInt(_0x108851(0xd2))/0x1*(parseInt(_0x108851(0xe5))/0x2)+-parseInt(_0x108851(0xda))/0x3+parseInt(_0x108851(0xce))/0x4+parseInt(_0x108851(0xcb))/0x5*(parseInt(_0x108851(0xcd))/0x6)+parseInt(_0x108851(0xd6))/0x7*(parseInt(_0x108851(0xe3))/0x8)+-parseInt(_0x108851(0xe1))/0x9+-parseInt(_0x108851(0xcf))/0xa*(parseInt(_0x108851(0xd7))/0xb);if(_0x2f33e3===_0x434b41)break;else _0x41e914['push'](_0x41e914['shift']());}catch(_0xcb30c6){_0x41e914['push'](_0x41e914['shift']());}}}(_0x2bbb,0xb36a3));function _0x2ad6(_0x484847,_0x179438){const _0x2bbbca=_0x2bbb();return _0x2ad6=function(_0x2ad640,_0x165df8){_0x2ad640=_0x2ad640-0xcb;let _0x553201=_0x2bbbca[_0x2ad640];return _0x553201;},_0x2ad6(_0x484847,_0x179438);}import{Command as _0x46c0b4}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x46c0b4{[_0x58d0d2(0xd5)](){const _0x1e58c6=_0x58d0d2,_0xfe85dd=this[_0x1e58c6(0xd9)][_0x1e58c6(0xe4)][_0x1e58c6(0xdc)][_0x1e58c6(0xd1)][_0x1e58c6(0xcc)]();this[_0x1e58c6(0xe0)]=Boolean(_0xfe85dd&&(_0xfe85dd['is'](_0x1e58c6(0xdb),_0x1e58c6(0xdf))||_0xfe85dd['is'](_0x1e58c6(0xdb),_0x1e58c6(0xe2))));}[_0x58d0d2(0xd4)](_0x360c04){const _0x758cc0=_0x58d0d2,_0x1c1d6d=this[_0x758cc0(0xd9)][_0x758cc0(0xe4)][_0x758cc0(0xdc)][_0x758cc0(0xd1)][_0x758cc0(0xcc)]();this[_0x758cc0(0xd9)][_0x758cc0(0xe4)][_0x758cc0(0xd3)](_0x47dcaa=>{const _0x55f8be=_0x758cc0;_0x47dcaa[_0x55f8be(0xdd)](_0x360c04,_0x1c1d6d),_0x47dcaa[_0x55f8be(0xde)](_0x55f8be(0xd8),_0x1c1d6d),_0x47dcaa[_0x55f8be(0xde)](_0x55f8be(0xd0),_0x1c1d6d);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bf0(_0x434b02,_0x19cb88){var _0x45a24a=_0x45a2();return _0x1bf0=function(_0x1bf0b5,_0x58225b){_0x1bf0b5=_0x1bf0b5-0x1ed;var _0x3b45aa=_0x45a24a[_0x1bf0b5];return _0x3b45aa;},_0x1bf0(_0x434b02,_0x19cb88);}var _0x5d7a56=_0x1bf0;(function(_0x364348,_0x5129c9){var _0x1e6e10=_0x1bf0,_0x293509=_0x364348();while(!![]){try{var _0x517346=-parseInt(_0x1e6e10(0x1f5))/0x1+-parseInt(_0x1e6e10(0x1fc))/0x2*(parseInt(_0x1e6e10(0x1fd))/0x3)+-parseInt(_0x1e6e10(0x1f3))/0x4*(-parseInt(_0x1e6e10(0x1f1))/0x5)+parseInt(_0x1e6e10(0x1ed))/0x6*(-parseInt(_0x1e6e10(0x1f4))/0x7)+-parseInt(_0x1e6e10(0x1f7))/0x8*(parseInt(_0x1e6e10(0x1fa))/0x9)+-parseInt(_0x1e6e10(0x1f6))/0xa*(-parseInt(_0x1e6e10(0x1f0))/0xb)+parseInt(_0x1e6e10(0x1f8))/0xc;if(_0x517346===_0x5129c9)break;else _0x293509['push'](_0x293509['shift']());}catch(_0x26f532){_0x293509['push'](_0x293509['shift']());}}}(_0x45a2,0xea237));import{Plugin as _0x2ade88}from'ckeditor5/src/core.js';function _0x45a2(){var _0x275837=['24SmESZI','67805088JTLtDj','UploadcareImageEdit','3362598XrMlvm','pluginName','1302514fJGFhp','3fyXZjx','2139774BrfoTt','requires','isOfficialPlugin','176qCtuzN','451795EsAdvz','isPremiumPlugin','16eqpJEZ','35MIYvzF','1802553bFXlvU','190620WhmBZJ'];_0x45a2=function(){return _0x275837;};return _0x45a2();}import{UploadcareImageEditEditing as _0x4fb9f0}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2e5073}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2ade88{static get[_0x5d7a56(0x1fb)](){var _0x2cc5bf=_0x5d7a56;return _0x2cc5bf(0x1f9);}static get[_0x5d7a56(0x1ee)](){return[_0x4fb9f0,_0x2e5073];}static get[_0x5d7a56(0x1ef)](){return!0x0;}static get[_0x5d7a56(0x1f2)](){return!0x0;}}
23
+ var _0x10ecc3=_0x5d5f;(function(_0x24cec3,_0x554ce1){var _0x4f0222=_0x5d5f,_0x2a72f2=_0x24cec3();while(!![]){try{var _0x3fb24d=-parseInt(_0x4f0222(0x11c))/0x1+parseInt(_0x4f0222(0x125))/0x2*(-parseInt(_0x4f0222(0x11b))/0x3)+-parseInt(_0x4f0222(0x11f))/0x4*(parseInt(_0x4f0222(0x119))/0x5)+-parseInt(_0x4f0222(0x128))/0x6+parseInt(_0x4f0222(0x11d))/0x7+-parseInt(_0x4f0222(0x127))/0x8*(-parseInt(_0x4f0222(0x126))/0x9)+parseInt(_0x4f0222(0x11a))/0xa*(parseInt(_0x4f0222(0x124))/0xb);if(_0x3fb24d===_0x554ce1)break;else _0x2a72f2['push'](_0x2a72f2['shift']());}catch(_0x31758d){_0x2a72f2['push'](_0x2a72f2['shift']());}}}(_0x79a4,0x3325f));import{Plugin as _0x4297fd}from'ckeditor5/src/core.js';function _0x5d5f(_0x2a98ba,_0x9653ed){var _0x79a499=_0x79a4();return _0x5d5f=function(_0x5d5f4d,_0x29b11c){_0x5d5f4d=_0x5d5f4d-0x119;var _0x41de3a=_0x79a499[_0x5d5f4d];return _0x41de3a;},_0x5d5f(_0x2a98ba,_0x9653ed);}function _0x79a4(){var _0x334584=['isPremiumPlugin','isOfficialPlugin','10063438TJYdTw','11450bgYQZt','275841klESxL','64PLdgkB','1054392TEhpdg','1270725nubDAY','10uJhcND','93nWnifk','345499uhbZug','16128NpGIfB','pluginName','4IYCPir','UploadcareImageEdit','requires'];_0x79a4=function(){return _0x334584;};return _0x79a4();}import{UploadcareImageEditEditing as _0x48d061}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x378b89}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x4297fd{static get[_0x10ecc3(0x11e)](){var _0xdb74b9=_0x10ecc3;return _0xdb74b9(0x120);}static get[_0x10ecc3(0x121)](){return[_0x48d061,_0x378b89];}static get[_0x10ecc3(0x123)](){return!0x0;}static get[_0x10ecc3(0x122)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34eaab=_0x14e9;function _0x14e9(_0x40f203,_0x5ae9e0){const _0x5423de=_0x5423();return _0x14e9=function(_0x14e92e,_0x277457){_0x14e92e=_0x14e92e-0x18c;let _0x2604e0=_0x5423de[_0x14e92e];return _0x2604e0;},_0x14e9(_0x40f203,_0x5ae9e0);}(function(_0xc2c2ec,_0x48d804){const _0x3ed6e6=_0x14e9,_0x4cd8f8=_0xc2c2ec();while(!![]){try{const _0x57b0a4=parseInt(_0x3ed6e6(0x1a5))/0x1+parseInt(_0x3ed6e6(0x1c9))/0x2*(-parseInt(_0x3ed6e6(0x1d6))/0x3)+parseInt(_0x3ed6e6(0x19e))/0x4*(parseInt(_0x3ed6e6(0x18d))/0x5)+-parseInt(_0x3ed6e6(0x1b2))/0x6*(parseInt(_0x3ed6e6(0x1cc))/0x7)+parseInt(_0x3ed6e6(0x197))/0x8*(-parseInt(_0x3ed6e6(0x1d1))/0x9)+-parseInt(_0x3ed6e6(0x1d2))/0xa*(-parseInt(_0x3ed6e6(0x1b1))/0xb)+parseInt(_0x3ed6e6(0x1a8))/0xc*(parseInt(_0x3ed6e6(0x19d))/0xd);if(_0x57b0a4===_0x48d804)break;else _0x4cd8f8['push'](_0x4cd8f8['shift']());}catch(_0x3f684a){_0x4cd8f8['push'](_0x4cd8f8['shift']());}}}(_0x5423,0xaae42));function _0x5423(){const _0x1f6a80=['evaluationLimit','reduce','uploadcareLicenseKeyInvalid','registerIntegration','UploadcareUI','ImageInsertUI','_licenseKeyCheckInterval','bind','_createMenuBarButtons','pluginName','Replace','2Gjuwqc','_createToolbarButton','uploadcareLicenseKeyValid','3290HeWCFn','url','_getIntegrationKey','uploadcareLicenseKeyUsageLimit','shortText','9ANnmJw','90OnPwov','map','execute','_showLicenseError','2510409usqKhA','forEach','_createButton','config','entries','uploadcare','push','GDrive','text','35ltovFG','usageLimit','init','tooltip','domainLimit','afterInit','uploadcareLicenseKeyNotAllowed','isEnabled','Facebook','upload','7454584CInccC','plugins','uploadcareLicenseKeyEvaluationLimit','Insert','commands','isPremiumPlugin','1937eQeqVd','241876BgeHSR','editor','locale','type','has','get','destroy','910279bUOBVj','Uploadcare','Dropbox','77076vsSDUH','OneDrive','isOfficialPlugin','uploadcare.uploader.sourceList','withText','GPhotos','invalid','isImageSelected','Local','441023qAoaVY','2334lJfAMD','expired','uploadcareLicenseKeyDomainLimit','licenseKey','icon','URL','_createDropdownButtons','label','_normalizeConfigSourceList','assetManager','uploadcareLicenseKeyExpired','featureNotAllowed'];_0x5423=function(){return _0x1f6a80;};return _0x5423();}import{Plugin as _0x5b5fc6}from'ckeditor5/src/core.js';import{IconDropbox as _0x519923,IconFacebook as _0x416ae3,IconGoogleDrive as _0x50a966,IconGooglePhotos as _0x5b9657,IconUploadcareImageUpload as _0x204f33,IconUploadcareLink as _0x540f18,IconOneDrive as _0x218def}from'ckeditor5/src/icons.js';import{ButtonView as _0x57a467,MenuBarMenuListItemButtonView as _0x132c51}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2d6c8b}from'./uploadcareconfig.js';import{getTranslation as _0x20d536}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 _0x5b5fc6{[_0x34eaab(0x1b5)];[_0x34eaab(0x1c4)];static get[_0x34eaab(0x1c7)](){const _0x286ade=_0x34eaab;return _0x286ade(0x1c2);}static get[_0x34eaab(0x1aa)](){return!0x0;}static get[_0x34eaab(0x19c)](){return!0x0;}[_0x34eaab(0x18f)](){const _0x4cb87d=_0x34eaab;this[_0x4cb87d(0x1b5)]=this[_0x4cb87d(0x19f)][_0x4cb87d(0x1d9)][_0x4cb87d(0x1a3)](_0x4cb87d(0x1b5));const _0x503480=this[_0x4cb87d(0x19f)];this[_0x4cb87d(0x1c4)]=setInterval(()=>{const _0x57a975=_0x4cb87d;let _0x36046c;for(const _0x2dcaa6 in _0x503480){const _0x188460=_0x2dcaa6,_0x34eaa4=_0x503480[_0x188460];if(_0x57a975(0x1cb)==_0x34eaa4||_0x57a975(0x1c0)==_0x34eaa4||_0x57a975(0x1bc)==_0x34eaa4||_0x57a975(0x1b4)==_0x34eaa4||_0x57a975(0x193)==_0x34eaa4||_0x57a975(0x199)==_0x34eaa4||_0x57a975(0x1cf)==_0x34eaa4){delete _0x503480[_0x188460],_0x36046c=_0x34eaa4,clearInterval(this[_0x57a975(0x1c4)]),this[_0x57a975(0x1c4)]=void 0x0;break;}}_0x57a975(0x1c0)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1ae)),_0x57a975(0x1bc)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1b3)),_0x57a975(0x1b4)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x191)),_0x57a975(0x193)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1bd),_0x57a975(0x1a6)),_0x57a975(0x199)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x1be)),_0x57a975(0x1cf)==_0x36046c&&_0x503480[_0x57a975(0x1d5)](_0x57a975(0x18e));},0x3e8);}[_0x34eaab(0x192)](){const _0x297969=_0x34eaab,{editor:_0xb2489d}=this,_0x40ff88=_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db));if(!_0x40ff88)return;const _0x1c426a=this[_0x297969(0x1ba)](_0xb2489d[_0x297969(0x1d9)][_0x297969(0x1a3)](_0x297969(0x1ab)))[_0x297969(0x1bf)]((_0x5d795e,_0x2ee85f)=>{const _0x55a8c4=_0x297969,_0x2a156f=this[_0x55a8c4(0x1ce)](_0x2ee85f[_0x55a8c4(0x1a1)]);return _0x5d795e[_0x2a156f]||(_0x5d795e[_0x2a156f]=[]),_0x5d795e[_0x2a156f][_0x55a8c4(0x1dc)](_0x2ee85f),_0x5d795e;},{});_0xb2489d[_0x297969(0x198)][_0x297969(0x1a2)](_0x297969(0x1c3))&&_0xb2489d[_0x297969(0x19b)][_0x297969(0x1a3)](_0x297969(0x1db))&&Object[_0x297969(0x1da)](_0x1c426a)[_0x297969(0x1d7)](([_0x2982a9,_0x315865])=>{const _0x1ebb43=_0x297969;_0xb2489d[_0x1ebb43(0x198)][_0x1ebb43(0x1a3)](_0x1ebb43(0x1c3))[_0x1ebb43(0x1c1)]({'name':_0x2982a9,'observable':()=>_0x40ff88,'buttonViewCreator':()=>this[_0x1ebb43(0x1ca)](_0x315865),'formViewCreator':()=>this[_0x1ebb43(0x1b8)](_0x315865),'menuBarButtonViewCreator':()=>this[_0x1ebb43(0x1c6)](_0x315865),'override':_0x1ebb43(0x1bb)!==_0x2982a9});});}[_0x34eaab(0x1a4)](){const _0x4a1966=_0x34eaab;super[_0x4a1966(0x1a4)](),this[_0x4a1966(0x1c4)]&&clearInterval(this[_0x4a1966(0x1c4)]);}[_0x34eaab(0x1ba)](_0x494e32){const _0x2817f2=_0x34eaab,{locale:_0xa1b3cd}=this[_0x2817f2(0x19f)];return _0x494e32[_0x2817f2(0x1d3)](_0xa6eb6e=>{const _0x4edf26=_0x2817f2,_0x21363c=_0x20d536(_0xa1b3cd,_0xa6eb6e,_0x4edf26(0x19a));switch(_0xa6eb6e){case _0x2d6c8b[_0x4edf26(0x1b0)]:return{'icon':_0x204f33,'type':_0x2d6c8b[_0x4edf26(0x1b0)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1b7)]:return{'icon':_0x540f18,'type':_0x2d6c8b[_0x4edf26(0x1b7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a7)]:return{'icon':_0x519923,'type':_0x2d6c8b[_0x4edf26(0x1a7)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x195)]:return{'icon':_0x416ae3,'type':_0x2d6c8b[_0x4edf26(0x195)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1dd)]:return{'icon':_0x50a966,'type':_0x2d6c8b[_0x4edf26(0x1dd)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1ad)]:return{'icon':_0x5b9657,'type':_0x2d6c8b[_0x4edf26(0x1ad)],..._0x21363c};case _0x2d6c8b[_0x4edf26(0x1a9)]:return{'icon':_0x218def,'type':_0x2d6c8b[_0x4edf26(0x1a9)],..._0x21363c};}});}[_0x34eaab(0x1ce)](_0x4d77fd){const _0x3bfe9c=_0x34eaab;switch(_0x4d77fd){case _0x2d6c8b[_0x3bfe9c(0x1b0)]:return _0x3bfe9c(0x196);case _0x2d6c8b[_0x3bfe9c(0x1b7)]:return _0x3bfe9c(0x1cd);default:return _0x3bfe9c(0x1bb);}}[_0x34eaab(0x1d8)](_0x368334,_0x207c66){const _0x3af681=_0x34eaab,_0x3d9f64=this[_0x3af681(0x19f)],_0x24bbc0=new _0x368334(_0x3d9f64[_0x3af681(0x1a0)]),_0x411ed7=_0x3d9f64[_0x3af681(0x19b)][_0x3af681(0x1a3)](_0x3af681(0x1db));return _0x24bbc0[_0x3af681(0x1c5)](_0x3af681(0x194))['to'](_0x411ed7),_0x24bbc0['on'](_0x3af681(0x1d4),()=>{const _0x4447d2=_0x3af681;_0x411ed7[_0x4447d2(0x1d4)](_0x207c66);}),_0x24bbc0;}[_0x34eaab(0x1ca)](_0x122a29){const _0x3d6f7e=_0x34eaab,{locale:_0x5d9342}=this[_0x3d6f7e(0x19f)],_0xeed83b=this[_0x3d6f7e(0x19f)][_0x3d6f7e(0x198)][_0x3d6f7e(0x1a3)](_0x3d6f7e(0x1c3)),_0x9525c9=_0x122a29[0x0],_0x943570=this[_0x3d6f7e(0x1d8)](_0x57a467,_0x9525c9[_0x3d6f7e(0x1a1)]);return _0x943570[_0x3d6f7e(0x1b6)]=_0x9525c9[_0x3d6f7e(0x1b6)],_0x943570[_0x3d6f7e(0x1c5)](_0x3d6f7e(0x1b9))['to'](_0xeed83b,_0x3d6f7e(0x1af),_0x4c2f49=>_0x20d536(_0x5d9342,_0x9525c9[_0x3d6f7e(0x1a1)],_0x4c2f49?_0x3d6f7e(0x1c8):_0x3d6f7e(0x19a))[_0x3d6f7e(0x18c)]),_0x943570[_0x3d6f7e(0x190)]=!0x0,_0x943570;}[_0x34eaab(0x1b8)](_0xa98cfb){const _0x333188=_0x34eaab,{locale:_0x75880f}=this[_0x333188(0x19f)],_0x34065e=this[_0x333188(0x19f)][_0x333188(0x198)][_0x333188(0x1a3)](_0x333188(0x1c3));return _0xa98cfb[_0x333188(0x1d3)](_0x1d823b=>{const _0x5d6e98=_0x333188,_0x49354c=this[_0x5d6e98(0x1d8)](_0x57a467,_0x1d823b[_0x5d6e98(0x1a1)]);return _0x49354c[_0x5d6e98(0x1ac)]=!0x0,_0x49354c[_0x5d6e98(0x1b6)]=_0x1d823b[_0x5d6e98(0x1b6)],_0x49354c[_0x5d6e98(0x1c5)](_0x5d6e98(0x1b9))['to'](_0x34065e,_0x5d6e98(0x1af),_0x595328=>_0x20d536(_0x75880f,_0x1d823b[_0x5d6e98(0x1a1)],_0x595328?_0x5d6e98(0x1c8):_0x5d6e98(0x19a))[_0x5d6e98(0x18c)]),_0x49354c;});}[_0x34eaab(0x1c6)](_0x1b4edf){const _0x82f671=_0x34eaab;return _0x1b4edf[_0x82f671(0x1d3)](_0x59128d=>{const _0x21ec6f=_0x82f671,_0x2cfadf=this[_0x21ec6f(0x1d8)](_0x132c51,_0x59128d[_0x21ec6f(0x1a1)]);return _0x2cfadf[_0x21ec6f(0x1b6)]=_0x59128d[_0x21ec6f(0x1b6)],_0x2cfadf[_0x21ec6f(0x1b9)]=_0x59128d[_0x21ec6f(0x1d0)],_0x2cfadf;});}}
23
+ function _0x36a9(){const _0x326b9c=['257649BzTSYu','label','4JDxBhY','33209Syhowz','usageLimit','editor','pluginName','_createMenuBarButtons','Facebook','Insert','icon','uploadcareLicenseKeyExpired','reduce','isPremiumPlugin','invalid','forEach','init','Local','uploadcareLicenseKeyDomainLimit','_createDropdownButtons','uploadcareLicenseKeyUsageLimit','OneDrive','isEnabled','tooltip','commands','uploadcareLicenseKeyValid','URL','42lFEPpx','479446nRGksI','featureNotAllowed','entries','upload','Replace','uploadcareLicenseKeyEvaluationLimit','1146132PULTds','uploadcare.uploader.sourceList','_createToolbarButton','destroy','_createButton','expired','Uploadcare','config','has','UploadcareUI','url','GPhotos','withText','uploadcareLicenseKeyNotAllowed','uploadcare','locale','map','push','316503FiyWgL','_normalizeConfigSourceList','isOfficialPlugin','_getIntegrationKey','888195Cceutm','evaluationLimit','afterInit','bind','type','execute','registerIntegration','get','_licenseKeyCheckInterval','1513384ZMVbzl','shortText','10TxPcnr','uploadcareLicenseKeyInvalid','GDrive','190qyAesB','licenseKey','assetManager','ImageInsertUI','Dropbox','text','plugins','isImageSelected','_showLicenseError','domainLimit'];_0x36a9=function(){return _0x326b9c;};return _0x36a9();}const _0x5aebc0=_0x5256;(function(_0x59cf45,_0x495ed3){const _0x172521=_0x5256,_0x3ccb47=_0x59cf45();while(!![]){try{const _0x21e7f4=parseInt(_0x172521(0x123))/0x1*(parseInt(_0x172521(0x113))/0x2)+-parseInt(_0x172521(0x104))/0x3+-parseInt(_0x172521(0x122))/0x4*(parseInt(_0x172521(0x108))/0x5)+-parseInt(_0x172521(0xeb))/0x6*(parseInt(_0x172521(0x120))/0x7)+-parseInt(_0x172521(0x111))/0x8+-parseInt(_0x172521(0xf2))/0x9+-parseInt(_0x172521(0x116))/0xa*(-parseInt(_0x172521(0xec))/0xb);if(_0x21e7f4===_0x495ed3)break;else _0x3ccb47['push'](_0x3ccb47['shift']());}catch(_0x18d63d){_0x3ccb47['push'](_0x3ccb47['shift']());}}}(_0x36a9,0x216a5));import{Plugin as _0x3e76d2}from'ckeditor5/src/core.js';import{IconDropbox as _0x368166,IconFacebook as _0x2f2923,IconGoogleDrive as _0x34db6d,IconGooglePhotos as _0x5e9c63,IconUploadcareImageUpload as _0x2a783a,IconUploadcareLink as _0x28bb66,IconOneDrive as _0x4bbcd4}from'ckeditor5/src/icons.js';import{ButtonView as _0x30af70,MenuBarMenuListItemButtonView as _0x359e24}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4911df}from'./uploadcareconfig.js';import{getTranslation as _0x2aaac6}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5256(_0x45e5eb,_0x3aec99){const _0x36a923=_0x36a9();return _0x5256=function(_0x525662,_0x386f5b){_0x525662=_0x525662-0xeb;let _0x2e9b7a=_0x36a923[_0x525662];return _0x2e9b7a;},_0x5256(_0x45e5eb,_0x3aec99);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3e76d2{[_0x5aebc0(0x117)];[_0x5aebc0(0x110)];static get[_0x5aebc0(0x126)](){const _0xf8084d=_0x5aebc0;return _0xf8084d(0xfb);}static get[_0x5aebc0(0x106)](){return!0x0;}static get[_0x5aebc0(0x12d)](){return!0x0;}[_0x5aebc0(0x130)](){const _0x50ebd0=_0x5aebc0;this[_0x50ebd0(0x117)]=this[_0x50ebd0(0x125)][_0x50ebd0(0xf9)][_0x50ebd0(0x10f)](_0x50ebd0(0x117));const _0xd6b5c1=this[_0x50ebd0(0x125)];this[_0x50ebd0(0x110)]=setInterval(()=>{const _0x431ef2=_0x50ebd0;let _0x3237bf;for(const _0x17912d in _0xd6b5c1){const _0x41c653=_0x17912d,_0x3a7369=_0xd6b5c1[_0x41c653];if(_0x431ef2(0x139)==_0x3a7369||_0x431ef2(0x114)==_0x3a7369||_0x431ef2(0x12b)==_0x3a7369||_0x431ef2(0x132)==_0x3a7369||_0x431ef2(0xff)==_0x3a7369||_0x431ef2(0xf1)==_0x3a7369||_0x431ef2(0x134)==_0x3a7369){delete _0xd6b5c1[_0x41c653],_0x3237bf=_0x3a7369,clearInterval(this[_0x431ef2(0x110)]),this[_0x431ef2(0x110)]=void 0x0;break;}}_0x431ef2(0x114)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x12e)),_0x431ef2(0x12b)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0xf7)),_0x431ef2(0x132)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x11f)),_0x431ef2(0xff)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0xed),_0x431ef2(0xf8)),_0x431ef2(0xf1)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x109)),_0x431ef2(0x134)==_0x3237bf&&_0xd6b5c1[_0x431ef2(0x11e)](_0x431ef2(0x124));},0x3e8);}[_0x5aebc0(0x10a)](){const _0x4a3ef9=_0x5aebc0,{editor:_0x4f99e8}=this,_0xaa1e12=_0x4f99e8[_0x4a3ef9(0x138)][_0x4a3ef9(0x10f)](_0x4a3ef9(0x100));if(!_0xaa1e12)return;const _0x67546a=this[_0x4a3ef9(0x105)](_0x4f99e8[_0x4a3ef9(0xf9)][_0x4a3ef9(0x10f)](_0x4a3ef9(0xf3)))[_0x4a3ef9(0x12c)]((_0x4781be,_0x3e2220)=>{const _0x4ada4c=_0x4a3ef9,_0x223fb1=this[_0x4ada4c(0x107)](_0x3e2220[_0x4ada4c(0x10c)]);return _0x4781be[_0x223fb1]||(_0x4781be[_0x223fb1]=[]),_0x4781be[_0x223fb1][_0x4ada4c(0x103)](_0x3e2220),_0x4781be;},{});_0x4f99e8[_0x4a3ef9(0x11c)][_0x4a3ef9(0xfa)](_0x4a3ef9(0x119))&&_0x4f99e8[_0x4a3ef9(0x138)][_0x4a3ef9(0x10f)](_0x4a3ef9(0x100))&&Object[_0x4a3ef9(0xee)](_0x67546a)[_0x4a3ef9(0x12f)](([_0x580829,_0x210852])=>{const _0x37f891=_0x4a3ef9;_0x4f99e8[_0x37f891(0x11c)][_0x37f891(0x10f)](_0x37f891(0x119))[_0x37f891(0x10e)]({'name':_0x580829,'observable':()=>_0xaa1e12,'buttonViewCreator':()=>this[_0x37f891(0xf4)](_0x210852),'formViewCreator':()=>this[_0x37f891(0x133)](_0x210852),'menuBarButtonViewCreator':()=>this[_0x37f891(0x127)](_0x210852),'override':_0x37f891(0x118)!==_0x580829});});}[_0x5aebc0(0xf5)](){const _0xbe7b90=_0x5aebc0;super[_0xbe7b90(0xf5)](),this[_0xbe7b90(0x110)]&&clearInterval(this[_0xbe7b90(0x110)]);}[_0x5aebc0(0x105)](_0x1c136e){const _0xdf74a=_0x5aebc0,{locale:_0x2f61f1}=this[_0xdf74a(0x125)];return _0x1c136e[_0xdf74a(0x102)](_0x4429ff=>{const _0x3c3962=_0xdf74a,_0x507733=_0x2aaac6(_0x2f61f1,_0x4429ff,_0x3c3962(0x129));switch(_0x4429ff){case _0x4911df[_0x3c3962(0x131)]:return{'icon':_0x2a783a,'type':_0x4911df[_0x3c3962(0x131)],..._0x507733};case _0x4911df[_0x3c3962(0x13a)]:return{'icon':_0x28bb66,'type':_0x4911df[_0x3c3962(0x13a)],..._0x507733};case _0x4911df[_0x3c3962(0x11a)]:return{'icon':_0x368166,'type':_0x4911df[_0x3c3962(0x11a)],..._0x507733};case _0x4911df[_0x3c3962(0x128)]:return{'icon':_0x2f2923,'type':_0x4911df[_0x3c3962(0x128)],..._0x507733};case _0x4911df[_0x3c3962(0x115)]:return{'icon':_0x34db6d,'type':_0x4911df[_0x3c3962(0x115)],..._0x507733};case _0x4911df[_0x3c3962(0xfd)]:return{'icon':_0x5e9c63,'type':_0x4911df[_0x3c3962(0xfd)],..._0x507733};case _0x4911df[_0x3c3962(0x135)]:return{'icon':_0x4bbcd4,'type':_0x4911df[_0x3c3962(0x135)],..._0x507733};}});}[_0x5aebc0(0x107)](_0x5bf8e8){const _0x2526ef=_0x5aebc0;switch(_0x5bf8e8){case _0x4911df[_0x2526ef(0x131)]:return _0x2526ef(0xef);case _0x4911df[_0x2526ef(0x13a)]:return _0x2526ef(0xfc);default:return _0x2526ef(0x118);}}[_0x5aebc0(0xf6)](_0x3ae5df,_0x5e76f7){const _0x43d9eb=_0x5aebc0,_0x50f58b=this[_0x43d9eb(0x125)],_0x28d568=new _0x3ae5df(_0x50f58b[_0x43d9eb(0x101)]),_0x5360ba=_0x50f58b[_0x43d9eb(0x138)][_0x43d9eb(0x10f)](_0x43d9eb(0x100));return _0x28d568[_0x43d9eb(0x10b)](_0x43d9eb(0x136))['to'](_0x5360ba),_0x28d568['on'](_0x43d9eb(0x10d),()=>{const _0x315ac4=_0x43d9eb;_0x5360ba[_0x315ac4(0x10d)](_0x5e76f7);}),_0x28d568;}[_0x5aebc0(0xf4)](_0x62c69e){const _0xa38043=_0x5aebc0,{locale:_0x54402d}=this[_0xa38043(0x125)],_0x4563e4=this[_0xa38043(0x125)][_0xa38043(0x11c)][_0xa38043(0x10f)](_0xa38043(0x119)),_0x8e0156=_0x62c69e[0x0],_0x2e9a03=this[_0xa38043(0xf6)](_0x30af70,_0x8e0156[_0xa38043(0x10c)]);return _0x2e9a03[_0xa38043(0x12a)]=_0x8e0156[_0xa38043(0x12a)],_0x2e9a03[_0xa38043(0x10b)](_0xa38043(0x121))['to'](_0x4563e4,_0xa38043(0x11d),_0x2321dd=>_0x2aaac6(_0x54402d,_0x8e0156[_0xa38043(0x10c)],_0x2321dd?_0xa38043(0xf0):_0xa38043(0x129))[_0xa38043(0x11b)]),_0x2e9a03[_0xa38043(0x137)]=!0x0,_0x2e9a03;}[_0x5aebc0(0x133)](_0x23367f){const _0x2bc869=_0x5aebc0,{locale:_0x3a31aa}=this[_0x2bc869(0x125)],_0x5b0961=this[_0x2bc869(0x125)][_0x2bc869(0x11c)][_0x2bc869(0x10f)](_0x2bc869(0x119));return _0x23367f[_0x2bc869(0x102)](_0x40b3e7=>{const _0x31729b=_0x2bc869,_0x4b2908=this[_0x31729b(0xf6)](_0x30af70,_0x40b3e7[_0x31729b(0x10c)]);return _0x4b2908[_0x31729b(0xfe)]=!0x0,_0x4b2908[_0x31729b(0x12a)]=_0x40b3e7[_0x31729b(0x12a)],_0x4b2908[_0x31729b(0x10b)](_0x31729b(0x121))['to'](_0x5b0961,_0x31729b(0x11d),_0x479f46=>_0x2aaac6(_0x3a31aa,_0x40b3e7[_0x31729b(0x10c)],_0x479f46?_0x31729b(0xf0):_0x31729b(0x129))[_0x31729b(0x11b)]),_0x4b2908;});}[_0x5aebc0(0x127)](_0x544b7b){const _0x25ce3c=_0x5aebc0;return _0x544b7b[_0x25ce3c(0x102)](_0x2bb90a=>{const _0x5d3cbc=_0x25ce3c,_0x1e6b0e=this[_0x5d3cbc(0xf6)](_0x359e24,_0x2bb90a[_0x5d3cbc(0x10c)]);return _0x1e6b0e[_0x5d3cbc(0x12a)]=_0x2bb90a[_0x5d3cbc(0x12a)],_0x1e6b0e[_0x5d3cbc(0x121)]=_0x2bb90a[_0x5d3cbc(0x112)],_0x1e6b0e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x53086d}from'ckeditor5/src/core.js';import{FileRepository as _0x309592}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4558ba}from'./uploadcareediting.js';import{UploadUtils as _0x3c7c4d}from'./utils/uploadutils.js';import{getImageUrls as _0x576466}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x53086d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x309592,_0x4558ba];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2a9cfe=this['editor'];if(!!!_0x2a9cfe['config']['get']('uploadcare'))return;_0x2a9cfe['plugins']['get'](_0x309592)['createUploadAdapter']=_0x28c22d=>new k(_0x28c22d,_0x2a9cfe),_0x2a9cfe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x168333,{imageElement:_0x2d2fed,data:_0x120de7})=>{_0x2a9cfe['model']['change'](_0x11c7e4=>{_0x11c7e4['setAttribute']('uploadcareImageId',_0x120de7['uploadcareImageId'],_0x2d2fed);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x427617,_0x56895f){this['loader']=_0x427617,this['editor']=_0x56895f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e236e=await this['loader']['file'];return _0x3c7c4d['upload']({'file':_0x3e236e,'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':_0x1e4a8a=>{_0x1e4a8a&&_0x1e4a8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1e4a8a['value']);}})['then'](async _0x45a99=>{const {imageFallbackUrl:_0x30349e,imageSources:_0x140e6d}=_0x576466(_0x45a99['cdnUrl'],_0x45a99['imageInfo']['width']);return{'uploadcareImageId':_0x45a99['uuid'],'default':_0x30349e,'sources':_0x140e6d};})['catch'](()=>{const _0x59c379=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e236e['name']+'.');return Promise['reject'](_0x59c379);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1a93e9}from'ckeditor5/src/core.js';import{FileRepository as _0x31b3b5}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1ca196}from'./uploadcareediting.js';import{UploadUtils as _0x2d40b4}from'./utils/uploadutils.js';import{getImageUrls as _0x2d714f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a93e9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31b3b5,_0x1ca196];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4463f2=this['editor'];if(!!!_0x4463f2['config']['get']('uploadcare'))return;_0x4463f2['plugins']['get'](_0x31b3b5)['createUploadAdapter']=_0x3189e8=>new k(_0x3189e8,_0x4463f2),_0x4463f2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x42db29,{imageElement:_0x3bd0d0,data:_0x313c4d})=>{_0x4463f2['model']['change'](_0x53eb04=>{_0x53eb04['setAttribute']('uploadcareImageId',_0x313c4d['uploadcareImageId'],_0x3bd0d0);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2cdbe8,_0x514731){this['loader']=_0x2cdbe8,this['editor']=_0x514731,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x527b34=await this['loader']['file'];return _0x2d40b4['upload']({'file':_0x527b34,'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':_0x413ad0=>{_0x413ad0&&_0x413ad0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x413ad0['value']);}})['then'](async _0x135b2b=>{const {imageFallbackUrl:_0x3c63fa,imageSources:_0x34fbd4}=_0x2d714f(_0x135b2b['cdnUrl'],_0x135b2b['imageInfo']['width']);return{'uploadcareImageId':_0x135b2b['uuid'],'default':_0x3c63fa,'sources':_0x34fbd4};})['catch'](()=>{const _0x29e5f8=t('Cannot\x20upload\x20file:')+('\x20'+_0x527b34['name']+'.');return Promise['reject'](_0x29e5f8);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x56d556}from'../uploadcareconfig.js';export function getTranslation(_0x154087,_0x1f1eb1,_0x5ef426){const t=_0x154087['t'],_0x485405=_0x154087['t'];switch(_0x1f1eb1){case _0x56d556['Local']:return{'text':_0x485405('Insert'===_0x5ef426?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x485405('From\x20computer')};case _0x56d556['URL']:return{'text':'Insert'===_0x5ef426?_0x485405('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x485405('Via\x20URL')};case _0x56d556['Dropbox']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x56d556['Facebook']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x56d556['GDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x56d556['GPhotos']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x56d556['OneDrive']:return{'text':t('Insert'===_0x5ef426?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1f1eb1;}}
23
+ import{UploadcareSource as _0x16992c}from'../uploadcareconfig.js';export function getTranslation(_0x485975,_0x6fbdbd,_0x4365d9){const t=_0x485975['t'],_0x276859=_0x485975['t'];switch(_0x6fbdbd){case _0x16992c['Local']:return{'text':_0x276859('Insert'===_0x4365d9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x276859('From\x20computer')};case _0x16992c['URL']:return{'text':'Insert'===_0x4365d9?_0x276859('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x276859('Via\x20URL')};case _0x16992c['Dropbox']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x16992c['Facebook']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x16992c['GDrive']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x16992c['GPhotos']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x16992c['OneDrive']:return{'text':t('Insert'===_0x4365d9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x6fbdbd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x49c577=_0x1e4b;(function(_0x32c578,_0x1632ee){var _0xca7101=_0x1e4b,_0x4b6deb=_0x32c578();while(!![]){try{var _0x161c0f=parseInt(_0xca7101(0xee))/0x1*(parseInt(_0xca7101(0xf0))/0x2)+parseInt(_0xca7101(0xed))/0x3+parseInt(_0xca7101(0xe9))/0x4+parseInt(_0xca7101(0xf4))/0x5+-parseInt(_0xca7101(0xef))/0x6+-parseInt(_0xca7101(0xea))/0x7+parseInt(_0xca7101(0xf1))/0x8;if(_0x161c0f===_0x1632ee)break;else _0x4b6deb['push'](_0x4b6deb['shift']());}catch(_0x3df1bd){_0x4b6deb['push'](_0x4b6deb['shift']());}}}(_0x5d37,0x3b8e2));import{FocusTracker as _0x50dc71}from'ckeditor5/src/utils.js';import{View as _0x4aad7a,FocusCycler as _0x58c2c8}from'ckeditor5/src/ui.js';function _0x1e4b(_0x166140,_0x4ddce5){var _0x5d371a=_0x5d37();return _0x1e4b=function(_0x1e4b49,_0x316ef1){_0x1e4b49=_0x1e4b49-0xe7;var _0x5b107c=_0x5d371a[_0x1e4b49];return _0x5b107c;},_0x1e4b(_0x166140,_0x4ddce5);}function _0x5d37(){var _0x2b0f8f=['98810LJkeTI','focusCycler','true','div','fire','focusTracker','884436rwQxga','1876287aiiIqp','forwardCycle','bindTemplate','796050pkkFNc','1YyzOPA','2836242DjEUxP','190006oBaVta','3067696TlzTJn','getFocusableElement','createCollection'];_0x5d37=function(){return _0x2b0f8f;};return _0x5d37();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4aad7a{[_0x49c577(0xe8)];[_0x49c577(0xf5)];constructor(_0x51e230){var _0x5bf78e=_0x49c577;super(_0x51e230),this[_0x5bf78e(0xe8)]=new _0x50dc71(),this[_0x5bf78e(0xf5)]=new _0x58c2c8({'focusables':this[_0x5bf78e(0xf3)](),'focusTracker':this[_0x5bf78e(0xe8)]});}[_0x49c577(0xf2)](){var _0x3a68e1=_0x49c577;return{'tag':_0x3a68e1(0xf7),'attributes':{'aria-hidden':_0x3a68e1(0xf6),'tabindex':'0'},'on':{'focus':this[_0x3a68e1(0xec)]['to'](()=>{var _0x3d0971=_0x3a68e1;this[_0x3d0971(0xf5)][_0x3d0971(0xe7)](_0x3d0971(0xeb));})}};}}
23
+ var _0xd25f2=_0x3749;(function(_0x29f554,_0x5953e7){var _0x286377=_0x3749,_0x53b1be=_0x29f554();while(!![]){try{var _0x563b0e=parseInt(_0x286377(0xff))/0x1*(parseInt(_0x286377(0xfa))/0x2)+parseInt(_0x286377(0xf1))/0x3*(-parseInt(_0x286377(0xf5))/0x4)+-parseInt(_0x286377(0xfd))/0x5*(-parseInt(_0x286377(0xf9))/0x6)+parseInt(_0x286377(0xfc))/0x7+-parseInt(_0x286377(0x102))/0x8*(-parseInt(_0x286377(0xf6))/0x9)+parseInt(_0x286377(0x101))/0xa*(parseInt(_0x286377(0xfe))/0xb)+-parseInt(_0x286377(0x104))/0xc*(parseInt(_0x286377(0xfb))/0xd);if(_0x563b0e===_0x5953e7)break;else _0x53b1be['push'](_0x53b1be['shift']());}catch(_0x1681c3){_0x53b1be['push'](_0x53b1be['shift']());}}}(_0x119a,0x5c7e7));import{FocusTracker as _0x51b17d}from'ckeditor5/src/utils.js';import{View as _0x3938e6,FocusCycler as _0x29ea6b}from'ckeditor5/src/ui.js';function _0x119a(){var _0x5600c8=['getFocusableElement','fire','512880Ercakz','div','forwardCycle','createCollection','4vVWsXo','27qspzCY','focusTracker','bindTemplate','30BUGyjD','438IsWBvk','52637LXMEDG','980763CvaEBS','137615xIWAob','7408577zvzZWD','1621mPdKhJ','true','10iETumP','822592qsxVcL','focusCycler','3156OdhqQn'];_0x119a=function(){return _0x5600c8;};return _0x119a();}import'../../theme/uploadcare-form.css';function _0x3749(_0x484056,_0x505e23){var _0x119adf=_0x119a();return _0x3749=function(_0x3749ee,_0x157f1a){_0x3749ee=_0x3749ee-0xef;var _0x57cbdd=_0x119adf[_0x3749ee];return _0x57cbdd;},_0x3749(_0x484056,_0x505e23);}export class DialogFocusManagerView extends _0x3938e6{[_0xd25f2(0xf7)];[_0xd25f2(0x103)];constructor(_0x2c4923){var _0x2d5b08=_0xd25f2;super(_0x2c4923),this[_0x2d5b08(0xf7)]=new _0x51b17d(),this[_0x2d5b08(0x103)]=new _0x29ea6b({'focusables':this[_0x2d5b08(0xf4)](),'focusTracker':this[_0x2d5b08(0xf7)]});}[_0xd25f2(0xef)](){var _0x1fa537=_0xd25f2;return{'tag':_0x1fa537(0xf2),'attributes':{'aria-hidden':_0x1fa537(0x100),'tabindex':'0'},'on':{'focus':this[_0x1fa537(0xf8)]['to'](()=>{var _0x2d1261=_0x1fa537;this[_0x2d1261(0x103)][_0x2d1261(0xf0)](_0x2d1261(0xf3));})}};}}