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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd6f4de=_0x3921;(function(_0x2072a0,_0x2df468){const _0x4c25f1=_0x3921,_0x37f53f=_0x2072a0();while(!![]){try{const _0x54cb40=parseInt(_0x4c25f1(0x15a))/0x1*(parseInt(_0x4c25f1(0x193))/0x2)+-parseInt(_0x4c25f1(0x15e))/0x3*(parseInt(_0x4c25f1(0x15d))/0x4)+parseInt(_0x4c25f1(0x16f))/0x5*(parseInt(_0x4c25f1(0x159))/0x6)+parseInt(_0x4c25f1(0x18d))/0x7*(-parseInt(_0x4c25f1(0x188))/0x8)+parseInt(_0x4c25f1(0x164))/0x9+-parseInt(_0x4c25f1(0x19a))/0xa+parseInt(_0x4c25f1(0x1a7))/0xb*(parseInt(_0x4c25f1(0x1a2))/0xc);if(_0x54cb40===_0x2df468)break;else _0x37f53f['push'](_0x37f53f['shift']());}catch(_0x3dc3f4){_0x37f53f['push'](_0x37f53f['shift']());}}}(_0x4dc0,0x4fa83));function _0x3921(_0x1b9436,_0x22ef8a){const _0x4dc037=_0x4dc0();return _0x3921=function(_0x392191,_0x2efd4b){_0x392191=_0x392191-0x155;let _0x5329bd=_0x4dc037[_0x392191];return _0x5329bd;},_0x3921(_0x1b9436,_0x22ef8a);}function _0x4dc0(){const _0xa2cb47=['schema','replaceImageSource','insertImage','_initConversion','pluginName','attributeToAttribute','imageBlock','_initSchema','once','execute','1787528YlPbDl','elementToAttribute','true','querySelector','uploadcare.uploader','7WkvzQb','uploadcare.pubkey','listenTo','_initCtx','_initConfig','closeMax','4rrpnhz','commands','init','ctxElement','editor','_configElement','isRegistered','3832590NovWNU','_initImageProcessingIndicator','uploadcareImageId','uploader-','extend','join','uploadcareImageReplace','body','150648VEHmKA','upcast','destroy','add','map','253JCVmLA','render','#uc-icon-arrow-down','data-uc-image-id','href','cleanupImage','locale','isOfficialPlugin','editing','6unMawq','295523AiKXGy','view','input[uploadcare-file-input]','292eoJLfR','22602ciLVhf','uc-config','fromCharCode','contentLanguage','afterInit','remove','4320774ExEoGH','appendChild','uploadcare','model','document','iconHrefResolver','downcast','config','PictureEditing','UploadcareEditing','getAttribute','615415BcKnSX','requires','uc-upload-ctx-provider','get','for','getSelectedElement','isPremiumPlugin','ucContextId','configElement','removeAttribute','imageInline','_ctxElement','conversion','selection','\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'];_0x4dc0=function(){return _0xa2cb47;};return _0x4dc0();}import{Plugin as _0x3353e2}from'ckeditor5/src/core.js';import{Dialog as _0x2070e3}from'ckeditor5/src/ui.js';import{createElement as _0x36c9b5,global as _0x2ad06c,uid as _0x54da6b}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xce96dd}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3f760a}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x401d4d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3353e2{[_0xd6f4de(0x198)]=null;[_0xd6f4de(0x17a)]=null;static get[_0xd6f4de(0x182)](){const _0x2adc2d=_0xd6f4de;return _0x2adc2d(0x16d);}static get[_0xd6f4de(0x170)](){const _0x8806f1=_0xd6f4de;return[_0x8806f1(0x16c),_0x3f760a,_0x2070e3];}static get[_0xd6f4de(0x157)](){return!0x0;}static get[_0xd6f4de(0x175)](){return!0x0;}[_0xd6f4de(0x176)];get[_0xd6f4de(0x177)](){const _0x2c1f23=_0xd6f4de;return this[_0x2c1f23(0x198)];}get[_0xd6f4de(0x196)](){const _0x4f484b=_0xd6f4de;return this[_0x4f484b(0x17a)];}constructor(_0x3a455e){const _0x40d112=_0xd6f4de;super(_0x3a455e),this[_0x40d112(0x176)]=_0x54da6b();}[_0xd6f4de(0x195)](){const _0xee51d4=_0xd6f4de,_0x5ccef5=this[_0xee51d4(0x197)];_0x5ccef5[_0xee51d4(0x194)][_0xee51d4(0x1a5)](_0xee51d4(0x166),new _0xce96dd(_0x5ccef5));}[_0xd6f4de(0x162)](){const _0x11b1e5=_0xd6f4de;this[_0x11b1e5(0x185)](),this[_0x11b1e5(0x181)](),this[_0x11b1e5(0x191)](),this[_0x11b1e5(0x190)](),this[_0x11b1e5(0x19b)](),this[_0x11b1e5(0x18f)](this[_0x11b1e5(0x197)],_0x11b1e5(0x1a4),()=>{const _0x3d0fff=_0x11b1e5;this[_0x3d0fff(0x198)]&&(this[_0x3d0fff(0x198)][_0x3d0fff(0x163)](),this[_0x3d0fff(0x198)]=null),this[_0x3d0fff(0x17a)]&&(this[_0x3d0fff(0x17a)][_0x3d0fff(0x163)](),this[_0x3d0fff(0x17a)]=null);const _0x775a36=_0x2ad06c[_0x3d0fff(0x168)][_0x3d0fff(0x18b)](_0x3d0fff(0x15c));_0x775a36&&_0x775a36[_0x3d0fff(0x163)]();}),async function(_0x1cb4ba){const _0x2bf683=_0x165fbd([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x12e64f=0x535f8c3a,_0x4c2fb0=0x5358f15a^_0x12e64f,_0x2c9652=window[_0x165fbd([0x44,0x61,0x74,0x65])][_0x165fbd([0x6e,0x6f,0x77])](),_0x10ec95=_0x1cb4ba[_0x165fbd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c122a=new window[(_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25f4c9=>{_0x10ec95[_0x165fbd([0x6f,0x6e,0x63,0x65])](_0x165fbd([0x72,0x65,0x61,0x64,0x79]),_0x25f4c9);}),_0x1a5c6d={[_0x165fbd([0x6b,0x74,0x79])]:_0x165fbd([0x45,0x43]),[_0x165fbd([0x75,0x73,0x65])]:_0x165fbd([0x73,0x69,0x67]),[_0x165fbd([0x63,0x72,0x76])]:_0x165fbd([0x50,0x2d,0x32,0x35,0x36]),[_0x165fbd([0x78])]:_0x165fbd([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]),[_0x165fbd([0x79])]:_0x165fbd([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]),[_0x165fbd([0x61,0x6c,0x67])]:_0x165fbd([0x45,0x53,0x32,0x35,0x36])},_0x29a3f2=_0x10ec95[_0x165fbd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x165fbd([0x67,0x65,0x74])](_0x165fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d9ae6(){let _0x1a4cb1,_0x1b64c8=null,_0x5ee910=null;try{if(_0x29a3f2==_0x165fbd([0x47,0x50,0x4c]))return _0x165fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a4cb1=_0x2b5b53(),!_0x1a4cb1)return _0x165fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a4cb1[_0x165fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ee910=_0x2becde(_0x1a4cb1[_0x165fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a4cb1[_0x165fbd([0x6a,0x74,0x69])])),await _0x108df4()?_0x3b033b()?_0x278095()?_0x165fbd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57347f()?(_0x1a4cb1[_0x165fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x165fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b64c8=_0xdf1e5d(_0x165fbd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a4cb1[_0x165fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x165fbd([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b64c8=_0xdf1e5d(_0x165fbd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5b4bd9()):_0x165fbd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x165fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x165fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x165fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x278095(){const _0x5526c8=[_0x165fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x165fbd([0x74,0x72,0x69,0x61,0x6c])][_0x165fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a4cb1[_0x165fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c9652/0x3e8:0xe10*_0x4c2fb0;return _0x1a4cb1[_0x165fbd([0x65,0x78,0x70])]<_0x5526c8;}function _0x3b033b(){const _0x4626ca=_0x1a4cb1[_0x165fbd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4626ca&&(!!_0x4626ca[_0x165fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165fbd([0x2a]))||!!_0x4626ca[_0x165fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165fbd([0x55,0x50,0x4c,0x43])));}function _0x57347f(){const _0xf4bab1=_0x3921,_0xb8eb2a=_0x1a4cb1[_0x165fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb8eb2a||0x0==_0xb8eb2a[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4115d8}=new URL(window[_0x165fbd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xf4bab1(0x1ab)]);if(_0xb8eb2a[_0x165fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4115d8))return!0x0;const _0x16d56c=_0x4115d8[_0x165fbd([0x73,0x70,0x6c,0x69,0x74])](_0x165fbd([0x2e]));return _0xb8eb2a[_0x165fbd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ecb9a=>_0x1ecb9a[_0x165fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165fbd([0x2a])))[_0x165fbd([0x6d,0x61,0x70])](_0x18c097=>_0x18c097[_0x165fbd([0x73,0x70,0x6c,0x69,0x74])](_0x165fbd([0x2e])))[_0x165fbd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e1cd7=>_0x5e1cd7[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16d56c[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x165fbd([0x6d,0x61,0x70])](_0xf0008c=>Array(_0x16d56c[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf0008c[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x165fbd([0x66,0x69,0x6c,0x6c])](_0xf0008c[0x0]===_0x165fbd([0x2a])?_0x165fbd([0x2a]):'')[_0x165fbd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf0008c))[_0x165fbd([0x73,0x6f,0x6d,0x65])](_0x3e3271=>_0x16d56c[_0x165fbd([0x65,0x76,0x65,0x72,0x79])]((_0x269811,_0x5ac001)=>_0x3e3271[_0x5ac001]===_0x269811||_0x3e3271[_0x5ac001]===_0x165fbd([0x2a])));}function _0x5b4bd9(){return _0x1b64c8&&_0x5ee910?new window[(_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47f096,_0x3ca7c9)=>{_0x1b64c8[_0x165fbd([0x74,0x68,0x65,0x6e])](_0x47f096,_0x3ca7c9),_0x5ee910[_0x165fbd([0x74,0x68,0x65,0x6e])](_0x581416=>{_0x581416!=_0x165fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x47f096(_0x581416);},_0x3ca7c9);}):_0x1b64c8||_0x5ee910||_0x165fbd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2becde(_0x15ec9d,_0x370391){return new window[(_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9b18=>{if(_0x43d09b())return _0x2b9b18(_0x165fbd([0x56,0x61,0x6c,0x69,0x64]));_0xb08619(),_0x10ec95[_0x165fbd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x165fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xba7438=!0x1;const _0x54179c=_0x54da6b();function _0x50aa0a(_0x1c7c9a){return!!_0x1c7c9a&&(typeof _0x1c7c9a===_0x165fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c7c9a===_0x165fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c7c9a[_0x165fbd([0x74,0x68,0x65,0x6e])]===_0x165fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c7c9a[_0x165fbd([0x63,0x61,0x74,0x63,0x68])]===_0x165fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d142f(_0x289e4a){_0x50325f(_0x289e4a)[_0x165fbd([0x74,0x68,0x65,0x6e])](_0x11801d=>{if(!_0x11801d||_0x11801d[_0x165fbd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x165fbd([0x6f,0x6b]))return _0x165fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52b45c(_0x34b4a0(_0x54179c+_0x370391))!=_0x11801d[_0x165fbd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x165fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x165fbd([0x56,0x61,0x6c,0x69,0x64]);})[_0x165fbd([0x74,0x68,0x65,0x6e])](_0x13137b=>(_0x5dc852(),_0x13137b),()=>{const _0x5e8de6=_0x3ac818();return null==_0x5e8de6?(_0x5dc852(),_0x165fbd([0x56,0x61,0x6c,0x69,0x64])):_0x165fbd(_0x2c9652-_0x5e8de6>(0x7753083a^_0x12e64f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x165fbd([0x74,0x68,0x65,0x6e])](_0x2b9b18)[_0x165fbd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b9b18(_0x165fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3635bf=0x536962ba^_0x12e64f;function _0x5dc852(){const _0x5f045b=_0x165fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x52b45c(_0x34b4a0(_0x15ec9d)),_0x2de9f2=_0x5a34be(_0x52b45c(window[_0x165fbd([0x4d,0x61,0x74,0x68])][_0x165fbd([0x63,0x65,0x69,0x6c])](_0x2c9652/_0x3635bf)));window[_0x165fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x165fbd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f045b,_0x2de9f2);}function _0x3ac818(){const _0x1c8941=_0x165fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x52b45c(_0x34b4a0(_0x15ec9d)),_0x103785=window[_0x165fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x165fbd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c8941);return _0x103785?window[_0x165fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a34be(_0x103785),0x10)*_0x3635bf:null;}function _0x50325f(_0x36718a){return new window[(_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16ad18,_0xb8ddbb)=>{_0x36718a[_0x165fbd([0x74,0x68,0x65,0x6e])](_0x16ad18,_0xb8ddbb),window[_0x165fbd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xb8ddbb,0x535e58fa^_0x12e64f);});}}_0x10ec95[_0x165fbd([0x6f,0x6e])](_0x165fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4422e8,_0x82e4de)=>{if(_0x82e4de[0x0]!=_0x15ec9d)return _0x2b9b18(_0x165fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x82e4de[0x1]={..._0x82e4de[0x1],[_0x165fbd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x54179c};},{[_0x165fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x165fbd([0x68,0x69,0x67,0x68])}),_0x10ec95[_0x165fbd([0x6f,0x6e])](_0x165fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4767db=>{_0x50aa0a(_0x4767db[_0x165fbd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xba7438=!0x0,_0x2d142f(_0x4767db[_0x165fbd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x165fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x165fbd([0x6c,0x6f,0x77])}),_0x1c122a[_0x165fbd([0x74,0x68,0x65,0x6e])](()=>{_0xba7438||_0x2b9b18(_0x165fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43d09b(){return _0x10ec95[_0x165fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x165fbd([0x76,0x69,0x65,0x77])][_0x165fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x165fbd([0x61,0x75,0x74,0x6f]);}function _0xb08619(){_0x10ec95[_0x165fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x165fbd([0x76,0x69,0x65,0x77])][_0x165fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x165fbd([0x61,0x75,0x74,0x6f]);}}function _0xdf1e5d(_0x56679d){const _0x1ec6ef=[new window[(_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4334d8=>setTimeout(_0x4334d8,0x5356b2f6^_0x12e64f)),_0x1c122a[_0x165fbd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d2a40=>{let _0x1eb5e7=0x0;_0x10ec95[_0x165fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x165fbd([0x6f,0x6e])](_0x165fbd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x188195,_0xe3a3fe)=>{_0xe3a3fe[0x0][_0x165fbd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1eb5e7++,_0x1eb5e7==(0x535f89d2^_0x12e64f)&&(_0x3d2a40(),_0x188195[_0x165fbd([0x6f,0x66,0x66])]());});}))];return window[_0x165fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x165fbd([0x72,0x61,0x63,0x65])](_0x1ec6ef)[_0x165fbd([0x74,0x68,0x65,0x6e])](()=>_0x56679d);}async function _0x23a5b8(){await _0x1c122a,_0x10ec95[_0x165fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x165fbd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34f71f,_0x10ec95[_0x165fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x165fbd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34f71f,_0x10ec95[_0x165fbd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x165fbd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39de5f(_0x453d73){const _0x474256=_0x465803();_0x10ec95[_0x474256]=_0x165fbd([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x453d73,_0x453d73!=_0x165fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x23a5b8();}function _0x465803(){const _0x4fe65c=window[_0x165fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x165fbd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x165fbd([0x6e,0x6f,0x77])]())[_0x165fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x165fbd([0x2e]),'');let _0x1c2181=_0x165fbd([0x68]);for(let _0x53a029=0x0;_0x53a029<_0x4fe65c[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53a029+=0x2){let _0x480e83=window[_0x165fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fe65c[_0x165fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53a029,_0x53a029+0x2));_0x480e83>=_0x2bf683[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x480e83-=_0x2bf683[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c2181+=_0x2bf683[_0x480e83];}return _0x1c2181;}function _0x2b5b53(){const _0x3e79b1=_0x29a3f2[_0x165fbd([0x73,0x70,0x6c,0x69,0x74])](_0x165fbd([0x2e]));if(0x3!=_0x3e79b1[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2dccc3(_0x3e79b1[0x1]);function _0x2dccc3(_0x135ecb){const _0x2946c2=_0x39d09c(_0x135ecb);return _0x2946c2&&_0x3a6608()?_0x2946c2:null;function _0x3a6608(){const _0x43dfd8=_0x2946c2[_0x165fbd([0x6a,0x74,0x69])],_0x13f79e=window[_0x165fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43dfd8[_0x165fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43dfd8[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b5552={..._0x2946c2,[_0x165fbd([0x6a,0x74,0x69])]:_0x43dfd8[_0x165fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43dfd8[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b5552[_0x165fbd([0x76,0x63])],_0x34b4a0(_0x2b5552)==_0x13f79e;}}}async function _0x108df4(){let _0x153fea=!0x0;try{const _0x1381a6=_0x29a3f2[_0x165fbd([0x73,0x70,0x6c,0x69,0x74])](_0x165fbd([0x2e])),[_0x164271,_0x221be8,_0x22a85d]=_0x1381a6;return _0x7f3bfb(_0x164271),await _0x1e6984(_0x164271,_0x221be8,_0x22a85d),_0x153fea;}catch{return!0x1;}function _0x7f3bfb(_0x59d541){const _0x581a58=_0x39d09c(_0x59d541);_0x581a58&&_0x581a58[_0x165fbd([0x61,0x6c,0x67])]==_0x165fbd([0x45,0x53,0x32,0x35,0x36])||(_0x153fea=!0x1);}async function _0x1e6984(_0x563f0a,_0x46916f,_0x962573){const _0x586354=window[_0x165fbd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x165fbd([0x66,0x72,0x6f,0x6d])](_0x557551(_0x962573),_0x353037=>_0x353037[_0x165fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x27413d=new window[(_0x165fbd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x165fbd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x563f0a+_0x165fbd([0x2e])+_0x46916f),_0x46efea=window[_0x165fbd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x165fbd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46efea)return;const _0x43e2b6=await _0x46efea[_0x165fbd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x165fbd([0x6a,0x77,0x6b]),_0x1a5c6d,{[_0x165fbd([0x6e,0x61,0x6d,0x65])]:_0x165fbd([0x45,0x43,0x44,0x53,0x41]),[_0x165fbd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x165fbd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x165fbd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46efea[_0x165fbd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x165fbd([0x6e,0x61,0x6d,0x65])]:_0x165fbd([0x45,0x43,0x44,0x53,0x41]),[_0x165fbd([0x68,0x61,0x73,0x68])]:{[_0x165fbd([0x6e,0x61,0x6d,0x65])]:_0x165fbd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43e2b6,_0x586354,_0x27413d)||(_0x153fea=!0x1);}}function _0x39d09c(_0x3899fa){return _0x3899fa[_0x165fbd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x165fbd([0x65,0x79]))?JSON[_0x165fbd([0x70,0x61,0x72,0x73,0x65])](_0x557551(_0x3899fa)):null;}function _0x557551(_0x49878e){return window[_0x165fbd([0x61,0x74,0x6f,0x62])](_0x49878e[_0x165fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x165fbd([0x2b]))[_0x165fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x165fbd([0x2f])));}function _0x34b4a0(_0x224c59){let _0x58c85d=0x1505;function _0x5ba9d6(_0x590ca0){for(let _0x3ba261=0x0;_0x3ba261<_0x590ca0[_0x165fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ba261++){const _0x78b240=_0x590ca0[_0x165fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ba261);_0x58c85d=(_0x58c85d<<0x5)+_0x58c85d+_0x78b240,_0x58c85d&=_0x58c85d;}}function _0x18593f(_0x32078b){Array[_0x165fbd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32078b)?_0x32078b[_0x165fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18593f):_0x32078b&&typeof _0x32078b==_0x165fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x165fbd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32078b)[_0x165fbd([0x73,0x6f,0x72,0x74])]()[_0x165fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb36735,_0x4295c6])=>{_0x5ba9d6(_0xb36735),_0x18593f(_0x4295c6);}):_0x5ba9d6(window[_0x165fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32078b));}return _0x18593f(_0x224c59),_0x58c85d>>>0x0;}function _0x52b45c(_0x3ddad4){return _0x3ddad4[_0x165fbd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x165fbd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x165fbd([0x30]));}function _0x5a34be(_0x1e9a55){return _0x1e9a55[_0x165fbd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x165fbd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x165fbd([0x6a,0x6f,0x69,0x6e])]('');}function _0x34f71f(){}function _0x165fbd(_0x23ca66){const _0x18b89a=_0x3921;return _0x23ca66[_0x18b89a(0x1a6)](_0x58bbd6=>String[_0x18b89a(0x160)](_0x58bbd6))[_0x18b89a(0x19f)]('');}_0x39de5f(await _0x4d9ae6());}(this);}[_0xd6f4de(0x185)](){const _0x40fc3e=_0xd6f4de,_0x2f86b3=this[_0x40fc3e(0x197)][_0x40fc3e(0x167)][_0x40fc3e(0x17e)];_0x2f86b3[_0x40fc3e(0x199)](_0x40fc3e(0x184))&&_0x2f86b3[_0x40fc3e(0x19e)](_0x40fc3e(0x184),{'allowAttributes':[_0x40fc3e(0x19c)]}),_0x2f86b3[_0x40fc3e(0x199)](_0x40fc3e(0x179))&&_0x2f86b3[_0x40fc3e(0x19e)](_0x40fc3e(0x179),{'allowAttributes':[_0x40fc3e(0x19c)]});}[_0xd6f4de(0x181)](){const _0x869ddd=_0xd6f4de,_0x40ba4c=this[_0x869ddd(0x197)];_0x40ba4c[_0x869ddd(0x17b)][_0x869ddd(0x173)](_0x869ddd(0x16a))[_0x869ddd(0x183)]({'model':_0x869ddd(0x19c),'view':_0x869ddd(0x1aa)}),_0x40ba4c[_0x869ddd(0x17b)][_0x869ddd(0x173)](_0x869ddd(0x1a3))[_0x869ddd(0x189)]({'model':{'key':_0x869ddd(0x19c),'value':_0x2c0271=>_0x2c0271[_0x869ddd(0x16e)](_0x869ddd(0x1aa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x15450b=_0x40ba4c[_0x869ddd(0x194)][_0x869ddd(0x172)](_0x869ddd(0x17f));_0x15450b&&this[_0x869ddd(0x18f)](_0x15450b,_0x869ddd(0x155),(_0x1ba1df,[_0x13e741,_0x4effd2])=>{const _0x149738=_0x869ddd;_0x13e741[_0x149738(0x178)](_0x149738(0x19c),_0x4effd2);});}[_0xd6f4de(0x191)](){const _0x30f2e7=_0xd6f4de,_0x1ba497=this[_0x30f2e7(0x197)][_0x30f2e7(0x16b)][_0x30f2e7(0x172)](_0x30f2e7(0x18c))||{},_0x4681dd=this[_0x30f2e7(0x197)][_0x30f2e7(0x16b)][_0x30f2e7(0x172)](_0x30f2e7(0x18e))||'';this[_0x30f2e7(0x198)]=_0x36c9b5(_0x2ad06c[_0x30f2e7(0x168)],_0x30f2e7(0x15f),{..._0x1ba497,'pubkey':_0x4681dd,'ctx-name':_0x30f2e7(0x19d)+this[_0x30f2e7(0x176)],'sourceList':'','imgOnly':_0x30f2e7(0x18a),'removeCopyright':_0x30f2e7(0x18a),'localeName':this[_0x30f2e7(0x197)][_0x30f2e7(0x156)][_0x30f2e7(0x161)],'externalSourcesEmbedCss':_0x30f2e7(0x17d)}),this[_0x30f2e7(0x198)][_0x30f2e7(0x169)]=_0x12c41d=>{const _0x2587cd=_0x30f2e7;if(_0x2587cd(0x192)==_0x12c41d)return _0x2587cd(0x1a9);},_0x2ad06c[_0x30f2e7(0x168)][_0x30f2e7(0x1a1)][_0x30f2e7(0x165)](this[_0x30f2e7(0x198)]);}[_0xd6f4de(0x190)](){const _0x53f6bb=_0xd6f4de;this[_0x53f6bb(0x17a)]=_0x36c9b5(_0x2ad06c[_0x53f6bb(0x168)],_0x53f6bb(0x171),{'ctx-name':_0x53f6bb(0x19d)+this[_0x53f6bb(0x176)]}),_0x2ad06c[_0x53f6bb(0x168)][_0x53f6bb(0x1a1)][_0x53f6bb(0x165)](this[_0x53f6bb(0x17a)]);}[_0xd6f4de(0x19b)](){const _0x31131d=_0xd6f4de,_0x403df7=this[_0x31131d(0x197)][_0x31131d(0x194)][_0x31131d(0x172)](_0x31131d(0x180));_0x403df7&&this[_0x31131d(0x18f)](_0x403df7,_0x31131d(0x187),()=>{const _0x5c0368=_0x31131d,_0x36a773=this[_0x5c0368(0x197)][_0x5c0368(0x167)][_0x5c0368(0x168)][_0x5c0368(0x17c)][_0x5c0368(0x174)]();_0x36a773&&_0x36a773[_0x5c0368(0x16e)](_0x5c0368(0x19c))&&this[_0x5c0368(0x197)][_0x5c0368(0x158)][_0x5c0368(0x15b)][_0x5c0368(0x186)](_0x5c0368(0x1a8),()=>{const _0x3353f5=_0x5c0368;_0x401d4d(this[_0x3353f5(0x197)],_0x36a773);});});const _0x38df17=this[_0x31131d(0x197)][_0x31131d(0x194)][_0x31131d(0x172)](_0x31131d(0x1a0));_0x38df17&&this[_0x31131d(0x18f)](_0x38df17,_0x31131d(0x187),()=>{const _0x184f19=_0x31131d,_0x524e8a=this[_0x184f19(0x197)][_0x184f19(0x167)][_0x184f19(0x168)][_0x184f19(0x17c)][_0x184f19(0x174)]();_0x524e8a&&_0x524e8a[_0x184f19(0x16e)](_0x184f19(0x19c))&&this[_0x184f19(0x197)][_0x184f19(0x158)][_0x184f19(0x15b)][_0x184f19(0x186)](_0x184f19(0x1a8),()=>{const _0x3e8f37=_0x184f19;_0x401d4d(this[_0x3e8f37(0x197)],_0x524e8a);});});}}
23
+ const _0xe14931=_0xb59e;function _0x4341(){const _0x343272=['upcast','selection','configElement','for','isOfficialPlugin','href','closeMax','destroy','execute','\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','2YhYlqR','isRegistered','isPremiumPlugin','elementToAttribute','UploadcareEditing','config','appendChild','getAttribute','iconHrefResolver','fromCharCode','uc-config','editing','uploadcare.uploader','model','true','listenTo','add','contentLanguage','view','uploadcareImageReplace','ucContextId','extend','_initCtx','data-uc-image-id','removeAttribute','input[uploadcare-file-input]','_configElement','attributeToAttribute','once','125415IGIkHQ','replaceImageSource','uploadcareImageId','requires','1036436pWkEad','uc-upload-ctx-provider','cleanupImage','join','imageInline','785800yPZaTO','ctxElement','3368zycRvG','insertImage','imageBlock','uploadcare','242002cvSFxq','60vREXuu','_initSchema','conversion','querySelector','pluginName','remove','body','map','getSelectedElement','659922lLMxUt','editor','_ctxElement','render','get','schema','2785080ULIWcy','#uc-icon-arrow-down','afterInit','document','uploader-','PictureEditing','downcast','uploadcare.pubkey','_initConfig','1309yaaXjq','init','_initConversion','commands','_initImageProcessingIndicator','locale'];_0x4341=function(){return _0x343272;};return _0x4341();}(function(_0x17cbe8,_0x3201d1){const _0xd86b01=_0xb59e,_0x23e8f8=_0x17cbe8();while(!![]){try{const _0x19e863=parseInt(_0xd86b01(0x1ef))/0x1+-parseInt(_0xd86b01(0x218))/0x2*(parseInt(_0xd86b01(0x1f9))/0x3)+-parseInt(_0xd86b01(0x1e4))/0x4+-parseInt(_0xd86b01(0x1e9))/0x5+parseInt(_0xd86b01(0x1ff))/0x6+-parseInt(_0xd86b01(0x208))/0x7*(-parseInt(_0xd86b01(0x1eb))/0x8)+parseInt(_0xd86b01(0x1e0))/0x9*(parseInt(_0xd86b01(0x1f0))/0xa);if(_0x19e863===_0x3201d1)break;else _0x23e8f8['push'](_0x23e8f8['shift']());}catch(_0x15e83b){_0x23e8f8['push'](_0x23e8f8['shift']());}}}(_0x4341,0x38b54));import{Plugin as _0x2df226}from'ckeditor5/src/core.js';import{Dialog as _0x3638b3}from'ckeditor5/src/ui.js';import{createElement as _0x36b5eb,global as _0x22a3a7,uid as _0xfaa9a0}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x224021}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2ca2aa}from'./uploadcareuploadadapter.js';function _0xb59e(_0xa35755,_0xb503d6){const _0x434116=_0x4341();return _0xb59e=function(_0xb59e6a,_0x1f0cb2){_0xb59e6a=_0xb59e6a-0x1d4;let _0x459e81=_0x434116[_0xb59e6a];return _0x459e81;},_0xb59e(_0xa35755,_0xb503d6);}import{showImageProcessingIndicator as _0x3f7ede}from'./utils/editingutils.js';export class UploadcareEditing extends _0x2df226{[_0xe14931(0x1dd)]=null;[_0xe14931(0x1fb)]=null;static get[_0xe14931(0x1f4)](){const _0x325361=_0xe14931;return _0x325361(0x21c);}static get[_0xe14931(0x1e3)](){const _0x1979a3=_0xe14931;return[_0x1979a3(0x204),_0x2ca2aa,_0x3638b3];}static get[_0xe14931(0x212)](){return!0x0;}static get[_0xe14931(0x21a)](){return!0x0;}[_0xe14931(0x1d7)];get[_0xe14931(0x210)](){const _0x2d541f=_0xe14931;return this[_0x2d541f(0x1dd)];}get[_0xe14931(0x1ea)](){const _0x4841c5=_0xe14931;return this[_0x4841c5(0x1fb)];}constructor(_0x1d606b){const _0xb874b8=_0xe14931;super(_0x1d606b),this[_0xb874b8(0x1d7)]=_0xfaa9a0();}[_0xe14931(0x209)](){const _0x1c46fc=_0xe14931,_0x125c2f=this[_0x1c46fc(0x1fa)];_0x125c2f[_0x1c46fc(0x20b)][_0x1c46fc(0x228)](_0x1c46fc(0x1ee),new _0x224021(_0x125c2f));}[_0xe14931(0x201)](){const _0x5d0e08=_0xe14931;this[_0x5d0e08(0x1f1)](),this[_0x5d0e08(0x20a)](),this[_0x5d0e08(0x207)](),this[_0x5d0e08(0x1d9)](),this[_0x5d0e08(0x20c)](),this[_0x5d0e08(0x227)](this[_0x5d0e08(0x1fa)],_0x5d0e08(0x215),()=>{const _0x87b9a9=_0x5d0e08;this[_0x87b9a9(0x1dd)]&&(this[_0x87b9a9(0x1dd)][_0x87b9a9(0x1f5)](),this[_0x87b9a9(0x1dd)]=null),this[_0x87b9a9(0x1fb)]&&(this[_0x87b9a9(0x1fb)][_0x87b9a9(0x1f5)](),this[_0x87b9a9(0x1fb)]=null);const _0x17e9ce=_0x22a3a7[_0x87b9a9(0x202)][_0x87b9a9(0x1f3)](_0x87b9a9(0x1dc));_0x17e9ce&&_0x17e9ce[_0x87b9a9(0x1f5)]();}),async function(_0x309598){const _0x4ed33c=_0x4eecf9([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x2861d7=0x535f8c3a,_0x273a5e=0x5358f142^_0x2861d7,_0x328a5e=window[_0x4eecf9([0x44,0x61,0x74,0x65])][_0x4eecf9([0x6e,0x6f,0x77])](),_0x4efc4f=_0x309598[_0x4eecf9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59f71e=new window[(_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc8cefa=>{_0x4efc4f[_0x4eecf9([0x6f,0x6e,0x63,0x65])](_0x4eecf9([0x72,0x65,0x61,0x64,0x79]),_0xc8cefa);}),_0x19417e={[_0x4eecf9([0x6b,0x74,0x79])]:_0x4eecf9([0x45,0x43]),[_0x4eecf9([0x75,0x73,0x65])]:_0x4eecf9([0x73,0x69,0x67]),[_0x4eecf9([0x63,0x72,0x76])]:_0x4eecf9([0x50,0x2d,0x32,0x35,0x36]),[_0x4eecf9([0x78])]:_0x4eecf9([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]),[_0x4eecf9([0x79])]:_0x4eecf9([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]),[_0x4eecf9([0x61,0x6c,0x67])]:_0x4eecf9([0x45,0x53,0x32,0x35,0x36])},_0x27606f=_0x4efc4f[_0x4eecf9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4eecf9([0x67,0x65,0x74])](_0x4eecf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1227a(){let _0x71e587,_0xcc10d6=null,_0x10b2ce=null;try{if(_0x27606f==_0x4eecf9([0x47,0x50,0x4c]))return _0x4eecf9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x71e587=_0x550756(),!_0x71e587)return _0x4eecf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x71e587[_0x4eecf9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10b2ce=_0x200baa(_0x71e587[_0x4eecf9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x71e587[_0x4eecf9([0x6a,0x74,0x69])])),await _0x121133()?_0x500ad3()?_0x5ea169()?_0x4eecf9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x673721()?(_0x71e587[_0x4eecf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4eecf9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xcc10d6=_0x398dfb(_0x4eecf9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x71e587[_0x4eecf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4eecf9([0x74,0x72,0x69,0x61,0x6c])&&(_0xcc10d6=_0x398dfb(_0x4eecf9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e7e56()):_0x4eecf9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4eecf9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4eecf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4eecf9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ea169(){const _0x2365f8=[_0x4eecf9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4eecf9([0x74,0x72,0x69,0x61,0x6c])][_0x4eecf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x71e587[_0x4eecf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x328a5e/0x3e8:0xe10*_0x273a5e;return _0x71e587[_0x4eecf9([0x65,0x78,0x70])]<_0x2365f8;}function _0x500ad3(){const _0x3b339b=_0x71e587[_0x4eecf9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b339b&&(!!_0x3b339b[_0x4eecf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eecf9([0x2a]))||!!_0x3b339b[_0x4eecf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eecf9([0x55,0x50,0x4c,0x43])));}function _0x673721(){const _0x4fcb9c=_0xb59e,_0x46f740=_0x71e587[_0x4eecf9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46f740||0x0==_0x46f740[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xba6c43}=new URL(window[_0x4eecf9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4fcb9c(0x213)]);if(_0x46f740[_0x4eecf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba6c43))return!0x0;const _0x59ed88=_0xba6c43[_0x4eecf9([0x73,0x70,0x6c,0x69,0x74])](_0x4eecf9([0x2e]));return _0x46f740[_0x4eecf9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eb0af=>_0x4eb0af[_0x4eecf9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eecf9([0x2a])))[_0x4eecf9([0x6d,0x61,0x70])](_0x1a7247=>_0x1a7247[_0x4eecf9([0x73,0x70,0x6c,0x69,0x74])](_0x4eecf9([0x2e])))[_0x4eecf9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cb181=>_0x3cb181[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59ed88[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4eecf9([0x6d,0x61,0x70])](_0x1b5feb=>Array(_0x59ed88[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b5feb[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4eecf9([0x66,0x69,0x6c,0x6c])](_0x1b5feb[0x0]===_0x4eecf9([0x2a])?_0x4eecf9([0x2a]):'')[_0x4eecf9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b5feb))[_0x4eecf9([0x73,0x6f,0x6d,0x65])](_0x17dcb9=>_0x59ed88[_0x4eecf9([0x65,0x76,0x65,0x72,0x79])]((_0x37eeae,_0x1922c8)=>_0x17dcb9[_0x1922c8]===_0x37eeae||_0x17dcb9[_0x1922c8]===_0x4eecf9([0x2a])));}function _0x4e7e56(){return _0xcc10d6&&_0x10b2ce?new window[(_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x364208,_0x5bf1e5)=>{_0xcc10d6[_0x4eecf9([0x74,0x68,0x65,0x6e])](_0x364208,_0x5bf1e5),_0x10b2ce[_0x4eecf9([0x74,0x68,0x65,0x6e])](_0x5a6d6c=>{_0x5a6d6c!=_0x4eecf9([0x56,0x61,0x6c,0x69,0x64])&&_0x364208(_0x5a6d6c);},_0x5bf1e5);}):_0xcc10d6||_0x10b2ce||_0x4eecf9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x200baa(_0x2c869d,_0x23df6b){return new window[(_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34c078=>{if(_0x4948ac())return _0x34c078(_0x4eecf9([0x56,0x61,0x6c,0x69,0x64]));_0x23126d(),_0x4efc4f[_0x4eecf9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4eecf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3be3bc=!0x1;const _0xe5b60b=_0xfaa9a0();function _0x1b0eb5(_0x589188){return!!_0x589188&&(typeof _0x589188===_0x4eecf9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x589188===_0x4eecf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x589188[_0x4eecf9([0x74,0x68,0x65,0x6e])]===_0x4eecf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x589188[_0x4eecf9([0x63,0x61,0x74,0x63,0x68])]===_0x4eecf9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f6071(_0x409c3e){_0x5a9464(_0x409c3e)[_0x4eecf9([0x74,0x68,0x65,0x6e])](_0x56a044=>{if(!_0x56a044||_0x56a044[_0x4eecf9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4eecf9([0x6f,0x6b]))return _0x4eecf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4bb482(_0x14c9f8(_0xe5b60b+_0x23df6b))!=_0x56a044[_0x4eecf9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4eecf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4eecf9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4eecf9([0x74,0x68,0x65,0x6e])](_0x425368=>(_0x4874cf(),_0x425368),()=>{const _0x140647=_0x2cb849();return null==_0x140647?(_0x4874cf(),_0x4eecf9([0x56,0x61,0x6c,0x69,0x64])):_0x4eecf9(_0x328a5e-_0x140647>(0x7753083a^_0x2861d7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4eecf9([0x74,0x68,0x65,0x6e])](_0x34c078)[_0x4eecf9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34c078(_0x4eecf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x399aec=0x536962ba^_0x2861d7;function _0x4874cf(){const _0x536641=_0x4eecf9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bb482(_0x14c9f8(_0x2c869d)),_0x249ff5=_0x55facc(_0x4bb482(window[_0x4eecf9([0x4d,0x61,0x74,0x68])][_0x4eecf9([0x63,0x65,0x69,0x6c])](_0x328a5e/_0x399aec)));window[_0x4eecf9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4eecf9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x536641,_0x249ff5);}function _0x2cb849(){const _0x174232=_0x4eecf9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4bb482(_0x14c9f8(_0x2c869d)),_0x3e33b3=window[_0x4eecf9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4eecf9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x174232);return _0x3e33b3?window[_0x4eecf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55facc(_0x3e33b3),0x10)*_0x399aec:null;}function _0x5a9464(_0x12b839){return new window[(_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53ce8e,_0x1cdef1)=>{_0x12b839[_0x4eecf9([0x74,0x68,0x65,0x6e])](_0x53ce8e,_0x1cdef1),window[_0x4eecf9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cdef1,0x535e58fa^_0x2861d7);});}}_0x4efc4f[_0x4eecf9([0x6f,0x6e])](_0x4eecf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1331fc,_0x2534f0)=>{if(_0x2534f0[0x0]!=_0x2c869d)return _0x34c078(_0x4eecf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2534f0[0x1]={..._0x2534f0[0x1],[_0x4eecf9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe5b60b};},{[_0x4eecf9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4eecf9([0x68,0x69,0x67,0x68])}),_0x4efc4f[_0x4eecf9([0x6f,0x6e])](_0x4eecf9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x428a58=>{_0x1b0eb5(_0x428a58[_0x4eecf9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3be3bc=!0x0,_0x1f6071(_0x428a58[_0x4eecf9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4eecf9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4eecf9([0x6c,0x6f,0x77])}),_0x59f71e[_0x4eecf9([0x74,0x68,0x65,0x6e])](()=>{_0x3be3bc||_0x34c078(_0x4eecf9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4948ac(){return _0x4efc4f[_0x4eecf9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4eecf9([0x76,0x69,0x65,0x77])][_0x4eecf9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4eecf9([0x61,0x75,0x74,0x6f]);}function _0x23126d(){_0x4efc4f[_0x4eecf9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4eecf9([0x76,0x69,0x65,0x77])][_0x4eecf9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4eecf9([0x61,0x75,0x74,0x6f]);}}function _0x398dfb(_0x4f2680){const _0x5ca1ba=[new window[(_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb22bf6=>setTimeout(_0xb22bf6,0x5356b2f6^_0x2861d7)),_0x59f71e[_0x4eecf9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47b92a=>{let _0x489066=0x0;_0x4efc4f[_0x4eecf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eecf9([0x6f,0x6e])](_0x4eecf9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15c40c,_0x3cc622)=>{_0x3cc622[0x0][_0x4eecf9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x489066++,_0x489066==(0x535f89d2^_0x2861d7)&&(_0x47b92a(),_0x15c40c[_0x4eecf9([0x6f,0x66,0x66])]());});}))];return window[_0x4eecf9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4eecf9([0x72,0x61,0x63,0x65])](_0x5ca1ba)[_0x4eecf9([0x74,0x68,0x65,0x6e])](()=>_0x4f2680);}async function _0x3113e5(){await _0x59f71e,_0x4efc4f[_0x4eecf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eecf9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35a2dd,_0x4efc4f[_0x4eecf9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eecf9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35a2dd,_0x4efc4f[_0x4eecf9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4eecf9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4057f2(_0x1d25ac){const _0x3ae571=_0x5029f5();_0x4efc4f[_0x3ae571]=_0x4eecf9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d25ac,_0x1d25ac!=_0x4eecf9([0x56,0x61,0x6c,0x69,0x64])&&_0x3113e5();}function _0x5029f5(){const _0x2ae5b7=window[_0x4eecf9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4eecf9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4eecf9([0x6e,0x6f,0x77])]())[_0x4eecf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4eecf9([0x2e]),'');let _0x3addfe=_0x4eecf9([0x68]);for(let _0xceed3a=0x0;_0xceed3a<_0x2ae5b7[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xceed3a+=0x2){let _0x4bc693=window[_0x4eecf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ae5b7[_0x4eecf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xceed3a,_0xceed3a+0x2));_0x4bc693>=_0x4ed33c[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4bc693-=_0x4ed33c[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3addfe+=_0x4ed33c[_0x4bc693];}return _0x3addfe;}function _0x550756(){const _0x393128=_0x27606f[_0x4eecf9([0x73,0x70,0x6c,0x69,0x74])](_0x4eecf9([0x2e]));if(0x3!=_0x393128[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1140bc(_0x393128[0x1]);function _0x1140bc(_0x223427){const _0x1c8653=_0x3c52cf(_0x223427);return _0x1c8653&&_0x305efe()?_0x1c8653:null;function _0x305efe(){const _0x457c24=_0x1c8653[_0x4eecf9([0x6a,0x74,0x69])],_0x48b0df=window[_0x4eecf9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x457c24[_0x4eecf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x457c24[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19d9c3={..._0x1c8653,[_0x4eecf9([0x6a,0x74,0x69])]:_0x457c24[_0x4eecf9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x457c24[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19d9c3[_0x4eecf9([0x76,0x63])],_0x14c9f8(_0x19d9c3)==_0x48b0df;}}}async function _0x121133(){let _0x25756c=!0x0;try{const _0x241eeb=_0x27606f[_0x4eecf9([0x73,0x70,0x6c,0x69,0x74])](_0x4eecf9([0x2e])),[_0x5db38a,_0x15a3a1,_0x7425c0]=_0x241eeb;return _0x1cd343(_0x5db38a),await _0xc06c81(_0x5db38a,_0x15a3a1,_0x7425c0),_0x25756c;}catch{return!0x1;}function _0x1cd343(_0x4d17f1){const _0x2cb656=_0x3c52cf(_0x4d17f1);_0x2cb656&&_0x2cb656[_0x4eecf9([0x61,0x6c,0x67])]==_0x4eecf9([0x45,0x53,0x32,0x35,0x36])||(_0x25756c=!0x1);}async function _0xc06c81(_0x1910b7,_0x32c3cc,_0x421c6f){const _0x17f680=window[_0x4eecf9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4eecf9([0x66,0x72,0x6f,0x6d])](_0xd19f59(_0x421c6f),_0x238655=>_0x238655[_0x4eecf9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43c2c1=new window[(_0x4eecf9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4eecf9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1910b7+_0x4eecf9([0x2e])+_0x32c3cc),_0x8191d4=window[_0x4eecf9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4eecf9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x8191d4)return;const _0x30f81f=await _0x8191d4[_0x4eecf9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4eecf9([0x6a,0x77,0x6b]),_0x19417e,{[_0x4eecf9([0x6e,0x61,0x6d,0x65])]:_0x4eecf9([0x45,0x43,0x44,0x53,0x41]),[_0x4eecf9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4eecf9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4eecf9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x8191d4[_0x4eecf9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4eecf9([0x6e,0x61,0x6d,0x65])]:_0x4eecf9([0x45,0x43,0x44,0x53,0x41]),[_0x4eecf9([0x68,0x61,0x73,0x68])]:{[_0x4eecf9([0x6e,0x61,0x6d,0x65])]:_0x4eecf9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30f81f,_0x17f680,_0x43c2c1)||(_0x25756c=!0x1);}}function _0x3c52cf(_0x3c5b07){return _0x3c5b07[_0x4eecf9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4eecf9([0x65,0x79]))?JSON[_0x4eecf9([0x70,0x61,0x72,0x73,0x65])](_0xd19f59(_0x3c5b07)):null;}function _0xd19f59(_0x354b95){return window[_0x4eecf9([0x61,0x74,0x6f,0x62])](_0x354b95[_0x4eecf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4eecf9([0x2b]))[_0x4eecf9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4eecf9([0x2f])));}function _0x14c9f8(_0x546e21){let _0x43b6a7=0x1505;function _0x560632(_0x22782e){for(let _0x178445=0x0;_0x178445<_0x22782e[_0x4eecf9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x178445++){const _0x3e8f36=_0x22782e[_0x4eecf9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x178445);_0x43b6a7=(_0x43b6a7<<0x5)+_0x43b6a7+_0x3e8f36,_0x43b6a7&=_0x43b6a7;}}function _0x3bb1fa(_0x2fd624){Array[_0x4eecf9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2fd624)?_0x2fd624[_0x4eecf9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bb1fa):_0x2fd624&&typeof _0x2fd624==_0x4eecf9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4eecf9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2fd624)[_0x4eecf9([0x73,0x6f,0x72,0x74])]()[_0x4eecf9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4828b8,_0x4b50fd])=>{_0x560632(_0x4828b8),_0x3bb1fa(_0x4b50fd);}):_0x560632(window[_0x4eecf9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2fd624));}return _0x3bb1fa(_0x546e21),_0x43b6a7>>>0x0;}function _0x4bb482(_0x37f41e){return _0x37f41e[_0x4eecf9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4eecf9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4eecf9([0x30]));}function _0x55facc(_0x4d0eff){return _0x4d0eff[_0x4eecf9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4eecf9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4eecf9([0x6a,0x6f,0x69,0x6e])]('');}function _0x35a2dd(){}function _0x4eecf9(_0x59a7d9){const _0xc59dbf=_0xb59e;return _0x59a7d9[_0xc59dbf(0x1f7)](_0x3cb7a3=>String[_0xc59dbf(0x221)](_0x3cb7a3))[_0xc59dbf(0x1e7)]('');}_0x4057f2(await _0x1227a());}(this);}[_0xe14931(0x1f1)](){const _0x4a7bc7=_0xe14931,_0x528e91=this[_0x4a7bc7(0x1fa)][_0x4a7bc7(0x225)][_0x4a7bc7(0x1fe)];_0x528e91[_0x4a7bc7(0x219)](_0x4a7bc7(0x1ed))&&_0x528e91[_0x4a7bc7(0x1d8)](_0x4a7bc7(0x1ed),{'allowAttributes':[_0x4a7bc7(0x1e2)]}),_0x528e91[_0x4a7bc7(0x219)](_0x4a7bc7(0x1e8))&&_0x528e91[_0x4a7bc7(0x1d8)](_0x4a7bc7(0x1e8),{'allowAttributes':[_0x4a7bc7(0x1e2)]});}[_0xe14931(0x20a)](){const _0x4c2b5a=_0xe14931,_0x52e7c2=this[_0x4c2b5a(0x1fa)];_0x52e7c2[_0x4c2b5a(0x1f2)][_0x4c2b5a(0x211)](_0x4c2b5a(0x205))[_0x4c2b5a(0x1de)]({'model':_0x4c2b5a(0x1e2),'view':_0x4c2b5a(0x1da)}),_0x52e7c2[_0x4c2b5a(0x1f2)][_0x4c2b5a(0x211)](_0x4c2b5a(0x20e))[_0x4c2b5a(0x21b)]({'model':{'key':_0x4c2b5a(0x1e2),'value':_0x18fbeb=>_0x18fbeb[_0x4c2b5a(0x21f)](_0x4c2b5a(0x1da))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x459e2f=_0x52e7c2[_0x4c2b5a(0x20b)][_0x4c2b5a(0x1fd)](_0x4c2b5a(0x1e1));_0x459e2f&&this[_0x4c2b5a(0x227)](_0x459e2f,_0x4c2b5a(0x1e6),(_0x16e975,[_0x3543c3,_0x5c7358])=>{const _0x97f9de=_0x4c2b5a;_0x3543c3[_0x97f9de(0x1db)](_0x97f9de(0x1e2),_0x5c7358);});}[_0xe14931(0x207)](){const _0x1cb626=_0xe14931,_0x34a2b5=this[_0x1cb626(0x1fa)][_0x1cb626(0x21d)][_0x1cb626(0x1fd)](_0x1cb626(0x224))||{},_0x3a60e1=this[_0x1cb626(0x1fa)][_0x1cb626(0x21d)][_0x1cb626(0x1fd)](_0x1cb626(0x206))||'';this[_0x1cb626(0x1dd)]=_0x36b5eb(_0x22a3a7[_0x1cb626(0x202)],_0x1cb626(0x222),{..._0x34a2b5,'pubkey':_0x3a60e1,'ctx-name':_0x1cb626(0x203)+this[_0x1cb626(0x1d7)],'sourceList':'','imgOnly':_0x1cb626(0x226),'removeCopyright':_0x1cb626(0x226),'localeName':this[_0x1cb626(0x1fa)][_0x1cb626(0x20d)][_0x1cb626(0x1d4)],'externalSourcesEmbedCss':_0x1cb626(0x217)}),this[_0x1cb626(0x1dd)][_0x1cb626(0x220)]=_0x56bfdc=>{const _0xb1fbf7=_0x1cb626;if(_0xb1fbf7(0x214)==_0x56bfdc)return _0xb1fbf7(0x200);},_0x22a3a7[_0x1cb626(0x202)][_0x1cb626(0x1f6)][_0x1cb626(0x21e)](this[_0x1cb626(0x1dd)]);}[_0xe14931(0x1d9)](){const _0x1af7aa=_0xe14931;this[_0x1af7aa(0x1fb)]=_0x36b5eb(_0x22a3a7[_0x1af7aa(0x202)],_0x1af7aa(0x1e5),{'ctx-name':_0x1af7aa(0x203)+this[_0x1af7aa(0x1d7)]}),_0x22a3a7[_0x1af7aa(0x202)][_0x1af7aa(0x1f6)][_0x1af7aa(0x21e)](this[_0x1af7aa(0x1fb)]);}[_0xe14931(0x20c)](){const _0x233732=_0xe14931,_0x22bf16=this[_0x233732(0x1fa)][_0x233732(0x20b)][_0x233732(0x1fd)](_0x233732(0x1ec));_0x22bf16&&this[_0x233732(0x227)](_0x22bf16,_0x233732(0x216),()=>{const _0x485101=_0x233732,_0x32b819=this[_0x485101(0x1fa)][_0x485101(0x225)][_0x485101(0x202)][_0x485101(0x20f)][_0x485101(0x1f8)]();_0x32b819&&_0x32b819[_0x485101(0x21f)](_0x485101(0x1e2))&&this[_0x485101(0x1fa)][_0x485101(0x223)][_0x485101(0x1d5)][_0x485101(0x1df)](_0x485101(0x1fc),()=>{const _0x1452ca=_0x485101;_0x3f7ede(this[_0x1452ca(0x1fa)],_0x32b819);});});const _0x3ccb8e=this[_0x233732(0x1fa)][_0x233732(0x20b)][_0x233732(0x1fd)](_0x233732(0x1d6));_0x3ccb8e&&this[_0x233732(0x227)](_0x3ccb8e,_0x233732(0x216),()=>{const _0x133d25=_0x233732,_0x6d4854=this[_0x133d25(0x1fa)][_0x133d25(0x225)][_0x133d25(0x202)][_0x133d25(0x20f)][_0x133d25(0x1f8)]();_0x6d4854&&_0x6d4854[_0x133d25(0x21f)](_0x133d25(0x1e2))&&this[_0x133d25(0x1fa)][_0x133d25(0x223)][_0x133d25(0x1d5)][_0x133d25(0x1df)](_0x133d25(0x1fc),()=>{const _0x40bc7d=_0x133d25;_0x3f7ede(this[_0x40bc7d(0x1fa)],_0x6d4854);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x161f83,ObservableMixin as _0x46ad2e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x592323}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x308b9e}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x8556fd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x30b29d}from'../../utils/uploadutils.js';import{getImageUrls as _0x464ec8,getImageDimension as _0x2c2c86}from'../../utils/editingutils.js';import{isAncestor as _0x3115e9}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x46ad2e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x247661,_0x278457,_0x5486c6){super(),this['_editor']=_0x247661,this['_dialog']=_0x278457,this['_imageElement']=_0x5486c6,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 _0x277f7c=this['_imageElement'],_0x5b3d5b=_0x277f7c['getAttribute']('uploadcareImageId'),_0x505450=_0x277f7c['getAttribute']('src');if(_0x5b3d5b)await this['_loadImageInfo'](_0x5b3d5b,_0x505450);else{if(this['_imageCache']['has'](_0x505450)){const _0x2e0abb=this['_imageCache']['get'](_0x505450);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e0abb['url'],this['imageDimension']=_0x2e0abb['dimension'],this['imageId']=_0x2e0abb['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3250e3}=this['_editor'],t=_0x3250e3['t'],_0x1319d4=new _0x8556fd(_0x3250e3,this['imageStatus'],this['_attributes']);_0x1319d4['bind']('status')['to'](this,'imageStatus'),_0x1319d4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x1319d4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x1319d4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x1319d4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x308b9e,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x1319d4,'position':_0x592323['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x1319d4['focus']();},'onHide':()=>{_0x1319d4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x175b77=>!_0x3115e9(_0x175b77,_0x1319d4['element'])}});}['_loadImageInfo'](_0x5173ef,_0x4eb161){return _0x30b29d['getInfo'](_0x5173ef,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x34a4ca=>{const {width:_0x53070d,height:_0x5adf5d}=_0x34a4ca['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4eb161,this['imageDimension']={'width':_0x53070d,'height':_0x5adf5d},this['imageId']=_0x5173ef;})['catch'](_0x2ce934=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2ce934['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d2d1c,_0x481970){return this['_getImageAsFile'](_0x1d2d1c)['then'](_0x3e7522=>_0x30b29d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x481970['signal'],'file':_0x3e7522,'onProgress':_0x4ac81f=>{_0x4ac81f&&_0x4ac81f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ac81f['value']));}}))['then'](_0x5a8c26=>{const {width:_0x4d51f1,height:_0x4bedb4}=_0x5a8c26['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5a8c26['cdnUrl'],this['imageDimension']={'width':_0x4d51f1,'height':_0x4bedb4},this['imageId']=_0x5a8c26['uuid'],this['imageUploadProgress']=null;const _0x3c60cd=_0x1d2d1c['getAttribute']('src');this['_imageCache']['set'](_0x3c60cd,{'id':_0x5a8c26['uuid'],'url':_0x5a8c26['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x576237=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x576237['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4cd8e2,_0x29c25f){_0x4cd8e2['on']('apply',(_0x405e72,_0x427b63)=>{this['_replaceImage'](_0x29c25f,_0x427b63['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4cd8e2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4cd8e2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x9a062b,_0x58b19a,_0x30a780){const _0x417d7b=this['_editor'],{width:_0x1f5a74,height:_0x97c4fe}=_0x2c2c86(_0x58b19a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3cb368,imageSources:_0x3b631f}=_0x464ec8(_0x58b19a,_0x1f5a74);_0x417d7b['model']['change'](_0x1f7c6d=>{if('$graveyard'===_0x9a062b['root']['rootName']){_0x417d7b['execute']('insertImage',{'imageType':_0x9a062b['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x9a062b['getAttributes']()),'uploadcareImageId':_0x30a780,'src':_0x3cb368,'sources':_0x3b631f,'width':_0x1f5a74,'height':_0x97c4fe}});const _0x24052f=_0x9a062b['getChildren']();_0x9a062b=_0x417d7b['model']['document']['selection']['getSelectedElement']();for(const _0x26f90f of _0x24052f)_0x1f7c6d['append'](_0x1f7c6d['cloneElement'](_0x26f90f),_0x9a062b);}else _0x1f7c6d['setSelection'](_0x9a062b,'on'),_0x417d7b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x9a062b['getAttributes']()),'uploadcareImageId':_0x30a780,'src':_0x3cb368,'sources':_0x3b631f,'width':_0x1f5a74,'height':_0x97c4fe},_0x9a062b);_0x1f7c6d['setSelection'](_0x9a062b,'on');});}async['_getImageAsFile'](_0x7610f5){const _0x1f3a53=_0x161f83['window'],_0x4aeb5b=_0x161f83['document']['location']['href'],_0xfba03e=new _0x1f3a53['URL'](_0x7610f5['getAttribute']('src'),_0x4aeb5b);if('data:'===_0xfba03e['protocol']){const _0x2fbd45=_0xfba03e['href']['split'](','),_0x3bfa75=_0x2fbd45[0x0]['match'](/:(.*?);/)[0x1],_0x7dee72=_0x3bfa75['split']('/')[0x1],_0x234b11=_0x1f3a53['atob'](_0x2fbd45[_0x2fbd45['length']-0x1]);let _0x287abd=_0x234b11['length'];const _0x102095=new _0x1f3a53['Uint8Array'](_0x287abd);for(;_0x287abd--;)_0x102095[_0x287abd]=_0x234b11['charCodeAt'](_0x287abd);return new _0x1f3a53['File']([_0x102095],'image.'+_0x7dee72,{'type':_0x3bfa75});}const _0x51ce10=_0xfba03e['href']['split']('/'),_0x17cb9a=_0x51ce10[_0x51ce10['length']-0x1],_0xe4d5f8=_0x17cb9a['split']('.')[0x1];return _0x1f3a53['fetch'](_0xfba03e['href'])['then'](_0x2f5774=>_0x2f5774['clone']()['blob']())['then'](_0x472153=>new _0x1f3a53['File']([_0x472153],_0x17cb9a,{'type':'image/'+_0xe4d5f8}));}}
23
+ import{global as _0x58c679,ObservableMixin as _0xeb1339}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x52623e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x50260c}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4a1878}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x13e8b9}from'../../utils/uploadutils.js';import{getImageUrls as _0x1443ee,getImageDimension as _0x2dc38c}from'../../utils/editingutils.js';import{isAncestor as _0x403405}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0xeb1339(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x11d454,_0x56c14d,_0x750941){super(),this['_editor']=_0x11d454,this['_dialog']=_0x56c14d,this['_imageElement']=_0x750941,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 _0x2cd04a=this['_imageElement'],_0x1da9cd=_0x2cd04a['getAttribute']('uploadcareImageId'),_0x2a983d=_0x2cd04a['getAttribute']('src');if(_0x1da9cd)await this['_loadImageInfo'](_0x1da9cd,_0x2a983d);else{if(this['_imageCache']['has'](_0x2a983d)){const _0x309428=this['_imageCache']['get'](_0x2a983d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x309428['url'],this['imageDimension']=_0x309428['dimension'],this['imageId']=_0x309428['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x361c71}=this['_editor'],t=_0x361c71['t'],_0x4bb9fa=new _0x4a1878(_0x361c71,this['imageStatus'],this['_attributes']);_0x4bb9fa['bind']('status')['to'](this,'imageStatus'),_0x4bb9fa['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4bb9fa['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4bb9fa['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4bb9fa,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x50260c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4bb9fa,'position':_0x52623e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4bb9fa['focus']();},'onHide':()=>{_0x4bb9fa['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x32f3b2=>!_0x403405(_0x32f3b2,_0x4bb9fa['element'])}});}['_loadImageInfo'](_0x7bcf1e,_0xe9e9fc){return _0x13e8b9['getInfo'](_0x7bcf1e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5a1ece=>{const {width:_0x4e2c6a,height:_0x527ae2}=_0x5a1ece['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xe9e9fc,this['imageDimension']={'width':_0x4e2c6a,'height':_0x527ae2},this['imageId']=_0x7bcf1e;})['catch'](_0x237fee=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x237fee['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x49b227,_0x30e40b){return this['_getImageAsFile'](_0x49b227)['then'](_0x2c127d=>_0x13e8b9['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x30e40b['signal'],'file':_0x2c127d,'onProgress':_0x55a13b=>{_0x55a13b&&_0x55a13b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x55a13b['value']));}}))['then'](_0x1a1f6e=>{const {width:_0x46df5c,height:_0x533bc8}=_0x1a1f6e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a1f6e['cdnUrl'],this['imageDimension']={'width':_0x46df5c,'height':_0x533bc8},this['imageId']=_0x1a1f6e['uuid'],this['imageUploadProgress']=null;const _0x452de7=_0x49b227['getAttribute']('src');this['_imageCache']['set'](_0x452de7,{'id':_0x1a1f6e['uuid'],'url':_0x1a1f6e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3762ce=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3762ce['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x30dfd4,_0x582bcc){_0x30dfd4['on']('apply',(_0x31d6d3,_0xe374d5)=>{this['_replaceImage'](_0x582bcc,_0xe374d5['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x30dfd4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x30dfd4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x491f1d,_0x318aae,_0x19501c){const _0x4145a3=this['_editor'],{width:_0x1ff8a2,height:_0x2a4a78}=_0x2dc38c(_0x318aae,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3d4f59,imageSources:_0x215607}=_0x1443ee(_0x318aae,_0x1ff8a2);_0x4145a3['model']['change'](_0x4c0889=>{if('$graveyard'===_0x491f1d['root']['rootName']){_0x4145a3['execute']('insertImage',{'imageType':_0x491f1d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x491f1d['getAttributes']()),'uploadcareImageId':_0x19501c,'src':_0x3d4f59,'sources':_0x215607,'width':_0x1ff8a2,'height':_0x2a4a78}});const _0x55e38a=_0x491f1d['getChildren']();_0x491f1d=_0x4145a3['model']['document']['selection']['getSelectedElement']();for(const _0x91106f of _0x55e38a)_0x4c0889['append'](_0x4c0889['cloneElement'](_0x91106f),_0x491f1d);}else _0x4c0889['setSelection'](_0x491f1d,'on'),_0x4145a3['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x491f1d['getAttributes']()),'uploadcareImageId':_0x19501c,'src':_0x3d4f59,'sources':_0x215607,'width':_0x1ff8a2,'height':_0x2a4a78},_0x491f1d);_0x4c0889['setSelection'](_0x491f1d,'on');});}async['_getImageAsFile'](_0x59acfb){const _0x48acf7=_0x58c679['window'],_0xed867d=_0x58c679['document']['location']['href'],_0x2c9b3e=new _0x48acf7['URL'](_0x59acfb['getAttribute']('src'),_0xed867d);if('data:'===_0x2c9b3e['protocol']){const _0x22efe3=_0x2c9b3e['href']['split'](','),_0xc35590=_0x22efe3[0x0]['match'](/:(.*?);/)[0x1],_0x4ccbe7=_0xc35590['split']('/')[0x1],_0x4aaae3=_0x48acf7['atob'](_0x22efe3[_0x22efe3['length']-0x1]);let _0x27909a=_0x4aaae3['length'];const _0x3b32fb=new _0x48acf7['Uint8Array'](_0x27909a);for(;_0x27909a--;)_0x3b32fb[_0x27909a]=_0x4aaae3['charCodeAt'](_0x27909a);return new _0x48acf7['File']([_0x3b32fb],'image.'+_0x4ccbe7,{'type':_0xc35590});}const _0x429b69=_0x2c9b3e['href']['split']('/'),_0x520ef3=_0x429b69[_0x429b69['length']-0x1],_0x3b68e8=_0x520ef3['split']('.')[0x1];return _0x48acf7['fetch'](_0x2c9b3e['href'])['then'](_0x1fcd69=>_0x1fcd69['clone']()['blob']())['then'](_0x10676f=>new _0x48acf7['File']([_0x10676f],_0x520ef3,{'type':'image/'+_0x3b68e8}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2208(_0x27de0a,_0xf7f46f){const _0x304376=_0x3043();return _0x2208=function(_0x220873,_0x196546){_0x220873=_0x220873-0x1e3;let _0x471ffe=_0x304376[_0x220873];return _0x471ffe;},_0x2208(_0x27de0a,_0xf7f46f);}(function(_0x5b7343,_0x43658b){const _0xd98e2c=_0x2208,_0x289c25=_0x5b7343();while(!![]){try{const _0xabbba2=-parseInt(_0xd98e2c(0x1e8))/0x1*(parseInt(_0xd98e2c(0x1f0))/0x2)+-parseInt(_0xd98e2c(0x1ea))/0x3+parseInt(_0xd98e2c(0x1f1))/0x4+parseInt(_0xd98e2c(0x1e3))/0x5*(-parseInt(_0xd98e2c(0x1e9))/0x6)+-parseInt(_0xd98e2c(0x1e4))/0x7+parseInt(_0xd98e2c(0x1e6))/0x8+parseInt(_0xd98e2c(0x1ec))/0x9;if(_0xabbba2===_0x43658b)break;else _0x289c25['push'](_0x289c25['shift']());}catch(_0x570f89){_0x289c25['push'](_0x289c25['shift']());}}}(_0x3043,0xa4cc3));import{View as _0x53bbcc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x53bbcc{constructor(_0x1d70c0,_0x4f200a){const _0x45818c=_0x2208;super(_0x1d70c0);const _0x461e25=this[_0x45818c(0x1ed)];this[_0x45818c(0x1f3)](_0x45818c(0x1e7),''),this[_0x45818c(0x1e5)]({'tag':_0x45818c(0x1ef),'attributes':{..._0x4f200a,'class':[_0x45818c(0x1eb),_0x45818c(0x1ee)],'ctx-name':_0x45818c(0x1f2),'cdn-url':_0x461e25['to'](_0x45818c(0x1e7))}});}}function _0x3043(){const _0x1ae024=['40772wNGzhu','647586WwPAeK','1545909QAkLLF','uc-light','28382895zbQIeb','bindTemplate','ck-uploadcare-theme','uc-cloud-image-editor','16PcjoSU','25380LPxdcG','image-edit','set','35IYkpMc','6225807DUaeAc','setTemplate','11264WIsmxf','imageSrc'];_0x3043=function(){return _0x1ae024;};return _0x3043();}
23
+ function _0x1a33(_0x5a3e77,_0x610f0f){const _0x572183=_0x5721();return _0x1a33=function(_0x1a338b,_0x6e490d){_0x1a338b=_0x1a338b-0xe8;let _0x269d2e=_0x572183[_0x1a338b];return _0x269d2e;},_0x1a33(_0x5a3e77,_0x610f0f);}(function(_0x31deca,_0x2f4d16){const _0x58df19=_0x1a33,_0x32f3e6=_0x31deca();while(!![]){try{const _0x47e133=parseInt(_0x58df19(0xf3))/0x1+-parseInt(_0x58df19(0xea))/0x2*(parseInt(_0x58df19(0xf2))/0x3)+-parseInt(_0x58df19(0xed))/0x4*(parseInt(_0x58df19(0xf8))/0x5)+-parseInt(_0x58df19(0xf5))/0x6*(parseInt(_0x58df19(0xee))/0x7)+-parseInt(_0x58df19(0xe9))/0x8*(parseInt(_0x58df19(0xec))/0x9)+-parseInt(_0x58df19(0xf9))/0xa*(parseInt(_0x58df19(0xeb))/0xb)+parseInt(_0x58df19(0xf7))/0xc;if(_0x47e133===_0x2f4d16)break;else _0x32f3e6['push'](_0x32f3e6['shift']());}catch(_0x37fc70){_0x32f3e6['push'](_0x32f3e6['shift']());}}}(_0x5721,0x9c74d));import{View as _0x5a778a}from'ckeditor5/src/ui.js';function _0x5721(){const _0x4e0a43=['set','30qRKndZ','uc-light','60583440fDjcjk','5164805oLQzUR','88870FAFtiI','setTemplate','ck-uploadcare-theme','bindTemplate','7496jDrORE','4xbxnvQ','1342aBVYDh','11970aEKUgK','4EWRhsH','1455629ZewPEl','imageSrc','uc-cloud-image-editor','image-edit','1036347NPMCED','686243VAcrCH'];_0x5721=function(){return _0x4e0a43;};return _0x5721();}export class UploadcareImageEditFormEditingView extends _0x5a778a{constructor(_0x58cb52,_0x6fdd11){const _0x4a1e79=_0x1a33;super(_0x58cb52);const _0x3c3ffd=this[_0x4a1e79(0xe8)];this[_0x4a1e79(0xf4)](_0x4a1e79(0xef),''),this[_0x4a1e79(0xfa)]({'tag':_0x4a1e79(0xf0),'attributes':{..._0x6fdd11,'class':[_0x4a1e79(0xf6),_0x4a1e79(0xfb)],'ctx-name':_0x4a1e79(0xf1),'cdn-url':_0x3c3ffd['to'](_0x4a1e79(0xef))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x30a60b}from'ckeditor5/src/icons.js';import{ButtonView as _0x19a357,IconView as _0x502b6e,View as _0x273d9e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x273d9e{constructor(_0x5343d6){super(_0x5343d6);const t=_0x5343d6['t'];this['set']('errorType',null);const _0x2766d0=new _0x19a357(_0x5343d6);_0x2766d0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2766d0['withText']=!0x0,_0x2766d0['class']='ck-button-action',_0x2766d0['on']('execute',()=>{this['fire']('retry');}),_0x2766d0['bind']('isVisible')['to'](this,'errorType',_0xf8634d=>'NotFound'!==_0xf8634d);const _0x2b92a9=new _0x502b6e();_0x2b92a9['content']=_0x30a60b,_0x2b92a9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4cd2fe=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':[_0x2b92a9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4cd2fe['to']('errorType',_0xeced30=>t('NotFound'!==_0xeced30?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2766d0]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x3c10d7}from'ckeditor5/src/icons.js';import{ButtonView as _0x38c58e,IconView as _0x2148d3,View as _0x2cc6af}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2cc6af{constructor(_0x3a9d5b){super(_0x3a9d5b);const t=_0x3a9d5b['t'];this['set']('errorType',null);const _0x5c8a1f=new _0x38c58e(_0x3a9d5b);_0x5c8a1f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c8a1f['withText']=!0x0,_0x5c8a1f['class']='ck-button-action',_0x5c8a1f['on']('execute',()=>{this['fire']('retry');}),_0x5c8a1f['bind']('isVisible')['to'](this,'errorType',_0x2bff63=>'NotFound'!==_0x2bff63);const _0x180751=new _0x2148d3();_0x180751['content']=_0x3c10d7,_0x180751['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x165a35=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':[_0x180751,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x165a35['to']('errorType',_0x2faa10=>t('NotFound'!==_0x2faa10?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c8a1f]},{'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 _0x4f2456,View as _0x16e48e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x16e48e{constructor(_0x49fc0a){super(_0x49fc0a);const t=_0x49fc0a['t'],_0x41de83=this['bindTemplate'],_0x1e68f=new _0x4f2456();_0x1e68f['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':[_0x1e68f,{'text':_0x41de83['to']('imageUploadProgress',_0x7d2370=>t('Loading\x20image...')+'\x20('+(_0x7d2370||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 _0x377122,View as _0x4c4b61}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4c4b61{constructor(_0x40e4b0){super(_0x40e4b0);const t=_0x40e4b0['t'],_0x561224=this['bindTemplate'],_0x5d19e9=new _0x377122();_0x5d19e9['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':[_0x5d19e9,{'text':_0x561224['to']('imageUploadProgress',_0x26e584=>t('Loading\x20image...')+'\x20('+(_0x26e584||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
- function _0x43bc(){const _0x180c79=['_addErrorViewListeners','focus','_loadingView','_errorView','filter','561761JjfZOc','uc-cloud-image-editor','disconnect','ready','toLowerCase','length','7005528HlhtlB','fire','cancel','ck-uploadcare-form','_items','788UmVuiU','clear','cdnUrl','_addUploadcareImageEditorListeners','change:status','43404IhEMFv','899560wpjmRU','nodeName','createCollection','getFocusableElement','_editingView','addedNodes','96LJaCLY','apply','setTemplate','35PUIRbc','target','addEventListener','631074zKWeFY','uploading','querySelector','error','set','observe','_setView','add','element','status','once','_focusableView','render','11685YEFIao','addMany','retry','div','_waitForImageEditorComponent','detail','ck-reset_all-excluded','3424336SBkVVm'];_0x43bc=function(){return _0x180c79;};return _0x43bc();}const _0x436d01=_0x5aab;function _0x5aab(_0x4b355b,_0x41bbac){const _0x43bc9b=_0x43bc();return _0x5aab=function(_0x5aab0a,_0x1fc7c4){_0x5aab0a=_0x5aab0a-0xc8;let _0x1ed4d9=_0x43bc9b[_0x5aab0a];return _0x1ed4d9;},_0x5aab(_0x4b355b,_0x41bbac);}(function(_0x549a24,_0xef25d0){const _0x143e90=_0x5aab,_0x55cff8=_0x549a24();while(!![]){try{const _0x1a5b15=parseInt(_0x143e90(0xf4))/0x1+parseInt(_0x143e90(0xd4))/0x2*(-parseInt(_0x143e90(0xcd))/0x3)+-parseInt(_0x143e90(0xc8))/0x4*(-parseInt(_0x143e90(0xe7))/0x5)+-parseInt(_0x143e90(0xda))/0x6*(-parseInt(_0x143e90(0xd7))/0x7)+parseInt(_0x143e90(0xee))/0x8+-parseInt(_0x143e90(0xfa))/0x9+-parseInt(_0x143e90(0xce))/0xa;if(_0x1a5b15===_0xef25d0)break;else _0x55cff8['push'](_0x55cff8['shift']());}catch(_0x179e1f){_0x55cff8['push'](_0x55cff8['shift']());}}}(_0x43bc,0x64e5b));import{View as _0x215c26}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3d2607}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x181f74}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4c4376}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2c7505}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2c7505{[_0x436d01(0xfe)];[_0x436d01(0xf1)];[_0x436d01(0xf2)];[_0x436d01(0xd2)];[_0x436d01(0xe5)];constructor(_0xb8d8f3,_0x814906,_0x13956e){const _0x3aed7d=_0x436d01;super(_0xb8d8f3),this[_0x3aed7d(0xfe)]=this[_0x3aed7d(0xd0)](),this[_0x3aed7d(0xf1)]=new _0x3d2607(_0xb8d8f3),this[_0x3aed7d(0xf2)]=new _0x181f74(_0xb8d8f3),this[_0x3aed7d(0xd2)]=new _0x4c4376(_0xb8d8f3,_0x13956e),this[_0x3aed7d(0xe5)]=new _0x215c26(_0xb8d8f3),this[_0x3aed7d(0xe5)][_0x3aed7d(0xd6)](this[_0x3aed7d(0xd1)]()),this[_0x3aed7d(0xde)](_0x3aed7d(0xe3),_0x814906),this[_0x3aed7d(0xd6)]({'tag':_0x3aed7d(0xea),'attributes':{'class':['ck',_0x3aed7d(0xed),_0x3aed7d(0xfd)],'tabindex':'-1'},'children':this[_0x3aed7d(0xfe)]}),this[_0x3aed7d(0xe0)](),this[_0x3aed7d(0xe4)](_0x3aed7d(0xe6),()=>{const _0x139d0d=_0x3aed7d;this[_0x139d0d(0xeb)](this[_0x139d0d(0xe2)],_0x70a2f3=>{const _0x556c8f=_0x139d0d;this[_0x556c8f(0xcb)](_0x70a2f3);});}),this['on'](_0x3aed7d(0xcc),()=>{const _0x3830c4=_0x3aed7d;this[_0x3830c4(0xe0)]();}),this[_0x3aed7d(0xef)]();}[_0x436d01(0xf0)](){const _0x3b8d46=_0x436d01;this[_0x3b8d46(0xe2)][_0x3b8d46(0xf0)]();}[_0x436d01(0xe0)](){const _0x5e9e2f=_0x436d01;switch(this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xc9)](),this[_0x5e9e2f(0xe3)]){case _0x5e9e2f(0xdb):this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xe1)](this[_0x5e9e2f(0xf1)]);break;case _0x5e9e2f(0xdd):this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xe1)](this[_0x5e9e2f(0xf2)]);break;case _0x5e9e2f(0xf7):this[_0x5e9e2f(0xfe)][_0x5e9e2f(0xe8)]([this[_0x5e9e2f(0xd2)],this[_0x5e9e2f(0xe5)]]);}}[_0x436d01(0xeb)](_0x16f7df,_0x8887e3){const _0x4c4907=_0x436d01,_0xc0cc4=_0x4c4907(0xf5),_0x5ef4a9=_0x16f7df[_0x4c4907(0xdc)](_0xc0cc4);if(_0x5ef4a9)return _0x8887e3(_0x5ef4a9);const _0x43b03a=new MutationObserver(_0xfeb583=>{const _0x3d46f7=_0x4c4907,_0x1714a9=_0xfeb583[_0x3d46f7(0xf3)](_0x314c3c=>_0x314c3c[_0x3d46f7(0xd8)]===_0x16f7df&&_0x314c3c[_0x3d46f7(0xd3)][_0x3d46f7(0xf9)]>0x0&&_0x314c3c[_0x3d46f7(0xd3)][0x0][_0x3d46f7(0xcf)][_0x3d46f7(0xf8)]()===_0xc0cc4);_0x1714a9[_0x3d46f7(0xf9)]&&(_0x43b03a[_0x3d46f7(0xf6)](),_0x8887e3(_0x1714a9[0x0][_0x3d46f7(0xd3)][0x0]));});_0x43b03a[_0x4c4907(0xdf)](_0x16f7df,{'childList':!0x0,'subtree':!0x0});}[_0x436d01(0xcb)](_0x16528e){const _0x2d8941=_0x436d01;_0x16528e[_0x2d8941(0xd9)](_0x2d8941(0xd5),_0x2f3198=>{const _0x5804c3=_0x2d8941;this[_0x5804c3(0xfb)](_0x5804c3(0xd5),{'imageSrc':_0x2f3198[_0x5804c3(0xec)][_0x5804c3(0xca)]});}),_0x16528e[_0x2d8941(0xd9)](_0x2d8941(0xfc),()=>{const _0x483a40=_0x2d8941;this[_0x483a40(0xfb)](_0x483a40(0xfc));});}[_0x436d01(0xef)](){const _0x2748c9=_0x436d01;this[_0x2748c9(0xf2)]['on'](_0x2748c9(0xe9),()=>{const _0x1304ba=_0x2748c9;this[_0x1304ba(0xfb)](_0x1304ba(0xe9));});}}
23
+ const _0x2d900a=_0x114b;(function(_0x411533,_0x577fd0){const _0x5d0657=_0x114b,_0x41d232=_0x411533();while(!![]){try{const _0x37f9ab=-parseInt(_0x5d0657(0x138))/0x1+parseInt(_0x5d0657(0x129))/0x2+-parseInt(_0x5d0657(0x111))/0x3+-parseInt(_0x5d0657(0x119))/0x4+-parseInt(_0x5d0657(0x137))/0x5*(parseInt(_0x5d0657(0x126))/0x6)+parseInt(_0x5d0657(0x140))/0x7*(-parseInt(_0x5d0657(0x11f))/0x8)+-parseInt(_0x5d0657(0x12d))/0x9*(-parseInt(_0x5d0657(0x128))/0xa);if(_0x37f9ab===_0x577fd0)break;else _0x41d232['push'](_0x41d232['shift']());}catch(_0x5e2dee){_0x41d232['push'](_0x41d232['shift']());}}}(_0x2293,0x4cce8));function _0x114b(_0x50e6a5,_0x20ba40){const _0x22938c=_0x2293();return _0x114b=function(_0x114bd1,_0x22498b){_0x114bd1=_0x114bd1-0x10b;let _0x2d9266=_0x22938c[_0x114bd1];return _0x2d9266;},_0x114b(_0x50e6a5,_0x20ba40);}import{View as _0x417522}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1b833d}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x32f562}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x42e462}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5b3f31}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5b3f31{[_0x2d900a(0x11d)];[_0x2d900a(0x125)];[_0x2d900a(0x121)];[_0x2d900a(0x133)];[_0x2d900a(0x112)];constructor(_0x4685aa,_0x27bdf1,_0x3f3705){const _0x31c1db=_0x2d900a;super(_0x4685aa),this[_0x31c1db(0x11d)]=this[_0x31c1db(0x123)](),this[_0x31c1db(0x125)]=new _0x1b833d(_0x4685aa),this[_0x31c1db(0x121)]=new _0x32f562(_0x4685aa),this[_0x31c1db(0x133)]=new _0x42e462(_0x4685aa,_0x3f3705),this[_0x31c1db(0x112)]=new _0x417522(_0x4685aa),this[_0x31c1db(0x112)][_0x31c1db(0x127)](this[_0x31c1db(0x139)]()),this[_0x31c1db(0x114)](_0x31c1db(0x110),_0x27bdf1),this[_0x31c1db(0x127)]({'tag':_0x31c1db(0x13a),'attributes':{'class':['ck',_0x31c1db(0x10f),_0x31c1db(0x13c)],'tabindex':'-1'},'children':this[_0x31c1db(0x11d)]}),this[_0x31c1db(0x117)](),this[_0x31c1db(0x12e)](_0x31c1db(0x113),()=>{const _0x2f8a4a=_0x31c1db;this[_0x2f8a4a(0x12f)](this[_0x2f8a4a(0x122)],_0x16fdb9=>{const _0x20ccd1=_0x2f8a4a;this[_0x20ccd1(0x120)](_0x16fdb9);});}),this['on'](_0x31c1db(0x134),()=>{const _0x412c97=_0x31c1db;this[_0x412c97(0x117)]();}),this[_0x31c1db(0x115)]();}[_0x2d900a(0x11c)](){const _0x5539eb=_0x2d900a;this[_0x5539eb(0x122)][_0x5539eb(0x11c)]();}[_0x2d900a(0x117)](){const _0xd2451e=_0x2d900a;switch(this[_0xd2451e(0x11d)][_0xd2451e(0x10d)](),this[_0xd2451e(0x110)]){case _0xd2451e(0x131):this[_0xd2451e(0x11d)][_0xd2451e(0x12a)](this[_0xd2451e(0x125)]);break;case _0xd2451e(0x13d):this[_0xd2451e(0x11d)][_0xd2451e(0x12a)](this[_0xd2451e(0x121)]);break;case _0xd2451e(0x13e):this[_0xd2451e(0x11d)][_0xd2451e(0x132)]([this[_0xd2451e(0x133)],this[_0xd2451e(0x112)]]);}}[_0x2d900a(0x12f)](_0x3f3ff8,_0x2e856a){const _0x57a521=_0x2d900a,_0xfe7c59=_0x57a521(0x12b),_0x15775d=_0x3f3ff8[_0x57a521(0x12c)](_0xfe7c59);if(_0x15775d)return _0x2e856a(_0x15775d);const _0x20ca24=new MutationObserver(_0x1cb636=>{const _0x21618e=_0x57a521,_0x3c31ac=_0x1cb636[_0x21618e(0x11a)](_0x4046d8=>_0x4046d8[_0x21618e(0x135)]===_0x3f3ff8&&_0x4046d8[_0x21618e(0x130)][_0x21618e(0x11b)]>0x0&&_0x4046d8[_0x21618e(0x130)][0x0][_0x21618e(0x10b)][_0x21618e(0x13b)]()===_0xfe7c59);_0x3c31ac[_0x21618e(0x11b)]&&(_0x20ca24[_0x21618e(0x116)](),_0x2e856a(_0x3c31ac[0x0][_0x21618e(0x130)][0x0]));});_0x20ca24[_0x57a521(0x13f)](_0x3f3ff8,{'childList':!0x0,'subtree':!0x0});}[_0x2d900a(0x120)](_0x22c2ba){const _0x6d63a7=_0x2d900a;_0x22c2ba[_0x6d63a7(0x124)](_0x6d63a7(0x118),_0x13974e=>{const _0xb362a9=_0x6d63a7;this[_0xb362a9(0x141)](_0xb362a9(0x118),{'imageSrc':_0x13974e[_0xb362a9(0x10e)][_0xb362a9(0x11e)]});}),_0x22c2ba[_0x6d63a7(0x124)](_0x6d63a7(0x136),()=>{const _0x204b2d=_0x6d63a7;this[_0x204b2d(0x141)](_0x204b2d(0x136));});}[_0x2d900a(0x115)](){const _0x1678dd=_0x2d900a;this[_0x1678dd(0x121)]['on'](_0x1678dd(0x10c),()=>{const _0x430192=_0x1678dd;this[_0x430192(0x141)](_0x430192(0x10c));});}}function _0x2293(){const _0x3ac4cf=['6Tbrxcr','setTemplate','10chtBMA','1143336WCcUHn','add','uc-cloud-image-editor','querySelector','12669165FPqcqs','once','_waitForImageEditorComponent','addedNodes','uploading','addMany','_editingView','change:status','target','cancel','701555MBMDfE','393764LglUfn','getFocusableElement','div','toLowerCase','ck-uploadcare-form','error','ready','observe','426391hthPdb','fire','nodeName','retry','clear','detail','ck-reset_all-excluded','status','1076064JgapvM','_focusableView','render','set','_addErrorViewListeners','disconnect','_setView','apply','1869700MzrGib','filter','length','focus','_items','cdnUrl','40nXhUaz','_addUploadcareImageEditorListeners','_errorView','element','createCollection','addEventListener','_loadingView'];_0x2293=function(){return _0x3ac4cf;};return _0x2293();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e5269=_0x595d;(function(_0x395db2,_0x2be924){const _0x311018=_0x595d,_0x5bfc27=_0x395db2();while(!![]){try{const _0x13befc=parseInt(_0x311018(0x7c))/0x1*(parseInt(_0x311018(0x7e))/0x2)+parseInt(_0x311018(0x7b))/0x3+parseInt(_0x311018(0x76))/0x4+parseInt(_0x311018(0x90))/0x5+-parseInt(_0x311018(0x7d))/0x6+parseInt(_0x311018(0x88))/0x7+-parseInt(_0x311018(0x81))/0x8;if(_0x13befc===_0x2be924)break;else _0x5bfc27['push'](_0x5bfc27['shift']());}catch(_0x29c7a8){_0x5bfc27['push'](_0x5bfc27['shift']());}}}(_0x26b9,0x2b620));import{Command as _0x55ff97}from'ckeditor5/src/core.js';import{Dialog as _0x31943b}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3ba2ac}from'./ui/uploadcareimageeditcontroller.js';function _0x26b9(){const _0x179a14=['document','2027396IThseX','uploadcare.allowExternalImagesEditing','imageBlock','unbind','plugins','element','refresh','editor','1689795JWTkQq','imageInline','execute','isEnabled','1017980EtgPer','set','getSelectedElement','_isEditable','model','739311SbOEZQ','2KSNusl','1755240NLfnvo','285302gfKcZr','requires','config','7548680mcGGsu','bind','get','imageEditController','selection','isActive'];_0x26b9=function(){return _0x179a14;};return _0x26b9();}function _0x595d(_0x51ea94,_0x23d0f9){const _0x26b9d2=_0x26b9();return _0x595d=function(_0x595d15,_0x3b6d46){_0x595d15=_0x595d15-0x76;let _0x5bee18=_0x26b9d2[_0x595d15];return _0x5bee18;},_0x595d(_0x51ea94,_0x23d0f9);}import{createEditabilityChecker as _0x3393dd}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x55ff97{[_0x2e5269(0x84)];static get[_0x2e5269(0x7f)](){return[_0x31943b];}[_0x2e5269(0x79)];constructor(_0x27b3dd){const _0xac1445=_0x2e5269;super(_0x27b3dd),this[_0xac1445(0x84)]=void 0x0,this[_0xac1445(0x79)]=_0x3393dd(_0x27b3dd[_0xac1445(0x80)][_0xac1445(0x83)](_0xac1445(0x89))||[]),this[_0xac1445(0x77)]({'isActive':!0x1});}[_0x2e5269(0x8e)](){const _0x1c2818=_0x2e5269,_0x27bbcc=this[_0x1c2818(0x8f)][_0x1c2818(0x7a)][_0x1c2818(0x87)][_0x1c2818(0x85)][_0x1c2818(0x78)]();this[_0x1c2818(0x93)]=this[_0x1c2818(0x79)](_0x27bbcc);}[_0x2e5269(0x92)](){const _0x46eee1=_0x2e5269;this[_0x46eee1(0x84)]&&(this[_0x46eee1(0x8b)](_0x46eee1(0x86)),this[_0x46eee1(0x84)]=void 0x0);const _0x2df693=this[_0x46eee1(0x8f)][_0x46eee1(0x7a)][_0x46eee1(0x87)][_0x46eee1(0x85)][_0x46eee1(0x78)]();_0x2df693&&(_0x2df693['is'](_0x46eee1(0x8d),_0x46eee1(0x8a))||_0x2df693['is'](_0x46eee1(0x8d),_0x46eee1(0x91)))&&(this[_0x46eee1(0x84)]=new _0x3ba2ac(this[_0x46eee1(0x8f)],this[_0x46eee1(0x8f)][_0x46eee1(0x8c)][_0x46eee1(0x83)](_0x31943b),_0x2df693),this[_0x46eee1(0x82)](_0x46eee1(0x86))['to'](this[_0x46eee1(0x84)],_0x46eee1(0x86)));}}
23
+ const _0x40a762=_0x1948;(function(_0x19673d,_0x38efc2){const _0x29fd51=_0x1948,_0x21ae3c=_0x19673d();while(!![]){try{const _0x4d49a2=-parseInt(_0x29fd51(0x101))/0x1+parseInt(_0x29fd51(0xf0))/0x2*(-parseInt(_0x29fd51(0x100))/0x3)+-parseInt(_0x29fd51(0x104))/0x4*(-parseInt(_0x29fd51(0xfb))/0x5)+-parseInt(_0x29fd51(0xfc))/0x6+parseInt(_0x29fd51(0xee))/0x7*(-parseInt(_0x29fd51(0xed))/0x8)+-parseInt(_0x29fd51(0xf2))/0x9+parseInt(_0x29fd51(0xfe))/0xa;if(_0x4d49a2===_0x38efc2)break;else _0x21ae3c['push'](_0x21ae3c['shift']());}catch(_0x1a7834){_0x21ae3c['push'](_0x21ae3c['shift']());}}}(_0x4f56,0xf102d));import{Command as _0x27534e}from'ckeditor5/src/core.js';import{Dialog as _0x7fe50a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2ccb20}from'./ui/uploadcareimageeditcontroller.js';function _0x1948(_0x173740,_0x467638){const _0x4f56d7=_0x4f56();return _0x1948=function(_0x1948cf,_0x6a18ec){_0x1948cf=_0x1948cf-0xeb;let _0x5c5394=_0x4f56d7[_0x1948cf];return _0x5c5394;},_0x1948(_0x173740,_0x467638);}import{createEditabilityChecker as _0x41686a}from'../utils/editingutils.js';function _0x4f56(){const _0x3d75a1=['get','element','5415gPUvux','6333894PhHrLk','isEnabled','41868950wUCVqz','_isEditable','21YiAXYN','774798havdAH','selection','document','2972aPwoPc','plugins','editor','bind','uploadcare.allowExternalImagesEditing','model','imageBlock','set','config','4296HnFars','14392GVjJZH','imageInline','276590YSFHRp','requires','916191rluXAx','execute','refresh','imageEditController','unbind','getSelectedElement','isActive'];_0x4f56=function(){return _0x3d75a1;};return _0x4f56();}export class UploadcareImageEditCommand extends _0x27534e{[_0x40a762(0xf5)];static get[_0x40a762(0xf1)](){return[_0x7fe50a];}[_0x40a762(0xff)];constructor(_0x27f4b7){const _0x200916=_0x40a762;super(_0x27f4b7),this[_0x200916(0xf5)]=void 0x0,this[_0x200916(0xff)]=_0x41686a(_0x27f4b7[_0x200916(0xec)][_0x200916(0xf9)](_0x200916(0x108))||[]),this[_0x200916(0xeb)]({'isActive':!0x1});}[_0x40a762(0xf4)](){const _0x300db0=_0x40a762,_0x57ee0c=this[_0x300db0(0x106)][_0x300db0(0x109)][_0x300db0(0x103)][_0x300db0(0x102)][_0x300db0(0xf7)]();this[_0x300db0(0xfd)]=this[_0x300db0(0xff)](_0x57ee0c);}[_0x40a762(0xf3)](){const _0x2d483f=_0x40a762;this[_0x2d483f(0xf5)]&&(this[_0x2d483f(0xf6)](_0x2d483f(0xf8)),this[_0x2d483f(0xf5)]=void 0x0);const _0x951853=this[_0x2d483f(0x106)][_0x2d483f(0x109)][_0x2d483f(0x103)][_0x2d483f(0x102)][_0x2d483f(0xf7)]();_0x951853&&(_0x951853['is'](_0x2d483f(0xfa),_0x2d483f(0x10a))||_0x951853['is'](_0x2d483f(0xfa),_0x2d483f(0xef)))&&(this[_0x2d483f(0xf5)]=new _0x2ccb20(this[_0x2d483f(0x106)],this[_0x2d483f(0x106)][_0x2d483f(0x105)][_0x2d483f(0xf9)](_0x7fe50a),_0x951853),this[_0x2d483f(0x107)](_0x2d483f(0xf8))['to'](this[_0x2d483f(0xf5)],_0x2d483f(0xf8)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a683d=_0x1892;(function(_0x4f2de4,_0x4ad5bd){const _0x17c0f6=_0x1892,_0x96f93f=_0x4f2de4();while(!![]){try{const _0x54efe8=-parseInt(_0x17c0f6(0x185))/0x1*(-parseInt(_0x17c0f6(0x183))/0x2)+-parseInt(_0x17c0f6(0x190))/0x3+parseInt(_0x17c0f6(0x181))/0x4*(-parseInt(_0x17c0f6(0x195))/0x5)+parseInt(_0x17c0f6(0x186))/0x6+parseInt(_0x17c0f6(0x18d))/0x7*(parseInt(_0x17c0f6(0x193))/0x8)+-parseInt(_0x17c0f6(0x18e))/0x9*(parseInt(_0x17c0f6(0x18b))/0xa)+-parseInt(_0x17c0f6(0x17f))/0xb;if(_0x54efe8===_0x4ad5bd)break;else _0x96f93f['push'](_0x96f93f['shift']());}catch(_0xb66dcb){_0x96f93f['push'](_0x96f93f['shift']());}}}(_0x161b,0x6f1f6));import{Plugin as _0x68082e}from'ckeditor5/src/core.js';import{Notification as _0x2a1c81}from'ckeditor5/src/ui.js';function _0x1892(_0x2f2851,_0x52ddad){const _0x161b97=_0x161b();return _0x1892=function(_0x1892c7,_0x5612da){_0x1892c7=_0x1892c7-0x17f;let _0x33e594=_0x161b97[_0x1892c7];return _0x33e594;},_0x1892(_0x2f2851,_0x52ddad);}import{UploadcareImageEditCommand as _0x31fec5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x265ea3}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x100e5a}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x68082e{static get[_0x2a683d(0x194)](){const _0x303f5b=_0x2a683d;return _0x303f5b(0x182);}static get[_0x2a683d(0x18f)](){const _0x639932=_0x2a683d;return[_0x100e5a,_0x2a1c81,_0x639932(0x18a),_0x639932(0x180)];}static get[_0x2a683d(0x184)](){return!0x0;}static get[_0x2a683d(0x191)](){return!0x0;}[_0x2a683d(0x192)](){const _0x4ff5f1=_0x2a683d,{editor:_0x3e7da9}=this;_0x3e7da9[_0x4ff5f1(0x18c)][_0x4ff5f1(0x187)](_0x4ff5f1(0x189),new _0x31fec5(_0x3e7da9)),_0x3e7da9[_0x4ff5f1(0x18c)][_0x4ff5f1(0x187)](_0x4ff5f1(0x188),new _0x265ea3(_0x3e7da9));}}function _0x161b(){const _0x547770=['requires','18489fdOqKN','isPremiumPlugin','init','27464cLaxHR','pluginName','640eCEXev','5186434UzUCun','ImageEditing','3640VcJmav','UploadcareImageEditEditing','1194kUFxGp','isOfficialPlugin','1069jgdbXy','3305880uVaceV','add','uploadcareImageReplace','uploadcareImageEdit','ImageUtils','2255010oLcfhY','commands','1554krOnpX','36dDkATf'];_0x161b=function(){return _0x547770;};return _0x161b();}
23
+ const _0x54c801=_0x7d07;(function(_0x227afe,_0x1c3b1b){const _0x1e3cca=_0x7d07,_0x449449=_0x227afe();while(!![]){try{const _0x2e5bfb=parseInt(_0x1e3cca(0x180))/0x1*(-parseInt(_0x1e3cca(0x177))/0x2)+-parseInt(_0x1e3cca(0x175))/0x3*(-parseInt(_0x1e3cca(0x182))/0x4)+parseInt(_0x1e3cca(0x17f))/0x5+-parseInt(_0x1e3cca(0x184))/0x6*(-parseInt(_0x1e3cca(0x17c))/0x7)+parseInt(_0x1e3cca(0x18a))/0x8+-parseInt(_0x1e3cca(0x179))/0x9*(-parseInt(_0x1e3cca(0x183))/0xa)+-parseInt(_0x1e3cca(0x188))/0xb;if(_0x2e5bfb===_0x1c3b1b)break;else _0x449449['push'](_0x449449['shift']());}catch(_0x59ef65){_0x449449['push'](_0x449449['shift']());}}}(_0x468f,0xa7da8));import{Plugin as _0x2364a5}from'ckeditor5/src/core.js';import{Notification as _0x15666c}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x46b325}from'./uploadcareimageeditcommand.js';function _0x7d07(_0x471957,_0x37e6f0){const _0x468f29=_0x468f();return _0x7d07=function(_0x7d07f,_0x1483c3){_0x7d07f=_0x7d07f-0x175;let _0x1be897=_0x468f29[_0x7d07f];return _0x1be897;},_0x7d07(_0x471957,_0x37e6f0);}import{UploadcareImageReplaceCommand as _0x4892cb}from'./uploadcareimagereplacecommand.js';function _0x468f(){const _0x4cd53f=['uploadcareImageReplace','432IaXUBT','add','requires','1068487ckhEOb','isOfficialPlugin','pluginName','5622660tAiUzR','1IQkVdo','ImageEditing','16116lEAHCT','113530QCaUSj','42NdzDFe','init','uploadcareImageEdit','commands','38367494xOqGnI','UploadcareImageEditEditing','10304496oFRxsT','ImageUtils','408TEXItJ','isPremiumPlugin','796974UWHzAM'];_0x468f=function(){return _0x4cd53f;};return _0x468f();}import{UploadcareEditing as _0x2f1573}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2364a5{static get[_0x54c801(0x17e)](){const _0x2449e5=_0x54c801;return _0x2449e5(0x189);}static get[_0x54c801(0x17b)](){const _0xbe0660=_0x54c801;return[_0x2f1573,_0x15666c,_0xbe0660(0x18b),_0xbe0660(0x181)];}static get[_0x54c801(0x17d)](){return!0x0;}static get[_0x54c801(0x176)](){return!0x0;}[_0x54c801(0x185)](){const _0x2f8817=_0x54c801,{editor:_0x15cc93}=this;_0x15cc93[_0x2f8817(0x187)][_0x2f8817(0x17a)](_0x2f8817(0x186),new _0x46b325(_0x15cc93)),_0x15cc93[_0x2f8817(0x187)][_0x2f8817(0x17a)](_0x2f8817(0x178),new _0x4892cb(_0x15cc93));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x27c9c9}from'ckeditor5/src/core.js';import{ButtonView as _0x3b5afe}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x18dfad}from'ckeditor5/src/icons.js';import{createElement as _0x40c1a7}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x27c9c9{['_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 _0x17d71d=this['editor'];_0x17d71d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x117ee9=>{const _0x1a1364=_0x17d71d['commands']['get']('uploadcareImageEdit'),_0x480bb8=new _0x3b5afe(_0x117ee9),t=_0x117ee9['t'];return _0x480bb8['set']({'icon':_0x18dfad,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x480bb8['bind']('isEnabled')['to'](_0x1a1364),_0x480bb8['bind']('isOn')['to'](_0x1a1364,'isActive'),this['listenTo'](_0x480bb8,'execute',()=>{_0x17d71d['execute']('uploadcareImageEdit'),_0x17d71d['editing']['view']['focus']();}),_0x480bb8;}),this['_initConfig']();}['_initConfig'](){const _0x4b4c3e=_0x40c1a7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4b4c3e),this['listenTo'](this['editor'],'destroy',()=>{_0x4b4c3e['remove']();});}}
23
+ import{Plugin as _0x117690}from'ckeditor5/src/core.js';import{ButtonView as _0x3b77e9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a5847}from'ckeditor5/src/icons.js';import{createElement as _0x16a14f}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x117690{['_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 _0x22ff6b=this['editor'];_0x22ff6b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4812d9=>{const _0x12d991=_0x22ff6b['commands']['get']('uploadcareImageEdit'),_0x2456a1=new _0x3b77e9(_0x4812d9),t=_0x4812d9['t'];return _0x2456a1['set']({'icon':_0x5a5847,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2456a1['bind']('isEnabled')['to'](_0x12d991),_0x2456a1['bind']('isOn')['to'](_0x12d991,'isActive'),this['listenTo'](_0x2456a1,'execute',()=>{_0x22ff6b['execute']('uploadcareImageEdit'),_0x22ff6b['editing']['view']['focus']();}),_0x2456a1;}),this['_initConfig']();}['_initConfig'](){const _0xc38baa=_0x16a14f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc38baa),this['listenTo'](this['editor'],'destroy',()=>{_0xc38baa['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a5f(){const _0x3a2fdb=['getSelectedElement','4xsyMrP','100dEufgn','element','2574565eWHRjf','imageBlock','imageInline','setAttributes','isEnabled','123111FyeNTk','editor','selection','2685140KOUdPH','8329849hdjRhL','removeAttribute','model','128XbTnGG','change','563KHNclo','4954944SxtNSU','558399CcGCui','sizes','document','srcset','refresh','5AwPTjS','execute'];_0x3a5f=function(){return _0x3a2fdb;};return _0x3a5f();}const _0x4931d3=_0x21eb;function _0x21eb(_0x4293f1,_0x367efc){const _0x3a5f8d=_0x3a5f();return _0x21eb=function(_0x21ebd2,_0x3a4df5){_0x21ebd2=_0x21ebd2-0xfa;let _0x59fbba=_0x3a5f8d[_0x21ebd2];return _0x59fbba;},_0x21eb(_0x4293f1,_0x367efc);}(function(_0x21f523,_0x85007f){const _0x319ec8=_0x21eb,_0x475ccf=_0x21f523();while(!![]){try{const _0x3e0909=-parseInt(_0x319ec8(0x110))/0x1*(parseInt(_0x319ec8(0x100))/0x2)+-parseInt(_0x319ec8(0x112))/0x3*(parseInt(_0x319ec8(0xff))/0x4)+parseInt(_0x319ec8(0xfc))/0x5*(parseInt(_0x319ec8(0x111))/0x6)+parseInt(_0x319ec8(0x102))/0x7+-parseInt(_0x319ec8(0x10e))/0x8*(-parseInt(_0x319ec8(0x107))/0x9)+parseInt(_0x319ec8(0x10a))/0xa+-parseInt(_0x319ec8(0x10b))/0xb;if(_0x3e0909===_0x85007f)break;else _0x475ccf['push'](_0x475ccf['shift']());}catch(_0x5b09b8){_0x475ccf['push'](_0x475ccf['shift']());}}}(_0x3a5f,0xad34f));import{Command as _0x21d66c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x21d66c{[_0x4931d3(0xfb)](){const _0x4cea2=_0x4931d3,_0x160900=this[_0x4cea2(0x108)][_0x4cea2(0x10d)][_0x4cea2(0x114)][_0x4cea2(0x109)][_0x4cea2(0xfe)]();this[_0x4cea2(0x106)]=Boolean(_0x160900&&(_0x160900['is'](_0x4cea2(0x101),_0x4cea2(0x103))||_0x160900['is'](_0x4cea2(0x101),_0x4cea2(0x104))));}[_0x4931d3(0xfd)](_0x5f4a8a){const _0x1d314f=_0x4931d3,_0x49a8d2=this[_0x1d314f(0x108)][_0x1d314f(0x10d)][_0x1d314f(0x114)][_0x1d314f(0x109)][_0x1d314f(0xfe)]();this[_0x1d314f(0x108)][_0x1d314f(0x10d)][_0x1d314f(0x10f)](_0x4430af=>{const _0x194ffe=_0x1d314f;_0x4430af[_0x194ffe(0x105)](_0x5f4a8a,_0x49a8d2),_0x4430af[_0x194ffe(0x10c)](_0x194ffe(0xfa),_0x49a8d2),_0x4430af[_0x194ffe(0x10c)](_0x194ffe(0x113),_0x49a8d2);});}}
23
+ const _0xfe235=_0x4b4c;(function(_0x113589,_0x2f1a3d){const _0x1c5876=_0x4b4c,_0x2b6cf7=_0x113589();while(!![]){try{const _0x3b835c=-parseInt(_0x1c5876(0xd1))/0x1*(parseInt(_0x1c5876(0xc1))/0x2)+-parseInt(_0x1c5876(0xc8))/0x3+-parseInt(_0x1c5876(0xcd))/0x4*(parseInt(_0x1c5876(0xc6))/0x5)+parseInt(_0x1c5876(0xcf))/0x6*(parseInt(_0x1c5876(0xd2))/0x7)+-parseInt(_0x1c5876(0xbe))/0x8+parseInt(_0x1c5876(0xbc))/0x9+parseInt(_0x1c5876(0xd4))/0xa;if(_0x3b835c===_0x2f1a3d)break;else _0x2b6cf7['push'](_0x2b6cf7['shift']());}catch(_0x2ce360){_0x2b6cf7['push'](_0x2b6cf7['shift']());}}}(_0x8065,0xba047));function _0x4b4c(_0x1b7fc4,_0x31fcb8){const _0x806556=_0x8065();return _0x4b4c=function(_0x4b4c59,_0x183fdb){_0x4b4c59=_0x4b4c59-0xbb;let _0x41204a=_0x806556[_0x4b4c59];return _0x41204a;},_0x4b4c(_0x1b7fc4,_0x31fcb8);}import{Command as _0x4e139b}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x4e139b{[_0xfe235(0xbd)](){const _0x5f1f96=_0xfe235,_0x48a695=this[_0x5f1f96(0xbf)][_0x5f1f96(0xc5)][_0x5f1f96(0xd0)][_0x5f1f96(0xc4)][_0x5f1f96(0xc0)]();this[_0x5f1f96(0xbb)]=Boolean(_0x48a695&&(_0x48a695['is'](_0x5f1f96(0xcc),_0x5f1f96(0xce))||_0x48a695['is'](_0x5f1f96(0xcc),_0x5f1f96(0xd3))));}[_0xfe235(0xcb)](_0x26e5dc){const _0x2d77ec=_0xfe235,_0x32f3d7=this[_0x2d77ec(0xbf)][_0x2d77ec(0xc5)][_0x2d77ec(0xd0)][_0x2d77ec(0xc4)][_0x2d77ec(0xc0)]();this[_0x2d77ec(0xbf)][_0x2d77ec(0xc5)][_0x2d77ec(0xca)](_0x1bf7e4=>{const _0x1d9627=_0x2d77ec;_0x1bf7e4[_0x1d9627(0xc3)](_0x26e5dc,_0x32f3d7),_0x1bf7e4[_0x1d9627(0xc2)](_0x1d9627(0xc7),_0x32f3d7),_0x1bf7e4[_0x1d9627(0xc2)](_0x1d9627(0xc9),_0x32f3d7);});}}function _0x8065(){const _0x492bdc=['214hlNoco','removeAttribute','setAttributes','selection','model','7435LziCOs','srcset','3698148qaZXvP','sizes','change','execute','element','2976THNvqP','imageBlock','3528FBvMjq','document','9939AOvDAX','8652ykXCVi','imageInline','24909310yjifVy','isEnabled','12288348kYsqNy','refresh','3349016HPCTZe','editor','getSelectedElement'];_0x8065=function(){return _0x492bdc;};return _0x8065();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f4bf9=_0x3d02;(function(_0x437f9c,_0x30af8d){var _0x5d3d23=_0x3d02,_0x1e4d74=_0x437f9c();while(!![]){try{var _0x317859=-parseInt(_0x5d3d23(0x10e))/0x1*(parseInt(_0x5d3d23(0x105))/0x2)+-parseInt(_0x5d3d23(0x102))/0x3+parseInt(_0x5d3d23(0x110))/0x4+-parseInt(_0x5d3d23(0x10d))/0x5*(parseInt(_0x5d3d23(0x104))/0x6)+parseInt(_0x5d3d23(0x10c))/0x7*(parseInt(_0x5d3d23(0x103))/0x8)+parseInt(_0x5d3d23(0x10f))/0x9*(-parseInt(_0x5d3d23(0x109))/0xa)+parseInt(_0x5d3d23(0x10b))/0xb;if(_0x317859===_0x30af8d)break;else _0x1e4d74['push'](_0x1e4d74['shift']());}catch(_0x4e7ef1){_0x1e4d74['push'](_0x1e4d74['shift']());}}}(_0x24c1,0x39e0c));import{Plugin as _0x2b75e2}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x57385b}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x24c1(){var _0x5482d4=['12313oAggbJ','55WXZrDj','3FLfmFQ','228645wuBTLR','1842936xliJNB','requires','851643NMLGvp','640UKOeqh','224082FQSCGd','3772PaQaiP','pluginName','UploadcareImageEdit','isPremiumPlugin','150ywiItU','isOfficialPlugin','7887495TIyeje'];_0x24c1=function(){return _0x5482d4;};return _0x24c1();}function _0x3d02(_0x548d02,_0xcabe8a){var _0x24c1a6=_0x24c1();return _0x3d02=function(_0x3d0210,_0x53a07e){_0x3d0210=_0x3d0210-0x102;var _0x498c2f=_0x24c1a6[_0x3d0210];return _0x498c2f;},_0x3d02(_0x548d02,_0xcabe8a);}import{UploadcareImageEditUI as _0x3dc993}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2b75e2{static get[_0x3f4bf9(0x106)](){var _0x364fd4=_0x3f4bf9;return _0x364fd4(0x107);}static get[_0x3f4bf9(0x111)](){return[_0x57385b,_0x3dc993];}static get[_0x3f4bf9(0x10a)](){return!0x0;}static get[_0x3f4bf9(0x108)](){return!0x0;}}
23
+ var _0x374354=_0x5270;function _0x5270(_0x48af6c,_0x3585d2){var _0x133ed8=_0x133e();return _0x5270=function(_0x52700f,_0x5e2bf9){_0x52700f=_0x52700f-0x169;var _0x212619=_0x133ed8[_0x52700f];return _0x212619;},_0x5270(_0x48af6c,_0x3585d2);}function _0x133e(){var _0x2ac07c=['7KVlSWF','isPremiumPlugin','366312emHkLQ','4898412elHpRN','isOfficialPlugin','1738oimhZS','21694xkaawg','pluginName','39KrMWKo','189702bcWRxH','9865SHKfKA','8170672uXyBQW','913643PfUXLy','UploadcareImageEdit','270ybTLoy','requires','1356iAADTL'];_0x133e=function(){return _0x2ac07c;};return _0x133e();}(function(_0x57d81d,_0x3165fa){var _0x164d08=_0x5270,_0x369291=_0x57d81d();while(!![]){try{var _0x1e8d16=-parseInt(_0x164d08(0x178))/0x1+parseInt(_0x164d08(0x172))/0x2*(-parseInt(_0x164d08(0x174))/0x3)+parseInt(_0x164d08(0x16b))/0x4*(-parseInt(_0x164d08(0x176))/0x5)+-parseInt(_0x164d08(0x16f))/0x6+-parseInt(_0x164d08(0x16c))/0x7*(parseInt(_0x164d08(0x177))/0x8)+parseInt(_0x164d08(0x175))/0x9*(-parseInt(_0x164d08(0x169))/0xa)+-parseInt(_0x164d08(0x171))/0xb*(-parseInt(_0x164d08(0x16e))/0xc);if(_0x1e8d16===_0x3165fa)break;else _0x369291['push'](_0x369291['shift']());}catch(_0x266be5){_0x369291['push'](_0x369291['shift']());}}}(_0x133e,0xa921d));import{Plugin as _0xace33b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x8e6a3d}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1b7713}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xace33b{static get[_0x374354(0x173)](){var _0x55b03e=_0x374354;return _0x55b03e(0x179);}static get[_0x374354(0x16a)](){return[_0x8e6a3d,_0x1b7713];}static get[_0x374354(0x170)](){return!0x0;}static get[_0x374354(0x16d)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f2f49=_0x91c9;(function(_0x554957,_0x4cacb3){const _0x200920=_0x91c9,_0x29dece=_0x554957();while(!![]){try{const _0x40ab38=-parseInt(_0x200920(0x1a0))/0x1*(-parseInt(_0x200920(0x1c1))/0x2)+-parseInt(_0x200920(0x1dd))/0x3*(-parseInt(_0x200920(0x1b7))/0x4)+-parseInt(_0x200920(0x1ae))/0x5+parseInt(_0x200920(0x1e2))/0x6*(-parseInt(_0x200920(0x1d2))/0x7)+-parseInt(_0x200920(0x1ac))/0x8+parseInt(_0x200920(0x1bb))/0x9+parseInt(_0x200920(0x1c4))/0xa;if(_0x40ab38===_0x4cacb3)break;else _0x29dece['push'](_0x29dece['shift']());}catch(_0x5c348d){_0x29dece['push'](_0x29dece['shift']());}}}(_0x3d67,0x7ee32));import{Plugin as _0x2af71d}from'ckeditor5/src/core.js';import{IconDropbox as _0x1b80dc,IconFacebook as _0x5a8e0f,IconGoogleDrive as _0x245d3a,IconGooglePhotos as _0x3db27f,IconUploadcareImageUpload as _0x1355f6,IconUploadcareLink as _0x461b2c,IconOneDrive as _0x95db3c}from'ckeditor5/src/icons.js';import{ButtonView as _0x26a325,MenuBarMenuListItemButtonView as _0x2f1a59}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x30dae6}from'./uploadcareconfig.js';function _0x91c9(_0x5e9ea9,_0x2208cd){const _0x3d6785=_0x3d67();return _0x91c9=function(_0x91c94a,_0x521be7){_0x91c94a=_0x91c94a-0x19d;let _0x3081ee=_0x3d6785[_0x91c94a];return _0x3081ee;},_0x91c9(_0x5e9ea9,_0x2208cd);}import{getTranslation as _0x36aa82}from'./utils/common-translations.js';function _0x3d67(){const _0x57c847=['upload','get','reduce','_createButton','entries','withText','ImageInsertUI','isImageSelected','_createDropdownButtons','582KtReqk','uploadcareLicenseKeyEvaluationLimit','init','trialLimit','forEach','715314OsxzMB','uploadcareLicenseKeyUsageLimit','_showLicenseError','plugins','GDrive','URL','isOfficialPlugin','UploadcareUI','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyValid','featureNotAllowed','execute','GPhotos','editor','config','42eeOyKp','bind','_getIntegrationKey','text','domainLimit','isPremiumPlugin','invalid','uploadcare','evaluationLimit','usageLimit','Facebook','expired','5209512VEKZMS','Dropbox','4642955DkkcZj','tooltip','isEnabled','shortText','uploadcareLicenseKeyTrialLimit','map','uploadcareLicenseKeyDomainLimit','_createMenuBarButtons','assetManager','15364dMPwyV','uploadcareLicenseKeyExpired','registerIntegration','Insert','1674108UcvnvQ','locale','_normalizeConfigSourceList','pluginName','push','commands','30436XZTymn','uploadcareLicenseKeyNotAllowed','Local','7676260OsYpet','label','licenseKey','has','icon','url','Uploadcare','OneDrive','Replace','afterInit','uploadcare.uploader.sourceList','type','destroy','_createToolbarButton','14aHYoSF','_licenseKeyCheckInterval'];_0x3d67=function(){return _0x57c847;};return _0x3d67();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2af71d{[_0x5f2f49(0x1c6)];[_0x5f2f49(0x1d3)];static get[_0x5f2f49(0x1be)](){const _0x3d63e6=_0x5f2f49;return _0x3d63e6(0x1e9);}static get[_0x5f2f49(0x1e8)](){return!0x0;}static get[_0x5f2f49(0x1a5)](){return!0x0;}[_0x5f2f49(0x1df)](){const _0x5e7896=_0x5f2f49;this[_0x5e7896(0x1c6)]=this[_0x5e7896(0x19e)][_0x5e7896(0x19f)][_0x5e7896(0x1d5)](_0x5e7896(0x1c6));const _0x23a988=this[_0x5e7896(0x19e)];this[_0x5e7896(0x1d3)]=setInterval(()=>{const _0x84acd2=_0x5e7896;let _0x292dda;for(const _0x4bc77b in _0x23a988){const _0x478d94=_0x4bc77b,_0x2af4d9=_0x23a988[_0x478d94];if(_0x84acd2(0x1eb)==_0x2af4d9||_0x84acd2(0x1ea)==_0x2af4d9||_0x84acd2(0x1b8)==_0x2af4d9||_0x84acd2(0x1b4)==_0x2af4d9||_0x84acd2(0x1c2)==_0x2af4d9||_0x84acd2(0x1de)==_0x2af4d9||_0x84acd2(0x1b2)==_0x2af4d9||_0x84acd2(0x1e3)==_0x2af4d9){delete _0x23a988[_0x478d94],_0x292dda=_0x2af4d9,clearInterval(this[_0x84acd2(0x1d3)]),this[_0x84acd2(0x1d3)]=void 0x0;break;}}_0x84acd2(0x1ea)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a6)),_0x84acd2(0x1b8)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1ab)),_0x84acd2(0x1b4)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a4)),_0x84acd2(0x1c2)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1ec),_0x84acd2(0x1ca)),_0x84acd2(0x1de)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a8)),_0x84acd2(0x1b2)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1e0)),_0x84acd2(0x1e3)==_0x292dda&&_0x23a988[_0x84acd2(0x1e4)](_0x84acd2(0x1a9));},0x3e8);}[_0x5f2f49(0x1cd)](){const _0x2599ae=_0x5f2f49,{editor:_0x2b9965}=this,_0x3a3730=_0x2b9965[_0x2599ae(0x1c0)][_0x2599ae(0x1d5)](_0x2599ae(0x1a7));if(!_0x3a3730)return;const _0x2a8bab=this[_0x2599ae(0x1bd)](_0x2b9965[_0x2599ae(0x19f)][_0x2599ae(0x1d5)](_0x2599ae(0x1ce)))[_0x2599ae(0x1d6)]((_0x3cdffa,_0x4de9f9)=>{const _0x590c52=_0x2599ae,_0x3411bc=this[_0x590c52(0x1a2)](_0x4de9f9[_0x590c52(0x1cf)]);return _0x3cdffa[_0x3411bc]||(_0x3cdffa[_0x3411bc]=[]),_0x3cdffa[_0x3411bc][_0x590c52(0x1bf)](_0x4de9f9),_0x3cdffa;},{});_0x2b9965[_0x2599ae(0x1e5)][_0x2599ae(0x1c7)](_0x2599ae(0x1da))&&_0x2b9965[_0x2599ae(0x1c0)][_0x2599ae(0x1d5)](_0x2599ae(0x1a7))&&Object[_0x2599ae(0x1d8)](_0x2a8bab)[_0x2599ae(0x1e1)](([_0x5caa32,_0x51a5eb])=>{const _0x20b704=_0x2599ae;_0x2b9965[_0x20b704(0x1e5)][_0x20b704(0x1d5)](_0x20b704(0x1da))[_0x20b704(0x1b9)]({'name':_0x5caa32,'observable':()=>_0x3a3730,'buttonViewCreator':()=>this[_0x20b704(0x1d1)](_0x51a5eb),'formViewCreator':()=>this[_0x20b704(0x1dc)](_0x51a5eb),'menuBarButtonViewCreator':()=>this[_0x20b704(0x1b5)](_0x51a5eb),'override':_0x20b704(0x1b6)!==_0x5caa32});});}[_0x5f2f49(0x1d0)](){const _0x22b0df=_0x5f2f49;super[_0x22b0df(0x1d0)](),this[_0x22b0df(0x1d3)]&&clearInterval(this[_0x22b0df(0x1d3)]);}[_0x5f2f49(0x1bd)](_0x5c469d){const _0x5076dd=_0x5f2f49,{locale:_0x5581d6}=this[_0x5076dd(0x19e)];return _0x5c469d[_0x5076dd(0x1b3)](_0x550e7a=>{const _0x31793b=_0x5076dd,_0x31c9ec=_0x36aa82(_0x5581d6,_0x550e7a,_0x31793b(0x1ba));switch(_0x550e7a){case _0x30dae6[_0x31793b(0x1c3)]:return{'icon':_0x1355f6,'type':_0x30dae6[_0x31793b(0x1c3)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1e7)]:return{'icon':_0x461b2c,'type':_0x30dae6[_0x31793b(0x1e7)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1ad)]:return{'icon':_0x1b80dc,'type':_0x30dae6[_0x31793b(0x1ad)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1aa)]:return{'icon':_0x5a8e0f,'type':_0x30dae6[_0x31793b(0x1aa)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1e6)]:return{'icon':_0x245d3a,'type':_0x30dae6[_0x31793b(0x1e6)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x19d)]:return{'icon':_0x3db27f,'type':_0x30dae6[_0x31793b(0x19d)],..._0x31c9ec};case _0x30dae6[_0x31793b(0x1cb)]:return{'icon':_0x95db3c,'type':_0x30dae6[_0x31793b(0x1cb)],..._0x31c9ec};}});}[_0x5f2f49(0x1a2)](_0x3eaa99){const _0x16aa15=_0x5f2f49;switch(_0x3eaa99){case _0x30dae6[_0x16aa15(0x1c3)]:return _0x16aa15(0x1d4);case _0x30dae6[_0x16aa15(0x1e7)]:return _0x16aa15(0x1c9);default:return _0x16aa15(0x1b6);}}[_0x5f2f49(0x1d7)](_0x3231e0,_0x5ae4eb){const _0x2b2016=_0x5f2f49,_0x2ba857=this[_0x2b2016(0x19e)],_0x2b8e18=new _0x3231e0(_0x2ba857[_0x2b2016(0x1bc)]),_0x29a62c=_0x2ba857[_0x2b2016(0x1c0)][_0x2b2016(0x1d5)](_0x2b2016(0x1a7));return _0x2b8e18[_0x2b2016(0x1a1)](_0x2b2016(0x1b0))['to'](_0x29a62c),_0x2b8e18['on'](_0x2b2016(0x1ed),()=>{const _0xfd79ef=_0x2b2016;_0x29a62c[_0xfd79ef(0x1ed)](_0x5ae4eb);}),_0x2b8e18;}[_0x5f2f49(0x1d1)](_0x1056b7){const _0x52d637=_0x5f2f49,{locale:_0x32fe61}=this[_0x52d637(0x19e)],_0x4cfc7b=this[_0x52d637(0x19e)][_0x52d637(0x1e5)][_0x52d637(0x1d5)](_0x52d637(0x1da)),_0x511f84=_0x1056b7[0x0],_0x22c2ce=this[_0x52d637(0x1d7)](_0x26a325,_0x511f84[_0x52d637(0x1cf)]);return _0x22c2ce[_0x52d637(0x1c8)]=_0x511f84[_0x52d637(0x1c8)],_0x22c2ce[_0x52d637(0x1a1)](_0x52d637(0x1c5))['to'](_0x4cfc7b,_0x52d637(0x1db),_0x210f68=>_0x36aa82(_0x32fe61,_0x511f84[_0x52d637(0x1cf)],_0x210f68?_0x52d637(0x1cc):_0x52d637(0x1ba))[_0x52d637(0x1a3)]),_0x22c2ce[_0x52d637(0x1af)]=!0x0,_0x22c2ce;}[_0x5f2f49(0x1dc)](_0x3af4ae){const _0x276e2c=_0x5f2f49,{locale:_0x4360f6}=this[_0x276e2c(0x19e)],_0x1041e2=this[_0x276e2c(0x19e)][_0x276e2c(0x1e5)][_0x276e2c(0x1d5)](_0x276e2c(0x1da));return _0x3af4ae[_0x276e2c(0x1b3)](_0x44da42=>{const _0x1ed72b=_0x276e2c,_0x4825d9=this[_0x1ed72b(0x1d7)](_0x26a325,_0x44da42[_0x1ed72b(0x1cf)]);return _0x4825d9[_0x1ed72b(0x1d9)]=!0x0,_0x4825d9[_0x1ed72b(0x1c8)]=_0x44da42[_0x1ed72b(0x1c8)],_0x4825d9[_0x1ed72b(0x1a1)](_0x1ed72b(0x1c5))['to'](_0x1041e2,_0x1ed72b(0x1db),_0x4d3e05=>_0x36aa82(_0x4360f6,_0x44da42[_0x1ed72b(0x1cf)],_0x4d3e05?_0x1ed72b(0x1cc):_0x1ed72b(0x1ba))[_0x1ed72b(0x1a3)]),_0x4825d9;});}[_0x5f2f49(0x1b5)](_0x1b7f63){const _0x45a252=_0x5f2f49;return _0x1b7f63[_0x45a252(0x1b3)](_0x294f6d=>{const _0x418ba3=_0x45a252,_0x4c71f7=this[_0x418ba3(0x1d7)](_0x2f1a59,_0x294f6d[_0x418ba3(0x1cf)]);return _0x4c71f7[_0x418ba3(0x1c8)]=_0x294f6d[_0x418ba3(0x1c8)],_0x4c71f7[_0x418ba3(0x1c5)]=_0x294f6d[_0x418ba3(0x1b1)],_0x4c71f7;});}}
23
+ const _0x52b250=_0x48d6;(function(_0xb05566,_0x74529a){const _0x517ed6=_0x48d6,_0x4b5570=_0xb05566();while(!![]){try{const _0x2379f8=-parseInt(_0x517ed6(0x14b))/0x1*(parseInt(_0x517ed6(0x13a))/0x2)+parseInt(_0x517ed6(0x15d))/0x3+parseInt(_0x517ed6(0x137))/0x4+-parseInt(_0x517ed6(0x13f))/0x5+parseInt(_0x517ed6(0x13e))/0x6*(parseInt(_0x517ed6(0x157))/0x7)+parseInt(_0x517ed6(0x17a))/0x8+-parseInt(_0x517ed6(0x138))/0x9;if(_0x2379f8===_0x74529a)break;else _0x4b5570['push'](_0x4b5570['shift']());}catch(_0x21e0bc){_0x4b5570['push'](_0x4b5570['shift']());}}}(_0x37d6,0x4ae92));import{Plugin as _0x2583a6}from'ckeditor5/src/core.js';function _0x48d6(_0x216097,_0x4889b2){const _0x37d648=_0x37d6();return _0x48d6=function(_0x48d660,_0x294140){_0x48d660=_0x48d660-0x133;let _0x487db3=_0x37d648[_0x48d660];return _0x487db3;},_0x48d6(_0x216097,_0x4889b2);}import{IconDropbox as _0x291f39,IconFacebook as _0x44765b,IconGoogleDrive as _0x3a2162,IconGooglePhotos as _0x4cb452,IconUploadcareImageUpload as _0x45082b,IconUploadcareLink as _0x3be866,IconOneDrive as _0x1de4d6}from'ckeditor5/src/icons.js';import{ButtonView as _0x9e3f58,MenuBarMenuListItemButtonView as _0x17c3d3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5b5db7}from'./uploadcareconfig.js';import{getTranslation as _0x47ecfe}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x37d6(){const _0x1dfef4=['isEnabled','_createMenuBarButtons','registerIntegration','config','uploadcareLicenseKeyInvalid','has','uploadcare.uploader.sourceList','Dropbox','uploadcareLicenseKeyExpired','reduce','_createButton','featureNotAllowed','Facebook','Local','execute','url','2155568dzNGaS','_createDropdownButtons','label','uploadcare','expired','entries','isImageSelected','plugins','uploadcareLicenseKeyDomainLimit','_normalizeConfigSourceList','tooltip','uploadcareLicenseKeyTrialLimit','Uploadcare','1100564hdGhxj','2732481LYmXSU','pluginName','6mfKOll','GDrive','_getIntegrationKey','push','6wEhron','1179820DkRwjn','bind','uploadcareLicenseKeyNotAllowed','withText','GPhotos','uploadcareLicenseKeyEvaluationLimit','isOfficialPlugin','isPremiumPlugin','init','licenseKey','upload','invalid','144527zshTmg','Insert','forEach','trialLimit','icon','_licenseKeyCheckInterval','assetManager','get','evaluationLimit','type','usageLimit','_createToolbarButton','4048604LcgiXv','uploadcareLicenseKeyUsageLimit','destroy','Replace','_showLicenseError','UploadcareUI','471087hTqlcH','uploadcareLicenseKeyValid','locale','afterInit','shortText','OneDrive','commands','text','editor','ImageInsertUI','URL','map','domainLimit'];_0x37d6=function(){return _0x1dfef4;};return _0x37d6();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2583a6{[_0x52b250(0x148)];[_0x52b250(0x150)];static get[_0x52b250(0x139)](){const _0x4c0a0f=_0x52b250;return _0x4c0a0f(0x15c);}static get[_0x52b250(0x145)](){return!0x0;}static get[_0x52b250(0x146)](){return!0x0;}[_0x52b250(0x147)](){const _0x29fc0c=_0x52b250;this[_0x29fc0c(0x148)]=this[_0x29fc0c(0x165)][_0x29fc0c(0x16d)][_0x29fc0c(0x152)](_0x29fc0c(0x148));const _0x374019=this[_0x29fc0c(0x165)];this[_0x29fc0c(0x150)]=setInterval(()=>{const _0x2f72a1=_0x29fc0c;let _0x3cbcfe;for(const _0x198b87 in _0x374019){const _0x556f5a=_0x198b87,_0x2468b6=_0x374019[_0x556f5a];if(_0x2f72a1(0x15e)==_0x2468b6||_0x2f72a1(0x16e)==_0x2468b6||_0x2f72a1(0x172)==_0x2468b6||_0x2f72a1(0x182)==_0x2468b6||_0x2f72a1(0x141)==_0x2468b6||_0x2f72a1(0x144)==_0x2468b6||_0x2f72a1(0x135)==_0x2468b6||_0x2f72a1(0x158)==_0x2468b6){delete _0x374019[_0x556f5a],_0x3cbcfe=_0x2468b6,clearInterval(this[_0x2f72a1(0x150)]),this[_0x2f72a1(0x150)]=void 0x0;break;}}_0x2f72a1(0x16e)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x14a)),_0x2f72a1(0x172)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x17e)),_0x2f72a1(0x182)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x169)),_0x2f72a1(0x141)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x175),_0x2f72a1(0x136)),_0x2f72a1(0x144)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x153)),_0x2f72a1(0x135)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x14e)),_0x2f72a1(0x158)==_0x3cbcfe&&_0x374019[_0x2f72a1(0x15b)](_0x2f72a1(0x155));},0x3e8);}[_0x52b250(0x160)](){const _0xc1482d=_0x52b250,{editor:_0x24d655}=this,_0x6180c7=_0x24d655[_0xc1482d(0x163)][_0xc1482d(0x152)](_0xc1482d(0x17d));if(!_0x6180c7)return;const _0x19faa6=this[_0xc1482d(0x133)](_0x24d655[_0xc1482d(0x16d)][_0xc1482d(0x152)](_0xc1482d(0x170)))[_0xc1482d(0x173)]((_0x552bf6,_0x2c6219)=>{const _0x34ad9e=_0xc1482d,_0x29fd56=this[_0x34ad9e(0x13c)](_0x2c6219[_0x34ad9e(0x154)]);return _0x552bf6[_0x29fd56]||(_0x552bf6[_0x29fd56]=[]),_0x552bf6[_0x29fd56][_0x34ad9e(0x13d)](_0x2c6219),_0x552bf6;},{});_0x24d655[_0xc1482d(0x181)][_0xc1482d(0x16f)](_0xc1482d(0x166))&&_0x24d655[_0xc1482d(0x163)][_0xc1482d(0x152)](_0xc1482d(0x17d))&&Object[_0xc1482d(0x17f)](_0x19faa6)[_0xc1482d(0x14d)](([_0x1ad601,_0x2f8456])=>{const _0xd0e084=_0xc1482d;_0x24d655[_0xd0e084(0x181)][_0xd0e084(0x152)](_0xd0e084(0x166))[_0xd0e084(0x16c)]({'name':_0x1ad601,'observable':()=>_0x6180c7,'buttonViewCreator':()=>this[_0xd0e084(0x156)](_0x2f8456),'formViewCreator':()=>this[_0xd0e084(0x17b)](_0x2f8456),'menuBarButtonViewCreator':()=>this[_0xd0e084(0x16b)](_0x2f8456),'override':_0xd0e084(0x151)!==_0x1ad601});});}[_0x52b250(0x159)](){const _0x12d741=_0x52b250;super[_0x12d741(0x159)](),this[_0x12d741(0x150)]&&clearInterval(this[_0x12d741(0x150)]);}[_0x52b250(0x133)](_0x117638){const _0x2f6915=_0x52b250,{locale:_0x566b0f}=this[_0x2f6915(0x165)];return _0x117638[_0x2f6915(0x168)](_0x39d267=>{const _0xbc678a=_0x2f6915,_0x1ad849=_0x47ecfe(_0x566b0f,_0x39d267,_0xbc678a(0x14c));switch(_0x39d267){case _0x5b5db7[_0xbc678a(0x177)]:return{'icon':_0x45082b,'type':_0x5b5db7[_0xbc678a(0x177)],..._0x1ad849};case _0x5b5db7[_0xbc678a(0x167)]:return{'icon':_0x3be866,'type':_0x5b5db7[_0xbc678a(0x167)],..._0x1ad849};case _0x5b5db7[_0xbc678a(0x171)]:return{'icon':_0x291f39,'type':_0x5b5db7[_0xbc678a(0x171)],..._0x1ad849};case _0x5b5db7[_0xbc678a(0x176)]:return{'icon':_0x44765b,'type':_0x5b5db7[_0xbc678a(0x176)],..._0x1ad849};case _0x5b5db7[_0xbc678a(0x13b)]:return{'icon':_0x3a2162,'type':_0x5b5db7[_0xbc678a(0x13b)],..._0x1ad849};case _0x5b5db7[_0xbc678a(0x143)]:return{'icon':_0x4cb452,'type':_0x5b5db7[_0xbc678a(0x143)],..._0x1ad849};case _0x5b5db7[_0xbc678a(0x162)]:return{'icon':_0x1de4d6,'type':_0x5b5db7[_0xbc678a(0x162)],..._0x1ad849};}});}[_0x52b250(0x13c)](_0x792d42){const _0x18d4aa=_0x52b250;switch(_0x792d42){case _0x5b5db7[_0x18d4aa(0x177)]:return _0x18d4aa(0x149);case _0x5b5db7[_0x18d4aa(0x167)]:return _0x18d4aa(0x179);default:return _0x18d4aa(0x151);}}[_0x52b250(0x174)](_0x22a6e1,_0x149e8f){const _0x4f49f8=_0x52b250,_0x5c812e=this[_0x4f49f8(0x165)],_0x50f08c=new _0x22a6e1(_0x5c812e[_0x4f49f8(0x15f)]),_0x3e7da0=_0x5c812e[_0x4f49f8(0x163)][_0x4f49f8(0x152)](_0x4f49f8(0x17d));return _0x50f08c[_0x4f49f8(0x140)](_0x4f49f8(0x16a))['to'](_0x3e7da0),_0x50f08c['on'](_0x4f49f8(0x178),()=>{const _0x402d28=_0x4f49f8;_0x3e7da0[_0x402d28(0x178)](_0x149e8f);}),_0x50f08c;}[_0x52b250(0x156)](_0x34483d){const _0x37ee3c=_0x52b250,{locale:_0x217004}=this[_0x37ee3c(0x165)],_0x4d2e0f=this[_0x37ee3c(0x165)][_0x37ee3c(0x181)][_0x37ee3c(0x152)](_0x37ee3c(0x166)),_0x33be25=_0x34483d[0x0],_0x1a9064=this[_0x37ee3c(0x174)](_0x9e3f58,_0x33be25[_0x37ee3c(0x154)]);return _0x1a9064[_0x37ee3c(0x14f)]=_0x33be25[_0x37ee3c(0x14f)],_0x1a9064[_0x37ee3c(0x140)](_0x37ee3c(0x17c))['to'](_0x4d2e0f,_0x37ee3c(0x180),_0x5e98d4=>_0x47ecfe(_0x217004,_0x33be25[_0x37ee3c(0x154)],_0x5e98d4?_0x37ee3c(0x15a):_0x37ee3c(0x14c))[_0x37ee3c(0x164)]),_0x1a9064[_0x37ee3c(0x134)]=!0x0,_0x1a9064;}[_0x52b250(0x17b)](_0x202592){const _0x529ee9=_0x52b250,{locale:_0x22721b}=this[_0x529ee9(0x165)],_0x5a3ab1=this[_0x529ee9(0x165)][_0x529ee9(0x181)][_0x529ee9(0x152)](_0x529ee9(0x166));return _0x202592[_0x529ee9(0x168)](_0x3bde81=>{const _0x32ef3e=_0x529ee9,_0x38d5fa=this[_0x32ef3e(0x174)](_0x9e3f58,_0x3bde81[_0x32ef3e(0x154)]);return _0x38d5fa[_0x32ef3e(0x142)]=!0x0,_0x38d5fa[_0x32ef3e(0x14f)]=_0x3bde81[_0x32ef3e(0x14f)],_0x38d5fa[_0x32ef3e(0x140)](_0x32ef3e(0x17c))['to'](_0x5a3ab1,_0x32ef3e(0x180),_0x1c6506=>_0x47ecfe(_0x22721b,_0x3bde81[_0x32ef3e(0x154)],_0x1c6506?_0x32ef3e(0x15a):_0x32ef3e(0x14c))[_0x32ef3e(0x164)]),_0x38d5fa;});}[_0x52b250(0x16b)](_0x349746){const _0x18bdf9=_0x52b250;return _0x349746[_0x18bdf9(0x168)](_0x14ac1a=>{const _0xb1c22c=_0x18bdf9,_0x4e4fe3=this[_0xb1c22c(0x174)](_0x17c3d3,_0x14ac1a[_0xb1c22c(0x154)]);return _0x4e4fe3[_0xb1c22c(0x14f)]=_0x14ac1a[_0xb1c22c(0x14f)],_0x4e4fe3[_0xb1c22c(0x17c)]=_0x14ac1a[_0xb1c22c(0x161)],_0x4e4fe3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x300b66}from'ckeditor5/src/core.js';import{FileRepository as _0x1ff5c2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x80ff36}from'./uploadcareediting.js';import{UploadUtils as _0x3b85ae}from'./utils/uploadutils.js';import{getImageUrls as _0x186642}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x300b66{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1ff5c2,_0x80ff36];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x19e91e=this['editor'];if(!!!_0x19e91e['config']['get']('uploadcare'))return;_0x19e91e['plugins']['get'](_0x1ff5c2)['createUploadAdapter']=_0x5f3d0a=>new k(_0x5f3d0a,_0x19e91e),_0x19e91e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x54a68e,{imageElement:_0x46502d,data:_0x45416e})=>{_0x19e91e['model']['change'](_0x14cc0d=>{_0x14cc0d['setAttribute']('uploadcareImageId',_0x45416e['uploadcareImageId'],_0x46502d);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5ee5c5,_0x4dc1c6){this['loader']=_0x5ee5c5,this['editor']=_0x4dc1c6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x36cf4d=await this['loader']['file'];return _0x3b85ae['upload']({'file':_0x36cf4d,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x3a3abe=>{_0x3a3abe&&_0x3a3abe['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3a3abe['value']);}})['then'](async _0x2e8818=>{const {imageFallbackUrl:_0x362aa3,imageSources:_0x3be0e4}=_0x186642(_0x2e8818['cdnUrl'],_0x2e8818['imageInfo']['width']);return{'uploadcareImageId':_0x2e8818['uuid'],'default':_0x362aa3,'sources':_0x3be0e4};})['catch'](()=>{const _0x54ac86=t('Cannot\x20upload\x20file:')+('\x20'+_0x36cf4d['name']+'.');return Promise['reject'](_0x54ac86);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x5b20c7}from'ckeditor5/src/core.js';import{FileRepository as _0x5c7b3f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x37aebe}from'./uploadcareediting.js';import{UploadUtils as _0x419611}from'./utils/uploadutils.js';import{getImageUrls as _0x499ddf}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5b20c7{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5c7b3f,_0x37aebe];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x54e6fb=this['editor'];if(!!!_0x54e6fb['config']['get']('uploadcare'))return;_0x54e6fb['plugins']['get'](_0x5c7b3f)['createUploadAdapter']=_0x5055d6=>new k(_0x5055d6,_0x54e6fb),_0x54e6fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x433e91,{imageElement:_0x2df404,data:_0x3f5484})=>{_0x54e6fb['model']['change'](_0x41441c=>{_0x41441c['setAttribute']('uploadcareImageId',_0x3f5484['uploadcareImageId'],_0x2df404);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5e8655,_0x13876b){this['loader']=_0x5e8655,this['editor']=_0x13876b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5be360=await this['loader']['file'];return _0x419611['upload']({'file':_0x5be360,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x294ec8=>{_0x294ec8&&_0x294ec8['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x294ec8['value']);}})['then'](async _0x20c36a=>{const {imageFallbackUrl:_0x560f94,imageSources:_0x4925eb}=_0x499ddf(_0x20c36a['cdnUrl'],_0x20c36a['imageInfo']['width']);return{'uploadcareImageId':_0x20c36a['uuid'],'default':_0x560f94,'sources':_0x4925eb};})['catch'](()=>{const _0xae0c4c=t('Cannot\x20upload\x20file:')+('\x20'+_0x5be360['name']+'.');return Promise['reject'](_0xae0c4c);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x405392}from'../uploadcareconfig.js';export function getTranslation(_0x1f06f7,_0x78f089,_0x50b700){const t=_0x1f06f7['t'],_0x53081d=_0x1f06f7['t'];switch(_0x78f089){case _0x405392['Local']:return{'text':_0x53081d('Insert'===_0x50b700?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x53081d('From\x20computer')};case _0x405392['URL']:return{'text':'Insert'===_0x50b700?_0x53081d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x53081d('Via\x20URL')};case _0x405392['Dropbox']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x405392['Facebook']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x405392['GDrive']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x405392['GPhotos']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x405392['OneDrive']:return{'text':t('Insert'===_0x50b700?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x78f089;}}
23
+ import{UploadcareSource as _0x1db35b}from'../uploadcareconfig.js';export function getTranslation(_0x59009b,_0x4da58b,_0x4a38fa){const t=_0x59009b['t'],_0x37d5cc=_0x59009b['t'];switch(_0x4da58b){case _0x1db35b['Local']:return{'text':_0x37d5cc('Insert'===_0x4a38fa?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x37d5cc('From\x20computer')};case _0x1db35b['URL']:return{'text':'Insert'===_0x4a38fa?_0x37d5cc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x37d5cc('Via\x20URL')};case _0x1db35b['Dropbox']:return{'text':t('Insert'===_0x4a38fa?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x1db35b['Facebook']:return{'text':t('Insert'===_0x4a38fa?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x1db35b['GDrive']:return{'text':t('Insert'===_0x4a38fa?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x1db35b['GPhotos']:return{'text':t('Insert'===_0x4a38fa?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x1db35b['OneDrive']:return{'text':t('Insert'===_0x4a38fa?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4da58b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x232749=_0x5d2b;(function(_0x4da068,_0x1af5a6){var _0x420f40=_0x5d2b,_0x3a8ea7=_0x4da068();while(!![]){try{var _0xbaf1d9=-parseInt(_0x420f40(0x87))/0x1*(-parseInt(_0x420f40(0x86))/0x2)+-parseInt(_0x420f40(0x7e))/0x3*(parseInt(_0x420f40(0x76))/0x4)+parseInt(_0x420f40(0x7b))/0x5+-parseInt(_0x420f40(0x85))/0x6+parseInt(_0x420f40(0x80))/0x7*(parseInt(_0x420f40(0x74))/0x8)+parseInt(_0x420f40(0x81))/0x9+parseInt(_0x420f40(0x7d))/0xa*(-parseInt(_0x420f40(0x84))/0xb);if(_0xbaf1d9===_0x1af5a6)break;else _0x3a8ea7['push'](_0x3a8ea7['shift']());}catch(_0x56160e){_0x3a8ea7['push'](_0x3a8ea7['shift']());}}}(_0x2c4b,0xcfe69));function _0x5d2b(_0x1fcbbe,_0x37301f){var _0x2c4bb9=_0x2c4b();return _0x5d2b=function(_0x5d2b72,_0x1db8b5){_0x5d2b72=_0x5d2b72-0x74;var _0x545d46=_0x2c4bb9[_0x5d2b72];return _0x545d46;},_0x5d2b(_0x1fcbbe,_0x37301f);}import{FocusTracker as _0x4f278e}from'ckeditor5/src/utils.js';import{View as _0x4d6cf2,FocusCycler as _0x4572c6}from'ckeditor5/src/ui.js';function _0x2c4b(){var _0x7e573f=['focusCycler','948908vKRlGw','getFocusableElement','forwardCycle','focusTracker','bindTemplate','4460995KwzpHP','true','703510VbVjdc','9uRyOmo','div','10536295wvLxqi','7383060gRCKwS','fire','createCollection','253SvHwDP','5142126bleari','8oGfQvy','205153qVbuNM','8IxgFdS'];_0x2c4b=function(){return _0x7e573f;};return _0x2c4b();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4d6cf2{[_0x232749(0x79)];[_0x232749(0x75)];constructor(_0x1013c5){var _0x16a263=_0x232749;super(_0x1013c5),this[_0x16a263(0x79)]=new _0x4f278e(),this[_0x16a263(0x75)]=new _0x4572c6({'focusables':this[_0x16a263(0x83)](),'focusTracker':this[_0x16a263(0x79)]});}[_0x232749(0x77)](){var _0x18039f=_0x232749;return{'tag':_0x18039f(0x7f),'attributes':{'aria-hidden':_0x18039f(0x7c),'tabindex':'0'},'on':{'focus':this[_0x18039f(0x7a)]['to'](()=>{var _0x48595d=_0x18039f;this[_0x48595d(0x75)][_0x48595d(0x82)](_0x48595d(0x78));})}};}}
23
+ function _0x29b6(){var _0x2ea8f2=['focusCycler','4cVZDgs','bindTemplate','3275217uKVJhc','forwardCycle','200950JKuiPz','3068888ZZDqtT','16204rUnErA','fire','32499200RyHVKB','1835FRuQzn','24KaGFQl','getFocusableElement','div','2020277YFUjXk','focusTracker','644922WGlrWw','createCollection','true'];_0x29b6=function(){return _0x2ea8f2;};return _0x29b6();}var _0x3f2894=_0x4fe8;(function(_0x1780f3,_0x1bc5f2){var _0x3bda3b=_0x4fe8,_0x3f3cc2=_0x1780f3();while(!![]){try{var _0x4e35b3=-parseInt(_0x3bda3b(0x118))/0x1+-parseInt(_0x3bda3b(0x114))/0x2*(-parseInt(_0x3bda3b(0x110))/0x3)+parseInt(_0x3bda3b(0x11a))/0x4*(-parseInt(_0x3bda3b(0x11d))/0x5)+parseInt(_0x3bda3b(0x11e))/0x6*(-parseInt(_0x3bda3b(0x121))/0x7)+-parseInt(_0x3bda3b(0x119))/0x8+parseInt(_0x3bda3b(0x116))/0x9+parseInt(_0x3bda3b(0x11c))/0xa;if(_0x4e35b3===_0x1bc5f2)break;else _0x3f3cc2['push'](_0x3f3cc2['shift']());}catch(_0x2ace5b){_0x3f3cc2['push'](_0x3f3cc2['shift']());}}}(_0x29b6,0xc7b8b));import{FocusTracker as _0x2a9c58}from'ckeditor5/src/utils.js';function _0x4fe8(_0x56c8d6,_0x4013bf){var _0x29b66e=_0x29b6();return _0x4fe8=function(_0x4fe80d,_0x3a2871){_0x4fe80d=_0x4fe80d-0x110;var _0x506062=_0x29b66e[_0x4fe80d];return _0x506062;},_0x4fe8(_0x56c8d6,_0x4013bf);}import{View as _0x3bfcb4,FocusCycler as _0x5d5949}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3bfcb4{[_0x3f2894(0x122)];[_0x3f2894(0x113)];constructor(_0x1baff1){var _0x2ddd55=_0x3f2894;super(_0x1baff1),this[_0x2ddd55(0x122)]=new _0x2a9c58(),this[_0x2ddd55(0x113)]=new _0x5d5949({'focusables':this[_0x2ddd55(0x111)](),'focusTracker':this[_0x2ddd55(0x122)]});}[_0x3f2894(0x11f)](){var _0x472c38=_0x3f2894;return{'tag':_0x472c38(0x120),'attributes':{'aria-hidden':_0x472c38(0x112),'tabindex':'0'},'on':{'focus':this[_0x472c38(0x115)]['to'](()=>{var _0x1fd755=_0x472c38;this[_0x1fd755(0x113)][_0x1fd755(0x11b)](_0x1fd755(0x117));})}};}}