import{f as n,i as o,r,j as e}from"./index-B-YXshIJ.js";import{I as m}from"./InlineSelect-DaSksT58.js";const i=[{label:"last 6 months",value:"last-6-months"},{label:"last 3 months",value:"last-3-months"},{label:"last 1 month",value:"last-1-month"},{label:"last 2 weeks",value:"last-2-weeks"}],x=()=>{const[a,t]=n("range",o),l=r.useCallback(s=>{t(s==="last-3-months"?void 0:s,!0)},[t]);return e.jsx("div",{children:e.jsxs("label",{className:"text-theme-helptext inline-flex items-center gap-[0.6ch]",children:[e.jsx("span",{children:"Showing data for the"}),e.jsx(m,{value:a||"last-3-months",options:i,onChange:l,className:"text-base -mr-2"})]})})};export{x as Q};
