@ckeditor/ckeditor5-uploadcare 44.3.0-alpha.7 → 45.0.0-alpha.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 (189) hide show
  1. package/build/translations/be.js +1 -0
  2. package/build/uploadcare.js +1 -1
  3. package/ckeditor5-metadata.json +1 -1
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.d.ts +8 -0
  14. package/dist/translations/be.js +23 -0
  15. package/dist/translations/be.umd.js +23 -0
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/translations/be.po +100 -0
  153. package/package.json +9 -8
  154. package/src/index.js +1 -1
  155. package/src/ui/uploadcarecontroller.d.ts +2 -6
  156. package/src/ui/uploadcarecontroller.js +2 -2
  157. package/src/ui/uploadcareformview.js +1 -1
  158. package/src/uploadcare.js +1 -1
  159. package/src/uploadcarecommand.js +1 -1
  160. package/src/uploadcareconfig.js +1 -1
  161. package/src/uploadcareediting.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  164. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -4
  165. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  166. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  168. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  169. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  170. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  171. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  172. package/src/uploadcareimageedit.js +1 -1
  173. package/src/uploadcareui.js +1 -1
  174. package/src/uploadcareuploadadapter.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/dialogfocusmanagerview.js +1 -1
  177. package/src/utils/editingutils.js +1 -1
  178. package/src/utils/isancestor.js +1 -1
  179. package/src/utils/uploadutils.js +1 -1
  180. package/theme/icons/dropbox.svg +0 -11
  181. package/theme/icons/error.svg +0 -1
  182. package/theme/icons/facebook.svg +0 -11
  183. package/theme/icons/google-drive.svg +0 -11
  184. package/theme/icons/google-photos.svg +0 -11
  185. package/theme/icons/image-upload.svg +0 -11
  186. package/theme/icons/link.svg +0 -11
  187. package/theme/icons/local.svg +0 -11
  188. package/theme/icons/onedrive.svg +0 -11
  189. package/theme/icons/uploadcare-image-edit.svg +0 -11
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x205622=_0x2907;(function(_0xe31b2e,_0x384602){const _0x13db73=_0x2907,_0x1cbd54=_0xe31b2e();while(!![]){try{const _0x144e67=-parseInt(_0x13db73(0xf4))/0x1+-parseInt(_0x13db73(0xfb))/0x2*(-parseInt(_0x13db73(0x121))/0x3)+-parseInt(_0x13db73(0x130))/0x4*(-parseInt(_0x13db73(0x136))/0x5)+parseInt(_0x13db73(0x107))/0x6*(parseInt(_0x13db73(0x10a))/0x7)+parseInt(_0x13db73(0xf9))/0x8+parseInt(_0x13db73(0x124))/0x9+-parseInt(_0x13db73(0xff))/0xa;if(_0x144e67===_0x384602)break;else _0x1cbd54['push'](_0x1cbd54['shift']());}catch(_0x260e11){_0x1cbd54['push'](_0x1cbd54['shift']());}}}(_0xa718,0xb2abb));import{icons as _0x1f102b}from'ckeditor5/src/core.js';import{ObservableMixin as _0x16c71f}from'ckeditor5/src/utils.js';import{Dialog as _0x5ebba1,DialogViewPosition as _0x54dde5}from'ckeditor5/src/ui.js';function _0x2907(_0x2d2f08,_0x1ea4e5){const _0xa7185f=_0xa718();return _0x2907=function(_0x290747,_0x23681b){_0x290747=_0x290747-0xee;let _0x12df26=_0xa7185f[_0x290747];return _0x12df26;},_0x2907(_0x2d2f08,_0x1ea4e5);}import _0x275a16 from'./uploadcareformview.js';import{UploadcareSource as _0x24106d}from'../uploadcareconfig.js';import{getTranslation as _0x5e3516}from'../utils/common-translations.js';function _0xa718(){const _0x5c8662=['plugins','_formView','uuid','document','getOutputCollectionState','destroy','doneFlow','3100710uCrfnh','editing','setSelection','7wsiZdS','_insertAsset','isOpen','source-list','_dialog','attributes','getSelectedElement','imageInfo','_initListeners','get','getLastPosition','setAttribute','removeSelectionAttribute','_editing','_type','getAPI','_insertImage','Local','status','uploadCare','addEventListener','EDITOR_TOP_CENTER','stopDelegating','48satGDI','imageInline','linkHref','11603844sTVHEd','insertImage','view','ctxElement','_api','text','stopListening','change','allEntries','hide','execute','Insert','191804oSzCJw','focus','_editor','removeAllFiles','selection','imageBlock','15InIpeY','show','configElement','element','model','initFlow','imageUpload','done-click','1012031kVbfrw','idle','detail','width','Replace','1255104FdeNqS','setCurrentActivity','27040pkaumX','_initDialog','length','image','5792960FZrwud'];_0xa718=function(){return _0x5c8662;};return _0xa718();}import{getImageUrls as _0x28f99c,getImageDimension as _0x2eee41}from'../utils/editingutils.js';import{isAncestor as _0x4fb184}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x16c71f(){constructor(_0x41d293,_0xc2053b,_0x3a66df){const _0x3c0cc0=_0x2907;super(),this[_0x3c0cc0(0x118)]=null,this[_0x3c0cc0(0x101)]=null,this[_0x3c0cc0(0x132)]=_0x41d293,this[_0x3c0cc0(0x117)]=_0xc2053b,this[_0x3c0cc0(0x10e)]=_0x41d293[_0x3c0cc0(0x100)][_0x3c0cc0(0x113)](_0x5ebba1),this[_0x3c0cc0(0x128)]=_0xc2053b[_0x3c0cc0(0x127)][_0x3c0cc0(0x119)](),this[_0x3c0cc0(0x118)]=_0x3a66df,this[_0x3c0cc0(0x117)][_0x3c0cc0(0xee)][_0x3c0cc0(0x115)](_0x3c0cc0(0x10d),this[_0x3c0cc0(0x118)]),this[_0x3c0cc0(0xfc)](),this[_0x3c0cc0(0x112)](),this[_0x3c0cc0(0x128)][_0x3c0cc0(0xf1)]();}[_0x205622(0x105)](){const _0x2d9cab=_0x205622;this[_0x2d9cab(0x101)]&&(this[_0x2d9cab(0x101)][_0x2d9cab(0x105)](),this[_0x2d9cab(0x101)]=null),this[_0x2d9cab(0x128)]&&this[_0x2d9cab(0x128)][_0x2d9cab(0x106)](),this[_0x2d9cab(0x12a)](),this[_0x2d9cab(0x120)]();}[_0x205622(0xfc)](){const _0x40439d=_0x205622,{locale:_0x170c80,model:_0x21360f}=this[_0x40439d(0x132)],_0x5026e8=_0x21360f[_0x40439d(0x103)][_0x40439d(0x134)][_0x40439d(0x110)](),_0x4e5091=_0x5026e8&&(_0x5026e8['is'](_0x40439d(0xef),_0x40439d(0x135))||_0x5026e8['is'](_0x40439d(0xef),_0x40439d(0x122)));this[_0x40439d(0x101)]=new _0x275a16(_0x170c80),this[_0x40439d(0x10e)][_0x40439d(0x137)]({'id':_0x40439d(0x11d),'icon':_0x1f102b[_0x40439d(0xf2)],'title':_0x5e3516(_0x170c80,this[_0x40439d(0x118)],_0x4e5091?_0x40439d(0xf8):_0x40439d(0x12f))[_0x40439d(0x129)],'content':this[_0x40439d(0x101)],'position':_0x54dde5[_0x40439d(0x11f)],'isModal':!0x0,'onShow':()=>{const _0x201c43=_0x40439d;this[_0x201c43(0x101)][_0x201c43(0x131)]();},'onHide':()=>{const _0x1cccab=_0x40439d;this[_0x1cccab(0x128)][_0x1cccab(0x133)](),this[_0x1cccab(0x132)][_0x1cccab(0x108)][_0x1cccab(0x126)][_0x1cccab(0x131)](),this[_0x1cccab(0x105)]();},'keystrokeHandlerOptions':{'filter':_0x186a13=>!_0x4fb184(_0x186a13,this[_0x40439d(0x101)][_0x40439d(0xef)])}});}[_0x205622(0x112)](){const _0x425d8d=_0x205622;this[_0x425d8d(0x117)][_0x425d8d(0x127)][_0x425d8d(0x11e)](_0x425d8d(0xf3),()=>{const _0x378349=_0x425d8d,{allEntries:_0x453ecc}=this[_0x378349(0x128)][_0x378349(0x104)]();this[_0x378349(0x132)][_0x378349(0xf0)][_0x378349(0x12b)](_0x2f7265=>{const _0x1cc74b=_0x378349,_0x4b80c4=_0x453ecc[_0x1cc74b(0xfd)];for(const _0x31a81e of _0x453ecc){const _0x208651=_0x31a81e===_0x453ecc[_0x4b80c4-0x1],{cdnUrl:_0xa59be7,fileInfo:_0x2a4fc3}=_0x31a81e;if(!_0xa59be7||!_0x2a4fc3)continue;const {width:_0x1691fc,height:_0xfebf88}=_0x2a4fc3[_0x1cc74b(0x111)],_0x337a29=_0x2eee41(_0xa59be7,_0x1691fc,_0xfebf88),_0x490b5b=_0x28f99c(_0xa59be7,_0x337a29[_0x1cc74b(0xf7)]),_0x536ecd={'id':_0x2a4fc3[_0x1cc74b(0x102)],'type':_0x1cc74b(0xfe),'attributes':{'imageDimension':_0x337a29,..._0x490b5b}};this[_0x1cc74b(0x10b)](_0x536ecd,_0x208651,_0x2f7265);}}),this[_0x378349(0x10e)][_0x378349(0x12d)]();}),this[_0x425d8d(0x117)][_0x425d8d(0x127)][_0x425d8d(0x11e)](_0x425d8d(0x12b),_0x509520=>{const _0x57069e=_0x425d8d;_0x57069e(0xf5)===_0x509520[_0x57069e(0xf6)][_0x57069e(0x11c)]&&!_0x509520[_0x57069e(0xf6)][_0x57069e(0x12c)][_0x57069e(0xfd)]&&this[_0x57069e(0x10e)][_0x57069e(0x10c)]&&(this[_0x57069e(0x118)]===_0x24106d[_0x57069e(0x11b)]?this[_0x57069e(0x128)][_0x57069e(0xfa)](_0x24106d[_0x57069e(0x11b)]):this[_0x57069e(0x128)][_0x57069e(0xf1)]());});}[_0x205622(0x10b)](_0x51d9b4,_0x1c5867,_0x466da1){const _0x403393=_0x205622,_0x28ff36=this[_0x403393(0x132)][_0x403393(0xf0)][_0x403393(0x103)][_0x403393(0x134)],_0x2fb904=_0x28ff36[_0x403393(0x110)](),_0x2d1c89=!(!_0x2fb904||!_0x2fb904['is'](_0x403393(0xef),_0x403393(0x122)));_0x466da1[_0x403393(0x116)](_0x403393(0x123)),this[_0x403393(0x11a)](_0x51d9b4,_0x2d1c89),_0x1c5867||_0x466da1[_0x403393(0x109)](_0x28ff36[_0x403393(0x114)]());}[_0x205622(0x11a)](_0x4c9267,_0x55c1c2){const _0x594a46=_0x205622,_0x1f3471=this[_0x594a46(0x132)],{imageDimension:_0x3c0509,imageFallbackUrl:_0x55e8b7,imageSources:_0x375674}=_0x4c9267[_0x594a46(0x10f)];_0x1f3471[_0x594a46(0x12e)](_0x594a46(0x125),{'imageType':_0x55c1c2?_0x594a46(0x122):null,'source':{'uploadcareImageId':_0x4c9267['id'],'src':_0x55e8b7,'sources':_0x375674,..._0x3c0509}});}}
23
+ function _0x38da(_0x1b8bed,_0x4505dd){const _0x107e02=_0x107e();return _0x38da=function(_0x38da8f,_0x41c96e){_0x38da8f=_0x38da8f-0xe7;let _0x41aebb=_0x107e02[_0x38da8f];return _0x41aebb;},_0x38da(_0x1b8bed,_0x4505dd);}const _0x650a6c=_0x38da;(function(_0x82ac68,_0x554f4c){const _0x3145cd=_0x38da,_0x37fc8c=_0x82ac68();while(!![]){try{const _0x4b9a6d=-parseInt(_0x3145cd(0x100))/0x1+parseInt(_0x3145cd(0x102))/0x2+parseInt(_0x3145cd(0x103))/0x3*(-parseInt(_0x3145cd(0xeb))/0x4)+parseInt(_0x3145cd(0xfc))/0x5+-parseInt(_0x3145cd(0xe9))/0x6*(-parseInt(_0x3145cd(0x12a))/0x7)+parseInt(_0x3145cd(0x12e))/0x8+-parseInt(_0x3145cd(0x11a))/0x9;if(_0x4b9a6d===_0x554f4c)break;else _0x37fc8c['push'](_0x37fc8c['shift']());}catch(_0x1d1c79){_0x37fc8c['push'](_0x37fc8c['shift']());}}}(_0x107e,0x25753));import{IconUploadcareImageUpload as _0x3569f9}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x78a3be}from'ckeditor5/src/utils.js';import{Dialog as _0xcaf65a,DialogViewPosition as _0x510815}from'ckeditor5/src/ui.js';import _0xf62a0e from'./uploadcareformview.js';import{UploadcareSource as _0x5d71ef}from'../uploadcareconfig.js';import{getTranslation as _0xc04f86}from'../utils/common-translations.js';import{getImageUrls as _0x57f326,getImageDimension as _0x46a4c2}from'../utils/editingutils.js';import{isAncestor as _0x5f4cca}from'../utils/isancestor.js';export default class l extends/* #__PURE__ -- @preserve */
24
+ _0x78a3be(){[_0x650a6c(0x10c)];[_0x650a6c(0x10b)];[_0x650a6c(0xf6)];[_0x650a6c(0x110)];[_0x650a6c(0x122)]=null;[_0x650a6c(0xf1)]=null;constructor(_0x3fd947,_0x11098a,_0x29a782){const _0x4e53bd=_0x650a6c;super(),this[_0x4e53bd(0x10c)]=_0x3fd947,this[_0x4e53bd(0xf6)]=_0x11098a,this[_0x4e53bd(0x10b)]=_0x3fd947[_0x4e53bd(0x104)][_0x4e53bd(0xec)](_0xcaf65a),this[_0x4e53bd(0x110)]=_0x11098a[_0x4e53bd(0x114)][_0x4e53bd(0xfa)](),this[_0x4e53bd(0x122)]=_0x29a782,this[_0x4e53bd(0xf6)][_0x4e53bd(0x126)][_0x4e53bd(0xf7)](_0x4e53bd(0xfd),this[_0x4e53bd(0x122)]),this[_0x4e53bd(0xe8)](),this[_0x4e53bd(0x10d)](),this[_0x4e53bd(0x110)][_0x4e53bd(0x105)]();}[_0x650a6c(0xf2)](){const _0x9b699b=_0x650a6c;this[_0x9b699b(0xf1)]&&(this[_0x9b699b(0xf1)][_0x9b699b(0xf2)](),this[_0x9b699b(0xf1)]=null),this[_0x9b699b(0x110)]&&this[_0x9b699b(0x110)][_0x9b699b(0x12d)](),this[_0x9b699b(0x11d)](),this[_0x9b699b(0x123)]();}[_0x650a6c(0xe8)](){const _0x215d1e=_0x650a6c,{locale:_0xd868b4,model:_0x5d3710}=this[_0x215d1e(0x10c)],_0x5391c2=_0x5d3710[_0x215d1e(0x109)][_0x215d1e(0x125)][_0x215d1e(0x12c)](),_0x1e7f0a=_0x5391c2&&(_0x5391c2['is'](_0x215d1e(0xef),_0x215d1e(0xed))||_0x5391c2['is'](_0x215d1e(0xef),_0x215d1e(0x12b)));this[_0x215d1e(0xf1)]=new _0xf62a0e(_0xd868b4),this[_0x215d1e(0x10b)][_0x215d1e(0x10f)]({'id':_0x215d1e(0xf0),'icon':_0x3569f9,'title':_0xc04f86(_0xd868b4,this[_0x215d1e(0x122)],_0x1e7f0a?_0x215d1e(0x11f):_0x215d1e(0x11e))[_0x215d1e(0xe7)],'content':this[_0x215d1e(0xf1)],'position':_0x510815[_0x215d1e(0xf4)],'isModal':!0x0,'onShow':()=>{const _0x1a6b69=_0x215d1e;this[_0x1a6b69(0xf1)][_0x1a6b69(0x128)]();},'onHide':()=>{const _0x3725b3=_0x215d1e;this[_0x3725b3(0x110)][_0x3725b3(0x107)](),this[_0x3725b3(0x10c)][_0x3725b3(0x108)][_0x3725b3(0x106)][_0x3725b3(0x128)](),this[_0x3725b3(0xf2)]();},'keystrokeHandlerOptions':{'filter':_0x1fcff4=>!_0x5f4cca(_0x1fcff4,this[_0x215d1e(0xf1)][_0x215d1e(0xef)])}});}[_0x650a6c(0x10d)](){const _0x36b05b=_0x650a6c;this[_0x36b05b(0xf6)][_0x36b05b(0x114)][_0x36b05b(0x116)](_0x36b05b(0xf9),()=>{const _0x599860=_0x36b05b,{allEntries:_0x10802e}=this[_0x599860(0x110)][_0x599860(0x11b)]();this[_0x599860(0x10c)][_0x599860(0x115)][_0x599860(0x111)](_0x424c26=>{const _0x427e4a=_0x599860,_0x5b1f29=_0x10802e[_0x427e4a(0xf5)];for(const _0x2cb721 of _0x10802e){const _0xbdbcff=_0x2cb721===_0x10802e[_0x5b1f29-0x1],{cdnUrl:_0x54f0c7,fileInfo:_0x233b92}=_0x2cb721;if(!_0x54f0c7||!_0x233b92)continue;const {width:_0x3c9d65,height:_0x29d263}=_0x233b92[_0x427e4a(0x101)],_0x4101f2=_0x46a4c2(_0x54f0c7,_0x3c9d65,_0x29d263),_0x4cdcd9=_0x57f326(_0x54f0c7,_0x4101f2[_0x427e4a(0x10a)]),_0x4ec2bd={'id':_0x233b92[_0x427e4a(0x120)],'type':_0x427e4a(0xfb),'attributes':{'imageDimension':_0x4101f2,..._0x4cdcd9}};this[_0x427e4a(0xea)](_0x4ec2bd,_0xbdbcff,_0x424c26);}}),this[_0x599860(0x10b)][_0x599860(0xff)]();}),this[_0x36b05b(0xf6)][_0x36b05b(0x114)][_0x36b05b(0x116)](_0x36b05b(0x111),_0x264119=>{const _0x54fa23=_0x36b05b;_0x54fa23(0xf8)===_0x264119[_0x54fa23(0x124)][_0x54fa23(0xf3)]&&!_0x264119[_0x54fa23(0x124)][_0x54fa23(0x127)][_0x54fa23(0xf5)]&&this[_0x54fa23(0x10b)][_0x54fa23(0x112)]&&(this[_0x54fa23(0x122)]===_0x5d71ef[_0x54fa23(0x10e)]?this[_0x54fa23(0x110)][_0x54fa23(0xee)](_0x5d71ef[_0x54fa23(0x10e)]):this[_0x54fa23(0x110)][_0x54fa23(0x105)]());});}[_0x650a6c(0xea)](_0x5bd54d,_0x528075,_0x561715){const _0x56307a=_0x650a6c,_0x3113a6=this[_0x56307a(0x10c)][_0x56307a(0x115)][_0x56307a(0x109)][_0x56307a(0x125)],_0x3a635d=_0x3113a6[_0x56307a(0x12c)](),_0x445a14=!(!_0x3a635d||!_0x3a635d['is'](_0x56307a(0xef),_0x56307a(0x12b)));_0x561715[_0x56307a(0x118)](_0x56307a(0x11c)),this[_0x56307a(0x129)](_0x5bd54d,_0x445a14),_0x528075||_0x561715[_0x56307a(0x113)](_0x3113a6[_0x56307a(0x119)]());}[_0x650a6c(0x129)](_0x243c04,_0x1aa162){const _0x1234eb=_0x650a6c,_0x5cc39c=this[_0x1234eb(0x10c)],{imageDimension:_0xf9dac8,imageFallbackUrl:_0x4665ba,imageSources:_0x3e8e10}=_0x243c04[_0x1234eb(0xfe)];_0x5cc39c[_0x1234eb(0x121)](_0x1234eb(0x117),{'imageType':_0x1aa162?_0x1234eb(0x12b):null,'source':{'uploadcareImageId':_0x243c04['id'],'src':_0x4665ba,'sources':_0x3e8e10,..._0xf9dac8}});}}function _0x107e(){const _0x365b72=['removeSelectionAttribute','getLastPosition','1041921KescDn','getOutputCollectionState','linkHref','stopListening','Insert','Replace','uuid','execute','_type','stopDelegating','detail','selection','configElement','allEntries','focus','_insertImage','7GAstut','imageInline','getSelectedElement','doneFlow','1511096OSwUjx','text','_initDialog','26454aOFzWF','_insertAsset','672gCVrKa','get','imageBlock','setCurrentActivity','element','uploadCare','_formView','destroy','status','EDITOR_TOP_CENTER','length','_editing','setAttribute','idle','done-click','getAPI','image','555810QcMKjv','source-list','attributes','hide','46765soEDjJ','imageInfo','534062ZPzhXV','4563bQqoFX','plugins','initFlow','view','removeAllFiles','editing','document','width','_dialog','_editor','_initListeners','Local','show','_api','change','isOpen','setSelection','ctxElement','model','addEventListener','insertImage'];_0x107e=function(){return _0x365b72;};return _0x107e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2abe15=_0x2fe3;(function(_0xdce6e6,_0x555a8b){var _0x3ad8a7=_0x2fe3,_0x4f1a79=_0xdce6e6();while(!![]){try{var _0x31fc02=-parseInt(_0x3ad8a7(0x14d))/0x1*(parseInt(_0x3ad8a7(0x14c))/0x2)+parseInt(_0x3ad8a7(0x14a))/0x3*(parseInt(_0x3ad8a7(0x15f))/0x4)+-parseInt(_0x3ad8a7(0x151))/0x5*(parseInt(_0x3ad8a7(0x158))/0x6)+parseInt(_0x3ad8a7(0x15d))/0x7*(-parseInt(_0x3ad8a7(0x159))/0x8)+parseInt(_0x3ad8a7(0x153))/0x9+parseInt(_0x3ad8a7(0x157))/0xa+parseInt(_0x3ad8a7(0x150))/0xb*(parseInt(_0x3ad8a7(0x14f))/0xc);if(_0x31fc02===_0x555a8b)break;else _0x4f1a79['push'](_0x4f1a79['shift']());}catch(_0x341a96){_0x4f1a79['push'](_0x4f1a79['shift']());}}}(_0x4027,0xcff09));function _0x4027(){var _0x656ccf=['ck-reset_all-excluded','12256101xvRdZz','element','uc-file-uploader-inline','uploader','306600YBHJvl','7919196UafWgt','1112SmwNHh','ck-uploadcare-form','div','setTemplate','35861qNxpHO','getFocusableElement','8xGJpSy','focus','579276BbwtYn','ck-uploadcare-theme','2hwHZCN','612494vHqGNt','uc-light','61524sYUNqz','3685lbLQlP','5RyBraw'];_0x4027=function(){return _0x656ccf;};return _0x4027();}import _0x1f5903 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x2fe3(_0x854714,_0x18eaf0){var _0x402709=_0x4027();return _0x2fe3=function(_0x2fe3e7,_0x1e5d44){_0x2fe3e7=_0x2fe3e7-0x149;var _0x395b54=_0x402709[_0x2fe3e7];return _0x395b54;},_0x2fe3(_0x854714,_0x18eaf0);}export default class S extends _0x1f5903{constructor(_0x121cbc){var _0x366088=_0x2fe3;super(_0x121cbc),this[_0x366088(0x15c)]({'tag':_0x366088(0x15b),'attributes':{'class':['ck',_0x366088(0x152),_0x366088(0x15a)],'tabindex':'-1'},'children':[{'tag':_0x366088(0x155),'attributes':{'class':[_0x366088(0x14e),_0x366088(0x14b)],'ctx-name':_0x366088(0x156)}},this[_0x366088(0x15e)]()]});}[_0x2abe15(0x149)](){var _0x1e9472=_0x2abe15;this[_0x1e9472(0x154)][_0x1e9472(0x149)]();}}
23
+ function _0x140f(_0x28a128,_0x24a9d5){var _0x3c9958=_0x3c99();return _0x140f=function(_0x140f8d,_0x216058){_0x140f8d=_0x140f8d-0x17d;var _0x48f973=_0x3c9958[_0x140f8d];return _0x48f973;},_0x140f(_0x28a128,_0x24a9d5);}var _0x35c3a5=_0x140f;(function(_0x389be5,_0x42a65e){var _0x4d050f=_0x140f,_0x4a362f=_0x389be5();while(!![]){try{var _0x9bb4ae=-parseInt(_0x4d050f(0x17d))/0x1+-parseInt(_0x4d050f(0x18f))/0x2+parseInt(_0x4d050f(0x18d))/0x3+-parseInt(_0x4d050f(0x18b))/0x4*(-parseInt(_0x4d050f(0x18c))/0x5)+-parseInt(_0x4d050f(0x183))/0x6*(parseInt(_0x4d050f(0x190))/0x7)+-parseInt(_0x4d050f(0x18a))/0x8+parseInt(_0x4d050f(0x191))/0x9*(parseInt(_0x4d050f(0x184))/0xa);if(_0x9bb4ae===_0x42a65e)break;else _0x4a362f['push'](_0x4a362f['shift']());}catch(_0x464267){_0x4a362f['push'](_0x4a362f['shift']());}}}(_0x3c99,0xd8e33));function _0x3c99(){var _0x2da5ad=['uc-light','uploader','setTemplate','uc-file-uploader-inline','12060pwPFUM','200vBkyzm','ck-uploadcare-form','ck-reset_all-excluded','element','getFocusableElement','div','6144960RaAZmk','3548PvYrnU','2705HAoFGy','838044VOkufH','ck-uploadcare-theme','1868470suOylZ','1568rwcfTm','1392831gaRpWT','813429OEIcBz','focus'];_0x3c99=function(){return _0x2da5ad;};return _0x3c99();}import _0x314693 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class W extends _0x314693{constructor(_0x145e8d){var _0x42e78b=_0x140f;super(_0x145e8d),this[_0x42e78b(0x181)]({'tag':_0x42e78b(0x189),'attributes':{'class':['ck',_0x42e78b(0x186),_0x42e78b(0x185)],'tabindex':'-1'},'children':[{'tag':_0x42e78b(0x182),'attributes':{'class':[_0x42e78b(0x17f),_0x42e78b(0x18e)],'ctx-name':_0x42e78b(0x180)}},this[_0x42e78b(0x188)]()]});}[_0x35c3a5(0x17e)](){var _0x3eb2e8=_0x35c3a5;this[_0x3eb2e8(0x187)][_0x3eb2e8(0x17e)]();}}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e13(){var _0x3d4370=['2096666voMphw','112xorKOK','20meKZOa','82311PwkjHQ','Uploadcare','pluginName','44uBVevZ','390186CkgQgP','isOfficialPlugin','requires','URL','374432qBtkbd','45gOkKpg','122380LEKutJ','defineComponents','isPremiumPlugin','110688yupSTn','Local','uploadcare.uploader.sourceList','config','define','1409580ZBkGsu'];_0x1e13=function(){return _0x3d4370;};return _0x1e13();}var _0x2eb276=_0x1699;(function(_0x3fbb6a,_0x5eed27){var _0xeab0bf=_0x1699,_0x366b9e=_0x3fbb6a();while(!![]){try{var _0x5e70a3=parseInt(_0xeab0bf(0x156))/0x1+parseInt(_0xeab0bf(0x150))/0x2+-parseInt(_0xeab0bf(0x162))/0x3*(parseInt(_0xeab0bf(0x14f))/0x4)+-parseInt(_0xeab0bf(0x15e))/0x5+parseInt(_0xeab0bf(0x159))/0x6*(parseInt(_0xeab0bf(0x160))/0x7)+parseInt(_0xeab0bf(0x154))/0x8*(-parseInt(_0xeab0bf(0x155))/0x9)+parseInt(_0xeab0bf(0x161))/0xa*(parseInt(_0xeab0bf(0x15f))/0xb);if(_0x5e70a3===_0x5eed27)break;else _0x366b9e['push'](_0x366b9e['shift']());}catch(_0x57bbfe){_0x366b9e['push'](_0x366b9e['shift']());}}}(_0x1e13,0x2afee));import{Plugin as _0x2afbdf}from'ckeditor5/src/core.js';import _0x2a64e3 from'./uploadcareui.js';function _0x1699(_0x53ba3d,_0xef60b3){var _0x1e13a5=_0x1e13();return _0x1699=function(_0x1699e9,_0x315901){_0x1699e9=_0x1699e9-0x14f;var _0x3dba7d=_0x1e13a5[_0x1699e9];return _0x3dba7d;},_0x1699(_0x53ba3d,_0xef60b3);}import _0x3d5833 from'./uploadcareediting.js';import{UploadcareSource as _0x55ae59}from'./uploadcareconfig.js';import*as _0x21bfaa from'@uploadcare/file-uploader';export default class u extends _0x2afbdf{static get[_0x2eb276(0x152)](){return[_0x3d5833,_0x2a64e3];}static get[_0x2eb276(0x164)](){var _0x1a91e6=_0x2eb276;return _0x1a91e6(0x163);}static get[_0x2eb276(0x151)](){return!0x0;}static get[_0x2eb276(0x158)](){return!0x0;}constructor(_0x45e129){var _0x150830=_0x2eb276;super(_0x45e129),_0x45e129[_0x150830(0x15c)][_0x150830(0x15d)](_0x150830(0x15b),[_0x55ae59[_0x150830(0x15a)],_0x55ae59[_0x150830(0x153)]]),_0x21bfaa[_0x150830(0x157)](_0x21bfaa);}}
23
+ var _0x3897d7=_0xcc46;(function(_0x5145b0,_0x155f7d){var _0x4be164=_0xcc46,_0xa2239f=_0x5145b0();while(!![]){try{var _0x9e65e1=parseInt(_0x4be164(0xdf))/0x1*(parseInt(_0x4be164(0xe2))/0x2)+-parseInt(_0x4be164(0xdb))/0x3+parseInt(_0x4be164(0xe1))/0x4*(-parseInt(_0x4be164(0xda))/0x5)+-parseInt(_0x4be164(0xd8))/0x6*(-parseInt(_0x4be164(0xe8))/0x7)+parseInt(_0x4be164(0xe3))/0x8*(-parseInt(_0x4be164(0xe0))/0x9)+parseInt(_0x4be164(0xdd))/0xa+parseInt(_0x4be164(0xe6))/0xb;if(_0x9e65e1===_0x155f7d)break;else _0xa2239f['push'](_0xa2239f['shift']());}catch(_0x400a47){_0xa2239f['push'](_0xa2239f['shift']());}}}(_0x1a97,0xaa3ed));import{Plugin as _0x3ec42f}from'ckeditor5/src/core.js';function _0xcc46(_0x5303b1,_0x25197c){var _0x1a973f=_0x1a97();return _0xcc46=function(_0xcc463f,_0x1ed5ac){_0xcc463f=_0xcc463f-0xd4;var _0x524552=_0x1a973f[_0xcc463f];return _0x524552;},_0xcc46(_0x5303b1,_0x25197c);}function _0x1a97(){var _0x222268=['uploadcare.uploader.sourceList','Local','config','define','8213988BVJeRQ','URL','30LQOpAJ','228915FOtGPV','isPremiumPlugin','262240cmyBeZ','pluginName','1bcSEZR','6714522oVKVwV','926524mLATFO','2573570rWBaWm','8lDkkej','Uploadcare','requires','2502137EiyVsk','isOfficialPlugin','7Pmyjla','defineComponents'];_0x1a97=function(){return _0x222268;};return _0x1a97();}import _0x3638a6 from'./uploadcareui.js';import _0x352337 from'./uploadcareediting.js';import{UploadcareSource as _0x56cd7b}from'./uploadcareconfig.js';import*as _0x3e2177 from'@uploadcare/file-uploader';export default class u extends _0x3ec42f{static get[_0x3897d7(0xe5)](){return[_0x352337,_0x3638a6];}static get[_0x3897d7(0xde)](){var _0x25913b=_0x3897d7;return _0x25913b(0xe4);}static get[_0x3897d7(0xe7)](){return!0x0;}static get[_0x3897d7(0xdc)](){return!0x0;}constructor(_0xb606c3){var _0x2604d4=_0x3897d7;super(_0xb606c3),_0xb606c3[_0x2604d4(0xd6)][_0x2604d4(0xd7)](_0x2604d4(0xd4),[_0x56cd7b[_0x2604d4(0xd5)],_0x56cd7b[_0x2604d4(0xd9)]]),_0x3e2177[_0x2604d4(0xe9)](_0x3e2177);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2a565d=_0x1fb2;(function(_0x26242d,_0x26a870){var _0x242d79=_0x1fb2,_0x286b61=_0x26242d();while(!![]){try{var _0x15ecc4=-parseInt(_0x242d79(0xb8))/0x1*(-parseInt(_0x242d79(0xb5))/0x2)+parseInt(_0x242d79(0xb6))/0x3+parseInt(_0x242d79(0xbe))/0x4*(-parseInt(_0x242d79(0xc5))/0x5)+parseInt(_0x242d79(0xb1))/0x6*(-parseInt(_0x242d79(0xb9))/0x7)+parseInt(_0x242d79(0xc0))/0x8+parseInt(_0x242d79(0xb4))/0x9+-parseInt(_0x242d79(0xb7))/0xa*(parseInt(_0x242d79(0xbc))/0xb);if(_0x15ecc4===_0x26a870)break;else _0x286b61['push'](_0x286b61['shift']());}catch(_0x1ebdb5){_0x286b61['push'](_0x286b61['shift']());}}}(_0x211c,0xc1166));import{Command as _0x3b27ad}from'ckeditor5/src/core.js';function _0x1fb2(_0x10fa7b,_0x491fd7){var _0x211cdc=_0x211c();return _0x1fb2=function(_0x1fb2ad,_0x31297e){_0x1fb2ad=_0x1fb2ad-0xaf;var _0xc5497=_0x211cdc[_0x1fb2ad];return _0xc5497;},_0x1fb2(_0x10fa7b,_0x491fd7);}import{Dialog as _0x4a915b}from'ckeditor5/src/ui.js';function _0x211c(){var _0x53aaf5=['2995751tZpacb','destroy','603448MtcmTu','requires','3274704tXxvoy','_editing','refresh','editor','isEnabled','20WfCJbr','get','_controller','insertImage','108AivAEQ','execute','_checkEnabled','11068137msOCDF','6Uiosgr','3877575eiozfA','50aVPIMS','264519LKpnOo','376901qCrZIt','commands','plugins'];_0x211c=function(){return _0x53aaf5;};return _0x211c();}import _0x5aa585 from'./uploadcareediting.js';import _0x4c35db from'./ui/uploadcarecontroller.js';export default class l extends _0x3b27ad{static get[_0x2a565d(0xbf)](){return[_0x4a915b,_0x5aa585];}constructor(_0x297173){var _0x18942d=_0x2a565d;super(_0x297173),this[_0x18942d(0xaf)]=null,this[_0x18942d(0xc1)]=_0x297173[_0x18942d(0xbb)][_0x18942d(0xc6)](_0x5aa585);}[_0x2a565d(0xc2)](){var _0x472fd2=_0x2a565d;this[_0x472fd2(0xc4)]=this[_0x472fd2(0xb3)]();}[_0x2a565d(0xb2)](_0x3f71e2){var _0x5ccaf1=_0x2a565d;this[_0x5ccaf1(0xaf)]&&(this[_0x5ccaf1(0xaf)][_0x5ccaf1(0xbd)](),this[_0x5ccaf1(0xaf)]=null),this[_0x5ccaf1(0xaf)]=new _0x4c35db(this[_0x5ccaf1(0xc3)],this[_0x5ccaf1(0xc1)],_0x3f71e2);}[_0x2a565d(0xb3)](){var _0x254200=_0x2a565d;return this[_0x254200(0xc3)][_0x254200(0xba)][_0x254200(0xc6)](_0x254200(0xb0))[_0x254200(0xc4)];}}
23
+ var _0xafebce=_0x2335;(function(_0x910cab,_0xa14445){var _0x1a3143=_0x2335,_0x5f2a71=_0x910cab();while(!![]){try{var _0xfaceea=-parseInt(_0x1a3143(0x153))/0x1*(parseInt(_0x1a3143(0x159))/0x2)+parseInt(_0x1a3143(0x154))/0x3+-parseInt(_0x1a3143(0x158))/0x4+-parseInt(_0x1a3143(0x14f))/0x5*(-parseInt(_0x1a3143(0x15c))/0x6)+parseInt(_0x1a3143(0x15f))/0x7+parseInt(_0x1a3143(0x150))/0x8+-parseInt(_0x1a3143(0x161))/0x9*(-parseInt(_0x1a3143(0x15e))/0xa);if(_0xfaceea===_0xa14445)break;else _0x5f2a71['push'](_0x5f2a71['shift']());}catch(_0x49d1e8){_0x5f2a71['push'](_0x5f2a71['shift']());}}}(_0x2db2,0xbe7d4));function _0x2335(_0x420a8f,_0x3a84be){var _0x2db284=_0x2db2();return _0x2335=function(_0x23353d,_0x8359d1){_0x23353d=_0x23353d-0x14b;var _0x2fbd94=_0x2db284[_0x23353d];return _0x2fbd94;},_0x2335(_0x420a8f,_0x3a84be);}import{Command as _0x4068af}from'ckeditor5/src/core.js';import{Dialog as _0x1c2db4}from'ckeditor5/src/ui.js';function _0x2db2(){var _0x296be0=['4JUfcJn','1618965umKBlP','isEnabled','_controller','plugins','4046936HIJIzk','685970NQAuNu','insertImage','requires','1107372yMOJtp','editor','1020YEzOsB','9805607klUErY','_editing','17874qaZvcC','refresh','commands','_checkEnabled','get','10Tozbju','5214128RNUnOt','execute','destroy'];_0x2db2=function(){return _0x296be0;};return _0x2db2();}import _0x49604e from'./uploadcareediting.js';import _0xed0373 from'./ui/uploadcarecontroller.js';export default class n extends _0x4068af{[_0xafebce(0x160)];[_0xafebce(0x156)]=null;static get[_0xafebce(0x15b)](){return[_0x1c2db4,_0x49604e];}constructor(_0x2173b9){var _0x335608=_0xafebce;super(_0x2173b9),this[_0x335608(0x160)]=_0x2173b9[_0x335608(0x157)][_0x335608(0x14e)](_0x49604e);}[_0xafebce(0x14b)](){var _0x4aea4c=_0xafebce;this[_0x4aea4c(0x155)]=this[_0x4aea4c(0x14d)]();}[_0xafebce(0x151)](_0x57102c){var _0x24a708=_0xafebce;this[_0x24a708(0x156)]&&(this[_0x24a708(0x156)][_0x24a708(0x152)](),this[_0x24a708(0x156)]=null),this[_0x24a708(0x156)]=new _0xed0373(this[_0x24a708(0x15d)],this[_0x24a708(0x160)],_0x57102c);}[_0xafebce(0x14d)](){var _0x3ded6b=_0xafebce;return this[_0x3ded6b(0x15d)][_0x3ded6b(0x14c)][_0x3ded6b(0x14e)](_0x3ded6b(0x15a))[_0x3ded6b(0x155)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x330b(_0x392f20,_0x427e6b){var _0x462382=_0x4623();return _0x330b=function(_0x330bc1,_0x219be0){_0x330bc1=_0x330bc1-0x118;var _0x1e56bd=_0x462382[_0x330bc1];return _0x1e56bd;},_0x330b(_0x392f20,_0x427e6b);}(function(_0x272e7e,_0x1eac3b){var _0x2e2b70=_0x330b,_0x4549f7=_0x272e7e();while(!![]){try{var _0x2a1dd2=parseInt(_0x2e2b70(0x11c))/0x1+parseInt(_0x2e2b70(0x12f))/0x2*(parseInt(_0x2e2b70(0x11e))/0x3)+parseInt(_0x2e2b70(0x12d))/0x4+-parseInt(_0x2e2b70(0x125))/0x5+parseInt(_0x2e2b70(0x124))/0x6+-parseInt(_0x2e2b70(0x122))/0x7*(-parseInt(_0x2e2b70(0x12e))/0x8)+parseInt(_0x2e2b70(0x12c))/0x9*(-parseInt(_0x2e2b70(0x11d))/0xa);if(_0x2a1dd2===_0x1eac3b)break;else _0x4549f7['push'](_0x4549f7['shift']());}catch(_0x4ee21f){_0x4549f7['push'](_0x4549f7['shift']());}}}(_0x4623,0x467c6));export var UploadcareSource;!function(_0x155535){var _0x33d61c=_0x330b;_0x155535[_0x33d61c(0x11f)]=_0x33d61c(0x118),_0x155535[_0x33d61c(0x129)]=_0x33d61c(0x11b),_0x155535[_0x33d61c(0x119)]=_0x33d61c(0x120),_0x155535[_0x33d61c(0x126)]=_0x33d61c(0x127),_0x155535[_0x33d61c(0x121)]=_0x33d61c(0x12a),_0x155535[_0x33d61c(0x11a)]=_0x33d61c(0x123),_0x155535[_0x33d61c(0x12b)]=_0x33d61c(0x128);}(UploadcareSource||(UploadcareSource={}));function _0x4623(){var _0x501a5c=['dropbox','Facebook','1855RyxOEz','gphotos','834180rNDJCQ','1483150qvLoJR','GDrive','gdrive','onedrive','URL','facebook','OneDrive','4113hhKHxG','1125808KZPooi','7928ovCLmq','6WOOELM','local','Dropbox','GPhotos','url','133007OvQVhm','9130SIgdnE','186477eHPvbT','Local'];_0x4623=function(){return _0x501a5c;};return _0x4623();}
23
+ function _0x57a3(_0x337a92,_0x41f989){var _0x1e4e35=_0x1e4e();return _0x57a3=function(_0x57a3fa,_0x4ec3f6){_0x57a3fa=_0x57a3fa-0x16f;var _0x5582f5=_0x1e4e35[_0x57a3fa];return _0x5582f5;},_0x57a3(_0x337a92,_0x41f989);}(function(_0x335257,_0x5e5d3d){var _0x34099f=_0x57a3,_0x31f234=_0x335257();while(!![]){try{var _0x22fee2=parseInt(_0x34099f(0x17a))/0x1+parseInt(_0x34099f(0x179))/0x2*(-parseInt(_0x34099f(0x17b))/0x3)+-parseInt(_0x34099f(0x182))/0x4+parseInt(_0x34099f(0x171))/0x5+-parseInt(_0x34099f(0x178))/0x6+parseInt(_0x34099f(0x17e))/0x7+parseInt(_0x34099f(0x175))/0x8;if(_0x22fee2===_0x5e5d3d)break;else _0x31f234['push'](_0x31f234['shift']());}catch(_0x55e9f7){_0x31f234['push'](_0x31f234['shift']());}}}(_0x1e4e,0xcaf48));export var UploadcareSource;function _0x1e4e(){var _0x3d8f50=['183COnlAk','OneDrive','url','6829627ZTtDlz','local','gphotos','dropbox','5392892mUDrof','gdrive','Dropbox','GPhotos','GDrive','3301845YEmEPy','facebook','Facebook','URL','18183616wWNZXY','onedrive','Local','7723704rARddb','50518RCkBPO','1098628BvHqat'];_0x1e4e=function(){return _0x3d8f50;};return _0x1e4e();}!function(_0x37ad3e){var _0x2cff3d=_0x57a3;_0x37ad3e[_0x2cff3d(0x177)]=_0x2cff3d(0x17f),_0x37ad3e[_0x2cff3d(0x174)]=_0x2cff3d(0x17d),_0x37ad3e[_0x2cff3d(0x184)]=_0x2cff3d(0x181),_0x37ad3e[_0x2cff3d(0x170)]=_0x2cff3d(0x183),_0x37ad3e[_0x2cff3d(0x173)]=_0x2cff3d(0x172),_0x37ad3e[_0x2cff3d(0x16f)]=_0x2cff3d(0x180),_0x37ad3e[_0x2cff3d(0x17c)]=_0x2cff3d(0x176);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x169014=_0x2ab9;(function(_0x53d92f,_0x549ffc){const _0x41fc85=_0x2ab9,_0x4ab8bc=_0x53d92f();while(!![]){try{const _0x14ee12=-parseInt(_0x41fc85(0x130))/0x1*(-parseInt(_0x41fc85(0x155))/0x2)+parseInt(_0x41fc85(0x145))/0x3*(-parseInt(_0x41fc85(0x146))/0x4)+parseInt(_0x41fc85(0x152))/0x5*(parseInt(_0x41fc85(0x162))/0x6)+parseInt(_0x41fc85(0x12b))/0x7+parseInt(_0x41fc85(0x16d))/0x8*(-parseInt(_0x41fc85(0x14f))/0x9)+parseInt(_0x41fc85(0x172))/0xa+-parseInt(_0x41fc85(0x147))/0xb;if(_0x14ee12===_0x549ffc)break;else _0x4ab8bc['push'](_0x4ab8bc['shift']());}catch(_0x5f5d9f){_0x4ab8bc['push'](_0x4ab8bc['shift']());}}}(_0x2faf,0x271d2));import{Plugin as _0x3ae189}from'ckeditor5/src/core.js';function _0x2faf(){const _0x357a27=['490gSVuTF','init','input[uploadcare-file-input]','fromCharCode','imageInline','uploadcareImageReplace','upcast','_initCtx','removeAttribute','true','pluginName','add','getSelectedElement','344088QUYNZw','uc-config','view','href','_configElement','requires','getAttribute','uc-upload-ctx-provider','#uc-icon-arrow-down','editor','conversion','13792GuTrDO','_initImageProcessingIndicator','configElement','uploadcare','document','769730mfteXG','commands','_ctxElement','elementToAttribute','locale','_initConversion','body','schema','extend','ctxElement','map','imageBlock','config','_initConfig','1031324YxKWpP','querySelector','afterInit','destroy','once','1019xuxizj','uploadcare.pubkey','appendChild','attributeToAttribute','uploadcareImageId','UploadcareEditing','cleanupImage','contentLanguage','replaceImageSource','join','model','isRegistered','listenTo','for','execute','downcast','uploader','isOfficialPlugin','selection','remove','PictureEditing','22551VRoxzh','12xgrPaL','4911049ksyimv','isPremiumPlugin','editing','render','_initSchema','closeMax','insertImage','get','387HcjoMR','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare.uploader','20wpxFPb','data-uc-image-id','iconHrefResolver'];_0x2faf=function(){return _0x357a27;};return _0x2faf();}import{Dialog as _0x5a6526}from'ckeditor5/src/ui.js';import{createElement as _0x36750e,global as _0x1a74bf,uid as _0x23a768}from'ckeditor5/src/utils.js';import _0x33c905 from'./uploadcarecommand.js';function _0x2ab9(_0x43c941,_0x551215){const _0x2faf33=_0x2faf();return _0x2ab9=function(_0x2ab96f,_0x40d5ea){_0x2ab96f=_0x2ab96f-0x122;let _0x30b484=_0x2faf33[_0x2ab96f];return _0x30b484;},_0x2ab9(_0x43c941,_0x551215);}import _0x529255 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x47a663}from'./utils/editingutils.js';export default class i extends _0x3ae189{constructor(){const _0x103ace=_0x2ab9;super(...arguments),this[_0x103ace(0x166)]=null,this[_0x103ace(0x174)]=null;}static get[_0x169014(0x15f)](){const _0xc93433=_0x169014;return _0xc93433(0x135);}static get[_0x169014(0x167)](){const _0x1a17ff=_0x169014;return[_0x1a17ff(0x144),_0x529255,_0x5a6526];}static get[_0x169014(0x141)](){return!0x0;}static get[_0x169014(0x148)](){return!0x0;}get[_0x169014(0x16f)](){const _0x322d7a=_0x169014;return this[_0x322d7a(0x166)];}get[_0x169014(0x126)](){const _0x258d8d=_0x169014;return this[_0x258d8d(0x174)];}[_0x169014(0x156)](){const _0x46bd2e=_0x169014,_0x2bb4b8=this[_0x46bd2e(0x16b)];_0x2bb4b8[_0x46bd2e(0x173)][_0x46bd2e(0x160)](_0x46bd2e(0x170),new _0x33c905(_0x2bb4b8));}[_0x169014(0x12d)](){const _0x122e8e=_0x169014;this[_0x122e8e(0x14b)](),this[_0x122e8e(0x122)](),this[_0x122e8e(0x12a)](),this[_0x122e8e(0x15c)](),this[_0x122e8e(0x16e)](),this[_0x122e8e(0x13c)](this[_0x122e8e(0x16b)],_0x122e8e(0x12e),()=>{const _0x110ff5=_0x122e8e;this[_0x110ff5(0x166)]&&(this[_0x110ff5(0x166)][_0x110ff5(0x143)](),this[_0x110ff5(0x166)]=null),this[_0x110ff5(0x174)]&&(this[_0x110ff5(0x174)][_0x110ff5(0x143)](),this[_0x110ff5(0x174)]=null);const _0x10735e=_0x1a74bf[_0x110ff5(0x171)][_0x110ff5(0x12c)](_0x110ff5(0x157));_0x10735e&&_0x10735e[_0x110ff5(0x143)]();}),async function(_0xc7264d){const _0x4e4c0d=_0x129ec9([0x46,0x6f,0x42,0x77,0x56,0x35,0x58,0x36,0x52,0x37,0x44,0x53,0x5a,0x61,0x70,0x50,0x76,0x38,0x6b,0x62,0x67,0x6d,0x51,0x74,0x66,0x4d,0x4f,0x4c,0x43,0x59,0x55,0x6c,0x6a,0x45,0x33,0x7a,0x71,0x75,0x32,0x49,0x41,0x4a,0x54,0x30,0x64,0x65,0x31,0x4e,0x34,0x78,0x4b,0x68,0x6e,0x63,0x39,0x79,0x47,0x57,0x48,0x73,0x69,0x72]),_0x174f35=0x5661d4fa,_0x259609=0x5666b5ba^_0x174f35,_0x2a86ea=window[_0x129ec9([0x44,0x61,0x74,0x65])][_0x129ec9([0x6e,0x6f,0x77])](),_0x288e82=_0xc7264d[_0x129ec9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37638c=new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14933c=>{_0x288e82[_0x129ec9([0x6f,0x6e,0x63,0x65])](_0x129ec9([0x72,0x65,0x61,0x64,0x79]),_0x14933c);}),_0x446ebb={[_0x129ec9([0x6b,0x74,0x79])]:_0x129ec9([0x45,0x43]),[_0x129ec9([0x75,0x73,0x65])]:_0x129ec9([0x73,0x69,0x67]),[_0x129ec9([0x63,0x72,0x76])]:_0x129ec9([0x50,0x2d,0x32,0x35,0x36]),[_0x129ec9([0x78])]:_0x129ec9([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x129ec9([0x79])]:_0x129ec9([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x129ec9([0x61,0x6c,0x67])]:_0x129ec9([0x45,0x53,0x32,0x35,0x36])},_0x1ea59a=_0x288e82[_0x129ec9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x129ec9([0x67,0x65,0x74])](_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x192578(){let _0x316231,_0x18d237=null,_0x6e8a4b=null;try{if(_0x1ea59a==_0x129ec9([0x47,0x50,0x4c]))return _0x129ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x316231=_0x1e0660(),!_0x316231)return _0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x316231[_0x129ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x6e8a4b=_0x5631d5(_0x316231[_0x129ec9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x316231[_0x129ec9([0x6a,0x74,0x69])])),await _0x534e2d()?_0x5361ae()?_0x44fcdb()?_0x129ec9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x111ae4()?(_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18d237=_0x203fb7(_0x129ec9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129ec9([0x74,0x72,0x69,0x61,0x6c])&&(_0x18d237=_0x203fb7(_0x129ec9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1a754b()):_0x129ec9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x129ec9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5b7aaa){return _0x129ec9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44fcdb(){const _0x1d42af=[_0x129ec9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x129ec9([0x74,0x72,0x69,0x61,0x6c])][_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a86ea/0x3e8:0xe10*_0x259609;return _0x316231[_0x129ec9([0x65,0x78,0x70])]<_0x1d42af;}function _0x5361ae(){const _0x26d347=_0x316231[_0x129ec9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x26d347&&(!!_0x26d347[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x2a]))||!!_0x26d347[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x55,0x50,0x4c,0x43])));}function _0x111ae4(){const _0x1e4777=_0x2ab9,_0x85f262=_0x316231[_0x129ec9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x85f262||0x0==_0x85f262[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x95c503}=new URL(window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1e4777(0x165)]);if(_0x85f262[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95c503))return!0x0;const _0x3c94f0=_0x95c503[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e]));return _0x85f262[_0x129ec9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454eec=>_0x454eec[_0x129ec9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129ec9([0x2a])))[_0x129ec9([0x6d,0x61,0x70])](_0xe29a07=>_0xe29a07[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e])))[_0x129ec9([0x73,0x6f,0x6d,0x65])](_0x502b9b=>_0x3c94f0[_0x129ec9([0x65,0x76,0x65,0x72,0x79])]((_0x372096,_0x1c307d)=>_0x502b9b[_0x1c307d]===_0x372096||_0x502b9b[_0x1c307d]===_0x129ec9([0x2a])));}function _0x1a754b(){return _0x18d237&&_0x6e8a4b?new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x111fbd,_0x5948a8)=>{_0x18d237[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x111fbd,_0x5948a8),_0x6e8a4b[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x150b20=>{_0x150b20!=_0x129ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x111fbd(_0x150b20);},_0x5948a8);}):_0x18d237||_0x6e8a4b||_0x129ec9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5631d5(_0x4aed74,_0x27858b){return new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53efb0=>{if(_0xcc45df())return _0x53efb0(_0x129ec9([0x56,0x61,0x6c,0x69,0x64]));_0x597525(),_0x288e82[_0x129ec9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c6ab9=!0x1;const _0x248320=_0x23a768();function _0x4cf807(_0x5276ca){return!!_0x5276ca&&(typeof _0x5276ca===_0x129ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5276ca===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5276ca[_0x129ec9([0x74,0x68,0x65,0x6e])]===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5276ca[_0x129ec9([0x63,0x61,0x74,0x63,0x68])]===_0x129ec9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e6ced(_0x49eae7){_0x44e346(_0x49eae7)[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x530cd0=>{if(!_0x530cd0||_0x530cd0[_0x129ec9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x129ec9([0x6f,0x6b]))return _0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19e68b(_0x3a5340(_0x248320+_0x27858b))!=_0x530cd0[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x129ec9([0x56,0x61,0x6c,0x69,0x64]);})[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x3865d3=>(_0x3756b8(),_0x3865d3),()=>{const _0x9faea0=_0x212e4e();return null==_0x9faea0?(_0x3756b8(),_0x129ec9([0x56,0x61,0x6c,0x69,0x64])):_0x129ec9(_0x2a86ea-_0x9faea0>(0x726d50fa^_0x174f35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x53efb0)[_0x129ec9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x211985=0x56573a7a^_0x174f35;function _0x3756b8(){const _0x2f6a2d=_0x129ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e68b(_0x3a5340(_0x4aed74)),_0x4e51e9=_0x1bc65c(_0x19e68b(window[_0x129ec9([0x4d,0x61,0x74,0x68])][_0x129ec9([0x63,0x65,0x69,0x6c])](_0x2a86ea/_0x211985)));window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129ec9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f6a2d,_0x4e51e9);}function _0x212e4e(){const _0x384b03=_0x129ec9([0x6c,0x6c,0x63,0x74,0x2d])+_0x19e68b(_0x3a5340(_0x4aed74)),_0x15dbe9=window[_0x129ec9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129ec9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x384b03);return _0x15dbe9?window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bc65c(_0x15dbe9),0x10)*_0x211985:null;}function _0x44e346(_0x3cf946){return new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22745d,_0x223bff)=>{_0x3cf946[_0x129ec9([0x74,0x68,0x65,0x6e])](_0x22745d,_0x223bff),window[_0x129ec9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x223bff,0x5660003a^_0x174f35);});}}_0x288e82[_0x129ec9([0x6f,0x6e])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5208eb,_0x424a1d)=>{if(_0x424a1d[0x0]!=_0x4aed74)return _0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x424a1d[0x1]={..._0x424a1d[0x1],[_0x129ec9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x248320};},{[_0x129ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129ec9([0x68,0x69,0x67,0x68])}),_0x288e82[_0x129ec9([0x6f,0x6e])](_0x129ec9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1888fd=>{_0x4cf807(_0x1888fd[_0x129ec9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c6ab9=!0x0,_0x3e6ced(_0x1888fd[_0x129ec9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x129ec9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129ec9([0x6c,0x6f,0x77])}),_0x37638c[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>{_0x1c6ab9||_0x53efb0(_0x129ec9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xcc45df(){return _0x288e82[_0x129ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129ec9([0x76,0x69,0x65,0x77])][_0x129ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x129ec9([0x61,0x75,0x74,0x6f]);}function _0x597525(){_0x288e82[_0x129ec9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129ec9([0x76,0x69,0x65,0x77])][_0x129ec9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x129ec9([0x61,0x75,0x74,0x6f]);}}function _0x203fb7(_0xe51369){const _0x19a620=[new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38c0e1=>setTimeout(_0x38c0e1,0x5668ea36^_0x174f35)),_0x37638c[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26144e=>{let _0x126cb4=0x0;_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x6f,0x6e])](_0x129ec9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd788,_0x42a24f)=>{_0x42a24f[0x0][_0x129ec9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x126cb4++,_0x126cb4==(0x5661d502^_0x174f35)&&(_0x26144e(),_0x1bd788[_0x129ec9([0x6f,0x66,0x66])]());});}))];return window[_0x129ec9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x129ec9([0x72,0x61,0x63,0x65])](_0x19a620)[_0x129ec9([0x74,0x68,0x65,0x6e])](()=>_0xe51369);}async function _0x4b9677(){await _0x37638c,_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12a8d1,_0x288e82[_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c])][_0x129ec9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12a8d1,_0x288e82[_0x129ec9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x129ec9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4960df(_0x3ea155){const _0x1fbd68=_0x4e985e();_0x288e82[_0x1fbd68]=_0x129ec9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ea155,_0x3ea155!=_0x129ec9([0x56,0x61,0x6c,0x69,0x64])&&_0x4b9677();}function _0x4e985e(){const _0x3758d1=window[_0x129ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x129ec9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x129ec9([0x6e,0x6f,0x77])]())[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x129ec9([0x2e]),'');let _0x5541ea=_0x129ec9([0x46]);for(let _0x355344=0x0;_0x355344<_0x3758d1[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x355344+=0x2){let _0x41794f=window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3758d1[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x355344,_0x355344+0x2));_0x41794f>=_0x4e4c0d[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41794f-=_0x4e4c0d[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5541ea+=_0x4e4c0d[_0x41794f];}return _0x5541ea;}function _0x1e0660(){const _0x654f5e=_0x1ea59a[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e]));if(0x3!=_0x654f5e[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52ccea(_0x654f5e[0x1]);function _0x52ccea(_0xfd158a){const _0x3cbdb3=_0x1bd894(_0xfd158a);return _0x3cbdb3&&_0x4a7dc7()?_0x3cbdb3:null;function _0x4a7dc7(){const _0x587a24=_0x3cbdb3[_0x129ec9([0x6a,0x74,0x69])],_0x4d7734=window[_0x129ec9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x587a24[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x587a24[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x61dfb8={..._0x3cbdb3,[_0x129ec9([0x6a,0x74,0x69])]:_0x587a24[_0x129ec9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x587a24[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x61dfb8[_0x129ec9([0x76,0x63])],_0x3a5340(_0x61dfb8)==_0x4d7734;}}}async function _0x534e2d(){let _0x3e4948=!0x0;try{const _0x372c51=_0x1ea59a[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])](_0x129ec9([0x2e])),[_0xbd0434,_0x453cfb,_0x344a5a]=_0x372c51;return _0x224d50(_0xbd0434),await _0x4642b5(_0xbd0434,_0x453cfb,_0x344a5a),_0x3e4948;}catch(_0x373e3b){return!0x1;}function _0x224d50(_0x3ff169){const _0x1b6ac4=_0x1bd894(_0x3ff169);_0x1b6ac4&&_0x1b6ac4[_0x129ec9([0x61,0x6c,0x67])]==_0x129ec9([0x45,0x53,0x32,0x35,0x36])||(_0x3e4948=!0x1);}async function _0x4642b5(_0x46ced3,_0xef016e,_0x163289){const _0x1c553f=window[_0x129ec9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x129ec9([0x66,0x72,0x6f,0x6d])](_0xcc6026(_0x163289),_0x102fa0=>_0x102fa0[_0x129ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22dbea=new window[(_0x129ec9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x129ec9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46ced3+_0x129ec9([0x2e])+_0xef016e),_0x1dda3a=window[_0x129ec9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x129ec9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dda3a)return;const _0x452d8f=await _0x1dda3a[_0x129ec9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x129ec9([0x6a,0x77,0x6b]),_0x446ebb,{[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x45,0x43,0x44,0x53,0x41]),[_0x129ec9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x129ec9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dda3a[_0x129ec9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x45,0x43,0x44,0x53,0x41]),[_0x129ec9([0x68,0x61,0x73,0x68])]:{[_0x129ec9([0x6e,0x61,0x6d,0x65])]:_0x129ec9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x452d8f,_0x1c553f,_0x22dbea)||(_0x3e4948=!0x1);}}function _0x1bd894(_0x3c3909){return _0x3c3909[_0x129ec9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x129ec9([0x65,0x79]))?JSON[_0x129ec9([0x70,0x61,0x72,0x73,0x65])](_0xcc6026(_0x3c3909)):null;}function _0xcc6026(_0x3c3027){return window[_0x129ec9([0x61,0x74,0x6f,0x62])](_0x3c3027[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x129ec9([0x2b]))[_0x129ec9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x129ec9([0x2f])));}function _0x3a5340(_0x124e63){let _0x50dfee=0x1505;function _0x47c0bd(_0x4a4d1f){for(let _0x41565e=0x0;_0x41565e<_0x4a4d1f[_0x129ec9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41565e++){const _0x1a65a3=_0x4a4d1f[_0x129ec9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41565e);_0x50dfee=(_0x50dfee<<0x5)+_0x50dfee+_0x1a65a3,_0x50dfee&=_0x50dfee;}}function _0x46c8eb(_0x2f2252){Array[_0x129ec9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f2252)?_0x2f2252[_0x129ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46c8eb):_0x2f2252&&typeof _0x2f2252==_0x129ec9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x129ec9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f2252)[_0x129ec9([0x73,0x6f,0x72,0x74])]()[_0x129ec9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d99fb,_0xc90909])=>{_0x47c0bd(_0x1d99fb),_0x46c8eb(_0xc90909);}):_0x47c0bd(window[_0x129ec9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f2252));}return _0x46c8eb(_0x124e63),_0x50dfee>>>0x0;}function _0x19e68b(_0x5954e8){return _0x5954e8[_0x129ec9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x129ec9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x129ec9([0x30]));}function _0x1bc65c(_0x11386d){return _0x11386d[_0x129ec9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x129ec9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x129ec9([0x6a,0x6f,0x69,0x6e])]('');}function _0x12a8d1(){}function _0x129ec9(_0x32890c){const _0x23b638=_0x2ab9;return _0x32890c[_0x23b638(0x127)](_0x500d05=>String[_0x23b638(0x158)](_0x500d05))[_0x23b638(0x139)]('');}_0x4960df(await _0x192578());}(this);}[_0x169014(0x14b)](){const _0x442c58=_0x169014,_0x3f66b5=this[_0x442c58(0x16b)][_0x442c58(0x13a)][_0x442c58(0x124)];_0x3f66b5[_0x442c58(0x13b)](_0x442c58(0x128))&&_0x3f66b5[_0x442c58(0x125)](_0x442c58(0x128),{'allowAttributes':[_0x442c58(0x134)]}),_0x3f66b5[_0x442c58(0x13b)](_0x442c58(0x159))&&_0x3f66b5[_0x442c58(0x125)](_0x442c58(0x159),{'allowAttributes':[_0x442c58(0x134)]});}[_0x169014(0x122)](){const _0x1cbcd2=_0x169014,_0x1cea77=this[_0x1cbcd2(0x16b)];_0x1cea77[_0x1cbcd2(0x16c)][_0x1cbcd2(0x13d)](_0x1cbcd2(0x13f))[_0x1cbcd2(0x133)]({'model':_0x1cbcd2(0x134),'view':_0x1cbcd2(0x153)}),_0x1cea77[_0x1cbcd2(0x16c)][_0x1cbcd2(0x13d)](_0x1cbcd2(0x15b))[_0x1cbcd2(0x175)]({'model':{'key':_0x1cbcd2(0x134),'value':_0x39e3f8=>_0x39e3f8[_0x1cbcd2(0x168)](_0x1cbcd2(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xccd12f=_0x1cea77[_0x1cbcd2(0x173)][_0x1cbcd2(0x14e)](_0x1cbcd2(0x138));_0xccd12f&&this[_0x1cbcd2(0x13c)](_0xccd12f,_0x1cbcd2(0x136),(_0x4c8ce0,[_0x220a24,_0x364fd0])=>{const _0x13f174=_0x1cbcd2;_0x220a24[_0x13f174(0x15d)](_0x13f174(0x134),_0x364fd0);});}[_0x169014(0x12a)](){const _0x3af431=_0x169014,_0x2cbd90=this[_0x3af431(0x16b)][_0x3af431(0x129)][_0x3af431(0x14e)](_0x3af431(0x151))||{},_0x423860=this[_0x3af431(0x16b)][_0x3af431(0x129)][_0x3af431(0x14e)](_0x3af431(0x131))||'';this[_0x3af431(0x166)]=_0x36750e(_0x1a74bf[_0x3af431(0x171)],_0x3af431(0x163),{..._0x2cbd90,'pubkey':_0x423860,'ctx-name':_0x3af431(0x140),'sourceList':'','imgOnly':_0x3af431(0x15e),'removeCopyright':_0x3af431(0x15e),'localeName':this[_0x3af431(0x16b)][_0x3af431(0x176)][_0x3af431(0x137)],'externalSourcesEmbedCss':_0x3af431(0x150)}),this[_0x3af431(0x166)][_0x3af431(0x154)]=_0x5b9666=>{const _0x55bbc6=_0x3af431;if(_0x55bbc6(0x14c)==_0x5b9666)return _0x55bbc6(0x16a);},_0x1a74bf[_0x3af431(0x171)][_0x3af431(0x123)][_0x3af431(0x132)](this[_0x3af431(0x166)]);}[_0x169014(0x15c)](){const _0x3d939d=_0x169014;this[_0x3d939d(0x174)]=_0x36750e(_0x1a74bf[_0x3d939d(0x171)],_0x3d939d(0x169),{'ctx-name':_0x3d939d(0x140)}),_0x1a74bf[_0x3d939d(0x171)][_0x3d939d(0x123)][_0x3d939d(0x132)](this[_0x3d939d(0x174)]);}[_0x169014(0x16e)](){const _0x4db2e0=_0x169014,_0x278657=this[_0x4db2e0(0x16b)][_0x4db2e0(0x173)][_0x4db2e0(0x14e)](_0x4db2e0(0x14d));_0x278657&&this[_0x4db2e0(0x13c)](_0x278657,_0x4db2e0(0x13e),()=>{const _0x30a392=_0x4db2e0,_0x1a7d99=this[_0x30a392(0x16b)][_0x30a392(0x13a)][_0x30a392(0x171)][_0x30a392(0x142)][_0x30a392(0x161)]();_0x1a7d99&&_0x1a7d99[_0x30a392(0x168)](_0x30a392(0x134))&&this[_0x30a392(0x16b)][_0x30a392(0x149)][_0x30a392(0x164)][_0x30a392(0x12f)](_0x30a392(0x14a),()=>{const _0x3a3653=_0x30a392;_0x47a663(this[_0x3a3653(0x16b)],_0x1a7d99);});});const _0x4e744a=this[_0x4db2e0(0x16b)][_0x4db2e0(0x173)][_0x4db2e0(0x14e)](_0x4db2e0(0x15a));_0x4e744a&&this[_0x4db2e0(0x13c)](_0x4e744a,_0x4db2e0(0x13e),()=>{const _0x57af9c=_0x4db2e0,_0xd38fd0=this[_0x57af9c(0x16b)][_0x57af9c(0x13a)][_0x57af9c(0x171)][_0x57af9c(0x142)][_0x57af9c(0x161)]();_0xd38fd0&&_0xd38fd0[_0x57af9c(0x168)](_0x57af9c(0x134))&&this[_0x57af9c(0x16b)][_0x57af9c(0x149)][_0x57af9c(0x164)][_0x57af9c(0x12f)](_0x57af9c(0x14a),()=>{const _0x1cf4e4=_0x57af9c;_0x47a663(this[_0x1cf4e4(0x16b)],_0xd38fd0);});});}}
23
+ const _0x4bb3df=_0x672a;(function(_0x190d8f,_0x5e5f63){const _0x2fb6d9=_0x672a,_0x1864d4=_0x190d8f();while(!![]){try{const _0x5268d8=-parseInt(_0x2fb6d9(0x17e))/0x1*(-parseInt(_0x2fb6d9(0x1ae))/0x2)+parseInt(_0x2fb6d9(0x1bc))/0x3*(parseInt(_0x2fb6d9(0x199))/0x4)+-parseInt(_0x2fb6d9(0x18b))/0x5+-parseInt(_0x2fb6d9(0x1a4))/0x6*(parseInt(_0x2fb6d9(0x1cb))/0x7)+parseInt(_0x2fb6d9(0x1cf))/0x8+parseInt(_0x2fb6d9(0x198))/0x9*(-parseInt(_0x2fb6d9(0x18f))/0xa)+parseInt(_0x2fb6d9(0x18a))/0xb*(parseInt(_0x2fb6d9(0x18e))/0xc);if(_0x5268d8===_0x5e5f63)break;else _0x1864d4['push'](_0x1864d4['shift']());}catch(_0x2987b3){_0x1864d4['push'](_0x1864d4['shift']());}}}(_0x5e6a,0xc19c1));import{Plugin as _0x485687}from'ckeditor5/src/core.js';import{Dialog as _0x571aab}from'ckeditor5/src/ui.js';import{createElement as _0x2387d2,global as _0x57c9cb,uid as _0x2cfc5d}from'ckeditor5/src/utils.js';import _0x248e8e from'./uploadcarecommand.js';function _0x5e6a(){const _0x1f83ef=['querySelector','_configElement','execute','init','href','9TfMARq','20RwjRkl','#uc-icon-arrow-down','commands','pluginName','config','UploadcareEditing','imageBlock','add','getSelectedElement','for','join','6aEcBQf','isRegistered','map','input[uploadcare-file-input]','afterInit','isOfficialPlugin','editing','isPremiumPlugin','configElement','removeAttribute','114QumCsl','downcast','uc-upload-ctx-provider','uploadcare','remove','insertImage','getAttribute','fromCharCode','model','uploadcareImageReplace','listenTo','attributeToAttribute','_initCtx','PictureEditing','463383RBsOGF','uploadcare.pubkey','selection','upcast','requires','elementToAttribute','contentLanguage','get','uc-config','extend','imageInline','closeMax','ctxElement','cleanupImage','destroy','2320297BQfpHj','schema','true','_initSchema','11179792rNgPVT','data-uc-image-id','document','editor','_ctxElement','6563abUPCI','body','\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','appendChild','_initImageProcessingIndicator','uploader','_initConversion','_initConfig','uploadcare.uploader','render','uploadcareImageId','locale','203731YOQVPk','6730905tdtrHV','view','conversion','408PYVPhh','7029070teVrdn','replaceImageSource','once','iconHrefResolver'];_0x5e6a=function(){return _0x1f83ef;};return _0x5e6a();}import _0x2d3ae5 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x35eca9}from'./utils/editingutils.js';function _0x672a(_0x2f326e,_0x2b65ca){const _0x5e6aed=_0x5e6a();return _0x672a=function(_0x672ac6,_0x95e8e6){_0x672ac6=_0x672ac6-0x17d;let _0x441dad=_0x5e6aed[_0x672ac6];return _0x441dad;},_0x672a(_0x2f326e,_0x2b65ca);}export default class i extends _0x485687{[_0x4bb3df(0x194)]=null;[_0x4bb3df(0x17d)]=null;static get[_0x4bb3df(0x19c)](){const _0x35b2a1=_0x4bb3df;return _0x35b2a1(0x19e);}static get[_0x4bb3df(0x1c0)](){const _0x2fe810=_0x4bb3df;return[_0x2fe810(0x1bb),_0x2d3ae5,_0x571aab];}static get[_0x4bb3df(0x1a9)](){return!0x0;}static get[_0x4bb3df(0x1ab)](){return!0x0;}get[_0x4bb3df(0x1ac)](){const _0x435b52=_0x4bb3df;return this[_0x435b52(0x194)];}get[_0x4bb3df(0x1c8)](){const _0x205a5b=_0x4bb3df;return this[_0x205a5b(0x17d)];}[_0x4bb3df(0x196)](){const _0x35a6f6=_0x4bb3df,_0x38aa1e=this[_0x35a6f6(0x1d2)];_0x38aa1e[_0x35a6f6(0x19b)][_0x35a6f6(0x1a0)](_0x35a6f6(0x1b1),new _0x248e8e(_0x38aa1e));}[_0x4bb3df(0x1a8)](){const _0x1e1c6f=_0x4bb3df;this[_0x1e1c6f(0x1ce)](),this[_0x1e1c6f(0x184)](),this[_0x1e1c6f(0x185)](),this[_0x1e1c6f(0x1ba)](),this[_0x1e1c6f(0x182)](),this[_0x1e1c6f(0x1b8)](this[_0x1e1c6f(0x1d2)],_0x1e1c6f(0x1ca),()=>{const _0x328b53=_0x1e1c6f;this[_0x328b53(0x194)]&&(this[_0x328b53(0x194)][_0x328b53(0x1b2)](),this[_0x328b53(0x194)]=null),this[_0x328b53(0x17d)]&&(this[_0x328b53(0x17d)][_0x328b53(0x1b2)](),this[_0x328b53(0x17d)]=null);const _0x57317a=_0x57c9cb[_0x328b53(0x1d1)][_0x328b53(0x193)](_0x328b53(0x1a7));_0x57317a&&_0x57317a[_0x328b53(0x1b2)]();}),async function(_0x4104c1){const _0x4ae7cc=_0x557ce1([0x55,0x50,0x56,0x6e,0x69,0x63,0x38,0x79,0x4a,0x74,0x32,0x53,0x75,0x30,0x64,0x68,0x47,0x51,0x34,0x4b,0x62,0x41,0x46,0x58,0x6f,0x37,0x31,0x54,0x6b,0x72,0x36,0x6c,0x35,0x67,0x78,0x39,0x33,0x4d,0x4c,0x45,0x71,0x6d,0x52,0x61,0x5a,0x7a,0x4f,0x76,0x70,0x48,0x4e,0x6a,0x42,0x65,0x49,0x77,0x44,0x66,0x43,0x59,0x57,0x73]),_0x1b5ae0=0x130b9005,_0x957199=0x130cf33d^_0x1b5ae0,_0x492d98=window[_0x557ce1([0x44,0x61,0x74,0x65])][_0x557ce1([0x6e,0x6f,0x77])](),_0x57a89e=_0x4104c1[_0x557ce1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4327d3=new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319a15=>{_0x57a89e[_0x557ce1([0x6f,0x6e,0x63,0x65])](_0x557ce1([0x72,0x65,0x61,0x64,0x79]),_0x319a15);}),_0x1becc6={[_0x557ce1([0x6b,0x74,0x79])]:_0x557ce1([0x45,0x43]),[_0x557ce1([0x75,0x73,0x65])]:_0x557ce1([0x73,0x69,0x67]),[_0x557ce1([0x63,0x72,0x76])]:_0x557ce1([0x50,0x2d,0x32,0x35,0x36]),[_0x557ce1([0x78])]:_0x557ce1([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]),[_0x557ce1([0x79])]:_0x557ce1([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]),[_0x557ce1([0x61,0x6c,0x67])]:_0x557ce1([0x45,0x53,0x32,0x35,0x36])},_0x419c34=_0x57a89e[_0x557ce1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x557ce1([0x67,0x65,0x74])](_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x366bf1(){let _0x2c3da8,_0x37c99c=null,_0x5a7e31=null;try{if(_0x419c34==_0x557ce1([0x47,0x50,0x4c]))return _0x557ce1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c3da8=_0x509cdb(),!_0x2c3da8)return _0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c3da8[_0x557ce1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a7e31=_0x44c2ed(_0x2c3da8[_0x557ce1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c3da8[_0x557ce1([0x6a,0x74,0x69])])),await _0x5c196a()?_0x5ae4f7()?_0x2638f6()?_0x557ce1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4133e6()?(_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557ce1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37c99c=_0x195858(_0x557ce1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x557ce1([0x74,0x72,0x69,0x61,0x6c])&&(_0x37c99c=_0x195858(_0x557ce1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a6d84()):_0x557ce1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x557ce1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x127ecc){return _0x557ce1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2638f6(){const _0xe3b2d6=[_0x557ce1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x557ce1([0x74,0x72,0x69,0x61,0x6c])][_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x492d98/0x3e8:0xe10*_0x957199;return _0x2c3da8[_0x557ce1([0x65,0x78,0x70])]<_0xe3b2d6;}function _0x5ae4f7(){const _0x12cf9e=_0x2c3da8[_0x557ce1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12cf9e&&(!!_0x12cf9e[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x2a]))||!!_0x12cf9e[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x55,0x50,0x4c,0x43])));}function _0x4133e6(){const _0x3b52f5=_0x672a,_0x2c1111=_0x2c3da8[_0x557ce1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c1111||0x0==_0x2c1111[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b075b}=new URL(window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3b52f5(0x197)]);if(_0x2c1111[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b075b))return!0x0;const _0x44138a=_0x2b075b[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e]));return _0x2c1111[_0x557ce1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c073d=>_0x1c073d[_0x557ce1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557ce1([0x2a])))[_0x557ce1([0x6d,0x61,0x70])](_0x2fdd6d=>_0x2fdd6d[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e])))[_0x557ce1([0x73,0x6f,0x6d,0x65])](_0x5b2ef1=>_0x44138a[_0x557ce1([0x65,0x76,0x65,0x72,0x79])]((_0x406159,_0x4a5868)=>_0x5b2ef1[_0x4a5868]===_0x406159||_0x5b2ef1[_0x4a5868]===_0x557ce1([0x2a])));}function _0x3a6d84(){return _0x37c99c&&_0x5a7e31?new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd29a7f,_0x5ad0d4)=>{_0x37c99c[_0x557ce1([0x74,0x68,0x65,0x6e])](_0xd29a7f,_0x5ad0d4),_0x5a7e31[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x4da967=>{_0x4da967!=_0x557ce1([0x56,0x61,0x6c,0x69,0x64])&&_0xd29a7f(_0x4da967);},_0x5ad0d4);}):_0x37c99c||_0x5a7e31||_0x557ce1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44c2ed(_0x21e639,_0x362d98){return new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x594eaa=>{if(_0xaecaa1())return _0x594eaa(_0x557ce1([0x56,0x61,0x6c,0x69,0x64]));_0x428196(),_0x57a89e[_0x557ce1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b863=!0x1;const _0x49df4a=_0x2cfc5d();function _0x3016f4(_0x5c37ec){return!!_0x5c37ec&&(typeof _0x5c37ec===_0x557ce1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c37ec===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c37ec[_0x557ce1([0x74,0x68,0x65,0x6e])]===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c37ec[_0x557ce1([0x63,0x61,0x74,0x63,0x68])]===_0x557ce1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57ea32(_0x1c0bcc){_0x30bf38(_0x1c0bcc)[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x430013=>{if(!_0x430013||_0x430013[_0x557ce1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x557ce1([0x6f,0x6b]))return _0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a96c6(_0x5ede6d(_0x49df4a+_0x362d98))!=_0x430013[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x557ce1([0x56,0x61,0x6c,0x69,0x64]);})[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x5f303b=>(_0x347910(),_0x5f303b),()=>{const _0x4c9836=_0x4f132f();return null==_0x4c9836?(_0x347910(),_0x557ce1([0x56,0x61,0x6c,0x69,0x64])):_0x557ce1(_0x492d98-_0x4c9836>(0x37071405^_0x1b5ae0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x594eaa)[_0x557ce1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3facf8=0x133d7e85^_0x1b5ae0;function _0x347910(){const _0x1a5688=_0x557ce1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a96c6(_0x5ede6d(_0x21e639)),_0x432b3e=_0x2ea8c2(_0x1a96c6(window[_0x557ce1([0x4d,0x61,0x74,0x68])][_0x557ce1([0x63,0x65,0x69,0x6c])](_0x492d98/_0x3facf8)));window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557ce1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a5688,_0x432b3e);}function _0x4f132f(){const _0x4b82a6=_0x557ce1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a96c6(_0x5ede6d(_0x21e639)),_0xfdc2cc=window[_0x557ce1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x557ce1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b82a6);return _0xfdc2cc?window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ea8c2(_0xfdc2cc),0x10)*_0x3facf8:null;}function _0x30bf38(_0x3a94b0){return new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8844ee,_0x50a0f8)=>{_0x3a94b0[_0x557ce1([0x74,0x68,0x65,0x6e])](_0x8844ee,_0x50a0f8),window[_0x557ce1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50a0f8,0x130a44c5^_0x1b5ae0);});}}_0x57a89e[_0x557ce1([0x6f,0x6e])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34295f,_0x4eed22)=>{if(_0x4eed22[0x0]!=_0x21e639)return _0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eed22[0x1]={..._0x4eed22[0x1],[_0x557ce1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49df4a};},{[_0x557ce1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557ce1([0x68,0x69,0x67,0x68])}),_0x57a89e[_0x557ce1([0x6f,0x6e])](_0x557ce1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x253982=>{_0x3016f4(_0x253982[_0x557ce1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b863=!0x0,_0x57ea32(_0x253982[_0x557ce1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x557ce1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x557ce1([0x6c,0x6f,0x77])}),_0x4327d3[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>{_0x29b863||_0x594eaa(_0x557ce1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xaecaa1(){return _0x57a89e[_0x557ce1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557ce1([0x76,0x69,0x65,0x77])][_0x557ce1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x557ce1([0x61,0x75,0x74,0x6f]);}function _0x428196(){_0x57a89e[_0x557ce1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x557ce1([0x76,0x69,0x65,0x77])][_0x557ce1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x557ce1([0x61,0x75,0x74,0x6f]);}}function _0x195858(_0x720cf3){const _0x448d12=[new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x431987=>setTimeout(_0x431987,0x1302aec9^_0x1b5ae0)),_0x4327d3[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x344f77=>{let _0x45cd7a=0x0;_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x6f,0x6e])](_0x557ce1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e62b2,_0x24f2d4)=>{_0x24f2d4[0x0][_0x557ce1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45cd7a++,_0x45cd7a==(0x130b91fd^_0x1b5ae0)&&(_0x344f77(),_0x2e62b2[_0x557ce1([0x6f,0x66,0x66])]());});}))];return window[_0x557ce1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x557ce1([0x72,0x61,0x63,0x65])](_0x448d12)[_0x557ce1([0x74,0x68,0x65,0x6e])](()=>_0x720cf3);}async function _0x85ebe0(){await _0x4327d3,_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bba1d,_0x57a89e[_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c])][_0x557ce1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bba1d,_0x57a89e[_0x557ce1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x557ce1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b629f(_0x4c837c){const _0x34d321=_0x3bbc06();_0x57a89e[_0x34d321]=_0x557ce1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c837c,_0x4c837c!=_0x557ce1([0x56,0x61,0x6c,0x69,0x64])&&_0x85ebe0();}function _0x3bbc06(){const _0x16f1b5=window[_0x557ce1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x557ce1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x557ce1([0x6e,0x6f,0x77])]())[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x557ce1([0x2e]),'');let _0xe7e465=_0x557ce1([0x55]);for(let _0x556b25=0x0;_0x556b25<_0x16f1b5[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x556b25+=0x2){let _0x238421=window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16f1b5[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556b25,_0x556b25+0x2));_0x238421>=_0x4ae7cc[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x238421-=_0x4ae7cc[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe7e465+=_0x4ae7cc[_0x238421];}return _0xe7e465;}function _0x509cdb(){const _0x12f182=_0x419c34[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e]));if(0x3!=_0x12f182[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2779a6(_0x12f182[0x1]);function _0x2779a6(_0x56a580){const _0x573697=_0x23b742(_0x56a580);return _0x573697&&_0x49c557()?_0x573697:null;function _0x49c557(){const _0x2500dd=_0x573697[_0x557ce1([0x6a,0x74,0x69])],_0x5a9ba0=window[_0x557ce1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2500dd[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2500dd[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2682ff={..._0x573697,[_0x557ce1([0x6a,0x74,0x69])]:_0x2500dd[_0x557ce1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2500dd[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2682ff[_0x557ce1([0x76,0x63])],_0x5ede6d(_0x2682ff)==_0x5a9ba0;}}}async function _0x5c196a(){let _0x1cb9e4=!0x0;try{const _0x38e6ad=_0x419c34[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])](_0x557ce1([0x2e])),[_0x18c0c4,_0x459d12,_0x32052f]=_0x38e6ad;return _0xa9e2bc(_0x18c0c4),await _0x48f3b4(_0x18c0c4,_0x459d12,_0x32052f),_0x1cb9e4;}catch(_0x29d4c9){return!0x1;}function _0xa9e2bc(_0x1b7942){const _0x21e5e9=_0x23b742(_0x1b7942);_0x21e5e9&&_0x21e5e9[_0x557ce1([0x61,0x6c,0x67])]==_0x557ce1([0x45,0x53,0x32,0x35,0x36])||(_0x1cb9e4=!0x1);}async function _0x48f3b4(_0x40b006,_0x2cb86e,_0x227b13){const _0x2200e1=window[_0x557ce1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x557ce1([0x66,0x72,0x6f,0x6d])](_0x32f708(_0x227b13),_0x51a91f=>_0x51a91f[_0x557ce1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56db7e=new window[(_0x557ce1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x557ce1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40b006+_0x557ce1([0x2e])+_0x2cb86e),_0x10e6a4=window[_0x557ce1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x557ce1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10e6a4)return;const _0x51ab0a=await _0x10e6a4[_0x557ce1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x557ce1([0x6a,0x77,0x6b]),_0x1becc6,{[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x45,0x43,0x44,0x53,0x41]),[_0x557ce1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x557ce1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10e6a4[_0x557ce1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x45,0x43,0x44,0x53,0x41]),[_0x557ce1([0x68,0x61,0x73,0x68])]:{[_0x557ce1([0x6e,0x61,0x6d,0x65])]:_0x557ce1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51ab0a,_0x2200e1,_0x56db7e)||(_0x1cb9e4=!0x1);}}function _0x23b742(_0x4b8b93){return _0x4b8b93[_0x557ce1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x557ce1([0x65,0x79]))?JSON[_0x557ce1([0x70,0x61,0x72,0x73,0x65])](_0x32f708(_0x4b8b93)):null;}function _0x32f708(_0x2a05bd){return window[_0x557ce1([0x61,0x74,0x6f,0x62])](_0x2a05bd[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x557ce1([0x2b]))[_0x557ce1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x557ce1([0x2f])));}function _0x5ede6d(_0x433c66){let _0x1c65bf=0x1505;function _0x702c9b(_0x5dc3e1){for(let _0x11e774=0x0;_0x11e774<_0x5dc3e1[_0x557ce1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11e774++){const _0x422057=_0x5dc3e1[_0x557ce1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x11e774);_0x1c65bf=(_0x1c65bf<<0x5)+_0x1c65bf+_0x422057,_0x1c65bf&=_0x1c65bf;}}function _0x44271c(_0x1caac8){Array[_0x557ce1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1caac8)?_0x1caac8[_0x557ce1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44271c):_0x1caac8&&typeof _0x1caac8==_0x557ce1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x557ce1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1caac8)[_0x557ce1([0x73,0x6f,0x72,0x74])]()[_0x557ce1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x247a11,_0x870c62])=>{_0x702c9b(_0x247a11),_0x44271c(_0x870c62);}):_0x702c9b(window[_0x557ce1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1caac8));}return _0x44271c(_0x433c66),_0x1c65bf>>>0x0;}function _0x1a96c6(_0x1111b5){return _0x1111b5[_0x557ce1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x557ce1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x557ce1([0x30]));}function _0x2ea8c2(_0x144ef3){return _0x144ef3[_0x557ce1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x557ce1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x557ce1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5bba1d(){}function _0x557ce1(_0x2bf107){const _0x4d7cae=_0x672a;return _0x2bf107[_0x4d7cae(0x1a6)](_0x4492eb=>String[_0x4d7cae(0x1b5)](_0x4492eb))[_0x4d7cae(0x1a3)]('');}_0x4b629f(await _0x366bf1());}(this);}[_0x4bb3df(0x1ce)](){const _0xa17742=_0x4bb3df,_0x55a629=this[_0xa17742(0x1d2)][_0xa17742(0x1b6)][_0xa17742(0x1cc)];_0x55a629[_0xa17742(0x1a5)](_0xa17742(0x19f))&&_0x55a629[_0xa17742(0x1c5)](_0xa17742(0x19f),{'allowAttributes':[_0xa17742(0x188)]}),_0x55a629[_0xa17742(0x1a5)](_0xa17742(0x1c6))&&_0x55a629[_0xa17742(0x1c5)](_0xa17742(0x1c6),{'allowAttributes':[_0xa17742(0x188)]});}[_0x4bb3df(0x184)](){const _0x304fb8=_0x4bb3df,_0x2a59ed=this[_0x304fb8(0x1d2)];_0x2a59ed[_0x304fb8(0x18d)][_0x304fb8(0x1a2)](_0x304fb8(0x1af))[_0x304fb8(0x1b9)]({'model':_0x304fb8(0x188),'view':_0x304fb8(0x1d0)}),_0x2a59ed[_0x304fb8(0x18d)][_0x304fb8(0x1a2)](_0x304fb8(0x1bf))[_0x304fb8(0x1c1)]({'model':{'key':_0x304fb8(0x188),'value':_0x1a9e94=>_0x1a9e94[_0x304fb8(0x1b4)](_0x304fb8(0x1d0))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2bbfa3=_0x2a59ed[_0x304fb8(0x19b)][_0x304fb8(0x1c3)](_0x304fb8(0x190));_0x2bbfa3&&this[_0x304fb8(0x1b8)](_0x2bbfa3,_0x304fb8(0x1c9),(_0x17688c,[_0x8d2fc0,_0x279759])=>{const _0x55e2d2=_0x304fb8;_0x8d2fc0[_0x55e2d2(0x1ad)](_0x55e2d2(0x188),_0x279759);});}[_0x4bb3df(0x185)](){const _0x5b6e7a=_0x4bb3df,_0x5b6c3=this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x19d)][_0x5b6e7a(0x1c3)](_0x5b6e7a(0x186))||{},_0x42e0a0=this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x19d)][_0x5b6e7a(0x1c3)](_0x5b6e7a(0x1bd))||'';this[_0x5b6e7a(0x194)]=_0x2387d2(_0x57c9cb[_0x5b6e7a(0x1d1)],_0x5b6e7a(0x1c4),{..._0x5b6c3,'pubkey':_0x42e0a0,'ctx-name':_0x5b6e7a(0x183),'sourceList':'','imgOnly':_0x5b6e7a(0x1cd),'removeCopyright':_0x5b6e7a(0x1cd),'localeName':this[_0x5b6e7a(0x1d2)][_0x5b6e7a(0x189)][_0x5b6e7a(0x1c2)],'externalSourcesEmbedCss':_0x5b6e7a(0x180)}),this[_0x5b6e7a(0x194)][_0x5b6e7a(0x192)]=_0x5ea1dd=>{const _0xd09279=_0x5b6e7a;if(_0xd09279(0x1c7)==_0x5ea1dd)return _0xd09279(0x19a);},_0x57c9cb[_0x5b6e7a(0x1d1)][_0x5b6e7a(0x17f)][_0x5b6e7a(0x181)](this[_0x5b6e7a(0x194)]);}[_0x4bb3df(0x1ba)](){const _0x7cdab4=_0x4bb3df;this[_0x7cdab4(0x17d)]=_0x2387d2(_0x57c9cb[_0x7cdab4(0x1d1)],_0x7cdab4(0x1b0),{'ctx-name':_0x7cdab4(0x183)}),_0x57c9cb[_0x7cdab4(0x1d1)][_0x7cdab4(0x17f)][_0x7cdab4(0x181)](this[_0x7cdab4(0x17d)]);}[_0x4bb3df(0x182)](){const _0x326568=_0x4bb3df,_0x31e506=this[_0x326568(0x1d2)][_0x326568(0x19b)][_0x326568(0x1c3)](_0x326568(0x1b3));_0x31e506&&this[_0x326568(0x1b8)](_0x31e506,_0x326568(0x195),()=>{const _0x37985c=_0x326568,_0x434175=this[_0x37985c(0x1d2)][_0x37985c(0x1b6)][_0x37985c(0x1d1)][_0x37985c(0x1be)][_0x37985c(0x1a1)]();_0x434175&&_0x434175[_0x37985c(0x1b4)](_0x37985c(0x188))&&this[_0x37985c(0x1d2)][_0x37985c(0x1aa)][_0x37985c(0x18c)][_0x37985c(0x191)](_0x37985c(0x187),()=>{const _0x33c231=_0x37985c;_0x35eca9(this[_0x33c231(0x1d2)],_0x434175);});});const _0x820574=this[_0x326568(0x1d2)][_0x326568(0x19b)][_0x326568(0x1c3)](_0x326568(0x1b7));_0x820574&&this[_0x326568(0x1b8)](_0x820574,_0x326568(0x195),()=>{const _0x20bbde=_0x326568,_0x35a69f=this[_0x20bbde(0x1d2)][_0x20bbde(0x1b6)][_0x20bbde(0x1d1)][_0x20bbde(0x1be)][_0x20bbde(0x1a1)]();_0x35a69f&&_0x35a69f[_0x20bbde(0x1b4)](_0x20bbde(0x188))&&this[_0x20bbde(0x1d2)][_0x20bbde(0x1aa)][_0x20bbde(0x18c)][_0x20bbde(0x191)](_0x20bbde(0x187),()=>{const _0x12a403=_0x20bbde;_0x35eca9(this[_0x12a403(0x1d2)],_0x35a69f);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1bc5c5,ObservableMixin as _0x69f636}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1d2dbb}from'ckeditor5/src/ui.js';import _0xda9734 from'./uploadcareimageeditformview.js';import _0x3c2194 from'../../utils/uploadutils.js';import _0x5914eb from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x57b248,getImageDimension as _0x5b0581}from'../../utils/editingutils.js';import{isAncestor as _0x124b20}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x69f636(){constructor(_0x4c128a,_0x1c6c47,_0x2e5289){super(),this['_editor']=_0x4c128a,this['_dialog']=_0x1c6c47,this['_imageElement']=_0x2e5289,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x1fd399=this['_imageElement'],_0x5e4398=_0x1fd399['getAttribute']('uploadcareImageId'),_0x5cfd4c=_0x1fd399['getAttribute']('src');if(_0x5e4398)await this['_loadImageInfo'](_0x5e4398,_0x5cfd4c);else{if(this['_imageCache']['has'](_0x5cfd4c)){const _0x5083df=this['_imageCache']['get'](_0x5cfd4c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5083df['url'],this['imageDimension']=_0x5083df['dimension'],this['imageId']=_0x5083df['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xcf684}=this['_editor'],t=_0xcf684['t'],_0x2fca39=new _0xda9734(_0xcf684,this['imageStatus'],this['_attributes']);_0x2fca39['bind']('status')['to'](this,'imageStatus'),_0x2fca39['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2fca39['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2fca39['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2fca39,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5914eb,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2fca39,'position':_0x1d2dbb['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2fca39['focus']();},'onHide':()=>{_0x2fca39['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57d92f=>!_0x124b20(_0x57d92f,_0x2fca39['element'])}});}['_loadImageInfo'](_0x1bf47d,_0x20eb4e){return _0x3c2194['getInfo'](_0x1bf47d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3d6eeb=>{const {width:_0x572a9b,height:_0xe4568}=_0x3d6eeb['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20eb4e,this['imageDimension']={'width':_0x572a9b,'height':_0xe4568},this['imageId']=_0x1bf47d;})['catch'](_0xaaf3ea=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xaaf3ea['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x583bd5,_0xf2fb20){return this['_getImageAsFile'](_0x583bd5)['then'](_0x223afb=>_0x3c2194['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xf2fb20['signal'],'file':_0x223afb,'onProgress':_0x537f0b=>{_0x537f0b&&_0x537f0b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x537f0b['value']));}}))['then'](_0x5aea35=>{const {width:_0x2e4608,height:_0x55a3cb}=_0x5aea35['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5aea35['cdnUrl'],this['imageDimension']={'width':_0x2e4608,'height':_0x55a3cb},this['imageId']=_0x5aea35['uuid'],this['imageUploadProgress']=null;const _0x3ddf44=_0x583bd5['getAttribute']('src');this['_imageCache']['set'](_0x3ddf44,{'id':_0x5aea35['uuid'],'url':_0x5aea35['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f1823=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f1823['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38f3a6,_0x2bd633){_0x38f3a6['on']('apply',(_0x124423,_0x4c63ce)=>{this['_replaceImage'](_0x2bd633,_0x4c63ce['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38f3a6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38f3a6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x282757,_0x6c7c49,_0xfdfeca){const _0xa41234=this['_editor'],{width:_0x174b5a,height:_0x17c874}=_0x5b0581(_0x6c7c49,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3aeaa7,imageSources:_0x457424}=_0x57b248(_0x6c7c49,_0x174b5a);_0xa41234['model']['change'](_0x342006=>{if('$graveyard'===_0x282757['root']['rootName']){_0xa41234['execute']('insertImage',{'imageType':_0x282757['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x282757['getAttributes']()),'uploadcareImageId':_0xfdfeca,'src':_0x3aeaa7,'sources':_0x457424,'width':_0x174b5a,'height':_0x17c874}});const _0x2b18ba=_0x282757['getChildren']();_0x282757=_0xa41234['model']['document']['selection']['getSelectedElement']();for(const _0x21ff15 of _0x2b18ba)_0x342006['append'](_0x342006['cloneElement'](_0x21ff15),_0x282757);}else _0x342006['setSelection'](_0x282757,'on'),_0xa41234['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x282757['getAttributes']()),'uploadcareImageId':_0xfdfeca,'src':_0x3aeaa7,'sources':_0x457424,'width':_0x174b5a,'height':_0x17c874},_0x282757);_0x342006['setSelection'](_0x282757,'on');});}async['_getImageAsFile'](_0x37dcf0){const _0x182f72=_0x1bc5c5['window'],_0x1a3f5f=_0x1bc5c5['document']['location']['href'],_0x1e9e36=new _0x182f72['URL'](_0x37dcf0['getAttribute']('src'),_0x1a3f5f);if('data:'===_0x1e9e36['protocol']){const _0x14576c=_0x1e9e36['href']['split'](','),_0xab9c85=_0x14576c[0x0]['match'](/:(.*?);/)[0x1],_0x2c3ca4=_0xab9c85['split']('/')[0x1],_0x385a80=_0x182f72['atob'](_0x14576c[_0x14576c['length']-0x1]);let _0x8dbf11=_0x385a80['length'];const _0x1d4729=new _0x182f72['Uint8Array'](_0x8dbf11);for(;_0x8dbf11--;)_0x1d4729[_0x8dbf11]=_0x385a80['charCodeAt'](_0x8dbf11);return new _0x182f72['File']([_0x1d4729],'image.'+_0x2c3ca4,{'type':_0xab9c85});}const _0x3d9440=_0x1e9e36['href']['split']('/'),_0x5bd824=_0x3d9440[_0x3d9440['length']-0x1],_0x20bd8f=_0x5bd824['split']('.')[0x1];return _0x182f72['fetch'](_0x1e9e36['href'])['then'](_0x24d528=>_0x24d528['clone']()['blob']())['then'](_0x156ff4=>new _0x182f72['File']([_0x156ff4],_0x5bd824,{'type':'image/'+_0x20bd8f}));}}
23
+ import{global as _0x41e13e,ObservableMixin as _0x1f631a}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5569b3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x9e0c06}from'ckeditor5/src/icons.js';import _0x2c60cc from'./uploadcareimageeditformview.js';import _0x233b9e from'../../utils/uploadutils.js';import{getImageUrls as _0x5166f4,getImageDimension as _0x1e2d0c}from'../../utils/editingutils.js';import{isAncestor as _0x329fa9}from'../../utils/isancestor.js';export default class A extends/* #__PURE__ -- @preserve */
24
+ _0x1f631a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2a33db,_0x3be1f4,_0x59b334){super(),this['_editor']=_0x2a33db,this['_dialog']=_0x3be1f4,this['_imageElement']=_0x59b334,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 _0x237c83=this['_imageElement'],_0x612156=_0x237c83['getAttribute']('uploadcareImageId'),_0x59073c=_0x237c83['getAttribute']('src');if(_0x612156)await this['_loadImageInfo'](_0x612156,_0x59073c);else{if(this['_imageCache']['has'](_0x59073c)){const _0x5b5975=this['_imageCache']['get'](_0x59073c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b5975['url'],this['imageDimension']=_0x5b5975['dimension'],this['imageId']=_0x5b5975['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x696112}=this['_editor'],t=_0x696112['t'],_0x319b30=new _0x2c60cc(_0x696112,this['imageStatus'],this['_attributes']);_0x319b30['bind']('status')['to'](this,'imageStatus'),_0x319b30['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x319b30['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x319b30['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x319b30,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x9e0c06,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x319b30,'position':_0x5569b3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x319b30['focus']();},'onHide':()=>{_0x319b30['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22b572=>!_0x329fa9(_0x22b572,_0x319b30['element'])}});}['_loadImageInfo'](_0x2e1cad,_0x19632c){return _0x233b9e['getInfo'](_0x2e1cad,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3f9763=>{const {width:_0xa414d0,height:_0x1e6f80}=_0x3f9763['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19632c,this['imageDimension']={'width':_0xa414d0,'height':_0x1e6f80},this['imageId']=_0x2e1cad;})['catch'](_0x561d80=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x561d80['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ebb08,_0x32a440){return this['_getImageAsFile'](_0x2ebb08)['then'](_0x22af8f=>_0x233b9e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x32a440['signal'],'file':_0x22af8f,'onProgress':_0x47cc86=>{_0x47cc86&&_0x47cc86['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x47cc86['value']));}}))['then'](_0x53242f=>{const {width:_0x5b809b,height:_0x2468cf}=_0x53242f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x53242f['cdnUrl'],this['imageDimension']={'width':_0x5b809b,'height':_0x2468cf},this['imageId']=_0x53242f['uuid'],this['imageUploadProgress']=null;const _0x3f3f74=_0x2ebb08['getAttribute']('src');this['_imageCache']['set'](_0x3f3f74,{'id':_0x53242f['uuid'],'url':_0x53242f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x45e8c7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x45e8c7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x360550,_0x4cba69){_0x360550['on']('apply',(_0x4568c9,_0x1e32b8)=>{this['_replaceImage'](_0x4cba69,_0x1e32b8['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x360550['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x360550['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x22f6a2,_0x573f32,_0x2d893f){const _0x26669d=this['_editor'],{width:_0x1ecb16,height:_0x545ef8}=_0x1e2d0c(_0x573f32,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e4c8a,imageSources:_0x5cdeff}=_0x5166f4(_0x573f32,_0x1ecb16);_0x26669d['model']['change'](_0x7d0360=>{if('$graveyard'===_0x22f6a2['root']['rootName']){_0x26669d['execute']('insertImage',{'imageType':_0x22f6a2['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x22f6a2['getAttributes']()),'uploadcareImageId':_0x2d893f,'src':_0x1e4c8a,'sources':_0x5cdeff,'width':_0x1ecb16,'height':_0x545ef8}});const _0x33f8ec=_0x22f6a2['getChildren']();_0x22f6a2=_0x26669d['model']['document']['selection']['getSelectedElement']();for(const _0x4109aa of _0x33f8ec)_0x7d0360['append'](_0x7d0360['cloneElement'](_0x4109aa),_0x22f6a2);}else _0x7d0360['setSelection'](_0x22f6a2,'on'),_0x26669d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x22f6a2['getAttributes']()),'uploadcareImageId':_0x2d893f,'src':_0x1e4c8a,'sources':_0x5cdeff,'width':_0x1ecb16,'height':_0x545ef8},_0x22f6a2);_0x7d0360['setSelection'](_0x22f6a2,'on');});}async['_getImageAsFile'](_0x48838d){const _0x502b22=_0x41e13e['window'],_0x56b43c=_0x41e13e['document']['location']['href'],_0x5b0312=new _0x502b22['URL'](_0x48838d['getAttribute']('src'),_0x56b43c);if('data:'===_0x5b0312['protocol']){const _0x2b3368=_0x5b0312['href']['split'](','),_0x2b3b23=_0x2b3368[0x0]['match'](/:(.*?);/)[0x1],_0x15c826=_0x2b3b23['split']('/')[0x1],_0x3a7c6c=_0x502b22['atob'](_0x2b3368[_0x2b3368['length']-0x1]);let _0x584cc6=_0x3a7c6c['length'];const _0x1ff8d9=new _0x502b22['Uint8Array'](_0x584cc6);for(;_0x584cc6--;)_0x1ff8d9[_0x584cc6]=_0x3a7c6c['charCodeAt'](_0x584cc6);return new _0x502b22['File']([_0x1ff8d9],'image.'+_0x15c826,{'type':_0x2b3b23});}const _0x497880=_0x5b0312['href']['split']('/'),_0x5dae05=_0x497880[_0x497880['length']-0x1],_0x14d993=_0x5dae05['split']('.')[0x1];return _0x502b22['fetch'](_0x5b0312['href'])['then'](_0x4e0e72=>_0x4e0e72['clone']()['blob']())['then'](_0x3990db=>new _0x502b22['File']([_0x3990db],_0x5dae05,{'type':'image/'+_0x14d993}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4243(){const _0x45557e=['uc-light','4058HIBmAu','591939FVvYMq','830tFDvzW','set','imageSrc','image-edit','12BibiyB','bindTemplate','2618OQHLYl','469ApUEVq','60vzppOR','20058aVUCXA','uc-cloud-image-editor','12081EyXsMv','428jrIYQF','setTemplate','ck-uploadcare-theme','26tYyxHU','53079RfjnLs','33632EPmJdt','2225619BRPojX'];_0x4243=function(){return _0x45557e;};return _0x4243();}(function(_0x37b565,_0x5ed1e5){const _0x29f2f3=_0x5798,_0x20a39e=_0x37b565();while(!![]){try{const _0x50889b=parseInt(_0x29f2f3(0xd2))/0x1*(parseInt(_0x29f2f3(0xcd))/0x2)+parseInt(_0x29f2f3(0xdf))/0x3*(-parseInt(_0x29f2f3(0xe0))/0x4)+-parseInt(_0x29f2f3(0xd4))/0x5*(parseInt(_0x29f2f3(0xdd))/0x6)+parseInt(_0x29f2f3(0xdb))/0x7*(parseInt(_0x29f2f3(0xcf))/0x8)+-parseInt(_0x29f2f3(0xd3))/0x9*(-parseInt(_0x29f2f3(0xdc))/0xa)+-parseInt(_0x29f2f3(0xd0))/0xb*(parseInt(_0x29f2f3(0xd8))/0xc)+-parseInt(_0x29f2f3(0xce))/0xd*(-parseInt(_0x29f2f3(0xda))/0xe);if(_0x50889b===_0x5ed1e5)break;else _0x20a39e['push'](_0x20a39e['shift']());}catch(_0x457b78){_0x20a39e['push'](_0x20a39e['shift']());}}}(_0x4243,0x4a51d));import{View as _0x1306a3}from'ckeditor5/src/ui.js';function _0x5798(_0x385e88,_0x161244){const _0x424351=_0x4243();return _0x5798=function(_0x579823,_0x32db9e){_0x579823=_0x579823-0xcb;let _0x516b42=_0x424351[_0x579823];return _0x516b42;},_0x5798(_0x385e88,_0x161244);}export default class tt extends _0x1306a3{constructor(_0x2f0571,_0x1ac6f7){const _0x2a6c32=_0x5798;super(_0x2f0571);const _0x1ed5c2=this[_0x2a6c32(0xd9)];this[_0x2a6c32(0xd5)](_0x2a6c32(0xd6),''),this[_0x2a6c32(0xcb)]({'tag':_0x2a6c32(0xde),'attributes':{..._0x1ac6f7,'class':[_0x2a6c32(0xd1),_0x2a6c32(0xcc)],'ctx-name':_0x2a6c32(0xd7),'cdn-url':_0x1ed5c2['to'](_0x2a6c32(0xd6))}});}}
23
+ function _0x474a(_0x73d2f2,_0x2f6ab7){const _0x4d3f6f=_0x4d3f();return _0x474a=function(_0x474ae2,_0x2261ed){_0x474ae2=_0x474ae2-0x105;let _0x56f453=_0x4d3f6f[_0x474ae2];return _0x56f453;},_0x474a(_0x73d2f2,_0x2f6ab7);}(function(_0x21d655,_0x1d0149){const _0x41f959=_0x474a,_0x5def0a=_0x21d655();while(!![]){try{const _0x359997=-parseInt(_0x41f959(0x114))/0x1+-parseInt(_0x41f959(0x112))/0x2+-parseInt(_0x41f959(0x10c))/0x3*(parseInt(_0x41f959(0x10d))/0x4)+parseInt(_0x41f959(0x116))/0x5*(parseInt(_0x41f959(0x107))/0x6)+parseInt(_0x41f959(0x105))/0x7+-parseInt(_0x41f959(0x10a))/0x8*(parseInt(_0x41f959(0x10f))/0x9)+parseInt(_0x41f959(0x10e))/0xa;if(_0x359997===_0x1d0149)break;else _0x5def0a['push'](_0x5def0a['shift']());}catch(_0x140886){_0x5def0a['push'](_0x5def0a['shift']());}}}(_0x4d3f,0x5445c));function _0x4d3f(){const _0x49de10=['bindTemplate','image-edit','136cCGzRo','setTemplate','3psoCoY','90152pAuhMR','8571340HSVnfp','157851UPLlnd','uc-cloud-image-editor','ck-uploadcare-theme','864184McJCDi','set','222837ESVDHf','imageSrc','753295wyzesf','81893FssCjk','uc-light','18xFCYtF'];_0x4d3f=function(){return _0x49de10;};return _0x4d3f();}import{View as _0x98ff0b}from'ckeditor5/src/ui.js';export default class tt extends _0x98ff0b{constructor(_0x230648,_0x2284cf){const _0x349453=_0x474a;super(_0x230648);const _0x1ec448=this[_0x349453(0x108)];this[_0x349453(0x113)](_0x349453(0x115),''),this[_0x349453(0x10b)]({'tag':_0x349453(0x110),'attributes':{..._0x2284cf,'class':[_0x349453(0x106),_0x349453(0x111)],'ctx-name':_0x349453(0x109),'cdn-url':_0x1ec448['to'](_0x349453(0x115))}});}}
@@ -2,11 +2,8 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
- */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
5
  import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
7
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
11
8
  /**
12
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5a9909,IconView as et,View as _0x411c40}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x411c40{constructor(_0x40d321){super(_0x40d321);const t=_0x40d321['t'];this['set']('errorType',null);const _0x388ad2=new _0x5a9909(_0x40d321);_0x388ad2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x388ad2['withText']=!0x0,_0x388ad2['class']='ck-button-action',_0x388ad2['on']('execute',()=>{this['fire']('retry');}),_0x388ad2['bind']('isVisible')['to'](this,'errorType',_0x174ee1=>'NotFound'!==_0x174ee1);const _0x545e46=new et();_0x545e46['content']=at,_0x545e46['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x437306=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x545e46,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x437306['to']('errorType',_0x2b896f=>t('NotFound'!==_0x2b896f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x388ad2]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x14457d,IconView as at,View as _0x4493b6}from'ckeditor5/src/ui.js';export default class rt extends _0x4493b6{constructor(_0x19e7e5){super(_0x19e7e5);const t=_0x19e7e5['t'];this['set']('errorType',null);const _0x405fb6=new _0x14457d(_0x19e7e5);_0x405fb6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x405fb6['withText']=!0x0,_0x405fb6['class']='ck-button-action',_0x405fb6['on']('execute',()=>{this['fire']('retry');}),_0x405fb6['bind']('isVisible')['to'](this,'errorType',_0x587fb1=>'NotFound'!==_0x587fb1);const _0x1553d2=new at();_0x1553d2['content']=et,_0x1553d2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x167249=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':[_0x1553d2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x167249['to']('errorType',_0x269776=>t('NotFound'!==_0x269776?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x405fb6]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x1b7c19,View as _0x42fcf6}from'ckeditor5/src/ui.js';export default class ta extends _0x42fcf6{constructor(_0x4a8717){super(_0x4a8717);const t=_0x4a8717['t'],_0x42b8d3=this['bindTemplate'],_0x43f98d=new _0x1b7c19();_0x43f98d['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x43f98d,{'text':_0x42b8d3['to']('imageUploadProgress',_0x3714ce=>t('Loading\x20image...')+'\x20('+(_0x3714ce||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x2ef177,View as _0x2c5f21}from'ckeditor5/src/ui.js';export default class ta extends _0x2c5f21{constructor(_0x15a3be){super(_0x15a3be);const t=_0x15a3be['t'],_0x4c5a43=this['bindTemplate'],_0x1b38cb=new _0x2ef177();_0x1b38cb['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':[_0x1b38cb,{'text':_0x4c5a43['to']('imageUploadProgress',_0x12dafc=>t('Loading\x20image...')+'\x20('+(_0x12dafc||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x435d2e=_0x3707;(function(_0x4cc4ae,_0xc0f33b){const _0x3b6963=_0x3707,_0x2958da=_0x4cc4ae();while(!![]){try{const _0x1341c4=-parseInt(_0x3b6963(0xa0))/0x1*(-parseInt(_0x3b6963(0xae))/0x2)+parseInt(_0x3b6963(0xb7))/0x3+-parseInt(_0x3b6963(0xd4))/0x4+parseInt(_0x3b6963(0xc6))/0x5+-parseInt(_0x3b6963(0xc1))/0x6+parseInt(_0x3b6963(0xb0))/0x7*(-parseInt(_0x3b6963(0xbd))/0x8)+parseInt(_0x3b6963(0xc2))/0x9*(-parseInt(_0x3b6963(0xb3))/0xa);if(_0x1341c4===_0xc0f33b)break;else _0x2958da['push'](_0x2958da['shift']());}catch(_0x56eae2){_0x2958da['push'](_0x2958da['shift']());}}}(_0x4fca,0x9c0eb));function _0x3707(_0x151c61,_0x4f6e24){const _0x4fca27=_0x4fca();return _0x3707=function(_0x370708,_0x44221d){_0x370708=_0x370708-0x9e;let _0x23ff8b=_0x4fca27[_0x370708];return _0x23ff8b;},_0x3707(_0x151c61,_0x4f6e24);}function _0x4fca(){const _0x25060e=['_focusableView','1459580etLmLD','uc-cloud-image-editor','filter','77oOSWSb','clear','ck-uploadcare-form','toLowerCase','change:status','render','error','nodeName','addedNodes','_errorView','_addUploadcareImageEditorListeners','_setView','getFocusableElement','set','10196YAHWPu','ready','1995oQbJEp','observe','cancel','1104650gKKfYE','target','once','apply','2509608dbAnCh','addMany','uploading','_editingView','querySelector','focus','19016JzTKTs','createCollection','element','div','3350448dCFBxX','9lmbEDu','status','detail','_loadingView','5606710YnDigO','add','disconnect','_addErrorViewListeners','setTemplate','fire','addEventListener','retry','_items','_waitForImageEditorComponent','length','cdnUrl','ck-reset_all-excluded'];_0x4fca=function(){return _0x25060e;};return _0x4fca();}import{View as _0x3c7d74}from'ckeditor5/src/ui.js';import _0x5a31e7 from'./uploadcareimageeditformloadingview.js';import _0x17feaa from'./uploadcareimageeditformerrorview.js';import _0x48a262 from'./uploadcareimageeditformeditingview.js';import _0x370392 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x370392{constructor(_0x39520d,_0x30a7d6,_0x21afe8){const _0x19e3a3=_0x3707;super(_0x39520d),this[_0x19e3a3(0xce)]=this[_0x19e3a3(0xbe)](),this[_0x19e3a3(0xc5)]=new _0x5a31e7(_0x39520d),this[_0x19e3a3(0xa9)]=new _0x17feaa(_0x39520d),this[_0x19e3a3(0xba)]=new _0x48a262(_0x39520d,_0x21afe8),this[_0x19e3a3(0xd3)]=new _0x3c7d74(_0x39520d),this[_0x19e3a3(0xd3)][_0x19e3a3(0xca)](this[_0x19e3a3(0xac)]()),this[_0x19e3a3(0xad)](_0x19e3a3(0xc3),_0x30a7d6),this[_0x19e3a3(0xca)]({'tag':_0x19e3a3(0xc0),'attributes':{'class':['ck',_0x19e3a3(0xd2),_0x19e3a3(0xa2)],'tabindex':'-1'},'children':this[_0x19e3a3(0xce)]}),this[_0x19e3a3(0xab)](),this[_0x19e3a3(0xb5)](_0x19e3a3(0xa5),()=>{const _0x2844c7=_0x19e3a3;this[_0x2844c7(0xcf)](this[_0x2844c7(0xbf)],_0x3482f2=>{const _0x51f4a9=_0x2844c7;this[_0x51f4a9(0xaa)](_0x3482f2);});}),this['on'](_0x19e3a3(0xa4),()=>{const _0x37c776=_0x19e3a3;this[_0x37c776(0xab)]();}),this[_0x19e3a3(0xc9)]();}[_0x435d2e(0xbc)](){const _0x35c97b=_0x435d2e;this[_0x35c97b(0xbf)][_0x35c97b(0xbc)]();}[_0x435d2e(0xab)](){const _0x2354c3=_0x435d2e;switch(this[_0x2354c3(0xce)][_0x2354c3(0xa1)](),this[_0x2354c3(0xc3)]){case _0x2354c3(0xb9):this[_0x2354c3(0xce)][_0x2354c3(0xc7)](this[_0x2354c3(0xc5)]);break;case _0x2354c3(0xa6):this[_0x2354c3(0xce)][_0x2354c3(0xc7)](this[_0x2354c3(0xa9)]);break;case _0x2354c3(0xaf):this[_0x2354c3(0xce)][_0x2354c3(0xb8)]([this[_0x2354c3(0xba)],this[_0x2354c3(0xd3)]]);}}[_0x435d2e(0xcf)](_0x5e168f,_0x136ee9){const _0x4b5ef9=_0x435d2e,_0x4f87ae=_0x4b5ef9(0x9e),_0x236c39=_0x5e168f[_0x4b5ef9(0xbb)](_0x4f87ae);if(_0x236c39)return _0x136ee9(_0x236c39);const _0x2c8991=new MutationObserver(_0x5d07dd=>{const _0x1cd45c=_0x4b5ef9,_0x410ecc=_0x5d07dd[_0x1cd45c(0x9f)](_0x1f9fde=>_0x1f9fde[_0x1cd45c(0xb4)]===_0x5e168f&&_0x1f9fde[_0x1cd45c(0xa8)][_0x1cd45c(0xd0)]>0x0&&_0x1f9fde[_0x1cd45c(0xa8)][0x0][_0x1cd45c(0xa7)][_0x1cd45c(0xa3)]()===_0x4f87ae);_0x410ecc[_0x1cd45c(0xd0)]&&(_0x2c8991[_0x1cd45c(0xc8)](),_0x136ee9(_0x410ecc[0x0][_0x1cd45c(0xa8)][0x0]));});_0x2c8991[_0x4b5ef9(0xb1)](_0x5e168f,{'childList':!0x0,'subtree':!0x0});}[_0x435d2e(0xaa)](_0xb06451){const _0x48ea27=_0x435d2e;_0xb06451[_0x48ea27(0xcc)](_0x48ea27(0xb6),_0x4dc931=>{const _0x158b24=_0x48ea27;this[_0x158b24(0xcb)](_0x158b24(0xb6),{'imageSrc':_0x4dc931[_0x158b24(0xc4)][_0x158b24(0xd1)]});}),_0xb06451[_0x48ea27(0xcc)](_0x48ea27(0xb2),()=>{const _0x9c6e2=_0x48ea27;this[_0x9c6e2(0xcb)](_0x9c6e2(0xb2));});}[_0x435d2e(0xc9)](){const _0x4dbb0b=_0x435d2e;this[_0x4dbb0b(0xa9)]['on'](_0x4dbb0b(0xcd),()=>{const _0x120b3e=_0x4dbb0b;this[_0x120b3e(0xcb)](_0x120b3e(0xcd));});}}
23
+ const _0x31e509=_0x4653;(function(_0x285c93,_0x4e45db){const _0x76ae52=_0x4653,_0x2c1314=_0x285c93();while(!![]){try{const _0x12f165=parseInt(_0x76ae52(0xd7))/0x1*(-parseInt(_0x76ae52(0xde))/0x2)+-parseInt(_0x76ae52(0xe4))/0x3*(-parseInt(_0x76ae52(0xf7))/0x4)+parseInt(_0x76ae52(0x104))/0x5+-parseInt(_0x76ae52(0xef))/0x6*(parseInt(_0x76ae52(0xec))/0x7)+-parseInt(_0x76ae52(0xfe))/0x8+parseInt(_0x76ae52(0xee))/0x9*(-parseInt(_0x76ae52(0xd2))/0xa)+parseInt(_0x76ae52(0xdc))/0xb;if(_0x12f165===_0x4e45db)break;else _0x2c1314['push'](_0x2c1314['shift']());}catch(_0x40a0c5){_0x2c1314['push'](_0x2c1314['shift']());}}}(_0x11b0,0xac910));function _0x11b0(){const _0x45959a=['_waitForImageEditorComponent','ck-uploadcare-form','querySelector','5868544yWgmvJ','_addErrorViewListeners','22wfgilB','status','nodeName','element','uploading','retry','3ftkmPW','cdnUrl','setTemplate','disconnect','_setView','target','set','add','21cIlXpJ','_loadingView','198raoIZp','622938sMoaDD','fire','_errorView','_items','addEventListener','once','length','focus','4507324DpoeFi','ck-reset_all-excluded','filter','detail','clear','error','createCollection','1400664KbyRow','addMany','render','addedNodes','_editingView','cancel','618690CZnBIX','div','_addUploadcareImageEditorListeners','getFocusableElement','_focusableView','ready','228640YDfAJh','uc-cloud-image-editor','observe','change:status','toLowerCase','7971AeYbxM','apply'];_0x11b0=function(){return _0x45959a;};return _0x11b0();}function _0x4653(_0x408099,_0x47353e){const _0x11b01b=_0x11b0();return _0x4653=function(_0x4653a4,_0x41b9db){_0x4653a4=_0x4653a4-0xce;let _0x1b2bfd=_0x11b01b[_0x4653a4];return _0x1b2bfd;},_0x4653(_0x408099,_0x47353e);}import{View as _0x3ac29d}from'ckeditor5/src/ui.js';import _0x15c9d2 from'./uploadcareimageeditformloadingview.js';import _0x4dc12c from'./uploadcareimageeditformerrorview.js';import _0x5c9389 from'./uploadcareimageeditformeditingview.js';import _0x16b7ba from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x16b7ba{[_0x31e509(0xf2)];[_0x31e509(0xed)];[_0x31e509(0xf1)];[_0x31e509(0x102)];[_0x31e509(0xd0)];constructor(_0x3b61a7,_0x3240b2,_0x2cdda0){const _0x4603f8=_0x31e509;super(_0x3b61a7),this[_0x4603f8(0xf2)]=this[_0x4603f8(0xfd)](),this[_0x4603f8(0xed)]=new _0x15c9d2(_0x3b61a7),this[_0x4603f8(0xf1)]=new _0x4dc12c(_0x3b61a7),this[_0x4603f8(0x102)]=new _0x5c9389(_0x3b61a7,_0x2cdda0),this[_0x4603f8(0xd0)]=new _0x3ac29d(_0x3b61a7),this[_0x4603f8(0xd0)][_0x4603f8(0xe6)](this[_0x4603f8(0xcf)]()),this[_0x4603f8(0xea)](_0x4603f8(0xdf),_0x3240b2),this[_0x4603f8(0xe6)]({'tag':_0x4603f8(0x105),'attributes':{'class':['ck',_0x4603f8(0xf8),_0x4603f8(0xda)],'tabindex':'-1'},'children':this[_0x4603f8(0xf2)]}),this[_0x4603f8(0xe8)](),this[_0x4603f8(0xf4)](_0x4603f8(0x100),()=>{const _0x3dd975=_0x4603f8;this[_0x3dd975(0xd9)](this[_0x3dd975(0xe1)],_0x442640=>{const _0x4fd508=_0x3dd975;this[_0x4fd508(0xce)](_0x442640);});}),this['on'](_0x4603f8(0xd5),()=>{const _0x25719b=_0x4603f8;this[_0x25719b(0xe8)]();}),this[_0x4603f8(0xdd)]();}[_0x31e509(0xf6)](){const _0x4ca10b=_0x31e509;this[_0x4ca10b(0xe1)][_0x4ca10b(0xf6)]();}[_0x31e509(0xe8)](){const _0x2b3c0a=_0x31e509;switch(this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xfb)](),this[_0x2b3c0a(0xdf)]){case _0x2b3c0a(0xe2):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xeb)](this[_0x2b3c0a(0xed)]);break;case _0x2b3c0a(0xfc):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xeb)](this[_0x2b3c0a(0xf1)]);break;case _0x2b3c0a(0xd1):this[_0x2b3c0a(0xf2)][_0x2b3c0a(0xff)]([this[_0x2b3c0a(0x102)],this[_0x2b3c0a(0xd0)]]);}}[_0x31e509(0xd9)](_0x565958,_0x4162c9){const _0x386aaf=_0x31e509,_0x41e8ec=_0x386aaf(0xd3),_0x188f63=_0x565958[_0x386aaf(0xdb)](_0x41e8ec);if(_0x188f63)return _0x4162c9(_0x188f63);const _0x401c46=new MutationObserver(_0x13f5af=>{const _0x78f152=_0x386aaf,_0x3447cd=_0x13f5af[_0x78f152(0xf9)](_0x4c469c=>_0x4c469c[_0x78f152(0xe9)]===_0x565958&&_0x4c469c[_0x78f152(0x101)][_0x78f152(0xf5)]>0x0&&_0x4c469c[_0x78f152(0x101)][0x0][_0x78f152(0xe0)][_0x78f152(0xd6)]()===_0x41e8ec);_0x3447cd[_0x78f152(0xf5)]&&(_0x401c46[_0x78f152(0xe7)](),_0x4162c9(_0x3447cd[0x0][_0x78f152(0x101)][0x0]));});_0x401c46[_0x386aaf(0xd4)](_0x565958,{'childList':!0x0,'subtree':!0x0});}[_0x31e509(0xce)](_0x1fdfc4){const _0xcff01c=_0x31e509;_0x1fdfc4[_0xcff01c(0xf3)](_0xcff01c(0xd8),_0x40bfef=>{const _0x1f205b=_0xcff01c;this[_0x1f205b(0xf0)](_0x1f205b(0xd8),{'imageSrc':_0x40bfef[_0x1f205b(0xfa)][_0x1f205b(0xe5)]});}),_0x1fdfc4[_0xcff01c(0xf3)](_0xcff01c(0x103),()=>{const _0xc3b8f9=_0xcff01c;this[_0xc3b8f9(0xf0)](_0xc3b8f9(0x103));});}[_0x31e509(0xdd)](){const _0x537acb=_0x31e509;this[_0x537acb(0xf1)]['on'](_0x537acb(0xe3),()=>{const _0x5058fe=_0x537acb;this[_0x5058fe(0xf0)](_0x5058fe(0xe3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a20(_0x2e1bfd,_0x532f6b){const _0x4ca3b8=_0x4ca3();return _0x4a20=function(_0x4a20a4,_0x4cc63d){_0x4a20a4=_0x4a20a4-0x1d3;let _0x5e774f=_0x4ca3b8[_0x4a20a4];return _0x5e774f;},_0x4a20(_0x2e1bfd,_0x532f6b);}const _0x2cc66e=_0x4a20;(function(_0x14c4c2,_0x3e72ca){const _0x2986bf=_0x4a20,_0x5c8956=_0x14c4c2();while(!![]){try{const _0xb2b3c1=parseInt(_0x2986bf(0x1df))/0x1*(parseInt(_0x2986bf(0x1d4))/0x2)+-parseInt(_0x2986bf(0x1f0))/0x3*(parseInt(_0x2986bf(0x1ef))/0x4)+-parseInt(_0x2986bf(0x1de))/0x5+parseInt(_0x2986bf(0x1e6))/0x6*(parseInt(_0x2986bf(0x1e8))/0x7)+parseInt(_0x2986bf(0x1f2))/0x8+-parseInt(_0x2986bf(0x1e3))/0x9+parseInt(_0x2986bf(0x1d9))/0xa;if(_0xb2b3c1===_0x3e72ca)break;else _0x5c8956['push'](_0x5c8956['shift']());}catch(_0x416f87){_0x5c8956['push'](_0x5c8956['shift']());}}}(_0x4ca3,0x9ceab));import{Command as _0x17acef}from'ckeditor5/src/core.js';import{Dialog as _0x47c77a}from'ckeditor5/src/ui.js';import _0x11c9cb from'./ui/uploadcareimageeditcontroller.js';function _0x4ca3(){const _0x1dd97d=['plugins','config','uploadcare.allowExternalImagesEditing','element','4342990RrcPvb','29qULtvN','refresh','document','isEnabled','10055061mgpBfs','set','requires','708JFuNyM','imageEditController','32893IMsPpe','imageInline','getSelectedElement','selection','model','_isEditable','execute','4348FJGObl','1173tgoxQP','editor','7085592xaWwIg','unbind','24968tbSTLP','bind','isActive','get','imageBlock','12513580PRzgeq'];_0x4ca3=function(){return _0x1dd97d;};return _0x4ca3();}import{createEditabilityChecker as _0x3113fe}from'../utils/editingutils.js';export default class J extends _0x17acef{static get[_0x2cc66e(0x1e5)](){return[_0x47c77a];}constructor(_0x1a3678){const _0x2b0861=_0x2cc66e;super(_0x1a3678),this[_0x2b0861(0x1e7)]=void 0x0,this[_0x2b0861(0x1ed)]=_0x3113fe(_0x1a3678[_0x2b0861(0x1db)][_0x2b0861(0x1d7)](_0x2b0861(0x1dc))||[]),this[_0x2b0861(0x1e4)]({'isActive':!0x1});}[_0x2cc66e(0x1e0)](){const _0x4a58b9=_0x2cc66e,_0x22a4ca=this[_0x4a58b9(0x1f1)][_0x4a58b9(0x1ec)][_0x4a58b9(0x1e1)][_0x4a58b9(0x1eb)][_0x4a58b9(0x1ea)]();this[_0x4a58b9(0x1e2)]=this[_0x4a58b9(0x1ed)](_0x22a4ca);}[_0x2cc66e(0x1ee)](){const _0x5a2106=_0x2cc66e;this[_0x5a2106(0x1e7)]&&(this[_0x5a2106(0x1d3)](_0x5a2106(0x1d6)),this[_0x5a2106(0x1e7)]=void 0x0);const _0x90e80d=this[_0x5a2106(0x1f1)][_0x5a2106(0x1ec)][_0x5a2106(0x1e1)][_0x5a2106(0x1eb)][_0x5a2106(0x1ea)]();_0x90e80d&&(_0x90e80d['is'](_0x5a2106(0x1dd),_0x5a2106(0x1d8))||_0x90e80d['is'](_0x5a2106(0x1dd),_0x5a2106(0x1e9)))&&(this[_0x5a2106(0x1e7)]=new _0x11c9cb(this[_0x5a2106(0x1f1)],this[_0x5a2106(0x1f1)][_0x5a2106(0x1da)][_0x5a2106(0x1d7)](_0x47c77a),_0x90e80d),this[_0x5a2106(0x1d5)](_0x5a2106(0x1d6))['to'](this[_0x5a2106(0x1e7)],_0x5a2106(0x1d6)));}}
23
+ const _0x3bde14=_0x30a7;function _0x46f8(){const _0x27bb9e=['3725624RjuHLO','unbind','isActive','config','getSelectedElement','editor','model','element','isEnabled','99gtDgmj','set','plugins','get','_isEditable','bind','1141791ImtOEi','requires','6GNxTws','imageInline','1777314wDPlQO','uploadcare.allowExternalImagesEditing','refresh','6593512LwKYDq','document','1444778lWTGmm','imageBlock','execute','8810115omckAm','selection','5186871ekyHiK','imageEditController'];_0x46f8=function(){return _0x27bb9e;};return _0x46f8();}(function(_0x265933,_0x4a2f68){const _0x3fcb16=_0x30a7,_0x5844eb=_0x265933();while(!![]){try{const _0x3548d2=-parseInt(_0x3fcb16(0x16f))/0x1+-parseInt(_0x3fcb16(0x174))/0x2+-parseInt(_0x3fcb16(0x15a))/0x3+parseInt(_0x3fcb16(0x172))/0x4+parseInt(_0x3fcb16(0x177))/0x5*(-parseInt(_0x3fcb16(0x16d))/0x6)+parseInt(_0x3fcb16(0x16b))/0x7+-parseInt(_0x3fcb16(0x15c))/0x8*(-parseInt(_0x3fcb16(0x165))/0x9);if(_0x3548d2===_0x4a2f68)break;else _0x5844eb['push'](_0x5844eb['shift']());}catch(_0x5e0098){_0x5844eb['push'](_0x5844eb['shift']());}}}(_0x46f8,0xe65b5));function _0x30a7(_0x4d7a23,_0x2262e5){const _0x46f813=_0x46f8();return _0x30a7=function(_0x30a73c,_0xc58734){_0x30a73c=_0x30a73c-0x159;let _0x5055bc=_0x46f813[_0x30a73c];return _0x5055bc;},_0x30a7(_0x4d7a23,_0x2262e5);}import{Command as _0x239e0a}from'ckeditor5/src/core.js';import{Dialog as _0x3d63dd}from'ckeditor5/src/ui.js';import _0x1272c5 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3c9e04}from'../utils/editingutils.js';export default class z extends _0x239e0a{[_0x3bde14(0x15b)];static get[_0x3bde14(0x16c)](){return[_0x3d63dd];}[_0x3bde14(0x169)];constructor(_0x3c2e40){const _0x30e326=_0x3bde14;super(_0x3c2e40),this[_0x30e326(0x15b)]=void 0x0,this[_0x30e326(0x169)]=_0x3c9e04(_0x3c2e40[_0x30e326(0x15f)][_0x30e326(0x168)](_0x30e326(0x170))||[]),this[_0x30e326(0x166)]({'isActive':!0x1});}[_0x3bde14(0x171)](){const _0x2c76f8=_0x3bde14,_0x1be5cc=this[_0x2c76f8(0x161)][_0x2c76f8(0x162)][_0x2c76f8(0x173)][_0x2c76f8(0x159)][_0x2c76f8(0x160)]();this[_0x2c76f8(0x164)]=this[_0x2c76f8(0x169)](_0x1be5cc);}[_0x3bde14(0x176)](){const _0x1c0dc3=_0x3bde14;this[_0x1c0dc3(0x15b)]&&(this[_0x1c0dc3(0x15d)](_0x1c0dc3(0x15e)),this[_0x1c0dc3(0x15b)]=void 0x0);const _0x499a6d=this[_0x1c0dc3(0x161)][_0x1c0dc3(0x162)][_0x1c0dc3(0x173)][_0x1c0dc3(0x159)][_0x1c0dc3(0x160)]();_0x499a6d&&(_0x499a6d['is'](_0x1c0dc3(0x163),_0x1c0dc3(0x175))||_0x499a6d['is'](_0x1c0dc3(0x163),_0x1c0dc3(0x16e)))&&(this[_0x1c0dc3(0x15b)]=new _0x1272c5(this[_0x1c0dc3(0x161)],this[_0x1c0dc3(0x161)][_0x1c0dc3(0x167)][_0x1c0dc3(0x168)](_0x3d63dd),_0x499a6d),this[_0x1c0dc3(0x16a)](_0x1c0dc3(0x15e))['to'](this[_0x1c0dc3(0x15b)],_0x1c0dc3(0x15e)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32f22f=_0xc61b;(function(_0x3434e4,_0x5e2632){const _0x309042=_0xc61b,_0x157f73=_0x3434e4();while(!![]){try{const _0x1fbcb7=parseInt(_0x309042(0x1d2))/0x1+parseInt(_0x309042(0x1d3))/0x2*(parseInt(_0x309042(0x1df))/0x3)+parseInt(_0x309042(0x1dc))/0x4*(parseInt(_0x309042(0x1e2))/0x5)+-parseInt(_0x309042(0x1d1))/0x6*(-parseInt(_0x309042(0x1e0))/0x7)+parseInt(_0x309042(0x1db))/0x8*(parseInt(_0x309042(0x1e5))/0x9)+-parseInt(_0x309042(0x1d0))/0xa+parseInt(_0x309042(0x1d9))/0xb*(-parseInt(_0x309042(0x1dd))/0xc);if(_0x1fbcb7===_0x5e2632)break;else _0x157f73['push'](_0x157f73['shift']());}catch(_0x3db6e0){_0x157f73['push'](_0x157f73['shift']());}}}(_0xeaf2,0x8c01d));import{Plugin as _0x550024}from'ckeditor5/src/core.js';import{Notification as _0x200424}from'ckeditor5/src/ui.js';import _0x5ad061 from'./uploadcareimageeditcommand.js';import _0x4dfe00 from'./uploadcareimagereplacecommand.js';function _0xc61b(_0x5df027,_0x331680){const _0xeaf2a1=_0xeaf2();return _0xc61b=function(_0xc61be1,_0xbb3cc5){_0xc61be1=_0xc61be1-0x1ce;let _0xbe01e9=_0xeaf2a1[_0xc61be1];return _0xbe01e9;},_0xc61b(_0x5df027,_0x331680);}import _0x4bb17c from'../uploadcareediting.js';export default class m extends _0x550024{static get[_0x32f22f(0x1e1)](){const _0x10bc94=_0x32f22f;return _0x10bc94(0x1de);}static get[_0x32f22f(0x1e3)](){const _0x1d5aae=_0x32f22f;return[_0x4bb17c,_0x200424,_0x1d5aae(0x1d4),_0x1d5aae(0x1d6)];}static get[_0x32f22f(0x1d7)](){return!0x0;}static get[_0x32f22f(0x1da)](){return!0x0;}[_0x32f22f(0x1cf)](){const _0x17c661=_0x32f22f,{editor:_0x242c60}=this;_0x242c60[_0x17c661(0x1d8)][_0x17c661(0x1e4)](_0x17c661(0x1ce),new _0x5ad061(_0x242c60)),_0x242c60[_0x17c661(0x1d8)][_0x17c661(0x1e4)](_0x17c661(0x1d5),new _0x4dfe00(_0x242c60));}}function _0xeaf2(){const _0x2a4bb5=['uploadcareImageEdit','init','4246660ssiDOu','1566hOqnmY','478870XdoeIJ','7176FRXSHV','ImageUtils','uploadcareImageReplace','ImageEditing','isOfficialPlugin','commands','60566faqRaO','isPremiumPlugin','891976IZiCPU','2128276sDNDLD','6060sqCvcy','UploadcareImageEditEditing','933PacpFs','29351mkupqn','pluginName','5PLEmzy','requires','add','45IAipoJ'];_0xeaf2=function(){return _0x2a4bb5;};return _0xeaf2();}
23
+ const _0x50597d=_0x7cd0;(function(_0x531708,_0x2264a8){const _0xd9907=_0x7cd0,_0x1b97eb=_0x531708();while(!![]){try{const _0x4c4fcf=parseInt(_0xd9907(0x1b7))/0x1*(-parseInt(_0xd9907(0x1ba))/0x2)+-parseInt(_0xd9907(0x1c1))/0x3+-parseInt(_0xd9907(0x1b6))/0x4*(-parseInt(_0xd9907(0x1ae))/0x5)+-parseInt(_0xd9907(0x1c2))/0x6+-parseInt(_0xd9907(0x1b5))/0x7+-parseInt(_0xd9907(0x1b3))/0x8*(parseInt(_0xd9907(0x1bf))/0x9)+parseInt(_0xd9907(0x1af))/0xa;if(_0x4c4fcf===_0x2264a8)break;else _0x1b97eb['push'](_0x1b97eb['shift']());}catch(_0x23d9d3){_0x1b97eb['push'](_0x1b97eb['shift']());}}}(_0x1929,0x8e795));import{Plugin as _0x5b5563}from'ckeditor5/src/core.js';function _0x7cd0(_0x474de3,_0x56bf14){const _0x19292b=_0x1929();return _0x7cd0=function(_0x7cd007,_0x8f4420){_0x7cd007=_0x7cd007-0x1ae;let _0xb43e73=_0x19292b[_0x7cd007];return _0xb43e73;},_0x7cd0(_0x474de3,_0x56bf14);}import{Notification as _0x1ba2e4}from'ckeditor5/src/ui.js';import _0x5288f4 from'./uploadcareimageeditcommand.js';function _0x1929(){const _0x19287c=['UploadcareImageEditEditing','ImageUtils','isOfficialPlugin','isPremiumPlugin','7299EogSCf','ImageEditing','3376641MDmyMW','2989638AFAOAh','uploadcareImageReplace','954275ganohq','43887570FTFRdf','requires','pluginName','commands','10952xLTojH','add','7159257RaaypD','8PWAtFn','53758YkIAKb','uploadcareImageEdit','init','16FkdRHW'];_0x1929=function(){return _0x19287c;};return _0x1929();}import _0x5efa9d from'./uploadcareimagereplacecommand.js';import _0xf775e6 from'../uploadcareediting.js';export default class g extends _0x5b5563{static get[_0x50597d(0x1b1)](){const _0x540c36=_0x50597d;return _0x540c36(0x1bb);}static get[_0x50597d(0x1b0)](){const _0x3256c6=_0x50597d;return[_0xf775e6,_0x1ba2e4,_0x3256c6(0x1bc),_0x3256c6(0x1c0)];}static get[_0x50597d(0x1bd)](){return!0x0;}static get[_0x50597d(0x1be)](){return!0x0;}[_0x50597d(0x1b9)](){const _0x395a15=_0x50597d,{editor:_0x43d84d}=this;_0x43d84d[_0x395a15(0x1b2)][_0x395a15(0x1b4)](_0x395a15(0x1b8),new _0x5288f4(_0x43d84d)),_0x43d84d[_0x395a15(0x1b2)][_0x395a15(0x1b4)](_0x395a15(0x1c3),new _0x5efa9d(_0x43d84d));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4eff1d}from'ckeditor5/src/core.js';import{ButtonView as _0x591cf9}from'ckeditor5/src/ui.js';import{createElement as _0x4c4bd9}from'ckeditor5/src/utils.js';import _0x3030fb from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x4eff1d{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x27c81f=this['editor'];_0x27c81f['ui']['componentFactory']['add']('uploadcareImageEdit',_0x225ee9=>{const _0x13ff77=_0x27c81f['commands']['get']('uploadcareImageEdit'),_0x26379a=new _0x591cf9(_0x225ee9),t=_0x225ee9['t'];return _0x26379a['set']({'icon':_0x3030fb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x26379a['bind']('isEnabled')['to'](_0x13ff77),_0x26379a['bind']('isOn')['to'](_0x13ff77,'isActive'),this['listenTo'](_0x26379a,'execute',()=>{_0x27c81f['execute']('uploadcareImageEdit'),_0x27c81f['editing']['view']['focus']();}),_0x26379a;}),this['_initConfig']();}['_initConfig'](){const _0xa50033=_0x4c4bd9(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xa50033),this['listenTo'](this['editor'],'destroy',()=>{_0xa50033['remove']();});}}
23
+ import{Plugin as _0x19c33b}from'ckeditor5/src/core.js';import{ButtonView as _0x30b9ee}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x483276}from'ckeditor5/src/icons.js';import{createElement as _0x46b72e}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x19c33b{['_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 _0x545bd4=this['editor'];_0x545bd4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50afff=>{const _0x1c573b=_0x545bd4['commands']['get']('uploadcareImageEdit'),_0x5106b8=new _0x30b9ee(_0x50afff),t=_0x50afff['t'];return _0x5106b8['set']({'icon':_0x483276,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x5106b8['bind']('isEnabled')['to'](_0x1c573b),_0x5106b8['bind']('isOn')['to'](_0x1c573b,'isActive'),this['listenTo'](_0x5106b8,'execute',()=>{_0x545bd4['execute']('uploadcareImageEdit'),_0x545bd4['editing']['view']['focus']();}),_0x5106b8;}),this['_initConfig']();}['_initConfig'](){const _0x98dec=_0x46b72e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x98dec),this['listenTo'](this['editor'],'destroy',()=>{_0x98dec['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x310376=_0x43bd;function _0x43bd(_0x26e7b1,_0xa0f003){const _0x1f977f=_0x1f97();return _0x43bd=function(_0x43bd37,_0x5702ac){_0x43bd37=_0x43bd37-0x156;let _0x438e8f=_0x1f977f[_0x43bd37];return _0x438e8f;},_0x43bd(_0x26e7b1,_0xa0f003);}(function(_0x5523a5,_0x3467a3){const _0x74c640=_0x43bd,_0x3296b0=_0x5523a5();while(!![]){try{const _0x543ca4=-parseInt(_0x74c640(0x157))/0x1*(parseInt(_0x74c640(0x16a))/0x2)+-parseInt(_0x74c640(0x162))/0x3+parseInt(_0x74c640(0x15b))/0x4+parseInt(_0x74c640(0x165))/0x5+parseInt(_0x74c640(0x163))/0x6+-parseInt(_0x74c640(0x164))/0x7*(parseInt(_0x74c640(0x15f))/0x8)+-parseInt(_0x74c640(0x16f))/0x9*(-parseInt(_0x74c640(0x16b))/0xa);if(_0x543ca4===_0x3467a3)break;else _0x3296b0['push'](_0x3296b0['shift']());}catch(_0x5748b6){_0x3296b0['push'](_0x3296b0['shift']());}}}(_0x1f97,0xecc68));import{Command as _0x319910}from'ckeditor5/src/core.js';function _0x1f97(){const _0x7ed4d5=['5392365VoDKxR','removeAttribute','imageInline','setAttributes','getSelectedElement','2HPOqzy','30HokmCt','model','element','sizes','7756839QRNWMS','change','1780691MhDACg','imageBlock','selection','srcset','615992wOuGbJ','document','isEnabled','editor','216hGmbzS','refresh','execute','2861070intREQ','6595272SZxrkF','314503ioRZOq'];_0x1f97=function(){return _0x7ed4d5;};return _0x1f97();}export default class O extends _0x319910{[_0x310376(0x160)](){const _0x5dd07b=_0x310376,_0x4b453c=this[_0x5dd07b(0x15e)][_0x5dd07b(0x16c)][_0x5dd07b(0x15c)][_0x5dd07b(0x159)][_0x5dd07b(0x169)]();this[_0x5dd07b(0x15d)]=Boolean(_0x4b453c&&(_0x4b453c['is'](_0x5dd07b(0x16d),_0x5dd07b(0x158))||_0x4b453c['is'](_0x5dd07b(0x16d),_0x5dd07b(0x167))));}[_0x310376(0x161)](_0x267d51){const _0x343eb2=_0x310376,_0x36e369=this[_0x343eb2(0x15e)][_0x343eb2(0x16c)][_0x343eb2(0x15c)][_0x343eb2(0x159)][_0x343eb2(0x169)]();this[_0x343eb2(0x15e)][_0x343eb2(0x16c)][_0x343eb2(0x156)](_0x150b43=>{const _0x27daee=_0x343eb2;_0x150b43[_0x27daee(0x168)](_0x267d51,_0x36e369),_0x150b43[_0x27daee(0x166)](_0x27daee(0x15a),_0x36e369),_0x150b43[_0x27daee(0x166)](_0x27daee(0x16e),_0x36e369);});}}
23
+ const _0x7a9256=_0x3dc6;function _0x4446(){const _0x2f0d34=['execute','selection','change','element','isEnabled','sizes','removeAttribute','document','205ogHxlQ','setAttributes','getSelectedElement','33jLPsbe','editor','1090634JxEBgk','206792HwVLgo','7ndKNVi','refresh','imageBlock','48GmuJJM','3167512sKPoHj','130554fsLtWA','2926503yNkXGy','imageInline','2zOoVUU','22764180haXLbb','model','srcset','2907010UWHJsL'];_0x4446=function(){return _0x2f0d34;};return _0x4446();}(function(_0x1153de,_0x1bbb02){const _0x39bb48=_0x3dc6,_0x29efd7=_0x1153de();while(!![]){try{const _0x43e990=parseInt(_0x39bb48(0xbc))/0x1*(-parseInt(_0x39bb48(0xb2))/0x2)+parseInt(_0x39bb48(0xb7))/0x3*(-parseInt(_0x39bb48(0xb3))/0x4)+parseInt(_0x39bb48(0xc9))/0x5*(parseInt(_0x39bb48(0xb9))/0x6)+parseInt(_0x39bb48(0xb4))/0x7*(parseInt(_0x39bb48(0xb8))/0x8)+parseInt(_0x39bb48(0xba))/0x9+-parseInt(_0x39bb48(0xc0))/0xa*(parseInt(_0x39bb48(0xcc))/0xb)+parseInt(_0x39bb48(0xbd))/0xc;if(_0x43e990===_0x1bbb02)break;else _0x29efd7['push'](_0x29efd7['shift']());}catch(_0x36c8d6){_0x29efd7['push'](_0x29efd7['shift']());}}}(_0x4446,0xafdcf));function _0x3dc6(_0x5162ce,_0x5131c5){const _0x44462d=_0x4446();return _0x3dc6=function(_0x3dc62c,_0x541f9d){_0x3dc62c=_0x3dc62c-0xb2;let _0x5392b0=_0x44462d[_0x3dc62c];return _0x5392b0;},_0x3dc6(_0x5162ce,_0x5131c5);}import{Command as _0x35456d}from'ckeditor5/src/core.js';export default class O extends _0x35456d{[_0x7a9256(0xb5)](){const _0x49cb3f=_0x7a9256,_0x5c9844=this[_0x49cb3f(0xcd)][_0x49cb3f(0xbe)][_0x49cb3f(0xc8)][_0x49cb3f(0xc2)][_0x49cb3f(0xcb)]();this[_0x49cb3f(0xc5)]=Boolean(_0x5c9844&&(_0x5c9844['is'](_0x49cb3f(0xc4),_0x49cb3f(0xb6))||_0x5c9844['is'](_0x49cb3f(0xc4),_0x49cb3f(0xbb))));}[_0x7a9256(0xc1)](_0x578983){const _0x341a74=_0x7a9256,_0x42dadd=this[_0x341a74(0xcd)][_0x341a74(0xbe)][_0x341a74(0xc8)][_0x341a74(0xc2)][_0x341a74(0xcb)]();this[_0x341a74(0xcd)][_0x341a74(0xbe)][_0x341a74(0xc3)](_0xe79183=>{const _0x483d93=_0x341a74;_0xe79183[_0x483d93(0xca)](_0x578983,_0x42dadd),_0xe79183[_0x483d93(0xc7)](_0x483d93(0xbf),_0x42dadd),_0xe79183[_0x483d93(0xc7)](_0x483d93(0xc6),_0x42dadd);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x44cf2b=_0x5e68;(function(_0x283a28,_0x37deee){var _0x522147=_0x5e68,_0x115597=_0x283a28();while(!![]){try{var _0x5942cb=parseInt(_0x522147(0x1c3))/0x1+parseInt(_0x522147(0x1bb))/0x2+-parseInt(_0x522147(0x1bd))/0x3+parseInt(_0x522147(0x1bf))/0x4+-parseInt(_0x522147(0x1b5))/0x5*(parseInt(_0x522147(0x1c2))/0x6)+-parseInt(_0x522147(0x1b6))/0x7*(-parseInt(_0x522147(0x1c0))/0x8)+parseInt(_0x522147(0x1b9))/0x9*(-parseInt(_0x522147(0x1be))/0xa);if(_0x5942cb===_0x37deee)break;else _0x115597['push'](_0x115597['shift']());}catch(_0x130400){_0x115597['push'](_0x115597['shift']());}}}(_0x4770,0xda2bd));import{Plugin as _0xe15afe}from'ckeditor5/src/core.js';import _0x49c994 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x115d6d from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5e68(_0x546d74,_0x53f410){var _0x477073=_0x4770();return _0x5e68=function(_0x5e6847,_0x272003){_0x5e6847=_0x5e6847-0x1b5;var _0x4cf81f=_0x477073[_0x5e6847];return _0x4cf81f;},_0x5e68(_0x546d74,_0x53f410);}export default class j extends _0xe15afe{static get[_0x44cf2b(0x1b8)](){var _0x15d441=_0x44cf2b;return _0x15d441(0x1bc);}static get[_0x44cf2b(0x1b7)](){return[_0x49c994,_0x115d6d];}static get[_0x44cf2b(0x1ba)](){return!0x0;}static get[_0x44cf2b(0x1c1)](){return!0x0;}}function _0x4770(){var _0x1890e2=['1239360nxsYDm','1290WeisyX','5205080oxiTKy','8WeqszB','isPremiumPlugin','6qQVccz','1678136mAvgdM','3278630wqhJGF','12423299KgkdRz','requires','pluginName','312525nbBzvB','isOfficialPlugin','3375674LUTtGO','UploadcareImageEdit'];_0x4770=function(){return _0x1890e2;};return _0x4770();}
23
+ var _0x157729=_0x12fa;(function(_0x5704e7,_0x5d0114){var _0x301b08=_0x12fa,_0x2a7e9c=_0x5704e7();while(!![]){try{var _0x5c775a=-parseInt(_0x301b08(0xb7))/0x1+parseInt(_0x301b08(0xbd))/0x2*(parseInt(_0x301b08(0xb5))/0x3)+-parseInt(_0x301b08(0xbc))/0x4*(parseInt(_0x301b08(0xb2))/0x5)+parseInt(_0x301b08(0xb9))/0x6+parseInt(_0x301b08(0xb8))/0x7+-parseInt(_0x301b08(0xb3))/0x8+-parseInt(_0x301b08(0xb6))/0x9;if(_0x5c775a===_0x5d0114)break;else _0x2a7e9c['push'](_0x2a7e9c['shift']());}catch(_0x2aa2be){_0x2a7e9c['push'](_0x2a7e9c['shift']());}}}(_0x2eb3,0x333e3));import{Plugin as _0x48ecfc}from'ckeditor5/src/core.js';function _0x12fa(_0x1fd87d,_0x1d6af4){var _0x2eb3fc=_0x2eb3();return _0x12fa=function(_0x12fa49,_0x2af05c){_0x12fa49=_0x12fa49-0xb2;var _0x27b89e=_0x2eb3fc[_0x12fa49];return _0x27b89e;},_0x12fa(_0x1fd87d,_0x1d6af4);}import _0x3f7284 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2eb3(){var _0x4b1dad=['requires','4QSvuxV','54qfGXCi','isOfficialPlugin','pluginName','730580HJniZG','2710216HibtJm','UploadcareImageEdit','1182HHZvCC','676035KFxFlt','13258wbnzWK','2475368Slqzgz','2513370XEpRAm','isPremiumPlugin'];_0x2eb3=function(){return _0x4b1dad;};return _0x2eb3();}import _0x4f9309 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x48ecfc{static get[_0x157729(0xbf)](){var _0x179968=_0x157729;return _0x179968(0xb4);}static get[_0x157729(0xbb)](){return[_0x3f7284,_0x4f9309];}static get[_0x157729(0xbe)](){return!0x0;}static get[_0x157729(0xba)](){return!0x0;}}