@ckeditor/ckeditor5-uploadcare 47.3.0-alpha.0 → 47.3.0-alpha.2

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 _0x2cadc5=_0x22b5;(function(_0x4ea3eb,_0x391e3c){const _0x5be28e=_0x22b5,_0x5c33ea=_0x4ea3eb();while(!![]){try{const _0x3f30c9=parseInt(_0x5be28e(0x13c))/0x1+parseInt(_0x5be28e(0x11a))/0x2+parseInt(_0x5be28e(0x13b))/0x3+parseInt(_0x5be28e(0x144))/0x4+parseInt(_0x5be28e(0x12d))/0x5+-parseInt(_0x5be28e(0x13f))/0x6*(parseInt(_0x5be28e(0x125))/0x7)+-parseInt(_0x5be28e(0x164))/0x8*(parseInt(_0x5be28e(0x135))/0x9);if(_0x3f30c9===_0x391e3c)break;else _0x5c33ea['push'](_0x5c33ea['shift']());}catch(_0x319a67){_0x5c33ea['push'](_0x5c33ea['shift']());}}}(_0x71ae,0x24396));import{Plugin as _0xe6a033}from'ckeditor5/src/core.js';import{Dialog as _0x5e8726}from'ckeditor5/src/ui.js';import{createElement as _0x5dcad5,global as _0x49267a,uid as _0x4cd041}from'ckeditor5/src/utils.js';function _0x71ae(){const _0x414ddd=['commands','uploader-','contentLanguage','pluginName','_initCtx','replaceImageSource','locale','execute','154819lfxQOy','listenTo','uploadcareImageReplace','render','insertImage','getSelectedElement','PictureEditing','_initSchema','324550LrhGEG','once','appendChild','uc-upload-ctx-provider','_configElement','document','uc-config','cleanupImage','152190kREyND','#uc-icon-arrow-down','closeMax','map','input[uploadcare-file-input]','uploadcare','693705asszrD','124783xEUfQL','removeAttribute','_initConfig','18HHvRPV','conversion','add','\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','imageBlock','1021952VhLWqB','editor','iconHrefResolver','fromCharCode','config','downcast','upcast','href','selection','isRegistered','attributeToAttribute','uploadcareImageId','getAttribute','elementToAttribute','_initConversion','imageInline','ctxElement','uploadcare.pubkey','requires','UploadcareEditing','afterInit','for','extend','isPremiumPlugin','remove','destroy','true','model','configElement','querySelector','ucContextId','editing','296CSEQok','schema','isOfficialPlugin','join','init','_initImageProcessingIndicator','view','get','uploadcare.uploader','body','327958xhlPPn','_ctxElement','data-uc-image-id'];_0x71ae=function(){return _0x414ddd;};return _0x71ae();}import{UploadcareCommand as _0x156e03}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x24224e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x4e5b6d}from'./utils/editingutils.js';function _0x22b5(_0x2a35f4,_0x4db4f9){const _0x71aefc=_0x71ae();return _0x22b5=function(_0x22b5ec,_0x424135){_0x22b5ec=_0x22b5ec-0x11a;let _0x43b5ee=_0x71aefc[_0x22b5ec];return _0x43b5ee;},_0x22b5(_0x2a35f4,_0x4db4f9);}export class UploadcareEditing extends _0xe6a033{[_0x2cadc5(0x131)]=null;[_0x2cadc5(0x11b)]=null;static get[_0x2cadc5(0x120)](){const _0x2a7894=_0x2cadc5;return _0x2a7894(0x157);}static get[_0x2cadc5(0x156)](){const _0x146962=_0x2cadc5;return[_0x146962(0x12b),_0x24224e,_0x5e8726];}static get[_0x2cadc5(0x166)](){return!0x0;}static get[_0x2cadc5(0x15b)](){return!0x0;}[_0x2cadc5(0x162)];get[_0x2cadc5(0x160)](){const _0x194486=_0x2cadc5;return this[_0x194486(0x131)];}get[_0x2cadc5(0x154)](){const _0x4701c4=_0x2cadc5;return this[_0x4701c4(0x11b)];}constructor(_0x5111fd){const _0x3ead4d=_0x2cadc5;super(_0x5111fd),this[_0x3ead4d(0x162)]=_0x4cd041();}[_0x2cadc5(0x168)](){const _0x4042b1=_0x2cadc5,_0xd69250=this[_0x4042b1(0x145)];_0xd69250[_0x4042b1(0x11d)][_0x4042b1(0x141)](_0x4042b1(0x13a),new _0x156e03(_0xd69250));}[_0x2cadc5(0x158)](){const _0x12d3f8=_0x2cadc5;this[_0x12d3f8(0x12c)](),this[_0x12d3f8(0x152)](),this[_0x12d3f8(0x13e)](),this[_0x12d3f8(0x121)](),this[_0x12d3f8(0x169)](),this[_0x12d3f8(0x126)](this[_0x12d3f8(0x145)],_0x12d3f8(0x15d),()=>{const _0x5783e2=_0x12d3f8;this[_0x5783e2(0x131)]&&(this[_0x5783e2(0x131)][_0x5783e2(0x15c)](),this[_0x5783e2(0x131)]=null),this[_0x5783e2(0x11b)]&&(this[_0x5783e2(0x11b)][_0x5783e2(0x15c)](),this[_0x5783e2(0x11b)]=null);const _0x1e8290=_0x49267a[_0x5783e2(0x132)][_0x5783e2(0x161)](_0x5783e2(0x139));_0x1e8290&&_0x1e8290[_0x5783e2(0x15c)]();}),async function(_0x2a297f){const _0x3c1f04=_0x4c59cc([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]),_0x1d840d=0x535f8c3a,_0x5b3f27=0x5358f60a^_0x1d840d,_0x125345=window[_0x4c59cc([0x44,0x61,0x74,0x65])][_0x4c59cc([0x6e,0x6f,0x77])](),_0x5be231=_0x2a297f[_0x4c59cc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x457d97=new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b4f78=>{_0x5be231[_0x4c59cc([0x6f,0x6e,0x63,0x65])](_0x4c59cc([0x72,0x65,0x61,0x64,0x79]),_0x4b4f78);}),_0x1e69ec={[_0x4c59cc([0x6b,0x74,0x79])]:_0x4c59cc([0x45,0x43]),[_0x4c59cc([0x75,0x73,0x65])]:_0x4c59cc([0x73,0x69,0x67]),[_0x4c59cc([0x63,0x72,0x76])]:_0x4c59cc([0x50,0x2d,0x32,0x35,0x36]),[_0x4c59cc([0x78])]:_0x4c59cc([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]),[_0x4c59cc([0x79])]:_0x4c59cc([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]),[_0x4c59cc([0x61,0x6c,0x67])]:_0x4c59cc([0x45,0x53,0x32,0x35,0x36])},_0x3b5ca0=_0x5be231[_0x4c59cc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c59cc([0x67,0x65,0x74])](_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27f00a(){let _0x3e7dbe,_0x16f879=null,_0xd1f20=null;try{if(_0x3b5ca0==_0x4c59cc([0x47,0x50,0x4c]))return _0x4c59cc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3e7dbe=_0x54856c(),!_0x3e7dbe)return _0x4c59cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3e7dbe[_0x4c59cc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd1f20=_0x2ade7d(_0x3e7dbe[_0x4c59cc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3e7dbe[_0x4c59cc([0x6a,0x74,0x69])])),await _0x52eb29()?_0x5b80eb()?_0x4da405()?_0x4c59cc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19b23d()?(_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c59cc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16f879=_0x3c286a(_0x4c59cc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c59cc([0x74,0x72,0x69,0x61,0x6c])&&(_0x16f879=_0x3c286a(_0x4c59cc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22a433()):_0x4c59cc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c59cc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c59cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4c59cc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4da405(){const _0x5a369f=[_0x4c59cc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c59cc([0x74,0x72,0x69,0x61,0x6c])][_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x125345/0x3e8:0xe10*_0x5b3f27;return _0x3e7dbe[_0x4c59cc([0x65,0x78,0x70])]<_0x5a369f;}function _0x5b80eb(){const _0x3adf32=_0x3e7dbe[_0x4c59cc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3adf32&&(!!_0x3adf32[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c59cc([0x2a]))||!!_0x3adf32[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c59cc([0x55,0x50,0x4c,0x43])));}function _0x19b23d(){const _0x2e30b6=_0x22b5,_0xfb25f3=_0x3e7dbe[_0x4c59cc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xfb25f3||0x0==_0xfb25f3[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5349fb}=new URL(window[_0x4c59cc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e30b6(0x14b)]);if(_0xfb25f3[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5349fb))return!0x0;const _0x49bd04=_0x5349fb[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e]));return _0xfb25f3[_0x4c59cc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50babf=>_0x50babf[_0x4c59cc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c59cc([0x2a])))[_0x4c59cc([0x6d,0x61,0x70])](_0x5f213f=>_0x5f213f[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e])))[_0x4c59cc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b72b5=>_0x1b72b5[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x49bd04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c59cc([0x6d,0x61,0x70])](_0x1fc5c2=>Array(_0x49bd04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fc5c2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4c59cc([0x66,0x69,0x6c,0x6c])](_0x1fc5c2[0x0]===_0x4c59cc([0x2a])?_0x4c59cc([0x2a]):'')[_0x4c59cc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fc5c2))[_0x4c59cc([0x73,0x6f,0x6d,0x65])](_0x534864=>_0x49bd04[_0x4c59cc([0x65,0x76,0x65,0x72,0x79])]((_0x4e5585,_0x723666)=>_0x534864[_0x723666]===_0x4e5585||_0x534864[_0x723666]===_0x4c59cc([0x2a])));}function _0x22a433(){return _0x16f879&&_0xd1f20?new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b4037,_0xc066f1)=>{_0x16f879[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x2b4037,_0xc066f1),_0xd1f20[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x23dc4e=>{_0x23dc4e!=_0x4c59cc([0x56,0x61,0x6c,0x69,0x64])&&_0x2b4037(_0x23dc4e);},_0xc066f1);}):_0x16f879||_0xd1f20||_0x4c59cc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ade7d(_0x388b25,_0x1d945c){return new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e0b85=>{if(_0x214dd8())return _0x4e0b85(_0x4c59cc([0x56,0x61,0x6c,0x69,0x64]));_0xee2030(),_0x5be231[_0x4c59cc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c59cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe53e71=!0x1;const _0x52a4c6=_0x4cd041();function _0x5f7450(_0xef061b){return!!_0xef061b&&(typeof _0xef061b===_0x4c59cc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xef061b===_0x4c59cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xef061b[_0x4c59cc([0x74,0x68,0x65,0x6e])]===_0x4c59cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xef061b[_0x4c59cc([0x63,0x61,0x74,0x63,0x68])]===_0x4c59cc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x344627(_0x2b39b0){_0x23b6f8(_0x2b39b0)[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x12cbda=>{if(!_0x12cbda||_0x12cbda[_0x4c59cc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c59cc([0x6f,0x6b]))return _0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x319c98(_0x273f5b(_0x52a4c6+_0x1d945c))!=_0x12cbda[_0x4c59cc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c59cc([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x545a46=>(_0x22f23a(),_0x545a46),()=>{const _0x576436=_0x1d1ac7();return null==_0x576436?(_0x22f23a(),_0x4c59cc([0x56,0x61,0x6c,0x69,0x64])):_0x4c59cc(_0x125345-_0x576436>(0x7753083a^_0x1d840d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x4e0b85)[_0x4c59cc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e0b85(_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbae39c=0x536962ba^_0x1d840d;function _0x22f23a(){const _0x464044=_0x4c59cc([0x6c,0x6c,0x63,0x74,0x2d])+_0x319c98(_0x273f5b(_0x388b25)),_0xced0ef=_0x19887c(_0x319c98(window[_0x4c59cc([0x4d,0x61,0x74,0x68])][_0x4c59cc([0x63,0x65,0x69,0x6c])](_0x125345/_0xbae39c)));window[_0x4c59cc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c59cc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x464044,_0xced0ef);}function _0x1d1ac7(){const _0x11f197=_0x4c59cc([0x6c,0x6c,0x63,0x74,0x2d])+_0x319c98(_0x273f5b(_0x388b25)),_0x40730a=window[_0x4c59cc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c59cc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11f197);return _0x40730a?window[_0x4c59cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19887c(_0x40730a),0x10)*_0xbae39c:null;}function _0x23b6f8(_0x10c1cf){return new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b543a,_0x454e73)=>{_0x10c1cf[_0x4c59cc([0x74,0x68,0x65,0x6e])](_0x3b543a,_0x454e73),window[_0x4c59cc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x454e73,0x535e58fa^_0x1d840d);});}}_0x5be231[_0x4c59cc([0x6f,0x6e])](_0x4c59cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1900c5,_0x489ca9)=>{if(_0x489ca9[0x0]!=_0x388b25)return _0x4e0b85(_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x489ca9[0x1]={..._0x489ca9[0x1],[_0x4c59cc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52a4c6};},{[_0x4c59cc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c59cc([0x68,0x69,0x67,0x68])}),_0x5be231[_0x4c59cc([0x6f,0x6e])](_0x4c59cc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b050e=>{_0x5f7450(_0x5b050e[_0x4c59cc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe53e71=!0x0,_0x344627(_0x5b050e[_0x4c59cc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c59cc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c59cc([0x6c,0x6f,0x77])}),_0x457d97[_0x4c59cc([0x74,0x68,0x65,0x6e])](()=>{_0xe53e71||_0x4e0b85(_0x4c59cc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x214dd8(){return _0x5be231[_0x4c59cc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c59cc([0x76,0x69,0x65,0x77])][_0x4c59cc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c59cc([0x61,0x75,0x74,0x6f]);}function _0xee2030(){_0x5be231[_0x4c59cc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c59cc([0x76,0x69,0x65,0x77])][_0x4c59cc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c59cc([0x61,0x75,0x74,0x6f]);}}function _0x3c286a(_0x311787){const _0x5ea8b4=[new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b763b=>setTimeout(_0x2b763b,0x5356b2f6^_0x1d840d)),_0x457d97[_0x4c59cc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35f84e=>{let _0x16f6b4=0x0;_0x5be231[_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c59cc([0x6f,0x6e])](_0x4c59cc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40cc1d,_0x364242)=>{_0x364242[0x0][_0x4c59cc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16f6b4++,_0x16f6b4==(0x535f8dc2^_0x1d840d)&&(_0x35f84e(),_0x40cc1d[_0x4c59cc([0x6f,0x66,0x66])]());});}))];return window[_0x4c59cc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c59cc([0x72,0x61,0x63,0x65])](_0x5ea8b4)[_0x4c59cc([0x74,0x68,0x65,0x6e])](()=>_0x311787);}async function _0x8590ad(){await _0x457d97,_0x5be231[_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c59cc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a65bb,_0x5be231[_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c59cc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a65bb,_0x5be231[_0x4c59cc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c59cc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17efd3(_0xb49928){const _0xe37c91=_0x3bfbfb();_0x5be231[_0xe37c91]=_0x4c59cc([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb49928,_0xb49928!=_0x4c59cc([0x56,0x61,0x6c,0x69,0x64])&&_0x8590ad();}function _0x3bfbfb(){const _0xea24ab=window[_0x4c59cc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c59cc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c59cc([0x6e,0x6f,0x77])]())[_0x4c59cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c59cc([0x2e]),'');let _0x393fad=_0x4c59cc([0x68]);for(let _0x58b877=0x0;_0x58b877<_0xea24ab[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b877+=0x2){let _0xaeae75=window[_0x4c59cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xea24ab[_0x4c59cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58b877,_0x58b877+0x2));_0xaeae75>=_0x3c1f04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xaeae75-=_0x3c1f04[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x393fad+=_0x3c1f04[_0xaeae75];}return _0x393fad;}function _0x54856c(){const _0x479457=_0x3b5ca0[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e]));if(0x3!=_0x479457[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d6a5e(_0x479457[0x1]);function _0x3d6a5e(_0x26d325){const _0x1d6e93=_0x35bf62(_0x26d325);return _0x1d6e93&&_0x1e7ced()?_0x1d6e93:null;function _0x1e7ced(){const _0x8f46f2=_0x1d6e93[_0x4c59cc([0x6a,0x74,0x69])],_0x2ae75b=window[_0x4c59cc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8f46f2[_0x4c59cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8f46f2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58ac6d={..._0x1d6e93,[_0x4c59cc([0x6a,0x74,0x69])]:_0x8f46f2[_0x4c59cc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8f46f2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58ac6d[_0x4c59cc([0x76,0x63])],_0x273f5b(_0x58ac6d)==_0x2ae75b;}}}async function _0x52eb29(){let _0x121657=!0x0;try{const _0x1a9420=_0x3b5ca0[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])](_0x4c59cc([0x2e])),[_0x3d158d,_0x364839,_0x4058bb]=_0x1a9420;return _0x3ca035(_0x3d158d),await _0x153666(_0x3d158d,_0x364839,_0x4058bb),_0x121657;}catch{return!0x1;}function _0x3ca035(_0xdd6a4f){const _0x1f7dcc=_0x35bf62(_0xdd6a4f);_0x1f7dcc&&_0x1f7dcc[_0x4c59cc([0x61,0x6c,0x67])]==_0x4c59cc([0x45,0x53,0x32,0x35,0x36])||(_0x121657=!0x1);}async function _0x153666(_0x6ba770,_0x30b541,_0x487c69){const _0x4f3590=window[_0x4c59cc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c59cc([0x66,0x72,0x6f,0x6d])](_0x593b3e(_0x487c69),_0x2b07be=>_0x2b07be[_0x4c59cc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57ce19=new window[(_0x4c59cc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c59cc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6ba770+_0x4c59cc([0x2e])+_0x30b541),_0x3e4485=window[_0x4c59cc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c59cc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e4485)return;const _0x11d2c9=await _0x3e4485[_0x4c59cc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c59cc([0x6a,0x77,0x6b]),_0x1e69ec,{[_0x4c59cc([0x6e,0x61,0x6d,0x65])]:_0x4c59cc([0x45,0x43,0x44,0x53,0x41]),[_0x4c59cc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c59cc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c59cc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e4485[_0x4c59cc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c59cc([0x6e,0x61,0x6d,0x65])]:_0x4c59cc([0x45,0x43,0x44,0x53,0x41]),[_0x4c59cc([0x68,0x61,0x73,0x68])]:{[_0x4c59cc([0x6e,0x61,0x6d,0x65])]:_0x4c59cc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11d2c9,_0x4f3590,_0x57ce19)||(_0x121657=!0x1);}}function _0x35bf62(_0x4a5bb4){return _0x4a5bb4[_0x4c59cc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c59cc([0x65,0x79]))?JSON[_0x4c59cc([0x70,0x61,0x72,0x73,0x65])](_0x593b3e(_0x4a5bb4)):null;}function _0x593b3e(_0x32c07c){return window[_0x4c59cc([0x61,0x74,0x6f,0x62])](_0x32c07c[_0x4c59cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c59cc([0x2b]))[_0x4c59cc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c59cc([0x2f])));}function _0x273f5b(_0x5ddee6){let _0x2a442f=0x1505;function _0x12c70c(_0x1a6ce2){for(let _0x5df680=0x0;_0x5df680<_0x1a6ce2[_0x4c59cc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5df680++){const _0x4c6776=_0x1a6ce2[_0x4c59cc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5df680);_0x2a442f=(_0x2a442f<<0x5)+_0x2a442f+_0x4c6776,_0x2a442f&=_0x2a442f;}}function _0x4c938d(_0x599e83){Array[_0x4c59cc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x599e83)?_0x599e83[_0x4c59cc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c938d):_0x599e83&&typeof _0x599e83==_0x4c59cc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c59cc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x599e83)[_0x4c59cc([0x73,0x6f,0x72,0x74])]()[_0x4c59cc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39f546,_0x135239])=>{_0x12c70c(_0x39f546),_0x4c938d(_0x135239);}):_0x12c70c(window[_0x4c59cc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x599e83));}return _0x4c938d(_0x5ddee6),_0x2a442f>>>0x0;}function _0x319c98(_0x4b6964){return _0x4b6964[_0x4c59cc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c59cc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c59cc([0x30]));}function _0x19887c(_0x1d68b3){return _0x1d68b3[_0x4c59cc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c59cc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c59cc([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a65bb(){}function _0x4c59cc(_0x588184){const _0x1bd809=_0x22b5;return _0x588184[_0x1bd809(0x138)](_0x347f22=>String[_0x1bd809(0x147)](_0x347f22))[_0x1bd809(0x167)]('');}_0x17efd3(await _0x27f00a());}(this);}[_0x2cadc5(0x12c)](){const _0x5d210d=_0x2cadc5,_0x50697a=this[_0x5d210d(0x145)][_0x5d210d(0x15f)][_0x5d210d(0x165)];_0x50697a[_0x5d210d(0x14d)](_0x5d210d(0x143))&&_0x50697a[_0x5d210d(0x15a)](_0x5d210d(0x143),{'allowAttributes':[_0x5d210d(0x14f)]}),_0x50697a[_0x5d210d(0x14d)](_0x5d210d(0x153))&&_0x50697a[_0x5d210d(0x15a)](_0x5d210d(0x153),{'allowAttributes':[_0x5d210d(0x14f)]});}[_0x2cadc5(0x152)](){const _0x4c0db4=_0x2cadc5,_0x26b6fe=this[_0x4c0db4(0x145)];_0x26b6fe[_0x4c0db4(0x140)][_0x4c0db4(0x159)](_0x4c0db4(0x149))[_0x4c0db4(0x14e)]({'model':_0x4c0db4(0x14f),'view':_0x4c0db4(0x11c)}),_0x26b6fe[_0x4c0db4(0x140)][_0x4c0db4(0x159)](_0x4c0db4(0x14a))[_0x4c0db4(0x151)]({'model':{'key':_0x4c0db4(0x14f),'value':_0x5d8868=>_0x5d8868[_0x4c0db4(0x150)](_0x4c0db4(0x11c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x456559=_0x26b6fe[_0x4c0db4(0x11d)][_0x4c0db4(0x16b)](_0x4c0db4(0x122));_0x456559&&this[_0x4c0db4(0x126)](_0x456559,_0x4c0db4(0x134),(_0x55c761,[_0x1194bd,_0x160b83])=>{const _0x1b903e=_0x4c0db4;_0x1194bd[_0x1b903e(0x13d)](_0x1b903e(0x14f),_0x160b83);});}[_0x2cadc5(0x13e)](){const _0x2beeb9=_0x2cadc5,_0x36b6d2=this[_0x2beeb9(0x145)][_0x2beeb9(0x148)][_0x2beeb9(0x16b)](_0x2beeb9(0x16c))||{},_0x4b80ac=this[_0x2beeb9(0x145)][_0x2beeb9(0x148)][_0x2beeb9(0x16b)](_0x2beeb9(0x155))||'';this[_0x2beeb9(0x131)]=_0x5dcad5(_0x49267a[_0x2beeb9(0x132)],_0x2beeb9(0x133),{..._0x36b6d2,'pubkey':_0x4b80ac,'ctx-name':_0x2beeb9(0x11e)+this[_0x2beeb9(0x162)],'sourceList':'','imgOnly':_0x2beeb9(0x15e),'removeCopyright':_0x2beeb9(0x15e),'localeName':this[_0x2beeb9(0x145)][_0x2beeb9(0x123)][_0x2beeb9(0x11f)],'externalSourcesEmbedCss':_0x2beeb9(0x142)}),this[_0x2beeb9(0x131)][_0x2beeb9(0x146)]=_0x106dec=>{const _0x283e54=_0x2beeb9;if(_0x283e54(0x137)==_0x106dec)return _0x283e54(0x136);},_0x49267a[_0x2beeb9(0x132)][_0x2beeb9(0x16d)][_0x2beeb9(0x12f)](this[_0x2beeb9(0x131)]);}[_0x2cadc5(0x121)](){const _0x5557b9=_0x2cadc5;this[_0x5557b9(0x11b)]=_0x5dcad5(_0x49267a[_0x5557b9(0x132)],_0x5557b9(0x130),{'ctx-name':_0x5557b9(0x11e)+this[_0x5557b9(0x162)]}),_0x49267a[_0x5557b9(0x132)][_0x5557b9(0x16d)][_0x5557b9(0x12f)](this[_0x5557b9(0x11b)]);}[_0x2cadc5(0x169)](){const _0x15d649=_0x2cadc5,_0x4a7a2a=this[_0x15d649(0x145)][_0x15d649(0x11d)][_0x15d649(0x16b)](_0x15d649(0x129));_0x4a7a2a&&this[_0x15d649(0x126)](_0x4a7a2a,_0x15d649(0x124),()=>{const _0xcd9a7=_0x15d649,_0x5db892=this[_0xcd9a7(0x145)][_0xcd9a7(0x15f)][_0xcd9a7(0x132)][_0xcd9a7(0x14c)][_0xcd9a7(0x12a)]();_0x5db892&&_0x5db892[_0xcd9a7(0x150)](_0xcd9a7(0x14f))&&this[_0xcd9a7(0x145)][_0xcd9a7(0x163)][_0xcd9a7(0x16a)][_0xcd9a7(0x12e)](_0xcd9a7(0x128),()=>{const _0x5b15eb=_0xcd9a7;_0x4e5b6d(this[_0x5b15eb(0x145)],_0x5db892);});});const _0x614095=this[_0x15d649(0x145)][_0x15d649(0x11d)][_0x15d649(0x16b)](_0x15d649(0x127));_0x614095&&this[_0x15d649(0x126)](_0x614095,_0x15d649(0x124),()=>{const _0x1593cd=_0x15d649,_0x2807a0=this[_0x1593cd(0x145)][_0x1593cd(0x15f)][_0x1593cd(0x132)][_0x1593cd(0x14c)][_0x1593cd(0x12a)]();_0x2807a0&&_0x2807a0[_0x1593cd(0x150)](_0x1593cd(0x14f))&&this[_0x1593cd(0x145)][_0x1593cd(0x163)][_0x1593cd(0x16a)][_0x1593cd(0x12e)](_0x1593cd(0x128),()=>{const _0x3cc584=_0x1593cd;_0x4e5b6d(this[_0x3cc584(0x145)],_0x2807a0);});});}}
23
+ const _0x5c59df=_0x2536;(function(_0x35b5d9,_0xc98eeb){const _0x55f21e=_0x2536,_0x48e97f=_0x35b5d9();while(!![]){try{const _0x16a8da=parseInt(_0x55f21e(0x1d2))/0x1+-parseInt(_0x55f21e(0x1f1))/0x2*(parseInt(_0x55f21e(0x209))/0x3)+-parseInt(_0x55f21e(0x1f4))/0x4+parseInt(_0x55f21e(0x1de))/0x5+-parseInt(_0x55f21e(0x214))/0x6+-parseInt(_0x55f21e(0x1d1))/0x7*(parseInt(_0x55f21e(0x206))/0x8)+parseInt(_0x55f21e(0x21c))/0x9*(parseInt(_0x55f21e(0x20a))/0xa);if(_0x16a8da===_0xc98eeb)break;else _0x48e97f['push'](_0x48e97f['shift']());}catch(_0x32254b){_0x48e97f['push'](_0x48e97f['shift']());}}}(_0x5759,0xebc68));import{Plugin as _0x35929d}from'ckeditor5/src/core.js';function _0x2536(_0x359798,_0x56ae67){const _0x57593c=_0x5759();return _0x2536=function(_0x25368f,_0x369271){_0x25368f=_0x25368f-0x1cf;let _0x3a56d4=_0x57593c[_0x25368f];return _0x3a56d4;},_0x2536(_0x359798,_0x56ae67);}import{Dialog as _0xd360df}from'ckeditor5/src/ui.js';import{createElement as _0x22c3dc,global as _0x3c9ee4,uid as _0x2b9c32}from'ckeditor5/src/utils.js';function _0x5759(){const _0x1e4e00=['elementToAttribute','uploader-','view','uc-upload-ctx-provider','uploadcare.pubkey','execute','isOfficialPlugin','7qpmlbL','4239fCCOuu','input[uploadcare-file-input]','attributeToAttribute','config','render','upcast','UploadcareEditing','cleanupImage','_configElement','document','data-uc-image-id','removeAttribute','7082365nGixca','remove','locale','get','closeMax','commands','uploadcareImageId','insertImage','requires','ctxElement','model','href','replaceImageSource','map','_initConversion','getAttribute','editing','#uc-icon-arrow-down','_initImageProcessingIndicator','91074bdosec','querySelector','imageInline','660592yvxROm','getSelectedElement','uploadcare.uploader','_initSchema','uploadcareImageReplace','init','imageBlock','selection','_initConfig','afterInit','appendChild','pluginName','schema','ucContextId','_initCtx','PictureEditing','for','isPremiumPlugin','14222456RuEUKc','_ctxElement','uploadcare','42xPqjek','150CckaFg','editor','configElement','downcast','contentLanguage','fromCharCode','join','uc-config','iconHrefResolver','once','464868PsyOkF','true','add','conversion','body','destroy','isRegistered','listenTo','1321785AUwtsN','\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','extend'];_0x5759=function(){return _0x1e4e00;};return _0x5759();}import{UploadcareCommand as _0x3b1c6e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x40c9a8}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1a8720}from'./utils/editingutils.js';export class UploadcareEditing extends _0x35929d{[_0x5c59df(0x1da)]=null;[_0x5c59df(0x207)]=null;static get[_0x5c59df(0x1ff)](){const _0x4185ff=_0x5c59df;return _0x4185ff(0x1d8);}static get[_0x5c59df(0x1e6)](){const _0x3eb328=_0x5c59df;return[_0x3eb328(0x203),_0x40c9a8,_0xd360df];}static get[_0x5c59df(0x1d0)](){return!0x0;}static get[_0x5c59df(0x205)](){return!0x0;}[_0x5c59df(0x201)];get[_0x5c59df(0x20c)](){const _0x500c92=_0x5c59df;return this[_0x500c92(0x1da)];}get[_0x5c59df(0x1e7)](){const _0x5dd4b1=_0x5c59df;return this[_0x5dd4b1(0x207)];}constructor(_0x4e491a){const _0x565fa6=_0x5c59df;super(_0x4e491a),this[_0x565fa6(0x201)]=_0x2b9c32();}[_0x5c59df(0x1f9)](){const _0x344d49=_0x5c59df,_0x5a85da=this[_0x344d49(0x20b)];_0x5a85da[_0x344d49(0x1e3)][_0x344d49(0x216)](_0x344d49(0x208),new _0x3b1c6e(_0x5a85da));}[_0x5c59df(0x1fd)](){const _0x334ed2=_0x5c59df;this[_0x334ed2(0x1f7)](),this[_0x334ed2(0x1ec)](),this[_0x334ed2(0x1fc)](),this[_0x334ed2(0x202)](),this[_0x334ed2(0x1f0)](),this[_0x334ed2(0x21b)](this[_0x334ed2(0x20b)],_0x334ed2(0x219),()=>{const _0x2336ac=_0x334ed2;this[_0x2336ac(0x1da)]&&(this[_0x2336ac(0x1da)][_0x2336ac(0x1df)](),this[_0x2336ac(0x1da)]=null),this[_0x2336ac(0x207)]&&(this[_0x2336ac(0x207)][_0x2336ac(0x1df)](),this[_0x2336ac(0x207)]=null);const _0xaa1547=_0x3c9ee4[_0x2336ac(0x1db)][_0x2336ac(0x1f2)](_0x2336ac(0x1d3));_0xaa1547&&_0xaa1547[_0x2336ac(0x1df)]();}),async function(_0x5525e5){const _0x4e05f3=_0x1c6f0f([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]),_0x34673c=0x535f8c3a,_0x1fd297=0x5358f65a^_0x34673c,_0x444440=window[_0x1c6f0f([0x44,0x61,0x74,0x65])][_0x1c6f0f([0x6e,0x6f,0x77])](),_0x9728f3=_0x5525e5[_0x1c6f0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3aff57=new window[(_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c781=>{_0x9728f3[_0x1c6f0f([0x6f,0x6e,0x63,0x65])](_0x1c6f0f([0x72,0x65,0x61,0x64,0x79]),_0x47c781);}),_0x436be4={[_0x1c6f0f([0x6b,0x74,0x79])]:_0x1c6f0f([0x45,0x43]),[_0x1c6f0f([0x75,0x73,0x65])]:_0x1c6f0f([0x73,0x69,0x67]),[_0x1c6f0f([0x63,0x72,0x76])]:_0x1c6f0f([0x50,0x2d,0x32,0x35,0x36]),[_0x1c6f0f([0x78])]:_0x1c6f0f([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]),[_0x1c6f0f([0x79])]:_0x1c6f0f([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]),[_0x1c6f0f([0x61,0x6c,0x67])]:_0x1c6f0f([0x45,0x53,0x32,0x35,0x36])},_0xca37d5=_0x9728f3[_0x1c6f0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c6f0f([0x67,0x65,0x74])](_0x1c6f0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xde6b7c(){let _0x1b4ca0,_0x577749=null,_0x64f40a=null;try{if(_0xca37d5==_0x1c6f0f([0x47,0x50,0x4c]))return _0x1c6f0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b4ca0=_0x5a84f6(),!_0x1b4ca0)return _0x1c6f0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b4ca0[_0x1c6f0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x64f40a=_0x5d8d2a(_0x1b4ca0[_0x1c6f0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b4ca0[_0x1c6f0f([0x6a,0x74,0x69])])),await _0x3cb170()?_0x11368b()?_0x1186fb()?_0x1c6f0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4802fb()?(_0x1b4ca0[_0x1c6f0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c6f0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x577749=_0x17dd76(_0x1c6f0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b4ca0[_0x1c6f0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c6f0f([0x74,0x72,0x69,0x61,0x6c])&&(_0x577749=_0x17dd76(_0x1c6f0f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fd2ed()):_0x1c6f0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c6f0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c6f0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c6f0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1186fb(){const _0x2288c2=[_0x1c6f0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c6f0f([0x74,0x72,0x69,0x61,0x6c])][_0x1c6f0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4ca0[_0x1c6f0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x444440/0x3e8:0xe10*_0x1fd297;return _0x1b4ca0[_0x1c6f0f([0x65,0x78,0x70])]<_0x2288c2;}function _0x11368b(){const _0x26eff5=_0x1b4ca0[_0x1c6f0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26eff5&&(!!_0x26eff5[_0x1c6f0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6f0f([0x2a]))||!!_0x26eff5[_0x1c6f0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6f0f([0x55,0x50,0x4c,0x43])));}function _0x4802fb(){const _0x2a3405=_0x2536,_0x23f0a3=_0x1b4ca0[_0x1c6f0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23f0a3||0x0==_0x23f0a3[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x777cb8}=new URL(window[_0x1c6f0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a3405(0x1e9)]);if(_0x23f0a3[_0x1c6f0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x777cb8))return!0x0;const _0x38ae16=_0x777cb8[_0x1c6f0f([0x73,0x70,0x6c,0x69,0x74])](_0x1c6f0f([0x2e]));return _0x23f0a3[_0x1c6f0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3548b4=>_0x3548b4[_0x1c6f0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6f0f([0x2a])))[_0x1c6f0f([0x6d,0x61,0x70])](_0x4624a2=>_0x4624a2[_0x1c6f0f([0x73,0x70,0x6c,0x69,0x74])](_0x1c6f0f([0x2e])))[_0x1c6f0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b2f9f=>_0x2b2f9f[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38ae16[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c6f0f([0x6d,0x61,0x70])](_0x6e1d7c=>Array(_0x38ae16[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x6e1d7c[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c6f0f([0x66,0x69,0x6c,0x6c])](_0x6e1d7c[0x0]===_0x1c6f0f([0x2a])?_0x1c6f0f([0x2a]):'')[_0x1c6f0f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x6e1d7c))[_0x1c6f0f([0x73,0x6f,0x6d,0x65])](_0x13fb8d=>_0x38ae16[_0x1c6f0f([0x65,0x76,0x65,0x72,0x79])]((_0x5ed09e,_0x3a6a92)=>_0x13fb8d[_0x3a6a92]===_0x5ed09e||_0x13fb8d[_0x3a6a92]===_0x1c6f0f([0x2a])));}function _0x3fd2ed(){return _0x577749&&_0x64f40a?new window[(_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x188b20,_0x609538)=>{_0x577749[_0x1c6f0f([0x74,0x68,0x65,0x6e])](_0x188b20,_0x609538),_0x64f40a[_0x1c6f0f([0x74,0x68,0x65,0x6e])](_0x11b629=>{_0x11b629!=_0x1c6f0f([0x56,0x61,0x6c,0x69,0x64])&&_0x188b20(_0x11b629);},_0x609538);}):_0x577749||_0x64f40a||_0x1c6f0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d8d2a(_0x2f2181,_0x58cd0a){return new window[(_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf9ee9=>{if(_0x4d9e02())return _0xaf9ee9(_0x1c6f0f([0x56,0x61,0x6c,0x69,0x64]));_0x19fa96(),_0x9728f3[_0x1c6f0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c6f0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bee91=!0x1;const _0x195600=_0x2b9c32();function _0x38ee2b(_0x23a584){return!!_0x23a584&&(typeof _0x23a584===_0x1c6f0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23a584===_0x1c6f0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23a584[_0x1c6f0f([0x74,0x68,0x65,0x6e])]===_0x1c6f0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23a584[_0x1c6f0f([0x63,0x61,0x74,0x63,0x68])]===_0x1c6f0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d579a(_0x4fed9d){_0x418996(_0x4fed9d)[_0x1c6f0f([0x74,0x68,0x65,0x6e])](_0x350de9=>{if(!_0x350de9||_0x350de9[_0x1c6f0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c6f0f([0x6f,0x6b]))return _0x1c6f0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3edff7(_0x5580fc(_0x195600+_0x58cd0a))!=_0x350de9[_0x1c6f0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c6f0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c6f0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c6f0f([0x74,0x68,0x65,0x6e])](_0xf5d819=>(_0x152e10(),_0xf5d819),()=>{const _0xb2cb0c=_0x3e042d();return null==_0xb2cb0c?(_0x152e10(),_0x1c6f0f([0x56,0x61,0x6c,0x69,0x64])):_0x1c6f0f(_0x444440-_0xb2cb0c>(0x7753083a^_0x34673c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c6f0f([0x74,0x68,0x65,0x6e])](_0xaf9ee9)[_0x1c6f0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0xaf9ee9(_0x1c6f0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x15f7cb=0x536962ba^_0x34673c;function _0x152e10(){const _0x36daef=_0x1c6f0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3edff7(_0x5580fc(_0x2f2181)),_0x248db3=_0x101e6f(_0x3edff7(window[_0x1c6f0f([0x4d,0x61,0x74,0x68])][_0x1c6f0f([0x63,0x65,0x69,0x6c])](_0x444440/_0x15f7cb)));window[_0x1c6f0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c6f0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36daef,_0x248db3);}function _0x3e042d(){const _0xc5e4e1=_0x1c6f0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3edff7(_0x5580fc(_0x2f2181)),_0x33d844=window[_0x1c6f0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c6f0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc5e4e1);return _0x33d844?window[_0x1c6f0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x101e6f(_0x33d844),0x10)*_0x15f7cb:null;}function _0x418996(_0x2a05cf){return new window[(_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x173fbb,_0x28e4eb)=>{_0x2a05cf[_0x1c6f0f([0x74,0x68,0x65,0x6e])](_0x173fbb,_0x28e4eb),window[_0x1c6f0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28e4eb,0x535e58fa^_0x34673c);});}}_0x9728f3[_0x1c6f0f([0x6f,0x6e])](_0x1c6f0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x579054,_0x26b5fc)=>{if(_0x26b5fc[0x0]!=_0x2f2181)return _0xaf9ee9(_0x1c6f0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26b5fc[0x1]={..._0x26b5fc[0x1],[_0x1c6f0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x195600};},{[_0x1c6f0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c6f0f([0x68,0x69,0x67,0x68])}),_0x9728f3[_0x1c6f0f([0x6f,0x6e])](_0x1c6f0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3430ec=>{_0x38ee2b(_0x3430ec[_0x1c6f0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bee91=!0x0,_0x2d579a(_0x3430ec[_0x1c6f0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c6f0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c6f0f([0x6c,0x6f,0x77])}),_0x3aff57[_0x1c6f0f([0x74,0x68,0x65,0x6e])](()=>{_0x1bee91||_0xaf9ee9(_0x1c6f0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d9e02(){return _0x9728f3[_0x1c6f0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c6f0f([0x76,0x69,0x65,0x77])][_0x1c6f0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c6f0f([0x61,0x75,0x74,0x6f]);}function _0x19fa96(){_0x9728f3[_0x1c6f0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c6f0f([0x76,0x69,0x65,0x77])][_0x1c6f0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c6f0f([0x61,0x75,0x74,0x6f]);}}function _0x17dd76(_0x3caf16){const _0x55eef8=[new window[(_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56eb29=>setTimeout(_0x56eb29,0x5356b2f6^_0x34673c)),_0x3aff57[_0x1c6f0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2efa70=>{let _0x34f431=0x0;_0x9728f3[_0x1c6f0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c6f0f([0x6f,0x6e])](_0x1c6f0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf8d6bf,_0x522591)=>{_0x522591[0x0][_0x1c6f0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34f431++,_0x34f431==(0x535f8dc2^_0x34673c)&&(_0x2efa70(),_0xf8d6bf[_0x1c6f0f([0x6f,0x66,0x66])]());});}))];return window[_0x1c6f0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c6f0f([0x72,0x61,0x63,0x65])](_0x55eef8)[_0x1c6f0f([0x74,0x68,0x65,0x6e])](()=>_0x3caf16);}async function _0x492fad(){await _0x3aff57,_0x9728f3[_0x1c6f0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c6f0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x161235,_0x9728f3[_0x1c6f0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c6f0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x161235,_0x9728f3[_0x1c6f0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c6f0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b657e(_0x3cb464){const _0x5057e4=_0x1a006a();_0x9728f3[_0x5057e4]=_0x1c6f0f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cb464,_0x3cb464!=_0x1c6f0f([0x56,0x61,0x6c,0x69,0x64])&&_0x492fad();}function _0x1a006a(){const _0x309caa=window[_0x1c6f0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c6f0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c6f0f([0x6e,0x6f,0x77])]())[_0x1c6f0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c6f0f([0x2e]),'');let _0x117b49=_0x1c6f0f([0x68]);for(let _0x30f924=0x0;_0x30f924<_0x309caa[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30f924+=0x2){let _0x5c6a24=window[_0x1c6f0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309caa[_0x1c6f0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30f924,_0x30f924+0x2));_0x5c6a24>=_0x4e05f3[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c6a24-=_0x4e05f3[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x117b49+=_0x4e05f3[_0x5c6a24];}return _0x117b49;}function _0x5a84f6(){const _0x50a943=_0xca37d5[_0x1c6f0f([0x73,0x70,0x6c,0x69,0x74])](_0x1c6f0f([0x2e]));if(0x3!=_0x50a943[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39e3d6(_0x50a943[0x1]);function _0x39e3d6(_0x1c027a){const _0x2ea077=_0x6f5439(_0x1c027a);return _0x2ea077&&_0x51821b()?_0x2ea077:null;function _0x51821b(){const _0x4eb984=_0x2ea077[_0x1c6f0f([0x6a,0x74,0x69])],_0x957608=window[_0x1c6f0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4eb984[_0x1c6f0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eb984[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49eb9e={..._0x2ea077,[_0x1c6f0f([0x6a,0x74,0x69])]:_0x4eb984[_0x1c6f0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4eb984[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49eb9e[_0x1c6f0f([0x76,0x63])],_0x5580fc(_0x49eb9e)==_0x957608;}}}async function _0x3cb170(){let _0x30fdb9=!0x0;try{const _0x3ff8f1=_0xca37d5[_0x1c6f0f([0x73,0x70,0x6c,0x69,0x74])](_0x1c6f0f([0x2e])),[_0x15edd0,_0x36c5b0,_0x86a251]=_0x3ff8f1;return _0x9cc37c(_0x15edd0),await _0x3cbafb(_0x15edd0,_0x36c5b0,_0x86a251),_0x30fdb9;}catch{return!0x1;}function _0x9cc37c(_0x347511){const _0x3a54bd=_0x6f5439(_0x347511);_0x3a54bd&&_0x3a54bd[_0x1c6f0f([0x61,0x6c,0x67])]==_0x1c6f0f([0x45,0x53,0x32,0x35,0x36])||(_0x30fdb9=!0x1);}async function _0x3cbafb(_0x16a74d,_0x139f76,_0x5175ff){const _0x13234e=window[_0x1c6f0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c6f0f([0x66,0x72,0x6f,0x6d])](_0x50e523(_0x5175ff),_0x1c50c7=>_0x1c50c7[_0x1c6f0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x496ed0=new window[(_0x1c6f0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c6f0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16a74d+_0x1c6f0f([0x2e])+_0x139f76),_0x3108d9=window[_0x1c6f0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c6f0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3108d9)return;const _0x5ce866=await _0x3108d9[_0x1c6f0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c6f0f([0x6a,0x77,0x6b]),_0x436be4,{[_0x1c6f0f([0x6e,0x61,0x6d,0x65])]:_0x1c6f0f([0x45,0x43,0x44,0x53,0x41]),[_0x1c6f0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c6f0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c6f0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3108d9[_0x1c6f0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c6f0f([0x6e,0x61,0x6d,0x65])]:_0x1c6f0f([0x45,0x43,0x44,0x53,0x41]),[_0x1c6f0f([0x68,0x61,0x73,0x68])]:{[_0x1c6f0f([0x6e,0x61,0x6d,0x65])]:_0x1c6f0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ce866,_0x13234e,_0x496ed0)||(_0x30fdb9=!0x1);}}function _0x6f5439(_0x2b6cfa){return _0x2b6cfa[_0x1c6f0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c6f0f([0x65,0x79]))?JSON[_0x1c6f0f([0x70,0x61,0x72,0x73,0x65])](_0x50e523(_0x2b6cfa)):null;}function _0x50e523(_0x55faaf){return window[_0x1c6f0f([0x61,0x74,0x6f,0x62])](_0x55faaf[_0x1c6f0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c6f0f([0x2b]))[_0x1c6f0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c6f0f([0x2f])));}function _0x5580fc(_0x1c9b09){let _0x5f2e4c=0x1505;function _0x39dc57(_0x5a7f63){for(let _0x3bec3f=0x0;_0x3bec3f<_0x5a7f63[_0x1c6f0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bec3f++){const _0x41427b=_0x5a7f63[_0x1c6f0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3bec3f);_0x5f2e4c=(_0x5f2e4c<<0x5)+_0x5f2e4c+_0x41427b,_0x5f2e4c&=_0x5f2e4c;}}function _0xd04abb(_0x5d0b40){Array[_0x1c6f0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d0b40)?_0x5d0b40[_0x1c6f0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd04abb):_0x5d0b40&&typeof _0x5d0b40==_0x1c6f0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c6f0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d0b40)[_0x1c6f0f([0x73,0x6f,0x72,0x74])]()[_0x1c6f0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cc9bf,_0x3a37df])=>{_0x39dc57(_0x5cc9bf),_0xd04abb(_0x3a37df);}):_0x39dc57(window[_0x1c6f0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d0b40));}return _0xd04abb(_0x1c9b09),_0x5f2e4c>>>0x0;}function _0x3edff7(_0x58ea78){return _0x58ea78[_0x1c6f0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c6f0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c6f0f([0x30]));}function _0x101e6f(_0x36cfe3){return _0x36cfe3[_0x1c6f0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c6f0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c6f0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x161235(){}function _0x1c6f0f(_0xa961cb){const _0x568499=_0x2536;return _0xa961cb[_0x568499(0x1eb)](_0x1bc498=>String[_0x568499(0x20f)](_0x1bc498))[_0x568499(0x210)]('');}_0x4b657e(await _0xde6b7c());}(this);}[_0x5c59df(0x1f7)](){const _0x482261=_0x5c59df,_0x34c48a=this[_0x482261(0x20b)][_0x482261(0x1e8)][_0x482261(0x200)];_0x34c48a[_0x482261(0x21a)](_0x482261(0x1fa))&&_0x34c48a[_0x482261(0x21e)](_0x482261(0x1fa),{'allowAttributes':[_0x482261(0x1e4)]}),_0x34c48a[_0x482261(0x21a)](_0x482261(0x1f3))&&_0x34c48a[_0x482261(0x21e)](_0x482261(0x1f3),{'allowAttributes':[_0x482261(0x1e4)]});}[_0x5c59df(0x1ec)](){const _0x329eb7=_0x5c59df,_0x2b7a41=this[_0x329eb7(0x20b)];_0x2b7a41[_0x329eb7(0x217)][_0x329eb7(0x204)](_0x329eb7(0x20d))[_0x329eb7(0x1d4)]({'model':_0x329eb7(0x1e4),'view':_0x329eb7(0x1dc)}),_0x2b7a41[_0x329eb7(0x217)][_0x329eb7(0x204)](_0x329eb7(0x1d7))[_0x329eb7(0x21f)]({'model':{'key':_0x329eb7(0x1e4),'value':_0x385e8a=>_0x385e8a[_0x329eb7(0x1ed)](_0x329eb7(0x1dc))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x46ba99=_0x2b7a41[_0x329eb7(0x1e3)][_0x329eb7(0x1e1)](_0x329eb7(0x1ea));_0x46ba99&&this[_0x329eb7(0x21b)](_0x46ba99,_0x329eb7(0x1d9),(_0x1d8860,[_0x19d4fd,_0x40ead2])=>{const _0x21c93f=_0x329eb7;_0x19d4fd[_0x21c93f(0x1dd)](_0x21c93f(0x1e4),_0x40ead2);});}[_0x5c59df(0x1fc)](){const _0x3804de=_0x5c59df,_0x358e09=this[_0x3804de(0x20b)][_0x3804de(0x1d5)][_0x3804de(0x1e1)](_0x3804de(0x1f6))||{},_0x905d67=this[_0x3804de(0x20b)][_0x3804de(0x1d5)][_0x3804de(0x1e1)](_0x3804de(0x223))||'';this[_0x3804de(0x1da)]=_0x22c3dc(_0x3c9ee4[_0x3804de(0x1db)],_0x3804de(0x211),{..._0x358e09,'pubkey':_0x905d67,'ctx-name':_0x3804de(0x220)+this[_0x3804de(0x201)],'sourceList':'','imgOnly':_0x3804de(0x215),'removeCopyright':_0x3804de(0x215),'localeName':this[_0x3804de(0x20b)][_0x3804de(0x1e0)][_0x3804de(0x20e)],'externalSourcesEmbedCss':_0x3804de(0x21d)}),this[_0x3804de(0x1da)][_0x3804de(0x212)]=_0x478046=>{const _0x341db4=_0x3804de;if(_0x341db4(0x1e2)==_0x478046)return _0x341db4(0x1ef);},_0x3c9ee4[_0x3804de(0x1db)][_0x3804de(0x218)][_0x3804de(0x1fe)](this[_0x3804de(0x1da)]);}[_0x5c59df(0x202)](){const _0x1e9ce1=_0x5c59df;this[_0x1e9ce1(0x207)]=_0x22c3dc(_0x3c9ee4[_0x1e9ce1(0x1db)],_0x1e9ce1(0x222),{'ctx-name':_0x1e9ce1(0x220)+this[_0x1e9ce1(0x201)]}),_0x3c9ee4[_0x1e9ce1(0x1db)][_0x1e9ce1(0x218)][_0x1e9ce1(0x1fe)](this[_0x1e9ce1(0x207)]);}[_0x5c59df(0x1f0)](){const _0x4b6dcc=_0x5c59df,_0x37e04b=this[_0x4b6dcc(0x20b)][_0x4b6dcc(0x1e3)][_0x4b6dcc(0x1e1)](_0x4b6dcc(0x1e5));_0x37e04b&&this[_0x4b6dcc(0x21b)](_0x37e04b,_0x4b6dcc(0x1cf),()=>{const _0x4a8f87=_0x4b6dcc,_0x4b7120=this[_0x4a8f87(0x20b)][_0x4a8f87(0x1e8)][_0x4a8f87(0x1db)][_0x4a8f87(0x1fb)][_0x4a8f87(0x1f5)]();_0x4b7120&&_0x4b7120[_0x4a8f87(0x1ed)](_0x4a8f87(0x1e4))&&this[_0x4a8f87(0x20b)][_0x4a8f87(0x1ee)][_0x4a8f87(0x221)][_0x4a8f87(0x213)](_0x4a8f87(0x1d6),()=>{const _0x3c0392=_0x4a8f87;_0x1a8720(this[_0x3c0392(0x20b)],_0x4b7120);});});const _0x189eb9=this[_0x4b6dcc(0x20b)][_0x4b6dcc(0x1e3)][_0x4b6dcc(0x1e1)](_0x4b6dcc(0x1f8));_0x189eb9&&this[_0x4b6dcc(0x21b)](_0x189eb9,_0x4b6dcc(0x1cf),()=>{const _0x55af8b=_0x4b6dcc,_0x2716e2=this[_0x55af8b(0x20b)][_0x55af8b(0x1e8)][_0x55af8b(0x1db)][_0x55af8b(0x1fb)][_0x55af8b(0x1f5)]();_0x2716e2&&_0x2716e2[_0x55af8b(0x1ed)](_0x55af8b(0x1e4))&&this[_0x55af8b(0x20b)][_0x55af8b(0x1ee)][_0x55af8b(0x221)][_0x55af8b(0x213)](_0x55af8b(0x1d6),()=>{const _0x2ef410=_0x55af8b;_0x1a8720(this[_0x2ef410(0x20b)],_0x2716e2);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x373a7c,ObservableMixin as _0x1fc160}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4bc959}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2eedb0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x54bec6}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2ca22a}from'../../utils/uploadutils.js';import{getImageUrls as _0x581460,getImageDimension as _0x3282f8}from'../../utils/editingutils.js';import{isAncestor as _0x1300d9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1fc160(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5b7b3a,_0x1455cd,_0x49f503){super(),this['_editor']=_0x5b7b3a,this['_dialog']=_0x1455cd,this['_imageElement']=_0x49f503,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 _0x11a3ba=this['_imageElement'],_0x4664af=_0x11a3ba['getAttribute']('uploadcareImageId'),_0x197b50=_0x11a3ba['getAttribute']('src');if(_0x4664af)await this['_loadImageInfo'](_0x4664af,_0x197b50);else{if(this['_imageCache']['has'](_0x197b50)){const _0x62fe65=this['_imageCache']['get'](_0x197b50);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x62fe65['url'],this['imageDimension']=_0x62fe65['dimension'],this['imageId']=_0x62fe65['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xf8caab}=this['_editor'],t=_0xf8caab['t'],_0x349944=new _0x54bec6(_0xf8caab,this['imageStatus'],this['_attributes']);_0x349944['bind']('status')['to'](this,'imageStatus'),_0x349944['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x349944['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x349944['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x349944,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2eedb0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x349944,'position':_0x4bc959['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x349944['focus']();},'onHide':()=>{_0x349944['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d4784=>!_0x1300d9(_0x4d4784,_0x349944['element'])}});}['_loadImageInfo'](_0x4bab84,_0x4e7fa){return _0x2ca22a['getInfo'](_0x4bab84,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3e885d=>{const {width:_0x3b3bfa,height:_0x331bf1}=_0x3e885d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4e7fa,this['imageDimension']={'width':_0x3b3bfa,'height':_0x331bf1},this['imageId']=_0x4bab84;})['catch'](_0x423d3e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x423d3e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e3fa2,_0x5a6f3f){return this['_getImageAsFile'](_0x1e3fa2)['then'](_0x592cb9=>_0x2ca22a['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':_0x5a6f3f['signal'],'file':_0x592cb9,'onProgress':_0x1f2950=>{_0x1f2950&&_0x1f2950['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1f2950['value']));}}))['then'](_0x15465a=>{const {width:_0x48c37f,height:_0xc2283c}=_0x15465a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15465a['cdnUrl'],this['imageDimension']={'width':_0x48c37f,'height':_0xc2283c},this['imageId']=_0x15465a['uuid'],this['imageUploadProgress']=null;const _0x691e22=_0x1e3fa2['getAttribute']('src');this['_imageCache']['set'](_0x691e22,{'id':_0x15465a['uuid'],'url':_0x15465a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x980173=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x980173['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x101874,_0x73fc3b){_0x101874['on']('apply',(_0x26c26f,_0x14164e)=>{this['_replaceImage'](_0x73fc3b,_0x14164e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x101874['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x101874['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2944ff,_0x169d44,_0x202f2c){const _0x149dde=this['_editor'],{width:_0x421ded,height:_0x2cdbd9}=_0x3282f8(_0x169d44,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e2a83,imageSources:_0x2445e9}=_0x581460(_0x169d44,_0x421ded);_0x149dde['model']['change'](_0x3eb58a=>{if('$graveyard'===_0x2944ff['root']['rootName']){_0x149dde['execute']('insertImage',{'imageType':_0x2944ff['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2944ff['getAttributes']()),'uploadcareImageId':_0x202f2c,'src':_0x3e2a83,'sources':_0x2445e9,'width':_0x421ded,'height':_0x2cdbd9}});const _0x1fbf25=_0x2944ff['getChildren']();_0x2944ff=_0x149dde['model']['document']['selection']['getSelectedElement']();for(const _0x1de236 of _0x1fbf25)_0x3eb58a['append'](_0x3eb58a['cloneElement'](_0x1de236),_0x2944ff);}else _0x3eb58a['setSelection'](_0x2944ff,'on'),_0x149dde['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2944ff['getAttributes']()),'uploadcareImageId':_0x202f2c,'src':_0x3e2a83,'sources':_0x2445e9,'width':_0x421ded,'height':_0x2cdbd9},_0x2944ff);_0x3eb58a['setSelection'](_0x2944ff,'on');});}async['_getImageAsFile'](_0x5bd9f3){const _0x3aac68=_0x373a7c['window'],_0x12ce9c=_0x373a7c['document']['location']['href'],_0x296ab4=new _0x3aac68['URL'](_0x5bd9f3['getAttribute']('src'),_0x12ce9c);if('data:'===_0x296ab4['protocol']){const _0xc40e1e=_0x296ab4['href']['split'](','),_0x429c19=_0xc40e1e[0x0]['match'](/:(.*?);/)[0x1],_0x259862=_0x429c19['split']('/')[0x1],_0x27c2be=_0x3aac68['atob'](_0xc40e1e[_0xc40e1e['length']-0x1]);let _0xb0fc93=_0x27c2be['length'];const _0x6ce8a3=new _0x3aac68['Uint8Array'](_0xb0fc93);for(;_0xb0fc93--;)_0x6ce8a3[_0xb0fc93]=_0x27c2be['charCodeAt'](_0xb0fc93);return new _0x3aac68['File']([_0x6ce8a3],'image.'+_0x259862,{'type':_0x429c19});}const _0x281dda=_0x296ab4['href']['split']('/'),_0x3abdc3=_0x281dda[_0x281dda['length']-0x1],_0x240a0e=_0x3abdc3['split']('.')[0x1];return _0x3aac68['fetch'](_0x296ab4['href'])['then'](_0x142a15=>_0x142a15['clone']()['blob']())['then'](_0x510ef6=>new _0x3aac68['File']([_0x510ef6],_0x3abdc3,{'type':'image/'+_0x240a0e}));}}
23
+ import{global as _0x1b3fc6,ObservableMixin as _0x1625b0}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x20f81d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x50cfca}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x16de8b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4bd2a2}from'../../utils/uploadutils.js';import{getImageUrls as _0x57e0bf,getImageDimension as _0x2d79b7}from'../../utils/editingutils.js';import{isAncestor as _0xea0fc4}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x1625b0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2732a0,_0x273e13,_0x32905f){super(),this['_editor']=_0x2732a0,this['_dialog']=_0x273e13,this['_imageElement']=_0x32905f,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 _0xf1012e=this['_imageElement'],_0x2868b3=_0xf1012e['getAttribute']('uploadcareImageId'),_0x51eb14=_0xf1012e['getAttribute']('src');if(_0x2868b3)await this['_loadImageInfo'](_0x2868b3,_0x51eb14);else{if(this['_imageCache']['has'](_0x51eb14)){const _0x4d716d=this['_imageCache']['get'](_0x51eb14);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4d716d['url'],this['imageDimension']=_0x4d716d['dimension'],this['imageId']=_0x4d716d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x421e0a}=this['_editor'],t=_0x421e0a['t'],_0x55ee77=new _0x16de8b(_0x421e0a,this['imageStatus'],this['_attributes']);_0x55ee77['bind']('status')['to'](this,'imageStatus'),_0x55ee77['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x55ee77['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x55ee77['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x55ee77,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x50cfca,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x55ee77,'position':_0x20f81d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x55ee77['focus']();},'onHide':()=>{_0x55ee77['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x543ed1=>!_0xea0fc4(_0x543ed1,_0x55ee77['element'])}});}['_loadImageInfo'](_0xd3b4b0,_0x2939b3){return _0x4bd2a2['getInfo'](_0xd3b4b0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x552074=>{const {width:_0x4ea771,height:_0x42e3eb}=_0x552074['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2939b3,this['imageDimension']={'width':_0x4ea771,'height':_0x42e3eb},this['imageId']=_0xd3b4b0;})['catch'](_0x53d42f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x53d42f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x21f1db,_0x258f99){return this['_getImageAsFile'](_0x21f1db)['then'](_0x1328c0=>_0x4bd2a2['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':_0x258f99['signal'],'file':_0x1328c0,'onProgress':_0x51c632=>{_0x51c632&&_0x51c632['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x51c632['value']));}}))['then'](_0x4048e2=>{const {width:_0x568955,height:_0x2a298f}=_0x4048e2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4048e2['cdnUrl'],this['imageDimension']={'width':_0x568955,'height':_0x2a298f},this['imageId']=_0x4048e2['uuid'],this['imageUploadProgress']=null;const _0x1677fe=_0x21f1db['getAttribute']('src');this['_imageCache']['set'](_0x1677fe,{'id':_0x4048e2['uuid'],'url':_0x4048e2['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f8f19=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f8f19['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1fab91,_0x5024b3){_0x1fab91['on']('apply',(_0x1436c5,_0x19c326)=>{this['_replaceImage'](_0x5024b3,_0x19c326['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1fab91['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1fab91['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1de2b7,_0x14db01,_0x352075){const _0x493e47=this['_editor'],{width:_0x313cac,height:_0x35a6b2}=_0x2d79b7(_0x14db01,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2fdfaf,imageSources:_0x29d00e}=_0x57e0bf(_0x14db01,_0x313cac);_0x493e47['model']['change'](_0x30e0ed=>{if('$graveyard'===_0x1de2b7['root']['rootName']){_0x493e47['execute']('insertImage',{'imageType':_0x1de2b7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1de2b7['getAttributes']()),'uploadcareImageId':_0x352075,'src':_0x2fdfaf,'sources':_0x29d00e,'width':_0x313cac,'height':_0x35a6b2}});const _0x260cb9=_0x1de2b7['getChildren']();_0x1de2b7=_0x493e47['model']['document']['selection']['getSelectedElement']();for(const _0x1fd843 of _0x260cb9)_0x30e0ed['append'](_0x30e0ed['cloneElement'](_0x1fd843),_0x1de2b7);}else _0x30e0ed['setSelection'](_0x1de2b7,'on'),_0x493e47['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1de2b7['getAttributes']()),'uploadcareImageId':_0x352075,'src':_0x2fdfaf,'sources':_0x29d00e,'width':_0x313cac,'height':_0x35a6b2},_0x1de2b7);_0x30e0ed['setSelection'](_0x1de2b7,'on');});}async['_getImageAsFile'](_0x4054fa){const _0x5730b3=_0x1b3fc6['window'],_0x4fc81b=_0x1b3fc6['document']['location']['href'],_0x92058a=new _0x5730b3['URL'](_0x4054fa['getAttribute']('src'),_0x4fc81b);if('data:'===_0x92058a['protocol']){const _0x133d97=_0x92058a['href']['split'](','),_0xaf359f=_0x133d97[0x0]['match'](/:(.*?);/)[0x1],_0x53636a=_0xaf359f['split']('/')[0x1],_0x1d356a=_0x5730b3['atob'](_0x133d97[_0x133d97['length']-0x1]);let _0x19dd07=_0x1d356a['length'];const _0x7f116c=new _0x5730b3['Uint8Array'](_0x19dd07);for(;_0x19dd07--;)_0x7f116c[_0x19dd07]=_0x1d356a['charCodeAt'](_0x19dd07);return new _0x5730b3['File']([_0x7f116c],'image.'+_0x53636a,{'type':_0xaf359f});}const _0x11d991=_0x92058a['href']['split']('/'),_0x36846f=_0x11d991[_0x11d991['length']-0x1],_0x5bf73c=_0x36846f['split']('.')[0x1];return _0x5730b3['fetch'](_0x92058a['href'])['then'](_0x5c147c=>_0x5c147c['clone']()['blob']())['then'](_0x283b7=>new _0x5730b3['File']([_0x283b7],_0x36846f,{'type':'image/'+_0x5bf73c}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x272300,_0x1f7583){const _0x4e92a0=_0x1566,_0x2ca01c=_0x272300();while(!![]){try{const _0x52dd32=parseInt(_0x4e92a0(0x1f5))/0x1+parseInt(_0x4e92a0(0x202))/0x2*(-parseInt(_0x4e92a0(0x1f4))/0x3)+parseInt(_0x4e92a0(0x1ff))/0x4+-parseInt(_0x4e92a0(0x1fa))/0x5+-parseInt(_0x4e92a0(0x201))/0x6+parseInt(_0x4e92a0(0x1fe))/0x7*(parseInt(_0x4e92a0(0x1f3))/0x8)+parseInt(_0x4e92a0(0x1f8))/0x9;if(_0x52dd32===_0x1f7583)break;else _0x2ca01c['push'](_0x2ca01c['shift']());}catch(_0x120d59){_0x2ca01c['push'](_0x2ca01c['shift']());}}}(_0x32a4,0xb764f));function _0x1566(_0x594b93,_0xe01d74){const _0x32a4fc=_0x32a4();return _0x1566=function(_0x156639,_0x8a046e){_0x156639=_0x156639-0x1f3;let _0x109a98=_0x32a4fc[_0x156639];return _0x109a98;},_0x1566(_0x594b93,_0xe01d74);}function _0x32a4(){const _0x2b87db=['uc-cloud-image-editor','bindTemplate','13120686weeXHb','ck-uploadcare-theme','5144430wXUEph','set','setTemplate','image-edit','77BBleXe','5242528oFpPIF','uc-light','5785542IVdHBt','42ADMoEY','imageSrc','276344UiEDDm','133389ZMRqql','529590IlqVMY'];_0x32a4=function(){return _0x2b87db;};return _0x32a4();}import{View as _0x39743c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x39743c{constructor(_0x11cb50,_0x337d3a){const _0x16b221=_0x1566;super(_0x11cb50);const _0x1ca015=this[_0x16b221(0x1f7)];this[_0x16b221(0x1fb)](_0x16b221(0x203),''),this[_0x16b221(0x1fc)]({'tag':_0x16b221(0x1f6),'attributes':{..._0x337d3a,'class':[_0x16b221(0x200),_0x16b221(0x1f9)],'ctx-name':_0x16b221(0x1fd),'cdn-url':_0x1ca015['to'](_0x16b221(0x203))}});}}
23
+ (function(_0x5ab126,_0x6dc02){const _0x4ee106=_0x1962,_0x2459cd=_0x5ab126();while(!![]){try{const _0xf6d868=-parseInt(_0x4ee106(0x170))/0x1+-parseInt(_0x4ee106(0x17b))/0x2+parseInt(_0x4ee106(0x174))/0x3+parseInt(_0x4ee106(0x178))/0x4+parseInt(_0x4ee106(0x175))/0x5+-parseInt(_0x4ee106(0x173))/0x6+-parseInt(_0x4ee106(0x179))/0x7*(parseInt(_0x4ee106(0x16f))/0x8);if(_0xf6d868===_0x6dc02)break;else _0x2459cd['push'](_0x2459cd['shift']());}catch(_0x1cc1c5){_0x2459cd['push'](_0x2459cd['shift']());}}}(_0x1e1b,0x37501));function _0x1962(_0x39b179,_0x450bca){const _0x1e1b63=_0x1e1b();return _0x1962=function(_0x19622b,_0x37b6c6){_0x19622b=_0x19622b-0x16f;let _0x2d27d0=_0x1e1b63[_0x19622b];return _0x2d27d0;},_0x1962(_0x39b179,_0x450bca);}function _0x1e1b(){const _0x26b683=['156014dlJKaX','image-edit','uc-cloud-image-editor','imageSrc','16JBrxdF','70458tlSlFx','bindTemplate','set','1037730eHnTwj','997722uLdsdw','1470935ZhtbDL','setTemplate','ck-uploadcare-theme','1612072akTnWh','1686293vAUWkW','uc-light'];_0x1e1b=function(){return _0x26b683;};return _0x1e1b();}import{View as _0x4e4e9d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4e4e9d{constructor(_0x1ff5b3,_0xe73ac4){const _0x4b4165=_0x1962;super(_0x1ff5b3);const _0x5349b7=this[_0x4b4165(0x171)];this[_0x4b4165(0x172)](_0x4b4165(0x17e),''),this[_0x4b4165(0x176)]({'tag':_0x4b4165(0x17d),'attributes':{..._0xe73ac4,'class':[_0x4b4165(0x17a),_0x4b4165(0x177)],'ctx-name':_0x4b4165(0x17c),'cdn-url':_0x5349b7['to'](_0x4b4165(0x17e))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x541ed8}from'ckeditor5/src/icons.js';import{ButtonView as _0x3f5f5c,IconView as _0x4ce537,View as _0x846aa9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x846aa9{constructor(_0x4419d2){super(_0x4419d2);const t=_0x4419d2['t'];this['set']('errorType',null);const _0x1b8a9c=new _0x3f5f5c(_0x4419d2);_0x1b8a9c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1b8a9c['withText']=!0x0,_0x1b8a9c['class']='ck-button-action',_0x1b8a9c['on']('execute',()=>{this['fire']('retry');}),_0x1b8a9c['bind']('isVisible')['to'](this,'errorType',_0x47c885=>'NotFound'!==_0x47c885);const _0x314507=new _0x4ce537();_0x314507['content']=_0x541ed8,_0x314507['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x43b970=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':[_0x314507,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x43b970['to']('errorType',_0x2c1e87=>t('NotFound'!==_0x2c1e87?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1b8a9c]},{'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 _0x64bf82}from'ckeditor5/src/icons.js';import{ButtonView as _0x4445a4,IconView as _0x5c7e37,View as _0x461ff9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x461ff9{constructor(_0x491588){super(_0x491588);const t=_0x491588['t'];this['set']('errorType',null);const _0xfdd0bd=new _0x4445a4(_0x491588);_0xfdd0bd['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xfdd0bd['withText']=!0x0,_0xfdd0bd['class']='ck-button-action',_0xfdd0bd['on']('execute',()=>{this['fire']('retry');}),_0xfdd0bd['bind']('isVisible')['to'](this,'errorType',_0x5291db=>'NotFound'!==_0x5291db);const _0x2699df=new _0x5c7e37();_0x2699df['content']=_0x64bf82,_0x2699df['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2ec79c=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':[_0x2699df,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2ec79c['to']('errorType',_0x211d3f=>t('NotFound'!==_0x211d3f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xfdd0bd]},{'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 _0x34e1a5,View as _0x56ca3f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x56ca3f{constructor(_0x560f63){super(_0x560f63);const t=_0x560f63['t'],_0x5c5dfd=this['bindTemplate'],_0x2446ad=new _0x34e1a5();_0x2446ad['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':[_0x2446ad,{'text':_0x5c5dfd['to']('imageUploadProgress',_0x252eb5=>t('Loading\x20image...')+'\x20('+(_0x252eb5||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 _0xe6f617,View as _0xeca0e4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xeca0e4{constructor(_0x3ca75f){super(_0x3ca75f);const t=_0x3ca75f['t'],_0x35165d=this['bindTemplate'],_0x23b76f=new _0xe6f617();_0x23b76f['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':[_0x23b76f,{'text':_0x35165d['to']('imageUploadProgress',_0x1f917c=>t('Loading\x20image...')+'\x20('+(_0x1f917c||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 _0x173fb=_0x5546;(function(_0x4e05bf,_0x3fbee0){const _0x192f7b=_0x5546,_0x1f02b5=_0x4e05bf();while(!![]){try{const _0x12ad2a=parseInt(_0x192f7b(0x1e1))/0x1*(parseInt(_0x192f7b(0x202))/0x2)+-parseInt(_0x192f7b(0x207))/0x3*(parseInt(_0x192f7b(0x1de))/0x4)+parseInt(_0x192f7b(0x1ff))/0x5+-parseInt(_0x192f7b(0x1d7))/0x6*(parseInt(_0x192f7b(0x1e9))/0x7)+parseInt(_0x192f7b(0x1e2))/0x8+parseInt(_0x192f7b(0x205))/0x9+parseInt(_0x192f7b(0x1db))/0xa*(-parseInt(_0x192f7b(0x1dc))/0xb);if(_0x12ad2a===_0x3fbee0)break;else _0x1f02b5['push'](_0x1f02b5['shift']());}catch(_0x29d63f){_0x1f02b5['push'](_0x1f02b5['shift']());}}}(_0x4ec6,0x486b6));function _0x5546(_0x42e6e3,_0xa0697){const _0x4ec647=_0x4ec6();return _0x5546=function(_0x5546c0,_0x30bedd){_0x5546c0=_0x5546c0-0x1d0;let _0x587696=_0x4ec647[_0x5546c0];return _0x587696;},_0x5546(_0x42e6e3,_0xa0697);}import{View as _0x510d91}from'ckeditor5/src/ui.js';function _0x4ec6(){const _0x3446ac=['cancel','ready','disconnect','target','nodeName','addMany','3258IBkYKh','fire','getFocusableElement','element','3970jJuXwD','8701YNLJcf','ck-reset_all-excluded','7256eQjjrF','_addErrorViewListeners','set','6131vMJIoJ','3230352MpNhEL','change:status','add','clear','addedNodes','filter','createCollection','7035itxWTb','setTemplate','once','_waitForImageEditorComponent','_loadingView','uc-cloud-image-editor','observe','ck-uploadcare-form','retry','apply','length','status','focus','addEventListener','toLowerCase','_items','div','_addUploadcareImageEditorListeners','render','cdnUrl','_focusableView','_errorView','2162865vwexCr','querySelector','_editingView','62zIblro','_setView','error','2981682MAiCZD','detail','333oiEXve','uploading'];_0x4ec6=function(){return _0x3446ac;};return _0x4ec6();}import{UploadcareImageEditFormLoadingView as _0x245b48}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2812b7}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x517d36}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x237122}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x237122{[_0x173fb(0x1f8)];[_0x173fb(0x1ed)];[_0x173fb(0x1fe)];[_0x173fb(0x201)];[_0x173fb(0x1fd)];constructor(_0xf57ef0,_0x463cb4,_0x5ce3b2){const _0x3181f2=_0x173fb;super(_0xf57ef0),this[_0x3181f2(0x1f8)]=this[_0x3181f2(0x1e8)](),this[_0x3181f2(0x1ed)]=new _0x245b48(_0xf57ef0),this[_0x3181f2(0x1fe)]=new _0x2812b7(_0xf57ef0),this[_0x3181f2(0x201)]=new _0x517d36(_0xf57ef0,_0x5ce3b2),this[_0x3181f2(0x1fd)]=new _0x510d91(_0xf57ef0),this[_0x3181f2(0x1fd)][_0x3181f2(0x1ea)](this[_0x3181f2(0x1d9)]()),this[_0x3181f2(0x1e0)](_0x3181f2(0x1f4),_0x463cb4),this[_0x3181f2(0x1ea)]({'tag':_0x3181f2(0x1f9),'attributes':{'class':['ck',_0x3181f2(0x1dd),_0x3181f2(0x1f0)],'tabindex':'-1'},'children':this[_0x3181f2(0x1f8)]}),this[_0x3181f2(0x203)](),this[_0x3181f2(0x1eb)](_0x3181f2(0x1fb),()=>{const _0x1410e1=_0x3181f2;this[_0x1410e1(0x1ec)](this[_0x1410e1(0x1da)],_0x5c6252=>{const _0x592767=_0x1410e1;this[_0x592767(0x1fa)](_0x5c6252);});}),this['on'](_0x3181f2(0x1e3),()=>{const _0xda5729=_0x3181f2;this[_0xda5729(0x203)]();}),this[_0x3181f2(0x1df)]();}[_0x173fb(0x1f5)](){const _0x109b2e=_0x173fb;this[_0x109b2e(0x1da)][_0x109b2e(0x1f5)]();}[_0x173fb(0x203)](){const _0xb8edcf=_0x173fb;switch(this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1e5)](),this[_0xb8edcf(0x1f4)]){case _0xb8edcf(0x1d0):this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1e4)](this[_0xb8edcf(0x1ed)]);break;case _0xb8edcf(0x204):this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1e4)](this[_0xb8edcf(0x1fe)]);break;case _0xb8edcf(0x1d2):this[_0xb8edcf(0x1f8)][_0xb8edcf(0x1d6)]([this[_0xb8edcf(0x201)],this[_0xb8edcf(0x1fd)]]);}}[_0x173fb(0x1ec)](_0xc3d64f,_0x693cec){const _0x1f1ec6=_0x173fb,_0x3fb049=_0x1f1ec6(0x1ee),_0x56819f=_0xc3d64f[_0x1f1ec6(0x200)](_0x3fb049);if(_0x56819f)return _0x693cec(_0x56819f);const _0x585bd9=new MutationObserver(_0x5db0ef=>{const _0xbfb28=_0x1f1ec6,_0x3c7c1f=_0x5db0ef[_0xbfb28(0x1e7)](_0x41970e=>_0x41970e[_0xbfb28(0x1d4)]===_0xc3d64f&&_0x41970e[_0xbfb28(0x1e6)][_0xbfb28(0x1f3)]>0x0&&_0x41970e[_0xbfb28(0x1e6)][0x0][_0xbfb28(0x1d5)][_0xbfb28(0x1f7)]()===_0x3fb049);_0x3c7c1f[_0xbfb28(0x1f3)]&&(_0x585bd9[_0xbfb28(0x1d3)](),_0x693cec(_0x3c7c1f[0x0][_0xbfb28(0x1e6)][0x0]));});_0x585bd9[_0x1f1ec6(0x1ef)](_0xc3d64f,{'childList':!0x0,'subtree':!0x0});}[_0x173fb(0x1fa)](_0x8b58b){const _0x2d57d5=_0x173fb;_0x8b58b[_0x2d57d5(0x1f6)](_0x2d57d5(0x1f2),_0x46aa87=>{const _0x4d1170=_0x2d57d5;this[_0x4d1170(0x1d8)](_0x4d1170(0x1f2),{'imageSrc':_0x46aa87[_0x4d1170(0x206)][_0x4d1170(0x1fc)]});}),_0x8b58b[_0x2d57d5(0x1f6)](_0x2d57d5(0x1d1),()=>{const _0xda0a63=_0x2d57d5;this[_0xda0a63(0x1d8)](_0xda0a63(0x1d1));});}[_0x173fb(0x1df)](){const _0x45b29b=_0x173fb;this[_0x45b29b(0x1fe)]['on'](_0x45b29b(0x1f1),()=>{const _0x3bdd42=_0x45b29b;this[_0x3bdd42(0x1d8)](_0x3bdd42(0x1f1));});}}
23
+ function _0x3aae(){const _0x4472a0=['observe','1937766kGCqtS','getFocusableElement','5168936mJZlBa','_waitForImageEditorComponent','_errorView','addMany','cdnUrl','change:status','_editingView','detail','add','_loadingView','7959195SPQSRT','status','filter','uc-cloud-image-editor','querySelector','1694JcGnxC','218667ulKizk','_items','toLowerCase','_setView','createCollection','length','10bfubzx','ck-reset_all-excluded','5488626JfWWRC','once','1550570swYLDy','div','fire','apply','retry','set','10998HXJusw','_addUploadcareImageEditorListeners','8kWZgAU','setTemplate','disconnect','render','nodeName','clear','1exZQmY','addedNodes','error','target','uploading','focus','addEventListener','ready','_addErrorViewListeners','_focusableView','cancel','ck-uploadcare-form','element'];_0x3aae=function(){return _0x4472a0;};return _0x3aae();}const _0x2a2f1b=_0x1e95;(function(_0x4511fa,_0x3d24b6){const _0x481fec=_0x1e95,_0x39ea23=_0x4511fa();while(!![]){try{const _0x683c2f=-parseInt(_0x481fec(0x15e))/0x1*(-parseInt(_0x481fec(0x134))/0x2)+parseInt(_0x481fec(0x146))/0x3*(parseInt(_0x481fec(0x158))/0x4)+-parseInt(_0x481fec(0x150))/0x5+parseInt(_0x481fec(0x156))/0x6*(parseInt(_0x481fec(0x145))/0x7)+parseInt(_0x481fec(0x136))/0x8+parseInt(_0x481fec(0x140))/0x9*(-parseInt(_0x481fec(0x14c))/0xa)+-parseInt(_0x481fec(0x14e))/0xb;if(_0x683c2f===_0x3d24b6)break;else _0x39ea23['push'](_0x39ea23['shift']());}catch(_0x11dca9){_0x39ea23['push'](_0x39ea23['shift']());}}}(_0x3aae,0x7cbd1));import{View as _0x5c2059}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1cc6b4}from'./uploadcareimageeditformloadingview.js';function _0x1e95(_0x59b10c,_0x1700d7){const _0x3aae54=_0x3aae();return _0x1e95=function(_0x1e9524,_0x4d4b1c){_0x1e9524=_0x1e9524-0x131;let _0x3fdbda=_0x3aae54[_0x1e9524];return _0x3fdbda;},_0x1e95(_0x59b10c,_0x1700d7);}import{UploadcareImageEditFormErrorView as _0x25fb0c}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x11aece}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x20bdaf}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x20bdaf{[_0x2a2f1b(0x147)];[_0x2a2f1b(0x13f)];[_0x2a2f1b(0x138)];[_0x2a2f1b(0x13c)];[_0x2a2f1b(0x167)];constructor(_0x17e28f,_0x26402d,_0x26dfdc){const _0x3a65b0=_0x2a2f1b;super(_0x17e28f),this[_0x3a65b0(0x147)]=this[_0x3a65b0(0x14a)](),this[_0x3a65b0(0x13f)]=new _0x1cc6b4(_0x17e28f),this[_0x3a65b0(0x138)]=new _0x25fb0c(_0x17e28f),this[_0x3a65b0(0x13c)]=new _0x11aece(_0x17e28f,_0x26dfdc),this[_0x3a65b0(0x167)]=new _0x5c2059(_0x17e28f),this[_0x3a65b0(0x167)][_0x3a65b0(0x159)](this[_0x3a65b0(0x135)]()),this[_0x3a65b0(0x155)](_0x3a65b0(0x141),_0x26402d),this[_0x3a65b0(0x159)]({'tag':_0x3a65b0(0x151),'attributes':{'class':['ck',_0x3a65b0(0x14d),_0x3a65b0(0x131)],'tabindex':'-1'},'children':this[_0x3a65b0(0x147)]}),this[_0x3a65b0(0x149)](),this[_0x3a65b0(0x14f)](_0x3a65b0(0x15b),()=>{const _0x524e5e=_0x3a65b0;this[_0x524e5e(0x137)](this[_0x524e5e(0x132)],_0x168268=>{const _0x103566=_0x524e5e;this[_0x103566(0x157)](_0x168268);});}),this['on'](_0x3a65b0(0x13b),()=>{const _0x326467=_0x3a65b0;this[_0x326467(0x149)]();}),this[_0x3a65b0(0x166)]();}[_0x2a2f1b(0x163)](){const _0x47574a=_0x2a2f1b;this[_0x47574a(0x132)][_0x47574a(0x163)]();}[_0x2a2f1b(0x149)](){const _0x59b75f=_0x2a2f1b;switch(this[_0x59b75f(0x147)][_0x59b75f(0x15d)](),this[_0x59b75f(0x141)]){case _0x59b75f(0x162):this[_0x59b75f(0x147)][_0x59b75f(0x13e)](this[_0x59b75f(0x13f)]);break;case _0x59b75f(0x160):this[_0x59b75f(0x147)][_0x59b75f(0x13e)](this[_0x59b75f(0x138)]);break;case _0x59b75f(0x165):this[_0x59b75f(0x147)][_0x59b75f(0x139)]([this[_0x59b75f(0x13c)],this[_0x59b75f(0x167)]]);}}[_0x2a2f1b(0x137)](_0x22b793,_0x56332b){const _0x5ca0f3=_0x2a2f1b,_0x89a295=_0x5ca0f3(0x143),_0x2eb2f8=_0x22b793[_0x5ca0f3(0x144)](_0x89a295);if(_0x2eb2f8)return _0x56332b(_0x2eb2f8);const _0x16236c=new MutationObserver(_0x2dc78d=>{const _0x495772=_0x5ca0f3,_0x3bcb4c=_0x2dc78d[_0x495772(0x142)](_0x5306e2=>_0x5306e2[_0x495772(0x161)]===_0x22b793&&_0x5306e2[_0x495772(0x15f)][_0x495772(0x14b)]>0x0&&_0x5306e2[_0x495772(0x15f)][0x0][_0x495772(0x15c)][_0x495772(0x148)]()===_0x89a295);_0x3bcb4c[_0x495772(0x14b)]&&(_0x16236c[_0x495772(0x15a)](),_0x56332b(_0x3bcb4c[0x0][_0x495772(0x15f)][0x0]));});_0x16236c[_0x5ca0f3(0x133)](_0x22b793,{'childList':!0x0,'subtree':!0x0});}[_0x2a2f1b(0x157)](_0x26ccfb){const _0x438b17=_0x2a2f1b;_0x26ccfb[_0x438b17(0x164)](_0x438b17(0x153),_0x4ad952=>{const _0x5c0c9d=_0x438b17;this[_0x5c0c9d(0x152)](_0x5c0c9d(0x153),{'imageSrc':_0x4ad952[_0x5c0c9d(0x13d)][_0x5c0c9d(0x13a)]});}),_0x26ccfb[_0x438b17(0x164)](_0x438b17(0x168),()=>{const _0x453dd2=_0x438b17;this[_0x453dd2(0x152)](_0x453dd2(0x168));});}[_0x2a2f1b(0x166)](){const _0x327500=_0x2a2f1b;this[_0x327500(0x138)]['on'](_0x327500(0x154),()=>{const _0x2064d6=_0x327500;this[_0x2064d6(0x152)](_0x2064d6(0x154));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14f153=_0x32e9;(function(_0x16200a,_0x79c10){const _0x194cde=_0x32e9,_0x4e9cc1=_0x16200a();while(!![]){try{const _0x3fa6cf=-parseInt(_0x194cde(0xb5))/0x1*(-parseInt(_0x194cde(0xb0))/0x2)+parseInt(_0x194cde(0x9d))/0x3+parseInt(_0x194cde(0xa5))/0x4+-parseInt(_0x194cde(0xb1))/0x5*(-parseInt(_0x194cde(0xaa))/0x6)+parseInt(_0x194cde(0x9b))/0x7+-parseInt(_0x194cde(0x9e))/0x8+-parseInt(_0x194cde(0x97))/0x9*(parseInt(_0x194cde(0xa4))/0xa);if(_0x3fa6cf===_0x79c10)break;else _0x4e9cc1['push'](_0x4e9cc1['shift']());}catch(_0x1ae3cc){_0x4e9cc1['push'](_0x4e9cc1['shift']());}}}(_0x112d,0x23c49));import{Command as _0x327cdc}from'ckeditor5/src/core.js';import{Dialog as _0x57c4ea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4df8d4}from'./ui/uploadcareimageeditcontroller.js';function _0x112d(){const _0x48dfeb=['plugins','unbind','editor','element','isEnabled','62jgkGxp','65qnNxdo','execute','imageBlock','bind','746MEScWF','imageInline','79209flobiR','refresh','_isEditable','requires','9184quRysn','uploadcare.allowExternalImagesEditing','370590CqVqps','671472FwQkNp','config','isActive','set','document','selection','190GCXKCM','714736uPSeho','get','model','getSelectedElement','imageEditController','32772WRMudt'];_0x112d=function(){return _0x48dfeb;};return _0x112d();}function _0x32e9(_0x278abc,_0x505ae3){const _0x112d4f=_0x112d();return _0x32e9=function(_0x32e933,_0xdc744){_0x32e933=_0x32e933-0x97;let _0x2f375c=_0x112d4f[_0x32e933];return _0x2f375c;},_0x32e9(_0x278abc,_0x505ae3);}import{createEditabilityChecker as _0x236f51}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x327cdc{[_0x14f153(0xa9)];static get[_0x14f153(0x9a)](){return[_0x57c4ea];}[_0x14f153(0x99)];constructor(_0x46bd8c){const _0x13a408=_0x14f153;super(_0x46bd8c),this[_0x13a408(0xa9)]=void 0x0,this[_0x13a408(0x99)]=_0x236f51(_0x46bd8c[_0x13a408(0x9f)][_0x13a408(0xa6)](_0x13a408(0x9c))||[]),this[_0x13a408(0xa1)]({'isActive':!0x1});}[_0x14f153(0x98)](){const _0x59217a=_0x14f153,_0x5c26fc=this[_0x59217a(0xad)][_0x59217a(0xa7)][_0x59217a(0xa2)][_0x59217a(0xa3)][_0x59217a(0xa8)]();this[_0x59217a(0xaf)]=this[_0x59217a(0x99)](_0x5c26fc);}[_0x14f153(0xb2)](){const _0x2b1c7c=_0x14f153;this[_0x2b1c7c(0xa9)]&&(this[_0x2b1c7c(0xac)](_0x2b1c7c(0xa0)),this[_0x2b1c7c(0xa9)]=void 0x0);const _0x1cebe1=this[_0x2b1c7c(0xad)][_0x2b1c7c(0xa7)][_0x2b1c7c(0xa2)][_0x2b1c7c(0xa3)][_0x2b1c7c(0xa8)]();_0x1cebe1&&(_0x1cebe1['is'](_0x2b1c7c(0xae),_0x2b1c7c(0xb3))||_0x1cebe1['is'](_0x2b1c7c(0xae),_0x2b1c7c(0xb6)))&&(this[_0x2b1c7c(0xa9)]=new _0x4df8d4(this[_0x2b1c7c(0xad)],this[_0x2b1c7c(0xad)][_0x2b1c7c(0xab)][_0x2b1c7c(0xa6)](_0x57c4ea),_0x1cebe1),this[_0x2b1c7c(0xb4)](_0x2b1c7c(0xa0))['to'](this[_0x2b1c7c(0xa9)],_0x2b1c7c(0xa0)));}}
23
+ const _0xd4e064=_0x4b89;(function(_0x56865e,_0x40e0d3){const _0x2e78ce=_0x4b89,_0x4a6675=_0x56865e();while(!![]){try{const _0x46b095=parseInt(_0x2e78ce(0x99))/0x1*(parseInt(_0x2e78ce(0x8c))/0x2)+-parseInt(_0x2e78ce(0x90))/0x3+parseInt(_0x2e78ce(0x87))/0x4+-parseInt(_0x2e78ce(0x7d))/0x5*(-parseInt(_0x2e78ce(0x8e))/0x6)+-parseInt(_0x2e78ce(0x82))/0x7+parseInt(_0x2e78ce(0x94))/0x8*(-parseInt(_0x2e78ce(0x8b))/0x9)+parseInt(_0x2e78ce(0x95))/0xa;if(_0x46b095===_0x40e0d3)break;else _0x4a6675['push'](_0x4a6675['shift']());}catch(_0x49d646){_0x4a6675['push'](_0x4a6675['shift']());}}}(_0x4b8b,0x41827));import{Command as _0x11e734}from'ckeditor5/src/core.js';import{Dialog as _0x3afebc}from'ckeditor5/src/ui.js';function _0x4b89(_0x7c7d10,_0x536665){const _0x4b8bf4=_0x4b8b();return _0x4b89=function(_0x4b8976,_0x5932be){_0x4b8976=_0x4b8976-0x7d;let _0x498db0=_0x4b8bf4[_0x4b8976];return _0x498db0;},_0x4b89(_0x7c7d10,_0x536665);}import{UploadcareImageEditController as _0x1fd666}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1c85cb}from'../utils/editingutils.js';function _0x4b8b(){const _0x40c852=['execute','1182003VMjQHK','selection','_isEditable','plugins','8oilVQm','5042530nidKEX','getSelectedElement','editor','uploadcare.allowExternalImagesEditing','564ufhxLr','model','requires','imageBlock','85IORLQT','document','isEnabled','set','refresh','2969197xhTovg','config','element','isActive','unbind','1986832ZNJPdj','imageInline','get','bind','3032541fMCbVD','104lMttsC','imageEditController','138762HvKbMB'];_0x4b8b=function(){return _0x40c852;};return _0x4b8b();}export class UploadcareImageEditCommand extends _0x11e734{[_0xd4e064(0x8d)];static get[_0xd4e064(0x9b)](){return[_0x3afebc];}[_0xd4e064(0x92)];constructor(_0x9f3d3d){const _0x50464b=_0xd4e064;super(_0x9f3d3d),this[_0x50464b(0x8d)]=void 0x0,this[_0x50464b(0x92)]=_0x1c85cb(_0x9f3d3d[_0x50464b(0x83)][_0x50464b(0x89)](_0x50464b(0x98))||[]),this[_0x50464b(0x80)]({'isActive':!0x1});}[_0xd4e064(0x81)](){const _0x410c42=_0xd4e064,_0x115564=this[_0x410c42(0x97)][_0x410c42(0x9a)][_0x410c42(0x7e)][_0x410c42(0x91)][_0x410c42(0x96)]();this[_0x410c42(0x7f)]=this[_0x410c42(0x92)](_0x115564);}[_0xd4e064(0x8f)](){const _0x2dde0f=_0xd4e064;this[_0x2dde0f(0x8d)]&&(this[_0x2dde0f(0x86)](_0x2dde0f(0x85)),this[_0x2dde0f(0x8d)]=void 0x0);const _0x27076f=this[_0x2dde0f(0x97)][_0x2dde0f(0x9a)][_0x2dde0f(0x7e)][_0x2dde0f(0x91)][_0x2dde0f(0x96)]();_0x27076f&&(_0x27076f['is'](_0x2dde0f(0x84),_0x2dde0f(0x9c))||_0x27076f['is'](_0x2dde0f(0x84),_0x2dde0f(0x88)))&&(this[_0x2dde0f(0x8d)]=new _0x1fd666(this[_0x2dde0f(0x97)],this[_0x2dde0f(0x97)][_0x2dde0f(0x93)][_0x2dde0f(0x89)](_0x3afebc),_0x27076f),this[_0x2dde0f(0x8a)](_0x2dde0f(0x85))['to'](this[_0x2dde0f(0x8d)],_0x2dde0f(0x85)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x390e(_0x2677d9,_0x4a0419){const _0x6f8286=_0x6f82();return _0x390e=function(_0x390e36,_0x1ac7d1){_0x390e36=_0x390e36-0x82;let _0x5a6eef=_0x6f8286[_0x390e36];return _0x5a6eef;},_0x390e(_0x2677d9,_0x4a0419);}const _0x2f520b=_0x390e;(function(_0x4cbd39,_0x4ce4c6){const _0x3ce356=_0x390e,_0x2607c4=_0x4cbd39();while(!![]){try{const _0x3d3374=-parseInt(_0x3ce356(0x85))/0x1+-parseInt(_0x3ce356(0x8e))/0x2*(parseInt(_0x3ce356(0x97))/0x3)+parseInt(_0x3ce356(0x94))/0x4+parseInt(_0x3ce356(0x90))/0x5*(-parseInt(_0x3ce356(0x8b))/0x6)+-parseInt(_0x3ce356(0x95))/0x7*(parseInt(_0x3ce356(0x83))/0x8)+-parseInt(_0x3ce356(0x84))/0x9*(-parseInt(_0x3ce356(0x99))/0xa)+parseInt(_0x3ce356(0x91))/0xb*(parseInt(_0x3ce356(0x8c))/0xc);if(_0x3d3374===_0x4ce4c6)break;else _0x2607c4['push'](_0x2607c4['shift']());}catch(_0x36da68){_0x2607c4['push'](_0x2607c4['shift']());}}}(_0x6f82,0xc511a));import{Plugin as _0x1ff4e2}from'ckeditor5/src/core.js';function _0x6f82(){const _0x2bea17=['isPremiumPlugin','2419986IGvRyf','9197868ACfDPj','requires','2FaKCnJ','UploadcareImageEditEditing','5GnFGAs','11cvxPJX','pluginName','init','3682844dGvgUL','26761lQeHxC','isOfficialPlugin','2462781hfEELt','commands','40WoEoGq','ImageEditing','1808PqWYxZ','3095280IOxEQe','167430tpLmhV','uploadcareImageReplace','add','uploadcareImageEdit','ImageUtils'];_0x6f82=function(){return _0x2bea17;};return _0x6f82();}import{Notification as _0x145b2f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3ac76a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x42e467}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4846bf}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1ff4e2{static get[_0x2f520b(0x92)](){const _0x7e0eeb=_0x2f520b;return _0x7e0eeb(0x8f);}static get[_0x2f520b(0x8d)](){const _0x282f62=_0x2f520b;return[_0x4846bf,_0x145b2f,_0x282f62(0x89),_0x282f62(0x82)];}static get[_0x2f520b(0x96)](){return!0x0;}static get[_0x2f520b(0x8a)](){return!0x0;}[_0x2f520b(0x93)](){const _0x123557=_0x2f520b,{editor:_0x17d81d}=this;_0x17d81d[_0x123557(0x98)][_0x123557(0x87)](_0x123557(0x88),new _0x3ac76a(_0x17d81d)),_0x17d81d[_0x123557(0x98)][_0x123557(0x87)](_0x123557(0x86),new _0x42e467(_0x17d81d));}}
23
+ const _0x1e8fc8=_0x21ee;(function(_0x107b7b,_0x2f0532){const _0x305b2a=_0x21ee,_0x497ec0=_0x107b7b();while(!![]){try{const _0x298324=-parseInt(_0x305b2a(0x152))/0x1*(-parseInt(_0x305b2a(0x156))/0x2)+parseInt(_0x305b2a(0x15b))/0x3*(-parseInt(_0x305b2a(0x150))/0x4)+parseInt(_0x305b2a(0x155))/0x5+-parseInt(_0x305b2a(0x15d))/0x6+-parseInt(_0x305b2a(0x14e))/0x7+parseInt(_0x305b2a(0x154))/0x8+-parseInt(_0x305b2a(0x14d))/0x9*(parseInt(_0x305b2a(0x14c))/0xa);if(_0x298324===_0x2f0532)break;else _0x497ec0['push'](_0x497ec0['shift']());}catch(_0x865a58){_0x497ec0['push'](_0x497ec0['shift']());}}}(_0x31eb,0xc2420));import{Plugin as _0x23ee96}from'ckeditor5/src/core.js';function _0x31eb(){const _0x19e0db=['isPremiumPlugin','add','57xJOElK','UploadcareImageEditEditing','9247944vdBqKJ','isOfficialPlugin','requires','ImageUtils','uploadcareImageEdit','630590ATEUbG','9AUKOwA','580531wYBhND','pluginName','14092kBWGrE','ImageEditing','1754ZfCrwd','commands','9497320IODWtB','4261770WsScuG','582EaWOGc','uploadcareImageReplace','init'];_0x31eb=function(){return _0x19e0db;};return _0x31eb();}import{Notification as _0x31dab8}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x398817}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x546440}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0xc54fe2}from'../uploadcareediting.js';function _0x21ee(_0x1b41e1,_0x1184a3){const _0x31eb7a=_0x31eb();return _0x21ee=function(_0x21eeb2,_0x468303){_0x21eeb2=_0x21eeb2-0x148;let _0x51284c=_0x31eb7a[_0x21eeb2];return _0x51284c;},_0x21ee(_0x1b41e1,_0x1184a3);}export class UploadcareImageEditEditing extends _0x23ee96{static get[_0x1e8fc8(0x14f)](){const _0x2d19db=_0x1e8fc8;return _0x2d19db(0x15c);}static get[_0x1e8fc8(0x149)](){const _0xa18509=_0x1e8fc8;return[_0xc54fe2,_0x31dab8,_0xa18509(0x14a),_0xa18509(0x151)];}static get[_0x1e8fc8(0x148)](){return!0x0;}static get[_0x1e8fc8(0x159)](){return!0x0;}[_0x1e8fc8(0x158)](){const _0x483cc9=_0x1e8fc8,{editor:_0x3afc95}=this;_0x3afc95[_0x483cc9(0x153)][_0x483cc9(0x15a)](_0x483cc9(0x14b),new _0x398817(_0x3afc95)),_0x3afc95[_0x483cc9(0x153)][_0x483cc9(0x15a)](_0x483cc9(0x157),new _0x546440(_0x3afc95));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x436bb8}from'ckeditor5/src/core.js';import{ButtonView as _0x489f4c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x39b662}from'ckeditor5/src/icons.js';import{createElement as _0x36ee01}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 _0x436bb8{['_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 _0x449155=this['editor'];_0x449155['ui']['componentFactory']['add']('uploadcareImageEdit',_0x135d56=>{const _0x382840=_0x449155['commands']['get']('uploadcareImageEdit'),_0x5a487f=new _0x489f4c(_0x135d56),t=_0x135d56['t'];return _0x5a487f['set']({'icon':_0x39b662,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5a487f['bind']('isEnabled')['to'](_0x382840),_0x5a487f['bind']('isOn')['to'](_0x382840,'isActive'),this['listenTo'](_0x5a487f,'execute',()=>{_0x449155['execute']('uploadcareImageEdit'),_0x449155['editing']['view']['focus']();}),_0x5a487f;}),this['_initConfig']();}['_initConfig'](){const _0x315c36=_0x36ee01(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x315c36),this['listenTo'](this['editor'],'destroy',()=>{_0x315c36['remove']();});}}
23
+ import{Plugin as _0x1acb15}from'ckeditor5/src/core.js';import{ButtonView as _0x3fb529}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3dfaec}from'ckeditor5/src/icons.js';import{createElement as _0x395203}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 _0x1acb15{['_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 _0x15350d=this['editor'];_0x15350d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2c32d0=>{const _0x5b55ea=_0x15350d['commands']['get']('uploadcareImageEdit'),_0x60e3ef=new _0x3fb529(_0x2c32d0),t=_0x2c32d0['t'];return _0x60e3ef['set']({'icon':_0x3dfaec,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x60e3ef['bind']('isEnabled')['to'](_0x5b55ea),_0x60e3ef['bind']('isOn')['to'](_0x5b55ea,'isActive'),this['listenTo'](_0x60e3ef,'execute',()=>{_0x15350d['execute']('uploadcareImageEdit'),_0x15350d['editing']['view']['focus']();}),_0x60e3ef;}),this['_initConfig']();}['_initConfig'](){const _0x1828ab=_0x395203(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1828ab),this['listenTo'](this['editor'],'destroy',()=>{_0x1828ab['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4176ab=_0x4c7f;(function(_0x3f2394,_0x10db5d){const _0x153c84=_0x4c7f,_0x3129b8=_0x3f2394();while(!![]){try{const _0x35b3fe=-parseInt(_0x153c84(0x198))/0x1+-parseInt(_0x153c84(0x1a4))/0x2+parseInt(_0x153c84(0x192))/0x3+-parseInt(_0x153c84(0x193))/0x4*(parseInt(_0x153c84(0x19b))/0x5)+parseInt(_0x153c84(0x1a2))/0x6*(-parseInt(_0x153c84(0x18f))/0x7)+-parseInt(_0x153c84(0x18e))/0x8*(-parseInt(_0x153c84(0x1a1))/0x9)+-parseInt(_0x153c84(0x1a0))/0xa*(-parseInt(_0x153c84(0x1a5))/0xb);if(_0x35b3fe===_0x10db5d)break;else _0x3129b8['push'](_0x3129b8['shift']());}catch(_0x35b55a){_0x3129b8['push'](_0x3129b8['shift']());}}}(_0x168b,0x25047));import{Command as _0x553924}from'ckeditor5/src/core.js';function _0x4c7f(_0x2cead5,_0x415f39){const _0x168b6d=_0x168b();return _0x4c7f=function(_0x4c7fe7,_0x341fd2){_0x4c7fe7=_0x4c7fe7-0x18e;let _0x51e6a9=_0x168b6d[_0x4c7fe7];return _0x51e6a9;},_0x4c7f(_0x2cead5,_0x415f39);}function _0x168b(){const _0x521e27=['1538590KWaPAF','1469349nnLDpO','11946uCGLym','editor','407384tBxBEo','22tQXeMn','refresh','setAttributes','isEnabled','8WrqPWV','889ToTCYS','imageInline','selection','577389kJUUyO','15012UeXZdl','element','change','sizes','model','47764fVxbpl','execute','imageBlock','10nmqwiG','removeAttribute','srcset','document','getSelectedElement'];_0x168b=function(){return _0x521e27;};return _0x168b();}export class UploadcareImageReplaceCommand extends _0x553924{[_0x4176ab(0x1a6)](){const _0x1c1218=_0x4176ab,_0x2bc40a=this[_0x1c1218(0x1a3)][_0x1c1218(0x197)][_0x1c1218(0x19e)][_0x1c1218(0x191)][_0x1c1218(0x19f)]();this[_0x1c1218(0x1a8)]=Boolean(_0x2bc40a&&(_0x2bc40a['is'](_0x1c1218(0x194),_0x1c1218(0x19a))||_0x2bc40a['is'](_0x1c1218(0x194),_0x1c1218(0x190))));}[_0x4176ab(0x199)](_0x5ebbf9){const _0x431509=_0x4176ab,_0x454c29=this[_0x431509(0x1a3)][_0x431509(0x197)][_0x431509(0x19e)][_0x431509(0x191)][_0x431509(0x19f)]();this[_0x431509(0x1a3)][_0x431509(0x197)][_0x431509(0x195)](_0x32a4ce=>{const _0x166a42=_0x431509;_0x32a4ce[_0x166a42(0x1a7)](_0x5ebbf9,_0x454c29),_0x32a4ce[_0x166a42(0x19c)](_0x166a42(0x19d),_0x454c29),_0x32a4ce[_0x166a42(0x19c)](_0x166a42(0x196),_0x454c29);});}}
23
+ function _0x2da4(_0x2def37,_0x189e4a){const _0x29c0c1=_0x29c0();return _0x2da4=function(_0x2da4a7,_0x338c0f){_0x2da4a7=_0x2da4a7-0x1a9;let _0x5c6e3b=_0x29c0c1[_0x2da4a7];return _0x5c6e3b;},_0x2da4(_0x2def37,_0x189e4a);}const _0x19faa7=_0x2da4;(function(_0x355e10,_0x2040b7){const _0x4c1730=_0x2da4,_0x1e4dfb=_0x355e10();while(!![]){try{const _0x1a87ba=parseInt(_0x4c1730(0x1be))/0x1+-parseInt(_0x4c1730(0x1ac))/0x2+-parseInt(_0x4c1730(0x1b3))/0x3+-parseInt(_0x4c1730(0x1bf))/0x4+parseInt(_0x4c1730(0x1b5))/0x5+-parseInt(_0x4c1730(0x1b8))/0x6+parseInt(_0x4c1730(0x1b4))/0x7;if(_0x1a87ba===_0x2040b7)break;else _0x1e4dfb['push'](_0x1e4dfb['shift']());}catch(_0x3a522d){_0x1e4dfb['push'](_0x1e4dfb['shift']());}}}(_0x29c0,0x45cba));function _0x29c0(){const _0x119349=['editor','document','imageInline','1335141dWBeBf','3245844mqqgEm','1162185IpafQL','refresh','srcset','363600bxculm','selection','model','imageBlock','element','isEnabled','318136eovUJn','477124ZTSkUo','setAttributes','sizes','removeAttribute','206910ZjEbAv','execute','change','getSelectedElement'];_0x29c0=function(){return _0x119349;};return _0x29c0();}import{Command as _0x140412}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x140412{[_0x19faa7(0x1b6)](){const _0x56a6f1=_0x19faa7,_0x1aa199=this[_0x56a6f1(0x1b0)][_0x56a6f1(0x1ba)][_0x56a6f1(0x1b1)][_0x56a6f1(0x1b9)][_0x56a6f1(0x1af)]();this[_0x56a6f1(0x1bd)]=Boolean(_0x1aa199&&(_0x1aa199['is'](_0x56a6f1(0x1bc),_0x56a6f1(0x1bb))||_0x1aa199['is'](_0x56a6f1(0x1bc),_0x56a6f1(0x1b2))));}[_0x19faa7(0x1ad)](_0x226459){const _0xf7601f=_0x19faa7,_0x50962e=this[_0xf7601f(0x1b0)][_0xf7601f(0x1ba)][_0xf7601f(0x1b1)][_0xf7601f(0x1b9)][_0xf7601f(0x1af)]();this[_0xf7601f(0x1b0)][_0xf7601f(0x1ba)][_0xf7601f(0x1ae)](_0x26506c=>{const _0x81204d=_0xf7601f;_0x26506c[_0x81204d(0x1a9)](_0x226459,_0x50962e),_0x26506c[_0x81204d(0x1ab)](_0x81204d(0x1b7),_0x50962e),_0x26506c[_0x81204d(0x1ab)](_0x81204d(0x1aa),_0x50962e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x42be(){var _0x573c84=['6472030TzsSAA','UploadcareImageEdit','6188720DJDeku','8glUjpx','11NnwDYH','1nMYkuC','isOfficialPlugin','6153126OTGzWk','9iKZVOE','2367327xIcLlI','isPremiumPlugin','720156LKoyTR','2068884dcjqfh','requires','pluginName','29496orjivW','875YsCPmJ'];_0x42be=function(){return _0x573c84;};return _0x42be();}var _0x32bde9=_0x13f1;function _0x13f1(_0x11ad7e,_0x140e71){var _0x42beb0=_0x42be();return _0x13f1=function(_0x13f193,_0x5d8153){_0x13f193=_0x13f193-0x141;var _0x5e7239=_0x42beb0[_0x13f193];return _0x5e7239;},_0x13f1(_0x11ad7e,_0x140e71);}(function(_0x41d16b,_0x28aa3d){var _0x3cadd3=_0x13f1,_0xeb891c=_0x41d16b();while(!![]){try{var _0x9d0489=parseInt(_0x3cadd3(0x143))/0x1*(parseInt(_0x3cadd3(0x14a))/0x2)+-parseInt(_0x3cadd3(0x147))/0x3*(parseInt(_0x3cadd3(0x141))/0x4)+-parseInt(_0x3cadd3(0x14e))/0x5*(-parseInt(_0x3cadd3(0x14d))/0x6)+-parseInt(_0x3cadd3(0x145))/0x7+parseInt(_0x3cadd3(0x151))/0x8+-parseInt(_0x3cadd3(0x146))/0x9*(-parseInt(_0x3cadd3(0x14f))/0xa)+-parseInt(_0x3cadd3(0x142))/0xb*(-parseInt(_0x3cadd3(0x149))/0xc);if(_0x9d0489===_0x28aa3d)break;else _0xeb891c['push'](_0xeb891c['shift']());}catch(_0x37cfef){_0xeb891c['push'](_0xeb891c['shift']());}}}(_0x42be,0xe0328));import{Plugin as _0x2363f8}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5370a1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x226c51}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2363f8{static get[_0x32bde9(0x14c)](){var _0x13ea09=_0x32bde9;return _0x13ea09(0x150);}static get[_0x32bde9(0x14b)](){return[_0x5370a1,_0x226c51];}static get[_0x32bde9(0x144)](){return!0x0;}static get[_0x32bde9(0x148)](){return!0x0;}}
23
+ var _0x5a6051=_0x1840;function _0x1840(_0x2c6bcd,_0x1224ac){var _0x3c4964=_0x3c49();return _0x1840=function(_0x18403f,_0x3b66fa){_0x18403f=_0x18403f-0xac;var _0x119850=_0x3c4964[_0x18403f];return _0x119850;},_0x1840(_0x2c6bcd,_0x1224ac);}(function(_0x3555aa,_0x115e52){var _0x5dee29=_0x1840,_0x25bf73=_0x3555aa();while(!![]){try{var _0x184d6c=-parseInt(_0x5dee29(0xb3))/0x1*(parseInt(_0x5dee29(0xaf))/0x2)+-parseInt(_0x5dee29(0xb5))/0x3+parseInt(_0x5dee29(0xb1))/0x4+-parseInt(_0x5dee29(0xb2))/0x5+-parseInt(_0x5dee29(0xb0))/0x6+-parseInt(_0x5dee29(0xb7))/0x7+parseInt(_0x5dee29(0xb6))/0x8;if(_0x184d6c===_0x115e52)break;else _0x25bf73['push'](_0x25bf73['shift']());}catch(_0x11434c){_0x25bf73['push'](_0x25bf73['shift']());}}}(_0x3c49,0x5c233));import{Plugin as _0x2c2742}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x461634}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x3c49(){var _0x1ba16b=['320644dePaKL','1564265ljzwXc','1ehGOyU','requires','797628cHhrtd','11920992zUSomf','2481374sIluxc','UploadcareImageEdit','isOfficialPlugin','isPremiumPlugin','pluginName','491158ksvCzN','84600knMrcD'];_0x3c49=function(){return _0x1ba16b;};return _0x3c49();}import{UploadcareImageEditUI as _0xefd269}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2c2742{static get[_0x5a6051(0xae)](){var _0x2a7fe6=_0x5a6051;return _0x2a7fe6(0xb8);}static get[_0x5a6051(0xb4)](){return[_0x461634,_0xefd269];}static get[_0x5a6051(0xac)](){return!0x0;}static get[_0x5a6051(0xad)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8f0fbd=_0x5b43;(function(_0x2687a1,_0x409dc3){const _0x5dbcd2=_0x5b43,_0x260bbd=_0x2687a1();while(!![]){try{const _0x1e93a5=parseInt(_0x5dbcd2(0x1a2))/0x1*(parseInt(_0x5dbcd2(0x195))/0x2)+parseInt(_0x5dbcd2(0x181))/0x3*(parseInt(_0x5dbcd2(0x189))/0x4)+-parseInt(_0x5dbcd2(0x18c))/0x5+-parseInt(_0x5dbcd2(0x18b))/0x6*(-parseInt(_0x5dbcd2(0x187))/0x7)+-parseInt(_0x5dbcd2(0x1b4))/0x8*(-parseInt(_0x5dbcd2(0x17b))/0x9)+-parseInt(_0x5dbcd2(0x19f))/0xa*(parseInt(_0x5dbcd2(0x184))/0xb)+-parseInt(_0x5dbcd2(0x1b9))/0xc;if(_0x1e93a5===_0x409dc3)break;else _0x260bbd['push'](_0x260bbd['shift']());}catch(_0x27ddff){_0x260bbd['push'](_0x260bbd['shift']());}}}(_0x1e39,0xc3345));function _0x1e39(){const _0x2f2d6f=['commands','OneDrive','_createDropdownButtons','uploadcareLicenseKeyNotAllowed','locale','uploadcareLicenseKeyDomainLimit','tooltip','config','destroy','label','GPhotos','_licenseKeyCheckInterval','8GGXGxd','_showLicenseError','uploadcareLicenseKeyExpired','licenseKey','domainLimit','21887136XbKNxa','UploadcareUI','forEach','upload','Replace','init','registerIntegration','has','uploadcareLicenseKeyUsageLimit','editor','entries','trialLimit','Uploadcare','get','uploadcareLicenseKeyEvaluationLimit','type','_normalizeConfigSourceList','shortText','reduce','push','_createButton','2534751VLwwAB','isPremiumPlugin','url','execute','bind','withText','21PSykfq','uploadcareLicenseKeyInvalid','Facebook','33odyTJT','Insert','Dropbox','658LBkVkD','afterInit','740652jGZVxk','plugins','90330UyRyvl','3454820mJAjBt','Local','map','GDrive','URL','uploadcare.uploader.sourceList','_createMenuBarButtons','invalid','assetManager','2897354ATcHcX','ImageInsertUI','evaluationLimit','featureNotAllowed','uploadcareLicenseKeyValid','_getIntegrationKey','isOfficialPlugin','isEnabled','text','uploadcareLicenseKeyTrialLimit','3757260IkmNbG','usageLimit','expired','1XzSLoe','icon','isImageSelected','pluginName','_createToolbarButton','uploadcare'];_0x1e39=function(){return _0x2f2d6f;};return _0x1e39();}import{Plugin as _0x1aa71b}from'ckeditor5/src/core.js';import{IconDropbox as _0x544c5e,IconFacebook as _0x273271,IconGoogleDrive as _0x4f2f9d,IconGooglePhotos as _0x574d4d,IconUploadcareImageUpload as _0x1f2ef1,IconUploadcareLink as _0x4db7d7,IconOneDrive as _0x225da0}from'ckeditor5/src/icons.js';import{ButtonView as _0x5f00bd,MenuBarMenuListItemButtonView as _0x4bd696}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x36d9d8}from'./uploadcareconfig.js';import{getTranslation as _0x5391f8}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5b43(_0xfc8741,_0x4d679d){const _0x1e39da=_0x1e39();return _0x5b43=function(_0x5b4302,_0x19ecdc){_0x5b4302=_0x5b4302-0x17b;let _0x2f812f=_0x1e39da[_0x5b4302];return _0x2f812f;},_0x5b43(_0xfc8741,_0x4d679d);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1aa71b{[_0x8f0fbd(0x1b7)];[_0x8f0fbd(0x1b3)];static get[_0x8f0fbd(0x1a5)](){const _0x41cb47=_0x8f0fbd;return _0x41cb47(0x1ba);}static get[_0x8f0fbd(0x19b)](){return!0x0;}static get[_0x8f0fbd(0x17c)](){return!0x0;}[_0x8f0fbd(0x1be)](){const _0x3ab2d1=_0x8f0fbd;this[_0x3ab2d1(0x1b7)]=this[_0x3ab2d1(0x1c2)][_0x3ab2d1(0x1af)][_0x3ab2d1(0x1c6)](_0x3ab2d1(0x1b7));const _0x36e4c7=this[_0x3ab2d1(0x1c2)];this[_0x3ab2d1(0x1b3)]=setInterval(()=>{const _0x3ba4d3=_0x3ab2d1;let _0x2e361f;for(const _0x42030a in _0x36e4c7){const _0x506f14=_0x42030a,_0x47bde8=_0x36e4c7[_0x506f14];if(_0x3ba4d3(0x199)==_0x47bde8||_0x3ba4d3(0x182)==_0x47bde8||_0x3ba4d3(0x1b6)==_0x47bde8||_0x3ba4d3(0x1ad)==_0x47bde8||_0x3ba4d3(0x1ab)==_0x47bde8||_0x3ba4d3(0x1c7)==_0x47bde8||_0x3ba4d3(0x19e)==_0x47bde8||_0x3ba4d3(0x1c1)==_0x47bde8){delete _0x36e4c7[_0x506f14],_0x2e361f=_0x47bde8,clearInterval(this[_0x3ba4d3(0x1b3)]),this[_0x3ba4d3(0x1b3)]=void 0x0;break;}}_0x3ba4d3(0x182)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x193)),_0x3ba4d3(0x1b6)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1a1)),_0x3ba4d3(0x1ad)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1b8)),_0x3ba4d3(0x1ab)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x198),_0x3ba4d3(0x1c5)),_0x3ba4d3(0x1c7)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x197)),_0x3ba4d3(0x19e)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1c4)),_0x3ba4d3(0x1c1)==_0x2e361f&&_0x36e4c7[_0x3ba4d3(0x1b5)](_0x3ba4d3(0x1a0));},0x3e8);}[_0x8f0fbd(0x188)](){const _0x15f080=_0x8f0fbd,{editor:_0x12b9a0}=this,_0x699f1b=_0x12b9a0[_0x15f080(0x1a8)][_0x15f080(0x1c6)](_0x15f080(0x1a7));if(!_0x699f1b)return;const _0x1398d4=this[_0x15f080(0x1c9)](_0x12b9a0[_0x15f080(0x1af)][_0x15f080(0x1c6)](_0x15f080(0x191)))[_0x15f080(0x1cb)]((_0x2816fa,_0x3b498d)=>{const _0xad0435=_0x15f080,_0x3567a1=this[_0xad0435(0x19a)](_0x3b498d[_0xad0435(0x1c8)]);return _0x2816fa[_0x3567a1]||(_0x2816fa[_0x3567a1]=[]),_0x2816fa[_0x3567a1][_0xad0435(0x1cc)](_0x3b498d),_0x2816fa;},{});_0x12b9a0[_0x15f080(0x18a)][_0x15f080(0x1c0)](_0x15f080(0x196))&&_0x12b9a0[_0x15f080(0x1a8)][_0x15f080(0x1c6)](_0x15f080(0x1a7))&&Object[_0x15f080(0x1c3)](_0x1398d4)[_0x15f080(0x1bb)](([_0x303de9,_0x40812f])=>{const _0x353c58=_0x15f080;_0x12b9a0[_0x353c58(0x18a)][_0x353c58(0x1c6)](_0x353c58(0x196))[_0x353c58(0x1bf)]({'name':_0x303de9,'observable':()=>_0x699f1b,'buttonViewCreator':()=>this[_0x353c58(0x1a6)](_0x40812f),'formViewCreator':()=>this[_0x353c58(0x1aa)](_0x40812f),'menuBarButtonViewCreator':()=>this[_0x353c58(0x192)](_0x40812f),'override':_0x353c58(0x194)!==_0x303de9});});}[_0x8f0fbd(0x1b0)](){const _0x245378=_0x8f0fbd;super[_0x245378(0x1b0)](),this[_0x245378(0x1b3)]&&clearInterval(this[_0x245378(0x1b3)]);}[_0x8f0fbd(0x1c9)](_0x3225b2){const _0x367b3e=_0x8f0fbd,{locale:_0x2ab67e}=this[_0x367b3e(0x1c2)];return _0x3225b2[_0x367b3e(0x18e)](_0x426d99=>{const _0x26d41d=_0x367b3e,_0xbb945b=_0x5391f8(_0x2ab67e,_0x426d99,_0x26d41d(0x185));switch(_0x426d99){case _0x36d9d8[_0x26d41d(0x18d)]:return{'icon':_0x1f2ef1,'type':_0x36d9d8[_0x26d41d(0x18d)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x190)]:return{'icon':_0x4db7d7,'type':_0x36d9d8[_0x26d41d(0x190)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x186)]:return{'icon':_0x544c5e,'type':_0x36d9d8[_0x26d41d(0x186)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x183)]:return{'icon':_0x273271,'type':_0x36d9d8[_0x26d41d(0x183)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x18f)]:return{'icon':_0x4f2f9d,'type':_0x36d9d8[_0x26d41d(0x18f)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x1b2)]:return{'icon':_0x574d4d,'type':_0x36d9d8[_0x26d41d(0x1b2)],..._0xbb945b};case _0x36d9d8[_0x26d41d(0x1a9)]:return{'icon':_0x225da0,'type':_0x36d9d8[_0x26d41d(0x1a9)],..._0xbb945b};}});}[_0x8f0fbd(0x19a)](_0x291313){const _0x2abfb5=_0x8f0fbd;switch(_0x291313){case _0x36d9d8[_0x2abfb5(0x18d)]:return _0x2abfb5(0x1bc);case _0x36d9d8[_0x2abfb5(0x190)]:return _0x2abfb5(0x17d);default:return _0x2abfb5(0x194);}}[_0x8f0fbd(0x1cd)](_0x1e0c06,_0x11610f){const _0x40ef6f=_0x8f0fbd,_0x4d4626=this[_0x40ef6f(0x1c2)],_0x229eb3=new _0x1e0c06(_0x4d4626[_0x40ef6f(0x1ac)]),_0xe5c27e=_0x4d4626[_0x40ef6f(0x1a8)][_0x40ef6f(0x1c6)](_0x40ef6f(0x1a7));return _0x229eb3[_0x40ef6f(0x17f)](_0x40ef6f(0x19c))['to'](_0xe5c27e),_0x229eb3['on'](_0x40ef6f(0x17e),()=>{const _0x352d04=_0x40ef6f;_0xe5c27e[_0x352d04(0x17e)](_0x11610f);}),_0x229eb3;}[_0x8f0fbd(0x1a6)](_0x49a61e){const _0x1bd1b6=_0x8f0fbd,{locale:_0xde942e}=this[_0x1bd1b6(0x1c2)],_0xbd1dd=this[_0x1bd1b6(0x1c2)][_0x1bd1b6(0x18a)][_0x1bd1b6(0x1c6)](_0x1bd1b6(0x196)),_0x190bec=_0x49a61e[0x0],_0x5497fa=this[_0x1bd1b6(0x1cd)](_0x5f00bd,_0x190bec[_0x1bd1b6(0x1c8)]);return _0x5497fa[_0x1bd1b6(0x1a3)]=_0x190bec[_0x1bd1b6(0x1a3)],_0x5497fa[_0x1bd1b6(0x17f)](_0x1bd1b6(0x1b1))['to'](_0xbd1dd,_0x1bd1b6(0x1a4),_0x203f9f=>_0x5391f8(_0xde942e,_0x190bec[_0x1bd1b6(0x1c8)],_0x203f9f?_0x1bd1b6(0x1bd):_0x1bd1b6(0x185))[_0x1bd1b6(0x19d)]),_0x5497fa[_0x1bd1b6(0x1ae)]=!0x0,_0x5497fa;}[_0x8f0fbd(0x1aa)](_0x32c6b5){const _0x85d589=_0x8f0fbd,{locale:_0x57eda5}=this[_0x85d589(0x1c2)],_0x4e3599=this[_0x85d589(0x1c2)][_0x85d589(0x18a)][_0x85d589(0x1c6)](_0x85d589(0x196));return _0x32c6b5[_0x85d589(0x18e)](_0x1fba0e=>{const _0x1b7e06=_0x85d589,_0x18176e=this[_0x1b7e06(0x1cd)](_0x5f00bd,_0x1fba0e[_0x1b7e06(0x1c8)]);return _0x18176e[_0x1b7e06(0x180)]=!0x0,_0x18176e[_0x1b7e06(0x1a3)]=_0x1fba0e[_0x1b7e06(0x1a3)],_0x18176e[_0x1b7e06(0x17f)](_0x1b7e06(0x1b1))['to'](_0x4e3599,_0x1b7e06(0x1a4),_0x40256b=>_0x5391f8(_0x57eda5,_0x1fba0e[_0x1b7e06(0x1c8)],_0x40256b?_0x1b7e06(0x1bd):_0x1b7e06(0x185))[_0x1b7e06(0x19d)]),_0x18176e;});}[_0x8f0fbd(0x192)](_0x361e6f){const _0x40cb7b=_0x8f0fbd;return _0x361e6f[_0x40cb7b(0x18e)](_0x5af0b1=>{const _0xf221a9=_0x40cb7b,_0x50ad17=this[_0xf221a9(0x1cd)](_0x4bd696,_0x5af0b1[_0xf221a9(0x1c8)]);return _0x50ad17[_0xf221a9(0x1a3)]=_0x5af0b1[_0xf221a9(0x1a3)],_0x50ad17[_0xf221a9(0x1b1)]=_0x5af0b1[_0xf221a9(0x1ca)],_0x50ad17;});}}
23
+ function _0x16aa(){const _0x389dc6=['type','bind','484708pjGKno','uploadcare','text','5321484mrmslY','isPremiumPlugin','Replace','usageLimit','licenseKey','editor','1462452BIzHkn','afterInit','_normalizeConfigSourceList','OneDrive','_getIntegrationKey','locale','entries','GDrive','uploadcareLicenseKeyDomainLimit','tooltip','40FXfnRh','pluginName','isImageSelected','GPhotos','map','uploadcareLicenseKeyUsageLimit','Uploadcare','label','isOfficialPlugin','uploadcareLicenseKeyValid','execute','110GIYCCg','171628yUljRj','uploadcareLicenseKeyExpired','uploadcareLicenseKeyNotAllowed','assetManager','push','UploadcareUI','domainLimit','ImageInsertUI','init','withText','_showLicenseError','reduce','registerIntegration','_createDropdownButtons','Insert','1282080VgMWcu','Local','_createButton','expired','forEach','icon','Dropbox','_createToolbarButton','522ezXenR','_licenseKeyCheckInterval','upload','uploadcareLicenseKeyInvalid','isEnabled','url','298029pXpCRK','config','shortText','has','featureNotAllowed','plugins','6IDLEmn','URL','Facebook','uploadcareLicenseKeyTrialLimit','trialLimit','_createMenuBarButtons','evaluationLimit','invalid','commands','uploadcareLicenseKeyEvaluationLimit','destroy','uploadcare.uploader.sourceList','get'];_0x16aa=function(){return _0x389dc6;};return _0x16aa();}const _0xe7e00e=_0x3b31;(function(_0x36141a,_0x44e5f5){const _0x1b3355=_0x3b31,_0x2f14ca=_0x36141a();while(!![]){try{const _0x339917=parseInt(_0x1b3355(0xf6))/0x1+-parseInt(_0x1b3355(0xc3))/0x2+parseInt(_0x1b3355(0xfc))/0x3*(parseInt(_0x1b3355(0xd9))/0x4)+parseInt(_0x1b3355(0xd8))/0x5*(parseInt(_0x1b3355(0xf0))/0x6)+-parseInt(_0x1b3355(0xba))/0x7*(-parseInt(_0x1b3355(0xcd))/0x8)+parseInt(_0x1b3355(0xbd))/0x9+-parseInt(_0x1b3355(0xe8))/0xa;if(_0x339917===_0x44e5f5)break;else _0x2f14ca['push'](_0x2f14ca['shift']());}catch(_0x42b645){_0x2f14ca['push'](_0x2f14ca['shift']());}}}(_0x16aa,0x713cb));import{Plugin as _0x1de9f7}from'ckeditor5/src/core.js';import{IconDropbox as _0x1b0976,IconFacebook as _0x779669,IconGoogleDrive as _0x29cddc,IconGooglePhotos as _0x342566,IconUploadcareImageUpload as _0x32a338,IconUploadcareLink as _0x23c24b,IconOneDrive as _0xe5960a}from'ckeditor5/src/icons.js';import{ButtonView as _0x35ca48,MenuBarMenuListItemButtonView as _0x248835}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1494a4}from'./uploadcareconfig.js';import{getTranslation as _0x2245fb}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3b31(_0x347121,_0x3be765){const _0x16aae6=_0x16aa();return _0x3b31=function(_0x3b31b2,_0x20c152){_0x3b31b2=_0x3b31b2-0xb1;let _0x4fd771=_0x16aae6[_0x3b31b2];return _0x4fd771;},_0x3b31(_0x347121,_0x3be765);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1de9f7{[_0xe7e00e(0xc1)];[_0xe7e00e(0xf1)];static get[_0xe7e00e(0xce)](){const _0x1f8a90=_0xe7e00e;return _0x1f8a90(0xde);}static get[_0xe7e00e(0xd5)](){return!0x0;}static get[_0xe7e00e(0xbe)](){return!0x0;}[_0xe7e00e(0xe1)](){const _0x268402=_0xe7e00e;this[_0x268402(0xc1)]=this[_0x268402(0xc2)][_0x268402(0xf7)][_0x268402(0xb7)](_0x268402(0xc1));const _0x3aeeec=this[_0x268402(0xc2)];this[_0x268402(0xf1)]=setInterval(()=>{const _0x5a378c=_0x268402;let _0x8d0a57;for(const _0x3c5bff in _0x3aeeec){const _0x2e5213=_0x3c5bff,_0x4397d2=_0x3aeeec[_0x2e5213];if(_0x5a378c(0xd6)==_0x4397d2||_0x5a378c(0xf3)==_0x4397d2||_0x5a378c(0xda)==_0x4397d2||_0x5a378c(0xcb)==_0x4397d2||_0x5a378c(0xdb)==_0x4397d2||_0x5a378c(0xb4)==_0x4397d2||_0x5a378c(0xff)==_0x4397d2||_0x5a378c(0xd2)==_0x4397d2){delete _0x3aeeec[_0x2e5213],_0x8d0a57=_0x4397d2,clearInterval(this[_0x5a378c(0xf1)]),this[_0x5a378c(0xf1)]=void 0x0;break;}}_0x5a378c(0xf3)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0xb2)),_0x5a378c(0xda)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0xeb)),_0x5a378c(0xcb)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0xdf)),_0x5a378c(0xdb)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0xfa),_0x5a378c(0xd3)),_0x5a378c(0xb4)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0xb1)),_0x5a378c(0xff)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0x100)),_0x5a378c(0xd2)==_0x8d0a57&&_0x3aeeec[_0x5a378c(0xe3)](_0x5a378c(0xc0));},0x3e8);}[_0xe7e00e(0xc4)](){const _0x5699db=_0xe7e00e,{editor:_0x11de95}=this,_0x5029d5=_0x11de95[_0x5699db(0xb3)][_0x5699db(0xb7)](_0x5699db(0xbb));if(!_0x5029d5)return;const _0x1039c7=this[_0x5699db(0xc5)](_0x11de95[_0x5699db(0xf7)][_0x5699db(0xb7)](_0x5699db(0xb6)))[_0x5699db(0xe4)]((_0x4dfeed,_0x3ab343)=>{const _0x333320=_0x5699db,_0x3ff89f=this[_0x333320(0xc7)](_0x3ab343[_0x333320(0xb8)]);return _0x4dfeed[_0x3ff89f]||(_0x4dfeed[_0x3ff89f]=[]),_0x4dfeed[_0x3ff89f][_0x333320(0xdd)](_0x3ab343),_0x4dfeed;},{});_0x11de95[_0x5699db(0xfb)][_0x5699db(0xf9)](_0x5699db(0xe0))&&_0x11de95[_0x5699db(0xb3)][_0x5699db(0xb7)](_0x5699db(0xbb))&&Object[_0x5699db(0xc9)](_0x1039c7)[_0x5699db(0xec)](([_0x243d42,_0xc187b2])=>{const _0x4d51d9=_0x5699db;_0x11de95[_0x4d51d9(0xfb)][_0x4d51d9(0xb7)](_0x4d51d9(0xe0))[_0x4d51d9(0xe5)]({'name':_0x243d42,'observable':()=>_0x5029d5,'buttonViewCreator':()=>this[_0x4d51d9(0xef)](_0xc187b2),'formViewCreator':()=>this[_0x4d51d9(0xe6)](_0xc187b2),'menuBarButtonViewCreator':()=>this[_0x4d51d9(0x101)](_0xc187b2),'override':_0x4d51d9(0xdc)!==_0x243d42});});}[_0xe7e00e(0xb5)](){const _0x1302fd=_0xe7e00e;super[_0x1302fd(0xb5)](),this[_0x1302fd(0xf1)]&&clearInterval(this[_0x1302fd(0xf1)]);}[_0xe7e00e(0xc5)](_0x590aa2){const _0x3b0741=_0xe7e00e,{locale:_0x320052}=this[_0x3b0741(0xc2)];return _0x590aa2[_0x3b0741(0xd1)](_0x4a2d4c=>{const _0x27ba19=_0x3b0741,_0x44a889=_0x2245fb(_0x320052,_0x4a2d4c,_0x27ba19(0xe7));switch(_0x4a2d4c){case _0x1494a4[_0x27ba19(0xe9)]:return{'icon':_0x32a338,'type':_0x1494a4[_0x27ba19(0xe9)],..._0x44a889};case _0x1494a4[_0x27ba19(0xfd)]:return{'icon':_0x23c24b,'type':_0x1494a4[_0x27ba19(0xfd)],..._0x44a889};case _0x1494a4[_0x27ba19(0xee)]:return{'icon':_0x1b0976,'type':_0x1494a4[_0x27ba19(0xee)],..._0x44a889};case _0x1494a4[_0x27ba19(0xfe)]:return{'icon':_0x779669,'type':_0x1494a4[_0x27ba19(0xfe)],..._0x44a889};case _0x1494a4[_0x27ba19(0xca)]:return{'icon':_0x29cddc,'type':_0x1494a4[_0x27ba19(0xca)],..._0x44a889};case _0x1494a4[_0x27ba19(0xd0)]:return{'icon':_0x342566,'type':_0x1494a4[_0x27ba19(0xd0)],..._0x44a889};case _0x1494a4[_0x27ba19(0xc6)]:return{'icon':_0xe5960a,'type':_0x1494a4[_0x27ba19(0xc6)],..._0x44a889};}});}[_0xe7e00e(0xc7)](_0x4ef564){const _0x5a4c3b=_0xe7e00e;switch(_0x4ef564){case _0x1494a4[_0x5a4c3b(0xe9)]:return _0x5a4c3b(0xf2);case _0x1494a4[_0x5a4c3b(0xfd)]:return _0x5a4c3b(0xf5);default:return _0x5a4c3b(0xdc);}}[_0xe7e00e(0xea)](_0x5c5fdf,_0x5de498){const _0x8cccc8=_0xe7e00e,_0x3f25bf=this[_0x8cccc8(0xc2)],_0x3e643e=new _0x5c5fdf(_0x3f25bf[_0x8cccc8(0xc8)]),_0x2cea36=_0x3f25bf[_0x8cccc8(0xb3)][_0x8cccc8(0xb7)](_0x8cccc8(0xbb));return _0x3e643e[_0x8cccc8(0xb9)](_0x8cccc8(0xf4))['to'](_0x2cea36),_0x3e643e['on'](_0x8cccc8(0xd7),()=>{const _0x40da88=_0x8cccc8;_0x2cea36[_0x40da88(0xd7)](_0x5de498);}),_0x3e643e;}[_0xe7e00e(0xef)](_0x1c402c){const _0xd66193=_0xe7e00e,{locale:_0x2a7269}=this[_0xd66193(0xc2)],_0x3233cc=this[_0xd66193(0xc2)][_0xd66193(0xfb)][_0xd66193(0xb7)](_0xd66193(0xe0)),_0x25d173=_0x1c402c[0x0],_0x4d26b6=this[_0xd66193(0xea)](_0x35ca48,_0x25d173[_0xd66193(0xb8)]);return _0x4d26b6[_0xd66193(0xed)]=_0x25d173[_0xd66193(0xed)],_0x4d26b6[_0xd66193(0xb9)](_0xd66193(0xd4))['to'](_0x3233cc,_0xd66193(0xcf),_0xb49572=>_0x2245fb(_0x2a7269,_0x25d173[_0xd66193(0xb8)],_0xb49572?_0xd66193(0xbf):_0xd66193(0xe7))[_0xd66193(0xbc)]),_0x4d26b6[_0xd66193(0xcc)]=!0x0,_0x4d26b6;}[_0xe7e00e(0xe6)](_0x568bf0){const _0x4bf28c=_0xe7e00e,{locale:_0x67691b}=this[_0x4bf28c(0xc2)],_0x231e87=this[_0x4bf28c(0xc2)][_0x4bf28c(0xfb)][_0x4bf28c(0xb7)](_0x4bf28c(0xe0));return _0x568bf0[_0x4bf28c(0xd1)](_0x48fe41=>{const _0x332dc1=_0x4bf28c,_0x3634fb=this[_0x332dc1(0xea)](_0x35ca48,_0x48fe41[_0x332dc1(0xb8)]);return _0x3634fb[_0x332dc1(0xe2)]=!0x0,_0x3634fb[_0x332dc1(0xed)]=_0x48fe41[_0x332dc1(0xed)],_0x3634fb[_0x332dc1(0xb9)](_0x332dc1(0xd4))['to'](_0x231e87,_0x332dc1(0xcf),_0x478ba6=>_0x2245fb(_0x67691b,_0x48fe41[_0x332dc1(0xb8)],_0x478ba6?_0x332dc1(0xbf):_0x332dc1(0xe7))[_0x332dc1(0xbc)]),_0x3634fb;});}[_0xe7e00e(0x101)](_0x514692){const _0x117c0b=_0xe7e00e;return _0x514692[_0x117c0b(0xd1)](_0x346d63=>{const _0x2b368b=_0x117c0b,_0x4e8533=this[_0x2b368b(0xea)](_0x248835,_0x346d63[_0x2b368b(0xb8)]);return _0x4e8533[_0x2b368b(0xed)]=_0x346d63[_0x2b368b(0xed)],_0x4e8533[_0x2b368b(0xd4)]=_0x346d63[_0x2b368b(0xf8)],_0x4e8533;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x278f0d}from'ckeditor5/src/core.js';import{FileRepository as _0x396e36}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x513261}from'./uploadcareediting.js';import{UploadUtils as _0x310da3}from'./utils/uploadutils.js';import{getImageUrls as _0xd259b8}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x278f0d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x396e36,_0x513261];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b3a9b=this['editor'];if(!!!_0x3b3a9b['config']['get']('uploadcare'))return;_0x3b3a9b['plugins']['get'](_0x396e36)['createUploadAdapter']=_0x312804=>new k(_0x312804,_0x3b3a9b),_0x3b3a9b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1f21b9,{imageElement:_0x1aa976,data:_0x57206d})=>{_0x3b3a9b['model']['change'](_0x54e662=>{_0x54e662['setAttribute']('uploadcareImageId',_0x57206d['uploadcareImageId'],_0x1aa976);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1e890d,_0xc9c8c0){this['loader']=_0x1e890d,this['editor']=_0xc9c8c0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x49f47f=await this['loader']['file'];return _0x310da3['upload']({'file':_0x49f47f,'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':_0x2a4fe6=>{_0x2a4fe6&&_0x2a4fe6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2a4fe6['value']);}})['then'](async _0x3df00c=>{const {imageFallbackUrl:_0x27956a,imageSources:_0x5d1ffc}=_0xd259b8(_0x3df00c['cdnUrl'],_0x3df00c['imageInfo']['width']);return{'uploadcareImageId':_0x3df00c['uuid'],'default':_0x27956a,'sources':_0x5d1ffc};})['catch'](()=>{const _0x4c59f5=t('Cannot\x20upload\x20file:')+('\x20'+_0x49f47f['name']+'.');return Promise['reject'](_0x4c59f5);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0xaeca10}from'ckeditor5/src/core.js';import{FileRepository as _0x295008}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4f4250}from'./uploadcareediting.js';import{UploadUtils as _0x5837d3}from'./utils/uploadutils.js';import{getImageUrls as _0x120766}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0xaeca10{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x295008,_0x4f4250];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xa9e9bd=this['editor'];if(!!!_0xa9e9bd['config']['get']('uploadcare'))return;_0xa9e9bd['plugins']['get'](_0x295008)['createUploadAdapter']=_0x251240=>new k(_0x251240,_0xa9e9bd),_0xa9e9bd['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1c329f,{imageElement:_0x494aa1,data:_0x3add08})=>{_0xa9e9bd['model']['change'](_0x4e56bc=>{_0x4e56bc['setAttribute']('uploadcareImageId',_0x3add08['uploadcareImageId'],_0x494aa1);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x526690,_0x5e775c){this['loader']=_0x526690,this['editor']=_0x5e775c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2b3fe1=await this['loader']['file'];return _0x5837d3['upload']({'file':_0x2b3fe1,'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':_0x4e1153=>{_0x4e1153&&_0x4e1153['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4e1153['value']);}})['then'](async _0x4497d0=>{const {imageFallbackUrl:_0x202c66,imageSources:_0x43ea9f}=_0x120766(_0x4497d0['cdnUrl'],_0x4497d0['imageInfo']['width']);return{'uploadcareImageId':_0x4497d0['uuid'],'default':_0x202c66,'sources':_0x43ea9f};})['catch'](()=>{const _0x2f6229=t('Cannot\x20upload\x20file:')+('\x20'+_0x2b3fe1['name']+'.');return Promise['reject'](_0x2f6229);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x320d87}from'../uploadcareconfig.js';export function getTranslation(_0x41cf4a,_0x208fdc,_0x4b0bd6){const t=_0x41cf4a['t'],_0x5b50c6=_0x41cf4a['t'];switch(_0x208fdc){case _0x320d87['Local']:return{'text':_0x5b50c6('Insert'===_0x4b0bd6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5b50c6('From\x20computer')};case _0x320d87['URL']:return{'text':'Insert'===_0x4b0bd6?_0x5b50c6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5b50c6('Via\x20URL')};case _0x320d87['Dropbox']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x320d87['Facebook']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x320d87['GDrive']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x320d87['GPhotos']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x320d87['OneDrive']:return{'text':t('Insert'===_0x4b0bd6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x208fdc;}}
23
+ import{UploadcareSource as _0x5d2664}from'../uploadcareconfig.js';export function getTranslation(_0x2bd8c8,_0x3e34fe,_0x2b92fa){const t=_0x2bd8c8['t'],_0x3597c0=_0x2bd8c8['t'];switch(_0x3e34fe){case _0x5d2664['Local']:return{'text':_0x3597c0('Insert'===_0x2b92fa?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3597c0('From\x20computer')};case _0x5d2664['URL']:return{'text':'Insert'===_0x2b92fa?_0x3597c0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3597c0('Via\x20URL')};case _0x5d2664['Dropbox']:return{'text':t('Insert'===_0x2b92fa?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5d2664['Facebook']:return{'text':t('Insert'===_0x2b92fa?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5d2664['GDrive']:return{'text':t('Insert'===_0x2b92fa?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5d2664['GPhotos']:return{'text':t('Insert'===_0x2b92fa?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5d2664['OneDrive']:return{'text':t('Insert'===_0x2b92fa?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3e34fe;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x492ba1=_0x45fd;(function(_0x40bdc1,_0x1783e7){var _0x5eb839=_0x45fd,_0x4d47c0=_0x40bdc1();while(!![]){try{var _0x3e5f35=-parseInt(_0x5eb839(0x13b))/0x1+parseInt(_0x5eb839(0x145))/0x2*(parseInt(_0x5eb839(0x135))/0x3)+-parseInt(_0x5eb839(0x13d))/0x4+parseInt(_0x5eb839(0x140))/0x5*(parseInt(_0x5eb839(0x13a))/0x6)+parseInt(_0x5eb839(0x136))/0x7*(-parseInt(_0x5eb839(0x138))/0x8)+parseInt(_0x5eb839(0x141))/0x9+-parseInt(_0x5eb839(0x13e))/0xa;if(_0x3e5f35===_0x1783e7)break;else _0x4d47c0['push'](_0x4d47c0['shift']());}catch(_0x2e87fd){_0x4d47c0['push'](_0x4d47c0['shift']());}}}(_0x2943,0x8237a));import{FocusTracker as _0x46199d}from'ckeditor5/src/utils.js';import{View as _0x492386,FocusCycler as _0x566338}from'ckeditor5/src/ui.js';function _0x2943(){var _0x503b67=['createCollection','focusCycler','3mcMuCL','742YNQClb','true','32zPhgHq','focusTracker','999162yHRCBE','600241DiaeHq','getFocusableElement','667020VkISWY','4636030VvZOAY','bindTemplate','25wQpPPS','5139090LpaWhU','forwardCycle','div','fire','721496FlyYoA'];_0x2943=function(){return _0x503b67;};return _0x2943();}function _0x45fd(_0x415703,_0x2cbff3){var _0x294351=_0x2943();return _0x45fd=function(_0x45fdd6,_0x385f10){_0x45fdd6=_0x45fdd6-0x135;var _0x1e393c=_0x294351[_0x45fdd6];return _0x1e393c;},_0x45fd(_0x415703,_0x2cbff3);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x492386{[_0x492ba1(0x139)];[_0x492ba1(0x147)];constructor(_0x33470b){var _0x41e936=_0x492ba1;super(_0x33470b),this[_0x41e936(0x139)]=new _0x46199d(),this[_0x41e936(0x147)]=new _0x566338({'focusables':this[_0x41e936(0x146)](),'focusTracker':this[_0x41e936(0x139)]});}[_0x492ba1(0x13c)](){var _0x4d028e=_0x492ba1;return{'tag':_0x4d028e(0x143),'attributes':{'aria-hidden':_0x4d028e(0x137),'tabindex':'0'},'on':{'focus':this[_0x4d028e(0x13f)]['to'](()=>{var _0xa44f37=_0x4d028e;this[_0xa44f37(0x147)][_0xa44f37(0x144)](_0xa44f37(0x142));})}};}}
23
+ var _0x446a23=_0x57e5;(function(_0x1cc651,_0x14a014){var _0x5f1011=_0x57e5,_0x7dd878=_0x1cc651();while(!![]){try{var _0x1458a8=-parseInt(_0x5f1011(0x1f6))/0x1+-parseInt(_0x5f1011(0x1f7))/0x2+parseInt(_0x5f1011(0x1fc))/0x3+-parseInt(_0x5f1011(0x1f9))/0x4*(-parseInt(_0x5f1011(0x1f8))/0x5)+-parseInt(_0x5f1011(0x203))/0x6+parseInt(_0x5f1011(0x1f4))/0x7*(parseInt(_0x5f1011(0x202))/0x8)+parseInt(_0x5f1011(0x201))/0x9;if(_0x1458a8===_0x14a014)break;else _0x7dd878['push'](_0x7dd878['shift']());}catch(_0x1ee15a){_0x7dd878['push'](_0x7dd878['shift']());}}}(_0x5281,0x7df90));import{FocusTracker as _0x44c9f3}from'ckeditor5/src/utils.js';import{View as _0x5c3e82,FocusCycler as _0x439acb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x57e5(_0x51830e,_0x3358ba){var _0x528149=_0x5281();return _0x57e5=function(_0x57e58f,_0x320aaf){_0x57e58f=_0x57e58f-0x1f4;var _0x1a877f=_0x528149[_0x57e58f];return _0x1a877f;},_0x57e5(_0x51830e,_0x3358ba);}export class DialogFocusManagerView extends _0x5c3e82{[_0x446a23(0x204)];[_0x446a23(0x1fd)];constructor(_0x46cef3){var _0x2fa584=_0x446a23;super(_0x46cef3),this[_0x2fa584(0x204)]=new _0x44c9f3(),this[_0x2fa584(0x1fd)]=new _0x439acb({'focusables':this[_0x2fa584(0x1fa)](),'focusTracker':this[_0x2fa584(0x204)]});}[_0x446a23(0x200)](){var _0x3bb4c5=_0x446a23;return{'tag':_0x3bb4c5(0x1ff),'attributes':{'aria-hidden':_0x3bb4c5(0x1fe),'tabindex':'0'},'on':{'focus':this[_0x3bb4c5(0x205)]['to'](()=>{var _0xb066cb=_0x3bb4c5;this[_0xb066cb(0x1fd)][_0xb066cb(0x1f5)](_0xb066cb(0x1fb));})}};}}function _0x5281(){var _0x3c7caa=['1631hiJwPK','fire','466458JFxUjo','1582698yEQmKI','955bPPmhJ','17488SWQdSp','createCollection','forwardCycle','376068vKJzMh','focusCycler','true','div','getFocusableElement','1595565IPOKco','27736OgLSEt','1030278ChmTbw','focusTracker','bindTemplate'];_0x5281=function(){return _0x3c7caa;};return _0x5281();}