@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250630.0 → 0.0.0-nightly-20250701.1

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 _0x3ae05e=_0x237c;(function(_0x2f343e,_0x509a66){const _0x3f75a8=_0x237c,_0x5e8707=_0x2f343e();while(!![]){try{const _0x26b58a=parseInt(_0x3f75a8(0x1af))/0x1+-parseInt(_0x3f75a8(0x1e0))/0x2+parseInt(_0x3f75a8(0x1d9))/0x3*(-parseInt(_0x3f75a8(0x1d2))/0x4)+-parseInt(_0x3f75a8(0x1ca))/0x5+parseInt(_0x3f75a8(0x1d0))/0x6+-parseInt(_0x3f75a8(0x1de))/0x7*(-parseInt(_0x3f75a8(0x1e3))/0x8)+-parseInt(_0x3f75a8(0x1a9))/0x9*(parseInt(_0x3f75a8(0x1a4))/0xa);if(_0x26b58a===_0x509a66)break;else _0x5e8707['push'](_0x5e8707['shift']());}catch(_0xf78ad0){_0x5e8707['push'](_0x5e8707['shift']());}}}(_0x5650,0xc7300));import{Plugin as _0x5ddca3}from'ckeditor5/src/core.js';import{Dialog as _0x2dcca6}from'ckeditor5/src/ui.js';function _0x5650(){const _0x59b1e4=['listenTo','uploadcare.pubkey','config','add','data-uc-image-id','uc-config','input[uploadcare-file-input]','6763490OXdKJv','upcast','for','once','appendChild','document','7557276ZRcSTd','fromCharCode','66672gKVXhz','replaceImageSource','uploadcareImageId','_ctxElement','getAttribute','uploader-','locale','75bVplQT','_configElement','downcast','requires','remove','14uNpopL','get','1140734NaThjA','isOfficialPlugin','editor','3423592RksPDC','extend','elementToAttribute','imageBlock','map','attributeToAttribute','model','selection','view','_initCtx','afterInit','imageInline','editing','body','#uc-icon-arrow-down','init','_initSchema','schema','true','isRegistered','_initConversion','_initImageProcessingIndicator','1281230pucfgj','_initConfig','iconHrefResolver','conversion','uploadcare','27SuSIsn','join','uploadcareImageReplace','getSelectedElement','href','uploadcare.uploader','1424562zPKmSK','insertImage','contentLanguage','closeMax','commands','ctxElement','isPremiumPlugin','ucContextId','render','configElement','pluginName','execute','PictureEditing','querySelector','uc-upload-ctx-provider','UploadcareEditing','\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','removeAttribute','destroy','cleanupImage'];_0x5650=function(){return _0x59b1e4;};return _0x5650();}import{createElement as _0x5e40ef,global as _0x2225d4,uid as _0x3c7766}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x13d5ec}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x4e8869}from'./uploadcareuploadadapter.js';function _0x237c(_0x3b2912,_0x58b477){const _0x5650cc=_0x5650();return _0x237c=function(_0x237c7f,_0x1470b4){_0x237c7f=_0x237c7f-0x193;let _0x4a612f=_0x5650cc[_0x237c7f];return _0x4a612f;},_0x237c(_0x3b2912,_0x58b477);}import{showImageProcessingIndicator as _0x1cda05}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5ddca3{[_0x3ae05e(0x1da)]=null;[_0x3ae05e(0x1d5)]=null;static get[_0x3ae05e(0x1b9)](){const _0x21ed48=_0x3ae05e;return _0x21ed48(0x1be);}static get[_0x3ae05e(0x1dc)](){const _0x25eae9=_0x3ae05e;return[_0x25eae9(0x1bb),_0x4e8869,_0x2dcca6];}static get[_0x3ae05e(0x1e1)](){return!0x0;}static get[_0x3ae05e(0x1b5)](){return!0x0;}[_0x3ae05e(0x1b6)];get[_0x3ae05e(0x1b8)](){const _0x3247d3=_0x3ae05e;return this[_0x3247d3(0x1da)];}get[_0x3ae05e(0x1b4)](){const _0x547daf=_0x3ae05e;return this[_0x547daf(0x1d5)];}constructor(_0x52d8eb){const _0x59070b=_0x3ae05e;super(_0x52d8eb),this[_0x59070b(0x1b6)]=_0x3c7766();}[_0x3ae05e(0x19d)](){const _0x4f2e8a=_0x3ae05e,_0x5358ad=this[_0x4f2e8a(0x1e2)];_0x5358ad[_0x4f2e8a(0x1b3)][_0x4f2e8a(0x1c6)](_0x4f2e8a(0x1a8),new _0x13d5ec(_0x5358ad));}[_0x3ae05e(0x198)](){const _0x314f2d=_0x3ae05e;this[_0x314f2d(0x19e)](),this[_0x314f2d(0x1a2)](),this[_0x314f2d(0x1a5)](),this[_0x314f2d(0x197)](),this[_0x314f2d(0x1a3)](),this[_0x314f2d(0x1c3)](this[_0x314f2d(0x1e2)],_0x314f2d(0x1c1),()=>{const _0x862ab8=_0x314f2d;this[_0x862ab8(0x1da)]&&(this[_0x862ab8(0x1da)][_0x862ab8(0x1dd)](),this[_0x862ab8(0x1da)]=null),this[_0x862ab8(0x1d5)]&&(this[_0x862ab8(0x1d5)][_0x862ab8(0x1dd)](),this[_0x862ab8(0x1d5)]=null);const _0x5a80d8=_0x2225d4[_0x862ab8(0x1cf)][_0x862ab8(0x1bc)](_0x862ab8(0x1c9));_0x5a80d8&&_0x5a80d8[_0x862ab8(0x1dd)]();}),async function(_0x4e9d1e){const _0xdf6855=_0x3e6dee([0x74,0x44,0x38,0x35,0x30,0x70,0x46,0x63,0x77,0x43,0x65,0x5a,0x51,0x62,0x6c,0x53,0x31,0x68,0x4f,0x75,0x58,0x45,0x4c,0x54,0x48,0x73,0x76,0x6a,0x4b,0x36,0x6b,0x66,0x4e,0x50,0x55,0x69,0x37,0x33,0x6e,0x64,0x4d,0x47,0x61,0x32,0x4a,0x71,0x79,0x72,0x41,0x7a,0x42,0x49,0x78,0x59,0x34,0x56,0x52,0x39,0x6d,0x6f,0x57,0x67]),_0x8cb738=0x1fb4dc0c,_0x39d34f=0x1fb3b034^_0x8cb738,_0xb1ea52=window[_0x3e6dee([0x44,0x61,0x74,0x65])][_0x3e6dee([0x6e,0x6f,0x77])](),_0x118078=_0x4e9d1e[_0x3e6dee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a9953=new window[(_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x207be4=>{_0x118078[_0x3e6dee([0x6f,0x6e,0x63,0x65])](_0x3e6dee([0x72,0x65,0x61,0x64,0x79]),_0x207be4);}),_0x2254f4={[_0x3e6dee([0x6b,0x74,0x79])]:_0x3e6dee([0x45,0x43]),[_0x3e6dee([0x75,0x73,0x65])]:_0x3e6dee([0x73,0x69,0x67]),[_0x3e6dee([0x63,0x72,0x76])]:_0x3e6dee([0x50,0x2d,0x32,0x35,0x36]),[_0x3e6dee([0x78])]:_0x3e6dee([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]),[_0x3e6dee([0x79])]:_0x3e6dee([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]),[_0x3e6dee([0x61,0x6c,0x67])]:_0x3e6dee([0x45,0x53,0x32,0x35,0x36])},_0x307dd3=_0x118078[_0x3e6dee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e6dee([0x67,0x65,0x74])](_0x3e6dee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8288de(){let _0x4bfe87,_0xa6d8f7=null,_0x1f426d=null;try{if(_0x307dd3==_0x3e6dee([0x47,0x50,0x4c]))return _0x3e6dee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bfe87=_0x3e46e2(),!_0x4bfe87)return _0x3e6dee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bfe87[_0x3e6dee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f426d=_0x495f80(_0x4bfe87[_0x3e6dee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bfe87[_0x3e6dee([0x6a,0x74,0x69])])),await _0x3f7808()?_0x32c097()?_0x574c7d()?_0x3e6dee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3fe49d()?(_0x4bfe87[_0x3e6dee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e6dee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa6d8f7=_0x32d4f2(_0x3e6dee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bfe87[_0x3e6dee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e6dee([0x74,0x72,0x69,0x61,0x6c])&&(_0xa6d8f7=_0x32d4f2(_0x3e6dee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x873526()):_0x3e6dee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e6dee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e6dee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e6dee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x574c7d(){const _0x21ef1a=[_0x3e6dee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e6dee([0x74,0x72,0x69,0x61,0x6c])][_0x3e6dee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bfe87[_0x3e6dee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb1ea52/0x3e8:0xe10*_0x39d34f;return _0x4bfe87[_0x3e6dee([0x65,0x78,0x70])]<_0x21ef1a;}function _0x32c097(){const _0x1c7237=_0x4bfe87[_0x3e6dee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1c7237&&(!!_0x1c7237[_0x3e6dee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6dee([0x2a]))||!!_0x1c7237[_0x3e6dee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6dee([0x55,0x50,0x4c,0x43])));}function _0x3fe49d(){const _0x29d859=_0x237c,_0x4d48b7=_0x4bfe87[_0x3e6dee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d48b7||0x0==_0x4d48b7[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x146a49}=new URL(window[_0x3e6dee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29d859(0x1ad)]);if(_0x4d48b7[_0x3e6dee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146a49))return!0x0;const _0x1ad733=_0x146a49[_0x3e6dee([0x73,0x70,0x6c,0x69,0x74])](_0x3e6dee([0x2e]));return _0x4d48b7[_0x3e6dee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1326ac=>_0x1326ac[_0x3e6dee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e6dee([0x2a])))[_0x3e6dee([0x6d,0x61,0x70])](_0x200b5a=>_0x200b5a[_0x3e6dee([0x73,0x70,0x6c,0x69,0x74])](_0x3e6dee([0x2e])))[_0x3e6dee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d06f5=>_0x4d06f5[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ad733[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e6dee([0x6d,0x61,0x70])](_0x858afd=>Array(_0x1ad733[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x858afd[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e6dee([0x66,0x69,0x6c,0x6c])](_0x858afd[0x0]===_0x3e6dee([0x2a])?_0x3e6dee([0x2a]):'')[_0x3e6dee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x858afd))[_0x3e6dee([0x73,0x6f,0x6d,0x65])](_0x5bd627=>_0x1ad733[_0x3e6dee([0x65,0x76,0x65,0x72,0x79])]((_0x39c01d,_0x2f599c)=>_0x5bd627[_0x2f599c]===_0x39c01d||_0x5bd627[_0x2f599c]===_0x3e6dee([0x2a])));}function _0x873526(){return _0xa6d8f7&&_0x1f426d?new window[(_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x184293,_0x5d0705)=>{_0xa6d8f7[_0x3e6dee([0x74,0x68,0x65,0x6e])](_0x184293,_0x5d0705),_0x1f426d[_0x3e6dee([0x74,0x68,0x65,0x6e])](_0x50c2a6=>{_0x50c2a6!=_0x3e6dee([0x56,0x61,0x6c,0x69,0x64])&&_0x184293(_0x50c2a6);},_0x5d0705);}):_0xa6d8f7||_0x1f426d||_0x3e6dee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x495f80(_0x36339a,_0x587bfd){return new window[(_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x422a83=>{if(_0x567527())return _0x422a83(_0x3e6dee([0x56,0x61,0x6c,0x69,0x64]));_0x454dc3(),_0x118078[_0x3e6dee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e6dee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fd102=!0x1;const _0x43858f=_0x3c7766();function _0x1e7e1c(_0x11fe1d){return!!_0x11fe1d&&(typeof _0x11fe1d===_0x3e6dee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11fe1d===_0x3e6dee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11fe1d[_0x3e6dee([0x74,0x68,0x65,0x6e])]===_0x3e6dee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11fe1d[_0x3e6dee([0x63,0x61,0x74,0x63,0x68])]===_0x3e6dee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x531266(_0x422d8c){_0x4184d1(_0x422d8c)[_0x3e6dee([0x74,0x68,0x65,0x6e])](_0x4a26d6=>{if(!_0x4a26d6||_0x4a26d6[_0x3e6dee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e6dee([0x6f,0x6b]))return _0x3e6dee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b437f(_0x7af9d0(_0x43858f+_0x587bfd))!=_0x4a26d6[_0x3e6dee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e6dee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e6dee([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e6dee([0x74,0x68,0x65,0x6e])](_0x17e4bf=>(_0x20ccc7(),_0x17e4bf),()=>{const _0xf9ad61=_0x1931b3();return null==_0xf9ad61?(_0x20ccc7(),_0x3e6dee([0x56,0x61,0x6c,0x69,0x64])):_0x3e6dee(_0xb1ea52-_0xf9ad61>(0x3bb8580c^_0x8cb738)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e6dee([0x74,0x68,0x65,0x6e])](_0x422a83)[_0x3e6dee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x422a83(_0x3e6dee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44af43=0x1f82328c^_0x8cb738;function _0x20ccc7(){const _0x31a61e=_0x3e6dee([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b437f(_0x7af9d0(_0x36339a)),_0x37709c=_0x2c1978(_0x2b437f(window[_0x3e6dee([0x4d,0x61,0x74,0x68])][_0x3e6dee([0x63,0x65,0x69,0x6c])](_0xb1ea52/_0x44af43)));window[_0x3e6dee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e6dee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31a61e,_0x37709c);}function _0x1931b3(){const _0x10b639=_0x3e6dee([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b437f(_0x7af9d0(_0x36339a)),_0x39f798=window[_0x3e6dee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e6dee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b639);return _0x39f798?window[_0x3e6dee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c1978(_0x39f798),0x10)*_0x44af43:null;}function _0x4184d1(_0xec58cd){return new window[(_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53d3f8,_0x238b70)=>{_0xec58cd[_0x3e6dee([0x74,0x68,0x65,0x6e])](_0x53d3f8,_0x238b70),window[_0x3e6dee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x238b70,0x1fb508cc^_0x8cb738);});}}_0x118078[_0x3e6dee([0x6f,0x6e])](_0x3e6dee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e7ac1,_0x491884)=>{if(_0x491884[0x0]!=_0x36339a)return _0x422a83(_0x3e6dee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x491884[0x1]={..._0x491884[0x1],[_0x3e6dee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43858f};},{[_0x3e6dee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e6dee([0x68,0x69,0x67,0x68])}),_0x118078[_0x3e6dee([0x6f,0x6e])](_0x3e6dee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x487ece=>{_0x1e7e1c(_0x487ece[_0x3e6dee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fd102=!0x0,_0x531266(_0x487ece[_0x3e6dee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e6dee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e6dee([0x6c,0x6f,0x77])}),_0x4a9953[_0x3e6dee([0x74,0x68,0x65,0x6e])](()=>{_0x4fd102||_0x422a83(_0x3e6dee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x567527(){return _0x118078[_0x3e6dee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e6dee([0x76,0x69,0x65,0x77])][_0x3e6dee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e6dee([0x61,0x75,0x74,0x6f]);}function _0x454dc3(){_0x118078[_0x3e6dee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e6dee([0x76,0x69,0x65,0x77])][_0x3e6dee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e6dee([0x61,0x75,0x74,0x6f]);}}function _0x32d4f2(_0xee9972){const _0x488a25=[new window[(_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x84543c=>setTimeout(_0x84543c,0x1fbde2c0^_0x8cb738)),_0x4a9953[_0x3e6dee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x595f8e=>{let _0x461b71=0x0;_0x118078[_0x3e6dee([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e6dee([0x6f,0x6e])](_0x3e6dee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a7b8c,_0x39a478)=>{_0x39a478[0x0][_0x3e6dee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x461b71++,_0x461b71==(0x1fb4ddf4^_0x8cb738)&&(_0x595f8e(),_0x1a7b8c[_0x3e6dee([0x6f,0x66,0x66])]());});}))];return window[_0x3e6dee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e6dee([0x72,0x61,0x63,0x65])](_0x488a25)[_0x3e6dee([0x74,0x68,0x65,0x6e])](()=>_0xee9972);}async function _0x27aa85(){await _0x4a9953,_0x118078[_0x3e6dee([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e6dee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33feb6,_0x118078[_0x3e6dee([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e6dee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33feb6,_0x118078[_0x3e6dee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e6dee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x679b3c(_0x277487){const _0x5c933e=_0x257546();_0x118078[_0x5c933e]=_0x3e6dee([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x277487,_0x277487!=_0x3e6dee([0x56,0x61,0x6c,0x69,0x64])&&_0x27aa85();}function _0x257546(){const _0x438742=window[_0x3e6dee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e6dee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e6dee([0x6e,0x6f,0x77])]())[_0x3e6dee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e6dee([0x2e]),'');let _0xdf0a49=_0x3e6dee([0x74]);for(let _0x4d43dc=0x0;_0x4d43dc<_0x438742[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d43dc+=0x2){let _0x56a33a=window[_0x3e6dee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x438742[_0x3e6dee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d43dc,_0x4d43dc+0x2));_0x56a33a>=_0xdf6855[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56a33a-=_0xdf6855[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xdf0a49+=_0xdf6855[_0x56a33a];}return _0xdf0a49;}function _0x3e46e2(){const _0x31eb37=_0x307dd3[_0x3e6dee([0x73,0x70,0x6c,0x69,0x74])](_0x3e6dee([0x2e]));if(0x3!=_0x31eb37[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1808a9(_0x31eb37[0x1]);function _0x1808a9(_0x18b7dd){const _0x51172f=_0x18ec67(_0x18b7dd);return _0x51172f&&_0x195269()?_0x51172f:null;function _0x195269(){const _0x4c3e48=_0x51172f[_0x3e6dee([0x6a,0x74,0x69])],_0xc9f7d4=window[_0x3e6dee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c3e48[_0x3e6dee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3e48[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4356e6={..._0x51172f,[_0x3e6dee([0x6a,0x74,0x69])]:_0x4c3e48[_0x3e6dee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c3e48[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4356e6[_0x3e6dee([0x76,0x63])],_0x7af9d0(_0x4356e6)==_0xc9f7d4;}}}async function _0x3f7808(){let _0x4901f1=!0x0;try{const _0x210c26=_0x307dd3[_0x3e6dee([0x73,0x70,0x6c,0x69,0x74])](_0x3e6dee([0x2e])),[_0x14947a,_0x3a2d93,_0x55a984]=_0x210c26;return _0x23ca55(_0x14947a),await _0x3cb2b5(_0x14947a,_0x3a2d93,_0x55a984),_0x4901f1;}catch{return!0x1;}function _0x23ca55(_0xaa3adf){const _0x5f0791=_0x18ec67(_0xaa3adf);_0x5f0791&&_0x5f0791[_0x3e6dee([0x61,0x6c,0x67])]==_0x3e6dee([0x45,0x53,0x32,0x35,0x36])||(_0x4901f1=!0x1);}async function _0x3cb2b5(_0x5cc271,_0x164b91,_0x4aac37){const _0x2f3710=window[_0x3e6dee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e6dee([0x66,0x72,0x6f,0x6d])](_0x15326a(_0x4aac37),_0x407d97=>_0x407d97[_0x3e6dee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbba3c7=new window[(_0x3e6dee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e6dee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cc271+_0x3e6dee([0x2e])+_0x164b91),_0x2aee71=window[_0x3e6dee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e6dee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aee71)return;const _0xec2682=await _0x2aee71[_0x3e6dee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e6dee([0x6a,0x77,0x6b]),_0x2254f4,{[_0x3e6dee([0x6e,0x61,0x6d,0x65])]:_0x3e6dee([0x45,0x43,0x44,0x53,0x41]),[_0x3e6dee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e6dee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e6dee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aee71[_0x3e6dee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e6dee([0x6e,0x61,0x6d,0x65])]:_0x3e6dee([0x45,0x43,0x44,0x53,0x41]),[_0x3e6dee([0x68,0x61,0x73,0x68])]:{[_0x3e6dee([0x6e,0x61,0x6d,0x65])]:_0x3e6dee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec2682,_0x2f3710,_0xbba3c7)||(_0x4901f1=!0x1);}}function _0x18ec67(_0x4719c0){return _0x4719c0[_0x3e6dee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e6dee([0x65,0x79]))?JSON[_0x3e6dee([0x70,0x61,0x72,0x73,0x65])](_0x15326a(_0x4719c0)):null;}function _0x15326a(_0x1f454d){return window[_0x3e6dee([0x61,0x74,0x6f,0x62])](_0x1f454d[_0x3e6dee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e6dee([0x2b]))[_0x3e6dee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e6dee([0x2f])));}function _0x7af9d0(_0x16100a){let _0x4ddf39=0x1505;function _0x456e96(_0x59c1f1){for(let _0x42604c=0x0;_0x42604c<_0x59c1f1[_0x3e6dee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42604c++){const _0x256533=_0x59c1f1[_0x3e6dee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42604c);_0x4ddf39=(_0x4ddf39<<0x5)+_0x4ddf39+_0x256533,_0x4ddf39&=_0x4ddf39;}}function _0x3e1c50(_0x57af75){Array[_0x3e6dee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57af75)?_0x57af75[_0x3e6dee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e1c50):_0x57af75&&typeof _0x57af75==_0x3e6dee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e6dee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57af75)[_0x3e6dee([0x73,0x6f,0x72,0x74])]()[_0x3e6dee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46d25b,_0x2abca2])=>{_0x456e96(_0x46d25b),_0x3e1c50(_0x2abca2);}):_0x456e96(window[_0x3e6dee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57af75));}return _0x3e1c50(_0x16100a),_0x4ddf39>>>0x0;}function _0x2b437f(_0x6733f3){return _0x6733f3[_0x3e6dee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e6dee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e6dee([0x30]));}function _0x2c1978(_0x18732a){return _0x18732a[_0x3e6dee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e6dee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e6dee([0x6a,0x6f,0x69,0x6e])]('');}function _0x33feb6(){}function _0x3e6dee(_0x52c477){const _0x380bb9=_0x237c;return _0x52c477[_0x380bb9(0x1e7)](_0x154110=>String[_0x380bb9(0x1d1)](_0x154110))[_0x380bb9(0x1aa)]('');}_0x679b3c(await _0x8288de());}(this);}[_0x3ae05e(0x19e)](){const _0x1b8c65=_0x3ae05e,_0x304020=this[_0x1b8c65(0x1e2)][_0x1b8c65(0x194)][_0x1b8c65(0x19f)];_0x304020[_0x1b8c65(0x1a1)](_0x1b8c65(0x1e6))&&_0x304020[_0x1b8c65(0x1e4)](_0x1b8c65(0x1e6),{'allowAttributes':[_0x1b8c65(0x1d4)]}),_0x304020[_0x1b8c65(0x1a1)](_0x1b8c65(0x199))&&_0x304020[_0x1b8c65(0x1e4)](_0x1b8c65(0x199),{'allowAttributes':[_0x1b8c65(0x1d4)]});}[_0x3ae05e(0x1a2)](){const _0x3a26f9=_0x3ae05e,_0x551436=this[_0x3a26f9(0x1e2)];_0x551436[_0x3a26f9(0x1a7)][_0x3a26f9(0x1cc)](_0x3a26f9(0x1db))[_0x3a26f9(0x193)]({'model':_0x3a26f9(0x1d4),'view':_0x3a26f9(0x1c7)}),_0x551436[_0x3a26f9(0x1a7)][_0x3a26f9(0x1cc)](_0x3a26f9(0x1cb))[_0x3a26f9(0x1e5)]({'model':{'key':_0x3a26f9(0x1d4),'value':_0x222860=>_0x222860[_0x3a26f9(0x1d6)](_0x3a26f9(0x1c7))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x188a2d=_0x551436[_0x3a26f9(0x1b3)][_0x3a26f9(0x1df)](_0x3a26f9(0x1d3));_0x188a2d&&this[_0x3a26f9(0x1c3)](_0x188a2d,_0x3a26f9(0x1c2),(_0x5126df,[_0x219df1,_0x538e9b])=>{const _0x32d9c2=_0x3a26f9;_0x219df1[_0x32d9c2(0x1c0)](_0x32d9c2(0x1d4),_0x538e9b);});}[_0x3ae05e(0x1a5)](){const _0x352d6e=_0x3ae05e,_0x5f4b2f=this[_0x352d6e(0x1e2)][_0x352d6e(0x1c5)][_0x352d6e(0x1df)](_0x352d6e(0x1ae))||{},_0x72d277=this[_0x352d6e(0x1e2)][_0x352d6e(0x1c5)][_0x352d6e(0x1df)](_0x352d6e(0x1c4))||'';this[_0x352d6e(0x1da)]=_0x5e40ef(_0x2225d4[_0x352d6e(0x1cf)],_0x352d6e(0x1c8),{..._0x5f4b2f,'pubkey':_0x72d277,'ctx-name':_0x352d6e(0x1d7)+this[_0x352d6e(0x1b6)],'sourceList':'','imgOnly':_0x352d6e(0x1a0),'removeCopyright':_0x352d6e(0x1a0),'localeName':this[_0x352d6e(0x1e2)][_0x352d6e(0x1d8)][_0x352d6e(0x1b1)],'externalSourcesEmbedCss':_0x352d6e(0x1bf)}),this[_0x352d6e(0x1da)][_0x352d6e(0x1a6)]=_0x158157=>{const _0x433017=_0x352d6e;if(_0x433017(0x1b2)==_0x158157)return _0x433017(0x19c);},_0x2225d4[_0x352d6e(0x1cf)][_0x352d6e(0x19b)][_0x352d6e(0x1ce)](this[_0x352d6e(0x1da)]);}[_0x3ae05e(0x197)](){const _0x3e9303=_0x3ae05e;this[_0x3e9303(0x1d5)]=_0x5e40ef(_0x2225d4[_0x3e9303(0x1cf)],_0x3e9303(0x1bd),{'ctx-name':_0x3e9303(0x1d7)+this[_0x3e9303(0x1b6)]}),_0x2225d4[_0x3e9303(0x1cf)][_0x3e9303(0x19b)][_0x3e9303(0x1ce)](this[_0x3e9303(0x1d5)]);}[_0x3ae05e(0x1a3)](){const _0x425ce3=_0x3ae05e,_0x39237c=this[_0x425ce3(0x1e2)][_0x425ce3(0x1b3)][_0x425ce3(0x1df)](_0x425ce3(0x1b0));_0x39237c&&this[_0x425ce3(0x1c3)](_0x39237c,_0x425ce3(0x1ba),()=>{const _0x2e6ddc=_0x425ce3,_0x2f9f52=this[_0x2e6ddc(0x1e2)][_0x2e6ddc(0x194)][_0x2e6ddc(0x1cf)][_0x2e6ddc(0x195)][_0x2e6ddc(0x1ac)]();_0x2f9f52&&_0x2f9f52[_0x2e6ddc(0x1d6)](_0x2e6ddc(0x1d4))&&this[_0x2e6ddc(0x1e2)][_0x2e6ddc(0x19a)][_0x2e6ddc(0x196)][_0x2e6ddc(0x1cd)](_0x2e6ddc(0x1b7),()=>{const _0x4064a2=_0x2e6ddc;_0x1cda05(this[_0x4064a2(0x1e2)],_0x2f9f52);});});const _0x1c1d5a=this[_0x425ce3(0x1e2)][_0x425ce3(0x1b3)][_0x425ce3(0x1df)](_0x425ce3(0x1ab));_0x1c1d5a&&this[_0x425ce3(0x1c3)](_0x1c1d5a,_0x425ce3(0x1ba),()=>{const _0x1d8414=_0x425ce3,_0x22b327=this[_0x1d8414(0x1e2)][_0x1d8414(0x194)][_0x1d8414(0x1cf)][_0x1d8414(0x195)][_0x1d8414(0x1ac)]();_0x22b327&&_0x22b327[_0x1d8414(0x1d6)](_0x1d8414(0x1d4))&&this[_0x1d8414(0x1e2)][_0x1d8414(0x19a)][_0x1d8414(0x196)][_0x1d8414(0x1cd)](_0x1d8414(0x1b7),()=>{const _0x3ab0d2=_0x1d8414;_0x1cda05(this[_0x3ab0d2(0x1e2)],_0x22b327);});});}}
23
+ const _0x52e962=_0x3fee;(function(_0x379d61,_0x1fae0c){const _0x25d748=_0x3fee,_0x1a7835=_0x379d61();while(!![]){try{const _0x25020a=-parseInt(_0x25d748(0x8b))/0x1+-parseInt(_0x25d748(0xbc))/0x2*(-parseInt(_0x25d748(0x90))/0x3)+-parseInt(_0x25d748(0xb3))/0x4*(parseInt(_0x25d748(0xc7))/0x5)+parseInt(_0x25d748(0xd0))/0x6+-parseInt(_0x25d748(0xc2))/0x7+-parseInt(_0x25d748(0x85))/0x8+-parseInt(_0x25d748(0xcf))/0x9*(parseInt(_0x25d748(0xcb))/0xa);if(_0x25020a===_0x1fae0c)break;else _0x1a7835['push'](_0x1a7835['shift']());}catch(_0xd4b429){_0x1a7835['push'](_0x1a7835['shift']());}}}(_0x3144,0x50649));import{Plugin as _0x2cf040}from'ckeditor5/src/core.js';function _0x3144(){const _0x166b6c=['_ctxElement','for','body','4dQiSrR','uploadcare.pubkey','view','pluginName','ucContextId','uploadcare.uploader','map','uc-upload-ctx-provider','imageInline','1264836YUeXZN','get','cleanupImage','execute','editor','add','127785ovlsbl','href','getAttribute','ctxElement','_initSchema','2455115JPsbcH','join','config','_initConversion','10gnrjXq','schema','UploadcareEditing','requires','595917ywHDdm','3310698oewvgT','uploader-','uc-config','data-uc-image-id','init','attributeToAttribute','isOfficialPlugin','isPremiumPlugin','document','replaceImageSource','1906584tvKHzs','once','uploadcareImageReplace','querySelector','removeAttribute','_initImageProcessingIndicator','41098mlgIcI','#uc-icon-arrow-down','insertImage','imageBlock','upcast','3TwFtzg','_initCtx','conversion','contentLanguage','elementToAttribute','\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','input[uploadcare-file-input]','configElement','commands','fromCharCode','remove','locale','selection','destroy','closeMax','afterInit','editing','uploadcareImageId','_configElement','iconHrefResolver','uploadcare','true','listenTo','getSelectedElement','model','PictureEditing','downcast','render','extend','_initConfig','isRegistered','appendChild'];_0x3144=function(){return _0x166b6c;};return _0x3144();}import{Dialog as _0x4002cd}from'ckeditor5/src/ui.js';import{createElement as _0xfb37bb,global as _0xea490c,uid as _0x77ce31}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x6e5a03}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x50b297}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x41ca3a}from'./utils/editingutils.js';function _0x3fee(_0x9ec897,_0x3f4bc5){const _0x3144dd=_0x3144();return _0x3fee=function(_0x3fee52,_0x475e88){_0x3fee52=_0x3fee52-0x84;let _0x414ea9=_0x3144dd[_0x3fee52];return _0x414ea9;},_0x3fee(_0x9ec897,_0x3f4bc5);}export class UploadcareEditing extends _0x2cf040{[_0x52e962(0xa2)]=null;[_0x52e962(0xb0)]=null;static get[_0x52e962(0xb6)](){const _0x3b2aba=_0x52e962;return _0x3b2aba(0xcd);}static get[_0x52e962(0xce)](){const _0xf577b3=_0x52e962;return[_0xf577b3(0xa9),_0x50b297,_0x4002cd];}static get[_0x52e962(0xd6)](){return!0x0;}static get[_0x52e962(0xd7)](){return!0x0;}[_0x52e962(0xb7)];get[_0x52e962(0x97)](){const _0x8d2764=_0x52e962;return this[_0x8d2764(0xa2)];}get[_0x52e962(0xc5)](){const _0xfd632a=_0x52e962;return this[_0xfd632a(0xb0)];}constructor(_0xf97a48){const _0x4168e2=_0x52e962;super(_0xf97a48),this[_0x4168e2(0xb7)]=_0x77ce31();}[_0x52e962(0xd4)](){const _0x3a6eca=_0x52e962,_0x346cae=this[_0x3a6eca(0xc0)];_0x346cae[_0x3a6eca(0x98)][_0x3a6eca(0xc1)](_0x3a6eca(0xa4),new _0x6e5a03(_0x346cae));}[_0x52e962(0x9f)](){const _0x2fbfec=_0x52e962;this[_0x2fbfec(0xc6)](),this[_0x2fbfec(0xca)](),this[_0x2fbfec(0xad)](),this[_0x2fbfec(0x91)](),this[_0x2fbfec(0x8a)](),this[_0x2fbfec(0xa6)](this[_0x2fbfec(0xc0)],_0x2fbfec(0x9d),()=>{const _0x12c641=_0x2fbfec;this[_0x12c641(0xa2)]&&(this[_0x12c641(0xa2)][_0x12c641(0x9a)](),this[_0x12c641(0xa2)]=null),this[_0x12c641(0xb0)]&&(this[_0x12c641(0xb0)][_0x12c641(0x9a)](),this[_0x12c641(0xb0)]=null);const _0x124ec4=_0xea490c[_0x12c641(0xd8)][_0x12c641(0x88)](_0x12c641(0x96));_0x124ec4&&_0x124ec4[_0x12c641(0x9a)]();}),async function(_0x24e5a){const _0x51b2e8=_0x5ad663([0x51,0x67,0x79,0x32,0x57,0x47,0x61,0x42,0x55,0x4d,0x31,0x65,0x37,0x36,0x6c,0x4a,0x75,0x71,0x46,0x64,0x62,0x73,0x41,0x69,0x6e,0x54,0x66,0x56,0x6a,0x35,0x76,0x6d,0x44,0x63,0x48,0x58,0x5a,0x38,0x52,0x74,0x6f,0x70,0x4e,0x7a,0x33,0x59,0x78,0x49,0x43,0x50,0x4c,0x4f,0x4b,0x72,0x53,0x30,0x45,0x6b,0x77,0x68,0x39,0x34]),_0x229171=0xb8aad63,_0x2d53c5=0xb8dc133^_0x229171,_0x2d2c29=window[_0x5ad663([0x44,0x61,0x74,0x65])][_0x5ad663([0x6e,0x6f,0x77])](),_0x53e77b=_0x24e5a[_0x5ad663([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28dba3=new window[(_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21ebb8=>{_0x53e77b[_0x5ad663([0x6f,0x6e,0x63,0x65])](_0x5ad663([0x72,0x65,0x61,0x64,0x79]),_0x21ebb8);}),_0x16a775={[_0x5ad663([0x6b,0x74,0x79])]:_0x5ad663([0x45,0x43]),[_0x5ad663([0x75,0x73,0x65])]:_0x5ad663([0x73,0x69,0x67]),[_0x5ad663([0x63,0x72,0x76])]:_0x5ad663([0x50,0x2d,0x32,0x35,0x36]),[_0x5ad663([0x78])]:_0x5ad663([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]),[_0x5ad663([0x79])]:_0x5ad663([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]),[_0x5ad663([0x61,0x6c,0x67])]:_0x5ad663([0x45,0x53,0x32,0x35,0x36])},_0x191657=_0x53e77b[_0x5ad663([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ad663([0x67,0x65,0x74])](_0x5ad663([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fead6(){let _0x1ffd99,_0x161e34=null,_0x31f5bd=null;try{if(_0x191657==_0x5ad663([0x47,0x50,0x4c]))return _0x5ad663([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ffd99=_0x4cd687(),!_0x1ffd99)return _0x5ad663([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ffd99[_0x5ad663([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31f5bd=_0x3f1a13(_0x1ffd99[_0x5ad663([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ffd99[_0x5ad663([0x6a,0x74,0x69])])),await _0x12cffd()?_0x340534()?_0x15143f()?_0x5ad663([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57903c()?(_0x1ffd99[_0x5ad663([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ad663([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x161e34=_0x4ef91b(_0x5ad663([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ffd99[_0x5ad663([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ad663([0x74,0x72,0x69,0x61,0x6c])&&(_0x161e34=_0x4ef91b(_0x5ad663([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17e1bd()):_0x5ad663([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ad663([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ad663([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ad663([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x15143f(){const _0x404f6e=[_0x5ad663([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ad663([0x74,0x72,0x69,0x61,0x6c])][_0x5ad663([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffd99[_0x5ad663([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d2c29/0x3e8:0xe10*_0x2d53c5;return _0x1ffd99[_0x5ad663([0x65,0x78,0x70])]<_0x404f6e;}function _0x340534(){const _0x24f70c=_0x1ffd99[_0x5ad663([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24f70c&&(!!_0x24f70c[_0x5ad663([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad663([0x2a]))||!!_0x24f70c[_0x5ad663([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad663([0x55,0x50,0x4c,0x43])));}function _0x57903c(){const _0x4ad44f=_0x3fee,_0x55d83f=_0x1ffd99[_0x5ad663([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55d83f||0x0==_0x55d83f[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x194071}=new URL(window[_0x5ad663([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4ad44f(0xc3)]);if(_0x55d83f[_0x5ad663([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x194071))return!0x0;const _0x2b815c=_0x194071[_0x5ad663([0x73,0x70,0x6c,0x69,0x74])](_0x5ad663([0x2e]));return _0x55d83f[_0x5ad663([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a2696=>_0x2a2696[_0x5ad663([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad663([0x2a])))[_0x5ad663([0x6d,0x61,0x70])](_0x407dce=>_0x407dce[_0x5ad663([0x73,0x70,0x6c,0x69,0x74])](_0x5ad663([0x2e])))[_0x5ad663([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5933d2=>_0x5933d2[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b815c[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ad663([0x6d,0x61,0x70])](_0x57a299=>Array(_0x2b815c[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x57a299[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ad663([0x66,0x69,0x6c,0x6c])](_0x57a299[0x0]===_0x5ad663([0x2a])?_0x5ad663([0x2a]):'')[_0x5ad663([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x57a299))[_0x5ad663([0x73,0x6f,0x6d,0x65])](_0xa897ca=>_0x2b815c[_0x5ad663([0x65,0x76,0x65,0x72,0x79])]((_0x4793b6,_0x14ce60)=>_0xa897ca[_0x14ce60]===_0x4793b6||_0xa897ca[_0x14ce60]===_0x5ad663([0x2a])));}function _0x17e1bd(){return _0x161e34&&_0x31f5bd?new window[(_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x355198,_0x9d07ed)=>{_0x161e34[_0x5ad663([0x74,0x68,0x65,0x6e])](_0x355198,_0x9d07ed),_0x31f5bd[_0x5ad663([0x74,0x68,0x65,0x6e])](_0x43476a=>{_0x43476a!=_0x5ad663([0x56,0x61,0x6c,0x69,0x64])&&_0x355198(_0x43476a);},_0x9d07ed);}):_0x161e34||_0x31f5bd||_0x5ad663([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f1a13(_0x4aa29f,_0x21116e){return new window[(_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4555b9=>{if(_0x320d43())return _0x4555b9(_0x5ad663([0x56,0x61,0x6c,0x69,0x64]));_0x20d44d(),_0x53e77b[_0x5ad663([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ad663([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28d731=!0x1;const _0xd4bfc7=_0x77ce31();function _0x4fb5e7(_0xe55bf5){return!!_0xe55bf5&&(typeof _0xe55bf5===_0x5ad663([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe55bf5===_0x5ad663([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe55bf5[_0x5ad663([0x74,0x68,0x65,0x6e])]===_0x5ad663([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe55bf5[_0x5ad663([0x63,0x61,0x74,0x63,0x68])]===_0x5ad663([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b2fd0(_0x2aaa42){_0x3c7b42(_0x2aaa42)[_0x5ad663([0x74,0x68,0x65,0x6e])](_0x927f15=>{if(!_0x927f15||_0x927f15[_0x5ad663([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ad663([0x6f,0x6b]))return _0x5ad663([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x114629(_0x3d02f5(_0xd4bfc7+_0x21116e))!=_0x927f15[_0x5ad663([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ad663([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ad663([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ad663([0x74,0x68,0x65,0x6e])](_0x105a3d=>(_0x2d3fbf(),_0x105a3d),()=>{const _0x341ab6=_0x4d91f4();return null==_0x341ab6?(_0x2d3fbf(),_0x5ad663([0x56,0x61,0x6c,0x69,0x64])):_0x5ad663(_0x2d2c29-_0x341ab6>(0x2f862963^_0x229171)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ad663([0x74,0x68,0x65,0x6e])](_0x4555b9)[_0x5ad663([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4555b9(_0x5ad663([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x411743=0xbbc43e3^_0x229171;function _0x2d3fbf(){const _0x5f40c0=_0x5ad663([0x6c,0x6c,0x63,0x74,0x2d])+_0x114629(_0x3d02f5(_0x4aa29f)),_0x87209d=_0x237e14(_0x114629(window[_0x5ad663([0x4d,0x61,0x74,0x68])][_0x5ad663([0x63,0x65,0x69,0x6c])](_0x2d2c29/_0x411743)));window[_0x5ad663([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ad663([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f40c0,_0x87209d);}function _0x4d91f4(){const _0x1762eb=_0x5ad663([0x6c,0x6c,0x63,0x74,0x2d])+_0x114629(_0x3d02f5(_0x4aa29f)),_0x41e8cc=window[_0x5ad663([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ad663([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1762eb);return _0x41e8cc?window[_0x5ad663([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x237e14(_0x41e8cc),0x10)*_0x411743:null;}function _0x3c7b42(_0x53df4e){return new window[(_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x80c348,_0x45693f)=>{_0x53df4e[_0x5ad663([0x74,0x68,0x65,0x6e])](_0x80c348,_0x45693f),window[_0x5ad663([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45693f,0xb8b79a3^_0x229171);});}}_0x53e77b[_0x5ad663([0x6f,0x6e])](_0x5ad663([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bd790,_0x5cf6d6)=>{if(_0x5cf6d6[0x0]!=_0x4aa29f)return _0x4555b9(_0x5ad663([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5cf6d6[0x1]={..._0x5cf6d6[0x1],[_0x5ad663([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4bfc7};},{[_0x5ad663([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ad663([0x68,0x69,0x67,0x68])}),_0x53e77b[_0x5ad663([0x6f,0x6e])](_0x5ad663([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d8866=>{_0x4fb5e7(_0x2d8866[_0x5ad663([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28d731=!0x0,_0x1b2fd0(_0x2d8866[_0x5ad663([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ad663([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ad663([0x6c,0x6f,0x77])}),_0x28dba3[_0x5ad663([0x74,0x68,0x65,0x6e])](()=>{_0x28d731||_0x4555b9(_0x5ad663([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x320d43(){return _0x53e77b[_0x5ad663([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ad663([0x76,0x69,0x65,0x77])][_0x5ad663([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ad663([0x61,0x75,0x74,0x6f]);}function _0x20d44d(){_0x53e77b[_0x5ad663([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ad663([0x76,0x69,0x65,0x77])][_0x5ad663([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ad663([0x61,0x75,0x74,0x6f]);}}function _0x4ef91b(_0x1d0664){const _0x2c8814=[new window[(_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5574b0=>setTimeout(_0x5574b0,0xb8393af^_0x229171)),_0x28dba3[_0x5ad663([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dd582=>{let _0x4cf908=0x0;_0x53e77b[_0x5ad663([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ad663([0x6f,0x6e])](_0x5ad663([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cda90,_0x470446)=>{_0x470446[0x0][_0x5ad663([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cf908++,_0x4cf908==(0xb8aac9b^_0x229171)&&(_0x1dd582(),_0x5cda90[_0x5ad663([0x6f,0x66,0x66])]());});}))];return window[_0x5ad663([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ad663([0x72,0x61,0x63,0x65])](_0x2c8814)[_0x5ad663([0x74,0x68,0x65,0x6e])](()=>_0x1d0664);}async function _0x49dc86(){await _0x28dba3,_0x53e77b[_0x5ad663([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ad663([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20baca,_0x53e77b[_0x5ad663([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ad663([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20baca,_0x53e77b[_0x5ad663([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ad663([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15e8d7(_0x15dbcd){const _0x251dde=_0x3279fc();_0x53e77b[_0x251dde]=_0x5ad663([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15dbcd,_0x15dbcd!=_0x5ad663([0x56,0x61,0x6c,0x69,0x64])&&_0x49dc86();}function _0x3279fc(){const _0x296076=window[_0x5ad663([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ad663([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ad663([0x6e,0x6f,0x77])]())[_0x5ad663([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ad663([0x2e]),'');let _0x5b66ee=_0x5ad663([0x51]);for(let _0x40eae7=0x0;_0x40eae7<_0x296076[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40eae7+=0x2){let _0xa4f0d0=window[_0x5ad663([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x296076[_0x5ad663([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40eae7,_0x40eae7+0x2));_0xa4f0d0>=_0x51b2e8[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa4f0d0-=_0x51b2e8[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b66ee+=_0x51b2e8[_0xa4f0d0];}return _0x5b66ee;}function _0x4cd687(){const _0x633d62=_0x191657[_0x5ad663([0x73,0x70,0x6c,0x69,0x74])](_0x5ad663([0x2e]));if(0x3!=_0x633d62[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9a65bf(_0x633d62[0x1]);function _0x9a65bf(_0x2a7ced){const _0x1531a7=_0x1d0083(_0x2a7ced);return _0x1531a7&&_0x51cd77()?_0x1531a7:null;function _0x51cd77(){const _0xa3b294=_0x1531a7[_0x5ad663([0x6a,0x74,0x69])],_0x574fbb=window[_0x5ad663([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa3b294[_0x5ad663([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa3b294[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e88a2={..._0x1531a7,[_0x5ad663([0x6a,0x74,0x69])]:_0xa3b294[_0x5ad663([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa3b294[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e88a2[_0x5ad663([0x76,0x63])],_0x3d02f5(_0x3e88a2)==_0x574fbb;}}}async function _0x12cffd(){let _0x38a3f0=!0x0;try{const _0x1d4944=_0x191657[_0x5ad663([0x73,0x70,0x6c,0x69,0x74])](_0x5ad663([0x2e])),[_0x22f6ed,_0x4e6ee6,_0x2cbf97]=_0x1d4944;return _0x51c3dd(_0x22f6ed),await _0x212cae(_0x22f6ed,_0x4e6ee6,_0x2cbf97),_0x38a3f0;}catch{return!0x1;}function _0x51c3dd(_0x3e500d){const _0x3ece14=_0x1d0083(_0x3e500d);_0x3ece14&&_0x3ece14[_0x5ad663([0x61,0x6c,0x67])]==_0x5ad663([0x45,0x53,0x32,0x35,0x36])||(_0x38a3f0=!0x1);}async function _0x212cae(_0x27c994,_0x25e05c,_0x1f7009){const _0x4c7b71=window[_0x5ad663([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ad663([0x66,0x72,0x6f,0x6d])](_0x3f8bd6(_0x1f7009),_0x1b3d8b=>_0x1b3d8b[_0x5ad663([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a5d01=new window[(_0x5ad663([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ad663([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27c994+_0x5ad663([0x2e])+_0x25e05c),_0x3c3f08=window[_0x5ad663([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ad663([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c3f08)return;const _0x1fb8b7=await _0x3c3f08[_0x5ad663([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ad663([0x6a,0x77,0x6b]),_0x16a775,{[_0x5ad663([0x6e,0x61,0x6d,0x65])]:_0x5ad663([0x45,0x43,0x44,0x53,0x41]),[_0x5ad663([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ad663([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ad663([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c3f08[_0x5ad663([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ad663([0x6e,0x61,0x6d,0x65])]:_0x5ad663([0x45,0x43,0x44,0x53,0x41]),[_0x5ad663([0x68,0x61,0x73,0x68])]:{[_0x5ad663([0x6e,0x61,0x6d,0x65])]:_0x5ad663([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1fb8b7,_0x4c7b71,_0x2a5d01)||(_0x38a3f0=!0x1);}}function _0x1d0083(_0xb16bcb){return _0xb16bcb[_0x5ad663([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ad663([0x65,0x79]))?JSON[_0x5ad663([0x70,0x61,0x72,0x73,0x65])](_0x3f8bd6(_0xb16bcb)):null;}function _0x3f8bd6(_0x4ccb5b){return window[_0x5ad663([0x61,0x74,0x6f,0x62])](_0x4ccb5b[_0x5ad663([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ad663([0x2b]))[_0x5ad663([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ad663([0x2f])));}function _0x3d02f5(_0x370292){let _0x309ed4=0x1505;function _0x2cf7e0(_0x21c1a0){for(let _0x655c86=0x0;_0x655c86<_0x21c1a0[_0x5ad663([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x655c86++){const _0x4883c4=_0x21c1a0[_0x5ad663([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x655c86);_0x309ed4=(_0x309ed4<<0x5)+_0x309ed4+_0x4883c4,_0x309ed4&=_0x309ed4;}}function _0x4f6fe4(_0x2765d8){Array[_0x5ad663([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2765d8)?_0x2765d8[_0x5ad663([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f6fe4):_0x2765d8&&typeof _0x2765d8==_0x5ad663([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ad663([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2765d8)[_0x5ad663([0x73,0x6f,0x72,0x74])]()[_0x5ad663([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cee87,_0x4df8da])=>{_0x2cf7e0(_0x5cee87),_0x4f6fe4(_0x4df8da);}):_0x2cf7e0(window[_0x5ad663([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2765d8));}return _0x4f6fe4(_0x370292),_0x309ed4>>>0x0;}function _0x114629(_0x339612){return _0x339612[_0x5ad663([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ad663([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ad663([0x30]));}function _0x237e14(_0x3964dc){return _0x3964dc[_0x5ad663([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ad663([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ad663([0x6a,0x6f,0x69,0x6e])]('');}function _0x20baca(){}function _0x5ad663(_0x3a4236){const _0x48275f=_0x3fee;return _0x3a4236[_0x48275f(0xb9)](_0x2d2c2a=>String[_0x48275f(0x99)](_0x2d2c2a))[_0x48275f(0xc8)]('');}_0x15e8d7(await _0x2fead6());}(this);}[_0x52e962(0xc6)](){const _0x244f76=_0x52e962,_0x3082fa=this[_0x244f76(0xc0)][_0x244f76(0xa8)][_0x244f76(0xcc)];_0x3082fa[_0x244f76(0xae)](_0x244f76(0x8e))&&_0x3082fa[_0x244f76(0xac)](_0x244f76(0x8e),{'allowAttributes':[_0x244f76(0xa1)]}),_0x3082fa[_0x244f76(0xae)](_0x244f76(0xbb))&&_0x3082fa[_0x244f76(0xac)](_0x244f76(0xbb),{'allowAttributes':[_0x244f76(0xa1)]});}[_0x52e962(0xca)](){const _0xc34f41=_0x52e962,_0x4a362e=this[_0xc34f41(0xc0)];_0x4a362e[_0xc34f41(0x92)][_0xc34f41(0xb1)](_0xc34f41(0xaa))[_0xc34f41(0xd5)]({'model':_0xc34f41(0xa1),'view':_0xc34f41(0xd3)}),_0x4a362e[_0xc34f41(0x92)][_0xc34f41(0xb1)](_0xc34f41(0x8f))[_0xc34f41(0x94)]({'model':{'key':_0xc34f41(0xa1),'value':_0x8c84fc=>_0x8c84fc[_0xc34f41(0xc4)](_0xc34f41(0xd3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x13720f=_0x4a362e[_0xc34f41(0x98)][_0xc34f41(0xbd)](_0xc34f41(0x84));_0x13720f&&this[_0xc34f41(0xa6)](_0x13720f,_0xc34f41(0xbe),(_0x2954c2,[_0x138952,_0x2921da])=>{const _0x3f50ce=_0xc34f41;_0x138952[_0x3f50ce(0x89)](_0x3f50ce(0xa1),_0x2921da);});}[_0x52e962(0xad)](){const _0x4b6bfc=_0x52e962,_0x4a0d04=this[_0x4b6bfc(0xc0)][_0x4b6bfc(0xc9)][_0x4b6bfc(0xbd)](_0x4b6bfc(0xb8))||{},_0x41abf6=this[_0x4b6bfc(0xc0)][_0x4b6bfc(0xc9)][_0x4b6bfc(0xbd)](_0x4b6bfc(0xb4))||'';this[_0x4b6bfc(0xa2)]=_0xfb37bb(_0xea490c[_0x4b6bfc(0xd8)],_0x4b6bfc(0xd2),{..._0x4a0d04,'pubkey':_0x41abf6,'ctx-name':_0x4b6bfc(0xd1)+this[_0x4b6bfc(0xb7)],'sourceList':'','imgOnly':_0x4b6bfc(0xa5),'removeCopyright':_0x4b6bfc(0xa5),'localeName':this[_0x4b6bfc(0xc0)][_0x4b6bfc(0x9b)][_0x4b6bfc(0x93)],'externalSourcesEmbedCss':_0x4b6bfc(0x95)}),this[_0x4b6bfc(0xa2)][_0x4b6bfc(0xa3)]=_0xa78ea0=>{const _0x2bbf25=_0x4b6bfc;if(_0x2bbf25(0x9e)==_0xa78ea0)return _0x2bbf25(0x8c);},_0xea490c[_0x4b6bfc(0xd8)][_0x4b6bfc(0xb2)][_0x4b6bfc(0xaf)](this[_0x4b6bfc(0xa2)]);}[_0x52e962(0x91)](){const _0x1ad677=_0x52e962;this[_0x1ad677(0xb0)]=_0xfb37bb(_0xea490c[_0x1ad677(0xd8)],_0x1ad677(0xba),{'ctx-name':_0x1ad677(0xd1)+this[_0x1ad677(0xb7)]}),_0xea490c[_0x1ad677(0xd8)][_0x1ad677(0xb2)][_0x1ad677(0xaf)](this[_0x1ad677(0xb0)]);}[_0x52e962(0x8a)](){const _0x3f766d=_0x52e962,_0x656701=this[_0x3f766d(0xc0)][_0x3f766d(0x98)][_0x3f766d(0xbd)](_0x3f766d(0x8d));_0x656701&&this[_0x3f766d(0xa6)](_0x656701,_0x3f766d(0xbf),()=>{const _0x5dc777=_0x3f766d,_0x3ef6f8=this[_0x5dc777(0xc0)][_0x5dc777(0xa8)][_0x5dc777(0xd8)][_0x5dc777(0x9c)][_0x5dc777(0xa7)]();_0x3ef6f8&&_0x3ef6f8[_0x5dc777(0xc4)](_0x5dc777(0xa1))&&this[_0x5dc777(0xc0)][_0x5dc777(0xa0)][_0x5dc777(0xb5)][_0x5dc777(0x86)](_0x5dc777(0xab),()=>{const _0x565cb2=_0x5dc777;_0x41ca3a(this[_0x565cb2(0xc0)],_0x3ef6f8);});});const _0x1ff03c=this[_0x3f766d(0xc0)][_0x3f766d(0x98)][_0x3f766d(0xbd)](_0x3f766d(0x87));_0x1ff03c&&this[_0x3f766d(0xa6)](_0x1ff03c,_0x3f766d(0xbf),()=>{const _0x1ac6e1=_0x3f766d,_0x40a4c0=this[_0x1ac6e1(0xc0)][_0x1ac6e1(0xa8)][_0x1ac6e1(0xd8)][_0x1ac6e1(0x9c)][_0x1ac6e1(0xa7)]();_0x40a4c0&&_0x40a4c0[_0x1ac6e1(0xc4)](_0x1ac6e1(0xa1))&&this[_0x1ac6e1(0xc0)][_0x1ac6e1(0xa0)][_0x1ac6e1(0xb5)][_0x1ac6e1(0x86)](_0x1ac6e1(0xab),()=>{const _0x1a9d44=_0x1ac6e1;_0x41ca3a(this[_0x1a9d44(0xc0)],_0x40a4c0);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1c7661,ObservableMixin as _0x146e20}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x438274}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2482f7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1130e8}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x51c49b}from'../../utils/uploadutils.js';import{getImageUrls as _0x2ac408,getImageDimension as _0x3588fa}from'../../utils/editingutils.js';import{isAncestor as _0x47b0ef}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x146e20(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xe3b80f,_0x4d60b7,_0xee7f4e){super(),this['_editor']=_0xe3b80f,this['_dialog']=_0x4d60b7,this['_imageElement']=_0xee7f4e,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 _0x1da7d8=this['_imageElement'],_0x2564c3=_0x1da7d8['getAttribute']('uploadcareImageId'),_0x26275b=_0x1da7d8['getAttribute']('src');if(_0x2564c3)await this['_loadImageInfo'](_0x2564c3,_0x26275b);else{if(this['_imageCache']['has'](_0x26275b)){const _0x2633e5=this['_imageCache']['get'](_0x26275b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2633e5['url'],this['imageDimension']=_0x2633e5['dimension'],this['imageId']=_0x2633e5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x22cb3b}=this['_editor'],t=_0x22cb3b['t'],_0x4c83dd=new _0x1130e8(_0x22cb3b,this['imageStatus'],this['_attributes']);_0x4c83dd['bind']('status')['to'](this,'imageStatus'),_0x4c83dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4c83dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4c83dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4c83dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2482f7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4c83dd,'position':_0x438274['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4c83dd['focus']();},'onHide':()=>{_0x4c83dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b9121=>!_0x47b0ef(_0x4b9121,_0x4c83dd['element'])}});}['_loadImageInfo'](_0x56537c,_0xc24b2a){return _0x51c49b['getInfo'](_0x56537c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xfe73dc=>{const {width:_0x457420,height:_0x4bdd36}=_0xfe73dc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc24b2a,this['imageDimension']={'width':_0x457420,'height':_0x4bdd36},this['imageId']=_0x56537c;})['catch'](_0x1d483b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d483b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x308bcd,_0x4c04b8){return this['_getImageAsFile'](_0x308bcd)['then'](_0x1ac303=>_0x51c49b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4c04b8['signal'],'file':_0x1ac303,'onProgress':_0x45497a=>{_0x45497a&&_0x45497a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x45497a['value']));}}))['then'](_0x1cc9ae=>{const {width:_0x5b149f,height:_0x99fc8e}=_0x1cc9ae['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cc9ae['cdnUrl'],this['imageDimension']={'width':_0x5b149f,'height':_0x99fc8e},this['imageId']=_0x1cc9ae['uuid'],this['imageUploadProgress']=null;const _0x320b95=_0x308bcd['getAttribute']('src');this['_imageCache']['set'](_0x320b95,{'id':_0x1cc9ae['uuid'],'url':_0x1cc9ae['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4deff1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4deff1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3499f3,_0x1a4f28){_0x3499f3['on']('apply',(_0x263180,_0x165532)=>{this['_replaceImage'](_0x1a4f28,_0x165532['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3499f3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3499f3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x27a748,_0x3d6aa6,_0x43c3f1){const _0x35615f=this['_editor'],{width:_0x4e83ba,height:_0x262c47}=_0x3588fa(_0x3d6aa6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x48862f,imageSources:_0x2e70c8}=_0x2ac408(_0x3d6aa6,_0x4e83ba);_0x35615f['model']['change'](_0x144104=>{if('$graveyard'===_0x27a748['root']['rootName']){_0x35615f['execute']('insertImage',{'imageType':_0x27a748['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x27a748['getAttributes']()),'uploadcareImageId':_0x43c3f1,'src':_0x48862f,'sources':_0x2e70c8,'width':_0x4e83ba,'height':_0x262c47}});const _0x37c6ce=_0x27a748['getChildren']();_0x27a748=_0x35615f['model']['document']['selection']['getSelectedElement']();for(const _0x28f318 of _0x37c6ce)_0x144104['append'](_0x144104['cloneElement'](_0x28f318),_0x27a748);}else _0x144104['setSelection'](_0x27a748,'on'),_0x35615f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x27a748['getAttributes']()),'uploadcareImageId':_0x43c3f1,'src':_0x48862f,'sources':_0x2e70c8,'width':_0x4e83ba,'height':_0x262c47},_0x27a748);_0x144104['setSelection'](_0x27a748,'on');});}async['_getImageAsFile'](_0x5cade6){const _0x3ced78=_0x1c7661['window'],_0x5415e1=_0x1c7661['document']['location']['href'],_0x5bed3e=new _0x3ced78['URL'](_0x5cade6['getAttribute']('src'),_0x5415e1);if('data:'===_0x5bed3e['protocol']){const _0x453563=_0x5bed3e['href']['split'](','),_0x24028a=_0x453563[0x0]['match'](/:(.*?);/)[0x1],_0x116d07=_0x24028a['split']('/')[0x1],_0x2b5ebd=_0x3ced78['atob'](_0x453563[_0x453563['length']-0x1]);let _0x442902=_0x2b5ebd['length'];const _0x5230e9=new _0x3ced78['Uint8Array'](_0x442902);for(;_0x442902--;)_0x5230e9[_0x442902]=_0x2b5ebd['charCodeAt'](_0x442902);return new _0x3ced78['File']([_0x5230e9],'image.'+_0x116d07,{'type':_0x24028a});}const _0x31d404=_0x5bed3e['href']['split']('/'),_0xa226e8=_0x31d404[_0x31d404['length']-0x1],_0x231dd0=_0xa226e8['split']('.')[0x1];return _0x3ced78['fetch'](_0x5bed3e['href'])['then'](_0x4c30a1=>_0x4c30a1['clone']()['blob']())['then'](_0x4d3e97=>new _0x3ced78['File']([_0x4d3e97],_0xa226e8,{'type':'image/'+_0x231dd0}));}}
23
+ import{global as _0x2059b4,ObservableMixin as _0x482fee}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4fb2e4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4fd72d}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3d5841}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x68bae4}from'../../utils/uploadutils.js';import{getImageUrls as _0x49478a,getImageDimension as _0x1e5568}from'../../utils/editingutils.js';import{isAncestor as _0x4756bd}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x482fee(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3fda8f,_0x49b708,_0x3cbad0){super(),this['_editor']=_0x3fda8f,this['_dialog']=_0x49b708,this['_imageElement']=_0x3cbad0,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 _0x5933b5=this['_imageElement'],_0x2a43a2=_0x5933b5['getAttribute']('uploadcareImageId'),_0x17569b=_0x5933b5['getAttribute']('src');if(_0x2a43a2)await this['_loadImageInfo'](_0x2a43a2,_0x17569b);else{if(this['_imageCache']['has'](_0x17569b)){const _0x29e40c=this['_imageCache']['get'](_0x17569b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x29e40c['url'],this['imageDimension']=_0x29e40c['dimension'],this['imageId']=_0x29e40c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x56a395}=this['_editor'],t=_0x56a395['t'],_0x4dde5d=new _0x3d5841(_0x56a395,this['imageStatus'],this['_attributes']);_0x4dde5d['bind']('status')['to'](this,'imageStatus'),_0x4dde5d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4dde5d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4dde5d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4dde5d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4fd72d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4dde5d,'position':_0x4fb2e4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4dde5d['focus']();},'onHide':()=>{_0x4dde5d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3cc630=>!_0x4756bd(_0x3cc630,_0x4dde5d['element'])}});}['_loadImageInfo'](_0x260483,_0x56b945){return _0x68bae4['getInfo'](_0x260483,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x31001e=>{const {width:_0x2adae9,height:_0x3c1e96}=_0x31001e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56b945,this['imageDimension']={'width':_0x2adae9,'height':_0x3c1e96},this['imageId']=_0x260483;})['catch'](_0x17bffa=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x17bffa['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x475924,_0x1bb45f){return this['_getImageAsFile'](_0x475924)['then'](_0x2886b4=>_0x68bae4['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1bb45f['signal'],'file':_0x2886b4,'onProgress':_0x55797f=>{_0x55797f&&_0x55797f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x55797f['value']));}}))['then'](_0x5087fe=>{const {width:_0xd22885,height:_0x558546}=_0x5087fe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5087fe['cdnUrl'],this['imageDimension']={'width':_0xd22885,'height':_0x558546},this['imageId']=_0x5087fe['uuid'],this['imageUploadProgress']=null;const _0x22c972=_0x475924['getAttribute']('src');this['_imageCache']['set'](_0x22c972,{'id':_0x5087fe['uuid'],'url':_0x5087fe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2711e9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2711e9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5d1974,_0x138971){_0x5d1974['on']('apply',(_0xc5cc6e,_0x1ca277)=>{this['_replaceImage'](_0x138971,_0x1ca277['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5d1974['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5d1974['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x11727c,_0x553e0c,_0x4b0c7d){const _0x5401ae=this['_editor'],{width:_0xcab664,height:_0x50599b}=_0x1e5568(_0x553e0c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x56f4a5,imageSources:_0x5d065d}=_0x49478a(_0x553e0c,_0xcab664);_0x5401ae['model']['change'](_0x5b651b=>{if('$graveyard'===_0x11727c['root']['rootName']){_0x5401ae['execute']('insertImage',{'imageType':_0x11727c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x11727c['getAttributes']()),'uploadcareImageId':_0x4b0c7d,'src':_0x56f4a5,'sources':_0x5d065d,'width':_0xcab664,'height':_0x50599b}});const _0x505c3a=_0x11727c['getChildren']();_0x11727c=_0x5401ae['model']['document']['selection']['getSelectedElement']();for(const _0x4de107 of _0x505c3a)_0x5b651b['append'](_0x5b651b['cloneElement'](_0x4de107),_0x11727c);}else _0x5b651b['setSelection'](_0x11727c,'on'),_0x5401ae['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x11727c['getAttributes']()),'uploadcareImageId':_0x4b0c7d,'src':_0x56f4a5,'sources':_0x5d065d,'width':_0xcab664,'height':_0x50599b},_0x11727c);_0x5b651b['setSelection'](_0x11727c,'on');});}async['_getImageAsFile'](_0x50fc16){const _0x120c7f=_0x2059b4['window'],_0xf91643=_0x2059b4['document']['location']['href'],_0x2cab67=new _0x120c7f['URL'](_0x50fc16['getAttribute']('src'),_0xf91643);if('data:'===_0x2cab67['protocol']){const _0x491c36=_0x2cab67['href']['split'](','),_0x4e9c2e=_0x491c36[0x0]['match'](/:(.*?);/)[0x1],_0x3b3501=_0x4e9c2e['split']('/')[0x1],_0x22df34=_0x120c7f['atob'](_0x491c36[_0x491c36['length']-0x1]);let _0xda016f=_0x22df34['length'];const _0x1ba2d1=new _0x120c7f['Uint8Array'](_0xda016f);for(;_0xda016f--;)_0x1ba2d1[_0xda016f]=_0x22df34['charCodeAt'](_0xda016f);return new _0x120c7f['File']([_0x1ba2d1],'image.'+_0x3b3501,{'type':_0x4e9c2e});}const _0x59e404=_0x2cab67['href']['split']('/'),_0x34fe7d=_0x59e404[_0x59e404['length']-0x1],_0x57dcdb=_0x34fe7d['split']('.')[0x1];return _0x120c7f['fetch'](_0x2cab67['href'])['then'](_0x4cbec5=>_0x4cbec5['clone']()['blob']())['then'](_0x41edfc=>new _0x120c7f['File']([_0x41edfc],_0x34fe7d,{'type':'image/'+_0x57dcdb}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3b46b3,_0xd49416){const _0x16463d=_0x17f2,_0x5eb10e=_0x3b46b3();while(!![]){try{const _0x200969=-parseInt(_0x16463d(0x72))/0x1*(parseInt(_0x16463d(0x75))/0x2)+-parseInt(_0x16463d(0x6b))/0x3*(parseInt(_0x16463d(0x68))/0x4)+-parseInt(_0x16463d(0x6d))/0x5*(parseInt(_0x16463d(0x6c))/0x6)+parseInt(_0x16463d(0x73))/0x7*(parseInt(_0x16463d(0x7a))/0x8)+parseInt(_0x16463d(0x6a))/0x9*(-parseInt(_0x16463d(0x69))/0xa)+parseInt(_0x16463d(0x7b))/0xb*(parseInt(_0x16463d(0x76))/0xc)+-parseInt(_0x16463d(0x74))/0xd*(-parseInt(_0x16463d(0x67))/0xe);if(_0x200969===_0xd49416)break;else _0x5eb10e['push'](_0x5eb10e['shift']());}catch(_0x434568){_0x5eb10e['push'](_0x5eb10e['shift']());}}}(_0x52ca,0xdc5c6));function _0x17f2(_0x599547,_0x381f62){const _0x52cada=_0x52ca();return _0x17f2=function(_0x17f2c,_0x408403){_0x17f2c=_0x17f2c-0x67;let _0x1609d3=_0x52cada[_0x17f2c];return _0x1609d3;},_0x17f2(_0x599547,_0x381f62);}import{View as _0xa51c4f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa51c4f{constructor(_0xeeb07,_0x35456a){const _0x1ac18e=_0x17f2;super(_0xeeb07);const _0xdeb06f=this[_0x1ac18e(0x7c)];this[_0x1ac18e(0x78)](_0x1ac18e(0x77),''),this[_0x1ac18e(0x71)]({'tag':_0x1ac18e(0x6e),'attributes':{..._0x35456a,'class':[_0x1ac18e(0x79),_0x1ac18e(0x6f)],'ctx-name':_0x1ac18e(0x70),'cdn-url':_0xdeb06f['to'](_0x1ac18e(0x77))}});}}function _0x52ca(){const _0x436bab=['setTemplate','1PNrxGW','7zdQFgK','99931LLYnQK','453234uvCyiG','7668YmwueF','imageSrc','set','uc-light','13680456QqdBMF','5093bHKovo','bindTemplate','2338hClPjA','52248KWDapB','565670IoanyK','207cUoZBX','150QXCuWz','6AZTeTW','1031435rwthYq','uc-cloud-image-editor','ck-uploadcare-theme','image-edit'];_0x52ca=function(){return _0x436bab;};return _0x52ca();}
23
+ (function(_0x5300af,_0x3e8932){const _0x17f2b4=_0x53a4,_0x287d33=_0x5300af();while(!![]){try{const _0x1dfd21=-parseInt(_0x17f2b4(0x1bf))/0x1*(parseInt(_0x17f2b4(0x1c8))/0x2)+parseInt(_0x17f2b4(0x1c4))/0x3*(-parseInt(_0x17f2b4(0x1ce))/0x4)+parseInt(_0x17f2b4(0x1d0))/0x5*(-parseInt(_0x17f2b4(0x1c7))/0x6)+parseInt(_0x17f2b4(0x1d2))/0x7*(-parseInt(_0x17f2b4(0x1c0))/0x8)+parseInt(_0x17f2b4(0x1cf))/0x9+parseInt(_0x17f2b4(0x1c9))/0xa*(-parseInt(_0x17f2b4(0x1ca))/0xb)+-parseInt(_0x17f2b4(0x1c5))/0xc*(-parseInt(_0x17f2b4(0x1c2))/0xd);if(_0x1dfd21===_0x3e8932)break;else _0x287d33['push'](_0x287d33['shift']());}catch(_0x23de1e){_0x287d33['push'](_0x287d33['shift']());}}}(_0x38b3,0xd6bc2));import{View as _0x178c90}from'ckeditor5/src/ui.js';function _0x53a4(_0x5cb1d6,_0x533d26){const _0x38b350=_0x38b3();return _0x53a4=function(_0x53a434,_0x1397f0){_0x53a434=_0x53a434-0x1be;let _0x84e9b6=_0x38b350[_0x53a434];return _0x84e9b6;},_0x53a4(_0x5cb1d6,_0x533d26);}function _0x38b3(){const _0x3f355f=['3ftnpSD','8bmxyWx','uc-cloud-image-editor','10153tMdZer','setTemplate','115713uakOOa','76764xkwLWB','image-edit','27822TojTqX','763582TcXfRN','235550iqAxKf','55IoheSc','ck-uploadcare-theme','bindTemplate','uc-light','112ZFvgxV','14434542nDnlJQ','1855xxyxIS','imageSrc','11598146nmuKDh','set'];_0x38b3=function(){return _0x3f355f;};return _0x38b3();}export class UploadcareImageEditFormEditingView extends _0x178c90{constructor(_0x150975,_0x415552){const _0x349d9c=_0x53a4;super(_0x150975);const _0x391a8b=this[_0x349d9c(0x1cc)];this[_0x349d9c(0x1be)](_0x349d9c(0x1d1),''),this[_0x349d9c(0x1c3)]({'tag':_0x349d9c(0x1c1),'attributes':{..._0x415552,'class':[_0x349d9c(0x1cd),_0x349d9c(0x1cb)],'ctx-name':_0x349d9c(0x1c6),'cdn-url':_0x391a8b['to'](_0x349d9c(0x1d1))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1675e8}from'ckeditor5/src/icons.js';import{ButtonView as _0x547b45,IconView as _0x1e8409,View as _0x507de2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x507de2{constructor(_0x262c1a){super(_0x262c1a);const t=_0x262c1a['t'];this['set']('errorType',null);const _0x2418b4=new _0x547b45(_0x262c1a);_0x2418b4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2418b4['withText']=!0x0,_0x2418b4['class']='ck-button-action',_0x2418b4['on']('execute',()=>{this['fire']('retry');}),_0x2418b4['bind']('isVisible')['to'](this,'errorType',_0xf85791=>'NotFound'!==_0xf85791);const _0x2c33d7=new _0x1e8409();_0x2c33d7['content']=_0x1675e8,_0x2c33d7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13b133=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':[_0x2c33d7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13b133['to']('errorType',_0x3b9098=>t('NotFound'!==_0x3b9098?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2418b4]},{'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 _0x48cba9}from'ckeditor5/src/icons.js';import{ButtonView as _0x48c7d0,IconView as _0x1cb4b7,View as _0x41785a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x41785a{constructor(_0x33aa3a){super(_0x33aa3a);const t=_0x33aa3a['t'];this['set']('errorType',null);const _0x453f51=new _0x48c7d0(_0x33aa3a);_0x453f51['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x453f51['withText']=!0x0,_0x453f51['class']='ck-button-action',_0x453f51['on']('execute',()=>{this['fire']('retry');}),_0x453f51['bind']('isVisible')['to'](this,'errorType',_0x550aa9=>'NotFound'!==_0x550aa9);const _0x268ffe=new _0x1cb4b7();_0x268ffe['content']=_0x48cba9,_0x268ffe['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x35d605=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':[_0x268ffe,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x35d605['to']('errorType',_0x6a17fe=>t('NotFound'!==_0x6a17fe?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x453f51]},{'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 _0x3d42da,View as _0x3635be}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3635be{constructor(_0x4a5ff9){super(_0x4a5ff9);const t=_0x4a5ff9['t'],_0x8570a1=this['bindTemplate'],_0x50eca1=new _0x3d42da();_0x50eca1['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':[_0x50eca1,{'text':_0x8570a1['to']('imageUploadProgress',_0x3c2408=>t('Loading\x20image...')+'\x20('+(_0x3c2408||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 _0xa4f686,View as _0x5af49b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5af49b{constructor(_0x505840){super(_0x505840);const t=_0x505840['t'],_0x2203a1=this['bindTemplate'],_0x107f8b=new _0xa4f686();_0x107f8b['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':[_0x107f8b,{'text':_0x2203a1['to']('imageUploadProgress',_0x26a794=>t('Loading\x20image...')+'\x20('+(_0x26a794||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2cc3(){const _0x3e8223=['element','apply','setTemplate','getFocusableElement','status','uc-cloud-image-editor','length','change:status','ck-uploadcare-form','277290yiLbHB','1361625EmZsYY','error','2160326xOHfku','_items','cancel','cdnUrl','_waitForImageEditorComponent','focus','querySelector','createCollection','observe','addMany','nodeName','retry','target','_errorView','_focusableView','246498LwWNAb','ready','_addErrorViewListeners','once','_editingView','toLowerCase','326153BQJydW','_setView','fire','addEventListener','9WAPwkA','detail','_loadingView','1336650AWyFQN','clear','div','set','filter','add','uploading','ck-reset_all-excluded','render','addedNodes','20rfqrby','disconnect','_addUploadcareImageEditorListeners','9704872YZyQeC'];_0x2cc3=function(){return _0x3e8223;};return _0x2cc3();}const _0x225654=_0x4064;function _0x4064(_0x5c14f1,_0xda614b){const _0x2cc3ba=_0x2cc3();return _0x4064=function(_0x40643c,_0x3447a2){_0x40643c=_0x40643c-0xc2;let _0x4b8bde=_0x2cc3ba[_0x40643c];return _0x4b8bde;},_0x4064(_0x5c14f1,_0xda614b);}(function(_0x203b2a,_0x542fae){const _0x1dfcd4=_0x4064,_0x4358b8=_0x203b2a();while(!![]){try{const _0x637459=-parseInt(_0x1dfcd4(0xca))/0x1+parseInt(_0x1dfcd4(0xe8))/0x2+parseInt(_0x1dfcd4(0xc4))/0x3*(-parseInt(_0x1dfcd4(0xdb))/0x4)+-parseInt(_0x1dfcd4(0xe9))/0x5+parseInt(_0x1dfcd4(0xd1))/0x6+-parseInt(_0x1dfcd4(0xeb))/0x7+parseInt(_0x1dfcd4(0xde))/0x8*(parseInt(_0x1dfcd4(0xce))/0x9);if(_0x637459===_0x542fae)break;else _0x4358b8['push'](_0x4358b8['shift']());}catch(_0x505eb2){_0x4358b8['push'](_0x4358b8['shift']());}}}(_0x2cc3,0x3ea5b));import{View as _0x3edf0f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x22442a}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4ba49b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x363e9f}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x27dd54}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x27dd54{[_0x225654(0xec)];[_0x225654(0xd0)];[_0x225654(0xc2)];[_0x225654(0xc8)];[_0x225654(0xc3)];constructor(_0x434424,_0x380580,_0x12d41d){const _0x272989=_0x225654;super(_0x434424),this[_0x272989(0xec)]=this[_0x272989(0xf2)](),this[_0x272989(0xd0)]=new _0x22442a(_0x434424),this[_0x272989(0xc2)]=new _0x4ba49b(_0x434424),this[_0x272989(0xc8)]=new _0x363e9f(_0x434424,_0x12d41d),this[_0x272989(0xc3)]=new _0x3edf0f(_0x434424),this[_0x272989(0xc3)][_0x272989(0xe1)](this[_0x272989(0xe2)]()),this[_0x272989(0xd4)](_0x272989(0xe3),_0x380580),this[_0x272989(0xe1)]({'tag':_0x272989(0xd3),'attributes':{'class':['ck',_0x272989(0xd8),_0x272989(0xe7)],'tabindex':'-1'},'children':this[_0x272989(0xec)]}),this[_0x272989(0xcb)](),this[_0x272989(0xc7)](_0x272989(0xd9),()=>{const _0x5f00c7=_0x272989;this[_0x5f00c7(0xef)](this[_0x5f00c7(0xdf)],_0x405c09=>{const _0x3a20c6=_0x5f00c7;this[_0x3a20c6(0xdd)](_0x405c09);});}),this['on'](_0x272989(0xe6),()=>{const _0x3e7c71=_0x272989;this[_0x3e7c71(0xcb)]();}),this[_0x272989(0xc6)]();}[_0x225654(0xf0)](){const _0x2ace81=_0x225654;this[_0x2ace81(0xdf)][_0x2ace81(0xf0)]();}[_0x225654(0xcb)](){const _0x35ba25=_0x225654;switch(this[_0x35ba25(0xec)][_0x35ba25(0xd2)](),this[_0x35ba25(0xe3)]){case _0x35ba25(0xd7):this[_0x35ba25(0xec)][_0x35ba25(0xd6)](this[_0x35ba25(0xd0)]);break;case _0x35ba25(0xea):this[_0x35ba25(0xec)][_0x35ba25(0xd6)](this[_0x35ba25(0xc2)]);break;case _0x35ba25(0xc5):this[_0x35ba25(0xec)][_0x35ba25(0xf4)]([this[_0x35ba25(0xc8)],this[_0x35ba25(0xc3)]]);}}[_0x225654(0xef)](_0x29bed0,_0xefab28){const _0x6a48f6=_0x225654,_0x5c55d5=_0x6a48f6(0xe4),_0x53a3d3=_0x29bed0[_0x6a48f6(0xf1)](_0x5c55d5);if(_0x53a3d3)return _0xefab28(_0x53a3d3);const _0x995169=new MutationObserver(_0x1edaf9=>{const _0x39394d=_0x6a48f6,_0xac9b3f=_0x1edaf9[_0x39394d(0xd5)](_0x15edcd=>_0x15edcd[_0x39394d(0xf7)]===_0x29bed0&&_0x15edcd[_0x39394d(0xda)][_0x39394d(0xe5)]>0x0&&_0x15edcd[_0x39394d(0xda)][0x0][_0x39394d(0xf5)][_0x39394d(0xc9)]()===_0x5c55d5);_0xac9b3f[_0x39394d(0xe5)]&&(_0x995169[_0x39394d(0xdc)](),_0xefab28(_0xac9b3f[0x0][_0x39394d(0xda)][0x0]));});_0x995169[_0x6a48f6(0xf3)](_0x29bed0,{'childList':!0x0,'subtree':!0x0});}[_0x225654(0xdd)](_0x5df24d){const _0x11128a=_0x225654;_0x5df24d[_0x11128a(0xcd)](_0x11128a(0xe0),_0x44239b=>{const _0x321f73=_0x11128a;this[_0x321f73(0xcc)](_0x321f73(0xe0),{'imageSrc':_0x44239b[_0x321f73(0xcf)][_0x321f73(0xee)]});}),_0x5df24d[_0x11128a(0xcd)](_0x11128a(0xed),()=>{const _0x44cf20=_0x11128a;this[_0x44cf20(0xcc)](_0x44cf20(0xed));});}[_0x225654(0xc6)](){const _0x4ca293=_0x225654;this[_0x4ca293(0xc2)]['on'](_0x4ca293(0xf6),()=>{const _0x27c922=_0x4ca293;this[_0x27c922(0xcc)](_0x27c922(0xf6));});}}
23
+ function _0x50bc(_0x467470,_0x2fc79e){const _0x2efacd=_0x2efa();return _0x50bc=function(_0x50bcd4,_0x2ade87){_0x50bcd4=_0x50bcd4-0xf3;let _0x3d7257=_0x2efacd[_0x50bcd4];return _0x3d7257;},_0x50bc(_0x467470,_0x2fc79e);}const _0x58eb83=_0x50bc;(function(_0x4fadd0,_0x1bec1){const _0x7b0aa9=_0x50bc,_0x4e12bc=_0x4fadd0();while(!![]){try{const _0x3f29f4=parseInt(_0x7b0aa9(0x115))/0x1+-parseInt(_0x7b0aa9(0x120))/0x2*(-parseInt(_0x7b0aa9(0x127))/0x3)+-parseInt(_0x7b0aa9(0x11d))/0x4*(parseInt(_0x7b0aa9(0x104))/0x5)+parseInt(_0x7b0aa9(0x107))/0x6*(parseInt(_0x7b0aa9(0x125))/0x7)+-parseInt(_0x7b0aa9(0x10c))/0x8*(parseInt(_0x7b0aa9(0x11e))/0x9)+parseInt(_0x7b0aa9(0xfb))/0xa*(-parseInt(_0x7b0aa9(0xfe))/0xb)+parseInt(_0x7b0aa9(0x119))/0xc*(parseInt(_0x7b0aa9(0xf3))/0xd);if(_0x3f29f4===_0x1bec1)break;else _0x4e12bc['push'](_0x4e12bc['shift']());}catch(_0x243b19){_0x4e12bc['push'](_0x4e12bc['shift']());}}}(_0x2efa,0xb8e65));import{View as _0x4c6da9}from'ckeditor5/src/ui.js';function _0x2efa(){const _0x5be179=['uploading','cancel','filter','_addErrorViewListeners','retry','length','cdnUrl','353076fjeJrS','_errorView','target','querySelector','167148AMvcbc','ck-reset_all-excluded','nodeName','fire','1724ZcSdsI','2178mWbqtB','clear','3266idHuXq','div','observe','render','getFocusableElement','7pxJsgx','once','891CfTiMw','toLowerCase','addedNodes','addEventListener','_items','createCollection','1339twDUIY','change:status','_waitForImageEditorComponent','set','setTemplate','addMany','_addUploadcareImageEditorListeners','apply','4451960AuuqKa','_setView','uc-cloud-image-editor','11ZGVOfj','disconnect','detail','ck-uploadcare-form','_focusableView','error','5695TnVRbw','focus','status','1985112ojrLnU','add','ready','element','_loadingView','30088ouYdyK','_editingView'];_0x2efa=function(){return _0x5be179;};return _0x2efa();}import{UploadcareImageEditFormLoadingView as _0x187011}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ea8b6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x55b18e}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x172fdd}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x172fdd{[_0x58eb83(0x12b)];[_0x58eb83(0x10b)];[_0x58eb83(0x116)];[_0x58eb83(0x10d)];[_0x58eb83(0x102)];constructor(_0x3c169d,_0x2b816c,_0x213014){const _0x384d6a=_0x58eb83;super(_0x3c169d),this[_0x384d6a(0x12b)]=this[_0x384d6a(0x12c)](),this[_0x384d6a(0x10b)]=new _0x187011(_0x3c169d),this[_0x384d6a(0x116)]=new _0x2ea8b6(_0x3c169d),this[_0x384d6a(0x10d)]=new _0x55b18e(_0x3c169d,_0x213014),this[_0x384d6a(0x102)]=new _0x4c6da9(_0x3c169d),this[_0x384d6a(0x102)][_0x384d6a(0xf7)](this[_0x384d6a(0x124)]()),this[_0x384d6a(0xf6)](_0x384d6a(0x106),_0x2b816c),this[_0x384d6a(0xf7)]({'tag':_0x384d6a(0x121),'attributes':{'class':['ck',_0x384d6a(0x11a),_0x384d6a(0x101)],'tabindex':'-1'},'children':this[_0x384d6a(0x12b)]}),this[_0x384d6a(0xfc)](),this[_0x384d6a(0x126)](_0x384d6a(0x123),()=>{const _0x3ee5e3=_0x384d6a;this[_0x3ee5e3(0xf5)](this[_0x3ee5e3(0x10a)],_0x89dab6=>{const _0x570a82=_0x3ee5e3;this[_0x570a82(0xf9)](_0x89dab6);});}),this['on'](_0x384d6a(0xf4),()=>{const _0x282a23=_0x384d6a;this[_0x282a23(0xfc)]();}),this[_0x384d6a(0x111)]();}[_0x58eb83(0x105)](){const _0x4c7edf=_0x58eb83;this[_0x4c7edf(0x10a)][_0x4c7edf(0x105)]();}[_0x58eb83(0xfc)](){const _0x2c061e=_0x58eb83;switch(this[_0x2c061e(0x12b)][_0x2c061e(0x11f)](),this[_0x2c061e(0x106)]){case _0x2c061e(0x10e):this[_0x2c061e(0x12b)][_0x2c061e(0x108)](this[_0x2c061e(0x10b)]);break;case _0x2c061e(0x103):this[_0x2c061e(0x12b)][_0x2c061e(0x108)](this[_0x2c061e(0x116)]);break;case _0x2c061e(0x109):this[_0x2c061e(0x12b)][_0x2c061e(0xf8)]([this[_0x2c061e(0x10d)],this[_0x2c061e(0x102)]]);}}[_0x58eb83(0xf5)](_0x2eb639,_0x5e1cba){const _0x52df4b=_0x58eb83,_0x24818e=_0x52df4b(0xfd),_0x241849=_0x2eb639[_0x52df4b(0x118)](_0x24818e);if(_0x241849)return _0x5e1cba(_0x241849);const _0x1eb050=new MutationObserver(_0x5b85f0=>{const _0x46f4cd=_0x52df4b,_0x4d0038=_0x5b85f0[_0x46f4cd(0x110)](_0x1b0c4d=>_0x1b0c4d[_0x46f4cd(0x117)]===_0x2eb639&&_0x1b0c4d[_0x46f4cd(0x129)][_0x46f4cd(0x113)]>0x0&&_0x1b0c4d[_0x46f4cd(0x129)][0x0][_0x46f4cd(0x11b)][_0x46f4cd(0x128)]()===_0x24818e);_0x4d0038[_0x46f4cd(0x113)]&&(_0x1eb050[_0x46f4cd(0xff)](),_0x5e1cba(_0x4d0038[0x0][_0x46f4cd(0x129)][0x0]));});_0x1eb050[_0x52df4b(0x122)](_0x2eb639,{'childList':!0x0,'subtree':!0x0});}[_0x58eb83(0xf9)](_0x3cecab){const _0x1a6e79=_0x58eb83;_0x3cecab[_0x1a6e79(0x12a)](_0x1a6e79(0xfa),_0x4e5f68=>{const _0x180f22=_0x1a6e79;this[_0x180f22(0x11c)](_0x180f22(0xfa),{'imageSrc':_0x4e5f68[_0x180f22(0x100)][_0x180f22(0x114)]});}),_0x3cecab[_0x1a6e79(0x12a)](_0x1a6e79(0x10f),()=>{const _0x2dfcd0=_0x1a6e79;this[_0x2dfcd0(0x11c)](_0x2dfcd0(0x10f));});}[_0x58eb83(0x111)](){const _0x2aa7b1=_0x58eb83;this[_0x2aa7b1(0x116)]['on'](_0x2aa7b1(0x112),()=>{const _0x1a626e=_0x2aa7b1;this[_0x1a626e(0x11c)](_0x1a626e(0x112));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5efac9=_0x3a2f;(function(_0x4391e0,_0x464525){const _0x13a78a=_0x3a2f,_0x24c177=_0x4391e0();while(!![]){try{const _0x5a6ccb=-parseInt(_0x13a78a(0x166))/0x1+parseInt(_0x13a78a(0x164))/0x2*(-parseInt(_0x13a78a(0x15b))/0x3)+-parseInt(_0x13a78a(0x167))/0x4+parseInt(_0x13a78a(0x14f))/0x5*(-parseInt(_0x13a78a(0x153))/0x6)+-parseInt(_0x13a78a(0x15e))/0x7*(-parseInt(_0x13a78a(0x156))/0x8)+-parseInt(_0x13a78a(0x162))/0x9*(parseInt(_0x13a78a(0x159))/0xa)+parseInt(_0x13a78a(0x14d))/0xb;if(_0x5a6ccb===_0x464525)break;else _0x24c177['push'](_0x24c177['shift']());}catch(_0x49b72e){_0x24c177['push'](_0x24c177['shift']());}}}(_0x4536,0x53be1));import{Command as _0x48918a}from'ckeditor5/src/core.js';function _0x4536(){const _0x251629=['set','362307IPVCJD','requires','execute','165669ZbIXqq','uploadcare.allowExternalImagesEditing','imageBlock','refresh','9WYnYMr','model','4tRdCcV','imageEditController','94458kyKQhp','1709680sdykrW','document','imageInline','bind','getSelectedElement','get','unbind','15658654UNflGd','_isEditable','30805gwdrDu','isActive','isEnabled','selection','54czpdNo','config','element','56RLzRXs','plugins','editor','4273090Nfkqja'];_0x4536=function(){return _0x251629;};return _0x4536();}import{Dialog as _0x472fb3}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x42d968}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x19fe29}from'../utils/editingutils.js';function _0x3a2f(_0x386514,_0x27c400){const _0x4536da=_0x4536();return _0x3a2f=function(_0x3a2f6f,_0x1fbac8){_0x3a2f6f=_0x3a2f6f-0x148;let _0x1ff693=_0x4536da[_0x3a2f6f];return _0x1ff693;},_0x3a2f(_0x386514,_0x27c400);}export class UploadcareImageEditCommand extends _0x48918a{[_0x5efac9(0x165)];static get[_0x5efac9(0x15c)](){return[_0x472fb3];}[_0x5efac9(0x14e)];constructor(_0x3308d0){const _0x41bfac=_0x5efac9;super(_0x3308d0),this[_0x41bfac(0x165)]=void 0x0,this[_0x41bfac(0x14e)]=_0x19fe29(_0x3308d0[_0x41bfac(0x154)][_0x41bfac(0x14b)](_0x41bfac(0x15f))||[]),this[_0x41bfac(0x15a)]({'isActive':!0x1});}[_0x5efac9(0x161)](){const _0x2084f3=_0x5efac9,_0x351568=this[_0x2084f3(0x158)][_0x2084f3(0x163)][_0x2084f3(0x168)][_0x2084f3(0x152)][_0x2084f3(0x14a)]();this[_0x2084f3(0x151)]=this[_0x2084f3(0x14e)](_0x351568);}[_0x5efac9(0x15d)](){const _0x36b1ba=_0x5efac9;this[_0x36b1ba(0x165)]&&(this[_0x36b1ba(0x14c)](_0x36b1ba(0x150)),this[_0x36b1ba(0x165)]=void 0x0);const _0x189c97=this[_0x36b1ba(0x158)][_0x36b1ba(0x163)][_0x36b1ba(0x168)][_0x36b1ba(0x152)][_0x36b1ba(0x14a)]();_0x189c97&&(_0x189c97['is'](_0x36b1ba(0x155),_0x36b1ba(0x160))||_0x189c97['is'](_0x36b1ba(0x155),_0x36b1ba(0x148)))&&(this[_0x36b1ba(0x165)]=new _0x42d968(this[_0x36b1ba(0x158)],this[_0x36b1ba(0x158)][_0x36b1ba(0x157)][_0x36b1ba(0x14b)](_0x472fb3),_0x189c97),this[_0x36b1ba(0x149)](_0x36b1ba(0x150))['to'](this[_0x36b1ba(0x165)],_0x36b1ba(0x150)));}}
23
+ function _0x390b(){const _0x27635f=['imageEditController','execute','3834078hIuCRj','1153310NOsRQV','659049SJMAYq','editor','config','selection','requires','4008uFsdQJ','document','359448PdpsPC','plugins','get','_isEditable','7ZNIQrL','543gcvNsm','set','unbind','bind','isActive','refresh','model','4946510mZjeeP','18pAPPEr','imageInline','getSelectedElement','uploadcare.allowExternalImagesEditing','1897816TVUBmi','element','isEnabled','imageBlock'];_0x390b=function(){return _0x27635f;};return _0x390b();}const _0x175601=_0x1988;(function(_0x12f8da,_0xb6a5c7){const _0x17c793=_0x1988,_0x53c908=_0x12f8da();while(!![]){try{const _0x1e4b7c=parseInt(_0x17c793(0x1f8))/0x1+-parseInt(_0x17c793(0x1fd))/0x2*(parseInt(_0x17c793(0x1e4))/0x3)+-parseInt(_0x17c793(0x1ff))/0x4+-parseInt(_0x17c793(0x1f7))/0x5+-parseInt(_0x17c793(0x1f6))/0x6+-parseInt(_0x17c793(0x203))/0x7*(-parseInt(_0x17c793(0x1f0))/0x8)+parseInt(_0x17c793(0x1ec))/0x9*(parseInt(_0x17c793(0x1eb))/0xa);if(_0x1e4b7c===_0xb6a5c7)break;else _0x53c908['push'](_0x53c908['shift']());}catch(_0x1d3935){_0x53c908['push'](_0x53c908['shift']());}}}(_0x390b,0x89875));import{Command as _0x4701f9}from'ckeditor5/src/core.js';function _0x1988(_0x36968,_0xdf8777){const _0x390b96=_0x390b();return _0x1988=function(_0x198883,_0x5e77c6){_0x198883=_0x198883-0x1e4;let _0x50df1c=_0x390b96[_0x198883];return _0x50df1c;},_0x1988(_0x36968,_0xdf8777);}import{Dialog as _0x24de51}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2703e7}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2fc160}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4701f9{[_0x175601(0x1f4)];static get[_0x175601(0x1fc)](){return[_0x24de51];}[_0x175601(0x202)];constructor(_0xc2c462){const _0x3d2e9e=_0x175601;super(_0xc2c462),this[_0x3d2e9e(0x1f4)]=void 0x0,this[_0x3d2e9e(0x202)]=_0x2fc160(_0xc2c462[_0x3d2e9e(0x1fa)][_0x3d2e9e(0x201)](_0x3d2e9e(0x1ef))||[]),this[_0x3d2e9e(0x1e5)]({'isActive':!0x1});}[_0x175601(0x1e9)](){const _0x268dad=_0x175601,_0x50e818=this[_0x268dad(0x1f9)][_0x268dad(0x1ea)][_0x268dad(0x1fe)][_0x268dad(0x1fb)][_0x268dad(0x1ee)]();this[_0x268dad(0x1f2)]=this[_0x268dad(0x202)](_0x50e818);}[_0x175601(0x1f5)](){const _0x14ab50=_0x175601;this[_0x14ab50(0x1f4)]&&(this[_0x14ab50(0x1e6)](_0x14ab50(0x1e8)),this[_0x14ab50(0x1f4)]=void 0x0);const _0x20a6a3=this[_0x14ab50(0x1f9)][_0x14ab50(0x1ea)][_0x14ab50(0x1fe)][_0x14ab50(0x1fb)][_0x14ab50(0x1ee)]();_0x20a6a3&&(_0x20a6a3['is'](_0x14ab50(0x1f1),_0x14ab50(0x1f3))||_0x20a6a3['is'](_0x14ab50(0x1f1),_0x14ab50(0x1ed)))&&(this[_0x14ab50(0x1f4)]=new _0x2703e7(this[_0x14ab50(0x1f9)],this[_0x14ab50(0x1f9)][_0x14ab50(0x200)][_0x14ab50(0x201)](_0x24de51),_0x20a6a3),this[_0x14ab50(0x1e7)](_0x14ab50(0x1e8))['to'](this[_0x14ab50(0x1f4)],_0x14ab50(0x1e8)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4773e1=_0x4d8b;(function(_0x91f527,_0x5c7d09){const _0xd6973=_0x4d8b,_0x226301=_0x91f527();while(!![]){try{const _0x35d8a4=parseInt(_0xd6973(0x1fe))/0x1*(parseInt(_0xd6973(0x1f6))/0x2)+parseInt(_0xd6973(0x1ea))/0x3*(-parseInt(_0xd6973(0x200))/0x4)+-parseInt(_0xd6973(0x1f7))/0x5*(parseInt(_0xd6973(0x1f5))/0x6)+-parseInt(_0xd6973(0x1f4))/0x7*(-parseInt(_0xd6973(0x1f2))/0x8)+parseInt(_0xd6973(0x1f3))/0x9*(parseInt(_0xd6973(0x1e9))/0xa)+parseInt(_0xd6973(0x1ee))/0xb*(parseInt(_0xd6973(0x1ed))/0xc)+-parseInt(_0xd6973(0x1fd))/0xd*(parseInt(_0xd6973(0x1ef))/0xe);if(_0x35d8a4===_0x5c7d09)break;else _0x226301['push'](_0x226301['shift']());}catch(_0x3ea490){_0x226301['push'](_0x226301['shift']());}}}(_0x1f75,0x82413));import{Plugin as _0x4c09f8}from'ckeditor5/src/core.js';function _0x4d8b(_0x4c1656,_0x5b56e9){const _0x1f758f=_0x1f75();return _0x4d8b=function(_0x4d8bfc,_0x3114e1){_0x4d8bfc=_0x4d8bfc-0x1e8;let _0x3aaf8f=_0x1f758f[_0x4d8bfc];return _0x3aaf8f;},_0x4d8b(_0x4c1656,_0x5b56e9);}function _0x1f75(){const _0x1ccb96=['14GWYfXV','721356THSXsZ','88gVTPJo','25pxQQPt','init','commands','UploadcareImageEditEditing','isPremiumPlugin','uploadcareImageReplace','13UYteAW','8249YOclqQ','ImageEditing','776UwStxH','add','uploadcareImageEdit','9910SzDupy','7689hdEkZJ','ImageUtils','pluginName','5196NONTbl','26114xluPFC','12130188THBvRl','isOfficialPlugin','requires','1809472CeTzLw','5949lKcAsK'];_0x1f75=function(){return _0x1ccb96;};return _0x1f75();}import{Notification as _0x2dff95}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1b0679}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xd2a5d5}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2594ea}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c09f8{static get[_0x4773e1(0x1ec)](){const _0x38d294=_0x4773e1;return _0x38d294(0x1fa);}static get[_0x4773e1(0x1f1)](){const _0x23473a=_0x4773e1;return[_0x2594ea,_0x2dff95,_0x23473a(0x1eb),_0x23473a(0x1ff)];}static get[_0x4773e1(0x1f0)](){return!0x0;}static get[_0x4773e1(0x1fb)](){return!0x0;}[_0x4773e1(0x1f8)](){const _0x326b41=_0x4773e1,{editor:_0xc3c5db}=this;_0xc3c5db[_0x326b41(0x1f9)][_0x326b41(0x201)](_0x326b41(0x1e8),new _0x1b0679(_0xc3c5db)),_0xc3c5db[_0x326b41(0x1f9)][_0x326b41(0x201)](_0x326b41(0x1fc),new _0xd2a5d5(_0xc3c5db));}}
23
+ const _0x138aac=_0xe224;function _0xe224(_0x4c6ce1,_0x4339a4){const _0x42b459=_0x42b4();return _0xe224=function(_0xe22479,_0xed86da){_0xe22479=_0xe22479-0x68;let _0x19c2e3=_0x42b459[_0xe22479];return _0x19c2e3;},_0xe224(_0x4c6ce1,_0x4339a4);}(function(_0x419fad,_0x39397b){const _0x4c2513=_0xe224,_0x1bf7d8=_0x419fad();while(!![]){try{const _0xf6d251=parseInt(_0x4c2513(0x78))/0x1*(-parseInt(_0x4c2513(0x73))/0x2)+parseInt(_0x4c2513(0x6c))/0x3+parseInt(_0x4c2513(0x74))/0x4+-parseInt(_0x4c2513(0x72))/0x5+-parseInt(_0x4c2513(0x6e))/0x6*(parseInt(_0x4c2513(0x6d))/0x7)+-parseInt(_0x4c2513(0x7c))/0x8+parseInt(_0x4c2513(0x6b))/0x9;if(_0xf6d251===_0x39397b)break;else _0x1bf7d8['push'](_0x1bf7d8['shift']());}catch(_0x275ed9){_0x1bf7d8['push'](_0x1bf7d8['shift']());}}}(_0x42b4,0xb2584));import{Plugin as _0x411f1b}from'ckeditor5/src/core.js';import{Notification as _0x3930f6}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5d213d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xd67582}from'./uploadcareimagereplacecommand.js';function _0x42b4(){const _0x46959e=['19SbZyqL','uploadcareImageEdit','UploadcareImageEditEditing','uploadcareImageReplace','9100624mvGypN','ImageEditing','requires','isPremiumPlugin','8342577YAcjDj','908985bAWfHw','5579fmxEEB','1122WgczSO','init','commands','pluginName','726435jiHAfF','23914lHXUpp','4638556BBuRNh','ImageUtils','add','isOfficialPlugin'];_0x42b4=function(){return _0x46959e;};return _0x42b4();}import{UploadcareEditing as _0x4ea1ea}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x411f1b{static get[_0x138aac(0x71)](){const _0x53defc=_0x138aac;return _0x53defc(0x7a);}static get[_0x138aac(0x69)](){const _0x12d82e=_0x138aac;return[_0x4ea1ea,_0x3930f6,_0x12d82e(0x75),_0x12d82e(0x68)];}static get[_0x138aac(0x77)](){return!0x0;}static get[_0x138aac(0x6a)](){return!0x0;}[_0x138aac(0x6f)](){const _0x549e6f=_0x138aac,{editor:_0x409595}=this;_0x409595[_0x549e6f(0x70)][_0x549e6f(0x76)](_0x549e6f(0x79),new _0x5d213d(_0x409595)),_0x409595[_0x549e6f(0x70)][_0x549e6f(0x76)](_0x549e6f(0x7b),new _0xd67582(_0x409595));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2692dd}from'ckeditor5/src/core.js';import{ButtonView as _0x4452f9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e1a0a}from'ckeditor5/src/icons.js';import{createElement as _0x23622f}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 _0x2692dd{['_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 _0x1d604e=this['editor'];_0x1d604e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x53efd8=>{const _0x5163e9=_0x1d604e['commands']['get']('uploadcareImageEdit'),_0x29a06a=new _0x4452f9(_0x53efd8),t=_0x53efd8['t'];return _0x29a06a['set']({'icon':_0x1e1a0a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x29a06a['bind']('isEnabled')['to'](_0x5163e9),_0x29a06a['bind']('isOn')['to'](_0x5163e9,'isActive'),this['listenTo'](_0x29a06a,'execute',()=>{_0x1d604e['execute']('uploadcareImageEdit'),_0x1d604e['editing']['view']['focus']();}),_0x29a06a;}),this['_initConfig']();}['_initConfig'](){const _0x384f2c=_0x23622f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x384f2c),this['listenTo'](this['editor'],'destroy',()=>{_0x384f2c['remove']();});}}
23
+ import{Plugin as _0x5e93ef}from'ckeditor5/src/core.js';import{ButtonView as _0x3a7639}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x6026ff}from'ckeditor5/src/icons.js';import{createElement as _0x271abe}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 _0x5e93ef{['_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 _0x57546c=this['editor'];_0x57546c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x143de6=>{const _0x5cc023=_0x57546c['commands']['get']('uploadcareImageEdit'),_0x25c876=new _0x3a7639(_0x143de6),t=_0x143de6['t'];return _0x25c876['set']({'icon':_0x6026ff,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25c876['bind']('isEnabled')['to'](_0x5cc023),_0x25c876['bind']('isOn')['to'](_0x5cc023,'isActive'),this['listenTo'](_0x25c876,'execute',()=>{_0x57546c['execute']('uploadcareImageEdit'),_0x57546c['editing']['view']['focus']();}),_0x25c876;}),this['_initConfig']();}['_initConfig'](){const _0x6cb38=_0x271abe(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x6cb38),this['listenTo'](this['editor'],'destroy',()=>{_0x6cb38['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1baad7=_0x32e4;(function(_0xebadad,_0x455f6d){const _0x4b787b=_0x32e4,_0x450197=_0xebadad();while(!![]){try{const _0x24fcaf=parseInt(_0x4b787b(0x1ac))/0x1+-parseInt(_0x4b787b(0x1b9))/0x2*(-parseInt(_0x4b787b(0x1af))/0x3)+parseInt(_0x4b787b(0x1bb))/0x4+-parseInt(_0x4b787b(0x1a7))/0x5*(parseInt(_0x4b787b(0x1b4))/0x6)+parseInt(_0x4b787b(0x1b6))/0x7*(parseInt(_0x4b787b(0x1ad))/0x8)+-parseInt(_0x4b787b(0x1b5))/0x9*(-parseInt(_0x4b787b(0x1b3))/0xa)+-parseInt(_0x4b787b(0x1a8))/0xb;if(_0x24fcaf===_0x455f6d)break;else _0x450197['push'](_0x450197['shift']());}catch(_0x10bb5f){_0x450197['push'](_0x450197['shift']());}}}(_0x3746,0x5aef8));function _0x32e4(_0x24870a,_0x9401e){const _0x37462b=_0x3746();return _0x32e4=function(_0x32e480,_0x32fdad){_0x32e480=_0x32e480-0x1a7;let _0x34dbfd=_0x37462b[_0x32e480];return _0x34dbfd;},_0x32e4(_0x24870a,_0x9401e);}function _0x3746(){const _0x257ac9=['1525428wVOYhD','selection','change','isEnabled','execute','setAttributes','getSelectedElement','20IUoSSs','19033641lPtyPC','model','element','sizes','727166GyTKgM','4661752cWcObb','removeAttribute','2289YRHdyt','editor','imageBlock','refresh','4715710REAvjs','998748WhDSbN','9JJxpHx','7SwlaNK','imageInline','srcset','1588fcSHNX','document'];_0x3746=function(){return _0x257ac9;};return _0x3746();}import{Command as _0x305e75}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x305e75{[_0x1baad7(0x1b2)](){const _0x3a1f64=_0x1baad7,_0x1d9b12=this[_0x3a1f64(0x1b0)][_0x3a1f64(0x1a9)][_0x3a1f64(0x1ba)][_0x3a1f64(0x1bc)][_0x3a1f64(0x1c1)]();this[_0x3a1f64(0x1be)]=Boolean(_0x1d9b12&&(_0x1d9b12['is'](_0x3a1f64(0x1aa),_0x3a1f64(0x1b1))||_0x1d9b12['is'](_0x3a1f64(0x1aa),_0x3a1f64(0x1b7))));}[_0x1baad7(0x1bf)](_0x107828){const _0x40610d=_0x1baad7,_0x245b38=this[_0x40610d(0x1b0)][_0x40610d(0x1a9)][_0x40610d(0x1ba)][_0x40610d(0x1bc)][_0x40610d(0x1c1)]();this[_0x40610d(0x1b0)][_0x40610d(0x1a9)][_0x40610d(0x1bd)](_0x4707e3=>{const _0x4a5e08=_0x40610d;_0x4707e3[_0x4a5e08(0x1c0)](_0x107828,_0x245b38),_0x4707e3[_0x4a5e08(0x1ae)](_0x4a5e08(0x1b8),_0x245b38),_0x4707e3[_0x4a5e08(0x1ae)](_0x4a5e08(0x1ab),_0x245b38);});}}
23
+ const _0x2bb6a6=_0x2d4b;(function(_0x17385d,_0xa3fd77){const _0x258a7a=_0x2d4b,_0x1d7af8=_0x17385d();while(!![]){try{const _0x252e94=-parseInt(_0x258a7a(0x142))/0x1*(-parseInt(_0x258a7a(0x141))/0x2)+parseInt(_0x258a7a(0x132))/0x3+parseInt(_0x258a7a(0x137))/0x4*(-parseInt(_0x258a7a(0x134))/0x5)+parseInt(_0x258a7a(0x146))/0x6+-parseInt(_0x258a7a(0x14a))/0x7*(parseInt(_0x258a7a(0x148))/0x8)+parseInt(_0x258a7a(0x147))/0x9+parseInt(_0x258a7a(0x13b))/0xa*(parseInt(_0x258a7a(0x13d))/0xb);if(_0x252e94===_0xa3fd77)break;else _0x1d7af8['push'](_0x1d7af8['shift']());}catch(_0x10b63c){_0x1d7af8['push'](_0x1d7af8['shift']());}}}(_0x2615,0xe84aa));import{Command as _0x5630c8}from'ckeditor5/src/core.js';function _0x2615(){const _0xad0626=['selection','srcset','3746607mWzAAq','refresh','45KbSFsi','execute','change','801524QUeaZC','getSelectedElement','model','removeAttribute','1999220zncgyw','isEnabled','55HVbzFt','document','setAttributes','sizes','238582pZbiFh','1bYgOwk','imageBlock','imageInline','editor','4090488YAFhBU','2301309wYXdEz','16ZSbwHR','element','1926134jADuuf'];_0x2615=function(){return _0xad0626;};return _0x2615();}function _0x2d4b(_0x55a388,_0x4da538){const _0x2615f1=_0x2615();return _0x2d4b=function(_0x2d4b87,_0x1b20fe){_0x2d4b87=_0x2d4b87-0x131;let _0x2a6f84=_0x2615f1[_0x2d4b87];return _0x2a6f84;},_0x2d4b(_0x55a388,_0x4da538);}export class UploadcareImageReplaceCommand extends _0x5630c8{[_0x2bb6a6(0x133)](){const _0x5d7205=_0x2bb6a6,_0x27c4fd=this[_0x5d7205(0x145)][_0x5d7205(0x139)][_0x5d7205(0x13e)][_0x5d7205(0x14b)][_0x5d7205(0x138)]();this[_0x5d7205(0x13c)]=Boolean(_0x27c4fd&&(_0x27c4fd['is'](_0x5d7205(0x149),_0x5d7205(0x143))||_0x27c4fd['is'](_0x5d7205(0x149),_0x5d7205(0x144))));}[_0x2bb6a6(0x135)](_0x186404){const _0x37113e=_0x2bb6a6,_0x5b9125=this[_0x37113e(0x145)][_0x37113e(0x139)][_0x37113e(0x13e)][_0x37113e(0x14b)][_0x37113e(0x138)]();this[_0x37113e(0x145)][_0x37113e(0x139)][_0x37113e(0x136)](_0x5c44ff=>{const _0x1676b6=_0x37113e;_0x5c44ff[_0x1676b6(0x13f)](_0x186404,_0x5b9125),_0x5c44ff[_0x1676b6(0x13a)](_0x1676b6(0x131),_0x5b9125),_0x5c44ff[_0x1676b6(0x13a)](_0x1676b6(0x140),_0x5b9125);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x488287=_0x440a;(function(_0x3d2aaf,_0x25ed90){var _0x1fce8d=_0x440a,_0x5a092f=_0x3d2aaf();while(!![]){try{var _0x1fdd07=-parseInt(_0x1fce8d(0x1f2))/0x1+-parseInt(_0x1fce8d(0x1f5))/0x2*(parseInt(_0x1fce8d(0x1f1))/0x3)+parseInt(_0x1fce8d(0x1f6))/0x4+parseInt(_0x1fce8d(0x1f9))/0x5+-parseInt(_0x1fce8d(0x1ed))/0x6+-parseInt(_0x1fce8d(0x1ef))/0x7*(parseInt(_0x1fce8d(0x1f4))/0x8)+parseInt(_0x1fce8d(0x1f0))/0x9;if(_0x1fdd07===_0x25ed90)break;else _0x5a092f['push'](_0x5a092f['shift']());}catch(_0x5309ac){_0x5a092f['push'](_0x5a092f['shift']());}}}(_0x5896,0xb8291));import{Plugin as _0x2d90ad}from'ckeditor5/src/core.js';function _0x440a(_0xac548b,_0x46f6b5){var _0x5896d1=_0x5896();return _0x440a=function(_0x440a79,_0x1e44bf){_0x440a79=_0x440a79-0x1ec;var _0x59ed80=_0x5896d1[_0x440a79];return _0x59ed80;},_0x440a(_0xac548b,_0x46f6b5);}import{UploadcareImageEditEditing as _0xcab61b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4c834d}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5896(){var _0x1b8d97=['4443195UmcwNN','UploadcareImageEdit','4295142nEQpCn','pluginName','448IUisAL','15284718zRUSUb','2812119vnxfdm','997785sNxIIS','requires','51592LWzepp','2vfkqJp','4924524yarZUR','isOfficialPlugin','isPremiumPlugin'];_0x5896=function(){return _0x1b8d97;};return _0x5896();}export class UploadcareImageEdit extends _0x2d90ad{static get[_0x488287(0x1ee)](){var _0x1cc37b=_0x488287;return _0x1cc37b(0x1ec);}static get[_0x488287(0x1f3)](){return[_0xcab61b,_0x4c834d];}static get[_0x488287(0x1f7)](){return!0x0;}static get[_0x488287(0x1f8)](){return!0x0;}}
23
+ function _0x3f99(){var _0x406d06=['UploadcareImageEdit','8NlOLra','877058LJMvlP','1728330wJFuVV','requires','226321XqeLfG','isOfficialPlugin','3kOiSGq','2vIMHaK','6VMDqty','isPremiumPlugin','235636PdlrZJ','8891016KXTgbr','490395HYlmQy','pluginName','11pvGlDM','1674234SNWOsp'];_0x3f99=function(){return _0x406d06;};return _0x3f99();}var _0x945f8=_0x2694;(function(_0x88e253,_0x436010){var _0x4210d5=_0x2694,_0x32f53f=_0x88e253();while(!![]){try{var _0x3361d1=-parseInt(_0x4210d5(0x75))/0x1*(parseInt(_0x4210d5(0x78))/0x2)+parseInt(_0x4210d5(0x77))/0x3*(-parseInt(_0x4210d5(0x7b))/0x4)+parseInt(_0x4210d5(0x7d))/0x5*(-parseInt(_0x4210d5(0x79))/0x6)+parseInt(_0x4210d5(0x72))/0x7+parseInt(_0x4210d5(0x71))/0x8*(-parseInt(_0x4210d5(0x6f))/0x9)+-parseInt(_0x4210d5(0x73))/0xa+parseInt(_0x4210d5(0x7f))/0xb*(parseInt(_0x4210d5(0x7c))/0xc);if(_0x3361d1===_0x436010)break;else _0x32f53f['push'](_0x32f53f['shift']());}catch(_0x5d6f9e){_0x32f53f['push'](_0x32f53f['shift']());}}}(_0x3f99,0x1e48c));import{Plugin as _0x384a41}from'ckeditor5/src/core.js';function _0x2694(_0x529e1f,_0x2c443d){var _0x3f998d=_0x3f99();return _0x2694=function(_0x26944b,_0x37f67e){_0x26944b=_0x26944b-0x6f;var _0x3ccc87=_0x3f998d[_0x26944b];return _0x3ccc87;},_0x2694(_0x529e1f,_0x2c443d);}import{UploadcareImageEditEditing as _0x18c201}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x169bd5}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x384a41{static get[_0x945f8(0x7e)](){var _0x594b10=_0x945f8;return _0x594b10(0x70);}static get[_0x945f8(0x74)](){return[_0x18c201,_0x169bd5];}static get[_0x945f8(0x76)](){return!0x0;}static get[_0x945f8(0x7a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d6380=_0x4cb6;(function(_0xa3050e,_0x1d0dab){const _0x418dd8=_0x4cb6,_0x5c5d7c=_0xa3050e();while(!![]){try{const _0x46a776=parseInt(_0x418dd8(0x192))/0x1*(-parseInt(_0x418dd8(0x189))/0x2)+parseInt(_0x418dd8(0x174))/0x3*(parseInt(_0x418dd8(0x1a1))/0x4)+parseInt(_0x418dd8(0x165))/0x5+-parseInt(_0x418dd8(0x196))/0x6+-parseInt(_0x418dd8(0x1a3))/0x7*(-parseInt(_0x418dd8(0x163))/0x8)+parseInt(_0x418dd8(0x178))/0x9*(-parseInt(_0x418dd8(0x1a2))/0xa)+parseInt(_0x418dd8(0x195))/0xb;if(_0x46a776===_0x1d0dab)break;else _0x5c5d7c['push'](_0x5c5d7c['shift']());}catch(_0x22261c){_0x5c5d7c['push'](_0x5c5d7c['shift']());}}}(_0x1492,0x43da5));import{Plugin as _0x5d1571}from'ckeditor5/src/core.js';import{IconDropbox as _0x2a6904,IconFacebook as _0x2c153c,IconGoogleDrive as _0x154de5,IconGooglePhotos as _0xcd7564,IconUploadcareImageUpload as _0x57c20e,IconUploadcareLink as _0x4eaff0,IconOneDrive as _0x33aea2}from'ckeditor5/src/icons.js';import{ButtonView as _0x63dc5c,MenuBarMenuListItemButtonView as _0x5de699}from'ckeditor5/src/ui.js';function _0x4cb6(_0x58b3e3,_0x199da8){const _0x1492e1=_0x1492();return _0x4cb6=function(_0x4cb602,_0x29ac3c){_0x4cb602=_0x4cb602-0x158;let _0x56f852=_0x1492e1[_0x4cb602];return _0x56f852;},_0x4cb6(_0x58b3e3,_0x199da8);}function _0x1492(){const _0x2774e1=['731570AnyJxH','GPhotos','expired','_showLicenseError','bind','_createMenuBarButtons','uploadcareLicenseKeyExpired','commands','invalid','ImageInsertUI','editor','Uploadcare','icon','_getIntegrationKey','_licenseKeyCheckInterval','1579401HCIinb','Facebook','label','_createButton','1360467vLGmNO','OneDrive','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','uploadcareLicenseKeyValid','get','map','upload','text','isOfficialPlugin','UploadcareUI','domainLimit','init','assetManager','pluginName','forEach','afterInit','4nAYlXe','Insert','config','locale','uploadcare.uploader.sourceList','uploadcareLicenseKeyInvalid','evaluationLimit','shortText','entries','46577MqlGyD','uploadcare','execute','4784329WiMLZo','2711418RUfgij','isEnabled','destroy','GDrive','has','uploadcareLicenseKeyUsageLimit','url','Replace','Dropbox','trialLimit','uploadcareLicenseKeyDomainLimit','4FgjBxa','30VykjgN','203XzYBfc','_normalizeConfigSourceList','reduce','URL','licenseKey','Local','registerIntegration','tooltip','isImageSelected','withText','_createDropdownButtons','plugins','featureNotAllowed','_createToolbarButton','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','type','push','46552yWXrLK','usageLimit'];_0x1492=function(){return _0x2774e1;};return _0x1492();}import{UploadcareSource as _0x1fe556}from'./uploadcareconfig.js';import{getTranslation as _0x28130a}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 _0x5d1571{[_0x3d6380(0x1a7)];[_0x3d6380(0x173)];static get[_0x3d6380(0x186)](){const _0x256131=_0x3d6380;return _0x256131(0x182);}static get[_0x3d6380(0x181)](){return!0x0;}static get[_0x3d6380(0x17b)](){return!0x0;}[_0x3d6380(0x184)](){const _0x5aa40d=_0x3d6380;this[_0x5aa40d(0x1a7)]=this[_0x5aa40d(0x16f)][_0x5aa40d(0x18b)][_0x5aa40d(0x17d)](_0x5aa40d(0x1a7));const _0x21eb31=this[_0x5aa40d(0x16f)];this[_0x5aa40d(0x173)]=setInterval(()=>{const _0x2f6721=_0x5aa40d;let _0x1960a5;for(const _0x3659a3 in _0x21eb31){const _0x21441f=_0x3659a3,_0x95bc9=_0x21eb31[_0x21441f];if(_0x2f6721(0x17c)==_0x95bc9||_0x2f6721(0x18e)==_0x95bc9||_0x2f6721(0x16b)==_0x95bc9||_0x2f6721(0x1a0)==_0x95bc9||_0x2f6721(0x160)==_0x95bc9||_0x2f6721(0x15f)==_0x95bc9||_0x2f6721(0x17a)==_0x95bc9||_0x2f6721(0x19b)==_0x95bc9){delete _0x21eb31[_0x21441f],_0x1960a5=_0x95bc9,clearInterval(this[_0x2f6721(0x173)]),this[_0x2f6721(0x173)]=void 0x0;break;}}_0x2f6721(0x18e)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x16d)),_0x2f6721(0x16b)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x167)),_0x2f6721(0x1a0)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x183)),_0x2f6721(0x160)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x15d),_0x2f6721(0x170)),_0x2f6721(0x15f)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x18f)),_0x2f6721(0x17a)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x19f)),_0x2f6721(0x19b)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x164));},0x3e8);}[_0x3d6380(0x188)](){const _0x91eeb9=_0x3d6380,{editor:_0x51baf5}=this,_0x4928a6=_0x51baf5[_0x91eeb9(0x16c)][_0x91eeb9(0x17d)](_0x91eeb9(0x193));if(!_0x4928a6)return;const _0x243fc6=this[_0x91eeb9(0x1a4)](_0x51baf5[_0x91eeb9(0x18b)][_0x91eeb9(0x17d)](_0x91eeb9(0x18d)))[_0x91eeb9(0x1a5)]((_0x5a735c,_0x16c6fc)=>{const _0x287f6d=_0x91eeb9,_0x395131=this[_0x287f6d(0x172)](_0x16c6fc[_0x287f6d(0x161)]);return _0x5a735c[_0x395131]||(_0x5a735c[_0x395131]=[]),_0x5a735c[_0x395131][_0x287f6d(0x162)](_0x16c6fc),_0x5a735c;},{});_0x51baf5[_0x91eeb9(0x15c)][_0x91eeb9(0x19a)](_0x91eeb9(0x16e))&&_0x51baf5[_0x91eeb9(0x16c)][_0x91eeb9(0x17d)](_0x91eeb9(0x193))&&Object[_0x91eeb9(0x191)](_0x243fc6)[_0x91eeb9(0x187)](([_0x9a48d1,_0x4b7145])=>{const _0x3123ff=_0x91eeb9;_0x51baf5[_0x3123ff(0x15c)][_0x3123ff(0x17d)](_0x3123ff(0x16e))[_0x3123ff(0x1a9)]({'name':_0x9a48d1,'observable':()=>_0x4928a6,'buttonViewCreator':()=>this[_0x3123ff(0x15e)](_0x4b7145),'formViewCreator':()=>this[_0x3123ff(0x15b)](_0x4b7145),'menuBarButtonViewCreator':()=>this[_0x3123ff(0x16a)](_0x4b7145),'override':_0x3123ff(0x185)!==_0x9a48d1});});}[_0x3d6380(0x198)](){const _0x5d418b=_0x3d6380;super[_0x5d418b(0x198)](),this[_0x5d418b(0x173)]&&clearInterval(this[_0x5d418b(0x173)]);}[_0x3d6380(0x1a4)](_0x413b8f){const _0x171295=_0x3d6380,{locale:_0x342edc}=this[_0x171295(0x16f)];return _0x413b8f[_0x171295(0x17e)](_0x449b06=>{const _0x26228f=_0x171295,_0x1d233f=_0x28130a(_0x342edc,_0x449b06,_0x26228f(0x18a));switch(_0x449b06){case _0x1fe556[_0x26228f(0x1a8)]:return{'icon':_0x57c20e,'type':_0x1fe556[_0x26228f(0x1a8)],..._0x1d233f};case _0x1fe556[_0x26228f(0x1a6)]:return{'icon':_0x4eaff0,'type':_0x1fe556[_0x26228f(0x1a6)],..._0x1d233f};case _0x1fe556[_0x26228f(0x19e)]:return{'icon':_0x2a6904,'type':_0x1fe556[_0x26228f(0x19e)],..._0x1d233f};case _0x1fe556[_0x26228f(0x175)]:return{'icon':_0x2c153c,'type':_0x1fe556[_0x26228f(0x175)],..._0x1d233f};case _0x1fe556[_0x26228f(0x199)]:return{'icon':_0x154de5,'type':_0x1fe556[_0x26228f(0x199)],..._0x1d233f};case _0x1fe556[_0x26228f(0x166)]:return{'icon':_0xcd7564,'type':_0x1fe556[_0x26228f(0x166)],..._0x1d233f};case _0x1fe556[_0x26228f(0x179)]:return{'icon':_0x33aea2,'type':_0x1fe556[_0x26228f(0x179)],..._0x1d233f};}});}[_0x3d6380(0x172)](_0x2cc350){const _0x493e2a=_0x3d6380;switch(_0x2cc350){case _0x1fe556[_0x493e2a(0x1a8)]:return _0x493e2a(0x17f);case _0x1fe556[_0x493e2a(0x1a6)]:return _0x493e2a(0x19c);default:return _0x493e2a(0x185);}}[_0x3d6380(0x177)](_0x178f8f,_0x32319a){const _0x153457=_0x3d6380,_0x1e15c3=this[_0x153457(0x16f)],_0x2a23fe=new _0x178f8f(_0x1e15c3[_0x153457(0x18c)]),_0x33c91c=_0x1e15c3[_0x153457(0x16c)][_0x153457(0x17d)](_0x153457(0x193));return _0x2a23fe[_0x153457(0x169)](_0x153457(0x197))['to'](_0x33c91c),_0x2a23fe['on'](_0x153457(0x194),()=>{const _0x47e859=_0x153457;_0x33c91c[_0x47e859(0x194)](_0x32319a);}),_0x2a23fe;}[_0x3d6380(0x15e)](_0x4ed395){const _0x24580f=_0x3d6380,{locale:_0x1f4ca0}=this[_0x24580f(0x16f)],_0x19564b=this[_0x24580f(0x16f)][_0x24580f(0x15c)][_0x24580f(0x17d)](_0x24580f(0x16e)),_0x473b6a=_0x4ed395[0x0],_0x5864a5=this[_0x24580f(0x177)](_0x63dc5c,_0x473b6a[_0x24580f(0x161)]);return _0x5864a5[_0x24580f(0x171)]=_0x473b6a[_0x24580f(0x171)],_0x5864a5[_0x24580f(0x169)](_0x24580f(0x176))['to'](_0x19564b,_0x24580f(0x159),_0x5c2028=>_0x28130a(_0x1f4ca0,_0x473b6a[_0x24580f(0x161)],_0x5c2028?_0x24580f(0x19d):_0x24580f(0x18a))[_0x24580f(0x180)]),_0x5864a5[_0x24580f(0x158)]=!0x0,_0x5864a5;}[_0x3d6380(0x15b)](_0x52900b){const _0x308846=_0x3d6380,{locale:_0x5e4924}=this[_0x308846(0x16f)],_0x2a06d7=this[_0x308846(0x16f)][_0x308846(0x15c)][_0x308846(0x17d)](_0x308846(0x16e));return _0x52900b[_0x308846(0x17e)](_0x21f3e1=>{const _0x28c783=_0x308846,_0x3c5033=this[_0x28c783(0x177)](_0x63dc5c,_0x21f3e1[_0x28c783(0x161)]);return _0x3c5033[_0x28c783(0x15a)]=!0x0,_0x3c5033[_0x28c783(0x171)]=_0x21f3e1[_0x28c783(0x171)],_0x3c5033[_0x28c783(0x169)](_0x28c783(0x176))['to'](_0x2a06d7,_0x28c783(0x159),_0x311117=>_0x28130a(_0x5e4924,_0x21f3e1[_0x28c783(0x161)],_0x311117?_0x28c783(0x19d):_0x28c783(0x18a))[_0x28c783(0x180)]),_0x3c5033;});}[_0x3d6380(0x16a)](_0x42f560){const _0x37e258=_0x3d6380;return _0x42f560[_0x37e258(0x17e)](_0x345ca9=>{const _0x244648=_0x37e258,_0x2157fd=this[_0x244648(0x177)](_0x5de699,_0x345ca9[_0x244648(0x161)]);return _0x2157fd[_0x244648(0x171)]=_0x345ca9[_0x244648(0x171)],_0x2157fd[_0x244648(0x176)]=_0x345ca9[_0x244648(0x190)],_0x2157fd;});}}
23
+ const _0x104486=_0x4a39;(function(_0x5bfeb7,_0x440338){const _0x588e22=_0x4a39,_0x2001d1=_0x5bfeb7();while(!![]){try{const _0x5096ae=-parseInt(_0x588e22(0x18f))/0x1*(-parseInt(_0x588e22(0x161))/0x2)+-parseInt(_0x588e22(0x1a5))/0x3+parseInt(_0x588e22(0x193))/0x4+parseInt(_0x588e22(0x16f))/0x5+-parseInt(_0x588e22(0x168))/0x6*(parseInt(_0x588e22(0x158))/0x7)+-parseInt(_0x588e22(0x190))/0x8*(parseInt(_0x588e22(0x162))/0x9)+parseInt(_0x588e22(0x177))/0xa*(-parseInt(_0x588e22(0x18a))/0xb);if(_0x5096ae===_0x440338)break;else _0x2001d1['push'](_0x2001d1['shift']());}catch(_0x25c9aa){_0x2001d1['push'](_0x2001d1['shift']());}}}(_0x248c,0x30a03));import{Plugin as _0x460742}from'ckeditor5/src/core.js';import{IconDropbox as _0x823159,IconFacebook as _0x16334b,IconGoogleDrive as _0x71de8a,IconGooglePhotos as _0x32cffc,IconUploadcareImageUpload as _0x1a078b,IconUploadcareLink as _0x23c20a,IconOneDrive as _0x4d49cd}from'ckeditor5/src/icons.js';import{ButtonView as _0x12b136,MenuBarMenuListItemButtonView as _0x5460cc}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x11c8f5}from'./uploadcareconfig.js';function _0x248c(){const _0x1d9496=['locale','Dropbox','entries','commands','type','274021eQLAAj','ImageInsertUI','label','execute','editor','1307kmKrJw','408MBxpED','_showLicenseError','bind','1455496SNFWIG','GPhotos','licenseKey','init','tooltip','uploadcareLicenseKeyTrialLimit','trialLimit','isOfficialPlugin','reduce','GDrive','withText','uploadcareLicenseKeyDomainLimit','text','get','_createDropdownButtons','uploadcareLicenseKeyEvaluationLimit','_normalizeConfigSourceList','_getIntegrationKey','110457zhHAFn','URL','destroy','_createToolbarButton','uploadcare','68089GfYiUc','Insert','evaluationLimit','_licenseKeyCheckInterval','has','plugins','isImageSelected','Facebook','config','580dhsZsC','44199QdgvIW','map','isPremiumPlugin','icon','Local','isEnabled','12xjFlzF','forEach','featureNotAllowed','registerIntegration','UploadcareUI','uploadcareLicenseKeyNotAllowed','invalid','60555olVNlk','Replace','expired','Uploadcare','shortText','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyExpired','pluginName','100hbYixg','url','uploadcareLicenseKeyUsageLimit','push','upload','_createButton','afterInit','uploadcare.uploader.sourceList','uploadcareLicenseKeyValid','usageLimit','assetManager','OneDrive','_createMenuBarButtons','domainLimit'];_0x248c=function(){return _0x1d9496;};return _0x248c();}import{getTranslation as _0x5a4f2d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x4a39(_0x102a45,_0x156773){const _0x248c12=_0x248c();return _0x4a39=function(_0x4a394d,_0x44374d){_0x4a394d=_0x4a394d-0x154;let _0x334225=_0x248c12[_0x4a394d];return _0x334225;},_0x4a39(_0x102a45,_0x156773);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x460742{[_0x104486(0x195)];[_0x104486(0x15b)];static get[_0x104486(0x176)](){const _0x4fbf93=_0x104486;return _0x4fbf93(0x16c);}static get[_0x104486(0x19a)](){return!0x0;}static get[_0x104486(0x164)](){return!0x0;}[_0x104486(0x196)](){const _0x32ba13=_0x104486;this[_0x32ba13(0x195)]=this[_0x32ba13(0x18e)][_0x32ba13(0x160)][_0x32ba13(0x1a0)](_0x32ba13(0x195));const _0x5df6df=this[_0x32ba13(0x18e)];this[_0x32ba13(0x15b)]=setInterval(()=>{const _0x467ee2=_0x32ba13;let _0x4aa1ba;for(const _0x49f87a in _0x5df6df){const _0x2263b1=_0x49f87a,_0xf6d7ca=_0x5df6df[_0x2263b1];if(_0x467ee2(0x17f)==_0xf6d7ca||_0x467ee2(0x174)==_0xf6d7ca||_0x467ee2(0x175)==_0xf6d7ca||_0x467ee2(0x19e)==_0xf6d7ca||_0x467ee2(0x16d)==_0xf6d7ca||_0x467ee2(0x1a2)==_0xf6d7ca||_0x467ee2(0x198)==_0xf6d7ca||_0x467ee2(0x179)==_0xf6d7ca){delete _0x5df6df[_0x2263b1],_0x4aa1ba=_0xf6d7ca,clearInterval(this[_0x467ee2(0x15b)]),this[_0x467ee2(0x15b)]=void 0x0;break;}}_0x467ee2(0x174)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x16e)),_0x467ee2(0x175)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x171)),_0x467ee2(0x19e)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x184)),_0x467ee2(0x16d)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x16a),_0x467ee2(0x172)),_0x467ee2(0x1a2)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x15a)),_0x467ee2(0x198)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x199)),_0x467ee2(0x179)==_0x4aa1ba&&_0x5df6df[_0x467ee2(0x191)](_0x467ee2(0x180));},0x3e8);}[_0x104486(0x17d)](){const _0x21bbad=_0x104486,{editor:_0x217e79}=this,_0x276685=_0x217e79[_0x21bbad(0x188)][_0x21bbad(0x1a0)](_0x21bbad(0x157));if(!_0x276685)return;const _0x2d2f12=this[_0x21bbad(0x1a3)](_0x217e79[_0x21bbad(0x160)][_0x21bbad(0x1a0)](_0x21bbad(0x17e)))[_0x21bbad(0x19b)]((_0xded5b4,_0x17f54b)=>{const _0x1b27c9=_0x21bbad,_0x3e4e51=this[_0x1b27c9(0x1a4)](_0x17f54b[_0x1b27c9(0x189)]);return _0xded5b4[_0x3e4e51]||(_0xded5b4[_0x3e4e51]=[]),_0xded5b4[_0x3e4e51][_0x1b27c9(0x17a)](_0x17f54b),_0xded5b4;},{});_0x217e79[_0x21bbad(0x15d)][_0x21bbad(0x15c)](_0x21bbad(0x18b))&&_0x217e79[_0x21bbad(0x188)][_0x21bbad(0x1a0)](_0x21bbad(0x157))&&Object[_0x21bbad(0x187)](_0x2d2f12)[_0x21bbad(0x169)](([_0x2c8257,_0x3b29c1])=>{const _0x3c9f1e=_0x21bbad;_0x217e79[_0x3c9f1e(0x15d)][_0x3c9f1e(0x1a0)](_0x3c9f1e(0x18b))[_0x3c9f1e(0x16b)]({'name':_0x2c8257,'observable':()=>_0x276685,'buttonViewCreator':()=>this[_0x3c9f1e(0x156)](_0x3b29c1),'formViewCreator':()=>this[_0x3c9f1e(0x1a1)](_0x3b29c1),'menuBarButtonViewCreator':()=>this[_0x3c9f1e(0x183)](_0x3b29c1),'override':_0x3c9f1e(0x181)!==_0x2c8257});});}[_0x104486(0x155)](){const _0x19763f=_0x104486;super[_0x19763f(0x155)](),this[_0x19763f(0x15b)]&&clearInterval(this[_0x19763f(0x15b)]);}[_0x104486(0x1a3)](_0x1678be){const _0x4fca17=_0x104486,{locale:_0x3103af}=this[_0x4fca17(0x18e)];return _0x1678be[_0x4fca17(0x163)](_0x5663bc=>{const _0x54a018=_0x4fca17,_0x4c74c9=_0x5a4f2d(_0x3103af,_0x5663bc,_0x54a018(0x159));switch(_0x5663bc){case _0x11c8f5[_0x54a018(0x166)]:return{'icon':_0x1a078b,'type':_0x11c8f5[_0x54a018(0x166)],..._0x4c74c9};case _0x11c8f5[_0x54a018(0x154)]:return{'icon':_0x23c20a,'type':_0x11c8f5[_0x54a018(0x154)],..._0x4c74c9};case _0x11c8f5[_0x54a018(0x186)]:return{'icon':_0x823159,'type':_0x11c8f5[_0x54a018(0x186)],..._0x4c74c9};case _0x11c8f5[_0x54a018(0x15f)]:return{'icon':_0x16334b,'type':_0x11c8f5[_0x54a018(0x15f)],..._0x4c74c9};case _0x11c8f5[_0x54a018(0x19c)]:return{'icon':_0x71de8a,'type':_0x11c8f5[_0x54a018(0x19c)],..._0x4c74c9};case _0x11c8f5[_0x54a018(0x194)]:return{'icon':_0x32cffc,'type':_0x11c8f5[_0x54a018(0x194)],..._0x4c74c9};case _0x11c8f5[_0x54a018(0x182)]:return{'icon':_0x4d49cd,'type':_0x11c8f5[_0x54a018(0x182)],..._0x4c74c9};}});}[_0x104486(0x1a4)](_0x4e8a28){const _0x277e2c=_0x104486;switch(_0x4e8a28){case _0x11c8f5[_0x277e2c(0x166)]:return _0x277e2c(0x17b);case _0x11c8f5[_0x277e2c(0x154)]:return _0x277e2c(0x178);default:return _0x277e2c(0x181);}}[_0x104486(0x17c)](_0xc17dd,_0x469ec9){const _0x14e4b3=_0x104486,_0x2b78e2=this[_0x14e4b3(0x18e)],_0x3c9f5d=new _0xc17dd(_0x2b78e2[_0x14e4b3(0x185)]),_0x2c4841=_0x2b78e2[_0x14e4b3(0x188)][_0x14e4b3(0x1a0)](_0x14e4b3(0x157));return _0x3c9f5d[_0x14e4b3(0x192)](_0x14e4b3(0x167))['to'](_0x2c4841),_0x3c9f5d['on'](_0x14e4b3(0x18d),()=>{const _0x296fff=_0x14e4b3;_0x2c4841[_0x296fff(0x18d)](_0x469ec9);}),_0x3c9f5d;}[_0x104486(0x156)](_0x4a259e){const _0x3051de=_0x104486,{locale:_0x14d954}=this[_0x3051de(0x18e)],_0x36f043=this[_0x3051de(0x18e)][_0x3051de(0x15d)][_0x3051de(0x1a0)](_0x3051de(0x18b)),_0x434861=_0x4a259e[0x0],_0x2a4c97=this[_0x3051de(0x17c)](_0x12b136,_0x434861[_0x3051de(0x189)]);return _0x2a4c97[_0x3051de(0x165)]=_0x434861[_0x3051de(0x165)],_0x2a4c97[_0x3051de(0x192)](_0x3051de(0x18c))['to'](_0x36f043,_0x3051de(0x15e),_0x32d721=>_0x5a4f2d(_0x14d954,_0x434861[_0x3051de(0x189)],_0x32d721?_0x3051de(0x170):_0x3051de(0x159))[_0x3051de(0x19f)]),_0x2a4c97[_0x3051de(0x197)]=!0x0,_0x2a4c97;}[_0x104486(0x1a1)](_0x2fecf4){const _0x3cd751=_0x104486,{locale:_0x14b490}=this[_0x3cd751(0x18e)],_0x5f4f8e=this[_0x3cd751(0x18e)][_0x3cd751(0x15d)][_0x3cd751(0x1a0)](_0x3cd751(0x18b));return _0x2fecf4[_0x3cd751(0x163)](_0x35eb11=>{const _0x5ac100=_0x3cd751,_0x216873=this[_0x5ac100(0x17c)](_0x12b136,_0x35eb11[_0x5ac100(0x189)]);return _0x216873[_0x5ac100(0x19d)]=!0x0,_0x216873[_0x5ac100(0x165)]=_0x35eb11[_0x5ac100(0x165)],_0x216873[_0x5ac100(0x192)](_0x5ac100(0x18c))['to'](_0x5f4f8e,_0x5ac100(0x15e),_0x5b3400=>_0x5a4f2d(_0x14b490,_0x35eb11[_0x5ac100(0x189)],_0x5b3400?_0x5ac100(0x170):_0x5ac100(0x159))[_0x5ac100(0x19f)]),_0x216873;});}[_0x104486(0x183)](_0x512451){const _0xd7e949=_0x104486;return _0x512451[_0xd7e949(0x163)](_0x361427=>{const _0x4d4b57=_0xd7e949,_0x1d522a=this[_0x4d4b57(0x17c)](_0x5460cc,_0x361427[_0x4d4b57(0x189)]);return _0x1d522a[_0x4d4b57(0x165)]=_0x361427[_0x4d4b57(0x165)],_0x1d522a[_0x4d4b57(0x18c)]=_0x361427[_0x4d4b57(0x173)],_0x1d522a;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x368597}from'ckeditor5/src/core.js';import{FileRepository as _0x3843d4}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x54dcf7}from'./uploadcareediting.js';import{UploadUtils as _0x5c3aa3}from'./utils/uploadutils.js';import{getImageUrls as _0x1ae0cb}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x368597{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3843d4,_0x54dcf7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x37c9a4=this['editor'];if(!!!_0x37c9a4['config']['get']('uploadcare'))return;_0x37c9a4['plugins']['get'](_0x3843d4)['createUploadAdapter']=_0x3f4787=>new A(_0x3f4787,_0x37c9a4),_0x37c9a4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1db096,{imageElement:_0x1661c5,data:_0x44ee20})=>{_0x37c9a4['model']['change'](_0x419357=>{_0x419357['setAttribute']('uploadcareImageId',_0x44ee20['uploadcareImageId'],_0x1661c5);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1d2bee,_0x5d11f6){this['loader']=_0x1d2bee,this['editor']=_0x5d11f6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x431671=this['editor']['config']['get']('uploadcare.pubkey'),_0x50e5cf=await this['loader']['file'];return _0x5c3aa3['upload']({'file':_0x50e5cf,'publicKey':_0x431671,'signal':this['controller']['signal'],'onProgress':_0x307c57=>{_0x307c57&&_0x307c57['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x307c57['value']);}})['then'](async _0x41d206=>{const {imageFallbackUrl:_0x32d64f,imageSources:_0x379b3}=_0x1ae0cb(_0x41d206['cdnUrl'],_0x41d206['imageInfo']['width']);return{'uploadcareImageId':_0x41d206['uuid'],'default':_0x32d64f,'sources':_0x379b3};})['catch'](()=>{const _0x277d92=t('Cannot\x20upload\x20file:')+('\x20'+_0x50e5cf['name']+'.');return Promise['reject'](_0x277d92);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x2b1091}from'ckeditor5/src/core.js';import{FileRepository as _0x3bee02}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x2a0d1a}from'./uploadcareediting.js';import{UploadUtils as _0x4529fc}from'./utils/uploadutils.js';import{getImageUrls as _0x2e9e4d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2b1091{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3bee02,_0x2a0d1a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x23d376=this['editor'];if(!!!_0x23d376['config']['get']('uploadcare'))return;_0x23d376['plugins']['get'](_0x3bee02)['createUploadAdapter']=_0x2232d9=>new A(_0x2232d9,_0x23d376),_0x23d376['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5dad4e,{imageElement:_0xb26ca5,data:_0xfffc12})=>{_0x23d376['model']['change'](_0x5c92b0=>{_0x5c92b0['setAttribute']('uploadcareImageId',_0xfffc12['uploadcareImageId'],_0xb26ca5);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x47bb13,_0x2426d7){this['loader']=_0x47bb13,this['editor']=_0x2426d7,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3dac82=this['editor']['config']['get']('uploadcare.pubkey'),_0x376b7f=await this['loader']['file'];return _0x4529fc['upload']({'file':_0x376b7f,'publicKey':_0x3dac82,'signal':this['controller']['signal'],'onProgress':_0x58172b=>{_0x58172b&&_0x58172b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x58172b['value']);}})['then'](async _0x2673cd=>{const {imageFallbackUrl:_0x2e765e,imageSources:_0x3f129b}=_0x2e9e4d(_0x2673cd['cdnUrl'],_0x2673cd['imageInfo']['width']);return{'uploadcareImageId':_0x2673cd['uuid'],'default':_0x2e765e,'sources':_0x3f129b};})['catch'](()=>{const _0x5e346d=t('Cannot\x20upload\x20file:')+('\x20'+_0x376b7f['name']+'.');return Promise['reject'](_0x5e346d);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x501598}from'../uploadcareconfig.js';export function getTranslation(_0x40ae4c,_0x532b6f,_0x2f90ca){const t=_0x40ae4c['t'],_0xe0c915=_0x40ae4c['t'];switch(_0x532b6f){case _0x501598['Local']:return{'text':_0xe0c915('Insert'===_0x2f90ca?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xe0c915('From\x20computer')};case _0x501598['URL']:return{'text':'Insert'===_0x2f90ca?_0xe0c915('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xe0c915('Via\x20URL')};case _0x501598['Dropbox']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x501598['Facebook']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x501598['GDrive']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x501598['GPhotos']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x501598['OneDrive']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x532b6f;}}
23
+ import{UploadcareSource as _0x12c49d}from'../uploadcareconfig.js';export function getTranslation(_0x28f417,_0x14466e,_0x1c346f){const t=_0x28f417['t'],_0x32fcde=_0x28f417['t'];switch(_0x14466e){case _0x12c49d['Local']:return{'text':_0x32fcde('Insert'===_0x1c346f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x32fcde('From\x20computer')};case _0x12c49d['URL']:return{'text':'Insert'===_0x1c346f?_0x32fcde('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x32fcde('Via\x20URL')};case _0x12c49d['Dropbox']:return{'text':t('Insert'===_0x1c346f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x12c49d['Facebook']:return{'text':t('Insert'===_0x1c346f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x12c49d['GDrive']:return{'text':t('Insert'===_0x1c346f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x12c49d['GPhotos']:return{'text':t('Insert'===_0x1c346f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x12c49d['OneDrive']:return{'text':t('Insert'===_0x1c346f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x14466e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3142(_0x543e9b,_0x31ac97){var _0x2d1d6f=_0x2d1d();return _0x3142=function(_0x31426f,_0x1ed0ec){_0x31426f=_0x31426f-0x117;var _0x3f8528=_0x2d1d6f[_0x31426f];return _0x3f8528;},_0x3142(_0x543e9b,_0x31ac97);}var _0x219f89=_0x3142;function _0x2d1d(){var _0x52b349=['493142dHtVrB','fire','74330VwAzTI','64311SZzdfS','getFocusableElement','167274tTcfkT','261ElhSpA','24FuACOV','bindTemplate','div','5330413BOZlSd','40ZxLEZx','true','focusCycler','forwardCycle','focusTracker','148236BQPkjT','createCollection','211799JSUffH','45mgtFWU'];_0x2d1d=function(){return _0x52b349;};return _0x2d1d();}(function(_0x5f02b7,_0x3cb46f){var _0xa98484=_0x3142,_0xe3dc43=_0x5f02b7();while(!![]){try{var _0xe8695c=parseInt(_0xa98484(0x129))/0x1+parseInt(_0xa98484(0x126))/0x2+parseInt(_0xa98484(0x117))/0x3*(-parseInt(_0xa98484(0x119))/0x4)+-parseInt(_0xa98484(0x125))/0x5*(parseInt(_0xa98484(0x122))/0x6)+-parseInt(_0xa98484(0x124))/0x7*(-parseInt(_0xa98484(0x11d))/0x8)+-parseInt(_0xa98484(0x118))/0x9*(parseInt(_0xa98484(0x128))/0xa)+parseInt(_0xa98484(0x11c))/0xb;if(_0xe8695c===_0x3cb46f)break;else _0xe3dc43['push'](_0xe3dc43['shift']());}catch(_0x51e369){_0xe3dc43['push'](_0xe3dc43['shift']());}}}(_0x2d1d,0x2a8d3));import{FocusTracker as _0x52a07e}from'ckeditor5/src/utils.js';import{View as _0xcc7b40,FocusCycler as _0x1cd7bd}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xcc7b40{[_0x219f89(0x121)];[_0x219f89(0x11f)];constructor(_0x214c15){var _0x1df96f=_0x219f89;super(_0x214c15),this[_0x1df96f(0x121)]=new _0x52a07e(),this[_0x1df96f(0x11f)]=new _0x1cd7bd({'focusables':this[_0x1df96f(0x123)](),'focusTracker':this[_0x1df96f(0x121)]});}[_0x219f89(0x12a)](){var _0x4d9b6a=_0x219f89;return{'tag':_0x4d9b6a(0x11b),'attributes':{'aria-hidden':_0x4d9b6a(0x11e),'tabindex':'0'},'on':{'focus':this[_0x4d9b6a(0x11a)]['to'](()=>{var _0x388434=_0x4d9b6a;this[_0x388434(0x11f)][_0x388434(0x127)](_0x388434(0x120));})}};}}
23
+ function _0x290e(_0x4b5a75,_0x398272){var _0x57170f=_0x5717();return _0x290e=function(_0x290e49,_0x2986fe){_0x290e49=_0x290e49-0x114;var _0x263613=_0x57170f[_0x290e49];return _0x263613;},_0x290e(_0x4b5a75,_0x398272);}var _0x36f9e1=_0x290e;(function(_0x1643aa,_0x179a87){var _0x3437cc=_0x290e,_0x1004f3=_0x1643aa();while(!![]){try{var _0x35c970=parseInt(_0x3437cc(0x121))/0x1*(-parseInt(_0x3437cc(0x119))/0x2)+parseInt(_0x3437cc(0x11b))/0x3+-parseInt(_0x3437cc(0x117))/0x4+parseInt(_0x3437cc(0x11c))/0x5*(parseInt(_0x3437cc(0x127))/0x6)+-parseInt(_0x3437cc(0x124))/0x7*(-parseInt(_0x3437cc(0x120))/0x8)+parseInt(_0x3437cc(0x118))/0x9+-parseInt(_0x3437cc(0x11d))/0xa*(parseInt(_0x3437cc(0x123))/0xb);if(_0x35c970===_0x179a87)break;else _0x1004f3['push'](_0x1004f3['shift']());}catch(_0x4a7e68){_0x1004f3['push'](_0x1004f3['shift']());}}}(_0x5717,0xca516));import{FocusTracker as _0x156c84}from'ckeditor5/src/utils.js';import{View as _0x679de9,FocusCycler as _0x424771}from'ckeditor5/src/ui.js';function _0x5717(){var _0x11e3d9=['114QMzBMO','createCollection','2858331FGUQSp','1405kgSXuk','10qIwckX','true','getFocusableElement','8430648AQKPPm','13513ErZWKw','fire','18418576IVlIrr','7ghulaI','forwardCycle','div','30006IqJBup','bindTemplate','focusTracker','focusCycler','1844752BpdIkX','2903850QslhsM'];_0x5717=function(){return _0x11e3d9;};return _0x5717();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x679de9{[_0x36f9e1(0x115)];[_0x36f9e1(0x116)];constructor(_0x353d44){var _0x3e7b87=_0x36f9e1;super(_0x353d44),this[_0x3e7b87(0x115)]=new _0x156c84(),this[_0x3e7b87(0x116)]=new _0x424771({'focusables':this[_0x3e7b87(0x11a)](),'focusTracker':this[_0x3e7b87(0x115)]});}[_0x36f9e1(0x11f)](){var _0x11f05d=_0x36f9e1;return{'tag':_0x11f05d(0x126),'attributes':{'aria-hidden':_0x11f05d(0x11e),'tabindex':'0'},'on':{'focus':this[_0x11f05d(0x114)]['to'](()=>{var _0x15af64=_0x11f05d;this[_0x15af64(0x116)][_0x15af64(0x122)](_0x15af64(0x125));})}};}}