@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250528.0 → 0.0.0-nightly-20250530.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x819d(_0x456331,_0x1d11b6){const _0x1a2bc4=_0x1a2b();return _0x819d=function(_0x819d35,_0x5086f6){_0x819d35=_0x819d35-0x8d;let _0x281913=_0x1a2bc4[_0x819d35];return _0x281913;},_0x819d(_0x456331,_0x1d11b6);}const _0x553511=_0x819d;(function(_0x33ef69,_0x1c2f67){const _0x218c81=_0x819d,_0xf5b66f=_0x33ef69();while(!![]){try{const _0x554ebd=-parseInt(_0x218c81(0xa4))/0x1*(-parseInt(_0x218c81(0x8f))/0x2)+-parseInt(_0x218c81(0xa1))/0x3+-parseInt(_0x218c81(0x99))/0x4*(parseInt(_0x218c81(0xaf))/0x5)+-parseInt(_0x218c81(0xa8))/0x6+-parseInt(_0x218c81(0xb2))/0x7*(-parseInt(_0x218c81(0x93))/0x8)+parseInt(_0x218c81(0xac))/0x9+-parseInt(_0x218c81(0xda))/0xa;if(_0x554ebd===_0x1c2f67)break;else _0xf5b66f['push'](_0xf5b66f['shift']());}catch(_0x39cb2d){_0xf5b66f['push'](_0xf5b66f['shift']());}}}(_0x1a2b,0x519ca));function _0x1a2b(){const _0x46d7cc=['commands','_initImageProcessingIndicator','282621AQtXfu','uploadcareImageId','elementToAttribute','pluginName','1213098ezshlA','uc-upload-ctx-provider','listenTo','uploadcareImageReplace','4416795KQFsAk','insertImage','querySelector','5hHxVRa','_initSchema','once','2373AIJeDF','model','locale','_initConfig','imageBlock','cleanupImage','fromCharCode','#uc-icon-arrow-down','extend','removeAttribute','body','replaceImageSource','href','configElement','_initCtx','afterInit','uploadcare.pubkey','getSelectedElement','execute','imageInline','config','_configElement','downcast','add','true','remove','upcast','view','uc-config','appendChild','getAttribute','uploadcare.uploader','_ctxElement','contentLanguage','closeMax','_initConversion','isPremiumPlugin','selection','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare','4019630ckjPKp','conversion','init','destroy','join','attributeToAttribute','isRegistered','editing','input[uploadcare-file-input]','4jpinUV','editor','uploader','requires','13664ltgkPo','schema','PictureEditing','isOfficialPlugin','iconHrefResolver','document','920348gWoXBA','for','get','data-uc-image-id','ctxElement','render','map','UploadcareEditing','1399482FYcDlN'];_0x1a2b=function(){return _0x46d7cc;};return _0x1a2b();}import{Plugin as _0x113a1a}from'ckeditor5/src/core.js';import{Dialog as _0x113725}from'ckeditor5/src/ui.js';import{createElement as _0x496c15,global as _0x54525f,uid as _0x79b4c9}from'ckeditor5/src/utils.js';import _0x2ce943 from'./uploadcarecommand.js';import _0x5406 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5cb8dc}from'./utils/editingutils.js';export default class i extends _0x113a1a{[_0x553511(0xc7)]=null;[_0x553511(0xd2)]=null;static get[_0x553511(0xa7)](){const _0x471811=_0x553511;return _0x471811(0xa0);}static get[_0x553511(0x92)](){const _0x390ad2=_0x553511;return[_0x390ad2(0x95),_0x5406,_0x113725];}static get[_0x553511(0x96)](){return!0x0;}static get[_0x553511(0xd6)](){return!0x0;}get[_0x553511(0xbf)](){const _0x41c6a9=_0x553511;return this[_0x41c6a9(0xc7)];}get[_0x553511(0x9d)](){const _0x41270e=_0x553511;return this[_0x41270e(0xd2)];}[_0x553511(0xdc)](){const _0x3079ba=_0x553511,_0x3c00e9=this[_0x3079ba(0x90)];_0x3c00e9[_0x3079ba(0xa2)][_0x3079ba(0xc9)](_0x3079ba(0xd9),new _0x2ce943(_0x3c00e9));}[_0x553511(0xc1)](){const _0x2521a1=_0x553511;this[_0x2521a1(0xb0)](),this[_0x2521a1(0xd5)](),this[_0x2521a1(0xb5)](),this[_0x2521a1(0xc0)](),this[_0x2521a1(0xa3)](),this[_0x2521a1(0xaa)](this[_0x2521a1(0x90)],_0x2521a1(0xdd),()=>{const _0x432de2=_0x2521a1;this[_0x432de2(0xc7)]&&(this[_0x432de2(0xc7)][_0x432de2(0xcb)](),this[_0x432de2(0xc7)]=null),this[_0x432de2(0xd2)]&&(this[_0x432de2(0xd2)][_0x432de2(0xcb)](),this[_0x432de2(0xd2)]=null);const _0x170fb1=_0x54525f[_0x432de2(0x98)][_0x432de2(0xae)](_0x432de2(0x8e));_0x170fb1&&_0x170fb1[_0x432de2(0xcb)]();}),async function(_0x4dd279){const _0x140617=_0x528c82([0x4f,0x6b,0x49,0x30,0x39,0x75,0x57,0x36,0x77,0x56,0x4d,0x66,0x72,0x73,0x7a,0x51,0x4a,0x63,0x53,0x6d,0x52,0x41,0x6e,0x5a,0x58,0x48,0x33,0x46,0x64,0x34,0x4c,0x74,0x61,0x76,0x71,0x42,0x55,0x69,0x65,0x6f,0x70,0x68,0x79,0x6a,0x6c,0x45,0x32,0x59,0x38,0x78,0x4e,0x43,0x4b,0x35,0x44,0x31,0x37,0x62,0x54,0x67,0x50,0x47]),_0x154d0b=0x7f801b70,_0x28e5e6=0x7f877250^_0x154d0b,_0x14e1d9=window[_0x528c82([0x44,0x61,0x74,0x65])][_0x528c82([0x6e,0x6f,0x77])](),_0x2f66ed=_0x4dd279[_0x528c82([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41b137=new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e061=>{_0x2f66ed[_0x528c82([0x6f,0x6e,0x63,0x65])](_0x528c82([0x72,0x65,0x61,0x64,0x79]),_0x47e061);}),_0x170541={[_0x528c82([0x6b,0x74,0x79])]:_0x528c82([0x45,0x43]),[_0x528c82([0x75,0x73,0x65])]:_0x528c82([0x73,0x69,0x67]),[_0x528c82([0x63,0x72,0x76])]:_0x528c82([0x50,0x2d,0x32,0x35,0x36]),[_0x528c82([0x78])]:_0x528c82([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]),[_0x528c82([0x79])]:_0x528c82([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]),[_0x528c82([0x61,0x6c,0x67])]:_0x528c82([0x45,0x53,0x32,0x35,0x36])},_0x459ad1=_0x2f66ed[_0x528c82([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x528c82([0x67,0x65,0x74])](_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11abcb(){let _0x12a00c,_0x1e04c8=null,_0x26d851=null;try{if(_0x459ad1==_0x528c82([0x47,0x50,0x4c]))return _0x528c82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12a00c=_0x49effb(),!_0x12a00c)return _0x528c82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12a00c[_0x528c82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26d851=_0x3b9330(_0x12a00c[_0x528c82([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12a00c[_0x528c82([0x6a,0x74,0x69])])),await _0x2d6c73()?_0x58f686()?_0x3b0b4b()?_0x528c82([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b3456()?(_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x528c82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e04c8=_0x4b9beb(_0x528c82([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x528c82([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e04c8=_0x4b9beb(_0x528c82([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d9055()):_0x528c82([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x528c82([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x528c82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x528c82([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b0b4b(){const _0x36ad1d=[_0x528c82([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x528c82([0x74,0x72,0x69,0x61,0x6c])][_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14e1d9/0x3e8:0xe10*_0x28e5e6;return _0x12a00c[_0x528c82([0x65,0x78,0x70])]<_0x36ad1d;}function _0x58f686(){const _0x54683f=_0x12a00c[_0x528c82([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54683f&&(!!_0x54683f[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528c82([0x2a]))||!!_0x54683f[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528c82([0x55,0x50,0x4c,0x43])));}function _0x1b3456(){const _0x57ae7d=_0x819d,_0x2ca1e2=_0x12a00c[_0x528c82([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ca1e2||0x0==_0x2ca1e2[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c371f}=new URL(window[_0x528c82([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x57ae7d(0xbe)]);if(_0x2ca1e2[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c371f))return!0x0;const _0x4fb4a9=_0x1c371f[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e]));return _0x2ca1e2[_0x528c82([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5566ec=>_0x5566ec[_0x528c82([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x528c82([0x2a])))[_0x528c82([0x6d,0x61,0x70])](_0x4b6bc8=>_0x4b6bc8[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e])))[_0x528c82([0x73,0x6f,0x6d,0x65])](_0x376ed9=>_0x4fb4a9[_0x528c82([0x65,0x76,0x65,0x72,0x79])]((_0x9415d9,_0xe7c2e7)=>_0x376ed9[_0xe7c2e7]===_0x9415d9||_0x376ed9[_0xe7c2e7]===_0x528c82([0x2a])));}function _0x4d9055(){return _0x1e04c8&&_0x26d851?new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228578,_0x52f201)=>{_0x1e04c8[_0x528c82([0x74,0x68,0x65,0x6e])](_0x228578,_0x52f201),_0x26d851[_0x528c82([0x74,0x68,0x65,0x6e])](_0x383344=>{_0x383344!=_0x528c82([0x56,0x61,0x6c,0x69,0x64])&&_0x228578(_0x383344);},_0x52f201);}):_0x1e04c8||_0x26d851||_0x528c82([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b9330(_0x1aeaea,_0x31b5bd){return new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x281b1c=>{if(_0x8ca316())return _0x281b1c(_0x528c82([0x56,0x61,0x6c,0x69,0x64]));_0x266d52(),_0x2f66ed[_0x528c82([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x528c82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34fca3=!0x1;const _0xa36beb=_0x79b4c9();function _0x1dba51(_0x66f8c2){return!!_0x66f8c2&&(typeof _0x66f8c2===_0x528c82([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x66f8c2===_0x528c82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x66f8c2[_0x528c82([0x74,0x68,0x65,0x6e])]===_0x528c82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x66f8c2[_0x528c82([0x63,0x61,0x74,0x63,0x68])]===_0x528c82([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24da0f(_0x32d1ce){_0xcfe1d0(_0x32d1ce)[_0x528c82([0x74,0x68,0x65,0x6e])](_0x49f823=>{if(!_0x49f823||_0x49f823[_0x528c82([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x528c82([0x6f,0x6b]))return _0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbc9031(_0x282d34(_0xa36beb+_0x31b5bd))!=_0x49f823[_0x528c82([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x528c82([0x56,0x61,0x6c,0x69,0x64]);})[_0x528c82([0x74,0x68,0x65,0x6e])](_0x4d227d=>(_0x490af4(),_0x4d227d),()=>{const _0x573ee7=_0x1b65b4();return null==_0x573ee7?(_0x490af4(),_0x528c82([0x56,0x61,0x6c,0x69,0x64])):_0x528c82(_0x14e1d9-_0x573ee7>(0x5b8c9f70^_0x154d0b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x528c82([0x74,0x68,0x65,0x6e])](_0x281b1c)[_0x528c82([0x63,0x61,0x74,0x63,0x68])](()=>{_0x281b1c(_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x76bb2d=0x7fb6f5f0^_0x154d0b;function _0x490af4(){const _0x21b0eb=_0x528c82([0x6c,0x6c,0x63,0x74,0x2d])+_0xbc9031(_0x282d34(_0x1aeaea)),_0x395271=_0xea9b88(_0xbc9031(window[_0x528c82([0x4d,0x61,0x74,0x68])][_0x528c82([0x63,0x65,0x69,0x6c])](_0x14e1d9/_0x76bb2d)));window[_0x528c82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x528c82([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21b0eb,_0x395271);}function _0x1b65b4(){const _0x397b94=_0x528c82([0x6c,0x6c,0x63,0x74,0x2d])+_0xbc9031(_0x282d34(_0x1aeaea)),_0x1e7c0c=window[_0x528c82([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x528c82([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x397b94);return _0x1e7c0c?window[_0x528c82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea9b88(_0x1e7c0c),0x10)*_0x76bb2d:null;}function _0xcfe1d0(_0x198c0f){return new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1467a7,_0x545aa8)=>{_0x198c0f[_0x528c82([0x74,0x68,0x65,0x6e])](_0x1467a7,_0x545aa8),window[_0x528c82([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x545aa8,0x7f81cfb0^_0x154d0b);});}}_0x2f66ed[_0x528c82([0x6f,0x6e])](_0x528c82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd0f3,_0x4b5731)=>{if(_0x4b5731[0x0]!=_0x1aeaea)return _0x281b1c(_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b5731[0x1]={..._0x4b5731[0x1],[_0x528c82([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa36beb};},{[_0x528c82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x528c82([0x68,0x69,0x67,0x68])}),_0x2f66ed[_0x528c82([0x6f,0x6e])](_0x528c82([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ba49c=>{_0x1dba51(_0x4ba49c[_0x528c82([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34fca3=!0x0,_0x24da0f(_0x4ba49c[_0x528c82([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x528c82([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x528c82([0x6c,0x6f,0x77])}),_0x41b137[_0x528c82([0x74,0x68,0x65,0x6e])](()=>{_0x34fca3||_0x281b1c(_0x528c82([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8ca316(){return _0x2f66ed[_0x528c82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x528c82([0x76,0x69,0x65,0x77])][_0x528c82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x528c82([0x61,0x75,0x74,0x6f]);}function _0x266d52(){_0x2f66ed[_0x528c82([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x528c82([0x76,0x69,0x65,0x77])][_0x528c82([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x528c82([0x61,0x75,0x74,0x6f]);}}function _0x4b9beb(_0x44c9b8){const _0x46b168=[new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7b26=>setTimeout(_0x4b7b26,0x7f8925bc^_0x154d0b)),_0x41b137[_0x528c82([0x74,0x68,0x65,0x6e])](()=>new window[(_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x111099=>{let _0x33c83b=0x0;_0x2f66ed[_0x528c82([0x6d,0x6f,0x64,0x65,0x6c])][_0x528c82([0x6f,0x6e])](_0x528c82([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32a04a,_0x34cd96)=>{_0x34cd96[0x0][_0x528c82([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33c83b++,_0x33c83b==(0x7f801a88^_0x154d0b)&&(_0x111099(),_0x32a04a[_0x528c82([0x6f,0x66,0x66])]());});}))];return window[_0x528c82([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x528c82([0x72,0x61,0x63,0x65])](_0x46b168)[_0x528c82([0x74,0x68,0x65,0x6e])](()=>_0x44c9b8);}async function _0xac3f03(){await _0x41b137,_0x2f66ed[_0x528c82([0x6d,0x6f,0x64,0x65,0x6c])][_0x528c82([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b5704,_0x2f66ed[_0x528c82([0x6d,0x6f,0x64,0x65,0x6c])][_0x528c82([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b5704,_0x2f66ed[_0x528c82([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x528c82([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19593d(_0x5d241d){const _0x55dd2a=_0x2f4ecd();_0x2f66ed[_0x55dd2a]=_0x528c82([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d241d,_0x5d241d!=_0x528c82([0x56,0x61,0x6c,0x69,0x64])&&_0xac3f03();}function _0x2f4ecd(){const _0x2c2cb6=window[_0x528c82([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x528c82([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x528c82([0x6e,0x6f,0x77])]())[_0x528c82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x528c82([0x2e]),'');let _0x10ee63=_0x528c82([0x4f]);for(let _0x602309=0x0;_0x602309<_0x2c2cb6[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x602309+=0x2){let _0x1eee7c=window[_0x528c82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2cb6[_0x528c82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x602309,_0x602309+0x2));_0x1eee7c>=_0x140617[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1eee7c-=_0x140617[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10ee63+=_0x140617[_0x1eee7c];}return _0x10ee63;}function _0x49effb(){const _0x1a75ab=_0x459ad1[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e]));if(0x3!=_0x1a75ab[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55c22c(_0x1a75ab[0x1]);function _0x55c22c(_0x4b76b9){const _0x1902f3=_0x1ff643(_0x4b76b9);return _0x1902f3&&_0x43693c()?_0x1902f3:null;function _0x43693c(){const _0x49dc46=_0x1902f3[_0x528c82([0x6a,0x74,0x69])],_0x3a5a2d=window[_0x528c82([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49dc46[_0x528c82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49dc46[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf4ef37={..._0x1902f3,[_0x528c82([0x6a,0x74,0x69])]:_0x49dc46[_0x528c82([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49dc46[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf4ef37[_0x528c82([0x76,0x63])],_0x282d34(_0xf4ef37)==_0x3a5a2d;}}}async function _0x2d6c73(){let _0x3b8653=!0x0;try{const _0xa336b8=_0x459ad1[_0x528c82([0x73,0x70,0x6c,0x69,0x74])](_0x528c82([0x2e])),[_0xb48e84,_0x4cf57c,_0x336c0c]=_0xa336b8;return _0x4dcb36(_0xb48e84),await _0x163ae0(_0xb48e84,_0x4cf57c,_0x336c0c),_0x3b8653;}catch{return!0x1;}function _0x4dcb36(_0x700356){const _0x175c10=_0x1ff643(_0x700356);_0x175c10&&_0x175c10[_0x528c82([0x61,0x6c,0x67])]==_0x528c82([0x45,0x53,0x32,0x35,0x36])||(_0x3b8653=!0x1);}async function _0x163ae0(_0x29f866,_0x516e79,_0x1f394e){const _0x4299ef=window[_0x528c82([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x528c82([0x66,0x72,0x6f,0x6d])](_0x209045(_0x1f394e),_0x3de1c9=>_0x3de1c9[_0x528c82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c94e5=new window[(_0x528c82([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x528c82([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29f866+_0x528c82([0x2e])+_0x516e79),_0x9d2d64=window[_0x528c82([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x528c82([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9d2d64)return;const _0x3f1091=await _0x9d2d64[_0x528c82([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x528c82([0x6a,0x77,0x6b]),_0x170541,{[_0x528c82([0x6e,0x61,0x6d,0x65])]:_0x528c82([0x45,0x43,0x44,0x53,0x41]),[_0x528c82([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x528c82([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x528c82([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9d2d64[_0x528c82([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x528c82([0x6e,0x61,0x6d,0x65])]:_0x528c82([0x45,0x43,0x44,0x53,0x41]),[_0x528c82([0x68,0x61,0x73,0x68])]:{[_0x528c82([0x6e,0x61,0x6d,0x65])]:_0x528c82([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f1091,_0x4299ef,_0x3c94e5)||(_0x3b8653=!0x1);}}function _0x1ff643(_0x24a52b){return _0x24a52b[_0x528c82([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x528c82([0x65,0x79]))?JSON[_0x528c82([0x70,0x61,0x72,0x73,0x65])](_0x209045(_0x24a52b)):null;}function _0x209045(_0x1158a1){return window[_0x528c82([0x61,0x74,0x6f,0x62])](_0x1158a1[_0x528c82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x528c82([0x2b]))[_0x528c82([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x528c82([0x2f])));}function _0x282d34(_0x5824f6){let _0x59286f=0x1505;function _0x4bc21a(_0x830345){for(let _0x29c14e=0x0;_0x29c14e<_0x830345[_0x528c82([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c14e++){const _0x1915ec=_0x830345[_0x528c82([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29c14e);_0x59286f=(_0x59286f<<0x5)+_0x59286f+_0x1915ec,_0x59286f&=_0x59286f;}}function _0x324f27(_0x5d105a){Array[_0x528c82([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d105a)?_0x5d105a[_0x528c82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x324f27):_0x5d105a&&typeof _0x5d105a==_0x528c82([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x528c82([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d105a)[_0x528c82([0x73,0x6f,0x72,0x74])]()[_0x528c82([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x566382,_0x6525b])=>{_0x4bc21a(_0x566382),_0x324f27(_0x6525b);}):_0x4bc21a(window[_0x528c82([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d105a));}return _0x324f27(_0x5824f6),_0x59286f>>>0x0;}function _0xbc9031(_0x4e1675){return _0x4e1675[_0x528c82([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x528c82([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x528c82([0x30]));}function _0xea9b88(_0xa2a8a6){return _0xa2a8a6[_0x528c82([0x73,0x70,0x6c,0x69,0x74])]('')[_0x528c82([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x528c82([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b5704(){}function _0x528c82(_0xd89b67){const _0x46dd38=_0x819d;return _0xd89b67[_0x46dd38(0x9f)](_0x589445=>String[_0x46dd38(0xb8)](_0x589445))[_0x46dd38(0xde)]('');}_0x19593d(await _0x11abcb());}(this);}[_0x553511(0xb0)](){const _0x53aa11=_0x553511,_0x57c0d6=this[_0x53aa11(0x90)][_0x53aa11(0xb3)][_0x53aa11(0x94)];_0x57c0d6[_0x53aa11(0xe0)](_0x53aa11(0xb6))&&_0x57c0d6[_0x53aa11(0xba)](_0x53aa11(0xb6),{'allowAttributes':[_0x53aa11(0xa5)]}),_0x57c0d6[_0x53aa11(0xe0)](_0x53aa11(0xc5))&&_0x57c0d6[_0x53aa11(0xba)](_0x53aa11(0xc5),{'allowAttributes':[_0x53aa11(0xa5)]});}[_0x553511(0xd5)](){const _0x18099c=_0x553511,_0x282643=this[_0x18099c(0x90)];_0x282643[_0x18099c(0xdb)][_0x18099c(0x9a)](_0x18099c(0xc8))[_0x18099c(0xdf)]({'model':_0x18099c(0xa5),'view':_0x18099c(0x9c)}),_0x282643[_0x18099c(0xdb)][_0x18099c(0x9a)](_0x18099c(0xcc))[_0x18099c(0xa6)]({'model':{'key':_0x18099c(0xa5),'value':_0x5647c2=>_0x5647c2[_0x18099c(0xd0)](_0x18099c(0x9c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3cc123=_0x282643[_0x18099c(0xa2)][_0x18099c(0x9b)](_0x18099c(0xbd));_0x3cc123&&this[_0x18099c(0xaa)](_0x3cc123,_0x18099c(0xb7),(_0x59c326,[_0x109a5a,_0x2de588])=>{const _0x2b0de5=_0x18099c;_0x109a5a[_0x2b0de5(0xbb)](_0x2b0de5(0xa5),_0x2de588);});}[_0x553511(0xb5)](){const _0xef5b40=_0x553511,_0x22673f=this[_0xef5b40(0x90)][_0xef5b40(0xc6)][_0xef5b40(0x9b)](_0xef5b40(0xd1))||{},_0x5c6fb5=this[_0xef5b40(0x90)][_0xef5b40(0xc6)][_0xef5b40(0x9b)](_0xef5b40(0xc2))||'';this[_0xef5b40(0xc7)]=_0x496c15(_0x54525f[_0xef5b40(0x98)],_0xef5b40(0xce),{..._0x22673f,'pubkey':_0x5c6fb5,'ctx-name':_0xef5b40(0x91),'sourceList':'','imgOnly':_0xef5b40(0xca),'removeCopyright':_0xef5b40(0xca),'localeName':this[_0xef5b40(0x90)][_0xef5b40(0xb4)][_0xef5b40(0xd3)],'externalSourcesEmbedCss':_0xef5b40(0xd8)}),this[_0xef5b40(0xc7)][_0xef5b40(0x97)]=_0x4b0b4f=>{const _0x34836b=_0xef5b40;if(_0x34836b(0xd4)==_0x4b0b4f)return _0x34836b(0xb9);},_0x54525f[_0xef5b40(0x98)][_0xef5b40(0xbc)][_0xef5b40(0xcf)](this[_0xef5b40(0xc7)]);}[_0x553511(0xc0)](){const _0x1f02bc=_0x553511;this[_0x1f02bc(0xd2)]=_0x496c15(_0x54525f[_0x1f02bc(0x98)],_0x1f02bc(0xa9),{'ctx-name':_0x1f02bc(0x91)}),_0x54525f[_0x1f02bc(0x98)][_0x1f02bc(0xbc)][_0x1f02bc(0xcf)](this[_0x1f02bc(0xd2)]);}[_0x553511(0xa3)](){const _0x3752e5=_0x553511,_0x18c1ec=this[_0x3752e5(0x90)][_0x3752e5(0xa2)][_0x3752e5(0x9b)](_0x3752e5(0xad));_0x18c1ec&&this[_0x3752e5(0xaa)](_0x18c1ec,_0x3752e5(0xc4),()=>{const _0x20005c=_0x3752e5,_0x276477=this[_0x20005c(0x90)][_0x20005c(0xb3)][_0x20005c(0x98)][_0x20005c(0xd7)][_0x20005c(0xc3)]();_0x276477&&_0x276477[_0x20005c(0xd0)](_0x20005c(0xa5))&&this[_0x20005c(0x90)][_0x20005c(0x8d)][_0x20005c(0xcd)][_0x20005c(0xb1)](_0x20005c(0x9e),()=>{const _0x5eb8f0=_0x20005c;_0x5cb8dc(this[_0x5eb8f0(0x90)],_0x276477);});});const _0x2383dd=this[_0x3752e5(0x90)][_0x3752e5(0xa2)][_0x3752e5(0x9b)](_0x3752e5(0xab));_0x2383dd&&this[_0x3752e5(0xaa)](_0x2383dd,_0x3752e5(0xc4),()=>{const _0x290695=_0x3752e5,_0xa06d9f=this[_0x290695(0x90)][_0x290695(0xb3)][_0x290695(0x98)][_0x290695(0xd7)][_0x290695(0xc3)]();_0xa06d9f&&_0xa06d9f[_0x290695(0xd0)](_0x290695(0xa5))&&this[_0x290695(0x90)][_0x290695(0x8d)][_0x290695(0xcd)][_0x290695(0xb1)](_0x290695(0x9e),()=>{const _0x2b159a=_0x290695;_0x5cb8dc(this[_0x2b159a(0x90)],_0xa06d9f);});});}}
23
+ const _0x4cdb76=_0x5dca;(function(_0x3fe86e,_0x46f7b5){const _0xd88711=_0x5dca,_0x1d7c5a=_0x3fe86e();while(!![]){try{const _0x37d152=-parseInt(_0xd88711(0x17a))/0x1*(-parseInt(_0xd88711(0x170))/0x2)+parseInt(_0xd88711(0x1ad))/0x3+parseInt(_0xd88711(0x16e))/0x4+parseInt(_0xd88711(0x16d))/0x5+parseInt(_0xd88711(0x19b))/0x6+-parseInt(_0xd88711(0x15c))/0x7+parseInt(_0xd88711(0x16f))/0x8*(parseInt(_0xd88711(0x160))/0x9);if(_0x37d152===_0x46f7b5)break;else _0x1d7c5a['push'](_0x1d7c5a['shift']());}catch(_0x3bb086){_0x1d7c5a['push'](_0x1d7c5a['shift']());}}}(_0x4ed3,0x52928));import{Plugin as _0x2bb3d9}from'ckeditor5/src/core.js';import{Dialog as _0xf7dc57}from'ckeditor5/src/ui.js';function _0x4ed3(){const _0x10e5cf=['configElement','join','1gwrPZg','isPremiumPlugin','listenTo','iconHrefResolver','fromCharCode','once','get','querySelector','PictureEditing','uc-config','commands','execute','destroy','insertImage','isOfficialPlugin','cleanupImage','isRegistered','_initConfig','requires','href','imageBlock','contentLanguage','closeMax','document','_initImageProcessingIndicator','input[uploadcare-file-input]','_configElement','upcast','init','data-uc-image-id','elementToAttribute','#uc-icon-arrow-down','pluginName','19704QeKVnS','view','uploadcare','editor','appendChild','attributeToAttribute','locale','config','for','_ctxElement','_initSchema','uploadcare.uploader','body','afterInit','downcast','removeAttribute','uploadcareImageId','uploadcare.pubkey','181821BpCNEo','replaceImageSource','4506117mokYic','\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','remove','schema','153rYbLEt','extend','render','selection','true','getAttribute','uploadcareImageReplace','editing','uploader','_initConversion','uc-upload-ctx-provider','_initCtx','getSelectedElement','1024060fWHiIP','1896164ihGzfz','97992tyxfTq','61940esyVxy','ctxElement','conversion','UploadcareEditing','imageInline','model','map','add'];_0x4ed3=function(){return _0x10e5cf;};return _0x4ed3();}function _0x5dca(_0x3c937d,_0xfc7abc){const _0x4ed3c1=_0x4ed3();return _0x5dca=function(_0x5dca47,_0x12f31a){_0x5dca47=_0x5dca47-0x15b;let _0x2f8d02=_0x4ed3c1[_0x5dca47];return _0x2f8d02;},_0x5dca(_0x3c937d,_0xfc7abc);}import{createElement as _0xd47099,global as _0x3b3833,uid as _0x1e5115}from'ckeditor5/src/utils.js';import _0x411d11 from'./uploadcarecommand.js';import _0xc6760c from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x598b5a}from'./utils/editingutils.js';export default class i extends _0x2bb3d9{[_0x4cdb76(0x194)]=null;[_0x4cdb76(0x1a4)]=null;static get[_0x4cdb76(0x19a)](){const _0x23696b=_0x4cdb76;return _0x23696b(0x173);}static get[_0x4cdb76(0x18c)](){const _0x3fe823=_0x4cdb76;return[_0x3fe823(0x182),_0xc6760c,_0xf7dc57];}static get[_0x4cdb76(0x188)](){return!0x0;}static get[_0x4cdb76(0x17b)](){return!0x0;}get[_0x4cdb76(0x178)](){const _0x2a9b67=_0x4cdb76;return this[_0x2a9b67(0x194)];}get[_0x4cdb76(0x171)](){const _0x1d1aa5=_0x4cdb76;return this[_0x1d1aa5(0x1a4)];}[_0x4cdb76(0x196)](){const _0x240fad=_0x4cdb76,_0x2a08c8=this[_0x240fad(0x19e)];_0x2a08c8[_0x240fad(0x184)][_0x240fad(0x177)](_0x240fad(0x19d),new _0x411d11(_0x2a08c8));}[_0x4cdb76(0x1a8)](){const _0x4a46af=_0x4cdb76;this[_0x4a46af(0x1a5)](),this[_0x4a46af(0x169)](),this[_0x4a46af(0x18b)](),this[_0x4a46af(0x16b)](),this[_0x4a46af(0x192)](),this[_0x4a46af(0x17c)](this[_0x4a46af(0x19e)],_0x4a46af(0x186),()=>{const _0x48043a=_0x4a46af;this[_0x48043a(0x194)]&&(this[_0x48043a(0x194)][_0x48043a(0x15e)](),this[_0x48043a(0x194)]=null),this[_0x48043a(0x1a4)]&&(this[_0x48043a(0x1a4)][_0x48043a(0x15e)](),this[_0x48043a(0x1a4)]=null);const _0x4d29f8=_0x3b3833[_0x48043a(0x191)][_0x48043a(0x181)](_0x48043a(0x193));_0x4d29f8&&_0x4d29f8[_0x48043a(0x15e)]();}),async function(_0x52f1d6){const _0x3fbb02=_0x3096af([0x49,0x4d,0x32,0x75,0x79,0x34,0x39,0x76,0x4a,0x6c,0x67,0x66,0x43,0x56,0x6e,0x46,0x5a,0x37,0x44,0x77,0x47,0x38,0x52,0x65,0x48,0x4f,0x42,0x6a,0x33,0x70,0x31,0x54,0x4b,0x4c,0x63,0x72,0x51,0x50,0x4e,0x62,0x57,0x6b,0x55,0x59,0x36,0x6d,0x68,0x71,0x41,0x45,0x69,0x53,0x30,0x78,0x61,0x7a,0x74,0x35,0x64,0x6f,0x73,0x58]),_0x120857=0x280b32b3,_0x1f88cd=0x280c5be3^_0x120857,_0x517295=window[_0x3096af([0x44,0x61,0x74,0x65])][_0x3096af([0x6e,0x6f,0x77])](),_0xbba3cb=_0x52f1d6[_0x3096af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5525f4=new window[(_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bfbe9=>{_0xbba3cb[_0x3096af([0x6f,0x6e,0x63,0x65])](_0x3096af([0x72,0x65,0x61,0x64,0x79]),_0x3bfbe9);}),_0x344c02={[_0x3096af([0x6b,0x74,0x79])]:_0x3096af([0x45,0x43]),[_0x3096af([0x75,0x73,0x65])]:_0x3096af([0x73,0x69,0x67]),[_0x3096af([0x63,0x72,0x76])]:_0x3096af([0x50,0x2d,0x32,0x35,0x36]),[_0x3096af([0x78])]:_0x3096af([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]),[_0x3096af([0x79])]:_0x3096af([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]),[_0x3096af([0x61,0x6c,0x67])]:_0x3096af([0x45,0x53,0x32,0x35,0x36])},_0x415b1a=_0xbba3cb[_0x3096af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3096af([0x67,0x65,0x74])](_0x3096af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a50ab(){let _0x510cb5,_0x4ae13f=null,_0x1a916e=null;try{if(_0x415b1a==_0x3096af([0x47,0x50,0x4c]))return _0x3096af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x510cb5=_0x2a6676(),!_0x510cb5)return _0x3096af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x510cb5[_0x3096af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a916e=_0x19c2c4(_0x510cb5[_0x3096af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x510cb5[_0x3096af([0x6a,0x74,0x69])])),await _0x4ff920()?_0x1c8008()?_0x344fe4()?_0x3096af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e51ab()?(_0x510cb5[_0x3096af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3096af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ae13f=_0x25d2a7(_0x3096af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x510cb5[_0x3096af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3096af([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ae13f=_0x25d2a7(_0x3096af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xee789a()):_0x3096af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3096af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3096af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3096af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x344fe4(){const _0x2d7c8c=[_0x3096af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3096af([0x74,0x72,0x69,0x61,0x6c])][_0x3096af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x510cb5[_0x3096af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x517295/0x3e8:0xe10*_0x1f88cd;return _0x510cb5[_0x3096af([0x65,0x78,0x70])]<_0x2d7c8c;}function _0x1c8008(){const _0x3c7989=_0x510cb5[_0x3096af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c7989&&(!!_0x3c7989[_0x3096af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096af([0x2a]))||!!_0x3c7989[_0x3096af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096af([0x55,0x50,0x4c,0x43])));}function _0x5e51ab(){const _0x1ff3ce=_0x5dca,_0x539d9f=_0x510cb5[_0x3096af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x539d9f||0x0==_0x539d9f[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x276dd1}=new URL(window[_0x3096af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1ff3ce(0x18d)]);if(_0x539d9f[_0x3096af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276dd1))return!0x0;const _0x537ea4=_0x276dd1[_0x3096af([0x73,0x70,0x6c,0x69,0x74])](_0x3096af([0x2e]));return _0x539d9f[_0x3096af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48102b=>_0x48102b[_0x3096af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3096af([0x2a])))[_0x3096af([0x6d,0x61,0x70])](_0x46a00f=>_0x46a00f[_0x3096af([0x73,0x70,0x6c,0x69,0x74])](_0x3096af([0x2e])))[_0x3096af([0x73,0x6f,0x6d,0x65])](_0x398f94=>_0x537ea4[_0x3096af([0x65,0x76,0x65,0x72,0x79])]((_0x424cb5,_0x4d66f9)=>_0x398f94[_0x4d66f9]===_0x424cb5||_0x398f94[_0x4d66f9]===_0x3096af([0x2a])));}function _0xee789a(){return _0x4ae13f&&_0x1a916e?new window[(_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x316abd,_0x2ee036)=>{_0x4ae13f[_0x3096af([0x74,0x68,0x65,0x6e])](_0x316abd,_0x2ee036),_0x1a916e[_0x3096af([0x74,0x68,0x65,0x6e])](_0x3dfe7f=>{_0x3dfe7f!=_0x3096af([0x56,0x61,0x6c,0x69,0x64])&&_0x316abd(_0x3dfe7f);},_0x2ee036);}):_0x4ae13f||_0x1a916e||_0x3096af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19c2c4(_0x5ed3a5,_0x41fcd4){return new window[(_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dbfb0=>{if(_0x1f2886())return _0x3dbfb0(_0x3096af([0x56,0x61,0x6c,0x69,0x64]));_0x511006(),_0xbba3cb[_0x3096af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3096af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9ff23b=!0x1;const _0x4626a7=_0x1e5115();function _0x4f3f83(_0x18840f){return!!_0x18840f&&(typeof _0x18840f===_0x3096af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18840f===_0x3096af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18840f[_0x3096af([0x74,0x68,0x65,0x6e])]===_0x3096af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18840f[_0x3096af([0x63,0x61,0x74,0x63,0x68])]===_0x3096af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37c4eb(_0x2996e7){_0x115e6d(_0x2996e7)[_0x3096af([0x74,0x68,0x65,0x6e])](_0x15853d=>{if(!_0x15853d||_0x15853d[_0x3096af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3096af([0x6f,0x6b]))return _0x3096af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cbeee(_0x1f90d6(_0x4626a7+_0x41fcd4))!=_0x15853d[_0x3096af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3096af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3096af([0x56,0x61,0x6c,0x69,0x64]);})[_0x3096af([0x74,0x68,0x65,0x6e])](_0xf8727c=>(_0x58e2c5(),_0xf8727c),()=>{const _0x154a97=_0x3e9e30();return null==_0x154a97?(_0x58e2c5(),_0x3096af([0x56,0x61,0x6c,0x69,0x64])):_0x3096af(_0x517295-_0x154a97>(0xc07b6b3^_0x120857)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3096af([0x74,0x68,0x65,0x6e])](_0x3dbfb0)[_0x3096af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3dbfb0(_0x3096af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7775f=0x283ddc33^_0x120857;function _0x58e2c5(){const _0x156fc1=_0x3096af([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cbeee(_0x1f90d6(_0x5ed3a5)),_0x3c5ce1=_0x52186a(_0x3cbeee(window[_0x3096af([0x4d,0x61,0x74,0x68])][_0x3096af([0x63,0x65,0x69,0x6c])](_0x517295/_0x7775f)));window[_0x3096af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3096af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x156fc1,_0x3c5ce1);}function _0x3e9e30(){const _0xce1684=_0x3096af([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cbeee(_0x1f90d6(_0x5ed3a5)),_0x14a34b=window[_0x3096af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3096af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xce1684);return _0x14a34b?window[_0x3096af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52186a(_0x14a34b),0x10)*_0x7775f:null;}function _0x115e6d(_0x169fa8){return new window[(_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b6264,_0x37bfec)=>{_0x169fa8[_0x3096af([0x74,0x68,0x65,0x6e])](_0x4b6264,_0x37bfec),window[_0x3096af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37bfec,0x280ae673^_0x120857);});}}_0xbba3cb[_0x3096af([0x6f,0x6e])](_0x3096af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcf9dfd,_0x3cd677)=>{if(_0x3cd677[0x0]!=_0x5ed3a5)return _0x3dbfb0(_0x3096af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3cd677[0x1]={..._0x3cd677[0x1],[_0x3096af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4626a7};},{[_0x3096af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3096af([0x68,0x69,0x67,0x68])}),_0xbba3cb[_0x3096af([0x6f,0x6e])](_0x3096af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x284e3e=>{_0x4f3f83(_0x284e3e[_0x3096af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9ff23b=!0x0,_0x37c4eb(_0x284e3e[_0x3096af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3096af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3096af([0x6c,0x6f,0x77])}),_0x5525f4[_0x3096af([0x74,0x68,0x65,0x6e])](()=>{_0x9ff23b||_0x3dbfb0(_0x3096af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f2886(){return _0xbba3cb[_0x3096af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3096af([0x76,0x69,0x65,0x77])][_0x3096af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3096af([0x61,0x75,0x74,0x6f]);}function _0x511006(){_0xbba3cb[_0x3096af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3096af([0x76,0x69,0x65,0x77])][_0x3096af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3096af([0x61,0x75,0x74,0x6f]);}}function _0x25d2a7(_0x1d4bf3){const _0x24afbf=[new window[(_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d621b=>setTimeout(_0x1d621b,0x28020c7f^_0x120857)),_0x5525f4[_0x3096af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3aae=>{let _0x6ccaa8=0x0;_0xbba3cb[_0x3096af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3096af([0x6f,0x6e])](_0x3096af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa7c8ba,_0x1397e8)=>{_0x1397e8[0x0][_0x3096af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6ccaa8++,_0x6ccaa8==(0x280b334b^_0x120857)&&(_0x5f3aae(),_0xa7c8ba[_0x3096af([0x6f,0x66,0x66])]());});}))];return window[_0x3096af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3096af([0x72,0x61,0x63,0x65])](_0x24afbf)[_0x3096af([0x74,0x68,0x65,0x6e])](()=>_0x1d4bf3);}async function _0x4b00bd(){await _0x5525f4,_0xbba3cb[_0x3096af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3096af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ea083,_0xbba3cb[_0x3096af([0x6d,0x6f,0x64,0x65,0x6c])][_0x3096af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ea083,_0xbba3cb[_0x3096af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3096af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22b569(_0x45f3b4){const _0x1898a4=_0x3e9313();_0xbba3cb[_0x1898a4]=_0x3096af([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45f3b4,_0x45f3b4!=_0x3096af([0x56,0x61,0x6c,0x69,0x64])&&_0x4b00bd();}function _0x3e9313(){const _0x26d0ac=window[_0x3096af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3096af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3096af([0x6e,0x6f,0x77])]())[_0x3096af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3096af([0x2e]),'');let _0x24af52=_0x3096af([0x49]);for(let _0x214538=0x0;_0x214538<_0x26d0ac[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x214538+=0x2){let _0xf32a5d=window[_0x3096af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d0ac[_0x3096af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x214538,_0x214538+0x2));_0xf32a5d>=_0x3fbb02[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf32a5d-=_0x3fbb02[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24af52+=_0x3fbb02[_0xf32a5d];}return _0x24af52;}function _0x2a6676(){const _0x185d22=_0x415b1a[_0x3096af([0x73,0x70,0x6c,0x69,0x74])](_0x3096af([0x2e]));if(0x3!=_0x185d22[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1973f6(_0x185d22[0x1]);function _0x1973f6(_0x4fa86f){const _0x1f8159=_0x4079fb(_0x4fa86f);return _0x1f8159&&_0x15ad90()?_0x1f8159:null;function _0x15ad90(){const _0x181e62=_0x1f8159[_0x3096af([0x6a,0x74,0x69])],_0x2e39cf=window[_0x3096af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x181e62[_0x3096af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x181e62[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c174c={..._0x1f8159,[_0x3096af([0x6a,0x74,0x69])]:_0x181e62[_0x3096af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x181e62[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c174c[_0x3096af([0x76,0x63])],_0x1f90d6(_0x4c174c)==_0x2e39cf;}}}async function _0x4ff920(){let _0x3fe93c=!0x0;try{const _0x35fd83=_0x415b1a[_0x3096af([0x73,0x70,0x6c,0x69,0x74])](_0x3096af([0x2e])),[_0x17732d,_0x30cb4a,_0x5ba467]=_0x35fd83;return _0x58cc96(_0x17732d),await _0x26b0ff(_0x17732d,_0x30cb4a,_0x5ba467),_0x3fe93c;}catch{return!0x1;}function _0x58cc96(_0x4ffb58){const _0x3b3e46=_0x4079fb(_0x4ffb58);_0x3b3e46&&_0x3b3e46[_0x3096af([0x61,0x6c,0x67])]==_0x3096af([0x45,0x53,0x32,0x35,0x36])||(_0x3fe93c=!0x1);}async function _0x26b0ff(_0x144279,_0x41c260,_0x2dde72){const _0x400eea=window[_0x3096af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3096af([0x66,0x72,0x6f,0x6d])](_0xd9005b(_0x2dde72),_0x25e0b5=>_0x25e0b5[_0x3096af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56aae0=new window[(_0x3096af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3096af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x144279+_0x3096af([0x2e])+_0x41c260),_0x5ca590=window[_0x3096af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3096af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ca590)return;const _0x45498a=await _0x5ca590[_0x3096af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3096af([0x6a,0x77,0x6b]),_0x344c02,{[_0x3096af([0x6e,0x61,0x6d,0x65])]:_0x3096af([0x45,0x43,0x44,0x53,0x41]),[_0x3096af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3096af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3096af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ca590[_0x3096af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3096af([0x6e,0x61,0x6d,0x65])]:_0x3096af([0x45,0x43,0x44,0x53,0x41]),[_0x3096af([0x68,0x61,0x73,0x68])]:{[_0x3096af([0x6e,0x61,0x6d,0x65])]:_0x3096af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45498a,_0x400eea,_0x56aae0)||(_0x3fe93c=!0x1);}}function _0x4079fb(_0x534e7e){return _0x534e7e[_0x3096af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3096af([0x65,0x79]))?JSON[_0x3096af([0x70,0x61,0x72,0x73,0x65])](_0xd9005b(_0x534e7e)):null;}function _0xd9005b(_0x4bd956){return window[_0x3096af([0x61,0x74,0x6f,0x62])](_0x4bd956[_0x3096af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3096af([0x2b]))[_0x3096af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3096af([0x2f])));}function _0x1f90d6(_0x45129a){let _0x19389e=0x1505;function _0x363c9a(_0x456963){for(let _0x5b9755=0x0;_0x5b9755<_0x456963[_0x3096af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b9755++){const _0x364472=_0x456963[_0x3096af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b9755);_0x19389e=(_0x19389e<<0x5)+_0x19389e+_0x364472,_0x19389e&=_0x19389e;}}function _0x51ef6e(_0x31a588){Array[_0x3096af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x31a588)?_0x31a588[_0x3096af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51ef6e):_0x31a588&&typeof _0x31a588==_0x3096af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3096af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x31a588)[_0x3096af([0x73,0x6f,0x72,0x74])]()[_0x3096af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7ea358,_0x2fd75e])=>{_0x363c9a(_0x7ea358),_0x51ef6e(_0x2fd75e);}):_0x363c9a(window[_0x3096af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x31a588));}return _0x51ef6e(_0x45129a),_0x19389e>>>0x0;}function _0x3cbeee(_0x40e9fc){return _0x40e9fc[_0x3096af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3096af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3096af([0x30]));}function _0x52186a(_0x50cf2c){return _0x50cf2c[_0x3096af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3096af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3096af([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ea083(){}function _0x3096af(_0x432ca6){const _0x14bf28=_0x5dca;return _0x432ca6[_0x14bf28(0x176)](_0x2254dd=>String[_0x14bf28(0x17e)](_0x2254dd))[_0x14bf28(0x179)]('');}_0x22b569(await _0x4a50ab());}(this);}[_0x4cdb76(0x1a5)](){const _0x32b205=_0x4cdb76,_0x371d07=this[_0x32b205(0x19e)][_0x32b205(0x175)][_0x32b205(0x15f)];_0x371d07[_0x32b205(0x18a)](_0x32b205(0x18e))&&_0x371d07[_0x32b205(0x161)](_0x32b205(0x18e),{'allowAttributes':[_0x32b205(0x1ab)]}),_0x371d07[_0x32b205(0x18a)](_0x32b205(0x174))&&_0x371d07[_0x32b205(0x161)](_0x32b205(0x174),{'allowAttributes':[_0x32b205(0x1ab)]});}[_0x4cdb76(0x169)](){const _0x289e3d=_0x4cdb76,_0x2d6455=this[_0x289e3d(0x19e)];_0x2d6455[_0x289e3d(0x172)][_0x289e3d(0x1a3)](_0x289e3d(0x1a9))[_0x289e3d(0x1a0)]({'model':_0x289e3d(0x1ab),'view':_0x289e3d(0x197)}),_0x2d6455[_0x289e3d(0x172)][_0x289e3d(0x1a3)](_0x289e3d(0x195))[_0x289e3d(0x198)]({'model':{'key':_0x289e3d(0x1ab),'value':_0x231372=>_0x231372[_0x289e3d(0x165)](_0x289e3d(0x197))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x356740=_0x2d6455[_0x289e3d(0x184)][_0x289e3d(0x180)](_0x289e3d(0x15b));_0x356740&&this[_0x289e3d(0x17c)](_0x356740,_0x289e3d(0x189),(_0x16ac4e,[_0x34a7b2,_0x29aac6])=>{const _0x1e5946=_0x289e3d;_0x34a7b2[_0x1e5946(0x1aa)](_0x1e5946(0x1ab),_0x29aac6);});}[_0x4cdb76(0x18b)](){const _0x32b3df=_0x4cdb76,_0x43e7ed=this[_0x32b3df(0x19e)][_0x32b3df(0x1a2)][_0x32b3df(0x180)](_0x32b3df(0x1a6))||{},_0x4dd121=this[_0x32b3df(0x19e)][_0x32b3df(0x1a2)][_0x32b3df(0x180)](_0x32b3df(0x1ac))||'';this[_0x32b3df(0x194)]=_0xd47099(_0x3b3833[_0x32b3df(0x191)],_0x32b3df(0x183),{..._0x43e7ed,'pubkey':_0x4dd121,'ctx-name':_0x32b3df(0x168),'sourceList':'','imgOnly':_0x32b3df(0x164),'removeCopyright':_0x32b3df(0x164),'localeName':this[_0x32b3df(0x19e)][_0x32b3df(0x1a1)][_0x32b3df(0x18f)],'externalSourcesEmbedCss':_0x32b3df(0x15d)}),this[_0x32b3df(0x194)][_0x32b3df(0x17d)]=_0x29b1c0=>{const _0x422d26=_0x32b3df;if(_0x422d26(0x190)==_0x29b1c0)return _0x422d26(0x199);},_0x3b3833[_0x32b3df(0x191)][_0x32b3df(0x1a7)][_0x32b3df(0x19f)](this[_0x32b3df(0x194)]);}[_0x4cdb76(0x16b)](){const _0x1cde97=_0x4cdb76;this[_0x1cde97(0x1a4)]=_0xd47099(_0x3b3833[_0x1cde97(0x191)],_0x1cde97(0x16a),{'ctx-name':_0x1cde97(0x168)}),_0x3b3833[_0x1cde97(0x191)][_0x1cde97(0x1a7)][_0x1cde97(0x19f)](this[_0x1cde97(0x1a4)]);}[_0x4cdb76(0x192)](){const _0x12584=_0x4cdb76,_0x44bf58=this[_0x12584(0x19e)][_0x12584(0x184)][_0x12584(0x180)](_0x12584(0x187));_0x44bf58&&this[_0x12584(0x17c)](_0x44bf58,_0x12584(0x185),()=>{const _0x12097e=_0x12584,_0x9dbf06=this[_0x12097e(0x19e)][_0x12097e(0x175)][_0x12097e(0x191)][_0x12097e(0x163)][_0x12097e(0x16c)]();_0x9dbf06&&_0x9dbf06[_0x12097e(0x165)](_0x12097e(0x1ab))&&this[_0x12097e(0x19e)][_0x12097e(0x167)][_0x12097e(0x19c)][_0x12097e(0x17f)](_0x12097e(0x162),()=>{const _0x73c9d2=_0x12097e;_0x598b5a(this[_0x73c9d2(0x19e)],_0x9dbf06);});});const _0xc73827=this[_0x12584(0x19e)][_0x12584(0x184)][_0x12584(0x180)](_0x12584(0x166));_0xc73827&&this[_0x12584(0x17c)](_0xc73827,_0x12584(0x185),()=>{const _0x308c4d=_0x12584,_0x3dd756=this[_0x308c4d(0x19e)][_0x308c4d(0x175)][_0x308c4d(0x191)][_0x308c4d(0x163)][_0x308c4d(0x16c)]();_0x3dd756&&_0x3dd756[_0x308c4d(0x165)](_0x308c4d(0x1ab))&&this[_0x308c4d(0x19e)][_0x308c4d(0x167)][_0x308c4d(0x19c)][_0x308c4d(0x17f)](_0x308c4d(0x162),()=>{const _0x1539c3=_0x308c4d;_0x598b5a(this[_0x1539c3(0x19e)],_0x3dd756);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2045be,ObservableMixin as _0x24689e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x219ae9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c65b1}from'ckeditor5/src/icons.js';import _0x480c2d from'./uploadcareimageeditformview.js';import _0x263547 from'../../utils/uploadutils.js';import{getImageUrls as _0x4f4c49,getImageDimension as _0x541ac1}from'../../utils/editingutils.js';import{isAncestor as _0x5099a6}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x24689e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3218a5,_0x27ccff,_0xe2582){super(),this['_editor']=_0x3218a5,this['_dialog']=_0x27ccff,this['_imageElement']=_0xe2582,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 _0xeddb41=this['_imageElement'],_0xf74147=_0xeddb41['getAttribute']('uploadcareImageId'),_0x9b47ea=_0xeddb41['getAttribute']('src');if(_0xf74147)await this['_loadImageInfo'](_0xf74147,_0x9b47ea);else{if(this['_imageCache']['has'](_0x9b47ea)){const _0x5097f6=this['_imageCache']['get'](_0x9b47ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5097f6['url'],this['imageDimension']=_0x5097f6['dimension'],this['imageId']=_0x5097f6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x916732}=this['_editor'],t=_0x916732['t'],_0x1daab2=new _0x480c2d(_0x916732,this['imageStatus'],this['_attributes']);_0x1daab2['bind']('status')['to'](this,'imageStatus'),_0x1daab2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1daab2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1daab2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1daab2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4c65b1,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1daab2,'position':_0x219ae9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1daab2['focus']();},'onHide':()=>{_0x1daab2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2bb227=>!_0x5099a6(_0x2bb227,_0x1daab2['element'])}});}['_loadImageInfo'](_0x25c9b8,_0xfe48cf){return _0x263547['getInfo'](_0x25c9b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2c502e=>{const {width:_0x274439,height:_0x5af032}=_0x2c502e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xfe48cf,this['imageDimension']={'width':_0x274439,'height':_0x5af032},this['imageId']=_0x25c9b8;})['catch'](_0x5b0c72=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5b0c72['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x33564b,_0x2e622f){return this['_getImageAsFile'](_0x33564b)['then'](_0x2042a6=>_0x263547['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2e622f['signal'],'file':_0x2042a6,'onProgress':_0x2fc1dd=>{_0x2fc1dd&&_0x2fc1dd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2fc1dd['value']));}}))['then'](_0x4984b6=>{const {width:_0x4350e2,height:_0x462210}=_0x4984b6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4984b6['cdnUrl'],this['imageDimension']={'width':_0x4350e2,'height':_0x462210},this['imageId']=_0x4984b6['uuid'],this['imageUploadProgress']=null;const _0x503533=_0x33564b['getAttribute']('src');this['_imageCache']['set'](_0x503533,{'id':_0x4984b6['uuid'],'url':_0x4984b6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x494d44=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x494d44['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa53a02,_0x5eb087){_0xa53a02['on']('apply',(_0x3f0123,_0x33b039)=>{this['_replaceImage'](_0x5eb087,_0x33b039['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa53a02['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa53a02['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x443377,_0x1fd054,_0x4d4374){const _0x192dd4=this['_editor'],{width:_0x2ab651,height:_0x79d1a3}=_0x541ac1(_0x1fd054,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x195444,imageSources:_0x45df45}=_0x4f4c49(_0x1fd054,_0x2ab651);_0x192dd4['model']['change'](_0xc731ac=>{if('$graveyard'===_0x443377['root']['rootName']){_0x192dd4['execute']('insertImage',{'imageType':_0x443377['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3}});const _0x179688=_0x443377['getChildren']();_0x443377=_0x192dd4['model']['document']['selection']['getSelectedElement']();for(const _0x440517 of _0x179688)_0xc731ac['append'](_0xc731ac['cloneElement'](_0x440517),_0x443377);}else _0xc731ac['setSelection'](_0x443377,'on'),_0x192dd4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x443377['getAttributes']()),'uploadcareImageId':_0x4d4374,'src':_0x195444,'sources':_0x45df45,'width':_0x2ab651,'height':_0x79d1a3},_0x443377);_0xc731ac['setSelection'](_0x443377,'on');});}async['_getImageAsFile'](_0xbd7ef5){const _0x32bebc=_0x2045be['window'],_0x5e23a9=_0x2045be['document']['location']['href'],_0x2cff9a=new _0x32bebc['URL'](_0xbd7ef5['getAttribute']('src'),_0x5e23a9);if('data:'===_0x2cff9a['protocol']){const _0x5388fb=_0x2cff9a['href']['split'](','),_0x15fe68=_0x5388fb[0x0]['match'](/:(.*?);/)[0x1],_0x2a5b22=_0x15fe68['split']('/')[0x1],_0x34f38b=_0x32bebc['atob'](_0x5388fb[_0x5388fb['length']-0x1]);let _0x5ea81a=_0x34f38b['length'];const _0x1a33b5=new _0x32bebc['Uint8Array'](_0x5ea81a);for(;_0x5ea81a--;)_0x1a33b5[_0x5ea81a]=_0x34f38b['charCodeAt'](_0x5ea81a);return new _0x32bebc['File']([_0x1a33b5],'image.'+_0x2a5b22,{'type':_0x15fe68});}const _0x5a7caa=_0x2cff9a['href']['split']('/'),_0x5ab290=_0x5a7caa[_0x5a7caa['length']-0x1],_0x179ed8=_0x5ab290['split']('.')[0x1];return _0x32bebc['fetch'](_0x2cff9a['href'])['then'](_0x5504e6=>_0x5504e6['clone']()['blob']())['then'](_0x548af0=>new _0x32bebc['File']([_0x548af0],_0x5ab290,{'type':'image/'+_0x179ed8}));}}
23
+ import{global as _0x4ed67a,ObservableMixin as _0x156644}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x291d76}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1858bd}from'ckeditor5/src/icons.js';import _0x34711e from'./uploadcareimageeditformview.js';import _0x110d9d from'../../utils/uploadutils.js';import{getImageUrls as _0x2c7f05,getImageDimension as _0x72ef49}from'../../utils/editingutils.js';import{isAncestor as _0x3e9f47}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x156644(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x31cd67,_0x145f8f,_0xce1853){super(),this['_editor']=_0x31cd67,this['_dialog']=_0x145f8f,this['_imageElement']=_0xce1853,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 _0x2f6329=this['_imageElement'],_0x11f07d=_0x2f6329['getAttribute']('uploadcareImageId'),_0x17fb23=_0x2f6329['getAttribute']('src');if(_0x11f07d)await this['_loadImageInfo'](_0x11f07d,_0x17fb23);else{if(this['_imageCache']['has'](_0x17fb23)){const _0x5e9372=this['_imageCache']['get'](_0x17fb23);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e9372['url'],this['imageDimension']=_0x5e9372['dimension'],this['imageId']=_0x5e9372['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5383ca}=this['_editor'],t=_0x5383ca['t'],_0x231b66=new _0x34711e(_0x5383ca,this['imageStatus'],this['_attributes']);_0x231b66['bind']('status')['to'](this,'imageStatus'),_0x231b66['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x231b66['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x231b66['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x231b66,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1858bd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x231b66,'position':_0x291d76['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x231b66['focus']();},'onHide':()=>{_0x231b66['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x166900=>!_0x3e9f47(_0x166900,_0x231b66['element'])}});}['_loadImageInfo'](_0xd75b2,_0x1457cb){return _0x110d9d['getInfo'](_0xd75b2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x7bc881=>{const {width:_0x5deb7f,height:_0xb2893d}=_0x7bc881['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1457cb,this['imageDimension']={'width':_0x5deb7f,'height':_0xb2893d},this['imageId']=_0xd75b2;})['catch'](_0x265751=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x265751['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x273984,_0x1d6fde){return this['_getImageAsFile'](_0x273984)['then'](_0x23e60f=>_0x110d9d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1d6fde['signal'],'file':_0x23e60f,'onProgress':_0x5c72dd=>{_0x5c72dd&&_0x5c72dd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5c72dd['value']));}}))['then'](_0x531b5c=>{const {width:_0x422d94,height:_0x4fde1e}=_0x531b5c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x531b5c['cdnUrl'],this['imageDimension']={'width':_0x422d94,'height':_0x4fde1e},this['imageId']=_0x531b5c['uuid'],this['imageUploadProgress']=null;const _0x87e71f=_0x273984['getAttribute']('src');this['_imageCache']['set'](_0x87e71f,{'id':_0x531b5c['uuid'],'url':_0x531b5c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x23b0e7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x23b0e7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3c68fa,_0xfcbcdf){_0x3c68fa['on']('apply',(_0x4fdc77,_0x3e1851)=>{this['_replaceImage'](_0xfcbcdf,_0x3e1851['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3c68fa['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3c68fa['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x57cb38,_0xef70b,_0x3dd386){const _0x415bb7=this['_editor'],{width:_0x3de2b6,height:_0x385888}=_0x72ef49(_0xef70b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1bf56c,imageSources:_0x4f7443}=_0x2c7f05(_0xef70b,_0x3de2b6);_0x415bb7['model']['change'](_0x1fb224=>{if('$graveyard'===_0x57cb38['root']['rootName']){_0x415bb7['execute']('insertImage',{'imageType':_0x57cb38['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x57cb38['getAttributes']()),'uploadcareImageId':_0x3dd386,'src':_0x1bf56c,'sources':_0x4f7443,'width':_0x3de2b6,'height':_0x385888}});const _0x1c4f51=_0x57cb38['getChildren']();_0x57cb38=_0x415bb7['model']['document']['selection']['getSelectedElement']();for(const _0x46d1cf of _0x1c4f51)_0x1fb224['append'](_0x1fb224['cloneElement'](_0x46d1cf),_0x57cb38);}else _0x1fb224['setSelection'](_0x57cb38,'on'),_0x415bb7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x57cb38['getAttributes']()),'uploadcareImageId':_0x3dd386,'src':_0x1bf56c,'sources':_0x4f7443,'width':_0x3de2b6,'height':_0x385888},_0x57cb38);_0x1fb224['setSelection'](_0x57cb38,'on');});}async['_getImageAsFile'](_0x58946e){const _0x547904=_0x4ed67a['window'],_0x1f9501=_0x4ed67a['document']['location']['href'],_0x24bae7=new _0x547904['URL'](_0x58946e['getAttribute']('src'),_0x1f9501);if('data:'===_0x24bae7['protocol']){const _0x3c70c3=_0x24bae7['href']['split'](','),_0x3e0fac=_0x3c70c3[0x0]['match'](/:(.*?);/)[0x1],_0x447581=_0x3e0fac['split']('/')[0x1],_0x3b1f96=_0x547904['atob'](_0x3c70c3[_0x3c70c3['length']-0x1]);let _0x103d90=_0x3b1f96['length'];const _0x15ce88=new _0x547904['Uint8Array'](_0x103d90);for(;_0x103d90--;)_0x15ce88[_0x103d90]=_0x3b1f96['charCodeAt'](_0x103d90);return new _0x547904['File']([_0x15ce88],'image.'+_0x447581,{'type':_0x3e0fac});}const _0x2b6504=_0x24bae7['href']['split']('/'),_0x283d84=_0x2b6504[_0x2b6504['length']-0x1],_0x58b6ed=_0x283d84['split']('.')[0x1];return _0x547904['fetch'](_0x24bae7['href'])['then'](_0x3e6adf=>_0x3e6adf['clone']()['blob']())['then'](_0x59861b=>new _0x547904['File']([_0x59861b],_0x283d84,{'type':'image/'+_0x58b6ed}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11d2(){const _0x3f548c=['uc-light','uc-cloud-image-editor','2181448LPOwve','imageSrc','setTemplate','510JmWaWg','11349rQlxdG','11xqcSBL','2052114BFDWId','set','7LoBIWz','bindTemplate','ck-uploadcare-theme','36DNLwdl','733340TQwOYM','87063zUyuGc','201529ZhtJUn','image-edit','5047356QPdnSY','2HpfpVS'];_0x11d2=function(){return _0x3f548c;};return _0x11d2();}function _0x5581(_0xf1f335,_0xa95721){const _0x11d28a=_0x11d2();return _0x5581=function(_0x558141,_0x5e7e92){_0x558141=_0x558141-0x101;let _0x528ac7=_0x11d28a[_0x558141];return _0x528ac7;},_0x5581(_0xf1f335,_0xa95721);}(function(_0x56b04d,_0x473898){const _0x4eec6f=_0x5581,_0x4b40c8=_0x56b04d();while(!![]){try{const _0x3d2508=-parseInt(_0x4eec6f(0x101))/0x1*(-parseInt(_0x4eec6f(0x104))/0x2)+parseInt(_0x4eec6f(0x114))/0x3*(parseInt(_0x4eec6f(0x112))/0x4)+parseInt(_0x4eec6f(0x113))/0x5+-parseInt(_0x4eec6f(0x10d))/0x6*(-parseInt(_0x4eec6f(0x10f))/0x7)+-parseInt(_0x4eec6f(0x107))/0x8+parseInt(_0x4eec6f(0x10b))/0x9*(-parseInt(_0x4eec6f(0x10a))/0xa)+-parseInt(_0x4eec6f(0x10c))/0xb*(parseInt(_0x4eec6f(0x103))/0xc);if(_0x3d2508===_0x473898)break;else _0x4b40c8['push'](_0x4b40c8['shift']());}catch(_0x1201cf){_0x4b40c8['push'](_0x4b40c8['shift']());}}}(_0x11d2,0x2f508));import{View as _0x5bf394}from'ckeditor5/src/ui.js';export default class tt extends _0x5bf394{constructor(_0x5396bd,_0x4508cd){const _0x54fd13=_0x5581;super(_0x5396bd);const _0x248e5e=this[_0x54fd13(0x110)];this[_0x54fd13(0x10e)](_0x54fd13(0x108),''),this[_0x54fd13(0x109)]({'tag':_0x54fd13(0x106),'attributes':{..._0x4508cd,'class':[_0x54fd13(0x105),_0x54fd13(0x111)],'ctx-name':_0x54fd13(0x102),'cdn-url':_0x248e5e['to'](_0x54fd13(0x108))}});}}
23
+ function _0x5683(){const _0x64d31d=['829355cUryjk','581273BYaBCc','4845010IUCfYO','136scQRJy','6kdMiNz','uc-light','219FLDZUY','setTemplate','imageSrc','87324NGYkGb','277452SdgHdF','10859769VsaGuy','517qzCBgt','set','166gOHVvS','bindTemplate','ck-uploadcare-theme','5854LnBGJd','image-edit','uc-cloud-image-editor'];_0x5683=function(){return _0x64d31d;};return _0x5683();}function _0x432e(_0x3aeee8,_0x355d53){const _0x56832b=_0x5683();return _0x432e=function(_0x432ef6,_0x3d6bf9){_0x432ef6=_0x432ef6-0x1cc;let _0x498283=_0x56832b[_0x432ef6];return _0x498283;},_0x432e(_0x3aeee8,_0x355d53);}(function(_0x3cf487,_0x255074){const _0x17ca23=_0x432e,_0xbb0339=_0x3cf487();while(!![]){try{const _0x505577=parseInt(_0x17ca23(0x1d3))/0x1*(-parseInt(_0x17ca23(0x1d0))/0x2)+parseInt(_0x17ca23(0x1dc))/0x3*(parseInt(_0x17ca23(0x1df))/0x4)+-parseInt(_0x17ca23(0x1d6))/0x5*(-parseInt(_0x17ca23(0x1da))/0x6)+-parseInt(_0x17ca23(0x1d7))/0x7*(-parseInt(_0x17ca23(0x1d9))/0x8)+-parseInt(_0x17ca23(0x1cd))/0x9+parseInt(_0x17ca23(0x1d8))/0xa+-parseInt(_0x17ca23(0x1ce))/0xb*(parseInt(_0x17ca23(0x1cc))/0xc);if(_0x505577===_0x255074)break;else _0xbb0339['push'](_0xbb0339['shift']());}catch(_0x2f2d63){_0xbb0339['push'](_0xbb0339['shift']());}}}(_0x5683,0xd5fc8));import{View as _0x426631}from'ckeditor5/src/ui.js';export default class tt extends _0x426631{constructor(_0x541198,_0x528057){const _0xb18b3b=_0x432e;super(_0x541198);const _0x55b1bd=this[_0xb18b3b(0x1d1)];this[_0xb18b3b(0x1cf)](_0xb18b3b(0x1de),''),this[_0xb18b3b(0x1dd)]({'tag':_0xb18b3b(0x1d5),'attributes':{..._0x528057,'class':[_0xb18b3b(0x1db),_0xb18b3b(0x1d2)],'ctx-name':_0xb18b3b(0x1d4),'cdn-url':_0x55b1bd['to'](_0xb18b3b(0x1de))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x141e56,IconView as at,View as _0xc4fb45}from'ckeditor5/src/ui.js';export default class rt extends _0xc4fb45{constructor(_0x3f4184){super(_0x3f4184);const t=_0x3f4184['t'];this['set']('errorType',null);const _0x60e2e0=new _0x141e56(_0x3f4184);_0x60e2e0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x60e2e0['withText']=!0x0,_0x60e2e0['class']='ck-button-action',_0x60e2e0['on']('execute',()=>{this['fire']('retry');}),_0x60e2e0['bind']('isVisible')['to'](this,'errorType',_0x42b29e=>'NotFound'!==_0x42b29e);const _0x4a182a=new at();_0x4a182a['content']=et,_0x4a182a['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35f951=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':[_0x4a182a,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35f951['to']('errorType',_0x54bf50=>t('NotFound'!==_0x54bf50?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x60e2e0]},{'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 _0x4a15df,IconView as at,View as _0x2952f8}from'ckeditor5/src/ui.js';export default class rt extends _0x2952f8{constructor(_0x3904d6){super(_0x3904d6);const t=_0x3904d6['t'];this['set']('errorType',null);const _0x51f467=new _0x4a15df(_0x3904d6);_0x51f467['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x51f467['withText']=!0x0,_0x51f467['class']='ck-button-action',_0x51f467['on']('execute',()=>{this['fire']('retry');}),_0x51f467['bind']('isVisible')['to'](this,'errorType',_0x331031=>'NotFound'!==_0x331031);const _0x1b1c0e=new at();_0x1b1c0e['content']=et,_0x1b1c0e['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x306241=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':[_0x1b1c0e,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x306241['to']('errorType',_0x3ed21d=>t('NotFound'!==_0x3ed21d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x51f467]},{'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 _0x5d3daf,View as _0x440633}from'ckeditor5/src/ui.js';export default class ta extends _0x440633{constructor(_0x7d7428){super(_0x7d7428);const t=_0x7d7428['t'],_0x146d68=this['bindTemplate'],_0x2f11fc=new _0x5d3daf();_0x2f11fc['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':[_0x2f11fc,{'text':_0x146d68['to']('imageUploadProgress',_0x50f875=>t('Loading\x20image...')+'\x20('+(_0x50f875||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 _0x13b255,View as _0x162250}from'ckeditor5/src/ui.js';export default class ta extends _0x162250{constructor(_0x5d364f){super(_0x5d364f);const t=_0x5d364f['t'],_0x3dcbc1=this['bindTemplate'],_0x3dbaa1=new _0x13b255();_0x3dbaa1['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':[_0x3dbaa1,{'text':_0x3dcbc1['to']('imageUploadProgress',_0x105e22=>t('Loading\x20image...')+'\x20('+(_0x105e22||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 _0x1ac4f4=_0x28aa;(function(_0x2d9867,_0x2e69b6){const _0x2284e3=_0x28aa,_0x57dfe6=_0x2d9867();while(!![]){try{const _0x39d1a1=parseInt(_0x2284e3(0x1a2))/0x1*(parseInt(_0x2284e3(0x1bc))/0x2)+-parseInt(_0x2284e3(0x1a1))/0x3*(parseInt(_0x2284e3(0x1bb))/0x4)+-parseInt(_0x2284e3(0x1cc))/0x5*(-parseInt(_0x2284e3(0x1c3))/0x6)+-parseInt(_0x2284e3(0x1af))/0x7*(parseInt(_0x2284e3(0x1cb))/0x8)+-parseInt(_0x2284e3(0x1a8))/0x9+parseInt(_0x2284e3(0x1b6))/0xa+parseInt(_0x2284e3(0x1ad))/0xb*(-parseInt(_0x2284e3(0x19f))/0xc);if(_0x39d1a1===_0x2e69b6)break;else _0x57dfe6['push'](_0x57dfe6['shift']());}catch(_0x35a5a7){_0x57dfe6['push'](_0x57dfe6['shift']());}}}(_0x28f2,0x82f0b));function _0x28aa(_0x1d257e,_0x4a95c3){const _0x28f2a5=_0x28f2();return _0x28aa=function(_0x28aae1,_0x3e7d98){_0x28aae1=_0x28aae1-0x194;let _0x37c553=_0x28f2a5[_0x28aae1];return _0x37c553;},_0x28aa(_0x1d257e,_0x4a95c3);}import{View as _0x25add9}from'ckeditor5/src/ui.js';function _0x28f2(){const _0xb117=['fire','element','target','270012Mpgzje','set','135TTuWxV','210779GqvgUn','_items','disconnect','_errorView','detail','ck-reset_all-excluded','931050iClkxh','once','retry','add','_loadingView','22OWZVSw','setTemplate','7peQMNS','_setView','change:status','_editingView','querySelector','toLowerCase','status','5092520jkJMvi','ck-uploadcare-form','apply','cancel','uc-cloud-image-editor','41908YOVLYX','6WpMaHw','render','cdnUrl','uploading','ready','observe','nodeName','6bEftFj','clear','_addErrorViewListeners','focus','_addUploadcareImageEditorListeners','_waitForImageEditorComponent','addedNodes','div','7177184nxhYIW','4559035zCQzSy','error','addEventListener','_focusableView','getFocusableElement','length','filter','createCollection','addMany'];_0x28f2=function(){return _0xb117;};return _0x28f2();}import _0x2d5bf5 from'./uploadcareimageeditformloadingview.js';import _0x3fac18 from'./uploadcareimageeditformerrorview.js';import _0x4ec107 from'./uploadcareimageeditformeditingview.js';import _0x134729 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x134729{[_0x1ac4f4(0x1a3)];[_0x1ac4f4(0x1ac)];[_0x1ac4f4(0x1a5)];[_0x1ac4f4(0x1b2)];[_0x1ac4f4(0x196)];constructor(_0x249d3a,_0xcd2a4a,_0x49200e){const _0x4a46d5=_0x1ac4f4;super(_0x249d3a),this[_0x4a46d5(0x1a3)]=this[_0x4a46d5(0x19a)](),this[_0x4a46d5(0x1ac)]=new _0x2d5bf5(_0x249d3a),this[_0x4a46d5(0x1a5)]=new _0x3fac18(_0x249d3a),this[_0x4a46d5(0x1b2)]=new _0x4ec107(_0x249d3a,_0x49200e),this[_0x4a46d5(0x196)]=new _0x25add9(_0x249d3a),this[_0x4a46d5(0x196)][_0x4a46d5(0x1ae)](this[_0x4a46d5(0x197)]()),this[_0x4a46d5(0x1a0)](_0x4a46d5(0x1b5),_0xcd2a4a),this[_0x4a46d5(0x1ae)]({'tag':_0x4a46d5(0x1ca),'attributes':{'class':['ck',_0x4a46d5(0x1a7),_0x4a46d5(0x1b7)],'tabindex':'-1'},'children':this[_0x4a46d5(0x1a3)]}),this[_0x4a46d5(0x1b0)](),this[_0x4a46d5(0x1a9)](_0x4a46d5(0x1bd),()=>{const _0x1445c3=_0x4a46d5;this[_0x1445c3(0x1c8)](this[_0x1445c3(0x19d)],_0x2c360c=>{const _0xb2a503=_0x1445c3;this[_0xb2a503(0x1c7)](_0x2c360c);});}),this['on'](_0x4a46d5(0x1b1),()=>{const _0x1986c8=_0x4a46d5;this[_0x1986c8(0x1b0)]();}),this[_0x4a46d5(0x1c5)]();}[_0x1ac4f4(0x1c6)](){const _0x310c8a=_0x1ac4f4;this[_0x310c8a(0x19d)][_0x310c8a(0x1c6)]();}[_0x1ac4f4(0x1b0)](){const _0x28b059=_0x1ac4f4;switch(this[_0x28b059(0x1a3)][_0x28b059(0x1c4)](),this[_0x28b059(0x1b5)]){case _0x28b059(0x1bf):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1ac)]);break;case _0x28b059(0x194):this[_0x28b059(0x1a3)][_0x28b059(0x1ab)](this[_0x28b059(0x1a5)]);break;case _0x28b059(0x1c0):this[_0x28b059(0x1a3)][_0x28b059(0x19b)]([this[_0x28b059(0x1b2)],this[_0x28b059(0x196)]]);}}[_0x1ac4f4(0x1c8)](_0x59e22d,_0x4fe33b){const _0x5848f9=_0x1ac4f4,_0x4b6b0e=_0x5848f9(0x1ba),_0x511c1a=_0x59e22d[_0x5848f9(0x1b3)](_0x4b6b0e);if(_0x511c1a)return _0x4fe33b(_0x511c1a);const _0x4e0bd0=new MutationObserver(_0x500cc8=>{const _0x51391e=_0x5848f9,_0x1bddb1=_0x500cc8[_0x51391e(0x199)](_0x37bc47=>_0x37bc47[_0x51391e(0x19e)]===_0x59e22d&&_0x37bc47[_0x51391e(0x1c9)][_0x51391e(0x198)]>0x0&&_0x37bc47[_0x51391e(0x1c9)][0x0][_0x51391e(0x1c2)][_0x51391e(0x1b4)]()===_0x4b6b0e);_0x1bddb1[_0x51391e(0x198)]&&(_0x4e0bd0[_0x51391e(0x1a4)](),_0x4fe33b(_0x1bddb1[0x0][_0x51391e(0x1c9)][0x0]));});_0x4e0bd0[_0x5848f9(0x1c1)](_0x59e22d,{'childList':!0x0,'subtree':!0x0});}[_0x1ac4f4(0x1c7)](_0x3a7748){const _0x5a3064=_0x1ac4f4;_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b8),_0x2ec895=>{const _0x50a6c7=_0x5a3064;this[_0x50a6c7(0x19c)](_0x50a6c7(0x1b8),{'imageSrc':_0x2ec895[_0x50a6c7(0x1a6)][_0x50a6c7(0x1be)]});}),_0x3a7748[_0x5a3064(0x195)](_0x5a3064(0x1b9),()=>{const _0x586130=_0x5a3064;this[_0x586130(0x19c)](_0x586130(0x1b9));});}[_0x1ac4f4(0x1c5)](){const _0x595d57=_0x1ac4f4;this[_0x595d57(0x1a5)]['on'](_0x595d57(0x1aa),()=>{const _0x10c6f=_0x595d57;this[_0x10c6f(0x19c)](_0x10c6f(0x1aa));});}}
23
+ const _0x16900f=_0x2e47;function _0x45a5(){const _0x368b53=['status','718336MlTtKT','_addErrorViewListeners','div','ck-reset_all-excluded','_waitForImageEditorComponent','focus','_errorView','ck-uploadcare-form','_addUploadcareImageEditorListeners','1215890OOnAJR','render','disconnect','_editingView','ready','addMany','nodeName','length','target','observe','getFocusableElement','846wFSXMr','_setView','_loadingView','25880zTFkqO','232805tWfHbH','_items','error','_focusableView','createCollection','retry','cancel','cdnUrl','fire','detail','toLowerCase','41336YdxAAE','setTemplate','apply','element','addEventListener','uc-cloud-image-editor','21IlGGWE','6XxMuQP','1022636LFPnzX','querySelector','addedNodes','filter','change:status','once','set','add','uploading','4979315GAWdsH','12jBKMzH','clear'];_0x45a5=function(){return _0x368b53;};return _0x45a5();}(function(_0x1f8280,_0x3afdcd){const _0x15cc12=_0x2e47,_0x553445=_0x1f8280();while(!![]){try{const _0x3746e2=-parseInt(_0x15cc12(0x141))/0x1+-parseInt(_0x15cc12(0x14c))/0x2*(-parseInt(_0x15cc12(0x126))/0x3)+-parseInt(_0x15cc12(0x154))/0x4+-parseInt(_0x15cc12(0x132))/0x5*(-parseInt(_0x15cc12(0x153))/0x6)+parseInt(_0x15cc12(0x152))/0x7*(-parseInt(_0x15cc12(0x129))/0x8)+parseInt(_0x15cc12(0x13d))/0x9*(parseInt(_0x15cc12(0x140))/0xa)+parseInt(_0x15cc12(0x125))/0xb;if(_0x3746e2===_0x3afdcd)break;else _0x553445['push'](_0x553445['shift']());}catch(_0x519dfa){_0x553445['push'](_0x553445['shift']());}}}(_0x45a5,0x4070b));import{View as _0x4544c5}from'ckeditor5/src/ui.js';import _0x4996ae from'./uploadcareimageeditformloadingview.js';import _0x1c995f from'./uploadcareimageeditformerrorview.js';import _0x4475d8 from'./uploadcareimageeditformeditingview.js';import _0x3e833e from'../../utils/dialogfocusmanagerview.js';function _0x2e47(_0x34c29b,_0x154e0f){const _0x45a5ca=_0x45a5();return _0x2e47=function(_0x2e479,_0x33a330){_0x2e479=_0x2e479-0x120;let _0x53edf5=_0x45a5ca[_0x2e479];return _0x53edf5;},_0x2e47(_0x34c29b,_0x154e0f);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x3e833e{[_0x16900f(0x142)];[_0x16900f(0x13f)];[_0x16900f(0x12f)];[_0x16900f(0x135)];[_0x16900f(0x144)];constructor(_0x10a2e9,_0x5825c,_0x1729ea){const _0x34f5c6=_0x16900f;super(_0x10a2e9),this[_0x34f5c6(0x142)]=this[_0x34f5c6(0x145)](),this[_0x34f5c6(0x13f)]=new _0x4996ae(_0x10a2e9),this[_0x34f5c6(0x12f)]=new _0x1c995f(_0x10a2e9),this[_0x34f5c6(0x135)]=new _0x4475d8(_0x10a2e9,_0x1729ea),this[_0x34f5c6(0x144)]=new _0x4544c5(_0x10a2e9),this[_0x34f5c6(0x144)][_0x34f5c6(0x14d)](this[_0x34f5c6(0x13c)]()),this[_0x34f5c6(0x122)](_0x34f5c6(0x128),_0x5825c),this[_0x34f5c6(0x14d)]({'tag':_0x34f5c6(0x12b),'attributes':{'class':['ck',_0x34f5c6(0x12c),_0x34f5c6(0x130)],'tabindex':'-1'},'children':this[_0x34f5c6(0x142)]}),this[_0x34f5c6(0x13e)](),this[_0x34f5c6(0x121)](_0x34f5c6(0x133),()=>{const _0x3c54b4=_0x34f5c6;this[_0x3c54b4(0x12d)](this[_0x3c54b4(0x14f)],_0x57d259=>{const _0x24c082=_0x3c54b4;this[_0x24c082(0x131)](_0x57d259);});}),this['on'](_0x34f5c6(0x120),()=>{const _0x2d364c=_0x34f5c6;this[_0x2d364c(0x13e)]();}),this[_0x34f5c6(0x12a)]();}[_0x16900f(0x12e)](){const _0x486c4d=_0x16900f;this[_0x486c4d(0x14f)][_0x486c4d(0x12e)]();}[_0x16900f(0x13e)](){const _0x161129=_0x16900f;switch(this[_0x161129(0x142)][_0x161129(0x127)](),this[_0x161129(0x128)]){case _0x161129(0x124):this[_0x161129(0x142)][_0x161129(0x123)](this[_0x161129(0x13f)]);break;case _0x161129(0x143):this[_0x161129(0x142)][_0x161129(0x123)](this[_0x161129(0x12f)]);break;case _0x161129(0x136):this[_0x161129(0x142)][_0x161129(0x137)]([this[_0x161129(0x135)],this[_0x161129(0x144)]]);}}[_0x16900f(0x12d)](_0x123ff5,_0xf0257f){const _0x5a4b3e=_0x16900f,_0x3d9041=_0x5a4b3e(0x151),_0x5f30aa=_0x123ff5[_0x5a4b3e(0x155)](_0x3d9041);if(_0x5f30aa)return _0xf0257f(_0x5f30aa);const _0x4757db=new MutationObserver(_0x40a3da=>{const _0x3d108a=_0x5a4b3e,_0x343f0d=_0x40a3da[_0x3d108a(0x157)](_0x35c868=>_0x35c868[_0x3d108a(0x13a)]===_0x123ff5&&_0x35c868[_0x3d108a(0x156)][_0x3d108a(0x139)]>0x0&&_0x35c868[_0x3d108a(0x156)][0x0][_0x3d108a(0x138)][_0x3d108a(0x14b)]()===_0x3d9041);_0x343f0d[_0x3d108a(0x139)]&&(_0x4757db[_0x3d108a(0x134)](),_0xf0257f(_0x343f0d[0x0][_0x3d108a(0x156)][0x0]));});_0x4757db[_0x5a4b3e(0x13b)](_0x123ff5,{'childList':!0x0,'subtree':!0x0});}[_0x16900f(0x131)](_0x4d1ab7){const _0x323738=_0x16900f;_0x4d1ab7[_0x323738(0x150)](_0x323738(0x14e),_0x28351b=>{const _0x1242cf=_0x323738;this[_0x1242cf(0x149)](_0x1242cf(0x14e),{'imageSrc':_0x28351b[_0x1242cf(0x14a)][_0x1242cf(0x148)]});}),_0x4d1ab7[_0x323738(0x150)](_0x323738(0x147),()=>{const _0x87d9ab=_0x323738;this[_0x87d9ab(0x149)](_0x87d9ab(0x147));});}[_0x16900f(0x12a)](){const _0x43c415=_0x16900f;this[_0x43c415(0x12f)]['on'](_0x43c415(0x146),()=>{const _0x50e5d4=_0x43c415;this[_0x50e5d4(0x149)](_0x50e5d4(0x146));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x330fa9=_0x3449;(function(_0x16ffcf,_0x54a7e4){const _0x2f1dac=_0x3449,_0x1cb48b=_0x16ffcf();while(!![]){try{const _0x3a8f2d=parseInt(_0x2f1dac(0x1f5))/0x1*(-parseInt(_0x2f1dac(0x1ff))/0x2)+parseInt(_0x2f1dac(0x1fe))/0x3+-parseInt(_0x2f1dac(0x200))/0x4+-parseInt(_0x2f1dac(0x1e9))/0x5+-parseInt(_0x2f1dac(0x1fd))/0x6*(parseInt(_0x2f1dac(0x1f2))/0x7)+parseInt(_0x2f1dac(0x1f3))/0x8+parseInt(_0x2f1dac(0x1fa))/0x9;if(_0x3a8f2d===_0x54a7e4)break;else _0x1cb48b['push'](_0x1cb48b['shift']());}catch(_0x1f581a){_0x1cb48b['push'](_0x1cb48b['shift']());}}}(_0x53c4,0x1ab86));import{Command as _0xe73a27}from'ckeditor5/src/core.js';import{Dialog as _0x8dbe7b}from'ckeditor5/src/ui.js';import _0x4821e2 from'./ui/uploadcareimageeditcontroller.js';function _0x53c4(){const _0x1b2e28=['bind','execute','document','_isEditable','imageEditController','plugins','413uCYHkn','1269992xqaIRa','config','503gycAOr','isEnabled','get','set','uploadcare.allowExternalImagesEditing','3016224TcWqJk','element','imageBlock','9258sBnKmW','88083GSpIGB','666eNOywA','484864RlbLXv','unbind','imageInline','requires','selection','editor','model','getSelectedElement','170240VQYjMo','isActive','refresh'];_0x53c4=function(){return _0x1b2e28;};return _0x53c4();}function _0x3449(_0x5cdc6f,_0x3d5742){const _0x53c4e1=_0x53c4();return _0x3449=function(_0x3449a6,_0xae34b4){_0x3449a6=_0x3449a6-0x1e2;let _0x39df03=_0x53c4e1[_0x3449a6];return _0x39df03;},_0x3449(_0x5cdc6f,_0x3d5742);}import{createEditabilityChecker as _0x1fb271}from'../utils/editingutils.js';export default class J extends _0xe73a27{[_0x330fa9(0x1f0)];static get[_0x330fa9(0x1e4)](){return[_0x8dbe7b];}[_0x330fa9(0x1ef)];constructor(_0x483288){const _0x558d01=_0x330fa9;super(_0x483288),this[_0x558d01(0x1f0)]=void 0x0,this[_0x558d01(0x1ef)]=_0x1fb271(_0x483288[_0x558d01(0x1f4)][_0x558d01(0x1f7)](_0x558d01(0x1f9))||[]),this[_0x558d01(0x1f8)]({'isActive':!0x1});}[_0x330fa9(0x1eb)](){const _0x546015=_0x330fa9,_0x1c1dcd=this[_0x546015(0x1e6)][_0x546015(0x1e7)][_0x546015(0x1ee)][_0x546015(0x1e5)][_0x546015(0x1e8)]();this[_0x546015(0x1f6)]=this[_0x546015(0x1ef)](_0x1c1dcd);}[_0x330fa9(0x1ed)](){const _0x2afa81=_0x330fa9;this[_0x2afa81(0x1f0)]&&(this[_0x2afa81(0x1e2)](_0x2afa81(0x1ea)),this[_0x2afa81(0x1f0)]=void 0x0);const _0x1bb475=this[_0x2afa81(0x1e6)][_0x2afa81(0x1e7)][_0x2afa81(0x1ee)][_0x2afa81(0x1e5)][_0x2afa81(0x1e8)]();_0x1bb475&&(_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1fc))||_0x1bb475['is'](_0x2afa81(0x1fb),_0x2afa81(0x1e3)))&&(this[_0x2afa81(0x1f0)]=new _0x4821e2(this[_0x2afa81(0x1e6)],this[_0x2afa81(0x1e6)][_0x2afa81(0x1f1)][_0x2afa81(0x1f7)](_0x8dbe7b),_0x1bb475),this[_0x2afa81(0x1ec)](_0x2afa81(0x1ea))['to'](this[_0x2afa81(0x1f0)],_0x2afa81(0x1ea)));}}
23
+ function _0x52fd(_0x5a23f0,_0x32ec77){const _0x59ac5e=_0x59ac();return _0x52fd=function(_0x52fdc4,_0x3579a0){_0x52fdc4=_0x52fdc4-0x9b;let _0x35810e=_0x59ac5e[_0x52fdc4];return _0x35810e;},_0x52fd(_0x5a23f0,_0x32ec77);}const _0x4e7c6b=_0x52fd;(function(_0xcc4b7,_0x334f4a){const _0x5ac79d=_0x52fd,_0x174d09=_0xcc4b7();while(!![]){try{const _0x13a696=-parseInt(_0x5ac79d(0xa4))/0x1+parseInt(_0x5ac79d(0x9e))/0x2*(-parseInt(_0x5ac79d(0xb6))/0x3)+-parseInt(_0x5ac79d(0xa0))/0x4+parseInt(_0x5ac79d(0xa2))/0x5+-parseInt(_0x5ac79d(0xba))/0x6+-parseInt(_0x5ac79d(0xa3))/0x7*(parseInt(_0x5ac79d(0xb0))/0x8)+-parseInt(_0x5ac79d(0xab))/0x9*(-parseInt(_0x5ac79d(0xa7))/0xa);if(_0x13a696===_0x334f4a)break;else _0x174d09['push'](_0x174d09['shift']());}catch(_0x3248d8){_0x174d09['push'](_0x174d09['shift']());}}}(_0x59ac,0x2fa66));import{Command as _0x21eb2c}from'ckeditor5/src/core.js';import{Dialog as _0x152c47}from'ckeditor5/src/ui.js';function _0x59ac(){const _0x5ba113=['document','94MGMCYo','isActive','105500uVdYJA','editor','480385WBafEE','7ytBcQo','150266PNvRCb','imageInline','unbind','10327570jOFbEc','bind','imageBlock','requires','9QYiaiQ','config','plugins','isEnabled','model','1164488gWPkvA','refresh','execute','uploadcare.allowExternalImagesEditing','selection','getSelectedElement','18108VmLWRT','set','_isEditable','get','1966596zzyRaG','imageEditController','element'];_0x59ac=function(){return _0x5ba113;};return _0x59ac();}import _0x47630b from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3e61b7}from'../utils/editingutils.js';export default class J extends _0x21eb2c{[_0x4e7c6b(0x9b)];static get[_0x4e7c6b(0xaa)](){return[_0x152c47];}[_0x4e7c6b(0xb8)];constructor(_0x5ba039){const _0x2ce5de=_0x4e7c6b;super(_0x5ba039),this[_0x2ce5de(0x9b)]=void 0x0,this[_0x2ce5de(0xb8)]=_0x3e61b7(_0x5ba039[_0x2ce5de(0xac)][_0x2ce5de(0xb9)](_0x2ce5de(0xb3))||[]),this[_0x2ce5de(0xb7)]({'isActive':!0x1});}[_0x4e7c6b(0xb1)](){const _0x271cf3=_0x4e7c6b,_0x497b19=this[_0x271cf3(0xa1)][_0x271cf3(0xaf)][_0x271cf3(0x9d)][_0x271cf3(0xb4)][_0x271cf3(0xb5)]();this[_0x271cf3(0xae)]=this[_0x271cf3(0xb8)](_0x497b19);}[_0x4e7c6b(0xb2)](){const _0x4c6444=_0x4e7c6b;this[_0x4c6444(0x9b)]&&(this[_0x4c6444(0xa6)](_0x4c6444(0x9f)),this[_0x4c6444(0x9b)]=void 0x0);const _0x3d9e9c=this[_0x4c6444(0xa1)][_0x4c6444(0xaf)][_0x4c6444(0x9d)][_0x4c6444(0xb4)][_0x4c6444(0xb5)]();_0x3d9e9c&&(_0x3d9e9c['is'](_0x4c6444(0x9c),_0x4c6444(0xa9))||_0x3d9e9c['is'](_0x4c6444(0x9c),_0x4c6444(0xa5)))&&(this[_0x4c6444(0x9b)]=new _0x47630b(this[_0x4c6444(0xa1)],this[_0x4c6444(0xa1)][_0x4c6444(0xad)][_0x4c6444(0xb9)](_0x152c47),_0x3d9e9c),this[_0x4c6444(0xa8)](_0x4c6444(0x9f))['to'](this[_0x4c6444(0x9b)],_0x4c6444(0x9f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xac556a=_0x4cc2;function _0x4036(){const _0x1352fa=['add','init','2088093PdcDjt','3215230XDwxFn','20gqWzvj','937524jTgvfB','pluginName','2whulpN','UploadcareImageEditEditing','2345568HzysBx','uploadcareImageReplace','uploadcareImageEdit','220140XYyrQA','15253ZXZrzc','isPremiumPlugin','1578HuWxao','ImageUtils','requires','isOfficialPlugin','11160846dzuiQz','commands','ImageEditing'];_0x4036=function(){return _0x1352fa;};return _0x4036();}(function(_0x3b07d1,_0x1493bf){const _0x1036fb=_0x4cc2,_0x4c0b0e=_0x3b07d1();while(!![]){try{const _0x2f00e3=-parseInt(_0x1036fb(0x18e))/0x1*(parseInt(_0x1036fb(0x18c))/0x2)+parseInt(_0x1036fb(0x189))/0x3+parseInt(_0x1036fb(0x193))/0x4*(parseInt(_0x1036fb(0x18b))/0x5)+parseInt(_0x1036fb(0x180))/0x6*(-parseInt(_0x1036fb(0x194))/0x7)+-parseInt(_0x1036fb(0x190))/0x8+parseInt(_0x1036fb(0x184))/0x9+parseInt(_0x1036fb(0x18a))/0xa;if(_0x2f00e3===_0x1493bf)break;else _0x4c0b0e['push'](_0x4c0b0e['shift']());}catch(_0x530499){_0x4c0b0e['push'](_0x4c0b0e['shift']());}}}(_0x4036,0xa48c7));import{Plugin as _0x148599}from'ckeditor5/src/core.js';import{Notification as _0x24181b}from'ckeditor5/src/ui.js';import _0x27b5ae from'./uploadcareimageeditcommand.js';import _0x5e91ba from'./uploadcareimagereplacecommand.js';import _0x547b38 from'../uploadcareediting.js';function _0x4cc2(_0x2e9adc,_0x24f817){const _0x4036d2=_0x4036();return _0x4cc2=function(_0x4cc265,_0x1476c1){_0x4cc265=_0x4cc265-0x180;let _0x180a81=_0x4036d2[_0x4cc265];return _0x180a81;},_0x4cc2(_0x2e9adc,_0x24f817);}export default class g extends _0x148599{static get[_0xac556a(0x18d)](){const _0x46ba23=_0xac556a;return _0x46ba23(0x18f);}static get[_0xac556a(0x182)](){const _0x38ad7f=_0xac556a;return[_0x547b38,_0x24181b,_0x38ad7f(0x181),_0x38ad7f(0x186)];}static get[_0xac556a(0x183)](){return!0x0;}static get[_0xac556a(0x195)](){return!0x0;}[_0xac556a(0x188)](){const _0x86f9e0=_0xac556a,{editor:_0x10f43a}=this;_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x192),new _0x27b5ae(_0x10f43a)),_0x10f43a[_0x86f9e0(0x185)][_0x86f9e0(0x187)](_0x86f9e0(0x191),new _0x5e91ba(_0x10f43a));}}
23
+ const _0x4a03e0=_0x3871;(function(_0x48c0f9,_0x299186){const _0x4b55a1=_0x3871,_0x22c8bb=_0x48c0f9();while(!![]){try{const _0xf4cef2=parseInt(_0x4b55a1(0x124))/0x1+-parseInt(_0x4b55a1(0x12e))/0x2*(parseInt(_0x4b55a1(0x11f))/0x3)+parseInt(_0x4b55a1(0x12f))/0x4+-parseInt(_0x4b55a1(0x120))/0x5+parseInt(_0x4b55a1(0x12d))/0x6*(-parseInt(_0x4b55a1(0x11e))/0x7)+-parseInt(_0x4b55a1(0x122))/0x8*(parseInt(_0x4b55a1(0x127))/0x9)+-parseInt(_0x4b55a1(0x123))/0xa*(-parseInt(_0x4b55a1(0x125))/0xb);if(_0xf4cef2===_0x299186)break;else _0x22c8bb['push'](_0x22c8bb['shift']());}catch(_0x14096a){_0x22c8bb['push'](_0x22c8bb['shift']());}}}(_0x2d3a,0x9169f));import{Plugin as _0x58ed01}from'ckeditor5/src/core.js';import{Notification as _0x544853}from'ckeditor5/src/ui.js';import _0xd3d15d from'./uploadcareimageeditcommand.js';import _0x2f98c6 from'./uploadcareimagereplacecommand.js';function _0x2d3a(){const _0x5a6e80=['ImageUtils','uploadcareImageReplace','requires','add','315PtJRAV','759afBYuh','5498600RmDzWs','isOfficialPlugin','433240Gwyfah','5919010OjqRTG','969699mJpgas','33YESoNF','UploadcareImageEditEditing','144ttXwXi','init','pluginName','uploadcareImageEdit','ImageEditing','isPremiumPlugin','58614qhwJIi','382ElXWUT','1217364tdRibs','commands'];_0x2d3a=function(){return _0x5a6e80;};return _0x2d3a();}import _0x500c22 from'../uploadcareediting.js';function _0x3871(_0x26f3dc,_0x2a50c3){const _0x2d3a54=_0x2d3a();return _0x3871=function(_0x387169,_0x17307b){_0x387169=_0x387169-0x119;let _0x318263=_0x2d3a54[_0x387169];return _0x318263;},_0x3871(_0x26f3dc,_0x2a50c3);}export default class g extends _0x58ed01{static get[_0x4a03e0(0x129)](){const _0x51312c=_0x4a03e0;return _0x51312c(0x126);}static get[_0x4a03e0(0x11c)](){const _0x448ed6=_0x4a03e0;return[_0x500c22,_0x544853,_0x448ed6(0x11a),_0x448ed6(0x12b)];}static get[_0x4a03e0(0x121)](){return!0x0;}static get[_0x4a03e0(0x12c)](){return!0x0;}[_0x4a03e0(0x128)](){const _0x4b19a0=_0x4a03e0,{editor:_0x2a6610}=this;_0x2a6610[_0x4b19a0(0x119)][_0x4b19a0(0x11d)](_0x4b19a0(0x12a),new _0xd3d15d(_0x2a6610)),_0x2a6610[_0x4b19a0(0x119)][_0x4b19a0(0x11d)](_0x4b19a0(0x11b),new _0x2f98c6(_0x2a6610));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x10a930}from'ckeditor5/src/core.js';import{ButtonView as _0x2a833a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4a1012}from'ckeditor5/src/icons.js';import{createElement as _0x5798c4}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 _0x10a930{['_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 _0x15a312=this['editor'];_0x15a312['ui']['componentFactory']['add']('uploadcareImageEdit',_0x153fa1=>{const _0x1b4b31=_0x15a312['commands']['get']('uploadcareImageEdit'),_0xba0fa4=new _0x2a833a(_0x153fa1),t=_0x153fa1['t'];return _0xba0fa4['set']({'icon':_0x4a1012,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xba0fa4['bind']('isEnabled')['to'](_0x1b4b31),_0xba0fa4['bind']('isOn')['to'](_0x1b4b31,'isActive'),this['listenTo'](_0xba0fa4,'execute',()=>{_0x15a312['execute']('uploadcareImageEdit'),_0x15a312['editing']['view']['focus']();}),_0xba0fa4;}),this['_initConfig']();}['_initConfig'](){const _0x2c7aee=_0x5798c4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2c7aee),this['listenTo'](this['editor'],'destroy',()=>{_0x2c7aee['remove']();});}}
23
+ import{Plugin as _0x531b9f}from'ckeditor5/src/core.js';import{ButtonView as _0xaa78af}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x46ec66}from'ckeditor5/src/icons.js';import{createElement as _0x27cb20}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 _0x531b9f{['_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 _0x50d197=this['editor'];_0x50d197['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2e4ff2=>{const _0x34aeac=_0x50d197['commands']['get']('uploadcareImageEdit'),_0x1cf6b8=new _0xaa78af(_0x2e4ff2),t=_0x2e4ff2['t'];return _0x1cf6b8['set']({'icon':_0x46ec66,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1cf6b8['bind']('isEnabled')['to'](_0x34aeac),_0x1cf6b8['bind']('isOn')['to'](_0x34aeac,'isActive'),this['listenTo'](_0x1cf6b8,'execute',()=>{_0x50d197['execute']('uploadcareImageEdit'),_0x50d197['editing']['view']['focus']();}),_0x1cf6b8;}),this['_initConfig']();}['_initConfig'](){const _0x425470=_0x27cb20(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x425470),this['listenTo'](this['editor'],'destroy',()=>{_0x425470['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2f02(){const _0x5caa92=['execute','isEnabled','editor','10YTeRaA','removeAttribute','model','520754EseLxh','selection','13576IRGDMv','344234xtiHNP','srcset','710335OPDbaY','24fMWMzP','sizes','imageBlock','4pVAERq','995487IClMFo','6799419nvEBCM','element','1TxnlPI','document','change','12osHbzI','getSelectedElement','217aqmkam','refresh','3732444FEmSfM','setAttributes','imageInline'];_0x2f02=function(){return _0x5caa92;};return _0x2f02();}const _0x138467=_0x4441;(function(_0x1dab17,_0x1bb44e){const _0x1b0ae4=_0x4441,_0x23f6f4=_0x1dab17();while(!![]){try{const _0x3495ad=-parseInt(_0x1b0ae4(0x181))/0x1*(parseInt(_0x1b0ae4(0x177))/0x2)+parseInt(_0x1b0ae4(0x17e))/0x3*(parseInt(_0x1b0ae4(0x17d))/0x4)+parseInt(_0x1b0ae4(0x179))/0x5*(parseInt(_0x1b0ae4(0x184))/0x6)+parseInt(_0x1b0ae4(0x186))/0x7*(parseInt(_0x1b0ae4(0x176))/0x8)+-parseInt(_0x1b0ae4(0x188))/0x9*(-parseInt(_0x1b0ae4(0x18e))/0xa)+-parseInt(_0x1b0ae4(0x17f))/0xb+-parseInt(_0x1b0ae4(0x17a))/0xc*(-parseInt(_0x1b0ae4(0x174))/0xd);if(_0x3495ad===_0x1bb44e)break;else _0x23f6f4['push'](_0x23f6f4['shift']());}catch(_0x12459d){_0x23f6f4['push'](_0x23f6f4['shift']());}}}(_0x2f02,0x5b1a4));function _0x4441(_0x2753fa,_0x1877b7){const _0x2f0288=_0x2f02();return _0x4441=function(_0x44418c,_0x931039){_0x44418c=_0x44418c-0x173;let _0x58042e=_0x2f0288[_0x44418c];return _0x58042e;},_0x4441(_0x2753fa,_0x1877b7);}import{Command as _0x47b007}from'ckeditor5/src/core.js';export default class O extends _0x47b007{[_0x138467(0x187)](){const _0xf55979=_0x138467,_0x15b290=this[_0xf55979(0x18d)][_0xf55979(0x173)][_0xf55979(0x182)][_0xf55979(0x175)][_0xf55979(0x185)]();this[_0xf55979(0x18c)]=Boolean(_0x15b290&&(_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x17c))||_0x15b290['is'](_0xf55979(0x180),_0xf55979(0x18a))));}[_0x138467(0x18b)](_0x4e3801){const _0x56caad=_0x138467,_0x38467e=this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x182)][_0x56caad(0x175)][_0x56caad(0x185)]();this[_0x56caad(0x18d)][_0x56caad(0x173)][_0x56caad(0x183)](_0x1c397a=>{const _0xa3b84e=_0x56caad;_0x1c397a[_0xa3b84e(0x189)](_0x4e3801,_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x178),_0x38467e),_0x1c397a[_0xa3b84e(0x18f)](_0xa3b84e(0x17b),_0x38467e);});}}
23
+ function _0x4680(_0x244cba,_0x266628){const _0x3f5b73=_0x3f5b();return _0x4680=function(_0x4680da,_0x687420){_0x4680da=_0x4680da-0x19a;let _0xd243b8=_0x3f5b73[_0x4680da];return _0xd243b8;},_0x4680(_0x244cba,_0x266628);}const _0x2a4928=_0x4680;function _0x3f5b(){const _0x2ab6d1=['model','76044WkaXtD','imageInline','3538215YKgyas','removeAttribute','5098530DrKwMK','refresh','setAttributes','execute','4512907SJKYBG','8DtWjAN','33QbdXmO','33pcigOk','getSelectedElement','editor','230gjkrJP','imageBlock','4029JpqUiL','element','5694039YixpjW','sizes','document','srcset','selection','change','isEnabled','3014784rMrEUA'];_0x3f5b=function(){return _0x2ab6d1;};return _0x3f5b();}(function(_0x54fbbd,_0x1fc9a3){const _0x2cd3d9=_0x4680,_0x35b61c=_0x54fbbd();while(!![]){try{const _0x5e9faa=-parseInt(_0x2cd3d9(0x1ad))/0x1*(-parseInt(_0x2cd3d9(0x1ab))/0x2)+-parseInt(_0x2cd3d9(0x1a8))/0x3*(-parseInt(_0x2cd3d9(0x19d))/0x4)+parseInt(_0x2cd3d9(0x19f))/0x5+parseInt(_0x2cd3d9(0x19b))/0x6+parseInt(_0x2cd3d9(0x1a5))/0x7*(parseInt(_0x2cd3d9(0x1a6))/0x8)+-parseInt(_0x2cd3d9(0x1af))/0x9+-parseInt(_0x2cd3d9(0x1a1))/0xa*(parseInt(_0x2cd3d9(0x1a7))/0xb);if(_0x5e9faa===_0x1fc9a3)break;else _0x35b61c['push'](_0x35b61c['shift']());}catch(_0x43e980){_0x35b61c['push'](_0x35b61c['shift']());}}}(_0x3f5b,0x591ea));import{Command as _0x41592d}from'ckeditor5/src/core.js';export default class O extends _0x41592d{[_0x2a4928(0x1a2)](){const _0x2a3567=_0x2a4928,_0x103103=this[_0x2a3567(0x1aa)][_0x2a3567(0x19c)][_0x2a3567(0x1b1)][_0x2a3567(0x1b3)][_0x2a3567(0x1a9)]();this[_0x2a3567(0x19a)]=Boolean(_0x103103&&(_0x103103['is'](_0x2a3567(0x1ae),_0x2a3567(0x1ac))||_0x103103['is'](_0x2a3567(0x1ae),_0x2a3567(0x19e))));}[_0x2a4928(0x1a4)](_0x5c65bd){const _0x20a580=_0x2a4928,_0x2e49d8=this[_0x20a580(0x1aa)][_0x20a580(0x19c)][_0x20a580(0x1b1)][_0x20a580(0x1b3)][_0x20a580(0x1a9)]();this[_0x20a580(0x1aa)][_0x20a580(0x19c)][_0x20a580(0x1b4)](_0x5a1209=>{const _0x1d0566=_0x20a580;_0x5a1209[_0x1d0566(0x1a3)](_0x5c65bd,_0x2e49d8),_0x5a1209[_0x1d0566(0x1a0)](_0x1d0566(0x1b2),_0x2e49d8),_0x5a1209[_0x1d0566(0x1a0)](_0x1d0566(0x1b0),_0x2e49d8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x323967=_0x47d7;(function(_0x258f89,_0xe9a88c){var _0x34d8e7=_0x47d7,_0x1522f8=_0x258f89();while(!![]){try{var _0x1008e7=parseInt(_0x34d8e7(0x178))/0x1*(parseInt(_0x34d8e7(0x17b))/0x2)+parseInt(_0x34d8e7(0x173))/0x3+parseInt(_0x34d8e7(0x170))/0x4*(parseInt(_0x34d8e7(0x175))/0x5)+parseInt(_0x34d8e7(0x176))/0x6*(parseInt(_0x34d8e7(0x179))/0x7)+parseInt(_0x34d8e7(0x174))/0x8+parseInt(_0x34d8e7(0x16e))/0x9+-parseInt(_0x34d8e7(0x172))/0xa;if(_0x1008e7===_0xe9a88c)break;else _0x1522f8['push'](_0x1522f8['shift']());}catch(_0x5e84ce){_0x1522f8['push'](_0x1522f8['shift']());}}}(_0x1c26,0xacd87));import{Plugin as _0x293cdf}from'ckeditor5/src/core.js';function _0x1c26(){var _0x2df0da=['requires','22810410QivHqD','2232741OElAOy','8545800eeaJlG','1229325eNWccw','6dezjWy','isOfficialPlugin','729483fiLeEm','863653OlKztA','pluginName','2eKdfGR','isPremiumPlugin','700353ljJSNy','UploadcareImageEdit','4giKvsr'];_0x1c26=function(){return _0x2df0da;};return _0x1c26();}import _0x70e961 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x606db4 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x47d7(_0x16b8c8,_0x354c9d){var _0x1c2667=_0x1c26();return _0x47d7=function(_0x47d745,_0x4a1373){_0x47d745=_0x47d745-0x16e;var _0x4fabb3=_0x1c2667[_0x47d745];return _0x4fabb3;},_0x47d7(_0x16b8c8,_0x354c9d);}export default class P extends _0x293cdf{static get[_0x323967(0x17a)](){var _0x26b852=_0x323967;return _0x26b852(0x16f);}static get[_0x323967(0x171)](){return[_0x70e961,_0x606db4];}static get[_0x323967(0x177)](){return!0x0;}static get[_0x323967(0x17c)](){return!0x0;}}
23
+ var _0x2a8e48=_0x4d72;(function(_0x262236,_0x4f83b7){var _0x168f83=_0x4d72,_0x144a13=_0x262236();while(!![]){try{var _0x2c7118=parseInt(_0x168f83(0x91))/0x1*(-parseInt(_0x168f83(0x9c))/0x2)+-parseInt(_0x168f83(0x8f))/0x3+parseInt(_0x168f83(0x93))/0x4+parseInt(_0x168f83(0x95))/0x5+-parseInt(_0x168f83(0x92))/0x6+parseInt(_0x168f83(0x96))/0x7*(parseInt(_0x168f83(0x9b))/0x8)+-parseInt(_0x168f83(0x99))/0x9*(-parseInt(_0x168f83(0x97))/0xa);if(_0x2c7118===_0x4f83b7)break;else _0x144a13['push'](_0x144a13['shift']());}catch(_0x56624a){_0x144a13['push'](_0x144a13['shift']());}}}(_0x17f6,0x9971c));import{Plugin as _0x107533}from'ckeditor5/src/core.js';function _0x4d72(_0x4b9a4c,_0x33a682){var _0x17f6ae=_0x17f6();return _0x4d72=function(_0x4d727e,_0x81ada3){_0x4d727e=_0x4d727e-0x8e;var _0x5d6ae8=_0x17f6ae[_0x4d727e];return _0x5d6ae8;},_0x4d72(_0x4b9a4c,_0x33a682);}import _0x57a1bf from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x3c6949 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x17f6(){var _0x36a23d=['8BdLnIF','UploadcareImageEdit','2598033Rcsjsx','isPremiumPlugin','169989Akenji','3855408LRadEx','21456cavFVx','requires','5919180dqmdvr','140kRMlAO','391390xBArCE','isOfficialPlugin','153nKrZNr','pluginName','384992IWItsL'];_0x17f6=function(){return _0x36a23d;};return _0x17f6();}export default class P extends _0x107533{static get[_0x2a8e48(0x9a)](){var _0x485d0b=_0x2a8e48;return _0x485d0b(0x8e);}static get[_0x2a8e48(0x94)](){return[_0x57a1bf,_0x3c6949];}static get[_0x2a8e48(0x98)](){return!0x0;}static get[_0x2a8e48(0x90)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a29(){const _0x48f183=['destroy','isOfficialPlugin','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','config','24bqcODL','pluginName','commands','Facebook','expired','URL','_getIntegrationKey','Local','reduce','evaluationLimit','ImageInsertUI','OneDrive','uploadcareLicenseKeyExpired','_showLicenseError','shortText','usageLimit','uploadcare','_normalizeConfigSourceList','_createToolbarButton','init','_createMenuBarButtons','30eWqMPT','2811096cSMXGV','plugins','_createDropdownButtons','afterInit','uploadcareLicenseKeyUsageLimit','type','tooltip','editor','featureNotAllowed','uploadcareLicenseKeyNotAllowed','bind','isImageSelected','455lWZjka','8ByyUfN','url','104042VPiihQ','1363299bzIsFA','entries','5292644NBSkeh','_licenseKeyCheckInterval','uploadcareLicenseKeyInvalid','GDrive','uploadcareLicenseKeyValid','6369759nyYcEP','licenseKey','trialLimit','_createButton','domainLimit','map','label','execute','58638kVcWzS','isEnabled','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','get','withText','GPhotos','locale','invalid','Uploadcare','UploadcareUI','3719527yryALH','uploadcareLicenseKeyEvaluationLimit','has','registerIntegration','icon','forEach','push','assetManager','upload','Insert','text','Dropbox','Replace'];_0x3a29=function(){return _0x48f183;};return _0x3a29();}const _0x359119=_0x48b7;(function(_0x5dcdae,_0x2916e9){const _0x3522a5=_0x48b7,_0x31db9b=_0x5dcdae();while(!![]){try{const _0x327e60=parseInt(_0x3522a5(0x1f6))/0x1*(-parseInt(_0x3522a5(0x21b))/0x2)+-parseInt(_0x3522a5(0x21c))/0x3+parseInt(_0x3522a5(0x21e))/0x4+parseInt(_0x3522a5(0x218))/0x5*(parseInt(_0x3522a5(0x22b))/0x6)+-parseInt(_0x3522a5(0x236))/0x7*(-parseInt(_0x3522a5(0x219))/0x8)+-parseInt(_0x3522a5(0x20c))/0x9*(parseInt(_0x3522a5(0x20b))/0xa)+parseInt(_0x3522a5(0x223))/0xb;if(_0x327e60===_0x2916e9)break;else _0x31db9b['push'](_0x31db9b['shift']());}catch(_0x490411){_0x31db9b['push'](_0x31db9b['shift']());}}}(_0x3a29,0xa6bd5));import{Plugin as _0x51e5b8}from'ckeditor5/src/core.js';import{IconDropbox as _0x4d3c37,IconFacebook as _0x57ceff,IconGoogleDrive as _0x249617,IconGooglePhotos as _0x3d80df,IconUploadcareImageUpload as _0x38c18a,IconUploadcareLink as _0x257d49,IconOneDrive as _0x11c6bd}from'ckeditor5/src/icons.js';import{ButtonView as _0x58a78b,MenuBarMenuListItemButtonView as _0x893fbc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x9f1651}from'./uploadcareconfig.js';import{getTranslation as _0x5eefc0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x48b7(_0x487660,_0x65e713){const _0x3a2928=_0x3a29();return _0x48b7=function(_0x48b7bd,_0x240b77){_0x48b7bd=_0x48b7bd-0x1ea;let _0x4a4006=_0x3a2928[_0x48b7bd];return _0x4a4006;},_0x48b7(_0x487660,_0x65e713);}export default class e extends _0x51e5b8{[_0x359119(0x224)];[_0x359119(0x21f)];static get[_0x359119(0x1f7)](){const _0x19b6e7=_0x359119;return _0x19b6e7(0x235);}static get[_0x359119(0x1f2)](){return!0x0;}static get[_0x359119(0x22e)](){return!0x0;}[_0x359119(0x209)](){const _0x13c4b7=_0x359119;this[_0x13c4b7(0x224)]=this[_0x13c4b7(0x213)][_0x13c4b7(0x1f5)][_0x13c4b7(0x22f)](_0x13c4b7(0x224));const _0x2a5382=this[_0x13c4b7(0x213)];this[_0x13c4b7(0x21f)]=setInterval(()=>{const _0x4a8112=_0x13c4b7;let _0x420cdf;for(const _0x798689 in _0x2a5382){const _0xceddb1=_0x798689,_0x4a7b1a=_0x2a5382[_0xceddb1];if(_0x4a8112(0x222)==_0x4a7b1a||_0x4a8112(0x220)==_0x4a7b1a||_0x4a8112(0x202)==_0x4a7b1a||_0x4a8112(0x1f3)==_0x4a7b1a||_0x4a8112(0x215)==_0x4a7b1a||_0x4a8112(0x237)==_0x4a7b1a||_0x4a8112(0x22d)==_0x4a7b1a||_0x4a8112(0x210)==_0x4a7b1a){delete _0x2a5382[_0xceddb1],_0x420cdf=_0x4a7b1a,clearInterval(this[_0x4a8112(0x21f)]),this[_0x4a8112(0x21f)]=void 0x0;break;}}_0x4a8112(0x220)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x233)),_0x4a8112(0x202)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1fa)),_0x4a8112(0x1f3)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x227)),_0x4a8112(0x215)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x214),_0x4a8112(0x234)),_0x4a8112(0x237)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x1ff)),_0x4a8112(0x22d)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x225)),_0x4a8112(0x210)==_0x420cdf&&_0x2a5382[_0x4a8112(0x203)](_0x4a8112(0x205));},0x3e8);}[_0x359119(0x20f)](){const _0x3a4f44=_0x359119,{editor:_0x94c826}=this,_0x2dafde=_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206));if(!_0x2dafde)return;const _0x47ef05=this[_0x3a4f44(0x207)](_0x94c826[_0x3a4f44(0x1f5)][_0x3a4f44(0x22f)](_0x3a4f44(0x1f4)))[_0x3a4f44(0x1fe)]((_0x1b9a78,_0x1d8a0b)=>{const _0x12b0b2=_0x3a4f44,_0x15c77c=this[_0x12b0b2(0x1fc)](_0x1d8a0b[_0x12b0b2(0x211)]);return _0x1b9a78[_0x15c77c]||(_0x1b9a78[_0x15c77c]=[]),_0x1b9a78[_0x15c77c][_0x12b0b2(0x1ea)](_0x1d8a0b),_0x1b9a78;},{});_0x94c826[_0x3a4f44(0x20d)][_0x3a4f44(0x238)](_0x3a4f44(0x200))&&_0x94c826[_0x3a4f44(0x1f8)][_0x3a4f44(0x22f)](_0x3a4f44(0x206))&&Object[_0x3a4f44(0x21d)](_0x47ef05)[_0x3a4f44(0x23b)](([_0x3d1609,_0xd794a8])=>{const _0x528eb7=_0x3a4f44;_0x94c826[_0x528eb7(0x20d)][_0x528eb7(0x22f)](_0x528eb7(0x200))[_0x528eb7(0x239)]({'name':_0x3d1609,'observable':()=>_0x2dafde,'buttonViewCreator':()=>this[_0x528eb7(0x208)](_0xd794a8),'formViewCreator':()=>this[_0x528eb7(0x20e)](_0xd794a8),'menuBarButtonViewCreator':()=>this[_0x528eb7(0x20a)](_0xd794a8),'override':_0x528eb7(0x1eb)!==_0x3d1609});});}[_0x359119(0x1f1)](){const _0x3b8bc0=_0x359119;super[_0x3b8bc0(0x1f1)](),this[_0x3b8bc0(0x21f)]&&clearInterval(this[_0x3b8bc0(0x21f)]);}[_0x359119(0x207)](_0x126793){const _0x58b81f=_0x359119,{locale:_0x4f117e}=this[_0x58b81f(0x213)];return _0x126793[_0x58b81f(0x228)](_0x2d09c6=>{const _0x260b08=_0x58b81f,_0x50fba6=_0x5eefc0(_0x4f117e,_0x2d09c6,_0x260b08(0x1ed));switch(_0x2d09c6){case _0x9f1651[_0x260b08(0x1fd)]:return{'icon':_0x38c18a,'type':_0x9f1651[_0x260b08(0x1fd)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1fb)]:return{'icon':_0x257d49,'type':_0x9f1651[_0x260b08(0x1fb)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1ef)]:return{'icon':_0x4d3c37,'type':_0x9f1651[_0x260b08(0x1ef)],..._0x50fba6};case _0x9f1651[_0x260b08(0x1f9)]:return{'icon':_0x57ceff,'type':_0x9f1651[_0x260b08(0x1f9)],..._0x50fba6};case _0x9f1651[_0x260b08(0x221)]:return{'icon':_0x249617,'type':_0x9f1651[_0x260b08(0x221)],..._0x50fba6};case _0x9f1651[_0x260b08(0x231)]:return{'icon':_0x3d80df,'type':_0x9f1651[_0x260b08(0x231)],..._0x50fba6};case _0x9f1651[_0x260b08(0x201)]:return{'icon':_0x11c6bd,'type':_0x9f1651[_0x260b08(0x201)],..._0x50fba6};}});}[_0x359119(0x1fc)](_0x1b2bca){const _0x13495b=_0x359119;switch(_0x1b2bca){case _0x9f1651[_0x13495b(0x1fd)]:return _0x13495b(0x1ec);case _0x9f1651[_0x13495b(0x1fb)]:return _0x13495b(0x21a);default:return _0x13495b(0x1eb);}}[_0x359119(0x226)](_0x229f07,_0x420b7e){const _0x59eba5=_0x359119,_0x5d0d1d=this[_0x59eba5(0x213)],_0x4cc850=new _0x229f07(_0x5d0d1d[_0x59eba5(0x232)]),_0x3ab39c=_0x5d0d1d[_0x59eba5(0x1f8)][_0x59eba5(0x22f)](_0x59eba5(0x206));return _0x4cc850[_0x59eba5(0x216)](_0x59eba5(0x22c))['to'](_0x3ab39c),_0x4cc850['on'](_0x59eba5(0x22a),()=>{const _0x2b3470=_0x59eba5;_0x3ab39c[_0x2b3470(0x22a)](_0x420b7e);}),_0x4cc850;}[_0x359119(0x208)](_0x2ca3a4){const _0x5c1a77=_0x359119,{locale:_0x2896bf}=this[_0x5c1a77(0x213)],_0x25a933=this[_0x5c1a77(0x213)][_0x5c1a77(0x20d)][_0x5c1a77(0x22f)](_0x5c1a77(0x200)),_0x1e7783=_0x2ca3a4[0x0],_0x4c1d69=this[_0x5c1a77(0x226)](_0x58a78b,_0x1e7783[_0x5c1a77(0x211)]);return _0x4c1d69[_0x5c1a77(0x23a)]=_0x1e7783[_0x5c1a77(0x23a)],_0x4c1d69[_0x5c1a77(0x216)](_0x5c1a77(0x229))['to'](_0x25a933,_0x5c1a77(0x217),_0x5885bb=>_0x5eefc0(_0x2896bf,_0x1e7783[_0x5c1a77(0x211)],_0x5885bb?_0x5c1a77(0x1f0):_0x5c1a77(0x1ed))[_0x5c1a77(0x1ee)]),_0x4c1d69[_0x5c1a77(0x212)]=!0x0,_0x4c1d69;}[_0x359119(0x20e)](_0x15b00a){const _0x555891=_0x359119,{locale:_0x2b90b2}=this[_0x555891(0x213)],_0x1100d8=this[_0x555891(0x213)][_0x555891(0x20d)][_0x555891(0x22f)](_0x555891(0x200));return _0x15b00a[_0x555891(0x228)](_0x30e809=>{const _0x258c62=_0x555891,_0x17f563=this[_0x258c62(0x226)](_0x58a78b,_0x30e809[_0x258c62(0x211)]);return _0x17f563[_0x258c62(0x230)]=!0x0,_0x17f563[_0x258c62(0x23a)]=_0x30e809[_0x258c62(0x23a)],_0x17f563[_0x258c62(0x216)](_0x258c62(0x229))['to'](_0x1100d8,_0x258c62(0x217),_0x4058a6=>_0x5eefc0(_0x2b90b2,_0x30e809[_0x258c62(0x211)],_0x4058a6?_0x258c62(0x1f0):_0x258c62(0x1ed))[_0x258c62(0x1ee)]),_0x17f563;});}[_0x359119(0x20a)](_0x486350){const _0x43bb7e=_0x359119;return _0x486350[_0x43bb7e(0x228)](_0x59e44b=>{const _0x24cb13=_0x43bb7e,_0x42c488=this[_0x24cb13(0x226)](_0x893fbc,_0x59e44b[_0x24cb13(0x211)]);return _0x42c488[_0x24cb13(0x23a)]=_0x59e44b[_0x24cb13(0x23a)],_0x42c488[_0x24cb13(0x229)]=_0x59e44b[_0x24cb13(0x204)],_0x42c488;});}}
23
+ const _0x23d49b=_0x3339;(function(_0x2f48dd,_0xdb3f18){const _0x38796d=_0x3339,_0x4c2d4c=_0x2f48dd();while(!![]){try{const _0x3f7f85=parseInt(_0x38796d(0xa5))/0x1*(parseInt(_0x38796d(0xb6))/0x2)+-parseInt(_0x38796d(0xb4))/0x3+-parseInt(_0x38796d(0xa2))/0x4+parseInt(_0x38796d(0x98))/0x5*(parseInt(_0x38796d(0xa7))/0x6)+-parseInt(_0x38796d(0xa1))/0x7+-parseInt(_0x38796d(0x9d))/0x8+-parseInt(_0x38796d(0x8c))/0x9*(-parseInt(_0x38796d(0x97))/0xa);if(_0x3f7f85===_0xdb3f18)break;else _0x4c2d4c['push'](_0x4c2d4c['shift']());}catch(_0x4ada0f){_0x4c2d4c['push'](_0x4c2d4c['shift']());}}}(_0x3357,0x98c24));import{Plugin as _0x3b388c}from'ckeditor5/src/core.js';import{IconDropbox as _0x195f0e,IconFacebook as _0x1ed19b,IconGoogleDrive as _0x163d29,IconGooglePhotos as _0x2f70c5,IconUploadcareImageUpload as _0x318660,IconUploadcareLink as _0x1ca46d,IconOneDrive as _0x535fb3}from'ckeditor5/src/icons.js';import{ButtonView as _0x7be772,MenuBarMenuListItemButtonView as _0xc0fd92}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4168c7}from'./uploadcareconfig.js';function _0x3339(_0x35e7aa,_0x4f0242){const _0x335746=_0x3357();return _0x3339=function(_0x333971,_0x4c5152){_0x333971=_0x333971-0x70;let _0x24b3d3=_0x335746[_0x333971];return _0x24b3d3;},_0x3339(_0x35e7aa,_0x4f0242);}import{getTranslation as _0x12bd87}from'./utils/common-translations.js';function _0x3357(){const _0x571939=['assetManager','_createMenuBarButtons','uploadcareLicenseKeyValid','get','destroy','GDrive','Facebook','afterInit','evaluationLimit','registerIntegration','entries','usageLimit','expired','init','text','uploadcareLicenseKeyDomainLimit','licenseKey','push','featureNotAllowed','ImageInsertUI','Replace','UploadcareUI','plugins','invalid','type','Uploadcare','url','_normalizeConfigSourceList','49122qkzHcH','uploadcareLicenseKeyUsageLimit','map','uploadcare','_createButton','isEnabled','uploadcareLicenseKeyInvalid','_licenseKeyCheckInterval','pluginName','URL','execute','5230LzvzWc','535EBKVyH','locale','shortText','_createToolbarButton','upload','4884320fackOj','isOfficialPlugin','GPhotos','OneDrive','69300woXAkG','4452104yMDMbF','_getIntegrationKey','uploadcareLicenseKeyNotAllowed','1IhxVNm','label','18678fMIuqw','isPremiumPlugin','uploadcareLicenseKeyEvaluationLimit','editor','config','uploadcare.uploader.sourceList','Insert','isImageSelected','withText','tooltip','Local','reduce','commands','3342666UyysRd','uploadcareLicenseKeyTrialLimit','571526gYHrpa','_createDropdownButtons','icon','_showLicenseError','domainLimit','has','bind','trialLimit','forEach','Dropbox','uploadcareLicenseKeyExpired'];_0x3357=function(){return _0x571939;};return _0x3357();}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 _0x3b388c{[_0x23d49b(0x80)];[_0x23d49b(0x93)];static get[_0x23d49b(0x94)](){const _0x529ab0=_0x23d49b;return _0x529ab0(0x85);}static get[_0x23d49b(0x9e)](){return!0x0;}static get[_0x23d49b(0xa8)](){return!0x0;}[_0x23d49b(0x7d)](){const _0x20538e=_0x23d49b;this[_0x20538e(0x80)]=this[_0x20538e(0xaa)][_0x20538e(0xab)][_0x20538e(0x73)](_0x20538e(0x80));const _0x1dce75=this[_0x20538e(0xaa)];this[_0x20538e(0x93)]=setInterval(()=>{const _0x43af8e=_0x20538e;let _0xa7d66c;for(const _0x5acdd7 in _0x1dce75){const _0x45fda7=_0x5acdd7,_0x5982ee=_0x1dce75[_0x45fda7];if(_0x43af8e(0x72)==_0x5982ee||_0x43af8e(0x92)==_0x5982ee||_0x43af8e(0xc0)==_0x5982ee||_0x43af8e(0x7f)==_0x5982ee||_0x43af8e(0xa4)==_0x5982ee||_0x43af8e(0xa9)==_0x5982ee||_0x43af8e(0xb5)==_0x5982ee||_0x43af8e(0x8d)==_0x5982ee){delete _0x1dce75[_0x45fda7],_0xa7d66c=_0x5982ee,clearInterval(this[_0x43af8e(0x93)]),this[_0x43af8e(0x93)]=void 0x0;break;}}_0x43af8e(0x92)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0x87)),_0x43af8e(0xc0)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0x7c)),_0x43af8e(0x7f)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0xba)),_0x43af8e(0xa4)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0x82),_0x43af8e(0x89)),_0x43af8e(0xa9)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0x78)),_0x43af8e(0xb5)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0xbd)),_0x43af8e(0x8d)==_0xa7d66c&&_0x1dce75[_0x43af8e(0xb9)](_0x43af8e(0x7b));},0x3e8);}[_0x23d49b(0x77)](){const _0x4d40ab=_0x23d49b,{editor:_0x94366f}=this,_0x19b8d6=_0x94366f[_0x4d40ab(0xb3)][_0x4d40ab(0x73)](_0x4d40ab(0x8f));if(!_0x19b8d6)return;const _0x132dc0=this[_0x4d40ab(0x8b)](_0x94366f[_0x4d40ab(0xab)][_0x4d40ab(0x73)](_0x4d40ab(0xac)))[_0x4d40ab(0xb2)]((_0x5a2710,_0x1cf88b)=>{const _0x796ab=_0x4d40ab,_0x436319=this[_0x796ab(0xa3)](_0x1cf88b[_0x796ab(0x88)]);return _0x5a2710[_0x436319]||(_0x5a2710[_0x436319]=[]),_0x5a2710[_0x436319][_0x796ab(0x81)](_0x1cf88b),_0x5a2710;},{});_0x94366f[_0x4d40ab(0x86)][_0x4d40ab(0xbb)](_0x4d40ab(0x83))&&_0x94366f[_0x4d40ab(0xb3)][_0x4d40ab(0x73)](_0x4d40ab(0x8f))&&Object[_0x4d40ab(0x7a)](_0x132dc0)[_0x4d40ab(0xbe)](([_0x49755a,_0x2b453a])=>{const _0x7336ac=_0x4d40ab;_0x94366f[_0x7336ac(0x86)][_0x7336ac(0x73)](_0x7336ac(0x83))[_0x7336ac(0x79)]({'name':_0x49755a,'observable':()=>_0x19b8d6,'buttonViewCreator':()=>this[_0x7336ac(0x9b)](_0x2b453a),'formViewCreator':()=>this[_0x7336ac(0xb7)](_0x2b453a),'menuBarButtonViewCreator':()=>this[_0x7336ac(0x71)](_0x2b453a),'override':_0x7336ac(0x70)!==_0x49755a});});}[_0x23d49b(0x74)](){const _0x32971b=_0x23d49b;super[_0x32971b(0x74)](),this[_0x32971b(0x93)]&&clearInterval(this[_0x32971b(0x93)]);}[_0x23d49b(0x8b)](_0x10acb8){const _0x46b3a2=_0x23d49b,{locale:_0x57bc64}=this[_0x46b3a2(0xaa)];return _0x10acb8[_0x46b3a2(0x8e)](_0x4ad8d6=>{const _0x1c37fd=_0x46b3a2,_0x1473a0=_0x12bd87(_0x57bc64,_0x4ad8d6,_0x1c37fd(0xad));switch(_0x4ad8d6){case _0x4168c7[_0x1c37fd(0xb1)]:return{'icon':_0x318660,'type':_0x4168c7[_0x1c37fd(0xb1)],..._0x1473a0};case _0x4168c7[_0x1c37fd(0x95)]:return{'icon':_0x1ca46d,'type':_0x4168c7[_0x1c37fd(0x95)],..._0x1473a0};case _0x4168c7[_0x1c37fd(0xbf)]:return{'icon':_0x195f0e,'type':_0x4168c7[_0x1c37fd(0xbf)],..._0x1473a0};case _0x4168c7[_0x1c37fd(0x76)]:return{'icon':_0x1ed19b,'type':_0x4168c7[_0x1c37fd(0x76)],..._0x1473a0};case _0x4168c7[_0x1c37fd(0x75)]:return{'icon':_0x163d29,'type':_0x4168c7[_0x1c37fd(0x75)],..._0x1473a0};case _0x4168c7[_0x1c37fd(0x9f)]:return{'icon':_0x2f70c5,'type':_0x4168c7[_0x1c37fd(0x9f)],..._0x1473a0};case _0x4168c7[_0x1c37fd(0xa0)]:return{'icon':_0x535fb3,'type':_0x4168c7[_0x1c37fd(0xa0)],..._0x1473a0};}});}[_0x23d49b(0xa3)](_0x22e789){const _0x49c1a3=_0x23d49b;switch(_0x22e789){case _0x4168c7[_0x49c1a3(0xb1)]:return _0x49c1a3(0x9c);case _0x4168c7[_0x49c1a3(0x95)]:return _0x49c1a3(0x8a);default:return _0x49c1a3(0x70);}}[_0x23d49b(0x90)](_0x37fc60,_0x1d177e){const _0x588e7f=_0x23d49b,_0x2680a4=this[_0x588e7f(0xaa)],_0xebc311=new _0x37fc60(_0x2680a4[_0x588e7f(0x99)]),_0x430104=_0x2680a4[_0x588e7f(0xb3)][_0x588e7f(0x73)](_0x588e7f(0x8f));return _0xebc311[_0x588e7f(0xbc)](_0x588e7f(0x91))['to'](_0x430104),_0xebc311['on'](_0x588e7f(0x96),()=>{const _0x5059a0=_0x588e7f;_0x430104[_0x5059a0(0x96)](_0x1d177e);}),_0xebc311;}[_0x23d49b(0x9b)](_0x1835ee){const _0x4a4199=_0x23d49b,{locale:_0x2b326e}=this[_0x4a4199(0xaa)],_0x5a3721=this[_0x4a4199(0xaa)][_0x4a4199(0x86)][_0x4a4199(0x73)](_0x4a4199(0x83)),_0x4b31c7=_0x1835ee[0x0],_0x4d544b=this[_0x4a4199(0x90)](_0x7be772,_0x4b31c7[_0x4a4199(0x88)]);return _0x4d544b[_0x4a4199(0xb8)]=_0x4b31c7[_0x4a4199(0xb8)],_0x4d544b[_0x4a4199(0xbc)](_0x4a4199(0xa6))['to'](_0x5a3721,_0x4a4199(0xae),_0x2b1e44=>_0x12bd87(_0x2b326e,_0x4b31c7[_0x4a4199(0x88)],_0x2b1e44?_0x4a4199(0x84):_0x4a4199(0xad))[_0x4a4199(0x7e)]),_0x4d544b[_0x4a4199(0xb0)]=!0x0,_0x4d544b;}[_0x23d49b(0xb7)](_0x581b4a){const _0x4f6462=_0x23d49b,{locale:_0x5f0552}=this[_0x4f6462(0xaa)],_0x49305a=this[_0x4f6462(0xaa)][_0x4f6462(0x86)][_0x4f6462(0x73)](_0x4f6462(0x83));return _0x581b4a[_0x4f6462(0x8e)](_0x3719b6=>{const _0x3e6fa0=_0x4f6462,_0x58813c=this[_0x3e6fa0(0x90)](_0x7be772,_0x3719b6[_0x3e6fa0(0x88)]);return _0x58813c[_0x3e6fa0(0xaf)]=!0x0,_0x58813c[_0x3e6fa0(0xb8)]=_0x3719b6[_0x3e6fa0(0xb8)],_0x58813c[_0x3e6fa0(0xbc)](_0x3e6fa0(0xa6))['to'](_0x49305a,_0x3e6fa0(0xae),_0x2c7720=>_0x12bd87(_0x5f0552,_0x3719b6[_0x3e6fa0(0x88)],_0x2c7720?_0x3e6fa0(0x84):_0x3e6fa0(0xad))[_0x3e6fa0(0x7e)]),_0x58813c;});}[_0x23d49b(0x71)](_0x8528b8){const _0xa32c00=_0x23d49b;return _0x8528b8[_0xa32c00(0x8e)](_0x4ccbbe=>{const _0x35be36=_0xa32c00,_0x41d645=this[_0x35be36(0x90)](_0xc0fd92,_0x4ccbbe[_0x35be36(0x88)]);return _0x41d645[_0x35be36(0xb8)]=_0x4ccbbe[_0x35be36(0xb8)],_0x41d645[_0x35be36(0xa6)]=_0x4ccbbe[_0x35be36(0x9a)],_0x41d645;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4eb72f}from'ckeditor5/src/core.js';import{FileRepository as _0x268961}from'ckeditor5/src/upload.js';import _0x9cfa98 from'./uploadcareediting.js';import _0x233d43 from'./utils/uploadutils.js';import{getImageUrls as _0x325bf1}from'./utils/editingutils.js';export default class p extends _0x4eb72f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x268961,_0x9cfa98];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bef4a=this['editor'];if(!!!_0x3bef4a['config']['get']('uploadcare'))return;_0x3bef4a['plugins']['get'](_0x268961)['createUploadAdapter']=_0x4d594b=>new x(_0x4d594b,_0x3bef4a),_0x3bef4a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35c5b2,{imageElement:_0x1aa966,data:_0x56e156})=>{_0x3bef4a['model']['change'](_0x1ee021=>{_0x1ee021['setAttribute']('uploadcareImageId',_0x56e156['uploadcareImageId'],_0x1aa966);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x3e0b08,_0x25c9e8){this['loader']=_0x3e0b08,this['editor']=_0x25c9e8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x153dd2=this['editor']['config']['get']('uploadcare.pubkey'),_0x181fab=await this['loader']['file'];return _0x233d43['upload']({'file':_0x181fab,'publicKey':_0x153dd2,'signal':this['controller']['signal'],'onProgress':_0x3596d4=>{_0x3596d4&&_0x3596d4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3596d4['value']);}})['then'](async _0x42fb09=>{const {imageFallbackUrl:_0x92fd72,imageSources:_0x27ccfb}=_0x325bf1(_0x42fb09['cdnUrl'],_0x42fb09['imageInfo']['width']);return{'uploadcareImageId':_0x42fb09['uuid'],'default':_0x92fd72,'sources':_0x27ccfb};})['catch'](()=>{const _0x41b8f8=t('Cannot\x20upload\x20file:')+('\x20'+_0x181fab['name']+'.');return Promise['reject'](_0x41b8f8);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x2ef11f}from'ckeditor5/src/core.js';import{FileRepository as _0x41351d}from'ckeditor5/src/upload.js';import _0x3928cf from'./uploadcareediting.js';import _0x10c69c from'./utils/uploadutils.js';import{getImageUrls as _0x179b74}from'./utils/editingutils.js';export default class p extends _0x2ef11f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x41351d,_0x3928cf];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x20e8d6=this['editor'];if(!!!_0x20e8d6['config']['get']('uploadcare'))return;_0x20e8d6['plugins']['get'](_0x41351d)['createUploadAdapter']=_0x1aa4d1=>new x(_0x1aa4d1,_0x20e8d6),_0x20e8d6['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1ab0ad,{imageElement:_0xf6d0de,data:_0x4e06c8})=>{_0x20e8d6['model']['change'](_0x1e8307=>{_0x1e8307['setAttribute']('uploadcareImageId',_0x4e06c8['uploadcareImageId'],_0xf6d0de);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x6d746e,_0x4c7071){this['loader']=_0x6d746e,this['editor']=_0x4c7071,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2f4ba5=this['editor']['config']['get']('uploadcare.pubkey'),_0x5e5bab=await this['loader']['file'];return _0x10c69c['upload']({'file':_0x5e5bab,'publicKey':_0x2f4ba5,'signal':this['controller']['signal'],'onProgress':_0x54a275=>{_0x54a275&&_0x54a275['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x54a275['value']);}})['then'](async _0x46ccb9=>{const {imageFallbackUrl:_0x4cdbc7,imageSources:_0x566be3}=_0x179b74(_0x46ccb9['cdnUrl'],_0x46ccb9['imageInfo']['width']);return{'uploadcareImageId':_0x46ccb9['uuid'],'default':_0x4cdbc7,'sources':_0x566be3};})['catch'](()=>{const _0x832adc=t('Cannot\x20upload\x20file:')+('\x20'+_0x5e5bab['name']+'.');return Promise['reject'](_0x832adc);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5dce15}from'../uploadcareconfig.js';export function getTranslation(_0x4cc531,_0x55429f,_0x16cb8f){const t=_0x4cc531['t'],_0x5e4fb0=_0x4cc531['t'];switch(_0x55429f){case _0x5dce15['Local']:return{'text':_0x5e4fb0('Insert'===_0x16cb8f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5e4fb0('From\x20computer')};case _0x5dce15['URL']:return{'text':'Insert'===_0x16cb8f?_0x5e4fb0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5e4fb0('Via\x20URL')};case _0x5dce15['Dropbox']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5dce15['Facebook']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5dce15['GDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5dce15['GPhotos']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5dce15['OneDrive']:return{'text':t('Insert'===_0x16cb8f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55429f;}}
23
+ import{UploadcareSource as _0x29f34d}from'../uploadcareconfig.js';export function getTranslation(_0x462858,_0xd4e25f,_0x208085){const t=_0x462858['t'],_0x5848f4=_0x462858['t'];switch(_0xd4e25f){case _0x29f34d['Local']:return{'text':_0x5848f4('Insert'===_0x208085?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5848f4('From\x20computer')};case _0x29f34d['URL']:return{'text':'Insert'===_0x208085?_0x5848f4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5848f4('Via\x20URL')};case _0x29f34d['Dropbox']:return{'text':t('Insert'===_0x208085?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x29f34d['Facebook']:return{'text':t('Insert'===_0x208085?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x29f34d['GDrive']:return{'text':t('Insert'===_0x208085?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x29f34d['GPhotos']:return{'text':t('Insert'===_0x208085?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x29f34d['OneDrive']:return{'text':t('Insert'===_0x208085?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd4e25f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1cd633=_0x2d67;(function(_0x17bdbc,_0x40aef9){var _0x4fa219=_0x2d67,_0x3bf4f1=_0x17bdbc();while(!![]){try{var _0x5c741d=-parseInt(_0x4fa219(0x1e3))/0x1*(-parseInt(_0x4fa219(0x1df))/0x2)+-parseInt(_0x4fa219(0x1e2))/0x3*(-parseInt(_0x4fa219(0x1da))/0x4)+parseInt(_0x4fa219(0x1e0))/0x5*(parseInt(_0x4fa219(0x1d5))/0x6)+parseInt(_0x4fa219(0x1d3))/0x7*(-parseInt(_0x4fa219(0x1d7))/0x8)+-parseInt(_0x4fa219(0x1d1))/0x9+-parseInt(_0x4fa219(0x1e1))/0xa+parseInt(_0x4fa219(0x1d9))/0xb;if(_0x5c741d===_0x40aef9)break;else _0x3bf4f1['push'](_0x3bf4f1['shift']());}catch(_0x40fef0){_0x3bf4f1['push'](_0x3bf4f1['shift']());}}}(_0x32ae,0x5cb4d));import{FocusTracker as _0xe860d1}from'ckeditor5/src/utils.js';function _0x2d67(_0x426bb2,_0x1fb542){var _0x32ae47=_0x32ae();return _0x2d67=function(_0x2d6756,_0x7233b3){_0x2d6756=_0x2d6756-0x1d0;var _0x2854e2=_0x32ae47[_0x2d6756];return _0x2854e2;},_0x2d67(_0x426bb2,_0x1fb542);}import{View as _0x4e77ac,FocusCycler as _0x512927}from'ckeditor5/src/ui.js';function _0x32ae(){var _0x34ebf2=['1384JLOOSw','focusCycler','2979680PvPGDl','292700IDpULS','forwardCycle','focusTracker','div','fire','34wMWDPi','30CrKOBj','4193700rkUuMh','21XsiBTh','1751FNcuXD','getFocusableElement','4541796OjLMTv','bindTemplate','5257OXbBaJ','createCollection','620790qqdxWJ','true'];_0x32ae=function(){return _0x34ebf2;};return _0x32ae();}import'../../theme/uploadcare-form.css';export default class q extends _0x4e77ac{[_0x1cd633(0x1dc)];[_0x1cd633(0x1d8)];constructor(_0x5d097d){var _0xcd45ee=_0x1cd633;super(_0x5d097d),this[_0xcd45ee(0x1dc)]=new _0xe860d1(),this[_0xcd45ee(0x1d8)]=new _0x512927({'focusables':this[_0xcd45ee(0x1d4)](),'focusTracker':this[_0xcd45ee(0x1dc)]});}[_0x1cd633(0x1d0)](){var _0x178121=_0x1cd633;return{'tag':_0x178121(0x1dd),'attributes':{'aria-hidden':_0x178121(0x1d6),'tabindex':'0'},'on':{'focus':this[_0x178121(0x1d2)]['to'](()=>{var _0xd09c30=_0x178121;this[_0xd09c30(0x1d8)][_0xd09c30(0x1de)](_0xd09c30(0x1db));})}};}}
23
+ var _0x45ac1d=_0x1e12;function _0x1e12(_0x58f922,_0x2867bd){var _0x1dba58=_0x1dba();return _0x1e12=function(_0x1e1215,_0x4366bc){_0x1e1215=_0x1e1215-0xd9;var _0x426f3d=_0x1dba58[_0x1e1215];return _0x426f3d;},_0x1e12(_0x58f922,_0x2867bd);}function _0x1dba(){var _0x3bdeae=['2230820gASpFs','392936KRcHIE','div','6654BAZOii','7cNWWBL','4100240efpmUf','2595lMvvfB','true','focusTracker','getFocusableElement','createCollection','2CFyUSg','510194gMVjeT','bindTemplate','fire','4730409nMXqXg','forwardCycle','1122699TJRyDr','focusCycler'];_0x1dba=function(){return _0x3bdeae;};return _0x1dba();}(function(_0x52201c,_0x1e86de){var _0xd1457d=_0x1e12,_0x14c422=_0x52201c();while(!![]){try{var _0x50c0af=-parseInt(_0xd1457d(0xe6))/0x1+parseInt(_0xd1457d(0xe5))/0x2*(-parseInt(_0xd1457d(0xeb))/0x3)+parseInt(_0xd1457d(0xda))/0x4+-parseInt(_0xd1457d(0xe0))/0x5*(-parseInt(_0xd1457d(0xdd))/0x6)+-parseInt(_0xd1457d(0xde))/0x7*(parseInt(_0xd1457d(0xdb))/0x8)+parseInt(_0xd1457d(0xe9))/0x9+-parseInt(_0xd1457d(0xdf))/0xa;if(_0x50c0af===_0x1e86de)break;else _0x14c422['push'](_0x14c422['shift']());}catch(_0xaedffe){_0x14c422['push'](_0x14c422['shift']());}}}(_0x1dba,0x4cfad));import{FocusTracker as _0x46b3b0}from'ckeditor5/src/utils.js';import{View as _0xd19b55,FocusCycler as _0x32321b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xd19b55{[_0x45ac1d(0xe2)];[_0x45ac1d(0xd9)];constructor(_0x8f74fe){var _0x3a0bb6=_0x45ac1d;super(_0x8f74fe),this[_0x3a0bb6(0xe2)]=new _0x46b3b0(),this[_0x3a0bb6(0xd9)]=new _0x32321b({'focusables':this[_0x3a0bb6(0xe4)](),'focusTracker':this[_0x3a0bb6(0xe2)]});}[_0x45ac1d(0xe3)](){var _0xc01db8=_0x45ac1d;return{'tag':_0xc01db8(0xdc),'attributes':{'aria-hidden':_0xc01db8(0xe1),'tabindex':'0'},'on':{'focus':this[_0xc01db8(0xe7)]['to'](()=>{var _0x38d34d=_0xc01db8;this[_0x38d34d(0xd9)][_0x38d34d(0xe8)](_0x38d34d(0xea));})}};}}