@ckeditor/ckeditor5-uploadcare 47.2.0-alpha.5 → 47.2.0-alpha.6

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 _0x265e99=_0x38c5;(function(_0xc2f78b,_0x2a92cd){const _0x3fa899=_0x38c5,_0xea575f=_0xc2f78b();while(!![]){try{const _0x29aeeb=-parseInt(_0x3fa899(0x85))/0x1+-parseInt(_0x3fa899(0xbc))/0x2+parseInt(_0x3fa899(0xbe))/0x3*(parseInt(_0x3fa899(0xc2))/0x4)+-parseInt(_0x3fa899(0x7c))/0x5+-parseInt(_0x3fa899(0x87))/0x6+parseInt(_0x3fa899(0xa5))/0x7*(parseInt(_0x3fa899(0x9c))/0x8)+parseInt(_0x3fa899(0xc1))/0x9*(parseInt(_0x3fa899(0x84))/0xa);if(_0x29aeeb===_0x2a92cd)break;else _0xea575f['push'](_0xea575f['shift']());}catch(_0x1c342e){_0xea575f['push'](_0xea575f['shift']());}}}(_0xa5b3,0xba581));function _0x38c5(_0x29fa55,_0x108d69){const _0xa5b3a7=_0xa5b3();return _0x38c5=function(_0x38c5af,_0x475534){_0x38c5af=_0x38c5af-0x7c;let _0x23520a=_0xa5b3a7[_0x38c5af];return _0x23520a;},_0x38c5(_0x29fa55,_0x108d69);}import{Plugin as _0x53412f}from'ckeditor5/src/core.js';import{Dialog as _0x38a610}from'ckeditor5/src/ui.js';function _0xa5b3(){const _0x254f1a=['commands','requires','iconHrefResolver','editing','view','href','33816DQgzUf','_initCtx','once','PictureEditing','isOfficialPlugin','map','contentLanguage','uploadcare.uploader','body','749OtwXwy','remove','_initConfig','selection','isPremiumPlugin','_initSchema','destroy','insertImage','config','pluginName','elementToAttribute','for','getSelectedElement','configElement','cleanupImage','_ctxElement','get','closeMax','imageInline','fromCharCode','data-uc-image-id','ctxElement','getAttribute','1928584RzzhQK','model','6yYTCRA','_configElement','uploadcareImageReplace','2495781ELpJRa','313604RSwWry','uc-config','add','input[uploadcare-file-input]','upcast','true','listenTo','replaceImageSource','locale','uploader-','appendChild','imageBlock','execute','_initImageProcessingIndicator','extend','1636900qQqnlM','querySelector','schema','uc-upload-ctx-provider','ucContextId','isRegistered','attributeToAttribute','\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','80XTHREC','212684ZwxFSA','join','3359652AUNxMc','document','editor','afterInit','uploadcare','uploadcareImageId','init','conversion','uploadcare.pubkey','render','_initConversion','UploadcareEditing','#uc-icon-arrow-down','downcast','removeAttribute'];_0xa5b3=function(){return _0x254f1a;};return _0xa5b3();}import{createElement as _0x92f997,global as _0x36ba5d,uid as _0x49a73c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3c41b4}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x17bef3}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1edd8c}from'./utils/editingutils.js';export class UploadcareEditing extends _0x53412f{[_0x265e99(0xbf)]=null;[_0x265e99(0xb4)]=null;static get[_0x265e99(0xae)](){const _0x51f933=_0x265e99;return _0x51f933(0x92);}static get[_0x265e99(0x97)](){const _0x52414f=_0x265e99;return[_0x52414f(0x9f),_0x17bef3,_0x38a610];}static get[_0x265e99(0xa0)](){return!0x0;}static get[_0x265e99(0xa9)](){return!0x0;}[_0x265e99(0x80)];get[_0x265e99(0xb2)](){const _0x4e5acd=_0x265e99;return this[_0x4e5acd(0xbf)];}get[_0x265e99(0xba)](){const _0x474faf=_0x265e99;return this[_0x474faf(0xb4)];}constructor(_0x3699ff){const _0x2218a8=_0x265e99;super(_0x3699ff),this[_0x2218a8(0x80)]=_0x49a73c();}[_0x265e99(0x8d)](){const _0x20e427=_0x265e99,_0x4375c5=this[_0x20e427(0x89)];_0x4375c5[_0x20e427(0x96)][_0x20e427(0xc4)](_0x20e427(0x8b),new _0x3c41b4(_0x4375c5));}[_0x265e99(0x8a)](){const _0x5522b7=_0x265e99;this[_0x5522b7(0xaa)](),this[_0x5522b7(0x91)](),this[_0x5522b7(0xa7)](),this[_0x5522b7(0x9d)](),this[_0x5522b7(0xcf)](),this[_0x5522b7(0xc8)](this[_0x5522b7(0x89)],_0x5522b7(0xab),()=>{const _0x28da15=_0x5522b7;this[_0x28da15(0xbf)]&&(this[_0x28da15(0xbf)][_0x28da15(0xa6)](),this[_0x28da15(0xbf)]=null),this[_0x28da15(0xb4)]&&(this[_0x28da15(0xb4)][_0x28da15(0xa6)](),this[_0x28da15(0xb4)]=null);const _0x2dcf88=_0x36ba5d[_0x28da15(0x88)][_0x28da15(0x7d)](_0x28da15(0xc5));_0x2dcf88&&_0x2dcf88[_0x28da15(0xa6)]();}),async function(_0x973331){const _0x2bca53=_0x454138([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]),_0x102267=0x535f8c3a,_0x59ce20=0x5358f432^_0x102267,_0x776cc2=window[_0x454138([0x44,0x61,0x74,0x65])][_0x454138([0x6e,0x6f,0x77])](),_0xf4ebc6=_0x973331[_0x454138([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27cbc8=new window[(_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc3dbf7=>{_0xf4ebc6[_0x454138([0x6f,0x6e,0x63,0x65])](_0x454138([0x72,0x65,0x61,0x64,0x79]),_0xc3dbf7);}),_0x4b0e98={[_0x454138([0x6b,0x74,0x79])]:_0x454138([0x45,0x43]),[_0x454138([0x75,0x73,0x65])]:_0x454138([0x73,0x69,0x67]),[_0x454138([0x63,0x72,0x76])]:_0x454138([0x50,0x2d,0x32,0x35,0x36]),[_0x454138([0x78])]:_0x454138([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]),[_0x454138([0x79])]:_0x454138([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]),[_0x454138([0x61,0x6c,0x67])]:_0x454138([0x45,0x53,0x32,0x35,0x36])},_0x1eecea=_0xf4ebc6[_0x454138([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x454138([0x67,0x65,0x74])](_0x454138([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2bd8(){let _0x23a8a1,_0x30733e=null,_0x18b88e=null;try{if(_0x1eecea==_0x454138([0x47,0x50,0x4c]))return _0x454138([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23a8a1=_0x4153a0(),!_0x23a8a1)return _0x454138([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23a8a1[_0x454138([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18b88e=_0x1c89e9(_0x23a8a1[_0x454138([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23a8a1[_0x454138([0x6a,0x74,0x69])])),await _0x454cf6()?_0x4b3c73()?_0x439139()?_0x454138([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x556d27()?(_0x23a8a1[_0x454138([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x454138([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30733e=_0x270af4(_0x454138([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23a8a1[_0x454138([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x454138([0x74,0x72,0x69,0x61,0x6c])&&(_0x30733e=_0x270af4(_0x454138([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54b321()):_0x454138([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x454138([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x454138([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x454138([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x439139(){const _0x12055e=[_0x454138([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x454138([0x74,0x72,0x69,0x61,0x6c])][_0x454138([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a8a1[_0x454138([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x776cc2/0x3e8:0xe10*_0x59ce20;return _0x23a8a1[_0x454138([0x65,0x78,0x70])]<_0x12055e;}function _0x4b3c73(){const _0x24c371=_0x23a8a1[_0x454138([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24c371&&(!!_0x24c371[_0x454138([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x454138([0x2a]))||!!_0x24c371[_0x454138([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x454138([0x55,0x50,0x4c,0x43])));}function _0x556d27(){const _0x8e2056=_0x38c5,_0x1ac8ed=_0x23a8a1[_0x454138([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ac8ed||0x0==_0x1ac8ed[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x211755}=new URL(window[_0x454138([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x8e2056(0x9b)]);if(_0x1ac8ed[_0x454138([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x211755))return!0x0;const _0x19cedc=_0x211755[_0x454138([0x73,0x70,0x6c,0x69,0x74])](_0x454138([0x2e]));return _0x1ac8ed[_0x454138([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43a617=>_0x43a617[_0x454138([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x454138([0x2a])))[_0x454138([0x6d,0x61,0x70])](_0x51fc53=>_0x51fc53[_0x454138([0x73,0x70,0x6c,0x69,0x74])](_0x454138([0x2e])))[_0x454138([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16d5d8=>_0x16d5d8[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19cedc[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x454138([0x6d,0x61,0x70])](_0x3341cb=>Array(_0x19cedc[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3341cb[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x454138([0x66,0x69,0x6c,0x6c])](_0x3341cb[0x0]===_0x454138([0x2a])?_0x454138([0x2a]):'')[_0x454138([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3341cb))[_0x454138([0x73,0x6f,0x6d,0x65])](_0x3ac0c2=>_0x19cedc[_0x454138([0x65,0x76,0x65,0x72,0x79])]((_0x5a0d1a,_0x2782d1)=>_0x3ac0c2[_0x2782d1]===_0x5a0d1a||_0x3ac0c2[_0x2782d1]===_0x454138([0x2a])));}function _0x54b321(){return _0x30733e&&_0x18b88e?new window[(_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c0739,_0x4a8a89)=>{_0x30733e[_0x454138([0x74,0x68,0x65,0x6e])](_0x1c0739,_0x4a8a89),_0x18b88e[_0x454138([0x74,0x68,0x65,0x6e])](_0x1fb1a=>{_0x1fb1a!=_0x454138([0x56,0x61,0x6c,0x69,0x64])&&_0x1c0739(_0x1fb1a);},_0x4a8a89);}):_0x30733e||_0x18b88e||_0x454138([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c89e9(_0x32a616,_0x4179f9){return new window[(_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f50e2=>{if(_0x36f73c())return _0x3f50e2(_0x454138([0x56,0x61,0x6c,0x69,0x64]));_0x24c0c6(),_0xf4ebc6[_0x454138([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x454138([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f59cb=!0x1;const _0x52e795=_0x49a73c();function _0x166f51(_0x35e254){return!!_0x35e254&&(typeof _0x35e254===_0x454138([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35e254===_0x454138([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35e254[_0x454138([0x74,0x68,0x65,0x6e])]===_0x454138([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35e254[_0x454138([0x63,0x61,0x74,0x63,0x68])]===_0x454138([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2dd74f(_0x3f7725){_0x2d1fb6(_0x3f7725)[_0x454138([0x74,0x68,0x65,0x6e])](_0x1930d7=>{if(!_0x1930d7||_0x1930d7[_0x454138([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x454138([0x6f,0x6b]))return _0x454138([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ef9d0(_0x37a78e(_0x52e795+_0x4179f9))!=_0x1930d7[_0x454138([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x454138([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x454138([0x56,0x61,0x6c,0x69,0x64]);})[_0x454138([0x74,0x68,0x65,0x6e])](_0x1da398=>(_0x5255c9(),_0x1da398),()=>{const _0x2258fd=_0x349bc0();return null==_0x2258fd?(_0x5255c9(),_0x454138([0x56,0x61,0x6c,0x69,0x64])):_0x454138(_0x776cc2-_0x2258fd>(0x7753083a^_0x102267)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x454138([0x74,0x68,0x65,0x6e])](_0x3f50e2)[_0x454138([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f50e2(_0x454138([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3198fd=0x536962ba^_0x102267;function _0x5255c9(){const _0x2c2f61=_0x454138([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ef9d0(_0x37a78e(_0x32a616)),_0x44368d=_0x208dfc(_0x4ef9d0(window[_0x454138([0x4d,0x61,0x74,0x68])][_0x454138([0x63,0x65,0x69,0x6c])](_0x776cc2/_0x3198fd)));window[_0x454138([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x454138([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c2f61,_0x44368d);}function _0x349bc0(){const _0x178855=_0x454138([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ef9d0(_0x37a78e(_0x32a616)),_0x12a525=window[_0x454138([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x454138([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x178855);return _0x12a525?window[_0x454138([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x208dfc(_0x12a525),0x10)*_0x3198fd:null;}function _0x2d1fb6(_0x42397e){return new window[(_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x447291,_0x1e7964)=>{_0x42397e[_0x454138([0x74,0x68,0x65,0x6e])](_0x447291,_0x1e7964),window[_0x454138([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e7964,0x535e58fa^_0x102267);});}}_0xf4ebc6[_0x454138([0x6f,0x6e])](_0x454138([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x889b58,_0x2ace0f)=>{if(_0x2ace0f[0x0]!=_0x32a616)return _0x3f50e2(_0x454138([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ace0f[0x1]={..._0x2ace0f[0x1],[_0x454138([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52e795};},{[_0x454138([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x454138([0x68,0x69,0x67,0x68])}),_0xf4ebc6[_0x454138([0x6f,0x6e])](_0x454138([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x92fe89=>{_0x166f51(_0x92fe89[_0x454138([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f59cb=!0x0,_0x2dd74f(_0x92fe89[_0x454138([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x454138([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x454138([0x6c,0x6f,0x77])}),_0x27cbc8[_0x454138([0x74,0x68,0x65,0x6e])](()=>{_0x4f59cb||_0x3f50e2(_0x454138([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36f73c(){return _0xf4ebc6[_0x454138([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x454138([0x76,0x69,0x65,0x77])][_0x454138([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x454138([0x61,0x75,0x74,0x6f]);}function _0x24c0c6(){_0xf4ebc6[_0x454138([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x454138([0x76,0x69,0x65,0x77])][_0x454138([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x454138([0x61,0x75,0x74,0x6f]);}}function _0x270af4(_0xadaee5){const _0x47230d=[new window[(_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x301a1c=>setTimeout(_0x301a1c,0x5356b2f6^_0x102267)),_0x27cbc8[_0x454138([0x74,0x68,0x65,0x6e])](()=>new window[(_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd61b6f=>{let _0x34588d=0x0;_0xf4ebc6[_0x454138([0x6d,0x6f,0x64,0x65,0x6c])][_0x454138([0x6f,0x6e])](_0x454138([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa21338,_0x30d566)=>{_0x30d566[0x0][_0x454138([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34588d++,_0x34588d==(0x535f8dc2^_0x102267)&&(_0xd61b6f(),_0xa21338[_0x454138([0x6f,0x66,0x66])]());});}))];return window[_0x454138([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x454138([0x72,0x61,0x63,0x65])](_0x47230d)[_0x454138([0x74,0x68,0x65,0x6e])](()=>_0xadaee5);}async function _0x2ac6c6(){await _0x27cbc8,_0xf4ebc6[_0x454138([0x6d,0x6f,0x64,0x65,0x6c])][_0x454138([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6ae600,_0xf4ebc6[_0x454138([0x6d,0x6f,0x64,0x65,0x6c])][_0x454138([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6ae600,_0xf4ebc6[_0x454138([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x454138([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1dfef8(_0x4b1559){const _0x2328b7=_0x3653d3();_0xf4ebc6[_0x2328b7]=_0x454138([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b1559,_0x4b1559!=_0x454138([0x56,0x61,0x6c,0x69,0x64])&&_0x2ac6c6();}function _0x3653d3(){const _0x4095d6=window[_0x454138([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x454138([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x454138([0x6e,0x6f,0x77])]())[_0x454138([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x454138([0x2e]),'');let _0x24ca38=_0x454138([0x68]);for(let _0x50ae78=0x0;_0x50ae78<_0x4095d6[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50ae78+=0x2){let _0x14c7c3=window[_0x454138([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4095d6[_0x454138([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50ae78,_0x50ae78+0x2));_0x14c7c3>=_0x2bca53[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14c7c3-=_0x2bca53[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24ca38+=_0x2bca53[_0x14c7c3];}return _0x24ca38;}function _0x4153a0(){const _0x13e631=_0x1eecea[_0x454138([0x73,0x70,0x6c,0x69,0x74])](_0x454138([0x2e]));if(0x3!=_0x13e631[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5686a6(_0x13e631[0x1]);function _0x5686a6(_0x3c6003){const _0x300439=_0x317b1f(_0x3c6003);return _0x300439&&_0x398d1e()?_0x300439:null;function _0x398d1e(){const _0x192b02=_0x300439[_0x454138([0x6a,0x74,0x69])],_0x8f35e7=window[_0x454138([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x192b02[_0x454138([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x192b02[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e84ba={..._0x300439,[_0x454138([0x6a,0x74,0x69])]:_0x192b02[_0x454138([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x192b02[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e84ba[_0x454138([0x76,0x63])],_0x37a78e(_0x2e84ba)==_0x8f35e7;}}}async function _0x454cf6(){let _0x4b5145=!0x0;try{const _0x40ab71=_0x1eecea[_0x454138([0x73,0x70,0x6c,0x69,0x74])](_0x454138([0x2e])),[_0x1b479e,_0x2306db,_0x1be059]=_0x40ab71;return _0x767fc4(_0x1b479e),await _0x2958c5(_0x1b479e,_0x2306db,_0x1be059),_0x4b5145;}catch{return!0x1;}function _0x767fc4(_0x176506){const _0x2ef25c=_0x317b1f(_0x176506);_0x2ef25c&&_0x2ef25c[_0x454138([0x61,0x6c,0x67])]==_0x454138([0x45,0x53,0x32,0x35,0x36])||(_0x4b5145=!0x1);}async function _0x2958c5(_0x18b048,_0x2a5cb9,_0x4b54d4){const _0x30d388=window[_0x454138([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x454138([0x66,0x72,0x6f,0x6d])](_0x2bc0be(_0x4b54d4),_0x489777=>_0x489777[_0x454138([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x343b00=new window[(_0x454138([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x454138([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18b048+_0x454138([0x2e])+_0x2a5cb9),_0x128dcb=window[_0x454138([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x454138([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x128dcb)return;const _0xacae55=await _0x128dcb[_0x454138([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x454138([0x6a,0x77,0x6b]),_0x4b0e98,{[_0x454138([0x6e,0x61,0x6d,0x65])]:_0x454138([0x45,0x43,0x44,0x53,0x41]),[_0x454138([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x454138([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x454138([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x128dcb[_0x454138([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x454138([0x6e,0x61,0x6d,0x65])]:_0x454138([0x45,0x43,0x44,0x53,0x41]),[_0x454138([0x68,0x61,0x73,0x68])]:{[_0x454138([0x6e,0x61,0x6d,0x65])]:_0x454138([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xacae55,_0x30d388,_0x343b00)||(_0x4b5145=!0x1);}}function _0x317b1f(_0x2e78a1){return _0x2e78a1[_0x454138([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x454138([0x65,0x79]))?JSON[_0x454138([0x70,0x61,0x72,0x73,0x65])](_0x2bc0be(_0x2e78a1)):null;}function _0x2bc0be(_0x1e6801){return window[_0x454138([0x61,0x74,0x6f,0x62])](_0x1e6801[_0x454138([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x454138([0x2b]))[_0x454138([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x454138([0x2f])));}function _0x37a78e(_0x3d199e){let _0x4b15ed=0x1505;function _0x17d781(_0x4cf07b){for(let _0x48a3d3=0x0;_0x48a3d3<_0x4cf07b[_0x454138([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48a3d3++){const _0x260ba9=_0x4cf07b[_0x454138([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48a3d3);_0x4b15ed=(_0x4b15ed<<0x5)+_0x4b15ed+_0x260ba9,_0x4b15ed&=_0x4b15ed;}}function _0x5677c0(_0x412be3){Array[_0x454138([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x412be3)?_0x412be3[_0x454138([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5677c0):_0x412be3&&typeof _0x412be3==_0x454138([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x454138([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x412be3)[_0x454138([0x73,0x6f,0x72,0x74])]()[_0x454138([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bb945,_0x56ba4c])=>{_0x17d781(_0x5bb945),_0x5677c0(_0x56ba4c);}):_0x17d781(window[_0x454138([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x412be3));}return _0x5677c0(_0x3d199e),_0x4b15ed>>>0x0;}function _0x4ef9d0(_0x2789f8){return _0x2789f8[_0x454138([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x454138([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x454138([0x30]));}function _0x208dfc(_0x63a78c){return _0x63a78c[_0x454138([0x73,0x70,0x6c,0x69,0x74])]('')[_0x454138([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x454138([0x6a,0x6f,0x69,0x6e])]('');}function _0x6ae600(){}function _0x454138(_0x2a46b){const _0xe040ac=_0x38c5;return _0x2a46b[_0xe040ac(0xa1)](_0x25dbda=>String[_0xe040ac(0xb8)](_0x25dbda))[_0xe040ac(0x86)]('');}_0x1dfef8(await _0x2c2bd8());}(this);}[_0x265e99(0xaa)](){const _0x6b4e40=_0x265e99,_0x5e50d4=this[_0x6b4e40(0x89)][_0x6b4e40(0xbd)][_0x6b4e40(0x7e)];_0x5e50d4[_0x6b4e40(0x81)](_0x6b4e40(0xcd))&&_0x5e50d4[_0x6b4e40(0xd0)](_0x6b4e40(0xcd),{'allowAttributes':[_0x6b4e40(0x8c)]}),_0x5e50d4[_0x6b4e40(0x81)](_0x6b4e40(0xb7))&&_0x5e50d4[_0x6b4e40(0xd0)](_0x6b4e40(0xb7),{'allowAttributes':[_0x6b4e40(0x8c)]});}[_0x265e99(0x91)](){const _0x20c418=_0x265e99,_0x188fc9=this[_0x20c418(0x89)];_0x188fc9[_0x20c418(0x8e)][_0x20c418(0xb0)](_0x20c418(0x94))[_0x20c418(0x82)]({'model':_0x20c418(0x8c),'view':_0x20c418(0xb9)}),_0x188fc9[_0x20c418(0x8e)][_0x20c418(0xb0)](_0x20c418(0xc6))[_0x20c418(0xaf)]({'model':{'key':_0x20c418(0x8c),'value':_0x545784=>_0x545784[_0x20c418(0xbb)](_0x20c418(0xb9))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x230afc=_0x188fc9[_0x20c418(0x96)][_0x20c418(0xb5)](_0x20c418(0xc9));_0x230afc&&this[_0x20c418(0xc8)](_0x230afc,_0x20c418(0xb3),(_0x3a9d55,[_0x157a15,_0x463d9c])=>{const _0x4488c8=_0x20c418;_0x157a15[_0x4488c8(0x95)](_0x4488c8(0x8c),_0x463d9c);});}[_0x265e99(0xa7)](){const _0x33b903=_0x265e99,_0x2a8569=this[_0x33b903(0x89)][_0x33b903(0xad)][_0x33b903(0xb5)](_0x33b903(0xa3))||{},_0xc6c070=this[_0x33b903(0x89)][_0x33b903(0xad)][_0x33b903(0xb5)](_0x33b903(0x8f))||'';this[_0x33b903(0xbf)]=_0x92f997(_0x36ba5d[_0x33b903(0x88)],_0x33b903(0xc3),{..._0x2a8569,'pubkey':_0xc6c070,'ctx-name':_0x33b903(0xcb)+this[_0x33b903(0x80)],'sourceList':'','imgOnly':_0x33b903(0xc7),'removeCopyright':_0x33b903(0xc7),'localeName':this[_0x33b903(0x89)][_0x33b903(0xca)][_0x33b903(0xa2)],'externalSourcesEmbedCss':_0x33b903(0x83)}),this[_0x33b903(0xbf)][_0x33b903(0x98)]=_0x1b84eb=>{const _0x7040f7=_0x33b903;if(_0x7040f7(0xb6)==_0x1b84eb)return _0x7040f7(0x93);},_0x36ba5d[_0x33b903(0x88)][_0x33b903(0xa4)][_0x33b903(0xcc)](this[_0x33b903(0xbf)]);}[_0x265e99(0x9d)](){const _0x353eed=_0x265e99;this[_0x353eed(0xb4)]=_0x92f997(_0x36ba5d[_0x353eed(0x88)],_0x353eed(0x7f),{'ctx-name':_0x353eed(0xcb)+this[_0x353eed(0x80)]}),_0x36ba5d[_0x353eed(0x88)][_0x353eed(0xa4)][_0x353eed(0xcc)](this[_0x353eed(0xb4)]);}[_0x265e99(0xcf)](){const _0xdab4cd=_0x265e99,_0x2ed0d3=this[_0xdab4cd(0x89)][_0xdab4cd(0x96)][_0xdab4cd(0xb5)](_0xdab4cd(0xac));_0x2ed0d3&&this[_0xdab4cd(0xc8)](_0x2ed0d3,_0xdab4cd(0xce),()=>{const _0x58a5ed=_0xdab4cd,_0x3d3f71=this[_0x58a5ed(0x89)][_0x58a5ed(0xbd)][_0x58a5ed(0x88)][_0x58a5ed(0xa8)][_0x58a5ed(0xb1)]();_0x3d3f71&&_0x3d3f71[_0x58a5ed(0xbb)](_0x58a5ed(0x8c))&&this[_0x58a5ed(0x89)][_0x58a5ed(0x99)][_0x58a5ed(0x9a)][_0x58a5ed(0x9e)](_0x58a5ed(0x90),()=>{const _0x56bf67=_0x58a5ed;_0x1edd8c(this[_0x56bf67(0x89)],_0x3d3f71);});});const _0x15e5fa=this[_0xdab4cd(0x89)][_0xdab4cd(0x96)][_0xdab4cd(0xb5)](_0xdab4cd(0xc0));_0x15e5fa&&this[_0xdab4cd(0xc8)](_0x15e5fa,_0xdab4cd(0xce),()=>{const _0x3e0155=_0xdab4cd,_0x52ef78=this[_0x3e0155(0x89)][_0x3e0155(0xbd)][_0x3e0155(0x88)][_0x3e0155(0xa8)][_0x3e0155(0xb1)]();_0x52ef78&&_0x52ef78[_0x3e0155(0xbb)](_0x3e0155(0x8c))&&this[_0x3e0155(0x89)][_0x3e0155(0x99)][_0x3e0155(0x9a)][_0x3e0155(0x9e)](_0x3e0155(0x90),()=>{const _0x45dad4=_0x3e0155;_0x1edd8c(this[_0x45dad4(0x89)],_0x52ef78);});});}}
23
+ const _0x20da43=_0x38c9;(function(_0x4decc5,_0x25ec2a){const _0x1c55f2=_0x38c9,_0x58db3d=_0x4decc5();while(!![]){try{const _0x1fd4e0=parseInt(_0x1c55f2(0x192))/0x1*(parseInt(_0x1c55f2(0x185))/0x2)+-parseInt(_0x1c55f2(0x188))/0x3+-parseInt(_0x1c55f2(0x1ad))/0x4*(-parseInt(_0x1c55f2(0x1a5))/0x5)+-parseInt(_0x1c55f2(0x199))/0x6*(parseInt(_0x1c55f2(0x1ac))/0x7)+parseInt(_0x1c55f2(0x18f))/0x8*(-parseInt(_0x1c55f2(0x19e))/0x9)+parseInt(_0x1c55f2(0x1a8))/0xa*(-parseInt(_0x1c55f2(0x196))/0xb)+parseInt(_0x1c55f2(0x1a1))/0xc;if(_0x1fd4e0===_0x25ec2a)break;else _0x58db3d['push'](_0x58db3d['shift']());}catch(_0x4ef173){_0x58db3d['push'](_0x58db3d['shift']());}}}(_0xe902,0x79234));import{Plugin as _0x450a6c}from'ckeditor5/src/core.js';import{Dialog as _0x2be8a2}from'ckeditor5/src/ui.js';import{createElement as _0x2d5351,global as _0x29b05f,uid as _0x568d2c}from'ckeditor5/src/utils.js';function _0xe902(){const _0x1df6ae=['uploadcare.uploader','imageInline','32445bMIEGg','4xkSZpt','href','imageBlock','extend','fromCharCode','add','schema','PictureEditing','contentLanguage','removeAttribute','uc-upload-ctx-provider','_ctxElement','getSelectedElement','editor','afterInit','body','uploadcare','destroy','querySelector','requires','view','_initImageProcessingIndicator','remove','downcast','locale','_initConfig','isPremiumPlugin','#uc-icon-arrow-down','map','attributeToAttribute','isOfficialPlugin','model','data-uc-image-id','get','config','upcast','uc-config','input[uploadcare-file-input]','for','join','uploadcareImageId','appendChild','_configElement','conversion','configElement','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploader-','6jYoIlj','isRegistered','document','190047LODKsY','ucContextId','iconHrefResolver','_initCtx','UploadcareEditing','_initConversion','pluginName','944litvly','editing','true','148157mbetcP','insertImage','once','replaceImageSource','261734qlnWkr','init','render','276PVarAq','selection','elementToAttribute','commands','ctxElement','13815FObzxP','uploadcare.pubkey','uploadcareImageReplace','14978784lWzukf','_initSchema','listenTo','cleanupImage','469780wshjlx','closeMax','getAttribute','350eqrTJX','execute'];_0xe902=function(){return _0x1df6ae;};return _0xe902();}function _0x38c9(_0x2a5c77,_0x273266){const _0xe902ed=_0xe902();return _0x38c9=function(_0x38c9cf,_0x48d017){_0x38c9cf=_0x38c9cf-0x166;let _0x493edf=_0xe902ed[_0x38c9cf];return _0x493edf;},_0x38c9(_0x2a5c77,_0x273266);}import{UploadcareCommand as _0x552631}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x29ef2b}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2e9814}from'./utils/editingutils.js';export class UploadcareEditing extends _0x450a6c{[_0x20da43(0x180)]=null;[_0x20da43(0x1b8)]=null;static get[_0x20da43(0x18e)](){const _0x17191b=_0x20da43;return _0x17191b(0x18c);}static get[_0x20da43(0x169)](){const _0x2f5c0f=_0x20da43;return[_0x2f5c0f(0x1b4),_0x29ef2b,_0x2be8a2];}static get[_0x20da43(0x174)](){return!0x0;}static get[_0x20da43(0x170)](){return!0x0;}[_0x20da43(0x189)];get[_0x20da43(0x182)](){const _0x3678a8=_0x20da43;return this[_0x3678a8(0x180)];}get[_0x20da43(0x19d)](){const _0x386c95=_0x20da43;return this[_0x386c95(0x1b8)];}constructor(_0x3cce56){const _0x3c74e6=_0x20da43;super(_0x3cce56),this[_0x3c74e6(0x189)]=_0x568d2c();}[_0x20da43(0x197)](){const _0x3f087d=_0x20da43,_0x3382cc=this[_0x3f087d(0x1ba)];_0x3382cc[_0x3f087d(0x19c)][_0x3f087d(0x1b2)](_0x3f087d(0x166),new _0x552631(_0x3382cc));}[_0x20da43(0x1bb)](){const _0x39f4a0=_0x20da43;this[_0x39f4a0(0x1a2)](),this[_0x39f4a0(0x18d)](),this[_0x39f4a0(0x16f)](),this[_0x39f4a0(0x18b)](),this[_0x39f4a0(0x16b)](),this[_0x39f4a0(0x1a3)](this[_0x39f4a0(0x1ba)],_0x39f4a0(0x167),()=>{const _0x128caa=_0x39f4a0;this[_0x128caa(0x180)]&&(this[_0x128caa(0x180)][_0x128caa(0x16c)](),this[_0x128caa(0x180)]=null),this[_0x128caa(0x1b8)]&&(this[_0x128caa(0x1b8)][_0x128caa(0x16c)](),this[_0x128caa(0x1b8)]=null);const _0x2d270c=_0x29b05f[_0x128caa(0x187)][_0x128caa(0x168)](_0x128caa(0x17b));_0x2d270c&&_0x2d270c[_0x128caa(0x16c)]();}),async function(_0x24ab7e){const _0x42d282=_0x496e16([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]),_0x548950=0x535f8c3a,_0x39e10b=0x5358f41a^_0x548950,_0x1875e8=window[_0x496e16([0x44,0x61,0x74,0x65])][_0x496e16([0x6e,0x6f,0x77])](),_0x5aaa3e=_0x24ab7e[_0x496e16([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1aa441=new window[(_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x658dff=>{_0x5aaa3e[_0x496e16([0x6f,0x6e,0x63,0x65])](_0x496e16([0x72,0x65,0x61,0x64,0x79]),_0x658dff);}),_0x3a7de8={[_0x496e16([0x6b,0x74,0x79])]:_0x496e16([0x45,0x43]),[_0x496e16([0x75,0x73,0x65])]:_0x496e16([0x73,0x69,0x67]),[_0x496e16([0x63,0x72,0x76])]:_0x496e16([0x50,0x2d,0x32,0x35,0x36]),[_0x496e16([0x78])]:_0x496e16([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]),[_0x496e16([0x79])]:_0x496e16([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]),[_0x496e16([0x61,0x6c,0x67])]:_0x496e16([0x45,0x53,0x32,0x35,0x36])},_0x2bde3b=_0x5aaa3e[_0x496e16([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x496e16([0x67,0x65,0x74])](_0x496e16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e0fc5(){let _0x3b6fed,_0x3f771d=null,_0x4026dd=null;try{if(_0x2bde3b==_0x496e16([0x47,0x50,0x4c]))return _0x496e16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b6fed=_0xd03332(),!_0x3b6fed)return _0x496e16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b6fed[_0x496e16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4026dd=_0x15f325(_0x3b6fed[_0x496e16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b6fed[_0x496e16([0x6a,0x74,0x69])])),await _0xdb9f9b()?_0x28204a()?_0x4576b4()?_0x496e16([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x582727()?(_0x3b6fed[_0x496e16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x496e16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f771d=_0x17cd40(_0x496e16([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b6fed[_0x496e16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x496e16([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f771d=_0x17cd40(_0x496e16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x515eea()):_0x496e16([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x496e16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x496e16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x496e16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4576b4(){const _0xb43784=[_0x496e16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x496e16([0x74,0x72,0x69,0x61,0x6c])][_0x496e16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b6fed[_0x496e16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1875e8/0x3e8:0xe10*_0x39e10b;return _0x3b6fed[_0x496e16([0x65,0x78,0x70])]<_0xb43784;}function _0x28204a(){const _0x81af99=_0x3b6fed[_0x496e16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x81af99&&(!!_0x81af99[_0x496e16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496e16([0x2a]))||!!_0x81af99[_0x496e16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496e16([0x55,0x50,0x4c,0x43])));}function _0x582727(){const _0x2fd260=_0x38c9,_0x84978e=_0x3b6fed[_0x496e16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x84978e||0x0==_0x84978e[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x588e40}=new URL(window[_0x496e16([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2fd260(0x1ae)]);if(_0x84978e[_0x496e16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588e40))return!0x0;const _0x319fa2=_0x588e40[_0x496e16([0x73,0x70,0x6c,0x69,0x74])](_0x496e16([0x2e]));return _0x84978e[_0x496e16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x73870d=>_0x73870d[_0x496e16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496e16([0x2a])))[_0x496e16([0x6d,0x61,0x70])](_0x1d5389=>_0x1d5389[_0x496e16([0x73,0x70,0x6c,0x69,0x74])](_0x496e16([0x2e])))[_0x496e16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59eb19=>_0x59eb19[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x319fa2[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x496e16([0x6d,0x61,0x70])](_0x105ee7=>Array(_0x319fa2[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x105ee7[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x496e16([0x66,0x69,0x6c,0x6c])](_0x105ee7[0x0]===_0x496e16([0x2a])?_0x496e16([0x2a]):'')[_0x496e16([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x105ee7))[_0x496e16([0x73,0x6f,0x6d,0x65])](_0x5021b1=>_0x319fa2[_0x496e16([0x65,0x76,0x65,0x72,0x79])]((_0x382b14,_0x4a3eb5)=>_0x5021b1[_0x4a3eb5]===_0x382b14||_0x5021b1[_0x4a3eb5]===_0x496e16([0x2a])));}function _0x515eea(){return _0x3f771d&&_0x4026dd?new window[(_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b5ab6,_0x5e9cf4)=>{_0x3f771d[_0x496e16([0x74,0x68,0x65,0x6e])](_0x2b5ab6,_0x5e9cf4),_0x4026dd[_0x496e16([0x74,0x68,0x65,0x6e])](_0x1bf8e8=>{_0x1bf8e8!=_0x496e16([0x56,0x61,0x6c,0x69,0x64])&&_0x2b5ab6(_0x1bf8e8);},_0x5e9cf4);}):_0x3f771d||_0x4026dd||_0x496e16([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15f325(_0x5c0bff,_0x1fe7ee){return new window[(_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f05f4=>{if(_0x1e2537())return _0x5f05f4(_0x496e16([0x56,0x61,0x6c,0x69,0x64]));_0x4c6b2f(),_0x5aaa3e[_0x496e16([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x496e16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x293067=!0x1;const _0x1fece8=_0x568d2c();function _0xd51e11(_0x3068c2){return!!_0x3068c2&&(typeof _0x3068c2===_0x496e16([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3068c2===_0x496e16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3068c2[_0x496e16([0x74,0x68,0x65,0x6e])]===_0x496e16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3068c2[_0x496e16([0x63,0x61,0x74,0x63,0x68])]===_0x496e16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ac4dc(_0x454009){_0x48e2fb(_0x454009)[_0x496e16([0x74,0x68,0x65,0x6e])](_0x7fa58=>{if(!_0x7fa58||_0x7fa58[_0x496e16([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x496e16([0x6f,0x6b]))return _0x496e16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b1385(_0x4c019a(_0x1fece8+_0x1fe7ee))!=_0x7fa58[_0x496e16([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x496e16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x496e16([0x56,0x61,0x6c,0x69,0x64]);})[_0x496e16([0x74,0x68,0x65,0x6e])](_0x5b2397=>(_0x5b5cdf(),_0x5b2397),()=>{const _0x5bc093=_0x13a41a();return null==_0x5bc093?(_0x5b5cdf(),_0x496e16([0x56,0x61,0x6c,0x69,0x64])):_0x496e16(_0x1875e8-_0x5bc093>(0x7753083a^_0x548950)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x496e16([0x74,0x68,0x65,0x6e])](_0x5f05f4)[_0x496e16([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5f05f4(_0x496e16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x38e520=0x536962ba^_0x548950;function _0x5b5cdf(){const _0x1486ad=_0x496e16([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b1385(_0x4c019a(_0x5c0bff)),_0x36b7aa=_0x39143b(_0x2b1385(window[_0x496e16([0x4d,0x61,0x74,0x68])][_0x496e16([0x63,0x65,0x69,0x6c])](_0x1875e8/_0x38e520)));window[_0x496e16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x496e16([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1486ad,_0x36b7aa);}function _0x13a41a(){const _0xdbb6c0=_0x496e16([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b1385(_0x4c019a(_0x5c0bff)),_0x33ea78=window[_0x496e16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x496e16([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdbb6c0);return _0x33ea78?window[_0x496e16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39143b(_0x33ea78),0x10)*_0x38e520:null;}function _0x48e2fb(_0x148ef0){return new window[(_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x440899,_0x5e43fb)=>{_0x148ef0[_0x496e16([0x74,0x68,0x65,0x6e])](_0x440899,_0x5e43fb),window[_0x496e16([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e43fb,0x535e58fa^_0x548950);});}}_0x5aaa3e[_0x496e16([0x6f,0x6e])](_0x496e16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb0972d,_0x14838a)=>{if(_0x14838a[0x0]!=_0x5c0bff)return _0x5f05f4(_0x496e16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14838a[0x1]={..._0x14838a[0x1],[_0x496e16([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fece8};},{[_0x496e16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x496e16([0x68,0x69,0x67,0x68])}),_0x5aaa3e[_0x496e16([0x6f,0x6e])](_0x496e16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c32b3=>{_0xd51e11(_0x3c32b3[_0x496e16([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x293067=!0x0,_0x4ac4dc(_0x3c32b3[_0x496e16([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x496e16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x496e16([0x6c,0x6f,0x77])}),_0x1aa441[_0x496e16([0x74,0x68,0x65,0x6e])](()=>{_0x293067||_0x5f05f4(_0x496e16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e2537(){return _0x5aaa3e[_0x496e16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x496e16([0x76,0x69,0x65,0x77])][_0x496e16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x496e16([0x61,0x75,0x74,0x6f]);}function _0x4c6b2f(){_0x5aaa3e[_0x496e16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x496e16([0x76,0x69,0x65,0x77])][_0x496e16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x496e16([0x61,0x75,0x74,0x6f]);}}function _0x17cd40(_0x30c702){const _0x445085=[new window[(_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7bf859=>setTimeout(_0x7bf859,0x5356b2f6^_0x548950)),_0x1aa441[_0x496e16([0x74,0x68,0x65,0x6e])](()=>new window[(_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434562=>{let _0x39c363=0x0;_0x5aaa3e[_0x496e16([0x6d,0x6f,0x64,0x65,0x6c])][_0x496e16([0x6f,0x6e])](_0x496e16([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d009f,_0x49e0c5)=>{_0x49e0c5[0x0][_0x496e16([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39c363++,_0x39c363==(0x535f8dc2^_0x548950)&&(_0x434562(),_0x4d009f[_0x496e16([0x6f,0x66,0x66])]());});}))];return window[_0x496e16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x496e16([0x72,0x61,0x63,0x65])](_0x445085)[_0x496e16([0x74,0x68,0x65,0x6e])](()=>_0x30c702);}async function _0x210081(){await _0x1aa441,_0x5aaa3e[_0x496e16([0x6d,0x6f,0x64,0x65,0x6c])][_0x496e16([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43e925,_0x5aaa3e[_0x496e16([0x6d,0x6f,0x64,0x65,0x6c])][_0x496e16([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43e925,_0x5aaa3e[_0x496e16([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x496e16([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e6c69(_0x1e869c){const _0x5b7538=_0x59948d();_0x5aaa3e[_0x5b7538]=_0x496e16([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e869c,_0x1e869c!=_0x496e16([0x56,0x61,0x6c,0x69,0x64])&&_0x210081();}function _0x59948d(){const _0x58f593=window[_0x496e16([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x496e16([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x496e16([0x6e,0x6f,0x77])]())[_0x496e16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x496e16([0x2e]),'');let _0x122f8c=_0x496e16([0x68]);for(let _0x4a3adb=0x0;_0x4a3adb<_0x58f593[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a3adb+=0x2){let _0x20f711=window[_0x496e16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58f593[_0x496e16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3adb,_0x4a3adb+0x2));_0x20f711>=_0x42d282[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20f711-=_0x42d282[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x122f8c+=_0x42d282[_0x20f711];}return _0x122f8c;}function _0xd03332(){const _0xc11282=_0x2bde3b[_0x496e16([0x73,0x70,0x6c,0x69,0x74])](_0x496e16([0x2e]));if(0x3!=_0xc11282[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x470e2b(_0xc11282[0x1]);function _0x470e2b(_0x1df6e1){const _0x241fbb=_0x5eb602(_0x1df6e1);return _0x241fbb&&_0x4c4311()?_0x241fbb:null;function _0x4c4311(){const _0x5e882b=_0x241fbb[_0x496e16([0x6a,0x74,0x69])],_0x1b9d73=window[_0x496e16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e882b[_0x496e16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e882b[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9074cb={..._0x241fbb,[_0x496e16([0x6a,0x74,0x69])]:_0x5e882b[_0x496e16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e882b[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9074cb[_0x496e16([0x76,0x63])],_0x4c019a(_0x9074cb)==_0x1b9d73;}}}async function _0xdb9f9b(){let _0xe1c9a0=!0x0;try{const _0x29b6c5=_0x2bde3b[_0x496e16([0x73,0x70,0x6c,0x69,0x74])](_0x496e16([0x2e])),[_0x3157d1,_0x157115,_0x144b74]=_0x29b6c5;return _0xc560c5(_0x3157d1),await _0x49f5ee(_0x3157d1,_0x157115,_0x144b74),_0xe1c9a0;}catch{return!0x1;}function _0xc560c5(_0x31eed0){const _0x5f3a1f=_0x5eb602(_0x31eed0);_0x5f3a1f&&_0x5f3a1f[_0x496e16([0x61,0x6c,0x67])]==_0x496e16([0x45,0x53,0x32,0x35,0x36])||(_0xe1c9a0=!0x1);}async function _0x49f5ee(_0x1ad701,_0x2c41f0,_0x39341b){const _0x52d832=window[_0x496e16([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x496e16([0x66,0x72,0x6f,0x6d])](_0x56bd99(_0x39341b),_0x11b5d5=>_0x11b5d5[_0x496e16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x165a82=new window[(_0x496e16([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x496e16([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ad701+_0x496e16([0x2e])+_0x2c41f0),_0x2fbf94=window[_0x496e16([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x496e16([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2fbf94)return;const _0x16b87d=await _0x2fbf94[_0x496e16([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x496e16([0x6a,0x77,0x6b]),_0x3a7de8,{[_0x496e16([0x6e,0x61,0x6d,0x65])]:_0x496e16([0x45,0x43,0x44,0x53,0x41]),[_0x496e16([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x496e16([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x496e16([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2fbf94[_0x496e16([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x496e16([0x6e,0x61,0x6d,0x65])]:_0x496e16([0x45,0x43,0x44,0x53,0x41]),[_0x496e16([0x68,0x61,0x73,0x68])]:{[_0x496e16([0x6e,0x61,0x6d,0x65])]:_0x496e16([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16b87d,_0x52d832,_0x165a82)||(_0xe1c9a0=!0x1);}}function _0x5eb602(_0x517cbb){return _0x517cbb[_0x496e16([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x496e16([0x65,0x79]))?JSON[_0x496e16([0x70,0x61,0x72,0x73,0x65])](_0x56bd99(_0x517cbb)):null;}function _0x56bd99(_0x3203af){return window[_0x496e16([0x61,0x74,0x6f,0x62])](_0x3203af[_0x496e16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x496e16([0x2b]))[_0x496e16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x496e16([0x2f])));}function _0x4c019a(_0x4bc13f){let _0x2c2b29=0x1505;function _0x3454d3(_0x1214b6){for(let _0x4befdc=0x0;_0x4befdc<_0x1214b6[_0x496e16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4befdc++){const _0x5c2544=_0x1214b6[_0x496e16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4befdc);_0x2c2b29=(_0x2c2b29<<0x5)+_0x2c2b29+_0x5c2544,_0x2c2b29&=_0x2c2b29;}}function _0x7d4249(_0x7cb271){Array[_0x496e16([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7cb271)?_0x7cb271[_0x496e16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7d4249):_0x7cb271&&typeof _0x7cb271==_0x496e16([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x496e16([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7cb271)[_0x496e16([0x73,0x6f,0x72,0x74])]()[_0x496e16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b55c7,_0x1df5f9])=>{_0x3454d3(_0x2b55c7),_0x7d4249(_0x1df5f9);}):_0x3454d3(window[_0x496e16([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7cb271));}return _0x7d4249(_0x4bc13f),_0x2c2b29>>>0x0;}function _0x2b1385(_0x355d44){return _0x355d44[_0x496e16([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x496e16([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x496e16([0x30]));}function _0x39143b(_0x365bf0){return _0x365bf0[_0x496e16([0x73,0x70,0x6c,0x69,0x74])]('')[_0x496e16([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x496e16([0x6a,0x6f,0x69,0x6e])]('');}function _0x43e925(){}function _0x496e16(_0x3af036){const _0x4abfa9=_0x38c9;return _0x3af036[_0x4abfa9(0x172)](_0x5b5300=>String[_0x4abfa9(0x1b1)](_0x5b5300))[_0x4abfa9(0x17d)]('');}_0x1e6c69(await _0x2e0fc5());}(this);}[_0x20da43(0x1a2)](){const _0xb4e3ce=_0x20da43,_0x48de91=this[_0xb4e3ce(0x1ba)][_0xb4e3ce(0x175)][_0xb4e3ce(0x1b3)];_0x48de91[_0xb4e3ce(0x186)](_0xb4e3ce(0x1af))&&_0x48de91[_0xb4e3ce(0x1b0)](_0xb4e3ce(0x1af),{'allowAttributes':[_0xb4e3ce(0x17e)]}),_0x48de91[_0xb4e3ce(0x186)](_0xb4e3ce(0x1ab))&&_0x48de91[_0xb4e3ce(0x1b0)](_0xb4e3ce(0x1ab),{'allowAttributes':[_0xb4e3ce(0x17e)]});}[_0x20da43(0x18d)](){const _0x17b1b1=_0x20da43,_0x3bc124=this[_0x17b1b1(0x1ba)];_0x3bc124[_0x17b1b1(0x181)][_0x17b1b1(0x17c)](_0x17b1b1(0x16d))[_0x17b1b1(0x173)]({'model':_0x17b1b1(0x17e),'view':_0x17b1b1(0x176)}),_0x3bc124[_0x17b1b1(0x181)][_0x17b1b1(0x17c)](_0x17b1b1(0x179))[_0x17b1b1(0x19b)]({'model':{'key':_0x17b1b1(0x17e),'value':_0x1bbb19=>_0x1bbb19[_0x17b1b1(0x1a7)](_0x17b1b1(0x176))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x384ec8=_0x3bc124[_0x17b1b1(0x19c)][_0x17b1b1(0x177)](_0x17b1b1(0x195));_0x384ec8&&this[_0x17b1b1(0x1a3)](_0x384ec8,_0x17b1b1(0x1a4),(_0x546114,[_0xa13671,_0x2eb1d5])=>{const _0x5958fe=_0x17b1b1;_0xa13671[_0x5958fe(0x1b6)](_0x5958fe(0x17e),_0x2eb1d5);});}[_0x20da43(0x16f)](){const _0x10b7a1=_0x20da43,_0xa655e0=this[_0x10b7a1(0x1ba)][_0x10b7a1(0x178)][_0x10b7a1(0x177)](_0x10b7a1(0x1aa))||{},_0x2aa9ad=this[_0x10b7a1(0x1ba)][_0x10b7a1(0x178)][_0x10b7a1(0x177)](_0x10b7a1(0x19f))||'';this[_0x10b7a1(0x180)]=_0x2d5351(_0x29b05f[_0x10b7a1(0x187)],_0x10b7a1(0x17a),{..._0xa655e0,'pubkey':_0x2aa9ad,'ctx-name':_0x10b7a1(0x184)+this[_0x10b7a1(0x189)],'sourceList':'','imgOnly':_0x10b7a1(0x191),'removeCopyright':_0x10b7a1(0x191),'localeName':this[_0x10b7a1(0x1ba)][_0x10b7a1(0x16e)][_0x10b7a1(0x1b5)],'externalSourcesEmbedCss':_0x10b7a1(0x183)}),this[_0x10b7a1(0x180)][_0x10b7a1(0x18a)]=_0x5d025d=>{const _0x248444=_0x10b7a1;if(_0x248444(0x1a6)==_0x5d025d)return _0x248444(0x171);},_0x29b05f[_0x10b7a1(0x187)][_0x10b7a1(0x1bc)][_0x10b7a1(0x17f)](this[_0x10b7a1(0x180)]);}[_0x20da43(0x18b)](){const _0xccd313=_0x20da43;this[_0xccd313(0x1b8)]=_0x2d5351(_0x29b05f[_0xccd313(0x187)],_0xccd313(0x1b7),{'ctx-name':_0xccd313(0x184)+this[_0xccd313(0x189)]}),_0x29b05f[_0xccd313(0x187)][_0xccd313(0x1bc)][_0xccd313(0x17f)](this[_0xccd313(0x1b8)]);}[_0x20da43(0x16b)](){const _0x20a864=_0x20da43,_0x2c5e0a=this[_0x20a864(0x1ba)][_0x20a864(0x19c)][_0x20a864(0x177)](_0x20a864(0x193));_0x2c5e0a&&this[_0x20a864(0x1a3)](_0x2c5e0a,_0x20a864(0x1a9),()=>{const _0x4a57be=_0x20a864,_0x5c769c=this[_0x4a57be(0x1ba)][_0x4a57be(0x175)][_0x4a57be(0x187)][_0x4a57be(0x19a)][_0x4a57be(0x1b9)]();_0x5c769c&&_0x5c769c[_0x4a57be(0x1a7)](_0x4a57be(0x17e))&&this[_0x4a57be(0x1ba)][_0x4a57be(0x190)][_0x4a57be(0x16a)][_0x4a57be(0x194)](_0x4a57be(0x198),()=>{const _0x3d24ba=_0x4a57be;_0x2e9814(this[_0x3d24ba(0x1ba)],_0x5c769c);});});const _0x4011a1=this[_0x20a864(0x1ba)][_0x20a864(0x19c)][_0x20a864(0x177)](_0x20a864(0x1a0));_0x4011a1&&this[_0x20a864(0x1a3)](_0x4011a1,_0x20a864(0x1a9),()=>{const _0x3b0712=_0x20a864,_0x34b2b7=this[_0x3b0712(0x1ba)][_0x3b0712(0x175)][_0x3b0712(0x187)][_0x3b0712(0x19a)][_0x3b0712(0x1b9)]();_0x34b2b7&&_0x34b2b7[_0x3b0712(0x1a7)](_0x3b0712(0x17e))&&this[_0x3b0712(0x1ba)][_0x3b0712(0x190)][_0x3b0712(0x16a)][_0x3b0712(0x194)](_0x3b0712(0x198),()=>{const _0x3ee0a4=_0x3b0712;_0x2e9814(this[_0x3ee0a4(0x1ba)],_0x34b2b7);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4b1dab,ObservableMixin as _0x42a037}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x48b552}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1d2db4}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x18cc31}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4cff32}from'../../utils/uploadutils.js';import{getImageUrls as _0x2b14f5,getImageDimension as _0x1e65a4}from'../../utils/editingutils.js';import{isAncestor as _0x1bc92c}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x42a037(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x18adce,_0x2c19a8,_0x2e360c){super(),this['_editor']=_0x18adce,this['_dialog']=_0x2c19a8,this['_imageElement']=_0x2e360c,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 _0x5539a4=this['_imageElement'],_0x59dc68=_0x5539a4['getAttribute']('uploadcareImageId'),_0xd92631=_0x5539a4['getAttribute']('src');if(_0x59dc68)await this['_loadImageInfo'](_0x59dc68,_0xd92631);else{if(this['_imageCache']['has'](_0xd92631)){const _0x2cfa7d=this['_imageCache']['get'](_0xd92631);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2cfa7d['url'],this['imageDimension']=_0x2cfa7d['dimension'],this['imageId']=_0x2cfa7d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3b6fa6}=this['_editor'],t=_0x3b6fa6['t'],_0x193936=new _0x18cc31(_0x3b6fa6,this['imageStatus'],this['_attributes']);_0x193936['bind']('status')['to'](this,'imageStatus'),_0x193936['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x193936['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x193936['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x193936,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1d2db4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x193936,'position':_0x48b552['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x193936['focus']();},'onHide':()=>{_0x193936['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58f5aa=>!_0x1bc92c(_0x58f5aa,_0x193936['element'])}});}['_loadImageInfo'](_0x7c8da1,_0x3cf486){return _0x4cff32['getInfo'](_0x7c8da1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5c480b=>{const {width:_0x36cb09,height:_0x52e406}=_0x5c480b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3cf486,this['imageDimension']={'width':_0x36cb09,'height':_0x52e406},this['imageId']=_0x7c8da1;})['catch'](_0x33ff54=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x33ff54['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4d01b3,_0x45d97f){return this['_getImageAsFile'](_0x4d01b3)['then'](_0x5763d=>_0x4cff32['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':_0x45d97f['signal'],'file':_0x5763d,'onProgress':_0x187c7a=>{_0x187c7a&&_0x187c7a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x187c7a['value']));}}))['then'](_0x3a8ba3=>{const {width:_0x89b5be,height:_0x3d671f}=_0x3a8ba3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a8ba3['cdnUrl'],this['imageDimension']={'width':_0x89b5be,'height':_0x3d671f},this['imageId']=_0x3a8ba3['uuid'],this['imageUploadProgress']=null;const _0x2e16db=_0x4d01b3['getAttribute']('src');this['_imageCache']['set'](_0x2e16db,{'id':_0x3a8ba3['uuid'],'url':_0x3a8ba3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1a0a97=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a0a97['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4fb175,_0x44aecd){_0x4fb175['on']('apply',(_0x42bc42,_0x19c785)=>{this['_replaceImage'](_0x44aecd,_0x19c785['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4fb175['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4fb175['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1047c2,_0x30047e,_0x13ec33){const _0x11b31d=this['_editor'],{width:_0x3c4927,height:_0x55acac}=_0x1e65a4(_0x30047e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2f1973,imageSources:_0x5eb482}=_0x2b14f5(_0x30047e,_0x3c4927);_0x11b31d['model']['change'](_0x207bd8=>{if('$graveyard'===_0x1047c2['root']['rootName']){_0x11b31d['execute']('insertImage',{'imageType':_0x1047c2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1047c2['getAttributes']()),'uploadcareImageId':_0x13ec33,'src':_0x2f1973,'sources':_0x5eb482,'width':_0x3c4927,'height':_0x55acac}});const _0x150984=_0x1047c2['getChildren']();_0x1047c2=_0x11b31d['model']['document']['selection']['getSelectedElement']();for(const _0x3ff8fa of _0x150984)_0x207bd8['append'](_0x207bd8['cloneElement'](_0x3ff8fa),_0x1047c2);}else _0x207bd8['setSelection'](_0x1047c2,'on'),_0x11b31d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1047c2['getAttributes']()),'uploadcareImageId':_0x13ec33,'src':_0x2f1973,'sources':_0x5eb482,'width':_0x3c4927,'height':_0x55acac},_0x1047c2);_0x207bd8['setSelection'](_0x1047c2,'on');});}async['_getImageAsFile'](_0x5ccbd7){const _0x48c3a1=_0x4b1dab['window'],_0x3fb964=_0x4b1dab['document']['location']['href'],_0x4caa00=new _0x48c3a1['URL'](_0x5ccbd7['getAttribute']('src'),_0x3fb964);if('data:'===_0x4caa00['protocol']){const _0x3fcf05=_0x4caa00['href']['split'](','),_0x1e423d=_0x3fcf05[0x0]['match'](/:(.*?);/)[0x1],_0x236cd9=_0x1e423d['split']('/')[0x1],_0x5e1a1a=_0x48c3a1['atob'](_0x3fcf05[_0x3fcf05['length']-0x1]);let _0x211420=_0x5e1a1a['length'];const _0x34c843=new _0x48c3a1['Uint8Array'](_0x211420);for(;_0x211420--;)_0x34c843[_0x211420]=_0x5e1a1a['charCodeAt'](_0x211420);return new _0x48c3a1['File']([_0x34c843],'image.'+_0x236cd9,{'type':_0x1e423d});}const _0x26177e=_0x4caa00['href']['split']('/'),_0x3c94ae=_0x26177e[_0x26177e['length']-0x1],_0x172ebe=_0x3c94ae['split']('.')[0x1];return _0x48c3a1['fetch'](_0x4caa00['href'])['then'](_0xb341b8=>_0xb341b8['clone']()['blob']())['then'](_0x5c3109=>new _0x48c3a1['File']([_0x5c3109],_0x3c94ae,{'type':'image/'+_0x172ebe}));}}
23
+ import{global as _0x31100d,ObservableMixin as _0x1122ba}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xe6e730}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x406d6a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5401fb}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x8a30b0}from'../../utils/uploadutils.js';import{getImageUrls as _0xbcdbb2,getImageDimension as _0x321947}from'../../utils/editingutils.js';import{isAncestor as _0x3e9f82}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x1122ba(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x37b14e,_0x5cba5e,_0x279bb3){super(),this['_editor']=_0x37b14e,this['_dialog']=_0x5cba5e,this['_imageElement']=_0x279bb3,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 _0x2eeae5=this['_imageElement'],_0x1b409b=_0x2eeae5['getAttribute']('uploadcareImageId'),_0x560e12=_0x2eeae5['getAttribute']('src');if(_0x1b409b)await this['_loadImageInfo'](_0x1b409b,_0x560e12);else{if(this['_imageCache']['has'](_0x560e12)){const _0x3ca8ad=this['_imageCache']['get'](_0x560e12);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3ca8ad['url'],this['imageDimension']=_0x3ca8ad['dimension'],this['imageId']=_0x3ca8ad['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x9a664}=this['_editor'],t=_0x9a664['t'],_0x8cfb08=new _0x5401fb(_0x9a664,this['imageStatus'],this['_attributes']);_0x8cfb08['bind']('status')['to'](this,'imageStatus'),_0x8cfb08['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x8cfb08['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x8cfb08['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x8cfb08,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x406d6a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x8cfb08,'position':_0xe6e730['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x8cfb08['focus']();},'onHide':()=>{_0x8cfb08['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x35b3e4=>!_0x3e9f82(_0x35b3e4,_0x8cfb08['element'])}});}['_loadImageInfo'](_0x46ff45,_0x456574){return _0x8a30b0['getInfo'](_0x46ff45,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5c548b=>{const {width:_0x5f317b,height:_0x5b2867}=_0x5c548b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x456574,this['imageDimension']={'width':_0x5f317b,'height':_0x5b2867},this['imageId']=_0x46ff45;})['catch'](_0x3f02e8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f02e8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e6e60,_0x12a1ba){return this['_getImageAsFile'](_0x1e6e60)['then'](_0x21fb7b=>_0x8a30b0['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':_0x12a1ba['signal'],'file':_0x21fb7b,'onProgress':_0xa7d6f1=>{_0xa7d6f1&&_0xa7d6f1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa7d6f1['value']));}}))['then'](_0x1dc2b8=>{const {width:_0x1ead7b,height:_0x2319aa}=_0x1dc2b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1dc2b8['cdnUrl'],this['imageDimension']={'width':_0x1ead7b,'height':_0x2319aa},this['imageId']=_0x1dc2b8['uuid'],this['imageUploadProgress']=null;const _0x5b6bee=_0x1e6e60['getAttribute']('src');this['_imageCache']['set'](_0x5b6bee,{'id':_0x1dc2b8['uuid'],'url':_0x1dc2b8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x38cf10=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x38cf10['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4cacf4,_0x1f809c){_0x4cacf4['on']('apply',(_0x3a4b6c,_0x6cb892)=>{this['_replaceImage'](_0x1f809c,_0x6cb892['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4cacf4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4cacf4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1a7328,_0x324501,_0x53ad3c){const _0x58d8dd=this['_editor'],{width:_0xe3665c,height:_0x41791b}=_0x321947(_0x324501,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x41d83,imageSources:_0xcb5380}=_0xbcdbb2(_0x324501,_0xe3665c);_0x58d8dd['model']['change'](_0x565a33=>{if('$graveyard'===_0x1a7328['root']['rootName']){_0x58d8dd['execute']('insertImage',{'imageType':_0x1a7328['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1a7328['getAttributes']()),'uploadcareImageId':_0x53ad3c,'src':_0x41d83,'sources':_0xcb5380,'width':_0xe3665c,'height':_0x41791b}});const _0x5453a4=_0x1a7328['getChildren']();_0x1a7328=_0x58d8dd['model']['document']['selection']['getSelectedElement']();for(const _0x4fb939 of _0x5453a4)_0x565a33['append'](_0x565a33['cloneElement'](_0x4fb939),_0x1a7328);}else _0x565a33['setSelection'](_0x1a7328,'on'),_0x58d8dd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1a7328['getAttributes']()),'uploadcareImageId':_0x53ad3c,'src':_0x41d83,'sources':_0xcb5380,'width':_0xe3665c,'height':_0x41791b},_0x1a7328);_0x565a33['setSelection'](_0x1a7328,'on');});}async['_getImageAsFile'](_0x551149){const _0x1d6773=_0x31100d['window'],_0x9f29d1=_0x31100d['document']['location']['href'],_0x157574=new _0x1d6773['URL'](_0x551149['getAttribute']('src'),_0x9f29d1);if('data:'===_0x157574['protocol']){const _0xbacbaa=_0x157574['href']['split'](','),_0x544aae=_0xbacbaa[0x0]['match'](/:(.*?);/)[0x1],_0x1c02cd=_0x544aae['split']('/')[0x1],_0x1828d5=_0x1d6773['atob'](_0xbacbaa[_0xbacbaa['length']-0x1]);let _0x50a705=_0x1828d5['length'];const _0x5898c6=new _0x1d6773['Uint8Array'](_0x50a705);for(;_0x50a705--;)_0x5898c6[_0x50a705]=_0x1828d5['charCodeAt'](_0x50a705);return new _0x1d6773['File']([_0x5898c6],'image.'+_0x1c02cd,{'type':_0x544aae});}const _0x3cb71b=_0x157574['href']['split']('/'),_0x5ea59a=_0x3cb71b[_0x3cb71b['length']-0x1],_0x1b8b24=_0x5ea59a['split']('.')[0x1];return _0x1d6773['fetch'](_0x157574['href'])['then'](_0x45569d=>_0x45569d['clone']()['blob']())['then'](_0x5a8774=>new _0x1d6773['File']([_0x5a8774],_0x5ea59a,{'type':'image/'+_0x1b8b24}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x45e30b,_0x5b5200){const _0x19500=_0x5b85,_0x788789=_0x45e30b();while(!![]){try{const _0x2b8e98=-parseInt(_0x19500(0x98))/0x1+parseInt(_0x19500(0x9d))/0x2*(parseInt(_0x19500(0xa8))/0x3)+parseInt(_0x19500(0xa4))/0x4+-parseInt(_0x19500(0x97))/0x5*(parseInt(_0x19500(0xa3))/0x6)+parseInt(_0x19500(0x9a))/0x7+parseInt(_0x19500(0x9f))/0x8*(parseInt(_0x19500(0xa1))/0x9)+-parseInt(_0x19500(0xa5))/0xa;if(_0x2b8e98===_0x5b5200)break;else _0x788789['push'](_0x788789['shift']());}catch(_0x429dc4){_0x788789['push'](_0x788789['shift']());}}}(_0x13d7,0x7bc18));function _0x13d7(){const _0x5a9d3d=['443151HRgToW','ck-uploadcare-theme','851442HPdBPb','2663892GnXQxF','18577380ZSWWlK','setTemplate','bindTemplate','1717998yiHgpt','5TPMrhc','90771demITN','set','3306653fppwsS','image-edit','uc-cloud-image-editor','2FXHCRJ','imageSrc','144QfQduW','uc-light'];_0x13d7=function(){return _0x5a9d3d;};return _0x13d7();}import{View as _0x43ebff}from'ckeditor5/src/ui.js';function _0x5b85(_0x39f528,_0x8534b9){const _0x13d7e4=_0x13d7();return _0x5b85=function(_0x5b8584,_0x60be54){_0x5b8584=_0x5b8584-0x97;let _0x3ee392=_0x13d7e4[_0x5b8584];return _0x3ee392;},_0x5b85(_0x39f528,_0x8534b9);}export class UploadcareImageEditFormEditingView extends _0x43ebff{constructor(_0x4de69d,_0x4c312c){const _0x4f23a8=_0x5b85;super(_0x4de69d);const _0x42af7b=this[_0x4f23a8(0xa7)];this[_0x4f23a8(0x99)](_0x4f23a8(0x9e),''),this[_0x4f23a8(0xa6)]({'tag':_0x4f23a8(0x9c),'attributes':{..._0x4c312c,'class':[_0x4f23a8(0xa0),_0x4f23a8(0xa2)],'ctx-name':_0x4f23a8(0x9b),'cdn-url':_0x42af7b['to'](_0x4f23a8(0x9e))}});}}
23
+ (function(_0x236400,_0x580497){const _0x390fcb=_0x27fa,_0x4fb978=_0x236400();while(!![]){try{const _0x303e27=parseInt(_0x390fcb(0xc2))/0x1*(-parseInt(_0x390fcb(0xcb))/0x2)+-parseInt(_0x390fcb(0xc0))/0x3*(-parseInt(_0x390fcb(0xcf))/0x4)+-parseInt(_0x390fcb(0xcd))/0x5+parseInt(_0x390fcb(0xbf))/0x6*(parseInt(_0x390fcb(0xc9))/0x7)+parseInt(_0x390fcb(0xcc))/0x8*(-parseInt(_0x390fcb(0xc3))/0x9)+-parseInt(_0x390fcb(0xc8))/0xa*(-parseInt(_0x390fcb(0xc1))/0xb)+-parseInt(_0x390fcb(0xc7))/0xc*(-parseInt(_0x390fcb(0xbe))/0xd);if(_0x303e27===_0x580497)break;else _0x4fb978['push'](_0x4fb978['shift']());}catch(_0x56cc6a){_0x4fb978['push'](_0x4fb978['shift']());}}}(_0x2116,0x3d573));import{View as _0x4c119}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4c119{constructor(_0x153926,_0x3ef80f){const _0x4b5d59=_0x27fa;super(_0x153926);const _0x507553=this[_0x4b5d59(0xd2)];this[_0x4b5d59(0xc4)](_0x4b5d59(0xca),''),this[_0x4b5d59(0xc6)]({'tag':_0x4b5d59(0xd0),'attributes':{..._0x3ef80f,'class':[_0x4b5d59(0xce),_0x4b5d59(0xc5)],'ctx-name':_0x4b5d59(0xd1),'cdn-url':_0x507553['to'](_0x4b5d59(0xca))}});}}function _0x27fa(_0x41fb52,_0x22f02b){const _0x2116b7=_0x2116();return _0x27fa=function(_0x27fa7b,_0x383783){_0x27fa7b=_0x27fa7b-0xbe;let _0x3f8c31=_0x2116b7[_0x27fa7b];return _0x3f8c31;},_0x27fa(_0x41fb52,_0x22f02b);}function _0x2116(){const _0x27838b=['12WNSRvp','10vKiCgA','87941FSdhJU','imageSrc','3432mTwEhH','3455560TdQLRw','2112170LnUJSr','uc-light','4ctFlQr','uc-cloud-image-editor','image-edit','bindTemplate','11546119JpJemQ','42nmVkRu','1256739ZZIUOc','1611247vYmbAl','254corLtt','9VskSTH','set','ck-uploadcare-theme','setTemplate'];_0x2116=function(){return _0x27838b;};return _0x2116();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2720df}from'ckeditor5/src/icons.js';import{ButtonView as _0x7cdd2d,IconView as _0x5c0223,View as _0x43ad75}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x43ad75{constructor(_0x50b232){super(_0x50b232);const t=_0x50b232['t'];this['set']('errorType',null);const _0x86680b=new _0x7cdd2d(_0x50b232);_0x86680b['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x86680b['withText']=!0x0,_0x86680b['class']='ck-button-action',_0x86680b['on']('execute',()=>{this['fire']('retry');}),_0x86680b['bind']('isVisible')['to'](this,'errorType',_0xd28038=>'NotFound'!==_0xd28038);const _0x135d22=new _0x5c0223();_0x135d22['content']=_0x2720df,_0x135d22['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xb780cf=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':[_0x135d22,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xb780cf['to']('errorType',_0x495a2e=>t('NotFound'!==_0x495a2e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x86680b]},{'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 _0x33ce4d}from'ckeditor5/src/icons.js';import{ButtonView as _0x36a64a,IconView as _0x220528,View as _0x220650}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x220650{constructor(_0xf6e340){super(_0xf6e340);const t=_0xf6e340['t'];this['set']('errorType',null);const _0x3aaf3f=new _0x36a64a(_0xf6e340);_0x3aaf3f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3aaf3f['withText']=!0x0,_0x3aaf3f['class']='ck-button-action',_0x3aaf3f['on']('execute',()=>{this['fire']('retry');}),_0x3aaf3f['bind']('isVisible')['to'](this,'errorType',_0x1e2c8e=>'NotFound'!==_0x1e2c8e);const _0x26b9d1=new _0x220528();_0x26b9d1['content']=_0x33ce4d,_0x26b9d1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5a14c6=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':[_0x26b9d1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5a14c6['to']('errorType',_0x32e22f=>t('NotFound'!==_0x32e22f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3aaf3f]},{'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 _0x45e299,View as _0x27ffdd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x27ffdd{constructor(_0x113032){super(_0x113032);const t=_0x113032['t'],_0xfc1f0a=this['bindTemplate'],_0x143b22=new _0x45e299();_0x143b22['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':[_0x143b22,{'text':_0xfc1f0a['to']('imageUploadProgress',_0x473d22=>t('Loading\x20image...')+'\x20('+(_0x473d22||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 _0x5cd361,View as _0x54ccec}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x54ccec{constructor(_0x433b25){super(_0x433b25);const t=_0x433b25['t'],_0x1c11af=this['bindTemplate'],_0x1df504=new _0x5cd361();_0x1df504['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':[_0x1df504,{'text':_0x1c11af['to']('imageUploadProgress',_0x209b4d=>t('Loading\x20image...')+'\x20('+(_0x209b4d||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 _0x14291c=_0x4fbe;(function(_0x203ab0,_0x58a530){const _0x174419=_0x4fbe,_0x44412c=_0x203ab0();while(!![]){try{const _0x59d838=parseInt(_0x174419(0xe8))/0x1*(parseInt(_0x174419(0xe4))/0x2)+parseInt(_0x174419(0xd9))/0x3*(-parseInt(_0x174419(0xdc))/0x4)+parseInt(_0x174419(0xe6))/0x5*(parseInt(_0x174419(0xd7))/0x6)+-parseInt(_0x174419(0xe2))/0x7+parseInt(_0x174419(0xb7))/0x8+-parseInt(_0x174419(0xc1))/0x9*(-parseInt(_0x174419(0xc9))/0xa)+-parseInt(_0x174419(0xbd))/0xb*(-parseInt(_0x174419(0xce))/0xc);if(_0x59d838===_0x58a530)break;else _0x44412c['push'](_0x44412c['shift']());}catch(_0x52b2f3){_0x44412c['push'](_0x44412c['shift']());}}}(_0x5057,0x77f47));function _0x5057(){const _0x9cf303=['addEventListener','detail','disconnect','_items','length','fire','element','134500euRygt','uploading','setTemplate','focus','retry','95532byBFOa','addMany','target','_addErrorViewListeners','apply','ck-uploadcare-form','cancel','ready','status','6xhuwmK','change:status','291210Rveurt','_loadingView','createCollection','40mktzoN','getFocusableElement','nodeName','ck-reset_all-excluded','_focusableView','cdnUrl','4985603PAmgEu','toLowerCase','2dFpSRo','clear','3548470IJCaQF','set','548971ZRboMR','_setView','add','once','_editingView','_waitForImageEditorComponent','uc-cloud-image-editor','observe','5302192JEAMnd','filter','_addUploadcareImageEditorListeners','querySelector','_errorView','render','275saRlQX','error','div','addedNodes','36zRiURd'];_0x5057=function(){return _0x9cf303;};return _0x5057();}import{View as _0x3356ac}from'ckeditor5/src/ui.js';function _0x4fbe(_0x1e7d71,_0xe7ae6c){const _0x505720=_0x5057();return _0x4fbe=function(_0x4fbe67,_0x98dbdc){_0x4fbe67=_0x4fbe67-0xb2;let _0x38cca3=_0x505720[_0x4fbe67];return _0x38cca3;},_0x4fbe(_0x1e7d71,_0xe7ae6c);}import{UploadcareImageEditFormLoadingView as _0x12642d}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x46f53a}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xa74dd5}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x28f39b}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x28f39b{[_0x14291c(0xc5)];[_0x14291c(0xda)];[_0x14291c(0xbb)];[_0x14291c(0xb3)];[_0x14291c(0xe0)];constructor(_0x52d65f,_0x44c6ee,_0x50dc6a){const _0xce3a36=_0x14291c;super(_0x52d65f),this[_0xce3a36(0xc5)]=this[_0xce3a36(0xdb)](),this[_0xce3a36(0xda)]=new _0x12642d(_0x52d65f),this[_0xce3a36(0xbb)]=new _0x46f53a(_0x52d65f),this[_0xce3a36(0xb3)]=new _0xa74dd5(_0x52d65f,_0x50dc6a),this[_0xce3a36(0xe0)]=new _0x3356ac(_0x52d65f),this[_0xce3a36(0xe0)][_0xce3a36(0xcb)](this[_0xce3a36(0xdd)]()),this[_0xce3a36(0xe7)](_0xce3a36(0xd6),_0x44c6ee),this[_0xce3a36(0xcb)]({'tag':_0xce3a36(0xbf),'attributes':{'class':['ck',_0xce3a36(0xdf),_0xce3a36(0xd3)],'tabindex':'-1'},'children':this[_0xce3a36(0xc5)]}),this[_0xce3a36(0xe9)](),this[_0xce3a36(0xb2)](_0xce3a36(0xbc),()=>{const _0x26fdfb=_0xce3a36;this[_0x26fdfb(0xb4)](this[_0x26fdfb(0xc8)],_0xf60746=>{const _0x229571=_0x26fdfb;this[_0x229571(0xb9)](_0xf60746);});}),this['on'](_0xce3a36(0xd8),()=>{const _0x5ab500=_0xce3a36;this[_0x5ab500(0xe9)]();}),this[_0xce3a36(0xd1)]();}[_0x14291c(0xcc)](){const _0x44436f=_0x14291c;this[_0x44436f(0xc8)][_0x44436f(0xcc)]();}[_0x14291c(0xe9)](){const _0x1bb9d6=_0x14291c;switch(this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xe5)](),this[_0x1bb9d6(0xd6)]){case _0x1bb9d6(0xca):this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xea)](this[_0x1bb9d6(0xda)]);break;case _0x1bb9d6(0xbe):this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xea)](this[_0x1bb9d6(0xbb)]);break;case _0x1bb9d6(0xd5):this[_0x1bb9d6(0xc5)][_0x1bb9d6(0xcf)]([this[_0x1bb9d6(0xb3)],this[_0x1bb9d6(0xe0)]]);}}[_0x14291c(0xb4)](_0x174d42,_0x2dcfd2){const _0x181ec8=_0x14291c,_0x48b046=_0x181ec8(0xb5),_0x2b576a=_0x174d42[_0x181ec8(0xba)](_0x48b046);if(_0x2b576a)return _0x2dcfd2(_0x2b576a);const _0x586169=new MutationObserver(_0x2ecb80=>{const _0xca6a2e=_0x181ec8,_0x3cf0dc=_0x2ecb80[_0xca6a2e(0xb8)](_0x1f138d=>_0x1f138d[_0xca6a2e(0xd0)]===_0x174d42&&_0x1f138d[_0xca6a2e(0xc0)][_0xca6a2e(0xc6)]>0x0&&_0x1f138d[_0xca6a2e(0xc0)][0x0][_0xca6a2e(0xde)][_0xca6a2e(0xe3)]()===_0x48b046);_0x3cf0dc[_0xca6a2e(0xc6)]&&(_0x586169[_0xca6a2e(0xc4)](),_0x2dcfd2(_0x3cf0dc[0x0][_0xca6a2e(0xc0)][0x0]));});_0x586169[_0x181ec8(0xb6)](_0x174d42,{'childList':!0x0,'subtree':!0x0});}[_0x14291c(0xb9)](_0x367775){const _0x5a81b6=_0x14291c;_0x367775[_0x5a81b6(0xc2)](_0x5a81b6(0xd2),_0x3f6b1e=>{const _0x568ba4=_0x5a81b6;this[_0x568ba4(0xc7)](_0x568ba4(0xd2),{'imageSrc':_0x3f6b1e[_0x568ba4(0xc3)][_0x568ba4(0xe1)]});}),_0x367775[_0x5a81b6(0xc2)](_0x5a81b6(0xd4),()=>{const _0x88fb07=_0x5a81b6;this[_0x88fb07(0xc7)](_0x88fb07(0xd4));});}[_0x14291c(0xd1)](){const _0x297122=_0x14291c;this[_0x297122(0xbb)]['on'](_0x297122(0xcd),()=>{const _0x5e521c=_0x297122;this[_0x5e521c(0xc7)](_0x5e521c(0xcd));});}}
23
+ const _0x3e9141=_0xf31e;(function(_0x53368c,_0x25e4dd){const _0x45e0c6=_0xf31e,_0x5eb3e2=_0x53368c();while(!![]){try{const _0x3f8a6d=parseInt(_0x45e0c6(0x1a5))/0x1+parseInt(_0x45e0c6(0x1ab))/0x2+parseInt(_0x45e0c6(0x190))/0x3+parseInt(_0x45e0c6(0x1b5))/0x4*(-parseInt(_0x45e0c6(0x1a6))/0x5)+parseInt(_0x45e0c6(0x1a9))/0x6+-parseInt(_0x45e0c6(0x18d))/0x7*(parseInt(_0x45e0c6(0x191))/0x8)+-parseInt(_0x45e0c6(0x1b0))/0x9;if(_0x3f8a6d===_0x25e4dd)break;else _0x5eb3e2['push'](_0x5eb3e2['shift']());}catch(_0x4ff9c4){_0x5eb3e2['push'](_0x5eb3e2['shift']());}}}(_0x50a5,0x1b763));import{View as _0x8fc67f}from'ckeditor5/src/ui.js';function _0x50a5(){const _0x4ae1cf=['observe','div','add','ready','target','1204NuXfGD','querySelector','once','153729rtWGVz','3616OsEcze','status','set','render','focus','retry','fire','_loadingView','addMany','_addErrorViewListeners','_addUploadcareImageEditorListeners','error','addEventListener','_focusableView','disconnect','_setView','ck-reset_all-excluded','toLowerCase','_items','uc-cloud-image-editor','4601ZAjfUv','25XpLpid','change:status','getFocusableElement','1302066yJbRxz','nodeName','280366BHXMRV','_waitForImageEditorComponent','cdnUrl','setTemplate','filter','1632834EtoMBq','createCollection','clear','cancel','apply','33108jyHrgl','_errorView','detail','addedNodes','length','_editingView','uploading','ck-uploadcare-form','element'];_0x50a5=function(){return _0x4ae1cf;};return _0x50a5();}import{UploadcareImageEditFormLoadingView as _0x3e42ca}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x31de7d}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5bf26c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0xb41a1}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0xf31e(_0x1f57c9,_0x1112a4){const _0x50a59a=_0x50a5();return _0xf31e=function(_0xf31e77,_0x5837d1){_0xf31e77=_0xf31e77-0x185;let _0x23bc8e=_0x50a59a[_0xf31e77];return _0x23bc8e;},_0xf31e(_0x1f57c9,_0x1112a4);}export class UploadcareImageEditFormView extends _0xb41a1{[_0x3e9141(0x1a3)];[_0x3e9141(0x198)];[_0x3e9141(0x1b6)];[_0x3e9141(0x1ba)];[_0x3e9141(0x19e)];constructor(_0x227b59,_0x48b896,_0x5b70e6){const _0x6e4272=_0x3e9141;super(_0x227b59),this[_0x6e4272(0x1a3)]=this[_0x6e4272(0x1b1)](),this[_0x6e4272(0x198)]=new _0x3e42ca(_0x227b59),this[_0x6e4272(0x1b6)]=new _0x31de7d(_0x227b59),this[_0x6e4272(0x1ba)]=new _0x5bf26c(_0x227b59,_0x5b70e6),this[_0x6e4272(0x19e)]=new _0x8fc67f(_0x227b59),this[_0x6e4272(0x19e)][_0x6e4272(0x1ae)](this[_0x6e4272(0x1a8)]()),this[_0x6e4272(0x193)](_0x6e4272(0x192),_0x48b896),this[_0x6e4272(0x1ae)]({'tag':_0x6e4272(0x189),'attributes':{'class':['ck',_0x6e4272(0x1a1),_0x6e4272(0x186)],'tabindex':'-1'},'children':this[_0x6e4272(0x1a3)]}),this[_0x6e4272(0x1a0)](),this[_0x6e4272(0x18f)](_0x6e4272(0x194),()=>{const _0x534eed=_0x6e4272;this[_0x534eed(0x1ac)](this[_0x534eed(0x187)],_0x3cb0af=>{const _0x19781f=_0x534eed;this[_0x19781f(0x19b)](_0x3cb0af);});}),this['on'](_0x6e4272(0x1a7),()=>{const _0x3740c9=_0x6e4272;this[_0x3740c9(0x1a0)]();}),this[_0x6e4272(0x19a)]();}[_0x3e9141(0x195)](){const _0x1d485d=_0x3e9141;this[_0x1d485d(0x187)][_0x1d485d(0x195)]();}[_0x3e9141(0x1a0)](){const _0x1d8dbb=_0x3e9141;switch(this[_0x1d8dbb(0x1a3)][_0x1d8dbb(0x1b2)](),this[_0x1d8dbb(0x192)]){case _0x1d8dbb(0x185):this[_0x1d8dbb(0x1a3)][_0x1d8dbb(0x18a)](this[_0x1d8dbb(0x198)]);break;case _0x1d8dbb(0x19c):this[_0x1d8dbb(0x1a3)][_0x1d8dbb(0x18a)](this[_0x1d8dbb(0x1b6)]);break;case _0x1d8dbb(0x18b):this[_0x1d8dbb(0x1a3)][_0x1d8dbb(0x199)]([this[_0x1d8dbb(0x1ba)],this[_0x1d8dbb(0x19e)]]);}}[_0x3e9141(0x1ac)](_0x3b3c84,_0x403fed){const _0x303113=_0x3e9141,_0x284975=_0x303113(0x1a4),_0x4bf3cb=_0x3b3c84[_0x303113(0x18e)](_0x284975);if(_0x4bf3cb)return _0x403fed(_0x4bf3cb);const _0x162e73=new MutationObserver(_0x20efee=>{const _0x1da499=_0x303113,_0x548038=_0x20efee[_0x1da499(0x1af)](_0x694121=>_0x694121[_0x1da499(0x18c)]===_0x3b3c84&&_0x694121[_0x1da499(0x1b8)][_0x1da499(0x1b9)]>0x0&&_0x694121[_0x1da499(0x1b8)][0x0][_0x1da499(0x1aa)][_0x1da499(0x1a2)]()===_0x284975);_0x548038[_0x1da499(0x1b9)]&&(_0x162e73[_0x1da499(0x19f)](),_0x403fed(_0x548038[0x0][_0x1da499(0x1b8)][0x0]));});_0x162e73[_0x303113(0x188)](_0x3b3c84,{'childList':!0x0,'subtree':!0x0});}[_0x3e9141(0x19b)](_0x481fe0){const _0x2b09be=_0x3e9141;_0x481fe0[_0x2b09be(0x19d)](_0x2b09be(0x1b4),_0x3bf9db=>{const _0x20d79c=_0x2b09be;this[_0x20d79c(0x197)](_0x20d79c(0x1b4),{'imageSrc':_0x3bf9db[_0x20d79c(0x1b7)][_0x20d79c(0x1ad)]});}),_0x481fe0[_0x2b09be(0x19d)](_0x2b09be(0x1b3),()=>{const _0x57f9e4=_0x2b09be;this[_0x57f9e4(0x197)](_0x57f9e4(0x1b3));});}[_0x3e9141(0x19a)](){const _0xd59dc=_0x3e9141;this[_0xd59dc(0x1b6)]['on'](_0xd59dc(0x196),()=>{const _0x4c1c7f=_0xd59dc;this[_0x4c1c7f(0x197)](_0x4c1c7f(0x196));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c5b51=_0x527c;(function(_0xdf8c08,_0x173f4e){const _0x4ee1bc=_0x527c,_0x261059=_0xdf8c08();while(!![]){try{const _0xfc2378=parseInt(_0x4ee1bc(0x9c))/0x1*(parseInt(_0x4ee1bc(0xa1))/0x2)+parseInt(_0x4ee1bc(0x93))/0x3*(parseInt(_0x4ee1bc(0x86))/0x4)+-parseInt(_0x4ee1bc(0x8d))/0x5+-parseInt(_0x4ee1bc(0x8b))/0x6*(-parseInt(_0x4ee1bc(0x8a))/0x7)+-parseInt(_0x4ee1bc(0xa0))/0x8+-parseInt(_0x4ee1bc(0x9a))/0x9*(parseInt(_0x4ee1bc(0x97))/0xa)+-parseInt(_0x4ee1bc(0x8e))/0xb*(parseInt(_0x4ee1bc(0x9d))/0xc);if(_0xfc2378===_0x173f4e)break;else _0x261059['push'](_0x261059['shift']());}catch(_0x2198d8){_0x261059['push'](_0x261059['shift']());}}}(_0x27ff,0x6e171));function _0x527c(_0x518f80,_0x44c646){const _0x27ff3f=_0x27ff();return _0x527c=function(_0x527cf6,_0x42fd71){_0x527cf6=_0x527cf6-0x82;let _0x4ed1ee=_0x27ff3f[_0x527cf6];return _0x4ed1ee;},_0x527c(_0x518f80,_0x44c646);}import{Command as _0x4d0afb}from'ckeditor5/src/core.js';import{Dialog as _0xedbe87}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x16a2e0}from'./ui/uploadcareimageeditcontroller.js';function _0x27ff(){const _0x4a9d72=['isEnabled','402745BHElEg','88DZOeYf','model','bind','plugins','element','9423wcgvUA','unbind','_isEditable','requires','4302390iqTskN','imageInline','set','9AGxcec','imageBlock','246481cuWWAz','30564ZzEbqI','document','refresh','3589512LIaYYM','4UboSaT','editor','imageEditController','isActive','selection','getSelectedElement','uploadcare.allowExternalImagesEditing','820BIdxwy','get','execute','config','70945MxyCTb','174jHbUCT'];_0x27ff=function(){return _0x4a9d72;};return _0x27ff();}import{createEditabilityChecker as _0x292346}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4d0afb{[_0x3c5b51(0xa3)];static get[_0x3c5b51(0x96)](){return[_0xedbe87];}[_0x3c5b51(0x95)];constructor(_0x11a1f8){const _0x1059a4=_0x3c5b51;super(_0x11a1f8),this[_0x1059a4(0xa3)]=void 0x0,this[_0x1059a4(0x95)]=_0x292346(_0x11a1f8[_0x1059a4(0x89)][_0x1059a4(0x87)](_0x1059a4(0x85))||[]),this[_0x1059a4(0x99)]({'isActive':!0x1});}[_0x3c5b51(0x9f)](){const _0x101f3b=_0x3c5b51,_0x4ded66=this[_0x101f3b(0xa2)][_0x101f3b(0x8f)][_0x101f3b(0x9e)][_0x101f3b(0x83)][_0x101f3b(0x84)]();this[_0x101f3b(0x8c)]=this[_0x101f3b(0x95)](_0x4ded66);}[_0x3c5b51(0x88)](){const _0x213429=_0x3c5b51;this[_0x213429(0xa3)]&&(this[_0x213429(0x94)](_0x213429(0x82)),this[_0x213429(0xa3)]=void 0x0);const _0x144157=this[_0x213429(0xa2)][_0x213429(0x8f)][_0x213429(0x9e)][_0x213429(0x83)][_0x213429(0x84)]();_0x144157&&(_0x144157['is'](_0x213429(0x92),_0x213429(0x9b))||_0x144157['is'](_0x213429(0x92),_0x213429(0x98)))&&(this[_0x213429(0xa3)]=new _0x16a2e0(this[_0x213429(0xa2)],this[_0x213429(0xa2)][_0x213429(0x91)][_0x213429(0x87)](_0xedbe87),_0x144157),this[_0x213429(0x90)](_0x213429(0x82))['to'](this[_0x213429(0xa3)],_0x213429(0x82)));}}
23
+ const _0x2700d8=_0x2ef3;(function(_0x173c0a,_0x2f7a64){const _0x2f13fc=_0x2ef3,_0x4c578b=_0x173c0a();while(!![]){try{const _0x3631dd=-parseInt(_0x2f13fc(0x1e1))/0x1+parseInt(_0x2f13fc(0x1de))/0x2+-parseInt(_0x2f13fc(0x1e7))/0x3*(-parseInt(_0x2f13fc(0x1dc))/0x4)+-parseInt(_0x2f13fc(0x1d0))/0x5+-parseInt(_0x2f13fc(0x1d1))/0x6*(-parseInt(_0x2f13fc(0x1e3))/0x7)+parseInt(_0x2f13fc(0x1d5))/0x8*(parseInt(_0x2f13fc(0x1d3))/0x9)+-parseInt(_0x2f13fc(0x1e6))/0xa*(parseInt(_0x2f13fc(0x1e0))/0xb);if(_0x3631dd===_0x2f7a64)break;else _0x4c578b['push'](_0x4c578b['shift']());}catch(_0x506b71){_0x4c578b['push'](_0x4c578b['shift']());}}}(_0x2742,0xee13a));import{Command as _0x2be251}from'ckeditor5/src/core.js';import{Dialog as _0x36dbdf}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x407c28}from'./ui/uploadcareimageeditcontroller.js';function _0x2742(){const _0x2df5ca=['element','isEnabled','document','selection','imageEditController','7377555okdSbe','4479114mLlnjg','plugins','16384239oDsANl','isActive','8GtJLRg','config','requires','uploadcare.allowExternalImagesEditing','getSelectedElement','model','refresh','1758892gbfpOf','set','740822EPCrPR','imageBlock','7183beuxGs','912733hjMfQg','get','14bdxkyp','_isEditable','execute','25110gvFBcz','9SdfaOa','editor','imageInline','bind','unbind'];_0x2742=function(){return _0x2df5ca;};return _0x2742();}function _0x2ef3(_0x5b2fa4,_0x358e0d){const _0x27425a=_0x2742();return _0x2ef3=function(_0x2ef38a,_0x31bcab){_0x2ef38a=_0x2ef38a-0x1c8;let _0x6a79f6=_0x27425a[_0x2ef38a];return _0x6a79f6;},_0x2ef3(_0x5b2fa4,_0x358e0d);}import{createEditabilityChecker as _0x1097d9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2be251{[_0x2700d8(0x1cf)];static get[_0x2700d8(0x1d7)](){return[_0x36dbdf];}[_0x2700d8(0x1e4)];constructor(_0x14f1ce){const _0x5252ee=_0x2700d8;super(_0x14f1ce),this[_0x5252ee(0x1cf)]=void 0x0,this[_0x5252ee(0x1e4)]=_0x1097d9(_0x14f1ce[_0x5252ee(0x1d6)][_0x5252ee(0x1e2)](_0x5252ee(0x1d8))||[]),this[_0x5252ee(0x1dd)]({'isActive':!0x1});}[_0x2700d8(0x1db)](){const _0x41812c=_0x2700d8,_0x531e29=this[_0x41812c(0x1e8)][_0x41812c(0x1da)][_0x41812c(0x1cd)][_0x41812c(0x1ce)][_0x41812c(0x1d9)]();this[_0x41812c(0x1cc)]=this[_0x41812c(0x1e4)](_0x531e29);}[_0x2700d8(0x1e5)](){const _0x1560f3=_0x2700d8;this[_0x1560f3(0x1cf)]&&(this[_0x1560f3(0x1ca)](_0x1560f3(0x1d4)),this[_0x1560f3(0x1cf)]=void 0x0);const _0x28aca7=this[_0x1560f3(0x1e8)][_0x1560f3(0x1da)][_0x1560f3(0x1cd)][_0x1560f3(0x1ce)][_0x1560f3(0x1d9)]();_0x28aca7&&(_0x28aca7['is'](_0x1560f3(0x1cb),_0x1560f3(0x1df))||_0x28aca7['is'](_0x1560f3(0x1cb),_0x1560f3(0x1c8)))&&(this[_0x1560f3(0x1cf)]=new _0x407c28(this[_0x1560f3(0x1e8)],this[_0x1560f3(0x1e8)][_0x1560f3(0x1d2)][_0x1560f3(0x1e2)](_0x36dbdf),_0x28aca7),this[_0x1560f3(0x1c9)](_0x1560f3(0x1d4))['to'](this[_0x1560f3(0x1cf)],_0x1560f3(0x1d4)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3aa3(){const _0x24500b=['10456839iynNLh','pluginName','ImageUtils','uploadcareImageEdit','ImageEditing','commands','14mfIENh','59EwBFes','isOfficialPlugin','add','2804444riXZtt','uploadcareImageReplace','UploadcareImageEditEditing','11cvPfjs','3949990lbvUFB','340552fLnVoL','664782PjKlSQ','33526szjFqx','isPremiumPlugin','22513590lOafGC','requires','3AyCfdC','init'];_0x3aa3=function(){return _0x24500b;};return _0x3aa3();}const _0x69f7a5=_0x32c7;function _0x32c7(_0x5dc0b5,_0x41c2ca){const _0x3aa317=_0x3aa3();return _0x32c7=function(_0x32c79d,_0x14b0d4){_0x32c79d=_0x32c79d-0x125;let _0x1f2a56=_0x3aa317[_0x32c79d];return _0x1f2a56;},_0x32c7(_0x5dc0b5,_0x41c2ca);}(function(_0x9ad4d4,_0xc1c0ae){const _0x42d29d=_0x32c7,_0x470a54=_0x9ad4d4();while(!![]){try{const _0x2d7431=parseInt(_0x42d29d(0x12c))/0x1*(parseInt(_0x42d29d(0x136))/0x2)+parseInt(_0x42d29d(0x13a))/0x3*(-parseInt(_0x42d29d(0x12f))/0x4)+-parseInt(_0x42d29d(0x133))/0x5+parseInt(_0x42d29d(0x135))/0x6+parseInt(_0x42d29d(0x12b))/0x7*(parseInt(_0x42d29d(0x134))/0x8)+-parseInt(_0x42d29d(0x125))/0x9+-parseInt(_0x42d29d(0x138))/0xa*(-parseInt(_0x42d29d(0x132))/0xb);if(_0x2d7431===_0xc1c0ae)break;else _0x470a54['push'](_0x470a54['shift']());}catch(_0x3937e1){_0x470a54['push'](_0x470a54['shift']());}}}(_0x3aa3,0xbf3e3));import{Plugin as _0x6b9d8c}from'ckeditor5/src/core.js';import{Notification as _0x7733a4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x57dce0}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x51b62e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x558b78}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x6b9d8c{static get[_0x69f7a5(0x126)](){const _0xf6df72=_0x69f7a5;return _0xf6df72(0x131);}static get[_0x69f7a5(0x139)](){const _0x12e247=_0x69f7a5;return[_0x558b78,_0x7733a4,_0x12e247(0x127),_0x12e247(0x129)];}static get[_0x69f7a5(0x12d)](){return!0x0;}static get[_0x69f7a5(0x137)](){return!0x0;}[_0x69f7a5(0x13b)](){const _0x126a93=_0x69f7a5,{editor:_0x5cc27f}=this;_0x5cc27f[_0x126a93(0x12a)][_0x126a93(0x12e)](_0x126a93(0x128),new _0x57dce0(_0x5cc27f)),_0x5cc27f[_0x126a93(0x12a)][_0x126a93(0x12e)](_0x126a93(0x130),new _0x51b62e(_0x5cc27f));}}
23
+ const _0x5c4b2f=_0x3507;(function(_0x48a7fd,_0x1cf9a4){const _0x5f1506=_0x3507,_0x14a5a6=_0x48a7fd();while(!![]){try{const _0xca661b=parseInt(_0x5f1506(0x100))/0x1+parseInt(_0x5f1506(0x10e))/0x2+parseInt(_0x5f1506(0x107))/0x3+-parseInt(_0x5f1506(0x109))/0x4*(parseInt(_0x5f1506(0xfc))/0x5)+parseInt(_0x5f1506(0x102))/0x6*(-parseInt(_0x5f1506(0xf9))/0x7)+-parseInt(_0x5f1506(0xfb))/0x8+parseInt(_0x5f1506(0x105))/0x9*(parseInt(_0x5f1506(0x103))/0xa);if(_0xca661b===_0x1cf9a4)break;else _0x14a5a6['push'](_0x14a5a6['shift']());}catch(_0x3f456a){_0x14a5a6['push'](_0x14a5a6['shift']());}}}(_0x328f,0xb4d6f));function _0x328f(){const _0x49c10c=['1399570OjhJLL','uploadcareImageReplace','153sUzMwX','isOfficialPlugin','253326zgJuin','ImageUtils','4dpfQMn','init','add','ImageEditing','commands','114874TAJdnV','35WgIfip','pluginName','3369288DtijtA','4603835FskWyz','UploadcareImageEditEditing','isPremiumPlugin','uploadcareImageEdit','971444PWiuHD','requires','1691934uXupiY'];_0x328f=function(){return _0x49c10c;};return _0x328f();}function _0x3507(_0x354171,_0x36a63e){const _0x328f10=_0x328f();return _0x3507=function(_0x35078f,_0x27aebb){_0x35078f=_0x35078f-0xf9;let _0x309b9f=_0x328f10[_0x35078f];return _0x309b9f;},_0x3507(_0x354171,_0x36a63e);}import{Plugin as _0x3ce4b9}from'ckeditor5/src/core.js';import{Notification as _0x1843d6}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2535b8}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x20a254}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x6e4d74}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3ce4b9{static get[_0x5c4b2f(0xfa)](){const _0x68e481=_0x5c4b2f;return _0x68e481(0xfd);}static get[_0x5c4b2f(0x101)](){const _0x16418a=_0x5c4b2f;return[_0x6e4d74,_0x1843d6,_0x16418a(0x108),_0x16418a(0x10c)];}static get[_0x5c4b2f(0x106)](){return!0x0;}static get[_0x5c4b2f(0xfe)](){return!0x0;}[_0x5c4b2f(0x10a)](){const _0x8400f9=_0x5c4b2f,{editor:_0xa97d3f}=this;_0xa97d3f[_0x8400f9(0x10d)][_0x8400f9(0x10b)](_0x8400f9(0xff),new _0x2535b8(_0xa97d3f)),_0xa97d3f[_0x8400f9(0x10d)][_0x8400f9(0x10b)](_0x8400f9(0x104),new _0x20a254(_0xa97d3f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2d9b6f}from'ckeditor5/src/core.js';import{ButtonView as _0x323875}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4775c5}from'ckeditor5/src/icons.js';import{createElement as _0x913ddc}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 _0x2d9b6f{['_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 _0x3100e5=this['editor'];_0x3100e5['ui']['componentFactory']['add']('uploadcareImageEdit',_0xc89c9c=>{const _0x3d0ac1=_0x3100e5['commands']['get']('uploadcareImageEdit'),_0x34ffc2=new _0x323875(_0xc89c9c),t=_0xc89c9c['t'];return _0x34ffc2['set']({'icon':_0x4775c5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x34ffc2['bind']('isEnabled')['to'](_0x3d0ac1),_0x34ffc2['bind']('isOn')['to'](_0x3d0ac1,'isActive'),this['listenTo'](_0x34ffc2,'execute',()=>{_0x3100e5['execute']('uploadcareImageEdit'),_0x3100e5['editing']['view']['focus']();}),_0x34ffc2;}),this['_initConfig']();}['_initConfig'](){const _0x313926=_0x913ddc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x313926),this['listenTo'](this['editor'],'destroy',()=>{_0x313926['remove']();});}}
23
+ import{Plugin as _0x37c4ea}from'ckeditor5/src/core.js';import{ButtonView as _0x2ef1e4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3815b6}from'ckeditor5/src/icons.js';import{createElement as _0x5e913b}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 _0x37c4ea{['_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 _0x4a70f9=this['editor'];_0x4a70f9['ui']['componentFactory']['add']('uploadcareImageEdit',_0x60894=>{const _0x5b7029=_0x4a70f9['commands']['get']('uploadcareImageEdit'),_0x28f878=new _0x2ef1e4(_0x60894),t=_0x60894['t'];return _0x28f878['set']({'icon':_0x3815b6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x28f878['bind']('isEnabled')['to'](_0x5b7029),_0x28f878['bind']('isOn')['to'](_0x5b7029,'isActive'),this['listenTo'](_0x28f878,'execute',()=>{_0x4a70f9['execute']('uploadcareImageEdit'),_0x4a70f9['editing']['view']['focus']();}),_0x28f878;}),this['_initConfig']();}['_initConfig'](){const _0xbcc3af=_0x5e913b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xbcc3af),this['listenTo'](this['editor'],'destroy',()=>{_0xbcc3af['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58da66=_0x5d16;function _0xa868(){const _0x5c3ec4=['model','execute','change','imageInline','633382ntryiV','sizes','889rQfQkj','20NtUBin','256968SdxPsl','element','editor','refresh','4916010kOqRXS','3tKWhDA','143118tVuPoO','getSelectedElement','imageBlock','15688UQQugh','isEnabled','selection','19364KLVxho','setAttributes','1656117GexzlR','document','srcset','removeAttribute'];_0xa868=function(){return _0x5c3ec4;};return _0xa868();}(function(_0x15fd11,_0x2f34a3){const _0x13b665=_0x5d16,_0x5f773e=_0x15fd11();while(!![]){try{const _0x50da7d=-parseInt(_0x13b665(0x152))/0x1+-parseInt(_0x13b665(0x162))/0x2*(-parseInt(_0x13b665(0x151))/0x3)+-parseInt(_0x13b665(0x158))/0x4*(-parseInt(_0x13b665(0x14b))/0x5)+-parseInt(_0x13b665(0x14c))/0x6+parseInt(_0x13b665(0x14a))/0x7*(-parseInt(_0x13b665(0x155))/0x8)+-parseInt(_0x13b665(0x15a))/0x9+parseInt(_0x13b665(0x150))/0xa;if(_0x50da7d===_0x2f34a3)break;else _0x5f773e['push'](_0x5f773e['shift']());}catch(_0x27fc9d){_0x5f773e['push'](_0x5f773e['shift']());}}}(_0xa868,0x32f0a));import{Command as _0x29e06e}from'ckeditor5/src/core.js';function _0x5d16(_0x4dbeb0,_0x14589b){const _0xa8683e=_0xa868();return _0x5d16=function(_0x5d1696,_0x468e52){_0x5d1696=_0x5d1696-0x14a;let _0x5d56a0=_0xa8683e[_0x5d1696];return _0x5d56a0;},_0x5d16(_0x4dbeb0,_0x14589b);}export class UploadcareImageReplaceCommand extends _0x29e06e{[_0x58da66(0x14f)](){const _0x220315=_0x58da66,_0x2e8889=this[_0x220315(0x14e)][_0x220315(0x15e)][_0x220315(0x15b)][_0x220315(0x157)][_0x220315(0x153)]();this[_0x220315(0x156)]=Boolean(_0x2e8889&&(_0x2e8889['is'](_0x220315(0x14d),_0x220315(0x154))||_0x2e8889['is'](_0x220315(0x14d),_0x220315(0x161))));}[_0x58da66(0x15f)](_0x351e19){const _0x3d2ef8=_0x58da66,_0x45d0a4=this[_0x3d2ef8(0x14e)][_0x3d2ef8(0x15e)][_0x3d2ef8(0x15b)][_0x3d2ef8(0x157)][_0x3d2ef8(0x153)]();this[_0x3d2ef8(0x14e)][_0x3d2ef8(0x15e)][_0x3d2ef8(0x160)](_0x11277e=>{const _0x3ae657=_0x3d2ef8;_0x11277e[_0x3ae657(0x159)](_0x351e19,_0x45d0a4),_0x11277e[_0x3ae657(0x15d)](_0x3ae657(0x15c),_0x45d0a4),_0x11277e[_0x3ae657(0x15d)](_0x3ae657(0x163),_0x45d0a4);});}}
23
+ const _0x5382c7=_0x193b;(function(_0x332d4a,_0x40cc39){const _0x41cf7d=_0x193b,_0xe06c2=_0x332d4a();while(!![]){try{const _0x12035d=parseInt(_0x41cf7d(0x8c))/0x1+parseInt(_0x41cf7d(0x94))/0x2*(-parseInt(_0x41cf7d(0x86))/0x3)+-parseInt(_0x41cf7d(0x85))/0x4+parseInt(_0x41cf7d(0x7c))/0x5+parseInt(_0x41cf7d(0x87))/0x6*(-parseInt(_0x41cf7d(0x84))/0x7)+-parseInt(_0x41cf7d(0x7b))/0x8*(parseInt(_0x41cf7d(0x88))/0x9)+parseInt(_0x41cf7d(0x7e))/0xa;if(_0x12035d===_0x40cc39)break;else _0xe06c2['push'](_0xe06c2['shift']());}catch(_0x553103){_0xe06c2['push'](_0xe06c2['shift']());}}}(_0x2463,0xd91c3));function _0x193b(_0x31e442,_0x11dfe7){const _0x246387=_0x2463();return _0x193b=function(_0x193bc6,_0x305bcb){_0x193bc6=_0x193bc6-0x7b;let _0x461d03=_0x246387[_0x193bc6];return _0x461d03;},_0x193b(_0x31e442,_0x11dfe7);}import{Command as _0x86ea4}from'ckeditor5/src/core.js';function _0x2463(){const _0x160a81=['sizes','change','editor','removeAttribute','setAttributes','56147RpuRqz','5227480DZmpQK','14505Dslztc','384FxYdUq','19026NnezJF','getSelectedElement','selection','document','1164359JSShnO','imageBlock','isEnabled','refresh','imageInline','srcset','execute','element','238srQRgE','5312RcyfRO','426085vGpOBc','model','34389820RhyncU'];_0x2463=function(){return _0x160a81;};return _0x2463();}export class UploadcareImageReplaceCommand extends _0x86ea4{[_0x5382c7(0x8f)](){const _0x50d454=_0x5382c7,_0x3b6aec=this[_0x50d454(0x81)][_0x50d454(0x7d)][_0x50d454(0x8b)][_0x50d454(0x8a)][_0x50d454(0x89)]();this[_0x50d454(0x8e)]=Boolean(_0x3b6aec&&(_0x3b6aec['is'](_0x50d454(0x93),_0x50d454(0x8d))||_0x3b6aec['is'](_0x50d454(0x93),_0x50d454(0x90))));}[_0x5382c7(0x92)](_0x2c69eb){const _0x38385c=_0x5382c7,_0x24db5b=this[_0x38385c(0x81)][_0x38385c(0x7d)][_0x38385c(0x8b)][_0x38385c(0x8a)][_0x38385c(0x89)]();this[_0x38385c(0x81)][_0x38385c(0x7d)][_0x38385c(0x80)](_0x31ff42=>{const _0x508684=_0x38385c;_0x31ff42[_0x508684(0x83)](_0x2c69eb,_0x24db5b),_0x31ff42[_0x508684(0x82)](_0x508684(0x91),_0x24db5b),_0x31ff42[_0x508684(0x82)](_0x508684(0x7f),_0x24db5b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x27253c=_0x2338;(function(_0x25719c,_0x4ea922){var _0x1df163=_0x2338,_0xa1b832=_0x25719c();while(!![]){try{var _0x5377dc=parseInt(_0x1df163(0x18b))/0x1*(parseInt(_0x1df163(0x182))/0x2)+parseInt(_0x1df163(0x188))/0x3+parseInt(_0x1df163(0x18f))/0x4*(-parseInt(_0x1df163(0x18e))/0x5)+parseInt(_0x1df163(0x181))/0x6*(-parseInt(_0x1df163(0x180))/0x7)+parseInt(_0x1df163(0x18a))/0x8*(parseInt(_0x1df163(0x18d))/0x9)+parseInt(_0x1df163(0x189))/0xa+-parseInt(_0x1df163(0x186))/0xb*(parseInt(_0x1df163(0x187))/0xc);if(_0x5377dc===_0x4ea922)break;else _0xa1b832['push'](_0xa1b832['shift']());}catch(_0x3c3be4){_0xa1b832['push'](_0xa1b832['shift']());}}}(_0x359e,0x56f7c));import{Plugin as _0x12b03e}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x578508}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2338(_0x14759b,_0x23c852){var _0x359e75=_0x359e();return _0x2338=function(_0x233872,_0x196dd0){_0x233872=_0x233872-0x180;var _0x2aa8ed=_0x359e75[_0x233872];return _0x2aa8ed;},_0x2338(_0x14759b,_0x23c852);}import{UploadcareImageEditUI as _0x55bcc5}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x12b03e{static get[_0x27253c(0x183)](){var _0x53a9e4=_0x27253c;return _0x53a9e4(0x185);}static get[_0x27253c(0x18c)](){return[_0x578508,_0x55bcc5];}static get[_0x27253c(0x190)](){return!0x0;}static get[_0x27253c(0x184)](){return!0x0;}}function _0x359e(){var _0x3c05fb=['105014hZyZIt','pluginName','isPremiumPlugin','UploadcareImageEdit','11sQIwBt','5899668DRCrji','1393239ibPDSY','274440IHPrEy','184QwhDBT','8tIDWHJ','requires','173457TCbhIx','200oESLBo','48672VUXiWM','isOfficialPlugin','21RaSYJD','41226HHYJrm'];_0x359e=function(){return _0x3c05fb;};return _0x359e();}
23
+ var _0x270da4=_0x4e17;(function(_0x27c29a,_0x2ec6f0){var _0x50cfde=_0x4e17,_0xfea13c=_0x27c29a();while(!![]){try{var _0x2a7699=parseInt(_0x50cfde(0x13d))/0x1+parseInt(_0x50cfde(0x140))/0x2*(-parseInt(_0x50cfde(0x144))/0x3)+parseInt(_0x50cfde(0x138))/0x4+parseInt(_0x50cfde(0x13e))/0x5*(parseInt(_0x50cfde(0x146))/0x6)+-parseInt(_0x50cfde(0x13a))/0x7*(parseInt(_0x50cfde(0x147))/0x8)+parseInt(_0x50cfde(0x13f))/0x9+-parseInt(_0x50cfde(0x139))/0xa*(parseInt(_0x50cfde(0x13c))/0xb);if(_0x2a7699===_0x2ec6f0)break;else _0xfea13c['push'](_0xfea13c['shift']());}catch(_0x1c91a9){_0xfea13c['push'](_0xfea13c['shift']());}}}(_0x51de,0xdaf15));function _0x51de(){var _0x2f7fb4=['13830552BmmIxE','152458MQTifT','pluginName','UploadcareImageEdit','isPremiumPlugin','66IWsBRU','isOfficialPlugin','474NIKMoR','26008hJTRXU','5368372vYAtKA','55210RJQZbQ','413HJPACN','requires','2013aNxwLI','33135iyArLX','54685WOQGrr'];_0x51de=function(){return _0x2f7fb4;};return _0x51de();}import{Plugin as _0x1438b7}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5aeaf5}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5ce968}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4e17(_0x5070f2,_0x14e662){var _0x51de4d=_0x51de();return _0x4e17=function(_0x4e1728,_0x4eacbc){_0x4e1728=_0x4e1728-0x138;var _0x40a41a=_0x51de4d[_0x4e1728];return _0x40a41a;},_0x4e17(_0x5070f2,_0x14e662);}export class UploadcareImageEdit extends _0x1438b7{static get[_0x270da4(0x141)](){var _0x4099ab=_0x270da4;return _0x4099ab(0x142);}static get[_0x270da4(0x13b)](){return[_0x5aeaf5,_0x5ce968];}static get[_0x270da4(0x145)](){return!0x0;}static get[_0x270da4(0x143)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x489f68=_0x2a2d;(function(_0x184efb,_0x485600){const _0x32917b=_0x2a2d,_0x1ecdd1=_0x184efb();while(!![]){try{const _0x21b68d=parseInt(_0x32917b(0x13e))/0x1*(-parseInt(_0x32917b(0x155))/0x2)+parseInt(_0x32917b(0x134))/0x3*(parseInt(_0x32917b(0x145))/0x4)+parseInt(_0x32917b(0x167))/0x5*(-parseInt(_0x32917b(0x158))/0x6)+-parseInt(_0x32917b(0x126))/0x7*(-parseInt(_0x32917b(0x169))/0x8)+-parseInt(_0x32917b(0x127))/0x9+parseInt(_0x32917b(0x166))/0xa+parseInt(_0x32917b(0x153))/0xb*(parseInt(_0x32917b(0x123))/0xc);if(_0x21b68d===_0x485600)break;else _0x1ecdd1['push'](_0x1ecdd1['shift']());}catch(_0x38d6b3){_0x1ecdd1['push'](_0x1ecdd1['shift']());}}}(_0x5149,0x5452c));import{Plugin as _0x49644a}from'ckeditor5/src/core.js';import{IconDropbox as _0x4ac83f,IconFacebook as _0x45c676,IconGoogleDrive as _0x4148de,IconGooglePhotos as _0x3324d8,IconUploadcareImageUpload as _0x4fcc01,IconUploadcareLink as _0x222d51,IconOneDrive as _0x4a1be3}from'ckeditor5/src/icons.js';import{ButtonView as _0x2a7ca1,MenuBarMenuListItemButtonView as _0x31fd42}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4b079b}from'./uploadcareconfig.js';import{getTranslation as _0x4f815c}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5149(){const _0xb8cf1e=['plugins','_createButton','uploadcareLicenseKeyValid','label','Uploadcare','invalid','uploadcareLicenseKeyTrialLimit','uploadcare','isEnabled','has','uploadcareLicenseKeyDomainLimit','314149mPNWKy','forEach','2RuRnCu','_normalizeConfigSourceList','execute','731262HlKYHz','UploadcareUI','ImageInsertUI','_createToolbarButton','map','isPremiumPlugin','assetManager','Facebook','expired','Replace','trialLimit','editor','uploadcareLicenseKeyEvaluationLimit','entries','4187200nUWdoj','15zeCqLB','shortText','288JLvInM','_getIntegrationKey','usageLimit','_createMenuBarButtons','reduce','uploadcareLicenseKeyNotAllowed','destroy','bind','locale','domainLimit','_showLicenseError','_licenseKeyCheckInterval','afterInit','300cSGMKj','isImageSelected','GDrive','28826xvLBTB','4656285DDWrPK','pluginName','URL','text','registerIntegration','licenseKey','OneDrive','isOfficialPlugin','commands','uploadcareLicenseKeyUsageLimit','url','GPhotos','push','1220046dhKyBq','Insert','Dropbox','Local','evaluationLimit','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyExpired','type','upload','withText','459241ABOXKZ','featureNotAllowed','icon','init','uploadcare.uploader.sourceList','config','tooltip','4oanNoD','get','_createDropdownButtons'];_0x5149=function(){return _0xb8cf1e;};return _0x5149();}import'../theme/uploadcareimageedit.css';function _0x2a2d(_0x52dba4,_0x5c2bc4){const _0x514906=_0x5149();return _0x2a2d=function(_0x2a2dcb,_0x1f53fb){_0x2a2dcb=_0x2a2dcb-0x120;let _0x3b656d=_0x514906[_0x2a2dcb];return _0x3b656d;},_0x2a2d(_0x52dba4,_0x5c2bc4);}export class UploadcareUI extends _0x49644a{[_0x489f68(0x12c)];[_0x489f68(0x121)];static get[_0x489f68(0x128)](){const _0xbd7c38=_0x489f68;return _0xbd7c38(0x159);}static get[_0x489f68(0x12e)](){return!0x0;}static get[_0x489f68(0x15d)](){return!0x0;}[_0x489f68(0x141)](){const _0x11a558=_0x489f68;this[_0x11a558(0x12c)]=this[_0x11a558(0x163)][_0x11a558(0x143)][_0x11a558(0x146)](_0x11a558(0x12c));const _0x8a7271=this[_0x11a558(0x163)];this[_0x11a558(0x121)]=setInterval(()=>{const _0x31f36b=_0x11a558;let _0x4acf37;for(const _0x445640 in _0x8a7271){const _0x33be90=_0x445640,_0x210c67=_0x8a7271[_0x33be90];if(_0x31f36b(0x14a)==_0x210c67||_0x31f36b(0x139)==_0x210c67||_0x31f36b(0x13a)==_0x210c67||_0x31f36b(0x152)==_0x210c67||_0x31f36b(0x16e)==_0x210c67||_0x31f36b(0x164)==_0x210c67||_0x31f36b(0x14e)==_0x210c67||_0x31f36b(0x130)==_0x210c67){delete _0x8a7271[_0x33be90],_0x4acf37=_0x210c67,clearInterval(this[_0x31f36b(0x121)]),this[_0x31f36b(0x121)]=void 0x0;break;}}_0x31f36b(0x139)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x14d)),_0x31f36b(0x13a)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x160)),_0x31f36b(0x152)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x172)),_0x31f36b(0x16e)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x13f),_0x31f36b(0x14c)),_0x31f36b(0x164)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x138)),_0x31f36b(0x14e)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x162)),_0x31f36b(0x130)==_0x4acf37&&_0x8a7271[_0x31f36b(0x120)](_0x31f36b(0x16b));},0x3e8);}[_0x489f68(0x122)](){const _0x3f6f9c=_0x489f68,{editor:_0x58d712}=this,_0x541a28=_0x58d712[_0x3f6f9c(0x12f)][_0x3f6f9c(0x146)](_0x3f6f9c(0x14f));if(!_0x541a28)return;const _0x94f879=this[_0x3f6f9c(0x156)](_0x58d712[_0x3f6f9c(0x143)][_0x3f6f9c(0x146)](_0x3f6f9c(0x142)))[_0x3f6f9c(0x16d)]((_0x17cd8d,_0x261bbd)=>{const _0x11fdd7=_0x3f6f9c,_0x504d2b=this[_0x11fdd7(0x16a)](_0x261bbd[_0x11fdd7(0x13b)]);return _0x17cd8d[_0x504d2b]||(_0x17cd8d[_0x504d2b]=[]),_0x17cd8d[_0x504d2b][_0x11fdd7(0x133)](_0x261bbd),_0x17cd8d;},{});_0x58d712[_0x3f6f9c(0x148)][_0x3f6f9c(0x151)](_0x3f6f9c(0x15a))&&_0x58d712[_0x3f6f9c(0x12f)][_0x3f6f9c(0x146)](_0x3f6f9c(0x14f))&&Object[_0x3f6f9c(0x165)](_0x94f879)[_0x3f6f9c(0x154)](([_0x3314be,_0x41fe3d])=>{const _0x327701=_0x3f6f9c;_0x58d712[_0x327701(0x148)][_0x327701(0x146)](_0x327701(0x15a))[_0x327701(0x12b)]({'name':_0x3314be,'observable':()=>_0x541a28,'buttonViewCreator':()=>this[_0x327701(0x15b)](_0x41fe3d),'formViewCreator':()=>this[_0x327701(0x147)](_0x41fe3d),'menuBarButtonViewCreator':()=>this[_0x327701(0x16c)](_0x41fe3d),'override':_0x327701(0x15e)!==_0x3314be});});}[_0x489f68(0x16f)](){const _0x44fa10=_0x489f68;super[_0x44fa10(0x16f)](),this[_0x44fa10(0x121)]&&clearInterval(this[_0x44fa10(0x121)]);}[_0x489f68(0x156)](_0x1da575){const _0x10d0ea=_0x489f68,{locale:_0xa4aaa0}=this[_0x10d0ea(0x163)];return _0x1da575[_0x10d0ea(0x15c)](_0x4f8514=>{const _0x2a1a1f=_0x10d0ea,_0x154a29=_0x4f815c(_0xa4aaa0,_0x4f8514,_0x2a1a1f(0x135));switch(_0x4f8514){case _0x4b079b[_0x2a1a1f(0x137)]:return{'icon':_0x4fcc01,'type':_0x4b079b[_0x2a1a1f(0x137)],..._0x154a29};case _0x4b079b[_0x2a1a1f(0x129)]:return{'icon':_0x222d51,'type':_0x4b079b[_0x2a1a1f(0x129)],..._0x154a29};case _0x4b079b[_0x2a1a1f(0x136)]:return{'icon':_0x4ac83f,'type':_0x4b079b[_0x2a1a1f(0x136)],..._0x154a29};case _0x4b079b[_0x2a1a1f(0x15f)]:return{'icon':_0x45c676,'type':_0x4b079b[_0x2a1a1f(0x15f)],..._0x154a29};case _0x4b079b[_0x2a1a1f(0x125)]:return{'icon':_0x4148de,'type':_0x4b079b[_0x2a1a1f(0x125)],..._0x154a29};case _0x4b079b[_0x2a1a1f(0x132)]:return{'icon':_0x3324d8,'type':_0x4b079b[_0x2a1a1f(0x132)],..._0x154a29};case _0x4b079b[_0x2a1a1f(0x12d)]:return{'icon':_0x4a1be3,'type':_0x4b079b[_0x2a1a1f(0x12d)],..._0x154a29};}});}[_0x489f68(0x16a)](_0x14482a){const _0x41c278=_0x489f68;switch(_0x14482a){case _0x4b079b[_0x41c278(0x137)]:return _0x41c278(0x13c);case _0x4b079b[_0x41c278(0x129)]:return _0x41c278(0x131);default:return _0x41c278(0x15e);}}[_0x489f68(0x149)](_0x362834,_0x50fa65){const _0x1ef24c=_0x489f68,_0x219e8d=this[_0x1ef24c(0x163)],_0x22dbdd=new _0x362834(_0x219e8d[_0x1ef24c(0x171)]),_0x2a5b70=_0x219e8d[_0x1ef24c(0x12f)][_0x1ef24c(0x146)](_0x1ef24c(0x14f));return _0x22dbdd[_0x1ef24c(0x170)](_0x1ef24c(0x150))['to'](_0x2a5b70),_0x22dbdd['on'](_0x1ef24c(0x157),()=>{const _0x5642ee=_0x1ef24c;_0x2a5b70[_0x5642ee(0x157)](_0x50fa65);}),_0x22dbdd;}[_0x489f68(0x15b)](_0x486173){const _0x53230c=_0x489f68,{locale:_0x10c333}=this[_0x53230c(0x163)],_0x1b8daf=this[_0x53230c(0x163)][_0x53230c(0x148)][_0x53230c(0x146)](_0x53230c(0x15a)),_0x5affaf=_0x486173[0x0],_0x12614a=this[_0x53230c(0x149)](_0x2a7ca1,_0x5affaf[_0x53230c(0x13b)]);return _0x12614a[_0x53230c(0x140)]=_0x5affaf[_0x53230c(0x140)],_0x12614a[_0x53230c(0x170)](_0x53230c(0x14b))['to'](_0x1b8daf,_0x53230c(0x124),_0x7d8d5b=>_0x4f815c(_0x10c333,_0x5affaf[_0x53230c(0x13b)],_0x7d8d5b?_0x53230c(0x161):_0x53230c(0x135))[_0x53230c(0x12a)]),_0x12614a[_0x53230c(0x144)]=!0x0,_0x12614a;}[_0x489f68(0x147)](_0x498179){const _0x2c060a=_0x489f68,{locale:_0x18e7e4}=this[_0x2c060a(0x163)],_0x37b695=this[_0x2c060a(0x163)][_0x2c060a(0x148)][_0x2c060a(0x146)](_0x2c060a(0x15a));return _0x498179[_0x2c060a(0x15c)](_0x2803f3=>{const _0x59f0c1=_0x2c060a,_0x7b2f3d=this[_0x59f0c1(0x149)](_0x2a7ca1,_0x2803f3[_0x59f0c1(0x13b)]);return _0x7b2f3d[_0x59f0c1(0x13d)]=!0x0,_0x7b2f3d[_0x59f0c1(0x140)]=_0x2803f3[_0x59f0c1(0x140)],_0x7b2f3d[_0x59f0c1(0x170)](_0x59f0c1(0x14b))['to'](_0x37b695,_0x59f0c1(0x124),_0x581df3=>_0x4f815c(_0x18e7e4,_0x2803f3[_0x59f0c1(0x13b)],_0x581df3?_0x59f0c1(0x161):_0x59f0c1(0x135))[_0x59f0c1(0x12a)]),_0x7b2f3d;});}[_0x489f68(0x16c)](_0x5c5bb7){const _0xfd7e2d=_0x489f68;return _0x5c5bb7[_0xfd7e2d(0x15c)](_0x535ea2=>{const _0x4e1168=_0xfd7e2d,_0x3e24dc=this[_0x4e1168(0x149)](_0x31fd42,_0x535ea2[_0x4e1168(0x13b)]);return _0x3e24dc[_0x4e1168(0x140)]=_0x535ea2[_0x4e1168(0x140)],_0x3e24dc[_0x4e1168(0x14b)]=_0x535ea2[_0x4e1168(0x168)],_0x3e24dc;});}}
23
+ const _0x18ea7b=_0x5627;(function(_0x58640b,_0x2d1dae){const _0x52280e=_0x5627,_0xbef2d8=_0x58640b();while(!![]){try{const _0x19225f=-parseInt(_0x52280e(0xdd))/0x1*(parseInt(_0x52280e(0x11d))/0x2)+parseInt(_0x52280e(0x11f))/0x3*(-parseInt(_0x52280e(0xf2))/0x4)+-parseInt(_0x52280e(0x105))/0x5+-parseInt(_0x52280e(0xf5))/0x6+parseInt(_0x52280e(0xe9))/0x7*(parseInt(_0x52280e(0xda))/0x8)+parseInt(_0x52280e(0x122))/0x9*(parseInt(_0x52280e(0xfd))/0xa)+parseInt(_0x52280e(0xd3))/0xb;if(_0x19225f===_0x2d1dae)break;else _0xbef2d8['push'](_0xbef2d8['shift']());}catch(_0x317d7a){_0xbef2d8['push'](_0xbef2d8['shift']());}}}(_0x3396,0xf1da7));import{Plugin as _0x4e3959}from'ckeditor5/src/core.js';import{IconDropbox as _0x501ee8,IconFacebook as _0xafd298,IconGoogleDrive as _0x2eae4d,IconGooglePhotos as _0xe7b7c8,IconUploadcareImageUpload as _0x4a3bf9,IconUploadcareLink as _0x3a93d2,IconOneDrive as _0x5ae0e9}from'ckeditor5/src/icons.js';import{ButtonView as _0xde787f,MenuBarMenuListItemButtonView as _0x41987a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4ea7b7}from'./uploadcareconfig.js';function _0x3396(){const _0x33c29c=['116BBVVnL','uploadcare.uploader.sourceList','15060nSObMZ','ImageInsertUI','withText','4852791iAUHEd','afterInit','domainLimit','38111700CjSoMJ','assetManager','_getIntegrationKey','uploadcareLicenseKeyDomainLimit','locale','UploadcareUI','entries','88RnDreq','commands','uploadcareLicenseKeyExpired','12851HccNcB','editor','registerIntegration','_createMenuBarButtons','Replace','map','type','pluginName','isImageSelected','featureNotAllowed','OneDrive','_licenseKeyCheckInterval','806953zKNJQn','expired','Local','bind','upload','Dropbox','destroy','url','init','424rQumKV','trialLimit','uploadcareLicenseKeyTrialLimit','10918866dqtExo','Facebook','_createToolbarButton','usageLimit','uploadcareLicenseKeyEvaluationLimit','shortText','isOfficialPlugin','text','10Rbtgza','uploadcareLicenseKeyValid','reduce','licenseKey','evaluationLimit','plugins','push','Uploadcare','5920240hnBred','icon','_createButton','get','_normalizeConfigSourceList','tooltip','isPremiumPlugin','has','execute','Insert','label','isEnabled','config','invalid','uploadcareLicenseKeyInvalid','forEach','URL','uploadcareLicenseKeyUsageLimit','_createDropdownButtons','_showLicenseError','GPhotos','uploadcare','uploadcareLicenseKeyNotAllowed','GDrive'];_0x3396=function(){return _0x33c29c;};return _0x3396();}function _0x5627(_0x17ce8a,_0x9f3546){const _0x339686=_0x3396();return _0x5627=function(_0x562700,_0x1ef014){_0x562700=_0x562700-0xd1;let _0x2388fe=_0x339686[_0x562700];return _0x2388fe;},_0x5627(_0x17ce8a,_0x9f3546);}import{getTranslation as _0x28734d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x4e3959{[_0x18ea7b(0x100)];[_0x18ea7b(0xe8)];static get[_0x18ea7b(0xe4)](){const _0x4acd17=_0x18ea7b;return _0x4acd17(0xd8);}static get[_0x18ea7b(0xfb)](){return!0x0;}static get[_0x18ea7b(0x10b)](){return!0x0;}[_0x18ea7b(0xf1)](){const _0x383288=_0x18ea7b;this[_0x383288(0x100)]=this[_0x383288(0xde)][_0x383288(0x111)][_0x383288(0x108)](_0x383288(0x100));const _0x88afbb=this[_0x383288(0xde)];this[_0x383288(0xe8)]=setInterval(()=>{const _0x1f552b=_0x383288;let _0x4d61c9;for(const _0x47cf3b in _0x88afbb){const _0x216e80=_0x47cf3b,_0x51d42c=_0x88afbb[_0x216e80];if(_0x1f552b(0xfe)==_0x51d42c||_0x1f552b(0x113)==_0x51d42c||_0x1f552b(0xdc)==_0x51d42c||_0x1f552b(0xd6)==_0x51d42c||_0x1f552b(0x11b)==_0x51d42c||_0x1f552b(0xf9)==_0x51d42c||_0x1f552b(0xf4)==_0x51d42c||_0x1f552b(0x116)==_0x51d42c){delete _0x88afbb[_0x216e80],_0x4d61c9=_0x51d42c,clearInterval(this[_0x1f552b(0xe8)]),this[_0x1f552b(0xe8)]=void 0x0;break;}}_0x1f552b(0x113)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0x112)),_0x1f552b(0xdc)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0xea)),_0x1f552b(0xd6)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0xd2)),_0x1f552b(0x11b)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0xe6),_0x1f552b(0x104)),_0x1f552b(0xf9)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0x101)),_0x1f552b(0xf4)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0xf3)),_0x1f552b(0x116)==_0x4d61c9&&_0x88afbb[_0x1f552b(0x118)](_0x1f552b(0xf8));},0x3e8);}[_0x18ea7b(0xd1)](){const _0x14a8c8=_0x18ea7b,{editor:_0x114eb7}=this,_0x3bd632=_0x114eb7[_0x14a8c8(0xdb)][_0x14a8c8(0x108)](_0x14a8c8(0x11a));if(!_0x3bd632)return;const _0x4041f6=this[_0x14a8c8(0x109)](_0x114eb7[_0x14a8c8(0x111)][_0x14a8c8(0x108)](_0x14a8c8(0x11e)))[_0x14a8c8(0xff)]((_0x4831cd,_0x5db425)=>{const _0x87f790=_0x14a8c8,_0x6a1460=this[_0x87f790(0xd5)](_0x5db425[_0x87f790(0xe3)]);return _0x4831cd[_0x6a1460]||(_0x4831cd[_0x6a1460]=[]),_0x4831cd[_0x6a1460][_0x87f790(0x103)](_0x5db425),_0x4831cd;},{});_0x114eb7[_0x14a8c8(0x102)][_0x14a8c8(0x10c)](_0x14a8c8(0x120))&&_0x114eb7[_0x14a8c8(0xdb)][_0x14a8c8(0x108)](_0x14a8c8(0x11a))&&Object[_0x14a8c8(0xd9)](_0x4041f6)[_0x14a8c8(0x114)](([_0x14516c,_0x2ccc92])=>{const _0x37cf59=_0x14a8c8;_0x114eb7[_0x37cf59(0x102)][_0x37cf59(0x108)](_0x37cf59(0x120))[_0x37cf59(0xdf)]({'name':_0x14516c,'observable':()=>_0x3bd632,'buttonViewCreator':()=>this[_0x37cf59(0xf7)](_0x2ccc92),'formViewCreator':()=>this[_0x37cf59(0x117)](_0x2ccc92),'menuBarButtonViewCreator':()=>this[_0x37cf59(0xe0)](_0x2ccc92),'override':_0x37cf59(0xd4)!==_0x14516c});});}[_0x18ea7b(0xef)](){const _0x4f5376=_0x18ea7b;super[_0x4f5376(0xef)](),this[_0x4f5376(0xe8)]&&clearInterval(this[_0x4f5376(0xe8)]);}[_0x18ea7b(0x109)](_0x623741){const _0x10bfed=_0x18ea7b,{locale:_0x4dc936}=this[_0x10bfed(0xde)];return _0x623741[_0x10bfed(0xe2)](_0x137963=>{const _0x28ed3a=_0x10bfed,_0x3b99d3=_0x28734d(_0x4dc936,_0x137963,_0x28ed3a(0x10e));switch(_0x137963){case _0x4ea7b7[_0x28ed3a(0xeb)]:return{'icon':_0x4a3bf9,'type':_0x4ea7b7[_0x28ed3a(0xeb)],..._0x3b99d3};case _0x4ea7b7[_0x28ed3a(0x115)]:return{'icon':_0x3a93d2,'type':_0x4ea7b7[_0x28ed3a(0x115)],..._0x3b99d3};case _0x4ea7b7[_0x28ed3a(0xee)]:return{'icon':_0x501ee8,'type':_0x4ea7b7[_0x28ed3a(0xee)],..._0x3b99d3};case _0x4ea7b7[_0x28ed3a(0xf6)]:return{'icon':_0xafd298,'type':_0x4ea7b7[_0x28ed3a(0xf6)],..._0x3b99d3};case _0x4ea7b7[_0x28ed3a(0x11c)]:return{'icon':_0x2eae4d,'type':_0x4ea7b7[_0x28ed3a(0x11c)],..._0x3b99d3};case _0x4ea7b7[_0x28ed3a(0x119)]:return{'icon':_0xe7b7c8,'type':_0x4ea7b7[_0x28ed3a(0x119)],..._0x3b99d3};case _0x4ea7b7[_0x28ed3a(0xe7)]:return{'icon':_0x5ae0e9,'type':_0x4ea7b7[_0x28ed3a(0xe7)],..._0x3b99d3};}});}[_0x18ea7b(0xd5)](_0x123b30){const _0x5c4349=_0x18ea7b;switch(_0x123b30){case _0x4ea7b7[_0x5c4349(0xeb)]:return _0x5c4349(0xed);case _0x4ea7b7[_0x5c4349(0x115)]:return _0x5c4349(0xf0);default:return _0x5c4349(0xd4);}}[_0x18ea7b(0x107)](_0x35f481,_0x2ba436){const _0x540a1d=_0x18ea7b,_0x37b5b0=this[_0x540a1d(0xde)],_0x3c7d5d=new _0x35f481(_0x37b5b0[_0x540a1d(0xd7)]),_0x30063c=_0x37b5b0[_0x540a1d(0xdb)][_0x540a1d(0x108)](_0x540a1d(0x11a));return _0x3c7d5d[_0x540a1d(0xec)](_0x540a1d(0x110))['to'](_0x30063c),_0x3c7d5d['on'](_0x540a1d(0x10d),()=>{const _0x3a36ee=_0x540a1d;_0x30063c[_0x3a36ee(0x10d)](_0x2ba436);}),_0x3c7d5d;}[_0x18ea7b(0xf7)](_0x57d94d){const _0x5829bb=_0x18ea7b,{locale:_0x3f7bf5}=this[_0x5829bb(0xde)],_0xd568f5=this[_0x5829bb(0xde)][_0x5829bb(0x102)][_0x5829bb(0x108)](_0x5829bb(0x120)),_0x2b0e88=_0x57d94d[0x0],_0x2f9be5=this[_0x5829bb(0x107)](_0xde787f,_0x2b0e88[_0x5829bb(0xe3)]);return _0x2f9be5[_0x5829bb(0x106)]=_0x2b0e88[_0x5829bb(0x106)],_0x2f9be5[_0x5829bb(0xec)](_0x5829bb(0x10f))['to'](_0xd568f5,_0x5829bb(0xe5),_0x2e7b8c=>_0x28734d(_0x3f7bf5,_0x2b0e88[_0x5829bb(0xe3)],_0x2e7b8c?_0x5829bb(0xe1):_0x5829bb(0x10e))[_0x5829bb(0xfc)]),_0x2f9be5[_0x5829bb(0x10a)]=!0x0,_0x2f9be5;}[_0x18ea7b(0x117)](_0x30f3b6){const _0x154f25=_0x18ea7b,{locale:_0x415095}=this[_0x154f25(0xde)],_0x29c6b9=this[_0x154f25(0xde)][_0x154f25(0x102)][_0x154f25(0x108)](_0x154f25(0x120));return _0x30f3b6[_0x154f25(0xe2)](_0x21f269=>{const _0x2bfbc7=_0x154f25,_0x2befe8=this[_0x2bfbc7(0x107)](_0xde787f,_0x21f269[_0x2bfbc7(0xe3)]);return _0x2befe8[_0x2bfbc7(0x121)]=!0x0,_0x2befe8[_0x2bfbc7(0x106)]=_0x21f269[_0x2bfbc7(0x106)],_0x2befe8[_0x2bfbc7(0xec)](_0x2bfbc7(0x10f))['to'](_0x29c6b9,_0x2bfbc7(0xe5),_0x34128d=>_0x28734d(_0x415095,_0x21f269[_0x2bfbc7(0xe3)],_0x34128d?_0x2bfbc7(0xe1):_0x2bfbc7(0x10e))[_0x2bfbc7(0xfc)]),_0x2befe8;});}[_0x18ea7b(0xe0)](_0xe6536a){const _0x5a57dd=_0x18ea7b;return _0xe6536a[_0x5a57dd(0xe2)](_0x31d15c=>{const _0x26b9ee=_0x5a57dd,_0x19e3fe=this[_0x26b9ee(0x107)](_0x41987a,_0x31d15c[_0x26b9ee(0xe3)]);return _0x19e3fe[_0x26b9ee(0x106)]=_0x31d15c[_0x26b9ee(0x106)],_0x19e3fe[_0x26b9ee(0x10f)]=_0x31d15c[_0x26b9ee(0xfa)],_0x19e3fe;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2197f9}from'ckeditor5/src/core.js';import{FileRepository as _0x56431d}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x5d29a3}from'./uploadcareediting.js';import{UploadUtils as _0x472f0f}from'./utils/uploadutils.js';import{getImageUrls as _0x304101}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2197f9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x56431d,_0x5d29a3];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x5deed2=this['editor'];if(!!!_0x5deed2['config']['get']('uploadcare'))return;_0x5deed2['plugins']['get'](_0x56431d)['createUploadAdapter']=_0x1b346c=>new k(_0x1b346c,_0x5deed2),_0x5deed2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x327d83,{imageElement:_0x2716c8,data:_0x403eb6})=>{_0x5deed2['model']['change'](_0x10738e=>{_0x10738e['setAttribute']('uploadcareImageId',_0x403eb6['uploadcareImageId'],_0x2716c8);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x20f68f,_0x455810){this['loader']=_0x20f68f,this['editor']=_0x455810,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x49f474=await this['loader']['file'];return _0x472f0f['upload']({'file':_0x49f474,'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':_0x4f9295=>{_0x4f9295&&_0x4f9295['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4f9295['value']);}})['then'](async _0x12e57c=>{const {imageFallbackUrl:_0x3b5838,imageSources:_0x3d4a0f}=_0x304101(_0x12e57c['cdnUrl'],_0x12e57c['imageInfo']['width']);return{'uploadcareImageId':_0x12e57c['uuid'],'default':_0x3b5838,'sources':_0x3d4a0f};})['catch'](()=>{const _0x4da106=t('Cannot\x20upload\x20file:')+('\x20'+_0x49f474['name']+'.');return Promise['reject'](_0x4da106);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5a92db}from'ckeditor5/src/core.js';import{FileRepository as _0x1eda7b}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x56482e}from'./uploadcareediting.js';import{UploadUtils as _0x9d7e16}from'./utils/uploadutils.js';import{getImageUrls as _0x432f92}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5a92db{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1eda7b,_0x56482e];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x453358=this['editor'];if(!!!_0x453358['config']['get']('uploadcare'))return;_0x453358['plugins']['get'](_0x1eda7b)['createUploadAdapter']=_0xc36231=>new k(_0xc36231,_0x453358),_0x453358['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x278fdc,{imageElement:_0x445d0e,data:_0x10a580})=>{_0x453358['model']['change'](_0x7d4b9f=>{_0x7d4b9f['setAttribute']('uploadcareImageId',_0x10a580['uploadcareImageId'],_0x445d0e);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x3c23b2,_0x1607ba){this['loader']=_0x3c23b2,this['editor']=_0x1607ba,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3d0a88=await this['loader']['file'];return _0x9d7e16['upload']({'file':_0x3d0a88,'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':_0x4cfa44=>{_0x4cfa44&&_0x4cfa44['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4cfa44['value']);}})['then'](async _0x453a44=>{const {imageFallbackUrl:_0x475a27,imageSources:_0x544221}=_0x432f92(_0x453a44['cdnUrl'],_0x453a44['imageInfo']['width']);return{'uploadcareImageId':_0x453a44['uuid'],'default':_0x475a27,'sources':_0x544221};})['catch'](()=>{const _0x537ed6=t('Cannot\x20upload\x20file:')+('\x20'+_0x3d0a88['name']+'.');return Promise['reject'](_0x537ed6);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x26dd2d}from'../uploadcareconfig.js';export function getTranslation(_0x4821bf,_0x2b13f1,_0x55148a){const t=_0x4821bf['t'],_0x531a92=_0x4821bf['t'];switch(_0x2b13f1){case _0x26dd2d['Local']:return{'text':_0x531a92('Insert'===_0x55148a?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x531a92('From\x20computer')};case _0x26dd2d['URL']:return{'text':'Insert'===_0x55148a?_0x531a92('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x531a92('Via\x20URL')};case _0x26dd2d['Dropbox']:return{'text':t('Insert'===_0x55148a?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x26dd2d['Facebook']:return{'text':t('Insert'===_0x55148a?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x26dd2d['GDrive']:return{'text':t('Insert'===_0x55148a?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x26dd2d['GPhotos']:return{'text':t('Insert'===_0x55148a?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x26dd2d['OneDrive']:return{'text':t('Insert'===_0x55148a?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2b13f1;}}
23
+ import{UploadcareSource as _0x54fb53}from'../uploadcareconfig.js';export function getTranslation(_0x4b5463,_0x58711e,_0x289f6c){const t=_0x4b5463['t'],_0x231bbf=_0x4b5463['t'];switch(_0x58711e){case _0x54fb53['Local']:return{'text':_0x231bbf('Insert'===_0x289f6c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x231bbf('From\x20computer')};case _0x54fb53['URL']:return{'text':'Insert'===_0x289f6c?_0x231bbf('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x231bbf('Via\x20URL')};case _0x54fb53['Dropbox']:return{'text':t('Insert'===_0x289f6c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x54fb53['Facebook']:return{'text':t('Insert'===_0x289f6c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x54fb53['GDrive']:return{'text':t('Insert'===_0x289f6c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x54fb53['GPhotos']:return{'text':t('Insert'===_0x289f6c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x54fb53['OneDrive']:return{'text':t('Insert'===_0x289f6c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x58711e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53f9e6=_0x3acf;function _0x3acf(_0x19cc69,_0x33a487){var _0x5a39d6=_0x5a39();return _0x3acf=function(_0x3acf81,_0x708bfd){_0x3acf81=_0x3acf81-0xa3;var _0x455c91=_0x5a39d6[_0x3acf81];return _0x455c91;},_0x3acf(_0x19cc69,_0x33a487);}(function(_0x5e8935,_0x2f9931){var _0x35dd35=_0x3acf,_0x1ebd28=_0x5e8935();while(!![]){try{var _0x49f61b=parseInt(_0x35dd35(0xa9))/0x1+parseInt(_0x35dd35(0xa5))/0x2+parseInt(_0x35dd35(0xb2))/0x3+-parseInt(_0x35dd35(0xaa))/0x4+-parseInt(_0x35dd35(0xab))/0x5*(-parseInt(_0x35dd35(0xae))/0x6)+-parseInt(_0x35dd35(0xb3))/0x7*(-parseInt(_0x35dd35(0xad))/0x8)+-parseInt(_0x35dd35(0xb5))/0x9*(parseInt(_0x35dd35(0xa8))/0xa);if(_0x49f61b===_0x2f9931)break;else _0x1ebd28['push'](_0x1ebd28['shift']());}catch(_0x505fed){_0x1ebd28['push'](_0x1ebd28['shift']());}}}(_0x5a39,0xb5c4f));import{FocusTracker as _0x12b36a}from'ckeditor5/src/utils.js';import{View as _0x6e3246,FocusCycler as _0x36df4a}from'ckeditor5/src/ui.js';function _0x5a39(){var _0x3f610e=['4645580xpkwxr','5ovITvo','getFocusableElement','16hvfUCY','2099148sUHvUr','true','focusCycler','createCollection','285891dzuOPy','3185252HBaEpH','focusTracker','108gGKVMv','forwardCycle','div','1723364lILsrv','bindTemplate','fire','1447610eybxAJ','1426145Hjusog'];_0x5a39=function(){return _0x3f610e;};return _0x5a39();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x6e3246{[_0x53f9e6(0xb4)];[_0x53f9e6(0xb0)];constructor(_0x2521e9){var _0x14db98=_0x53f9e6;super(_0x2521e9),this[_0x14db98(0xb4)]=new _0x12b36a(),this[_0x14db98(0xb0)]=new _0x36df4a({'focusables':this[_0x14db98(0xb1)](),'focusTracker':this[_0x14db98(0xb4)]});}[_0x53f9e6(0xac)](){var _0x5f0044=_0x53f9e6;return{'tag':_0x5f0044(0xa4),'attributes':{'aria-hidden':_0x5f0044(0xaf),'tabindex':'0'},'on':{'focus':this[_0x5f0044(0xa6)]['to'](()=>{var _0x1c0d14=_0x5f0044;this[_0x1c0d14(0xb0)][_0x1c0d14(0xa7)](_0x1c0d14(0xa3));})}};}}
23
+ var _0x1146ee=_0x1572;(function(_0x2db5a2,_0x3351ac){var _0x5485c3=_0x1572,_0x481078=_0x2db5a2();while(!![]){try{var _0x53dc77=parseInt(_0x5485c3(0x114))/0x1*(parseInt(_0x5485c3(0x10e))/0x2)+-parseInt(_0x5485c3(0x10a))/0x3*(parseInt(_0x5485c3(0x112))/0x4)+-parseInt(_0x5485c3(0x10d))/0x5*(-parseInt(_0x5485c3(0x11a))/0x6)+-parseInt(_0x5485c3(0x11b))/0x7+-parseInt(_0x5485c3(0x109))/0x8+parseInt(_0x5485c3(0x111))/0x9+parseInt(_0x5485c3(0x110))/0xa*(-parseInt(_0x5485c3(0x119))/0xb);if(_0x53dc77===_0x3351ac)break;else _0x481078['push'](_0x481078['shift']());}catch(_0xe83ed7){_0x481078['push'](_0x481078['shift']());}}}(_0x4d17,0xf2e36));import{FocusTracker as _0x204918}from'ckeditor5/src/utils.js';import{View as _0x1a6aa3,FocusCycler as _0x2c8e2a}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1572(_0x48618f,_0x54b5e7){var _0x4d17d5=_0x4d17();return _0x1572=function(_0x1572b4,_0x21e106){_0x1572b4=_0x1572b4-0x108;var _0x50bc7d=_0x4d17d5[_0x1572b4];return _0x50bc7d;},_0x1572(_0x48618f,_0x54b5e7);}function _0x4d17(){var _0x31eeed=['11077938JqapoS','28AqUhWy','fire','882851aXymSq','forwardCycle','focusCycler','focusTracker','div','11YiUBCd','3542298DGRgZB','2477692uHbncX','bindTemplate','8492912TQeSxo','13779sYWGmj','true','getFocusableElement','5yWMyub','4ISAVll','createCollection','11443760EKxRGn'];_0x4d17=function(){return _0x31eeed;};return _0x4d17();}export class DialogFocusManagerView extends _0x1a6aa3{[_0x1146ee(0x117)];[_0x1146ee(0x116)];constructor(_0x5c9f98){var _0x4956c7=_0x1146ee;super(_0x5c9f98),this[_0x4956c7(0x117)]=new _0x204918(),this[_0x4956c7(0x116)]=new _0x2c8e2a({'focusables':this[_0x4956c7(0x10f)](),'focusTracker':this[_0x4956c7(0x117)]});}[_0x1146ee(0x10c)](){var _0x21a49e=_0x1146ee;return{'tag':_0x21a49e(0x118),'attributes':{'aria-hidden':_0x21a49e(0x10b),'tabindex':'0'},'on':{'focus':this[_0x21a49e(0x108)]['to'](()=>{var _0x50ad44=_0x21a49e;this[_0x50ad44(0x116)][_0x50ad44(0x113)](_0x50ad44(0x115));})}};}}