@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251231.0 → 0.0.0-nightly-next-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 _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);});});}}
23
+ function _0x43d4(_0x45b9ae,_0x35d8b5){const _0x261b91=_0x261b();return _0x43d4=function(_0x43d445,_0x2f14d6){_0x43d445=_0x43d445-0x19a;let _0x390a23=_0x261b91[_0x43d445];return _0x390a23;},_0x43d4(_0x45b9ae,_0x35d8b5);}const _0x2c8525=_0x43d4;(function(_0x496650,_0x589077){const _0x388ba6=_0x43d4,_0x4aac00=_0x496650();while(!![]){try{const _0xb091a1=parseInt(_0x388ba6(0x1a6))/0x1*(-parseInt(_0x388ba6(0x1b3))/0x2)+parseInt(_0x388ba6(0x1ec))/0x3*(-parseInt(_0x388ba6(0x1e7))/0x4)+-parseInt(_0x388ba6(0x1bb))/0x5+-parseInt(_0x388ba6(0x1de))/0x6+parseInt(_0x388ba6(0x1d4))/0x7+parseInt(_0x388ba6(0x1b6))/0x8+parseInt(_0x388ba6(0x1a5))/0x9;if(_0xb091a1===_0x589077)break;else _0x4aac00['push'](_0x4aac00['shift']());}catch(_0x412b9c){_0x4aac00['push'](_0x4aac00['shift']());}}}(_0x261b,0xa3b5c));import{Plugin as _0x8b908f}from'ckeditor5/src/core.js';import{Dialog as _0x2bb1f7}from'ckeditor5/src/ui.js';import{createElement as _0x6f644e,global as _0x421869,uid as _0x4a7416}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x303713}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5035b4}from'./uploadcareuploadadapter.js';function _0x261b(){const _0x406bde=['2Konjzz','body','#uc-icon-arrow-down','263376JbPtJe','uc-config','closeMax','imageInline','add','1800830CyOfdH','view','for','uploadcareImageId','render','PictureEditing','ctxElement','insertImage','_initConversion','removeAttribute','_initImageProcessingIndicator','cleanupImage','contentLanguage','remove','listenTo','uploadcareImageReplace','ucContextId','selection','configElement','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','fromCharCode','isPremiumPlugin','model','get','uc-upload-ctx-provider','8630874EIfGpT','schema','href','appendChild','uploadcare.uploader','afterInit','requires','getSelectedElement','config','_initConfig','5562078LShwRt','commands','editor','document','_initSchema','_configElement','data-uc-image-id','join','replaceImageSource','4YxYzdo','uploadcare.pubkey','conversion','isRegistered','_initCtx','22668YHnYzC','execute','querySelector','uploadcare','init','attributeToAttribute','_ctxElement','editing','elementToAttribute','upcast','uploader-','map','iconHrefResolver','10018395AhTqMX','413768kTlvZP','extend','locale','isOfficialPlugin','destroy','pluginName','input[uploadcare-file-input]','imageBlock','getAttribute','once','downcast','true','UploadcareEditing'];_0x261b=function(){return _0x406bde;};return _0x261b();}import{showImageProcessingIndicator as _0x59f2fb}from'./utils/editingutils.js';export class UploadcareEditing extends _0x8b908f{[_0x2c8525(0x1e3)]=null;[_0x2c8525(0x19e)]=null;static get[_0x2c8525(0x1ab)](){const _0x453feb=_0x2c8525;return _0x453feb(0x1b2);}static get[_0x2c8525(0x1da)](){const _0x2ed41f=_0x2c8525;return[_0x2ed41f(0x1c0),_0x5035b4,_0x2bb1f7];}static get[_0x2c8525(0x1a9)](){return!0x0;}static get[_0x2c8525(0x1d0)](){return!0x0;}[_0x2c8525(0x1cb)];get[_0x2c8525(0x1cd)](){const _0x1b5d76=_0x2c8525;return this[_0x1b5d76(0x1e3)];}get[_0x2c8525(0x1c1)](){const _0x554e11=_0x2c8525;return this[_0x554e11(0x19e)];}constructor(_0x3327e6){const _0x370617=_0x2c8525;super(_0x3327e6),this[_0x370617(0x1cb)]=_0x4a7416();}[_0x2c8525(0x19c)](){const _0x187487=_0x2c8525,_0x9e8371=this[_0x187487(0x1e0)];_0x9e8371[_0x187487(0x1df)][_0x187487(0x1ba)](_0x187487(0x19b),new _0x303713(_0x9e8371));}[_0x2c8525(0x1d9)](){const _0x222a31=_0x2c8525;this[_0x222a31(0x1e2)](),this[_0x222a31(0x1c3)](),this[_0x222a31(0x1dd)](),this[_0x222a31(0x1eb)](),this[_0x222a31(0x1c5)](),this[_0x222a31(0x1c9)](this[_0x222a31(0x1e0)],_0x222a31(0x1aa),()=>{const _0x1bc281=_0x222a31;this[_0x1bc281(0x1e3)]&&(this[_0x1bc281(0x1e3)][_0x1bc281(0x1c8)](),this[_0x1bc281(0x1e3)]=null),this[_0x1bc281(0x19e)]&&(this[_0x1bc281(0x19e)][_0x1bc281(0x1c8)](),this[_0x1bc281(0x19e)]=null);const _0x16b2df=_0x421869[_0x1bc281(0x1e1)][_0x1bc281(0x19a)](_0x1bc281(0x1ac));_0x16b2df&&_0x16b2df[_0x1bc281(0x1c8)]();}),async function(_0x449b85){const _0x418bf8=_0x156357([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]),_0x1865a0=0x535f8c3a,_0x2a53a2=0x5358f142^_0x1865a0,_0xb5cb11=window[_0x156357([0x44,0x61,0x74,0x65])][_0x156357([0x6e,0x6f,0x77])](),_0x50657d=_0x449b85[_0x156357([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36fec5=new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4555be=>{_0x50657d[_0x156357([0x6f,0x6e,0x63,0x65])](_0x156357([0x72,0x65,0x61,0x64,0x79]),_0x4555be);}),_0x1907fd={[_0x156357([0x6b,0x74,0x79])]:_0x156357([0x45,0x43]),[_0x156357([0x75,0x73,0x65])]:_0x156357([0x73,0x69,0x67]),[_0x156357([0x63,0x72,0x76])]:_0x156357([0x50,0x2d,0x32,0x35,0x36]),[_0x156357([0x78])]:_0x156357([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]),[_0x156357([0x79])]:_0x156357([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]),[_0x156357([0x61,0x6c,0x67])]:_0x156357([0x45,0x53,0x32,0x35,0x36])},_0x3fc97d=_0x50657d[_0x156357([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x156357([0x67,0x65,0x74])](_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb77b3b(){let _0x4642b6,_0x303a8f=null,_0x41ccfc=null;try{if(_0x3fc97d==_0x156357([0x47,0x50,0x4c]))return _0x156357([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4642b6=_0xba37f9(),!_0x4642b6)return _0x156357([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4642b6[_0x156357([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41ccfc=_0x2cccef(_0x4642b6[_0x156357([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4642b6[_0x156357([0x6a,0x74,0x69])])),await _0x3bfe2a()?_0x47e5e5()?_0x56aae8()?_0x156357([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x531f5f()?(_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x156357([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x303a8f=_0x1104b8(_0x156357([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x156357([0x74,0x72,0x69,0x61,0x6c])&&(_0x303a8f=_0x1104b8(_0x156357([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x92926d()):_0x156357([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x156357([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x156357([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x156357([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56aae8(){const _0x2ac2b9=[_0x156357([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x156357([0x74,0x72,0x69,0x61,0x6c])][_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb5cb11/0x3e8:0xe10*_0x2a53a2;return _0x4642b6[_0x156357([0x65,0x78,0x70])]<_0x2ac2b9;}function _0x47e5e5(){const _0x395779=_0x4642b6[_0x156357([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x395779&&(!!_0x395779[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156357([0x2a]))||!!_0x395779[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156357([0x55,0x50,0x4c,0x43])));}function _0x531f5f(){const _0x58ad22=_0x43d4,_0x523c36=_0x4642b6[_0x156357([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x523c36||0x0==_0x523c36[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x292c08}=new URL(window[_0x156357([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x58ad22(0x1d6)]);if(_0x523c36[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292c08))return!0x0;const _0x307c52=_0x292c08[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e]));return _0x523c36[_0x156357([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15f834=>_0x15f834[_0x156357([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x156357([0x2a])))[_0x156357([0x6d,0x61,0x70])](_0x2fcde2=>_0x2fcde2[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e])))[_0x156357([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17b726=>_0x17b726[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x307c52[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x156357([0x6d,0x61,0x70])](_0x19bc35=>Array(_0x307c52[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x19bc35[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x156357([0x66,0x69,0x6c,0x6c])](_0x19bc35[0x0]===_0x156357([0x2a])?_0x156357([0x2a]):'')[_0x156357([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x19bc35))[_0x156357([0x73,0x6f,0x6d,0x65])](_0x1c45a9=>_0x307c52[_0x156357([0x65,0x76,0x65,0x72,0x79])]((_0x3e16c3,_0x3de229)=>_0x1c45a9[_0x3de229]===_0x3e16c3||_0x1c45a9[_0x3de229]===_0x156357([0x2a])));}function _0x92926d(){return _0x303a8f&&_0x41ccfc?new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f21b8,_0x5e9dbb)=>{_0x303a8f[_0x156357([0x74,0x68,0x65,0x6e])](_0x1f21b8,_0x5e9dbb),_0x41ccfc[_0x156357([0x74,0x68,0x65,0x6e])](_0x5159bc=>{_0x5159bc!=_0x156357([0x56,0x61,0x6c,0x69,0x64])&&_0x1f21b8(_0x5159bc);},_0x5e9dbb);}):_0x303a8f||_0x41ccfc||_0x156357([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2cccef(_0x3a0277,_0x46c12d){return new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5388a9=>{if(_0x31b9b5())return _0x5388a9(_0x156357([0x56,0x61,0x6c,0x69,0x64]));_0x41a2ca(),_0x50657d[_0x156357([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x156357([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b740e=!0x1;const _0x2c6b1e=_0x4a7416();function _0x16d90e(_0x1c8ee7){return!!_0x1c8ee7&&(typeof _0x1c8ee7===_0x156357([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c8ee7===_0x156357([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c8ee7[_0x156357([0x74,0x68,0x65,0x6e])]===_0x156357([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c8ee7[_0x156357([0x63,0x61,0x74,0x63,0x68])]===_0x156357([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21e313(_0x3e5b01){_0x280145(_0x3e5b01)[_0x156357([0x74,0x68,0x65,0x6e])](_0x5f6adf=>{if(!_0x5f6adf||_0x5f6adf[_0x156357([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x156357([0x6f,0x6b]))return _0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5609f2(_0x3a7f29(_0x2c6b1e+_0x46c12d))!=_0x5f6adf[_0x156357([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x156357([0x56,0x61,0x6c,0x69,0x64]);})[_0x156357([0x74,0x68,0x65,0x6e])](_0x3b50e6=>(_0x2fb661(),_0x3b50e6),()=>{const _0x4b7d79=_0x538f99();return null==_0x4b7d79?(_0x2fb661(),_0x156357([0x56,0x61,0x6c,0x69,0x64])):_0x156357(_0xb5cb11-_0x4b7d79>(0x7753083a^_0x1865a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x156357([0x74,0x68,0x65,0x6e])](_0x5388a9)[_0x156357([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5388a9(_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x544a3c=0x536962ba^_0x1865a0;function _0x2fb661(){const _0xc73f7=_0x156357([0x6c,0x6c,0x63,0x74,0x2d])+_0x5609f2(_0x3a7f29(_0x3a0277)),_0x1793b7=_0x399dad(_0x5609f2(window[_0x156357([0x4d,0x61,0x74,0x68])][_0x156357([0x63,0x65,0x69,0x6c])](_0xb5cb11/_0x544a3c)));window[_0x156357([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x156357([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc73f7,_0x1793b7);}function _0x538f99(){const _0x347fdc=_0x156357([0x6c,0x6c,0x63,0x74,0x2d])+_0x5609f2(_0x3a7f29(_0x3a0277)),_0x3a2893=window[_0x156357([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x156357([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x347fdc);return _0x3a2893?window[_0x156357([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x399dad(_0x3a2893),0x10)*_0x544a3c:null;}function _0x280145(_0x2de864){return new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x330a11,_0xef1d3b)=>{_0x2de864[_0x156357([0x74,0x68,0x65,0x6e])](_0x330a11,_0xef1d3b),window[_0x156357([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xef1d3b,0x535e58fa^_0x1865a0);});}}_0x50657d[_0x156357([0x6f,0x6e])](_0x156357([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x817bad,_0x2ae04b)=>{if(_0x2ae04b[0x0]!=_0x3a0277)return _0x5388a9(_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ae04b[0x1]={..._0x2ae04b[0x1],[_0x156357([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c6b1e};},{[_0x156357([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x156357([0x68,0x69,0x67,0x68])}),_0x50657d[_0x156357([0x6f,0x6e])](_0x156357([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2052ac=>{_0x16d90e(_0x2052ac[_0x156357([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b740e=!0x0,_0x21e313(_0x2052ac[_0x156357([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x156357([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x156357([0x6c,0x6f,0x77])}),_0x36fec5[_0x156357([0x74,0x68,0x65,0x6e])](()=>{_0x2b740e||_0x5388a9(_0x156357([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31b9b5(){return _0x50657d[_0x156357([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156357([0x76,0x69,0x65,0x77])][_0x156357([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x156357([0x61,0x75,0x74,0x6f]);}function _0x41a2ca(){_0x50657d[_0x156357([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x156357([0x76,0x69,0x65,0x77])][_0x156357([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x156357([0x61,0x75,0x74,0x6f]);}}function _0x1104b8(_0x20a23f){const _0x1ab6e4=[new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ca3f=>setTimeout(_0x44ca3f,0x5356b2f6^_0x1865a0)),_0x36fec5[_0x156357([0x74,0x68,0x65,0x6e])](()=>new window[(_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47627a=>{let _0x4c088d=0x0;_0x50657d[_0x156357([0x6d,0x6f,0x64,0x65,0x6c])][_0x156357([0x6f,0x6e])](_0x156357([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49a20f,_0x2a0cee)=>{_0x2a0cee[0x0][_0x156357([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c088d++,_0x4c088d==(0x535f89d2^_0x1865a0)&&(_0x47627a(),_0x49a20f[_0x156357([0x6f,0x66,0x66])]());});}))];return window[_0x156357([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x156357([0x72,0x61,0x63,0x65])](_0x1ab6e4)[_0x156357([0x74,0x68,0x65,0x6e])](()=>_0x20a23f);}async function _0x1fc09d(){await _0x36fec5,_0x50657d[_0x156357([0x6d,0x6f,0x64,0x65,0x6c])][_0x156357([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x521f94,_0x50657d[_0x156357([0x6d,0x6f,0x64,0x65,0x6c])][_0x156357([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x521f94,_0x50657d[_0x156357([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x156357([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15cfa3(_0x44a3aa){const _0x3bc7fb=_0x25900e();_0x50657d[_0x3bc7fb]=_0x156357([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44a3aa,_0x44a3aa!=_0x156357([0x56,0x61,0x6c,0x69,0x64])&&_0x1fc09d();}function _0x25900e(){const _0x16d799=window[_0x156357([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x156357([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x156357([0x6e,0x6f,0x77])]())[_0x156357([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x156357([0x2e]),'');let _0x4324b2=_0x156357([0x68]);for(let _0x3f2097=0x0;_0x3f2097<_0x16d799[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f2097+=0x2){let _0x5c0403=window[_0x156357([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16d799[_0x156357([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f2097,_0x3f2097+0x2));_0x5c0403>=_0x418bf8[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c0403-=_0x418bf8[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4324b2+=_0x418bf8[_0x5c0403];}return _0x4324b2;}function _0xba37f9(){const _0x2ad6b4=_0x3fc97d[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e]));if(0x3!=_0x2ad6b4[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3548b9(_0x2ad6b4[0x1]);function _0x3548b9(_0x111c20){const _0x5c7384=_0x431c4c(_0x111c20);return _0x5c7384&&_0x296ae1()?_0x5c7384:null;function _0x296ae1(){const _0x1d6a2e=_0x5c7384[_0x156357([0x6a,0x74,0x69])],_0x5a3f8e=window[_0x156357([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d6a2e[_0x156357([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d6a2e[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x110a7e={..._0x5c7384,[_0x156357([0x6a,0x74,0x69])]:_0x1d6a2e[_0x156357([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d6a2e[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x110a7e[_0x156357([0x76,0x63])],_0x3a7f29(_0x110a7e)==_0x5a3f8e;}}}async function _0x3bfe2a(){let _0x22d553=!0x0;try{const _0x4a92d3=_0x3fc97d[_0x156357([0x73,0x70,0x6c,0x69,0x74])](_0x156357([0x2e])),[_0xd50ef7,_0x54d545,_0x2e1aea]=_0x4a92d3;return _0xc9bf92(_0xd50ef7),await _0x5f154e(_0xd50ef7,_0x54d545,_0x2e1aea),_0x22d553;}catch{return!0x1;}function _0xc9bf92(_0x2237e0){const _0x297b25=_0x431c4c(_0x2237e0);_0x297b25&&_0x297b25[_0x156357([0x61,0x6c,0x67])]==_0x156357([0x45,0x53,0x32,0x35,0x36])||(_0x22d553=!0x1);}async function _0x5f154e(_0x30b382,_0x5b2298,_0xae134f){const _0x500d47=window[_0x156357([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x156357([0x66,0x72,0x6f,0x6d])](_0x3ea3d0(_0xae134f),_0x4c79cd=>_0x4c79cd[_0x156357([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34c500=new window[(_0x156357([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x156357([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30b382+_0x156357([0x2e])+_0x5b2298),_0x58cf7e=window[_0x156357([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x156357([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58cf7e)return;const _0x508f1b=await _0x58cf7e[_0x156357([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x156357([0x6a,0x77,0x6b]),_0x1907fd,{[_0x156357([0x6e,0x61,0x6d,0x65])]:_0x156357([0x45,0x43,0x44,0x53,0x41]),[_0x156357([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x156357([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x156357([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58cf7e[_0x156357([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x156357([0x6e,0x61,0x6d,0x65])]:_0x156357([0x45,0x43,0x44,0x53,0x41]),[_0x156357([0x68,0x61,0x73,0x68])]:{[_0x156357([0x6e,0x61,0x6d,0x65])]:_0x156357([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x508f1b,_0x500d47,_0x34c500)||(_0x22d553=!0x1);}}function _0x431c4c(_0xd94c55){return _0xd94c55[_0x156357([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x156357([0x65,0x79]))?JSON[_0x156357([0x70,0x61,0x72,0x73,0x65])](_0x3ea3d0(_0xd94c55)):null;}function _0x3ea3d0(_0x362d4e){return window[_0x156357([0x61,0x74,0x6f,0x62])](_0x362d4e[_0x156357([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x156357([0x2b]))[_0x156357([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x156357([0x2f])));}function _0x3a7f29(_0x2660ee){let _0x522486=0x1505;function _0x50f4f6(_0x54e147){for(let _0x3c26c4=0x0;_0x3c26c4<_0x54e147[_0x156357([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c26c4++){const _0x194708=_0x54e147[_0x156357([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c26c4);_0x522486=(_0x522486<<0x5)+_0x522486+_0x194708,_0x522486&=_0x522486;}}function _0x3be651(_0x5b4294){Array[_0x156357([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b4294)?_0x5b4294[_0x156357([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3be651):_0x5b4294&&typeof _0x5b4294==_0x156357([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x156357([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b4294)[_0x156357([0x73,0x6f,0x72,0x74])]()[_0x156357([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x370896,_0x4d6625])=>{_0x50f4f6(_0x370896),_0x3be651(_0x4d6625);}):_0x50f4f6(window[_0x156357([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b4294));}return _0x3be651(_0x2660ee),_0x522486>>>0x0;}function _0x5609f2(_0x217922){return _0x217922[_0x156357([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x156357([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x156357([0x30]));}function _0x399dad(_0x208204){return _0x208204[_0x156357([0x73,0x70,0x6c,0x69,0x74])]('')[_0x156357([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x156357([0x6a,0x6f,0x69,0x6e])]('');}function _0x521f94(){}function _0x156357(_0x23bca0){const _0x26c0f9=_0x43d4;return _0x23bca0[_0x26c0f9(0x1a3)](_0x328c72=>String[_0x26c0f9(0x1cf)](_0x328c72))[_0x26c0f9(0x1e5)]('');}_0x15cfa3(await _0xb77b3b());}(this);}[_0x2c8525(0x1e2)](){const _0x2f698b=_0x2c8525,_0x131222=this[_0x2f698b(0x1e0)][_0x2f698b(0x1d1)][_0x2f698b(0x1d5)];_0x131222[_0x2f698b(0x1ea)](_0x2f698b(0x1ad))&&_0x131222[_0x2f698b(0x1a7)](_0x2f698b(0x1ad),{'allowAttributes':[_0x2f698b(0x1be)]}),_0x131222[_0x2f698b(0x1ea)](_0x2f698b(0x1b9))&&_0x131222[_0x2f698b(0x1a7)](_0x2f698b(0x1b9),{'allowAttributes':[_0x2f698b(0x1be)]});}[_0x2c8525(0x1c3)](){const _0x376c95=_0x2c8525,_0x3cad29=this[_0x376c95(0x1e0)];_0x3cad29[_0x376c95(0x1e9)][_0x376c95(0x1bd)](_0x376c95(0x1b0))[_0x376c95(0x19d)]({'model':_0x376c95(0x1be),'view':_0x376c95(0x1e4)}),_0x3cad29[_0x376c95(0x1e9)][_0x376c95(0x1bd)](_0x376c95(0x1a1))[_0x376c95(0x1a0)]({'model':{'key':_0x376c95(0x1be),'value':_0x176987=>_0x176987[_0x376c95(0x1ae)](_0x376c95(0x1e4))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x40f94c=_0x3cad29[_0x376c95(0x1df)][_0x376c95(0x1d2)](_0x376c95(0x1e6));_0x40f94c&&this[_0x376c95(0x1c9)](_0x40f94c,_0x376c95(0x1c6),(_0x1e7433,[_0x1d1f2f,_0x32af83])=>{const _0x8a1f8c=_0x376c95;_0x1d1f2f[_0x8a1f8c(0x1c4)](_0x8a1f8c(0x1be),_0x32af83);});}[_0x2c8525(0x1dd)](){const _0x4c8d29=_0x2c8525,_0x53e245=this[_0x4c8d29(0x1e0)][_0x4c8d29(0x1dc)][_0x4c8d29(0x1d2)](_0x4c8d29(0x1d8))||{},_0x250dcd=this[_0x4c8d29(0x1e0)][_0x4c8d29(0x1dc)][_0x4c8d29(0x1d2)](_0x4c8d29(0x1e8))||'';this[_0x4c8d29(0x1e3)]=_0x6f644e(_0x421869[_0x4c8d29(0x1e1)],_0x4c8d29(0x1b7),{..._0x53e245,'pubkey':_0x250dcd,'ctx-name':_0x4c8d29(0x1a2)+this[_0x4c8d29(0x1cb)],'sourceList':'','imgOnly':_0x4c8d29(0x1b1),'removeCopyright':_0x4c8d29(0x1b1),'localeName':this[_0x4c8d29(0x1e0)][_0x4c8d29(0x1a8)][_0x4c8d29(0x1c7)],'externalSourcesEmbedCss':_0x4c8d29(0x1ce)}),this[_0x4c8d29(0x1e3)][_0x4c8d29(0x1a4)]=_0x28252c=>{const _0x47ba09=_0x4c8d29;if(_0x47ba09(0x1b8)==_0x28252c)return _0x47ba09(0x1b5);},_0x421869[_0x4c8d29(0x1e1)][_0x4c8d29(0x1b4)][_0x4c8d29(0x1d7)](this[_0x4c8d29(0x1e3)]);}[_0x2c8525(0x1eb)](){const _0x42041b=_0x2c8525;this[_0x42041b(0x19e)]=_0x6f644e(_0x421869[_0x42041b(0x1e1)],_0x42041b(0x1d3),{'ctx-name':_0x42041b(0x1a2)+this[_0x42041b(0x1cb)]}),_0x421869[_0x42041b(0x1e1)][_0x42041b(0x1b4)][_0x42041b(0x1d7)](this[_0x42041b(0x19e)]);}[_0x2c8525(0x1c5)](){const _0x2d3b92=_0x2c8525,_0x1b9f7e=this[_0x2d3b92(0x1e0)][_0x2d3b92(0x1df)][_0x2d3b92(0x1d2)](_0x2d3b92(0x1c2));_0x1b9f7e&&this[_0x2d3b92(0x1c9)](_0x1b9f7e,_0x2d3b92(0x1ed),()=>{const _0x213319=_0x2d3b92,_0x284a84=this[_0x213319(0x1e0)][_0x213319(0x1d1)][_0x213319(0x1e1)][_0x213319(0x1cc)][_0x213319(0x1db)]();_0x284a84&&_0x284a84[_0x213319(0x1ae)](_0x213319(0x1be))&&this[_0x213319(0x1e0)][_0x213319(0x19f)][_0x213319(0x1bc)][_0x213319(0x1af)](_0x213319(0x1bf),()=>{const _0xb156e7=_0x213319;_0x59f2fb(this[_0xb156e7(0x1e0)],_0x284a84);});});const _0x197151=this[_0x2d3b92(0x1e0)][_0x2d3b92(0x1df)][_0x2d3b92(0x1d2)](_0x2d3b92(0x1ca));_0x197151&&this[_0x2d3b92(0x1c9)](_0x197151,_0x2d3b92(0x1ed),()=>{const _0x44e020=_0x2d3b92,_0x8ca05f=this[_0x44e020(0x1e0)][_0x44e020(0x1d1)][_0x44e020(0x1e1)][_0x44e020(0x1cc)][_0x44e020(0x1db)]();_0x8ca05f&&_0x8ca05f[_0x44e020(0x1ae)](_0x44e020(0x1be))&&this[_0x44e020(0x1e0)][_0x44e020(0x19f)][_0x44e020(0x1bc)][_0x44e020(0x1af)](_0x44e020(0x1bf),()=>{const _0x7bfbfc=_0x44e020;_0x59f2fb(this[_0x7bfbfc(0x1e0)],_0x8ca05f);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
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}));}}
23
+ import{global as _0x35b331,ObservableMixin as _0x54ae93}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2799a4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x37490f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3fed54}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xcf0461}from'../../utils/uploadutils.js';import{getImageUrls as _0x4e77fc,getImageDimension as _0x1bd682}from'../../utils/editingutils.js';import{isAncestor as _0x1eb116}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x54ae93(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2e1ad0,_0x1d2ea6,_0x49f9ad){super(),this['_editor']=_0x2e1ad0,this['_dialog']=_0x1d2ea6,this['_imageElement']=_0x49f9ad,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 _0x17197b=this['_imageElement'],_0x37001a=_0x17197b['getAttribute']('uploadcareImageId'),_0xb5c4d4=_0x17197b['getAttribute']('src');if(_0x37001a)await this['_loadImageInfo'](_0x37001a,_0xb5c4d4);else{if(this['_imageCache']['has'](_0xb5c4d4)){const _0x40b9dc=this['_imageCache']['get'](_0xb5c4d4);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x40b9dc['url'],this['imageDimension']=_0x40b9dc['dimension'],this['imageId']=_0x40b9dc['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xfd4062}=this['_editor'],t=_0xfd4062['t'],_0x3481f4=new _0x3fed54(_0xfd4062,this['imageStatus'],this['_attributes']);_0x3481f4['bind']('status')['to'](this,'imageStatus'),_0x3481f4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3481f4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3481f4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3481f4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x37490f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3481f4,'position':_0x2799a4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3481f4['focus']();},'onHide':()=>{_0x3481f4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xc34fcb=>!_0x1eb116(_0xc34fcb,_0x3481f4['element'])}});}['_loadImageInfo'](_0x44078f,_0x41c993){return _0xcf0461['getInfo'](_0x44078f,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x53c901=>{const {width:_0x1c9668,height:_0x3a7d4b}=_0x53c901['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41c993,this['imageDimension']={'width':_0x1c9668,'height':_0x3a7d4b},this['imageId']=_0x44078f;})['catch'](_0x548e31=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x548e31['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1d823d,_0x297ae8){return this['_getImageAsFile'](_0x1d823d)['then'](_0x4753e4=>_0xcf0461['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':_0x297ae8['signal'],'file':_0x4753e4,'onProgress':_0x1b07cd=>{_0x1b07cd&&_0x1b07cd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1b07cd['value']));}}))['then'](_0x401a1a=>{const {width:_0xb2a1ac,height:_0x537f88}=_0x401a1a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x401a1a['cdnUrl'],this['imageDimension']={'width':_0xb2a1ac,'height':_0x537f88},this['imageId']=_0x401a1a['uuid'],this['imageUploadProgress']=null;const _0x3946ee=_0x1d823d['getAttribute']('src');this['_imageCache']['set'](_0x3946ee,{'id':_0x401a1a['uuid'],'url':_0x401a1a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5bdc73=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5bdc73['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x2d4baa,_0x529dc2){_0x2d4baa['on']('apply',(_0x5619ce,_0x2db6e8)=>{this['_replaceImage'](_0x529dc2,_0x2db6e8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x2d4baa['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x2d4baa['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1141a6,_0x2f915b,_0x3d938b){const _0x56e34f=this['_editor'],{width:_0x4c8ecf,height:_0x27b150}=_0x1bd682(_0x2f915b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x430876,imageSources:_0xc6cf31}=_0x4e77fc(_0x2f915b,_0x4c8ecf);_0x56e34f['model']['change'](_0x28805d=>{if('$graveyard'===_0x1141a6['root']['rootName']){_0x56e34f['execute']('insertImage',{'imageType':_0x1141a6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1141a6['getAttributes']()),'uploadcareImageId':_0x3d938b,'src':_0x430876,'sources':_0xc6cf31,'width':_0x4c8ecf,'height':_0x27b150}});const _0x4d6cb4=_0x1141a6['getChildren']();_0x1141a6=_0x56e34f['model']['document']['selection']['getSelectedElement']();for(const _0x321618 of _0x4d6cb4)_0x28805d['append'](_0x28805d['cloneElement'](_0x321618),_0x1141a6);}else _0x28805d['setSelection'](_0x1141a6,'on'),_0x56e34f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1141a6['getAttributes']()),'uploadcareImageId':_0x3d938b,'src':_0x430876,'sources':_0xc6cf31,'width':_0x4c8ecf,'height':_0x27b150},_0x1141a6);_0x28805d['setSelection'](_0x1141a6,'on');});}async['_getImageAsFile'](_0x339743){const _0x12bf3c=_0x35b331['window'],_0x4416c9=_0x35b331['document']['location']['href'],_0x3e167c=new _0x12bf3c['URL'](_0x339743['getAttribute']('src'),_0x4416c9);if('data:'===_0x3e167c['protocol']){const _0x10f83e=_0x3e167c['href']['split'](','),_0x3843fd=_0x10f83e[0x0]['match'](/:(.*?);/)[0x1],_0x960d0=_0x3843fd['split']('/')[0x1],_0x118bbe=_0x12bf3c['atob'](_0x10f83e[_0x10f83e['length']-0x1]);let _0x8b1e18=_0x118bbe['length'];const _0x430e87=new _0x12bf3c['Uint8Array'](_0x8b1e18);for(;_0x8b1e18--;)_0x430e87[_0x8b1e18]=_0x118bbe['charCodeAt'](_0x8b1e18);return new _0x12bf3c['File']([_0x430e87],'image.'+_0x960d0,{'type':_0x3843fd});}const _0xa8d2ed=_0x3e167c['href']['split']('/'),_0x3d1084=_0xa8d2ed[_0xa8d2ed['length']-0x1],_0x4a725a=_0x3d1084['split']('.')[0x1];return _0x12bf3c['fetch'](_0x3e167c['href'])['then'](_0x13c64e=>_0x13c64e['clone']()['blob']())['then'](_0x404334=>new _0x12bf3c['File']([_0x404334],_0x3d1084,{'type':'image/'+_0x4a725a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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))}});}}
23
+ function _0x54ec(_0x28990d,_0x30569f){const _0x2bd085=_0x2bd0();return _0x54ec=function(_0x54ec7d,_0xeb86dd){_0x54ec7d=_0x54ec7d-0x11b;let _0x1d9885=_0x2bd085[_0x54ec7d];return _0x1d9885;},_0x54ec(_0x28990d,_0x30569f);}(function(_0x446716,_0x12a90e){const _0x4eff04=_0x54ec,_0x7f6905=_0x446716();while(!![]){try{const _0x1f5713=-parseInt(_0x4eff04(0x123))/0x1*(parseInt(_0x4eff04(0x11f))/0x2)+-parseInt(_0x4eff04(0x12a))/0x3*(parseInt(_0x4eff04(0x11b))/0x4)+-parseInt(_0x4eff04(0x11d))/0x5*(parseInt(_0x4eff04(0x121))/0x6)+parseInt(_0x4eff04(0x126))/0x7+parseInt(_0x4eff04(0x11c))/0x8+-parseInt(_0x4eff04(0x125))/0x9*(parseInt(_0x4eff04(0x12c))/0xa)+parseInt(_0x4eff04(0x12b))/0xb*(parseInt(_0x4eff04(0x12e))/0xc);if(_0x1f5713===_0x12a90e)break;else _0x7f6905['push'](_0x7f6905['shift']());}catch(_0x373d50){_0x7f6905['push'](_0x7f6905['shift']());}}}(_0x2bd0,0x5708e));import{View as _0x57e2a2}from'ckeditor5/src/ui.js';function _0x2bd0(){const _0x6e4680=['2Vttowg','set','2817OStmZr','188013jOncxt','bindTemplate','setTemplate','ck-uploadcare-theme','3147YkwiJK','22bQUSxd','13190OxvlDa','uc-light','10629768qooDTb','2084hXyJiq','3022928boNtTt','15HLfVXp','uc-cloud-image-editor','661604qUrqQV','imageSrc','397758PoEuxh','image-edit'];_0x2bd0=function(){return _0x6e4680;};return _0x2bd0();}export class UploadcareImageEditFormEditingView extends _0x57e2a2{constructor(_0x3fc498,_0x3f60bb){const _0x3503be=_0x54ec;super(_0x3fc498);const _0x2e0868=this[_0x3503be(0x127)];this[_0x3503be(0x124)](_0x3503be(0x120),''),this[_0x3503be(0x128)]({'tag':_0x3503be(0x11e),'attributes':{..._0x3f60bb,'class':[_0x3503be(0x12d),_0x3503be(0x129)],'ctx-name':_0x3503be(0x122),'cdn-url':_0x2e0868['to'](_0x3503be(0x120))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'}]}]}]});}}
23
+ import{IconError as _0x506220}from'ckeditor5/src/icons.js';import{ButtonView as _0x21244b,IconView as _0x1707e4,View as _0x256f0b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x256f0b{constructor(_0xf542e4){super(_0xf542e4);const t=_0xf542e4['t'];this['set']('errorType',null);const _0x36b934=new _0x21244b(_0xf542e4);_0x36b934['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x36b934['withText']=!0x0,_0x36b934['class']='ck-button-action',_0x36b934['on']('execute',()=>{this['fire']('retry');}),_0x36b934['bind']('isVisible')['to'](this,'errorType',_0x575cd0=>'NotFound'!==_0x575cd0);const _0x4b99be=new _0x1707e4();_0x4b99be['content']=_0x506220,_0x4b99be['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5339a7=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':[_0x4b99be,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5339a7['to']('errorType',_0x43b225=>t('NotFound'!==_0x43b225?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x36b934]},{'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 _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'}]}]}]});}}
23
+ import{SpinnerView as _0x24ea7f,View as _0x142621}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x142621{constructor(_0x4d6395){super(_0x4d6395);const t=_0x4d6395['t'],_0x45a7ef=this['bindTemplate'],_0x36ddab=new _0x24ea7f();_0x36ddab['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':[_0x36ddab,{'text':_0x45a7ef['to']('imageUploadProgress',_0x4e44ea=>t('Loading\x20image...')+'\x20('+(_0x4e44ea||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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();}
23
+ const _0x4a5f14=_0x2912;(function(_0x5ad86c,_0x49331d){const _0x351667=_0x2912,_0xa43fa6=_0x5ad86c();while(!![]){try{const _0x5a3ec1=parseInt(_0x351667(0x8f))/0x1*(-parseInt(_0x351667(0xb2))/0x2)+-parseInt(_0x351667(0xab))/0x3+-parseInt(_0x351667(0x96))/0x4*(parseInt(_0x351667(0x8b))/0x5)+-parseInt(_0x351667(0x8c))/0x6+parseInt(_0x351667(0x7f))/0x7+-parseInt(_0x351667(0x91))/0x8*(parseInt(_0x351667(0xa9))/0x9)+parseInt(_0x351667(0xae))/0xa;if(_0x5a3ec1===_0x49331d)break;else _0xa43fa6['push'](_0xa43fa6['shift']());}catch(_0x156ca8){_0xa43fa6['push'](_0xa43fa6['shift']());}}}(_0x25c7,0x6bdd3));import{View as _0x759ec8}from'ckeditor5/src/ui.js';function _0x25c7(){const _0x1a5727=['getFocusableElement','div','2262339wYYKup','ck-reset_all-excluded','1904121SumUdz','uploading','disconnect','30038800lGdGwS','set','render','fire','17132PNUzmV','_addErrorViewListeners','focus','addedNodes','1062929ZWQgAB','target','querySelector','addMany','_setView','retry','_waitForImageEditorComponent','filter','apply','nodeName','createCollection','observe','263510nfBzDh','4406322omyUJQ','error','once','86LElQKP','element','16Wryudp','_editingView','cancel','change:status','setTemplate','8KWdsPU','_items','toLowerCase','detail','uc-cloud-image-editor','_loadingView','_errorView','clear','length','cdnUrl','add','addEventListener','ck-uploadcare-form','status','ready','_addUploadcareImageEditorListeners','_focusableView'];_0x25c7=function(){return _0x1a5727;};return _0x25c7();}import{UploadcareImageEditFormLoadingView as _0x109a12}from'./uploadcareimageeditformloadingview.js';function _0x2912(_0x5a9beb,_0x47f3b8){const _0x25c709=_0x25c7();return _0x2912=function(_0x2912a8,_0x1ec041){_0x2912a8=_0x2912a8-0x7f;let _0x77c5f7=_0x25c709[_0x2912a8];return _0x77c5f7;},_0x2912(_0x5a9beb,_0x47f3b8);}import{UploadcareImageEditFormErrorView as _0x27e126}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x49636f}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1247b4}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1247b4{[_0x4a5f14(0x97)];[_0x4a5f14(0x9b)];[_0x4a5f14(0x9c)];[_0x4a5f14(0x92)];[_0x4a5f14(0xa6)];constructor(_0x1ecb40,_0x4c7b40,_0x377d61){const _0x33b160=_0x4a5f14;super(_0x1ecb40),this[_0x33b160(0x97)]=this[_0x33b160(0x89)](),this[_0x33b160(0x9b)]=new _0x109a12(_0x1ecb40),this[_0x33b160(0x9c)]=new _0x27e126(_0x1ecb40),this[_0x33b160(0x92)]=new _0x49636f(_0x1ecb40,_0x377d61),this[_0x33b160(0xa6)]=new _0x759ec8(_0x1ecb40),this[_0x33b160(0xa6)][_0x33b160(0x95)](this[_0x33b160(0xa7)]()),this[_0x33b160(0xaf)](_0x33b160(0xa3),_0x4c7b40),this[_0x33b160(0x95)]({'tag':_0x33b160(0xa8),'attributes':{'class':['ck',_0x33b160(0xaa),_0x33b160(0xa2)],'tabindex':'-1'},'children':this[_0x33b160(0x97)]}),this[_0x33b160(0x83)](),this[_0x33b160(0x8e)](_0x33b160(0xb0),()=>{const _0x2c3579=_0x33b160;this[_0x2c3579(0x85)](this[_0x2c3579(0x90)],_0x582f31=>{const _0x5da184=_0x2c3579;this[_0x5da184(0xa5)](_0x582f31);});}),this['on'](_0x33b160(0x94),()=>{const _0x157aa0=_0x33b160;this[_0x157aa0(0x83)]();}),this[_0x33b160(0xb3)]();}[_0x4a5f14(0xb4)](){const _0x50bb08=_0x4a5f14;this[_0x50bb08(0x90)][_0x50bb08(0xb4)]();}[_0x4a5f14(0x83)](){const _0x5bb4cb=_0x4a5f14;switch(this[_0x5bb4cb(0x97)][_0x5bb4cb(0x9d)](),this[_0x5bb4cb(0xa3)]){case _0x5bb4cb(0xac):this[_0x5bb4cb(0x97)][_0x5bb4cb(0xa0)](this[_0x5bb4cb(0x9b)]);break;case _0x5bb4cb(0x8d):this[_0x5bb4cb(0x97)][_0x5bb4cb(0xa0)](this[_0x5bb4cb(0x9c)]);break;case _0x5bb4cb(0xa4):this[_0x5bb4cb(0x97)][_0x5bb4cb(0x82)]([this[_0x5bb4cb(0x92)],this[_0x5bb4cb(0xa6)]]);}}[_0x4a5f14(0x85)](_0x3983c7,_0xb7e177){const _0xe31bd1=_0x4a5f14,_0x20936d=_0xe31bd1(0x9a),_0xa276ed=_0x3983c7[_0xe31bd1(0x81)](_0x20936d);if(_0xa276ed)return _0xb7e177(_0xa276ed);const _0x565584=new MutationObserver(_0x5547f4=>{const _0x3cb546=_0xe31bd1,_0x1b8afa=_0x5547f4[_0x3cb546(0x86)](_0x5b603a=>_0x5b603a[_0x3cb546(0x80)]===_0x3983c7&&_0x5b603a[_0x3cb546(0xb5)][_0x3cb546(0x9e)]>0x0&&_0x5b603a[_0x3cb546(0xb5)][0x0][_0x3cb546(0x88)][_0x3cb546(0x98)]()===_0x20936d);_0x1b8afa[_0x3cb546(0x9e)]&&(_0x565584[_0x3cb546(0xad)](),_0xb7e177(_0x1b8afa[0x0][_0x3cb546(0xb5)][0x0]));});_0x565584[_0xe31bd1(0x8a)](_0x3983c7,{'childList':!0x0,'subtree':!0x0});}[_0x4a5f14(0xa5)](_0x508a93){const _0x2b6d9e=_0x4a5f14;_0x508a93[_0x2b6d9e(0xa1)](_0x2b6d9e(0x87),_0x236146=>{const _0xccda5c=_0x2b6d9e;this[_0xccda5c(0xb1)](_0xccda5c(0x87),{'imageSrc':_0x236146[_0xccda5c(0x99)][_0xccda5c(0x9f)]});}),_0x508a93[_0x2b6d9e(0xa1)](_0x2b6d9e(0x93),()=>{const _0x3cb793=_0x2b6d9e;this[_0x3cb793(0xb1)](_0x3cb793(0x93));});}[_0x4a5f14(0xb3)](){const _0xc3f518=_0x4a5f14;this[_0xc3f518(0x9c)]['on'](_0xc3f518(0x84),()=>{const _0x17bda5=_0xc3f518;this[_0x17bda5(0xb1)](_0x17bda5(0x84));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)));}}
23
+ const _0x1b71de=_0x4865;(function(_0x58a3c6,_0x5156dc){const _0x33b6b2=_0x4865,_0x49ca9d=_0x58a3c6();while(!![]){try{const _0x3ad6f2=parseInt(_0x33b6b2(0x1b9))/0x1*(parseInt(_0x33b6b2(0x1b7))/0x2)+parseInt(_0x33b6b2(0x1af))/0x3+parseInt(_0x33b6b2(0x1b5))/0x4+-parseInt(_0x33b6b2(0x1b4))/0x5+-parseInt(_0x33b6b2(0x1a5))/0x6*(-parseInt(_0x33b6b2(0x1a1))/0x7)+parseInt(_0x33b6b2(0x1b6))/0x8*(-parseInt(_0x33b6b2(0x1be))/0x9)+parseInt(_0x33b6b2(0x1b0))/0xa*(-parseInt(_0x33b6b2(0x1c0))/0xb);if(_0x3ad6f2===_0x5156dc)break;else _0x49ca9d['push'](_0x49ca9d['shift']());}catch(_0x22b027){_0x49ca9d['push'](_0x49ca9d['shift']());}}}(_0x282f,0x3de3a));import{Command as _0x31e637}from'ckeditor5/src/core.js';import{Dialog as _0x4e5354}from'ckeditor5/src/ui.js';function _0x4865(_0x2c2bba,_0x1e897c){const _0x282ff8=_0x282f();return _0x4865=function(_0x486572,_0x30ed74){_0x486572=_0x486572-0x1a0;let _0x4bc119=_0x282ff8[_0x486572];return _0x4bc119;},_0x4865(_0x2c2bba,_0x1e897c);}import{UploadcareImageEditController as _0x5068f5}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1b9b02}from'../utils/editingutils.js';function _0x282f(){const _0x4dc6be=['1358820wrjnwG','24MQQouU','75598qWXnwN','getSelectedElement','3DrWxHf','editor','isEnabled','plugins','document','214713RNHczh','selection','48587kdSJiD','unbind','1953833iwpSjr','_isEditable','model','element','6ZDVthz','execute','set','bind','imageBlock','refresh','imageInline','uploadcare.allowExternalImagesEditing','requires','get','1178946Bdjlyh','1300YnQbUU','isActive','config','imageEditController','1129620ckyknw'];_0x282f=function(){return _0x4dc6be;};return _0x282f();}export class UploadcareImageEditCommand extends _0x31e637{[_0x1b71de(0x1b3)];static get[_0x1b71de(0x1ad)](){return[_0x4e5354];}[_0x1b71de(0x1a2)];constructor(_0x1679f1){const _0x152c01=_0x1b71de;super(_0x1679f1),this[_0x152c01(0x1b3)]=void 0x0,this[_0x152c01(0x1a2)]=_0x1b9b02(_0x1679f1[_0x152c01(0x1b2)][_0x152c01(0x1ae)](_0x152c01(0x1ac))||[]),this[_0x152c01(0x1a7)]({'isActive':!0x1});}[_0x1b71de(0x1aa)](){const _0x4ce03c=_0x1b71de,_0x49252a=this[_0x4ce03c(0x1ba)][_0x4ce03c(0x1a3)][_0x4ce03c(0x1bd)][_0x4ce03c(0x1bf)][_0x4ce03c(0x1b8)]();this[_0x4ce03c(0x1bb)]=this[_0x4ce03c(0x1a2)](_0x49252a);}[_0x1b71de(0x1a6)](){const _0x426006=_0x1b71de;this[_0x426006(0x1b3)]&&(this[_0x426006(0x1a0)](_0x426006(0x1b1)),this[_0x426006(0x1b3)]=void 0x0);const _0x3c69b3=this[_0x426006(0x1ba)][_0x426006(0x1a3)][_0x426006(0x1bd)][_0x426006(0x1bf)][_0x426006(0x1b8)]();_0x3c69b3&&(_0x3c69b3['is'](_0x426006(0x1a4),_0x426006(0x1a9))||_0x3c69b3['is'](_0x426006(0x1a4),_0x426006(0x1ab)))&&(this[_0x426006(0x1b3)]=new _0x5068f5(this[_0x426006(0x1ba)],this[_0x426006(0x1ba)][_0x426006(0x1bc)][_0x426006(0x1ae)](_0x4e5354),_0x3c69b3),this[_0x426006(0x1a8)](_0x426006(0x1b1))['to'](this[_0x426006(0x1b3)],_0x426006(0x1b1)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));}}
23
+ const _0x3bbc34=_0x34d6;(function(_0x48c4a7,_0x34419e){const _0x421e93=_0x34d6,_0x748ec7=_0x48c4a7();while(!![]){try{const _0x2e631c=-parseInt(_0x421e93(0x1db))/0x1*(parseInt(_0x421e93(0x1cc))/0x2)+-parseInt(_0x421e93(0x1ca))/0x3+-parseInt(_0x421e93(0x1cd))/0x4+-parseInt(_0x421e93(0x1cf))/0x5*(-parseInt(_0x421e93(0x1d2))/0x6)+-parseInt(_0x421e93(0x1d3))/0x7+-parseInt(_0x421e93(0x1d7))/0x8*(-parseInt(_0x421e93(0x1d4))/0x9)+-parseInt(_0x421e93(0x1dd))/0xa*(-parseInt(_0x421e93(0x1ce))/0xb);if(_0x2e631c===_0x34419e)break;else _0x748ec7['push'](_0x748ec7['shift']());}catch(_0x3db847){_0x748ec7['push'](_0x748ec7['shift']());}}}(_0x38ca,0xe0bec));import{Plugin as _0x120ba6}from'ckeditor5/src/core.js';function _0x38ca(){const _0x54e278=['2662324xqXTgs','29239144JKkAoo','715YKJhtY','isPremiumPlugin','uploadcareImageEdit','7404QdarCv','1011710BpNbfs','4626XNhmUp','commands','ImageEditing','15592LzBbXx','isOfficialPlugin','add','init','3WIvurj','requires','10CINoWM','uploadcareImageReplace','pluginName','UploadcareImageEditEditing','3354903zfRQka','ImageUtils','658256rUuKuk'];_0x38ca=function(){return _0x54e278;};return _0x38ca();}import{Notification as _0x579659}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5ba0cf}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3b5268}from'./uploadcareimagereplacecommand.js';function _0x34d6(_0x1dd187,_0x4bcb8d){const _0x38ca02=_0x38ca();return _0x34d6=function(_0x34d6a1,_0x57e71b){_0x34d6a1=_0x34d6a1-0x1c7;let _0x748c93=_0x38ca02[_0x34d6a1];return _0x748c93;},_0x34d6(_0x1dd187,_0x4bcb8d);}import{UploadcareEditing as _0x5955da}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x120ba6{static get[_0x3bbc34(0x1c8)](){const _0x39f174=_0x3bbc34;return _0x39f174(0x1c9);}static get[_0x3bbc34(0x1dc)](){const _0x2b3fe0=_0x3bbc34;return[_0x5955da,_0x579659,_0x2b3fe0(0x1cb),_0x2b3fe0(0x1d6)];}static get[_0x3bbc34(0x1d8)](){return!0x0;}static get[_0x3bbc34(0x1d0)](){return!0x0;}[_0x3bbc34(0x1da)](){const _0x13dab7=_0x3bbc34,{editor:_0x109805}=this;_0x109805[_0x13dab7(0x1d5)][_0x13dab7(0x1d9)](_0x13dab7(0x1d1),new _0x5ba0cf(_0x109805)),_0x109805[_0x13dab7(0x1d5)][_0x13dab7(0x1d9)](_0x13dab7(0x1c7),new _0x3b5268(_0x109805));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']();});}}
23
+ import{Plugin as _0xa2a92b}from'ckeditor5/src/core.js';import{ButtonView as _0x4e061d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x206d0c}from'ckeditor5/src/icons.js';import{createElement as _0x529a5c}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 _0xa2a92b{['_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 _0x44b253=this['editor'];_0x44b253['ui']['componentFactory']['add']('uploadcareImageEdit',_0x374eb7=>{const _0x5ba553=_0x44b253['commands']['get']('uploadcareImageEdit'),_0x1837dc=new _0x4e061d(_0x374eb7),t=_0x374eb7['t'];return _0x1837dc['set']({'icon':_0x206d0c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1837dc['bind']('isEnabled')['to'](_0x5ba553),_0x1837dc['bind']('isOn')['to'](_0x5ba553,'isActive'),this['listenTo'](_0x1837dc,'execute',()=>{_0x44b253['execute']('uploadcareImageEdit'),_0x44b253['editing']['view']['focus']();}),_0x1837dc;}),this['_initConfig']();}['_initConfig'](){const _0x230325=_0x529a5c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x230325),this['listenTo'](this['editor'],'destroy',()=>{_0x230325['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ const _0x1933a1=_0x1810;function _0x1810(_0x5cb9bc,_0x21bed7){const _0x27bcac=_0x27bc();return _0x1810=function(_0x181094,_0x2a78c8){_0x181094=_0x181094-0x8d;let _0x18de21=_0x27bcac[_0x181094];return _0x18de21;},_0x1810(_0x5cb9bc,_0x21bed7);}(function(_0x58427a,_0x52d09e){const _0x415d36=_0x1810,_0x16d08e=_0x58427a();while(!![]){try{const _0x54b7fd=parseInt(_0x415d36(0x95))/0x1*(-parseInt(_0x415d36(0x99))/0x2)+parseInt(_0x415d36(0x91))/0x3*(parseInt(_0x415d36(0x9c))/0x4)+parseInt(_0x415d36(0xa4))/0x5+-parseInt(_0x415d36(0x9e))/0x6+-parseInt(_0x415d36(0x96))/0x7+parseInt(_0x415d36(0x98))/0x8+parseInt(_0x415d36(0x9f))/0x9;if(_0x54b7fd===_0x52d09e)break;else _0x16d08e['push'](_0x16d08e['shift']());}catch(_0x18eeb4){_0x16d08e['push'](_0x16d08e['shift']());}}}(_0x27bc,0x5d6f8));import{Command as _0x47169c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x47169c{[_0x1933a1(0x9a)](){const _0x12411c=_0x1933a1,_0x57b223=this[_0x12411c(0xa2)][_0x12411c(0x97)][_0x12411c(0xa1)][_0x12411c(0x94)][_0x12411c(0x8e)]();this[_0x12411c(0xa5)]=Boolean(_0x57b223&&(_0x57b223['is'](_0x12411c(0x93),_0x12411c(0xa0))||_0x57b223['is'](_0x12411c(0x93),_0x12411c(0x90))));}[_0x1933a1(0x8d)](_0x4bf09f){const _0xfd6706=_0x1933a1,_0x27ac26=this[_0xfd6706(0xa2)][_0xfd6706(0x97)][_0xfd6706(0xa1)][_0xfd6706(0x94)][_0xfd6706(0x8e)]();this[_0xfd6706(0xa2)][_0xfd6706(0x97)][_0xfd6706(0x92)](_0x436654=>{const _0x4243f7=_0xfd6706;_0x436654[_0x4243f7(0x9d)](_0x4bf09f,_0x27ac26),_0x436654[_0x4243f7(0x9b)](_0x4243f7(0xa3),_0x27ac26),_0x436654[_0x4243f7(0x9b)](_0x4243f7(0x8f),_0x27ac26);});}}function _0x27bc(){const _0x1b6af6=['change','element','selection','3052QBHiYQ','4524765LkqKBX','model','2840464tpmhTl','430IntOpL','refresh','removeAttribute','4emJbUn','setAttributes','2560860eMNQdy','11159487ruZVxA','imageBlock','document','editor','srcset','1861330gfYMXN','isEnabled','execute','getSelectedElement','sizes','imageInline','434490FUfjyr'];_0x27bc=function(){return _0x1b6af6;};return _0x27bc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x27e4f7=_0x17ac;(function(_0x1b968f,_0x39c683){var _0x125939=_0x17ac,_0x5de2ce=_0x1b968f();while(!![]){try{var _0x2ff387=parseInt(_0x125939(0x1d6))/0x1*(parseInt(_0x125939(0x1dd))/0x2)+parseInt(_0x125939(0x1e1))/0x3*(parseInt(_0x125939(0x1da))/0x4)+parseInt(_0x125939(0x1db))/0x5*(-parseInt(_0x125939(0x1df))/0x6)+-parseInt(_0x125939(0x1d3))/0x7+parseInt(_0x125939(0x1d7))/0x8+-parseInt(_0x125939(0x1d9))/0x9*(parseInt(_0x125939(0x1d4))/0xa)+parseInt(_0x125939(0x1dc))/0xb;if(_0x2ff387===_0x39c683)break;else _0x5de2ce['push'](_0x5de2ce['shift']());}catch(_0x2c2d0d){_0x5de2ce['push'](_0x5de2ce['shift']());}}}(_0x452d,0xab642));import{Plugin as _0x190d2d}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x574fc3}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x42dbb4}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x452d(){var _0x2a12ed=['8145781VbYKMm','10FbbqUw','isOfficialPlugin','1SPOLeh','4610976yKSkOd','UploadcareImageEdit','4660668jQqatz','932mBZcHH','5QXHZCd','13892021FpHpwk','2438620LkYIQq','requires','5924958iNQXSW','pluginName','4023OruDVd','isPremiumPlugin'];_0x452d=function(){return _0x2a12ed;};return _0x452d();}function _0x17ac(_0x5a3cfe,_0x355d45){var _0x452d7c=_0x452d();return _0x17ac=function(_0x17ac15,_0x53dd87){_0x17ac15=_0x17ac15-0x1d3;var _0x19522a=_0x452d7c[_0x17ac15];return _0x19522a;},_0x17ac(_0x5a3cfe,_0x355d45);}export class UploadcareImageEdit extends _0x190d2d{static get[_0x27e4f7(0x1e0)](){var _0x29b00e=_0x27e4f7;return _0x29b00e(0x1d8);}static get[_0x27e4f7(0x1de)](){return[_0x574fc3,_0x42dbb4];}static get[_0x27e4f7(0x1d5)](){return!0x0;}static get[_0x27e4f7(0x1e2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;});}}
23
+ const _0x318f17=_0x2974;(function(_0x11ba33,_0x3d5244){const _0x3f69be=_0x2974,_0x382f92=_0x11ba33();while(!![]){try{const _0x16bd60=-parseInt(_0x3f69be(0x1b3))/0x1+-parseInt(_0x3f69be(0x18a))/0x2*(-parseInt(_0x3f69be(0x1ba))/0x3)+parseInt(_0x3f69be(0x177))/0x4*(-parseInt(_0x3f69be(0x184))/0x5)+-parseInt(_0x3f69be(0x19b))/0x6*(parseInt(_0x3f69be(0x172))/0x7)+parseInt(_0x3f69be(0x1a2))/0x8+-parseInt(_0x3f69be(0x174))/0x9+parseInt(_0x3f69be(0x16b))/0xa*(parseInt(_0x3f69be(0x193))/0xb);if(_0x16bd60===_0x3d5244)break;else _0x382f92['push'](_0x382f92['shift']());}catch(_0x58a81a){_0x382f92['push'](_0x382f92['shift']());}}}(_0x477d,0x3d3b9));import{Plugin as _0xeabae4}from'ckeditor5/src/core.js';import{IconDropbox as _0x3f409d,IconFacebook as _0x1f9166,IconGoogleDrive as _0x18aebf,IconGooglePhotos as _0x589eae,IconUploadcareImageUpload as _0x5c1715,IconUploadcareLink as _0x7234c,IconOneDrive as _0x1d80ef}from'ckeditor5/src/icons.js';import{ButtonView as _0x22841f,MenuBarMenuListItemButtonView as _0x53214e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x229939}from'./uploadcareconfig.js';function _0x477d(){const _0x42ea58=['GDrive','Local','plugins','195645uXDTWu','Replace','entries','label','has','_licenseKeyCheckInterval','12622quVXZW','forEach','_createButton','isPremiumPlugin','shortText','GPhotos','withText','ImageInsertUI','uploadcare','59631XpcrAQ','text','isEnabled','domainLimit','destroy','assetManager','_createToolbarButton','_showLicenseError','9942ZVBKLl','Facebook','uploadcare.uploader.sourceList','_createDropdownButtons','usageLimit','reduce','uploadcareLicenseKeyInvalid','1448712fQpbMf','invalid','UploadcareUI','push','execute','uploadcareLicenseKeyDomainLimit','_getIntegrationKey','map','tooltip','isImageSelected','uploadcareLicenseKeyUsageLimit','licenseKey','commands','URL','uploadcareLicenseKeyValid','afterInit','editor','79903zOjxQH','uploadcareLicenseKeyTrialLimit','OneDrive','featureNotAllowed','isOfficialPlugin','uploadcareLicenseKeyNotAllowed','trialLimit','87xCQqUl','bind','url','930XHVJCa','get','config','icon','upload','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','98MqIAVE','_createMenuBarButtons','1459710QTdeLr','init','locale','36BAAcLr','Dropbox','type','evaluationLimit','registerIntegration','uploadcareLicenseKeyExpired','pluginName','Insert','Uploadcare','expired'];_0x477d=function(){return _0x42ea58;};return _0x477d();}function _0x2974(_0x5ad210,_0x5c4f82){const _0x477d19=_0x477d();return _0x2974=function(_0x2974c0,_0x33fa32){_0x2974c0=_0x2974c0-0x169;let _0xeada89=_0x477d19[_0x2974c0];return _0xeada89;},_0x2974(_0x5ad210,_0x5c4f82);}import{getTranslation as _0x473c98}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xeabae4{[_0x318f17(0x1ad)];[_0x318f17(0x189)];static get[_0x318f17(0x17d)](){const _0x2c9a1a=_0x318f17;return _0x2c9a1a(0x1a4);}static get[_0x318f17(0x1b7)](){return!0x0;}static get[_0x318f17(0x18d)](){return!0x0;}[_0x318f17(0x175)](){const _0x1c6f2c=_0x318f17;this[_0x1c6f2c(0x1ad)]=this[_0x1c6f2c(0x1b2)][_0x1c6f2c(0x16d)][_0x1c6f2c(0x16c)](_0x1c6f2c(0x1ad));const _0x53be8a=this[_0x1c6f2c(0x1b2)];this[_0x1c6f2c(0x189)]=setInterval(()=>{const _0x6b952e=_0x1c6f2c;let _0x363a2b;for(const _0x481f97 in _0x53be8a){const _0x19734f=_0x481f97,_0x419393=_0x53be8a[_0x19734f];if(_0x6b952e(0x1b0)==_0x419393||_0x6b952e(0x1a1)==_0x419393||_0x6b952e(0x17c)==_0x419393||_0x6b952e(0x1a7)==_0x419393||_0x6b952e(0x1b8)==_0x419393||_0x6b952e(0x171)==_0x419393||_0x6b952e(0x1b4)==_0x419393||_0x6b952e(0x1ac)==_0x419393){delete _0x53be8a[_0x19734f],_0x363a2b=_0x419393,clearInterval(this[_0x6b952e(0x189)]),this[_0x6b952e(0x189)]=void 0x0;break;}}_0x6b952e(0x1a1)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x1a3)),_0x6b952e(0x17c)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x180)),_0x6b952e(0x1a7)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x196)),_0x6b952e(0x1b8)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x1b6),_0x6b952e(0x17f)),_0x6b952e(0x171)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x17a)),_0x6b952e(0x1b4)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x1b9)),_0x6b952e(0x1ac)==_0x363a2b&&_0x53be8a[_0x6b952e(0x19a)](_0x6b952e(0x19f));},0x3e8);}[_0x318f17(0x1b1)](){const _0x1e6cd8=_0x318f17,{editor:_0x45bbe7}=this,_0x1d763c=_0x45bbe7[_0x1e6cd8(0x1ae)][_0x1e6cd8(0x16c)](_0x1e6cd8(0x192));if(!_0x1d763c)return;const _0x228fe4=this[_0x1e6cd8(0x170)](_0x45bbe7[_0x1e6cd8(0x16d)][_0x1e6cd8(0x16c)](_0x1e6cd8(0x19d)))[_0x1e6cd8(0x1a0)]((_0x4b5e01,_0x30626e)=>{const _0x567b38=_0x1e6cd8,_0x2da84e=this[_0x567b38(0x1a8)](_0x30626e[_0x567b38(0x179)]);return _0x4b5e01[_0x2da84e]||(_0x4b5e01[_0x2da84e]=[]),_0x4b5e01[_0x2da84e][_0x567b38(0x1a5)](_0x30626e),_0x4b5e01;},{});_0x45bbe7[_0x1e6cd8(0x183)][_0x1e6cd8(0x188)](_0x1e6cd8(0x191))&&_0x45bbe7[_0x1e6cd8(0x1ae)][_0x1e6cd8(0x16c)](_0x1e6cd8(0x192))&&Object[_0x1e6cd8(0x186)](_0x228fe4)[_0x1e6cd8(0x18b)](([_0x22cfa2,_0x3ca337])=>{const _0x52cf0=_0x1e6cd8;_0x45bbe7[_0x52cf0(0x183)][_0x52cf0(0x16c)](_0x52cf0(0x191))[_0x52cf0(0x17b)]({'name':_0x22cfa2,'observable':()=>_0x1d763c,'buttonViewCreator':()=>this[_0x52cf0(0x199)](_0x3ca337),'formViewCreator':()=>this[_0x52cf0(0x19e)](_0x3ca337),'menuBarButtonViewCreator':()=>this[_0x52cf0(0x173)](_0x3ca337),'override':_0x52cf0(0x198)!==_0x22cfa2});});}[_0x318f17(0x197)](){const _0x2f6af7=_0x318f17;super[_0x2f6af7(0x197)](),this[_0x2f6af7(0x189)]&&clearInterval(this[_0x2f6af7(0x189)]);}[_0x318f17(0x170)](_0x2d9afb){const _0x41d70a=_0x318f17,{locale:_0x41aa0c}=this[_0x41d70a(0x1b2)];return _0x2d9afb[_0x41d70a(0x1a9)](_0x19e72e=>{const _0x35bdd3=_0x41d70a,_0x3b6ceb=_0x473c98(_0x41aa0c,_0x19e72e,_0x35bdd3(0x17e));switch(_0x19e72e){case _0x229939[_0x35bdd3(0x182)]:return{'icon':_0x5c1715,'type':_0x229939[_0x35bdd3(0x182)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x1af)]:return{'icon':_0x7234c,'type':_0x229939[_0x35bdd3(0x1af)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x178)]:return{'icon':_0x3f409d,'type':_0x229939[_0x35bdd3(0x178)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x19c)]:return{'icon':_0x1f9166,'type':_0x229939[_0x35bdd3(0x19c)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x181)]:return{'icon':_0x18aebf,'type':_0x229939[_0x35bdd3(0x181)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x18f)]:return{'icon':_0x589eae,'type':_0x229939[_0x35bdd3(0x18f)],..._0x3b6ceb};case _0x229939[_0x35bdd3(0x1b5)]:return{'icon':_0x1d80ef,'type':_0x229939[_0x35bdd3(0x1b5)],..._0x3b6ceb};}});}[_0x318f17(0x1a8)](_0x419e5f){const _0x16ca9d=_0x318f17;switch(_0x419e5f){case _0x229939[_0x16ca9d(0x182)]:return _0x16ca9d(0x16f);case _0x229939[_0x16ca9d(0x1af)]:return _0x16ca9d(0x16a);default:return _0x16ca9d(0x198);}}[_0x318f17(0x18c)](_0x32c13a,_0x42969f){const _0x37d7d8=_0x318f17,_0x1b2445=this[_0x37d7d8(0x1b2)],_0xca11b3=new _0x32c13a(_0x1b2445[_0x37d7d8(0x176)]),_0x2c163d=_0x1b2445[_0x37d7d8(0x1ae)][_0x37d7d8(0x16c)](_0x37d7d8(0x192));return _0xca11b3[_0x37d7d8(0x169)](_0x37d7d8(0x195))['to'](_0x2c163d),_0xca11b3['on'](_0x37d7d8(0x1a6),()=>{const _0x3d8c11=_0x37d7d8;_0x2c163d[_0x3d8c11(0x1a6)](_0x42969f);}),_0xca11b3;}[_0x318f17(0x199)](_0x305046){const _0x5f1ea4=_0x318f17,{locale:_0x4a8e59}=this[_0x5f1ea4(0x1b2)],_0x578f22=this[_0x5f1ea4(0x1b2)][_0x5f1ea4(0x183)][_0x5f1ea4(0x16c)](_0x5f1ea4(0x191)),_0x26daf4=_0x305046[0x0],_0x22a63f=this[_0x5f1ea4(0x18c)](_0x22841f,_0x26daf4[_0x5f1ea4(0x179)]);return _0x22a63f[_0x5f1ea4(0x16e)]=_0x26daf4[_0x5f1ea4(0x16e)],_0x22a63f[_0x5f1ea4(0x169)](_0x5f1ea4(0x187))['to'](_0x578f22,_0x5f1ea4(0x1ab),_0x477554=>_0x473c98(_0x4a8e59,_0x26daf4[_0x5f1ea4(0x179)],_0x477554?_0x5f1ea4(0x185):_0x5f1ea4(0x17e))[_0x5f1ea4(0x194)]),_0x22a63f[_0x5f1ea4(0x1aa)]=!0x0,_0x22a63f;}[_0x318f17(0x19e)](_0x3993c2){const _0x3dd56a=_0x318f17,{locale:_0x3ff923}=this[_0x3dd56a(0x1b2)],_0x586885=this[_0x3dd56a(0x1b2)][_0x3dd56a(0x183)][_0x3dd56a(0x16c)](_0x3dd56a(0x191));return _0x3993c2[_0x3dd56a(0x1a9)](_0x2249fb=>{const _0x58599d=_0x3dd56a,_0x1874b7=this[_0x58599d(0x18c)](_0x22841f,_0x2249fb[_0x58599d(0x179)]);return _0x1874b7[_0x58599d(0x190)]=!0x0,_0x1874b7[_0x58599d(0x16e)]=_0x2249fb[_0x58599d(0x16e)],_0x1874b7[_0x58599d(0x169)](_0x58599d(0x187))['to'](_0x586885,_0x58599d(0x1ab),_0x3dd963=>_0x473c98(_0x3ff923,_0x2249fb[_0x58599d(0x179)],_0x3dd963?_0x58599d(0x185):_0x58599d(0x17e))[_0x58599d(0x194)]),_0x1874b7;});}[_0x318f17(0x173)](_0x73b5ef){const _0x8bf6fe=_0x318f17;return _0x73b5ef[_0x8bf6fe(0x1a9)](_0xf4f577=>{const _0x212fa8=_0x8bf6fe,_0x23f52f=this[_0x212fa8(0x18c)](_0x53214e,_0xf4f577[_0x212fa8(0x179)]);return _0x23f52f[_0x212fa8(0x16e)]=_0xf4f577[_0x212fa8(0x16e)],_0x23f52f[_0x212fa8(0x187)]=_0xf4f577[_0x212fa8(0x18e)],_0x23f52f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']();}}
23
+ import{Plugin as _0x1624f5}from'ckeditor5/src/core.js';import{FileRepository as _0x220742}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x566fcf}from'./uploadcareediting.js';import{UploadUtils as _0x10e200}from'./utils/uploadutils.js';import{getImageUrls as _0x13dffd}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1624f5{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x220742,_0x566fcf];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4f2e8b=this['editor'];if(!!!_0x4f2e8b['config']['get']('uploadcare'))return;_0x4f2e8b['plugins']['get'](_0x220742)['createUploadAdapter']=_0x4b84ac=>new k(_0x4b84ac,_0x4f2e8b),_0x4f2e8b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x571477,{imageElement:_0x5a1b49,data:_0xa155de})=>{_0x4f2e8b['model']['change'](_0xa449f7=>{_0xa449f7['setAttribute']('uploadcareImageId',_0xa155de['uploadcareImageId'],_0x5a1b49);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x509562,_0x1198f4){this['loader']=_0x509562,this['editor']=_0x1198f4,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d53b2=await this['loader']['file'];return _0x10e200['upload']({'file':_0x5d53b2,'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':_0x51859b=>{_0x51859b&&_0x51859b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x51859b['value']);}})['then'](async _0x10cb88=>{const {imageFallbackUrl:_0x3f58e7,imageSources:_0x2ae293}=_0x13dffd(_0x10cb88['cdnUrl'],_0x10cb88['imageInfo']['width']);return{'uploadcareImageId':_0x10cb88['uuid'],'default':_0x3f58e7,'sources':_0x2ae293};})['catch'](()=>{const _0x5cdb74=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d53b2['name']+'.');return Promise['reject'](_0x5cdb74);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ import{UploadcareSource as _0x4040ae}from'../uploadcareconfig.js';export function getTranslation(_0x374672,_0x58a2f0,_0x206fd6){const t=_0x374672['t'],_0x551cbb=_0x374672['t'];switch(_0x58a2f0){case _0x4040ae['Local']:return{'text':_0x551cbb('Insert'===_0x206fd6?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x551cbb('From\x20computer')};case _0x4040ae['URL']:return{'text':'Insert'===_0x206fd6?_0x551cbb('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x551cbb('Via\x20URL')};case _0x4040ae['Dropbox']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4040ae['Facebook']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4040ae['GDrive']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4040ae['GPhotos']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4040ae['OneDrive']:return{'text':t('Insert'===_0x206fd6?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x58a2f0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));})}};}}
23
+ var _0x43ae8a=_0x580d;function _0x3dce(){var _0x1c1186=['12CTxRCL','192SNSybC','387JNKISK','div','8LQmwmv','focusTracker','8CAiDSn','917925ufKQLQ','focusCycler','fire','createCollection','forwardCycle','true','21324fFzRHi','getFocusableElement','4128565rnWSnl','3702438EVPpox','238330MuMlAG','3204810xjiZGh','1885477GlaUDs','bindTemplate'];_0x3dce=function(){return _0x1c1186;};return _0x3dce();}(function(_0x541440,_0x4aa78d){var _0x5e138a=_0x580d,_0xdcf444=_0x541440();while(!![]){try{var _0x5405e7=parseInt(_0x5e138a(0x1d7))/0x1+parseInt(_0x5e138a(0x1dd))/0x2*(parseInt(_0x5e138a(0x1d1))/0x3)+-parseInt(_0x5e138a(0x1d6))/0x4*(-parseInt(_0x5e138a(0x1e2))/0x5)+-parseInt(_0x5e138a(0x1e0))/0x6+-parseInt(_0x5e138a(0x1df))/0x7*(parseInt(_0x5e138a(0x1d4))/0x8)+-parseInt(_0x5e138a(0x1d2))/0x9*(parseInt(_0x5e138a(0x1e1))/0xa)+parseInt(_0x5e138a(0x1e3))/0xb*(parseInt(_0x5e138a(0x1d0))/0xc);if(_0x5405e7===_0x4aa78d)break;else _0xdcf444['push'](_0xdcf444['shift']());}catch(_0xe0cf9d){_0xdcf444['push'](_0xdcf444['shift']());}}}(_0x3dce,0xc8ab1));function _0x580d(_0x1304a7,_0x558be1){var _0x3dce1e=_0x3dce();return _0x580d=function(_0x580dcc,_0xe1666e){_0x580dcc=_0x580dcc-0x1cf;var _0x3fc1c6=_0x3dce1e[_0x580dcc];return _0x3fc1c6;},_0x580d(_0x1304a7,_0x558be1);}import{FocusTracker as _0x489499}from'ckeditor5/src/utils.js';import{View as _0x11b58b,FocusCycler as _0x45203e}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x11b58b{[_0x43ae8a(0x1d5)];[_0x43ae8a(0x1d8)];constructor(_0x1b95ba){var _0x3d7389=_0x43ae8a;super(_0x1b95ba),this[_0x3d7389(0x1d5)]=new _0x489499(),this[_0x3d7389(0x1d8)]=new _0x45203e({'focusables':this[_0x3d7389(0x1da)](),'focusTracker':this[_0x3d7389(0x1d5)]});}[_0x43ae8a(0x1de)](){var _0x53fc8c=_0x43ae8a;return{'tag':_0x53fc8c(0x1d3),'attributes':{'aria-hidden':_0x53fc8c(0x1dc),'tabindex':'0'},'on':{'focus':this[_0x53fc8c(0x1cf)]['to'](()=>{var _0x2a6827=_0x53fc8c;this[_0x2a6827(0x1d8)][_0x2a6827(0x1d9)](_0x2a6827(0x1db));})}};}}