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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4338(){const _0x18d175=['schema','replaceImageSource','execute','document','querySelector','uploader','upcast','view','imageBlock','uploadcareImageReplace','conversion','_initImageProcessingIndicator','body','editing','_initSchema','input[uploadcare-file-input]','23119833ukuzex','data-uc-image-id','contentLanguage','removeAttribute','closeMax','isPremiumPlugin','config','uploadcare','for','selection','afterInit','downcast','_initConfig','configElement','requires','iconHrefResolver','42PieeRz','remove','10891936BmOVQT','uploadcare.pubkey','get','attributeToAttribute','destroy','9VNGJSH','uploadcareImageId','init','45ZHyDcR','getSelectedElement','12007130amBPHl','elementToAttribute','_ctxElement','_initConversion','107028nUKVyh','isRegistered','add','pluginName','_configElement','uc-upload-ctx-provider','editor','getAttribute','insertImage','locale','map','extend','\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','ctxElement','true','132057wAODeu','render','once','PictureEditing','model','#uc-icon-arrow-down','uc-config','UploadcareEditing','uploadcare.uploader','673822uaxrwt','commands','href','imageInline','409073lWtRlr','_initCtx','fromCharCode','isOfficialPlugin','4eOmefn','join','listenTo','cleanupImage','appendChild'];_0x4338=function(){return _0x18d175;};return _0x4338();}function _0x3897(_0x3f336b,_0x35d688){const _0x4338da=_0x4338();return _0x3897=function(_0x38975b,_0x78bb62){_0x38975b=_0x38975b-0x180;let _0x370082=_0x4338da[_0x38975b];return _0x370082;},_0x3897(_0x3f336b,_0x35d688);}const _0x131120=_0x3897;(function(_0x10d4b5,_0xcbaf3b){const _0x56d889=_0x3897,_0x322f4b=_0x10d4b5();while(!![]){try{const _0x3aff4d=parseInt(_0x56d889(0x194))/0x1*(-parseInt(_0x56d889(0x19c))/0x2)+-parseInt(_0x56d889(0x18b))/0x3+parseInt(_0x56d889(0x1d1))/0x4*(-parseInt(_0x56d889(0x1cb))/0x5)+-parseInt(_0x56d889(0x1c1))/0x6*(-parseInt(_0x56d889(0x198))/0x7)+-parseInt(_0x56d889(0x1c3))/0x8+parseInt(_0x56d889(0x1c8))/0x9*(parseInt(_0x56d889(0x1cd))/0xa)+parseInt(_0x56d889(0x1b1))/0xb;if(_0x3aff4d===_0xcbaf3b)break;else _0x322f4b['push'](_0x322f4b['shift']());}catch(_0x30560f){_0x322f4b['push'](_0x322f4b['shift']());}}}(_0x4338,0xaf335));import{Plugin as _0x20312e}from'ckeditor5/src/core.js';import{Dialog as _0x492e41}from'ckeditor5/src/ui.js';import{createElement as _0x14d090,global as _0x13ed35,uid as _0x446efc}from'ckeditor5/src/utils.js';import _0x57acfb from'./uploadcarecommand.js';import _0x3417bd from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1b4b0c}from'./utils/editingutils.js';export default class i extends _0x20312e{constructor(){const _0x5edbb7=_0x3897;super(...arguments),this[_0x5edbb7(0x180)]=null,this[_0x5edbb7(0x1cf)]=null;}static get[_0x131120(0x1d4)](){const _0x435fff=_0x131120;return _0x435fff(0x192);}static get[_0x131120(0x1bf)](){const _0x561b80=_0x131120;return[_0x561b80(0x18e),_0x3417bd,_0x492e41];}static get[_0x131120(0x19b)](){return!0x0;}static get[_0x131120(0x1b6)](){return!0x0;}get[_0x131120(0x1be)](){const _0x1b97d0=_0x131120;return this[_0x1b97d0(0x180)];}get[_0x131120(0x189)](){const _0x578734=_0x131120;return this[_0x578734(0x1cf)];}[_0x131120(0x1ca)](){const _0x5b5886=_0x131120,_0x4d6b3e=this[_0x5b5886(0x182)];_0x4d6b3e[_0x5b5886(0x195)][_0x5b5886(0x1d3)](_0x5b5886(0x1b8),new _0x57acfb(_0x4d6b3e));}[_0x131120(0x1bb)](){const _0x407787=_0x131120;this[_0x407787(0x1af)](),this[_0x407787(0x1d0)](),this[_0x407787(0x1bd)](),this[_0x407787(0x199)](),this[_0x407787(0x1ac)](),this[_0x407787(0x19e)](this[_0x407787(0x182)],_0x407787(0x1c7),()=>{const _0x1a8b02=_0x407787;this[_0x1a8b02(0x180)]&&(this[_0x1a8b02(0x180)][_0x1a8b02(0x1c2)](),this[_0x1a8b02(0x180)]=null),this[_0x1a8b02(0x1cf)]&&(this[_0x1a8b02(0x1cf)][_0x1a8b02(0x1c2)](),this[_0x1a8b02(0x1cf)]=null);const _0x3984b6=_0x13ed35[_0x1a8b02(0x1a4)][_0x1a8b02(0x1a5)](_0x1a8b02(0x1b0));_0x3984b6&&_0x3984b6[_0x1a8b02(0x1c2)]();}),async function(_0x336b24){const _0x2f4d16=_0x4b5ffc([0x34,0x43,0x45,0x72,0x6b,0x39,0x64,0x4e,0x6d,0x37,0x51,0x7a,0x67,0x68,0x36,0x44,0x6e,0x4f,0x61,0x57,0x4b,0x5a,0x33,0x4c,0x69,0x76,0x71,0x4d,0x6c,0x50,0x59,0x73,0x77,0x58,0x47,0x79,0x56,0x66,0x30,0x46,0x75,0x4a,0x41,0x62,0x70,0x53,0x55,0x49,0x42,0x32,0x6a,0x63,0x38,0x35,0x65,0x74,0x6f,0x48,0x78,0x52,0x54,0x31]),_0x4cacda=0x57b23d88,_0x234349=0x57b56288^_0x4cacda,_0x4922a5=window[_0x4b5ffc([0x44,0x61,0x74,0x65])][_0x4b5ffc([0x6e,0x6f,0x77])](),_0x202286=_0x336b24[_0x4b5ffc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x986d86=new window[(_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20ae91=>{_0x202286[_0x4b5ffc([0x6f,0x6e,0x63,0x65])](_0x4b5ffc([0x72,0x65,0x61,0x64,0x79]),_0x20ae91);}),_0xe9daeb={[_0x4b5ffc([0x6b,0x74,0x79])]:_0x4b5ffc([0x45,0x43]),[_0x4b5ffc([0x75,0x73,0x65])]:_0x4b5ffc([0x73,0x69,0x67]),[_0x4b5ffc([0x63,0x72,0x76])]:_0x4b5ffc([0x50,0x2d,0x32,0x35,0x36]),[_0x4b5ffc([0x78])]:_0x4b5ffc([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]),[_0x4b5ffc([0x79])]:_0x4b5ffc([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]),[_0x4b5ffc([0x61,0x6c,0x67])]:_0x4b5ffc([0x45,0x53,0x32,0x35,0x36])},_0x456e18=_0x202286[_0x4b5ffc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b5ffc([0x67,0x65,0x74])](_0x4b5ffc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24a8c9(){let _0x31146b,_0x1c3e49=null,_0x3a959f=null;try{if(_0x456e18==_0x4b5ffc([0x47,0x50,0x4c]))return _0x4b5ffc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31146b=_0x282d2e(),!_0x31146b)return _0x4b5ffc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31146b[_0x4b5ffc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a959f=_0x111bc9(_0x31146b[_0x4b5ffc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31146b[_0x4b5ffc([0x6a,0x74,0x69])])),await _0x4c52b5()?_0x598a3f()?_0x3e3940()?_0x4b5ffc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x478930()?(_0x31146b[_0x4b5ffc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b5ffc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c3e49=_0xd5ffdd(_0x4b5ffc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31146b[_0x4b5ffc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b5ffc([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c3e49=_0xd5ffdd(_0x4b5ffc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xacf893()):_0x4b5ffc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b5ffc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b5ffc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x306a0c){return _0x4b5ffc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e3940(){const _0x4ee625=[_0x4b5ffc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b5ffc([0x74,0x72,0x69,0x61,0x6c])][_0x4b5ffc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31146b[_0x4b5ffc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4922a5/0x3e8:0xe10*_0x234349;return _0x31146b[_0x4b5ffc([0x65,0x78,0x70])]<_0x4ee625;}function _0x598a3f(){const _0x2411f3=_0x31146b[_0x4b5ffc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2411f3&&(!!_0x2411f3[_0x4b5ffc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5ffc([0x2a]))||!!_0x2411f3[_0x4b5ffc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5ffc([0x55,0x50,0x4c,0x43])));}function _0x478930(){const _0x2fd084=_0x3897,_0x3950de=_0x31146b[_0x4b5ffc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3950de||0x0==_0x3950de[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x14572e}=new URL(window[_0x4b5ffc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2fd084(0x196)]);if(_0x3950de[_0x4b5ffc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14572e))return!0x0;const _0x2b879a=_0x14572e[_0x4b5ffc([0x73,0x70,0x6c,0x69,0x74])](_0x4b5ffc([0x2e]));return _0x3950de[_0x4b5ffc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c377c=>_0x3c377c[_0x4b5ffc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5ffc([0x2a])))[_0x4b5ffc([0x6d,0x61,0x70])](_0x31392c=>_0x31392c[_0x4b5ffc([0x73,0x70,0x6c,0x69,0x74])](_0x4b5ffc([0x2e])))[_0x4b5ffc([0x73,0x6f,0x6d,0x65])](_0x418899=>_0x2b879a[_0x4b5ffc([0x65,0x76,0x65,0x72,0x79])]((_0x3f2e9b,_0x177fc9)=>_0x418899[_0x177fc9]===_0x3f2e9b||_0x418899[_0x177fc9]===_0x4b5ffc([0x2a])));}function _0xacf893(){return _0x1c3e49&&_0x3a959f?new window[(_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d58be,_0x5ade4a)=>{_0x1c3e49[_0x4b5ffc([0x74,0x68,0x65,0x6e])](_0x1d58be,_0x5ade4a),_0x3a959f[_0x4b5ffc([0x74,0x68,0x65,0x6e])](_0x1414cf=>{_0x1414cf!=_0x4b5ffc([0x56,0x61,0x6c,0x69,0x64])&&_0x1d58be(_0x1414cf);},_0x5ade4a);}):_0x1c3e49||_0x3a959f||_0x4b5ffc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x111bc9(_0x517de0,_0x189f17){return new window[(_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x180014=>{if(_0x3d4216())return _0x180014(_0x4b5ffc([0x56,0x61,0x6c,0x69,0x64]));_0x36535c(),_0x202286[_0x4b5ffc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b5ffc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e8f19=!0x1;const _0x3eacb9=_0x446efc();function _0x5a445a(_0x5e1237){return!!_0x5e1237&&(typeof _0x5e1237===_0x4b5ffc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e1237===_0x4b5ffc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e1237[_0x4b5ffc([0x74,0x68,0x65,0x6e])]===_0x4b5ffc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e1237[_0x4b5ffc([0x63,0x61,0x74,0x63,0x68])]===_0x4b5ffc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x424d9a(_0x285d59){_0x56f607(_0x285d59)[_0x4b5ffc([0x74,0x68,0x65,0x6e])](_0x4c99e2=>{if(!_0x4c99e2||_0x4c99e2[_0x4b5ffc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b5ffc([0x6f,0x6b]))return _0x4b5ffc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5bcaac(_0x5bfc88(_0x3eacb9+_0x189f17))!=_0x4c99e2[_0x4b5ffc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b5ffc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b5ffc([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b5ffc([0x74,0x68,0x65,0x6e])](_0x5f3156=>(_0x20a3e2(),_0x5f3156),()=>{const _0x33ef64=_0x44f8e9();return null==_0x33ef64?(_0x20a3e2(),_0x4b5ffc([0x56,0x61,0x6c,0x69,0x64])):_0x4b5ffc(_0x4922a5-_0x33ef64>(0x73beb988^_0x4cacda)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b5ffc([0x74,0x68,0x65,0x6e])](_0x180014)[_0x4b5ffc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x180014(_0x4b5ffc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f4397=0x5784d308^_0x4cacda;function _0x20a3e2(){const _0x4b7b7c=_0x4b5ffc([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bcaac(_0x5bfc88(_0x517de0)),_0x1aede1=_0x4d01de(_0x5bcaac(window[_0x4b5ffc([0x4d,0x61,0x74,0x68])][_0x4b5ffc([0x63,0x65,0x69,0x6c])](_0x4922a5/_0x3f4397)));window[_0x4b5ffc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b5ffc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b7b7c,_0x1aede1);}function _0x44f8e9(){const _0x55b990=_0x4b5ffc([0x6c,0x6c,0x63,0x74,0x2d])+_0x5bcaac(_0x5bfc88(_0x517de0)),_0x23800d=window[_0x4b5ffc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b5ffc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55b990);return _0x23800d?window[_0x4b5ffc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d01de(_0x23800d),0x10)*_0x3f4397:null;}function _0x56f607(_0x2f7c1c){return new window[(_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x366b67,_0x5b5c7b)=>{_0x2f7c1c[_0x4b5ffc([0x74,0x68,0x65,0x6e])](_0x366b67,_0x5b5c7b),window[_0x4b5ffc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b5c7b,0x57b3e948^_0x4cacda);});}}_0x202286[_0x4b5ffc([0x6f,0x6e])](_0x4b5ffc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x139d67,_0x5e0425)=>{if(_0x5e0425[0x0]!=_0x517de0)return _0x180014(_0x4b5ffc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e0425[0x1]={..._0x5e0425[0x1],[_0x4b5ffc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eacb9};},{[_0x4b5ffc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b5ffc([0x68,0x69,0x67,0x68])}),_0x202286[_0x4b5ffc([0x6f,0x6e])](_0x4b5ffc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5235c5=>{_0x5a445a(_0x5235c5[_0x4b5ffc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e8f19=!0x0,_0x424d9a(_0x5235c5[_0x4b5ffc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b5ffc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b5ffc([0x6c,0x6f,0x77])}),_0x986d86[_0x4b5ffc([0x74,0x68,0x65,0x6e])](()=>{_0x4e8f19||_0x180014(_0x4b5ffc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d4216(){return _0x202286[_0x4b5ffc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b5ffc([0x76,0x69,0x65,0x77])][_0x4b5ffc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b5ffc([0x61,0x75,0x74,0x6f]);}function _0x36535c(){_0x202286[_0x4b5ffc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b5ffc([0x76,0x69,0x65,0x77])][_0x4b5ffc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b5ffc([0x61,0x75,0x74,0x6f]);}}function _0xd5ffdd(_0x2875fb){const _0xeba43b=[new window[(_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7ae4=>setTimeout(_0x3a7ae4,0x57bb0344^_0x4cacda)),_0x986d86[_0x4b5ffc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a93b4=>{let _0xb7ff5e=0x0;_0x202286[_0x4b5ffc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b5ffc([0x6f,0x6e])](_0x4b5ffc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xae90aa,_0x52044f)=>{_0x52044f[0x0][_0x4b5ffc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb7ff5e++,_0xb7ff5e==(0x57b23c70^_0x4cacda)&&(_0x2a93b4(),_0xae90aa[_0x4b5ffc([0x6f,0x66,0x66])]());});}))];return window[_0x4b5ffc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b5ffc([0x72,0x61,0x63,0x65])](_0xeba43b)[_0x4b5ffc([0x74,0x68,0x65,0x6e])](()=>_0x2875fb);}async function _0x249473(){await _0x986d86,_0x202286[_0x4b5ffc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b5ffc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0c81,_0x202286[_0x4b5ffc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b5ffc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a0c81,_0x202286[_0x4b5ffc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b5ffc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x369a75(_0x509373){const _0xfceaa3=_0x144c9b();_0x202286[_0xfceaa3]=_0x4b5ffc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x509373,_0x509373!=_0x4b5ffc([0x56,0x61,0x6c,0x69,0x64])&&_0x249473();}function _0x144c9b(){const _0x4cd228=window[_0x4b5ffc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b5ffc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b5ffc([0x6e,0x6f,0x77])]())[_0x4b5ffc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b5ffc([0x2e]),'');let _0x4de6c2=_0x4b5ffc([0x43]);for(let _0x41b15f=0x0;_0x41b15f<_0x4cd228[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41b15f+=0x2){let _0x4c6d32=window[_0x4b5ffc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cd228[_0x4b5ffc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41b15f,_0x41b15f+0x2));_0x4c6d32>=_0x2f4d16[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c6d32-=_0x2f4d16[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4de6c2+=_0x2f4d16[_0x4c6d32];}return _0x4de6c2;}function _0x282d2e(){const _0x498958=_0x456e18[_0x4b5ffc([0x73,0x70,0x6c,0x69,0x74])](_0x4b5ffc([0x2e]));if(0x3!=_0x498958[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfb2b35(_0x498958[0x1]);function _0xfb2b35(_0x35a729){const _0x1f9b54=_0x234f65(_0x35a729);return _0x1f9b54&&_0x5208e1()?_0x1f9b54:null;function _0x5208e1(){const _0x3af135=_0x1f9b54[_0x4b5ffc([0x6a,0x74,0x69])],_0xc1fc2e=window[_0x4b5ffc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3af135[_0x4b5ffc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3af135[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18577b={..._0x1f9b54,[_0x4b5ffc([0x6a,0x74,0x69])]:_0x3af135[_0x4b5ffc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3af135[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18577b[_0x4b5ffc([0x76,0x63])],_0x5bfc88(_0x18577b)==_0xc1fc2e;}}}async function _0x4c52b5(){let _0x2bd17d=!0x0;try{const _0x1ac7d2=_0x456e18[_0x4b5ffc([0x73,0x70,0x6c,0x69,0x74])](_0x4b5ffc([0x2e])),[_0x4e245e,_0x66a308,_0x5dc980]=_0x1ac7d2;return _0x382b9e(_0x4e245e),await _0x2fbe18(_0x4e245e,_0x66a308,_0x5dc980),_0x2bd17d;}catch(_0xe669cd){return!0x1;}function _0x382b9e(_0x4dc2e1){const _0x22f893=_0x234f65(_0x4dc2e1);_0x22f893&&_0x22f893[_0x4b5ffc([0x61,0x6c,0x67])]==_0x4b5ffc([0x45,0x53,0x32,0x35,0x36])||(_0x2bd17d=!0x1);}async function _0x2fbe18(_0x246521,_0x3e80e9,_0x5443c7){const _0x3e09ca=window[_0x4b5ffc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b5ffc([0x66,0x72,0x6f,0x6d])](_0x250764(_0x5443c7),_0x23695a=>_0x23695a[_0x4b5ffc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cb426=new window[(_0x4b5ffc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b5ffc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x246521+_0x4b5ffc([0x2e])+_0x3e80e9),_0x3db0c3=window[_0x4b5ffc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b5ffc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3db0c3)return;const _0x47119c=await _0x3db0c3[_0x4b5ffc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b5ffc([0x6a,0x77,0x6b]),_0xe9daeb,{[_0x4b5ffc([0x6e,0x61,0x6d,0x65])]:_0x4b5ffc([0x45,0x43,0x44,0x53,0x41]),[_0x4b5ffc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b5ffc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b5ffc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3db0c3[_0x4b5ffc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b5ffc([0x6e,0x61,0x6d,0x65])]:_0x4b5ffc([0x45,0x43,0x44,0x53,0x41]),[_0x4b5ffc([0x68,0x61,0x73,0x68])]:{[_0x4b5ffc([0x6e,0x61,0x6d,0x65])]:_0x4b5ffc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47119c,_0x3e09ca,_0x3cb426)||(_0x2bd17d=!0x1);}}function _0x234f65(_0x2f504e){return _0x2f504e[_0x4b5ffc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b5ffc([0x65,0x79]))?JSON[_0x4b5ffc([0x70,0x61,0x72,0x73,0x65])](_0x250764(_0x2f504e)):null;}function _0x250764(_0x1d7b95){return window[_0x4b5ffc([0x61,0x74,0x6f,0x62])](_0x1d7b95[_0x4b5ffc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b5ffc([0x2b]))[_0x4b5ffc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b5ffc([0x2f])));}function _0x5bfc88(_0x5618c1){let _0x2221d6=0x1505;function _0x32bf6c(_0x473982){for(let _0x14d9f9=0x0;_0x14d9f9<_0x473982[_0x4b5ffc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14d9f9++){const _0x51a6fd=_0x473982[_0x4b5ffc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14d9f9);_0x2221d6=(_0x2221d6<<0x5)+_0x2221d6+_0x51a6fd,_0x2221d6&=_0x2221d6;}}function _0x2cbb8d(_0x5e09f8){Array[_0x4b5ffc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e09f8)?_0x5e09f8[_0x4b5ffc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2cbb8d):_0x5e09f8&&typeof _0x5e09f8==_0x4b5ffc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b5ffc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e09f8)[_0x4b5ffc([0x73,0x6f,0x72,0x74])]()[_0x4b5ffc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ebedb,_0x2c4663])=>{_0x32bf6c(_0x1ebedb),_0x2cbb8d(_0x2c4663);}):_0x32bf6c(window[_0x4b5ffc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e09f8));}return _0x2cbb8d(_0x5618c1),_0x2221d6>>>0x0;}function _0x5bcaac(_0x64496d){return _0x64496d[_0x4b5ffc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b5ffc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b5ffc([0x30]));}function _0x4d01de(_0x170a6b){return _0x170a6b[_0x4b5ffc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b5ffc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b5ffc([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a0c81(){}function _0x4b5ffc(_0x925ca2){const _0x87b2ed=_0x3897;return _0x925ca2[_0x87b2ed(0x186)](_0x13b8e1=>String[_0x87b2ed(0x19a)](_0x13b8e1))[_0x87b2ed(0x19d)]('');}_0x369a75(await _0x24a8c9());}(this);}[_0x131120(0x1af)](){const _0x3b76d7=_0x131120,_0x3b57ae=this[_0x3b76d7(0x182)][_0x3b76d7(0x18f)][_0x3b76d7(0x1a1)];_0x3b57ae[_0x3b76d7(0x1d2)](_0x3b76d7(0x1a9))&&_0x3b57ae[_0x3b76d7(0x187)](_0x3b76d7(0x1a9),{'allowAttributes':[_0x3b76d7(0x1c9)]}),_0x3b57ae[_0x3b76d7(0x1d2)](_0x3b76d7(0x197))&&_0x3b57ae[_0x3b76d7(0x187)](_0x3b76d7(0x197),{'allowAttributes':[_0x3b76d7(0x1c9)]});}[_0x131120(0x1d0)](){const _0x565a48=_0x131120,_0x52135f=this[_0x565a48(0x182)];_0x52135f[_0x565a48(0x1ab)][_0x565a48(0x1b9)](_0x565a48(0x1bc))[_0x565a48(0x1c6)]({'model':_0x565a48(0x1c9),'view':_0x565a48(0x1b2)}),_0x52135f[_0x565a48(0x1ab)][_0x565a48(0x1b9)](_0x565a48(0x1a7))[_0x565a48(0x1ce)]({'model':{'key':_0x565a48(0x1c9),'value':_0x1b029e=>_0x1b029e[_0x565a48(0x183)](_0x565a48(0x1b2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d059c=_0x52135f[_0x565a48(0x195)][_0x565a48(0x1c5)](_0x565a48(0x1a2));_0x5d059c&&this[_0x565a48(0x19e)](_0x5d059c,_0x565a48(0x19f),(_0x360964,[_0x3dc3da,_0x29d10b])=>{const _0x388108=_0x565a48;_0x3dc3da[_0x388108(0x1b4)](_0x388108(0x1c9),_0x29d10b);});}[_0x131120(0x1bd)](){const _0x45b0c1=_0x131120,_0x2885cc=this[_0x45b0c1(0x182)][_0x45b0c1(0x1b7)][_0x45b0c1(0x1c5)](_0x45b0c1(0x193))||{},_0x5e82bd=this[_0x45b0c1(0x182)][_0x45b0c1(0x1b7)][_0x45b0c1(0x1c5)](_0x45b0c1(0x1c4))||'';this[_0x45b0c1(0x180)]=_0x14d090(_0x13ed35[_0x45b0c1(0x1a4)],_0x45b0c1(0x191),{..._0x2885cc,'pubkey':_0x5e82bd,'ctx-name':_0x45b0c1(0x1a6),'sourceList':'','imgOnly':_0x45b0c1(0x18a),'removeCopyright':_0x45b0c1(0x18a),'localeName':this[_0x45b0c1(0x182)][_0x45b0c1(0x185)][_0x45b0c1(0x1b3)],'externalSourcesEmbedCss':_0x45b0c1(0x188)}),this[_0x45b0c1(0x180)][_0x45b0c1(0x1c0)]=_0x318e34=>{const _0x555865=_0x45b0c1;if(_0x555865(0x1b5)==_0x318e34)return _0x555865(0x190);},_0x13ed35[_0x45b0c1(0x1a4)][_0x45b0c1(0x1ad)][_0x45b0c1(0x1a0)](this[_0x45b0c1(0x180)]);}[_0x131120(0x199)](){const _0x1871b1=_0x131120;this[_0x1871b1(0x1cf)]=_0x14d090(_0x13ed35[_0x1871b1(0x1a4)],_0x1871b1(0x181),{'ctx-name':_0x1871b1(0x1a6)}),_0x13ed35[_0x1871b1(0x1a4)][_0x1871b1(0x1ad)][_0x1871b1(0x1a0)](this[_0x1871b1(0x1cf)]);}[_0x131120(0x1ac)](){const _0x5b1068=_0x131120,_0x4140a9=this[_0x5b1068(0x182)][_0x5b1068(0x195)][_0x5b1068(0x1c5)](_0x5b1068(0x184));_0x4140a9&&this[_0x5b1068(0x19e)](_0x4140a9,_0x5b1068(0x1a3),()=>{const _0x205ceb=_0x5b1068,_0x11b4f1=this[_0x205ceb(0x182)][_0x205ceb(0x18f)][_0x205ceb(0x1a4)][_0x205ceb(0x1ba)][_0x205ceb(0x1cc)]();_0x11b4f1&&_0x11b4f1[_0x205ceb(0x183)](_0x205ceb(0x1c9))&&this[_0x205ceb(0x182)][_0x205ceb(0x1ae)][_0x205ceb(0x1a8)][_0x205ceb(0x18d)](_0x205ceb(0x18c),()=>{const _0x19c530=_0x205ceb;_0x1b4b0c(this[_0x19c530(0x182)],_0x11b4f1);});});const _0x4f52af=this[_0x5b1068(0x182)][_0x5b1068(0x195)][_0x5b1068(0x1c5)](_0x5b1068(0x1aa));_0x4f52af&&this[_0x5b1068(0x19e)](_0x4f52af,_0x5b1068(0x1a3),()=>{const _0x29b549=_0x5b1068,_0x183385=this[_0x29b549(0x182)][_0x29b549(0x18f)][_0x29b549(0x1a4)][_0x29b549(0x1ba)][_0x29b549(0x1cc)]();_0x183385&&_0x183385[_0x29b549(0x183)](_0x29b549(0x1c9))&&this[_0x29b549(0x182)][_0x29b549(0x1ae)][_0x29b549(0x1a8)][_0x29b549(0x18d)](_0x29b549(0x18c),()=>{const _0x30ed70=_0x29b549;_0x1b4b0c(this[_0x30ed70(0x182)],_0x183385);});});}}
23
+ const _0x14b57e=_0x1a38;(function(_0x31dd49,_0xc3707f){const _0xa07c53=_0x1a38,_0x187442=_0x31dd49();while(!![]){try{const _0x1f29b6=-parseInt(_0xa07c53(0x201))/0x1+parseInt(_0xa07c53(0x1ed))/0x2+-parseInt(_0xa07c53(0x206))/0x3+parseInt(_0xa07c53(0x203))/0x4+-parseInt(_0xa07c53(0x212))/0x5+parseInt(_0xa07c53(0x1de))/0x6+parseInt(_0xa07c53(0x1ef))/0x7;if(_0x1f29b6===_0xc3707f)break;else _0x187442['push'](_0x187442['shift']());}catch(_0x41295e){_0x187442['push'](_0x187442['shift']());}}}(_0x19af,0xab7bd));function _0x1a38(_0x301385,_0x3e1978){const _0x19afbe=_0x19af();return _0x1a38=function(_0x1a381d,_0x75ef10){_0x1a381d=_0x1a381d-0x1cf;let _0x2ec252=_0x19afbe[_0x1a381d];return _0x2ec252;},_0x1a38(_0x301385,_0x3e1978);}import{Plugin as _0x4a4eb1}from'ckeditor5/src/core.js';import{Dialog as _0x4ad9da}from'ckeditor5/src/ui.js';import{createElement as _0x17bd22,global as _0x31d271,uid as _0x34c36a}from'ckeditor5/src/utils.js';import _0x261061 from'./uploadcarecommand.js';import _0x583aa6 from'./uploadcareuploadadapter.js';function _0x19af(){const _0x5f0e48=['UploadcareEditing','uploadcareImageId','382707pysYlX','_initImageProcessingIndicator','closeMax','uploadcareImageReplace','model','map','uploadcare.pubkey','uploadcare','isPremiumPlugin','for','isOfficialPlugin','requires','1636600IuIpBg','conversion','querySelector','init','_ctxElement','get','input[uploadcare-file-input]','configElement','_configElement','selection','#uc-icon-arrow-down','fromCharCode','_initSchema','uploadcare.uploader','upcast','contentLanguage','cleanupImage','locale','destroy','uc-upload-ctx-provider','view','imageBlock','extend','_initCtx','getAttribute','config','getSelectedElement','insertImage','attributeToAttribute','1976664CETSaY','editor','elementToAttribute','appendChild','uploader','editing','add','PictureEditing','isRegistered','imageInline','data-uc-image-id','render','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','join','replaceImageSource','2161918VfdaqP','removeAttribute','1210769MvztFs','document','true','uc-config','ctxElement','pluginName','_initConversion','body','_initConfig','downcast','iconHrefResolver','commands','listenTo','href','execute','schema','once','remove','1126116IOYuai','afterInit','2800128EZPEwK'];_0x19af=function(){return _0x5f0e48;};return _0x19af();}import{showImageProcessingIndicator as _0x562a37}from'./utils/editingutils.js';export default class i extends _0x4a4eb1{constructor(){const _0x2e1e62=_0x1a38;super(...arguments),this[_0x2e1e62(0x21a)]=null,this[_0x2e1e62(0x216)]=null;}static get[_0x14b57e(0x1f4)](){const _0x452844=_0x14b57e;return _0x452844(0x204);}static get[_0x14b57e(0x211)](){const _0x38a6a9=_0x14b57e;return[_0x38a6a9(0x1e5),_0x583aa6,_0x4ad9da];}static get[_0x14b57e(0x210)](){return!0x0;}static get[_0x14b57e(0x20e)](){return!0x0;}get[_0x14b57e(0x219)](){const _0x5c3ba1=_0x14b57e;return this[_0x5c3ba1(0x21a)];}get[_0x14b57e(0x1f3)](){const _0x10b3e0=_0x14b57e;return this[_0x10b3e0(0x216)];}[_0x14b57e(0x215)](){const _0x2d901d=_0x14b57e,_0x583309=this[_0x2d901d(0x1df)];_0x583309[_0x2d901d(0x1fa)][_0x2d901d(0x1e4)](_0x2d901d(0x20d),new _0x261061(_0x583309));}[_0x14b57e(0x202)](){const _0x14ea8f=_0x14b57e;this[_0x14ea8f(0x21e)](),this[_0x14ea8f(0x1f5)](),this[_0x14ea8f(0x1f7)](),this[_0x14ea8f(0x1d8)](),this[_0x14ea8f(0x207)](),this[_0x14ea8f(0x1fb)](this[_0x14ea8f(0x1df)],_0x14ea8f(0x1d3),()=>{const _0x5ae925=_0x14ea8f;this[_0x5ae925(0x21a)]&&(this[_0x5ae925(0x21a)][_0x5ae925(0x200)](),this[_0x5ae925(0x21a)]=null),this[_0x5ae925(0x216)]&&(this[_0x5ae925(0x216)][_0x5ae925(0x200)](),this[_0x5ae925(0x216)]=null);const _0x491be9=_0x31d271[_0x5ae925(0x1f0)][_0x5ae925(0x214)](_0x5ae925(0x218));_0x491be9&&_0x491be9[_0x5ae925(0x200)]();}),async function(_0x188848){const _0x2e1439=_0x568455([0x4c,0x41,0x74,0x6b,0x39,0x4d,0x4b,0x32,0x30,0x47,0x67,0x6d,0x55,0x46,0x31,0x62,0x6f,0x63,0x65,0x75,0x53,0x68,0x70,0x64,0x42,0x50,0x38,0x45,0x57,0x34,0x5a,0x56,0x36,0x73,0x4f,0x66,0x7a,0x58,0x76,0x51,0x79,0x6c,0x59,0x6e,0x4e,0x43,0x54,0x72,0x6a,0x77,0x48,0x44,0x61,0x71,0x49,0x37,0x4a,0x33,0x35,0x69,0x52,0x78]),_0xfe1505=0x48805361,_0x452068=0x48870c51^_0xfe1505,_0x45a1bf=window[_0x568455([0x44,0x61,0x74,0x65])][_0x568455([0x6e,0x6f,0x77])](),_0x52d03d=_0x188848[_0x568455([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15b90f=new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3dd37d=>{_0x52d03d[_0x568455([0x6f,0x6e,0x63,0x65])](_0x568455([0x72,0x65,0x61,0x64,0x79]),_0x3dd37d);}),_0x2a3a82={[_0x568455([0x6b,0x74,0x79])]:_0x568455([0x45,0x43]),[_0x568455([0x75,0x73,0x65])]:_0x568455([0x73,0x69,0x67]),[_0x568455([0x63,0x72,0x76])]:_0x568455([0x50,0x2d,0x32,0x35,0x36]),[_0x568455([0x78])]:_0x568455([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x568455([0x79])]:_0x568455([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x568455([0x61,0x6c,0x67])]:_0x568455([0x45,0x53,0x32,0x35,0x36])},_0x496a83=_0x52d03d[_0x568455([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x568455([0x67,0x65,0x74])](_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54bfb3(){let _0x13424e,_0x185fc7=null,_0x3c2685=null;try{if(_0x496a83==_0x568455([0x47,0x50,0x4c]))return _0x568455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13424e=_0x5aa40b(),!_0x13424e)return _0x568455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13424e[_0x568455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c2685=_0x568a40(_0x13424e[_0x568455([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13424e[_0x568455([0x6a,0x74,0x69])])),await _0x46020c()?_0x45c740()?_0x66af90()?_0x568455([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x55435b()?(_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x568455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x185fc7=_0x56cda6(_0x568455([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x568455([0x74,0x72,0x69,0x61,0x6c])&&(_0x185fc7=_0x56cda6(_0x568455([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a5087()):_0x568455([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x568455([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x568455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x59eff5){return _0x568455([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x66af90(){const _0x1f8655=[_0x568455([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x568455([0x74,0x72,0x69,0x61,0x6c])][_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45a1bf/0x3e8:0xe10*_0x452068;return _0x13424e[_0x568455([0x65,0x78,0x70])]<_0x1f8655;}function _0x45c740(){const _0x5c2611=_0x13424e[_0x568455([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c2611&&(!!_0x5c2611[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568455([0x2a]))||!!_0x5c2611[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568455([0x55,0x50,0x4c,0x43])));}function _0x55435b(){const _0x5da609=_0x1a38,_0x1ccfa4=_0x13424e[_0x568455([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ccfa4||0x0==_0x1ccfa4[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x465e75}=new URL(window[_0x568455([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5da609(0x1fc)]);if(_0x1ccfa4[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x465e75))return!0x0;const _0x467bc0=_0x465e75[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e]));return _0x1ccfa4[_0x568455([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3360c0=>_0x3360c0[_0x568455([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568455([0x2a])))[_0x568455([0x6d,0x61,0x70])](_0x3adcc9=>_0x3adcc9[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e])))[_0x568455([0x73,0x6f,0x6d,0x65])](_0x2dd1bc=>_0x467bc0[_0x568455([0x65,0x76,0x65,0x72,0x79])]((_0xd32edd,_0x485443)=>_0x2dd1bc[_0x485443]===_0xd32edd||_0x2dd1bc[_0x485443]===_0x568455([0x2a])));}function _0x2a5087(){return _0x185fc7&&_0x3c2685?new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57a838,_0x29a850)=>{_0x185fc7[_0x568455([0x74,0x68,0x65,0x6e])](_0x57a838,_0x29a850),_0x3c2685[_0x568455([0x74,0x68,0x65,0x6e])](_0x26c52c=>{_0x26c52c!=_0x568455([0x56,0x61,0x6c,0x69,0x64])&&_0x57a838(_0x26c52c);},_0x29a850);}):_0x185fc7||_0x3c2685||_0x568455([0x56,0x61,0x6c,0x69,0x64]);}}function _0x568a40(_0x3285cb,_0x5eb064){return new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c0554=>{if(_0x3752e9())return _0x4c0554(_0x568455([0x56,0x61,0x6c,0x69,0x64]));_0xefaf70(),_0x52d03d[_0x568455([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x568455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e6248=!0x1;const _0xf163d5=_0x34c36a();function _0x24a39d(_0x1cba7b){return!!_0x1cba7b&&(typeof _0x1cba7b===_0x568455([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cba7b===_0x568455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cba7b[_0x568455([0x74,0x68,0x65,0x6e])]===_0x568455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cba7b[_0x568455([0x63,0x61,0x74,0x63,0x68])]===_0x568455([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e54c4(_0x139cd4){_0x2c2250(_0x139cd4)[_0x568455([0x74,0x68,0x65,0x6e])](_0x18283a=>{if(!_0x18283a||_0x18283a[_0x568455([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x568455([0x6f,0x6b]))return _0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30d6d6(_0x37f931(_0xf163d5+_0x5eb064))!=_0x18283a[_0x568455([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x568455([0x56,0x61,0x6c,0x69,0x64]);})[_0x568455([0x74,0x68,0x65,0x6e])](_0x4b9fee=>(_0x27197c(),_0x4b9fee),()=>{const _0x562c3c=_0x543ed1();return null==_0x562c3c?(_0x27197c(),_0x568455([0x56,0x61,0x6c,0x69,0x64])):_0x568455(_0x45a1bf-_0x562c3c>(0x6c8cd761^_0xfe1505)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x568455([0x74,0x68,0x65,0x6e])](_0x4c0554)[_0x568455([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c0554(_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd8d52=0x48b6bde1^_0xfe1505;function _0x27197c(){const _0x24f563=_0x568455([0x6c,0x6c,0x63,0x74,0x2d])+_0x30d6d6(_0x37f931(_0x3285cb)),_0x209098=_0x56cf4d(_0x30d6d6(window[_0x568455([0x4d,0x61,0x74,0x68])][_0x568455([0x63,0x65,0x69,0x6c])](_0x45a1bf/_0xd8d52)));window[_0x568455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x568455([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24f563,_0x209098);}function _0x543ed1(){const _0x43645b=_0x568455([0x6c,0x6c,0x63,0x74,0x2d])+_0x30d6d6(_0x37f931(_0x3285cb)),_0x1e1a07=window[_0x568455([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x568455([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43645b);return _0x1e1a07?window[_0x568455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56cf4d(_0x1e1a07),0x10)*_0xd8d52:null;}function _0x2c2250(_0x43ffd1){return new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ce983,_0x52094a)=>{_0x43ffd1[_0x568455([0x74,0x68,0x65,0x6e])](_0x3ce983,_0x52094a),window[_0x568455([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52094a,0x488187a1^_0xfe1505);});}}_0x52d03d[_0x568455([0x6f,0x6e])](_0x568455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xefe0b9,_0x59f683)=>{if(_0x59f683[0x0]!=_0x3285cb)return _0x4c0554(_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x59f683[0x1]={..._0x59f683[0x1],[_0x568455([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf163d5};},{[_0x568455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x568455([0x68,0x69,0x67,0x68])}),_0x52d03d[_0x568455([0x6f,0x6e])](_0x568455([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ab1e9=>{_0x24a39d(_0x2ab1e9[_0x568455([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e6248=!0x0,_0x3e54c4(_0x2ab1e9[_0x568455([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x568455([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x568455([0x6c,0x6f,0x77])}),_0x15b90f[_0x568455([0x74,0x68,0x65,0x6e])](()=>{_0x3e6248||_0x4c0554(_0x568455([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3752e9(){return _0x52d03d[_0x568455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x568455([0x76,0x69,0x65,0x77])][_0x568455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x568455([0x61,0x75,0x74,0x6f]);}function _0xefaf70(){_0x52d03d[_0x568455([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x568455([0x76,0x69,0x65,0x77])][_0x568455([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x568455([0x61,0x75,0x74,0x6f]);}}function _0x56cda6(_0x15ad4d){const _0x206c53=[new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e1a0=>setTimeout(_0x41e1a0,0x48896dad^_0xfe1505)),_0x15b90f[_0x568455([0x74,0x68,0x65,0x6e])](()=>new window[(_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4138ee=>{let _0x2bdfef=0x0;_0x52d03d[_0x568455([0x6d,0x6f,0x64,0x65,0x6c])][_0x568455([0x6f,0x6e])](_0x568455([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x502372,_0x579284)=>{_0x579284[0x0][_0x568455([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bdfef++,_0x2bdfef==(0x48805299^_0xfe1505)&&(_0x4138ee(),_0x502372[_0x568455([0x6f,0x66,0x66])]());});}))];return window[_0x568455([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x568455([0x72,0x61,0x63,0x65])](_0x206c53)[_0x568455([0x74,0x68,0x65,0x6e])](()=>_0x15ad4d);}async function _0x275f55(){await _0x15b90f,_0x52d03d[_0x568455([0x6d,0x6f,0x64,0x65,0x6c])][_0x568455([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x623415,_0x52d03d[_0x568455([0x6d,0x6f,0x64,0x65,0x6c])][_0x568455([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x623415,_0x52d03d[_0x568455([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x568455([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4bf1f0(_0x43ab0b){const _0x5663eb=_0x223ca5();_0x52d03d[_0x5663eb]=_0x568455([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43ab0b,_0x43ab0b!=_0x568455([0x56,0x61,0x6c,0x69,0x64])&&_0x275f55();}function _0x223ca5(){const _0xd7dbbc=window[_0x568455([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x568455([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x568455([0x6e,0x6f,0x77])]())[_0x568455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x568455([0x2e]),'');let _0x373df8=_0x568455([0x4c]);for(let _0x51bd3e=0x0;_0x51bd3e<_0xd7dbbc[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51bd3e+=0x2){let _0x5cd019=window[_0x568455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd7dbbc[_0x568455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51bd3e,_0x51bd3e+0x2));_0x5cd019>=_0x2e1439[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cd019-=_0x2e1439[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x373df8+=_0x2e1439[_0x5cd019];}return _0x373df8;}function _0x5aa40b(){const _0x302271=_0x496a83[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e]));if(0x3!=_0x302271[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8d374(_0x302271[0x1]);function _0x8d374(_0xbddaee){const _0x2b1447=_0x4e8eb0(_0xbddaee);return _0x2b1447&&_0x10aa6a()?_0x2b1447:null;function _0x10aa6a(){const _0x48cb78=_0x2b1447[_0x568455([0x6a,0x74,0x69])],_0x3d0e93=window[_0x568455([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48cb78[_0x568455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48cb78[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47d58d={..._0x2b1447,[_0x568455([0x6a,0x74,0x69])]:_0x48cb78[_0x568455([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48cb78[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47d58d[_0x568455([0x76,0x63])],_0x37f931(_0x47d58d)==_0x3d0e93;}}}async function _0x46020c(){let _0x232c9e=!0x0;try{const _0x3c43ed=_0x496a83[_0x568455([0x73,0x70,0x6c,0x69,0x74])](_0x568455([0x2e])),[_0x5ad27b,_0x5cf098,_0x53b945]=_0x3c43ed;return _0x4cc9e4(_0x5ad27b),await _0x8864e2(_0x5ad27b,_0x5cf098,_0x53b945),_0x232c9e;}catch(_0x791661){return!0x1;}function _0x4cc9e4(_0x4f1bd4){const _0x6e3491=_0x4e8eb0(_0x4f1bd4);_0x6e3491&&_0x6e3491[_0x568455([0x61,0x6c,0x67])]==_0x568455([0x45,0x53,0x32,0x35,0x36])||(_0x232c9e=!0x1);}async function _0x8864e2(_0x3f9fd4,_0x38d533,_0x3d42b7){const _0x1a2ab3=window[_0x568455([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x568455([0x66,0x72,0x6f,0x6d])](_0x43fccf(_0x3d42b7),_0x1a1a63=>_0x1a1a63[_0x568455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x446d29=new window[(_0x568455([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x568455([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f9fd4+_0x568455([0x2e])+_0x38d533),_0x5edfae=window[_0x568455([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x568455([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5edfae)return;const _0x36f095=await _0x5edfae[_0x568455([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x568455([0x6a,0x77,0x6b]),_0x2a3a82,{[_0x568455([0x6e,0x61,0x6d,0x65])]:_0x568455([0x45,0x43,0x44,0x53,0x41]),[_0x568455([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x568455([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x568455([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5edfae[_0x568455([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x568455([0x6e,0x61,0x6d,0x65])]:_0x568455([0x45,0x43,0x44,0x53,0x41]),[_0x568455([0x68,0x61,0x73,0x68])]:{[_0x568455([0x6e,0x61,0x6d,0x65])]:_0x568455([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36f095,_0x1a2ab3,_0x446d29)||(_0x232c9e=!0x1);}}function _0x4e8eb0(_0x5bb9a8){return _0x5bb9a8[_0x568455([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x568455([0x65,0x79]))?JSON[_0x568455([0x70,0x61,0x72,0x73,0x65])](_0x43fccf(_0x5bb9a8)):null;}function _0x43fccf(_0x5844fa){return window[_0x568455([0x61,0x74,0x6f,0x62])](_0x5844fa[_0x568455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x568455([0x2b]))[_0x568455([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x568455([0x2f])));}function _0x37f931(_0x2c33e6){let _0x6e636b=0x1505;function _0x3f03cb(_0x4e41d4){for(let _0x163e54=0x0;_0x163e54<_0x4e41d4[_0x568455([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163e54++){const _0x5c00ab=_0x4e41d4[_0x568455([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x163e54);_0x6e636b=(_0x6e636b<<0x5)+_0x6e636b+_0x5c00ab,_0x6e636b&=_0x6e636b;}}function _0x4991b7(_0x252ca3){Array[_0x568455([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x252ca3)?_0x252ca3[_0x568455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4991b7):_0x252ca3&&typeof _0x252ca3==_0x568455([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x568455([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x252ca3)[_0x568455([0x73,0x6f,0x72,0x74])]()[_0x568455([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f0b14,_0x299b79])=>{_0x3f03cb(_0x3f0b14),_0x4991b7(_0x299b79);}):_0x3f03cb(window[_0x568455([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x252ca3));}return _0x4991b7(_0x2c33e6),_0x6e636b>>>0x0;}function _0x30d6d6(_0x854859){return _0x854859[_0x568455([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x568455([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x568455([0x30]));}function _0x56cf4d(_0x160da1){return _0x160da1[_0x568455([0x73,0x70,0x6c,0x69,0x74])]('')[_0x568455([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x568455([0x6a,0x6f,0x69,0x6e])]('');}function _0x623415(){}function _0x568455(_0x119b09){const _0x1afcf5=_0x1a38;return _0x119b09[_0x1afcf5(0x20b)](_0x4d2375=>String[_0x1afcf5(0x21d)](_0x4d2375))[_0x1afcf5(0x1eb)]('');}_0x4bf1f0(await _0x54bfb3());}(this);}[_0x14b57e(0x21e)](){const _0x179f6b=_0x14b57e,_0x110a09=this[_0x179f6b(0x1df)][_0x179f6b(0x20a)][_0x179f6b(0x1fe)];_0x110a09[_0x179f6b(0x1e6)](_0x179f6b(0x1d6))&&_0x110a09[_0x179f6b(0x1d7)](_0x179f6b(0x1d6),{'allowAttributes':[_0x179f6b(0x205)]}),_0x110a09[_0x179f6b(0x1e6)](_0x179f6b(0x1e7))&&_0x110a09[_0x179f6b(0x1d7)](_0x179f6b(0x1e7),{'allowAttributes':[_0x179f6b(0x205)]});}[_0x14b57e(0x1f5)](){const _0x51c4c8=_0x14b57e,_0x42aaa1=this[_0x51c4c8(0x1df)];_0x42aaa1[_0x51c4c8(0x213)][_0x51c4c8(0x20f)](_0x51c4c8(0x1f8))[_0x51c4c8(0x1dd)]({'model':_0x51c4c8(0x205),'view':_0x51c4c8(0x1e8)}),_0x42aaa1[_0x51c4c8(0x213)][_0x51c4c8(0x20f)](_0x51c4c8(0x1cf))[_0x51c4c8(0x1e0)]({'model':{'key':_0x51c4c8(0x205),'value':_0x1d7be4=>_0x1d7be4[_0x51c4c8(0x1d9)](_0x51c4c8(0x1e8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a7d4f=_0x42aaa1[_0x51c4c8(0x1fa)][_0x51c4c8(0x217)](_0x51c4c8(0x1ec));_0x5a7d4f&&this[_0x51c4c8(0x1fb)](_0x5a7d4f,_0x51c4c8(0x1d1),(_0x33b2d6,[_0x36d656,_0x5e9295])=>{const _0x142103=_0x51c4c8;_0x36d656[_0x142103(0x1ee)](_0x142103(0x205),_0x5e9295);});}[_0x14b57e(0x1f7)](){const _0x1853d2=_0x14b57e,_0x11613a=this[_0x1853d2(0x1df)][_0x1853d2(0x1da)][_0x1853d2(0x217)](_0x1853d2(0x21f))||{},_0x39093b=this[_0x1853d2(0x1df)][_0x1853d2(0x1da)][_0x1853d2(0x217)](_0x1853d2(0x20c))||'';this[_0x1853d2(0x21a)]=_0x17bd22(_0x31d271[_0x1853d2(0x1f0)],_0x1853d2(0x1f2),{..._0x11613a,'pubkey':_0x39093b,'ctx-name':_0x1853d2(0x1e2),'sourceList':'','imgOnly':_0x1853d2(0x1f1),'removeCopyright':_0x1853d2(0x1f1),'localeName':this[_0x1853d2(0x1df)][_0x1853d2(0x1d2)][_0x1853d2(0x1d0)],'externalSourcesEmbedCss':_0x1853d2(0x1ea)}),this[_0x1853d2(0x21a)][_0x1853d2(0x1f9)]=_0x1ae0f7=>{const _0x58e171=_0x1853d2;if(_0x58e171(0x208)==_0x1ae0f7)return _0x58e171(0x21c);},_0x31d271[_0x1853d2(0x1f0)][_0x1853d2(0x1f6)][_0x1853d2(0x1e1)](this[_0x1853d2(0x21a)]);}[_0x14b57e(0x1d8)](){const _0x3fc32b=_0x14b57e;this[_0x3fc32b(0x216)]=_0x17bd22(_0x31d271[_0x3fc32b(0x1f0)],_0x3fc32b(0x1d4),{'ctx-name':_0x3fc32b(0x1e2)}),_0x31d271[_0x3fc32b(0x1f0)][_0x3fc32b(0x1f6)][_0x3fc32b(0x1e1)](this[_0x3fc32b(0x216)]);}[_0x14b57e(0x207)](){const _0x7de760=_0x14b57e,_0x1e33ff=this[_0x7de760(0x1df)][_0x7de760(0x1fa)][_0x7de760(0x217)](_0x7de760(0x1dc));_0x1e33ff&&this[_0x7de760(0x1fb)](_0x1e33ff,_0x7de760(0x1fd),()=>{const _0x413940=_0x7de760,_0x4d9ef0=this[_0x413940(0x1df)][_0x413940(0x20a)][_0x413940(0x1f0)][_0x413940(0x21b)][_0x413940(0x1db)]();_0x4d9ef0&&_0x4d9ef0[_0x413940(0x1d9)](_0x413940(0x205))&&this[_0x413940(0x1df)][_0x413940(0x1e3)][_0x413940(0x1d5)][_0x413940(0x1ff)](_0x413940(0x1e9),()=>{const _0x8d50b3=_0x413940;_0x562a37(this[_0x8d50b3(0x1df)],_0x4d9ef0);});});const _0x42fc10=this[_0x7de760(0x1df)][_0x7de760(0x1fa)][_0x7de760(0x217)](_0x7de760(0x209));_0x42fc10&&this[_0x7de760(0x1fb)](_0x42fc10,_0x7de760(0x1fd),()=>{const _0xb3e76e=_0x7de760,_0x476203=this[_0xb3e76e(0x1df)][_0xb3e76e(0x20a)][_0xb3e76e(0x1f0)][_0xb3e76e(0x21b)][_0xb3e76e(0x1db)]();_0x476203&&_0x476203[_0xb3e76e(0x1d9)](_0xb3e76e(0x205))&&this[_0xb3e76e(0x1df)][_0xb3e76e(0x1e3)][_0xb3e76e(0x1d5)][_0xb3e76e(0x1ff)](_0xb3e76e(0x1e9),()=>{const _0x1c5f97=_0xb3e76e;_0x562a37(this[_0x1c5f97(0x1df)],_0x476203);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x15d9f3,ObservableMixin as _0x2bc8f4}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2afb2e}from'ckeditor5/src/ui.js';import _0x34dba3 from'./uploadcareimageeditformview.js';import _0x12e762 from'../../utils/uploadutils.js';import _0x1f5240 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x2d54f5,getImageDimension as _0x15f13c}from'../../utils/editingutils.js';import{isAncestor as _0x616849}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x2bc8f4(){constructor(_0x46c725,_0x551175,_0x4582c8){super(),this['_editor']=_0x46c725,this['_dialog']=_0x551175,this['_imageElement']=_0x4582c8,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 _0x2b6a4e=this['_imageElement'],_0x38b0ff=_0x2b6a4e['getAttribute']('uploadcareImageId'),_0x13a9c3=_0x2b6a4e['getAttribute']('src');if(_0x38b0ff)await this['_loadImageInfo'](_0x38b0ff,_0x13a9c3);else{if(this['_imageCache']['has'](_0x13a9c3)){const _0x4c6340=this['_imageCache']['get'](_0x13a9c3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c6340['url'],this['imageDimension']=_0x4c6340['dimension'],this['imageId']=_0x4c6340['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x377e67}=this['_editor'],t=_0x377e67['t'],_0x3c4347=new _0x34dba3(_0x377e67,this['imageStatus'],this['_attributes']);_0x3c4347['bind']('status')['to'](this,'imageStatus'),_0x3c4347['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c4347['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c4347['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c4347,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1f5240,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c4347,'position':_0x2afb2e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c4347['focus']();},'onHide':()=>{_0x3c4347['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4785a6=>!_0x616849(_0x4785a6,_0x3c4347['element'])}});}['_loadImageInfo'](_0x4ce500,_0x3872f9){return _0x12e762['getInfo'](_0x4ce500,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x536844=>{const {width:_0x40f21a,height:_0x2ba725}=_0x536844['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3872f9,this['imageDimension']={'width':_0x40f21a,'height':_0x2ba725},this['imageId']=_0x4ce500;})['catch'](_0x197178=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x197178['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b83e5,_0x179907){return this['_getImageAsFile'](_0x4b83e5)['then'](_0x4118d9=>_0x12e762['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x179907['signal'],'file':_0x4118d9,'onProgress':_0x58b504=>{_0x58b504&&_0x58b504['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x58b504['value']));}}))['then'](_0x11e7a6=>{const {width:_0x197760,height:_0x591456}=_0x11e7a6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11e7a6['cdnUrl'],this['imageDimension']={'width':_0x197760,'height':_0x591456},this['imageId']=_0x11e7a6['uuid'],this['imageUploadProgress']=null;const _0x159c21=_0x4b83e5['getAttribute']('src');this['_imageCache']['set'](_0x159c21,{'id':_0x11e7a6['uuid'],'url':_0x11e7a6['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1f0f46=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f0f46['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2a380b,_0x21ad7c){_0x2a380b['on']('apply',(_0x190579,_0x19afad)=>{this['_replaceImage'](_0x21ad7c,_0x19afad['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2a380b['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2a380b['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x210253,_0x342c7c,_0x2f90f2){const _0x2bf9d5=this['_editor'],{width:_0x502a6a,height:_0x44220f}=_0x15f13c(_0x342c7c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1129d2,imageSources:_0x230a4e}=_0x2d54f5(_0x342c7c,_0x502a6a);_0x2bf9d5['model']['change'](_0x37fc72=>{if('$graveyard'===_0x210253['root']['rootName']){_0x2bf9d5['execute']('insertImage',{'imageType':_0x210253['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x210253['getAttributes']()),'uploadcareImageId':_0x2f90f2,'src':_0x1129d2,'sources':_0x230a4e,'width':_0x502a6a,'height':_0x44220f}});const _0x4d1288=_0x210253['getChildren']();_0x210253=_0x2bf9d5['model']['document']['selection']['getSelectedElement']();for(const _0x13c791 of _0x4d1288)_0x37fc72['append'](_0x37fc72['cloneElement'](_0x13c791),_0x210253);}else _0x37fc72['setSelection'](_0x210253,'on'),_0x2bf9d5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x210253['getAttributes']()),'uploadcareImageId':_0x2f90f2,'src':_0x1129d2,'sources':_0x230a4e,'width':_0x502a6a,'height':_0x44220f},_0x210253);_0x37fc72['setSelection'](_0x210253,'on');});}async['_getImageAsFile'](_0x1b260d){const _0x30849c=_0x15d9f3['window'],_0x3c8a39=_0x15d9f3['document']['location']['href'],_0x2d8c0f=new _0x30849c['URL'](_0x1b260d['getAttribute']('src'),_0x3c8a39);if('data:'===_0x2d8c0f['protocol']){const _0x40e345=_0x2d8c0f['href']['split'](','),_0x5c77e6=_0x40e345[0x0]['match'](/:(.*?);/)[0x1],_0x48c154=_0x5c77e6['split']('/')[0x1],_0x5f36bf=_0x30849c['atob'](_0x40e345[_0x40e345['length']-0x1]);let _0x26ab2f=_0x5f36bf['length'];const _0xf1785c=new _0x30849c['Uint8Array'](_0x26ab2f);for(;_0x26ab2f--;)_0xf1785c[_0x26ab2f]=_0x5f36bf['charCodeAt'](_0x26ab2f);return new _0x30849c['File']([_0xf1785c],'image.'+_0x48c154,{'type':_0x5c77e6});}const _0x23e8b5=_0x2d8c0f['href']['split']('/'),_0x4cf724=_0x23e8b5[_0x23e8b5['length']-0x1],_0x5eaefa=_0x4cf724['split']('.')[0x1];return _0x30849c['fetch'](_0x2d8c0f['href'])['then'](_0x5ec149=>_0x5ec149['clone']()['blob']())['then'](_0x5ed62b=>new _0x30849c['File']([_0x5ed62b],_0x4cf724,{'type':'image/'+_0x5eaefa}));}}
23
+ import{global as _0x23aef9,ObservableMixin as _0x59c485}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1de9ea}from'ckeditor5/src/ui.js';import _0x2528bd from'./uploadcareimageeditformview.js';import _0x5ce275 from'../../utils/uploadutils.js';import _0x29d9dc from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x1291c4,getImageDimension as _0x3948b5}from'../../utils/editingutils.js';import{isAncestor as _0x44d1c7}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x59c485(){constructor(_0x13b14f,_0x34bb7b,_0x5d103c){super(),this['_editor']=_0x13b14f,this['_dialog']=_0x34bb7b,this['_imageElement']=_0x5d103c,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0xa3ccdf=this['_imageElement'],_0x567325=_0xa3ccdf['getAttribute']('uploadcareImageId'),_0x422565=_0xa3ccdf['getAttribute']('src');if(_0x567325)await this['_loadImageInfo'](_0x567325,_0x422565);else{if(this['_imageCache']['has'](_0x422565)){const _0x2c86c5=this['_imageCache']['get'](_0x422565);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c86c5['url'],this['imageDimension']=_0x2c86c5['dimension'],this['imageId']=_0x2c86c5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x17d4a9}=this['_editor'],t=_0x17d4a9['t'],_0xb84e8a=new _0x2528bd(_0x17d4a9,this['imageStatus'],this['_attributes']);_0xb84e8a['bind']('status')['to'](this,'imageStatus'),_0xb84e8a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb84e8a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb84e8a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb84e8a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x29d9dc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb84e8a,'position':_0x1de9ea['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb84e8a['focus']();},'onHide':()=>{_0xb84e8a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28e1a7=>!_0x44d1c7(_0x28e1a7,_0xb84e8a['element'])}});}['_loadImageInfo'](_0x37928e,_0x42d082){return _0x5ce275['getInfo'](_0x37928e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4d27d2=>{const {width:_0x2e504e,height:_0x670a9b}=_0x4d27d2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42d082,this['imageDimension']={'width':_0x2e504e,'height':_0x670a9b},this['imageId']=_0x37928e;})['catch'](_0x30b007=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30b007['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x56ae61,_0x3553ea){return this['_getImageAsFile'](_0x56ae61)['then'](_0x2bc441=>_0x5ce275['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3553ea['signal'],'file':_0x2bc441,'onProgress':_0x4627ca=>{_0x4627ca&&_0x4627ca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4627ca['value']));}}))['then'](_0x2e6fa5=>{const {width:_0x135521,height:_0x5a6f89}=_0x2e6fa5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e6fa5['cdnUrl'],this['imageDimension']={'width':_0x135521,'height':_0x5a6f89},this['imageId']=_0x2e6fa5['uuid'],this['imageUploadProgress']=null;const _0xb028c8=_0x56ae61['getAttribute']('src');this['_imageCache']['set'](_0xb028c8,{'id':_0x2e6fa5['uuid'],'url':_0x2e6fa5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1cff81=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1cff81['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45c76e,_0x5ccc38){_0x45c76e['on']('apply',(_0x87bebf,_0xe5c603)=>{this['_replaceImage'](_0x5ccc38,_0xe5c603['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45c76e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45c76e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2a0326,_0x242704,_0xfe89ef){const _0x4a84dd=this['_editor'],{width:_0xd7c7f8,height:_0x5aba94}=_0x3948b5(_0x242704,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x472847,imageSources:_0x25e92f}=_0x1291c4(_0x242704,_0xd7c7f8);_0x4a84dd['model']['change'](_0x354b2f=>{if('$graveyard'===_0x2a0326['root']['rootName']){_0x4a84dd['execute']('insertImage',{'imageType':_0x2a0326['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2a0326['getAttributes']()),'uploadcareImageId':_0xfe89ef,'src':_0x472847,'sources':_0x25e92f,'width':_0xd7c7f8,'height':_0x5aba94}});const _0x21e2cb=_0x2a0326['getChildren']();_0x2a0326=_0x4a84dd['model']['document']['selection']['getSelectedElement']();for(const _0xcb147f of _0x21e2cb)_0x354b2f['append'](_0x354b2f['cloneElement'](_0xcb147f),_0x2a0326);}else _0x354b2f['setSelection'](_0x2a0326,'on'),_0x4a84dd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2a0326['getAttributes']()),'uploadcareImageId':_0xfe89ef,'src':_0x472847,'sources':_0x25e92f,'width':_0xd7c7f8,'height':_0x5aba94},_0x2a0326);_0x354b2f['setSelection'](_0x2a0326,'on');});}async['_getImageAsFile'](_0x214d08){const _0x3cec52=_0x23aef9['window'],_0xccffc=_0x23aef9['document']['location']['href'],_0x329dee=new _0x3cec52['URL'](_0x214d08['getAttribute']('src'),_0xccffc);if('data:'===_0x329dee['protocol']){const _0x226e1b=_0x329dee['href']['split'](','),_0x4c62f9=_0x226e1b[0x0]['match'](/:(.*?);/)[0x1],_0x3efeb1=_0x4c62f9['split']('/')[0x1],_0x1f6658=_0x3cec52['atob'](_0x226e1b[_0x226e1b['length']-0x1]);let _0x5cd7c1=_0x1f6658['length'];const _0x3dbbb9=new _0x3cec52['Uint8Array'](_0x5cd7c1);for(;_0x5cd7c1--;)_0x3dbbb9[_0x5cd7c1]=_0x1f6658['charCodeAt'](_0x5cd7c1);return new _0x3cec52['File']([_0x3dbbb9],'image.'+_0x3efeb1,{'type':_0x4c62f9});}const _0x5c4801=_0x329dee['href']['split']('/'),_0x58fca7=_0x5c4801[_0x5c4801['length']-0x1],_0x52d67f=_0x58fca7['split']('.')[0x1];return _0x3cec52['fetch'](_0x329dee['href'])['then'](_0x211038=>_0x211038['clone']()['blob']())['then'](_0x27cd8d=>new _0x3cec52['File']([_0x27cd8d],_0x58fca7,{'type':'image/'+_0x52d67f}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x286b75,_0x1dd04d){const _0x476042=_0x50a7,_0x8659f9=_0x286b75();while(!![]){try{const _0x22cefc=parseInt(_0x476042(0x162))/0x1*(-parseInt(_0x476042(0x15e))/0x2)+-parseInt(_0x476042(0x16c))/0x3*(parseInt(_0x476042(0x166))/0x4)+parseInt(_0x476042(0x15b))/0x5*(parseInt(_0x476042(0x161))/0x6)+parseInt(_0x476042(0x15d))/0x7*(-parseInt(_0x476042(0x15f))/0x8)+parseInt(_0x476042(0x16b))/0x9*(-parseInt(_0x476042(0x163))/0xa)+parseInt(_0x476042(0x15c))/0xb+parseInt(_0x476042(0x167))/0xc*(parseInt(_0x476042(0x16a))/0xd);if(_0x22cefc===_0x1dd04d)break;else _0x8659f9['push'](_0x8659f9['shift']());}catch(_0x5853a5){_0x8659f9['push'](_0x8659f9['shift']());}}}(_0x5ea8,0x7eb76));function _0x50a7(_0x352f78,_0x5ee1b7){const _0x5ea88a=_0x5ea8();return _0x50a7=function(_0x50a7f8,_0x378cd5){_0x50a7f8=_0x50a7f8-0x15b;let _0x4c680d=_0x5ea88a[_0x50a7f8];return _0x4c680d;},_0x50a7(_0x352f78,_0x5ee1b7);}function _0x5ea8(){const _0x5cc445=['6434WbpfDI','24688uIwnac','image-edit','30iJGrIm','101TcZeKY','150wSrfCr','ck-uploadcare-theme','imageSrc','3259892ioSkWL','36wOgHiB','set','bindTemplate','3365921elMwzo','71748BnrDsk','3icGMTD','uc-cloud-image-editor','setTemplate','uc-light','919455TEWrQI','5250322urSKcL','896dhGAai'];_0x5ea8=function(){return _0x5cc445;};return _0x5ea8();}import{View as _0x3705d2}from'ckeditor5/src/ui.js';export default class tt extends _0x3705d2{constructor(_0x473054,_0x46bde5){const _0x2cc3c5=_0x50a7;super(_0x473054);const _0x12d821=this[_0x2cc3c5(0x169)];this[_0x2cc3c5(0x168)](_0x2cc3c5(0x165),''),this[_0x2cc3c5(0x16e)]({'tag':_0x2cc3c5(0x16d),'attributes':{..._0x46bde5,'class':[_0x2cc3c5(0x16f),_0x2cc3c5(0x164)],'ctx-name':_0x2cc3c5(0x160),'cdn-url':_0x12d821['to'](_0x2cc3c5(0x165))}});}}
23
+ (function(_0xe2e83,_0x5ea099){const _0x502eff=_0x5aab,_0xa67742=_0xe2e83();while(!![]){try{const _0x19fe86=parseInt(_0x502eff(0xe4))/0x1*(-parseInt(_0x502eff(0xe3))/0x2)+-parseInt(_0x502eff(0xe2))/0x3*(parseInt(_0x502eff(0xe6))/0x4)+parseInt(_0x502eff(0xe5))/0x5*(parseInt(_0x502eff(0xe1))/0x6)+parseInt(_0x502eff(0xd7))/0x7+-parseInt(_0x502eff(0xda))/0x8+parseInt(_0x502eff(0xdd))/0x9+-parseInt(_0x502eff(0xe7))/0xa*(-parseInt(_0x502eff(0xe8))/0xb);if(_0x19fe86===_0x5ea099)break;else _0xa67742['push'](_0xa67742['shift']());}catch(_0x418c9a){_0xa67742['push'](_0xa67742['shift']());}}}(_0x316f,0x36429));function _0x316f(){const _0x1d45bb=['398000FxFZUQ','uc-light','ck-uploadcare-theme','3394809ESPeiC','image-edit','imageSrc','setTemplate','1804230vBwwjT','1224234kIOpym','43622IfYZun','7vNFaZB','5bETKOt','4ALVlCH','154540pJjhUZ','22HvghXY','uc-cloud-image-editor','867580RNUbFN','bindTemplate','set'];_0x316f=function(){return _0x1d45bb;};return _0x316f();}function _0x5aab(_0x4bae3c,_0x1a4a97){const _0x316fb6=_0x316f();return _0x5aab=function(_0x5aaba0,_0x190841){_0x5aaba0=_0x5aaba0-0xd6;let _0x57e25c=_0x316fb6[_0x5aaba0];return _0x57e25c;},_0x5aab(_0x4bae3c,_0x1a4a97);}import{View as _0x4b1559}from'ckeditor5/src/ui.js';export default class tt extends _0x4b1559{constructor(_0x10757b,_0x5634ce){const _0x3812b9=_0x5aab;super(_0x10757b);const _0x1457a6=this[_0x3812b9(0xd8)];this[_0x3812b9(0xd9)](_0x3812b9(0xdf),''),this[_0x3812b9(0xe0)]({'tag':_0x3812b9(0xd6),'attributes':{..._0x5634ce,'class':[_0x3812b9(0xdb),_0x3812b9(0xdc)],'ctx-name':_0x3812b9(0xde),'cdn-url':_0x1457a6['to'](_0x3812b9(0xdf))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x63164f,IconView as et,View as _0x42aa5f}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x42aa5f{constructor(_0x21da11){super(_0x21da11);const t=_0x21da11['t'];this['set']('errorType',null);const _0x4bb344=new _0x63164f(_0x21da11);_0x4bb344['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4bb344['withText']=!0x0,_0x4bb344['class']='ck-button-action',_0x4bb344['on']('execute',()=>{this['fire']('retry');}),_0x4bb344['bind']('isVisible')['to'](this,'errorType',_0xfdd9f1=>'NotFound'!==_0xfdd9f1);const _0x5cbb05=new et();_0x5cbb05['content']=at,_0x5cbb05['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2931de=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':[_0x5cbb05,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2931de['to']('errorType',_0xeee2da=>t('NotFound'!==_0xeee2da?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4bb344]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{ButtonView as _0xfbe539,IconView as et,View as _0x542022}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x542022{constructor(_0x41c87d){super(_0x41c87d);const t=_0x41c87d['t'];this['set']('errorType',null);const _0x297ff4=new _0xfbe539(_0x41c87d);_0x297ff4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x297ff4['withText']=!0x0,_0x297ff4['class']='ck-button-action',_0x297ff4['on']('execute',()=>{this['fire']('retry');}),_0x297ff4['bind']('isVisible')['to'](this,'errorType',_0x15d4f5=>'NotFound'!==_0x15d4f5);const _0x2898e6=new et();_0x2898e6['content']=at,_0x2898e6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x55b39c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x2898e6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x55b39c['to']('errorType',_0x3c02e6=>t('NotFound'!==_0x3c02e6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x297ff4]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x532511,View as _0x22e67b}from'ckeditor5/src/ui.js';export default class ta extends _0x22e67b{constructor(_0x9e9616){super(_0x9e9616);const t=_0x9e9616['t'],_0x557f4c=this['bindTemplate'],_0x3ae71f=new _0x532511();_0x3ae71f['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':[_0x3ae71f,{'text':_0x557f4c['to']('imageUploadProgress',_0x19f26c=>t('Loading\x20image...')+'\x20('+(_0x19f26c||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x345c08,View as _0x4e7d63}from'ckeditor5/src/ui.js';export default class ta extends _0x4e7d63{constructor(_0x5d01b8){super(_0x5d01b8);const t=_0x5d01b8['t'],_0x1ac49b=this['bindTemplate'],_0x551804=new _0x345c08();_0x551804['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x551804,{'text':_0x1ac49b['to']('imageUploadProgress',_0x3e0a3d=>t('Loading\x20image...')+'\x20('+(_0x3e0a3d||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x447d80=_0x1c05;(function(_0x2e9be6,_0x1ca416){const _0x85d9fb=_0x1c05,_0x43c0b8=_0x2e9be6();while(!![]){try{const _0x5218f2=parseInt(_0x85d9fb(0x19f))/0x1+parseInt(_0x85d9fb(0x1af))/0x2*(-parseInt(_0x85d9fb(0x1be))/0x3)+parseInt(_0x85d9fb(0x19c))/0x4*(parseInt(_0x85d9fb(0x193))/0x5)+parseInt(_0x85d9fb(0x1ad))/0x6*(-parseInt(_0x85d9fb(0x1a1))/0x7)+-parseInt(_0x85d9fb(0x1bd))/0x8*(-parseInt(_0x85d9fb(0x1b6))/0x9)+parseInt(_0x85d9fb(0x1c1))/0xa*(-parseInt(_0x85d9fb(0x1b5))/0xb)+parseInt(_0x85d9fb(0x195))/0xc*(parseInt(_0x85d9fb(0x1b2))/0xd);if(_0x5218f2===_0x1ca416)break;else _0x43c0b8['push'](_0x43c0b8['shift']());}catch(_0x24500b){_0x43c0b8['push'](_0x43c0b8['shift']());}}}(_0x4889,0xb2da8));function _0x4889(){const _0x41ee66=['uc-cloud-image-editor','_items','target','length','div','focus','addMany','5882472djAVRi','disconnect','38exdGaj','_waitForImageEditorComponent','clear','169YrnkhM','_addUploadcareImageEditorListeners','createCollection','6401373Exgsdd','9106605oxmEEt','_setView','change:status','add','_addErrorViewListeners','once','apply','8DzrMjo','58185JZzNTi','retry','element','10jWYamB','ck-uploadcare-form','ck-reset_all-excluded','addedNodes','getFocusableElement','_errorView','detail','nodeName','set','querySelector','_loadingView','status','5swZwkE','render','1292952VPNgVY','error','filter','setTemplate','toLowerCase','uploading','observe','34468LZduIh','cancel','addEventListener','242284jgfyPR','ready','7pUFlji','cdnUrl','_editingView','_focusableView','fire'];_0x4889=function(){return _0x41ee66;};return _0x4889();}import{View as _0x3acb8f}from'ckeditor5/src/ui.js';import _0x590b38 from'./uploadcareimageeditformloadingview.js';import _0x1ee8c4 from'./uploadcareimageeditformerrorview.js';import _0x1f308a from'./uploadcareimageeditformeditingview.js';import _0x52f419 from'../../utils/dialogfocusmanagerview.js';function _0x1c05(_0x51af76,_0x395f54){const _0x4889a7=_0x4889();return _0x1c05=function(_0x1c05d0,_0x4461fc){_0x1c05d0=_0x1c05d0-0x18b;let _0x32e661=_0x4889a7[_0x1c05d0];return _0x32e661;},_0x1c05(_0x51af76,_0x395f54);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x52f419{constructor(_0x31e8f2,_0x24298e,_0x4c1787){const _0x43c0de=_0x1c05;super(_0x31e8f2),this[_0x43c0de(0x1a7)]=this[_0x43c0de(0x1b4)](),this[_0x43c0de(0x191)]=new _0x590b38(_0x31e8f2),this[_0x43c0de(0x18c)]=new _0x1ee8c4(_0x31e8f2),this[_0x43c0de(0x1a3)]=new _0x1f308a(_0x31e8f2,_0x4c1787),this[_0x43c0de(0x1a4)]=new _0x3acb8f(_0x31e8f2),this[_0x43c0de(0x1a4)][_0x43c0de(0x198)](this[_0x43c0de(0x18b)]()),this[_0x43c0de(0x18f)](_0x43c0de(0x192),_0x24298e),this[_0x43c0de(0x198)]({'tag':_0x43c0de(0x1aa),'attributes':{'class':['ck',_0x43c0de(0x1c3),_0x43c0de(0x1c2)],'tabindex':'-1'},'children':this[_0x43c0de(0x1a7)]}),this[_0x43c0de(0x1b7)](),this[_0x43c0de(0x1bb)](_0x43c0de(0x194),()=>{const _0x133fa9=_0x43c0de;this[_0x133fa9(0x1b0)](this[_0x133fa9(0x1c0)],_0x6d6ea9=>{const _0x5214d0=_0x133fa9;this[_0x5214d0(0x1b3)](_0x6d6ea9);});}),this['on'](_0x43c0de(0x1b8),()=>{const _0x13a901=_0x43c0de;this[_0x13a901(0x1b7)]();}),this[_0x43c0de(0x1ba)]();}[_0x447d80(0x1ab)](){const _0x4dca3f=_0x447d80;this[_0x4dca3f(0x1c0)][_0x4dca3f(0x1ab)]();}[_0x447d80(0x1b7)](){const _0x1e3b60=_0x447d80;switch(this[_0x1e3b60(0x1a7)][_0x1e3b60(0x1b1)](),this[_0x1e3b60(0x192)]){case _0x1e3b60(0x19a):this[_0x1e3b60(0x1a7)][_0x1e3b60(0x1b9)](this[_0x1e3b60(0x191)]);break;case _0x1e3b60(0x196):this[_0x1e3b60(0x1a7)][_0x1e3b60(0x1b9)](this[_0x1e3b60(0x18c)]);break;case _0x1e3b60(0x1a0):this[_0x1e3b60(0x1a7)][_0x1e3b60(0x1ac)]([this[_0x1e3b60(0x1a3)],this[_0x1e3b60(0x1a4)]]);}}[_0x447d80(0x1b0)](_0x113cfb,_0x54f4a9){const _0x13dc33=_0x447d80,_0x47fe4a=_0x13dc33(0x1a6),_0x346dee=_0x113cfb[_0x13dc33(0x190)](_0x47fe4a);if(_0x346dee)return _0x54f4a9(_0x346dee);const _0x556ccd=new MutationObserver(_0xbed6c6=>{const _0x6c6b56=_0x13dc33,_0x1ad921=_0xbed6c6[_0x6c6b56(0x197)](_0x217802=>_0x217802[_0x6c6b56(0x1a8)]===_0x113cfb&&_0x217802[_0x6c6b56(0x1c4)][_0x6c6b56(0x1a9)]>0x0&&_0x217802[_0x6c6b56(0x1c4)][0x0][_0x6c6b56(0x18e)][_0x6c6b56(0x199)]()===_0x47fe4a);_0x1ad921[_0x6c6b56(0x1a9)]&&(_0x556ccd[_0x6c6b56(0x1ae)](),_0x54f4a9(_0x1ad921[0x0][_0x6c6b56(0x1c4)][0x0]));});_0x556ccd[_0x13dc33(0x19b)](_0x113cfb,{'childList':!0x0,'subtree':!0x0});}[_0x447d80(0x1b3)](_0x181d10){const _0x4c8776=_0x447d80;_0x181d10[_0x4c8776(0x19e)](_0x4c8776(0x1bc),_0x276547=>{const _0x2a860d=_0x4c8776;this[_0x2a860d(0x1a5)](_0x2a860d(0x1bc),{'imageSrc':_0x276547[_0x2a860d(0x18d)][_0x2a860d(0x1a2)]});}),_0x181d10[_0x4c8776(0x19e)](_0x4c8776(0x19d),()=>{const _0x43169e=_0x4c8776;this[_0x43169e(0x1a5)](_0x43169e(0x19d));});}[_0x447d80(0x1ba)](){const _0x5eb359=_0x447d80;this[_0x5eb359(0x18c)]['on'](_0x5eb359(0x1bf),()=>{const _0x1e16a0=_0x5eb359;this[_0x1e16a0(0x1a5)](_0x1e16a0(0x1bf));});}}
23
+ const _0x145df0=_0x1ac5;(function(_0x3fe7da,_0x34c5e4){const _0x52e2a3=_0x1ac5,_0x1f07c3=_0x3fe7da();while(!![]){try{const _0x3905f1=parseInt(_0x52e2a3(0xd6))/0x1+-parseInt(_0x52e2a3(0xd2))/0x2*(-parseInt(_0x52e2a3(0xfe))/0x3)+parseInt(_0x52e2a3(0xfb))/0x4+-parseInt(_0x52e2a3(0xfd))/0x5*(-parseInt(_0x52e2a3(0x101))/0x6)+-parseInt(_0x52e2a3(0xe1))/0x7+-parseInt(_0x52e2a3(0xe2))/0x8*(-parseInt(_0x52e2a3(0xe3))/0x9)+-parseInt(_0x52e2a3(0xe9))/0xa;if(_0x3905f1===_0x34c5e4)break;else _0x1f07c3['push'](_0x1f07c3['shift']());}catch(_0x11312a){_0x1f07c3['push'](_0x1f07c3['shift']());}}}(_0x4eba,0x8f3be));import{View as _0x16f02c}from'ckeditor5/src/ui.js';import _0x4e1d56 from'./uploadcareimageeditformloadingview.js';import _0x5e5654 from'./uploadcareimageeditformerrorview.js';import _0x3b5a76 from'./uploadcareimageeditformeditingview.js';import _0x5a6079 from'../../utils/dialogfocusmanagerview.js';function _0x4eba(){const _0x3b4e4a=['518568SeluUg','27oHCzWD','_items','ck-reset_all-excluded','getFocusableElement','setTemplate','_loadingView','15129070dETmDe','error','ready','addMany','once','focus','cancel','querySelector','clear','_focusableView','target','_addErrorViewListeners','apply','cdnUrl','_setView','status','fire','ck-uploadcare-form','2924196tgyxFy','observe','1845pwEZLp','3TZhjfW','div','disconnect','4404cBqXQY','_errorView','add','uc-cloud-image-editor','filter','render','addEventListener','toLowerCase','994852LnlfSh','createCollection','element','addedNodes','707450iHuAfb','change:status','length','set','nodeName','detail','_editingView','uploading','retry','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','2111487qFsmRs'];_0x4eba=function(){return _0x3b4e4a;};return _0x4eba();}function _0x1ac5(_0x348f48,_0x443684){const _0x4eba52=_0x4eba();return _0x1ac5=function(_0x1ac5a1,_0x55fb46){_0x1ac5a1=_0x1ac5a1-0xd2;let _0x68210b=_0x4eba52[_0x1ac5a1];return _0x68210b;},_0x1ac5(_0x348f48,_0x443684);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x5a6079{constructor(_0xb5e80c,_0x2e015f,_0x5612b4){const _0x52b6fb=_0x1ac5;super(_0xb5e80c),this[_0x52b6fb(0xe4)]=this[_0x52b6fb(0xd3)](),this[_0x52b6fb(0xe8)]=new _0x4e1d56(_0xb5e80c),this[_0x52b6fb(0x102)]=new _0x5e5654(_0xb5e80c),this[_0x52b6fb(0xdc)]=new _0x3b5a76(_0xb5e80c,_0x5612b4),this[_0x52b6fb(0xf2)]=new _0x16f02c(_0xb5e80c),this[_0x52b6fb(0xf2)][_0x52b6fb(0xe7)](this[_0x52b6fb(0xe6)]()),this[_0x52b6fb(0xd9)](_0x52b6fb(0xf8),_0x2e015f),this[_0x52b6fb(0xe7)]({'tag':_0x52b6fb(0xff),'attributes':{'class':['ck',_0x52b6fb(0xe5),_0x52b6fb(0xfa)],'tabindex':'-1'},'children':this[_0x52b6fb(0xe4)]}),this[_0x52b6fb(0xf7)](),this[_0x52b6fb(0xed)](_0x52b6fb(0x106),()=>{const _0x5380c5=_0x52b6fb;this[_0x5380c5(0xdf)](this[_0x5380c5(0xd4)],_0x3d2f07=>{const _0x78db33=_0x5380c5;this[_0x78db33(0xe0)](_0x3d2f07);});}),this['on'](_0x52b6fb(0xd7),()=>{const _0x15a1d8=_0x52b6fb;this[_0x15a1d8(0xf7)]();}),this[_0x52b6fb(0xf4)]();}[_0x145df0(0xee)](){const _0xa8a78f=_0x145df0;this[_0xa8a78f(0xd4)][_0xa8a78f(0xee)]();}[_0x145df0(0xf7)](){const _0x1576f0=_0x145df0;switch(this[_0x1576f0(0xe4)][_0x1576f0(0xf1)](),this[_0x1576f0(0xf8)]){case _0x1576f0(0xdd):this[_0x1576f0(0xe4)][_0x1576f0(0x103)](this[_0x1576f0(0xe8)]);break;case _0x1576f0(0xea):this[_0x1576f0(0xe4)][_0x1576f0(0x103)](this[_0x1576f0(0x102)]);break;case _0x1576f0(0xeb):this[_0x1576f0(0xe4)][_0x1576f0(0xec)]([this[_0x1576f0(0xdc)],this[_0x1576f0(0xf2)]]);}}[_0x145df0(0xdf)](_0x4ca6c5,_0x1d46b4){const _0x196236=_0x145df0,_0x2783cf=_0x196236(0x104),_0x29929=_0x4ca6c5[_0x196236(0xf0)](_0x2783cf);if(_0x29929)return _0x1d46b4(_0x29929);const _0x20faee=new MutationObserver(_0x44a7e3=>{const _0x98f610=_0x196236,_0x4140ac=_0x44a7e3[_0x98f610(0x105)](_0x8c190d=>_0x8c190d[_0x98f610(0xf3)]===_0x4ca6c5&&_0x8c190d[_0x98f610(0xd5)][_0x98f610(0xd8)]>0x0&&_0x8c190d[_0x98f610(0xd5)][0x0][_0x98f610(0xda)][_0x98f610(0x108)]()===_0x2783cf);_0x4140ac[_0x98f610(0xd8)]&&(_0x20faee[_0x98f610(0x100)](),_0x1d46b4(_0x4140ac[0x0][_0x98f610(0xd5)][0x0]));});_0x20faee[_0x196236(0xfc)](_0x4ca6c5,{'childList':!0x0,'subtree':!0x0});}[_0x145df0(0xe0)](_0x34d2b2){const _0x6cbc07=_0x145df0;_0x34d2b2[_0x6cbc07(0x107)](_0x6cbc07(0xf5),_0x169521=>{const _0x577f48=_0x6cbc07;this[_0x577f48(0xf9)](_0x577f48(0xf5),{'imageSrc':_0x169521[_0x577f48(0xdb)][_0x577f48(0xf6)]});}),_0x34d2b2[_0x6cbc07(0x107)](_0x6cbc07(0xef),()=>{const _0x590650=_0x6cbc07;this[_0x590650(0xf9)](_0x590650(0xef));});}[_0x145df0(0xf4)](){const _0x33244a=_0x145df0;this[_0x33244a(0x102)]['on'](_0x33244a(0xde),()=>{const _0x19638c=_0x33244a;this[_0x19638c(0xf9)](_0x19638c(0xde));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe5a9(_0x188ecb,_0x4ce871){const _0x2d5b90=_0x2d5b();return _0xe5a9=function(_0xe5a94c,_0x735764){_0xe5a94c=_0xe5a94c-0x118;let _0x167b43=_0x2d5b90[_0xe5a94c];return _0x167b43;},_0xe5a9(_0x188ecb,_0x4ce871);}const _0xd24b13=_0xe5a9;(function(_0x16a769,_0x5ef6f6){const _0x34a236=_0xe5a9,_0x557fd5=_0x16a769();while(!![]){try{const _0x1a2cff=-parseInt(_0x34a236(0x12c))/0x1+parseInt(_0x34a236(0x124))/0x2+parseInt(_0x34a236(0x12b))/0x3+-parseInt(_0x34a236(0x12f))/0x4*(-parseInt(_0x34a236(0x12a))/0x5)+-parseInt(_0x34a236(0x127))/0x6+parseInt(_0x34a236(0x11f))/0x7*(-parseInt(_0x34a236(0x12e))/0x8)+-parseInt(_0x34a236(0x125))/0x9;if(_0x1a2cff===_0x5ef6f6)break;else _0x557fd5['push'](_0x557fd5['shift']());}catch(_0x23b7db){_0x557fd5['push'](_0x557fd5['shift']());}}}(_0x2d5b,0xa7253));import{Command as _0x142a1e}from'ckeditor5/src/core.js';import{Dialog as _0x2d7d76}from'ckeditor5/src/ui.js';function _0x2d5b(){const _0x5a0d8c=['refresh','plugins','document','get','1892468TxJWZK','5698179baYcAb','set','4287420gHfUBx','_isEditable','config','3110oywvPN','1023033XlBsmz','476991TwJYsZ','imageInline','16IFbcCr','8056TkVqyF','model','element','selection','uploadcare.allowExternalImagesEditing','unbind','isActive','bind','imageBlock','requires','editor','getSelectedElement','execute','isEnabled','imageEditController','107219TrTTeg'];_0x2d5b=function(){return _0x5a0d8c;};return _0x2d5b();}import _0x213cf6 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x350f69}from'../utils/editingutils.js';export default class J extends _0x142a1e{static get[_0xd24b13(0x119)](){return[_0x2d7d76];}constructor(_0x2db329){const _0x29b4f5=_0xd24b13;super(_0x2db329),this[_0x29b4f5(0x11e)]=void 0x0,this[_0x29b4f5(0x128)]=_0x350f69(_0x2db329[_0x29b4f5(0x129)][_0x29b4f5(0x123)](_0x29b4f5(0x133))||[]),this[_0x29b4f5(0x126)]({'isActive':!0x1});}[_0xd24b13(0x120)](){const _0x473303=_0xd24b13,_0x10153a=this[_0x473303(0x11a)][_0x473303(0x130)][_0x473303(0x122)][_0x473303(0x132)][_0x473303(0x11b)]();this[_0x473303(0x11d)]=this[_0x473303(0x128)](_0x10153a);}[_0xd24b13(0x11c)](){const _0x2bbee8=_0xd24b13;this[_0x2bbee8(0x11e)]&&(this[_0x2bbee8(0x134)](_0x2bbee8(0x135)),this[_0x2bbee8(0x11e)]=void 0x0);const _0x3c66b7=this[_0x2bbee8(0x11a)][_0x2bbee8(0x130)][_0x2bbee8(0x122)][_0x2bbee8(0x132)][_0x2bbee8(0x11b)]();_0x3c66b7&&(_0x3c66b7['is'](_0x2bbee8(0x131),_0x2bbee8(0x118))||_0x3c66b7['is'](_0x2bbee8(0x131),_0x2bbee8(0x12d)))&&(this[_0x2bbee8(0x11e)]=new _0x213cf6(this[_0x2bbee8(0x11a)],this[_0x2bbee8(0x11a)][_0x2bbee8(0x121)][_0x2bbee8(0x123)](_0x2d7d76),_0x3c66b7),this[_0x2bbee8(0x136)](_0x2bbee8(0x135))['to'](this[_0x2bbee8(0x11e)],_0x2bbee8(0x135)));}}
23
+ const _0x67dd5e=_0x4dfc;function _0x5c14(){const _0x49e5bc=['10yaHulD','set','plugins','editor','_isEditable','imageBlock','30771rquTVd','get','uploadcare.allowExternalImagesEditing','30pkteTE','isActive','1515VYiyDh','document','605134EyiUJS','1424RUzbJm','config','imageInline','requires','256879AiSMix','selection','222cGcXzN','unbind','5154rEmWGa','bind','element','getSelectedElement','4772977fnkXGD','execute','model','imageEditController','34344648ryaDbU','isEnabled','refresh','2161928XHHNbQ'];_0x5c14=function(){return _0x49e5bc;};return _0x5c14();}(function(_0x508ec0,_0x3018bc){const _0x3dbf76=_0x4dfc,_0x15a80d=_0x508ec0();while(!![]){try{const _0x342cbd=parseInt(_0x3dbf76(0x168))/0x1+parseInt(_0x3dbf76(0x171))/0x2*(-parseInt(_0x3dbf76(0x166))/0x3)+parseInt(_0x3dbf76(0x15a))/0x4*(parseInt(_0x3dbf76(0x15b))/0x5)+parseInt(_0x3dbf76(0x16f))/0x6*(parseInt(_0x3dbf76(0x16d))/0x7)+parseInt(_0x3dbf76(0x169))/0x8*(parseInt(_0x3dbf76(0x161))/0x9)+parseInt(_0x3dbf76(0x164))/0xa*(parseInt(_0x3dbf76(0x175))/0xb)+-parseInt(_0x3dbf76(0x157))/0xc;if(_0x342cbd===_0x3018bc)break;else _0x15a80d['push'](_0x15a80d['shift']());}catch(_0x324c32){_0x15a80d['push'](_0x15a80d['shift']());}}}(_0x5c14,0xc10df));function _0x4dfc(_0x52e3f6,_0x1ffbce){const _0x5c1484=_0x5c14();return _0x4dfc=function(_0x4dfcad,_0x20ec57){_0x4dfcad=_0x4dfcad-0x157;let _0x418c46=_0x5c1484[_0x4dfcad];return _0x418c46;},_0x4dfc(_0x52e3f6,_0x1ffbce);}import{Command as _0x3086f0}from'ckeditor5/src/core.js';import{Dialog as _0x3bb1e3}from'ckeditor5/src/ui.js';import _0x34c8b0 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4a4551}from'../utils/editingutils.js';export default class J extends _0x3086f0{static get[_0x67dd5e(0x16c)](){return[_0x3bb1e3];}constructor(_0x2217e8){const _0x5101d3=_0x67dd5e;super(_0x2217e8),this[_0x5101d3(0x178)]=void 0x0,this[_0x5101d3(0x15f)]=_0x4a4551(_0x2217e8[_0x5101d3(0x16a)][_0x5101d3(0x162)](_0x5101d3(0x163))||[]),this[_0x5101d3(0x15c)]({'isActive':!0x1});}[_0x67dd5e(0x159)](){const _0x286186=_0x67dd5e,_0x52c6b3=this[_0x286186(0x15e)][_0x286186(0x177)][_0x286186(0x167)][_0x286186(0x16e)][_0x286186(0x174)]();this[_0x286186(0x158)]=this[_0x286186(0x15f)](_0x52c6b3);}[_0x67dd5e(0x176)](){const _0xeb336b=_0x67dd5e;this[_0xeb336b(0x178)]&&(this[_0xeb336b(0x170)](_0xeb336b(0x165)),this[_0xeb336b(0x178)]=void 0x0);const _0x43a612=this[_0xeb336b(0x15e)][_0xeb336b(0x177)][_0xeb336b(0x167)][_0xeb336b(0x16e)][_0xeb336b(0x174)]();_0x43a612&&(_0x43a612['is'](_0xeb336b(0x173),_0xeb336b(0x160))||_0x43a612['is'](_0xeb336b(0x173),_0xeb336b(0x16b)))&&(this[_0xeb336b(0x178)]=new _0x34c8b0(this[_0xeb336b(0x15e)],this[_0xeb336b(0x15e)][_0xeb336b(0x15d)][_0xeb336b(0x162)](_0x3bb1e3),_0x43a612),this[_0xeb336b(0x172)](_0xeb336b(0x165))['to'](this[_0xeb336b(0x178)],_0xeb336b(0x165)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfb2160=_0x4d52;(function(_0x4c04c2,_0x34aa0a){const _0xbca09b=_0x4d52,_0x3953d8=_0x4c04c2();while(!![]){try{const _0x1c2efe=-parseInt(_0xbca09b(0x1b5))/0x1+-parseInt(_0xbca09b(0x1b8))/0x2*(-parseInt(_0xbca09b(0x1ba))/0x3)+-parseInt(_0xbca09b(0x1c3))/0x4*(parseInt(_0xbca09b(0x1b6))/0x5)+parseInt(_0xbca09b(0x1be))/0x6*(parseInt(_0xbca09b(0x1bc))/0x7)+parseInt(_0xbca09b(0x1c4))/0x8*(parseInt(_0xbca09b(0x1ca))/0x9)+-parseInt(_0xbca09b(0x1c8))/0xa*(-parseInt(_0xbca09b(0x1b3))/0xb)+parseInt(_0xbca09b(0x1b9))/0xc;if(_0x1c2efe===_0x34aa0a)break;else _0x3953d8['push'](_0x3953d8['shift']());}catch(_0x50e895){_0x3953d8['push'](_0x3953d8['shift']());}}}(_0x59b8,0xd08ce));import{Plugin as _0x478c22}from'ckeditor5/src/core.js';import{Notification as _0x3a8412}from'ckeditor5/src/ui.js';function _0x59b8(){const _0xf59cce=['59904bdhwtF','18607237CvCgRW','add','1661616KhXKCr','1035TWnPre','ImageUtils','845882djEsiV','9516552oLnLWQ','3goCnGW','isPremiumPlugin','280xbgzzp','commands','120882IIOkDA','ImageEditing','init','requires','UploadcareImageEditEditing','31888ZLaxFr','544HLvYpF','isOfficialPlugin','uploadcareImageReplace','pluginName','10cMvjmO','uploadcareImageEdit'];_0x59b8=function(){return _0xf59cce;};return _0x59b8();}import _0xd52b3c from'./uploadcareimageeditcommand.js';function _0x4d52(_0x15b13d,_0x51d4ba){const _0x59b8a2=_0x59b8();return _0x4d52=function(_0x4d526d,_0x4cd6bd){_0x4d526d=_0x4d526d-0x1b3;let _0x257043=_0x59b8a2[_0x4d526d];return _0x257043;},_0x4d52(_0x15b13d,_0x51d4ba);}import _0x26b66a from'./uploadcareimagereplacecommand.js';import _0x299c77 from'../uploadcareediting.js';export default class m extends _0x478c22{static get[_0xfb2160(0x1c7)](){const _0x456686=_0xfb2160;return _0x456686(0x1c2);}static get[_0xfb2160(0x1c1)](){const _0x498a86=_0xfb2160;return[_0x299c77,_0x3a8412,_0x498a86(0x1b7),_0x498a86(0x1bf)];}static get[_0xfb2160(0x1c5)](){return!0x0;}static get[_0xfb2160(0x1bb)](){return!0x0;}[_0xfb2160(0x1c0)](){const _0x48453e=_0xfb2160,{editor:_0x560186}=this;_0x560186[_0x48453e(0x1bd)][_0x48453e(0x1b4)](_0x48453e(0x1c9),new _0xd52b3c(_0x560186)),_0x560186[_0x48453e(0x1bd)][_0x48453e(0x1b4)](_0x48453e(0x1c6),new _0x26b66a(_0x560186));}}
23
+ const _0x3ee13a=_0x33ca;(function(_0x3bb7d1,_0x2c9365){const _0x5672bc=_0x33ca,_0x3bada8=_0x3bb7d1();while(!![]){try{const _0x56828b=-parseInt(_0x5672bc(0x152))/0x1*(-parseInt(_0x5672bc(0x15c))/0x2)+parseInt(_0x5672bc(0x149))/0x3*(-parseInt(_0x5672bc(0x145))/0x4)+-parseInt(_0x5672bc(0x153))/0x5*(parseInt(_0x5672bc(0x14d))/0x6)+-parseInt(_0x5672bc(0x148))/0x7+-parseInt(_0x5672bc(0x14f))/0x8*(-parseInt(_0x5672bc(0x150))/0x9)+-parseInt(_0x5672bc(0x14e))/0xa*(parseInt(_0x5672bc(0x156))/0xb)+-parseInt(_0x5672bc(0x159))/0xc*(-parseInt(_0x5672bc(0x15b))/0xd);if(_0x56828b===_0x2c9365)break;else _0x3bada8['push'](_0x3bada8['shift']());}catch(_0x28651f){_0x3bada8['push'](_0x3bada8['shift']());}}}(_0x5d0b,0xe17ea));function _0x5d0b(){const _0x4fe237=['3408rtkKyH','31212HlLWBR','ImageEditing','1NbyszV','38600CPLPWt','UploadcareImageEditEditing','uploadcareImageEdit','11dncAoC','isPremiumPlugin','add','12PIotHx','pluginName','37657503hWLyoU','1421362cdOjyx','requires','522884YaJjQe','uploadcareImageReplace','commands','8321159KTuaYr','24hyIyHo','ImageUtils','isOfficialPlugin','init','306TthyqS','15329290BMXaud'];_0x5d0b=function(){return _0x4fe237;};return _0x5d0b();}import{Plugin as _0x7ad494}from'ckeditor5/src/core.js';import{Notification as _0x3711d9}from'ckeditor5/src/ui.js';import _0x397241 from'./uploadcareimageeditcommand.js';function _0x33ca(_0x4134ad,_0x381469){const _0x5d0b06=_0x5d0b();return _0x33ca=function(_0x33cacf,_0x598716){_0x33cacf=_0x33cacf-0x145;let _0x3e8b4c=_0x5d0b06[_0x33cacf];return _0x3e8b4c;},_0x33ca(_0x4134ad,_0x381469);}import _0x2e782e from'./uploadcareimagereplacecommand.js';import _0x3921a5 from'../uploadcareediting.js';export default class m extends _0x7ad494{static get[_0x3ee13a(0x15a)](){const _0x173108=_0x3ee13a;return _0x173108(0x154);}static get[_0x3ee13a(0x15d)](){const _0x3eda99=_0x3ee13a;return[_0x3921a5,_0x3711d9,_0x3eda99(0x14a),_0x3eda99(0x151)];}static get[_0x3ee13a(0x14b)](){return!0x0;}static get[_0x3ee13a(0x157)](){return!0x0;}[_0x3ee13a(0x14c)](){const _0x534915=_0x3ee13a,{editor:_0x53ee4c}=this;_0x53ee4c[_0x534915(0x147)][_0x534915(0x158)](_0x534915(0x155),new _0x397241(_0x53ee4c)),_0x53ee4c[_0x534915(0x147)][_0x534915(0x158)](_0x534915(0x146),new _0x2e782e(_0x53ee4c));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x197925}from'ckeditor5/src/core.js';import{ButtonView as _0x2a87d6}from'ckeditor5/src/ui.js';import{createElement as _0x2a48e8}from'ckeditor5/src/utils.js';import _0x528ebc from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x197925{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x1c440b=this['editor'];_0x1c440b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x167fdc=>{const _0x58d619=_0x1c440b['commands']['get']('uploadcareImageEdit'),_0x553e6d=new _0x2a87d6(_0x167fdc),t=_0x167fdc['t'];return _0x553e6d['set']({'icon':_0x528ebc,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x553e6d['bind']('isEnabled')['to'](_0x58d619),_0x553e6d['bind']('isOn')['to'](_0x58d619,'isActive'),this['listenTo'](_0x553e6d,'execute',()=>{_0x1c440b['execute']('uploadcareImageEdit'),_0x1c440b['editing']['view']['focus']();}),_0x553e6d;}),this['_initConfig']();}['_initConfig'](){const _0x57940e=_0x2a48e8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x57940e),this['listenTo'](this['editor'],'destroy',()=>{_0x57940e['remove']();});}}
23
+ import{Plugin as _0xf1c169}from'ckeditor5/src/core.js';import{ButtonView as _0x165c79}from'ckeditor5/src/ui.js';import{createElement as _0x1bef4c}from'ckeditor5/src/utils.js';import _0x592236 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0xf1c169{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x3e3070=this['editor'];_0x3e3070['ui']['componentFactory']['add']('uploadcareImageEdit',_0x11f1e1=>{const _0x2c0805=_0x3e3070['commands']['get']('uploadcareImageEdit'),_0x39d847=new _0x165c79(_0x11f1e1),t=_0x11f1e1['t'];return _0x39d847['set']({'icon':_0x592236,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x39d847['bind']('isEnabled')['to'](_0x2c0805),_0x39d847['bind']('isOn')['to'](_0x2c0805,'isActive'),this['listenTo'](_0x39d847,'execute',()=>{_0x3e3070['execute']('uploadcareImageEdit'),_0x3e3070['editing']['view']['focus']();}),_0x39d847;}),this['_initConfig']();}['_initConfig'](){const _0xa2d3b2=_0x1bef4c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa2d3b2),this['listenTo'](this['editor'],'destroy',()=>{_0xa2d3b2['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39ea7e=_0x3305;(function(_0x4cdaa9,_0x3c92b1){const _0x57fe47=_0x3305,_0x51a134=_0x4cdaa9();while(!![]){try{const _0x5d2237=-parseInt(_0x57fe47(0x19f))/0x1*(-parseInt(_0x57fe47(0x1b0))/0x2)+parseInt(_0x57fe47(0x1ae))/0x3+parseInt(_0x57fe47(0x1a2))/0x4*(parseInt(_0x57fe47(0x1b2))/0x5)+parseInt(_0x57fe47(0x1af))/0x6+parseInt(_0x57fe47(0x1a7))/0x7*(parseInt(_0x57fe47(0x1a4))/0x8)+parseInt(_0x57fe47(0x1aa))/0x9+-parseInt(_0x57fe47(0x1b3))/0xa;if(_0x5d2237===_0x3c92b1)break;else _0x51a134['push'](_0x51a134['shift']());}catch(_0xcf94c){_0x51a134['push'](_0x51a134['shift']());}}}(_0x29b5,0x62a02));import{Command as _0x33d793}from'ckeditor5/src/core.js';export default class O extends _0x33d793{[_0x39ea7e(0x1b4)](){const _0x22aea0=_0x39ea7e,_0x4c789e=this[_0x22aea0(0x19d)][_0x22aea0(0x1a8)][_0x22aea0(0x1a9)][_0x22aea0(0x19c)][_0x22aea0(0x1ab)]();this[_0x22aea0(0x1a3)]=Boolean(_0x4c789e&&(_0x4c789e['is'](_0x22aea0(0x1a6),_0x22aea0(0x1ac))||_0x4c789e['is'](_0x22aea0(0x1a6),_0x22aea0(0x1ad))));}[_0x39ea7e(0x1a0)](_0x19c7dc){const _0xd0e9ae=_0x39ea7e,_0x1e721b=this[_0xd0e9ae(0x19d)][_0xd0e9ae(0x1a8)][_0xd0e9ae(0x1a9)][_0xd0e9ae(0x19c)][_0xd0e9ae(0x1ab)]();this[_0xd0e9ae(0x19d)][_0xd0e9ae(0x1a8)][_0xd0e9ae(0x19b)](_0x4a2c9e=>{const _0x11cd65=_0xd0e9ae;_0x4a2c9e[_0x11cd65(0x1a1)](_0x19c7dc,_0x1e721b),_0x4a2c9e[_0x11cd65(0x1b1)](_0x11cd65(0x1a5),_0x1e721b),_0x4a2c9e[_0x11cd65(0x1b1)](_0x11cd65(0x19e),_0x1e721b);});}}function _0x3305(_0x4bf393,_0x320d81){const _0x29b5f4=_0x29b5();return _0x3305=function(_0x3305e3,_0x1b1099){_0x3305e3=_0x3305e3-0x19b;let _0x263456=_0x29b5f4[_0x3305e3];return _0x263456;},_0x3305(_0x4bf393,_0x320d81);}function _0x29b5(){const _0x8ca94b=['24813200OUYJer','refresh','change','selection','editor','sizes','7417lBhdKR','execute','setAttributes','1652euJGDM','isEnabled','624qOfBYC','srcset','element','54299bIkIVn','model','document','954594AXjaWp','getSelectedElement','imageBlock','imageInline','1603896QSLXNp','4006044vmGZTy','136YBllTq','removeAttribute','5660mCBNkH'];_0x29b5=function(){return _0x8ca94b;};return _0x29b5();}
23
+ function _0x4095(_0x114a5d,_0xaa4165){const _0x4a5e1f=_0x4a5e();return _0x4095=function(_0x409574,_0x5791ca){_0x409574=_0x409574-0xa0;let _0x5ef754=_0x4a5e1f[_0x409574];return _0x5ef754;},_0x4095(_0x114a5d,_0xaa4165);}const _0x38d2eb=_0x4095;(function(_0x1a9913,_0x240d5f){const _0x3092e8=_0x4095,_0x127e65=_0x1a9913();while(!![]){try{const _0x5f3ba5=parseInt(_0x3092e8(0xb7))/0x1+parseInt(_0x3092e8(0xad))/0x2+parseInt(_0x3092e8(0xa0))/0x3*(parseInt(_0x3092e8(0xb5))/0x4)+parseInt(_0x3092e8(0xa7))/0x5*(parseInt(_0x3092e8(0xb0))/0x6)+-parseInt(_0x3092e8(0xa2))/0x7*(-parseInt(_0x3092e8(0xac))/0x8)+-parseInt(_0x3092e8(0xb6))/0x9*(parseInt(_0x3092e8(0xb2))/0xa)+-parseInt(_0x3092e8(0xaa))/0xb;if(_0x5f3ba5===_0x240d5f)break;else _0x127e65['push'](_0x127e65['shift']());}catch(_0x571d2c){_0x127e65['push'](_0x127e65['shift']());}}}(_0x4a5e,0xe153f));function _0x4a5e(){const _0x105362=['sizes','2056zcsUxW','503352IpTEKX','getSelectedElement','setAttributes','6gRBTXx','editor','20mUYMAz','execute','refresh','2916092xrofIX','2760291CJeDNl','1514140hFjMdw','srcset','model','element','6xAJEzK','imageBlock','18102VLdNoi','change','removeAttribute','document','imageInline','7036505vuvPCl','isEnabled','selection','41353664EhdzWb'];_0x4a5e=function(){return _0x105362;};return _0x4a5e();}import{Command as _0x412092}from'ckeditor5/src/core.js';export default class O extends _0x412092{[_0x38d2eb(0xb4)](){const _0x16aa99=_0x38d2eb,_0x49d573=this[_0x16aa99(0xb1)][_0x16aa99(0xb9)][_0x16aa99(0xa5)][_0x16aa99(0xa9)][_0x16aa99(0xae)]();this[_0x16aa99(0xa8)]=Boolean(_0x49d573&&(_0x49d573['is'](_0x16aa99(0xba),_0x16aa99(0xa1))||_0x49d573['is'](_0x16aa99(0xba),_0x16aa99(0xa6))));}[_0x38d2eb(0xb3)](_0x32117a){const _0x362d89=_0x38d2eb,_0x3726ab=this[_0x362d89(0xb1)][_0x362d89(0xb9)][_0x362d89(0xa5)][_0x362d89(0xa9)][_0x362d89(0xae)]();this[_0x362d89(0xb1)][_0x362d89(0xb9)][_0x362d89(0xa3)](_0x37a6c3=>{const _0x2bfce1=_0x362d89;_0x37a6c3[_0x2bfce1(0xaf)](_0x32117a,_0x3726ab),_0x37a6c3[_0x2bfce1(0xa4)](_0x2bfce1(0xb8),_0x3726ab),_0x37a6c3[_0x2bfce1(0xa4)](_0x2bfce1(0xab),_0x3726ab);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x59b8d7=_0x5c31;(function(_0xce24a9,_0x5ad396){var _0x258ea9=_0x5c31,_0x5155ed=_0xce24a9();while(!![]){try{var _0x1be031=-parseInt(_0x258ea9(0x1de))/0x1+-parseInt(_0x258ea9(0x1dc))/0x2+-parseInt(_0x258ea9(0x1d7))/0x3+parseInt(_0x258ea9(0x1d6))/0x4+-parseInt(_0x258ea9(0x1d4))/0x5*(parseInt(_0x258ea9(0x1d5))/0x6)+-parseInt(_0x258ea9(0x1d8))/0x7*(-parseInt(_0x258ea9(0x1d9))/0x8)+parseInt(_0x258ea9(0x1da))/0x9;if(_0x1be031===_0x5ad396)break;else _0x5155ed['push'](_0x5155ed['shift']());}catch(_0x20ca14){_0x5155ed['push'](_0x5155ed['shift']());}}}(_0x34cb,0xd9b5e));import{Plugin as _0xe16dea}from'ckeditor5/src/core.js';function _0x5c31(_0x1a99a3,_0x5809b6){var _0x34cbde=_0x34cb();return _0x5c31=function(_0x5c31ae,_0x4b9ffa){_0x5c31ae=_0x5c31ae-0x1d1;var _0x59ba7d=_0x34cbde[_0x5c31ae];return _0x59ba7d;},_0x5c31(_0x1a99a3,_0x5809b6);}import _0x4f7b4b from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xdfbe0f from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0xe16dea{static get[_0x59b8d7(0x1d2)](){var _0x4f0b85=_0x59b8d7;return _0x4f0b85(0x1d3);}static get[_0x59b8d7(0x1dd)](){return[_0x4f7b4b,_0xdfbe0f];}static get[_0x59b8d7(0x1d1)](){return!0x0;}static get[_0x59b8d7(0x1db)](){return!0x0;}}function _0x34cb(){var _0x30bd3a=['UploadcareImageEdit','1325ZGuate','25080XzQRbN','5523680VuSLYC','683661SqNzbz','2513fEoSiG','1520lcUySN','37345959cLvtvf','isPremiumPlugin','3332516RMUdah','requires','1705094TPSYKK','isOfficialPlugin','pluginName'];_0x34cb=function(){return _0x30bd3a;};return _0x34cb();}
23
+ function _0x18ad(_0x20a2e6,_0x171985){var _0x337da9=_0x337d();return _0x18ad=function(_0x18ad58,_0x31c435){_0x18ad58=_0x18ad58-0x1a4;var _0x175b30=_0x337da9[_0x18ad58];return _0x175b30;},_0x18ad(_0x20a2e6,_0x171985);}var _0x4106a0=_0x18ad;function _0x337d(){var _0x139bec=['3828318DDoJaz','4386624tcqlbU','isPremiumPlugin','9658593hPuWdl','5607776nNybTS','66580XsBlyX','10sKYIWt','7gVpUZf','pluginName','6VTSMCF','requires','UploadcareImageEdit','2068265LOQaHN','isOfficialPlugin','94401UtuQea'];_0x337d=function(){return _0x139bec;};return _0x337d();}(function(_0x18a4bc,_0x1888a5){var _0x1a42ce=_0x18ad,_0x606212=_0x18a4bc();while(!![]){try{var _0x4ea089=parseInt(_0x1a42ce(0x1af))/0x1+-parseInt(_0x1a42ce(0x1a4))/0x2*(-parseInt(_0x1a42ce(0x1a9))/0x3)+-parseInt(_0x1a42ce(0x1ab))/0x4+parseInt(_0x1a42ce(0x1a7))/0x5+parseInt(_0x1a42ce(0x1aa))/0x6*(-parseInt(_0x1a42ce(0x1b1))/0x7)+parseInt(_0x1a42ce(0x1ae))/0x8+parseInt(_0x1a42ce(0x1ad))/0x9*(parseInt(_0x1a42ce(0x1b0))/0xa);if(_0x4ea089===_0x1888a5)break;else _0x606212['push'](_0x606212['shift']());}catch(_0x966b3c){_0x606212['push'](_0x606212['shift']());}}}(_0x337d,0x95eba));import{Plugin as _0x8357df}from'ckeditor5/src/core.js';import _0x1423b7 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x346580 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x8357df{static get[_0x4106a0(0x1b2)](){var _0x2b4d93=_0x4106a0;return _0x2b4d93(0x1a6);}static get[_0x4106a0(0x1a5)](){return[_0x1423b7,_0x346580];}static get[_0x4106a0(0x1a8)](){return!0x0;}static get[_0x4106a0(0x1ac)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fcc00=_0x3511;(function(_0x3d3da7,_0x4f5a77){const _0xd0e4f3=_0x3511,_0x2f3a30=_0x3d3da7();while(!![]){try{const _0x257006=-parseInt(_0xd0e4f3(0xcb))/0x1+parseInt(_0xd0e4f3(0xcc))/0x2+-parseInt(_0xd0e4f3(0xdc))/0x3*(parseInt(_0xd0e4f3(0xb3))/0x4)+parseInt(_0xd0e4f3(0xcd))/0x5+parseInt(_0xd0e4f3(0xd4))/0x6*(parseInt(_0xd0e4f3(0xe4))/0x7)+-parseInt(_0xd0e4f3(0xbe))/0x8+parseInt(_0xd0e4f3(0xa4))/0x9;if(_0x257006===_0x4f5a77)break;else _0x2f3a30['push'](_0x2f3a30['shift']());}catch(_0x3380f3){_0x2f3a30['push'](_0x2f3a30['shift']());}}}(_0x22cb,0xdabca));import{Plugin as _0x584740,icons as _0x3f6ba4}from'ckeditor5/src/core.js';import{ButtonView as _0x16b2d7,MenuBarMenuListItemButtonView as _0x1b3e87}from'ckeditor5/src/ui.js';import _0x599828 from'../theme/icons/dropbox.svg';import _0x145275 from'../theme/icons/facebook.svg';import _0x32d3f9 from'../theme/icons/google-drive.svg';import _0x1bfaa6 from'../theme/icons/google-photos.svg';import _0x2b4492 from'../theme/icons/link.svg';import _0x1826bf from'../theme/icons/onedrive.svg';function _0x3511(_0x397413,_0x498f05){const _0x22cbb2=_0x22cb();return _0x3511=function(_0x3511b6,_0xf1fbf){_0x3511b6=_0x3511b6-0x9f;let _0x14cd5d=_0x22cbb2[_0x3511b6];return _0x14cd5d;},_0x3511(_0x397413,_0x498f05);}import{UploadcareSource as _0x1d8570}from'./uploadcareconfig.js';import{getTranslation as _0x36b965}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x584740{static get[_0x2fcc00(0xa6)](){const _0x13ed0a=_0x2fcc00;return _0x13ed0a(0xaf);}static get[_0x2fcc00(0xda)](){return!0x0;}static get[_0x2fcc00(0xd9)](){return!0x0;}[_0x2fcc00(0xb6)](){const _0x43be02=_0x2fcc00;this[_0x43be02(0xab)]=this[_0x43be02(0xa9)][_0x43be02(0xb7)][_0x43be02(0xe9)](_0x43be02(0xab));const _0x55a520=this[_0x43be02(0xa9)];this[_0x43be02(0xe6)]=setInterval(()=>{const _0x32e2d2=_0x43be02;let _0x5860fd;for(const _0x271900 in _0x55a520){const _0x1c2084=_0x271900,_0x5b3558=_0x55a520[_0x1c2084];if(_0x32e2d2(0xca)==_0x5b3558||_0x32e2d2(0xec)==_0x5b3558||_0x32e2d2(0xa5)==_0x5b3558||_0x32e2d2(0xb8)==_0x5b3558||_0x32e2d2(0xb1)==_0x5b3558||_0x32e2d2(0xe1)==_0x5b3558||_0x32e2d2(0xdd)==_0x5b3558||_0x32e2d2(0xcf)==_0x5b3558){delete _0x55a520[_0x1c2084],_0x5860fd=_0x5b3558,clearInterval(this[_0x32e2d2(0xe6)]),this[_0x32e2d2(0xe6)]=void 0x0;break;}}_0x32e2d2(0xec)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xa0)),_0x32e2d2(0xa5)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xd0)),_0x32e2d2(0xb8)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xbd)),_0x32e2d2(0xb1)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xc1),_0x32e2d2(0xc5)),_0x32e2d2(0xe1)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xd2)),_0x32e2d2(0xdd)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xea)),_0x32e2d2(0xcf)==_0x5860fd&&_0x55a520[_0x32e2d2(0xc7)](_0x32e2d2(0xa8));},0x3e8);}[_0x2fcc00(0xae)](){const _0x542eb4=_0x2fcc00,{editor:_0x3058df}=this,_0x3959dd=_0x3058df[_0x542eb4(0xee)][_0x542eb4(0xe9)](_0x542eb4(0xbf));if(!_0x3959dd)return;const _0x54dd1c=this[_0x542eb4(0xe0)](_0x3058df[_0x542eb4(0xb7)][_0x542eb4(0xe9)](_0x542eb4(0xed)))[_0x542eb4(0xad)]((_0x17ca0b,_0x410b50)=>{const _0x41c6d3=_0x542eb4,_0x2262fe=this[_0x41c6d3(0xb4)](_0x410b50[_0x41c6d3(0xa3)]);return _0x17ca0b[_0x2262fe]||(_0x17ca0b[_0x2262fe]=[]),_0x17ca0b[_0x2262fe][_0x41c6d3(0xc4)](_0x410b50),_0x17ca0b;},{});_0x3058df[_0x542eb4(0xc8)][_0x542eb4(0xb9)](_0x542eb4(0x9f))&&_0x3058df[_0x542eb4(0xee)][_0x542eb4(0xe9)](_0x542eb4(0xbf))&&Object[_0x542eb4(0xc0)](_0x54dd1c)[_0x542eb4(0xc6)](([_0xa789b5,_0x1eff2c])=>{const _0x50fb76=_0x542eb4;_0x3058df[_0x50fb76(0xc8)][_0x50fb76(0xe9)](_0x50fb76(0x9f))[_0x50fb76(0xbb)]({'name':_0xa789b5,'observable':()=>_0x3959dd,'buttonViewCreator':()=>this[_0x50fb76(0xe3)](_0x1eff2c),'formViewCreator':()=>this[_0x50fb76(0xd6)](_0x1eff2c),'menuBarButtonViewCreator':()=>this[_0x50fb76(0xe8)](_0x1eff2c),'override':_0x50fb76(0xb0)!==_0xa789b5});});}[_0x2fcc00(0xd3)](){const _0x1c29ce=_0x2fcc00;super[_0x1c29ce(0xd3)](),this[_0x1c29ce(0xe6)]&&clearInterval(this[_0x1c29ce(0xe6)]);}[_0x2fcc00(0xe0)](_0x1fd20c){const _0x4a1acd=_0x2fcc00,{locale:_0xdd1d41}=this[_0x4a1acd(0xa9)];return _0x1fd20c[_0x4a1acd(0xd1)](_0x44c158=>{const _0xd8cb5e=_0x4a1acd,_0x7e8f72=_0x36b965(_0xdd1d41,_0x44c158,_0xd8cb5e(0xeb));switch(_0x44c158){case _0x1d8570[_0xd8cb5e(0xa2)]:return{'icon':_0x3f6ba4[_0xd8cb5e(0xc9)],'type':_0x1d8570[_0xd8cb5e(0xa2)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xd8)]:return{'icon':_0x2b4492,'type':_0x1d8570[_0xd8cb5e(0xd8)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xd7)]:return{'icon':_0x599828,'type':_0x1d8570[_0xd8cb5e(0xd7)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xbc)]:return{'icon':_0x145275,'type':_0x1d8570[_0xd8cb5e(0xbc)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xd5)]:return{'icon':_0x32d3f9,'type':_0x1d8570[_0xd8cb5e(0xd5)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xba)]:return{'icon':_0x1bfaa6,'type':_0x1d8570[_0xd8cb5e(0xba)],..._0x7e8f72};case _0x1d8570[_0xd8cb5e(0xe5)]:return{'icon':_0x1826bf,'type':_0x1d8570[_0xd8cb5e(0xe5)],..._0x7e8f72};}});}[_0x2fcc00(0xb4)](_0xe19ddc){const _0xb778c=_0x2fcc00;switch(_0xe19ddc){case _0x1d8570[_0xb778c(0xa2)]:return _0xb778c(0xa7);case _0x1d8570[_0xb778c(0xd8)]:return _0xb778c(0xde);default:return _0xb778c(0xb0);}}[_0x2fcc00(0xaa)](_0x1aa824,_0x4c71c7){const _0x2f71a4=_0x2fcc00,_0x530ec0=this[_0x2f71a4(0xa9)],_0x26d003=new _0x1aa824(_0x530ec0[_0x2f71a4(0xac)]),_0x3ecae9=_0x530ec0[_0x2f71a4(0xee)][_0x2f71a4(0xe9)](_0x2f71a4(0xbf));return _0x26d003[_0x2f71a4(0xe2)](_0x2f71a4(0xc2))['to'](_0x3ecae9),_0x26d003['on'](_0x2f71a4(0xb5),()=>{const _0x4c42d2=_0x2f71a4;_0x3ecae9[_0x4c42d2(0xb5)](_0x4c71c7);}),_0x26d003;}[_0x2fcc00(0xe3)](_0x4ec5a0){const _0x2cf683=_0x2fcc00,{locale:_0x22872a}=this[_0x2cf683(0xa9)],_0x4d8411=this[_0x2cf683(0xa9)][_0x2cf683(0xc8)][_0x2cf683(0xe9)](_0x2cf683(0x9f)),_0x1419c0=_0x4ec5a0[0x0],_0x4029b8=this[_0x2cf683(0xaa)](_0x16b2d7,_0x1419c0[_0x2cf683(0xa3)]);return _0x4029b8[_0x2cf683(0xdf)]=_0x1419c0[_0x2cf683(0xdf)],_0x4029b8[_0x2cf683(0xe2)](_0x2cf683(0xb2))['to'](_0x4d8411,_0x2cf683(0xa1),_0x774db=>_0x36b965(_0x22872a,_0x1419c0[_0x2cf683(0xa3)],_0x774db?_0x2cf683(0xce):_0x2cf683(0xeb))[_0x2cf683(0xe7)]),_0x4029b8[_0x2cf683(0xc3)]=!0x0,_0x4029b8;}[_0x2fcc00(0xd6)](_0x525402){const _0x426427=_0x2fcc00,{locale:_0x179f2c}=this[_0x426427(0xa9)],_0xf2c57d=this[_0x426427(0xa9)][_0x426427(0xc8)][_0x426427(0xe9)](_0x426427(0x9f));return _0x525402[_0x426427(0xd1)](_0x33c8c4=>{const _0x2f2d12=_0x426427,_0x52d452=this[_0x2f2d12(0xaa)](_0x16b2d7,_0x33c8c4[_0x2f2d12(0xa3)]);return _0x52d452[_0x2f2d12(0xdb)]=!0x0,_0x52d452[_0x2f2d12(0xdf)]=_0x33c8c4[_0x2f2d12(0xdf)],_0x52d452[_0x2f2d12(0xe2)](_0x2f2d12(0xb2))['to'](_0xf2c57d,_0x2f2d12(0xa1),_0x225799=>_0x36b965(_0x179f2c,_0x33c8c4[_0x2f2d12(0xa3)],_0x225799?_0x2f2d12(0xce):_0x2f2d12(0xeb))[_0x2f2d12(0xe7)]),_0x52d452;});}[_0x2fcc00(0xe8)](_0x2d4a9a){const _0x521ee6=_0x2fcc00;return _0x2d4a9a[_0x521ee6(0xd1)](_0x52f840=>{const _0x2c2ebf=_0x521ee6,_0x3dab71=this[_0x2c2ebf(0xaa)](_0x1b3e87,_0x52f840[_0x2c2ebf(0xa3)]);return _0x3dab71[_0x2c2ebf(0xdf)]=_0x52f840[_0x2c2ebf(0xdf)],_0x3dab71[_0x2c2ebf(0xb2)]=_0x52f840[_0x2c2ebf(0xef)],_0x3dab71;});}}function _0x22cb(){const _0x332329=['15654DnYeaM','GDrive','_createDropdownButtons','Dropbox','URL','isPremiumPlugin','isOfficialPlugin','withText','1221fKVgDq','uploadcareLicenseKeyTrialLimit','url','icon','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','bind','_createToolbarButton','182lilBmc','OneDrive','_licenseKeyCheckInterval','text','_createMenuBarButtons','get','trialLimit','Insert','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','commands','shortText','ImageInsertUI','invalid','isImageSelected','Local','type','5417577rzacvF','uploadcareLicenseKeyExpired','pluginName','upload','usageLimit','editor','_createButton','licenseKey','locale','reduce','afterInit','UploadcareUI','assetManager','uploadcareLicenseKeyNotAllowed','label','128KoBoys','_getIntegrationKey','execute','init','config','uploadcareLicenseKeyDomainLimit','has','GPhotos','registerIntegration','Facebook','domainLimit','9146840fdLJsp','uploadcare','entries','featureNotAllowed','isEnabled','tooltip','push','Uploadcare','forEach','_showLicenseError','plugins','imageUpload','uploadcareLicenseKeyValid','447950gGhjXa','438712LeOwMv','8055660lqAKcr','Replace','uploadcareLicenseKeyUsageLimit','expired','map','evaluationLimit','destroy'];_0x22cb=function(){return _0x332329;};return _0x22cb();}
23
+ const _0x1ae2ec=_0x3344;(function(_0xf84d1c,_0x3020ff){const _0x2fc9ad=_0x3344,_0x2902dd=_0xf84d1c();while(!![]){try{const _0x2f5d96=parseInt(_0x2fc9ad(0xf4))/0x1+parseInt(_0x2fc9ad(0xbd))/0x2+-parseInt(_0x2fc9ad(0xea))/0x3+parseInt(_0x2fc9ad(0xd9))/0x4+parseInt(_0x2fc9ad(0xb8))/0x5+parseInt(_0x2fc9ad(0xef))/0x6*(-parseInt(_0x2fc9ad(0xc4))/0x7)+-parseInt(_0x2fc9ad(0xeb))/0x8;if(_0x2f5d96===_0x3020ff)break;else _0x2902dd['push'](_0x2902dd['shift']());}catch(_0x1d71cf){_0x2902dd['push'](_0x2902dd['shift']());}}}(_0xaa35,0x65b0d));import{Plugin as _0x392b5d,icons as _0x57867c}from'ckeditor5/src/core.js';function _0x3344(_0x3f805a,_0x149771){const _0xaa358b=_0xaa35();return _0x3344=function(_0x33448d,_0x5ddbc8){_0x33448d=_0x33448d-0xa5;let _0x36c1f0=_0xaa358b[_0x33448d];return _0x36c1f0;},_0x3344(_0x3f805a,_0x149771);}import{ButtonView as _0xde019a,MenuBarMenuListItemButtonView as _0x2f4cf5}from'ckeditor5/src/ui.js';import _0x1c8666 from'../theme/icons/dropbox.svg';import _0xd4a7fd from'../theme/icons/facebook.svg';import _0x2abb18 from'../theme/icons/google-drive.svg';import _0x1d7492 from'../theme/icons/google-photos.svg';import _0x4ce2c2 from'../theme/icons/link.svg';import _0x140f76 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x2fceb1}from'./uploadcareconfig.js';import{getTranslation as _0x488e3b}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0xaa35(){const _0x46a721=['plugins','entries','registerIntegration','Insert','url','isPremiumPlugin','reduce','uploadcareLicenseKeyExpired','isImageSelected','Local','assetManager','featureNotAllowed','_createDropdownButtons','1441941qZiXuS','3059056MlmGjA','expired','evaluationLimit','uploadcareLicenseKeyTrialLimit','43644WvplqH','text','locale','GPhotos','URL','296548YwciRS','uploadcareLicenseKeyDomainLimit','isEnabled','GDrive','has','isOfficialPlugin','_createMenuBarButtons','bind','config','type','domainLimit','upload','commands','afterInit','trialLimit','tooltip','OneDrive','push','Replace','uploadcareLicenseKeyInvalid','1095635IQfwJN','invalid','licenseKey','uploadcareLicenseKeyValid','pluginName','750932KJfVuB','UploadcareUI','map','uploadcare','shortText','icon','execute','357lQnnFk','_createToolbarButton','ImageInsertUI','_getIntegrationKey','uploadcare.uploader.sourceList','_normalizeConfigSourceList','uploadcareLicenseKeyUsageLimit','_createButton','Facebook','Uploadcare','_showLicenseError','imageUpload','usageLimit','label','forEach','_licenseKeyCheckInterval','uploadcareLicenseKeyNotAllowed','editor','destroy','get','withText','3037548WNoHIJ','uploadcareLicenseKeyEvaluationLimit','init','Dropbox'];_0xaa35=function(){return _0x46a721;};return _0xaa35();}export default class e extends _0x392b5d{static get[_0x1ae2ec(0xbc)](){const _0xe321b8=_0x1ae2ec;return _0xe321b8(0xbe);}static get[_0x1ae2ec(0xa9)](){return!0x0;}static get[_0x1ae2ec(0xe2)](){return!0x0;}[_0x1ae2ec(0xdb)](){const _0x486a65=_0x1ae2ec;this[_0x486a65(0xba)]=this[_0x486a65(0xd5)][_0x486a65(0xac)][_0x486a65(0xd7)](_0x486a65(0xba));const _0x183662=this[_0x486a65(0xd5)];this[_0x486a65(0xd3)]=setInterval(()=>{const _0x12f317=_0x486a65;let _0xfd0b78;for(const _0x4774e9 in _0x183662){const _0x51b596=_0x4774e9,_0x25d436=_0x183662[_0x51b596];if(_0x12f317(0xbb)==_0x25d436||_0x12f317(0xb7)==_0x25d436||_0x12f317(0xe4)==_0x25d436||_0x12f317(0xa5)==_0x25d436||_0x12f317(0xd4)==_0x25d436||_0x12f317(0xda)==_0x25d436||_0x12f317(0xee)==_0x25d436||_0x12f317(0xca)==_0x25d436){delete _0x183662[_0x51b596],_0xfd0b78=_0x25d436,clearInterval(this[_0x12f317(0xd3)]),this[_0x12f317(0xd3)]=void 0x0;break;}}_0x12f317(0xb7)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xb9)),_0x12f317(0xe4)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xec)),_0x12f317(0xa5)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xae)),_0x12f317(0xd4)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xe8),_0x12f317(0xcd)),_0x12f317(0xda)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xed)),_0x12f317(0xee)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xb2)),_0x12f317(0xca)==_0xfd0b78&&_0x183662[_0x12f317(0xce)](_0x12f317(0xd0));},0x3e8);}[_0x1ae2ec(0xb1)](){const _0x299659=_0x1ae2ec,{editor:_0x367ed0}=this,_0x3f73ef=_0x367ed0[_0x299659(0xb0)][_0x299659(0xd7)](_0x299659(0xc0));if(!_0x3f73ef)return;const _0x4dd8e5=this[_0x299659(0xc9)](_0x367ed0[_0x299659(0xac)][_0x299659(0xd7)](_0x299659(0xc8)))[_0x299659(0xe3)]((_0x3fa768,_0x44f412)=>{const _0x31f1a3=_0x299659,_0x5c9609=this[_0x31f1a3(0xc7)](_0x44f412[_0x31f1a3(0xad)]);return _0x3fa768[_0x5c9609]||(_0x3fa768[_0x5c9609]=[]),_0x3fa768[_0x5c9609][_0x31f1a3(0xb5)](_0x44f412),_0x3fa768;},{});_0x367ed0[_0x299659(0xdd)][_0x299659(0xa8)](_0x299659(0xc6))&&_0x367ed0[_0x299659(0xb0)][_0x299659(0xd7)](_0x299659(0xc0))&&Object[_0x299659(0xde)](_0x4dd8e5)[_0x299659(0xd2)](([_0x7d6ae,_0x2952bd])=>{const _0x329ec8=_0x299659;_0x367ed0[_0x329ec8(0xdd)][_0x329ec8(0xd7)](_0x329ec8(0xc6))[_0x329ec8(0xdf)]({'name':_0x7d6ae,'observable':()=>_0x3f73ef,'buttonViewCreator':()=>this[_0x329ec8(0xc5)](_0x2952bd),'formViewCreator':()=>this[_0x329ec8(0xe9)](_0x2952bd),'menuBarButtonViewCreator':()=>this[_0x329ec8(0xaa)](_0x2952bd),'override':_0x329ec8(0xe7)!==_0x7d6ae});});}[_0x1ae2ec(0xd6)](){const _0x5ca386=_0x1ae2ec;super[_0x5ca386(0xd6)](),this[_0x5ca386(0xd3)]&&clearInterval(this[_0x5ca386(0xd3)]);}[_0x1ae2ec(0xc9)](_0x3b4ae0){const _0x566de4=_0x1ae2ec,{locale:_0x538e8d}=this[_0x566de4(0xd5)];return _0x3b4ae0[_0x566de4(0xbf)](_0xc7b807=>{const _0x322c55=_0x566de4,_0x21710a=_0x488e3b(_0x538e8d,_0xc7b807,_0x322c55(0xe0));switch(_0xc7b807){case _0x2fceb1[_0x322c55(0xe6)]:return{'icon':_0x57867c[_0x322c55(0xcf)],'type':_0x2fceb1[_0x322c55(0xe6)],..._0x21710a};case _0x2fceb1[_0x322c55(0xf3)]:return{'icon':_0x4ce2c2,'type':_0x2fceb1[_0x322c55(0xf3)],..._0x21710a};case _0x2fceb1[_0x322c55(0xdc)]:return{'icon':_0x1c8666,'type':_0x2fceb1[_0x322c55(0xdc)],..._0x21710a};case _0x2fceb1[_0x322c55(0xcc)]:return{'icon':_0xd4a7fd,'type':_0x2fceb1[_0x322c55(0xcc)],..._0x21710a};case _0x2fceb1[_0x322c55(0xa7)]:return{'icon':_0x2abb18,'type':_0x2fceb1[_0x322c55(0xa7)],..._0x21710a};case _0x2fceb1[_0x322c55(0xf2)]:return{'icon':_0x1d7492,'type':_0x2fceb1[_0x322c55(0xf2)],..._0x21710a};case _0x2fceb1[_0x322c55(0xb4)]:return{'icon':_0x140f76,'type':_0x2fceb1[_0x322c55(0xb4)],..._0x21710a};}});}[_0x1ae2ec(0xc7)](_0x55a5d7){const _0x2fcf45=_0x1ae2ec;switch(_0x55a5d7){case _0x2fceb1[_0x2fcf45(0xe6)]:return _0x2fcf45(0xaf);case _0x2fceb1[_0x2fcf45(0xf3)]:return _0x2fcf45(0xe1);default:return _0x2fcf45(0xe7);}}[_0x1ae2ec(0xcb)](_0x1d58c0,_0x3c720a){const _0x392af4=_0x1ae2ec,_0x54232e=this[_0x392af4(0xd5)],_0x167f86=new _0x1d58c0(_0x54232e[_0x392af4(0xf1)]),_0x4ce1d4=_0x54232e[_0x392af4(0xb0)][_0x392af4(0xd7)](_0x392af4(0xc0));return _0x167f86[_0x392af4(0xab)](_0x392af4(0xa6))['to'](_0x4ce1d4),_0x167f86['on'](_0x392af4(0xc3),()=>{const _0x2fd0fb=_0x392af4;_0x4ce1d4[_0x2fd0fb(0xc3)](_0x3c720a);}),_0x167f86;}[_0x1ae2ec(0xc5)](_0xe746ca){const _0x3adbc2=_0x1ae2ec,{locale:_0x1f8faf}=this[_0x3adbc2(0xd5)],_0x25a2fb=this[_0x3adbc2(0xd5)][_0x3adbc2(0xdd)][_0x3adbc2(0xd7)](_0x3adbc2(0xc6)),_0x4f95f8=_0xe746ca[0x0],_0x175f31=this[_0x3adbc2(0xcb)](_0xde019a,_0x4f95f8[_0x3adbc2(0xad)]);return _0x175f31[_0x3adbc2(0xc2)]=_0x4f95f8[_0x3adbc2(0xc2)],_0x175f31[_0x3adbc2(0xab)](_0x3adbc2(0xd1))['to'](_0x25a2fb,_0x3adbc2(0xe5),_0xa2566b=>_0x488e3b(_0x1f8faf,_0x4f95f8[_0x3adbc2(0xad)],_0xa2566b?_0x3adbc2(0xb6):_0x3adbc2(0xe0))[_0x3adbc2(0xf0)]),_0x175f31[_0x3adbc2(0xb3)]=!0x0,_0x175f31;}[_0x1ae2ec(0xe9)](_0x5c531f){const _0x131e95=_0x1ae2ec,{locale:_0x3a5c82}=this[_0x131e95(0xd5)],_0x1aa6f5=this[_0x131e95(0xd5)][_0x131e95(0xdd)][_0x131e95(0xd7)](_0x131e95(0xc6));return _0x5c531f[_0x131e95(0xbf)](_0x1ad1e4=>{const _0x363fb4=_0x131e95,_0x2a164c=this[_0x363fb4(0xcb)](_0xde019a,_0x1ad1e4[_0x363fb4(0xad)]);return _0x2a164c[_0x363fb4(0xd8)]=!0x0,_0x2a164c[_0x363fb4(0xc2)]=_0x1ad1e4[_0x363fb4(0xc2)],_0x2a164c[_0x363fb4(0xab)](_0x363fb4(0xd1))['to'](_0x1aa6f5,_0x363fb4(0xe5),_0x1d3dd6=>_0x488e3b(_0x3a5c82,_0x1ad1e4[_0x363fb4(0xad)],_0x1d3dd6?_0x363fb4(0xb6):_0x363fb4(0xe0))[_0x363fb4(0xf0)]),_0x2a164c;});}[_0x1ae2ec(0xaa)](_0x55bf9d){const _0x4bc53f=_0x1ae2ec;return _0x55bf9d[_0x4bc53f(0xbf)](_0x2520ba=>{const _0x423693=_0x4bc53f,_0x4107f2=this[_0x423693(0xcb)](_0x2f4cf5,_0x2520ba[_0x423693(0xad)]);return _0x4107f2[_0x423693(0xc2)]=_0x2520ba[_0x423693(0xc2)],_0x4107f2[_0x423693(0xd1)]=_0x2520ba[_0x423693(0xc1)],_0x4107f2;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3c6d95}from'ckeditor5/src/core.js';import{FileRepository as _0x558c9f}from'ckeditor5/src/upload.js';import _0x5e460f from'./uploadcareediting.js';import _0x4498d5 from'./utils/uploadutils.js';import{getImageUrls as _0x535c33}from'./utils/editingutils.js';export default class f extends _0x3c6d95{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x558c9f,_0x5e460f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2d88ee=this['editor'];if(!!!_0x2d88ee['config']['get']('uploadcare'))return;_0x2d88ee['plugins']['get'](_0x558c9f)['createUploadAdapter']=_0x3fd4f6=>new E(_0x3fd4f6,_0x2d88ee),_0x2d88ee['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5f0c83,{imageElement:_0x6ff138,data:_0xcb5d2f})=>{_0x2d88ee['model']['change'](_0xca0a85=>{_0xca0a85['setAttribute']('uploadcareImageId',_0xcb5d2f['uploadcareImageId'],_0x6ff138);});});}}class E{constructor(_0x1cfe21,_0x173d59){this['loader']=_0x1cfe21,this['editor']=_0x173d59,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d4500=this['editor']['config']['get']('uploadcare.pubkey'),_0x3c7dab=await this['loader']['file'];return _0x4498d5['upload']({'file':_0x3c7dab,'publicKey':_0x5d4500,'signal':this['controller']['signal'],'onProgress':_0x1d8a31=>{_0x1d8a31&&_0x1d8a31['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1d8a31['value']);}})['then'](async _0x77410=>{const {imageFallbackUrl:_0x20d72e,imageSources:_0x3a30d8}=_0x535c33(_0x77410['cdnUrl'],_0x77410['imageInfo']['width']);return{'uploadcareImageId':_0x77410['uuid'],'default':_0x20d72e,'sources':_0x3a30d8};})['catch'](()=>{const _0x54c5fc=t('Cannot\x20upload\x20file:')+('\x20'+_0x3c7dab['name']+'.');return Promise['reject'](_0x54c5fc);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x538e66}from'ckeditor5/src/core.js';import{FileRepository as _0x34c1cb}from'ckeditor5/src/upload.js';import _0x5476fc from'./uploadcareediting.js';import _0x78f0f4 from'./utils/uploadutils.js';import{getImageUrls as _0x406128}from'./utils/editingutils.js';export default class f extends _0x538e66{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x34c1cb,_0x5476fc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x61a3f3=this['editor'];if(!!!_0x61a3f3['config']['get']('uploadcare'))return;_0x61a3f3['plugins']['get'](_0x34c1cb)['createUploadAdapter']=_0xfd6fd8=>new E(_0xfd6fd8,_0x61a3f3),_0x61a3f3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2217c1,{imageElement:_0x34939a,data:_0x513b47})=>{_0x61a3f3['model']['change'](_0x4aa697=>{_0x4aa697['setAttribute']('uploadcareImageId',_0x513b47['uploadcareImageId'],_0x34939a);});});}}class E{constructor(_0x234153,_0x121ba0){this['loader']=_0x234153,this['editor']=_0x121ba0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3656b1=this['editor']['config']['get']('uploadcare.pubkey'),_0x3925b2=await this['loader']['file'];return _0x78f0f4['upload']({'file':_0x3925b2,'publicKey':_0x3656b1,'signal':this['controller']['signal'],'onProgress':_0x9da451=>{_0x9da451&&_0x9da451['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x9da451['value']);}})['then'](async _0x284f71=>{const {imageFallbackUrl:_0x4507e3,imageSources:_0x13964b}=_0x406128(_0x284f71['cdnUrl'],_0x284f71['imageInfo']['width']);return{'uploadcareImageId':_0x284f71['uuid'],'default':_0x4507e3,'sources':_0x13964b};})['catch'](()=>{const _0x26730e=t('Cannot\x20upload\x20file:')+('\x20'+_0x3925b2['name']+'.');return Promise['reject'](_0x26730e);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5ddfe1}from'../uploadcareconfig.js';export function getTranslation(_0x5887bf,_0x409a6f,_0x84df8d){const t=_0x5887bf['t'],_0x48de89=_0x5887bf['t'];switch(_0x409a6f){case _0x5ddfe1['Local']:return{'text':_0x48de89('Insert'===_0x84df8d?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x48de89('From\x20computer')};case _0x5ddfe1['URL']:return{'text':'Insert'===_0x84df8d?_0x48de89('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x48de89('Via\x20URL')};case _0x5ddfe1['Dropbox']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5ddfe1['Facebook']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5ddfe1['GDrive']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5ddfe1['GPhotos']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5ddfe1['OneDrive']:return{'text':t('Insert'===_0x84df8d?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x409a6f;}}
23
+ import{UploadcareSource as _0x58d979}from'../uploadcareconfig.js';export function getTranslation(_0x5e182f,_0x503e17,_0x548fe8){const t=_0x5e182f['t'],_0x879f3f=_0x5e182f['t'];switch(_0x503e17){case _0x58d979['Local']:return{'text':_0x879f3f('Insert'===_0x548fe8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x879f3f('From\x20computer')};case _0x58d979['URL']:return{'text':'Insert'===_0x548fe8?_0x879f3f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x879f3f('Via\x20URL')};case _0x58d979['Dropbox']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x58d979['Facebook']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x58d979['GDrive']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x58d979['GPhotos']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x58d979['OneDrive']:return{'text':t('Insert'===_0x548fe8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x503e17;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5441ce=_0x5dc7;(function(_0x2049bf,_0x5b6a8f){var _0x5c2eb7=_0x5dc7,_0x21e251=_0x2049bf();while(!![]){try{var _0x4aff06=parseInt(_0x5c2eb7(0x140))/0x1*(parseInt(_0x5c2eb7(0x13d))/0x2)+-parseInt(_0x5c2eb7(0x131))/0x3*(parseInt(_0x5c2eb7(0x137))/0x4)+parseInt(_0x5c2eb7(0x133))/0x5*(parseInt(_0x5c2eb7(0x138))/0x6)+parseInt(_0x5c2eb7(0x13b))/0x7*(parseInt(_0x5c2eb7(0x132))/0x8)+parseInt(_0x5c2eb7(0x130))/0x9+-parseInt(_0x5c2eb7(0x13f))/0xa+-parseInt(_0x5c2eb7(0x13e))/0xb;if(_0x4aff06===_0x5b6a8f)break;else _0x21e251['push'](_0x21e251['shift']());}catch(_0x532253){_0x21e251['push'](_0x21e251['shift']());}}}(_0x3dbb,0xc6970));import{FocusTracker as _0x5c9c7e}from'ckeditor5/src/utils.js';import{View as _0x48c40c,FocusCycler as _0x40b4e2}from'ckeditor5/src/ui.js';function _0x3dbb(){var _0xcd91f3=['13880340fMAdKp','654KDntAa','251216MkpxWA','69225sxtErY','true','fire','createCollection','864ThOBdm','66wJIsau','bindTemplate','div','42CqwDLQ','focusTracker','102380blovTm','6736785hdlLMl','5635900OeUqQK','3jbKWhm','forwardCycle','focusCycler','getFocusableElement'];_0x3dbb=function(){return _0xcd91f3;};return _0x3dbb();}function _0x5dc7(_0x197e21,_0xe68343){var _0x3dbbeb=_0x3dbb();return _0x5dc7=function(_0x5dc76b,_0x24bb11){_0x5dc76b=_0x5dc76b-0x130;var _0x3d5c62=_0x3dbbeb[_0x5dc76b];return _0x3d5c62;},_0x5dc7(_0x197e21,_0xe68343);}import'../../theme/uploadcare-form.css';export default class q extends _0x48c40c{constructor(_0x339b43){var _0x3598fb=_0x5dc7;super(_0x339b43),this[_0x3598fb(0x13c)]=new _0x5c9c7e(),this[_0x3598fb(0x142)]=new _0x40b4e2({'focusables':this[_0x3598fb(0x136)](),'focusTracker':this[_0x3598fb(0x13c)]});}[_0x5441ce(0x143)](){var _0x565df4=_0x5441ce;return{'tag':_0x565df4(0x13a),'attributes':{'aria-hidden':_0x565df4(0x134),'tabindex':'0'},'on':{'focus':this[_0x565df4(0x139)]['to'](()=>{var _0x591598=_0x565df4;this[_0x591598(0x142)][_0x591598(0x135)](_0x591598(0x141));})}};}}
23
+ var _0x2f7d8d=_0x167c;(function(_0x4ccebe,_0x47ea53){var _0x4c6af9=_0x167c,_0x3c4a9f=_0x4ccebe();while(!![]){try{var _0x316d8a=parseInt(_0x4c6af9(0x182))/0x1*(parseInt(_0x4c6af9(0x181))/0x2)+parseInt(_0x4c6af9(0x17a))/0x3*(parseInt(_0x4c6af9(0x18b))/0x4)+parseInt(_0x4c6af9(0x17d))/0x5*(parseInt(_0x4c6af9(0x180))/0x6)+-parseInt(_0x4c6af9(0x17c))/0x7*(parseInt(_0x4c6af9(0x186))/0x8)+parseInt(_0x4c6af9(0x179))/0x9+parseInt(_0x4c6af9(0x17b))/0xa+parseInt(_0x4c6af9(0x188))/0xb*(-parseInt(_0x4c6af9(0x189))/0xc);if(_0x316d8a===_0x47ea53)break;else _0x3c4a9f['push'](_0x3c4a9f['shift']());}catch(_0x35fb20){_0x3c4a9f['push'](_0x3c4a9f['shift']());}}}(_0x2d99,0x81860));import{FocusTracker as _0xd3d487}from'ckeditor5/src/utils.js';import{View as _0x515a23,FocusCycler as _0x2d65b8}from'ckeditor5/src/ui.js';function _0x167c(_0x67748c,_0x1ad9a5){var _0x2d99de=_0x2d99();return _0x167c=function(_0x167ce5,_0x5a4564){_0x167ce5=_0x167ce5-0x178;var _0x4e920e=_0x2d99de[_0x167ce5];return _0x4e920e;},_0x167c(_0x67748c,_0x1ad9a5);}import'../../theme/uploadcare-form.css';function _0x2d99(){var _0x29a76b=['4gkjvIK','focusCycler','div','7993044jwCPxD','2746959rMzMZV','3723860kwWoQi','7pqtPiV','199695bUyyIB','bindTemplate','createCollection','30BSjrMo','42FzXSja','11168TktHmo','true','focusTracker','forwardCycle','2246872ccfSKD','getFocusableElement','50611GoAjIf','4692YyfqqU','fire'];_0x2d99=function(){return _0x29a76b;};return _0x2d99();}export default class q extends _0x515a23{constructor(_0x17b2b8){var _0x3e81c8=_0x167c;super(_0x17b2b8),this[_0x3e81c8(0x184)]=new _0xd3d487(),this[_0x3e81c8(0x18c)]=new _0x2d65b8({'focusables':this[_0x3e81c8(0x17f)](),'focusTracker':this[_0x3e81c8(0x184)]});}[_0x2f7d8d(0x187)](){var _0x1568eb=_0x2f7d8d;return{'tag':_0x1568eb(0x178),'attributes':{'aria-hidden':_0x1568eb(0x183),'tabindex':'0'},'on':{'focus':this[_0x1568eb(0x17e)]['to'](()=>{var _0x5e0325=_0x1568eb;this[_0x5e0325(0x18c)][_0x5e0325(0x18a)](_0x5e0325(0x185));})}};}}