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AA,CACA/F,MAAA,aACAsB,MAAA,aACAoD,MAAA,KACA,CACA,EACA1B,OAAA,CACAgD,KAAA,CACAtB,MAAA,eACAD,UAAA,cACA,EACAoB,GAAA,CACAnB,MAAA,gBACAD,UAAA,eACA,EACAqB,GAAA,CACApB,MAAA,iBACAD,UAAA,gBACA,EACAsB,GAAA,CACArB,MAAA,gBACAD,UAAA,eACA,EACAwB,KAAA,CACAvB,MAAA,eACAD,UAAA,cACA,CACA,EACAyB,UAAA,CACAC,KAAA,CACA1B,UAAA,2CACA,CACA,EACAlC,gBAAA,CACA4D,KAAA,CACA1B,UAAA,gEAEA,EACAf,WAAA,CACAyC,KAAA,CACAjE,KAAA,qCACA,CACA,EACAM,iBAAA,CACA2D,KAAA,GACAC,MAAA,CACA3B,UAAA,oCACA,CACA,CACA,EACA4B,gBAAA,CACAf,MAAA,UACAvC,KAAA,KACAC,OAAA,OACAkD,UAAA,GACA3D,gBAAA,GACAmB,WAAA,EACA,EACA4C,iBAAA,CACA,CACA9D,iBAAA,GACAD,gBAAA,GACAoB,MAAA,CACAc,UAAA,gDACA,CACA,EACA,CACAa,MAAA,UACAY,UAAA,GACAvC,MAAA,CACAc,UAAA,2CACA,CACA,EACA,CACAa,MAAA,YACAY,UAAA,GACAvC,MAAA,CACAc,UAAA,6CACA,CACA,EACA,CACAa,MAAA,UACAY,UAAA,GACAvC,MAAA,CACAc,UAAA,2CACA,CACA,EACA,CACAa,MAAA,UACAY,UAAA,GACAvC,MAAA,CACAc,UAAA,2CACA,CACA,EACA,CACAa,MAAA,SACAY,UAAA,GACAvC,MAAA,CACAc,UAAA,0CACA,CACA,EACA,EAEA,CACA8B,QAAA,EACA,GAEAvF,EAAuB,GAAAkE,EAAAC,EAAA,EAAE,CACzBrF,MAAA,CACAoC,KAAA,4DACAlC,MAAA,GACA6E,WAAA,iBACAd,IAAA,+BACAW,MAAA,+BACAD,UAAA,wBACAnD,MAAA,+DACA,EACA+D,SAAA,CACAC,MAAA,CACAC,QAA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AAjD,EAAA8C,GAAA,CAAAF,UACA,GACAK,EAAAF,OAAA,IAAAC,EAAAL,IACAA,GAEAC,CACA,ECvCsGP,EAAAC,GACtGL,CAAA,CAAAG,EAAA,CAAAE,KAAAY,IAAAZ,EAAAA,EAAAD,CACA,CACA,CACA,OAAAJ,CACA,EEC+C9B,EAAA,CAC/C,GAAAa,CAAA,CACA,gBAAAnG,EAAAqI,KAAAA,EAAAtJ,EACA,gBAAAC,EACA,gBAAAC,EACA,iBAAAe,EAAAqI,KAAAA,EAAAvJ,EACA8C,KAAA,aACA,GACAzB,WAAAA,CACA,CACA","sources":["webpack://_N_E/./node_modules/@nextui-org/progress/dist/chunk-4G6O2UHP.mjs","webpack://_N_E/./node_modules/@nextui-org/progress/dist/chunk-T6O3OHG3.mjs","webpack://_N_E/./node_modules/@nextui-org/theme/dist/chunk-6KWI4IHE.mjs","webpack://_N_E/./node_modules/@nextui-org/use-is-mounted/dist/index.mjs","webpack://_N_E/./node_modules/@react-aria/progress/node_modules/@react-aria/utils/dist/filterDOMProps.mjs","webpack://_N_E/./node_modules/@react-aria/progress/node_modules/@react-aria/utils/dist/chain.mjs","webpack://_N_E/./node_modules/@react-aria/progress/node_modules/@react-aria/utils/dist/useId.mjs","webpack://_N_E/./node_modules/@react-aria/progress/node_modules/@react-aria/utils/dist/mergeProps.mjs","webpack://_N_E/./node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs","webpack://_N_E/./node_modules/@react-aria/progress/dist/useProgressBar.mjs"],"sourcesContent":["\"use client\";\n\n// src/use-circular-progress.ts\nimport { mapPropsVariants, useProviderContext } from \"@nextui-org/system\";\nimport { circularProgress } from \"@nextui-org/theme\";\nimport { useDOMRef } from \"@nextui-org/react-utils\";\nimport { clampPercentage, clsx, dataAttr, objectToDeps } from \"@nextui-org/shared-utils\";\nimport { mergeProps } from \"@react-aria/utils\";\nimport { useMemo, useCallback } from \"react\";\nimport { useIsMounted } from \"@nextui-org/use-is-mounted\";\nimport { useProgressBar as useAriaProgress } from \"@react-aria/progress\";\nfunction useCircularProgress(originalProps) {\n var _a, _b, _c;\n const globalContext = useProviderContext();\n const [props, variantProps] = mapPropsVariants(originalProps, circularProgress.variantKeys);\n const {\n ref,\n as,\n id,\n className,\n classNames,\n label,\n valueLabel,\n value = void 0,\n minValue = 0,\n maxValue = 100,\n strokeWidth: strokeWidthProp,\n showValueLabel = false,\n formatOptions = {\n style: \"percent\"\n },\n ...otherProps\n } = props;\n const Component = as || \"div\";\n const domRef = useDOMRef(ref);\n const baseStyles = clsx(classNames == null ? void 0 : classNames.base, className);\n const [, isMounted] = useIsMounted({\n rerender: true,\n delay: 100\n });\n const isIndeterminate = ((_a = originalProps.isIndeterminate) != null ? _a : true) && value === void 0;\n const disableAnimation = (_c = (_b = originalProps.disableAnimation) != null ? _b : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _c : false;\n const { progressBarProps, labelProps } = useAriaProgress({\n id,\n label,\n value,\n minValue,\n maxValue,\n valueLabel,\n formatOptions,\n isIndeterminate,\n \"aria-labelledby\": originalProps[\"aria-labelledby\"],\n \"aria-label\": originalProps[\"aria-label\"]\n });\n const slots = useMemo(\n () => circularProgress({\n ...variantProps,\n disableAnimation,\n isIndeterminate\n }),\n [objectToDeps(variantProps), disableAnimation, isIndeterminate]\n );\n const selfMounted = disableAnimation ? true : isMounted;\n const center = 16;\n const strokeWidth = strokeWidthProp || (originalProps.size === \"sm\" ? 2 : 3);\n const radius = 16 - strokeWidth;\n const circumference = 2 * radius * Math.PI;\n const percentage = useMemo(() => {\n if (!selfMounted) {\n return 0;\n }\n if (isIndeterminate) {\n return 0.25;\n }\n return value ? clampPercentage((value - minValue) / (maxValue - minValue), 1) : 0;\n }, [selfMounted, value, minValue, maxValue, isIndeterminate]);\n const offset = circumference - percentage * circumference;\n const getProgressBarProps = useCallback(\n (props2 = {}) => ({\n ref: domRef,\n \"data-indeterminate\": dataAttr(isIndeterminate),\n \"data-disabled\": dataAttr(originalProps.isDisabled),\n className: slots.base({ class: baseStyles }),\n ...mergeProps(progressBarProps, otherProps, props2)\n }),\n [\n domRef,\n slots,\n isIndeterminate,\n originalProps.isDisabled,\n baseStyles,\n progressBarProps,\n otherProps\n ]\n );\n const getLabelProps = useCallback(\n (props2 = {}) => ({\n className: slots.label({ class: classNames == null ? void 0 : classNames.label }),\n ...mergeProps(labelProps, props2)\n }),\n [slots, classNames, labelProps]\n );\n const getSvgProps = useCallback(\n (props2 = {}) => ({\n viewBox: \"0 0 32 32\",\n fill: \"none\",\n strokeWidth,\n className: slots.svg({ class: classNames == null ? void 0 : classNames.svg }),\n ...props2\n }),\n [strokeWidth, slots, classNames]\n );\n const getIndicatorProps = useCallback(\n (props2 = {}) => ({\n cx: center,\n cy: center,\n r: radius,\n role: \"presentation\",\n strokeDasharray: `${circumference} ${circumference}`,\n strokeDashoffset: offset,\n transform: \"rotate(-90 16 16)\",\n strokeLinecap: \"round\",\n className: slots.indicator({ class: classNames == null ? void 0 : classNames.indicator }),\n ...props2\n }),\n [slots, classNames, offset, circumference, radius]\n );\n const getTrackProps = useCallback(\n (props2 = {}) => ({\n cx: center,\n cy: center,\n r: radius,\n role: \"presentation\",\n strokeDasharray: `${circumference} ${circumference}`,\n strokeDashoffset: 0,\n transform: \"rotate(-90 16 16)\",\n strokeLinecap: \"round\",\n className: slots.track({ class: classNames == null ? void 0 : classNames.track }),\n ...props2\n }),\n [slots, classNames, circumference, radius]\n );\n return {\n Component,\n domRef,\n slots,\n classNames,\n label,\n showValueLabel,\n getProgressBarProps,\n getLabelProps,\n getSvgProps,\n getIndicatorProps,\n getTrackProps\n };\n}\n\nexport {\n useCircularProgress\n};\n","\"use client\";\nimport {\n useCircularProgress\n} from \"./chunk-4G6O2UHP.mjs\";\n\n// src/circular-progress.tsx\nimport { forwardRef } from \"@nextui-org/system\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar CircularProgress = forwardRef((props, ref) => {\n const {\n Component,\n slots,\n classNames,\n label,\n showValueLabel,\n getProgressBarProps,\n getLabelProps,\n getSvgProps,\n getIndicatorProps,\n getTrackProps\n } = useCircularProgress({ ref, ...props });\n const progressBarProps = getProgressBarProps();\n return /* @__PURE__ */ jsxs(Component, { ...progressBarProps, children: [\n /* @__PURE__ */ jsxs(\"div\", { className: slots.svgWrapper({ class: classNames == null ? void 0 : classNames.svgWrapper }), children: [\n /* @__PURE__ */ jsxs(\"svg\", { ...getSvgProps(), children: [\n /* @__PURE__ */ jsx(\"circle\", { ...getTrackProps() }),\n /* @__PURE__ */ jsx(\"circle\", { ...getIndicatorProps() })\n ] }),\n showValueLabel && /* @__PURE__ */ jsx(\"span\", { className: slots.value({ class: classNames == null ? void 0 : classNames.value }), children: progressBarProps[\"aria-valuetext\"] })\n ] }),\n label && /* @__PURE__ */ jsx(\"span\", { ...getLabelProps(), children: label })\n ] });\n});\nCircularProgress.displayName = \"NextUI.CircularProgress\";\nvar circular_progress_default = CircularProgress;\n\nexport {\n circular_progress_default\n};\n","import {\n tv\n} from \"./chunk-UWE6H66T.mjs\";\n\n// src/components/progress.ts\nvar progress = tv(\n {\n slots: {\n base: \"flex flex-col gap-2 w-full\",\n label: \"\",\n labelWrapper: \"flex justify-between\",\n value: \"\",\n track: \"z-0 relative bg-default-300/50 overflow-hidden\",\n indicator: \"h-full\"\n },\n variants: {\n color: {\n default: {\n indicator: \"bg-default-400\"\n },\n primary: {\n indicator: \"bg-primary\"\n },\n secondary: {\n indicator: \"bg-secondary\"\n },\n success: {\n indicator: \"bg-success\"\n },\n warning: {\n indicator: \"bg-warning\"\n },\n danger: {\n indicator: \"bg-danger\"\n }\n },\n size: {\n sm: {\n label: \"text-small\",\n value: \"text-small\",\n track: \"h-1\"\n },\n md: {\n label: \"text-medium\",\n value: \"text-medium\",\n track: \"h-3\"\n },\n lg: {\n label: \"text-large\",\n value: \"text-large\",\n track: \"h-5\"\n }\n },\n radius: {\n none: {\n track: \"rounded-none\",\n indicator: \"rounded-none\"\n },\n sm: {\n track: \"rounded-small\",\n indicator: \"rounded-small\"\n },\n md: {\n track: \"rounded-medium\",\n indicator: \"rounded-medium\"\n },\n lg: {\n track: \"rounded-large\",\n indicator: \"rounded-large\"\n },\n full: {\n track: \"rounded-full\",\n indicator: \"rounded-full\"\n }\n },\n isStriped: {\n true: {\n indicator: \"bg-stripe-gradient-default bg-stripe-size\"\n }\n },\n isIndeterminate: {\n true: {\n indicator: [\"absolute\", \"w-full\", \"origin-left\", \"animate-indeterminate-bar\"]\n }\n },\n isDisabled: {\n true: {\n base: \"opacity-disabled cursor-not-allowed\"\n }\n },\n disableAnimation: {\n true: {},\n false: {\n indicator: \"transition-transform !duration-500\"\n }\n }\n },\n defaultVariants: {\n color: \"primary\",\n size: \"md\",\n radius: \"full\",\n isStriped: false,\n isIndeterminate: false,\n isDisabled: false\n },\n compoundVariants: [\n {\n disableAnimation: true,\n isIndeterminate: false,\n class: {\n indicator: \"!transition-none motion-reduce:transition-none\"\n }\n },\n {\n color: \"primary\",\n isStriped: true,\n class: {\n indicator: \"bg-stripe-gradient-primary bg-stripe-size\"\n }\n },\n {\n color: \"secondary\",\n isStriped: true,\n class: {\n indicator: \"bg-stripe-gradient-secondary bg-stripe-size\"\n }\n },\n {\n color: \"success\",\n isStriped: true,\n class: {\n indicator: \"bg-stripe-gradient-success bg-stripe-size\"\n }\n },\n {\n color: \"warning\",\n isStriped: true,\n class: {\n indicator: \"bg-stripe-gradient-warning bg-stripe-size\"\n }\n },\n {\n color: \"danger\",\n isStriped: true,\n class: {\n indicator: \"bg-stripe-gradient-danger bg-stripe-size\"\n }\n }\n ]\n },\n {\n twMerge: true\n }\n);\nvar circularProgress = tv({\n slots: {\n base: \"flex flex-col justify-center gap-1 max-w-fit items-center\",\n label: \"\",\n svgWrapper: \"relative block\",\n svg: \"z-0 relative overflow-hidden\",\n track: \"h-full stroke-default-300/50\",\n indicator: \"h-full stroke-current\",\n value: \"absolute font-normal inset-0 flex items-center justify-center\"\n },\n variants: {\n color: {\n default: {\n svg: \"text-default-400\"\n },\n primary: {\n svg: \"text-primary\"\n },\n secondary: {\n svg: \"text-secondary\"\n },\n success: {\n svg: \"text-success\"\n },\n warning: {\n svg: \"text-warning\"\n },\n danger: {\n svg: \"text-danger\"\n }\n },\n size: {\n sm: {\n svg: \"w-8 h-8\",\n label: \"text-small\",\n value: \"text-[0.5rem]\"\n },\n md: {\n svg: \"w-10 h-10\",\n label: \"text-small\",\n value: \"text-[0.55rem]\"\n },\n lg: {\n svg: \"w-12 h-12\",\n label: \"text-medium\",\n value: \"text-[0.6rem]\"\n }\n },\n isIndeterminate: {\n true: {\n svg: \"animate-spinner-ease-spin\"\n }\n },\n isDisabled: {\n true: {\n base: \"opacity-disabled cursor-not-allowed\"\n }\n },\n disableAnimation: {\n true: {},\n false: {\n indicator: \"transition-all !duration-500\"\n }\n }\n },\n defaultVariants: {\n color: \"primary\",\n size: \"md\",\n isDisabled: false\n },\n compoundVariants: [\n {\n disableAnimation: true,\n isIndeterminate: false,\n class: {\n svg: \"!transition-none motion-reduce:transition-none\"\n }\n }\n ]\n});\n\nexport {\n progress,\n circularProgress\n};\n","// src/index.ts\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nfunction useIsMounted(props = {}) {\n const { rerender = false, delay = 0 } = props;\n const isMountedRef = useRef(false);\n const [isMounted, setIsMounted] = useState(false);\n useEffect(() => {\n isMountedRef.current = true;\n let timer = null;\n if (rerender) {\n if (delay > 0) {\n timer = setTimeout(() => {\n setIsMounted(true);\n }, delay);\n } else {\n setIsMounted(true);\n }\n }\n return () => {\n isMountedRef.current = false;\n if (rerender) {\n setIsMounted(false);\n }\n if (timer) {\n clearTimeout(timer);\n }\n };\n }, [rerender]);\n return [useCallback(() => isMountedRef.current, []), isMounted];\n}\nexport {\n useIsMounted\n};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $65484d02dcb7eb3e$var$DOMPropNames = new Set([\n 'id'\n]);\nconst $65484d02dcb7eb3e$var$labelablePropNames = new Set([\n 'aria-label',\n 'aria-labelledby',\n 'aria-describedby',\n 'aria-details'\n]);\n// See LinkDOMProps in dom.d.ts.\nconst $65484d02dcb7eb3e$var$linkPropNames = new Set([\n 'href',\n 'hrefLang',\n 'target',\n 'rel',\n 'download',\n 'ping',\n 'referrerPolicy'\n]);\nconst $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;\nfunction $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {\n let { labelable: labelable, isLink: isLink, propNames: propNames } = opts;\n let filteredProps = {};\n for(const prop in props)if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$65484d02dcb7eb3e$export$457c3d6518dd4c6f as filterDOMProps};\n//# sourceMappingURL=filterDOMProps.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useCallback as $eKkEp$useCallback, useEffect as $eKkEp$useEffect} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$var$idsUpdaterMap = new Map();\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let updateValue = (0, $eKkEp$useCallback)((val)=>{\n nextId.current = val;\n }, []);\n if ($bdb11010cef70236$var$canUseDOM) {\n // TS not smart enough to know that `has` means the value exists\n if ($bdb11010cef70236$var$idsUpdaterMap.has(res) && !$bdb11010cef70236$var$idsUpdaterMap.get(res).includes(updateValue)) $bdb11010cef70236$var$idsUpdaterMap.set(res, [\n ...$bdb11010cef70236$var$idsUpdaterMap.get(res),\n updateValue\n ]);\n else $bdb11010cef70236$var$idsUpdaterMap.set(res, [\n updateValue\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n $bdb11010cef70236$var$idsUpdaterMap.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is updated first.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) {\n nextId.current = null;\n setValue(newId);\n }\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$var$idsUpdaterMap.get(idA);\n if (setIdsA) {\n setIdsA.forEach((fn)=>fn(idB));\n return idB;\n }\n let setIdsB = $bdb11010cef70236$var$idsUpdaterMap.get(idB);\n if (setIdsB) {\n setIdsB.forEach((fn)=>fn(idA));\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\n","import {useLocale as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7} from \"./context.mjs\";\nimport {NumberFormatter as $JFEdn$NumberFormatter} from \"@internationalized/number\";\nimport {useMemo as $JFEdn$useMemo} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {\n let { locale: locale } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();\n return (0, $JFEdn$useMemo)(()=>new (0, $JFEdn$NumberFormatter)(locale, options), [\n locale,\n options\n ]);\n}\n\n\nexport {$a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter};\n//# sourceMappingURL=useNumberFormatter.module.js.map\n","import {filterDOMProps as $2xLm1$filterDOMProps, clamp as $2xLm1$clamp, mergeProps as $2xLm1$mergeProps} from \"@react-aria/utils\";\nimport {useLabel as $2xLm1$useLabel} from \"@react-aria/label\";\nimport {useNumberFormatter as $2xLm1$useNumberFormatter} from \"@react-aria/i18n\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $204d9ebcedfb8806$export$ed5abd763a836edc(props) {\n let { value: value = 0, minValue: minValue = 0, maxValue: maxValue = 100, valueLabel: valueLabel, isIndeterminate: isIndeterminate, formatOptions: formatOptions = {\n style: 'percent'\n } } = props;\n let domProps = (0, $2xLm1$filterDOMProps)(props, {\n labelable: true\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $2xLm1$useLabel)({\n ...props,\n // Progress bar is not an HTML input element so it\n // shouldn't be labeled by a