@ckeditor/ckeditor5-uploadcare 47.3.0-alpha.6 → 47.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d95d8=_0xdf1b;(function(_0x1500f3,_0x569070){const _0x2af129=_0xdf1b,_0x52f1ec=_0x1500f3();while(!![]){try{const _0x15d0a7=-parseInt(_0x2af129(0x222))/0x1+parseInt(_0x2af129(0x206))/0x2+-parseInt(_0x2af129(0x225))/0x3+parseInt(_0x2af129(0x23d))/0x4+-parseInt(_0x2af129(0x238))/0x5+parseInt(_0x2af129(0x202))/0x6*(parseInt(_0x2af129(0x201))/0x7)+parseInt(_0x2af129(0x22a))/0x8;if(_0x15d0a7===_0x569070)break;else _0x52f1ec['push'](_0x52f1ec['shift']());}catch(_0x1ce9e3){_0x52f1ec['push'](_0x52f1ec['shift']());}}}(_0x5772,0x7e345));import{Plugin as _0x556a16}from'ckeditor5/src/core.js';import{Dialog as _0x275fac}from'ckeditor5/src/ui.js';import{createElement as _0xc3d152,global as _0x59ca9d,uid as _0xc7e82d}from'ckeditor5/src/utils.js';function _0x5772(){const _0x215d5d=['downcast','input[uploadcare-file-input]','afterInit','uploadcareImageReplace','replaceImageSource','commands','iconHrefResolver','_initConversion','add','uploadcare.uploader','UploadcareEditing','isPremiumPlugin','2368370vpNIEi','removeAttribute','elementToAttribute','schema','destroy','151940ludQKr','ctxElement','get','_ctxElement','upcast','href','remove','render','uploader-','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','attributeToAttribute','model','listenTo','uploadcareImageId','imageInline','selection','PictureEditing','isRegistered','fromCharCode','isOfficialPlugin','execute','cleanupImage','appendChild','483VPGOpG','80232PPZRbC','map','insertImage','querySelector','1750572HHjCTq','config','uploadcare.pubkey','contentLanguage','uploadcare','data-uc-image-id','view','once','join','configElement','for','_configElement','uc-upload-ctx-provider','pluginName','getSelectedElement','conversion','document','getAttribute','true','_initCtx','body','extend','ucContextId','_initConfig','locale','_initSchema','#uc-icon-arrow-down','imageBlock','813936Beuwon','editing','_initImageProcessingIndicator','1099956qZscJX','requires','closeMax','init','editor','2682048VULsdz','uc-config'];_0x5772=function(){return _0x215d5d;};return _0x5772();}import{UploadcareCommand as _0xa2b53e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x52f0ff}from'./uploadcareuploadadapter.js';function _0xdf1b(_0x973136,_0x5c23f9){const _0x577264=_0x5772();return _0xdf1b=function(_0xdf1bdd,_0x38d465){_0xdf1bdd=_0xdf1bdd-0x1ef;let _0x581156=_0x577264[_0xdf1bdd];return _0x581156;},_0xdf1b(_0x973136,_0x5c23f9);}import{showImageProcessingIndicator as _0x246e24}from'./utils/editingutils.js';export class UploadcareEditing extends _0x556a16{[_0x4d95d8(0x211)]=null;[_0x4d95d8(0x240)]=null;static get[_0x4d95d8(0x213)](){const _0x47d17a=_0x4d95d8;return _0x47d17a(0x236);}static get[_0x4d95d8(0x226)](){const _0xb83397=_0x4d95d8;return[_0xb83397(0x1fa),_0x52f0ff,_0x275fac];}static get[_0x4d95d8(0x1fd)](){return!0x0;}static get[_0x4d95d8(0x237)](){return!0x0;}[_0x4d95d8(0x21c)];get[_0x4d95d8(0x20f)](){const _0x156cbb=_0x4d95d8;return this[_0x156cbb(0x211)];}get[_0x4d95d8(0x23e)](){const _0x557e7b=_0x4d95d8;return this[_0x557e7b(0x240)];}constructor(_0x2ba139){const _0x34d0b0=_0x4d95d8;super(_0x2ba139),this[_0x34d0b0(0x21c)]=_0xc7e82d();}[_0x4d95d8(0x228)](){const _0x2cce7e=_0x4d95d8,_0x3be393=this[_0x2cce7e(0x229)];_0x3be393[_0x2cce7e(0x231)][_0x2cce7e(0x234)](_0x2cce7e(0x20a),new _0xa2b53e(_0x3be393));}[_0x4d95d8(0x22e)](){const _0x15f305=_0x4d95d8;this[_0x15f305(0x21f)](),this[_0x15f305(0x233)](),this[_0x15f305(0x21d)](),this[_0x15f305(0x219)](),this[_0x15f305(0x224)](),this[_0x15f305(0x1f6)](this[_0x15f305(0x229)],_0x15f305(0x23c),()=>{const _0x3ca703=_0x15f305;this[_0x3ca703(0x211)]&&(this[_0x3ca703(0x211)][_0x3ca703(0x1f0)](),this[_0x3ca703(0x211)]=null),this[_0x3ca703(0x240)]&&(this[_0x3ca703(0x240)][_0x3ca703(0x1f0)](),this[_0x3ca703(0x240)]=null);const _0x7bd3b9=_0x59ca9d[_0x3ca703(0x216)][_0x3ca703(0x205)](_0x3ca703(0x22d));_0x7bd3b9&&_0x7bd3b9[_0x3ca703(0x1f0)]();}),async function(_0x28c436){const _0x40cf5c=_0x42444e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5186a9=0x535f8c3a,_0x2a9251=0x5358f6fa^_0x5186a9,_0x5884e6=window[_0x42444e([0x44,0x61,0x74,0x65])][_0x42444e([0x6e,0x6f,0x77])](),_0x40e53c=_0x28c436[_0x42444e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30cd88=new window[(_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5833a5=>{_0x40e53c[_0x42444e([0x6f,0x6e,0x63,0x65])](_0x42444e([0x72,0x65,0x61,0x64,0x79]),_0x5833a5);}),_0xd0ee0f={[_0x42444e([0x6b,0x74,0x79])]:_0x42444e([0x45,0x43]),[_0x42444e([0x75,0x73,0x65])]:_0x42444e([0x73,0x69,0x67]),[_0x42444e([0x63,0x72,0x76])]:_0x42444e([0x50,0x2d,0x32,0x35,0x36]),[_0x42444e([0x78])]:_0x42444e([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]),[_0x42444e([0x79])]:_0x42444e([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]),[_0x42444e([0x61,0x6c,0x67])]:_0x42444e([0x45,0x53,0x32,0x35,0x36])},_0x422c73=_0x40e53c[_0x42444e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42444e([0x67,0x65,0x74])](_0x42444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27768a(){let _0x5ede4a,_0x98fb0=null,_0x1f3c22=null;try{if(_0x422c73==_0x42444e([0x47,0x50,0x4c]))return _0x42444e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ede4a=_0x3a2749(),!_0x5ede4a)return _0x42444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ede4a[_0x42444e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f3c22=_0x400275(_0x5ede4a[_0x42444e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ede4a[_0x42444e([0x6a,0x74,0x69])])),await _0x2c39ef()?_0x760589()?_0x83468c()?_0x42444e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x331ee3()?(_0x5ede4a[_0x42444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42444e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x98fb0=_0x553ee3(_0x42444e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ede4a[_0x42444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42444e([0x74,0x72,0x69,0x61,0x6c])&&(_0x98fb0=_0x553ee3(_0x42444e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35ef97()):_0x42444e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42444e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42444e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x83468c(){const _0x52a6a4=[_0x42444e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42444e([0x74,0x72,0x69,0x61,0x6c])][_0x42444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ede4a[_0x42444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5884e6/0x3e8:0xe10*_0x2a9251;return _0x5ede4a[_0x42444e([0x65,0x78,0x70])]<_0x52a6a4;}function _0x760589(){const _0x29755=_0x5ede4a[_0x42444e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x29755&&(!!_0x29755[_0x42444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42444e([0x2a]))||!!_0x29755[_0x42444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42444e([0x55,0x50,0x4c,0x43])));}function _0x331ee3(){const _0x17721b=_0xdf1b,_0x3dc0dc=_0x5ede4a[_0x42444e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3dc0dc||0x0==_0x3dc0dc[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3180c8}=new URL(window[_0x42444e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17721b(0x1ef)]);if(_0x3dc0dc[_0x42444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3180c8))return!0x0;const _0x1d0925=_0x3180c8[_0x42444e([0x73,0x70,0x6c,0x69,0x74])](_0x42444e([0x2e]));return _0x3dc0dc[_0x42444e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f93c7=>_0x3f93c7[_0x42444e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42444e([0x2a])))[_0x42444e([0x6d,0x61,0x70])](_0x36a19a=>_0x36a19a[_0x42444e([0x73,0x70,0x6c,0x69,0x74])](_0x42444e([0x2e])))[_0x42444e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1439ef=>_0x1439ef[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d0925[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42444e([0x6d,0x61,0x70])](_0x33e4fa=>Array(_0x1d0925[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33e4fa[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42444e([0x66,0x69,0x6c,0x6c])](_0x33e4fa[0x0]===_0x42444e([0x2a])?_0x42444e([0x2a]):'')[_0x42444e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33e4fa))[_0x42444e([0x73,0x6f,0x6d,0x65])](_0x1b7521=>_0x1d0925[_0x42444e([0x65,0x76,0x65,0x72,0x79])]((_0x1039f2,_0x2179b9)=>_0x1b7521[_0x2179b9]===_0x1039f2||_0x1b7521[_0x2179b9]===_0x42444e([0x2a])));}function _0x35ef97(){return _0x98fb0&&_0x1f3c22?new window[(_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1abbc2,_0xd4d38d)=>{_0x98fb0[_0x42444e([0x74,0x68,0x65,0x6e])](_0x1abbc2,_0xd4d38d),_0x1f3c22[_0x42444e([0x74,0x68,0x65,0x6e])](_0x4f1a64=>{_0x4f1a64!=_0x42444e([0x56,0x61,0x6c,0x69,0x64])&&_0x1abbc2(_0x4f1a64);},_0xd4d38d);}):_0x98fb0||_0x1f3c22||_0x42444e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x400275(_0x3c936d,_0x3e98f6){return new window[(_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470b9d=>{if(_0x262e63())return _0x470b9d(_0x42444e([0x56,0x61,0x6c,0x69,0x64]));_0x7c8fde(),_0x40e53c[_0x42444e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x509f4b=!0x1;const _0x4a50a5=_0xc7e82d();function _0x4f1733(_0xf07502){return!!_0xf07502&&(typeof _0xf07502===_0x42444e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf07502===_0x42444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf07502[_0x42444e([0x74,0x68,0x65,0x6e])]===_0x42444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf07502[_0x42444e([0x63,0x61,0x74,0x63,0x68])]===_0x42444e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c3e(_0x1eb017){_0x51afad(_0x1eb017)[_0x42444e([0x74,0x68,0x65,0x6e])](_0x32957a=>{if(!_0x32957a||_0x32957a[_0x42444e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42444e([0x6f,0x6b]))return _0x42444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f0f54(_0x2c3620(_0x4a50a5+_0x3e98f6))!=_0x32957a[_0x42444e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42444e([0x56,0x61,0x6c,0x69,0x64]);})[_0x42444e([0x74,0x68,0x65,0x6e])](_0x4b2258=>(_0x2eb407(),_0x4b2258),()=>{const _0x36e8af=_0x4e3bbe();return null==_0x36e8af?(_0x2eb407(),_0x42444e([0x56,0x61,0x6c,0x69,0x64])):_0x42444e(_0x5884e6-_0x36e8af>(0x7753083a^_0x5186a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42444e([0x74,0x68,0x65,0x6e])](_0x470b9d)[_0x42444e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x470b9d(_0x42444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b9b4b=0x536962ba^_0x5186a9;function _0x2eb407(){const _0x3cfc0d=_0x42444e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f0f54(_0x2c3620(_0x3c936d)),_0x5d1979=_0x528322(_0x1f0f54(window[_0x42444e([0x4d,0x61,0x74,0x68])][_0x42444e([0x63,0x65,0x69,0x6c])](_0x5884e6/_0x2b9b4b)));window[_0x42444e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42444e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cfc0d,_0x5d1979);}function _0x4e3bbe(){const _0x3b1009=_0x42444e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f0f54(_0x2c3620(_0x3c936d)),_0x2c0b2d=window[_0x42444e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42444e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b1009);return _0x2c0b2d?window[_0x42444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x528322(_0x2c0b2d),0x10)*_0x2b9b4b:null;}function _0x51afad(_0x5e5711){return new window[(_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x609b00,_0x210f4c)=>{_0x5e5711[_0x42444e([0x74,0x68,0x65,0x6e])](_0x609b00,_0x210f4c),window[_0x42444e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x210f4c,0x535e58fa^_0x5186a9);});}}_0x40e53c[_0x42444e([0x6f,0x6e])](_0x42444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ba049,_0x38ae53)=>{if(_0x38ae53[0x0]!=_0x3c936d)return _0x470b9d(_0x42444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38ae53[0x1]={..._0x38ae53[0x1],[_0x42444e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a50a5};},{[_0x42444e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42444e([0x68,0x69,0x67,0x68])}),_0x40e53c[_0x42444e([0x6f,0x6e])](_0x42444e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4681eb=>{_0x4f1733(_0x4681eb[_0x42444e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x509f4b=!0x0,_0x3c3e(_0x4681eb[_0x42444e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42444e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42444e([0x6c,0x6f,0x77])}),_0x30cd88[_0x42444e([0x74,0x68,0x65,0x6e])](()=>{_0x509f4b||_0x470b9d(_0x42444e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x262e63(){return _0x40e53c[_0x42444e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42444e([0x76,0x69,0x65,0x77])][_0x42444e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42444e([0x61,0x75,0x74,0x6f]);}function _0x7c8fde(){_0x40e53c[_0x42444e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42444e([0x76,0x69,0x65,0x77])][_0x42444e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42444e([0x61,0x75,0x74,0x6f]);}}function _0x553ee3(_0x1a4483){const _0xc3efbd=[new window[(_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8b4856=>setTimeout(_0x8b4856,0x5356b2f6^_0x5186a9)),_0x30cd88[_0x42444e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48b9fb=>{let _0x1aeb6d=0x0;_0x40e53c[_0x42444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x42444e([0x6f,0x6e])](_0x42444e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x48691d,_0x1ba647)=>{_0x1ba647[0x0][_0x42444e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1aeb6d++,_0x1aeb6d==(0x535f8dc2^_0x5186a9)&&(_0x48b9fb(),_0x48691d[_0x42444e([0x6f,0x66,0x66])]());});}))];return window[_0x42444e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42444e([0x72,0x61,0x63,0x65])](_0xc3efbd)[_0x42444e([0x74,0x68,0x65,0x6e])](()=>_0x1a4483);}async function _0x213d59(){await _0x30cd88,_0x40e53c[_0x42444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x42444e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x483bcb,_0x40e53c[_0x42444e([0x6d,0x6f,0x64,0x65,0x6c])][_0x42444e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x483bcb,_0x40e53c[_0x42444e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42444e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x493827(_0x37e0f2){const _0x28482a=_0x5f1f78();_0x40e53c[_0x28482a]=_0x42444e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37e0f2,_0x37e0f2!=_0x42444e([0x56,0x61,0x6c,0x69,0x64])&&_0x213d59();}function _0x5f1f78(){const _0x3c7ae2=window[_0x42444e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42444e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42444e([0x6e,0x6f,0x77])]())[_0x42444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42444e([0x2e]),'');let _0x5ad3dd=_0x42444e([0x68]);for(let _0x422645=0x0;_0x422645<_0x3c7ae2[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x422645+=0x2){let _0x563f50=window[_0x42444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c7ae2[_0x42444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x422645,_0x422645+0x2));_0x563f50>=_0x40cf5c[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x563f50-=_0x40cf5c[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ad3dd+=_0x40cf5c[_0x563f50];}return _0x5ad3dd;}function _0x3a2749(){const _0x40f076=_0x422c73[_0x42444e([0x73,0x70,0x6c,0x69,0x74])](_0x42444e([0x2e]));if(0x3!=_0x40f076[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59a8c5(_0x40f076[0x1]);function _0x59a8c5(_0x4a5351){const _0xd0a12d=_0x5a5914(_0x4a5351);return _0xd0a12d&&_0x5d520d()?_0xd0a12d:null;function _0x5d520d(){const _0x266923=_0xd0a12d[_0x42444e([0x6a,0x74,0x69])],_0x34aa6d=window[_0x42444e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x266923[_0x42444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x266923[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43d38b={..._0xd0a12d,[_0x42444e([0x6a,0x74,0x69])]:_0x266923[_0x42444e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x266923[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43d38b[_0x42444e([0x76,0x63])],_0x2c3620(_0x43d38b)==_0x34aa6d;}}}async function _0x2c39ef(){let _0x28cdf0=!0x0;try{const _0x2d3e15=_0x422c73[_0x42444e([0x73,0x70,0x6c,0x69,0x74])](_0x42444e([0x2e])),[_0x5454f4,_0x548d62,_0x47ed78]=_0x2d3e15;return _0x22bc53(_0x5454f4),await _0xb81eb1(_0x5454f4,_0x548d62,_0x47ed78),_0x28cdf0;}catch{return!0x1;}function _0x22bc53(_0x4a902e){const _0x59d11d=_0x5a5914(_0x4a902e);_0x59d11d&&_0x59d11d[_0x42444e([0x61,0x6c,0x67])]==_0x42444e([0x45,0x53,0x32,0x35,0x36])||(_0x28cdf0=!0x1);}async function _0xb81eb1(_0x5d8cf6,_0x2f74e0,_0x5eb0b2){const _0x426143=window[_0x42444e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42444e([0x66,0x72,0x6f,0x6d])](_0xb3f278(_0x5eb0b2),_0x471b7d=>_0x471b7d[_0x42444e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12e1e6=new window[(_0x42444e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42444e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d8cf6+_0x42444e([0x2e])+_0x2f74e0),_0x445c72=window[_0x42444e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42444e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x445c72)return;const _0x2ae3cb=await _0x445c72[_0x42444e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42444e([0x6a,0x77,0x6b]),_0xd0ee0f,{[_0x42444e([0x6e,0x61,0x6d,0x65])]:_0x42444e([0x45,0x43,0x44,0x53,0x41]),[_0x42444e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42444e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42444e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x445c72[_0x42444e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42444e([0x6e,0x61,0x6d,0x65])]:_0x42444e([0x45,0x43,0x44,0x53,0x41]),[_0x42444e([0x68,0x61,0x73,0x68])]:{[_0x42444e([0x6e,0x61,0x6d,0x65])]:_0x42444e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ae3cb,_0x426143,_0x12e1e6)||(_0x28cdf0=!0x1);}}function _0x5a5914(_0xeadd36){return _0xeadd36[_0x42444e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42444e([0x65,0x79]))?JSON[_0x42444e([0x70,0x61,0x72,0x73,0x65])](_0xb3f278(_0xeadd36)):null;}function _0xb3f278(_0x3a2e1f){return window[_0x42444e([0x61,0x74,0x6f,0x62])](_0x3a2e1f[_0x42444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42444e([0x2b]))[_0x42444e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42444e([0x2f])));}function _0x2c3620(_0xd247f0){let _0xccff2=0x1505;function _0x315167(_0x178b84){for(let _0x554e53=0x0;_0x554e53<_0x178b84[_0x42444e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x554e53++){const _0x34b357=_0x178b84[_0x42444e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x554e53);_0xccff2=(_0xccff2<<0x5)+_0xccff2+_0x34b357,_0xccff2&=_0xccff2;}}function _0x50fe16(_0x358b34){Array[_0x42444e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x358b34)?_0x358b34[_0x42444e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x50fe16):_0x358b34&&typeof _0x358b34==_0x42444e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42444e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x358b34)[_0x42444e([0x73,0x6f,0x72,0x74])]()[_0x42444e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9cafa1,_0x222d2d])=>{_0x315167(_0x9cafa1),_0x50fe16(_0x222d2d);}):_0x315167(window[_0x42444e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x358b34));}return _0x50fe16(_0xd247f0),_0xccff2>>>0x0;}function _0x1f0f54(_0x254fdf){return _0x254fdf[_0x42444e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42444e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42444e([0x30]));}function _0x528322(_0x315f1e){return _0x315f1e[_0x42444e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42444e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42444e([0x6a,0x6f,0x69,0x6e])]('');}function _0x483bcb(){}function _0x42444e(_0x928c06){const _0x3f2c97=_0xdf1b;return _0x928c06[_0x3f2c97(0x203)](_0x325b09=>String[_0x3f2c97(0x1fc)](_0x325b09))[_0x3f2c97(0x20e)]('');}_0x493827(await _0x27768a());}(this);}[_0x4d95d8(0x21f)](){const _0x1cdaa9=_0x4d95d8,_0x3b2b51=this[_0x1cdaa9(0x229)][_0x1cdaa9(0x1f5)][_0x1cdaa9(0x23b)];_0x3b2b51[_0x1cdaa9(0x1fb)](_0x1cdaa9(0x221))&&_0x3b2b51[_0x1cdaa9(0x21b)](_0x1cdaa9(0x221),{'allowAttributes':[_0x1cdaa9(0x1f7)]}),_0x3b2b51[_0x1cdaa9(0x1fb)](_0x1cdaa9(0x1f8))&&_0x3b2b51[_0x1cdaa9(0x21b)](_0x1cdaa9(0x1f8),{'allowAttributes':[_0x1cdaa9(0x1f7)]});}[_0x4d95d8(0x233)](){const _0x4b4338=_0x4d95d8,_0xa7ab1e=this[_0x4b4338(0x229)];_0xa7ab1e[_0x4b4338(0x215)][_0x4b4338(0x210)](_0x4b4338(0x22c))[_0x4b4338(0x1f4)]({'model':_0x4b4338(0x1f7),'view':_0x4b4338(0x20b)}),_0xa7ab1e[_0x4b4338(0x215)][_0x4b4338(0x210)](_0x4b4338(0x241))[_0x4b4338(0x23a)]({'model':{'key':_0x4b4338(0x1f7),'value':_0x4f1c41=>_0x4f1c41[_0x4b4338(0x217)](_0x4b4338(0x20b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d984c=_0xa7ab1e[_0x4b4338(0x231)][_0x4b4338(0x23f)](_0x4b4338(0x230));_0x5d984c&&this[_0x4b4338(0x1f6)](_0x5d984c,_0x4b4338(0x1ff),(_0x52c311,[_0x44f22c,_0x589a26])=>{const _0x457a1e=_0x4b4338;_0x44f22c[_0x457a1e(0x239)](_0x457a1e(0x1f7),_0x589a26);});}[_0x4d95d8(0x21d)](){const _0x50a916=_0x4d95d8,_0x50838c=this[_0x50a916(0x229)][_0x50a916(0x207)][_0x50a916(0x23f)](_0x50a916(0x235))||{},_0x3e22b4=this[_0x50a916(0x229)][_0x50a916(0x207)][_0x50a916(0x23f)](_0x50a916(0x208))||'';this[_0x50a916(0x211)]=_0xc3d152(_0x59ca9d[_0x50a916(0x216)],_0x50a916(0x22b),{..._0x50838c,'pubkey':_0x3e22b4,'ctx-name':_0x50a916(0x1f2)+this[_0x50a916(0x21c)],'sourceList':'','imgOnly':_0x50a916(0x218),'removeCopyright':_0x50a916(0x218),'localeName':this[_0x50a916(0x229)][_0x50a916(0x21e)][_0x50a916(0x209)],'externalSourcesEmbedCss':_0x50a916(0x1f3)}),this[_0x50a916(0x211)][_0x50a916(0x232)]=_0x17099c=>{const _0x10e165=_0x50a916;if(_0x10e165(0x227)==_0x17099c)return _0x10e165(0x220);},_0x59ca9d[_0x50a916(0x216)][_0x50a916(0x21a)][_0x50a916(0x200)](this[_0x50a916(0x211)]);}[_0x4d95d8(0x219)](){const _0x2c882a=_0x4d95d8;this[_0x2c882a(0x240)]=_0xc3d152(_0x59ca9d[_0x2c882a(0x216)],_0x2c882a(0x212),{'ctx-name':_0x2c882a(0x1f2)+this[_0x2c882a(0x21c)]}),_0x59ca9d[_0x2c882a(0x216)][_0x2c882a(0x21a)][_0x2c882a(0x200)](this[_0x2c882a(0x240)]);}[_0x4d95d8(0x224)](){const _0x599aea=_0x4d95d8,_0x19b212=this[_0x599aea(0x229)][_0x599aea(0x231)][_0x599aea(0x23f)](_0x599aea(0x204));_0x19b212&&this[_0x599aea(0x1f6)](_0x19b212,_0x599aea(0x1fe),()=>{const _0x2f553d=_0x599aea,_0x5b58ae=this[_0x2f553d(0x229)][_0x2f553d(0x1f5)][_0x2f553d(0x216)][_0x2f553d(0x1f9)][_0x2f553d(0x214)]();_0x5b58ae&&_0x5b58ae[_0x2f553d(0x217)](_0x2f553d(0x1f7))&&this[_0x2f553d(0x229)][_0x2f553d(0x223)][_0x2f553d(0x20c)][_0x2f553d(0x20d)](_0x2f553d(0x1f1),()=>{const _0x2175f6=_0x2f553d;_0x246e24(this[_0x2175f6(0x229)],_0x5b58ae);});});const _0x60508b=this[_0x599aea(0x229)][_0x599aea(0x231)][_0x599aea(0x23f)](_0x599aea(0x22f));_0x60508b&&this[_0x599aea(0x1f6)](_0x60508b,_0x599aea(0x1fe),()=>{const _0x45e291=_0x599aea,_0x4a8828=this[_0x45e291(0x229)][_0x45e291(0x1f5)][_0x45e291(0x216)][_0x45e291(0x1f9)][_0x45e291(0x214)]();_0x4a8828&&_0x4a8828[_0x45e291(0x217)](_0x45e291(0x1f7))&&this[_0x45e291(0x229)][_0x45e291(0x223)][_0x45e291(0x20c)][_0x45e291(0x20d)](_0x45e291(0x1f1),()=>{const _0x4367f5=_0x45e291;_0x246e24(this[_0x4367f5(0x229)],_0x4a8828);});});}}
23
+ const _0x19a599=_0x13bf;(function(_0x229d0f,_0xb572d1){const _0x33c318=_0x13bf,_0x1cdac9=_0x229d0f();while(!![]){try{const _0x21c672=-parseInt(_0x33c318(0x19c))/0x1+parseInt(_0x33c318(0x185))/0x2*(parseInt(_0x33c318(0x17c))/0x3)+-parseInt(_0x33c318(0x1a2))/0x4*(parseInt(_0x33c318(0x1be))/0x5)+parseInt(_0x33c318(0x186))/0x6*(parseInt(_0x33c318(0x1ac))/0x7)+-parseInt(_0x33c318(0x1bf))/0x8+parseInt(_0x33c318(0x18b))/0x9+parseInt(_0x33c318(0x1c4))/0xa;if(_0x21c672===_0xb572d1)break;else _0x1cdac9['push'](_0x1cdac9['shift']());}catch(_0x28766c){_0x1cdac9['push'](_0x1cdac9['shift']());}}}(_0x4c00,0x61b97));import{Plugin as _0x3d0b36}from'ckeditor5/src/core.js';import{Dialog as _0x488f88}from'ckeditor5/src/ui.js';function _0x13bf(_0xd8fdff,_0x5dd410){const _0x4c00e3=_0x4c00();return _0x13bf=function(_0x13bfb0,_0x19b0c1){_0x13bfb0=_0x13bfb0-0x17c;let _0x2ac5b4=_0x4c00e3[_0x13bfb0];return _0x2ac5b4;},_0x13bf(_0xd8fdff,_0x5dd410);}import{createElement as _0xe8db05,global as _0x217cf7,uid as _0x26edbf}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2bcd93}from'./uploadcarecommand.js';function _0x4c00(){const _0xd2b01a=['uploadcare.pubkey','fromCharCode','getAttribute','locale','commands','querySelector','ctxElement','\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','57063FSKDFq','destroy','insertImage','once','_ctxElement','input[uploadcare-file-input]','selection','uploadcareImageReplace','for','54tDgZvG','627936ZhYuXZ','body','elementToAttribute','contentLanguage','requires','3796821uErnQv','_initConfig','downcast','config','extend','editor','render','uploader-','replaceImageSource','afterInit','join','uploadcare.uploader','_initCtx','pluginName','get','uploadcareImageId','getSelectedElement','94156DBaOYF','add','isOfficialPlugin','listenTo','attributeToAttribute','configElement','256268OMYBtL','_initSchema','uc-config','href','removeAttribute','cleanupImage','init','_configElement','editing','model','14nEqQhb','UploadcareEditing','uploadcare','document','uc-upload-ctx-provider','execute','view','schema','ucContextId','conversion','_initConversion','map','data-uc-image-id','imageInline','appendChild','#uc-icon-arrow-down','closeMax','remove','55VPhyjt','934544UnEfEv','upcast','true','_initImageProcessingIndicator','imageBlock','1712420PFMNKT','isRegistered','PictureEditing','isPremiumPlugin','iconHrefResolver'];_0x4c00=function(){return _0xd2b01a;};return _0x4c00();}import{UploadcareUploadAdapter as _0x391ec8}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3bc4a6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3d0b36{[_0x19a599(0x1a9)]=null;[_0x19a599(0x180)]=null;static get[_0x19a599(0x198)](){const _0x30d28a=_0x19a599;return _0x30d28a(0x1ad);}static get[_0x19a599(0x18a)](){const _0x4bc600=_0x19a599;return[_0x4bc600(0x1c6),_0x391ec8,_0x488f88];}static get[_0x19a599(0x19e)](){return!0x0;}static get[_0x19a599(0x1c7)](){return!0x0;}[_0x19a599(0x1b4)];get[_0x19a599(0x1a1)](){const _0x427f46=_0x19a599;return this[_0x427f46(0x1a9)];}get[_0x19a599(0x1cf)](){const _0x1472d0=_0x19a599;return this[_0x1472d0(0x180)];}constructor(_0x55deda){const _0x3fc9f3=_0x19a599;super(_0x55deda),this[_0x3fc9f3(0x1b4)]=_0x26edbf();}[_0x19a599(0x1a8)](){const _0x18e3be=_0x19a599,_0x56d2eb=this[_0x18e3be(0x190)];_0x56d2eb[_0x18e3be(0x1cd)][_0x18e3be(0x19d)](_0x18e3be(0x1ae),new _0x2bcd93(_0x56d2eb));}[_0x19a599(0x194)](){const _0x29dc43=_0x19a599;this[_0x29dc43(0x1a3)](),this[_0x29dc43(0x1b6)](),this[_0x29dc43(0x18c)](),this[_0x29dc43(0x197)](),this[_0x29dc43(0x1c2)](),this[_0x29dc43(0x19f)](this[_0x29dc43(0x190)],_0x29dc43(0x17d),()=>{const _0x3aa619=_0x29dc43;this[_0x3aa619(0x1a9)]&&(this[_0x3aa619(0x1a9)][_0x3aa619(0x1bd)](),this[_0x3aa619(0x1a9)]=null),this[_0x3aa619(0x180)]&&(this[_0x3aa619(0x180)][_0x3aa619(0x1bd)](),this[_0x3aa619(0x180)]=null);const _0x520e87=_0x217cf7[_0x3aa619(0x1af)][_0x3aa619(0x1ce)](_0x3aa619(0x181));_0x520e87&&_0x520e87[_0x3aa619(0x1bd)]();}),async function(_0x59841b){const _0x5c0835=_0x12ca9e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x435672=0x535f8c3a,_0x1ad9a2=0x5358f6e2^_0x435672,_0x12ff71=window[_0x12ca9e([0x44,0x61,0x74,0x65])][_0x12ca9e([0x6e,0x6f,0x77])](),_0x2675b1=_0x59841b[_0x12ca9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x275acb=new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15b805=>{_0x2675b1[_0x12ca9e([0x6f,0x6e,0x63,0x65])](_0x12ca9e([0x72,0x65,0x61,0x64,0x79]),_0x15b805);}),_0x549d4a={[_0x12ca9e([0x6b,0x74,0x79])]:_0x12ca9e([0x45,0x43]),[_0x12ca9e([0x75,0x73,0x65])]:_0x12ca9e([0x73,0x69,0x67]),[_0x12ca9e([0x63,0x72,0x76])]:_0x12ca9e([0x50,0x2d,0x32,0x35,0x36]),[_0x12ca9e([0x78])]:_0x12ca9e([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]),[_0x12ca9e([0x79])]:_0x12ca9e([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]),[_0x12ca9e([0x61,0x6c,0x67])]:_0x12ca9e([0x45,0x53,0x32,0x35,0x36])},_0x4ace45=_0x2675b1[_0x12ca9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12ca9e([0x67,0x65,0x74])](_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7d293e(){let _0x4bd886,_0x542939=null,_0x51f7c7=null;try{if(_0x4ace45==_0x12ca9e([0x47,0x50,0x4c]))return _0x12ca9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bd886=_0x5b42cd(),!_0x4bd886)return _0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bd886[_0x12ca9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51f7c7=_0x1a2ecc(_0x4bd886[_0x12ca9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bd886[_0x12ca9e([0x6a,0x74,0x69])])),await _0x4d16e3()?_0x186051()?_0x467b35()?_0x12ca9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21f614()?(_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ca9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x542939=_0x1e743e(_0x12ca9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ca9e([0x74,0x72,0x69,0x61,0x6c])&&(_0x542939=_0x1e743e(_0x12ca9e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x328188()):_0x12ca9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12ca9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x467b35(){const _0x1ed3ef=[_0x12ca9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12ca9e([0x74,0x72,0x69,0x61,0x6c])][_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12ff71/0x3e8:0xe10*_0x1ad9a2;return _0x4bd886[_0x12ca9e([0x65,0x78,0x70])]<_0x1ed3ef;}function _0x186051(){const _0xd393f6=_0x4bd886[_0x12ca9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd393f6&&(!!_0xd393f6[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x2a]))||!!_0xd393f6[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x55,0x50,0x4c,0x43])));}function _0x21f614(){const _0x2a3388=_0x13bf,_0x1415b4=_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1415b4||0x0==_0x1415b4[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf5a032}=new URL(window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a3388(0x1a5)]);if(_0x1415b4[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf5a032))return!0x0;const _0x3c405f=_0xf5a032[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e]));return _0x1415b4[_0x12ca9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e4233=>_0x5e4233[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x2a])))[_0x12ca9e([0x6d,0x61,0x70])](_0x346015=>_0x346015[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e])))[_0x12ca9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15458e=>_0x15458e[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c405f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ca9e([0x6d,0x61,0x70])](_0x17f431=>Array(_0x3c405f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17f431[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ca9e([0x66,0x69,0x6c,0x6c])](_0x17f431[0x0]===_0x12ca9e([0x2a])?_0x12ca9e([0x2a]):'')[_0x12ca9e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17f431))[_0x12ca9e([0x73,0x6f,0x6d,0x65])](_0x35f57c=>_0x3c405f[_0x12ca9e([0x65,0x76,0x65,0x72,0x79])]((_0x5cbeca,_0x36ba5e)=>_0x35f57c[_0x36ba5e]===_0x5cbeca||_0x35f57c[_0x36ba5e]===_0x12ca9e([0x2a])));}function _0x328188(){return _0x542939&&_0x51f7c7?new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa21cdb,_0x466290)=>{_0x542939[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0xa21cdb,_0x466290),_0x51f7c7[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x1fe664=>{_0x1fe664!=_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])&&_0xa21cdb(_0x1fe664);},_0x466290);}):_0x542939||_0x51f7c7||_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a2ecc(_0x534fc4,_0x437314){return new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce4f2=>{if(_0x3885fd())return _0xce4f2(_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]));_0x5319b6(),_0x2675b1[_0x12ca9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b627=!0x1;const _0x589bcf=_0x26edbf();function _0x248888(_0x47d4db){return!!_0x47d4db&&(typeof _0x47d4db===_0x12ca9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47d4db===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47d4db[_0x12ca9e([0x74,0x68,0x65,0x6e])]===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47d4db[_0x12ca9e([0x63,0x61,0x74,0x63,0x68])]===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ac8af(_0x26cd61){_0x5623b1(_0x26cd61)[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x1ade2f=>{if(!_0x1ade2f||_0x1ade2f[_0x12ca9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12ca9e([0x6f,0x6b]))return _0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b0022(_0x15ea34(_0x589bcf+_0x437314))!=_0x1ade2f[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x387605=>(_0x44a219(),_0x387605),()=>{const _0x51631d=_0x3ef930();return null==_0x51631d?(_0x44a219(),_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])):_0x12ca9e(_0x12ff71-_0x51631d>(0x7753083a^_0x435672)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0xce4f2)[_0x12ca9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ee75d=0x536962ba^_0x435672;function _0x44a219(){const _0x1045e6=_0x12ca9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0022(_0x15ea34(_0x534fc4)),_0x2cfba6=_0x5e77e9(_0x2b0022(window[_0x12ca9e([0x4d,0x61,0x74,0x68])][_0x12ca9e([0x63,0x65,0x69,0x6c])](_0x12ff71/_0x1ee75d)));window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ca9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1045e6,_0x2cfba6);}function _0x3ef930(){const _0x1c7a3e=_0x12ca9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0022(_0x15ea34(_0x534fc4)),_0xeb9280=window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ca9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c7a3e);return _0xeb9280?window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e77e9(_0xeb9280),0x10)*_0x1ee75d:null;}function _0x5623b1(_0x543218){return new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7633,_0x307a1e)=>{_0x543218[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x4a7633,_0x307a1e),window[_0x12ca9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x307a1e,0x535e58fa^_0x435672);});}}_0x2675b1[_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bd4f4,_0x54fceb)=>{if(_0x54fceb[0x0]!=_0x534fc4)return _0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54fceb[0x1]={..._0x54fceb[0x1],[_0x12ca9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x589bcf};},{[_0x12ca9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ca9e([0x68,0x69,0x67,0x68])}),_0x2675b1[_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x345391=>{_0x248888(_0x345391[_0x12ca9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b627=!0x0,_0x3ac8af(_0x345391[_0x12ca9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12ca9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ca9e([0x6c,0x6f,0x77])}),_0x275acb[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>{_0x29b627||_0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3885fd(){return _0x2675b1[_0x12ca9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ca9e([0x76,0x69,0x65,0x77])][_0x12ca9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12ca9e([0x61,0x75,0x74,0x6f]);}function _0x5319b6(){_0x2675b1[_0x12ca9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ca9e([0x76,0x69,0x65,0x77])][_0x12ca9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12ca9e([0x61,0x75,0x74,0x6f]);}}function _0x1e743e(_0x1b70ab){const _0xd37e75=[new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f2cd2=>setTimeout(_0x3f2cd2,0x5356b2f6^_0x435672)),_0x275acb[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fb944=>{let _0x3b2515=0x0;_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x527857,_0x508e10)=>{_0x508e10[0x0][_0x12ca9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b2515++,_0x3b2515==(0x535f8dc2^_0x435672)&&(_0x1fb944(),_0x527857[_0x12ca9e([0x6f,0x66,0x66])]());});}))];return window[_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12ca9e([0x72,0x61,0x63,0x65])](_0xd37e75)[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>_0x1b70ab);}async function _0x32f291(){await _0x275acb,_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x456228,_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x456228,_0x2675b1[_0x12ca9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ccb7e(_0x340c34){const _0x312b54=_0x3fb0ea();_0x2675b1[_0x312b54]=_0x12ca9e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x340c34,_0x340c34!=_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])&&_0x32f291();}function _0x3fb0ea(){const _0x15ce7a=window[_0x12ca9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12ca9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12ca9e([0x6e,0x6f,0x77])]())[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12ca9e([0x2e]),'');let _0x6f8f1b=_0x12ca9e([0x68]);for(let _0xf9b84e=0x0;_0xf9b84e<_0x15ce7a[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf9b84e+=0x2){let _0x3086fc=window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15ce7a[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9b84e,_0xf9b84e+0x2));_0x3086fc>=_0x5c0835[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3086fc-=_0x5c0835[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6f8f1b+=_0x5c0835[_0x3086fc];}return _0x6f8f1b;}function _0x5b42cd(){const _0x5bbfc3=_0x4ace45[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e]));if(0x3!=_0x5bbfc3[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd2a0d2(_0x5bbfc3[0x1]);function _0xd2a0d2(_0x335711){const _0x51f06f=_0x45c395(_0x335711);return _0x51f06f&&_0xbb7352()?_0x51f06f:null;function _0xbb7352(){const _0x75db2f=_0x51f06f[_0x12ca9e([0x6a,0x74,0x69])],_0x2d56a5=window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x75db2f[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x75db2f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x305bdb={..._0x51f06f,[_0x12ca9e([0x6a,0x74,0x69])]:_0x75db2f[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x75db2f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x305bdb[_0x12ca9e([0x76,0x63])],_0x15ea34(_0x305bdb)==_0x2d56a5;}}}async function _0x4d16e3(){let _0x25ff98=!0x0;try{const _0x820679=_0x4ace45[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e])),[_0xca8d45,_0x9d69ff,_0x370504]=_0x820679;return _0x429ec5(_0xca8d45),await _0x5be7cb(_0xca8d45,_0x9d69ff,_0x370504),_0x25ff98;}catch{return!0x1;}function _0x429ec5(_0x2ffe6b){const _0x3f34a5=_0x45c395(_0x2ffe6b);_0x3f34a5&&_0x3f34a5[_0x12ca9e([0x61,0x6c,0x67])]==_0x12ca9e([0x45,0x53,0x32,0x35,0x36])||(_0x25ff98=!0x1);}async function _0x5be7cb(_0x1a1d5e,_0x878002,_0x2b898e){const _0x28fb9a=window[_0x12ca9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12ca9e([0x66,0x72,0x6f,0x6d])](_0x477622(_0x2b898e),_0x4f6a12=>_0x4f6a12[_0x12ca9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3620f6=new window[(_0x12ca9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12ca9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a1d5e+_0x12ca9e([0x2e])+_0x878002),_0x28f8da=window[_0x12ca9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12ca9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28f8da)return;const _0x2f0fdc=await _0x28f8da[_0x12ca9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12ca9e([0x6a,0x77,0x6b]),_0x549d4a,{[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x45,0x43,0x44,0x53,0x41]),[_0x12ca9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12ca9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28f8da[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x45,0x43,0x44,0x53,0x41]),[_0x12ca9e([0x68,0x61,0x73,0x68])]:{[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f0fdc,_0x28fb9a,_0x3620f6)||(_0x25ff98=!0x1);}}function _0x45c395(_0x4177ce){return _0x4177ce[_0x12ca9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12ca9e([0x65,0x79]))?JSON[_0x12ca9e([0x70,0x61,0x72,0x73,0x65])](_0x477622(_0x4177ce)):null;}function _0x477622(_0x38a555){return window[_0x12ca9e([0x61,0x74,0x6f,0x62])](_0x38a555[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12ca9e([0x2b]))[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12ca9e([0x2f])));}function _0x15ea34(_0x365c51){let _0x4a6797=0x1505;function _0x21d58b(_0x2c4e6c){for(let _0x36d3e9=0x0;_0x36d3e9<_0x2c4e6c[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36d3e9++){const _0x1f0b2b=_0x2c4e6c[_0x12ca9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36d3e9);_0x4a6797=(_0x4a6797<<0x5)+_0x4a6797+_0x1f0b2b,_0x4a6797&=_0x4a6797;}}function _0x2398b3(_0x5abd03){Array[_0x12ca9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5abd03)?_0x5abd03[_0x12ca9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2398b3):_0x5abd03&&typeof _0x5abd03==_0x12ca9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12ca9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5abd03)[_0x12ca9e([0x73,0x6f,0x72,0x74])]()[_0x12ca9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x105176,_0x59b3de])=>{_0x21d58b(_0x105176),_0x2398b3(_0x59b3de);}):_0x21d58b(window[_0x12ca9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5abd03));}return _0x2398b3(_0x365c51),_0x4a6797>>>0x0;}function _0x2b0022(_0x42b4c8){return _0x42b4c8[_0x12ca9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12ca9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12ca9e([0x30]));}function _0x5e77e9(_0x5da592){return _0x5da592[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12ca9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12ca9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x456228(){}function _0x12ca9e(_0x22dec8){const _0x256419=_0x13bf;return _0x22dec8[_0x256419(0x1b7)](_0x4ea99f=>String[_0x256419(0x1ca)](_0x4ea99f))[_0x256419(0x195)]('');}_0x3ccb7e(await _0x7d293e());}(this);}[_0x19a599(0x1a3)](){const _0x4ae8a5=_0x19a599,_0x4a1936=this[_0x4ae8a5(0x190)][_0x4ae8a5(0x1ab)][_0x4ae8a5(0x1b3)];_0x4a1936[_0x4ae8a5(0x1c5)](_0x4ae8a5(0x1c3))&&_0x4a1936[_0x4ae8a5(0x18f)](_0x4ae8a5(0x1c3),{'allowAttributes':[_0x4ae8a5(0x19a)]}),_0x4a1936[_0x4ae8a5(0x1c5)](_0x4ae8a5(0x1b9))&&_0x4a1936[_0x4ae8a5(0x18f)](_0x4ae8a5(0x1b9),{'allowAttributes':[_0x4ae8a5(0x19a)]});}[_0x19a599(0x1b6)](){const _0x558e4c=_0x19a599,_0x4c8008=this[_0x558e4c(0x190)];_0x4c8008[_0x558e4c(0x1b5)][_0x558e4c(0x184)](_0x558e4c(0x18d))[_0x558e4c(0x1a0)]({'model':_0x558e4c(0x19a),'view':_0x558e4c(0x1b8)}),_0x4c8008[_0x558e4c(0x1b5)][_0x558e4c(0x184)](_0x558e4c(0x1c0))[_0x558e4c(0x188)]({'model':{'key':_0x558e4c(0x19a),'value':_0x4929ed=>_0x4929ed[_0x558e4c(0x1cb)](_0x558e4c(0x1b8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33edf5=_0x4c8008[_0x558e4c(0x1cd)][_0x558e4c(0x199)](_0x558e4c(0x193));_0x33edf5&&this[_0x558e4c(0x19f)](_0x33edf5,_0x558e4c(0x1a7),(_0x1d518f,[_0x1e6694,_0x16c518])=>{const _0x2764ff=_0x558e4c;_0x1e6694[_0x2764ff(0x1a6)](_0x2764ff(0x19a),_0x16c518);});}[_0x19a599(0x18c)](){const _0x4fbf3c=_0x19a599,_0x4f287d=this[_0x4fbf3c(0x190)][_0x4fbf3c(0x18e)][_0x4fbf3c(0x199)](_0x4fbf3c(0x196))||{},_0x4802bd=this[_0x4fbf3c(0x190)][_0x4fbf3c(0x18e)][_0x4fbf3c(0x199)](_0x4fbf3c(0x1c9))||'';this[_0x4fbf3c(0x1a9)]=_0xe8db05(_0x217cf7[_0x4fbf3c(0x1af)],_0x4fbf3c(0x1a4),{..._0x4f287d,'pubkey':_0x4802bd,'ctx-name':_0x4fbf3c(0x192)+this[_0x4fbf3c(0x1b4)],'sourceList':'','imgOnly':_0x4fbf3c(0x1c1),'removeCopyright':_0x4fbf3c(0x1c1),'localeName':this[_0x4fbf3c(0x190)][_0x4fbf3c(0x1cc)][_0x4fbf3c(0x189)],'externalSourcesEmbedCss':_0x4fbf3c(0x1d0)}),this[_0x4fbf3c(0x1a9)][_0x4fbf3c(0x1c8)]=_0x31814c=>{const _0x252dbe=_0x4fbf3c;if(_0x252dbe(0x1bc)==_0x31814c)return _0x252dbe(0x1bb);},_0x217cf7[_0x4fbf3c(0x1af)][_0x4fbf3c(0x187)][_0x4fbf3c(0x1ba)](this[_0x4fbf3c(0x1a9)]);}[_0x19a599(0x197)](){const _0x59c596=_0x19a599;this[_0x59c596(0x180)]=_0xe8db05(_0x217cf7[_0x59c596(0x1af)],_0x59c596(0x1b0),{'ctx-name':_0x59c596(0x192)+this[_0x59c596(0x1b4)]}),_0x217cf7[_0x59c596(0x1af)][_0x59c596(0x187)][_0x59c596(0x1ba)](this[_0x59c596(0x180)]);}[_0x19a599(0x1c2)](){const _0x2b242f=_0x19a599,_0x2a1d65=this[_0x2b242f(0x190)][_0x2b242f(0x1cd)][_0x2b242f(0x199)](_0x2b242f(0x17e));_0x2a1d65&&this[_0x2b242f(0x19f)](_0x2a1d65,_0x2b242f(0x1b1),()=>{const _0x2ff454=_0x2b242f,_0x2d1f2a=this[_0x2ff454(0x190)][_0x2ff454(0x1ab)][_0x2ff454(0x1af)][_0x2ff454(0x182)][_0x2ff454(0x19b)]();_0x2d1f2a&&_0x2d1f2a[_0x2ff454(0x1cb)](_0x2ff454(0x19a))&&this[_0x2ff454(0x190)][_0x2ff454(0x1aa)][_0x2ff454(0x1b2)][_0x2ff454(0x17f)](_0x2ff454(0x191),()=>{const _0x564736=_0x2ff454;_0x3bc4a6(this[_0x564736(0x190)],_0x2d1f2a);});});const _0x20079a=this[_0x2b242f(0x190)][_0x2b242f(0x1cd)][_0x2b242f(0x199)](_0x2b242f(0x183));_0x20079a&&this[_0x2b242f(0x19f)](_0x20079a,_0x2b242f(0x1b1),()=>{const _0x176f55=_0x2b242f,_0x30e4b4=this[_0x176f55(0x190)][_0x176f55(0x1ab)][_0x176f55(0x1af)][_0x176f55(0x182)][_0x176f55(0x19b)]();_0x30e4b4&&_0x30e4b4[_0x176f55(0x1cb)](_0x176f55(0x19a))&&this[_0x176f55(0x190)][_0x176f55(0x1aa)][_0x176f55(0x1b2)][_0x176f55(0x17f)](_0x176f55(0x191),()=>{const _0x5102d0=_0x176f55;_0x3bc4a6(this[_0x5102d0(0x190)],_0x30e4b4);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x36fb58,ObservableMixin as _0x20e810}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x56159f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3bed30}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xa9fe52}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xd06634}from'../../utils/uploadutils.js';import{getImageUrls as _0x3556ba,getImageDimension as _0x14329f}from'../../utils/editingutils.js';import{isAncestor as _0x67ff3a}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x20e810(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4d8e9d,_0x280be5,_0x579daa){super(),this['_editor']=_0x4d8e9d,this['_dialog']=_0x280be5,this['_imageElement']=_0x579daa,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 _0x4ba32c=this['_imageElement'],_0x1f26ac=_0x4ba32c['getAttribute']('uploadcareImageId'),_0x412027=_0x4ba32c['getAttribute']('src');if(_0x1f26ac)await this['_loadImageInfo'](_0x1f26ac,_0x412027);else{if(this['_imageCache']['has'](_0x412027)){const _0x33009d=this['_imageCache']['get'](_0x412027);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33009d['url'],this['imageDimension']=_0x33009d['dimension'],this['imageId']=_0x33009d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5265f6}=this['_editor'],t=_0x5265f6['t'],_0x3eeee0=new _0xa9fe52(_0x5265f6,this['imageStatus'],this['_attributes']);_0x3eeee0['bind']('status')['to'](this,'imageStatus'),_0x3eeee0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3eeee0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3eeee0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3eeee0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3bed30,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3eeee0,'position':_0x56159f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3eeee0['focus']();},'onHide':()=>{_0x3eeee0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x400dd0=>!_0x67ff3a(_0x400dd0,_0x3eeee0['element'])}});}['_loadImageInfo'](_0x180334,_0x26abd5){return _0xd06634['getInfo'](_0x180334,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4518c3=>{const {width:_0x48ba2d,height:_0x2173fe}=_0x4518c3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26abd5,this['imageDimension']={'width':_0x48ba2d,'height':_0x2173fe},this['imageId']=_0x180334;})['catch'](_0x3ac71e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3ac71e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x416b29,_0x5ba3a9){return this['_getImageAsFile'](_0x416b29)['then'](_0x42ff02=>_0xd06634['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x5ba3a9['signal'],'file':_0x42ff02,'onProgress':_0x3867ed=>{_0x3867ed&&_0x3867ed['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3867ed['value']));}}))['then'](_0xd5d11e=>{const {width:_0x53eaac,height:_0x18d831}=_0xd5d11e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd5d11e['cdnUrl'],this['imageDimension']={'width':_0x53eaac,'height':_0x18d831},this['imageId']=_0xd5d11e['uuid'],this['imageUploadProgress']=null;const _0x465408=_0x416b29['getAttribute']('src');this['_imageCache']['set'](_0x465408,{'id':_0xd5d11e['uuid'],'url':_0xd5d11e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1a294d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a294d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x266115,_0x3970d8){_0x266115['on']('apply',(_0x42cf98,_0x239982)=>{this['_replaceImage'](_0x3970d8,_0x239982['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x266115['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x266115['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x473447,_0x12e0ba,_0x1ac54b){const _0x3e00a2=this['_editor'],{width:_0x2a9fdb,height:_0x2cd4a1}=_0x14329f(_0x12e0ba,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xdb90d9,imageSources:_0x3f8580}=_0x3556ba(_0x12e0ba,_0x2a9fdb);_0x3e00a2['model']['change'](_0x154f8b=>{if('$graveyard'===_0x473447['root']['rootName']){_0x3e00a2['execute']('insertImage',{'imageType':_0x473447['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x473447['getAttributes']()),'uploadcareImageId':_0x1ac54b,'src':_0xdb90d9,'sources':_0x3f8580,'width':_0x2a9fdb,'height':_0x2cd4a1}});const _0x4996b0=_0x473447['getChildren']();_0x473447=_0x3e00a2['model']['document']['selection']['getSelectedElement']();for(const _0x400d17 of _0x4996b0)_0x154f8b['append'](_0x154f8b['cloneElement'](_0x400d17),_0x473447);}else _0x154f8b['setSelection'](_0x473447,'on'),_0x3e00a2['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x473447['getAttributes']()),'uploadcareImageId':_0x1ac54b,'src':_0xdb90d9,'sources':_0x3f8580,'width':_0x2a9fdb,'height':_0x2cd4a1},_0x473447);_0x154f8b['setSelection'](_0x473447,'on');});}async['_getImageAsFile'](_0x389745){const _0x44e9ca=_0x36fb58['window'],_0x146839=_0x36fb58['document']['location']['href'],_0x2f61f5=new _0x44e9ca['URL'](_0x389745['getAttribute']('src'),_0x146839);if('data:'===_0x2f61f5['protocol']){const _0x51bad1=_0x2f61f5['href']['split'](','),_0x41b46d=_0x51bad1[0x0]['match'](/:(.*?);/)[0x1],_0x5cc4c1=_0x41b46d['split']('/')[0x1],_0x3adca7=_0x44e9ca['atob'](_0x51bad1[_0x51bad1['length']-0x1]);let _0x4e8ea=_0x3adca7['length'];const _0x159577=new _0x44e9ca['Uint8Array'](_0x4e8ea);for(;_0x4e8ea--;)_0x159577[_0x4e8ea]=_0x3adca7['charCodeAt'](_0x4e8ea);return new _0x44e9ca['File']([_0x159577],'image.'+_0x5cc4c1,{'type':_0x41b46d});}const _0x4f7199=_0x2f61f5['href']['split']('/'),_0x2c8e2a=_0x4f7199[_0x4f7199['length']-0x1],_0x185d77=_0x2c8e2a['split']('.')[0x1];return _0x44e9ca['fetch'](_0x2f61f5['href'])['then'](_0x66be65=>_0x66be65['clone']()['blob']())['then'](_0x5df1c7=>new _0x44e9ca['File']([_0x5df1c7],_0x2c8e2a,{'type':'image/'+_0x185d77}));}}
23
+ import{global as _0x13e8bc,ObservableMixin as _0x494cce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x36ca51}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2f4c5c}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x43d513}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x59a67a}from'../../utils/uploadutils.js';import{getImageUrls as _0x3a0f2d,getImageDimension as _0x44149d}from'../../utils/editingutils.js';import{isAncestor as _0x111d7f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x494cce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x52ee25,_0x2820a8,_0x1e7317){super(),this['_editor']=_0x52ee25,this['_dialog']=_0x2820a8,this['_imageElement']=_0x1e7317,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 _0x1dc9cb=this['_imageElement'],_0x44352e=_0x1dc9cb['getAttribute']('uploadcareImageId'),_0x213181=_0x1dc9cb['getAttribute']('src');if(_0x44352e)await this['_loadImageInfo'](_0x44352e,_0x213181);else{if(this['_imageCache']['has'](_0x213181)){const _0x45efd5=this['_imageCache']['get'](_0x213181);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45efd5['url'],this['imageDimension']=_0x45efd5['dimension'],this['imageId']=_0x45efd5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3aebc9}=this['_editor'],t=_0x3aebc9['t'],_0x4be800=new _0x43d513(_0x3aebc9,this['imageStatus'],this['_attributes']);_0x4be800['bind']('status')['to'](this,'imageStatus'),_0x4be800['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4be800['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4be800['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4be800,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2f4c5c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4be800,'position':_0x36ca51['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4be800['focus']();},'onHide':()=>{_0x4be800['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x161b0b=>!_0x111d7f(_0x161b0b,_0x4be800['element'])}});}['_loadImageInfo'](_0x2d6e53,_0x4f5721){return _0x59a67a['getInfo'](_0x2d6e53,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x27815a=>{const {width:_0x574255,height:_0x24bbfd}=_0x27815a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f5721,this['imageDimension']={'width':_0x574255,'height':_0x24bbfd},this['imageId']=_0x2d6e53;})['catch'](_0x4977cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4977cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x59eee2,_0x46e17d){return this['_getImageAsFile'](_0x59eee2)['then'](_0x46cf65=>_0x59a67a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x46e17d['signal'],'file':_0x46cf65,'onProgress':_0x1c0b1a=>{_0x1c0b1a&&_0x1c0b1a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c0b1a['value']));}}))['then'](_0x191ffc=>{const {width:_0x33052b,height:_0xed8c75}=_0x191ffc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x191ffc['cdnUrl'],this['imageDimension']={'width':_0x33052b,'height':_0xed8c75},this['imageId']=_0x191ffc['uuid'],this['imageUploadProgress']=null;const _0x12b2f4=_0x59eee2['getAttribute']('src');this['_imageCache']['set'](_0x12b2f4,{'id':_0x191ffc['uuid'],'url':_0x191ffc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x54da63=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54da63['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4bc224,_0x48e6c0){_0x4bc224['on']('apply',(_0xb31c23,_0x5d5011)=>{this['_replaceImage'](_0x48e6c0,_0x5d5011['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4bc224['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4bc224['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5a70ca,_0x355d4d,_0x4f0548){const _0xb7860d=this['_editor'],{width:_0x22a0c8,height:_0x1f0efd}=_0x44149d(_0x355d4d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b10e6,imageSources:_0x15d1eb}=_0x3a0f2d(_0x355d4d,_0x22a0c8);_0xb7860d['model']['change'](_0x408694=>{if('$graveyard'===_0x5a70ca['root']['rootName']){_0xb7860d['execute']('insertImage',{'imageType':_0x5a70ca['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5a70ca['getAttributes']()),'uploadcareImageId':_0x4f0548,'src':_0x2b10e6,'sources':_0x15d1eb,'width':_0x22a0c8,'height':_0x1f0efd}});const _0x23da43=_0x5a70ca['getChildren']();_0x5a70ca=_0xb7860d['model']['document']['selection']['getSelectedElement']();for(const _0x3f7d6c of _0x23da43)_0x408694['append'](_0x408694['cloneElement'](_0x3f7d6c),_0x5a70ca);}else _0x408694['setSelection'](_0x5a70ca,'on'),_0xb7860d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5a70ca['getAttributes']()),'uploadcareImageId':_0x4f0548,'src':_0x2b10e6,'sources':_0x15d1eb,'width':_0x22a0c8,'height':_0x1f0efd},_0x5a70ca);_0x408694['setSelection'](_0x5a70ca,'on');});}async['_getImageAsFile'](_0x458866){const _0x523c21=_0x13e8bc['window'],_0x5edb56=_0x13e8bc['document']['location']['href'],_0x2671d6=new _0x523c21['URL'](_0x458866['getAttribute']('src'),_0x5edb56);if('data:'===_0x2671d6['protocol']){const _0x2f736d=_0x2671d6['href']['split'](','),_0x55c6e7=_0x2f736d[0x0]['match'](/:(.*?);/)[0x1],_0x2ac2a9=_0x55c6e7['split']('/')[0x1],_0x3b71ad=_0x523c21['atob'](_0x2f736d[_0x2f736d['length']-0x1]);let _0x1c5051=_0x3b71ad['length'];const _0x176bad=new _0x523c21['Uint8Array'](_0x1c5051);for(;_0x1c5051--;)_0x176bad[_0x1c5051]=_0x3b71ad['charCodeAt'](_0x1c5051);return new _0x523c21['File']([_0x176bad],'image.'+_0x2ac2a9,{'type':_0x55c6e7});}const _0x5b7716=_0x2671d6['href']['split']('/'),_0x599f1b=_0x5b7716[_0x5b7716['length']-0x1],_0x5961ac=_0x599f1b['split']('.')[0x1];return _0x523c21['fetch'](_0x2671d6['href'])['then'](_0x54808c=>_0x54808c['clone']()['blob']())['then'](_0x28bdae=>new _0x523c21['File']([_0x28bdae],_0x599f1b,{'type':'image/'+_0x5961ac}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2531(_0x22e47c,_0x3ac0db){const _0xff2df2=_0xff2d();return _0x2531=function(_0x253127,_0x5c1dd0){_0x253127=_0x253127-0x6f;let _0x19d179=_0xff2df2[_0x253127];return _0x19d179;},_0x2531(_0x22e47c,_0x3ac0db);}(function(_0x128a1a,_0x58f47e){const _0x3bdd74=_0x2531,_0x3d1b24=_0x128a1a();while(!![]){try{const _0x240532=-parseInt(_0x3bdd74(0x7c))/0x1+-parseInt(_0x3bdd74(0x75))/0x2+-parseInt(_0x3bdd74(0x76))/0x3*(parseInt(_0x3bdd74(0x74))/0x4)+-parseInt(_0x3bdd74(0x7f))/0x5+parseInt(_0x3bdd74(0x78))/0x6*(parseInt(_0x3bdd74(0x80))/0x7)+-parseInt(_0x3bdd74(0x72))/0x8+-parseInt(_0x3bdd74(0x7d))/0x9*(-parseInt(_0x3bdd74(0x7e))/0xa);if(_0x240532===_0x58f47e)break;else _0x3d1b24['push'](_0x3d1b24['shift']());}catch(_0x49fff7){_0x3d1b24['push'](_0x3d1b24['shift']());}}}(_0xff2d,0xed961));function _0xff2d(){const _0x2adba8=['1041600gSUjVf','49728411jsnamX','10iRmvEt','4900565TzWgoi','7ivyfzt','ck-uploadcare-theme','uc-light','uc-cloud-image-editor','14465064iZfQeK','image-edit','847384RpDZDS','2427858GzYNgU','6CklNHq','set','5491446HueKBR','bindTemplate','setTemplate','imageSrc'];_0xff2d=function(){return _0x2adba8;};return _0xff2d();}import{View as _0x1ace59}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1ace59{constructor(_0x520355,_0x17ebfa){const _0x2f98d1=_0x2531;super(_0x520355);const _0xcbea58=this[_0x2f98d1(0x79)];this[_0x2f98d1(0x77)](_0x2f98d1(0x7b),''),this[_0x2f98d1(0x7a)]({'tag':_0x2f98d1(0x71),'attributes':{..._0x17ebfa,'class':[_0x2f98d1(0x70),_0x2f98d1(0x6f)],'ctx-name':_0x2f98d1(0x73),'cdn-url':_0xcbea58['to'](_0x2f98d1(0x7b))}});}}
23
+ (function(_0x6e15f9,_0x2926bd){const _0x24812f=_0x2396,_0x21314c=_0x6e15f9();while(!![]){try{const _0x5b8e9f=-parseInt(_0x24812f(0x8e))/0x1+-parseInt(_0x24812f(0x88))/0x2*(-parseInt(_0x24812f(0x85))/0x3)+parseInt(_0x24812f(0x7e))/0x4*(-parseInt(_0x24812f(0x82))/0x5)+parseInt(_0x24812f(0x8a))/0x6+-parseInt(_0x24812f(0x8f))/0x7*(-parseInt(_0x24812f(0x83))/0x8)+parseInt(_0x24812f(0x80))/0x9*(-parseInt(_0x24812f(0x86))/0xa)+parseInt(_0x24812f(0x8b))/0xb;if(_0x5b8e9f===_0x2926bd)break;else _0x21314c['push'](_0x21314c['shift']());}catch(_0x3339c0){_0x21314c['push'](_0x21314c['shift']());}}}(_0x4421,0x95481));function _0x4421(){const _0x3f2195=['4861806uWHnYR','14980009tycZfP','set','uc-cloud-image-editor','272447BhtZsp','7DDKGSk','image-edit','40792oDILlK','uc-light','6397074htnpPW','imageSrc','470BWuYgX','611896aAtPPl','ck-uploadcare-theme','101565lWtZgi','10dibuNk','setTemplate','18GSdBMG','bindTemplate'];_0x4421=function(){return _0x3f2195;};return _0x4421();}import{View as _0x2d5f45}from'ckeditor5/src/ui.js';function _0x2396(_0x13983c,_0x3d30e8){const _0x4421e0=_0x4421();return _0x2396=function(_0x2396eb,_0x598303){_0x2396eb=_0x2396eb-0x7d;let _0x5b9fe2=_0x4421e0[_0x2396eb];return _0x5b9fe2;},_0x2396(_0x13983c,_0x3d30e8);}export class UploadcareImageEditFormEditingView extends _0x2d5f45{constructor(_0x1f5218,_0x51d8c2){const _0x557734=_0x2396;super(_0x1f5218);const _0x478e40=this[_0x557734(0x89)];this[_0x557734(0x8c)](_0x557734(0x81),''),this[_0x557734(0x87)]({'tag':_0x557734(0x8d),'attributes':{..._0x51d8c2,'class':[_0x557734(0x7f),_0x557734(0x84)],'ctx-name':_0x557734(0x7d),'cdn-url':_0x478e40['to'](_0x557734(0x81))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x32a96a}from'ckeditor5/src/icons.js';import{ButtonView as _0x365782,IconView as _0x5bef65,View as _0x5c70df}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5c70df{constructor(_0x4788a4){super(_0x4788a4);const t=_0x4788a4['t'];this['set']('errorType',null);const _0xdc423b=new _0x365782(_0x4788a4);_0xdc423b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xdc423b['withText']=!0x0,_0xdc423b['class']='ck-button-action',_0xdc423b['on']('execute',()=>{this['fire']('retry');}),_0xdc423b['bind']('isVisible')['to'](this,'errorType',_0x772016=>'NotFound'!==_0x772016);const _0x3fdfb1=new _0x5bef65();_0x3fdfb1['content']=_0x32a96a,_0x3fdfb1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2d3951=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':[_0x3fdfb1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2d3951['to']('errorType',_0x28d297=>t('NotFound'!==_0x28d297?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xdc423b]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0xafd842}from'ckeditor5/src/icons.js';import{ButtonView as _0x1c20b1,IconView as _0x5686df,View as _0xe70133}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xe70133{constructor(_0xd80b00){super(_0xd80b00);const t=_0xd80b00['t'];this['set']('errorType',null);const _0x244484=new _0x1c20b1(_0xd80b00);_0x244484['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x244484['withText']=!0x0,_0x244484['class']='ck-button-action',_0x244484['on']('execute',()=>{this['fire']('retry');}),_0x244484['bind']('isVisible')['to'](this,'errorType',_0x89acda=>'NotFound'!==_0x89acda);const _0x2baf29=new _0x5686df();_0x2baf29['content']=_0xafd842,_0x2baf29['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x352c4f=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':[_0x2baf29,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x352c4f['to']('errorType',_0xf8c4df=>t('NotFound'!==_0xf8c4df?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x244484]},{'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 _0x1558cc,View as _0x2350a0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2350a0{constructor(_0x5df94c){super(_0x5df94c);const t=_0x5df94c['t'],_0x44fd8a=this['bindTemplate'],_0x3b36ac=new _0x1558cc();_0x3b36ac['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':[_0x3b36ac,{'text':_0x44fd8a['to']('imageUploadProgress',_0x7f2a32=>t('Loading\x20image...')+'\x20('+(_0x7f2a32||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 _0x1a23a7,View as _0x2c2334}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2c2334{constructor(_0x2449ed){super(_0x2449ed);const t=_0x2449ed['t'],_0x3cee96=this['bindTemplate'],_0x3252ad=new _0x1a23a7();_0x3252ad['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':[_0x3252ad,{'text':_0x3cee96['to']('imageUploadProgress',_0x1a919e=>t('Loading\x20image...')+'\x20('+(_0x1a919e||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 _0x2bb4b6=_0x343c;(function(_0x4052ec,_0x57e894){const _0x4de05e=_0x343c,_0x1d8fba=_0x4052ec();while(!![]){try{const _0x1b340b=parseInt(_0x4de05e(0x81))/0x1+-parseInt(_0x4de05e(0x7b))/0x2+-parseInt(_0x4de05e(0x79))/0x3*(parseInt(_0x4de05e(0x9a))/0x4)+parseInt(_0x4de05e(0x72))/0x5+parseInt(_0x4de05e(0x7c))/0x6*(-parseInt(_0x4de05e(0x91))/0x7)+-parseInt(_0x4de05e(0x83))/0x8+-parseInt(_0x4de05e(0xa0))/0x9*(-parseInt(_0x4de05e(0x96))/0xa);if(_0x1b340b===_0x57e894)break;else _0x1d8fba['push'](_0x1d8fba['shift']());}catch(_0x729886){_0x1d8fba['push'](_0x1d8fba['shift']());}}}(_0x1774,0xe45bd));import{View as _0x2ef5d4}from'ckeditor5/src/ui.js';function _0x1774(){const _0xb57838=['toLowerCase','nodeName','div','querySelector','change:status','ck-uploadcare-form','7123930ayznGv','length','status','_addUploadcareImageEditorListeners','ready','_setView','render','409971DkaoZH','_loadingView','735118jSULzw','60tkWXUh','set','detail','setTemplate','fire','1376220tOnsjv','_addErrorViewListeners','14098496rmitvM','addedNodes','focus','addMany','retry','_errorView','ck-reset_all-excluded','add','_editingView','filter','clear','once','cdnUrl','target','508382nvNOGA','disconnect','observe','_focusableView','element','880930xtOxbM','getFocusableElement','uc-cloud-image-editor','_waitForImageEditorComponent','20Vrlwku','cancel','createCollection','addEventListener','error','apply','171ZpjMjE','uploading','_items'];_0x1774=function(){return _0xb57838;};return _0x1774();}import{UploadcareImageEditFormLoadingView as _0x22aa6e}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4f9f7f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4dce51}from'./uploadcareimageeditformeditingview.js';function _0x343c(_0x2ff7a1,_0x50778a){const _0x177438=_0x1774();return _0x343c=function(_0x343cb6,_0x1cbb5b){_0x343cb6=_0x343cb6-0x6f;let _0x13a913=_0x177438[_0x343cb6];return _0x13a913;},_0x343c(_0x2ff7a1,_0x50778a);}import{DialogFocusManagerView as _0x310c07}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x310c07{[_0x2bb4b6(0xa2)];[_0x2bb4b6(0x7a)];[_0x2bb4b6(0x88)];[_0x2bb4b6(0x8b)];[_0x2bb4b6(0x94)];constructor(_0x1c01ea,_0x5c5f6c,_0x295702){const _0x23e21f=_0x2bb4b6;super(_0x1c01ea),this[_0x23e21f(0xa2)]=this[_0x23e21f(0x9c)](),this[_0x23e21f(0x7a)]=new _0x22aa6e(_0x1c01ea),this[_0x23e21f(0x88)]=new _0x4f9f7f(_0x1c01ea),this[_0x23e21f(0x8b)]=new _0x4dce51(_0x1c01ea,_0x295702),this[_0x23e21f(0x94)]=new _0x2ef5d4(_0x1c01ea),this[_0x23e21f(0x94)][_0x23e21f(0x7f)](this[_0x23e21f(0x97)]()),this[_0x23e21f(0x7d)](_0x23e21f(0x74),_0x5c5f6c),this[_0x23e21f(0x7f)]({'tag':_0x23e21f(0xa5),'attributes':{'class':['ck',_0x23e21f(0x89),_0x23e21f(0x71)],'tabindex':'-1'},'children':this[_0x23e21f(0xa2)]}),this[_0x23e21f(0x77)](),this[_0x23e21f(0x8e)](_0x23e21f(0x78),()=>{const _0x3cbdde=_0x23e21f;this[_0x3cbdde(0x99)](this[_0x3cbdde(0x95)],_0x2e8b77=>{const _0x3ee63f=_0x3cbdde;this[_0x3ee63f(0x75)](_0x2e8b77);});}),this['on'](_0x23e21f(0x70),()=>{const _0x10f571=_0x23e21f;this[_0x10f571(0x77)]();}),this[_0x23e21f(0x82)]();}[_0x2bb4b6(0x85)](){const _0x467599=_0x2bb4b6;this[_0x467599(0x95)][_0x467599(0x85)]();}[_0x2bb4b6(0x77)](){const _0x28925a=_0x2bb4b6;switch(this[_0x28925a(0xa2)][_0x28925a(0x8d)](),this[_0x28925a(0x74)]){case _0x28925a(0xa1):this[_0x28925a(0xa2)][_0x28925a(0x8a)](this[_0x28925a(0x7a)]);break;case _0x28925a(0x9e):this[_0x28925a(0xa2)][_0x28925a(0x8a)](this[_0x28925a(0x88)]);break;case _0x28925a(0x76):this[_0x28925a(0xa2)][_0x28925a(0x86)]([this[_0x28925a(0x8b)],this[_0x28925a(0x94)]]);}}[_0x2bb4b6(0x99)](_0x445145,_0x250275){const _0x3c504=_0x2bb4b6,_0x19071d=_0x3c504(0x98),_0x4e2e5a=_0x445145[_0x3c504(0x6f)](_0x19071d);if(_0x4e2e5a)return _0x250275(_0x4e2e5a);const _0x529cca=new MutationObserver(_0x292e60=>{const _0x22c60c=_0x3c504,_0x2ce05e=_0x292e60[_0x22c60c(0x8c)](_0x176b8a=>_0x176b8a[_0x22c60c(0x90)]===_0x445145&&_0x176b8a[_0x22c60c(0x84)][_0x22c60c(0x73)]>0x0&&_0x176b8a[_0x22c60c(0x84)][0x0][_0x22c60c(0xa4)][_0x22c60c(0xa3)]()===_0x19071d);_0x2ce05e[_0x22c60c(0x73)]&&(_0x529cca[_0x22c60c(0x92)](),_0x250275(_0x2ce05e[0x0][_0x22c60c(0x84)][0x0]));});_0x529cca[_0x3c504(0x93)](_0x445145,{'childList':!0x0,'subtree':!0x0});}[_0x2bb4b6(0x75)](_0x11a7eb){const _0x3d1efd=_0x2bb4b6;_0x11a7eb[_0x3d1efd(0x9d)](_0x3d1efd(0x9f),_0x469acb=>{const _0x595338=_0x3d1efd;this[_0x595338(0x80)](_0x595338(0x9f),{'imageSrc':_0x469acb[_0x595338(0x7e)][_0x595338(0x8f)]});}),_0x11a7eb[_0x3d1efd(0x9d)](_0x3d1efd(0x9b),()=>{const _0x43abcc=_0x3d1efd;this[_0x43abcc(0x80)](_0x43abcc(0x9b));});}[_0x2bb4b6(0x82)](){const _0x19dbba=_0x2bb4b6;this[_0x19dbba(0x88)]['on'](_0x19dbba(0x87),()=>{const _0x592940=_0x19dbba;this[_0x592940(0x80)](_0x592940(0x87));});}}
23
+ const _0x10f317=_0x3c9d;(function(_0x49085b,_0x1796e2){const _0x59b345=_0x3c9d,_0x487dd3=_0x49085b();while(!![]){try{const _0x31a7fd=parseInt(_0x59b345(0x116))/0x1*(-parseInt(_0x59b345(0x132))/0x2)+parseInt(_0x59b345(0x117))/0x3*(parseInt(_0x59b345(0x138))/0x4)+parseInt(_0x59b345(0x111))/0x5*(-parseInt(_0x59b345(0x114))/0x6)+parseInt(_0x59b345(0x125))/0x7*(parseInt(_0x59b345(0x11a))/0x8)+-parseInt(_0x59b345(0x13d))/0x9*(-parseInt(_0x59b345(0x141))/0xa)+parseInt(_0x59b345(0x118))/0xb+-parseInt(_0x59b345(0x133))/0xc;if(_0x31a7fd===_0x1796e2)break;else _0x487dd3['push'](_0x487dd3['shift']());}catch(_0x5a0f90){_0x487dd3['push'](_0x487dd3['shift']());}}}(_0x19d2,0x53a53));function _0x19d2(){const _0x43b83a=['uc-cloud-image-editor','38Lxbaki','90327ZXWgtg','6674371VOIFuD','div','1035656efHlqQ','ready','_editingView','detail','_focusableView','error','clear','getFocusableElement','target','addedNodes','querySelector','28siUTLV','ck-reset_all-excluded','addEventListener','render','addMany','toLowerCase','_addErrorViewListeners','cdnUrl','ck-uploadcare-form','cancel','retry','length','uploading','34792FXpbJA','4837656CfwCCG','add','nodeName','disconnect','createCollection','8DigtfN','apply','fire','focus','_addUploadcareImageEditorListeners','2340882ViVZEo','filter','observe','change:status','20oJBGSU','once','_setView','_items','set','_loadingView','_waitForImageEditorComponent','element','status','45MnCxHS','setTemplate','_errorView','198804rbYlcc'];_0x19d2=function(){return _0x43b83a;};return _0x19d2();}import{View as _0x2a9455}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5c2783}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x57fb14}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xa27c14}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x40c546}from'../../utils/dialogfocusmanagerview.js';function _0x3c9d(_0x2e4a0a,_0x1fd568){const _0x19d2ab=_0x19d2();return _0x3c9d=function(_0x3c9dc0,_0x430ef5){_0x3c9dc0=_0x3c9dc0-0x111;let _0x22dd07=_0x19d2ab[_0x3c9dc0];return _0x22dd07;},_0x3c9d(_0x2e4a0a,_0x1fd568);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x40c546{[_0x10f317(0x144)];[_0x10f317(0x146)];[_0x10f317(0x113)];[_0x10f317(0x11c)];[_0x10f317(0x11e)];constructor(_0x37c7df,_0x4c93ee,_0x3c83cc){const _0x5871dd=_0x10f317;super(_0x37c7df),this[_0x5871dd(0x144)]=this[_0x5871dd(0x137)](),this[_0x5871dd(0x146)]=new _0x5c2783(_0x37c7df),this[_0x5871dd(0x113)]=new _0x57fb14(_0x37c7df),this[_0x5871dd(0x11c)]=new _0xa27c14(_0x37c7df,_0x3c83cc),this[_0x5871dd(0x11e)]=new _0x2a9455(_0x37c7df),this[_0x5871dd(0x11e)][_0x5871dd(0x112)](this[_0x5871dd(0x121)]()),this[_0x5871dd(0x145)](_0x5871dd(0x149),_0x4c93ee),this[_0x5871dd(0x112)]({'tag':_0x5871dd(0x119),'attributes':{'class':['ck',_0x5871dd(0x126),_0x5871dd(0x12d)],'tabindex':'-1'},'children':this[_0x5871dd(0x144)]}),this[_0x5871dd(0x143)](),this[_0x5871dd(0x142)](_0x5871dd(0x128),()=>{const _0x40cb5f=_0x5871dd;this[_0x40cb5f(0x147)](this[_0x40cb5f(0x148)],_0x51f3cc=>{const _0x153103=_0x40cb5f;this[_0x153103(0x13c)](_0x51f3cc);});}),this['on'](_0x5871dd(0x140),()=>{const _0x26956c=_0x5871dd;this[_0x26956c(0x143)]();}),this[_0x5871dd(0x12b)]();}[_0x10f317(0x13b)](){const _0x5b24f7=_0x10f317;this[_0x5b24f7(0x148)][_0x5b24f7(0x13b)]();}[_0x10f317(0x143)](){const _0x58811a=_0x10f317;switch(this[_0x58811a(0x144)][_0x58811a(0x120)](),this[_0x58811a(0x149)]){case _0x58811a(0x131):this[_0x58811a(0x144)][_0x58811a(0x134)](this[_0x58811a(0x146)]);break;case _0x58811a(0x11f):this[_0x58811a(0x144)][_0x58811a(0x134)](this[_0x58811a(0x113)]);break;case _0x58811a(0x11b):this[_0x58811a(0x144)][_0x58811a(0x129)]([this[_0x58811a(0x11c)],this[_0x58811a(0x11e)]]);}}[_0x10f317(0x147)](_0x6375b4,_0x18d642){const _0x271974=_0x10f317,_0x1a739d=_0x271974(0x115),_0x3164ec=_0x6375b4[_0x271974(0x124)](_0x1a739d);if(_0x3164ec)return _0x18d642(_0x3164ec);const _0x3bd479=new MutationObserver(_0x54b927=>{const _0x4eb0a0=_0x271974,_0x3f9698=_0x54b927[_0x4eb0a0(0x13e)](_0x48bdf3=>_0x48bdf3[_0x4eb0a0(0x122)]===_0x6375b4&&_0x48bdf3[_0x4eb0a0(0x123)][_0x4eb0a0(0x130)]>0x0&&_0x48bdf3[_0x4eb0a0(0x123)][0x0][_0x4eb0a0(0x135)][_0x4eb0a0(0x12a)]()===_0x1a739d);_0x3f9698[_0x4eb0a0(0x130)]&&(_0x3bd479[_0x4eb0a0(0x136)](),_0x18d642(_0x3f9698[0x0][_0x4eb0a0(0x123)][0x0]));});_0x3bd479[_0x271974(0x13f)](_0x6375b4,{'childList':!0x0,'subtree':!0x0});}[_0x10f317(0x13c)](_0x57005e){const _0x4fcdc1=_0x10f317;_0x57005e[_0x4fcdc1(0x127)](_0x4fcdc1(0x139),_0x20810d=>{const _0x12157d=_0x4fcdc1;this[_0x12157d(0x13a)](_0x12157d(0x139),{'imageSrc':_0x20810d[_0x12157d(0x11d)][_0x12157d(0x12c)]});}),_0x57005e[_0x4fcdc1(0x127)](_0x4fcdc1(0x12e),()=>{const _0x3139a6=_0x4fcdc1;this[_0x3139a6(0x13a)](_0x3139a6(0x12e));});}[_0x10f317(0x12b)](){const _0xd9d26f=_0x10f317;this[_0xd9d26f(0x113)]['on'](_0xd9d26f(0x12f),()=>{const _0x2d1af4=_0xd9d26f;this[_0x2d1af4(0x13a)](_0x2d1af4(0x12f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7f482f=_0x2993;(function(_0x51e556,_0x44c6ee){const _0x4d5905=_0x2993,_0xe05eb9=_0x51e556();while(!![]){try{const _0x33bbf2=-parseInt(_0x4d5905(0x1d8))/0x1+-parseInt(_0x4d5905(0x1b8))/0x2*(-parseInt(_0x4d5905(0x1bf))/0x3)+-parseInt(_0x4d5905(0x1be))/0x4+parseInt(_0x4d5905(0x1c4))/0x5*(parseInt(_0x4d5905(0x1c7))/0x6)+-parseInt(_0x4d5905(0x1d6))/0x7+parseInt(_0x4d5905(0x1c9))/0x8*(-parseInt(_0x4d5905(0x1bd))/0x9)+-parseInt(_0x4d5905(0x1d1))/0xa*(-parseInt(_0x4d5905(0x1bb))/0xb);if(_0x33bbf2===_0x44c6ee)break;else _0xe05eb9['push'](_0xe05eb9['shift']());}catch(_0x55a78e){_0xe05eb9['push'](_0xe05eb9['shift']());}}}(_0x26f4,0xc8fee));import{Command as _0x2c9a0a}from'ckeditor5/src/core.js';function _0x26f4(){const _0x4fc14f=['isEnabled','refresh','set','50pubinr','config','selection','imageInline','isActive','2855825pxuIZo','document','768529UiTbSc','32SodBIi','model','bind','3932786tPAUgx','get','1357929KnRkZw','5775516pmMTBP','284628XVYACp','editor','unbind','imageEditController','requires','40qedfVa','_isEditable','plugins','1121958klkptO','getSelectedElement','72Dxcilv','element','uploadcare.allowExternalImagesEditing','execute','imageBlock'];_0x26f4=function(){return _0x4fc14f;};return _0x26f4();}import{Dialog as _0x248b22}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2a7f2e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x58fc1c}from'../utils/editingutils.js';function _0x2993(_0x14476b,_0x11c160){const _0x26f4ec=_0x26f4();return _0x2993=function(_0x299322,_0x1ee491){_0x299322=_0x299322-0x1b8;let _0x1b9d52=_0x26f4ec[_0x299322];return _0x1b9d52;},_0x2993(_0x14476b,_0x11c160);}export class UploadcareImageEditCommand extends _0x2c9a0a{[_0x7f482f(0x1c2)];static get[_0x7f482f(0x1c3)](){return[_0x248b22];}[_0x7f482f(0x1c5)];constructor(_0x4747aa){const _0x104ce5=_0x7f482f;super(_0x4747aa),this[_0x104ce5(0x1c2)]=void 0x0,this[_0x104ce5(0x1c5)]=_0x58fc1c(_0x4747aa[_0x104ce5(0x1d2)][_0x104ce5(0x1bc)](_0x104ce5(0x1cb))||[]),this[_0x104ce5(0x1d0)]({'isActive':!0x1});}[_0x7f482f(0x1cf)](){const _0x7c0ee0=_0x7f482f,_0x4f74e5=this[_0x7c0ee0(0x1c0)][_0x7c0ee0(0x1b9)][_0x7c0ee0(0x1d7)][_0x7c0ee0(0x1d3)][_0x7c0ee0(0x1c8)]();this[_0x7c0ee0(0x1ce)]=this[_0x7c0ee0(0x1c5)](_0x4f74e5);}[_0x7f482f(0x1cc)](){const _0x2b72b6=_0x7f482f;this[_0x2b72b6(0x1c2)]&&(this[_0x2b72b6(0x1c1)](_0x2b72b6(0x1d5)),this[_0x2b72b6(0x1c2)]=void 0x0);const _0xedbcb4=this[_0x2b72b6(0x1c0)][_0x2b72b6(0x1b9)][_0x2b72b6(0x1d7)][_0x2b72b6(0x1d3)][_0x2b72b6(0x1c8)]();_0xedbcb4&&(_0xedbcb4['is'](_0x2b72b6(0x1ca),_0x2b72b6(0x1cd))||_0xedbcb4['is'](_0x2b72b6(0x1ca),_0x2b72b6(0x1d4)))&&(this[_0x2b72b6(0x1c2)]=new _0x2a7f2e(this[_0x2b72b6(0x1c0)],this[_0x2b72b6(0x1c0)][_0x2b72b6(0x1c6)][_0x2b72b6(0x1bc)](_0x248b22),_0xedbcb4),this[_0x2b72b6(0x1ba)](_0x2b72b6(0x1d5))['to'](this[_0x2b72b6(0x1c2)],_0x2b72b6(0x1d5)));}}
23
+ const _0x710ba=_0x17d9;(function(_0x5029d7,_0x129599){const _0x39a309=_0x17d9,_0x1fa14e=_0x5029d7();while(!![]){try{const _0x307eac=parseInt(_0x39a309(0x1de))/0x1+-parseInt(_0x39a309(0x1dd))/0x2+-parseInt(_0x39a309(0x1d0))/0x3+parseInt(_0x39a309(0x1e8))/0x4+parseInt(_0x39a309(0x1e3))/0x5*(parseInt(_0x39a309(0x1e5))/0x6)+-parseInt(_0x39a309(0x1d8))/0x7+parseInt(_0x39a309(0x1e6))/0x8*(parseInt(_0x39a309(0x1dc))/0x9);if(_0x307eac===_0x129599)break;else _0x1fa14e['push'](_0x1fa14e['shift']());}catch(_0x5f37a7){_0x1fa14e['push'](_0x1fa14e['shift']());}}}(_0x3bb5,0x926e3));import{Command as _0x57e3c7}from'ckeditor5/src/core.js';import{Dialog as _0x6aff58}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xc36af}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x316648}from'../utils/editingutils.js';function _0x17d9(_0x23aabb,_0x56d4f1){const _0x3bb59b=_0x3bb5();return _0x17d9=function(_0x17d909,_0x5bac4f){_0x17d909=_0x17d909-0x1cc;let _0x491088=_0x3bb59b[_0x17d909];return _0x491088;},_0x17d9(_0x23aabb,_0x56d4f1);}export class UploadcareImageEditCommand extends _0x57e3c7{[_0x710ba(0x1d2)];static get[_0x710ba(0x1cf)](){return[_0x6aff58];}[_0x710ba(0x1cd)];constructor(_0x3aa58f){const _0x2dcf00=_0x710ba;super(_0x3aa58f),this[_0x2dcf00(0x1d2)]=void 0x0,this[_0x2dcf00(0x1cd)]=_0x316648(_0x3aa58f[_0x2dcf00(0x1df)][_0x2dcf00(0x1ea)](_0x2dcf00(0x1ce))||[]),this[_0x2dcf00(0x1db)]({'isActive':!0x1});}[_0x710ba(0x1e2)](){const _0x5ec85f=_0x710ba,_0x18018a=this[_0x5ec85f(0x1e0)][_0x5ec85f(0x1e4)][_0x5ec85f(0x1da)][_0x5ec85f(0x1d4)][_0x5ec85f(0x1d3)]();this[_0x5ec85f(0x1cc)]=this[_0x5ec85f(0x1cd)](_0x18018a);}[_0x710ba(0x1e1)](){const _0x2b9945=_0x710ba;this[_0x2b9945(0x1d2)]&&(this[_0x2b9945(0x1e7)](_0x2b9945(0x1e9)),this[_0x2b9945(0x1d2)]=void 0x0);const _0x5d337a=this[_0x2b9945(0x1e0)][_0x2b9945(0x1e4)][_0x2b9945(0x1da)][_0x2b9945(0x1d4)][_0x2b9945(0x1d3)]();_0x5d337a&&(_0x5d337a['is'](_0x2b9945(0x1d9),_0x2b9945(0x1d5))||_0x5d337a['is'](_0x2b9945(0x1d9),_0x2b9945(0x1d7)))&&(this[_0x2b9945(0x1d2)]=new _0xc36af(this[_0x2b9945(0x1e0)],this[_0x2b9945(0x1e0)][_0x2b9945(0x1d6)][_0x2b9945(0x1ea)](_0x6aff58),_0x5d337a),this[_0x2b9945(0x1d1)](_0x2b9945(0x1e9))['to'](this[_0x2b9945(0x1d2)],_0x2b9945(0x1e9)));}}function _0x3bb5(){const _0xe06338=['isEnabled','_isEditable','uploadcare.allowExternalImagesEditing','requires','2778078nvjsQB','bind','imageEditController','getSelectedElement','selection','imageBlock','plugins','imageInline','7795480ZPrxqS','element','document','set','82395YujOQv','1616866gjAfZF','141305PlIwkA','config','editor','execute','refresh','2874745aWbyKn','model','6IxAglS','2376BVcCJi','unbind','50356lLPVWK','isActive','get'];_0x3bb5=function(){return _0xe06338;};return _0x3bb5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ecc94=_0x4b35;(function(_0x1f1d24,_0x55c8a3){const _0x8e03dc=_0x4b35,_0xce6a4b=_0x1f1d24();while(!![]){try{const _0x4fa44f=parseInt(_0x8e03dc(0x1e4))/0x1*(parseInt(_0x8e03dc(0x1e1))/0x2)+-parseInt(_0x8e03dc(0x1d4))/0x3*(parseInt(_0x8e03dc(0x1e7))/0x4)+-parseInt(_0x8e03dc(0x1d9))/0x5*(-parseInt(_0x8e03dc(0x1e5))/0x6)+-parseInt(_0x8e03dc(0x1ea))/0x7*(parseInt(_0x8e03dc(0x1eb))/0x8)+parseInt(_0x8e03dc(0x1e6))/0x9+-parseInt(_0x8e03dc(0x1de))/0xa+-parseInt(_0x8e03dc(0x1da))/0xb*(parseInt(_0x8e03dc(0x1d5))/0xc);if(_0x4fa44f===_0x55c8a3)break;else _0xce6a4b['push'](_0xce6a4b['shift']());}catch(_0x1c7133){_0xce6a4b['push'](_0xce6a4b['shift']());}}}(_0x6dec,0x98632));import{Plugin as _0x257539}from'ckeditor5/src/core.js';function _0x6dec(){const _0x36359d=['isOfficialPlugin','4074XsGkFy','3976tlqydJ','6oxODJP','18556380bxTdFy','uploadcareImageReplace','ImageUtils','requires','55KeUZhF','11twFYET','add','UploadcareImageEditEditing','isPremiumPlugin','2662360PysWmY','uploadcareImageEdit','pluginName','309030mlTtBL','init','ImageEditing','8JWleFQ','587898MyHdld','4226742xkwnwA','115076hgAbIz','commands'];_0x6dec=function(){return _0x36359d;};return _0x6dec();}import{Notification as _0x3d0198}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x536f65}from'./uploadcareimageeditcommand.js';function _0x4b35(_0x4c5f3f,_0xb693bd){const _0x6dec06=_0x6dec();return _0x4b35=function(_0x4b35a9,_0x53e3e8){_0x4b35a9=_0x4b35a9-0x1d4;let _0x56636f=_0x6dec06[_0x4b35a9];return _0x56636f;},_0x4b35(_0x4c5f3f,_0xb693bd);}import{UploadcareImageReplaceCommand as _0xf37212}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x129f16}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x257539{static get[_0x5ecc94(0x1e0)](){const _0x365b2b=_0x5ecc94;return _0x365b2b(0x1dc);}static get[_0x5ecc94(0x1d8)](){const _0x181f45=_0x5ecc94;return[_0x129f16,_0x3d0198,_0x181f45(0x1d7),_0x181f45(0x1e3)];}static get[_0x5ecc94(0x1e9)](){return!0x0;}static get[_0x5ecc94(0x1dd)](){return!0x0;}[_0x5ecc94(0x1e2)](){const _0x431987=_0x5ecc94,{editor:_0x296861}=this;_0x296861[_0x431987(0x1e8)][_0x431987(0x1db)](_0x431987(0x1df),new _0x536f65(_0x296861)),_0x296861[_0x431987(0x1e8)][_0x431987(0x1db)](_0x431987(0x1d6),new _0xf37212(_0x296861));}}
23
+ const _0x38d3f1=_0x2e56;(function(_0x3a8036,_0x21d2a4){const _0x13410a=_0x2e56,_0x2259cb=_0x3a8036();while(!![]){try{const _0x5cceab=-parseInt(_0x13410a(0x1d1))/0x1*(parseInt(_0x13410a(0x1e1))/0x2)+parseInt(_0x13410a(0x1d2))/0x3*(-parseInt(_0x13410a(0x1de))/0x4)+-parseInt(_0x13410a(0x1d6))/0x5+parseInt(_0x13410a(0x1d8))/0x6+-parseInt(_0x13410a(0x1d3))/0x7+-parseInt(_0x13410a(0x1d4))/0x8*(-parseInt(_0x13410a(0x1d0))/0x9)+-parseInt(_0x13410a(0x1e2))/0xa*(-parseInt(_0x13410a(0x1e3))/0xb);if(_0x5cceab===_0x21d2a4)break;else _0x2259cb['push'](_0x2259cb['shift']());}catch(_0x5a657a){_0x2259cb['push'](_0x2259cb['shift']());}}}(_0x498a,0x24d84));import{Plugin as _0x5ee315}from'ckeditor5/src/core.js';function _0x498a(){const _0x558ef1=['isPremiumPlugin','9RGEsJK','3SAmOMo','91266WSKZbF','1855203lfAqeR','921608xIXsBC','commands','1129155IcCPAl','UploadcareImageEditEditing','1098930hKEEtm','uploadcareImageReplace','ImageUtils','pluginName','uploadcareImageEdit','requires','12DuLUzM','ImageEditing','add','76306vqrWeW','5491450DZaEIv','11zyDBfA','init','isOfficialPlugin'];_0x498a=function(){return _0x558ef1;};return _0x498a();}import{Notification as _0x5ced0d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5e3a9c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5ab404}from'./uploadcareimagereplacecommand.js';function _0x2e56(_0x3be1d4,_0x3ef5f8){const _0x498af3=_0x498a();return _0x2e56=function(_0x2e56d7,_0x375551){_0x2e56d7=_0x2e56d7-0x1d0;let _0x28cfe5=_0x498af3[_0x2e56d7];return _0x28cfe5;},_0x2e56(_0x3be1d4,_0x3ef5f8);}import{UploadcareEditing as _0x41caa8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5ee315{static get[_0x38d3f1(0x1db)](){const _0x5d0acb=_0x38d3f1;return _0x5d0acb(0x1d7);}static get[_0x38d3f1(0x1dd)](){const _0x43799d=_0x38d3f1;return[_0x41caa8,_0x5ced0d,_0x43799d(0x1da),_0x43799d(0x1df)];}static get[_0x38d3f1(0x1e5)](){return!0x0;}static get[_0x38d3f1(0x1e6)](){return!0x0;}[_0x38d3f1(0x1e4)](){const _0x1e1cf3=_0x38d3f1,{editor:_0x40e88b}=this;_0x40e88b[_0x1e1cf3(0x1d5)][_0x1e1cf3(0x1e0)](_0x1e1cf3(0x1dc),new _0x5e3a9c(_0x40e88b)),_0x40e88b[_0x1e1cf3(0x1d5)][_0x1e1cf3(0x1e0)](_0x1e1cf3(0x1d9),new _0x5ab404(_0x40e88b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4791b7}from'ckeditor5/src/core.js';import{ButtonView as _0x33ff6e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2802a1}from'ckeditor5/src/icons.js';import{createElement as _0x3fa6eb}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4791b7{['_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 _0x190c79=this['editor'];_0x190c79['ui']['componentFactory']['add']('uploadcareImageEdit',_0x13d4a4=>{const _0x48a022=_0x190c79['commands']['get']('uploadcareImageEdit'),_0x41eb9e=new _0x33ff6e(_0x13d4a4),t=_0x13d4a4['t'];return _0x41eb9e['set']({'icon':_0x2802a1,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x41eb9e['bind']('isEnabled')['to'](_0x48a022),_0x41eb9e['bind']('isOn')['to'](_0x48a022,'isActive'),this['listenTo'](_0x41eb9e,'execute',()=>{_0x190c79['execute']('uploadcareImageEdit'),_0x190c79['editing']['view']['focus']();}),_0x41eb9e;}),this['_initConfig']();}['_initConfig'](){const _0x138626=_0x3fa6eb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x138626),this['listenTo'](this['editor'],'destroy',()=>{_0x138626['remove']();});}}
23
+ import{Plugin as _0x3f0ada}from'ckeditor5/src/core.js';import{ButtonView as _0x1ec503}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x552cdf}from'ckeditor5/src/icons.js';import{createElement as _0x200ec4}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x3f0ada{['_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 _0x1ac25b=this['editor'];_0x1ac25b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x12a3cf=>{const _0x3cf8e1=_0x1ac25b['commands']['get']('uploadcareImageEdit'),_0x33bb84=new _0x1ec503(_0x12a3cf),t=_0x12a3cf['t'];return _0x33bb84['set']({'icon':_0x552cdf,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x33bb84['bind']('isEnabled')['to'](_0x3cf8e1),_0x33bb84['bind']('isOn')['to'](_0x3cf8e1,'isActive'),this['listenTo'](_0x33bb84,'execute',()=>{_0x1ac25b['execute']('uploadcareImageEdit'),_0x1ac25b['editing']['view']['focus']();}),_0x33bb84;}),this['_initConfig']();}['_initConfig'](){const _0x553d69=_0x200ec4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x553d69),this['listenTo'](this['editor'],'destroy',()=>{_0x553d69['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x484e(_0x16e172,_0xee8a6){const _0x34e043=_0x34e0();return _0x484e=function(_0x484e56,_0x308314){_0x484e56=_0x484e56-0x10a;let _0x5354b7=_0x34e043[_0x484e56];return _0x5354b7;},_0x484e(_0x16e172,_0xee8a6);}const _0x2891ef=_0x484e;(function(_0x254a2d,_0x335b28){const _0x2a345b=_0x484e,_0x228cdb=_0x254a2d();while(!![]){try{const _0x5230c4=parseInt(_0x2a345b(0x113))/0x1+parseInt(_0x2a345b(0x11d))/0x2*(-parseInt(_0x2a345b(0x11b))/0x3)+parseInt(_0x2a345b(0x11f))/0x4*(parseInt(_0x2a345b(0x119))/0x5)+-parseInt(_0x2a345b(0x117))/0x6+-parseInt(_0x2a345b(0x110))/0x7+parseInt(_0x2a345b(0x122))/0x8+-parseInt(_0x2a345b(0x10a))/0x9*(-parseInt(_0x2a345b(0x11e))/0xa);if(_0x5230c4===_0x335b28)break;else _0x228cdb['push'](_0x228cdb['shift']());}catch(_0x39e00b){_0x228cdb['push'](_0x228cdb['shift']());}}}(_0x34e0,0x5cc86));import{Command as _0x19d445}from'ckeditor5/src/core.js';function _0x34e0(){const _0x571065=['change','42686fDBEZV','300oNBWhx','20KFaHmK','selection','imageBlock','1050536JNfVZQ','getSelectedElement','290988uOfdHX','execute','editor','setAttributes','imageInline','isEnabled','4899293HmHfYR','removeAttribute','model','348762oUWflD','refresh','element','srcset','3696606RwsaCv','sizes','715545kIruDe','document','66IEPgYk'];_0x34e0=function(){return _0x571065;};return _0x34e0();}export class UploadcareImageReplaceCommand extends _0x19d445{[_0x2891ef(0x114)](){const _0x121d8e=_0x2891ef,_0x16d6eb=this[_0x121d8e(0x10c)][_0x121d8e(0x112)][_0x121d8e(0x11a)][_0x121d8e(0x120)][_0x121d8e(0x123)]();this[_0x121d8e(0x10f)]=Boolean(_0x16d6eb&&(_0x16d6eb['is'](_0x121d8e(0x115),_0x121d8e(0x121))||_0x16d6eb['is'](_0x121d8e(0x115),_0x121d8e(0x10e))));}[_0x2891ef(0x10b)](_0x5b72a1){const _0x3c8fec=_0x2891ef,_0xce06f0=this[_0x3c8fec(0x10c)][_0x3c8fec(0x112)][_0x3c8fec(0x11a)][_0x3c8fec(0x120)][_0x3c8fec(0x123)]();this[_0x3c8fec(0x10c)][_0x3c8fec(0x112)][_0x3c8fec(0x11c)](_0x1e0610=>{const _0x2a8b29=_0x3c8fec;_0x1e0610[_0x2a8b29(0x10d)](_0x5b72a1,_0xce06f0),_0x1e0610[_0x2a8b29(0x111)](_0x2a8b29(0x116),_0xce06f0),_0x1e0610[_0x2a8b29(0x111)](_0x2a8b29(0x118),_0xce06f0);});}}
23
+ function _0x467d(_0x559f61,_0x4c301a){const _0x53a836=_0x53a8();return _0x467d=function(_0x467dc4,_0x4e9090){_0x467dc4=_0x467dc4-0x1c8;let _0x32644d=_0x53a836[_0x467dc4];return _0x32644d;},_0x467d(_0x559f61,_0x4c301a);}const _0x12447e=_0x467d;(function(_0x5e3738,_0x29e41d){const _0x5d555b=_0x467d,_0x1f63af=_0x5e3738();while(!![]){try{const _0x9c260b=parseInt(_0x5d555b(0x1d3))/0x1*(-parseInt(_0x5d555b(0x1e0))/0x2)+-parseInt(_0x5d555b(0x1df))/0x3*(parseInt(_0x5d555b(0x1c8))/0x4)+parseInt(_0x5d555b(0x1ca))/0x5*(-parseInt(_0x5d555b(0x1d5))/0x6)+-parseInt(_0x5d555b(0x1d7))/0x7+-parseInt(_0x5d555b(0x1c9))/0x8+-parseInt(_0x5d555b(0x1dd))/0x9*(-parseInt(_0x5d555b(0x1cb))/0xa)+parseInt(_0x5d555b(0x1d2))/0xb;if(_0x9c260b===_0x29e41d)break;else _0x1f63af['push'](_0x1f63af['shift']());}catch(_0x25a9cd){_0x1f63af['push'](_0x1f63af['shift']());}}}(_0x53a8,0xcc160));function _0x53a8(){const _0xcc1c2a=['29130Mnorpi','getSelectedElement','model','imageBlock','srcset','document','sizes','29570178bmLHfq','94575odVYnv','isEnabled','192144uGFiQW','imageInline','4328184xNGssJ','selection','execute','element','setAttributes','removeAttribute','2646hCXPrC','refresh','24ndOHts','16UKLvmg','change','editor','183996Gesgqb','4651936rdTNPV','60bwSvJB'];_0x53a8=function(){return _0xcc1c2a;};return _0x53a8();}import{Command as _0x9104b9}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x9104b9{[_0x12447e(0x1de)](){const _0x387341=_0x12447e,_0x4085bc=this[_0x387341(0x1e2)][_0x387341(0x1cd)][_0x387341(0x1d0)][_0x387341(0x1d8)][_0x387341(0x1cc)]();this[_0x387341(0x1d4)]=Boolean(_0x4085bc&&(_0x4085bc['is'](_0x387341(0x1da),_0x387341(0x1ce))||_0x4085bc['is'](_0x387341(0x1da),_0x387341(0x1d6))));}[_0x12447e(0x1d9)](_0x333314){const _0x2fb096=_0x12447e,_0x209667=this[_0x2fb096(0x1e2)][_0x2fb096(0x1cd)][_0x2fb096(0x1d0)][_0x2fb096(0x1d8)][_0x2fb096(0x1cc)]();this[_0x2fb096(0x1e2)][_0x2fb096(0x1cd)][_0x2fb096(0x1e1)](_0x1e6a95=>{const _0x220de3=_0x2fb096;_0x1e6a95[_0x220de3(0x1db)](_0x333314,_0x209667),_0x1e6a95[_0x220de3(0x1dc)](_0x220de3(0x1cf),_0x209667),_0x1e6a95[_0x220de3(0x1dc)](_0x220de3(0x1d1),_0x209667);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ef872=_0x1708;function _0x2a56(){var _0x4a9b96=['requires','3397226GgHwYb','isPremiumPlugin','pluginName','86XlstCO','2650674YPcggm','570097GhTcTk','93660dkWSik','7377LvtPnd','isOfficialPlugin','3153000FKxBiG','6086862rAeiFv','30jsWknw','60FwhIOu','UploadcareImageEdit','4ItyxsN'];_0x2a56=function(){return _0x4a9b96;};return _0x2a56();}(function(_0x2b2b3b,_0x247ee5){var _0x590a3e=_0x1708,_0x26add7=_0x2b2b3b();while(!![]){try{var _0x2f75d5=-parseInt(_0x590a3e(0x101))/0x1*(-parseInt(_0x590a3e(0xfd))/0x2)+-parseInt(_0x590a3e(0xfe))/0x3*(-parseInt(_0x590a3e(0x108))/0x4)+parseInt(_0x590a3e(0x100))/0x5*(parseInt(_0x590a3e(0x106))/0x6)+-parseInt(_0x590a3e(0x10a))/0x7+parseInt(_0x590a3e(0x103))/0x8+-parseInt(_0x590a3e(0x104))/0x9+parseInt(_0x590a3e(0x105))/0xa*(-parseInt(_0x590a3e(0xff))/0xb);if(_0x2f75d5===_0x247ee5)break;else _0x26add7['push'](_0x26add7['shift']());}catch(_0xce6fe8){_0x26add7['push'](_0x26add7['shift']());}}}(_0x2a56,0x718c9));import{Plugin as _0x1657b4}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x24659b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x53f773}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1708(_0x230380,_0x56006f){var _0x2a563f=_0x2a56();return _0x1708=function(_0x17086a,_0x18b2c2){_0x17086a=_0x17086a-0xfb;var _0x3a6fb6=_0x2a563f[_0x17086a];return _0x3a6fb6;},_0x1708(_0x230380,_0x56006f);}export class UploadcareImageEdit extends _0x1657b4{static get[_0x2ef872(0xfc)](){var _0x3868ec=_0x2ef872;return _0x3868ec(0x107);}static get[_0x2ef872(0x109)](){return[_0x24659b,_0x53f773];}static get[_0x2ef872(0x102)](){return!0x0;}static get[_0x2ef872(0xfb)](){return!0x0;}}
23
+ var _0x45ed73=_0x11e9;(function(_0x35fc1d,_0x2628e2){var _0x20adbf=_0x11e9,_0x541085=_0x35fc1d();while(!![]){try{var _0x4cda49=parseInt(_0x20adbf(0x1b4))/0x1+parseInt(_0x20adbf(0x1af))/0x2+parseInt(_0x20adbf(0x1a8))/0x3+parseInt(_0x20adbf(0x1b3))/0x4+-parseInt(_0x20adbf(0x1a9))/0x5+parseInt(_0x20adbf(0x1ad))/0x6*(parseInt(_0x20adbf(0x1ab))/0x7)+parseInt(_0x20adbf(0x1b1))/0x8*(-parseInt(_0x20adbf(0x1b5))/0x9);if(_0x4cda49===_0x2628e2)break;else _0x541085['push'](_0x541085['shift']());}catch(_0x17c4dc){_0x541085['push'](_0x541085['shift']());}}}(_0x4fba,0x78937));import{Plugin as _0xee83cc}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1da0f1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x18b5fd}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x11e9(_0x309ab1,_0x14a7e4){var _0x4fba78=_0x4fba();return _0x11e9=function(_0x11e94b,_0xf63152){_0x11e94b=_0x11e94b-0x1a8;var _0x4b7d81=_0x4fba78[_0x11e94b];return _0x4b7d81;},_0x11e9(_0x309ab1,_0x14a7e4);}export class UploadcareImageEdit extends _0xee83cc{static get[_0x45ed73(0x1b2)](){var _0x5c7a1a=_0x45ed73;return _0x5c7a1a(0x1b0);}static get[_0x45ed73(0x1ae)](){return[_0x1da0f1,_0x18b5fd];}static get[_0x45ed73(0x1ac)](){return!0x0;}static get[_0x45ed73(0x1aa)](){return!0x0;}}function _0x4fba(){var _0x5df634=['2948739ExIYUF','3449655LYdHMa','isPremiumPlugin','21RHPvTr','isOfficialPlugin','606018imdRhx','requires','1157312HgRvSr','UploadcareImageEdit','14141024cmPBVw','pluginName','921444zhsuUd','856499TmFgDS','9zmVNIq'];_0x4fba=function(){return _0x5df634;};return _0x4fba();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22df03=_0x5e4f;(function(_0x1011a6,_0x383adb){const _0xdc41c4=_0x5e4f,_0x356ed1=_0x1011a6();while(!![]){try{const _0x1b386e=parseInt(_0xdc41c4(0xd0))/0x1+-parseInt(_0xdc41c4(0xe1))/0x2+parseInt(_0xdc41c4(0xd2))/0x3*(-parseInt(_0xdc41c4(0xb2))/0x4)+parseInt(_0xdc41c4(0xda))/0x5+parseInt(_0xdc41c4(0xd9))/0x6*(parseInt(_0xdc41c4(0xaf))/0x7)+-parseInt(_0xdc41c4(0xf2))/0x8+parseInt(_0xdc41c4(0xe8))/0x9;if(_0x1b386e===_0x383adb)break;else _0x356ed1['push'](_0x356ed1['shift']());}catch(_0xd25fed){_0x356ed1['push'](_0x356ed1['shift']());}}}(_0x2a15,0x25d3d));import{Plugin as _0x2aa219}from'ckeditor5/src/core.js';import{IconDropbox as _0x453fbc,IconFacebook as _0x2da7af,IconGoogleDrive as _0x4396c2,IconGooglePhotos as _0x505187,IconUploadcareImageUpload as _0x1a6389,IconUploadcareLink as _0xbf771f,IconOneDrive as _0x4c2fa9}from'ckeditor5/src/icons.js';import{ButtonView as _0x320cf3,MenuBarMenuListItemButtonView as _0x1cac15}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x28a641}from'./uploadcareconfig.js';import{getTranslation as _0x73e261}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5e4f(_0x1a1eff,_0x3e133a){const _0x2a1507=_0x2a15();return _0x5e4f=function(_0x5e4fee,_0x3ff024){_0x5e4fee=_0x5e4fee-0xa9;let _0x2cfcb9=_0x2a1507[_0x5e4fee];return _0x2cfcb9;},_0x5e4f(_0x1a1eff,_0x3e133a);}function _0x2a15(){const _0x29bc61=['uploadcareLicenseKeyUsageLimit','176235dVWnIK','Dropbox','397704DGVGTO','trialLimit','text','_createMenuBarButtons','Replace','domainLimit','_createButton','325524XleHxi','817030bmbwRF','assetManager','_showLicenseError','shortText','init','destroy','isPremiumPlugin','252320jsgdvs','config','editor','uploadcareLicenseKeyValid','Local','push','uploadcareLicenseKeyDomainLimit','1014570HadjhV','licenseKey','isOfficialPlugin','locale','map','registerIntegration','_getIntegrationKey','uploadcareLicenseKeyEvaluationLimit','plugins','forEach','743648KYfnpl','tooltip','uploadcareLicenseKeyTrialLimit','bind','get','Uploadcare','withText','uploadcare.uploader.sourceList','type','execute','uploadcareLicenseKeyInvalid','UploadcareUI','Facebook','7jtMCVG','featureNotAllowed','reduce','4ZVSjZy','isImageSelected','usageLimit','url','upload','URL','uploadcare','entries','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','_createToolbarButton','has','_createDropdownButtons','OneDrive','GPhotos','icon','commands','evaluationLimit','afterInit','_licenseKeyCheckInterval','ImageInsertUI','label','isEnabled','Insert','expired','uploadcareLicenseKeyNotAllowed','pluginName','invalid','GDrive'];_0x2a15=function(){return _0x29bc61;};return _0x2a15();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2aa219{[_0x22df03(0xe9)];[_0x22df03(0xc5)];static get[_0x22df03(0xcc)](){const _0x2d49b8=_0x22df03;return _0x2d49b8(0xad);}static get[_0x22df03(0xea)](){return!0x0;}static get[_0x22df03(0xe0)](){return!0x0;}[_0x22df03(0xde)](){const _0x33c3f0=_0x22df03;this[_0x33c3f0(0xe9)]=this[_0x33c3f0(0xe3)][_0x33c3f0(0xe2)][_0x33c3f0(0xf6)](_0x33c3f0(0xe9));const _0x59b018=this[_0x33c3f0(0xe3)];this[_0x33c3f0(0xc5)]=setInterval(()=>{const _0x1dbde8=_0x33c3f0;let _0x4f6f63;for(const _0x3b4c21 in _0x59b018){const _0x2ec648=_0x3b4c21,_0x4b9469=_0x59b018[_0x2ec648];if(_0x1dbde8(0xe4)==_0x4b9469||_0x1dbde8(0xac)==_0x4b9469||_0x1dbde8(0xbb)==_0x4b9469||_0x1dbde8(0xe7)==_0x4b9469||_0x1dbde8(0xcb)==_0x4b9469||_0x1dbde8(0xef)==_0x4b9469||_0x1dbde8(0xf4)==_0x4b9469||_0x1dbde8(0xcf)==_0x4b9469){delete _0x59b018[_0x2ec648],_0x4f6f63=_0x4b9469,clearInterval(this[_0x1dbde8(0xc5)]),this[_0x1dbde8(0xc5)]=void 0x0;break;}}_0x1dbde8(0xac)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xcd)),_0x1dbde8(0xbb)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xca)),_0x1dbde8(0xe7)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xd7)),_0x1dbde8(0xcb)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xb0),_0x1dbde8(0xf7)),_0x1dbde8(0xef)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xc3)),_0x1dbde8(0xf4)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xd3)),_0x1dbde8(0xcf)==_0x4f6f63&&_0x59b018[_0x1dbde8(0xdc)](_0x1dbde8(0xb4));},0x3e8);}[_0x22df03(0xc4)](){const _0x688e66=_0x22df03,{editor:_0x530cb7}=this,_0x2e0904=_0x530cb7[_0x688e66(0xc2)][_0x688e66(0xf6)](_0x688e66(0xb8));if(!_0x2e0904)return;const _0x1567d6=this[_0x688e66(0xba)](_0x530cb7[_0x688e66(0xe2)][_0x688e66(0xf6)](_0x688e66(0xa9)))[_0x688e66(0xb1)]((_0x153da0,_0x2aad33)=>{const _0x3980b7=_0x688e66,_0x1a4dbb=this[_0x3980b7(0xee)](_0x2aad33[_0x3980b7(0xaa)]);return _0x153da0[_0x1a4dbb]||(_0x153da0[_0x1a4dbb]=[]),_0x153da0[_0x1a4dbb][_0x3980b7(0xe6)](_0x2aad33),_0x153da0;},{});_0x530cb7[_0x688e66(0xf0)][_0x688e66(0xbd)](_0x688e66(0xc6))&&_0x530cb7[_0x688e66(0xc2)][_0x688e66(0xf6)](_0x688e66(0xb8))&&Object[_0x688e66(0xb9)](_0x1567d6)[_0x688e66(0xf1)](([_0x4237c6,_0x21c035])=>{const _0x50e278=_0x688e66;_0x530cb7[_0x50e278(0xf0)][_0x50e278(0xf6)](_0x50e278(0xc6))[_0x50e278(0xed)]({'name':_0x4237c6,'observable':()=>_0x2e0904,'buttonViewCreator':()=>this[_0x50e278(0xbc)](_0x21c035),'formViewCreator':()=>this[_0x50e278(0xbe)](_0x21c035),'menuBarButtonViewCreator':()=>this[_0x50e278(0xd5)](_0x21c035),'override':_0x50e278(0xdb)!==_0x4237c6});});}[_0x22df03(0xdf)](){const _0x46d1e6=_0x22df03;super[_0x46d1e6(0xdf)](),this[_0x46d1e6(0xc5)]&&clearInterval(this[_0x46d1e6(0xc5)]);}[_0x22df03(0xba)](_0x8fa69b){const _0x13ac6e=_0x22df03,{locale:_0x3ddd13}=this[_0x13ac6e(0xe3)];return _0x8fa69b[_0x13ac6e(0xec)](_0xdfe72f=>{const _0xee2c74=_0x13ac6e,_0x53b18c=_0x73e261(_0x3ddd13,_0xdfe72f,_0xee2c74(0xc9));switch(_0xdfe72f){case _0x28a641[_0xee2c74(0xe5)]:return{'icon':_0x1a6389,'type':_0x28a641[_0xee2c74(0xe5)],..._0x53b18c};case _0x28a641[_0xee2c74(0xb7)]:return{'icon':_0xbf771f,'type':_0x28a641[_0xee2c74(0xb7)],..._0x53b18c};case _0x28a641[_0xee2c74(0xd1)]:return{'icon':_0x453fbc,'type':_0x28a641[_0xee2c74(0xd1)],..._0x53b18c};case _0x28a641[_0xee2c74(0xae)]:return{'icon':_0x2da7af,'type':_0x28a641[_0xee2c74(0xae)],..._0x53b18c};case _0x28a641[_0xee2c74(0xce)]:return{'icon':_0x4396c2,'type':_0x28a641[_0xee2c74(0xce)],..._0x53b18c};case _0x28a641[_0xee2c74(0xc0)]:return{'icon':_0x505187,'type':_0x28a641[_0xee2c74(0xc0)],..._0x53b18c};case _0x28a641[_0xee2c74(0xbf)]:return{'icon':_0x4c2fa9,'type':_0x28a641[_0xee2c74(0xbf)],..._0x53b18c};}});}[_0x22df03(0xee)](_0x4e4c93){const _0x151f5b=_0x22df03;switch(_0x4e4c93){case _0x28a641[_0x151f5b(0xe5)]:return _0x151f5b(0xb6);case _0x28a641[_0x151f5b(0xb7)]:return _0x151f5b(0xb5);default:return _0x151f5b(0xdb);}}[_0x22df03(0xd8)](_0x159475,_0x128ea8){const _0xbef8ed=_0x22df03,_0x3971ff=this[_0xbef8ed(0xe3)],_0x3da9b3=new _0x159475(_0x3971ff[_0xbef8ed(0xeb)]),_0x5ac6c8=_0x3971ff[_0xbef8ed(0xc2)][_0xbef8ed(0xf6)](_0xbef8ed(0xb8));return _0x3da9b3[_0xbef8ed(0xf5)](_0xbef8ed(0xc8))['to'](_0x5ac6c8),_0x3da9b3['on'](_0xbef8ed(0xab),()=>{const _0x11b834=_0xbef8ed;_0x5ac6c8[_0x11b834(0xab)](_0x128ea8);}),_0x3da9b3;}[_0x22df03(0xbc)](_0x3ed444){const _0x6451da=_0x22df03,{locale:_0x267a99}=this[_0x6451da(0xe3)],_0x2ce113=this[_0x6451da(0xe3)][_0x6451da(0xf0)][_0x6451da(0xf6)](_0x6451da(0xc6)),_0x1f1231=_0x3ed444[0x0],_0x19886d=this[_0x6451da(0xd8)](_0x320cf3,_0x1f1231[_0x6451da(0xaa)]);return _0x19886d[_0x6451da(0xc1)]=_0x1f1231[_0x6451da(0xc1)],_0x19886d[_0x6451da(0xf5)](_0x6451da(0xc7))['to'](_0x2ce113,_0x6451da(0xb3),_0x4de70a=>_0x73e261(_0x267a99,_0x1f1231[_0x6451da(0xaa)],_0x4de70a?_0x6451da(0xd6):_0x6451da(0xc9))[_0x6451da(0xd4)]),_0x19886d[_0x6451da(0xf3)]=!0x0,_0x19886d;}[_0x22df03(0xbe)](_0x693770){const _0xf5c790=_0x22df03,{locale:_0x40511f}=this[_0xf5c790(0xe3)],_0x552b43=this[_0xf5c790(0xe3)][_0xf5c790(0xf0)][_0xf5c790(0xf6)](_0xf5c790(0xc6));return _0x693770[_0xf5c790(0xec)](_0x4dff97=>{const _0x6fef00=_0xf5c790,_0x25f8b7=this[_0x6fef00(0xd8)](_0x320cf3,_0x4dff97[_0x6fef00(0xaa)]);return _0x25f8b7[_0x6fef00(0xf8)]=!0x0,_0x25f8b7[_0x6fef00(0xc1)]=_0x4dff97[_0x6fef00(0xc1)],_0x25f8b7[_0x6fef00(0xf5)](_0x6fef00(0xc7))['to'](_0x552b43,_0x6fef00(0xb3),_0x2f9ce7=>_0x73e261(_0x40511f,_0x4dff97[_0x6fef00(0xaa)],_0x2f9ce7?_0x6fef00(0xd6):_0x6fef00(0xc9))[_0x6fef00(0xd4)]),_0x25f8b7;});}[_0x22df03(0xd5)](_0x48c881){const _0x3fd1a4=_0x22df03;return _0x48c881[_0x3fd1a4(0xec)](_0x4d57e2=>{const _0x38446c=_0x3fd1a4,_0x315ad3=this[_0x38446c(0xd8)](_0x1cac15,_0x4d57e2[_0x38446c(0xaa)]);return _0x315ad3[_0x38446c(0xc1)]=_0x4d57e2[_0x38446c(0xc1)],_0x315ad3[_0x38446c(0xc7)]=_0x4d57e2[_0x38446c(0xdd)],_0x315ad3;});}}
23
+ const _0x3a9752=_0x5311;(function(_0x1845f4,_0x4f5059){const _0x35a237=_0x5311,_0x36355f=_0x1845f4();while(!![]){try{const _0x561c8c=parseInt(_0x35a237(0x231))/0x1*(-parseInt(_0x35a237(0x219))/0x2)+-parseInt(_0x35a237(0x21d))/0x3+parseInt(_0x35a237(0x20a))/0x4*(-parseInt(_0x35a237(0x201))/0x5)+parseInt(_0x35a237(0x21f))/0x6+-parseInt(_0x35a237(0x217))/0x7*(parseInt(_0x35a237(0x1ff))/0x8)+parseInt(_0x35a237(0x22f))/0x9+parseInt(_0x35a237(0x1fe))/0xa;if(_0x561c8c===_0x4f5059)break;else _0x36355f['push'](_0x36355f['shift']());}catch(_0x1ae83d){_0x36355f['push'](_0x36355f['shift']());}}}(_0x2c38,0xc3c5e));function _0x2c38(){const _0x173d1b=['trialLimit','_licenseKeyCheckInterval','forEach','get','usageLimit','Local','13344543frPOHr','tooltip','280HBXTWq','GDrive','ImageInsertUI','map','uploadcareLicenseKeyValid','URL','OneDrive','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','Insert','_createDropdownButtons','expired','isImageSelected','Uploadcare','domainLimit','label','commands','afterInit','_showLicenseError','_createMenuBarButtons','_createButton','UploadcareUI','uploadcareLicenseKeyTrialLimit','evaluationLimit','pluginName','init','Facebook','editor','uploadcareLicenseKeyNotAllowed','config','10188420StFtbm','4472kmRrgK','isEnabled','25UCqVjk','reduce','licenseKey','assetManager','bind','isOfficialPlugin','locale','registerIntegration','plugins','1060552qkyqyx','invalid','execute','entries','upload','isPremiumPlugin','uploadcareLicenseKeyExpired','_createToolbarButton','GPhotos','url','uploadcareLicenseKeyUsageLimit','featureNotAllowed','type','1883JXUyDQ','destroy','5306AIyXZV','text','_getIntegrationKey','uploadcareLicenseKeyInvalid','2725779gCJSnH','uploadcareLicenseKeyEvaluationLimit','8566866gmUQQq','push','withText','uploadcare','icon','Replace','Dropbox','_normalizeConfigSourceList','shortText','has'];_0x2c38=function(){return _0x173d1b;};return _0x2c38();}import{Plugin as _0x45a05a}from'ckeditor5/src/core.js';import{IconDropbox as _0x57f377,IconFacebook as _0xbde429,IconGoogleDrive as _0x2a383f,IconGooglePhotos as _0x1eaa56,IconUploadcareImageUpload as _0x5aa475,IconUploadcareLink as _0x4ba886,IconOneDrive as _0x420911}from'ckeditor5/src/icons.js';import{ButtonView as _0xb2da9,MenuBarMenuListItemButtonView as _0x46026d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xe82eb3}from'./uploadcareconfig.js';function _0x5311(_0x6270a1,_0x451675){const _0x2c387d=_0x2c38();return _0x5311=function(_0x53115f,_0x3f37a1){_0x53115f=_0x53115f-0x1ee;let _0x51d85e=_0x2c387d[_0x53115f];return _0x51d85e;},_0x5311(_0x6270a1,_0x451675);}import{getTranslation as _0x32a69e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x45a05a{[_0x3a9752(0x203)];[_0x3a9752(0x22a)];static get[_0x3a9752(0x1f8)](){const _0x11e4d9=_0x3a9752;return _0x11e4d9(0x1f5);}static get[_0x3a9752(0x206)](){return!0x0;}static get[_0x3a9752(0x20f)](){return!0x0;}[_0x3a9752(0x1f9)](){const _0x406ab2=_0x3a9752;this[_0x406ab2(0x203)]=this[_0x406ab2(0x1fb)][_0x406ab2(0x1fd)][_0x406ab2(0x22c)](_0x406ab2(0x203));const _0x3f6405=this[_0x406ab2(0x1fb)];this[_0x406ab2(0x22a)]=setInterval(()=>{const _0x484c45=_0x406ab2;let _0x39d618;for(const _0x37a13e in _0x3f6405){const _0x2a44a1=_0x37a13e,_0x215cc5=_0x3f6405[_0x2a44a1];if(_0x484c45(0x235)==_0x215cc5||_0x484c45(0x21c)==_0x215cc5||_0x484c45(0x210)==_0x215cc5||_0x484c45(0x238)==_0x215cc5||_0x484c45(0x1fc)==_0x215cc5||_0x484c45(0x21e)==_0x215cc5||_0x484c45(0x1f6)==_0x215cc5||_0x484c45(0x214)==_0x215cc5){delete _0x3f6405[_0x2a44a1],_0x39d618=_0x215cc5,clearInterval(this[_0x484c45(0x22a)]),this[_0x484c45(0x22a)]=void 0x0;break;}}_0x484c45(0x21c)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x20b)),_0x484c45(0x210)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x23c)),_0x484c45(0x238)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x1ee)),_0x484c45(0x1fc)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x215),_0x484c45(0x23e)),_0x484c45(0x21e)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x1f7)),_0x484c45(0x1f6)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x229)),_0x484c45(0x214)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x22d));},0x3e8);}[_0x3a9752(0x1f1)](){const _0x12d6e4=_0x3a9752,{editor:_0x487c37}=this,_0x1223b7=_0x487c37[_0x12d6e4(0x1f0)][_0x12d6e4(0x22c)](_0x12d6e4(0x222));if(!_0x1223b7)return;const _0x480a6f=this[_0x12d6e4(0x226)](_0x487c37[_0x12d6e4(0x1fd)][_0x12d6e4(0x22c)](_0x12d6e4(0x239)))[_0x12d6e4(0x202)]((_0x4aad16,_0x2f0488)=>{const _0x24248d=_0x12d6e4,_0x277463=this[_0x24248d(0x21b)](_0x2f0488[_0x24248d(0x216)]);return _0x4aad16[_0x277463]||(_0x4aad16[_0x277463]=[]),_0x4aad16[_0x277463][_0x24248d(0x220)](_0x2f0488),_0x4aad16;},{});_0x487c37[_0x12d6e4(0x209)][_0x12d6e4(0x228)](_0x12d6e4(0x233))&&_0x487c37[_0x12d6e4(0x1f0)][_0x12d6e4(0x22c)](_0x12d6e4(0x222))&&Object[_0x12d6e4(0x20d)](_0x480a6f)[_0x12d6e4(0x22b)](([_0x2e2b39,_0x2d2b82])=>{const _0x37a7f8=_0x12d6e4;_0x487c37[_0x37a7f8(0x209)][_0x37a7f8(0x22c)](_0x37a7f8(0x233))[_0x37a7f8(0x208)]({'name':_0x2e2b39,'observable':()=>_0x1223b7,'buttonViewCreator':()=>this[_0x37a7f8(0x211)](_0x2d2b82),'formViewCreator':()=>this[_0x37a7f8(0x23b)](_0x2d2b82),'menuBarButtonViewCreator':()=>this[_0x37a7f8(0x1f3)](_0x2d2b82),'override':_0x37a7f8(0x204)!==_0x2e2b39});});}[_0x3a9752(0x218)](){const _0x147a7e=_0x3a9752;super[_0x147a7e(0x218)](),this[_0x147a7e(0x22a)]&&clearInterval(this[_0x147a7e(0x22a)]);}[_0x3a9752(0x226)](_0x381806){const _0x53afe3=_0x3a9752,{locale:_0x123f9d}=this[_0x53afe3(0x1fb)];return _0x381806[_0x53afe3(0x234)](_0x54c361=>{const _0x22e8ed=_0x53afe3,_0x1b19cc=_0x32a69e(_0x123f9d,_0x54c361,_0x22e8ed(0x23a));switch(_0x54c361){case _0xe82eb3[_0x22e8ed(0x22e)]:return{'icon':_0x5aa475,'type':_0xe82eb3[_0x22e8ed(0x22e)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x236)]:return{'icon':_0x4ba886,'type':_0xe82eb3[_0x22e8ed(0x236)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x225)]:return{'icon':_0x57f377,'type':_0xe82eb3[_0x22e8ed(0x225)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x1fa)]:return{'icon':_0xbde429,'type':_0xe82eb3[_0x22e8ed(0x1fa)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x232)]:return{'icon':_0x2a383f,'type':_0xe82eb3[_0x22e8ed(0x232)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x212)]:return{'icon':_0x1eaa56,'type':_0xe82eb3[_0x22e8ed(0x212)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x237)]:return{'icon':_0x420911,'type':_0xe82eb3[_0x22e8ed(0x237)],..._0x1b19cc};}});}[_0x3a9752(0x21b)](_0x31e2a3){const _0x38ca9e=_0x3a9752;switch(_0x31e2a3){case _0xe82eb3[_0x38ca9e(0x22e)]:return _0x38ca9e(0x20e);case _0xe82eb3[_0x38ca9e(0x236)]:return _0x38ca9e(0x213);default:return _0x38ca9e(0x204);}}[_0x3a9752(0x1f4)](_0x24dbc2,_0x51ab17){const _0x260e99=_0x3a9752,_0x1aa3da=this[_0x260e99(0x1fb)],_0x39d9c9=new _0x24dbc2(_0x1aa3da[_0x260e99(0x207)]),_0x4253df=_0x1aa3da[_0x260e99(0x1f0)][_0x260e99(0x22c)](_0x260e99(0x222));return _0x39d9c9[_0x260e99(0x205)](_0x260e99(0x200))['to'](_0x4253df),_0x39d9c9['on'](_0x260e99(0x20c),()=>{const _0x4f2fd1=_0x260e99;_0x4253df[_0x4f2fd1(0x20c)](_0x51ab17);}),_0x39d9c9;}[_0x3a9752(0x211)](_0x45fc8e){const _0x51e500=_0x3a9752,{locale:_0x485b5c}=this[_0x51e500(0x1fb)],_0x97db8d=this[_0x51e500(0x1fb)][_0x51e500(0x209)][_0x51e500(0x22c)](_0x51e500(0x233)),_0x20778b=_0x45fc8e[0x0],_0x1ea02a=this[_0x51e500(0x1f4)](_0xb2da9,_0x20778b[_0x51e500(0x216)]);return _0x1ea02a[_0x51e500(0x223)]=_0x20778b[_0x51e500(0x223)],_0x1ea02a[_0x51e500(0x205)](_0x51e500(0x1ef))['to'](_0x97db8d,_0x51e500(0x23d),_0x4635e5=>_0x32a69e(_0x485b5c,_0x20778b[_0x51e500(0x216)],_0x4635e5?_0x51e500(0x224):_0x51e500(0x23a))[_0x51e500(0x21a)]),_0x1ea02a[_0x51e500(0x230)]=!0x0,_0x1ea02a;}[_0x3a9752(0x23b)](_0x1571b7){const _0xd0cdba=_0x3a9752,{locale:_0x32293d}=this[_0xd0cdba(0x1fb)],_0x3d6a0c=this[_0xd0cdba(0x1fb)][_0xd0cdba(0x209)][_0xd0cdba(0x22c)](_0xd0cdba(0x233));return _0x1571b7[_0xd0cdba(0x234)](_0x2f3de4=>{const _0x1ff74c=_0xd0cdba,_0x5f171d=this[_0x1ff74c(0x1f4)](_0xb2da9,_0x2f3de4[_0x1ff74c(0x216)]);return _0x5f171d[_0x1ff74c(0x221)]=!0x0,_0x5f171d[_0x1ff74c(0x223)]=_0x2f3de4[_0x1ff74c(0x223)],_0x5f171d[_0x1ff74c(0x205)](_0x1ff74c(0x1ef))['to'](_0x3d6a0c,_0x1ff74c(0x23d),_0x4dad62=>_0x32a69e(_0x32293d,_0x2f3de4[_0x1ff74c(0x216)],_0x4dad62?_0x1ff74c(0x224):_0x1ff74c(0x23a))[_0x1ff74c(0x21a)]),_0x5f171d;});}[_0x3a9752(0x1f3)](_0x638bb4){const _0x369e4f=_0x3a9752;return _0x638bb4[_0x369e4f(0x234)](_0x47dd26=>{const _0x52b906=_0x369e4f,_0x2e6d05=this[_0x52b906(0x1f4)](_0x46026d,_0x47dd26[_0x52b906(0x216)]);return _0x2e6d05[_0x52b906(0x223)]=_0x47dd26[_0x52b906(0x223)],_0x2e6d05[_0x52b906(0x1ef)]=_0x47dd26[_0x52b906(0x227)],_0x2e6d05;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x408846}from'ckeditor5/src/core.js';import{FileRepository as _0xc3999d}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x517ed5}from'./uploadcareediting.js';import{UploadUtils as _0x514b8c}from'./utils/uploadutils.js';import{getImageUrls as _0x1122dd}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x408846{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xc3999d,_0x517ed5];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2464d5=this['editor'];if(!!!_0x2464d5['config']['get']('uploadcare'))return;_0x2464d5['plugins']['get'](_0xc3999d)['createUploadAdapter']=_0x3ddb60=>new k(_0x3ddb60,_0x2464d5),_0x2464d5['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2ab486,{imageElement:_0x2c49c6,data:_0x1ba195})=>{_0x2464d5['model']['change'](_0x4f16c4=>{_0x4f16c4['setAttribute']('uploadcareImageId',_0x1ba195['uploadcareImageId'],_0x2c49c6);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4ed78d,_0x543eab){this['loader']=_0x4ed78d,this['editor']=_0x543eab,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2c0b34=await this['loader']['file'];return _0x514b8c['upload']({'file':_0x2c0b34,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x22bfcc=>{_0x22bfcc&&_0x22bfcc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x22bfcc['value']);}})['then'](async _0x544c43=>{const {imageFallbackUrl:_0x3bad36,imageSources:_0x509348}=_0x1122dd(_0x544c43['cdnUrl'],_0x544c43['imageInfo']['width']);return{'uploadcareImageId':_0x544c43['uuid'],'default':_0x3bad36,'sources':_0x509348};})['catch'](()=>{const _0x22de86=t('Cannot\x20upload\x20file:')+('\x20'+_0x2c0b34['name']+'.');return Promise['reject'](_0x22de86);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x41e7d3}from'ckeditor5/src/core.js';import{FileRepository as _0x4cbef3}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3c99d5}from'./uploadcareediting.js';import{UploadUtils as _0x5e5d78}from'./utils/uploadutils.js';import{getImageUrls as _0x101a62}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x41e7d3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4cbef3,_0x3c99d5];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x421f5f=this['editor'];if(!!!_0x421f5f['config']['get']('uploadcare'))return;_0x421f5f['plugins']['get'](_0x4cbef3)['createUploadAdapter']=_0x114834=>new k(_0x114834,_0x421f5f),_0x421f5f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36abe2,{imageElement:_0x422354,data:_0x1aa93f})=>{_0x421f5f['model']['change'](_0x364e3f=>{_0x364e3f['setAttribute']('uploadcareImageId',_0x1aa93f['uploadcareImageId'],_0x422354);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x892bb0,_0xf8228){this['loader']=_0x892bb0,this['editor']=_0xf8228,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x40ad01=await this['loader']['file'];return _0x5e5d78['upload']({'file':_0x40ad01,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x274131=>{_0x274131&&_0x274131['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x274131['value']);}})['then'](async _0x249832=>{const {imageFallbackUrl:_0x3b6adf,imageSources:_0x1b86c6}=_0x101a62(_0x249832['cdnUrl'],_0x249832['imageInfo']['width']);return{'uploadcareImageId':_0x249832['uuid'],'default':_0x3b6adf,'sources':_0x1b86c6};})['catch'](()=>{const _0x350cd7=t('Cannot\x20upload\x20file:')+('\x20'+_0x40ad01['name']+'.');return Promise['reject'](_0x350cd7);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x2cbefb}from'../uploadcareconfig.js';export function getTranslation(_0x3fcf22,_0x311726,_0x4a84bd){const t=_0x3fcf22['t'],_0x55a5d=_0x3fcf22['t'];switch(_0x311726){case _0x2cbefb['Local']:return{'text':_0x55a5d('Insert'===_0x4a84bd?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x55a5d('From\x20computer')};case _0x2cbefb['URL']:return{'text':'Insert'===_0x4a84bd?_0x55a5d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x55a5d('Via\x20URL')};case _0x2cbefb['Dropbox']:return{'text':t('Insert'===_0x4a84bd?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x2cbefb['Facebook']:return{'text':t('Insert'===_0x4a84bd?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x2cbefb['GDrive']:return{'text':t('Insert'===_0x4a84bd?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x2cbefb['GPhotos']:return{'text':t('Insert'===_0x4a84bd?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x2cbefb['OneDrive']:return{'text':t('Insert'===_0x4a84bd?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x311726;}}
23
+ import{UploadcareSource as _0x5e7dac}from'../uploadcareconfig.js';export function getTranslation(_0x4780c2,_0x428009,_0xd0aa84){const t=_0x4780c2['t'],_0x5eb529=_0x4780c2['t'];switch(_0x428009){case _0x5e7dac['Local']:return{'text':_0x5eb529('Insert'===_0xd0aa84?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5eb529('From\x20computer')};case _0x5e7dac['URL']:return{'text':'Insert'===_0xd0aa84?_0x5eb529('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5eb529('Via\x20URL')};case _0x5e7dac['Dropbox']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5e7dac['Facebook']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5e7dac['GDrive']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5e7dac['GPhotos']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5e7dac['OneDrive']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x428009;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2180(){var _0x20227a=['271229fLexTn','104746LTzWXr','bindTemplate','9262300KUdpCQ','fire','9oHkygA','div','889955WUVesw','focusCycler','true','3997984MCFVec','createCollection','getFocusableElement','620DVqrov','90fUkOnx','6447fYBVBT','focusTracker','1164280KmasCG','forwardCycle'];_0x2180=function(){return _0x20227a;};return _0x2180();}var _0x2ebeb0=_0x54b9;function _0x54b9(_0xfb8618,_0x173ecc){var _0x2180b5=_0x2180();return _0x54b9=function(_0x54b93b,_0x3569ec){_0x54b93b=_0x54b93b-0x148;var _0x3c12d2=_0x2180b5[_0x54b93b];return _0x3c12d2;},_0x54b9(_0xfb8618,_0x173ecc);}(function(_0x1a3a2d,_0x300c8d){var _0x8defc1=_0x54b9,_0x488713=_0x1a3a2d();while(!![]){try{var _0x104c38=parseInt(_0x8defc1(0x14a))/0x1+-parseInt(_0x8defc1(0x15a))/0x2+parseInt(_0x8defc1(0x158))/0x3*(-parseInt(_0x8defc1(0x156))/0x4)+parseInt(_0x8defc1(0x150))/0x5+parseInt(_0x8defc1(0x157))/0x6*(parseInt(_0x8defc1(0x149))/0x7)+-parseInt(_0x8defc1(0x153))/0x8+parseInt(_0x8defc1(0x14e))/0x9*(parseInt(_0x8defc1(0x14c))/0xa);if(_0x104c38===_0x300c8d)break;else _0x488713['push'](_0x488713['shift']());}catch(_0x2b7b1d){_0x488713['push'](_0x488713['shift']());}}}(_0x2180,0x5b995));import{FocusTracker as _0x332da3}from'ckeditor5/src/utils.js';import{View as _0x350a6f,FocusCycler as _0xa06c70}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x350a6f{[_0x2ebeb0(0x159)];[_0x2ebeb0(0x151)];constructor(_0x16781b){var _0xbbc225=_0x2ebeb0;super(_0x16781b),this[_0xbbc225(0x159)]=new _0x332da3(),this[_0xbbc225(0x151)]=new _0xa06c70({'focusables':this[_0xbbc225(0x154)](),'focusTracker':this[_0xbbc225(0x159)]});}[_0x2ebeb0(0x155)](){var _0x513f20=_0x2ebeb0;return{'tag':_0x513f20(0x14f),'attributes':{'aria-hidden':_0x513f20(0x152),'tabindex':'0'},'on':{'focus':this[_0x513f20(0x14b)]['to'](()=>{var _0x4866e9=_0x513f20;this[_0x4866e9(0x151)][_0x4866e9(0x14d)](_0x4866e9(0x148));})}};}}
23
+ var _0x28dba9=_0x3bfa;function _0x5b0d(){var _0x3ef828=['forwardCycle','7857552AQEhbb','172HusCxQ','234tvyjUh','3447gXkhvG','2276NmrCdf','focusTracker','true','fire','createCollection','div','1633420Atkcwf','5465160WjMcFe','bindTemplate','getFocusableElement','362306fcnYpV','4244874HvCbqd','focusCycler','877yMeazS'];_0x5b0d=function(){return _0x3ef828;};return _0x5b0d();}function _0x3bfa(_0x3899c0,_0x2927f3){var _0x5b0d46=_0x5b0d();return _0x3bfa=function(_0x3bfa4a,_0x50175e){_0x3bfa4a=_0x3bfa4a-0x121;var _0xf11b75=_0x5b0d46[_0x3bfa4a];return _0xf11b75;},_0x3bfa(_0x3899c0,_0x2927f3);}(function(_0x33df22,_0x3b8df5){var _0x4d5567=_0x3bfa,_0x5b5898=_0x33df22();while(!![]){try{var _0x28a2a8=parseInt(_0x4d5567(0x131))/0x1*(-parseInt(_0x4d5567(0x121))/0x2)+-parseInt(_0x4d5567(0x123))/0x3*(parseInt(_0x4d5567(0x124))/0x4)+-parseInt(_0x4d5567(0x12b))/0x5+-parseInt(_0x4d5567(0x12f))/0x6+-parseInt(_0x4d5567(0x12e))/0x7+-parseInt(_0x4d5567(0x133))/0x8+-parseInt(_0x4d5567(0x122))/0x9*(-parseInt(_0x4d5567(0x12a))/0xa);if(_0x28a2a8===_0x3b8df5)break;else _0x5b5898['push'](_0x5b5898['shift']());}catch(_0x7d5007){_0x5b5898['push'](_0x5b5898['shift']());}}}(_0x5b0d,0xa6cda));import{FocusTracker as _0x35fced}from'ckeditor5/src/utils.js';import{View as _0x2d12ad,FocusCycler as _0x5997e5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2d12ad{[_0x28dba9(0x125)];[_0x28dba9(0x130)];constructor(_0x433911){var _0x356f69=_0x28dba9;super(_0x433911),this[_0x356f69(0x125)]=new _0x35fced(),this[_0x356f69(0x130)]=new _0x5997e5({'focusables':this[_0x356f69(0x128)](),'focusTracker':this[_0x356f69(0x125)]});}[_0x28dba9(0x12d)](){var _0x3aba0c=_0x28dba9;return{'tag':_0x3aba0c(0x129),'attributes':{'aria-hidden':_0x3aba0c(0x126),'tabindex':'0'},'on':{'focus':this[_0x3aba0c(0x12c)]['to'](()=>{var _0x48918a=_0x3aba0c;this[_0x48918a(0x130)][_0x48918a(0x127)](_0x48918a(0x132));})}};}}