@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251002.0 → 0.0.0-nightly-20251003.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x41c2(){const _0x5f5aaf=['attributeToAttribute','init','execute','getSelectedElement','extend','738288HOPStL','editing','ucContextId','removeAttribute','view','uc-upload-ctx-provider','elementToAttribute','map','add','querySelector','schema','_ctxElement','body','isOfficialPlugin','config','requires','ctxElement','for','configElement','_configElement','pluginName','24VcWgeu','commands','data-uc-image-id','replaceImageSource','isRegistered','_initConfig','766405oJANtp','remove','conversion','_initConversion','closeMax','imageInline','insertImage','366zGvkuh','uploadcare.uploader','7zXJHOw','locale','document','uploadcare.pubkey','once','_initCtx','uploadcareImageReplace','1839654Dhrxuk','render','_initSchema','editor','uploader-','input[uploadcare-file-input]','join','#uc-icon-arrow-down','listenTo','true','UploadcareEditing','2423245QdXpCr','4776Rmhyuy','50VcARkj','afterInit','\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','upcast','306910OiRqdO','model','getAttribute','fromCharCode','uploadcare','get','cleanupImage','destroy','27BdOCHh','downcast','selection','uploadcareImageId','isPremiumPlugin','imageBlock','uc-config','appendChild','iconHrefResolver','_initImageProcessingIndicator','PictureEditing','308qzBqsB','href','contentLanguage'];_0x41c2=function(){return _0x5f5aaf;};return _0x41c2();}const _0x2d2ed2=_0x1ab2;function _0x1ab2(_0x34b44c,_0x3766ca){const _0x41c2a2=_0x41c2();return _0x1ab2=function(_0x1ab2c3,_0x300c56){_0x1ab2c3=_0x1ab2c3-0xa6;let _0x2bc4b0=_0x41c2a2[_0x1ab2c3];return _0x2bc4b0;},_0x1ab2(_0x34b44c,_0x3766ca);}(function(_0x13d032,_0x1740ec){const _0x91abd0=_0x1ab2,_0x47ef9b=_0x13d032();while(!![]){try{const _0x6cb4a9=parseInt(_0x91abd0(0xc4))/0x1*(parseInt(_0x91abd0(0xad))/0x2)+parseInt(_0x91abd0(0xee))/0x3*(parseInt(_0x91abd0(0xac))/0x4)+parseInt(_0x91abd0(0xe7))/0x5+parseInt(_0x91abd0(0xf7))/0x6*(parseInt(_0x91abd0(0xf0))/0x7)+-parseInt(_0x91abd0(0xcc))/0x8+parseInt(_0x91abd0(0xb9))/0x9*(parseInt(_0x91abd0(0xb1))/0xa)+parseInt(_0x91abd0(0xab))/0xb*(-parseInt(_0x91abd0(0xe1))/0xc);if(_0x6cb4a9===_0x1740ec)break;else _0x47ef9b['push'](_0x47ef9b['shift']());}catch(_0xd89619){_0x47ef9b['push'](_0x47ef9b['shift']());}}}(_0x41c2,0x2a1a7));import{Plugin as _0x4ae0ad}from'ckeditor5/src/core.js';import{Dialog as _0x4daca5}from'ckeditor5/src/ui.js';import{createElement as _0x2d68ba,global as _0xd90ba8,uid as _0x23875a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x262718}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x143ed7}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x36c137}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4ae0ad{[_0x2d2ed2(0xdf)]=null;[_0x2d2ed2(0xd7)]=null;static get[_0x2d2ed2(0xe0)](){const _0x562504=_0x2d2ed2;return _0x562504(0xaa);}static get[_0x2d2ed2(0xdb)](){const _0x5aa016=_0x2d2ed2;return[_0x5aa016(0xc3),_0x143ed7,_0x4daca5];}static get[_0x2d2ed2(0xd9)](){return!0x0;}static get[_0x2d2ed2(0xbd)](){return!0x0;}[_0x2d2ed2(0xce)];get[_0x2d2ed2(0xde)](){const _0x37056d=_0x2d2ed2;return this[_0x37056d(0xdf)];}get[_0x2d2ed2(0xdc)](){const _0x3d5efc=_0x2d2ed2;return this[_0x3d5efc(0xd7)];}constructor(_0x428571){const _0xd87d53=_0x2d2ed2;super(_0x428571),this[_0xd87d53(0xce)]=_0x23875a();}[_0x2d2ed2(0xc8)](){const _0x15bbf9=_0x2d2ed2,_0xd7c04e=this[_0x15bbf9(0xfa)];_0xd7c04e[_0x15bbf9(0xe2)][_0x15bbf9(0xd4)](_0x15bbf9(0xb5),new _0x262718(_0xd7c04e));}[_0x2d2ed2(0xae)](){const _0xddad02=_0x2d2ed2;this[_0xddad02(0xf9)](),this[_0xddad02(0xea)](),this[_0xddad02(0xe6)](),this[_0xddad02(0xf5)](),this[_0xddad02(0xc2)](),this[_0xddad02(0xa8)](this[_0xddad02(0xfa)],_0xddad02(0xb8),()=>{const _0x4e149e=_0xddad02;this[_0x4e149e(0xdf)]&&(this[_0x4e149e(0xdf)][_0x4e149e(0xe8)](),this[_0x4e149e(0xdf)]=null),this[_0x4e149e(0xd7)]&&(this[_0x4e149e(0xd7)][_0x4e149e(0xe8)](),this[_0x4e149e(0xd7)]=null);const _0x59069f=_0xd90ba8[_0x4e149e(0xf2)][_0x4e149e(0xd5)](_0x4e149e(0xfc));_0x59069f&&_0x59069f[_0x4e149e(0xe8)]();}),async function(_0x3361b7){const _0x29bf58=_0x46af0d([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x4dbd1f=0x3d8d0df,_0x1ece95=0x3dfa5d7^_0x4dbd1f,_0x3a1b90=window[_0x46af0d([0x44,0x61,0x74,0x65])][_0x46af0d([0x6e,0x6f,0x77])](),_0x15a825=_0x3361b7[_0x46af0d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54b901=new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x535478=>{_0x15a825[_0x46af0d([0x6f,0x6e,0x63,0x65])](_0x46af0d([0x72,0x65,0x61,0x64,0x79]),_0x535478);}),_0x40e450={[_0x46af0d([0x6b,0x74,0x79])]:_0x46af0d([0x45,0x43]),[_0x46af0d([0x75,0x73,0x65])]:_0x46af0d([0x73,0x69,0x67]),[_0x46af0d([0x63,0x72,0x76])]:_0x46af0d([0x50,0x2d,0x32,0x35,0x36]),[_0x46af0d([0x78])]:_0x46af0d([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]),[_0x46af0d([0x79])]:_0x46af0d([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]),[_0x46af0d([0x61,0x6c,0x67])]:_0x46af0d([0x45,0x53,0x32,0x35,0x36])},_0x49f4bf=_0x15a825[_0x46af0d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46af0d([0x67,0x65,0x74])](_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54ba59(){let _0x5654a0,_0x1765cb=null,_0x14bc41=null;try{if(_0x49f4bf==_0x46af0d([0x47,0x50,0x4c]))return _0x46af0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5654a0=_0x5ab507(),!_0x5654a0)return _0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5654a0[_0x46af0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14bc41=_0xcb24b3(_0x5654a0[_0x46af0d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5654a0[_0x46af0d([0x6a,0x74,0x69])])),await _0x51fe81()?_0x961acb()?_0x51b0a9()?_0x46af0d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x35328e()?(_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46af0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1765cb=_0x51b478(_0x46af0d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46af0d([0x74,0x72,0x69,0x61,0x6c])&&(_0x1765cb=_0x51b478(_0x46af0d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fe407()):_0x46af0d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46af0d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46af0d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51b0a9(){const _0x5e3640=[_0x46af0d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46af0d([0x74,0x72,0x69,0x61,0x6c])][_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a1b90/0x3e8:0xe10*_0x1ece95;return _0x5654a0[_0x46af0d([0x65,0x78,0x70])]<_0x5e3640;}function _0x961acb(){const _0x38bf78=_0x5654a0[_0x46af0d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38bf78&&(!!_0x38bf78[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x2a]))||!!_0x38bf78[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x55,0x50,0x4c,0x43])));}function _0x35328e(){const _0x36ded9=_0x1ab2,_0x3d56e1=_0x5654a0[_0x46af0d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d56e1||0x0==_0x3d56e1[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b7810}=new URL(window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36ded9(0xc5)]);if(_0x3d56e1[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7810))return!0x0;const _0x3b4878=_0x5b7810[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e]));return _0x3d56e1[_0x46af0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12997d=>_0x12997d[_0x46af0d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46af0d([0x2a])))[_0x46af0d([0x6d,0x61,0x70])](_0x2f8adf=>_0x2f8adf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e])))[_0x46af0d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6f6af7=>_0x6f6af7[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b4878[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46af0d([0x6d,0x61,0x70])](_0x596f03=>Array(_0x3b4878[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x596f03[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46af0d([0x66,0x69,0x6c,0x6c])](_0x596f03[0x0]===_0x46af0d([0x2a])?_0x46af0d([0x2a]):'')[_0x46af0d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x596f03))[_0x46af0d([0x73,0x6f,0x6d,0x65])](_0x35ada6=>_0x3b4878[_0x46af0d([0x65,0x76,0x65,0x72,0x79])]((_0x110779,_0x40bbc5)=>_0x35ada6[_0x40bbc5]===_0x110779||_0x35ada6[_0x40bbc5]===_0x46af0d([0x2a])));}function _0x2fe407(){return _0x1765cb&&_0x14bc41?new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a1fa8,_0x2af5e0)=>{_0x1765cb[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x3a1fa8,_0x2af5e0),_0x14bc41[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x8d60cd=>{_0x8d60cd!=_0x46af0d([0x56,0x61,0x6c,0x69,0x64])&&_0x3a1fa8(_0x8d60cd);},_0x2af5e0);}):_0x1765cb||_0x14bc41||_0x46af0d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcb24b3(_0x2d6900,_0x39506a){return new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fcf4a=>{if(_0x3d34d8())return _0x1fcf4a(_0x46af0d([0x56,0x61,0x6c,0x69,0x64]));_0x5bb044(),_0x15a825[_0x46af0d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3bd231=!0x1;const _0x279635=_0x23875a();function _0x28d780(_0x3d5292){return!!_0x3d5292&&(typeof _0x3d5292===_0x46af0d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d5292===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d5292[_0x46af0d([0x74,0x68,0x65,0x6e])]===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d5292[_0x46af0d([0x63,0x61,0x74,0x63,0x68])]===_0x46af0d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x577838(_0x54655b){_0x49ca93(_0x54655b)[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x4205e1=>{if(!_0x4205e1||_0x4205e1[_0x46af0d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46af0d([0x6f,0x6b]))return _0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x345ad3(_0x3cd097(_0x279635+_0x39506a))!=_0x4205e1[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46af0d([0x56,0x61,0x6c,0x69,0x64]);})[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x4aeab3=>(_0x1dc9f9(),_0x4aeab3),()=>{const _0x1376a8=_0x3da97f();return null==_0x1376a8?(_0x1dc9f9(),_0x46af0d([0x56,0x61,0x6c,0x69,0x64])):_0x46af0d(_0x3a1b90-_0x1376a8>(0x27d454df^_0x4dbd1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x1fcf4a)[_0x46af0d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5488f8=0x3ee3e5f^_0x4dbd1f;function _0x1dc9f9(){const _0x5e4a22=_0x46af0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345ad3(_0x3cd097(_0x2d6900)),_0x13fcb1=_0x31f964(_0x345ad3(window[_0x46af0d([0x4d,0x61,0x74,0x68])][_0x46af0d([0x63,0x65,0x69,0x6c])](_0x3a1b90/_0x5488f8)));window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46af0d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e4a22,_0x13fcb1);}function _0x3da97f(){const _0x4d53bf=_0x46af0d([0x6c,0x6c,0x63,0x74,0x2d])+_0x345ad3(_0x3cd097(_0x2d6900)),_0x349833=window[_0x46af0d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46af0d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d53bf);return _0x349833?window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31f964(_0x349833),0x10)*_0x5488f8:null;}function _0x49ca93(_0xf390a5){return new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eff65,_0x1cb95a)=>{_0xf390a5[_0x46af0d([0x74,0x68,0x65,0x6e])](_0x1eff65,_0x1cb95a),window[_0x46af0d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cb95a,0x3d9041f^_0x4dbd1f);});}}_0x15a825[_0x46af0d([0x6f,0x6e])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21ea5f,_0x2a3f93)=>{if(_0x2a3f93[0x0]!=_0x2d6900)return _0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a3f93[0x1]={..._0x2a3f93[0x1],[_0x46af0d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x279635};},{[_0x46af0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46af0d([0x68,0x69,0x67,0x68])}),_0x15a825[_0x46af0d([0x6f,0x6e])](_0x46af0d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e7bd8=>{_0x28d780(_0x2e7bd8[_0x46af0d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3bd231=!0x0,_0x577838(_0x2e7bd8[_0x46af0d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46af0d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46af0d([0x6c,0x6f,0x77])}),_0x54b901[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>{_0x3bd231||_0x1fcf4a(_0x46af0d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d34d8(){return _0x15a825[_0x46af0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46af0d([0x76,0x69,0x65,0x77])][_0x46af0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46af0d([0x61,0x75,0x74,0x6f]);}function _0x5bb044(){_0x15a825[_0x46af0d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46af0d([0x76,0x69,0x65,0x77])][_0x46af0d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46af0d([0x61,0x75,0x74,0x6f]);}}function _0x51b478(_0x1935fe){const _0x53973d=[new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24e831=>setTimeout(_0x24e831,0x3d1ee13^_0x4dbd1f)),_0x54b901[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x209b77=>{let _0x2946d6=0x0;_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x6f,0x6e])](_0x46af0d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x433819,_0x40a008)=>{_0x40a008[0x0][_0x46af0d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2946d6++,_0x2946d6==(0x3d8d127^_0x4dbd1f)&&(_0x209b77(),_0x433819[_0x46af0d([0x6f,0x66,0x66])]());});}))];return window[_0x46af0d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46af0d([0x72,0x61,0x63,0x65])](_0x53973d)[_0x46af0d([0x74,0x68,0x65,0x6e])](()=>_0x1935fe);}async function _0x118f2e(){await _0x54b901,_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f66f2,_0x15a825[_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c])][_0x46af0d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f66f2,_0x15a825[_0x46af0d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46af0d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x592016(_0x400f5f){const _0x1cbf5b=_0x32d51b();_0x15a825[_0x1cbf5b]=_0x46af0d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x400f5f,_0x400f5f!=_0x46af0d([0x56,0x61,0x6c,0x69,0x64])&&_0x118f2e();}function _0x32d51b(){const _0x5d598d=window[_0x46af0d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46af0d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46af0d([0x6e,0x6f,0x77])]())[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46af0d([0x2e]),'');let _0x3d5ce5=_0x46af0d([0x52]);for(let _0x10b23c=0x0;_0x10b23c<_0x5d598d[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10b23c+=0x2){let _0x6600c7=window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d598d[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10b23c,_0x10b23c+0x2));_0x6600c7>=_0x29bf58[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6600c7-=_0x29bf58[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d5ce5+=_0x29bf58[_0x6600c7];}return _0x3d5ce5;}function _0x5ab507(){const _0x15e40e=_0x49f4bf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e]));if(0x3!=_0x15e40e[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ca8f2(_0x15e40e[0x1]);function _0x1ca8f2(_0x55b1c5){const _0x53c4e0=_0x5adae2(_0x55b1c5);return _0x53c4e0&&_0x2f8cdf()?_0x53c4e0:null;function _0x2f8cdf(){const _0x1f99ce=_0x53c4e0[_0x46af0d([0x6a,0x74,0x69])],_0x2f0c62=window[_0x46af0d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f99ce[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f99ce[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36de16={..._0x53c4e0,[_0x46af0d([0x6a,0x74,0x69])]:_0x1f99ce[_0x46af0d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f99ce[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36de16[_0x46af0d([0x76,0x63])],_0x3cd097(_0x36de16)==_0x2f0c62;}}}async function _0x51fe81(){let _0xe7f193=!0x0;try{const _0x176b7c=_0x49f4bf[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])](_0x46af0d([0x2e])),[_0x34d598,_0x534d1d,_0x566601]=_0x176b7c;return _0x13120b(_0x34d598),await _0x16ee34(_0x34d598,_0x534d1d,_0x566601),_0xe7f193;}catch{return!0x1;}function _0x13120b(_0x1c8197){const _0x365c81=_0x5adae2(_0x1c8197);_0x365c81&&_0x365c81[_0x46af0d([0x61,0x6c,0x67])]==_0x46af0d([0x45,0x53,0x32,0x35,0x36])||(_0xe7f193=!0x1);}async function _0x16ee34(_0x2dcd00,_0x28a93d,_0x2c4c9b){const _0x35d94a=window[_0x46af0d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46af0d([0x66,0x72,0x6f,0x6d])](_0x53b478(_0x2c4c9b),_0x3a5b35=>_0x3a5b35[_0x46af0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x869497=new window[(_0x46af0d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46af0d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dcd00+_0x46af0d([0x2e])+_0x28a93d),_0x1b536f=window[_0x46af0d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46af0d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b536f)return;const _0xc5ae95=await _0x1b536f[_0x46af0d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46af0d([0x6a,0x77,0x6b]),_0x40e450,{[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x45,0x43,0x44,0x53,0x41]),[_0x46af0d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46af0d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b536f[_0x46af0d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x45,0x43,0x44,0x53,0x41]),[_0x46af0d([0x68,0x61,0x73,0x68])]:{[_0x46af0d([0x6e,0x61,0x6d,0x65])]:_0x46af0d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc5ae95,_0x35d94a,_0x869497)||(_0xe7f193=!0x1);}}function _0x5adae2(_0x216eca){return _0x216eca[_0x46af0d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46af0d([0x65,0x79]))?JSON[_0x46af0d([0x70,0x61,0x72,0x73,0x65])](_0x53b478(_0x216eca)):null;}function _0x53b478(_0x15f77a){return window[_0x46af0d([0x61,0x74,0x6f,0x62])](_0x15f77a[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46af0d([0x2b]))[_0x46af0d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46af0d([0x2f])));}function _0x3cd097(_0x535a9b){let _0x1b8bf7=0x1505;function _0x135d4b(_0x58f96e){for(let _0x589e94=0x0;_0x589e94<_0x58f96e[_0x46af0d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x589e94++){const _0x1d04f7=_0x58f96e[_0x46af0d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x589e94);_0x1b8bf7=(_0x1b8bf7<<0x5)+_0x1b8bf7+_0x1d04f7,_0x1b8bf7&=_0x1b8bf7;}}function _0x31008b(_0x3d5fdc){Array[_0x46af0d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d5fdc)?_0x3d5fdc[_0x46af0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31008b):_0x3d5fdc&&typeof _0x3d5fdc==_0x46af0d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46af0d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d5fdc)[_0x46af0d([0x73,0x6f,0x72,0x74])]()[_0x46af0d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51a9e9,_0x1d0049])=>{_0x135d4b(_0x51a9e9),_0x31008b(_0x1d0049);}):_0x135d4b(window[_0x46af0d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d5fdc));}return _0x31008b(_0x535a9b),_0x1b8bf7>>>0x0;}function _0x345ad3(_0x284d42){return _0x284d42[_0x46af0d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46af0d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46af0d([0x30]));}function _0x31f964(_0x271b3a){return _0x271b3a[_0x46af0d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46af0d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46af0d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f66f2(){}function _0x46af0d(_0x1f1745){const _0x29d114=_0x1ab2;return _0x1f1745[_0x29d114(0xd3)](_0x18b137=>String[_0x29d114(0xb4)](_0x18b137))[_0x29d114(0xa6)]('');}_0x592016(await _0x54ba59());}(this);}[_0x2d2ed2(0xf9)](){const _0x554faf=_0x2d2ed2,_0xacf6d0=this[_0x554faf(0xfa)][_0x554faf(0xb2)][_0x554faf(0xd6)];_0xacf6d0[_0x554faf(0xe5)](_0x554faf(0xbe))&&_0xacf6d0[_0x554faf(0xcb)](_0x554faf(0xbe),{'allowAttributes':[_0x554faf(0xbc)]}),_0xacf6d0[_0x554faf(0xe5)](_0x554faf(0xec))&&_0xacf6d0[_0x554faf(0xcb)](_0x554faf(0xec),{'allowAttributes':[_0x554faf(0xbc)]});}[_0x2d2ed2(0xea)](){const _0x23a72a=_0x2d2ed2,_0x407aa2=this[_0x23a72a(0xfa)];_0x407aa2[_0x23a72a(0xe9)][_0x23a72a(0xdd)](_0x23a72a(0xba))[_0x23a72a(0xc7)]({'model':_0x23a72a(0xbc),'view':_0x23a72a(0xe3)}),_0x407aa2[_0x23a72a(0xe9)][_0x23a72a(0xdd)](_0x23a72a(0xb0))[_0x23a72a(0xd2)]({'model':{'key':_0x23a72a(0xbc),'value':_0x120416=>_0x120416[_0x23a72a(0xb3)](_0x23a72a(0xe3))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x11d275=_0x407aa2[_0x23a72a(0xe2)][_0x23a72a(0xb6)](_0x23a72a(0xe4));_0x11d275&&this[_0x23a72a(0xa8)](_0x11d275,_0x23a72a(0xb7),(_0x1cf872,[_0x240ea8,_0x17b951])=>{const _0xda9cc=_0x23a72a;_0x240ea8[_0xda9cc(0xcf)](_0xda9cc(0xbc),_0x17b951);});}[_0x2d2ed2(0xe6)](){const _0x512aa9=_0x2d2ed2,_0x4a8ee3=this[_0x512aa9(0xfa)][_0x512aa9(0xda)][_0x512aa9(0xb6)](_0x512aa9(0xef))||{},_0x117e02=this[_0x512aa9(0xfa)][_0x512aa9(0xda)][_0x512aa9(0xb6)](_0x512aa9(0xf3))||'';this[_0x512aa9(0xdf)]=_0x2d68ba(_0xd90ba8[_0x512aa9(0xf2)],_0x512aa9(0xbf),{..._0x4a8ee3,'pubkey':_0x117e02,'ctx-name':_0x512aa9(0xfb)+this[_0x512aa9(0xce)],'sourceList':'','imgOnly':_0x512aa9(0xa9),'removeCopyright':_0x512aa9(0xa9),'localeName':this[_0x512aa9(0xfa)][_0x512aa9(0xf1)][_0x512aa9(0xc6)],'externalSourcesEmbedCss':_0x512aa9(0xaf)}),this[_0x512aa9(0xdf)][_0x512aa9(0xc1)]=_0x386554=>{const _0x1d601d=_0x512aa9;if(_0x1d601d(0xeb)==_0x386554)return _0x1d601d(0xa7);},_0xd90ba8[_0x512aa9(0xf2)][_0x512aa9(0xd8)][_0x512aa9(0xc0)](this[_0x512aa9(0xdf)]);}[_0x2d2ed2(0xf5)](){const _0x3afd56=_0x2d2ed2;this[_0x3afd56(0xd7)]=_0x2d68ba(_0xd90ba8[_0x3afd56(0xf2)],_0x3afd56(0xd1),{'ctx-name':_0x3afd56(0xfb)+this[_0x3afd56(0xce)]}),_0xd90ba8[_0x3afd56(0xf2)][_0x3afd56(0xd8)][_0x3afd56(0xc0)](this[_0x3afd56(0xd7)]);}[_0x2d2ed2(0xc2)](){const _0x4135e0=_0x2d2ed2,_0x7e2049=this[_0x4135e0(0xfa)][_0x4135e0(0xe2)][_0x4135e0(0xb6)](_0x4135e0(0xed));_0x7e2049&&this[_0x4135e0(0xa8)](_0x7e2049,_0x4135e0(0xc9),()=>{const _0x4ed53f=_0x4135e0,_0x5d416e=this[_0x4ed53f(0xfa)][_0x4ed53f(0xb2)][_0x4ed53f(0xf2)][_0x4ed53f(0xbb)][_0x4ed53f(0xca)]();_0x5d416e&&_0x5d416e[_0x4ed53f(0xb3)](_0x4ed53f(0xbc))&&this[_0x4ed53f(0xfa)][_0x4ed53f(0xcd)][_0x4ed53f(0xd0)][_0x4ed53f(0xf4)](_0x4ed53f(0xf8),()=>{const _0x51167b=_0x4ed53f;_0x36c137(this[_0x51167b(0xfa)],_0x5d416e);});});const _0xc0c9f6=this[_0x4135e0(0xfa)][_0x4135e0(0xe2)][_0x4135e0(0xb6)](_0x4135e0(0xf6));_0xc0c9f6&&this[_0x4135e0(0xa8)](_0xc0c9f6,_0x4135e0(0xc9),()=>{const _0x40867a=_0x4135e0,_0x2221ac=this[_0x40867a(0xfa)][_0x40867a(0xb2)][_0x40867a(0xf2)][_0x40867a(0xbb)][_0x40867a(0xca)]();_0x2221ac&&_0x2221ac[_0x40867a(0xb3)](_0x40867a(0xbc))&&this[_0x40867a(0xfa)][_0x40867a(0xcd)][_0x40867a(0xd0)][_0x40867a(0xf4)](_0x40867a(0xf8),()=>{const _0x2386fd=_0x40867a;_0x36c137(this[_0x2386fd(0xfa)],_0x2221ac);});});}}
23
+ function _0x2bd5(_0x18f1be,_0x32fe8e){const _0x520ccc=_0x520c();return _0x2bd5=function(_0x2bd526,_0xad23ca){_0x2bd526=_0x2bd526-0xdb;let _0x12c211=_0x520ccc[_0x2bd526];return _0x12c211;},_0x2bd5(_0x18f1be,_0x32fe8e);}const _0x163364=_0x2bd5;(function(_0x4df389,_0x485c94){const _0x4b4302=_0x2bd5,_0x3c4a3e=_0x4df389();while(!![]){try{const _0xa83091=parseInt(_0x4b4302(0xf7))/0x1+-parseInt(_0x4b4302(0x10d))/0x2+parseInt(_0x4b4302(0xed))/0x3*(parseInt(_0x4b4302(0x10c))/0x4)+parseInt(_0x4b4302(0x111))/0x5+-parseInt(_0x4b4302(0x114))/0x6+-parseInt(_0x4b4302(0x106))/0x7+parseInt(_0x4b4302(0x110))/0x8;if(_0xa83091===_0x485c94)break;else _0x3c4a3e['push'](_0x3c4a3e['shift']());}catch(_0x66b0b1){_0x3c4a3e['push'](_0x3c4a3e['shift']());}}}(_0x520c,0xb2bdb));function _0x520c(){const _0x960dbc=['ctxElement','listenTo','_initConfig','init','_initConversion','getAttribute','insertImage','extend','_ctxElement','join','render','fromCharCode','href','uc-config','isOfficialPlugin','uploadcareImageReplace','document','commands','ucContextId','locale','for','cleanupImage','_initCtx','schema','body','appendChild','map','model','imageBlock','afterInit','imageInline','getSelectedElement','add','execute','replaceImageSource','isPremiumPlugin','destroy','PictureEditing','_initSchema','iconHrefResolver','uploadcare.uploader','_configElement','upcast','230757PzxAfw','uploadcare','remove','UploadcareEditing','view','requires','\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','config','selection','removeAttribute','1254667AXtKcK','isRegistered','conversion','contentLanguage','pluginName','downcast','data-uc-image-id','attributeToAttribute','closeMax','_initImageProcessingIndicator','true','editor','editing','input[uploadcare-file-input]','once','6160581TbNywm','querySelector','uc-upload-ctx-provider','#uc-icon-arrow-down','get','elementToAttribute','52tzOMhJ','2688678gsZbrH','uploader-','uploadcareImageId','6639984jJZkWk','2564735lkMDLM','uploadcare.pubkey','configElement','3846084jrRDZo'];_0x520c=function(){return _0x960dbc;};return _0x520c();}import{Plugin as _0x1869ba}from'ckeditor5/src/core.js';import{Dialog as _0x2c9028}from'ckeditor5/src/ui.js';import{createElement as _0x4629b9,global as _0x57dc5c,uid as _0x562abd}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x363299}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x14c9e4}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1a7714}from'./utils/editingutils.js';export class UploadcareEditing extends _0x1869ba{[_0x163364(0xeb)]=null;[_0x163364(0x11d)]=null;static get[_0x163364(0xfb)](){const _0x1edec1=_0x163364;return _0x1edec1(0xf0);}static get[_0x163364(0xf2)](){const _0x520102=_0x163364;return[_0x520102(0xe7),_0x14c9e4,_0x2c9028];}static get[_0x163364(0x123)](){return!0x0;}static get[_0x163364(0xe5)](){return!0x0;}[_0x163364(0x127)];get[_0x163364(0x113)](){const _0x3da55c=_0x163364;return this[_0x3da55c(0xeb)];}get[_0x163364(0x115)](){const _0x36804f=_0x163364;return this[_0x36804f(0x11d)];}constructor(_0xc25ec3){const _0x1f3de0=_0x163364;super(_0xc25ec3),this[_0x1f3de0(0x127)]=_0x562abd();}[_0x163364(0x118)](){const _0x6344d9=_0x163364,_0x2eeed6=this[_0x6344d9(0x102)];_0x2eeed6[_0x6344d9(0x126)][_0x6344d9(0xe2)](_0x6344d9(0xee),new _0x363299(_0x2eeed6));}[_0x163364(0xdf)](){const _0x2de17d=_0x163364;this[_0x2de17d(0xe8)](),this[_0x2de17d(0x119)](),this[_0x2de17d(0x117)](),this[_0x2de17d(0x12b)](),this[_0x2de17d(0x100)](),this[_0x2de17d(0x116)](this[_0x2de17d(0x102)],_0x2de17d(0xe6),()=>{const _0x589a2a=_0x2de17d;this[_0x589a2a(0xeb)]&&(this[_0x589a2a(0xeb)][_0x589a2a(0xef)](),this[_0x589a2a(0xeb)]=null),this[_0x589a2a(0x11d)]&&(this[_0x589a2a(0x11d)][_0x589a2a(0xef)](),this[_0x589a2a(0x11d)]=null);const _0x2d204c=_0x57dc5c[_0x589a2a(0x125)][_0x589a2a(0x107)](_0x589a2a(0x104));_0x2d204c&&_0x2d204c[_0x589a2a(0xef)]();}),async function(_0x4e0c8c){const _0x1e5a1f=_0x9f7c2([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x23eaa3=0x3d8d0df,_0xa25c14=0x3dfa5ff^_0x23eaa3,_0xe18ed1=window[_0x9f7c2([0x44,0x61,0x74,0x65])][_0x9f7c2([0x6e,0x6f,0x77])](),_0x101bd7=_0x4e0c8c[_0x9f7c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56f837=new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6ce948=>{_0x101bd7[_0x9f7c2([0x6f,0x6e,0x63,0x65])](_0x9f7c2([0x72,0x65,0x61,0x64,0x79]),_0x6ce948);}),_0x49dbe5={[_0x9f7c2([0x6b,0x74,0x79])]:_0x9f7c2([0x45,0x43]),[_0x9f7c2([0x75,0x73,0x65])]:_0x9f7c2([0x73,0x69,0x67]),[_0x9f7c2([0x63,0x72,0x76])]:_0x9f7c2([0x50,0x2d,0x32,0x35,0x36]),[_0x9f7c2([0x78])]:_0x9f7c2([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]),[_0x9f7c2([0x79])]:_0x9f7c2([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]),[_0x9f7c2([0x61,0x6c,0x67])]:_0x9f7c2([0x45,0x53,0x32,0x35,0x36])},_0x27edfb=_0x101bd7[_0x9f7c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9f7c2([0x67,0x65,0x74])](_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa53d8f(){let _0x304028,_0x1131c4=null,_0x2e28d6=null;try{if(_0x27edfb==_0x9f7c2([0x47,0x50,0x4c]))return _0x9f7c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x304028=_0x21806a(),!_0x304028)return _0x9f7c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x304028[_0x9f7c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e28d6=_0xcc550a(_0x304028[_0x9f7c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x304028[_0x9f7c2([0x6a,0x74,0x69])])),await _0x2c9a7a()?_0x1bd476()?_0x1f6f44()?_0x9f7c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4e14ff()?(_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9f7c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1131c4=_0x113215(_0x9f7c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9f7c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x1131c4=_0x113215(_0x9f7c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24dedf()):_0x9f7c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9f7c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9f7c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9f7c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6f44(){const _0x467a63=[_0x9f7c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9f7c2([0x74,0x72,0x69,0x61,0x6c])][_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe18ed1/0x3e8:0xe10*_0xa25c14;return _0x304028[_0x9f7c2([0x65,0x78,0x70])]<_0x467a63;}function _0x1bd476(){const _0x226e85=_0x304028[_0x9f7c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x226e85&&(!!_0x226e85[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7c2([0x2a]))||!!_0x226e85[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7c2([0x55,0x50,0x4c,0x43])));}function _0x4e14ff(){const _0x177949=_0x2bd5,_0x43771a=_0x304028[_0x9f7c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43771a||0x0==_0x43771a[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x330661}=new URL(window[_0x9f7c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x177949(0x121)]);if(_0x43771a[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x330661))return!0x0;const _0x150dc8=_0x330661[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e]));return _0x43771a[_0x9f7c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2faacd=>_0x2faacd[_0x9f7c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f7c2([0x2a])))[_0x9f7c2([0x6d,0x61,0x70])](_0x2507f5=>_0x2507f5[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e])))[_0x9f7c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x367783=>_0x367783[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x150dc8[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9f7c2([0x6d,0x61,0x70])](_0x1a5e12=>Array(_0x150dc8[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a5e12[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9f7c2([0x66,0x69,0x6c,0x6c])](_0x1a5e12[0x0]===_0x9f7c2([0x2a])?_0x9f7c2([0x2a]):'')[_0x9f7c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a5e12))[_0x9f7c2([0x73,0x6f,0x6d,0x65])](_0x416399=>_0x150dc8[_0x9f7c2([0x65,0x76,0x65,0x72,0x79])]((_0x4e801e,_0x35cb65)=>_0x416399[_0x35cb65]===_0x4e801e||_0x416399[_0x35cb65]===_0x9f7c2([0x2a])));}function _0x24dedf(){return _0x1131c4&&_0x2e28d6?new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b8213,_0x3774ee)=>{_0x1131c4[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x2b8213,_0x3774ee),_0x2e28d6[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x4d696d=>{_0x4d696d!=_0x9f7c2([0x56,0x61,0x6c,0x69,0x64])&&_0x2b8213(_0x4d696d);},_0x3774ee);}):_0x1131c4||_0x2e28d6||_0x9f7c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcc550a(_0x167983,_0x496435){return new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7e16=>{if(_0x10ef38())return _0x1b7e16(_0x9f7c2([0x56,0x61,0x6c,0x69,0x64]));_0x1c8e99(),_0x101bd7[_0x9f7c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9f7c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f8c9b=!0x1;const _0xb24451=_0x562abd();function _0x54ab0c(_0x164a18){return!!_0x164a18&&(typeof _0x164a18===_0x9f7c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x164a18===_0x9f7c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x164a18[_0x9f7c2([0x74,0x68,0x65,0x6e])]===_0x9f7c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x164a18[_0x9f7c2([0x63,0x61,0x74,0x63,0x68])]===_0x9f7c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x133095(_0x443999){_0x125fa6(_0x443999)[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x8171c5=>{if(!_0x8171c5||_0x8171c5[_0x9f7c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9f7c2([0x6f,0x6b]))return _0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c8ce4(_0x48fe58(_0xb24451+_0x496435))!=_0x8171c5[_0x9f7c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9f7c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x2c9d4f=>(_0x6c8152(),_0x2c9d4f),()=>{const _0x2aefaa=_0x508dda();return null==_0x2aefaa?(_0x6c8152(),_0x9f7c2([0x56,0x61,0x6c,0x69,0x64])):_0x9f7c2(_0xe18ed1-_0x2aefaa>(0x27d454df^_0x23eaa3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x1b7e16)[_0x9f7c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b7e16(_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x173345=0x3ee3e5f^_0x23eaa3;function _0x6c8152(){const _0x705498=_0x9f7c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c8ce4(_0x48fe58(_0x167983)),_0x10c3f1=_0x18839e(_0x4c8ce4(window[_0x9f7c2([0x4d,0x61,0x74,0x68])][_0x9f7c2([0x63,0x65,0x69,0x6c])](_0xe18ed1/_0x173345)));window[_0x9f7c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9f7c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x705498,_0x10c3f1);}function _0x508dda(){const _0x588cd3=_0x9f7c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c8ce4(_0x48fe58(_0x167983)),_0x564cd2=window[_0x9f7c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9f7c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x588cd3);return _0x564cd2?window[_0x9f7c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18839e(_0x564cd2),0x10)*_0x173345:null;}function _0x125fa6(_0x17f344){return new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37a095,_0x45ff77)=>{_0x17f344[_0x9f7c2([0x74,0x68,0x65,0x6e])](_0x37a095,_0x45ff77),window[_0x9f7c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x45ff77,0x3d9041f^_0x23eaa3);});}}_0x101bd7[_0x9f7c2([0x6f,0x6e])](_0x9f7c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30f1fe,_0x1c0043)=>{if(_0x1c0043[0x0]!=_0x167983)return _0x1b7e16(_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c0043[0x1]={..._0x1c0043[0x1],[_0x9f7c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb24451};},{[_0x9f7c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9f7c2([0x68,0x69,0x67,0x68])}),_0x101bd7[_0x9f7c2([0x6f,0x6e])](_0x9f7c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5601bc=>{_0x54ab0c(_0x5601bc[_0x9f7c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f8c9b=!0x0,_0x133095(_0x5601bc[_0x9f7c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9f7c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9f7c2([0x6c,0x6f,0x77])}),_0x56f837[_0x9f7c2([0x74,0x68,0x65,0x6e])](()=>{_0x1f8c9b||_0x1b7e16(_0x9f7c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10ef38(){return _0x101bd7[_0x9f7c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9f7c2([0x76,0x69,0x65,0x77])][_0x9f7c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9f7c2([0x61,0x75,0x74,0x6f]);}function _0x1c8e99(){_0x101bd7[_0x9f7c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9f7c2([0x76,0x69,0x65,0x77])][_0x9f7c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9f7c2([0x61,0x75,0x74,0x6f]);}}function _0x113215(_0x30a513){const _0x4b608f=[new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x261e4e=>setTimeout(_0x261e4e,0x3d1ee13^_0x23eaa3)),_0x56f837[_0x9f7c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591816=>{let _0x445b66=0x0;_0x101bd7[_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f7c2([0x6f,0x6e])](_0x9f7c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3884f3,_0x131496)=>{_0x131496[0x0][_0x9f7c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x445b66++,_0x445b66==(0x3d8d127^_0x23eaa3)&&(_0x591816(),_0x3884f3[_0x9f7c2([0x6f,0x66,0x66])]());});}))];return window[_0x9f7c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9f7c2([0x72,0x61,0x63,0x65])](_0x4b608f)[_0x9f7c2([0x74,0x68,0x65,0x6e])](()=>_0x30a513);}async function _0x41c3cf(){await _0x56f837,_0x101bd7[_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f7c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x533a2a,_0x101bd7[_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f7c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x533a2a,_0x101bd7[_0x9f7c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9f7c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x349cda(_0x2d0efe){const _0x26a337=_0x48a216();_0x101bd7[_0x26a337]=_0x9f7c2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d0efe,_0x2d0efe!=_0x9f7c2([0x56,0x61,0x6c,0x69,0x64])&&_0x41c3cf();}function _0x48a216(){const _0x14e479=window[_0x9f7c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9f7c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9f7c2([0x6e,0x6f,0x77])]())[_0x9f7c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9f7c2([0x2e]),'');let _0x145cbf=_0x9f7c2([0x52]);for(let _0x4e741a=0x0;_0x4e741a<_0x14e479[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e741a+=0x2){let _0x599e31=window[_0x9f7c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14e479[_0x9f7c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e741a,_0x4e741a+0x2));_0x599e31>=_0x1e5a1f[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x599e31-=_0x1e5a1f[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x145cbf+=_0x1e5a1f[_0x599e31];}return _0x145cbf;}function _0x21806a(){const _0x278a0b=_0x27edfb[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e]));if(0x3!=_0x278a0b[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x577093(_0x278a0b[0x1]);function _0x577093(_0x5ee160){const _0x1636bc=_0xb0ceaa(_0x5ee160);return _0x1636bc&&_0x19b5b6()?_0x1636bc:null;function _0x19b5b6(){const _0x23288b=_0x1636bc[_0x9f7c2([0x6a,0x74,0x69])],_0x2ed668=window[_0x9f7c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23288b[_0x9f7c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23288b[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53e4fe={..._0x1636bc,[_0x9f7c2([0x6a,0x74,0x69])]:_0x23288b[_0x9f7c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23288b[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53e4fe[_0x9f7c2([0x76,0x63])],_0x48fe58(_0x53e4fe)==_0x2ed668;}}}async function _0x2c9a7a(){let _0x58b10c=!0x0;try{const _0x59aa7c=_0x27edfb[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])](_0x9f7c2([0x2e])),[_0x34280c,_0x4607d5,_0x5c6a44]=_0x59aa7c;return _0x1528e8(_0x34280c),await _0x1cb926(_0x34280c,_0x4607d5,_0x5c6a44),_0x58b10c;}catch{return!0x1;}function _0x1528e8(_0x1f845a){const _0x4d98ab=_0xb0ceaa(_0x1f845a);_0x4d98ab&&_0x4d98ab[_0x9f7c2([0x61,0x6c,0x67])]==_0x9f7c2([0x45,0x53,0x32,0x35,0x36])||(_0x58b10c=!0x1);}async function _0x1cb926(_0xc22a3e,_0x4aad9c,_0x280cf6){const _0x1b11d3=window[_0x9f7c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9f7c2([0x66,0x72,0x6f,0x6d])](_0x2d1d17(_0x280cf6),_0x1355cf=>_0x1355cf[_0x9f7c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a724d=new window[(_0x9f7c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9f7c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc22a3e+_0x9f7c2([0x2e])+_0x4aad9c),_0x2484b4=window[_0x9f7c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9f7c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2484b4)return;const _0x2e4d68=await _0x2484b4[_0x9f7c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9f7c2([0x6a,0x77,0x6b]),_0x49dbe5,{[_0x9f7c2([0x6e,0x61,0x6d,0x65])]:_0x9f7c2([0x45,0x43,0x44,0x53,0x41]),[_0x9f7c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9f7c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9f7c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2484b4[_0x9f7c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9f7c2([0x6e,0x61,0x6d,0x65])]:_0x9f7c2([0x45,0x43,0x44,0x53,0x41]),[_0x9f7c2([0x68,0x61,0x73,0x68])]:{[_0x9f7c2([0x6e,0x61,0x6d,0x65])]:_0x9f7c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e4d68,_0x1b11d3,_0x2a724d)||(_0x58b10c=!0x1);}}function _0xb0ceaa(_0x463aa5){return _0x463aa5[_0x9f7c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9f7c2([0x65,0x79]))?JSON[_0x9f7c2([0x70,0x61,0x72,0x73,0x65])](_0x2d1d17(_0x463aa5)):null;}function _0x2d1d17(_0xaf66ec){return window[_0x9f7c2([0x61,0x74,0x6f,0x62])](_0xaf66ec[_0x9f7c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9f7c2([0x2b]))[_0x9f7c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9f7c2([0x2f])));}function _0x48fe58(_0x2d8142){let _0x37d9fe=0x1505;function _0x3dccb3(_0x1e7edf){for(let _0x2617fb=0x0;_0x2617fb<_0x1e7edf[_0x9f7c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2617fb++){const _0x5da522=_0x1e7edf[_0x9f7c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2617fb);_0x37d9fe=(_0x37d9fe<<0x5)+_0x37d9fe+_0x5da522,_0x37d9fe&=_0x37d9fe;}}function _0x3fbe5c(_0x3d913a){Array[_0x9f7c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d913a)?_0x3d913a[_0x9f7c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3fbe5c):_0x3d913a&&typeof _0x3d913a==_0x9f7c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9f7c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d913a)[_0x9f7c2([0x73,0x6f,0x72,0x74])]()[_0x9f7c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x559ea5,_0x2f0bed])=>{_0x3dccb3(_0x559ea5),_0x3fbe5c(_0x2f0bed);}):_0x3dccb3(window[_0x9f7c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d913a));}return _0x3fbe5c(_0x2d8142),_0x37d9fe>>>0x0;}function _0x4c8ce4(_0x281de1){return _0x281de1[_0x9f7c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9f7c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9f7c2([0x30]));}function _0x18839e(_0x30d24a){return _0x30d24a[_0x9f7c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9f7c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9f7c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x533a2a(){}function _0x9f7c2(_0x3f6207){const _0x420602=_0x2bd5;return _0x3f6207[_0x420602(0xdc)](_0x4490f8=>String[_0x420602(0x120)](_0x4490f8))[_0x420602(0x11e)]('');}_0x349cda(await _0xa53d8f());}(this);}[_0x163364(0xe8)](){const _0x24defb=_0x163364,_0x46be94=this[_0x24defb(0x102)][_0x24defb(0xdd)][_0x24defb(0x12c)];_0x46be94[_0x24defb(0xf8)](_0x24defb(0xde))&&_0x46be94[_0x24defb(0x11c)](_0x24defb(0xde),{'allowAttributes':[_0x24defb(0x10f)]}),_0x46be94[_0x24defb(0xf8)](_0x24defb(0xe0))&&_0x46be94[_0x24defb(0x11c)](_0x24defb(0xe0),{'allowAttributes':[_0x24defb(0x10f)]});}[_0x163364(0x119)](){const _0x19e111=_0x163364,_0xf7cc32=this[_0x19e111(0x102)];_0xf7cc32[_0x19e111(0xf9)][_0x19e111(0x129)](_0x19e111(0xfc))[_0x19e111(0xfe)]({'model':_0x19e111(0x10f),'view':_0x19e111(0xfd)}),_0xf7cc32[_0x19e111(0xf9)][_0x19e111(0x129)](_0x19e111(0xec))[_0x19e111(0x10b)]({'model':{'key':_0x19e111(0x10f),'value':_0x2355f7=>_0x2355f7[_0x19e111(0x11a)](_0x19e111(0xfd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x19be76=_0xf7cc32[_0x19e111(0x126)][_0x19e111(0x10a)](_0x19e111(0xe4));_0x19be76&&this[_0x19e111(0x116)](_0x19be76,_0x19e111(0x12a),(_0x2a293f,[_0x47cea9,_0x3eca47])=>{const _0x10a60e=_0x19e111;_0x47cea9[_0x10a60e(0xf6)](_0x10a60e(0x10f),_0x3eca47);});}[_0x163364(0x117)](){const _0x12ae9c=_0x163364,_0x2b3d63=this[_0x12ae9c(0x102)][_0x12ae9c(0xf4)][_0x12ae9c(0x10a)](_0x12ae9c(0xea))||{},_0x39e49a=this[_0x12ae9c(0x102)][_0x12ae9c(0xf4)][_0x12ae9c(0x10a)](_0x12ae9c(0x112))||'';this[_0x12ae9c(0xeb)]=_0x4629b9(_0x57dc5c[_0x12ae9c(0x125)],_0x12ae9c(0x122),{..._0x2b3d63,'pubkey':_0x39e49a,'ctx-name':_0x12ae9c(0x10e)+this[_0x12ae9c(0x127)],'sourceList':'','imgOnly':_0x12ae9c(0x101),'removeCopyright':_0x12ae9c(0x101),'localeName':this[_0x12ae9c(0x102)][_0x12ae9c(0x128)][_0x12ae9c(0xfa)],'externalSourcesEmbedCss':_0x12ae9c(0xf3)}),this[_0x12ae9c(0xeb)][_0x12ae9c(0xe9)]=_0x2b9a64=>{const _0x8a0f7a=_0x12ae9c;if(_0x8a0f7a(0xff)==_0x2b9a64)return _0x8a0f7a(0x109);},_0x57dc5c[_0x12ae9c(0x125)][_0x12ae9c(0x12d)][_0x12ae9c(0xdb)](this[_0x12ae9c(0xeb)]);}[_0x163364(0x12b)](){const _0x96486=_0x163364;this[_0x96486(0x11d)]=_0x4629b9(_0x57dc5c[_0x96486(0x125)],_0x96486(0x108),{'ctx-name':_0x96486(0x10e)+this[_0x96486(0x127)]}),_0x57dc5c[_0x96486(0x125)][_0x96486(0x12d)][_0x96486(0xdb)](this[_0x96486(0x11d)]);}[_0x163364(0x100)](){const _0x1b04f1=_0x163364,_0x4a4c88=this[_0x1b04f1(0x102)][_0x1b04f1(0x126)][_0x1b04f1(0x10a)](_0x1b04f1(0x11b));_0x4a4c88&&this[_0x1b04f1(0x116)](_0x4a4c88,_0x1b04f1(0xe3),()=>{const _0x2d7e2a=_0x1b04f1,_0x247414=this[_0x2d7e2a(0x102)][_0x2d7e2a(0xdd)][_0x2d7e2a(0x125)][_0x2d7e2a(0xf5)][_0x2d7e2a(0xe1)]();_0x247414&&_0x247414[_0x2d7e2a(0x11a)](_0x2d7e2a(0x10f))&&this[_0x2d7e2a(0x102)][_0x2d7e2a(0x103)][_0x2d7e2a(0xf1)][_0x2d7e2a(0x105)](_0x2d7e2a(0x11f),()=>{const _0x2a9b1d=_0x2d7e2a;_0x1a7714(this[_0x2a9b1d(0x102)],_0x247414);});});const _0xa3e99c=this[_0x1b04f1(0x102)][_0x1b04f1(0x126)][_0x1b04f1(0x10a)](_0x1b04f1(0x124));_0xa3e99c&&this[_0x1b04f1(0x116)](_0xa3e99c,_0x1b04f1(0xe3),()=>{const _0x21ebeb=_0x1b04f1,_0x25c976=this[_0x21ebeb(0x102)][_0x21ebeb(0xdd)][_0x21ebeb(0x125)][_0x21ebeb(0xf5)][_0x21ebeb(0xe1)]();_0x25c976&&_0x25c976[_0x21ebeb(0x11a)](_0x21ebeb(0x10f))&&this[_0x21ebeb(0x102)][_0x21ebeb(0x103)][_0x21ebeb(0xf1)][_0x21ebeb(0x105)](_0x21ebeb(0x11f),()=>{const _0x3e3d64=_0x21ebeb;_0x1a7714(this[_0x3e3d64(0x102)],_0x25c976);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5cd396,ObservableMixin as _0x5b96a7}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x120ccc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x285abd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x24377e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x37c684}from'../../utils/uploadutils.js';import{getImageUrls as _0x2a6cb4,getImageDimension as _0x16d5ea}from'../../utils/editingutils.js';import{isAncestor as _0x4335eb}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x5b96a7(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x193211,_0x3a0dbb,_0x54b18e){super(),this['_editor']=_0x193211,this['_dialog']=_0x3a0dbb,this['_imageElement']=_0x54b18e,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 _0x515dde=this['_imageElement'],_0x5a8dde=_0x515dde['getAttribute']('uploadcareImageId'),_0x4a1097=_0x515dde['getAttribute']('src');if(_0x5a8dde)await this['_loadImageInfo'](_0x5a8dde,_0x4a1097);else{if(this['_imageCache']['has'](_0x4a1097)){const _0x6ec65a=this['_imageCache']['get'](_0x4a1097);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x6ec65a['url'],this['imageDimension']=_0x6ec65a['dimension'],this['imageId']=_0x6ec65a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1cc6c5}=this['_editor'],t=_0x1cc6c5['t'],_0x337943=new _0x24377e(_0x1cc6c5,this['imageStatus'],this['_attributes']);_0x337943['bind']('status')['to'](this,'imageStatus'),_0x337943['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x337943['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x337943['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x337943,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x285abd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x337943,'position':_0x120ccc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x337943['focus']();},'onHide':()=>{_0x337943['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xb5bfbc=>!_0x4335eb(_0xb5bfbc,_0x337943['element'])}});}['_loadImageInfo'](_0x3fde93,_0x15ad19){return _0x37c684['getInfo'](_0x3fde93,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4c6dd8=>{const {width:_0x100fc9,height:_0x390bdd}=_0x4c6dd8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x15ad19,this['imageDimension']={'width':_0x100fc9,'height':_0x390bdd},this['imageId']=_0x3fde93;})['catch'](_0x57e257=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57e257['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x457fc9,_0x219a82){return this['_getImageAsFile'](_0x457fc9)['then'](_0xdafc68=>_0x37c684['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x219a82['signal'],'file':_0xdafc68,'onProgress':_0x5d528d=>{_0x5d528d&&_0x5d528d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d528d['value']));}}))['then'](_0x38d8e5=>{const {width:_0x570059,height:_0x1defe8}=_0x38d8e5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x38d8e5['cdnUrl'],this['imageDimension']={'width':_0x570059,'height':_0x1defe8},this['imageId']=_0x38d8e5['uuid'],this['imageUploadProgress']=null;const _0x43323a=_0x457fc9['getAttribute']('src');this['_imageCache']['set'](_0x43323a,{'id':_0x38d8e5['uuid'],'url':_0x38d8e5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x47a214=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x47a214['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x129067,_0x467f86){_0x129067['on']('apply',(_0x535400,_0x4ede0f)=>{this['_replaceImage'](_0x467f86,_0x4ede0f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x129067['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x129067['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53e3ff,_0x5f5404,_0x570ca9){const _0x577dc7=this['_editor'],{width:_0x42d97a,height:_0x68fdf9}=_0x16d5ea(_0x5f5404,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x56e470,imageSources:_0xac86ac}=_0x2a6cb4(_0x5f5404,_0x42d97a);_0x577dc7['model']['change'](_0x256a45=>{if('$graveyard'===_0x53e3ff['root']['rootName']){_0x577dc7['execute']('insertImage',{'imageType':_0x53e3ff['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53e3ff['getAttributes']()),'uploadcareImageId':_0x570ca9,'src':_0x56e470,'sources':_0xac86ac,'width':_0x42d97a,'height':_0x68fdf9}});const _0x47633f=_0x53e3ff['getChildren']();_0x53e3ff=_0x577dc7['model']['document']['selection']['getSelectedElement']();for(const _0x3a41fe of _0x47633f)_0x256a45['append'](_0x256a45['cloneElement'](_0x3a41fe),_0x53e3ff);}else _0x256a45['setSelection'](_0x53e3ff,'on'),_0x577dc7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53e3ff['getAttributes']()),'uploadcareImageId':_0x570ca9,'src':_0x56e470,'sources':_0xac86ac,'width':_0x42d97a,'height':_0x68fdf9},_0x53e3ff);_0x256a45['setSelection'](_0x53e3ff,'on');});}async['_getImageAsFile'](_0x364612){const _0x5e5409=_0x5cd396['window'],_0x4a7dcc=_0x5cd396['document']['location']['href'],_0x3fd27b=new _0x5e5409['URL'](_0x364612['getAttribute']('src'),_0x4a7dcc);if('data:'===_0x3fd27b['protocol']){const _0x5c6f66=_0x3fd27b['href']['split'](','),_0x1bd425=_0x5c6f66[0x0]['match'](/:(.*?);/)[0x1],_0x1f61ab=_0x1bd425['split']('/')[0x1],_0xccbabc=_0x5e5409['atob'](_0x5c6f66[_0x5c6f66['length']-0x1]);let _0x5de6d6=_0xccbabc['length'];const _0x2c4cc9=new _0x5e5409['Uint8Array'](_0x5de6d6);for(;_0x5de6d6--;)_0x2c4cc9[_0x5de6d6]=_0xccbabc['charCodeAt'](_0x5de6d6);return new _0x5e5409['File']([_0x2c4cc9],'image.'+_0x1f61ab,{'type':_0x1bd425});}const _0x29d5aa=_0x3fd27b['href']['split']('/'),_0x31d9a0=_0x29d5aa[_0x29d5aa['length']-0x1],_0xfef848=_0x31d9a0['split']('.')[0x1];return _0x5e5409['fetch'](_0x3fd27b['href'])['then'](_0x438b7d=>_0x438b7d['clone']()['blob']())['then'](_0x14945b=>new _0x5e5409['File']([_0x14945b],_0x31d9a0,{'type':'image/'+_0xfef848}));}}
23
+ import{global as _0x4ed6a4,ObservableMixin as _0x374ddf}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3e6970}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x320783}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x111ee9}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5bd72f}from'../../utils/uploadutils.js';import{getImageUrls as _0xb32f64,getImageDimension as _0x1fcc79}from'../../utils/editingutils.js';import{isAncestor as _0x11e25c}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x374ddf(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x49bed9,_0x3d4624,_0xfe74f1){super(),this['_editor']=_0x49bed9,this['_dialog']=_0x3d4624,this['_imageElement']=_0xfe74f1,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 _0x455eb6=this['_imageElement'],_0x32c185=_0x455eb6['getAttribute']('uploadcareImageId'),_0x5e617c=_0x455eb6['getAttribute']('src');if(_0x32c185)await this['_loadImageInfo'](_0x32c185,_0x5e617c);else{if(this['_imageCache']['has'](_0x5e617c)){const _0x3e77f0=this['_imageCache']['get'](_0x5e617c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3e77f0['url'],this['imageDimension']=_0x3e77f0['dimension'],this['imageId']=_0x3e77f0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x129478}=this['_editor'],t=_0x129478['t'],_0x2ac026=new _0x111ee9(_0x129478,this['imageStatus'],this['_attributes']);_0x2ac026['bind']('status')['to'](this,'imageStatus'),_0x2ac026['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2ac026['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2ac026['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2ac026,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x320783,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2ac026,'position':_0x3e6970['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2ac026['focus']();},'onHide':()=>{_0x2ac026['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xeeaa41=>!_0x11e25c(_0xeeaa41,_0x2ac026['element'])}});}['_loadImageInfo'](_0x349141,_0x3a0544){return _0x5bd72f['getInfo'](_0x349141,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1d68f0=>{const {width:_0x3023b8,height:_0x338ecd}=_0x1d68f0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3a0544,this['imageDimension']={'width':_0x3023b8,'height':_0x338ecd},this['imageId']=_0x349141;})['catch'](_0x68dcce=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x68dcce['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x206ebf,_0x15a938){return this['_getImageAsFile'](_0x206ebf)['then'](_0x5cbc64=>_0x5bd72f['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x15a938['signal'],'file':_0x5cbc64,'onProgress':_0x4c2572=>{_0x4c2572&&_0x4c2572['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4c2572['value']));}}))['then'](_0x3179b3=>{const {width:_0x41d619,height:_0x3a0ed3}=_0x3179b3['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3179b3['cdnUrl'],this['imageDimension']={'width':_0x41d619,'height':_0x3a0ed3},this['imageId']=_0x3179b3['uuid'],this['imageUploadProgress']=null;const _0x1e3368=_0x206ebf['getAttribute']('src');this['_imageCache']['set'](_0x1e3368,{'id':_0x3179b3['uuid'],'url':_0x3179b3['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x30c007=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30c007['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x48b7d5,_0x28799a){_0x48b7d5['on']('apply',(_0x2b4b0a,_0x1090d0)=>{this['_replaceImage'](_0x28799a,_0x1090d0['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x48b7d5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x48b7d5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2b3303,_0x50097f,_0x34228a){const _0x1b0ea7=this['_editor'],{width:_0x4b327e,height:_0x4f187a}=_0x1fcc79(_0x50097f,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x597fdf,imageSources:_0x1917d0}=_0xb32f64(_0x50097f,_0x4b327e);_0x1b0ea7['model']['change'](_0x38b21a=>{if('$graveyard'===_0x2b3303['root']['rootName']){_0x1b0ea7['execute']('insertImage',{'imageType':_0x2b3303['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2b3303['getAttributes']()),'uploadcareImageId':_0x34228a,'src':_0x597fdf,'sources':_0x1917d0,'width':_0x4b327e,'height':_0x4f187a}});const _0x46afc8=_0x2b3303['getChildren']();_0x2b3303=_0x1b0ea7['model']['document']['selection']['getSelectedElement']();for(const _0x490349 of _0x46afc8)_0x38b21a['append'](_0x38b21a['cloneElement'](_0x490349),_0x2b3303);}else _0x38b21a['setSelection'](_0x2b3303,'on'),_0x1b0ea7['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2b3303['getAttributes']()),'uploadcareImageId':_0x34228a,'src':_0x597fdf,'sources':_0x1917d0,'width':_0x4b327e,'height':_0x4f187a},_0x2b3303);_0x38b21a['setSelection'](_0x2b3303,'on');});}async['_getImageAsFile'](_0x134be3){const _0x2fc8fa=_0x4ed6a4['window'],_0x14f95c=_0x4ed6a4['document']['location']['href'],_0x150e5e=new _0x2fc8fa['URL'](_0x134be3['getAttribute']('src'),_0x14f95c);if('data:'===_0x150e5e['protocol']){const _0x4940b0=_0x150e5e['href']['split'](','),_0x392783=_0x4940b0[0x0]['match'](/:(.*?);/)[0x1],_0x49fde6=_0x392783['split']('/')[0x1],_0x530877=_0x2fc8fa['atob'](_0x4940b0[_0x4940b0['length']-0x1]);let _0x256a2d=_0x530877['length'];const _0x567748=new _0x2fc8fa['Uint8Array'](_0x256a2d);for(;_0x256a2d--;)_0x567748[_0x256a2d]=_0x530877['charCodeAt'](_0x256a2d);return new _0x2fc8fa['File']([_0x567748],'image.'+_0x49fde6,{'type':_0x392783});}const _0x5abec0=_0x150e5e['href']['split']('/'),_0x1d747f=_0x5abec0[_0x5abec0['length']-0x1],_0x1f01bb=_0x1d747f['split']('.')[0x1];return _0x2fc8fa['fetch'](_0x150e5e['href'])['then'](_0x4ac26b=>_0x4ac26b['clone']()['blob']())['then'](_0x4703b7=>new _0x2fc8fa['File']([_0x4703b7],_0x1d747f,{'type':'image/'+_0x1f01bb}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2339b6,_0x3353e8){const _0x540931=_0x39f7,_0x50d202=_0x2339b6();while(!![]){try{const _0x528e09=-parseInt(_0x540931(0xca))/0x1*(parseInt(_0x540931(0xc0))/0x2)+-parseInt(_0x540931(0xcd))/0x3+parseInt(_0x540931(0xc5))/0x4+-parseInt(_0x540931(0xc1))/0x5*(-parseInt(_0x540931(0xc8))/0x6)+parseInt(_0x540931(0xc9))/0x7+parseInt(_0x540931(0xce))/0x8+parseInt(_0x540931(0xc7))/0x9*(-parseInt(_0x540931(0xc3))/0xa);if(_0x528e09===_0x3353e8)break;else _0x50d202['push'](_0x50d202['shift']());}catch(_0x2c5f73){_0x50d202['push'](_0x50d202['shift']());}}}(_0x5ddb,0x7c36e));function _0x5ddb(){const _0x28be94=['set','3011720OppJGq','ck-uploadcare-theme','27aaqCoX','2591946LpvOnp','3083626vXzieb','436537NlUfiN','uc-light','imageSrc','166260ancYJY','7193944axPHek','uc-cloud-image-editor','bindTemplate','setTemplate','2CzdUba','5mozvgJ','image-edit','5079810SDOAFA'];_0x5ddb=function(){return _0x28be94;};return _0x5ddb();}import{View as _0x171f79}from'ckeditor5/src/ui.js';function _0x39f7(_0x40c076,_0x1493d4){const _0x5ddb78=_0x5ddb();return _0x39f7=function(_0x39f7eb,_0x317c5f){_0x39f7eb=_0x39f7eb-0xbd;let _0x5e54ca=_0x5ddb78[_0x39f7eb];return _0x5e54ca;},_0x39f7(_0x40c076,_0x1493d4);}export class UploadcareImageEditFormEditingView extends _0x171f79{constructor(_0x4b5070,_0x2af244){const _0x1a3f4a=_0x39f7;super(_0x4b5070);const _0x5e4680=this[_0x1a3f4a(0xbe)];this[_0x1a3f4a(0xc4)](_0x1a3f4a(0xcc),''),this[_0x1a3f4a(0xbf)]({'tag':_0x1a3f4a(0xbd),'attributes':{..._0x2af244,'class':[_0x1a3f4a(0xcb),_0x1a3f4a(0xc6)],'ctx-name':_0x1a3f4a(0xc2),'cdn-url':_0x5e4680['to'](_0x1a3f4a(0xcc))}});}}
23
+ (function(_0x2d0231,_0x4ab2ab){const _0x42a41e=_0x39f1,_0x49eb7a=_0x2d0231();while(!![]){try{const _0x47dd3e=parseInt(_0x42a41e(0x174))/0x1+parseInt(_0x42a41e(0x172))/0x2*(parseInt(_0x42a41e(0x178))/0x3)+parseInt(_0x42a41e(0x177))/0x4+parseInt(_0x42a41e(0x17f))/0x5+parseInt(_0x42a41e(0x171))/0x6+parseInt(_0x42a41e(0x17b))/0x7+-parseInt(_0x42a41e(0x173))/0x8*(parseInt(_0x42a41e(0x179))/0x9);if(_0x47dd3e===_0x4ab2ab)break;else _0x49eb7a['push'](_0x49eb7a['shift']());}catch(_0x52a272){_0x49eb7a['push'](_0x49eb7a['shift']());}}}(_0x438e,0x6481a));import{View as _0x33961b}from'ckeditor5/src/ui.js';function _0x39f1(_0x3d85dd,_0x2e17a4){const _0x438e83=_0x438e();return _0x39f1=function(_0x39f10c,_0xd7b3f6){_0x39f10c=_0x39f10c-0x170;let _0x5ecbf7=_0x438e83[_0x39f10c];return _0x5ecbf7;},_0x39f1(_0x3d85dd,_0x2e17a4);}function _0x438e(){const _0x2e3ed8=['2cygfAV','1776cnSSQN','572772VovKlX','uc-light','bindTemplate','603812JtfOoN','1596753pQKWLJ','91359pqpbqr','uc-cloud-image-editor','4165371Clwtjj','image-edit','set','setTemplate','2285790QeSByJ','ck-uploadcare-theme','imageSrc','2142054pWvBoH'];_0x438e=function(){return _0x2e3ed8;};return _0x438e();}export class UploadcareImageEditFormEditingView extends _0x33961b{constructor(_0x199d75,_0x4d7c62){const _0x25aed3=_0x39f1;super(_0x199d75);const _0xd27e56=this[_0x25aed3(0x176)];this[_0x25aed3(0x17d)](_0x25aed3(0x170),''),this[_0x25aed3(0x17e)]({'tag':_0x25aed3(0x17a),'attributes':{..._0x4d7c62,'class':[_0x25aed3(0x175),_0x25aed3(0x180)],'ctx-name':_0x25aed3(0x17c),'cdn-url':_0xd27e56['to'](_0x25aed3(0x170))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x59189b}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d521e,IconView as _0x2dff76,View as _0x562b70}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x562b70{constructor(_0x2998e0){super(_0x2998e0);const t=_0x2998e0['t'];this['set']('errorType',null);const _0x5525a0=new _0x2d521e(_0x2998e0);_0x5525a0['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5525a0['withText']=!0x0,_0x5525a0['class']='ck-button-action',_0x5525a0['on']('execute',()=>{this['fire']('retry');}),_0x5525a0['bind']('isVisible')['to'](this,'errorType',_0x1e2806=>'NotFound'!==_0x1e2806);const _0x42ae99=new _0x2dff76();_0x42ae99['content']=_0x59189b,_0x42ae99['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ced37=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':[_0x42ae99,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ced37['to']('errorType',_0x223e4e=>t('NotFound'!==_0x223e4e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5525a0]},{'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 _0x5064a0}from'ckeditor5/src/icons.js';import{ButtonView as _0x2ca9f3,IconView as _0x211570,View as _0x3d483f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3d483f{constructor(_0x26e560){super(_0x26e560);const t=_0x26e560['t'];this['set']('errorType',null);const _0x18b7f3=new _0x2ca9f3(_0x26e560);_0x18b7f3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x18b7f3['withText']=!0x0,_0x18b7f3['class']='ck-button-action',_0x18b7f3['on']('execute',()=>{this['fire']('retry');}),_0x18b7f3['bind']('isVisible')['to'](this,'errorType',_0x5aed2e=>'NotFound'!==_0x5aed2e);const _0x184933=new _0x211570();_0x184933['content']=_0x5064a0,_0x184933['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x49d5f1=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':[_0x184933,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x49d5f1['to']('errorType',_0x91289e=>t('NotFound'!==_0x91289e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x18b7f3]},{'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 _0x2d2154,View as _0x1378fd}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1378fd{constructor(_0x291771){super(_0x291771);const t=_0x291771['t'],_0x17f66e=this['bindTemplate'],_0x39b65f=new _0x2d2154();_0x39b65f['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':[_0x39b65f,{'text':_0x17f66e['to']('imageUploadProgress',_0x3a1e82=>t('Loading\x20image...')+'\x20('+(_0x3a1e82||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 _0x32e996,View as _0x5652c3}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5652c3{constructor(_0x53247c){super(_0x53247c);const t=_0x53247c['t'],_0xdc5650=this['bindTemplate'],_0x3470f5=new _0x32e996();_0x3470f5['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':[_0x3470f5,{'text':_0xdc5650['to']('imageUploadProgress',_0x512aa2=>t('Loading\x20image...')+'\x20('+(_0x512aa2||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bb84d=_0x14ad;function _0x14ad(_0x3f2e9b,_0x21347b){const _0x50fd92=_0x50fd();return _0x14ad=function(_0x14ada8,_0x65256b){_0x14ada8=_0x14ada8-0x137;let _0xd66715=_0x50fd92[_0x14ada8];return _0xd66715;},_0x14ad(_0x3f2e9b,_0x21347b);}(function(_0x5483bf,_0x5a6a0c){const _0x46e6df=_0x14ad,_0x33b149=_0x5483bf();while(!![]){try{const _0x30a59d=-parseInt(_0x46e6df(0x166))/0x1+parseInt(_0x46e6df(0x163))/0x2*(-parseInt(_0x46e6df(0x164))/0x3)+-parseInt(_0x46e6df(0x138))/0x4+-parseInt(_0x46e6df(0x168))/0x5*(parseInt(_0x46e6df(0x144))/0x6)+parseInt(_0x46e6df(0x162))/0x7+parseInt(_0x46e6df(0x16d))/0x8+-parseInt(_0x46e6df(0x154))/0x9*(-parseInt(_0x46e6df(0x15a))/0xa);if(_0x30a59d===_0x5a6a0c)break;else _0x33b149['push'](_0x33b149['shift']());}catch(_0x416acf){_0x33b149['push'](_0x33b149['shift']());}}}(_0x50fd,0x6e402));import{View as _0x36339c}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x58631b}from'./uploadcareimageeditformloadingview.js';function _0x50fd(){const _0x2f14a8=['clear','length','addMany','36vcDznm','nodeName','add','cdnUrl','element','_addUploadcareImageEditorListeners','2861940LigQij','_editingView','observe','uploading','ck-uploadcare-form','once','fire','_focusableView','3174444nIqErG','65588EHDwCW','6PVlYjG','disconnect','679830XbySbB','set','5JXmkKV','addedNodes','_setView','target','error','3040400elPzzo','_waitForImageEditorComponent','997148iWCjTW','_errorView','uc-cloud-image-editor','render','change:status','setTemplate','ck-reset_all-excluded','retry','_addErrorViewListeners','filter','ready','apply','3192162QHFDoJ','div','createCollection','_loadingView','cancel','_items','getFocusableElement','focus','detail','toLowerCase','addEventListener','status','querySelector'];_0x50fd=function(){return _0x2f14a8;};return _0x50fd();}import{UploadcareImageEditFormErrorView as _0x2174d7}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x37b6e0}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x49aeda}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x49aeda{[_0x4bb84d(0x149)];[_0x4bb84d(0x147)];[_0x4bb84d(0x139)];[_0x4bb84d(0x15b)];[_0x4bb84d(0x161)];constructor(_0x19d574,_0x41fe8d,_0x40bec9){const _0x263125=_0x4bb84d;super(_0x19d574),this[_0x263125(0x149)]=this[_0x263125(0x146)](),this[_0x263125(0x147)]=new _0x58631b(_0x19d574),this[_0x263125(0x139)]=new _0x2174d7(_0x19d574),this[_0x263125(0x15b)]=new _0x37b6e0(_0x19d574,_0x40bec9),this[_0x263125(0x161)]=new _0x36339c(_0x19d574),this[_0x263125(0x161)][_0x263125(0x13d)](this[_0x263125(0x14a)]()),this[_0x263125(0x167)](_0x263125(0x14f),_0x41fe8d),this[_0x263125(0x13d)]({'tag':_0x263125(0x145),'attributes':{'class':['ck',_0x263125(0x13e),_0x263125(0x15e)],'tabindex':'-1'},'children':this[_0x263125(0x149)]}),this[_0x263125(0x16a)](),this[_0x263125(0x15f)](_0x263125(0x13b),()=>{const _0x3acf7d=_0x263125;this[_0x3acf7d(0x137)](this[_0x3acf7d(0x158)],_0x1f1d82=>{const _0x23bcda=_0x3acf7d;this[_0x23bcda(0x159)](_0x1f1d82);});}),this['on'](_0x263125(0x13c),()=>{const _0x5bf978=_0x263125;this[_0x5bf978(0x16a)]();}),this[_0x263125(0x140)]();}[_0x4bb84d(0x14b)](){const _0x377580=_0x4bb84d;this[_0x377580(0x158)][_0x377580(0x14b)]();}[_0x4bb84d(0x16a)](){const _0x5c22c4=_0x4bb84d;switch(this[_0x5c22c4(0x149)][_0x5c22c4(0x151)](),this[_0x5c22c4(0x14f)]){case _0x5c22c4(0x15d):this[_0x5c22c4(0x149)][_0x5c22c4(0x156)](this[_0x5c22c4(0x147)]);break;case _0x5c22c4(0x16c):this[_0x5c22c4(0x149)][_0x5c22c4(0x156)](this[_0x5c22c4(0x139)]);break;case _0x5c22c4(0x142):this[_0x5c22c4(0x149)][_0x5c22c4(0x153)]([this[_0x5c22c4(0x15b)],this[_0x5c22c4(0x161)]]);}}[_0x4bb84d(0x137)](_0x17f251,_0x4bfb62){const _0xcaf0f=_0x4bb84d,_0x5c87bb=_0xcaf0f(0x13a),_0x3523e5=_0x17f251[_0xcaf0f(0x150)](_0x5c87bb);if(_0x3523e5)return _0x4bfb62(_0x3523e5);const _0x2d92d6=new MutationObserver(_0x5623d6=>{const _0x57047c=_0xcaf0f,_0x5b4e16=_0x5623d6[_0x57047c(0x141)](_0x280e94=>_0x280e94[_0x57047c(0x16b)]===_0x17f251&&_0x280e94[_0x57047c(0x169)][_0x57047c(0x152)]>0x0&&_0x280e94[_0x57047c(0x169)][0x0][_0x57047c(0x155)][_0x57047c(0x14d)]()===_0x5c87bb);_0x5b4e16[_0x57047c(0x152)]&&(_0x2d92d6[_0x57047c(0x165)](),_0x4bfb62(_0x5b4e16[0x0][_0x57047c(0x169)][0x0]));});_0x2d92d6[_0xcaf0f(0x15c)](_0x17f251,{'childList':!0x0,'subtree':!0x0});}[_0x4bb84d(0x159)](_0x35a6c3){const _0x2b5281=_0x4bb84d;_0x35a6c3[_0x2b5281(0x14e)](_0x2b5281(0x143),_0x4b5f21=>{const _0x54c616=_0x2b5281;this[_0x54c616(0x160)](_0x54c616(0x143),{'imageSrc':_0x4b5f21[_0x54c616(0x14c)][_0x54c616(0x157)]});}),_0x35a6c3[_0x2b5281(0x14e)](_0x2b5281(0x148),()=>{const _0x10152a=_0x2b5281;this[_0x10152a(0x160)](_0x10152a(0x148));});}[_0x4bb84d(0x140)](){const _0x240e7f=_0x4bb84d;this[_0x240e7f(0x139)]['on'](_0x240e7f(0x13f),()=>{const _0x1b9c4b=_0x240e7f;this[_0x1b9c4b(0x160)](_0x1b9c4b(0x13f));});}}
23
+ const _0x503bc4=_0x3880;(function(_0x3e931e,_0x4196bb){const _0xe4faa5=_0x3880,_0x34a0df=_0x3e931e();while(!![]){try{const _0x2c3c66=parseInt(_0xe4faa5(0x89))/0x1*(parseInt(_0xe4faa5(0x98))/0x2)+parseInt(_0xe4faa5(0x79))/0x3+parseInt(_0xe4faa5(0x96))/0x4+parseInt(_0xe4faa5(0x94))/0x5+parseInt(_0xe4faa5(0x7f))/0x6*(-parseInt(_0xe4faa5(0x9d))/0x7)+-parseInt(_0xe4faa5(0x84))/0x8*(parseInt(_0xe4faa5(0x7c))/0x9)+parseInt(_0xe4faa5(0x77))/0xa*(-parseInt(_0xe4faa5(0x83))/0xb);if(_0x2c3c66===_0x4196bb)break;else _0x34a0df['push'](_0x34a0df['shift']());}catch(_0x358c11){_0x34a0df['push'](_0x34a0df['shift']());}}}(_0x2776,0xd9b70));import{View as _0x5e5266}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2e2276}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x389c2b}from'./uploadcareimageeditformerrorview.js';function _0x3880(_0x1a437a,_0x2b111e){const _0x2776e9=_0x2776();return _0x3880=function(_0x3880a3,_0x4fd8d5){_0x3880a3=_0x3880a3-0x73;let _0x57424c=_0x2776e9[_0x3880a3];return _0x57424c;},_0x3880(_0x1a437a,_0x2b111e);}import{UploadcareImageEditFormEditingView as _0xe8dfe0}from'./uploadcareimageeditformeditingview.js';function _0x2776(){const _0x14cc94=['cancel','setTemplate','1576967IoVbLi','_loadingView','once','set','change:status','addedNodes','disconnect','addMany','detail','_addErrorViewListeners','render','4771800zMDjmz','focus','1150348FYiWwJ','clear','2PKNzfn','createCollection','uc-cloud-image-editor','nodeName','add','28JjERxq','observe','retry','_addUploadcareImageEditorListeners','status','ck-uploadcare-form','querySelector','ck-reset_all-excluded','_focusableView','target','addEventListener','filter','fire','toLowerCase','_editingView','length','apply','_setView','10pRTrUg','element','3332562btwmtV','cdnUrl','uploading','360207cqMylO','ready','_waitForImageEditorComponent','363954DJadIP','_items','_errorView','getFocusableElement','17101249vTvPhp','248ERdJAz','error','div'];_0x2776=function(){return _0x14cc94;};return _0x2776();}import{DialogFocusManagerView as _0x25ba67}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x25ba67{[_0x503bc4(0x80)];[_0x503bc4(0x8a)];[_0x503bc4(0x81)];[_0x503bc4(0x73)];[_0x503bc4(0xa5)];constructor(_0x26f0bb,_0x3c49ca,_0x1180a1){const _0x3b9ae2=_0x503bc4;super(_0x26f0bb),this[_0x3b9ae2(0x80)]=this[_0x3b9ae2(0x99)](),this[_0x3b9ae2(0x8a)]=new _0x2e2276(_0x26f0bb),this[_0x3b9ae2(0x81)]=new _0x389c2b(_0x26f0bb),this[_0x3b9ae2(0x73)]=new _0xe8dfe0(_0x26f0bb,_0x1180a1),this[_0x3b9ae2(0xa5)]=new _0x5e5266(_0x26f0bb),this[_0x3b9ae2(0xa5)][_0x3b9ae2(0x88)](this[_0x3b9ae2(0x82)]()),this[_0x3b9ae2(0x8c)](_0x3b9ae2(0xa1),_0x3c49ca),this[_0x3b9ae2(0x88)]({'tag':_0x3b9ae2(0x86),'attributes':{'class':['ck',_0x3b9ae2(0xa4),_0x3b9ae2(0xa2)],'tabindex':'-1'},'children':this[_0x3b9ae2(0x80)]}),this[_0x3b9ae2(0x76)](),this[_0x3b9ae2(0x8b)](_0x3b9ae2(0x93),()=>{const _0xb1bf7f=_0x3b9ae2;this[_0xb1bf7f(0x7e)](this[_0xb1bf7f(0x78)],_0x57f5b5=>{const _0x4e4eee=_0xb1bf7f;this[_0x4e4eee(0xa0)](_0x57f5b5);});}),this['on'](_0x3b9ae2(0x8d),()=>{const _0x49a525=_0x3b9ae2;this[_0x49a525(0x76)]();}),this[_0x3b9ae2(0x92)]();}[_0x503bc4(0x95)](){const _0x544593=_0x503bc4;this[_0x544593(0x78)][_0x544593(0x95)]();}[_0x503bc4(0x76)](){const _0x5c870b=_0x503bc4;switch(this[_0x5c870b(0x80)][_0x5c870b(0x97)](),this[_0x5c870b(0xa1)]){case _0x5c870b(0x7b):this[_0x5c870b(0x80)][_0x5c870b(0x9c)](this[_0x5c870b(0x8a)]);break;case _0x5c870b(0x85):this[_0x5c870b(0x80)][_0x5c870b(0x9c)](this[_0x5c870b(0x81)]);break;case _0x5c870b(0x7d):this[_0x5c870b(0x80)][_0x5c870b(0x90)]([this[_0x5c870b(0x73)],this[_0x5c870b(0xa5)]]);}}[_0x503bc4(0x7e)](_0x5a6b2d,_0x3ce6c6){const _0x2d3d49=_0x503bc4,_0x51c7b4=_0x2d3d49(0x9a),_0x276166=_0x5a6b2d[_0x2d3d49(0xa3)](_0x51c7b4);if(_0x276166)return _0x3ce6c6(_0x276166);const _0x47539e=new MutationObserver(_0x35cb00=>{const _0x50cb39=_0x2d3d49,_0x1ae701=_0x35cb00[_0x50cb39(0xa8)](_0x18395d=>_0x18395d[_0x50cb39(0xa6)]===_0x5a6b2d&&_0x18395d[_0x50cb39(0x8e)][_0x50cb39(0x74)]>0x0&&_0x18395d[_0x50cb39(0x8e)][0x0][_0x50cb39(0x9b)][_0x50cb39(0xaa)]()===_0x51c7b4);_0x1ae701[_0x50cb39(0x74)]&&(_0x47539e[_0x50cb39(0x8f)](),_0x3ce6c6(_0x1ae701[0x0][_0x50cb39(0x8e)][0x0]));});_0x47539e[_0x2d3d49(0x9e)](_0x5a6b2d,{'childList':!0x0,'subtree':!0x0});}[_0x503bc4(0xa0)](_0x30963d){const _0x1ad2eb=_0x503bc4;_0x30963d[_0x1ad2eb(0xa7)](_0x1ad2eb(0x75),_0x1c1bda=>{const _0x42b847=_0x1ad2eb;this[_0x42b847(0xa9)](_0x42b847(0x75),{'imageSrc':_0x1c1bda[_0x42b847(0x91)][_0x42b847(0x7a)]});}),_0x30963d[_0x1ad2eb(0xa7)](_0x1ad2eb(0x87),()=>{const _0x4ffb1f=_0x1ad2eb;this[_0x4ffb1f(0xa9)](_0x4ffb1f(0x87));});}[_0x503bc4(0x92)](){const _0x2a58e4=_0x503bc4;this[_0x2a58e4(0x81)]['on'](_0x2a58e4(0x9f),()=>{const _0x4e9799=_0x2a58e4;this[_0x4e9799(0xa9)](_0x4e9799(0x9f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58aebb=_0x9e38;(function(_0x314501,_0x1b519e){const _0x5564d=_0x9e38,_0x21e518=_0x314501();while(!![]){try{const _0x3feb89=-parseInt(_0x5564d(0x19e))/0x1+parseInt(_0x5564d(0x1a0))/0x2+-parseInt(_0x5564d(0x196))/0x3+-parseInt(_0x5564d(0x198))/0x4+parseInt(_0x5564d(0x1a2))/0x5*(parseInt(_0x5564d(0x19d))/0x6)+parseInt(_0x5564d(0x18f))/0x7*(-parseInt(_0x5564d(0x192))/0x8)+-parseInt(_0x5564d(0x18e))/0x9*(-parseInt(_0x5564d(0x189))/0xa);if(_0x3feb89===_0x1b519e)break;else _0x21e518['push'](_0x21e518['shift']());}catch(_0x29ab48){_0x21e518['push'](_0x21e518['shift']());}}}(_0x51dd,0xd9a02));function _0x9e38(_0x2f1784,_0x48e5ae){const _0x51ddf9=_0x51dd();return _0x9e38=function(_0x9e386c,_0x1164de){_0x9e386c=_0x9e386c-0x185;let _0x3dc27d=_0x51ddf9[_0x9e386c];return _0x3dc27d;},_0x9e38(_0x2f1784,_0x48e5ae);}import{Command as _0x5ce57e}from'ckeditor5/src/core.js';import{Dialog as _0x525eea}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xdeb4a8}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x58024d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x5ce57e{[_0x58aebb(0x194)];static get[_0x58aebb(0x19f)](){return[_0x525eea];}[_0x58aebb(0x188)];constructor(_0x35706e){const _0x1eeeda=_0x58aebb;super(_0x35706e),this[_0x1eeeda(0x194)]=void 0x0,this[_0x1eeeda(0x188)]=_0x58024d(_0x35706e[_0x1eeeda(0x1a3)][_0x1eeeda(0x18c)](_0x1eeeda(0x18d))||[]),this[_0x1eeeda(0x18b)]({'isActive':!0x1});}[_0x58aebb(0x193)](){const _0x30f9ec=_0x58aebb,_0x175ede=this[_0x30f9ec(0x19c)][_0x30f9ec(0x185)][_0x30f9ec(0x187)][_0x30f9ec(0x195)][_0x30f9ec(0x18a)]();this[_0x30f9ec(0x1a4)]=this[_0x30f9ec(0x188)](_0x175ede);}[_0x58aebb(0x19a)](){const _0x2481fc=_0x58aebb;this[_0x2481fc(0x194)]&&(this[_0x2481fc(0x1a1)](_0x2481fc(0x19b)),this[_0x2481fc(0x194)]=void 0x0);const _0x13161f=this[_0x2481fc(0x19c)][_0x2481fc(0x185)][_0x2481fc(0x187)][_0x2481fc(0x195)][_0x2481fc(0x18a)]();_0x13161f&&(_0x13161f['is'](_0x2481fc(0x191),_0x2481fc(0x190))||_0x13161f['is'](_0x2481fc(0x191),_0x2481fc(0x186)))&&(this[_0x2481fc(0x194)]=new _0xdeb4a8(this[_0x2481fc(0x19c)],this[_0x2481fc(0x19c)][_0x2481fc(0x199)][_0x2481fc(0x18c)](_0x525eea),_0x13161f),this[_0x2481fc(0x197)](_0x2481fc(0x19b))['to'](this[_0x2481fc(0x194)],_0x2481fc(0x19b)));}}function _0x51dd(){const _0x1e2cab=['config','isEnabled','model','imageInline','document','_isEditable','100PGdgEU','getSelectedElement','set','get','uploadcare.allowExternalImagesEditing','2242467FMryRA','495908bGXRBq','imageBlock','element','168lvSYIC','refresh','imageEditController','selection','4346181rKGwjB','bind','4374560ceZCWD','plugins','execute','isActive','editor','327714HoGjMi','483646FIPMgc','requires','3314528zGqPOy','unbind','115YKhkEP'];_0x51dd=function(){return _0x1e2cab;};return _0x51dd();}
23
+ function _0xfa95(){const _0x3f52ad=['set','746768YNssXZ','71123Gogbgf','bind','imageBlock','501956GFvgCR','config','refresh','4257vTPTHZ','get','8lgbXLi','imageEditController','element','execute','isActive','document','366040HnECvl','isEnabled','model','requires','getSelectedElement','uploadcare.allowExternalImagesEditing','756318samPwy','editor','unbind','856877sjGMTn','12SNJqEh','selection','plugins','11330rkhnBe','_isEditable','imageInline'];_0xfa95=function(){return _0x3f52ad;};return _0xfa95();}function _0x3528(_0x56c169,_0x5b095f){const _0xfa95ff=_0xfa95();return _0x3528=function(_0x352878,_0x47b7a6){_0x352878=_0x352878-0x123;let _0xf60502=_0xfa95ff[_0x352878];return _0xf60502;},_0x3528(_0x56c169,_0x5b095f);}const _0x441de0=_0x3528;(function(_0xe8b61a,_0x2cc860){const _0x2de209=_0x3528,_0x8f7d18=_0xe8b61a();while(!![]){try{const _0x469098=-parseInt(_0x2de209(0x124))/0x1+-parseInt(_0x2de209(0x123))/0x2+parseInt(_0x2de209(0x138))/0x3+-parseInt(_0x2de209(0x127))/0x4+parseInt(_0x2de209(0x132))/0x5*(-parseInt(_0x2de209(0x13c))/0x6)+parseInt(_0x2de209(0x13b))/0x7*(parseInt(_0x2de209(0x12c))/0x8)+-parseInt(_0x2de209(0x12a))/0x9*(-parseInt(_0x2de209(0x13f))/0xa);if(_0x469098===_0x2cc860)break;else _0x8f7d18['push'](_0x8f7d18['shift']());}catch(_0x3f3aca){_0x8f7d18['push'](_0x8f7d18['shift']());}}}(_0xfa95,0x2f5de));import{Command as _0x3cb20f}from'ckeditor5/src/core.js';import{Dialog as _0x1a31c7}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x388239}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x171ddf}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3cb20f{[_0x441de0(0x12d)];static get[_0x441de0(0x135)](){return[_0x1a31c7];}[_0x441de0(0x140)];constructor(_0x150313){const _0x57d564=_0x441de0;super(_0x150313),this[_0x57d564(0x12d)]=void 0x0,this[_0x57d564(0x140)]=_0x171ddf(_0x150313[_0x57d564(0x128)][_0x57d564(0x12b)](_0x57d564(0x137))||[]),this[_0x57d564(0x142)]({'isActive':!0x1});}[_0x441de0(0x129)](){const _0x2cee0f=_0x441de0,_0x38a4ff=this[_0x2cee0f(0x139)][_0x2cee0f(0x134)][_0x2cee0f(0x131)][_0x2cee0f(0x13d)][_0x2cee0f(0x136)]();this[_0x2cee0f(0x133)]=this[_0x2cee0f(0x140)](_0x38a4ff);}[_0x441de0(0x12f)](){const _0x4af3e2=_0x441de0;this[_0x4af3e2(0x12d)]&&(this[_0x4af3e2(0x13a)](_0x4af3e2(0x130)),this[_0x4af3e2(0x12d)]=void 0x0);const _0x1d4a22=this[_0x4af3e2(0x139)][_0x4af3e2(0x134)][_0x4af3e2(0x131)][_0x4af3e2(0x13d)][_0x4af3e2(0x136)]();_0x1d4a22&&(_0x1d4a22['is'](_0x4af3e2(0x12e),_0x4af3e2(0x126))||_0x1d4a22['is'](_0x4af3e2(0x12e),_0x4af3e2(0x141)))&&(this[_0x4af3e2(0x12d)]=new _0x388239(this[_0x4af3e2(0x139)],this[_0x4af3e2(0x139)][_0x4af3e2(0x13e)][_0x4af3e2(0x12b)](_0x1a31c7),_0x1d4a22),this[_0x4af3e2(0x125)](_0x4af3e2(0x130))['to'](this[_0x4af3e2(0x12d)],_0x4af3e2(0x130)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22525b=_0x411b;(function(_0x277e94,_0x1dc6b2){const _0x41382f=_0x411b,_0x8161d2=_0x277e94();while(!![]){try{const _0xcaab20=parseInt(_0x41382f(0x195))/0x1+-parseInt(_0x41382f(0x1a0))/0x2*(parseInt(_0x41382f(0x190))/0x3)+parseInt(_0x41382f(0x18f))/0x4*(parseInt(_0x41382f(0x19d))/0x5)+parseInt(_0x41382f(0x19b))/0x6+-parseInt(_0x41382f(0x19f))/0x7+-parseInt(_0x41382f(0x18d))/0x8+parseInt(_0x41382f(0x196))/0x9;if(_0xcaab20===_0x1dc6b2)break;else _0x8161d2['push'](_0x8161d2['shift']());}catch(_0x50bb35){_0x8161d2['push'](_0x8161d2['shift']());}}}(_0x5ab7,0x80103));function _0x411b(_0x2ceeab,_0x1750f6){const _0x5ab7d9=_0x5ab7();return _0x411b=function(_0x411b31,_0x28c555){_0x411b31=_0x411b31-0x18d;let _0x895d6=_0x5ab7d9[_0x411b31];return _0x895d6;},_0x411b(_0x2ceeab,_0x1750f6);}import{Plugin as _0x59cd54}from'ckeditor5/src/core.js';import{Notification as _0x22464a}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x230b90}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4ee4eb}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x5b0c00}from'../uploadcareediting.js';function _0x5ab7(){const _0x2b8517=['770kOuAsX','ImageEditing','2448803lFbXgH','10154DYpgbn','isPremiumPlugin','7457080afyhgW','add','9948CnfPlf','108SSZVPL','pluginName','UploadcareImageEditEditing','uploadcareImageEdit','requires','421190JAXuEm','7611813JoYgDt','uploadcareImageReplace','ImageUtils','commands','isOfficialPlugin','2036028lRQNWC','init'];_0x5ab7=function(){return _0x2b8517;};return _0x5ab7();}export class UploadcareImageEditEditing extends _0x59cd54{static get[_0x22525b(0x191)](){const _0x1e3e7e=_0x22525b;return _0x1e3e7e(0x192);}static get[_0x22525b(0x194)](){const _0x3879a5=_0x22525b;return[_0x5b0c00,_0x22464a,_0x3879a5(0x198),_0x3879a5(0x19e)];}static get[_0x22525b(0x19a)](){return!0x0;}static get[_0x22525b(0x1a1)](){return!0x0;}[_0x22525b(0x19c)](){const _0x5928ad=_0x22525b,{editor:_0x49388b}=this;_0x49388b[_0x5928ad(0x199)][_0x5928ad(0x18e)](_0x5928ad(0x193),new _0x230b90(_0x49388b)),_0x49388b[_0x5928ad(0x199)][_0x5928ad(0x18e)](_0x5928ad(0x197),new _0x4ee4eb(_0x49388b));}}
23
+ const _0x218ea8=_0x51bf;function _0x51bf(_0x22a8b8,_0x3ead73){const _0x33cadd=_0x33ca();return _0x51bf=function(_0x51bfc2,_0xe8a2a6){_0x51bfc2=_0x51bfc2-0x82;let _0x396750=_0x33cadd[_0x51bfc2];return _0x396750;},_0x51bf(_0x22a8b8,_0x3ead73);}(function(_0x574714,_0x5f4be4){const _0xe1ddce=_0x51bf,_0x5764e0=_0x574714();while(!![]){try{const _0x38df07=parseInt(_0xe1ddce(0x8e))/0x1*(parseInt(_0xe1ddce(0x96))/0x2)+-parseInt(_0xe1ddce(0x8f))/0x3+parseInt(_0xe1ddce(0x8a))/0x4*(-parseInt(_0xe1ddce(0x86))/0x5)+-parseInt(_0xe1ddce(0x90))/0x6+parseInt(_0xe1ddce(0x87))/0x7*(-parseInt(_0xe1ddce(0x93))/0x8)+-parseInt(_0xe1ddce(0x8c))/0x9+parseInt(_0xe1ddce(0x83))/0xa*(parseInt(_0xe1ddce(0x97))/0xb);if(_0x38df07===_0x5f4be4)break;else _0x5764e0['push'](_0x5764e0['shift']());}catch(_0x3fb578){_0x5764e0['push'](_0x5764e0['shift']());}}}(_0x33ca,0xc7e34));import{Plugin as _0xfbcd7f}from'ckeditor5/src/core.js';import{Notification as _0x3609b9}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1c9b65}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2b9515}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2d8cb4}from'../uploadcareediting.js';function _0x33ca(){const _0x5bc739=['isOfficialPlugin','5866938uMJKnA','uploadcareImageReplace','527329ygZrYB','3279786BpaIgl','123276MLLfdJ','ImageUtils','UploadcareImageEditEditing','832EooolN','requires','init','2fmrGWP','11PWMkmh','uploadcareImageEdit','commands','33652070pGWsmm','pluginName','add','10FcgxbH','29785smwhSW','isPremiumPlugin','ImageEditing','1731172TagCIv'];_0x33ca=function(){return _0x5bc739;};return _0x33ca();}export class UploadcareImageEditEditing extends _0xfbcd7f{static get[_0x218ea8(0x84)](){const _0x3ee2f3=_0x218ea8;return _0x3ee2f3(0x92);}static get[_0x218ea8(0x94)](){const _0x3d404e=_0x218ea8;return[_0x2d8cb4,_0x3609b9,_0x3d404e(0x91),_0x3d404e(0x89)];}static get[_0x218ea8(0x8b)](){return!0x0;}static get[_0x218ea8(0x88)](){return!0x0;}[_0x218ea8(0x95)](){const _0x4bac96=_0x218ea8,{editor:_0xb2948d}=this;_0xb2948d[_0x4bac96(0x82)][_0x4bac96(0x85)](_0x4bac96(0x98),new _0x1c9b65(_0xb2948d)),_0xb2948d[_0x4bac96(0x82)][_0x4bac96(0x85)](_0x4bac96(0x8d),new _0x2b9515(_0xb2948d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1bc1f8}from'ckeditor5/src/core.js';import{ButtonView as _0x425b18}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x12110c}from'ckeditor5/src/icons.js';import{createElement as _0x403f9e}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 _0x1bc1f8{['_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 _0x369784=this['editor'];_0x369784['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3a2a6c=>{const _0x32b8fc=_0x369784['commands']['get']('uploadcareImageEdit'),_0x4923dc=new _0x425b18(_0x3a2a6c),t=_0x3a2a6c['t'];return _0x4923dc['set']({'icon':_0x12110c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4923dc['bind']('isEnabled')['to'](_0x32b8fc),_0x4923dc['bind']('isOn')['to'](_0x32b8fc,'isActive'),this['listenTo'](_0x4923dc,'execute',()=>{_0x369784['execute']('uploadcareImageEdit'),_0x369784['editing']['view']['focus']();}),_0x4923dc;}),this['_initConfig']();}['_initConfig'](){const _0x200d69=_0x403f9e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x200d69),this['listenTo'](this['editor'],'destroy',()=>{_0x200d69['remove']();});}}
23
+ import{Plugin as _0x4dc178}from'ckeditor5/src/core.js';import{ButtonView as _0xcc0dcd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5eb04f}from'ckeditor5/src/icons.js';import{createElement as _0x190ef7}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 _0x4dc178{['_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 _0x4214af=this['editor'];_0x4214af['ui']['componentFactory']['add']('uploadcareImageEdit',_0x17d4f3=>{const _0x43a648=_0x4214af['commands']['get']('uploadcareImageEdit'),_0x385cb3=new _0xcc0dcd(_0x17d4f3),t=_0x17d4f3['t'];return _0x385cb3['set']({'icon':_0x5eb04f,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x385cb3['bind']('isEnabled')['to'](_0x43a648),_0x385cb3['bind']('isOn')['to'](_0x43a648,'isActive'),this['listenTo'](_0x385cb3,'execute',()=>{_0x4214af['execute']('uploadcareImageEdit'),_0x4214af['editing']['view']['focus']();}),_0x385cb3;}),this['_initConfig']();}['_initConfig'](){const _0x1e4f3b=_0x190ef7(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e4f3b),this['listenTo'](this['editor'],'destroy',()=>{_0x1e4f3b['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bb31d=_0x2849;function _0x2849(_0x220a0,_0x443034){const _0x132ae4=_0x132a();return _0x2849=function(_0x284905,_0x18b458){_0x284905=_0x284905-0x150;let _0x44f8dd=_0x132ae4[_0x284905];return _0x44f8dd;},_0x2849(_0x220a0,_0x443034);}(function(_0xb88ba1,_0x5c961a){const _0x4a8a13=_0x2849,_0x438072=_0xb88ba1();while(!![]){try{const _0x525e4b=parseInt(_0x4a8a13(0x157))/0x1*(-parseInt(_0x4a8a13(0x15e))/0x2)+-parseInt(_0x4a8a13(0x156))/0x3+-parseInt(_0x4a8a13(0x169))/0x4*(-parseInt(_0x4a8a13(0x167))/0x5)+parseInt(_0x4a8a13(0x151))/0x6*(parseInt(_0x4a8a13(0x15a))/0x7)+parseInt(_0x4a8a13(0x163))/0x8+parseInt(_0x4a8a13(0x160))/0x9+-parseInt(_0x4a8a13(0x165))/0xa*(-parseInt(_0x4a8a13(0x164))/0xb);if(_0x525e4b===_0x5c961a)break;else _0x438072['push'](_0x438072['shift']());}catch(_0x44dcc4){_0x438072['push'](_0x438072['shift']());}}}(_0x132a,0xcba34));import{Command as _0xd89cd7}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xd89cd7{[_0x4bb31d(0x15c)](){const _0x3ef987=_0x4bb31d,_0xdf536a=this[_0x3ef987(0x168)][_0x3ef987(0x15f)][_0x3ef987(0x161)][_0x3ef987(0x150)][_0x3ef987(0x158)]();this[_0x3ef987(0x154)]=Boolean(_0xdf536a&&(_0xdf536a['is'](_0x3ef987(0x15b),_0x3ef987(0x15d))||_0xdf536a['is'](_0x3ef987(0x15b),_0x3ef987(0x166))));}[_0x4bb31d(0x155)](_0x811582){const _0x3a9976=_0x4bb31d,_0x25f47c=this[_0x3a9976(0x168)][_0x3a9976(0x15f)][_0x3a9976(0x161)][_0x3a9976(0x150)][_0x3a9976(0x158)]();this[_0x3a9976(0x168)][_0x3a9976(0x15f)][_0x3a9976(0x152)](_0x2a0d20=>{const _0x1fe27b=_0x3a9976;_0x2a0d20[_0x1fe27b(0x162)](_0x811582,_0x25f47c),_0x2a0d20[_0x1fe27b(0x153)](_0x1fe27b(0x159),_0x25f47c),_0x2a0d20[_0x1fe27b(0x153)](_0x1fe27b(0x16a),_0x25f47c);});}}function _0x132a(){const _0x3fb72e=['10nCkYYq','editor','514436FSEnOg','sizes','selection','138ZBmjQR','change','removeAttribute','isEnabled','execute','3135174NnmsTg','25hqPwEs','getSelectedElement','srcset','52178LiUSnz','element','refresh','imageBlock','116540ZMhgtZ','model','3311676dpLuGJ','document','setAttributes','5906256DxXQeF','3014myWDQE','65730UepKOF','imageInline'];_0x132a=function(){return _0x3fb72e;};return _0x132a();}
23
+ function _0x41b4(){const _0x5d709f=['imageBlock','execute','imageInline','414345iGfHxA','setAttributes','isEnabled','sizes','5005539hIvhht','removeAttribute','getSelectedElement','change','element','8capgIe','8837496FtMMwE','selection','editor','11uGYnYz','8DDTQAG','refresh','5DdlAKY','srcset','model','26287990AxoUPg','2200620USsCLH','2284144LaRXYx','738189OhNTvh','document'];_0x41b4=function(){return _0x5d709f;};return _0x41b4();}const _0x19382c=_0x459d;(function(_0x24c46d,_0x50b8fd){const _0x3cde6f=_0x459d,_0x54935d=_0x24c46d();while(!![]){try{const _0xc46440=-parseInt(_0x3cde6f(0xc6))/0x1+parseInt(_0x3cde6f(0xd4))/0x2*(-parseInt(_0x3cde6f(0xcb))/0x3)+-parseInt(_0x3cde6f(0xc5))/0x4+parseInt(_0x3cde6f(0xc0))/0x5*(parseInt(_0x3cde6f(0xc4))/0x6)+parseInt(_0x3cde6f(0xcf))/0x7+-parseInt(_0x3cde6f(0xbe))/0x8*(parseInt(_0x3cde6f(0xd5))/0x9)+parseInt(_0x3cde6f(0xc3))/0xa*(parseInt(_0x3cde6f(0xd8))/0xb);if(_0xc46440===_0x50b8fd)break;else _0x54935d['push'](_0x54935d['shift']());}catch(_0x3742a3){_0x54935d['push'](_0x54935d['shift']());}}}(_0x41b4,0xd3ac9));import{Command as _0x28e25a}from'ckeditor5/src/core.js';function _0x459d(_0x5becfe,_0xd8d833){const _0x41b4b8=_0x41b4();return _0x459d=function(_0x459d7c,_0x11bc86){_0x459d7c=_0x459d7c-0xbe;let _0x3077e1=_0x41b4b8[_0x459d7c];return _0x3077e1;},_0x459d(_0x5becfe,_0xd8d833);}export class UploadcareImageReplaceCommand extends _0x28e25a{[_0x19382c(0xbf)](){const _0x1dc184=_0x19382c,_0x5b8161=this[_0x1dc184(0xd7)][_0x1dc184(0xc2)][_0x1dc184(0xc7)][_0x1dc184(0xd6)][_0x1dc184(0xd1)]();this[_0x1dc184(0xcd)]=Boolean(_0x5b8161&&(_0x5b8161['is'](_0x1dc184(0xd3),_0x1dc184(0xc8))||_0x5b8161['is'](_0x1dc184(0xd3),_0x1dc184(0xca))));}[_0x19382c(0xc9)](_0x25be15){const _0x62188e=_0x19382c,_0x4ac253=this[_0x62188e(0xd7)][_0x62188e(0xc2)][_0x62188e(0xc7)][_0x62188e(0xd6)][_0x62188e(0xd1)]();this[_0x62188e(0xd7)][_0x62188e(0xc2)][_0x62188e(0xd2)](_0x5601cf=>{const _0x43b0e2=_0x62188e;_0x5601cf[_0x43b0e2(0xcc)](_0x25be15,_0x4ac253),_0x5601cf[_0x43b0e2(0xd0)](_0x43b0e2(0xc1),_0x4ac253),_0x5601cf[_0x43b0e2(0xd0)](_0x43b0e2(0xce),_0x4ac253);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31b328=_0x4b75;(function(_0x42d8d6,_0x500042){var _0x5eb2dc=_0x4b75,_0xf75978=_0x42d8d6();while(!![]){try{var _0x1cf80a=parseInt(_0x5eb2dc(0x164))/0x1*(-parseInt(_0x5eb2dc(0x165))/0x2)+parseInt(_0x5eb2dc(0x15f))/0x3*(-parseInt(_0x5eb2dc(0x16a))/0x4)+parseInt(_0x5eb2dc(0x16b))/0x5*(-parseInt(_0x5eb2dc(0x161))/0x6)+-parseInt(_0x5eb2dc(0x15d))/0x7+-parseInt(_0x5eb2dc(0x15e))/0x8*(parseInt(_0x5eb2dc(0x163))/0x9)+-parseInt(_0x5eb2dc(0x168))/0xa+parseInt(_0x5eb2dc(0x167))/0xb;if(_0x1cf80a===_0x500042)break;else _0xf75978['push'](_0xf75978['shift']());}catch(_0x1b7e6e){_0xf75978['push'](_0xf75978['shift']());}}}(_0x4ef3,0xb9375));import{Plugin as _0xb4edaf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x4a1c7e}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1a1b14}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xb4edaf{static get[_0x31b328(0x16c)](){var _0x29df6b=_0x31b328;return _0x29df6b(0x169);}static get[_0x31b328(0x162)](){return[_0x4a1c7e,_0x1a1b14];}static get[_0x31b328(0x160)](){return!0x0;}static get[_0x31b328(0x166)](){return!0x0;}}function _0x4b75(_0x10d436,_0x323caf){var _0x4ef36c=_0x4ef3();return _0x4b75=function(_0x4b7513,_0x3807bd){_0x4b7513=_0x4b7513-0x15d;var _0x8b697c=_0x4ef36c[_0x4b7513];return _0x8b697c;},_0x4b75(_0x10d436,_0x323caf);}function _0x4ef3(){var _0x9be507=['3771oRTsTe','84277tAdbKe','22YXyseT','isPremiumPlugin','56025079qjWbic','7794080CxusPC','UploadcareImageEdit','4nLCpFu','50ycNQtz','pluginName','921585tsTylW','16992QFSexQ','2636724jVxjGA','isOfficialPlugin','436542ZpFsPJ','requires'];_0x4ef3=function(){return _0x9be507;};return _0x4ef3();}
23
+ var _0x3a53a1=_0x5477;(function(_0x1465a4,_0x2032e3){var _0x2dc1b5=_0x5477,_0x3af53a=_0x1465a4();while(!![]){try{var _0x4960a6=parseInt(_0x2dc1b5(0x81))/0x1+-parseInt(_0x2dc1b5(0x76))/0x2*(-parseInt(_0x2dc1b5(0x77))/0x3)+parseInt(_0x2dc1b5(0x7d))/0x4+-parseInt(_0x2dc1b5(0x75))/0x5+parseInt(_0x2dc1b5(0x78))/0x6+parseInt(_0x2dc1b5(0x82))/0x7*(parseInt(_0x2dc1b5(0x7e))/0x8)+-parseInt(_0x2dc1b5(0x7b))/0x9*(parseInt(_0x2dc1b5(0x79))/0xa);if(_0x4960a6===_0x2032e3)break;else _0x3af53a['push'](_0x3af53a['shift']());}catch(_0x2fe700){_0x3af53a['push'](_0x3af53a['shift']());}}}(_0x21c6,0x78f87));function _0x5477(_0x138e6b,_0x31ba11){var _0x21c6e8=_0x21c6();return _0x5477=function(_0x54779b,_0x2de8dd){_0x54779b=_0x54779b-0x75;var _0x4824b7=_0x21c6e8[_0x54779b];return _0x4824b7;},_0x5477(_0x138e6b,_0x31ba11);}function _0x21c6(){var _0x5156d3=['21CfSNaO','4668060fctKzy','352790nrrYIO','UploadcareImageEdit','261cqAEbC','requires','1158568WgeOvO','802568ABEiaF','pluginName','isPremiumPlugin','129951SbKrME','7vqsSLT','isOfficialPlugin','1734455HyFfnK','162158WUUQiw'];_0x21c6=function(){return _0x5156d3;};return _0x21c6();}import{Plugin as _0x180ad9}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1f18fb}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1fb492}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x180ad9{static get[_0x3a53a1(0x7f)](){var _0x296d47=_0x3a53a1;return _0x296d47(0x7a);}static get[_0x3a53a1(0x7c)](){return[_0x1f18fb,_0x1fb492];}static get[_0x3a53a1(0x83)](){return!0x0;}static get[_0x3a53a1(0x80)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29478b=_0x56f4;function _0x56f4(_0x7474d3,_0x8319ea){const _0x5c3039=_0x5c30();return _0x56f4=function(_0x56f4b4,_0x4b1691){_0x56f4b4=_0x56f4b4-0x153;let _0x3d3f25=_0x5c3039[_0x56f4b4];return _0x3d3f25;},_0x56f4(_0x7474d3,_0x8319ea);}(function(_0x213b0a,_0x21f609){const _0xcb0576=_0x56f4,_0x3c8a27=_0x213b0a();while(!![]){try{const _0x3ab416=parseInt(_0xcb0576(0x17a))/0x1+-parseInt(_0xcb0576(0x175))/0x2*(parseInt(_0xcb0576(0x16e))/0x3)+parseInt(_0xcb0576(0x182))/0x4+parseInt(_0xcb0576(0x155))/0x5+parseInt(_0xcb0576(0x193))/0x6+-parseInt(_0xcb0576(0x19e))/0x7*(-parseInt(_0xcb0576(0x15a))/0x8)+-parseInt(_0xcb0576(0x16c))/0x9;if(_0x3ab416===_0x21f609)break;else _0x3c8a27['push'](_0x3c8a27['shift']());}catch(_0xed9a7a){_0x3c8a27['push'](_0x3c8a27['shift']());}}}(_0x5c30,0x9ecd8));import{Plugin as _0x80a7e7}from'ckeditor5/src/core.js';import{IconDropbox as _0x11c4b8,IconFacebook as _0x190601,IconGoogleDrive as _0x2ca8d0,IconGooglePhotos as _0x31e3a5,IconUploadcareImageUpload as _0x42f086,IconUploadcareLink as _0x2a479f,IconOneDrive as _0x212452}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cba06,MenuBarMenuListItemButtonView as _0xe783bd}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5f00d0}from'./uploadcareconfig.js';function _0x5c30(){const _0x39936a=['url','uploadcareLicenseKeyEvaluationLimit','usageLimit','isOfficialPlugin','withText','16113195nBkFEA','_getIntegrationKey','6015peRbMF','_normalizeConfigSourceList','has','init','_createDropdownButtons','uploadcareLicenseKeyDomainLimit','featureNotAllowed','920RXcHTl','forEach','config','_licenseKeyCheckInterval','get','1222939HHmWjT','Dropbox','execute','uploadcareLicenseKeyInvalid','uploadcare.uploader.sourceList','registerIntegration','UploadcareUI','commands','981272xmlDfO','isPremiumPlugin','expired','pluginName','upload','text','shortText','uploadcareLicenseKeyValid','GDrive','push','reduce','licenseKey','tooltip','isImageSelected','OneDrive','label','isEnabled','3395022qHMBsY','Facebook','URL','uploadcare','bind','entries','icon','_createMenuBarButtons','_createButton','trialLimit','uploadcareLicenseKeyTrialLimit','681247hbVvnD','type','Local','GPhotos','locale','assetManager','evaluationLimit','2265640VZbhhA','Insert','uploadcareLicenseKeyNotAllowed','afterInit','domainLimit','72XLzUVK','plugins','uploadcareLicenseKeyUsageLimit','Replace','editor','destroy','_showLicenseError','_createToolbarButton','ImageInsertUI','Uploadcare','invalid','uploadcareLicenseKeyExpired','map'];_0x5c30=function(){return _0x39936a;};return _0x5c30();}import{getTranslation as _0x163acb}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 _0x80a7e7{[_0x29478b(0x18d)];[_0x29478b(0x178)];static get[_0x29478b(0x185)](){const _0x3e3b17=_0x29478b;return _0x3e3b17(0x180);}static get[_0x29478b(0x16a)](){return!0x0;}static get[_0x29478b(0x183)](){return!0x0;}[_0x29478b(0x171)](){const _0x273dcf=_0x29478b;this[_0x273dcf(0x18d)]=this[_0x273dcf(0x15e)][_0x273dcf(0x177)][_0x273dcf(0x179)](_0x273dcf(0x18d));const _0xcc5ee1=this[_0x273dcf(0x15e)];this[_0x273dcf(0x178)]=setInterval(()=>{const _0x59da7e=_0x273dcf;let _0x1d110b;for(const _0x354575 in _0xcc5ee1){const _0x464f98=_0x354575,_0x113f85=_0xcc5ee1[_0x464f98];if(_0x59da7e(0x189)==_0x113f85||_0x59da7e(0x17d)==_0x113f85||_0x59da7e(0x165)==_0x113f85||_0x59da7e(0x173)==_0x113f85||_0x59da7e(0x157)==_0x113f85||_0x59da7e(0x168)==_0x113f85||_0x59da7e(0x19d)==_0x113f85||_0x59da7e(0x15c)==_0x113f85){delete _0xcc5ee1[_0x464f98],_0x1d110b=_0x113f85,clearInterval(this[_0x59da7e(0x178)]),this[_0x59da7e(0x178)]=void 0x0;break;}}_0x59da7e(0x17d)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x164)),_0x59da7e(0x165)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x184)),_0x59da7e(0x173)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x159)),_0x59da7e(0x157)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x174),_0x59da7e(0x163)),_0x59da7e(0x168)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x154)),_0x59da7e(0x19d)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x19c)),_0x59da7e(0x15c)==_0x1d110b&&_0xcc5ee1[_0x59da7e(0x160)](_0x59da7e(0x169));},0x3e8);}[_0x29478b(0x158)](){const _0xa78384=_0x29478b,{editor:_0x413f3f}=this,_0x4cfc87=_0x413f3f[_0xa78384(0x181)][_0xa78384(0x179)](_0xa78384(0x196));if(!_0x4cfc87)return;const _0x99c4f2=this[_0xa78384(0x16f)](_0x413f3f[_0xa78384(0x177)][_0xa78384(0x179)](_0xa78384(0x17e)))[_0xa78384(0x18c)]((_0x5defee,_0x10490e)=>{const _0xd29592=_0xa78384,_0x438f8e=this[_0xd29592(0x16d)](_0x10490e[_0xd29592(0x19f)]);return _0x5defee[_0x438f8e]||(_0x5defee[_0x438f8e]=[]),_0x5defee[_0x438f8e][_0xd29592(0x18b)](_0x10490e),_0x5defee;},{});_0x413f3f[_0xa78384(0x15b)][_0xa78384(0x170)](_0xa78384(0x162))&&_0x413f3f[_0xa78384(0x181)][_0xa78384(0x179)](_0xa78384(0x196))&&Object[_0xa78384(0x198)](_0x99c4f2)[_0xa78384(0x176)](([_0x34b5e6,_0x83fa60])=>{const _0x587fcd=_0xa78384;_0x413f3f[_0x587fcd(0x15b)][_0x587fcd(0x179)](_0x587fcd(0x162))[_0x587fcd(0x17f)]({'name':_0x34b5e6,'observable':()=>_0x4cfc87,'buttonViewCreator':()=>this[_0x587fcd(0x161)](_0x83fa60),'formViewCreator':()=>this[_0x587fcd(0x172)](_0x83fa60),'menuBarButtonViewCreator':()=>this[_0x587fcd(0x19a)](_0x83fa60),'override':_0x587fcd(0x153)!==_0x34b5e6});});}[_0x29478b(0x15f)](){const _0x36657e=_0x29478b;super[_0x36657e(0x15f)](),this[_0x36657e(0x178)]&&clearInterval(this[_0x36657e(0x178)]);}[_0x29478b(0x16f)](_0x416800){const _0x3ff209=_0x29478b,{locale:_0x16512a}=this[_0x3ff209(0x15e)];return _0x416800[_0x3ff209(0x166)](_0x53618d=>{const _0x4be590=_0x3ff209,_0x1c9ea0=_0x163acb(_0x16512a,_0x53618d,_0x4be590(0x156));switch(_0x53618d){case _0x5f00d0[_0x4be590(0x1a0)]:return{'icon':_0x42f086,'type':_0x5f00d0[_0x4be590(0x1a0)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x195)]:return{'icon':_0x2a479f,'type':_0x5f00d0[_0x4be590(0x195)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x17b)]:return{'icon':_0x11c4b8,'type':_0x5f00d0[_0x4be590(0x17b)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x194)]:return{'icon':_0x190601,'type':_0x5f00d0[_0x4be590(0x194)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x18a)]:return{'icon':_0x2ca8d0,'type':_0x5f00d0[_0x4be590(0x18a)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x1a1)]:return{'icon':_0x31e3a5,'type':_0x5f00d0[_0x4be590(0x1a1)],..._0x1c9ea0};case _0x5f00d0[_0x4be590(0x190)]:return{'icon':_0x212452,'type':_0x5f00d0[_0x4be590(0x190)],..._0x1c9ea0};}});}[_0x29478b(0x16d)](_0x2c1bd4){const _0x368bb1=_0x29478b;switch(_0x2c1bd4){case _0x5f00d0[_0x368bb1(0x1a0)]:return _0x368bb1(0x186);case _0x5f00d0[_0x368bb1(0x195)]:return _0x368bb1(0x167);default:return _0x368bb1(0x153);}}[_0x29478b(0x19b)](_0x78dcde,_0x9e2d7c){const _0x28b36d=_0x29478b,_0x37426b=this[_0x28b36d(0x15e)],_0x5bd29c=new _0x78dcde(_0x37426b[_0x28b36d(0x1a2)]),_0x16672b=_0x37426b[_0x28b36d(0x181)][_0x28b36d(0x179)](_0x28b36d(0x196));return _0x5bd29c[_0x28b36d(0x197)](_0x28b36d(0x192))['to'](_0x16672b),_0x5bd29c['on'](_0x28b36d(0x17c),()=>{const _0x522aac=_0x28b36d;_0x16672b[_0x522aac(0x17c)](_0x9e2d7c);}),_0x5bd29c;}[_0x29478b(0x161)](_0x3c185f){const _0x4ca897=_0x29478b,{locale:_0x3476bc}=this[_0x4ca897(0x15e)],_0x4c8817=this[_0x4ca897(0x15e)][_0x4ca897(0x15b)][_0x4ca897(0x179)](_0x4ca897(0x162)),_0xedd6bd=_0x3c185f[0x0],_0x5d861d=this[_0x4ca897(0x19b)](_0x5cba06,_0xedd6bd[_0x4ca897(0x19f)]);return _0x5d861d[_0x4ca897(0x199)]=_0xedd6bd[_0x4ca897(0x199)],_0x5d861d[_0x4ca897(0x197)](_0x4ca897(0x191))['to'](_0x4c8817,_0x4ca897(0x18f),_0x46704c=>_0x163acb(_0x3476bc,_0xedd6bd[_0x4ca897(0x19f)],_0x46704c?_0x4ca897(0x15d):_0x4ca897(0x156))[_0x4ca897(0x187)]),_0x5d861d[_0x4ca897(0x18e)]=!0x0,_0x5d861d;}[_0x29478b(0x172)](_0x3331ca){const _0x158cb7=_0x29478b,{locale:_0x4f3131}=this[_0x158cb7(0x15e)],_0x5792d9=this[_0x158cb7(0x15e)][_0x158cb7(0x15b)][_0x158cb7(0x179)](_0x158cb7(0x162));return _0x3331ca[_0x158cb7(0x166)](_0x3a4d97=>{const _0x13a4b2=_0x158cb7,_0x2e909b=this[_0x13a4b2(0x19b)](_0x5cba06,_0x3a4d97[_0x13a4b2(0x19f)]);return _0x2e909b[_0x13a4b2(0x16b)]=!0x0,_0x2e909b[_0x13a4b2(0x199)]=_0x3a4d97[_0x13a4b2(0x199)],_0x2e909b[_0x13a4b2(0x197)](_0x13a4b2(0x191))['to'](_0x5792d9,_0x13a4b2(0x18f),_0xace279=>_0x163acb(_0x4f3131,_0x3a4d97[_0x13a4b2(0x19f)],_0xace279?_0x13a4b2(0x15d):_0x13a4b2(0x156))[_0x13a4b2(0x187)]),_0x2e909b;});}[_0x29478b(0x19a)](_0x337760){const _0x5f7686=_0x29478b;return _0x337760[_0x5f7686(0x166)](_0x278dda=>{const _0x4157a0=_0x5f7686,_0x27c882=this[_0x4157a0(0x19b)](_0xe783bd,_0x278dda[_0x4157a0(0x19f)]);return _0x27c882[_0x4157a0(0x199)]=_0x278dda[_0x4157a0(0x199)],_0x27c882[_0x4157a0(0x191)]=_0x278dda[_0x4157a0(0x188)],_0x27c882;});}}
23
+ const _0x1719f5=_0x45db;(function(_0x4ddc87,_0x39eded){const _0x572980=_0x45db,_0x51878b=_0x4ddc87();while(!![]){try{const _0xcbdf92=parseInt(_0x572980(0x170))/0x1+parseInt(_0x572980(0x17e))/0x2+parseInt(_0x572980(0x1a9))/0x3*(parseInt(_0x572980(0x16b))/0x4)+parseInt(_0x572980(0x1b3))/0x5*(parseInt(_0x572980(0x1b5))/0x6)+parseInt(_0x572980(0x1b8))/0x7*(parseInt(_0x572980(0x16c))/0x8)+parseInt(_0x572980(0x1b6))/0x9*(-parseInt(_0x572980(0x1b9))/0xa)+parseInt(_0x572980(0x16e))/0xb*(-parseInt(_0x572980(0x179))/0xc);if(_0xcbdf92===_0x39eded)break;else _0x51878b['push'](_0x51878b['shift']());}catch(_0x4d1760){_0x51878b['push'](_0x51878b['shift']());}}}(_0x5614,0x8480c));import{Plugin as _0x3832d5}from'ckeditor5/src/core.js';function _0x45db(_0x11494e,_0x3fdc5e){const _0x56147e=_0x5614();return _0x45db=function(_0x45dbc7,_0x5e7454){_0x45dbc7=_0x45dbc7-0x169;let _0x2e3a11=_0x56147e[_0x45dbc7];return _0x2e3a11;},_0x45db(_0x11494e,_0x3fdc5e);}import{IconDropbox as _0x5124c4,IconFacebook as _0x25b249,IconGoogleDrive as _0x3f5665,IconGooglePhotos as _0x3c9a43,IconUploadcareImageUpload as _0x4b63bf,IconUploadcareLink as _0x27b9c1,IconOneDrive as _0x36de54}from'ckeditor5/src/icons.js';import{ButtonView as _0x4216ff,MenuBarMenuListItemButtonView as _0x49653a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3e25c5}from'./uploadcareconfig.js';import{getTranslation as _0x3c188b}from'./utils/common-translations.js';function _0x5614(){const _0x17df7f=['URL','_createToolbarButton','isOfficialPlugin','forEach','assetManager','reduce','_getIntegrationKey','9795VepkqC','registerIntegration','3006mCMWtz','171WCEBHu','tooltip','7SYTRHH','414650QarFfQ','config','Dropbox','_createMenuBarButtons','bind','501508VUruUV','3959464YGROed','_createButton','11IzMHwj','execute','304403iQrpmJ','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyExpired','entries','expired','ImageInsertUI','Local','featureNotAllowed','icon','13656948lnxzGu','isPremiumPlugin','editor','_showLicenseError','domainLimit','1124948KDevGl','uploadcareLicenseKeyUsageLimit','init','shortText','trialLimit','Replace','_createDropdownButtons','uploadcareLicenseKeyValid','Facebook','get','map','destroy','usageLimit','isEnabled','OneDrive','label','invalid','push','pluginName','withText','uploadcare.uploader.sourceList','locale','text','afterInit','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','evaluationLimit','GPhotos','UploadcareUI','_normalizeConfigSourceList','url','Insert','_licenseKeyCheckInterval','GDrive','uploadcareLicenseKeyDomainLimit','commands','upload','has','plugins','isImageSelected','type','uploadcare','uploadcareLicenseKeyTrialLimit','3FuOWRA','Uploadcare','licenseKey'];_0x5614=function(){return _0x17df7f;};return _0x5614();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3832d5{[_0x1719f5(0x1ab)];[_0x1719f5(0x19e)];static get[_0x1719f5(0x190)](){const _0x16f95f=_0x1719f5;return _0x16f95f(0x19a);}static get[_0x1719f5(0x1ae)](){return!0x0;}static get[_0x1719f5(0x17a)](){return!0x0;}[_0x1719f5(0x180)](){const _0x250c63=_0x1719f5;this[_0x250c63(0x1ab)]=this[_0x250c63(0x17b)][_0x250c63(0x1ba)][_0x250c63(0x187)](_0x250c63(0x1ab));const _0x260e02=this[_0x250c63(0x17b)];this[_0x250c63(0x19e)]=setInterval(()=>{const _0x21e8be=_0x250c63;let _0x1617f8;for(const _0x4060e2 in _0x260e02){const _0x3270f8=_0x4060e2,_0x57ca0b=_0x260e02[_0x3270f8];if(_0x21e8be(0x185)==_0x57ca0b||_0x21e8be(0x196)==_0x57ca0b||_0x21e8be(0x172)==_0x57ca0b||_0x21e8be(0x1a0)==_0x57ca0b||_0x21e8be(0x171)==_0x57ca0b||_0x21e8be(0x197)==_0x57ca0b||_0x21e8be(0x1a8)==_0x57ca0b||_0x21e8be(0x17f)==_0x57ca0b){delete _0x260e02[_0x3270f8],_0x1617f8=_0x57ca0b,clearInterval(this[_0x21e8be(0x19e)]),this[_0x21e8be(0x19e)]=void 0x0;break;}}_0x21e8be(0x196)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x18e)),_0x21e8be(0x172)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x174)),_0x21e8be(0x1a0)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x17d)),_0x21e8be(0x171)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x177),_0x21e8be(0x1aa)),_0x21e8be(0x197)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x198)),_0x21e8be(0x1a8)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x182)),_0x21e8be(0x17f)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x18a));},0x3e8);}[_0x1719f5(0x195)](){const _0x33feee=_0x1719f5,{editor:_0x449dfd}=this,_0x496c88=_0x449dfd[_0x33feee(0x1a1)][_0x33feee(0x187)](_0x33feee(0x1a7));if(!_0x496c88)return;const _0x468a4e=this[_0x33feee(0x19b)](_0x449dfd[_0x33feee(0x1ba)][_0x33feee(0x187)](_0x33feee(0x192)))[_0x33feee(0x1b1)]((_0x41424a,_0x2d0583)=>{const _0x1b52df=_0x33feee,_0x5e0232=this[_0x1b52df(0x1b2)](_0x2d0583[_0x1b52df(0x1a6)]);return _0x41424a[_0x5e0232]||(_0x41424a[_0x5e0232]=[]),_0x41424a[_0x5e0232][_0x1b52df(0x18f)](_0x2d0583),_0x41424a;},{});_0x449dfd[_0x33feee(0x1a4)][_0x33feee(0x1a3)](_0x33feee(0x175))&&_0x449dfd[_0x33feee(0x1a1)][_0x33feee(0x187)](_0x33feee(0x1a7))&&Object[_0x33feee(0x173)](_0x468a4e)[_0x33feee(0x1af)](([_0x11d880,_0x1de58b])=>{const _0x2babae=_0x33feee;_0x449dfd[_0x2babae(0x1a4)][_0x2babae(0x187)](_0x2babae(0x175))[_0x2babae(0x1b4)]({'name':_0x11d880,'observable':()=>_0x496c88,'buttonViewCreator':()=>this[_0x2babae(0x1ad)](_0x1de58b),'formViewCreator':()=>this[_0x2babae(0x184)](_0x1de58b),'menuBarButtonViewCreator':()=>this[_0x2babae(0x169)](_0x1de58b),'override':_0x2babae(0x1b0)!==_0x11d880});});}[_0x1719f5(0x189)](){const _0x146586=_0x1719f5;super[_0x146586(0x189)](),this[_0x146586(0x19e)]&&clearInterval(this[_0x146586(0x19e)]);}[_0x1719f5(0x19b)](_0x3cb032){const _0x1fc9bc=_0x1719f5,{locale:_0x151ef6}=this[_0x1fc9bc(0x17b)];return _0x3cb032[_0x1fc9bc(0x188)](_0x3333cd=>{const _0x97a7d4=_0x1fc9bc,_0x39cab5=_0x3c188b(_0x151ef6,_0x3333cd,_0x97a7d4(0x19d));switch(_0x3333cd){case _0x3e25c5[_0x97a7d4(0x176)]:return{'icon':_0x4b63bf,'type':_0x3e25c5[_0x97a7d4(0x176)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x1ac)]:return{'icon':_0x27b9c1,'type':_0x3e25c5[_0x97a7d4(0x1ac)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x1bb)]:return{'icon':_0x5124c4,'type':_0x3e25c5[_0x97a7d4(0x1bb)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x186)]:return{'icon':_0x25b249,'type':_0x3e25c5[_0x97a7d4(0x186)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x19f)]:return{'icon':_0x3f5665,'type':_0x3e25c5[_0x97a7d4(0x19f)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x199)]:return{'icon':_0x3c9a43,'type':_0x3e25c5[_0x97a7d4(0x199)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x18c)]:return{'icon':_0x36de54,'type':_0x3e25c5[_0x97a7d4(0x18c)],..._0x39cab5};}});}[_0x1719f5(0x1b2)](_0x2d6f87){const _0x2015fc=_0x1719f5;switch(_0x2d6f87){case _0x3e25c5[_0x2015fc(0x176)]:return _0x2015fc(0x1a2);case _0x3e25c5[_0x2015fc(0x1ac)]:return _0x2015fc(0x19c);default:return _0x2015fc(0x1b0);}}[_0x1719f5(0x16d)](_0x101f28,_0x58ee82){const _0x156f86=_0x1719f5,_0x2ee379=this[_0x156f86(0x17b)],_0x436004=new _0x101f28(_0x2ee379[_0x156f86(0x193)]),_0x1a4ac4=_0x2ee379[_0x156f86(0x1a1)][_0x156f86(0x187)](_0x156f86(0x1a7));return _0x436004[_0x156f86(0x16a)](_0x156f86(0x18b))['to'](_0x1a4ac4),_0x436004['on'](_0x156f86(0x16f),()=>{const _0x1b2cc7=_0x156f86;_0x1a4ac4[_0x1b2cc7(0x16f)](_0x58ee82);}),_0x436004;}[_0x1719f5(0x1ad)](_0x10156e){const _0x59eee4=_0x1719f5,{locale:_0x58c339}=this[_0x59eee4(0x17b)],_0x5d34e6=this[_0x59eee4(0x17b)][_0x59eee4(0x1a4)][_0x59eee4(0x187)](_0x59eee4(0x175)),_0x3a92d1=_0x10156e[0x0],_0x45776b=this[_0x59eee4(0x16d)](_0x4216ff,_0x3a92d1[_0x59eee4(0x1a6)]);return _0x45776b[_0x59eee4(0x178)]=_0x3a92d1[_0x59eee4(0x178)],_0x45776b[_0x59eee4(0x16a)](_0x59eee4(0x18d))['to'](_0x5d34e6,_0x59eee4(0x1a5),_0x13f80f=>_0x3c188b(_0x58c339,_0x3a92d1[_0x59eee4(0x1a6)],_0x13f80f?_0x59eee4(0x183):_0x59eee4(0x19d))[_0x59eee4(0x194)]),_0x45776b[_0x59eee4(0x1b7)]=!0x0,_0x45776b;}[_0x1719f5(0x184)](_0x3c5ef8){const _0x4847c4=_0x1719f5,{locale:_0x537830}=this[_0x4847c4(0x17b)],_0x39e0f6=this[_0x4847c4(0x17b)][_0x4847c4(0x1a4)][_0x4847c4(0x187)](_0x4847c4(0x175));return _0x3c5ef8[_0x4847c4(0x188)](_0x4f72c4=>{const _0x1c0412=_0x4847c4,_0x2c77d8=this[_0x1c0412(0x16d)](_0x4216ff,_0x4f72c4[_0x1c0412(0x1a6)]);return _0x2c77d8[_0x1c0412(0x191)]=!0x0,_0x2c77d8[_0x1c0412(0x178)]=_0x4f72c4[_0x1c0412(0x178)],_0x2c77d8[_0x1c0412(0x16a)](_0x1c0412(0x18d))['to'](_0x39e0f6,_0x1c0412(0x1a5),_0x1e3197=>_0x3c188b(_0x537830,_0x4f72c4[_0x1c0412(0x1a6)],_0x1e3197?_0x1c0412(0x183):_0x1c0412(0x19d))[_0x1c0412(0x194)]),_0x2c77d8;});}[_0x1719f5(0x169)](_0x30eb6a){const _0x4ab5ff=_0x1719f5;return _0x30eb6a[_0x4ab5ff(0x188)](_0x76dbf5=>{const _0x5c888f=_0x4ab5ff,_0x56c3a3=this[_0x5c888f(0x16d)](_0x49653a,_0x76dbf5[_0x5c888f(0x1a6)]);return _0x56c3a3[_0x5c888f(0x178)]=_0x76dbf5[_0x5c888f(0x178)],_0x56c3a3[_0x5c888f(0x18d)]=_0x76dbf5[_0x5c888f(0x181)],_0x56c3a3;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a77c3}from'ckeditor5/src/core.js';import{FileRepository as _0x9fa9e8}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x38a56f}from'./uploadcareediting.js';import{UploadUtils as _0x3cb41a}from'./utils/uploadutils.js';import{getImageUrls as _0x4ae329}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5a77c3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x9fa9e8,_0x38a56f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4784ad=this['editor'];if(!!!_0x4784ad['config']['get']('uploadcare'))return;_0x4784ad['plugins']['get'](_0x9fa9e8)['createUploadAdapter']=_0x280e04=>new k(_0x280e04,_0x4784ad),_0x4784ad['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1e0792,{imageElement:_0x4af5bd,data:_0x589de6})=>{_0x4784ad['model']['change'](_0x1ec8ed=>{_0x1ec8ed['setAttribute']('uploadcareImageId',_0x589de6['uploadcareImageId'],_0x4af5bd);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x1be2b5,_0x209373){this['loader']=_0x1be2b5,this['editor']=_0x209373,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x36875b=await this['loader']['file'];return _0x3cb41a['upload']({'file':_0x36875b,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x2dcd05=>{_0x2dcd05&&_0x2dcd05['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dcd05['value']);}})['then'](async _0x11b517=>{const {imageFallbackUrl:_0x4f7a6e,imageSources:_0x312cf0}=_0x4ae329(_0x11b517['cdnUrl'],_0x11b517['imageInfo']['width']);return{'uploadcareImageId':_0x11b517['uuid'],'default':_0x4f7a6e,'sources':_0x312cf0};})['catch'](()=>{const _0x190da5=t('Cannot\x20upload\x20file:')+('\x20'+_0x36875b['name']+'.');return Promise['reject'](_0x190da5);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x42b152}from'ckeditor5/src/core.js';import{FileRepository as _0xaad5f1}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x23d037}from'./uploadcareediting.js';import{UploadUtils as _0x333317}from'./utils/uploadutils.js';import{getImageUrls as _0x41ef3f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x42b152{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaad5f1,_0x23d037];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x497458=this['editor'];if(!!!_0x497458['config']['get']('uploadcare'))return;_0x497458['plugins']['get'](_0xaad5f1)['createUploadAdapter']=_0x5532b8=>new k(_0x5532b8,_0x497458),_0x497458['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x404cf9,{imageElement:_0x5467d4,data:_0x398202})=>{_0x497458['model']['change'](_0x5c2aa5=>{_0x5c2aa5['setAttribute']('uploadcareImageId',_0x398202['uploadcareImageId'],_0x5467d4);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x51e3b6,_0x25ed3d){this['loader']=_0x51e3b6,this['editor']=_0x25ed3d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d9807=await this['loader']['file'];return _0x333317['upload']({'file':_0x5d9807,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x16fbd4=>{_0x16fbd4&&_0x16fbd4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16fbd4['value']);}})['then'](async _0x10b1c8=>{const {imageFallbackUrl:_0x5024bd,imageSources:_0x490a86}=_0x41ef3f(_0x10b1c8['cdnUrl'],_0x10b1c8['imageInfo']['width']);return{'uploadcareImageId':_0x10b1c8['uuid'],'default':_0x5024bd,'sources':_0x490a86};})['catch'](()=>{const _0x9f6715=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d9807['name']+'.');return Promise['reject'](_0x9f6715);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x37674d}from'../uploadcareconfig.js';export function getTranslation(_0x1fbdf1,_0x59597,_0x1a24ad){const t=_0x1fbdf1['t'],_0x2a288c=_0x1fbdf1['t'];switch(_0x59597){case _0x37674d['Local']:return{'text':_0x2a288c('Insert'===_0x1a24ad?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2a288c('From\x20computer')};case _0x37674d['URL']:return{'text':'Insert'===_0x1a24ad?_0x2a288c('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2a288c('Via\x20URL')};case _0x37674d['Dropbox']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x37674d['Facebook']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x37674d['GDrive']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x37674d['GPhotos']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x37674d['OneDrive']:return{'text':t('Insert'===_0x1a24ad?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x59597;}}
23
+ import{UploadcareSource as _0x575c30}from'../uploadcareconfig.js';export function getTranslation(_0x4aadfd,_0x2a1117,_0x5eb8ee){const t=_0x4aadfd['t'],_0x2ab0bc=_0x4aadfd['t'];switch(_0x2a1117){case _0x575c30['Local']:return{'text':_0x2ab0bc('Insert'===_0x5eb8ee?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2ab0bc('From\x20computer')};case _0x575c30['URL']:return{'text':'Insert'===_0x5eb8ee?_0x2ab0bc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2ab0bc('Via\x20URL')};case _0x575c30['Dropbox']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x575c30['Facebook']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x575c30['GDrive']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x575c30['GPhotos']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x575c30['OneDrive']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2a1117;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x287afb=_0x5824;function _0x5824(_0x548dd9,_0x902c11){var _0xa8a5d0=_0xa8a5();return _0x5824=function(_0x58245c,_0x9c6f1c){_0x58245c=_0x58245c-0x1b4;var _0x2c42ed=_0xa8a5d0[_0x58245c];return _0x2c42ed;},_0x5824(_0x548dd9,_0x902c11);}(function(_0x1d4323,_0x1f6596){var _0x1a0452=_0x5824,_0x84b464=_0x1d4323();while(!![]){try{var _0x187d42=parseInt(_0x1a0452(0x1b5))/0x1*(parseInt(_0x1a0452(0x1c2))/0x2)+parseInt(_0x1a0452(0x1c5))/0x3*(-parseInt(_0x1a0452(0x1b9))/0x4)+parseInt(_0x1a0452(0x1b7))/0x5*(-parseInt(_0x1a0452(0x1c6))/0x6)+parseInt(_0x1a0452(0x1c8))/0x7*(parseInt(_0x1a0452(0x1b8))/0x8)+parseInt(_0x1a0452(0x1c1))/0x9+-parseInt(_0x1a0452(0x1bc))/0xa*(parseInt(_0x1a0452(0x1b6))/0xb)+-parseInt(_0x1a0452(0x1c3))/0xc*(-parseInt(_0x1a0452(0x1c9))/0xd);if(_0x187d42===_0x1f6596)break;else _0x84b464['push'](_0x84b464['shift']());}catch(_0x20b709){_0x84b464['push'](_0x84b464['shift']());}}}(_0xa8a5,0x94a7c));function _0xa8a5(){var _0x524bd3=['440jnmSvv','12fUhpYU','bindTemplate','3kgKvsn','6lIeOPH','div','7mvOVDF','4742062EtlhkQ','true','3157tDmEjd','16082gupIwJ','3633685bYeknj','636808BNsITY','3174068zwoItE','fire','focusTracker','1520tlErNF','getFocusableElement','createCollection','focusCycler','forwardCycle','10912095GCIaKG'];_0xa8a5=function(){return _0x524bd3;};return _0xa8a5();}import{FocusTracker as _0x340c94}from'ckeditor5/src/utils.js';import{View as _0x54c0f9,FocusCycler as _0x524df1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x54c0f9{[_0x287afb(0x1bb)];[_0x287afb(0x1bf)];constructor(_0x449af6){var _0x54d9aa=_0x287afb;super(_0x449af6),this[_0x54d9aa(0x1bb)]=new _0x340c94(),this[_0x54d9aa(0x1bf)]=new _0x524df1({'focusables':this[_0x54d9aa(0x1be)](),'focusTracker':this[_0x54d9aa(0x1bb)]});}[_0x287afb(0x1bd)](){var _0x329632=_0x287afb;return{'tag':_0x329632(0x1c7),'attributes':{'aria-hidden':_0x329632(0x1b4),'tabindex':'0'},'on':{'focus':this[_0x329632(0x1c4)]['to'](()=>{var _0x56cd9b=_0x329632;this[_0x56cd9b(0x1bf)][_0x56cd9b(0x1ba)](_0x56cd9b(0x1c0));})}};}}
23
+ var _0x35a132=_0x25d5;(function(_0x3c44da,_0x4556fb){var _0x304cf9=_0x25d5,_0x2ef28e=_0x3c44da();while(!![]){try{var _0x7ed410=-parseInt(_0x304cf9(0x17c))/0x1+-parseInt(_0x304cf9(0x181))/0x2*(parseInt(_0x304cf9(0x179))/0x3)+parseInt(_0x304cf9(0x174))/0x4*(-parseInt(_0x304cf9(0x177))/0x5)+parseInt(_0x304cf9(0x180))/0x6+-parseInt(_0x304cf9(0x17b))/0x7*(-parseInt(_0x304cf9(0x170))/0x8)+-parseInt(_0x304cf9(0x173))/0x9+parseInt(_0x304cf9(0x17a))/0xa;if(_0x7ed410===_0x4556fb)break;else _0x2ef28e['push'](_0x2ef28e['shift']());}catch(_0x2cee12){_0x2ef28e['push'](_0x2ef28e['shift']());}}}(_0x2375,0x81f3f));import{FocusTracker as _0x2466b1}from'ckeditor5/src/utils.js';import{View as _0x3198f0,FocusCycler as _0x587f56}from'ckeditor5/src/ui.js';function _0x25d5(_0x31f51c,_0x2c97b1){var _0x2375b4=_0x2375();return _0x25d5=function(_0x25d5b3,_0x3428be){_0x25d5b3=_0x25d5b3-0x16f;var _0x30622a=_0x2375b4[_0x25d5b3];return _0x30622a;},_0x25d5(_0x31f51c,_0x2c97b1);}function _0x2375(){var _0x399534=['1103920bPgPoZ','true','div','5878485bQMxxg','8212JEJDZd','focusTracker','createCollection','105MAJGsM','forwardCycle','687ovgkXp','12594450gkQcdV','28hSppIb','341872ENbUCS','getFocusableElement','bindTemplate','focusCycler','4425294kDNDtG','8546zTqkKL','fire'];_0x2375=function(){return _0x399534;};return _0x2375();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3198f0{[_0x35a132(0x175)];[_0x35a132(0x17f)];constructor(_0x1ba4a9){var _0x43947a=_0x35a132;super(_0x1ba4a9),this[_0x43947a(0x175)]=new _0x2466b1(),this[_0x43947a(0x17f)]=new _0x587f56({'focusables':this[_0x43947a(0x176)](),'focusTracker':this[_0x43947a(0x175)]});}[_0x35a132(0x17d)](){var _0x246a31=_0x35a132;return{'tag':_0x246a31(0x172),'attributes':{'aria-hidden':_0x246a31(0x171),'tabindex':'0'},'on':{'focus':this[_0x246a31(0x17e)]['to'](()=>{var _0x3098de=_0x246a31;this[_0x3098de(0x17f)][_0x3098de(0x16f)](_0x3098de(0x178));})}};}}