@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.14 → 44.2.0-alpha.15

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 (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31021d=_0x5e4b;(function(_0x24bd5a,_0x402cb4){const _0x56ec66=_0x5e4b,_0x14298d=_0x24bd5a();while(!![]){try{const _0x5a571c=parseInt(_0x56ec66(0x1d7))/0x1+-parseInt(_0x56ec66(0x1c0))/0x2+-parseInt(_0x56ec66(0x1e6))/0x3+parseInt(_0x56ec66(0x1b6))/0x4*(parseInt(_0x56ec66(0x1eb))/0x5)+-parseInt(_0x56ec66(0x1cd))/0x6+-parseInt(_0x56ec66(0x1b3))/0x7*(parseInt(_0x56ec66(0x1b4))/0x8)+parseInt(_0x56ec66(0x1db))/0x9;if(_0x5a571c===_0x402cb4)break;else _0x14298d['push'](_0x14298d['shift']());}catch(_0xcfcf09){_0x14298d['push'](_0x14298d['shift']());}}}(_0x4138,0xb47be));import{Plugin as _0x1a8372}from'ckeditor5/src/core.js';function _0x4138(){const _0x23cb48=['_initCtx','getAttribute','uploadcare','7NUeomU','8811736BJMqUV','editing','68564BivBKn','editor','querySelector','model','join','locale','ctxElement','_initConversion','for','_initConfig','233248NwJwbk','isRegistered','upcast','closeMax','replaceImageSource','elementToAttribute','render','destroy','uploadcare.uploader','requires','conversion','isPremiumPlugin','uc-upload-ctx-provider','5176716JQQcEj','insertImage','removeAttribute','uploadcareImageId','afterInit','view','downcast','extend','#uc-icon-arrow-down','pluginName','274191lhxKbo','map','once','_initSchema','18886140taaTrv','_configElement','href','true','data-uc-image-id','cleanupImage','isOfficialPlugin','configElement','getSelectedElement','_ctxElement','UploadcareEditing','663033VnKgDS','uc-config','\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','get','body','195poruFj','uploader','PictureEditing','schema','iconHrefResolver','uploadcare.pubkey','remove','appendChild','_initImageProcessingIndicator','fromCharCode','uploadcareImageReplace','commands','add','document','selection','attributeToAttribute','config','listenTo','imageBlock','input[uploadcare-file-input]','contentLanguage','execute','imageInline','init'];_0x4138=function(){return _0x23cb48;};return _0x4138();}import{Dialog as _0x448863}from'ckeditor5/src/ui.js';import{createElement as _0x1feb14,global as _0x6e05db,uid as _0x4e472e}from'ckeditor5/src/utils.js';import _0x1a5cae from'./uploadcarecommand.js';import _0x46154e from'./uploadcareuploadadapter.js';function _0x5e4b(_0x3015cf,_0x272e73){const _0x41385d=_0x4138();return _0x5e4b=function(_0x5e4bc4,_0x4a2524){_0x5e4bc4=_0x5e4bc4-0x1a2;let _0x4f32d6=_0x41385d[_0x5e4bc4];return _0x4f32d6;},_0x5e4b(_0x3015cf,_0x272e73);}import{showImageProcessingIndicator as _0x3c419e}from'./utils/editingutils.js';export default class i extends _0x1a8372{constructor(){const _0x33541b=_0x5e4b;super(...arguments),this[_0x33541b(0x1dc)]=null,this[_0x33541b(0x1e4)]=null;}static get[_0x31021d(0x1d6)](){const _0x1bdb7b=_0x31021d;return _0x1bdb7b(0x1e5);}static get[_0x31021d(0x1c9)](){const _0x445a11=_0x31021d;return[_0x445a11(0x1ed),_0x46154e,_0x448863];}static get[_0x31021d(0x1e1)](){return!0x0;}static get[_0x31021d(0x1cb)](){return!0x0;}get[_0x31021d(0x1e2)](){const _0x40ee73=_0x31021d;return this[_0x40ee73(0x1dc)];}get[_0x31021d(0x1bc)](){const _0x4185bc=_0x31021d;return this[_0x4185bc(0x1e4)];}[_0x31021d(0x1af)](){const _0x1e1244=_0x31021d,_0x3417b8=this[_0x1e1244(0x1b7)];_0x3417b8[_0x1e1244(0x1a3)][_0x1e1244(0x1a4)](_0x1e1244(0x1b2),new _0x1a5cae(_0x3417b8));}[_0x31021d(0x1d1)](){const _0x443fb8=_0x31021d;this[_0x443fb8(0x1da)](),this[_0x443fb8(0x1bd)](),this[_0x443fb8(0x1bf)](),this[_0x443fb8(0x1b0)](),this[_0x443fb8(0x1f3)](),this[_0x443fb8(0x1a9)](this[_0x443fb8(0x1b7)],_0x443fb8(0x1c7),()=>{const _0x3f1fa1=_0x443fb8;this[_0x3f1fa1(0x1dc)]&&(this[_0x3f1fa1(0x1dc)][_0x3f1fa1(0x1f1)](),this[_0x3f1fa1(0x1dc)]=null),this[_0x3f1fa1(0x1e4)]&&(this[_0x3f1fa1(0x1e4)][_0x3f1fa1(0x1f1)](),this[_0x3f1fa1(0x1e4)]=null);const _0x333048=_0x6e05db[_0x3f1fa1(0x1a5)][_0x3f1fa1(0x1b8)](_0x3f1fa1(0x1ab));_0x333048&&_0x333048[_0x3f1fa1(0x1f1)]();}),async function(_0x3180dc){const _0x5a74d9=_0x11f66d([0x48,0x73,0x34,0x4d,0x6b,0x67,0x45,0x46,0x77,0x32,0x39,0x70,0x33,0x76,0x6c,0x4f,0x57,0x79,0x75,0x5a,0x36,0x66,0x62,0x41,0x4a,0x72,0x6d,0x74,0x7a,0x71,0x78,0x6f,0x59,0x38,0x6a,0x30,0x31,0x6e,0x4e,0x56,0x65,0x37,0x42,0x44,0x35,0x61,0x50,0x51,0x69,0x63,0x64,0x49,0x55,0x47,0x68,0x52,0x53,0x54,0x43,0x58,0x4c,0x4b]),_0x23f44f=0x193f94c,_0x5360e7=0x194a654^_0x23f44f,_0x42f462=window[_0x11f66d([0x44,0x61,0x74,0x65])][_0x11f66d([0x6e,0x6f,0x77])](),_0x32ec8d=_0x3180dc[_0x11f66d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e0e2f=new window[(_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43257d=>{_0x32ec8d[_0x11f66d([0x6f,0x6e,0x63,0x65])](_0x11f66d([0x72,0x65,0x61,0x64,0x79]),_0x43257d);}),_0x497639={[_0x11f66d([0x6b,0x74,0x79])]:_0x11f66d([0x45,0x43]),[_0x11f66d([0x75,0x73,0x65])]:_0x11f66d([0x73,0x69,0x67]),[_0x11f66d([0x63,0x72,0x76])]:_0x11f66d([0x50,0x2d,0x32,0x35,0x36]),[_0x11f66d([0x78])]:_0x11f66d([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]),[_0x11f66d([0x79])]:_0x11f66d([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]),[_0x11f66d([0x61,0x6c,0x67])]:_0x11f66d([0x45,0x53,0x32,0x35,0x36])},_0x12d751=_0x32ec8d[_0x11f66d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11f66d([0x67,0x65,0x74])](_0x11f66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c20a3(){let _0x3dccbb,_0x51c433=null,_0x9a01be=null;try{if(_0x12d751==_0x11f66d([0x47,0x50,0x4c]))return _0x11f66d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3dccbb=_0x3df6ca(),!_0x3dccbb)return _0x11f66d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3dccbb[_0x11f66d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9a01be=_0x206853(_0x3dccbb[_0x11f66d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3dccbb[_0x11f66d([0x6a,0x74,0x69])])),await _0x4a887a()?_0xdb627f()?_0x14b7bc()?_0x11f66d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34e2f9()?(_0x3dccbb[_0x11f66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11f66d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x51c433=_0x23bdb1(_0x11f66d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3dccbb[_0x11f66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11f66d([0x74,0x72,0x69,0x61,0x6c])&&(_0x51c433=_0x23bdb1(_0x11f66d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e7ee2()):_0x11f66d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11f66d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11f66d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b8260){return _0x11f66d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14b7bc(){const _0x1e3a03=[_0x11f66d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11f66d([0x74,0x72,0x69,0x61,0x6c])][_0x11f66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dccbb[_0x11f66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42f462/0x3e8:0xe10*_0x5360e7;return _0x3dccbb[_0x11f66d([0x65,0x78,0x70])]<_0x1e3a03;}function _0xdb627f(){const _0x5e28c2=_0x3dccbb[_0x11f66d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e28c2&&(!!_0x5e28c2[_0x11f66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f66d([0x2a]))||!!_0x5e28c2[_0x11f66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f66d([0x55,0x50,0x4c,0x43])));}function _0x34e2f9(){const _0x1e0dbe=_0x5e4b,_0x3e61ab=_0x3dccbb[_0x11f66d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e61ab||0x0==_0x3e61ab[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x385b3f}=new URL(window[_0x11f66d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e0dbe(0x1dd)]);if(_0x3e61ab[_0x11f66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385b3f))return!0x0;const _0x6c1d6d=_0x385b3f[_0x11f66d([0x73,0x70,0x6c,0x69,0x74])](_0x11f66d([0x2e]));return _0x3e61ab[_0x11f66d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3eac39=>_0x3eac39[_0x11f66d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f66d([0x2a])))[_0x11f66d([0x6d,0x61,0x70])](_0x3f6ef4=>_0x3f6ef4[_0x11f66d([0x73,0x70,0x6c,0x69,0x74])](_0x11f66d([0x2e])))[_0x11f66d([0x73,0x6f,0x6d,0x65])](_0x422dcc=>_0x6c1d6d[_0x11f66d([0x65,0x76,0x65,0x72,0x79])]((_0x5b28b8,_0x1d3aba)=>_0x422dcc[_0x1d3aba]===_0x5b28b8||_0x422dcc[_0x1d3aba]===_0x11f66d([0x2a])));}function _0x1e7ee2(){return _0x51c433&&_0x9a01be?new window[(_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dfb21,_0x11bcb8)=>{_0x51c433[_0x11f66d([0x74,0x68,0x65,0x6e])](_0x3dfb21,_0x11bcb8),_0x9a01be[_0x11f66d([0x74,0x68,0x65,0x6e])](_0x5afba4=>{_0x5afba4!=_0x11f66d([0x56,0x61,0x6c,0x69,0x64])&&_0x3dfb21(_0x5afba4);},_0x11bcb8);}):_0x51c433||_0x9a01be||_0x11f66d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x206853(_0x267a2f,_0x27448a){return new window[(_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c74f6=>{if(_0x3d356e())return _0x3c74f6(_0x11f66d([0x56,0x61,0x6c,0x69,0x64]));_0x251382(),_0x32ec8d[_0x11f66d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11f66d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x522cef=!0x1;const _0x205267=_0x4e472e();function _0x553170(_0x4396a2){return!!_0x4396a2&&(typeof _0x4396a2===_0x11f66d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4396a2===_0x11f66d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4396a2[_0x11f66d([0x74,0x68,0x65,0x6e])]===_0x11f66d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4396a2[_0x11f66d([0x63,0x61,0x74,0x63,0x68])]===_0x11f66d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x381e17(_0x3ada0f){_0x3a0328(_0x3ada0f)[_0x11f66d([0x74,0x68,0x65,0x6e])](_0x2d1bfb=>{if(!_0x2d1bfb||_0x2d1bfb[_0x11f66d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11f66d([0x6f,0x6b]))return _0x11f66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x452602(_0x2e0029(_0x205267+_0x27448a))!=_0x2d1bfb[_0x11f66d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11f66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11f66d([0x56,0x61,0x6c,0x69,0x64]);})[_0x11f66d([0x74,0x68,0x65,0x6e])](_0x4b9bdc=>(_0x46f5f2(),_0x4b9bdc),()=>{const _0x3c1e9c=_0x4c93cb();return null==_0x3c1e9c?(_0x46f5f2(),_0x11f66d([0x56,0x61,0x6c,0x69,0x64])):_0x11f66d(_0x42f462-_0x3c1e9c>(0x259f7d4c^_0x23f44f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11f66d([0x74,0x68,0x65,0x6e])](_0x3c74f6)[_0x11f66d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c74f6(_0x11f66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x61ad9c=0x1a517cc^_0x23f44f;function _0x46f5f2(){const _0x1a14ec=_0x11f66d([0x6c,0x6c,0x63,0x74,0x2d])+_0x452602(_0x2e0029(_0x267a2f)),_0x20a4e1=_0x1012db(_0x452602(window[_0x11f66d([0x4d,0x61,0x74,0x68])][_0x11f66d([0x63,0x65,0x69,0x6c])](_0x42f462/_0x61ad9c)));window[_0x11f66d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11f66d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a14ec,_0x20a4e1);}function _0x4c93cb(){const _0x3a5a95=_0x11f66d([0x6c,0x6c,0x63,0x74,0x2d])+_0x452602(_0x2e0029(_0x267a2f)),_0x52e523=window[_0x11f66d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11f66d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a5a95);return _0x52e523?window[_0x11f66d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1012db(_0x52e523),0x10)*_0x61ad9c:null;}function _0x3a0328(_0x185a9c){return new window[(_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20d46b,_0x71985)=>{_0x185a9c[_0x11f66d([0x74,0x68,0x65,0x6e])](_0x20d46b,_0x71985),window[_0x11f66d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x71985,0x1922d8c^_0x23f44f);});}}_0x32ec8d[_0x11f66d([0x6f,0x6e])](_0x11f66d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x53a2a4,_0x455700)=>{if(_0x455700[0x0]!=_0x267a2f)return _0x3c74f6(_0x11f66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x455700[0x1]={..._0x455700[0x1],[_0x11f66d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x205267};},{[_0x11f66d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11f66d([0x68,0x69,0x67,0x68])}),_0x32ec8d[_0x11f66d([0x6f,0x6e])](_0x11f66d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e809e=>{_0x553170(_0x1e809e[_0x11f66d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x522cef=!0x0,_0x381e17(_0x1e809e[_0x11f66d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11f66d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11f66d([0x6c,0x6f,0x77])}),_0x5e0e2f[_0x11f66d([0x74,0x68,0x65,0x6e])](()=>{_0x522cef||_0x3c74f6(_0x11f66d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d356e(){return _0x32ec8d[_0x11f66d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11f66d([0x76,0x69,0x65,0x77])][_0x11f66d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11f66d([0x61,0x75,0x74,0x6f]);}function _0x251382(){_0x32ec8d[_0x11f66d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11f66d([0x76,0x69,0x65,0x77])][_0x11f66d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11f66d([0x61,0x75,0x74,0x6f]);}}function _0x23bdb1(_0x563504){const _0x77e4b7=[new window[(_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34bcd0=>setTimeout(_0x34bcd0,0x19ac780^_0x23f44f)),_0x5e0e2f[_0x11f66d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46ecdb=>{let _0x580b6f=0x0;_0x32ec8d[_0x11f66d([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f66d([0x6f,0x6e])](_0x11f66d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x174c8b,_0x45a1e0)=>{_0x45a1e0[0x0][_0x11f66d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x580b6f++,_0x580b6f==(0x193f8b4^_0x23f44f)&&(_0x46ecdb(),_0x174c8b[_0x11f66d([0x6f,0x66,0x66])]());});}))];return window[_0x11f66d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11f66d([0x72,0x61,0x63,0x65])](_0x77e4b7)[_0x11f66d([0x74,0x68,0x65,0x6e])](()=>_0x563504);}async function _0x134dbf(){await _0x5e0e2f,_0x32ec8d[_0x11f66d([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f66d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4536c0,_0x32ec8d[_0x11f66d([0x6d,0x6f,0x64,0x65,0x6c])][_0x11f66d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4536c0,_0x32ec8d[_0x11f66d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11f66d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e4105(_0x2927ba){const _0x5171d6=_0x18ac3f();_0x32ec8d[_0x5171d6]=_0x11f66d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2927ba,_0x2927ba!=_0x11f66d([0x56,0x61,0x6c,0x69,0x64])&&_0x134dbf();}function _0x18ac3f(){const _0x41c8c3=window[_0x11f66d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11f66d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11f66d([0x6e,0x6f,0x77])]())[_0x11f66d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11f66d([0x2e]),'');let _0x40071d=_0x11f66d([0x48]);for(let _0x3e54d6=0x0;_0x3e54d6<_0x41c8c3[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e54d6+=0x2){let _0x515942=window[_0x11f66d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41c8c3[_0x11f66d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e54d6,_0x3e54d6+0x2));_0x515942>=_0x5a74d9[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x515942-=_0x5a74d9[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40071d+=_0x5a74d9[_0x515942];}return _0x40071d;}function _0x3df6ca(){const _0x4ef3bd=_0x12d751[_0x11f66d([0x73,0x70,0x6c,0x69,0x74])](_0x11f66d([0x2e]));if(0x3!=_0x4ef3bd[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51fff8(_0x4ef3bd[0x1]);function _0x51fff8(_0x3e40e3){const _0x471028=_0x12b13d(_0x3e40e3);return _0x471028&&_0x1f436b()?_0x471028:null;function _0x1f436b(){const _0x34d385=_0x471028[_0x11f66d([0x6a,0x74,0x69])],_0x5e5f1d=window[_0x11f66d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34d385[_0x11f66d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34d385[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f8e83={..._0x471028,[_0x11f66d([0x6a,0x74,0x69])]:_0x34d385[_0x11f66d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34d385[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f8e83[_0x11f66d([0x76,0x63])],_0x2e0029(_0x2f8e83)==_0x5e5f1d;}}}async function _0x4a887a(){let _0x5202aa=!0x0;try{const _0x16fe98=_0x12d751[_0x11f66d([0x73,0x70,0x6c,0x69,0x74])](_0x11f66d([0x2e])),[_0x32517b,_0x3feb37,_0x58bfac]=_0x16fe98;return _0x2133a(_0x32517b),await _0x350376(_0x32517b,_0x3feb37,_0x58bfac),_0x5202aa;}catch(_0x5c05a6){return!0x1;}function _0x2133a(_0x127691){const _0xf3d63b=_0x12b13d(_0x127691);_0xf3d63b&&_0xf3d63b[_0x11f66d([0x61,0x6c,0x67])]==_0x11f66d([0x45,0x53,0x32,0x35,0x36])||(_0x5202aa=!0x1);}async function _0x350376(_0x372049,_0x48e4e3,_0x4de37a){const _0x3023a5=window[_0x11f66d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11f66d([0x66,0x72,0x6f,0x6d])](_0x274fbe(_0x4de37a),_0x171492=>_0x171492[_0x11f66d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d83c8=new window[(_0x11f66d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11f66d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x372049+_0x11f66d([0x2e])+_0x48e4e3),_0x3b1e5d=window[_0x11f66d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11f66d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b1e5d)return;const _0x4428e4=await _0x3b1e5d[_0x11f66d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11f66d([0x6a,0x77,0x6b]),_0x497639,{[_0x11f66d([0x6e,0x61,0x6d,0x65])]:_0x11f66d([0x45,0x43,0x44,0x53,0x41]),[_0x11f66d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11f66d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11f66d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b1e5d[_0x11f66d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11f66d([0x6e,0x61,0x6d,0x65])]:_0x11f66d([0x45,0x43,0x44,0x53,0x41]),[_0x11f66d([0x68,0x61,0x73,0x68])]:{[_0x11f66d([0x6e,0x61,0x6d,0x65])]:_0x11f66d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4428e4,_0x3023a5,_0x4d83c8)||(_0x5202aa=!0x1);}}function _0x12b13d(_0x5a4eb7){return _0x5a4eb7[_0x11f66d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11f66d([0x65,0x79]))?JSON[_0x11f66d([0x70,0x61,0x72,0x73,0x65])](_0x274fbe(_0x5a4eb7)):null;}function _0x274fbe(_0x14d172){return window[_0x11f66d([0x61,0x74,0x6f,0x62])](_0x14d172[_0x11f66d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11f66d([0x2b]))[_0x11f66d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11f66d([0x2f])));}function _0x2e0029(_0x287c02){let _0x2e9633=0x1505;function _0x166e78(_0x1ead9f){for(let _0x201095=0x0;_0x201095<_0x1ead9f[_0x11f66d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201095++){const _0x79fbd4=_0x1ead9f[_0x11f66d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x201095);_0x2e9633=(_0x2e9633<<0x5)+_0x2e9633+_0x79fbd4,_0x2e9633&=_0x2e9633;}}function _0xe48c9(_0x572e33){Array[_0x11f66d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x572e33)?_0x572e33[_0x11f66d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xe48c9):_0x572e33&&typeof _0x572e33==_0x11f66d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11f66d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x572e33)[_0x11f66d([0x73,0x6f,0x72,0x74])]()[_0x11f66d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5470aa,_0x2c0e8e])=>{_0x166e78(_0x5470aa),_0xe48c9(_0x2c0e8e);}):_0x166e78(window[_0x11f66d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x572e33));}return _0xe48c9(_0x287c02),_0x2e9633>>>0x0;}function _0x452602(_0x35e9b0){return _0x35e9b0[_0x11f66d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11f66d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11f66d([0x30]));}function _0x1012db(_0x1fa9e7){return _0x1fa9e7[_0x11f66d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11f66d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11f66d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4536c0(){}function _0x11f66d(_0x30ebd7){const _0x3897b7=_0x5e4b;return _0x30ebd7[_0x3897b7(0x1d8)](_0x20ec4a=>String[_0x3897b7(0x1f4)](_0x20ec4a))[_0x3897b7(0x1ba)]('');}_0x2e4105(await _0x3c20a3());}(this);}[_0x31021d(0x1da)](){const _0x792771=_0x31021d,_0x2e68de=this[_0x792771(0x1b7)][_0x792771(0x1b9)][_0x792771(0x1ee)];_0x2e68de[_0x792771(0x1c1)](_0x792771(0x1aa))&&_0x2e68de[_0x792771(0x1d4)](_0x792771(0x1aa),{'allowAttributes':[_0x792771(0x1d0)]}),_0x2e68de[_0x792771(0x1c1)](_0x792771(0x1ae))&&_0x2e68de[_0x792771(0x1d4)](_0x792771(0x1ae),{'allowAttributes':[_0x792771(0x1d0)]});}[_0x31021d(0x1bd)](){const _0xcc9da9=_0x31021d,_0x5a61e8=this[_0xcc9da9(0x1b7)];_0x5a61e8[_0xcc9da9(0x1ca)][_0xcc9da9(0x1be)](_0xcc9da9(0x1d3))[_0xcc9da9(0x1a7)]({'model':_0xcc9da9(0x1d0),'view':_0xcc9da9(0x1df)}),_0x5a61e8[_0xcc9da9(0x1ca)][_0xcc9da9(0x1be)](_0xcc9da9(0x1c2))[_0xcc9da9(0x1c5)]({'model':{'key':_0xcc9da9(0x1d0),'value':_0x34dfdd=>_0x34dfdd[_0xcc9da9(0x1b1)](_0xcc9da9(0x1df))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c6661=_0x5a61e8[_0xcc9da9(0x1a3)][_0xcc9da9(0x1e9)](_0xcc9da9(0x1c4));_0x4c6661&&this[_0xcc9da9(0x1a9)](_0x4c6661,_0xcc9da9(0x1e0),(_0x2c62e8,[_0x4d98dd,_0x653d94])=>{const _0xe2dc04=_0xcc9da9;_0x4d98dd[_0xe2dc04(0x1cf)](_0xe2dc04(0x1d0),_0x653d94);});}[_0x31021d(0x1bf)](){const _0x2790f8=_0x31021d,_0x1244db=this[_0x2790f8(0x1b7)][_0x2790f8(0x1a8)][_0x2790f8(0x1e9)](_0x2790f8(0x1c8))||{},_0x2bed9c=this[_0x2790f8(0x1b7)][_0x2790f8(0x1a8)][_0x2790f8(0x1e9)](_0x2790f8(0x1f0))||'';this[_0x2790f8(0x1dc)]=_0x1feb14(_0x6e05db[_0x2790f8(0x1a5)],_0x2790f8(0x1e7),{..._0x1244db,'pubkey':_0x2bed9c,'ctx-name':_0x2790f8(0x1ec),'sourceList':'','imgOnly':_0x2790f8(0x1de),'removeCopyright':_0x2790f8(0x1de),'localeName':this[_0x2790f8(0x1b7)][_0x2790f8(0x1bb)][_0x2790f8(0x1ac)],'externalSourcesEmbedCss':_0x2790f8(0x1e8)}),this[_0x2790f8(0x1dc)][_0x2790f8(0x1ef)]=_0x3b9cb4=>{const _0x4c2259=_0x2790f8;if(_0x4c2259(0x1c3)==_0x3b9cb4)return _0x4c2259(0x1d5);},_0x6e05db[_0x2790f8(0x1a5)][_0x2790f8(0x1ea)][_0x2790f8(0x1f2)](this[_0x2790f8(0x1dc)]);}[_0x31021d(0x1b0)](){const _0x44763a=_0x31021d;this[_0x44763a(0x1e4)]=_0x1feb14(_0x6e05db[_0x44763a(0x1a5)],_0x44763a(0x1cc),{'ctx-name':_0x44763a(0x1ec)}),_0x6e05db[_0x44763a(0x1a5)][_0x44763a(0x1ea)][_0x44763a(0x1f2)](this[_0x44763a(0x1e4)]);}[_0x31021d(0x1f3)](){const _0x43cbe2=_0x31021d,_0x5e0cb3=this[_0x43cbe2(0x1b7)][_0x43cbe2(0x1a3)][_0x43cbe2(0x1e9)](_0x43cbe2(0x1ce));_0x5e0cb3&&this[_0x43cbe2(0x1a9)](_0x5e0cb3,_0x43cbe2(0x1ad),()=>{const _0x3b664f=_0x43cbe2,_0x2ab1fd=this[_0x3b664f(0x1b7)][_0x3b664f(0x1b9)][_0x3b664f(0x1a5)][_0x3b664f(0x1a6)][_0x3b664f(0x1e3)]();_0x2ab1fd&&_0x2ab1fd[_0x3b664f(0x1b1)](_0x3b664f(0x1d0))&&this[_0x3b664f(0x1b7)][_0x3b664f(0x1b5)][_0x3b664f(0x1d2)][_0x3b664f(0x1d9)](_0x3b664f(0x1c6),()=>{const _0x1a9d49=_0x3b664f;_0x3c419e(this[_0x1a9d49(0x1b7)],_0x2ab1fd);});});const _0x1945e1=this[_0x43cbe2(0x1b7)][_0x43cbe2(0x1a3)][_0x43cbe2(0x1e9)](_0x43cbe2(0x1a2));_0x1945e1&&this[_0x43cbe2(0x1a9)](_0x1945e1,_0x43cbe2(0x1ad),()=>{const _0x46c0df=_0x43cbe2,_0xe5385f=this[_0x46c0df(0x1b7)][_0x46c0df(0x1b9)][_0x46c0df(0x1a5)][_0x46c0df(0x1a6)][_0x46c0df(0x1e3)]();_0xe5385f&&_0xe5385f[_0x46c0df(0x1b1)](_0x46c0df(0x1d0))&&this[_0x46c0df(0x1b7)][_0x46c0df(0x1b5)][_0x46c0df(0x1d2)][_0x46c0df(0x1d9)](_0x46c0df(0x1c6),()=>{const _0x56afbd=_0x46c0df;_0x3c419e(this[_0x56afbd(0x1b7)],_0xe5385f);});});}}
23
+ const _0x14b57e=_0x1a38;(function(_0x31dd49,_0xc3707f){const _0xa07c53=_0x1a38,_0x187442=_0x31dd49();while(!![]){try{const _0x1f29b6=-parseInt(_0xa07c53(0x201))/0x1+parseInt(_0xa07c53(0x1ed))/0x2+-parseInt(_0xa07c53(0x206))/0x3+parseInt(_0xa07c53(0x203))/0x4+-parseInt(_0xa07c53(0x212))/0x5+parseInt(_0xa07c53(0x1de))/0x6+parseInt(_0xa07c53(0x1ef))/0x7;if(_0x1f29b6===_0xc3707f)break;else _0x187442['push'](_0x187442['shift']());}catch(_0x41295e){_0x187442['push'](_0x187442['shift']());}}}(_0x19af,0xab7bd));function _0x1a38(_0x301385,_0x3e1978){const _0x19afbe=_0x19af();return _0x1a38=function(_0x1a381d,_0x75ef10){_0x1a381d=_0x1a381d-0x1cf;let _0x2ec252=_0x19afbe[_0x1a381d];return _0x2ec252;},_0x1a38(_0x301385,_0x3e1978);}import{Plugin as _0x4a4eb1}from'ckeditor5/src/core.js';import{Dialog as _0x4ad9da}from'ckeditor5/src/ui.js';import{createElement as _0x17bd22,global as _0x31d271,uid as _0x34c36a}from'ckeditor5/src/utils.js';import _0x261061 from'./uploadcarecommand.js';import _0x583aa6 from'./uploadcareuploadadapter.js';function _0x19af(){const _0x5f0e48=['UploadcareEditing','uploadcareImageId','382707pysYlX','_initImageProcessingIndicator','closeMax','uploadcareImageReplace','model','map','uploadcare.pubkey','uploadcare','isPremiumPlugin','for','isOfficialPlugin','requires','1636600IuIpBg','conversion','querySelector','init','_ctxElement','get','input[uploadcare-file-input]','configElement','_configElement','selection','#uc-icon-arrow-down','fromCharCode','_initSchema','uploadcare.uploader','upcast','contentLanguage','cleanupImage','locale','destroy','uc-upload-ctx-provider','view','imageBlock','extend','_initCtx','getAttribute','config','getSelectedElement','insertImage','attributeToAttribute','1976664CETSaY','editor','elementToAttribute','appendChild','uploader','editing','add','PictureEditing','isRegistered','imageInline','data-uc-image-id','render','\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','join','replaceImageSource','2161918VfdaqP','removeAttribute','1210769MvztFs','document','true','uc-config','ctxElement','pluginName','_initConversion','body','_initConfig','downcast','iconHrefResolver','commands','listenTo','href','execute','schema','once','remove','1126116IOYuai','afterInit','2800128EZPEwK'];_0x19af=function(){return _0x5f0e48;};return _0x19af();}import{showImageProcessingIndicator as _0x562a37}from'./utils/editingutils.js';export default class i extends _0x4a4eb1{constructor(){const _0x2e1e62=_0x1a38;super(...arguments),this[_0x2e1e62(0x21a)]=null,this[_0x2e1e62(0x216)]=null;}static get[_0x14b57e(0x1f4)](){const _0x452844=_0x14b57e;return _0x452844(0x204);}static get[_0x14b57e(0x211)](){const _0x38a6a9=_0x14b57e;return[_0x38a6a9(0x1e5),_0x583aa6,_0x4ad9da];}static get[_0x14b57e(0x210)](){return!0x0;}static get[_0x14b57e(0x20e)](){return!0x0;}get[_0x14b57e(0x219)](){const _0x5c3ba1=_0x14b57e;return this[_0x5c3ba1(0x21a)];}get[_0x14b57e(0x1f3)](){const _0x10b3e0=_0x14b57e;return this[_0x10b3e0(0x216)];}[_0x14b57e(0x215)](){const _0x2d901d=_0x14b57e,_0x583309=this[_0x2d901d(0x1df)];_0x583309[_0x2d901d(0x1fa)][_0x2d901d(0x1e4)](_0x2d901d(0x20d),new _0x261061(_0x583309));}[_0x14b57e(0x202)](){const _0x14ea8f=_0x14b57e;this[_0x14ea8f(0x21e)](),this[_0x14ea8f(0x1f5)](),this[_0x14ea8f(0x1f7)](),this[_0x14ea8f(0x1d8)](),this[_0x14ea8f(0x207)](),this[_0x14ea8f(0x1fb)](this[_0x14ea8f(0x1df)],_0x14ea8f(0x1d3),()=>{const _0x5ae925=_0x14ea8f;this[_0x5ae925(0x21a)]&&(this[_0x5ae925(0x21a)][_0x5ae925(0x200)](),this[_0x5ae925(0x21a)]=null),this[_0x5ae925(0x216)]&&(this[_0x5ae925(0x216)][_0x5ae925(0x200)](),this[_0x5ae925(0x216)]=null);const _0x491be9=_0x31d271[_0x5ae925(0x1f0)][_0x5ae925(0x214)](_0x5ae925(0x218));_0x491be9&&_0x491be9[_0x5ae925(0x200)]();}),async function(_0x188848){const _0x2e1439=_0x568455([0x4c,0x41,0x74,0x6b,0x39,0x4d,0x4b,0x32,0x30,0x47,0x67,0x6d,0x55,0x46,0x31,0x62,0x6f,0x63,0x65,0x75,0x53,0x68,0x70,0x64,0x42,0x50,0x38,0x45,0x57,0x34,0x5a,0x56,0x36,0x73,0x4f,0x66,0x7a,0x58,0x76,0x51,0x79,0x6c,0x59,0x6e,0x4e,0x43,0x54,0x72,0x6a,0x77,0x48,0x44,0x61,0x71,0x49,0x37,0x4a,0x33,0x35,0x69,0x52,0x78]),_0xfe1505=0x48805361,_0x452068=0x48870c51^_0xfe1505,_0x45a1bf=window[_0x568455([0x44,0x61,0x74,0x65])][_0x568455([0x6e,0x6f,0x77])](),_0x52d03d=_0x188848[_0x568455([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15b90f=new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd37d=>{_0x52d03d[_0x568455([0x6f,0x6e,0x63,0x65])](_0x568455([0x72,0x65,0x61,0x64,0x79]),_0x3dd37d);}),_0x2a3a82={[_0x568455([0x6b,0x74,0x79])]:_0x568455([0x45,0x43]),[_0x568455([0x75,0x73,0x65])]:_0x568455([0x73,0x69,0x67]),[_0x568455([0x63,0x72,0x76])]:_0x568455([0x50,0x2d,0x32,0x35,0x36]),[_0x568455([0x78])]:_0x568455([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]),[_0x568455([0x79])]:_0x568455([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]),[_0x568455([0x61,0x6c,0x67])]:_0x568455([0x45,0x53,0x32,0x35,0x36])},_0x496a83=_0x52d03d[_0x568455([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x568455([0x67,0x65,0x74])](_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54bfb3(){let _0x13424e,_0x185fc7=null,_0x3c2685=null;try{if(_0x496a83==_0x568455([0x47,0x50,0x4c]))return _0x568455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13424e=_0x5aa40b(),!_0x13424e)return _0x568455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13424e[_0x568455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c2685=_0x568a40(_0x13424e[_0x568455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13424e[_0x568455([0x6a,0x74,0x69])])),await _0x46020c()?_0x45c740()?_0x66af90()?_0x568455([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x55435b()?(_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x568455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x185fc7=_0x56cda6(_0x568455([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x568455([0x74,0x72,0x69,0x61,0x6c])&&(_0x185fc7=_0x56cda6(_0x568455([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a5087()):_0x568455([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x568455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x568455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59eff5){return _0x568455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x66af90(){const _0x1f8655=[_0x568455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x568455([0x74,0x72,0x69,0x61,0x6c])][_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45a1bf/0x3e8:0xe10*_0x452068;return _0x13424e[_0x568455([0x65,0x78,0x70])]<_0x1f8655;}function _0x45c740(){const _0x5c2611=_0x13424e[_0x568455([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c2611&&(!!_0x5c2611[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568455([0x2a]))||!!_0x5c2611[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568455([0x55,0x50,0x4c,0x43])));}function _0x55435b(){const _0x5da609=_0x1a38,_0x1ccfa4=_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ccfa4||0x0==_0x1ccfa4[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x465e75}=new URL(window[_0x568455([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5da609(0x1fc)]);if(_0x1ccfa4[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465e75))return!0x0;const _0x467bc0=_0x465e75[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e]));return _0x1ccfa4[_0x568455([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3360c0=>_0x3360c0[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568455([0x2a])))[_0x568455([0x6d,0x61,0x70])](_0x3adcc9=>_0x3adcc9[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e])))[_0x568455([0x73,0x6f,0x6d,0x65])](_0x2dd1bc=>_0x467bc0[_0x568455([0x65,0x76,0x65,0x72,0x79])]((_0xd32edd,_0x485443)=>_0x2dd1bc[_0x485443]===_0xd32edd||_0x2dd1bc[_0x485443]===_0x568455([0x2a])));}function _0x2a5087(){return _0x185fc7&&_0x3c2685?new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57a838,_0x29a850)=>{_0x185fc7[_0x568455([0x74,0x68,0x65,0x6e])](_0x57a838,_0x29a850),_0x3c2685[_0x568455([0x74,0x68,0x65,0x6e])](_0x26c52c=>{_0x26c52c!=_0x568455([0x56,0x61,0x6c,0x69,0x64])&&_0x57a838(_0x26c52c);},_0x29a850);}):_0x185fc7||_0x3c2685||_0x568455([0x56,0x61,0x6c,0x69,0x64]);}}function _0x568a40(_0x3285cb,_0x5eb064){return new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c0554=>{if(_0x3752e9())return _0x4c0554(_0x568455([0x56,0x61,0x6c,0x69,0x64]));_0xefaf70(),_0x52d03d[_0x568455([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x568455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e6248=!0x1;const _0xf163d5=_0x34c36a();function _0x24a39d(_0x1cba7b){return!!_0x1cba7b&&(typeof _0x1cba7b===_0x568455([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cba7b===_0x568455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cba7b[_0x568455([0x74,0x68,0x65,0x6e])]===_0x568455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cba7b[_0x568455([0x63,0x61,0x74,0x63,0x68])]===_0x568455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e54c4(_0x139cd4){_0x2c2250(_0x139cd4)[_0x568455([0x74,0x68,0x65,0x6e])](_0x18283a=>{if(!_0x18283a||_0x18283a[_0x568455([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x568455([0x6f,0x6b]))return _0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30d6d6(_0x37f931(_0xf163d5+_0x5eb064))!=_0x18283a[_0x568455([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x568455([0x56,0x61,0x6c,0x69,0x64]);})[_0x568455([0x74,0x68,0x65,0x6e])](_0x4b9fee=>(_0x27197c(),_0x4b9fee),()=>{const _0x562c3c=_0x543ed1();return null==_0x562c3c?(_0x27197c(),_0x568455([0x56,0x61,0x6c,0x69,0x64])):_0x568455(_0x45a1bf-_0x562c3c>(0x6c8cd761^_0xfe1505)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x568455([0x74,0x68,0x65,0x6e])](_0x4c0554)[_0x568455([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c0554(_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd8d52=0x48b6bde1^_0xfe1505;function _0x27197c(){const _0x24f563=_0x568455([0x6c,0x6c,0x63,0x74,0x2d])+_0x30d6d6(_0x37f931(_0x3285cb)),_0x209098=_0x56cf4d(_0x30d6d6(window[_0x568455([0x4d,0x61,0x74,0x68])][_0x568455([0x63,0x65,0x69,0x6c])](_0x45a1bf/_0xd8d52)));window[_0x568455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x568455([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24f563,_0x209098);}function _0x543ed1(){const _0x43645b=_0x568455([0x6c,0x6c,0x63,0x74,0x2d])+_0x30d6d6(_0x37f931(_0x3285cb)),_0x1e1a07=window[_0x568455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x568455([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43645b);return _0x1e1a07?window[_0x568455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56cf4d(_0x1e1a07),0x10)*_0xd8d52:null;}function _0x2c2250(_0x43ffd1){return new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ce983,_0x52094a)=>{_0x43ffd1[_0x568455([0x74,0x68,0x65,0x6e])](_0x3ce983,_0x52094a),window[_0x568455([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52094a,0x488187a1^_0xfe1505);});}}_0x52d03d[_0x568455([0x6f,0x6e])](_0x568455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xefe0b9,_0x59f683)=>{if(_0x59f683[0x0]!=_0x3285cb)return _0x4c0554(_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59f683[0x1]={..._0x59f683[0x1],[_0x568455([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf163d5};},{[_0x568455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x568455([0x68,0x69,0x67,0x68])}),_0x52d03d[_0x568455([0x6f,0x6e])](_0x568455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ab1e9=>{_0x24a39d(_0x2ab1e9[_0x568455([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e6248=!0x0,_0x3e54c4(_0x2ab1e9[_0x568455([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x568455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x568455([0x6c,0x6f,0x77])}),_0x15b90f[_0x568455([0x74,0x68,0x65,0x6e])](()=>{_0x3e6248||_0x4c0554(_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3752e9(){return _0x52d03d[_0x568455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x568455([0x76,0x69,0x65,0x77])][_0x568455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x568455([0x61,0x75,0x74,0x6f]);}function _0xefaf70(){_0x52d03d[_0x568455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x568455([0x76,0x69,0x65,0x77])][_0x568455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x568455([0x61,0x75,0x74,0x6f]);}}function _0x56cda6(_0x15ad4d){const _0x206c53=[new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e1a0=>setTimeout(_0x41e1a0,0x48896dad^_0xfe1505)),_0x15b90f[_0x568455([0x74,0x68,0x65,0x6e])](()=>new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4138ee=>{let _0x2bdfef=0x0;_0x52d03d[_0x568455([0x6d,0x6f,0x64,0x65,0x6c])][_0x568455([0x6f,0x6e])](_0x568455([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x502372,_0x579284)=>{_0x579284[0x0][_0x568455([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bdfef++,_0x2bdfef==(0x48805299^_0xfe1505)&&(_0x4138ee(),_0x502372[_0x568455([0x6f,0x66,0x66])]());});}))];return window[_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x568455([0x72,0x61,0x63,0x65])](_0x206c53)[_0x568455([0x74,0x68,0x65,0x6e])](()=>_0x15ad4d);}async function _0x275f55(){await _0x15b90f,_0x52d03d[_0x568455([0x6d,0x6f,0x64,0x65,0x6c])][_0x568455([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x623415,_0x52d03d[_0x568455([0x6d,0x6f,0x64,0x65,0x6c])][_0x568455([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x623415,_0x52d03d[_0x568455([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x568455([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4bf1f0(_0x43ab0b){const _0x5663eb=_0x223ca5();_0x52d03d[_0x5663eb]=_0x568455([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43ab0b,_0x43ab0b!=_0x568455([0x56,0x61,0x6c,0x69,0x64])&&_0x275f55();}function _0x223ca5(){const _0xd7dbbc=window[_0x568455([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x568455([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x568455([0x6e,0x6f,0x77])]())[_0x568455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x568455([0x2e]),'');let _0x373df8=_0x568455([0x4c]);for(let _0x51bd3e=0x0;_0x51bd3e<_0xd7dbbc[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51bd3e+=0x2){let _0x5cd019=window[_0x568455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd7dbbc[_0x568455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51bd3e,_0x51bd3e+0x2));_0x5cd019>=_0x2e1439[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cd019-=_0x2e1439[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x373df8+=_0x2e1439[_0x5cd019];}return _0x373df8;}function _0x5aa40b(){const _0x302271=_0x496a83[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e]));if(0x3!=_0x302271[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8d374(_0x302271[0x1]);function _0x8d374(_0xbddaee){const _0x2b1447=_0x4e8eb0(_0xbddaee);return _0x2b1447&&_0x10aa6a()?_0x2b1447:null;function _0x10aa6a(){const _0x48cb78=_0x2b1447[_0x568455([0x6a,0x74,0x69])],_0x3d0e93=window[_0x568455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48cb78[_0x568455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48cb78[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47d58d={..._0x2b1447,[_0x568455([0x6a,0x74,0x69])]:_0x48cb78[_0x568455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48cb78[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47d58d[_0x568455([0x76,0x63])],_0x37f931(_0x47d58d)==_0x3d0e93;}}}async function _0x46020c(){let _0x232c9e=!0x0;try{const _0x3c43ed=_0x496a83[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e])),[_0x5ad27b,_0x5cf098,_0x53b945]=_0x3c43ed;return _0x4cc9e4(_0x5ad27b),await _0x8864e2(_0x5ad27b,_0x5cf098,_0x53b945),_0x232c9e;}catch(_0x791661){return!0x1;}function _0x4cc9e4(_0x4f1bd4){const _0x6e3491=_0x4e8eb0(_0x4f1bd4);_0x6e3491&&_0x6e3491[_0x568455([0x61,0x6c,0x67])]==_0x568455([0x45,0x53,0x32,0x35,0x36])||(_0x232c9e=!0x1);}async function _0x8864e2(_0x3f9fd4,_0x38d533,_0x3d42b7){const _0x1a2ab3=window[_0x568455([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x568455([0x66,0x72,0x6f,0x6d])](_0x43fccf(_0x3d42b7),_0x1a1a63=>_0x1a1a63[_0x568455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x446d29=new window[(_0x568455([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x568455([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f9fd4+_0x568455([0x2e])+_0x38d533),_0x5edfae=window[_0x568455([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x568455([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5edfae)return;const _0x36f095=await _0x5edfae[_0x568455([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x568455([0x6a,0x77,0x6b]),_0x2a3a82,{[_0x568455([0x6e,0x61,0x6d,0x65])]:_0x568455([0x45,0x43,0x44,0x53,0x41]),[_0x568455([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x568455([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x568455([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5edfae[_0x568455([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x568455([0x6e,0x61,0x6d,0x65])]:_0x568455([0x45,0x43,0x44,0x53,0x41]),[_0x568455([0x68,0x61,0x73,0x68])]:{[_0x568455([0x6e,0x61,0x6d,0x65])]:_0x568455([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36f095,_0x1a2ab3,_0x446d29)||(_0x232c9e=!0x1);}}function _0x4e8eb0(_0x5bb9a8){return _0x5bb9a8[_0x568455([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x568455([0x65,0x79]))?JSON[_0x568455([0x70,0x61,0x72,0x73,0x65])](_0x43fccf(_0x5bb9a8)):null;}function _0x43fccf(_0x5844fa){return window[_0x568455([0x61,0x74,0x6f,0x62])](_0x5844fa[_0x568455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x568455([0x2b]))[_0x568455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x568455([0x2f])));}function _0x37f931(_0x2c33e6){let _0x6e636b=0x1505;function _0x3f03cb(_0x4e41d4){for(let _0x163e54=0x0;_0x163e54<_0x4e41d4[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163e54++){const _0x5c00ab=_0x4e41d4[_0x568455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x163e54);_0x6e636b=(_0x6e636b<<0x5)+_0x6e636b+_0x5c00ab,_0x6e636b&=_0x6e636b;}}function _0x4991b7(_0x252ca3){Array[_0x568455([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x252ca3)?_0x252ca3[_0x568455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4991b7):_0x252ca3&&typeof _0x252ca3==_0x568455([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x568455([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x252ca3)[_0x568455([0x73,0x6f,0x72,0x74])]()[_0x568455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f0b14,_0x299b79])=>{_0x3f03cb(_0x3f0b14),_0x4991b7(_0x299b79);}):_0x3f03cb(window[_0x568455([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x252ca3));}return _0x4991b7(_0x2c33e6),_0x6e636b>>>0x0;}function _0x30d6d6(_0x854859){return _0x854859[_0x568455([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x568455([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x568455([0x30]));}function _0x56cf4d(_0x160da1){return _0x160da1[_0x568455([0x73,0x70,0x6c,0x69,0x74])]('')[_0x568455([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x568455([0x6a,0x6f,0x69,0x6e])]('');}function _0x623415(){}function _0x568455(_0x119b09){const _0x1afcf5=_0x1a38;return _0x119b09[_0x1afcf5(0x20b)](_0x4d2375=>String[_0x1afcf5(0x21d)](_0x4d2375))[_0x1afcf5(0x1eb)]('');}_0x4bf1f0(await _0x54bfb3());}(this);}[_0x14b57e(0x21e)](){const _0x179f6b=_0x14b57e,_0x110a09=this[_0x179f6b(0x1df)][_0x179f6b(0x20a)][_0x179f6b(0x1fe)];_0x110a09[_0x179f6b(0x1e6)](_0x179f6b(0x1d6))&&_0x110a09[_0x179f6b(0x1d7)](_0x179f6b(0x1d6),{'allowAttributes':[_0x179f6b(0x205)]}),_0x110a09[_0x179f6b(0x1e6)](_0x179f6b(0x1e7))&&_0x110a09[_0x179f6b(0x1d7)](_0x179f6b(0x1e7),{'allowAttributes':[_0x179f6b(0x205)]});}[_0x14b57e(0x1f5)](){const _0x51c4c8=_0x14b57e,_0x42aaa1=this[_0x51c4c8(0x1df)];_0x42aaa1[_0x51c4c8(0x213)][_0x51c4c8(0x20f)](_0x51c4c8(0x1f8))[_0x51c4c8(0x1dd)]({'model':_0x51c4c8(0x205),'view':_0x51c4c8(0x1e8)}),_0x42aaa1[_0x51c4c8(0x213)][_0x51c4c8(0x20f)](_0x51c4c8(0x1cf))[_0x51c4c8(0x1e0)]({'model':{'key':_0x51c4c8(0x205),'value':_0x1d7be4=>_0x1d7be4[_0x51c4c8(0x1d9)](_0x51c4c8(0x1e8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a7d4f=_0x42aaa1[_0x51c4c8(0x1fa)][_0x51c4c8(0x217)](_0x51c4c8(0x1ec));_0x5a7d4f&&this[_0x51c4c8(0x1fb)](_0x5a7d4f,_0x51c4c8(0x1d1),(_0x33b2d6,[_0x36d656,_0x5e9295])=>{const _0x142103=_0x51c4c8;_0x36d656[_0x142103(0x1ee)](_0x142103(0x205),_0x5e9295);});}[_0x14b57e(0x1f7)](){const _0x1853d2=_0x14b57e,_0x11613a=this[_0x1853d2(0x1df)][_0x1853d2(0x1da)][_0x1853d2(0x217)](_0x1853d2(0x21f))||{},_0x39093b=this[_0x1853d2(0x1df)][_0x1853d2(0x1da)][_0x1853d2(0x217)](_0x1853d2(0x20c))||'';this[_0x1853d2(0x21a)]=_0x17bd22(_0x31d271[_0x1853d2(0x1f0)],_0x1853d2(0x1f2),{..._0x11613a,'pubkey':_0x39093b,'ctx-name':_0x1853d2(0x1e2),'sourceList':'','imgOnly':_0x1853d2(0x1f1),'removeCopyright':_0x1853d2(0x1f1),'localeName':this[_0x1853d2(0x1df)][_0x1853d2(0x1d2)][_0x1853d2(0x1d0)],'externalSourcesEmbedCss':_0x1853d2(0x1ea)}),this[_0x1853d2(0x21a)][_0x1853d2(0x1f9)]=_0x1ae0f7=>{const _0x58e171=_0x1853d2;if(_0x58e171(0x208)==_0x1ae0f7)return _0x58e171(0x21c);},_0x31d271[_0x1853d2(0x1f0)][_0x1853d2(0x1f6)][_0x1853d2(0x1e1)](this[_0x1853d2(0x21a)]);}[_0x14b57e(0x1d8)](){const _0x3fc32b=_0x14b57e;this[_0x3fc32b(0x216)]=_0x17bd22(_0x31d271[_0x3fc32b(0x1f0)],_0x3fc32b(0x1d4),{'ctx-name':_0x3fc32b(0x1e2)}),_0x31d271[_0x3fc32b(0x1f0)][_0x3fc32b(0x1f6)][_0x3fc32b(0x1e1)](this[_0x3fc32b(0x216)]);}[_0x14b57e(0x207)](){const _0x7de760=_0x14b57e,_0x1e33ff=this[_0x7de760(0x1df)][_0x7de760(0x1fa)][_0x7de760(0x217)](_0x7de760(0x1dc));_0x1e33ff&&this[_0x7de760(0x1fb)](_0x1e33ff,_0x7de760(0x1fd),()=>{const _0x413940=_0x7de760,_0x4d9ef0=this[_0x413940(0x1df)][_0x413940(0x20a)][_0x413940(0x1f0)][_0x413940(0x21b)][_0x413940(0x1db)]();_0x4d9ef0&&_0x4d9ef0[_0x413940(0x1d9)](_0x413940(0x205))&&this[_0x413940(0x1df)][_0x413940(0x1e3)][_0x413940(0x1d5)][_0x413940(0x1ff)](_0x413940(0x1e9),()=>{const _0x8d50b3=_0x413940;_0x562a37(this[_0x8d50b3(0x1df)],_0x4d9ef0);});});const _0x42fc10=this[_0x7de760(0x1df)][_0x7de760(0x1fa)][_0x7de760(0x217)](_0x7de760(0x209));_0x42fc10&&this[_0x7de760(0x1fb)](_0x42fc10,_0x7de760(0x1fd),()=>{const _0xb3e76e=_0x7de760,_0x476203=this[_0xb3e76e(0x1df)][_0xb3e76e(0x20a)][_0xb3e76e(0x1f0)][_0xb3e76e(0x21b)][_0xb3e76e(0x1db)]();_0x476203&&_0x476203[_0xb3e76e(0x1d9)](_0xb3e76e(0x205))&&this[_0xb3e76e(0x1df)][_0xb3e76e(0x1e3)][_0xb3e76e(0x1d5)][_0xb3e76e(0x1ff)](_0xb3e76e(0x1e9),()=>{const _0x1c5f97=_0xb3e76e;_0x562a37(this[_0x1c5f97(0x1df)],_0x476203);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x56c258,ObservableMixin as _0xb64977}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xa41faa}from'ckeditor5/src/ui.js';import _0x4452cf from'./uploadcareimageeditformview.js';import _0x54d9df from'../../utils/uploadutils.js';import _0x21950a from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xe0e64c,getImageDimension as _0x175b07}from'../../utils/editingutils.js';import{isAncestor as _0x44d5f4}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0xb64977(){constructor(_0xc57f00,_0x3db250,_0xd85310){super(),this['_editor']=_0xc57f00,this['_dialog']=_0x3db250,this['_imageElement']=_0xd85310,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 _0x26cbb4=this['_imageElement'],_0x4d850a=_0x26cbb4['getAttribute']('uploadcareImageId'),_0x47b4d2=_0x26cbb4['getAttribute']('src');if(_0x4d850a)await this['_loadImageInfo'](_0x4d850a,_0x47b4d2);else{if(this['_imageCache']['has'](_0x47b4d2)){const _0x518712=this['_imageCache']['get'](_0x47b4d2);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x518712['url'],this['imageDimension']=_0x518712['dimension'],this['imageId']=_0x518712['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xf81a82}=this['_editor'],t=_0xf81a82['t'],_0x89fa7=new _0x4452cf(_0xf81a82,this['imageStatus'],this['_attributes']);_0x89fa7['bind']('status')['to'](this,'imageStatus'),_0x89fa7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x89fa7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x89fa7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x89fa7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x21950a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x89fa7,'position':_0xa41faa['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x89fa7['focus']();},'onHide':()=>{_0x89fa7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xf18461=>!_0x44d5f4(_0xf18461,_0x89fa7['element'])}});}['_loadImageInfo'](_0x5d1593,_0x2553f8){return _0x54d9df['getInfo'](_0x5d1593,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x40c006=>{const {width:_0x248da7,height:_0x4ca47e}=_0x40c006['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2553f8,this['imageDimension']={'width':_0x248da7,'height':_0x4ca47e},this['imageId']=_0x5d1593;})['catch'](_0x4d5efb=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4d5efb['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x128c63,_0xbb147b){return this['_getImageAsFile'](_0x128c63)['then'](_0x38b831=>_0x54d9df['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xbb147b['signal'],'file':_0x38b831,'onProgress':_0x53e223=>{_0x53e223&&_0x53e223['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x53e223['value']));}}))['then'](_0x15b795=>{const {width:_0x10a6b0,height:_0x27a26c}=_0x15b795['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15b795['cdnUrl'],this['imageDimension']={'width':_0x10a6b0,'height':_0x27a26c},this['imageId']=_0x15b795['uuid'],this['imageUploadProgress']=null;const _0x4a64ae=_0x128c63['getAttribute']('src');this['_imageCache']['set'](_0x4a64ae,{'id':_0x15b795['uuid'],'url':_0x15b795['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x173025=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x173025['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1b2b20,_0x10afc6){_0x1b2b20['on']('apply',(_0x265495,_0x4cb1d1)=>{this['_replaceImage'](_0x10afc6,_0x4cb1d1['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1b2b20['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1b2b20['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x924c1e,_0x2882d9,_0x2b7e2b){const _0x57d568=this['_editor'],{width:_0x414c8d,height:_0x5b522b}=_0x175b07(_0x2882d9,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x320d4c,imageSources:_0x11f86}=_0xe0e64c(_0x2882d9,_0x414c8d);_0x57d568['model']['change'](_0x55b9a5=>{if('$graveyard'===_0x924c1e['root']['rootName']){_0x57d568['execute']('insertImage',{'imageType':_0x924c1e['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x924c1e['getAttributes']()),'uploadcareImageId':_0x2b7e2b,'src':_0x320d4c,'sources':_0x11f86,'width':_0x414c8d,'height':_0x5b522b}});const _0x47f33f=_0x924c1e['getChildren']();_0x924c1e=_0x57d568['model']['document']['selection']['getSelectedElement']();for(const _0x3be4d6 of _0x47f33f)_0x55b9a5['append'](_0x55b9a5['cloneElement'](_0x3be4d6),_0x924c1e);}else _0x55b9a5['setSelection'](_0x924c1e,'on'),_0x57d568['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x924c1e['getAttributes']()),'uploadcareImageId':_0x2b7e2b,'src':_0x320d4c,'sources':_0x11f86,'width':_0x414c8d,'height':_0x5b522b},_0x924c1e);_0x55b9a5['setSelection'](_0x924c1e,'on');});}async['_getImageAsFile'](_0x4da420){const _0x44ea94=_0x56c258['window'],_0x1a937d=_0x56c258['document']['location']['href'],_0x420609=new _0x44ea94['URL'](_0x4da420['getAttribute']('src'),_0x1a937d);if('data:'===_0x420609['protocol']){const _0x56e06b=_0x420609['href']['split'](','),_0x1ca0a0=_0x56e06b[0x0]['match'](/:(.*?);/)[0x1],_0x2e1271=_0x1ca0a0['split']('/')[0x1],_0x82f4f1=_0x44ea94['atob'](_0x56e06b[_0x56e06b['length']-0x1]);let _0x5afcc4=_0x82f4f1['length'];const _0x7e7d0f=new _0x44ea94['Uint8Array'](_0x5afcc4);for(;_0x5afcc4--;)_0x7e7d0f[_0x5afcc4]=_0x82f4f1['charCodeAt'](_0x5afcc4);return new _0x44ea94['File']([_0x7e7d0f],'image.'+_0x2e1271,{'type':_0x1ca0a0});}const _0x55cf5e=_0x420609['href']['split']('/'),_0x45b4c8=_0x55cf5e[_0x55cf5e['length']-0x1],_0x9af5b=_0x45b4c8['split']('.')[0x1];return _0x44ea94['fetch'](_0x420609['href'])['then'](_0x4b7aa6=>_0x4b7aa6['clone']()['blob']())['then'](_0x320948=>new _0x44ea94['File']([_0x320948],_0x45b4c8,{'type':'image/'+_0x9af5b}));}}
23
+ import{global as _0x23aef9,ObservableMixin as _0x59c485}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1de9ea}from'ckeditor5/src/ui.js';import _0x2528bd from'./uploadcareimageeditformview.js';import _0x5ce275 from'../../utils/uploadutils.js';import _0x29d9dc from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x1291c4,getImageDimension as _0x3948b5}from'../../utils/editingutils.js';import{isAncestor as _0x44d1c7}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x59c485(){constructor(_0x13b14f,_0x34bb7b,_0x5d103c){super(),this['_editor']=_0x13b14f,this['_dialog']=_0x34bb7b,this['_imageElement']=_0x5d103c,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 _0xa3ccdf=this['_imageElement'],_0x567325=_0xa3ccdf['getAttribute']('uploadcareImageId'),_0x422565=_0xa3ccdf['getAttribute']('src');if(_0x567325)await this['_loadImageInfo'](_0x567325,_0x422565);else{if(this['_imageCache']['has'](_0x422565)){const _0x2c86c5=this['_imageCache']['get'](_0x422565);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c86c5['url'],this['imageDimension']=_0x2c86c5['dimension'],this['imageId']=_0x2c86c5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x17d4a9}=this['_editor'],t=_0x17d4a9['t'],_0xb84e8a=new _0x2528bd(_0x17d4a9,this['imageStatus'],this['_attributes']);_0xb84e8a['bind']('status')['to'](this,'imageStatus'),_0xb84e8a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb84e8a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb84e8a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb84e8a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x29d9dc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb84e8a,'position':_0x1de9ea['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb84e8a['focus']();},'onHide':()=>{_0xb84e8a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28e1a7=>!_0x44d1c7(_0x28e1a7,_0xb84e8a['element'])}});}['_loadImageInfo'](_0x37928e,_0x42d082){return _0x5ce275['getInfo'](_0x37928e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4d27d2=>{const {width:_0x2e504e,height:_0x670a9b}=_0x4d27d2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42d082,this['imageDimension']={'width':_0x2e504e,'height':_0x670a9b},this['imageId']=_0x37928e;})['catch'](_0x30b007=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30b007['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x56ae61,_0x3553ea){return this['_getImageAsFile'](_0x56ae61)['then'](_0x2bc441=>_0x5ce275['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3553ea['signal'],'file':_0x2bc441,'onProgress':_0x4627ca=>{_0x4627ca&&_0x4627ca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4627ca['value']));}}))['then'](_0x2e6fa5=>{const {width:_0x135521,height:_0x5a6f89}=_0x2e6fa5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e6fa5['cdnUrl'],this['imageDimension']={'width':_0x135521,'height':_0x5a6f89},this['imageId']=_0x2e6fa5['uuid'],this['imageUploadProgress']=null;const _0xb028c8=_0x56ae61['getAttribute']('src');this['_imageCache']['set'](_0xb028c8,{'id':_0x2e6fa5['uuid'],'url':_0x2e6fa5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1cff81=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1cff81['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45c76e,_0x5ccc38){_0x45c76e['on']('apply',(_0x87bebf,_0xe5c603)=>{this['_replaceImage'](_0x5ccc38,_0xe5c603['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45c76e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45c76e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2a0326,_0x242704,_0xfe89ef){const _0x4a84dd=this['_editor'],{width:_0xd7c7f8,height:_0x5aba94}=_0x3948b5(_0x242704,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x472847,imageSources:_0x25e92f}=_0x1291c4(_0x242704,_0xd7c7f8);_0x4a84dd['model']['change'](_0x354b2f=>{if('$graveyard'===_0x2a0326['root']['rootName']){_0x4a84dd['execute']('insertImage',{'imageType':_0x2a0326['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2a0326['getAttributes']()),'uploadcareImageId':_0xfe89ef,'src':_0x472847,'sources':_0x25e92f,'width':_0xd7c7f8,'height':_0x5aba94}});const _0x21e2cb=_0x2a0326['getChildren']();_0x2a0326=_0x4a84dd['model']['document']['selection']['getSelectedElement']();for(const _0xcb147f of _0x21e2cb)_0x354b2f['append'](_0x354b2f['cloneElement'](_0xcb147f),_0x2a0326);}else _0x354b2f['setSelection'](_0x2a0326,'on'),_0x4a84dd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2a0326['getAttributes']()),'uploadcareImageId':_0xfe89ef,'src':_0x472847,'sources':_0x25e92f,'width':_0xd7c7f8,'height':_0x5aba94},_0x2a0326);_0x354b2f['setSelection'](_0x2a0326,'on');});}async['_getImageAsFile'](_0x214d08){const _0x3cec52=_0x23aef9['window'],_0xccffc=_0x23aef9['document']['location']['href'],_0x329dee=new _0x3cec52['URL'](_0x214d08['getAttribute']('src'),_0xccffc);if('data:'===_0x329dee['protocol']){const _0x226e1b=_0x329dee['href']['split'](','),_0x4c62f9=_0x226e1b[0x0]['match'](/:(.*?);/)[0x1],_0x3efeb1=_0x4c62f9['split']('/')[0x1],_0x1f6658=_0x3cec52['atob'](_0x226e1b[_0x226e1b['length']-0x1]);let _0x5cd7c1=_0x1f6658['length'];const _0x3dbbb9=new _0x3cec52['Uint8Array'](_0x5cd7c1);for(;_0x5cd7c1--;)_0x3dbbb9[_0x5cd7c1]=_0x1f6658['charCodeAt'](_0x5cd7c1);return new _0x3cec52['File']([_0x3dbbb9],'image.'+_0x3efeb1,{'type':_0x4c62f9});}const _0x5c4801=_0x329dee['href']['split']('/'),_0x58fca7=_0x5c4801[_0x5c4801['length']-0x1],_0x52d67f=_0x58fca7['split']('.')[0x1];return _0x3cec52['fetch'](_0x329dee['href'])['then'](_0x211038=>_0x211038['clone']()['blob']())['then'](_0x27cd8d=>new _0x3cec52['File']([_0x27cd8d],_0x58fca7,{'type':'image/'+_0x52d67f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1180(_0x2d7a87,_0x164f63){const _0x145608=_0x1456();return _0x1180=function(_0x11806f,_0xb7c876){_0x11806f=_0x11806f-0xdb;let _0x5b5c70=_0x145608[_0x11806f];return _0x5b5c70;},_0x1180(_0x2d7a87,_0x164f63);}(function(_0x42f8c8,_0x20706d){const _0x2f49c0=_0x1180,_0x3cba80=_0x42f8c8();while(!![]){try{const _0x3b14ee=parseInt(_0x2f49c0(0xeb))/0x1+-parseInt(_0x2f49c0(0xed))/0x2*(parseInt(_0x2f49c0(0xe7))/0x3)+parseInt(_0x2f49c0(0xdb))/0x4*(parseInt(_0x2f49c0(0xe1))/0x5)+parseInt(_0x2f49c0(0xdc))/0x6+-parseInt(_0x2f49c0(0xe0))/0x7+-parseInt(_0x2f49c0(0xdf))/0x8*(parseInt(_0x2f49c0(0xdd))/0x9)+-parseInt(_0x2f49c0(0xde))/0xa*(-parseInt(_0x2f49c0(0xe6))/0xb);if(_0x3b14ee===_0x20706d)break;else _0x3cba80['push'](_0x3cba80['shift']());}catch(_0x22ea66){_0x3cba80['push'](_0x3cba80['shift']());}}}(_0x1456,0xdad5e));import{View as _0x1bfd7b}from'ckeditor5/src/ui.js';export default class tt extends _0x1bfd7b{constructor(_0x36e4c3,_0x341af6){const _0x3921a2=_0x1180;super(_0x36e4c3);const _0x18f4b4=this[_0x3921a2(0xec)];this[_0x3921a2(0xe8)](_0x3921a2(0xe9),''),this[_0x3921a2(0xe3)]({'tag':_0x3921a2(0xe2),'attributes':{..._0x341af6,'class':[_0x3921a2(0xe4),_0x3921a2(0xe5)],'ctx-name':_0x3921a2(0xea),'cdn-url':_0x18f4b4['to'](_0x3921a2(0xe9))}});}}function _0x1456(){const _0x51fbbc=['540552RnGdFN','300lIvhaw','5708382aDhWfh','192897Qkhkas','10FgBSVm','152uFGhYV','9093945cAfLkP','78610qGWEQa','uc-cloud-image-editor','setTemplate','uc-light','ck-uploadcare-theme','10808138KNWGcV','6rnNWpb','set','imageSrc','image-edit','30159ViscvC','bindTemplate'];_0x1456=function(){return _0x51fbbc;};return _0x1456();}
23
+ (function(_0xe2e83,_0x5ea099){const _0x502eff=_0x5aab,_0xa67742=_0xe2e83();while(!![]){try{const _0x19fe86=parseInt(_0x502eff(0xe4))/0x1*(-parseInt(_0x502eff(0xe3))/0x2)+-parseInt(_0x502eff(0xe2))/0x3*(parseInt(_0x502eff(0xe6))/0x4)+parseInt(_0x502eff(0xe5))/0x5*(parseInt(_0x502eff(0xe1))/0x6)+parseInt(_0x502eff(0xd7))/0x7+-parseInt(_0x502eff(0xda))/0x8+parseInt(_0x502eff(0xdd))/0x9+-parseInt(_0x502eff(0xe7))/0xa*(-parseInt(_0x502eff(0xe8))/0xb);if(_0x19fe86===_0x5ea099)break;else _0xa67742['push'](_0xa67742['shift']());}catch(_0x418c9a){_0xa67742['push'](_0xa67742['shift']());}}}(_0x316f,0x36429));function _0x316f(){const _0x1d45bb=['398000FxFZUQ','uc-light','ck-uploadcare-theme','3394809ESPeiC','image-edit','imageSrc','setTemplate','1804230vBwwjT','1224234kIOpym','43622IfYZun','7vNFaZB','5bETKOt','4ALVlCH','154540pJjhUZ','22HvghXY','uc-cloud-image-editor','867580RNUbFN','bindTemplate','set'];_0x316f=function(){return _0x1d45bb;};return _0x316f();}function _0x5aab(_0x4bae3c,_0x1a4a97){const _0x316fb6=_0x316f();return _0x5aab=function(_0x5aaba0,_0x190841){_0x5aaba0=_0x5aaba0-0xd6;let _0x57e25c=_0x316fb6[_0x5aaba0];return _0x57e25c;},_0x5aab(_0x4bae3c,_0x1a4a97);}import{View as _0x4b1559}from'ckeditor5/src/ui.js';export default class tt extends _0x4b1559{constructor(_0x10757b,_0x5634ce){const _0x3812b9=_0x5aab;super(_0x10757b);const _0x1457a6=this[_0x3812b9(0xd8)];this[_0x3812b9(0xd9)](_0x3812b9(0xdf),''),this[_0x3812b9(0xe0)]({'tag':_0x3812b9(0xd6),'attributes':{..._0x5634ce,'class':[_0x3812b9(0xdb),_0x3812b9(0xdc)],'ctx-name':_0x3812b9(0xde),'cdn-url':_0x1457a6['to'](_0x3812b9(0xdf))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5c71e7,IconView as et,View as _0x3c7934}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x3c7934{constructor(_0x54485d){super(_0x54485d);const t=_0x54485d['t'];this['set']('errorType',null);const _0x146336=new _0x5c71e7(_0x54485d);_0x146336['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x146336['withText']=!0x0,_0x146336['class']='ck-button-action',_0x146336['on']('execute',()=>{this['fire']('retry');}),_0x146336['bind']('isVisible')['to'](this,'errorType',_0x1d059b=>'NotFound'!==_0x1d059b);const _0x203608=new et();_0x203608['content']=at,_0x203608['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x84f543=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':[_0x203608,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x84f543['to']('errorType',_0x59da11=>t('NotFound'!==_0x59da11?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x146336]},{'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{ButtonView as _0xfbe539,IconView as et,View as _0x542022}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x542022{constructor(_0x41c87d){super(_0x41c87d);const t=_0x41c87d['t'];this['set']('errorType',null);const _0x297ff4=new _0xfbe539(_0x41c87d);_0x297ff4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x297ff4['withText']=!0x0,_0x297ff4['class']='ck-button-action',_0x297ff4['on']('execute',()=>{this['fire']('retry');}),_0x297ff4['bind']('isVisible')['to'](this,'errorType',_0x15d4f5=>'NotFound'!==_0x15d4f5);const _0x2898e6=new et();_0x2898e6['content']=at,_0x2898e6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x55b39c=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':[_0x2898e6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x55b39c['to']('errorType',_0x3c02e6=>t('NotFound'!==_0x3c02e6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x297ff4]},{'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 _0x2ddba9,View as _0x56a036}from'ckeditor5/src/ui.js';export default class ta extends _0x56a036{constructor(_0x59fa83){super(_0x59fa83);const t=_0x59fa83['t'],_0x4294e8=this['bindTemplate'],_0xd28a13=new _0x2ddba9();_0xd28a13['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':[_0xd28a13,{'text':_0x4294e8['to']('imageUploadProgress',_0x1f4893=>t('Loading\x20image...')+'\x20('+(_0x1f4893||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 _0x345c08,View as _0x4e7d63}from'ckeditor5/src/ui.js';export default class ta extends _0x4e7d63{constructor(_0x5d01b8){super(_0x5d01b8);const t=_0x5d01b8['t'],_0x1ac49b=this['bindTemplate'],_0x551804=new _0x345c08();_0x551804['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':[_0x551804,{'text':_0x1ac49b['to']('imageUploadProgress',_0x3e0a3d=>t('Loading\x20image...')+'\x20('+(_0x3e0a3d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fff56=_0x4657;function _0x4143(){const _0x8fd52c=['status','filter','598780PozRgx','5989473bODUIi','_loadingView','cdnUrl','_focusableView','addEventListener','277036tJxEMc','setTemplate','disconnect','element','detail','cancel','createCollection','ck-reset_all-excluded','render','getFocusableElement','div','apply','change:status','addedNodes','querySelector','target','error','_items','_errorView','addMany','_setView','ready','nodeName','uc-cloud-image-editor','1065342lDtlbK','set','_addErrorViewListeners','toLowerCase','length','once','observe','ck-uploadcare-form','160804cCCeyA','retry','_addUploadcareImageEditorListeners','291509rIZIBH','clear','_editingView','_waitForImageEditorComponent','fire','add','uploading','3080412PCmPpy','focus'];_0x4143=function(){return _0x8fd52c;};return _0x4143();}(function(_0x21ce8e,_0x210d45){const _0x103c1c=_0x4657,_0x506f4f=_0x21ce8e();while(!![]){try{const _0x34b337=parseInt(_0x103c1c(0x18d))/0x1+-parseInt(_0x103c1c(0x19e))/0x2+-parseInt(_0x103c1c(0x182))/0x3+parseInt(_0x103c1c(0x18a))/0x4+parseInt(_0x103c1c(0x198))/0x5+-parseInt(_0x103c1c(0x194))/0x6+parseInt(_0x103c1c(0x199))/0x7;if(_0x34b337===_0x210d45)break;else _0x506f4f['push'](_0x506f4f['shift']());}catch(_0x1b6ffd){_0x506f4f['push'](_0x506f4f['shift']());}}}(_0x4143,0x49427));function _0x4657(_0x4fc748,_0x372bca){const _0x4143b7=_0x4143();return _0x4657=function(_0x4657a8,_0x3d43d7){_0x4657a8=_0x4657a8-0x182;let _0x406c30=_0x4143b7[_0x4657a8];return _0x406c30;},_0x4657(_0x4fc748,_0x372bca);}import{View as _0x447c12}from'ckeditor5/src/ui.js';import _0x2a5f18 from'./uploadcareimageeditformloadingview.js';import _0x27c7fe from'./uploadcareimageeditformerrorview.js';import _0x354b3a from'./uploadcareimageeditformeditingview.js';import _0x5a43db from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x5a43db{constructor(_0x258d9b,_0x222920,_0xf7542){const _0x177079=_0x4657;super(_0x258d9b),this[_0x177079(0x1af)]=this[_0x177079(0x1a4)](),this[_0x177079(0x19a)]=new _0x2a5f18(_0x258d9b),this[_0x177079(0x1b0)]=new _0x27c7fe(_0x258d9b),this[_0x177079(0x18f)]=new _0x354b3a(_0x258d9b,_0xf7542),this[_0x177079(0x19c)]=new _0x447c12(_0x258d9b),this[_0x177079(0x19c)][_0x177079(0x19f)](this[_0x177079(0x1a7)]()),this[_0x177079(0x183)](_0x177079(0x196),_0x222920),this[_0x177079(0x19f)]({'tag':_0x177079(0x1a8),'attributes':{'class':['ck',_0x177079(0x1a5),_0x177079(0x189)],'tabindex':'-1'},'children':this[_0x177079(0x1af)]}),this[_0x177079(0x1b2)](),this[_0x177079(0x187)](_0x177079(0x1a6),()=>{const _0x3ca5ff=_0x177079;this[_0x3ca5ff(0x190)](this[_0x3ca5ff(0x1a1)],_0x42c163=>{const _0x22e615=_0x3ca5ff;this[_0x22e615(0x18c)](_0x42c163);});}),this['on'](_0x177079(0x1aa),()=>{const _0x2ba937=_0x177079;this[_0x2ba937(0x1b2)]();}),this[_0x177079(0x184)]();}[_0x3fff56(0x195)](){const _0x117d0e=_0x3fff56;this[_0x117d0e(0x1a1)][_0x117d0e(0x195)]();}[_0x3fff56(0x1b2)](){const _0x3b6642=_0x3fff56;switch(this[_0x3b6642(0x1af)][_0x3b6642(0x18e)](),this[_0x3b6642(0x196)]){case _0x3b6642(0x193):this[_0x3b6642(0x1af)][_0x3b6642(0x192)](this[_0x3b6642(0x19a)]);break;case _0x3b6642(0x1ae):this[_0x3b6642(0x1af)][_0x3b6642(0x192)](this[_0x3b6642(0x1b0)]);break;case _0x3b6642(0x1b3):this[_0x3b6642(0x1af)][_0x3b6642(0x1b1)]([this[_0x3b6642(0x18f)],this[_0x3b6642(0x19c)]]);}}[_0x3fff56(0x190)](_0xe4dcd6,_0x212428){const _0x53e638=_0x3fff56,_0x14dc3c=_0x53e638(0x1b5),_0x1621d2=_0xe4dcd6[_0x53e638(0x1ac)](_0x14dc3c);if(_0x1621d2)return _0x212428(_0x1621d2);const _0x47b965=new MutationObserver(_0x311811=>{const _0x4aecdc=_0x53e638,_0x24a935=_0x311811[_0x4aecdc(0x197)](_0x5db054=>_0x5db054[_0x4aecdc(0x1ad)]===_0xe4dcd6&&_0x5db054[_0x4aecdc(0x1ab)][_0x4aecdc(0x186)]>0x0&&_0x5db054[_0x4aecdc(0x1ab)][0x0][_0x4aecdc(0x1b4)][_0x4aecdc(0x185)]()===_0x14dc3c);_0x24a935[_0x4aecdc(0x186)]&&(_0x47b965[_0x4aecdc(0x1a0)](),_0x212428(_0x24a935[0x0][_0x4aecdc(0x1ab)][0x0]));});_0x47b965[_0x53e638(0x188)](_0xe4dcd6,{'childList':!0x0,'subtree':!0x0});}[_0x3fff56(0x18c)](_0x312910){const _0x4bf35e=_0x3fff56;_0x312910[_0x4bf35e(0x19d)](_0x4bf35e(0x1a9),_0x3a8022=>{const _0x29fb84=_0x4bf35e;this[_0x29fb84(0x191)](_0x29fb84(0x1a9),{'imageSrc':_0x3a8022[_0x29fb84(0x1a2)][_0x29fb84(0x19b)]});}),_0x312910[_0x4bf35e(0x19d)](_0x4bf35e(0x1a3),()=>{const _0x3a9e6e=_0x4bf35e;this[_0x3a9e6e(0x191)](_0x3a9e6e(0x1a3));});}[_0x3fff56(0x184)](){const _0x15e6db=_0x3fff56;this[_0x15e6db(0x1b0)]['on'](_0x15e6db(0x18b),()=>{const _0x24996d=_0x15e6db;this[_0x24996d(0x191)](_0x24996d(0x18b));});}}
23
+ const _0x145df0=_0x1ac5;(function(_0x3fe7da,_0x34c5e4){const _0x52e2a3=_0x1ac5,_0x1f07c3=_0x3fe7da();while(!![]){try{const _0x3905f1=parseInt(_0x52e2a3(0xd6))/0x1+-parseInt(_0x52e2a3(0xd2))/0x2*(-parseInt(_0x52e2a3(0xfe))/0x3)+parseInt(_0x52e2a3(0xfb))/0x4+-parseInt(_0x52e2a3(0xfd))/0x5*(-parseInt(_0x52e2a3(0x101))/0x6)+-parseInt(_0x52e2a3(0xe1))/0x7+-parseInt(_0x52e2a3(0xe2))/0x8*(-parseInt(_0x52e2a3(0xe3))/0x9)+-parseInt(_0x52e2a3(0xe9))/0xa;if(_0x3905f1===_0x34c5e4)break;else _0x1f07c3['push'](_0x1f07c3['shift']());}catch(_0x11312a){_0x1f07c3['push'](_0x1f07c3['shift']());}}}(_0x4eba,0x8f3be));import{View as _0x16f02c}from'ckeditor5/src/ui.js';import _0x4e1d56 from'./uploadcareimageeditformloadingview.js';import _0x5e5654 from'./uploadcareimageeditformerrorview.js';import _0x3b5a76 from'./uploadcareimageeditformeditingview.js';import _0x5a6079 from'../../utils/dialogfocusmanagerview.js';function _0x4eba(){const _0x3b4e4a=['518568SeluUg','27oHCzWD','_items','ck-reset_all-excluded','getFocusableElement','setTemplate','_loadingView','15129070dETmDe','error','ready','addMany','once','focus','cancel','querySelector','clear','_focusableView','target','_addErrorViewListeners','apply','cdnUrl','_setView','status','fire','ck-uploadcare-form','2924196tgyxFy','observe','1845pwEZLp','3TZhjfW','div','disconnect','4404cBqXQY','_errorView','add','uc-cloud-image-editor','filter','render','addEventListener','toLowerCase','994852LnlfSh','createCollection','element','addedNodes','707450iHuAfb','change:status','length','set','nodeName','detail','_editingView','uploading','retry','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','2111487qFsmRs'];_0x4eba=function(){return _0x3b4e4a;};return _0x4eba();}function _0x1ac5(_0x348f48,_0x443684){const _0x4eba52=_0x4eba();return _0x1ac5=function(_0x1ac5a1,_0x55fb46){_0x1ac5a1=_0x1ac5a1-0xd2;let _0x68210b=_0x4eba52[_0x1ac5a1];return _0x68210b;},_0x1ac5(_0x348f48,_0x443684);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x5a6079{constructor(_0xb5e80c,_0x2e015f,_0x5612b4){const _0x52b6fb=_0x1ac5;super(_0xb5e80c),this[_0x52b6fb(0xe4)]=this[_0x52b6fb(0xd3)](),this[_0x52b6fb(0xe8)]=new _0x4e1d56(_0xb5e80c),this[_0x52b6fb(0x102)]=new _0x5e5654(_0xb5e80c),this[_0x52b6fb(0xdc)]=new _0x3b5a76(_0xb5e80c,_0x5612b4),this[_0x52b6fb(0xf2)]=new _0x16f02c(_0xb5e80c),this[_0x52b6fb(0xf2)][_0x52b6fb(0xe7)](this[_0x52b6fb(0xe6)]()),this[_0x52b6fb(0xd9)](_0x52b6fb(0xf8),_0x2e015f),this[_0x52b6fb(0xe7)]({'tag':_0x52b6fb(0xff),'attributes':{'class':['ck',_0x52b6fb(0xe5),_0x52b6fb(0xfa)],'tabindex':'-1'},'children':this[_0x52b6fb(0xe4)]}),this[_0x52b6fb(0xf7)](),this[_0x52b6fb(0xed)](_0x52b6fb(0x106),()=>{const _0x5380c5=_0x52b6fb;this[_0x5380c5(0xdf)](this[_0x5380c5(0xd4)],_0x3d2f07=>{const _0x78db33=_0x5380c5;this[_0x78db33(0xe0)](_0x3d2f07);});}),this['on'](_0x52b6fb(0xd7),()=>{const _0x15a1d8=_0x52b6fb;this[_0x15a1d8(0xf7)]();}),this[_0x52b6fb(0xf4)]();}[_0x145df0(0xee)](){const _0xa8a78f=_0x145df0;this[_0xa8a78f(0xd4)][_0xa8a78f(0xee)]();}[_0x145df0(0xf7)](){const _0x1576f0=_0x145df0;switch(this[_0x1576f0(0xe4)][_0x1576f0(0xf1)](),this[_0x1576f0(0xf8)]){case _0x1576f0(0xdd):this[_0x1576f0(0xe4)][_0x1576f0(0x103)](this[_0x1576f0(0xe8)]);break;case _0x1576f0(0xea):this[_0x1576f0(0xe4)][_0x1576f0(0x103)](this[_0x1576f0(0x102)]);break;case _0x1576f0(0xeb):this[_0x1576f0(0xe4)][_0x1576f0(0xec)]([this[_0x1576f0(0xdc)],this[_0x1576f0(0xf2)]]);}}[_0x145df0(0xdf)](_0x4ca6c5,_0x1d46b4){const _0x196236=_0x145df0,_0x2783cf=_0x196236(0x104),_0x29929=_0x4ca6c5[_0x196236(0xf0)](_0x2783cf);if(_0x29929)return _0x1d46b4(_0x29929);const _0x20faee=new MutationObserver(_0x44a7e3=>{const _0x98f610=_0x196236,_0x4140ac=_0x44a7e3[_0x98f610(0x105)](_0x8c190d=>_0x8c190d[_0x98f610(0xf3)]===_0x4ca6c5&&_0x8c190d[_0x98f610(0xd5)][_0x98f610(0xd8)]>0x0&&_0x8c190d[_0x98f610(0xd5)][0x0][_0x98f610(0xda)][_0x98f610(0x108)]()===_0x2783cf);_0x4140ac[_0x98f610(0xd8)]&&(_0x20faee[_0x98f610(0x100)](),_0x1d46b4(_0x4140ac[0x0][_0x98f610(0xd5)][0x0]));});_0x20faee[_0x196236(0xfc)](_0x4ca6c5,{'childList':!0x0,'subtree':!0x0});}[_0x145df0(0xe0)](_0x34d2b2){const _0x6cbc07=_0x145df0;_0x34d2b2[_0x6cbc07(0x107)](_0x6cbc07(0xf5),_0x169521=>{const _0x577f48=_0x6cbc07;this[_0x577f48(0xf9)](_0x577f48(0xf5),{'imageSrc':_0x169521[_0x577f48(0xdb)][_0x577f48(0xf6)]});}),_0x34d2b2[_0x6cbc07(0x107)](_0x6cbc07(0xef),()=>{const _0x590650=_0x6cbc07;this[_0x590650(0xf9)](_0x590650(0xef));});}[_0x145df0(0xf4)](){const _0x33244a=_0x145df0;this[_0x33244a(0x102)]['on'](_0x33244a(0xde),()=>{const _0x19638c=_0x33244a;this[_0x19638c(0xf9)](_0x19638c(0xde));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7cb08b=_0x2647;(function(_0x37a94c,_0xd3066){const _0x2d2e1b=_0x2647,_0x506a1e=_0x37a94c();while(!![]){try{const _0x54f765=-parseInt(_0x2d2e1b(0x19d))/0x1+parseInt(_0x2d2e1b(0x1a2))/0x2+-parseInt(_0x2d2e1b(0x19a))/0x3+-parseInt(_0x2d2e1b(0x1aa))/0x4*(-parseInt(_0x2d2e1b(0x1b0))/0x5)+parseInt(_0x2d2e1b(0x1ae))/0x6+parseInt(_0x2d2e1b(0x1a5))/0x7+-parseInt(_0x2d2e1b(0x1a8))/0x8;if(_0x54f765===_0xd3066)break;else _0x506a1e['push'](_0x506a1e['shift']());}catch(_0x36da72){_0x506a1e['push'](_0x506a1e['shift']());}}}(_0x2783,0x84e18));function _0x2783(){const _0x27781a=['model','447147JsbdpY','_isEditable','isActive','editor','element','1379566HAPHee','execute','requires','3559297fUYZTZ','imageEditController','get','11485032dfuTiW','isEnabled','4144348kWRkHp','imageBlock','unbind','config','5930478XpNglb','imageInline','5amxmQI','document','refresh','bind','selection','set','getSelectedElement','plugins','2387094lxJdws','uploadcare.allowExternalImagesEditing'];_0x2783=function(){return _0x27781a;};return _0x2783();}function _0x2647(_0x3ffd31,_0x493a81){const _0x2783fd=_0x2783();return _0x2647=function(_0x264764,_0x5d315c){_0x264764=_0x264764-0x195;let _0x1f0a09=_0x2783fd[_0x264764];return _0x1f0a09;},_0x2647(_0x3ffd31,_0x493a81);}import{Command as _0x17c6f9}from'ckeditor5/src/core.js';import{Dialog as _0x5044b9}from'ckeditor5/src/ui.js';import _0x51d790 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x52ffd9}from'../utils/editingutils.js';export default class V extends _0x17c6f9{static get[_0x7cb08b(0x1a4)](){return[_0x5044b9];}constructor(_0x1388d1){const _0xa2fde4=_0x7cb08b;super(_0x1388d1),this[_0xa2fde4(0x1a6)]=void 0x0,this[_0xa2fde4(0x19e)]=_0x52ffd9(_0x1388d1[_0xa2fde4(0x1ad)][_0xa2fde4(0x1a7)](_0xa2fde4(0x19b))||[]),this[_0xa2fde4(0x197)]({'isActive':!0x1});}[_0x7cb08b(0x1b2)](){const _0x243659=_0x7cb08b,_0x3b9806=this[_0x243659(0x1a0)][_0x243659(0x19c)][_0x243659(0x1b1)][_0x243659(0x196)][_0x243659(0x198)]();this[_0x243659(0x1a9)]=this[_0x243659(0x19e)](_0x3b9806);}[_0x7cb08b(0x1a3)](){const _0x472e53=_0x7cb08b;this[_0x472e53(0x1a6)]&&(this[_0x472e53(0x1ac)](_0x472e53(0x19f)),this[_0x472e53(0x1a6)]=void 0x0);const _0x596b5e=this[_0x472e53(0x1a0)][_0x472e53(0x19c)][_0x472e53(0x1b1)][_0x472e53(0x196)][_0x472e53(0x198)]();_0x596b5e&&(_0x596b5e['is'](_0x472e53(0x1a1),_0x472e53(0x1ab))||_0x596b5e['is'](_0x472e53(0x1a1),_0x472e53(0x1af)))&&(this[_0x472e53(0x1a6)]=new _0x51d790(this[_0x472e53(0x1a0)],this[_0x472e53(0x1a0)][_0x472e53(0x199)][_0x472e53(0x1a7)](_0x5044b9),_0x596b5e),this[_0x472e53(0x195)](_0x472e53(0x19f))['to'](this[_0x472e53(0x1a6)],_0x472e53(0x19f)));}}
23
+ const _0x67dd5e=_0x4dfc;function _0x5c14(){const _0x49e5bc=['10yaHulD','set','plugins','editor','_isEditable','imageBlock','30771rquTVd','get','uploadcare.allowExternalImagesEditing','30pkteTE','isActive','1515VYiyDh','document','605134EyiUJS','1424RUzbJm','config','imageInline','requires','256879AiSMix','selection','222cGcXzN','unbind','5154rEmWGa','bind','element','getSelectedElement','4772977fnkXGD','execute','model','imageEditController','34344648ryaDbU','isEnabled','refresh','2161928XHHNbQ'];_0x5c14=function(){return _0x49e5bc;};return _0x5c14();}(function(_0x508ec0,_0x3018bc){const _0x3dbf76=_0x4dfc,_0x15a80d=_0x508ec0();while(!![]){try{const _0x342cbd=parseInt(_0x3dbf76(0x168))/0x1+parseInt(_0x3dbf76(0x171))/0x2*(-parseInt(_0x3dbf76(0x166))/0x3)+parseInt(_0x3dbf76(0x15a))/0x4*(parseInt(_0x3dbf76(0x15b))/0x5)+parseInt(_0x3dbf76(0x16f))/0x6*(parseInt(_0x3dbf76(0x16d))/0x7)+parseInt(_0x3dbf76(0x169))/0x8*(parseInt(_0x3dbf76(0x161))/0x9)+parseInt(_0x3dbf76(0x164))/0xa*(parseInt(_0x3dbf76(0x175))/0xb)+-parseInt(_0x3dbf76(0x157))/0xc;if(_0x342cbd===_0x3018bc)break;else _0x15a80d['push'](_0x15a80d['shift']());}catch(_0x324c32){_0x15a80d['push'](_0x15a80d['shift']());}}}(_0x5c14,0xc10df));function _0x4dfc(_0x52e3f6,_0x1ffbce){const _0x5c1484=_0x5c14();return _0x4dfc=function(_0x4dfcad,_0x20ec57){_0x4dfcad=_0x4dfcad-0x157;let _0x418c46=_0x5c1484[_0x4dfcad];return _0x418c46;},_0x4dfc(_0x52e3f6,_0x1ffbce);}import{Command as _0x3086f0}from'ckeditor5/src/core.js';import{Dialog as _0x3bb1e3}from'ckeditor5/src/ui.js';import _0x34c8b0 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4a4551}from'../utils/editingutils.js';export default class J extends _0x3086f0{static get[_0x67dd5e(0x16c)](){return[_0x3bb1e3];}constructor(_0x2217e8){const _0x5101d3=_0x67dd5e;super(_0x2217e8),this[_0x5101d3(0x178)]=void 0x0,this[_0x5101d3(0x15f)]=_0x4a4551(_0x2217e8[_0x5101d3(0x16a)][_0x5101d3(0x162)](_0x5101d3(0x163))||[]),this[_0x5101d3(0x15c)]({'isActive':!0x1});}[_0x67dd5e(0x159)](){const _0x286186=_0x67dd5e,_0x52c6b3=this[_0x286186(0x15e)][_0x286186(0x177)][_0x286186(0x167)][_0x286186(0x16e)][_0x286186(0x174)]();this[_0x286186(0x158)]=this[_0x286186(0x15f)](_0x52c6b3);}[_0x67dd5e(0x176)](){const _0xeb336b=_0x67dd5e;this[_0xeb336b(0x178)]&&(this[_0xeb336b(0x170)](_0xeb336b(0x165)),this[_0xeb336b(0x178)]=void 0x0);const _0x43a612=this[_0xeb336b(0x15e)][_0xeb336b(0x177)][_0xeb336b(0x167)][_0xeb336b(0x16e)][_0xeb336b(0x174)]();_0x43a612&&(_0x43a612['is'](_0xeb336b(0x173),_0xeb336b(0x160))||_0x43a612['is'](_0xeb336b(0x173),_0xeb336b(0x16b)))&&(this[_0xeb336b(0x178)]=new _0x34c8b0(this[_0xeb336b(0x15e)],this[_0xeb336b(0x15e)][_0xeb336b(0x15d)][_0xeb336b(0x162)](_0x3bb1e3),_0x43a612),this[_0xeb336b(0x172)](_0xeb336b(0x165))['to'](this[_0xeb336b(0x178)],_0xeb336b(0x165)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c1689=_0x1810;(function(_0x27c5b4,_0x11b11e){const _0x82afe6=_0x1810,_0x18be1f=_0x27c5b4();while(!![]){try{const _0x154e64=parseInt(_0x82afe6(0x7a))/0x1*(-parseInt(_0x82afe6(0x6f))/0x2)+parseInt(_0x82afe6(0x72))/0x3+-parseInt(_0x82afe6(0x7b))/0x4*(-parseInt(_0x82afe6(0x77))/0x5)+-parseInt(_0x82afe6(0x7f))/0x6*(parseInt(_0x82afe6(0x76))/0x7)+parseInt(_0x82afe6(0x69))/0x8+-parseInt(_0x82afe6(0x6c))/0x9*(-parseInt(_0x82afe6(0x7c))/0xa)+parseInt(_0x82afe6(0x73))/0xb*(-parseInt(_0x82afe6(0x6a))/0xc);if(_0x154e64===_0x11b11e)break;else _0x18be1f['push'](_0x18be1f['shift']());}catch(_0x1040cf){_0x18be1f['push'](_0x18be1f['shift']());}}}(_0x5bb4,0xb6506));function _0x1810(_0x459a76,_0x14e019){const _0x5bb4ac=_0x5bb4();return _0x1810=function(_0x1810ae,_0x4a7e2b){_0x1810ae=_0x1810ae-0x68;let _0x1416c7=_0x5bb4ac[_0x1810ae];return _0x1416c7;},_0x1810(_0x459a76,_0x14e019);}function _0x5bb4(){const _0x14b2f7=['add','isOfficialPlugin','299726zTZTLZ','requires','uploadcareImageEdit','2759925sWKTkp','11YHEgmc','pluginName','UploadcareImageEditEditing','6363xhcLDz','10KawEDI','commands','uploadcareImageReplace','2yqnirw','1130860KViowu','36200BaWHHP','init','ImageUtils','2586szCrpc','isPremiumPlugin','3223528QKJjKV','5531316OpfLzA','ImageEditing','27IjVTRm'];_0x5bb4=function(){return _0x14b2f7;};return _0x5bb4();}import{Plugin as _0x7d14a2}from'ckeditor5/src/core.js';import{Notification as _0x189616}from'ckeditor5/src/ui.js';import _0x59f821 from'./uploadcareimageeditcommand.js';import _0x14a2b8 from'./uploadcareimagereplacecommand.js';import _0x3dbe70 from'../uploadcareediting.js';export default class m extends _0x7d14a2{static get[_0x4c1689(0x74)](){const _0x212c3e=_0x4c1689;return _0x212c3e(0x75);}static get[_0x4c1689(0x70)](){const _0x5baea5=_0x4c1689;return[_0x3dbe70,_0x189616,_0x5baea5(0x7e),_0x5baea5(0x6b)];}static get[_0x4c1689(0x6e)](){return!0x0;}static get[_0x4c1689(0x68)](){return!0x0;}[_0x4c1689(0x7d)](){const _0x3fe992=_0x4c1689,{editor:_0x484264}=this;_0x484264[_0x3fe992(0x78)][_0x3fe992(0x6d)](_0x3fe992(0x71),new _0x59f821(_0x484264)),_0x484264[_0x3fe992(0x78)][_0x3fe992(0x6d)](_0x3fe992(0x79),new _0x14a2b8(_0x484264));}}
23
+ const _0x3ee13a=_0x33ca;(function(_0x3bb7d1,_0x2c9365){const _0x5672bc=_0x33ca,_0x3bada8=_0x3bb7d1();while(!![]){try{const _0x56828b=-parseInt(_0x5672bc(0x152))/0x1*(-parseInt(_0x5672bc(0x15c))/0x2)+parseInt(_0x5672bc(0x149))/0x3*(-parseInt(_0x5672bc(0x145))/0x4)+-parseInt(_0x5672bc(0x153))/0x5*(parseInt(_0x5672bc(0x14d))/0x6)+-parseInt(_0x5672bc(0x148))/0x7+-parseInt(_0x5672bc(0x14f))/0x8*(-parseInt(_0x5672bc(0x150))/0x9)+-parseInt(_0x5672bc(0x14e))/0xa*(parseInt(_0x5672bc(0x156))/0xb)+-parseInt(_0x5672bc(0x159))/0xc*(-parseInt(_0x5672bc(0x15b))/0xd);if(_0x56828b===_0x2c9365)break;else _0x3bada8['push'](_0x3bada8['shift']());}catch(_0x28651f){_0x3bada8['push'](_0x3bada8['shift']());}}}(_0x5d0b,0xe17ea));function _0x5d0b(){const _0x4fe237=['3408rtkKyH','31212HlLWBR','ImageEditing','1NbyszV','38600CPLPWt','UploadcareImageEditEditing','uploadcareImageEdit','11dncAoC','isPremiumPlugin','add','12PIotHx','pluginName','37657503hWLyoU','1421362cdOjyx','requires','522884YaJjQe','uploadcareImageReplace','commands','8321159KTuaYr','24hyIyHo','ImageUtils','isOfficialPlugin','init','306TthyqS','15329290BMXaud'];_0x5d0b=function(){return _0x4fe237;};return _0x5d0b();}import{Plugin as _0x7ad494}from'ckeditor5/src/core.js';import{Notification as _0x3711d9}from'ckeditor5/src/ui.js';import _0x397241 from'./uploadcareimageeditcommand.js';function _0x33ca(_0x4134ad,_0x381469){const _0x5d0b06=_0x5d0b();return _0x33ca=function(_0x33cacf,_0x598716){_0x33cacf=_0x33cacf-0x145;let _0x3e8b4c=_0x5d0b06[_0x33cacf];return _0x3e8b4c;},_0x33ca(_0x4134ad,_0x381469);}import _0x2e782e from'./uploadcareimagereplacecommand.js';import _0x3921a5 from'../uploadcareediting.js';export default class m extends _0x7ad494{static get[_0x3ee13a(0x15a)](){const _0x173108=_0x3ee13a;return _0x173108(0x154);}static get[_0x3ee13a(0x15d)](){const _0x3eda99=_0x3ee13a;return[_0x3921a5,_0x3711d9,_0x3eda99(0x14a),_0x3eda99(0x151)];}static get[_0x3ee13a(0x14b)](){return!0x0;}static get[_0x3ee13a(0x157)](){return!0x0;}[_0x3ee13a(0x14c)](){const _0x534915=_0x3ee13a,{editor:_0x53ee4c}=this;_0x53ee4c[_0x534915(0x147)][_0x534915(0x158)](_0x534915(0x155),new _0x397241(_0x53ee4c)),_0x53ee4c[_0x534915(0x147)][_0x534915(0x158)](_0x534915(0x146),new _0x2e782e(_0x53ee4c));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3be000}from'ckeditor5/src/core.js';import{ButtonView as _0x411524}from'ckeditor5/src/ui.js';import{createElement as _0x3d3af6}from'ckeditor5/src/utils.js';import _0x15456c from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x3be000{constructor(){super(...arguments),this['_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 _0x1d2dc8=this['editor'];_0x1d2dc8['ui']['componentFactory']['add']('uploadcareImageEdit',_0x338afd=>{const _0x49a190=_0x1d2dc8['commands']['get']('uploadcareImageEdit'),_0x421593=new _0x411524(_0x338afd),t=_0x338afd['t'];return _0x421593['set']({'icon':_0x15456c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x421593['bind']('isEnabled')['to'](_0x49a190),_0x421593['bind']('isOn')['to'](_0x49a190,'isActive'),this['listenTo'](_0x421593,'execute',()=>{_0x1d2dc8['execute']('uploadcareImageEdit'),_0x1d2dc8['editing']['view']['focus']();}),_0x421593;}),this['_initConfig']();}['_initConfig'](){const _0x1cb7b2=_0x3d3af6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1cb7b2),this['listenTo'](this['editor'],'destroy',()=>{_0x1cb7b2['remove']();});}}
23
+ import{Plugin as _0xf1c169}from'ckeditor5/src/core.js';import{ButtonView as _0x165c79}from'ckeditor5/src/ui.js';import{createElement as _0x1bef4c}from'ckeditor5/src/utils.js';import _0x592236 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0xf1c169{constructor(){super(...arguments),this['_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 _0x3e3070=this['editor'];_0x3e3070['ui']['componentFactory']['add']('uploadcareImageEdit',_0x11f1e1=>{const _0x2c0805=_0x3e3070['commands']['get']('uploadcareImageEdit'),_0x39d847=new _0x165c79(_0x11f1e1),t=_0x11f1e1['t'];return _0x39d847['set']({'icon':_0x592236,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x39d847['bind']('isEnabled')['to'](_0x2c0805),_0x39d847['bind']('isOn')['to'](_0x2c0805,'isActive'),this['listenTo'](_0x39d847,'execute',()=>{_0x3e3070['execute']('uploadcareImageEdit'),_0x3e3070['editing']['view']['focus']();}),_0x39d847;}),this['_initConfig']();}['_initConfig'](){const _0xa2d3b2=_0x1bef4c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa2d3b2),this['listenTo'](this['editor'],'destroy',()=>{_0xa2d3b2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4487(_0x17a998,_0x10283e){const _0x3ba1f3=_0x3ba1();return _0x4487=function(_0x4487dc,_0x117692){_0x4487dc=_0x4487dc-0x65;let _0x174fc1=_0x3ba1f3[_0x4487dc];return _0x174fc1;},_0x4487(_0x17a998,_0x10283e);}const _0x3a069d=_0x4487;(function(_0x168ee9,_0x597b9c){const _0x4d95c3=_0x4487,_0x993b50=_0x168ee9();while(!![]){try{const _0x437a2b=-parseInt(_0x4d95c3(0x69))/0x1+-parseInt(_0x4d95c3(0x72))/0x2+-parseInt(_0x4d95c3(0x75))/0x3+-parseInt(_0x4d95c3(0x7a))/0x4+-parseInt(_0x4d95c3(0x78))/0x5+-parseInt(_0x4d95c3(0x6d))/0x6+-parseInt(_0x4d95c3(0x6c))/0x7*(-parseInt(_0x4d95c3(0x65))/0x8);if(_0x437a2b===_0x597b9c)break;else _0x993b50['push'](_0x993b50['shift']());}catch(_0x3effd7){_0x993b50['push'](_0x993b50['shift']());}}}(_0x3ba1,0x65f66));function _0x3ba1(){const _0x35b968=['424983ctqKHK','removeAttribute','setAttributes','84wWpnvn','4505400khFGAL','getSelectedElement','isEnabled','imageBlock','editor','964998oTgXKM','element','imageInline','931692wVPQPx','change','sizes','201725QtiriP','refresh','39884CxClxK','selection','model','1624600FHnZWM','document','srcset','execute'];_0x3ba1=function(){return _0x35b968;};return _0x3ba1();}import{Command as _0x12fec0}from'ckeditor5/src/core.js';export default class X extends _0x12fec0{[_0x3a069d(0x79)](){const _0x28855e=_0x3a069d,_0x377778=this[_0x28855e(0x71)][_0x28855e(0x7c)][_0x28855e(0x66)][_0x28855e(0x7b)][_0x28855e(0x6e)]();this[_0x28855e(0x6f)]=Boolean(_0x377778&&(_0x377778['is'](_0x28855e(0x73),_0x28855e(0x70))||_0x377778['is'](_0x28855e(0x73),_0x28855e(0x74))));}[_0x3a069d(0x68)](_0x399476){const _0xfbce3e=_0x3a069d,_0x303f19=this[_0xfbce3e(0x71)][_0xfbce3e(0x7c)][_0xfbce3e(0x66)][_0xfbce3e(0x7b)][_0xfbce3e(0x6e)]();this[_0xfbce3e(0x71)][_0xfbce3e(0x7c)][_0xfbce3e(0x76)](_0x5a4982=>{const _0x57e04f=_0xfbce3e;_0x5a4982[_0x57e04f(0x6b)](_0x399476,_0x303f19),_0x5a4982[_0x57e04f(0x6a)](_0x57e04f(0x67),_0x303f19),_0x5a4982[_0x57e04f(0x6a)](_0x57e04f(0x77),_0x303f19);});}}
23
+ function _0x4095(_0x114a5d,_0xaa4165){const _0x4a5e1f=_0x4a5e();return _0x4095=function(_0x409574,_0x5791ca){_0x409574=_0x409574-0xa0;let _0x5ef754=_0x4a5e1f[_0x409574];return _0x5ef754;},_0x4095(_0x114a5d,_0xaa4165);}const _0x38d2eb=_0x4095;(function(_0x1a9913,_0x240d5f){const _0x3092e8=_0x4095,_0x127e65=_0x1a9913();while(!![]){try{const _0x5f3ba5=parseInt(_0x3092e8(0xb7))/0x1+parseInt(_0x3092e8(0xad))/0x2+parseInt(_0x3092e8(0xa0))/0x3*(parseInt(_0x3092e8(0xb5))/0x4)+parseInt(_0x3092e8(0xa7))/0x5*(parseInt(_0x3092e8(0xb0))/0x6)+-parseInt(_0x3092e8(0xa2))/0x7*(-parseInt(_0x3092e8(0xac))/0x8)+-parseInt(_0x3092e8(0xb6))/0x9*(parseInt(_0x3092e8(0xb2))/0xa)+-parseInt(_0x3092e8(0xaa))/0xb;if(_0x5f3ba5===_0x240d5f)break;else _0x127e65['push'](_0x127e65['shift']());}catch(_0x571d2c){_0x127e65['push'](_0x127e65['shift']());}}}(_0x4a5e,0xe153f));function _0x4a5e(){const _0x105362=['sizes','2056zcsUxW','503352IpTEKX','getSelectedElement','setAttributes','6gRBTXx','editor','20mUYMAz','execute','refresh','2916092xrofIX','2760291CJeDNl','1514140hFjMdw','srcset','model','element','6xAJEzK','imageBlock','18102VLdNoi','change','removeAttribute','document','imageInline','7036505vuvPCl','isEnabled','selection','41353664EhdzWb'];_0x4a5e=function(){return _0x105362;};return _0x4a5e();}import{Command as _0x412092}from'ckeditor5/src/core.js';export default class O extends _0x412092{[_0x38d2eb(0xb4)](){const _0x16aa99=_0x38d2eb,_0x49d573=this[_0x16aa99(0xb1)][_0x16aa99(0xb9)][_0x16aa99(0xa5)][_0x16aa99(0xa9)][_0x16aa99(0xae)]();this[_0x16aa99(0xa8)]=Boolean(_0x49d573&&(_0x49d573['is'](_0x16aa99(0xba),_0x16aa99(0xa1))||_0x49d573['is'](_0x16aa99(0xba),_0x16aa99(0xa6))));}[_0x38d2eb(0xb3)](_0x32117a){const _0x362d89=_0x38d2eb,_0x3726ab=this[_0x362d89(0xb1)][_0x362d89(0xb9)][_0x362d89(0xa5)][_0x362d89(0xa9)][_0x362d89(0xae)]();this[_0x362d89(0xb1)][_0x362d89(0xb9)][_0x362d89(0xa3)](_0x37a6c3=>{const _0x2bfce1=_0x362d89;_0x37a6c3[_0x2bfce1(0xaf)](_0x32117a,_0x3726ab),_0x37a6c3[_0x2bfce1(0xa4)](_0x2bfce1(0xb8),_0x3726ab),_0x37a6c3[_0x2bfce1(0xa4)](_0x2bfce1(0xab),_0x3726ab);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x59b8d7=_0x5c31;(function(_0xce24a9,_0x5ad396){var _0x258ea9=_0x5c31,_0x5155ed=_0xce24a9();while(!![]){try{var _0x1be031=-parseInt(_0x258ea9(0x1de))/0x1+-parseInt(_0x258ea9(0x1dc))/0x2+-parseInt(_0x258ea9(0x1d7))/0x3+parseInt(_0x258ea9(0x1d6))/0x4+-parseInt(_0x258ea9(0x1d4))/0x5*(parseInt(_0x258ea9(0x1d5))/0x6)+-parseInt(_0x258ea9(0x1d8))/0x7*(-parseInt(_0x258ea9(0x1d9))/0x8)+parseInt(_0x258ea9(0x1da))/0x9;if(_0x1be031===_0x5ad396)break;else _0x5155ed['push'](_0x5155ed['shift']());}catch(_0x20ca14){_0x5155ed['push'](_0x5155ed['shift']());}}}(_0x34cb,0xd9b5e));import{Plugin as _0xe16dea}from'ckeditor5/src/core.js';function _0x5c31(_0x1a99a3,_0x5809b6){var _0x34cbde=_0x34cb();return _0x5c31=function(_0x5c31ae,_0x4b9ffa){_0x5c31ae=_0x5c31ae-0x1d1;var _0x59ba7d=_0x34cbde[_0x5c31ae];return _0x59ba7d;},_0x5c31(_0x1a99a3,_0x5809b6);}import _0x4f7b4b from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xdfbe0f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0xe16dea{static get[_0x59b8d7(0x1d2)](){var _0x4f0b85=_0x59b8d7;return _0x4f0b85(0x1d3);}static get[_0x59b8d7(0x1dd)](){return[_0x4f7b4b,_0xdfbe0f];}static get[_0x59b8d7(0x1d1)](){return!0x0;}static get[_0x59b8d7(0x1db)](){return!0x0;}}function _0x34cb(){var _0x30bd3a=['UploadcareImageEdit','1325ZGuate','25080XzQRbN','5523680VuSLYC','683661SqNzbz','2513fEoSiG','1520lcUySN','37345959cLvtvf','isPremiumPlugin','3332516RMUdah','requires','1705094TPSYKK','isOfficialPlugin','pluginName'];_0x34cb=function(){return _0x30bd3a;};return _0x34cb();}
23
+ function _0x18ad(_0x20a2e6,_0x171985){var _0x337da9=_0x337d();return _0x18ad=function(_0x18ad58,_0x31c435){_0x18ad58=_0x18ad58-0x1a4;var _0x175b30=_0x337da9[_0x18ad58];return _0x175b30;},_0x18ad(_0x20a2e6,_0x171985);}var _0x4106a0=_0x18ad;function _0x337d(){var _0x139bec=['3828318DDoJaz','4386624tcqlbU','isPremiumPlugin','9658593hPuWdl','5607776nNybTS','66580XsBlyX','10sKYIWt','7gVpUZf','pluginName','6VTSMCF','requires','UploadcareImageEdit','2068265LOQaHN','isOfficialPlugin','94401UtuQea'];_0x337d=function(){return _0x139bec;};return _0x337d();}(function(_0x18a4bc,_0x1888a5){var _0x1a42ce=_0x18ad,_0x606212=_0x18a4bc();while(!![]){try{var _0x4ea089=parseInt(_0x1a42ce(0x1af))/0x1+-parseInt(_0x1a42ce(0x1a4))/0x2*(-parseInt(_0x1a42ce(0x1a9))/0x3)+-parseInt(_0x1a42ce(0x1ab))/0x4+parseInt(_0x1a42ce(0x1a7))/0x5+parseInt(_0x1a42ce(0x1aa))/0x6*(-parseInt(_0x1a42ce(0x1b1))/0x7)+parseInt(_0x1a42ce(0x1ae))/0x8+parseInt(_0x1a42ce(0x1ad))/0x9*(parseInt(_0x1a42ce(0x1b0))/0xa);if(_0x4ea089===_0x1888a5)break;else _0x606212['push'](_0x606212['shift']());}catch(_0x966b3c){_0x606212['push'](_0x606212['shift']());}}}(_0x337d,0x95eba));import{Plugin as _0x8357df}from'ckeditor5/src/core.js';import _0x1423b7 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x346580 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x8357df{static get[_0x4106a0(0x1b2)](){var _0x2b4d93=_0x4106a0;return _0x2b4d93(0x1a6);}static get[_0x4106a0(0x1a5)](){return[_0x1423b7,_0x346580];}static get[_0x4106a0(0x1a8)](){return!0x0;}static get[_0x4106a0(0x1ac)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fcc00=_0x3511;(function(_0x3d3da7,_0x4f5a77){const _0xd0e4f3=_0x3511,_0x2f3a30=_0x3d3da7();while(!![]){try{const _0x257006=-parseInt(_0xd0e4f3(0xcb))/0x1+parseInt(_0xd0e4f3(0xcc))/0x2+-parseInt(_0xd0e4f3(0xdc))/0x3*(parseInt(_0xd0e4f3(0xb3))/0x4)+parseInt(_0xd0e4f3(0xcd))/0x5+parseInt(_0xd0e4f3(0xd4))/0x6*(parseInt(_0xd0e4f3(0xe4))/0x7)+-parseInt(_0xd0e4f3(0xbe))/0x8+parseInt(_0xd0e4f3(0xa4))/0x9;if(_0x257006===_0x4f5a77)break;else _0x2f3a30['push'](_0x2f3a30['shift']());}catch(_0x3380f3){_0x2f3a30['push'](_0x2f3a30['shift']());}}}(_0x22cb,0xdabca));import{Plugin as _0x584740,icons as _0x3f6ba4}from'ckeditor5/src/core.js';import{ButtonView as _0x16b2d7,MenuBarMenuListItemButtonView as _0x1b3e87}from'ckeditor5/src/ui.js';import _0x599828 from'../theme/icons/dropbox.svg';import _0x145275 from'../theme/icons/facebook.svg';import _0x32d3f9 from'../theme/icons/google-drive.svg';import _0x1bfaa6 from'../theme/icons/google-photos.svg';import _0x2b4492 from'../theme/icons/link.svg';import _0x1826bf from'../theme/icons/onedrive.svg';function _0x3511(_0x397413,_0x498f05){const _0x22cbb2=_0x22cb();return _0x3511=function(_0x3511b6,_0xf1fbf){_0x3511b6=_0x3511b6-0x9f;let _0x14cd5d=_0x22cbb2[_0x3511b6];return _0x14cd5d;},_0x3511(_0x397413,_0x498f05);}import{UploadcareSource as _0x1d8570}from'./uploadcareconfig.js';import{getTranslation as _0x36b965}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 default class e extends _0x584740{static get[_0x2fcc00(0xa6)](){const _0x13ed0a=_0x2fcc00;return _0x13ed0a(0xaf);}static get[_0x2fcc00(0xda)](){return!0x0;}static get[_0x2fcc00(0xd9)](){return!0x0;}[_0x2fcc00(0xb6)](){const _0x43be02=_0x2fcc00;this[_0x43be02(0xab)]=this[_0x43be02(0xa9)][_0x43be02(0xb7)][_0x43be02(0xe9)](_0x43be02(0xab));const _0x55a520=this[_0x43be02(0xa9)];this[_0x43be02(0xe6)]=setInterval(()=>{const _0x32e2d2=_0x43be02;let _0x5860fd;for(const _0x271900 in _0x55a520){const _0x1c2084=_0x271900,_0x5b3558=_0x55a520[_0x1c2084];if(_0x32e2d2(0xca)==_0x5b3558||_0x32e2d2(0xec)==_0x5b3558||_0x32e2d2(0xa5)==_0x5b3558||_0x32e2d2(0xb8)==_0x5b3558||_0x32e2d2(0xb1)==_0x5b3558||_0x32e2d2(0xe1)==_0x5b3558||_0x32e2d2(0xdd)==_0x5b3558||_0x32e2d2(0xcf)==_0x5b3558){delete _0x55a520[_0x1c2084],_0x5860fd=_0x5b3558,clearInterval(this[_0x32e2d2(0xe6)]),this[_0x32e2d2(0xe6)]=void 0x0;break;}}_0x32e2d2(0xec)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xa0)),_0x32e2d2(0xa5)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xd0)),_0x32e2d2(0xb8)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xbd)),_0x32e2d2(0xb1)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xc1),_0x32e2d2(0xc5)),_0x32e2d2(0xe1)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xd2)),_0x32e2d2(0xdd)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xea)),_0x32e2d2(0xcf)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xa8));},0x3e8);}[_0x2fcc00(0xae)](){const _0x542eb4=_0x2fcc00,{editor:_0x3058df}=this,_0x3959dd=_0x3058df[_0x542eb4(0xee)][_0x542eb4(0xe9)](_0x542eb4(0xbf));if(!_0x3959dd)return;const _0x54dd1c=this[_0x542eb4(0xe0)](_0x3058df[_0x542eb4(0xb7)][_0x542eb4(0xe9)](_0x542eb4(0xed)))[_0x542eb4(0xad)]((_0x17ca0b,_0x410b50)=>{const _0x41c6d3=_0x542eb4,_0x2262fe=this[_0x41c6d3(0xb4)](_0x410b50[_0x41c6d3(0xa3)]);return _0x17ca0b[_0x2262fe]||(_0x17ca0b[_0x2262fe]=[]),_0x17ca0b[_0x2262fe][_0x41c6d3(0xc4)](_0x410b50),_0x17ca0b;},{});_0x3058df[_0x542eb4(0xc8)][_0x542eb4(0xb9)](_0x542eb4(0x9f))&&_0x3058df[_0x542eb4(0xee)][_0x542eb4(0xe9)](_0x542eb4(0xbf))&&Object[_0x542eb4(0xc0)](_0x54dd1c)[_0x542eb4(0xc6)](([_0xa789b5,_0x1eff2c])=>{const _0x50fb76=_0x542eb4;_0x3058df[_0x50fb76(0xc8)][_0x50fb76(0xe9)](_0x50fb76(0x9f))[_0x50fb76(0xbb)]({'name':_0xa789b5,'observable':()=>_0x3959dd,'buttonViewCreator':()=>this[_0x50fb76(0xe3)](_0x1eff2c),'formViewCreator':()=>this[_0x50fb76(0xd6)](_0x1eff2c),'menuBarButtonViewCreator':()=>this[_0x50fb76(0xe8)](_0x1eff2c),'override':_0x50fb76(0xb0)!==_0xa789b5});});}[_0x2fcc00(0xd3)](){const _0x1c29ce=_0x2fcc00;super[_0x1c29ce(0xd3)](),this[_0x1c29ce(0xe6)]&&clearInterval(this[_0x1c29ce(0xe6)]);}[_0x2fcc00(0xe0)](_0x1fd20c){const _0x4a1acd=_0x2fcc00,{locale:_0xdd1d41}=this[_0x4a1acd(0xa9)];return _0x1fd20c[_0x4a1acd(0xd1)](_0x44c158=>{const _0xd8cb5e=_0x4a1acd,_0x7e8f72=_0x36b965(_0xdd1d41,_0x44c158,_0xd8cb5e(0xeb));switch(_0x44c158){case _0x1d8570[_0xd8cb5e(0xa2)]:return{'icon':_0x3f6ba4[_0xd8cb5e(0xc9)],'type':_0x1d8570[_0xd8cb5e(0xa2)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xd8)]:return{'icon':_0x2b4492,'type':_0x1d8570[_0xd8cb5e(0xd8)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xd7)]:return{'icon':_0x599828,'type':_0x1d8570[_0xd8cb5e(0xd7)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xbc)]:return{'icon':_0x145275,'type':_0x1d8570[_0xd8cb5e(0xbc)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xd5)]:return{'icon':_0x32d3f9,'type':_0x1d8570[_0xd8cb5e(0xd5)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xba)]:return{'icon':_0x1bfaa6,'type':_0x1d8570[_0xd8cb5e(0xba)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xe5)]:return{'icon':_0x1826bf,'type':_0x1d8570[_0xd8cb5e(0xe5)],..._0x7e8f72};}});}[_0x2fcc00(0xb4)](_0xe19ddc){const _0xb778c=_0x2fcc00;switch(_0xe19ddc){case _0x1d8570[_0xb778c(0xa2)]:return _0xb778c(0xa7);case _0x1d8570[_0xb778c(0xd8)]:return _0xb778c(0xde);default:return _0xb778c(0xb0);}}[_0x2fcc00(0xaa)](_0x1aa824,_0x4c71c7){const _0x2f71a4=_0x2fcc00,_0x530ec0=this[_0x2f71a4(0xa9)],_0x26d003=new _0x1aa824(_0x530ec0[_0x2f71a4(0xac)]),_0x3ecae9=_0x530ec0[_0x2f71a4(0xee)][_0x2f71a4(0xe9)](_0x2f71a4(0xbf));return _0x26d003[_0x2f71a4(0xe2)](_0x2f71a4(0xc2))['to'](_0x3ecae9),_0x26d003['on'](_0x2f71a4(0xb5),()=>{const _0x4c42d2=_0x2f71a4;_0x3ecae9[_0x4c42d2(0xb5)](_0x4c71c7);}),_0x26d003;}[_0x2fcc00(0xe3)](_0x4ec5a0){const _0x2cf683=_0x2fcc00,{locale:_0x22872a}=this[_0x2cf683(0xa9)],_0x4d8411=this[_0x2cf683(0xa9)][_0x2cf683(0xc8)][_0x2cf683(0xe9)](_0x2cf683(0x9f)),_0x1419c0=_0x4ec5a0[0x0],_0x4029b8=this[_0x2cf683(0xaa)](_0x16b2d7,_0x1419c0[_0x2cf683(0xa3)]);return _0x4029b8[_0x2cf683(0xdf)]=_0x1419c0[_0x2cf683(0xdf)],_0x4029b8[_0x2cf683(0xe2)](_0x2cf683(0xb2))['to'](_0x4d8411,_0x2cf683(0xa1),_0x774db=>_0x36b965(_0x22872a,_0x1419c0[_0x2cf683(0xa3)],_0x774db?_0x2cf683(0xce):_0x2cf683(0xeb))[_0x2cf683(0xe7)]),_0x4029b8[_0x2cf683(0xc3)]=!0x0,_0x4029b8;}[_0x2fcc00(0xd6)](_0x525402){const _0x426427=_0x2fcc00,{locale:_0x179f2c}=this[_0x426427(0xa9)],_0xf2c57d=this[_0x426427(0xa9)][_0x426427(0xc8)][_0x426427(0xe9)](_0x426427(0x9f));return _0x525402[_0x426427(0xd1)](_0x33c8c4=>{const _0x2f2d12=_0x426427,_0x52d452=this[_0x2f2d12(0xaa)](_0x16b2d7,_0x33c8c4[_0x2f2d12(0xa3)]);return _0x52d452[_0x2f2d12(0xdb)]=!0x0,_0x52d452[_0x2f2d12(0xdf)]=_0x33c8c4[_0x2f2d12(0xdf)],_0x52d452[_0x2f2d12(0xe2)](_0x2f2d12(0xb2))['to'](_0xf2c57d,_0x2f2d12(0xa1),_0x225799=>_0x36b965(_0x179f2c,_0x33c8c4[_0x2f2d12(0xa3)],_0x225799?_0x2f2d12(0xce):_0x2f2d12(0xeb))[_0x2f2d12(0xe7)]),_0x52d452;});}[_0x2fcc00(0xe8)](_0x2d4a9a){const _0x521ee6=_0x2fcc00;return _0x2d4a9a[_0x521ee6(0xd1)](_0x52f840=>{const _0x2c2ebf=_0x521ee6,_0x3dab71=this[_0x2c2ebf(0xaa)](_0x1b3e87,_0x52f840[_0x2c2ebf(0xa3)]);return _0x3dab71[_0x2c2ebf(0xdf)]=_0x52f840[_0x2c2ebf(0xdf)],_0x3dab71[_0x2c2ebf(0xb2)]=_0x52f840[_0x2c2ebf(0xef)],_0x3dab71;});}}function _0x22cb(){const _0x332329=['15654DnYeaM','GDrive','_createDropdownButtons','Dropbox','URL','isPremiumPlugin','isOfficialPlugin','withText','1221fKVgDq','uploadcareLicenseKeyTrialLimit','url','icon','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','bind','_createToolbarButton','182lilBmc','OneDrive','_licenseKeyCheckInterval','text','_createMenuBarButtons','get','trialLimit','Insert','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','commands','shortText','ImageInsertUI','invalid','isImageSelected','Local','type','5417577rzacvF','uploadcareLicenseKeyExpired','pluginName','upload','usageLimit','editor','_createButton','licenseKey','locale','reduce','afterInit','UploadcareUI','assetManager','uploadcareLicenseKeyNotAllowed','label','128KoBoys','_getIntegrationKey','execute','init','config','uploadcareLicenseKeyDomainLimit','has','GPhotos','registerIntegration','Facebook','domainLimit','9146840fdLJsp','uploadcare','entries','featureNotAllowed','isEnabled','tooltip','push','Uploadcare','forEach','_showLicenseError','plugins','imageUpload','uploadcareLicenseKeyValid','447950gGhjXa','438712LeOwMv','8055660lqAKcr','Replace','uploadcareLicenseKeyUsageLimit','expired','map','evaluationLimit','destroy'];_0x22cb=function(){return _0x332329;};return _0x22cb();}
23
+ const _0x1ae2ec=_0x3344;(function(_0xf84d1c,_0x3020ff){const _0x2fc9ad=_0x3344,_0x2902dd=_0xf84d1c();while(!![]){try{const _0x2f5d96=parseInt(_0x2fc9ad(0xf4))/0x1+parseInt(_0x2fc9ad(0xbd))/0x2+-parseInt(_0x2fc9ad(0xea))/0x3+parseInt(_0x2fc9ad(0xd9))/0x4+parseInt(_0x2fc9ad(0xb8))/0x5+parseInt(_0x2fc9ad(0xef))/0x6*(-parseInt(_0x2fc9ad(0xc4))/0x7)+-parseInt(_0x2fc9ad(0xeb))/0x8;if(_0x2f5d96===_0x3020ff)break;else _0x2902dd['push'](_0x2902dd['shift']());}catch(_0x1d71cf){_0x2902dd['push'](_0x2902dd['shift']());}}}(_0xaa35,0x65b0d));import{Plugin as _0x392b5d,icons as _0x57867c}from'ckeditor5/src/core.js';function _0x3344(_0x3f805a,_0x149771){const _0xaa358b=_0xaa35();return _0x3344=function(_0x33448d,_0x5ddbc8){_0x33448d=_0x33448d-0xa5;let _0x36c1f0=_0xaa358b[_0x33448d];return _0x36c1f0;},_0x3344(_0x3f805a,_0x149771);}import{ButtonView as _0xde019a,MenuBarMenuListItemButtonView as _0x2f4cf5}from'ckeditor5/src/ui.js';import _0x1c8666 from'../theme/icons/dropbox.svg';import _0xd4a7fd from'../theme/icons/facebook.svg';import _0x2abb18 from'../theme/icons/google-drive.svg';import _0x1d7492 from'../theme/icons/google-photos.svg';import _0x4ce2c2 from'../theme/icons/link.svg';import _0x140f76 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x2fceb1}from'./uploadcareconfig.js';import{getTranslation as _0x488e3b}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';function _0xaa35(){const _0x46a721=['plugins','entries','registerIntegration','Insert','url','isPremiumPlugin','reduce','uploadcareLicenseKeyExpired','isImageSelected','Local','assetManager','featureNotAllowed','_createDropdownButtons','1441941qZiXuS','3059056MlmGjA','expired','evaluationLimit','uploadcareLicenseKeyTrialLimit','43644WvplqH','text','locale','GPhotos','URL','296548YwciRS','uploadcareLicenseKeyDomainLimit','isEnabled','GDrive','has','isOfficialPlugin','_createMenuBarButtons','bind','config','type','domainLimit','upload','commands','afterInit','trialLimit','tooltip','OneDrive','push','Replace','uploadcareLicenseKeyInvalid','1095635IQfwJN','invalid','licenseKey','uploadcareLicenseKeyValid','pluginName','750932KJfVuB','UploadcareUI','map','uploadcare','shortText','icon','execute','357lQnnFk','_createToolbarButton','ImageInsertUI','_getIntegrationKey','uploadcare.uploader.sourceList','_normalizeConfigSourceList','uploadcareLicenseKeyUsageLimit','_createButton','Facebook','Uploadcare','_showLicenseError','imageUpload','usageLimit','label','forEach','_licenseKeyCheckInterval','uploadcareLicenseKeyNotAllowed','editor','destroy','get','withText','3037548WNoHIJ','uploadcareLicenseKeyEvaluationLimit','init','Dropbox'];_0xaa35=function(){return _0x46a721;};return _0xaa35();}export default class e extends _0x392b5d{static get[_0x1ae2ec(0xbc)](){const _0xe321b8=_0x1ae2ec;return _0xe321b8(0xbe);}static get[_0x1ae2ec(0xa9)](){return!0x0;}static get[_0x1ae2ec(0xe2)](){return!0x0;}[_0x1ae2ec(0xdb)](){const _0x486a65=_0x1ae2ec;this[_0x486a65(0xba)]=this[_0x486a65(0xd5)][_0x486a65(0xac)][_0x486a65(0xd7)](_0x486a65(0xba));const _0x183662=this[_0x486a65(0xd5)];this[_0x486a65(0xd3)]=setInterval(()=>{const _0x12f317=_0x486a65;let _0xfd0b78;for(const _0x4774e9 in _0x183662){const _0x51b596=_0x4774e9,_0x25d436=_0x183662[_0x51b596];if(_0x12f317(0xbb)==_0x25d436||_0x12f317(0xb7)==_0x25d436||_0x12f317(0xe4)==_0x25d436||_0x12f317(0xa5)==_0x25d436||_0x12f317(0xd4)==_0x25d436||_0x12f317(0xda)==_0x25d436||_0x12f317(0xee)==_0x25d436||_0x12f317(0xca)==_0x25d436){delete _0x183662[_0x51b596],_0xfd0b78=_0x25d436,clearInterval(this[_0x12f317(0xd3)]),this[_0x12f317(0xd3)]=void 0x0;break;}}_0x12f317(0xb7)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xb9)),_0x12f317(0xe4)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xec)),_0x12f317(0xa5)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xae)),_0x12f317(0xd4)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xe8),_0x12f317(0xcd)),_0x12f317(0xda)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xed)),_0x12f317(0xee)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xb2)),_0x12f317(0xca)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xd0));},0x3e8);}[_0x1ae2ec(0xb1)](){const _0x299659=_0x1ae2ec,{editor:_0x367ed0}=this,_0x3f73ef=_0x367ed0[_0x299659(0xb0)][_0x299659(0xd7)](_0x299659(0xc0));if(!_0x3f73ef)return;const _0x4dd8e5=this[_0x299659(0xc9)](_0x367ed0[_0x299659(0xac)][_0x299659(0xd7)](_0x299659(0xc8)))[_0x299659(0xe3)]((_0x3fa768,_0x44f412)=>{const _0x31f1a3=_0x299659,_0x5c9609=this[_0x31f1a3(0xc7)](_0x44f412[_0x31f1a3(0xad)]);return _0x3fa768[_0x5c9609]||(_0x3fa768[_0x5c9609]=[]),_0x3fa768[_0x5c9609][_0x31f1a3(0xb5)](_0x44f412),_0x3fa768;},{});_0x367ed0[_0x299659(0xdd)][_0x299659(0xa8)](_0x299659(0xc6))&&_0x367ed0[_0x299659(0xb0)][_0x299659(0xd7)](_0x299659(0xc0))&&Object[_0x299659(0xde)](_0x4dd8e5)[_0x299659(0xd2)](([_0x7d6ae,_0x2952bd])=>{const _0x329ec8=_0x299659;_0x367ed0[_0x329ec8(0xdd)][_0x329ec8(0xd7)](_0x329ec8(0xc6))[_0x329ec8(0xdf)]({'name':_0x7d6ae,'observable':()=>_0x3f73ef,'buttonViewCreator':()=>this[_0x329ec8(0xc5)](_0x2952bd),'formViewCreator':()=>this[_0x329ec8(0xe9)](_0x2952bd),'menuBarButtonViewCreator':()=>this[_0x329ec8(0xaa)](_0x2952bd),'override':_0x329ec8(0xe7)!==_0x7d6ae});});}[_0x1ae2ec(0xd6)](){const _0x5ca386=_0x1ae2ec;super[_0x5ca386(0xd6)](),this[_0x5ca386(0xd3)]&&clearInterval(this[_0x5ca386(0xd3)]);}[_0x1ae2ec(0xc9)](_0x3b4ae0){const _0x566de4=_0x1ae2ec,{locale:_0x538e8d}=this[_0x566de4(0xd5)];return _0x3b4ae0[_0x566de4(0xbf)](_0xc7b807=>{const _0x322c55=_0x566de4,_0x21710a=_0x488e3b(_0x538e8d,_0xc7b807,_0x322c55(0xe0));switch(_0xc7b807){case _0x2fceb1[_0x322c55(0xe6)]:return{'icon':_0x57867c[_0x322c55(0xcf)],'type':_0x2fceb1[_0x322c55(0xe6)],..._0x21710a};case _0x2fceb1[_0x322c55(0xf3)]:return{'icon':_0x4ce2c2,'type':_0x2fceb1[_0x322c55(0xf3)],..._0x21710a};case _0x2fceb1[_0x322c55(0xdc)]:return{'icon':_0x1c8666,'type':_0x2fceb1[_0x322c55(0xdc)],..._0x21710a};case _0x2fceb1[_0x322c55(0xcc)]:return{'icon':_0xd4a7fd,'type':_0x2fceb1[_0x322c55(0xcc)],..._0x21710a};case _0x2fceb1[_0x322c55(0xa7)]:return{'icon':_0x2abb18,'type':_0x2fceb1[_0x322c55(0xa7)],..._0x21710a};case _0x2fceb1[_0x322c55(0xf2)]:return{'icon':_0x1d7492,'type':_0x2fceb1[_0x322c55(0xf2)],..._0x21710a};case _0x2fceb1[_0x322c55(0xb4)]:return{'icon':_0x140f76,'type':_0x2fceb1[_0x322c55(0xb4)],..._0x21710a};}});}[_0x1ae2ec(0xc7)](_0x55a5d7){const _0x2fcf45=_0x1ae2ec;switch(_0x55a5d7){case _0x2fceb1[_0x2fcf45(0xe6)]:return _0x2fcf45(0xaf);case _0x2fceb1[_0x2fcf45(0xf3)]:return _0x2fcf45(0xe1);default:return _0x2fcf45(0xe7);}}[_0x1ae2ec(0xcb)](_0x1d58c0,_0x3c720a){const _0x392af4=_0x1ae2ec,_0x54232e=this[_0x392af4(0xd5)],_0x167f86=new _0x1d58c0(_0x54232e[_0x392af4(0xf1)]),_0x4ce1d4=_0x54232e[_0x392af4(0xb0)][_0x392af4(0xd7)](_0x392af4(0xc0));return _0x167f86[_0x392af4(0xab)](_0x392af4(0xa6))['to'](_0x4ce1d4),_0x167f86['on'](_0x392af4(0xc3),()=>{const _0x2fd0fb=_0x392af4;_0x4ce1d4[_0x2fd0fb(0xc3)](_0x3c720a);}),_0x167f86;}[_0x1ae2ec(0xc5)](_0xe746ca){const _0x3adbc2=_0x1ae2ec,{locale:_0x1f8faf}=this[_0x3adbc2(0xd5)],_0x25a2fb=this[_0x3adbc2(0xd5)][_0x3adbc2(0xdd)][_0x3adbc2(0xd7)](_0x3adbc2(0xc6)),_0x4f95f8=_0xe746ca[0x0],_0x175f31=this[_0x3adbc2(0xcb)](_0xde019a,_0x4f95f8[_0x3adbc2(0xad)]);return _0x175f31[_0x3adbc2(0xc2)]=_0x4f95f8[_0x3adbc2(0xc2)],_0x175f31[_0x3adbc2(0xab)](_0x3adbc2(0xd1))['to'](_0x25a2fb,_0x3adbc2(0xe5),_0xa2566b=>_0x488e3b(_0x1f8faf,_0x4f95f8[_0x3adbc2(0xad)],_0xa2566b?_0x3adbc2(0xb6):_0x3adbc2(0xe0))[_0x3adbc2(0xf0)]),_0x175f31[_0x3adbc2(0xb3)]=!0x0,_0x175f31;}[_0x1ae2ec(0xe9)](_0x5c531f){const _0x131e95=_0x1ae2ec,{locale:_0x3a5c82}=this[_0x131e95(0xd5)],_0x1aa6f5=this[_0x131e95(0xd5)][_0x131e95(0xdd)][_0x131e95(0xd7)](_0x131e95(0xc6));return _0x5c531f[_0x131e95(0xbf)](_0x1ad1e4=>{const _0x363fb4=_0x131e95,_0x2a164c=this[_0x363fb4(0xcb)](_0xde019a,_0x1ad1e4[_0x363fb4(0xad)]);return _0x2a164c[_0x363fb4(0xd8)]=!0x0,_0x2a164c[_0x363fb4(0xc2)]=_0x1ad1e4[_0x363fb4(0xc2)],_0x2a164c[_0x363fb4(0xab)](_0x363fb4(0xd1))['to'](_0x1aa6f5,_0x363fb4(0xe5),_0x1d3dd6=>_0x488e3b(_0x3a5c82,_0x1ad1e4[_0x363fb4(0xad)],_0x1d3dd6?_0x363fb4(0xb6):_0x363fb4(0xe0))[_0x363fb4(0xf0)]),_0x2a164c;});}[_0x1ae2ec(0xaa)](_0x55bf9d){const _0x4bc53f=_0x1ae2ec;return _0x55bf9d[_0x4bc53f(0xbf)](_0x2520ba=>{const _0x423693=_0x4bc53f,_0x4107f2=this[_0x423693(0xcb)](_0x2f4cf5,_0x2520ba[_0x423693(0xad)]);return _0x4107f2[_0x423693(0xc2)]=_0x2520ba[_0x423693(0xc2)],_0x4107f2[_0x423693(0xd1)]=_0x2520ba[_0x423693(0xc1)],_0x4107f2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3c6d95}from'ckeditor5/src/core.js';import{FileRepository as _0x558c9f}from'ckeditor5/src/upload.js';import _0x5e460f from'./uploadcareediting.js';import _0x4498d5 from'./utils/uploadutils.js';import{getImageUrls as _0x535c33}from'./utils/editingutils.js';export default class f extends _0x3c6d95{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x558c9f,_0x5e460f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2d88ee=this['editor'];if(!!!_0x2d88ee['config']['get']('uploadcare'))return;_0x2d88ee['plugins']['get'](_0x558c9f)['createUploadAdapter']=_0x3fd4f6=>new E(_0x3fd4f6,_0x2d88ee),_0x2d88ee['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5f0c83,{imageElement:_0x6ff138,data:_0xcb5d2f})=>{_0x2d88ee['model']['change'](_0xca0a85=>{_0xca0a85['setAttribute']('uploadcareImageId',_0xcb5d2f['uploadcareImageId'],_0x6ff138);});});}}class E{constructor(_0x1cfe21,_0x173d59){this['loader']=_0x1cfe21,this['editor']=_0x173d59,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d4500=this['editor']['config']['get']('uploadcare.pubkey'),_0x3c7dab=await this['loader']['file'];return _0x4498d5['upload']({'file':_0x3c7dab,'publicKey':_0x5d4500,'signal':this['controller']['signal'],'onProgress':_0x1d8a31=>{_0x1d8a31&&_0x1d8a31['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1d8a31['value']);}})['then'](async _0x77410=>{const {imageFallbackUrl:_0x20d72e,imageSources:_0x3a30d8}=_0x535c33(_0x77410['cdnUrl'],_0x77410['imageInfo']['width']);return{'uploadcareImageId':_0x77410['uuid'],'default':_0x20d72e,'sources':_0x3a30d8};})['catch'](()=>{const _0x54c5fc=t('Cannot\x20upload\x20file:')+('\x20'+_0x3c7dab['name']+'.');return Promise['reject'](_0x54c5fc);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x538e66}from'ckeditor5/src/core.js';import{FileRepository as _0x34c1cb}from'ckeditor5/src/upload.js';import _0x5476fc from'./uploadcareediting.js';import _0x78f0f4 from'./utils/uploadutils.js';import{getImageUrls as _0x406128}from'./utils/editingutils.js';export default class f extends _0x538e66{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x34c1cb,_0x5476fc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x61a3f3=this['editor'];if(!!!_0x61a3f3['config']['get']('uploadcare'))return;_0x61a3f3['plugins']['get'](_0x34c1cb)['createUploadAdapter']=_0xfd6fd8=>new E(_0xfd6fd8,_0x61a3f3),_0x61a3f3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2217c1,{imageElement:_0x34939a,data:_0x513b47})=>{_0x61a3f3['model']['change'](_0x4aa697=>{_0x4aa697['setAttribute']('uploadcareImageId',_0x513b47['uploadcareImageId'],_0x34939a);});});}}class E{constructor(_0x234153,_0x121ba0){this['loader']=_0x234153,this['editor']=_0x121ba0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3656b1=this['editor']['config']['get']('uploadcare.pubkey'),_0x3925b2=await this['loader']['file'];return _0x78f0f4['upload']({'file':_0x3925b2,'publicKey':_0x3656b1,'signal':this['controller']['signal'],'onProgress':_0x9da451=>{_0x9da451&&_0x9da451['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x9da451['value']);}})['then'](async _0x284f71=>{const {imageFallbackUrl:_0x4507e3,imageSources:_0x13964b}=_0x406128(_0x284f71['cdnUrl'],_0x284f71['imageInfo']['width']);return{'uploadcareImageId':_0x284f71['uuid'],'default':_0x4507e3,'sources':_0x13964b};})['catch'](()=>{const _0x26730e=t('Cannot\x20upload\x20file:')+('\x20'+_0x3925b2['name']+'.');return Promise['reject'](_0x26730e);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5ddfe1}from'../uploadcareconfig.js';export function getTranslation(_0x5887bf,_0x409a6f,_0x84df8d){const t=_0x5887bf['t'],_0x48de89=_0x5887bf['t'];switch(_0x409a6f){case _0x5ddfe1['Local']:return{'text':_0x48de89('Insert'===_0x84df8d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x48de89('From\x20computer')};case _0x5ddfe1['URL']:return{'text':'Insert'===_0x84df8d?_0x48de89('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x48de89('Via\x20URL')};case _0x5ddfe1['Dropbox']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5ddfe1['Facebook']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5ddfe1['GDrive']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5ddfe1['GPhotos']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5ddfe1['OneDrive']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x409a6f;}}
23
+ import{UploadcareSource as _0x58d979}from'../uploadcareconfig.js';export function getTranslation(_0x5e182f,_0x503e17,_0x548fe8){const t=_0x5e182f['t'],_0x879f3f=_0x5e182f['t'];switch(_0x503e17){case _0x58d979['Local']:return{'text':_0x879f3f('Insert'===_0x548fe8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x879f3f('From\x20computer')};case _0x58d979['URL']:return{'text':'Insert'===_0x548fe8?_0x879f3f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x879f3f('Via\x20URL')};case _0x58d979['Dropbox']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x58d979['Facebook']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x58d979['GDrive']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x58d979['GPhotos']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x58d979['OneDrive']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x503e17;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1f4779=_0x40e0;(function(_0x5e272a,_0x3bf4cb){var _0x5412c7=_0x40e0,_0xf8c507=_0x5e272a();while(!![]){try{var _0x302dee=-parseInt(_0x5412c7(0x10d))/0x1+parseInt(_0x5412c7(0x102))/0x2*(parseInt(_0x5412c7(0x109))/0x3)+-parseInt(_0x5412c7(0xff))/0x4*(parseInt(_0x5412c7(0x100))/0x5)+parseInt(_0x5412c7(0x105))/0x6*(parseInt(_0x5412c7(0x101))/0x7)+parseInt(_0x5412c7(0x104))/0x8+-parseInt(_0x5412c7(0x10a))/0x9+parseInt(_0x5412c7(0x10c))/0xa;if(_0x302dee===_0x3bf4cb)break;else _0xf8c507['push'](_0xf8c507['shift']());}catch(_0x396448){_0xf8c507['push'](_0xf8c507['shift']());}}}(_0x3bb2,0x306c6));import{FocusTracker as _0x12ade8}from'ckeditor5/src/utils.js';import{View as _0x3101eb,FocusCycler as _0x5266af}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x3bb2(){var _0x5577df=['fire','1120611HEWuOf','573597evKvIw','div','727430aVywgR','93877OwmSjD','createCollection','bindTemplate','forwardCycle','getFocusableElement','27876OGuHgH','195KtYiEe','2765UttlgG','2RDOKjY','focusCycler','649064mIMHoy','1524DAvseb','true','focusTracker'];_0x3bb2=function(){return _0x5577df;};return _0x3bb2();}function _0x40e0(_0x1cb3a8,_0x3444c7){var _0x3bb269=_0x3bb2();return _0x40e0=function(_0x40e058,_0x2b6824){_0x40e058=_0x40e058-0xfe;var _0x215a19=_0x3bb269[_0x40e058];return _0x215a19;},_0x40e0(_0x1cb3a8,_0x3444c7);}export default class q extends _0x3101eb{constructor(_0x83c166){var _0x46375a=_0x40e0;super(_0x83c166),this[_0x46375a(0x107)]=new _0x12ade8(),this[_0x46375a(0x103)]=new _0x5266af({'focusables':this[_0x46375a(0x10e)](),'focusTracker':this[_0x46375a(0x107)]});}[_0x1f4779(0xfe)](){var _0x11acfd=_0x1f4779;return{'tag':_0x11acfd(0x10b),'attributes':{'aria-hidden':_0x11acfd(0x106),'tabindex':'0'},'on':{'focus':this[_0x11acfd(0x10f)]['to'](()=>{var _0xb2f7f8=_0x11acfd;this[_0xb2f7f8(0x103)][_0xb2f7f8(0x108)](_0xb2f7f8(0x110));})}};}}
23
+ var _0x2f7d8d=_0x167c;(function(_0x4ccebe,_0x47ea53){var _0x4c6af9=_0x167c,_0x3c4a9f=_0x4ccebe();while(!![]){try{var _0x316d8a=parseInt(_0x4c6af9(0x182))/0x1*(parseInt(_0x4c6af9(0x181))/0x2)+parseInt(_0x4c6af9(0x17a))/0x3*(parseInt(_0x4c6af9(0x18b))/0x4)+parseInt(_0x4c6af9(0x17d))/0x5*(parseInt(_0x4c6af9(0x180))/0x6)+-parseInt(_0x4c6af9(0x17c))/0x7*(parseInt(_0x4c6af9(0x186))/0x8)+parseInt(_0x4c6af9(0x179))/0x9+parseInt(_0x4c6af9(0x17b))/0xa+parseInt(_0x4c6af9(0x188))/0xb*(-parseInt(_0x4c6af9(0x189))/0xc);if(_0x316d8a===_0x47ea53)break;else _0x3c4a9f['push'](_0x3c4a9f['shift']());}catch(_0x35fb20){_0x3c4a9f['push'](_0x3c4a9f['shift']());}}}(_0x2d99,0x81860));import{FocusTracker as _0xd3d487}from'ckeditor5/src/utils.js';import{View as _0x515a23,FocusCycler as _0x2d65b8}from'ckeditor5/src/ui.js';function _0x167c(_0x67748c,_0x1ad9a5){var _0x2d99de=_0x2d99();return _0x167c=function(_0x167ce5,_0x5a4564){_0x167ce5=_0x167ce5-0x178;var _0x4e920e=_0x2d99de[_0x167ce5];return _0x4e920e;},_0x167c(_0x67748c,_0x1ad9a5);}import'../../theme/uploadcare-form.css';function _0x2d99(){var _0x29a76b=['4gkjvIK','focusCycler','div','7993044jwCPxD','2746959rMzMZV','3723860kwWoQi','7pqtPiV','199695bUyyIB','bindTemplate','createCollection','30BSjrMo','42FzXSja','11168TktHmo','true','focusTracker','forwardCycle','2246872ccfSKD','getFocusableElement','50611GoAjIf','4692YyfqqU','fire'];_0x2d99=function(){return _0x29a76b;};return _0x2d99();}export default class q extends _0x515a23{constructor(_0x17b2b8){var _0x3e81c8=_0x167c;super(_0x17b2b8),this[_0x3e81c8(0x184)]=new _0xd3d487(),this[_0x3e81c8(0x18c)]=new _0x2d65b8({'focusables':this[_0x3e81c8(0x17f)](),'focusTracker':this[_0x3e81c8(0x184)]});}[_0x2f7d8d(0x187)](){var _0x1568eb=_0x2f7d8d;return{'tag':_0x1568eb(0x178),'attributes':{'aria-hidden':_0x1568eb(0x183),'tabindex':'0'},'on':{'focus':this[_0x1568eb(0x17e)]['to'](()=>{var _0x5e0325=_0x1568eb;this[_0x5e0325(0x18c)][_0x5e0325(0x18a)](_0x5e0325(0x185));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x9135fc,_0x41be96){const _0x328de2=_0x41de,_0x58486a=_0x9135fc();while(!![]){try{const _0x199043=parseInt(_0x328de2(0x96))/0x1+parseInt(_0x328de2(0x90))/0x2*(-parseInt(_0x328de2(0xb6))/0x3)+parseInt(_0x328de2(0x99))/0x4+parseInt(_0x328de2(0x93))/0x5+parseInt(_0x328de2(0xbf))/0x6+parseInt(_0x328de2(0xb4))/0x7+parseInt(_0x328de2(0xaf))/0x8*(-parseInt(_0x328de2(0xa3))/0x9);if(_0x199043===_0x41be96)break;else _0x58486a['push'](_0x58486a['shift']());}catch(_0x1e0026){_0x58486a['push'](_0x58486a['shift']());}}}(_0x3138,0x99f9b));function _0x41de(_0x303b0a,_0x594604){const _0x3138cf=_0x3138();return _0x41de=function(_0x41dedf,_0x5e18fa){_0x41dedf=_0x41dedf-0x8a;let _0xfae462=_0x3138cf[_0x41dedf];return _0xfae462;},_0x41de(_0x303b0a,_0x594604);}import{global as _0x3b7caa,DomEmitterMixin as _0x5441f0}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0xdc774){const _0x283d57=_0x41de,_0x414f02=R(_0xdc774);return _0x3daa6d=>!(!_0x3daa6d||!_0x3daa6d['is'](_0x283d57(0xb8),_0x283d57(0xb3))&&!_0x3daa6d['is'](_0x283d57(0xb8),_0x283d57(0x8f)))&&(!!_0x3daa6d[_0x283d57(0xa9)](_0x283d57(0xb9))||!!_0x3daa6d[_0x283d57(0xa9)](_0x283d57(0x9f))&&_0x414f02(_0x3daa6d[_0x283d57(0xbc)](_0x283d57(0x9f))));}export function getImageUrls(_0x3ed1e1,_0x48ab32){const _0x51bdce=_0x41de,_0x426b83=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x51bdce(0xa7)](_0x133f7e=>_0x133f7e<=_0x48ab32)[_0x51bdce(0xc1)](_0x3ec04b=>_0x3ed1e1[_0x51bdce(0xa0)](/\/$/,'')+_0x51bdce(0x9b)+_0x3ec04b+_0x51bdce(0x9e)+_0x3ec04b+'w');return{'imageFallbackUrl':_0x3ed1e1,'imageSources':[{'srcset':_0x426b83[_0x51bdce(0xae)](',\x20'),'sizes':_0x51bdce(0xad)+_0x48ab32+_0x51bdce(0xb1)+_0x48ab32+'px','type':_0x51bdce(0x8b)}]};}export function getImageDimension(_0x3a910d,_0x2038f1,_0x3d8a17){const _0x2e8fe6=_0x41de,_0x3d2096=_0x3a910d[_0x2e8fe6(0xab)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3d2096?parseInt(_0x3d2096[0x1],0xa):_0x2038f1,'height':_0x3d2096?parseInt(_0x3d2096[0x2],0xa):_0x3d8a17};}export function showImageProcessingIndicator(_0x544924,_0x343235){const _0x43a6bf=_0x41de,_0x1616e6=Object[_0x43a6bf(0x9d)](_0x5441f0),_0x33185d=_0x544924[_0x43a6bf(0xb5)][_0x43a6bf(0xbe)](_0x43a6bf(0xa6)),_0x23e8ff=_0x544924[_0x43a6bf(0x9c)][_0x43a6bf(0xac)][_0x43a6bf(0xbd)](_0x343235),_0x4cdde6=_0x33185d[_0x43a6bf(0xa4)](_0x23e8ff),_0x8b9fb6=_0x544924[_0x43a6bf(0x9c)][_0x43a6bf(0xa5)][_0x43a6bf(0xc0)][_0x43a6bf(0xa1)](_0x4cdde6),_0x31a4c6=_0x343235[_0x43a6bf(0xbc)](_0x43a6bf(0x94)),_0x46d520=_0x343235[_0x43a6bf(0xbc)](_0x43a6bf(0x97)),_0x3721da=_0x43a6bf(0xaa);_0x544924[_0x43a6bf(0x9c)][_0x43a6bf(0xa5)][_0x43a6bf(0x8d)](_0x27ef43=>{const _0x43752=_0x43a6bf;_0x27ef43[_0x43752(0x9a)](_0x3721da,_0x23e8ff),_0x27ef43[_0x43752(0x91)](_0x43752(0xb2),_0x31a4c6+'/'+_0x46d520,_0x4cdde6);}),_0x1616e6[_0x43a6bf(0xa2)](_0x8b9fb6,_0x43a6bf(0xc2),()=>{const _0x3ef743=_0x43a6bf;_0x1616e6[_0x3ef743(0xa8)](_0x8b9fb6,_0x3ef743(0xc2)),_0x544924[_0x3ef743(0x9c)][_0x3ef743(0xa5)][_0x3ef743(0x8d)](_0x114976=>{const _0x451280=_0x3ef743;_0x114976[_0x451280(0xb7)](_0x3721da,_0x23e8ff),_0x114976[_0x451280(0xba)](_0x451280(0xb2),_0x4cdde6);});});}function _0x3138(){const _0x1f5751=['findViewImgElement','view','ImageUtils','filter','stopListening','hasAttribute','image-processing','match','mapper','(max-width:\x20','join','3208PgTuBl','origin','px)\x20100vw,\x20','aspect-ratio','imageBlock','4323669cBDvCT','plugins','3tlcQhO','removeClass','element','uploadcareImageId','removeStyle','document','getAttribute','toViewElement','get','5900544edAYeO','domConverter','map','load','isArray','image/webp','some','change','window','imageInline','575384LviBhq','setStyle','location','1453125sJgYtd','width','baseURI','712320cQDPbV','height','function','2754640JwdrAr','addClass','/-/resize/','editing','create','x/\x20','src','replace','viewToDom','listenTo','53289NUxINQ'];_0x3138=function(){return _0x1f5751;};return _0x3138();}function R(_0x1498ec){const _0x50e08d=_0x41de;if(Array[_0x50e08d(0x8a)](_0x1498ec)){const _0x1be680=_0x1498ec[_0x50e08d(0xc1)](R);return _0x2569ca=>_0x1be680[_0x50e08d(0x8c)](_0x40800b=>_0x40800b(_0x2569ca));}if(_0x50e08d(0xb0)==_0x1498ec){const _0x555f02=_0x3b7caa[_0x50e08d(0x8e)][_0x50e08d(0x92)][_0x50e08d(0xb0)];return _0x56d3de=>new URL(_0x56d3de,_0x3b7caa[_0x50e08d(0xbb)][_0x50e08d(0x95)])[_0x50e08d(0xb0)]==_0x555f02;}return _0x50e08d(0x98)==typeof _0x1498ec?_0x1498ec:_0x1498ec instanceof RegExp?_0x51280c=>!(!_0x51280c[_0x50e08d(0xab)](_0x1498ec)&&!_0x51280c[_0x50e08d(0xa0)](/^https?:\/\//,'')[_0x50e08d(0xab)](_0x1498ec)):()=>!0x1;}
23
+ (function(_0x5ee601,_0x295636){const _0x2e74e0=_0xce01,_0x26d8e8=_0x5ee601();while(!![]){try{const _0x2ce331=-parseInt(_0x2e74e0(0xec))/0x1+parseInt(_0x2e74e0(0xe9))/0x2*(-parseInt(_0x2e74e0(0xe8))/0x3)+parseInt(_0x2e74e0(0x109))/0x4+-parseInt(_0x2e74e0(0x100))/0x5+parseInt(_0x2e74e0(0xf3))/0x6*(parseInt(_0x2e74e0(0xef))/0x7)+parseInt(_0x2e74e0(0x10e))/0x8+parseInt(_0x2e74e0(0x11c))/0x9*(-parseInt(_0x2e74e0(0x10c))/0xa);if(_0x2ce331===_0x295636)break;else _0x26d8e8['push'](_0x26d8e8['shift']());}catch(_0x561443){_0x26d8e8['push'](_0x26d8e8['shift']());}}}(_0x5bd5,0xe0b3a));function _0x5bd5(){const _0x6edb9e=['5092380usQTAb','listenTo','9027928eraWRV','window','src','aspect-ratio','plugins','join','element','toViewElement','some','(max-width:\x20','width','/-/resize/','height','document','9bxDAFI','hasAttribute','map','setStyle','isArray','replace','1263YbIDxl','218jXFJoQ','domConverter','imageBlock','383516UZbpND','x/\x20','location','16534NUIQEY','match','image-processing','removeClass','2382hOEFhs','viewToDom','getAttribute','px)\x20100vw,\x20','addClass','filter','stopListening','ImageUtils','removeStyle','get','baseURI','load','image/webp','3854640UJYvkr','uploadcareImageId','imageInline','editing','function','mapper','create','change','origin','2254976gfinDF','view','findViewImgElement'];_0x5bd5=function(){return _0x6edb9e;};return _0x5bd5();}import{global as _0x103dba,DomEmitterMixin as _0x418f8b}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x369242){const _0x519819=_0xce01,_0x8dffb5=V(_0x369242);return _0x3f7140=>!(!_0x3f7140||!_0x3f7140['is'](_0x519819(0x114),_0x519819(0xeb))&&!_0x3f7140['is'](_0x519819(0x114),_0x519819(0x102)))&&(!!_0x3f7140[_0x519819(0x11d)](_0x519819(0x101))||!!_0x3f7140[_0x519819(0x11d)](_0x519819(0x110))&&_0x8dffb5(_0x3f7140[_0x519819(0xf5)](_0x519819(0x110))));}export function getImageUrls(_0x1aa552,_0x57e464){const _0x2a0357=_0xce01,_0x1395a8=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x2a0357(0xf8)](_0x1dc932=>_0x1dc932<=_0x57e464)[_0x2a0357(0x11e)](_0xdc90f2=>_0x1aa552[_0x2a0357(0xe7)](/\/$/,'')+_0x2a0357(0x119)+_0xdc90f2+_0x2a0357(0xed)+_0xdc90f2+'w');return{'imageFallbackUrl':_0x1aa552,'imageSources':[{'srcset':_0x1395a8[_0x2a0357(0x113)](',\x20'),'sizes':_0x2a0357(0x117)+_0x57e464+_0x2a0357(0xf6)+_0x57e464+'px','type':_0x2a0357(0xff)}]};}function _0xce01(_0x53c8ae,_0x401efa){const _0x5bd59e=_0x5bd5();return _0xce01=function(_0xce01b3,_0x241f6b){_0xce01b3=_0xce01b3-0xe7;let _0x4247dc=_0x5bd59e[_0xce01b3];return _0x4247dc;},_0xce01(_0x53c8ae,_0x401efa);}export function getImageDimension(_0x24ccb6,_0x2641c5,_0x3d1bd1){const _0x5b5611=_0xce01,_0x3b1c89=_0x24ccb6[_0x5b5611(0xf0)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3b1c89?parseInt(_0x3b1c89[0x1],0xa):_0x2641c5,'height':_0x3b1c89?parseInt(_0x3b1c89[0x2],0xa):_0x3d1bd1};}export function showImageProcessingIndicator(_0x4add47,_0x465037){const _0x319f41=_0xce01,_0x60136=Object[_0x319f41(0x106)](_0x418f8b),_0x1328bd=_0x4add47[_0x319f41(0x112)][_0x319f41(0xfc)](_0x319f41(0xfa)),_0x162793=_0x4add47[_0x319f41(0x103)][_0x319f41(0x105)][_0x319f41(0x115)](_0x465037),_0xb2213b=_0x1328bd[_0x319f41(0x10b)](_0x162793),_0x43e588=_0x4add47[_0x319f41(0x103)][_0x319f41(0x10a)][_0x319f41(0xea)][_0x319f41(0xf4)](_0xb2213b),_0x351a3a=_0x465037[_0x319f41(0xf5)](_0x319f41(0x118)),_0x57164c=_0x465037[_0x319f41(0xf5)](_0x319f41(0x11a)),_0x14c018=_0x319f41(0xf1);_0x4add47[_0x319f41(0x103)][_0x319f41(0x10a)][_0x319f41(0x107)](_0x16f23d=>{const _0x32f0e3=_0x319f41;_0x16f23d[_0x32f0e3(0xf7)](_0x14c018,_0x162793),_0x16f23d[_0x32f0e3(0x11f)](_0x32f0e3(0x111),_0x351a3a+'/'+_0x57164c,_0xb2213b);}),_0x60136[_0x319f41(0x10d)](_0x43e588,_0x319f41(0xfe),()=>{const _0x4a22fe=_0x319f41;_0x60136[_0x4a22fe(0xf9)](_0x43e588,_0x4a22fe(0xfe)),_0x4add47[_0x4a22fe(0x103)][_0x4a22fe(0x10a)][_0x4a22fe(0x107)](_0x9bce4f=>{const _0x3329a8=_0x4a22fe;_0x9bce4f[_0x3329a8(0xf2)](_0x14c018,_0x162793),_0x9bce4f[_0x3329a8(0xfb)](_0x3329a8(0x111),_0xb2213b);});});}function V(_0x4b2470){const _0x5d702f=_0xce01;if(Array[_0x5d702f(0x120)](_0x4b2470)){const _0x1011d1=_0x4b2470[_0x5d702f(0x11e)](V);return _0xea6221=>_0x1011d1[_0x5d702f(0x116)](_0x1690be=>_0x1690be(_0xea6221));}if(_0x5d702f(0x108)==_0x4b2470){const _0x22daea=_0x103dba[_0x5d702f(0x10f)][_0x5d702f(0xee)][_0x5d702f(0x108)];return _0x15bf7f=>new URL(_0x15bf7f,_0x103dba[_0x5d702f(0x11b)][_0x5d702f(0xfd)])[_0x5d702f(0x108)]==_0x22daea;}return _0x5d702f(0x104)==typeof _0x4b2470?_0x4b2470:_0x4b2470 instanceof RegExp?_0x40aa85=>!(!_0x40aa85[_0x5d702f(0xf0)](_0x4b2470)&&!_0x40aa85[_0x5d702f(0xe7)](/^https?:\/\//,'')[_0x5d702f(0xf0)](_0x4b2470)):()=>!0x1;}