@ckeditor/ckeditor5-uploadcare 44.3.0 → 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 _0x10a8e4=_0x3818;(function(_0x34e8b0,_0x3c5b9f){const _0x390226=_0x3818,_0xd24260=_0x34e8b0();while(!![]){try{const _0x37666f=-parseInt(_0x390226(0x10d))/0x1+-parseInt(_0x390226(0x10b))/0x2*(parseInt(_0x390226(0x114))/0x3)+parseInt(_0x390226(0xd3))/0x4*(parseInt(_0x390226(0xe1))/0x5)+-parseInt(_0x390226(0xf9))/0x6+-parseInt(_0x390226(0xf8))/0x7*(-parseInt(_0x390226(0x107))/0x8)+-parseInt(_0x390226(0x119))/0x9+parseInt(_0x390226(0xea))/0xa;if(_0x37666f===_0x3c5b9f)break;else _0xd24260['push'](_0xd24260['shift']());}catch(_0x226441){_0xd24260['push'](_0xd24260['shift']());}}}(_0x4666,0x707f9));function _0x4666(){const _0x1053be=['editing','idle','setSelection','setCurrentActivity','get','_dialog','8adxwbG','plugins','_api','_editor','62jkPqSg','getSelectedElement','747747UdtRuf','initFlow','focus','_insertImage','selection','element','_formView','44634GzmAFd','done-click','_editing','Replace','getOutputCollectionState','7736814eLNEOm','getLastPosition','imageInfo','Insert','820bHBzia','removeSelectionAttribute','uuid','imageBlock','_type','Local','show','attributes','EDITOR_TOP_CENTER','model','configElement','hide','execute','status','20650fyftmS','_initListeners','setAttribute','imageInline','stopListening','stopDelegating','imageUpload','insertImage','view','24955750XSBEFe','ctxElement','_initDialog','image','width','destroy','allEntries','detail','getAPI','document','change','source-list','uploadCare','length','382067MQuPqd','5204412RrYhyt','text','isOpen','linkHref','removeAllFiles','doneFlow','addEventListener','_insertAsset'];_0x4666=function(){return _0x1053be;};return _0x4666();}import{icons as _0x327a76}from'ckeditor5/src/core.js';import{ObservableMixin as _0x368a7b}from'ckeditor5/src/utils.js';import{Dialog as _0x59d59d,DialogViewPosition as _0x5e4fd4}from'ckeditor5/src/ui.js';import _0x342696 from'./uploadcareformview.js';import{UploadcareSource as _0x22bbe5}from'../uploadcareconfig.js';function _0x3818(_0x1e0fb5,_0x2d2dea){const _0x466646=_0x4666();return _0x3818=function(_0x381867,_0x356bbb){_0x381867=_0x381867-0xd2;let _0x29fc15=_0x466646[_0x381867];return _0x29fc15;},_0x3818(_0x1e0fb5,_0x2d2dea);}import{getTranslation as _0x5d3cb4}from'../utils/common-translations.js';import{getImageUrls as _0x550e15,getImageDimension as _0x3b8e64}from'../utils/editingutils.js';import{isAncestor as _0x13c424}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x368a7b(){constructor(_0x3df4f5,_0x23cd99,_0x505f04){const _0x35fcd7=_0x3818;super(),this[_0x35fcd7(0xd7)]=null,this[_0x35fcd7(0x113)]=null,this[_0x35fcd7(0x10a)]=_0x3df4f5,this[_0x35fcd7(0x116)]=_0x23cd99,this[_0x35fcd7(0x106)]=_0x3df4f5[_0x35fcd7(0x108)][_0x35fcd7(0x105)](_0x59d59d),this[_0x35fcd7(0x109)]=_0x23cd99[_0x35fcd7(0xeb)][_0x35fcd7(0xf2)](),this[_0x35fcd7(0xd7)]=_0x505f04,this[_0x35fcd7(0x116)][_0x35fcd7(0xdd)][_0x35fcd7(0xe3)](_0x35fcd7(0xf5),this[_0x35fcd7(0xd7)]),this[_0x35fcd7(0xec)](),this[_0x35fcd7(0xe2)](),this[_0x35fcd7(0x109)][_0x35fcd7(0x10e)]();}[_0x10a8e4(0xef)](){const _0x26544a=_0x10a8e4;this[_0x26544a(0x113)]&&(this[_0x26544a(0x113)][_0x26544a(0xef)](),this[_0x26544a(0x113)]=null),this[_0x26544a(0x109)]&&this[_0x26544a(0x109)][_0x26544a(0xfe)](),this[_0x26544a(0xe5)](),this[_0x26544a(0xe6)]();}[_0x10a8e4(0xec)](){const _0x1daad3=_0x10a8e4,{locale:_0x151f52,model:_0x346195}=this[_0x1daad3(0x10a)],_0x20bea4=_0x346195[_0x1daad3(0xf3)][_0x1daad3(0x111)][_0x1daad3(0x10c)](),_0x5bf239=_0x20bea4&&(_0x20bea4['is'](_0x1daad3(0x112),_0x1daad3(0xd6))||_0x20bea4['is'](_0x1daad3(0x112),_0x1daad3(0xe4)));this[_0x1daad3(0x113)]=new _0x342696(_0x151f52),this[_0x1daad3(0x106)][_0x1daad3(0xd9)]({'id':_0x1daad3(0xf6),'icon':_0x327a76[_0x1daad3(0xe7)],'title':_0x5d3cb4(_0x151f52,this[_0x1daad3(0xd7)],_0x5bf239?_0x1daad3(0x117):_0x1daad3(0xd2))[_0x1daad3(0xfa)],'content':this[_0x1daad3(0x113)],'position':_0x5e4fd4[_0x1daad3(0xdb)],'isModal':!0x0,'onShow':()=>{const _0x227915=_0x1daad3;this[_0x227915(0x113)][_0x227915(0x10f)]();},'onHide':()=>{const _0x305453=_0x1daad3;this[_0x305453(0x109)][_0x305453(0xfd)](),this[_0x305453(0x10a)][_0x305453(0x101)][_0x305453(0xe9)][_0x305453(0x10f)](),this[_0x305453(0xef)]();},'keystrokeHandlerOptions':{'filter':_0x220773=>!_0x13c424(_0x220773,this[_0x1daad3(0x113)][_0x1daad3(0x112)])}});}[_0x10a8e4(0xe2)](){const _0x229111=_0x10a8e4;this[_0x229111(0x116)][_0x229111(0xeb)][_0x229111(0xff)](_0x229111(0x115),()=>{const _0x2eb901=_0x229111,{allEntries:_0x4e8401}=this[_0x2eb901(0x109)][_0x2eb901(0x118)]();this[_0x2eb901(0x10a)][_0x2eb901(0xdc)][_0x2eb901(0xf4)](_0x480bb4=>{const _0x52907e=_0x2eb901,_0x1fc3ba=_0x4e8401[_0x52907e(0xf7)];for(const _0x598b49 of _0x4e8401){const _0x3b3366=_0x598b49===_0x4e8401[_0x1fc3ba-0x1],{cdnUrl:_0x4cb69d,fileInfo:_0x1a04b4}=_0x598b49;if(!_0x4cb69d||!_0x1a04b4)continue;const {width:_0x3db201,height:_0x1ec89e}=_0x1a04b4[_0x52907e(0x11b)],_0x6ca69a=_0x3b8e64(_0x4cb69d,_0x3db201,_0x1ec89e),_0x5de4f1=_0x550e15(_0x4cb69d,_0x6ca69a[_0x52907e(0xee)]),_0x4bb18e={'id':_0x1a04b4[_0x52907e(0xd5)],'type':_0x52907e(0xed),'attributes':{'imageDimension':_0x6ca69a,..._0x5de4f1}};this[_0x52907e(0x100)](_0x4bb18e,_0x3b3366,_0x480bb4);}}),this[_0x2eb901(0x106)][_0x2eb901(0xde)]();}),this[_0x229111(0x116)][_0x229111(0xeb)][_0x229111(0xff)](_0x229111(0xf4),_0x1ec59f=>{const _0x51923e=_0x229111;_0x51923e(0x102)===_0x1ec59f[_0x51923e(0xf1)][_0x51923e(0xe0)]&&!_0x1ec59f[_0x51923e(0xf1)][_0x51923e(0xf0)][_0x51923e(0xf7)]&&this[_0x51923e(0x106)][_0x51923e(0xfb)]&&(this[_0x51923e(0xd7)]===_0x22bbe5[_0x51923e(0xd8)]?this[_0x51923e(0x109)][_0x51923e(0x104)](_0x22bbe5[_0x51923e(0xd8)]):this[_0x51923e(0x109)][_0x51923e(0x10e)]());});}[_0x10a8e4(0x100)](_0x34fb56,_0x3e88f1,_0x28c65d){const _0x1b62b7=_0x10a8e4,_0x444677=this[_0x1b62b7(0x10a)][_0x1b62b7(0xdc)][_0x1b62b7(0xf3)][_0x1b62b7(0x111)],_0x4e7a4c=_0x444677[_0x1b62b7(0x10c)](),_0x482088=!(!_0x4e7a4c||!_0x4e7a4c['is'](_0x1b62b7(0x112),_0x1b62b7(0xe4)));_0x28c65d[_0x1b62b7(0xd4)](_0x1b62b7(0xfc)),this[_0x1b62b7(0x110)](_0x34fb56,_0x482088),_0x3e88f1||_0x28c65d[_0x1b62b7(0x103)](_0x444677[_0x1b62b7(0x11a)]());}[_0x10a8e4(0x110)](_0x3d5180,_0x2d262d){const _0x363bb1=_0x10a8e4,_0x2f99f0=this[_0x363bb1(0x10a)],{imageDimension:_0x3ed2f2,imageFallbackUrl:_0x3c93d2,imageSources:_0x25ccba}=_0x3d5180[_0x363bb1(0xda)];_0x2f99f0[_0x363bb1(0xdf)](_0x363bb1(0xe8),{'imageType':_0x2d262d?_0x363bb1(0xe4):null,'source':{'uploadcareImageId':_0x3d5180['id'],'src':_0x3c93d2,'sources':_0x25ccba,..._0x3ed2f2}});}}
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 _0x565171=_0x4dd7;(function(_0x44db60,_0x4419c8){var _0x2b5f4d=_0x4dd7,_0x55e3bf=_0x44db60();while(!![]){try{var _0x39cb0c=parseInt(_0x2b5f4d(0x190))/0x1+parseInt(_0x2b5f4d(0x197))/0x2+parseInt(_0x2b5f4d(0x19b))/0x3+parseInt(_0x2b5f4d(0x18d))/0x4*(parseInt(_0x2b5f4d(0x19f))/0x5)+parseInt(_0x2b5f4d(0x18c))/0x6*(-parseInt(_0x2b5f4d(0x191))/0x7)+parseInt(_0x2b5f4d(0x198))/0x8*(parseInt(_0x2b5f4d(0x1a1))/0x9)+parseInt(_0x2b5f4d(0x194))/0xa*(-parseInt(_0x2b5f4d(0x18e))/0xb);if(_0x39cb0c===_0x4419c8)break;else _0x55e3bf['push'](_0x55e3bf['shift']());}catch(_0x25d38b){_0x55e3bf['push'](_0x55e3bf['shift']());}}}(_0x11f4,0xbd3da));import _0x815f49 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x11f4(){var _0x5ed945=['1669822NHOFVq','ck-uploadcare-form','focus','10zRtbCv','div','uc-file-uploader-inline','1558890oZzNmd','3699264rxBAdX','uploader','ck-reset_all-excluded','981015OuVMpb','getFocusableElement','element','uc-light','5216805xFQGyv','setTemplate','27osGePb','12KTOINb','4gNsNbK','40453171EHLjRK','ck-uploadcare-theme','1392748GVfElq'];_0x11f4=function(){return _0x5ed945;};return _0x11f4();}function _0x4dd7(_0x27ffe1,_0x6bad57){var _0x11f4bd=_0x11f4();return _0x4dd7=function(_0x4dd726,_0x26f2bf){_0x4dd726=_0x4dd726-0x18c;var _0x461f14=_0x11f4bd[_0x4dd726];return _0x461f14;},_0x4dd7(_0x27ffe1,_0x6bad57);}export default class S extends _0x815f49{constructor(_0x28ef6c){var _0x28a1b2=_0x4dd7;super(_0x28ef6c),this[_0x28a1b2(0x1a0)]({'tag':_0x28a1b2(0x195),'attributes':{'class':['ck',_0x28a1b2(0x19a),_0x28a1b2(0x192)],'tabindex':'-1'},'children':[{'tag':_0x28a1b2(0x196),'attributes':{'class':[_0x28a1b2(0x19e),_0x28a1b2(0x18f)],'ctx-name':_0x28a1b2(0x199)}},this[_0x28a1b2(0x19c)]()]});}[_0x565171(0x193)](){var _0x3dee44=_0x565171;this[_0x3dee44(0x19d)][_0x3dee44(0x193)]();}}
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 _0x293d(_0x195fa1,_0x11e1dd){var _0x3861a6=_0x3861();return _0x293d=function(_0x293d51,_0x331568){_0x293d51=_0x293d51-0x12e;var _0x3b7bd8=_0x3861a6[_0x293d51];return _0x3b7bd8;},_0x293d(_0x195fa1,_0x11e1dd);}var _0x4b9b72=_0x293d;function _0x3861(){var _0xbca362=['isPremiumPlugin','4363EhtWxX','6906jtObzJ','9dmtBpn','define','Local','2070936OGvrAz','defineComponents','URL','isOfficialPlugin','Uploadcare','935080aIyjrk','pluginName','4080920xMqZgP','uploadcare.uploader.sourceList','config','236rXahll','7154651hOeXgZ','requires','6471880gZEzmA','6690Wqifsr'];_0x3861=function(){return _0xbca362;};return _0x3861();}(function(_0xbc64dd,_0x2e8711){var _0x1b0a45=_0x293d,_0x38f2b2=_0xbc64dd();while(!![]){try{var _0x1630de=parseInt(_0x1b0a45(0x13c))/0x1*(parseInt(_0x1b0a45(0x136))/0x2)+-parseInt(_0x1b0a45(0x141))/0x3+-parseInt(_0x1b0a45(0x131))/0x4+parseInt(_0x1b0a45(0x13a))/0x5*(parseInt(_0x1b0a45(0x13d))/0x6)+parseInt(_0x1b0a45(0x137))/0x7+-parseInt(_0x1b0a45(0x139))/0x8+parseInt(_0x1b0a45(0x13e))/0x9*(-parseInt(_0x1b0a45(0x133))/0xa);if(_0x1630de===_0x2e8711)break;else _0x38f2b2['push'](_0x38f2b2['shift']());}catch(_0x56eb7c){_0x38f2b2['push'](_0x38f2b2['shift']());}}}(_0x3861,0xe477e));import{Plugin as _0x29210d}from'ckeditor5/src/core.js';import _0x1b1a63 from'./uploadcareui.js';import _0x3571ab from'./uploadcareediting.js';import{UploadcareSource as _0x537190}from'./uploadcareconfig.js';import*as _0x5cd731 from'@uploadcare/file-uploader';export default class u extends _0x29210d{static get[_0x4b9b72(0x138)](){return[_0x3571ab,_0x1b1a63];}static get[_0x4b9b72(0x132)](){var _0x200b65=_0x4b9b72;return _0x200b65(0x130);}static get[_0x4b9b72(0x12f)](){return!0x0;}static get[_0x4b9b72(0x13b)](){return!0x0;}constructor(_0x3ddba8){var _0x13a8bb=_0x4b9b72;super(_0x3ddba8),_0x3ddba8[_0x13a8bb(0x135)][_0x13a8bb(0x13f)](_0x13a8bb(0x134),[_0x537190[_0x13a8bb(0x140)],_0x537190[_0x13a8bb(0x12e)]]),_0x5cd731[_0x13a8bb(0x142)](_0x5cd731);}}
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 _0x4768b2=_0x5aa0;(function(_0x81987c,_0x4bbc49){var _0x54962c=_0x5aa0,_0x5c4475=_0x81987c();while(!![]){try{var _0x358e1f=parseInt(_0x54962c(0xa0))/0x1+-parseInt(_0x54962c(0x8d))/0x2+parseInt(_0x54962c(0x98))/0x3*(-parseInt(_0x54962c(0x9b))/0x4)+-parseInt(_0x54962c(0x96))/0x5+-parseInt(_0x54962c(0x94))/0x6+-parseInt(_0x54962c(0x9c))/0x7*(parseInt(_0x54962c(0x9e))/0x8)+parseInt(_0x54962c(0x93))/0x9;if(_0x358e1f===_0x4bbc49)break;else _0x5c4475['push'](_0x5c4475['shift']());}catch(_0x3639f2){_0x5c4475['push'](_0x5c4475['shift']());}}}(_0x14be,0xae5d4));function _0x5aa0(_0xc062f7,_0x2f3a1d){var _0x14bef4=_0x14be();return _0x5aa0=function(_0x5aa0de,_0x882a94){_0x5aa0de=_0x5aa0de-0x8b;var _0x18c1c5=_0x14bef4[_0x5aa0de];return _0x18c1c5;},_0x5aa0(_0xc062f7,_0x2f3a1d);}import{Command as _0x4c3ff5}from'ckeditor5/src/core.js';function _0x14be(){var _0x24032f=['26676549mkdPIT','2319228ADeQQH','_controller','416645WDUrsE','refresh','51wuWbev','execute','plugins','41332hPqEzu','1484819ZZafCa','insertImage','40LitDlq','isEnabled','60963pYevmc','commands','_checkEnabled','1209430dvIenL','requires','destroy','get','_editing','editor'];_0x14be=function(){return _0x24032f;};return _0x14be();}import{Dialog as _0x17f57c}from'ckeditor5/src/ui.js';import _0x457b5a from'./uploadcareediting.js';import _0x1a1fc7 from'./ui/uploadcarecontroller.js';export default class l extends _0x4c3ff5{static get[_0x4768b2(0x8e)](){return[_0x17f57c,_0x457b5a];}constructor(_0x2fd263){var _0x53de7b=_0x4768b2;super(_0x2fd263),this[_0x53de7b(0x95)]=null,this[_0x53de7b(0x91)]=_0x2fd263[_0x53de7b(0x9a)][_0x53de7b(0x90)](_0x457b5a);}[_0x4768b2(0x97)](){var _0x2d3470=_0x4768b2;this[_0x2d3470(0x9f)]=this[_0x2d3470(0x8c)]();}[_0x4768b2(0x99)](_0xf3d958){var _0x277a9b=_0x4768b2;this[_0x277a9b(0x95)]&&(this[_0x277a9b(0x95)][_0x277a9b(0x8f)](),this[_0x277a9b(0x95)]=null),this[_0x277a9b(0x95)]=new _0x1a1fc7(this[_0x277a9b(0x92)],this[_0x277a9b(0x91)],_0xf3d958);}[_0x4768b2(0x8c)](){var _0xcf8f3e=_0x4768b2;return this[_0xcf8f3e(0x92)][_0xcf8f3e(0x8b)][_0xcf8f3e(0x90)](_0xcf8f3e(0x9d))[_0xcf8f3e(0x9f)];}}
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 _0x3180(_0x57ea88,_0x23a114){var _0x2e577b=_0x2e57();return _0x3180=function(_0x318078,_0x2cafc8){_0x318078=_0x318078-0xf1;var _0x20c9fe=_0x2e577b[_0x318078];return _0x20c9fe;},_0x3180(_0x57ea88,_0x23a114);}(function(_0x57c55d,_0x332341){var _0x21efbd=_0x3180,_0x58cfae=_0x57c55d();while(!![]){try{var _0x4b1c59=-parseInt(_0x21efbd(0x108))/0x1*(parseInt(_0x21efbd(0x103))/0x2)+parseInt(_0x21efbd(0xf1))/0x3+parseInt(_0x21efbd(0x104))/0x4+parseInt(_0x21efbd(0xf6))/0x5*(parseInt(_0x21efbd(0xf7))/0x6)+parseInt(_0x21efbd(0x109))/0x7*(-parseInt(_0x21efbd(0xfe))/0x8)+-parseInt(_0x21efbd(0x102))/0x9*(-parseInt(_0x21efbd(0x100))/0xa)+-parseInt(_0x21efbd(0x107))/0xb;if(_0x4b1c59===_0x332341)break;else _0x58cfae['push'](_0x58cfae['shift']());}catch(_0x1c8013){_0x58cfae['push'](_0x58cfae['shift']());}}}(_0x2e57,0x38b50));function _0x2e57(){var _0x240f22=['GDrive','GPhotos','1911304MlLVNl','url','159730kUaHKG','Facebook','36qbBksc','2GJtoYn','1515820JmzRsA','Dropbox','dropbox','406670gHeLeV','221043fmIBtp','7udcOao','225066SLQKZP','facebook','Local','URL','gdrive','45SDbTCo','140886GHWvjF','onedrive','OneDrive','local','gphotos'];_0x2e57=function(){return _0x240f22;};return _0x2e57();}export var UploadcareSource;!function(_0xe8f2d7){var _0x52373d=_0x3180;_0xe8f2d7[_0x52373d(0xf3)]=_0x52373d(0xfa),_0xe8f2d7[_0x52373d(0xf4)]=_0x52373d(0xff),_0xe8f2d7[_0x52373d(0x105)]=_0x52373d(0x106),_0xe8f2d7[_0x52373d(0xfc)]=_0x52373d(0xf5),_0xe8f2d7[_0x52373d(0x101)]=_0x52373d(0xf2),_0xe8f2d7[_0x52373d(0xfd)]=_0x52373d(0xfb),_0xe8f2d7[_0x52373d(0xf9)]=_0x52373d(0xf8);}(UploadcareSource||(UploadcareSource={}));
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 _0x384977=_0xc1d5;(function(_0x3e656b,_0xeda385){const _0x38dd0c=_0xc1d5,_0x5df37c=_0x3e656b();while(!![]){try{const _0x3323c7=parseInt(_0x38dd0c(0xdf))/0x1*(parseInt(_0x38dd0c(0xd9))/0x2)+parseInt(_0x38dd0c(0xfa))/0x3+-parseInt(_0x38dd0c(0xc5))/0x4*(parseInt(_0x38dd0c(0xf6))/0x5)+parseInt(_0x38dd0c(0xb3))/0x6*(-parseInt(_0x38dd0c(0xdc))/0x7)+parseInt(_0x38dd0c(0xae))/0x8+-parseInt(_0x38dd0c(0xad))/0x9*(-parseInt(_0x38dd0c(0xe3))/0xa)+-parseInt(_0x38dd0c(0xc2))/0xb;if(_0x3323c7===_0xeda385)break;else _0x5df37c['push'](_0x5df37c['shift']());}catch(_0x2dcbff){_0x5df37c['push'](_0x5df37c['shift']());}}}(_0x5666,0x8a0d3));import{Plugin as _0x425a38}from'ckeditor5/src/core.js';import{Dialog as _0x3e33cc}from'ckeditor5/src/ui.js';import{createElement as _0x1dfe55,global as _0x39d770,uid as _0x1d18c0}from'ckeditor5/src/utils.js';function _0x5666(){const _0x374083=['ctxElement','uc-upload-ctx-provider','replaceImageSource','init','isPremiumPlugin','configElement','7072285luWGaO','attributeToAttribute','upcast','13708eCVTYw','elementToAttribute','uploadcare.pubkey','cleanupImage','insertImage','commands','model','getAttribute','uploader','_configElement','extend','_initSchema','href','get','\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','uploadcareImageId','listenTo','fromCharCode','downcast','schema','1014GCrbdU','_initCtx','editor','21YQMIqi','config','_initImageProcessingIndicator','662lzbFEs','uploadcare.uploader','appendChild','execute','10BIVzsZ','iconHrefResolver','remove','#uc-icon-arrow-down','once','isRegistered','querySelector','_ctxElement','requires','imageInline','uploadcare','selection','pluginName','for','data-uc-image-id','isOfficialPlugin','join','render','true','65eVTDvB','destroy','closeMax','uploadcareImageReplace','2382603EBlojY','imageBlock','document','_initConversion','view','add','getSelectedElement','conversion','2821734faPzzM','1037592pqRTVq','editing','UploadcareEditing','uc-config','afterInit','640230VIoNZj','map','_initConfig','body','contentLanguage','input[uploadcare-file-input]','removeAttribute','PictureEditing','locale'];_0x5666=function(){return _0x374083;};return _0x5666();}import _0x58b6f0 from'./uploadcarecommand.js';function _0xc1d5(_0x2d4b1b,_0x13236b){const _0x566639=_0x5666();return _0xc1d5=function(_0xc1d547,_0x5cc33b){_0xc1d547=_0xc1d547-0xac;let _0x315092=_0x566639[_0xc1d547];return _0x315092;},_0xc1d5(_0x2d4b1b,_0x13236b);}import _0x33c9aa from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x382905}from'./utils/editingutils.js';export default class i extends _0x425a38{constructor(){const _0x35d78c=_0xc1d5;super(...arguments),this[_0x35d78c(0xce)]=null,this[_0x35d78c(0xea)]=null;}static get[_0x384977(0xef)](){const _0x543102=_0x384977;return _0x543102(0xb0);}static get[_0x384977(0xeb)](){const _0x59567d=_0x384977;return[_0x59567d(0xba),_0x33c9aa,_0x3e33cc];}static get[_0x384977(0xf2)](){return!0x0;}static get[_0x384977(0xc0)](){return!0x0;}get[_0x384977(0xc1)](){const _0xbc9116=_0x384977;return this[_0xbc9116(0xce)];}get[_0x384977(0xbc)](){const _0x27f131=_0x384977;return this[_0x27f131(0xea)];}[_0x384977(0xbf)](){const _0x53c620=_0x384977,_0x1a2a76=this[_0x53c620(0xdb)];_0x1a2a76[_0x53c620(0xca)][_0x53c620(0xff)](_0x53c620(0xed),new _0x58b6f0(_0x1a2a76));}[_0x384977(0xb2)](){const _0x136c2d=_0x384977;this[_0x136c2d(0xd0)](),this[_0x136c2d(0xfd)](),this[_0x136c2d(0xb5)](),this[_0x136c2d(0xda)](),this[_0x136c2d(0xde)](),this[_0x136c2d(0xd5)](this[_0x136c2d(0xdb)],_0x136c2d(0xf7),()=>{const _0x26022d=_0x136c2d;this[_0x26022d(0xce)]&&(this[_0x26022d(0xce)][_0x26022d(0xe5)](),this[_0x26022d(0xce)]=null),this[_0x26022d(0xea)]&&(this[_0x26022d(0xea)][_0x26022d(0xe5)](),this[_0x26022d(0xea)]=null);const _0x58b621=_0x39d770[_0x26022d(0xfc)][_0x26022d(0xe9)](_0x26022d(0xb8));_0x58b621&&_0x58b621[_0x26022d(0xe5)]();}),async function(_0x2f1216){const _0x1cb678=_0x3134c9([0x65,0x33,0x31,0x4a,0x4c,0x45,0x74,0x38,0x66,0x67,0x51,0x34,0x54,0x32,0x4f,0x37,0x30,0x4b,0x59,0x46,0x35,0x79,0x77,0x68,0x4e,0x55,0x6d,0x52,0x64,0x58,0x6c,0x48,0x6e,0x5a,0x71,0x76,0x61,0x39,0x75,0x53,0x41,0x72,0x49,0x43,0x63,0x69,0x4d,0x44,0x57,0x78,0x50,0x56,0x36,0x6a,0x62,0x42,0x47,0x6f,0x7a,0x70,0x73,0x6b]),_0x58693f=0x1e2efe7f,_0x59ff11=0x1e299f3f^_0x58693f,_0x84b281=window[_0x3134c9([0x44,0x61,0x74,0x65])][_0x3134c9([0x6e,0x6f,0x77])](),_0x3a2107=_0x2f1216[_0x3134c9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d5d3f=new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3152=>{_0x3a2107[_0x3134c9([0x6f,0x6e,0x63,0x65])](_0x3134c9([0x72,0x65,0x61,0x64,0x79]),_0x5a3152);}),_0x30ff74={[_0x3134c9([0x6b,0x74,0x79])]:_0x3134c9([0x45,0x43]),[_0x3134c9([0x75,0x73,0x65])]:_0x3134c9([0x73,0x69,0x67]),[_0x3134c9([0x63,0x72,0x76])]:_0x3134c9([0x50,0x2d,0x32,0x35,0x36]),[_0x3134c9([0x78])]:_0x3134c9([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]),[_0x3134c9([0x79])]:_0x3134c9([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]),[_0x3134c9([0x61,0x6c,0x67])]:_0x3134c9([0x45,0x53,0x32,0x35,0x36])},_0x7c54fd=_0x3a2107[_0x3134c9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3134c9([0x67,0x65,0x74])](_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x230155(){let _0x1301fb,_0xd0bffe=null,_0x54f913=null;try{if(_0x7c54fd==_0x3134c9([0x47,0x50,0x4c]))return _0x3134c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1301fb=_0x27bcb8(),!_0x1301fb)return _0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1301fb[_0x3134c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54f913=_0xced79e(_0x1301fb[_0x3134c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1301fb[_0x3134c9([0x6a,0x74,0x69])])),await _0x47a094()?_0x226550()?_0xf68ffa()?_0x3134c9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24b19c()?(_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3134c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd0bffe=_0x1afbb2(_0x3134c9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3134c9([0x74,0x72,0x69,0x61,0x6c])&&(_0xd0bffe=_0x1afbb2(_0x3134c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cbda3()):_0x3134c9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3134c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2f2051){return _0x3134c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf68ffa(){const _0x341d66=[_0x3134c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3134c9([0x74,0x72,0x69,0x61,0x6c])][_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x84b281/0x3e8:0xe10*_0x59ff11;return _0x1301fb[_0x3134c9([0x65,0x78,0x70])]<_0x341d66;}function _0x226550(){const _0x625cfe=_0x1301fb[_0x3134c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x625cfe&&(!!_0x625cfe[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x2a]))||!!_0x625cfe[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x55,0x50,0x4c,0x43])));}function _0x24b19c(){const _0x2e9440=_0xc1d5,_0x3445bb=_0x1301fb[_0x3134c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3445bb||0x0==_0x3445bb[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb84b8c}=new URL(window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e9440(0xd1)]);if(_0x3445bb[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb84b8c))return!0x0;const _0x524508=_0xb84b8c[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e]));return _0x3445bb[_0x3134c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5406=>_0x1b5406[_0x3134c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3134c9([0x2a])))[_0x3134c9([0x6d,0x61,0x70])](_0x3a1a78=>_0x3a1a78[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e])))[_0x3134c9([0x73,0x6f,0x6d,0x65])](_0x2b661c=>_0x524508[_0x3134c9([0x65,0x76,0x65,0x72,0x79])]((_0x3c6f92,_0x2a1896)=>_0x2b661c[_0x2a1896]===_0x3c6f92||_0x2b661c[_0x2a1896]===_0x3134c9([0x2a])));}function _0x1cbda3(){return _0xd0bffe&&_0x54f913?new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45b2e5,_0x2a01db)=>{_0xd0bffe[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x45b2e5,_0x2a01db),_0x54f913[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x5d6b6f=>{_0x5d6b6f!=_0x3134c9([0x56,0x61,0x6c,0x69,0x64])&&_0x45b2e5(_0x5d6b6f);},_0x2a01db);}):_0xd0bffe||_0x54f913||_0x3134c9([0x56,0x61,0x6c,0x69,0x64]);}}function _0xced79e(_0x423ff5,_0x27fa48){return new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35f3c3=>{if(_0x1badfb())return _0x35f3c3(_0x3134c9([0x56,0x61,0x6c,0x69,0x64]));_0x13e21f(),_0x3a2107[_0x3134c9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3537fe=!0x1;const _0xe0058f=_0x1d18c0();function _0xafcb53(_0x541f21){return!!_0x541f21&&(typeof _0x541f21===_0x3134c9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x541f21===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x541f21[_0x3134c9([0x74,0x68,0x65,0x6e])]===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x541f21[_0x3134c9([0x63,0x61,0x74,0x63,0x68])]===_0x3134c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x278d1c(_0x4a8cb3){_0xccfc2f(_0x4a8cb3)[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x2b10bb=>{if(!_0x2b10bb||_0x2b10bb[_0x3134c9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3134c9([0x6f,0x6b]))return _0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a51b2(_0xef00b2(_0xe0058f+_0x27fa48))!=_0x2b10bb[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3134c9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x51b64e=>(_0x4de36b(),_0x51b64e),()=>{const _0x3826df=_0x208fb3();return null==_0x3826df?(_0x4de36b(),_0x3134c9([0x56,0x61,0x6c,0x69,0x64])):_0x3134c9(_0x84b281-_0x3826df>(0x3a227a7f^_0x58693f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x35f3c3)[_0x3134c9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ca84d=0x1e1810ff^_0x58693f;function _0x4de36b(){const _0x2ef6f2=_0x3134c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a51b2(_0xef00b2(_0x423ff5)),_0x395f37=_0x27c1f2(_0x1a51b2(window[_0x3134c9([0x4d,0x61,0x74,0x68])][_0x3134c9([0x63,0x65,0x69,0x6c])](_0x84b281/_0x3ca84d)));window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3134c9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ef6f2,_0x395f37);}function _0x208fb3(){const _0x5f0a0b=_0x3134c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a51b2(_0xef00b2(_0x423ff5)),_0x1c1dd8=window[_0x3134c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3134c9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f0a0b);return _0x1c1dd8?window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27c1f2(_0x1c1dd8),0x10)*_0x3ca84d:null;}function _0xccfc2f(_0x3a12fd){return new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5575a4,_0x3ba911)=>{_0x3a12fd[_0x3134c9([0x74,0x68,0x65,0x6e])](_0x5575a4,_0x3ba911),window[_0x3134c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ba911,0x1e2f2abf^_0x58693f);});}}_0x3a2107[_0x3134c9([0x6f,0x6e])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ce35,_0x5ccee1)=>{if(_0x5ccee1[0x0]!=_0x423ff5)return _0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ccee1[0x1]={..._0x5ccee1[0x1],[_0x3134c9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe0058f};},{[_0x3134c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3134c9([0x68,0x69,0x67,0x68])}),_0x3a2107[_0x3134c9([0x6f,0x6e])](_0x3134c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31fb9e=>{_0xafcb53(_0x31fb9e[_0x3134c9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3537fe=!0x0,_0x278d1c(_0x31fb9e[_0x3134c9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3134c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3134c9([0x6c,0x6f,0x77])}),_0x3d5d3f[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>{_0x3537fe||_0x35f3c3(_0x3134c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1badfb(){return _0x3a2107[_0x3134c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3134c9([0x76,0x69,0x65,0x77])][_0x3134c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3134c9([0x61,0x75,0x74,0x6f]);}function _0x13e21f(){_0x3a2107[_0x3134c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3134c9([0x76,0x69,0x65,0x77])][_0x3134c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3134c9([0x61,0x75,0x74,0x6f]);}}function _0x1afbb2(_0x15a4e6){const _0x146a18=[new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb581=>setTimeout(_0x4cb581,0x1e27c0b3^_0x58693f)),_0x3d5d3f[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3147db=>{let _0x2f2582=0x0;_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x6f,0x6e])](_0x3134c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x863c6f,_0x17cb77)=>{_0x17cb77[0x0][_0x3134c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f2582++,_0x2f2582==(0x1e2eff87^_0x58693f)&&(_0x3147db(),_0x863c6f[_0x3134c9([0x6f,0x66,0x66])]());});}))];return window[_0x3134c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3134c9([0x72,0x61,0x63,0x65])](_0x146a18)[_0x3134c9([0x74,0x68,0x65,0x6e])](()=>_0x15a4e6);}async function _0x5820ca(){await _0x3d5d3f,_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28d546,_0x3a2107[_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3134c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28d546,_0x3a2107[_0x3134c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3134c9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2598a8(_0xf94f5b){const _0x533070=_0x35e7fe();_0x3a2107[_0x533070]=_0x3134c9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf94f5b,_0xf94f5b!=_0x3134c9([0x56,0x61,0x6c,0x69,0x64])&&_0x5820ca();}function _0x35e7fe(){const _0x647be1=window[_0x3134c9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3134c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3134c9([0x6e,0x6f,0x77])]())[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3134c9([0x2e]),'');let _0x5867ae=_0x3134c9([0x65]);for(let _0x51b0ae=0x0;_0x51b0ae<_0x647be1[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51b0ae+=0x2){let _0x4091f4=window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x647be1[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51b0ae,_0x51b0ae+0x2));_0x4091f4>=_0x1cb678[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4091f4-=_0x1cb678[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5867ae+=_0x1cb678[_0x4091f4];}return _0x5867ae;}function _0x27bcb8(){const _0x2e63a4=_0x7c54fd[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e]));if(0x3!=_0x2e63a4[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x370591(_0x2e63a4[0x1]);function _0x370591(_0xa95dc5){const _0x21b7bb=_0x4c2d0a(_0xa95dc5);return _0x21b7bb&&_0x3c59c9()?_0x21b7bb:null;function _0x3c59c9(){const _0x27e024=_0x21b7bb[_0x3134c9([0x6a,0x74,0x69])],_0x21231e=window[_0x3134c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27e024[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27e024[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2de290={..._0x21b7bb,[_0x3134c9([0x6a,0x74,0x69])]:_0x27e024[_0x3134c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27e024[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2de290[_0x3134c9([0x76,0x63])],_0xef00b2(_0x2de290)==_0x21231e;}}}async function _0x47a094(){let _0x1f7e0b=!0x0;try{const _0x3e5ccc=_0x7c54fd[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])](_0x3134c9([0x2e])),[_0xd8ea45,_0x4b32e5,_0x25a856]=_0x3e5ccc;return _0x53a1df(_0xd8ea45),await _0x414ff7(_0xd8ea45,_0x4b32e5,_0x25a856),_0x1f7e0b;}catch(_0x498104){return!0x1;}function _0x53a1df(_0x46a18b){const _0x2f4816=_0x4c2d0a(_0x46a18b);_0x2f4816&&_0x2f4816[_0x3134c9([0x61,0x6c,0x67])]==_0x3134c9([0x45,0x53,0x32,0x35,0x36])||(_0x1f7e0b=!0x1);}async function _0x414ff7(_0x7f592d,_0x25876a,_0x1a8873){const _0x4d42ab=window[_0x3134c9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3134c9([0x66,0x72,0x6f,0x6d])](_0x2b53e6(_0x1a8873),_0x570723=>_0x570723[_0x3134c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c4429=new window[(_0x3134c9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3134c9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7f592d+_0x3134c9([0x2e])+_0x25876a),_0x3443e8=window[_0x3134c9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3134c9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3443e8)return;const _0x8c977b=await _0x3443e8[_0x3134c9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3134c9([0x6a,0x77,0x6b]),_0x30ff74,{[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x45,0x43,0x44,0x53,0x41]),[_0x3134c9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3134c9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3443e8[_0x3134c9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x45,0x43,0x44,0x53,0x41]),[_0x3134c9([0x68,0x61,0x73,0x68])]:{[_0x3134c9([0x6e,0x61,0x6d,0x65])]:_0x3134c9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8c977b,_0x4d42ab,_0x1c4429)||(_0x1f7e0b=!0x1);}}function _0x4c2d0a(_0x85bb7f){return _0x85bb7f[_0x3134c9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3134c9([0x65,0x79]))?JSON[_0x3134c9([0x70,0x61,0x72,0x73,0x65])](_0x2b53e6(_0x85bb7f)):null;}function _0x2b53e6(_0x4547e9){return window[_0x3134c9([0x61,0x74,0x6f,0x62])](_0x4547e9[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3134c9([0x2b]))[_0x3134c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3134c9([0x2f])));}function _0xef00b2(_0x1ca989){let _0x45bda7=0x1505;function _0x40c6a6(_0x451720){for(let _0x30d9b3=0x0;_0x30d9b3<_0x451720[_0x3134c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30d9b3++){const _0x4ffd92=_0x451720[_0x3134c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30d9b3);_0x45bda7=(_0x45bda7<<0x5)+_0x45bda7+_0x4ffd92,_0x45bda7&=_0x45bda7;}}function _0x9d7255(_0x460bc5){Array[_0x3134c9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x460bc5)?_0x460bc5[_0x3134c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9d7255):_0x460bc5&&typeof _0x460bc5==_0x3134c9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3134c9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x460bc5)[_0x3134c9([0x73,0x6f,0x72,0x74])]()[_0x3134c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16608e,_0x381ef0])=>{_0x40c6a6(_0x16608e),_0x9d7255(_0x381ef0);}):_0x40c6a6(window[_0x3134c9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x460bc5));}return _0x9d7255(_0x1ca989),_0x45bda7>>>0x0;}function _0x1a51b2(_0x71c213){return _0x71c213[_0x3134c9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3134c9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3134c9([0x30]));}function _0x27c1f2(_0x117499){return _0x117499[_0x3134c9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3134c9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3134c9([0x6a,0x6f,0x69,0x6e])]('');}function _0x28d546(){}function _0x3134c9(_0x863854){const _0xfa15bf=_0xc1d5;return _0x863854[_0xfa15bf(0xb4)](_0x3fca05=>String[_0xfa15bf(0xd6)](_0x3fca05))[_0xfa15bf(0xf3)]('');}_0x2598a8(await _0x230155());}(this);}[_0x384977(0xd0)](){const _0x103a82=_0x384977,_0x1358a9=this[_0x103a82(0xdb)][_0x103a82(0xcb)][_0x103a82(0xd8)];_0x1358a9[_0x103a82(0xe8)](_0x103a82(0xfb))&&_0x1358a9[_0x103a82(0xcf)](_0x103a82(0xfb),{'allowAttributes':[_0x103a82(0xd4)]}),_0x1358a9[_0x103a82(0xe8)](_0x103a82(0xec))&&_0x1358a9[_0x103a82(0xcf)](_0x103a82(0xec),{'allowAttributes':[_0x103a82(0xd4)]});}[_0x384977(0xfd)](){const _0x185064=_0x384977,_0x53416f=this[_0x185064(0xdb)];_0x53416f[_0x185064(0xac)][_0x185064(0xf0)](_0x185064(0xd7))[_0x185064(0xc3)]({'model':_0x185064(0xd4),'view':_0x185064(0xf1)}),_0x53416f[_0x185064(0xac)][_0x185064(0xf0)](_0x185064(0xc4))[_0x185064(0xc6)]({'model':{'key':_0x185064(0xd4),'value':_0x82e7da=>_0x82e7da[_0x185064(0xcc)](_0x185064(0xf1))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x345a30=_0x53416f[_0x185064(0xca)][_0x185064(0xd2)](_0x185064(0xbe));_0x345a30&&this[_0x185064(0xd5)](_0x345a30,_0x185064(0xc8),(_0x2f20e0,[_0x4d9507,_0xab880f])=>{const _0x5c9e9e=_0x185064;_0x4d9507[_0x5c9e9e(0xb9)](_0x5c9e9e(0xd4),_0xab880f);});}[_0x384977(0xb5)](){const _0xb5ccb1=_0x384977,_0x18ca45=this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xdd)][_0xb5ccb1(0xd2)](_0xb5ccb1(0xe0))||{},_0x145ef4=this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xdd)][_0xb5ccb1(0xd2)](_0xb5ccb1(0xc7))||'';this[_0xb5ccb1(0xce)]=_0x1dfe55(_0x39d770[_0xb5ccb1(0xfc)],_0xb5ccb1(0xb1),{..._0x18ca45,'pubkey':_0x145ef4,'ctx-name':_0xb5ccb1(0xcd),'sourceList':'','imgOnly':_0xb5ccb1(0xf5),'removeCopyright':_0xb5ccb1(0xf5),'localeName':this[_0xb5ccb1(0xdb)][_0xb5ccb1(0xbb)][_0xb5ccb1(0xb7)],'externalSourcesEmbedCss':_0xb5ccb1(0xd3)}),this[_0xb5ccb1(0xce)][_0xb5ccb1(0xe4)]=_0x5778fa=>{const _0x3ebe4b=_0xb5ccb1;if(_0x3ebe4b(0xf8)==_0x5778fa)return _0x3ebe4b(0xe6);},_0x39d770[_0xb5ccb1(0xfc)][_0xb5ccb1(0xb6)][_0xb5ccb1(0xe1)](this[_0xb5ccb1(0xce)]);}[_0x384977(0xda)](){const _0x3c3b5c=_0x384977;this[_0x3c3b5c(0xea)]=_0x1dfe55(_0x39d770[_0x3c3b5c(0xfc)],_0x3c3b5c(0xbd),{'ctx-name':_0x3c3b5c(0xcd)}),_0x39d770[_0x3c3b5c(0xfc)][_0x3c3b5c(0xb6)][_0x3c3b5c(0xe1)](this[_0x3c3b5c(0xea)]);}[_0x384977(0xde)](){const _0x15e985=_0x384977,_0x364613=this[_0x15e985(0xdb)][_0x15e985(0xca)][_0x15e985(0xd2)](_0x15e985(0xc9));_0x364613&&this[_0x15e985(0xd5)](_0x364613,_0x15e985(0xe2),()=>{const _0xd0032f=_0x15e985,_0x11208a=this[_0xd0032f(0xdb)][_0xd0032f(0xcb)][_0xd0032f(0xfc)][_0xd0032f(0xee)][_0xd0032f(0x100)]();_0x11208a&&_0x11208a[_0xd0032f(0xcc)](_0xd0032f(0xd4))&&this[_0xd0032f(0xdb)][_0xd0032f(0xaf)][_0xd0032f(0xfe)][_0xd0032f(0xe7)](_0xd0032f(0xf4),()=>{const _0x120f8b=_0xd0032f;_0x382905(this[_0x120f8b(0xdb)],_0x11208a);});});const _0x1aca05=this[_0x15e985(0xdb)][_0x15e985(0xca)][_0x15e985(0xd2)](_0x15e985(0xf9));_0x1aca05&&this[_0x15e985(0xd5)](_0x1aca05,_0x15e985(0xe2),()=>{const _0x1205bd=_0x15e985,_0x4895d5=this[_0x1205bd(0xdb)][_0x1205bd(0xcb)][_0x1205bd(0xfc)][_0x1205bd(0xee)][_0x1205bd(0x100)]();_0x4895d5&&_0x4895d5[_0x1205bd(0xcc)](_0x1205bd(0xd4))&&this[_0x1205bd(0xdb)][_0x1205bd(0xaf)][_0x1205bd(0xfe)][_0x1205bd(0xe7)](_0x1205bd(0xf4),()=>{const _0x120c0a=_0x1205bd;_0x382905(this[_0x120c0a(0xdb)],_0x4895d5);});});}}
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 _0xef1e1c,ObservableMixin as _0x1aa84c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4a9cce}from'ckeditor5/src/ui.js';import _0x3e8001 from'./uploadcareimageeditformview.js';import _0x4a6146 from'../../utils/uploadutils.js';import _0x40ada9 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x53aeaf,getImageDimension as _0x47b296}from'../../utils/editingutils.js';import{isAncestor as _0x4adf46}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x1aa84c(){constructor(_0x2b4198,_0x309642,_0x5cd15f){super(),this['_editor']=_0x2b4198,this['_dialog']=_0x309642,this['_imageElement']=_0x5cd15f,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 _0x3196b4=this['_imageElement'],_0x30c505=_0x3196b4['getAttribute']('uploadcareImageId'),_0x23f180=_0x3196b4['getAttribute']('src');if(_0x30c505)await this['_loadImageInfo'](_0x30c505,_0x23f180);else{if(this['_imageCache']['has'](_0x23f180)){const _0xa56b6b=this['_imageCache']['get'](_0x23f180);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa56b6b['url'],this['imageDimension']=_0xa56b6b['dimension'],this['imageId']=_0xa56b6b['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x289168}=this['_editor'],t=_0x289168['t'],_0x5ed934=new _0x3e8001(_0x289168,this['imageStatus'],this['_attributes']);_0x5ed934['bind']('status')['to'](this,'imageStatus'),_0x5ed934['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5ed934['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5ed934['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5ed934,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x40ada9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5ed934,'position':_0x4a9cce['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5ed934['focus']();},'onHide':()=>{_0x5ed934['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1d66bb=>!_0x4adf46(_0x1d66bb,_0x5ed934['element'])}});}['_loadImageInfo'](_0x40dfe5,_0x2a734a){return _0x4a6146['getInfo'](_0x40dfe5,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x5a1892=>{const {width:_0x166e56,height:_0x14b9fb}=_0x5a1892['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a734a,this['imageDimension']={'width':_0x166e56,'height':_0x14b9fb},this['imageId']=_0x40dfe5;})['catch'](_0x29d9e9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x29d9e9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x32a994,_0x2c8944){return this['_getImageAsFile'](_0x32a994)['then'](_0x182ef1=>_0x4a6146['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x2c8944['signal'],'file':_0x182ef1,'onProgress':_0x574923=>{_0x574923&&_0x574923['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x574923['value']));}}))['then'](_0x4130b4=>{const {width:_0x1e6398,height:_0x637620}=_0x4130b4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4130b4['cdnUrl'],this['imageDimension']={'width':_0x1e6398,'height':_0x637620},this['imageId']=_0x4130b4['uuid'],this['imageUploadProgress']=null;const _0x54b32f=_0x32a994['getAttribute']('src');this['_imageCache']['set'](_0x54b32f,{'id':_0x4130b4['uuid'],'url':_0x4130b4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x579ed9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x579ed9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1070ce,_0x22dffc){_0x1070ce['on']('apply',(_0x27691d,_0x4a54b3)=>{this['_replaceImage'](_0x22dffc,_0x4a54b3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1070ce['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1070ce['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26bf88,_0x36e6fb,_0x4fac48){const _0x7db2d5=this['_editor'],{width:_0x8073e4,height:_0x48f8ab}=_0x47b296(_0x36e6fb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4bce26,imageSources:_0xd1d6dc}=_0x53aeaf(_0x36e6fb,_0x8073e4);_0x7db2d5['model']['change'](_0x5de042=>{if('$graveyard'===_0x26bf88['root']['rootName']){_0x7db2d5['execute']('insertImage',{'imageType':_0x26bf88['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26bf88['getAttributes']()),'uploadcareImageId':_0x4fac48,'src':_0x4bce26,'sources':_0xd1d6dc,'width':_0x8073e4,'height':_0x48f8ab}});const _0xa791cc=_0x26bf88['getChildren']();_0x26bf88=_0x7db2d5['model']['document']['selection']['getSelectedElement']();for(const _0x339bdb of _0xa791cc)_0x5de042['append'](_0x5de042['cloneElement'](_0x339bdb),_0x26bf88);}else _0x5de042['setSelection'](_0x26bf88,'on'),_0x7db2d5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26bf88['getAttributes']()),'uploadcareImageId':_0x4fac48,'src':_0x4bce26,'sources':_0xd1d6dc,'width':_0x8073e4,'height':_0x48f8ab},_0x26bf88);_0x5de042['setSelection'](_0x26bf88,'on');});}async['_getImageAsFile'](_0x29e620){const _0x261f7f=_0xef1e1c['window'],_0x5aedf3=_0xef1e1c['document']['location']['href'],_0x57ee9b=new _0x261f7f['URL'](_0x29e620['getAttribute']('src'),_0x5aedf3);if('data:'===_0x57ee9b['protocol']){const _0x23124d=_0x57ee9b['href']['split'](','),_0x1d87e9=_0x23124d[0x0]['match'](/:(.*?);/)[0x1],_0x1190be=_0x1d87e9['split']('/')[0x1],_0x5ebef1=_0x261f7f['atob'](_0x23124d[_0x23124d['length']-0x1]);let _0x2c6d9e=_0x5ebef1['length'];const _0x4abb3a=new _0x261f7f['Uint8Array'](_0x2c6d9e);for(;_0x2c6d9e--;)_0x4abb3a[_0x2c6d9e]=_0x5ebef1['charCodeAt'](_0x2c6d9e);return new _0x261f7f['File']([_0x4abb3a],'image.'+_0x1190be,{'type':_0x1d87e9});}const _0x19dc2e=_0x57ee9b['href']['split']('/'),_0x52c168=_0x19dc2e[_0x19dc2e['length']-0x1],_0x3fd2c2=_0x52c168['split']('.')[0x1];return _0x261f7f['fetch'](_0x57ee9b['href'])['then'](_0x7ce5c3=>_0x7ce5c3['clone']()['blob']())['then'](_0x29893e=>new _0x261f7f['File']([_0x29893e],_0x52c168,{'type':'image/'+_0x3fd2c2}));}}
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(_0x43627e,_0x5a4167){const _0x5ddaf0=_0x541d,_0x5097a8=_0x43627e();while(!![]){try{const _0x2a9201=-parseInt(_0x5ddaf0(0x1a1))/0x1+-parseInt(_0x5ddaf0(0x1a0))/0x2*(parseInt(_0x5ddaf0(0x1a2))/0x3)+-parseInt(_0x5ddaf0(0x19c))/0x4*(-parseInt(_0x5ddaf0(0x19a))/0x5)+-parseInt(_0x5ddaf0(0x1ab))/0x6*(-parseInt(_0x5ddaf0(0x1a4))/0x7)+-parseInt(_0x5ddaf0(0x198))/0x8*(parseInt(_0x5ddaf0(0x1aa))/0x9)+parseInt(_0x5ddaf0(0x1a5))/0xa*(-parseInt(_0x5ddaf0(0x1a6))/0xb)+parseInt(_0x5ddaf0(0x19f))/0xc;if(_0x2a9201===_0x5a4167)break;else _0x5097a8['push'](_0x5097a8['shift']());}catch(_0xd6fac6){_0x5097a8['push'](_0x5097a8['shift']());}}}(_0x3ef4,0xc4bc4));import{View as _0x3d1862}from'ckeditor5/src/ui.js';function _0x541d(_0x13efe2,_0x2ec3c5){const _0x3ef42a=_0x3ef4();return _0x541d=function(_0x541d6c,_0x514ba8){_0x541d6c=_0x541d6c-0x198;let _0xbc59b1=_0x3ef42a[_0x541d6c];return _0xbc59b1;},_0x541d(_0x13efe2,_0x2ec3c5);}export default class tt extends _0x3d1862{constructor(_0xbae98a,_0x45cd33){const _0x371529=_0x541d;super(_0xbae98a);const _0x42659b=this[_0x371529(0x1a9)];this[_0x371529(0x19e)](_0x371529(0x1a8),''),this[_0x371529(0x1a7)]({'tag':_0x371529(0x19b),'attributes':{..._0x45cd33,'class':[_0x371529(0x19d),_0x371529(0x199)],'ctx-name':_0x371529(0x1a3),'cdn-url':_0x42659b['to'](_0x371529(0x1a8))}});}}function _0x3ef4(){const _0x31c6f5=['8542416qQDBDC','55946omXtmx','1116053zLIAqI','3dtWdFj','image-edit','7202503JTsRcI','69150JYNwQl','583nbnixa','setTemplate','imageSrc','bindTemplate','2853UsuOMF','6kKbIaY','3832WdjkZq','ck-uploadcare-theme','15GzRbsW','uc-cloud-image-editor','969860GEHeSq','uc-light','set'];_0x3ef4=function(){return _0x31c6f5;};return _0x3ef4();}
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 _0x4e2fb8,IconView as et,View as _0x5dbcae}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5dbcae{constructor(_0x505dad){super(_0x505dad);const t=_0x505dad['t'];this['set']('errorType',null);const _0x3e3d17=new _0x4e2fb8(_0x505dad);_0x3e3d17['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3e3d17['withText']=!0x0,_0x3e3d17['class']='ck-button-action',_0x3e3d17['on']('execute',()=>{this['fire']('retry');}),_0x3e3d17['bind']('isVisible')['to'](this,'errorType',_0x204de2=>'NotFound'!==_0x204de2);const _0x502f4f=new et();_0x502f4f['content']=at,_0x502f4f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3a3553=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':[_0x502f4f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3a3553['to']('errorType',_0xcd8be9=>t('NotFound'!==_0xcd8be9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3e3d17]},{'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 _0x58fffa,View as _0x201c66}from'ckeditor5/src/ui.js';export default class ta extends _0x201c66{constructor(_0x47485e){super(_0x47485e);const t=_0x47485e['t'],_0x460acb=this['bindTemplate'],_0x185a6c=new _0x58fffa();_0x185a6c['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':[_0x185a6c,{'text':_0x460acb['to']('imageUploadProgress',_0x41c72b=>t('Loading\x20image...')+'\x20('+(_0x41c72b||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 _0x26fc1b=_0x5936;(function(_0x2f2b35,_0x4e9bd1){const _0xdeab0b=_0x5936,_0x73889e=_0x2f2b35();while(!![]){try{const _0x163cba=parseInt(_0xdeab0b(0xdb))/0x1+-parseInt(_0xdeab0b(0xd1))/0x2+parseInt(_0xdeab0b(0xe1))/0x3+parseInt(_0xdeab0b(0xe0))/0x4*(parseInt(_0xdeab0b(0xd3))/0x5)+-parseInt(_0xdeab0b(0xec))/0x6+parseInt(_0xdeab0b(0xf8))/0x7*(parseInt(_0xdeab0b(0xfb))/0x8)+-parseInt(_0xdeab0b(0xe3))/0x9*(parseInt(_0xdeab0b(0xf1))/0xa);if(_0x163cba===_0x4e9bd1)break;else _0x73889e['push'](_0x73889e['shift']());}catch(_0x2bb16a){_0x73889e['push'](_0x73889e['shift']());}}}(_0x2439,0xf2d1d));import{View as _0x56f482}from'ckeditor5/src/ui.js';import _0x27a5ea from'./uploadcareimageeditformloadingview.js';function _0x5936(_0x1d0d11,_0x3c8fbe){const _0x243997=_0x2439();return _0x5936=function(_0x59362f,_0x3b4c94){_0x59362f=_0x59362f-0xc9;let _0x265826=_0x243997[_0x59362f];return _0x265826;},_0x5936(_0x1d0d11,_0x3c8fbe);}function _0x2439(){const _0x1ba4b3=['_errorView','add','_editingView','status','4579196UyRrCI','4967199bHaBmr','target','637011NESMrm','length','disconnect','render','addedNodes','ck-reset_all-excluded','retry','nodeName','createCollection','5835654AXakNx','error','observe','toLowerCase','addEventListener','140DlkyRW','detail','_waitForImageEditorComponent','_items','cancel','uc-cloud-image-editor','_setView','7IiDFQx','ck-uploadcare-form','set','5180072THEGRB','fire','_loadingView','querySelector','apply','element','_focusableView','addMany','setTemplate','ready','_addErrorViewListeners','getFocusableElement','cdnUrl','2501080kSmcAe','once','5mjbmor','uploading','filter','_addUploadcareImageEditorListeners','div','clear','focus','change:status','760603jWIdcO'];_0x2439=function(){return _0x1ba4b3;};return _0x2439();}import _0x16d203 from'./uploadcareimageeditformerrorview.js';import _0x1b7dad from'./uploadcareimageeditformeditingview.js';import _0x156a4b from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x156a4b{constructor(_0x29b7a3,_0x38053a,_0x115cf4){const _0x5733b2=_0x5936;super(_0x29b7a3),this[_0x5733b2(0xf4)]=this[_0x5733b2(0xeb)](),this[_0x5733b2(0xfd)]=new _0x27a5ea(_0x29b7a3),this[_0x5733b2(0xdc)]=new _0x16d203(_0x29b7a3),this[_0x5733b2(0xde)]=new _0x1b7dad(_0x29b7a3,_0x115cf4),this[_0x5733b2(0xca)]=new _0x56f482(_0x29b7a3),this[_0x5733b2(0xca)][_0x5733b2(0xcc)](this[_0x5733b2(0xcf)]()),this[_0x5733b2(0xfa)](_0x5733b2(0xdf),_0x38053a),this[_0x5733b2(0xcc)]({'tag':_0x5733b2(0xd7),'attributes':{'class':['ck',_0x5733b2(0xe8),_0x5733b2(0xf9)],'tabindex':'-1'},'children':this[_0x5733b2(0xf4)]}),this[_0x5733b2(0xf7)](),this[_0x5733b2(0xd2)](_0x5733b2(0xe6),()=>{const _0x2d0aa6=_0x5733b2;this[_0x2d0aa6(0xf3)](this[_0x2d0aa6(0xc9)],_0x5c9905=>{const _0x46756d=_0x2d0aa6;this[_0x46756d(0xd6)](_0x5c9905);});}),this['on'](_0x5733b2(0xda),()=>{const _0x398e5f=_0x5733b2;this[_0x398e5f(0xf7)]();}),this[_0x5733b2(0xce)]();}[_0x26fc1b(0xd9)](){const _0x21e945=_0x26fc1b;this[_0x21e945(0xc9)][_0x21e945(0xd9)]();}[_0x26fc1b(0xf7)](){const _0x31d4a5=_0x26fc1b;switch(this[_0x31d4a5(0xf4)][_0x31d4a5(0xd8)](),this[_0x31d4a5(0xdf)]){case _0x31d4a5(0xd4):this[_0x31d4a5(0xf4)][_0x31d4a5(0xdd)](this[_0x31d4a5(0xfd)]);break;case _0x31d4a5(0xed):this[_0x31d4a5(0xf4)][_0x31d4a5(0xdd)](this[_0x31d4a5(0xdc)]);break;case _0x31d4a5(0xcd):this[_0x31d4a5(0xf4)][_0x31d4a5(0xcb)]([this[_0x31d4a5(0xde)],this[_0x31d4a5(0xca)]]);}}[_0x26fc1b(0xf3)](_0x52bdca,_0x21dc27){const _0x4bf33c=_0x26fc1b,_0x501208=_0x4bf33c(0xf6),_0x35431d=_0x52bdca[_0x4bf33c(0xfe)](_0x501208);if(_0x35431d)return _0x21dc27(_0x35431d);const _0x4f8740=new MutationObserver(_0x53f535=>{const _0x33ae81=_0x4bf33c,_0x5463d1=_0x53f535[_0x33ae81(0xd5)](_0x2d556a=>_0x2d556a[_0x33ae81(0xe2)]===_0x52bdca&&_0x2d556a[_0x33ae81(0xe7)][_0x33ae81(0xe4)]>0x0&&_0x2d556a[_0x33ae81(0xe7)][0x0][_0x33ae81(0xea)][_0x33ae81(0xef)]()===_0x501208);_0x5463d1[_0x33ae81(0xe4)]&&(_0x4f8740[_0x33ae81(0xe5)](),_0x21dc27(_0x5463d1[0x0][_0x33ae81(0xe7)][0x0]));});_0x4f8740[_0x4bf33c(0xee)](_0x52bdca,{'childList':!0x0,'subtree':!0x0});}[_0x26fc1b(0xd6)](_0xcf92bd){const _0x404edd=_0x26fc1b;_0xcf92bd[_0x404edd(0xf0)](_0x404edd(0xff),_0x2e81ce=>{const _0x458746=_0x404edd;this[_0x458746(0xfc)](_0x458746(0xff),{'imageSrc':_0x2e81ce[_0x458746(0xf2)][_0x458746(0xd0)]});}),_0xcf92bd[_0x404edd(0xf0)](_0x404edd(0xf5),()=>{const _0x3c3563=_0x404edd;this[_0x3c3563(0xfc)](_0x3c3563(0xf5));});}[_0x26fc1b(0xce)](){const _0x1ac761=_0x26fc1b;this[_0x1ac761(0xdc)]['on'](_0x1ac761(0xe9),()=>{const _0x9627f0=_0x1ac761;this[_0x9627f0(0xfc)](_0x9627f0(0xe9));});}}
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
- const _0x510372=_0x4f8d;(function(_0x330478,_0x18510c){const _0x2bff92=_0x4f8d,_0x8431c9=_0x330478();while(!![]){try{const _0x18f1eb=parseInt(_0x2bff92(0x1c7))/0x1*(-parseInt(_0x2bff92(0x1d4))/0x2)+-parseInt(_0x2bff92(0x1c2))/0x3+parseInt(_0x2bff92(0x1d2))/0x4*(-parseInt(_0x2bff92(0x1c3))/0x5)+-parseInt(_0x2bff92(0x1c9))/0x6+-parseInt(_0x2bff92(0x1c0))/0x7+parseInt(_0x2bff92(0x1c1))/0x8+parseInt(_0x2bff92(0x1cd))/0x9*(parseInt(_0x2bff92(0x1d0))/0xa);if(_0x18f1eb===_0x18510c)break;else _0x8431c9['push'](_0x8431c9['shift']());}catch(_0x4d58eb){_0x8431c9['push'](_0x8431c9['shift']());}}}(_0x59ed,0x90a9a));function _0x59ed(){const _0x313a13=['execute','6824076uCQFnn','64480VCiJZZ','3324237hQvPDN','915495FZMDts','uploadcare.allowExternalImagesEditing','model','get','281zGzwVV','requires','3233370KPMglo','selection','element','imageEditController','1557nbQwmz','plugins','imageBlock','212530WGcciq','config','8YwiKPp','isActive','742XlLQpL','set','imageInline','document','isEnabled','bind','unbind','refresh','_isEditable','editor','getSelectedElement'];_0x59ed=function(){return _0x313a13;};return _0x59ed();}import{Command as _0x40dc16}from'ckeditor5/src/core.js';import{Dialog as _0x1e1a2b}from'ckeditor5/src/ui.js';import _0x555af6 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5723e9}from'../utils/editingutils.js';function _0x4f8d(_0x3be4b7,_0x5124ee){const _0x59eda9=_0x59ed();return _0x4f8d=function(_0x4f8d5d,_0x7619db){_0x4f8d5d=_0x4f8d5d-0x1bc;let _0x33b80d=_0x59eda9[_0x4f8d5d];return _0x33b80d;},_0x4f8d(_0x3be4b7,_0x5124ee);}export default class J extends _0x40dc16{static get[_0x510372(0x1c8)](){return[_0x1e1a2b];}constructor(_0x59a420){const _0x1dbced=_0x510372;super(_0x59a420),this[_0x1dbced(0x1cc)]=void 0x0,this[_0x1dbced(0x1bc)]=_0x5723e9(_0x59a420[_0x1dbced(0x1d1)][_0x1dbced(0x1c6)](_0x1dbced(0x1c4))||[]),this[_0x1dbced(0x1d5)]({'isActive':!0x1});}[_0x510372(0x1db)](){const _0xe6a0b5=_0x510372,_0xb196b1=this[_0xe6a0b5(0x1bd)][_0xe6a0b5(0x1c5)][_0xe6a0b5(0x1d7)][_0xe6a0b5(0x1ca)][_0xe6a0b5(0x1be)]();this[_0xe6a0b5(0x1d8)]=this[_0xe6a0b5(0x1bc)](_0xb196b1);}[_0x510372(0x1bf)](){const _0x2adc86=_0x510372;this[_0x2adc86(0x1cc)]&&(this[_0x2adc86(0x1da)](_0x2adc86(0x1d3)),this[_0x2adc86(0x1cc)]=void 0x0);const _0x2bc591=this[_0x2adc86(0x1bd)][_0x2adc86(0x1c5)][_0x2adc86(0x1d7)][_0x2adc86(0x1ca)][_0x2adc86(0x1be)]();_0x2bc591&&(_0x2bc591['is'](_0x2adc86(0x1cb),_0x2adc86(0x1cf))||_0x2bc591['is'](_0x2adc86(0x1cb),_0x2adc86(0x1d6)))&&(this[_0x2adc86(0x1cc)]=new _0x555af6(this[_0x2adc86(0x1bd)],this[_0x2adc86(0x1bd)][_0x2adc86(0x1ce)][_0x2adc86(0x1c6)](_0x1e1a2b),_0x2bc591),this[_0x2adc86(0x1d9)](_0x2adc86(0x1d3))['to'](this[_0x2adc86(0x1cc)],_0x2adc86(0x1d3)));}}
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 _0x171572=_0x4ef9;(function(_0xa70d5a,_0x480c3e){const _0x31d204=_0x4ef9,_0x108f07=_0xa70d5a();while(!![]){try{const _0x41d210=-parseInt(_0x31d204(0x18e))/0x1*(parseInt(_0x31d204(0x18b))/0x2)+-parseInt(_0x31d204(0x18f))/0x3*(parseInt(_0x31d204(0x186))/0x4)+-parseInt(_0x31d204(0x184))/0x5*(-parseInt(_0x31d204(0x181))/0x6)+-parseInt(_0x31d204(0x185))/0x7+parseInt(_0x31d204(0x17e))/0x8*(-parseInt(_0x31d204(0x183))/0x9)+parseInt(_0x31d204(0x191))/0xa*(-parseInt(_0x31d204(0x193))/0xb)+parseInt(_0x31d204(0x182))/0xc;if(_0x41d210===_0x480c3e)break;else _0x108f07['push'](_0x108f07['shift']());}catch(_0x283724){_0x108f07['push'](_0x108f07['shift']());}}}(_0x2fe5,0x5cebf));import{Plugin as _0x5ac77e}from'ckeditor5/src/core.js';import{Notification as _0x348b1b}from'ckeditor5/src/ui.js';import _0x448c82 from'./uploadcareimageeditcommand.js';function _0x2fe5(){const _0x3cde35=['9CaAVRT','isPremiumPlugin','10JGyRsz','pluginName','4169770DXctMI','uploadcareImageEdit','ImageUtils','8nxpJIM','add','UploadcareImageEditEditing','402468BWunnv','26543316lPfNcm','2270817ZDzrXn','35SJFPxG','5036444GxULma','470380mcQUWC','ImageEditing','commands','init','isOfficialPlugin','1194444YYtGwp','requires','uploadcareImageReplace','1ydXWSu'];_0x2fe5=function(){return _0x3cde35;};return _0x2fe5();}import _0x504387 from'./uploadcareimagereplacecommand.js';import _0x2d8345 from'../uploadcareediting.js';function _0x4ef9(_0x1e8e13,_0x438c6b){const _0x2fe5b1=_0x2fe5();return _0x4ef9=function(_0x4ef9ce,_0x4b5358){_0x4ef9ce=_0x4ef9ce-0x17c;let _0x5c746f=_0x2fe5b1[_0x4ef9ce];return _0x5c746f;},_0x4ef9(_0x1e8e13,_0x438c6b);}export default class m extends _0x5ac77e{static get[_0x171572(0x192)](){const _0x1c795b=_0x171572;return _0x1c795b(0x180);}static get[_0x171572(0x18c)](){const _0x58736e=_0x171572;return[_0x2d8345,_0x348b1b,_0x58736e(0x17d),_0x58736e(0x187)];}static get[_0x171572(0x18a)](){return!0x0;}static get[_0x171572(0x190)](){return!0x0;}[_0x171572(0x189)](){const _0x5382f3=_0x171572,{editor:_0x326ec1}=this;_0x326ec1[_0x5382f3(0x188)][_0x5382f3(0x17f)](_0x5382f3(0x17c),new _0x448c82(_0x326ec1)),_0x326ec1[_0x5382f3(0x188)][_0x5382f3(0x17f)](_0x5382f3(0x18d),new _0x504387(_0x326ec1));}}
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 _0x493f98}from'ckeditor5/src/core.js';import{ButtonView as _0x33ec24}from'ckeditor5/src/ui.js';import{createElement as _0x16b5dd}from'ckeditor5/src/utils.js';import _0x137029 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 _0x493f98{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 _0x51569d=this['editor'];_0x51569d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x57ab6d=>{const _0x531771=_0x51569d['commands']['get']('uploadcareImageEdit'),_0x544c18=new _0x33ec24(_0x57ab6d),t=_0x57ab6d['t'];return _0x544c18['set']({'icon':_0x137029,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x544c18['bind']('isEnabled')['to'](_0x531771),_0x544c18['bind']('isOn')['to'](_0x531771,'isActive'),this['listenTo'](_0x544c18,'execute',()=>{_0x51569d['execute']('uploadcareImageEdit'),_0x51569d['editing']['view']['focus']();}),_0x544c18;}),this['_initConfig']();}['_initConfig'](){const _0x651c00=_0x16b5dd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x651c00),this['listenTo'](this['editor'],'destroy',()=>{_0x651c00['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
- function _0x1f6a(){const _0x29891e=['selection','document','4088140xqKBdJ','127147knZYSQ','33910596gVcHIw','10KOTsgL','isEnabled','5178855jecCvb','319jJBkmF','29055qeidvo','2068296ZUCdFj','srcset','sizes','model','setAttributes','execute','getSelectedElement','element','removeAttribute','9fpIcIs','52PjNCZd','372980ghPifV','12JjkEaF','imageBlock','change','refresh','imageInline','editor'];_0x1f6a=function(){return _0x29891e;};return _0x1f6a();}const _0x2a8a2c=_0x2f8b;function _0x2f8b(_0xd55d4f,_0x55c6c5){const _0x1f6a35=_0x1f6a();return _0x2f8b=function(_0x2f8b40,_0x7c0e8e){_0x2f8b40=_0x2f8b40-0xf3;let _0x4e6e8d=_0x1f6a35[_0x2f8b40];return _0x4e6e8d;},_0x2f8b(_0xd55d4f,_0x55c6c5);}(function(_0x27b233,_0x4e15e2){const _0x201f5d=_0x2f8b,_0x48ecbf=_0x27b233();while(!![]){try{const _0x59f812=parseInt(_0x201f5d(0x10a))/0x1*(-parseInt(_0x201f5d(0x10c))/0x2)+parseInt(_0x201f5d(0xf4))/0x3*(-parseInt(_0x201f5d(0xff))/0x4)+parseInt(_0x201f5d(0x10e))/0x5+parseInt(_0x201f5d(0x101))/0x6*(-parseInt(_0x201f5d(0x109))/0x7)+-parseInt(_0x201f5d(0xf5))/0x8*(parseInt(_0x201f5d(0xfe))/0x9)+-parseInt(_0x201f5d(0x100))/0xa*(parseInt(_0x201f5d(0xf3))/0xb)+parseInt(_0x201f5d(0x10b))/0xc;if(_0x59f812===_0x4e15e2)break;else _0x48ecbf['push'](_0x48ecbf['shift']());}catch(_0x3d4aaa){_0x48ecbf['push'](_0x48ecbf['shift']());}}}(_0x1f6a,0x907b3));import{Command as _0xc20ff1}from'ckeditor5/src/core.js';export default class O extends _0xc20ff1{[_0x2a8a2c(0x104)](){const _0x4e8038=_0x2a8a2c,_0x5d3d37=this[_0x4e8038(0x106)][_0x4e8038(0xf8)][_0x4e8038(0x108)][_0x4e8038(0x107)][_0x4e8038(0xfb)]();this[_0x4e8038(0x10d)]=Boolean(_0x5d3d37&&(_0x5d3d37['is'](_0x4e8038(0xfc),_0x4e8038(0x102))||_0x5d3d37['is'](_0x4e8038(0xfc),_0x4e8038(0x105))));}[_0x2a8a2c(0xfa)](_0x8756b8){const _0x29094d=_0x2a8a2c,_0x34401f=this[_0x29094d(0x106)][_0x29094d(0xf8)][_0x29094d(0x108)][_0x29094d(0x107)][_0x29094d(0xfb)]();this[_0x29094d(0x106)][_0x29094d(0xf8)][_0x29094d(0x103)](_0x1b58ce=>{const _0x42259d=_0x29094d;_0x1b58ce[_0x42259d(0xf9)](_0x8756b8,_0x34401f),_0x1b58ce[_0x42259d(0xfd)](_0x42259d(0xf6),_0x34401f),_0x1b58ce[_0x42259d(0xfd)](_0x42259d(0xf7),_0x34401f);});}}
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 _0x40b16e=_0x13ed;(function(_0xbe0651,_0x4731e2){var _0x3e6764=_0x13ed,_0x16d58e=_0xbe0651();while(!![]){try{var _0x36daa9=-parseInt(_0x3e6764(0x1c1))/0x1*(-parseInt(_0x3e6764(0x1be))/0x2)+parseInt(_0x3e6764(0x1b6))/0x3+parseInt(_0x3e6764(0x1b4))/0x4*(-parseInt(_0x3e6764(0x1bd))/0x5)+-parseInt(_0x3e6764(0x1b2))/0x6+-parseInt(_0x3e6764(0x1b5))/0x7+-parseInt(_0x3e6764(0x1ba))/0x8*(-parseInt(_0x3e6764(0x1bc))/0x9)+parseInt(_0x3e6764(0x1b9))/0xa*(parseInt(_0x3e6764(0x1b8))/0xb);if(_0x36daa9===_0x4731e2)break;else _0x16d58e['push'](_0x16d58e['shift']());}catch(_0x562e03){_0x16d58e['push'](_0x16d58e['shift']());}}}(_0x2ab1,0x1ec18));function _0x2ab1(){var _0x218625=['11MIhiZV','1740610QcXKXV','102064iiuSFd','UploadcareImageEdit','36IdUapz','5OAbqSZ','1952TDNYGl','pluginName','requires','199CsOniM','936336EisSsB','isOfficialPlugin','979908HRiYZQ','102893vySUOO','367173zEiOXg','isPremiumPlugin'];_0x2ab1=function(){return _0x218625;};return _0x2ab1();}function _0x13ed(_0x7d6d4a,_0x1568f2){var _0x2ab1c7=_0x2ab1();return _0x13ed=function(_0x13ed6c,_0x5f1ddd){_0x13ed6c=_0x13ed6c-0x1b2;var _0x151cfd=_0x2ab1c7[_0x13ed6c];return _0x151cfd;},_0x13ed(_0x7d6d4a,_0x1568f2);}import{Plugin as _0x3083e4}from'ckeditor5/src/core.js';import _0x3371c8 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xf86835 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x3083e4{static get[_0x40b16e(0x1bf)](){var _0x3587f1=_0x40b16e;return _0x3587f1(0x1bb);}static get[_0x40b16e(0x1c0)](){return[_0x3371c8,_0xf86835];}static get[_0x40b16e(0x1b3)](){return!0x0;}static get[_0x40b16e(0x1b7)](){return!0x0;}}
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;}}