@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260114.0 → 0.0.0-nightly-20260115.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5173ba=_0x1a46;(function(_0x4f9337,_0x18dd07){const _0x3b55cd=_0x1a46,_0xa8c5be=_0x4f9337();while(!![]){try{const _0x4aeb70=parseInt(_0x3b55cd(0xea))/0x1*(-parseInt(_0x3b55cd(0x11c))/0x2)+parseInt(_0x3b55cd(0x124))/0x3*(-parseInt(_0x3b55cd(0xdc))/0x4)+parseInt(_0x3b55cd(0xe5))/0x5*(parseInt(_0x3b55cd(0xe7))/0x6)+-parseInt(_0x3b55cd(0x122))/0x7*(parseInt(_0x3b55cd(0x105))/0x8)+-parseInt(_0x3b55cd(0xe8))/0x9*(-parseInt(_0x3b55cd(0xf0))/0xa)+parseInt(_0x3b55cd(0x10b))/0xb*(-parseInt(_0x3b55cd(0x120))/0xc)+parseInt(_0x3b55cd(0xf2))/0xd;if(_0x4aeb70===_0x18dd07)break;else _0xa8c5be['push'](_0xa8c5be['shift']());}catch(_0x14c68c){_0xa8c5be['push'](_0xa8c5be['shift']());}}}(_0x499e,0xaf9a4));import{Plugin as _0x237e45}from'ckeditor5/src/core.js';import{Dialog as _0x1e0705}from'ckeditor5/src/ui.js';function _0x499e(){const _0x5c6b01=['cleanupImage','config','afterInit','once','editor','closeMax','_initConversion','appendChild','destroy','_initCtx','querySelector','schema','20EKLMYr','replaceImageSource','_initConfig','uploadcareImageReplace','data-uc-image-id','pluginName','document','true','conversion','303245VHCBCP','remove','6PxBtHF','6732522EWjuKN','isPremiumPlugin','49373RJUGLA','href','downcast','view','_ctxElement','body','10tGtGzx','imageBlock','39824070qYcIRj','_initSchema','UploadcareEditing','_initImageProcessingIndicator','requires','uc-upload-ctx-provider','model','uploader-','uc-config','configElement','_configElement','join','iconHrefResolver','getAttribute','fromCharCode','selection','attributeToAttribute','getSelectedElement','init','376NuGqrF','editing','upcast','get','commands','imageInline','11OrTMKf','execute','uploadcare.uploader','removeAttribute','elementToAttribute','ctxElement','listenTo','render','isRegistered','locale','uploadcare.pubkey','add','#uc-icon-arrow-down','extend','insertImage','contentLanguage','isOfficialPlugin','34BPDbVs','ucContextId','for','PictureEditing','12322416CQxNXv','uploadcareImageId','151025NAcUKZ','map','163557Lnshxc','\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','input[uploadcare-file-input]','uploadcare'];_0x499e=function(){return _0x5c6b01;};return _0x499e();}import{createElement as _0x4c4bcd,global as _0x1c212c,uid as _0x5a0cf7}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5473bc}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3abd48}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbd921a}from'./utils/editingutils.js';function _0x1a46(_0x80a0fd,_0xa0cd1c){const _0x499ed0=_0x499e();return _0x1a46=function(_0x1a4662,_0x58877c){_0x1a4662=_0x1a4662-0xd8;let _0x59dfee=_0x499ed0[_0x1a4662];return _0x59dfee;},_0x1a46(_0x80a0fd,_0xa0cd1c);}export class UploadcareEditing extends _0x237e45{[_0x5173ba(0xfc)]=null;[_0x5173ba(0xee)]=null;static get[_0x5173ba(0xe1)](){const _0x540660=_0x5173ba;return _0x540660(0xf4);}static get[_0x5173ba(0xf6)](){const _0x1a7b07=_0x5173ba;return[_0x1a7b07(0x11f),_0x3abd48,_0x1e0705];}static get[_0x5173ba(0x11b)](){return!0x0;}static get[_0x5173ba(0xe9)](){return!0x0;}[_0x5173ba(0x11d)];get[_0x5173ba(0xfb)](){const _0x282fd5=_0x5173ba;return this[_0x282fd5(0xfc)];}get[_0x5173ba(0x110)](){const _0x457cf9=_0x5173ba;return this[_0x457cf9(0xee)];}constructor(_0x4f8738){const _0x15f482=_0x5173ba;super(_0x4f8738),this[_0x15f482(0x11d)]=_0x5a0cf7();}[_0x5173ba(0x104)](){const _0x3f737f=_0x5173ba,_0x3ecaf0=this[_0x3f737f(0x12c)];_0x3ecaf0[_0x3f737f(0x109)][_0x3f737f(0x116)](_0x3f737f(0x127),new _0x5473bc(_0x3ecaf0));}[_0x5173ba(0x12a)](){const _0xb19731=_0x5173ba;this[_0xb19731(0xf3)](),this[_0xb19731(0x12e)](),this[_0xb19731(0xde)](),this[_0xb19731(0xd9)](),this[_0xb19731(0xf5)](),this[_0xb19731(0x111)](this[_0xb19731(0x12c)],_0xb19731(0xd8),()=>{const _0x16c0ea=_0xb19731;this[_0x16c0ea(0xfc)]&&(this[_0x16c0ea(0xfc)][_0x16c0ea(0xe6)](),this[_0x16c0ea(0xfc)]=null),this[_0x16c0ea(0xee)]&&(this[_0x16c0ea(0xee)][_0x16c0ea(0xe6)](),this[_0x16c0ea(0xee)]=null);const _0x3ce249=_0x1c212c[_0x16c0ea(0xe2)][_0x16c0ea(0xda)](_0x16c0ea(0x126));_0x3ce249&&_0x3ce249[_0x16c0ea(0xe6)]();}),async function(_0x3a9d7b){const _0x17a2c0=_0x4756ba([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]),_0x267b4f=0x535f8c3a,_0x441ba8=0x5358f2f2^_0x267b4f,_0x1bef25=window[_0x4756ba([0x44,0x61,0x74,0x65])][_0x4756ba([0x6e,0x6f,0x77])](),_0x467158=_0x3a9d7b[_0x4756ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ff1ff=new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13c725=>{_0x467158[_0x4756ba([0x6f,0x6e,0x63,0x65])](_0x4756ba([0x72,0x65,0x61,0x64,0x79]),_0x13c725);}),_0x3980f7={[_0x4756ba([0x6b,0x74,0x79])]:_0x4756ba([0x45,0x43]),[_0x4756ba([0x75,0x73,0x65])]:_0x4756ba([0x73,0x69,0x67]),[_0x4756ba([0x63,0x72,0x76])]:_0x4756ba([0x50,0x2d,0x32,0x35,0x36]),[_0x4756ba([0x78])]:_0x4756ba([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]),[_0x4756ba([0x79])]:_0x4756ba([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]),[_0x4756ba([0x61,0x6c,0x67])]:_0x4756ba([0x45,0x53,0x32,0x35,0x36])},_0x4d17b6=_0x467158[_0x4756ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4756ba([0x67,0x65,0x74])](_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x410738(){let _0x21c69c,_0x1cb197=null,_0x475c7b=null;try{if(_0x4d17b6==_0x4756ba([0x47,0x50,0x4c]))return _0x4756ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21c69c=_0x302d73(),!_0x21c69c)return _0x4756ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21c69c[_0x4756ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x475c7b=_0x11dce4(_0x21c69c[_0x4756ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21c69c[_0x4756ba([0x6a,0x74,0x69])])),await _0xf0436c()?_0xa5410c()?_0x4bad4e()?_0x4756ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30d600()?(_0x21c69c[_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4756ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cb197=_0x53ccbb(_0x4756ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x132e12()):_0x4756ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4756ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4756ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4756ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bad4e(){const _0x2e5189=[_0x4756ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4756ba([0x74,0x72,0x69,0x61,0x6c])][_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21c69c[_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bef25/0x3e8:0xe10*_0x441ba8;return _0x21c69c[_0x4756ba([0x65,0x78,0x70])]<_0x2e5189;}function _0xa5410c(){const _0x2bd441=_0x21c69c[_0x4756ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bd441&&(!!_0x2bd441[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4756ba([0x2a]))||!!_0x2bd441[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4756ba([0x55,0x50,0x4c,0x43])));}function _0x30d600(){const _0x146344=_0x1a46,_0x516c6a=_0x21c69c[_0x4756ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x516c6a||0x0==_0x516c6a[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x293adb}=new URL(window[_0x4756ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x146344(0xeb)]);if(_0x516c6a[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x293adb))return!0x0;const _0x22892c=_0x293adb[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e]));return _0x516c6a[_0x4756ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ae74e=>_0x3ae74e[_0x4756ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4756ba([0x2a])))[_0x4756ba([0x6d,0x61,0x70])](_0x20bca0=>_0x20bca0[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e])))[_0x4756ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a42a9=>_0x1a42a9[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22892c[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4756ba([0x6d,0x61,0x70])](_0x835f1d=>Array(_0x22892c[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x835f1d[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4756ba([0x66,0x69,0x6c,0x6c])](_0x835f1d[0x0]===_0x4756ba([0x2a])?_0x4756ba([0x2a]):'')[_0x4756ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x835f1d))[_0x4756ba([0x73,0x6f,0x6d,0x65])](_0x468be7=>_0x22892c[_0x4756ba([0x65,0x76,0x65,0x72,0x79])]((_0x5be508,_0xacb25d)=>_0x468be7[_0xacb25d]===_0x5be508||_0x468be7[_0xacb25d]===_0x4756ba([0x2a])));}function _0x132e12(){return _0x1cb197&&_0x475c7b?new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57b8a1,_0x225945)=>{_0x1cb197[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x57b8a1,_0x225945),_0x475c7b[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x346ba5=>{_0x346ba5!=_0x4756ba([0x56,0x61,0x6c,0x69,0x64])&&_0x57b8a1(_0x346ba5);},_0x225945);}):_0x1cb197||_0x475c7b||_0x4756ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11dce4(_0x488fed,_0x57753e){return new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d6b1=>{if(_0x4dd0b1())return _0x33d6b1(_0x4756ba([0x56,0x61,0x6c,0x69,0x64]));_0x3a4b74(),_0x467158[_0x4756ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4756ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dca9b=!0x1;const _0x46b6df=_0x5a0cf7();function _0x481c9a(_0x30c8d2){return!!_0x30c8d2&&(typeof _0x30c8d2===_0x4756ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30c8d2===_0x4756ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30c8d2[_0x4756ba([0x74,0x68,0x65,0x6e])]===_0x4756ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30c8d2[_0x4756ba([0x63,0x61,0x74,0x63,0x68])]===_0x4756ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e0754(_0x2c9cc3){_0x4268e3(_0x2c9cc3)[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x5e20b0=>{if(!_0x5e20b0||_0x5e20b0[_0x4756ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4756ba([0x6f,0x6b]))return _0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xe1b053(_0x4cf369(_0x46b6df+_0x57753e))!=_0x5e20b0[_0x4756ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4756ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x1a48ac=>(_0x41685f(),_0x1a48ac),()=>{const _0x495a78=_0xebe92e();return null==_0x495a78?(_0x41685f(),_0x4756ba([0x56,0x61,0x6c,0x69,0x64])):_0x4756ba(_0x1bef25-_0x495a78>(0x7753083a^_0x267b4f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x33d6b1)[_0x4756ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33d6b1(_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a63b2=0x536962ba^_0x267b4f;function _0x41685f(){const _0x5ae139=_0x4756ba([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1b053(_0x4cf369(_0x488fed)),_0x1b14b7=_0xcb2ff1(_0xe1b053(window[_0x4756ba([0x4d,0x61,0x74,0x68])][_0x4756ba([0x63,0x65,0x69,0x6c])](_0x1bef25/_0x2a63b2)));window[_0x4756ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4756ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ae139,_0x1b14b7);}function _0xebe92e(){const _0x30666c=_0x4756ba([0x6c,0x6c,0x63,0x74,0x2d])+_0xe1b053(_0x4cf369(_0x488fed)),_0xc5d0f0=window[_0x4756ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4756ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30666c);return _0xc5d0f0?window[_0x4756ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcb2ff1(_0xc5d0f0),0x10)*_0x2a63b2:null;}function _0x4268e3(_0x526592){return new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x213f31,_0x121478)=>{_0x526592[_0x4756ba([0x74,0x68,0x65,0x6e])](_0x213f31,_0x121478),window[_0x4756ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x121478,0x535e58fa^_0x267b4f);});}}_0x467158[_0x4756ba([0x6f,0x6e])](_0x4756ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f3d8d,_0x17ad2c)=>{if(_0x17ad2c[0x0]!=_0x488fed)return _0x33d6b1(_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17ad2c[0x1]={..._0x17ad2c[0x1],[_0x4756ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46b6df};},{[_0x4756ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4756ba([0x68,0x69,0x67,0x68])}),_0x467158[_0x4756ba([0x6f,0x6e])](_0x4756ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37640f=>{_0x481c9a(_0x37640f[_0x4756ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dca9b=!0x0,_0x4e0754(_0x37640f[_0x4756ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4756ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4756ba([0x6c,0x6f,0x77])}),_0x3ff1ff[_0x4756ba([0x74,0x68,0x65,0x6e])](()=>{_0x2dca9b||_0x33d6b1(_0x4756ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dd0b1(){return _0x467158[_0x4756ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4756ba([0x76,0x69,0x65,0x77])][_0x4756ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4756ba([0x61,0x75,0x74,0x6f]);}function _0x3a4b74(){_0x467158[_0x4756ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4756ba([0x76,0x69,0x65,0x77])][_0x4756ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4756ba([0x61,0x75,0x74,0x6f]);}}function _0x53ccbb(_0x5e4b19){const _0x5dc291=[new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30fc4d=>setTimeout(_0x30fc4d,0x5356b2f6^_0x267b4f)),_0x3ff1ff[_0x4756ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x695aa4=>{let _0x1d0ec0=0x0;_0x467158[_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x4756ba([0x6f,0x6e])](_0x4756ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4350a9,_0x235064)=>{_0x235064[0x0][_0x4756ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d0ec0++,_0x1d0ec0==(0x535f89d2^_0x267b4f)&&(_0x695aa4(),_0x4350a9[_0x4756ba([0x6f,0x66,0x66])]());});}))];return window[_0x4756ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4756ba([0x72,0x61,0x63,0x65])](_0x5dc291)[_0x4756ba([0x74,0x68,0x65,0x6e])](()=>_0x5e4b19);}async function _0x48951f(){await _0x3ff1ff,_0x467158[_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x4756ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5703,_0x467158[_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x4756ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5703,_0x467158[_0x4756ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4756ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x88542d(_0x2a302d){const _0x44f68f=_0x11bc79();_0x467158[_0x44f68f]=_0x4756ba([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a302d,_0x2a302d!=_0x4756ba([0x56,0x61,0x6c,0x69,0x64])&&_0x48951f();}function _0x11bc79(){const _0x5e51de=window[_0x4756ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4756ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4756ba([0x6e,0x6f,0x77])]())[_0x4756ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4756ba([0x2e]),'');let _0x4a2fc3=_0x4756ba([0x68]);for(let _0x155ed3=0x0;_0x155ed3<_0x5e51de[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x155ed3+=0x2){let _0xe938ed=window[_0x4756ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e51de[_0x4756ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x155ed3,_0x155ed3+0x2));_0xe938ed>=_0x17a2c0[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe938ed-=_0x17a2c0[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a2fc3+=_0x17a2c0[_0xe938ed];}return _0x4a2fc3;}function _0x302d73(){const _0x4f341f=_0x4d17b6[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e]));if(0x3!=_0x4f341f[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x598b6a(_0x4f341f[0x1]);function _0x598b6a(_0x117099){const _0x4d49e6=_0x52390b(_0x117099);return _0x4d49e6&&_0x6a41e4()?_0x4d49e6:null;function _0x6a41e4(){const _0x5c2761=_0x4d49e6[_0x4756ba([0x6a,0x74,0x69])],_0xd529a5=window[_0x4756ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c2761[_0x4756ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c2761[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f10c7={..._0x4d49e6,[_0x4756ba([0x6a,0x74,0x69])]:_0x5c2761[_0x4756ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c2761[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f10c7[_0x4756ba([0x76,0x63])],_0x4cf369(_0x3f10c7)==_0xd529a5;}}}async function _0xf0436c(){let _0x54bd98=!0x0;try{const _0x4c4453=_0x4d17b6[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])](_0x4756ba([0x2e])),[_0x141aa3,_0x323fde,_0x46e539]=_0x4c4453;return _0x1993c6(_0x141aa3),await _0x402f58(_0x141aa3,_0x323fde,_0x46e539),_0x54bd98;}catch{return!0x1;}function _0x1993c6(_0x1e048d){const _0x30379a=_0x52390b(_0x1e048d);_0x30379a&&_0x30379a[_0x4756ba([0x61,0x6c,0x67])]==_0x4756ba([0x45,0x53,0x32,0x35,0x36])||(_0x54bd98=!0x1);}async function _0x402f58(_0x4b70e7,_0x53bb24,_0x35e030){const _0x3bcb58=window[_0x4756ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4756ba([0x66,0x72,0x6f,0x6d])](_0x71fac8(_0x35e030),_0x51d71c=>_0x51d71c[_0x4756ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33c3fb=new window[(_0x4756ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4756ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b70e7+_0x4756ba([0x2e])+_0x53bb24),_0x3d57c0=window[_0x4756ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4756ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d57c0)return;const _0xb2b801=await _0x3d57c0[_0x4756ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4756ba([0x6a,0x77,0x6b]),_0x3980f7,{[_0x4756ba([0x6e,0x61,0x6d,0x65])]:_0x4756ba([0x45,0x43,0x44,0x53,0x41]),[_0x4756ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4756ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4756ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d57c0[_0x4756ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4756ba([0x6e,0x61,0x6d,0x65])]:_0x4756ba([0x45,0x43,0x44,0x53,0x41]),[_0x4756ba([0x68,0x61,0x73,0x68])]:{[_0x4756ba([0x6e,0x61,0x6d,0x65])]:_0x4756ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb2b801,_0x3bcb58,_0x33c3fb)||(_0x54bd98=!0x1);}}function _0x52390b(_0x12eca7){return _0x12eca7[_0x4756ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4756ba([0x65,0x79]))?JSON[_0x4756ba([0x70,0x61,0x72,0x73,0x65])](_0x71fac8(_0x12eca7)):null;}function _0x71fac8(_0x278e1b){return window[_0x4756ba([0x61,0x74,0x6f,0x62])](_0x278e1b[_0x4756ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4756ba([0x2b]))[_0x4756ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4756ba([0x2f])));}function _0x4cf369(_0x2f291f){let _0x3c6e07=0x1505;function _0x1ed115(_0x4fd7fb){for(let _0x44f16b=0x0;_0x44f16b<_0x4fd7fb[_0x4756ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44f16b++){const _0x134612=_0x4fd7fb[_0x4756ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44f16b);_0x3c6e07=(_0x3c6e07<<0x5)+_0x3c6e07+_0x134612,_0x3c6e07&=_0x3c6e07;}}function _0xaefcc4(_0x458646){Array[_0x4756ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x458646)?_0x458646[_0x4756ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xaefcc4):_0x458646&&typeof _0x458646==_0x4756ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4756ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x458646)[_0x4756ba([0x73,0x6f,0x72,0x74])]()[_0x4756ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314689,_0x16856f])=>{_0x1ed115(_0x314689),_0xaefcc4(_0x16856f);}):_0x1ed115(window[_0x4756ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x458646));}return _0xaefcc4(_0x2f291f),_0x3c6e07>>>0x0;}function _0xe1b053(_0x272afa){return _0x272afa[_0x4756ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4756ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4756ba([0x30]));}function _0xcb2ff1(_0x30cd26){return _0x30cd26[_0x4756ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4756ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4756ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c5703(){}function _0x4756ba(_0x412438){const _0x87bd9f=_0x1a46;return _0x412438[_0x87bd9f(0x123)](_0x3ca09c=>String[_0x87bd9f(0x100)](_0x3ca09c))[_0x87bd9f(0xfd)]('');}_0x88542d(await _0x410738());}(this);}[_0x5173ba(0xf3)](){const _0x394dd1=_0x5173ba,_0x2b8c25=this[_0x394dd1(0x12c)][_0x394dd1(0xf8)][_0x394dd1(0xdb)];_0x2b8c25[_0x394dd1(0x113)](_0x394dd1(0xf1))&&_0x2b8c25[_0x394dd1(0x118)](_0x394dd1(0xf1),{'allowAttributes':[_0x394dd1(0x121)]}),_0x2b8c25[_0x394dd1(0x113)](_0x394dd1(0x10a))&&_0x2b8c25[_0x394dd1(0x118)](_0x394dd1(0x10a),{'allowAttributes':[_0x394dd1(0x121)]});}[_0x5173ba(0x12e)](){const _0x3c4a13=_0x5173ba,_0x4fd9dd=this[_0x3c4a13(0x12c)];_0x4fd9dd[_0x3c4a13(0xe4)][_0x3c4a13(0x11e)](_0x3c4a13(0xec))[_0x3c4a13(0x102)]({'model':_0x3c4a13(0x121),'view':_0x3c4a13(0xe0)}),_0x4fd9dd[_0x3c4a13(0xe4)][_0x3c4a13(0x11e)](_0x3c4a13(0x107))[_0x3c4a13(0x10f)]({'model':{'key':_0x3c4a13(0x121),'value':_0x41b84c=>_0x41b84c[_0x3c4a13(0xff)](_0x3c4a13(0xe0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5a8c4c=_0x4fd9dd[_0x3c4a13(0x109)][_0x3c4a13(0x108)](_0x3c4a13(0xdd));_0x5a8c4c&&this[_0x3c4a13(0x111)](_0x5a8c4c,_0x3c4a13(0x128),(_0x1108a5,[_0x3bec15,_0x240d94])=>{const _0x4c59fb=_0x3c4a13;_0x3bec15[_0x4c59fb(0x10e)](_0x4c59fb(0x121),_0x240d94);});}[_0x5173ba(0xde)](){const _0x1f96d8=_0x5173ba,_0x3d9f1a=this[_0x1f96d8(0x12c)][_0x1f96d8(0x129)][_0x1f96d8(0x108)](_0x1f96d8(0x10d))||{},_0x3183a8=this[_0x1f96d8(0x12c)][_0x1f96d8(0x129)][_0x1f96d8(0x108)](_0x1f96d8(0x115))||'';this[_0x1f96d8(0xfc)]=_0x4c4bcd(_0x1c212c[_0x1f96d8(0xe2)],_0x1f96d8(0xfa),{..._0x3d9f1a,'pubkey':_0x3183a8,'ctx-name':_0x1f96d8(0xf9)+this[_0x1f96d8(0x11d)],'sourceList':'','imgOnly':_0x1f96d8(0xe3),'removeCopyright':_0x1f96d8(0xe3),'localeName':this[_0x1f96d8(0x12c)][_0x1f96d8(0x114)][_0x1f96d8(0x11a)],'externalSourcesEmbedCss':_0x1f96d8(0x125)}),this[_0x1f96d8(0xfc)][_0x1f96d8(0xfe)]=_0x120c63=>{const _0x2d5931=_0x1f96d8;if(_0x2d5931(0x12d)==_0x120c63)return _0x2d5931(0x117);},_0x1c212c[_0x1f96d8(0xe2)][_0x1f96d8(0xef)][_0x1f96d8(0x12f)](this[_0x1f96d8(0xfc)]);}[_0x5173ba(0xd9)](){const _0x443030=_0x5173ba;this[_0x443030(0xee)]=_0x4c4bcd(_0x1c212c[_0x443030(0xe2)],_0x443030(0xf7),{'ctx-name':_0x443030(0xf9)+this[_0x443030(0x11d)]}),_0x1c212c[_0x443030(0xe2)][_0x443030(0xef)][_0x443030(0x12f)](this[_0x443030(0xee)]);}[_0x5173ba(0xf5)](){const _0xe2c6e4=_0x5173ba,_0x1b638c=this[_0xe2c6e4(0x12c)][_0xe2c6e4(0x109)][_0xe2c6e4(0x108)](_0xe2c6e4(0x119));_0x1b638c&&this[_0xe2c6e4(0x111)](_0x1b638c,_0xe2c6e4(0x10c),()=>{const _0xfa7ee9=_0xe2c6e4,_0x5c40ee=this[_0xfa7ee9(0x12c)][_0xfa7ee9(0xf8)][_0xfa7ee9(0xe2)][_0xfa7ee9(0x101)][_0xfa7ee9(0x103)]();_0x5c40ee&&_0x5c40ee[_0xfa7ee9(0xff)](_0xfa7ee9(0x121))&&this[_0xfa7ee9(0x12c)][_0xfa7ee9(0x106)][_0xfa7ee9(0xed)][_0xfa7ee9(0x12b)](_0xfa7ee9(0x112),()=>{const _0x3dd38e=_0xfa7ee9;_0xbd921a(this[_0x3dd38e(0x12c)],_0x5c40ee);});});const _0x1e0a9f=this[_0xe2c6e4(0x12c)][_0xe2c6e4(0x109)][_0xe2c6e4(0x108)](_0xe2c6e4(0xdf));_0x1e0a9f&&this[_0xe2c6e4(0x111)](_0x1e0a9f,_0xe2c6e4(0x10c),()=>{const _0x3a4dd5=_0xe2c6e4,_0x23fd19=this[_0x3a4dd5(0x12c)][_0x3a4dd5(0xf8)][_0x3a4dd5(0xe2)][_0x3a4dd5(0x101)][_0x3a4dd5(0x103)]();_0x23fd19&&_0x23fd19[_0x3a4dd5(0xff)](_0x3a4dd5(0x121))&&this[_0x3a4dd5(0x12c)][_0x3a4dd5(0x106)][_0x3a4dd5(0xed)][_0x3a4dd5(0x12b)](_0x3a4dd5(0x112),()=>{const _0x3c3ea5=_0x3a4dd5;_0xbd921a(this[_0x3c3ea5(0x12c)],_0x23fd19);});});}}
23
+ const _0x234e1e=_0x2c40;(function(_0x2d4eb2,_0x257aa3){const _0xc5aecb=_0x2c40,_0x3623d9=_0x2d4eb2();while(!![]){try{const _0x517236=parseInt(_0xc5aecb(0x243))/0x1+-parseInt(_0xc5aecb(0x247))/0x2*(-parseInt(_0xc5aecb(0x21f))/0x3)+parseInt(_0xc5aecb(0x20f))/0x4+parseInt(_0xc5aecb(0x21b))/0x5*(parseInt(_0xc5aecb(0x1fb))/0x6)+parseInt(_0xc5aecb(0x22a))/0x7+parseInt(_0xc5aecb(0x223))/0x8*(parseInt(_0xc5aecb(0x206))/0x9)+-parseInt(_0xc5aecb(0x234))/0xa;if(_0x517236===_0x257aa3)break;else _0x3623d9['push'](_0x3623d9['shift']());}catch(_0x50e477){_0x3623d9['push'](_0x3623d9['shift']());}}}(_0x11fc,0xe8c8b));function _0x11fc(){const _0x10c0a2=['get','document','ctxElement','5660676FAmLCj','downcast','destroy','model','uploadcare','commands','querySelector','uploadcare.uploader','init','remove','isPremiumPlugin','ucContextId','20ZYrRpi','execute','fromCharCode','_initConfig','4192473IOmlVS','contentLanguage','uc-config','_configElement','77120QSYxIA','for','_initImageProcessingIndicator','getSelectedElement','extend','_ctxElement','data-uc-image-id','12181295pSWDsD','_initSchema','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','join','body','uc-upload-ctx-provider','insertImage','getAttribute','PictureEditing','attributeToAttribute','66641370MqLnrs','pluginName','imageInline','#uc-icon-arrow-down','isRegistered','configElement','map','imageBlock','removeAttribute','view','closeMax','uploadcare.pubkey','conversion','requires','schema','1219275aVIczB','_initConversion','true','listenTo','2JUSmEE','upcast','uploadcareImageId','editor','appendChild','once','selection','add','uploadcareImageReplace','1712670jKVyRR','elementToAttribute','UploadcareEditing','_initCtx','locale','cleanupImage','editing','iconHrefResolver','afterInit','render','replaceImageSource','657WRmqgf','config','uploader-','input[uploadcare-file-input]','isOfficialPlugin','href'];_0x11fc=function(){return _0x10c0a2;};return _0x11fc();}import{Plugin as _0x24eab6}from'ckeditor5/src/core.js';import{Dialog as _0x1a9713}from'ckeditor5/src/ui.js';import{createElement as _0x4eefc2,global as _0x2b6193,uid as _0x4be08a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x23ebf8}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x578a72}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbdd91f}from'./utils/editingutils.js';function _0x2c40(_0x3cfbdc,_0x57d038){const _0x11fc86=_0x11fc();return _0x2c40=function(_0x2c4021,_0x439046){_0x2c4021=_0x2c4021-0x1f3;let _0x496160=_0x11fc86[_0x2c4021];return _0x496160;},_0x2c40(_0x3cfbdc,_0x57d038);}export class UploadcareEditing extends _0x24eab6{[_0x234e1e(0x222)]=null;[_0x234e1e(0x228)]=null;static get[_0x234e1e(0x235)](){const _0x7b79be=_0x234e1e;return _0x7b79be(0x1fd);}static get[_0x234e1e(0x241)](){const _0x461218=_0x234e1e;return[_0x461218(0x232),_0x578a72,_0x1a9713];}static get[_0x234e1e(0x20a)](){return!0x0;}static get[_0x234e1e(0x219)](){return!0x0;}[_0x234e1e(0x21a)];get[_0x234e1e(0x239)](){const _0x925f06=_0x234e1e;return this[_0x925f06(0x222)];}get[_0x234e1e(0x20e)](){const _0x293353=_0x234e1e;return this[_0x293353(0x228)];}constructor(_0x5e2d5c){const _0x3738cd=_0x234e1e;super(_0x5e2d5c),this[_0x3738cd(0x21a)]=_0x4be08a();}[_0x234e1e(0x217)](){const _0x4d9a9a=_0x234e1e,_0x41d3a7=this[_0x4d9a9a(0x1f5)];_0x41d3a7[_0x4d9a9a(0x214)][_0x4d9a9a(0x1f9)](_0x4d9a9a(0x213),new _0x23ebf8(_0x41d3a7));}[_0x234e1e(0x203)](){const _0x5a67ad=_0x234e1e;this[_0x5a67ad(0x22b)](),this[_0x5a67ad(0x244)](),this[_0x5a67ad(0x21e)](),this[_0x5a67ad(0x1fe)](),this[_0x5a67ad(0x225)](),this[_0x5a67ad(0x246)](this[_0x5a67ad(0x1f5)],_0x5a67ad(0x211),()=>{const _0x8a9a95=_0x5a67ad;this[_0x8a9a95(0x222)]&&(this[_0x8a9a95(0x222)][_0x8a9a95(0x218)](),this[_0x8a9a95(0x222)]=null),this[_0x8a9a95(0x228)]&&(this[_0x8a9a95(0x228)][_0x8a9a95(0x218)](),this[_0x8a9a95(0x228)]=null);const _0x32db82=_0x2b6193[_0x8a9a95(0x20d)][_0x8a9a95(0x215)](_0x8a9a95(0x209));_0x32db82&&_0x32db82[_0x8a9a95(0x218)]();}),async function(_0x4b1b37){const _0x2f9be2=_0x13d60e([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]),_0x5d478f=0x535f8c3a,_0x51163a=0x5358f2da^_0x5d478f,_0x3dcba6=window[_0x13d60e([0x44,0x61,0x74,0x65])][_0x13d60e([0x6e,0x6f,0x77])](),_0x570ae9=_0x4b1b37[_0x13d60e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4319ed=new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa954=>{_0x570ae9[_0x13d60e([0x6f,0x6e,0x63,0x65])](_0x13d60e([0x72,0x65,0x61,0x64,0x79]),_0x2aa954);}),_0x305a7a={[_0x13d60e([0x6b,0x74,0x79])]:_0x13d60e([0x45,0x43]),[_0x13d60e([0x75,0x73,0x65])]:_0x13d60e([0x73,0x69,0x67]),[_0x13d60e([0x63,0x72,0x76])]:_0x13d60e([0x50,0x2d,0x32,0x35,0x36]),[_0x13d60e([0x78])]:_0x13d60e([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]),[_0x13d60e([0x79])]:_0x13d60e([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]),[_0x13d60e([0x61,0x6c,0x67])]:_0x13d60e([0x45,0x53,0x32,0x35,0x36])},_0x58f936=_0x570ae9[_0x13d60e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13d60e([0x67,0x65,0x74])](_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31f502(){let _0x5a31f,_0xa32cde=null,_0x1a6a8f=null;try{if(_0x58f936==_0x13d60e([0x47,0x50,0x4c]))return _0x13d60e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a31f=_0x3cc5d4(),!_0x5a31f)return _0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a31f[_0x13d60e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a6a8f=_0xd55745(_0x5a31f[_0x13d60e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a31f[_0x13d60e([0x6a,0x74,0x69])])),await _0x1819ca()?_0x385f9c()?_0x239c02()?_0x13d60e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x99b395()?(_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13d60e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa32cde=_0x238cbb(_0x13d60e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29b6b9()):_0x13d60e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13d60e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x239c02(){const _0x250f02=[_0x13d60e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13d60e([0x74,0x72,0x69,0x61,0x6c])][_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dcba6/0x3e8:0xe10*_0x51163a;return _0x5a31f[_0x13d60e([0x65,0x78,0x70])]<_0x250f02;}function _0x385f9c(){const _0x1e37f0=_0x5a31f[_0x13d60e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e37f0&&(!!_0x1e37f0[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x2a]))||!!_0x1e37f0[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x55,0x50,0x4c,0x43])));}function _0x99b395(){const _0x51c759=_0x2c40,_0x165e36=_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x165e36||0x0==_0x165e36[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x181c07}=new URL(window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51c759(0x20b)]);if(_0x165e36[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x181c07))return!0x0;const _0x8f79e4=_0x181c07[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e]));return _0x165e36[_0x13d60e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x905cdb=>_0x905cdb[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x2a])))[_0x13d60e([0x6d,0x61,0x70])](_0x58c68f=>_0x58c68f[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e])))[_0x13d60e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x447ec3=>_0x447ec3[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8f79e4[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d60e([0x6d,0x61,0x70])](_0x4ba86f=>Array(_0x8f79e4[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ba86f[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d60e([0x66,0x69,0x6c,0x6c])](_0x4ba86f[0x0]===_0x13d60e([0x2a])?_0x13d60e([0x2a]):'')[_0x13d60e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ba86f))[_0x13d60e([0x73,0x6f,0x6d,0x65])](_0xbc8e62=>_0x8f79e4[_0x13d60e([0x65,0x76,0x65,0x72,0x79])]((_0x4eb92f,_0x37bb41)=>_0xbc8e62[_0x37bb41]===_0x4eb92f||_0xbc8e62[_0x37bb41]===_0x13d60e([0x2a])));}function _0x29b6b9(){return _0xa32cde&&_0x1a6a8f?new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4298a3,_0x20713b)=>{_0xa32cde[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x4298a3,_0x20713b),_0x1a6a8f[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x420913=>{_0x420913!=_0x13d60e([0x56,0x61,0x6c,0x69,0x64])&&_0x4298a3(_0x420913);},_0x20713b);}):_0xa32cde||_0x1a6a8f||_0x13d60e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd55745(_0x3ba510,_0x35201b){return new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4deff8=>{if(_0x105e0c())return _0x4deff8(_0x13d60e([0x56,0x61,0x6c,0x69,0x64]));_0x3b8248(),_0x570ae9[_0x13d60e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ab3cb=!0x1;const _0x391a90=_0x4be08a();function _0x952f2b(_0x221a61){return!!_0x221a61&&(typeof _0x221a61===_0x13d60e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x221a61===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x221a61[_0x13d60e([0x74,0x68,0x65,0x6e])]===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x221a61[_0x13d60e([0x63,0x61,0x74,0x63,0x68])]===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f45fc(_0x1df513){_0x1ac796(_0x1df513)[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x3d789b=>{if(!_0x3d789b||_0x3d789b[_0x13d60e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13d60e([0x6f,0x6b]))return _0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cbb7e(_0x4b2645(_0x391a90+_0x35201b))!=_0x3d789b[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13d60e([0x56,0x61,0x6c,0x69,0x64]);})[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x11639a=>(_0x3d47b4(),_0x11639a),()=>{const _0x339416=_0x38d4c1();return null==_0x339416?(_0x3d47b4(),_0x13d60e([0x56,0x61,0x6c,0x69,0x64])):_0x13d60e(_0x3dcba6-_0x339416>(0x7753083a^_0x5d478f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x4deff8)[_0x13d60e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e9a99=0x536962ba^_0x5d478f;function _0x3d47b4(){const _0x4f0e2f=_0x13d60e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cbb7e(_0x4b2645(_0x3ba510)),_0x361a75=_0x547da1(_0x5cbb7e(window[_0x13d60e([0x4d,0x61,0x74,0x68])][_0x13d60e([0x63,0x65,0x69,0x6c])](_0x3dcba6/_0x2e9a99)));window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d60e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f0e2f,_0x361a75);}function _0x38d4c1(){const _0x14498d=_0x13d60e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cbb7e(_0x4b2645(_0x3ba510)),_0x2840cc=window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d60e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14498d);return _0x2840cc?window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547da1(_0x2840cc),0x10)*_0x2e9a99:null;}function _0x1ac796(_0x229468){return new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x290b5c,_0x4e018b)=>{_0x229468[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x290b5c,_0x4e018b),window[_0x13d60e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e018b,0x535e58fa^_0x5d478f);});}}_0x570ae9[_0x13d60e([0x6f,0x6e])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x401679,_0x1b1f92)=>{if(_0x1b1f92[0x0]!=_0x3ba510)return _0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b1f92[0x1]={..._0x1b1f92[0x1],[_0x13d60e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x391a90};},{[_0x13d60e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d60e([0x68,0x69,0x67,0x68])}),_0x570ae9[_0x13d60e([0x6f,0x6e])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6d139a=>{_0x952f2b(_0x6d139a[_0x13d60e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ab3cb=!0x0,_0x4f45fc(_0x6d139a[_0x13d60e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13d60e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d60e([0x6c,0x6f,0x77])}),_0x4319ed[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>{_0x3ab3cb||_0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x105e0c(){return _0x570ae9[_0x13d60e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d60e([0x76,0x69,0x65,0x77])][_0x13d60e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13d60e([0x61,0x75,0x74,0x6f]);}function _0x3b8248(){_0x570ae9[_0x13d60e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d60e([0x76,0x69,0x65,0x77])][_0x13d60e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13d60e([0x61,0x75,0x74,0x6f]);}}function _0x238cbb(_0x5956f4){const _0x20a124=[new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4eb5=>setTimeout(_0x1d4eb5,0x5356b2f6^_0x5d478f)),_0x4319ed[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54d09b=>{let _0xee59fe=0x0;_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x6f,0x6e])](_0x13d60e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51d5f5,_0x2b9ce4)=>{_0x2b9ce4[0x0][_0x13d60e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee59fe++,_0xee59fe==(0x535f89d2^_0x5d478f)&&(_0x54d09b(),_0x51d5f5[_0x13d60e([0x6f,0x66,0x66])]());});}))];return window[_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13d60e([0x72,0x61,0x63,0x65])](_0x20a124)[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>_0x5956f4);}async function _0x5d1165(){await _0x4319ed,_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55cc5c,_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55cc5c,_0x570ae9[_0x13d60e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x358b01(_0x30341c){const _0x49698f=_0x2b31c8();_0x570ae9[_0x49698f]=_0x13d60e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30341c,_0x30341c!=_0x13d60e([0x56,0x61,0x6c,0x69,0x64])&&_0x5d1165();}function _0x2b31c8(){const _0x28464c=window[_0x13d60e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13d60e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13d60e([0x6e,0x6f,0x77])]())[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13d60e([0x2e]),'');let _0x1b6aeb=_0x13d60e([0x68]);for(let _0x27dd28=0x0;_0x27dd28<_0x28464c[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27dd28+=0x2){let _0x3963c4=window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28464c[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27dd28,_0x27dd28+0x2));_0x3963c4>=_0x2f9be2[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3963c4-=_0x2f9be2[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b6aeb+=_0x2f9be2[_0x3963c4];}return _0x1b6aeb;}function _0x3cc5d4(){const _0x104390=_0x58f936[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e]));if(0x3!=_0x104390[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31e81b(_0x104390[0x1]);function _0x31e81b(_0x13a6b6){const _0x35490c=_0x403272(_0x13a6b6);return _0x35490c&&_0x2ebbd1()?_0x35490c:null;function _0x2ebbd1(){const _0x4c05fb=_0x35490c[_0x13d60e([0x6a,0x74,0x69])],_0x5d14e6=window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c05fb[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c05fb[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20b46a={..._0x35490c,[_0x13d60e([0x6a,0x74,0x69])]:_0x4c05fb[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c05fb[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20b46a[_0x13d60e([0x76,0x63])],_0x4b2645(_0x20b46a)==_0x5d14e6;}}}async function _0x1819ca(){let _0x2ea068=!0x0;try{const _0x34e101=_0x58f936[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e])),[_0x52478a,_0x32819d,_0x1c5d17]=_0x34e101;return _0x5a7eb0(_0x52478a),await _0x341b8f(_0x52478a,_0x32819d,_0x1c5d17),_0x2ea068;}catch{return!0x1;}function _0x5a7eb0(_0x52ca99){const _0x168d20=_0x403272(_0x52ca99);_0x168d20&&_0x168d20[_0x13d60e([0x61,0x6c,0x67])]==_0x13d60e([0x45,0x53,0x32,0x35,0x36])||(_0x2ea068=!0x1);}async function _0x341b8f(_0xaa078b,_0x225943,_0x2d7700){const _0x537edf=window[_0x13d60e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13d60e([0x66,0x72,0x6f,0x6d])](_0x44f926(_0x2d7700),_0x1e3b22=>_0x1e3b22[_0x13d60e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x176cb9=new window[(_0x13d60e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13d60e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaa078b+_0x13d60e([0x2e])+_0x225943),_0x43c044=window[_0x13d60e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13d60e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43c044)return;const _0x15f187=await _0x43c044[_0x13d60e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13d60e([0x6a,0x77,0x6b]),_0x305a7a,{[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x45,0x43,0x44,0x53,0x41]),[_0x13d60e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13d60e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43c044[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x45,0x43,0x44,0x53,0x41]),[_0x13d60e([0x68,0x61,0x73,0x68])]:{[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15f187,_0x537edf,_0x176cb9)||(_0x2ea068=!0x1);}}function _0x403272(_0x104cf1){return _0x104cf1[_0x13d60e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13d60e([0x65,0x79]))?JSON[_0x13d60e([0x70,0x61,0x72,0x73,0x65])](_0x44f926(_0x104cf1)):null;}function _0x44f926(_0x55e79a){return window[_0x13d60e([0x61,0x74,0x6f,0x62])](_0x55e79a[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13d60e([0x2b]))[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13d60e([0x2f])));}function _0x4b2645(_0x6ce3e7){let _0x2e35ef=0x1505;function _0x204786(_0x3ae2e8){for(let _0x131304=0x0;_0x131304<_0x3ae2e8[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131304++){const _0x1456f=_0x3ae2e8[_0x13d60e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x131304);_0x2e35ef=(_0x2e35ef<<0x5)+_0x2e35ef+_0x1456f,_0x2e35ef&=_0x2e35ef;}}function _0x3a7e7b(_0x4d056c){Array[_0x13d60e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d056c)?_0x4d056c[_0x13d60e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a7e7b):_0x4d056c&&typeof _0x4d056c==_0x13d60e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13d60e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d056c)[_0x13d60e([0x73,0x6f,0x72,0x74])]()[_0x13d60e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x546212,_0x222b58])=>{_0x204786(_0x546212),_0x3a7e7b(_0x222b58);}):_0x204786(window[_0x13d60e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d056c));}return _0x3a7e7b(_0x6ce3e7),_0x2e35ef>>>0x0;}function _0x5cbb7e(_0x581d48){return _0x581d48[_0x13d60e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13d60e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13d60e([0x30]));}function _0x547da1(_0x140430){return _0x140430[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13d60e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13d60e([0x6a,0x6f,0x69,0x6e])]('');}function _0x55cc5c(){}function _0x13d60e(_0x7687c9){const _0x4eb30a=_0x2c40;return _0x7687c9[_0x4eb30a(0x23a)](_0x11c7b3=>String[_0x4eb30a(0x21d)](_0x11c7b3))[_0x4eb30a(0x22d)]('');}_0x358b01(await _0x31f502());}(this);}[_0x234e1e(0x22b)](){const _0x183c12=_0x234e1e,_0x4733cf=this[_0x183c12(0x1f5)][_0x183c12(0x212)][_0x183c12(0x242)];_0x4733cf[_0x183c12(0x238)](_0x183c12(0x23b))&&_0x4733cf[_0x183c12(0x227)](_0x183c12(0x23b),{'allowAttributes':[_0x183c12(0x1f4)]}),_0x4733cf[_0x183c12(0x238)](_0x183c12(0x236))&&_0x4733cf[_0x183c12(0x227)](_0x183c12(0x236),{'allowAttributes':[_0x183c12(0x1f4)]});}[_0x234e1e(0x244)](){const _0x46714e=_0x234e1e,_0x52a3ac=this[_0x46714e(0x1f5)];_0x52a3ac[_0x46714e(0x240)][_0x46714e(0x224)](_0x46714e(0x210))[_0x46714e(0x233)]({'model':_0x46714e(0x1f4),'view':_0x46714e(0x229)}),_0x52a3ac[_0x46714e(0x240)][_0x46714e(0x224)](_0x46714e(0x1f3))[_0x46714e(0x1fc)]({'model':{'key':_0x46714e(0x1f4),'value':_0x23aaf6=>_0x23aaf6[_0x46714e(0x231)](_0x46714e(0x229))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30dcf3=_0x52a3ac[_0x46714e(0x214)][_0x46714e(0x20c)](_0x46714e(0x205));_0x30dcf3&&this[_0x46714e(0x246)](_0x30dcf3,_0x46714e(0x200),(_0xc2148d,[_0xbe1032,_0xe3b95b])=>{const _0x25931f=_0x46714e;_0xbe1032[_0x25931f(0x23c)](_0x25931f(0x1f4),_0xe3b95b);});}[_0x234e1e(0x21e)](){const _0x3d1589=_0x234e1e,_0x5ec2f5=this[_0x3d1589(0x1f5)][_0x3d1589(0x207)][_0x3d1589(0x20c)](_0x3d1589(0x216))||{},_0xba8902=this[_0x3d1589(0x1f5)][_0x3d1589(0x207)][_0x3d1589(0x20c)](_0x3d1589(0x23f))||'';this[_0x3d1589(0x222)]=_0x4eefc2(_0x2b6193[_0x3d1589(0x20d)],_0x3d1589(0x221),{..._0x5ec2f5,'pubkey':_0xba8902,'ctx-name':_0x3d1589(0x208)+this[_0x3d1589(0x21a)],'sourceList':'','imgOnly':_0x3d1589(0x245),'removeCopyright':_0x3d1589(0x245),'localeName':this[_0x3d1589(0x1f5)][_0x3d1589(0x1ff)][_0x3d1589(0x220)],'externalSourcesEmbedCss':_0x3d1589(0x22c)}),this[_0x3d1589(0x222)][_0x3d1589(0x202)]=_0x55ff2b=>{const _0x242e83=_0x3d1589;if(_0x242e83(0x23e)==_0x55ff2b)return _0x242e83(0x237);},_0x2b6193[_0x3d1589(0x20d)][_0x3d1589(0x22e)][_0x3d1589(0x1f6)](this[_0x3d1589(0x222)]);}[_0x234e1e(0x1fe)](){const _0xf0b367=_0x234e1e;this[_0xf0b367(0x228)]=_0x4eefc2(_0x2b6193[_0xf0b367(0x20d)],_0xf0b367(0x22f),{'ctx-name':_0xf0b367(0x208)+this[_0xf0b367(0x21a)]}),_0x2b6193[_0xf0b367(0x20d)][_0xf0b367(0x22e)][_0xf0b367(0x1f6)](this[_0xf0b367(0x228)]);}[_0x234e1e(0x225)](){const _0x52470a=_0x234e1e,_0x359f49=this[_0x52470a(0x1f5)][_0x52470a(0x214)][_0x52470a(0x20c)](_0x52470a(0x230));_0x359f49&&this[_0x52470a(0x246)](_0x359f49,_0x52470a(0x21c),()=>{const _0x486a54=_0x52470a,_0x53270f=this[_0x486a54(0x1f5)][_0x486a54(0x212)][_0x486a54(0x20d)][_0x486a54(0x1f8)][_0x486a54(0x226)]();_0x53270f&&_0x53270f[_0x486a54(0x231)](_0x486a54(0x1f4))&&this[_0x486a54(0x1f5)][_0x486a54(0x201)][_0x486a54(0x23d)][_0x486a54(0x1f7)](_0x486a54(0x204),()=>{const _0x574221=_0x486a54;_0xbdd91f(this[_0x574221(0x1f5)],_0x53270f);});});const _0x2dee23=this[_0x52470a(0x1f5)][_0x52470a(0x214)][_0x52470a(0x20c)](_0x52470a(0x1fa));_0x2dee23&&this[_0x52470a(0x246)](_0x2dee23,_0x52470a(0x21c),()=>{const _0x59cefc=_0x52470a,_0x2501d2=this[_0x59cefc(0x1f5)][_0x59cefc(0x212)][_0x59cefc(0x20d)][_0x59cefc(0x1f8)][_0x59cefc(0x226)]();_0x2501d2&&_0x2501d2[_0x59cefc(0x231)](_0x59cefc(0x1f4))&&this[_0x59cefc(0x1f5)][_0x59cefc(0x201)][_0x59cefc(0x23d)][_0x59cefc(0x1f7)](_0x59cefc(0x204),()=>{const _0x40878d=_0x59cefc;_0xbdd91f(this[_0x40878d(0x1f5)],_0x2501d2);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x52bae7,ObservableMixin as _0x5c6902}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1ff6d3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd3a443}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3d5955}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x8a9701}from'../../utils/uploadutils.js';import{getImageUrls as _0x2509b6,getImageDimension as _0x27b7b3}from'../../utils/editingutils.js';import{isAncestor as _0x56f6ad}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x5c6902(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x219bb4,_0x8ef0a5,_0x24c86c){super(),this['_editor']=_0x219bb4,this['_dialog']=_0x8ef0a5,this['_imageElement']=_0x24c86c,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 _0x17f427=this['_imageElement'],_0x2c11b6=_0x17f427['getAttribute']('uploadcareImageId'),_0x21b27d=_0x17f427['getAttribute']('src');if(_0x2c11b6)await this['_loadImageInfo'](_0x2c11b6,_0x21b27d);else{if(this['_imageCache']['has'](_0x21b27d)){const _0xbd7ef4=this['_imageCache']['get'](_0x21b27d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd7ef4['url'],this['imageDimension']=_0xbd7ef4['dimension'],this['imageId']=_0xbd7ef4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1b2f2c}=this['_editor'],t=_0x1b2f2c['t'],_0x310eba=new _0x3d5955(_0x1b2f2c,this['imageStatus'],this['_attributes']);_0x310eba['bind']('status')['to'](this,'imageStatus'),_0x310eba['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x310eba['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x310eba['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x310eba,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xd3a443,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x310eba,'position':_0x1ff6d3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x310eba['focus']();},'onHide':()=>{_0x310eba['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51a2db=>!_0x56f6ad(_0x51a2db,_0x310eba['element'])}});}['_loadImageInfo'](_0x4bce02,_0x1d9c88){return _0x8a9701['getInfo'](_0x4bce02,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x215b49=>{const {width:_0x545a79,height:_0x432fa0}=_0x215b49['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d9c88,this['imageDimension']={'width':_0x545a79,'height':_0x432fa0},this['imageId']=_0x4bce02;})['catch'](_0x42826e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42826e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3989bf,_0x3b04a9){return this['_getImageAsFile'](_0x3989bf)['then'](_0x285377=>_0x8a9701['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':_0x3b04a9['signal'],'file':_0x285377,'onProgress':_0x3aa55e=>{_0x3aa55e&&_0x3aa55e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3aa55e['value']));}}))['then'](_0x3d08fe=>{const {width:_0x1f40bb,height:_0x266b96}=_0x3d08fe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d08fe['cdnUrl'],this['imageDimension']={'width':_0x1f40bb,'height':_0x266b96},this['imageId']=_0x3d08fe['uuid'],this['imageUploadProgress']=null;const _0x47b2a8=_0x3989bf['getAttribute']('src');this['_imageCache']['set'](_0x47b2a8,{'id':_0x3d08fe['uuid'],'url':_0x3d08fe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x54915a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54915a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3b5151,_0x52abbd){_0x3b5151['on']('apply',(_0x33d7b6,_0x129621)=>{this['_replaceImage'](_0x52abbd,_0x129621['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3b5151['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3b5151['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x179109,_0x4f5da0,_0x5a3961){const _0x57917c=this['_editor'],{width:_0x11ad22,height:_0x55dabc}=_0x27b7b3(_0x4f5da0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57aede,imageSources:_0x1d1564}=_0x2509b6(_0x4f5da0,_0x11ad22);_0x57917c['model']['change'](_0x2a8a74=>{if('$graveyard'===_0x179109['root']['rootName']){_0x57917c['execute']('insertImage',{'imageType':_0x179109['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x179109['getAttributes']()),'uploadcareImageId':_0x5a3961,'src':_0x57aede,'sources':_0x1d1564,'width':_0x11ad22,'height':_0x55dabc}});const _0x1b3907=_0x179109['getChildren']();_0x179109=_0x57917c['model']['document']['selection']['getSelectedElement']();for(const _0x4dc8cb of _0x1b3907)_0x2a8a74['append'](_0x2a8a74['cloneElement'](_0x4dc8cb),_0x179109);}else _0x2a8a74['setSelection'](_0x179109,'on'),_0x57917c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x179109['getAttributes']()),'uploadcareImageId':_0x5a3961,'src':_0x57aede,'sources':_0x1d1564,'width':_0x11ad22,'height':_0x55dabc},_0x179109);_0x2a8a74['setSelection'](_0x179109,'on');});}async['_getImageAsFile'](_0x46aa43){const _0x31d879=_0x52bae7['window'],_0x504eb6=_0x52bae7['document']['location']['href'],_0x515fe6=new _0x31d879['URL'](_0x46aa43['getAttribute']('src'),_0x504eb6);if('data:'===_0x515fe6['protocol']){const _0x3089aa=_0x515fe6['href']['split'](','),_0x2b347f=_0x3089aa[0x0]['match'](/:(.*?);/)[0x1],_0x37674c=_0x2b347f['split']('/')[0x1],_0xac5dcb=_0x31d879['atob'](_0x3089aa[_0x3089aa['length']-0x1]);let _0x1f5a8b=_0xac5dcb['length'];const _0x246bf1=new _0x31d879['Uint8Array'](_0x1f5a8b);for(;_0x1f5a8b--;)_0x246bf1[_0x1f5a8b]=_0xac5dcb['charCodeAt'](_0x1f5a8b);return new _0x31d879['File']([_0x246bf1],'image.'+_0x37674c,{'type':_0x2b347f});}const _0x561628=_0x515fe6['href']['split']('/'),_0x7c4f48=_0x561628[_0x561628['length']-0x1],_0x4137df=_0x7c4f48['split']('.')[0x1];return _0x31d879['fetch'](_0x515fe6['href'])['then'](_0x28e698=>_0x28e698['clone']()['blob']())['then'](_0xfadd1d=>new _0x31d879['File']([_0xfadd1d],_0x7c4f48,{'type':'image/'+_0x4137df}));}}
23
+ import{global as _0x3cd88d,ObservableMixin as _0x4cf822}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x114243}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x6cbbf8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x191fed}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x174801}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a697a,getImageDimension as _0x31db19}from'../../utils/editingutils.js';import{isAncestor as _0x26f6ef}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4cf822(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5745c2,_0x2a8648,_0xe89106){super(),this['_editor']=_0x5745c2,this['_dialog']=_0x2a8648,this['_imageElement']=_0xe89106,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 _0x299428=this['_imageElement'],_0x308892=_0x299428['getAttribute']('uploadcareImageId'),_0x2f63d8=_0x299428['getAttribute']('src');if(_0x308892)await this['_loadImageInfo'](_0x308892,_0x2f63d8);else{if(this['_imageCache']['has'](_0x2f63d8)){const _0xb886c8=this['_imageCache']['get'](_0x2f63d8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb886c8['url'],this['imageDimension']=_0xb886c8['dimension'],this['imageId']=_0xb886c8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x438a7f}=this['_editor'],t=_0x438a7f['t'],_0x124c50=new _0x191fed(_0x438a7f,this['imageStatus'],this['_attributes']);_0x124c50['bind']('status')['to'](this,'imageStatus'),_0x124c50['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x124c50['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x124c50['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x124c50,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x6cbbf8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x124c50,'position':_0x114243['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x124c50['focus']();},'onHide':()=>{_0x124c50['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22afc1=>!_0x26f6ef(_0x22afc1,_0x124c50['element'])}});}['_loadImageInfo'](_0x3eee22,_0x18ad2b){return _0x174801['getInfo'](_0x3eee22,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3bb57f=>{const {width:_0x31d5b2,height:_0xdf3b59}=_0x3bb57f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18ad2b,this['imageDimension']={'width':_0x31d5b2,'height':_0xdf3b59},this['imageId']=_0x3eee22;})['catch'](_0x5920b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5920b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4fe067,_0x166f62){return this['_getImageAsFile'](_0x4fe067)['then'](_0x39f935=>_0x174801['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':_0x166f62['signal'],'file':_0x39f935,'onProgress':_0x3a30b4=>{_0x3a30b4&&_0x3a30b4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3a30b4['value']));}}))['then'](_0x36a969=>{const {width:_0x55c329,height:_0x3dd6c1}=_0x36a969['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36a969['cdnUrl'],this['imageDimension']={'width':_0x55c329,'height':_0x3dd6c1},this['imageId']=_0x36a969['uuid'],this['imageUploadProgress']=null;const _0x4c3488=_0x4fe067['getAttribute']('src');this['_imageCache']['set'](_0x4c3488,{'id':_0x36a969['uuid'],'url':_0x36a969['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x345e2c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x345e2c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x50f1b1,_0xdf67d4){_0x50f1b1['on']('apply',(_0x1311c9,_0x2bb626)=>{this['_replaceImage'](_0xdf67d4,_0x2bb626['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x50f1b1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x50f1b1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8b7add,_0xb899d3,_0x373bb7){const _0x4162ff=this['_editor'],{width:_0x42cc86,height:_0x36543a}=_0x31db19(_0xb899d3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x32f5ad,imageSources:_0x4de52e}=_0x5a697a(_0xb899d3,_0x42cc86);_0x4162ff['model']['change'](_0x4af7e2=>{if('$graveyard'===_0x8b7add['root']['rootName']){_0x4162ff['execute']('insertImage',{'imageType':_0x8b7add['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8b7add['getAttributes']()),'uploadcareImageId':_0x373bb7,'src':_0x32f5ad,'sources':_0x4de52e,'width':_0x42cc86,'height':_0x36543a}});const _0x5855d5=_0x8b7add['getChildren']();_0x8b7add=_0x4162ff['model']['document']['selection']['getSelectedElement']();for(const _0x191e02 of _0x5855d5)_0x4af7e2['append'](_0x4af7e2['cloneElement'](_0x191e02),_0x8b7add);}else _0x4af7e2['setSelection'](_0x8b7add,'on'),_0x4162ff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8b7add['getAttributes']()),'uploadcareImageId':_0x373bb7,'src':_0x32f5ad,'sources':_0x4de52e,'width':_0x42cc86,'height':_0x36543a},_0x8b7add);_0x4af7e2['setSelection'](_0x8b7add,'on');});}async['_getImageAsFile'](_0x4e2a70){const _0x2c3edd=_0x3cd88d['window'],_0x209837=_0x3cd88d['document']['location']['href'],_0x534368=new _0x2c3edd['URL'](_0x4e2a70['getAttribute']('src'),_0x209837);if('data:'===_0x534368['protocol']){const _0x32deef=_0x534368['href']['split'](','),_0x4450d5=_0x32deef[0x0]['match'](/:(.*?);/)[0x1],_0x35cbb0=_0x4450d5['split']('/')[0x1],_0x25f5f1=_0x2c3edd['atob'](_0x32deef[_0x32deef['length']-0x1]);let _0x49d9d3=_0x25f5f1['length'];const _0x5170a5=new _0x2c3edd['Uint8Array'](_0x49d9d3);for(;_0x49d9d3--;)_0x5170a5[_0x49d9d3]=_0x25f5f1['charCodeAt'](_0x49d9d3);return new _0x2c3edd['File']([_0x5170a5],'image.'+_0x35cbb0,{'type':_0x4450d5});}const _0x15c99f=_0x534368['href']['split']('/'),_0x4d443e=_0x15c99f[_0x15c99f['length']-0x1],_0x167337=_0x4d443e['split']('.')[0x1];return _0x2c3edd['fetch'](_0x534368['href'])['then'](_0x4a2257=>_0x4a2257['clone']()['blob']())['then'](_0x53c9dd=>new _0x2c3edd['File']([_0x53c9dd],_0x4d443e,{'type':'image/'+_0x167337}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4fa7(){const _0x25682b=['set','setTemplate','249161gEZFsV','30NaIqhh','12pqRNUx','68LbclXn','imageSrc','bindTemplate','46632jTfqoC','128646ebSdES','152PoihQC','uc-cloud-image-editor','40626911pQTohw','2334114XakQes','image-edit','608713kuBPLQ','102VhzOPq','uc-light','24PIiolK','ck-uploadcare-theme','1118955EUMycB'];_0x4fa7=function(){return _0x25682b;};return _0x4fa7();}(function(_0x5078e9,_0x56ef7b){const _0x3bc659=_0xa610,_0x3dd3f8=_0x5078e9();while(!![]){try{const _0x42f88e=-parseInt(_0x3bc659(0xd9))/0x1*(parseInt(_0x3bc659(0xd6))/0x2)+-parseInt(_0x3bc659(0xde))/0x3+parseInt(_0x3bc659(0xce))/0x4*(parseInt(_0x3bc659(0xd0))/0x5)+parseInt(_0x3bc659(0xcc))/0x6*(-parseInt(_0x3bc659(0xcb))/0x7)+-parseInt(_0x3bc659(0xdb))/0x8*(-parseInt(_0x3bc659(0xda))/0x9)+parseInt(_0x3bc659(0xd4))/0xa*(parseInt(_0x3bc659(0xd3))/0xb)+-parseInt(_0x3bc659(0xd5))/0xc*(-parseInt(_0x3bc659(0xdd))/0xd);if(_0x42f88e===_0x56ef7b)break;else _0x3dd3f8['push'](_0x3dd3f8['shift']());}catch(_0x17d771){_0x3dd3f8['push'](_0x3dd3f8['shift']());}}}(_0x4fa7,0xebbe3));import{View as _0x17d2c8}from'ckeditor5/src/ui.js';function _0xa610(_0x2faeb2,_0x55a75e){const _0x4fa786=_0x4fa7();return _0xa610=function(_0xa610df,_0x3693aa){_0xa610df=_0xa610df-0xca;let _0x127e79=_0x4fa786[_0xa610df];return _0x127e79;},_0xa610(_0x2faeb2,_0x55a75e);}export class UploadcareImageEditFormEditingView extends _0x17d2c8{constructor(_0x21013f,_0xd254ef){const _0x5b30d7=_0xa610;super(_0x21013f);const _0x16996f=this[_0x5b30d7(0xd8)];this[_0x5b30d7(0xd1)](_0x5b30d7(0xd7),''),this[_0x5b30d7(0xd2)]({'tag':_0x5b30d7(0xdc),'attributes':{..._0xd254ef,'class':[_0x5b30d7(0xcd),_0x5b30d7(0xcf)],'ctx-name':_0x5b30d7(0xca),'cdn-url':_0x16996f['to'](_0x5b30d7(0xd7))}});}}
23
+ function _0x444a(){const _0x4591b4=['bindTemplate','image-edit','357843iQtyij','uc-cloud-image-editor','uc-light','7UKVtXn','imageSrc','1010056SFQbSr','388266cRwKbQ','67347YAioEJ','10duBjKP','setTemplate','774630DOXiWW','56737SJfCSi','set','ck-uploadcare-theme','6fApIKl','724032LkjzNz'];_0x444a=function(){return _0x4591b4;};return _0x444a();}function _0xbfe4(_0xdd27d0,_0x21152a){const _0x444a57=_0x444a();return _0xbfe4=function(_0xbfe41b,_0x27ba15){_0xbfe41b=_0xbfe41b-0x82;let _0x575bcf=_0x444a57[_0xbfe41b];return _0x575bcf;},_0xbfe4(_0xdd27d0,_0x21152a);}(function(_0x417bf9,_0x391f1a){const _0x4b309a=_0xbfe4,_0xf9b39c=_0x417bf9();while(!![]){try{const _0x5bdc8e=-parseInt(_0x4b309a(0x8c))/0x1*(parseInt(_0x4b309a(0x8f))/0x2)+parseInt(_0x4b309a(0x93))/0x3+-parseInt(_0x4b309a(0x90))/0x4+parseInt(_0x4b309a(0x8b))/0x5+parseInt(_0x4b309a(0x87))/0x6+parseInt(_0x4b309a(0x84))/0x7*(parseInt(_0x4b309a(0x86))/0x8)+parseInt(_0x4b309a(0x88))/0x9*(parseInt(_0x4b309a(0x89))/0xa);if(_0x5bdc8e===_0x391f1a)break;else _0xf9b39c['push'](_0xf9b39c['shift']());}catch(_0x30a9ff){_0xf9b39c['push'](_0xf9b39c['shift']());}}}(_0x444a,0x1da5f));import{View as _0xa1b71b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa1b71b{constructor(_0x31554c,_0x2ffa06){const _0x43cc2c=_0xbfe4;super(_0x31554c);const _0xc89d1b=this[_0x43cc2c(0x91)];this[_0x43cc2c(0x8d)](_0x43cc2c(0x85),''),this[_0x43cc2c(0x8a)]({'tag':_0x43cc2c(0x82),'attributes':{..._0x2ffa06,'class':[_0x43cc2c(0x83),_0x43cc2c(0x8e)],'ctx-name':_0x43cc2c(0x92),'cdn-url':_0xc89d1b['to'](_0x43cc2c(0x85))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1909fc}from'ckeditor5/src/icons.js';import{ButtonView as _0x8e058a,IconView as _0x36fc5f,View as _0x1fee39}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1fee39{constructor(_0x214f18){super(_0x214f18);const t=_0x214f18['t'];this['set']('errorType',null);const _0xd0590a=new _0x8e058a(_0x214f18);_0xd0590a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd0590a['withText']=!0x0,_0xd0590a['class']='ck-button-action',_0xd0590a['on']('execute',()=>{this['fire']('retry');}),_0xd0590a['bind']('isVisible')['to'](this,'errorType',_0x21f6b1=>'NotFound'!==_0x21f6b1);const _0x580a18=new _0x36fc5f();_0x580a18['content']=_0x1909fc,_0x580a18['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ea410=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':[_0x580a18,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ea410['to']('errorType',_0x1c91c9=>t('NotFound'!==_0x1c91c9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd0590a]},{'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 _0x3e5c7f}from'ckeditor5/src/icons.js';import{ButtonView as _0x1acefc,IconView as _0x392797,View as _0x45dfe0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x45dfe0{constructor(_0x565e4d){super(_0x565e4d);const t=_0x565e4d['t'];this['set']('errorType',null);const _0x4c2517=new _0x1acefc(_0x565e4d);_0x4c2517['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c2517['withText']=!0x0,_0x4c2517['class']='ck-button-action',_0x4c2517['on']('execute',()=>{this['fire']('retry');}),_0x4c2517['bind']('isVisible')['to'](this,'errorType',_0x45e9e1=>'NotFound'!==_0x45e9e1);const _0x21f0c6=new _0x392797();_0x21f0c6['content']=_0x3e5c7f,_0x21f0c6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1d4332=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':[_0x21f0c6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1d4332['to']('errorType',_0x39fbac=>t('NotFound'!==_0x39fbac?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c2517]},{'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 _0x2fa2fa,View as _0x32cc43}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x32cc43{constructor(_0x1c61db){super(_0x1c61db);const t=_0x1c61db['t'],_0x101183=this['bindTemplate'],_0x5c1fa2=new _0x2fa2fa();_0x5c1fa2['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':[_0x5c1fa2,{'text':_0x101183['to']('imageUploadProgress',_0x339b07=>t('Loading\x20image...')+'\x20('+(_0x339b07||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 _0xcaab1f,View as _0x5ead6e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5ead6e{constructor(_0x36d853){super(_0x36d853);const t=_0x36d853['t'],_0x1d245d=this['bindTemplate'],_0x7e9176=new _0xcaab1f();_0x7e9176['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':[_0x7e9176,{'text':_0x1d245d['to']('imageUploadProgress',_0x4d1b4f=>t('Loading\x20image...')+'\x20('+(_0x4d1b4f||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 _0x24c843=_0x374c;(function(_0x5ae9e6,_0xc35900){const _0x465647=_0x374c,_0x365801=_0x5ae9e6();while(!![]){try{const _0x27c07d=parseInt(_0x465647(0x14d))/0x1*(parseInt(_0x465647(0x167))/0x2)+-parseInt(_0x465647(0x154))/0x3*(parseInt(_0x465647(0x15e))/0x4)+-parseInt(_0x465647(0x157))/0x5*(-parseInt(_0x465647(0x171))/0x6)+-parseInt(_0x465647(0x168))/0x7+-parseInt(_0x465647(0x142))/0x8+-parseInt(_0x465647(0x173))/0x9+-parseInt(_0x465647(0x14c))/0xa*(-parseInt(_0x465647(0x14a))/0xb);if(_0x27c07d===_0xc35900)break;else _0x365801['push'](_0x365801['shift']());}catch(_0x26bd6b){_0x365801['push'](_0x365801['shift']());}}}(_0x5c2d,0xf418d));import{View as _0x57333e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x133747}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x48714c}from'./uploadcareimageeditformerrorview.js';function _0x5c2d(){const _0x37a7a8=['clear','_setView','2Cvhrtz','9910495yiysKR','length','status','ck-reset_all-excluded','_loadingView','set','element','focus','addedNodes','13422SsrPHk','apply','12206088DTfIEg','once','render','ready','retry','observe','toLowerCase','15492696ScxIbP','createCollection','getFocusableElement','_waitForImageEditorComponent','uploading','addMany','add','_addUploadcareImageEditorListeners','3454NyjflX','_focusableView','122510ufCtLr','1262231gItwtS','detail','querySelector','disconnect','_errorView','change:status','cdnUrl','132051uCEpnD','ck-uploadcare-form','cancel','1930SVKShE','error','_items','nodeName','_addErrorViewListeners','fire','_editingView','24amqkFz','addEventListener','filter','target','setTemplate','div','uc-cloud-image-editor'];_0x5c2d=function(){return _0x37a7a8;};return _0x5c2d();}function _0x374c(_0x5407cf,_0x2e7d00){const _0x5c2de7=_0x5c2d();return _0x374c=function(_0x374cd9,_0x3223b7){_0x374cd9=_0x374cd9-0x13c;let _0x342ada=_0x5c2de7[_0x374cd9];return _0x342ada;},_0x374c(_0x5407cf,_0x2e7d00);}import{UploadcareImageEditFormEditingView as _0x4ce3be}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x38222a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x38222a{[_0x24c843(0x159)];[_0x24c843(0x16c)];[_0x24c843(0x151)];[_0x24c843(0x15d)];[_0x24c843(0x14b)];constructor(_0x3ae8be,_0x64bc11,_0x2ca530){const _0x5b5ce3=_0x24c843;super(_0x3ae8be),this[_0x5b5ce3(0x159)]=this[_0x5b5ce3(0x143)](),this[_0x5b5ce3(0x16c)]=new _0x133747(_0x3ae8be),this[_0x5b5ce3(0x151)]=new _0x48714c(_0x3ae8be),this[_0x5b5ce3(0x15d)]=new _0x4ce3be(_0x3ae8be,_0x2ca530),this[_0x5b5ce3(0x14b)]=new _0x57333e(_0x3ae8be),this[_0x5b5ce3(0x14b)][_0x5b5ce3(0x162)](this[_0x5b5ce3(0x144)]()),this[_0x5b5ce3(0x16d)](_0x5b5ce3(0x16a),_0x64bc11),this[_0x5b5ce3(0x162)]({'tag':_0x5b5ce3(0x163),'attributes':{'class':['ck',_0x5b5ce3(0x16b),_0x5b5ce3(0x155)],'tabindex':'-1'},'children':this[_0x5b5ce3(0x159)]}),this[_0x5b5ce3(0x166)](),this[_0x5b5ce3(0x13c)](_0x5b5ce3(0x13d),()=>{const _0x4179f2=_0x5b5ce3;this[_0x4179f2(0x145)](this[_0x4179f2(0x16e)],_0x31260e=>{const _0x51ac64=_0x4179f2;this[_0x51ac64(0x149)](_0x31260e);});}),this['on'](_0x5b5ce3(0x152),()=>{const _0x30814a=_0x5b5ce3;this[_0x30814a(0x166)]();}),this[_0x5b5ce3(0x15b)]();}[_0x24c843(0x16f)](){const _0x4e0c78=_0x24c843;this[_0x4e0c78(0x16e)][_0x4e0c78(0x16f)]();}[_0x24c843(0x166)](){const _0x3a7a89=_0x24c843;switch(this[_0x3a7a89(0x159)][_0x3a7a89(0x165)](),this[_0x3a7a89(0x16a)]){case _0x3a7a89(0x146):this[_0x3a7a89(0x159)][_0x3a7a89(0x148)](this[_0x3a7a89(0x16c)]);break;case _0x3a7a89(0x158):this[_0x3a7a89(0x159)][_0x3a7a89(0x148)](this[_0x3a7a89(0x151)]);break;case _0x3a7a89(0x13e):this[_0x3a7a89(0x159)][_0x3a7a89(0x147)]([this[_0x3a7a89(0x15d)],this[_0x3a7a89(0x14b)]]);}}[_0x24c843(0x145)](_0x5f12fe,_0x361557){const _0x5cfb0e=_0x24c843,_0x1dde56=_0x5cfb0e(0x164),_0x246a81=_0x5f12fe[_0x5cfb0e(0x14f)](_0x1dde56);if(_0x246a81)return _0x361557(_0x246a81);const _0x2f0486=new MutationObserver(_0x5514d8=>{const _0x4aa18f=_0x5cfb0e,_0x4f1738=_0x5514d8[_0x4aa18f(0x160)](_0x132331=>_0x132331[_0x4aa18f(0x161)]===_0x5f12fe&&_0x132331[_0x4aa18f(0x170)][_0x4aa18f(0x169)]>0x0&&_0x132331[_0x4aa18f(0x170)][0x0][_0x4aa18f(0x15a)][_0x4aa18f(0x141)]()===_0x1dde56);_0x4f1738[_0x4aa18f(0x169)]&&(_0x2f0486[_0x4aa18f(0x150)](),_0x361557(_0x4f1738[0x0][_0x4aa18f(0x170)][0x0]));});_0x2f0486[_0x5cfb0e(0x140)](_0x5f12fe,{'childList':!0x0,'subtree':!0x0});}[_0x24c843(0x149)](_0x373c73){const _0x44617d=_0x24c843;_0x373c73[_0x44617d(0x15f)](_0x44617d(0x172),_0x62df85=>{const _0x3e565f=_0x44617d;this[_0x3e565f(0x15c)](_0x3e565f(0x172),{'imageSrc':_0x62df85[_0x3e565f(0x14e)][_0x3e565f(0x153)]});}),_0x373c73[_0x44617d(0x15f)](_0x44617d(0x156),()=>{const _0x292074=_0x44617d;this[_0x292074(0x15c)](_0x292074(0x156));});}[_0x24c843(0x15b)](){const _0x424078=_0x24c843;this[_0x424078(0x151)]['on'](_0x424078(0x13f),()=>{const _0xf0054c=_0x424078;this[_0xf0054c(0x15c)](_0xf0054c(0x13f));});}}
23
+ const _0x3b4cf0=_0x2a52;(function(_0x5c4620,_0x2c35ef){const _0x3384ac=_0x2a52,_0x1dc6dd=_0x5c4620();while(!![]){try{const _0x2604ee=parseInt(_0x3384ac(0x8f))/0x1+-parseInt(_0x3384ac(0x7a))/0x2+-parseInt(_0x3384ac(0x9e))/0x3*(-parseInt(_0x3384ac(0x9c))/0x4)+parseInt(_0x3384ac(0xa4))/0x5+parseInt(_0x3384ac(0x72))/0x6*(parseInt(_0x3384ac(0x8d))/0x7)+-parseInt(_0x3384ac(0x7b))/0x8+parseInt(_0x3384ac(0x79))/0x9*(-parseInt(_0x3384ac(0x9f))/0xa);if(_0x2604ee===_0x2c35ef)break;else _0x1dc6dd['push'](_0x1dc6dd['shift']());}catch(_0x3485a6){_0x1dc6dd['push'](_0x1dc6dd['shift']());}}}(_0xb8f0,0xb934f));function _0x2a52(_0x3816ab,_0x389396){const _0xb8f068=_0xb8f0();return _0x2a52=function(_0x2a52a8,_0x5c285b){_0x2a52a8=_0x2a52a8-0x6e;let _0x40da97=_0xb8f068[_0x2a52a8];return _0x40da97;},_0x2a52(_0x3816ab,_0x389396);}import{View as _0x3f7322}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3b8b25}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x190fc7}from'./uploadcareimageeditformerrorview.js';function _0xb8f0(){const _0x10ff2b=['focus','4669060zBBeEj','_waitForImageEditorComponent','addEventListener','getFocusableElement','retry','3396FdzWIR','change:status','_items','render','disconnect','clear','createCollection','12784185sFjQLf','1106366ajtLjt','5818504iJdsPJ','nodeName','set','filter','uc-cloud-image-editor','ck-reset_all-excluded','error','toLowerCase','target','length','detail','apply','cancel','div','_setView','element','fire','ready','5152JhJOAx','add','758217WiAVjj','querySelector','ck-uploadcare-form','once','observe','uploading','_editingView','status','_loadingView','addedNodes','setTemplate','addMany','_addErrorViewListeners','4bnzURn','_addUploadcareImageEditorListeners','4052889vZOOXB','10qANPJO','_errorView','_focusableView','cdnUrl'];_0xb8f0=function(){return _0x10ff2b;};return _0xb8f0();}import{UploadcareImageEditFormEditingView as _0x1f3d67}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x375c1c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x375c1c{[_0x3b4cf0(0x74)];[_0x3b4cf0(0x97)];[_0x3b4cf0(0xa0)];[_0x3b4cf0(0x95)];[_0x3b4cf0(0xa1)];constructor(_0x249d02,_0x2f1403,_0x3983ce){const _0x55e136=_0x3b4cf0;super(_0x249d02),this[_0x55e136(0x74)]=this[_0x55e136(0x78)](),this[_0x55e136(0x97)]=new _0x3b8b25(_0x249d02),this[_0x55e136(0xa0)]=new _0x190fc7(_0x249d02),this[_0x55e136(0x95)]=new _0x1f3d67(_0x249d02,_0x3983ce),this[_0x55e136(0xa1)]=new _0x3f7322(_0x249d02),this[_0x55e136(0xa1)][_0x55e136(0x99)](this[_0x55e136(0x70)]()),this[_0x55e136(0x7d)](_0x55e136(0x96),_0x2f1403),this[_0x55e136(0x99)]({'tag':_0x55e136(0x88),'attributes':{'class':['ck',_0x55e136(0x80),_0x55e136(0x91)],'tabindex':'-1'},'children':this[_0x55e136(0x74)]}),this[_0x55e136(0x89)](),this[_0x55e136(0x92)](_0x55e136(0x75),()=>{const _0x2b4ee6=_0x55e136;this[_0x2b4ee6(0x6e)](this[_0x2b4ee6(0x8a)],_0x42880b=>{const _0x4b1552=_0x2b4ee6;this[_0x4b1552(0x9d)](_0x42880b);});}),this['on'](_0x55e136(0x73),()=>{const _0x166e2f=_0x55e136;this[_0x166e2f(0x89)]();}),this[_0x55e136(0x9b)]();}[_0x3b4cf0(0xa3)](){const _0xf00800=_0x3b4cf0;this[_0xf00800(0x8a)][_0xf00800(0xa3)]();}[_0x3b4cf0(0x89)](){const _0x5be6ed=_0x3b4cf0;switch(this[_0x5be6ed(0x74)][_0x5be6ed(0x77)](),this[_0x5be6ed(0x96)]){case _0x5be6ed(0x94):this[_0x5be6ed(0x74)][_0x5be6ed(0x8e)](this[_0x5be6ed(0x97)]);break;case _0x5be6ed(0x81):this[_0x5be6ed(0x74)][_0x5be6ed(0x8e)](this[_0x5be6ed(0xa0)]);break;case _0x5be6ed(0x8c):this[_0x5be6ed(0x74)][_0x5be6ed(0x9a)]([this[_0x5be6ed(0x95)],this[_0x5be6ed(0xa1)]]);}}[_0x3b4cf0(0x6e)](_0x519063,_0x54bbff){const _0x2c0d05=_0x3b4cf0,_0x51f432=_0x2c0d05(0x7f),_0x444b3b=_0x519063[_0x2c0d05(0x90)](_0x51f432);if(_0x444b3b)return _0x54bbff(_0x444b3b);const _0x40564c=new MutationObserver(_0x2a4555=>{const _0x36b823=_0x2c0d05,_0x1b2a8d=_0x2a4555[_0x36b823(0x7e)](_0x42b0f7=>_0x42b0f7[_0x36b823(0x83)]===_0x519063&&_0x42b0f7[_0x36b823(0x98)][_0x36b823(0x84)]>0x0&&_0x42b0f7[_0x36b823(0x98)][0x0][_0x36b823(0x7c)][_0x36b823(0x82)]()===_0x51f432);_0x1b2a8d[_0x36b823(0x84)]&&(_0x40564c[_0x36b823(0x76)](),_0x54bbff(_0x1b2a8d[0x0][_0x36b823(0x98)][0x0]));});_0x40564c[_0x2c0d05(0x93)](_0x519063,{'childList':!0x0,'subtree':!0x0});}[_0x3b4cf0(0x9d)](_0x5d2885){const _0x5743ac=_0x3b4cf0;_0x5d2885[_0x5743ac(0x6f)](_0x5743ac(0x86),_0x599bf4=>{const _0x114312=_0x5743ac;this[_0x114312(0x8b)](_0x114312(0x86),{'imageSrc':_0x599bf4[_0x114312(0x85)][_0x114312(0xa2)]});}),_0x5d2885[_0x5743ac(0x6f)](_0x5743ac(0x87),()=>{const _0x1ef606=_0x5743ac;this[_0x1ef606(0x8b)](_0x1ef606(0x87));});}[_0x3b4cf0(0x9b)](){const _0x5dd48a=_0x3b4cf0;this[_0x5dd48a(0xa0)]['on'](_0x5dd48a(0x71),()=>{const _0x55645e=_0x5dd48a;this[_0x55645e(0x8b)](_0x55645e(0x71));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56592e=_0x30e6;(function(_0x2ef2d2,_0x1e848c){const _0x34d360=_0x30e6,_0x4348a2=_0x2ef2d2();while(!![]){try{const _0x5b2a45=parseInt(_0x34d360(0x14a))/0x1*(parseInt(_0x34d360(0x15c))/0x2)+-parseInt(_0x34d360(0x152))/0x3+-parseInt(_0x34d360(0x143))/0x4*(-parseInt(_0x34d360(0x140))/0x5)+parseInt(_0x34d360(0x157))/0x6*(parseInt(_0x34d360(0x156))/0x7)+-parseInt(_0x34d360(0x159))/0x8*(parseInt(_0x34d360(0x160))/0x9)+-parseInt(_0x34d360(0x149))/0xa+parseInt(_0x34d360(0x15d))/0xb;if(_0x5b2a45===_0x1e848c)break;else _0x4348a2['push'](_0x4348a2['shift']());}catch(_0x19f22f){_0x4348a2['push'](_0x4348a2['shift']());}}}(_0x4597,0xbca7e));import{Command as _0x25aedd}from'ckeditor5/src/core.js';function _0x4597(){const _0x5ac737=['set','bind','5841lGVdyW','176015YjGCEy','document','imageEditController','156rcLQoR','get','getSelectedElement','unbind','isEnabled','refresh','11042630JwhSRr','458mVvlUk','uploadcare.allowExternalImagesEditing','_isEditable','requires','isActive','element','plugins','config','560178mKQSyG','imageBlock','selection','model','28RsUspk','106512AVwKgp','imageInline','6304epoNlX','editor','execute','1982KiWtpK','7450652tMSwJS'];_0x4597=function(){return _0x5ac737;};return _0x4597();}import{Dialog as _0x5043b7}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3d58cd}from'./ui/uploadcareimageeditcontroller.js';function _0x30e6(_0x30b757,_0x4d2a37){const _0x4597fd=_0x4597();return _0x30e6=function(_0x30e696,_0x55d8ac){_0x30e696=_0x30e696-0x140;let _0x4075bc=_0x4597fd[_0x30e696];return _0x4075bc;},_0x30e6(_0x30b757,_0x4d2a37);}import{createEditabilityChecker as _0x14d9b0}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x25aedd{[_0x56592e(0x142)];static get[_0x56592e(0x14d)](){return[_0x5043b7];}[_0x56592e(0x14c)];constructor(_0x32d6b9){const _0x866c77=_0x56592e;super(_0x32d6b9),this[_0x866c77(0x142)]=void 0x0,this[_0x866c77(0x14c)]=_0x14d9b0(_0x32d6b9[_0x866c77(0x151)][_0x866c77(0x144)](_0x866c77(0x14b))||[]),this[_0x866c77(0x15e)]({'isActive':!0x1});}[_0x56592e(0x148)](){const _0xbc8b28=_0x56592e,_0x12078d=this[_0xbc8b28(0x15a)][_0xbc8b28(0x155)][_0xbc8b28(0x141)][_0xbc8b28(0x154)][_0xbc8b28(0x145)]();this[_0xbc8b28(0x147)]=this[_0xbc8b28(0x14c)](_0x12078d);}[_0x56592e(0x15b)](){const _0x110c9b=_0x56592e;this[_0x110c9b(0x142)]&&(this[_0x110c9b(0x146)](_0x110c9b(0x14e)),this[_0x110c9b(0x142)]=void 0x0);const _0x28ad1c=this[_0x110c9b(0x15a)][_0x110c9b(0x155)][_0x110c9b(0x141)][_0x110c9b(0x154)][_0x110c9b(0x145)]();_0x28ad1c&&(_0x28ad1c['is'](_0x110c9b(0x14f),_0x110c9b(0x153))||_0x28ad1c['is'](_0x110c9b(0x14f),_0x110c9b(0x158)))&&(this[_0x110c9b(0x142)]=new _0x3d58cd(this[_0x110c9b(0x15a)],this[_0x110c9b(0x15a)][_0x110c9b(0x150)][_0x110c9b(0x144)](_0x5043b7),_0x28ad1c),this[_0x110c9b(0x15f)](_0x110c9b(0x14e))['to'](this[_0x110c9b(0x142)],_0x110c9b(0x14e)));}}
23
+ const _0x54e7c8=_0x4581;function _0x4581(_0x438d46,_0x24fae0){const _0x5825f9=_0x5825();return _0x4581=function(_0x45810d,_0x17e190){_0x45810d=_0x45810d-0xf7;let _0x45f01b=_0x5825f9[_0x45810d];return _0x45f01b;},_0x4581(_0x438d46,_0x24fae0);}(function(_0x397027,_0x86fd86){const _0x29bb27=_0x4581,_0x28abea=_0x397027();while(!![]){try{const _0x42cabf=parseInt(_0x29bb27(0xff))/0x1+parseInt(_0x29bb27(0xf8))/0x2*(parseInt(_0x29bb27(0xf9))/0x3)+parseInt(_0x29bb27(0x101))/0x4*(-parseInt(_0x29bb27(0x10e))/0x5)+parseInt(_0x29bb27(0x111))/0x6+-parseInt(_0x29bb27(0xfb))/0x7+-parseInt(_0x29bb27(0x109))/0x8+-parseInt(_0x29bb27(0x108))/0x9;if(_0x42cabf===_0x86fd86)break;else _0x28abea['push'](_0x28abea['shift']());}catch(_0x593fe1){_0x28abea['push'](_0x28abea['shift']());}}}(_0x5825,0xc2bb7));import{Command as _0x300cf2}from'ckeditor5/src/core.js';import{Dialog as _0x542c7e}from'ckeditor5/src/ui.js';function _0x5825(){const _0xa9f26c=['1257972qNuawF','imageEditController','4vWdUyz','isActive','document','plugins','uploadcare.allowExternalImagesEditing','get','imageBlock','9267948eCKaaJ','1652080bluvzk','requires','set','execute','imageInline','4197355yCccQZ','getSelectedElement','bind','1803012FmVFWh','model','refresh','isEnabled','unbind','selection','70VAhmkC','128859csOeZT','config','1319171RyXTKm','element','editor','_isEditable'];_0x5825=function(){return _0xa9f26c;};return _0x5825();}import{UploadcareImageEditController as _0x5801a2}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d650e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x300cf2{[_0x54e7c8(0x100)];static get[_0x54e7c8(0x10a)](){return[_0x542c7e];}[_0x54e7c8(0xfe)];constructor(_0xbb1d6e){const _0x55e595=_0x54e7c8;super(_0xbb1d6e),this[_0x55e595(0x100)]=void 0x0,this[_0x55e595(0xfe)]=_0x5d650e(_0xbb1d6e[_0x55e595(0xfa)][_0x55e595(0x106)](_0x55e595(0x105))||[]),this[_0x55e595(0x10b)]({'isActive':!0x1});}[_0x54e7c8(0x113)](){const _0x4ebc45=_0x54e7c8,_0x55267e=this[_0x4ebc45(0xfd)][_0x4ebc45(0x112)][_0x4ebc45(0x103)][_0x4ebc45(0xf7)][_0x4ebc45(0x10f)]();this[_0x4ebc45(0x114)]=this[_0x4ebc45(0xfe)](_0x55267e);}[_0x54e7c8(0x10c)](){const _0x3aa9a3=_0x54e7c8;this[_0x3aa9a3(0x100)]&&(this[_0x3aa9a3(0x115)](_0x3aa9a3(0x102)),this[_0x3aa9a3(0x100)]=void 0x0);const _0x5542a9=this[_0x3aa9a3(0xfd)][_0x3aa9a3(0x112)][_0x3aa9a3(0x103)][_0x3aa9a3(0xf7)][_0x3aa9a3(0x10f)]();_0x5542a9&&(_0x5542a9['is'](_0x3aa9a3(0xfc),_0x3aa9a3(0x107))||_0x5542a9['is'](_0x3aa9a3(0xfc),_0x3aa9a3(0x10d)))&&(this[_0x3aa9a3(0x100)]=new _0x5801a2(this[_0x3aa9a3(0xfd)],this[_0x3aa9a3(0xfd)][_0x3aa9a3(0x104)][_0x3aa9a3(0x106)](_0x542c7e),_0x5542a9),this[_0x3aa9a3(0x110)](_0x3aa9a3(0x102))['to'](this[_0x3aa9a3(0x100)],_0x3aa9a3(0x102)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2976(){const _0x27e342=['uploadcareImageEdit','UploadcareImageEditEditing','pluginName','init','commands','isPremiumPlugin','52TKkJgd','16134crlaJK','ImageUtils','uploadcareImageReplace','add','2180vGdCYO','43836590hQquZl','1151865URDItQ','1986996aafgSO','4161896gQMpnF','requires','7LBYGtR','ImageEditing','3669741CYOAzd','isOfficialPlugin','90786HJfPfJ'];_0x2976=function(){return _0x27e342;};return _0x2976();}const _0x331d5f=_0xc4c4;(function(_0x496fd1,_0x51ce7d){const _0x301ad3=_0xc4c4,_0x48df6e=_0x496fd1();while(!![]){try{const _0x2072be=-parseInt(_0x301ad3(0x208))/0x1+parseInt(_0x301ad3(0x201))/0x2*(-parseInt(_0x301ad3(0x1fa))/0x3)+parseInt(_0x301ad3(0x1f3))/0x4+parseInt(_0x301ad3(0x206))/0x5*(-parseInt(_0x301ad3(0x202))/0x6)+-parseInt(_0x301ad3(0x1f6))/0x7*(parseInt(_0x301ad3(0x1f4))/0x8)+-parseInt(_0x301ad3(0x1f8))/0x9+parseInt(_0x301ad3(0x207))/0xa;if(_0x2072be===_0x51ce7d)break;else _0x48df6e['push'](_0x48df6e['shift']());}catch(_0x399401){_0x48df6e['push'](_0x48df6e['shift']());}}}(_0x2976,0xcd67d));import{Plugin as _0x137e48}from'ckeditor5/src/core.js';import{Notification as _0x527ae2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1a784f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x347c38}from'./uploadcareimagereplacecommand.js';function _0xc4c4(_0x4eaf98,_0x3e5f15){const _0x2976b4=_0x2976();return _0xc4c4=function(_0xc4c42,_0x4ec7ad){_0xc4c42=_0xc4c42-0x1f3;let _0x8f39a1=_0x2976b4[_0xc4c42];return _0x8f39a1;},_0xc4c4(_0x4eaf98,_0x3e5f15);}import{UploadcareEditing as _0x3ec9e6}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x137e48{static get[_0x331d5f(0x1fd)](){const _0x5b5813=_0x331d5f;return _0x5b5813(0x1fc);}static get[_0x331d5f(0x1f5)](){const _0x3c8497=_0x331d5f;return[_0x3ec9e6,_0x527ae2,_0x3c8497(0x203),_0x3c8497(0x1f7)];}static get[_0x331d5f(0x1f9)](){return!0x0;}static get[_0x331d5f(0x200)](){return!0x0;}[_0x331d5f(0x1fe)](){const _0x320c75=_0x331d5f,{editor:_0x48e091}=this;_0x48e091[_0x320c75(0x1ff)][_0x320c75(0x205)](_0x320c75(0x1fb),new _0x1a784f(_0x48e091)),_0x48e091[_0x320c75(0x1ff)][_0x320c75(0x205)](_0x320c75(0x204),new _0x347c38(_0x48e091));}}
23
+ const _0x3091c5=_0x43a6;(function(_0x53b4b2,_0x28876b){const _0x3c66c9=_0x43a6,_0x1bd7e8=_0x53b4b2();while(!![]){try{const _0x50a6f8=-parseInt(_0x3c66c9(0xd1))/0x1+parseInt(_0x3c66c9(0xc7))/0x2*(parseInt(_0x3c66c9(0xc4))/0x3)+-parseInt(_0x3c66c9(0xd7))/0x4*(-parseInt(_0x3c66c9(0xc8))/0x5)+-parseInt(_0x3c66c9(0xcb))/0x6*(parseInt(_0x3c66c9(0xcd))/0x7)+parseInt(_0x3c66c9(0xd3))/0x8*(-parseInt(_0x3c66c9(0xd9))/0x9)+parseInt(_0x3c66c9(0xc6))/0xa+parseInt(_0x3c66c9(0xc9))/0xb;if(_0x50a6f8===_0x28876b)break;else _0x1bd7e8['push'](_0x1bd7e8['shift']());}catch(_0x50b932){_0x1bd7e8['push'](_0x1bd7e8['shift']());}}}(_0x5042,0xac8c1));import{Plugin as _0x545588}from'ckeditor5/src/core.js';import{Notification as _0x8e33dc}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3e470b}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5eefcb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x11f9bd}from'../uploadcareediting.js';function _0x43a6(_0x4df8cf,_0x20e8a0){const _0x5042f6=_0x5042();return _0x43a6=function(_0x43a69f,_0x4d957e){_0x43a69f=_0x43a69f-0xc4;let _0x2d9733=_0x5042f6[_0x43a69f];return _0x2d9733;},_0x43a6(_0x4df8cf,_0x20e8a0);}function _0x5042(){const _0x1371dd=['pluginName','1637800AeogBM','1418vVbbqW','345drODZr','16857544QhZsjn','isPremiumPlugin','41376yWrYZh','uploadcareImageReplace','413ySzoUn','uploadcareImageEdit','UploadcareImageEditEditing','requires','1093897gIYlRR','ImageEditing','5386376nzmfny','commands','ImageUtils','isOfficialPlugin','13880ytyLmg','add','9qGNDDG','init','3999ZCMVYp'];_0x5042=function(){return _0x1371dd;};return _0x5042();}export class UploadcareImageEditEditing extends _0x545588{static get[_0x3091c5(0xc5)](){const _0x43fba8=_0x3091c5;return _0x43fba8(0xcf);}static get[_0x3091c5(0xd0)](){const _0x5e29e7=_0x3091c5;return[_0x11f9bd,_0x8e33dc,_0x5e29e7(0xd5),_0x5e29e7(0xd2)];}static get[_0x3091c5(0xd6)](){return!0x0;}static get[_0x3091c5(0xca)](){return!0x0;}[_0x3091c5(0xda)](){const _0x104c8d=_0x3091c5,{editor:_0x346b4f}=this;_0x346b4f[_0x104c8d(0xd4)][_0x104c8d(0xd8)](_0x104c8d(0xce),new _0x3e470b(_0x346b4f)),_0x346b4f[_0x104c8d(0xd4)][_0x104c8d(0xd8)](_0x104c8d(0xcc),new _0x5eefcb(_0x346b4f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x26a264}from'ckeditor5/src/core.js';import{ButtonView as _0x3e2bf5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4dc162}from'ckeditor5/src/icons.js';import{createElement as _0x376d4b}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 _0x26a264{['_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 _0x35487b=this['editor'];_0x35487b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x395152=>{const _0xa6cdf3=_0x35487b['commands']['get']('uploadcareImageEdit'),_0x435a72=new _0x3e2bf5(_0x395152),t=_0x395152['t'];return _0x435a72['set']({'icon':_0x4dc162,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x435a72['bind']('isEnabled')['to'](_0xa6cdf3),_0x435a72['bind']('isOn')['to'](_0xa6cdf3,'isActive'),this['listenTo'](_0x435a72,'execute',()=>{_0x35487b['execute']('uploadcareImageEdit'),_0x35487b['editing']['view']['focus']();}),_0x435a72;}),this['_initConfig']();}['_initConfig'](){const _0x5195f8=_0x376d4b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5195f8),this['listenTo'](this['editor'],'destroy',()=>{_0x5195f8['remove']();});}}
23
+ import{Plugin as _0x478bed}from'ckeditor5/src/core.js';import{ButtonView as _0x207470}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x50d699}from'ckeditor5/src/icons.js';import{createElement as _0x26a572}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 _0x478bed{['_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 _0x1d9f34=this['editor'];_0x1d9f34['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5b2c10=>{const _0xb28065=_0x1d9f34['commands']['get']('uploadcareImageEdit'),_0x357dee=new _0x207470(_0x5b2c10),t=_0x5b2c10['t'];return _0x357dee['set']({'icon':_0x50d699,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x357dee['bind']('isEnabled')['to'](_0xb28065),_0x357dee['bind']('isOn')['to'](_0xb28065,'isActive'),this['listenTo'](_0x357dee,'execute',()=>{_0x1d9f34['execute']('uploadcareImageEdit'),_0x1d9f34['editing']['view']['focus']();}),_0x357dee;}),this['_initConfig']();}['_initConfig'](){const _0x4782d1=_0x26a572(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4782d1),this['listenTo'](this['editor'],'destroy',()=>{_0x4782d1['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a155=_0x18e5;(function(_0x1d3d69,_0x5180ca){const _0x334e2a=_0x18e5,_0x181a43=_0x1d3d69();while(!![]){try{const _0x1a8641=parseInt(_0x334e2a(0x136))/0x1+parseInt(_0x334e2a(0x139))/0x2+-parseInt(_0x334e2a(0x13e))/0x3*(parseInt(_0x334e2a(0x140))/0x4)+-parseInt(_0x334e2a(0x142))/0x5+-parseInt(_0x334e2a(0x135))/0x6+parseInt(_0x334e2a(0x132))/0x7+-parseInt(_0x334e2a(0x12f))/0x8*(-parseInt(_0x334e2a(0x13c))/0x9);if(_0x1a8641===_0x5180ca)break;else _0x181a43['push'](_0x181a43['shift']());}catch(_0x486ee1){_0x181a43['push'](_0x181a43['shift']());}}}(_0xb913,0xa94f5));import{Command as _0x5a67e4}from'ckeditor5/src/core.js';function _0x18e5(_0x243865,_0x12fa39){const _0xb913ee=_0xb913();return _0x18e5=function(_0x18e50f,_0xbf2dd5){_0x18e50f=_0x18e50f-0x12f;let _0x2051ef=_0xb913ee[_0x18e50f];return _0x2051ef;},_0x18e5(_0x243865,_0x12fa39);}function _0xb913(){const _0x89d0c6=['78koZiMN','getSelectedElement','12660JHDUfo','imageBlock','2232220LZYwiu','imageInline','srcset','setAttributes','change','execute','1632oHwfNJ','sizes','editor','3118178LjvHUt','model','refresh','3259134JpssZa','152133CNaIGD','document','isEnabled','778322gfIPls','selection','element','34353ZsAyIG','removeAttribute'];_0xb913=function(){return _0x89d0c6;};return _0xb913();}export class UploadcareImageReplaceCommand extends _0x5a67e4{[_0x1a155(0x134)](){const _0x363dd4=_0x1a155,_0x110e58=this[_0x363dd4(0x131)][_0x363dd4(0x133)][_0x363dd4(0x137)][_0x363dd4(0x13a)][_0x363dd4(0x13f)]();this[_0x363dd4(0x138)]=Boolean(_0x110e58&&(_0x110e58['is'](_0x363dd4(0x13b),_0x363dd4(0x141))||_0x110e58['is'](_0x363dd4(0x13b),_0x363dd4(0x143))));}[_0x1a155(0x147)](_0x576af4){const _0x1e155f=_0x1a155,_0x4c8c8c=this[_0x1e155f(0x131)][_0x1e155f(0x133)][_0x1e155f(0x137)][_0x1e155f(0x13a)][_0x1e155f(0x13f)]();this[_0x1e155f(0x131)][_0x1e155f(0x133)][_0x1e155f(0x146)](_0x643f3a=>{const _0x19328f=_0x1e155f;_0x643f3a[_0x19328f(0x145)](_0x576af4,_0x4c8c8c),_0x643f3a[_0x19328f(0x13d)](_0x19328f(0x144),_0x4c8c8c),_0x643f3a[_0x19328f(0x13d)](_0x19328f(0x130),_0x4c8c8c);});}}
23
+ const _0x32e2d4=_0x1081;function _0x1081(_0x303b8d,_0x51db80){const _0x2d544f=_0x2d54();return _0x1081=function(_0x108172,_0x35439a){_0x108172=_0x108172-0x1c9;let _0x25bd3d=_0x2d544f[_0x108172];return _0x25bd3d;},_0x1081(_0x303b8d,_0x51db80);}(function(_0x376597,_0x47378d){const _0xb499b=_0x1081,_0x1874d0=_0x376597();while(!![]){try{const _0x2dc91f=-parseInt(_0xb499b(0x1cc))/0x1+-parseInt(_0xb499b(0x1e0))/0x2+-parseInt(_0xb499b(0x1df))/0x3+-parseInt(_0xb499b(0x1cb))/0x4*(parseInt(_0xb499b(0x1e2))/0x5)+parseInt(_0xb499b(0x1d7))/0x6*(parseInt(_0xb499b(0x1ca))/0x7)+-parseInt(_0xb499b(0x1d4))/0x8+-parseInt(_0xb499b(0x1d3))/0x9*(-parseInt(_0xb499b(0x1dc))/0xa);if(_0x2dc91f===_0x47378d)break;else _0x1874d0['push'](_0x1874d0['shift']());}catch(_0x48cf11){_0x1874d0['push'](_0x1874d0['shift']());}}}(_0x2d54,0x6aefe));import{Command as _0x33a62f}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x33a62f{[_0x32e2d4(0x1dd)](){const _0x358906=_0x32e2d4,_0x3e0551=this[_0x358906(0x1d0)][_0x358906(0x1cd)][_0x358906(0x1d8)][_0x358906(0x1d5)][_0x358906(0x1da)]();this[_0x358906(0x1db)]=Boolean(_0x3e0551&&(_0x3e0551['is'](_0x358906(0x1de),_0x358906(0x1c9))||_0x3e0551['is'](_0x358906(0x1de),_0x358906(0x1e1))));}[_0x32e2d4(0x1d6)](_0x1ed915){const _0x36d7c0=_0x32e2d4,_0x2e4923=this[_0x36d7c0(0x1d0)][_0x36d7c0(0x1cd)][_0x36d7c0(0x1d8)][_0x36d7c0(0x1d5)][_0x36d7c0(0x1da)]();this[_0x36d7c0(0x1d0)][_0x36d7c0(0x1cd)][_0x36d7c0(0x1d1)](_0x466c41=>{const _0x2cade7=_0x36d7c0;_0x466c41[_0x2cade7(0x1ce)](_0x1ed915,_0x2e4923),_0x466c41[_0x2cade7(0x1cf)](_0x2cade7(0x1d9),_0x2e4923),_0x466c41[_0x2cade7(0x1cf)](_0x2cade7(0x1d2),_0x2e4923);});}}function _0x2d54(){const _0x4f1730=['2856168tvYyFO','selection','execute','2814uXkRNP','document','srcset','getSelectedElement','isEnabled','540BnkCHH','refresh','element','1841595hYRlkD','537474sAamtc','imageInline','5sBLIUo','imageBlock','1169wPDEbk','2603112ExTBDz','326032LKqNLO','model','setAttributes','removeAttribute','editor','change','sizes','429354EXdkjk'];_0x2d54=function(){return _0x4f1730;};return _0x2d54();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e2051=_0x15de;(function(_0x5d1eb6,_0x4090b7){var _0x279d06=_0x15de,_0x2e6248=_0x5d1eb6();while(!![]){try{var _0x31ef63=parseInt(_0x279d06(0x147))/0x1*(-parseInt(_0x279d06(0x13f))/0x2)+parseInt(_0x279d06(0x148))/0x3+parseInt(_0x279d06(0x13e))/0x4*(-parseInt(_0x279d06(0x146))/0x5)+parseInt(_0x279d06(0x145))/0x6*(parseInt(_0x279d06(0x143))/0x7)+parseInt(_0x279d06(0x13d))/0x8*(-parseInt(_0x279d06(0x141))/0x9)+parseInt(_0x279d06(0x142))/0xa+-parseInt(_0x279d06(0x140))/0xb;if(_0x31ef63===_0x4090b7)break;else _0x2e6248['push'](_0x2e6248['shift']());}catch(_0x305251){_0x2e6248['push'](_0x2e6248['shift']());}}}(_0x2c41,0x5079e));import{Plugin as _0xab373e}from'ckeditor5/src/core.js';function _0x15de(_0x2756ea,_0x4cc046){var _0x2c41b8=_0x2c41();return _0x15de=function(_0x15de24,_0x401a68){_0x15de24=_0x15de24-0x139;var _0x2cc2d1=_0x2c41b8[_0x15de24];return _0x2cc2d1;},_0x15de(_0x2756ea,_0x4cc046);}import{UploadcareImageEditEditing as _0x314141}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2c41(){var _0xcd2ff3=['157400AcpgIp','4ZBrMNJ','54202CJEEpr','972059RcbYsK','72MEDfVk','3215220TfDWsT','40453dItCEf','UploadcareImageEdit','282JQDlis','851110bXCahv','1RwpfyZ','538761QTaaiS','pluginName','isPremiumPlugin','requires','isOfficialPlugin'];_0x2c41=function(){return _0xcd2ff3;};return _0x2c41();}import{UploadcareImageEditUI as _0x2647dd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xab373e{static get[_0x4e2051(0x139)](){var _0x5b467f=_0x4e2051;return _0x5b467f(0x144);}static get[_0x4e2051(0x13b)](){return[_0x314141,_0x2647dd];}static get[_0x4e2051(0x13c)](){return!0x0;}static get[_0x4e2051(0x13a)](){return!0x0;}}
23
+ var _0x1d214f=_0xeb7d;(function(_0x49f9fe,_0x2a32a4){var _0x42f9a2=_0xeb7d,_0x5bc635=_0x49f9fe();while(!![]){try{var _0x2b277f=parseInt(_0x42f9a2(0x123))/0x1*(-parseInt(_0x42f9a2(0x11d))/0x2)+parseInt(_0x42f9a2(0x122))/0x3+-parseInt(_0x42f9a2(0x125))/0x4+-parseInt(_0x42f9a2(0x11e))/0x5*(parseInt(_0x42f9a2(0x11a))/0x6)+parseInt(_0x42f9a2(0x120))/0x7+-parseInt(_0x42f9a2(0x119))/0x8+parseInt(_0x42f9a2(0x11f))/0x9;if(_0x2b277f===_0x2a32a4)break;else _0x5bc635['push'](_0x5bc635['shift']());}catch(_0x29f1da){_0x5bc635['push'](_0x5bc635['shift']());}}}(_0x2488,0x9388b));function _0x2488(){var _0x5142da=['2480004aoCHYD','148AWCNLS','isOfficialPlugin','4390336bvuTQL','isPremiumPlugin','9591384BtmNvb','3522WfLnGM','UploadcareImageEdit','requires','15656OYLjIq','3715PotGYo','24239439qnolVv','6828864TfhKzf','pluginName'];_0x2488=function(){return _0x5142da;};return _0x2488();}import{Plugin as _0x471266}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xea6794}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0xeb7d(_0x1547c6,_0x566127){var _0x24882c=_0x2488();return _0xeb7d=function(_0xeb7d63,_0x141191){_0xeb7d63=_0xeb7d63-0x119;var _0x4f6b58=_0x24882c[_0xeb7d63];return _0x4f6b58;},_0xeb7d(_0x1547c6,_0x566127);}import{UploadcareImageEditUI as _0x5f6aae}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x471266{static get[_0x1d214f(0x121)](){var _0x109d73=_0x1d214f;return _0x109d73(0x11b);}static get[_0x1d214f(0x11c)](){return[_0xea6794,_0x5f6aae];}static get[_0x1d214f(0x124)](){return!0x0;}static get[_0x1d214f(0x126)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e0077=_0x550f;(function(_0x20bbe3,_0x849f52){const _0x41909a=_0x550f,_0x5479f2=_0x20bbe3();while(!![]){try{const _0x2bd611=parseInt(_0x41909a(0x9c))/0x1*(-parseInt(_0x41909a(0x91))/0x2)+parseInt(_0x41909a(0xa0))/0x3*(-parseInt(_0x41909a(0xc9))/0x4)+parseInt(_0x41909a(0x95))/0x5*(parseInt(_0x41909a(0xc1))/0x6)+parseInt(_0x41909a(0xd0))/0x7*(parseInt(_0x41909a(0xc6))/0x8)+parseInt(_0x41909a(0xb5))/0x9+-parseInt(_0x41909a(0xc7))/0xa*(-parseInt(_0x41909a(0xa4))/0xb)+-parseInt(_0x41909a(0x9e))/0xc*(parseInt(_0x41909a(0xd3))/0xd);if(_0x2bd611===_0x849f52)break;else _0x5479f2['push'](_0x5479f2['shift']());}catch(_0x119be0){_0x5479f2['push'](_0x5479f2['shift']());}}}(_0x4cb8,0xd08bc));import{Plugin as _0x290525}from'ckeditor5/src/core.js';import{IconDropbox as _0x13e9a9,IconFacebook as _0x5a35c7,IconGoogleDrive as _0x3155a1,IconGooglePhotos as _0x337966,IconUploadcareImageUpload as _0x29df2b,IconUploadcareLink as _0x1028a1,IconOneDrive as _0x1656aa}from'ckeditor5/src/icons.js';import{ButtonView as _0x446506,MenuBarMenuListItemButtonView as _0x4b2b0a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x27a846}from'./uploadcareconfig.js';function _0x550f(_0x1d3158,_0x35f024){const _0x4cb851=_0x4cb8();return _0x550f=function(_0x550ffd,_0x2b88cc){_0x550ffd=_0x550ffd-0x85;let _0x765a9b=_0x4cb851[_0x550ffd];return _0x765a9b;},_0x550f(_0x1d3158,_0x35f024);}import{getTranslation as _0x1bf483}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x4cb8(){const _0x530c0e=['get','OneDrive','_normalizeConfigSourceList','uploadcare','85982slwKNM','label','invalid','registerIntegration','1565XBaKnO','upload','uploadcareLicenseKeyUsageLimit','Replace','editor','pluginName','ImageInsertUI','5hNuWbZ','destroy','76836mndcgs','licenseKey','317973kHVYxw','push','uploadcareLicenseKeyValid','_getIntegrationKey','1639RBSaxm','_createToolbarButton','execute','uploadcareLicenseKeyInvalid','withText','isEnabled','Facebook','url','Insert','commands','URL','_createButton','Local','uploadcareLicenseKeyExpired','init','reduce','uploadcare.uploader.sourceList','9310599FHnEjp','shortText','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','UploadcareUI','has','featureNotAllowed','locale','config','assetManager','text','_createDropdownButtons','22122oZbjwy','isPremiumPlugin','type','expired','icon','481808ymzTBi','4870qHapcy','entries','16pFWhSU','afterInit','usageLimit','GPhotos','isOfficialPlugin','GDrive','map','70SRGEGr','Uploadcare','Dropbox','2782RNqNLG','evaluationLimit','isImageSelected','uploadcareLicenseKeyDomainLimit','domainLimit','plugins','bind','tooltip','uploadcareLicenseKeyNotAllowed','_createMenuBarButtons','forEach','_licenseKeyCheckInterval'];_0x4cb8=function(){return _0x530c0e;};return _0x4cb8();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x290525{[_0x4e0077(0x9f)];[_0x4e0077(0x8c)];static get[_0x4e0077(0x9a)](){const _0x1166e4=_0x4e0077;return _0x1166e4(0xb9);}static get[_0x4e0077(0xcd)](){return!0x0;}static get[_0x4e0077(0xc2)](){return!0x0;}[_0x4e0077(0xb2)](){const _0x53f277=_0x4e0077;this[_0x53f277(0x9f)]=this[_0x53f277(0x99)][_0x53f277(0xbd)][_0x53f277(0x8d)](_0x53f277(0x9f));const _0x34ff9b=this[_0x53f277(0x99)];this[_0x53f277(0x8c)]=setInterval(()=>{const _0x4db841=_0x53f277;let _0xdef016;for(const _0xedb70d in _0x34ff9b){const _0x3e45c3=_0xedb70d,_0x537368=_0x34ff9b[_0x3e45c3];if(_0x4db841(0xa2)==_0x537368||_0x4db841(0xa7)==_0x537368||_0x4db841(0xb1)==_0x537368||_0x4db841(0xd6)==_0x537368||_0x4db841(0x89)==_0x537368||_0x4db841(0xb7)==_0x537368||_0x4db841(0x97)==_0x537368){delete _0x34ff9b[_0x3e45c3],_0xdef016=_0x537368,clearInterval(this[_0x4db841(0x8c)]),this[_0x4db841(0x8c)]=void 0x0;break;}}_0x4db841(0xa7)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0x93)),_0x4db841(0xb1)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xc4)),_0x4db841(0xd6)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0x85)),_0x4db841(0x89)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xbb),_0x4db841(0xd1)),_0x4db841(0xb7)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xd4)),_0x4db841(0x97)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xcb));},0x3e8);}[_0x4e0077(0xca)](){const _0x17d597=_0x4e0077,{editor:_0x531325}=this,_0x4aa681=_0x531325[_0x17d597(0xad)][_0x17d597(0x8d)](_0x17d597(0x90));if(!_0x4aa681)return;const _0x337dbd=this[_0x17d597(0x8f)](_0x531325[_0x17d597(0xbd)][_0x17d597(0x8d)](_0x17d597(0xb4)))[_0x17d597(0xb3)]((_0x697eec,_0x1a7829)=>{const _0x3650bc=_0x17d597,_0x49ecc4=this[_0x3650bc(0xa3)](_0x1a7829[_0x3650bc(0xc3)]);return _0x697eec[_0x49ecc4]||(_0x697eec[_0x49ecc4]=[]),_0x697eec[_0x49ecc4][_0x3650bc(0xa1)](_0x1a7829),_0x697eec;},{});_0x531325[_0x17d597(0x86)][_0x17d597(0xba)](_0x17d597(0x9b))&&_0x531325[_0x17d597(0xad)][_0x17d597(0x8d)](_0x17d597(0x90))&&Object[_0x17d597(0xc8)](_0x337dbd)[_0x17d597(0x8b)](([_0x278a0c,_0x2ea1c0])=>{const _0x433878=_0x17d597;_0x531325[_0x433878(0x86)][_0x433878(0x8d)](_0x433878(0x9b))[_0x433878(0x94)]({'name':_0x278a0c,'observable':()=>_0x4aa681,'buttonViewCreator':()=>this[_0x433878(0xa5)](_0x2ea1c0),'formViewCreator':()=>this[_0x433878(0xc0)](_0x2ea1c0),'menuBarButtonViewCreator':()=>this[_0x433878(0x8a)](_0x2ea1c0),'override':_0x433878(0xbe)!==_0x278a0c});});}[_0x4e0077(0x9d)](){const _0x45ebd5=_0x4e0077;super[_0x45ebd5(0x9d)](),this[_0x45ebd5(0x8c)]&&clearInterval(this[_0x45ebd5(0x8c)]);}[_0x4e0077(0x8f)](_0x4033b3){const _0x2f9634=_0x4e0077,{locale:_0x1c58c9}=this[_0x2f9634(0x99)];return _0x4033b3[_0x2f9634(0xcf)](_0x4de075=>{const _0xb5cbe9=_0x2f9634,_0x5ad000=_0x1bf483(_0x1c58c9,_0x4de075,_0xb5cbe9(0xac));switch(_0x4de075){case _0x27a846[_0xb5cbe9(0xb0)]:return{'icon':_0x29df2b,'type':_0x27a846[_0xb5cbe9(0xb0)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xae)]:return{'icon':_0x1028a1,'type':_0x27a846[_0xb5cbe9(0xae)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xd2)]:return{'icon':_0x13e9a9,'type':_0x27a846[_0xb5cbe9(0xd2)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xaa)]:return{'icon':_0x5a35c7,'type':_0x27a846[_0xb5cbe9(0xaa)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xce)]:return{'icon':_0x3155a1,'type':_0x27a846[_0xb5cbe9(0xce)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xcc)]:return{'icon':_0x337966,'type':_0x27a846[_0xb5cbe9(0xcc)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0x8e)]:return{'icon':_0x1656aa,'type':_0x27a846[_0xb5cbe9(0x8e)],..._0x5ad000};}});}[_0x4e0077(0xa3)](_0x3d16fc){const _0x3e60aa=_0x4e0077;switch(_0x3d16fc){case _0x27a846[_0x3e60aa(0xb0)]:return _0x3e60aa(0x96);case _0x27a846[_0x3e60aa(0xae)]:return _0x3e60aa(0xab);default:return _0x3e60aa(0xbe);}}[_0x4e0077(0xaf)](_0x14655b,_0x455be4){const _0xe16a64=_0x4e0077,_0x29d119=this[_0xe16a64(0x99)],_0x1226fe=new _0x14655b(_0x29d119[_0xe16a64(0xbc)]),_0x5e2feb=_0x29d119[_0xe16a64(0xad)][_0xe16a64(0x8d)](_0xe16a64(0x90));return _0x1226fe[_0xe16a64(0x87)](_0xe16a64(0xa9))['to'](_0x5e2feb),_0x1226fe['on'](_0xe16a64(0xa6),()=>{const _0x2cff19=_0xe16a64;_0x5e2feb[_0x2cff19(0xa6)](_0x455be4);}),_0x1226fe;}[_0x4e0077(0xa5)](_0x47e6a0){const _0x20e701=_0x4e0077,{locale:_0x3b90bf}=this[_0x20e701(0x99)],_0x16725d=this[_0x20e701(0x99)][_0x20e701(0x86)][_0x20e701(0x8d)](_0x20e701(0x9b)),_0x4e8327=_0x47e6a0[0x0],_0x391296=this[_0x20e701(0xaf)](_0x446506,_0x4e8327[_0x20e701(0xc3)]);return _0x391296[_0x20e701(0xc5)]=_0x4e8327[_0x20e701(0xc5)],_0x391296[_0x20e701(0x87)](_0x20e701(0x92))['to'](_0x16725d,_0x20e701(0xd5),_0x3b63c4=>_0x1bf483(_0x3b90bf,_0x4e8327[_0x20e701(0xc3)],_0x3b63c4?_0x20e701(0x98):_0x20e701(0xac))[_0x20e701(0xbf)]),_0x391296[_0x20e701(0x88)]=!0x0,_0x391296;}[_0x4e0077(0xc0)](_0x524e9f){const _0x3bd5ac=_0x4e0077,{locale:_0x4a1c5a}=this[_0x3bd5ac(0x99)],_0x1559b2=this[_0x3bd5ac(0x99)][_0x3bd5ac(0x86)][_0x3bd5ac(0x8d)](_0x3bd5ac(0x9b));return _0x524e9f[_0x3bd5ac(0xcf)](_0x2f21cf=>{const _0x488110=_0x3bd5ac,_0x24e824=this[_0x488110(0xaf)](_0x446506,_0x2f21cf[_0x488110(0xc3)]);return _0x24e824[_0x488110(0xa8)]=!0x0,_0x24e824[_0x488110(0xc5)]=_0x2f21cf[_0x488110(0xc5)],_0x24e824[_0x488110(0x87)](_0x488110(0x92))['to'](_0x1559b2,_0x488110(0xd5),_0x131b74=>_0x1bf483(_0x4a1c5a,_0x2f21cf[_0x488110(0xc3)],_0x131b74?_0x488110(0x98):_0x488110(0xac))[_0x488110(0xbf)]),_0x24e824;});}[_0x4e0077(0x8a)](_0x4a0b0b){const _0x1f345b=_0x4e0077;return _0x4a0b0b[_0x1f345b(0xcf)](_0x18a744=>{const _0x4b08eb=_0x1f345b,_0x40f977=this[_0x4b08eb(0xaf)](_0x4b2b0a,_0x18a744[_0x4b08eb(0xc3)]);return _0x40f977[_0x4b08eb(0xc5)]=_0x18a744[_0x4b08eb(0xc5)],_0x40f977[_0x4b08eb(0x92)]=_0x18a744[_0x4b08eb(0xb6)],_0x40f977;});}}
23
+ const _0x4798b4=_0x3917;(function(_0x5e0247,_0x55f40e){const _0x3b56d8=_0x3917,_0x506d24=_0x5e0247();while(!![]){try{const _0x3a05f6=parseInt(_0x3b56d8(0xe9))/0x1*(-parseInt(_0x3b56d8(0xb2))/0x2)+parseInt(_0x3b56d8(0xd5))/0x3+-parseInt(_0x3b56d8(0xbb))/0x4+-parseInt(_0x3b56d8(0xb6))/0x5*(parseInt(_0x3b56d8(0xba))/0x6)+-parseInt(_0x3b56d8(0xb3))/0x7*(parseInt(_0x3b56d8(0xaf))/0x8)+parseInt(_0x3b56d8(0xc1))/0x9*(-parseInt(_0x3b56d8(0xdd))/0xa)+parseInt(_0x3b56d8(0xdb))/0xb*(parseInt(_0x3b56d8(0xd6))/0xc);if(_0x3a05f6===_0x55f40e)break;else _0x506d24['push'](_0x506d24['shift']());}catch(_0x4074bf){_0x506d24['push'](_0x506d24['shift']());}}}(_0x4ba3,0xbfdb9));import{Plugin as _0x4851f6}from'ckeditor5/src/core.js';import{IconDropbox as _0x50a2b3,IconFacebook as _0x519b19,IconGoogleDrive as _0x81303c,IconGooglePhotos as _0x45f99b,IconUploadcareImageUpload as _0x526276,IconUploadcareLink as _0x18a202,IconOneDrive as _0x2596d2}from'ckeditor5/src/icons.js';function _0x3917(_0x17022d,_0x3bb6a1){const _0x4ba323=_0x4ba3();return _0x3917=function(_0x391782,_0x5a4c06){_0x391782=_0x391782-0xa7;let _0x15593d=_0x4ba323[_0x391782];return _0x15593d;},_0x3917(_0x17022d,_0x3bb6a1);}import{ButtonView as _0x2ef1da,MenuBarMenuListItemButtonView as _0xb5a093}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x465f63}from'./uploadcareconfig.js';import{getTranslation as _0x4c2cec}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x4ba3(){const _0x1c5e41=['afterInit','registerIntegration','get','has','GDrive','uploadcareLicenseKeyExpired','licenseKey','isPremiumPlugin','destroy','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','_getIntegrationKey','2609448XlVxgX','12rIDkIq','execute','icon','usageLimit','withText','53359438wwsqtm','domainLimit','10zPjVVk','invalid','_normalizeConfigSourceList','type','isImageSelected','init','isOfficialPlugin','Local','url','uploadcareLicenseKeyValid','reduce','text','52449KhCyXG','isEnabled','_createButton','_createToolbarButton','forEach','locale','map','expired','ImageInsertUI','uploadcareLicenseKeyEvaluationLimit','_createMenuBarButtons','Facebook','commands','uploadcareLicenseKeyInvalid','shortText','URL','pluginName','GPhotos','editor','featureNotAllowed','upload','label','uploadcare','53848UStfgp','config','uploadcareLicenseKeyUsageLimit','20ughZDG','938feHuDA','tooltip','evaluationLimit','4204945vOmROF','_showLicenseError','UploadcareUI','Dropbox','6mfEToF','5448620Wowzww','uploadcare.uploader.sourceList','bind','Insert','assetManager','plugins','11747133cSHEMW','push','uploadcareLicenseKeyDomainLimit','OneDrive','Replace','entries','_licenseKeyCheckInterval','Uploadcare'];_0x4ba3=function(){return _0x1c5e41;};return _0x4ba3();}export class UploadcareUI extends _0x4851f6{[_0x4798b4(0xcf)];[_0x4798b4(0xc7)];static get[_0x4798b4(0xa8)](){const _0x2cd490=_0x4798b4;return _0x2cd490(0xb8);}static get[_0x4798b4(0xe3)](){return!0x0;}static get[_0x4798b4(0xd0)](){return!0x0;}[_0x4798b4(0xe2)](){const _0x4e16fc=_0x4798b4;this[_0x4e16fc(0xcf)]=this[_0x4e16fc(0xaa)][_0x4e16fc(0xb0)][_0x4e16fc(0xcb)](_0x4e16fc(0xcf));const _0x456fb8=this[_0x4e16fc(0xaa)];this[_0x4e16fc(0xc7)]=setInterval(()=>{const _0x533305=_0x4e16fc;let _0x58742c;for(const _0x3fb2f9 in _0x456fb8){const _0x1837cc=_0x3fb2f9,_0x15900a=_0x456fb8[_0x1837cc];if(_0x533305(0xe6)==_0x15900a||_0x533305(0xf6)==_0x15900a||_0x533305(0xce)==_0x15900a||_0x533305(0xc3)==_0x15900a||_0x533305(0xd3)==_0x15900a||_0x533305(0xf2)==_0x15900a||_0x533305(0xb1)==_0x15900a){delete _0x456fb8[_0x1837cc],_0x58742c=_0x15900a,clearInterval(this[_0x533305(0xc7)]),this[_0x533305(0xc7)]=void 0x0;break;}}_0x533305(0xf6)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xde)),_0x533305(0xce)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xf0)),_0x533305(0xc3)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xdc)),_0x533305(0xd3)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xab),_0x533305(0xc8)),_0x533305(0xf2)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xb5)),_0x533305(0xb1)==_0x58742c&&_0x456fb8[_0x533305(0xb7)](_0x533305(0xd9));},0x3e8);}[_0x4798b4(0xc9)](){const _0x34fa9f=_0x4798b4,{editor:_0x162b86}=this,_0x2aff54=_0x162b86[_0x34fa9f(0xf5)][_0x34fa9f(0xcb)](_0x34fa9f(0xae));if(!_0x2aff54)return;const _0x58abde=this[_0x34fa9f(0xdf)](_0x162b86[_0x34fa9f(0xb0)][_0x34fa9f(0xcb)](_0x34fa9f(0xbc)))[_0x34fa9f(0xe7)]((_0x44ad3b,_0x29073e)=>{const _0x4e1a1b=_0x34fa9f,_0x4fe8a1=this[_0x4e1a1b(0xd4)](_0x29073e[_0x4e1a1b(0xe0)]);return _0x44ad3b[_0x4fe8a1]||(_0x44ad3b[_0x4fe8a1]=[]),_0x44ad3b[_0x4fe8a1][_0x4e1a1b(0xc2)](_0x29073e),_0x44ad3b;},{});_0x162b86[_0x34fa9f(0xc0)][_0x34fa9f(0xcc)](_0x34fa9f(0xf1))&&_0x162b86[_0x34fa9f(0xf5)][_0x34fa9f(0xcb)](_0x34fa9f(0xae))&&Object[_0x34fa9f(0xc6)](_0x58abde)[_0x34fa9f(0xed)](([_0x5a00ac,_0x17165c])=>{const _0x1d3f37=_0x34fa9f;_0x162b86[_0x1d3f37(0xc0)][_0x1d3f37(0xcb)](_0x1d3f37(0xf1))[_0x1d3f37(0xca)]({'name':_0x5a00ac,'observable':()=>_0x2aff54,'buttonViewCreator':()=>this[_0x1d3f37(0xec)](_0x17165c),'formViewCreator':()=>this[_0x1d3f37(0xd2)](_0x17165c),'menuBarButtonViewCreator':()=>this[_0x1d3f37(0xf3)](_0x17165c),'override':_0x1d3f37(0xbf)!==_0x5a00ac});});}[_0x4798b4(0xd1)](){const _0x54485b=_0x4798b4;super[_0x54485b(0xd1)](),this[_0x54485b(0xc7)]&&clearInterval(this[_0x54485b(0xc7)]);}[_0x4798b4(0xdf)](_0x230b3f){const _0x366be3=_0x4798b4,{locale:_0x37e1cc}=this[_0x366be3(0xaa)];return _0x230b3f[_0x366be3(0xef)](_0x46671f=>{const _0x256178=_0x366be3,_0x2f0d7f=_0x4c2cec(_0x37e1cc,_0x46671f,_0x256178(0xbe));switch(_0x46671f){case _0x465f63[_0x256178(0xe4)]:return{'icon':_0x526276,'type':_0x465f63[_0x256178(0xe4)],..._0x2f0d7f};case _0x465f63[_0x256178(0xa7)]:return{'icon':_0x18a202,'type':_0x465f63[_0x256178(0xa7)],..._0x2f0d7f};case _0x465f63[_0x256178(0xb9)]:return{'icon':_0x50a2b3,'type':_0x465f63[_0x256178(0xb9)],..._0x2f0d7f};case _0x465f63[_0x256178(0xf4)]:return{'icon':_0x519b19,'type':_0x465f63[_0x256178(0xf4)],..._0x2f0d7f};case _0x465f63[_0x256178(0xcd)]:return{'icon':_0x81303c,'type':_0x465f63[_0x256178(0xcd)],..._0x2f0d7f};case _0x465f63[_0x256178(0xa9)]:return{'icon':_0x45f99b,'type':_0x465f63[_0x256178(0xa9)],..._0x2f0d7f};case _0x465f63[_0x256178(0xc4)]:return{'icon':_0x2596d2,'type':_0x465f63[_0x256178(0xc4)],..._0x2f0d7f};}});}[_0x4798b4(0xd4)](_0x1f29c0){const _0x3a54df=_0x4798b4;switch(_0x1f29c0){case _0x465f63[_0x3a54df(0xe4)]:return _0x3a54df(0xac);case _0x465f63[_0x3a54df(0xa7)]:return _0x3a54df(0xe5);default:return _0x3a54df(0xbf);}}[_0x4798b4(0xeb)](_0x59741c,_0x3c3d4a){const _0xd1f9e5=_0x4798b4,_0x505845=this[_0xd1f9e5(0xaa)],_0x23add6=new _0x59741c(_0x505845[_0xd1f9e5(0xee)]),_0xbb6159=_0x505845[_0xd1f9e5(0xf5)][_0xd1f9e5(0xcb)](_0xd1f9e5(0xae));return _0x23add6[_0xd1f9e5(0xbd)](_0xd1f9e5(0xea))['to'](_0xbb6159),_0x23add6['on'](_0xd1f9e5(0xd7),()=>{const _0x12633c=_0xd1f9e5;_0xbb6159[_0x12633c(0xd7)](_0x3c3d4a);}),_0x23add6;}[_0x4798b4(0xec)](_0x10c3e6){const _0xeb266b=_0x4798b4,{locale:_0x59dc8d}=this[_0xeb266b(0xaa)],_0x248a33=this[_0xeb266b(0xaa)][_0xeb266b(0xc0)][_0xeb266b(0xcb)](_0xeb266b(0xf1)),_0x593b82=_0x10c3e6[0x0],_0x1f4a86=this[_0xeb266b(0xeb)](_0x2ef1da,_0x593b82[_0xeb266b(0xe0)]);return _0x1f4a86[_0xeb266b(0xd8)]=_0x593b82[_0xeb266b(0xd8)],_0x1f4a86[_0xeb266b(0xbd)](_0xeb266b(0xad))['to'](_0x248a33,_0xeb266b(0xe1),_0x153c84=>_0x4c2cec(_0x59dc8d,_0x593b82[_0xeb266b(0xe0)],_0x153c84?_0xeb266b(0xc5):_0xeb266b(0xbe))[_0xeb266b(0xe8)]),_0x1f4a86[_0xeb266b(0xb4)]=!0x0,_0x1f4a86;}[_0x4798b4(0xd2)](_0x52b30e){const _0x3b4ee1=_0x4798b4,{locale:_0x485bc0}=this[_0x3b4ee1(0xaa)],_0x25ed1e=this[_0x3b4ee1(0xaa)][_0x3b4ee1(0xc0)][_0x3b4ee1(0xcb)](_0x3b4ee1(0xf1));return _0x52b30e[_0x3b4ee1(0xef)](_0x89e0dd=>{const _0x3e95e9=_0x3b4ee1,_0x125ae0=this[_0x3e95e9(0xeb)](_0x2ef1da,_0x89e0dd[_0x3e95e9(0xe0)]);return _0x125ae0[_0x3e95e9(0xda)]=!0x0,_0x125ae0[_0x3e95e9(0xd8)]=_0x89e0dd[_0x3e95e9(0xd8)],_0x125ae0[_0x3e95e9(0xbd)](_0x3e95e9(0xad))['to'](_0x25ed1e,_0x3e95e9(0xe1),_0x3d6ce2=>_0x4c2cec(_0x485bc0,_0x89e0dd[_0x3e95e9(0xe0)],_0x3d6ce2?_0x3e95e9(0xc5):_0x3e95e9(0xbe))[_0x3e95e9(0xe8)]),_0x125ae0;});}[_0x4798b4(0xf3)](_0x204d24){const _0x520e6a=_0x4798b4;return _0x204d24[_0x520e6a(0xef)](_0x4fec28=>{const _0x78ec41=_0x520e6a,_0x22ae2c=this[_0x78ec41(0xeb)](_0xb5a093,_0x4fec28[_0x78ec41(0xe0)]);return _0x22ae2c[_0x78ec41(0xd8)]=_0x4fec28[_0x78ec41(0xd8)],_0x22ae2c[_0x78ec41(0xad)]=_0x4fec28[_0x78ec41(0xf7)],_0x22ae2c;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x9713d6}from'ckeditor5/src/core.js';import{FileRepository as _0x44cbc7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1fbf09}from'./uploadcareediting.js';import{UploadUtils as _0x1f331a}from'./utils/uploadutils.js';import{getImageUrls as _0x3017fd}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x9713d6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x44cbc7,_0x1fbf09];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1737b3=this['editor'];if(!!!_0x1737b3['config']['get']('uploadcare'))return;_0x1737b3['plugins']['get'](_0x44cbc7)['createUploadAdapter']=_0x54172e=>new k(_0x54172e,_0x1737b3),_0x1737b3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x15b556,{imageElement:_0x42d047,data:_0x51a7fc})=>{_0x1737b3['model']['change'](_0x59ca69=>{_0x59ca69['setAttribute']('uploadcareImageId',_0x51a7fc['uploadcareImageId'],_0x42d047);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x9395f8,_0xe25dfd){this['loader']=_0x9395f8,this['editor']=_0xe25dfd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5970ee=await this['loader']['file'];return _0x1f331a['upload']({'file':_0x5970ee,'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':_0x402329=>{_0x402329&&_0x402329['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x402329['value']);}})['then'](async _0x1d0921=>{const {imageFallbackUrl:_0x596248,imageSources:_0x37d5a5}=_0x3017fd(_0x1d0921['cdnUrl'],_0x1d0921['imageInfo']['width']);return{'uploadcareImageId':_0x1d0921['uuid'],'default':_0x596248,'sources':_0x37d5a5};})['catch'](()=>{const _0x23a93a=t('Cannot\x20upload\x20file:')+('\x20'+_0x5970ee['name']+'.');return Promise['reject'](_0x23a93a);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3db835}from'ckeditor5/src/core.js';import{FileRepository as _0x4c8afa}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x448426}from'./uploadcareediting.js';import{UploadUtils as _0x1d1e10}from'./utils/uploadutils.js';import{getImageUrls as _0x190068}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3db835{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4c8afa,_0x448426];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3fddea=this['editor'];if(!!!_0x3fddea['config']['get']('uploadcare'))return;_0x3fddea['plugins']['get'](_0x4c8afa)['createUploadAdapter']=_0x577192=>new k(_0x577192,_0x3fddea),_0x3fddea['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x27bfd8,{imageElement:_0x2f6f47,data:_0x50b454})=>{_0x3fddea['model']['change'](_0x55811e=>{_0x55811e['setAttribute']('uploadcareImageId',_0x50b454['uploadcareImageId'],_0x2f6f47);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x2845a3,_0x56658e){this['loader']=_0x2845a3,this['editor']=_0x56658e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xddb825=await this['loader']['file'];return _0x1d1e10['upload']({'file':_0xddb825,'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':_0x45926c=>{_0x45926c&&_0x45926c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x45926c['value']);}})['then'](async _0x369f4a=>{const {imageFallbackUrl:_0x4785aa,imageSources:_0xe6bebb}=_0x190068(_0x369f4a['cdnUrl'],_0x369f4a['imageInfo']['width']);return{'uploadcareImageId':_0x369f4a['uuid'],'default':_0x4785aa,'sources':_0xe6bebb};})['catch'](()=>{const _0x1c2340=t('Cannot\x20upload\x20file:')+('\x20'+_0xddb825['name']+'.');return Promise['reject'](_0x1c2340);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x41849b}from'../uploadcareconfig.js';export function getTranslation(_0x377e51,_0x4e341a,_0x2b6e60){const t=_0x377e51['t'],_0x138363=_0x377e51['t'];switch(_0x4e341a){case _0x41849b['Local']:return{'text':_0x138363('Insert'===_0x2b6e60?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x138363('From\x20computer')};case _0x41849b['URL']:return{'text':'Insert'===_0x2b6e60?_0x138363('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x138363('Via\x20URL')};case _0x41849b['Dropbox']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x41849b['Facebook']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x41849b['GDrive']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x41849b['GPhotos']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x41849b['OneDrive']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4e341a;}}
23
+ import{UploadcareSource as _0x51407b}from'../uploadcareconfig.js';export function getTranslation(_0x493dff,_0x5b2102,_0x3fe4ef){const t=_0x493dff['t'],_0x37c8b4=_0x493dff['t'];switch(_0x5b2102){case _0x51407b['Local']:return{'text':_0x37c8b4('Insert'===_0x3fe4ef?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37c8b4('From\x20computer')};case _0x51407b['URL']:return{'text':'Insert'===_0x3fe4ef?_0x37c8b4('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37c8b4('Via\x20URL')};case _0x51407b['Dropbox']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x51407b['Facebook']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x51407b['GDrive']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x51407b['GPhotos']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x51407b['OneDrive']:return{'text':t('Insert'===_0x3fe4ef?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5b2102;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x415d82=_0x4b7e;(function(_0x242416,_0x2a0b98){var _0xf29318=_0x4b7e,_0x519256=_0x242416();while(!![]){try{var _0x1edfcd=-parseInt(_0xf29318(0x195))/0x1*(-parseInt(_0xf29318(0x192))/0x2)+-parseInt(_0xf29318(0x1a2))/0x3*(-parseInt(_0xf29318(0x199))/0x4)+-parseInt(_0xf29318(0x196))/0x5*(parseInt(_0xf29318(0x194))/0x6)+-parseInt(_0xf29318(0x19c))/0x7*(parseInt(_0xf29318(0x190))/0x8)+-parseInt(_0xf29318(0x193))/0x9*(-parseInt(_0xf29318(0x191))/0xa)+parseInt(_0xf29318(0x19e))/0xb+-parseInt(_0xf29318(0x1a4))/0xc;if(_0x1edfcd===_0x2a0b98)break;else _0x519256['push'](_0x519256['shift']());}catch(_0x11c875){_0x519256['push'](_0x519256['shift']());}}}(_0x36d3,0x55e08));function _0x4b7e(_0x4ba948,_0x4922fd){var _0x36d381=_0x36d3();return _0x4b7e=function(_0x4b7e08,_0x544dc7){_0x4b7e08=_0x4b7e08-0x190;var _0x4b5f1c=_0x36d381[_0x4b7e08];return _0x4b5f1c;},_0x4b7e(_0x4ba948,_0x4922fd);}function _0x36d3(){var _0x39a11c=['15579WjHpUc','30pihQxJ','13pZaLBY','562255utsRyX','focusCycler','forwardCycle','4144LgRgVp','getFocusableElement','div','7ivHylp','createCollection','7497182UzZXQI','fire','focusTracker','true','393uKGKZB','bindTemplate','2830944BJpOan','4675592PynrvE','3470cdnpMs','48682YaEoJW'];_0x36d3=function(){return _0x39a11c;};return _0x36d3();}import{FocusTracker as _0x2a9e9d}from'ckeditor5/src/utils.js';import{View as _0x74bdf,FocusCycler as _0xa535c3}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x74bdf{[_0x415d82(0x1a0)];[_0x415d82(0x197)];constructor(_0x1eeed9){var _0x14a717=_0x415d82;super(_0x1eeed9),this[_0x14a717(0x1a0)]=new _0x2a9e9d(),this[_0x14a717(0x197)]=new _0xa535c3({'focusables':this[_0x14a717(0x19d)](),'focusTracker':this[_0x14a717(0x1a0)]});}[_0x415d82(0x19a)](){var _0x8a677c=_0x415d82;return{'tag':_0x8a677c(0x19b),'attributes':{'aria-hidden':_0x8a677c(0x1a1),'tabindex':'0'},'on':{'focus':this[_0x8a677c(0x1a3)]['to'](()=>{var _0x5b052c=_0x8a677c;this[_0x5b052c(0x197)][_0x5b052c(0x19f)](_0x5b052c(0x198));})}};}}
23
+ var _0x47bf0a=_0x507a;function _0x3a61(){var _0x70b51c=['createCollection','focusTracker','getFocusableElement','forwardCycle','true','496611BKHhmX','880VRysau','div','7244028tQHWns','733987kmtiNs','12590TBQrgp','26983746ZYIhSO','396674WpoIMo','8jrOJwN','bindTemplate','fire','8643691fdRYIX','focusCycler'];_0x3a61=function(){return _0x70b51c;};return _0x3a61();}function _0x507a(_0x50b9ea,_0xaf0110){var _0x3a61fb=_0x3a61();return _0x507a=function(_0x507a26,_0x1a87cb){_0x507a26=_0x507a26-0x1ba;var _0x4d40fa=_0x3a61fb[_0x507a26];return _0x4d40fa;},_0x507a(_0x50b9ea,_0xaf0110);}(function(_0xee23c9,_0x569973){var _0x143dd4=_0x507a,_0x375723=_0xee23c9();while(!![]){try{var _0x264905=parseInt(_0x143dd4(0x1c0))/0x1+-parseInt(_0x143dd4(0x1c3))/0x2+parseInt(_0x143dd4(0x1bc))/0x3+-parseInt(_0x143dd4(0x1bd))/0x4*(parseInt(_0x143dd4(0x1c1))/0x5)+-parseInt(_0x143dd4(0x1bf))/0x6+-parseInt(_0x143dd4(0x1c7))/0x7*(parseInt(_0x143dd4(0x1c4))/0x8)+parseInt(_0x143dd4(0x1c2))/0x9;if(_0x264905===_0x569973)break;else _0x375723['push'](_0x375723['shift']());}catch(_0x2babef){_0x375723['push'](_0x375723['shift']());}}}(_0x3a61,0xabb26));import{FocusTracker as _0x227511}from'ckeditor5/src/utils.js';import{View as _0x1c01f1,FocusCycler as _0x502087}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1c01f1{[_0x47bf0a(0x1ca)];[_0x47bf0a(0x1c8)];constructor(_0x34d228){var _0x18c36b=_0x47bf0a;super(_0x34d228),this[_0x18c36b(0x1ca)]=new _0x227511(),this[_0x18c36b(0x1c8)]=new _0x502087({'focusables':this[_0x18c36b(0x1c9)](),'focusTracker':this[_0x18c36b(0x1ca)]});}[_0x47bf0a(0x1cb)](){var _0x489270=_0x47bf0a;return{'tag':_0x489270(0x1be),'attributes':{'aria-hidden':_0x489270(0x1bb),'tabindex':'0'},'on':{'focus':this[_0x489270(0x1c5)]['to'](()=>{var _0x448516=_0x489270;this[_0x448516(0x1c8)][_0x448516(0x1c6)](_0x448516(0x1ba));})}};}}