@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250218.0 → 0.0.0-nightly-next-20250219.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 (184) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/ckeditor5-metadata.json +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -8
  149. package/src/index.js +1 -1
  150. package/src/ui/uploadcarecontroller.d.ts +2 -6
  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.d.ts +1 -4
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
  175. package/theme/icons/dropbox.svg +0 -11
  176. package/theme/icons/error.svg +0 -1
  177. package/theme/icons/facebook.svg +0 -11
  178. package/theme/icons/google-drive.svg +0 -11
  179. package/theme/icons/google-photos.svg +0 -11
  180. package/theme/icons/image-upload.svg +0 -11
  181. package/theme/icons/link.svg +0 -11
  182. package/theme/icons/local.svg +0 -11
  183. package/theme/icons/onedrive.svg +0 -11
  184. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d1635=_0x46ec;(function(_0x3861cc,_0x3eea91){const _0x39e804=_0x46ec,_0x3d9f94=_0x3861cc();while(!![]){try{const _0x545f0d=parseInt(_0x39e804(0x15e))/0x1*(-parseInt(_0x39e804(0x123))/0x2)+-parseInt(_0x39e804(0x132))/0x3+parseInt(_0x39e804(0x135))/0x4*(parseInt(_0x39e804(0x127))/0x5)+-parseInt(_0x39e804(0x137))/0x6+-parseInt(_0x39e804(0x162))/0x7+parseInt(_0x39e804(0x133))/0x8*(-parseInt(_0x39e804(0x168))/0x9)+parseInt(_0x39e804(0x12b))/0xa*(parseInt(_0x39e804(0x160))/0xb);if(_0x545f0d===_0x3eea91)break;else _0x3d9f94['push'](_0x3d9f94['shift']());}catch(_0x101426){_0x3d9f94['push'](_0x3d9f94['shift']());}}}(_0x3a01,0x49cdf));function _0x3a01(){const _0x29fd0a=['uploadcareImageReplace','appendChild','render','insertImage','schema','uploadcare','document','imageInline','uploadcareImageId','cleanupImage','editing','getAttribute','fromCharCode','execute','PictureEditing','2pJcwnb','extend','64185lOpGWT','model','3694621gUXZhb','listenTo','attributeToAttribute','_ctxElement','uc-upload-ctx-provider','_initCtx','12393FKOeZk','view','init','contentLanguage','closeMax','replaceImageSource','_initImageProcessingIndicator','map','upcast','isPremiumPlugin','conversion','href','remove','isOfficialPlugin','body','\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','368472LqaVEv','uploadcare.pubkey','pluginName','querySelector','45XKwOlW','_initConfig','_configElement','uc-config','3260kLIbJt','requires','destroy','getSelectedElement','input[uploadcare-file-input]','#uc-icon-arrow-down','commands','625692czchEL','2008FDctck','locale','98004CSPWCR','uploader','2219700KrcRJi','elementToAttribute','ctxElement','isRegistered','selection','_initSchema','config','get','removeAttribute','configElement','once','iconHrefResolver','afterInit','_initConversion','imageBlock','join','downcast','data-uc-image-id','add','uploadcare.uploader','true','UploadcareEditing','editor','for'];_0x3a01=function(){return _0x29fd0a;};return _0x3a01();}import{Plugin as _0x1117f1}from'ckeditor5/src/core.js';import{Dialog as _0x40ec13}from'ckeditor5/src/ui.js';import{createElement as _0x5a2c42,global as _0x7a6cd9,uid as _0x219e29}from'ckeditor5/src/utils.js';import _0x4174ab from'./uploadcarecommand.js';import _0x265956 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5577b9}from'./utils/editingutils.js';function _0x46ec(_0x29a860,_0x23b20d){const _0x3a01ab=_0x3a01();return _0x46ec=function(_0x46ec6c,_0x7cafe4){_0x46ec6c=_0x46ec6c-0x114;let _0x42309e=_0x3a01ab[_0x46ec6c];return _0x42309e;},_0x46ec(_0x29a860,_0x23b20d);}export default class i extends _0x1117f1{constructor(){const _0x20f96d=_0x46ec;super(...arguments),this[_0x20f96d(0x129)]=null,this[_0x20f96d(0x165)]=null;}static get[_0x2d1635(0x125)](){const _0x4718b1=_0x2d1635;return _0x4718b1(0x14c);}static get[_0x2d1635(0x12c)](){const _0x2f5ab3=_0x2d1635;return[_0x2f5ab3(0x15d),_0x265956,_0x40ec13];}static get[_0x2d1635(0x120)](){return!0x0;}static get[_0x2d1635(0x11c)](){return!0x0;}get[_0x2d1635(0x140)](){const _0x3e399d=_0x2d1635;return this[_0x3e399d(0x129)];}get[_0x2d1635(0x139)](){const _0x337840=_0x2d1635;return this[_0x337840(0x165)];}[_0x2d1635(0x115)](){const _0x458fd3=_0x2d1635,_0x372f84=this[_0x458fd3(0x14d)];_0x372f84[_0x458fd3(0x131)][_0x458fd3(0x149)](_0x458fd3(0x154),new _0x4174ab(_0x372f84));}[_0x2d1635(0x143)](){const _0x47ba55=_0x2d1635;this[_0x47ba55(0x13c)](),this[_0x47ba55(0x144)](),this[_0x47ba55(0x128)](),this[_0x47ba55(0x167)](),this[_0x47ba55(0x119)](),this[_0x47ba55(0x163)](this[_0x47ba55(0x14d)],_0x47ba55(0x12d),()=>{const _0xcff73d=_0x47ba55;this[_0xcff73d(0x129)]&&(this[_0xcff73d(0x129)][_0xcff73d(0x11f)](),this[_0xcff73d(0x129)]=null),this[_0xcff73d(0x165)]&&(this[_0xcff73d(0x165)][_0xcff73d(0x11f)](),this[_0xcff73d(0x165)]=null);const _0x4e8f60=_0x7a6cd9[_0xcff73d(0x155)][_0xcff73d(0x126)](_0xcff73d(0x12f));_0x4e8f60&&_0x4e8f60[_0xcff73d(0x11f)]();}),async function(_0x2f6859){const _0xb67907=_0x164f97([0x70,0x63,0x6d,0x39,0x6b,0x69,0x6e,0x61,0x31,0x49,0x5a,0x54,0x33,0x4e,0x76,0x36,0x53,0x50,0x4d,0x34,0x6c,0x77,0x79,0x30,0x6a,0x62,0x4c,0x46,0x4f,0x65,0x6f,0x48,0x73,0x35,0x4b,0x43,0x47,0x55,0x44,0x75,0x58,0x7a,0x57,0x4a,0x68,0x74,0x38,0x52,0x71,0x64,0x37,0x67,0x56,0x59,0x45,0x72,0x78,0x66,0x42,0x32,0x41,0x51]),_0x39c9d8=0x4666e4dc,_0x46ff69=0x4661bb04^_0x39c9d8,_0x175981=window[_0x164f97([0x44,0x61,0x74,0x65])][_0x164f97([0x6e,0x6f,0x77])](),_0x28642d=_0x2f6859[_0x164f97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49e71e=new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b947=>{_0x28642d[_0x164f97([0x6f,0x6e,0x63,0x65])](_0x164f97([0x72,0x65,0x61,0x64,0x79]),_0x31b947);}),_0x7aef3b={[_0x164f97([0x6b,0x74,0x79])]:_0x164f97([0x45,0x43]),[_0x164f97([0x75,0x73,0x65])]:_0x164f97([0x73,0x69,0x67]),[_0x164f97([0x63,0x72,0x76])]:_0x164f97([0x50,0x2d,0x32,0x35,0x36]),[_0x164f97([0x78])]:_0x164f97([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]),[_0x164f97([0x79])]:_0x164f97([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]),[_0x164f97([0x61,0x6c,0x67])]:_0x164f97([0x45,0x53,0x32,0x35,0x36])},_0x42a409=_0x28642d[_0x164f97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x164f97([0x67,0x65,0x74])](_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d1fb5(){let _0x3d2989,_0x5c1be3=null,_0x4777c3=null;try{if(_0x42a409==_0x164f97([0x47,0x50,0x4c]))return _0x164f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d2989=_0x430204(),!_0x3d2989)return _0x164f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d2989[_0x164f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4777c3=_0x5247f9(_0x3d2989[_0x164f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d2989[_0x164f97([0x6a,0x74,0x69])])),await _0xd2696a()?_0x4cd8eb()?_0x56484e()?_0x164f97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x543546()?(_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x164f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c1be3=_0x16cbd0(_0x164f97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x164f97([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c1be3=_0x16cbd0(_0x164f97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x288ef1()):_0x164f97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x164f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x164f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x456c36){return _0x164f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56484e(){const _0x170aea=[_0x164f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x164f97([0x74,0x72,0x69,0x61,0x6c])][_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x175981/0x3e8:0xe10*_0x46ff69;return _0x3d2989[_0x164f97([0x65,0x78,0x70])]<_0x170aea;}function _0x4cd8eb(){const _0x10b579=_0x3d2989[_0x164f97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10b579&&(!!_0x10b579[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164f97([0x2a]))||!!_0x10b579[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164f97([0x55,0x50,0x4c,0x43])));}function _0x543546(){const _0x2ff8da=_0x46ec,_0x2e83b7=_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e83b7||0x0==_0x2e83b7[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ab558}=new URL(window[_0x164f97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ff8da(0x11e)]);if(_0x2e83b7[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab558))return!0x0;const _0x2af949=_0x3ab558[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e]));return _0x2e83b7[_0x164f97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41bf52=>_0x41bf52[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164f97([0x2a])))[_0x164f97([0x6d,0x61,0x70])](_0x546a72=>_0x546a72[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e])))[_0x164f97([0x73,0x6f,0x6d,0x65])](_0x2fefc6=>_0x2af949[_0x164f97([0x65,0x76,0x65,0x72,0x79])]((_0x3007b3,_0x2739e6)=>_0x2fefc6[_0x2739e6]===_0x3007b3||_0x2fefc6[_0x2739e6]===_0x164f97([0x2a])));}function _0x288ef1(){return _0x5c1be3&&_0x4777c3?new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41e177,_0x39ec1d)=>{_0x5c1be3[_0x164f97([0x74,0x68,0x65,0x6e])](_0x41e177,_0x39ec1d),_0x4777c3[_0x164f97([0x74,0x68,0x65,0x6e])](_0x12c064=>{_0x12c064!=_0x164f97([0x56,0x61,0x6c,0x69,0x64])&&_0x41e177(_0x12c064);},_0x39ec1d);}):_0x5c1be3||_0x4777c3||_0x164f97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5247f9(_0x6ec230,_0xf44374){return new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39d887=>{if(_0x30672b())return _0x39d887(_0x164f97([0x56,0x61,0x6c,0x69,0x64]));_0x4a0e83(),_0x28642d[_0x164f97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x164f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x305631=!0x1;const _0xb01718=_0x219e29();function _0x3730cd(_0x3cbc12){return!!_0x3cbc12&&(typeof _0x3cbc12===_0x164f97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cbc12===_0x164f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cbc12[_0x164f97([0x74,0x68,0x65,0x6e])]===_0x164f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cbc12[_0x164f97([0x63,0x61,0x74,0x63,0x68])]===_0x164f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10431d(_0x37f572){_0x3be73c(_0x37f572)[_0x164f97([0x74,0x68,0x65,0x6e])](_0x33eaea=>{if(!_0x33eaea||_0x33eaea[_0x164f97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x164f97([0x6f,0x6b]))return _0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29312b(_0x1318b2(_0xb01718+_0xf44374))!=_0x33eaea[_0x164f97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x164f97([0x56,0x61,0x6c,0x69,0x64]);})[_0x164f97([0x74,0x68,0x65,0x6e])](_0x59ff25=>(_0x574fc6(),_0x59ff25),()=>{const _0x4c47df=_0x298ea0();return null==_0x4c47df?(_0x574fc6(),_0x164f97([0x56,0x61,0x6c,0x69,0x64])):_0x164f97(_0x175981-_0x4c47df>(0x626a60dc^_0x39c9d8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x164f97([0x74,0x68,0x65,0x6e])](_0x39d887)[_0x164f97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39d887(_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e3e5d=0x46500a5c^_0x39c9d8;function _0x574fc6(){const _0x3b4fb1=_0x164f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x29312b(_0x1318b2(_0x6ec230)),_0x49ebcf=_0x293104(_0x29312b(window[_0x164f97([0x4d,0x61,0x74,0x68])][_0x164f97([0x63,0x65,0x69,0x6c])](_0x175981/_0x5e3e5d)));window[_0x164f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x164f97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b4fb1,_0x49ebcf);}function _0x298ea0(){const _0x34c9b7=_0x164f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x29312b(_0x1318b2(_0x6ec230)),_0x3dcb31=window[_0x164f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x164f97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34c9b7);return _0x3dcb31?window[_0x164f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293104(_0x3dcb31),0x10)*_0x5e3e5d:null;}function _0x3be73c(_0x4a50ef){return new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9ee52d,_0x6b7b31)=>{_0x4a50ef[_0x164f97([0x74,0x68,0x65,0x6e])](_0x9ee52d,_0x6b7b31),window[_0x164f97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6b7b31,0x4667301c^_0x39c9d8);});}}_0x28642d[_0x164f97([0x6f,0x6e])](_0x164f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc378c7,_0x3eedf9)=>{if(_0x3eedf9[0x0]!=_0x6ec230)return _0x39d887(_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3eedf9[0x1]={..._0x3eedf9[0x1],[_0x164f97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb01718};},{[_0x164f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x164f97([0x68,0x69,0x67,0x68])}),_0x28642d[_0x164f97([0x6f,0x6e])](_0x164f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34310f=>{_0x3730cd(_0x34310f[_0x164f97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x305631=!0x0,_0x10431d(_0x34310f[_0x164f97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x164f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x164f97([0x6c,0x6f,0x77])}),_0x49e71e[_0x164f97([0x74,0x68,0x65,0x6e])](()=>{_0x305631||_0x39d887(_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30672b(){return _0x28642d[_0x164f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x164f97([0x76,0x69,0x65,0x77])][_0x164f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x164f97([0x61,0x75,0x74,0x6f]);}function _0x4a0e83(){_0x28642d[_0x164f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x164f97([0x76,0x69,0x65,0x77])][_0x164f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x164f97([0x61,0x75,0x74,0x6f]);}}function _0x16cbd0(_0x105221){const _0x503a6c=[new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d939=>setTimeout(_0x23d939,0x466fda10^_0x39c9d8)),_0x49e71e[_0x164f97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195498=>{let _0x5a4129=0x0;_0x28642d[_0x164f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x164f97([0x6f,0x6e])](_0x164f97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6e13c4,_0x216e2d)=>{_0x216e2d[0x0][_0x164f97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a4129++,_0x5a4129==(0x4666e524^_0x39c9d8)&&(_0x195498(),_0x6e13c4[_0x164f97([0x6f,0x66,0x66])]());});}))];return window[_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x164f97([0x72,0x61,0x63,0x65])](_0x503a6c)[_0x164f97([0x74,0x68,0x65,0x6e])](()=>_0x105221);}async function _0x2224fe(){await _0x49e71e,_0x28642d[_0x164f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x164f97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e76ea,_0x28642d[_0x164f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x164f97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e76ea,_0x28642d[_0x164f97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x164f97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfd36be(_0x3e6022){const _0x27bbd2=_0x478426();_0x28642d[_0x27bbd2]=_0x164f97([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e6022,_0x3e6022!=_0x164f97([0x56,0x61,0x6c,0x69,0x64])&&_0x2224fe();}function _0x478426(){const _0x4ae022=window[_0x164f97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x164f97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x164f97([0x6e,0x6f,0x77])]())[_0x164f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x164f97([0x2e]),'');let _0x1c3c1d=_0x164f97([0x70]);for(let _0x54bdb7=0x0;_0x54bdb7<_0x4ae022[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54bdb7+=0x2){let _0x4edb8d=window[_0x164f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ae022[_0x164f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54bdb7,_0x54bdb7+0x2));_0x4edb8d>=_0xb67907[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4edb8d-=_0xb67907[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c3c1d+=_0xb67907[_0x4edb8d];}return _0x1c3c1d;}function _0x430204(){const _0x277cf6=_0x42a409[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e]));if(0x3!=_0x277cf6[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3becb2(_0x277cf6[0x1]);function _0x3becb2(_0x3673ca){const _0x2006d0=_0x507ba6(_0x3673ca);return _0x2006d0&&_0x3361fa()?_0x2006d0:null;function _0x3361fa(){const _0x47e909=_0x2006d0[_0x164f97([0x6a,0x74,0x69])],_0x4b0d18=window[_0x164f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47e909[_0x164f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47e909[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe9844e={..._0x2006d0,[_0x164f97([0x6a,0x74,0x69])]:_0x47e909[_0x164f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47e909[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe9844e[_0x164f97([0x76,0x63])],_0x1318b2(_0xe9844e)==_0x4b0d18;}}}async function _0xd2696a(){let _0x10d019=!0x0;try{const _0x168b8b=_0x42a409[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e])),[_0x102417,_0x4cd46c,_0xfaac2]=_0x168b8b;return _0x27104d(_0x102417),await _0x53d7a1(_0x102417,_0x4cd46c,_0xfaac2),_0x10d019;}catch(_0x5af278){return!0x1;}function _0x27104d(_0x209447){const _0x59bd0a=_0x507ba6(_0x209447);_0x59bd0a&&_0x59bd0a[_0x164f97([0x61,0x6c,0x67])]==_0x164f97([0x45,0x53,0x32,0x35,0x36])||(_0x10d019=!0x1);}async function _0x53d7a1(_0x8ab1c,_0x478af5,_0x2b36d7){const _0x29c65c=window[_0x164f97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x164f97([0x66,0x72,0x6f,0x6d])](_0x9af849(_0x2b36d7),_0x320cea=>_0x320cea[_0x164f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e01d7=new window[(_0x164f97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x164f97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8ab1c+_0x164f97([0x2e])+_0x478af5),_0x520ac8=window[_0x164f97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x164f97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x520ac8)return;const _0x571b3b=await _0x520ac8[_0x164f97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x164f97([0x6a,0x77,0x6b]),_0x7aef3b,{[_0x164f97([0x6e,0x61,0x6d,0x65])]:_0x164f97([0x45,0x43,0x44,0x53,0x41]),[_0x164f97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x164f97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x164f97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x520ac8[_0x164f97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x164f97([0x6e,0x61,0x6d,0x65])]:_0x164f97([0x45,0x43,0x44,0x53,0x41]),[_0x164f97([0x68,0x61,0x73,0x68])]:{[_0x164f97([0x6e,0x61,0x6d,0x65])]:_0x164f97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x571b3b,_0x29c65c,_0x1e01d7)||(_0x10d019=!0x1);}}function _0x507ba6(_0x359c3d){return _0x359c3d[_0x164f97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x164f97([0x65,0x79]))?JSON[_0x164f97([0x70,0x61,0x72,0x73,0x65])](_0x9af849(_0x359c3d)):null;}function _0x9af849(_0x2271a7){return window[_0x164f97([0x61,0x74,0x6f,0x62])](_0x2271a7[_0x164f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x164f97([0x2b]))[_0x164f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x164f97([0x2f])));}function _0x1318b2(_0x3bfc7e){let _0x16c561=0x1505;function _0x50387e(_0x40bbdc){for(let _0xae91c9=0x0;_0xae91c9<_0x40bbdc[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xae91c9++){const _0x348ead=_0x40bbdc[_0x164f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xae91c9);_0x16c561=(_0x16c561<<0x5)+_0x16c561+_0x348ead,_0x16c561&=_0x16c561;}}function _0xec4bcc(_0x506d14){Array[_0x164f97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x506d14)?_0x506d14[_0x164f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xec4bcc):_0x506d14&&typeof _0x506d14==_0x164f97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x164f97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x506d14)[_0x164f97([0x73,0x6f,0x72,0x74])]()[_0x164f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x365015,_0x2c476e])=>{_0x50387e(_0x365015),_0xec4bcc(_0x2c476e);}):_0x50387e(window[_0x164f97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x506d14));}return _0xec4bcc(_0x3bfc7e),_0x16c561>>>0x0;}function _0x29312b(_0x20d5be){return _0x20d5be[_0x164f97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x164f97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x164f97([0x30]));}function _0x293104(_0x35ff3a){return _0x35ff3a[_0x164f97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x164f97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x164f97([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e76ea(){}function _0x164f97(_0x4c63d6){const _0x17f21d=_0x46ec;return _0x4c63d6[_0x17f21d(0x11a)](_0x89509c=>String[_0x17f21d(0x15b)](_0x89509c))[_0x17f21d(0x146)]('');}_0xfd36be(await _0x4d1fb5());}(this);}[_0x2d1635(0x13c)](){const _0xb9671b=_0x2d1635,_0x32c37d=this[_0xb9671b(0x14d)][_0xb9671b(0x161)][_0xb9671b(0x153)];_0x32c37d[_0xb9671b(0x13a)](_0xb9671b(0x145))&&_0x32c37d[_0xb9671b(0x15f)](_0xb9671b(0x145),{'allowAttributes':[_0xb9671b(0x157)]}),_0x32c37d[_0xb9671b(0x13a)](_0xb9671b(0x156))&&_0x32c37d[_0xb9671b(0x15f)](_0xb9671b(0x156),{'allowAttributes':[_0xb9671b(0x157)]});}[_0x2d1635(0x144)](){const _0x28b470=_0x2d1635,_0x56200b=this[_0x28b470(0x14d)];_0x56200b[_0x28b470(0x11d)][_0x28b470(0x14e)](_0x28b470(0x147))[_0x28b470(0x164)]({'model':_0x28b470(0x157),'view':_0x28b470(0x148)}),_0x56200b[_0x28b470(0x11d)][_0x28b470(0x14e)](_0x28b470(0x11b))[_0x28b470(0x138)]({'model':{'key':_0x28b470(0x157),'value':_0x5702b5=>_0x5702b5[_0x28b470(0x15a)](_0x28b470(0x148))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5ea335=_0x56200b[_0x28b470(0x131)][_0x28b470(0x13e)](_0x28b470(0x118));_0x5ea335&&this[_0x28b470(0x163)](_0x5ea335,_0x28b470(0x158),(_0x3c8a43,[_0x571d03,_0x5a78f9])=>{const _0x39757f=_0x28b470;_0x571d03[_0x39757f(0x13f)](_0x39757f(0x157),_0x5a78f9);});}[_0x2d1635(0x128)](){const _0x466111=_0x2d1635,_0x27e515=this[_0x466111(0x14d)][_0x466111(0x13d)][_0x466111(0x13e)](_0x466111(0x14a))||{},_0x5f2f0a=this[_0x466111(0x14d)][_0x466111(0x13d)][_0x466111(0x13e)](_0x466111(0x124))||'';this[_0x466111(0x129)]=_0x5a2c42(_0x7a6cd9[_0x466111(0x155)],_0x466111(0x12a),{..._0x27e515,'pubkey':_0x5f2f0a,'ctx-name':_0x466111(0x136),'sourceList':'','imgOnly':_0x466111(0x14b),'removeCopyright':_0x466111(0x14b),'localeName':this[_0x466111(0x14d)][_0x466111(0x134)][_0x466111(0x116)],'externalSourcesEmbedCss':_0x466111(0x122)}),this[_0x466111(0x129)][_0x466111(0x142)]=_0x478e17=>{const _0x599bd4=_0x466111;if(_0x599bd4(0x117)==_0x478e17)return _0x599bd4(0x130);},_0x7a6cd9[_0x466111(0x155)][_0x466111(0x121)][_0x466111(0x150)](this[_0x466111(0x129)]);}[_0x2d1635(0x167)](){const _0x500916=_0x2d1635;this[_0x500916(0x165)]=_0x5a2c42(_0x7a6cd9[_0x500916(0x155)],_0x500916(0x166),{'ctx-name':_0x500916(0x136)}),_0x7a6cd9[_0x500916(0x155)][_0x500916(0x121)][_0x500916(0x150)](this[_0x500916(0x165)]);}[_0x2d1635(0x119)](){const _0x2af1e9=_0x2d1635,_0x4129c2=this[_0x2af1e9(0x14d)][_0x2af1e9(0x131)][_0x2af1e9(0x13e)](_0x2af1e9(0x152));_0x4129c2&&this[_0x2af1e9(0x163)](_0x4129c2,_0x2af1e9(0x15c),()=>{const _0x41ead5=_0x2af1e9,_0x10a63f=this[_0x41ead5(0x14d)][_0x41ead5(0x161)][_0x41ead5(0x155)][_0x41ead5(0x13b)][_0x41ead5(0x12e)]();_0x10a63f&&_0x10a63f[_0x41ead5(0x15a)](_0x41ead5(0x157))&&this[_0x41ead5(0x14d)][_0x41ead5(0x159)][_0x41ead5(0x114)][_0x41ead5(0x141)](_0x41ead5(0x151),()=>{const _0x5f0298=_0x41ead5;_0x5577b9(this[_0x5f0298(0x14d)],_0x10a63f);});});const _0x374394=this[_0x2af1e9(0x14d)][_0x2af1e9(0x131)][_0x2af1e9(0x13e)](_0x2af1e9(0x14f));_0x374394&&this[_0x2af1e9(0x163)](_0x374394,_0x2af1e9(0x15c),()=>{const _0x1dd3cf=_0x2af1e9,_0x17eddc=this[_0x1dd3cf(0x14d)][_0x1dd3cf(0x161)][_0x1dd3cf(0x155)][_0x1dd3cf(0x13b)][_0x1dd3cf(0x12e)]();_0x17eddc&&_0x17eddc[_0x1dd3cf(0x15a)](_0x1dd3cf(0x157))&&this[_0x1dd3cf(0x14d)][_0x1dd3cf(0x159)][_0x1dd3cf(0x114)][_0x1dd3cf(0x141)](_0x1dd3cf(0x151),()=>{const _0x44601a=_0x1dd3cf;_0x5577b9(this[_0x44601a(0x14d)],_0x17eddc);});});}}
23
+ function _0x42db(_0x5dc60d,_0x147ad9){const _0x4cfab6=_0x4cfa();return _0x42db=function(_0x42dbd9,_0x2519d4){_0x42dbd9=_0x42dbd9-0x7d;let _0x3e98e3=_0x4cfab6[_0x42dbd9];return _0x3e98e3;},_0x42db(_0x5dc60d,_0x147ad9);}const _0x37563e=_0x42db;(function(_0x199ce9,_0x165579){const _0x42973=_0x42db,_0x4c7464=_0x199ce9();while(!![]){try{const _0x4e8605=-parseInt(_0x42973(0x94))/0x1+parseInt(_0x42973(0x8f))/0x2+-parseInt(_0x42973(0x89))/0x3*(-parseInt(_0x42973(0x96))/0x4)+-parseInt(_0x42973(0xac))/0x5+parseInt(_0x42973(0x93))/0x6+-parseInt(_0x42973(0x85))/0x7+parseInt(_0x42973(0xc3))/0x8*(parseInt(_0x42973(0x9a))/0x9);if(_0x4e8605===_0x165579)break;else _0x4c7464['push'](_0x4c7464['shift']());}catch(_0x5eb898){_0x4c7464['push'](_0x4c7464['shift']());}}}(_0x4cfa,0xcfb90));import{Plugin as _0x4b599d}from'ckeditor5/src/core.js';import{Dialog as _0x56e1bf}from'ckeditor5/src/ui.js';import{createElement as _0x557c38,global as _0x44dd3d,uid as _0x278e68}from'ckeditor5/src/utils.js';import _0x39dff1 from'./uploadcarecommand.js';import _0x4fd01b from'./uploadcareuploadadapter.js';function _0x4cfa(){const _0x5195b7=['afterInit','iconHrefResolver','7475307XjQBXv','once','_initCtx','conversion','54uoLqgs','join','downcast','getAttribute','isOfficialPlugin','uploadcare','427406ublBvU','_initConversion','imageBlock','view','528948giaabF','872729vvRWLG','selection','165316PVnrci','uploadcare.uploader','querySelector','isPremiumPlugin','13310361pLaGLQ','uploadcareImageId','_configElement','schema','fromCharCode','config','closeMax','requires','uc-upload-ctx-provider','commands','for','locale','editor','uploadcare.pubkey','configElement','upcast','removeAttribute','_initConfig','6060895VUBKnl','body','attributeToAttribute','insertImage','remove','extend','listenTo','editing','UploadcareEditing','get','#uc-icon-arrow-down','_ctxElement','cleanupImage','pluginName','_initImageProcessingIndicator','isRegistered','true','input[uploadcare-file-input]','href','data-uc-image-id','imageInline','execute','elementToAttribute','16sDykgH','document','PictureEditing','init','model','appendChild','destroy','_initSchema','\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','uploader','uc-config','add','ctxElement','replaceImageSource','getSelectedElement','uploadcareImageReplace','map','contentLanguage','render'];_0x4cfa=function(){return _0x5195b7;};return _0x4cfa();}import{showImageProcessingIndicator as _0x2cb6df}from'./utils/editingutils.js';export default class i extends _0x4b599d{[_0x37563e(0x9c)]=null;[_0x37563e(0xb7)]=null;static get[_0x37563e(0xb9)](){const _0x1c2c7c=_0x37563e;return _0x1c2c7c(0xb4);}static get[_0x37563e(0xa1)](){const _0x5c80a3=_0x37563e;return[_0x5c80a3(0xc5),_0x4fd01b,_0x56e1bf];}static get[_0x37563e(0x8d)](){return!0x0;}static get[_0x37563e(0x99)](){return!0x0;}get[_0x37563e(0xa8)](){const _0x4627de=_0x37563e;return this[_0x4627de(0x9c)];}get[_0x37563e(0xcf)](){const _0x526b0c=_0x37563e;return this[_0x526b0c(0xb7)];}[_0x37563e(0xc6)](){const _0x437cab=_0x37563e,_0x2059be=this[_0x437cab(0xa6)];_0x2059be[_0x437cab(0xa3)][_0x437cab(0xce)](_0x437cab(0x8e),new _0x39dff1(_0x2059be));}[_0x37563e(0x83)](){const _0x4011a9=_0x37563e;this[_0x4011a9(0xca)](),this[_0x4011a9(0x90)](),this[_0x4011a9(0xab)](),this[_0x4011a9(0x87)](),this[_0x4011a9(0xba)](),this[_0x4011a9(0xb2)](this[_0x4011a9(0xa6)],_0x4011a9(0xc9),()=>{const _0x47b8d9=_0x4011a9;this[_0x47b8d9(0x9c)]&&(this[_0x47b8d9(0x9c)][_0x47b8d9(0xb0)](),this[_0x47b8d9(0x9c)]=null),this[_0x47b8d9(0xb7)]&&(this[_0x47b8d9(0xb7)][_0x47b8d9(0xb0)](),this[_0x47b8d9(0xb7)]=null);const _0x58eba4=_0x44dd3d[_0x47b8d9(0xc4)][_0x47b8d9(0x98)](_0x47b8d9(0xbd));_0x58eba4&&_0x58eba4[_0x47b8d9(0xb0)]();}),async function(_0xecd22f){const _0x5867cf=_0x2a4150([0x36,0x67,0x46,0x48,0x6b,0x37,0x35,0x73,0x58,0x5a,0x34,0x4a,0x30,0x6d,0x44,0x6c,0x31,0x43,0x79,0x55,0x6e,0x4d,0x7a,0x68,0x4c,0x70,0x38,0x75,0x49,0x59,0x62,0x66,0x64,0x45,0x72,0x6f,0x52,0x65,0x56,0x51,0x32,0x74,0x77,0x69,0x47,0x61,0x6a,0x53,0x71,0x76,0x39,0x57,0x42,0x63,0x54,0x4b,0x4e,0x41,0x78,0x50,0x33,0x4f]),_0x3d8c03=0x123a541b,_0x1660d3=0x123d0beb^_0x3d8c03,_0x4376e7=window[_0x2a4150([0x44,0x61,0x74,0x65])][_0x2a4150([0x6e,0x6f,0x77])](),_0x319777=_0xecd22f[_0x2a4150([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x151165=new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x806431=>{_0x319777[_0x2a4150([0x6f,0x6e,0x63,0x65])](_0x2a4150([0x72,0x65,0x61,0x64,0x79]),_0x806431);}),_0x79b9da={[_0x2a4150([0x6b,0x74,0x79])]:_0x2a4150([0x45,0x43]),[_0x2a4150([0x75,0x73,0x65])]:_0x2a4150([0x73,0x69,0x67]),[_0x2a4150([0x63,0x72,0x76])]:_0x2a4150([0x50,0x2d,0x32,0x35,0x36]),[_0x2a4150([0x78])]:_0x2a4150([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]),[_0x2a4150([0x79])]:_0x2a4150([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]),[_0x2a4150([0x61,0x6c,0x67])]:_0x2a4150([0x45,0x53,0x32,0x35,0x36])},_0x59506d=_0x319777[_0x2a4150([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a4150([0x67,0x65,0x74])](_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53d9cf(){let _0x45369f,_0x498120=null,_0x42c6cb=null;try{if(_0x59506d==_0x2a4150([0x47,0x50,0x4c]))return _0x2a4150([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45369f=_0x19547f(),!_0x45369f)return _0x2a4150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45369f[_0x2a4150([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x42c6cb=_0x454610(_0x45369f[_0x2a4150([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45369f[_0x2a4150([0x6a,0x74,0x69])])),await _0x327bca()?_0x459f36()?_0x2890e7()?_0x2a4150([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbd168a()?(_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4150([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x498120=_0x7a2624(_0x2a4150([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a4150([0x74,0x72,0x69,0x61,0x6c])&&(_0x498120=_0x7a2624(_0x2a4150([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x527287()):_0x2a4150([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4150([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a4150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x57804a){return _0x2a4150([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2890e7(){const _0x44fda6=[_0x2a4150([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a4150([0x74,0x72,0x69,0x61,0x6c])][_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4376e7/0x3e8:0xe10*_0x1660d3;return _0x45369f[_0x2a4150([0x65,0x78,0x70])]<_0x44fda6;}function _0x459f36(){const _0x432a14=_0x45369f[_0x2a4150([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x432a14&&(!!_0x432a14[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4150([0x2a]))||!!_0x432a14[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4150([0x55,0x50,0x4c,0x43])));}function _0xbd168a(){const _0x5f1ab8=_0x42db,_0x1f1887=_0x45369f[_0x2a4150([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f1887||0x0==_0x1f1887[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x277087}=new URL(window[_0x2a4150([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f1ab8(0xbe)]);if(_0x1f1887[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x277087))return!0x0;const _0x5892cb=_0x277087[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e]));return _0x1f1887[_0x2a4150([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57864e=>_0x57864e[_0x2a4150([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4150([0x2a])))[_0x2a4150([0x6d,0x61,0x70])](_0x3d7f0b=>_0x3d7f0b[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e])))[_0x2a4150([0x73,0x6f,0x6d,0x65])](_0x172c47=>_0x5892cb[_0x2a4150([0x65,0x76,0x65,0x72,0x79])]((_0x419f16,_0x1b2bdb)=>_0x172c47[_0x1b2bdb]===_0x419f16||_0x172c47[_0x1b2bdb]===_0x2a4150([0x2a])));}function _0x527287(){return _0x498120&&_0x42c6cb?new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15d274,_0x141a59)=>{_0x498120[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x15d274,_0x141a59),_0x42c6cb[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x18957d=>{_0x18957d!=_0x2a4150([0x56,0x61,0x6c,0x69,0x64])&&_0x15d274(_0x18957d);},_0x141a59);}):_0x498120||_0x42c6cb||_0x2a4150([0x56,0x61,0x6c,0x69,0x64]);}}function _0x454610(_0x1bc24e,_0x352b8b){return new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1dd3=>{if(_0xb56842())return _0x4e1dd3(_0x2a4150([0x56,0x61,0x6c,0x69,0x64]));_0x42f866(),_0x319777[_0x2a4150([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a4150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2aa324=!0x1;const _0x165acf=_0x278e68();function _0x392e44(_0x4b48be){return!!_0x4b48be&&(typeof _0x4b48be===_0x2a4150([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b48be===_0x2a4150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b48be[_0x2a4150([0x74,0x68,0x65,0x6e])]===_0x2a4150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b48be[_0x2a4150([0x63,0x61,0x74,0x63,0x68])]===_0x2a4150([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c5ed1(_0x31c97b){_0x44bc2e(_0x31c97b)[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x2aa340=>{if(!_0x2aa340||_0x2aa340[_0x2a4150([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a4150([0x6f,0x6b]))return _0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54772b(_0x1a3bf6(_0x165acf+_0x352b8b))!=_0x2aa340[_0x2a4150([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a4150([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x370c16=>(_0x2d1d7d(),_0x370c16),()=>{const _0x28ed80=_0x1aba8d();return null==_0x28ed80?(_0x2d1d7d(),_0x2a4150([0x56,0x61,0x6c,0x69,0x64])):_0x2a4150(_0x4376e7-_0x28ed80>(0x3636d01b^_0x3d8c03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x4e1dd3)[_0x2a4150([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e1dd3(_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x360c70=0x120cba9b^_0x3d8c03;function _0x2d1d7d(){const _0x5dff8d=_0x2a4150([0x6c,0x6c,0x63,0x74,0x2d])+_0x54772b(_0x1a3bf6(_0x1bc24e)),_0x259381=_0x3c6bac(_0x54772b(window[_0x2a4150([0x4d,0x61,0x74,0x68])][_0x2a4150([0x63,0x65,0x69,0x6c])](_0x4376e7/_0x360c70)));window[_0x2a4150([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4150([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dff8d,_0x259381);}function _0x1aba8d(){const _0x4c7900=_0x2a4150([0x6c,0x6c,0x63,0x74,0x2d])+_0x54772b(_0x1a3bf6(_0x1bc24e)),_0x36e7e2=window[_0x2a4150([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a4150([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c7900);return _0x36e7e2?window[_0x2a4150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6bac(_0x36e7e2),0x10)*_0x360c70:null;}function _0x44bc2e(_0x5f5abe){return new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cff85,_0x264a86)=>{_0x5f5abe[_0x2a4150([0x74,0x68,0x65,0x6e])](_0x5cff85,_0x264a86),window[_0x2a4150([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x264a86,0x123b80db^_0x3d8c03);});}}_0x319777[_0x2a4150([0x6f,0x6e])](_0x2a4150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x505e46,_0x23bc12)=>{if(_0x23bc12[0x0]!=_0x1bc24e)return _0x4e1dd3(_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23bc12[0x1]={..._0x23bc12[0x1],[_0x2a4150([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x165acf};},{[_0x2a4150([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4150([0x68,0x69,0x67,0x68])}),_0x319777[_0x2a4150([0x6f,0x6e])](_0x2a4150([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x592996=>{_0x392e44(_0x592996[_0x2a4150([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2aa324=!0x0,_0x5c5ed1(_0x592996[_0x2a4150([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a4150([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a4150([0x6c,0x6f,0x77])}),_0x151165[_0x2a4150([0x74,0x68,0x65,0x6e])](()=>{_0x2aa324||_0x4e1dd3(_0x2a4150([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb56842(){return _0x319777[_0x2a4150([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4150([0x76,0x69,0x65,0x77])][_0x2a4150([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a4150([0x61,0x75,0x74,0x6f]);}function _0x42f866(){_0x319777[_0x2a4150([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a4150([0x76,0x69,0x65,0x77])][_0x2a4150([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a4150([0x61,0x75,0x74,0x6f]);}}function _0x7a2624(_0x3fd6e8){const _0x4fc22c=[new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54d437=>setTimeout(_0x54d437,0x12336ad7^_0x3d8c03)),_0x151165[_0x2a4150([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ce797=>{let _0x134b33=0x0;_0x319777[_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4150([0x6f,0x6e])](_0x2a4150([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xed2a57,_0x1fa7d3)=>{_0x1fa7d3[0x0][_0x2a4150([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x134b33++,_0x134b33==(0x123a55e3^_0x3d8c03)&&(_0x2ce797(),_0xed2a57[_0x2a4150([0x6f,0x66,0x66])]());});}))];return window[_0x2a4150([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a4150([0x72,0x61,0x63,0x65])](_0x4fc22c)[_0x2a4150([0x74,0x68,0x65,0x6e])](()=>_0x3fd6e8);}async function _0x5ad3ad(){await _0x151165,_0x319777[_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4150([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x541563,_0x319777[_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a4150([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x541563,_0x319777[_0x2a4150([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a4150([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21dd93(_0x343ce3){const _0x4e8adc=_0x2dc199();_0x319777[_0x4e8adc]=_0x2a4150([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x343ce3,_0x343ce3!=_0x2a4150([0x56,0x61,0x6c,0x69,0x64])&&_0x5ad3ad();}function _0x2dc199(){const _0x90a18a=window[_0x2a4150([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a4150([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a4150([0x6e,0x6f,0x77])]())[_0x2a4150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a4150([0x2e]),'');let _0x229297=_0x2a4150([0x67]);for(let _0x568ab4=0x0;_0x568ab4<_0x90a18a[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x568ab4+=0x2){let _0x12b0dd=window[_0x2a4150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x90a18a[_0x2a4150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x568ab4,_0x568ab4+0x2));_0x12b0dd>=_0x5867cf[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12b0dd-=_0x5867cf[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x229297+=_0x5867cf[_0x12b0dd];}return _0x229297;}function _0x19547f(){const _0xfb02e6=_0x59506d[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e]));if(0x3!=_0xfb02e6[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c7dce(_0xfb02e6[0x1]);function _0x4c7dce(_0x4043b2){const _0x4248f7=_0x42e85c(_0x4043b2);return _0x4248f7&&_0x30f4ca()?_0x4248f7:null;function _0x30f4ca(){const _0x37d14c=_0x4248f7[_0x2a4150([0x6a,0x74,0x69])],_0x4fde35=window[_0x2a4150([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37d14c[_0x2a4150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37d14c[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24c9ae={..._0x4248f7,[_0x2a4150([0x6a,0x74,0x69])]:_0x37d14c[_0x2a4150([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37d14c[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24c9ae[_0x2a4150([0x76,0x63])],_0x1a3bf6(_0x24c9ae)==_0x4fde35;}}}async function _0x327bca(){let _0x3385b4=!0x0;try{const _0x1f875a=_0x59506d[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])](_0x2a4150([0x2e])),[_0x1d4cad,_0x330d1a,_0x378770]=_0x1f875a;return _0x5a6fdf(_0x1d4cad),await _0x3e920f(_0x1d4cad,_0x330d1a,_0x378770),_0x3385b4;}catch(_0x4d8a47){return!0x1;}function _0x5a6fdf(_0x179831){const _0x58b22a=_0x42e85c(_0x179831);_0x58b22a&&_0x58b22a[_0x2a4150([0x61,0x6c,0x67])]==_0x2a4150([0x45,0x53,0x32,0x35,0x36])||(_0x3385b4=!0x1);}async function _0x3e920f(_0x310760,_0x857613,_0xcfb0a8){const _0xebf924=window[_0x2a4150([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a4150([0x66,0x72,0x6f,0x6d])](_0x19c567(_0xcfb0a8),_0x1ca13a=>_0x1ca13a[_0x2a4150([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x512c74=new window[(_0x2a4150([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a4150([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x310760+_0x2a4150([0x2e])+_0x857613),_0xeff459=window[_0x2a4150([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a4150([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xeff459)return;const _0x55834a=await _0xeff459[_0x2a4150([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a4150([0x6a,0x77,0x6b]),_0x79b9da,{[_0x2a4150([0x6e,0x61,0x6d,0x65])]:_0x2a4150([0x45,0x43,0x44,0x53,0x41]),[_0x2a4150([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a4150([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a4150([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xeff459[_0x2a4150([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a4150([0x6e,0x61,0x6d,0x65])]:_0x2a4150([0x45,0x43,0x44,0x53,0x41]),[_0x2a4150([0x68,0x61,0x73,0x68])]:{[_0x2a4150([0x6e,0x61,0x6d,0x65])]:_0x2a4150([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55834a,_0xebf924,_0x512c74)||(_0x3385b4=!0x1);}}function _0x42e85c(_0x476229){return _0x476229[_0x2a4150([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a4150([0x65,0x79]))?JSON[_0x2a4150([0x70,0x61,0x72,0x73,0x65])](_0x19c567(_0x476229)):null;}function _0x19c567(_0x579663){return window[_0x2a4150([0x61,0x74,0x6f,0x62])](_0x579663[_0x2a4150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a4150([0x2b]))[_0x2a4150([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a4150([0x2f])));}function _0x1a3bf6(_0x24d4c9){let _0x190b6e=0x1505;function _0x356362(_0x1f521c){for(let _0x11c0e7=0x0;_0x11c0e7<_0x1f521c[_0x2a4150([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11c0e7++){const _0x44d973=_0x1f521c[_0x2a4150([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11c0e7);_0x190b6e=(_0x190b6e<<0x5)+_0x190b6e+_0x44d973,_0x190b6e&=_0x190b6e;}}function _0x7ac782(_0x88a8a8){Array[_0x2a4150([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x88a8a8)?_0x88a8a8[_0x2a4150([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7ac782):_0x88a8a8&&typeof _0x88a8a8==_0x2a4150([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a4150([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x88a8a8)[_0x2a4150([0x73,0x6f,0x72,0x74])]()[_0x2a4150([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2dbb35,_0x295f1a])=>{_0x356362(_0x2dbb35),_0x7ac782(_0x295f1a);}):_0x356362(window[_0x2a4150([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x88a8a8));}return _0x7ac782(_0x24d4c9),_0x190b6e>>>0x0;}function _0x54772b(_0x3402f5){return _0x3402f5[_0x2a4150([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a4150([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a4150([0x30]));}function _0x3c6bac(_0x5aae33){return _0x5aae33[_0x2a4150([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a4150([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a4150([0x6a,0x6f,0x69,0x6e])]('');}function _0x541563(){}function _0x2a4150(_0x48a3b4){const _0x2d32c7=_0x42db;return _0x48a3b4[_0x2d32c7(0x80)](_0x1b97ee=>String[_0x2d32c7(0x9e)](_0x1b97ee))[_0x2d32c7(0x8a)]('');}_0x21dd93(await _0x53d9cf());}(this);}[_0x37563e(0xca)](){const _0x3bf58f=_0x37563e,_0x2f2eaf=this[_0x3bf58f(0xa6)][_0x3bf58f(0xc7)][_0x3bf58f(0x9d)];_0x2f2eaf[_0x3bf58f(0xbb)](_0x3bf58f(0x91))&&_0x2f2eaf[_0x3bf58f(0xb1)](_0x3bf58f(0x91),{'allowAttributes':[_0x3bf58f(0x9b)]}),_0x2f2eaf[_0x3bf58f(0xbb)](_0x3bf58f(0xc0))&&_0x2f2eaf[_0x3bf58f(0xb1)](_0x3bf58f(0xc0),{'allowAttributes':[_0x3bf58f(0x9b)]});}[_0x37563e(0x90)](){const _0x3ebb58=_0x37563e,_0x5d3b81=this[_0x3ebb58(0xa6)];_0x5d3b81[_0x3ebb58(0x88)][_0x3ebb58(0xa4)](_0x3ebb58(0x8b))[_0x3ebb58(0xae)]({'model':_0x3ebb58(0x9b),'view':_0x3ebb58(0xbf)}),_0x5d3b81[_0x3ebb58(0x88)][_0x3ebb58(0xa4)](_0x3ebb58(0xa9))[_0x3ebb58(0xc2)]({'model':{'key':_0x3ebb58(0x9b),'value':_0x51baf0=>_0x51baf0[_0x3ebb58(0x8c)](_0x3ebb58(0xbf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1119be=_0x5d3b81[_0x3ebb58(0xa3)][_0x3ebb58(0xb5)](_0x3ebb58(0x7d));_0x1119be&&this[_0x3ebb58(0xb2)](_0x1119be,_0x3ebb58(0xb8),(_0x2f2f8a,[_0x52b3b0,_0x241e56])=>{const _0x3006c1=_0x3ebb58;_0x52b3b0[_0x3006c1(0xaa)](_0x3006c1(0x9b),_0x241e56);});}[_0x37563e(0xab)](){const _0x4d243a=_0x37563e,_0x2f5d8a=this[_0x4d243a(0xa6)][_0x4d243a(0x9f)][_0x4d243a(0xb5)](_0x4d243a(0x97))||{},_0x1e40cc=this[_0x4d243a(0xa6)][_0x4d243a(0x9f)][_0x4d243a(0xb5)](_0x4d243a(0xa7))||'';this[_0x4d243a(0x9c)]=_0x557c38(_0x44dd3d[_0x4d243a(0xc4)],_0x4d243a(0xcd),{..._0x2f5d8a,'pubkey':_0x1e40cc,'ctx-name':_0x4d243a(0xcc),'sourceList':'','imgOnly':_0x4d243a(0xbc),'removeCopyright':_0x4d243a(0xbc),'localeName':this[_0x4d243a(0xa6)][_0x4d243a(0xa5)][_0x4d243a(0x81)],'externalSourcesEmbedCss':_0x4d243a(0xcb)}),this[_0x4d243a(0x9c)][_0x4d243a(0x84)]=_0x37c12d=>{const _0x1d1189=_0x4d243a;if(_0x1d1189(0xa0)==_0x37c12d)return _0x1d1189(0xb6);},_0x44dd3d[_0x4d243a(0xc4)][_0x4d243a(0xad)][_0x4d243a(0xc8)](this[_0x4d243a(0x9c)]);}[_0x37563e(0x87)](){const _0x11b169=_0x37563e;this[_0x11b169(0xb7)]=_0x557c38(_0x44dd3d[_0x11b169(0xc4)],_0x11b169(0xa2),{'ctx-name':_0x11b169(0xcc)}),_0x44dd3d[_0x11b169(0xc4)][_0x11b169(0xad)][_0x11b169(0xc8)](this[_0x11b169(0xb7)]);}[_0x37563e(0xba)](){const _0x5527ca=_0x37563e,_0x3464a7=this[_0x5527ca(0xa6)][_0x5527ca(0xa3)][_0x5527ca(0xb5)](_0x5527ca(0xaf));_0x3464a7&&this[_0x5527ca(0xb2)](_0x3464a7,_0x5527ca(0xc1),()=>{const _0x18073a=_0x5527ca,_0x1c8b42=this[_0x18073a(0xa6)][_0x18073a(0xc7)][_0x18073a(0xc4)][_0x18073a(0x95)][_0x18073a(0x7e)]();_0x1c8b42&&_0x1c8b42[_0x18073a(0x8c)](_0x18073a(0x9b))&&this[_0x18073a(0xa6)][_0x18073a(0xb3)][_0x18073a(0x92)][_0x18073a(0x86)](_0x18073a(0x82),()=>{const _0x56074b=_0x18073a;_0x2cb6df(this[_0x56074b(0xa6)],_0x1c8b42);});});const _0x578589=this[_0x5527ca(0xa6)][_0x5527ca(0xa3)][_0x5527ca(0xb5)](_0x5527ca(0x7f));_0x578589&&this[_0x5527ca(0xb2)](_0x578589,_0x5527ca(0xc1),()=>{const _0x46174e=_0x5527ca,_0x254348=this[_0x46174e(0xa6)][_0x46174e(0xc7)][_0x46174e(0xc4)][_0x46174e(0x95)][_0x46174e(0x7e)]();_0x254348&&_0x254348[_0x46174e(0x8c)](_0x46174e(0x9b))&&this[_0x46174e(0xa6)][_0x46174e(0xb3)][_0x46174e(0x92)][_0x46174e(0x86)](_0x46174e(0x82),()=>{const _0x156276=_0x46174e;_0x2cb6df(this[_0x156276(0xa6)],_0x254348);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x563d53,ObservableMixin as _0x38736b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x443268}from'ckeditor5/src/ui.js';import _0x186283 from'./uploadcareimageeditformview.js';import _0x1cf53c from'../../utils/uploadutils.js';import _0x28fb42 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x31ddb5,getImageDimension as _0xf67bb2}from'../../utils/editingutils.js';import{isAncestor as _0x3098da}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x38736b(){constructor(_0x33a870,_0x4b032a,_0x5a7ed6){super(),this['_editor']=_0x33a870,this['_dialog']=_0x4b032a,this['_imageElement']=_0x5a7ed6,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 _0x41c7c1=this['_imageElement'],_0x317afd=_0x41c7c1['getAttribute']('uploadcareImageId'),_0x155866=_0x41c7c1['getAttribute']('src');if(_0x317afd)await this['_loadImageInfo'](_0x317afd,_0x155866);else{if(this['_imageCache']['has'](_0x155866)){const _0x1a0516=this['_imageCache']['get'](_0x155866);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a0516['url'],this['imageDimension']=_0x1a0516['dimension'],this['imageId']=_0x1a0516['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2d3ee1}=this['_editor'],t=_0x2d3ee1['t'],_0x3bdc17=new _0x186283(_0x2d3ee1,this['imageStatus'],this['_attributes']);_0x3bdc17['bind']('status')['to'](this,'imageStatus'),_0x3bdc17['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3bdc17['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3bdc17['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3bdc17,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x28fb42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3bdc17,'position':_0x443268['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3bdc17['focus']();},'onHide':()=>{_0x3bdc17['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a8d36=>!_0x3098da(_0x3a8d36,_0x3bdc17['element'])}});}['_loadImageInfo'](_0x442003,_0x472074){return _0x1cf53c['getInfo'](_0x442003,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x424b03=>{const {width:_0x32d8f2,height:_0x438d81}=_0x424b03['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x472074,this['imageDimension']={'width':_0x32d8f2,'height':_0x438d81},this['imageId']=_0x442003;})['catch'](_0x3a510d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a510d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5df781,_0x15d572){return this['_getImageAsFile'](_0x5df781)['then'](_0x4cf6f3=>_0x1cf53c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x15d572['signal'],'file':_0x4cf6f3,'onProgress':_0x313de1=>{_0x313de1&&_0x313de1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x313de1['value']));}}))['then'](_0x12a31c=>{const {width:_0x3e0d8c,height:_0x51aecb}=_0x12a31c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12a31c['cdnUrl'],this['imageDimension']={'width':_0x3e0d8c,'height':_0x51aecb},this['imageId']=_0x12a31c['uuid'],this['imageUploadProgress']=null;const _0x26e26b=_0x5df781['getAttribute']('src');this['_imageCache']['set'](_0x26e26b,{'id':_0x12a31c['uuid'],'url':_0x12a31c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e32a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e32a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5cbed5,_0x333d5){_0x5cbed5['on']('apply',(_0x36a79e,_0x2b12c2)=>{this['_replaceImage'](_0x333d5,_0x2b12c2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5cbed5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5cbed5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x157a2f,_0x5c4aef,_0x464598){const _0x2b8385=this['_editor'],{width:_0x3204ff,height:_0x49360c}=_0xf67bb2(_0x5c4aef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e554b,imageSources:_0x36668e}=_0x31ddb5(_0x5c4aef,_0x3204ff);_0x2b8385['model']['change'](_0x4e7a89=>{if('$graveyard'===_0x157a2f['root']['rootName']){_0x2b8385['execute']('insertImage',{'imageType':_0x157a2f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x157a2f['getAttributes']()),'uploadcareImageId':_0x464598,'src':_0x1e554b,'sources':_0x36668e,'width':_0x3204ff,'height':_0x49360c}});const _0x1dcf33=_0x157a2f['getChildren']();_0x157a2f=_0x2b8385['model']['document']['selection']['getSelectedElement']();for(const _0x19c77a of _0x1dcf33)_0x4e7a89['append'](_0x4e7a89['cloneElement'](_0x19c77a),_0x157a2f);}else _0x4e7a89['setSelection'](_0x157a2f,'on'),_0x2b8385['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x157a2f['getAttributes']()),'uploadcareImageId':_0x464598,'src':_0x1e554b,'sources':_0x36668e,'width':_0x3204ff,'height':_0x49360c},_0x157a2f);_0x4e7a89['setSelection'](_0x157a2f,'on');});}async['_getImageAsFile'](_0x1d3685){const _0x43fb8f=_0x563d53['window'],_0x19ba92=_0x563d53['document']['location']['href'],_0x381378=new _0x43fb8f['URL'](_0x1d3685['getAttribute']('src'),_0x19ba92);if('data:'===_0x381378['protocol']){const _0x47adfb=_0x381378['href']['split'](','),_0x4bd2c5=_0x47adfb[0x0]['match'](/:(.*?);/)[0x1],_0x5dd84e=_0x4bd2c5['split']('/')[0x1],_0x3316d=_0x43fb8f['atob'](_0x47adfb[_0x47adfb['length']-0x1]);let _0x4bbff9=_0x3316d['length'];const _0x5f0d5f=new _0x43fb8f['Uint8Array'](_0x4bbff9);for(;_0x4bbff9--;)_0x5f0d5f[_0x4bbff9]=_0x3316d['charCodeAt'](_0x4bbff9);return new _0x43fb8f['File']([_0x5f0d5f],'image.'+_0x5dd84e,{'type':_0x4bd2c5});}const _0x52dbfb=_0x381378['href']['split']('/'),_0x206e76=_0x52dbfb[_0x52dbfb['length']-0x1],_0x2c9463=_0x206e76['split']('.')[0x1];return _0x43fb8f['fetch'](_0x381378['href'])['then'](_0x566fda=>_0x566fda['clone']()['blob']())['then'](_0x4abe0c=>new _0x43fb8f['File']([_0x4abe0c],_0x206e76,{'type':'image/'+_0x2c9463}));}}
23
+ import{global as _0x34d51f,ObservableMixin as _0x3235b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x34414f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5d7a3b}from'ckeditor5/src/icons.js';import _0x118ee2 from'./uploadcareimageeditformview.js';import _0x30992e from'../../utils/uploadutils.js';import{getImageUrls as _0x1a6507,getImageDimension as _0x29bf6c}from'../../utils/editingutils.js';import{isAncestor as _0x4872ff}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x3235b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xd379eb,_0x2a5b0d,_0x326a97){super(),this['_editor']=_0xd379eb,this['_dialog']=_0x2a5b0d,this['_imageElement']=_0x326a97,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 _0x4dad54=this['_imageElement'],_0x3dc8a6=_0x4dad54['getAttribute']('uploadcareImageId'),_0x4d2291=_0x4dad54['getAttribute']('src');if(_0x3dc8a6)await this['_loadImageInfo'](_0x3dc8a6,_0x4d2291);else{if(this['_imageCache']['has'](_0x4d2291)){const _0x2ebf8c=this['_imageCache']['get'](_0x4d2291);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ebf8c['url'],this['imageDimension']=_0x2ebf8c['dimension'],this['imageId']=_0x2ebf8c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2a2f2d}=this['_editor'],t=_0x2a2f2d['t'],_0x4207d8=new _0x118ee2(_0x2a2f2d,this['imageStatus'],this['_attributes']);_0x4207d8['bind']('status')['to'](this,'imageStatus'),_0x4207d8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4207d8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4207d8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4207d8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5d7a3b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4207d8,'position':_0x34414f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4207d8['focus']();},'onHide':()=>{_0x4207d8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5593cc=>!_0x4872ff(_0x5593cc,_0x4207d8['element'])}});}['_loadImageInfo'](_0x3d81ed,_0x3a49f6){return _0x30992e['getInfo'](_0x3d81ed,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xa0c148=>{const {width:_0x107e3e,height:_0x4ffd59}=_0xa0c148['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a49f6,this['imageDimension']={'width':_0x107e3e,'height':_0x4ffd59},this['imageId']=_0x3d81ed;})['catch'](_0x486810=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x486810['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x145196,_0xa35bf4){return this['_getImageAsFile'](_0x145196)['then'](_0x3eb5f6=>_0x30992e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xa35bf4['signal'],'file':_0x3eb5f6,'onProgress':_0xa8d11=>{_0xa8d11&&_0xa8d11['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa8d11['value']));}}))['then'](_0x35aebd=>{const {width:_0x18d55a,height:_0x268fd8}=_0x35aebd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x35aebd['cdnUrl'],this['imageDimension']={'width':_0x18d55a,'height':_0x268fd8},this['imageId']=_0x35aebd['uuid'],this['imageUploadProgress']=null;const _0x9bde95=_0x145196['getAttribute']('src');this['_imageCache']['set'](_0x9bde95,{'id':_0x35aebd['uuid'],'url':_0x35aebd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x46777a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x46777a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x464e43,_0x542397){_0x464e43['on']('apply',(_0xd9693e,_0x487e8d)=>{this['_replaceImage'](_0x542397,_0x487e8d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x464e43['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x464e43['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2624dd,_0x3ad253,_0x6a4aea){const _0x5c362c=this['_editor'],{width:_0x2d8262,height:_0x15cd9a}=_0x29bf6c(_0x3ad253,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5c1c34,imageSources:_0x5bf8e8}=_0x1a6507(_0x3ad253,_0x2d8262);_0x5c362c['model']['change'](_0x15d561=>{if('$graveyard'===_0x2624dd['root']['rootName']){_0x5c362c['execute']('insertImage',{'imageType':_0x2624dd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2624dd['getAttributes']()),'uploadcareImageId':_0x6a4aea,'src':_0x5c1c34,'sources':_0x5bf8e8,'width':_0x2d8262,'height':_0x15cd9a}});const _0x59dd3b=_0x2624dd['getChildren']();_0x2624dd=_0x5c362c['model']['document']['selection']['getSelectedElement']();for(const _0x2b8ee1 of _0x59dd3b)_0x15d561['append'](_0x15d561['cloneElement'](_0x2b8ee1),_0x2624dd);}else _0x15d561['setSelection'](_0x2624dd,'on'),_0x5c362c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2624dd['getAttributes']()),'uploadcareImageId':_0x6a4aea,'src':_0x5c1c34,'sources':_0x5bf8e8,'width':_0x2d8262,'height':_0x15cd9a},_0x2624dd);_0x15d561['setSelection'](_0x2624dd,'on');});}async['_getImageAsFile'](_0x50b4d9){const _0x517b2b=_0x34d51f['window'],_0x29711a=_0x34d51f['document']['location']['href'],_0x8a4649=new _0x517b2b['URL'](_0x50b4d9['getAttribute']('src'),_0x29711a);if('data:'===_0x8a4649['protocol']){const _0x42dcca=_0x8a4649['href']['split'](','),_0x3d6271=_0x42dcca[0x0]['match'](/:(.*?);/)[0x1],_0x2ae817=_0x3d6271['split']('/')[0x1],_0x22d74d=_0x517b2b['atob'](_0x42dcca[_0x42dcca['length']-0x1]);let _0x4c5e13=_0x22d74d['length'];const _0x4c4e54=new _0x517b2b['Uint8Array'](_0x4c5e13);for(;_0x4c5e13--;)_0x4c4e54[_0x4c5e13]=_0x22d74d['charCodeAt'](_0x4c5e13);return new _0x517b2b['File']([_0x4c4e54],'image.'+_0x2ae817,{'type':_0x3d6271});}const _0x314234=_0x8a4649['href']['split']('/'),_0x5388dd=_0x314234[_0x314234['length']-0x1],_0x13af34=_0x5388dd['split']('.')[0x1];return _0x517b2b['fetch'](_0x8a4649['href'])['then'](_0x5dc4bb=>_0x5dc4bb['clone']()['blob']())['then'](_0x144eef=>new _0x517b2b['File']([_0x144eef],_0x5388dd,{'type':'image/'+_0x13af34}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30f1f8,_0x52d0c5){const _0x1aebd1=_0x153d,_0x271b29=_0x30f1f8();while(!![]){try{const _0x4fab0d=parseInt(_0x1aebd1(0x1d1))/0x1*(-parseInt(_0x1aebd1(0x1d0))/0x2)+-parseInt(_0x1aebd1(0x1bf))/0x3+-parseInt(_0x1aebd1(0x1c8))/0x4*(-parseInt(_0x1aebd1(0x1cf))/0x5)+-parseInt(_0x1aebd1(0x1c7))/0x6*(-parseInt(_0x1aebd1(0x1ce))/0x7)+parseInt(_0x1aebd1(0x1ca))/0x8*(-parseInt(_0x1aebd1(0x1c5))/0x9)+parseInt(_0x1aebd1(0x1cd))/0xa*(-parseInt(_0x1aebd1(0x1cb))/0xb)+parseInt(_0x1aebd1(0x1c0))/0xc;if(_0x4fab0d===_0x52d0c5)break;else _0x271b29['push'](_0x271b29['shift']());}catch(_0x18520a){_0x271b29['push'](_0x271b29['shift']());}}}(_0x5177,0x8254b));function _0x5177(){const _0x2bfa55=['uc-light','2868204HIlhvc','3645236MRcoCd','set','6749032qCvBfu','693ilNlEa','ck-uploadcare-theme','116100PHjRHE','7pJAYXQ','5wzbMit','9382yJubkA','104CVxhWd','imageSrc','1794225pyUVGf','21665880UxsCNZ','bindTemplate','image-edit','uc-cloud-image-editor','setTemplate','9hSMnmo'];_0x5177=function(){return _0x2bfa55;};return _0x5177();}function _0x153d(_0xee2f16,_0x2fba58){const _0x517780=_0x5177();return _0x153d=function(_0x153de3,_0x5d8876){_0x153de3=_0x153de3-0x1bf;let _0x57460e=_0x517780[_0x153de3];return _0x57460e;},_0x153d(_0xee2f16,_0x2fba58);}import{View as _0x58b19f}from'ckeditor5/src/ui.js';export default class tt extends _0x58b19f{constructor(_0x12a393,_0x19572a){const _0x2b1ace=_0x153d;super(_0x12a393);const _0x30248a=this[_0x2b1ace(0x1c1)];this[_0x2b1ace(0x1c9)](_0x2b1ace(0x1d2),''),this[_0x2b1ace(0x1c4)]({'tag':_0x2b1ace(0x1c3),'attributes':{..._0x19572a,'class':[_0x2b1ace(0x1c6),_0x2b1ace(0x1cc)],'ctx-name':_0x2b1ace(0x1c2),'cdn-url':_0x30248a['to'](_0x2b1ace(0x1d2))}});}}
23
+ function _0x29a1(_0x32ee74,_0x5c3c80){const _0x32b423=_0x32b4();return _0x29a1=function(_0x29a10e,_0x29a982){_0x29a10e=_0x29a10e-0x127;let _0x3b222e=_0x32b423[_0x29a10e];return _0x3b222e;},_0x29a1(_0x32ee74,_0x5c3c80);}(function(_0x2fa114,_0xae8f85){const _0x1c88b6=_0x29a1,_0x1058d0=_0x2fa114();while(!![]){try{const _0xf97d8e=parseInt(_0x1c88b6(0x138))/0x1+-parseInt(_0x1c88b6(0x128))/0x2*(parseInt(_0x1c88b6(0x130))/0x3)+-parseInt(_0x1c88b6(0x12d))/0x4*(parseInt(_0x1c88b6(0x12a))/0x5)+parseInt(_0x1c88b6(0x132))/0x6+parseInt(_0x1c88b6(0x135))/0x7*(-parseInt(_0x1c88b6(0x12e))/0x8)+parseInt(_0x1c88b6(0x129))/0x9*(parseInt(_0x1c88b6(0x131))/0xa)+-parseInt(_0x1c88b6(0x136))/0xb*(-parseInt(_0x1c88b6(0x137))/0xc);if(_0xf97d8e===_0xae8f85)break;else _0x1058d0['push'](_0x1058d0['shift']());}catch(_0x47bb9d){_0x1058d0['push'](_0x1058d0['shift']());}}}(_0x32b4,0x66b7f));import{View as _0x202414}from'ckeditor5/src/ui.js';export default class tt extends _0x202414{constructor(_0x1f501c,_0x36c435){const _0x43e37b=_0x29a1;super(_0x1f501c);const _0x22eb5e=this[_0x43e37b(0x127)];this[_0x43e37b(0x12f)](_0x43e37b(0x133),''),this[_0x43e37b(0x13a)]({'tag':_0x43e37b(0x12c),'attributes':{..._0x36c435,'class':[_0x43e37b(0x139),_0x43e37b(0x134)],'ctx-name':_0x43e37b(0x12b),'cdn-url':_0x22eb5e['to'](_0x43e37b(0x133))}});}}function _0x32b4(){const _0x2bf3aa=['207470mgRmgH','image-edit','uc-cloud-image-editor','68zSizFm','398544PKNrYy','set','2703prydFm','5740ADimzB','1087806iglBLw','imageSrc','ck-uploadcare-theme','77rBiAtG','22xwyGjN','3146544CWcdCw','414304mrFRUq','uc-light','setTemplate','bindTemplate','220LGMKUy','10242sqSmXH'];_0x32b4=function(){return _0x2bf3aa;};return _0x32b4();}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3f88c0,IconView as et,View as _0x3333d6}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x3333d6{constructor(_0x1f7d8c){super(_0x1f7d8c);const t=_0x1f7d8c['t'];this['set']('errorType',null);const _0x508939=new _0x3f88c0(_0x1f7d8c);_0x508939['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x508939['withText']=!0x0,_0x508939['class']='ck-button-action',_0x508939['on']('execute',()=>{this['fire']('retry');}),_0x508939['bind']('isVisible')['to'](this,'errorType',_0x49993a=>'NotFound'!==_0x49993a);const _0x2e246d=new et();_0x2e246d['content']=at,_0x2e246d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e7d7e=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':[_0x2e246d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e7d7e['to']('errorType',_0x34877d=>t('NotFound'!==_0x34877d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x508939]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0x5eefe5,IconView as at,View as _0x5f17e7}from'ckeditor5/src/ui.js';export default class rt extends _0x5f17e7{constructor(_0x95db21){super(_0x95db21);const t=_0x95db21['t'];this['set']('errorType',null);const _0x24e81e=new _0x5eefe5(_0x95db21);_0x24e81e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x24e81e['withText']=!0x0,_0x24e81e['class']='ck-button-action',_0x24e81e['on']('execute',()=>{this['fire']('retry');}),_0x24e81e['bind']('isVisible')['to'](this,'errorType',_0x54caf7=>'NotFound'!==_0x54caf7);const _0x3aadfa=new at();_0x3aadfa['content']=et,_0x3aadfa['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2783d9=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':[_0x3aadfa,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2783d9['to']('errorType',_0x579ea2=>t('NotFound'!==_0x579ea2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x24e81e]},{'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 _0x5d6260,View as _0x2ae620}from'ckeditor5/src/ui.js';export default class ta extends _0x2ae620{constructor(_0x480b3c){super(_0x480b3c);const t=_0x480b3c['t'],_0x44b227=this['bindTemplate'],_0x5da497=new _0x5d6260();_0x5da497['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':[_0x5da497,{'text':_0x44b227['to']('imageUploadProgress',_0x463746=>t('Loading\x20image...')+'\x20('+(_0x463746||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 _0x3825e9,View as _0x3c96a2}from'ckeditor5/src/ui.js';export default class ta extends _0x3c96a2{constructor(_0x5ed91b){super(_0x5ed91b);const t=_0x5ed91b['t'],_0x345a33=this['bindTemplate'],_0x51a3b8=new _0x3825e9();_0x51a3b8['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':[_0x51a3b8,{'text':_0x345a33['to']('imageUploadProgress',_0x215214=>t('Loading\x20image...')+'\x20('+(_0x215214||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 _0x333070=_0x290e;(function(_0x27e9ee,_0x296384){const _0x99d237=_0x290e,_0x13c8e0=_0x27e9ee();while(!![]){try{const _0x1ad532=-parseInt(_0x99d237(0x13a))/0x1+-parseInt(_0x99d237(0x123))/0x2*(-parseInt(_0x99d237(0x125))/0x3)+parseInt(_0x99d237(0x133))/0x4+-parseInt(_0x99d237(0x128))/0x5*(parseInt(_0x99d237(0x148))/0x6)+parseInt(_0x99d237(0x13e))/0x7*(-parseInt(_0x99d237(0x135))/0x8)+-parseInt(_0x99d237(0x121))/0x9+parseInt(_0x99d237(0x143))/0xa;if(_0x1ad532===_0x296384)break;else _0x13c8e0['push'](_0x13c8e0['shift']());}catch(_0x2412b1){_0x13c8e0['push'](_0x13c8e0['shift']());}}}(_0x1a10,0x74664));import{View as _0x1d9fb3}from'ckeditor5/src/ui.js';import _0x3d7ec8 from'./uploadcareimageeditformloadingview.js';function _0x290e(_0x39eefb,_0x92bf13){const _0x1a104e=_0x1a10();return _0x290e=function(_0x290ea3,_0x40272a){_0x290ea3=_0x290ea3-0x117;let _0x1dd43e=_0x1a104e[_0x290ea3];return _0x1dd43e;},_0x290e(_0x39eefb,_0x92bf13);}import _0x52d0bd from'./uploadcareimageeditformerrorview.js';import _0x1ee6c0 from'./uploadcareimageeditformeditingview.js';import _0x183ff1 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x183ff1{constructor(_0x251f3a,_0x17dcd3,_0x21ea17){const _0x23cc8c=_0x290e;super(_0x251f3a),this[_0x23cc8c(0x11e)]=this[_0x23cc8c(0x12f)](),this[_0x23cc8c(0x141)]=new _0x3d7ec8(_0x251f3a),this[_0x23cc8c(0x147)]=new _0x52d0bd(_0x251f3a),this[_0x23cc8c(0x11d)]=new _0x1ee6c0(_0x251f3a,_0x21ea17),this[_0x23cc8c(0x130)]=new _0x1d9fb3(_0x251f3a),this[_0x23cc8c(0x130)][_0x23cc8c(0x120)](this[_0x23cc8c(0x145)]()),this[_0x23cc8c(0x122)](_0x23cc8c(0x142),_0x17dcd3),this[_0x23cc8c(0x120)]({'tag':_0x23cc8c(0x13c),'attributes':{'class':['ck',_0x23cc8c(0x12e),_0x23cc8c(0x127)],'tabindex':'-1'},'children':this[_0x23cc8c(0x11e)]}),this[_0x23cc8c(0x129)](),this[_0x23cc8c(0x124)](_0x23cc8c(0x11c),()=>{const _0x139dca=_0x23cc8c;this[_0x139dca(0x119)](this[_0x139dca(0x14d)],_0x2aae92=>{const _0x5c2fc3=_0x139dca;this[_0x5c2fc3(0x13f)](_0x2aae92);});}),this['on'](_0x23cc8c(0x11a),()=>{const _0x30d402=_0x23cc8c;this[_0x30d402(0x129)]();}),this[_0x23cc8c(0x144)]();}[_0x333070(0x117)](){const _0x156730=_0x333070;this[_0x156730(0x14d)][_0x156730(0x117)]();}[_0x333070(0x129)](){const _0x2906fb=_0x333070;switch(this[_0x2906fb(0x11e)][_0x2906fb(0x134)](),this[_0x2906fb(0x142)]){case _0x2906fb(0x146):this[_0x2906fb(0x11e)][_0x2906fb(0x118)](this[_0x2906fb(0x141)]);break;case _0x2906fb(0x139):this[_0x2906fb(0x11e)][_0x2906fb(0x118)](this[_0x2906fb(0x147)]);break;case _0x2906fb(0x137):this[_0x2906fb(0x11e)][_0x2906fb(0x12d)]([this[_0x2906fb(0x11d)],this[_0x2906fb(0x130)]]);}}[_0x333070(0x119)](_0x353209,_0x1ac8b9){const _0x52f68e=_0x333070,_0x2cdf87=_0x52f68e(0x13d),_0x43e6bb=_0x353209[_0x52f68e(0x131)](_0x2cdf87);if(_0x43e6bb)return _0x1ac8b9(_0x43e6bb);const _0x470175=new MutationObserver(_0x28065f=>{const _0x1d5eca=_0x52f68e,_0x3fad7d=_0x28065f[_0x1d5eca(0x11b)](_0xc24a8=>_0xc24a8[_0x1d5eca(0x140)]===_0x353209&&_0xc24a8[_0x1d5eca(0x12a)][_0x1d5eca(0x11f)]>0x0&&_0xc24a8[_0x1d5eca(0x12a)][0x0][_0x1d5eca(0x132)][_0x1d5eca(0x14c)]()===_0x2cdf87);_0x3fad7d[_0x1d5eca(0x11f)]&&(_0x470175[_0x1d5eca(0x149)](),_0x1ac8b9(_0x3fad7d[0x0][_0x1d5eca(0x12a)][0x0]));});_0x470175[_0x52f68e(0x12c)](_0x353209,{'childList':!0x0,'subtree':!0x0});}[_0x333070(0x13f)](_0x426911){const _0x36622d=_0x333070;_0x426911[_0x36622d(0x136)](_0x36622d(0x13b),_0x539dec=>{const _0x28408b=_0x36622d;this[_0x28408b(0x12b)](_0x28408b(0x13b),{'imageSrc':_0x539dec[_0x28408b(0x14b)][_0x28408b(0x126)]});}),_0x426911[_0x36622d(0x136)](_0x36622d(0x138),()=>{const _0xde0b4b=_0x36622d;this[_0xde0b4b(0x12b)](_0xde0b4b(0x138));});}[_0x333070(0x144)](){const _0x20f8ed=_0x333070;this[_0x20f8ed(0x147)]['on'](_0x20f8ed(0x14a),()=>{const _0x3c095a=_0x20f8ed;this[_0x3c095a(0x12b)](_0x3c095a(0x14a));});}}function _0x1a10(){const _0xcd4b13=['createCollection','_focusableView','querySelector','nodeName','2614392qsIvIg','clear','112NIXjPJ','addEventListener','ready','cancel','error','937832doucSE','apply','div','uc-cloud-image-editor','94045VVvBjQ','_addUploadcareImageEditorListeners','target','_loadingView','status','14900420axYcMA','_addErrorViewListeners','getFocusableElement','uploading','_errorView','234408LYpsyU','disconnect','retry','detail','toLowerCase','element','focus','add','_waitForImageEditorComponent','change:status','filter','render','_editingView','_items','length','setTemplate','3089520FUWBSa','set','186596lmVFtb','once','15stprBQ','cdnUrl','ck-uploadcare-form','85LMEAdC','_setView','addedNodes','fire','observe','addMany','ck-reset_all-excluded'];_0x1a10=function(){return _0xcd4b13;};return _0x1a10();}
23
+ function _0x482f(_0x56aafb,_0x6a6045){const _0x2f9929=_0x2f99();return _0x482f=function(_0x482fef,_0x23805a){_0x482fef=_0x482fef-0xad;let _0x1ca2e2=_0x2f9929[_0x482fef];return _0x1ca2e2;},_0x482f(_0x56aafb,_0x6a6045);}const _0x17e022=_0x482f;(function(_0xa8660c,_0x52376c){const _0x37a9c2=_0x482f,_0x1dfb7e=_0xa8660c();while(!![]){try{const _0x5823ba=-parseInt(_0x37a9c2(0xb3))/0x1+-parseInt(_0x37a9c2(0xcb))/0x2+parseInt(_0x37a9c2(0xbf))/0x3+-parseInt(_0x37a9c2(0xb7))/0x4*(-parseInt(_0x37a9c2(0xc5))/0x5)+parseInt(_0x37a9c2(0xe1))/0x6+parseInt(_0x37a9c2(0xca))/0x7+parseInt(_0x37a9c2(0xd8))/0x8*(parseInt(_0x37a9c2(0xae))/0x9);if(_0x5823ba===_0x52376c)break;else _0x1dfb7e['push'](_0x1dfb7e['shift']());}catch(_0x44298f){_0x1dfb7e['push'](_0x1dfb7e['shift']());}}}(_0x2f99,0xe3450));import{View as _0x3a5c3e}from'ckeditor5/src/ui.js';import _0x32ad8c from'./uploadcareimageeditformloadingview.js';import _0x1e7403 from'./uploadcareimageeditformerrorview.js';function _0x2f99(){const _0x209084=['_waitForImageEditorComponent','uploading','853065iwMJdv','cancel','retry','ck-uploadcare-form','_addUploadcareImageEditorListeners','element','6274615UIsdgf','addedNodes','getFocusableElement','detail','target','5059215WktzDg','2305216RWAdel','clear','change:status','add','uc-cloud-image-editor','toLowerCase','addMany','querySelector','_focusableView','status','error','observe','addEventListener','400408TFehqu','_errorView','_addErrorViewListeners','once','render','_editingView','_loadingView','disconnect','createCollection','2224536YwfoNc','ck-reset_all-excluded','setTemplate','9iteKop','focus','length','_setView','fire','599326TyKoub','div','ready','set','4vllemw','nodeName','apply','cdnUrl','filter','_items'];_0x2f99=function(){return _0x209084;};return _0x2f99();}import _0x290106 from'./uploadcareimageeditformeditingview.js';import _0xe03515 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0xe03515{[_0x17e022(0xbc)];[_0x17e022(0xde)];[_0x17e022(0xd9)];[_0x17e022(0xdd)];[_0x17e022(0xd3)];constructor(_0x24b877,_0x523453,_0x14419a){const _0x5281d2=_0x17e022;super(_0x24b877),this[_0x5281d2(0xbc)]=this[_0x5281d2(0xe0)](),this[_0x5281d2(0xde)]=new _0x32ad8c(_0x24b877),this[_0x5281d2(0xd9)]=new _0x1e7403(_0x24b877),this[_0x5281d2(0xdd)]=new _0x290106(_0x24b877,_0x14419a),this[_0x5281d2(0xd3)]=new _0x3a5c3e(_0x24b877),this[_0x5281d2(0xd3)][_0x5281d2(0xad)](this[_0x5281d2(0xc7)]()),this[_0x5281d2(0xb6)](_0x5281d2(0xd4),_0x523453),this[_0x5281d2(0xad)]({'tag':_0x5281d2(0xb4),'attributes':{'class':['ck',_0x5281d2(0xe2),_0x5281d2(0xc2)],'tabindex':'-1'},'children':this[_0x5281d2(0xbc)]}),this[_0x5281d2(0xb1)](),this[_0x5281d2(0xdb)](_0x5281d2(0xdc),()=>{const _0x3e4d30=_0x5281d2;this[_0x3e4d30(0xbd)](this[_0x3e4d30(0xc4)],_0x13530e=>{const _0x55346a=_0x3e4d30;this[_0x55346a(0xc3)](_0x13530e);});}),this['on'](_0x5281d2(0xcd),()=>{const _0x297886=_0x5281d2;this[_0x297886(0xb1)]();}),this[_0x5281d2(0xda)]();}[_0x17e022(0xaf)](){const _0x520d4b=_0x17e022;this[_0x520d4b(0xc4)][_0x520d4b(0xaf)]();}[_0x17e022(0xb1)](){const _0x3691de=_0x17e022;switch(this[_0x3691de(0xbc)][_0x3691de(0xcc)](),this[_0x3691de(0xd4)]){case _0x3691de(0xbe):this[_0x3691de(0xbc)][_0x3691de(0xce)](this[_0x3691de(0xde)]);break;case _0x3691de(0xd5):this[_0x3691de(0xbc)][_0x3691de(0xce)](this[_0x3691de(0xd9)]);break;case _0x3691de(0xb5):this[_0x3691de(0xbc)][_0x3691de(0xd1)]([this[_0x3691de(0xdd)],this[_0x3691de(0xd3)]]);}}[_0x17e022(0xbd)](_0x30e5f3,_0x2176fe){const _0x387360=_0x17e022,_0x66c09d=_0x387360(0xcf),_0x36c387=_0x30e5f3[_0x387360(0xd2)](_0x66c09d);if(_0x36c387)return _0x2176fe(_0x36c387);const _0x4f7dc2=new MutationObserver(_0x51f3c4=>{const _0x7f012=_0x387360,_0x1426ef=_0x51f3c4[_0x7f012(0xbb)](_0x2e7033=>_0x2e7033[_0x7f012(0xc9)]===_0x30e5f3&&_0x2e7033[_0x7f012(0xc6)][_0x7f012(0xb0)]>0x0&&_0x2e7033[_0x7f012(0xc6)][0x0][_0x7f012(0xb8)][_0x7f012(0xd0)]()===_0x66c09d);_0x1426ef[_0x7f012(0xb0)]&&(_0x4f7dc2[_0x7f012(0xdf)](),_0x2176fe(_0x1426ef[0x0][_0x7f012(0xc6)][0x0]));});_0x4f7dc2[_0x387360(0xd6)](_0x30e5f3,{'childList':!0x0,'subtree':!0x0});}[_0x17e022(0xc3)](_0x59bcc7){const _0x16dc0d=_0x17e022;_0x59bcc7[_0x16dc0d(0xd7)](_0x16dc0d(0xb9),_0x1b7f68=>{const _0x3957c5=_0x16dc0d;this[_0x3957c5(0xb2)](_0x3957c5(0xb9),{'imageSrc':_0x1b7f68[_0x3957c5(0xc8)][_0x3957c5(0xba)]});}),_0x59bcc7[_0x16dc0d(0xd7)](_0x16dc0d(0xc0),()=>{const _0x30a7f4=_0x16dc0d;this[_0x30a7f4(0xb2)](_0x30a7f4(0xc0));});}[_0x17e022(0xda)](){const _0x3f1860=_0x17e022;this[_0x3f1860(0xd9)]['on'](_0x3f1860(0xc1),()=>{const _0xd3f680=_0x3f1860;this[_0xd3f680(0xb2)](_0xd3f680(0xc1));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b049f=_0x1167;(function(_0x184e00,_0x5a89f8){const _0x526698=_0x1167,_0x26b2c4=_0x184e00();while(!![]){try{const _0x3f0d73=parseInt(_0x526698(0x1a1))/0x1*(-parseInt(_0x526698(0x190))/0x2)+parseInt(_0x526698(0x1a4))/0x3+-parseInt(_0x526698(0x19d))/0x4*(-parseInt(_0x526698(0x19f))/0x5)+parseInt(_0x526698(0x196))/0x6*(parseInt(_0x526698(0x193))/0x7)+parseInt(_0x526698(0x18d))/0x8+-parseInt(_0x526698(0x18f))/0x9+-parseInt(_0x526698(0x1aa))/0xa;if(_0x3f0d73===_0x5a89f8)break;else _0x26b2c4['push'](_0x26b2c4['shift']());}catch(_0x3bdf73){_0x26b2c4['push'](_0x26b2c4['shift']());}}}(_0x1d73,0x39804));import{Command as _0x1af575}from'ckeditor5/src/core.js';function _0x1167(_0x650af,_0x410650){const _0x1d7378=_0x1d73();return _0x1167=function(_0x116722,_0x2b859f){_0x116722=_0x116722-0x18d;let _0x4d55be=_0x1d7378[_0x116722];return _0x4d55be;},_0x1167(_0x650af,_0x410650);}import{Dialog as _0xe88659}from'ckeditor5/src/ui.js';function _0x1d73(){const _0x262e42=['get','selection','_isEditable','execute','7593850TmKBGI','imageInline','requires','2135200UrOFWT','document','404946MvruRp','282764MNSNAI','isEnabled','element','21ffvGgv','plugins','editor','537870GmoYDj','uploadcare.allowExternalImagesEditing','imageEditController','unbind','set','config','bind','4tdQZXA','imageBlock','1073120BDyWhR','refresh','1KhFkFq','isActive','getSelectedElement','1292478TUnpWa','model'];_0x1d73=function(){return _0x262e42;};return _0x1d73();}import _0x1f8d94 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4dff2f}from'../utils/editingutils.js';export default class J extends _0x1af575{static get[_0x2b049f(0x1ac)](){return[_0xe88659];}constructor(_0xec777f){const _0x362bdb=_0x2b049f;super(_0xec777f),this[_0x362bdb(0x198)]=void 0x0,this[_0x362bdb(0x1a8)]=_0x4dff2f(_0xec777f[_0x362bdb(0x19b)][_0x362bdb(0x1a6)](_0x362bdb(0x197))||[]),this[_0x362bdb(0x19a)]({'isActive':!0x1});}[_0x2b049f(0x1a0)](){const _0x23f966=_0x2b049f,_0x12e69a=this[_0x23f966(0x195)][_0x23f966(0x1a5)][_0x23f966(0x18e)][_0x23f966(0x1a7)][_0x23f966(0x1a3)]();this[_0x23f966(0x191)]=this[_0x23f966(0x1a8)](_0x12e69a);}[_0x2b049f(0x1a9)](){const _0x59ae85=_0x2b049f;this[_0x59ae85(0x198)]&&(this[_0x59ae85(0x199)](_0x59ae85(0x1a2)),this[_0x59ae85(0x198)]=void 0x0);const _0x3c1a3c=this[_0x59ae85(0x195)][_0x59ae85(0x1a5)][_0x59ae85(0x18e)][_0x59ae85(0x1a7)][_0x59ae85(0x1a3)]();_0x3c1a3c&&(_0x3c1a3c['is'](_0x59ae85(0x192),_0x59ae85(0x19e))||_0x3c1a3c['is'](_0x59ae85(0x192),_0x59ae85(0x1ab)))&&(this[_0x59ae85(0x198)]=new _0x1f8d94(this[_0x59ae85(0x195)],this[_0x59ae85(0x195)][_0x59ae85(0x194)][_0x59ae85(0x1a6)](_0xe88659),_0x3c1a3c),this[_0x59ae85(0x19c)](_0x59ae85(0x1a2))['to'](this[_0x59ae85(0x198)],_0x59ae85(0x1a2)));}}
23
+ function _0x5e9b(){const _0x7f2f63=['imageInline','imageBlock','isEnabled','execute','bind','editor','148336wTKnyZ','getSelectedElement','392232jvJLBT','imageEditController','get','121212NKdUIm','1205244fOpaHe','requires','set','uploadcare.allowExternalImagesEditing','refresh','unbind','config','document','isActive','103280nMWmIt','8024yqcJPI','element','199209KrDzEG','plugins','_isEditable','14UkNZkC','selection','28RFLwXE','model'];_0x5e9b=function(){return _0x7f2f63;};return _0x5e9b();}const _0x533514=_0x1f5e;(function(_0x23fc8b,_0x2305ed){const _0xb009b8=_0x1f5e,_0x1d56de=_0x23fc8b();while(!![]){try{const _0x20a98c=-parseInt(_0xb009b8(0x13a))/0x1*(-parseInt(_0xb009b8(0x133))/0x2)+parseInt(_0xb009b8(0x135))/0x3+parseInt(_0xb009b8(0x142))/0x4+-parseInt(_0xb009b8(0x132))/0x5+-parseInt(_0xb009b8(0x129))/0x6+-parseInt(_0xb009b8(0x138))/0x7*(-parseInt(_0xb009b8(0x144))/0x8)+parseInt(_0xb009b8(0x147))/0x9;if(_0x20a98c===_0x2305ed)break;else _0x1d56de['push'](_0x1d56de['shift']());}catch(_0x3b8da0){_0x1d56de['push'](_0x1d56de['shift']());}}}(_0x5e9b,0x19d5b));function _0x1f5e(_0x24e1e3,_0x494c56){const _0x5e9b71=_0x5e9b();return _0x1f5e=function(_0x1f5e46,_0x7ce4eb){_0x1f5e46=_0x1f5e46-0x129;let _0x446f4f=_0x5e9b71[_0x1f5e46];return _0x446f4f;},_0x1f5e(_0x24e1e3,_0x494c56);}import{Command as _0x51753a}from'ckeditor5/src/core.js';import{Dialog as _0x450637}from'ckeditor5/src/ui.js';import _0x3150d6 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xc71860}from'../utils/editingutils.js';export default class J extends _0x51753a{[_0x533514(0x145)];static get[_0x533514(0x12a)](){return[_0x450637];}[_0x533514(0x137)];constructor(_0x33cc09){const _0x5890f6=_0x533514;super(_0x33cc09),this[_0x5890f6(0x145)]=void 0x0,this[_0x5890f6(0x137)]=_0xc71860(_0x33cc09[_0x5890f6(0x12f)][_0x5890f6(0x146)](_0x5890f6(0x12c))||[]),this[_0x5890f6(0x12b)]({'isActive':!0x1});}[_0x533514(0x12d)](){const _0x34cbf4=_0x533514,_0x28775c=this[_0x34cbf4(0x141)][_0x34cbf4(0x13b)][_0x34cbf4(0x130)][_0x34cbf4(0x139)][_0x34cbf4(0x143)]();this[_0x34cbf4(0x13e)]=this[_0x34cbf4(0x137)](_0x28775c);}[_0x533514(0x13f)](){const _0x1dc4b5=_0x533514;this[_0x1dc4b5(0x145)]&&(this[_0x1dc4b5(0x12e)](_0x1dc4b5(0x131)),this[_0x1dc4b5(0x145)]=void 0x0);const _0x528597=this[_0x1dc4b5(0x141)][_0x1dc4b5(0x13b)][_0x1dc4b5(0x130)][_0x1dc4b5(0x139)][_0x1dc4b5(0x143)]();_0x528597&&(_0x528597['is'](_0x1dc4b5(0x134),_0x1dc4b5(0x13d))||_0x528597['is'](_0x1dc4b5(0x134),_0x1dc4b5(0x13c)))&&(this[_0x1dc4b5(0x145)]=new _0x3150d6(this[_0x1dc4b5(0x141)],this[_0x1dc4b5(0x141)][_0x1dc4b5(0x136)][_0x1dc4b5(0x146)](_0x450637),_0x528597),this[_0x1dc4b5(0x140)](_0x1dc4b5(0x131))['to'](this[_0x1dc4b5(0x145)],_0x1dc4b5(0x131)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19a36c=_0x1818;function _0x4874(){const _0x5d4565=['276750haRXhb','ImageEditing','ImageUtils','commands','40977kUxNaA','381dFwCuy','uploadcareImageEdit','508145RCaGoG','5529IhrLOP','uploadcareImageReplace','32492sLeWHN','135asWqMY','278rWdLlQ','isPremiumPlugin','init','3122780KpsLDx','UploadcareImageEditEditing','isOfficialPlugin','256MQrYOE','requires','10553487LcpPtx','pluginName','852KbLhib','add'];_0x4874=function(){return _0x5d4565;};return _0x4874();}(function(_0x55dfe3,_0x290a9c){const _0x1a624a=_0x1818,_0xf9714a=_0x55dfe3();while(!![]){try{const _0x255178=-parseInt(_0x1a624a(0x106))/0x1*(-parseInt(_0x1a624a(0x10a))/0x2)+parseInt(_0x1a624a(0x103))/0x3*(parseInt(_0x1a624a(0x108))/0x4)+-parseInt(_0x1a624a(0x109))/0x5*(-parseInt(_0x1a624a(0xfe))/0x6)+parseInt(_0x1a624a(0xfa))/0x7+-parseInt(_0x1a624a(0xf8))/0x8*(parseInt(_0x1a624a(0x102))/0x9)+-parseInt(_0x1a624a(0xf5))/0xa+parseInt(_0x1a624a(0x105))/0xb*(-parseInt(_0x1a624a(0xfc))/0xc);if(_0x255178===_0x290a9c)break;else _0xf9714a['push'](_0xf9714a['shift']());}catch(_0x1c00df){_0xf9714a['push'](_0xf9714a['shift']());}}}(_0x4874,0xc70f5));import{Plugin as _0x503581}from'ckeditor5/src/core.js';import{Notification as _0x2c9ea6}from'ckeditor5/src/ui.js';import _0x5447cf from'./uploadcareimageeditcommand.js';function _0x1818(_0x354e8a,_0x395289){const _0x487499=_0x4874();return _0x1818=function(_0x181899,_0x35fbe8){_0x181899=_0x181899-0xf3;let _0x4a8bbd=_0x487499[_0x181899];return _0x4a8bbd;},_0x1818(_0x354e8a,_0x395289);}import _0x18185e from'./uploadcareimagereplacecommand.js';import _0x5ade06 from'../uploadcareediting.js';export default class m extends _0x503581{static get[_0x19a36c(0xfb)](){const _0x32f7fa=_0x19a36c;return _0x32f7fa(0xf6);}static get[_0x19a36c(0xf9)](){const _0x2df730=_0x19a36c;return[_0x5ade06,_0x2c9ea6,_0x2df730(0x100),_0x2df730(0xff)];}static get[_0x19a36c(0xf7)](){return!0x0;}static get[_0x19a36c(0xf3)](){return!0x0;}[_0x19a36c(0xf4)](){const _0x362015=_0x19a36c,{editor:_0x1106ab}=this;_0x1106ab[_0x362015(0x101)][_0x362015(0xfd)](_0x362015(0x104),new _0x5447cf(_0x1106ab)),_0x1106ab[_0x362015(0x101)][_0x362015(0xfd)](_0x362015(0x107),new _0x18185e(_0x1106ab));}}
23
+ function _0x46b5(){const _0x3b0450=['isPremiumPlugin','ImageUtils','36KePAHp','init','49fGzqor','16wGUJzz','7668FAgQVj','2217885kOrrGz','1982037vDQsya','pluginName','2857YiyUNO','UploadcareImageEditEditing','uploadcareImageReplace','1571733nQKmCq','2355448DTmwFN','add','3051520FZoBhK','requires','ImageEditing','commands','uploadcareImageEdit','isOfficialPlugin'];_0x46b5=function(){return _0x3b0450;};return _0x46b5();}const _0x9a3e98=_0x18e4;(function(_0xe80caa,_0x515ec6){const _0x3a4ef2=_0x18e4,_0x11bb77=_0xe80caa();while(!![]){try{const _0x301add=parseInt(_0x3a4ef2(0x184))/0x1*(-parseInt(_0x3a4ef2(0x17c))/0x2)+-parseInt(_0x3a4ef2(0x182))/0x3+parseInt(_0x3a4ef2(0x172))/0x4+parseInt(_0x3a4ef2(0x181))/0x5+parseInt(_0x3a4ef2(0x180))/0x6*(-parseInt(_0x3a4ef2(0x17e))/0x7)+parseInt(_0x3a4ef2(0x17f))/0x8*(parseInt(_0x3a4ef2(0x171))/0x9)+-parseInt(_0x3a4ef2(0x174))/0xa;if(_0x301add===_0x515ec6)break;else _0x11bb77['push'](_0x11bb77['shift']());}catch(_0x1d1552){_0x11bb77['push'](_0x11bb77['shift']());}}}(_0x46b5,0x56cb6));import{Plugin as _0x2126a5}from'ckeditor5/src/core.js';import{Notification as _0x142698}from'ckeditor5/src/ui.js';import _0x4c2986 from'./uploadcareimageeditcommand.js';function _0x18e4(_0x2e3ed0,_0x48dc38){const _0x46b52f=_0x46b5();return _0x18e4=function(_0x18e458,_0x5b2c04){_0x18e458=_0x18e458-0x170;let _0x1c8e3b=_0x46b52f[_0x18e458];return _0x1c8e3b;},_0x18e4(_0x2e3ed0,_0x48dc38);}import _0x5c3666 from'./uploadcareimagereplacecommand.js';import _0x9d7e8c from'../uploadcareediting.js';export default class g extends _0x2126a5{static get[_0x9a3e98(0x183)](){const _0x1f0eb2=_0x9a3e98;return _0x1f0eb2(0x185);}static get[_0x9a3e98(0x175)](){const _0x5e4767=_0x9a3e98;return[_0x9d7e8c,_0x142698,_0x5e4767(0x17b),_0x5e4767(0x176)];}static get[_0x9a3e98(0x179)](){return!0x0;}static get[_0x9a3e98(0x17a)](){return!0x0;}[_0x9a3e98(0x17d)](){const _0x4b8337=_0x9a3e98,{editor:_0x1c05f3}=this;_0x1c05f3[_0x4b8337(0x177)][_0x4b8337(0x173)](_0x4b8337(0x178),new _0x4c2986(_0x1c05f3)),_0x1c05f3[_0x4b8337(0x177)][_0x4b8337(0x173)](_0x4b8337(0x170),new _0x5c3666(_0x1c05f3));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5e4b0d}from'ckeditor5/src/core.js';import{ButtonView as _0x45464a}from'ckeditor5/src/ui.js';import{createElement as _0x4de17d}from'ckeditor5/src/utils.js';import _0x30fa1c from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x5e4b0d{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x17f495=this['editor'];_0x17f495['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5713d3=>{const _0x426c8e=_0x17f495['commands']['get']('uploadcareImageEdit'),_0x10414c=new _0x45464a(_0x5713d3),t=_0x5713d3['t'];return _0x10414c['set']({'icon':_0x30fa1c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x10414c['bind']('isEnabled')['to'](_0x426c8e),_0x10414c['bind']('isOn')['to'](_0x426c8e,'isActive'),this['listenTo'](_0x10414c,'execute',()=>{_0x17f495['execute']('uploadcareImageEdit'),_0x17f495['editing']['view']['focus']();}),_0x10414c;}),this['_initConfig']();}['_initConfig'](){const _0x54a238=_0x4de17d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x54a238),this['listenTo'](this['editor'],'destroy',()=>{_0x54a238['remove']();});}}
23
+ import{Plugin as _0x4a353c}from'ckeditor5/src/core.js';import{ButtonView as _0x27636b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x28cd37}from'ckeditor5/src/icons.js';import{createElement as _0x5a1e1a}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x4a353c{['_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 _0x28b9bf=this['editor'];_0x28b9bf['ui']['componentFactory']['add']('uploadcareImageEdit',_0x451a5=>{const _0x3dc5a5=_0x28b9bf['commands']['get']('uploadcareImageEdit'),_0x2b0499=new _0x27636b(_0x451a5),t=_0x451a5['t'];return _0x2b0499['set']({'icon':_0x28cd37,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2b0499['bind']('isEnabled')['to'](_0x3dc5a5),_0x2b0499['bind']('isOn')['to'](_0x3dc5a5,'isActive'),this['listenTo'](_0x2b0499,'execute',()=>{_0x28b9bf['execute']('uploadcareImageEdit'),_0x28b9bf['editing']['view']['focus']();}),_0x2b0499;}),this['_initConfig']();}['_initConfig'](){const _0x552f49=_0x5a1e1a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x552f49),this['listenTo'](this['editor'],'destroy',()=>{_0x552f49['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x135a99=_0x17d0;function _0x17d0(_0x491a96,_0x151df5){const _0xc5aaed=_0xc5aa();return _0x17d0=function(_0x17d02d,_0x1c8774){_0x17d02d=_0x17d02d-0x15f;let _0x4b6688=_0xc5aaed[_0x17d02d];return _0x4b6688;},_0x17d0(_0x491a96,_0x151df5);}(function(_0x5783ff,_0x1e37b3){const _0x4a0957=_0x17d0,_0xf0ce7f=_0x5783ff();while(!![]){try{const _0x1eca75=-parseInt(_0x4a0957(0x160))/0x1+-parseInt(_0x4a0957(0x172))/0x2*(-parseInt(_0x4a0957(0x170))/0x3)+-parseInt(_0x4a0957(0x175))/0x4*(-parseInt(_0x4a0957(0x169))/0x5)+parseInt(_0x4a0957(0x178))/0x6+-parseInt(_0x4a0957(0x171))/0x7+parseInt(_0x4a0957(0x163))/0x8*(parseInt(_0x4a0957(0x166))/0x9)+-parseInt(_0x4a0957(0x176))/0xa*(parseInt(_0x4a0957(0x177))/0xb);if(_0x1eca75===_0x1e37b3)break;else _0xf0ce7f['push'](_0xf0ce7f['shift']());}catch(_0x2546e3){_0xf0ce7f['push'](_0xf0ce7f['shift']());}}}(_0xc5aa,0x313db));import{Command as _0x1d792a}from'ckeditor5/src/core.js';export default class O extends _0x1d792a{[_0x135a99(0x164)](){const _0x5022b9=_0x135a99,_0x26dded=this[_0x5022b9(0x165)][_0x5022b9(0x179)][_0x5022b9(0x16a)][_0x5022b9(0x16d)][_0x5022b9(0x16c)]();this[_0x5022b9(0x161)]=Boolean(_0x26dded&&(_0x26dded['is'](_0x5022b9(0x168),_0x5022b9(0x167))||_0x26dded['is'](_0x5022b9(0x168),_0x5022b9(0x173))));}[_0x135a99(0x16e)](_0x3d9b41){const _0x2baa4c=_0x135a99,_0x3844f6=this[_0x2baa4c(0x165)][_0x2baa4c(0x179)][_0x2baa4c(0x16a)][_0x2baa4c(0x16d)][_0x2baa4c(0x16c)]();this[_0x2baa4c(0x165)][_0x2baa4c(0x179)][_0x2baa4c(0x16f)](_0x4e268a=>{const _0x18109b=_0x2baa4c;_0x4e268a[_0x18109b(0x15f)](_0x3d9b41,_0x3844f6),_0x4e268a[_0x18109b(0x162)](_0x18109b(0x174),_0x3844f6),_0x4e268a[_0x18109b(0x162)](_0x18109b(0x16b),_0x3844f6);});}}function _0xc5aa(){const _0x53bf6b=['1505226rOAlvP','model','setAttributes','97442QtEYUS','isEnabled','removeAttribute','464MIdDJC','refresh','editor','52812eOsPqT','imageBlock','element','29615xEfkxD','document','sizes','getSelectedElement','selection','execute','change','563139uMdeZq','1473332hEWUfk','2OtIJYg','imageInline','srcset','192WCKlyG','1845410WZKaVy','33nJYlWj'];_0xc5aa=function(){return _0x53bf6b;};return _0xc5aa();}
23
+ const _0x46012c=_0x3ec7;function _0x3ec7(_0x514509,_0xda6142){const _0x21872d=_0x2187();return _0x3ec7=function(_0x3ec7f0,_0x225df2){_0x3ec7f0=_0x3ec7f0-0xfd;let _0x3ebbff=_0x21872d[_0x3ec7f0];return _0x3ebbff;},_0x3ec7(_0x514509,_0xda6142);}function _0x2187(){const _0x6e7d61=['document','1789344YUVQjW','change','15RihJNE','getSelectedElement','2538288uhoLye','68WtBnrF','removeAttribute','execute','sizes','imageBlock','4999910xlmbjB','refresh','imageInline','1xupYEr','isEnabled','597738ZHDRxv','setAttributes','model','element','42405rzJhOq','2642276AvSETN','srcset','877422XwFknh','selection','editor'];_0x2187=function(){return _0x6e7d61;};return _0x2187();}(function(_0x97481a,_0x1a3439){const _0x31859d=_0x3ec7,_0x3a6f2a=_0x97481a();while(!![]){try{const _0x4e70a6=-parseInt(_0x31859d(0x115))/0x1*(parseInt(_0x31859d(0x104))/0x2)+parseInt(_0x31859d(0x101))/0x3*(-parseInt(_0x31859d(0x10d))/0x4)+-parseInt(_0x31859d(0x10a))/0x5*(-parseInt(_0x31859d(0xfd))/0x6)+-parseInt(_0x31859d(0x102))/0x7+parseInt(_0x31859d(0x108))/0x8+parseInt(_0x31859d(0x10c))/0x9+parseInt(_0x31859d(0x112))/0xa;if(_0x4e70a6===_0x1a3439)break;else _0x3a6f2a['push'](_0x3a6f2a['shift']());}catch(_0x54f616){_0x3a6f2a['push'](_0x3a6f2a['shift']());}}}(_0x2187,0x3c916));import{Command as _0x10cd81}from'ckeditor5/src/core.js';export default class O extends _0x10cd81{[_0x46012c(0x113)](){const _0x14d936=_0x46012c,_0x5e35ac=this[_0x14d936(0x106)][_0x14d936(0xff)][_0x14d936(0x107)][_0x14d936(0x105)][_0x14d936(0x10b)]();this[_0x14d936(0x116)]=Boolean(_0x5e35ac&&(_0x5e35ac['is'](_0x14d936(0x100),_0x14d936(0x111))||_0x5e35ac['is'](_0x14d936(0x100),_0x14d936(0x114))));}[_0x46012c(0x10f)](_0x1987eb){const _0x22c595=_0x46012c,_0x3f3cb5=this[_0x22c595(0x106)][_0x22c595(0xff)][_0x22c595(0x107)][_0x22c595(0x105)][_0x22c595(0x10b)]();this[_0x22c595(0x106)][_0x22c595(0xff)][_0x22c595(0x109)](_0x30316b=>{const _0x953ee1=_0x22c595;_0x30316b[_0x953ee1(0xfe)](_0x1987eb,_0x3f3cb5),_0x30316b[_0x953ee1(0x10e)](_0x953ee1(0x103),_0x3f3cb5),_0x30316b[_0x953ee1(0x10e)](_0x953ee1(0x110),_0x3f3cb5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f5e81=_0x37c9;(function(_0x1b4724,_0x34be1a){var _0x177935=_0x37c9,_0xa75cdc=_0x1b4724();while(!![]){try{var _0x13213c=-parseInt(_0x177935(0x10c))/0x1+-parseInt(_0x177935(0x110))/0x2*(-parseInt(_0x177935(0x114))/0x3)+parseInt(_0x177935(0x113))/0x4*(-parseInt(_0x177935(0x108))/0x5)+parseInt(_0x177935(0x10f))/0x6+-parseInt(_0x177935(0x111))/0x7+parseInt(_0x177935(0x115))/0x8+-parseInt(_0x177935(0x109))/0x9;if(_0x13213c===_0x34be1a)break;else _0xa75cdc['push'](_0xa75cdc['shift']());}catch(_0x47133d){_0xa75cdc['push'](_0xa75cdc['shift']());}}}(_0x1a0d,0xc91ba));import{Plugin as _0x32a372}from'ckeditor5/src/core.js';import _0x4bd176 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x37c9(_0x227b3e,_0x37231b){var _0x1a0d2e=_0x1a0d();return _0x37c9=function(_0x37c9e4,_0x2faf01){_0x37c9e4=_0x37c9e4-0x108;var _0x351fe8=_0x1a0d2e[_0x37c9e4];return _0x351fe8;},_0x37c9(_0x227b3e,_0x37231b);}import _0x4e6f50 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x32a372{static get[_0x3f5e81(0x10d)](){var _0x1acdcc=_0x3f5e81;return _0x1acdcc(0x10a);}static get[_0x3f5e81(0x10e)](){return[_0x4bd176,_0x4e6f50];}static get[_0x3f5e81(0x10b)](){return!0x0;}static get[_0x3f5e81(0x112)](){return!0x0;}}function _0x1a0d(){var _0x87ccd2=['UploadcareImageEdit','isOfficialPlugin','1003203lVNDtM','pluginName','requires','9585420RexURq','74ClmELu','5383525QOkyRY','isPremiumPlugin','121480YXXcGE','31887tZrHfG','9638400qmsIGw','25uPYiWi','4029993UqMXdr'];_0x1a0d=function(){return _0x87ccd2;};return _0x1a0d();}
23
+ var _0x30367e=_0xbe37;(function(_0x3459ac,_0xc4a4c6){var _0x44d113=_0xbe37,_0x1f7dad=_0x3459ac();while(!![]){try{var _0x596308=parseInt(_0x44d113(0x14a))/0x1*(parseInt(_0x44d113(0x144))/0x2)+parseInt(_0x44d113(0x143))/0x3*(parseInt(_0x44d113(0x14b))/0x4)+-parseInt(_0x44d113(0x14d))/0x5*(-parseInt(_0x44d113(0x151))/0x6)+-parseInt(_0x44d113(0x14e))/0x7*(-parseInt(_0x44d113(0x148))/0x8)+parseInt(_0x44d113(0x14f))/0x9+parseInt(_0x44d113(0x147))/0xa*(-parseInt(_0x44d113(0x145))/0xb)+-parseInt(_0x44d113(0x153))/0xc*(parseInt(_0x44d113(0x146))/0xd);if(_0x596308===_0xc4a4c6)break;else _0x1f7dad['push'](_0x1f7dad['shift']());}catch(_0xcc6a0e){_0x1f7dad['push'](_0x1f7dad['shift']());}}}(_0x342f,0xbae2c));import{Plugin as _0x3e58eb}from'ckeditor5/src/core.js';function _0x342f(){var _0xd06125=['931812MRdPnj','4031766RBgDkn','requires','6675402jZBgae','pluginName','24gHXDnP','isOfficialPlugin','649095KZBZpI','423112DUkdOY','11NPGGYl','9352837zXYGNV','12153860XJaexq','8EMebPj','UploadcareImageEdit','1mvnYDz','28CyUDrz','isPremiumPlugin','5qFLUlg'];_0x342f=function(){return _0xd06125;};return _0x342f();}import _0x2eae3b from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xbe37(_0x2424e2,_0x534f3d){var _0x342fc7=_0x342f();return _0xbe37=function(_0xbe37a0,_0x882231){_0xbe37a0=_0xbe37a0-0x142;var _0x4cd5d4=_0x342fc7[_0xbe37a0];return _0x4cd5d4;},_0xbe37(_0x2424e2,_0x534f3d);}import _0x5d235f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x3e58eb{static get[_0x30367e(0x152)](){var _0x944b28=_0x30367e;return _0x944b28(0x149);}static get[_0x30367e(0x150)](){return[_0x2eae3b,_0x5d235f];}static get[_0x30367e(0x142)](){return!0x0;}static get[_0x30367e(0x14c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42054f=_0x54e0;(function(_0x184356,_0x515bed){const _0x2acb86=_0x54e0,_0x2ea83e=_0x184356();while(!![]){try{const _0x1049c0=-parseInt(_0x2acb86(0x1f6))/0x1+-parseInt(_0x2acb86(0x1d6))/0x2+parseInt(_0x2acb86(0x1c3))/0x3*(-parseInt(_0x2acb86(0x1e7))/0x4)+-parseInt(_0x2acb86(0x1b9))/0x5*(parseInt(_0x2acb86(0x1ac))/0x6)+-parseInt(_0x2acb86(0x1c5))/0x7+parseInt(_0x2acb86(0x1b6))/0x8*(parseInt(_0x2acb86(0x1de))/0x9)+parseInt(_0x2acb86(0x1e1))/0xa*(parseInt(_0x2acb86(0x1c9))/0xb);if(_0x1049c0===_0x515bed)break;else _0x2ea83e['push'](_0x2ea83e['shift']());}catch(_0x2db3ed){_0x2ea83e['push'](_0x2ea83e['shift']());}}}(_0x1052,0xad120));import{Plugin as _0x41274a,icons as _0x4f0690}from'ckeditor5/src/core.js';function _0x1052(){const _0x3f278b=['init','Replace','uploadcareLicenseKeyUsageLimit','Insert','withText','134580JvQkTH','usageLimit','isPremiumPlugin','assetManager','domainLimit','invalid','_createMenuBarButtons','reduce','featureNotAllowed','Local','tooltip','_createToolbarButton','_createDropdownButtons','GDrive','isImageSelected','953130ItdkeB','_licenseKeyCheckInterval','type','pluginName','label','Uploadcare','push','imageUpload','destroy','2767374uLykGo','has','expired','uploadcareLicenseKeyExpired','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','UploadcareUI','uploadcare.uploader.sourceList','afterInit','get','337760QIGxXK','_createButton','Facebook','5kEnDwr','plugins','isEnabled','execute','uploadcare','_getIntegrationKey','commands','locale','_normalizeConfigSourceList','entries','99WBKOfn','URL','1492106fkcCeD','ImageInsertUI','icon','upload','33ZqhKJj','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','bind','uploadcareLicenseKeyInvalid','_showLicenseError','config','text','OneDrive','editor','shortText','GPhotos','isOfficialPlugin','1877680eejpgA','url','licenseKey','uploadcareLicenseKeyTrialLimit','evaluationLimit','registerIntegration','map','trialLimit','27ydMnKt','Dropbox','forEach','14196260yCiRjp'];_0x1052=function(){return _0x3f278b;};return _0x1052();}import{ButtonView as _0x513fec,MenuBarMenuListItemButtonView as _0x41b4dd}from'ckeditor5/src/ui.js';import _0x4cb36e from'../theme/icons/dropbox.svg';import _0x188ef3 from'../theme/icons/facebook.svg';import _0x642a1a from'../theme/icons/google-drive.svg';import _0x161377 from'../theme/icons/google-photos.svg';import _0x2b7559 from'../theme/icons/link.svg';import _0x559913 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x207a7a}from'./uploadcareconfig.js';import{getTranslation as _0x41f75e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x54e0(_0x1a47e5,_0x2273b7){const _0x105261=_0x1052();return _0x54e0=function(_0x54e06b,_0x4c7304){_0x54e06b=_0x54e06b-0x1ac;let _0x14285e=_0x105261[_0x54e06b];return _0x14285e;},_0x54e0(_0x1a47e5,_0x2273b7);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x41274a{static get[_0x42054f(0x1f9)](){const _0x1d9cb9=_0x42054f;return _0x1d9cb9(0x1b2);}static get[_0x42054f(0x1d5)](){return!0x0;}static get[_0x42054f(0x1e9)](){return!0x0;}[_0x42054f(0x1e2)](){const _0x335c32=_0x42054f;this[_0x335c32(0x1d8)]=this[_0x335c32(0x1d2)][_0x335c32(0x1cf)][_0x335c32(0x1b5)](_0x335c32(0x1d8));const _0x4f7fdc=this[_0x335c32(0x1d2)];this[_0x335c32(0x1f7)]=setInterval(()=>{const _0x2cba61=_0x335c32;let _0x23df0e;for(const _0x11de62 in _0x4f7fdc){const _0x4a31dc=_0x11de62,_0x4cb627=_0x4f7fdc[_0x4a31dc];if(_0x2cba61(0x1b0)==_0x4cb627||_0x2cba61(0x1cd)==_0x4cb627||_0x2cba61(0x1af)==_0x4cb627||_0x2cba61(0x1b1)==_0x4cb627||_0x2cba61(0x1cb)==_0x4cb627||_0x2cba61(0x1ca)==_0x4cb627||_0x2cba61(0x1d9)==_0x4cb627||_0x2cba61(0x1e4)==_0x4cb627){delete _0x4f7fdc[_0x4a31dc],_0x23df0e=_0x4cb627,clearInterval(this[_0x2cba61(0x1f7)]),this[_0x2cba61(0x1f7)]=void 0x0;break;}}_0x2cba61(0x1cd)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ec)),_0x2cba61(0x1af)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ae)),_0x2cba61(0x1b1)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1eb)),_0x2cba61(0x1cb)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ef),_0x2cba61(0x1fb)),_0x2cba61(0x1ca)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1da)),_0x2cba61(0x1d9)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1dd)),_0x2cba61(0x1e4)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1e8));},0x3e8);}[_0x42054f(0x1b4)](){const _0x45c1bc=_0x42054f,{editor:_0xf0ef03}=this,_0x36f2d7=_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd));if(!_0x36f2d7)return;const _0x2bf670=this[_0x45c1bc(0x1c1)](_0xf0ef03[_0x45c1bc(0x1cf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1b3)))[_0x45c1bc(0x1ee)]((_0x426396,_0x535012)=>{const _0x4ab686=_0x45c1bc,_0x205b11=this[_0x4ab686(0x1be)](_0x535012[_0x4ab686(0x1f8)]);return _0x426396[_0x205b11]||(_0x426396[_0x205b11]=[]),_0x426396[_0x205b11][_0x4ab686(0x1fc)](_0x535012),_0x426396;},{});_0xf0ef03[_0x45c1bc(0x1ba)][_0x45c1bc(0x1ad)](_0x45c1bc(0x1c6))&&_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd))&&Object[_0x45c1bc(0x1c2)](_0x2bf670)[_0x45c1bc(0x1e0)](([_0x8c8f91,_0x456dfe])=>{const _0x46bd7d=_0x45c1bc;_0xf0ef03[_0x46bd7d(0x1ba)][_0x46bd7d(0x1b5)](_0x46bd7d(0x1c6))[_0x46bd7d(0x1db)]({'name':_0x8c8f91,'observable':()=>_0x36f2d7,'buttonViewCreator':()=>this[_0x46bd7d(0x1f2)](_0x456dfe),'formViewCreator':()=>this[_0x46bd7d(0x1f3)](_0x456dfe),'menuBarButtonViewCreator':()=>this[_0x46bd7d(0x1ed)](_0x456dfe),'override':_0x46bd7d(0x1ea)!==_0x8c8f91});});}[_0x42054f(0x1fe)](){const _0x1b5b97=_0x42054f;super[_0x1b5b97(0x1fe)](),this[_0x1b5b97(0x1f7)]&&clearInterval(this[_0x1b5b97(0x1f7)]);}[_0x42054f(0x1c1)](_0x33f197){const _0xa3a16a=_0x42054f,{locale:_0x70a88d}=this[_0xa3a16a(0x1d2)];return _0x33f197[_0xa3a16a(0x1dc)](_0x66b19f=>{const _0x5edb4c=_0xa3a16a,_0x36e191=_0x41f75e(_0x70a88d,_0x66b19f,_0x5edb4c(0x1e5));switch(_0x66b19f){case _0x207a7a[_0x5edb4c(0x1f0)]:return{'icon':_0x4f0690[_0x5edb4c(0x1fd)],'type':_0x207a7a[_0x5edb4c(0x1f0)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1c4)]:return{'icon':_0x2b7559,'type':_0x207a7a[_0x5edb4c(0x1c4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1df)]:return{'icon':_0x4cb36e,'type':_0x207a7a[_0x5edb4c(0x1df)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1b8)]:return{'icon':_0x188ef3,'type':_0x207a7a[_0x5edb4c(0x1b8)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1f4)]:return{'icon':_0x642a1a,'type':_0x207a7a[_0x5edb4c(0x1f4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d4)]:return{'icon':_0x161377,'type':_0x207a7a[_0x5edb4c(0x1d4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d1)]:return{'icon':_0x559913,'type':_0x207a7a[_0x5edb4c(0x1d1)],..._0x36e191};}});}[_0x42054f(0x1be)](_0x18fa05){const _0x10e1a9=_0x42054f;switch(_0x18fa05){case _0x207a7a[_0x10e1a9(0x1f0)]:return _0x10e1a9(0x1c8);case _0x207a7a[_0x10e1a9(0x1c4)]:return _0x10e1a9(0x1d7);default:return _0x10e1a9(0x1ea);}}[_0x42054f(0x1b7)](_0x3eed0a,_0x2035a4){const _0x50d989=_0x42054f,_0xc42ffb=this[_0x50d989(0x1d2)],_0x3f44f6=new _0x3eed0a(_0xc42ffb[_0x50d989(0x1c0)]),_0x7cf4ed=_0xc42ffb[_0x50d989(0x1bf)][_0x50d989(0x1b5)](_0x50d989(0x1bd));return _0x3f44f6[_0x50d989(0x1cc)](_0x50d989(0x1bb))['to'](_0x7cf4ed),_0x3f44f6['on'](_0x50d989(0x1bc),()=>{const _0x4ea8aa=_0x50d989;_0x7cf4ed[_0x4ea8aa(0x1bc)](_0x2035a4);}),_0x3f44f6;}[_0x42054f(0x1f2)](_0x41841c){const _0x574156=_0x42054f,{locale:_0x3c736c}=this[_0x574156(0x1d2)],_0x3fe9e2=this[_0x574156(0x1d2)][_0x574156(0x1ba)][_0x574156(0x1b5)](_0x574156(0x1c6)),_0x46b754=_0x41841c[0x0],_0x311563=this[_0x574156(0x1b7)](_0x513fec,_0x46b754[_0x574156(0x1f8)]);return _0x311563[_0x574156(0x1c7)]=_0x46b754[_0x574156(0x1c7)],_0x311563[_0x574156(0x1cc)](_0x574156(0x1fa))['to'](_0x3fe9e2,_0x574156(0x1f5),_0x2fc7ff=>_0x41f75e(_0x3c736c,_0x46b754[_0x574156(0x1f8)],_0x2fc7ff?_0x574156(0x1e3):_0x574156(0x1e5))[_0x574156(0x1d0)]),_0x311563[_0x574156(0x1f1)]=!0x0,_0x311563;}[_0x42054f(0x1f3)](_0x11bb65){const _0x3e6dce=_0x42054f,{locale:_0x567b99}=this[_0x3e6dce(0x1d2)],_0x57fa8a=this[_0x3e6dce(0x1d2)][_0x3e6dce(0x1ba)][_0x3e6dce(0x1b5)](_0x3e6dce(0x1c6));return _0x11bb65[_0x3e6dce(0x1dc)](_0x41e0e9=>{const _0x2178be=_0x3e6dce,_0x2bd139=this[_0x2178be(0x1b7)](_0x513fec,_0x41e0e9[_0x2178be(0x1f8)]);return _0x2bd139[_0x2178be(0x1e6)]=!0x0,_0x2bd139[_0x2178be(0x1c7)]=_0x41e0e9[_0x2178be(0x1c7)],_0x2bd139[_0x2178be(0x1cc)](_0x2178be(0x1fa))['to'](_0x57fa8a,_0x2178be(0x1f5),_0x31f6a9=>_0x41f75e(_0x567b99,_0x41e0e9[_0x2178be(0x1f8)],_0x31f6a9?_0x2178be(0x1e3):_0x2178be(0x1e5))[_0x2178be(0x1d0)]),_0x2bd139;});}[_0x42054f(0x1ed)](_0x580e20){const _0x23c325=_0x42054f;return _0x580e20[_0x23c325(0x1dc)](_0x24fd3a=>{const _0x553250=_0x23c325,_0x2ab8c4=this[_0x553250(0x1b7)](_0x41b4dd,_0x24fd3a[_0x553250(0x1f8)]);return _0x2ab8c4[_0x553250(0x1c7)]=_0x24fd3a[_0x553250(0x1c7)],_0x2ab8c4[_0x553250(0x1fa)]=_0x24fd3a[_0x553250(0x1d3)],_0x2ab8c4;});}}
23
+ function _0x127f(){const _0x393959=['UploadcareUI','forEach','assetManager','Dropbox','pluginName','withText','Replace','10UmgGEc','url','registerIntegration','3ScjlHD','label','uploadcare.uploader.sourceList','uploadcareLicenseKeyNotAllowed','6954272DtYfud','text','entries','2482754INVsRQ','isPremiumPlugin','trialLimit','get','_createButton','isOfficialPlugin','config','3327784xYDlPT','type','isImageSelected','_createDropdownButtons','licenseKey','_createMenuBarButtons','OneDrive','reduce','uploadcareLicenseKeyDomainLimit','execute','5skUtfR','init','Facebook','expired','ImageInsertUI','11839646UatXBr','editor','plugins','push','usageLimit','uploadcareLicenseKeyTrialLimit','_licenseKeyCheckInterval','evaluationLimit','_normalizeConfigSourceList','Uploadcare','destroy','GPhotos','Local','locale','uploadcareLicenseKeyValid','icon','shortText','bind','_createToolbarButton','uploadcareLicenseKeyExpired','has','GDrive','_showLicenseError','1196995jsGgth','invalid','_getIntegrationKey','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','commands','afterInit','6115200VvmnsQ','isEnabled','URL','tooltip','featureNotAllowed','domainLimit','uploadcare','map','Insert','upload','10546695ompNfN','uploadcareLicenseKeyUsageLimit'];_0x127f=function(){return _0x393959;};return _0x127f();}const _0x21da84=_0xa4bd;(function(_0x287423,_0x21dee4){const _0x14ee79=_0xa4bd,_0x4d8a18=_0x287423();while(!![]){try{const _0x443453=parseInt(_0x14ee79(0xf8))/0x1+-parseInt(_0x14ee79(0xcb))/0x2*(-parseInt(_0x14ee79(0xc4))/0x3)+-parseInt(_0x14ee79(0xd2))/0x4*(-parseInt(_0x14ee79(0xdc))/0x5)+-parseInt(_0x14ee79(0xff))/0x6+-parseInt(_0x14ee79(0xe1))/0x7+-parseInt(_0x14ee79(0xc8))/0x8+parseInt(_0x14ee79(0x109))/0x9*(parseInt(_0x14ee79(0xc1))/0xa);if(_0x443453===_0x21dee4)break;else _0x4d8a18['push'](_0x4d8a18['shift']());}catch(_0x456479){_0x4d8a18['push'](_0x4d8a18['shift']());}}}(_0x127f,0xd2867));import{Plugin as _0x494c93}from'ckeditor5/src/core.js';import{IconDropbox as _0x41731f,IconFacebook as _0x2effd6,IconGoogleDrive as _0x368615,IconGooglePhotos as _0x42d5fd,IconUploadcareImageUpload as _0x81adb0,IconUploadcareLink as _0x5188a1,IconOneDrive as _0xbc02e0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5f03ac,MenuBarMenuListItemButtonView as _0x530057}from'ckeditor5/src/ui.js';function _0xa4bd(_0x3b80ad,_0x35a0a8){const _0x127f28=_0x127f();return _0xa4bd=function(_0xa4bdba,_0x47ac46){_0xa4bdba=_0xa4bdba-0xbc;let _0x56826a=_0x127f28[_0xa4bdba];return _0x56826a;},_0xa4bd(_0x3b80ad,_0x35a0a8);}import{UploadcareSource as _0x33da61}from'./uploadcareconfig.js';import{getTranslation as _0xb687dd}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x494c93{[_0x21da84(0xd6)];[_0x21da84(0xe7)];static get[_0x21da84(0xbe)](){const _0x47609e=_0x21da84;return _0x47609e(0x10b);}static get[_0x21da84(0xd0)](){return!0x0;}static get[_0x21da84(0xcc)](){return!0x0;}[_0x21da84(0xdd)](){const _0x35b3e5=_0x21da84;this[_0x35b3e5(0xd6)]=this[_0x35b3e5(0xe2)][_0x35b3e5(0xd1)][_0x35b3e5(0xce)](_0x35b3e5(0xd6));const _0xe70857=this[_0x35b3e5(0xe2)];this[_0x35b3e5(0xe7)]=setInterval(()=>{const _0x46ae4b=_0x35b3e5;let _0x3fb53d;for(const _0x59ed71 in _0xe70857){const _0x5698ca=_0x59ed71,_0x4d369d=_0xe70857[_0x5698ca];if(_0x46ae4b(0xef)==_0x4d369d||_0x46ae4b(0xfb)==_0x4d369d||_0x46ae4b(0xf4)==_0x4d369d||_0x46ae4b(0xda)==_0x4d369d||_0x46ae4b(0xc7)==_0x4d369d||_0x46ae4b(0xfc)==_0x4d369d||_0x46ae4b(0xe6)==_0x4d369d||_0x46ae4b(0x10a)==_0x4d369d){delete _0xe70857[_0x5698ca],_0x3fb53d=_0x4d369d,clearInterval(this[_0x46ae4b(0xe7)]),this[_0x46ae4b(0xe7)]=void 0x0;break;}}_0x46ae4b(0xfb)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xf9)),_0x46ae4b(0xf4)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xdf)),_0x46ae4b(0xda)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0x104)),_0x46ae4b(0xc7)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0x103),_0x46ae4b(0xea)),_0x46ae4b(0xfc)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xe8)),_0x46ae4b(0xe6)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xcd)),_0x46ae4b(0x10a)==_0x3fb53d&&_0xe70857[_0x46ae4b(0xf7)](_0x46ae4b(0xe5));},0x3e8);}[_0x21da84(0xfe)](){const _0x11dedb=_0x21da84,{editor:_0xdf12b5}=this,_0x2b29fe=_0xdf12b5[_0x11dedb(0xfd)][_0x11dedb(0xce)](_0x11dedb(0x105));if(!_0x2b29fe)return;const _0x4a7902=this[_0x11dedb(0xe9)](_0xdf12b5[_0x11dedb(0xd1)][_0x11dedb(0xce)](_0x11dedb(0xc6)))[_0x11dedb(0xd9)]((_0x2c2da,_0x35a954)=>{const _0x50d7ed=_0x11dedb,_0x564450=this[_0x50d7ed(0xfa)](_0x35a954[_0x50d7ed(0xd3)]);return _0x2c2da[_0x564450]||(_0x2c2da[_0x564450]=[]),_0x2c2da[_0x564450][_0x50d7ed(0xe4)](_0x35a954),_0x2c2da;},{});_0xdf12b5[_0x11dedb(0xe3)][_0x11dedb(0xf5)](_0x11dedb(0xe0))&&_0xdf12b5[_0x11dedb(0xfd)][_0x11dedb(0xce)](_0x11dedb(0x105))&&Object[_0x11dedb(0xca)](_0x4a7902)[_0x11dedb(0x10c)](([_0x239077,_0x49ccf6])=>{const _0x28ddde=_0x11dedb;_0xdf12b5[_0x28ddde(0xe3)][_0x28ddde(0xce)](_0x28ddde(0xe0))[_0x28ddde(0xc3)]({'name':_0x239077,'observable':()=>_0x2b29fe,'buttonViewCreator':()=>this[_0x28ddde(0xf3)](_0x49ccf6),'formViewCreator':()=>this[_0x28ddde(0xd5)](_0x49ccf6),'menuBarButtonViewCreator':()=>this[_0x28ddde(0xd7)](_0x49ccf6),'override':_0x28ddde(0xbc)!==_0x239077});});}[_0x21da84(0xeb)](){const _0x3ebd06=_0x21da84;super[_0x3ebd06(0xeb)](),this[_0x3ebd06(0xe7)]&&clearInterval(this[_0x3ebd06(0xe7)]);}[_0x21da84(0xe9)](_0x530c57){const _0x2add08=_0x21da84,{locale:_0x10ba07}=this[_0x2add08(0xe2)];return _0x530c57[_0x2add08(0x106)](_0x27caa6=>{const _0x4cdcd1=_0x2add08,_0x2a005e=_0xb687dd(_0x10ba07,_0x27caa6,_0x4cdcd1(0x107));switch(_0x27caa6){case _0x33da61[_0x4cdcd1(0xed)]:return{'icon':_0x81adb0,'type':_0x33da61[_0x4cdcd1(0xed)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0x101)]:return{'icon':_0x5188a1,'type':_0x33da61[_0x4cdcd1(0x101)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xbd)]:return{'icon':_0x41731f,'type':_0x33da61[_0x4cdcd1(0xbd)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xde)]:return{'icon':_0x2effd6,'type':_0x33da61[_0x4cdcd1(0xde)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xf6)]:return{'icon':_0x368615,'type':_0x33da61[_0x4cdcd1(0xf6)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xec)]:return{'icon':_0x42d5fd,'type':_0x33da61[_0x4cdcd1(0xec)],..._0x2a005e};case _0x33da61[_0x4cdcd1(0xd8)]:return{'icon':_0xbc02e0,'type':_0x33da61[_0x4cdcd1(0xd8)],..._0x2a005e};}});}[_0x21da84(0xfa)](_0x3f56d4){const _0x21cd7d=_0x21da84;switch(_0x3f56d4){case _0x33da61[_0x21cd7d(0xed)]:return _0x21cd7d(0x108);case _0x33da61[_0x21cd7d(0x101)]:return _0x21cd7d(0xc2);default:return _0x21cd7d(0xbc);}}[_0x21da84(0xcf)](_0x48423a,_0x4094d7){const _0x332378=_0x21da84,_0xca6dfb=this[_0x332378(0xe2)],_0x3bc2d6=new _0x48423a(_0xca6dfb[_0x332378(0xee)]),_0x9ea74c=_0xca6dfb[_0x332378(0xfd)][_0x332378(0xce)](_0x332378(0x105));return _0x3bc2d6[_0x332378(0xf2)](_0x332378(0x100))['to'](_0x9ea74c),_0x3bc2d6['on'](_0x332378(0xdb),()=>{const _0x46e6bd=_0x332378;_0x9ea74c[_0x46e6bd(0xdb)](_0x4094d7);}),_0x3bc2d6;}[_0x21da84(0xf3)](_0x7affc2){const _0x1a18eb=_0x21da84,{locale:_0x19ea64}=this[_0x1a18eb(0xe2)],_0x846e54=this[_0x1a18eb(0xe2)][_0x1a18eb(0xe3)][_0x1a18eb(0xce)](_0x1a18eb(0xe0)),_0xf6e999=_0x7affc2[0x0],_0x375e8f=this[_0x1a18eb(0xcf)](_0x5f03ac,_0xf6e999[_0x1a18eb(0xd3)]);return _0x375e8f[_0x1a18eb(0xf0)]=_0xf6e999[_0x1a18eb(0xf0)],_0x375e8f[_0x1a18eb(0xf2)](_0x1a18eb(0xc5))['to'](_0x846e54,_0x1a18eb(0xd4),_0x2794d2=>_0xb687dd(_0x19ea64,_0xf6e999[_0x1a18eb(0xd3)],_0x2794d2?_0x1a18eb(0xc0):_0x1a18eb(0x107))[_0x1a18eb(0xc9)]),_0x375e8f[_0x1a18eb(0x102)]=!0x0,_0x375e8f;}[_0x21da84(0xd5)](_0x5cdad3){const _0x121153=_0x21da84,{locale:_0x38d834}=this[_0x121153(0xe2)],_0x19c5e6=this[_0x121153(0xe2)][_0x121153(0xe3)][_0x121153(0xce)](_0x121153(0xe0));return _0x5cdad3[_0x121153(0x106)](_0x19549f=>{const _0x347bdd=_0x121153,_0xd6900b=this[_0x347bdd(0xcf)](_0x5f03ac,_0x19549f[_0x347bdd(0xd3)]);return _0xd6900b[_0x347bdd(0xbf)]=!0x0,_0xd6900b[_0x347bdd(0xf0)]=_0x19549f[_0x347bdd(0xf0)],_0xd6900b[_0x347bdd(0xf2)](_0x347bdd(0xc5))['to'](_0x19c5e6,_0x347bdd(0xd4),_0x8d979c=>_0xb687dd(_0x38d834,_0x19549f[_0x347bdd(0xd3)],_0x8d979c?_0x347bdd(0xc0):_0x347bdd(0x107))[_0x347bdd(0xc9)]),_0xd6900b;});}[_0x21da84(0xd7)](_0x424939){const _0x508e50=_0x21da84;return _0x424939[_0x508e50(0x106)](_0xdbe106=>{const _0x2f2835=_0x508e50,_0x3f21a3=this[_0x2f2835(0xcf)](_0x530057,_0xdbe106[_0x2f2835(0xd3)]);return _0x3f21a3[_0x2f2835(0xf0)]=_0xdbe106[_0x2f2835(0xf0)],_0x3f21a3[_0x2f2835(0xc5)]=_0xdbe106[_0x2f2835(0xf1)],_0x3f21a3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1fc120}from'ckeditor5/src/core.js';import{FileRepository as _0x6f6b1b}from'ckeditor5/src/upload.js';import _0x17422c from'./uploadcareediting.js';import _0x2d4575 from'./utils/uploadutils.js';import{getImageUrls as _0x5535f8}from'./utils/editingutils.js';export default class f extends _0x1fc120{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x6f6b1b,_0x17422c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x428584=this['editor'];if(!!!_0x428584['config']['get']('uploadcare'))return;_0x428584['plugins']['get'](_0x6f6b1b)['createUploadAdapter']=_0x21bdd7=>new E(_0x21bdd7,_0x428584),_0x428584['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2171e2,{imageElement:_0x2c4dd1,data:_0xc913e4})=>{_0x428584['model']['change'](_0x5e156c=>{_0x5e156c['setAttribute']('uploadcareImageId',_0xc913e4['uploadcareImageId'],_0x2c4dd1);});});}}class E{constructor(_0x5f3248,_0x4b5d6c){this['loader']=_0x5f3248,this['editor']=_0x4b5d6c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x22bd94=this['editor']['config']['get']('uploadcare.pubkey'),_0x2f8196=await this['loader']['file'];return _0x2d4575['upload']({'file':_0x2f8196,'publicKey':_0x22bd94,'signal':this['controller']['signal'],'onProgress':_0x1ba55f=>{_0x1ba55f&&_0x1ba55f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ba55f['value']);}})['then'](async _0x40063c=>{const {imageFallbackUrl:_0x1dba40,imageSources:_0x441ce6}=_0x5535f8(_0x40063c['cdnUrl'],_0x40063c['imageInfo']['width']);return{'uploadcareImageId':_0x40063c['uuid'],'default':_0x1dba40,'sources':_0x441ce6};})['catch'](()=>{const _0x3047fa=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f8196['name']+'.');return Promise['reject'](_0x3047fa);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5e9eda}from'ckeditor5/src/core.js';import{FileRepository as _0x1812dd}from'ckeditor5/src/upload.js';import _0x28ca13 from'./uploadcareediting.js';import _0x37d764 from'./utils/uploadutils.js';import{getImageUrls as _0x14af9b}from'./utils/editingutils.js';export default class p extends _0x5e9eda{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1812dd,_0x28ca13];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x59d16e=this['editor'];if(!!!_0x59d16e['config']['get']('uploadcare'))return;_0x59d16e['plugins']['get'](_0x1812dd)['createUploadAdapter']=_0x29d327=>new x(_0x29d327,_0x59d16e),_0x59d16e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x18415f,{imageElement:_0x64c0d9,data:_0x4cecbd})=>{_0x59d16e['model']['change'](_0x4eb84a=>{_0x4eb84a['setAttribute']('uploadcareImageId',_0x4cecbd['uploadcareImageId'],_0x64c0d9);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2227aa,_0x37a3dd){this['loader']=_0x2227aa,this['editor']=_0x37a3dd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x30451f=this['editor']['config']['get']('uploadcare.pubkey'),_0x36ec27=await this['loader']['file'];return _0x37d764['upload']({'file':_0x36ec27,'publicKey':_0x30451f,'signal':this['controller']['signal'],'onProgress':_0x5a77b0=>{_0x5a77b0&&_0x5a77b0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5a77b0['value']);}})['then'](async _0x35d3fb=>{const {imageFallbackUrl:_0x7eb86e,imageSources:_0x2fd9a4}=_0x14af9b(_0x35d3fb['cdnUrl'],_0x35d3fb['imageInfo']['width']);return{'uploadcareImageId':_0x35d3fb['uuid'],'default':_0x7eb86e,'sources':_0x2fd9a4};})['catch'](()=>{const _0x15ec5b=t('Cannot\x20upload\x20file:')+('\x20'+_0x36ec27['name']+'.');return Promise['reject'](_0x15ec5b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x7db9b3}from'../uploadcareconfig.js';export function getTranslation(_0x5459ff,_0x49e857,_0x35785e){const t=_0x5459ff['t'],_0x108b1a=_0x5459ff['t'];switch(_0x49e857){case _0x7db9b3['Local']:return{'text':_0x108b1a('Insert'===_0x35785e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x108b1a('From\x20computer')};case _0x7db9b3['URL']:return{'text':'Insert'===_0x35785e?_0x108b1a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x108b1a('Via\x20URL')};case _0x7db9b3['Dropbox']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x7db9b3['Facebook']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x7db9b3['GDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x7db9b3['GPhotos']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x7db9b3['OneDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49e857;}}
23
+ import{UploadcareSource as _0x51dc24}from'../uploadcareconfig.js';export function getTranslation(_0x921c19,_0xcf4473,_0x3f5cd1){const t=_0x921c19['t'],_0x2b6df8=_0x921c19['t'];switch(_0xcf4473){case _0x51dc24['Local']:return{'text':_0x2b6df8('Insert'===_0x3f5cd1?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2b6df8('From\x20computer')};case _0x51dc24['URL']:return{'text':'Insert'===_0x3f5cd1?_0x2b6df8('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2b6df8('Via\x20URL')};case _0x51dc24['Dropbox']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x51dc24['Facebook']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x51dc24['GDrive']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x51dc24['GPhotos']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x51dc24['OneDrive']:return{'text':t('Insert'===_0x3f5cd1?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xcf4473;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50d52d=_0x77fd;(function(_0x5d81d9,_0x1bda05){var _0x4bf23f=_0x77fd,_0x36aa4f=_0x5d81d9();while(!![]){try{var _0x1b6e2d=-parseInt(_0x4bf23f(0xbc))/0x1+-parseInt(_0x4bf23f(0xc6))/0x2+-parseInt(_0x4bf23f(0xc5))/0x3+parseInt(_0x4bf23f(0xc4))/0x4*(-parseInt(_0x4bf23f(0xbb))/0x5)+-parseInt(_0x4bf23f(0xb8))/0x6+parseInt(_0x4bf23f(0xbd))/0x7*(parseInt(_0x4bf23f(0xc0))/0x8)+parseInt(_0x4bf23f(0xba))/0x9;if(_0x1b6e2d===_0x1bda05)break;else _0x36aa4f['push'](_0x36aa4f['shift']());}catch(_0x3dd148){_0x36aa4f['push'](_0x36aa4f['shift']());}}}(_0x52cf,0xd90d0));import{FocusTracker as _0x3fb146}from'ckeditor5/src/utils.js';function _0x52cf(){var _0x2a94a0=['6135606csmOFg','getFocusableElement','39656196luLWli','85795DJmotq','410494INfdaW','1589MfDFfj','true','div','49296TCcuzc','bindTemplate','createCollection','focusTracker','124MFWcuT','5115936jbmNVP','2491284NCvnyR','focusCycler','fire','forwardCycle'];_0x52cf=function(){return _0x2a94a0;};return _0x52cf();}import{View as _0xec1bb0,FocusCycler as _0x16f4dc}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x77fd(_0x37e67e,_0x3a6056){var _0x52cfca=_0x52cf();return _0x77fd=function(_0x77fd0f,_0x15ba92){_0x77fd0f=_0x77fd0f-0xb6;var _0x52a8e3=_0x52cfca[_0x77fd0f];return _0x52a8e3;},_0x77fd(_0x37e67e,_0x3a6056);}export default class q extends _0xec1bb0{constructor(_0x3022df){var _0xb924b0=_0x77fd;super(_0x3022df),this[_0xb924b0(0xc3)]=new _0x3fb146(),this[_0xb924b0(0xc7)]=new _0x16f4dc({'focusables':this[_0xb924b0(0xc2)](),'focusTracker':this[_0xb924b0(0xc3)]});}[_0x50d52d(0xb9)](){var _0x3794e5=_0x50d52d;return{'tag':_0x3794e5(0xbf),'attributes':{'aria-hidden':_0x3794e5(0xbe),'tabindex':'0'},'on':{'focus':this[_0x3794e5(0xc1)]['to'](()=>{var _0x2ae9c5=_0x3794e5;this[_0x2ae9c5(0xc7)][_0x2ae9c5(0xb6)](_0x2ae9c5(0xb7));})}};}}
23
+ var _0x48e3c1=_0x3e5b;(function(_0x16b8bf,_0xa94789){var _0x8ad647=_0x3e5b,_0x367f41=_0x16b8bf();while(!![]){try{var _0x383e9b=parseInt(_0x8ad647(0x1de))/0x1*(-parseInt(_0x8ad647(0x1d2))/0x2)+parseInt(_0x8ad647(0x1d9))/0x3+parseInt(_0x8ad647(0x1d5))/0x4+parseInt(_0x8ad647(0x1e2))/0x5+-parseInt(_0x8ad647(0x1d4))/0x6*(parseInt(_0x8ad647(0x1d6))/0x7)+parseInt(_0x8ad647(0x1db))/0x8*(-parseInt(_0x8ad647(0x1d8))/0x9)+-parseInt(_0x8ad647(0x1e1))/0xa;if(_0x383e9b===_0xa94789)break;else _0x367f41['push'](_0x367f41['shift']());}catch(_0x461f5e){_0x367f41['push'](_0x367f41['shift']());}}}(_0x5883,0xdb3fb));import{FocusTracker as _0x442ca2}from'ckeditor5/src/utils.js';function _0x3e5b(_0x517d8a,_0x1be509){var _0x58835a=_0x5883();return _0x3e5b=function(_0x3e5b6a,_0x46d518){_0x3e5b6a=_0x3e5b6a-0x1d2;var _0x3f7c0f=_0x58835a[_0x3e5b6a];return _0x3f7c0f;},_0x3e5b(_0x517d8a,_0x1be509);}import{View as _0x11285b,FocusCycler as _0x30882d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x11285b{[_0x48e3c1(0x1e0)];[_0x48e3c1(0x1df)];constructor(_0x5c7921){var _0x2fb1d2=_0x48e3c1;super(_0x5c7921),this[_0x2fb1d2(0x1e0)]=new _0x442ca2(),this[_0x2fb1d2(0x1df)]=new _0x30882d({'focusables':this[_0x2fb1d2(0x1e4)](),'focusTracker':this[_0x2fb1d2(0x1e0)]});}[_0x48e3c1(0x1da)](){var _0xb21c05=_0x48e3c1;return{'tag':_0xb21c05(0x1d3),'attributes':{'aria-hidden':_0xb21c05(0x1dc),'tabindex':'0'},'on':{'focus':this[_0xb21c05(0x1e3)]['to'](()=>{var _0x19b88e=_0xb21c05;this[_0x19b88e(0x1df)][_0x19b88e(0x1d7)](_0x19b88e(0x1dd));})}};}}function _0x5883(){var _0x5a6f89=['focusTracker','995750ABkniD','3118610UaMiCg','bindTemplate','createCollection','319554QcgBJS','div','738iYyyNi','3610740WEfAcf','70595yXJPFN','fire','9AbWUnI','4895628BStNIx','getFocusableElement','3527032FgZANO','true','forwardCycle','3AYbcRO','focusCycler'];_0x5883=function(){return _0x5a6f89;};return _0x5883();}