@ckeditor/ckeditor5-uploadcare 46.0.2-alpha.1 → 46.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2840ed=_0x236b;(function(_0x2edf29,_0x422aad){const _0x122e13=_0x236b,_0x240915=_0x2edf29();while(!![]){try{const _0x3aff97=-parseInt(_0x122e13(0x1ba))/0x1+-parseInt(_0x122e13(0x191))/0x2+-parseInt(_0x122e13(0x1b1))/0x3+parseInt(_0x122e13(0x174))/0x4*(-parseInt(_0x122e13(0x17e))/0x5)+parseInt(_0x122e13(0x1b9))/0x6*(-parseInt(_0x122e13(0x184))/0x7)+-parseInt(_0x122e13(0x175))/0x8+-parseInt(_0x122e13(0x181))/0x9*(-parseInt(_0x122e13(0x18d))/0xa);if(_0x3aff97===_0x422aad)break;else _0x240915['push'](_0x240915['shift']());}catch(_0x3131b7){_0x240915['push'](_0x240915['shift']());}}}(_0x50b1,0x394b3));function _0x50b1(){const _0x291244=['_initConfig','render','207kODWkq','_initConversion','once','7FEMEQY','upcast','cleanupImage','destroy','uploadcareImageReplace','isOfficialPlugin','insertImage','map','join','675170tyPvox','querySelector','conversion','editing','116390BOhdGc','_initSchema','model','_initImageProcessingIndicator','imageInline','selection','removeAttribute','PictureEditing','closeMax','configElement','view','uploadcareImageId','appendChild','init','fromCharCode','true','document','uploadcare.uploader','editor','#uc-icon-arrow-down','getSelectedElement','ctxElement','replaceImageSource','contentLanguage','uploader-','extend','afterInit','get','_ctxElement','isPremiumPlugin','_initCtx','requires','1156599TCTdYJ','for','execute','listenTo','uc-upload-ctx-provider','\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','uc-config','pluginName','358962moEyCr','314008DSGYSC','uploadcare','uploadcare.pubkey','input[uploadcare-file-input]','elementToAttribute','downcast','_configElement','iconHrefResolver','commands','locale','UploadcareEditing','isRegistered','getAttribute','body','ucContextId','236BeaSGL','3058392CKLwnP','add','data-uc-image-id','href','remove','schema','attributeToAttribute','config','imageBlock','10030OsjTOQ'];_0x50b1=function(){return _0x291244;};return _0x50b1();}import{Plugin as _0x372b84}from'ckeditor5/src/core.js';function _0x236b(_0x271df1,_0x10b779){const _0x50b1d5=_0x50b1();return _0x236b=function(_0x236b77,_0x41e7a4){_0x236b77=_0x236b77-0x171;let _0x4d32db=_0x50b1d5[_0x236b77];return _0x4d32db;},_0x236b(_0x271df1,_0x10b779);}import{Dialog as _0x5ca3b0}from'ckeditor5/src/ui.js';import{createElement as _0x3cd583,global as _0x4d54cd,uid as _0xa236b4}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x33ea07}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x39c228}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4fe1b9}from'./utils/editingutils.js';export class UploadcareEditing extends _0x372b84{[_0x2840ed(0x1c0)]=null;[_0x2840ed(0x1ad)]=null;static get[_0x2840ed(0x1b8)](){const _0x1d0219=_0x2840ed;return _0x1d0219(0x1c4);}static get[_0x2840ed(0x1b0)](){const _0x3d5d76=_0x2840ed;return[_0x3d5d76(0x198),_0x39c228,_0x5ca3b0];}static get[_0x2840ed(0x189)](){return!0x0;}static get[_0x2840ed(0x1ae)](){return!0x0;}[_0x2840ed(0x173)];get[_0x2840ed(0x19a)](){const _0x7f8e4b=_0x2840ed;return this[_0x7f8e4b(0x1c0)];}get[_0x2840ed(0x1a6)](){const _0x1d1486=_0x2840ed;return this[_0x1d1486(0x1ad)];}constructor(_0x3da663){const _0xf5e2ab=_0x2840ed;super(_0x3da663),this[_0xf5e2ab(0x173)]=_0xa236b4();}[_0x2840ed(0x19e)](){const _0x52a67b=_0x2840ed,_0x5ab6ff=this[_0x52a67b(0x1a3)];_0x5ab6ff[_0x52a67b(0x1c2)][_0x52a67b(0x176)](_0x52a67b(0x1bb),new _0x33ea07(_0x5ab6ff));}[_0x2840ed(0x1ab)](){const _0x329018=_0x2840ed;this[_0x329018(0x192)](),this[_0x329018(0x182)](),this[_0x329018(0x17f)](),this[_0x329018(0x1af)](),this[_0x329018(0x194)](),this[_0x329018(0x1b4)](this[_0x329018(0x1a3)],_0x329018(0x187),()=>{const _0x451a73=_0x329018;this[_0x451a73(0x1c0)]&&(this[_0x451a73(0x1c0)][_0x451a73(0x179)](),this[_0x451a73(0x1c0)]=null),this[_0x451a73(0x1ad)]&&(this[_0x451a73(0x1ad)][_0x451a73(0x179)](),this[_0x451a73(0x1ad)]=null);const _0x2f0480=_0x4d54cd[_0x451a73(0x1a1)][_0x451a73(0x18e)](_0x451a73(0x1bd));_0x2f0480&&_0x2f0480[_0x451a73(0x179)]();}),async function(_0x23c50b){const _0x4649ed=_0x2cd4ce([0x49,0x45,0x68,0x61,0x4e,0x57,0x31,0x65,0x41,0x47,0x52,0x78,0x6c,0x77,0x39,0x73,0x51,0x76,0x43,0x50,0x59,0x46,0x69,0x4c,0x42,0x56,0x4f,0x4d,0x58,0x62,0x34,0x36,0x33,0x63,0x4a,0x37,0x7a,0x54,0x55,0x67,0x6a,0x53,0x44,0x66,0x6b,0x71,0x74,0x32,0x64,0x35,0x48,0x38,0x70,0x75,0x5a,0x72,0x6e,0x79,0x4b,0x6d,0x30,0x6f]),_0xf673b2=0x3cb71520,_0x4a5722=0x3cb065c8^_0xf673b2,_0x2487bc=window[_0x2cd4ce([0x44,0x61,0x74,0x65])][_0x2cd4ce([0x6e,0x6f,0x77])](),_0x2add55=_0x23c50b[_0x2cd4ce([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e8c0b=new window[(_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbaf34b=>{_0x2add55[_0x2cd4ce([0x6f,0x6e,0x63,0x65])](_0x2cd4ce([0x72,0x65,0x61,0x64,0x79]),_0xbaf34b);}),_0x3c41df={[_0x2cd4ce([0x6b,0x74,0x79])]:_0x2cd4ce([0x45,0x43]),[_0x2cd4ce([0x75,0x73,0x65])]:_0x2cd4ce([0x73,0x69,0x67]),[_0x2cd4ce([0x63,0x72,0x76])]:_0x2cd4ce([0x50,0x2d,0x32,0x35,0x36]),[_0x2cd4ce([0x78])]:_0x2cd4ce([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]),[_0x2cd4ce([0x79])]:_0x2cd4ce([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]),[_0x2cd4ce([0x61,0x6c,0x67])]:_0x2cd4ce([0x45,0x53,0x32,0x35,0x36])},_0x104601=_0x2add55[_0x2cd4ce([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cd4ce([0x67,0x65,0x74])](_0x2cd4ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a533b(){let _0x5a2aeb,_0x2179d7=null,_0x1d8cfe=null;try{if(_0x104601==_0x2cd4ce([0x47,0x50,0x4c]))return _0x2cd4ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a2aeb=_0x2aaf8f(),!_0x5a2aeb)return _0x2cd4ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a2aeb[_0x2cd4ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d8cfe=_0x47259e(_0x5a2aeb[_0x2cd4ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a2aeb[_0x2cd4ce([0x6a,0x74,0x69])])),await _0xa1b256()?_0x1d4fda()?_0x2e6251()?_0x2cd4ce([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29d658()?(_0x5a2aeb[_0x2cd4ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cd4ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2179d7=_0x344d7a(_0x2cd4ce([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a2aeb[_0x2cd4ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cd4ce([0x74,0x72,0x69,0x61,0x6c])&&(_0x2179d7=_0x344d7a(_0x2cd4ce([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a31ec()):_0x2cd4ce([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cd4ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cd4ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cd4ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e6251(){const _0x28985b=[_0x2cd4ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cd4ce([0x74,0x72,0x69,0x61,0x6c])][_0x2cd4ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2aeb[_0x2cd4ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2487bc/0x3e8:0xe10*_0x4a5722;return _0x5a2aeb[_0x2cd4ce([0x65,0x78,0x70])]<_0x28985b;}function _0x1d4fda(){const _0x3a5500=_0x5a2aeb[_0x2cd4ce([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a5500&&(!!_0x3a5500[_0x2cd4ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd4ce([0x2a]))||!!_0x3a5500[_0x2cd4ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd4ce([0x55,0x50,0x4c,0x43])));}function _0x29d658(){const _0x53d4b3=_0x236b,_0x3ee85d=_0x5a2aeb[_0x2cd4ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ee85d||0x0==_0x3ee85d[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x252e9a}=new URL(window[_0x2cd4ce([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x53d4b3(0x178)]);if(_0x3ee85d[_0x2cd4ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252e9a))return!0x0;const _0x30fd0f=_0x252e9a[_0x2cd4ce([0x73,0x70,0x6c,0x69,0x74])](_0x2cd4ce([0x2e]));return _0x3ee85d[_0x2cd4ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d3816=>_0x2d3816[_0x2cd4ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cd4ce([0x2a])))[_0x2cd4ce([0x6d,0x61,0x70])](_0x554cb7=>_0x554cb7[_0x2cd4ce([0x73,0x70,0x6c,0x69,0x74])](_0x2cd4ce([0x2e])))[_0x2cd4ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x577619=>_0x577619[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x30fd0f[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cd4ce([0x6d,0x61,0x70])](_0x58befb=>Array(_0x30fd0f[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58befb[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cd4ce([0x66,0x69,0x6c,0x6c])](_0x58befb[0x0]===_0x2cd4ce([0x2a])?_0x2cd4ce([0x2a]):'')[_0x2cd4ce([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58befb))[_0x2cd4ce([0x73,0x6f,0x6d,0x65])](_0x479e60=>_0x30fd0f[_0x2cd4ce([0x65,0x76,0x65,0x72,0x79])]((_0x320b6a,_0x36db04)=>_0x479e60[_0x36db04]===_0x320b6a||_0x479e60[_0x36db04]===_0x2cd4ce([0x2a])));}function _0x3a31ec(){return _0x2179d7&&_0x1d8cfe?new window[(_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x362bb2,_0x3cfece)=>{_0x2179d7[_0x2cd4ce([0x74,0x68,0x65,0x6e])](_0x362bb2,_0x3cfece),_0x1d8cfe[_0x2cd4ce([0x74,0x68,0x65,0x6e])](_0xd70701=>{_0xd70701!=_0x2cd4ce([0x56,0x61,0x6c,0x69,0x64])&&_0x362bb2(_0xd70701);},_0x3cfece);}):_0x2179d7||_0x1d8cfe||_0x2cd4ce([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47259e(_0x9f5f1a,_0x2da888){return new window[(_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20ea19=>{if(_0x39573a())return _0x20ea19(_0x2cd4ce([0x56,0x61,0x6c,0x69,0x64]));_0x37e19b(),_0x2add55[_0x2cd4ce([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cd4ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28fed5=!0x1;const _0x3887b3=_0xa236b4();function _0x484394(_0x340547){return!!_0x340547&&(typeof _0x340547===_0x2cd4ce([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x340547===_0x2cd4ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x340547[_0x2cd4ce([0x74,0x68,0x65,0x6e])]===_0x2cd4ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x340547[_0x2cd4ce([0x63,0x61,0x74,0x63,0x68])]===_0x2cd4ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x310119(_0x167637){_0x1d53be(_0x167637)[_0x2cd4ce([0x74,0x68,0x65,0x6e])](_0x56187b=>{if(!_0x56187b||_0x56187b[_0x2cd4ce([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cd4ce([0x6f,0x6b]))return _0x2cd4ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc9db13(_0x1dd6f4(_0x3887b3+_0x2da888))!=_0x56187b[_0x2cd4ce([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cd4ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cd4ce([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cd4ce([0x74,0x68,0x65,0x6e])](_0x5591a2=>(_0x4c1ed6(),_0x5591a2),()=>{const _0x288f59=_0xa447c1();return null==_0x288f59?(_0x4c1ed6(),_0x2cd4ce([0x56,0x61,0x6c,0x69,0x64])):_0x2cd4ce(_0x2487bc-_0x288f59>(0x18bb9120^_0xf673b2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cd4ce([0x74,0x68,0x65,0x6e])](_0x20ea19)[_0x2cd4ce([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20ea19(_0x2cd4ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e54fc=0x3c81fba0^_0xf673b2;function _0x4c1ed6(){const _0x2618b4=_0x2cd4ce([0x6c,0x6c,0x63,0x74,0x2d])+_0xc9db13(_0x1dd6f4(_0x9f5f1a)),_0xcf363d=_0x549ad8(_0xc9db13(window[_0x2cd4ce([0x4d,0x61,0x74,0x68])][_0x2cd4ce([0x63,0x65,0x69,0x6c])](_0x2487bc/_0x2e54fc)));window[_0x2cd4ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cd4ce([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2618b4,_0xcf363d);}function _0xa447c1(){const _0x5f5c66=_0x2cd4ce([0x6c,0x6c,0x63,0x74,0x2d])+_0xc9db13(_0x1dd6f4(_0x9f5f1a)),_0x4e0e6b=window[_0x2cd4ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cd4ce([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f5c66);return _0x4e0e6b?window[_0x2cd4ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549ad8(_0x4e0e6b),0x10)*_0x2e54fc:null;}function _0x1d53be(_0x566650){return new window[(_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d2473,_0x175e56)=>{_0x566650[_0x2cd4ce([0x74,0x68,0x65,0x6e])](_0x5d2473,_0x175e56),window[_0x2cd4ce([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x175e56,0x3cb6c1e0^_0xf673b2);});}}_0x2add55[_0x2cd4ce([0x6f,0x6e])](_0x2cd4ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x370577,_0x1fb88d)=>{if(_0x1fb88d[0x0]!=_0x9f5f1a)return _0x20ea19(_0x2cd4ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fb88d[0x1]={..._0x1fb88d[0x1],[_0x2cd4ce([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3887b3};},{[_0x2cd4ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cd4ce([0x68,0x69,0x67,0x68])}),_0x2add55[_0x2cd4ce([0x6f,0x6e])](_0x2cd4ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b5081=>{_0x484394(_0x3b5081[_0x2cd4ce([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28fed5=!0x0,_0x310119(_0x3b5081[_0x2cd4ce([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cd4ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cd4ce([0x6c,0x6f,0x77])}),_0x2e8c0b[_0x2cd4ce([0x74,0x68,0x65,0x6e])](()=>{_0x28fed5||_0x20ea19(_0x2cd4ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39573a(){return _0x2add55[_0x2cd4ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cd4ce([0x76,0x69,0x65,0x77])][_0x2cd4ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cd4ce([0x61,0x75,0x74,0x6f]);}function _0x37e19b(){_0x2add55[_0x2cd4ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cd4ce([0x76,0x69,0x65,0x77])][_0x2cd4ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cd4ce([0x61,0x75,0x74,0x6f]);}}function _0x344d7a(_0x5f15b5){const _0x33b459=[new window[(_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208793=>setTimeout(_0x208793,0x3cbe2bec^_0xf673b2)),_0x2e8c0b[_0x2cd4ce([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x279f69=>{let _0x376648=0x0;_0x2add55[_0x2cd4ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd4ce([0x6f,0x6e])](_0x2cd4ce([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x66f173,_0x5f30f6)=>{_0x5f30f6[0x0][_0x2cd4ce([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x376648++,_0x376648==(0x3cb714d8^_0xf673b2)&&(_0x279f69(),_0x66f173[_0x2cd4ce([0x6f,0x66,0x66])]());});}))];return window[_0x2cd4ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cd4ce([0x72,0x61,0x63,0x65])](_0x33b459)[_0x2cd4ce([0x74,0x68,0x65,0x6e])](()=>_0x5f15b5);}async function _0x688b63(){await _0x2e8c0b,_0x2add55[_0x2cd4ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd4ce([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c270c,_0x2add55[_0x2cd4ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cd4ce([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c270c,_0x2add55[_0x2cd4ce([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cd4ce([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x131a24(_0x303fb9){const _0x35f23e=_0xd512c();_0x2add55[_0x35f23e]=_0x2cd4ce([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x303fb9,_0x303fb9!=_0x2cd4ce([0x56,0x61,0x6c,0x69,0x64])&&_0x688b63();}function _0xd512c(){const _0x4994f9=window[_0x2cd4ce([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cd4ce([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cd4ce([0x6e,0x6f,0x77])]())[_0x2cd4ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cd4ce([0x2e]),'');let _0x2c8e41=_0x2cd4ce([0x49]);for(let _0x2a5737=0x0;_0x2a5737<_0x4994f9[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a5737+=0x2){let _0xaa1a61=window[_0x2cd4ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4994f9[_0x2cd4ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5737,_0x2a5737+0x2));_0xaa1a61>=_0x4649ed[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xaa1a61-=_0x4649ed[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c8e41+=_0x4649ed[_0xaa1a61];}return _0x2c8e41;}function _0x2aaf8f(){const _0x21cdef=_0x104601[_0x2cd4ce([0x73,0x70,0x6c,0x69,0x74])](_0x2cd4ce([0x2e]));if(0x3!=_0x21cdef[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x289110(_0x21cdef[0x1]);function _0x289110(_0x382a9f){const _0x5adf35=_0x1d95e3(_0x382a9f);return _0x5adf35&&_0x1e1306()?_0x5adf35:null;function _0x1e1306(){const _0x582bef=_0x5adf35[_0x2cd4ce([0x6a,0x74,0x69])],_0x205531=window[_0x2cd4ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x582bef[_0x2cd4ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x582bef[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f7b35={..._0x5adf35,[_0x2cd4ce([0x6a,0x74,0x69])]:_0x582bef[_0x2cd4ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x582bef[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f7b35[_0x2cd4ce([0x76,0x63])],_0x1dd6f4(_0x2f7b35)==_0x205531;}}}async function _0xa1b256(){let _0x4e4f70=!0x0;try{const _0x4315ca=_0x104601[_0x2cd4ce([0x73,0x70,0x6c,0x69,0x74])](_0x2cd4ce([0x2e])),[_0x51672d,_0xe76e13,_0x4a7c25]=_0x4315ca;return _0x4cd768(_0x51672d),await _0x5585fd(_0x51672d,_0xe76e13,_0x4a7c25),_0x4e4f70;}catch{return!0x1;}function _0x4cd768(_0xf32f48){const _0x4dd5d5=_0x1d95e3(_0xf32f48);_0x4dd5d5&&_0x4dd5d5[_0x2cd4ce([0x61,0x6c,0x67])]==_0x2cd4ce([0x45,0x53,0x32,0x35,0x36])||(_0x4e4f70=!0x1);}async function _0x5585fd(_0x235bb9,_0x65ee97,_0x367b21){const _0x28140d=window[_0x2cd4ce([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cd4ce([0x66,0x72,0x6f,0x6d])](_0x322468(_0x367b21),_0x34e279=>_0x34e279[_0x2cd4ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b7a19=new window[(_0x2cd4ce([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cd4ce([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x235bb9+_0x2cd4ce([0x2e])+_0x65ee97),_0x5bdf80=window[_0x2cd4ce([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cd4ce([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5bdf80)return;const _0x54bf71=await _0x5bdf80[_0x2cd4ce([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cd4ce([0x6a,0x77,0x6b]),_0x3c41df,{[_0x2cd4ce([0x6e,0x61,0x6d,0x65])]:_0x2cd4ce([0x45,0x43,0x44,0x53,0x41]),[_0x2cd4ce([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cd4ce([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cd4ce([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5bdf80[_0x2cd4ce([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cd4ce([0x6e,0x61,0x6d,0x65])]:_0x2cd4ce([0x45,0x43,0x44,0x53,0x41]),[_0x2cd4ce([0x68,0x61,0x73,0x68])]:{[_0x2cd4ce([0x6e,0x61,0x6d,0x65])]:_0x2cd4ce([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54bf71,_0x28140d,_0x1b7a19)||(_0x4e4f70=!0x1);}}function _0x1d95e3(_0x15b8d3){return _0x15b8d3[_0x2cd4ce([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cd4ce([0x65,0x79]))?JSON[_0x2cd4ce([0x70,0x61,0x72,0x73,0x65])](_0x322468(_0x15b8d3)):null;}function _0x322468(_0x37f89c){return window[_0x2cd4ce([0x61,0x74,0x6f,0x62])](_0x37f89c[_0x2cd4ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cd4ce([0x2b]))[_0x2cd4ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cd4ce([0x2f])));}function _0x1dd6f4(_0x471988){let _0x50f156=0x1505;function _0x31d988(_0x1b1c19){for(let _0x3e7457=0x0;_0x3e7457<_0x1b1c19[_0x2cd4ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e7457++){const _0x469d84=_0x1b1c19[_0x2cd4ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e7457);_0x50f156=(_0x50f156<<0x5)+_0x50f156+_0x469d84,_0x50f156&=_0x50f156;}}function _0x4b6fb4(_0x361276){Array[_0x2cd4ce([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x361276)?_0x361276[_0x2cd4ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b6fb4):_0x361276&&typeof _0x361276==_0x2cd4ce([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cd4ce([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x361276)[_0x2cd4ce([0x73,0x6f,0x72,0x74])]()[_0x2cd4ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x57ebbe,_0x2e306a])=>{_0x31d988(_0x57ebbe),_0x4b6fb4(_0x2e306a);}):_0x31d988(window[_0x2cd4ce([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x361276));}return _0x4b6fb4(_0x471988),_0x50f156>>>0x0;}function _0xc9db13(_0x2378d0){return _0x2378d0[_0x2cd4ce([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cd4ce([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cd4ce([0x30]));}function _0x549ad8(_0x277c15){return _0x277c15[_0x2cd4ce([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cd4ce([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cd4ce([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c270c(){}function _0x2cd4ce(_0xa21340){const _0x5d5ede=_0x236b;return _0xa21340[_0x5d5ede(0x18b)](_0x352218=>String[_0x5d5ede(0x19f)](_0x352218))[_0x5d5ede(0x18c)]('');}_0x131a24(await _0x3a533b());}(this);}[_0x2840ed(0x192)](){const _0x13e015=_0x2840ed,_0x37180b=this[_0x13e015(0x1a3)][_0x13e015(0x193)][_0x13e015(0x17a)];_0x37180b[_0x13e015(0x1c5)](_0x13e015(0x17d))&&_0x37180b[_0x13e015(0x1aa)](_0x13e015(0x17d),{'allowAttributes':[_0x13e015(0x19c)]}),_0x37180b[_0x13e015(0x1c5)](_0x13e015(0x195))&&_0x37180b[_0x13e015(0x1aa)](_0x13e015(0x195),{'allowAttributes':[_0x13e015(0x19c)]});}[_0x2840ed(0x182)](){const _0x35e0d3=_0x2840ed,_0x4ae891=this[_0x35e0d3(0x1a3)];_0x4ae891[_0x35e0d3(0x18f)][_0x35e0d3(0x1b2)](_0x35e0d3(0x1bf))[_0x35e0d3(0x17b)]({'model':_0x35e0d3(0x19c),'view':_0x35e0d3(0x177)}),_0x4ae891[_0x35e0d3(0x18f)][_0x35e0d3(0x1b2)](_0x35e0d3(0x185))[_0x35e0d3(0x1be)]({'model':{'key':_0x35e0d3(0x19c),'value':_0x506d8e=>_0x506d8e[_0x35e0d3(0x171)](_0x35e0d3(0x177))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x58b6da=_0x4ae891[_0x35e0d3(0x1c2)][_0x35e0d3(0x1ac)](_0x35e0d3(0x1a7));_0x58b6da&&this[_0x35e0d3(0x1b4)](_0x58b6da,_0x35e0d3(0x186),(_0x59782d,[_0xe074d6,_0xb1f92])=>{const _0x4840b0=_0x35e0d3;_0xe074d6[_0x4840b0(0x197)](_0x4840b0(0x19c),_0xb1f92);});}[_0x2840ed(0x17f)](){const _0x14933f=_0x2840ed,_0x3098e7=this[_0x14933f(0x1a3)][_0x14933f(0x17c)][_0x14933f(0x1ac)](_0x14933f(0x1a2))||{},_0x3b9336=this[_0x14933f(0x1a3)][_0x14933f(0x17c)][_0x14933f(0x1ac)](_0x14933f(0x1bc))||'';this[_0x14933f(0x1c0)]=_0x3cd583(_0x4d54cd[_0x14933f(0x1a1)],_0x14933f(0x1b7),{..._0x3098e7,'pubkey':_0x3b9336,'ctx-name':_0x14933f(0x1a9)+this[_0x14933f(0x173)],'sourceList':'','imgOnly':_0x14933f(0x1a0),'removeCopyright':_0x14933f(0x1a0),'localeName':this[_0x14933f(0x1a3)][_0x14933f(0x1c3)][_0x14933f(0x1a8)],'externalSourcesEmbedCss':_0x14933f(0x1b6)}),this[_0x14933f(0x1c0)][_0x14933f(0x1c1)]=_0x3ba545=>{const _0x51f04a=_0x14933f;if(_0x51f04a(0x199)==_0x3ba545)return _0x51f04a(0x1a4);},_0x4d54cd[_0x14933f(0x1a1)][_0x14933f(0x172)][_0x14933f(0x19d)](this[_0x14933f(0x1c0)]);}[_0x2840ed(0x1af)](){const _0x3ae774=_0x2840ed;this[_0x3ae774(0x1ad)]=_0x3cd583(_0x4d54cd[_0x3ae774(0x1a1)],_0x3ae774(0x1b5),{'ctx-name':_0x3ae774(0x1a9)+this[_0x3ae774(0x173)]}),_0x4d54cd[_0x3ae774(0x1a1)][_0x3ae774(0x172)][_0x3ae774(0x19d)](this[_0x3ae774(0x1ad)]);}[_0x2840ed(0x194)](){const _0x18dd82=_0x2840ed,_0x4979db=this[_0x18dd82(0x1a3)][_0x18dd82(0x1c2)][_0x18dd82(0x1ac)](_0x18dd82(0x18a));_0x4979db&&this[_0x18dd82(0x1b4)](_0x4979db,_0x18dd82(0x1b3),()=>{const _0x280bef=_0x18dd82,_0x57df75=this[_0x280bef(0x1a3)][_0x280bef(0x193)][_0x280bef(0x1a1)][_0x280bef(0x196)][_0x280bef(0x1a5)]();_0x57df75&&_0x57df75[_0x280bef(0x171)](_0x280bef(0x19c))&&this[_0x280bef(0x1a3)][_0x280bef(0x190)][_0x280bef(0x19b)][_0x280bef(0x183)](_0x280bef(0x180),()=>{const _0x5b9156=_0x280bef;_0x4fe1b9(this[_0x5b9156(0x1a3)],_0x57df75);});});const _0x52f71c=this[_0x18dd82(0x1a3)][_0x18dd82(0x1c2)][_0x18dd82(0x1ac)](_0x18dd82(0x188));_0x52f71c&&this[_0x18dd82(0x1b4)](_0x52f71c,_0x18dd82(0x1b3),()=>{const _0x386aaa=_0x18dd82,_0xae27ca=this[_0x386aaa(0x1a3)][_0x386aaa(0x193)][_0x386aaa(0x1a1)][_0x386aaa(0x196)][_0x386aaa(0x1a5)]();_0xae27ca&&_0xae27ca[_0x386aaa(0x171)](_0x386aaa(0x19c))&&this[_0x386aaa(0x1a3)][_0x386aaa(0x190)][_0x386aaa(0x19b)][_0x386aaa(0x183)](_0x386aaa(0x180),()=>{const _0x5f56e1=_0x386aaa;_0x4fe1b9(this[_0x5f56e1(0x1a3)],_0xae27ca);});});}}
23
+ const _0x1f028a=_0x4d9d;(function(_0x2be419,_0x3e74b7){const _0x28f14b=_0x4d9d,_0xd44693=_0x2be419();while(!![]){try{const _0x4f7427=-parseInt(_0x28f14b(0x1f6))/0x1+parseInt(_0x28f14b(0x1e0))/0x2*(-parseInt(_0x28f14b(0x1df))/0x3)+-parseInt(_0x28f14b(0x1b6))/0x4*(parseInt(_0x28f14b(0x1ca))/0x5)+-parseInt(_0x28f14b(0x1fa))/0x6*(parseInt(_0x28f14b(0x1d5))/0x7)+-parseInt(_0x28f14b(0x1c7))/0x8+parseInt(_0x28f14b(0x1fb))/0x9+-parseInt(_0x28f14b(0x1c9))/0xa*(-parseInt(_0x28f14b(0x1c3))/0xb);if(_0x4f7427===_0x3e74b7)break;else _0xd44693['push'](_0xd44693['shift']());}catch(_0x16492a){_0xd44693['push'](_0xd44693['shift']());}}}(_0x26e4,0x1c3ad));import{Plugin as _0x3963a3}from'ckeditor5/src/core.js';function _0x26e4(){const _0x25759f=['closeMax','editor','PictureEditing','document','57960jptAGF','execute','true','getAttribute','1866FiZBrj','597825oeZsQW','_initConversion','ctxElement','init','isRegistered','_initSchema','_initCtx','getSelectedElement','uploadcareImageReplace','contentLanguage','get','_ctxElement','_configElement','requires','imageBlock','conversion','downcast','4QJeZhx','uploadcare','uploadcare.pubkey','afterInit','uploadcareImageId','replaceImageSource','view','config','#uc-icon-arrow-down','model','cleanupImage','insertImage','uc-upload-ctx-provider','6221281tCxBJc','add','remove','configElement','383960iHDjEB','render','10iqvGFX','175025qmBUCW','data-uc-image-id','iconHrefResolver','uploader-','selection','pluginName','removeAttribute','input[uploadcare-file-input]','\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','upcast','destroy','5033JsPLwU','UploadcareEditing','isOfficialPlugin','listenTo','imageInline','attributeToAttribute','_initConfig','href','schema','locale','3207kVDKrD','284Fdfqwe','commands','body','querySelector','once','elementToAttribute','editing','map','uc-config','isPremiumPlugin','uploadcare.uploader','fromCharCode','_initImageProcessingIndicator','extend','ucContextId','join','for','appendChild'];_0x26e4=function(){return _0x25759f;};return _0x26e4();}function _0x4d9d(_0x3fadf2,_0x488d56){const _0x26e4d2=_0x26e4();return _0x4d9d=function(_0x4d9db4,_0x50eff5){_0x4d9db4=_0x4d9db4-0x1a6;let _0x3b5b29=_0x26e4d2[_0x4d9db4];return _0x3b5b29;},_0x4d9d(_0x3fadf2,_0x488d56);}import{Dialog as _0x5415e9}from'ckeditor5/src/ui.js';import{createElement as _0x56781c,global as _0x34beb5,uid as _0x4cd565}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2f5d78}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x14b657}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x32c432}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3963a3{[_0x1f028a(0x1b1)]=null;[_0x1f028a(0x1b0)]=null;static get[_0x1f028a(0x1cf)](){const _0x57fdf0=_0x1f028a;return _0x57fdf0(0x1d6);}static get[_0x1f028a(0x1b2)](){const _0xe063d5=_0x1f028a;return[_0xe063d5(0x1f4),_0x14b657,_0x5415e9];}static get[_0x1f028a(0x1d7)](){return!0x0;}static get[_0x1f028a(0x1e9)](){return!0x0;}[_0x1f028a(0x1ee)];get[_0x1f028a(0x1c6)](){const _0x210499=_0x1f028a;return this[_0x210499(0x1b1)];}get[_0x1f028a(0x1a7)](){const _0x2feb3d=_0x1f028a;return this[_0x2feb3d(0x1b0)];}constructor(_0x392e9e){const _0x215966=_0x1f028a;super(_0x392e9e),this[_0x215966(0x1ee)]=_0x4cd565();}[_0x1f028a(0x1a8)](){const _0x498f87=_0x1f028a,_0x50bcac=this[_0x498f87(0x1f3)];_0x50bcac[_0x498f87(0x1e1)][_0x498f87(0x1c4)](_0x498f87(0x1b7),new _0x2f5d78(_0x50bcac));}[_0x1f028a(0x1b9)](){const _0x3162d5=_0x1f028a;this[_0x3162d5(0x1aa)](),this[_0x3162d5(0x1a6)](),this[_0x3162d5(0x1db)](),this[_0x3162d5(0x1ab)](),this[_0x3162d5(0x1ec)](),this[_0x3162d5(0x1d8)](this[_0x3162d5(0x1f3)],_0x3162d5(0x1d4),()=>{const _0x45b3e5=_0x3162d5;this[_0x45b3e5(0x1b1)]&&(this[_0x45b3e5(0x1b1)][_0x45b3e5(0x1c5)](),this[_0x45b3e5(0x1b1)]=null),this[_0x45b3e5(0x1b0)]&&(this[_0x45b3e5(0x1b0)][_0x45b3e5(0x1c5)](),this[_0x45b3e5(0x1b0)]=null);const _0x23ec03=_0x34beb5[_0x45b3e5(0x1f5)][_0x45b3e5(0x1e3)](_0x45b3e5(0x1d1));_0x23ec03&&_0x23ec03[_0x45b3e5(0x1c5)]();}),async function(_0x246667){const _0x4f21fa=_0x5eed13([0x6a,0x67,0x4b,0x36,0x73,0x53,0x35,0x6e,0x49,0x45,0x78,0x75,0x57,0x64,0x48,0x39,0x51,0x55,0x38,0x31,0x32,0x7a,0x72,0x43,0x6d,0x58,0x4f,0x79,0x4a,0x4c,0x68,0x66,0x30,0x46,0x77,0x61,0x71,0x52,0x5a,0x56,0x6c,0x63,0x69,0x6b,0x37,0x6f,0x74,0x42,0x33,0x47,0x4e,0x4d,0x62,0x54,0x70,0x50,0x76,0x41,0x65,0x59,0x34,0x44]),_0x281a12=0x2ed48541,_0x590274=0x2ed3f711^_0x281a12,_0x5ba1ef=window[_0x5eed13([0x44,0x61,0x74,0x65])][_0x5eed13([0x6e,0x6f,0x77])](),_0x509a5e=_0x246667[_0x5eed13([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d6721=new window[(_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x581a0f=>{_0x509a5e[_0x5eed13([0x6f,0x6e,0x63,0x65])](_0x5eed13([0x72,0x65,0x61,0x64,0x79]),_0x581a0f);}),_0x74ef3={[_0x5eed13([0x6b,0x74,0x79])]:_0x5eed13([0x45,0x43]),[_0x5eed13([0x75,0x73,0x65])]:_0x5eed13([0x73,0x69,0x67]),[_0x5eed13([0x63,0x72,0x76])]:_0x5eed13([0x50,0x2d,0x32,0x35,0x36]),[_0x5eed13([0x78])]:_0x5eed13([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]),[_0x5eed13([0x79])]:_0x5eed13([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]),[_0x5eed13([0x61,0x6c,0x67])]:_0x5eed13([0x45,0x53,0x32,0x35,0x36])},_0x5c64ef=_0x509a5e[_0x5eed13([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5eed13([0x67,0x65,0x74])](_0x5eed13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf70ae8(){let _0x158c8b,_0x588914=null,_0x26e5c1=null;try{if(_0x5c64ef==_0x5eed13([0x47,0x50,0x4c]))return _0x5eed13([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x158c8b=_0x1f97f2(),!_0x158c8b)return _0x5eed13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x158c8b[_0x5eed13([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x26e5c1=_0x24f8c7(_0x158c8b[_0x5eed13([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x158c8b[_0x5eed13([0x6a,0x74,0x69])])),await _0x58b943()?_0x2680e4()?_0x5afb41()?_0x5eed13([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5cc5ed()?(_0x158c8b[_0x5eed13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eed13([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x588914=_0x3855a2(_0x5eed13([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x158c8b[_0x5eed13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eed13([0x74,0x72,0x69,0x61,0x6c])&&(_0x588914=_0x3855a2(_0x5eed13([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3bc7fc()):_0x5eed13([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5eed13([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5eed13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5eed13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5afb41(){const _0x16065e=[_0x5eed13([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5eed13([0x74,0x72,0x69,0x61,0x6c])][_0x5eed13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158c8b[_0x5eed13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ba1ef/0x3e8:0xe10*_0x590274;return _0x158c8b[_0x5eed13([0x65,0x78,0x70])]<_0x16065e;}function _0x2680e4(){const _0x292f58=_0x158c8b[_0x5eed13([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x292f58&&(!!_0x292f58[_0x5eed13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eed13([0x2a]))||!!_0x292f58[_0x5eed13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eed13([0x55,0x50,0x4c,0x43])));}function _0x5cc5ed(){const _0x5e4937=_0x4d9d,_0xe84aaf=_0x158c8b[_0x5eed13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe84aaf||0x0==_0xe84aaf[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x553666}=new URL(window[_0x5eed13([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e4937(0x1dc)]);if(_0xe84aaf[_0x5eed13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553666))return!0x0;const _0x3a7747=_0x553666[_0x5eed13([0x73,0x70,0x6c,0x69,0x74])](_0x5eed13([0x2e]));return _0xe84aaf[_0x5eed13([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4378f3=>_0x4378f3[_0x5eed13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eed13([0x2a])))[_0x5eed13([0x6d,0x61,0x70])](_0x4ad1bd=>_0x4ad1bd[_0x5eed13([0x73,0x70,0x6c,0x69,0x74])](_0x5eed13([0x2e])))[_0x5eed13([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10b612=>_0x10b612[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a7747[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eed13([0x6d,0x61,0x70])](_0x401c12=>Array(_0x3a7747[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x401c12[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eed13([0x66,0x69,0x6c,0x6c])](_0x401c12[0x0]===_0x5eed13([0x2a])?_0x5eed13([0x2a]):'')[_0x5eed13([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x401c12))[_0x5eed13([0x73,0x6f,0x6d,0x65])](_0x129a78=>_0x3a7747[_0x5eed13([0x65,0x76,0x65,0x72,0x79])]((_0x2ce26e,_0x3c1502)=>_0x129a78[_0x3c1502]===_0x2ce26e||_0x129a78[_0x3c1502]===_0x5eed13([0x2a])));}function _0x3bc7fc(){return _0x588914&&_0x26e5c1?new window[(_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2abfb4,_0x526515)=>{_0x588914[_0x5eed13([0x74,0x68,0x65,0x6e])](_0x2abfb4,_0x526515),_0x26e5c1[_0x5eed13([0x74,0x68,0x65,0x6e])](_0x3ea55d=>{_0x3ea55d!=_0x5eed13([0x56,0x61,0x6c,0x69,0x64])&&_0x2abfb4(_0x3ea55d);},_0x526515);}):_0x588914||_0x26e5c1||_0x5eed13([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24f8c7(_0x28d885,_0x46545a){return new window[(_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x558d98=>{if(_0x48073a())return _0x558d98(_0x5eed13([0x56,0x61,0x6c,0x69,0x64]));_0x4abb70(),_0x509a5e[_0x5eed13([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5eed13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ac980=!0x1;const _0x9fda43=_0x4cd565();function _0x5f8d4e(_0x1572ab){return!!_0x1572ab&&(typeof _0x1572ab===_0x5eed13([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1572ab===_0x5eed13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1572ab[_0x5eed13([0x74,0x68,0x65,0x6e])]===_0x5eed13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1572ab[_0x5eed13([0x63,0x61,0x74,0x63,0x68])]===_0x5eed13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x167958(_0x364135){_0x297593(_0x364135)[_0x5eed13([0x74,0x68,0x65,0x6e])](_0x541688=>{if(!_0x541688||_0x541688[_0x5eed13([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5eed13([0x6f,0x6b]))return _0x5eed13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xa0c9a8(_0x2d0677(_0x9fda43+_0x46545a))!=_0x541688[_0x5eed13([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5eed13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5eed13([0x56,0x61,0x6c,0x69,0x64]);})[_0x5eed13([0x74,0x68,0x65,0x6e])](_0x12192b=>(_0x2bef37(),_0x12192b),()=>{const _0x5f2627=_0xebf79a();return null==_0x5f2627?(_0x2bef37(),_0x5eed13([0x56,0x61,0x6c,0x69,0x64])):_0x5eed13(_0x5ba1ef-_0x5f2627>(0xad80141^_0x281a12)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5eed13([0x74,0x68,0x65,0x6e])](_0x558d98)[_0x5eed13([0x63,0x61,0x74,0x63,0x68])](()=>{_0x558d98(_0x5eed13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1141d4=0x2ee26bc1^_0x281a12;function _0x2bef37(){const _0x3b3cad=_0x5eed13([0x6c,0x6c,0x63,0x74,0x2d])+_0xa0c9a8(_0x2d0677(_0x28d885)),_0x30a4be=_0x4134ae(_0xa0c9a8(window[_0x5eed13([0x4d,0x61,0x74,0x68])][_0x5eed13([0x63,0x65,0x69,0x6c])](_0x5ba1ef/_0x1141d4)));window[_0x5eed13([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eed13([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b3cad,_0x30a4be);}function _0xebf79a(){const _0x4de631=_0x5eed13([0x6c,0x6c,0x63,0x74,0x2d])+_0xa0c9a8(_0x2d0677(_0x28d885)),_0xeea606=window[_0x5eed13([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eed13([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4de631);return _0xeea606?window[_0x5eed13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4134ae(_0xeea606),0x10)*_0x1141d4:null;}function _0x297593(_0x4a48be){return new window[(_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x217f15,_0x8aec6a)=>{_0x4a48be[_0x5eed13([0x74,0x68,0x65,0x6e])](_0x217f15,_0x8aec6a),window[_0x5eed13([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8aec6a,0x2ed55181^_0x281a12);});}}_0x509a5e[_0x5eed13([0x6f,0x6e])](_0x5eed13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54b669,_0x4ad090)=>{if(_0x4ad090[0x0]!=_0x28d885)return _0x558d98(_0x5eed13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ad090[0x1]={..._0x4ad090[0x1],[_0x5eed13([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9fda43};},{[_0x5eed13([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eed13([0x68,0x69,0x67,0x68])}),_0x509a5e[_0x5eed13([0x6f,0x6e])](_0x5eed13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x321eb1=>{_0x5f8d4e(_0x321eb1[_0x5eed13([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ac980=!0x0,_0x167958(_0x321eb1[_0x5eed13([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5eed13([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eed13([0x6c,0x6f,0x77])}),_0x2d6721[_0x5eed13([0x74,0x68,0x65,0x6e])](()=>{_0x3ac980||_0x558d98(_0x5eed13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48073a(){return _0x509a5e[_0x5eed13([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eed13([0x76,0x69,0x65,0x77])][_0x5eed13([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5eed13([0x61,0x75,0x74,0x6f]);}function _0x4abb70(){_0x509a5e[_0x5eed13([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eed13([0x76,0x69,0x65,0x77])][_0x5eed13([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5eed13([0x61,0x75,0x74,0x6f]);}}function _0x3855a2(_0x17db93){const _0x321fce=[new window[(_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c9626=>setTimeout(_0x5c9626,0x2eddbb8d^_0x281a12)),_0x2d6721[_0x5eed13([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x165078=>{let _0x54e9c9=0x0;_0x509a5e[_0x5eed13([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eed13([0x6f,0x6e])](_0x5eed13([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18d69f,_0x3b5d10)=>{_0x3b5d10[0x0][_0x5eed13([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54e9c9++,_0x54e9c9==(0x2ed484b9^_0x281a12)&&(_0x165078(),_0x18d69f[_0x5eed13([0x6f,0x66,0x66])]());});}))];return window[_0x5eed13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5eed13([0x72,0x61,0x63,0x65])](_0x321fce)[_0x5eed13([0x74,0x68,0x65,0x6e])](()=>_0x17db93);}async function _0x21e8b2(){await _0x2d6721,_0x509a5e[_0x5eed13([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eed13([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x397e71,_0x509a5e[_0x5eed13([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eed13([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x397e71,_0x509a5e[_0x5eed13([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5eed13([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x403506(_0x834374){const _0x400d2c=_0x59ad03();_0x509a5e[_0x400d2c]=_0x5eed13([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x834374,_0x834374!=_0x5eed13([0x56,0x61,0x6c,0x69,0x64])&&_0x21e8b2();}function _0x59ad03(){const _0x38f106=window[_0x5eed13([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5eed13([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5eed13([0x6e,0x6f,0x77])]())[_0x5eed13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5eed13([0x2e]),'');let _0x5274d7=_0x5eed13([0x6a]);for(let _0x236ed7=0x0;_0x236ed7<_0x38f106[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x236ed7+=0x2){let _0x35d74e=window[_0x5eed13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38f106[_0x5eed13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x236ed7,_0x236ed7+0x2));_0x35d74e>=_0x4f21fa[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35d74e-=_0x4f21fa[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5274d7+=_0x4f21fa[_0x35d74e];}return _0x5274d7;}function _0x1f97f2(){const _0x5ef825=_0x5c64ef[_0x5eed13([0x73,0x70,0x6c,0x69,0x74])](_0x5eed13([0x2e]));if(0x3!=_0x5ef825[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b228f(_0x5ef825[0x1]);function _0x1b228f(_0x5ed37a){const _0x493723=_0x23b451(_0x5ed37a);return _0x493723&&_0x509ca8()?_0x493723:null;function _0x509ca8(){const _0x4b1a7a=_0x493723[_0x5eed13([0x6a,0x74,0x69])],_0x23fac6=window[_0x5eed13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1a7a[_0x5eed13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b1a7a[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x308816={..._0x493723,[_0x5eed13([0x6a,0x74,0x69])]:_0x4b1a7a[_0x5eed13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b1a7a[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x308816[_0x5eed13([0x76,0x63])],_0x2d0677(_0x308816)==_0x23fac6;}}}async function _0x58b943(){let _0x47c4c5=!0x0;try{const _0xf3b520=_0x5c64ef[_0x5eed13([0x73,0x70,0x6c,0x69,0x74])](_0x5eed13([0x2e])),[_0x36591e,_0x573fbb,_0x54434a]=_0xf3b520;return _0x5e439f(_0x36591e),await _0x1e2969(_0x36591e,_0x573fbb,_0x54434a),_0x47c4c5;}catch{return!0x1;}function _0x5e439f(_0x14a6da){const _0x141918=_0x23b451(_0x14a6da);_0x141918&&_0x141918[_0x5eed13([0x61,0x6c,0x67])]==_0x5eed13([0x45,0x53,0x32,0x35,0x36])||(_0x47c4c5=!0x1);}async function _0x1e2969(_0x3a3bc2,_0x55ecf1,_0x2702a3){const _0x72a83=window[_0x5eed13([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5eed13([0x66,0x72,0x6f,0x6d])](_0x131554(_0x2702a3),_0x581baf=>_0x581baf[_0x5eed13([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2aec2a=new window[(_0x5eed13([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5eed13([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a3bc2+_0x5eed13([0x2e])+_0x55ecf1),_0x47d674=window[_0x5eed13([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5eed13([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47d674)return;const _0x38c8c9=await _0x47d674[_0x5eed13([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5eed13([0x6a,0x77,0x6b]),_0x74ef3,{[_0x5eed13([0x6e,0x61,0x6d,0x65])]:_0x5eed13([0x45,0x43,0x44,0x53,0x41]),[_0x5eed13([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5eed13([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5eed13([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47d674[_0x5eed13([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5eed13([0x6e,0x61,0x6d,0x65])]:_0x5eed13([0x45,0x43,0x44,0x53,0x41]),[_0x5eed13([0x68,0x61,0x73,0x68])]:{[_0x5eed13([0x6e,0x61,0x6d,0x65])]:_0x5eed13([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38c8c9,_0x72a83,_0x2aec2a)||(_0x47c4c5=!0x1);}}function _0x23b451(_0x26a6d3){return _0x26a6d3[_0x5eed13([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5eed13([0x65,0x79]))?JSON[_0x5eed13([0x70,0x61,0x72,0x73,0x65])](_0x131554(_0x26a6d3)):null;}function _0x131554(_0x34e846){return window[_0x5eed13([0x61,0x74,0x6f,0x62])](_0x34e846[_0x5eed13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5eed13([0x2b]))[_0x5eed13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5eed13([0x2f])));}function _0x2d0677(_0x17433f){let _0x6e49fa=0x1505;function _0x26cbd9(_0x2daa49){for(let _0x45fa86=0x0;_0x45fa86<_0x2daa49[_0x5eed13([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45fa86++){const _0x37e7ec=_0x2daa49[_0x5eed13([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45fa86);_0x6e49fa=(_0x6e49fa<<0x5)+_0x6e49fa+_0x37e7ec,_0x6e49fa&=_0x6e49fa;}}function _0xc44b06(_0x12b6cc){Array[_0x5eed13([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12b6cc)?_0x12b6cc[_0x5eed13([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc44b06):_0x12b6cc&&typeof _0x12b6cc==_0x5eed13([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5eed13([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12b6cc)[_0x5eed13([0x73,0x6f,0x72,0x74])]()[_0x5eed13([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x598033,_0x332f25])=>{_0x26cbd9(_0x598033),_0xc44b06(_0x332f25);}):_0x26cbd9(window[_0x5eed13([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12b6cc));}return _0xc44b06(_0x17433f),_0x6e49fa>>>0x0;}function _0xa0c9a8(_0x26b8f8){return _0x26b8f8[_0x5eed13([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5eed13([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5eed13([0x30]));}function _0x4134ae(_0x4a2abc){return _0x4a2abc[_0x5eed13([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5eed13([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5eed13([0x6a,0x6f,0x69,0x6e])]('');}function _0x397e71(){}function _0x5eed13(_0x3585e4){const _0x58737e=_0x4d9d;return _0x3585e4[_0x58737e(0x1e7)](_0x954284=>String[_0x58737e(0x1eb)](_0x954284))[_0x58737e(0x1ef)]('');}_0x403506(await _0xf70ae8());}(this);}[_0x1f028a(0x1aa)](){const _0x36394c=_0x1f028a,_0x59ff43=this[_0x36394c(0x1f3)][_0x36394c(0x1bf)][_0x36394c(0x1dd)];_0x59ff43[_0x36394c(0x1a9)](_0x36394c(0x1b3))&&_0x59ff43[_0x36394c(0x1ed)](_0x36394c(0x1b3),{'allowAttributes':[_0x36394c(0x1ba)]}),_0x59ff43[_0x36394c(0x1a9)](_0x36394c(0x1d9))&&_0x59ff43[_0x36394c(0x1ed)](_0x36394c(0x1d9),{'allowAttributes':[_0x36394c(0x1ba)]});}[_0x1f028a(0x1a6)](){const _0x5a7aaf=_0x1f028a,_0x333854=this[_0x5a7aaf(0x1f3)];_0x333854[_0x5a7aaf(0x1b4)][_0x5a7aaf(0x1f0)](_0x5a7aaf(0x1b5))[_0x5a7aaf(0x1da)]({'model':_0x5a7aaf(0x1ba),'view':_0x5a7aaf(0x1cb)}),_0x333854[_0x5a7aaf(0x1b4)][_0x5a7aaf(0x1f0)](_0x5a7aaf(0x1d3))[_0x5a7aaf(0x1e5)]({'model':{'key':_0x5a7aaf(0x1ba),'value':_0x498938=>_0x498938[_0x5a7aaf(0x1f9)](_0x5a7aaf(0x1cb))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4a5063=_0x333854[_0x5a7aaf(0x1e1)][_0x5a7aaf(0x1af)](_0x5a7aaf(0x1bb));_0x4a5063&&this[_0x5a7aaf(0x1d8)](_0x4a5063,_0x5a7aaf(0x1c0),(_0x59e5d3,[_0x19f183,_0x675fbd])=>{const _0x51fa59=_0x5a7aaf;_0x19f183[_0x51fa59(0x1d0)](_0x51fa59(0x1ba),_0x675fbd);});}[_0x1f028a(0x1db)](){const _0x491d5b=_0x1f028a,_0x5e28f7=this[_0x491d5b(0x1f3)][_0x491d5b(0x1bd)][_0x491d5b(0x1af)](_0x491d5b(0x1ea))||{},_0x319726=this[_0x491d5b(0x1f3)][_0x491d5b(0x1bd)][_0x491d5b(0x1af)](_0x491d5b(0x1b8))||'';this[_0x491d5b(0x1b1)]=_0x56781c(_0x34beb5[_0x491d5b(0x1f5)],_0x491d5b(0x1e8),{..._0x5e28f7,'pubkey':_0x319726,'ctx-name':_0x491d5b(0x1cd)+this[_0x491d5b(0x1ee)],'sourceList':'','imgOnly':_0x491d5b(0x1f8),'removeCopyright':_0x491d5b(0x1f8),'localeName':this[_0x491d5b(0x1f3)][_0x491d5b(0x1de)][_0x491d5b(0x1ae)],'externalSourcesEmbedCss':_0x491d5b(0x1d2)}),this[_0x491d5b(0x1b1)][_0x491d5b(0x1cc)]=_0x558866=>{const _0x58808d=_0x491d5b;if(_0x58808d(0x1f2)==_0x558866)return _0x58808d(0x1be);},_0x34beb5[_0x491d5b(0x1f5)][_0x491d5b(0x1e2)][_0x491d5b(0x1f1)](this[_0x491d5b(0x1b1)]);}[_0x1f028a(0x1ab)](){const _0x598538=_0x1f028a;this[_0x598538(0x1b0)]=_0x56781c(_0x34beb5[_0x598538(0x1f5)],_0x598538(0x1c2),{'ctx-name':_0x598538(0x1cd)+this[_0x598538(0x1ee)]}),_0x34beb5[_0x598538(0x1f5)][_0x598538(0x1e2)][_0x598538(0x1f1)](this[_0x598538(0x1b0)]);}[_0x1f028a(0x1ec)](){const _0xa74100=_0x1f028a,_0x242b74=this[_0xa74100(0x1f3)][_0xa74100(0x1e1)][_0xa74100(0x1af)](_0xa74100(0x1c1));_0x242b74&&this[_0xa74100(0x1d8)](_0x242b74,_0xa74100(0x1f7),()=>{const _0x39a049=_0xa74100,_0x2903da=this[_0x39a049(0x1f3)][_0x39a049(0x1bf)][_0x39a049(0x1f5)][_0x39a049(0x1ce)][_0x39a049(0x1ac)]();_0x2903da&&_0x2903da[_0x39a049(0x1f9)](_0x39a049(0x1ba))&&this[_0x39a049(0x1f3)][_0x39a049(0x1e6)][_0x39a049(0x1bc)][_0x39a049(0x1e4)](_0x39a049(0x1c8),()=>{const _0x99576e=_0x39a049;_0x32c432(this[_0x99576e(0x1f3)],_0x2903da);});});const _0xef201c=this[_0xa74100(0x1f3)][_0xa74100(0x1e1)][_0xa74100(0x1af)](_0xa74100(0x1ad));_0xef201c&&this[_0xa74100(0x1d8)](_0xef201c,_0xa74100(0x1f7),()=>{const _0x279346=_0xa74100,_0x12a2ea=this[_0x279346(0x1f3)][_0x279346(0x1bf)][_0x279346(0x1f5)][_0x279346(0x1ce)][_0x279346(0x1ac)]();_0x12a2ea&&_0x12a2ea[_0x279346(0x1f9)](_0x279346(0x1ba))&&this[_0x279346(0x1f3)][_0x279346(0x1e6)][_0x279346(0x1bc)][_0x279346(0x1e4)](_0x279346(0x1c8),()=>{const _0x58c4fe=_0x279346;_0x32c432(this[_0x58c4fe(0x1f3)],_0x12a2ea);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x2db7aa,ObservableMixin as _0x953d05}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x51029a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x12a83a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x10f84b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x54b575}from'../../utils/uploadutils.js';import{getImageUrls as _0x18c494,getImageDimension as _0x3e0179}from'../../utils/editingutils.js';import{isAncestor as _0x4a3576}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x953d05(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x302b54,_0x550d29,_0x4c9df5){super(),this['_editor']=_0x302b54,this['_dialog']=_0x550d29,this['_imageElement']=_0x4c9df5,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 _0x3cb919=this['_imageElement'],_0x3070a4=_0x3cb919['getAttribute']('uploadcareImageId'),_0x517fa8=_0x3cb919['getAttribute']('src');if(_0x3070a4)await this['_loadImageInfo'](_0x3070a4,_0x517fa8);else{if(this['_imageCache']['has'](_0x517fa8)){const _0x52ff0f=this['_imageCache']['get'](_0x517fa8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x52ff0f['url'],this['imageDimension']=_0x52ff0f['dimension'],this['imageId']=_0x52ff0f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x7948c1}=this['_editor'],t=_0x7948c1['t'],_0x37e3ea=new _0x10f84b(_0x7948c1,this['imageStatus'],this['_attributes']);_0x37e3ea['bind']('status')['to'](this,'imageStatus'),_0x37e3ea['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x37e3ea['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x37e3ea['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x37e3ea,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x12a83a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x37e3ea,'position':_0x51029a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x37e3ea['focus']();},'onHide':()=>{_0x37e3ea['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37203b=>!_0x4a3576(_0x37203b,_0x37e3ea['element'])}});}['_loadImageInfo'](_0x4712aa,_0x1304a2){return _0x54b575['getInfo'](_0x4712aa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x489ac8=>{const {width:_0x4c48a9,height:_0x1e1f8a}=_0x489ac8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1304a2,this['imageDimension']={'width':_0x4c48a9,'height':_0x1e1f8a},this['imageId']=_0x4712aa;})['catch'](_0x312ee1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x312ee1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x20dc54,_0x2ce3d1){return this['_getImageAsFile'](_0x20dc54)['then'](_0x30147e=>_0x54b575['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2ce3d1['signal'],'file':_0x30147e,'onProgress':_0x13ffb4=>{_0x13ffb4&&_0x13ffb4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x13ffb4['value']));}}))['then'](_0x48c77b=>{const {width:_0x3da8f1,height:_0x347fc8}=_0x48c77b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x48c77b['cdnUrl'],this['imageDimension']={'width':_0x3da8f1,'height':_0x347fc8},this['imageId']=_0x48c77b['uuid'],this['imageUploadProgress']=null;const _0x36db87=_0x20dc54['getAttribute']('src');this['_imageCache']['set'](_0x36db87,{'id':_0x48c77b['uuid'],'url':_0x48c77b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x145ff1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x145ff1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5215c4,_0x3dbde0){_0x5215c4['on']('apply',(_0x5dec77,_0x2805d4)=>{this['_replaceImage'](_0x3dbde0,_0x2805d4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5215c4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5215c4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x310f1c,_0x5457d4,_0x190f90){const _0x260d4c=this['_editor'],{width:_0x2d6697,height:_0x48f49d}=_0x3e0179(_0x5457d4,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x16eb52,imageSources:_0x6148bc}=_0x18c494(_0x5457d4,_0x2d6697);_0x260d4c['model']['change'](_0x56d4c4=>{if('$graveyard'===_0x310f1c['root']['rootName']){_0x260d4c['execute']('insertImage',{'imageType':_0x310f1c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x310f1c['getAttributes']()),'uploadcareImageId':_0x190f90,'src':_0x16eb52,'sources':_0x6148bc,'width':_0x2d6697,'height':_0x48f49d}});const _0x2e9d52=_0x310f1c['getChildren']();_0x310f1c=_0x260d4c['model']['document']['selection']['getSelectedElement']();for(const _0x4d5b37 of _0x2e9d52)_0x56d4c4['append'](_0x56d4c4['cloneElement'](_0x4d5b37),_0x310f1c);}else _0x56d4c4['setSelection'](_0x310f1c,'on'),_0x260d4c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x310f1c['getAttributes']()),'uploadcareImageId':_0x190f90,'src':_0x16eb52,'sources':_0x6148bc,'width':_0x2d6697,'height':_0x48f49d},_0x310f1c);_0x56d4c4['setSelection'](_0x310f1c,'on');});}async['_getImageAsFile'](_0x24e122){const _0x3b274f=_0x2db7aa['window'],_0x8bd38d=_0x2db7aa['document']['location']['href'],_0x2588f9=new _0x3b274f['URL'](_0x24e122['getAttribute']('src'),_0x8bd38d);if('data:'===_0x2588f9['protocol']){const _0x113017=_0x2588f9['href']['split'](','),_0x2b77b8=_0x113017[0x0]['match'](/:(.*?);/)[0x1],_0x19d0e0=_0x2b77b8['split']('/')[0x1],_0x5f21d1=_0x3b274f['atob'](_0x113017[_0x113017['length']-0x1]);let _0x5f3e55=_0x5f21d1['length'];const _0x2653bb=new _0x3b274f['Uint8Array'](_0x5f3e55);for(;_0x5f3e55--;)_0x2653bb[_0x5f3e55]=_0x5f21d1['charCodeAt'](_0x5f3e55);return new _0x3b274f['File']([_0x2653bb],'image.'+_0x19d0e0,{'type':_0x2b77b8});}const _0x27eebf=_0x2588f9['href']['split']('/'),_0x120c46=_0x27eebf[_0x27eebf['length']-0x1],_0x508663=_0x120c46['split']('.')[0x1];return _0x3b274f['fetch'](_0x2588f9['href'])['then'](_0x5e210c=>_0x5e210c['clone']()['blob']())['then'](_0x1f1851=>new _0x3b274f['File']([_0x1f1851],_0x120c46,{'type':'image/'+_0x508663}));}}
23
+ import{global as _0x5d646f,ObservableMixin as _0x6569f2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3aa971}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x36a4ee}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3808b8}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x58f977}from'../../utils/uploadutils.js';import{getImageUrls as _0x47e29c,getImageDimension as _0x322a04}from'../../utils/editingutils.js';import{isAncestor as _0x293a6e}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x6569f2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x130341,_0x21f7e8,_0x3c1fcb){super(),this['_editor']=_0x130341,this['_dialog']=_0x21f7e8,this['_imageElement']=_0x3c1fcb,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 _0x358fd0=this['_imageElement'],_0x316c10=_0x358fd0['getAttribute']('uploadcareImageId'),_0x3c4758=_0x358fd0['getAttribute']('src');if(_0x316c10)await this['_loadImageInfo'](_0x316c10,_0x3c4758);else{if(this['_imageCache']['has'](_0x3c4758)){const _0xd4f36e=this['_imageCache']['get'](_0x3c4758);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd4f36e['url'],this['imageDimension']=_0xd4f36e['dimension'],this['imageId']=_0xd4f36e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3ef6fd}=this['_editor'],t=_0x3ef6fd['t'],_0x12404e=new _0x3808b8(_0x3ef6fd,this['imageStatus'],this['_attributes']);_0x12404e['bind']('status')['to'](this,'imageStatus'),_0x12404e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x12404e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x12404e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x12404e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x36a4ee,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x12404e,'position':_0x3aa971['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x12404e['focus']();},'onHide':()=>{_0x12404e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x343573=>!_0x293a6e(_0x343573,_0x12404e['element'])}});}['_loadImageInfo'](_0x11d736,_0x25e79f){return _0x58f977['getInfo'](_0x11d736,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x51aae9=>{const {width:_0x5b16be,height:_0x530642}=_0x51aae9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25e79f,this['imageDimension']={'width':_0x5b16be,'height':_0x530642},this['imageId']=_0x11d736;})['catch'](_0x141869=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x141869['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5e0824,_0xc9c588){return this['_getImageAsFile'](_0x5e0824)['then'](_0x1e6b36=>_0x58f977['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xc9c588['signal'],'file':_0x1e6b36,'onProgress':_0x1b1a4c=>{_0x1b1a4c&&_0x1b1a4c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1b1a4c['value']));}}))['then'](_0x33c1fd=>{const {width:_0x3a086b,height:_0x5d41be}=_0x33c1fd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x33c1fd['cdnUrl'],this['imageDimension']={'width':_0x3a086b,'height':_0x5d41be},this['imageId']=_0x33c1fd['uuid'],this['imageUploadProgress']=null;const _0x15e5c5=_0x5e0824['getAttribute']('src');this['_imageCache']['set'](_0x15e5c5,{'id':_0x33c1fd['uuid'],'url':_0x33c1fd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1f1a75=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f1a75['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xcd4d12,_0x4d376e){_0xcd4d12['on']('apply',(_0x2880cc,_0x2807c0)=>{this['_replaceImage'](_0x4d376e,_0x2807c0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xcd4d12['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xcd4d12['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x472284,_0x472f2d,_0x503ef3){const _0x57fb26=this['_editor'],{width:_0x2f6cf9,height:_0x4857f4}=_0x322a04(_0x472f2d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3ac094,imageSources:_0x5ed66c}=_0x47e29c(_0x472f2d,_0x2f6cf9);_0x57fb26['model']['change'](_0x4869f2=>{if('$graveyard'===_0x472284['root']['rootName']){_0x57fb26['execute']('insertImage',{'imageType':_0x472284['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x472284['getAttributes']()),'uploadcareImageId':_0x503ef3,'src':_0x3ac094,'sources':_0x5ed66c,'width':_0x2f6cf9,'height':_0x4857f4}});const _0x2fb620=_0x472284['getChildren']();_0x472284=_0x57fb26['model']['document']['selection']['getSelectedElement']();for(const _0x4a745f of _0x2fb620)_0x4869f2['append'](_0x4869f2['cloneElement'](_0x4a745f),_0x472284);}else _0x4869f2['setSelection'](_0x472284,'on'),_0x57fb26['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x472284['getAttributes']()),'uploadcareImageId':_0x503ef3,'src':_0x3ac094,'sources':_0x5ed66c,'width':_0x2f6cf9,'height':_0x4857f4},_0x472284);_0x4869f2['setSelection'](_0x472284,'on');});}async['_getImageAsFile'](_0x43d27b){const _0x39cf28=_0x5d646f['window'],_0xb44696=_0x5d646f['document']['location']['href'],_0x25f10b=new _0x39cf28['URL'](_0x43d27b['getAttribute']('src'),_0xb44696);if('data:'===_0x25f10b['protocol']){const _0x41932b=_0x25f10b['href']['split'](','),_0x1c4959=_0x41932b[0x0]['match'](/:(.*?);/)[0x1],_0x3ef9d0=_0x1c4959['split']('/')[0x1],_0x34aad8=_0x39cf28['atob'](_0x41932b[_0x41932b['length']-0x1]);let _0xd9b7fc=_0x34aad8['length'];const _0x48105c=new _0x39cf28['Uint8Array'](_0xd9b7fc);for(;_0xd9b7fc--;)_0x48105c[_0xd9b7fc]=_0x34aad8['charCodeAt'](_0xd9b7fc);return new _0x39cf28['File']([_0x48105c],'image.'+_0x3ef9d0,{'type':_0x1c4959});}const _0x43b3c5=_0x25f10b['href']['split']('/'),_0x13bfe7=_0x43b3c5[_0x43b3c5['length']-0x1],_0x4e0c29=_0x13bfe7['split']('.')[0x1];return _0x39cf28['fetch'](_0x25f10b['href'])['then'](_0x5ba6a1=>_0x5ba6a1['clone']()['blob']())['then'](_0x2de3f9=>new _0x39cf28['File']([_0x2de3f9],_0x13bfe7,{'type':'image/'+_0x4e0c29}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb628(){const _0x227235=['setTemplate','image-edit','uc-cloud-image-editor','imageSrc','180QxGbmC','4502228LSPqGU','5BTgvIP','set','114LsYjWy','31560SqCdeo','uc-light','19664zUHCZb','11777820BBuIzB','1002148qyZpbZ','bindTemplate','ck-uploadcare-theme','4642239NXigSf','1906170TatxBh'];_0xb628=function(){return _0x227235;};return _0xb628();}(function(_0x5239a9,_0x3b6e6c){const _0x40709b=_0x5cc4,_0x263021=_0x5239a9();while(!![]){try{const _0x259a52=-parseInt(_0x40709b(0xd9))/0x1+-parseInt(_0x40709b(0xd5))/0x2*(-parseInt(_0x40709b(0xd4))/0x3)+parseInt(_0x40709b(0xd1))/0x4*(-parseInt(_0x40709b(0xd2))/0x5)+parseInt(_0x40709b(0xdd))/0x6+parseInt(_0x40709b(0xdc))/0x7+-parseInt(_0x40709b(0xd7))/0x8*(-parseInt(_0x40709b(0xd0))/0x9)+parseInt(_0x40709b(0xd8))/0xa;if(_0x259a52===_0x3b6e6c)break;else _0x263021['push'](_0x263021['shift']());}catch(_0x427614){_0x263021['push'](_0x263021['shift']());}}}(_0xb628,0xa5f45));import{View as _0x4d3100}from'ckeditor5/src/ui.js';function _0x5cc4(_0xc5f70d,_0x1487b1){const _0xb628f0=_0xb628();return _0x5cc4=function(_0x5cc490,_0xa80aae){_0x5cc490=_0x5cc490-0xcd;let _0x1da570=_0xb628f0[_0x5cc490];return _0x1da570;},_0x5cc4(_0xc5f70d,_0x1487b1);}export class UploadcareImageEditFormEditingView extends _0x4d3100{constructor(_0x19df94,_0x4f6ddb){const _0x42e529=_0x5cc4;super(_0x19df94);const _0x293676=this[_0x42e529(0xda)];this[_0x42e529(0xd3)](_0x42e529(0xcf),''),this[_0x42e529(0xde)]({'tag':_0x42e529(0xce),'attributes':{..._0x4f6ddb,'class':[_0x42e529(0xd6),_0x42e529(0xdb)],'ctx-name':_0x42e529(0xcd),'cdn-url':_0x293676['to'](_0x42e529(0xcf))}});}}
23
+ function _0x8b08(){const _0x369395=['4ZgiAvK','120AGseBw','9719072jtEDQo','uc-light','image-edit','1vmbGZv','686049tdTPIJ','bindTemplate','1439105uuqxpS','ck-uploadcare-theme','10TGcLjn','set','uc-cloud-image-editor','2110612kZIhaY','7821304YMIGFl','250579deRhHY','imageSrc','setTemplate','10080738eogUkV'];_0x8b08=function(){return _0x369395;};return _0x8b08();}(function(_0x3c530e,_0x351410){const _0x47b5e8=_0x116a,_0x13509d=_0x3c530e();while(!![]){try{const _0x304260=-parseInt(_0x47b5e8(0x1b7))/0x1*(-parseInt(_0x47b5e8(0x1bf))/0x2)+-parseInt(_0x47b5e8(0x1b8))/0x3+parseInt(_0x47b5e8(0x1b2))/0x4*(-parseInt(_0x47b5e8(0x1ba))/0x5)+parseInt(_0x47b5e8(0x1b3))/0x6*(-parseInt(_0x47b5e8(0x1c1))/0x7)+parseInt(_0x47b5e8(0x1c0))/0x8+-parseInt(_0x47b5e8(0x1b1))/0x9*(parseInt(_0x47b5e8(0x1bc))/0xa)+parseInt(_0x47b5e8(0x1b4))/0xb;if(_0x304260===_0x351410)break;else _0x13509d['push'](_0x13509d['shift']());}catch(_0x4a5d36){_0x13509d['push'](_0x13509d['shift']());}}}(_0x8b08,0x89b1b));function _0x116a(_0x25538f,_0x4aa331){const _0x8b080=_0x8b08();return _0x116a=function(_0x116a54,_0x548e19){_0x116a54=_0x116a54-0x1b1;let _0x35fdc5=_0x8b080[_0x116a54];return _0x35fdc5;},_0x116a(_0x25538f,_0x4aa331);}import{View as _0x4a3288}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4a3288{constructor(_0x5118b9,_0x52f21){const _0x4d7faf=_0x116a;super(_0x5118b9);const _0x12a7ba=this[_0x4d7faf(0x1b9)];this[_0x4d7faf(0x1bd)](_0x4d7faf(0x1c2),''),this[_0x4d7faf(0x1c3)]({'tag':_0x4d7faf(0x1be),'attributes':{..._0x52f21,'class':[_0x4d7faf(0x1b5),_0x4d7faf(0x1bb)],'ctx-name':_0x4d7faf(0x1b6),'cdn-url':_0x12a7ba['to'](_0x4d7faf(0x1c2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x879b95}from'ckeditor5/src/icons.js';import{ButtonView as _0x338c48,IconView as _0x1b809f,View as _0x12933a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x12933a{constructor(_0x2d3c4b){super(_0x2d3c4b);const t=_0x2d3c4b['t'];this['set']('errorType',null);const _0x3794c2=new _0x338c48(_0x2d3c4b);_0x3794c2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3794c2['withText']=!0x0,_0x3794c2['class']='ck-button-action',_0x3794c2['on']('execute',()=>{this['fire']('retry');}),_0x3794c2['bind']('isVisible')['to'](this,'errorType',_0x1cdbc0=>'NotFound'!==_0x1cdbc0);const _0x413ddb=new _0x1b809f();_0x413ddb['content']=_0x879b95,_0x413ddb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x57c575=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':[_0x413ddb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x57c575['to']('errorType',_0x409b6b=>t('NotFound'!==_0x409b6b?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3794c2]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x31177e}from'ckeditor5/src/icons.js';import{ButtonView as _0x18df0a,IconView as _0x1d7b68,View as _0x5141b5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5141b5{constructor(_0x2dcb41){super(_0x2dcb41);const t=_0x2dcb41['t'];this['set']('errorType',null);const _0x5e5c55=new _0x18df0a(_0x2dcb41);_0x5e5c55['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5e5c55['withText']=!0x0,_0x5e5c55['class']='ck-button-action',_0x5e5c55['on']('execute',()=>{this['fire']('retry');}),_0x5e5c55['bind']('isVisible')['to'](this,'errorType',_0x557430=>'NotFound'!==_0x557430);const _0x32983b=new _0x1d7b68();_0x32983b['content']=_0x31177e,_0x32983b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2949e3=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':[_0x32983b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2949e3['to']('errorType',_0x55efc6=>t('NotFound'!==_0x55efc6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5e5c55]},{'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 _0x563111,View as _0x4c1a73}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4c1a73{constructor(_0x47f49c){super(_0x47f49c);const t=_0x47f49c['t'],_0x196759=this['bindTemplate'],_0x419bcb=new _0x563111();_0x419bcb['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':[_0x419bcb,{'text':_0x196759['to']('imageUploadProgress',_0x2c1533=>t('Loading\x20image...')+'\x20('+(_0x2c1533||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 _0x41f4f5,View as _0x204db9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x204db9{constructor(_0x2fe7b8){super(_0x2fe7b8);const t=_0x2fe7b8['t'],_0x243102=this['bindTemplate'],_0x461b8f=new _0x41f4f5();_0x461b8f['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':[_0x461b8f,{'text':_0x243102['to']('imageUploadProgress',_0x368bd4=>t('Loading\x20image...')+'\x20('+(_0x368bd4||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dd186=_0x41ce;(function(_0x64fd47,_0xafc879){const _0x4e3bd2=_0x41ce,_0x14c466=_0x64fd47();while(!![]){try{const _0x10ba76=parseInt(_0x4e3bd2(0x16b))/0x1*(parseInt(_0x4e3bd2(0x17e))/0x2)+-parseInt(_0x4e3bd2(0x163))/0x3+-parseInt(_0x4e3bd2(0x172))/0x4*(parseInt(_0x4e3bd2(0x17c))/0x5)+parseInt(_0x4e3bd2(0x178))/0x6*(parseInt(_0x4e3bd2(0x173))/0x7)+-parseInt(_0x4e3bd2(0x175))/0x8*(parseInt(_0x4e3bd2(0x187))/0x9)+-parseInt(_0x4e3bd2(0x17b))/0xa*(parseInt(_0x4e3bd2(0x165))/0xb)+parseInt(_0x4e3bd2(0x15f))/0xc;if(_0x10ba76===_0xafc879)break;else _0x14c466['push'](_0x14c466['shift']());}catch(_0x2f15b5){_0x14c466['push'](_0x14c466['shift']());}}}(_0xdd8d,0xcb2a8));import{View as _0x3ac5a1}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x20081b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x114104}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x66a4a}from'./uploadcareimageeditformeditingview.js';function _0xdd8d(){const _0x19614b=['747bNxjFB','_addErrorViewListeners','set','target','addedNodes','status','_loadingView','_setView','cdnUrl','_items','apply','fire','retry','disconnect','_editingView','render','ck-uploadcare-form','26531136irbOgm','addEventListener','add','element','3935466okBicG','change:status','11sFMSnp','_addUploadcareImageEditorListeners','addMany','createCollection','uc-cloud-image-editor','_waitForImageEditorComponent','50AyTxKw','uploading','focus','_focusableView','setTemplate','clear','filter','398876dxthax','259MEjkEW','detail','42936cIfVuT','cancel','once','104406Jbphib','querySelector','nodeName','4439170jPKPvX','65TXVYIE','ready','58998bTkuJG','toLowerCase','getFocusableElement','length','error','observe','div','_errorView','ck-reset_all-excluded'];_0xdd8d=function(){return _0x19614b;};return _0xdd8d();}function _0x41ce(_0x2cbd54,_0x3ea738){const _0xdd8dbc=_0xdd8d();return _0x41ce=function(_0x41ce6c,_0x11c25f){_0x41ce6c=_0x41ce6c-0x14f;let _0x491152=_0xdd8dbc[_0x41ce6c];return _0x491152;},_0x41ce(_0x2cbd54,_0x3ea738);}import{DialogFocusManagerView as _0x210e07}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x210e07{[_0x1dd186(0x157)];[_0x1dd186(0x154)];[_0x1dd186(0x185)];[_0x1dd186(0x15c)];[_0x1dd186(0x16e)];constructor(_0x152567,_0x4ce9a6,_0x52eb9d){const _0x210cde=_0x1dd186;super(_0x152567),this[_0x210cde(0x157)]=this[_0x210cde(0x168)](),this[_0x210cde(0x154)]=new _0x20081b(_0x152567),this[_0x210cde(0x185)]=new _0x114104(_0x152567),this[_0x210cde(0x15c)]=new _0x66a4a(_0x152567,_0x52eb9d),this[_0x210cde(0x16e)]=new _0x3ac5a1(_0x152567),this[_0x210cde(0x16e)][_0x210cde(0x16f)](this[_0x210cde(0x180)]()),this[_0x210cde(0x150)](_0x210cde(0x153),_0x4ce9a6),this[_0x210cde(0x16f)]({'tag':_0x210cde(0x184),'attributes':{'class':['ck',_0x210cde(0x186),_0x210cde(0x15e)],'tabindex':'-1'},'children':this[_0x210cde(0x157)]}),this[_0x210cde(0x155)](),this[_0x210cde(0x177)](_0x210cde(0x15d),()=>{const _0x18b0c8=_0x210cde;this[_0x18b0c8(0x16a)](this[_0x18b0c8(0x162)],_0x1a1ceb=>{const _0x2f2a05=_0x18b0c8;this[_0x2f2a05(0x166)](_0x1a1ceb);});}),this['on'](_0x210cde(0x164),()=>{const _0x436999=_0x210cde;this[_0x436999(0x155)]();}),this[_0x210cde(0x14f)]();}[_0x1dd186(0x16d)](){const _0xa42a19=_0x1dd186;this[_0xa42a19(0x162)][_0xa42a19(0x16d)]();}[_0x1dd186(0x155)](){const _0x2e3f79=_0x1dd186;switch(this[_0x2e3f79(0x157)][_0x2e3f79(0x170)](),this[_0x2e3f79(0x153)]){case _0x2e3f79(0x16c):this[_0x2e3f79(0x157)][_0x2e3f79(0x161)](this[_0x2e3f79(0x154)]);break;case _0x2e3f79(0x182):this[_0x2e3f79(0x157)][_0x2e3f79(0x161)](this[_0x2e3f79(0x185)]);break;case _0x2e3f79(0x17d):this[_0x2e3f79(0x157)][_0x2e3f79(0x167)]([this[_0x2e3f79(0x15c)],this[_0x2e3f79(0x16e)]]);}}[_0x1dd186(0x16a)](_0x176396,_0x391b48){const _0x384aea=_0x1dd186,_0x44819b=_0x384aea(0x169),_0x383297=_0x176396[_0x384aea(0x179)](_0x44819b);if(_0x383297)return _0x391b48(_0x383297);const _0x178e68=new MutationObserver(_0x54b1fb=>{const _0x2c608b=_0x384aea,_0x3ad75b=_0x54b1fb[_0x2c608b(0x171)](_0x4d6891=>_0x4d6891[_0x2c608b(0x151)]===_0x176396&&_0x4d6891[_0x2c608b(0x152)][_0x2c608b(0x181)]>0x0&&_0x4d6891[_0x2c608b(0x152)][0x0][_0x2c608b(0x17a)][_0x2c608b(0x17f)]()===_0x44819b);_0x3ad75b[_0x2c608b(0x181)]&&(_0x178e68[_0x2c608b(0x15b)](),_0x391b48(_0x3ad75b[0x0][_0x2c608b(0x152)][0x0]));});_0x178e68[_0x384aea(0x183)](_0x176396,{'childList':!0x0,'subtree':!0x0});}[_0x1dd186(0x166)](_0x5eee7c){const _0x40bf0a=_0x1dd186;_0x5eee7c[_0x40bf0a(0x160)](_0x40bf0a(0x158),_0x63f9ec=>{const _0x41f650=_0x40bf0a;this[_0x41f650(0x159)](_0x41f650(0x158),{'imageSrc':_0x63f9ec[_0x41f650(0x174)][_0x41f650(0x156)]});}),_0x5eee7c[_0x40bf0a(0x160)](_0x40bf0a(0x176),()=>{const _0x3585e9=_0x40bf0a;this[_0x3585e9(0x159)](_0x3585e9(0x176));});}[_0x1dd186(0x14f)](){const _0x27350d=_0x1dd186;this[_0x27350d(0x185)]['on'](_0x27350d(0x15a),()=>{const _0x3201c7=_0x27350d;this[_0x3201c7(0x159)](_0x3201c7(0x15a));});}}
23
+ const _0x11a787=_0x14ad;function _0x14ad(_0x258530,_0x43272d){const _0x274384=_0x2743();return _0x14ad=function(_0x14ad25,_0x423fc1){_0x14ad25=_0x14ad25-0x96;let _0x1e0f8c=_0x274384[_0x14ad25];return _0x1e0f8c;},_0x14ad(_0x258530,_0x43272d);}(function(_0x3b5a28,_0x19ccf6){const _0x10b128=_0x14ad,_0xac7adf=_0x3b5a28();while(!![]){try{const _0x566322=parseInt(_0x10b128(0xa0))/0x1+parseInt(_0x10b128(0x9d))/0x2+-parseInt(_0x10b128(0xbe))/0x3*(-parseInt(_0x10b128(0xaf))/0x4)+-parseInt(_0x10b128(0xc7))/0x5*(-parseInt(_0x10b128(0xb2))/0x6)+-parseInt(_0x10b128(0xa2))/0x7+-parseInt(_0x10b128(0xa1))/0x8+-parseInt(_0x10b128(0x98))/0x9*(parseInt(_0x10b128(0xbb))/0xa);if(_0x566322===_0x19ccf6)break;else _0xac7adf['push'](_0xac7adf['shift']());}catch(_0xb063b7){_0xac7adf['push'](_0xac7adf['shift']());}}}(_0x2743,0xceea9));import{View as _0x209385}from'ckeditor5/src/ui.js';function _0x2743(){const _0x1fc056=['3298700jznrhl','apply','set','6FcTaxE','_errorView','error','add','_setView','ck-uploadcare-form','uc-cloud-image-editor','querySelector','addedNodes','273710dfccUr','detail','target','3EsyySi','_loadingView','nodeName','once','uploading','getFocusableElement','ck-reset_all-excluded','setTemplate','focus','1189295wMyDcO','render','div','cdnUrl','toLowerCase','createCollection','change:status','_waitForImageEditorComponent','720cePbcO','fire','ready','cancel','_items','3090228ZFrKLq','element','retry','1330866yaZsES','6675472ieSDCl','468097tJeVkp','_addErrorViewListeners','addMany','clear','_editingView','_focusableView','filter','_addUploadcareImageEditorListeners','observe','status','length','disconnect','addEventListener'];_0x2743=function(){return _0x1fc056;};return _0x2743();}import{UploadcareImageEditFormLoadingView as _0x33a047}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5c314e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x28d459}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4626a4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4626a4{[_0x11a787(0x9c)];[_0x11a787(0xbf)];[_0x11a787(0xb3)];[_0x11a787(0xa6)];[_0x11a787(0xa7)];constructor(_0x1b8b56,_0x1f3b94,_0x2b7d0){const _0x545ce2=_0x11a787;super(_0x1b8b56),this[_0x545ce2(0x9c)]=this[_0x545ce2(0xcc)](),this[_0x545ce2(0xbf)]=new _0x33a047(_0x1b8b56),this[_0x545ce2(0xb3)]=new _0x5c314e(_0x1b8b56),this[_0x545ce2(0xa6)]=new _0x28d459(_0x1b8b56,_0x2b7d0),this[_0x545ce2(0xa7)]=new _0x209385(_0x1b8b56),this[_0x545ce2(0xa7)][_0x545ce2(0xc5)](this[_0x545ce2(0xc3)]()),this[_0x545ce2(0xb1)](_0x545ce2(0xab),_0x1f3b94),this[_0x545ce2(0xc5)]({'tag':_0x545ce2(0xc9),'attributes':{'class':['ck',_0x545ce2(0xc4),_0x545ce2(0xb7)],'tabindex':'-1'},'children':this[_0x545ce2(0x9c)]}),this[_0x545ce2(0xb6)](),this[_0x545ce2(0xc1)](_0x545ce2(0xc8),()=>{const _0x4fc32a=_0x545ce2;this[_0x4fc32a(0x97)](this[_0x4fc32a(0x9e)],_0x4ef0b4=>{const _0x39338f=_0x4fc32a;this[_0x39338f(0xa9)](_0x4ef0b4);});}),this['on'](_0x545ce2(0x96),()=>{const _0x500200=_0x545ce2;this[_0x500200(0xb6)]();}),this[_0x545ce2(0xa3)]();}[_0x11a787(0xc6)](){const _0x46b1e1=_0x11a787;this[_0x46b1e1(0x9e)][_0x46b1e1(0xc6)]();}[_0x11a787(0xb6)](){const _0x21b3b6=_0x11a787;switch(this[_0x21b3b6(0x9c)][_0x21b3b6(0xa5)](),this[_0x21b3b6(0xab)]){case _0x21b3b6(0xc2):this[_0x21b3b6(0x9c)][_0x21b3b6(0xb5)](this[_0x21b3b6(0xbf)]);break;case _0x21b3b6(0xb4):this[_0x21b3b6(0x9c)][_0x21b3b6(0xb5)](this[_0x21b3b6(0xb3)]);break;case _0x21b3b6(0x9a):this[_0x21b3b6(0x9c)][_0x21b3b6(0xa4)]([this[_0x21b3b6(0xa6)],this[_0x21b3b6(0xa7)]]);}}[_0x11a787(0x97)](_0x5d2e00,_0x989606){const _0x2c6bea=_0x11a787,_0x30c260=_0x2c6bea(0xb8),_0x32ecc7=_0x5d2e00[_0x2c6bea(0xb9)](_0x30c260);if(_0x32ecc7)return _0x989606(_0x32ecc7);const _0x14dbdc=new MutationObserver(_0x573579=>{const _0x3558f1=_0x2c6bea,_0x1dafdc=_0x573579[_0x3558f1(0xa8)](_0x166b12=>_0x166b12[_0x3558f1(0xbd)]===_0x5d2e00&&_0x166b12[_0x3558f1(0xba)][_0x3558f1(0xac)]>0x0&&_0x166b12[_0x3558f1(0xba)][0x0][_0x3558f1(0xc0)][_0x3558f1(0xcb)]()===_0x30c260);_0x1dafdc[_0x3558f1(0xac)]&&(_0x14dbdc[_0x3558f1(0xad)](),_0x989606(_0x1dafdc[0x0][_0x3558f1(0xba)][0x0]));});_0x14dbdc[_0x2c6bea(0xaa)](_0x5d2e00,{'childList':!0x0,'subtree':!0x0});}[_0x11a787(0xa9)](_0x2ab67b){const _0xba475b=_0x11a787;_0x2ab67b[_0xba475b(0xae)](_0xba475b(0xb0),_0x23d90d=>{const _0x1a7ee3=_0xba475b;this[_0x1a7ee3(0x99)](_0x1a7ee3(0xb0),{'imageSrc':_0x23d90d[_0x1a7ee3(0xbc)][_0x1a7ee3(0xca)]});}),_0x2ab67b[_0xba475b(0xae)](_0xba475b(0x9b),()=>{const _0x3cc197=_0xba475b;this[_0x3cc197(0x99)](_0x3cc197(0x9b));});}[_0x11a787(0xa3)](){const _0x108086=_0x11a787;this[_0x108086(0xb3)]['on'](_0x108086(0x9f),()=>{const _0x113cb4=_0x108086;this[_0x113cb4(0x99)](_0x113cb4(0x9f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d61c0=_0x4e52;function _0x14eb(){const _0x59e211=['46701dtxXFg','isActive','refresh','441885UDiQlP','124202CGeRTj','getSelectedElement','config','4530798pjxJZg','bind','get','set','model','2088zgvAah','_isEditable','2325124myqLFy','selection','imageEditController','imageBlock','document','editor','3swRjsu','uploadcare.allowExternalImagesEditing','imageInline','2334990QaZBhG','isEnabled','2280760OtCxXq','requires','unbind','element','plugins','execute'];_0x14eb=function(){return _0x59e211;};return _0x14eb();}(function(_0x595e3e,_0x4f9a80){const _0x3e40d1=_0x4e52,_0x5bc399=_0x595e3e();while(!![]){try{const _0x204c44=-parseInt(_0x3e40d1(0xbc))/0x1+parseInt(_0x3e40d1(0xbd))/0x2+-parseInt(_0x3e40d1(0xcd))/0x3*(-parseInt(_0x3e40d1(0xc7))/0x4)+parseInt(_0x3e40d1(0xd2))/0x5+parseInt(_0x3e40d1(0xc0))/0x6+parseInt(_0x3e40d1(0xd0))/0x7+-parseInt(_0x3e40d1(0xc5))/0x8*(parseInt(_0x3e40d1(0xb9))/0x9);if(_0x204c44===_0x4f9a80)break;else _0x5bc399['push'](_0x5bc399['shift']());}catch(_0x4110c2){_0x5bc399['push'](_0x5bc399['shift']());}}}(_0x14eb,0x5fb57));import{Command as _0x3299b1}from'ckeditor5/src/core.js';import{Dialog as _0x88497f}from'ckeditor5/src/ui.js';function _0x4e52(_0x2c9a9d,_0x3fa88b){const _0x14eb15=_0x14eb();return _0x4e52=function(_0x4e52aa,_0x14717e){_0x4e52aa=_0x4e52aa-0xb9;let _0x471a7b=_0x14eb15[_0x4e52aa];return _0x471a7b;},_0x4e52(_0x2c9a9d,_0x3fa88b);}import{UploadcareImageEditController as _0x1ab6b6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x15913b}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3299b1{[_0x1d61c0(0xc9)];static get[_0x1d61c0(0xd3)](){return[_0x88497f];}[_0x1d61c0(0xc6)];constructor(_0x2ac57d){const _0x24d547=_0x1d61c0;super(_0x2ac57d),this[_0x24d547(0xc9)]=void 0x0,this[_0x24d547(0xc6)]=_0x15913b(_0x2ac57d[_0x24d547(0xbf)][_0x24d547(0xc2)](_0x24d547(0xce))||[]),this[_0x24d547(0xc3)]({'isActive':!0x1});}[_0x1d61c0(0xbb)](){const _0x5826e0=_0x1d61c0,_0x40f466=this[_0x5826e0(0xcc)][_0x5826e0(0xc4)][_0x5826e0(0xcb)][_0x5826e0(0xc8)][_0x5826e0(0xbe)]();this[_0x5826e0(0xd1)]=this[_0x5826e0(0xc6)](_0x40f466);}[_0x1d61c0(0xd7)](){const _0x29a161=_0x1d61c0;this[_0x29a161(0xc9)]&&(this[_0x29a161(0xd4)](_0x29a161(0xba)),this[_0x29a161(0xc9)]=void 0x0);const _0x259b5e=this[_0x29a161(0xcc)][_0x29a161(0xc4)][_0x29a161(0xcb)][_0x29a161(0xc8)][_0x29a161(0xbe)]();_0x259b5e&&(_0x259b5e['is'](_0x29a161(0xd5),_0x29a161(0xca))||_0x259b5e['is'](_0x29a161(0xd5),_0x29a161(0xcf)))&&(this[_0x29a161(0xc9)]=new _0x1ab6b6(this[_0x29a161(0xcc)],this[_0x29a161(0xcc)][_0x29a161(0xd6)][_0x29a161(0xc2)](_0x88497f),_0x259b5e),this[_0x29a161(0xc1)](_0x29a161(0xba))['to'](this[_0x29a161(0xc9)],_0x29a161(0xba)));}}
23
+ const _0x582bdb=_0x5b88;(function(_0x8d6a45,_0x385a06){const _0x247c84=_0x5b88,_0x4e51a6=_0x8d6a45();while(!![]){try{const _0x4f3f8b=-parseInt(_0x247c84(0xc0))/0x1*(parseInt(_0x247c84(0xc7))/0x2)+-parseInt(_0x247c84(0xc3))/0x3*(-parseInt(_0x247c84(0xde))/0x4)+parseInt(_0x247c84(0xca))/0x5+parseInt(_0x247c84(0xc4))/0x6*(parseInt(_0x247c84(0xc1))/0x7)+-parseInt(_0x247c84(0xd3))/0x8+parseInt(_0x247c84(0xcf))/0x9+-parseInt(_0x247c84(0xc9))/0xa;if(_0x4f3f8b===_0x385a06)break;else _0x4e51a6['push'](_0x4e51a6['shift']());}catch(_0x30695f){_0x4e51a6['push'](_0x4e51a6['shift']());}}}(_0x20f6,0x396dc));import{Command as _0x706b32}from'ckeditor5/src/core.js';import{Dialog as _0x11beb7}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x883b2d}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x35e30f}from'../utils/editingutils.js';function _0x20f6(){const _0x47b551=['config','2506648BGFFuA','model','bind','selection','document','uploadcare.allowExternalImagesEditing','plugins','getSelectedElement','imageEditController','isActive','refresh','806356ofsdCE','_isEditable','137WBWjqg','2233vErrPg','editor','6qGtBeD','7470xQRbkc','set','get','1740OztvAD','isEnabled','5345070IPKcJv','1160295wzPkRy','execute','element','imageBlock','unbind','1528776pdagZx','requires','imageInline'];_0x20f6=function(){return _0x47b551;};return _0x20f6();}function _0x5b88(_0x3474d8,_0x405597){const _0x20f6fd=_0x20f6();return _0x5b88=function(_0x5b8890,_0x53d326){_0x5b8890=_0x5b8890-0xc0;let _0x489d55=_0x20f6fd[_0x5b8890];return _0x489d55;},_0x5b88(_0x3474d8,_0x405597);}export class UploadcareImageEditCommand extends _0x706b32{[_0x582bdb(0xdb)];static get[_0x582bdb(0xd0)](){return[_0x11beb7];}[_0x582bdb(0xdf)];constructor(_0x2c9d9b){const _0x4a41ae=_0x582bdb;super(_0x2c9d9b),this[_0x4a41ae(0xdb)]=void 0x0,this[_0x4a41ae(0xdf)]=_0x35e30f(_0x2c9d9b[_0x4a41ae(0xd2)][_0x4a41ae(0xc6)](_0x4a41ae(0xd8))||[]),this[_0x4a41ae(0xc5)]({'isActive':!0x1});}[_0x582bdb(0xdd)](){const _0x61e8e=_0x582bdb,_0x312dc5=this[_0x61e8e(0xc2)][_0x61e8e(0xd4)][_0x61e8e(0xd7)][_0x61e8e(0xd6)][_0x61e8e(0xda)]();this[_0x61e8e(0xc8)]=this[_0x61e8e(0xdf)](_0x312dc5);}[_0x582bdb(0xcb)](){const _0x6ca032=_0x582bdb;this[_0x6ca032(0xdb)]&&(this[_0x6ca032(0xce)](_0x6ca032(0xdc)),this[_0x6ca032(0xdb)]=void 0x0);const _0x1f463c=this[_0x6ca032(0xc2)][_0x6ca032(0xd4)][_0x6ca032(0xd7)][_0x6ca032(0xd6)][_0x6ca032(0xda)]();_0x1f463c&&(_0x1f463c['is'](_0x6ca032(0xcc),_0x6ca032(0xcd))||_0x1f463c['is'](_0x6ca032(0xcc),_0x6ca032(0xd1)))&&(this[_0x6ca032(0xdb)]=new _0x883b2d(this[_0x6ca032(0xc2)],this[_0x6ca032(0xc2)][_0x6ca032(0xd9)][_0x6ca032(0xc6)](_0x11beb7),_0x1f463c),this[_0x6ca032(0xd5)](_0x6ca032(0xdc))['to'](this[_0x6ca032(0xdb)],_0x6ca032(0xdc)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9c19fd=_0x2daa;(function(_0x235f19,_0x54f4f0){const _0x78863e=_0x2daa,_0x4b9d89=_0x235f19();while(!![]){try{const _0x4f3cd9=parseInt(_0x78863e(0x18c))/0x1*(-parseInt(_0x78863e(0x197))/0x2)+-parseInt(_0x78863e(0x192))/0x3*(parseInt(_0x78863e(0x193))/0x4)+-parseInt(_0x78863e(0x18a))/0x5+parseInt(_0x78863e(0x19b))/0x6*(parseInt(_0x78863e(0x18d))/0x7)+parseInt(_0x78863e(0x194))/0x8+-parseInt(_0x78863e(0x196))/0x9+parseInt(_0x78863e(0x18b))/0xa;if(_0x4f3cd9===_0x54f4f0)break;else _0x4b9d89['push'](_0x4b9d89['shift']());}catch(_0x1717be){_0x4b9d89['push'](_0x4b9d89['shift']());}}}(_0x5993,0xb691f));function _0x2daa(_0x1d5277,_0x20330e){const _0x599353=_0x5993();return _0x2daa=function(_0x2daa4c,_0x1cb864){_0x2daa4c=_0x2daa4c-0x189;let _0x55e351=_0x599353[_0x2daa4c];return _0x55e351;},_0x2daa(_0x1d5277,_0x20330e);}import{Plugin as _0x4c0bc7}from'ckeditor5/src/core.js';import{Notification as _0x1fe357}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4ec248}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xf73d98}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x164bb1}from'../uploadcareediting.js';function _0x5993(){const _0x2df9fc=['3203CwNnvn','784119nyAECH','ImageUtils','commands','uploadcareImageReplace','ImageEditing','88947iHjHEQ','68JadYqj','2322976pRvnXT','init','5647725ayMPhK','216RvczOx','uploadcareImageEdit','pluginName','isPremiumPlugin','6iyhHAS','add','requires','isOfficialPlugin','UploadcareImageEditEditing','2835540UJKBQD','23900080FgLFET'];_0x5993=function(){return _0x2df9fc;};return _0x5993();}export class UploadcareImageEditEditing extends _0x4c0bc7{static get[_0x9c19fd(0x199)](){const _0x1d68be=_0x9c19fd;return _0x1d68be(0x189);}static get[_0x9c19fd(0x19d)](){const _0x2bca2d=_0x9c19fd;return[_0x164bb1,_0x1fe357,_0x2bca2d(0x18e),_0x2bca2d(0x191)];}static get[_0x9c19fd(0x19e)](){return!0x0;}static get[_0x9c19fd(0x19a)](){return!0x0;}[_0x9c19fd(0x195)](){const _0x5f31d7=_0x9c19fd,{editor:_0x3e807e}=this;_0x3e807e[_0x5f31d7(0x18f)][_0x5f31d7(0x19c)](_0x5f31d7(0x198),new _0x4ec248(_0x3e807e)),_0x3e807e[_0x5f31d7(0x18f)][_0x5f31d7(0x19c)](_0x5f31d7(0x190),new _0xf73d98(_0x3e807e));}}
23
+ const _0x4b8964=_0x1de7;(function(_0x4d10fb,_0x3dab1d){const _0x2f1f04=_0x1de7,_0x31f457=_0x4d10fb();while(!![]){try{const _0x387a99=parseInt(_0x2f1f04(0xcb))/0x1*(-parseInt(_0x2f1f04(0xc1))/0x2)+parseInt(_0x2f1f04(0xca))/0x3+parseInt(_0x2f1f04(0xc8))/0x4+parseInt(_0x2f1f04(0xc5))/0x5+parseInt(_0x2f1f04(0xc3))/0x6*(-parseInt(_0x2f1f04(0xd1))/0x7)+parseInt(_0x2f1f04(0xc4))/0x8+parseInt(_0x2f1f04(0xcc))/0x9;if(_0x387a99===_0x3dab1d)break;else _0x31f457['push'](_0x31f457['shift']());}catch(_0x2a4d2b){_0x31f457['push'](_0x31f457['shift']());}}}(_0x4a4c,0x45dec));import{Plugin as _0x5461a0}from'ckeditor5/src/core.js';function _0x4a4c(){const _0x539ed1=['2063022QNVIbu','184592YEAdCY','387910Ssafcm','isPremiumPlugin','commands','1917568zNTSSB','init','630141BjKPBc','2VtbrKa','3171654YdDbEg','add','uploadcareImageReplace','UploadcareImageEditEditing','requires','7jyEVQy','uploadcareImageEdit','isOfficialPlugin','ImageUtils','pluginName','512476IdGtoX','ImageEditing'];_0x4a4c=function(){return _0x539ed1;};return _0x4a4c();}import{Notification as _0x5528f2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1941fb}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1132cf}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x1e476d}from'../uploadcareediting.js';function _0x1de7(_0x115840,_0x26a150){const _0x4a4c22=_0x4a4c();return _0x1de7=function(_0x1de77c,_0x44dbe2){_0x1de77c=_0x1de77c-0xbf;let _0x3ada33=_0x4a4c22[_0x1de77c];return _0x3ada33;},_0x1de7(_0x115840,_0x26a150);}export class UploadcareImageEditEditing extends _0x5461a0{static get[_0x4b8964(0xc0)](){const _0x2ac4a3=_0x4b8964;return _0x2ac4a3(0xcf);}static get[_0x4b8964(0xd0)](){const _0x3ed76b=_0x4b8964;return[_0x1e476d,_0x5528f2,_0x3ed76b(0xbf),_0x3ed76b(0xc2)];}static get[_0x4b8964(0xd3)](){return!0x0;}static get[_0x4b8964(0xc6)](){return!0x0;}[_0x4b8964(0xc9)](){const _0xac7cd9=_0x4b8964,{editor:_0x5a0f0a}=this;_0x5a0f0a[_0xac7cd9(0xc7)][_0xac7cd9(0xcd)](_0xac7cd9(0xd2),new _0x1941fb(_0x5a0f0a)),_0x5a0f0a[_0xac7cd9(0xc7)][_0xac7cd9(0xcd)](_0xac7cd9(0xce),new _0x1132cf(_0x5a0f0a));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x22cad8}from'ckeditor5/src/core.js';import{ButtonView as _0x4d1e11}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3c89e6}from'ckeditor5/src/icons.js';import{createElement as _0xa42de8}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x22cad8{['_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 _0x5ee574=this['editor'];_0x5ee574['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4df2e0=>{const _0x348671=_0x5ee574['commands']['get']('uploadcareImageEdit'),_0x160a3e=new _0x4d1e11(_0x4df2e0),t=_0x4df2e0['t'];return _0x160a3e['set']({'icon':_0x3c89e6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x160a3e['bind']('isEnabled')['to'](_0x348671),_0x160a3e['bind']('isOn')['to'](_0x348671,'isActive'),this['listenTo'](_0x160a3e,'execute',()=>{_0x5ee574['execute']('uploadcareImageEdit'),_0x5ee574['editing']['view']['focus']();}),_0x160a3e;}),this['_initConfig']();}['_initConfig'](){const _0x2e5c61=_0xa42de8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x2e5c61),this['listenTo'](this['editor'],'destroy',()=>{_0x2e5c61['remove']();});}}
23
+ import{Plugin as _0xc8f148}from'ckeditor5/src/core.js';import{ButtonView as _0x14680b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x476554}from'ckeditor5/src/icons.js';import{createElement as _0x591725}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0xc8f148{['_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 _0x2f259a=this['editor'];_0x2f259a['ui']['componentFactory']['add']('uploadcareImageEdit',_0xd2cfe4=>{const _0x395b85=_0x2f259a['commands']['get']('uploadcareImageEdit'),_0x1d8561=new _0x14680b(_0xd2cfe4),t=_0xd2cfe4['t'];return _0x1d8561['set']({'icon':_0x476554,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1d8561['bind']('isEnabled')['to'](_0x395b85),_0x1d8561['bind']('isOn')['to'](_0x395b85,'isActive'),this['listenTo'](_0x1d8561,'execute',()=>{_0x2f259a['execute']('uploadcareImageEdit'),_0x2f259a['editing']['view']['focus']();}),_0x1d8561;}),this['_initConfig']();}['_initConfig'](){const _0x530833=_0x591725(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x530833),this['listenTo'](this['editor'],'destroy',()=>{_0x530833['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dac09=_0x3aff;function _0x3aff(_0x457964,_0x4d3159){const _0xa8829b=_0xa882();return _0x3aff=function(_0x3aff69,_0xd54d91){_0x3aff69=_0x3aff69-0x184;let _0x4083a1=_0xa8829b[_0x3aff69];return _0x4083a1;},_0x3aff(_0x457964,_0x4d3159);}(function(_0x2b417f,_0x2f7748){const _0x5c94ec=_0x3aff,_0x5a48fb=_0x2b417f();while(!![]){try{const _0x2ad0ac=parseInt(_0x5c94ec(0x18c))/0x1*(parseInt(_0x5c94ec(0x19b))/0x2)+parseInt(_0x5c94ec(0x19d))/0x3*(parseInt(_0x5c94ec(0x18d))/0x4)+parseInt(_0x5c94ec(0x198))/0x5+parseInt(_0x5c94ec(0x189))/0x6+-parseInt(_0x5c94ec(0x19e))/0x7*(parseInt(_0x5c94ec(0x18f))/0x8)+-parseInt(_0x5c94ec(0x194))/0x9*(parseInt(_0x5c94ec(0x187))/0xa)+-parseInt(_0x5c94ec(0x19c))/0xb*(parseInt(_0x5c94ec(0x19f))/0xc);if(_0x2ad0ac===_0x2f7748)break;else _0x5a48fb['push'](_0x5a48fb['shift']());}catch(_0x47f60a){_0x5a48fb['push'](_0x5a48fb['shift']());}}}(_0xa882,0x5c702));import{Command as _0xd995c0}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xd995c0{[_0x5dac09(0x190)](){const _0x2a05b7=_0x5dac09,_0x240f2c=this[_0x2a05b7(0x18e)][_0x2a05b7(0x192)][_0x2a05b7(0x18b)][_0x2a05b7(0x191)][_0x2a05b7(0x193)]();this[_0x2a05b7(0x185)]=Boolean(_0x240f2c&&(_0x240f2c['is'](_0x2a05b7(0x188),_0x2a05b7(0x184))||_0x240f2c['is'](_0x2a05b7(0x188),_0x2a05b7(0x199))));}[_0x5dac09(0x19a)](_0x833dc){const _0x252c33=_0x5dac09,_0x5991d7=this[_0x252c33(0x18e)][_0x252c33(0x192)][_0x252c33(0x18b)][_0x252c33(0x191)][_0x252c33(0x193)]();this[_0x252c33(0x18e)][_0x252c33(0x192)][_0x252c33(0x18a)](_0x17b3dd=>{const _0xcd7543=_0x252c33;_0x17b3dd[_0xcd7543(0x197)](_0x833dc,_0x5991d7),_0x17b3dd[_0xcd7543(0x195)](_0xcd7543(0x186),_0x5991d7),_0x17b3dd[_0xcd7543(0x195)](_0xcd7543(0x196),_0x5991d7);});}}function _0xa882(){const _0x41528f=['setAttributes','1504825KGNIyK','imageInline','execute','4SsUmHX','11NekrIt','39237imCiIK','49945nBduwy','439656eLfDkb','imageBlock','isEnabled','srcset','738970xEJClU','element','2064930EFJPsv','change','document','28461FwPGOB','44ETdUeP','editor','400GjhzZN','refresh','selection','model','getSelectedElement','9ydyaKs','removeAttribute','sizes'];_0xa882=function(){return _0x41528f;};return _0xa882();}
23
+ const _0x42bafe=_0x23da;(function(_0x4f2f6e,_0x37c26c){const _0x21405d=_0x23da,_0x3f08b7=_0x4f2f6e();while(!![]){try{const _0x29ef25=-parseInt(_0x21405d(0xf4))/0x1*(parseInt(_0x21405d(0xf3))/0x2)+-parseInt(_0x21405d(0xf0))/0x3+-parseInt(_0x21405d(0xf7))/0x4*(parseInt(_0x21405d(0xef))/0x5)+parseInt(_0x21405d(0xf2))/0x6*(parseInt(_0x21405d(0x102))/0x7)+parseInt(_0x21405d(0x104))/0x8+-parseInt(_0x21405d(0xf6))/0x9+parseInt(_0x21405d(0xee))/0xa;if(_0x29ef25===_0x37c26c)break;else _0x3f08b7['push'](_0x3f08b7['shift']());}catch(_0x4a59b6){_0x3f08b7['push'](_0x3f08b7['shift']());}}}(_0x6494,0xd28d4));function _0x6494(){const _0x54b13b=['imageInline','model','sizes','7QRLHEW','imageBlock','10365880LnsEyj','element','removeAttribute','setAttributes','36840180tKBOJZ','5urgbzs','4170963BEGcBy','execute','4998462EvQDNk','548866QrkkSv','5jvbeSh','document','11785437fKOqnH','3513724sWfHsV','getSelectedElement','editor','isEnabled','refresh','change','selection','srcset'];_0x6494=function(){return _0x54b13b;};return _0x6494();}import{Command as _0x37ca36}from'ckeditor5/src/core.js';function _0x23da(_0x325765,_0x2239f1){const _0x649425=_0x6494();return _0x23da=function(_0x23dab8,_0x27fb01){_0x23dab8=_0x23dab8-0xec;let _0x597586=_0x649425[_0x23dab8];return _0x597586;},_0x23da(_0x325765,_0x2239f1);}export class UploadcareImageReplaceCommand extends _0x37ca36{[_0x42bafe(0xfb)](){const _0x1709c8=_0x42bafe,_0x1f455c=this[_0x1709c8(0xf9)][_0x1709c8(0x100)][_0x1709c8(0xf5)][_0x1709c8(0xfd)][_0x1709c8(0xf8)]();this[_0x1709c8(0xfa)]=Boolean(_0x1f455c&&(_0x1f455c['is'](_0x1709c8(0x105),_0x1709c8(0x103))||_0x1f455c['is'](_0x1709c8(0x105),_0x1709c8(0xff))));}[_0x42bafe(0xf1)](_0x3187a6){const _0x4ea616=_0x42bafe,_0x5aadf7=this[_0x4ea616(0xf9)][_0x4ea616(0x100)][_0x4ea616(0xf5)][_0x4ea616(0xfd)][_0x4ea616(0xf8)]();this[_0x4ea616(0xf9)][_0x4ea616(0x100)][_0x4ea616(0xfc)](_0x5f3259=>{const _0x5e723a=_0x4ea616;_0x5f3259[_0x5e723a(0xed)](_0x3187a6,_0x5aadf7),_0x5f3259[_0x5e723a(0xec)](_0x5e723a(0xfe),_0x5aadf7),_0x5f3259[_0x5e723a(0xec)](_0x5e723a(0x101),_0x5aadf7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2657e5=_0x2226;function _0x2ca6(){var _0xc14637=['4135965GKQZsl','8044862QFzHjA','964SMfuNI','158523ZpfKRU','isOfficialPlugin','1926qmgywh','60OLErUK','pluginName','isPremiumPlugin','36832640HnPHSX','6874152zLnEgH','requires','UploadcareImageEdit','317kEktsp','20088HMRIcL'];_0x2ca6=function(){return _0xc14637;};return _0x2ca6();}(function(_0x4e0fe6,_0x42ebdc){var _0x5edaed=_0x2226,_0x56dbb0=_0x4e0fe6();while(!![]){try{var _0x213e8d=-parseInt(_0x5edaed(0x1f0))/0x1*(parseInt(_0x5edaed(0x1e5))/0x2)+parseInt(_0x5edaed(0x1e6))/0x3*(parseInt(_0x5edaed(0x1e9))/0x4)+parseInt(_0x5edaed(0x1f2))/0x5+parseInt(_0x5edaed(0x1ed))/0x6+parseInt(_0x5edaed(0x1e4))/0x7+-parseInt(_0x5edaed(0x1f1))/0x8*(-parseInt(_0x5edaed(0x1e8))/0x9)+-parseInt(_0x5edaed(0x1ec))/0xa;if(_0x213e8d===_0x42ebdc)break;else _0x56dbb0['push'](_0x56dbb0['shift']());}catch(_0x1172e4){_0x56dbb0['push'](_0x56dbb0['shift']());}}}(_0x2ca6,0x9667e));import{Plugin as _0x375575}from'ckeditor5/src/core.js';function _0x2226(_0x91640d,_0x54ac62){var _0x2ca67c=_0x2ca6();return _0x2226=function(_0x2226fe,_0x2fa867){_0x2226fe=_0x2226fe-0x1e4;var _0x4e3397=_0x2ca67c[_0x2226fe];return _0x4e3397;},_0x2226(_0x91640d,_0x54ac62);}import{UploadcareImageEditEditing as _0x21a2b1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1ec895}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x375575{static get[_0x2657e5(0x1ea)](){var _0x25a5b0=_0x2657e5;return _0x25a5b0(0x1ef);}static get[_0x2657e5(0x1ee)](){return[_0x21a2b1,_0x1ec895];}static get[_0x2657e5(0x1e7)](){return!0x0;}static get[_0x2657e5(0x1eb)](){return!0x0;}}
23
+ var _0x4e4a7b=_0x23d9;(function(_0x172528,_0x5b0d1d){var _0x194aa3=_0x23d9,_0x26ed3b=_0x172528();while(!![]){try{var _0x3619c7=parseInt(_0x194aa3(0xcb))/0x1+-parseInt(_0x194aa3(0xcd))/0x2+-parseInt(_0x194aa3(0xc2))/0x3*(-parseInt(_0x194aa3(0xca))/0x4)+-parseInt(_0x194aa3(0xc1))/0x5*(-parseInt(_0x194aa3(0xce))/0x6)+-parseInt(_0x194aa3(0xc5))/0x7*(parseInt(_0x194aa3(0xcf))/0x8)+parseInt(_0x194aa3(0xc9))/0x9+parseInt(_0x194aa3(0xc4))/0xa*(-parseInt(_0x194aa3(0xc7))/0xb);if(_0x3619c7===_0x5b0d1d)break;else _0x26ed3b['push'](_0x26ed3b['shift']());}catch(_0x3eef1f){_0x26ed3b['push'](_0x26ed3b['shift']());}}}(_0x54d1,0x56445));import{Plugin as _0x57f645}from'ckeditor5/src/core.js';function _0x23d9(_0x5d4725,_0x32c0f3){var _0x54d1f7=_0x54d1();return _0x23d9=function(_0x23d900,_0x1169d8){_0x23d900=_0x23d900-0xc1;var _0x5dfa6b=_0x54d1f7[_0x23d900];return _0x5dfa6b;},_0x23d9(_0x5d4725,_0x32c0f3);}function _0x54d1(){var _0x552049=['requires','20gxwEKz','2394bPdkiO','isPremiumPlugin','3506943VSIeoe','UploadcareImageEdit','1537776KjFSPw','1959580DPIYpR','665196HQXAKN','isOfficialPlugin','1051796HzbIcM','948dGwpOW','4456PDXHNT','pluginName','12070xuyZQA','3ptACqe'];_0x54d1=function(){return _0x552049;};return _0x54d1();}import{UploadcareImageEditEditing as _0x284380}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1c2d95}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x57f645{static get[_0x4e4a7b(0xd0)](){var _0x18d838=_0x4e4a7b;return _0x18d838(0xc8);}static get[_0x4e4a7b(0xc3)](){return[_0x284380,_0x1c2d95];}static get[_0x4e4a7b(0xcc)](){return!0x0;}static get[_0x4e4a7b(0xc6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c6129=_0x5e8e;function _0x5e8e(_0x13f3c6,_0x9b9dad){const _0x2b1421=_0x2b14();return _0x5e8e=function(_0x5e8e36,_0x9f060b){_0x5e8e36=_0x5e8e36-0xea;let _0x4e99b9=_0x2b1421[_0x5e8e36];return _0x4e99b9;},_0x5e8e(_0x13f3c6,_0x9b9dad);}(function(_0x2854e3,_0x3767f1){const _0x2def6a=_0x5e8e,_0x382388=_0x2854e3();while(!![]){try{const _0x4af16e=parseInt(_0x2def6a(0x139))/0x1+-parseInt(_0x2def6a(0xf0))/0x2*(parseInt(_0x2def6a(0xec))/0x3)+parseInt(_0x2def6a(0x11f))/0x4*(parseInt(_0x2def6a(0xf1))/0x5)+-parseInt(_0x2def6a(0xf6))/0x6*(-parseInt(_0x2def6a(0x126))/0x7)+parseInt(_0x2def6a(0x125))/0x8+-parseInt(_0x2def6a(0x12f))/0x9+-parseInt(_0x2def6a(0xff))/0xa;if(_0x4af16e===_0x3767f1)break;else _0x382388['push'](_0x382388['shift']());}catch(_0x1dadd1){_0x382388['push'](_0x382388['shift']());}}}(_0x2b14,0x7ad35));import{Plugin as _0x370b72}from'ckeditor5/src/core.js';import{IconDropbox as _0x4ade33,IconFacebook as _0x20d9c4,IconGoogleDrive as _0x2cbf6e,IconGooglePhotos as _0x2f1564,IconUploadcareImageUpload as _0x2fc000,IconUploadcareLink as _0x167e13,IconOneDrive as _0x410774}from'ckeditor5/src/icons.js';import{ButtonView as _0x28123a,MenuBarMenuListItemButtonView as _0x20cb7a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x2755f9}from'./uploadcareconfig.js';import{getTranslation as _0x2d4798}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2b14(){const _0x5eef12=['icon','UploadcareUI','plugins','destroy','commands','5731970IMEcJS','push','config','GDrive','uploadcareLicenseKeyTrialLimit','_createMenuBarButtons','entries','_normalizeConfigSourceList','type','isImageSelected','registerIntegration','uploadcareLicenseKeyInvalid','isOfficialPlugin','assetManager','uploadcare.uploader.sourceList','_showLicenseError','upload','shortText','url','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyEvaluationLimit','expired','URL','uploadcareLicenseKeyUsageLimit','Dropbox','OneDrive','usageLimit','_createButton','withText','execute','uploadcareLicenseKeyExpired','afterInit','148648WGmDTh','text','Facebook','isEnabled','Uploadcare','locale','679616CuJKrX','7HFYUPx','get','evaluationLimit','label','reduce','domainLimit','_getIntegrationKey','uploadcareLicenseKeyValid','featureNotAllowed','1305657rHBmgP','forEach','_licenseKeyCheckInterval','has','invalid','pluginName','editor','uploadcareLicenseKeyDomainLimit','licenseKey','ImageInsertUI','169774icttLs','isPremiumPlugin','bind','_createDropdownButtons','253173wXrBlv','Local','_createToolbarButton','uploadcare','4GYXeUz','65DDHyNF','Replace','map','Insert','trialLimit','3913878EQAsNa','init','tooltip','GPhotos'];_0x2b14=function(){return _0x5eef12;};return _0x2b14();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x370b72{[_0x4c6129(0x137)];[_0x4c6129(0x131)];static get[_0x4c6129(0x134)](){const _0x1ddd58=_0x4c6129;return _0x1ddd58(0xfb);}static get[_0x4c6129(0x10b)](){return!0x0;}static get[_0x4c6129(0x13a)](){return!0x0;}[_0x4c6129(0xf7)](){const _0x4ec1b4=_0x4c6129;this[_0x4ec1b4(0x137)]=this[_0x4ec1b4(0x135)][_0x4ec1b4(0x101)][_0x4ec1b4(0x127)](_0x4ec1b4(0x137));const _0x53aef9=this[_0x4ec1b4(0x135)];this[_0x4ec1b4(0x131)]=setInterval(()=>{const _0x3138cb=_0x4ec1b4;let _0x436652;for(const _0x508f2a in _0x53aef9){const _0x1eb706=_0x508f2a,_0x199df3=_0x53aef9[_0x1eb706];if(_0x3138cb(0x12d)==_0x199df3||_0x3138cb(0x10a)==_0x199df3||_0x3138cb(0x11d)==_0x199df3||_0x3138cb(0x136)==_0x199df3||_0x3138cb(0x112)==_0x199df3||_0x3138cb(0x113)==_0x199df3||_0x3138cb(0x103)==_0x199df3||_0x3138cb(0x116)==_0x199df3){delete _0x53aef9[_0x1eb706],_0x436652=_0x199df3,clearInterval(this[_0x3138cb(0x131)]),this[_0x3138cb(0x131)]=void 0x0;break;}}_0x3138cb(0x10a)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0x133)),_0x3138cb(0x11d)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0x114)),_0x3138cb(0x136)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0x12b)),_0x3138cb(0x112)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0x12e),_0x3138cb(0x123)),_0x3138cb(0x113)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0x128)),_0x3138cb(0x103)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0xf5)),_0x3138cb(0x116)==_0x436652&&_0x53aef9[_0x3138cb(0x10e)](_0x3138cb(0x119));},0x3e8);}[_0x4c6129(0x11e)](){const _0xfe5ce8=_0x4c6129,{editor:_0x50a369}=this,_0x27e986=_0x50a369[_0xfe5ce8(0xfe)][_0xfe5ce8(0x127)](_0xfe5ce8(0xef));if(!_0x27e986)return;const _0x12d43f=this[_0xfe5ce8(0x106)](_0x50a369[_0xfe5ce8(0x101)][_0xfe5ce8(0x127)](_0xfe5ce8(0x10d)))[_0xfe5ce8(0x12a)]((_0x37212b,_0x1e1faa)=>{const _0x278942=_0xfe5ce8,_0x23336a=this[_0x278942(0x12c)](_0x1e1faa[_0x278942(0x107)]);return _0x37212b[_0x23336a]||(_0x37212b[_0x23336a]=[]),_0x37212b[_0x23336a][_0x278942(0x100)](_0x1e1faa),_0x37212b;},{});_0x50a369[_0xfe5ce8(0xfc)][_0xfe5ce8(0x132)](_0xfe5ce8(0x138))&&_0x50a369[_0xfe5ce8(0xfe)][_0xfe5ce8(0x127)](_0xfe5ce8(0xef))&&Object[_0xfe5ce8(0x105)](_0x12d43f)[_0xfe5ce8(0x130)](([_0x290274,_0x3e8d5d])=>{const _0x2af56b=_0xfe5ce8;_0x50a369[_0x2af56b(0xfc)][_0x2af56b(0x127)](_0x2af56b(0x138))[_0x2af56b(0x109)]({'name':_0x290274,'observable':()=>_0x27e986,'buttonViewCreator':()=>this[_0x2af56b(0xee)](_0x3e8d5d),'formViewCreator':()=>this[_0x2af56b(0xeb)](_0x3e8d5d),'menuBarButtonViewCreator':()=>this[_0x2af56b(0x104)](_0x3e8d5d),'override':_0x2af56b(0x10c)!==_0x290274});});}[_0x4c6129(0xfd)](){const _0x2ff572=_0x4c6129;super[_0x2ff572(0xfd)](),this[_0x2ff572(0x131)]&&clearInterval(this[_0x2ff572(0x131)]);}[_0x4c6129(0x106)](_0x2bdbc9){const _0x335572=_0x4c6129,{locale:_0x2ef726}=this[_0x335572(0x135)];return _0x2bdbc9[_0x335572(0xf3)](_0x4746c4=>{const _0x390565=_0x335572,_0x53a60a=_0x2d4798(_0x2ef726,_0x4746c4,_0x390565(0xf4));switch(_0x4746c4){case _0x2755f9[_0x390565(0xed)]:return{'icon':_0x2fc000,'type':_0x2755f9[_0x390565(0xed)],..._0x53a60a};case _0x2755f9[_0x390565(0x115)]:return{'icon':_0x167e13,'type':_0x2755f9[_0x390565(0x115)],..._0x53a60a};case _0x2755f9[_0x390565(0x117)]:return{'icon':_0x4ade33,'type':_0x2755f9[_0x390565(0x117)],..._0x53a60a};case _0x2755f9[_0x390565(0x121)]:return{'icon':_0x20d9c4,'type':_0x2755f9[_0x390565(0x121)],..._0x53a60a};case _0x2755f9[_0x390565(0x102)]:return{'icon':_0x2cbf6e,'type':_0x2755f9[_0x390565(0x102)],..._0x53a60a};case _0x2755f9[_0x390565(0xf9)]:return{'icon':_0x2f1564,'type':_0x2755f9[_0x390565(0xf9)],..._0x53a60a};case _0x2755f9[_0x390565(0x118)]:return{'icon':_0x410774,'type':_0x2755f9[_0x390565(0x118)],..._0x53a60a};}});}[_0x4c6129(0x12c)](_0x17a2d1){const _0x28cd58=_0x4c6129;switch(_0x17a2d1){case _0x2755f9[_0x28cd58(0xed)]:return _0x28cd58(0x10f);case _0x2755f9[_0x28cd58(0x115)]:return _0x28cd58(0x111);default:return _0x28cd58(0x10c);}}[_0x4c6129(0x11a)](_0x15b993,_0x16982b){const _0x5e5545=_0x4c6129,_0x2e29c0=this[_0x5e5545(0x135)],_0x40c770=new _0x15b993(_0x2e29c0[_0x5e5545(0x124)]),_0x79920e=_0x2e29c0[_0x5e5545(0xfe)][_0x5e5545(0x127)](_0x5e5545(0xef));return _0x40c770[_0x5e5545(0xea)](_0x5e5545(0x122))['to'](_0x79920e),_0x40c770['on'](_0x5e5545(0x11c),()=>{const _0x2be322=_0x5e5545;_0x79920e[_0x2be322(0x11c)](_0x16982b);}),_0x40c770;}[_0x4c6129(0xee)](_0x284831){const _0xa9688e=_0x4c6129,{locale:_0x169156}=this[_0xa9688e(0x135)],_0x5898f5=this[_0xa9688e(0x135)][_0xa9688e(0xfc)][_0xa9688e(0x127)](_0xa9688e(0x138)),_0x5e9c1a=_0x284831[0x0],_0x372e40=this[_0xa9688e(0x11a)](_0x28123a,_0x5e9c1a[_0xa9688e(0x107)]);return _0x372e40[_0xa9688e(0xfa)]=_0x5e9c1a[_0xa9688e(0xfa)],_0x372e40[_0xa9688e(0xea)](_0xa9688e(0x129))['to'](_0x5898f5,_0xa9688e(0x108),_0x3e6162=>_0x2d4798(_0x169156,_0x5e9c1a[_0xa9688e(0x107)],_0x3e6162?_0xa9688e(0xf2):_0xa9688e(0xf4))[_0xa9688e(0x120)]),_0x372e40[_0xa9688e(0xf8)]=!0x0,_0x372e40;}[_0x4c6129(0xeb)](_0xb5da99){const _0x249165=_0x4c6129,{locale:_0x406346}=this[_0x249165(0x135)],_0x51aef8=this[_0x249165(0x135)][_0x249165(0xfc)][_0x249165(0x127)](_0x249165(0x138));return _0xb5da99[_0x249165(0xf3)](_0xd57a60=>{const _0x4c1c5e=_0x249165,_0x22f2a2=this[_0x4c1c5e(0x11a)](_0x28123a,_0xd57a60[_0x4c1c5e(0x107)]);return _0x22f2a2[_0x4c1c5e(0x11b)]=!0x0,_0x22f2a2[_0x4c1c5e(0xfa)]=_0xd57a60[_0x4c1c5e(0xfa)],_0x22f2a2[_0x4c1c5e(0xea)](_0x4c1c5e(0x129))['to'](_0x51aef8,_0x4c1c5e(0x108),_0x26edbf=>_0x2d4798(_0x406346,_0xd57a60[_0x4c1c5e(0x107)],_0x26edbf?_0x4c1c5e(0xf2):_0x4c1c5e(0xf4))[_0x4c1c5e(0x120)]),_0x22f2a2;});}[_0x4c6129(0x104)](_0x2e2b87){const _0x3f91f7=_0x4c6129;return _0x2e2b87[_0x3f91f7(0xf3)](_0x45a93d=>{const _0x805fd0=_0x3f91f7,_0x5863f8=this[_0x805fd0(0x11a)](_0x20cb7a,_0x45a93d[_0x805fd0(0x107)]);return _0x5863f8[_0x805fd0(0xfa)]=_0x45a93d[_0x805fd0(0xfa)],_0x5863f8[_0x805fd0(0x129)]=_0x45a93d[_0x805fd0(0x110)],_0x5863f8;});}}
23
+ const _0x4ef381=_0x3781;(function(_0x1ef1f1,_0x2cf536){const _0x20a3de=_0x3781,_0x54fc83=_0x1ef1f1();while(!![]){try{const _0x3183e6=-parseInt(_0x20a3de(0xe9))/0x1*(-parseInt(_0x20a3de(0xed))/0x2)+parseInt(_0x20a3de(0xba))/0x3*(-parseInt(_0x20a3de(0xbb))/0x4)+-parseInt(_0x20a3de(0xf3))/0x5+-parseInt(_0x20a3de(0xbf))/0x6*(-parseInt(_0x20a3de(0xb3))/0x7)+-parseInt(_0x20a3de(0xd5))/0x8+parseInt(_0x20a3de(0xc5))/0x9*(parseInt(_0x20a3de(0xfa))/0xa)+-parseInt(_0x20a3de(0xe8))/0xb*(parseInt(_0x20a3de(0xb0))/0xc);if(_0x3183e6===_0x2cf536)break;else _0x54fc83['push'](_0x54fc83['shift']());}catch(_0x5700ce){_0x54fc83['push'](_0x54fc83['shift']());}}}(_0x1226,0xb88b9));import{Plugin as _0x52df6a}from'ckeditor5/src/core.js';import{IconDropbox as _0x158b27,IconFacebook as _0x5ae6e2,IconGoogleDrive as _0x430546,IconGooglePhotos as _0x5ae472,IconUploadcareImageUpload as _0x28fae4,IconUploadcareLink as _0x54cbaa,IconOneDrive as _0x58006a}from'ckeditor5/src/icons.js';import{ButtonView as _0x4ec6e6,MenuBarMenuListItemButtonView as _0x18770f}from'ckeditor5/src/ui.js';function _0x1226(){const _0x46ed05=['tooltip','afterInit','Insert','upload','licenseKey','icon','Uploadcare','evaluationLimit','reduce','3623160xUzJra','OneDrive','_licenseKeyCheckInterval','has','editor','_createToolbarButton','label','uploadcareLicenseKeyDomainLimit','invalid','UploadcareUI','assetManager','isEnabled','execute','push','config','commands','_createMenuBarButtons','domainLimit','isImageSelected','181544gKAqiG','968236AYmmXe','usageLimit','destroy','forEach','2YdpjWY','GPhotos','Facebook','withText','_getIntegrationKey','uploadcareLicenseKeyExpired','847785xRSyOn','uploadcareLicenseKeyNotAllowed','_showLicenseError','uploadcareLicenseKeyTrialLimit','Dropbox','locale','url','10kCfiNl','_createDropdownButtons','uploadcareLicenseKeyUsageLimit','URL','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','trialLimit','ImageInsertUI','map','1392qSOpJc','uploadcare','Local','14diruVS','featureNotAllowed','init','uploadcare.uploader.sourceList','bind','plugins','GDrive','4911cPJObq','84gfcWMQ','type','uploadcareLicenseKeyValid','pluginName','3201798dtSayC','_createButton','_normalizeConfigSourceList','entries','isPremiumPlugin','get','11625192CxGPcC','Replace','isOfficialPlugin','shortText','registerIntegration','expired','text'];_0x1226=function(){return _0x46ed05;};return _0x1226();}import{UploadcareSource as _0x25fc19}from'./uploadcareconfig.js';import{getTranslation as _0x15e0af}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x3781(_0x26763c,_0x5e2dd7){const _0x12260c=_0x1226();return _0x3781=function(_0x3781ec,_0x169ef0){_0x3781ec=_0x3781ec-0xae;let _0x582805=_0x12260c[_0x3781ec];return _0x582805;},_0x3781(_0x26763c,_0x5e2dd7);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x52df6a{[_0x4ef381(0xd0)];[_0x4ef381(0xd7)];static get[_0x4ef381(0xbe)](){const _0x210006=_0x4ef381;return _0x210006(0xde);}static get[_0x4ef381(0xc7)](){return!0x0;}static get[_0x4ef381(0xc3)](){return!0x0;}[_0x4ef381(0xb5)](){const _0x3f1238=_0x4ef381;this[_0x3f1238(0xd0)]=this[_0x3f1238(0xd9)][_0x3f1238(0xe3)][_0x3f1238(0xc4)](_0x3f1238(0xd0));const _0x3b0b16=this[_0x3f1238(0xd9)];this[_0x3f1238(0xd7)]=setInterval(()=>{const _0x15c426=_0x3f1238;let _0x5728a6;for(const _0x5cb366 in _0x3b0b16){const _0x33016e=_0x5cb366,_0x439b04=_0x3b0b16[_0x33016e];if(_0x15c426(0xbd)==_0x439b04||_0x15c426(0xfe)==_0x439b04||_0x15c426(0xf2)==_0x439b04||_0x15c426(0xdc)==_0x439b04||_0x15c426(0xf4)==_0x439b04||_0x15c426(0xff)==_0x439b04||_0x15c426(0xf6)==_0x439b04||_0x15c426(0xfc)==_0x439b04){delete _0x3b0b16[_0x33016e],_0x5728a6=_0x439b04,clearInterval(this[_0x15c426(0xd7)]),this[_0x15c426(0xd7)]=void 0x0;break;}}_0x15c426(0xfe)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0xdd)),_0x15c426(0xf2)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0xca)),_0x15c426(0xdc)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0xe6)),_0x15c426(0xf4)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0xb4),_0x15c426(0xd2)),_0x15c426(0xff)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0xd3)),_0x15c426(0xf6)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0x100)),_0x15c426(0xfc)==_0x5728a6&&_0x3b0b16[_0x15c426(0xf5)](_0x15c426(0xea));},0x3e8);}[_0x4ef381(0xcd)](){const _0x1dc347=_0x4ef381,{editor:_0x497c77}=this,_0x2e475d=_0x497c77[_0x1dc347(0xe4)][_0x1dc347(0xc4)](_0x1dc347(0xb1));if(!_0x2e475d)return;const _0x332a00=this[_0x1dc347(0xc1)](_0x497c77[_0x1dc347(0xe3)][_0x1dc347(0xc4)](_0x1dc347(0xb6)))[_0x1dc347(0xd4)]((_0x5a6833,_0x107413)=>{const _0xc66dce=_0x1dc347,_0x22df1b=this[_0xc66dce(0xf1)](_0x107413[_0xc66dce(0xbc)]);return _0x5a6833[_0x22df1b]||(_0x5a6833[_0x22df1b]=[]),_0x5a6833[_0x22df1b][_0xc66dce(0xe2)](_0x107413),_0x5a6833;},{});_0x497c77[_0x1dc347(0xb8)][_0x1dc347(0xd8)](_0x1dc347(0xae))&&_0x497c77[_0x1dc347(0xe4)][_0x1dc347(0xc4)](_0x1dc347(0xb1))&&Object[_0x1dc347(0xc2)](_0x332a00)[_0x1dc347(0xec)](([_0x43991a,_0x2a19bd])=>{const _0x26b579=_0x1dc347;_0x497c77[_0x26b579(0xb8)][_0x26b579(0xc4)](_0x26b579(0xae))[_0x26b579(0xc9)]({'name':_0x43991a,'observable':()=>_0x2e475d,'buttonViewCreator':()=>this[_0x26b579(0xda)](_0x2a19bd),'formViewCreator':()=>this[_0x26b579(0xfb)](_0x2a19bd),'menuBarButtonViewCreator':()=>this[_0x26b579(0xe5)](_0x2a19bd),'override':_0x26b579(0xdf)!==_0x43991a});});}[_0x4ef381(0xeb)](){const _0xe82122=_0x4ef381;super[_0xe82122(0xeb)](),this[_0xe82122(0xd7)]&&clearInterval(this[_0xe82122(0xd7)]);}[_0x4ef381(0xc1)](_0x4cbc7e){const _0x2336f3=_0x4ef381,{locale:_0xf38a87}=this[_0x2336f3(0xd9)];return _0x4cbc7e[_0x2336f3(0xaf)](_0x5a2d8d=>{const _0x570b92=_0x2336f3,_0x27dd1b=_0x15e0af(_0xf38a87,_0x5a2d8d,_0x570b92(0xce));switch(_0x5a2d8d){case _0x25fc19[_0x570b92(0xb2)]:return{'icon':_0x28fae4,'type':_0x25fc19[_0x570b92(0xb2)],..._0x27dd1b};case _0x25fc19[_0x570b92(0xfd)]:return{'icon':_0x54cbaa,'type':_0x25fc19[_0x570b92(0xfd)],..._0x27dd1b};case _0x25fc19[_0x570b92(0xf7)]:return{'icon':_0x158b27,'type':_0x25fc19[_0x570b92(0xf7)],..._0x27dd1b};case _0x25fc19[_0x570b92(0xef)]:return{'icon':_0x5ae6e2,'type':_0x25fc19[_0x570b92(0xef)],..._0x27dd1b};case _0x25fc19[_0x570b92(0xb9)]:return{'icon':_0x430546,'type':_0x25fc19[_0x570b92(0xb9)],..._0x27dd1b};case _0x25fc19[_0x570b92(0xee)]:return{'icon':_0x5ae472,'type':_0x25fc19[_0x570b92(0xee)],..._0x27dd1b};case _0x25fc19[_0x570b92(0xd6)]:return{'icon':_0x58006a,'type':_0x25fc19[_0x570b92(0xd6)],..._0x27dd1b};}});}[_0x4ef381(0xf1)](_0x4e6dbd){const _0x5cf692=_0x4ef381;switch(_0x4e6dbd){case _0x25fc19[_0x5cf692(0xb2)]:return _0x5cf692(0xcf);case _0x25fc19[_0x5cf692(0xfd)]:return _0x5cf692(0xf9);default:return _0x5cf692(0xdf);}}[_0x4ef381(0xc0)](_0x49074a,_0x1e41f4){const _0x1b65fe=_0x4ef381,_0x44a5a8=this[_0x1b65fe(0xd9)],_0x40f053=new _0x49074a(_0x44a5a8[_0x1b65fe(0xf8)]),_0x312296=_0x44a5a8[_0x1b65fe(0xe4)][_0x1b65fe(0xc4)](_0x1b65fe(0xb1));return _0x40f053[_0x1b65fe(0xb7)](_0x1b65fe(0xe0))['to'](_0x312296),_0x40f053['on'](_0x1b65fe(0xe1),()=>{const _0x12ad82=_0x1b65fe;_0x312296[_0x12ad82(0xe1)](_0x1e41f4);}),_0x40f053;}[_0x4ef381(0xda)](_0x1c693a){const _0xe8470c=_0x4ef381,{locale:_0x1813fd}=this[_0xe8470c(0xd9)],_0xbbaf46=this[_0xe8470c(0xd9)][_0xe8470c(0xb8)][_0xe8470c(0xc4)](_0xe8470c(0xae)),_0x1a9c31=_0x1c693a[0x0],_0x2739a1=this[_0xe8470c(0xc0)](_0x4ec6e6,_0x1a9c31[_0xe8470c(0xbc)]);return _0x2739a1[_0xe8470c(0xd1)]=_0x1a9c31[_0xe8470c(0xd1)],_0x2739a1[_0xe8470c(0xb7)](_0xe8470c(0xdb))['to'](_0xbbaf46,_0xe8470c(0xe7),_0x546197=>_0x15e0af(_0x1813fd,_0x1a9c31[_0xe8470c(0xbc)],_0x546197?_0xe8470c(0xc6):_0xe8470c(0xce))[_0xe8470c(0xcb)]),_0x2739a1[_0xe8470c(0xcc)]=!0x0,_0x2739a1;}[_0x4ef381(0xfb)](_0x3344fe){const _0x4deb7c=_0x4ef381,{locale:_0x2531c1}=this[_0x4deb7c(0xd9)],_0x3ae977=this[_0x4deb7c(0xd9)][_0x4deb7c(0xb8)][_0x4deb7c(0xc4)](_0x4deb7c(0xae));return _0x3344fe[_0x4deb7c(0xaf)](_0x3275cb=>{const _0x19fc9c=_0x4deb7c,_0x4312a9=this[_0x19fc9c(0xc0)](_0x4ec6e6,_0x3275cb[_0x19fc9c(0xbc)]);return _0x4312a9[_0x19fc9c(0xf0)]=!0x0,_0x4312a9[_0x19fc9c(0xd1)]=_0x3275cb[_0x19fc9c(0xd1)],_0x4312a9[_0x19fc9c(0xb7)](_0x19fc9c(0xdb))['to'](_0x3ae977,_0x19fc9c(0xe7),_0x2c8961=>_0x15e0af(_0x2531c1,_0x3275cb[_0x19fc9c(0xbc)],_0x2c8961?_0x19fc9c(0xc6):_0x19fc9c(0xce))[_0x19fc9c(0xcb)]),_0x4312a9;});}[_0x4ef381(0xe5)](_0x2dca78){const _0x28d540=_0x4ef381;return _0x2dca78[_0x28d540(0xaf)](_0x3c8db3=>{const _0x1fc34d=_0x28d540,_0x274024=this[_0x1fc34d(0xc0)](_0x18770f,_0x3c8db3[_0x1fc34d(0xbc)]);return _0x274024[_0x1fc34d(0xd1)]=_0x3c8db3[_0x1fc34d(0xd1)],_0x274024[_0x1fc34d(0xdb)]=_0x3c8db3[_0x1fc34d(0xc8)],_0x274024;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1ce3ce}from'ckeditor5/src/core.js';import{FileRepository as _0x11790e}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5a04d9}from'./uploadcareediting.js';import{UploadUtils as _0x58413b}from'./utils/uploadutils.js';import{getImageUrls as _0xce9c0d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1ce3ce{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x11790e,_0x5a04d9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xe2aa92=this['editor'];if(!!!_0xe2aa92['config']['get']('uploadcare'))return;_0xe2aa92['plugins']['get'](_0x11790e)['createUploadAdapter']=_0x54e8cf=>new A(_0x54e8cf,_0xe2aa92),_0xe2aa92['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x998eaa,{imageElement:_0xd4ef4c,data:_0x1f24b6})=>{_0xe2aa92['model']['change'](_0x5f3ab2=>{_0x5f3ab2['setAttribute']('uploadcareImageId',_0x1f24b6['uploadcareImageId'],_0xd4ef4c);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x152fe1,_0x15654b){this['loader']=_0x152fe1,this['editor']=_0x15654b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x6206fe=this['editor']['config']['get']('uploadcare.pubkey'),_0x45c0e7=await this['loader']['file'];return _0x58413b['upload']({'file':_0x45c0e7,'publicKey':_0x6206fe,'signal':this['controller']['signal'],'onProgress':_0x527426=>{_0x527426&&_0x527426['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x527426['value']);}})['then'](async _0x1794e5=>{const {imageFallbackUrl:_0x56284a,imageSources:_0x1fd911}=_0xce9c0d(_0x1794e5['cdnUrl'],_0x1794e5['imageInfo']['width']);return{'uploadcareImageId':_0x1794e5['uuid'],'default':_0x56284a,'sources':_0x1fd911};})['catch'](()=>{const _0x5e28bb=t('Cannot\x20upload\x20file:')+('\x20'+_0x45c0e7['name']+'.');return Promise['reject'](_0x5e28bb);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4dc05e}from'ckeditor5/src/core.js';import{FileRepository as _0x321565}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x57a5af}from'./uploadcareediting.js';import{UploadUtils as _0x2f4482}from'./utils/uploadutils.js';import{getImageUrls as _0x527ff8}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4dc05e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x321565,_0x57a5af];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x16fa0a=this['editor'];if(!!!_0x16fa0a['config']['get']('uploadcare'))return;_0x16fa0a['plugins']['get'](_0x321565)['createUploadAdapter']=_0x1ffb0a=>new A(_0x1ffb0a,_0x16fa0a),_0x16fa0a['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1ae630,{imageElement:_0x5173ac,data:_0x1dad44})=>{_0x16fa0a['model']['change'](_0x44ac20=>{_0x44ac20['setAttribute']('uploadcareImageId',_0x1dad44['uploadcareImageId'],_0x5173ac);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x57bbc7,_0x14de47){this['loader']=_0x57bbc7,this['editor']=_0x14de47,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x443164=this['editor']['config']['get']('uploadcare.pubkey'),_0x110fde=await this['loader']['file'];return _0x2f4482['upload']({'file':_0x110fde,'publicKey':_0x443164,'signal':this['controller']['signal'],'onProgress':_0x58df1a=>{_0x58df1a&&_0x58df1a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58df1a['value']);}})['then'](async _0x8ce9fa=>{const {imageFallbackUrl:_0x2514a8,imageSources:_0x5cbb11}=_0x527ff8(_0x8ce9fa['cdnUrl'],_0x8ce9fa['imageInfo']['width']);return{'uploadcareImageId':_0x8ce9fa['uuid'],'default':_0x2514a8,'sources':_0x5cbb11};})['catch'](()=>{const _0xaad4f5=t('Cannot\x20upload\x20file:')+('\x20'+_0x110fde['name']+'.');return Promise['reject'](_0xaad4f5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x485bdd}from'../uploadcareconfig.js';export function getTranslation(_0x35625e,_0x43354e,_0x1d08d7){const t=_0x35625e['t'],_0x7eb715=_0x35625e['t'];switch(_0x43354e){case _0x485bdd['Local']:return{'text':_0x7eb715('Insert'===_0x1d08d7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x7eb715('From\x20computer')};case _0x485bdd['URL']:return{'text':'Insert'===_0x1d08d7?_0x7eb715('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x7eb715('Via\x20URL')};case _0x485bdd['Dropbox']:return{'text':t('Insert'===_0x1d08d7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x485bdd['Facebook']:return{'text':t('Insert'===_0x1d08d7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x485bdd['GDrive']:return{'text':t('Insert'===_0x1d08d7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x485bdd['GPhotos']:return{'text':t('Insert'===_0x1d08d7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x485bdd['OneDrive']:return{'text':t('Insert'===_0x1d08d7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x43354e;}}
23
+ import{UploadcareSource as _0x23b4b1}from'../uploadcareconfig.js';export function getTranslation(_0x5672a1,_0x1c4086,_0x203016){const t=_0x5672a1['t'],_0x40cef5=_0x5672a1['t'];switch(_0x1c4086){case _0x23b4b1['Local']:return{'text':_0x40cef5('Insert'===_0x203016?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x40cef5('From\x20computer')};case _0x23b4b1['URL']:return{'text':'Insert'===_0x203016?_0x40cef5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x40cef5('Via\x20URL')};case _0x23b4b1['Dropbox']:return{'text':t('Insert'===_0x203016?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x23b4b1['Facebook']:return{'text':t('Insert'===_0x203016?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x23b4b1['GDrive']:return{'text':t('Insert'===_0x203016?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x23b4b1['GPhotos']:return{'text':t('Insert'===_0x203016?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x23b4b1['OneDrive']:return{'text':t('Insert'===_0x203016?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1c4086;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x29e24d=_0x43e3;(function(_0x1f2928,_0x2b637a){var _0x2a0163=_0x43e3,_0x1818e4=_0x1f2928();while(!![]){try{var _0x5a457f=parseInt(_0x2a0163(0x1a6))/0x1*(-parseInt(_0x2a0163(0x1ac))/0x2)+-parseInt(_0x2a0163(0x1ab))/0x3+-parseInt(_0x2a0163(0x19d))/0x4+-parseInt(_0x2a0163(0x19f))/0x5+parseInt(_0x2a0163(0x1a9))/0x6*(-parseInt(_0x2a0163(0x1a4))/0x7)+-parseInt(_0x2a0163(0x1a8))/0x8+parseInt(_0x2a0163(0x19b))/0x9;if(_0x5a457f===_0x2b637a)break;else _0x1818e4['push'](_0x1818e4['shift']());}catch(_0x46a373){_0x1818e4['push'](_0x1818e4['shift']());}}}(_0x1f2c,0x9d668));function _0x1f2c(){var _0x3ccdcd=['56989287TxTngl','forwardCycle','756612xLcRHN','fire','6058260tEpPiQ','bindTemplate','createCollection','focusTracker','div','299467IUwPSH','getFocusableElement','1083625tBQdVt','focusCycler','6342344jheyKd','174sDsBBj','true','3508677UhApiQ','2KBhNlq'];_0x1f2c=function(){return _0x3ccdcd;};return _0x1f2c();}import{FocusTracker as _0x2dea64}from'ckeditor5/src/utils.js';import{View as _0x39ec93,FocusCycler as _0x5d2354}from'ckeditor5/src/ui.js';function _0x43e3(_0x437f02,_0x3d2897){var _0x1f2c59=_0x1f2c();return _0x43e3=function(_0x43e3cc,_0x6fac70){_0x43e3cc=_0x43e3cc-0x19b;var _0x230e69=_0x1f2c59[_0x43e3cc];return _0x230e69;},_0x43e3(_0x437f02,_0x3d2897);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x39ec93{[_0x29e24d(0x1a2)];[_0x29e24d(0x1a7)];constructor(_0x2a8338){var _0x4c19fb=_0x29e24d;super(_0x2a8338),this[_0x4c19fb(0x1a2)]=new _0x2dea64(),this[_0x4c19fb(0x1a7)]=new _0x5d2354({'focusables':this[_0x4c19fb(0x1a1)](),'focusTracker':this[_0x4c19fb(0x1a2)]});}[_0x29e24d(0x1a5)](){var _0x5c5224=_0x29e24d;return{'tag':_0x5c5224(0x1a3),'attributes':{'aria-hidden':_0x5c5224(0x1aa),'tabindex':'0'},'on':{'focus':this[_0x5c5224(0x1a0)]['to'](()=>{var _0x22cfa7=_0x5c5224;this[_0x22cfa7(0x1a7)][_0x22cfa7(0x19e)](_0x22cfa7(0x19c));})}};}}
23
+ var _0x12d099=_0x146d;(function(_0x370072,_0x4ec5b1){var _0x11b4f1=_0x146d,_0x1c8c8b=_0x370072();while(!![]){try{var _0x5b44eb=parseInt(_0x11b4f1(0xe5))/0x1+parseInt(_0x11b4f1(0xde))/0x2+parseInt(_0x11b4f1(0xe2))/0x3*(parseInt(_0x11b4f1(0xdb))/0x4)+parseInt(_0x11b4f1(0xe4))/0x5+-parseInt(_0x11b4f1(0xda))/0x6+-parseInt(_0x11b4f1(0xe8))/0x7*(parseInt(_0x11b4f1(0xe3))/0x8)+parseInt(_0x11b4f1(0xd9))/0x9*(-parseInt(_0x11b4f1(0xe0))/0xa);if(_0x5b44eb===_0x4ec5b1)break;else _0x1c8c8b['push'](_0x1c8c8b['shift']());}catch(_0x1e27c0){_0x1c8c8b['push'](_0x1c8c8b['shift']());}}}(_0x1a4b,0x9f783));import{FocusTracker as _0x54c9d7}from'ckeditor5/src/utils.js';import{View as _0x3a72bd,FocusCycler as _0x14a2dd}from'ckeditor5/src/ui.js';function _0x1a4b(){var _0x3cc1b5=['4941300EytNRx','271467bFVpeY','div','forwardCycle','329DsHpEh','bindTemplate','focusCycler','createCollection','183177vnDzSt','3640662OaRvrH','104jXqUPf','fire','focusTracker','1144504mrZJwM','true','500iJRECe','getFocusableElement','134886uliljW','123128EdNOjd'];_0x1a4b=function(){return _0x3cc1b5;};return _0x1a4b();}import'../../theme/uploadcare-form.css';function _0x146d(_0x55f26a,_0x376bf0){var _0x1a4b02=_0x1a4b();return _0x146d=function(_0x146dcf,_0x30211c){_0x146dcf=_0x146dcf-0xd9;var _0x3ab7a0=_0x1a4b02[_0x146dcf];return _0x3ab7a0;},_0x146d(_0x55f26a,_0x376bf0);}export class DialogFocusManagerView extends _0x3a72bd{[_0x12d099(0xdd)];[_0x12d099(0xea)];constructor(_0x1d3721){var _0x3e2d1e=_0x12d099;super(_0x1d3721),this[_0x3e2d1e(0xdd)]=new _0x54c9d7(),this[_0x3e2d1e(0xea)]=new _0x14a2dd({'focusables':this[_0x3e2d1e(0xeb)](),'focusTracker':this[_0x3e2d1e(0xdd)]});}[_0x12d099(0xe1)](){var _0x35cc5b=_0x12d099;return{'tag':_0x35cc5b(0xe6),'attributes':{'aria-hidden':_0x35cc5b(0xdf),'tabindex':'0'},'on':{'focus':this[_0x35cc5b(0xe9)]['to'](()=>{var _0x235495=_0x35cc5b;this[_0x235495(0xea)][_0x235495(0xdc)](_0x235495(0xe7));})}};}}