import{jsx as a}from"react/jsx-runtime";import*as t from"react";import*as r from"@radix-ui/react-progress";import{c as i}from"./utils-CMbmcP35.js";const m=t.forwardRef(({className:o,value:l,...s},e)=>a(r.Root,{ref:e,className:i("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",o),...s,children:a(r.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(l||0)}%)`}})}));m.displayName=r.Root.displayName;export{m as P};
