"use strict";const d=require("./utils-DVb3jcp5.cjs.js"),m=require("./Label-szabofdc.cjs.js"),P=require("./number-DHvo-MDe.cjs.js"),p=require("./mergeProps-CxnHrnow.cjs.js"),g=require("./filterDOMProps-WUskt27c.cjs.js"),a=require("react"),v=require("./useProgressBar-C_mJ1JKi.cjs.js"),b=a.createContext(null),q=a.forwardRef(function(e,r){[e,r]=d.$64fa3d84918910a7$export$29f1550f4b0d4415(e,r,b);let{value:t=0,minValue:l=0,maxValue:c=100,isIndeterminate:f=!1}=e;t=P.$9446cca9a3875146$export$7d15b64cf5a3a4c4(t,l,c);let[o,s]=d.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{progressBarProps:$,labelProps:i}=v.$204d9ebcedfb8806$export$ed5abd763a836edc({...e,label:s}),u=f?void 0:(t-l)/(c-l)*100,n=d.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ProgressBar",values:{percentage:u,valueText:$["aria-valuetext"],isIndeterminate:f}}),x=g.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return a.createElement("div",{...p.$3ef42575df84b30b$export$9d1611c77c2fe928(x,n,$),ref:r,slot:e.slot||void 0},a.createElement(m.$01b77f81d0f07f68$export$75b6ee27786ba447.Provider,{value:{...i,ref:o,elementType:"span"}},n.children))});exports.$0393f8ab869a0f1a$export$c17561cb55d4db30=q;exports.$0393f8ab869a0f1a$export$e9f3bf65a26ce129=b;
//# sourceMappingURL=ProgressBar-BnIWveAr.cjs.js.map
