Module 447453

981 characters · in 813fb3c075a6fb38.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{S:()=>x});var i=n(627968),s=n(64700),l=n(503698),r=n.n(l),a=n(922139),u=n(17928),c=n(866323),o=n(834730),d=n(475358),g=n(775602),f=n(425763),m=n(375708),I=n(493442);function x(e){let{className:t}=e,n=[{keybinds:["Spacebar","Enter"],name:m.intl.string(m.t["cs/HVH"])},{keybinds:["up","down"],name:m.intl.string(m.t.dmMqay)},{keybinds:["ESC"],name:m.intl.string(m.t["1ioMJQ"])}],l=(0,u.bG)([g.A],()=>g.A.useReducedMotion),x=(0,f.VU)();return(0,c.p)(x,{enter:{from:{opacity:0,y:80*!l},to:{opacity:1,y:0}},leave:{opacity:0,y:80*!l},config:a.config.stiff},"animate-always")((e,l)=>l?(0,i.jsx)("div",{className:r()(I.lY,t),children:(0,i.jsx)(a.animated.div,{className:I.kL,style:e,children:n.map((e,t)=>{let{keybinds:l,name:r}=e;return(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(o.E,{variant:"text-md/semibold",className:I.nx,children:r}),l.map(e=>(0,i.jsx)(d.e,{shortcut:e,className:I.LE},e)),t<n.length-1?(0,i.jsx)("span",{className:I.me}):null]},r)})})}):null)}}