@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250507.0 → 0.0.0-nightly-20250509.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a9e3b=_0x349e;(function(_0x33293b,_0x146b52){const _0x2aa837=_0x349e,_0x1d64b6=_0x33293b();while(!![]){try{const _0x2e336=parseInt(_0x2aa837(0x1cd))/0x1*(parseInt(_0x2aa837(0x204))/0x2)+-parseInt(_0x2aa837(0x1db))/0x3+-parseInt(_0x2aa837(0x1d3))/0x4*(-parseInt(_0x2aa837(0x1e8))/0x5)+-parseInt(_0x2aa837(0x1f3))/0x6*(parseInt(_0x2aa837(0x1c6))/0x7)+-parseInt(_0x2aa837(0x1b8))/0x8+-parseInt(_0x2aa837(0x1e6))/0x9+parseInt(_0x2aa837(0x1cc))/0xa;if(_0x2e336===_0x146b52)break;else _0x1d64b6['push'](_0x1d64b6['shift']());}catch(_0x1ec0a2){_0x1d64b6['push'](_0x1d64b6['shift']());}}}(_0x513b,0xd9967));import{Plugin as _0x1c4192}from'ckeditor5/src/core.js';function _0x349e(_0x47f355,_0x4a8b0c){const _0x513b6e=_0x513b();return _0x349e=function(_0x349e27,_0x36b5f6){_0x349e27=_0x349e27-0x1b7;let _0x9ce06=_0x513b6e[_0x349e27];return _0x9ce06;},_0x349e(_0x47f355,_0x4a8b0c);}import{Dialog as _0x546510}from'ckeditor5/src/ui.js';import{createElement as _0x25c2a3,global as _0x4b19de,uid as _0xc36944}from'ckeditor5/src/utils.js';function _0x513b(){const _0x50dc45=['UploadcareEditing','getSelectedElement','uploader','map','imageInline','_ctxElement','elementToAttribute','iconHrefResolver','replaceImageSource','isRegistered','model','uc-upload-ctx-provider','afterInit','ctxElement','50waTcEN','data-uc-image-id','_initConfig','downcast','fromCharCode','isOfficialPlugin','requires','_initSchema','12438680cFiSKf','configElement','uploadcare.uploader','querySelector','upcast','\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','imageBlock','_initImageProcessingIndicator','conversion','appendChild','execute','join','editor','uploadcare.pubkey','941283UlIwLX','once','render','schema','listenTo','cleanupImage','31328000WXnKCF','29669MmvXMI','removeAttribute','for','getAttribute','closeMax','remove','4xiYfnF','extend','uploadcare','destroy','uploadcareImageReplace','contentLanguage','document','uc-config','4014435nVOOTL','init','locale','insertImage','attributeToAttribute','pluginName','config','add','_initCtx','_configElement','uploadcareImageId','10802214ySkMjo','commands','8239080TFAccG','isPremiumPlugin','editing','_initConversion','href','#uc-icon-arrow-down','get','view','selection','input[uploadcare-file-input]','true','24hqoSxE','PictureEditing','body'];_0x513b=function(){return _0x50dc45;};return _0x513b();}import _0x5e16b2 from'./uploadcarecommand.js';import _0x569e44 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3241d6}from'./utils/editingutils.js';export default class i extends _0x1c4192{[_0x5a9e3b(0x1e4)]=null;[_0x5a9e3b(0x1fb)]=null;static get[_0x5a9e3b(0x1e0)](){const _0x34731f=_0x5a9e3b;return _0x34731f(0x1f6);}static get[_0x5a9e3b(0x20a)](){const _0x41f520=_0x5a9e3b;return[_0x41f520(0x1f4),_0x569e44,_0x546510];}static get[_0x5a9e3b(0x209)](){return!0x0;}static get[_0x5a9e3b(0x1e9)](){return!0x0;}get[_0x5a9e3b(0x1b9)](){const _0x917cf3=_0x5a9e3b;return this[_0x917cf3(0x1e4)];}get[_0x5a9e3b(0x203)](){const _0x1a700f=_0x5a9e3b;return this[_0x1a700f(0x1fb)];}[_0x5a9e3b(0x1dc)](){const _0x115993=_0x5a9e3b,_0x490029=this[_0x115993(0x1c4)];_0x490029[_0x115993(0x1e7)][_0x115993(0x1e2)](_0x115993(0x1d5),new _0x5e16b2(_0x490029));}[_0x5a9e3b(0x202)](){const _0x37076f=_0x5a9e3b;this[_0x37076f(0x1b7)](),this[_0x37076f(0x1eb)](),this[_0x37076f(0x206)](),this[_0x37076f(0x1e3)](),this[_0x37076f(0x1bf)](),this[_0x37076f(0x1ca)](this[_0x37076f(0x1c4)],_0x37076f(0x1d6),()=>{const _0x515580=_0x37076f;this[_0x515580(0x1e4)]&&(this[_0x515580(0x1e4)][_0x515580(0x1d2)](),this[_0x515580(0x1e4)]=null),this[_0x515580(0x1fb)]&&(this[_0x515580(0x1fb)][_0x515580(0x1d2)](),this[_0x515580(0x1fb)]=null);const _0x59c5b2=_0x4b19de[_0x515580(0x1d9)][_0x515580(0x1bb)](_0x515580(0x1f1));_0x59c5b2&&_0x59c5b2[_0x515580(0x1d2)]();}),async function(_0x1aa1a5){const _0x578cc3=_0x1a4650([0x6d,0x51,0x32,0x44,0x6c,0x73,0x47,0x4a,0x4e,0x33,0x74,0x77,0x50,0x41,0x65,0x59,0x37,0x38,0x6b,0x39,0x6e,0x79,0x61,0x36,0x5a,0x71,0x76,0x57,0x62,0x30,0x4f,0x6f,0x49,0x75,0x58,0x4c,0x7a,0x48,0x4b,0x68,0x55,0x53,0x67,0x35,0x6a,0x64,0x54,0x66,0x45,0x72,0x42,0x69,0x56,0x52,0x46,0x78,0x4d,0x31,0x70,0x34,0x63,0x43]),_0x36e782=0x6694c97f,_0x37b5d5=0x6693ae57^_0x36e782,_0x306306=window[_0x1a4650([0x44,0x61,0x74,0x65])][_0x1a4650([0x6e,0x6f,0x77])](),_0x1d6b35=_0x1aa1a5[_0x1a4650([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x38ab37=new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x399e8d=>{_0x1d6b35[_0x1a4650([0x6f,0x6e,0x63,0x65])](_0x1a4650([0x72,0x65,0x61,0x64,0x79]),_0x399e8d);}),_0xab6c81={[_0x1a4650([0x6b,0x74,0x79])]:_0x1a4650([0x45,0x43]),[_0x1a4650([0x75,0x73,0x65])]:_0x1a4650([0x73,0x69,0x67]),[_0x1a4650([0x63,0x72,0x76])]:_0x1a4650([0x50,0x2d,0x32,0x35,0x36]),[_0x1a4650([0x78])]:_0x1a4650([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]),[_0x1a4650([0x79])]:_0x1a4650([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]),[_0x1a4650([0x61,0x6c,0x67])]:_0x1a4650([0x45,0x53,0x32,0x35,0x36])},_0x26b74d=_0x1d6b35[_0x1a4650([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a4650([0x67,0x65,0x74])](_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x599b02(){let _0x2ec97f,_0x2e1c98=null,_0x1dc5b6=null;try{if(_0x26b74d==_0x1a4650([0x47,0x50,0x4c]))return _0x1a4650([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ec97f=_0xc8e7a2(),!_0x2ec97f)return _0x1a4650([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ec97f[_0x1a4650([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1dc5b6=_0x682b27(_0x2ec97f[_0x1a4650([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ec97f[_0x1a4650([0x6a,0x74,0x69])])),await _0x59b0f7()?_0x1ce3b7()?_0x423c3f()?_0x1a4650([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x313a54()?(_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a4650([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e1c98=_0x2b0c5d(_0x1a4650([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a4650([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e1c98=_0x2b0c5d(_0x1a4650([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5223f3()):_0x1a4650([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a4650([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a4650([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x52bd60){return _0x1a4650([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x423c3f(){const _0x49ad16=[_0x1a4650([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a4650([0x74,0x72,0x69,0x61,0x6c])][_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x306306/0x3e8:0xe10*_0x37b5d5;return _0x2ec97f[_0x1a4650([0x65,0x78,0x70])]<_0x49ad16;}function _0x1ce3b7(){const _0x2f8a95=_0x2ec97f[_0x1a4650([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f8a95&&(!!_0x2f8a95[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4650([0x2a]))||!!_0x2f8a95[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4650([0x55,0x50,0x4c,0x43])));}function _0x313a54(){const _0x190c05=_0x349e,_0x481e49=_0x2ec97f[_0x1a4650([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x481e49||0x0==_0x481e49[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f77f7}=new URL(window[_0x1a4650([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x190c05(0x1ec)]);if(_0x481e49[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f77f7))return!0x0;const _0x436b1a=_0x4f77f7[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e]));return _0x481e49[_0x1a4650([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cbee5=>_0x1cbee5[_0x1a4650([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4650([0x2a])))[_0x1a4650([0x6d,0x61,0x70])](_0x5b849=>_0x5b849[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e])))[_0x1a4650([0x73,0x6f,0x6d,0x65])](_0x8f1ced=>_0x436b1a[_0x1a4650([0x65,0x76,0x65,0x72,0x79])]((_0x13c131,_0xbc951d)=>_0x8f1ced[_0xbc951d]===_0x13c131||_0x8f1ced[_0xbc951d]===_0x1a4650([0x2a])));}function _0x5223f3(){return _0x2e1c98&&_0x1dc5b6?new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b1424,_0x189d35)=>{_0x2e1c98[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x2b1424,_0x189d35),_0x1dc5b6[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x37b72b=>{_0x37b72b!=_0x1a4650([0x56,0x61,0x6c,0x69,0x64])&&_0x2b1424(_0x37b72b);},_0x189d35);}):_0x2e1c98||_0x1dc5b6||_0x1a4650([0x56,0x61,0x6c,0x69,0x64]);}}function _0x682b27(_0x4c80e6,_0x557c07){return new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x432de3=>{if(_0x2414d0())return _0x432de3(_0x1a4650([0x56,0x61,0x6c,0x69,0x64]));_0x230e56(),_0x1d6b35[_0x1a4650([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a4650([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e0533=!0x1;const _0x1045b0=_0xc36944();function _0x293a41(_0x1314a8){return!!_0x1314a8&&(typeof _0x1314a8===_0x1a4650([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1314a8===_0x1a4650([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1314a8[_0x1a4650([0x74,0x68,0x65,0x6e])]===_0x1a4650([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1314a8[_0x1a4650([0x63,0x61,0x74,0x63,0x68])]===_0x1a4650([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21e7b0(_0x20fba3){_0x506670(_0x20fba3)[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x1070df=>{if(!_0x1070df||_0x1070df[_0x1a4650([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a4650([0x6f,0x6b]))return _0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56e091(_0x21957e(_0x1045b0+_0x557c07))!=_0x1070df[_0x1a4650([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a4650([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x21af32=>(_0x3e85cf(),_0x21af32),()=>{const _0x105c8e=_0x294e85();return null==_0x105c8e?(_0x3e85cf(),_0x1a4650([0x56,0x61,0x6c,0x69,0x64])):_0x1a4650(_0x306306-_0x105c8e>(0x42984d7f^_0x36e782)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x432de3)[_0x1a4650([0x63,0x61,0x74,0x63,0x68])](()=>{_0x432de3(_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b9ebd=0x66a227ff^_0x36e782;function _0x3e85cf(){const _0x7acd1d=_0x1a4650([0x6c,0x6c,0x63,0x74,0x2d])+_0x56e091(_0x21957e(_0x4c80e6)),_0x28409d=_0x58893b(_0x56e091(window[_0x1a4650([0x4d,0x61,0x74,0x68])][_0x1a4650([0x63,0x65,0x69,0x6c])](_0x306306/_0x5b9ebd)));window[_0x1a4650([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a4650([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7acd1d,_0x28409d);}function _0x294e85(){const _0x2a031a=_0x1a4650([0x6c,0x6c,0x63,0x74,0x2d])+_0x56e091(_0x21957e(_0x4c80e6)),_0x3ec3da=window[_0x1a4650([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a4650([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a031a);return _0x3ec3da?window[_0x1a4650([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58893b(_0x3ec3da),0x10)*_0x5b9ebd:null;}function _0x506670(_0x22d8cd){return new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x331c16,_0x45d6b0)=>{_0x22d8cd[_0x1a4650([0x74,0x68,0x65,0x6e])](_0x331c16,_0x45d6b0),window[_0x1a4650([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45d6b0,0x66951dbf^_0x36e782);});}}_0x1d6b35[_0x1a4650([0x6f,0x6e])](_0x1a4650([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55833f,_0x8e1b98)=>{if(_0x8e1b98[0x0]!=_0x4c80e6)return _0x432de3(_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8e1b98[0x1]={..._0x8e1b98[0x1],[_0x1a4650([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1045b0};},{[_0x1a4650([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a4650([0x68,0x69,0x67,0x68])}),_0x1d6b35[_0x1a4650([0x6f,0x6e])](_0x1a4650([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30b732=>{_0x293a41(_0x30b732[_0x1a4650([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e0533=!0x0,_0x21e7b0(_0x30b732[_0x1a4650([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a4650([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a4650([0x6c,0x6f,0x77])}),_0x38ab37[_0x1a4650([0x74,0x68,0x65,0x6e])](()=>{_0x5e0533||_0x432de3(_0x1a4650([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2414d0(){return _0x1d6b35[_0x1a4650([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a4650([0x76,0x69,0x65,0x77])][_0x1a4650([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a4650([0x61,0x75,0x74,0x6f]);}function _0x230e56(){_0x1d6b35[_0x1a4650([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a4650([0x76,0x69,0x65,0x77])][_0x1a4650([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a4650([0x61,0x75,0x74,0x6f]);}}function _0x2b0c5d(_0x544587){const _0x20e7cc=[new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x326bdc=>setTimeout(_0x326bdc,0x669df7b3^_0x36e782)),_0x38ab37[_0x1a4650([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277dca=>{let _0x4d02f1=0x0;_0x1d6b35[_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4650([0x6f,0x6e])](_0x1a4650([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x736ce2,_0x2dc6bf)=>{_0x2dc6bf[0x0][_0x1a4650([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d02f1++,_0x4d02f1==(0x6694c887^_0x36e782)&&(_0x277dca(),_0x736ce2[_0x1a4650([0x6f,0x66,0x66])]());});}))];return window[_0x1a4650([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a4650([0x72,0x61,0x63,0x65])](_0x20e7cc)[_0x1a4650([0x74,0x68,0x65,0x6e])](()=>_0x544587);}async function _0x44b9fb(){await _0x38ab37,_0x1d6b35[_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4650([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6e78,_0x1d6b35[_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a4650([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b6e78,_0x1d6b35[_0x1a4650([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a4650([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25b1db(_0x74efe){const _0x358f22=_0x1d0791();_0x1d6b35[_0x358f22]=_0x1a4650([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x74efe,_0x74efe!=_0x1a4650([0x56,0x61,0x6c,0x69,0x64])&&_0x44b9fb();}function _0x1d0791(){const _0x47b212=window[_0x1a4650([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a4650([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a4650([0x6e,0x6f,0x77])]())[_0x1a4650([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a4650([0x2e]),'');let _0x1abdb5=_0x1a4650([0x6d]);for(let _0x2e70d7=0x0;_0x2e70d7<_0x47b212[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e70d7+=0x2){let _0x1efb15=window[_0x1a4650([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47b212[_0x1a4650([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e70d7,_0x2e70d7+0x2));_0x1efb15>=_0x578cc3[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1efb15-=_0x578cc3[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1abdb5+=_0x578cc3[_0x1efb15];}return _0x1abdb5;}function _0xc8e7a2(){const _0x71204a=_0x26b74d[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e]));if(0x3!=_0x71204a[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57e185(_0x71204a[0x1]);function _0x57e185(_0x522ed2){const _0x4f0306=_0x25d83e(_0x522ed2);return _0x4f0306&&_0x48f4ec()?_0x4f0306:null;function _0x48f4ec(){const _0x188e8d=_0x4f0306[_0x1a4650([0x6a,0x74,0x69])],_0x592c27=window[_0x1a4650([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x188e8d[_0x1a4650([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x188e8d[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58dd95={..._0x4f0306,[_0x1a4650([0x6a,0x74,0x69])]:_0x188e8d[_0x1a4650([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x188e8d[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58dd95[_0x1a4650([0x76,0x63])],_0x21957e(_0x58dd95)==_0x592c27;}}}async function _0x59b0f7(){let _0x1bdabb=!0x0;try{const _0x32c87e=_0x26b74d[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])](_0x1a4650([0x2e])),[_0x288ee6,_0x193e4a,_0x1ba585]=_0x32c87e;return _0xfdc131(_0x288ee6),await _0x55bb3e(_0x288ee6,_0x193e4a,_0x1ba585),_0x1bdabb;}catch(_0x5441a7){return!0x1;}function _0xfdc131(_0x657b85){const _0x11f2eb=_0x25d83e(_0x657b85);_0x11f2eb&&_0x11f2eb[_0x1a4650([0x61,0x6c,0x67])]==_0x1a4650([0x45,0x53,0x32,0x35,0x36])||(_0x1bdabb=!0x1);}async function _0x55bb3e(_0xf206df,_0x291516,_0x272f47){const _0x2a1b4f=window[_0x1a4650([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a4650([0x66,0x72,0x6f,0x6d])](_0xbf977a(_0x272f47),_0x24742d=>_0x24742d[_0x1a4650([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x341eae=new window[(_0x1a4650([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a4650([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf206df+_0x1a4650([0x2e])+_0x291516),_0x945ef3=window[_0x1a4650([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a4650([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x945ef3)return;const _0x5cb4c4=await _0x945ef3[_0x1a4650([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a4650([0x6a,0x77,0x6b]),_0xab6c81,{[_0x1a4650([0x6e,0x61,0x6d,0x65])]:_0x1a4650([0x45,0x43,0x44,0x53,0x41]),[_0x1a4650([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a4650([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a4650([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x945ef3[_0x1a4650([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a4650([0x6e,0x61,0x6d,0x65])]:_0x1a4650([0x45,0x43,0x44,0x53,0x41]),[_0x1a4650([0x68,0x61,0x73,0x68])]:{[_0x1a4650([0x6e,0x61,0x6d,0x65])]:_0x1a4650([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cb4c4,_0x2a1b4f,_0x341eae)||(_0x1bdabb=!0x1);}}function _0x25d83e(_0x1dcf39){return _0x1dcf39[_0x1a4650([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a4650([0x65,0x79]))?JSON[_0x1a4650([0x70,0x61,0x72,0x73,0x65])](_0xbf977a(_0x1dcf39)):null;}function _0xbf977a(_0x5ed800){return window[_0x1a4650([0x61,0x74,0x6f,0x62])](_0x5ed800[_0x1a4650([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a4650([0x2b]))[_0x1a4650([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a4650([0x2f])));}function _0x21957e(_0x131fde){let _0x246fc4=0x1505;function _0x5f56ee(_0x4d17a5){for(let _0x2e55c0=0x0;_0x2e55c0<_0x4d17a5[_0x1a4650([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e55c0++){const _0x4e7a3b=_0x4d17a5[_0x1a4650([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e55c0);_0x246fc4=(_0x246fc4<<0x5)+_0x246fc4+_0x4e7a3b,_0x246fc4&=_0x246fc4;}}function _0x16d707(_0x25d53e){Array[_0x1a4650([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25d53e)?_0x25d53e[_0x1a4650([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16d707):_0x25d53e&&typeof _0x25d53e==_0x1a4650([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a4650([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25d53e)[_0x1a4650([0x73,0x6f,0x72,0x74])]()[_0x1a4650([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2813f4,_0x16c5f3])=>{_0x5f56ee(_0x2813f4),_0x16d707(_0x16c5f3);}):_0x5f56ee(window[_0x1a4650([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25d53e));}return _0x16d707(_0x131fde),_0x246fc4>>>0x0;}function _0x56e091(_0x1a5017){return _0x1a5017[_0x1a4650([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a4650([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a4650([0x30]));}function _0x58893b(_0x1c3f22){return _0x1c3f22[_0x1a4650([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a4650([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a4650([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b6e78(){}function _0x1a4650(_0x59e868){const _0x5a1284=_0x349e;return _0x59e868[_0x5a1284(0x1f9)](_0xca7a6b=>String[_0x5a1284(0x208)](_0xca7a6b))[_0x5a1284(0x1c3)]('');}_0x25b1db(await _0x599b02());}(this);}[_0x5a9e3b(0x1b7)](){const _0x4d0172=_0x5a9e3b,_0x621e57=this[_0x4d0172(0x1c4)][_0x4d0172(0x200)][_0x4d0172(0x1c9)];_0x621e57[_0x4d0172(0x1ff)](_0x4d0172(0x1be))&&_0x621e57[_0x4d0172(0x1d4)](_0x4d0172(0x1be),{'allowAttributes':[_0x4d0172(0x1e5)]}),_0x621e57[_0x4d0172(0x1ff)](_0x4d0172(0x1fa))&&_0x621e57[_0x4d0172(0x1d4)](_0x4d0172(0x1fa),{'allowAttributes':[_0x4d0172(0x1e5)]});}[_0x5a9e3b(0x1eb)](){const _0x336bdb=_0x5a9e3b,_0x124e61=this[_0x336bdb(0x1c4)];_0x124e61[_0x336bdb(0x1c0)][_0x336bdb(0x1cf)](_0x336bdb(0x207))[_0x336bdb(0x1df)]({'model':_0x336bdb(0x1e5),'view':_0x336bdb(0x205)}),_0x124e61[_0x336bdb(0x1c0)][_0x336bdb(0x1cf)](_0x336bdb(0x1bc))[_0x336bdb(0x1fc)]({'model':{'key':_0x336bdb(0x1e5),'value':_0x4a6429=>_0x4a6429[_0x336bdb(0x1d0)](_0x336bdb(0x205))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x24d546=_0x124e61[_0x336bdb(0x1e7)][_0x336bdb(0x1ee)](_0x336bdb(0x1fe));_0x24d546&&this[_0x336bdb(0x1ca)](_0x24d546,_0x336bdb(0x1cb),(_0x4d61e1,[_0x3f4b93,_0x36caf8])=>{const _0x59bbf2=_0x336bdb;_0x3f4b93[_0x59bbf2(0x1ce)](_0x59bbf2(0x1e5),_0x36caf8);});}[_0x5a9e3b(0x206)](){const _0x321a9f=_0x5a9e3b,_0x177f29=this[_0x321a9f(0x1c4)][_0x321a9f(0x1e1)][_0x321a9f(0x1ee)](_0x321a9f(0x1ba))||{},_0xd01f02=this[_0x321a9f(0x1c4)][_0x321a9f(0x1e1)][_0x321a9f(0x1ee)](_0x321a9f(0x1c5))||'';this[_0x321a9f(0x1e4)]=_0x25c2a3(_0x4b19de[_0x321a9f(0x1d9)],_0x321a9f(0x1da),{..._0x177f29,'pubkey':_0xd01f02,'ctx-name':_0x321a9f(0x1f8),'sourceList':'','imgOnly':_0x321a9f(0x1f2),'removeCopyright':_0x321a9f(0x1f2),'localeName':this[_0x321a9f(0x1c4)][_0x321a9f(0x1dd)][_0x321a9f(0x1d8)],'externalSourcesEmbedCss':_0x321a9f(0x1bd)}),this[_0x321a9f(0x1e4)][_0x321a9f(0x1fd)]=_0x5cc1ce=>{const _0x2291d2=_0x321a9f;if(_0x2291d2(0x1d1)==_0x5cc1ce)return _0x2291d2(0x1ed);},_0x4b19de[_0x321a9f(0x1d9)][_0x321a9f(0x1f5)][_0x321a9f(0x1c1)](this[_0x321a9f(0x1e4)]);}[_0x5a9e3b(0x1e3)](){const _0x5c2b83=_0x5a9e3b;this[_0x5c2b83(0x1fb)]=_0x25c2a3(_0x4b19de[_0x5c2b83(0x1d9)],_0x5c2b83(0x201),{'ctx-name':_0x5c2b83(0x1f8)}),_0x4b19de[_0x5c2b83(0x1d9)][_0x5c2b83(0x1f5)][_0x5c2b83(0x1c1)](this[_0x5c2b83(0x1fb)]);}[_0x5a9e3b(0x1bf)](){const _0x404126=_0x5a9e3b,_0x479358=this[_0x404126(0x1c4)][_0x404126(0x1e7)][_0x404126(0x1ee)](_0x404126(0x1de));_0x479358&&this[_0x404126(0x1ca)](_0x479358,_0x404126(0x1c2),()=>{const _0x1ebc07=_0x404126,_0x3a7af0=this[_0x1ebc07(0x1c4)][_0x1ebc07(0x200)][_0x1ebc07(0x1d9)][_0x1ebc07(0x1f0)][_0x1ebc07(0x1f7)]();_0x3a7af0&&_0x3a7af0[_0x1ebc07(0x1d0)](_0x1ebc07(0x1e5))&&this[_0x1ebc07(0x1c4)][_0x1ebc07(0x1ea)][_0x1ebc07(0x1ef)][_0x1ebc07(0x1c7)](_0x1ebc07(0x1c8),()=>{const _0x50bc86=_0x1ebc07;_0x3241d6(this[_0x50bc86(0x1c4)],_0x3a7af0);});});const _0x36fad6=this[_0x404126(0x1c4)][_0x404126(0x1e7)][_0x404126(0x1ee)](_0x404126(0x1d7));_0x36fad6&&this[_0x404126(0x1ca)](_0x36fad6,_0x404126(0x1c2),()=>{const _0x1eeaec=_0x404126,_0x203deb=this[_0x1eeaec(0x1c4)][_0x1eeaec(0x200)][_0x1eeaec(0x1d9)][_0x1eeaec(0x1f0)][_0x1eeaec(0x1f7)]();_0x203deb&&_0x203deb[_0x1eeaec(0x1d0)](_0x1eeaec(0x1e5))&&this[_0x1eeaec(0x1c4)][_0x1eeaec(0x1ea)][_0x1eeaec(0x1ef)][_0x1eeaec(0x1c7)](_0x1eeaec(0x1c8),()=>{const _0x2ba50c=_0x1eeaec;_0x3241d6(this[_0x2ba50c(0x1c4)],_0x203deb);});});}}
23
+ const _0x4b3c4d=_0x1d9f;(function(_0xb709be,_0x59d50b){const _0x284826=_0x1d9f,_0x11fc5b=_0xb709be();while(!![]){try{const _0x49f717=parseInt(_0x284826(0x13c))/0x1*(parseInt(_0x284826(0x167))/0x2)+-parseInt(_0x284826(0x181))/0x3+parseInt(_0x284826(0x13d))/0x4+parseInt(_0x284826(0x133))/0x5*(parseInt(_0x284826(0x143))/0x6)+-parseInt(_0x284826(0x170))/0x7+parseInt(_0x284826(0x157))/0x8+-parseInt(_0x284826(0x14a))/0x9;if(_0x49f717===_0x59d50b)break;else _0x11fc5b['push'](_0x11fc5b['shift']());}catch(_0x3aa3f5){_0x11fc5b['push'](_0x11fc5b['shift']());}}}(_0x51e1,0xd15f7));import{Plugin as _0x5c5aee}from'ckeditor5/src/core.js';function _0x51e1(){const _0x406ccd=['_initCtx','downcast','4658616PdnOLu','configElement','#uc-icon-arrow-down','uc-config','pluginName','destroy','for','fromCharCode','join','data-uc-image-id','execute','cleanupImage','get','5667128GsVpBt','schema','afterInit','config','document','replaceImageSource','locale','_ctxElement','contentLanguage','uploadcare.uploader','model','isRegistered','once','requires','_initImageProcessingIndicator','render','10BKqHSp','view','\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','_initConversion','_initSchema','imageInline','href','insertImage','editing','5529720ctMaVm','input[uploadcare-file-input]','commands','imageBlock','closeMax','UploadcareEditing','body','conversion','isOfficialPlugin','appendChild','extend','upcast','map','attributeToAttribute','uploadcare','uploadcareImageId','getSelectedElement','4986201XTyuCE','isPremiumPlugin','removeAttribute','editor','uploader','5qLYIkI','elementToAttribute','true','_initConfig','uc-upload-ctx-provider','selection','add','uploadcareImageReplace','_configElement','254917NOtoOT','3529276RmosQE','uploadcare.pubkey','iconHrefResolver','ctxElement','remove','PictureEditing','5771682XfYudC','getAttribute','querySelector','listenTo','init'];_0x51e1=function(){return _0x406ccd;};return _0x51e1();}import{Dialog as _0x411cac}from'ckeditor5/src/ui.js';function _0x1d9f(_0x24cadd,_0x6d91ca){const _0x51e1e0=_0x51e1();return _0x1d9f=function(_0x1d9f69,_0x333651){_0x1d9f69=_0x1d9f69-0x130;let _0x307a6d=_0x51e1e0[_0x1d9f69];return _0x307a6d;},_0x1d9f(_0x24cadd,_0x6d91ca);}import{createElement as _0x79d33e,global as _0x14e748,uid as _0x5a4703}from'ckeditor5/src/utils.js';import _0x3de206 from'./uploadcarecommand.js';import _0x31844a from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1de05c}from'./utils/editingutils.js';export default class i extends _0x5c5aee{[_0x4b3c4d(0x13b)]=null;[_0x4b3c4d(0x15e)]=null;static get[_0x4b3c4d(0x14e)](){const _0x29b286=_0x4b3c4d;return _0x29b286(0x175);}static get[_0x4b3c4d(0x164)](){const _0x378d93=_0x4b3c4d;return[_0x378d93(0x142),_0x31844a,_0x411cac];}static get[_0x4b3c4d(0x178)](){return!0x0;}static get[_0x4b3c4d(0x182)](){return!0x0;}get[_0x4b3c4d(0x14b)](){const _0x37091b=_0x4b3c4d;return this[_0x37091b(0x13b)];}get[_0x4b3c4d(0x140)](){const _0x1e6b23=_0x4b3c4d;return this[_0x1e6b23(0x15e)];}[_0x4b3c4d(0x147)](){const _0xe54f4f=_0x4b3c4d,_0x3e2824=this[_0xe54f4f(0x131)];_0x3e2824[_0xe54f4f(0x172)][_0xe54f4f(0x139)](_0xe54f4f(0x17e),new _0x3de206(_0x3e2824));}[_0x4b3c4d(0x159)](){const _0x572edb=_0x4b3c4d;this[_0x572edb(0x16b)](),this[_0x572edb(0x16a)](),this[_0x572edb(0x136)](),this[_0x572edb(0x148)](),this[_0x572edb(0x165)](),this[_0x572edb(0x146)](this[_0x572edb(0x131)],_0x572edb(0x14f),()=>{const _0x177944=_0x572edb;this[_0x177944(0x13b)]&&(this[_0x177944(0x13b)][_0x177944(0x141)](),this[_0x177944(0x13b)]=null),this[_0x177944(0x15e)]&&(this[_0x177944(0x15e)][_0x177944(0x141)](),this[_0x177944(0x15e)]=null);const _0x214159=_0x14e748[_0x177944(0x15b)][_0x177944(0x145)](_0x177944(0x171));_0x214159&&_0x214159[_0x177944(0x141)]();}),async function(_0x1d249a){const _0x2a1643=_0x393b66([0x72,0x62,0x54,0x4c,0x70,0x33,0x32,0x55,0x43,0x45,0x75,0x69,0x79,0x6d,0x66,0x36,0x6c,0x30,0x50,0x52,0x5a,0x47,0x4b,0x6a,0x44,0x76,0x48,0x4a,0x73,0x63,0x74,0x59,0x39,0x4f,0x4d,0x68,0x53,0x64,0x67,0x61,0x78,0x38,0x41,0x51,0x31,0x6f,0x42,0x4e,0x7a,0x57,0x65,0x46,0x6b,0x37,0x58,0x56,0x71,0x49,0x77,0x34,0x35,0x6e]),_0x2a477f=0x3918baf8,_0xda339=0x391fdda0^_0x2a477f,_0x3466c9=window[_0x393b66([0x44,0x61,0x74,0x65])][_0x393b66([0x6e,0x6f,0x77])](),_0x451e87=_0x1d249a[_0x393b66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x564345=new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24378b=>{_0x451e87[_0x393b66([0x6f,0x6e,0x63,0x65])](_0x393b66([0x72,0x65,0x61,0x64,0x79]),_0x24378b);}),_0x1533cc={[_0x393b66([0x6b,0x74,0x79])]:_0x393b66([0x45,0x43]),[_0x393b66([0x75,0x73,0x65])]:_0x393b66([0x73,0x69,0x67]),[_0x393b66([0x63,0x72,0x76])]:_0x393b66([0x50,0x2d,0x32,0x35,0x36]),[_0x393b66([0x78])]:_0x393b66([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]),[_0x393b66([0x79])]:_0x393b66([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]),[_0x393b66([0x61,0x6c,0x67])]:_0x393b66([0x45,0x53,0x32,0x35,0x36])},_0x38747b=_0x451e87[_0x393b66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x393b66([0x67,0x65,0x74])](_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xad4c84(){let _0x3abcbf,_0x496bd3=null,_0x805d7a=null;try{if(_0x38747b==_0x393b66([0x47,0x50,0x4c]))return _0x393b66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3abcbf=_0x4ac6a1(),!_0x3abcbf)return _0x393b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3abcbf[_0x393b66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x805d7a=_0x4d1fbe(_0x3abcbf[_0x393b66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3abcbf[_0x393b66([0x6a,0x74,0x69])])),await _0x4b58b0()?_0x2d3a9b()?_0x464731()?_0x393b66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39a942()?(_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x393b66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x496bd3=_0x404831(_0x393b66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x393b66([0x74,0x72,0x69,0x61,0x6c])&&(_0x496bd3=_0x404831(_0x393b66([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x908a3d()):_0x393b66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x393b66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x393b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x56a3d5){return _0x393b66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x464731(){const _0x2de7d3=[_0x393b66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x393b66([0x74,0x72,0x69,0x61,0x6c])][_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3466c9/0x3e8:0xe10*_0xda339;return _0x3abcbf[_0x393b66([0x65,0x78,0x70])]<_0x2de7d3;}function _0x2d3a9b(){const _0x17cdf5=_0x3abcbf[_0x393b66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17cdf5&&(!!_0x17cdf5[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393b66([0x2a]))||!!_0x17cdf5[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393b66([0x55,0x50,0x4c,0x43])));}function _0x39a942(){const _0x2212aa=_0x1d9f,_0x3fea83=_0x3abcbf[_0x393b66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fea83||0x0==_0x3fea83[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57da67}=new URL(window[_0x393b66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2212aa(0x16d)]);if(_0x3fea83[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57da67))return!0x0;const _0x2c206c=_0x57da67[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e]));return _0x3fea83[_0x393b66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x462a7b=>_0x462a7b[_0x393b66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x393b66([0x2a])))[_0x393b66([0x6d,0x61,0x70])](_0x4a11e6=>_0x4a11e6[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e])))[_0x393b66([0x73,0x6f,0x6d,0x65])](_0x2899e6=>_0x2c206c[_0x393b66([0x65,0x76,0x65,0x72,0x79])]((_0x575d20,_0x45e458)=>_0x2899e6[_0x45e458]===_0x575d20||_0x2899e6[_0x45e458]===_0x393b66([0x2a])));}function _0x908a3d(){return _0x496bd3&&_0x805d7a?new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29066c,_0x2841a1)=>{_0x496bd3[_0x393b66([0x74,0x68,0x65,0x6e])](_0x29066c,_0x2841a1),_0x805d7a[_0x393b66([0x74,0x68,0x65,0x6e])](_0x33856a=>{_0x33856a!=_0x393b66([0x56,0x61,0x6c,0x69,0x64])&&_0x29066c(_0x33856a);},_0x2841a1);}):_0x496bd3||_0x805d7a||_0x393b66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d1fbe(_0x4d4b23,_0x42729d){return new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x358547=>{if(_0x18bcc5())return _0x358547(_0x393b66([0x56,0x61,0x6c,0x69,0x64]));_0x4d8c77(),_0x451e87[_0x393b66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x393b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x374036=!0x1;const _0x50390f=_0x5a4703();function _0x4f42b9(_0xf51959){return!!_0xf51959&&(typeof _0xf51959===_0x393b66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf51959===_0x393b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf51959[_0x393b66([0x74,0x68,0x65,0x6e])]===_0x393b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf51959[_0x393b66([0x63,0x61,0x74,0x63,0x68])]===_0x393b66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15f0f0(_0x4487bf){_0x5c078c(_0x4487bf)[_0x393b66([0x74,0x68,0x65,0x6e])](_0x54d59e=>{if(!_0x54d59e||_0x54d59e[_0x393b66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x393b66([0x6f,0x6b]))return _0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49574e(_0xe86b6b(_0x50390f+_0x42729d))!=_0x54d59e[_0x393b66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x393b66([0x56,0x61,0x6c,0x69,0x64]);})[_0x393b66([0x74,0x68,0x65,0x6e])](_0x58bf0c=>(_0x41ee35(),_0x58bf0c),()=>{const _0x185acc=_0x356897();return null==_0x185acc?(_0x41ee35(),_0x393b66([0x56,0x61,0x6c,0x69,0x64])):_0x393b66(_0x3466c9-_0x185acc>(0x1d143ef8^_0x2a477f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x393b66([0x74,0x68,0x65,0x6e])](_0x358547)[_0x393b66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x358547(_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f2acc=0x392e5478^_0x2a477f;function _0x41ee35(){const _0x27afb5=_0x393b66([0x6c,0x6c,0x63,0x74,0x2d])+_0x49574e(_0xe86b6b(_0x4d4b23)),_0x2b4fda=_0x5e0766(_0x49574e(window[_0x393b66([0x4d,0x61,0x74,0x68])][_0x393b66([0x63,0x65,0x69,0x6c])](_0x3466c9/_0x1f2acc)));window[_0x393b66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x393b66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27afb5,_0x2b4fda);}function _0x356897(){const _0xc9ee8b=_0x393b66([0x6c,0x6c,0x63,0x74,0x2d])+_0x49574e(_0xe86b6b(_0x4d4b23)),_0x55d4cc=window[_0x393b66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x393b66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc9ee8b);return _0x55d4cc?window[_0x393b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e0766(_0x55d4cc),0x10)*_0x1f2acc:null;}function _0x5c078c(_0x1a570c){return new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56c8f6,_0x11b147)=>{_0x1a570c[_0x393b66([0x74,0x68,0x65,0x6e])](_0x56c8f6,_0x11b147),window[_0x393b66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11b147,0x39196e38^_0x2a477f);});}}_0x451e87[_0x393b66([0x6f,0x6e])](_0x393b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x87c363,_0x29e6d9)=>{if(_0x29e6d9[0x0]!=_0x4d4b23)return _0x358547(_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29e6d9[0x1]={..._0x29e6d9[0x1],[_0x393b66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50390f};},{[_0x393b66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x393b66([0x68,0x69,0x67,0x68])}),_0x451e87[_0x393b66([0x6f,0x6e])](_0x393b66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2905b0=>{_0x4f42b9(_0x2905b0[_0x393b66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x374036=!0x0,_0x15f0f0(_0x2905b0[_0x393b66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x393b66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x393b66([0x6c,0x6f,0x77])}),_0x564345[_0x393b66([0x74,0x68,0x65,0x6e])](()=>{_0x374036||_0x358547(_0x393b66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18bcc5(){return _0x451e87[_0x393b66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x393b66([0x76,0x69,0x65,0x77])][_0x393b66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x393b66([0x61,0x75,0x74,0x6f]);}function _0x4d8c77(){_0x451e87[_0x393b66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x393b66([0x76,0x69,0x65,0x77])][_0x393b66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x393b66([0x61,0x75,0x74,0x6f]);}}function _0x404831(_0x22d2e5){const _0x5ae2ff=[new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ef6d2=>setTimeout(_0x1ef6d2,0x39118434^_0x2a477f)),_0x564345[_0x393b66([0x74,0x68,0x65,0x6e])](()=>new window[(_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f1d3e=>{let _0x56308a=0x0;_0x451e87[_0x393b66([0x6d,0x6f,0x64,0x65,0x6c])][_0x393b66([0x6f,0x6e])](_0x393b66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x404fe0,_0x728cda)=>{_0x728cda[0x0][_0x393b66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56308a++,_0x56308a==(0x3918bb00^_0x2a477f)&&(_0x7f1d3e(),_0x404fe0[_0x393b66([0x6f,0x66,0x66])]());});}))];return window[_0x393b66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x393b66([0x72,0x61,0x63,0x65])](_0x5ae2ff)[_0x393b66([0x74,0x68,0x65,0x6e])](()=>_0x22d2e5);}async function _0x2ce325(){await _0x564345,_0x451e87[_0x393b66([0x6d,0x6f,0x64,0x65,0x6c])][_0x393b66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x159b9c,_0x451e87[_0x393b66([0x6d,0x6f,0x64,0x65,0x6c])][_0x393b66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x159b9c,_0x451e87[_0x393b66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x393b66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54f332(_0x15f248){const _0xe25e0d=_0x1d03af();_0x451e87[_0xe25e0d]=_0x393b66([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15f248,_0x15f248!=_0x393b66([0x56,0x61,0x6c,0x69,0x64])&&_0x2ce325();}function _0x1d03af(){const _0x350a9e=window[_0x393b66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x393b66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x393b66([0x6e,0x6f,0x77])]())[_0x393b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x393b66([0x2e]),'');let _0x35a526=_0x393b66([0x72]);for(let _0x4a83bb=0x0;_0x4a83bb<_0x350a9e[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a83bb+=0x2){let _0x260a39=window[_0x393b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x350a9e[_0x393b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a83bb,_0x4a83bb+0x2));_0x260a39>=_0x2a1643[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x260a39-=_0x2a1643[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x35a526+=_0x2a1643[_0x260a39];}return _0x35a526;}function _0x4ac6a1(){const _0x17f43a=_0x38747b[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e]));if(0x3!=_0x17f43a[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a3420(_0x17f43a[0x1]);function _0x1a3420(_0x5bac01){const _0x26e947=_0x409292(_0x5bac01);return _0x26e947&&_0x10d82e()?_0x26e947:null;function _0x10d82e(){const _0x5aceca=_0x26e947[_0x393b66([0x6a,0x74,0x69])],_0x1bffaf=window[_0x393b66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5aceca[_0x393b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5aceca[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x207ec3={..._0x26e947,[_0x393b66([0x6a,0x74,0x69])]:_0x5aceca[_0x393b66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5aceca[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x207ec3[_0x393b66([0x76,0x63])],_0xe86b6b(_0x207ec3)==_0x1bffaf;}}}async function _0x4b58b0(){let _0x196ac0=!0x0;try{const _0x307339=_0x38747b[_0x393b66([0x73,0x70,0x6c,0x69,0x74])](_0x393b66([0x2e])),[_0x4d73ce,_0xe77dd3,_0x47a7ff]=_0x307339;return _0x4fa4fa(_0x4d73ce),await _0x544733(_0x4d73ce,_0xe77dd3,_0x47a7ff),_0x196ac0;}catch(_0x592dc2){return!0x1;}function _0x4fa4fa(_0x22291a){const _0x346ba8=_0x409292(_0x22291a);_0x346ba8&&_0x346ba8[_0x393b66([0x61,0x6c,0x67])]==_0x393b66([0x45,0x53,0x32,0x35,0x36])||(_0x196ac0=!0x1);}async function _0x544733(_0x4425ef,_0x3bf0cc,_0x5689c0){const _0x7a1a4a=window[_0x393b66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x393b66([0x66,0x72,0x6f,0x6d])](_0x27188a(_0x5689c0),_0x33aec1=>_0x33aec1[_0x393b66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x150cf2=new window[(_0x393b66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x393b66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4425ef+_0x393b66([0x2e])+_0x3bf0cc),_0x53e374=window[_0x393b66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x393b66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53e374)return;const _0x1e5bfb=await _0x53e374[_0x393b66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x393b66([0x6a,0x77,0x6b]),_0x1533cc,{[_0x393b66([0x6e,0x61,0x6d,0x65])]:_0x393b66([0x45,0x43,0x44,0x53,0x41]),[_0x393b66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x393b66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x393b66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53e374[_0x393b66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x393b66([0x6e,0x61,0x6d,0x65])]:_0x393b66([0x45,0x43,0x44,0x53,0x41]),[_0x393b66([0x68,0x61,0x73,0x68])]:{[_0x393b66([0x6e,0x61,0x6d,0x65])]:_0x393b66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e5bfb,_0x7a1a4a,_0x150cf2)||(_0x196ac0=!0x1);}}function _0x409292(_0x31b436){return _0x31b436[_0x393b66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x393b66([0x65,0x79]))?JSON[_0x393b66([0x70,0x61,0x72,0x73,0x65])](_0x27188a(_0x31b436)):null;}function _0x27188a(_0x3c7898){return window[_0x393b66([0x61,0x74,0x6f,0x62])](_0x3c7898[_0x393b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x393b66([0x2b]))[_0x393b66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x393b66([0x2f])));}function _0xe86b6b(_0x44bdcf){let _0x2dc0cf=0x1505;function _0x1342b4(_0x155296){for(let _0x666477=0x0;_0x666477<_0x155296[_0x393b66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x666477++){const _0x537e3e=_0x155296[_0x393b66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x666477);_0x2dc0cf=(_0x2dc0cf<<0x5)+_0x2dc0cf+_0x537e3e,_0x2dc0cf&=_0x2dc0cf;}}function _0xcf1273(_0x3bb13f){Array[_0x393b66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3bb13f)?_0x3bb13f[_0x393b66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcf1273):_0x3bb13f&&typeof _0x3bb13f==_0x393b66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x393b66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3bb13f)[_0x393b66([0x73,0x6f,0x72,0x74])]()[_0x393b66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x116222,_0x769641])=>{_0x1342b4(_0x116222),_0xcf1273(_0x769641);}):_0x1342b4(window[_0x393b66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3bb13f));}return _0xcf1273(_0x44bdcf),_0x2dc0cf>>>0x0;}function _0x49574e(_0x16870e){return _0x16870e[_0x393b66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x393b66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x393b66([0x30]));}function _0x5e0766(_0xf6543c){return _0xf6543c[_0x393b66([0x73,0x70,0x6c,0x69,0x74])]('')[_0x393b66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x393b66([0x6a,0x6f,0x69,0x6e])]('');}function _0x159b9c(){}function _0x393b66(_0x21f4cd){const _0x3602e3=_0x1d9f;return _0x21f4cd[_0x3602e3(0x17c)](_0x3eebec=>String[_0x3602e3(0x151)](_0x3eebec))[_0x3602e3(0x152)]('');}_0x54f332(await _0xad4c84());}(this);}[_0x4b3c4d(0x16b)](){const _0x23c3a9=_0x4b3c4d,_0x218a8f=this[_0x23c3a9(0x131)][_0x23c3a9(0x161)][_0x23c3a9(0x158)];_0x218a8f[_0x23c3a9(0x162)](_0x23c3a9(0x173))&&_0x218a8f[_0x23c3a9(0x17a)](_0x23c3a9(0x173),{'allowAttributes':[_0x23c3a9(0x17f)]}),_0x218a8f[_0x23c3a9(0x162)](_0x23c3a9(0x16c))&&_0x218a8f[_0x23c3a9(0x17a)](_0x23c3a9(0x16c),{'allowAttributes':[_0x23c3a9(0x17f)]});}[_0x4b3c4d(0x16a)](){const _0x47d205=_0x4b3c4d,_0x9de889=this[_0x47d205(0x131)];_0x9de889[_0x47d205(0x177)][_0x47d205(0x150)](_0x47d205(0x149))[_0x47d205(0x17d)]({'model':_0x47d205(0x17f),'view':_0x47d205(0x153)}),_0x9de889[_0x47d205(0x177)][_0x47d205(0x150)](_0x47d205(0x17b))[_0x47d205(0x134)]({'model':{'key':_0x47d205(0x17f),'value':_0x4cf039=>_0x4cf039[_0x47d205(0x144)](_0x47d205(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1ff187=_0x9de889[_0x47d205(0x172)][_0x47d205(0x156)](_0x47d205(0x15c));_0x1ff187&&this[_0x47d205(0x146)](_0x1ff187,_0x47d205(0x155),(_0x12fac4,[_0x46210e,_0xf05d56])=>{const _0x5375a2=_0x47d205;_0x46210e[_0x5375a2(0x130)](_0x5375a2(0x17f),_0xf05d56);});}[_0x4b3c4d(0x136)](){const _0x22afd6=_0x4b3c4d,_0x98d388=this[_0x22afd6(0x131)][_0x22afd6(0x15a)][_0x22afd6(0x156)](_0x22afd6(0x160))||{},_0x569a5d=this[_0x22afd6(0x131)][_0x22afd6(0x15a)][_0x22afd6(0x156)](_0x22afd6(0x13e))||'';this[_0x22afd6(0x13b)]=_0x79d33e(_0x14e748[_0x22afd6(0x15b)],_0x22afd6(0x14d),{..._0x98d388,'pubkey':_0x569a5d,'ctx-name':_0x22afd6(0x132),'sourceList':'','imgOnly':_0x22afd6(0x135),'removeCopyright':_0x22afd6(0x135),'localeName':this[_0x22afd6(0x131)][_0x22afd6(0x15d)][_0x22afd6(0x15f)],'externalSourcesEmbedCss':_0x22afd6(0x169)}),this[_0x22afd6(0x13b)][_0x22afd6(0x13f)]=_0x2c1032=>{const _0x1a785e=_0x22afd6;if(_0x1a785e(0x174)==_0x2c1032)return _0x1a785e(0x14c);},_0x14e748[_0x22afd6(0x15b)][_0x22afd6(0x176)][_0x22afd6(0x179)](this[_0x22afd6(0x13b)]);}[_0x4b3c4d(0x148)](){const _0x2e41e5=_0x4b3c4d;this[_0x2e41e5(0x15e)]=_0x79d33e(_0x14e748[_0x2e41e5(0x15b)],_0x2e41e5(0x137),{'ctx-name':_0x2e41e5(0x132)}),_0x14e748[_0x2e41e5(0x15b)][_0x2e41e5(0x176)][_0x2e41e5(0x179)](this[_0x2e41e5(0x15e)]);}[_0x4b3c4d(0x165)](){const _0x23c1f1=_0x4b3c4d,_0x47ee27=this[_0x23c1f1(0x131)][_0x23c1f1(0x172)][_0x23c1f1(0x156)](_0x23c1f1(0x16e));_0x47ee27&&this[_0x23c1f1(0x146)](_0x47ee27,_0x23c1f1(0x154),()=>{const _0x43f3eb=_0x23c1f1,_0x1d2dbb=this[_0x43f3eb(0x131)][_0x43f3eb(0x161)][_0x43f3eb(0x15b)][_0x43f3eb(0x138)][_0x43f3eb(0x180)]();_0x1d2dbb&&_0x1d2dbb[_0x43f3eb(0x144)](_0x43f3eb(0x17f))&&this[_0x43f3eb(0x131)][_0x43f3eb(0x16f)][_0x43f3eb(0x168)][_0x43f3eb(0x163)](_0x43f3eb(0x166),()=>{const _0x45034e=_0x43f3eb;_0x1de05c(this[_0x45034e(0x131)],_0x1d2dbb);});});const _0x1f1fd0=this[_0x23c1f1(0x131)][_0x23c1f1(0x172)][_0x23c1f1(0x156)](_0x23c1f1(0x13a));_0x1f1fd0&&this[_0x23c1f1(0x146)](_0x1f1fd0,_0x23c1f1(0x154),()=>{const _0x3edfe1=_0x23c1f1,_0x4756fa=this[_0x3edfe1(0x131)][_0x3edfe1(0x161)][_0x3edfe1(0x15b)][_0x3edfe1(0x138)][_0x3edfe1(0x180)]();_0x4756fa&&_0x4756fa[_0x3edfe1(0x144)](_0x3edfe1(0x17f))&&this[_0x3edfe1(0x131)][_0x3edfe1(0x16f)][_0x3edfe1(0x168)][_0x3edfe1(0x163)](_0x3edfe1(0x166),()=>{const _0x1f5533=_0x3edfe1;_0x1de05c(this[_0x1f5533(0x131)],_0x4756fa);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x36ae57,ObservableMixin as _0x3309b9}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4d8e08}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1ea9c2}from'ckeditor5/src/icons.js';import _0x4e897f from'./uploadcareimageeditformview.js';import _0x4b986f from'../../utils/uploadutils.js';import{getImageUrls as _0x295a59,getImageDimension as _0x2dbbb4}from'../../utils/editingutils.js';import{isAncestor as _0x1301da}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3309b9(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x310a96,_0x4026c7,_0x45fbd5){super(),this['_editor']=_0x310a96,this['_dialog']=_0x4026c7,this['_imageElement']=_0x45fbd5,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 _0x3b4036=this['_imageElement'],_0x5608fb=_0x3b4036['getAttribute']('uploadcareImageId'),_0x55ba16=_0x3b4036['getAttribute']('src');if(_0x5608fb)await this['_loadImageInfo'](_0x5608fb,_0x55ba16);else{if(this['_imageCache']['has'](_0x55ba16)){const _0x3352d6=this['_imageCache']['get'](_0x55ba16);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3352d6['url'],this['imageDimension']=_0x3352d6['dimension'],this['imageId']=_0x3352d6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x21dedc}=this['_editor'],t=_0x21dedc['t'],_0x3c18dd=new _0x4e897f(_0x21dedc,this['imageStatus'],this['_attributes']);_0x3c18dd['bind']('status')['to'](this,'imageStatus'),_0x3c18dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c18dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c18dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c18dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1ea9c2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c18dd,'position':_0x4d8e08['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c18dd['focus']();},'onHide':()=>{_0x3c18dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3c6735=>!_0x1301da(_0x3c6735,_0x3c18dd['element'])}});}['_loadImageInfo'](_0x184c8d,_0x242fe5){return _0x4b986f['getInfo'](_0x184c8d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1520d5=>{const {width:_0x39230f,height:_0xe9a6b5}=_0x1520d5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x242fe5,this['imageDimension']={'width':_0x39230f,'height':_0xe9a6b5},this['imageId']=_0x184c8d;})['catch'](_0x53592a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53592a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x312b0f,_0x127286){return this['_getImageAsFile'](_0x312b0f)['then'](_0x817f97=>_0x4b986f['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x127286['signal'],'file':_0x817f97,'onProgress':_0x4756ab=>{_0x4756ab&&_0x4756ab['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4756ab['value']));}}))['then'](_0x5d5407=>{const {width:_0x326378,height:_0x3b58c5}=_0x5d5407['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5d5407['cdnUrl'],this['imageDimension']={'width':_0x326378,'height':_0x3b58c5},this['imageId']=_0x5d5407['uuid'],this['imageUploadProgress']=null;const _0x57f7fe=_0x312b0f['getAttribute']('src');this['_imageCache']['set'](_0x57f7fe,{'id':_0x5d5407['uuid'],'url':_0x5d5407['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2c3c3e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c3c3e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1c6480,_0x2d70b5){_0x1c6480['on']('apply',(_0x5205d3,_0x328005)=>{this['_replaceImage'](_0x2d70b5,_0x328005['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1c6480['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1c6480['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x248eac,_0x105bf1,_0x41788f){const _0x3c74bd=this['_editor'],{width:_0x39d591,height:_0x709cc7}=_0x2dbbb4(_0x105bf1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5ebd91,imageSources:_0x34242d}=_0x295a59(_0x105bf1,_0x39d591);_0x3c74bd['model']['change'](_0x1c7ab9=>{if('$graveyard'===_0x248eac['root']['rootName']){_0x3c74bd['execute']('insertImage',{'imageType':_0x248eac['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x248eac['getAttributes']()),'uploadcareImageId':_0x41788f,'src':_0x5ebd91,'sources':_0x34242d,'width':_0x39d591,'height':_0x709cc7}});const _0x9306ba=_0x248eac['getChildren']();_0x248eac=_0x3c74bd['model']['document']['selection']['getSelectedElement']();for(const _0x4e581d of _0x9306ba)_0x1c7ab9['append'](_0x1c7ab9['cloneElement'](_0x4e581d),_0x248eac);}else _0x1c7ab9['setSelection'](_0x248eac,'on'),_0x3c74bd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x248eac['getAttributes']()),'uploadcareImageId':_0x41788f,'src':_0x5ebd91,'sources':_0x34242d,'width':_0x39d591,'height':_0x709cc7},_0x248eac);_0x1c7ab9['setSelection'](_0x248eac,'on');});}async['_getImageAsFile'](_0x508292){const _0x3df23d=_0x36ae57['window'],_0x358895=_0x36ae57['document']['location']['href'],_0x2251e6=new _0x3df23d['URL'](_0x508292['getAttribute']('src'),_0x358895);if('data:'===_0x2251e6['protocol']){const _0x4f508b=_0x2251e6['href']['split'](','),_0x4aa3bd=_0x4f508b[0x0]['match'](/:(.*?);/)[0x1],_0x48789c=_0x4aa3bd['split']('/')[0x1],_0x27c060=_0x3df23d['atob'](_0x4f508b[_0x4f508b['length']-0x1]);let _0x52375d=_0x27c060['length'];const _0x153cd0=new _0x3df23d['Uint8Array'](_0x52375d);for(;_0x52375d--;)_0x153cd0[_0x52375d]=_0x27c060['charCodeAt'](_0x52375d);return new _0x3df23d['File']([_0x153cd0],'image.'+_0x48789c,{'type':_0x4aa3bd});}const _0x3cacab=_0x2251e6['href']['split']('/'),_0x59f901=_0x3cacab[_0x3cacab['length']-0x1],_0x10a28d=_0x59f901['split']('.')[0x1];return _0x3df23d['fetch'](_0x2251e6['href'])['then'](_0x498f77=>_0x498f77['clone']()['blob']())['then'](_0x19865f=>new _0x3df23d['File']([_0x19865f],_0x59f901,{'type':'image/'+_0x10a28d}));}}
23
+ import{global as _0x28b124,ObservableMixin as _0x524c00}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x215600}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x6f787}from'ckeditor5/src/icons.js';import _0x587ded from'./uploadcareimageeditformview.js';import _0x456aef from'../../utils/uploadutils.js';import{getImageUrls as _0xbbeccc,getImageDimension as _0x519b1f}from'../../utils/editingutils.js';import{isAncestor as _0x352fdb}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x524c00(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4033df,_0x447992,_0x53795a){super(),this['_editor']=_0x4033df,this['_dialog']=_0x447992,this['_imageElement']=_0x53795a,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 _0x2904af=this['_imageElement'],_0x203b78=_0x2904af['getAttribute']('uploadcareImageId'),_0x175703=_0x2904af['getAttribute']('src');if(_0x203b78)await this['_loadImageInfo'](_0x203b78,_0x175703);else{if(this['_imageCache']['has'](_0x175703)){const _0xe1ce55=this['_imageCache']['get'](_0x175703);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe1ce55['url'],this['imageDimension']=_0xe1ce55['dimension'],this['imageId']=_0xe1ce55['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4a38ca}=this['_editor'],t=_0x4a38ca['t'],_0x1f8eeb=new _0x587ded(_0x4a38ca,this['imageStatus'],this['_attributes']);_0x1f8eeb['bind']('status')['to'](this,'imageStatus'),_0x1f8eeb['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1f8eeb['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1f8eeb['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1f8eeb,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x6f787,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1f8eeb,'position':_0x215600['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1f8eeb['focus']();},'onHide':()=>{_0x1f8eeb['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x53ad40=>!_0x352fdb(_0x53ad40,_0x1f8eeb['element'])}});}['_loadImageInfo'](_0x2e6b37,_0x4a4b90){return _0x456aef['getInfo'](_0x2e6b37,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x566380=>{const {width:_0x38eef5,height:_0x2c081a}=_0x566380['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a4b90,this['imageDimension']={'width':_0x38eef5,'height':_0x2c081a},this['imageId']=_0x2e6b37;})['catch'](_0x24d250=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x24d250['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x10c7c3,_0x4e9967){return this['_getImageAsFile'](_0x10c7c3)['then'](_0x29a60c=>_0x456aef['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4e9967['signal'],'file':_0x29a60c,'onProgress':_0x128152=>{_0x128152&&_0x128152['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x128152['value']));}}))['then'](_0x489165=>{const {width:_0x30ea65,height:_0x2aa1d6}=_0x489165['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x489165['cdnUrl'],this['imageDimension']={'width':_0x30ea65,'height':_0x2aa1d6},this['imageId']=_0x489165['uuid'],this['imageUploadProgress']=null;const _0x14d3c6=_0x10c7c3['getAttribute']('src');this['_imageCache']['set'](_0x14d3c6,{'id':_0x489165['uuid'],'url':_0x489165['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x221646=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x221646['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xe60b7e,_0x457ebb){_0xe60b7e['on']('apply',(_0x4c8907,_0x5c66bd)=>{this['_replaceImage'](_0x457ebb,_0x5c66bd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xe60b7e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xe60b7e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xd6d4c4,_0x3c2b86,_0x3cc9b8){const _0x42e5f4=this['_editor'],{width:_0x9be1b,height:_0x9604b4}=_0x519b1f(_0x3c2b86,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57c00f,imageSources:_0x3180ff}=_0xbbeccc(_0x3c2b86,_0x9be1b);_0x42e5f4['model']['change'](_0x556d9f=>{if('$graveyard'===_0xd6d4c4['root']['rootName']){_0x42e5f4['execute']('insertImage',{'imageType':_0xd6d4c4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xd6d4c4['getAttributes']()),'uploadcareImageId':_0x3cc9b8,'src':_0x57c00f,'sources':_0x3180ff,'width':_0x9be1b,'height':_0x9604b4}});const _0x4be859=_0xd6d4c4['getChildren']();_0xd6d4c4=_0x42e5f4['model']['document']['selection']['getSelectedElement']();for(const _0x4b9454 of _0x4be859)_0x556d9f['append'](_0x556d9f['cloneElement'](_0x4b9454),_0xd6d4c4);}else _0x556d9f['setSelection'](_0xd6d4c4,'on'),_0x42e5f4['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xd6d4c4['getAttributes']()),'uploadcareImageId':_0x3cc9b8,'src':_0x57c00f,'sources':_0x3180ff,'width':_0x9be1b,'height':_0x9604b4},_0xd6d4c4);_0x556d9f['setSelection'](_0xd6d4c4,'on');});}async['_getImageAsFile'](_0x37e7ad){const _0x32a2a9=_0x28b124['window'],_0x2fac38=_0x28b124['document']['location']['href'],_0x28d61d=new _0x32a2a9['URL'](_0x37e7ad['getAttribute']('src'),_0x2fac38);if('data:'===_0x28d61d['protocol']){const _0x4e936d=_0x28d61d['href']['split'](','),_0x3c72c6=_0x4e936d[0x0]['match'](/:(.*?);/)[0x1],_0x2839c5=_0x3c72c6['split']('/')[0x1],_0xf2fa6f=_0x32a2a9['atob'](_0x4e936d[_0x4e936d['length']-0x1]);let _0x40b021=_0xf2fa6f['length'];const _0x3b3ac1=new _0x32a2a9['Uint8Array'](_0x40b021);for(;_0x40b021--;)_0x3b3ac1[_0x40b021]=_0xf2fa6f['charCodeAt'](_0x40b021);return new _0x32a2a9['File']([_0x3b3ac1],'image.'+_0x2839c5,{'type':_0x3c72c6});}const _0x1b0481=_0x28d61d['href']['split']('/'),_0x5d85dd=_0x1b0481[_0x1b0481['length']-0x1],_0x321b8c=_0x5d85dd['split']('.')[0x1];return _0x32a2a9['fetch'](_0x28d61d['href'])['then'](_0x36bc4c=>_0x36bc4c['clone']()['blob']())['then'](_0x593a44=>new _0x32a2a9['File']([_0x593a44],_0x5d85dd,{'type':'image/'+_0x321b8c}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x20b5b8,_0x21b3f5){const _0x6f467f=_0x365d,_0x42b82f=_0x20b5b8();while(!![]){try{const _0x59e063=-parseInt(_0x6f467f(0x147))/0x1+parseInt(_0x6f467f(0x141))/0x2*(parseInt(_0x6f467f(0x13f))/0x3)+parseInt(_0x6f467f(0x145))/0x4+parseInt(_0x6f467f(0x142))/0x5*(-parseInt(_0x6f467f(0x14a))/0x6)+parseInt(_0x6f467f(0x13e))/0x7+parseInt(_0x6f467f(0x13d))/0x8*(parseInt(_0x6f467f(0x13c))/0x9)+-parseInt(_0x6f467f(0x14b))/0xa;if(_0x59e063===_0x21b3f5)break;else _0x42b82f['push'](_0x42b82f['shift']());}catch(_0x26c2f4){_0x42b82f['push'](_0x42b82f['shift']());}}}(_0x126e,0x893ed));function _0x365d(_0x1b36b0,_0x5e2a53){const _0x126e39=_0x126e();return _0x365d=function(_0x365d4e,_0x349745){_0x365d4e=_0x365d4e-0x13a;let _0x1f94d5=_0x126e39[_0x365d4e];return _0x1f94d5;},_0x365d(_0x1b36b0,_0x5e2a53);}import{View as _0x477f91}from'ckeditor5/src/ui.js';export default class tt extends _0x477f91{constructor(_0x40b0b3,_0x33cf98){const _0x17561b=_0x365d;super(_0x40b0b3);const _0x4de0e2=this[_0x17561b(0x148)];this[_0x17561b(0x13b)](_0x17561b(0x146),''),this[_0x17561b(0x13a)]({'tag':_0x17561b(0x144),'attributes':{..._0x33cf98,'class':[_0x17561b(0x149),_0x17561b(0x143)],'ctx-name':_0x17561b(0x140),'cdn-url':_0x4de0e2['to'](_0x17561b(0x146))}});}}function _0x126e(){const _0x321c01=['909FATCIN','67568Whgevy','5596675QSaCoB','2160954lRcSsm','image-edit','2xVKkLW','5ecvLts','ck-uploadcare-theme','uc-cloud-image-editor','4116680HWNrhU','imageSrc','523245tkCxOx','bindTemplate','uc-light','6021822omWxth','13130200beodSr','setTemplate','set'];_0x126e=function(){return _0x321c01;};return _0x126e();}
23
+ function _0x5a2a(){const _0x3b48a0=['setTemplate','130556wDOOyF','uc-light','1030TOCJnF','uc-cloud-image-editor','set','116388IVQshN','1394328dexnZk','45439Hndqmz','290759glRWDS','image-edit','imageSrc','bindTemplate','ck-uploadcare-theme','9kExPCr','18441yOrwDa','2RfOAYk','1595970fkMuQR'];_0x5a2a=function(){return _0x3b48a0;};return _0x5a2a();}function _0x9bc8(_0x592e63,_0x2f8e92){const _0x5a2aa4=_0x5a2a();return _0x9bc8=function(_0x9bc8eb,_0x755c03){_0x9bc8eb=_0x9bc8eb-0x1ad;let _0x59f522=_0x5a2aa4[_0x9bc8eb];return _0x59f522;},_0x9bc8(_0x592e63,_0x2f8e92);}(function(_0x505367,_0x12bea8){const _0x375ae2=_0x9bc8,_0x306456=_0x505367();while(!![]){try{const _0x2fac38=-parseInt(_0x375ae2(0x1af))/0x1*(parseInt(_0x375ae2(0x1b7))/0x2)+-parseInt(_0x375ae2(0x1b5))/0x3*(parseInt(_0x375ae2(0x1ba))/0x4)+parseInt(_0x375ae2(0x1b8))/0x5+-parseInt(_0x375ae2(0x1ad))/0x6+parseInt(_0x375ae2(0x1b0))/0x7+-parseInt(_0x375ae2(0x1ae))/0x8+-parseInt(_0x375ae2(0x1b6))/0x9*(-parseInt(_0x375ae2(0x1bc))/0xa);if(_0x2fac38===_0x12bea8)break;else _0x306456['push'](_0x306456['shift']());}catch(_0x2978f1){_0x306456['push'](_0x306456['shift']());}}}(_0x5a2a,0x394ed));import{View as _0xf8201b}from'ckeditor5/src/ui.js';export default class tt extends _0xf8201b{constructor(_0x437877,_0x2cc8ea){const _0x386834=_0x9bc8;super(_0x437877);const _0xcf0a0b=this[_0x386834(0x1b3)];this[_0x386834(0x1be)](_0x386834(0x1b2),''),this[_0x386834(0x1b9)]({'tag':_0x386834(0x1bd),'attributes':{..._0x2cc8ea,'class':[_0x386834(0x1bb),_0x386834(0x1b4)],'ctx-name':_0x386834(0x1b1),'cdn-url':_0xcf0a0b['to'](_0x386834(0x1b2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x21ee53,IconView as at,View as _0xe4eabb}from'ckeditor5/src/ui.js';export default class rt extends _0xe4eabb{constructor(_0x57b064){super(_0x57b064);const t=_0x57b064['t'];this['set']('errorType',null);const _0x2d4a1b=new _0x21ee53(_0x57b064);_0x2d4a1b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2d4a1b['withText']=!0x0,_0x2d4a1b['class']='ck-button-action',_0x2d4a1b['on']('execute',()=>{this['fire']('retry');}),_0x2d4a1b['bind']('isVisible')['to'](this,'errorType',_0x5c49cd=>'NotFound'!==_0x5c49cd);const _0x25f314=new at();_0x25f314['content']=et,_0x25f314['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xb773ac=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':[_0x25f314,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xb773ac['to']('errorType',_0x1e47ef=>t('NotFound'!==_0x1e47ef?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2d4a1b]},{'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 _0x38867e,IconView as at,View as _0x5484b0}from'ckeditor5/src/ui.js';export default class rt extends _0x5484b0{constructor(_0x1670df){super(_0x1670df);const t=_0x1670df['t'];this['set']('errorType',null);const _0x18c18d=new _0x38867e(_0x1670df);_0x18c18d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x18c18d['withText']=!0x0,_0x18c18d['class']='ck-button-action',_0x18c18d['on']('execute',()=>{this['fire']('retry');}),_0x18c18d['bind']('isVisible')['to'](this,'errorType',_0x1d6f52=>'NotFound'!==_0x1d6f52);const _0x4ec961=new at();_0x4ec961['content']=et,_0x4ec961['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4dce34=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':[_0x4ec961,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4dce34['to']('errorType',_0x24edc6=>t('NotFound'!==_0x24edc6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x18c18d]},{'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 _0x341a9b,View as _0x416171}from'ckeditor5/src/ui.js';export default class ta extends _0x416171{constructor(_0x3f7ae1){super(_0x3f7ae1);const t=_0x3f7ae1['t'],_0x3234bc=this['bindTemplate'],_0x1cfc65=new _0x341a9b();_0x1cfc65['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':[_0x1cfc65,{'text':_0x3234bc['to']('imageUploadProgress',_0x2b92cb=>t('Loading\x20image...')+'\x20('+(_0x2b92cb||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 _0x5412a4,View as _0x47c2eb}from'ckeditor5/src/ui.js';export default class ta extends _0x47c2eb{constructor(_0x43d1ee){super(_0x43d1ee);const t=_0x43d1ee['t'],_0x1a15f2=this['bindTemplate'],_0x2efb3a=new _0x5412a4();_0x2efb3a['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':[_0x2efb3a,{'text':_0x1a15f2['to']('imageUploadProgress',_0x34b2e8=>t('Loading\x20image...')+'\x20('+(_0x34b2e8||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 _0x52a10c=_0xe928;(function(_0x252ff6,_0x4c2d64){const _0x1d62ef=_0xe928,_0x3867db=_0x252ff6();while(!![]){try{const _0x58e23f=-parseInt(_0x1d62ef(0x121))/0x1+-parseInt(_0x1d62ef(0x109))/0x2*(-parseInt(_0x1d62ef(0x135))/0x3)+parseInt(_0x1d62ef(0x106))/0x4*(parseInt(_0x1d62ef(0x122))/0x5)+parseInt(_0x1d62ef(0x12c))/0x6+-parseInt(_0x1d62ef(0x123))/0x7*(parseInt(_0x1d62ef(0x134))/0x8)+-parseInt(_0x1d62ef(0x112))/0x9*(-parseInt(_0x1d62ef(0x139))/0xa)+parseInt(_0x1d62ef(0x10f))/0xb*(-parseInt(_0x1d62ef(0x110))/0xc);if(_0x58e23f===_0x4c2d64)break;else _0x3867db['push'](_0x3867db['shift']());}catch(_0x36c148){_0x3867db['push'](_0x3867db['shift']());}}}(_0x4328,0x45309));import{View as _0xb68994}from'ckeditor5/src/ui.js';function _0xe928(_0x260083,_0x17380a){const _0x4328a7=_0x4328();return _0xe928=function(_0xe9283d,_0xaa16bd){_0xe9283d=_0xe9283d-0x106;let _0x242d6b=_0x4328a7[_0xe9283d];return _0x242d6b;},_0xe928(_0x260083,_0x17380a);}import _0x1ce3d0 from'./uploadcareimageeditformloadingview.js';import _0x7f8e7b from'./uploadcareimageeditformerrorview.js';import _0x119818 from'./uploadcareimageeditformeditingview.js';import _0x441a45 from'../../utils/dialogfocusmanagerview.js';function _0x4328(){const _0x4fe8c8=['render','apply','306510VbRGDo','querySelector','_items','toLowerCase','getFocusableElement','error','7090237yniRng','12aNlOLi','addEventListener','431622KhGwEr','element','_errorView','_setView','ready','_addErrorViewListeners','uc-cloud-image-editor','_editingView','div','status','once','length','set','fire','nodeName','278182hVgGvB','636505oGEEBE','105FjRRaR','_waitForImageEditorComponent','target','add','clear','_focusableView','setTemplate','createCollection','disconnect','2583942snLHtr','_loadingView','detail','addMany','change:status','uploading','filter','ck-uploadcare-form','98184LnfvCm','6qJQtkF','cdnUrl','_addUploadcareImageEditorListeners','retry','30yDRPkY','cancel','addedNodes','ck-reset_all-excluded','observe','focus','16jbkvaF'];_0x4328=function(){return _0x4fe8c8;};return _0x4328();}import'../../../theme/uploadcare-form.css';export default class Z extends _0x441a45{[_0x52a10c(0x10b)];[_0x52a10c(0x12d)];[_0x52a10c(0x114)];[_0x52a10c(0x119)];[_0x52a10c(0x128)];constructor(_0x4874b1,_0x25f36c,_0x215a88){const _0x274bda=_0x52a10c;super(_0x4874b1),this[_0x274bda(0x10b)]=this[_0x274bda(0x12a)](),this[_0x274bda(0x12d)]=new _0x1ce3d0(_0x4874b1),this[_0x274bda(0x114)]=new _0x7f8e7b(_0x4874b1),this[_0x274bda(0x119)]=new _0x119818(_0x4874b1,_0x215a88),this[_0x274bda(0x128)]=new _0xb68994(_0x4874b1),this[_0x274bda(0x128)][_0x274bda(0x129)](this[_0x274bda(0x10d)]()),this[_0x274bda(0x11e)](_0x274bda(0x11b),_0x25f36c),this[_0x274bda(0x129)]({'tag':_0x274bda(0x11a),'attributes':{'class':['ck',_0x274bda(0x13c),_0x274bda(0x133)],'tabindex':'-1'},'children':this[_0x274bda(0x10b)]}),this[_0x274bda(0x115)](),this[_0x274bda(0x11c)](_0x274bda(0x107),()=>{const _0x1d26a5=_0x274bda;this[_0x1d26a5(0x124)](this[_0x1d26a5(0x113)],_0x24e84c=>{const _0x11a40c=_0x1d26a5;this[_0x11a40c(0x137)](_0x24e84c);});}),this['on'](_0x274bda(0x130),()=>{const _0x5e7d1c=_0x274bda;this[_0x5e7d1c(0x115)]();}),this[_0x274bda(0x117)]();}[_0x52a10c(0x13e)](){const _0x325cf6=_0x52a10c;this[_0x325cf6(0x113)][_0x325cf6(0x13e)]();}[_0x52a10c(0x115)](){const _0x3a745c=_0x52a10c;switch(this[_0x3a745c(0x10b)][_0x3a745c(0x127)](),this[_0x3a745c(0x11b)]){case _0x3a745c(0x131):this[_0x3a745c(0x10b)][_0x3a745c(0x126)](this[_0x3a745c(0x12d)]);break;case _0x3a745c(0x10e):this[_0x3a745c(0x10b)][_0x3a745c(0x126)](this[_0x3a745c(0x114)]);break;case _0x3a745c(0x116):this[_0x3a745c(0x10b)][_0x3a745c(0x12f)]([this[_0x3a745c(0x119)],this[_0x3a745c(0x128)]]);}}[_0x52a10c(0x124)](_0x55b3fb,_0x2f64ff){const _0x30a39f=_0x52a10c,_0xade030=_0x30a39f(0x118),_0x513c24=_0x55b3fb[_0x30a39f(0x10a)](_0xade030);if(_0x513c24)return _0x2f64ff(_0x513c24);const _0x40f5e9=new MutationObserver(_0x5a8269=>{const _0x2ad074=_0x30a39f,_0x461adb=_0x5a8269[_0x2ad074(0x132)](_0x2c6dc9=>_0x2c6dc9[_0x2ad074(0x125)]===_0x55b3fb&&_0x2c6dc9[_0x2ad074(0x13b)][_0x2ad074(0x11d)]>0x0&&_0x2c6dc9[_0x2ad074(0x13b)][0x0][_0x2ad074(0x120)][_0x2ad074(0x10c)]()===_0xade030);_0x461adb[_0x2ad074(0x11d)]&&(_0x40f5e9[_0x2ad074(0x12b)](),_0x2f64ff(_0x461adb[0x0][_0x2ad074(0x13b)][0x0]));});_0x40f5e9[_0x30a39f(0x13d)](_0x55b3fb,{'childList':!0x0,'subtree':!0x0});}[_0x52a10c(0x137)](_0x1a94aa){const _0x4cad28=_0x52a10c;_0x1a94aa[_0x4cad28(0x111)](_0x4cad28(0x108),_0x442ebf=>{const _0x1e2ade=_0x4cad28;this[_0x1e2ade(0x11f)](_0x1e2ade(0x108),{'imageSrc':_0x442ebf[_0x1e2ade(0x12e)][_0x1e2ade(0x136)]});}),_0x1a94aa[_0x4cad28(0x111)](_0x4cad28(0x13a),()=>{const _0xb3b0ea=_0x4cad28;this[_0xb3b0ea(0x11f)](_0xb3b0ea(0x13a));});}[_0x52a10c(0x117)](){const _0x3ad4a4=_0x52a10c;this[_0x3ad4a4(0x114)]['on'](_0x3ad4a4(0x138),()=>{const _0x4f0310=_0x3ad4a4;this[_0x4f0310(0x11f)](_0x4f0310(0x138));});}}
23
+ const _0x3e4a8c=_0x396e;(function(_0x4efa6c,_0x3fd9a2){const _0x34800f=_0x396e,_0x139565=_0x4efa6c();while(!![]){try{const _0x196301=-parseInt(_0x34800f(0x16a))/0x1+parseInt(_0x34800f(0x19c))/0x2+-parseInt(_0x34800f(0x17c))/0x3*(parseInt(_0x34800f(0x178))/0x4)+-parseInt(_0x34800f(0x177))/0x5*(parseInt(_0x34800f(0x170))/0x6)+-parseInt(_0x34800f(0x172))/0x7*(parseInt(_0x34800f(0x16d))/0x8)+parseInt(_0x34800f(0x19b))/0x9+parseInt(_0x34800f(0x175))/0xa*(parseInt(_0x34800f(0x186))/0xb);if(_0x196301===_0x3fd9a2)break;else _0x139565['push'](_0x139565['shift']());}catch(_0x4ee38a){_0x139565['push'](_0x139565['shift']());}}}(_0x2218,0x49e9f));function _0x2218(){const _0x2c109a=['fire','error','3786RMGaLr','addedNodes','2647043SvntwC','setTemplate','getFocusableElement','1140nrQsvu','render','4145SUCJVI','236YLFIWH','_errorView','apply','change:status','4782qqolmf','div','target','_setView','_addErrorViewListeners','_waitForImageEditorComponent','ck-uploadcare-form','ck-reset_all-excluded','retry','_editingView','74382sgAKQO','nodeName','toLowerCase','add','element','observe','_focusableView','_items','_loadingView','filter','uploading','querySelector','uc-cloud-image-editor','detail','once','focus','length','cdnUrl','clear','cancel','ready','4406220CASVil','626700lwthuf','addEventListener','addMany','status','_addUploadcareImageEditorListeners','disconnect','275753IFhTxl','createCollection','set','8mVNOAa'];_0x2218=function(){return _0x2c109a;};return _0x2218();}import{View as _0x4ab85d}from'ckeditor5/src/ui.js';import _0x393885 from'./uploadcareimageeditformloadingview.js';import _0x9146c4 from'./uploadcareimageeditformerrorview.js';function _0x396e(_0xb485ed,_0xa4d5fe){const _0x221812=_0x2218();return _0x396e=function(_0x396e7e,_0x461c07){_0x396e7e=_0x396e7e-0x169;let _0x1f1407=_0x221812[_0x396e7e];return _0x1f1407;},_0x396e(_0xb485ed,_0xa4d5fe);}import _0x2cbde0 from'./uploadcareimageeditformeditingview.js';import _0x11d91 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x11d91{[_0x3e4a8c(0x18d)];[_0x3e4a8c(0x18e)];[_0x3e4a8c(0x179)];[_0x3e4a8c(0x185)];[_0x3e4a8c(0x18c)];constructor(_0x1a954b,_0x5b097f,_0x16a80c){const _0x54e3c8=_0x3e4a8c;super(_0x1a954b),this[_0x54e3c8(0x18d)]=this[_0x54e3c8(0x16b)](),this[_0x54e3c8(0x18e)]=new _0x393885(_0x1a954b),this[_0x54e3c8(0x179)]=new _0x9146c4(_0x1a954b),this[_0x54e3c8(0x185)]=new _0x2cbde0(_0x1a954b,_0x16a80c),this[_0x54e3c8(0x18c)]=new _0x4ab85d(_0x1a954b),this[_0x54e3c8(0x18c)][_0x54e3c8(0x173)](this[_0x54e3c8(0x174)]()),this[_0x54e3c8(0x16c)](_0x54e3c8(0x19f),_0x5b097f),this[_0x54e3c8(0x173)]({'tag':_0x54e3c8(0x17d),'attributes':{'class':['ck',_0x54e3c8(0x183),_0x54e3c8(0x182)],'tabindex':'-1'},'children':this[_0x54e3c8(0x18d)]}),this[_0x54e3c8(0x17f)](),this[_0x54e3c8(0x194)](_0x54e3c8(0x176),()=>{const _0x385238=_0x54e3c8;this[_0x385238(0x181)](this[_0x385238(0x18a)],_0x9ea9a7=>{const _0x1bee8d=_0x385238;this[_0x1bee8d(0x1a0)](_0x9ea9a7);});}),this['on'](_0x54e3c8(0x17b),()=>{const _0xa25258=_0x54e3c8;this[_0xa25258(0x17f)]();}),this[_0x54e3c8(0x180)]();}[_0x3e4a8c(0x195)](){const _0x4069ae=_0x3e4a8c;this[_0x4069ae(0x18a)][_0x4069ae(0x195)]();}[_0x3e4a8c(0x17f)](){const _0xeb5fd3=_0x3e4a8c;switch(this[_0xeb5fd3(0x18d)][_0xeb5fd3(0x198)](),this[_0xeb5fd3(0x19f)]){case _0xeb5fd3(0x190):this[_0xeb5fd3(0x18d)][_0xeb5fd3(0x189)](this[_0xeb5fd3(0x18e)]);break;case _0xeb5fd3(0x16f):this[_0xeb5fd3(0x18d)][_0xeb5fd3(0x189)](this[_0xeb5fd3(0x179)]);break;case _0xeb5fd3(0x19a):this[_0xeb5fd3(0x18d)][_0xeb5fd3(0x19e)]([this[_0xeb5fd3(0x185)],this[_0xeb5fd3(0x18c)]]);}}[_0x3e4a8c(0x181)](_0x16d62b,_0x2a6e5b){const _0x12542f=_0x3e4a8c,_0x110df9=_0x12542f(0x192),_0x1e850c=_0x16d62b[_0x12542f(0x191)](_0x110df9);if(_0x1e850c)return _0x2a6e5b(_0x1e850c);const _0x34d147=new MutationObserver(_0x3052ba=>{const _0x5a547c=_0x12542f,_0x5596f5=_0x3052ba[_0x5a547c(0x18f)](_0x1281c8=>_0x1281c8[_0x5a547c(0x17e)]===_0x16d62b&&_0x1281c8[_0x5a547c(0x171)][_0x5a547c(0x196)]>0x0&&_0x1281c8[_0x5a547c(0x171)][0x0][_0x5a547c(0x187)][_0x5a547c(0x188)]()===_0x110df9);_0x5596f5[_0x5a547c(0x196)]&&(_0x34d147[_0x5a547c(0x169)](),_0x2a6e5b(_0x5596f5[0x0][_0x5a547c(0x171)][0x0]));});_0x34d147[_0x12542f(0x18b)](_0x16d62b,{'childList':!0x0,'subtree':!0x0});}[_0x3e4a8c(0x1a0)](_0x39005e){const _0x2d021c=_0x3e4a8c;_0x39005e[_0x2d021c(0x19d)](_0x2d021c(0x17a),_0x2f1e78=>{const _0x51aa82=_0x2d021c;this[_0x51aa82(0x16e)](_0x51aa82(0x17a),{'imageSrc':_0x2f1e78[_0x51aa82(0x193)][_0x51aa82(0x197)]});}),_0x39005e[_0x2d021c(0x19d)](_0x2d021c(0x199),()=>{const _0x565bf2=_0x2d021c;this[_0x565bf2(0x16e)](_0x565bf2(0x199));});}[_0x3e4a8c(0x180)](){const _0x41aa6a=_0x3e4a8c;this[_0x41aa6a(0x179)]['on'](_0x41aa6a(0x184),()=>{const _0x3bb6d9=_0x41aa6a;this[_0x3bb6d9(0x16e)](_0x3bb6d9(0x184));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x67591f=_0x11a6;(function(_0x449156,_0x650ad8){const _0x3c7f04=_0x11a6,_0x5b1a28=_0x449156();while(!![]){try{const _0xd330d9=parseInt(_0x3c7f04(0x206))/0x1+parseInt(_0x3c7f04(0x20a))/0x2+parseInt(_0x3c7f04(0x20d))/0x3*(-parseInt(_0x3c7f04(0x1fe))/0x4)+-parseInt(_0x3c7f04(0x20e))/0x5+-parseInt(_0x3c7f04(0x1ff))/0x6*(-parseInt(_0x3c7f04(0x1fa))/0x7)+-parseInt(_0x3c7f04(0x1f9))/0x8+-parseInt(_0x3c7f04(0x208))/0x9;if(_0xd330d9===_0x650ad8)break;else _0x5b1a28['push'](_0x5b1a28['shift']());}catch(_0x5d3e14){_0x5b1a28['push'](_0x5b1a28['shift']());}}}(_0x599a,0xadc92));import{Command as _0x4df814}from'ckeditor5/src/core.js';import{Dialog as _0x1979e7}from'ckeditor5/src/ui.js';function _0x599a(){const _0x131272=['isEnabled','isActive','1028943SkjorN','1698730wUPqDX','selection','imageBlock','uploadcare.allowExternalImagesEditing','document','plugins','model','imageEditController','element','editor','2013064BAXwjp','4753aNObCQ','refresh','execute','get','4DhxokG','1092JkOBZT','requires','bind','getSelectedElement','_isEditable','unbind','imageInline','412976ZjBTqx','config','2005821bllXlf','set','2665002tJjEKy'];_0x599a=function(){return _0x131272;};return _0x599a();}function _0x11a6(_0x348fcf,_0x417aec){const _0x599a0a=_0x599a();return _0x11a6=function(_0x11a653,_0x23cb27){_0x11a653=_0x11a653-0x1f4;let _0x4f5c84=_0x599a0a[_0x11a653];return _0x4f5c84;},_0x11a6(_0x348fcf,_0x417aec);}import _0x2dae64 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x828023}from'../utils/editingutils.js';export default class J extends _0x4df814{[_0x67591f(0x1f6)];static get[_0x67591f(0x200)](){return[_0x1979e7];}[_0x67591f(0x203)];constructor(_0x3f7f54){const _0x16b2f3=_0x67591f;super(_0x3f7f54),this[_0x16b2f3(0x1f6)]=void 0x0,this[_0x16b2f3(0x203)]=_0x828023(_0x3f7f54[_0x16b2f3(0x207)][_0x16b2f3(0x1fd)](_0x16b2f3(0x211))||[]),this[_0x16b2f3(0x209)]({'isActive':!0x1});}[_0x67591f(0x1fb)](){const _0x4baaac=_0x67591f,_0x151468=this[_0x4baaac(0x1f8)][_0x4baaac(0x1f5)][_0x4baaac(0x212)][_0x4baaac(0x20f)][_0x4baaac(0x202)]();this[_0x4baaac(0x20b)]=this[_0x4baaac(0x203)](_0x151468);}[_0x67591f(0x1fc)](){const _0x343eeb=_0x67591f;this[_0x343eeb(0x1f6)]&&(this[_0x343eeb(0x204)](_0x343eeb(0x20c)),this[_0x343eeb(0x1f6)]=void 0x0);const _0x25efc9=this[_0x343eeb(0x1f8)][_0x343eeb(0x1f5)][_0x343eeb(0x212)][_0x343eeb(0x20f)][_0x343eeb(0x202)]();_0x25efc9&&(_0x25efc9['is'](_0x343eeb(0x1f7),_0x343eeb(0x210))||_0x25efc9['is'](_0x343eeb(0x1f7),_0x343eeb(0x205)))&&(this[_0x343eeb(0x1f6)]=new _0x2dae64(this[_0x343eeb(0x1f8)],this[_0x343eeb(0x1f8)][_0x343eeb(0x1f4)][_0x343eeb(0x1fd)](_0x1979e7),_0x25efc9),this[_0x343eeb(0x201)](_0x343eeb(0x20c))['to'](this[_0x343eeb(0x1f6)],_0x343eeb(0x20c)));}}
23
+ function _0x90ab(_0x542a49,_0x23362a){const _0x2e6dc5=_0x2e6d();return _0x90ab=function(_0x90ab78,_0x24c3a3){_0x90ab78=_0x90ab78-0x1be;let _0x521781=_0x2e6dc5[_0x90ab78];return _0x521781;},_0x90ab(_0x542a49,_0x23362a);}const _0x3d6c46=_0x90ab;(function(_0x14bb4c,_0x4fb074){const _0x1d8d2c=_0x90ab,_0x5711e6=_0x14bb4c();while(!![]){try{const _0x2b2b94=-parseInt(_0x1d8d2c(0x1c1))/0x1*(-parseInt(_0x1d8d2c(0x1c0))/0x2)+-parseInt(_0x1d8d2c(0x1d8))/0x3*(-parseInt(_0x1d8d2c(0x1cb))/0x4)+parseInt(_0x1d8d2c(0x1d2))/0x5+parseInt(_0x1d8d2c(0x1cf))/0x6*(-parseInt(_0x1d8d2c(0x1c5))/0x7)+-parseInt(_0x1d8d2c(0x1d3))/0x8*(parseInt(_0x1d8d2c(0x1da))/0x9)+-parseInt(_0x1d8d2c(0x1d9))/0xa*(-parseInt(_0x1d8d2c(0x1ce))/0xb)+-parseInt(_0x1d8d2c(0x1d5))/0xc;if(_0x2b2b94===_0x4fb074)break;else _0x5711e6['push'](_0x5711e6['shift']());}catch(_0x6a83ca){_0x5711e6['push'](_0x5711e6['shift']());}}}(_0x2e6d,0x83eb2));import{Command as _0x3611e5}from'ckeditor5/src/core.js';import{Dialog as _0x5974cc}from'ckeditor5/src/ui.js';import _0x5d80a7 from'./ui/uploadcareimageeditcontroller.js';function _0x2e6d(){const _0x106b2f=['43674eqKjGs','editor','isEnabled','1225755gsuFwM','260952ULseAC','model','3272064vXrtBA','document','imageBlock','3ffUiHE','290FzrGqe','63uKbzGe','execute','_isEditable','plugins','getSelectedElement','refresh','set','uploadcare.allowExternalImagesEditing','14412LIaXmr','33VSxGKM','imageEditController','selection','isActive','203kGurAq','element','get','config','bind','unbind','731144tCliUg','requires','imageInline','222541rzFQEj'];_0x2e6d=function(){return _0x106b2f;};return _0x2e6d();}import{createEditabilityChecker as _0x37bbfd}from'../utils/editingutils.js';export default class J extends _0x3611e5{[_0x3d6c46(0x1c2)];static get[_0x3d6c46(0x1cc)](){return[_0x5974cc];}[_0x3d6c46(0x1dc)];constructor(_0x39afcb){const _0x4cb08e=_0x3d6c46;super(_0x39afcb),this[_0x4cb08e(0x1c2)]=void 0x0,this[_0x4cb08e(0x1dc)]=_0x37bbfd(_0x39afcb[_0x4cb08e(0x1c8)][_0x4cb08e(0x1c7)](_0x4cb08e(0x1bf))||[]),this[_0x4cb08e(0x1be)]({'isActive':!0x1});}[_0x3d6c46(0x1df)](){const _0x18b078=_0x3d6c46,_0x225dff=this[_0x18b078(0x1d0)][_0x18b078(0x1d4)][_0x18b078(0x1d6)][_0x18b078(0x1c3)][_0x18b078(0x1de)]();this[_0x18b078(0x1d1)]=this[_0x18b078(0x1dc)](_0x225dff);}[_0x3d6c46(0x1db)](){const _0x45b6f0=_0x3d6c46;this[_0x45b6f0(0x1c2)]&&(this[_0x45b6f0(0x1ca)](_0x45b6f0(0x1c4)),this[_0x45b6f0(0x1c2)]=void 0x0);const _0x43b7aa=this[_0x45b6f0(0x1d0)][_0x45b6f0(0x1d4)][_0x45b6f0(0x1d6)][_0x45b6f0(0x1c3)][_0x45b6f0(0x1de)]();_0x43b7aa&&(_0x43b7aa['is'](_0x45b6f0(0x1c6),_0x45b6f0(0x1d7))||_0x43b7aa['is'](_0x45b6f0(0x1c6),_0x45b6f0(0x1cd)))&&(this[_0x45b6f0(0x1c2)]=new _0x5d80a7(this[_0x45b6f0(0x1d0)],this[_0x45b6f0(0x1d0)][_0x45b6f0(0x1dd)][_0x45b6f0(0x1c7)](_0x5974cc),_0x43b7aa),this[_0x45b6f0(0x1c9)](_0x45b6f0(0x1c4))['to'](this[_0x45b6f0(0x1c2)],_0x45b6f0(0x1c4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26b255=_0x21dd;(function(_0x6e6a58,_0x8f3727){const _0x410f39=_0x21dd,_0x2b0c8f=_0x6e6a58();while(!![]){try{const _0x1eed29=parseInt(_0x410f39(0xc1))/0x1*(parseInt(_0x410f39(0xb9))/0x2)+-parseInt(_0x410f39(0xb8))/0x3*(parseInt(_0x410f39(0xb2))/0x4)+-parseInt(_0x410f39(0xb5))/0x5*(-parseInt(_0x410f39(0xb7))/0x6)+-parseInt(_0x410f39(0xc2))/0x7+-parseInt(_0x410f39(0xbb))/0x8+parseInt(_0x410f39(0xc5))/0x9*(parseInt(_0x410f39(0xc6))/0xa)+-parseInt(_0x410f39(0xb4))/0xb;if(_0x1eed29===_0x8f3727)break;else _0x2b0c8f['push'](_0x2b0c8f['shift']());}catch(_0x4179c0){_0x2b0c8f['push'](_0x2b0c8f['shift']());}}}(_0x4fad,0xd016f));import{Plugin as _0x5247b0}from'ckeditor5/src/core.js';import{Notification as _0x212f5e}from'ckeditor5/src/ui.js';import _0x5677e9 from'./uploadcareimageeditcommand.js';import _0x459f0f from'./uploadcareimagereplacecommand.js';function _0x21dd(_0x3c336,_0x301130){const _0x4fad33=_0x4fad();return _0x21dd=function(_0x21dd8e,_0x5e6896){_0x21dd8e=_0x21dd8e-0xb1;let _0x3d518c=_0x4fad33[_0x21dd8e];return _0x3d518c;},_0x21dd(_0x3c336,_0x301130);}function _0x4fad(){const _0x13e756=['18qPGgYJ','2114619EceDeI','26vOCDYL','isPremiumPlugin','5080096oKZxFs','uploadcareImageEdit','init','UploadcareImageEditEditing','uploadcareImageReplace','isOfficialPlugin','124783iWmHTg','3040275jZwHYL','commands','ImageEditing','3645630dZwJCJ','40hrVTru','ImageUtils','add','8TiksDj','requires','14932566LLtNSp','2410775BajMzA','pluginName'];_0x4fad=function(){return _0x13e756;};return _0x4fad();}import _0x400c1d from'../uploadcareediting.js';export default class g extends _0x5247b0{static get[_0x26b255(0xb6)](){const _0x1b0eac=_0x26b255;return _0x1b0eac(0xbe);}static get[_0x26b255(0xb3)](){const _0x473e37=_0x26b255;return[_0x400c1d,_0x212f5e,_0x473e37(0xc7),_0x473e37(0xc4)];}static get[_0x26b255(0xc0)](){return!0x0;}static get[_0x26b255(0xba)](){return!0x0;}[_0x26b255(0xbd)](){const _0x570cda=_0x26b255,{editor:_0x560cec}=this;_0x560cec[_0x570cda(0xc3)][_0x570cda(0xb1)](_0x570cda(0xbc),new _0x5677e9(_0x560cec)),_0x560cec[_0x570cda(0xc3)][_0x570cda(0xb1)](_0x570cda(0xbf),new _0x459f0f(_0x560cec));}}
23
+ const _0x40d448=_0x2a33;(function(_0x30bff9,_0x3b79d9){const _0x13248d=_0x2a33,_0x537c56=_0x30bff9();while(!![]){try{const _0x42a402=parseInt(_0x13248d(0x17b))/0x1*(-parseInt(_0x13248d(0x188))/0x2)+-parseInt(_0x13248d(0x184))/0x3+-parseInt(_0x13248d(0x17c))/0x4+parseInt(_0x13248d(0x180))/0x5*(parseInt(_0x13248d(0x17a))/0x6)+parseInt(_0x13248d(0x174))/0x7*(-parseInt(_0x13248d(0x186))/0x8)+parseInt(_0x13248d(0x17e))/0x9+parseInt(_0x13248d(0x183))/0xa*(parseInt(_0x13248d(0x173))/0xb);if(_0x42a402===_0x3b79d9)break;else _0x537c56['push'](_0x537c56['shift']());}catch(_0x337cad){_0x537c56['push'](_0x537c56['shift']());}}}(_0x4845,0x26da0));function _0x4845(){const _0x15dcc0=['462325MWRyRp','ImageEditing','pluginName','800IpEZmJ','137121JvkkyZ','add','16ErFVyR','requires','1828Mefpvc','commands','41129RywWhQ','133427pgKDuu','uploadcareImageEdit','uploadcareImageReplace','init','ImageUtils','isOfficialPlugin','6YYFJgN','149ERxOkA','726592baeDos','isPremiumPlugin','1522926lOCFMd','UploadcareImageEditEditing'];_0x4845=function(){return _0x15dcc0;};return _0x4845();}import{Plugin as _0x33a62e}from'ckeditor5/src/core.js';import{Notification as _0x4a0cc5}from'ckeditor5/src/ui.js';import _0x5c5438 from'./uploadcareimageeditcommand.js';function _0x2a33(_0x2fe1aa,_0x2159c6){const _0x484547=_0x4845();return _0x2a33=function(_0x2a33d3,_0x34a860){_0x2a33d3=_0x2a33d3-0x173;let _0x340287=_0x484547[_0x2a33d3];return _0x340287;},_0x2a33(_0x2fe1aa,_0x2159c6);}import _0x4cba94 from'./uploadcareimagereplacecommand.js';import _0x122eb8 from'../uploadcareediting.js';export default class g extends _0x33a62e{static get[_0x40d448(0x182)](){const _0x326d07=_0x40d448;return _0x326d07(0x17f);}static get[_0x40d448(0x187)](){const _0x52696e=_0x40d448;return[_0x122eb8,_0x4a0cc5,_0x52696e(0x178),_0x52696e(0x181)];}static get[_0x40d448(0x179)](){return!0x0;}static get[_0x40d448(0x17d)](){return!0x0;}[_0x40d448(0x177)](){const _0x6103c1=_0x40d448,{editor:_0xd9dfa1}=this;_0xd9dfa1[_0x6103c1(0x189)][_0x6103c1(0x185)](_0x6103c1(0x175),new _0x5c5438(_0xd9dfa1)),_0xd9dfa1[_0x6103c1(0x189)][_0x6103c1(0x185)](_0x6103c1(0x176),new _0x4cba94(_0xd9dfa1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3b0e65}from'ckeditor5/src/core.js';import{ButtonView as _0x20a84f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x51befd}from'ckeditor5/src/icons.js';import{createElement as _0x43439}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 _0x3b0e65{['_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 _0x46b07f=this['editor'];_0x46b07f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x151ac6=>{const _0x3d6868=_0x46b07f['commands']['get']('uploadcareImageEdit'),_0x234860=new _0x20a84f(_0x151ac6),t=_0x151ac6['t'];return _0x234860['set']({'icon':_0x51befd,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x234860['bind']('isEnabled')['to'](_0x3d6868),_0x234860['bind']('isOn')['to'](_0x3d6868,'isActive'),this['listenTo'](_0x234860,'execute',()=>{_0x46b07f['execute']('uploadcareImageEdit'),_0x46b07f['editing']['view']['focus']();}),_0x234860;}),this['_initConfig']();}['_initConfig'](){const _0x35a7a2=_0x43439(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x35a7a2),this['listenTo'](this['editor'],'destroy',()=>{_0x35a7a2['remove']();});}}
23
+ import{Plugin as _0xdb4aed}from'ckeditor5/src/core.js';import{ButtonView as _0x485e9f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x94fb2c}from'ckeditor5/src/icons.js';import{createElement as _0x3380b3}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 _0xdb4aed{['_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 _0x325fab=this['editor'];_0x325fab['ui']['componentFactory']['add']('uploadcareImageEdit',_0x53efb8=>{const _0x2dd541=_0x325fab['commands']['get']('uploadcareImageEdit'),_0x21b368=new _0x485e9f(_0x53efb8),t=_0x53efb8['t'];return _0x21b368['set']({'icon':_0x94fb2c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x21b368['bind']('isEnabled')['to'](_0x2dd541),_0x21b368['bind']('isOn')['to'](_0x2dd541,'isActive'),this['listenTo'](_0x21b368,'execute',()=>{_0x325fab['execute']('uploadcareImageEdit'),_0x325fab['editing']['view']['focus']();}),_0x21b368;}),this['_initConfig']();}['_initConfig'](){const _0x1246c2=_0x3380b3(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1246c2),this['listenTo'](this['editor'],'destroy',()=>{_0x1246c2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d3ca2=_0x534d;(function(_0x411b33,_0x9b9b61){const _0x4a1ab7=_0x534d,_0x106210=_0x411b33();while(!![]){try{const _0x369e77=parseInt(_0x4a1ab7(0x98))/0x1+-parseInt(_0x4a1ab7(0x90))/0x2*(parseInt(_0x4a1ab7(0x83))/0x3)+-parseInt(_0x4a1ab7(0x94))/0x4*(parseInt(_0x4a1ab7(0x8f))/0x5)+-parseInt(_0x4a1ab7(0x97))/0x6+parseInt(_0x4a1ab7(0x95))/0x7+-parseInt(_0x4a1ab7(0x86))/0x8*(-parseInt(_0x4a1ab7(0x85))/0x9)+-parseInt(_0x4a1ab7(0x92))/0xa*(-parseInt(_0x4a1ab7(0x84))/0xb);if(_0x369e77===_0x9b9b61)break;else _0x106210['push'](_0x106210['shift']());}catch(_0x345dd4){_0x106210['push'](_0x106210['shift']());}}}(_0x40a5,0xa6aa2));function _0x534d(_0x4ccf93,_0x4a52ac){const _0x40a5d1=_0x40a5();return _0x534d=function(_0x534d62,_0x15d245){_0x534d62=_0x534d62-0x82;let _0x530a8d=_0x40a5d1[_0x534d62];return _0x530a8d;},_0x534d(_0x4ccf93,_0x4a52ac);}import{Command as _0x20ab64}from'ckeditor5/src/core.js';export default class O extends _0x20ab64{[_0x1d3ca2(0x96)](){const _0x37b88f=_0x1d3ca2,_0x33a307=this[_0x37b88f(0x8c)][_0x37b88f(0x99)][_0x37b88f(0x89)][_0x37b88f(0x93)][_0x37b88f(0x9b)]();this[_0x37b88f(0x8e)]=Boolean(_0x33a307&&(_0x33a307['is'](_0x37b88f(0x91),_0x37b88f(0x88))||_0x33a307['is'](_0x37b88f(0x91),_0x37b88f(0x8d))));}[_0x1d3ca2(0x87)](_0x3eb3b3){const _0x446e27=_0x1d3ca2,_0x19d46b=this[_0x446e27(0x8c)][_0x446e27(0x99)][_0x446e27(0x89)][_0x446e27(0x93)][_0x446e27(0x9b)]();this[_0x446e27(0x8c)][_0x446e27(0x99)][_0x446e27(0x9a)](_0x34a99b=>{const _0x34c951=_0x446e27;_0x34a99b[_0x34c951(0x82)](_0x3eb3b3,_0x19d46b),_0x34a99b[_0x34c951(0x8b)](_0x34c951(0x9c),_0x19d46b),_0x34a99b[_0x34c951(0x8b)](_0x34c951(0x8a),_0x19d46b);});}}function _0x40a5(){const _0x166c9f=['selection','2012stBcys','711487tVnnSw','refresh','6280938MfeJAO','62525MoRplG','model','change','getSelectedElement','srcset','setAttributes','121749MkcaGQ','11121803xoXpOn','8433hYNkri','2472NvsVaa','execute','imageBlock','document','sizes','removeAttribute','editor','imageInline','isEnabled','11015ihCkLV','32nmSnlU','element','30SmlVoO'];_0x40a5=function(){return _0x166c9f;};return _0x40a5();}
23
+ function _0x373f(_0x869bb7,_0x4b75c1){const _0x3a09f6=_0x3a09();return _0x373f=function(_0x373f5a,_0x3ad081){_0x373f5a=_0x373f5a-0x81;let _0x52b234=_0x3a09f6[_0x373f5a];return _0x52b234;},_0x373f(_0x869bb7,_0x4b75c1);}const _0x5cf5c8=_0x373f;(function(_0x4ca69a,_0x5ca1d2){const _0x462999=_0x373f,_0x390ee8=_0x4ca69a();while(!![]){try{const _0x511383=parseInt(_0x462999(0x92))/0x1+-parseInt(_0x462999(0x8f))/0x2+parseInt(_0x462999(0x98))/0x3*(parseInt(_0x462999(0x85))/0x4)+parseInt(_0x462999(0x94))/0x5+parseInt(_0x462999(0x8e))/0x6*(parseInt(_0x462999(0x87))/0x7)+-parseInt(_0x462999(0x95))/0x8*(-parseInt(_0x462999(0x8a))/0x9)+-parseInt(_0x462999(0x8c))/0xa;if(_0x511383===_0x5ca1d2)break;else _0x390ee8['push'](_0x390ee8['shift']());}catch(_0xd2cc67){_0x390ee8['push'](_0x390ee8['shift']());}}}(_0x3a09,0x746cf));import{Command as _0x2bff9c}from'ckeditor5/src/core.js';function _0x3a09(){const _0x1aec9a=['change','imageBlock','253516TSVIzF','execute','2530855HcANhe','1185992QsMACG','srcset','getSelectedElement','12Bynasl','document','isEnabled','refresh','editor','setAttributes','element','708996fzSqHh','sizes','707sSokZD','selection','removeAttribute','54xbXtew','model','18340080wXnmIP','imageInline','36228xDHydS','1314256pcpzbz'];_0x3a09=function(){return _0x1aec9a;};return _0x3a09();}export default class O extends _0x2bff9c{[_0x5cf5c8(0x81)](){const _0x5e87c1=_0x5cf5c8,_0x2f204b=this[_0x5e87c1(0x82)][_0x5e87c1(0x8b)][_0x5e87c1(0x99)][_0x5e87c1(0x88)][_0x5e87c1(0x97)]();this[_0x5e87c1(0x9a)]=Boolean(_0x2f204b&&(_0x2f204b['is'](_0x5e87c1(0x84),_0x5e87c1(0x91))||_0x2f204b['is'](_0x5e87c1(0x84),_0x5e87c1(0x8d))));}[_0x5cf5c8(0x93)](_0x2dd787){const _0x189dfa=_0x5cf5c8,_0x1543df=this[_0x189dfa(0x82)][_0x189dfa(0x8b)][_0x189dfa(0x99)][_0x189dfa(0x88)][_0x189dfa(0x97)]();this[_0x189dfa(0x82)][_0x189dfa(0x8b)][_0x189dfa(0x90)](_0x9e3dec=>{const _0x25eb3f=_0x189dfa;_0x9e3dec[_0x25eb3f(0x83)](_0x2dd787,_0x1543df),_0x9e3dec[_0x25eb3f(0x89)](_0x25eb3f(0x96),_0x1543df),_0x9e3dec[_0x25eb3f(0x89)](_0x25eb3f(0x86),_0x1543df);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2cb32f=_0xc11b;function _0xc11b(_0x5ab926,_0x381358){var _0x5bf646=_0x5bf6();return _0xc11b=function(_0xc11ba5,_0x2f3def){_0xc11ba5=_0xc11ba5-0x96;var _0x1cf0c4=_0x5bf646[_0xc11ba5];return _0x1cf0c4;},_0xc11b(_0x5ab926,_0x381358);}(function(_0x43e72d,_0x57bf6a){var _0x273352=_0xc11b,_0x4d094d=_0x43e72d();while(!![]){try{var _0xd4170d=parseInt(_0x273352(0x98))/0x1*(parseInt(_0x273352(0x9a))/0x2)+-parseInt(_0x273352(0x99))/0x3+-parseInt(_0x273352(0x96))/0x4+parseInt(_0x273352(0xa1))/0x5*(parseInt(_0x273352(0x97))/0x6)+parseInt(_0x273352(0xa0))/0x7*(-parseInt(_0x273352(0xa5))/0x8)+-parseInt(_0x273352(0x9c))/0x9*(parseInt(_0x273352(0xa3))/0xa)+parseInt(_0x273352(0x9e))/0xb;if(_0xd4170d===_0x57bf6a)break;else _0x4d094d['push'](_0x4d094d['shift']());}catch(_0x199008){_0x4d094d['push'](_0x4d094d['shift']());}}}(_0x5bf6,0xe5372));import{Plugin as _0xf5c67b}from'ckeditor5/src/core.js';import _0x3041fd from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x5c46f2 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xf5c67b{static get[_0x2cb32f(0xa2)](){var _0x17354e=_0x2cb32f;return _0x17354e(0x9b);}static get[_0x2cb32f(0x9d)](){return[_0x3041fd,_0x5c46f2];}static get[_0x2cb32f(0xa4)](){return!0x0;}static get[_0x2cb32f(0x9f)](){return!0x0;}}function _0x5bf6(){var _0xec1aa1=['7281432rqBZCn','6hsMnSF','677621dEOyUE','2328948TifytJ','2NpukkS','UploadcareImageEdit','2287665CHFbYF','requires','53330827ioEjsr','isPremiumPlugin','2637005fjEjld','3937235PgNsPJ','pluginName','50XnSncv','isOfficialPlugin','32dCBHVm'];_0x5bf6=function(){return _0xec1aa1;};return _0x5bf6();}
23
+ var _0x130522=_0x31f5;function _0x1e8e(){var _0x1a393a=['isPremiumPlugin','20566cZOPQX','UploadcareImageEdit','isOfficialPlugin','18OeNoli','13949050Dyssih','8865045nqfHGa','8SnYIKv','4501326ubnARl','requires','pluginName','360mrIhsT','2519760SBasJE','262331tTWrBR','112520pHHUMd'];_0x1e8e=function(){return _0x1a393a;};return _0x1e8e();}(function(_0x2161be,_0x547917){var _0x5c3cf3=_0x31f5,_0x270c29=_0x2161be();while(!![]){try{var _0x400bf9=parseInt(_0x5c3cf3(0x1f7))/0x1*(-parseInt(_0x5c3cf3(0x1f1))/0x2)+parseInt(_0x5c3cf3(0x1f2))/0x3+parseInt(_0x5c3cf3(0x1f8))/0x4+-parseInt(_0x5c3cf3(0x1f0))/0x5+-parseInt(_0x5c3cf3(0x1f6))/0x6+parseInt(_0x5c3cf3(0x1fa))/0x7*(-parseInt(_0x5c3cf3(0x1f5))/0x8)+parseInt(_0x5c3cf3(0x1ee))/0x9*(parseInt(_0x5c3cf3(0x1ef))/0xa);if(_0x400bf9===_0x547917)break;else _0x270c29['push'](_0x270c29['shift']());}catch(_0x5d2c9a){_0x270c29['push'](_0x270c29['shift']());}}}(_0x1e8e,0xe6707));import{Plugin as _0xb18701}from'ckeditor5/src/core.js';import _0x1dfdf9 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x446b6a from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x31f5(_0x3c2bfd,_0x231d96){var _0x1e8e5c=_0x1e8e();return _0x31f5=function(_0x31f507,_0x4f75f8){_0x31f507=_0x31f507-0x1ee;var _0x3adbfb=_0x1e8e5c[_0x31f507];return _0x3adbfb;},_0x31f5(_0x3c2bfd,_0x231d96);}export default class P extends _0xb18701{static get[_0x130522(0x1f4)](){var _0x3321ab=_0x130522;return _0x3321ab(0x1fb);}static get[_0x130522(0x1f3)](){return[_0x1dfdf9,_0x446b6a];}static get[_0x130522(0x1fc)](){return!0x0;}static get[_0x130522(0x1f9)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e7b47=_0x43d4;function _0x43d4(_0x36c4e4,_0x31558f){const _0x44be1e=_0x44be();return _0x43d4=function(_0x43d487,_0x41aad0){_0x43d487=_0x43d487-0x104;let _0x4f39b9=_0x44be1e[_0x43d487];return _0x4f39b9;},_0x43d4(_0x36c4e4,_0x31558f);}function _0x44be(){const _0x59d31f=['Dropbox','expired','_licenseKeyCheckInterval','map','_createMenuBarButtons','trialLimit','UploadcareUI','Insert','ImageInsertUI','1525550gISwoD','init','Facebook','Uploadcare','afterInit','OneDrive','upload','push','featureNotAllowed','config','destroy','_showLicenseError','uploadcareLicenseKeyInvalid','editor','icon','56fjOyWX','isEnabled','get','uploadcareLicenseKeyNotAllowed','shortText','_createToolbarButton','_normalizeConfigSourceList','usageLimit','uploadcare','bind','uploadcareLicenseKeyExpired','_createDropdownButtons','uploadcareLicenseKeyTrialLimit','Local','licenseKey','withText','assetManager','entries','uploadcareLicenseKeyUsageLimit','forEach','isPremiumPlugin','registerIntegration','_getIntegrationKey','GPhotos','plugins','type','has','url','execute','isOfficialPlugin','_createButton','pluginName','tooltip','invalid','domainLimit','label','2565155ixXQlr','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyDomainLimit','text','829518xvjBJz','reduce','evaluationLimit','commands','6JcvodU','locale','245420KEYQmQ','184826fZATgH','uploadcare.uploader.sourceList','Replace','URL','uploadcareLicenseKeyValid','676228uCknzE','isImageSelected','21OYxvxt','4658598uioEiP','GDrive'];_0x44be=function(){return _0x59d31f;};return _0x44be();}(function(_0x2457f4,_0x181da1){const _0x58dc04=_0x43d4,_0x5bad15=_0x2457f4();while(!![]){try{const _0x425d39=-parseInt(_0x58dc04(0x106))/0x1*(parseInt(_0x58dc04(0x109))/0x2)+parseInt(_0x58dc04(0x110))/0x3*(parseInt(_0x58dc04(0x108))/0x4)+parseInt(_0x58dc04(0x14f))/0x5+parseInt(_0x58dc04(0x153))/0x6+parseInt(_0x58dc04(0x10e))/0x7*(-parseInt(_0x58dc04(0x12b))/0x8)+parseInt(_0x58dc04(0x111))/0x9+parseInt(_0x58dc04(0x11c))/0xa;if(_0x425d39===_0x181da1)break;else _0x5bad15['push'](_0x5bad15['shift']());}catch(_0x1c1260){_0x5bad15['push'](_0x5bad15['shift']());}}}(_0x44be,0x7f030));import{Plugin as _0x3a01c9}from'ckeditor5/src/core.js';import{IconDropbox as _0x12e4e6,IconFacebook as _0x58e856,IconGoogleDrive as _0x3cb7b6,IconGooglePhotos as _0x149761,IconUploadcareImageUpload as _0x44ef85,IconUploadcareLink as _0x561ef0,IconOneDrive as _0x5f1fae}from'ckeditor5/src/icons.js';import{ButtonView as _0x43a8c2,MenuBarMenuListItemButtonView as _0x249dcc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x125203}from'./uploadcareconfig.js';import{getTranslation as _0x4b3e52}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x3a01c9{[_0x3e7b47(0x139)];[_0x3e7b47(0x115)];static get[_0x3e7b47(0x14a)](){const _0x41d8fe=_0x3e7b47;return _0x41d8fe(0x119);}static get[_0x3e7b47(0x148)](){return!0x0;}static get[_0x3e7b47(0x13f)](){return!0x0;}[_0x3e7b47(0x11d)](){const _0x1197fb=_0x3e7b47;this[_0x1197fb(0x139)]=this[_0x1197fb(0x129)][_0x1197fb(0x125)][_0x1197fb(0x12d)](_0x1197fb(0x139));const _0x28476b=this[_0x1197fb(0x129)];this[_0x1197fb(0x115)]=setInterval(()=>{const _0x3e88bc=_0x1197fb;let _0x1e5aef;for(const _0x3c0d1c in _0x28476b){const _0x3492d0=_0x3c0d1c,_0x22dc1a=_0x28476b[_0x3492d0];if(_0x3e88bc(0x10d)==_0x22dc1a||_0x3e88bc(0x128)==_0x22dc1a||_0x3e88bc(0x135)==_0x22dc1a||_0x3e88bc(0x151)==_0x22dc1a||_0x3e88bc(0x12e)==_0x22dc1a||_0x3e88bc(0x150)==_0x22dc1a||_0x3e88bc(0x137)==_0x22dc1a||_0x3e88bc(0x13d)==_0x22dc1a){delete _0x28476b[_0x3492d0],_0x1e5aef=_0x22dc1a,clearInterval(this[_0x3e88bc(0x115)]),this[_0x3e88bc(0x115)]=void 0x0;break;}}_0x3e88bc(0x128)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x14c)),_0x3e88bc(0x135)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x114)),_0x3e88bc(0x151)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x14d)),_0x3e88bc(0x12e)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x124),_0x3e88bc(0x11f)),_0x3e88bc(0x150)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x104)),_0x3e88bc(0x137)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x118)),_0x3e88bc(0x13d)==_0x1e5aef&&_0x28476b[_0x3e88bc(0x127)](_0x3e88bc(0x132));},0x3e8);}[_0x3e7b47(0x120)](){const _0x5c4caa=_0x3e7b47,{editor:_0x14b228}=this,_0x420b68=_0x14b228[_0x5c4caa(0x105)][_0x5c4caa(0x12d)](_0x5c4caa(0x133));if(!_0x420b68)return;const _0x488598=this[_0x5c4caa(0x131)](_0x14b228[_0x5c4caa(0x125)][_0x5c4caa(0x12d)](_0x5c4caa(0x10a)))[_0x5c4caa(0x154)]((_0x2042aa,_0x1ade89)=>{const _0x1ddf48=_0x5c4caa,_0x3c8170=this[_0x1ddf48(0x141)](_0x1ade89[_0x1ddf48(0x144)]);return _0x2042aa[_0x3c8170]||(_0x2042aa[_0x3c8170]=[]),_0x2042aa[_0x3c8170][_0x1ddf48(0x123)](_0x1ade89),_0x2042aa;},{});_0x14b228[_0x5c4caa(0x143)][_0x5c4caa(0x145)](_0x5c4caa(0x11b))&&_0x14b228[_0x5c4caa(0x105)][_0x5c4caa(0x12d)](_0x5c4caa(0x133))&&Object[_0x5c4caa(0x13c)](_0x488598)[_0x5c4caa(0x13e)](([_0x404f48,_0x268844])=>{const _0xb68912=_0x5c4caa;_0x14b228[_0xb68912(0x143)][_0xb68912(0x12d)](_0xb68912(0x11b))[_0xb68912(0x140)]({'name':_0x404f48,'observable':()=>_0x420b68,'buttonViewCreator':()=>this[_0xb68912(0x130)](_0x268844),'formViewCreator':()=>this[_0xb68912(0x136)](_0x268844),'menuBarButtonViewCreator':()=>this[_0xb68912(0x117)](_0x268844),'override':_0xb68912(0x13b)!==_0x404f48});});}[_0x3e7b47(0x126)](){const _0x2bfd4e=_0x3e7b47;super[_0x2bfd4e(0x126)](),this[_0x2bfd4e(0x115)]&&clearInterval(this[_0x2bfd4e(0x115)]);}[_0x3e7b47(0x131)](_0x25c3db){const _0xa158eb=_0x3e7b47,{locale:_0xfb47a8}=this[_0xa158eb(0x129)];return _0x25c3db[_0xa158eb(0x116)](_0x6e120b=>{const _0x242773=_0xa158eb,_0x4ca4e4=_0x4b3e52(_0xfb47a8,_0x6e120b,_0x242773(0x11a));switch(_0x6e120b){case _0x125203[_0x242773(0x138)]:return{'icon':_0x44ef85,'type':_0x125203[_0x242773(0x138)],..._0x4ca4e4};case _0x125203[_0x242773(0x10c)]:return{'icon':_0x561ef0,'type':_0x125203[_0x242773(0x10c)],..._0x4ca4e4};case _0x125203[_0x242773(0x113)]:return{'icon':_0x12e4e6,'type':_0x125203[_0x242773(0x113)],..._0x4ca4e4};case _0x125203[_0x242773(0x11e)]:return{'icon':_0x58e856,'type':_0x125203[_0x242773(0x11e)],..._0x4ca4e4};case _0x125203[_0x242773(0x112)]:return{'icon':_0x3cb7b6,'type':_0x125203[_0x242773(0x112)],..._0x4ca4e4};case _0x125203[_0x242773(0x142)]:return{'icon':_0x149761,'type':_0x125203[_0x242773(0x142)],..._0x4ca4e4};case _0x125203[_0x242773(0x121)]:return{'icon':_0x5f1fae,'type':_0x125203[_0x242773(0x121)],..._0x4ca4e4};}});}[_0x3e7b47(0x141)](_0x9a5450){const _0x16ce14=_0x3e7b47;switch(_0x9a5450){case _0x125203[_0x16ce14(0x138)]:return _0x16ce14(0x122);case _0x125203[_0x16ce14(0x10c)]:return _0x16ce14(0x146);default:return _0x16ce14(0x13b);}}[_0x3e7b47(0x149)](_0x307535,_0x13bebd){const _0x355196=_0x3e7b47,_0x548f10=this[_0x355196(0x129)],_0x2d0b0d=new _0x307535(_0x548f10[_0x355196(0x107)]),_0x15b712=_0x548f10[_0x355196(0x105)][_0x355196(0x12d)](_0x355196(0x133));return _0x2d0b0d[_0x355196(0x134)](_0x355196(0x12c))['to'](_0x15b712),_0x2d0b0d['on'](_0x355196(0x147),()=>{const _0x31b233=_0x355196;_0x15b712[_0x31b233(0x147)](_0x13bebd);}),_0x2d0b0d;}[_0x3e7b47(0x130)](_0x1df176){const _0x4ed254=_0x3e7b47,{locale:_0x43c324}=this[_0x4ed254(0x129)],_0x8718a7=this[_0x4ed254(0x129)][_0x4ed254(0x143)][_0x4ed254(0x12d)](_0x4ed254(0x11b)),_0x45876d=_0x1df176[0x0],_0x2ae31b=this[_0x4ed254(0x149)](_0x43a8c2,_0x45876d[_0x4ed254(0x144)]);return _0x2ae31b[_0x4ed254(0x12a)]=_0x45876d[_0x4ed254(0x12a)],_0x2ae31b[_0x4ed254(0x134)](_0x4ed254(0x14e))['to'](_0x8718a7,_0x4ed254(0x10f),_0x4a842b=>_0x4b3e52(_0x43c324,_0x45876d[_0x4ed254(0x144)],_0x4a842b?_0x4ed254(0x10b):_0x4ed254(0x11a))[_0x4ed254(0x152)]),_0x2ae31b[_0x4ed254(0x14b)]=!0x0,_0x2ae31b;}[_0x3e7b47(0x136)](_0x1bef17){const _0x4dc1f7=_0x3e7b47,{locale:_0x27abc6}=this[_0x4dc1f7(0x129)],_0x5eb6dd=this[_0x4dc1f7(0x129)][_0x4dc1f7(0x143)][_0x4dc1f7(0x12d)](_0x4dc1f7(0x11b));return _0x1bef17[_0x4dc1f7(0x116)](_0x14c373=>{const _0x6368ad=_0x4dc1f7,_0x37e9b9=this[_0x6368ad(0x149)](_0x43a8c2,_0x14c373[_0x6368ad(0x144)]);return _0x37e9b9[_0x6368ad(0x13a)]=!0x0,_0x37e9b9[_0x6368ad(0x12a)]=_0x14c373[_0x6368ad(0x12a)],_0x37e9b9[_0x6368ad(0x134)](_0x6368ad(0x14e))['to'](_0x5eb6dd,_0x6368ad(0x10f),_0x1426e7=>_0x4b3e52(_0x27abc6,_0x14c373[_0x6368ad(0x144)],_0x1426e7?_0x6368ad(0x10b):_0x6368ad(0x11a))[_0x6368ad(0x152)]),_0x37e9b9;});}[_0x3e7b47(0x117)](_0xb9a3c9){const _0x398a8a=_0x3e7b47;return _0xb9a3c9[_0x398a8a(0x116)](_0x542e77=>{const _0x196ce9=_0x398a8a,_0x1df3c0=this[_0x196ce9(0x149)](_0x249dcc,_0x542e77[_0x196ce9(0x144)]);return _0x1df3c0[_0x196ce9(0x12a)]=_0x542e77[_0x196ce9(0x12a)],_0x1df3c0[_0x196ce9(0x14e)]=_0x542e77[_0x196ce9(0x12f)],_0x1df3c0;});}}
23
+ function _0x1858(_0x329840,_0x213479){const _0x3c6f59=_0x3c6f();return _0x1858=function(_0x18586a,_0x507a6e){_0x18586a=_0x18586a-0xb4;let _0xc58ac9=_0x3c6f59[_0x18586a];return _0xc58ac9;},_0x1858(_0x329840,_0x213479);}const _0x469b00=_0x1858;function _0x3c6f(){const _0x1451ff=['destroy','init','commands','1583578bMhiyv','get','push','72KxkcyS','URL','uploadcareLicenseKeyNotAllowed','pluginName','97215TxnSSa','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','226271CHfPzG','forEach','uploadcare.uploader.sourceList','Local','uploadcareLicenseKeyExpired','licenseKey','reduce','shortText','isOfficialPlugin','_createToolbarButton','registerIntegration','176530PjSsNW','locale','GPhotos','execute','entries','uploadcareLicenseKeyTrialLimit','_createDropdownButtons','uploadcareLicenseKeyUsageLimit','icon','uploadcare','_showLicenseError','UploadcareUI','_createButton','670248YKVGoD','type','OneDrive','afterInit','assetManager','ImageInsertUI','_getIntegrationKey','plugins','isEnabled','has','Dropbox','bind','796gqXCvn','isPremiumPlugin','tooltip','22EMpTWX','Insert','uploadcareLicenseKeyInvalid','withText','config','isImageSelected','Replace','114YolJAq','invalid','10038UAmylN','GDrive','label','usageLimit','_normalizeConfigSourceList','editor','text','uploadcareLicenseKeyDomainLimit','3915786VkzjLF','domainLimit','evaluationLimit','_licenseKeyCheckInterval','_createMenuBarButtons','Uploadcare','expired','featureNotAllowed','map','Facebook','trialLimit','url','upload'];_0x3c6f=function(){return _0x1451ff;};return _0x3c6f();}(function(_0x5611d8,_0x3ee5c9){const _0x2a4efa=_0x1858,_0x1f7633=_0x5611d8();while(!![]){try{const _0xe9ed2d=-parseInt(_0x2a4efa(0xc1))/0x1+parseInt(_0x2a4efa(0xb7))/0x2+-parseInt(_0x2a4efa(0xf1))/0x3*(-parseInt(_0x2a4efa(0xe5))/0x4)+-parseInt(_0x2a4efa(0xbe))/0x5*(-parseInt(_0x2a4efa(0xef))/0x6)+-parseInt(_0x2a4efa(0xf9))/0x7+-parseInt(_0x2a4efa(0xd9))/0x8*(parseInt(_0x2a4efa(0xba))/0x9)+-parseInt(_0x2a4efa(0xcc))/0xa*(-parseInt(_0x2a4efa(0xe8))/0xb);if(_0xe9ed2d===_0x3ee5c9)break;else _0x1f7633['push'](_0x1f7633['shift']());}catch(_0xdbebc){_0x1f7633['push'](_0x1f7633['shift']());}}}(_0x3c6f,0x633b1));import{Plugin as _0x3ed8bf}from'ckeditor5/src/core.js';import{IconDropbox as _0x8ac6da,IconFacebook as _0x184f45,IconGoogleDrive as _0x7a2b77,IconGooglePhotos as _0x524ee5,IconUploadcareImageUpload as _0x2bfccd,IconUploadcareLink as _0x415393,IconOneDrive as _0x490d30}from'ckeditor5/src/icons.js';import{ButtonView as _0x482249,MenuBarMenuListItemButtonView as _0x2f5b5c}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x59b5af}from'./uploadcareconfig.js';import{getTranslation as _0x1b2d57}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x3ed8bf{[_0x469b00(0xc6)];[_0x469b00(0xfc)];static get[_0x469b00(0xbd)](){const _0x55fb1e=_0x469b00;return _0x55fb1e(0xd7);}static get[_0x469b00(0xc9)](){return!0x0;}static get[_0x469b00(0xe6)](){return!0x0;}[_0x469b00(0xb5)](){const _0x1ba7f8=_0x469b00;this[_0x1ba7f8(0xc6)]=this[_0x1ba7f8(0xf6)][_0x1ba7f8(0xec)][_0x1ba7f8(0xb8)](_0x1ba7f8(0xc6));const _0x843a69=this[_0x1ba7f8(0xf6)];this[_0x1ba7f8(0xfc)]=setInterval(()=>{const _0x2ca164=_0x1ba7f8;let _0x4a6fc6;for(const _0x519451 in _0x843a69){const _0x22e43c=_0x519451,_0x2c1def=_0x843a69[_0x22e43c];if(_0x2ca164(0xbf)==_0x2c1def||_0x2ca164(0xea)==_0x2c1def||_0x2ca164(0xc5)==_0x2c1def||_0x2ca164(0xf8)==_0x2c1def||_0x2ca164(0xbc)==_0x2c1def||_0x2ca164(0xc0)==_0x2c1def||_0x2ca164(0xd1)==_0x2c1def||_0x2ca164(0xd3)==_0x2c1def){delete _0x843a69[_0x22e43c],_0x4a6fc6=_0x2c1def,clearInterval(this[_0x2ca164(0xfc)]),this[_0x2ca164(0xfc)]=void 0x0;break;}}_0x2ca164(0xea)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0xf0)),_0x2ca164(0xc5)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0xff)),_0x2ca164(0xf8)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0xfa)),_0x2ca164(0xbc)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0x100),_0x2ca164(0xfe)),_0x2ca164(0xc0)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0xfb)),_0x2ca164(0xd1)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0x103)),_0x2ca164(0xd3)==_0x4a6fc6&&_0x843a69[_0x2ca164(0xd6)](_0x2ca164(0xf4));},0x3e8);}[_0x469b00(0xdc)](){const _0x5f3ede=_0x469b00,{editor:_0x35d259}=this,_0x251f87=_0x35d259[_0x5f3ede(0xb6)][_0x5f3ede(0xb8)](_0x5f3ede(0xd5));if(!_0x251f87)return;const _0x31e27a=this[_0x5f3ede(0xf5)](_0x35d259[_0x5f3ede(0xec)][_0x5f3ede(0xb8)](_0x5f3ede(0xc3)))[_0x5f3ede(0xc7)]((_0x2dd410,_0x212387)=>{const _0x25bba3=_0x5f3ede,_0x2e9da7=this[_0x25bba3(0xdf)](_0x212387[_0x25bba3(0xda)]);return _0x2dd410[_0x2e9da7]||(_0x2dd410[_0x2e9da7]=[]),_0x2dd410[_0x2e9da7][_0x25bba3(0xb9)](_0x212387),_0x2dd410;},{});_0x35d259[_0x5f3ede(0xe0)][_0x5f3ede(0xe2)](_0x5f3ede(0xde))&&_0x35d259[_0x5f3ede(0xb6)][_0x5f3ede(0xb8)](_0x5f3ede(0xd5))&&Object[_0x5f3ede(0xd0)](_0x31e27a)[_0x5f3ede(0xc2)](([_0x45b30e,_0x407f2a])=>{const _0x75c310=_0x5f3ede;_0x35d259[_0x75c310(0xe0)][_0x75c310(0xb8)](_0x75c310(0xde))[_0x75c310(0xcb)]({'name':_0x45b30e,'observable':()=>_0x251f87,'buttonViewCreator':()=>this[_0x75c310(0xca)](_0x407f2a),'formViewCreator':()=>this[_0x75c310(0xd2)](_0x407f2a),'menuBarButtonViewCreator':()=>this[_0x75c310(0xfd)](_0x407f2a),'override':_0x75c310(0xdd)!==_0x45b30e});});}[_0x469b00(0xb4)](){const _0x5c0e14=_0x469b00;super[_0x5c0e14(0xb4)](),this[_0x5c0e14(0xfc)]&&clearInterval(this[_0x5c0e14(0xfc)]);}[_0x469b00(0xf5)](_0x1316d3){const _0x5acc08=_0x469b00,{locale:_0x33d7d0}=this[_0x5acc08(0xf6)];return _0x1316d3[_0x5acc08(0x101)](_0xb1517a=>{const _0x19e7a8=_0x5acc08,_0x387c0e=_0x1b2d57(_0x33d7d0,_0xb1517a,_0x19e7a8(0xe9));switch(_0xb1517a){case _0x59b5af[_0x19e7a8(0xc4)]:return{'icon':_0x2bfccd,'type':_0x59b5af[_0x19e7a8(0xc4)],..._0x387c0e};case _0x59b5af[_0x19e7a8(0xbb)]:return{'icon':_0x415393,'type':_0x59b5af[_0x19e7a8(0xbb)],..._0x387c0e};case _0x59b5af[_0x19e7a8(0xe3)]:return{'icon':_0x8ac6da,'type':_0x59b5af[_0x19e7a8(0xe3)],..._0x387c0e};case _0x59b5af[_0x19e7a8(0x102)]:return{'icon':_0x184f45,'type':_0x59b5af[_0x19e7a8(0x102)],..._0x387c0e};case _0x59b5af[_0x19e7a8(0xf2)]:return{'icon':_0x7a2b77,'type':_0x59b5af[_0x19e7a8(0xf2)],..._0x387c0e};case _0x59b5af[_0x19e7a8(0xce)]:return{'icon':_0x524ee5,'type':_0x59b5af[_0x19e7a8(0xce)],..._0x387c0e};case _0x59b5af[_0x19e7a8(0xdb)]:return{'icon':_0x490d30,'type':_0x59b5af[_0x19e7a8(0xdb)],..._0x387c0e};}});}[_0x469b00(0xdf)](_0x37ac4f){const _0xbc01ad=_0x469b00;switch(_0x37ac4f){case _0x59b5af[_0xbc01ad(0xc4)]:return _0xbc01ad(0x105);case _0x59b5af[_0xbc01ad(0xbb)]:return _0xbc01ad(0x104);default:return _0xbc01ad(0xdd);}}[_0x469b00(0xd8)](_0x27e07d,_0x5b2015){const _0x4908fd=_0x469b00,_0x4b8d90=this[_0x4908fd(0xf6)],_0x4db545=new _0x27e07d(_0x4b8d90[_0x4908fd(0xcd)]),_0x4ebeac=_0x4b8d90[_0x4908fd(0xb6)][_0x4908fd(0xb8)](_0x4908fd(0xd5));return _0x4db545[_0x4908fd(0xe4)](_0x4908fd(0xe1))['to'](_0x4ebeac),_0x4db545['on'](_0x4908fd(0xcf),()=>{const _0x235190=_0x4908fd;_0x4ebeac[_0x235190(0xcf)](_0x5b2015);}),_0x4db545;}[_0x469b00(0xca)](_0x3a19eb){const _0x31696d=_0x469b00,{locale:_0x27116c}=this[_0x31696d(0xf6)],_0x332270=this[_0x31696d(0xf6)][_0x31696d(0xe0)][_0x31696d(0xb8)](_0x31696d(0xde)),_0x218b92=_0x3a19eb[0x0],_0x550591=this[_0x31696d(0xd8)](_0x482249,_0x218b92[_0x31696d(0xda)]);return _0x550591[_0x31696d(0xd4)]=_0x218b92[_0x31696d(0xd4)],_0x550591[_0x31696d(0xe4)](_0x31696d(0xf3))['to'](_0x332270,_0x31696d(0xed),_0x3f18ce=>_0x1b2d57(_0x27116c,_0x218b92[_0x31696d(0xda)],_0x3f18ce?_0x31696d(0xee):_0x31696d(0xe9))[_0x31696d(0xf7)]),_0x550591[_0x31696d(0xe7)]=!0x0,_0x550591;}[_0x469b00(0xd2)](_0x321068){const _0x5d8247=_0x469b00,{locale:_0x28505d}=this[_0x5d8247(0xf6)],_0x2b0f63=this[_0x5d8247(0xf6)][_0x5d8247(0xe0)][_0x5d8247(0xb8)](_0x5d8247(0xde));return _0x321068[_0x5d8247(0x101)](_0x2f29f7=>{const _0x2759a0=_0x5d8247,_0xfd3a6=this[_0x2759a0(0xd8)](_0x482249,_0x2f29f7[_0x2759a0(0xda)]);return _0xfd3a6[_0x2759a0(0xeb)]=!0x0,_0xfd3a6[_0x2759a0(0xd4)]=_0x2f29f7[_0x2759a0(0xd4)],_0xfd3a6[_0x2759a0(0xe4)](_0x2759a0(0xf3))['to'](_0x2b0f63,_0x2759a0(0xed),_0x3df6e0=>_0x1b2d57(_0x28505d,_0x2f29f7[_0x2759a0(0xda)],_0x3df6e0?_0x2759a0(0xee):_0x2759a0(0xe9))[_0x2759a0(0xf7)]),_0xfd3a6;});}[_0x469b00(0xfd)](_0x372737){const _0x464a63=_0x469b00;return _0x372737[_0x464a63(0x101)](_0x2533c1=>{const _0x189bbe=_0x464a63,_0xfd59fe=this[_0x189bbe(0xd8)](_0x2f5b5c,_0x2533c1[_0x189bbe(0xda)]);return _0xfd59fe[_0x189bbe(0xd4)]=_0x2533c1[_0x189bbe(0xd4)],_0xfd59fe[_0x189bbe(0xf3)]=_0x2533c1[_0x189bbe(0xc8)],_0xfd59fe;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x20a41c}from'ckeditor5/src/core.js';import{FileRepository as _0x3d6b27}from'ckeditor5/src/upload.js';import _0x2f28f1 from'./uploadcareediting.js';import _0x33ea45 from'./utils/uploadutils.js';import{getImageUrls as _0x396bbb}from'./utils/editingutils.js';export default class p extends _0x20a41c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3d6b27,_0x2f28f1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x43ec63=this['editor'];if(!!!_0x43ec63['config']['get']('uploadcare'))return;_0x43ec63['plugins']['get'](_0x3d6b27)['createUploadAdapter']=_0x4f6058=>new x(_0x4f6058,_0x43ec63),_0x43ec63['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35e880,{imageElement:_0x245540,data:_0x4eadd7})=>{_0x43ec63['model']['change'](_0x825474=>{_0x825474['setAttribute']('uploadcareImageId',_0x4eadd7['uploadcareImageId'],_0x245540);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x16c5a6,_0x23e111){this['loader']=_0x16c5a6,this['editor']=_0x23e111,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4f1c14=this['editor']['config']['get']('uploadcare.pubkey'),_0x74ed54=await this['loader']['file'];return _0x33ea45['upload']({'file':_0x74ed54,'publicKey':_0x4f1c14,'signal':this['controller']['signal'],'onProgress':_0xb71c8a=>{_0xb71c8a&&_0xb71c8a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xb71c8a['value']);}})['then'](async _0x6057e0=>{const {imageFallbackUrl:_0xcee24,imageSources:_0x31fd8b}=_0x396bbb(_0x6057e0['cdnUrl'],_0x6057e0['imageInfo']['width']);return{'uploadcareImageId':_0x6057e0['uuid'],'default':_0xcee24,'sources':_0x31fd8b};})['catch'](()=>{const _0x52b0d4=t('Cannot\x20upload\x20file:')+('\x20'+_0x74ed54['name']+'.');return Promise['reject'](_0x52b0d4);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x35c207}from'ckeditor5/src/core.js';import{FileRepository as _0x12781d}from'ckeditor5/src/upload.js';import _0x27f712 from'./uploadcareediting.js';import _0x155cdd from'./utils/uploadutils.js';import{getImageUrls as _0x3301c5}from'./utils/editingutils.js';export default class p extends _0x35c207{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x12781d,_0x27f712];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x55bf4b=this['editor'];if(!!!_0x55bf4b['config']['get']('uploadcare'))return;_0x55bf4b['plugins']['get'](_0x12781d)['createUploadAdapter']=_0x2cb880=>new x(_0x2cb880,_0x55bf4b),_0x55bf4b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2d9e5d,{imageElement:_0x2ce096,data:_0x557188})=>{_0x55bf4b['model']['change'](_0x56a238=>{_0x56a238['setAttribute']('uploadcareImageId',_0x557188['uploadcareImageId'],_0x2ce096);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2b1f1a,_0x2780c1){this['loader']=_0x2b1f1a,this['editor']=_0x2780c1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x283bc3=this['editor']['config']['get']('uploadcare.pubkey'),_0x50a04a=await this['loader']['file'];return _0x155cdd['upload']({'file':_0x50a04a,'publicKey':_0x283bc3,'signal':this['controller']['signal'],'onProgress':_0x2a2b77=>{_0x2a2b77&&_0x2a2b77['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a2b77['value']);}})['then'](async _0x5dcfce=>{const {imageFallbackUrl:_0x51004a,imageSources:_0x1370a7}=_0x3301c5(_0x5dcfce['cdnUrl'],_0x5dcfce['imageInfo']['width']);return{'uploadcareImageId':_0x5dcfce['uuid'],'default':_0x51004a,'sources':_0x1370a7};})['catch'](()=>{const _0x169411=t('Cannot\x20upload\x20file:')+('\x20'+_0x50a04a['name']+'.');return Promise['reject'](_0x169411);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x54dc7c}from'../uploadcareconfig.js';export function getTranslation(_0x4a3920,_0x185f46,_0x1772b3){const t=_0x4a3920['t'],_0xc23d22=_0x4a3920['t'];switch(_0x185f46){case _0x54dc7c['Local']:return{'text':_0xc23d22('Insert'===_0x1772b3?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xc23d22('From\x20computer')};case _0x54dc7c['URL']:return{'text':'Insert'===_0x1772b3?_0xc23d22('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xc23d22('Via\x20URL')};case _0x54dc7c['Dropbox']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x54dc7c['Facebook']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x54dc7c['GDrive']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x54dc7c['GPhotos']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x54dc7c['OneDrive']:return{'text':t('Insert'===_0x1772b3?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x185f46;}}
23
+ import{UploadcareSource as _0x5edc52}from'../uploadcareconfig.js';export function getTranslation(_0x3acbca,_0x543b33,_0x7460b6){const t=_0x3acbca['t'],_0x22da40=_0x3acbca['t'];switch(_0x543b33){case _0x5edc52['Local']:return{'text':_0x22da40('Insert'===_0x7460b6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x22da40('From\x20computer')};case _0x5edc52['URL']:return{'text':'Insert'===_0x7460b6?_0x22da40('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x22da40('Via\x20URL')};case _0x5edc52['Dropbox']:return{'text':t('Insert'===_0x7460b6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5edc52['Facebook']:return{'text':t('Insert'===_0x7460b6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5edc52['GDrive']:return{'text':t('Insert'===_0x7460b6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5edc52['GPhotos']:return{'text':t('Insert'===_0x7460b6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5edc52['OneDrive']:return{'text':t('Insert'===_0x7460b6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x543b33;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xbe7375=_0x5811;function _0x5811(_0x3cfb59,_0x59d165){var _0x567ce8=_0x567c();return _0x5811=function(_0x58110a,_0x16af4c){_0x58110a=_0x58110a-0x1f2;var _0x47a6a7=_0x567ce8[_0x58110a];return _0x47a6a7;},_0x5811(_0x3cfb59,_0x59d165);}(function(_0x653496,_0x32227b){var _0x4094f9=_0x5811,_0x39c24f=_0x653496();while(!![]){try{var _0x41cfaf=parseInt(_0x4094f9(0x1f2))/0x1+parseInt(_0x4094f9(0x1ff))/0x2*(parseInt(_0x4094f9(0x1fb))/0x3)+parseInt(_0x4094f9(0x1fd))/0x4+parseInt(_0x4094f9(0x1f3))/0x5+parseInt(_0x4094f9(0x200))/0x6*(-parseInt(_0x4094f9(0x203))/0x7)+parseInt(_0x4094f9(0x1f7))/0x8+-parseInt(_0x4094f9(0x1f9))/0x9;if(_0x41cfaf===_0x32227b)break;else _0x39c24f['push'](_0x39c24f['shift']());}catch(_0x4b1809){_0x39c24f['push'](_0x39c24f['shift']());}}}(_0x567c,0xdc7a2));import{FocusTracker as _0x51866}from'ckeditor5/src/utils.js';function _0x567c(){var _0x3ce5c1=['createCollection','5087934rVmhlf','focusCycler','129891YdHedW','fire','4215180nPsdOC','forwardCycle','12lVlQSP','2048712IznqYC','div','focusTracker','28uQflEr','323091hygEbV','2202380RCTkzp','getFocusableElement','true','bindTemplate','6056512ffKJlh'];_0x567c=function(){return _0x3ce5c1;};return _0x567c();}import{View as _0x9c1812,FocusCycler as _0xa49536}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x9c1812{[_0xbe7375(0x202)];[_0xbe7375(0x1fa)];constructor(_0x465c2c){var _0x428277=_0xbe7375;super(_0x465c2c),this[_0x428277(0x202)]=new _0x51866(),this[_0x428277(0x1fa)]=new _0xa49536({'focusables':this[_0x428277(0x1f8)](),'focusTracker':this[_0x428277(0x202)]});}[_0xbe7375(0x1f4)](){var _0x3e2161=_0xbe7375;return{'tag':_0x3e2161(0x201),'attributes':{'aria-hidden':_0x3e2161(0x1f5),'tabindex':'0'},'on':{'focus':this[_0x3e2161(0x1f6)]['to'](()=>{var _0x51a011=_0x3e2161;this[_0x51a011(0x1fa)][_0x51a011(0x1fc)](_0x51a011(0x1fe));})}};}}
23
+ function _0x1e1f(_0x41253e,_0x15c5d6){var _0x498b7e=_0x498b();return _0x1e1f=function(_0x1e1fe4,_0x24c182){_0x1e1fe4=_0x1e1fe4-0x198;var _0x1ab4b9=_0x498b7e[_0x1e1fe4];return _0x1ab4b9;},_0x1e1f(_0x41253e,_0x15c5d6);}var _0x4ee6bf=_0x1e1f;(function(_0x486547,_0x565a14){var _0x25d037=_0x1e1f,_0x2f4d6a=_0x486547();while(!![]){try{var _0x27c6ac=-parseInt(_0x25d037(0x1a4))/0x1*(parseInt(_0x25d037(0x199))/0x2)+-parseInt(_0x25d037(0x1a3))/0x3*(parseInt(_0x25d037(0x19c))/0x4)+parseInt(_0x25d037(0x1a8))/0x5+parseInt(_0x25d037(0x1ab))/0x6*(-parseInt(_0x25d037(0x1a2))/0x7)+parseInt(_0x25d037(0x1a1))/0x8*(parseInt(_0x25d037(0x1a0))/0x9)+-parseInt(_0x25d037(0x1a5))/0xa*(-parseInt(_0x25d037(0x19f))/0xb)+-parseInt(_0x25d037(0x198))/0xc;if(_0x27c6ac===_0x565a14)break;else _0x2f4d6a['push'](_0x2f4d6a['shift']());}catch(_0x14488d){_0x2f4d6a['push'](_0x2f4d6a['shift']());}}}(_0x498b,0x9130e));function _0x498b(){var _0x1bca50=['6VXOVjd','focusTracker','269844ZmyyAw','124HKjyVV','getFocusableElement','true','3020kHjHSj','fire','focusCycler','7513dYPoHa','18KVbHWB','2119832ceHUIi','3202612rsHSyD','507tuWfBL','13301ZyzKSH','6220FzFCDD','bindTemplate','forwardCycle','5360890hPcuIM','createCollection','div'];_0x498b=function(){return _0x1bca50;};return _0x498b();}import{FocusTracker as _0x1168eb}from'ckeditor5/src/utils.js';import{View as _0x1368b0,FocusCycler as _0x44b2ab}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x1368b0{[_0x4ee6bf(0x1ac)];[_0x4ee6bf(0x19e)];constructor(_0x4a5ebf){var _0x463e75=_0x4ee6bf;super(_0x4a5ebf),this[_0x463e75(0x1ac)]=new _0x1168eb(),this[_0x463e75(0x19e)]=new _0x44b2ab({'focusables':this[_0x463e75(0x1a9)](),'focusTracker':this[_0x463e75(0x1ac)]});}[_0x4ee6bf(0x19a)](){var _0x1b462b=_0x4ee6bf;return{'tag':_0x1b462b(0x1aa),'attributes':{'aria-hidden':_0x1b462b(0x19b),'tabindex':'0'},'on':{'focus':this[_0x1b462b(0x1a6)]['to'](()=>{var _0x337635=_0x1b462b;this[_0x337635(0x19e)][_0x337635(0x19d)](_0x337635(0x1a7));})}};}}