@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.7 → 44.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/index.js +1 -1
  149. package/src/ui/uploadcarecontroller.js +2 -2
  150. package/src/ui/uploadcareformview.js +1 -1
  151. package/src/uploadcare.js +1 -1
  152. package/src/uploadcarecommand.js +1 -1
  153. package/src/uploadcareconfig.js +1 -1
  154. package/src/uploadcareediting.js +1 -1
  155. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  156. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  160. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  161. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  164. package/src/uploadcareimageedit.js +1 -1
  165. package/src/uploadcareui.js +1 -1
  166. package/src/uploadcareuploadadapter.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/dialogfocusmanagerview.js +1 -1
  169. package/src/utils/editingutils.js +1 -1
  170. package/src/utils/isancestor.js +1 -1
  171. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x169014=_0x2ab9;(function(_0x53d92f,_0x549ffc){const _0x41fc85=_0x2ab9,_0x4ab8bc=_0x53d92f();while(!![]){try{const _0x14ee12=-parseInt(_0x41fc85(0x130))/0x1*(-parseInt(_0x41fc85(0x155))/0x2)+parseInt(_0x41fc85(0x145))/0x3*(-parseInt(_0x41fc85(0x146))/0x4)+parseInt(_0x41fc85(0x152))/0x5*(parseInt(_0x41fc85(0x162))/0x6)+parseInt(_0x41fc85(0x12b))/0x7+parseInt(_0x41fc85(0x16d))/0x8*(-parseInt(_0x41fc85(0x14f))/0x9)+parseInt(_0x41fc85(0x172))/0xa+-parseInt(_0x41fc85(0x147))/0xb;if(_0x14ee12===_0x549ffc)break;else _0x4ab8bc['push'](_0x4ab8bc['shift']());}catch(_0x5f5d9f){_0x4ab8bc['push'](_0x4ab8bc['shift']());}}}(_0x2faf,0x271d2));import{Plugin as _0x3ae189}from'ckeditor5/src/core.js';function _0x2faf(){const _0x357a27=['490gSVuTF','init','input[uploadcare-file-input]','fromCharCode','imageInline','uploadcareImageReplace','upcast','_initCtx','removeAttribute','true','pluginName','add','getSelectedElement','344088QUYNZw','uc-config','view','href','_configElement','requires','getAttribute','uc-upload-ctx-provider','#uc-icon-arrow-down','editor','conversion','13792GuTrDO','_initImageProcessingIndicator','configElement','uploadcare','document','769730mfteXG','commands','_ctxElement','elementToAttribute','locale','_initConversion','body','schema','extend','ctxElement','map','imageBlock','config','_initConfig','1031324YxKWpP','querySelector','afterInit','destroy','once','1019xuxizj','uploadcare.pubkey','appendChild','attributeToAttribute','uploadcareImageId','UploadcareEditing','cleanupImage','contentLanguage','replaceImageSource','join','model','isRegistered','listenTo','for','execute','downcast','uploader','isOfficialPlugin','selection','remove','PictureEditing','22551VRoxzh','12xgrPaL','4911049ksyimv','isPremiumPlugin','editing','render','_initSchema','closeMax','insertImage','get','387HcjoMR','\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','uploadcare.uploader','20wpxFPb','data-uc-image-id','iconHrefResolver'];_0x2faf=function(){return _0x357a27;};return _0x2faf();}import{Dialog as _0x5a6526}from'ckeditor5/src/ui.js';import{createElement as _0x36750e,global as _0x1a74bf,uid as _0x23a768}from'ckeditor5/src/utils.js';import _0x33c905 from'./uploadcarecommand.js';function _0x2ab9(_0x43c941,_0x551215){const _0x2faf33=_0x2faf();return _0x2ab9=function(_0x2ab96f,_0x40d5ea){_0x2ab96f=_0x2ab96f-0x122;let _0x30b484=_0x2faf33[_0x2ab96f];return _0x30b484;},_0x2ab9(_0x43c941,_0x551215);}import _0x529255 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x47a663}from'./utils/editingutils.js';export default class i extends _0x3ae189{constructor(){const _0x103ace=_0x2ab9;super(...arguments),this[_0x103ace(0x166)]=null,this[_0x103ace(0x174)]=null;}static get[_0x169014(0x15f)](){const _0xc93433=_0x169014;return _0xc93433(0x135);}static get[_0x169014(0x167)](){const _0x1a17ff=_0x169014;return[_0x1a17ff(0x144),_0x529255,_0x5a6526];}static get[_0x169014(0x141)](){return!0x0;}static get[_0x169014(0x148)](){return!0x0;}get[_0x169014(0x16f)](){const _0x322d7a=_0x169014;return this[_0x322d7a(0x166)];}get[_0x169014(0x126)](){const _0x258d8d=_0x169014;return this[_0x258d8d(0x174)];}[_0x169014(0x156)](){const _0x46bd2e=_0x169014,_0x2bb4b8=this[_0x46bd2e(0x16b)];_0x2bb4b8[_0x46bd2e(0x173)][_0x46bd2e(0x160)](_0x46bd2e(0x170),new _0x33c905(_0x2bb4b8));}[_0x169014(0x12d)](){const _0x122e8e=_0x169014;this[_0x122e8e(0x14b)](),this[_0x122e8e(0x122)](),this[_0x122e8e(0x12a)](),this[_0x122e8e(0x15c)](),this[_0x122e8e(0x16e)](),this[_0x122e8e(0x13c)](this[_0x122e8e(0x16b)],_0x122e8e(0x12e),()=>{const _0x110ff5=_0x122e8e;this[_0x110ff5(0x166)]&&(this[_0x110ff5(0x166)][_0x110ff5(0x143)](),this[_0x110ff5(0x166)]=null),this[_0x110ff5(0x174)]&&(this[_0x110ff5(0x174)][_0x110ff5(0x143)](),this[_0x110ff5(0x174)]=null);const _0x10735e=_0x1a74bf[_0x110ff5(0x171)][_0x110ff5(0x12c)](_0x110ff5(0x157));_0x10735e&&_0x10735e[_0x110ff5(0x143)]();}),async function(_0xc7264d){const _0x4e4c0d=_0x129ec9([0x46,0x6f,0x42,0x77,0x56,0x35,0x58,0x36,0x52,0x37,0x44,0x53,0x5a,0x61,0x70,0x50,0x76,0x38,0x6b,0x62,0x67,0x6d,0x51,0x74,0x66,0x4d,0x4f,0x4c,0x43,0x59,0x55,0x6c,0x6a,0x45,0x33,0x7a,0x71,0x75,0x32,0x49,0x41,0x4a,0x54,0x30,0x64,0x65,0x31,0x4e,0x34,0x78,0x4b,0x68,0x6e,0x63,0x39,0x79,0x47,0x57,0x48,0x73,0x69,0x72]),_0x174f35=0x5661d4fa,_0x259609=0x5666b5ba^_0x174f35,_0x2a86ea=window[_0x129ec9([0x44,0x61,0x74,0x65])][_0x129ec9([0x6e,0x6f,0x77])](),_0x288e82=_0xc7264d[_0x129ec9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37638c=new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14933c=>{_0x288e82[_0x129ec9([0x6f,0x6e,0x63,0x65])](_0x129ec9([0x72,0x65,0x61,0x64,0x79]),_0x14933c);}),_0x446ebb={[_0x129ec9([0x6b,0x74,0x79])]:_0x129ec9([0x45,0x43]),[_0x129ec9([0x75,0x73,0x65])]:_0x129ec9([0x73,0x69,0x67]),[_0x129ec9([0x63,0x72,0x76])]:_0x129ec9([0x50,0x2d,0x32,0x35,0x36]),[_0x129ec9([0x78])]:_0x129ec9([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]),[_0x129ec9([0x79])]:_0x129ec9([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]),[_0x129ec9([0x61,0x6c,0x67])]:_0x129ec9([0x45,0x53,0x32,0x35,0x36])},_0x1ea59a=_0x288e82[_0x129ec9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x129ec9([0x67,0x65,0x74])](_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x192578(){let _0x316231,_0x18d237=null,_0x6e8a4b=null;try{if(_0x1ea59a==_0x129ec9([0x47,0x50,0x4c]))return _0x129ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x316231=_0x1e0660(),!_0x316231)return _0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x316231[_0x129ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6e8a4b=_0x5631d5(_0x316231[_0x129ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x316231[_0x129ec9([0x6a,0x74,0x69])])),await _0x534e2d()?_0x5361ae()?_0x44fcdb()?_0x129ec9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x111ae4()?(_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d237=_0x203fb7(_0x129ec9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129ec9([0x74,0x72,0x69,0x61,0x6c])&&(_0x18d237=_0x203fb7(_0x129ec9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a754b()):_0x129ec9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x129ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5b7aaa){return _0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44fcdb(){const _0x1d42af=[_0x129ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x129ec9([0x74,0x72,0x69,0x61,0x6c])][_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a86ea/0x3e8:0xe10*_0x259609;return _0x316231[_0x129ec9([0x65,0x78,0x70])]<_0x1d42af;}function _0x5361ae(){const _0x26d347=_0x316231[_0x129ec9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26d347&&(!!_0x26d347[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x2a]))||!!_0x26d347[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x55,0x50,0x4c,0x43])));}function _0x111ae4(){const _0x1e4777=_0x2ab9,_0x85f262=_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x85f262||0x0==_0x85f262[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x95c503}=new URL(window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e4777(0x165)]);if(_0x85f262[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95c503))return!0x0;const _0x3c94f0=_0x95c503[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e]));return _0x85f262[_0x129ec9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454eec=>_0x454eec[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x2a])))[_0x129ec9([0x6d,0x61,0x70])](_0xe29a07=>_0xe29a07[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e])))[_0x129ec9([0x73,0x6f,0x6d,0x65])](_0x502b9b=>_0x3c94f0[_0x129ec9([0x65,0x76,0x65,0x72,0x79])]((_0x372096,_0x1c307d)=>_0x502b9b[_0x1c307d]===_0x372096||_0x502b9b[_0x1c307d]===_0x129ec9([0x2a])));}function _0x1a754b(){return _0x18d237&&_0x6e8a4b?new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x111fbd,_0x5948a8)=>{_0x18d237[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x111fbd,_0x5948a8),_0x6e8a4b[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x150b20=>{_0x150b20!=_0x129ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x111fbd(_0x150b20);},_0x5948a8);}):_0x18d237||_0x6e8a4b||_0x129ec9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5631d5(_0x4aed74,_0x27858b){return new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53efb0=>{if(_0xcc45df())return _0x53efb0(_0x129ec9([0x56,0x61,0x6c,0x69,0x64]));_0x597525(),_0x288e82[_0x129ec9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c6ab9=!0x1;const _0x248320=_0x23a768();function _0x4cf807(_0x5276ca){return!!_0x5276ca&&(typeof _0x5276ca===_0x129ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5276ca===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5276ca[_0x129ec9([0x74,0x68,0x65,0x6e])]===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5276ca[_0x129ec9([0x63,0x61,0x74,0x63,0x68])]===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e6ced(_0x49eae7){_0x44e346(_0x49eae7)[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x530cd0=>{if(!_0x530cd0||_0x530cd0[_0x129ec9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x129ec9([0x6f,0x6b]))return _0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19e68b(_0x3a5340(_0x248320+_0x27858b))!=_0x530cd0[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x129ec9([0x56,0x61,0x6c,0x69,0x64]);})[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x3865d3=>(_0x3756b8(),_0x3865d3),()=>{const _0x9faea0=_0x212e4e();return null==_0x9faea0?(_0x3756b8(),_0x129ec9([0x56,0x61,0x6c,0x69,0x64])):_0x129ec9(_0x2a86ea-_0x9faea0>(0x726d50fa^_0x174f35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x53efb0)[_0x129ec9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x211985=0x56573a7a^_0x174f35;function _0x3756b8(){const _0x2f6a2d=_0x129ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e68b(_0x3a5340(_0x4aed74)),_0x4e51e9=_0x1bc65c(_0x19e68b(window[_0x129ec9([0x4d,0x61,0x74,0x68])][_0x129ec9([0x63,0x65,0x69,0x6c])](_0x2a86ea/_0x211985)));window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129ec9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f6a2d,_0x4e51e9);}function _0x212e4e(){const _0x384b03=_0x129ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e68b(_0x3a5340(_0x4aed74)),_0x15dbe9=window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129ec9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x384b03);return _0x15dbe9?window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bc65c(_0x15dbe9),0x10)*_0x211985:null;}function _0x44e346(_0x3cf946){return new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22745d,_0x223bff)=>{_0x3cf946[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x22745d,_0x223bff),window[_0x129ec9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x223bff,0x5660003a^_0x174f35);});}}_0x288e82[_0x129ec9([0x6f,0x6e])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5208eb,_0x424a1d)=>{if(_0x424a1d[0x0]!=_0x4aed74)return _0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x424a1d[0x1]={..._0x424a1d[0x1],[_0x129ec9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x248320};},{[_0x129ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129ec9([0x68,0x69,0x67,0x68])}),_0x288e82[_0x129ec9([0x6f,0x6e])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1888fd=>{_0x4cf807(_0x1888fd[_0x129ec9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c6ab9=!0x0,_0x3e6ced(_0x1888fd[_0x129ec9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x129ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129ec9([0x6c,0x6f,0x77])}),_0x37638c[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>{_0x1c6ab9||_0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xcc45df(){return _0x288e82[_0x129ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129ec9([0x76,0x69,0x65,0x77])][_0x129ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x129ec9([0x61,0x75,0x74,0x6f]);}function _0x597525(){_0x288e82[_0x129ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129ec9([0x76,0x69,0x65,0x77])][_0x129ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x129ec9([0x61,0x75,0x74,0x6f]);}}function _0x203fb7(_0xe51369){const _0x19a620=[new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c0e1=>setTimeout(_0x38c0e1,0x5668ea36^_0x174f35)),_0x37638c[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26144e=>{let _0x126cb4=0x0;_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x6f,0x6e])](_0x129ec9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd788,_0x42a24f)=>{_0x42a24f[0x0][_0x129ec9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x126cb4++,_0x126cb4==(0x5661d502^_0x174f35)&&(_0x26144e(),_0x1bd788[_0x129ec9([0x6f,0x66,0x66])]());});}))];return window[_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x129ec9([0x72,0x61,0x63,0x65])](_0x19a620)[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>_0xe51369);}async function _0x4b9677(){await _0x37638c,_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12a8d1,_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12a8d1,_0x288e82[_0x129ec9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4960df(_0x3ea155){const _0x1fbd68=_0x4e985e();_0x288e82[_0x1fbd68]=_0x129ec9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ea155,_0x3ea155!=_0x129ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x4b9677();}function _0x4e985e(){const _0x3758d1=window[_0x129ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x129ec9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x129ec9([0x6e,0x6f,0x77])]())[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x129ec9([0x2e]),'');let _0x5541ea=_0x129ec9([0x46]);for(let _0x355344=0x0;_0x355344<_0x3758d1[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x355344+=0x2){let _0x41794f=window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3758d1[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x355344,_0x355344+0x2));_0x41794f>=_0x4e4c0d[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41794f-=_0x4e4c0d[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5541ea+=_0x4e4c0d[_0x41794f];}return _0x5541ea;}function _0x1e0660(){const _0x654f5e=_0x1ea59a[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e]));if(0x3!=_0x654f5e[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52ccea(_0x654f5e[0x1]);function _0x52ccea(_0xfd158a){const _0x3cbdb3=_0x1bd894(_0xfd158a);return _0x3cbdb3&&_0x4a7dc7()?_0x3cbdb3:null;function _0x4a7dc7(){const _0x587a24=_0x3cbdb3[_0x129ec9([0x6a,0x74,0x69])],_0x4d7734=window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x587a24[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x587a24[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x61dfb8={..._0x3cbdb3,[_0x129ec9([0x6a,0x74,0x69])]:_0x587a24[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x587a24[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x61dfb8[_0x129ec9([0x76,0x63])],_0x3a5340(_0x61dfb8)==_0x4d7734;}}}async function _0x534e2d(){let _0x3e4948=!0x0;try{const _0x372c51=_0x1ea59a[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e])),[_0xbd0434,_0x453cfb,_0x344a5a]=_0x372c51;return _0x224d50(_0xbd0434),await _0x4642b5(_0xbd0434,_0x453cfb,_0x344a5a),_0x3e4948;}catch(_0x373e3b){return!0x1;}function _0x224d50(_0x3ff169){const _0x1b6ac4=_0x1bd894(_0x3ff169);_0x1b6ac4&&_0x1b6ac4[_0x129ec9([0x61,0x6c,0x67])]==_0x129ec9([0x45,0x53,0x32,0x35,0x36])||(_0x3e4948=!0x1);}async function _0x4642b5(_0x46ced3,_0xef016e,_0x163289){const _0x1c553f=window[_0x129ec9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x129ec9([0x66,0x72,0x6f,0x6d])](_0xcc6026(_0x163289),_0x102fa0=>_0x102fa0[_0x129ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22dbea=new window[(_0x129ec9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x129ec9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46ced3+_0x129ec9([0x2e])+_0xef016e),_0x1dda3a=window[_0x129ec9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x129ec9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dda3a)return;const _0x452d8f=await _0x1dda3a[_0x129ec9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x129ec9([0x6a,0x77,0x6b]),_0x446ebb,{[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x45,0x43,0x44,0x53,0x41]),[_0x129ec9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x129ec9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dda3a[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x45,0x43,0x44,0x53,0x41]),[_0x129ec9([0x68,0x61,0x73,0x68])]:{[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x452d8f,_0x1c553f,_0x22dbea)||(_0x3e4948=!0x1);}}function _0x1bd894(_0x3c3909){return _0x3c3909[_0x129ec9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x129ec9([0x65,0x79]))?JSON[_0x129ec9([0x70,0x61,0x72,0x73,0x65])](_0xcc6026(_0x3c3909)):null;}function _0xcc6026(_0x3c3027){return window[_0x129ec9([0x61,0x74,0x6f,0x62])](_0x3c3027[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x129ec9([0x2b]))[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x129ec9([0x2f])));}function _0x3a5340(_0x124e63){let _0x50dfee=0x1505;function _0x47c0bd(_0x4a4d1f){for(let _0x41565e=0x0;_0x41565e<_0x4a4d1f[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41565e++){const _0x1a65a3=_0x4a4d1f[_0x129ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41565e);_0x50dfee=(_0x50dfee<<0x5)+_0x50dfee+_0x1a65a3,_0x50dfee&=_0x50dfee;}}function _0x46c8eb(_0x2f2252){Array[_0x129ec9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f2252)?_0x2f2252[_0x129ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46c8eb):_0x2f2252&&typeof _0x2f2252==_0x129ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x129ec9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f2252)[_0x129ec9([0x73,0x6f,0x72,0x74])]()[_0x129ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d99fb,_0xc90909])=>{_0x47c0bd(_0x1d99fb),_0x46c8eb(_0xc90909);}):_0x47c0bd(window[_0x129ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f2252));}return _0x46c8eb(_0x124e63),_0x50dfee>>>0x0;}function _0x19e68b(_0x5954e8){return _0x5954e8[_0x129ec9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x129ec9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x129ec9([0x30]));}function _0x1bc65c(_0x11386d){return _0x11386d[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x129ec9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x129ec9([0x6a,0x6f,0x69,0x6e])]('');}function _0x12a8d1(){}function _0x129ec9(_0x32890c){const _0x23b638=_0x2ab9;return _0x32890c[_0x23b638(0x127)](_0x500d05=>String[_0x23b638(0x158)](_0x500d05))[_0x23b638(0x139)]('');}_0x4960df(await _0x192578());}(this);}[_0x169014(0x14b)](){const _0x442c58=_0x169014,_0x3f66b5=this[_0x442c58(0x16b)][_0x442c58(0x13a)][_0x442c58(0x124)];_0x3f66b5[_0x442c58(0x13b)](_0x442c58(0x128))&&_0x3f66b5[_0x442c58(0x125)](_0x442c58(0x128),{'allowAttributes':[_0x442c58(0x134)]}),_0x3f66b5[_0x442c58(0x13b)](_0x442c58(0x159))&&_0x3f66b5[_0x442c58(0x125)](_0x442c58(0x159),{'allowAttributes':[_0x442c58(0x134)]});}[_0x169014(0x122)](){const _0x1cbcd2=_0x169014,_0x1cea77=this[_0x1cbcd2(0x16b)];_0x1cea77[_0x1cbcd2(0x16c)][_0x1cbcd2(0x13d)](_0x1cbcd2(0x13f))[_0x1cbcd2(0x133)]({'model':_0x1cbcd2(0x134),'view':_0x1cbcd2(0x153)}),_0x1cea77[_0x1cbcd2(0x16c)][_0x1cbcd2(0x13d)](_0x1cbcd2(0x15b))[_0x1cbcd2(0x175)]({'model':{'key':_0x1cbcd2(0x134),'value':_0x39e3f8=>_0x39e3f8[_0x1cbcd2(0x168)](_0x1cbcd2(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xccd12f=_0x1cea77[_0x1cbcd2(0x173)][_0x1cbcd2(0x14e)](_0x1cbcd2(0x138));_0xccd12f&&this[_0x1cbcd2(0x13c)](_0xccd12f,_0x1cbcd2(0x136),(_0x4c8ce0,[_0x220a24,_0x364fd0])=>{const _0x13f174=_0x1cbcd2;_0x220a24[_0x13f174(0x15d)](_0x13f174(0x134),_0x364fd0);});}[_0x169014(0x12a)](){const _0x3af431=_0x169014,_0x2cbd90=this[_0x3af431(0x16b)][_0x3af431(0x129)][_0x3af431(0x14e)](_0x3af431(0x151))||{},_0x423860=this[_0x3af431(0x16b)][_0x3af431(0x129)][_0x3af431(0x14e)](_0x3af431(0x131))||'';this[_0x3af431(0x166)]=_0x36750e(_0x1a74bf[_0x3af431(0x171)],_0x3af431(0x163),{..._0x2cbd90,'pubkey':_0x423860,'ctx-name':_0x3af431(0x140),'sourceList':'','imgOnly':_0x3af431(0x15e),'removeCopyright':_0x3af431(0x15e),'localeName':this[_0x3af431(0x16b)][_0x3af431(0x176)][_0x3af431(0x137)],'externalSourcesEmbedCss':_0x3af431(0x150)}),this[_0x3af431(0x166)][_0x3af431(0x154)]=_0x5b9666=>{const _0x55bbc6=_0x3af431;if(_0x55bbc6(0x14c)==_0x5b9666)return _0x55bbc6(0x16a);},_0x1a74bf[_0x3af431(0x171)][_0x3af431(0x123)][_0x3af431(0x132)](this[_0x3af431(0x166)]);}[_0x169014(0x15c)](){const _0x3d939d=_0x169014;this[_0x3d939d(0x174)]=_0x36750e(_0x1a74bf[_0x3d939d(0x171)],_0x3d939d(0x169),{'ctx-name':_0x3d939d(0x140)}),_0x1a74bf[_0x3d939d(0x171)][_0x3d939d(0x123)][_0x3d939d(0x132)](this[_0x3d939d(0x174)]);}[_0x169014(0x16e)](){const _0x4db2e0=_0x169014,_0x278657=this[_0x4db2e0(0x16b)][_0x4db2e0(0x173)][_0x4db2e0(0x14e)](_0x4db2e0(0x14d));_0x278657&&this[_0x4db2e0(0x13c)](_0x278657,_0x4db2e0(0x13e),()=>{const _0x30a392=_0x4db2e0,_0x1a7d99=this[_0x30a392(0x16b)][_0x30a392(0x13a)][_0x30a392(0x171)][_0x30a392(0x142)][_0x30a392(0x161)]();_0x1a7d99&&_0x1a7d99[_0x30a392(0x168)](_0x30a392(0x134))&&this[_0x30a392(0x16b)][_0x30a392(0x149)][_0x30a392(0x164)][_0x30a392(0x12f)](_0x30a392(0x14a),()=>{const _0x3a3653=_0x30a392;_0x47a663(this[_0x3a3653(0x16b)],_0x1a7d99);});});const _0x4e744a=this[_0x4db2e0(0x16b)][_0x4db2e0(0x173)][_0x4db2e0(0x14e)](_0x4db2e0(0x15a));_0x4e744a&&this[_0x4db2e0(0x13c)](_0x4e744a,_0x4db2e0(0x13e),()=>{const _0x57af9c=_0x4db2e0,_0xd38fd0=this[_0x57af9c(0x16b)][_0x57af9c(0x13a)][_0x57af9c(0x171)][_0x57af9c(0x142)][_0x57af9c(0x161)]();_0xd38fd0&&_0xd38fd0[_0x57af9c(0x168)](_0x57af9c(0x134))&&this[_0x57af9c(0x16b)][_0x57af9c(0x149)][_0x57af9c(0x164)][_0x57af9c(0x12f)](_0x57af9c(0x14a),()=>{const _0x1cf4e4=_0x57af9c;_0x47a663(this[_0x1cf4e4(0x16b)],_0xd38fd0);});});}}
23
+ const _0x384977=_0xc1d5;(function(_0x3e656b,_0xeda385){const _0x38dd0c=_0xc1d5,_0x5df37c=_0x3e656b();while(!![]){try{const _0x3323c7=parseInt(_0x38dd0c(0xdf))/0x1*(parseInt(_0x38dd0c(0xd9))/0x2)+parseInt(_0x38dd0c(0xfa))/0x3+-parseInt(_0x38dd0c(0xc5))/0x4*(parseInt(_0x38dd0c(0xf6))/0x5)+parseInt(_0x38dd0c(0xb3))/0x6*(-parseInt(_0x38dd0c(0xdc))/0x7)+parseInt(_0x38dd0c(0xae))/0x8+-parseInt(_0x38dd0c(0xad))/0x9*(-parseInt(_0x38dd0c(0xe3))/0xa)+-parseInt(_0x38dd0c(0xc2))/0xb;if(_0x3323c7===_0xeda385)break;else _0x5df37c['push'](_0x5df37c['shift']());}catch(_0x2dcbff){_0x5df37c['push'](_0x5df37c['shift']());}}}(_0x5666,0x8a0d3));import{Plugin as _0x425a38}from'ckeditor5/src/core.js';import{Dialog as _0x3e33cc}from'ckeditor5/src/ui.js';import{createElement as _0x1dfe55,global as _0x39d770,uid as _0x1d18c0}from'ckeditor5/src/utils.js';function _0x5666(){const _0x374083=['ctxElement','uc-upload-ctx-provider','replaceImageSource','init','isPremiumPlugin','configElement','7072285luWGaO','attributeToAttribute','upcast','13708eCVTYw','elementToAttribute','uploadcare.pubkey','cleanupImage','insertImage','commands','model','getAttribute','uploader','_configElement','extend','_initSchema','href','get','\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','uploadcareImageId','listenTo','fromCharCode','downcast','schema','1014GCrbdU','_initCtx','editor','21YQMIqi','config','_initImageProcessingIndicator','662lzbFEs','uploadcare.uploader','appendChild','execute','10BIVzsZ','iconHrefResolver','remove','#uc-icon-arrow-down','once','isRegistered','querySelector','_ctxElement','requires','imageInline','uploadcare','selection','pluginName','for','data-uc-image-id','isOfficialPlugin','join','render','true','65eVTDvB','destroy','closeMax','uploadcareImageReplace','2382603EBlojY','imageBlock','document','_initConversion','view','add','getSelectedElement','conversion','2821734faPzzM','1037592pqRTVq','editing','UploadcareEditing','uc-config','afterInit','640230VIoNZj','map','_initConfig','body','contentLanguage','input[uploadcare-file-input]','removeAttribute','PictureEditing','locale'];_0x5666=function(){return _0x374083;};return _0x5666();}import _0x58b6f0 from'./uploadcarecommand.js';function _0xc1d5(_0x2d4b1b,_0x13236b){const _0x566639=_0x5666();return _0xc1d5=function(_0xc1d547,_0x5cc33b){_0xc1d547=_0xc1d547-0xac;let _0x315092=_0x566639[_0xc1d547];return _0x315092;},_0xc1d5(_0x2d4b1b,_0x13236b);}import _0x33c9aa from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x382905}from'./utils/editingutils.js';export default class i extends _0x425a38{constructor(){const _0x35d78c=_0xc1d5;super(...arguments),this[_0x35d78c(0xce)]=null,this[_0x35d78c(0xea)]=null;}static get[_0x384977(0xef)](){const _0x543102=_0x384977;return _0x543102(0xb0);}static get[_0x384977(0xeb)](){const _0x59567d=_0x384977;return[_0x59567d(0xba),_0x33c9aa,_0x3e33cc];}static get[_0x384977(0xf2)](){return!0x0;}static get[_0x384977(0xc0)](){return!0x0;}get[_0x384977(0xc1)](){const _0xbc9116=_0x384977;return this[_0xbc9116(0xce)];}get[_0x384977(0xbc)](){const _0x27f131=_0x384977;return this[_0x27f131(0xea)];}[_0x384977(0xbf)](){const _0x53c620=_0x384977,_0x1a2a76=this[_0x53c620(0xdb)];_0x1a2a76[_0x53c620(0xca)][_0x53c620(0xff)](_0x53c620(0xed),new _0x58b6f0(_0x1a2a76));}[_0x384977(0xb2)](){const _0x136c2d=_0x384977;this[_0x136c2d(0xd0)](),this[_0x136c2d(0xfd)](),this[_0x136c2d(0xb5)](),this[_0x136c2d(0xda)](),this[_0x136c2d(0xde)](),this[_0x136c2d(0xd5)](this[_0x136c2d(0xdb)],_0x136c2d(0xf7),()=>{const _0x26022d=_0x136c2d;this[_0x26022d(0xce)]&&(this[_0x26022d(0xce)][_0x26022d(0xe5)](),this[_0x26022d(0xce)]=null),this[_0x26022d(0xea)]&&(this[_0x26022d(0xea)][_0x26022d(0xe5)](),this[_0x26022d(0xea)]=null);const _0x58b621=_0x39d770[_0x26022d(0xfc)][_0x26022d(0xe9)](_0x26022d(0xb8));_0x58b621&&_0x58b621[_0x26022d(0xe5)]();}),async function(_0x2f1216){const _0x1cb678=_0x3134c9([0x65,0x33,0x31,0x4a,0x4c,0x45,0x74,0x38,0x66,0x67,0x51,0x34,0x54,0x32,0x4f,0x37,0x30,0x4b,0x59,0x46,0x35,0x79,0x77,0x68,0x4e,0x55,0x6d,0x52,0x64,0x58,0x6c,0x48,0x6e,0x5a,0x71,0x76,0x61,0x39,0x75,0x53,0x41,0x72,0x49,0x43,0x63,0x69,0x4d,0x44,0x57,0x78,0x50,0x56,0x36,0x6a,0x62,0x42,0x47,0x6f,0x7a,0x70,0x73,0x6b]),_0x58693f=0x1e2efe7f,_0x59ff11=0x1e299f3f^_0x58693f,_0x84b281=window[_0x3134c9([0x44,0x61,0x74,0x65])][_0x3134c9([0x6e,0x6f,0x77])](),_0x3a2107=_0x2f1216[_0x3134c9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d5d3f=new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3152=>{_0x3a2107[_0x3134c9([0x6f,0x6e,0x63,0x65])](_0x3134c9([0x72,0x65,0x61,0x64,0x79]),_0x5a3152);}),_0x30ff74={[_0x3134c9([0x6b,0x74,0x79])]:_0x3134c9([0x45,0x43]),[_0x3134c9([0x75,0x73,0x65])]:_0x3134c9([0x73,0x69,0x67]),[_0x3134c9([0x63,0x72,0x76])]:_0x3134c9([0x50,0x2d,0x32,0x35,0x36]),[_0x3134c9([0x78])]:_0x3134c9([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]),[_0x3134c9([0x79])]:_0x3134c9([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]),[_0x3134c9([0x61,0x6c,0x67])]:_0x3134c9([0x45,0x53,0x32,0x35,0x36])},_0x7c54fd=_0x3a2107[_0x3134c9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3134c9([0x67,0x65,0x74])](_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x230155(){let _0x1301fb,_0xd0bffe=null,_0x54f913=null;try{if(_0x7c54fd==_0x3134c9([0x47,0x50,0x4c]))return _0x3134c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1301fb=_0x27bcb8(),!_0x1301fb)return _0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1301fb[_0x3134c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54f913=_0xced79e(_0x1301fb[_0x3134c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1301fb[_0x3134c9([0x6a,0x74,0x69])])),await _0x47a094()?_0x226550()?_0xf68ffa()?_0x3134c9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24b19c()?(_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3134c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd0bffe=_0x1afbb2(_0x3134c9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3134c9([0x74,0x72,0x69,0x61,0x6c])&&(_0xd0bffe=_0x1afbb2(_0x3134c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cbda3()):_0x3134c9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3134c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2f2051){return _0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf68ffa(){const _0x341d66=[_0x3134c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3134c9([0x74,0x72,0x69,0x61,0x6c])][_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x84b281/0x3e8:0xe10*_0x59ff11;return _0x1301fb[_0x3134c9([0x65,0x78,0x70])]<_0x341d66;}function _0x226550(){const _0x625cfe=_0x1301fb[_0x3134c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x625cfe&&(!!_0x625cfe[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x2a]))||!!_0x625cfe[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x55,0x50,0x4c,0x43])));}function _0x24b19c(){const _0x2e9440=_0xc1d5,_0x3445bb=_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3445bb||0x0==_0x3445bb[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb84b8c}=new URL(window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e9440(0xd1)]);if(_0x3445bb[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb84b8c))return!0x0;const _0x524508=_0xb84b8c[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e]));return _0x3445bb[_0x3134c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5406=>_0x1b5406[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x2a])))[_0x3134c9([0x6d,0x61,0x70])](_0x3a1a78=>_0x3a1a78[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e])))[_0x3134c9([0x73,0x6f,0x6d,0x65])](_0x2b661c=>_0x524508[_0x3134c9([0x65,0x76,0x65,0x72,0x79])]((_0x3c6f92,_0x2a1896)=>_0x2b661c[_0x2a1896]===_0x3c6f92||_0x2b661c[_0x2a1896]===_0x3134c9([0x2a])));}function _0x1cbda3(){return _0xd0bffe&&_0x54f913?new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45b2e5,_0x2a01db)=>{_0xd0bffe[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x45b2e5,_0x2a01db),_0x54f913[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x5d6b6f=>{_0x5d6b6f!=_0x3134c9([0x56,0x61,0x6c,0x69,0x64])&&_0x45b2e5(_0x5d6b6f);},_0x2a01db);}):_0xd0bffe||_0x54f913||_0x3134c9([0x56,0x61,0x6c,0x69,0x64]);}}function _0xced79e(_0x423ff5,_0x27fa48){return new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35f3c3=>{if(_0x1badfb())return _0x35f3c3(_0x3134c9([0x56,0x61,0x6c,0x69,0x64]));_0x13e21f(),_0x3a2107[_0x3134c9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3537fe=!0x1;const _0xe0058f=_0x1d18c0();function _0xafcb53(_0x541f21){return!!_0x541f21&&(typeof _0x541f21===_0x3134c9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x541f21===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x541f21[_0x3134c9([0x74,0x68,0x65,0x6e])]===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x541f21[_0x3134c9([0x63,0x61,0x74,0x63,0x68])]===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x278d1c(_0x4a8cb3){_0xccfc2f(_0x4a8cb3)[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x2b10bb=>{if(!_0x2b10bb||_0x2b10bb[_0x3134c9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3134c9([0x6f,0x6b]))return _0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a51b2(_0xef00b2(_0xe0058f+_0x27fa48))!=_0x2b10bb[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3134c9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x51b64e=>(_0x4de36b(),_0x51b64e),()=>{const _0x3826df=_0x208fb3();return null==_0x3826df?(_0x4de36b(),_0x3134c9([0x56,0x61,0x6c,0x69,0x64])):_0x3134c9(_0x84b281-_0x3826df>(0x3a227a7f^_0x58693f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x35f3c3)[_0x3134c9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ca84d=0x1e1810ff^_0x58693f;function _0x4de36b(){const _0x2ef6f2=_0x3134c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a51b2(_0xef00b2(_0x423ff5)),_0x395f37=_0x27c1f2(_0x1a51b2(window[_0x3134c9([0x4d,0x61,0x74,0x68])][_0x3134c9([0x63,0x65,0x69,0x6c])](_0x84b281/_0x3ca84d)));window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3134c9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ef6f2,_0x395f37);}function _0x208fb3(){const _0x5f0a0b=_0x3134c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a51b2(_0xef00b2(_0x423ff5)),_0x1c1dd8=window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3134c9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f0a0b);return _0x1c1dd8?window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27c1f2(_0x1c1dd8),0x10)*_0x3ca84d:null;}function _0xccfc2f(_0x3a12fd){return new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5575a4,_0x3ba911)=>{_0x3a12fd[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x5575a4,_0x3ba911),window[_0x3134c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ba911,0x1e2f2abf^_0x58693f);});}}_0x3a2107[_0x3134c9([0x6f,0x6e])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ce35,_0x5ccee1)=>{if(_0x5ccee1[0x0]!=_0x423ff5)return _0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ccee1[0x1]={..._0x5ccee1[0x1],[_0x3134c9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe0058f};},{[_0x3134c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3134c9([0x68,0x69,0x67,0x68])}),_0x3a2107[_0x3134c9([0x6f,0x6e])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31fb9e=>{_0xafcb53(_0x31fb9e[_0x3134c9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3537fe=!0x0,_0x278d1c(_0x31fb9e[_0x3134c9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3134c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3134c9([0x6c,0x6f,0x77])}),_0x3d5d3f[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>{_0x3537fe||_0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1badfb(){return _0x3a2107[_0x3134c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3134c9([0x76,0x69,0x65,0x77])][_0x3134c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3134c9([0x61,0x75,0x74,0x6f]);}function _0x13e21f(){_0x3a2107[_0x3134c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3134c9([0x76,0x69,0x65,0x77])][_0x3134c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3134c9([0x61,0x75,0x74,0x6f]);}}function _0x1afbb2(_0x15a4e6){const _0x146a18=[new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb581=>setTimeout(_0x4cb581,0x1e27c0b3^_0x58693f)),_0x3d5d3f[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3147db=>{let _0x2f2582=0x0;_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x6f,0x6e])](_0x3134c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x863c6f,_0x17cb77)=>{_0x17cb77[0x0][_0x3134c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f2582++,_0x2f2582==(0x1e2eff87^_0x58693f)&&(_0x3147db(),_0x863c6f[_0x3134c9([0x6f,0x66,0x66])]());});}))];return window[_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3134c9([0x72,0x61,0x63,0x65])](_0x146a18)[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>_0x15a4e6);}async function _0x5820ca(){await _0x3d5d3f,_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28d546,_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28d546,_0x3a2107[_0x3134c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2598a8(_0xf94f5b){const _0x533070=_0x35e7fe();_0x3a2107[_0x533070]=_0x3134c9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf94f5b,_0xf94f5b!=_0x3134c9([0x56,0x61,0x6c,0x69,0x64])&&_0x5820ca();}function _0x35e7fe(){const _0x647be1=window[_0x3134c9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3134c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3134c9([0x6e,0x6f,0x77])]())[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3134c9([0x2e]),'');let _0x5867ae=_0x3134c9([0x65]);for(let _0x51b0ae=0x0;_0x51b0ae<_0x647be1[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51b0ae+=0x2){let _0x4091f4=window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x647be1[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51b0ae,_0x51b0ae+0x2));_0x4091f4>=_0x1cb678[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4091f4-=_0x1cb678[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5867ae+=_0x1cb678[_0x4091f4];}return _0x5867ae;}function _0x27bcb8(){const _0x2e63a4=_0x7c54fd[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e]));if(0x3!=_0x2e63a4[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x370591(_0x2e63a4[0x1]);function _0x370591(_0xa95dc5){const _0x21b7bb=_0x4c2d0a(_0xa95dc5);return _0x21b7bb&&_0x3c59c9()?_0x21b7bb:null;function _0x3c59c9(){const _0x27e024=_0x21b7bb[_0x3134c9([0x6a,0x74,0x69])],_0x21231e=window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27e024[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27e024[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2de290={..._0x21b7bb,[_0x3134c9([0x6a,0x74,0x69])]:_0x27e024[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27e024[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2de290[_0x3134c9([0x76,0x63])],_0xef00b2(_0x2de290)==_0x21231e;}}}async function _0x47a094(){let _0x1f7e0b=!0x0;try{const _0x3e5ccc=_0x7c54fd[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e])),[_0xd8ea45,_0x4b32e5,_0x25a856]=_0x3e5ccc;return _0x53a1df(_0xd8ea45),await _0x414ff7(_0xd8ea45,_0x4b32e5,_0x25a856),_0x1f7e0b;}catch(_0x498104){return!0x1;}function _0x53a1df(_0x46a18b){const _0x2f4816=_0x4c2d0a(_0x46a18b);_0x2f4816&&_0x2f4816[_0x3134c9([0x61,0x6c,0x67])]==_0x3134c9([0x45,0x53,0x32,0x35,0x36])||(_0x1f7e0b=!0x1);}async function _0x414ff7(_0x7f592d,_0x25876a,_0x1a8873){const _0x4d42ab=window[_0x3134c9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3134c9([0x66,0x72,0x6f,0x6d])](_0x2b53e6(_0x1a8873),_0x570723=>_0x570723[_0x3134c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c4429=new window[(_0x3134c9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3134c9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7f592d+_0x3134c9([0x2e])+_0x25876a),_0x3443e8=window[_0x3134c9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3134c9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3443e8)return;const _0x8c977b=await _0x3443e8[_0x3134c9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3134c9([0x6a,0x77,0x6b]),_0x30ff74,{[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x45,0x43,0x44,0x53,0x41]),[_0x3134c9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3134c9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3443e8[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x45,0x43,0x44,0x53,0x41]),[_0x3134c9([0x68,0x61,0x73,0x68])]:{[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8c977b,_0x4d42ab,_0x1c4429)||(_0x1f7e0b=!0x1);}}function _0x4c2d0a(_0x85bb7f){return _0x85bb7f[_0x3134c9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3134c9([0x65,0x79]))?JSON[_0x3134c9([0x70,0x61,0x72,0x73,0x65])](_0x2b53e6(_0x85bb7f)):null;}function _0x2b53e6(_0x4547e9){return window[_0x3134c9([0x61,0x74,0x6f,0x62])](_0x4547e9[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3134c9([0x2b]))[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3134c9([0x2f])));}function _0xef00b2(_0x1ca989){let _0x45bda7=0x1505;function _0x40c6a6(_0x451720){for(let _0x30d9b3=0x0;_0x30d9b3<_0x451720[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d9b3++){const _0x4ffd92=_0x451720[_0x3134c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30d9b3);_0x45bda7=(_0x45bda7<<0x5)+_0x45bda7+_0x4ffd92,_0x45bda7&=_0x45bda7;}}function _0x9d7255(_0x460bc5){Array[_0x3134c9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x460bc5)?_0x460bc5[_0x3134c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9d7255):_0x460bc5&&typeof _0x460bc5==_0x3134c9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3134c9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x460bc5)[_0x3134c9([0x73,0x6f,0x72,0x74])]()[_0x3134c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16608e,_0x381ef0])=>{_0x40c6a6(_0x16608e),_0x9d7255(_0x381ef0);}):_0x40c6a6(window[_0x3134c9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x460bc5));}return _0x9d7255(_0x1ca989),_0x45bda7>>>0x0;}function _0x1a51b2(_0x71c213){return _0x71c213[_0x3134c9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3134c9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3134c9([0x30]));}function _0x27c1f2(_0x117499){return _0x117499[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3134c9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3134c9([0x6a,0x6f,0x69,0x6e])]('');}function _0x28d546(){}function _0x3134c9(_0x863854){const _0xfa15bf=_0xc1d5;return _0x863854[_0xfa15bf(0xb4)](_0x3fca05=>String[_0xfa15bf(0xd6)](_0x3fca05))[_0xfa15bf(0xf3)]('');}_0x2598a8(await _0x230155());}(this);}[_0x384977(0xd0)](){const _0x103a82=_0x384977,_0x1358a9=this[_0x103a82(0xdb)][_0x103a82(0xcb)][_0x103a82(0xd8)];_0x1358a9[_0x103a82(0xe8)](_0x103a82(0xfb))&&_0x1358a9[_0x103a82(0xcf)](_0x103a82(0xfb),{'allowAttributes':[_0x103a82(0xd4)]}),_0x1358a9[_0x103a82(0xe8)](_0x103a82(0xec))&&_0x1358a9[_0x103a82(0xcf)](_0x103a82(0xec),{'allowAttributes':[_0x103a82(0xd4)]});}[_0x384977(0xfd)](){const _0x185064=_0x384977,_0x53416f=this[_0x185064(0xdb)];_0x53416f[_0x185064(0xac)][_0x185064(0xf0)](_0x185064(0xd7))[_0x185064(0xc3)]({'model':_0x185064(0xd4),'view':_0x185064(0xf1)}),_0x53416f[_0x185064(0xac)][_0x185064(0xf0)](_0x185064(0xc4))[_0x185064(0xc6)]({'model':{'key':_0x185064(0xd4),'value':_0x82e7da=>_0x82e7da[_0x185064(0xcc)](_0x185064(0xf1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x345a30=_0x53416f[_0x185064(0xca)][_0x185064(0xd2)](_0x185064(0xbe));_0x345a30&&this[_0x185064(0xd5)](_0x345a30,_0x185064(0xc8),(_0x2f20e0,[_0x4d9507,_0xab880f])=>{const _0x5c9e9e=_0x185064;_0x4d9507[_0x5c9e9e(0xb9)](_0x5c9e9e(0xd4),_0xab880f);});}[_0x384977(0xb5)](){const _0xb5ccb1=_0x384977,_0x18ca45=this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xdd)][_0xb5ccb1(0xd2)](_0xb5ccb1(0xe0))||{},_0x145ef4=this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xdd)][_0xb5ccb1(0xd2)](_0xb5ccb1(0xc7))||'';this[_0xb5ccb1(0xce)]=_0x1dfe55(_0x39d770[_0xb5ccb1(0xfc)],_0xb5ccb1(0xb1),{..._0x18ca45,'pubkey':_0x145ef4,'ctx-name':_0xb5ccb1(0xcd),'sourceList':'','imgOnly':_0xb5ccb1(0xf5),'removeCopyright':_0xb5ccb1(0xf5),'localeName':this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xbb)][_0xb5ccb1(0xb7)],'externalSourcesEmbedCss':_0xb5ccb1(0xd3)}),this[_0xb5ccb1(0xce)][_0xb5ccb1(0xe4)]=_0x5778fa=>{const _0x3ebe4b=_0xb5ccb1;if(_0x3ebe4b(0xf8)==_0x5778fa)return _0x3ebe4b(0xe6);},_0x39d770[_0xb5ccb1(0xfc)][_0xb5ccb1(0xb6)][_0xb5ccb1(0xe1)](this[_0xb5ccb1(0xce)]);}[_0x384977(0xda)](){const _0x3c3b5c=_0x384977;this[_0x3c3b5c(0xea)]=_0x1dfe55(_0x39d770[_0x3c3b5c(0xfc)],_0x3c3b5c(0xbd),{'ctx-name':_0x3c3b5c(0xcd)}),_0x39d770[_0x3c3b5c(0xfc)][_0x3c3b5c(0xb6)][_0x3c3b5c(0xe1)](this[_0x3c3b5c(0xea)]);}[_0x384977(0xde)](){const _0x15e985=_0x384977,_0x364613=this[_0x15e985(0xdb)][_0x15e985(0xca)][_0x15e985(0xd2)](_0x15e985(0xc9));_0x364613&&this[_0x15e985(0xd5)](_0x364613,_0x15e985(0xe2),()=>{const _0xd0032f=_0x15e985,_0x11208a=this[_0xd0032f(0xdb)][_0xd0032f(0xcb)][_0xd0032f(0xfc)][_0xd0032f(0xee)][_0xd0032f(0x100)]();_0x11208a&&_0x11208a[_0xd0032f(0xcc)](_0xd0032f(0xd4))&&this[_0xd0032f(0xdb)][_0xd0032f(0xaf)][_0xd0032f(0xfe)][_0xd0032f(0xe7)](_0xd0032f(0xf4),()=>{const _0x120f8b=_0xd0032f;_0x382905(this[_0x120f8b(0xdb)],_0x11208a);});});const _0x1aca05=this[_0x15e985(0xdb)][_0x15e985(0xca)][_0x15e985(0xd2)](_0x15e985(0xf9));_0x1aca05&&this[_0x15e985(0xd5)](_0x1aca05,_0x15e985(0xe2),()=>{const _0x1205bd=_0x15e985,_0x4895d5=this[_0x1205bd(0xdb)][_0x1205bd(0xcb)][_0x1205bd(0xfc)][_0x1205bd(0xee)][_0x1205bd(0x100)]();_0x4895d5&&_0x4895d5[_0x1205bd(0xcc)](_0x1205bd(0xd4))&&this[_0x1205bd(0xdb)][_0x1205bd(0xaf)][_0x1205bd(0xfe)][_0x1205bd(0xe7)](_0x1205bd(0xf4),()=>{const _0x120c0a=_0x1205bd;_0x382905(this[_0x120c0a(0xdb)],_0x4895d5);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1bc5c5,ObservableMixin as _0x69f636}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d2dbb}from'ckeditor5/src/ui.js';import _0xda9734 from'./uploadcareimageeditformview.js';import _0x3c2194 from'../../utils/uploadutils.js';import _0x5914eb from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x57b248,getImageDimension as _0x5b0581}from'../../utils/editingutils.js';import{isAncestor as _0x124b20}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x69f636(){constructor(_0x4c128a,_0x1c6c47,_0x2e5289){super(),this['_editor']=_0x4c128a,this['_dialog']=_0x1c6c47,this['_imageElement']=_0x2e5289,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 _0x1fd399=this['_imageElement'],_0x5e4398=_0x1fd399['getAttribute']('uploadcareImageId'),_0x5cfd4c=_0x1fd399['getAttribute']('src');if(_0x5e4398)await this['_loadImageInfo'](_0x5e4398,_0x5cfd4c);else{if(this['_imageCache']['has'](_0x5cfd4c)){const _0x5083df=this['_imageCache']['get'](_0x5cfd4c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5083df['url'],this['imageDimension']=_0x5083df['dimension'],this['imageId']=_0x5083df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xcf684}=this['_editor'],t=_0xcf684['t'],_0x2fca39=new _0xda9734(_0xcf684,this['imageStatus'],this['_attributes']);_0x2fca39['bind']('status')['to'](this,'imageStatus'),_0x2fca39['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2fca39['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2fca39['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2fca39,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5914eb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2fca39,'position':_0x1d2dbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2fca39['focus']();},'onHide':()=>{_0x2fca39['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57d92f=>!_0x124b20(_0x57d92f,_0x2fca39['element'])}});}['_loadImageInfo'](_0x1bf47d,_0x20eb4e){return _0x3c2194['getInfo'](_0x1bf47d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3d6eeb=>{const {width:_0x572a9b,height:_0xe4568}=_0x3d6eeb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20eb4e,this['imageDimension']={'width':_0x572a9b,'height':_0xe4568},this['imageId']=_0x1bf47d;})['catch'](_0xaaf3ea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xaaf3ea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x583bd5,_0xf2fb20){return this['_getImageAsFile'](_0x583bd5)['then'](_0x223afb=>_0x3c2194['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xf2fb20['signal'],'file':_0x223afb,'onProgress':_0x537f0b=>{_0x537f0b&&_0x537f0b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x537f0b['value']));}}))['then'](_0x5aea35=>{const {width:_0x2e4608,height:_0x55a3cb}=_0x5aea35['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5aea35['cdnUrl'],this['imageDimension']={'width':_0x2e4608,'height':_0x55a3cb},this['imageId']=_0x5aea35['uuid'],this['imageUploadProgress']=null;const _0x3ddf44=_0x583bd5['getAttribute']('src');this['_imageCache']['set'](_0x3ddf44,{'id':_0x5aea35['uuid'],'url':_0x5aea35['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1823=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1823['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38f3a6,_0x2bd633){_0x38f3a6['on']('apply',(_0x124423,_0x4c63ce)=>{this['_replaceImage'](_0x2bd633,_0x4c63ce['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38f3a6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38f3a6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x282757,_0x6c7c49,_0xfdfeca){const _0xa41234=this['_editor'],{width:_0x174b5a,height:_0x17c874}=_0x5b0581(_0x6c7c49,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3aeaa7,imageSources:_0x457424}=_0x57b248(_0x6c7c49,_0x174b5a);_0xa41234['model']['change'](_0x342006=>{if('$graveyard'===_0x282757['root']['rootName']){_0xa41234['execute']('insertImage',{'imageType':_0x282757['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x282757['getAttributes']()),'uploadcareImageId':_0xfdfeca,'src':_0x3aeaa7,'sources':_0x457424,'width':_0x174b5a,'height':_0x17c874}});const _0x2b18ba=_0x282757['getChildren']();_0x282757=_0xa41234['model']['document']['selection']['getSelectedElement']();for(const _0x21ff15 of _0x2b18ba)_0x342006['append'](_0x342006['cloneElement'](_0x21ff15),_0x282757);}else _0x342006['setSelection'](_0x282757,'on'),_0xa41234['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x282757['getAttributes']()),'uploadcareImageId':_0xfdfeca,'src':_0x3aeaa7,'sources':_0x457424,'width':_0x174b5a,'height':_0x17c874},_0x282757);_0x342006['setSelection'](_0x282757,'on');});}async['_getImageAsFile'](_0x37dcf0){const _0x182f72=_0x1bc5c5['window'],_0x1a3f5f=_0x1bc5c5['document']['location']['href'],_0x1e9e36=new _0x182f72['URL'](_0x37dcf0['getAttribute']('src'),_0x1a3f5f);if('data:'===_0x1e9e36['protocol']){const _0x14576c=_0x1e9e36['href']['split'](','),_0xab9c85=_0x14576c[0x0]['match'](/:(.*?);/)[0x1],_0x2c3ca4=_0xab9c85['split']('/')[0x1],_0x385a80=_0x182f72['atob'](_0x14576c[_0x14576c['length']-0x1]);let _0x8dbf11=_0x385a80['length'];const _0x1d4729=new _0x182f72['Uint8Array'](_0x8dbf11);for(;_0x8dbf11--;)_0x1d4729[_0x8dbf11]=_0x385a80['charCodeAt'](_0x8dbf11);return new _0x182f72['File']([_0x1d4729],'image.'+_0x2c3ca4,{'type':_0xab9c85});}const _0x3d9440=_0x1e9e36['href']['split']('/'),_0x5bd824=_0x3d9440[_0x3d9440['length']-0x1],_0x20bd8f=_0x5bd824['split']('.')[0x1];return _0x182f72['fetch'](_0x1e9e36['href'])['then'](_0x24d528=>_0x24d528['clone']()['blob']())['then'](_0x156ff4=>new _0x182f72['File']([_0x156ff4],_0x5bd824,{'type':'image/'+_0x20bd8f}));}}
23
+ import{global as _0xef1e1c,ObservableMixin as _0x1aa84c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4a9cce}from'ckeditor5/src/ui.js';import _0x3e8001 from'./uploadcareimageeditformview.js';import _0x4a6146 from'../../utils/uploadutils.js';import _0x40ada9 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x53aeaf,getImageDimension as _0x47b296}from'../../utils/editingutils.js';import{isAncestor as _0x4adf46}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1aa84c(){constructor(_0x2b4198,_0x309642,_0x5cd15f){super(),this['_editor']=_0x2b4198,this['_dialog']=_0x309642,this['_imageElement']=_0x5cd15f,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 _0x3196b4=this['_imageElement'],_0x30c505=_0x3196b4['getAttribute']('uploadcareImageId'),_0x23f180=_0x3196b4['getAttribute']('src');if(_0x30c505)await this['_loadImageInfo'](_0x30c505,_0x23f180);else{if(this['_imageCache']['has'](_0x23f180)){const _0xa56b6b=this['_imageCache']['get'](_0x23f180);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa56b6b['url'],this['imageDimension']=_0xa56b6b['dimension'],this['imageId']=_0xa56b6b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x289168}=this['_editor'],t=_0x289168['t'],_0x5ed934=new _0x3e8001(_0x289168,this['imageStatus'],this['_attributes']);_0x5ed934['bind']('status')['to'](this,'imageStatus'),_0x5ed934['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5ed934['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5ed934['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5ed934,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x40ada9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5ed934,'position':_0x4a9cce['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5ed934['focus']();},'onHide':()=>{_0x5ed934['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d66bb=>!_0x4adf46(_0x1d66bb,_0x5ed934['element'])}});}['_loadImageInfo'](_0x40dfe5,_0x2a734a){return _0x4a6146['getInfo'](_0x40dfe5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5a1892=>{const {width:_0x166e56,height:_0x14b9fb}=_0x5a1892['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a734a,this['imageDimension']={'width':_0x166e56,'height':_0x14b9fb},this['imageId']=_0x40dfe5;})['catch'](_0x29d9e9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29d9e9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x32a994,_0x2c8944){return this['_getImageAsFile'](_0x32a994)['then'](_0x182ef1=>_0x4a6146['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2c8944['signal'],'file':_0x182ef1,'onProgress':_0x574923=>{_0x574923&&_0x574923['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x574923['value']));}}))['then'](_0x4130b4=>{const {width:_0x1e6398,height:_0x637620}=_0x4130b4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4130b4['cdnUrl'],this['imageDimension']={'width':_0x1e6398,'height':_0x637620},this['imageId']=_0x4130b4['uuid'],this['imageUploadProgress']=null;const _0x54b32f=_0x32a994['getAttribute']('src');this['_imageCache']['set'](_0x54b32f,{'id':_0x4130b4['uuid'],'url':_0x4130b4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x579ed9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x579ed9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1070ce,_0x22dffc){_0x1070ce['on']('apply',(_0x27691d,_0x4a54b3)=>{this['_replaceImage'](_0x22dffc,_0x4a54b3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1070ce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1070ce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26bf88,_0x36e6fb,_0x4fac48){const _0x7db2d5=this['_editor'],{width:_0x8073e4,height:_0x48f8ab}=_0x47b296(_0x36e6fb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4bce26,imageSources:_0xd1d6dc}=_0x53aeaf(_0x36e6fb,_0x8073e4);_0x7db2d5['model']['change'](_0x5de042=>{if('$graveyard'===_0x26bf88['root']['rootName']){_0x7db2d5['execute']('insertImage',{'imageType':_0x26bf88['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26bf88['getAttributes']()),'uploadcareImageId':_0x4fac48,'src':_0x4bce26,'sources':_0xd1d6dc,'width':_0x8073e4,'height':_0x48f8ab}});const _0xa791cc=_0x26bf88['getChildren']();_0x26bf88=_0x7db2d5['model']['document']['selection']['getSelectedElement']();for(const _0x339bdb of _0xa791cc)_0x5de042['append'](_0x5de042['cloneElement'](_0x339bdb),_0x26bf88);}else _0x5de042['setSelection'](_0x26bf88,'on'),_0x7db2d5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26bf88['getAttributes']()),'uploadcareImageId':_0x4fac48,'src':_0x4bce26,'sources':_0xd1d6dc,'width':_0x8073e4,'height':_0x48f8ab},_0x26bf88);_0x5de042['setSelection'](_0x26bf88,'on');});}async['_getImageAsFile'](_0x29e620){const _0x261f7f=_0xef1e1c['window'],_0x5aedf3=_0xef1e1c['document']['location']['href'],_0x57ee9b=new _0x261f7f['URL'](_0x29e620['getAttribute']('src'),_0x5aedf3);if('data:'===_0x57ee9b['protocol']){const _0x23124d=_0x57ee9b['href']['split'](','),_0x1d87e9=_0x23124d[0x0]['match'](/:(.*?);/)[0x1],_0x1190be=_0x1d87e9['split']('/')[0x1],_0x5ebef1=_0x261f7f['atob'](_0x23124d[_0x23124d['length']-0x1]);let _0x2c6d9e=_0x5ebef1['length'];const _0x4abb3a=new _0x261f7f['Uint8Array'](_0x2c6d9e);for(;_0x2c6d9e--;)_0x4abb3a[_0x2c6d9e]=_0x5ebef1['charCodeAt'](_0x2c6d9e);return new _0x261f7f['File']([_0x4abb3a],'image.'+_0x1190be,{'type':_0x1d87e9});}const _0x19dc2e=_0x57ee9b['href']['split']('/'),_0x52c168=_0x19dc2e[_0x19dc2e['length']-0x1],_0x3fd2c2=_0x52c168['split']('.')[0x1];return _0x261f7f['fetch'](_0x57ee9b['href'])['then'](_0x7ce5c3=>_0x7ce5c3['clone']()['blob']())['then'](_0x29893e=>new _0x261f7f['File']([_0x29893e],_0x52c168,{'type':'image/'+_0x3fd2c2}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4243(){const _0x45557e=['uc-light','4058HIBmAu','591939FVvYMq','830tFDvzW','set','imageSrc','image-edit','12BibiyB','bindTemplate','2618OQHLYl','469ApUEVq','60vzppOR','20058aVUCXA','uc-cloud-image-editor','12081EyXsMv','428jrIYQF','setTemplate','ck-uploadcare-theme','26tYyxHU','53079RfjnLs','33632EPmJdt','2225619BRPojX'];_0x4243=function(){return _0x45557e;};return _0x4243();}(function(_0x37b565,_0x5ed1e5){const _0x29f2f3=_0x5798,_0x20a39e=_0x37b565();while(!![]){try{const _0x50889b=parseInt(_0x29f2f3(0xd2))/0x1*(parseInt(_0x29f2f3(0xcd))/0x2)+parseInt(_0x29f2f3(0xdf))/0x3*(-parseInt(_0x29f2f3(0xe0))/0x4)+-parseInt(_0x29f2f3(0xd4))/0x5*(parseInt(_0x29f2f3(0xdd))/0x6)+parseInt(_0x29f2f3(0xdb))/0x7*(parseInt(_0x29f2f3(0xcf))/0x8)+-parseInt(_0x29f2f3(0xd3))/0x9*(-parseInt(_0x29f2f3(0xdc))/0xa)+-parseInt(_0x29f2f3(0xd0))/0xb*(parseInt(_0x29f2f3(0xd8))/0xc)+-parseInt(_0x29f2f3(0xce))/0xd*(-parseInt(_0x29f2f3(0xda))/0xe);if(_0x50889b===_0x5ed1e5)break;else _0x20a39e['push'](_0x20a39e['shift']());}catch(_0x457b78){_0x20a39e['push'](_0x20a39e['shift']());}}}(_0x4243,0x4a51d));import{View as _0x1306a3}from'ckeditor5/src/ui.js';function _0x5798(_0x385e88,_0x161244){const _0x424351=_0x4243();return _0x5798=function(_0x579823,_0x32db9e){_0x579823=_0x579823-0xcb;let _0x516b42=_0x424351[_0x579823];return _0x516b42;},_0x5798(_0x385e88,_0x161244);}export default class tt extends _0x1306a3{constructor(_0x2f0571,_0x1ac6f7){const _0x2a6c32=_0x5798;super(_0x2f0571);const _0x1ed5c2=this[_0x2a6c32(0xd9)];this[_0x2a6c32(0xd5)](_0x2a6c32(0xd6),''),this[_0x2a6c32(0xcb)]({'tag':_0x2a6c32(0xde),'attributes':{..._0x1ac6f7,'class':[_0x2a6c32(0xd1),_0x2a6c32(0xcc)],'ctx-name':_0x2a6c32(0xd7),'cdn-url':_0x1ed5c2['to'](_0x2a6c32(0xd6))}});}}
23
+ (function(_0x43627e,_0x5a4167){const _0x5ddaf0=_0x541d,_0x5097a8=_0x43627e();while(!![]){try{const _0x2a9201=-parseInt(_0x5ddaf0(0x1a1))/0x1+-parseInt(_0x5ddaf0(0x1a0))/0x2*(parseInt(_0x5ddaf0(0x1a2))/0x3)+-parseInt(_0x5ddaf0(0x19c))/0x4*(-parseInt(_0x5ddaf0(0x19a))/0x5)+-parseInt(_0x5ddaf0(0x1ab))/0x6*(-parseInt(_0x5ddaf0(0x1a4))/0x7)+-parseInt(_0x5ddaf0(0x198))/0x8*(parseInt(_0x5ddaf0(0x1aa))/0x9)+parseInt(_0x5ddaf0(0x1a5))/0xa*(-parseInt(_0x5ddaf0(0x1a6))/0xb)+parseInt(_0x5ddaf0(0x19f))/0xc;if(_0x2a9201===_0x5a4167)break;else _0x5097a8['push'](_0x5097a8['shift']());}catch(_0xd6fac6){_0x5097a8['push'](_0x5097a8['shift']());}}}(_0x3ef4,0xc4bc4));import{View as _0x3d1862}from'ckeditor5/src/ui.js';function _0x541d(_0x13efe2,_0x2ec3c5){const _0x3ef42a=_0x3ef4();return _0x541d=function(_0x541d6c,_0x514ba8){_0x541d6c=_0x541d6c-0x198;let _0xbc59b1=_0x3ef42a[_0x541d6c];return _0xbc59b1;},_0x541d(_0x13efe2,_0x2ec3c5);}export default class tt extends _0x3d1862{constructor(_0xbae98a,_0x45cd33){const _0x371529=_0x541d;super(_0xbae98a);const _0x42659b=this[_0x371529(0x1a9)];this[_0x371529(0x19e)](_0x371529(0x1a8),''),this[_0x371529(0x1a7)]({'tag':_0x371529(0x19b),'attributes':{..._0x45cd33,'class':[_0x371529(0x19d),_0x371529(0x199)],'ctx-name':_0x371529(0x1a3),'cdn-url':_0x42659b['to'](_0x371529(0x1a8))}});}}function _0x3ef4(){const _0x31c6f5=['8542416qQDBDC','55946omXtmx','1116053zLIAqI','3dtWdFj','image-edit','7202503JTsRcI','69150JYNwQl','583nbnixa','setTemplate','imageSrc','bindTemplate','2853UsuOMF','6kKbIaY','3832WdjkZq','ck-uploadcare-theme','15GzRbsW','uc-cloud-image-editor','969860GEHeSq','uc-light','set'];_0x3ef4=function(){return _0x31c6f5;};return _0x3ef4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5a9909,IconView as et,View as _0x411c40}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x411c40{constructor(_0x40d321){super(_0x40d321);const t=_0x40d321['t'];this['set']('errorType',null);const _0x388ad2=new _0x5a9909(_0x40d321);_0x388ad2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x388ad2['withText']=!0x0,_0x388ad2['class']='ck-button-action',_0x388ad2['on']('execute',()=>{this['fire']('retry');}),_0x388ad2['bind']('isVisible')['to'](this,'errorType',_0x174ee1=>'NotFound'!==_0x174ee1);const _0x545e46=new et();_0x545e46['content']=at,_0x545e46['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x437306=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':[_0x545e46,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x437306['to']('errorType',_0x2b896f=>t('NotFound'!==_0x2b896f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x388ad2]},{'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{ButtonView as _0x4e2fb8,IconView as et,View as _0x5dbcae}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5dbcae{constructor(_0x505dad){super(_0x505dad);const t=_0x505dad['t'];this['set']('errorType',null);const _0x3e3d17=new _0x4e2fb8(_0x505dad);_0x3e3d17['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e3d17['withText']=!0x0,_0x3e3d17['class']='ck-button-action',_0x3e3d17['on']('execute',()=>{this['fire']('retry');}),_0x3e3d17['bind']('isVisible')['to'](this,'errorType',_0x204de2=>'NotFound'!==_0x204de2);const _0x502f4f=new et();_0x502f4f['content']=at,_0x502f4f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a3553=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':[_0x502f4f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a3553['to']('errorType',_0xcd8be9=>t('NotFound'!==_0xcd8be9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e3d17]},{'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 _0x1b7c19,View as _0x42fcf6}from'ckeditor5/src/ui.js';export default class ta extends _0x42fcf6{constructor(_0x4a8717){super(_0x4a8717);const t=_0x4a8717['t'],_0x42b8d3=this['bindTemplate'],_0x43f98d=new _0x1b7c19();_0x43f98d['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':[_0x43f98d,{'text':_0x42b8d3['to']('imageUploadProgress',_0x3714ce=>t('Loading\x20image...')+'\x20('+(_0x3714ce||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 _0x58fffa,View as _0x201c66}from'ckeditor5/src/ui.js';export default class ta extends _0x201c66{constructor(_0x47485e){super(_0x47485e);const t=_0x47485e['t'],_0x460acb=this['bindTemplate'],_0x185a6c=new _0x58fffa();_0x185a6c['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':[_0x185a6c,{'text':_0x460acb['to']('imageUploadProgress',_0x41c72b=>t('Loading\x20image...')+'\x20('+(_0x41c72b||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 _0x435d2e=_0x3707;(function(_0x4cc4ae,_0xc0f33b){const _0x3b6963=_0x3707,_0x2958da=_0x4cc4ae();while(!![]){try{const _0x1341c4=-parseInt(_0x3b6963(0xa0))/0x1*(-parseInt(_0x3b6963(0xae))/0x2)+parseInt(_0x3b6963(0xb7))/0x3+-parseInt(_0x3b6963(0xd4))/0x4+parseInt(_0x3b6963(0xc6))/0x5+-parseInt(_0x3b6963(0xc1))/0x6+parseInt(_0x3b6963(0xb0))/0x7*(-parseInt(_0x3b6963(0xbd))/0x8)+parseInt(_0x3b6963(0xc2))/0x9*(-parseInt(_0x3b6963(0xb3))/0xa);if(_0x1341c4===_0xc0f33b)break;else _0x2958da['push'](_0x2958da['shift']());}catch(_0x56eae2){_0x2958da['push'](_0x2958da['shift']());}}}(_0x4fca,0x9c0eb));function _0x3707(_0x151c61,_0x4f6e24){const _0x4fca27=_0x4fca();return _0x3707=function(_0x370708,_0x44221d){_0x370708=_0x370708-0x9e;let _0x23ff8b=_0x4fca27[_0x370708];return _0x23ff8b;},_0x3707(_0x151c61,_0x4f6e24);}function _0x4fca(){const _0x25060e=['_focusableView','1459580etLmLD','uc-cloud-image-editor','filter','77oOSWSb','clear','ck-uploadcare-form','toLowerCase','change:status','render','error','nodeName','addedNodes','_errorView','_addUploadcareImageEditorListeners','_setView','getFocusableElement','set','10196YAHWPu','ready','1995oQbJEp','observe','cancel','1104650gKKfYE','target','once','apply','2509608dbAnCh','addMany','uploading','_editingView','querySelector','focus','19016JzTKTs','createCollection','element','div','3350448dCFBxX','9lmbEDu','status','detail','_loadingView','5606710YnDigO','add','disconnect','_addErrorViewListeners','setTemplate','fire','addEventListener','retry','_items','_waitForImageEditorComponent','length','cdnUrl','ck-reset_all-excluded'];_0x4fca=function(){return _0x25060e;};return _0x4fca();}import{View as _0x3c7d74}from'ckeditor5/src/ui.js';import _0x5a31e7 from'./uploadcareimageeditformloadingview.js';import _0x17feaa from'./uploadcareimageeditformerrorview.js';import _0x48a262 from'./uploadcareimageeditformeditingview.js';import _0x370392 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x370392{constructor(_0x39520d,_0x30a7d6,_0x21afe8){const _0x19e3a3=_0x3707;super(_0x39520d),this[_0x19e3a3(0xce)]=this[_0x19e3a3(0xbe)](),this[_0x19e3a3(0xc5)]=new _0x5a31e7(_0x39520d),this[_0x19e3a3(0xa9)]=new _0x17feaa(_0x39520d),this[_0x19e3a3(0xba)]=new _0x48a262(_0x39520d,_0x21afe8),this[_0x19e3a3(0xd3)]=new _0x3c7d74(_0x39520d),this[_0x19e3a3(0xd3)][_0x19e3a3(0xca)](this[_0x19e3a3(0xac)]()),this[_0x19e3a3(0xad)](_0x19e3a3(0xc3),_0x30a7d6),this[_0x19e3a3(0xca)]({'tag':_0x19e3a3(0xc0),'attributes':{'class':['ck',_0x19e3a3(0xd2),_0x19e3a3(0xa2)],'tabindex':'-1'},'children':this[_0x19e3a3(0xce)]}),this[_0x19e3a3(0xab)](),this[_0x19e3a3(0xb5)](_0x19e3a3(0xa5),()=>{const _0x2844c7=_0x19e3a3;this[_0x2844c7(0xcf)](this[_0x2844c7(0xbf)],_0x3482f2=>{const _0x51f4a9=_0x2844c7;this[_0x51f4a9(0xaa)](_0x3482f2);});}),this['on'](_0x19e3a3(0xa4),()=>{const _0x37c776=_0x19e3a3;this[_0x37c776(0xab)]();}),this[_0x19e3a3(0xc9)]();}[_0x435d2e(0xbc)](){const _0x35c97b=_0x435d2e;this[_0x35c97b(0xbf)][_0x35c97b(0xbc)]();}[_0x435d2e(0xab)](){const _0x2354c3=_0x435d2e;switch(this[_0x2354c3(0xce)][_0x2354c3(0xa1)](),this[_0x2354c3(0xc3)]){case _0x2354c3(0xb9):this[_0x2354c3(0xce)][_0x2354c3(0xc7)](this[_0x2354c3(0xc5)]);break;case _0x2354c3(0xa6):this[_0x2354c3(0xce)][_0x2354c3(0xc7)](this[_0x2354c3(0xa9)]);break;case _0x2354c3(0xaf):this[_0x2354c3(0xce)][_0x2354c3(0xb8)]([this[_0x2354c3(0xba)],this[_0x2354c3(0xd3)]]);}}[_0x435d2e(0xcf)](_0x5e168f,_0x136ee9){const _0x4b5ef9=_0x435d2e,_0x4f87ae=_0x4b5ef9(0x9e),_0x236c39=_0x5e168f[_0x4b5ef9(0xbb)](_0x4f87ae);if(_0x236c39)return _0x136ee9(_0x236c39);const _0x2c8991=new MutationObserver(_0x5d07dd=>{const _0x1cd45c=_0x4b5ef9,_0x410ecc=_0x5d07dd[_0x1cd45c(0x9f)](_0x1f9fde=>_0x1f9fde[_0x1cd45c(0xb4)]===_0x5e168f&&_0x1f9fde[_0x1cd45c(0xa8)][_0x1cd45c(0xd0)]>0x0&&_0x1f9fde[_0x1cd45c(0xa8)][0x0][_0x1cd45c(0xa7)][_0x1cd45c(0xa3)]()===_0x4f87ae);_0x410ecc[_0x1cd45c(0xd0)]&&(_0x2c8991[_0x1cd45c(0xc8)](),_0x136ee9(_0x410ecc[0x0][_0x1cd45c(0xa8)][0x0]));});_0x2c8991[_0x4b5ef9(0xb1)](_0x5e168f,{'childList':!0x0,'subtree':!0x0});}[_0x435d2e(0xaa)](_0xb06451){const _0x48ea27=_0x435d2e;_0xb06451[_0x48ea27(0xcc)](_0x48ea27(0xb6),_0x4dc931=>{const _0x158b24=_0x48ea27;this[_0x158b24(0xcb)](_0x158b24(0xb6),{'imageSrc':_0x4dc931[_0x158b24(0xc4)][_0x158b24(0xd1)]});}),_0xb06451[_0x48ea27(0xcc)](_0x48ea27(0xb2),()=>{const _0x9c6e2=_0x48ea27;this[_0x9c6e2(0xcb)](_0x9c6e2(0xb2));});}[_0x435d2e(0xc9)](){const _0x4dbb0b=_0x435d2e;this[_0x4dbb0b(0xa9)]['on'](_0x4dbb0b(0xcd),()=>{const _0x120b3e=_0x4dbb0b;this[_0x120b3e(0xcb)](_0x120b3e(0xcd));});}}
23
+ const _0x26fc1b=_0x5936;(function(_0x2f2b35,_0x4e9bd1){const _0xdeab0b=_0x5936,_0x73889e=_0x2f2b35();while(!![]){try{const _0x163cba=parseInt(_0xdeab0b(0xdb))/0x1+-parseInt(_0xdeab0b(0xd1))/0x2+parseInt(_0xdeab0b(0xe1))/0x3+parseInt(_0xdeab0b(0xe0))/0x4*(parseInt(_0xdeab0b(0xd3))/0x5)+-parseInt(_0xdeab0b(0xec))/0x6+parseInt(_0xdeab0b(0xf8))/0x7*(parseInt(_0xdeab0b(0xfb))/0x8)+-parseInt(_0xdeab0b(0xe3))/0x9*(parseInt(_0xdeab0b(0xf1))/0xa);if(_0x163cba===_0x4e9bd1)break;else _0x73889e['push'](_0x73889e['shift']());}catch(_0x2bb16a){_0x73889e['push'](_0x73889e['shift']());}}}(_0x2439,0xf2d1d));import{View as _0x56f482}from'ckeditor5/src/ui.js';import _0x27a5ea from'./uploadcareimageeditformloadingview.js';function _0x5936(_0x1d0d11,_0x3c8fbe){const _0x243997=_0x2439();return _0x5936=function(_0x59362f,_0x3b4c94){_0x59362f=_0x59362f-0xc9;let _0x265826=_0x243997[_0x59362f];return _0x265826;},_0x5936(_0x1d0d11,_0x3c8fbe);}function _0x2439(){const _0x1ba4b3=['_errorView','add','_editingView','status','4579196UyRrCI','4967199bHaBmr','target','637011NESMrm','length','disconnect','render','addedNodes','ck-reset_all-excluded','retry','nodeName','createCollection','5835654AXakNx','error','observe','toLowerCase','addEventListener','140DlkyRW','detail','_waitForImageEditorComponent','_items','cancel','uc-cloud-image-editor','_setView','7IiDFQx','ck-uploadcare-form','set','5180072THEGRB','fire','_loadingView','querySelector','apply','element','_focusableView','addMany','setTemplate','ready','_addErrorViewListeners','getFocusableElement','cdnUrl','2501080kSmcAe','once','5mjbmor','uploading','filter','_addUploadcareImageEditorListeners','div','clear','focus','change:status','760603jWIdcO'];_0x2439=function(){return _0x1ba4b3;};return _0x2439();}import _0x16d203 from'./uploadcareimageeditformerrorview.js';import _0x1b7dad from'./uploadcareimageeditformeditingview.js';import _0x156a4b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x156a4b{constructor(_0x29b7a3,_0x38053a,_0x115cf4){const _0x5733b2=_0x5936;super(_0x29b7a3),this[_0x5733b2(0xf4)]=this[_0x5733b2(0xeb)](),this[_0x5733b2(0xfd)]=new _0x27a5ea(_0x29b7a3),this[_0x5733b2(0xdc)]=new _0x16d203(_0x29b7a3),this[_0x5733b2(0xde)]=new _0x1b7dad(_0x29b7a3,_0x115cf4),this[_0x5733b2(0xca)]=new _0x56f482(_0x29b7a3),this[_0x5733b2(0xca)][_0x5733b2(0xcc)](this[_0x5733b2(0xcf)]()),this[_0x5733b2(0xfa)](_0x5733b2(0xdf),_0x38053a),this[_0x5733b2(0xcc)]({'tag':_0x5733b2(0xd7),'attributes':{'class':['ck',_0x5733b2(0xe8),_0x5733b2(0xf9)],'tabindex':'-1'},'children':this[_0x5733b2(0xf4)]}),this[_0x5733b2(0xf7)](),this[_0x5733b2(0xd2)](_0x5733b2(0xe6),()=>{const _0x2d0aa6=_0x5733b2;this[_0x2d0aa6(0xf3)](this[_0x2d0aa6(0xc9)],_0x5c9905=>{const _0x46756d=_0x2d0aa6;this[_0x46756d(0xd6)](_0x5c9905);});}),this['on'](_0x5733b2(0xda),()=>{const _0x398e5f=_0x5733b2;this[_0x398e5f(0xf7)]();}),this[_0x5733b2(0xce)]();}[_0x26fc1b(0xd9)](){const _0x21e945=_0x26fc1b;this[_0x21e945(0xc9)][_0x21e945(0xd9)]();}[_0x26fc1b(0xf7)](){const _0x31d4a5=_0x26fc1b;switch(this[_0x31d4a5(0xf4)][_0x31d4a5(0xd8)](),this[_0x31d4a5(0xdf)]){case _0x31d4a5(0xd4):this[_0x31d4a5(0xf4)][_0x31d4a5(0xdd)](this[_0x31d4a5(0xfd)]);break;case _0x31d4a5(0xed):this[_0x31d4a5(0xf4)][_0x31d4a5(0xdd)](this[_0x31d4a5(0xdc)]);break;case _0x31d4a5(0xcd):this[_0x31d4a5(0xf4)][_0x31d4a5(0xcb)]([this[_0x31d4a5(0xde)],this[_0x31d4a5(0xca)]]);}}[_0x26fc1b(0xf3)](_0x52bdca,_0x21dc27){const _0x4bf33c=_0x26fc1b,_0x501208=_0x4bf33c(0xf6),_0x35431d=_0x52bdca[_0x4bf33c(0xfe)](_0x501208);if(_0x35431d)return _0x21dc27(_0x35431d);const _0x4f8740=new MutationObserver(_0x53f535=>{const _0x33ae81=_0x4bf33c,_0x5463d1=_0x53f535[_0x33ae81(0xd5)](_0x2d556a=>_0x2d556a[_0x33ae81(0xe2)]===_0x52bdca&&_0x2d556a[_0x33ae81(0xe7)][_0x33ae81(0xe4)]>0x0&&_0x2d556a[_0x33ae81(0xe7)][0x0][_0x33ae81(0xea)][_0x33ae81(0xef)]()===_0x501208);_0x5463d1[_0x33ae81(0xe4)]&&(_0x4f8740[_0x33ae81(0xe5)](),_0x21dc27(_0x5463d1[0x0][_0x33ae81(0xe7)][0x0]));});_0x4f8740[_0x4bf33c(0xee)](_0x52bdca,{'childList':!0x0,'subtree':!0x0});}[_0x26fc1b(0xd6)](_0xcf92bd){const _0x404edd=_0x26fc1b;_0xcf92bd[_0x404edd(0xf0)](_0x404edd(0xff),_0x2e81ce=>{const _0x458746=_0x404edd;this[_0x458746(0xfc)](_0x458746(0xff),{'imageSrc':_0x2e81ce[_0x458746(0xf2)][_0x458746(0xd0)]});}),_0xcf92bd[_0x404edd(0xf0)](_0x404edd(0xf5),()=>{const _0x3c3563=_0x404edd;this[_0x3c3563(0xfc)](_0x3c3563(0xf5));});}[_0x26fc1b(0xce)](){const _0x1ac761=_0x26fc1b;this[_0x1ac761(0xdc)]['on'](_0x1ac761(0xe9),()=>{const _0x9627f0=_0x1ac761;this[_0x9627f0(0xfc)](_0x9627f0(0xe9));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a20(_0x2e1bfd,_0x532f6b){const _0x4ca3b8=_0x4ca3();return _0x4a20=function(_0x4a20a4,_0x4cc63d){_0x4a20a4=_0x4a20a4-0x1d3;let _0x5e774f=_0x4ca3b8[_0x4a20a4];return _0x5e774f;},_0x4a20(_0x2e1bfd,_0x532f6b);}const _0x2cc66e=_0x4a20;(function(_0x14c4c2,_0x3e72ca){const _0x2986bf=_0x4a20,_0x5c8956=_0x14c4c2();while(!![]){try{const _0xb2b3c1=parseInt(_0x2986bf(0x1df))/0x1*(parseInt(_0x2986bf(0x1d4))/0x2)+-parseInt(_0x2986bf(0x1f0))/0x3*(parseInt(_0x2986bf(0x1ef))/0x4)+-parseInt(_0x2986bf(0x1de))/0x5+parseInt(_0x2986bf(0x1e6))/0x6*(parseInt(_0x2986bf(0x1e8))/0x7)+parseInt(_0x2986bf(0x1f2))/0x8+-parseInt(_0x2986bf(0x1e3))/0x9+parseInt(_0x2986bf(0x1d9))/0xa;if(_0xb2b3c1===_0x3e72ca)break;else _0x5c8956['push'](_0x5c8956['shift']());}catch(_0x416f87){_0x5c8956['push'](_0x5c8956['shift']());}}}(_0x4ca3,0x9ceab));import{Command as _0x17acef}from'ckeditor5/src/core.js';import{Dialog as _0x47c77a}from'ckeditor5/src/ui.js';import _0x11c9cb from'./ui/uploadcareimageeditcontroller.js';function _0x4ca3(){const _0x1dd97d=['plugins','config','uploadcare.allowExternalImagesEditing','element','4342990RrcPvb','29qULtvN','refresh','document','isEnabled','10055061mgpBfs','set','requires','708JFuNyM','imageEditController','32893IMsPpe','imageInline','getSelectedElement','selection','model','_isEditable','execute','4348FJGObl','1173tgoxQP','editor','7085592xaWwIg','unbind','24968tbSTLP','bind','isActive','get','imageBlock','12513580PRzgeq'];_0x4ca3=function(){return _0x1dd97d;};return _0x4ca3();}import{createEditabilityChecker as _0x3113fe}from'../utils/editingutils.js';export default class J extends _0x17acef{static get[_0x2cc66e(0x1e5)](){return[_0x47c77a];}constructor(_0x1a3678){const _0x2b0861=_0x2cc66e;super(_0x1a3678),this[_0x2b0861(0x1e7)]=void 0x0,this[_0x2b0861(0x1ed)]=_0x3113fe(_0x1a3678[_0x2b0861(0x1db)][_0x2b0861(0x1d7)](_0x2b0861(0x1dc))||[]),this[_0x2b0861(0x1e4)]({'isActive':!0x1});}[_0x2cc66e(0x1e0)](){const _0x4a58b9=_0x2cc66e,_0x22a4ca=this[_0x4a58b9(0x1f1)][_0x4a58b9(0x1ec)][_0x4a58b9(0x1e1)][_0x4a58b9(0x1eb)][_0x4a58b9(0x1ea)]();this[_0x4a58b9(0x1e2)]=this[_0x4a58b9(0x1ed)](_0x22a4ca);}[_0x2cc66e(0x1ee)](){const _0x5a2106=_0x2cc66e;this[_0x5a2106(0x1e7)]&&(this[_0x5a2106(0x1d3)](_0x5a2106(0x1d6)),this[_0x5a2106(0x1e7)]=void 0x0);const _0x90e80d=this[_0x5a2106(0x1f1)][_0x5a2106(0x1ec)][_0x5a2106(0x1e1)][_0x5a2106(0x1eb)][_0x5a2106(0x1ea)]();_0x90e80d&&(_0x90e80d['is'](_0x5a2106(0x1dd),_0x5a2106(0x1d8))||_0x90e80d['is'](_0x5a2106(0x1dd),_0x5a2106(0x1e9)))&&(this[_0x5a2106(0x1e7)]=new _0x11c9cb(this[_0x5a2106(0x1f1)],this[_0x5a2106(0x1f1)][_0x5a2106(0x1da)][_0x5a2106(0x1d7)](_0x47c77a),_0x90e80d),this[_0x5a2106(0x1d5)](_0x5a2106(0x1d6))['to'](this[_0x5a2106(0x1e7)],_0x5a2106(0x1d6)));}}
23
+ const _0x510372=_0x4f8d;(function(_0x330478,_0x18510c){const _0x2bff92=_0x4f8d,_0x8431c9=_0x330478();while(!![]){try{const _0x18f1eb=parseInt(_0x2bff92(0x1c7))/0x1*(-parseInt(_0x2bff92(0x1d4))/0x2)+-parseInt(_0x2bff92(0x1c2))/0x3+parseInt(_0x2bff92(0x1d2))/0x4*(-parseInt(_0x2bff92(0x1c3))/0x5)+-parseInt(_0x2bff92(0x1c9))/0x6+-parseInt(_0x2bff92(0x1c0))/0x7+parseInt(_0x2bff92(0x1c1))/0x8+parseInt(_0x2bff92(0x1cd))/0x9*(parseInt(_0x2bff92(0x1d0))/0xa);if(_0x18f1eb===_0x18510c)break;else _0x8431c9['push'](_0x8431c9['shift']());}catch(_0x4d58eb){_0x8431c9['push'](_0x8431c9['shift']());}}}(_0x59ed,0x90a9a));function _0x59ed(){const _0x313a13=['execute','6824076uCQFnn','64480VCiJZZ','3324237hQvPDN','915495FZMDts','uploadcare.allowExternalImagesEditing','model','get','281zGzwVV','requires','3233370KPMglo','selection','element','imageEditController','1557nbQwmz','plugins','imageBlock','212530WGcciq','config','8YwiKPp','isActive','742XlLQpL','set','imageInline','document','isEnabled','bind','unbind','refresh','_isEditable','editor','getSelectedElement'];_0x59ed=function(){return _0x313a13;};return _0x59ed();}import{Command as _0x40dc16}from'ckeditor5/src/core.js';import{Dialog as _0x1e1a2b}from'ckeditor5/src/ui.js';import _0x555af6 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5723e9}from'../utils/editingutils.js';function _0x4f8d(_0x3be4b7,_0x5124ee){const _0x59eda9=_0x59ed();return _0x4f8d=function(_0x4f8d5d,_0x7619db){_0x4f8d5d=_0x4f8d5d-0x1bc;let _0x33b80d=_0x59eda9[_0x4f8d5d];return _0x33b80d;},_0x4f8d(_0x3be4b7,_0x5124ee);}export default class J extends _0x40dc16{static get[_0x510372(0x1c8)](){return[_0x1e1a2b];}constructor(_0x59a420){const _0x1dbced=_0x510372;super(_0x59a420),this[_0x1dbced(0x1cc)]=void 0x0,this[_0x1dbced(0x1bc)]=_0x5723e9(_0x59a420[_0x1dbced(0x1d1)][_0x1dbced(0x1c6)](_0x1dbced(0x1c4))||[]),this[_0x1dbced(0x1d5)]({'isActive':!0x1});}[_0x510372(0x1db)](){const _0xe6a0b5=_0x510372,_0xb196b1=this[_0xe6a0b5(0x1bd)][_0xe6a0b5(0x1c5)][_0xe6a0b5(0x1d7)][_0xe6a0b5(0x1ca)][_0xe6a0b5(0x1be)]();this[_0xe6a0b5(0x1d8)]=this[_0xe6a0b5(0x1bc)](_0xb196b1);}[_0x510372(0x1bf)](){const _0x2adc86=_0x510372;this[_0x2adc86(0x1cc)]&&(this[_0x2adc86(0x1da)](_0x2adc86(0x1d3)),this[_0x2adc86(0x1cc)]=void 0x0);const _0x2bc591=this[_0x2adc86(0x1bd)][_0x2adc86(0x1c5)][_0x2adc86(0x1d7)][_0x2adc86(0x1ca)][_0x2adc86(0x1be)]();_0x2bc591&&(_0x2bc591['is'](_0x2adc86(0x1cb),_0x2adc86(0x1cf))||_0x2bc591['is'](_0x2adc86(0x1cb),_0x2adc86(0x1d6)))&&(this[_0x2adc86(0x1cc)]=new _0x555af6(this[_0x2adc86(0x1bd)],this[_0x2adc86(0x1bd)][_0x2adc86(0x1ce)][_0x2adc86(0x1c6)](_0x1e1a2b),_0x2bc591),this[_0x2adc86(0x1d9)](_0x2adc86(0x1d3))['to'](this[_0x2adc86(0x1cc)],_0x2adc86(0x1d3)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32f22f=_0xc61b;(function(_0x3434e4,_0x5e2632){const _0x309042=_0xc61b,_0x157f73=_0x3434e4();while(!![]){try{const _0x1fbcb7=parseInt(_0x309042(0x1d2))/0x1+parseInt(_0x309042(0x1d3))/0x2*(parseInt(_0x309042(0x1df))/0x3)+parseInt(_0x309042(0x1dc))/0x4*(parseInt(_0x309042(0x1e2))/0x5)+-parseInt(_0x309042(0x1d1))/0x6*(-parseInt(_0x309042(0x1e0))/0x7)+parseInt(_0x309042(0x1db))/0x8*(parseInt(_0x309042(0x1e5))/0x9)+-parseInt(_0x309042(0x1d0))/0xa+parseInt(_0x309042(0x1d9))/0xb*(-parseInt(_0x309042(0x1dd))/0xc);if(_0x1fbcb7===_0x5e2632)break;else _0x157f73['push'](_0x157f73['shift']());}catch(_0x3db6e0){_0x157f73['push'](_0x157f73['shift']());}}}(_0xeaf2,0x8c01d));import{Plugin as _0x550024}from'ckeditor5/src/core.js';import{Notification as _0x200424}from'ckeditor5/src/ui.js';import _0x5ad061 from'./uploadcareimageeditcommand.js';import _0x4dfe00 from'./uploadcareimagereplacecommand.js';function _0xc61b(_0x5df027,_0x331680){const _0xeaf2a1=_0xeaf2();return _0xc61b=function(_0xc61be1,_0xbb3cc5){_0xc61be1=_0xc61be1-0x1ce;let _0xbe01e9=_0xeaf2a1[_0xc61be1];return _0xbe01e9;},_0xc61b(_0x5df027,_0x331680);}import _0x4bb17c from'../uploadcareediting.js';export default class m extends _0x550024{static get[_0x32f22f(0x1e1)](){const _0x10bc94=_0x32f22f;return _0x10bc94(0x1de);}static get[_0x32f22f(0x1e3)](){const _0x1d5aae=_0x32f22f;return[_0x4bb17c,_0x200424,_0x1d5aae(0x1d4),_0x1d5aae(0x1d6)];}static get[_0x32f22f(0x1d7)](){return!0x0;}static get[_0x32f22f(0x1da)](){return!0x0;}[_0x32f22f(0x1cf)](){const _0x17c661=_0x32f22f,{editor:_0x242c60}=this;_0x242c60[_0x17c661(0x1d8)][_0x17c661(0x1e4)](_0x17c661(0x1ce),new _0x5ad061(_0x242c60)),_0x242c60[_0x17c661(0x1d8)][_0x17c661(0x1e4)](_0x17c661(0x1d5),new _0x4dfe00(_0x242c60));}}function _0xeaf2(){const _0x2a4bb5=['uploadcareImageEdit','init','4246660ssiDOu','1566hOqnmY','478870XdoeIJ','7176FRXSHV','ImageUtils','uploadcareImageReplace','ImageEditing','isOfficialPlugin','commands','60566faqRaO','isPremiumPlugin','891976IZiCPU','2128276sDNDLD','6060sqCvcy','UploadcareImageEditEditing','933PacpFs','29351mkupqn','pluginName','5PLEmzy','requires','add','45IAipoJ'];_0xeaf2=function(){return _0x2a4bb5;};return _0xeaf2();}
23
+ const _0x171572=_0x4ef9;(function(_0xa70d5a,_0x480c3e){const _0x31d204=_0x4ef9,_0x108f07=_0xa70d5a();while(!![]){try{const _0x41d210=-parseInt(_0x31d204(0x18e))/0x1*(parseInt(_0x31d204(0x18b))/0x2)+-parseInt(_0x31d204(0x18f))/0x3*(parseInt(_0x31d204(0x186))/0x4)+-parseInt(_0x31d204(0x184))/0x5*(-parseInt(_0x31d204(0x181))/0x6)+-parseInt(_0x31d204(0x185))/0x7+parseInt(_0x31d204(0x17e))/0x8*(-parseInt(_0x31d204(0x183))/0x9)+parseInt(_0x31d204(0x191))/0xa*(-parseInt(_0x31d204(0x193))/0xb)+parseInt(_0x31d204(0x182))/0xc;if(_0x41d210===_0x480c3e)break;else _0x108f07['push'](_0x108f07['shift']());}catch(_0x283724){_0x108f07['push'](_0x108f07['shift']());}}}(_0x2fe5,0x5cebf));import{Plugin as _0x5ac77e}from'ckeditor5/src/core.js';import{Notification as _0x348b1b}from'ckeditor5/src/ui.js';import _0x448c82 from'./uploadcareimageeditcommand.js';function _0x2fe5(){const _0x3cde35=['9CaAVRT','isPremiumPlugin','10JGyRsz','pluginName','4169770DXctMI','uploadcareImageEdit','ImageUtils','8nxpJIM','add','UploadcareImageEditEditing','402468BWunnv','26543316lPfNcm','2270817ZDzrXn','35SJFPxG','5036444GxULma','470380mcQUWC','ImageEditing','commands','init','isOfficialPlugin','1194444YYtGwp','requires','uploadcareImageReplace','1ydXWSu'];_0x2fe5=function(){return _0x3cde35;};return _0x2fe5();}import _0x504387 from'./uploadcareimagereplacecommand.js';import _0x2d8345 from'../uploadcareediting.js';function _0x4ef9(_0x1e8e13,_0x438c6b){const _0x2fe5b1=_0x2fe5();return _0x4ef9=function(_0x4ef9ce,_0x4b5358){_0x4ef9ce=_0x4ef9ce-0x17c;let _0x5c746f=_0x2fe5b1[_0x4ef9ce];return _0x5c746f;},_0x4ef9(_0x1e8e13,_0x438c6b);}export default class m extends _0x5ac77e{static get[_0x171572(0x192)](){const _0x1c795b=_0x171572;return _0x1c795b(0x180);}static get[_0x171572(0x18c)](){const _0x58736e=_0x171572;return[_0x2d8345,_0x348b1b,_0x58736e(0x17d),_0x58736e(0x187)];}static get[_0x171572(0x18a)](){return!0x0;}static get[_0x171572(0x190)](){return!0x0;}[_0x171572(0x189)](){const _0x5382f3=_0x171572,{editor:_0x326ec1}=this;_0x326ec1[_0x5382f3(0x188)][_0x5382f3(0x17f)](_0x5382f3(0x17c),new _0x448c82(_0x326ec1)),_0x326ec1[_0x5382f3(0x188)][_0x5382f3(0x17f)](_0x5382f3(0x18d),new _0x504387(_0x326ec1));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4eff1d}from'ckeditor5/src/core.js';import{ButtonView as _0x591cf9}from'ckeditor5/src/ui.js';import{createElement as _0x4c4bd9}from'ckeditor5/src/utils.js';import _0x3030fb from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x4eff1d{constructor(){super(...arguments),this['_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 _0x27c81f=this['editor'];_0x27c81f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x225ee9=>{const _0x13ff77=_0x27c81f['commands']['get']('uploadcareImageEdit'),_0x26379a=new _0x591cf9(_0x225ee9),t=_0x225ee9['t'];return _0x26379a['set']({'icon':_0x3030fb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26379a['bind']('isEnabled')['to'](_0x13ff77),_0x26379a['bind']('isOn')['to'](_0x13ff77,'isActive'),this['listenTo'](_0x26379a,'execute',()=>{_0x27c81f['execute']('uploadcareImageEdit'),_0x27c81f['editing']['view']['focus']();}),_0x26379a;}),this['_initConfig']();}['_initConfig'](){const _0xa50033=_0x4c4bd9(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa50033),this['listenTo'](this['editor'],'destroy',()=>{_0xa50033['remove']();});}}
23
+ import{Plugin as _0x493f98}from'ckeditor5/src/core.js';import{ButtonView as _0x33ec24}from'ckeditor5/src/ui.js';import{createElement as _0x16b5dd}from'ckeditor5/src/utils.js';import _0x137029 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x493f98{constructor(){super(...arguments),this['_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 _0x51569d=this['editor'];_0x51569d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x57ab6d=>{const _0x531771=_0x51569d['commands']['get']('uploadcareImageEdit'),_0x544c18=new _0x33ec24(_0x57ab6d),t=_0x57ab6d['t'];return _0x544c18['set']({'icon':_0x137029,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x544c18['bind']('isEnabled')['to'](_0x531771),_0x544c18['bind']('isOn')['to'](_0x531771,'isActive'),this['listenTo'](_0x544c18,'execute',()=>{_0x51569d['execute']('uploadcareImageEdit'),_0x51569d['editing']['view']['focus']();}),_0x544c18;}),this['_initConfig']();}['_initConfig'](){const _0x651c00=_0x16b5dd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x651c00),this['listenTo'](this['editor'],'destroy',()=>{_0x651c00['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x310376=_0x43bd;function _0x43bd(_0x26e7b1,_0xa0f003){const _0x1f977f=_0x1f97();return _0x43bd=function(_0x43bd37,_0x5702ac){_0x43bd37=_0x43bd37-0x156;let _0x438e8f=_0x1f977f[_0x43bd37];return _0x438e8f;},_0x43bd(_0x26e7b1,_0xa0f003);}(function(_0x5523a5,_0x3467a3){const _0x74c640=_0x43bd,_0x3296b0=_0x5523a5();while(!![]){try{const _0x543ca4=-parseInt(_0x74c640(0x157))/0x1*(parseInt(_0x74c640(0x16a))/0x2)+-parseInt(_0x74c640(0x162))/0x3+parseInt(_0x74c640(0x15b))/0x4+parseInt(_0x74c640(0x165))/0x5+parseInt(_0x74c640(0x163))/0x6+-parseInt(_0x74c640(0x164))/0x7*(parseInt(_0x74c640(0x15f))/0x8)+-parseInt(_0x74c640(0x16f))/0x9*(-parseInt(_0x74c640(0x16b))/0xa);if(_0x543ca4===_0x3467a3)break;else _0x3296b0['push'](_0x3296b0['shift']());}catch(_0x5748b6){_0x3296b0['push'](_0x3296b0['shift']());}}}(_0x1f97,0xecc68));import{Command as _0x319910}from'ckeditor5/src/core.js';function _0x1f97(){const _0x7ed4d5=['5392365VoDKxR','removeAttribute','imageInline','setAttributes','getSelectedElement','2HPOqzy','30HokmCt','model','element','sizes','7756839QRNWMS','change','1780691MhDACg','imageBlock','selection','srcset','615992wOuGbJ','document','isEnabled','editor','216hGmbzS','refresh','execute','2861070intREQ','6595272SZxrkF','314503ioRZOq'];_0x1f97=function(){return _0x7ed4d5;};return _0x1f97();}export default class O extends _0x319910{[_0x310376(0x160)](){const _0x5dd07b=_0x310376,_0x4b453c=this[_0x5dd07b(0x15e)][_0x5dd07b(0x16c)][_0x5dd07b(0x15c)][_0x5dd07b(0x159)][_0x5dd07b(0x169)]();this[_0x5dd07b(0x15d)]=Boolean(_0x4b453c&&(_0x4b453c['is'](_0x5dd07b(0x16d),_0x5dd07b(0x158))||_0x4b453c['is'](_0x5dd07b(0x16d),_0x5dd07b(0x167))));}[_0x310376(0x161)](_0x267d51){const _0x343eb2=_0x310376,_0x36e369=this[_0x343eb2(0x15e)][_0x343eb2(0x16c)][_0x343eb2(0x15c)][_0x343eb2(0x159)][_0x343eb2(0x169)]();this[_0x343eb2(0x15e)][_0x343eb2(0x16c)][_0x343eb2(0x156)](_0x150b43=>{const _0x27daee=_0x343eb2;_0x150b43[_0x27daee(0x168)](_0x267d51,_0x36e369),_0x150b43[_0x27daee(0x166)](_0x27daee(0x15a),_0x36e369),_0x150b43[_0x27daee(0x166)](_0x27daee(0x16e),_0x36e369);});}}
23
+ function _0x1f6a(){const _0x29891e=['selection','document','4088140xqKBdJ','127147knZYSQ','33910596gVcHIw','10KOTsgL','isEnabled','5178855jecCvb','319jJBkmF','29055qeidvo','2068296ZUCdFj','srcset','sizes','model','setAttributes','execute','getSelectedElement','element','removeAttribute','9fpIcIs','52PjNCZd','372980ghPifV','12JjkEaF','imageBlock','change','refresh','imageInline','editor'];_0x1f6a=function(){return _0x29891e;};return _0x1f6a();}const _0x2a8a2c=_0x2f8b;function _0x2f8b(_0xd55d4f,_0x55c6c5){const _0x1f6a35=_0x1f6a();return _0x2f8b=function(_0x2f8b40,_0x7c0e8e){_0x2f8b40=_0x2f8b40-0xf3;let _0x4e6e8d=_0x1f6a35[_0x2f8b40];return _0x4e6e8d;},_0x2f8b(_0xd55d4f,_0x55c6c5);}(function(_0x27b233,_0x4e15e2){const _0x201f5d=_0x2f8b,_0x48ecbf=_0x27b233();while(!![]){try{const _0x59f812=parseInt(_0x201f5d(0x10a))/0x1*(-parseInt(_0x201f5d(0x10c))/0x2)+parseInt(_0x201f5d(0xf4))/0x3*(-parseInt(_0x201f5d(0xff))/0x4)+parseInt(_0x201f5d(0x10e))/0x5+parseInt(_0x201f5d(0x101))/0x6*(-parseInt(_0x201f5d(0x109))/0x7)+-parseInt(_0x201f5d(0xf5))/0x8*(parseInt(_0x201f5d(0xfe))/0x9)+-parseInt(_0x201f5d(0x100))/0xa*(parseInt(_0x201f5d(0xf3))/0xb)+parseInt(_0x201f5d(0x10b))/0xc;if(_0x59f812===_0x4e15e2)break;else _0x48ecbf['push'](_0x48ecbf['shift']());}catch(_0x3d4aaa){_0x48ecbf['push'](_0x48ecbf['shift']());}}}(_0x1f6a,0x907b3));import{Command as _0xc20ff1}from'ckeditor5/src/core.js';export default class O extends _0xc20ff1{[_0x2a8a2c(0x104)](){const _0x4e8038=_0x2a8a2c,_0x5d3d37=this[_0x4e8038(0x106)][_0x4e8038(0xf8)][_0x4e8038(0x108)][_0x4e8038(0x107)][_0x4e8038(0xfb)]();this[_0x4e8038(0x10d)]=Boolean(_0x5d3d37&&(_0x5d3d37['is'](_0x4e8038(0xfc),_0x4e8038(0x102))||_0x5d3d37['is'](_0x4e8038(0xfc),_0x4e8038(0x105))));}[_0x2a8a2c(0xfa)](_0x8756b8){const _0x29094d=_0x2a8a2c,_0x34401f=this[_0x29094d(0x106)][_0x29094d(0xf8)][_0x29094d(0x108)][_0x29094d(0x107)][_0x29094d(0xfb)]();this[_0x29094d(0x106)][_0x29094d(0xf8)][_0x29094d(0x103)](_0x1b58ce=>{const _0x42259d=_0x29094d;_0x1b58ce[_0x42259d(0xf9)](_0x8756b8,_0x34401f),_0x1b58ce[_0x42259d(0xfd)](_0x42259d(0xf6),_0x34401f),_0x1b58ce[_0x42259d(0xfd)](_0x42259d(0xf7),_0x34401f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44cf2b=_0x5e68;(function(_0x283a28,_0x37deee){var _0x522147=_0x5e68,_0x115597=_0x283a28();while(!![]){try{var _0x5942cb=parseInt(_0x522147(0x1c3))/0x1+parseInt(_0x522147(0x1bb))/0x2+-parseInt(_0x522147(0x1bd))/0x3+parseInt(_0x522147(0x1bf))/0x4+-parseInt(_0x522147(0x1b5))/0x5*(parseInt(_0x522147(0x1c2))/0x6)+-parseInt(_0x522147(0x1b6))/0x7*(-parseInt(_0x522147(0x1c0))/0x8)+parseInt(_0x522147(0x1b9))/0x9*(-parseInt(_0x522147(0x1be))/0xa);if(_0x5942cb===_0x37deee)break;else _0x115597['push'](_0x115597['shift']());}catch(_0x130400){_0x115597['push'](_0x115597['shift']());}}}(_0x4770,0xda2bd));import{Plugin as _0xe15afe}from'ckeditor5/src/core.js';import _0x49c994 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x115d6d from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5e68(_0x546d74,_0x53f410){var _0x477073=_0x4770();return _0x5e68=function(_0x5e6847,_0x272003){_0x5e6847=_0x5e6847-0x1b5;var _0x4cf81f=_0x477073[_0x5e6847];return _0x4cf81f;},_0x5e68(_0x546d74,_0x53f410);}export default class j extends _0xe15afe{static get[_0x44cf2b(0x1b8)](){var _0x15d441=_0x44cf2b;return _0x15d441(0x1bc);}static get[_0x44cf2b(0x1b7)](){return[_0x49c994,_0x115d6d];}static get[_0x44cf2b(0x1ba)](){return!0x0;}static get[_0x44cf2b(0x1c1)](){return!0x0;}}function _0x4770(){var _0x1890e2=['1239360nxsYDm','1290WeisyX','5205080oxiTKy','8WeqszB','isPremiumPlugin','6qQVccz','1678136mAvgdM','3278630wqhJGF','12423299KgkdRz','requires','pluginName','312525nbBzvB','isOfficialPlugin','3375674LUTtGO','UploadcareImageEdit'];_0x4770=function(){return _0x1890e2;};return _0x4770();}
23
+ var _0x40b16e=_0x13ed;(function(_0xbe0651,_0x4731e2){var _0x3e6764=_0x13ed,_0x16d58e=_0xbe0651();while(!![]){try{var _0x36daa9=-parseInt(_0x3e6764(0x1c1))/0x1*(-parseInt(_0x3e6764(0x1be))/0x2)+parseInt(_0x3e6764(0x1b6))/0x3+parseInt(_0x3e6764(0x1b4))/0x4*(-parseInt(_0x3e6764(0x1bd))/0x5)+-parseInt(_0x3e6764(0x1b2))/0x6+-parseInt(_0x3e6764(0x1b5))/0x7+-parseInt(_0x3e6764(0x1ba))/0x8*(-parseInt(_0x3e6764(0x1bc))/0x9)+parseInt(_0x3e6764(0x1b9))/0xa*(parseInt(_0x3e6764(0x1b8))/0xb);if(_0x36daa9===_0x4731e2)break;else _0x16d58e['push'](_0x16d58e['shift']());}catch(_0x562e03){_0x16d58e['push'](_0x16d58e['shift']());}}}(_0x2ab1,0x1ec18));function _0x2ab1(){var _0x218625=['11MIhiZV','1740610QcXKXV','102064iiuSFd','UploadcareImageEdit','36IdUapz','5OAbqSZ','1952TDNYGl','pluginName','requires','199CsOniM','936336EisSsB','isOfficialPlugin','979908HRiYZQ','102893vySUOO','367173zEiOXg','isPremiumPlugin'];_0x2ab1=function(){return _0x218625;};return _0x2ab1();}function _0x13ed(_0x7d6d4a,_0x1568f2){var _0x2ab1c7=_0x2ab1();return _0x13ed=function(_0x13ed6c,_0x5f1ddd){_0x13ed6c=_0x13ed6c-0x1b2;var _0x151cfd=_0x2ab1c7[_0x13ed6c];return _0x151cfd;},_0x13ed(_0x7d6d4a,_0x1568f2);}import{Plugin as _0x3083e4}from'ckeditor5/src/core.js';import _0x3371c8 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xf86835 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x3083e4{static get[_0x40b16e(0x1bf)](){var _0x3587f1=_0x40b16e;return _0x3587f1(0x1bb);}static get[_0x40b16e(0x1c0)](){return[_0x3371c8,_0xf86835];}static get[_0x40b16e(0x1b3)](){return!0x0;}static get[_0x40b16e(0x1b7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x143da3=_0x22f7;(function(_0x5e7cb,_0x1444ce){const _0x2361b2=_0x22f7,_0x556e6f=_0x5e7cb();while(!![]){try{const _0xf0b158=-parseInt(_0x2361b2(0xac))/0x1+parseInt(_0x2361b2(0xdc))/0x2*(-parseInt(_0x2361b2(0xa8))/0x3)+-parseInt(_0x2361b2(0xe4))/0x4+-parseInt(_0x2361b2(0xd8))/0x5*(parseInt(_0x2361b2(0xf2))/0x6)+-parseInt(_0x2361b2(0xad))/0x7*(parseInt(_0x2361b2(0xee))/0x8)+parseInt(_0x2361b2(0xd4))/0x9+-parseInt(_0x2361b2(0xcd))/0xa*(-parseInt(_0x2361b2(0xd1))/0xb);if(_0xf0b158===_0x1444ce)break;else _0x556e6f['push'](_0x556e6f['shift']());}catch(_0x427d56){_0x556e6f['push'](_0x556e6f['shift']());}}}(_0x2259,0xd9e95));function _0x2259(){const _0x2c1046=['OneDrive','_showLicenseError','Insert','3399344yrRvAc','isOfficialPlugin','expired','icon','_createDropdownButtons','evaluationLimit','init','isPremiumPlugin','featureNotAllowed','type','10696Caaybz','map','uploadcare','URL','78OgdBDA','has','_licenseKeyCheckInterval','Facebook','GDrive','uploadcareLicenseKeyTrialLimit','_createMenuBarButtons','uploadcareLicenseKeyEvaluationLimit','shortText','204351BpNenk','bind','label','Local','994138MDAlGn','7714yIpzHb','Uploadcare','Replace','licenseKey','_createButton','pluginName','_createToolbarButton','reduce','plugins','url','trialLimit','entries','editor','_normalizeConfigSourceList','GPhotos','registerIntegration','domainLimit','config','uploadcareLicenseKeyDomainLimit','UploadcareUI','uploadcareLicenseKeyValid','get','text','commands','upload','uploadcareLicenseKeyInvalid','imageUpload','usageLimit','isImageSelected','push','uploadcare.uploader.sourceList','uploadcareLicenseKeyNotAllowed','10nNneIF','destroy','Dropbox','locale','52829205qYcHzQ','invalid','assetManager','14365440kYPJyD','execute','uploadcareLicenseKeyExpired','tooltip','396505iECIat','_getIntegrationKey','ImageInsertUI','forEach','34JmpAKl','isEnabled','withText','uploadcareLicenseKeyUsageLimit','afterInit'];_0x2259=function(){return _0x2c1046;};return _0x2259();}import{Plugin as _0x1fa5d3,icons as _0x4eada6}from'ckeditor5/src/core.js';import{ButtonView as _0x273cfe,MenuBarMenuListItemButtonView as _0x3d1e92}from'ckeditor5/src/ui.js';import _0x3f24d0 from'../theme/icons/dropbox.svg';import _0x4a9823 from'../theme/icons/facebook.svg';import _0x35b077 from'../theme/icons/google-drive.svg';import _0x5c539 from'../theme/icons/google-photos.svg';import _0xebb31d from'../theme/icons/link.svg';import _0x39ccd4 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x57ceac}from'./uploadcareconfig.js';import{getTranslation as _0x1be5e0}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x22f7(_0xb83f97,_0x99d2fe){const _0x225978=_0x2259();return _0x22f7=function(_0x22f740,_0x5a68e7){_0x22f740=_0x22f740-0xa1;let _0x47c6cc=_0x225978[_0x22f740];return _0x47c6cc;},_0x22f7(_0xb83f97,_0x99d2fe);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x1fa5d3{static get[_0x143da3(0xb2)](){const _0x564f40=_0x143da3;return _0x564f40(0xc0);}static get[_0x143da3(0xe5)](){return!0x0;}static get[_0x143da3(0xeb)](){return!0x0;}[_0x143da3(0xea)](){const _0x1bad78=_0x143da3;this[_0x1bad78(0xb0)]=this[_0x1bad78(0xb9)][_0x1bad78(0xbe)][_0x1bad78(0xc2)](_0x1bad78(0xb0));const _0x273348=this[_0x1bad78(0xb9)];this[_0x1bad78(0xa1)]=setInterval(()=>{const _0x488506=_0x1bad78;let _0x1f653b;for(const _0x16a18d in _0x273348){const _0x28a312=_0x16a18d,_0x5dd825=_0x273348[_0x28a312];if(_0x488506(0xc1)==_0x5dd825||_0x488506(0xc6)==_0x5dd825||_0x488506(0xd6)==_0x5dd825||_0x488506(0xbf)==_0x5dd825||_0x488506(0xcc)==_0x5dd825||_0x488506(0xa6)==_0x5dd825||_0x488506(0xa4)==_0x5dd825||_0x488506(0xdf)==_0x5dd825){delete _0x273348[_0x28a312],_0x1f653b=_0x5dd825,clearInterval(this[_0x488506(0xa1)]),this[_0x488506(0xa1)]=void 0x0;break;}}_0x488506(0xc6)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xd2)),_0x488506(0xd6)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xe6)),_0x488506(0xbf)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xbd)),_0x488506(0xcc)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xec),_0x488506(0xae)),_0x488506(0xa6)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xe9)),_0x488506(0xa4)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xb7)),_0x488506(0xdf)==_0x1f653b&&_0x273348[_0x488506(0xe2)](_0x488506(0xc8));},0x3e8);}[_0x143da3(0xe0)](){const _0x4e71b5=_0x143da3,{editor:_0x55d7a4}=this,_0xa18740=_0x55d7a4[_0x4e71b5(0xc4)][_0x4e71b5(0xc2)](_0x4e71b5(0xf0));if(!_0xa18740)return;const _0x49ed17=this[_0x4e71b5(0xba)](_0x55d7a4[_0x4e71b5(0xbe)][_0x4e71b5(0xc2)](_0x4e71b5(0xcb)))[_0x4e71b5(0xb4)]((_0x1ed0d8,_0x48382a)=>{const _0x1e4740=_0x4e71b5,_0x4ed2a7=this[_0x1e4740(0xd9)](_0x48382a[_0x1e4740(0xed)]);return _0x1ed0d8[_0x4ed2a7]||(_0x1ed0d8[_0x4ed2a7]=[]),_0x1ed0d8[_0x4ed2a7][_0x1e4740(0xca)](_0x48382a),_0x1ed0d8;},{});_0x55d7a4[_0x4e71b5(0xb5)][_0x4e71b5(0xf3)](_0x4e71b5(0xda))&&_0x55d7a4[_0x4e71b5(0xc4)][_0x4e71b5(0xc2)](_0x4e71b5(0xf0))&&Object[_0x4e71b5(0xb8)](_0x49ed17)[_0x4e71b5(0xdb)](([_0x27a42a,_0x1214ff])=>{const _0x2221c1=_0x4e71b5;_0x55d7a4[_0x2221c1(0xb5)][_0x2221c1(0xc2)](_0x2221c1(0xda))[_0x2221c1(0xbc)]({'name':_0x27a42a,'observable':()=>_0xa18740,'buttonViewCreator':()=>this[_0x2221c1(0xb3)](_0x1214ff),'formViewCreator':()=>this[_0x2221c1(0xe8)](_0x1214ff),'menuBarButtonViewCreator':()=>this[_0x2221c1(0xa5)](_0x1214ff),'override':_0x2221c1(0xd3)!==_0x27a42a});});}[_0x143da3(0xce)](){const _0x4c22c1=_0x143da3;super[_0x4c22c1(0xce)](),this[_0x4c22c1(0xa1)]&&clearInterval(this[_0x4c22c1(0xa1)]);}[_0x143da3(0xba)](_0x42d222){const _0x52ae4b=_0x143da3,{locale:_0x5787ff}=this[_0x52ae4b(0xb9)];return _0x42d222[_0x52ae4b(0xef)](_0x39f58d=>{const _0x38f690=_0x52ae4b,_0x31e94a=_0x1be5e0(_0x5787ff,_0x39f58d,_0x38f690(0xe3));switch(_0x39f58d){case _0x57ceac[_0x38f690(0xab)]:return{'icon':_0x4eada6[_0x38f690(0xc7)],'type':_0x57ceac[_0x38f690(0xab)],..._0x31e94a};case _0x57ceac[_0x38f690(0xf1)]:return{'icon':_0xebb31d,'type':_0x57ceac[_0x38f690(0xf1)],..._0x31e94a};case _0x57ceac[_0x38f690(0xcf)]:return{'icon':_0x3f24d0,'type':_0x57ceac[_0x38f690(0xcf)],..._0x31e94a};case _0x57ceac[_0x38f690(0xa2)]:return{'icon':_0x4a9823,'type':_0x57ceac[_0x38f690(0xa2)],..._0x31e94a};case _0x57ceac[_0x38f690(0xa3)]:return{'icon':_0x35b077,'type':_0x57ceac[_0x38f690(0xa3)],..._0x31e94a};case _0x57ceac[_0x38f690(0xbb)]:return{'icon':_0x5c539,'type':_0x57ceac[_0x38f690(0xbb)],..._0x31e94a};case _0x57ceac[_0x38f690(0xe1)]:return{'icon':_0x39ccd4,'type':_0x57ceac[_0x38f690(0xe1)],..._0x31e94a};}});}[_0x143da3(0xd9)](_0xf231ff){const _0x1cdbfa=_0x143da3;switch(_0xf231ff){case _0x57ceac[_0x1cdbfa(0xab)]:return _0x1cdbfa(0xc5);case _0x57ceac[_0x1cdbfa(0xf1)]:return _0x1cdbfa(0xb6);default:return _0x1cdbfa(0xd3);}}[_0x143da3(0xb1)](_0x78e44a,_0x402f1d){const _0x42e8bf=_0x143da3,_0x37a259=this[_0x42e8bf(0xb9)],_0x19934b=new _0x78e44a(_0x37a259[_0x42e8bf(0xd0)]),_0xcfa02c=_0x37a259[_0x42e8bf(0xc4)][_0x42e8bf(0xc2)](_0x42e8bf(0xf0));return _0x19934b[_0x42e8bf(0xa9)](_0x42e8bf(0xdd))['to'](_0xcfa02c),_0x19934b['on'](_0x42e8bf(0xd5),()=>{const _0x25e5c1=_0x42e8bf;_0xcfa02c[_0x25e5c1(0xd5)](_0x402f1d);}),_0x19934b;}[_0x143da3(0xb3)](_0x34ae35){const _0x4082c5=_0x143da3,{locale:_0xa58f05}=this[_0x4082c5(0xb9)],_0x2fdbc8=this[_0x4082c5(0xb9)][_0x4082c5(0xb5)][_0x4082c5(0xc2)](_0x4082c5(0xda)),_0x414b63=_0x34ae35[0x0],_0x4024d2=this[_0x4082c5(0xb1)](_0x273cfe,_0x414b63[_0x4082c5(0xed)]);return _0x4024d2[_0x4082c5(0xe7)]=_0x414b63[_0x4082c5(0xe7)],_0x4024d2[_0x4082c5(0xa9)](_0x4082c5(0xaa))['to'](_0x2fdbc8,_0x4082c5(0xc9),_0x5caa9d=>_0x1be5e0(_0xa58f05,_0x414b63[_0x4082c5(0xed)],_0x5caa9d?_0x4082c5(0xaf):_0x4082c5(0xe3))[_0x4082c5(0xc3)]),_0x4024d2[_0x4082c5(0xd7)]=!0x0,_0x4024d2;}[_0x143da3(0xe8)](_0x5535ad){const _0x7b4f4e=_0x143da3,{locale:_0x5ef2db}=this[_0x7b4f4e(0xb9)],_0xc3d814=this[_0x7b4f4e(0xb9)][_0x7b4f4e(0xb5)][_0x7b4f4e(0xc2)](_0x7b4f4e(0xda));return _0x5535ad[_0x7b4f4e(0xef)](_0x55a7f2=>{const _0x247fb5=_0x7b4f4e,_0x29ba5f=this[_0x247fb5(0xb1)](_0x273cfe,_0x55a7f2[_0x247fb5(0xed)]);return _0x29ba5f[_0x247fb5(0xde)]=!0x0,_0x29ba5f[_0x247fb5(0xe7)]=_0x55a7f2[_0x247fb5(0xe7)],_0x29ba5f[_0x247fb5(0xa9)](_0x247fb5(0xaa))['to'](_0xc3d814,_0x247fb5(0xc9),_0xbadbaa=>_0x1be5e0(_0x5ef2db,_0x55a7f2[_0x247fb5(0xed)],_0xbadbaa?_0x247fb5(0xaf):_0x247fb5(0xe3))[_0x247fb5(0xc3)]),_0x29ba5f;});}[_0x143da3(0xa5)](_0x57d7f6){const _0x1d15be=_0x143da3;return _0x57d7f6[_0x1d15be(0xef)](_0x3aaf94=>{const _0x14282a=_0x1d15be,_0x5bdc45=this[_0x14282a(0xb1)](_0x3d1e92,_0x3aaf94[_0x14282a(0xed)]);return _0x5bdc45[_0x14282a(0xe7)]=_0x3aaf94[_0x14282a(0xe7)],_0x5bdc45[_0x14282a(0xaa)]=_0x3aaf94[_0x14282a(0xa7)],_0x5bdc45;});}}
23
+ const _0x1e6546=_0x2653;(function(_0x2fd643,_0x2791ac){const _0x22aad1=_0x2653,_0x232457=_0x2fd643();while(!![]){try{const _0x2834f8=-parseInt(_0x22aad1(0x1da))/0x1*(-parseInt(_0x22aad1(0x209))/0x2)+-parseInt(_0x22aad1(0x1ef))/0x3+parseInt(_0x22aad1(0x20b))/0x4*(parseInt(_0x22aad1(0x203))/0x5)+-parseInt(_0x22aad1(0x1d7))/0x6+-parseInt(_0x22aad1(0x1df))/0x7*(-parseInt(_0x22aad1(0x1ed))/0x8)+parseInt(_0x22aad1(0x1db))/0x9+parseInt(_0x22aad1(0x1e2))/0xa*(-parseInt(_0x22aad1(0x201))/0xb);if(_0x2834f8===_0x2791ac)break;else _0x232457['push'](_0x232457['shift']());}catch(_0x71745f){_0x232457['push'](_0x232457['shift']());}}}(_0x1d1c,0x31519));import{Plugin as _0x55f256,icons as _0x27d97f}from'ckeditor5/src/core.js';import{ButtonView as _0x3d897a,MenuBarMenuListItemButtonView as _0x1e2477}from'ckeditor5/src/ui.js';import _0x5d798c from'../theme/icons/dropbox.svg';import _0x2f5be3 from'../theme/icons/facebook.svg';import _0x1e9c4b from'../theme/icons/google-drive.svg';import _0x337364 from'../theme/icons/google-photos.svg';function _0x2653(_0x152fb8,_0x3dcf14){const _0x1d1ce7=_0x1d1c();return _0x2653=function(_0x265375,_0x531a21){_0x265375=_0x265375-0x1c4;let _0x43aec1=_0x1d1ce7[_0x265375];return _0x43aec1;},_0x2653(_0x152fb8,_0x3dcf14);}import _0x29febe from'../theme/icons/link.svg';import _0x53f251 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x4b4c3f}from'./uploadcareconfig.js';import{getTranslation as _0x53359f}from'./utils/common-translations.js';function _0x1d1c(){const _0x3f1f06=['URL','uploadcareLicenseKeyInvalid','tooltip','usageLimit','uploadcareLicenseKeyEvaluationLimit','GDrive','map','_getIntegrationKey','Dropbox','editor','assetManager','domainLimit','1500102ByNXvk','trialLimit','text','10pevgow','853389xFaQRp','commands','UploadcareUI','isEnabled','7kLojJF','uploadcareLicenseKeyNotAllowed','destroy','20cUseop','_createMenuBarButtons','init','uploadcareLicenseKeyExpired','isOfficialPlugin','has','_createDropdownButtons','Insert','afterInit','reduce','_showLicenseError','2403320AeGARS','pluginName','865146NSkMkl','config','_createToolbarButton','push','imageUpload','uploadcareLicenseKeyValid','Replace','isImageSelected','upload','GPhotos','forEach','label','invalid','expired','execute','Local','Uploadcare','bind','290620LSiPGy','plugins','4090krIluM','ImageInsertUI','_createButton','entries','featureNotAllowed','withText','70768NNXLne','uploadcare.uploader.sourceList','216WqHfWl','shortText','url','locale','isPremiumPlugin','type','Facebook','licenseKey','icon','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','get','uploadcare','OneDrive','_licenseKeyCheckInterval','registerIntegration','_normalizeConfigSourceList','evaluationLimit'];_0x1d1c=function(){return _0x3f1f06;};return _0x1d1c();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x55f256{static get[_0x1e6546(0x1ee)](){const _0x14b8f3=_0x1e6546;return _0x14b8f3(0x1dd);}static get[_0x1e6546(0x1e6)](){return!0x0;}static get[_0x1e6546(0x20f)](){return!0x0;}[_0x1e6546(0x1e4)](){const _0xa4a593=_0x1e6546;this[_0xa4a593(0x212)]=this[_0xa4a593(0x1d4)][_0xa4a593(0x1f0)][_0xa4a593(0x1c4)](_0xa4a593(0x212));const _0x3fccbc=this[_0xa4a593(0x1d4)];this[_0xa4a593(0x1c7)]=setInterval(()=>{const _0x50bc1f=_0xa4a593;let _0x4dcdeb;for(const _0x180f7d in _0x3fccbc){const _0x1d15a4=_0x180f7d,_0x482538=_0x3fccbc[_0x1d15a4];if(_0x50bc1f(0x1f4)==_0x482538||_0x50bc1f(0x1cc)==_0x482538||_0x50bc1f(0x1e5)==_0x482538||_0x50bc1f(0x216)==_0x482538||_0x50bc1f(0x1e0)==_0x482538||_0x50bc1f(0x1cf)==_0x482538||_0x50bc1f(0x215)==_0x482538||_0x50bc1f(0x214)==_0x482538){delete _0x3fccbc[_0x1d15a4],_0x4dcdeb=_0x482538,clearInterval(this[_0x50bc1f(0x1c7)]),this[_0x50bc1f(0x1c7)]=void 0x0;break;}}_0x50bc1f(0x1cc)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x1fb)),_0x50bc1f(0x1e5)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x1fc)),_0x50bc1f(0x216)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x1d6)),_0x50bc1f(0x1e0)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x207),_0x50bc1f(0x1ff)),_0x50bc1f(0x1cf)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x1ca)),_0x50bc1f(0x215)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x1d8)),_0x50bc1f(0x214)==_0x4dcdeb&&_0x3fccbc[_0x50bc1f(0x1ec)](_0x50bc1f(0x1ce));},0x3e8);}[_0x1e6546(0x1ea)](){const _0x5b3bb8=_0x1e6546,{editor:_0xb52915}=this,_0x28d73b=_0xb52915[_0x5b3bb8(0x1dc)][_0x5b3bb8(0x1c4)](_0x5b3bb8(0x1c5));if(!_0x28d73b)return;const _0x492aec=this[_0x5b3bb8(0x1c9)](_0xb52915[_0x5b3bb8(0x1f0)][_0x5b3bb8(0x1c4)](_0x5b3bb8(0x20a)))[_0x5b3bb8(0x1eb)]((_0x5f3663,_0x51c03d)=>{const _0x7224fc=_0x5b3bb8,_0x27a70e=this[_0x7224fc(0x1d2)](_0x51c03d[_0x7224fc(0x210)]);return _0x5f3663[_0x27a70e]||(_0x5f3663[_0x27a70e]=[]),_0x5f3663[_0x27a70e][_0x7224fc(0x1f2)](_0x51c03d),_0x5f3663;},{});_0xb52915[_0x5b3bb8(0x202)][_0x5b3bb8(0x1e7)](_0x5b3bb8(0x204))&&_0xb52915[_0x5b3bb8(0x1dc)][_0x5b3bb8(0x1c4)](_0x5b3bb8(0x1c5))&&Object[_0x5b3bb8(0x206)](_0x492aec)[_0x5b3bb8(0x1f9)](([_0x2537b1,_0x5c4d0b])=>{const _0x2a01c1=_0x5b3bb8;_0xb52915[_0x2a01c1(0x202)][_0x2a01c1(0x1c4)](_0x2a01c1(0x204))[_0x2a01c1(0x1c8)]({'name':_0x2537b1,'observable':()=>_0x28d73b,'buttonViewCreator':()=>this[_0x2a01c1(0x1f1)](_0x5c4d0b),'formViewCreator':()=>this[_0x2a01c1(0x1e8)](_0x5c4d0b),'menuBarButtonViewCreator':()=>this[_0x2a01c1(0x1e3)](_0x5c4d0b),'override':_0x2a01c1(0x1d5)!==_0x2537b1});});}[_0x1e6546(0x1e1)](){const _0x591957=_0x1e6546;super[_0x591957(0x1e1)](),this[_0x591957(0x1c7)]&&clearInterval(this[_0x591957(0x1c7)]);}[_0x1e6546(0x1c9)](_0x379490){const _0xa0fd22=_0x1e6546,{locale:_0x1472d2}=this[_0xa0fd22(0x1d4)];return _0x379490[_0xa0fd22(0x1d1)](_0x1c5283=>{const _0x356ee5=_0xa0fd22,_0x162fc7=_0x53359f(_0x1472d2,_0x1c5283,_0x356ee5(0x1e9));switch(_0x1c5283){case _0x4b4c3f[_0x356ee5(0x1fe)]:return{'icon':_0x27d97f[_0x356ee5(0x1f3)],'type':_0x4b4c3f[_0x356ee5(0x1fe)],..._0x162fc7};case _0x4b4c3f[_0x356ee5(0x1cb)]:return{'icon':_0x29febe,'type':_0x4b4c3f[_0x356ee5(0x1cb)],..._0x162fc7};case _0x4b4c3f[_0x356ee5(0x1d3)]:return{'icon':_0x5d798c,'type':_0x4b4c3f[_0x356ee5(0x1d3)],..._0x162fc7};case _0x4b4c3f[_0x356ee5(0x211)]:return{'icon':_0x2f5be3,'type':_0x4b4c3f[_0x356ee5(0x211)],..._0x162fc7};case _0x4b4c3f[_0x356ee5(0x1d0)]:return{'icon':_0x1e9c4b,'type':_0x4b4c3f[_0x356ee5(0x1d0)],..._0x162fc7};case _0x4b4c3f[_0x356ee5(0x1f8)]:return{'icon':_0x337364,'type':_0x4b4c3f[_0x356ee5(0x1f8)],..._0x162fc7};case _0x4b4c3f[_0x356ee5(0x1c6)]:return{'icon':_0x53f251,'type':_0x4b4c3f[_0x356ee5(0x1c6)],..._0x162fc7};}});}[_0x1e6546(0x1d2)](_0x376507){const _0x80100e=_0x1e6546;switch(_0x376507){case _0x4b4c3f[_0x80100e(0x1fe)]:return _0x80100e(0x1f7);case _0x4b4c3f[_0x80100e(0x1cb)]:return _0x80100e(0x20d);default:return _0x80100e(0x1d5);}}[_0x1e6546(0x205)](_0x1de349,_0x248d7e){const _0x434897=_0x1e6546,_0x476f1f=this[_0x434897(0x1d4)],_0x5ee451=new _0x1de349(_0x476f1f[_0x434897(0x20e)]),_0x1ee704=_0x476f1f[_0x434897(0x1dc)][_0x434897(0x1c4)](_0x434897(0x1c5));return _0x5ee451[_0x434897(0x200)](_0x434897(0x1de))['to'](_0x1ee704),_0x5ee451['on'](_0x434897(0x1fd),()=>{const _0x401898=_0x434897;_0x1ee704[_0x401898(0x1fd)](_0x248d7e);}),_0x5ee451;}[_0x1e6546(0x1f1)](_0x4b2b2f){const _0x59ad14=_0x1e6546,{locale:_0x21f3cf}=this[_0x59ad14(0x1d4)],_0x339b3e=this[_0x59ad14(0x1d4)][_0x59ad14(0x202)][_0x59ad14(0x1c4)](_0x59ad14(0x204)),_0x20f040=_0x4b2b2f[0x0],_0x53bdda=this[_0x59ad14(0x205)](_0x3d897a,_0x20f040[_0x59ad14(0x210)]);return _0x53bdda[_0x59ad14(0x213)]=_0x20f040[_0x59ad14(0x213)],_0x53bdda[_0x59ad14(0x200)](_0x59ad14(0x1fa))['to'](_0x339b3e,_0x59ad14(0x1f6),_0x28bb9c=>_0x53359f(_0x21f3cf,_0x20f040[_0x59ad14(0x210)],_0x28bb9c?_0x59ad14(0x1f5):_0x59ad14(0x1e9))[_0x59ad14(0x1d9)]),_0x53bdda[_0x59ad14(0x1cd)]=!0x0,_0x53bdda;}[_0x1e6546(0x1e8)](_0x26ee4d){const _0x3fca66=_0x1e6546,{locale:_0x3527d5}=this[_0x3fca66(0x1d4)],_0x1e32c0=this[_0x3fca66(0x1d4)][_0x3fca66(0x202)][_0x3fca66(0x1c4)](_0x3fca66(0x204));return _0x26ee4d[_0x3fca66(0x1d1)](_0x335367=>{const _0x4e4daa=_0x3fca66,_0x4bb2df=this[_0x4e4daa(0x205)](_0x3d897a,_0x335367[_0x4e4daa(0x210)]);return _0x4bb2df[_0x4e4daa(0x208)]=!0x0,_0x4bb2df[_0x4e4daa(0x213)]=_0x335367[_0x4e4daa(0x213)],_0x4bb2df[_0x4e4daa(0x200)](_0x4e4daa(0x1fa))['to'](_0x1e32c0,_0x4e4daa(0x1f6),_0x2f7845=>_0x53359f(_0x3527d5,_0x335367[_0x4e4daa(0x210)],_0x2f7845?_0x4e4daa(0x1f5):_0x4e4daa(0x1e9))[_0x4e4daa(0x1d9)]),_0x4bb2df;});}[_0x1e6546(0x1e3)](_0x3c8862){const _0xb021e3=_0x1e6546;return _0x3c8862[_0xb021e3(0x1d1)](_0x210568=>{const _0x47b7a8=_0xb021e3,_0x17c08e=this[_0x47b7a8(0x205)](_0x1e2477,_0x210568[_0x47b7a8(0x210)]);return _0x17c08e[_0x47b7a8(0x213)]=_0x210568[_0x47b7a8(0x213)],_0x17c08e[_0x47b7a8(0x1fa)]=_0x210568[_0x47b7a8(0x20c)],_0x17c08e;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x565d35}from'ckeditor5/src/core.js';import{FileRepository as _0x3f9268}from'ckeditor5/src/upload.js';import _0x2046c8 from'./uploadcareediting.js';import _0x55d267 from'./utils/uploadutils.js';import{getImageUrls as _0x52b32b}from'./utils/editingutils.js';export default class f extends _0x565d35{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3f9268,_0x2046c8];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bf9d1=this['editor'];if(!!!_0x3bf9d1['config']['get']('uploadcare'))return;_0x3bf9d1['plugins']['get'](_0x3f9268)['createUploadAdapter']=_0x2bce7f=>new E(_0x2bce7f,_0x3bf9d1),_0x3bf9d1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x359a6f,{imageElement:_0x39d603,data:_0x444f6a})=>{_0x3bf9d1['model']['change'](_0x2e2223=>{_0x2e2223['setAttribute']('uploadcareImageId',_0x444f6a['uploadcareImageId'],_0x39d603);});});}}class E{constructor(_0x2f343c,_0x7598aa){this['loader']=_0x2f343c,this['editor']=_0x7598aa,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x12c692=this['editor']['config']['get']('uploadcare.pubkey'),_0x2efa55=await this['loader']['file'];return _0x55d267['upload']({'file':_0x2efa55,'publicKey':_0x12c692,'signal':this['controller']['signal'],'onProgress':_0x10d406=>{_0x10d406&&_0x10d406['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x10d406['value']);}})['then'](async _0x5a954c=>{const {imageFallbackUrl:_0x1ad2d0,imageSources:_0x27e73f}=_0x52b32b(_0x5a954c['cdnUrl'],_0x5a954c['imageInfo']['width']);return{'uploadcareImageId':_0x5a954c['uuid'],'default':_0x1ad2d0,'sources':_0x27e73f};})['catch'](()=>{const _0x35b6c4=t('Cannot\x20upload\x20file:')+('\x20'+_0x2efa55['name']+'.');return Promise['reject'](_0x35b6c4);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x84e204}from'ckeditor5/src/core.js';import{FileRepository as _0xb0377c}from'ckeditor5/src/upload.js';import _0x4ff90a from'./uploadcareediting.js';import _0x4e9a25 from'./utils/uploadutils.js';import{getImageUrls as _0x1563fa}from'./utils/editingutils.js';export default class f extends _0x84e204{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xb0377c,_0x4ff90a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x27b7f3=this['editor'];if(!!!_0x27b7f3['config']['get']('uploadcare'))return;_0x27b7f3['plugins']['get'](_0xb0377c)['createUploadAdapter']=_0x388474=>new E(_0x388474,_0x27b7f3),_0x27b7f3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3e7a94,{imageElement:_0x11fd59,data:_0x57ca49})=>{_0x27b7f3['model']['change'](_0x59969f=>{_0x59969f['setAttribute']('uploadcareImageId',_0x57ca49['uploadcareImageId'],_0x11fd59);});});}}class E{constructor(_0x144e7c,_0x3e245b){this['loader']=_0x144e7c,this['editor']=_0x3e245b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x471229=this['editor']['config']['get']('uploadcare.pubkey'),_0x359ea2=await this['loader']['file'];return _0x4e9a25['upload']({'file':_0x359ea2,'publicKey':_0x471229,'signal':this['controller']['signal'],'onProgress':_0x96a206=>{_0x96a206&&_0x96a206['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x96a206['value']);}})['then'](async _0x10eb28=>{const {imageFallbackUrl:_0x5b7289,imageSources:_0x184d73}=_0x1563fa(_0x10eb28['cdnUrl'],_0x10eb28['imageInfo']['width']);return{'uploadcareImageId':_0x10eb28['uuid'],'default':_0x5b7289,'sources':_0x184d73};})['catch'](()=>{const _0x43b909=t('Cannot\x20upload\x20file:')+('\x20'+_0x359ea2['name']+'.');return Promise['reject'](_0x43b909);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x353705}from'../uploadcareconfig.js';export function getTranslation(_0x1b0c5c,_0x54f21a,_0x6206d5){const t=_0x1b0c5c['t'],_0x1c12b0=_0x1b0c5c['t'];switch(_0x54f21a){case _0x353705['Local']:return{'text':_0x1c12b0('Insert'===_0x6206d5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x1c12b0('From\x20computer')};case _0x353705['URL']:return{'text':'Insert'===_0x6206d5?_0x1c12b0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x1c12b0('Via\x20URL')};case _0x353705['Dropbox']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x353705['Facebook']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x353705['GDrive']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x353705['GPhotos']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x353705['OneDrive']:return{'text':t('Insert'===_0x6206d5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x54f21a;}}
23
+ import{UploadcareSource as _0x436176}from'../uploadcareconfig.js';export function getTranslation(_0x40ae00,_0x23f69f,_0xdbfbf0){const t=_0x40ae00['t'],_0xb72b6d=_0x40ae00['t'];switch(_0x23f69f){case _0x436176['Local']:return{'text':_0xb72b6d('Insert'===_0xdbfbf0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xb72b6d('From\x20computer')};case _0x436176['URL']:return{'text':'Insert'===_0xdbfbf0?_0xb72b6d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xb72b6d('Via\x20URL')};case _0x436176['Dropbox']:return{'text':t('Insert'===_0xdbfbf0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x436176['Facebook']:return{'text':t('Insert'===_0xdbfbf0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x436176['GDrive']:return{'text':t('Insert'===_0xdbfbf0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x436176['GPhotos']:return{'text':t('Insert'===_0xdbfbf0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x436176['OneDrive']:return{'text':t('Insert'===_0xdbfbf0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x23f69f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b73(_0x21a706,_0x5d1b74){var _0x50ecc8=_0x50ec();return _0x5b73=function(_0x5b7396,_0x270860){_0x5b7396=_0x5b7396-0x1ae;var _0x2c3141=_0x50ecc8[_0x5b7396];return _0x2c3141;},_0x5b73(_0x21a706,_0x5d1b74);}var _0x3b2a03=_0x5b73;(function(_0x83cecf,_0x39d04e){var _0x53e7ef=_0x5b73,_0x42cf82=_0x83cecf();while(!![]){try{var _0xc86e9f=-parseInt(_0x53e7ef(0x1c0))/0x1*(-parseInt(_0x53e7ef(0x1bf))/0x2)+-parseInt(_0x53e7ef(0x1b6))/0x3+-parseInt(_0x53e7ef(0x1b7))/0x4+-parseInt(_0x53e7ef(0x1b3))/0x5*(-parseInt(_0x53e7ef(0x1bd))/0x6)+parseInt(_0x53e7ef(0x1af))/0x7+parseInt(_0x53e7ef(0x1b5))/0x8*(-parseInt(_0x53e7ef(0x1b1))/0x9)+parseInt(_0x53e7ef(0x1ae))/0xa*(parseInt(_0x53e7ef(0x1be))/0xb);if(_0xc86e9f===_0x39d04e)break;else _0x42cf82['push'](_0x42cf82['shift']());}catch(_0x138946){_0x42cf82['push'](_0x42cf82['shift']());}}}(_0x50ec,0xab5a1));import{FocusTracker as _0x3dab2d}from'ckeditor5/src/utils.js';import{View as _0x15ff5a,FocusCycler as _0xe29621}from'ckeditor5/src/ui.js';function _0x50ec(){var _0xd2df38=['getFocusableElement','5506896SPPRcj','4044753ZLDssv','5061248RYSjRG','fire','forwardCycle','focusCycler','div','focusTracker','5418OGLgIm','16379MVtdRU','1183478uhsnaK','2kXYBby','createCollection','10990bXxpXE','6399204NIVKfL','bindTemplate','18bMHVFK','true','5305baZOyr'];_0x50ec=function(){return _0xd2df38;};return _0x50ec();}import'../../theme/uploadcare-form.css';export default class q extends _0x15ff5a{constructor(_0x1714d9){var _0x45cbee=_0x5b73;super(_0x1714d9),this[_0x45cbee(0x1bc)]=new _0x3dab2d(),this[_0x45cbee(0x1ba)]=new _0xe29621({'focusables':this[_0x45cbee(0x1c1)](),'focusTracker':this[_0x45cbee(0x1bc)]});}[_0x3b2a03(0x1b4)](){var _0x2f3e48=_0x3b2a03;return{'tag':_0x2f3e48(0x1bb),'attributes':{'aria-hidden':_0x2f3e48(0x1b2),'tabindex':'0'},'on':{'focus':this[_0x2f3e48(0x1b0)]['to'](()=>{var _0xb087f8=_0x2f3e48;this[_0xb087f8(0x1ba)][_0xb087f8(0x1b8)](_0xb087f8(0x1b9));})}};}}
23
+ var _0x2c4404=_0x2643;function _0x421c(){var _0x4e8af2=['363870iePSke','1DoauQu','232462hywpMZ','createCollection','bindTemplate','2131278ZgbTCu','1042784pXrKUL','1048500kCzQob','focusCycler','div','forwardCycle','5knjeSE','getFocusableElement','3712037UNoKvz','45fWXhZd','focusTracker','true','1325256VKxgby','fire'];_0x421c=function(){return _0x4e8af2;};return _0x421c();}(function(_0x1fb190,_0x4c69d2){var _0x4cd03e=_0x2643,_0x2e3bb6=_0x1fb190();while(!![]){try{var _0x59dae9=-parseInt(_0x4cd03e(0x190))/0x1*(-parseInt(_0x4cd03e(0x17e))/0x2)+parseInt(_0x4cd03e(0x183))/0x3+parseInt(_0x4cd03e(0x18d))/0x4*(parseInt(_0x4cd03e(0x187))/0x5)+parseInt(_0x4cd03e(0x181))/0x6+-parseInt(_0x4cd03e(0x189))/0x7+-parseInt(_0x4cd03e(0x182))/0x8+-parseInt(_0x4cd03e(0x18a))/0x9*(parseInt(_0x4cd03e(0x18f))/0xa);if(_0x59dae9===_0x4c69d2)break;else _0x2e3bb6['push'](_0x2e3bb6['shift']());}catch(_0x154c0b){_0x2e3bb6['push'](_0x2e3bb6['shift']());}}}(_0x421c,0x4b9b4));function _0x2643(_0x2177e9,_0x9de158){var _0x421cf1=_0x421c();return _0x2643=function(_0x26439e,_0x2d5a00){_0x26439e=_0x26439e-0x17e;var _0x358790=_0x421cf1[_0x26439e];return _0x358790;},_0x2643(_0x2177e9,_0x9de158);}import{FocusTracker as _0x4f9844}from'ckeditor5/src/utils.js';import{View as _0x47ee69,FocusCycler as _0xfc169f}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x47ee69{constructor(_0x12071e){var _0x50c4ad=_0x2643;super(_0x12071e),this[_0x50c4ad(0x18b)]=new _0x4f9844(),this[_0x50c4ad(0x184)]=new _0xfc169f({'focusables':this[_0x50c4ad(0x17f)](),'focusTracker':this[_0x50c4ad(0x18b)]});}[_0x2c4404(0x188)](){var _0x107e14=_0x2c4404;return{'tag':_0x107e14(0x185),'attributes':{'aria-hidden':_0x107e14(0x18c),'tabindex':'0'},'on':{'focus':this[_0x107e14(0x180)]['to'](()=>{var _0x1d06c2=_0x107e14;this[_0x1d06c2(0x184)][_0x1d06c2(0x18e)](_0x1d06c2(0x186));})}};}}