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

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
- const _0x57044c=_0x4630;(function(_0x264e69,_0x4c06e7){const _0x1f1a79=_0x4630,_0x470c31=_0x264e69();while(!![]){try{const _0x332ab0=parseInt(_0x1f1a79(0x1b1))/0x1*(-parseInt(_0x1f1a79(0x1db))/0x2)+-parseInt(_0x1f1a79(0x1f1))/0x3*(parseInt(_0x1f1a79(0x1eb))/0x4)+-parseInt(_0x1f1a79(0x1d6))/0x5*(parseInt(_0x1f1a79(0x1f6))/0x6)+-parseInt(_0x1f1a79(0x1c6))/0x7+-parseInt(_0x1f1a79(0x1ad))/0x8+parseInt(_0x1f1a79(0x1fc))/0x9*(-parseInt(_0x1f1a79(0x1b9))/0xa)+parseInt(_0x1f1a79(0x1cc))/0xb;if(_0x332ab0===_0x4c06e7)break;else _0x470c31['push'](_0x470c31['shift']());}catch(_0x35b727){_0x470c31['push'](_0x470c31['shift']());}}}(_0x3938,0x1f8bf));import{Plugin as _0x5743c7}from'ckeditor5/src/core.js';function _0x3938(){const _0x9feb97=['input[uploadcare-file-input]','isPremiumPlugin','UploadcareEditing','requires','834738qxHYhg','schema','#uc-icon-arrow-down','uploadcare.uploader','uc-upload-ctx-provider','add','922113KjfwVz','appendChild','imageBlock','PictureEditing','true','uploadcare.pubkey','2017648CrBFTe','data-uc-image-id','fromCharCode','extend','3452ejgobw','listenTo','insertImage','editing','render','upcast','get','getAttribute','10ffCcLL','uploadcareImageReplace','for','_initCtx','view','uploadcare','pluginName','once','configElement','uc-config','destroy','editor','iconHrefResolver','518084bicAQH','_initConversion','href','body','elementToAttribute','imageInline','10406154QrPTgQ','conversion','execute','_initImageProcessingIndicator','querySelector','isOfficialPlugin','attributeToAttribute','replaceImageSource','ctxElement','removeAttribute','5HbzRWL','afterInit','join','closeMax','\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','90ebcNrG','cleanupImage','map','document','_ctxElement','selection','uploader','downcast','remove','init','locale','isRegistered','model','_initSchema','config','commands','916MgOLkC','_initConfig','contentLanguage','_configElement','getSelectedElement','uploadcareImageId','1227REJjBB'];_0x3938=function(){return _0x9feb97;};return _0x3938();}import{Dialog as _0x7b7d1c}from'ckeditor5/src/ui.js';import{createElement as _0x5d37e8,global as _0x4fe116,uid as _0x1b87e3}from'ckeditor5/src/utils.js';import _0x2feb6f from'./uploadcarecommand.js';import _0x2fc410 from'./uploadcareuploadadapter.js';function _0x4630(_0x3ce0cf,_0x5d9f96){const _0x3938cc=_0x3938();return _0x4630=function(_0x46305a,_0x5be63d){_0x46305a=_0x46305a-0x1ab;let _0x17b404=_0x3938cc[_0x46305a];return _0x17b404;},_0x4630(_0x3ce0cf,_0x5d9f96);}import{showImageProcessingIndicator as _0x4be007}from'./utils/editingutils.js';export default class i extends _0x5743c7{constructor(){const _0x2f66e3=_0x4630;super(...arguments),this[_0x2f66e3(0x1ee)]=null,this[_0x2f66e3(0x1df)]=null;}static get[_0x57044c(0x1bf)](){const _0x5aadb8=_0x57044c;return _0x5aadb8(0x1f4);}static get[_0x57044c(0x1f5)](){const _0x1f1bd1=_0x57044c;return[_0x1f1bd1(0x1ff),_0x2fc410,_0x7b7d1c];}static get[_0x57044c(0x1d1)](){return!0x0;}static get[_0x57044c(0x1f3)](){return!0x0;}get[_0x57044c(0x1c1)](){const _0x38891f=_0x57044c;return this[_0x38891f(0x1ee)];}get[_0x57044c(0x1d4)](){const _0x1ada92=_0x57044c;return this[_0x1ada92(0x1df)];}[_0x57044c(0x1e4)](){const _0x208377=_0x57044c,_0x1d3ac3=this[_0x208377(0x1c4)];_0x1d3ac3[_0x208377(0x1ea)][_0x208377(0x1fb)](_0x208377(0x1be),new _0x2feb6f(_0x1d3ac3));}[_0x57044c(0x1d7)](){const _0x4eeac6=_0x57044c;this[_0x4eeac6(0x1e8)](),this[_0x4eeac6(0x1c7)](),this[_0x4eeac6(0x1ec)](),this[_0x4eeac6(0x1bc)](),this[_0x4eeac6(0x1cf)](),this[_0x4eeac6(0x1b2)](this[_0x4eeac6(0x1c4)],_0x4eeac6(0x1c3),()=>{const _0x4d5612=_0x4eeac6;this[_0x4d5612(0x1ee)]&&(this[_0x4d5612(0x1ee)][_0x4d5612(0x1e3)](),this[_0x4d5612(0x1ee)]=null),this[_0x4d5612(0x1df)]&&(this[_0x4d5612(0x1df)][_0x4d5612(0x1e3)](),this[_0x4d5612(0x1df)]=null);const _0x5c8cef=_0x4fe116[_0x4d5612(0x1de)][_0x4d5612(0x1d0)](_0x4d5612(0x1f2));_0x5c8cef&&_0x5c8cef[_0x4d5612(0x1e3)]();}),async function(_0x13211d){const _0x18675d=_0x221f08([0x37,0x6e,0x6f,0x48,0x39,0x43,0x4c,0x57,0x4d,0x38,0x56,0x66,0x75,0x70,0x68,0x62,0x4f,0x55,0x72,0x35,0x33,0x74,0x73,0x67,0x6c,0x32,0x49,0x50,0x59,0x34,0x53,0x52,0x5a,0x41,0x4b,0x58,0x6b,0x47,0x36,0x71,0x51,0x61,0x30,0x76,0x45,0x78,0x6a,0x77,0x64,0x42,0x69,0x65,0x31,0x4e,0x44,0x63,0x6d,0x4a,0x79,0x54,0x46,0x7a]),_0x1567bd=0x1cd2b5bd,_0x565d37=0x1cd5eb6d^_0x1567bd,_0x419462=window[_0x221f08([0x44,0x61,0x74,0x65])][_0x221f08([0x6e,0x6f,0x77])](),_0x55fc8b=_0x13211d[_0x221f08([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55fd05=new window[(_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bc0e3=>{_0x55fc8b[_0x221f08([0x6f,0x6e,0x63,0x65])](_0x221f08([0x72,0x65,0x61,0x64,0x79]),_0x4bc0e3);}),_0x4ecfed={[_0x221f08([0x6b,0x74,0x79])]:_0x221f08([0x45,0x43]),[_0x221f08([0x75,0x73,0x65])]:_0x221f08([0x73,0x69,0x67]),[_0x221f08([0x63,0x72,0x76])]:_0x221f08([0x50,0x2d,0x32,0x35,0x36]),[_0x221f08([0x78])]:_0x221f08([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]),[_0x221f08([0x79])]:_0x221f08([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]),[_0x221f08([0x61,0x6c,0x67])]:_0x221f08([0x45,0x53,0x32,0x35,0x36])},_0x2cab33=_0x55fc8b[_0x221f08([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x221f08([0x67,0x65,0x74])](_0x221f08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5aa3e9(){let _0x36429b,_0x5e1a12=null,_0x445188=null;try{if(_0x2cab33==_0x221f08([0x47,0x50,0x4c]))return _0x221f08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36429b=_0x12f113(),!_0x36429b)return _0x221f08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36429b[_0x221f08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x445188=_0x36bc38(_0x36429b[_0x221f08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36429b[_0x221f08([0x6a,0x74,0x69])])),await _0xb56a45()?_0x5e7117()?_0x1a58e2()?_0x221f08([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43b839()?(_0x36429b[_0x221f08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221f08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e1a12=_0x2a68a9(_0x221f08([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36429b[_0x221f08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x221f08([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e1a12=_0x2a68a9(_0x221f08([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x171345()):_0x221f08([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x221f08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x221f08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3a39db){return _0x221f08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a58e2(){const _0x1d8d9d=[_0x221f08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x221f08([0x74,0x72,0x69,0x61,0x6c])][_0x221f08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36429b[_0x221f08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x419462/0x3e8:0xe10*_0x565d37;return _0x36429b[_0x221f08([0x65,0x78,0x70])]<_0x1d8d9d;}function _0x5e7117(){const _0x492389=_0x36429b[_0x221f08([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x492389&&(!!_0x492389[_0x221f08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221f08([0x2a]))||!!_0x492389[_0x221f08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221f08([0x55,0x50,0x4c,0x43])));}function _0x43b839(){const _0x4c5b84=_0x4630,_0x3206fe=_0x36429b[_0x221f08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3206fe||0x0==_0x3206fe[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38a8e3}=new URL(window[_0x221f08([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4c5b84(0x1c8)]);if(_0x3206fe[_0x221f08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a8e3))return!0x0;const _0x3a32ef=_0x38a8e3[_0x221f08([0x73,0x70,0x6c,0x69,0x74])](_0x221f08([0x2e]));return _0x3206fe[_0x221f08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x121b88=>_0x121b88[_0x221f08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x221f08([0x2a])))[_0x221f08([0x6d,0x61,0x70])](_0x5386e9=>_0x5386e9[_0x221f08([0x73,0x70,0x6c,0x69,0x74])](_0x221f08([0x2e])))[_0x221f08([0x73,0x6f,0x6d,0x65])](_0x1819c4=>_0x3a32ef[_0x221f08([0x65,0x76,0x65,0x72,0x79])]((_0x86fc1b,_0x416402)=>_0x1819c4[_0x416402]===_0x86fc1b||_0x1819c4[_0x416402]===_0x221f08([0x2a])));}function _0x171345(){return _0x5e1a12&&_0x445188?new window[(_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x373933,_0x55d738)=>{_0x5e1a12[_0x221f08([0x74,0x68,0x65,0x6e])](_0x373933,_0x55d738),_0x445188[_0x221f08([0x74,0x68,0x65,0x6e])](_0x1e9fd5=>{_0x1e9fd5!=_0x221f08([0x56,0x61,0x6c,0x69,0x64])&&_0x373933(_0x1e9fd5);},_0x55d738);}):_0x5e1a12||_0x445188||_0x221f08([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36bc38(_0x3532fd,_0x39565f){return new window[(_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2388a0=>{if(_0x4eb630())return _0x2388a0(_0x221f08([0x56,0x61,0x6c,0x69,0x64]));_0x15f524(),_0x55fc8b[_0x221f08([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x221f08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4bd182=!0x1;const _0x15c586=_0x1b87e3();function _0x4783b7(_0x2a0c16){return!!_0x2a0c16&&(typeof _0x2a0c16===_0x221f08([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a0c16===_0x221f08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a0c16[_0x221f08([0x74,0x68,0x65,0x6e])]===_0x221f08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a0c16[_0x221f08([0x63,0x61,0x74,0x63,0x68])]===_0x221f08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e5441(_0x3d7515){_0x4b7f67(_0x3d7515)[_0x221f08([0x74,0x68,0x65,0x6e])](_0x23ae10=>{if(!_0x23ae10||_0x23ae10[_0x221f08([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x221f08([0x6f,0x6b]))return _0x221f08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12afd0(_0x1b6bd2(_0x15c586+_0x39565f))!=_0x23ae10[_0x221f08([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x221f08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x221f08([0x56,0x61,0x6c,0x69,0x64]);})[_0x221f08([0x74,0x68,0x65,0x6e])](_0x4e599a=>(_0x153373(),_0x4e599a),()=>{const _0x4d7553=_0x40e85c();return null==_0x4d7553?(_0x153373(),_0x221f08([0x56,0x61,0x6c,0x69,0x64])):_0x221f08(_0x419462-_0x4d7553>(0x38de31bd^_0x1567bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x221f08([0x74,0x68,0x65,0x6e])](_0x2388a0)[_0x221f08([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2388a0(_0x221f08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13263c=0x1ce45b3d^_0x1567bd;function _0x153373(){const _0x12b2a2=_0x221f08([0x6c,0x6c,0x63,0x74,0x2d])+_0x12afd0(_0x1b6bd2(_0x3532fd)),_0x5b6b60=_0x5370c7(_0x12afd0(window[_0x221f08([0x4d,0x61,0x74,0x68])][_0x221f08([0x63,0x65,0x69,0x6c])](_0x419462/_0x13263c)));window[_0x221f08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221f08([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12b2a2,_0x5b6b60);}function _0x40e85c(){const _0x59d08a=_0x221f08([0x6c,0x6c,0x63,0x74,0x2d])+_0x12afd0(_0x1b6bd2(_0x3532fd)),_0x1ca007=window[_0x221f08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x221f08([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59d08a);return _0x1ca007?window[_0x221f08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5370c7(_0x1ca007),0x10)*_0x13263c:null;}function _0x4b7f67(_0xaaf2bb){return new window[(_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c2ba2,_0x551faf)=>{_0xaaf2bb[_0x221f08([0x74,0x68,0x65,0x6e])](_0x2c2ba2,_0x551faf),window[_0x221f08([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x551faf,0x1cd3617d^_0x1567bd);});}}_0x55fc8b[_0x221f08([0x6f,0x6e])](_0x221f08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a4c1a,_0x34ecb8)=>{if(_0x34ecb8[0x0]!=_0x3532fd)return _0x2388a0(_0x221f08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34ecb8[0x1]={..._0x34ecb8[0x1],[_0x221f08([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15c586};},{[_0x221f08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221f08([0x68,0x69,0x67,0x68])}),_0x55fc8b[_0x221f08([0x6f,0x6e])](_0x221f08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x172e5a=>{_0x4783b7(_0x172e5a[_0x221f08([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4bd182=!0x0,_0x2e5441(_0x172e5a[_0x221f08([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x221f08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x221f08([0x6c,0x6f,0x77])}),_0x55fd05[_0x221f08([0x74,0x68,0x65,0x6e])](()=>{_0x4bd182||_0x2388a0(_0x221f08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eb630(){return _0x55fc8b[_0x221f08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221f08([0x76,0x69,0x65,0x77])][_0x221f08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x221f08([0x61,0x75,0x74,0x6f]);}function _0x15f524(){_0x55fc8b[_0x221f08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x221f08([0x76,0x69,0x65,0x77])][_0x221f08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x221f08([0x61,0x75,0x74,0x6f]);}}function _0x2a68a9(_0x341524){const _0xae33ed=[new window[(_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x989663=>setTimeout(_0x989663,0x1cdb8b71^_0x1567bd)),_0x55fd05[_0x221f08([0x74,0x68,0x65,0x6e])](()=>new window[(_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9ce3=>{let _0x284f1a=0x0;_0x55fc8b[_0x221f08([0x6d,0x6f,0x64,0x65,0x6c])][_0x221f08([0x6f,0x6e])](_0x221f08([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x241430,_0x42a4d7)=>{_0x42a4d7[0x0][_0x221f08([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x284f1a++,_0x284f1a==(0x1cd2b445^_0x1567bd)&&(_0x3c9ce3(),_0x241430[_0x221f08([0x6f,0x66,0x66])]());});}))];return window[_0x221f08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x221f08([0x72,0x61,0x63,0x65])](_0xae33ed)[_0x221f08([0x74,0x68,0x65,0x6e])](()=>_0x341524);}async function _0x30ecef(){await _0x55fd05,_0x55fc8b[_0x221f08([0x6d,0x6f,0x64,0x65,0x6c])][_0x221f08([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30bac7,_0x55fc8b[_0x221f08([0x6d,0x6f,0x64,0x65,0x6c])][_0x221f08([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30bac7,_0x55fc8b[_0x221f08([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x221f08([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4cac53(_0x4072ba){const _0x3a0837=_0xce57d1();_0x55fc8b[_0x3a0837]=_0x221f08([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4072ba,_0x4072ba!=_0x221f08([0x56,0x61,0x6c,0x69,0x64])&&_0x30ecef();}function _0xce57d1(){const _0x4ee530=window[_0x221f08([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x221f08([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x221f08([0x6e,0x6f,0x77])]())[_0x221f08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x221f08([0x2e]),'');let _0xa82b19=_0x221f08([0x6e]);for(let _0xc17d84=0x0;_0xc17d84<_0x4ee530[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc17d84+=0x2){let _0x6a6810=window[_0x221f08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ee530[_0x221f08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc17d84,_0xc17d84+0x2));_0x6a6810>=_0x18675d[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6a6810-=_0x18675d[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa82b19+=_0x18675d[_0x6a6810];}return _0xa82b19;}function _0x12f113(){const _0x9b3257=_0x2cab33[_0x221f08([0x73,0x70,0x6c,0x69,0x74])](_0x221f08([0x2e]));if(0x3!=_0x9b3257[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48fbc7(_0x9b3257[0x1]);function _0x48fbc7(_0x269e19){const _0x4e92dd=_0x1f617f(_0x269e19);return _0x4e92dd&&_0x487e07()?_0x4e92dd:null;function _0x487e07(){const _0x1cd3d3=_0x4e92dd[_0x221f08([0x6a,0x74,0x69])],_0x4f02a8=window[_0x221f08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cd3d3[_0x221f08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cd3d3[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20d62a={..._0x4e92dd,[_0x221f08([0x6a,0x74,0x69])]:_0x1cd3d3[_0x221f08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cd3d3[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20d62a[_0x221f08([0x76,0x63])],_0x1b6bd2(_0x20d62a)==_0x4f02a8;}}}async function _0xb56a45(){let _0x395df5=!0x0;try{const _0x3ad5f3=_0x2cab33[_0x221f08([0x73,0x70,0x6c,0x69,0x74])](_0x221f08([0x2e])),[_0x3c05c5,_0x3227ec,_0xd53cf]=_0x3ad5f3;return _0xcf008a(_0x3c05c5),await _0x102a6e(_0x3c05c5,_0x3227ec,_0xd53cf),_0x395df5;}catch(_0x5c6493){return!0x1;}function _0xcf008a(_0x4d75a7){const _0x1f2f28=_0x1f617f(_0x4d75a7);_0x1f2f28&&_0x1f2f28[_0x221f08([0x61,0x6c,0x67])]==_0x221f08([0x45,0x53,0x32,0x35,0x36])||(_0x395df5=!0x1);}async function _0x102a6e(_0x7b2a95,_0x43330f,_0x4c610f){const _0x223064=window[_0x221f08([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x221f08([0x66,0x72,0x6f,0x6d])](_0x3fcad8(_0x4c610f),_0xac510b=>_0xac510b[_0x221f08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e8668=new window[(_0x221f08([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x221f08([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7b2a95+_0x221f08([0x2e])+_0x43330f),_0x26ef93=window[_0x221f08([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x221f08([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26ef93)return;const _0x582b36=await _0x26ef93[_0x221f08([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x221f08([0x6a,0x77,0x6b]),_0x4ecfed,{[_0x221f08([0x6e,0x61,0x6d,0x65])]:_0x221f08([0x45,0x43,0x44,0x53,0x41]),[_0x221f08([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x221f08([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x221f08([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26ef93[_0x221f08([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x221f08([0x6e,0x61,0x6d,0x65])]:_0x221f08([0x45,0x43,0x44,0x53,0x41]),[_0x221f08([0x68,0x61,0x73,0x68])]:{[_0x221f08([0x6e,0x61,0x6d,0x65])]:_0x221f08([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x582b36,_0x223064,_0x3e8668)||(_0x395df5=!0x1);}}function _0x1f617f(_0x161546){return _0x161546[_0x221f08([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x221f08([0x65,0x79]))?JSON[_0x221f08([0x70,0x61,0x72,0x73,0x65])](_0x3fcad8(_0x161546)):null;}function _0x3fcad8(_0x4f2475){return window[_0x221f08([0x61,0x74,0x6f,0x62])](_0x4f2475[_0x221f08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x221f08([0x2b]))[_0x221f08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x221f08([0x2f])));}function _0x1b6bd2(_0x1a0a51){let _0x38324a=0x1505;function _0x399488(_0x55f5d9){for(let _0x5a0754=0x0;_0x5a0754<_0x55f5d9[_0x221f08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0754++){const _0x14c14f=_0x55f5d9[_0x221f08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a0754);_0x38324a=(_0x38324a<<0x5)+_0x38324a+_0x14c14f,_0x38324a&=_0x38324a;}}function _0x48d23b(_0x309c42){Array[_0x221f08([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x309c42)?_0x309c42[_0x221f08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48d23b):_0x309c42&&typeof _0x309c42==_0x221f08([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x221f08([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x309c42)[_0x221f08([0x73,0x6f,0x72,0x74])]()[_0x221f08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3342a0,_0x4afeae])=>{_0x399488(_0x3342a0),_0x48d23b(_0x4afeae);}):_0x399488(window[_0x221f08([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x309c42));}return _0x48d23b(_0x1a0a51),_0x38324a>>>0x0;}function _0x12afd0(_0x3d8f1b){return _0x3d8f1b[_0x221f08([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x221f08([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x221f08([0x30]));}function _0x5370c7(_0x2e334c){return _0x2e334c[_0x221f08([0x73,0x70,0x6c,0x69,0x74])]('')[_0x221f08([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x221f08([0x6a,0x6f,0x69,0x6e])]('');}function _0x30bac7(){}function _0x221f08(_0x187f89){const _0x3398da=_0x4630;return _0x187f89[_0x3398da(0x1dd)](_0x9f4357=>String[_0x3398da(0x1af)](_0x9f4357))[_0x3398da(0x1d8)]('');}_0x4cac53(await _0x5aa3e9());}(this);}[_0x57044c(0x1e8)](){const _0x1e2955=_0x57044c,_0x83c733=this[_0x1e2955(0x1c4)][_0x1e2955(0x1e7)][_0x1e2955(0x1f7)];_0x83c733[_0x1e2955(0x1e6)](_0x1e2955(0x1fe))&&_0x83c733[_0x1e2955(0x1b0)](_0x1e2955(0x1fe),{'allowAttributes':[_0x1e2955(0x1f0)]}),_0x83c733[_0x1e2955(0x1e6)](_0x1e2955(0x1cb))&&_0x83c733[_0x1e2955(0x1b0)](_0x1e2955(0x1cb),{'allowAttributes':[_0x1e2955(0x1f0)]});}[_0x57044c(0x1c7)](){const _0x386646=_0x57044c,_0x461bfb=this[_0x386646(0x1c4)];_0x461bfb[_0x386646(0x1cd)][_0x386646(0x1bb)](_0x386646(0x1e2))[_0x386646(0x1d2)]({'model':_0x386646(0x1f0),'view':_0x386646(0x1ae)}),_0x461bfb[_0x386646(0x1cd)][_0x386646(0x1bb)](_0x386646(0x1b6))[_0x386646(0x1ca)]({'model':{'key':_0x386646(0x1f0),'value':_0x356949=>_0x356949[_0x386646(0x1b8)](_0x386646(0x1ae))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4d9c8b=_0x461bfb[_0x386646(0x1ea)][_0x386646(0x1b7)](_0x386646(0x1d3));_0x4d9c8b&&this[_0x386646(0x1b2)](_0x4d9c8b,_0x386646(0x1dc),(_0x25ccf7,[_0x5c69fe,_0xaaa586])=>{const _0x41eefb=_0x386646;_0x5c69fe[_0x41eefb(0x1d5)](_0x41eefb(0x1f0),_0xaaa586);});}[_0x57044c(0x1ec)](){const _0x4562d7=_0x57044c,_0x24b848=this[_0x4562d7(0x1c4)][_0x4562d7(0x1e9)][_0x4562d7(0x1b7)](_0x4562d7(0x1f9))||{},_0x7d32ab=this[_0x4562d7(0x1c4)][_0x4562d7(0x1e9)][_0x4562d7(0x1b7)](_0x4562d7(0x1ac))||'';this[_0x4562d7(0x1ee)]=_0x5d37e8(_0x4fe116[_0x4562d7(0x1de)],_0x4562d7(0x1c2),{..._0x24b848,'pubkey':_0x7d32ab,'ctx-name':_0x4562d7(0x1e1),'sourceList':'','imgOnly':_0x4562d7(0x1ab),'removeCopyright':_0x4562d7(0x1ab),'localeName':this[_0x4562d7(0x1c4)][_0x4562d7(0x1e5)][_0x4562d7(0x1ed)],'externalSourcesEmbedCss':_0x4562d7(0x1da)}),this[_0x4562d7(0x1ee)][_0x4562d7(0x1c5)]=_0x58fc17=>{const _0x1503a2=_0x4562d7;if(_0x1503a2(0x1d9)==_0x58fc17)return _0x1503a2(0x1f8);},_0x4fe116[_0x4562d7(0x1de)][_0x4562d7(0x1c9)][_0x4562d7(0x1fd)](this[_0x4562d7(0x1ee)]);}[_0x57044c(0x1bc)](){const _0x64ce0b=_0x57044c;this[_0x64ce0b(0x1df)]=_0x5d37e8(_0x4fe116[_0x64ce0b(0x1de)],_0x64ce0b(0x1fa),{'ctx-name':_0x64ce0b(0x1e1)}),_0x4fe116[_0x64ce0b(0x1de)][_0x64ce0b(0x1c9)][_0x64ce0b(0x1fd)](this[_0x64ce0b(0x1df)]);}[_0x57044c(0x1cf)](){const _0x485034=_0x57044c,_0x3782cd=this[_0x485034(0x1c4)][_0x485034(0x1ea)][_0x485034(0x1b7)](_0x485034(0x1b3));_0x3782cd&&this[_0x485034(0x1b2)](_0x3782cd,_0x485034(0x1ce),()=>{const _0x4ac317=_0x485034,_0x302ac6=this[_0x4ac317(0x1c4)][_0x4ac317(0x1e7)][_0x4ac317(0x1de)][_0x4ac317(0x1e0)][_0x4ac317(0x1ef)]();_0x302ac6&&_0x302ac6[_0x4ac317(0x1b8)](_0x4ac317(0x1f0))&&this[_0x4ac317(0x1c4)][_0x4ac317(0x1b4)][_0x4ac317(0x1bd)][_0x4ac317(0x1c0)](_0x4ac317(0x1b5),()=>{const _0x687ece=_0x4ac317;_0x4be007(this[_0x687ece(0x1c4)],_0x302ac6);});});const _0x595001=this[_0x485034(0x1c4)][_0x485034(0x1ea)][_0x485034(0x1b7)](_0x485034(0x1ba));_0x595001&&this[_0x485034(0x1b2)](_0x595001,_0x485034(0x1ce),()=>{const _0x5e9095=_0x485034,_0x568399=this[_0x5e9095(0x1c4)][_0x5e9095(0x1e7)][_0x5e9095(0x1de)][_0x5e9095(0x1e0)][_0x5e9095(0x1ef)]();_0x568399&&_0x568399[_0x5e9095(0x1b8)](_0x5e9095(0x1f0))&&this[_0x5e9095(0x1c4)][_0x5e9095(0x1b4)][_0x5e9095(0x1bd)][_0x5e9095(0x1c0)](_0x5e9095(0x1b5),()=>{const _0x38ed47=_0x5e9095;_0x4be007(this[_0x38ed47(0x1c4)],_0x568399);});});}}
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);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x527abf,ObservableMixin as _0x3cd0ba}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2c14b2}from'ckeditor5/src/ui.js';import _0x1c4630 from'./uploadcareimageeditformview.js';import _0x2e9d0a from'../../utils/uploadutils.js';import _0x5723b5 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x478730,getImageDimension as _0x2c024d}from'../../utils/editingutils.js';import{isAncestor as _0x129d05}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x3cd0ba(){constructor(_0x25e12b,_0x59a98c,_0x17233f){super(),this['_editor']=_0x25e12b,this['_dialog']=_0x59a98c,this['_imageElement']=_0x17233f,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 _0x1df26e=this['_imageElement'],_0x358c98=_0x1df26e['getAttribute']('uploadcareImageId'),_0x5b61bf=_0x1df26e['getAttribute']('src');if(_0x358c98)await this['_loadImageInfo'](_0x358c98,_0x5b61bf);else{if(this['_imageCache']['has'](_0x5b61bf)){const _0x48c9bf=this['_imageCache']['get'](_0x5b61bf);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48c9bf['url'],this['imageDimension']=_0x48c9bf['dimension'],this['imageId']=_0x48c9bf['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x503f88}=this['_editor'],t=_0x503f88['t'],_0x16e480=new _0x1c4630(_0x503f88,this['imageStatus'],this['_attributes']);_0x16e480['bind']('status')['to'](this,'imageStatus'),_0x16e480['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x16e480['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x16e480['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x16e480,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5723b5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x16e480,'position':_0x2c14b2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x16e480['focus']();},'onHide':()=>{_0x16e480['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x46d896=>!_0x129d05(_0x46d896,_0x16e480['element'])}});}['_loadImageInfo'](_0x17f67f,_0x116825){return _0x2e9d0a['getInfo'](_0x17f67f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xab8229=>{const {width:_0x25ef5b,height:_0x33b234}=_0xab8229['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x116825,this['imageDimension']={'width':_0x25ef5b,'height':_0x33b234},this['imageId']=_0x17f67f;})['catch'](_0x22fc5f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22fc5f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xbfad11,_0x2e6511){return this['_getImageAsFile'](_0xbfad11)['then'](_0x45d0da=>_0x2e9d0a['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2e6511['signal'],'file':_0x45d0da,'onProgress':_0x6ab60c=>{_0x6ab60c&&_0x6ab60c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x6ab60c['value']));}}))['then'](_0x21505e=>{const {width:_0x252f2b,height:_0x1f2455}=_0x21505e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x21505e['cdnUrl'],this['imageDimension']={'width':_0x252f2b,'height':_0x1f2455},this['imageId']=_0x21505e['uuid'],this['imageUploadProgress']=null;const _0x5dee14=_0xbfad11['getAttribute']('src');this['_imageCache']['set'](_0x5dee14,{'id':_0x21505e['uuid'],'url':_0x21505e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1e5cac=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1e5cac['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x6931bd,_0x2a57dd){_0x6931bd['on']('apply',(_0x2f0fc5,_0x44f81a)=>{this['_replaceImage'](_0x2a57dd,_0x44f81a['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x6931bd['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x6931bd['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3763ea,_0x58d80a,_0xb4b50e){const _0x4ebd8a=this['_editor'],{width:_0x1b3140,height:_0x2708fd}=_0x2c024d(_0x58d80a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x275592,imageSources:_0x526f0c}=_0x478730(_0x58d80a,_0x1b3140);_0x4ebd8a['model']['change'](_0x19dcd9=>{if('$graveyard'===_0x3763ea['root']['rootName']){_0x4ebd8a['execute']('insertImage',{'imageType':_0x3763ea['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3763ea['getAttributes']()),'uploadcareImageId':_0xb4b50e,'src':_0x275592,'sources':_0x526f0c,'width':_0x1b3140,'height':_0x2708fd}});const _0x52c701=_0x3763ea['getChildren']();_0x3763ea=_0x4ebd8a['model']['document']['selection']['getSelectedElement']();for(const _0x4b2b30 of _0x52c701)_0x19dcd9['append'](_0x19dcd9['cloneElement'](_0x4b2b30),_0x3763ea);}else _0x19dcd9['setSelection'](_0x3763ea,'on'),_0x4ebd8a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3763ea['getAttributes']()),'uploadcareImageId':_0xb4b50e,'src':_0x275592,'sources':_0x526f0c,'width':_0x1b3140,'height':_0x2708fd},_0x3763ea);_0x19dcd9['setSelection'](_0x3763ea,'on');});}async['_getImageAsFile'](_0x59ad78){const _0x4d25cd=_0x527abf['window'],_0x4283bd=_0x527abf['document']['location']['href'],_0x39d96d=new _0x4d25cd['URL'](_0x59ad78['getAttribute']('src'),_0x4283bd);if('data:'===_0x39d96d['protocol']){const _0x1a3da1=_0x39d96d['href']['split'](','),_0x222e5a=_0x1a3da1[0x0]['match'](/:(.*?);/)[0x1],_0x56ef6f=_0x222e5a['split']('/')[0x1],_0x3cde1f=_0x4d25cd['atob'](_0x1a3da1[_0x1a3da1['length']-0x1]);let _0x5c6538=_0x3cde1f['length'];const _0xa28b91=new _0x4d25cd['Uint8Array'](_0x5c6538);for(;_0x5c6538--;)_0xa28b91[_0x5c6538]=_0x3cde1f['charCodeAt'](_0x5c6538);return new _0x4d25cd['File']([_0xa28b91],'image.'+_0x56ef6f,{'type':_0x222e5a});}const _0x59ecf9=_0x39d96d['href']['split']('/'),_0x28c06b=_0x59ecf9[_0x59ecf9['length']-0x1],_0x160583=_0x28c06b['split']('.')[0x1];return _0x4d25cd['fetch'](_0x39d96d['href'])['then'](_0x128dd0=>_0x128dd0['clone']()['blob']())['then'](_0x2e1630=>new _0x4d25cd['File']([_0x2e1630],_0x28c06b,{'type':'image/'+_0x160583}));}}
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}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x312997,_0x378d70){const _0x19ac8f=_0x2408,_0x4d7ac0=_0x312997();while(!![]){try{const _0x24e7f9=parseInt(_0x19ac8f(0x13c))/0x1*(parseInt(_0x19ac8f(0x142))/0x2)+parseInt(_0x19ac8f(0x143))/0x3+parseInt(_0x19ac8f(0x147))/0x4+-parseInt(_0x19ac8f(0x13e))/0x5+parseInt(_0x19ac8f(0x13f))/0x6*(parseInt(_0x19ac8f(0x14b))/0x7)+-parseInt(_0x19ac8f(0x144))/0x8*(-parseInt(_0x19ac8f(0x13d))/0x9)+parseInt(_0x19ac8f(0x141))/0xa*(-parseInt(_0x19ac8f(0x149))/0xb);if(_0x24e7f9===_0x378d70)break;else _0x4d7ac0['push'](_0x4d7ac0['shift']());}catch(_0x5d4316){_0x4d7ac0['push'](_0x4d7ac0['shift']());}}}(_0x4dd4,0xa33f7));function _0x2408(_0x212395,_0x1137d7){const _0x4dd46c=_0x4dd4();return _0x2408=function(_0x240879,_0x1d3adf){_0x240879=_0x240879-0x13a;let _0x360cce=_0x4dd46c[_0x240879];return _0x360cce;},_0x2408(_0x212395,_0x1137d7);}function _0x4dd4(){const _0x401017=['748719ywxjdJ','62216FyrPgz','bindTemplate','ck-uploadcare-theme','491876POxmHu','uc-light','11nnMXKD','setTemplate','287iIplpc','image-edit','imageSrc','set','1YCVywW','1017HsKLMa','6348515cyZLZo','10950aUqcrR','uc-cloud-image-editor','1971260ltWGYn','1618648iaUcWG'];_0x4dd4=function(){return _0x401017;};return _0x4dd4();}import{View as _0x1f499e}from'ckeditor5/src/ui.js';export default class tt extends _0x1f499e{constructor(_0x3e5cef,_0x5212a3){const _0x586dab=_0x2408;super(_0x3e5cef);const _0x4e0e6e=this[_0x586dab(0x145)];this[_0x586dab(0x13b)](_0x586dab(0x13a),''),this[_0x586dab(0x14a)]({'tag':_0x586dab(0x140),'attributes':{..._0x5212a3,'class':[_0x586dab(0x148),_0x586dab(0x146)],'ctx-name':_0x586dab(0x14c),'cdn-url':_0x4e0e6e['to'](_0x586dab(0x13a))}});}}
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))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5a0093,IconView as et,View as _0x27aab8}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x27aab8{constructor(_0x2eaf50){super(_0x2eaf50);const t=_0x2eaf50['t'];this['set']('errorType',null);const _0x40f6f0=new _0x5a0093(_0x2eaf50);_0x40f6f0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x40f6f0['withText']=!0x0,_0x40f6f0['class']='ck-button-action',_0x40f6f0['on']('execute',()=>{this['fire']('retry');}),_0x40f6f0['bind']('isVisible')['to'](this,'errorType',_0x1e1781=>'NotFound'!==_0x1e1781);const _0x39d38d=new et();_0x39d38d['content']=at,_0x39d38d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x547a85=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':[_0x39d38d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x547a85['to']('errorType',_0x1e1eb8=>t('NotFound'!==_0x1e1eb8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x40f6f0]},{'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 _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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x23360c,View as _0x625945}from'ckeditor5/src/ui.js';export default class ta extends _0x625945{constructor(_0x36a0cc){super(_0x36a0cc);const t=_0x36a0cc['t'],_0x4dc380=this['bindTemplate'],_0x3c3771=new _0x23360c();_0x3c3771['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':[_0x3c3771,{'text':_0x4dc380['to']('imageUploadProgress',_0x45561c=>t('Loading\x20image...')+'\x20('+(_0x45561c||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 _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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1c6e(_0x10d806,_0x3a842b){const _0xe22795=_0xe227();return _0x1c6e=function(_0x1c6ee6,_0x39a42e){_0x1c6ee6=_0x1c6ee6-0x90;let _0xcc8250=_0xe22795[_0x1c6ee6];return _0xcc8250;},_0x1c6e(_0x10d806,_0x3a842b);}const _0x16c9c0=_0x1c6e;(function(_0xbd9db0,_0x43c5ad){const _0x3b3203=_0x1c6e,_0x555a68=_0xbd9db0();while(!![]){try{const _0x16c085=parseInt(_0x3b3203(0xb5))/0x1*(-parseInt(_0x3b3203(0xa7))/0x2)+-parseInt(_0x3b3203(0xbb))/0x3+-parseInt(_0x3b3203(0xbe))/0x4*(parseInt(_0x3b3203(0xad))/0x5)+-parseInt(_0x3b3203(0xa9))/0x6+-parseInt(_0x3b3203(0xa1))/0x7*(-parseInt(_0x3b3203(0xbd))/0x8)+-parseInt(_0x3b3203(0x91))/0x9*(-parseInt(_0x3b3203(0xaa))/0xa)+parseInt(_0x3b3203(0x99))/0xb;if(_0x16c085===_0x43c5ad)break;else _0x555a68['push'](_0x555a68['shift']());}catch(_0x11b10a){_0x555a68['push'](_0x555a68['shift']());}}}(_0xe227,0xe8dd5));import{View as _0x57cfc7}from'ckeditor5/src/ui.js';import _0x3eb532 from'./uploadcareimageeditformloadingview.js';function _0xe227(){const _0x23d810=['cancel','10095784DculnL','104raTeOW','_setView','_addUploadcareImageEditorListeners','filter','_addErrorViewListeners','target','uc-cloud-image-editor','cdnUrl','addMany','getFocusableElement','_errorView','18IoIFJh','set','change:status','_items','_loadingView','render','disconnect','detail','3798234QywsSg','clear','element','div','observe','error','setTemplate','addedNodes','7XXNYLg','retry','status','focus','once','apply','6JcDSlS','uploading','1273764TWxNXM','6251220aWkvcq','_focusableView','ck-uploadcare-form','232910DLtUSG','add','toLowerCase','querySelector','ck-reset_all-excluded','fire','_editingView','_waitForImageEditorComponent','73881hqLNGl','addEventListener','length','ready','createCollection','nodeName','775887BpZypa'];_0xe227=function(){return _0x23d810;};return _0xe227();}import _0x4fee3d from'./uploadcareimageeditformerrorview.js';import _0x470de6 from'./uploadcareimageeditformeditingview.js';import _0x35ba0a from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x35ba0a{constructor(_0x514715,_0x35876a,_0x7c802e){const _0x190f93=_0x1c6e;super(_0x514715),this[_0x190f93(0x94)]=this[_0x190f93(0xb9)](),this[_0x190f93(0x95)]=new _0x3eb532(_0x514715),this[_0x190f93(0x90)]=new _0x4fee3d(_0x514715),this[_0x190f93(0xb3)]=new _0x470de6(_0x514715,_0x7c802e),this[_0x190f93(0xab)]=new _0x57cfc7(_0x514715),this[_0x190f93(0xab)][_0x190f93(0x9f)](this[_0x190f93(0xc7)]()),this[_0x190f93(0x92)](_0x190f93(0xa3),_0x35876a),this[_0x190f93(0x9f)]({'tag':_0x190f93(0x9c),'attributes':{'class':['ck',_0x190f93(0xb1),_0x190f93(0xac)],'tabindex':'-1'},'children':this[_0x190f93(0x94)]}),this[_0x190f93(0xbf)](),this[_0x190f93(0xa5)](_0x190f93(0x96),()=>{const _0x151a82=_0x190f93;this[_0x151a82(0xb4)](this[_0x151a82(0x9b)],_0x2b9311=>{const _0x6d2729=_0x151a82;this[_0x6d2729(0xc0)](_0x2b9311);});}),this['on'](_0x190f93(0x93),()=>{const _0x405ead=_0x190f93;this[_0x405ead(0xbf)]();}),this[_0x190f93(0xc2)]();}[_0x16c9c0(0xa4)](){const _0x453563=_0x16c9c0;this[_0x453563(0x9b)][_0x453563(0xa4)]();}[_0x16c9c0(0xbf)](){const _0x4cce76=_0x16c9c0;switch(this[_0x4cce76(0x94)][_0x4cce76(0x9a)](),this[_0x4cce76(0xa3)]){case _0x4cce76(0xa8):this[_0x4cce76(0x94)][_0x4cce76(0xae)](this[_0x4cce76(0x95)]);break;case _0x4cce76(0x9e):this[_0x4cce76(0x94)][_0x4cce76(0xae)](this[_0x4cce76(0x90)]);break;case _0x4cce76(0xb8):this[_0x4cce76(0x94)][_0x4cce76(0xc6)]([this[_0x4cce76(0xb3)],this[_0x4cce76(0xab)]]);}}[_0x16c9c0(0xb4)](_0x20898b,_0x3e3041){const _0x47afce=_0x16c9c0,_0x3a84a7=_0x47afce(0xc4),_0x4a2a23=_0x20898b[_0x47afce(0xb0)](_0x3a84a7);if(_0x4a2a23)return _0x3e3041(_0x4a2a23);const _0x224e93=new MutationObserver(_0x230dd1=>{const _0x2ae7c9=_0x47afce,_0x3bf1da=_0x230dd1[_0x2ae7c9(0xc1)](_0x143d9d=>_0x143d9d[_0x2ae7c9(0xc3)]===_0x20898b&&_0x143d9d[_0x2ae7c9(0xa0)][_0x2ae7c9(0xb7)]>0x0&&_0x143d9d[_0x2ae7c9(0xa0)][0x0][_0x2ae7c9(0xba)][_0x2ae7c9(0xaf)]()===_0x3a84a7);_0x3bf1da[_0x2ae7c9(0xb7)]&&(_0x224e93[_0x2ae7c9(0x97)](),_0x3e3041(_0x3bf1da[0x0][_0x2ae7c9(0xa0)][0x0]));});_0x224e93[_0x47afce(0x9d)](_0x20898b,{'childList':!0x0,'subtree':!0x0});}[_0x16c9c0(0xc0)](_0x4979aa){const _0x4d9f98=_0x16c9c0;_0x4979aa[_0x4d9f98(0xb6)](_0x4d9f98(0xa6),_0x42cceb=>{const _0x50b3bb=_0x4d9f98;this[_0x50b3bb(0xb2)](_0x50b3bb(0xa6),{'imageSrc':_0x42cceb[_0x50b3bb(0x98)][_0x50b3bb(0xc5)]});}),_0x4979aa[_0x4d9f98(0xb6)](_0x4d9f98(0xbc),()=>{const _0x4a97c3=_0x4d9f98;this[_0x4a97c3(0xb2)](_0x4a97c3(0xbc));});}[_0x16c9c0(0xc2)](){const _0x295eb3=_0x16c9c0;this[_0x295eb3(0x90)]['on'](_0x295eb3(0xa2),()=>{const _0xf2396=_0x295eb3;this[_0xf2396(0xb2)](_0xf2396(0xa2));});}}
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));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x114a15=_0x48b9;(function(_0x4a4038,_0x20b76e){const _0x19acd9=_0x48b9,_0x527cd7=_0x4a4038();while(!![]){try{const _0x28215d=parseInt(_0x19acd9(0x149))/0x1*(-parseInt(_0x19acd9(0x12e))/0x2)+parseInt(_0x19acd9(0x139))/0x3+parseInt(_0x19acd9(0x12f))/0x4+parseInt(_0x19acd9(0x136))/0x5+-parseInt(_0x19acd9(0x13a))/0x6+-parseInt(_0x19acd9(0x13e))/0x7+-parseInt(_0x19acd9(0x144))/0x8*(-parseInt(_0x19acd9(0x12d))/0x9);if(_0x28215d===_0x20b76e)break;else _0x527cd7['push'](_0x527cd7['shift']());}catch(_0x48d3e7){_0x527cd7['push'](_0x527cd7['shift']());}}}(_0x3ae2,0xf2084));function _0x3ae2(){const _0x549da3=['plugins','isActive','_isEditable','bind','8soVDit','imageBlock','getSelectedElement','editor','requires','5lIpmOA','execute','imageEditController','16372602ocoTkG','587474FeIkbj','7270668dqJiMd','config','model','imageInline','unbind','document','uploadcare.allowExternalImagesEditing','6276755XZfeWe','get','selection','2483517ZvZgfY','10726920roGtzf','set','element','refresh','10305162NByjyD','isEnabled'];_0x3ae2=function(){return _0x549da3;};return _0x3ae2();}import{Command as _0x1796dd}from'ckeditor5/src/core.js';import{Dialog as _0x38cf82}from'ckeditor5/src/ui.js';import _0x3065b9 from'./ui/uploadcareimageeditcontroller.js';function _0x48b9(_0x435c9a,_0x5e3c2f){const _0x3ae234=_0x3ae2();return _0x48b9=function(_0x48b9e9,_0x4298e1){_0x48b9e9=_0x48b9e9-0x12d;let _0x19e370=_0x3ae234[_0x48b9e9];return _0x19e370;},_0x48b9(_0x435c9a,_0x5e3c2f);}import{createEditabilityChecker as _0x5eb5d2}from'../utils/editingutils.js';export default class J extends _0x1796dd{static get[_0x114a15(0x148)](){return[_0x38cf82];}constructor(_0xe4c95e){const _0x4135f7=_0x114a15;super(_0xe4c95e),this[_0x4135f7(0x14b)]=void 0x0,this[_0x4135f7(0x142)]=_0x5eb5d2(_0xe4c95e[_0x4135f7(0x130)][_0x4135f7(0x137)](_0x4135f7(0x135))||[]),this[_0x4135f7(0x13b)]({'isActive':!0x1});}[_0x114a15(0x13d)](){const _0x110e04=_0x114a15,_0x459139=this[_0x110e04(0x147)][_0x110e04(0x131)][_0x110e04(0x134)][_0x110e04(0x138)][_0x110e04(0x146)]();this[_0x110e04(0x13f)]=this[_0x110e04(0x142)](_0x459139);}[_0x114a15(0x14a)](){const _0x41d854=_0x114a15;this[_0x41d854(0x14b)]&&(this[_0x41d854(0x133)](_0x41d854(0x141)),this[_0x41d854(0x14b)]=void 0x0);const _0x51c9e5=this[_0x41d854(0x147)][_0x41d854(0x131)][_0x41d854(0x134)][_0x41d854(0x138)][_0x41d854(0x146)]();_0x51c9e5&&(_0x51c9e5['is'](_0x41d854(0x13c),_0x41d854(0x145))||_0x51c9e5['is'](_0x41d854(0x13c),_0x41d854(0x132)))&&(this[_0x41d854(0x14b)]=new _0x3065b9(this[_0x41d854(0x147)],this[_0x41d854(0x147)][_0x41d854(0x140)][_0x41d854(0x137)](_0x38cf82),_0x51c9e5),this[_0x41d854(0x143)](_0x41d854(0x141))['to'](this[_0x41d854(0x14b)],_0x41d854(0x141)));}}
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)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7f92(){const _0x23ac66=['pluginName','786335PUtLVf','isOfficialPlugin','uploadcareImageReplace','30494950JomgHq','963853KRUEYT','isPremiumPlugin','2387147ekiTcY','24cYvjtO','commands','UploadcareImageEditEditing','ImageEditing','56AaSQff','ImageUtils','1407528HPdwvV','init','add','uploadcareImageEdit','1719558BJZROZ','39UfpFQa','16346LrCBWv','requires'];_0x7f92=function(){return _0x23ac66;};return _0x7f92();}const _0x2b7b23=_0x246f;(function(_0x5d451c,_0x2b2ba8){const _0x1a419d=_0x246f,_0x95e8fc=_0x5d451c();while(!![]){try{const _0x1c8904=parseInt(_0x1a419d(0x154))/0x1+parseInt(_0x1a419d(0x163))/0x2*(-parseInt(_0x1a419d(0x162))/0x3)+-parseInt(_0x1a419d(0x15d))/0x4+-parseInt(_0x1a419d(0x166))/0x5+parseInt(_0x1a419d(0x157))/0x6*(-parseInt(_0x1a419d(0x156))/0x7)+-parseInt(_0x1a419d(0x15b))/0x8*(parseInt(_0x1a419d(0x161))/0x9)+parseInt(_0x1a419d(0x153))/0xa;if(_0x1c8904===_0x2b2ba8)break;else _0x95e8fc['push'](_0x95e8fc['shift']());}catch(_0x379d38){_0x95e8fc['push'](_0x95e8fc['shift']());}}}(_0x7f92,0xaa070));import{Plugin as _0x42d367}from'ckeditor5/src/core.js';import{Notification as _0x539683}from'ckeditor5/src/ui.js';import _0x5a0860 from'./uploadcareimageeditcommand.js';function _0x246f(_0x14650a,_0xcbf130){const _0x7f9296=_0x7f92();return _0x246f=function(_0x246f26,_0x3bfff4){_0x246f26=_0x246f26-0x151;let _0x404206=_0x7f9296[_0x246f26];return _0x404206;},_0x246f(_0x14650a,_0xcbf130);}import _0x31cc87 from'./uploadcareimagereplacecommand.js';import _0x41ca16 from'../uploadcareediting.js';export default class m extends _0x42d367{static get[_0x2b7b23(0x165)](){const _0x3b367b=_0x2b7b23;return _0x3b367b(0x159);}static get[_0x2b7b23(0x164)](){const _0x367634=_0x2b7b23;return[_0x41ca16,_0x539683,_0x367634(0x15c),_0x367634(0x15a)];}static get[_0x2b7b23(0x151)](){return!0x0;}static get[_0x2b7b23(0x155)](){return!0x0;}[_0x2b7b23(0x15e)](){const _0x9c9293=_0x2b7b23,{editor:_0x2ee817}=this;_0x2ee817[_0x9c9293(0x158)][_0x9c9293(0x15f)](_0x9c9293(0x160),new _0x5a0860(_0x2ee817)),_0x2ee817[_0x9c9293(0x158)][_0x9c9293(0x15f)](_0x9c9293(0x152),new _0x31cc87(_0x2ee817));}}
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));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x134af7}from'ckeditor5/src/core.js';import{ButtonView as _0x4df693}from'ckeditor5/src/ui.js';import{createElement as _0x413afb}from'ckeditor5/src/utils.js';import _0x4e29d8 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 _0x134af7{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 _0x580fb6=this['editor'];_0x580fb6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x469f2f=>{const _0x2760fd=_0x580fb6['commands']['get']('uploadcareImageEdit'),_0x4348d0=new _0x4df693(_0x469f2f),t=_0x469f2f['t'];return _0x4348d0['set']({'icon':_0x4e29d8,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4348d0['bind']('isEnabled')['to'](_0x2760fd),_0x4348d0['bind']('isOn')['to'](_0x2760fd,'isActive'),this['listenTo'](_0x4348d0,'execute',()=>{_0x580fb6['execute']('uploadcareImageEdit'),_0x580fb6['editing']['view']['focus']();}),_0x4348d0;}),this['_initConfig']();}['_initConfig'](){const _0x19bb99=_0x413afb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x19bb99),this['listenTo'](this['editor'],'destroy',()=>{_0x19bb99['remove']();});}}
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']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x177480=_0x4be6;(function(_0x28a100,_0x15dfdb){const _0x180fdf=_0x4be6,_0x415313=_0x28a100();while(!![]){try{const _0x536861=parseInt(_0x180fdf(0xbf))/0x1+parseInt(_0x180fdf(0xb1))/0x2*(-parseInt(_0x180fdf(0xb6))/0x3)+-parseInt(_0x180fdf(0xbc))/0x4+-parseInt(_0x180fdf(0xac))/0x5+-parseInt(_0x180fdf(0xbe))/0x6+parseInt(_0x180fdf(0xc1))/0x7+parseInt(_0x180fdf(0xae))/0x8;if(_0x536861===_0x15dfdb)break;else _0x415313['push'](_0x415313['shift']());}catch(_0x1f2b9b){_0x415313['push'](_0x415313['shift']());}}}(_0x466a,0x96e28));function _0x4be6(_0x136a2f,_0x42892b){const _0x466a4d=_0x466a();return _0x4be6=function(_0x4be6a2,_0x18a33c){_0x4be6a2=_0x4be6a2-0xab;let _0x5672c3=_0x466a4d[_0x4be6a2];return _0x5672c3;},_0x4be6(_0x136a2f,_0x42892b);}function _0x466a(){const _0x10cd14=['element','getSelectedElement','3873476WsBWzh','document','7244004ARZgVW','1199539OVYEjg','sizes','2383731dHhqpv','refresh','isEnabled','1721255LUuIzH','setAttributes','17159584OTmsGj','selection','imageBlock','4dzBQrb','imageInline','srcset','editor','change','820563YjqSKE','model','removeAttribute','execute'];_0x466a=function(){return _0x10cd14;};return _0x466a();}import{Command as _0x52b25a}from'ckeditor5/src/core.js';export default class O extends _0x52b25a{[_0x177480(0xc2)](){const _0x1a7782=_0x177480,_0x577c4e=this[_0x1a7782(0xb4)][_0x1a7782(0xb7)][_0x1a7782(0xbd)][_0x1a7782(0xaf)][_0x1a7782(0xbb)]();this[_0x1a7782(0xab)]=Boolean(_0x577c4e&&(_0x577c4e['is'](_0x1a7782(0xba),_0x1a7782(0xb0))||_0x577c4e['is'](_0x1a7782(0xba),_0x1a7782(0xb2))));}[_0x177480(0xb9)](_0xf791a1){const _0xdf64bd=_0x177480,_0x20b20c=this[_0xdf64bd(0xb4)][_0xdf64bd(0xb7)][_0xdf64bd(0xbd)][_0xdf64bd(0xaf)][_0xdf64bd(0xbb)]();this[_0xdf64bd(0xb4)][_0xdf64bd(0xb7)][_0xdf64bd(0xb5)](_0x4a34fc=>{const _0x449697=_0xdf64bd;_0x4a34fc[_0x449697(0xad)](_0xf791a1,_0x20b20c),_0x4a34fc[_0x449697(0xb8)](_0x449697(0xb3),_0x20b20c),_0x4a34fc[_0x449697(0xb8)](_0x449697(0xc0),_0x20b20c);});}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1c4411=_0x2cae;function _0x2cae(_0xaba877,_0x26aa10){var _0x41b7d2=_0x41b7();return _0x2cae=function(_0x2caed1,_0x53eb49){_0x2caed1=_0x2caed1-0x14e;var _0x21905a=_0x41b7d2[_0x2caed1];return _0x21905a;},_0x2cae(_0xaba877,_0x26aa10);}(function(_0x35d6e7,_0x248d01){var _0x55302a=_0x2cae,_0x168e65=_0x35d6e7();while(!![]){try{var _0x340811=-parseInt(_0x55302a(0x155))/0x1*(parseInt(_0x55302a(0x15b))/0x2)+-parseInt(_0x55302a(0x159))/0x3+parseInt(_0x55302a(0x15d))/0x4*(-parseInt(_0x55302a(0x150))/0x5)+-parseInt(_0x55302a(0x153))/0x6+-parseInt(_0x55302a(0x151))/0x7*(parseInt(_0x55302a(0x156))/0x8)+-parseInt(_0x55302a(0x15e))/0x9*(parseInt(_0x55302a(0x158))/0xa)+-parseInt(_0x55302a(0x15a))/0xb*(-parseInt(_0x55302a(0x15c))/0xc);if(_0x340811===_0x248d01)break;else _0x168e65['push'](_0x168e65['shift']());}catch(_0x14405f){_0x168e65['push'](_0x168e65['shift']());}}}(_0x41b7,0x58ce1));import{Plugin as _0x2123fe}from'ckeditor5/src/core.js';import _0xdcad4f from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x524925 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x41b7(){var _0x3d2af7=['21428KypHjD','45VEizce','UploadcareImageEdit','isPremiumPlugin','130IYncfe','4493167clgrSK','isOfficialPlugin','4343862tkfimD','pluginName','59808tJTXHq','8VpCcVo','requires','1245310zIhyUm','964119RkakoX','11KVMNMj','12ADINGd','38061132PCgboO'];_0x41b7=function(){return _0x3d2af7;};return _0x41b7();}export default class j extends _0x2123fe{static get[_0x1c4411(0x154)](){var _0x54f9d9=_0x1c4411;return _0x54f9d9(0x14e);}static get[_0x1c4411(0x157)](){return[_0xdcad4f,_0x524925];}static get[_0x1c4411(0x152)](){return!0x0;}static get[_0x1c4411(0x14f)](){return!0x0;}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a0a94=_0x41e6;(function(_0x39d788,_0x42be91){const _0x3f3406=_0x41e6,_0x476309=_0x39d788();while(!![]){try{const _0x4be3cc=-parseInt(_0x3f3406(0x1fa))/0x1*(parseInt(_0x3f3406(0x1e3))/0x2)+parseInt(_0x3f3406(0x1c7))/0x3*(-parseInt(_0x3f3406(0x1fd))/0x4)+parseInt(_0x3f3406(0x1c8))/0x5+parseInt(_0x3f3406(0x1d4))/0x6+-parseInt(_0x3f3406(0x1cf))/0x7+-parseInt(_0x3f3406(0x1e6))/0x8*(-parseInt(_0x3f3406(0x1d2))/0x9)+parseInt(_0x3f3406(0x1f9))/0xa;if(_0x4be3cc===_0x42be91)break;else _0x476309['push'](_0x476309['shift']());}catch(_0x46283b){_0x476309['push'](_0x476309['shift']());}}}(_0x13b1,0x665d4));import{Plugin as _0x22cc1c,icons as _0x4f7da6}from'ckeditor5/src/core.js';import{ButtonView as _0x2f4ec5,MenuBarMenuListItemButtonView as _0x58bb5c}from'ckeditor5/src/ui.js';import _0x10df10 from'../theme/icons/dropbox.svg';import _0xcc2458 from'../theme/icons/facebook.svg';import _0x44a49c from'../theme/icons/google-drive.svg';import _0x2bdf40 from'../theme/icons/google-photos.svg';import _0x1fb860 from'../theme/icons/link.svg';import _0x2e8d1e from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x867e85}from'./uploadcareconfig.js';import{getTranslation as _0x4114a8}from'./utils/common-translations.js';function _0x41e6(_0x386d3d,_0x2b5bd6){const _0x13b192=_0x13b1();return _0x41e6=function(_0x41e635,_0x56e555){_0x41e635=_0x41e635-0x1c7;let _0x448c73=_0x13b192[_0x41e635];return _0x448c73;},_0x41e6(_0x386d3d,_0x2b5bd6);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x13b1(){const _0x1fcc6f=['3292212HFCXug','uploadcareLicenseKeyValid','shortText','isOfficialPlugin','uploadcare.uploader.sourceList','uploadcareLicenseKeyUsageLimit','Local','afterInit','invalid','upload','get','reduce','uploadcareLicenseKeyNotAllowed','UploadcareUI','Facebook','28EjbVdU','_createToolbarButton','icon','48odeohE','Uploadcare','type','uploadcare','uploadcareLicenseKeyDomainLimit','registerIntegration','assetManager','imageUpload','entries','GPhotos','forEach','_createButton','text','_createDropdownButtons','_createMenuBarButtons','URL','execute','domainLimit','_getIntegrationKey','5470380hOzszz','45448VTWUDm','plugins','destroy','1116868xczXQz','isPremiumPlugin','featureNotAllowed','Dropbox','evaluationLimit','locale','GDrive','uploadcareLicenseKeyExpired','isImageSelected','uploadcareLicenseKeyEvaluationLimit','licenseKey','label','OneDrive','Replace','ImageInsertUI','Insert','editor','commands','pluginName','_showLicenseError','isEnabled','_licenseKeyCheckInterval','bind','has','usageLimit','expired','uploadcareLicenseKeyTrialLimit','push','6osgmyr','2281850dYwVhI','map','config','init','url','withText','uploadcareLicenseKeyInvalid','5427100LHAOTt','tooltip','_normalizeConfigSourceList','1255770QPRFqc','trialLimit'];_0x13b1=function(){return _0x1fcc6f;};return _0x13b1();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x22cc1c{static get[_0x2a0a94(0x20f)](){const _0x918c6f=_0x2a0a94;return _0x918c6f(0x1e1);}static get[_0x2a0a94(0x1d7)](){return!0x0;}static get[_0x2a0a94(0x1fe)](){return!0x0;}[_0x2a0a94(0x1cb)](){const _0x490664=_0x2a0a94;this[_0x490664(0x207)]=this[_0x490664(0x20d)][_0x490664(0x1ca)][_0x490664(0x1de)](_0x490664(0x207));const _0x436c6d=this[_0x490664(0x20d)];this[_0x490664(0x212)]=setInterval(()=>{const _0x59998f=_0x490664;let _0x3ea4f1;for(const _0x3ee1fb in _0x436c6d){const _0xa3e6ac=_0x3ee1fb,_0x86eba6=_0x436c6d[_0xa3e6ac];if(_0x59998f(0x1d5)==_0x86eba6||_0x59998f(0x1ce)==_0x86eba6||_0x59998f(0x204)==_0x86eba6||_0x59998f(0x1ea)==_0x86eba6||_0x59998f(0x1e0)==_0x86eba6||_0x59998f(0x206)==_0x86eba6||_0x59998f(0x217)==_0x86eba6||_0x59998f(0x1d9)==_0x86eba6){delete _0x436c6d[_0xa3e6ac],_0x3ea4f1=_0x86eba6,clearInterval(this[_0x59998f(0x212)]),this[_0x59998f(0x212)]=void 0x0;break;}}_0x59998f(0x1ce)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x1dc)),_0x59998f(0x204)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x216)),_0x59998f(0x1ea)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x1f7)),_0x59998f(0x1e0)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x1ff),_0x59998f(0x1e7)),_0x59998f(0x206)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x201)),_0x59998f(0x217)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x1d3)),_0x59998f(0x1d9)==_0x3ea4f1&&_0x436c6d[_0x59998f(0x210)](_0x59998f(0x215));},0x3e8);}[_0x2a0a94(0x1db)](){const _0x15ec1f=_0x2a0a94,{editor:_0x2c31d0}=this,_0x50a729=_0x2c31d0[_0x15ec1f(0x20e)][_0x15ec1f(0x1de)](_0x15ec1f(0x1e9));if(!_0x50a729)return;const _0xdd2f27=this[_0x15ec1f(0x1d1)](_0x2c31d0[_0x15ec1f(0x1ca)][_0x15ec1f(0x1de)](_0x15ec1f(0x1d8)))[_0x15ec1f(0x1df)]((_0x5758da,_0x506eaa)=>{const _0x390e2f=_0x15ec1f,_0x3cae23=this[_0x390e2f(0x1f8)](_0x506eaa[_0x390e2f(0x1e8)]);return _0x5758da[_0x3cae23]||(_0x5758da[_0x3cae23]=[]),_0x5758da[_0x3cae23][_0x390e2f(0x218)](_0x506eaa),_0x5758da;},{});_0x2c31d0[_0x15ec1f(0x1fb)][_0x15ec1f(0x214)](_0x15ec1f(0x20b))&&_0x2c31d0[_0x15ec1f(0x20e)][_0x15ec1f(0x1de)](_0x15ec1f(0x1e9))&&Object[_0x15ec1f(0x1ee)](_0xdd2f27)[_0x15ec1f(0x1f0)](([_0x5e8e7f,_0x3ce033])=>{const _0x292399=_0x15ec1f;_0x2c31d0[_0x292399(0x1fb)][_0x292399(0x1de)](_0x292399(0x20b))[_0x292399(0x1eb)]({'name':_0x5e8e7f,'observable':()=>_0x50a729,'buttonViewCreator':()=>this[_0x292399(0x1e4)](_0x3ce033),'formViewCreator':()=>this[_0x292399(0x1f3)](_0x3ce033),'menuBarButtonViewCreator':()=>this[_0x292399(0x1f4)](_0x3ce033),'override':_0x292399(0x1ec)!==_0x5e8e7f});});}[_0x2a0a94(0x1fc)](){const _0x2a49ed=_0x2a0a94;super[_0x2a49ed(0x1fc)](),this[_0x2a49ed(0x212)]&&clearInterval(this[_0x2a49ed(0x212)]);}[_0x2a0a94(0x1d1)](_0xc45ff5){const _0xf05025=_0x2a0a94,{locale:_0xe99644}=this[_0xf05025(0x20d)];return _0xc45ff5[_0xf05025(0x1c9)](_0x480b68=>{const _0x20d905=_0xf05025,_0x5c433e=_0x4114a8(_0xe99644,_0x480b68,_0x20d905(0x20c));switch(_0x480b68){case _0x867e85[_0x20d905(0x1da)]:return{'icon':_0x4f7da6[_0x20d905(0x1ed)],'type':_0x867e85[_0x20d905(0x1da)],..._0x5c433e};case _0x867e85[_0x20d905(0x1f5)]:return{'icon':_0x1fb860,'type':_0x867e85[_0x20d905(0x1f5)],..._0x5c433e};case _0x867e85[_0x20d905(0x200)]:return{'icon':_0x10df10,'type':_0x867e85[_0x20d905(0x200)],..._0x5c433e};case _0x867e85[_0x20d905(0x1e2)]:return{'icon':_0xcc2458,'type':_0x867e85[_0x20d905(0x1e2)],..._0x5c433e};case _0x867e85[_0x20d905(0x203)]:return{'icon':_0x44a49c,'type':_0x867e85[_0x20d905(0x203)],..._0x5c433e};case _0x867e85[_0x20d905(0x1ef)]:return{'icon':_0x2bdf40,'type':_0x867e85[_0x20d905(0x1ef)],..._0x5c433e};case _0x867e85[_0x20d905(0x209)]:return{'icon':_0x2e8d1e,'type':_0x867e85[_0x20d905(0x209)],..._0x5c433e};}});}[_0x2a0a94(0x1f8)](_0x44167f){const _0x4be345=_0x2a0a94;switch(_0x44167f){case _0x867e85[_0x4be345(0x1da)]:return _0x4be345(0x1dd);case _0x867e85[_0x4be345(0x1f5)]:return _0x4be345(0x1cc);default:return _0x4be345(0x1ec);}}[_0x2a0a94(0x1f1)](_0x405e41,_0x3597c5){const _0x608117=_0x2a0a94,_0xf0ab06=this[_0x608117(0x20d)],_0x17e38d=new _0x405e41(_0xf0ab06[_0x608117(0x202)]),_0x43c74c=_0xf0ab06[_0x608117(0x20e)][_0x608117(0x1de)](_0x608117(0x1e9));return _0x17e38d[_0x608117(0x213)](_0x608117(0x211))['to'](_0x43c74c),_0x17e38d['on'](_0x608117(0x1f6),()=>{const _0x5ec6d7=_0x608117;_0x43c74c[_0x5ec6d7(0x1f6)](_0x3597c5);}),_0x17e38d;}[_0x2a0a94(0x1e4)](_0x2e721c){const _0x40d7d5=_0x2a0a94,{locale:_0xb7a942}=this[_0x40d7d5(0x20d)],_0x5e41f8=this[_0x40d7d5(0x20d)][_0x40d7d5(0x1fb)][_0x40d7d5(0x1de)](_0x40d7d5(0x20b)),_0xad48f6=_0x2e721c[0x0],_0x365165=this[_0x40d7d5(0x1f1)](_0x2f4ec5,_0xad48f6[_0x40d7d5(0x1e8)]);return _0x365165[_0x40d7d5(0x1e5)]=_0xad48f6[_0x40d7d5(0x1e5)],_0x365165[_0x40d7d5(0x213)](_0x40d7d5(0x208))['to'](_0x5e41f8,_0x40d7d5(0x205),_0x30071c=>_0x4114a8(_0xb7a942,_0xad48f6[_0x40d7d5(0x1e8)],_0x30071c?_0x40d7d5(0x20a):_0x40d7d5(0x20c))[_0x40d7d5(0x1f2)]),_0x365165[_0x40d7d5(0x1d0)]=!0x0,_0x365165;}[_0x2a0a94(0x1f3)](_0x3db973){const _0x43675b=_0x2a0a94,{locale:_0x4edfbd}=this[_0x43675b(0x20d)],_0xd7bc8f=this[_0x43675b(0x20d)][_0x43675b(0x1fb)][_0x43675b(0x1de)](_0x43675b(0x20b));return _0x3db973[_0x43675b(0x1c9)](_0x54f158=>{const _0x141228=_0x43675b,_0x529725=this[_0x141228(0x1f1)](_0x2f4ec5,_0x54f158[_0x141228(0x1e8)]);return _0x529725[_0x141228(0x1cd)]=!0x0,_0x529725[_0x141228(0x1e5)]=_0x54f158[_0x141228(0x1e5)],_0x529725[_0x141228(0x213)](_0x141228(0x208))['to'](_0xd7bc8f,_0x141228(0x205),_0x408642=>_0x4114a8(_0x4edfbd,_0x54f158[_0x141228(0x1e8)],_0x408642?_0x141228(0x20a):_0x141228(0x20c))[_0x141228(0x1f2)]),_0x529725;});}[_0x2a0a94(0x1f4)](_0x17bbaa){const _0x7a5dff=_0x2a0a94;return _0x17bbaa[_0x7a5dff(0x1c9)](_0x62b201=>{const _0x2ad7f5=_0x7a5dff,_0x7f3ed7=this[_0x2ad7f5(0x1f1)](_0x58bb5c,_0x62b201[_0x2ad7f5(0x1e8)]);return _0x7f3ed7[_0x2ad7f5(0x1e5)]=_0x62b201[_0x2ad7f5(0x1e5)],_0x7f3ed7[_0x2ad7f5(0x208)]=_0x62b201[_0x2ad7f5(0x1d6)],_0x7f3ed7;});}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f24d6}from'ckeditor5/src/core.js';import{FileRepository as _0x31a14a}from'ckeditor5/src/upload.js';import _0x47b144 from'./uploadcareediting.js';import _0x3d738f from'./utils/uploadutils.js';import{getImageUrls as _0x36ff8b}from'./utils/editingutils.js';export default class f extends _0x3f24d6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x31a14a,_0x47b144];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x42c6a2=this['editor'];if(!!!_0x42c6a2['config']['get']('uploadcare'))return;_0x42c6a2['plugins']['get'](_0x31a14a)['createUploadAdapter']=_0x44a060=>new E(_0x44a060,_0x42c6a2),_0x42c6a2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x29ec1d,{imageElement:_0x139f6d,data:_0x375615})=>{_0x42c6a2['model']['change'](_0x10859c=>{_0x10859c['setAttribute']('uploadcareImageId',_0x375615['uploadcareImageId'],_0x139f6d);});});}}class E{constructor(_0x38a657,_0x2d7c63){this['loader']=_0x38a657,this['editor']=_0x2d7c63,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x34116a=this['editor']['config']['get']('uploadcare.pubkey'),_0x5a6d09=await this['loader']['file'];return _0x3d738f['upload']({'file':_0x5a6d09,'publicKey':_0x34116a,'signal':this['controller']['signal'],'onProgress':_0x18f342=>{_0x18f342&&_0x18f342['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x18f342['value']);}})['then'](async _0x4b7e33=>{const {imageFallbackUrl:_0x3b47ff,imageSources:_0x10a91c}=_0x36ff8b(_0x4b7e33['cdnUrl'],_0x4b7e33['imageInfo']['width']);return{'uploadcareImageId':_0x4b7e33['uuid'],'default':_0x3b47ff,'sources':_0x10a91c};})['catch'](()=>{const _0x330a56=t('Cannot\x20upload\x20file:')+('\x20'+_0x5a6d09['name']+'.');return Promise['reject'](_0x330a56);});}['abort'](){this['controller']['abort']();}}
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']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x45a20a}from'../uploadcareconfig.js';export function getTranslation(_0x5e34a9,_0x1a7a0a,_0x3b1858){const t=_0x5e34a9['t'],_0x196561=_0x5e34a9['t'];switch(_0x1a7a0a){case _0x45a20a['Local']:return{'text':_0x196561('Insert'===_0x3b1858?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x196561('From\x20computer')};case _0x45a20a['URL']:return{'text':'Insert'===_0x3b1858?_0x196561('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x196561('Via\x20URL')};case _0x45a20a['Dropbox']:return{'text':t('Insert'===_0x3b1858?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x45a20a['Facebook']:return{'text':t('Insert'===_0x3b1858?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x45a20a['GDrive']:return{'text':t('Insert'===_0x3b1858?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x45a20a['GPhotos']:return{'text':t('Insert'===_0x3b1858?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x45a20a['OneDrive']:return{'text':t('Insert'===_0x3b1858?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1a7a0a;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a12(_0x493e71,_0x145bc1){var _0x645182=_0x6451();return _0x2a12=function(_0x2a123d,_0x571750){_0x2a123d=_0x2a123d-0x169;var _0x2f457a=_0x645182[_0x2a123d];return _0x2f457a;},_0x2a12(_0x493e71,_0x145bc1);}var _0xe65763=_0x2a12;(function(_0x506db5,_0x3f9cbb){var _0x2495f9=_0x2a12,_0x1b3355=_0x506db5();while(!![]){try{var _0x54370c=parseInt(_0x2495f9(0x17b))/0x1+-parseInt(_0x2495f9(0x17c))/0x2*(-parseInt(_0x2495f9(0x175))/0x3)+-parseInt(_0x2495f9(0x16a))/0x4*(-parseInt(_0x2495f9(0x17e))/0x5)+-parseInt(_0x2495f9(0x173))/0x6*(parseInt(_0x2495f9(0x16e))/0x7)+-parseInt(_0x2495f9(0x17a))/0x8*(parseInt(_0x2495f9(0x17d))/0x9)+parseInt(_0x2495f9(0x16b))/0xa*(-parseInt(_0x2495f9(0x176))/0xb)+-parseInt(_0x2495f9(0x179))/0xc*(-parseInt(_0x2495f9(0x177))/0xd);if(_0x54370c===_0x3f9cbb)break;else _0x1b3355['push'](_0x1b3355['shift']());}catch(_0x765dee){_0x1b3355['push'](_0x1b3355['shift']());}}}(_0x6451,0xe94eb));import{FocusTracker as _0xda4727}from'ckeditor5/src/utils.js';import{View as _0x31c4d8,FocusCycler as _0x5ef4ad}from'ckeditor5/src/ui.js';function _0x6451(){var _0x48c708=['583188hKoQRM','24MIREWV','21167ULpMmy','1803622iyPoak','5703849dyUPja','2525wtDafI','getFocusableElement','5280VQJsri','407630ZSvNId','fire','forwardCycle','1093372QtaUbr','true','bindTemplate','focusCycler','createCollection','24JUYpNY','focusTracker','3LePDAM','473fMXPcC','975AJPCxn','div'];_0x6451=function(){return _0x48c708;};return _0x6451();}import'../../theme/uploadcare-form.css';export default class q extends _0x31c4d8{constructor(_0x40ef64){var _0x77d74a=_0x2a12;super(_0x40ef64),this[_0x77d74a(0x174)]=new _0xda4727(),this[_0x77d74a(0x171)]=new _0x5ef4ad({'focusables':this[_0x77d74a(0x172)](),'focusTracker':this[_0x77d74a(0x174)]});}[_0xe65763(0x169)](){var _0x27631e=_0xe65763;return{'tag':_0x27631e(0x178),'attributes':{'aria-hidden':_0x27631e(0x16f),'tabindex':'0'},'on':{'focus':this[_0x27631e(0x170)]['to'](()=>{var _0x408e77=_0x27631e;this[_0x408e77(0x171)][_0x408e77(0x16c)](_0x408e77(0x16d));})}};}}
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));})}};}}