@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20251230.0 → 0.0.0-nightly-next-20251231.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e53(_0xa03a44,_0x1c4f3f){const _0x480922=_0x4809();return _0x4e53=function(_0x4e5364,_0x248dca){_0x4e5364=_0x4e5364-0x19f;let _0x41e6de=_0x480922[_0x4e5364];return _0x41e6de;},_0x4e53(_0xa03a44,_0x1c4f3f);}const _0x14c04d=_0x4e53;(function(_0x2f3ce0,_0x480aed){const _0x2a36eb=_0x4e53,_0x52863d=_0x2f3ce0();while(!![]){try{const _0x2a4287=-parseInt(_0x2a36eb(0x1e7))/0x1+parseInt(_0x2a36eb(0x1b5))/0x2*(parseInt(_0x2a36eb(0x1b1))/0x3)+parseInt(_0x2a36eb(0x1b4))/0x4*(parseInt(_0x2a36eb(0x1e8))/0x5)+parseInt(_0x2a36eb(0x1ba))/0x6*(parseInt(_0x2a36eb(0x1a2))/0x7)+parseInt(_0x2a36eb(0x1e4))/0x8*(-parseInt(_0x2a36eb(0x1ae))/0x9)+-parseInt(_0x2a36eb(0x1bf))/0xa+parseInt(_0x2a36eb(0x1ab))/0xb;if(_0x2a4287===_0x480aed)break;else _0x52863d['push'](_0x52863d['shift']());}catch(_0x348b68){_0x52863d['push'](_0x52863d['shift']());}}}(_0x4809,0xcf97c));import{Plugin as _0xe74a58}from'ckeditor5/src/core.js';import{Dialog as _0x33cb83}from'ckeditor5/src/ui.js';import{createElement as _0x479a4d,global as _0x83c9cb,uid as _0x1cef99}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5da0b9}from'./uploadcarecommand.js';function _0x4809(){const _0xd3436b=['true','#uc-icon-arrow-down','extend','model','map','href','_initImageProcessingIndicator','selection','add','render','init','listenTo','imageInline','document','cleanupImage','222446KOWXbe','getSelectedElement','once','uploadcareImageReplace','_ctxElement','destroy','view','fromCharCode','locale','20080324ucorUj','get','imageBlock','13653369PGeciA','PictureEditing','ucContextId','3Barurg','isOfficialPlugin','data-uc-image-id','5320444ciILBP','373276OSuKUN','uploadcare.pubkey','_initConfig','execute','replaceImageSource','12vPKRmX','uploader-','pluginName','uploadcare.uploader','body','5157530shJnav','upcast','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','querySelector','downcast','commands','for','ctxElement','schema','editor','config','editing','closeMax','remove','appendChild','removeAttribute','_initConversion','getAttribute','_initSchema','uploadcareImageId','input[uploadcare-file-input]','_configElement','isRegistered','elementToAttribute','iconHrefResolver','attributeToAttribute','isPremiumPlugin','_initCtx','uc-upload-ctx-provider','insertImage','join','uc-config','contentLanguage','afterInit','UploadcareEditing','configElement','requires','8IOsKxJ','uploadcare','conversion','522695lHsZzd','5qxjOIQ'];_0x4809=function(){return _0xd3436b;};return _0x4809();}import{UploadcareUploadAdapter as _0xdc77ea}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5c7510}from'./utils/editingutils.js';export class UploadcareEditing extends _0xe74a58{[_0x14c04d(0x1d4)]=null;[_0x14c04d(0x1a6)]=null;static get[_0x14c04d(0x1bc)](){const _0x48fd18=_0x14c04d;return _0x48fd18(0x1e1);}static get[_0x14c04d(0x1e3)](){const _0x2b0a24=_0x14c04d;return[_0x2b0a24(0x1af),_0xdc77ea,_0x33cb83];}static get[_0x14c04d(0x1b2)](){return!0x0;}static get[_0x14c04d(0x1d9)](){return!0x0;}[_0x14c04d(0x1b0)];get[_0x14c04d(0x1e2)](){const _0x763f37=_0x14c04d;return this[_0x763f37(0x1d4)];}get[_0x14c04d(0x1c6)](){const _0x1b84bc=_0x14c04d;return this[_0x1b84bc(0x1a6)];}constructor(_0x19b8ed){const _0x5b29a2=_0x14c04d;super(_0x19b8ed),this[_0x5b29a2(0x1b0)]=_0x1cef99();}[_0x14c04d(0x1f3)](){const _0x194f35=_0x14c04d,_0x375e2c=this[_0x194f35(0x1c8)];_0x375e2c[_0x194f35(0x1c4)][_0x194f35(0x1f1)](_0x194f35(0x1e5),new _0x5da0b9(_0x375e2c));}[_0x14c04d(0x1e0)](){const _0x5b4d01=_0x14c04d;this[_0x5b4d01(0x1d1)](),this[_0x5b4d01(0x1cf)](),this[_0x5b4d01(0x1b7)](),this[_0x5b4d01(0x1da)](),this[_0x5b4d01(0x1ef)](),this[_0x5b4d01(0x1f4)](this[_0x5b4d01(0x1c8)],_0x5b4d01(0x1a7),()=>{const _0x191ea8=_0x5b4d01;this[_0x191ea8(0x1d4)]&&(this[_0x191ea8(0x1d4)][_0x191ea8(0x1cc)](),this[_0x191ea8(0x1d4)]=null),this[_0x191ea8(0x1a6)]&&(this[_0x191ea8(0x1a6)][_0x191ea8(0x1cc)](),this[_0x191ea8(0x1a6)]=null);const _0x25b639=_0x83c9cb[_0x191ea8(0x1a0)][_0x191ea8(0x1c2)](_0x191ea8(0x1d3));_0x25b639&&_0x25b639[_0x191ea8(0x1cc)]();}),async function(_0x4b4f51){const _0x748fa1=_0x20eac7([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2097ac=0x535f8c3a,_0x413bd4=0x5358f15a^_0x2097ac,_0x59db16=window[_0x20eac7([0x44,0x61,0x74,0x65])][_0x20eac7([0x6e,0x6f,0x77])](),_0x47a25c=_0x4b4f51[_0x20eac7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1428ec=new window[(_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b28d=>{_0x47a25c[_0x20eac7([0x6f,0x6e,0x63,0x65])](_0x20eac7([0x72,0x65,0x61,0x64,0x79]),_0x21b28d);}),_0x2db73d={[_0x20eac7([0x6b,0x74,0x79])]:_0x20eac7([0x45,0x43]),[_0x20eac7([0x75,0x73,0x65])]:_0x20eac7([0x73,0x69,0x67]),[_0x20eac7([0x63,0x72,0x76])]:_0x20eac7([0x50,0x2d,0x32,0x35,0x36]),[_0x20eac7([0x78])]:_0x20eac7([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]),[_0x20eac7([0x79])]:_0x20eac7([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]),[_0x20eac7([0x61,0x6c,0x67])]:_0x20eac7([0x45,0x53,0x32,0x35,0x36])},_0x54ad19=_0x47a25c[_0x20eac7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20eac7([0x67,0x65,0x74])](_0x20eac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a14bb(){let _0x23c8ef,_0x170e66=null,_0x1bf01b=null;try{if(_0x54ad19==_0x20eac7([0x47,0x50,0x4c]))return _0x20eac7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23c8ef=_0x3d1558(),!_0x23c8ef)return _0x20eac7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23c8ef[_0x20eac7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bf01b=_0x14b929(_0x23c8ef[_0x20eac7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23c8ef[_0x20eac7([0x6a,0x74,0x69])])),await _0x317cc4()?_0x183cb7()?_0x2315f6()?_0x20eac7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12bcf4()?(_0x23c8ef[_0x20eac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20eac7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x170e66=_0x382d2c(_0x20eac7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23c8ef[_0x20eac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20eac7([0x74,0x72,0x69,0x61,0x6c])&&(_0x170e66=_0x382d2c(_0x20eac7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35737b()):_0x20eac7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20eac7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20eac7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20eac7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2315f6(){const _0x3bc003=[_0x20eac7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20eac7([0x74,0x72,0x69,0x61,0x6c])][_0x20eac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23c8ef[_0x20eac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x59db16/0x3e8:0xe10*_0x413bd4;return _0x23c8ef[_0x20eac7([0x65,0x78,0x70])]<_0x3bc003;}function _0x183cb7(){const _0x25c914=_0x23c8ef[_0x20eac7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25c914&&(!!_0x25c914[_0x20eac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20eac7([0x2a]))||!!_0x25c914[_0x20eac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20eac7([0x55,0x50,0x4c,0x43])));}function _0x12bcf4(){const _0x41fd68=_0x4e53,_0x2ac7fc=_0x23c8ef[_0x20eac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ac7fc||0x0==_0x2ac7fc[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a8db2}=new URL(window[_0x20eac7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x41fd68(0x1ee)]);if(_0x2ac7fc[_0x20eac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a8db2))return!0x0;const _0x4dfd5a=_0x5a8db2[_0x20eac7([0x73,0x70,0x6c,0x69,0x74])](_0x20eac7([0x2e]));return _0x2ac7fc[_0x20eac7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b03be=>_0x3b03be[_0x20eac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20eac7([0x2a])))[_0x20eac7([0x6d,0x61,0x70])](_0x2aea1b=>_0x2aea1b[_0x20eac7([0x73,0x70,0x6c,0x69,0x74])](_0x20eac7([0x2e])))[_0x20eac7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37913d=>_0x37913d[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4dfd5a[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20eac7([0x6d,0x61,0x70])](_0x186182=>Array(_0x4dfd5a[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x186182[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20eac7([0x66,0x69,0x6c,0x6c])](_0x186182[0x0]===_0x20eac7([0x2a])?_0x20eac7([0x2a]):'')[_0x20eac7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x186182))[_0x20eac7([0x73,0x6f,0x6d,0x65])](_0x20d4ce=>_0x4dfd5a[_0x20eac7([0x65,0x76,0x65,0x72,0x79])]((_0x525cb0,_0x13bd55)=>_0x20d4ce[_0x13bd55]===_0x525cb0||_0x20d4ce[_0x13bd55]===_0x20eac7([0x2a])));}function _0x35737b(){return _0x170e66&&_0x1bf01b?new window[(_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xaf3614,_0x180bc6)=>{_0x170e66[_0x20eac7([0x74,0x68,0x65,0x6e])](_0xaf3614,_0x180bc6),_0x1bf01b[_0x20eac7([0x74,0x68,0x65,0x6e])](_0xf84144=>{_0xf84144!=_0x20eac7([0x56,0x61,0x6c,0x69,0x64])&&_0xaf3614(_0xf84144);},_0x180bc6);}):_0x170e66||_0x1bf01b||_0x20eac7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x14b929(_0x5ca6d2,_0x8b634){return new window[(_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5561c6=>{if(_0x1ef61a())return _0x5561c6(_0x20eac7([0x56,0x61,0x6c,0x69,0x64]));_0x29beaf(),_0x47a25c[_0x20eac7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20eac7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3456a1=!0x1;const _0x2da294=_0x1cef99();function _0x3ef28d(_0x5ddcab){return!!_0x5ddcab&&(typeof _0x5ddcab===_0x20eac7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ddcab===_0x20eac7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ddcab[_0x20eac7([0x74,0x68,0x65,0x6e])]===_0x20eac7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ddcab[_0x20eac7([0x63,0x61,0x74,0x63,0x68])]===_0x20eac7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e29c3(_0x43b963){_0x1011b7(_0x43b963)[_0x20eac7([0x74,0x68,0x65,0x6e])](_0x2d8ef0=>{if(!_0x2d8ef0||_0x2d8ef0[_0x20eac7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20eac7([0x6f,0x6b]))return _0x20eac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x298321(_0x5e39c5(_0x2da294+_0x8b634))!=_0x2d8ef0[_0x20eac7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20eac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20eac7([0x56,0x61,0x6c,0x69,0x64]);})[_0x20eac7([0x74,0x68,0x65,0x6e])](_0x107fa5=>(_0x4d2aed(),_0x107fa5),()=>{const _0x3d316f=_0x1753f9();return null==_0x3d316f?(_0x4d2aed(),_0x20eac7([0x56,0x61,0x6c,0x69,0x64])):_0x20eac7(_0x59db16-_0x3d316f>(0x7753083a^_0x2097ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20eac7([0x74,0x68,0x65,0x6e])](_0x5561c6)[_0x20eac7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5561c6(_0x20eac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17ec8c=0x536962ba^_0x2097ac;function _0x4d2aed(){const _0x49674b=_0x20eac7([0x6c,0x6c,0x63,0x74,0x2d])+_0x298321(_0x5e39c5(_0x5ca6d2)),_0x30c4b7=_0x48c6ed(_0x298321(window[_0x20eac7([0x4d,0x61,0x74,0x68])][_0x20eac7([0x63,0x65,0x69,0x6c])](_0x59db16/_0x17ec8c)));window[_0x20eac7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20eac7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49674b,_0x30c4b7);}function _0x1753f9(){const _0x2b4e57=_0x20eac7([0x6c,0x6c,0x63,0x74,0x2d])+_0x298321(_0x5e39c5(_0x5ca6d2)),_0x3ce3b6=window[_0x20eac7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20eac7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b4e57);return _0x3ce3b6?window[_0x20eac7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48c6ed(_0x3ce3b6),0x10)*_0x17ec8c:null;}function _0x1011b7(_0x2885a3){return new window[(_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59da99,_0xac6206)=>{_0x2885a3[_0x20eac7([0x74,0x68,0x65,0x6e])](_0x59da99,_0xac6206),window[_0x20eac7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xac6206,0x535e58fa^_0x2097ac);});}}_0x47a25c[_0x20eac7([0x6f,0x6e])](_0x20eac7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13d477,_0x39dc08)=>{if(_0x39dc08[0x0]!=_0x5ca6d2)return _0x5561c6(_0x20eac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39dc08[0x1]={..._0x39dc08[0x1],[_0x20eac7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2da294};},{[_0x20eac7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20eac7([0x68,0x69,0x67,0x68])}),_0x47a25c[_0x20eac7([0x6f,0x6e])](_0x20eac7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48091b=>{_0x3ef28d(_0x48091b[_0x20eac7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3456a1=!0x0,_0x1e29c3(_0x48091b[_0x20eac7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20eac7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20eac7([0x6c,0x6f,0x77])}),_0x1428ec[_0x20eac7([0x74,0x68,0x65,0x6e])](()=>{_0x3456a1||_0x5561c6(_0x20eac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ef61a(){return _0x47a25c[_0x20eac7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20eac7([0x76,0x69,0x65,0x77])][_0x20eac7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20eac7([0x61,0x75,0x74,0x6f]);}function _0x29beaf(){_0x47a25c[_0x20eac7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20eac7([0x76,0x69,0x65,0x77])][_0x20eac7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20eac7([0x61,0x75,0x74,0x6f]);}}function _0x382d2c(_0x576ef6){const _0x1a4574=[new window[(_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e53d=>setTimeout(_0x14e53d,0x5356b2f6^_0x2097ac)),_0x1428ec[_0x20eac7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x909211=>{let _0x36445d=0x0;_0x47a25c[_0x20eac7([0x6d,0x6f,0x64,0x65,0x6c])][_0x20eac7([0x6f,0x6e])](_0x20eac7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a6b8b,_0x1a8002)=>{_0x1a8002[0x0][_0x20eac7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36445d++,_0x36445d==(0x535f89d2^_0x2097ac)&&(_0x909211(),_0x4a6b8b[_0x20eac7([0x6f,0x66,0x66])]());});}))];return window[_0x20eac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20eac7([0x72,0x61,0x63,0x65])](_0x1a4574)[_0x20eac7([0x74,0x68,0x65,0x6e])](()=>_0x576ef6);}async function _0x4844e0(){await _0x1428ec,_0x47a25c[_0x20eac7([0x6d,0x6f,0x64,0x65,0x6c])][_0x20eac7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b5787,_0x47a25c[_0x20eac7([0x6d,0x6f,0x64,0x65,0x6c])][_0x20eac7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b5787,_0x47a25c[_0x20eac7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20eac7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1274f4(_0x320c25){const _0x5c5469=_0x4d78a0();_0x47a25c[_0x5c5469]=_0x20eac7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x320c25,_0x320c25!=_0x20eac7([0x56,0x61,0x6c,0x69,0x64])&&_0x4844e0();}function _0x4d78a0(){const _0x1a5c84=window[_0x20eac7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20eac7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20eac7([0x6e,0x6f,0x77])]())[_0x20eac7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20eac7([0x2e]),'');let _0x59e922=_0x20eac7([0x68]);for(let _0xd5d0de=0x0;_0xd5d0de<_0x1a5c84[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd5d0de+=0x2){let _0x172f38=window[_0x20eac7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5c84[_0x20eac7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd5d0de,_0xd5d0de+0x2));_0x172f38>=_0x748fa1[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x172f38-=_0x748fa1[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59e922+=_0x748fa1[_0x172f38];}return _0x59e922;}function _0x3d1558(){const _0xbd98ea=_0x54ad19[_0x20eac7([0x73,0x70,0x6c,0x69,0x74])](_0x20eac7([0x2e]));if(0x3!=_0xbd98ea[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57aea2(_0xbd98ea[0x1]);function _0x57aea2(_0x3d557e){const _0x45d683=_0x6fa74e(_0x3d557e);return _0x45d683&&_0x2e3302()?_0x45d683:null;function _0x2e3302(){const _0x18adba=_0x45d683[_0x20eac7([0x6a,0x74,0x69])],_0x4f1f58=window[_0x20eac7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18adba[_0x20eac7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18adba[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x231773={..._0x45d683,[_0x20eac7([0x6a,0x74,0x69])]:_0x18adba[_0x20eac7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18adba[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x231773[_0x20eac7([0x76,0x63])],_0x5e39c5(_0x231773)==_0x4f1f58;}}}async function _0x317cc4(){let _0x351e3c=!0x0;try{const _0x503779=_0x54ad19[_0x20eac7([0x73,0x70,0x6c,0x69,0x74])](_0x20eac7([0x2e])),[_0x7bf3e5,_0x315d5f,_0x219356]=_0x503779;return _0xf373ba(_0x7bf3e5),await _0x3f6e5d(_0x7bf3e5,_0x315d5f,_0x219356),_0x351e3c;}catch{return!0x1;}function _0xf373ba(_0x166352){const _0x1479d9=_0x6fa74e(_0x166352);_0x1479d9&&_0x1479d9[_0x20eac7([0x61,0x6c,0x67])]==_0x20eac7([0x45,0x53,0x32,0x35,0x36])||(_0x351e3c=!0x1);}async function _0x3f6e5d(_0x22d33c,_0x47465d,_0x3a10d7){const _0x37d5ca=window[_0x20eac7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20eac7([0x66,0x72,0x6f,0x6d])](_0x78af73(_0x3a10d7),_0x1e501c=>_0x1e501c[_0x20eac7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21a8e3=new window[(_0x20eac7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20eac7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22d33c+_0x20eac7([0x2e])+_0x47465d),_0x500efd=window[_0x20eac7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20eac7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x500efd)return;const _0x517fa6=await _0x500efd[_0x20eac7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20eac7([0x6a,0x77,0x6b]),_0x2db73d,{[_0x20eac7([0x6e,0x61,0x6d,0x65])]:_0x20eac7([0x45,0x43,0x44,0x53,0x41]),[_0x20eac7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20eac7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20eac7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x500efd[_0x20eac7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20eac7([0x6e,0x61,0x6d,0x65])]:_0x20eac7([0x45,0x43,0x44,0x53,0x41]),[_0x20eac7([0x68,0x61,0x73,0x68])]:{[_0x20eac7([0x6e,0x61,0x6d,0x65])]:_0x20eac7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x517fa6,_0x37d5ca,_0x21a8e3)||(_0x351e3c=!0x1);}}function _0x6fa74e(_0x611022){return _0x611022[_0x20eac7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20eac7([0x65,0x79]))?JSON[_0x20eac7([0x70,0x61,0x72,0x73,0x65])](_0x78af73(_0x611022)):null;}function _0x78af73(_0x16538c){return window[_0x20eac7([0x61,0x74,0x6f,0x62])](_0x16538c[_0x20eac7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20eac7([0x2b]))[_0x20eac7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20eac7([0x2f])));}function _0x5e39c5(_0xfbba71){let _0x1bad81=0x1505;function _0x36a36e(_0x301748){for(let _0x56ae5f=0x0;_0x56ae5f<_0x301748[_0x20eac7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56ae5f++){const _0x32343e=_0x301748[_0x20eac7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56ae5f);_0x1bad81=(_0x1bad81<<0x5)+_0x1bad81+_0x32343e,_0x1bad81&=_0x1bad81;}}function _0x5068ce(_0xd9b45a){Array[_0x20eac7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd9b45a)?_0xd9b45a[_0x20eac7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5068ce):_0xd9b45a&&typeof _0xd9b45a==_0x20eac7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20eac7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd9b45a)[_0x20eac7([0x73,0x6f,0x72,0x74])]()[_0x20eac7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13aecf,_0x1e4c0c])=>{_0x36a36e(_0x13aecf),_0x5068ce(_0x1e4c0c);}):_0x36a36e(window[_0x20eac7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd9b45a));}return _0x5068ce(_0xfbba71),_0x1bad81>>>0x0;}function _0x298321(_0x204f3c){return _0x204f3c[_0x20eac7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20eac7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20eac7([0x30]));}function _0x48c6ed(_0x1fa0de){return _0x1fa0de[_0x20eac7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20eac7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20eac7([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b5787(){}function _0x20eac7(_0x15f433){const _0x20f589=_0x4e53;return _0x15f433[_0x20f589(0x1ed)](_0x5bfcb5=>String[_0x20f589(0x1a9)](_0x5bfcb5))[_0x20f589(0x1dd)]('');}_0x1274f4(await _0x4a14bb());}(this);}[_0x14c04d(0x1d1)](){const _0x31dff3=_0x14c04d,_0x31ce0f=this[_0x31dff3(0x1c8)][_0x31dff3(0x1ec)][_0x31dff3(0x1c7)];_0x31ce0f[_0x31dff3(0x1d5)](_0x31dff3(0x1ad))&&_0x31ce0f[_0x31dff3(0x1eb)](_0x31dff3(0x1ad),{'allowAttributes':[_0x31dff3(0x1d2)]}),_0x31ce0f[_0x31dff3(0x1d5)](_0x31dff3(0x19f))&&_0x31ce0f[_0x31dff3(0x1eb)](_0x31dff3(0x19f),{'allowAttributes':[_0x31dff3(0x1d2)]});}[_0x14c04d(0x1cf)](){const _0x493330=_0x14c04d,_0x195dc6=this[_0x493330(0x1c8)];_0x195dc6[_0x493330(0x1e6)][_0x493330(0x1c5)](_0x493330(0x1c3))[_0x493330(0x1d8)]({'model':_0x493330(0x1d2),'view':_0x493330(0x1b3)}),_0x195dc6[_0x493330(0x1e6)][_0x493330(0x1c5)](_0x493330(0x1c0))[_0x493330(0x1d6)]({'model':{'key':_0x493330(0x1d2),'value':_0x3c7a71=>_0x3c7a71[_0x493330(0x1d0)](_0x493330(0x1b3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33f4aa=_0x195dc6[_0x493330(0x1c4)][_0x493330(0x1ac)](_0x493330(0x1b9));_0x33f4aa&&this[_0x493330(0x1f4)](_0x33f4aa,_0x493330(0x1a1),(_0x4be7ce,[_0x5b32e9,_0x994c9b])=>{const _0x2d3f47=_0x493330;_0x5b32e9[_0x2d3f47(0x1ce)](_0x2d3f47(0x1d2),_0x994c9b);});}[_0x14c04d(0x1b7)](){const _0x2a9a53=_0x14c04d,_0xac84c7=this[_0x2a9a53(0x1c8)][_0x2a9a53(0x1c9)][_0x2a9a53(0x1ac)](_0x2a9a53(0x1bd))||{},_0x3843db=this[_0x2a9a53(0x1c8)][_0x2a9a53(0x1c9)][_0x2a9a53(0x1ac)](_0x2a9a53(0x1b6))||'';this[_0x2a9a53(0x1d4)]=_0x479a4d(_0x83c9cb[_0x2a9a53(0x1a0)],_0x2a9a53(0x1de),{..._0xac84c7,'pubkey':_0x3843db,'ctx-name':_0x2a9a53(0x1bb)+this[_0x2a9a53(0x1b0)],'sourceList':'','imgOnly':_0x2a9a53(0x1e9),'removeCopyright':_0x2a9a53(0x1e9),'localeName':this[_0x2a9a53(0x1c8)][_0x2a9a53(0x1aa)][_0x2a9a53(0x1df)],'externalSourcesEmbedCss':_0x2a9a53(0x1c1)}),this[_0x2a9a53(0x1d4)][_0x2a9a53(0x1d7)]=_0x3e2ef0=>{const _0x389dc4=_0x2a9a53;if(_0x389dc4(0x1cb)==_0x3e2ef0)return _0x389dc4(0x1ea);},_0x83c9cb[_0x2a9a53(0x1a0)][_0x2a9a53(0x1be)][_0x2a9a53(0x1cd)](this[_0x2a9a53(0x1d4)]);}[_0x14c04d(0x1da)](){const _0xb08d82=_0x14c04d;this[_0xb08d82(0x1a6)]=_0x479a4d(_0x83c9cb[_0xb08d82(0x1a0)],_0xb08d82(0x1db),{'ctx-name':_0xb08d82(0x1bb)+this[_0xb08d82(0x1b0)]}),_0x83c9cb[_0xb08d82(0x1a0)][_0xb08d82(0x1be)][_0xb08d82(0x1cd)](this[_0xb08d82(0x1a6)]);}[_0x14c04d(0x1ef)](){const _0x51454e=_0x14c04d,_0x300f00=this[_0x51454e(0x1c8)][_0x51454e(0x1c4)][_0x51454e(0x1ac)](_0x51454e(0x1dc));_0x300f00&&this[_0x51454e(0x1f4)](_0x300f00,_0x51454e(0x1b8),()=>{const _0x412ff1=_0x51454e,_0x391705=this[_0x412ff1(0x1c8)][_0x412ff1(0x1ec)][_0x412ff1(0x1a0)][_0x412ff1(0x1f0)][_0x412ff1(0x1a3)]();_0x391705&&_0x391705[_0x412ff1(0x1d0)](_0x412ff1(0x1d2))&&this[_0x412ff1(0x1c8)][_0x412ff1(0x1ca)][_0x412ff1(0x1a8)][_0x412ff1(0x1a4)](_0x412ff1(0x1f2),()=>{const _0x249654=_0x412ff1;_0x5c7510(this[_0x249654(0x1c8)],_0x391705);});});const _0x3a08da=this[_0x51454e(0x1c8)][_0x51454e(0x1c4)][_0x51454e(0x1ac)](_0x51454e(0x1a5));_0x3a08da&&this[_0x51454e(0x1f4)](_0x3a08da,_0x51454e(0x1b8),()=>{const _0x19b249=_0x51454e,_0x586afb=this[_0x19b249(0x1c8)][_0x19b249(0x1ec)][_0x19b249(0x1a0)][_0x19b249(0x1f0)][_0x19b249(0x1a3)]();_0x586afb&&_0x586afb[_0x19b249(0x1d0)](_0x19b249(0x1d2))&&this[_0x19b249(0x1c8)][_0x19b249(0x1ca)][_0x19b249(0x1a8)][_0x19b249(0x1a4)](_0x19b249(0x1f2),()=>{const _0x1fadd6=_0x19b249;_0x5c7510(this[_0x1fadd6(0x1c8)],_0x586afb);});});}}
23
+ function _0x43d4(_0x45b9ae,_0x35d8b5){const _0x261b91=_0x261b();return _0x43d4=function(_0x43d445,_0x2f14d6){_0x43d445=_0x43d445-0x19a;let _0x390a23=_0x261b91[_0x43d445];return _0x390a23;},_0x43d4(_0x45b9ae,_0x35d8b5);}const _0x2c8525=_0x43d4;(function(_0x496650,_0x589077){const _0x388ba6=_0x43d4,_0x4aac00=_0x496650();while(!![]){try{const _0xb091a1=parseInt(_0x388ba6(0x1a6))/0x1*(-parseInt(_0x388ba6(0x1b3))/0x2)+parseInt(_0x388ba6(0x1ec))/0x3*(-parseInt(_0x388ba6(0x1e7))/0x4)+-parseInt(_0x388ba6(0x1bb))/0x5+-parseInt(_0x388ba6(0x1de))/0x6+parseInt(_0x388ba6(0x1d4))/0x7+parseInt(_0x388ba6(0x1b6))/0x8+parseInt(_0x388ba6(0x1a5))/0x9;if(_0xb091a1===_0x589077)break;else _0x4aac00['push'](_0x4aac00['shift']());}catch(_0x412b9c){_0x4aac00['push'](_0x4aac00['shift']());}}}(_0x261b,0xa3b5c));import{Plugin as _0x8b908f}from'ckeditor5/src/core.js';import{Dialog as _0x2bb1f7}from'ckeditor5/src/ui.js';import{createElement as _0x6f644e,global as _0x421869,uid as _0x4a7416}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x303713}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5035b4}from'./uploadcareuploadadapter.js';function _0x261b(){const _0x406bde=['2Konjzz','body','#uc-icon-arrow-down','263376JbPtJe','uc-config','closeMax','imageInline','add','1800830CyOfdH','view','for','uploadcareImageId','render','PictureEditing','ctxElement','insertImage','_initConversion','removeAttribute','_initImageProcessingIndicator','cleanupImage','contentLanguage','remove','listenTo','uploadcareImageReplace','ucContextId','selection','configElement','\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','fromCharCode','isPremiumPlugin','model','get','uc-upload-ctx-provider','8630874EIfGpT','schema','href','appendChild','uploadcare.uploader','afterInit','requires','getSelectedElement','config','_initConfig','5562078LShwRt','commands','editor','document','_initSchema','_configElement','data-uc-image-id','join','replaceImageSource','4YxYzdo','uploadcare.pubkey','conversion','isRegistered','_initCtx','22668YHnYzC','execute','querySelector','uploadcare','init','attributeToAttribute','_ctxElement','editing','elementToAttribute','upcast','uploader-','map','iconHrefResolver','10018395AhTqMX','413768kTlvZP','extend','locale','isOfficialPlugin','destroy','pluginName','input[uploadcare-file-input]','imageBlock','getAttribute','once','downcast','true','UploadcareEditing'];_0x261b=function(){return _0x406bde;};return _0x261b();}import{showImageProcessingIndicator as _0x59f2fb}from'./utils/editingutils.js';export class UploadcareEditing extends _0x8b908f{[_0x2c8525(0x1e3)]=null;[_0x2c8525(0x19e)]=null;static get[_0x2c8525(0x1ab)](){const _0x453feb=_0x2c8525;return _0x453feb(0x1b2);}static get[_0x2c8525(0x1da)](){const _0x2ed41f=_0x2c8525;return[_0x2ed41f(0x1c0),_0x5035b4,_0x2bb1f7];}static get[_0x2c8525(0x1a9)](){return!0x0;}static get[_0x2c8525(0x1d0)](){return!0x0;}[_0x2c8525(0x1cb)];get[_0x2c8525(0x1cd)](){const _0x1b5d76=_0x2c8525;return this[_0x1b5d76(0x1e3)];}get[_0x2c8525(0x1c1)](){const _0x554e11=_0x2c8525;return this[_0x554e11(0x19e)];}constructor(_0x3327e6){const _0x370617=_0x2c8525;super(_0x3327e6),this[_0x370617(0x1cb)]=_0x4a7416();}[_0x2c8525(0x19c)](){const _0x187487=_0x2c8525,_0x9e8371=this[_0x187487(0x1e0)];_0x9e8371[_0x187487(0x1df)][_0x187487(0x1ba)](_0x187487(0x19b),new _0x303713(_0x9e8371));}[_0x2c8525(0x1d9)](){const _0x222a31=_0x2c8525;this[_0x222a31(0x1e2)](),this[_0x222a31(0x1c3)](),this[_0x222a31(0x1dd)](),this[_0x222a31(0x1eb)](),this[_0x222a31(0x1c5)](),this[_0x222a31(0x1c9)](this[_0x222a31(0x1e0)],_0x222a31(0x1aa),()=>{const _0x1bc281=_0x222a31;this[_0x1bc281(0x1e3)]&&(this[_0x1bc281(0x1e3)][_0x1bc281(0x1c8)](),this[_0x1bc281(0x1e3)]=null),this[_0x1bc281(0x19e)]&&(this[_0x1bc281(0x19e)][_0x1bc281(0x1c8)](),this[_0x1bc281(0x19e)]=null);const _0x16b2df=_0x421869[_0x1bc281(0x1e1)][_0x1bc281(0x19a)](_0x1bc281(0x1ac));_0x16b2df&&_0x16b2df[_0x1bc281(0x1c8)]();}),async function(_0x449b85){const _0x418bf8=_0x156357([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x1865a0=0x535f8c3a,_0x2a53a2=0x5358f142^_0x1865a0,_0xb5cb11=window[_0x156357([0x44,0x61,0x74,0x65])][_0x156357([0x6e,0x6f,0x77])](),_0x50657d=_0x449b85[_0x156357([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36fec5=new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4555be=>{_0x50657d[_0x156357([0x6f,0x6e,0x63,0x65])](_0x156357([0x72,0x65,0x61,0x64,0x79]),_0x4555be);}),_0x1907fd={[_0x156357([0x6b,0x74,0x79])]:_0x156357([0x45,0x43]),[_0x156357([0x75,0x73,0x65])]:_0x156357([0x73,0x69,0x67]),[_0x156357([0x63,0x72,0x76])]:_0x156357([0x50,0x2d,0x32,0x35,0x36]),[_0x156357([0x78])]:_0x156357([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]),[_0x156357([0x79])]:_0x156357([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]),[_0x156357([0x61,0x6c,0x67])]:_0x156357([0x45,0x53,0x32,0x35,0x36])},_0x3fc97d=_0x50657d[_0x156357([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x156357([0x67,0x65,0x74])](_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb77b3b(){let _0x4642b6,_0x303a8f=null,_0x41ccfc=null;try{if(_0x3fc97d==_0x156357([0x47,0x50,0x4c]))return _0x156357([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4642b6=_0xba37f9(),!_0x4642b6)return _0x156357([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4642b6[_0x156357([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41ccfc=_0x2cccef(_0x4642b6[_0x156357([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4642b6[_0x156357([0x6a,0x74,0x69])])),await _0x3bfe2a()?_0x47e5e5()?_0x56aae8()?_0x156357([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x531f5f()?(_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x156357([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x303a8f=_0x1104b8(_0x156357([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x156357([0x74,0x72,0x69,0x61,0x6c])&&(_0x303a8f=_0x1104b8(_0x156357([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x92926d()):_0x156357([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x156357([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x156357([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x156357([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56aae8(){const _0x2ac2b9=[_0x156357([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x156357([0x74,0x72,0x69,0x61,0x6c])][_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb5cb11/0x3e8:0xe10*_0x2a53a2;return _0x4642b6[_0x156357([0x65,0x78,0x70])]<_0x2ac2b9;}function _0x47e5e5(){const _0x395779=_0x4642b6[_0x156357([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x395779&&(!!_0x395779[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156357([0x2a]))||!!_0x395779[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156357([0x55,0x50,0x4c,0x43])));}function _0x531f5f(){const _0x58ad22=_0x43d4,_0x523c36=_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x523c36||0x0==_0x523c36[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x292c08}=new URL(window[_0x156357([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x58ad22(0x1d6)]);if(_0x523c36[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292c08))return!0x0;const _0x307c52=_0x292c08[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e]));return _0x523c36[_0x156357([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15f834=>_0x15f834[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156357([0x2a])))[_0x156357([0x6d,0x61,0x70])](_0x2fcde2=>_0x2fcde2[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e])))[_0x156357([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17b726=>_0x17b726[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x307c52[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x156357([0x6d,0x61,0x70])](_0x19bc35=>Array(_0x307c52[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19bc35[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x156357([0x66,0x69,0x6c,0x6c])](_0x19bc35[0x0]===_0x156357([0x2a])?_0x156357([0x2a]):'')[_0x156357([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19bc35))[_0x156357([0x73,0x6f,0x6d,0x65])](_0x1c45a9=>_0x307c52[_0x156357([0x65,0x76,0x65,0x72,0x79])]((_0x3e16c3,_0x3de229)=>_0x1c45a9[_0x3de229]===_0x3e16c3||_0x1c45a9[_0x3de229]===_0x156357([0x2a])));}function _0x92926d(){return _0x303a8f&&_0x41ccfc?new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f21b8,_0x5e9dbb)=>{_0x303a8f[_0x156357([0x74,0x68,0x65,0x6e])](_0x1f21b8,_0x5e9dbb),_0x41ccfc[_0x156357([0x74,0x68,0x65,0x6e])](_0x5159bc=>{_0x5159bc!=_0x156357([0x56,0x61,0x6c,0x69,0x64])&&_0x1f21b8(_0x5159bc);},_0x5e9dbb);}):_0x303a8f||_0x41ccfc||_0x156357([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cccef(_0x3a0277,_0x46c12d){return new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5388a9=>{if(_0x31b9b5())return _0x5388a9(_0x156357([0x56,0x61,0x6c,0x69,0x64]));_0x41a2ca(),_0x50657d[_0x156357([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x156357([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b740e=!0x1;const _0x2c6b1e=_0x4a7416();function _0x16d90e(_0x1c8ee7){return!!_0x1c8ee7&&(typeof _0x1c8ee7===_0x156357([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c8ee7===_0x156357([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c8ee7[_0x156357([0x74,0x68,0x65,0x6e])]===_0x156357([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c8ee7[_0x156357([0x63,0x61,0x74,0x63,0x68])]===_0x156357([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21e313(_0x3e5b01){_0x280145(_0x3e5b01)[_0x156357([0x74,0x68,0x65,0x6e])](_0x5f6adf=>{if(!_0x5f6adf||_0x5f6adf[_0x156357([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x156357([0x6f,0x6b]))return _0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5609f2(_0x3a7f29(_0x2c6b1e+_0x46c12d))!=_0x5f6adf[_0x156357([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x156357([0x56,0x61,0x6c,0x69,0x64]);})[_0x156357([0x74,0x68,0x65,0x6e])](_0x3b50e6=>(_0x2fb661(),_0x3b50e6),()=>{const _0x4b7d79=_0x538f99();return null==_0x4b7d79?(_0x2fb661(),_0x156357([0x56,0x61,0x6c,0x69,0x64])):_0x156357(_0xb5cb11-_0x4b7d79>(0x7753083a^_0x1865a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x156357([0x74,0x68,0x65,0x6e])](_0x5388a9)[_0x156357([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5388a9(_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x544a3c=0x536962ba^_0x1865a0;function _0x2fb661(){const _0xc73f7=_0x156357([0x6c,0x6c,0x63,0x74,0x2d])+_0x5609f2(_0x3a7f29(_0x3a0277)),_0x1793b7=_0x399dad(_0x5609f2(window[_0x156357([0x4d,0x61,0x74,0x68])][_0x156357([0x63,0x65,0x69,0x6c])](_0xb5cb11/_0x544a3c)));window[_0x156357([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x156357([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc73f7,_0x1793b7);}function _0x538f99(){const _0x347fdc=_0x156357([0x6c,0x6c,0x63,0x74,0x2d])+_0x5609f2(_0x3a7f29(_0x3a0277)),_0x3a2893=window[_0x156357([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x156357([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x347fdc);return _0x3a2893?window[_0x156357([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x399dad(_0x3a2893),0x10)*_0x544a3c:null;}function _0x280145(_0x2de864){return new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x330a11,_0xef1d3b)=>{_0x2de864[_0x156357([0x74,0x68,0x65,0x6e])](_0x330a11,_0xef1d3b),window[_0x156357([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xef1d3b,0x535e58fa^_0x1865a0);});}}_0x50657d[_0x156357([0x6f,0x6e])](_0x156357([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x817bad,_0x2ae04b)=>{if(_0x2ae04b[0x0]!=_0x3a0277)return _0x5388a9(_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ae04b[0x1]={..._0x2ae04b[0x1],[_0x156357([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c6b1e};},{[_0x156357([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x156357([0x68,0x69,0x67,0x68])}),_0x50657d[_0x156357([0x6f,0x6e])](_0x156357([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2052ac=>{_0x16d90e(_0x2052ac[_0x156357([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b740e=!0x0,_0x21e313(_0x2052ac[_0x156357([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x156357([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x156357([0x6c,0x6f,0x77])}),_0x36fec5[_0x156357([0x74,0x68,0x65,0x6e])](()=>{_0x2b740e||_0x5388a9(_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31b9b5(){return _0x50657d[_0x156357([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156357([0x76,0x69,0x65,0x77])][_0x156357([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x156357([0x61,0x75,0x74,0x6f]);}function _0x41a2ca(){_0x50657d[_0x156357([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156357([0x76,0x69,0x65,0x77])][_0x156357([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x156357([0x61,0x75,0x74,0x6f]);}}function _0x1104b8(_0x20a23f){const _0x1ab6e4=[new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ca3f=>setTimeout(_0x44ca3f,0x5356b2f6^_0x1865a0)),_0x36fec5[_0x156357([0x74,0x68,0x65,0x6e])](()=>new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47627a=>{let _0x4c088d=0x0;_0x50657d[_0x156357([0x6d,0x6f,0x64,0x65,0x6c])][_0x156357([0x6f,0x6e])](_0x156357([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49a20f,_0x2a0cee)=>{_0x2a0cee[0x0][_0x156357([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c088d++,_0x4c088d==(0x535f89d2^_0x1865a0)&&(_0x47627a(),_0x49a20f[_0x156357([0x6f,0x66,0x66])]());});}))];return window[_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x156357([0x72,0x61,0x63,0x65])](_0x1ab6e4)[_0x156357([0x74,0x68,0x65,0x6e])](()=>_0x20a23f);}async function _0x1fc09d(){await _0x36fec5,_0x50657d[_0x156357([0x6d,0x6f,0x64,0x65,0x6c])][_0x156357([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x521f94,_0x50657d[_0x156357([0x6d,0x6f,0x64,0x65,0x6c])][_0x156357([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x521f94,_0x50657d[_0x156357([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x156357([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15cfa3(_0x44a3aa){const _0x3bc7fb=_0x25900e();_0x50657d[_0x3bc7fb]=_0x156357([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44a3aa,_0x44a3aa!=_0x156357([0x56,0x61,0x6c,0x69,0x64])&&_0x1fc09d();}function _0x25900e(){const _0x16d799=window[_0x156357([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x156357([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x156357([0x6e,0x6f,0x77])]())[_0x156357([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x156357([0x2e]),'');let _0x4324b2=_0x156357([0x68]);for(let _0x3f2097=0x0;_0x3f2097<_0x16d799[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f2097+=0x2){let _0x5c0403=window[_0x156357([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16d799[_0x156357([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2097,_0x3f2097+0x2));_0x5c0403>=_0x418bf8[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0403-=_0x418bf8[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4324b2+=_0x418bf8[_0x5c0403];}return _0x4324b2;}function _0xba37f9(){const _0x2ad6b4=_0x3fc97d[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e]));if(0x3!=_0x2ad6b4[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3548b9(_0x2ad6b4[0x1]);function _0x3548b9(_0x111c20){const _0x5c7384=_0x431c4c(_0x111c20);return _0x5c7384&&_0x296ae1()?_0x5c7384:null;function _0x296ae1(){const _0x1d6a2e=_0x5c7384[_0x156357([0x6a,0x74,0x69])],_0x5a3f8e=window[_0x156357([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d6a2e[_0x156357([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d6a2e[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x110a7e={..._0x5c7384,[_0x156357([0x6a,0x74,0x69])]:_0x1d6a2e[_0x156357([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d6a2e[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x110a7e[_0x156357([0x76,0x63])],_0x3a7f29(_0x110a7e)==_0x5a3f8e;}}}async function _0x3bfe2a(){let _0x22d553=!0x0;try{const _0x4a92d3=_0x3fc97d[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e])),[_0xd50ef7,_0x54d545,_0x2e1aea]=_0x4a92d3;return _0xc9bf92(_0xd50ef7),await _0x5f154e(_0xd50ef7,_0x54d545,_0x2e1aea),_0x22d553;}catch{return!0x1;}function _0xc9bf92(_0x2237e0){const _0x297b25=_0x431c4c(_0x2237e0);_0x297b25&&_0x297b25[_0x156357([0x61,0x6c,0x67])]==_0x156357([0x45,0x53,0x32,0x35,0x36])||(_0x22d553=!0x1);}async function _0x5f154e(_0x30b382,_0x5b2298,_0xae134f){const _0x500d47=window[_0x156357([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x156357([0x66,0x72,0x6f,0x6d])](_0x3ea3d0(_0xae134f),_0x4c79cd=>_0x4c79cd[_0x156357([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34c500=new window[(_0x156357([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x156357([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30b382+_0x156357([0x2e])+_0x5b2298),_0x58cf7e=window[_0x156357([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x156357([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58cf7e)return;const _0x508f1b=await _0x58cf7e[_0x156357([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x156357([0x6a,0x77,0x6b]),_0x1907fd,{[_0x156357([0x6e,0x61,0x6d,0x65])]:_0x156357([0x45,0x43,0x44,0x53,0x41]),[_0x156357([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x156357([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x156357([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58cf7e[_0x156357([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x156357([0x6e,0x61,0x6d,0x65])]:_0x156357([0x45,0x43,0x44,0x53,0x41]),[_0x156357([0x68,0x61,0x73,0x68])]:{[_0x156357([0x6e,0x61,0x6d,0x65])]:_0x156357([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x508f1b,_0x500d47,_0x34c500)||(_0x22d553=!0x1);}}function _0x431c4c(_0xd94c55){return _0xd94c55[_0x156357([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x156357([0x65,0x79]))?JSON[_0x156357([0x70,0x61,0x72,0x73,0x65])](_0x3ea3d0(_0xd94c55)):null;}function _0x3ea3d0(_0x362d4e){return window[_0x156357([0x61,0x74,0x6f,0x62])](_0x362d4e[_0x156357([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x156357([0x2b]))[_0x156357([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x156357([0x2f])));}function _0x3a7f29(_0x2660ee){let _0x522486=0x1505;function _0x50f4f6(_0x54e147){for(let _0x3c26c4=0x0;_0x3c26c4<_0x54e147[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c26c4++){const _0x194708=_0x54e147[_0x156357([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c26c4);_0x522486=(_0x522486<<0x5)+_0x522486+_0x194708,_0x522486&=_0x522486;}}function _0x3be651(_0x5b4294){Array[_0x156357([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b4294)?_0x5b4294[_0x156357([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3be651):_0x5b4294&&typeof _0x5b4294==_0x156357([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x156357([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b4294)[_0x156357([0x73,0x6f,0x72,0x74])]()[_0x156357([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x370896,_0x4d6625])=>{_0x50f4f6(_0x370896),_0x3be651(_0x4d6625);}):_0x50f4f6(window[_0x156357([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b4294));}return _0x3be651(_0x2660ee),_0x522486>>>0x0;}function _0x5609f2(_0x217922){return _0x217922[_0x156357([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x156357([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x156357([0x30]));}function _0x399dad(_0x208204){return _0x208204[_0x156357([0x73,0x70,0x6c,0x69,0x74])]('')[_0x156357([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x156357([0x6a,0x6f,0x69,0x6e])]('');}function _0x521f94(){}function _0x156357(_0x23bca0){const _0x26c0f9=_0x43d4;return _0x23bca0[_0x26c0f9(0x1a3)](_0x328c72=>String[_0x26c0f9(0x1cf)](_0x328c72))[_0x26c0f9(0x1e5)]('');}_0x15cfa3(await _0xb77b3b());}(this);}[_0x2c8525(0x1e2)](){const _0x2f698b=_0x2c8525,_0x131222=this[_0x2f698b(0x1e0)][_0x2f698b(0x1d1)][_0x2f698b(0x1d5)];_0x131222[_0x2f698b(0x1ea)](_0x2f698b(0x1ad))&&_0x131222[_0x2f698b(0x1a7)](_0x2f698b(0x1ad),{'allowAttributes':[_0x2f698b(0x1be)]}),_0x131222[_0x2f698b(0x1ea)](_0x2f698b(0x1b9))&&_0x131222[_0x2f698b(0x1a7)](_0x2f698b(0x1b9),{'allowAttributes':[_0x2f698b(0x1be)]});}[_0x2c8525(0x1c3)](){const _0x376c95=_0x2c8525,_0x3cad29=this[_0x376c95(0x1e0)];_0x3cad29[_0x376c95(0x1e9)][_0x376c95(0x1bd)](_0x376c95(0x1b0))[_0x376c95(0x19d)]({'model':_0x376c95(0x1be),'view':_0x376c95(0x1e4)}),_0x3cad29[_0x376c95(0x1e9)][_0x376c95(0x1bd)](_0x376c95(0x1a1))[_0x376c95(0x1a0)]({'model':{'key':_0x376c95(0x1be),'value':_0x176987=>_0x176987[_0x376c95(0x1ae)](_0x376c95(0x1e4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x40f94c=_0x3cad29[_0x376c95(0x1df)][_0x376c95(0x1d2)](_0x376c95(0x1e6));_0x40f94c&&this[_0x376c95(0x1c9)](_0x40f94c,_0x376c95(0x1c6),(_0x1e7433,[_0x1d1f2f,_0x32af83])=>{const _0x8a1f8c=_0x376c95;_0x1d1f2f[_0x8a1f8c(0x1c4)](_0x8a1f8c(0x1be),_0x32af83);});}[_0x2c8525(0x1dd)](){const _0x4c8d29=_0x2c8525,_0x53e245=this[_0x4c8d29(0x1e0)][_0x4c8d29(0x1dc)][_0x4c8d29(0x1d2)](_0x4c8d29(0x1d8))||{},_0x250dcd=this[_0x4c8d29(0x1e0)][_0x4c8d29(0x1dc)][_0x4c8d29(0x1d2)](_0x4c8d29(0x1e8))||'';this[_0x4c8d29(0x1e3)]=_0x6f644e(_0x421869[_0x4c8d29(0x1e1)],_0x4c8d29(0x1b7),{..._0x53e245,'pubkey':_0x250dcd,'ctx-name':_0x4c8d29(0x1a2)+this[_0x4c8d29(0x1cb)],'sourceList':'','imgOnly':_0x4c8d29(0x1b1),'removeCopyright':_0x4c8d29(0x1b1),'localeName':this[_0x4c8d29(0x1e0)][_0x4c8d29(0x1a8)][_0x4c8d29(0x1c7)],'externalSourcesEmbedCss':_0x4c8d29(0x1ce)}),this[_0x4c8d29(0x1e3)][_0x4c8d29(0x1a4)]=_0x28252c=>{const _0x47ba09=_0x4c8d29;if(_0x47ba09(0x1b8)==_0x28252c)return _0x47ba09(0x1b5);},_0x421869[_0x4c8d29(0x1e1)][_0x4c8d29(0x1b4)][_0x4c8d29(0x1d7)](this[_0x4c8d29(0x1e3)]);}[_0x2c8525(0x1eb)](){const _0x42041b=_0x2c8525;this[_0x42041b(0x19e)]=_0x6f644e(_0x421869[_0x42041b(0x1e1)],_0x42041b(0x1d3),{'ctx-name':_0x42041b(0x1a2)+this[_0x42041b(0x1cb)]}),_0x421869[_0x42041b(0x1e1)][_0x42041b(0x1b4)][_0x42041b(0x1d7)](this[_0x42041b(0x19e)]);}[_0x2c8525(0x1c5)](){const _0x2d3b92=_0x2c8525,_0x1b9f7e=this[_0x2d3b92(0x1e0)][_0x2d3b92(0x1df)][_0x2d3b92(0x1d2)](_0x2d3b92(0x1c2));_0x1b9f7e&&this[_0x2d3b92(0x1c9)](_0x1b9f7e,_0x2d3b92(0x1ed),()=>{const _0x213319=_0x2d3b92,_0x284a84=this[_0x213319(0x1e0)][_0x213319(0x1d1)][_0x213319(0x1e1)][_0x213319(0x1cc)][_0x213319(0x1db)]();_0x284a84&&_0x284a84[_0x213319(0x1ae)](_0x213319(0x1be))&&this[_0x213319(0x1e0)][_0x213319(0x19f)][_0x213319(0x1bc)][_0x213319(0x1af)](_0x213319(0x1bf),()=>{const _0xb156e7=_0x213319;_0x59f2fb(this[_0xb156e7(0x1e0)],_0x284a84);});});const _0x197151=this[_0x2d3b92(0x1e0)][_0x2d3b92(0x1df)][_0x2d3b92(0x1d2)](_0x2d3b92(0x1ca));_0x197151&&this[_0x2d3b92(0x1c9)](_0x197151,_0x2d3b92(0x1ed),()=>{const _0x44e020=_0x2d3b92,_0x8ca05f=this[_0x44e020(0x1e0)][_0x44e020(0x1d1)][_0x44e020(0x1e1)][_0x44e020(0x1cc)][_0x44e020(0x1db)]();_0x8ca05f&&_0x8ca05f[_0x44e020(0x1ae)](_0x44e020(0x1be))&&this[_0x44e020(0x1e0)][_0x44e020(0x19f)][_0x44e020(0x1bc)][_0x44e020(0x1af)](_0x44e020(0x1bf),()=>{const _0x7bfbfc=_0x44e020;_0x59f2fb(this[_0x7bfbfc(0x1e0)],_0x8ca05f);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x44ae7a,ObservableMixin as _0x545daa}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4f7b14}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9c82f5}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4116fa}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23f619}from'../../utils/uploadutils.js';import{getImageUrls as _0x3da9db,getImageDimension as _0x3d0b40}from'../../utils/editingutils.js';import{isAncestor as _0x359310}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x545daa(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x35dbc5,_0x273156,_0x5405a2){super(),this['_editor']=_0x35dbc5,this['_dialog']=_0x273156,this['_imageElement']=_0x5405a2,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 _0x27a99d=this['_imageElement'],_0x50d857=_0x27a99d['getAttribute']('uploadcareImageId'),_0x13909f=_0x27a99d['getAttribute']('src');if(_0x50d857)await this['_loadImageInfo'](_0x50d857,_0x13909f);else{if(this['_imageCache']['has'](_0x13909f)){const _0x1f1f27=this['_imageCache']['get'](_0x13909f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1f1f27['url'],this['imageDimension']=_0x1f1f27['dimension'],this['imageId']=_0x1f1f27['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x15f25a}=this['_editor'],t=_0x15f25a['t'],_0xe6cdb8=new _0x4116fa(_0x15f25a,this['imageStatus'],this['_attributes']);_0xe6cdb8['bind']('status')['to'](this,'imageStatus'),_0xe6cdb8['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xe6cdb8['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xe6cdb8['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xe6cdb8,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9c82f5,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xe6cdb8,'position':_0x4f7b14['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xe6cdb8['focus']();},'onHide':()=>{_0xe6cdb8['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x20ccec=>!_0x359310(_0x20ccec,_0xe6cdb8['element'])}});}['_loadImageInfo'](_0x381163,_0x2d3cbc){return _0x23f619['getInfo'](_0x381163,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xb7bf33=>{const {width:_0xde07e0,height:_0x14c713}=_0xb7bf33['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d3cbc,this['imageDimension']={'width':_0xde07e0,'height':_0x14c713},this['imageId']=_0x381163;})['catch'](_0x38ad06=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38ad06['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x590ec6,_0x112c24){return this['_getImageAsFile'](_0x590ec6)['then'](_0x15f739=>_0x23f619['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x112c24['signal'],'file':_0x15f739,'onProgress':_0x574b25=>{_0x574b25&&_0x574b25['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x574b25['value']));}}))['then'](_0x3e62af=>{const {width:_0x1bc53e,height:_0x465ca3}=_0x3e62af['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e62af['cdnUrl'],this['imageDimension']={'width':_0x1bc53e,'height':_0x465ca3},this['imageId']=_0x3e62af['uuid'],this['imageUploadProgress']=null;const _0xd6d230=_0x590ec6['getAttribute']('src');this['_imageCache']['set'](_0xd6d230,{'id':_0x3e62af['uuid'],'url':_0x3e62af['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x85a320=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x85a320['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x28172c,_0x20b012){_0x28172c['on']('apply',(_0xffbeb1,_0x27cf95)=>{this['_replaceImage'](_0x20b012,_0x27cf95['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x28172c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x28172c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5eec5a,_0xa94fdf,_0x1afbf3){const _0x14370c=this['_editor'],{width:_0x5d2857,height:_0x5747df}=_0x3d0b40(_0xa94fdf,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x44dfdf,imageSources:_0x10dcac}=_0x3da9db(_0xa94fdf,_0x5d2857);_0x14370c['model']['change'](_0x21ace0=>{if('$graveyard'===_0x5eec5a['root']['rootName']){_0x14370c['execute']('insertImage',{'imageType':_0x5eec5a['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5eec5a['getAttributes']()),'uploadcareImageId':_0x1afbf3,'src':_0x44dfdf,'sources':_0x10dcac,'width':_0x5d2857,'height':_0x5747df}});const _0x42a6a4=_0x5eec5a['getChildren']();_0x5eec5a=_0x14370c['model']['document']['selection']['getSelectedElement']();for(const _0x11fbc9 of _0x42a6a4)_0x21ace0['append'](_0x21ace0['cloneElement'](_0x11fbc9),_0x5eec5a);}else _0x21ace0['setSelection'](_0x5eec5a,'on'),_0x14370c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5eec5a['getAttributes']()),'uploadcareImageId':_0x1afbf3,'src':_0x44dfdf,'sources':_0x10dcac,'width':_0x5d2857,'height':_0x5747df},_0x5eec5a);_0x21ace0['setSelection'](_0x5eec5a,'on');});}async['_getImageAsFile'](_0x3e473d){const _0x293dbc=_0x44ae7a['window'],_0x16490b=_0x44ae7a['document']['location']['href'],_0xd1091e=new _0x293dbc['URL'](_0x3e473d['getAttribute']('src'),_0x16490b);if('data:'===_0xd1091e['protocol']){const _0x4ef9e1=_0xd1091e['href']['split'](','),_0x370d78=_0x4ef9e1[0x0]['match'](/:(.*?);/)[0x1],_0x578a67=_0x370d78['split']('/')[0x1],_0x250459=_0x293dbc['atob'](_0x4ef9e1[_0x4ef9e1['length']-0x1]);let _0x4592c8=_0x250459['length'];const _0x278621=new _0x293dbc['Uint8Array'](_0x4592c8);for(;_0x4592c8--;)_0x278621[_0x4592c8]=_0x250459['charCodeAt'](_0x4592c8);return new _0x293dbc['File']([_0x278621],'image.'+_0x578a67,{'type':_0x370d78});}const _0x2b3291=_0xd1091e['href']['split']('/'),_0x48dfd3=_0x2b3291[_0x2b3291['length']-0x1],_0x350ce6=_0x48dfd3['split']('.')[0x1];return _0x293dbc['fetch'](_0xd1091e['href'])['then'](_0x542dee=>_0x542dee['clone']()['blob']())['then'](_0x3422ac=>new _0x293dbc['File']([_0x3422ac],_0x48dfd3,{'type':'image/'+_0x350ce6}));}}
23
+ import{global as _0x35b331,ObservableMixin as _0x54ae93}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2799a4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x37490f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3fed54}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xcf0461}from'../../utils/uploadutils.js';import{getImageUrls as _0x4e77fc,getImageDimension as _0x1bd682}from'../../utils/editingutils.js';import{isAncestor as _0x1eb116}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x54ae93(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2e1ad0,_0x1d2ea6,_0x49f9ad){super(),this['_editor']=_0x2e1ad0,this['_dialog']=_0x1d2ea6,this['_imageElement']=_0x49f9ad,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 _0x17197b=this['_imageElement'],_0x37001a=_0x17197b['getAttribute']('uploadcareImageId'),_0xb5c4d4=_0x17197b['getAttribute']('src');if(_0x37001a)await this['_loadImageInfo'](_0x37001a,_0xb5c4d4);else{if(this['_imageCache']['has'](_0xb5c4d4)){const _0x40b9dc=this['_imageCache']['get'](_0xb5c4d4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40b9dc['url'],this['imageDimension']=_0x40b9dc['dimension'],this['imageId']=_0x40b9dc['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xfd4062}=this['_editor'],t=_0xfd4062['t'],_0x3481f4=new _0x3fed54(_0xfd4062,this['imageStatus'],this['_attributes']);_0x3481f4['bind']('status')['to'](this,'imageStatus'),_0x3481f4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3481f4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3481f4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3481f4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x37490f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3481f4,'position':_0x2799a4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3481f4['focus']();},'onHide':()=>{_0x3481f4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc34fcb=>!_0x1eb116(_0xc34fcb,_0x3481f4['element'])}});}['_loadImageInfo'](_0x44078f,_0x41c993){return _0xcf0461['getInfo'](_0x44078f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x53c901=>{const {width:_0x1c9668,height:_0x3a7d4b}=_0x53c901['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41c993,this['imageDimension']={'width':_0x1c9668,'height':_0x3a7d4b},this['imageId']=_0x44078f;})['catch'](_0x548e31=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x548e31['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d823d,_0x297ae8){return this['_getImageAsFile'](_0x1d823d)['then'](_0x4753e4=>_0xcf0461['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x297ae8['signal'],'file':_0x4753e4,'onProgress':_0x1b07cd=>{_0x1b07cd&&_0x1b07cd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1b07cd['value']));}}))['then'](_0x401a1a=>{const {width:_0xb2a1ac,height:_0x537f88}=_0x401a1a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x401a1a['cdnUrl'],this['imageDimension']={'width':_0xb2a1ac,'height':_0x537f88},this['imageId']=_0x401a1a['uuid'],this['imageUploadProgress']=null;const _0x3946ee=_0x1d823d['getAttribute']('src');this['_imageCache']['set'](_0x3946ee,{'id':_0x401a1a['uuid'],'url':_0x401a1a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5bdc73=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5bdc73['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2d4baa,_0x529dc2){_0x2d4baa['on']('apply',(_0x5619ce,_0x2db6e8)=>{this['_replaceImage'](_0x529dc2,_0x2db6e8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2d4baa['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2d4baa['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1141a6,_0x2f915b,_0x3d938b){const _0x56e34f=this['_editor'],{width:_0x4c8ecf,height:_0x27b150}=_0x1bd682(_0x2f915b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x430876,imageSources:_0xc6cf31}=_0x4e77fc(_0x2f915b,_0x4c8ecf);_0x56e34f['model']['change'](_0x28805d=>{if('$graveyard'===_0x1141a6['root']['rootName']){_0x56e34f['execute']('insertImage',{'imageType':_0x1141a6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1141a6['getAttributes']()),'uploadcareImageId':_0x3d938b,'src':_0x430876,'sources':_0xc6cf31,'width':_0x4c8ecf,'height':_0x27b150}});const _0x4d6cb4=_0x1141a6['getChildren']();_0x1141a6=_0x56e34f['model']['document']['selection']['getSelectedElement']();for(const _0x321618 of _0x4d6cb4)_0x28805d['append'](_0x28805d['cloneElement'](_0x321618),_0x1141a6);}else _0x28805d['setSelection'](_0x1141a6,'on'),_0x56e34f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1141a6['getAttributes']()),'uploadcareImageId':_0x3d938b,'src':_0x430876,'sources':_0xc6cf31,'width':_0x4c8ecf,'height':_0x27b150},_0x1141a6);_0x28805d['setSelection'](_0x1141a6,'on');});}async['_getImageAsFile'](_0x339743){const _0x12bf3c=_0x35b331['window'],_0x4416c9=_0x35b331['document']['location']['href'],_0x3e167c=new _0x12bf3c['URL'](_0x339743['getAttribute']('src'),_0x4416c9);if('data:'===_0x3e167c['protocol']){const _0x10f83e=_0x3e167c['href']['split'](','),_0x3843fd=_0x10f83e[0x0]['match'](/:(.*?);/)[0x1],_0x960d0=_0x3843fd['split']('/')[0x1],_0x118bbe=_0x12bf3c['atob'](_0x10f83e[_0x10f83e['length']-0x1]);let _0x8b1e18=_0x118bbe['length'];const _0x430e87=new _0x12bf3c['Uint8Array'](_0x8b1e18);for(;_0x8b1e18--;)_0x430e87[_0x8b1e18]=_0x118bbe['charCodeAt'](_0x8b1e18);return new _0x12bf3c['File']([_0x430e87],'image.'+_0x960d0,{'type':_0x3843fd});}const _0xa8d2ed=_0x3e167c['href']['split']('/'),_0x3d1084=_0xa8d2ed[_0xa8d2ed['length']-0x1],_0x4a725a=_0x3d1084['split']('.')[0x1];return _0x12bf3c['fetch'](_0x3e167c['href'])['then'](_0x13c64e=>_0x13c64e['clone']()['blob']())['then'](_0x404334=>new _0x12bf3c['File']([_0x404334],_0x3d1084,{'type':'image/'+_0x4a725a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xe0af57,_0x4431a6){const _0x565045=_0x24c6,_0x51026e=_0xe0af57();while(!![]){try{const _0x5f0d1f=-parseInt(_0x565045(0x1d9))/0x1*(parseInt(_0x565045(0x1df))/0x2)+parseInt(_0x565045(0x1ea))/0x3*(-parseInt(_0x565045(0x1e5))/0x4)+-parseInt(_0x565045(0x1e8))/0x5+-parseInt(_0x565045(0x1e1))/0x6+-parseInt(_0x565045(0x1e7))/0x7*(parseInt(_0x565045(0x1de))/0x8)+parseInt(_0x565045(0x1e4))/0x9+parseInt(_0x565045(0x1dc))/0xa*(parseInt(_0x565045(0x1e9))/0xb);if(_0x5f0d1f===_0x4431a6)break;else _0x51026e['push'](_0x51026e['shift']());}catch(_0x2ac619){_0x51026e['push'](_0x51026e['shift']());}}}(_0x23f1,0xcdbda));import{View as _0x45f8e4}from'ckeditor5/src/ui.js';function _0x24c6(_0x423f46,_0x24c105){const _0x23f1c8=_0x23f1();return _0x24c6=function(_0x24c64d,_0xc002b6){_0x24c64d=_0x24c64d-0x1d8;let _0x32506d=_0x23f1c8[_0x24c64d];return _0x32506d;},_0x24c6(_0x423f46,_0x24c105);}function _0x23f1(){const _0x2e9e6a=['2407650bnEUNu','uc-cloud-image-editor','98168nkliTm','17462BZSaiv','imageSrc','4640154AKwTMG','setTemplate','set','5241402nNjETa','10776FLSOrV','ck-uploadcare-theme','497IWlUre','4897450IlBSYN','165wnUciG','411lursyG','image-edit','41PrRsxL','bindTemplate','uc-light'];_0x23f1=function(){return _0x2e9e6a;};return _0x23f1();}export class UploadcareImageEditFormEditingView extends _0x45f8e4{constructor(_0x120a00,_0x4b7923){const _0x41673d=_0x24c6;super(_0x120a00);const _0x9c2875=this[_0x41673d(0x1da)];this[_0x41673d(0x1e3)](_0x41673d(0x1e0),''),this[_0x41673d(0x1e2)]({'tag':_0x41673d(0x1dd),'attributes':{..._0x4b7923,'class':[_0x41673d(0x1db),_0x41673d(0x1e6)],'ctx-name':_0x41673d(0x1d8),'cdn-url':_0x9c2875['to'](_0x41673d(0x1e0))}});}}
23
+ function _0x54ec(_0x28990d,_0x30569f){const _0x2bd085=_0x2bd0();return _0x54ec=function(_0x54ec7d,_0xeb86dd){_0x54ec7d=_0x54ec7d-0x11b;let _0x1d9885=_0x2bd085[_0x54ec7d];return _0x1d9885;},_0x54ec(_0x28990d,_0x30569f);}(function(_0x446716,_0x12a90e){const _0x4eff04=_0x54ec,_0x7f6905=_0x446716();while(!![]){try{const _0x1f5713=-parseInt(_0x4eff04(0x123))/0x1*(parseInt(_0x4eff04(0x11f))/0x2)+-parseInt(_0x4eff04(0x12a))/0x3*(parseInt(_0x4eff04(0x11b))/0x4)+-parseInt(_0x4eff04(0x11d))/0x5*(parseInt(_0x4eff04(0x121))/0x6)+parseInt(_0x4eff04(0x126))/0x7+parseInt(_0x4eff04(0x11c))/0x8+-parseInt(_0x4eff04(0x125))/0x9*(parseInt(_0x4eff04(0x12c))/0xa)+parseInt(_0x4eff04(0x12b))/0xb*(parseInt(_0x4eff04(0x12e))/0xc);if(_0x1f5713===_0x12a90e)break;else _0x7f6905['push'](_0x7f6905['shift']());}catch(_0x373d50){_0x7f6905['push'](_0x7f6905['shift']());}}}(_0x2bd0,0x5708e));import{View as _0x57e2a2}from'ckeditor5/src/ui.js';function _0x2bd0(){const _0x6e4680=['2Vttowg','set','2817OStmZr','188013jOncxt','bindTemplate','setTemplate','ck-uploadcare-theme','3147YkwiJK','22bQUSxd','13190OxvlDa','uc-light','10629768qooDTb','2084hXyJiq','3022928boNtTt','15HLfVXp','uc-cloud-image-editor','661604qUrqQV','imageSrc','397758PoEuxh','image-edit'];_0x2bd0=function(){return _0x6e4680;};return _0x2bd0();}export class UploadcareImageEditFormEditingView extends _0x57e2a2{constructor(_0x3fc498,_0x3f60bb){const _0x3503be=_0x54ec;super(_0x3fc498);const _0x2e0868=this[_0x3503be(0x127)];this[_0x3503be(0x124)](_0x3503be(0x120),''),this[_0x3503be(0x128)]({'tag':_0x3503be(0x11e),'attributes':{..._0x3f60bb,'class':[_0x3503be(0x12d),_0x3503be(0x129)],'ctx-name':_0x3503be(0x122),'cdn-url':_0x2e0868['to'](_0x3503be(0x120))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2e910c}from'ckeditor5/src/icons.js';import{ButtonView as _0x14903d,IconView as _0x3ac606,View as _0x505401}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x505401{constructor(_0x5b1f9a){super(_0x5b1f9a);const t=_0x5b1f9a['t'];this['set']('errorType',null);const _0x209db7=new _0x14903d(_0x5b1f9a);_0x209db7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x209db7['withText']=!0x0,_0x209db7['class']='ck-button-action',_0x209db7['on']('execute',()=>{this['fire']('retry');}),_0x209db7['bind']('isVisible')['to'](this,'errorType',_0x330219=>'NotFound'!==_0x330219);const _0x55441c=new _0x3ac606();_0x55441c['content']=_0x2e910c,_0x55441c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xd31131=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':[_0x55441c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xd31131['to']('errorType',_0x4f25a8=>t('NotFound'!==_0x4f25a8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x209db7]},{'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 _0x506220}from'ckeditor5/src/icons.js';import{ButtonView as _0x21244b,IconView as _0x1707e4,View as _0x256f0b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x256f0b{constructor(_0xf542e4){super(_0xf542e4);const t=_0xf542e4['t'];this['set']('errorType',null);const _0x36b934=new _0x21244b(_0xf542e4);_0x36b934['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x36b934['withText']=!0x0,_0x36b934['class']='ck-button-action',_0x36b934['on']('execute',()=>{this['fire']('retry');}),_0x36b934['bind']('isVisible')['to'](this,'errorType',_0x575cd0=>'NotFound'!==_0x575cd0);const _0x4b99be=new _0x1707e4();_0x4b99be['content']=_0x506220,_0x4b99be['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5339a7=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':[_0x4b99be,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5339a7['to']('errorType',_0x43b225=>t('NotFound'!==_0x43b225?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x36b934]},{'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 _0x28b1ee,View as _0x18c7a7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x18c7a7{constructor(_0xe671c2){super(_0xe671c2);const t=_0xe671c2['t'],_0x5764a8=this['bindTemplate'],_0x4734f7=new _0x28b1ee();_0x4734f7['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':[_0x4734f7,{'text':_0x5764a8['to']('imageUploadProgress',_0xaa8851=>t('Loading\x20image...')+'\x20('+(_0xaa8851||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 _0x24ea7f,View as _0x142621}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x142621{constructor(_0x4d6395){super(_0x4d6395);const t=_0x4d6395['t'],_0x45a7ef=this['bindTemplate'],_0x36ddab=new _0x24ea7f();_0x36ddab['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':[_0x36ddab,{'text':_0x45a7ef['to']('imageUploadProgress',_0x4e44ea=>t('Loading\x20image...')+'\x20('+(_0x4e44ea||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 _0x47c48c=_0x5695;(function(_0x6e3198,_0x11f351){const _0x52ace8=_0x5695,_0x3f5a75=_0x6e3198();while(!![]){try{const _0x37eae6=parseInt(_0x52ace8(0xf6))/0x1*(parseInt(_0x52ace8(0xfa))/0x2)+parseInt(_0x52ace8(0xe2))/0x3*(-parseInt(_0x52ace8(0xe5))/0x4)+parseInt(_0x52ace8(0xec))/0x5+parseInt(_0x52ace8(0xe3))/0x6+-parseInt(_0x52ace8(0xe4))/0x7*(parseInt(_0x52ace8(0x102))/0x8)+-parseInt(_0x52ace8(0x106))/0x9*(-parseInt(_0x52ace8(0xeb))/0xa)+-parseInt(_0x52ace8(0x115))/0xb*(parseInt(_0x52ace8(0x114))/0xc);if(_0x37eae6===_0x11f351)break;else _0x3f5a75['push'](_0x3f5a75['shift']());}catch(_0x3b18e2){_0x3f5a75['push'](_0x3f5a75['shift']());}}}(_0x3530,0x22f14));import{View as _0x2235a5}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x52ca0e}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3efc05}from'./uploadcareimageeditformerrorview.js';function _0x5695(_0x87dda6,_0x7e243b){const _0x35304d=_0x3530();return _0x5695=function(_0x5695ad,_0x4a9b43){_0x5695ad=_0x5695ad-0xe1;let _0x22540a=_0x35304d[_0x5695ad];return _0x22540a;},_0x5695(_0x87dda6,_0x7e243b);}function _0x3530(){const _0x32f3fe=['1458264pffGRP','11ExUnqt','setTemplate','toLowerCase','focus','addEventListener','_focusableView','279987rOnvNZ','1676304BSuzZa','42LynzaP','8GZZCuy','_waitForImageEditorComponent','retry','_addErrorViewListeners','length','detail','1046410maTSoy','628070ZNulax','cdnUrl','nodeName','_editingView','_addUploadcareImageEditorListeners','ready','add','disconnect','change:status','cancel','3CGdURd','div','createCollection','uc-cloud-image-editor','70974dREUaS','_loadingView','_items','set','clear','ck-uploadcare-form','observe','querySelector','219728LNPJGt','element','getFocusableElement','filter','9bgkkkv','addMany','ck-reset_all-excluded','addedNodes','error','apply','target','fire','_setView','once','render','status','_errorView','uploading'];_0x3530=function(){return _0x32f3fe;};return _0x3530();}import{UploadcareImageEditFormEditingView as _0x565749}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x200d01}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x200d01{[_0x47c48c(0xfc)];[_0x47c48c(0xfb)];[_0x47c48c(0x112)];[_0x47c48c(0xef)];[_0x47c48c(0xe1)];constructor(_0x4f5185,_0x3a71e9,_0x4df1f7){const _0x48717d=_0x47c48c;super(_0x4f5185),this[_0x48717d(0xfc)]=this[_0x48717d(0xf8)](),this[_0x48717d(0xfb)]=new _0x52ca0e(_0x4f5185),this[_0x48717d(0x112)]=new _0x3efc05(_0x4f5185),this[_0x48717d(0xef)]=new _0x565749(_0x4f5185,_0x4df1f7),this[_0x48717d(0xe1)]=new _0x2235a5(_0x4f5185),this[_0x48717d(0xe1)][_0x48717d(0x116)](this[_0x48717d(0x104)]()),this[_0x48717d(0xfd)](_0x48717d(0x111),_0x3a71e9),this[_0x48717d(0x116)]({'tag':_0x48717d(0xf7),'attributes':{'class':['ck',_0x48717d(0x108),_0x48717d(0xff)],'tabindex':'-1'},'children':this[_0x48717d(0xfc)]}),this[_0x48717d(0x10e)](),this[_0x48717d(0x10f)](_0x48717d(0x110),()=>{const _0x30f23d=_0x48717d;this[_0x30f23d(0xe6)](this[_0x30f23d(0x103)],_0x6c256e=>{const _0x3558ed=_0x30f23d;this[_0x3558ed(0xf0)](_0x6c256e);});}),this['on'](_0x48717d(0xf4),()=>{const _0x574d06=_0x48717d;this[_0x574d06(0x10e)]();}),this[_0x48717d(0xe8)]();}[_0x47c48c(0x118)](){const _0x33df98=_0x47c48c;this[_0x33df98(0x103)][_0x33df98(0x118)]();}[_0x47c48c(0x10e)](){const _0x2e94f6=_0x47c48c;switch(this[_0x2e94f6(0xfc)][_0x2e94f6(0xfe)](),this[_0x2e94f6(0x111)]){case _0x2e94f6(0x113):this[_0x2e94f6(0xfc)][_0x2e94f6(0xf2)](this[_0x2e94f6(0xfb)]);break;case _0x2e94f6(0x10a):this[_0x2e94f6(0xfc)][_0x2e94f6(0xf2)](this[_0x2e94f6(0x112)]);break;case _0x2e94f6(0xf1):this[_0x2e94f6(0xfc)][_0x2e94f6(0x107)]([this[_0x2e94f6(0xef)],this[_0x2e94f6(0xe1)]]);}}[_0x47c48c(0xe6)](_0x1b72aa,_0x4418d6){const _0x553351=_0x47c48c,_0x4bfd51=_0x553351(0xf9),_0x4b0b7c=_0x1b72aa[_0x553351(0x101)](_0x4bfd51);if(_0x4b0b7c)return _0x4418d6(_0x4b0b7c);const _0x5ed17e=new MutationObserver(_0x5acffd=>{const _0x4eabb4=_0x553351,_0x35106d=_0x5acffd[_0x4eabb4(0x105)](_0x48d888=>_0x48d888[_0x4eabb4(0x10c)]===_0x1b72aa&&_0x48d888[_0x4eabb4(0x109)][_0x4eabb4(0xe9)]>0x0&&_0x48d888[_0x4eabb4(0x109)][0x0][_0x4eabb4(0xee)][_0x4eabb4(0x117)]()===_0x4bfd51);_0x35106d[_0x4eabb4(0xe9)]&&(_0x5ed17e[_0x4eabb4(0xf3)](),_0x4418d6(_0x35106d[0x0][_0x4eabb4(0x109)][0x0]));});_0x5ed17e[_0x553351(0x100)](_0x1b72aa,{'childList':!0x0,'subtree':!0x0});}[_0x47c48c(0xf0)](_0x3182bf){const _0x378e4d=_0x47c48c;_0x3182bf[_0x378e4d(0x119)](_0x378e4d(0x10b),_0x4649e6=>{const _0x421704=_0x378e4d;this[_0x421704(0x10d)](_0x421704(0x10b),{'imageSrc':_0x4649e6[_0x421704(0xea)][_0x421704(0xed)]});}),_0x3182bf[_0x378e4d(0x119)](_0x378e4d(0xf5),()=>{const _0x904e73=_0x378e4d;this[_0x904e73(0x10d)](_0x904e73(0xf5));});}[_0x47c48c(0xe8)](){const _0x3547f9=_0x47c48c;this[_0x3547f9(0x112)]['on'](_0x3547f9(0xe7),()=>{const _0x1bd5c2=_0x3547f9;this[_0x1bd5c2(0x10d)](_0x1bd5c2(0xe7));});}}
23
+ const _0x4a5f14=_0x2912;(function(_0x5ad86c,_0x49331d){const _0x351667=_0x2912,_0xa43fa6=_0x5ad86c();while(!![]){try{const _0x5a3ec1=parseInt(_0x351667(0x8f))/0x1*(-parseInt(_0x351667(0xb2))/0x2)+-parseInt(_0x351667(0xab))/0x3+-parseInt(_0x351667(0x96))/0x4*(parseInt(_0x351667(0x8b))/0x5)+-parseInt(_0x351667(0x8c))/0x6+parseInt(_0x351667(0x7f))/0x7+-parseInt(_0x351667(0x91))/0x8*(parseInt(_0x351667(0xa9))/0x9)+parseInt(_0x351667(0xae))/0xa;if(_0x5a3ec1===_0x49331d)break;else _0xa43fa6['push'](_0xa43fa6['shift']());}catch(_0x156ca8){_0xa43fa6['push'](_0xa43fa6['shift']());}}}(_0x25c7,0x6bdd3));import{View as _0x759ec8}from'ckeditor5/src/ui.js';function _0x25c7(){const _0x1a5727=['getFocusableElement','div','2262339wYYKup','ck-reset_all-excluded','1904121SumUdz','uploading','disconnect','30038800lGdGwS','set','render','fire','17132PNUzmV','_addErrorViewListeners','focus','addedNodes','1062929ZWQgAB','target','querySelector','addMany','_setView','retry','_waitForImageEditorComponent','filter','apply','nodeName','createCollection','observe','263510nfBzDh','4406322omyUJQ','error','once','86LElQKP','element','16Wryudp','_editingView','cancel','change:status','setTemplate','8KWdsPU','_items','toLowerCase','detail','uc-cloud-image-editor','_loadingView','_errorView','clear','length','cdnUrl','add','addEventListener','ck-uploadcare-form','status','ready','_addUploadcareImageEditorListeners','_focusableView'];_0x25c7=function(){return _0x1a5727;};return _0x25c7();}import{UploadcareImageEditFormLoadingView as _0x109a12}from'./uploadcareimageeditformloadingview.js';function _0x2912(_0x5a9beb,_0x47f3b8){const _0x25c709=_0x25c7();return _0x2912=function(_0x2912a8,_0x1ec041){_0x2912a8=_0x2912a8-0x7f;let _0x77c5f7=_0x25c709[_0x2912a8];return _0x77c5f7;},_0x2912(_0x5a9beb,_0x47f3b8);}import{UploadcareImageEditFormErrorView as _0x27e126}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x49636f}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1247b4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1247b4{[_0x4a5f14(0x97)];[_0x4a5f14(0x9b)];[_0x4a5f14(0x9c)];[_0x4a5f14(0x92)];[_0x4a5f14(0xa6)];constructor(_0x1ecb40,_0x4c7b40,_0x377d61){const _0x33b160=_0x4a5f14;super(_0x1ecb40),this[_0x33b160(0x97)]=this[_0x33b160(0x89)](),this[_0x33b160(0x9b)]=new _0x109a12(_0x1ecb40),this[_0x33b160(0x9c)]=new _0x27e126(_0x1ecb40),this[_0x33b160(0x92)]=new _0x49636f(_0x1ecb40,_0x377d61),this[_0x33b160(0xa6)]=new _0x759ec8(_0x1ecb40),this[_0x33b160(0xa6)][_0x33b160(0x95)](this[_0x33b160(0xa7)]()),this[_0x33b160(0xaf)](_0x33b160(0xa3),_0x4c7b40),this[_0x33b160(0x95)]({'tag':_0x33b160(0xa8),'attributes':{'class':['ck',_0x33b160(0xaa),_0x33b160(0xa2)],'tabindex':'-1'},'children':this[_0x33b160(0x97)]}),this[_0x33b160(0x83)](),this[_0x33b160(0x8e)](_0x33b160(0xb0),()=>{const _0x2c3579=_0x33b160;this[_0x2c3579(0x85)](this[_0x2c3579(0x90)],_0x582f31=>{const _0x5da184=_0x2c3579;this[_0x5da184(0xa5)](_0x582f31);});}),this['on'](_0x33b160(0x94),()=>{const _0x157aa0=_0x33b160;this[_0x157aa0(0x83)]();}),this[_0x33b160(0xb3)]();}[_0x4a5f14(0xb4)](){const _0x50bb08=_0x4a5f14;this[_0x50bb08(0x90)][_0x50bb08(0xb4)]();}[_0x4a5f14(0x83)](){const _0x5bb4cb=_0x4a5f14;switch(this[_0x5bb4cb(0x97)][_0x5bb4cb(0x9d)](),this[_0x5bb4cb(0xa3)]){case _0x5bb4cb(0xac):this[_0x5bb4cb(0x97)][_0x5bb4cb(0xa0)](this[_0x5bb4cb(0x9b)]);break;case _0x5bb4cb(0x8d):this[_0x5bb4cb(0x97)][_0x5bb4cb(0xa0)](this[_0x5bb4cb(0x9c)]);break;case _0x5bb4cb(0xa4):this[_0x5bb4cb(0x97)][_0x5bb4cb(0x82)]([this[_0x5bb4cb(0x92)],this[_0x5bb4cb(0xa6)]]);}}[_0x4a5f14(0x85)](_0x3983c7,_0xb7e177){const _0xe31bd1=_0x4a5f14,_0x20936d=_0xe31bd1(0x9a),_0xa276ed=_0x3983c7[_0xe31bd1(0x81)](_0x20936d);if(_0xa276ed)return _0xb7e177(_0xa276ed);const _0x565584=new MutationObserver(_0x5547f4=>{const _0x3cb546=_0xe31bd1,_0x1b8afa=_0x5547f4[_0x3cb546(0x86)](_0x5b603a=>_0x5b603a[_0x3cb546(0x80)]===_0x3983c7&&_0x5b603a[_0x3cb546(0xb5)][_0x3cb546(0x9e)]>0x0&&_0x5b603a[_0x3cb546(0xb5)][0x0][_0x3cb546(0x88)][_0x3cb546(0x98)]()===_0x20936d);_0x1b8afa[_0x3cb546(0x9e)]&&(_0x565584[_0x3cb546(0xad)](),_0xb7e177(_0x1b8afa[0x0][_0x3cb546(0xb5)][0x0]));});_0x565584[_0xe31bd1(0x8a)](_0x3983c7,{'childList':!0x0,'subtree':!0x0});}[_0x4a5f14(0xa5)](_0x508a93){const _0x2b6d9e=_0x4a5f14;_0x508a93[_0x2b6d9e(0xa1)](_0x2b6d9e(0x87),_0x236146=>{const _0xccda5c=_0x2b6d9e;this[_0xccda5c(0xb1)](_0xccda5c(0x87),{'imageSrc':_0x236146[_0xccda5c(0x99)][_0xccda5c(0x9f)]});}),_0x508a93[_0x2b6d9e(0xa1)](_0x2b6d9e(0x93),()=>{const _0x3cb793=_0x2b6d9e;this[_0x3cb793(0xb1)](_0x3cb793(0x93));});}[_0x4a5f14(0xb3)](){const _0xc3f518=_0x4a5f14;this[_0xc3f518(0x9c)]['on'](_0xc3f518(0x84),()=>{const _0x17bda5=_0xc3f518;this[_0x17bda5(0xb1)](_0x17bda5(0x84));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e1648=_0x2b75;(function(_0x5a1541,_0x3b2264){const _0x53fa82=_0x2b75,_0x12aa5a=_0x5a1541();while(!![]){try{const _0x31f95f=parseInt(_0x53fa82(0x14a))/0x1*(-parseInt(_0x53fa82(0x14c))/0x2)+parseInt(_0x53fa82(0x166))/0x3*(parseInt(_0x53fa82(0x15d))/0x4)+parseInt(_0x53fa82(0x150))/0x5*(parseInt(_0x53fa82(0x169))/0x6)+parseInt(_0x53fa82(0x152))/0x7*(-parseInt(_0x53fa82(0x162))/0x8)+-parseInt(_0x53fa82(0x165))/0x9+-parseInt(_0x53fa82(0x161))/0xa+parseInt(_0x53fa82(0x160))/0xb*(parseInt(_0x53fa82(0x157))/0xc);if(_0x31f95f===_0x3b2264)break;else _0x12aa5a['push'](_0x12aa5a['shift']());}catch(_0x53dabd){_0x12aa5a['push'](_0x12aa5a['shift']());}}}(_0x3617,0x2dbae));import{Command as _0x3c4286}from'ckeditor5/src/core.js';function _0x2b75(_0x573355,_0x4cf50a){const _0x361755=_0x3617();return _0x2b75=function(_0x2b7588,_0x17620d){_0x2b7588=_0x2b7588-0x14a;let _0x5ef7a6=_0x361755[_0x2b7588];return _0x5ef7a6;},_0x2b75(_0x573355,_0x4cf50a);}import{Dialog as _0x341a43}from'ckeditor5/src/ui.js';function _0x3617(){const _0x25398c=['editor','16049UNwrNo','1120960kCehDd','8uuIjHT','plugins','model','1097730bvxdod','9087LACEla','execute','refresh','129588yyqWaG','isActive','document','1FJCvLA','requires','555670HNaaIQ','_isEditable','set','config','40OgrPyt','imageInline','1221353zHYbmc','selection','isEnabled','uploadcare.allowExternalImagesEditing','element','3996YncxtK','unbind','get','imageBlock','bind','imageEditController','284CiJnkh','getSelectedElement'];_0x3617=function(){return _0x25398c;};return _0x3617();}import{UploadcareImageEditController as _0x36ea1e}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2e1cc0}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3c4286{[_0x4e1648(0x15c)];static get[_0x4e1648(0x14b)](){return[_0x341a43];}[_0x4e1648(0x14d)];constructor(_0xe7a162){const _0x2d9f9e=_0x4e1648;super(_0xe7a162),this[_0x2d9f9e(0x15c)]=void 0x0,this[_0x2d9f9e(0x14d)]=_0x2e1cc0(_0xe7a162[_0x2d9f9e(0x14f)][_0x2d9f9e(0x159)](_0x2d9f9e(0x155))||[]),this[_0x2d9f9e(0x14e)]({'isActive':!0x1});}[_0x4e1648(0x168)](){const _0x5b2299=_0x4e1648,_0x3238c4=this[_0x5b2299(0x15f)][_0x5b2299(0x164)][_0x5b2299(0x16b)][_0x5b2299(0x153)][_0x5b2299(0x15e)]();this[_0x5b2299(0x154)]=this[_0x5b2299(0x14d)](_0x3238c4);}[_0x4e1648(0x167)](){const _0x32cad5=_0x4e1648;this[_0x32cad5(0x15c)]&&(this[_0x32cad5(0x158)](_0x32cad5(0x16a)),this[_0x32cad5(0x15c)]=void 0x0);const _0x594015=this[_0x32cad5(0x15f)][_0x32cad5(0x164)][_0x32cad5(0x16b)][_0x32cad5(0x153)][_0x32cad5(0x15e)]();_0x594015&&(_0x594015['is'](_0x32cad5(0x156),_0x32cad5(0x15a))||_0x594015['is'](_0x32cad5(0x156),_0x32cad5(0x151)))&&(this[_0x32cad5(0x15c)]=new _0x36ea1e(this[_0x32cad5(0x15f)],this[_0x32cad5(0x15f)][_0x32cad5(0x163)][_0x32cad5(0x159)](_0x341a43),_0x594015),this[_0x32cad5(0x15b)](_0x32cad5(0x16a))['to'](this[_0x32cad5(0x15c)],_0x32cad5(0x16a)));}}
23
+ const _0x1b71de=_0x4865;(function(_0x58a3c6,_0x5156dc){const _0x33b6b2=_0x4865,_0x49ca9d=_0x58a3c6();while(!![]){try{const _0x3ad6f2=parseInt(_0x33b6b2(0x1b9))/0x1*(parseInt(_0x33b6b2(0x1b7))/0x2)+parseInt(_0x33b6b2(0x1af))/0x3+parseInt(_0x33b6b2(0x1b5))/0x4+-parseInt(_0x33b6b2(0x1b4))/0x5+-parseInt(_0x33b6b2(0x1a5))/0x6*(-parseInt(_0x33b6b2(0x1a1))/0x7)+parseInt(_0x33b6b2(0x1b6))/0x8*(-parseInt(_0x33b6b2(0x1be))/0x9)+parseInt(_0x33b6b2(0x1b0))/0xa*(-parseInt(_0x33b6b2(0x1c0))/0xb);if(_0x3ad6f2===_0x5156dc)break;else _0x49ca9d['push'](_0x49ca9d['shift']());}catch(_0x22b027){_0x49ca9d['push'](_0x49ca9d['shift']());}}}(_0x282f,0x3de3a));import{Command as _0x31e637}from'ckeditor5/src/core.js';import{Dialog as _0x4e5354}from'ckeditor5/src/ui.js';function _0x4865(_0x2c2bba,_0x1e897c){const _0x282ff8=_0x282f();return _0x4865=function(_0x486572,_0x30ed74){_0x486572=_0x486572-0x1a0;let _0x4bc119=_0x282ff8[_0x486572];return _0x4bc119;},_0x4865(_0x2c2bba,_0x1e897c);}import{UploadcareImageEditController as _0x5068f5}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1b9b02}from'../utils/editingutils.js';function _0x282f(){const _0x4dc6be=['1358820wrjnwG','24MQQouU','75598qWXnwN','getSelectedElement','3DrWxHf','editor','isEnabled','plugins','document','214713RNHczh','selection','48587kdSJiD','unbind','1953833iwpSjr','_isEditable','model','element','6ZDVthz','execute','set','bind','imageBlock','refresh','imageInline','uploadcare.allowExternalImagesEditing','requires','get','1178946Bdjlyh','1300YnQbUU','isActive','config','imageEditController','1129620ckyknw'];_0x282f=function(){return _0x4dc6be;};return _0x282f();}export class UploadcareImageEditCommand extends _0x31e637{[_0x1b71de(0x1b3)];static get[_0x1b71de(0x1ad)](){return[_0x4e5354];}[_0x1b71de(0x1a2)];constructor(_0x1679f1){const _0x152c01=_0x1b71de;super(_0x1679f1),this[_0x152c01(0x1b3)]=void 0x0,this[_0x152c01(0x1a2)]=_0x1b9b02(_0x1679f1[_0x152c01(0x1b2)][_0x152c01(0x1ae)](_0x152c01(0x1ac))||[]),this[_0x152c01(0x1a7)]({'isActive':!0x1});}[_0x1b71de(0x1aa)](){const _0x4ce03c=_0x1b71de,_0x49252a=this[_0x4ce03c(0x1ba)][_0x4ce03c(0x1a3)][_0x4ce03c(0x1bd)][_0x4ce03c(0x1bf)][_0x4ce03c(0x1b8)]();this[_0x4ce03c(0x1bb)]=this[_0x4ce03c(0x1a2)](_0x49252a);}[_0x1b71de(0x1a6)](){const _0x426006=_0x1b71de;this[_0x426006(0x1b3)]&&(this[_0x426006(0x1a0)](_0x426006(0x1b1)),this[_0x426006(0x1b3)]=void 0x0);const _0x3c69b3=this[_0x426006(0x1ba)][_0x426006(0x1a3)][_0x426006(0x1bd)][_0x426006(0x1bf)][_0x426006(0x1b8)]();_0x3c69b3&&(_0x3c69b3['is'](_0x426006(0x1a4),_0x426006(0x1a9))||_0x3c69b3['is'](_0x426006(0x1a4),_0x426006(0x1ab)))&&(this[_0x426006(0x1b3)]=new _0x5068f5(this[_0x426006(0x1ba)],this[_0x426006(0x1ba)][_0x426006(0x1bc)][_0x426006(0x1ae)](_0x4e5354),_0x3c69b3),this[_0x426006(0x1a8)](_0x426006(0x1b1))['to'](this[_0x426006(0x1b3)],_0x426006(0x1b1)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x593bf2=_0x3754;(function(_0x41ddd4,_0x20e3bd){const _0x491cce=_0x3754,_0x2093e8=_0x41ddd4();while(!![]){try{const _0x13db49=-parseInt(_0x491cce(0x17d))/0x1*(-parseInt(_0x491cce(0x17a))/0x2)+parseInt(_0x491cce(0x16d))/0x3+-parseInt(_0x491cce(0x179))/0x4*(parseInt(_0x491cce(0x181))/0x5)+parseInt(_0x491cce(0x171))/0x6+-parseInt(_0x491cce(0x176))/0x7+parseInt(_0x491cce(0x173))/0x8+parseInt(_0x491cce(0x17f))/0x9;if(_0x13db49===_0x20e3bd)break;else _0x2093e8['push'](_0x2093e8['shift']());}catch(_0x1daefb){_0x2093e8['push'](_0x2093e8['shift']());}}}(_0x17c3,0x659f7));import{Plugin as _0x56e64e}from'ckeditor5/src/core.js';function _0x3754(_0x4b8fc1,_0x926e9a){const _0x17c34c=_0x17c3();return _0x3754=function(_0x3754a1,_0x2027ca){_0x3754a1=_0x3754a1-0x16d;let _0x5f4cad=_0x17c34c[_0x3754a1];return _0x5f4cad;},_0x3754(_0x4b8fc1,_0x926e9a);}import{Notification as _0x440d7a}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0xf1ae5}from'./uploadcareimageeditcommand.js';function _0x17c3(){const _0x5a48b8=['isOfficialPlugin','1358520egRgbu','705189KGJhcc','ImageUtils','add','uploadcareImageReplace','235566PryqKy','pluginName','2133128aFnpbG','ImageEditing','UploadcareImageEditEditing','4020863sumDeb','isPremiumPlugin','commands','12BPgQOO','1596390NOWhUn','init','uploadcareImageEdit','1SMCSHC','requires','4199472FaAvyY'];_0x17c3=function(){return _0x5a48b8;};return _0x17c3();}import{UploadcareImageReplaceCommand as _0x3878c0}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x18e343}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x56e64e{static get[_0x593bf2(0x172)](){const _0x49e412=_0x593bf2;return _0x49e412(0x175);}static get[_0x593bf2(0x17e)](){const _0x190b0e=_0x593bf2;return[_0x18e343,_0x440d7a,_0x190b0e(0x16e),_0x190b0e(0x174)];}static get[_0x593bf2(0x180)](){return!0x0;}static get[_0x593bf2(0x177)](){return!0x0;}[_0x593bf2(0x17b)](){const _0x434ff2=_0x593bf2,{editor:_0x41b1de}=this;_0x41b1de[_0x434ff2(0x178)][_0x434ff2(0x16f)](_0x434ff2(0x17c),new _0xf1ae5(_0x41b1de)),_0x41b1de[_0x434ff2(0x178)][_0x434ff2(0x16f)](_0x434ff2(0x170),new _0x3878c0(_0x41b1de));}}
23
+ const _0x3bbc34=_0x34d6;(function(_0x48c4a7,_0x34419e){const _0x421e93=_0x34d6,_0x748ec7=_0x48c4a7();while(!![]){try{const _0x2e631c=-parseInt(_0x421e93(0x1db))/0x1*(parseInt(_0x421e93(0x1cc))/0x2)+-parseInt(_0x421e93(0x1ca))/0x3+-parseInt(_0x421e93(0x1cd))/0x4+-parseInt(_0x421e93(0x1cf))/0x5*(-parseInt(_0x421e93(0x1d2))/0x6)+-parseInt(_0x421e93(0x1d3))/0x7+-parseInt(_0x421e93(0x1d7))/0x8*(-parseInt(_0x421e93(0x1d4))/0x9)+-parseInt(_0x421e93(0x1dd))/0xa*(-parseInt(_0x421e93(0x1ce))/0xb);if(_0x2e631c===_0x34419e)break;else _0x748ec7['push'](_0x748ec7['shift']());}catch(_0x3db847){_0x748ec7['push'](_0x748ec7['shift']());}}}(_0x38ca,0xe0bec));import{Plugin as _0x120ba6}from'ckeditor5/src/core.js';function _0x38ca(){const _0x54e278=['2662324xqXTgs','29239144JKkAoo','715YKJhtY','isPremiumPlugin','uploadcareImageEdit','7404QdarCv','1011710BpNbfs','4626XNhmUp','commands','ImageEditing','15592LzBbXx','isOfficialPlugin','add','init','3WIvurj','requires','10CINoWM','uploadcareImageReplace','pluginName','UploadcareImageEditEditing','3354903zfRQka','ImageUtils','658256rUuKuk'];_0x38ca=function(){return _0x54e278;};return _0x38ca();}import{Notification as _0x579659}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5ba0cf}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3b5268}from'./uploadcareimagereplacecommand.js';function _0x34d6(_0x1dd187,_0x4bcb8d){const _0x38ca02=_0x38ca();return _0x34d6=function(_0x34d6a1,_0x57e71b){_0x34d6a1=_0x34d6a1-0x1c7;let _0x748c93=_0x38ca02[_0x34d6a1];return _0x748c93;},_0x34d6(_0x1dd187,_0x4bcb8d);}import{UploadcareEditing as _0x5955da}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x120ba6{static get[_0x3bbc34(0x1c8)](){const _0x39f174=_0x3bbc34;return _0x39f174(0x1c9);}static get[_0x3bbc34(0x1dc)](){const _0x2b3fe0=_0x3bbc34;return[_0x5955da,_0x579659,_0x2b3fe0(0x1cb),_0x2b3fe0(0x1d6)];}static get[_0x3bbc34(0x1d8)](){return!0x0;}static get[_0x3bbc34(0x1d0)](){return!0x0;}[_0x3bbc34(0x1da)](){const _0x13dab7=_0x3bbc34,{editor:_0x109805}=this;_0x109805[_0x13dab7(0x1d5)][_0x13dab7(0x1d9)](_0x13dab7(0x1d1),new _0x5ba0cf(_0x109805)),_0x109805[_0x13dab7(0x1d5)][_0x13dab7(0x1d9)](_0x13dab7(0x1c7),new _0x3b5268(_0x109805));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a416b}from'ckeditor5/src/core.js';import{ButtonView as _0x578fcb}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x28eaac}from'ckeditor5/src/icons.js';import{createElement as _0x30b9fb}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 _0x5a416b{['_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 _0x2834f6=this['editor'];_0x2834f6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x41eb69=>{const _0x21ae20=_0x2834f6['commands']['get']('uploadcareImageEdit'),_0x5242c6=new _0x578fcb(_0x41eb69),t=_0x41eb69['t'];return _0x5242c6['set']({'icon':_0x28eaac,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5242c6['bind']('isEnabled')['to'](_0x21ae20),_0x5242c6['bind']('isOn')['to'](_0x21ae20,'isActive'),this['listenTo'](_0x5242c6,'execute',()=>{_0x2834f6['execute']('uploadcareImageEdit'),_0x2834f6['editing']['view']['focus']();}),_0x5242c6;}),this['_initConfig']();}['_initConfig'](){const _0x1f5e19=_0x30b9fb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1f5e19),this['listenTo'](this['editor'],'destroy',()=>{_0x1f5e19['remove']();});}}
23
+ import{Plugin as _0xa2a92b}from'ckeditor5/src/core.js';import{ButtonView as _0x4e061d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x206d0c}from'ckeditor5/src/icons.js';import{createElement as _0x529a5c}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 _0xa2a92b{['_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 _0x44b253=this['editor'];_0x44b253['ui']['componentFactory']['add']('uploadcareImageEdit',_0x374eb7=>{const _0x5ba553=_0x44b253['commands']['get']('uploadcareImageEdit'),_0x1837dc=new _0x4e061d(_0x374eb7),t=_0x374eb7['t'];return _0x1837dc['set']({'icon':_0x206d0c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1837dc['bind']('isEnabled')['to'](_0x5ba553),_0x1837dc['bind']('isOn')['to'](_0x5ba553,'isActive'),this['listenTo'](_0x1837dc,'execute',()=>{_0x44b253['execute']('uploadcareImageEdit'),_0x44b253['editing']['view']['focus']();}),_0x1837dc;}),this['_initConfig']();}['_initConfig'](){const _0x230325=_0x529a5c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x230325),this['listenTo'](this['editor'],'destroy',()=>{_0x230325['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5193(){const _0x45a428=['505445InpLHS','sizes','12kJbtOF','setAttributes','72ZdrqId','168550FcwqYG','refresh','1287eEJhuu','10pbkjGN','document','getSelectedElement','447zNWuIJ','imageInline','change','41952oZkFuy','element','editor','execute','isEnabled','1604NnGMjX','selection','imageBlock','1548963TwTDXj','825812ZerzNf','146517nyLnnh','model','srcset','removeAttribute'];_0x5193=function(){return _0x45a428;};return _0x5193();}const _0x20e1e3=_0x52d1;(function(_0x30b34a,_0x37d02d){const _0x4ac436=_0x52d1,_0x2c2766=_0x30b34a();while(!![]){try{const _0x39556d=-parseInt(_0x4ac436(0xc5))/0x1+parseInt(_0x4ac436(0xb7))/0x2*(-parseInt(_0x4ac436(0xaf))/0x3)+parseInt(_0x4ac436(0xbb))/0x4+parseInt(_0x4ac436(0xc0))/0x5*(-parseInt(_0x4ac436(0xc2))/0x6)+parseInt(_0x4ac436(0xbc))/0x7*(parseInt(_0x4ac436(0xc4))/0x8)+-parseInt(_0x4ac436(0xba))/0x9*(parseInt(_0x4ac436(0xac))/0xa)+-parseInt(_0x4ac436(0xab))/0xb*(-parseInt(_0x4ac436(0xb2))/0xc);if(_0x39556d===_0x37d02d)break;else _0x2c2766['push'](_0x2c2766['shift']());}catch(_0x12197e){_0x2c2766['push'](_0x2c2766['shift']());}}}(_0x5193,0x228db));function _0x52d1(_0x5c510b,_0x263abe){const _0x519371=_0x5193();return _0x52d1=function(_0x52d1f4,_0x75295b){_0x52d1f4=_0x52d1f4-0xaa;let _0xe9315b=_0x519371[_0x52d1f4];return _0xe9315b;},_0x52d1(_0x5c510b,_0x263abe);}import{Command as _0x550ea7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x550ea7{[_0x20e1e3(0xaa)](){const _0x359c1f=_0x20e1e3,_0xa12b7d=this[_0x359c1f(0xb4)][_0x359c1f(0xbd)][_0x359c1f(0xad)][_0x359c1f(0xb8)][_0x359c1f(0xae)]();this[_0x359c1f(0xb6)]=Boolean(_0xa12b7d&&(_0xa12b7d['is'](_0x359c1f(0xb3),_0x359c1f(0xb9))||_0xa12b7d['is'](_0x359c1f(0xb3),_0x359c1f(0xb0))));}[_0x20e1e3(0xb5)](_0x16535b){const _0x13e241=_0x20e1e3,_0x40bd26=this[_0x13e241(0xb4)][_0x13e241(0xbd)][_0x13e241(0xad)][_0x13e241(0xb8)][_0x13e241(0xae)]();this[_0x13e241(0xb4)][_0x13e241(0xbd)][_0x13e241(0xb1)](_0x22f3c4=>{const _0x4c86cc=_0x13e241;_0x22f3c4[_0x4c86cc(0xc3)](_0x16535b,_0x40bd26),_0x22f3c4[_0x4c86cc(0xbf)](_0x4c86cc(0xbe),_0x40bd26),_0x22f3c4[_0x4c86cc(0xbf)](_0x4c86cc(0xc1),_0x40bd26);});}}
23
+ const _0x1933a1=_0x1810;function _0x1810(_0x5cb9bc,_0x21bed7){const _0x27bcac=_0x27bc();return _0x1810=function(_0x181094,_0x2a78c8){_0x181094=_0x181094-0x8d;let _0x18de21=_0x27bcac[_0x181094];return _0x18de21;},_0x1810(_0x5cb9bc,_0x21bed7);}(function(_0x58427a,_0x52d09e){const _0x415d36=_0x1810,_0x16d08e=_0x58427a();while(!![]){try{const _0x54b7fd=parseInt(_0x415d36(0x95))/0x1*(-parseInt(_0x415d36(0x99))/0x2)+parseInt(_0x415d36(0x91))/0x3*(parseInt(_0x415d36(0x9c))/0x4)+parseInt(_0x415d36(0xa4))/0x5+-parseInt(_0x415d36(0x9e))/0x6+-parseInt(_0x415d36(0x96))/0x7+parseInt(_0x415d36(0x98))/0x8+parseInt(_0x415d36(0x9f))/0x9;if(_0x54b7fd===_0x52d09e)break;else _0x16d08e['push'](_0x16d08e['shift']());}catch(_0x18eeb4){_0x16d08e['push'](_0x16d08e['shift']());}}}(_0x27bc,0x5d6f8));import{Command as _0x47169c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x47169c{[_0x1933a1(0x9a)](){const _0x12411c=_0x1933a1,_0x57b223=this[_0x12411c(0xa2)][_0x12411c(0x97)][_0x12411c(0xa1)][_0x12411c(0x94)][_0x12411c(0x8e)]();this[_0x12411c(0xa5)]=Boolean(_0x57b223&&(_0x57b223['is'](_0x12411c(0x93),_0x12411c(0xa0))||_0x57b223['is'](_0x12411c(0x93),_0x12411c(0x90))));}[_0x1933a1(0x8d)](_0x4bf09f){const _0xfd6706=_0x1933a1,_0x27ac26=this[_0xfd6706(0xa2)][_0xfd6706(0x97)][_0xfd6706(0xa1)][_0xfd6706(0x94)][_0xfd6706(0x8e)]();this[_0xfd6706(0xa2)][_0xfd6706(0x97)][_0xfd6706(0x92)](_0x436654=>{const _0x4243f7=_0xfd6706;_0x436654[_0x4243f7(0x9d)](_0x4bf09f,_0x27ac26),_0x436654[_0x4243f7(0x9b)](_0x4243f7(0xa3),_0x27ac26),_0x436654[_0x4243f7(0x9b)](_0x4243f7(0x8f),_0x27ac26);});}}function _0x27bc(){const _0x1b6af6=['change','element','selection','3052QBHiYQ','4524765LkqKBX','model','2840464tpmhTl','430IntOpL','refresh','removeAttribute','4emJbUn','setAttributes','2560860eMNQdy','11159487ruZVxA','imageBlock','document','editor','srcset','1861330gfYMXN','isEnabled','execute','getSelectedElement','sizes','imageInline','434490FUfjyr'];_0x27bc=function(){return _0x1b6af6;};return _0x27bc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb8c817=_0x4eca;(function(_0x9cc149,_0x2ed3ad){var _0x16b97c=_0x4eca,_0x5953e0=_0x9cc149();while(!![]){try{var _0x4c7467=-parseInt(_0x16b97c(0x1a0))/0x1*(-parseInt(_0x16b97c(0x1a8))/0x2)+-parseInt(_0x16b97c(0x1ad))/0x3+-parseInt(_0x16b97c(0x1a6))/0x4+-parseInt(_0x16b97c(0x1ac))/0x5+-parseInt(_0x16b97c(0x1a2))/0x6*(-parseInt(_0x16b97c(0x1a7))/0x7)+parseInt(_0x16b97c(0x1a5))/0x8*(-parseInt(_0x16b97c(0x1a1))/0x9)+parseInt(_0x16b97c(0x1aa))/0xa;if(_0x4c7467===_0x2ed3ad)break;else _0x5953e0['push'](_0x5953e0['shift']());}catch(_0x2535e6){_0x5953e0['push'](_0x5953e0['shift']());}}}(_0x2598,0xd42a4));import{Plugin as _0x5b6276}from'ckeditor5/src/core.js';function _0x2598(){var _0x14ace6=['2298345lbBTsX','517410nvCRCY','isOfficialPlugin','6XSEMYF','669591KhCmuz','12gutwpi','isPremiumPlugin','pluginName','104wVKMwg','2848964GXQCQU','4848872EkKYrg','264606wkKtKp','UploadcareImageEdit','10013850mJcKdd','requires'];_0x2598=function(){return _0x14ace6;};return _0x2598();}function _0x4eca(_0x47c146,_0x32e0b8){var _0x25981c=_0x2598();return _0x4eca=function(_0x4eca4a,_0x2815fc){_0x4eca4a=_0x4eca4a-0x19f;var _0x248dcc=_0x25981c[_0x4eca4a];return _0x248dcc;},_0x4eca(_0x47c146,_0x32e0b8);}import{UploadcareImageEditEditing as _0x16cb33}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5d7cef}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5b6276{static get[_0xb8c817(0x1a4)](){var _0x13d6b7=_0xb8c817;return _0x13d6b7(0x1a9);}static get[_0xb8c817(0x1ab)](){return[_0x16cb33,_0x5d7cef];}static get[_0xb8c817(0x19f)](){return!0x0;}static get[_0xb8c817(0x1a3)](){return!0x0;}}
23
+ var _0x27e4f7=_0x17ac;(function(_0x1b968f,_0x39c683){var _0x125939=_0x17ac,_0x5de2ce=_0x1b968f();while(!![]){try{var _0x2ff387=parseInt(_0x125939(0x1d6))/0x1*(parseInt(_0x125939(0x1dd))/0x2)+parseInt(_0x125939(0x1e1))/0x3*(parseInt(_0x125939(0x1da))/0x4)+parseInt(_0x125939(0x1db))/0x5*(-parseInt(_0x125939(0x1df))/0x6)+-parseInt(_0x125939(0x1d3))/0x7+parseInt(_0x125939(0x1d7))/0x8+-parseInt(_0x125939(0x1d9))/0x9*(parseInt(_0x125939(0x1d4))/0xa)+parseInt(_0x125939(0x1dc))/0xb;if(_0x2ff387===_0x39c683)break;else _0x5de2ce['push'](_0x5de2ce['shift']());}catch(_0x2c2d0d){_0x5de2ce['push'](_0x5de2ce['shift']());}}}(_0x452d,0xab642));import{Plugin as _0x190d2d}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x574fc3}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x42dbb4}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x452d(){var _0x2a12ed=['8145781VbYKMm','10FbbqUw','isOfficialPlugin','1SPOLeh','4610976yKSkOd','UploadcareImageEdit','4660668jQqatz','932mBZcHH','5QXHZCd','13892021FpHpwk','2438620LkYIQq','requires','5924958iNQXSW','pluginName','4023OruDVd','isPremiumPlugin'];_0x452d=function(){return _0x2a12ed;};return _0x452d();}function _0x17ac(_0x5a3cfe,_0x355d45){var _0x452d7c=_0x452d();return _0x17ac=function(_0x17ac15,_0x53dd87){_0x17ac15=_0x17ac15-0x1d3;var _0x19522a=_0x452d7c[_0x17ac15];return _0x19522a;},_0x17ac(_0x5a3cfe,_0x355d45);}export class UploadcareImageEdit extends _0x190d2d{static get[_0x27e4f7(0x1e0)](){var _0x29b00e=_0x27e4f7;return _0x29b00e(0x1d8);}static get[_0x27e4f7(0x1de)](){return[_0x574fc3,_0x42dbb4];}static get[_0x27e4f7(0x1d5)](){return!0x0;}static get[_0x27e4f7(0x1e2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x414b(){const _0x5d03be=['Dropbox','uploadcareLicenseKeyDomainLimit','get','config','entries','icon','_normalizeConfigSourceList','plugins','forEach','expired','Uploadcare','trialLimit','GDrive','_createDropdownButtons','usageLimit','565548pHwANJ','_getIntegrationKey','destroy','evaluationLimit','tooltip','208AXNLth','uploadcareLicenseKeyExpired','OneDrive','isEnabled','label','Replace','push','uploadcareLicenseKeyUsageLimit','type','upload','_createToolbarButton','execute','editor','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyValid','_licenseKeyCheckInterval','map','_createMenuBarButtons','uploadcare','commands','uploadcareLicenseKeyInvalid','text','159934xlSILm','featureNotAllowed','isImageSelected','afterInit','assetManager','2373178UjGTxo','Facebook','285472wFWlzt','locale','_createButton','_showLicenseError','bind','url','UploadcareUI','GPhotos','uploadcareLicenseKeyNotAllowed','isPremiumPlugin','shortText','invalid','registerIntegration','has','Local','uploadcare.uploader.sourceList','4314860VvaWWB','licenseKey','11113109WZpfGj','init','614304QfsKvm','isOfficialPlugin','domainLimit','Insert','withText','ImageInsertUI','3OFSWOh','URL','pluginName','reduce'];_0x414b=function(){return _0x5d03be;};return _0x414b();}const _0x5afe31=_0x5bfe;(function(_0x2c80c4,_0x2eae07){const _0x56d8c1=_0x5bfe,_0x33fa14=_0x2c80c4();while(!![]){try{const _0x33e9bd=-parseInt(_0x56d8c1(0xa4))/0x1+-parseInt(_0x56d8c1(0xa9))/0x2*(parseInt(_0x56d8c1(0xc5))/0x3)+-parseInt(_0x56d8c1(0xab))/0x4+-parseInt(_0x56d8c1(0xbb))/0x5+-parseInt(_0x56d8c1(0xd8))/0x6+parseInt(_0x56d8c1(0xbd))/0x7+-parseInt(_0x56d8c1(0xdd))/0x8*(-parseInt(_0x56d8c1(0xbf))/0x9);if(_0x33e9bd===_0x2eae07)break;else _0x33fa14['push'](_0x33fa14['shift']());}catch(_0x188e77){_0x33fa14['push'](_0x33fa14['shift']());}}}(_0x414b,0xf0ff2));import{Plugin as _0x219c66}from'ckeditor5/src/core.js';function _0x5bfe(_0x1e5c1,_0x3750f7){const _0x414b8c=_0x414b();return _0x5bfe=function(_0x5bfebe,_0x185efd){_0x5bfebe=_0x5bfebe-0x97;let _0xd949e8=_0x414b8c[_0x5bfebe];return _0xd949e8;},_0x5bfe(_0x1e5c1,_0x3750f7);}import{IconDropbox as _0x4b57c9,IconFacebook as _0x252a04,IconGoogleDrive as _0x21b44f,IconGooglePhotos as _0x390954,IconUploadcareImageUpload as _0x2a8c62,IconUploadcareLink as _0x52a45f,IconOneDrive as _0x4c9427}from'ckeditor5/src/icons.js';import{ButtonView as _0x42dc0,MenuBarMenuListItemButtonView as _0x5b4d2d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x51e24e}from'./uploadcareconfig.js';import{getTranslation as _0x25ab4d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x219c66{[_0x5afe31(0xbc)];[_0x5afe31(0x9d)];static get[_0x5afe31(0xc7)](){const _0x315aec=_0x5afe31;return _0x315aec(0xb1);}static get[_0x5afe31(0xc0)](){return!0x0;}static get[_0x5afe31(0xb4)](){return!0x0;}[_0x5afe31(0xbe)](){const _0x421b2b=_0x5afe31;this[_0x421b2b(0xbc)]=this[_0x421b2b(0x99)][_0x421b2b(0xcc)][_0x421b2b(0xcb)](_0x421b2b(0xbc));const _0x2b2f48=this[_0x421b2b(0x99)];this[_0x421b2b(0x9d)]=setInterval(()=>{const _0x29dcac=_0x421b2b;let _0x1e01bb;for(const _0x4940cd in _0x2b2f48){const _0x403c19=_0x4940cd,_0x389adf=_0x2b2f48[_0x403c19];if(_0x29dcac(0x9c)==_0x389adf||_0x29dcac(0xa2)==_0x389adf||_0x29dcac(0xde)==_0x389adf||_0x29dcac(0xca)==_0x389adf||_0x29dcac(0xb3)==_0x389adf||_0x29dcac(0x9a)==_0x389adf||_0x29dcac(0x9b)==_0x389adf||_0x29dcac(0xe4)==_0x389adf){delete _0x2b2f48[_0x403c19],_0x1e01bb=_0x389adf,clearInterval(this[_0x29dcac(0x9d)]),this[_0x29dcac(0x9d)]=void 0x0;break;}}_0x29dcac(0xa2)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xb6)),_0x29dcac(0xde)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xd2)),_0x29dcac(0xca)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xc1)),_0x29dcac(0xb3)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xa5),_0x29dcac(0xd3)),_0x29dcac(0x9a)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xdb)),_0x29dcac(0x9b)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xd4)),_0x29dcac(0xe4)==_0x1e01bb&&_0x2b2f48[_0x29dcac(0xae)](_0x29dcac(0xd7));},0x3e8);}[_0x5afe31(0xa7)](){const _0x1cd47d=_0x5afe31,{editor:_0x38f2a1}=this,_0x4ed972=_0x38f2a1[_0x1cd47d(0xa1)][_0x1cd47d(0xcb)](_0x1cd47d(0xa0));if(!_0x4ed972)return;const _0x2a00a4=this[_0x1cd47d(0xcf)](_0x38f2a1[_0x1cd47d(0xcc)][_0x1cd47d(0xcb)](_0x1cd47d(0xba)))[_0x1cd47d(0xc8)]((_0x3f8190,_0x279296)=>{const _0x3256b6=_0x1cd47d,_0x169eb3=this[_0x3256b6(0xd9)](_0x279296[_0x3256b6(0xe5)]);return _0x3f8190[_0x169eb3]||(_0x3f8190[_0x169eb3]=[]),_0x3f8190[_0x169eb3][_0x3256b6(0xe3)](_0x279296),_0x3f8190;},{});_0x38f2a1[_0x1cd47d(0xd0)][_0x1cd47d(0xb8)](_0x1cd47d(0xc4))&&_0x38f2a1[_0x1cd47d(0xa1)][_0x1cd47d(0xcb)](_0x1cd47d(0xa0))&&Object[_0x1cd47d(0xcd)](_0x2a00a4)[_0x1cd47d(0xd1)](([_0x3767fe,_0x262829])=>{const _0x35e4f5=_0x1cd47d;_0x38f2a1[_0x35e4f5(0xd0)][_0x35e4f5(0xcb)](_0x35e4f5(0xc4))[_0x35e4f5(0xb7)]({'name':_0x3767fe,'observable':()=>_0x4ed972,'buttonViewCreator':()=>this[_0x35e4f5(0x97)](_0x262829),'formViewCreator':()=>this[_0x35e4f5(0xd6)](_0x262829),'menuBarButtonViewCreator':()=>this[_0x35e4f5(0x9f)](_0x262829),'override':_0x35e4f5(0xa8)!==_0x3767fe});});}[_0x5afe31(0xda)](){const _0x1a6755=_0x5afe31;super[_0x1a6755(0xda)](),this[_0x1a6755(0x9d)]&&clearInterval(this[_0x1a6755(0x9d)]);}[_0x5afe31(0xcf)](_0x1018ac){const _0x3320b9=_0x5afe31,{locale:_0x579f19}=this[_0x3320b9(0x99)];return _0x1018ac[_0x3320b9(0x9e)](_0x315266=>{const _0x36e152=_0x3320b9,_0x12343c=_0x25ab4d(_0x579f19,_0x315266,_0x36e152(0xc2));switch(_0x315266){case _0x51e24e[_0x36e152(0xb9)]:return{'icon':_0x2a8c62,'type':_0x51e24e[_0x36e152(0xb9)],..._0x12343c};case _0x51e24e[_0x36e152(0xc6)]:return{'icon':_0x52a45f,'type':_0x51e24e[_0x36e152(0xc6)],..._0x12343c};case _0x51e24e[_0x36e152(0xc9)]:return{'icon':_0x4b57c9,'type':_0x51e24e[_0x36e152(0xc9)],..._0x12343c};case _0x51e24e[_0x36e152(0xaa)]:return{'icon':_0x252a04,'type':_0x51e24e[_0x36e152(0xaa)],..._0x12343c};case _0x51e24e[_0x36e152(0xd5)]:return{'icon':_0x21b44f,'type':_0x51e24e[_0x36e152(0xd5)],..._0x12343c};case _0x51e24e[_0x36e152(0xb2)]:return{'icon':_0x390954,'type':_0x51e24e[_0x36e152(0xb2)],..._0x12343c};case _0x51e24e[_0x36e152(0xdf)]:return{'icon':_0x4c9427,'type':_0x51e24e[_0x36e152(0xdf)],..._0x12343c};}});}[_0x5afe31(0xd9)](_0x4ffa9a){const _0x1e3e57=_0x5afe31;switch(_0x4ffa9a){case _0x51e24e[_0x1e3e57(0xb9)]:return _0x1e3e57(0xe6);case _0x51e24e[_0x1e3e57(0xc6)]:return _0x1e3e57(0xb0);default:return _0x1e3e57(0xa8);}}[_0x5afe31(0xad)](_0x1196f7,_0x3a2f54){const _0x418dad=_0x5afe31,_0x3dd4ff=this[_0x418dad(0x99)],_0x2ab713=new _0x1196f7(_0x3dd4ff[_0x418dad(0xac)]),_0x171e25=_0x3dd4ff[_0x418dad(0xa1)][_0x418dad(0xcb)](_0x418dad(0xa0));return _0x2ab713[_0x418dad(0xaf)](_0x418dad(0xe0))['to'](_0x171e25),_0x2ab713['on'](_0x418dad(0x98),()=>{const _0x2ff9e1=_0x418dad;_0x171e25[_0x2ff9e1(0x98)](_0x3a2f54);}),_0x2ab713;}[_0x5afe31(0x97)](_0x40ee8c){const _0x584fb2=_0x5afe31,{locale:_0x2f5b05}=this[_0x584fb2(0x99)],_0x5e8f80=this[_0x584fb2(0x99)][_0x584fb2(0xd0)][_0x584fb2(0xcb)](_0x584fb2(0xc4)),_0x55b0f8=_0x40ee8c[0x0],_0xe5aa3c=this[_0x584fb2(0xad)](_0x42dc0,_0x55b0f8[_0x584fb2(0xe5)]);return _0xe5aa3c[_0x584fb2(0xce)]=_0x55b0f8[_0x584fb2(0xce)],_0xe5aa3c[_0x584fb2(0xaf)](_0x584fb2(0xe1))['to'](_0x5e8f80,_0x584fb2(0xa6),_0x5c8311=>_0x25ab4d(_0x2f5b05,_0x55b0f8[_0x584fb2(0xe5)],_0x5c8311?_0x584fb2(0xe2):_0x584fb2(0xc2))[_0x584fb2(0xa3)]),_0xe5aa3c[_0x584fb2(0xdc)]=!0x0,_0xe5aa3c;}[_0x5afe31(0xd6)](_0x9b689){const _0x4a640c=_0x5afe31,{locale:_0x19c23e}=this[_0x4a640c(0x99)],_0xaf7cbe=this[_0x4a640c(0x99)][_0x4a640c(0xd0)][_0x4a640c(0xcb)](_0x4a640c(0xc4));return _0x9b689[_0x4a640c(0x9e)](_0x49c0ef=>{const _0x471df2=_0x4a640c,_0x2125cb=this[_0x471df2(0xad)](_0x42dc0,_0x49c0ef[_0x471df2(0xe5)]);return _0x2125cb[_0x471df2(0xc3)]=!0x0,_0x2125cb[_0x471df2(0xce)]=_0x49c0ef[_0x471df2(0xce)],_0x2125cb[_0x471df2(0xaf)](_0x471df2(0xe1))['to'](_0xaf7cbe,_0x471df2(0xa6),_0x3e9240=>_0x25ab4d(_0x19c23e,_0x49c0ef[_0x471df2(0xe5)],_0x3e9240?_0x471df2(0xe2):_0x471df2(0xc2))[_0x471df2(0xa3)]),_0x2125cb;});}[_0x5afe31(0x9f)](_0x29a206){const _0x21bd0c=_0x5afe31;return _0x29a206[_0x21bd0c(0x9e)](_0x37c397=>{const _0x382fc1=_0x21bd0c,_0x6df63d=this[_0x382fc1(0xad)](_0x5b4d2d,_0x37c397[_0x382fc1(0xe5)]);return _0x6df63d[_0x382fc1(0xce)]=_0x37c397[_0x382fc1(0xce)],_0x6df63d[_0x382fc1(0xe1)]=_0x37c397[_0x382fc1(0xb5)],_0x6df63d;});}}
23
+ const _0x318f17=_0x2974;(function(_0x11ba33,_0x3d5244){const _0x3f69be=_0x2974,_0x382f92=_0x11ba33();while(!![]){try{const _0x16bd60=-parseInt(_0x3f69be(0x1b3))/0x1+-parseInt(_0x3f69be(0x18a))/0x2*(-parseInt(_0x3f69be(0x1ba))/0x3)+parseInt(_0x3f69be(0x177))/0x4*(-parseInt(_0x3f69be(0x184))/0x5)+-parseInt(_0x3f69be(0x19b))/0x6*(parseInt(_0x3f69be(0x172))/0x7)+parseInt(_0x3f69be(0x1a2))/0x8+-parseInt(_0x3f69be(0x174))/0x9+parseInt(_0x3f69be(0x16b))/0xa*(parseInt(_0x3f69be(0x193))/0xb);if(_0x16bd60===_0x3d5244)break;else _0x382f92['push'](_0x382f92['shift']());}catch(_0x58a81a){_0x382f92['push'](_0x382f92['shift']());}}}(_0x477d,0x3d3b9));import{Plugin as _0xeabae4}from'ckeditor5/src/core.js';import{IconDropbox as _0x3f409d,IconFacebook as _0x1f9166,IconGoogleDrive as _0x18aebf,IconGooglePhotos as _0x589eae,IconUploadcareImageUpload as _0x5c1715,IconUploadcareLink as _0x7234c,IconOneDrive as _0x1d80ef}from'ckeditor5/src/icons.js';import{ButtonView as _0x22841f,MenuBarMenuListItemButtonView as _0x53214e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x229939}from'./uploadcareconfig.js';function _0x477d(){const _0x42ea58=['GDrive','Local','plugins','195645uXDTWu','Replace','entries','label','has','_licenseKeyCheckInterval','12622quVXZW','forEach','_createButton','isPremiumPlugin','shortText','GPhotos','withText','ImageInsertUI','uploadcare','59631XpcrAQ','text','isEnabled','domainLimit','destroy','assetManager','_createToolbarButton','_showLicenseError','9942ZVBKLl','Facebook','uploadcare.uploader.sourceList','_createDropdownButtons','usageLimit','reduce','uploadcareLicenseKeyInvalid','1448712fQpbMf','invalid','UploadcareUI','push','execute','uploadcareLicenseKeyDomainLimit','_getIntegrationKey','map','tooltip','isImageSelected','uploadcareLicenseKeyUsageLimit','licenseKey','commands','URL','uploadcareLicenseKeyValid','afterInit','editor','79903zOjxQH','uploadcareLicenseKeyTrialLimit','OneDrive','featureNotAllowed','isOfficialPlugin','uploadcareLicenseKeyNotAllowed','trialLimit','87xCQqUl','bind','url','930XHVJCa','get','config','icon','upload','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','98MqIAVE','_createMenuBarButtons','1459710QTdeLr','init','locale','36BAAcLr','Dropbox','type','evaluationLimit','registerIntegration','uploadcareLicenseKeyExpired','pluginName','Insert','Uploadcare','expired'];_0x477d=function(){return _0x42ea58;};return _0x477d();}function _0x2974(_0x5ad210,_0x5c4f82){const _0x477d19=_0x477d();return _0x2974=function(_0x2974c0,_0x33fa32){_0x2974c0=_0x2974c0-0x169;let _0xeada89=_0x477d19[_0x2974c0];return _0xeada89;},_0x2974(_0x5ad210,_0x5c4f82);}import{getTranslation as _0x473c98}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xeabae4{[_0x318f17(0x1ad)];[_0x318f17(0x189)];static get[_0x318f17(0x17d)](){const _0x2c9a1a=_0x318f17;return _0x2c9a1a(0x1a4);}static get[_0x318f17(0x1b7)](){return!0x0;}static get[_0x318f17(0x18d)](){return!0x0;}[_0x318f17(0x175)](){const _0x1c6f2c=_0x318f17;this[_0x1c6f2c(0x1ad)]=this[_0x1c6f2c(0x1b2)][_0x1c6f2c(0x16d)][_0x1c6f2c(0x16c)](_0x1c6f2c(0x1ad));const _0x53be8a=this[_0x1c6f2c(0x1b2)];this[_0x1c6f2c(0x189)]=setInterval(()=>{const _0x6b952e=_0x1c6f2c;let _0x363a2b;for(const _0x481f97 in _0x53be8a){const _0x19734f=_0x481f97,_0x419393=_0x53be8a[_0x19734f];if(_0x6b952e(0x1b0)==_0x419393||_0x6b952e(0x1a1)==_0x419393||_0x6b952e(0x17c)==_0x419393||_0x6b952e(0x1a7)==_0x419393||_0x6b952e(0x1b8)==_0x419393||_0x6b952e(0x171)==_0x419393||_0x6b952e(0x1b4)==_0x419393||_0x6b952e(0x1ac)==_0x419393){delete _0x53be8a[_0x19734f],_0x363a2b=_0x419393,clearInterval(this[_0x6b952e(0x189)]),this[_0x6b952e(0x189)]=void 0x0;break;}}_0x6b952e(0x1a1)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x1a3)),_0x6b952e(0x17c)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x180)),_0x6b952e(0x1a7)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x196)),_0x6b952e(0x1b8)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x1b6),_0x6b952e(0x17f)),_0x6b952e(0x171)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x17a)),_0x6b952e(0x1b4)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x1b9)),_0x6b952e(0x1ac)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x19f));},0x3e8);}[_0x318f17(0x1b1)](){const _0x1e6cd8=_0x318f17,{editor:_0x45bbe7}=this,_0x1d763c=_0x45bbe7[_0x1e6cd8(0x1ae)][_0x1e6cd8(0x16c)](_0x1e6cd8(0x192));if(!_0x1d763c)return;const _0x228fe4=this[_0x1e6cd8(0x170)](_0x45bbe7[_0x1e6cd8(0x16d)][_0x1e6cd8(0x16c)](_0x1e6cd8(0x19d)))[_0x1e6cd8(0x1a0)]((_0x4b5e01,_0x30626e)=>{const _0x567b38=_0x1e6cd8,_0x2da84e=this[_0x567b38(0x1a8)](_0x30626e[_0x567b38(0x179)]);return _0x4b5e01[_0x2da84e]||(_0x4b5e01[_0x2da84e]=[]),_0x4b5e01[_0x2da84e][_0x567b38(0x1a5)](_0x30626e),_0x4b5e01;},{});_0x45bbe7[_0x1e6cd8(0x183)][_0x1e6cd8(0x188)](_0x1e6cd8(0x191))&&_0x45bbe7[_0x1e6cd8(0x1ae)][_0x1e6cd8(0x16c)](_0x1e6cd8(0x192))&&Object[_0x1e6cd8(0x186)](_0x228fe4)[_0x1e6cd8(0x18b)](([_0x22cfa2,_0x3ca337])=>{const _0x52cf0=_0x1e6cd8;_0x45bbe7[_0x52cf0(0x183)][_0x52cf0(0x16c)](_0x52cf0(0x191))[_0x52cf0(0x17b)]({'name':_0x22cfa2,'observable':()=>_0x1d763c,'buttonViewCreator':()=>this[_0x52cf0(0x199)](_0x3ca337),'formViewCreator':()=>this[_0x52cf0(0x19e)](_0x3ca337),'menuBarButtonViewCreator':()=>this[_0x52cf0(0x173)](_0x3ca337),'override':_0x52cf0(0x198)!==_0x22cfa2});});}[_0x318f17(0x197)](){const _0x2f6af7=_0x318f17;super[_0x2f6af7(0x197)](),this[_0x2f6af7(0x189)]&&clearInterval(this[_0x2f6af7(0x189)]);}[_0x318f17(0x170)](_0x2d9afb){const _0x41d70a=_0x318f17,{locale:_0x41aa0c}=this[_0x41d70a(0x1b2)];return _0x2d9afb[_0x41d70a(0x1a9)](_0x19e72e=>{const _0x35bdd3=_0x41d70a,_0x3b6ceb=_0x473c98(_0x41aa0c,_0x19e72e,_0x35bdd3(0x17e));switch(_0x19e72e){case _0x229939[_0x35bdd3(0x182)]:return{'icon':_0x5c1715,'type':_0x229939[_0x35bdd3(0x182)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x1af)]:return{'icon':_0x7234c,'type':_0x229939[_0x35bdd3(0x1af)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x178)]:return{'icon':_0x3f409d,'type':_0x229939[_0x35bdd3(0x178)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x19c)]:return{'icon':_0x1f9166,'type':_0x229939[_0x35bdd3(0x19c)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x181)]:return{'icon':_0x18aebf,'type':_0x229939[_0x35bdd3(0x181)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x18f)]:return{'icon':_0x589eae,'type':_0x229939[_0x35bdd3(0x18f)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x1b5)]:return{'icon':_0x1d80ef,'type':_0x229939[_0x35bdd3(0x1b5)],..._0x3b6ceb};}});}[_0x318f17(0x1a8)](_0x419e5f){const _0x16ca9d=_0x318f17;switch(_0x419e5f){case _0x229939[_0x16ca9d(0x182)]:return _0x16ca9d(0x16f);case _0x229939[_0x16ca9d(0x1af)]:return _0x16ca9d(0x16a);default:return _0x16ca9d(0x198);}}[_0x318f17(0x18c)](_0x32c13a,_0x42969f){const _0x37d7d8=_0x318f17,_0x1b2445=this[_0x37d7d8(0x1b2)],_0xca11b3=new _0x32c13a(_0x1b2445[_0x37d7d8(0x176)]),_0x2c163d=_0x1b2445[_0x37d7d8(0x1ae)][_0x37d7d8(0x16c)](_0x37d7d8(0x192));return _0xca11b3[_0x37d7d8(0x169)](_0x37d7d8(0x195))['to'](_0x2c163d),_0xca11b3['on'](_0x37d7d8(0x1a6),()=>{const _0x3d8c11=_0x37d7d8;_0x2c163d[_0x3d8c11(0x1a6)](_0x42969f);}),_0xca11b3;}[_0x318f17(0x199)](_0x305046){const _0x5f1ea4=_0x318f17,{locale:_0x4a8e59}=this[_0x5f1ea4(0x1b2)],_0x578f22=this[_0x5f1ea4(0x1b2)][_0x5f1ea4(0x183)][_0x5f1ea4(0x16c)](_0x5f1ea4(0x191)),_0x26daf4=_0x305046[0x0],_0x22a63f=this[_0x5f1ea4(0x18c)](_0x22841f,_0x26daf4[_0x5f1ea4(0x179)]);return _0x22a63f[_0x5f1ea4(0x16e)]=_0x26daf4[_0x5f1ea4(0x16e)],_0x22a63f[_0x5f1ea4(0x169)](_0x5f1ea4(0x187))['to'](_0x578f22,_0x5f1ea4(0x1ab),_0x477554=>_0x473c98(_0x4a8e59,_0x26daf4[_0x5f1ea4(0x179)],_0x477554?_0x5f1ea4(0x185):_0x5f1ea4(0x17e))[_0x5f1ea4(0x194)]),_0x22a63f[_0x5f1ea4(0x1aa)]=!0x0,_0x22a63f;}[_0x318f17(0x19e)](_0x3993c2){const _0x3dd56a=_0x318f17,{locale:_0x3ff923}=this[_0x3dd56a(0x1b2)],_0x586885=this[_0x3dd56a(0x1b2)][_0x3dd56a(0x183)][_0x3dd56a(0x16c)](_0x3dd56a(0x191));return _0x3993c2[_0x3dd56a(0x1a9)](_0x2249fb=>{const _0x58599d=_0x3dd56a,_0x1874b7=this[_0x58599d(0x18c)](_0x22841f,_0x2249fb[_0x58599d(0x179)]);return _0x1874b7[_0x58599d(0x190)]=!0x0,_0x1874b7[_0x58599d(0x16e)]=_0x2249fb[_0x58599d(0x16e)],_0x1874b7[_0x58599d(0x169)](_0x58599d(0x187))['to'](_0x586885,_0x58599d(0x1ab),_0x3dd963=>_0x473c98(_0x3ff923,_0x2249fb[_0x58599d(0x179)],_0x3dd963?_0x58599d(0x185):_0x58599d(0x17e))[_0x58599d(0x194)]),_0x1874b7;});}[_0x318f17(0x173)](_0x73b5ef){const _0x8bf6fe=_0x318f17;return _0x73b5ef[_0x8bf6fe(0x1a9)](_0xf4f577=>{const _0x212fa8=_0x8bf6fe,_0x23f52f=this[_0x212fa8(0x18c)](_0x53214e,_0xf4f577[_0x212fa8(0x179)]);return _0x23f52f[_0x212fa8(0x16e)]=_0xf4f577[_0x212fa8(0x16e)],_0x23f52f[_0x212fa8(0x187)]=_0xf4f577[_0x212fa8(0x18e)],_0x23f52f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5deabd}from'ckeditor5/src/core.js';import{FileRepository as _0x3e4222}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x165b94}from'./uploadcareediting.js';import{UploadUtils as _0x462ec1}from'./utils/uploadutils.js';import{getImageUrls as _0x1e581f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5deabd{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3e4222,_0x165b94];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xf5d33=this['editor'];if(!!!_0xf5d33['config']['get']('uploadcare'))return;_0xf5d33['plugins']['get'](_0x3e4222)['createUploadAdapter']=_0x3d96f8=>new k(_0x3d96f8,_0xf5d33),_0xf5d33['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x47e062,{imageElement:_0x114a0e,data:_0x284e5a})=>{_0xf5d33['model']['change'](_0x2e5465=>{_0x2e5465['setAttribute']('uploadcareImageId',_0x284e5a['uploadcareImageId'],_0x114a0e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5d6127,_0x2e853d){this['loader']=_0x5d6127,this['editor']=_0x2e853d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x369526=await this['loader']['file'];return _0x462ec1['upload']({'file':_0x369526,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3f3ea7=>{_0x3f3ea7&&_0x3f3ea7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3f3ea7['value']);}})['then'](async _0x1d1686=>{const {imageFallbackUrl:_0x30de31,imageSources:_0x29ee7b}=_0x1e581f(_0x1d1686['cdnUrl'],_0x1d1686['imageInfo']['width']);return{'uploadcareImageId':_0x1d1686['uuid'],'default':_0x30de31,'sources':_0x29ee7b};})['catch'](()=>{const _0x203a2d=t('Cannot\x20upload\x20file:')+('\x20'+_0x369526['name']+'.');return Promise['reject'](_0x203a2d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1624f5}from'ckeditor5/src/core.js';import{FileRepository as _0x220742}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x566fcf}from'./uploadcareediting.js';import{UploadUtils as _0x10e200}from'./utils/uploadutils.js';import{getImageUrls as _0x13dffd}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1624f5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x220742,_0x566fcf];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4f2e8b=this['editor'];if(!!!_0x4f2e8b['config']['get']('uploadcare'))return;_0x4f2e8b['plugins']['get'](_0x220742)['createUploadAdapter']=_0x4b84ac=>new k(_0x4b84ac,_0x4f2e8b),_0x4f2e8b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x571477,{imageElement:_0x5a1b49,data:_0xa155de})=>{_0x4f2e8b['model']['change'](_0xa449f7=>{_0xa449f7['setAttribute']('uploadcareImageId',_0xa155de['uploadcareImageId'],_0x5a1b49);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x509562,_0x1198f4){this['loader']=_0x509562,this['editor']=_0x1198f4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d53b2=await this['loader']['file'];return _0x10e200['upload']({'file':_0x5d53b2,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x51859b=>{_0x51859b&&_0x51859b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x51859b['value']);}})['then'](async _0x10cb88=>{const {imageFallbackUrl:_0x3f58e7,imageSources:_0x2ae293}=_0x13dffd(_0x10cb88['cdnUrl'],_0x10cb88['imageInfo']['width']);return{'uploadcareImageId':_0x10cb88['uuid'],'default':_0x3f58e7,'sources':_0x2ae293};})['catch'](()=>{const _0x5cdb74=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d53b2['name']+'.');return Promise['reject'](_0x5cdb74);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x38dff8}from'../uploadcareconfig.js';export function getTranslation(_0x266870,_0x587255,_0x1e0acc){const t=_0x266870['t'],_0x14e34e=_0x266870['t'];switch(_0x587255){case _0x38dff8['Local']:return{'text':_0x14e34e('Insert'===_0x1e0acc?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x14e34e('From\x20computer')};case _0x38dff8['URL']:return{'text':'Insert'===_0x1e0acc?_0x14e34e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x14e34e('Via\x20URL')};case _0x38dff8['Dropbox']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x38dff8['Facebook']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x38dff8['GDrive']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x38dff8['GPhotos']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x38dff8['OneDrive']:return{'text':t('Insert'===_0x1e0acc?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x587255;}}
23
+ import{UploadcareSource as _0x4040ae}from'../uploadcareconfig.js';export function getTranslation(_0x374672,_0x58a2f0,_0x206fd6){const t=_0x374672['t'],_0x551cbb=_0x374672['t'];switch(_0x58a2f0){case _0x4040ae['Local']:return{'text':_0x551cbb('Insert'===_0x206fd6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x551cbb('From\x20computer')};case _0x4040ae['URL']:return{'text':'Insert'===_0x206fd6?_0x551cbb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x551cbb('Via\x20URL')};case _0x4040ae['Dropbox']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4040ae['Facebook']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4040ae['GDrive']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4040ae['GPhotos']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4040ae['OneDrive']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x58a2f0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25de(_0x2b8a7c,_0x5d2018){var _0x463763=_0x4637();return _0x25de=function(_0x25de57,_0x5005aa){_0x25de57=_0x25de57-0x98;var _0xd0a565=_0x463763[_0x25de57];return _0xd0a565;},_0x25de(_0x2b8a7c,_0x5d2018);}var _0x567e94=_0x25de;(function(_0x5472ae,_0x494af6){var _0x6d516a=_0x25de,_0x449c40=_0x5472ae();while(!![]){try{var _0x8c87f5=parseInt(_0x6d516a(0xab))/0x1*(parseInt(_0x6d516a(0xa5))/0x2)+-parseInt(_0x6d516a(0xa6))/0x3+parseInt(_0x6d516a(0xa8))/0x4*(-parseInt(_0x6d516a(0x9c))/0x5)+-parseInt(_0x6d516a(0xa9))/0x6*(-parseInt(_0x6d516a(0x9d))/0x7)+parseInt(_0x6d516a(0xa2))/0x8+parseInt(_0x6d516a(0x98))/0x9*(parseInt(_0x6d516a(0xaa))/0xa)+-parseInt(_0x6d516a(0xa0))/0xb;if(_0x8c87f5===_0x494af6)break;else _0x449c40['push'](_0x449c40['shift']());}catch(_0x26a357){_0x449c40['push'](_0x449c40['shift']());}}}(_0x4637,0x2d78d));import{FocusTracker as _0x1f5383}from'ckeditor5/src/utils.js';import{View as _0x252859,FocusCycler as _0x41132f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4637(){var _0x1e6cae=['true','createCollection','1451285fsUuwU','746599UojWll','bindTemplate','div','4610804eljDuR','focusTracker','2014336DXvWHC','getFocusableElement','focusCycler','639978ZbJIPD','64053ypiQKo','fire','4supPFW','12fpvxid','16700VvzzoS','1DoAScm','711uHzZma','forwardCycle'];_0x4637=function(){return _0x1e6cae;};return _0x4637();}export class DialogFocusManagerView extends _0x252859{[_0x567e94(0xa1)];[_0x567e94(0xa4)];constructor(_0x257a7a){var _0x131a45=_0x567e94;super(_0x257a7a),this[_0x131a45(0xa1)]=new _0x1f5383(),this[_0x131a45(0xa4)]=new _0x41132f({'focusables':this[_0x131a45(0x9b)](),'focusTracker':this[_0x131a45(0xa1)]});}[_0x567e94(0xa3)](){var _0x485a14=_0x567e94;return{'tag':_0x485a14(0x9f),'attributes':{'aria-hidden':_0x485a14(0x9a),'tabindex':'0'},'on':{'focus':this[_0x485a14(0x9e)]['to'](()=>{var _0xe24f0b=_0x485a14;this[_0xe24f0b(0xa4)][_0xe24f0b(0xa7)](_0xe24f0b(0x99));})}};}}
23
+ var _0x43ae8a=_0x580d;function _0x3dce(){var _0x1c1186=['12CTxRCL','192SNSybC','387JNKISK','div','8LQmwmv','focusTracker','8CAiDSn','917925ufKQLQ','focusCycler','fire','createCollection','forwardCycle','true','21324fFzRHi','getFocusableElement','4128565rnWSnl','3702438EVPpox','238330MuMlAG','3204810xjiZGh','1885477GlaUDs','bindTemplate'];_0x3dce=function(){return _0x1c1186;};return _0x3dce();}(function(_0x541440,_0x4aa78d){var _0x5e138a=_0x580d,_0xdcf444=_0x541440();while(!![]){try{var _0x5405e7=parseInt(_0x5e138a(0x1d7))/0x1+parseInt(_0x5e138a(0x1dd))/0x2*(parseInt(_0x5e138a(0x1d1))/0x3)+-parseInt(_0x5e138a(0x1d6))/0x4*(-parseInt(_0x5e138a(0x1e2))/0x5)+-parseInt(_0x5e138a(0x1e0))/0x6+-parseInt(_0x5e138a(0x1df))/0x7*(parseInt(_0x5e138a(0x1d4))/0x8)+-parseInt(_0x5e138a(0x1d2))/0x9*(parseInt(_0x5e138a(0x1e1))/0xa)+parseInt(_0x5e138a(0x1e3))/0xb*(parseInt(_0x5e138a(0x1d0))/0xc);if(_0x5405e7===_0x4aa78d)break;else _0xdcf444['push'](_0xdcf444['shift']());}catch(_0xe0cf9d){_0xdcf444['push'](_0xdcf444['shift']());}}}(_0x3dce,0xc8ab1));function _0x580d(_0x1304a7,_0x558be1){var _0x3dce1e=_0x3dce();return _0x580d=function(_0x580dcc,_0xe1666e){_0x580dcc=_0x580dcc-0x1cf;var _0x3fc1c6=_0x3dce1e[_0x580dcc];return _0x3fc1c6;},_0x580d(_0x1304a7,_0x558be1);}import{FocusTracker as _0x489499}from'ckeditor5/src/utils.js';import{View as _0x11b58b,FocusCycler as _0x45203e}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x11b58b{[_0x43ae8a(0x1d5)];[_0x43ae8a(0x1d8)];constructor(_0x1b95ba){var _0x3d7389=_0x43ae8a;super(_0x1b95ba),this[_0x3d7389(0x1d5)]=new _0x489499(),this[_0x3d7389(0x1d8)]=new _0x45203e({'focusables':this[_0x3d7389(0x1da)](),'focusTracker':this[_0x3d7389(0x1d5)]});}[_0x43ae8a(0x1de)](){var _0x53fc8c=_0x43ae8a;return{'tag':_0x53fc8c(0x1d3),'attributes':{'aria-hidden':_0x53fc8c(0x1dc),'tabindex':'0'},'on':{'focus':this[_0x53fc8c(0x1cf)]['to'](()=>{var _0x2a6827=_0x53fc8c;this[_0x2a6827(0x1d8)][_0x2a6827(0x1d9)](_0x2a6827(0x1db));})}};}}